@nuxt/scripts 1.0.0-beta.2 → 1.0.0-beta.20
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/README.md +3 -3
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{B66N9HCo.js → 9LJPrOyI.js} +1 -1
- package/dist/client/_nuxt/DFEfk2pB.js +162 -0
- package/dist/client/_nuxt/{DvH517bE.js → DMlY-BNa.js} +1 -1
- package/dist/client/_nuxt/{DfLgoB--.js → __ZZTkMj.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/8212d4fa-7985-421b-815a-03a886e667d4.json +1 -0
- package/dist/client/_nuxt/entry.CACgbLJl.css +1 -0
- package/dist/client/_nuxt/error-404.CHeaW3dp.css +1 -0
- package/dist/client/_nuxt/error-500.DvOvWme_.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +27 -18
- package/dist/module.d.ts +178 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +747 -527
- package/dist/registry.d.ts +6 -0
- package/dist/registry.mjs +74 -21
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +2 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +12 -12
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +6 -6
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +1 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +5 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +7 -7
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +7 -7
- package/dist/runtime/components/ScriptCrisp.vue +1 -1
- package/dist/runtime/components/ScriptGoogleAdsense.vue +1 -1
- package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
- package/dist/runtime/components/ScriptGravatar.vue +46 -0
- package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
- package/dist/runtime/components/ScriptInstagramEmbed.vue +1 -1
- package/dist/runtime/components/ScriptIntercom.vue +4 -3
- package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +43 -32
- package/dist/runtime/components/ScriptPayPalButtons.vue +48 -79
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +43 -32
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +37 -23
- package/dist/runtime/components/ScriptPayPalMessages.vue +46 -50
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +37 -23
- package/dist/runtime/components/ScriptStripePricingTable.vue +2 -2
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +9 -0
- package/dist/runtime/components/ScriptVimeoPlayer.vue +13 -10
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +9 -0
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +1 -1
- package/dist/runtime/components/ScriptXEmbed.vue +1 -1
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +1 -1
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.vue +11 -5
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +2 -2
- package/dist/runtime/composables/useScript.js +11 -6
- package/dist/runtime/composables/useScriptEventPage.js +2 -2
- package/dist/runtime/composables/useScriptTriggerConsent.js +1 -1
- package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
- package/dist/runtime/registry/clarity.d.ts +10 -15
- package/dist/runtime/registry/clarity.js +22 -31
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
- package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
- package/dist/runtime/registry/crisp.d.ts +9 -39
- package/dist/runtime/registry/crisp.js +2 -33
- package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
- package/dist/runtime/registry/databuddy-analytics.js +20 -45
- package/dist/runtime/registry/fathom-analytics.d.ts +6 -25
- package/dist/runtime/registry/fathom-analytics.js +2 -24
- package/dist/runtime/registry/google-adsense.d.ts +2 -10
- package/dist/runtime/registry/google-adsense.js +2 -11
- package/dist/runtime/registry/google-analytics.d.ts +3 -5
- package/dist/runtime/registry/google-analytics.js +3 -8
- package/dist/runtime/registry/google-maps.d.ts +3 -9
- package/dist/runtime/registry/google-maps.js +2 -8
- package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
- package/dist/runtime/registry/google-recaptcha.js +4 -12
- package/dist/runtime/registry/google-sign-in.d.ts +2 -13
- package/dist/runtime/registry/google-sign-in.js +2 -22
- package/dist/runtime/registry/google-tag-manager.d.ts +3 -28
- package/dist/runtime/registry/google-tag-manager.js +4 -27
- package/dist/runtime/registry/gravatar.d.ts +25 -0
- package/dist/runtime/registry/gravatar.js +32 -0
- package/dist/runtime/registry/hotjar.d.ts +3 -5
- package/dist/runtime/registry/hotjar.js +2 -5
- package/dist/runtime/registry/instagram-embed.d.ts +2 -17
- package/dist/runtime/registry/instagram-embed.js +4 -19
- package/dist/runtime/registry/intercom.d.ts +3 -11
- package/dist/runtime/registry/intercom.js +2 -12
- package/dist/runtime/registry/matomo-analytics.d.ts +2 -11
- package/dist/runtime/registry/matomo-analytics.js +3 -12
- package/dist/runtime/registry/meta-pixel.d.ts +3 -5
- package/dist/runtime/registry/meta-pixel.js +2 -4
- package/dist/runtime/registry/npm.d.ts +2 -6
- package/dist/runtime/registry/npm.js +2 -9
- package/dist/runtime/registry/paypal.d.ts +4 -25
- package/dist/runtime/registry/paypal.js +3 -66
- package/dist/runtime/registry/plausible-analytics.js +18 -13
- package/dist/runtime/registry/posthog.d.ts +10 -11
- package/dist/runtime/registry/posthog.js +7 -20
- package/dist/runtime/registry/reddit-pixel.d.ts +4 -5
- package/dist/runtime/registry/reddit-pixel.js +2 -4
- package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
- package/dist/runtime/registry/rybbit-analytics.js +7 -19
- package/dist/runtime/registry/schemas.d.ts +946 -0
- package/dist/runtime/registry/schemas.js +901 -0
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/segment.js +2 -5
- package/dist/runtime/registry/snapchat-pixel.d.ts +3 -32
- package/dist/runtime/registry/snapchat-pixel.js +2 -20
- package/dist/runtime/registry/stripe.d.ts +3 -4
- package/dist/runtime/registry/stripe.js +2 -4
- package/dist/runtime/registry/tiktok-pixel.d.ts +3 -6
- package/dist/runtime/registry/tiktok-pixel.js +2 -6
- package/dist/runtime/registry/umami-analytics.d.ts +2 -31
- package/dist/runtime/registry/umami-analytics.js +2 -36
- package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
- package/dist/runtime/registry/vercel-analytics.js +84 -0
- package/dist/runtime/registry/vimeo-player.d.ts +2 -2
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-embed.d.ts +2 -16
- package/dist/runtime/registry/x-embed.js +2 -17
- package/dist/runtime/registry/x-pixel.d.ts +3 -6
- package/dist/runtime/registry/x-pixel.js +2 -5
- package/dist/runtime/registry/youtube-player.d.ts +7 -7
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/server/google-static-maps-proxy.js +1 -1
- package/dist/runtime/server/{sw-handler.d.ts → gravatar-proxy.d.ts} +1 -1
- package/dist/runtime/server/gravatar-proxy.js +62 -0
- package/dist/runtime/server/instagram-embed-asset.js +2 -1
- package/dist/runtime/server/instagram-embed-image.js +2 -1
- package/dist/runtime/server/instagram-embed.js +22 -13
- package/dist/runtime/server/proxy-handler.js +161 -117
- package/dist/runtime/server/utils/privacy.d.ts +45 -1
- package/dist/runtime/server/utils/privacy.js +103 -40
- package/dist/runtime/server/x-embed.js +3 -2
- package/dist/runtime/types.d.ts +30 -24
- package/dist/runtime/utils/pure.d.ts +0 -4
- package/dist/runtime/utils/pure.js +0 -67
- package/dist/runtime/utils.d.ts +3 -3
- package/dist/runtime/utils.js +12 -7
- package/dist/shared/scripts.Crpn87WB.mjs +318 -0
- package/dist/stats.d.mts +39 -0
- package/dist/stats.d.ts +39 -0
- package/dist/stats.mjs +772 -0
- package/dist/types-source.d.mts +19 -0
- package/dist/types-source.d.ts +19 -0
- package/dist/types-source.mjs +975 -0
- package/package.json +42 -31
- package/dist/client/_nuxt/B8XOar-X.js +0 -162
- package/dist/client/_nuxt/builds/meta/133a46c5-a5c1-4a63-87d1-037947a5bcdb.json +0 -1
- package/dist/client/_nuxt/entry.D45OuV0w.css +0 -1
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
- package/dist/runtime/components/ScriptPayPalMarks.vue +0 -69
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
- package/dist/runtime/plugins/sw-register.client.d.ts +0 -2
- package/dist/runtime/plugins/sw-register.client.js +0 -12
- package/dist/runtime/server/sw-handler.js +0 -25
- package/dist/runtime/sw/proxy-sw.template.d.ts +0 -1
- package/dist/runtime/sw/proxy-sw.template.js +0 -54
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./9LJPrOyI.js","./__ZZTkMj.js","./error-404.CHeaW3dp.css","./DMlY-BNa.js","./error-500.DvOvWme_.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
(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)}})();function hi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const he={},Cn=[],yt=()=>{},zl=()=>!1,yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),di=e=>e.startsWith("onUpdate:"),Te=Object.assign,pi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rh=Object.prototype.hasOwnProperty,ce=(e,t)=>rh.call(e,t),J=Array.isArray,xn=e=>br(e)==="[object Map]",Wl=e=>br(e)==="[object Set]",sa=e=>br(e)==="[object Date]",Z=e=>typeof e=="function",be=e=>typeof e=="string",lt=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",gi=e=>(ue(e)||Z(e))&&Z(e.then)&&Z(e.catch),Vl=Object.prototype.toString,br=e=>Vl.call(e),sh=e=>br(e).slice(8,-1),ql=e=>br(e)==="[object Object]",ws=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qt=hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_s=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},oh=/-\w/g,Ge=_s(e=>e.replace(oh,t=>t.slice(1).toUpperCase())),ih=/\B([A-Z])/g,ln=_s(e=>e.replace(ih,"-$1").toLowerCase()),vs=_s(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ws=_s(e=>e?`on${vs(e)}`:""),mt=(e,t)=>!Object.is(e,t),Dr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ah=e=>{const t=parseFloat(e);return isNaN(t)?e:t},lh=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let oa;const Cs=()=>oa||(oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xs(e){if(J(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=be(r)?hh(r):xs(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(be(e)||ue(e))return e}const ch=/;(?![^(]*\))/g,uh=/:([^]+)/,fh=/\/\*[^]*?\*\//g;function hh(e){const t={};return e.replace(fh,"").split(ch).forEach(n=>{if(n){const r=n.split(uh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pe(e){let t="";if(be(e))t=e;else if(J(e))for(let n=0;n<e.length;n++){const r=Pe(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dh(e){if(!e)return null;let{class:t,style:n}=e;return t&&!be(t)&&(e.class=Pe(t)),n&&(e.style=xs(n)),e}const ph="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gh=hi(ph);function Xl(e){return!!e||e===""}function mh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=or(e[r],t[r]);return n}function or(e,t){if(e===t)return!0;let n=sa(e),r=sa(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=lt(e),r=lt(t),n||r)return e===t;if(n=J(e),r=J(t),n||r)return n&&r?mh(e,t):!1;if(n=ue(e),r=ue(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!or(e[i],t[i]))return!1}}return String(e)===String(t)}const Zl=e=>!!(e&&e.__v_isRef===!0),ie=e=>be(e)?e:e==null?"":J(e)||ue(e)&&(e.toString===Vl||!Z(e.toString))?Zl(e)?ie(e.value):JSON.stringify(e,Jl,2):String(e),Jl=(e,t)=>Zl(t)?Jl(e,t.value):xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Vs(r,o)+" =>"]=s,n),{})}:Wl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vs(n))}:lt(t)?Vs(t):ue(t)&&!J(t)&&!ql(t)?String(t):t,Vs=(e,t="")=>{var n;return lt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let $e;class Yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=$e,!t&&$e&&(this.index=($e.scopes||($e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=$e;try{return $e=this,t()}finally{$e=n}}}on(){++this._on===1&&(this.prevScope=$e,$e=this)}off(){this._on>0&&--this._on===0&&($e=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function yh(e){return new Yl(e)}function Ql(){return $e}let ge;const qs=new WeakSet;class ec{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$e&&$e.active&&$e.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qs.has(this)&&(qs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||nc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ia(this),rc(this);const t=ge,n=it;ge=this,it=!0;try{return this.fn()}finally{sc(this),ge=t,it=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)bi(t);this.deps=this.depsTail=void 0,ia(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xo(this)&&this.run()}get dirty(){return xo(this)}}let tc=0,Jn,Yn;function nc(e,t=!1){if(e.flags|=8,t){e.next=Yn,Yn=e;return}e.next=Jn,Jn=e}function mi(){tc++}function yi(){if(--tc>0)return;if(Yn){let t=Yn;for(Yn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jn;){let t=Jn;for(Jn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function rc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sc(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),bi(r),bh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function xo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ir)||(e.globalVersion=ir,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xo(e))))return;e.flags|=2;const t=e.dep,n=ge,r=it;ge=e,it=!0;try{rc(e);const s=e.fn(e._value);(t.version===0||mt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ge=n,it=r,sc(e),e.flags&=-3}}function bi(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)bi(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function bh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let it=!0;const ic=[];function Lt(){ic.push(it),it=!1}function Pt(){const e=ic.pop();it=e===void 0?!0:e}function ia(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let ir=0;class wh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class wi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ge||!it||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new wh(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,ac(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=r)}return n}trigger(t){this.version++,ir++,this.notify(t)}notify(t){mi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{yi()}}}function ac(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)ac(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Vr=new WeakMap,en=Symbol(""),So=Symbol(""),ar=Symbol("");function Ie(e,t,n){if(it&&ge){let r=Vr.get(e);r||Vr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new wi),s.map=r,s.key=n),s.track()}}function Et(e,t,n,r,s,o){const i=Vr.get(e);if(!i){ir++;return}const a=l=>{l&&l.trigger()};if(mi(),t==="clear")i.forEach(a);else{const l=J(e),u=l&&ws(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,h)=>{(h==="length"||h===ar||!lt(h)&&h>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(ar)),t){case"add":l?u&&a(i.get("length")):(a(i.get(en)),xn(e)&&a(i.get(So)));break;case"delete":l||(a(i.get(en)),xn(e)&&a(i.get(So)));break;case"set":xn(e)&&a(i.get(en));break}}yi()}function _h(e,t){const n=Vr.get(e);return n&&n.get(t)}function hn(e){const t=ae(e);return t===e?t:(Ie(t,"iterate",ar),Je(e)?t:t.map(ct))}function Ss(e){return Ie(e=ae(e),"iterate",ar),e}function gt(e,t){return bt(e)?Ln(jt(e)?ct(t):t):ct(t)}const vh={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return hn(this).concat(...e.map(t=>J(t)?hn(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=gt(this,e[1]),e))},every(e,t){return Ct(this,"every",e,t,void 0,arguments)},filter(e,t){return Ct(this,"filter",e,t,n=>n.map(r=>gt(this,r)),arguments)},find(e,t){return Ct(this,"find",e,t,n=>gt(this,n),arguments)},findIndex(e,t){return Ct(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ct(this,"findLast",e,t,n=>gt(this,n),arguments)},findLastIndex(e,t){return Ct(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ct(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return hn(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return Ct(this,"map",e,t,void 0,arguments)},pop(){return Wn(this,"pop")},push(...e){return Wn(this,"push",e)},reduce(e,...t){return aa(this,"reduce",e,t)},reduceRight(e,...t){return aa(this,"reduceRight",e,t)},shift(){return Wn(this,"shift")},some(e,t){return Ct(this,"some",e,t,void 0,arguments)},splice(...e){return Wn(this,"splice",e)},toReversed(){return hn(this).toReversed()},toSorted(e){return hn(this).toSorted(e)},toSpliced(...e){return hn(this).toSpliced(...e)},unshift(...e){return Wn(this,"unshift",e)},values(){return Ks(this,"values",e=>gt(this,e))}};function Ks(e,t,n){const r=Ss(e),s=r[t]();return r!==e&&!Je(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Ch=Array.prototype;function Ct(e,t,n,r,s,o){const i=Ss(e),a=i!==e&&!Je(e),l=i[t];if(l!==Ch[t]){const f=l.apply(e,o);return a?ct(f):f}let u=n;i!==e&&(a?u=function(f,h){return n.call(this,gt(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function aa(e,t,n,r){const s=Ss(e),o=s!==e&&!Je(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=gt(e,u)),n.call(this,u,gt(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](i,...r);return a?gt(e,l):l}function Xs(e,t,n){const r=ae(e);Ie(r,"iterate",ar);const s=r[t](...n);return(s===-1||s===!1)&&ks(n[0])?(n[0]=ae(n[0]),r[t](...n)):s}function Wn(e,t,n=[]){Lt(),mi();const r=ae(e)[t].apply(e,n);return yi(),Pt(),r}const xh=hi("__proto__,__v_isRef,__isVue"),lc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lt));function Sh(e){lt(e)||(e=String(e));const t=ae(this);return Ie(t,"has",e),t.hasOwnProperty(e)}class cc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Nh:dc:o?hc:fc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let l;if(i&&(l=vh[n]))return l;if(n==="hasOwnProperty")return Sh}const a=Reflect.get(t,n,_e(t)?t:r);if((lt(n)?lc.has(n):xh(n))||(s||Ie(t,"get",n),o))return a;if(_e(a)){const l=i&&ws(n)?a:a.value;return s&&ue(l)?Ao(l):l}return ue(a)?s?Ao(a):at(a):a}}class uc extends cc{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=J(t)&&ws(n);if(!this._isShallow){const u=bt(o);if(!Je(r)&&!bt(r)&&(o=ae(o),r=ae(r)),!i&&_e(o)&&!_e(r))return u||(o.value=r),!0}const a=i?Number(n)<t.length:ce(t,n),l=Reflect.set(t,n,r,_e(t)?t:s);return t===ae(s)&&(a?mt(r,o)&&Et(t,"set",n,r):Et(t,"add",n,r)),l}deleteProperty(t,n){const r=ce(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Et(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!lt(n)||!lc.has(n))&&Ie(t,"has",n),r}ownKeys(t){return Ie(t,"iterate",J(t)?"length":en),Reflect.ownKeys(t)}}class kh extends cc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ah=new uc,Eh=new kh,Rh=new uc(!0);const ko=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function Th(e,t,n){return function(...r){const s=this.__v_raw,o=ae(s),i=xn(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?ko:t?Ln:ct;return!t&&Ie(o,"iterate",l?So:en),Te(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function kr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mh(e,t){const n={get(s){const o=this.__v_raw,i=ae(o),a=ae(s);e||(mt(s,a)&&Ie(i,"get",s),Ie(i,"get",a));const{has:l}=Sr(i),u=t?ko:e?Ln:ct;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ie(ae(s),"iterate",en),s.size},has(s){const o=this.__v_raw,i=ae(o),a=ae(s);return e||(mt(s,a)&&Ie(i,"has",s),Ie(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=ae(a),u=t?ko:e?Ln:ct;return!e&&Ie(l,"iterate",en),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return Te(n,e?{add:kr("add"),set:kr("set"),delete:kr("delete"),clear:kr("clear")}:{add(s){const o=ae(this),i=Sr(o),a=ae(s),l=!t&&!Je(s)&&!bt(s)?a:s;return i.has.call(o,l)||mt(s,l)&&i.has.call(o,s)||mt(a,l)&&i.has.call(o,a)||(o.add(l),Et(o,"add",l,l)),this},set(s,o){!t&&!Je(o)&&!bt(o)&&(o=ae(o));const i=ae(this),{has:a,get:l}=Sr(i);let u=a.call(i,s);u||(s=ae(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?mt(o,c)&&Et(i,"set",s,o):Et(i,"add",s,o),this},delete(s){const o=ae(this),{has:i,get:a}=Sr(o);let l=i.call(o,s);l||(s=ae(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&Et(o,"delete",s,void 0),u},clear(){const s=ae(this),o=s.size!==0,i=s.clear();return o&&Et(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Th(s,e,t)}),n}function _i(e,t){const n=Mh(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ce(n,s)&&s in r?n:r,s,o)}const Lh={get:_i(!1,!1)},Ph={get:_i(!1,!0)},Ih={get:_i(!0,!1)};const fc=new WeakMap,hc=new WeakMap,dc=new WeakMap,Nh=new WeakMap;function Oh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bh(e){return e.__v_skip||!Object.isExtensible(e)?0:Oh(sh(e))}function at(e){return bt(e)?e:vi(e,!1,Ah,Lh,fc)}function wn(e){return vi(e,!1,Rh,Ph,hc)}function Ao(e){return vi(e,!0,Eh,Ih,dc)}function vi(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Bh(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function jt(e){return bt(e)?jt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function Je(e){return!!(e&&e.__v_isShallow)}function ks(e){return e?!!e.__v_raw:!1}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Fh(e){return!ce(e,"__v_skip")&&Object.isExtensible(e)&&Kl(e,"__v_skip",!0),e}const ct=e=>ue(e)?at(e):e,Ln=e=>ue(e)?Ao(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function ze(e){return pc(e,!1)}function Eo(e){return pc(e,!0)}function pc(e,t){return _e(e)?e:new Hh(e,t)}class Hh{constructor(t,n){this.dep=new wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ae(t),this._value=n?t:ct(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Je(t)||bt(t);t=r?t:ae(t),mt(t,n)&&(this._rawValue=t,this._value=r?t:ct(t),this.dep.trigger())}}function q(e){return _e(e)?e.value:e}function gc(e){return Z(e)?e():q(e)}const Dh={get:(e,t,n)=>t==="__v_raw"?e:q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function mc(e){return jt(e)?e:new Proxy(e,Dh)}class jh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ae(t);let s=!0,o=t;if(!J(t)||!ws(String(n)))do s=!ks(o)||Je(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&_e(this._raw[this._key])){const n=this._object[this._key];if(_e(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return _h(this._raw,this._key)}}class Gh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Uh(e,t,n){return _e(e)?e:Z(e)?new Gh(e):ue(e)&&arguments.length>1?$h(e,t,n):ze(e)}function $h(e,t,n){return new jh(e,t,n)}class zh{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ir-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return nc(this,!0),!0}get value(){const t=this.dep.track();return oc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wh(e,t,n=!1){let r,s;return Z(e)?r=e:(r=e.get,s=e.set),new zh(r,s,n)}const Ar={},qr=new WeakMap;let qt;function Vh(e,t=!1,n=qt){if(n){let r=qr.get(n);r||qr.set(n,r=[]),r.push(e)}}function qh(e,t,n=he){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=w=>s?w:Je(w)||s===!1||s===0?Rt(w,1):Rt(w);let c,f,h,d,p=!1,g=!1;if(_e(e)?(f=()=>e.value,p=Je(e)):jt(e)?(f=()=>u(e),p=!0):J(e)?(g=!0,p=e.some(w=>jt(w)||Je(w)),f=()=>e.map(w=>{if(_e(w))return w.value;if(jt(w))return u(w);if(Z(w))return l?l(w,2):w()})):Z(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){Lt();try{h()}finally{Pt()}}const w=qt;qt=c;try{return l?l(e,3,[d]):e(d)}finally{qt=w}}:f=yt,t&&s){const w=f,b=s===!0?1/0:s;f=()=>Rt(w(),b)}const v=Ql(),_=()=>{c.stop(),v&&v.active&&pi(v.effects,c)};if(o&&t){const w=t;t=(...b)=>{w(...b),_()}}let x=g?new Array(e.length).fill(Ar):Ar;const m=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const b=c.run();if(s||p||(g?b.some((k,L)=>mt(k,x[L])):mt(b,x))){h&&h();const k=qt;qt=c;try{const L=[b,x===Ar?void 0:g&&x[0]===Ar?[]:x,d];x=b,l?l(t,3,L):t(...L)}finally{qt=k}}}else c.run()};return a&&a(m),c=new ec(f),c.scheduler=i?()=>i(m,!1):m,d=w=>Vh(w,!1,c),h=c.onStop=()=>{const w=qr.get(c);if(w){if(l)l(w,4);else for(const b of w)b();qr.delete(c)}},t?r?m(!0):x=c.run():i?i(m.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function Rt(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))Rt(e.value,t,n);else if(J(e))for(let r=0;r<e.length;r++)Rt(e[r],t,n);else if(Wl(e)||xn(e))e.forEach(r=>{Rt(r,t,n)});else if(ql(e)){for(const r in e)Rt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Rt(e[r],t,n)}return e}function wr(e,t,n,r){try{return r?e(...r):e()}catch(s){Hn(s,t,n)}}function wt(e,t,n,r){if(Z(e)){const s=wr(e,t,n,r);return s&&gi(s)&&s.catch(o=>{Hn(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o<e.length;o++)s.push(wt(e[o],t,n,r));return s}}function Hn(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||he;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){Lt(),wr(o,null,10,[e,l,u]),Pt();return}}Kh(e,n,s,r,i)}function Kh(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const je=[];let dt=-1;const Sn=[];let Ht=null,mn=0;const yc=Promise.resolve();let Kr=null;function bc(e){const t=Kr||yc;return e?t.then(this?e.bind(this):e):t}function Xh(e){let t=dt+1,n=je.length;for(;t<n;){const r=t+n>>>1,s=je[r],o=lr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ci(e){if(!(e.flags&1)){const t=lr(e),n=je[je.length-1];!n||!(e.flags&2)&&t>=lr(n)?je.push(e):je.splice(Xh(t),0,e),e.flags|=1,wc()}}function wc(){Kr||(Kr=yc.then(_c))}function Ro(e){J(e)?Sn.push(...e):Ht&&e.id===-1?Ht.splice(mn+1,0,e):e.flags&1||(Sn.push(e),e.flags|=1),wc()}function la(e,t,n=dt+1){for(;n<je.length;n++){const r=je[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;je.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Xr(e){if(Sn.length){const t=[...new Set(Sn)].sort((n,r)=>lr(n)-lr(r));if(Sn.length=0,Ht){Ht.push(...t);return}for(Ht=t,mn=0;mn<Ht.length;mn++){const n=Ht[mn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ht=null,mn=0}}const lr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _c(e){try{for(dt=0;dt<je.length;dt++){const t=je[dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),wr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;dt<je.length;dt++){const t=je[dt];t&&(t.flags&=-2)}dt=-1,je.length=0,Xr(),Kr=null,(je.length||Sn.length)&&_c()}}let Re=null,vc=null;function Zr(e){const t=Re;return Re=e,vc=e&&e.type.__scopeId||null,t}function Fe(e,t=Re,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&es(-1);const o=Zr(t);let i;try{i=e(...s)}finally{Zr(o),r._d&&es(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zh(e,t){if(Re===null)return e;const n=Ts(Re),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=he]=t[s];o&&(Z(o)&&(o={mounted:o,updated:o}),o.deep&&Rt(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function pt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Lt(),wt(l,n,8,[e.el,a,e,t]),Pt())}}function Cc(e,t){if(Ee){let n=Ee.provides;const r=Ee.parent&&Ee.parent.provides;r===n&&(n=Ee.provides=Object.create(r)),n[e]=t}}function kn(e,t,n=!1){const r=On();if(r||nn){let s=nn?nn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Z(t)?t.call(r&&r.proxy):t}}function xi(){return!!(On()||nn)}const Jh=Symbol.for("v-scx"),Yh=()=>kn(Jh);function Qh(e,t){return Si(e,null,t)}function Zs(e,t,n){return Si(e,t,n)}function Si(e,t,n=he){const{immediate:r,deep:s,flush:o,once:i}=n,a=Te({},n),l=t&&r||!t&&o!=="post";let u;if(sn){if(o==="sync"){const d=Yh();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=yt,d.resume=yt,d.pause=yt,d}}const c=Ee;a.call=(d,p,g)=>wt(d,c,p,g);let f=!1;o==="post"?a.scheduler=d=>{He(d,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():Ci(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=qh(e,t,a);return sn&&(u?u.push(h):l&&h()),h}function ed(e,t,n){const r=this.proxy,s=be(e)?e.includes(".")?xc(r,e):()=>r[e]:e.bind(r,r);let o;Z(t)?o=t:(o=t.handler,n=t);const i=Dn(this),a=Si(s,o.bind(r),n);return i(),a}function xc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const td=Symbol("_vte"),nd=e=>e.__isTeleport,rd=Symbol("_leaveCb");function ki(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ki(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function It(e,t){return Z(e)?Te({name:e.name},t,{setup:e}):e}function Ai(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ca(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Jr=new WeakMap;function An(e,t,n,r,s=!1){if(J(e)){e.forEach((g,v)=>An(g,t&&(J(t)?t[v]:t),n,r,s));return}if(tn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&An(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ts(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===he?a.refs={}:a.refs,f=a.setupState,h=ae(f),d=f===he?zl:g=>ca(c,g)?!1:ce(h,g),p=(g,v)=>!(v&&ca(c,v));if(u!=null&&u!==l){if(ua(t),be(u))c[u]=null,d(u)&&(f[u]=null);else if(_e(u)){const g=t;p(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(Z(l))wr(l,a,12,[i,c]);else{const g=be(l),v=_e(l);if(g||v){const _=()=>{if(e.f){const x=g?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(s)J(x)&&pi(x,o);else if(J(x))x.includes(o)||x.push(o);else if(g)c[l]=[o],d(l)&&(f[l]=c[l]);else{const m=[o];p(l,e.k)&&(l.value=m),e.k&&(c[e.k]=m)}}else g?(c[l]=i,d(l)&&(f[l]=i)):v&&(p(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const x=()=>{_(),Jr.delete(e)};x.id=-1,Jr.set(e,x),He(x,n)}else ua(e),_()}}}function ua(e){const t=Jr.get(e);t&&(t.flags|=8,Jr.delete(e))}let fa=!1;const dn=()=>{fa||(console.error("Hydration completed but contains mismatches."),fa=!0)},sd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",od=e=>e.namespaceURI.includes("MathML"),Er=e=>{if(e.nodeType===1){if(sd(e))return"svg";if(od(e))return"mathml"}},_n=e=>e.nodeType===8;function id(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),Xr(),w._vnode=m;return}f(w.firstChild,m,null,null,null),Xr(),w._vnode=m},f=(m,w,b,k,L,U=!1)=>{U=U||!!w.dynamicChildren;const z=_n(m)&&m.data==="[",N=()=>g(m,w,b,k,L,z),{type:te,ref:Y,shapeFlag:re,patchFlag:oe}=w;let A=m.nodeType;w.el=m,oe===-2&&(U=!1,w.dynamicChildren=null);let j=null;switch(te){case rn:A!==3?w.children===""?(l(w.el=s(""),i(m),m),j=m):j=N():(m.data!==w.children&&(dn(),m.data=w.children),j=o(m));break;case rt:x(m)?(j=o(m),_(w.el=m.content.firstChild,m,b)):A!==8||z?j=N():j=o(m);break;case er:if(z&&(m=o(m),A=m.nodeType),A===1||A===3){j=m;const B=!w.children.length;for(let $=0;$<w.staticCount;$++)B&&(w.children+=j.nodeType===1?j.outerHTML:j.data),$===w.staticCount-1&&(w.anchor=j),j=o(j);return z?o(j):j}else N();break;case ye:z?j=p(m,w,b,k,L,U):j=N();break;default:if(re&1)(A!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!x(m)?j=N():j=h(m,w,b,k,L,U);else if(re&6){w.slotScopeIds=L;const B=i(m);if(z?j=v(m):_n(m)&&m.data==="teleport start"?j=v(m,m.data,"teleport end"):j=o(m),t(w,B,null,b,k,Er(B),U),tn(w)&&!w.type.__asyncResolved){let $;z?($=X(ye),$.anchor=j?j.previousSibling:B.lastChild):$=m.nodeType===3?ve(""):X("div"),$.el=m,w.component.subTree=$}}else re&64?A!==8?j=N():j=w.type.hydrate(m,w,b,k,L,U,e,d):re&128&&(j=w.type.hydrate(m,w,b,k,Er(i(m)),L,U,e,f))}return Y!=null&&An(Y,null,k,w),j},h=(m,w,b,k,L,U)=>{U=U||!!w.dynamicChildren;const{type:z,props:N,patchFlag:te,shapeFlag:Y,dirs:re,transition:oe}=w,A=z==="input"||z==="option";if(A||te!==-1){re&&pt(w,null,b,"created");let j=!1;if(x(m)){j=Kc(null,oe)&&b&&b.vnode.props&&b.vnode.props.appear;const $=m.content.firstChild;if(j){const le=$.getAttribute("class");le&&($.$cls=le),oe.beforeEnter($)}_($,m,b),w.el=m=$}if(Y&16&&!(N&&(N.innerHTML||N.textContent))){let $=d(m.firstChild,w,m,b,k,L,U);for(;$;){Rr(m,1)||dn();const le=$;$=$.nextSibling,a(le)}}else if(Y&8){let $=w.children;$[0]===`
|
|
3
|
+
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&($=$.slice(1));const{textContent:le}=m;le!==$&&le!==$.replace(/\r\n|\r/g,`
|
|
4
|
+
`)&&(Rr(m,0)||dn(),m.textContent=w.children)}if(N){if(A||!U||te&48){const $=m.tagName.includes("-");for(const le in N)(A&&(le.endsWith("value")||le==="indeterminate")||yr(le)&&!Qt(le)||le[0]==="."||$&&!Qt(le))&&r(m,le,null,N[le],void 0,b)}else if(N.onClick)r(m,"onClick",null,N.onClick,void 0,b);else if(te&4&&jt(N.style))for(const $ in N.style)N.style[$]}let B;(B=N&&N.onVnodeBeforeMount)&&Qe(B,b,w),re&&pt(w,null,b,"beforeMount"),((B=N&&N.onVnodeMounted)||re||j)&&eu(()=>{B&&Qe(B,b,w),j&&oe.enter(m),re&&pt(w,null,b,"mounted")},k)}return m.nextSibling},d=(m,w,b,k,L,U,z)=>{z=z||!!w.dynamicChildren;const N=w.children,te=N.length;for(let Y=0;Y<te;Y++){const re=z?N[Y]:N[Y]=Ze(N[Y]),oe=re.type===rn;m?(oe&&!z&&Y+1<te&&Ze(N[Y+1]).type===rn&&(l(s(m.data.slice(re.children.length)),b,o(m)),m.data=re.children),m=f(m,re,k,L,U,z)):oe&&!re.children?l(re.el=s(""),b):(Rr(b,1)||dn(),n(null,re,b,null,k,L,Er(b),U))}return m},p=(m,w,b,k,L,U)=>{const{slotScopeIds:z}=w;z&&(L=L?L.concat(z):z);const N=i(m),te=d(o(m),w,N,b,k,L,U);return te&&_n(te)&&te.data==="]"?o(w.anchor=te):(dn(),l(w.anchor=u("]"),N,te),te)},g=(m,w,b,k,L,U)=>{if(Rr(m.parentElement,1)||dn(),w.el=null,U){const te=v(m);for(;;){const Y=o(m);if(Y&&Y!==te)a(Y);else break}}const z=o(m),N=i(m);return a(m),n(null,w,N,z,b,k,Er(N),L),b&&(b.vnode.el=w.el,Rs(b,w.el)),z},v=(m,w="[",b="]")=>{let k=0;for(;m;)if(m=o(m),m&&_n(m)&&(m.data===w&&k++,m.data===b)){if(k===0)return o(m);k--}return m},_=(m,w,b)=>{const k=w.parentNode;k&&k.replaceChild(m,w);let L=b;for(;L;)L.vnode.el===w&&(L.vnode.el=L.subTree.el=m),L=L.parent},x=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const ha="data-allow-mismatch",ad={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Rr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ha);)e=e.parentElement;const n=e&&e.getAttribute(ha);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(ad[t])}}Cs().requestIdleCallback;Cs().cancelIdleCallback;function ld(e,t){if(_n(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(_n(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const tn=e=>!!e.type.__asyncLoader;function da(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let p;return u||(p=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((v,_)=>{l(g,()=>v(h()),()=>_(g),f+1)});throw g}).then(g=>p!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return It({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,g,v){let _=!1;(g.bu||(g.bu=[])).push(()=>_=!0);const x=()=>{_||v()},m=o?()=>{const w=o(x,b=>ld(p,b));w&&(g.bum||(g.bum=[])).push(w)}:x;c?m():d().then(()=>!g.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const p=Ee;if(Ai(p),c)return()=>Tr(c,p);const g=m=>{u=null,Hn(m,p,13,!r)};if(a&&p.suspense||sn)return d().then(m=>()=>Tr(m,p)).catch(m=>(g(m),()=>r?X(r,{error:m}):null));const v=ze(!1),_=ze(),x=ze(!!s);return s&&setTimeout(()=>{x.value=!1},s),i!=null&&setTimeout(()=>{if(!v.value&&!_.value){const m=new Error(`Async component timed out after ${i}ms.`);g(m),_.value=m}},i),d().then(()=>{v.value=!0,p.parent&&Ei(p.parent.vnode)&&p.parent.update()}).catch(m=>{g(m),_.value=m}),()=>{if(v.value&&c)return Tr(c,p);if(_.value&&r)return X(r,{error:_.value});if(n&&!x.value)return Tr(n,p)}}})}function Tr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=X(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ei=e=>e.type.__isKeepAlive;function Sc(e,t){Ac(e,"a",t)}function kc(e,t){Ac(e,"da",t)}function Ac(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(As(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ei(s.parent.vnode)&&cd(r,t,n,s),s=s.parent}}function cd(e,t,n,r){const s=As(t,e,r,!0);Rc(()=>{pi(r[t],s)},n)}function As(e,t,n=Ee,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Lt();const a=Dn(n),l=wt(t,n,e,i);return a(),Pt(),l});return r?s.unshift(o):s.push(o),o}}const Nt=e=>(t,n=Ee)=>{(!sn||e==="sp")&&As(e,(...r)=>t(...r),n)},ud=Nt("bm"),Ec=Nt("m"),fd=Nt("bu"),hd=Nt("u"),Ri=Nt("bum"),Rc=Nt("um"),dd=Nt("sp"),pd=Nt("rtg"),gd=Nt("rtc");function Tc(e,t=Ee){As("ec",e,t)}const Mc="components";function To(e,t){return Pc(Mc,e,!0,t)||e}const Lc=Symbol.for("v-ndc");function md(e){return be(e)?Pc(Mc,e,!1)||e:e||Lc}function Pc(e,t,n=!0,r=!1){const s=Re||Ee;if(s){const o=s.type;{const a=r1(o,!1);if(a&&(a===t||a===Ge(t)||a===vs(Ge(t))))return o}const i=pa(s[e]||o[e],t)||pa(s.appContext[e],t);return!i&&r?o:i}}function pa(e,t){return e&&(e[t]||e[Ge(t)]||e[vs(Ge(t))])}function Ot(e,t,n,r){let s;const o=n,i=J(e);if(i||be(e)){const a=i&&jt(e);let l=!1,u=!1;a&&(l=!Je(e),u=bt(e),e=Ss(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?Ln(ct(e[c])):ct(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function Yr(e,t,n={},r,s){if(Re.ce||Re.parent&&tn(Re.parent)&&Re.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),D(),et(ye,null,[X("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),D();const i=o&&Ic(o(n)),a=n.key||i&&i.key,l=et(ye,{key:(a&&!lt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Ic(e){return e.some(t=>In(t)?!(t.type===rt||t.type===ye&&!Ic(t.children)):!0)?e:null}const Mo=e=>e?iu(e)?Ts(e):Mo(e.parent):null,Qn=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Mo(e.parent),$root:e=>Mo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oc(e),$forceUpdate:e=>e.f||(e.f=()=>{Ci(e.update)}),$nextTick:e=>e.n||(e.n=bc.bind(e.proxy)),$watch:e=>ed.bind(e)}),Js=(e,t)=>e!==he&&!e.__isScriptSetup&&ce(e,t),yd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Js(r,t))return i[t]=1,r[t];if(s!==he&&ce(s,t))return i[t]=2,s[t];if(ce(o,t))return i[t]=3,o[t];if(n!==he&&ce(n,t))return i[t]=4,n[t];Lo&&(i[t]=0)}}const u=Qn[t];let c,f;if(u)return t==="$attrs"&&Ie(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==he&&ce(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ce(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Js(s,t)?(s[t]=n,!0):r!==he&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==he&&a[0]!=="$"&&ce(e,a)||Js(t,a)||ce(o,a)||ce(r,a)||ce(Qn,a)||ce(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ga(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ma(e){const t=On(),n=sn;let r=e();ns(),n&&Rn(!1);const s=()=>{Dn(t),n&&Rn(!0)},o=()=>{On()!==t&&t.scope.off(),ns(),n&&Rn(!1)};return gi(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Lo=!0;function bd(e){const t=Oc(e),n=e.proxy,r=e.ctx;Lo=!1,t.beforeCreate&&ya(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:v,beforeDestroy:_,beforeUnmount:x,destroyed:m,unmounted:w,render:b,renderTracked:k,renderTriggered:L,errorCaptured:U,serverPrefetch:z,expose:N,inheritAttrs:te,components:Y,directives:re,filters:oe}=t;if(u&&wd(u,r,null),i)for(const B in i){const $=i[B];Z($)&&(r[B]=$.bind(n))}if(s){const B=s.call(n,n);ue(B)&&(e.data=at(B))}if(Lo=!0,o)for(const B in o){const $=o[B],le=Z($)?$.bind(n,n):Z($.get)?$.get.bind(n,n):yt,un=!Z($)&&Z($.set)?$.set.bind(n):yt,$t=De({get:le,set:un});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>$t.value,set:ut=>$t.value=ut})}if(a)for(const B in a)Nc(a[B],r,n,B);if(l){const B=Z(l)?l.call(n):l;Reflect.ownKeys(B).forEach($=>{Cc($,B[$])})}c&&ya(c,e,"c");function j(B,$){J($)?$.forEach(le=>B(le.bind(n))):$&&B($.bind(n))}if(j(ud,f),j(Ec,h),j(fd,d),j(hd,p),j(Sc,g),j(kc,v),j(Tc,U),j(gd,k),j(pd,L),j(Ri,x),j(Rc,w),j(dd,z),J(N))if(N.length){const B=e.exposed||(e.exposed={});N.forEach($=>{Object.defineProperty(B,$,{get:()=>n[$],set:le=>n[$]=le,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===yt&&(e.render=b),te!=null&&(e.inheritAttrs=te),Y&&(e.components=Y),re&&(e.directives=re),z&&Ai(e)}function wd(e,t,n=yt){J(e)&&(e=Po(e));for(const r in e){const s=e[r];let o;ue(s)?"default"in s?o=kn(s.from||r,s.default,!0):o=kn(s.from||r):o=kn(s),_e(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ya(e,t,n){wt(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Nc(e,t,n,r){let s=r.includes(".")?xc(n,r):()=>n[r];if(be(e)){const o=t[e];Z(o)&&Zs(s,o)}else if(Z(e))Zs(s,e.bind(n));else if(ue(e))if(J(e))e.forEach(o=>Nc(o,t,n,r));else{const o=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(o)&&Zs(s,o,e)}}function Oc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Qr(l,u,i,!0)),Qr(l,t,i)),ue(t)&&o.set(t,l),l}function Qr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Qr(e,o,n,!0),s&&s.forEach(i=>Qr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=_d[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _d={data:ba,props:wa,emits:wa,methods:Xn,computed:Xn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Xn,directives:Xn,watch:Cd,provide:ba,inject:vd};function ba(e,t){return t?e?function(){return Te(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function vd(e,t){return Xn(Po(e),Po(t))}function Po(e){if(J(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function Xn(e,t){return e?Te(Object.create(null),e,t):t}function wa(e,t){return e?J(e)&&J(t)?[...new Set([...e,...t])]:Te(Object.create(null),ga(e),ga(t??{})):t}function Cd(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=Oe(e[r],t[r]);return n}function Bc(){return{app:null,config:{isNativeTag:zl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let xd=0;function Sd(e,t){return function(r,s=null){Z(r)||(r=Te({},r)),s!=null&&!ue(s)&&(s=null);const o=Bc(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:xd++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:o1,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&Z(c.install)?(i.add(c),c.install(u,...f)):Z(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||X(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,c):e(d,c,h),l=!0,u._container=c,c.__vue_app__=u,Ts(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(wt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=nn;nn=u;try{return c()}finally{nn=f}}};return u}}let nn=null;const kd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function Ad(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||he;let s=n;const o=t.startsWith("update:"),i=o&&kd(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>be(c)?c.trim():c)),i.number&&(s=n.map(ah)));let a,l=r[a=Ws(t)]||r[a=Ws(Ge(t))];!l&&o&&(l=r[a=Ws(ln(t))]),l&&wt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,wt(u,e,6,s)}}const Ed=new WeakMap;function Fc(e,t,n=!1){const r=n?Ed:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!Z(e)){const l=u=>{const c=Fc(u,t,!0);c&&(a=!0,Te(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ue(e)&&r.set(e,null),null):(J(o)?o.forEach(l=>i[l]=null):Te(i,o),ue(e)&&r.set(e,i),i)}function Es(e,t){return!e||!yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,ln(t))||ce(e,t))}function Ys(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e,v=Zr(e);let _,x;try{if(n.shapeFlag&4){const w=s||r,b=w;_=Ze(u.call(b,w,c,f,d,h,p)),x=a}else{const w=t;_=Ze(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),x=t.props?a:Td(a)}}catch(w){tr.length=0,Hn(w,e,1),_=X(rt)}let m=_;if(x&&g!==!1){const w=Object.keys(x),{shapeFlag:b}=m;w.length&&b&7&&(o&&w.some(di)&&(x=Md(x,o)),m=Nn(m,x,!1,!0))}return n.dirs&&(m=Nn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&ki(m,n.transition),_=m,Zr(v),_}function Rd(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(In(s)){if(s.type!==rt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Td=e=>{let t;for(const n in e)(n==="class"||n==="style"||yr(n))&&((t||(t={}))[n]=e[n]);return t},Md=(e,t)=>{const n={};for(const r in e)(!di(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ld(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?_a(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(Hc(i,r,h)&&!Es(u,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?_a(r,i,u):!0:!!i;return!1}function _a(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(Hc(t,e,o)&&!Es(n,o))return!0}return!1}function Hc(e,t,n){const r=e[n],s=t[n];return n==="style"&&ue(r)&&ue(s)?!or(r,s):r!==s}function Rs({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Dc={},jc=()=>Object.create(Dc),Gc=e=>Object.getPrototypeOf(e)===Dc;function Pd(e,t,n,r=!1){const s={},o=jc();e.propsDefaults=Object.create(null),Uc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:wn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Id(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ae(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Es(e.emitsOptions,h))continue;const d=t[h];if(l)if(ce(o,h))d!==o[h]&&(o[h]=d,u=!0);else{const p=Ge(h);s[p]=Io(l,a,p,d,e,!1)}else d!==o[h]&&(o[h]=d,u=!0)}}}else{Uc(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!ce(t,f)&&((c=ln(f))===f||!ce(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Io(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ce(t,f))&&(delete o[f],u=!0)}u&&Et(e.attrs,"set","")}function Uc(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Qt(l))continue;const u=t[l];let c;s&&ce(s,c=Ge(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Es(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=ae(n),u=a||he;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Io(s,l,f,u[f],e,!ce(u,f))}}return i}function Io(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ce(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Z(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=Dn(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===ln(n))&&(r=!0))}return r}const Nd=new WeakMap;function $c(e,t,n=!1){const r=n?Nd:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!Z(e)){const c=f=>{l=!0;const[h,d]=$c(f,t,!0);Te(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ue(e)&&r.set(e,Cn),Cn;if(J(o))for(let c=0;c<o.length;c++){const f=Ge(o[c]);va(f)&&(i[f]=he)}else if(o)for(const c in o){const f=Ge(c);if(va(f)){const h=o[c],d=i[f]=J(h)||Z(h)?{type:h}:Te({},h),p=d.type;let g=!1,v=!0;if(J(p))for(let _=0;_<p.length;++_){const x=p[_],m=Z(x)&&x.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(v=!1)}else g=Z(p)&&p.name==="Boolean";d[0]=g,d[1]=v,(g||ce(d,"default"))&&a.push(f)}}const u=[i,a];return ue(e)&&r.set(e,u),u}function va(e){return e[0]!=="$"&&!Qt(e)}const Ti=e=>e==="_"||e==="_ctx"||e==="$stable",Mi=e=>J(e)?e.map(Ze):[Ze(e)],Od=(e,t,n)=>{if(t._n)return t;const r=Fe((...s)=>Mi(t(...s)),n);return r._c=!1,r},zc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ti(s))continue;const o=e[s];if(Z(o))t[s]=Od(s,o,r);else if(o!=null){const i=Mi(o);t[s]=()=>i}}},Wc=(e,t)=>{const n=Mi(t);e.slots.default=()=>n},Vc=(e,t,n)=>{for(const r in t)(n||!Ti(r))&&(e[r]=t[r])},Bd=(e,t,n)=>{const r=e.slots=jc();if(e.vnode.shapeFlag&32){const s=t._;s?(Vc(r,t,n),n&&Kl(r,"_",s,!0)):zc(t,r)}else t&&Wc(e,t)},Fd=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=he;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Vc(s,t,n):(o=!t.$stable,zc(t,s)),i=t}else t&&(Wc(e,t),i={default:1});if(o)for(const a in s)!Ti(a)&&i[a]==null&&delete s[a]},He=eu;function Hd(e){return qc(e)}function Dd(e){return qc(e,id)}function qc(e,t){const n=Cs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=yt,insertStaticContent:p}=e,g=(y,C,S,M=null,E=null,R=null,H=void 0,F=null,O=!!C.dynamicChildren)=>{if(y===C)return;y&&!Dt(y,C)&&(M=xr(y),ut(y,E,R,!0),y=null),C.patchFlag===-2&&(O=!1,C.dynamicChildren=null);const{type:T,ref:K,shapeFlag:G}=C;switch(T){case rn:v(y,C,S,M);break;case rt:_(y,C,S,M);break;case er:y==null&&x(C,S,M,H);break;case ye:Y(y,C,S,M,E,R,H,F,O);break;default:G&1?b(y,C,S,M,E,R,H,F,O):G&6?re(y,C,S,M,E,R,H,F,O):(G&64||G&128)&&T.process(y,C,S,M,E,R,H,F,O,fn)}K!=null&&E?An(K,y&&y.ref,R,C||y,!C):K==null&&y&&y.ref!=null&&An(y.ref,null,R,y,!0)},v=(y,C,S,M)=>{if(y==null)r(C.el=a(C.children),S,M);else{const E=C.el=y.el;C.children!==y.children&&u(E,C.children)}},_=(y,C,S,M)=>{y==null?r(C.el=l(C.children||""),S,M):C.el=y.el},x=(y,C,S,M)=>{[y.el,y.anchor]=p(y.children,C,S,M,y.el,y.anchor)},m=({el:y,anchor:C},S,M)=>{let E;for(;y&&y!==C;)E=h(y),r(y,S,M),y=E;r(C,S,M)},w=({el:y,anchor:C})=>{let S;for(;y&&y!==C;)S=h(y),s(y),y=S;s(C)},b=(y,C,S,M,E,R,H,F,O)=>{if(C.type==="svg"?H="svg":C.type==="math"&&(H="mathml"),y==null)k(C,S,M,E,R,H,F,O);else{const T=y.el&&y.el._isVueCE?y.el:null;try{T&&T._beginPatch(),z(y,C,E,R,H,F,O)}finally{T&&T._endPatch()}}},k=(y,C,S,M,E,R,H,F)=>{let O,T;const{props:K,shapeFlag:G,transition:V,dirs:Q}=y;if(O=y.el=i(y.type,R,K&&K.is,K),G&8?c(O,y.children):G&16&&U(y.children,O,null,M,E,Qs(y,R),H,F),Q&&pt(y,null,M,"created"),L(O,y,y.scopeId,H,M),K){for(const de in K)de!=="value"&&!Qt(de)&&o(O,de,null,K[de],R,M);"value"in K&&o(O,"value",null,K.value,R),(T=K.onVnodeBeforeMount)&&Qe(T,M,y)}Q&&pt(y,null,M,"beforeMount");const se=Kc(E,V);se&&V.beforeEnter(O),r(O,C,S),((T=K&&K.onVnodeMounted)||se||Q)&&He(()=>{T&&Qe(T,M,y),se&&V.enter(O),Q&&pt(y,null,M,"mounted")},E)},L=(y,C,S,M,E)=>{if(S&&d(y,S),M)for(let R=0;R<M.length;R++)d(y,M[R]);if(E){let R=E.subTree;if(C===R||Yc(R.type)&&(R.ssContent===C||R.ssFallback===C)){const H=E.vnode;L(y,H,H.scopeId,H.slotScopeIds,E.parent)}}},U=(y,C,S,M,E,R,H,F,O=0)=>{for(let T=O;T<y.length;T++){const K=y[T]=F?At(y[T]):Ze(y[T]);g(null,K,C,S,M,E,R,H,F)}},z=(y,C,S,M,E,R,H)=>{const F=C.el=y.el;let{patchFlag:O,dynamicChildren:T,dirs:K}=C;O|=y.patchFlag&16;const G=y.props||he,V=C.props||he;let Q;if(S&&zt(S,!1),(Q=V.onVnodeBeforeUpdate)&&Qe(Q,S,C,y),K&&pt(C,y,S,"beforeUpdate"),S&&zt(S,!0),(G.innerHTML&&V.innerHTML==null||G.textContent&&V.textContent==null)&&c(F,""),T?N(y.dynamicChildren,T,F,S,M,Qs(C,E),R):H||$(y,C,F,null,S,M,Qs(C,E),R,!1),O>0){if(O&16)te(F,G,V,S,E);else if(O&2&&G.class!==V.class&&o(F,"class",null,V.class,E),O&4&&o(F,"style",G.style,V.style,E),O&8){const se=C.dynamicProps;for(let de=0;de<se.length;de++){const fe=se[de],Ue=G[fe],Me=V[fe];(Me!==Ue||fe==="value")&&o(F,fe,Ue,Me,E,S)}}O&1&&y.children!==C.children&&c(F,C.children)}else!H&&T==null&&te(F,G,V,S,E);((Q=V.onVnodeUpdated)||K)&&He(()=>{Q&&Qe(Q,S,C,y),K&&pt(C,y,S,"updated")},M)},N=(y,C,S,M,E,R,H)=>{for(let F=0;F<C.length;F++){const O=y[F],T=C[F],K=O.el&&(O.type===ye||!Dt(O,T)||O.shapeFlag&198)?f(O.el):S;g(O,T,K,null,M,E,R,H,!0)}},te=(y,C,S,M,E)=>{if(C!==S){if(C!==he)for(const R in C)!Qt(R)&&!(R in S)&&o(y,R,C[R],null,E,M);for(const R in S){if(Qt(R))continue;const H=S[R],F=C[R];H!==F&&R!=="value"&&o(y,R,F,H,E,M)}"value"in S&&o(y,"value",C.value,S.value,E)}},Y=(y,C,S,M,E,R,H,F,O)=>{const T=C.el=y?y.el:a(""),K=C.anchor=y?y.anchor:a("");let{patchFlag:G,dynamicChildren:V,slotScopeIds:Q}=C;Q&&(F=F?F.concat(Q):Q),y==null?(r(T,S,M),r(K,S,M),U(C.children||[],S,K,E,R,H,F,O)):G>0&&G&64&&V&&y.dynamicChildren&&y.dynamicChildren.length===V.length?(N(y.dynamicChildren,V,S,E,R,H,F),(C.key!=null||E&&C===E.subTree)&&Xc(y,C,!0)):$(y,C,S,K,E,R,H,F,O)},re=(y,C,S,M,E,R,H,F,O)=>{C.slotScopeIds=F,y==null?C.shapeFlag&512?E.ctx.activate(C,S,M,H,O):oe(C,S,M,E,R,H,O):A(y,C,O)},oe=(y,C,S,M,E,R,H)=>{const F=y.component=Yd(y,M,E);if(Ei(y)&&(F.ctx.renderer=fn),Qd(F,!1,H),F.asyncDep){if(E&&E.registerDep(F,j,H),!y.el){const O=F.subTree=X(rt);_(null,O,C,S),y.placeholder=O.el}}else j(F,y,C,S,E,R,H)},A=(y,C,S)=>{const M=C.component=y.component;if(Ld(y,C,S))if(M.asyncDep&&!M.asyncResolved){B(M,C,S);return}else M.next=C,M.update();else C.el=y.el,M.vnode=C},j=(y,C,S,M,E,R,H)=>{const F=()=>{if(y.isMounted){let{next:G,bu:V,u:Q,parent:se,vnode:de}=y;{const qe=Zc(y);if(qe){G&&(G.el=de.el,B(y,G,H)),qe.asyncDep.then(()=>{He(()=>{y.isUnmounted||T()},E)});return}}let fe=G,Ue;zt(y,!1),G?(G.el=de.el,B(y,G,H)):G=de,V&&Dr(V),(Ue=G.props&&G.props.onVnodeBeforeUpdate)&&Qe(Ue,se,G,de),zt(y,!0);const Me=Ys(y),st=y.subTree;y.subTree=Me,g(st,Me,f(st.el),xr(st),y,E,R),G.el=Me.el,fe===null&&Rs(y,Me.el),Q&&He(Q,E),(Ue=G.props&&G.props.onVnodeUpdated)&&He(()=>Qe(Ue,se,G,de),E)}else{let G;const{el:V,props:Q}=C,{bm:se,m:de,parent:fe,root:Ue,type:Me}=y,st=tn(C);if(zt(y,!1),se&&Dr(se),!st&&(G=Q&&Q.onVnodeBeforeMount)&&Qe(G,fe,C),zt(y,!0),V&&zs){const qe=()=>{y.subTree=Ys(y),zs(V,y.subTree,y,E,null)};st&&Me.__asyncHydrate?Me.__asyncHydrate(V,y,qe):qe()}else{Ue.ce&&Ue.ce._hasShadowRoot()&&Ue.ce._injectChildStyle(Me,y.parent?y.parent.type:void 0);const qe=y.subTree=Ys(y);g(null,qe,S,M,y,E,R),C.el=qe.el}if(de&&He(de,E),!st&&(G=Q&&Q.onVnodeMounted)){const qe=C;He(()=>Qe(G,fe,qe),E)}(C.shapeFlag&256||fe&&tn(fe.vnode)&&fe.vnode.shapeFlag&256)&&y.a&&He(y.a,E),y.isMounted=!0,C=S=M=null}};y.scope.on();const O=y.effect=new ec(F);y.scope.off();const T=y.update=O.run.bind(O),K=y.job=O.runIfDirty.bind(O);K.i=y,K.id=y.uid,O.scheduler=()=>Ci(K),zt(y,!0),T()},B=(y,C,S)=>{C.component=y;const M=y.vnode.props;y.vnode=C,y.next=null,Id(y,C.props,M,S),Fd(y,C.children,S),Lt(),la(y),Pt()},$=(y,C,S,M,E,R,H,F,O=!1)=>{const T=y&&y.children,K=y?y.shapeFlag:0,G=C.children,{patchFlag:V,shapeFlag:Q}=C;if(V>0){if(V&128){un(T,G,S,M,E,R,H,F,O);return}else if(V&256){le(T,G,S,M,E,R,H,F,O);return}}Q&8?(K&16&&$n(T,E,R),G!==T&&c(S,G)):K&16?Q&16?un(T,G,S,M,E,R,H,F,O):$n(T,E,R,!0):(K&8&&c(S,""),Q&16&&U(G,S,M,E,R,H,F,O))},le=(y,C,S,M,E,R,H,F,O)=>{y=y||Cn,C=C||Cn;const T=y.length,K=C.length,G=Math.min(T,K);let V;for(V=0;V<G;V++){const Q=C[V]=O?At(C[V]):Ze(C[V]);g(y[V],Q,S,null,E,R,H,F,O)}T>K?$n(y,E,R,!0,!1,G):U(C,S,M,E,R,H,F,O,G)},un=(y,C,S,M,E,R,H,F,O)=>{let T=0;const K=C.length;let G=y.length-1,V=K-1;for(;T<=G&&T<=V;){const Q=y[T],se=C[T]=O?At(C[T]):Ze(C[T]);if(Dt(Q,se))g(Q,se,S,null,E,R,H,F,O);else break;T++}for(;T<=G&&T<=V;){const Q=y[G],se=C[V]=O?At(C[V]):Ze(C[V]);if(Dt(Q,se))g(Q,se,S,null,E,R,H,F,O);else break;G--,V--}if(T>G){if(T<=V){const Q=V+1,se=Q<K?C[Q].el:M;for(;T<=V;)g(null,C[T]=O?At(C[T]):Ze(C[T]),S,se,E,R,H,F,O),T++}}else if(T>V)for(;T<=G;)ut(y[T],E,R,!0),T++;else{const Q=T,se=T,de=new Map;for(T=se;T<=V;T++){const Ke=C[T]=O?At(C[T]):Ze(C[T]);Ke.key!=null&&de.set(Ke.key,T)}let fe,Ue=0;const Me=V-se+1;let st=!1,qe=0;const zn=new Array(Me);for(T=0;T<Me;T++)zn[T]=0;for(T=Q;T<=G;T++){const Ke=y[T];if(Ue>=Me){ut(Ke,E,R,!0);continue}let ft;if(Ke.key!=null)ft=de.get(Ke.key);else for(fe=se;fe<=V;fe++)if(zn[fe-se]===0&&Dt(Ke,C[fe])){ft=fe;break}ft===void 0?ut(Ke,E,R,!0):(zn[ft-se]=T+1,ft>=qe?qe=ft:st=!0,g(Ke,C[ft],S,null,E,R,H,F,O),Ue++)}const ta=st?jd(zn):Cn;for(fe=ta.length-1,T=Me-1;T>=0;T--){const Ke=se+T,ft=C[Ke],na=C[Ke+1],ra=Ke+1<K?na.el||Jc(na):M;zn[T]===0?g(null,ft,S,ra,E,R,H,F,O):st&&(fe<0||T!==ta[fe]?$t(ft,S,ra,2):fe--)}}},$t=(y,C,S,M,E=null)=>{const{el:R,type:H,transition:F,children:O,shapeFlag:T}=y;if(T&6){$t(y.component.subTree,C,S,M);return}if(T&128){y.suspense.move(C,S,M);return}if(T&64){H.move(y,C,S,fn);return}if(H===ye){r(R,C,S);for(let G=0;G<O.length;G++)$t(O[G],C,S,M);r(y.anchor,C,S);return}if(H===er){m(y,C,S);return}if(M!==2&&T&1&&F)if(M===0)F.beforeEnter(R),r(R,C,S),He(()=>F.enter(R),E);else{const{leave:G,delayLeave:V,afterLeave:Q}=F,se=()=>{y.ctx.isUnmounted?s(R):r(R,C,S)},de=()=>{R._isLeaving&&R[rd](!0),G(R,()=>{se(),Q&&Q()})};V?V(R,se,de):de()}else r(R,C,S)},ut=(y,C,S,M=!1,E=!1)=>{const{type:R,props:H,ref:F,children:O,dynamicChildren:T,shapeFlag:K,patchFlag:G,dirs:V,cacheIndex:Q}=y;if(G===-2&&(E=!1),F!=null&&(Lt(),An(F,null,S,y,!0),Pt()),Q!=null&&(C.renderCache[Q]=void 0),K&256){C.ctx.deactivate(y);return}const se=K&1&&V,de=!tn(y);let fe;if(de&&(fe=H&&H.onVnodeBeforeUnmount)&&Qe(fe,C,y),K&6)nh(y.component,S,M);else{if(K&128){y.suspense.unmount(S,M);return}se&&pt(y,null,C,"beforeUnmount"),K&64?y.type.remove(y,C,S,fn,M):T&&!T.hasOnce&&(R!==ye||G>0&&G&64)?$n(T,C,S,!1,!0):(R===ye&&G&384||!E&&K&16)&&$n(O,C,S),M&&Qi(y)}(de&&(fe=H&&H.onVnodeUnmounted)||se)&&He(()=>{fe&&Qe(fe,C,y),se&&pt(y,null,C,"unmounted")},S)},Qi=y=>{const{type:C,el:S,anchor:M,transition:E}=y;if(C===ye){th(S,M);return}if(C===er){w(y);return}const R=()=>{s(S),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(y.shapeFlag&1&&E&&!E.persisted){const{leave:H,delayLeave:F}=E,O=()=>H(S,R);F?F(y.el,R,O):O()}else R()},th=(y,C)=>{let S;for(;y!==C;)S=h(y),s(y),y=S;s(C)},nh=(y,C,S)=>{const{bum:M,scope:E,job:R,subTree:H,um:F,m:O,a:T}=y;Ca(O),Ca(T),M&&Dr(M),E.stop(),R&&(R.flags|=8,ut(H,y,C,S)),F&&He(F,C),He(()=>{y.isUnmounted=!0},C)},$n=(y,C,S,M=!1,E=!1,R=0)=>{for(let H=R;H<y.length;H++)ut(y[H],C,S,M,E)},xr=y=>{if(y.shapeFlag&6)return xr(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const C=h(y.anchor||y.el),S=C&&C[td];return S?h(S):C};let Us=!1;const ea=(y,C,S)=>{let M;y==null?C._vnode&&(ut(C._vnode,null,null,!0),M=C._vnode.component):g(C._vnode||null,y,C,null,null,null,S),C._vnode=y,Us||(Us=!0,la(M),Xr(),Us=!1)},fn={p:g,um:ut,m:$t,r:Qi,mt:oe,mc:U,pc:$,pbc:N,n:xr,o:e};let $s,zs;return t&&([$s,zs]=t(fn)),{render:ea,hydrate:$s,createApp:Sd(ea,$s)}}function Qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xc(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=At(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Xc(i,a)),a.type===rn&&(a.patchFlag===-1&&(a=s[o]=At(a)),a.el=i.el),a.type===rt&&!a.el&&(a.el=i.el)}}function jd(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Zc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Zc(t)}function Ca(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Jc(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Jc(t.subTree):null}const Yc=e=>e.__isSuspense;let No=0;const Gd={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)$d(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}zd(e,t,n,r,s,i,a,l,u)}},hydrate:Wd,normalize:Vd},Ud=Gd;function cr(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function $d(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=Qc(e,s,r,t,f,n,o,i,a,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(cr(e,"onPending"),cr(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),En(h,e.ssFallback)):h.resolve(!1,!0)}function zd(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:_}=f;if(g)f.pendingBranch=h,Dt(g,h)?(l(g,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():v&&(_||(l(p,d,n,r,s,null,o,i,a),En(f,d)))):(f.pendingId=No++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),v?(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,o,i,a),En(f,d))):p&&Dt(p,h)?(l(p,h,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&Dt(p,h))l(p,h,n,r,s,f,o,i,a),En(f,h);else if(cr(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=No++,l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:m}=f;x>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},x):x===0&&f.fallback(d)}}function Qc(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:v}}=u;let _;const x=qd(e);x&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const m=e.props?lh(e.props.timeout):void 0,w=o,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:No++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(k=!1,L=!1){const{vnode:U,activeBranch:z,pendingBranch:N,pendingId:te,effects:Y,parentComponent:re,container:oe,isInFallback:A}=b;let j=!1;b.isHydrating?b.isHydrating=!1:k||(j=z&&N.transition&&N.transition.mode==="out-in",j&&(z.transition.afterLeave=()=>{te===b.pendingId&&(h(N,oe,o===w?p(z):o,0),Ro(Y),A&&U.ssFallback&&(U.ssFallback.el=null))}),z&&(g(z.el)===oe&&(o=p(z)),d(z,re,b,!0),!j&&A&&U.ssFallback&&He(()=>U.ssFallback.el=null,b)),j||h(N,oe,o,0)),En(b,N),b.pendingBranch=null,b.isInFallback=!1;let B=b.parent,$=!1;for(;B;){if(B.pendingBranch){B.effects.push(...Y),$=!0;break}B=B.parent}!$&&!j&&Ro(Y),b.effects=[],x&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),cr(U,"onResolve")},fallback(k){if(!b.pendingBranch)return;const{vnode:L,activeBranch:U,parentComponent:z,container:N,namespace:te}=b;cr(L,"onFallback");const Y=p(U),re=()=>{b.isInFallback&&(f(null,k,N,Y,z,null,te,a,l),En(b,k))},oe=k.transition&&k.transition.mode==="out-in";oe&&(U.transition.afterLeave=re),b.isInFallback=!0,d(U,z,null,!0),oe||re()},move(k,L,U){b.activeBranch&&h(b.activeBranch,k,L,U),b.container=k},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(k,L,U){const z=!!b.pendingBranch;z&&b.deps++;const N=k.vnode.el;k.asyncDep.catch(te=>{Hn(te,k,0)}).then(te=>{if(k.isUnmounted||b.isUnmounted||b.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:Y}=k;Oo(k,te),N&&(Y.el=N);const re=!N&&k.subTree.el;L(k,Y,g(N||k.subTree.el),N?null:p(k.subTree),b,i,U),re&&(Y.placeholder=null,v(re)),Rs(k,Y.el),z&&--b.deps===0&&b.resolve()})},unmount(k,L){b.isUnmounted=!0,b.activeBranch&&d(b.activeBranch,n,k,L),b.pendingBranch&&d(b.pendingBranch,n,k,L)}};return b}function Wd(e,t,n,r,s,o,i,a,l){const u=t.suspense=Qc(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function Vd(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=xa(r?n.default:n),e.ssFallback=r?xa(n.fallback):X(rt)}function xa(e){let t;if(Z(e)){const n=Pn&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=We,tu())}return J(e)&&(e=Rd(e)),e=Ze(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function eu(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}function En(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Rs(r,s))}function qd(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),tr=[];let We=null;function D(e=!1){tr.push(We=e?null:[])}function tu(){tr.pop(),We=tr[tr.length-1]||null}let Pn=1;function es(e,t=!1){Pn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function nu(e){return e.dynamicChildren=Pn>0?We||Cn:null,tu(),Pn>0&&We&&We.push(e),e}function W(e,t,n,r,s,o){return nu(P(e,t,n,r,s,o,!0))}function et(e,t,n,r,s){return nu(X(e,t,n,r,s,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const ru=({key:e})=>e??null,jr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||_e(e)||Z(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function P(e,t=null,n=null,r=0,s=null,o=e===ye?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ru(t),ref:t&&jr(t),scopeId:vc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Re};return a?(Li(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=be(n)?8:16),Pn>0&&!i&&We&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&We.push(l),l}const X=Kd;function Kd(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Lc)&&(e=rt),In(e)){const a=Nn(e,t,!0);return n&&Li(a,n),Pn>0&&!o&&We&&(a.shapeFlag&6?We[We.indexOf(e)]=a:We.push(a)),a.patchFlag=-2,a}if(s1(e)&&(e=e.__vccOpts),t){t=su(t);let{class:a,style:l}=t;a&&!be(a)&&(t.class=Pe(a)),ue(l)&&(ks(l)&&!J(l)&&(l=Te({},l)),t.style=xs(l))}const i=be(e)?1:Yc(e)?128:nd(e)?64:ue(e)?4:Z(e)?2:0;return P(e,t,n,r,s,i,o,!0)}function su(e){return e?ks(e)||Gc(e)?Te({},e):e:null}function Nn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?ou(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ru(u),ref:t&&t.ref?n&&o?J(o)?o.concat(jr(t)):[o,jr(t)]:jr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ki(c,l.clone(c)),c}function ve(e=" ",t=0){return X(rn,null,e,t)}function Xd(e,t){const n=X(er,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(D(),et(rt,null,e)):X(rt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?X(rt):J(e)?X(ye,null,e.slice()):In(e)?At(e):X(rn,null,String(e))}function At(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Li(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Li(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Gc(t)?t._ctx=Re:s===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function ou(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Pe([t.class,r.class]));else if(s==="style")t.style=xs([t.style,r.style]);else if(yr(s)){const o=t[s],i=r[s];i&&o!==i&&!(J(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Qe(e,t,n,r=null){wt(e,t,7,[n,r])}const Zd=Bc();let Jd=0;function Yd(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Zd,o={uid:Jd++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$c(r,s),emitsOptions:Fc(r,s),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Ad.bind(null,o),e.ce&&e.ce(o),o}let Ee=null;const On=()=>Ee||Re;let ts,Rn;{const e=Cs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ts=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Rn=t("__VUE_SSR_SETTERS__",n=>sn=n)}const Dn=e=>{const t=Ee;return ts(e),e.scope.on(),()=>{e.scope.off(),ts(t)}},ns=()=>{Ee&&Ee.scope.off(),ts(null)};function iu(e){return e.vnode.shapeFlag&4}let sn=!1;function Qd(e,t=!1,n=!1){t&&Rn(t);const{props:r,children:s}=e.vnode,o=iu(e);Pd(e,r,o,t),Bd(e,s,n||t);const i=o?e1(e,t):void 0;return t&&Rn(!1),i}function e1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yd);const{setup:r}=n;if(r){Lt();const s=e.setupContext=r.length>1?n1(e):null,o=Dn(e),i=wr(r,e,0,[e.props,s]),a=gi(i);if(Pt(),o(),(a||e.sp)&&!tn(e)&&Ai(e),a){if(i.then(ns,ns),t)return i.then(l=>{Oo(e,l)}).catch(l=>{Hn(l,e,0)});e.asyncDep=i}else Oo(e,i)}else au(e)}function Oo(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=mc(t)),au(e)}function au(e,t,n){const r=e.type;e.render||(e.render=r.render||yt);{const s=Dn(e);Lt();try{bd(e)}finally{Pt(),s()}}}const t1={get(e,t){return Ie(e,"get",""),e[t]}};function n1(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,t1),slots:e.slots,emit:e.emit,expose:t}}function Ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mc(Fh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qn)return Qn[n](e)},has(t,n){return n in t||n in Qn}})):e.proxy}function r1(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function s1(e){return Z(e)&&"__vccOpts"in e}const De=(e,t)=>Wh(e,t,sn);function ur(e,t,n){try{es(-1);const r=arguments.length;return r===2?ue(t)&&!J(t)?In(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&In(n)&&(n=[n]),X(e,t,n))}finally{es(1)}}const o1="3.5.30";let Bo;const Sa=typeof window<"u"&&window.trustedTypes;if(Sa)try{Bo=Sa.createPolicy("vue",{createHTML:e=>e})}catch{}const lu=Bo?e=>Bo.createHTML(e):e=>e,i1="http://www.w3.org/2000/svg",a1="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,ka=kt&&kt.createElement("template"),l1={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"?kt.createElementNS(i1,e):t==="mathml"?kt.createElementNS(a1,e):n?kt.createElement(e,{is:n}):kt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>kt.createTextNode(e),createComment:e=>kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kt.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{ka.innerHTML=lu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ka.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]}},c1=Symbol("_vtc");function u1(e,t,n){const r=e[c1];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Aa=Symbol("_vod"),f1=Symbol("_vsh"),h1=Symbol(""),d1=/(?:^|;)\s*display\s*:/;function p1(e,t,n){const r=e.style,s=be(n);let o=!1;if(n&&!s){if(t)if(be(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const i in t)n[i]==null&&Gr(r,i,"");for(const i in n)i==="display"&&(o=!0),Gr(r,i,n[i])}else if(s){if(t!==n){const i=r[h1];i&&(n+=";"+i),r.cssText=n,o=d1.test(n)}}else t&&e.removeAttribute("style");Aa in e&&(e[Aa]=o?r.display:"",e[f1]&&(r.display="none"))}const Ea=/\s*!important$/;function Gr(e,t,n){if(J(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=g1(e,t);Ea.test(n)?e.setProperty(ln(r),n.replace(Ea,""),"important"):e[r]=n}}const Ra=["Webkit","Moz","ms"],eo={};function g1(e,t){const n=eo[t];if(n)return n;let r=Ge(t);if(r!=="filter"&&r in e)return eo[t]=r;r=vs(r);for(let s=0;s<Ra.length;s++){const o=Ra[s]+r;if(o in e)return eo[t]=o}return t}const Ta="http://www.w3.org/1999/xlink";function Ma(e,t,n,r,s,o=gh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ta,t.slice(6,t.length)):e.setAttributeNS(Ta,t,n):n==null||o&&!Xl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":lt(n)?String(n):n)}function La(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?lu(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=Xl(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 cu(e,t,n,r){e.addEventListener(t,n,r)}function m1(e,t,n,r){e.removeEventListener(t,n,r)}const Pa=Symbol("_vei");function y1(e,t,n,r,s=null){const o=e[Pa]||(e[Pa]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=b1(t);if(r){const u=o[t]=v1(r,s);cu(e,a,u,l)}else i&&(m1(e,a,i,l),o[t]=void 0)}}const Ia=/(?:Once|Passive|Capture)$/;function b1(e){let t;if(Ia.test(e)){t={};let r;for(;r=e.match(Ia);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ln(e.slice(2)),t]}let to=0;const w1=Promise.resolve(),_1=()=>to||(w1.then(()=>to=0),to=Date.now());function v1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wt(C1(r,n.value),t,5,[r])};return n.value=e,n.attached=_1(),n}function C1(e,t){if(J(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 Na=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,x1=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?u1(e,r,i):t==="style"?p1(e,n,r):yr(t)?di(t)||y1(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):S1(e,t,r,i))?(La(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ma(e,t,r,i,o,t!=="value")):e._isVueCE&&(k1(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!be(r)))?La(e,Ge(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ma(e,t,r,i))};function S1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Na(t)&&Z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Na(t)&&be(n)?!1:t in e}function k1(e,t){const n=e._def.props;if(!n)return!1;const r=Ge(t);return Array.isArray(n)?n.some(s=>Ge(s)===r):Object.keys(n).some(s=>Ge(s)===r)}const Oa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>Dr(t,n):t},no=Symbol("_assign"),A1={created(e,{value:t},n){e.checked=or(t,n.props.value),e[no]=Oa(n),cu(e,"change",()=>{e[no](E1(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[no]=Oa(r),t!==n&&(e.checked=or(t,r.props.value))}};function E1(e){return"_value"in e?e._value:e.value}const uu=Te({patchProp:x1},l1);let nr,Ba=!1;function R1(){return nr||(nr=Hd(uu))}function T1(){return nr=Ba?nr:Dd(uu),Ba=!0,nr}const M1=((...e)=>{const t=R1().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=hu(r);if(!s)return;const o=t._component;!Z(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,fu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),L1=((...e)=>{const t=T1().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=hu(r);if(s)return n(s,!0,fu(s))},t});function fu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hu(e){return be(e)?document.querySelector(e):e}const P1=/"(?:_|\\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*:/,I1=/"(?: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*:/,N1=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function O1(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){B1(e);return}return t}function B1(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rs(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!N1.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(P1.test(e)||I1.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,O1)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const du=/#/g,pu=/&/g,F1=/\//g,H1=/=/g,D1=/\?/g,Ms=/\+/g,j1=/%5e/gi,G1=/%60/gi,U1=/%7c/gi,$1=/%20/gi,z1=/%2f/gi,W1=/%252f/gi;function gu(e){return encodeURI(""+e).replace(U1,"|")}function Fo(e){return gu(typeof e=="string"?e:JSON.stringify(e)).replace(Ms,"%2B").replace($1,"+").replace(du,"%23").replace(pu,"%26").replace(G1,"`").replace(j1,"^").replace(F1,"%2F")}function ro(e){return Fo(e).replace(H1,"%3D")}function V1(e){return gu(e).replace(du,"%23").replace(D1,"%3F").replace(W1,"%2F").replace(pu,"%26").replace(Ms,"%2B")}function fr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function q1(e){return fr(e.replace(z1,"%252F"))}function K1(e){return fr(e.replace(Ms," "))}function X1(e){return fr(e.replace(Ms," "))}function Ls(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=K1(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=X1(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 Z1(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ro(e)}=${Fo(n)}`).join("&"):`${ro(e)}=${Fo(t)}`:ro(e)}function mu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Z1(t,e[t])).filter(Boolean).join("&")}const J1=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Y1=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Q1=/^([/\\]\s*){2,}[^/\\]/,ep=/^[\s\0]*(blob|data|javascript|vbscript):$/i,tp=/\/$|\/\?|\/#/,np=/^\.?\//;function rp(e){return["./","../"].some(t=>e.startsWith(t))}function Ut(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?J1.test(e):Y1.test(e)||(t.acceptRelative?Q1.test(e):!1)}function sp(e){return!!e&&ep.test(e)}function Ho(e="",t){return t?tp.test(e):e.endsWith("/")}function Pi(e="",t){if(!t)return(Ho(e)?e.slice(0,-1):e)||"/";if(!Ho(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(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 ss(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ho(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(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 op(e=""){return e.startsWith("/")}function Fa(e=""){return op(e)?e:"/"+e}function yu(e,t){if(bu(t)||Ut(e))return e;const n=Pi(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return on(n,e)}function ip(e,t){if(bu(t))return e;const n=Pi(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Xt(e,t){const n=Ii(e),r={...Ls(n.search),...t};return n.search=mu(r),vu(n)}function bu(e){return!e||e==="/"}function ap(e){return e&&e!=="/"}function on(e,...t){let n=e||"";for(const r of t.filter(s=>ap(s)))if(n){const s=r.replace(np,"");n=ss(n)+s}else n=r;return n}function wu(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Ut(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function lp(e,t,n={}){return n.trailingSlash||(e=ss(e),t=ss(t)),n.leadingSlash||(e=Fa(e),t=Fa(t)),n.encoding||(e=fr(e),t=fr(t)),e===t}const _u=Symbol.for("ufo:protocolRelative");function Ii(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!Ut(e,{acceptRelative:!0}))return Ha(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:u,hash:c}=Ha(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[_u]:!r}}function Ha(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function vu(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[_u]?(e.protocol||"")+"//":"")+s+o+t+n+r}class cp extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function up(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new cp(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const fp=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Da(e="GET"){return fp.has(e.toUpperCase())}function hp(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const dp=new Set(["image/svg","application/xml","application/xhtml","application/html"]),pp=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gp(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return pp.test(t)?"json":t==="text/event-stream"?"stream":dp.has(t)||t.startsWith("text/")?"text":"blob"}function mp(e,t,n,r){const s=yp(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function yp(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 Mr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const bp=new Set([408,409,425,429,500,502,503,504]),wp=new Set([101,204,205,304]);function Cu(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 c;typeof a.options.retry=="number"?c=a.options.retry:c=Da(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):bp.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(a.request,{...a.options,retry:c-1})}}const u=up(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:mp(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await Mr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=yu(c.request,c.options.baseURL)),c.options.query&&(c.request=Xt(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Da(c.options.method))if(hp(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await Mr(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!wp.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||gp(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||rs;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await Mr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Mr(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Cu({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const os=(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")})(),_p=os.fetch?(...e)=>os.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),vp=os.Headers,Cp=os.AbortController,xp=Cu({fetch:_p,Headers:vp,AbortController:Cp}),Sp=xp,kp=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Ni=()=>kp().app,Ap=()=>Ni().baseURL,Ep=()=>Ni().buildAssetsDir,Oi=(...e)=>wu(xu(),Ep(),...e),xu=(...e)=>{const t=Ni(),n=t.cdnURL||t.baseURL;return e.length?wu(n,...e):n};globalThis.__buildAssetsURL=Oi,globalThis.__publicAssetsURL=xu;globalThis.$fetch||(globalThis.$fetch=Sp.create({baseURL:Ap()}));"global"in globalThis||(globalThis.global=globalThis);function Do(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Do(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Rp={run:e=>e()},Tp=()=>Rp,Su=typeof console.createTask<"u"?console.createTask:Tp;function Mp(e,t){const n=t.shift(),r=Su(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Lp(e,t){const n=t.shift(),r=Su(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function so(e,t){for(const n of[...e])n(t)}let Pp=class{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=Do(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=Do(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(Mp,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Lp,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&so(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&so(this._after,s)}):(this._after&&s&&so(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 Ip(){return new Pp}function Np(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},u=()=>t===i?l:void 0;jo.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{jo.delete(u)}}}}function Op(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Np({...e,...r})),t[n]}}}const is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ja="__unctx__",Bp=is[ja]||(is[ja]=Op()),Fp=(e,t={})=>Bp.get(e,t),Ga="__unctx_async_handlers__",jo=is[Ga]||(is[Ga]=new Set);function Hp(e){const t=[];for(const s of jo){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 Ua={id:"__nuxt-loader"},Dp={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},jp="#__nuxt",ku="nuxt-app",$a=36e5,Gp="vite:preloadError";function Au(e=ku){return Fp(e,{asyncContext:!1})}const Up="__nuxt_plugin";function $p(e){let t=0;const n={_id:e.id||ku||"nuxt-app",_scope:yh(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:wn({...e.ssrContext?.payload||{},data:wn({}),state:at({}),once:new Set,_errors:wn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Ql()?n._scope.run(()=>za(n,s)):za(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:wn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Ip(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Lr(n,i,o),Lr(n.vueApp.config.globalProperties,i,o)},Lr(n.vueApp,"$nuxt",n),Lr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Gp,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Ae;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function zp(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Wp(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 Vp(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=Wp(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(h)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(c):await c}}for(const l of t)zp(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)throw e.payload.error||o}function vt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Up]:!0,_name:t})}function za(e,t,n){const r=()=>t();return Au(e._id).set(e),e.vueApp.runWithContext(r)}function qp(e){let t;return xi()&&(t=On()?.appContext.app.$nuxt),t||=Au(e).tryUse(),t||null}function Ae(e){const t=qp(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Bn(e){return Ae().$config}function Lr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function oo(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 Go(e,t,n=".",r){if(!oo(t))return Go(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]]:oo(i)&&oo(s[o])?s[o]=Go(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Kp(e){return(...t)=>t.reduce((n,r)=>Go(n,r,"",e),{})}const Xp=Kp();function Zp(e,t){try{return t in e}catch{return!1}}class Wa extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Uo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Eu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Jp(e){if(typeof e=="string")return new Wa(e);if(Yp(e))return e;const t=new Wa(e.message??e.statusMessage??"",{cause:e.cause||e});if(Zp(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=Uo(e.statusCode,t.statusCode):e.status&&(t.statusCode=Uo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Eu(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 Yp(e){return e?.constructor?.__h3_error__===!0}const Qp=/[^\u0009\u0020-\u007E]/g;function Eu(e=""){return e.replace(Qp,"")}function Uo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ru=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const _t=()=>Ae()?.$router,Bi=()=>xi()?kn(Ru,Ae()._route):Ae()._route;const e0=()=>{try{if(Ae()._processingMiddleware)return!0}catch{return!1}return!1},Tu=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?$o(e):_t().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[h,d]of Object.entries(c))d!==void 0&&f.push(`${h.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=Ut(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&sp(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=e0();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=Ii(e);return{path:u,...c&&{query:Ls(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=_t(),a=Ae();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?Mu(e):e;return t?.replace?i.replace(l):i.push(l)};function $o(e){return Xt(e.path||"",e.query||{})+(e.hash||"")}function Mu(e){const t=Ii(e);return V1(q1(t.pathname))+t.search+t.hash}const Lu="__nuxt_error",Fi=()=>Uh(Ae().payload,"error"),t0=e=>{const t=Hi(e);try{const n=Fi();Ae().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},n0=async(e={})=>{const t=Ae(),n=Fi();t.callHook("app:error:cleared",e),e.redirect&&await _t().replace(e.redirect),n.value=void 0},r0=e=>!!e&&typeof e=="object"&&Lu in e,Hi=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Jp(e);return Object.defineProperty(t,Lu,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function s0(e){const t=i0(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 o0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function i0(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|=o0.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 a0=-1,l0=-2,c0=-3,u0=-4,f0=-5,h0=-6,d0=-7;function p0(e,t){return g0(JSON.parse(e),t)}function g0(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,a=!1){if(i===a0)return;if(i===c0)return NaN;if(i===u0)return 1/0;if(i===f0)return-1/0;if(i===h0)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=c(o(f)),s.delete(f),r[i]}switch(u){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let p=1;p<l.length;p+=1)f.add(o(l[p]));break;case"Map":const h=new Map;r[i]=h;for(let p=1;p<l.length;p+=2)h.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[u],g=o(l[1]),v=new p(g);r[i]=l[2]!==void 0?v.subarray(l[2],l[3]):v;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=s0(p);r[i]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=u.slice(9);r[i]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[i]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[i]=p;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===d0){const u=l[1],c=new Array(u);r[i]=c;for(let f=2;f<l.length;f+=2){const h=l[f];c[h]=o(l[f+1])}}else{const u=new Array(l.length);r[i]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==l0&&(u[c]=o(f))}}else{const u={};r[i]=u;for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=o(f)}}return r[i]}return o(0)}const m0=new Set(["link","style","script","noscript"]),y0=new Set(["title","titleTemplate","script","style","noscript"]),Va=new Set(["base","meta","link","style","script","noscript"]),b0=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),w0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),_0=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),v0=new Set(["templateParams","htmlAttrs","bodyAttrs"]),C0=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function zo(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?zo(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Pu=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Iu(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>Iu(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function x0(e,t,n){if(e.length>0)return Iu(e,t,0,Pu(n))}function S0(e,t,n){if(e.length>0){const r=Pu(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function io(e,t){for(const n of[...e])n(t)}var k0=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=zo(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=zo(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(x0,e,t)}callHookParallel(e,...t){return this.callHookWith(S0,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&io(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&io(this._after,r)}):(this._after&&r&&io(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function A0(){return new k0}const E0=["name","property","http-equiv"],R0=new Set(["viewport","description","keywords","robots"]);function Nu(e){const t=e.split(":");return t.length?C0.has(t[1]):!1}function Wo(e){const{props:t,tag:n}=e;if(w0.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";const r=t.hreflang||t.type;if(n==="link"&&t.rel==="alternate"&&r)return`alternate:${r}`;if(t.charset)return"charset";if(e.tag==="meta"){for(const s of E0)if(t[s]!==void 0){const o=t[s],i=o&&typeof o=="string"&&o.includes(":"),a=o&&R0.has(o),u=!(i||a)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${u}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(y0.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function qa(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 as(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>as(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=as(s[i],t,i);return o}return s}function T0(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>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(String(s).trim(),String(o)):r(s))}),n}function Ou(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=T0(n,r);return}if(_0.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function M0(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Ou({tag:e,props:{}},n);return r.key&&m0.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 L0(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=as(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(M0(s,i))}),r.flat()}const Ka=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Xa={base:-10,title:10},P0={critical:-8,high:-1,low:2},Za={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}},I0=/@import/,Vn=e=>e===""||e===!0;function N0(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=P0[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Za;if(t.tag in Xa)n=Xa[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Za.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Vn(t.props.async)?n=s.script.async:t.props.src&&!Vn(t.props.defer)&&!Vn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Vn(t.props.defer)&&t.props.src&&!Vn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&I0.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Ja(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 O0(e={}){const t=A0();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Ja(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},h={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const h=o.values().next().value;o.delete(h);const d=r.get(h);if(d){const p={tags:L0(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,v)=>(g._w=N0(i,g),g._p=(d._i<<10)+v,g._d=Wo(g),g))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ka).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const g=h.get(p);if((d?.tagDuplicateStrategy||(v0.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const _={...g.props};Object.entries(d.props).forEach(([x,m])=>_[x]=x==="style"?new Map([...g.props.style||new Map,...m]):x==="class"?new Set([...g.props.class||new Set,...m]):m),h.set(p,{...d,props:_})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Nu(p)?(h.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&h.set(p,d);return h},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const h=c?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Ka)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:g}=h;if(b0.has(p)&&!(Object.keys(g).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const v=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=v.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Wo(h)}f.push(h)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Ja(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const B0=(e,t)=>_e(t)?gc(t):t,Bu="usehead";function F0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Bu,e)}}.install}function H0(){if(xi()){const e=kn(Bu);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function C8(e,t={}){const n=t.head||H0();return n.ssr?n.push(e||{},t):D0(n,e,t)}function D0(e,t,n={}){const r=ze(!1);let s;return Qh(()=>{const i=r.value?{}:as(t,B0);s?s.patch(i):s=e.push(i,n)}),On()&&(Ri(()=>{s.dispose()}),kc(()=>{r.value=!0}),Sc(()=>{r.value=!1})),s}const j0=(e,t)=>[],G0=e=>Xp({},...j0().map(t=>t.data).reverse()),U0=G0;let Ur;function $0(){return Ur=$fetch(Oi(`builds/meta/${Bn().app.buildId}.json`),{responseType:"json"}),Ur.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ur}function Di(){return Ur||$0()}function Ps(e){const t=typeof e=="string"?e:e.path;try{return U0(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Ya(e,t={}){if(await V0(e)){const n=await W0(e,t);return await Fu(n)||null}return null}const z0="_payload.json";async function W0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ut(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Bn(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await q0(e)?o:r.app.baseURL;return on(i,n.pathname,z0+(s?`?${s}`:""))}async function Fu(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(ju));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function Hu(e){if(e.redirect)return!1;if(e.prerender)return!0}async function Du(e){return e=e==="/"?e:e.replace(/\/$/,""),(await Di()).prerendered.includes(e)}async function V0(e=Bi().path){const t=Ps({path:e}),n=Hu(t);return n!==void 0?n:t.payload?!0:await Du(e)}async function q0(e=Bi().path){const t=Hu(Ps({path:e}));return t!==void 0?t:await Du(e)}let Wt=null;async function K0(){if(Wt)return Wt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ju(e.textContent||""),n=e.dataset.src?await Fu(e.dataset.src):void 0;return Wt={...t,...n,...window.__NUXT__},Wt.config?.public&&(Wt.config.public=at(Wt.config.public)),Wt}async function ju(e){return await p0(e,Ae()._payloadRevivers)}function X0(e,t){Ae()._payloadRevivers[e]=t}const Z0=[["NuxtError",e=>Hi(e)],["EmptyShallowRef",e=>Eo(e==="_"?void 0:e==="0n"?BigInt(0):rs(e))],["EmptyRef",e=>ze(e==="_"?void 0:e==="0n"?BigInt(0):rs(e))],["ShallowRef",e=>Eo(e)],["ShallowReactive",e=>wn(e)],["Ref",e=>ze(e)],["Reactive",e=>at(e)]],J0=vt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Z0)X0(r,s);Object.assign(e.payload,([t,n]=Hp(()=>e.runWithContext(K0)),t=await t,n(),t)),delete window.__NUXT__}});async function ji(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=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const v=o.get(g._d)||0,_={tag:g,id:(v?`${g._d}:${v}`:g._d)||qa(g),shouldRender:!0};return g._d&&Nu(g._d)&&o.set(g._d,v+1),_}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const g of p){const v=g.tagName.toLowerCase();if(!Va.has(v))continue;const _=Ou({tag:v,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((x,m)=>(x[m]=g.getAttribute(m),x),{})||{}});if(_.key=g.getAttribute("data-hid")||void 0,_._d=Wo(_)||qa(_),a.elMap.has(_._d)){let x=1,m=_._d;for(;a.elMap.has(m);)m=`${_._d}:${x++}`;a.elMap.set(m,g)}else a.elMap.set(_._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,g){const v=`${d}:${p}`;a.sideEffects[v]=g,delete a.pendingSideEffects[v]}function u({id:d,$el:p,tag:g}){const v=g.tag.endsWith("Attrs");a.elMap.set(d,p),v||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const _ in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,_))continue;const x=g.props[_];if(_.startsWith("on")&&typeof x=="function"){const w=p?.dataset;if(w&&w[`${_}fired`]){const b=_.slice(0,-5);x.call(p,new Event(b.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),x.bind(p)),p.setAttribute(`data-${_}`,""));continue}const m=`attr:${_}`;if(_==="class"){if(!x)continue;for(const w of x)v&&l(d,`${m}:${w}`,()=>p.classList.remove(w)),!p.classList.contains(w)&&p.classList.add(w)}else if(_==="style"){if(!x)continue;for(const[w,b]of x)l(d,`${m}:${w}`,()=>{p.style.removeProperty(w)}),p.style.setProperty(w,b)}else x!==!1&&x!==null&&(p.getAttribute(_)!==x&&p.setAttribute(_,x===!0?"":String(x)),v&&l(d,m,()=>p.removeAttribute(_)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:p,shouldRender:g,id:v}=d;if(g){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(v),d.$el?u(d):Va.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,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 d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Y0(e={}){const t=e.domOptions?.render||ji;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return O0({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Q0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function eg(e={}){const t=Y0({domOptions:{render:Q0(()=>ji(t),n=>setTimeout(n,0))},...e});return t.install=F0(t),t}const tg={disableDefaults:!0},ng=vt({name:"nuxt:head",enforce:"pre",setup(e){const t=eg(tg);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ji(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)}}}),rg=e=>{const t=Ps({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Ut(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},sg=[rg];function ao(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=vu({pathname:e.path||"",search:mu(e.query||{}),hash:e.hash||""}));const n=new URL(e.toString(),window.location.href);return{path:n.pathname,fullPath:e,query:Ls(n.search),hash:n.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}const og=vt({name:"nuxt:router",enforce:"pre",setup(e){const t=ip(window.location.pathname,Bn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(h,d)=>(r[h].push(d),()=>r[h].splice(r[h].indexOf(d),1)),o=Bn().app.baseURL,i=at(ao(t));async function a(h,d){try{const p=ao(h);for(const g of r["navigate:before"]){const v=await g(p,i);if(v===!1||v instanceof Error)return;if(typeof v=="string"&&v.length)return a(v,!0)}for(const g of r["resolve:before"])await g(p,i);Object.assign(i,p),window.history[d?"replaceState":"pushState"]({},"",on(o,p.fullPath)),e.isHydrating||await e.runWithContext(n0);for(const g of r["navigate:after"])await g(p,i)}catch(p){for(const g of r.error)await g(p)}}const u={currentRoute:De(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:h=>a(h,!1),replace:h=>a(h,!0),back:()=>window.history.go(-1),go:h=>window.history.go(h),forward:()=>window.history.go(1),beforeResolve:h=>s("resolve:before",h),beforeEach:h=>s("navigate:before",h),afterEach:h=>s("navigate:after",h),onError:h=>s("error",h),resolve:ao,addRoute:(h,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:h=>n.some(d=>d.name===h),removeRoute:h=>{const d=n.findIndex(p=>p.name===h);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",It({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(h,{slots:d})=>{const p=()=>a(h.to,h.replace);return()=>{const g=u.resolve(h.to);return h.custom?d.default?.({href:h.to,navigate:p,route:g}):ur("a",{href:h.to,onClick:v=>(v.preventDefault(),p())},d)}}})),window.addEventListener("popstate",h=>{const d=h.target.location;u.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||={global:[],named:{}};const c=e.payload.state._layout,f=e.payload.state._layoutProps;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(h,d)=>{h.meta=at(h.meta||{}),e.isHydrating&&c&&!bt(h.meta.layout)&&(h.meta.layout=c,h.meta.layoutProps=f),e._processingMiddleware=!0;{const p=new Set([...sg,...e._middleware.global]),g=Ps({path:h.path});if(g.appMiddleware)for(const v in g.appMiddleware){const _=e._middleware.named[v];_&&(g.appMiddleware[v]?p.add(_):p.delete(_))}for(const v of p){const _=await e.runWithContext(()=>v(h,d));if(_!==!0&&(_||_===!1))return _}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),lp(i.fullPath,t)||await e.runWithContext(()=>Tu(i.fullPath))}),{provide:{route:i,router:u}}}}),ig=vt({name:"nuxt-scripts:intercept",enforce:"pre",setup(){const e=[],t=typeof navigator<"u"&&navigator.sendBeacon?navigator.sendBeacon.bind(navigator):()=>!1,n=globalThis.fetch.bind(globalThis);function r(u){try{const c=new URL(u,location.origin);for(const f of e)if(c.hostname===f.pattern||c.hostname.endsWith("."+f.pattern)){if(f.pathPrefix&&!c.pathname.startsWith(f.pathPrefix))continue;const h=f.pathPrefix?c.pathname.slice(f.pathPrefix.length):c.pathname;return location.origin+f.target+(h.startsWith("/")?"":"/")+h+c.search}}catch{}return u}const s=XMLHttpRequest;class o extends s{open(){const c=Array.from(arguments);return typeof c[1]=="string"&&(c[1]=r(c[1])),super.open.apply(this,c)}}const i=Image,a=Object.getOwnPropertyDescriptor(HTMLImageElement.prototype,"src");function l(u,c){const f=arguments.length===2?new i(u,c):arguments.length===1?new i(u):new i;return a&&a.set&&Object.defineProperty(f,"src",{get(){return a.get.call(this)},set(h){a.set.call(this,typeof h=="string"?r(h):h)},configurable:!0}),f}globalThis.__nuxtScripts={sendBeacon:(u,c)=>t(r(u),c),fetch:(u,c)=>n(typeof u=="string"?r(u):u,c),XMLHttpRequest:o,Image:l}}}),Vo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),ag=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Is=e=>{const t=Ae();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vo(()=>e())}):Vo(()=>e())},lg=vt({name:"nuxt:payload",setup(e){const t=new Set;_t().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Ya(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),Is(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Ya(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Di,1e3)})}}),cg=vt(()=>{const e=_t();Is(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),ug=vt(e=>{let t;async function n(){let r;try{r=await Di()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,$a);try{const s=await $fetch(Oi("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Is(()=>{t=setTimeout(n,$a)})});function fg(e={}){const t=e.path||window.location.pathname;let n={};try{n=rs(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ae().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const hg=vt({name:"nuxt:chunk-reload",setup(e){const t=_t(),n=Bn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=on(n.app.baseURL,o.fullPath);fg({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),dg=vt({name:"nuxt:global-components"}),pg=vt(()=>{}),gg=[J0,ng,og,ig,lg,cg,ug,hg,dg,pg],mg=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},yg={},bg={class:"n-badge"};function wg(e,t){return D(),W("span",bg,[Yr(e.$slots,"default")])}const _g=Object.assign(mg(yg,[["render",wg]]),{__name:"NBadge"}),Gu={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(t,n)=>(D(),W("div",{class:Pe(["n-icon",e.icon])},null,2))}};async function Uu(e,t=_t()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Uu(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const vg=(...e)=>e.find(t=>t!==void 0);function Cg(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return Pr(o,l);const u="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Pr(u,l)}}function s(o){const i=_t(),a=Bn(),l=De(()=>!!o.target&&o.target!=="_self"),u=De(()=>{const v=o.to||o.href||"";return typeof v=="string"&&Ut(v,{acceptRelative:!0})}),c=To("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,h=De(()=>{if(o.external)return!0;const v=o.to||o.href||"";return typeof v=="object"?!1:v===""||u.value}),d=De(()=>{const v=o.to||o.href||"";return h.value?v:r(v,i.resolve,o.trailingSlash)}),p=h.value?void 0:f?.({...o,to:d}),g=De(()=>{const v=o.trailingSlash??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(h.value){const _=typeof d.value=="object"&&"path"in d.value?$o(d.value):d.value,x=typeof _=="object"?i.resolve(_).href:_;return Pr(x,v)}return typeof d.value=="object"?i.resolve(d.value)?.href??null:Pr(on(a.app.baseURL,d.value),v)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:h,href:g,isActive:p?.isActive??De(()=>d.value===i.currentRoute.value.path),isExactActive:p?.isExactActive??De(()=>d.value===i.currentRoute.value.path),route:p?.route??De(()=>i.resolve(d.value)),async navigate(v){await Tu(g.value,{replace:o.replace,external:h.value||l.value})}}}return It({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},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=_t(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:h,isAbsoluteUrl:d}=s(o),p=Eo(!1),g=ze(null),v=m=>{g.value=o.custom?m?.$el?.nextElementSibling:m?.$el};function _(m){return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:o.prefetchOn?.[m]??e.prefetchOn?.[m])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!kg()}async function x(m=Ae()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?$o(l.value):a.resolve(l.value).fullPath,b=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",b).catch(()=>{}),!f.value&&!h.value&&Uu(l.value,a).catch(()=>{})])}if(_("visibility")){const m=Ae();let w,b=null;Ec(()=>{const k=xg();Is(()=>{w=Vo(()=>{g?.value?.tagName&&(b=k.observe(g.value,async()=>{b?.(),b=null,await x(m)}))})})}),Ri(()=>{w&&ag(w),b?.(),b=null})}return()=>{if(!f.value&&!h.value&&!n(l.value)){const b={ref:v,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")&&(b.onPointerenter=x.bind(null,void 0),b.onFocus=x.bind(null,void 0)),p.value&&(b.class=o.prefetchedClass||e.prefetchedClass),b.rel=o.rel||void 0),ur(To("RouterLink"),b,i.default)}const m=o.target||null,w=vg(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:u.value,navigate:c,prefetch:x,get route(){if(!u.value)return;const b=new URL(u.value,window.location.href);return{path:b.pathname,fullPath:b.pathname,get query(){return Ls(b.search)},hash:b.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:w,target:m,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:ur("a",{ref:g,href:u.value||null,rel:w,target:m,onClick:async b=>{if(!(f.value||h.value)){b.preventDefault();try{const k=Mu(u.value);return await(o.replace?a.replace(k):a.push(k))}finally{if(n(l.value)){const k=l.value.slice(1);let L=k;try{L=decodeURIComponent(k)}catch{}document.getElementById(L)?.focus()}}}}},i.default?.())}}})}const $u=Cg(Dp);function Pr(e,t){const n=t==="append"?ss:Pi;return Ut(e)&&!e.startsWith("http")?e:n(e,!0)}function xg(){const e=Ae();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const Sg=/2g/;function kg(){const e=navigator.connection;return!!(e&&(e.saveData||Sg.test(e.effectiveType)))}const Ag={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Eg={__name:"NLink",props:{to:{type:String,required:!1},href:{type:String,required:!1},target:{type:String,required:!1},underline:{type:Boolean,required:!1}},setup(e){const t=e,n=De(()=>t.href||t.to);return(r,s)=>{const o=$u;return D(),et(o,ou(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":void 0}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:Fe(()=>[Yr(r.$slots,"default"),n.value&&e.target==="_blank"?(D(),W("div",Ag)):Be("",!0)]),_:3},16,["class"])}}},Rg=It({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()=>ur(e.to?$u:"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(" ")},{default:()=>[Yr(n,"icon",{},()=>e.icon?[ur(Gu,{icon:e.icon,class:n.default?"n-button-icon":""})]:[]),Yr(n,"default")]})}}),Tg={class:"flex items-center gap-2"},Mg={class:"capitalize text-sm"},Lg=It({__name:"ScriptStatus",props:{status:{},error:{}},setup(e){const t=e,n=De(()=>t.error?t.error==="TypeError: Failed to fetch"?"CORS Error":t.error:t.status||"unknown"),r=De(()=>{if(t.error)return"bg-red-500";switch(t.status){case"loaded":return"bg-green-500";case"loading":return"bg-blue-500";case"awaitingLoad":return"bg-yellow-500";case"error":return"bg-red-500";default:return"bg-gray-400"}});return(s,o)=>(D(),W("div",Tg,[P("div",{class:Pe(["w-2 h-2 rounded-full",q(r)])},null,2),P("span",Mg,ie(q(n)),1)]))}}),Pg=Object.assign(Lg,{__name:"ScriptStatus"}),Ig={key:0,title:"kb Size"},Ng={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium bg-neutral-700 text-neutral-300 rounded-full"},Og=It({__name:"ScriptSize",props:{size:{}},setup(e){return(t,n)=>e.size?(D(),W("div",Ig,[P("div",Ng,ie(e.size),1)])):Be("",!0)}}),Bg=Object.assign(Og,{__name:"ScriptSize"}),Fg={class:"inline-flex items-center px-2 py-0.5 text-xs font-medium m bg-neutral-700 text-green-300 rounded-full"},Hg=It({__name:"ScriptLoadTime",props:{loadTime:{}},setup(e){return(t,n)=>(D(),W("div",null,[P("div",Fg,ie(e.loadTime),1)]))}}),Dg=Object.assign(Hg,{__name:"ScriptLoadTime"}),jg="modulepreload",Gg=function(e,t){return new URL(e,t).href},Qa={},vn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=Gg(c,r),c in Qa)return;Qa[c]=!0;const f=c.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":jg,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,g)=>{d.addEventListener("load",p),d.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)})};var me=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Ug(e){return Gi(e)}function Gi(e){return Array.isArray(e)?$g(e):e instanceof RegExp?e:typeof e=="object"?zg(e):e}function $g(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Gi(e[n]);return t}function zg(e){let t={};for(let n in e)t[n]=Gi(e[n]);return t}function zu(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Wu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Wu(e.substring(0,e.length-1)):e.substr(~t+1)}var lo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ir=class{static hasCaptures(e){return e===null?!1:(lo.lastIndex=0,lo.test(e))}static replaceCaptures(e,t,n){return e.replace(lo,(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 Vu(e,t){return e<t?-1:e>t?1:0}function qu(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=Vu(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function el(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 Ku(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Xu=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},ls=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(qg(e),t)}static createFromParsedTheme(e,t){return Xg(e,t)}_cachedMatchRoot=new Xu(e=>this._root.match(e));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=>Wg(e.parent,s.parentScopes));return r?new Zu(r.fontStyle,r.foreground,r.background):null}},co=class $r{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new $r(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new $r(n,t[r]);return n}push(t){return new $r(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 Wg(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&&!Vg(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Vg(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Zu=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function qg(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 h=0,d=f.length;h<d;h++)switch(f[h]){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 u=null;typeof i.settings.foreground=="string"&&el(i.settings.foreground)&&(u=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&el(i.settings.background)&&(c=i.settings.background);for(let f=0,h=a.length;f<h;f++){let p=a[f].trim().split(" "),g=p[p.length-1],v=null;p.length>1&&(v=p.slice(0,p.length-1),v.reverse()),n[r++]=new Kg(g,v,s,l,u,c)}}return n}var Kg=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}},Ne=(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))(Ne||{});function Xg(e,t){e.sort((l,u)=>{let c=Vu(l.scope,u.scope);return c!==0||(c=qu(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.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 Zg(t),i=new Zu(n,o.getId(r),o.getId(s)),a=new Yg(new qo(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];a.insert(0,c.scope,c.parentScopes,c.fontStyle,o.getId(c.foreground),o.getId(c.background))}return new ls(o,i,a)}var Zg=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){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)}},Jg=Object.freeze([]),qo=class Ju{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||Jg,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new Ju(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)}},Yg=class Ko{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;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(Ko._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,u;a===-1?(l=n,u=""):(l=n.substring(0,a),u=n.substring(a+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new Ko(this._mainRule.clone(),qo.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,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(qu(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 qo(t,n,r,s,o))}},Fn=class Ye{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=Ye.getLanguageId(t),r=Ye.getTokenType(t),s=Ye.getFontStyle(t),o=Ye.getForeground(t),i=Ye.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=Ye.getLanguageId(t),u=Ye.getTokenType(t),c=Ye.containsBalancedBrackets(t)?1:0,f=Ye.getFontStyle(t),h=Ye.getForeground(t),d=Ye.getBackground(t);return n!==0&&(l=n),r!==8&&(u=r),s!==null&&(c=s?1:0),o!==-1&&(f=o),i!==0&&(h=i),a!==0&&(d=a),(l<<0|u<<8|c<<10|f<<11|h<<15|d<<24)>>>0}};function cs(e,t){const n=[],r=Qg(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 u=i();if(n.push({matcher:u,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return u=>!!l&&!l(u)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(tl(s)){const l=[];do l.push(s),s=r.next();while(tl(s));return u=>t(l,u)}return null}function i(){const l=[];let u=o();for(;u;)l.push(u),u=o();return c=>l.every(f=>f(c))}function a(){const l=[];let u=i();for(;u&&(l.push(u),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");u=i()}return c=>l.some(f=>f(c))}}function tl(e){return!!e&&!!e.match(/[\w\.:]+/)}function Qg(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 Yu(e){typeof e.dispose=="function"&&e.dispose()}var hr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},e2=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},t2=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},n2=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new hr(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new t2;for(const n of e)r2(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof hr){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 r2(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 hr?zr({baseGrammar:o,selfGrammar:s},r):Xo(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 hr(a))}function Xo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];us([r],t,n)}}function zr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&us(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&us(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function us(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?zu({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&us(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=Qu(o);switch(i.kind){case 0:zr({...t,selfGrammar:t.baseGrammar},n);break;case 1:zr(t,n);break;case 2:Xo(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?Xo(i.ruleName,l,n):zr(l,n)}else i.kind===4?n.add(new e2(i.scopeName,i.ruleName)):n.add(new hr(i.scopeName));break}}}var s2=class{kind=0},o2=class{kind=1},i2=class{constructor(e){this.ruleName=e}kind=2},a2=class{constructor(e){this.scopeName=e}kind=3},l2=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Qu(e){if(e==="$base")return new s2;if(e==="$self")return new o2;const t=e.indexOf("#");if(t===-1)return new a2(e);if(t===0)return new i2(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new l2(n,r)}}var c2=/\\(\d+)/,nl=/\\(\d+)/g,u2=-1,ef=-2;var _r=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ir.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ir.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Wu(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:Ir.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ir.replaceCaptures(this._contentName,e,t)}},f2=class extends _r{retokenizeCapturedWithRuleId;constructor(e,t,n,r,s){super(e,t,n,r),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},h2=class extends _r{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new dr(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new pr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},rl=class extends _r{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,r),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new pr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Zo=class extends _r{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s,o,i,a,l,u){super(e,t,n,r),this._begin=new dr(s,this.id),this.beginCaptures=o,this._end=new dr(i||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new pr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},fs=class extends _r{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,s,o,i,a,l){super(e,t,n,r),this._begin=new dr(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new dr(i,ef),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new pr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new pr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},tf=class Le{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new f2(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new h2(t.$vscodeTextmateLocation,t.id,t.name,t.match,Le._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=zu({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new rl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Le._compilePatterns(o,n,r))}return t.while?new fs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Le._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Le._compileCaptures(t.whileCaptures||t.captures,n,r),Le._compilePatterns(t.patterns,n,r)):new Zo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Le._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Le._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Le._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=Le.getCompiledRuleId(t[i],n,r)),s[a]=Le.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 u=Qu(a.include);switch(u.kind){case 0:case 1:l=Le.getCompiledRuleId(r[a.include],n,r);break;case 2:let c=r[u.ruleName];c&&(l=Le.getCompiledRuleId(c,n,r));break;case 3:case 4:const f=u.scopeName,h=u.kind===4?u.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let p=d.repository[h];p&&(l=Le.getCompiledRuleId(p,n,d.repository))}else l=Le.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=Le.getCompiledRuleId(a,n,r);if(l!==-1){const u=n.getRule(l);let c=!1;if((u instanceof rl||u instanceof Zo||u instanceof fs)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},dr=class nf{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){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 u=t.charAt(a+1);u==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(u==="A"||u==="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=c2.test(this.source):this.hasBackReferences=!1}clone(){return new nf(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 nl.lastIndex=0,this.source.replace(nl,(s,o)=>Ku(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}},pr=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(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 sl(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 sl(e,r,this._items.map(s=>s.ruleId))}},sl=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;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(`
|
|
5
|
+
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},uo=class{constructor(e,t){this.languageId=e,this.tokenType=t}},d2=class Jo{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new uo(t,8),this._embeddedLanguagesMatcher=new p2(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Jo._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new uo(0,0);_getBasicScopeAttributes=new Xu(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new uo(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Jo.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!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},p2=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Ku(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])}},ol=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function rf(e,t,n,r,s,o,i,a){const l=t.content.length;let u=!1,c=-1;if(i){const d=g2(e,t,n,r,s,o);s=d.stack,r=d.linePos,n=d.isFirstLine,c=d.anchorPosition}const f=Date.now();for(;!u;){if(a!==0&&Date.now()-f>a)return new ol(s,!0);h()}return new ol(s,!1);function h(){const d=m2(e,t,n,r,s,c);if(!d){o.produce(s,l),u=!0;return}const p=d.captureIndices,g=d.matchedRuleId,v=p&&p.length>0?p[0].end>r:!1;if(g===u2){const _=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),Zn(e,t,n,s,o,_.endCaptures,p),o.produce(s,p[0].end);const x=s;if(s=s.parent,c=x.getAnchorPos(),!v&&x.getEnterPos()===r){s=x,o.produce(s,l),u=!0;return}}else{const _=e.getRule(g);o.produce(s,p[0].start);const x=s,m=_.getName(t.content,p),w=s.contentNameScopesList.pushAttributed(m,e);if(s=s.push(g,r,c,p[0].end===l,null,w,w),_ instanceof Zo){const b=_;Zn(e,t,n,s,o,b.beginCaptures,p),o.produce(s,p[0].end),c=p[0].end;const k=b.getContentName(t.content,p),L=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(L),b.endHasBackReferences&&(s=s.withEndRule(b.getEndWithResolvedBackReferences(t.content,p))),!v&&x.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(_ instanceof fs){const b=_;Zn(e,t,n,s,o,b.beginCaptures,p),o.produce(s,p[0].end),c=p[0].end;const k=b.getContentName(t.content,p),L=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(L),b.whileHasBackReferences&&(s=s.withEndRule(b.getWhileWithResolvedBackReferences(t.content,p))),!v&&x.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(Zn(e,t,n,s,o,_.captures,p),o.produce(s,p[0].end),s=s.pop(),!v){s=s.safePop(),o.produce(s,l),u=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function g2(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const u=l.getRule(e);u instanceof fs&&a.push({rule:u,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:u,findOptions:c}=w2(l.rule,e,l.stack.endRule,n,r===i),f=u.findNextMatchSync(t,r,c);if(f){if(f.ruleId!==ef){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),Zn(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 m2(e,t,n,r,s,o){const i=y2(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=b2(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const u=i.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:i}function y2(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=sf(i,e,s.endRule,n,r===o),u=a.findNextMatchSync(t,r,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function b2(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,u,c=0;const f=o.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const p=e[h];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:v,findOptions:_}=sf(g,t,null,r,s===i),x=v.findNextMatchSync(n,s,_);if(!x)continue;const m=x.captureIndices[0].start;if(!(m>=a)&&(a=m,l=x.captureIndices,u=x.ruleId,c=p.priority,a===s))break}return l?{priorityMatch:c===-1,captureIndices:l,matchedRuleId:u}:null}function sf(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function w2(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function Zn(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),u=[],c=i[0].end;for(let f=0;f<l;f++){const h=o[f];if(h===null)continue;const d=i[f];if(d.length===0)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?s.produceFromScopes(u[u.length-1].scopes,d.start):s.produce(r,d.start),h.retokenizeCapturedWithRuleId){const g=h.getName(a,i),v=r.contentNameScopesList.pushAttributed(g,e),_=h.getContentName(a,i),x=v.pushAttributed(_,e),m=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,v,x),w=e.createOnigString(a.substring(0,d.end));rf(e,w,n&&d.start===0,d.start,m,s,!1,0),Yu(w);continue}const p=h.getName(a,i);if(p!==null){const v=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);u.push(new _2(v,d.end))}}for(;u.length>0;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var _2=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function v2(e,t,n,r,s,o,i,a){return new x2(e,t,n,r,s,o,i,a)}function il(e,t,n,r,s){const o=cs(t,hs),i=tf.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 hs(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(C2(t[s],r))return n=s+1,!0;return!1})}function C2(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 x2=class{constructor(e,t,n,r,s,o,i,a){if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new d2(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=al(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const u=cs(l,hs);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:s[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;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)il(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&&il(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]=al(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=tf.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===Yo.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),f=Fn.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),h=this.getRule(this._rootId).getName(null,null);let d;h?d=rr.createRootAndLookUpScopeName(h,f,this):d=rr.createRoot("unknown",f),t=new Yo(null,this._rootId,-1,-1,!1,null,d,d)}else s=!1,t.reset();e=e+`
|
|
6
|
+
`;const o=this.createOnigString(e),i=o.content.length,a=new k2(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=rf(this,o,s,0,t,a,!0,r);return Yu(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function al(e,t){return e=Ug(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 rr=class ht{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=t?.scopePath??null;for(const o of n)s=co.push(s,o.scopeNames),r=new ht(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new ht(null,new co(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new co(null,t),i=r.themeProvider.themeMatch(o),a=ht.mergeAttributes(n,s,i);return new ht(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return ht.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),Fn.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return ht._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=ht._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=ht.mergeAttributes(t.tokenAttributes,s,i);return new ht(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},Yo=class Kt{constructor(t,n,r,s,o,i,a,l){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}_stackElementBrand=void 0;static NULL=new Kt(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Kt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?rr.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(){Kt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new Kt(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){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.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 Kt(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(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=rr.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Kt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,rr.fromExtension(r,n.contentNameScopesList))}},S2=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):cs(n,hs).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>cs(n,hs).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}},k2=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=e?.getScopeNames()??[];for(const i of this._tokenTypeOverrides)i.matcher(o)&&(r=Fn.set(r,0,i.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=Fn.set(r,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=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}},A2=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;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,v2(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},E2=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new A2(ls.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(ls.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 S2(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new n2(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)}},Qo=Yo.NULL;function ds(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[s,o]of Object.entries(t?.colorReplacements||{}))typeof o=="string"?n[s]=o:s===r&&Object.assign(n,o);return n}function Gt(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function R2(e){return Array.isArray(e)?e:[e]}async function of(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Ns(e){return!e||["plaintext","txt","text","plain"].includes(e)}function T2(e){return e==="ansi"||Ns(e)}function Os(e){return e==="none"}function M2(e){return Os(e)}function Bs(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(/(\r?\n)/g);let r=0;const s=[];for(let o=0;o<n.length;o+=2){const i=t?n[o]+(n[o+1]||""):n[o];s.push([i,r]),r+=n[o].length,r+=n[o+1]?.length||0}return s}const ll={light:"#333333",dark:"#bbbbbb"},cl={light:"#fffffe",dark:"#1e1e1e"},ul="__shiki_resolved";function Ui(e){if(e?.[ul])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?ll.light:ll.dark),n||(n=t.type==="light"?cl.light:cl.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let s=0;const o=new Map;function i(a){if(o.has(a))return o.get(a);s+=1;const l=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(o.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),u=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!u)return a;const c={...a,settings:{...a.settings}};if(l){const f=i(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,c.settings.foreground=f}if(u){const f=i(a.settings.background);t.colorReplacements[f]=a.settings.background,c.settings.background=f}return c});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,ul,{enumerable:!1,writable:!1,value:!0}),t}async function af(e){return Array.from(new Set((await Promise.all(e.filter(t=>!T2(t)).map(async t=>await of(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function lf(e){return(await Promise.all(e.map(async t=>M2(t)?null:Ui(await of(t))))).filter(t=>!!t)}function cf(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new me(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return e}var L2=class extends E2{_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Ui(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=ls.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=cf(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(s=>{this._alias[s]=e.name}),this._loadedLanguagesCache=null,t.size)for(const s of t)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=Array.from(this._langGraph.entries()),n=t.filter(([r,s])=>!s);if(n.length){const r=t.filter(([s,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(i=>n.map(([a])=>a).includes(i)):!1).filter(s=>!n.includes(s));throw new me(`Missing languages ${n.map(([s])=>`\`${s}\``).join(", ")}, required by ${r.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[r,s]of t)this._resolver.addLanguage(s);for(const[r,s]of t)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},P2=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const s=t.slice(0,r).join(".");n=[...n,...this._injections.get(s)||[]]}return n}};let qn=0;function I2(e){qn+=1,e.warnings!==!1&&qn>=10&&qn%10===0&&console.warn(`[Shiki] ${qn} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new me("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Ui),s=new L2(new P2(e.engine,n),r,n,e.langAlias);let o;function i(x){return cf(x,e.langAlias)}function a(x){v();const m=s.getGrammar(typeof x=="string"?x:x.name);if(!m)throw new me(`Language \`${x}\` not found, you may need to load it first`);return m}function l(x){if(x==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};v();const m=s.getTheme(x);if(!m)throw new me(`Theme \`${x}\` not found, you may need to load it first`);return m}function u(x){v();const m=l(x);return o!==x&&(s.setTheme(m),o=x),{theme:m,colorMap:s.getColorMap()}}function c(){return v(),s.getLoadedThemes()}function f(){return v(),s.getLoadedLanguages()}function h(...x){v(),s.loadLanguages(x.flat(1))}async function d(...x){return h(await af(x))}function p(...x){v();for(const m of x.flat(1))s.loadTheme(m)}async function g(...x){return v(),p(await lf(x))}function v(){if(t)throw new me("Shiki instance has been disposed")}function _(){t||(t=!0,s.dispose(),qn-=1)}return{setTheme:u,getTheme:l,getLanguage:a,getLoadedThemes:c,getLoadedLanguages:f,resolveLangAlias:i,loadLanguage:d,loadLanguageSync:h,loadTheme:g,loadThemeSync:p,dispose:_,[Symbol.dispose]:_}}async function N2(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([lf(e.themes||[]),af(e.langs||[]),e.engine]);return I2({...e,themes:t,langs:n,engine:r})}const uf=new WeakMap;function Fs(e,t){uf.set(e,t)}function gr(e){return uf.get(e)}var Hs=class ff{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new ff(Object.fromEntries(R2(n).map(r=>[r,Qo])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,s]=t;this.lang=r,this._stacks={[s]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return O2(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function O2(e){const t=[],n=new Set;function r(s){if(n.has(s))return;n.add(s);const o=s?.nameScopesList?.scopeName;o&&t.push(o),s.parent&&r(s.parent)}return r(e),t}function B2(e,t){if(!(e instanceof Hs))throw new me("Invalid grammar state");return e.getInternalStack(t)}function hf(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(Ns(e.resolveLangAlias(n.lang||"text"))||Os(r))return Bs(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:s,colorMap:o}=e.setTheme(r),i=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==i.name)throw new me(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(!n.grammarState.themes.includes(s.name))throw new me(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return H2(t,i,s,o,n)}function F2(...e){if(e.length===2)return gr(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(Ns(s)||Os(o))throw new me("Plain language does not have grammar state");if(s==="ansi")throw new me("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(o),l=t.getLanguage(s);return new Hs($i(n,l,i,a,r).stateStack,l.name,i.name)}function H2(e,t,n,r,s){const o=$i(e,t,n,r,s),i=new Hs(o.stateStack,t.name,n.name);return Fs(o.tokens,i),o.tokens}function $i(e,t,n,r,s){const o=ds(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=Bs(e);let u=s.grammarState?B2(s.grammarState,n.name)??Qo:s.grammarContextCode!=null?$i(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:Qo,c=[];const f=[];for(let h=0,d=l.length;h<d;h++){const[p,g]=l[h];if(p===""){c=[],f.push([]);continue}if(i>0&&p.length>=i){c=[],f.push([{content:p,offset:g,color:"",fontStyle:0}]);continue}let v,_,x;s.includeExplanation&&(v=t.tokenizeLine(p,u,a),_=v.tokens,x=0);const m=t.tokenizeLine2(p,u,a),w=m.tokens.length/2;for(let b=0;b<w;b++){const k=m.tokens[2*b],L=b+1<w?m.tokens[2*b+2]:p.length;if(k===L)continue;const U=m.tokens[2*b+1],z=Gt(r[Fn.getForeground(U)],o),N=Fn.getFontStyle(U),te={content:p.substring(k,L),offset:g+k,color:z,fontStyle:N};if(s.includeExplanation){const Y=[];if(s.includeExplanation!=="scopeName")for(const oe of n.settings){let A;switch(typeof oe.scope){case"string":A=oe.scope.split(/,/).map(j=>j.trim());break;case"object":A=oe.scope;break;default:continue}Y.push({settings:oe,selectors:A.map(j=>j.split(/ /))})}te.explanation=[];let re=0;for(;k+re<L;){const oe=_[x],A=p.substring(oe.startIndex,oe.endIndex);re+=A.length,te.explanation.push({content:A,scopes:s.includeExplanation==="scopeName"?D2(oe.scopes):j2(Y,oe.scopes)}),x+=1}}c.push(te)}f.push(c),c=[],u=m.ruleStack}return{tokens:f,stateStack:u}}function D2(e){return e.map(t=>({scopeName:t}))}function j2(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:U2(e,o,t.slice(0,r))}}return n}function fl(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function G2(e,t,n){if(!fl(e[e.length-1],t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)fl(e[r],n[s])&&(r-=1),s-=1;return r===-1}function U2(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if(G2(i,t,n)){r.push(o);break}return r}function df(e,t,n,r=hf){const s=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),o=s.map(u=>{const c=r(e,t,{...n,theme:u.theme});return{tokens:c,state:gr(c),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),i=$2(...o.map(u=>u.tokens)),a=i[0].map((u,c)=>u.map((f,h)=>{const d={content:f.content,variants:{},offset:f.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=f.explanation),i.forEach((p,g)=>{const{content:v,explanation:_,offset:x,...m}=p[c][h];d.variants[s[g].color]=m}),d})),l=o[0].state?new Hs(Object.fromEntries(o.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),o[0].state.lang):void 0;return l&&Fs(a,l),a}function $2(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,u)=>l.push(o[u]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(u=>u.content.length));for(let u=0;u<n;u++){const c=a[u];c.content.length===l?(o[u].push(c),i[u]+=1,a[u]=s[u][i[u]]):(o[u].push({...c,content:c.content.slice(0,l)}),a[u]={...c,content:c.content.slice(l),offset:c.offset+l})}}}return t}const z2=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}vr.prototype.normal={};vr.prototype.property={};vr.prototype.space=void 0;function pf(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new vr(n,r,t)}function ei(e){return e.toLowerCase()}class Ve{constructor(t,n){this.attribute=n,this.property=t}}Ve.prototype.attribute="";Ve.prototype.booleanish=!1;Ve.prototype.boolean=!1;Ve.prototype.commaOrSpaceSeparated=!1;Ve.prototype.commaSeparated=!1;Ve.prototype.defined=!1;Ve.prototype.mustUseProperty=!1;Ve.prototype.number=!1;Ve.prototype.overloadedBoolean=!1;Ve.prototype.property="";Ve.prototype.spaceSeparated=!1;Ve.prototype.space=void 0;let W2=0;const ne=cn(),Ce=cn(),ti=cn(),I=cn(),pe=cn(),Tn=cn(),Xe=cn();function cn(){return 2**++W2}const ni=Object.freeze(Object.defineProperty({__proto__:null,boolean:ne,booleanish:Ce,commaOrSpaceSeparated:Xe,commaSeparated:Tn,number:I,overloadedBoolean:ti,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),fo=Object.keys(ni);class zi extends Ve{constructor(t,n,r,s){let o=-1;if(super(t,n),hl(this,"space",s),typeof r=="number")for(;++o<fo.length;){const i=fo[o];hl(this,fo[o],(r&ni[i])===ni[i])}}}zi.prototype.defined=!0;function hl(e,t,n){n&&(e[t]=n)}function jn(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new zi(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ei(r)]=r,n[ei(o.attribute)]=r}return new vr(t,n,e.space)}const gf=jn({properties:{ariaActiveDescendant:null,ariaAtomic:Ce,ariaAutoComplete:null,ariaBusy:Ce,ariaChecked:Ce,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:Ce,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:Ce,ariaFlowTo:pe,ariaGrabbed:Ce,ariaHasPopup:null,ariaHidden:Ce,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:I,ariaLive:null,ariaModal:Ce,ariaMultiLine:Ce,ariaMultiSelectable:Ce,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ce,ariaReadOnly:Ce,ariaRelevant:null,ariaRequired:Ce,ariaRoleDescription:pe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ce,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 mf(e,t){return t in e?e[t]:t}function yf(e,t){return mf(e,t.toLowerCase())}const V2=jn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Tn,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ne,allowPaymentRequest:ne,allowUserMedia:ne,alt:null,as:null,async:ne,autoCapitalize:null,autoComplete:pe,autoFocus:ne,autoPlay:ne,blocking:pe,capture:null,charSet:null,checked:ne,cite:null,className:pe,cols:I,colSpan:null,content:null,contentEditable:Ce,controls:ne,controlsList:pe,coords:I|Tn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ne,defer:ne,dir:null,dirName:null,disabled:ne,download:ti,draggable:Ce,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ne,formTarget:null,headers:pe,height:I,hidden:ti,high:I,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:ne,inputMode:null,integrity:null,is:null,isMap:ne,itemId:null,itemProp:pe,itemRef:pe,itemScope:ne,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ne,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:ne,muted:ne,name:null,nonce:null,noModule:ne,noValidate:ne,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:ne,optimum:I,pattern:null,ping:pe,placeholder:null,playsInline:ne,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ne,referrerPolicy:null,rel:pe,required:ne,reversed:ne,rows:I,rowSpan:I,sandbox:pe,scope:null,scoped:ne,seamless:ne,selected:ne,shadowRootClonable:ne,shadowRootDelegatesFocus:ne,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ce,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:ne,useMap:null,value:Ce,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,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:ne,declare:ne,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:ne,noHref:ne,noShade:ne,noWrap:ne,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ce,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:ne,disableRemotePlayback:ne,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:yf}),q2=jn({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:Xe,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:pe,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:ne,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:Tn,g2:Tn,glyphName:Tn,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:Xe,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:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xe,rev:Xe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xe,requiredFeatures:Xe,requiredFonts:Xe,requiredFormats:Xe,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:Xe,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:Xe,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:Xe,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:mf}),bf=jn({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()}}),wf=jn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yf}),_f=jn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),K2=/[A-Z]/g,dl=/-[a-z]/g,X2=/^data[-\w.:]+$/i;function Z2(e,t){const n=ei(t);let r=t,s=Ve;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&X2.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(dl,Y2);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!dl.test(o)){let i=o.replace(K2,J2);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=zi}return new s(r,t)}function J2(e){return"-"+e.toLowerCase()}function Y2(e){return e.charAt(1).toUpperCase()}const Q2=pf([gf,V2,bf,wf,_f],"html"),vf=pf([gf,q2,bf,wf,_f],"svg"),pl={}.hasOwnProperty;function em(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&pl.call(s,e)){const l=String(s[e]);i=pl.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 tm=/["&'<>`]/g,nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rm=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,sm=/[|\\{}()[\]^$+*?.]/g,gl=new WeakMap;function om(e,t){if(e=e.replace(t.subset?im(t.subset):tm,r),t.subset||t.escapeOnly)return e;return e.replace(nm,n).replace(rm,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 im(e){let t=gl.get(e);return t||(t=am(e),gl.set(e,t)),t}function am(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(sm,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const lm=/[\dA-Fa-f]/;function cm(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!lm.test(String.fromCharCode(t))?r:r+";"}const um=/\d/;function fm(e,t,n){const r="&#"+String(e);return n&&t&&!um.test(String.fromCharCode(t))?r:r+";"}const hm=["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"],ho={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:"€"},dm=["cent","copy","divide","gt","lt","not","para","times"],Cf={}.hasOwnProperty,ri={};let Nr;for(Nr in ho)Cf.call(ho,Nr)&&(ri[ho[Nr]]=Nr);const pm=/[^\dA-Za-z]/;function gm(e,t,n,r){const s=String.fromCharCode(e);if(Cf.call(ri,s)){const o=ri[s],i="&"+o;return n&&hm.includes(o)&&!dm.includes(o)&&(!r||t&&t!==61&&pm.test(String.fromCharCode(t)))?i:i+";"}return""}function mm(e,t,n){let r=cm(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=gm(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=fm(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Mn(e,t){return om(e,Object.assign({format:mm},t))}const ym=/^>|^->|<!--|-->|--!>|<!-$/g,bm=[">"],wm=["<",">"];function _m(e,t,n,r){return r.settings.bogusComments?"<?"+Mn(e.value,Object.assign({},r.settings.characterReferences,{subset:bm}))+">":"<!--"+e.value.replace(ym,s)+"-->";function s(o){return Mn(o,Object.assign({},r.settings.characterReferences,{subset:wm}))}}function vm(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function ml(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 Cm(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function xm(e){return e.join(" ").trim()}const Sm=/[ \t\n\f\r]/g;function Wi(e){return typeof e=="object"?e.type==="text"?yl(e.value):!1:yl(e)}function yl(e){return e.replace(Sm,"")===""}const Se=Sf(1),xf=Sf(-1),km=[];function Sf(e){return t;function t(n,r,s){const o=n?n.children:km;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Wi(a);)i+=e,a=o[i];return a}}const Am={}.hasOwnProperty;function kf(e){return t;function t(n,r,s){return Am.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Vi=kf({body:Rm,caption:po,colgroup:po,dd:Pm,dt:Lm,head:po,html:Em,li:Mm,optgroup:Im,option:Nm,p:Tm,rp:bl,rt:bl,tbody:Bm,td:wl,tfoot:Fm,th:wl,thead:Om,tr:Hm});function po(e,t,n){const r=Se(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Wi(r.value.charAt(0)))}function Em(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Rm(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Tm(e,t,n){const r=Se(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 Mm(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Lm(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Pm(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function bl(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Im(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Nm(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Om(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Bm(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Fm(e,t,n){return!Se(n,t)}function Hm(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function wl(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Dm=kf({body:Um,colgroup:$m,head:Gm,html:jm,tbody:zm});function jm(e){const t=Se(e,-1);return!t||t.type!=="comment"}function Gm(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 Um(e){const t=Se(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Wi(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function $m(e,t,n){const r=xf(n,t),s=Se(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Vi(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function zm(e,t,n){const r=xf(n,t),s=Se(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Vi(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Or={name:[[`
|
|
7
|
+
\f\r &/=>`.split(""),`
|
|
8
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
9
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
10
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
11
|
+
\f\r &>`.split(""),`\0
|
|
12
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
13
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
14
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Wm(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=vf);const u=Vm(r,e.properties),c=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,c&&(i=!1),(u||!o||!Dm(e,t,n))&&(a.push("<",e.tagName,u?" "+u:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(c),!i&&(!o||!Vi(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function Vm(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=qm(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function qm(e,t,n){const r=Z2(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Mn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Or.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Cm:xm)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Mn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Or.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&ml(n,i)>ml(n,e.alternative)&&(i=e.alternative),a=i+Mn(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Or.single:Or.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const Km=["<","&"];function Af(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Mn(e.value,Object.assign({},r.settings.characterReferences,{subset:Km}))}function Xm(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Af(e,t,n,r)}function Zm(e,t,n,r){return r.all(e)}const Jm=em("type",{invalid:Ym,unknown:Qm,handlers:{comment:_m,doctype:vm,element:Wm,raw:Xm,root:Zm,text:Af}});function Ym(e){throw new Error("Expected node, not `"+e+"`")}function Qm(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const e3={},t3={},n3=[];function r3(e,t){const n=t||e3,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:s3,all:o3,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||z2,characterReferences:n.characterReferences||t3,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?vf:Q2,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function s3(e,t,n){return Jm(e,t,n,this)}function o3(e){const t=[],n=e&&e.children||n3;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Ef(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function i3(e){const t=Bs(e,!0).map(([s])=>s);function n(s){if(s===e.length)return{line:t.length-1,character:t[t.length-1].length};let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}const qi="light-dark()",a3=["color","background-color"];function l3(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function c3(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?l3(s,o):s})):e}function u3(e,t,n,r,s="css-vars"){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(c=>ps(e.variants[c])),a=new Set(i.flatMap(c=>Object.keys(c))),l={},u=(c,f)=>{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`;return n+t[c]+(f==="color"?"":h)};return i.forEach((c,f)=>{for(const h of a){const d=c[h]||"inherit";if(f===0&&r&&a3.includes(h))if(r===qi&&i.length>1){const p=t.findIndex(v=>v==="light"),g=t.findIndex(v=>v==="dark");if(p===-1||g===-1)throw new me('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[h]=`light-dark(${i[p][h]||"inherit"}, ${i[g][h]||"inherit"})`,s==="css-vars"&&(l[u(f,h)]=d)}else l[h]=d;else s==="css-vars"&&(l[u(f,h)]=d)}}),o.htmlStyle=l,o}function ps(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Ne.Italic&&(t["font-style"]="italic"),e.fontStyle&Ne.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Ne.Underline&&n.push("underline"),e.fontStyle&Ne.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function si(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function f3(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let s=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new me(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...r.indexToPos(i),offset:i}}else{const a=r.lines[i.line];if(a===void 0)throw new me(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${r.lines.length}`);let l=i.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new me(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,character:l,offset:r.posToIndex(i.line,l)}}};const r=i3(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:s(i.start),end:s(i.end)}));h3(o),e.set(n.meta,{decorations:o,converter:r,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return c3(n,t(this).decorations.flatMap(r=>[r.start.offset,r.end.offset]))},code(n){if(!this.options.decorations?.length)return;const r=t(this),s=Array.from(n.children).filter(c=>c.type==="element"&&c.tagName==="span");if(s.length!==r.converter.lines.length)throw new me(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(c,f,h,d){const p=s[c];let g="",v=-1,_=-1;if(f===0&&(v=0),h===0&&(_=0),h===Number.POSITIVE_INFINITY&&(_=p.children.length),v===-1||_===-1)for(let m=0;m<p.children.length;m++)g+=Rf(p.children[m]),v===-1&&g.length===f&&(v=m+1),_===-1&&g.length===h&&(_=m+1);if(v===-1)throw new me(`Failed to find start index for decoration ${JSON.stringify(d.start)}`);if(_===-1)throw new me(`Failed to find end index for decoration ${JSON.stringify(d.end)}`);const x=p.children.slice(v,_);if(!d.alwaysWrap&&x.length===p.children.length)a(p,d,"line");else if(!d.alwaysWrap&&x.length===1&&x[0].type==="element")a(x[0],d,"token");else{const m={type:"element",tagName:"span",properties:{},children:x};a(m,d,"wrapper"),p.children.splice(v,x.length,m)}}function i(c,f){s[c]=a(s[c],f,"line")}function a(c,f,h){const d=f.properties||{},p=f.transform||(g=>g);return c.tagName=f.tagName||"span",c.properties={...c.properties,...d,class:c.properties.class},f.properties?.class&&Ef(c,f.properties.class),c=p(c,h)||c,c}const l=[],u=r.decorations.sort((c,f)=>f.start.offset-c.start.offset||c.end.offset-f.end.offset);for(const c of u){const{start:f,end:h}=c;if(f.line===h.line)o(f.line,f.character,h.character,c);else if(f.line<h.line){o(f.line,f.character,Number.POSITIVE_INFINITY,c);for(let d=f.line+1;d<h.line;d++)l.unshift(()=>i(d,c));o(h.line,0,h.character,c)}}l.forEach(c=>c())}}}function h3(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new me(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const s=e[r],o=n.start.offset<=s.start.offset&&s.start.offset<n.end.offset,i=n.start.offset<s.end.offset&&s.end.offset<=n.end.offset,a=s.start.offset<=n.start.offset&&n.start.offset<s.end.offset,l=s.start.offset<n.end.offset&&n.end.offset<=s.end.offset;if(o||i||a||l){if(o&&i||a&&l||a&&n.start.offset===n.end.offset||i&&s.start.offset===s.end.offset)continue;throw new me(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(s.start)} intersect.`)}}}}function Rf(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Rf).join(""):""}const d3=[f3()];function gs(e){const t=p3(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...d3]}function p3(e){const t=[],n=[],r=[];for(const s of e)switch(s.enforce){case"pre":t.push(s);break;case"post":n.push(s);break;default:r.push(s)}return{pre:t,post:n,normal:r}}var Jt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],go={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function g3(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function _l(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function m3(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)go[r]&&t.push({type:"setDecoration",value:go[r]});else if(r<=29){const s=go[r-20];s&&(t.push({type:"resetDecoration",value:s}),s==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Jt[r-30]}});else if(r===38){const s=_l(e);s&&t.push({type:"setForegroundColor",value:s})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Jt[r-40]}});else if(r===48){const s=_l(e);s&&t.push({type:"setBackgroundColor",value:s})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Jt[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Jt[r-100+8]}})}return t}function y3(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=g3(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=m3(i.sequence);for(const u of l)u.type==="resetAll"?(e=null,t=null,n.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of l)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&n.add(u.value)}o=i.position}while(o<r.length);return s}}}var b3={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function w3(e=b3){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let u=0;u<Jt.length;u++)r.push(t(Jt[u]));let a=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let c=0;c<6;c++)for(let f=0;f<6;f++)r.push(n([a[u],a[c],a[f]]));let l=8;for(let u=0;u<24;u++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}const _3={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function v3(e,t,n){const r=ds(e,n),s=Bs(t),o=w3(Object.fromEntries(Jt.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||_3[a]]}))),i=y3();return s.map(a=>i.parse(a[0]).map(l=>{let u,c;l.decorations.has("reverse")?(u=l.background?o.value(l.background):e.bg,c=l.foreground?o.value(l.foreground):e.fg):(u=l.foreground?o.value(l.foreground):e.fg,c=l.background?o.value(l.background):void 0),u=Gt(u,r),c=Gt(c,r),l.decorations.has("dim")&&(u=C3(u));let f=Ne.None;return l.decorations.has("bold")&&(f|=Ne.Bold),l.decorations.has("italic")&&(f|=Ne.Italic),l.decorations.has("underline")&&(f|=Ne.Underline),l.decorations.has("strikethrough")&&(f|=Ne.Strikethrough),{content:l.value,offset:a[1],color:u,bgColor:c,fontStyle:f}}))}function C3(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const r=t[1];if(r.length===8){const s=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${s}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const s=r[0],o=r[1],i=r[2],a=r[3];return`#${s}${s}${o}${o}${i}${i}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const s=r[0],o=r[1],i=r[2];return`#${s}${s}${o}${o}${i}${i}80`}}}const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function oi(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:s=e.getLoadedThemes()[0]}=n;if(!Ns(r)&&!Os(s)&&r==="ansi"){const{theme:o}=e.setTheme(s);return v3(o,t,n)}return hf(e,t,n)}function ms(e,t,n){let r,s,o,i,a,l;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:f="css-vars"}=n,h=Object.entries(n.themes).filter(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,x)=>_.color===u?-1:x.color===u?1:0);if(h.length===0)throw new me("`themes` option must not be empty");const d=df(e,t,n,oi);if(l=gr(d),u&&qi!==u&&!h.find(_=>_.color===u))throw new me(`\`themes\` option must contain the defaultColor key \`${u}\``);const p=h.map(_=>e.getTheme(_.theme)),g=h.map(_=>_.color);o=d.map(_=>_.map(x=>u3(x,g,c,u,f))),l&&Fs(o,l);const v=h.map(_=>ds(_.theme,n));s=vl(h,p,v,c,u,"fg",f),r=vl(h,p,v,c,u,"bg",f),i=`shiki-themes ${p.map(_=>_.name).join(" ")}`,a=u?void 0:[s,r].join(";")}else if("theme"in n){const u=ds(n.theme,n);o=oi(e,t,n);const c=e.getTheme(n.theme);r=Gt(c.bg,u),s=Gt(c.fg,u),i=c.name,l=gr(o)}else throw new me("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a,grammarState:l}}function vl(e,t,n,r,s,o,i){return e.map((a,l)=>{const u=Gt(t[l][o],n[l])||"inherit",c=`${r+a.color}${o==="bg"?"-bg":""}:${u}`;if(l===0&&s){if(s===qi&&e.length>1){const f=e.findIndex(d=>d.color==="light"),h=e.findIndex(d=>d.color==="dark");if(f===-1||h===-1)throw new me('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Gt(t[f][o],n[f])||"inherit"}, ${Gt(t[h][o],n[h])||"inherit"});${c}`}return u}return i==="css-vars"?c:null}).filter(a=>!!a).join(";")}function ys(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>ys(e,s,o),codeToTokens:(s,o)=>ms(e,s,o)}){let s=t;for(const p of gs(n))s=p.preprocess?.call(r,s,n)||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:u,grammarState:c}=ms(e,s,n);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:h=!1}=n;f===!0?o=S3(o):f==="never"&&(o=k3(o)),h&&(o=A3(o));const d={...r,get source(){return s}};for(const p of gs(n))o=p.tokens?.call(d,o)||o;return x3(o,{...n,fg:i,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??u},d,c)}function x3(e,t,n,r=gr(e)){const s=gs(t),o=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,u={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(u.tabindex=l.toString());for(const[g,v]of Object.entries(t.meta||{}))g.startsWith("_")||(u[g]=v);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},f={type:"element",tagName:"code",properties:{},children:o};const h=[],d={...n,structure:a,addClassToHast:Ef,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return c},get code(){return f},get lines(){return h}};if(e.forEach((g,v)=>{v&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&o.push({type:"text",value:`
|
|
15
|
+
`}));let _={type:"element",tagName:"span",properties:{class:"line"},children:[]},x=0;for(const m of g){let w={type:"element",tagName:"span",properties:{...m.htmlAttrs},children:[{type:"text",value:m.content}]};const b=si(m.htmlStyle||ps(m));b&&(w.properties.style=b);for(const k of s)w=k?.span?.call(d,w,v+1,x,_,m)||w;a==="inline"?i.children.push(w):a==="classic"&&_.children.push(w),x+=m.content.length}if(a==="classic"){for(const m of s)_=m?.line?.call(d,_,v+1)||_;h.push(_),o.push(_)}else a==="inline"&&h.push(_)}),a==="classic"){for(const g of s)f=g?.code?.call(d,f)||f;c.children.push(f);for(const g of s)c=g?.pre?.call(d,c)||c;i.children.push(c)}else if(a==="inline"){const g=[];let v={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const x of i.children)x.type==="element"&&x.tagName==="br"?(g.push(v),v={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(x.type==="element"||x.type==="text")&&v.children.push(x);g.push(v);let _={type:"element",tagName:"code",properties:{},children:g};for(const x of s)_=x?.code?.call(d,_)||_;i.children=[];for(let x=0;x<_.children.length;x++){x>0&&i.children.push({type:"element",tagName:"br",properties:{},children:[]});const m=_.children[x];m.type==="element"&&i.children.push(...m.children)}}let p=i;for(const g of s)p=g?.root?.call(d,p)||p;return r&&Fs(p,r),p}function S3(e){return e.map(t=>{const n=[];let r="",s;return t.forEach((o,i)=>{const a=!(o.fontStyle&&(o.fontStyle&Ne.Underline||o.fontStyle&Ne.Strikethrough));a&&o.content.match(/^\s+$/)&&t[i+1]?(s===void 0&&(s=o.offset),r+=o.content):r?(a?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=void 0,r=""):n.push(o)}),n})}function k3(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}function A3(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const s=n[n.length-1],o=si(s.htmlStyle||ps(s)),i=si(r.htmlStyle||ps(r)),a=s.fontStyle&&(s.fontStyle&Ne.Underline||s.fontStyle&Ne.Strikethrough),l=r.fontStyle&&(r.fontStyle&Ne.Underline||r.fontStyle&Ne.Strikethrough);!a&&!l&&o===i?s.content+=r.content:n.push({...r})}return n})}const E3=r3;function R3(e,t,n){const r={meta:{},options:n,codeToHast:(o,i)=>ys(e,o,i),codeToTokens:(o,i)=>ms(e,o,i)};let s=E3(ys(e,t,n,r));for(const o of gs(n))s=o.postprocess?.call(r,s,n)||s;return s}async function T3(e){const t=await N2(e);return{getLastGrammarState:(...n)=>F2(t,...n),codeToTokensBase:(n,r)=>oi(t,n,r),codeToTokensWithThemes:(n,r)=>df(t,n,r),codeToTokens:(n,r)=>ms(t,n,r),codeToHast:(n,r)=>ys(t,n,r),codeToHtml:(n,r)=>R3(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const Cl=4294967295;var M3=class{regexps;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:s}=t;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(o=>{if(typeof o!="string")return o;const i=r?.get(o);if(i){if(i instanceof RegExp)return i;if(n)return null;throw i}try{const a=s(o);return r?.set(o,a),a}catch(a){if(r?.set(o,a),n)return null;throw a}})}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,s=[];function o(i,a,l=0){return{index:i,captureIndices:a.indices.map(u=>u==null?{start:Cl,end:Cl,length:0}:{start:u[0]+l,end:u[1]+l,length:u[1]-u[0]})}}for(let i=0;i<this.regexps.length;i++){const a=this.regexps[i];if(a)try{a.lastIndex=t;const l=a.exec(r);if(!l)continue;if(l.index===t)return o(i,l,0);s.push([i,l,0])}catch(l){if(this.options.forgiving)continue;throw l}}if(s.length){const i=Math.min(...s.map(a=>a[1].index));for(const[a,l,u]of s)if(l.index===i)return o(a,l,u)}return null}};function Gn(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function L3(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const Ki=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),ke=String.raw;function Un(e,t){if(e==null)throw new Error(t??"Value expected");return e}const Tf=ke`\[\^?`,Mf=`c.? | C(?:-.?)?|${ke`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${ke`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${ke`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${ke`o\{[^\}]*\}?`}|${ke`\d{1,3}`}`,Xi=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Br=new RegExp(ke`
|
|
16
|
+
\\ (?:
|
|
17
|
+
${Mf}
|
|
18
|
+
| [gk]<[^>]*>?
|
|
19
|
+
| [gk]'[^']*'?
|
|
20
|
+
| .
|
|
21
|
+
)
|
|
22
|
+
| \( (?:
|
|
23
|
+
\? (?:
|
|
24
|
+
[:=!>({]
|
|
25
|
+
| <[=!]
|
|
26
|
+
| <[^>]*>
|
|
27
|
+
| '[^']*'
|
|
28
|
+
| ~\|?
|
|
29
|
+
| #(?:[^)\\]|\\.?)*
|
|
30
|
+
| [^:)]*[:)]
|
|
31
|
+
)?
|
|
32
|
+
| \*[^\)]*\)?
|
|
33
|
+
)?
|
|
34
|
+
| (?:${Xi.source})+
|
|
35
|
+
| ${Tf}
|
|
36
|
+
| .
|
|
37
|
+
`.replace(/\s+/g,""),"gsu"),mo=new RegExp(ke`
|
|
38
|
+
\\ (?:
|
|
39
|
+
${Mf}
|
|
40
|
+
| .
|
|
41
|
+
)
|
|
42
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
43
|
+
| ${Tf}
|
|
44
|
+
| &&
|
|
45
|
+
| .
|
|
46
|
+
`.replace(/\s+/g,""),"gsu");function P3(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=J3(n.flags),s=[r.extended],o={captureGroup:n.rules.captureGroup,getCurrentModX(){return s.at(-1)},numOpenGroups:0,popModX(){s.pop()},pushModX(f){s.push(f)},replaceCurrentModX(f){s[s.length-1]=f},singleline:n.rules.singleline};let i=[],a;for(Br.lastIndex=0;a=Br.exec(e);){const f=I3(o,e,a[0],Br.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(Br.lastIndex=f.lastIndex)}const l=[];let u=0;i.filter(f=>f.type==="GroupOpen").forEach(f=>{f.kind==="capturing"?f.number=++u:f.raw==="("&&l.push(f)}),u||l.forEach((f,h)=>{f.kind="capturing",f.number=h+1});const c=u||l.length;return{tokens:i.map(f=>f.type==="EscapedNumber"?Q3(f,c):f).flat(),flags:r}}function I3(e,t,n,r){const[s,o]=n;if(n==="["||n==="[^"){const i=N3(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(s==="\\"){if("AbBGyYzZ".includes(o))return{token:xl(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:z3(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Pf(n)}}if(o==="K")return{token:If("keep",n)};if(o==="N"||o==="R")return{token:Yt("newline",n,{negate:o==="N"})};if(o==="O")return{token:Yt("any",n)};if(o==="X")return{token:Yt("text_segment",n)};const i=Lf(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(s==="("){if(o==="*")return{token:K3(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:q3(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:yn("group",n)};if(n==="(?>")return{token:yn("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:yn(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:yn("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:yn("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:G3(n)}}if(e.getCurrentModX()){if(n==="#"){const i=t.indexOf(`
|
|
47
|
+
`,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}}if(n===".")return{token:Yt("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":ke`\A`,$:ke`\Z`}[n]:n;return{token:xl(i,n)}}return n==="|"?{token:B3(n)}:Xi.test(n)?{tokens:e4(n)}:{token:Tt(Gn(n),n)}}function N3(e,t,n){const r=[Sl(t[1]==="^",t)];let s=1,o;for(mo.lastIndex=n;o=mo.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(Sl(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Tt(93,i));else if(s--,r.push(F3(i)),!s)break}else{const a=O3(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:mo.lastIndex||e.length}}function O3(e){if(e[0]==="\\")return Lf(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Ki.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Yt("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?H3(e):e==="&&"?D3(e):Tt(Gn(e),e)}function Lf(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return V3(e);if("dDhHsSwW".includes(n))return X3(e);if(e.startsWith(ke`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Z3(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),o=new TextEncoder;return[...s].map(i=>{const a=[...o.encode(i)].map(l=>`\\x${l.toString(16)}`).join("");return Tt(Gn(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Tt(Y3(e),e);if(kl.has(n))return Tt(kl.get(n),e);if(/\d/.test(n))return j3(t,e);if(e==="\\")throw new Error(ke`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Tt(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function B3(e){return{type:"Alternator",raw:e}}function xl(e,t){return{type:"Assertion",kind:e,raw:t}}function Pf(e){return{type:"Backreference",raw:e}}function Tt(e,t){return{type:"Character",value:e,raw:t}}function F3(e){return{type:"CharacterClassClose",raw:e}}function H3(e){return{type:"CharacterClassHyphen",raw:e}}function D3(e){return{type:"CharacterClassIntersector",raw:e}}function Sl(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Yt(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function If(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Un(n.flags),raw:t}}function j3(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function G3(e){return{type:"GroupClose",raw:e}}function yn(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function U3(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function $3(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function z3(e){return{type:"Subroutine",raw:e}}const W3=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),kl=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function V3(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return Tt(Gn(t.toUpperCase())-64,e)}function q3(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const s=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),o=El(n),i=El(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),If("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(s),t.numOpenGroups++,yn("group",e,{...(o||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function K3(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:s}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const o=s?s.split(",").filter(c=>c!=="").map(c=>/^[+-]?\d+$/.test(c)?+c:c):[],[i,a,l]=o,u=W3.has(n)?n.toLowerCase():"custom";switch(u){case"fail":case"mismatch":case"skip":if(o.length>0)throw new Error(`Named callout arguments not allowed "${o}"`);break;case"error":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!o.length||o.length>2)throw new Error(`Named callout must have one or two arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(o.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(o.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(o.length!==3)throw new Error(`Named callout must have three arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${u}"`)}return U3(u,r??null,s?.split(",")??null,e)}function Al(e){let t=null,n,r;if(e[0]==="{"){const{minStr:s,maxStr:o}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,i=1e5;if(+s>i||o&&+o>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+s,r=o===void 0?+s:o===""?1/0:+o,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return $3(t,n,r,e)}function X3(e){const t=e[1].toLowerCase();return Yt({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function Z3(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Yt("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function El(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function J3(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function Y3(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function Q3(e,t){const{raw:n,inCharClass:r}=e,s=n.slice(1);if(!r&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=t))return[Pf(n)];const o=[],i=s.match(/^[0-7]+|\d/g);for(let a=0;a<i.length;a++){const l=i[a];let u;if(a===0&&l!=="8"&&l!=="9"){if(u=parseInt(l,8),u>127)throw new Error(ke`Octal encoded byte above 177 unsupported "${n}"`)}else u=Gn(l);o.push(Tt(u,(a===0?"\\":"")+l))}return o}function e4(e){const t=[],n=new RegExp(Xi,"gy");let r;for(;r=n.exec(e);){const s=r[0];if(s[0]==="{"){const o=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(s);if(o){const{min:i,max:a}=o.groups;if(+i>+a&&s.endsWith("?")){n.lastIndex--,t.push(Al(s.slice(0,-1)));continue}}}t.push(Al(s))}return t}function Nf(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function t4(e){return n4.has(e.type)}const n4=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function Of(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=P3(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),s=(h,d)=>{const p=r.tokens[o.nextIndex];switch(o.parent=h,o.nextIndex++,p.type){case"Alternator":return an();case"Assertion":return r4(p);case"Backreference":return s4(p,o);case"Character":return Ds(p.value,{useLastValid:!!d.isCheckingRangeEnd});case"CharacterClassHyphen":return o4(p,o,d);case"CharacterClassOpen":return i4(p,o,d);case"CharacterSet":return a4(p,o);case"Directive":return d4(p.kind,{flags:p.flags});case"GroupOpen":return l4(p,o,d);case"NamedCallout":return g4(p.kind,p.tag,p.arguments);case"Quantifier":return c4(p,o);case"Subroutine":return u4(p,o);default:throw new Error(`Unexpected token type "${p.type}"`)}},o={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:s},i=y4(p4(r.flags));let a=i.body[0];for(;o.nextIndex<r.tokens.length;){const h=s(a,{});h.type==="Alternative"?(i.body.push(h),a=h):a.body.push(h)}const{capturingGroups:l,hasNumberedRef:u,namedGroupsByName:c,subroutines:f}=o;if(u&&c.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:h}of f)if(typeof h=="number"){if(h>l.length)throw new Error("Subroutine uses a group number that's not defined");h&&(l[h-1].isSubroutined=!0)}else if(c.has(h)){if(c.get(h).length>1)throw new Error(ke`Subroutine uses a duplicate group name "\g<${h}>"`);c.get(h)[0].isSubroutined=!0}else throw new Error(ke`Subroutine uses a group name that's not defined "\g<${h}>"`);return i}function r4({kind:e}){return ii(Un({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===ke`\B`||e===ke`\Y`})}function s4({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),s=(o,i=!1)=>{const a=t.capturingGroups.length;let l=!1;if(o>a)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,ai(i?a+1-o:o,{orphan:l})};if(n){const o=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(o)return s(+o.groups.num,!!o.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return ai(r)}return s(+r)}function o4(e,t,n){const{tokens:r,walk:s}=t,o=t.parent,i=o.body.at(-1),a=r[t.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const l=s(o,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&l.type==="Character")return o.body.pop(),h4(i,l);throw new Error("Invalid character class range")}return Ds(Gn("-"))}function i4({negate:e},t,n){const{tokens:r,walk:s}=t,o=r[t.nextIndex],i=[Wr()];let a=Ml(o);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")i.push(Wr()),t.nextIndex++;else{const u=i.at(-1);u.body.push(s(u,n))}a=Ml(r[t.nextIndex],o)}const l=Wr({negate:e});return i.length===1?l.body=i[0].body:(l.kind="intersection",l.body=i.map(u=>u.body.length===1?u.body[0]:u)),t.nextIndex++,l}function a4({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i}=r;if(e==="property"){const a=js(n);if(Ki.has(a)&&!i?.has(a))e="posix",n=a;else return bn(n,{negate:t,normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i})}return e==="posix"?m4(n,{negate:t}):li(e,{negate:t})}function l4(e,t,n){const{tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,walk:a}=t,l=b4(e),u=l.type==="AbsenceFunction",c=Tl(l),f=c&&l.negate;if(l.type==="CapturingGroup"&&(s.push(l),l.name&&L3(o,l.name,[]).push(l)),u&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let h=Ll(r[t.nextIndex]);for(;h.type!=="GroupClose";){if(h.type==="Alternator")l.body.push(an()),t.nextIndex++;else{const d=l.body.at(-1),p=a(d,{...n,isInAbsenceFunction:n.isInAbsenceFunction||u,isInLookbehind:n.isInLookbehind||c,isInNegLookbehind:n.isInNegLookbehind||f});if(d.body.push(p),(c||n.isInLookbehind)&&!i){const g="Lookbehind includes a pattern not allowed by Oniguruma";if(f||n.isInNegLookbehind){if(Rl(p)||p.type==="CapturingGroup")throw new Error(g)}else if(Rl(p)||Tl(p)&&p.negate)throw new Error(g)}}h=Ll(r[t.nextIndex])}return t.nextIndex++,l}function c4({kind:e,min:t,max:n},r){const s=r.parent,o=s.body.at(-1);if(!o||!t4(o))throw new Error("Quantifier requires a repeatable token");const i=Ff(e,t,n,o);return s.body.pop(),i}function u4({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let s=e.slice(3,-1);const o=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(s);if(o){const a=+o.groups.num,l=n.length;if(t.hasNumberedRef=!0,s={"":a,"+":l+a,"-":l+1-a}[o.groups.sign],s<1)throw new Error("Invalid subroutine number")}else s==="0"&&(s=0);const i=Hf(s);return r.push(i),i}function f4(e,t){return{type:"AbsenceFunction",kind:e,body:Cr(t?.body)}}function an(e){return{type:"Alternative",body:Df(e?.body)}}function ii(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function ai(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function Bf(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!w4(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:Cr(t?.body)}}function Ds(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function Wr(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:Df(e?.body)}}function h4(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function li(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function d4(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:Un(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function p4(e){return{type:"Flags",...e}}function ot(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:Cr(e?.body)}}function Zt(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:Cr(e?.body)}}function g4(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function m4(e,t){const n=!!t?.negate;if(!Ki.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function Ff(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function y4(e,t){return{type:"Regex",body:Cr(t?.body),flags:e}}function Hf(e){return{type:"Subroutine",ref:e}}function bn(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(js(e));if(!r){if(n.normalizeUnknownPropertyNames)r=_4(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(ke`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function b4({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case"absence_repeater":return f4("repeater");case"atomic":return ot({atomic:!0});case"capturing":return Bf(s,{name:n});case"group":return ot({flags:e});case"lookahead":case"lookbehind":return Zt({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function Cr(e){if(e===void 0)e=[an()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function Df(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function Rl(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Tl(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function w4(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function _4(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function js(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Ml(e,t){return Un(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function Ll(e){return Un(e,"Unclosed group")}function sr(e,t,n=null){function r(o,i){for(let a=0;a<o.length;a++){const l=s(o[a],i,a,o);a=Math.max(-1,a+l)}}function s(o,i=null,a=null,l=null){let u=0,c=!1;const f={node:o,parent:i,key:a,container:l,root:e,remove(){Fr(l).splice(Math.max(0,pn(a)+u),1),u--,c=!0},removeAllNextSiblings(){return Fr(l).splice(pn(a)+1)},removeAllPrevSiblings(){const _=pn(a)+u;return u-=_,Fr(l).splice(0,Math.max(0,_))},replaceWith(_,x={}){const m=!!x.traverse;l?l[Math.max(0,pn(a)+u)]=_:Un(i,"Can't replace root node")[a]=_,m&&s(_,i,a,l),c=!0},replaceWithMultiple(_,x={}){const m=!!x.traverse;if(Fr(l).splice(Math.max(0,pn(a)+u),1,..._),u+=_.length-1,m){let w=0;for(let b=0;b<_.length;b++)w+=s(_[b],i,pn(a)+b+w,l)}c=!0},skip(){c=!0}},{type:h}=o,d=t["*"],p=t[h],g=typeof d=="function"?d:d?.enter,v=typeof p=="function"?p:p?.enter;if(g?.(f,n),v?.(f,n),!c)switch(h){case"AbsenceFunction":case"CapturingGroup":case"Group":r(o.body,o);break;case"Alternative":case"CharacterClass":r(o.body,o);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":s(o.min,o,"min"),s(o.max,o,"max");break;case"LookaroundAssertion":r(o.body,o);break;case"Quantifier":s(o.body,o,"body");break;case"Regex":r(o.body,o),s(o.flags,o,"flags");break;default:throw new Error(`Unexpected node type "${h}"`)}return p?.exit?.(f,n),d?.exit?.(f,n),u}return s(e),e}function Fr(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function pn(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const v4=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function C4(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function x4(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const nt=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Zi(e,t,n,r){const s=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),o=[!1];let i=0,a="";for(const l of e.matchAll(s)){const{0:u,groups:{$skip:c}}=l;if(!c&&(!r||r===nt.DEFAULT==!i)){n instanceof Function?a+=n(l,{context:i?nt.CHAR_CLASS:nt.DEFAULT,negated:o[o.length-1]}):a+=n;continue}u[0]==="["?(i++,o.push(u[1]==="^")):u==="]"&&i&&(i--,o.pop()),a+=u}return a}function jf(e,t,n,r){Zi(e,t,n,r)}function S4(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const s=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");s.lastIndex=n;let o=0,i;for(;i=s.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!r||r===nt.DEFAULT==!o))return i;a==="["?o++:a==="]"&&o&&o--,s.lastIndex==i.index&&s.lastIndex++}return null}function Hr(e,t,n){return!!S4(e,t,0,n)}function k4(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,s=0,o=1,i;for(;i=n.exec(e);){const[a]=i;if(a==="[")s++;else if(s)a==="]"&&s--;else if(a==="(")o++;else if(a===")"&&(o--,!o)){r=i.index;break}}return e.slice(t,r)}const Pl=new RegExp(String.raw`(?<noncapturingStart>${v4})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function A4(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const s="(?>",o="(?:(?=(",i=[0],a=[];let l=0,u=0,c=NaN,f;do{f=!1;let h=0,d=0,p=!1,g;for(Pl.lastIndex=Number.isNaN(c)?0:c+o.length;g=Pl.exec(e);){const{0:v,index:_,groups:{capturingStart:x,noncapturingStart:m}}=g;if(v==="[")h++;else if(h)v==="]"&&h--;else if(v===s&&!p)c=_,p=!0;else if(p&&m)d++;else if(x)p?d++:(l++,i.push(l+u));else if(v===")"&&p){if(!d){u++;const w=l+u;if(e=`${e.slice(0,c)}${o}${e.slice(c+s.length,_)}))<$$${w}>)${e.slice(_+1)}`,f=!0,a.push(w),C4(n,w),r.size){const b=new Map;r.forEach((k,L)=>{b.set(L>=w?L+1:L,k.map(U=>U>=w?U+1:U))}),r=b}break}d--}}}while(f);return n.push(...a),e=Zi(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:h,groups:{backrefNum:d,wrappedBackrefNum:p}})=>{if(d){const g=+d;if(g>i.length-1)throw new Error(`Backref "${h}" greater than number of captures`);return`\\${i[g]}`}return`\\${p}`},nt.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const Gf=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,yo=new RegExp(String.raw`
|
|
48
|
+
\\(?: \d+
|
|
49
|
+
| c[A-Za-z]
|
|
50
|
+
| [gk]<[^>]+>
|
|
51
|
+
| [pPu]\{[^\}]+\}
|
|
52
|
+
| u[A-Fa-f\d]{4}
|
|
53
|
+
| x[A-Fa-f\d]{2}
|
|
54
|
+
)
|
|
55
|
+
| \((?: \? (?: [:=!>]
|
|
56
|
+
| <(?:[=!]|[^>]+>)
|
|
57
|
+
| [A-Za-z\-]+:
|
|
58
|
+
| \(DEFINE\)
|
|
59
|
+
))?
|
|
60
|
+
| (?<qBase>${Gf})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
61
|
+
| \\?.
|
|
62
|
+
`.replace(/\s+/g,""),"gsu");function E4(e){if(!new RegExp(`${Gf}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(yo.lastIndex=0;i=yo.exec(e);){const{0:a,index:l,groups:{qBase:u,qMod:c,invalidQ:f}}=i;if(a==="[")o||(r=l),o++;else if(a==="]")o?o--:r=null;else if(!o)if(c==="+"&&s&&!s.startsWith("(")){if(f)throw new Error(`Invalid quantifier "${a}"`);let h=-1;if(/^\{\d+\}$/.test(u))e=x4(e,l+u.length,c,"");else{if(s===")"||s==="]"){const d=s===")"?n:r;if(d===null)throw new Error(`Invalid unmatched "${s}"`);e=`${e.slice(0,d)}(?>${e.slice(d,l)}${u})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-s.length)}(?>${s}${u})${e.slice(l+a.length)}`;h+=4}yo.lastIndex+=h}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const tt=String.raw,R4=tt`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,ci=tt`\(\?R=(?<rDepth>[^\)]+)\)|${R4}`,Gs=tt`\(\?<(?![=!])(?<captureName>[^>]+)>`,Uf=tt`${Gs}|(?<unnamed>\()(?!\?)`,Vt=new RegExp(tt`${Gs}|${ci}|\(\?|\\?.`,"gsu"),bo="Cannot use multiple overlapping recursions";function T4(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=t?.captureTransfers??new Map;if(!new RegExp(ci,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&Hr(e,tt`\(\?\(DEFINE\)`,nt.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=Hr(e,tt`\\[1-9]`,nt.DEFAULT),a=new Map,l=[];let u=!1,c=0,f=0,h;for(Vt.lastIndex=0;h=Vt.exec(e);){const{0:d,groups:{captureName:p,rDepth:g,gRNameOrNum:v,gRDepth:_}}=h;if(d==="[")c++;else if(c)d==="]"&&c--;else if(g){if(Il(g),u)throw new Error(bo);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const x=e.slice(0,h.index),m=e.slice(Vt.lastIndex);if(Hr(m,ci,nt.DEFAULT))throw new Error(bo);const w=+g-1;e=Nl(x,m,w,!1,n,o,f),s=Bl(s,x,w,o.length,0,f);break}else if(v){Il(_);let x=!1;for(const Y of l)if(Y.name===v||Y.num===+v){if(x=!0,Y.hasRecursedWithin)throw new Error(bo);break}if(!x)throw new Error(tt`Recursive \g cannot be used outside the referenced group "${r==="external"?v:tt`\g<${v}&R=${_}>`}"`);const m=a.get(v),w=k4(e,m);if(i&&Hr(w,tt`${Gs}|\((?!\?)`,nt.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const b=e.slice(m,h.index),k=w.slice(b.length+d.length),L=o.length,U=+_-1,z=Nl(b,k,U,!0,n,o,f);s=Bl(s,b,U,o.length-L,L,f);const N=e.slice(0,m),te=e.slice(m+w.length);e=`${N}${z}${te}`,Vt.lastIndex+=z.length-d.length-b.length-k.length,l.forEach(Y=>Y.hasRecursedWithin=!0),u=!0}else if(p)f++,a.set(String(f),Vt.lastIndex),a.set(p,Vt.lastIndex),l.push({num:f,name:p});else if(d[0]==="("){const x=d==="(";x&&(f++,a.set(String(f),Vt.lastIndex)),l.push(x?{num:f}:{})}else d===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function Il(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function Nl(e,t,n,r,s,o,i){const a=new Set;r&&jf(e+t,Gs,({groups:{captureName:u}})=>{a.add(u)},nt.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${Ol(`(?:${e}`,"forward",...l)}(?:)${Ol(`${t})`,"backward",...l)}${t}`}function Ol(e,t,n,r,s,o,i){const l=c=>t==="forward"?c+2:n-c+2-1;let u="";for(let c=0;c<n;c++){const f=l(c);u+=Zi(e,tt`${Uf}|\\k<(?<backref>[^>]+)>`,({0:h,groups:{captureName:d,unnamed:p,backref:g}})=>{if(g&&r&&!r.has(g))return h;const v=`_$${f}`;if(p||d){const _=i+o.length+1;return o.push(_),M4(s,_),p?h:`(?<${d}${v}>`}return tt`\k<${g}${v}>`},nt.DEFAULT)}return u}function M4(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function Bl(e,t,n,r,s,o){if(e.size&&r){let i=0;jf(t,Uf,()=>i++,nt.DEFAULT);const a=o-i+s,l=new Map;return e.forEach((u,c)=>{const f=(r-i*n)/n,h=i*n,d=c>a+i?c+r:c,p=[];for(const g of u)if(g<=a)p.push(g);else if(g>a+i+f)p.push(g+r);else if(g<=a+i)for(let v=0;v<=n;v++)p.push(g+i*v);else for(let v=0;v<=n;v++)p.push(g+h+f*v);l.set(d,p)}),l}return e}var xe=String.fromCodePoint,ee=String.raw,Mt={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("[[]]","v")}catch{return!1}return!0})()};Mt.bugFlagVLiteralHyphenIsRange=Mt.unicodeSets?(()=>{try{new RegExp(ee`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Mt.bugNestedClassIgnoresNegation=Mt.unicodeSets&&new RegExp("[[^a]]","v").test("a");function bs(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function mr(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function ui(e,t){return Fl[e]>=Fl[t]}function L4(e,t){if(e==null)throw new Error(t??"Value expected");return e}var Fl={ES2025:2025,ES2024:2024,ES2018:2018},P4={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function $f(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!P4[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=Mt.flagGroups?"ES2025":Mt.unicodeSets?"ES2024":"ES2018"),t}var I4="[ -\r ]",N4=new Set([xe(304),xe(305)]),xt=ee`[\p{L}\p{M}\p{N}\p{Pc}]`;function zf(e){if(N4.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=F4.get(n),o=O4.get(n),i=B4.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),s&&t.add(s),t.add(n),o&&t.add(o),[...t]}var Ji=new Map(`C Other
|
|
63
|
+
Cc Control cntrl
|
|
64
|
+
Cf Format
|
|
65
|
+
Cn Unassigned
|
|
66
|
+
Co Private_Use
|
|
67
|
+
Cs Surrogate
|
|
68
|
+
L Letter
|
|
69
|
+
LC Cased_Letter
|
|
70
|
+
Ll Lowercase_Letter
|
|
71
|
+
Lm Modifier_Letter
|
|
72
|
+
Lo Other_Letter
|
|
73
|
+
Lt Titlecase_Letter
|
|
74
|
+
Lu Uppercase_Letter
|
|
75
|
+
M Mark Combining_Mark
|
|
76
|
+
Mc Spacing_Mark
|
|
77
|
+
Me Enclosing_Mark
|
|
78
|
+
Mn Nonspacing_Mark
|
|
79
|
+
N Number
|
|
80
|
+
Nd Decimal_Number digit
|
|
81
|
+
Nl Letter_Number
|
|
82
|
+
No Other_Number
|
|
83
|
+
P Punctuation punct
|
|
84
|
+
Pc Connector_Punctuation
|
|
85
|
+
Pd Dash_Punctuation
|
|
86
|
+
Pe Close_Punctuation
|
|
87
|
+
Pf Final_Punctuation
|
|
88
|
+
Pi Initial_Punctuation
|
|
89
|
+
Po Other_Punctuation
|
|
90
|
+
Ps Open_Punctuation
|
|
91
|
+
S Symbol
|
|
92
|
+
Sc Currency_Symbol
|
|
93
|
+
Sk Modifier_Symbol
|
|
94
|
+
Sm Math_Symbol
|
|
95
|
+
So Other_Symbol
|
|
96
|
+
Z Separator
|
|
97
|
+
Zl Line_Separator
|
|
98
|
+
Zp Paragraph_Separator
|
|
99
|
+
Zs Space_Separator
|
|
100
|
+
ASCII
|
|
101
|
+
ASCII_Hex_Digit AHex
|
|
102
|
+
Alphabetic Alpha
|
|
103
|
+
Any
|
|
104
|
+
Assigned
|
|
105
|
+
Bidi_Control Bidi_C
|
|
106
|
+
Bidi_Mirrored Bidi_M
|
|
107
|
+
Case_Ignorable CI
|
|
108
|
+
Cased
|
|
109
|
+
Changes_When_Casefolded CWCF
|
|
110
|
+
Changes_When_Casemapped CWCM
|
|
111
|
+
Changes_When_Lowercased CWL
|
|
112
|
+
Changes_When_NFKC_Casefolded CWKCF
|
|
113
|
+
Changes_When_Titlecased CWT
|
|
114
|
+
Changes_When_Uppercased CWU
|
|
115
|
+
Dash
|
|
116
|
+
Default_Ignorable_Code_Point DI
|
|
117
|
+
Deprecated Dep
|
|
118
|
+
Diacritic Dia
|
|
119
|
+
Emoji
|
|
120
|
+
Emoji_Component EComp
|
|
121
|
+
Emoji_Modifier EMod
|
|
122
|
+
Emoji_Modifier_Base EBase
|
|
123
|
+
Emoji_Presentation EPres
|
|
124
|
+
Extended_Pictographic ExtPict
|
|
125
|
+
Extender Ext
|
|
126
|
+
Grapheme_Base Gr_Base
|
|
127
|
+
Grapheme_Extend Gr_Ext
|
|
128
|
+
Hex_Digit Hex
|
|
129
|
+
IDS_Binary_Operator IDSB
|
|
130
|
+
IDS_Trinary_Operator IDST
|
|
131
|
+
ID_Continue IDC
|
|
132
|
+
ID_Start IDS
|
|
133
|
+
Ideographic Ideo
|
|
134
|
+
Join_Control Join_C
|
|
135
|
+
Logical_Order_Exception LOE
|
|
136
|
+
Lowercase Lower
|
|
137
|
+
Math
|
|
138
|
+
Noncharacter_Code_Point NChar
|
|
139
|
+
Pattern_Syntax Pat_Syn
|
|
140
|
+
Pattern_White_Space Pat_WS
|
|
141
|
+
Quotation_Mark QMark
|
|
142
|
+
Radical
|
|
143
|
+
Regional_Indicator RI
|
|
144
|
+
Sentence_Terminal STerm
|
|
145
|
+
Soft_Dotted SD
|
|
146
|
+
Terminal_Punctuation Term
|
|
147
|
+
Unified_Ideograph UIdeo
|
|
148
|
+
Uppercase Upper
|
|
149
|
+
Variation_Selector VS
|
|
150
|
+
White_Space space
|
|
151
|
+
XID_Continue XIDC
|
|
152
|
+
XID_Start XIDS`.split(/\s/).map(e=>[js(e),e])),O4=new Map([["s",xe(383)],[xe(383),"s"]]),B4=new Map([[xe(223),xe(7838)],[xe(107),xe(8490)],[xe(229),xe(8491)],[xe(969),xe(8486)]]),F4=new Map([Bt(453),Bt(456),Bt(459),Bt(498),...wo(8072,8079),...wo(8088,8095),...wo(8104,8111),Bt(8124),Bt(8140),Bt(8188)]),H4=new Map([["alnum",ee`[\p{Alpha}\p{Nd}]`],["alpha",ee`\p{Alpha}`],["ascii",ee`\p{ASCII}`],["blank",ee`[\p{Zs}\t]`],["cntrl",ee`\p{Cc}`],["digit",ee`\p{Nd}`],["graph",ee`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",ee`\p{Lower}`],["print",ee`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",ee`[\p{P}\p{S}]`],["space",ee`\p{space}`],["upper",ee`\p{Upper}`],["word",ee`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",ee`\p{AHex}`]]);function D4(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Bt(e){const t=xe(e);return[t.toLowerCase(),t]}function wo(e,t){return D4(e,t).map(n=>Bt(n))}var Wf=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function j4(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};Vf(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:ui(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};sr(e,G4,r);const s={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},o={currentFlags:s,prevFlags:null,globalFlags:s,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};sr(e,U4,o);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return sr(e,$4,i),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var G4={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:s}=e;if(s==="repeater"){const o=ot();o.body[0].body.push(Zt({negate:!0,body:r}),bn("Any"));const i=ot();i.body[0].body.push(Ff("greedy",0,1/0,o)),n(we(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const s=e.body.filter(o=>o.kind==="flags");for(let o=n+1;o<t.body.length;o++){const i=t.body[o];mr(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=Kf(t.get(e));if(n){const r=ot({flags:n});r.body[0].body=e.body,e.body=[we(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:s,remove:o,replaceWith:i},a){const{kind:l,negate:u}=e,{asciiWordBoundaries:c,avoidSubclass:f,supportedGNodes:h,wordIsAscii:d}=a;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(l==="line_end")i(we(Zt({body:[an({body:[ii("string_end")]}),an({body:[Ds(10)]})]}),t));else if(l==="line_start")i(we(St(ee`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(l==="search_start")if(h.has(e))s.flags.sticky=!0,o();else{const p=r[n-1];if(p&&X4(p))i(we(Zt({negate:!0}),t));else{if(f)throw new Error(ee`Uses "\G" in a way that requires a subclass`);i(Ft(ii("string_start"),t)),a.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")i(we(St(ee`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!d&&!c){const p=`(?:(?<=${xt})(?!${xt})|(?<!${xt})(?=${xt}))`,g=`(?:(?<=${xt})(?=${xt})|(?<!${xt})(?!${xt}))`;i(we(St(u?g:p),t))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!vo(n)&&(n=_o(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!vo(r)&&(r=_o(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Wr({body:[e]});n(we(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:s,digitIsAscii:o,spaceIsAscii:i,wordIsAscii:a}){const{kind:l,negate:u,value:c}=e;if(o&&(l==="digit"||c==="digit")){n(Ft(li("digit",{negate:u}),t));return}if(i&&(l==="space"||c==="space")){n(we(Co(St(I4),u),t));return}if(a&&(l==="word"||c==="word")){n(Ft(li("word",{negate:u}),t));return}if(l==="any")n(Ft(bn("Any"),t));else if(l==="digit")n(Ft(bn("Nd",{negate:u}),t));else if(l!=="dot")if(l==="text_segment"){if(r==="strict")throw new Error(ee`Use of "\X" requires non-strict accuracy`);const f="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",h=ee`\p{RI}{2}|${f}(?:\u200D${f})*`;n(we(St(ee`(?>\r\n|${s?ee`\p{RGI_Emoji}`:h}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")n(Ft(bn("AHex",{negate:u}),t));else if(l==="newline")n(we(St(u?`[^
|
|
153
|
+
]`:`(?>\r
|
|
154
|
+
?|[
|
|
155
|
+
\v\f
\u2028\u2029])`),t));else if(l==="posix")if(!s&&(c==="graph"||c==="print")){if(r==="strict")throw new Error(`POSIX class "${c}" requires min target ES2024 or non-strict accuracy`);let f={graph:"!-~",print:" -~"}[c];u&&(f=`\0-${xe(f.codePointAt(0)-1)}${xe(f.codePointAt(2)+1)}-`),n(we(St(`[${f}]`),t))}else n(we(Co(St(H4.get(c)),u),t));else if(l==="property")Ji.has(js(c))||(e.key="sc");else if(l==="space")n(Ft(bn("space",{negate:u}),t));else if(l==="word")n(we(Co(St(xt),u),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:s,removeAllPrevSiblings:o,removeAllNextSiblings:i}){const{kind:a,flags:l}=e;if(a==="flags")if(!l.enable&&!l.disable)r();else{const u=ot({flags:l});u.body[0].body=i(),s(we(u,t),{traverse:!0})}else if(a==="keep"){const u=n.body[0],f=n.body.length===1&&Nf(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:n;if(t.parent!==f||f.body.length>1)throw new Error(ee`Uses "\K" in a way that's unsupported`);const h=Zt({behind:!0});h.body[0].body=o(),s(we(h,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(we(Zt({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=ot();t.body[0].body.push(e.body),e.body=we(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,s=!1;for(const o of e.body)if(o.body.length===1&&o.body[0].kind==="search_start")o.body.pop();else{const i=Zf(o.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):s=!0}r&&!s&&n.forEach(o=>t.add(o))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(ee`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!vo(n)&&(n=_o(n,t),e.ref=n)}},U4={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,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:s,groupsByName:o,multiplexCapturesToLeftByRef:i,openRefs:a,reffedNodesByReferencer:l}){const u=s.get(e);if(u&&a.has(e.number)){const f=Ft(Hl(e.number),t);l.set(f,a.get(e.number)),n(f);return}a.set(e.number,e),i.set(e.number,[]),e.name&&mr(i,e.name,[]);const c=i.get(e.name??e.number);for(let f=0;f<c.length;f++){const h=c[f];if(u===h.node||u&&u===h.origin||e===h.origin){c.splice(f,1);break}}if(i.get(e.number).push({node:e,origin:u}),e.name&&i.get(e.name).push({node:e,origin:u}),e.name){const f=mr(o,e.name,new Map);let h=!1;if(u)h=!0;else for(const d of f.values())if(!d.hasDuplicateNameToRemove){h=!0;break}o.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:h})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=bs(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:s,ref:o}=e;if(s){let c=t;for(;(c=c.parent)&&!(c.type==="CapturingGroup"&&(c.name===o||c.number===o)););r.reffedNodesByReferencer.set(e,c);return}const i=r.subroutineRefMap.get(o),a=o===0,l=a?Hl(0):qf(i,r.groupOriginByCopy,null);let u=l;if(!a){const c=Kf(V4(i,h=>h.type==="Group"&&!!h.flags)),f=c?bs(r.globalFlags,c):r.globalFlags;z4(f,r.currentFlags)||(u=ot({flags:q4(f)}),u.body[0].body.push(l))}n(we(u,t),{traverse:!a})}},$4={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const o=r.reffedNodesByReferencer.get(e).filter(i=>W4(i,e));if(!o.length)n(we(Zt({negate:!0}),t));else if(o.length>1){const i=ot({atomic:!0,body:o.reverse().map(a=>an({body:[ai(a.number)]}))});n(we(i,t))}else e.ref=o[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=Bf();e.body.at(-1).body.push(s)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function Vf(e){sr(e,{"*"({node:t,parent:n}){t.parent=n}})}function z4(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function W4(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Xf(n.parent);for(const s of r){if(s===n)break;if(s===e||Jf(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function qf(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]=qf(i,t,s,n):(o==="type"&&i==="CapturingGroup"&&t.set(s,t.get(e)??e),s[o]=i);return s}function Hl(e){const t=Hf(e);return t.isRecursive=!0,t}function V4(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function _o(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 Kf(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{r.enable?.[s]&&(delete n.disable[s],n.enable[s]=!0),r.disable?.[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 q4({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 Xf(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function Zf(e){const t=e.find(n=>n.kind==="search_start"||Z4(n,{negate:!1})||!K4(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const s=Zf(r.body);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function Jf(e,t){const n=Xf(e)??[];for(const r of n)if(r===t||Jf(r,t))return!0;return!1}function K4({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function X4(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Z4(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&Nf(e.body[0],{type:"Assertion",kind:"search_start"})}function vo(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function St(e,t){const r=Of(e,{...t,unicodePropertyMap:Ji}).body;return r.length>1||r[0].body.length>1?ot({body:r}):r[0].body[0]}function Co(e,t){return e.negate=t,e}function Ft(e,t){return e.parent=t,e}function we(e,t){return Vf(e),e.parent=t,e}function J4(e,t){const n=$f(t),r=ui(n.target,"ES2024"),s=ui(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 d=[e.flags.ignoreCase];sr(e,Y4,{getCurrentModI:()=>d.at(-1),popModI(){d.pop()},pushModI(p){d.push(p)},setHasCasedChar(){d.at(-1)?i=!0:a=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let u=e;const c={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(d){return c.lastNode=u,u=d,L4(Q4[d.type],`Unexpected node type "${d.type}"`)(d,c,f)}const h={pattern:e.body.map(f).join("|"),flags:f(e.flags),options:{...e.options}};return r||(delete h.options.force.v,h.options.disable.v=!0,h.options.unicodeSetsPlugin=null),h._captureTransfers=new Map,h._hiddenCaptures=[],c.captureMap.forEach((d,p)=>{d.hidden&&h._hiddenCaptures.push(p),d.transferTo&&mr(h._captureTransfers,d.transferTo,[]).push(p)}),h}var Y4={"*":{enter({node:e},t){if(jl(e)){const n=t.getCurrentModI();t.pushModI(e.flags?bs({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){jl(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Yi(xe(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Yf(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&Wf.has(e.value)&&t.setHasCasedChar()}},Q4={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?ee`\B`:ee`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({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},CapturingGroup(e,t,n){const{body:r,name:s,number:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,o>a.number&&(i.transferTo=a.number)),t.captureMap.set(o,i),`(${s?`?<${s}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=xe(e),r=gn(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Yi(n)){const s=zf(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:s,parent:o}=e;let{body:i}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");Mt.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(Gl)&&(i=[Ds(45),...i.filter(u=>!Gl(u))]);const a=()=>`[${s?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Mt.bugNestedClassIgnoresNegation)&&!s){const c=i.filter(f=>f.type==="CharacterClass"&&f.kind==="union"&&f.negate);if(c.length){const f=ot(),h=f.body[0];return f.parent=o,h.parent=f,i=i.filter(d=>!c.includes(d)),e.body=i,i.length?(e.parent=h,h.body.push(e)):f.body.pop(),c.forEach(d=>{const p=an({body:[d]});d.parent=p,p.parent=f,f.body.push(p)}),n(f)}}t.inCharClass=!0;const u=a();return t.inCharClass=!1,u}const l=i[0];if(r==="union"&&!s&&l&&((!t.useFlagV||!t.verbose)&&o.kind==="union"&&!(Mt.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&o.kind==="intersection"&&i.length===1&&l.type!=="CharacterClassRange"))return i.map(n).join("");if(!t.useFlagV&&o.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,s={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},o=gn(n,s),i=gn(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=Yf(e);s5(l).forEach(c=>{a.add(Array.isArray(c)?`${gn(c[0],s)}-${gn(c[1],s)}`:gn(c,s))})}return`${o}-${i}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},s){if(e==="dot")return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":ee`[^\n]`;if(e==="digit")return t?ee`\D`:ee`\d`;if(e==="property"){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&Wf.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?ee`\P`:ee`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?ee`\W`:ee`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},s,o){const i=s.currentFlags;n&&(s.currentFlags=bs(i,n));const a=t.map(o).join("|"),l=!s.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!s.useFlagMods||!n)?a:`(?${o5(e,n,s.useFlagMods)}${a})`;return s.currentFlags=i,l},LookaroundAssertion({body:e,kind:t,negate:n},r,s){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(s).join("|")})`},Quantifier(e,t,n){return n(e.body)+i5(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:ee`\g<${t}&R=${r}>`}},e5=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),t5=new Set(["-","\\","]","^","["]),n5=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Dl=new Map([[9,ee`\t`],[10,ee`\n`],[11,ee`\v`],[12,ee`\f`],[13,ee`\r`],[8232,ee`\u2028`],[8233,ee`\u2029`],[65279,ee`\uFEFF`]]),r5=new RegExp("^\\p{Cased}$","u");function Yi(e){return r5.test(e)}function Yf(e,t){const n=!!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=xe(i);if(!Yi(a))continue;const l=zf(a).filter(u=>{const c=u.codePointAt(0);return c<r||c>s});if(l.length&&(o.push(...l),n))break}return o}function gn(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(Dl.has(e))return Dl.get(e);if(e<32||e>126&&e<160||e>262143||t&&a5(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?n5:t5:e5,o=xe(e);return(s.has(o)?"\\":"")+o}function s5(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??=t[s]:r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function o5(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")+(o?"-":"")+(o?.ignoreCase?"i":"")+(o?.dotAll?"s":"")}return`${r}:`}function i5({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function jl({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function a5(e){return e>47&&e<58}function Gl({type:e,value:t}){return e==="Character"&&t===45}var l5=class fi extends RegExp{#t=new Map;#e=null;#r;#n=null;#s=null;rawOptions={};get source(){return this.#r||"(?:)"}constructor(t,n,r){const s=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const o=t;super(o,n),this.#r=o.source,o instanceof fi&&(this.#t=o.#t,this.#n=o.#n,this.#s=o.#s,this.rawOptions=o.rawOptions)}else{const o={hiddenCaptures:[],strategy:null,transfers:[],...r};super(s?"":t,n),this.#r=t,this.#t=u5(o.hiddenCaptures,o.transfers),this.#s=o.strategy,this.rawOptions=r??{}}s||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:s,...o}=this.rawOptions;this.#e=new fi(this.#r,this.flags,o)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#s==="clip_search"&&n&&r){this.lastIndex=0;const s=this.#o(t.slice(r));return s&&(c5(s,r,t,this.hasIndices),this.lastIndex+=r),s}return this.#o(t)}#o(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const r=[...n];n.length=1;let s;this.hasIndices&&(s=[...n.indices],n.indices.length=1);const o=[0];for(let i=1;i<r.length;i++){const{hidden:a,transferTo:l}=this.#t.get(i)??{};if(a?o.push(null):(o.push(n.length),n.push(r[i]),this.hasIndices&&n.indices.push(s[i])),l&&r[i]!==void 0){const u=o[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(n[u]=r[i],this.hasIndices&&(n.indices[u]=s[i]),n.groups){this.#n||(this.#n=f5(this.source));const c=this.#n.get(l);c&&(n.groups[c]=r[i],this.hasIndices&&(n.indices.groups[c]=s[i]))}}}return n}};function c5(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 u5(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)mr(n,o,{}).transferTo=r;return n}function f5(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 h5(e,t){const n=d5(e,t);return n.options?new l5(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function d5(e,t){const n=$f(t),r=Of(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Ji}),s=j4(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),o=J4(s,n),i=T4(o.pattern,{captureTransfers:o._captureTransfers,hiddenCaptures:o._hiddenCaptures,mode:"external"}),a=E4(i.pattern),l=A4(a.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),u={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${o.flags}${o.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const c=l.hiddenCaptures.sort((p,g)=>p-g),f=Array.from(l.captureTransfers),h=s._strategy,d=u.pattern.length>=n.lazyCompileLength;(c.length||f.length||h||d)&&(u.options={...c.length&&{hiddenCaptures:c},...f.length&&{transfers:f},...h&&{strategy:h},...d&&{lazyCompile:d}})}return u}function p5(e,t){return h5(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function g5(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>p5(n,{target:t.target}),{createScanner(n){return new M3(n,t)},createString(n){return{content:n}}}}const Qf=ze(),eh=ze();function m5(){return T3({themes:[vn(()=>import("./CVO1_9PV.js"),[],import.meta.url),vn(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:[vn(()=>import("./Cp-IABpG.js"),[],import.meta.url),vn(()=>import("./BPQ3VLAy.js"),[],import.meta.url)],engine:g5()}).then(e=>{eh.value=e})}function y5(e,t){return De(()=>{const n=Qf.value?.colorMode||"light";return eh.value.codeToHtml(gc(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const b5=["innerHTML"],w5=It({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=De(()=>{const r=y5(t.code,t.lang||"json");return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,s)=>(D(),W("pre",{class:Pe(["n-code-block",e.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,b5))}}),_5=Object.assign(w5,{__name:"OCodeBlock"});let v5;const Kn=[];function C5(e){if(Kn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Kn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Kn.forEach(n=>n(t))},get(){return v5.value},configurable:!0}),()=>{Kn.splice(Kn.indexOf(e),1)}}async function x5(e){return e=e||(t=>Promise.resolve(t)),[{label:"Plausible Analytics",proxy:"plausible",category:"analytics",scriptBundling:t=>{if(t?.scriptId)return`https://plausible.io/js/pa-${t.scriptId}.js`;const n=Array.isArray(t?.extension)?t.extension.join("."):[t?.extension];return t?.extension?`https://plausible.io/js/script.${n}.js`:"https://plausible.io/js/script.js"},logo:'<svg height="32" id="Layer_2" viewBox="0 0 46 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="New_Gradient_Swatch_1" x1="14.841" y1="22.544" x2="27.473" y2="44.649" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#909cf7"/><stop offset="1" stop-color="#4b38d8"/></linearGradient><linearGradient id="New_Gradient_Swatch_1-2" x1="7.984" y1="-1.358" x2="21.001" y2="21.422" xlink:href="#New_Gradient_Swatch_1"/><style>.cls-3{stroke-width:0;fill:#1f2961}</style></defs><g id="Plausible_-_Branding"><g id="Gradient_Logo_-_Purple_Gradient_on_White"><g id="Symbol_-_Purple_Gradient"><path d="M45.246 22.603C44.155 33.059 35.013 40.83 24.5 40.83h-4.047v9.57a9.6 9.6 0 0 1-9.6 9.6H3.36A3.36 3.36 0 0 1 0 56.64V36.938l5.038-7.07a3.362 3.362 0 0 1 4.037-1.149l2.866 1.2a3.353 3.353 0 0 0 4.025-1.145l6.717-9.417a3.34 3.34 0 0 1 4.014-1.14l5.52 2.32a3.347 3.347 0 0 0 4.022-1.142l6.46-9.063c2.025 3.56 3.014 7.789 2.547 12.27Z" style="stroke-width:0;fill:url(#New_Gradient_Swatch_1)"/><path d="M3.292 28.873c.823-1.155 2.021-2.044 3.414-2.312a5.41 5.41 0 0 1 3.147.316l2.865 1.2a1.357 1.357 0 0 0 1.62-.464l6.594-9.245c.823-1.154 2.02-2.041 3.412-2.309a5.368 5.368 0 0 1 3.128.314l5.52 2.32a1.35 1.35 0 0 0 1.619-.46l6.919-9.707C37.827 3.364 31.78 0 24.945 0H3.36A3.36 3.36 0 0 0 0 3.36v30.132l3.292-4.62Z" style="fill:url(#New_Gradient_Swatch_1-2);stroke-width:0"/></g></g></g></svg>',import:{name:"useScriptPlausibleAnalytics",from:await e("./runtime/registry/plausible-analytics")}},{label:"Cloudflare Web Analytics",proxy:"cloudflareWebAnalytics",src:"https://static.cloudflareinsights.com/beacon.min.js",category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="70.02" height="32" viewBox="0 0 256 117"><path fill="#FBAD41" d="M205.52 50.813c-.858 0-1.705.03-2.551.058c-.137.007-.272.04-.398.094a1.424 1.424 0 0 0-.92.994l-3.628 12.672c-1.565 5.449-.983 10.48 1.646 14.174c2.41 3.416 6.42 5.421 11.289 5.655l19.679 1.194c.585.03 1.092.312 1.4.776a1.92 1.92 0 0 1 .2 1.692a2.496 2.496 0 0 1-2.134 1.662l-20.448 1.193c-11.11.515-23.062 9.58-27.255 20.633l-1.474 3.9a1.092 1.092 0 0 0 .967 1.49h70.425a1.872 1.872 0 0 0 1.81-1.365A51.172 51.172 0 0 0 256 101.828c0-28.16-22.582-50.984-50.449-50.984"/><path fill="#F6821F" d="m174.782 115.362l1.303-4.583c1.568-5.449.987-10.48-1.639-14.173c-2.418-3.417-6.424-5.422-11.296-5.656l-92.312-1.193a1.822 1.822 0 0 1-1.459-.776a1.919 1.919 0 0 1-.203-1.693a2.496 2.496 0 0 1 2.154-1.662l93.173-1.193c11.063-.511 23.015-9.58 27.208-20.633l5.313-14.04c.214-.596.27-1.238.156-1.86C191.126 20.51 166.91 0 137.96 0C111.269 0 88.626 17.403 80.5 41.596a26.996 26.996 0 0 0-19.156-5.359C48.549 37.524 38.25 47.946 36.979 60.88a27.905 27.905 0 0 0 .702 9.642C16.773 71.145 0 88.454 0 109.726c0 1.923.137 3.818.413 5.667c.115.897.879 1.57 1.783 1.568h170.48a2.223 2.223 0 0 0 2.106-1.63"/></svg>',import:{name:"useScriptCloudflareWebAnalytics",from:await e("./runtime/registry/cloudflare-web-analytics")}},{label:"Vercel Analytics",src:"https://va.vercel-scripts.com/v1/script.js",proxy:"vercelAnalytics",category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M256 48L496 464H16z" fill="currentColor"/></svg>',import:{name:"useScriptVercelAnalytics",from:await e("./runtime/registry/vercel-analytics")}},{label:"PostHog",src:!1,proxy:"posthog",scriptBundling:!1,category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128"><path fill="#1d4aff" d="M0 .52v32.15l31.79 31.78V32.3L0 .52zm32.3 32.15v32.15l31.78 31.78V64.45L32.3 32.67zM0 64.97v32.15l31.79 31.78V96.75L0 64.97zm64.6-32.3v32.15l31.78 31.78V64.45L64.6 32.67zm31.78 31.78v32.15l31.78 31.78V96.23l-31.78-31.78zm-64.08.52v32.15l31.78 31.78V96.75L32.3 64.97zM64.6 .52v32.15l31.78 31.78V32.3L64.6 .52zm0 64.45v32.15l31.78 31.78V96.75L64.6 64.97z"/></svg>',import:{name:"useScriptPostHog",from:await e("./runtime/registry/posthog")}},{label:"Fathom Analytics",proxy:"fathom",src:"https://cdn.usefathom.com/script.js",category:"analytics",logo:'<svg width="32" height="32" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><circle cx="512" cy="512" r="512" style="fill:#9187ff"/><path d="M558.62 256c-36.31.16-78.78 10-129.45 28.4-170.71 62.15-206.9 139.74-144.79 310.45s139.73 206.89 310.45 144.76S801.74 599.88 739.6 429.16c-43.69-120-95-173.55-181-173.17zm59.1 140.16h26.73a5.33 5.33 0 0 1 5.16 6.72l-59.26 220.48a5.34 5.34 0 0 1-5.15 4h-26.75a5.33 5.33 0 0 1-5.16-6.72l3.6-13.4 2.63-9.75 53-197.38a5.33 5.33 0 0 1 5.14-3.94zM421.79 413.4h10.75a5.33 5.33 0 0 1 5.33 5.33v18a5.33 5.33 0 0 1-5.33 5.33h-9.13a36.76 36.76 0 0 0-5.51.24 4.7 4.7 0 0 0-2.56 1 4.19 4.19 0 0 0-1 1.66 18.91 18.91 0 0 0-.92 6.72v13.67h19.16a5.33 5.33 0 0 1 5.33 5.33v18a5.34 5.34 0 0 1-5.33 5.33h-19.21v108.71a5.34 5.34 0 0 1-5.34 5.34H387a5.33 5.33 0 0 1-5.33-5.34V448.48a36.74 36.74 0 0 1 3.6-16.64 29.76 29.76 0 0 1 9.73-11.16c7.9-5.48 17.62-7.27 26.82-7.31zm82.14 50c16.37 0 30.27 4.65 40.17 13.27s15.47 21.21 15.42 35.59v35.91l-16.11 59.92h-10.24a5.33 5.33 0 0 1-5.33-5.34v-4a39.13 39.13 0 0 1-4.76 3.56c-7.14 4.55-16.85 7.51-29.65 7.51a62.65 62.65 0 0 1-28.52-6.18 40.49 40.49 0 0 1-18.84-19.35 46.81 46.81 0 0 1-4-19.54 40.72 40.72 0 0 1 5.23-21.12 36.78 36.78 0 0 1 13.78-13.18c11.09-6.25 24.75-8.45 38.14-10.24 7.3-1 13.14-1.61 17.64-2.2a42 42 0 0 0 9.2-1.88 3.16 3.16 0 0 0 1.39-.86l.24-.48a6.77 6.77 0 0 0 .16-1.84v-.73a17.24 17.24 0 0 0-5.85-13.6c-3.8-3.31-9.77-5.55-18.07-5.57s-14.64 2.26-19 5.59a17.51 17.51 0 0 0-7.21 12.54 5.33 5.33 0 0 1-5.31 4.86h-22.25a5.33 5.33 0 0 1-5.33-5.57 45.64 45.64 0 0 1 17.6-34c10.47-8.34 24.85-13.12 41.49-13.12zm23.92 80.71c-1.92.48-4 1-6.31 1.45-6.47 1.28-14.29 2.41-21.87 3.48a61 61 0 0 0-14.76 3.65c-4.18 1.75-7.1 4-8.68 6.57a12.12 12.12 0 0 0-1.71 6.54v.2a12.93 12.93 0 0 0 1.32 5.87 11.81 11.81 0 0 0 3.76 4.22c3.41 2.45 9.13 4.14 16.85 4.14 11.95 0 19.52-3.5 24.32-8.32s7-11.56 7.08-19.11v-8.65zm0 0" style="fill:#fff"/></svg>',import:{name:"useScriptFathomAnalytics",from:await e("./runtime/registry/fathom-analytics")}},{label:"Matomo Analytics",scriptBundling:!1,category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 256 145"><defs><path id="logosMatomoIcon0" d="m105.426 70.887l.035-.021l-.663-1.01c-.1-.153-.2-.313-.303-.46L58.935 0L0 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.292"/><path id="logosMatomoIcon1" fill="#000" d="M64.549 19.33c0-20.374-16.517-36.89-36.89-36.89S-9.23-1.044-9.23 19.33a36.686 36.686 0 0 0 6.08 20.263c-.003 0-.003 0-.003-.003l-.019.003L-31.179 0h-.04c-6.499-10.524-18.101-17.56-31.376-17.56c-13.275 0-24.877 7.036-31.376 17.56h-.037l-44.61 69.525c6.633-9.8 17.848-16.235 30.57-16.235c13.39 0 25.077 7.158 31.54 17.832h.047l29.15 40.921h.047c6.718 9.1 17.486 15.026 29.663 15.026c12.181 0 22.95-5.927 29.666-15.026h.05l.297-.46a36.949 36.949 0 0 0 2.116-3.312l43.675-68.256v.003A36.747 36.747 0 0 0 64.55 19.33M2.372 46.141c.213.204.435.397.654.594c-.22-.197-.438-.39-.654-.594m3.28 2.745c.243.181.48.369.728.544c-.247-.175-.485-.363-.729-.544m8.096 4.598c.306.128.628.228.94.347c-.312-.12-.634-.22-.94-.347m8.28 2.263c.428.065.853.143 1.287.197c-.434-.054-.856-.132-1.287-.197m9.93.203c.438-.05.869-.135 1.303-.197c-.434.062-.862.147-1.303.197m8.368-2.01c.393-.144.797-.275 1.184-.434c-.387.159-.788.29-1.185.434m8.368-4.326c.313-.216.61-.456.916-.684c-.307.228-.603.465-.916.684m6.258-5.526c.259-.285.528-.563.778-.857c-.25.294-.519.572-.778.857"/><path id="logosMatomoIcon2" fill="#95C748" d="m250.511 88.448l.035-.022l-.663-1.01c-.1-.153-.2-.312-.303-.46L204.02 17.56l-58.935 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.291"/><filter id="logosMatomoIcon3" width="106.9%" height="109.7%" x="-3.4%" y="-3.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/></filter></defs><use href="#logosMatomoIcon2"/><path fill="#35BFC0" d="M73.779 107.74c0-20.374-16.516-36.89-36.89-36.89C16.516 70.85 0 87.366 0 107.74c0 20.376 16.516 36.892 36.89 36.892c20.373 0 36.889-16.52 36.889-36.893"/><path fill="#3253A0" d="M172.744 0c20.373 0 36.89 16.516 36.89 36.89a36.747 36.747 0 0 1-6.346 20.688v-.003l-43.675 68.256a36.949 36.949 0 0 1-2.116 3.313l-.297.46h-.05c-6.717 9.098-17.485 15.025-29.666 15.025c-12.177 0-22.945-5.927-29.663-15.026h-.046l-29.15-40.921h-.047C62.114 78.008 50.427 70.85 37.036 70.85c-12.721 0-23.936 6.436-30.569 16.235l44.61-69.525h.037C57.613 7.036 69.215 0 82.49 0c13.275 0 24.877 7.036 31.376 17.56h.04l28.006 39.593l.02-.003c0 .003 0 .003.002.003a36.684 36.684 0 0 1-6.08-20.264C135.855 16.516 152.372 0 172.745 0"/><use href="#logosMatomoIcon2"/><g transform="translate(145.085 17.56)"><mask id="logosMatomoIcon4" fill="#fff"><use href="#logosMatomoIcon0"/></mask><g mask="url(#logosMatomoIcon4)"><use filter="url(#logosMatomoIcon3)" href="#logosMatomoIcon1"/></g></g><path fill="#F38334" d="M209.487 36.89c0-20.374-16.516-36.89-36.89-36.89c-20.373 0-36.89 16.516-36.89 36.89c0 20.373 16.517 36.889 36.89 36.889c20.374 0 36.89-16.516 36.89-36.89"/><path fill="#3152A0" d="M172.597 73.782c-12.887 0-24.214-6.617-30.81-16.629h-.021L113.759 17.56h-.04C107.22 7.04 95.618.003 82.343.003C69.068.003 57.466 7.04 50.967 17.56h-.037L6.323 87.085c6.63-9.796 17.848-16.232 30.566-16.232c13.39 0 25.08 7.155 31.545 17.829h.047l29.15 40.921h.044c6.72 9.096 17.488 15.029 29.665 15.029c12.178 0 22.946-5.93 29.663-15.029h.05l.297-.462a37.588 37.588 0 0 0 2.12-3.307l43.672-68.256c-6.636 9.774-17.839 16.204-30.545 16.204"/></svg>',import:{name:"useScriptMatomoAnalytics",from:await e("./runtime/registry/matomo-analytics")}},{label:"Rybbit Analytics",proxy:"rybbit",scriptBundling:!1,category:"analytics",logo:{light:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#0a3a3a" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#0a3a3a" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#0a3a3a" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#2fd381" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#2fd381" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#2fd381" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>'},import:{name:"useScriptRybbitAnalytics",from:await e("./runtime/registry/rybbit-analytics")}},{label:"Databuddy Analytics",proxy:"databuddy",scriptBundling:()=>"https://cdn.databuddy.cc/databuddy.js",category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 8 8" shape-rendering="crispEdges"><path d="M0 0h8v8H0z"/><path fill="#fff" d="M1 1h1v6H1zm1 0h4v1H2zm4 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zM2 6h4v1H2zm1-3h1v1H3zm1 1h1v1H4z"/></svg>',import:{name:"useScriptDatabuddyAnalytics",from:await e("./runtime/registry/databuddy-analytics")}},{label:"Segment",proxy:"segment",scriptBundling:t=>on("https://cdn.segment.com/analytics.js/v1",t?.writeKey||"","analytics.min.js"),logo:'<svg xmlns="http://www.w3.org/2000/svg" width="30.92" height="32" viewBox="0 0 256 265"><path fill="#4FB58B" d="m233.56 141.927l.17.013l17.892 1.87a4.927 4.927 0 0 1 3.225 1.707l.133.163l-.17.085a4.93 4.93 0 0 1 1.02 3.74a133.272 133.272 0 0 1-41.604 81.083a128.86 128.86 0 0 1-87.629 34.38a127.488 127.488 0 0 1-46.156-8.57l-.802-.312a4.716 4.716 0 0 1-2.686-2.533l-.077-.187a4.891 4.891 0 0 1-.083-3.66l7.062-17.23a4.846 4.846 0 0 1 6.118-2.799l.163.06c36.097 13.939 76.98 6.089 105.349-20.227a104.455 104.455 0 0 0 32.891-63.32a4.93 4.93 0 0 1 5.013-4.27zm-190.08 64.31l.251-.002l.253.002c8.12.093 14.658 6.659 14.746 14.749v.253c0 .084 0 .168-.002.252c-.141 8.284-6.97 14.886-15.254 14.745c-8.284-.141-14.885-6.97-14.745-15.254c.139-8.115 6.695-14.615 14.75-14.745M4.93 147.082h146.316a4.973 4.973 0 0 1 4.928 4.844l.002.171v18.316a4.974 4.974 0 0 1-4.76 5.01l-.17.005H4.93A4.975 4.975 0 0 1 0 170.584v-18.659a4.975 4.975 0 0 1 4.755-4.838zM169.56 7.311a4.974 4.974 0 0 1 2.848 2.635a5.096 5.096 0 0 1 0 3.867l-6.375 16.999a4.845 4.845 0 0 1-6.162 2.974A101.228 101.228 0 0 0 62.13 51.252a105.267 105.267 0 0 0-34.507 54.99a4.93 4.93 0 0 1-4.76 3.698h-1.105L4.25 105.733a4.886 4.886 0 0 1-3.103-2.295h-.085A4.929 4.929 0 0 1 .51 99.57a133.393 133.393 0 0 1 44.41-70.204C79.739.7 127.019-7.666 169.56 7.311m-64.807 73.434H251.07a4.972 4.972 0 0 1 4.922 4.67l.008.174v18.317a4.973 4.973 0 0 1-4.76 5.01l-.17.005H104.754a4.972 4.972 0 0 1-4.886-4.842l-.002-.173V85.759a4.972 4.972 0 0 1 4.715-5.008zm101.572-55.883l.252-.002l.253.002c8.12.093 14.658 6.659 14.746 14.748v.253c0 .085 0 .17-.002.253c-.14 8.284-6.97 14.885-15.254 14.744c-8.284-.14-14.885-6.97-14.744-15.253c.138-8.116 6.694-14.616 14.749-14.745"/></svg>',category:"analytics",import:{name:"useScriptSegment",from:await e("./runtime/registry/segment")}},{label:"Meta Pixel",proxy:"metaPixel",src:"https://connect.facebook.net/en_US/fbevents.js",category:"ad",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="47.91" height="32" viewBox="0 0 256 171"><defs><linearGradient id="logosMetaIcon0" x1="13.878%" x2="89.144%" y1="55.934%" y2="58.694%"><stop offset="0%" stop-color="#0064E1"/><stop offset="40%" stop-color="#0064E1"/><stop offset="83%" stop-color="#0073EE"/><stop offset="100%" stop-color="#0082FB"/></linearGradient><linearGradient id="logosMetaIcon1" x1="54.315%" x2="54.315%" y1="82.782%" y2="39.307%"><stop offset="0%" stop-color="#0082FB"/><stop offset="100%" stop-color="#0064E0"/></linearGradient></defs><path fill="#0081FB" d="M27.651 112.136c0 9.775 2.146 17.28 4.95 21.82c3.677 5.947 9.16 8.466 14.751 8.466c7.211 0 13.808-1.79 26.52-19.372c10.185-14.092 22.186-33.874 30.26-46.275l13.675-21.01c9.499-14.591 20.493-30.811 33.1-41.806C161.196 4.985 172.298 0 183.47 0c18.758 0 36.625 10.87 50.3 31.257C248.735 53.584 256 81.707 256 110.729c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363v-27.616c15.695 0 19.612-14.422 19.612-30.927c0-23.52-5.484-49.623-17.564-68.273c-8.574-13.23-19.684-21.313-31.907-21.313c-13.22 0-23.859 9.97-35.815 27.75c-6.356 9.445-12.882 20.956-20.208 33.944l-8.066 14.289c-16.203 28.728-20.307 35.271-28.408 46.07c-14.2 18.91-26.324 26.076-42.287 26.076c-18.935 0-30.91-8.2-38.325-20.556C2.973 139.413 0 126.202 0 111.148z"/><path fill="url(#logosMetaIcon0)" d="M21.802 33.206C34.48 13.666 52.774 0 73.757 0C85.91 0 97.99 3.597 110.605 13.897c13.798 11.261 28.505 29.805 46.853 60.368l6.58 10.967c15.881 26.459 24.917 40.07 30.205 46.49c6.802 8.243 11.565 10.7 17.752 10.7c15.695 0 19.612-14.422 19.612-30.927l24.393-.766c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363c-11.395 0-21.49-2.475-32.654-13.007c-8.582-8.083-18.615-22.443-26.334-35.352l-22.96-38.352C118.528 64.08 107.96 49.73 101.845 43.23c-6.578-6.988-15.036-15.428-28.532-15.428c-10.923 0-20.2 7.666-27.963 19.39z"/><path fill="url(#logosMetaIcon1)" d="M73.312 27.802c-10.923 0-20.2 7.666-27.963 19.39c-10.976 16.568-17.698 41.245-17.698 64.944c0 9.775 2.146 17.28 4.95 21.82L9.027 149.482C2.973 139.413 0 126.202 0 111.148C0 83.772 7.514 55.24 21.802 33.206C34.48 13.666 52.774 0 73.757 0z"/></svg>',import:{name:"useScriptMetaPixel",from:await e("./runtime/registry/meta-pixel")}},{label:"X Pixel",proxy:"xPixel",src:"https://static.ads-twitter.com/uwt.js",category:"ad",logo:{dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="white" stroke="white"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>',light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="black" stroke="black"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>'},import:{name:"useScriptXPixel",from:await e("./runtime/registry/x-pixel")}},{label:"TikTok Pixel",proxy:"tiktokPixel",category:"ad",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="M224 72a52.059 52.059 0 0 1-52-52a4 4 0 0 0-4-4h-40a4 4 0 0 0-4 4v132a28 28 0 1 1-40.567-25.019a4 4 0 0 0 2.567-3.734V80a4 4 0 0 0-4.652-3.949A84.032 84.032 0 1 0 156 152v-43.047a99.432 99.432 0 0 0 52 14.586a4 4 0 0 0 4-4V76a4 4 0 0 0-4-4z" fill="currentColor"/></svg>',import:{name:"useScriptTikTokPixel",from:await e("./runtime/registry/tiktok-pixel")},scriptBundling(t){return t?.id?Xt("https://analytics.tiktok.com/i18n/pixel/events.js",{sdkid:t.id,lib:"ttq"}):!1}},{label:"Snapchat Pixel",proxy:"snapchatPixel",src:"https://sc-static.net/scevent.min.js",category:"ad",logo:'<svg width="50" height="50" viewBox="147.353 39.286 514.631 514.631" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><path style="fill:#FFFC00;" d="M147.553,423.021v0.023c0.308,11.424,0.403,22.914,2.33,34.268 c2.042,12.012,4.961,23.725,10.53,34.627c7.529,14.756,17.869,27.217,30.921,37.396c9.371,7.309,19.608,13.111,30.94,16.771 c16.524,5.33,33.571,7.373,50.867,7.473c10.791,0.068,21.575,0.338,32.37,0.293c78.395-0.33,156.792,0.566,235.189-0.484 c10.403-0.141,20.636-1.41,30.846-3.277c19.569-3.582,36.864-11.932,51.661-25.133c17.245-15.381,28.88-34.205,34.132-56.924 c3.437-14.85,4.297-29.916,4.444-45.035v-3.016c0-1.17-0.445-256.892-0.486-260.272c-0.115-9.285-0.799-18.5-2.54-27.636 c-2.117-11.133-5.108-21.981-10.439-32.053c-5.629-10.641-12.68-20.209-21.401-28.57c-13.359-12.81-28.775-21.869-46.722-26.661 c-16.21-4.327-32.747-5.285-49.405-5.27c-0.027-0.004-0.09-0.173-0.094-0.255H278.56c-0.005,0.086-0.008,0.172-0.014,0.255 c-9.454,0.173-18.922,0.102-28.328,1.268c-10.304,1.281-20.509,3.21-30.262,6.812c-15.362,5.682-28.709,14.532-40.11,26.347 c-12.917,13.386-22.022,28.867-26.853,46.894c-4.31,16.084-5.248,32.488-5.271,49.008"/><path style="fill:#FFFFFF;" d="M407.001,473.488c-1.068,0-2.087-0.039-2.862-0.076c-0.615,0.053-1.25,0.076-1.886,0.076 c-22.437,0-37.439-10.607-50.678-19.973c-9.489-6.703-18.438-13.031-28.922-14.775c-5.149-0.854-10.271-1.287-15.22-1.287 c-8.917,0-15.964,1.383-21.109,2.389c-3.166,0.617-5.896,1.148-8.006,1.148c-2.21,0-4.895-0.49-6.014-4.311 c-0.887-3.014-1.523-5.934-2.137-8.746c-1.536-7.027-2.65-11.316-5.281-11.723c-28.141-4.342-44.768-10.738-48.08-18.484 c-0.347-0.814-0.541-1.633-0.584-2.443c-0.129-2.309,1.501-4.334,3.777-4.711c22.348-3.68,42.219-15.492,59.064-35.119 c13.049-15.195,19.457-29.713,20.145-31.316c0.03-0.072,0.065-0.148,0.101-0.217c3.247-6.588,3.893-12.281,1.926-16.916 c-3.626-8.551-15.635-12.361-23.58-14.882c-1.976-0.625-3.845-1.217-5.334-1.808c-7.043-2.782-18.626-8.66-17.083-16.773 c1.124-5.916,8.949-10.036,15.273-10.036c1.756,0,3.312,0.308,4.622,0.923c7.146,3.348,13.575,5.045,19.104,5.045 c6.876,0,10.197-2.618,11-3.362c-0.198-3.668-0.44-7.546-0.674-11.214c0-0.004-0.005-0.048-0.005-0.048 c-1.614-25.675-3.627-57.627,4.546-75.95c24.462-54.847,76.339-59.112,91.651-59.112c0.408,0,6.674-0.062,6.674-0.062 c0.283-0.005,0.59-0.009,0.908-0.009c15.354,0,67.339,4.27,91.816,59.15c8.173,18.335,6.158,50.314,4.539,76.016l-0.076,1.23 c-0.222,3.49-0.427,6.793-0.6,9.995c0.756,0.696,3.795,3.096,9.978,3.339c5.271-0.202,11.328-1.891,17.998-5.014 c2.062-0.968,4.345-1.169,5.895-1.169c2.343,0,4.727,0.456,6.714,1.285l0.106,0.041c5.66,2.009,9.367,6.024,9.447,10.242 c0.071,3.932-2.851,9.809-17.223,15.485c-1.472,0.583-3.35,1.179-5.334,1.808c-7.952,2.524-19.951,6.332-23.577,14.878 c-1.97,4.635-1.322,10.326,1.926,16.912c0.036,0.072,0.067,0.145,0.102,0.221c1,2.344,25.205,57.535,79.209,66.432 c2.275,0.379,3.908,2.406,3.778,4.711c-0.048,0.828-0.248,1.656-0.598,2.465c-3.289,7.703-19.915,14.09-48.064,18.438 c-2.642,0.408-3.755,4.678-5.277,11.668c-0.63,2.887-1.271,5.717-2.146,8.691c-0.819,2.797-2.641,4.164-5.567,4.164h-0.441 c-1.905,0-4.604-0.346-8.008-1.012c-5.95-1.158-12.623-2.236-21.109-2.236c-4.948,0-10.069,0.434-15.224,1.287 c-10.473,1.744-19.421,8.062-28.893,14.758C444.443,462.88,429.436,473.488,407.001,473.488"/><path style="fill:#020202;" d="M408.336,124.235c14.455,0,64.231,3.883,87.688,56.472c7.724,17.317,5.744,48.686,4.156,73.885 c-0.248,3.999-0.494,7.875-0.694,11.576l-0.084,1.591l1.062,1.185c0.429,0.476,4.444,4.672,13.374,5.017l0.144,0.008l0.15-0.003 c5.904-0.225,12.554-2.059,19.776-5.442c1.064-0.498,2.48-0.741,3.978-0.741c1.707,0,3.521,0.321,5.017,0.951l0.226,0.09 c3.787,1.327,6.464,3.829,6.505,6.093c0.022,1.28-0.935,5.891-14.359,11.194c-1.312,0.518-3.039,1.069-5.041,1.7 c-8.736,2.774-21.934,6.96-26.376,17.427c-2.501,5.896-1.816,12.854,2.034,20.678c1.584,3.697,26.52,59.865,82.631,69.111 c-0.011,0.266-0.079,0.557-0.229,0.9c-0.951,2.24-6.996,9.979-44.612,15.783c-5.886,0.902-7.328,7.5-9,15.17 c-0.604,2.746-1.218,5.518-2.062,8.381c-0.258,0.865-0.306,0.914-1.233,0.914c-0.128,0-0.278,0-0.442,0 c-1.668,0-4.2-0.346-7.135-0.922c-5.345-1.041-12.647-2.318-21.982-2.318c-5.21,0-10.577,0.453-15.962,1.352 c-11.511,1.914-20.872,8.535-30.786,15.543c-13.314,9.408-27.075,19.143-48.071,19.143c-0.917,0-1.812-0.031-2.709-0.076 l-0.236-0.01l-0.237,0.018c-0.515,0.045-1.034,0.068-1.564,0.068c-20.993,0-34.76-9.732-48.068-19.143 c-9.916-7.008-19.282-13.629-30.791-15.543c-5.38-0.896-10.752-1.352-15.959-1.352c-9.333,0-16.644,1.428-21.978,2.471 c-2.935,0.574-5.476,1.066-7.139,1.066c-1.362,0-1.388-0.08-1.676-1.064c-0.844-2.865-1.461-5.703-2.062-8.445 c-1.676-7.678-3.119-14.312-9.002-15.215c-37.613-5.809-43.659-13.561-44.613-15.795c-0.149-0.352-0.216-0.652-0.231-0.918 c56.11-9.238,81.041-65.408,82.63-69.119c3.857-7.818,4.541-14.775,2.032-20.678c-4.442-10.461-17.638-14.653-26.368-17.422 c-2.007-0.635-3.735-1.187-5.048-1.705c-11.336-4.479-14.823-8.991-14.305-11.725c0.601-3.153,6.067-6.359,10.837-6.359 c1.072,0,2.012,0.173,2.707,0.498c7.747,3.631,14.819,5.472,21.022,5.472c9.751,0,14.091-4.537,14.557-5.055l1.057-1.182 l-0.085-1.583c-0.197-3.699-0.44-7.574-0.696-11.565c-1.583-25.205-3.563-56.553,4.158-73.871 c23.37-52.396,72.903-56.435,87.525-56.435c0.36,0,6.717-0.065,6.717-0.065C407.744,124.239,408.033,124.235,408.336,124.235 M408.336,115.197h-0.017c-0.333,0-0.646,0-0.944,0.004c-2.376,0.024-6.282,0.062-6.633,0.066c-8.566,0-25.705,1.21-44.115,9.336 c-10.526,4.643-19.994,10.921-28.14,18.66c-9.712,9.221-17.624,20.59-23.512,33.796c-8.623,19.336-6.576,51.905-4.932,78.078 l0.006,0.041c0.176,2.803,0.361,5.73,0.53,8.582c-1.265,0.581-3.316,1.194-6.339,1.194c-4.864,0-10.648-1.555-17.187-4.619 c-1.924-0.896-4.12-1.349-6.543-1.349c-3.893,0-7.997,1.146-11.557,3.239c-4.479,2.63-7.373,6.347-8.159,10.468 c-0.518,2.726-0.493,8.114,5.492,13.578c3.292,3.008,8.128,5.782,14.37,8.249c1.638,0.645,3.582,1.261,5.641,1.914 c7.145,2.271,17.959,5.702,20.779,12.339c1.429,3.365,0.814,7.793-1.823,13.145c-0.069,0.146-0.138,0.289-0.201,0.439 c-0.659,1.539-6.807,15.465-19.418,30.152c-7.166,8.352-15.059,15.332-23.447,20.752c-10.238,6.617-21.316,10.943-32.923,12.855 c-4.558,0.748-7.813,4.809-7.559,9.424c0.078,1.33,0.39,2.656,0.931,3.939c0.004,0.008,0.009,0.016,0.013,0.023 c1.843,4.311,6.116,7.973,13.063,11.203c8.489,3.943,21.185,7.26,37.732,9.855c0.836,1.59,1.704,5.586,2.305,8.322 c0.629,2.908,1.285,5.898,2.22,9.074c1.009,3.441,3.626,7.553,10.349,7.553c2.548,0,5.478-0.574,8.871-1.232 c4.969-0.975,11.764-2.305,20.245-2.305c4.702,0,9.575,0.414,14.48,1.229c9.455,1.574,17.606,7.332,27.037,14 c13.804,9.758,29.429,20.803,53.302,20.803c0.651,0,1.304-0.021,1.949-0.066c0.789,0.037,1.767,0.066,2.799,0.066 c23.88,0,39.501-11.049,53.29-20.799l0.022-0.02c9.433-6.66,17.575-12.41,27.027-13.984c4.903-0.814,9.775-1.229,14.479-1.229 c8.102,0,14.517,1.033,20.245,2.15c3.738,0.736,6.643,1.09,8.872,1.09l0.218,0.004h0.226c4.917,0,8.53-2.699,9.909-7.422 c0.916-3.109,1.57-6.029,2.215-8.986c0.562-2.564,1.46-6.674,2.296-8.281c16.558-2.6,29.249-5.91,37.739-9.852 c6.931-3.215,11.199-6.873,13.053-11.166c0.556-1.287,0.881-2.621,0.954-3.979c0.261-4.607-2.999-8.676-7.56-9.424 c-51.585-8.502-74.824-61.506-75.785-63.758c-0.062-0.148-0.132-0.295-0.205-0.438c-2.637-5.354-3.246-9.777-1.816-13.148 c2.814-6.631,13.621-10.062,20.771-12.332c2.07-0.652,4.021-1.272,5.646-1.914c7.039-2.78,12.07-5.796,15.389-9.221 c3.964-4.083,4.736-7.995,4.688-10.555c-0.121-6.194-4.856-11.698-12.388-14.393c-2.544-1.052-5.445-1.607-8.399-1.607 c-2.011,0-4.989,0.276-7.808,1.592c-6.035,2.824-11.441,4.368-16.082,4.588c-2.468-0.125-4.199-0.66-5.32-1.171 c0.141-2.416,0.297-4.898,0.458-7.486l0.067-1.108c1.653-26.19,3.707-58.784-4.92-78.134c-5.913-13.253-13.853-24.651-23.604-33.892 c-8.178-7.744-17.678-14.021-28.242-18.661C434.052,116.402,416.914,115.197,408.336,115.197"/><rect x="147.553" y="39.443" style="fill:none;" width="514.231" height="514.23"/></svg>',import:{name:"useScriptSnapchatPixel",from:await e("./runtime/registry/snapchat-pixel")}},{label:"Reddit Pixel",proxy:"redditPixel",src:"https://www.redditstatic.com/ads/pixel.js",category:"ad",logo:'<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg" width="32" height="32"> <circle cx="400" cy="400" fill="#ff4500" r="400"/> <path d="M666.8 400c.08 5.48-.6 10.95-2.04 16.24s-3.62 10.36-6.48 15.04c-2.85 4.68-6.35 8.94-10.39 12.65s-8.58 6.83-13.49 9.27c.11 1.46.2 2.93.25 4.4a107.268 107.268 0 0 1 0 8.8c-.05 1.47-.14 2.94-.25 4.4 0 89.6-104.4 162.4-233.2 162.4S168 560.4 168 470.8c-.11-1.46-.2-2.93-.25-4.4a107.268 107.268 0 0 1 0-8.8c.05-1.47.14-2.94.25-4.4a58.438 58.438 0 0 1-31.85-37.28 58.41 58.41 0 0 1 7.8-48.42 58.354 58.354 0 0 1 41.93-25.4 58.4 58.4 0 0 1 46.52 15.5 286.795 286.795 0 0 1 35.89-20.71c12.45-6.02 25.32-11.14 38.51-15.3s26.67-7.35 40.32-9.56 27.45-3.42 41.28-3.63L418 169.6c.33-1.61.98-3.13 1.91-4.49.92-1.35 2.11-2.51 3.48-3.4 1.38-.89 2.92-1.5 4.54-1.8 1.61-.29 3.27-.26 4.87.09l98 19.6c9.89-16.99 30.65-24.27 48.98-17.19s28.81 26.43 24.71 45.65c-4.09 19.22-21.55 32.62-41.17 31.61-19.63-1.01-35.62-16.13-37.72-35.67L440 186l-26 124.8c13.66.29 27.29 1.57 40.77 3.82a284.358 284.358 0 0 1 77.8 24.86A284.412 284.412 0 0 1 568 360a58.345 58.345 0 0 1 29.4-15.21 58.361 58.361 0 0 1 32.95 3.21 58.384 58.384 0 0 1 25.91 20.61A58.384 58.384 0 0 1 666.8 400zm-396.96 55.31c2.02 4.85 4.96 9.26 8.68 12.97 3.71 3.72 8.12 6.66 12.97 8.68A40.049 40.049 0 0 0 306.8 480c16.18 0 30.76-9.75 36.96-24.69 6.19-14.95 2.76-32.15-8.68-43.59s-28.64-14.87-43.59-8.68c-14.94 6.2-24.69 20.78-24.69 36.96 0 5.25 1.03 10.45 3.04 15.31zm229.1 96.02c2.05-2 3.22-4.73 3.26-7.59.04-2.87-1.07-5.63-3.07-7.68s-4.73-3.22-7.59-3.26c-2.87-.04-5.63 1.07-7.94 2.8a131.06 131.06 0 0 1-19.04 11.35 131.53 131.53 0 0 1-20.68 7.99c-7.1 2.07-14.37 3.54-21.72 4.39-7.36.85-14.77 1.07-22.16.67-7.38.33-14.78.03-22.11-.89a129.01 129.01 0 0 1-21.64-4.6c-7.08-2.14-13.95-4.88-20.56-8.18s-12.93-7.16-18.89-11.53c-2.07-1.7-4.7-2.57-7.38-2.44s-5.21 1.26-7.11 3.15c-1.89 1.9-3.02 4.43-3.15 7.11s.74 5.31 2.44 7.38c7.03 5.3 14.5 9.98 22.33 14s16 7.35 24.4 9.97 17.01 4.51 25.74 5.66c8.73 1.14 17.54 1.53 26.33 1.17 8.79.36 17.6-.03 26.33-1.17A153.961 153.961 0 0 0 476.87 564c7.83-4.02 15.3-8.7 22.33-14zm-7.34-68.13c5.42.06 10.8-.99 15.81-3.07 5.01-2.09 9.54-5.17 13.32-9.06s6.72-8.51 8.66-13.58A39.882 39.882 0 0 0 532 441.6c0-16.18-9.75-30.76-24.69-36.96-14.95-6.19-32.15-2.76-43.59 8.68s-14.87 28.64-8.68 43.59c6.2 14.94 20.78 24.69 36.96 24.69z" fill="#fff"/> </svg>',import:{name:"useScriptRedditPixel",from:await e("./runtime/registry/reddit-pixel")}},{label:"Google Adsense",proxy:"googleAnalytics",scriptBundling:t=>t?.client?Xt("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",{client:t?.client}):!1,category:"ad",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="36.09" height="32" viewBox="0 0 256 227"><path fill="#FBBC04" d="M161.8 62.158c11.581-19.822 4.705-45.154-15.355-56.603C126.376-5.878 100.723.899 89.142 20.72c-.51.888-.99 1.794-1.44 2.715L48.553 90.41a49.41 49.41 0 0 0-2.401 4.112L5.495 164.681l72.65 40.721l40.45-69.566a40.013 40.013 0 0 0 2.402-4.112l39.15-66.983a45.769 45.769 0 0 0 1.654-2.583"/><path fill="#34A853" d="M78.483 205.189c-11.515 20.142-37.49 27.553-57.434 15.931c-19.954-11.63-27.036-36.847-15.513-56.982c11.523-20.134 37.267-27.578 57.22-15.956c19.954 11.63 27.241 36.872 15.727 56.998"/><path fill="#4285F4" d="M235.257 75.417c-19.83-11.429-45.17-4.661-56.661 15.134l-41.478 71.67c-11.428 19.755-4.678 45.033 15.076 56.46l.107.062c19.835 11.433 45.18 4.66 56.67-15.142l41.469-71.663c11.426-19.76 4.67-45.042-15.09-56.468z"/></svg>',import:{name:"useScriptGoogleAdsense",from:await e("./runtime/registry/google-adsense")}},{label:"Carbon Ads",scriptBundling:!1,category:"ad",logo:'<svg width="85" height="39" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="none" fill-rule="evenodd"><g fill="#27282F" fill-rule="nonzero"><path d="M2.927 17.98c0 3.248 1.225 4.295 4.933 4.295 1.362 0 3.573-.174 5.31-.488l.305 2.584c-1.633.385-4.015.629-5.717.629C2.212 25 0 22.555 0 18.155V7.887c0-4.401 2.212-6.845 7.759-6.845 1.701 0 4.083.244 5.717.628l-.306 2.585c-1.736-.315-3.948-.49-5.309-.49-3.709 0-4.934 1.049-4.934 4.296v9.92ZM27.988 24.65h-2.433l-.172-1.257C23.91 24.441 21.991 25 19.97 25c-3.118 0-4.42-1.886-4.42-4.89 0-3.528 1.748-4.785 5.106-4.785h4.454V12.67c0-2.13-.925-2.864-3.632-2.864-1.61 0-3.701.28-5.003.56l-.309-2.34c1.576-.42 3.7-.734 5.483-.734 4.763 0 6.34 1.886 6.34 5.518v11.84Zm-2.879-6.88H20.86c-1.782 0-2.433.559-2.433 2.27 0 1.747.309 2.445 2.365 2.445 1.439 0 3.05-.56 4.317-1.397V17.77ZM38.354 10.035c-1.497.784-3.221 1.995-4.523 2.993V25h-2.733V7.648h2.375l.162 2.423a19.862 19.862 0 0 1 4.36-2.78l.359 2.744ZM53.902 18.573c0 3.92-1.415 6.427-7.321 6.427-1.592 0-4.174-.213-6.154-.671V.424L43.397 0v8.298c1.203-.636 3.254-1.2 5.447-1.2 3.572 0 5.058 2.083 5.058 5.367v6.108ZM43.398 22.14c1.167.177 2.334.248 3.395.248 3.501 0 4.138-1.413 4.138-3.708v-6.32c0-1.766-.778-2.649-2.794-2.649-1.521 0-3.572.742-4.74 1.307v11.122ZM61.677 25c-4.833 0-6.738-2.83-6.738-6.392v-4.925c0-3.562 1.905-6.391 6.738-6.391 4.832 0 6.738 2.829 6.738 6.391v4.925c0 3.562-1.906 6.392-6.738 6.392Zm0-15.16c-2.586 0-3.88 1.258-3.88 3.738v5.134c0 2.48 1.293 3.738 3.88 3.738 2.586 0 3.88-1.258 3.88-3.738v-5.134c0-2.48-1.293-3.738-3.88-3.738ZM80.495 7.145c-1.92-.344-4.937.512-6.378 1.225l-.273-1.471h-2.32v17.06h2.866V11.066c1.775-.946 4.2-1.725 5.427-1.692.902.024 1.738.746 1.738 1.552v13.031h2.866V10.94c-.458-3.648-3.927-3.832-3.926-3.795Z"/></g><image opacity=".3" x="31" y="28" width="54" height="10" xlink:href="data:image/png;base64,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"/></g></svg>'},{label:"Intercom",proxy:"intercom",scriptBundling(t){return t?.app_id?on("https://widget.intercom.io/widget",t?.app_id||""):!1},logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.968 8.972"><path d="M7.853 0h-6.73C.496 0-.002.498-.002 1.117v6.73a1.12 1.12 0 0 0 1.126 1.126h6.73c.618 0 1.117-.498 1.117-1.117v-6.73A1.119 1.119 0 0 0 7.853 0zM5.68 1.645c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495-.15c0-.17.13-.3.3-.3s.3.13.3.3v4.336c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.15c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.598c0-.17.13-.3.3-.3s.3.13.3.3v2.692c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm6.48 4.566c-.05.04-1.156.967-3.2.967s-3.14-.927-3.2-.967a.29.29 0 0 1-.03-.419.29.29 0 0 1 .419-.03c.02 0 1.007.817 2.8.817 1.814 0 2.79-.817 2.79-.827.13-.1.32-.1.42.03a.3.3 0 0 1-.02.429zm.1-1.874c0 .17-.13.3-.3.3s-.3-.13-.3-.3V2.243c0-.17.13-.3.3-.3s.3.13.3.3z" fill="#1f8ded"/></svg>',category:"support",import:{name:"useScriptIntercom",from:await e("./runtime/registry/intercom")}},{label:"Hotjar",proxy:"hotjar",scriptBundling(t){return t?.id?Xt(`https://static.hotjar.com/c/hotjar-${t?.id||""}.js`,{sv:t?.sv||"6"}):!1},logo:'<svg xmlns="http://www.w3.org/2000/svg" width="28.45" height="32" viewBox="0 0 256 288"><path fill="#FF3C00" d="M256 100.585c0 53.068-23.654 81.018-49.308 99.403l-4.984 3.443l-5 3.23l-4.979 3.04l-4.925 2.877l-18.623 10.45c-.97.554-1.925 1.106-2.867 1.656l-5.484 3.303c-19.473 12.156-31.858 25.278-32.898 54.98l-.071 4.155H71.752c0-51.355 22.158-79.19 46.838-97.595l4.964-3.56a192.48 192.48 0 0 1 2.496-1.693l5-3.229l4.978-3.04l9.759-5.616l13.787-7.712l5.652-3.305c21.022-12.65 34.51-25.579 35.597-56.632l.071-4.155zM184.252.145c0 51.35-22.153 79.185-46.833 97.591l-4.964 3.56c-.831.574-1.664 1.138-2.497 1.693l-5 3.23l-4.979 3.04l-9.76 5.616l-13.788 7.713l-5.652 3.305c-.914.55-1.814 1.1-2.7 1.653l-5.131 3.351c-16.5 11.328-26.82 24.627-27.766 51.63l-.072 4.155H0c0-54.78 25.206-82.793 51.797-101.152l4.997-3.333l4.994-3.133l4.957-2.956L87.82 64.236l5.652-3.306c21.023-12.65 34.51-25.58 35.597-56.631l.072-4.155z"/></svg>',category:"analytics",import:{name:"useScriptHotjar",from:await e("./runtime/registry/hotjar")}},{label:"Clarity",proxy:"clarity",scriptBundling(t){return t?.id?`https://www.clarity.ms/tag/${t?.id}`:!1},logo:"https://store-images.s-microsoft.com/image/apps.29332.512b1d3d-80ec-4aec-83bb-411008d2f7cd.76371b6f-9386-463f-bfb0-b75cffb86a4f.bd99f4b1-b18e-4380-aa79-93768763c90d.png",category:"analytics",import:{name:"useScriptClarity",from:await e("./runtime/registry/clarity")}},{label:"Stripe",scriptBundling:!1,category:"payments",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="76.57" height="32" viewBox="0 0 512 214"><path fill="#635BFF" d="M512 110.08c0-36.409-17.636-65.138-51.342-65.138c-33.85 0-54.33 28.73-54.33 64.854c0 42.808 24.179 64.426 58.88 64.426c16.925 0 29.725-3.84 39.396-9.244v-28.445c-9.67 4.836-20.764 7.823-34.844 7.823c-13.796 0-26.027-4.836-27.591-21.618h69.547c0-1.85.284-9.245.284-12.658m-70.258-13.511c0-16.071 9.814-22.756 18.774-22.756c8.675 0 17.92 6.685 17.92 22.756zm-90.31-51.627c-13.939 0-22.899 6.542-27.876 11.094l-1.85-8.818h-31.288v165.83l35.555-7.537l.143-40.249c5.12 3.698 12.657 8.96 25.173 8.96c25.458 0 48.64-20.48 48.64-65.564c-.142-41.245-23.609-63.716-48.498-63.716m-8.534 97.991c-8.391 0-13.37-2.986-16.782-6.684l-.143-52.765c3.698-4.124 8.818-6.968 16.925-6.968c12.942 0 21.902 14.506 21.902 33.137c0 19.058-8.818 33.28-21.902 33.28M241.493 36.551l35.698-7.68V0l-35.698 7.538zm0 10.809h35.698v124.444h-35.698zm-38.257 10.524L200.96 47.36h-30.72v124.444h35.556V87.467c8.39-10.951 22.613-8.96 27.022-7.396V47.36c-4.551-1.707-21.191-4.836-29.582 10.524m-71.112-41.386l-34.702 7.395l-.142 113.92c0 21.05 15.787 36.551 36.836 36.551c11.662 0 20.195-2.133 24.888-4.693V140.8c-4.55 1.849-27.022 8.391-27.022-12.658V77.653h27.022V47.36h-27.022zM35.982 83.484c0-5.546 4.551-7.68 12.09-7.68c10.808 0 24.461 3.272 35.27 9.103V51.484c-11.804-4.693-23.466-6.542-35.27-6.542C19.2 44.942 0 60.018 0 85.192c0 39.252 54.044 32.995 54.044 49.92c0 6.541-5.688 8.675-13.653 8.675c-11.804 0-26.88-4.836-38.827-11.378v33.849c13.227 5.689 26.596 8.106 38.827 8.106c29.582 0 49.92-14.648 49.92-40.106c-.142-42.382-54.329-34.845-54.329-50.774"/></svg>',import:{name:"useScriptStripe",from:await e("./runtime/registry/stripe")}},{label:"Lemon Squeezy",src:!1,category:"payments",logo:'<svg width="21" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m6.929 17.186 7.511 3.472a3.846 3.846 0 0 1 1.943 1.983c.898 2.099-.33 4.246-2.255 5.018-1.926.772-3.979.275-4.912-1.908l-3.27-7.664c-.253-.595.384-1.178.983-.901ZM7.38 14.938l7.753-2.931c2.577-.974 5.392.869 5.354 3.547l-.003.105c-.055 2.608-2.792 4.36-5.312 3.438l-7.786-2.85a.694.694 0 0 1-.007-1.31ZM6.945 13.922l7.622-3.238C17.1 9.607 17.743 6.377 15.76 4.51a9.026 9.026 0 0 0-.078-.073c-1.945-1.805-5.16-1.17-6.267 1.208l-3.42 7.347c-.274.585.343 1.189.951.93ZM4.983 12.643l2.772-7.599a3.678 3.678 0 0 0-.076-2.732C6.78.214 4.344-.464 2.42.31.493 1.083-.595 2.84.34 5.023l3.29 7.656c.255.593 1.132.57 1.352-.036Z" fill="#FFC233"/></svg>',import:{name:"useScriptLemonSqueezy",from:await e("./runtime/registry/lemon-squeezy")}},{label:"PayPal",src:!1,category:"payments",logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.728 190.5" xmlns:v="https://vecta.io/nano"><g transform="translate(898.192 276.071)"><path clip-path="none" d="M-837.663-237.968a5.49 5.49 0 0 0-5.423 4.633l-9.013 57.15-8.281 52.514-.005.044.01-.044 8.281-52.514c.421-2.669 2.719-4.633 5.42-4.633h26.404c26.573 0 49.127-19.387 53.246-45.658.314-1.996.482-3.973.52-5.924v-.003h-.003c-6.753-3.543-14.683-5.565-23.372-5.565z" fill="#001c64"/><path clip-path="none" d="M-766.506-232.402c-.037 1.951-.207 3.93-.52 5.926-4.119 26.271-26.673 45.658-53.246 45.658h-26.404c-2.701 0-4.999 1.964-5.42 4.633l-8.281 52.514-5.197 32.947a4.46 4.46 0 0 0 4.405 5.153h28.66a5.49 5.49 0 0 0 5.423-4.633l7.55-47.881c.423-2.669 2.722-4.636 5.423-4.636h16.876c26.573 0 49.124-19.386 53.243-45.655 2.924-18.649-6.46-35.614-22.511-44.026z" fill="#0070e0"/><path clip-path="none" d="M-870.225-276.071a5.49 5.49 0 0 0-5.423 4.636l-22.489 142.608a4.46 4.46 0 0 0 4.405 5.156h33.351l8.281-52.514 9.013-57.15a5.49 5.49 0 0 1 5.423-4.633h47.782c8.691 0 16.621 2.025 23.375 5.563.46-23.917-19.275-43.666-46.412-43.666z" fill="#003087"/></g></svg>',import:{name:"useScriptPayPal",from:await e("./runtime/registry/paypal")}},{label:"Vimeo Player",category:"video",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="36.74" height="32" viewBox="0 0 256 223"><path fill="#32B8E8" d="M255.876 51.662c-1.139 24.968-18.545 59.157-52.209 102.55c-34.806 45.327-64.254 67.989-88.343 67.989c-14.918 0-27.551-13.799-37.863-41.406c-6.892-25.306-13.775-50.61-20.664-75.915c-7.663-27.592-15.878-41.406-24.661-41.406c-1.915 0-8.617 4.038-20.091 12.081L0 60.008a3257.325 3257.325 0 0 0 37.36-33.38C54.21 12.038 66.86 4.366 75.29 3.59c19.925-1.917 32.187 11.728 36.79 40.938c4.974 31.514 8.415 51.116 10.35 58.788c5.742 26.145 12.06 39.201 18.965 39.201c5.358 0 13.407-8.478 24.138-25.436c10.722-16.963 16.464-29.868 17.24-38.733c1.525-14.638-4.22-21.975-17.24-21.975c-6.128 0-12.447 1.413-18.946 4.206c12.58-41.29 36.618-61.343 72.1-60.199c26.304.773 38.705 17.867 37.19 51.282"/></svg>',import:{name:"useScriptVimeoPlayer",from:await e("./runtime/registry/vimeo-player")}},{label:"YouTube Player",category:"video",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="45.52" height="32" viewBox="0 0 256 180"><path fill="red" d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134"/><path fill="#FFF" d="m102.421 128.06l66.328-38.418l-66.328-38.418z"/></svg>',import:{name:"useScriptYouTubePlayer",from:await e("./runtime/registry/youtube-player")}},{label:"Google Maps",category:"content",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="22.33" height="32" viewBox="0 0 256 367"><path fill="#34A853" d="M70.585 271.865a370.712 370.712 0 0 1 28.911 42.642c7.374 13.982 10.448 23.463 15.837 40.31c3.305 9.308 6.292 12.086 12.714 12.086c6.998 0 10.173-4.726 12.626-12.035c5.094-15.91 9.091-28.052 15.397-39.525c12.374-22.15 27.75-41.833 42.858-60.75c4.09-5.354 30.534-36.545 42.439-61.156c0 0 14.632-27.035 14.632-64.792c0-35.318-14.43-59.813-14.43-59.813l-41.545 11.126l-25.23 66.451l-6.242 9.163l-1.248 1.66l-1.66 2.078l-2.914 3.319l-4.164 4.163l-22.467 18.304l-56.17 32.432z"/><path fill="#FBBC04" d="M12.612 188.892c13.709 31.313 40.145 58.839 58.031 82.995l95.001-112.534s-13.384 17.504-37.662 17.504c-27.043 0-48.89-21.595-48.89-48.825c0-18.673 11.234-31.501 11.234-31.501l-64.489 17.28z"/><path fill="#4285F4" d="M166.705 5.787c31.552 10.173 58.558 31.53 74.893 63.023l-75.925 90.478s11.234-13.06 11.234-31.617c0-27.864-23.463-48.68-48.81-48.68c-23.969 0-37.735 17.475-37.735 17.475v-57z"/><path fill="#1A73E8" d="M30.015 45.765C48.86 23.218 82.02 0 127.736 0c22.18 0 38.89 5.823 38.89 5.823L90.29 96.516H36.205z"/><path fill="#EA4335" d="M12.612 188.892S0 164.194 0 128.414c0-33.817 13.146-63.377 30.015-82.649l60.318 50.759z"/></svg>',import:{name:"useScriptGoogleMaps",from:await e("./runtime/registry/google-maps")}},{label:"Instagram Embed",category:"content",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><g fill="none"><rect width="256" height="256" fill="url(#skillIconsInstagram0)" rx="60"/><rect width="256" height="256" fill="url(#skillIconsInstagram1)" rx="60"/><path fill="#fff" d="M128.009 28c-27.158 0-30.567.119-41.233.604c-10.646.488-17.913 2.173-24.271 4.646c-6.578 2.554-12.157 5.971-17.716 11.531c-5.563 5.559-8.98 11.138-11.542 17.713c-2.48 6.36-4.167 13.63-4.646 24.271c-.477 10.667-.602 14.077-.602 41.236s.12 30.557.604 41.223c.49 10.646 2.175 17.913 4.646 24.271c2.556 6.578 5.973 12.157 11.533 17.716c5.557 5.563 11.136 8.988 17.709 11.542c6.363 2.473 13.631 4.158 24.275 4.646c10.668.485 14.073.604 41.23.604c27.161 0 30.559-.119 41.225-.604c10.646-.488 17.921-2.173 24.284-4.646c6.575-2.554 12.146-5.979 17.702-11.542c5.563-5.559 8.98-11.138 11.542-17.716c2.458-6.358 4.145-13.625 4.646-24.271c.48-10.666.604-14.066.604-41.223s-.124-30.569-.604-41.236c-.501-10.646-2.188-17.911-4.646-24.271c-2.562-6.575-5.979-12.154-11.542-17.713c-5.559-5.56-11.13-8.977-17.716-11.531c-6.375-2.473-13.646-4.158-24.292-4.646C158.57 28.119 155.164 28 128.009 28m-8.868 18.021h8.868c26.695 0 29.855.103 40.41.582c9.751.446 15.042 2.079 18.567 3.454c4.667 1.813 7.992 3.979 11.492 7.48c3.5 3.5 5.666 6.829 7.483 11.496c1.375 3.525 3.012 8.813 3.454 18.563c.479 10.558.588 13.719.588 40.413s-.109 29.854-.588 40.412c-.446 9.75-2.079 15.042-3.454 18.563c-1.813 4.667-3.983 7.992-7.483 11.492a30.94 30.94 0 0 1-11.492 7.479c-3.521 1.379-8.812 3.013-18.567 3.458c-10.554.48-13.711.589-40.41.589c-26.702 0-29.859-.109-40.413-.589c-9.75-.449-15.046-2.079-18.571-3.458c-4.667-1.813-8-3.979-11.5-7.479s-5.666-6.825-7.483-11.496c-1.375-3.521-3.012-8.813-3.454-18.563c-.479-10.558-.583-13.715-.583-40.42c0-26.704.104-29.856.583-40.413c.446-9.75 2.079-15.042 3.454-18.567c1.813-4.667 3.983-7.996 11.5-11.5a30.804 30.804 0 0 1 11.496-7.479c3.525-1.375 8.821-3.013 18.571-3.458c9.238-.421 12.82-.546 31.505-.563zm62.496 16.604c-6.625 0-12 5.37-12 12c0 6.625 5.375 12 12 12c6.625 0 12-5.375 12-12s-5.375-12-12-12m-53.628 14.021c-28.272 0-51.196 22.924-51.196 51.196s22.924 51.2 51.196 51.2c28.271 0 51.2-22.929 51.2-51.2c0-28.272-22.929-51.196-51.2-51.196m0 18.021c18.334 0 33.183 14.846 33.183 33.175c0 18.334-14.849 33.184-33.183 33.184c-18.33 0-33.175-14.85-33.175-33.184c0-18.329 14.845-33.175 33.175-33.175"/><defs><radialGradient id="skillIconsInstagram0" cx="0" cy="0" r="1" gradientTransform="matrix(0 -253.715 235.975 0 68 275.717)" gradientUnits="userSpaceOnUse"><stop stop-color="#FD5"/><stop offset=".1" stop-color="#FD5"/><stop offset=".5" stop-color="#FF543E"/><stop offset="1" stop-color="#C837AB"/></radialGradient><radialGradient id="skillIconsInstagram1" cx="0" cy="0" r="1" gradientTransform="matrix(22.25952 111.2976 -458.39518 91.75449 -42.881 18.441)" gradientUnits="userSpaceOnUse"><stop stop-color="#3771C8"/><stop offset=".128" stop-color="#3771C8"/><stop offset="1" stop-color="#60F" stop-opacity="0"/></radialGradient></defs></g></svg>'},{label:"X Embed",category:"content",logo:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#000" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#fff" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>'}},{label:"Crisp",proxy:"crisp",category:"support",logo:{light:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#1972f5" stroke="#1972f5" stroke-width="2" xlink:href="#b"/></g></svg>',dark:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#fff" stroke="#fff" stroke-width="2" xlink:href="#b"/></g></svg>'},import:{name:"useScriptCrisp",from:await e("./runtime/registry/crisp")}},{label:"NPM",scriptBundling(t){return yu(t?.file||"",`https://unpkg.com/${t?.packageName||""}@${t?.version||"latest"}`)},logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#C12127" d="M0 256V0h256v256z"/><path fill="#FFF" d="M48 48h160v160h-32V80h-48v128H48z"/></svg>',category:"cdn",import:{name:"useScriptNpm",from:await e("./runtime/registry/npm")}},{label:"Google reCAPTCHA",category:"utility",logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64"><path fill="#1c3aa9" d="M64 32a32 32 0 1 1-64 0 32 32 0 0 1 64 0"/><path fill="#4285f4" d="m32 14-2 18 2 2 18-2V14z"/><path fill="#efefef" d="M14 32v18h18l2-2-2-16-16-2z"/><path fill="#f1f1f1" d="M32 32h18v18H32z"/><path fill="#e1e1e1" d="M14 14h18v18H14z"/><path fill="#1c3aa9" d="M32 14v18H14V14z"/><path fill="#4285f4" d="M32 32v18h18V32z"/><path d="M14 32h18v18H14z" fill="#f1f1f1"/><path d="M32 14h18v18H32z" fill="#fff"/></svg>',import:{name:"useScriptGoogleRecaptcha",from:await e("./runtime/registry/google-recaptcha")},scriptBundling(t){return t?.siteKey?`${t?.recaptchaNet?"https://www.recaptcha.net/recaptcha":"https://www.google.com/recaptcha"}/${t?.enterprise?"enterprise.js":"api.js"}`:!1}},{label:"Google Sign-In",src:"https://accounts.google.com/gsi/client",scriptBundling:!1,category:"utility",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 262"><path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/></svg>',import:{name:"useScriptGoogleSignIn",from:await e("./runtime/registry/google-sign-in")}},{label:"Google Tag Manager",category:"tag-manager",proxy:"googleTagManager",import:{name:"useScriptGoogleTagManager",from:await e("./runtime/registry/google-tag-manager")},logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#8AB4F8" d="m150.262 245.516l-44.437-43.331l95.433-97.454l46.007 45.091z"/><path fill="#4285F4" d="M150.45 53.938L106.176 8.731L9.36 104.629c-12.48 12.48-12.48 32.713 0 45.207l95.36 95.986l45.09-42.182l-72.654-76.407z"/><path fill="#8AB4F8" d="m246.625 105.37l-96-96c-12.494-12.494-32.756-12.494-45.25 0c-12.495 12.495-12.495 32.757 0 45.252l96 96c12.494 12.494 32.756 12.494 45.25 0c12.495-12.495 12.495-32.757 0-45.251"/><circle cx="127.265" cy="224.731" r="31.273" fill="#246FDB"/></svg>',scriptBundling(t){return t?.id?Xt("https://www.googletagmanager.com/gtm.js",{id:t.id,l:t.l,gtm_auth:t.auth,gtm_preview:t.preview,gtm_cookies_win:t.cookiesWin?"x":void 0,gtm_debug:t.debug?"x":void 0,gtm_npa:t.npa?"1":void 0,gtm_data_layer:t.dataLayer,gtm_env:t.envName,gtm_auth_referrer_policy:t.authReferrerPolicy}):!1}},{label:"Google Analytics",category:"analytics",proxy:"googleAnalytics",import:{name:"useScriptGoogleAnalytics",from:await e("./runtime/registry/google-analytics")},logo:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="192px" height="192px" viewBox="0 0 192 192" enable-background="new 0 0 192 192" xml:space="preserve"><rect x="0" y="0" fill="none" width="192" height="192"/><g><g><path fill="#F9AB00" d="M130,29v132c0,14.77,10.19,23,21,23c10,0,21-7,21-23V30c0-13.54-10-22-21-22S130,17.33,130,29z"/></g><g><path fill="#E37400" d="M75,96v65c0,14.77,10.19,23,21,23c10,0,21-7,21-23V97c0-13.54-10-22-21-22S75,84.33,75,96z"/></g><g><circle fill="#E37400" cx="41" cy="163" r="21"/></g></g></svg>',scriptBundling(t){return t?.id?Xt("https://www.googletagmanager.com/gtag/js",{id:t?.id,l:t?.l}):!1}},{label:"Umami Analytics",proxy:"umami",scriptBundling:()=>"https://cloud.umami.is/script.js",category:"analytics",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24"><path fill="currentColor" d="M2.203 8.611H.857a.845.845 0 0 0-.841.841v.858a13 13 0 0 0-.016.6c0 6.627 5.373 12 12 12c6.527 0 11.837-5.212 11.996-11.701c0-.025.004-.05.004-.075V9.452a.845.845 0 0 0-.841-.841h-1.346c-1.159-4.329-5.112-7.521-9.805-7.521S3.363 4.282 2.203 8.611m18.444 0H3.37c1.127-3.702 4.57-6.399 8.638-6.399c4.069 0 7.512 2.697 8.639 6.399"/></svg>',import:{name:"useScriptUmamiAnalytics",from:await e("./runtime/registry/umami-analytics")}},{label:"Gravatar",proxy:"gravatar",src:"https://secure.gravatar.com/js/gprofiles.js",category:"utility",logo:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><circle cx="128" cy="128" r="128" fill="#1d4fc4"/><path d="M128 28c-55.2 0-100 44.8-100 100s44.8 100 100 100 100-44.8 100-100S183.2 28 128 28zm0 180c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z" fill="#fff"/></svg>',import:{name:"useScriptGravatar",from:await e("./runtime/registry/gravatar")}}]}function S5(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function k5(e){return rp(e)?new URL(e).origin:e}function A5(e){return e<1e3?e+"ms":e<6e4?(e/1e3).toFixed(2)+"s":(e/6e4).toFixed(2)+"m"}async function E5(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}}).catch(r=>({size:null,error:r}));if(t?.error)return t;if(!t.ok)return{size:null,error:new Error(`Failed to fetch ${t.status} ${t.statusText}`)};const n=await R5(t);return n?{size:T5(n)}:{size:null}}async function R5(e){const t=e.body?.getReader(),n=e.headers.get("Content-Length");if(n)return Number(n);if(!t)return null;let r=0,s=!1;for(;!s;){const o=await t.read();s=o.done,r+=o.value?.length||0}return r>0?r:null}function T5(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}const M5={class:"relative n-bg-base flex flex-col"},L5={class:"sticky top-0 z-2 px-4 pt-4 bg-background/80 backdrop-blur-lg"},P5={class:"flex justify-between items-start",mb2:""},I5={class:"flex space-x-5"},N5={"text-xl":"",flex:"","items-center":"","gap-2":""},O5={class:"flex items-center space-x-3 text-xl"},B5={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},F5={class:"px-5 py-2"},H5={"text-lg":"",flex:"","items-center":""},D5={class:"px-5 py-2"},j5={"text-lg":"",flex:"","items-center":""},G5={class:"px-5 py-2"},U5={"text-lg":"",flex:"","items-center":""},$5={class:"px-5 py-2"},z5={"text-lg":"",flex:"","items-center":""},W5=["value","title"],V5={class:"items-center space-x-3 hidden lg:flex"},q5={class:"opacity-80 text-sm"},K5={class:"flex-row flex h-full",style:{"min-height":"calc(100vh - 64px)"}},X5={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},Z5={key:0,class:"h-full relative max-h-full p-4"},J5={key:0},Y5={class:"space-y-3 divide-y-gray-700"},Q5={class:"flex items-center justify-between w-full gap-7"},e6={class:"flex items-center gap-1"},t6=["src"],n6=["innerHTML"],r6=["src"],s6={key:3},o6=["href"],i6=["onClick"],a6={class:"flex items-center gap-3"},l6={key:0,class:"flex items-center gap-1 text-xs px-2 py-[2px] bg-emerald-100 text-emerald-700 dark:bg-emerald-900 dark:text-emerald-300 rounded-lg"},c6={key:1,class:"flex items-center gap-1"},u6={class:"text-xs opacity-50"},f6={class:"capitalize"},h6={class:"mt-4"},d6={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},p6=["onClick"],g6=["value","name","checked"],m6={class:"mt-2"},y6={key:0,class:"space-y-2 p-3"},b6={class:"opacity-40"},w6={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},_6={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},v6={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},C6={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},x6={key:4,class:"flex items-center gap-2"},S6={class:"font-bold px-2 py-[2px] bg-purple-100 text-purple-700 rounded-lg"},k6={key:1,class:"px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg font-mono"},A6={key:2,class:"px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg font-mono"},E6={key:1,class:"space-y-3 p-3"},R6={key:1,class:"h-full relative max-h-full p-4"},T6={class:"space-y-6"},M6={class:"flex items-center gap-3"},L6={class:"font-semibold text-lg"},P6={class:"text-sm text-gray-600 dark:text-gray-400"},I6={key:0,class:"space-y-4"},N6={class:"rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden"},O6={class:"px-4 py-3 bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700"},B6={class:"font-medium flex items-center gap-2"},F6={class:"p-4"},H6={key:0,class:"flex flex-wrap gap-2"},D6={key:1,class:"text-gray-500 text-sm"},j6={class:"rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden"},G6={class:"px-4 py-3 bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700"},U6={class:"font-medium flex items-center gap-2"},$6={class:"divide-y divide-gray-100 dark:divide-gray-800"},z6={class:"text-blue-600 dark:text-blue-400"},W6={class:"text-gray-600 dark:text-gray-400"},V6={class:"rounded-lg border border-gray-200 dark:border-gray-700 p-4"},q6={class:"flex items-center justify-between"},K6={class:"px-3 py-1 bg-gray-100 dark:bg-gray-800 rounded text-sm"},X6={class:"rounded-lg border border-gray-200 dark:border-gray-700 p-4"},Z6={class:"space-y-2 text-sm text-gray-600 dark:text-gray-400"},J6={class:"flex items-center gap-2"},Y6={class:"flex items-center gap-2"},Q6={class:"flex items-center gap-2"},e8={class:"flex items-center gap-2"},t8={key:2,class:"h-full relative max-h-full p-4"},n8={key:0},r8={class:"space-y-4"},s8={class:"flex items-start justify-between"},o8={class:"flex items-center gap-3"},i8=["src"],a8=["innerHTML"],l8={key:2,class:"flex items-center max-w-8 h-8"},c8={class:"font-semibold text-lg"},u8={class:"text-sm text-gray-600 dark:text-gray-400"},f8={class:"flex items-center gap-2 mt-2"},h8={class:"text-xs px-2 py-1 bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300 rounded"},d8={key:0,class:"text-xs text-gray-500"},p8={class:"flex flex-col items-end gap-2"},g8=["href"],m8={class:"mt-4"},y8={key:3,class:"h-full max-h-full overflow-hidden"},b8=It({__name:"app",async setup(e){let t,n;[t,n]=ma(()=>m5()),await t,n();const r=([t,n]=ma(()=>x5()),t=await t,n(),t),s=ze({}),o=at({}),i=at({}),a=at({});function l(w){return a[w]||"events"}function u(w,b){a[w]=b}function c(w,b){const k=b.toString(),U=k.match(/\(([^)]*)\)/)?.[1]?.trim()||"",z=U?U.split(",").map((te,Y)=>{const re=te.trim();return re?re.includes(":")?re:`${re||`param${Y+1}`}: any`:""}).filter(Boolean).join(", "):"";let N="any";return w.startsWith("is")||w.startsWith("has")||w.startsWith("can")?N="boolean":w.startsWith("get")&&w.includes("Element")?N="HTMLElement | null":w.includes("async")||k.includes("async")||k.includes("Promise")?N="Promise<any>":(w.startsWith("on")||w.includes("listen")||w.includes("subscribe"))&&(N="void"),`${w}(${z}): ${N}`}function f(w,b){let k=typeof b;if(b===null)k="null";else if(Array.isArray(b))if(b.length>0){const L=typeof b[0];b.every(z=>typeof z===L)?k=`${L}[]`:k="any[]"}else k="any[]";else k==="object"?b.constructor&&b.constructor.name!=="Object"?k=b.constructor.name:k="object":k==="function"&&(k="Function");return`${w}: ${k}`}function h(w){if(!w||typeof w!="object")return`interface ScriptInstance {
|
|
156
|
+
// No API available
|
|
157
|
+
}`;const b=[];return Object.entries(w).forEach(([k,L])=>{typeof L=="function"?b.push(` ${c(k,L)}`):b.push(` ${f(k,L)}`)}),b.length===0?`interface ScriptInstance {
|
|
158
|
+
// No API available
|
|
159
|
+
}`:`interface ScriptInstance {
|
|
160
|
+
${b.join(`
|
|
161
|
+
`)}
|
|
162
|
+
}`}function d(w){if(!w||typeof w!="object"){s.value={};return}s.value=Object.fromEntries(Object.entries({...w}).map(([b,k])=>{if(k.registry=r.find(N=>p(N.label)===k.registryKey),k.registry){const N=k.registry.label.toLowerCase().replace(/ /g,"-");k.docs=`https://scripts.nuxt.com/scripts/${N}`}const L=k.events?.find(N=>N.status==="loading")?.at||0,U=k.events?.find(N=>N.status==="loaded")?.at||0;L&&U&&(k.loadTime=A5(U-L));const z=k.src;return!o[z]&&k.src&&E5(k.src).then(N=>{N.size&&(o[z]=N.size,k.size=N.size),N.error&&(i[z]=N.error,k.error=N.error)}),[b,k]}))}function p(w){return w.replace(/([\s_-])+/g," ").split(" ").map((b,k)=>k===0?b.toLowerCase():b.charAt(0).toUpperCase()+b.slice(1).toLowerCase()).join("")}const g=ze(null),v=ze(null);C5(async w=>{Qf.value=w.devtools,w.host.nuxt.hooks.hook("scripts:updated",b=>{d(b.scripts)}),g.value=w.host.nuxt.$config.public["nuxt-scripts"].version,v.value=w.host.nuxt.$config.public["nuxt-scripts-status"]||null,d(w.host.nuxt._scripts||{})});const _=ze("scripts");function x(w){return!w||!v.value?.enabled?!1:v.value.scripts.includes(w)}function m(w){_.value="docs",setTimeout(()=>{const b=document.querySelector("iframe");b&&(b.src=w)},100)}return(w,b)=>{const k=_g,L=Gu,U=To("VTooltip"),z=Eg,N=Rg,te=Pg,Y=Bg,re=Dg,oe=_5;return D(),W("div",M5,[P("header",L5,[P("div",P5,[P("div",I5,[P("h1",N5,[b[1]||(b[1]=Xd('<a href="https://scripts.nuxt.com" target="_blank" class="flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"><svg height="22" color="text-black dark:text-white" viewBox="0 0 1467 238" fill="none" xmlns="http://www.w3.org/2000/svg"><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="M893.083 200C882.767 200 873.691 198.288 865.856 194.368C858.021 190.319 851.818 184.701 847.248 177.516C842.808 170.2 840.392 161.708 840 152.041H868.207C868.86 159.096 871.341 164.648 875.65 168.698C880.09 172.747 885.901 174.772 893.083 174.772C899.743 174.772 905.032 173.401 908.95 170.657C912.998 167.914 915.022 163.995 915.022 158.9C915.022 155.372 913.847 152.564 911.496 150.473C909.276 148.252 906.468 146.554 903.073 145.378C899.678 144.203 894.846 142.831 888.578 141.263C879.307 139.042 871.667 136.691 865.66 134.209C859.784 131.596 854.691 127.481 850.382 121.863C846.072 116.245 843.918 108.538 843.918 98.7396C843.918 91.2931 845.942 84.6305 849.99 78.7516C854.038 72.8728 859.653 68.3004 866.836 65.0344C874.018 61.6377 882.179 59.9394 891.32 59.9394C901.114 59.9394 909.733 61.7031 917.177 65.2303C924.751 68.7576 930.627 73.7873 934.806 80.3193C939.115 86.8514 941.4 94.4285 941.662 103.051H913.651C913.128 97.5639 910.908 93.2527 906.991 90.1174C903.073 86.8513 897.85 85.2183 891.32 85.2183C885.575 85.2183 881.004 86.4594 877.609 88.9416C874.214 91.4238 872.516 94.6898 872.516 98.7396C872.516 102.528 873.691 105.533 876.042 107.754C878.392 109.975 881.396 111.738 885.052 113.045C888.709 114.221 893.736 115.527 900.135 116.964C909.537 119.185 917.177 121.471 923.053 123.823C928.929 126.174 933.957 130.159 938.136 135.776C942.445 141.263 944.6 148.84 944.6 158.508C944.6 166.999 942.445 174.38 938.136 180.651C933.826 186.922 927.754 191.756 919.919 195.152C912.214 198.549 903.269 200 893.083 200Z" fill="#00DC82"></path><path d="M1005.43 200C995.507 200 986.519 198.026 978.684 193.585C970.98 189.143 964.973 183.068 960.663 175.36C956.485 167.522 954.395 158.834 954.395 149.298C954.395 139.761 956.485 131.138 960.663 123.431C964.973 115.592 970.98 109.452 978.684 105.01C986.519 100.569 995.399 98.3477 1005.32 98.3477C1013.94 98.3477 1021.78 99.9807 1028.83 103.247C1036.01 106.513 1041.76 111.085 1046.07 116.964C1050.51 122.843 1052.99 129.505 1053.51 136.952H1026.09C1025.3 132.51 1023.02 128.852 1019.23 125.978C1015.44 123.104 1011.07 121.667 1006.11 121.667C998.925 121.667 993.245 124.215 989.066 129.31C984.887 134.404 982.798 141.067 982.798 149.298C982.798 157.528 984.887 164.191 989.066 169.285C993.375 174.25 999.186 176.732 1006.5 176.732C1011.46 176.732 1015.77 175.36 1019.43 172.617C1023.08 169.873 1025.43 166.281 1026.48 161.839H1054.29C1053.38 169.024 1050.64 175.556 1046.07 181.435C1041.5 187.314 1035.62 191.952 1028.44 195.348C1021.39 198.614 1013.79 200 1005.43 200Z" fill="#00DC82"></path><path d="M1115.15 122.647C1108.62 122.647 1103.72 125.129 1100.46 130.093C1097.2 135.058 1095.56 141.916 1095.56 150.669V200H1068.14V99.9154H1095.56V116.376C1098.17 110.367 1101.37 106.121 1105.16 103.639C1109.08 101.156 1114.11 99.9154 1120.24 99.9154H1131.41V122.647H1115.15Z" fill="#00DC82"></path><path d="M1171.5 200H1144.08V99.9154H1171.5V200ZM1143.3 85.8062V58H1172.29V85.8062H1143.3Z" fill="#00DC82"></path><path d="M1193.09 238V99.9154H1220.32V110.693C1223.32 106.774 1227.24 103.769 1232.07 101.679C1236.9 99.4582 1242.45 98.3477 1248.72 98.3477C1257.86 98.3477 1265.82 100.438 1272.62 104.618C1279.41 108.799 1284.63 114.743 1288.29 122.451C1292.07 130.159 1293.97 139.108 1293.97 149.298C1293.97 159.487 1291.94 168.436 1287.89 176.144C1283.98 183.721 1278.43 189.665 1271.24 193.977C1264.06 198.157 1255.73 200 1246.33 200C1240.72 200 1235.66 199.333 1231.09 197.504C1226.52 195.675 1222.93 193.127 1220.32 189.861V238H1193.09ZM1243.04 176.732C1250.22 176.732 1256.03 174.25 1260.47 169.285C1264.91 164.191 1267.13 157.528 1267.13 149.298C1267.13 140.937 1264.91 134.274 1260.47 129.31C1256.03 124.215 1250.22 121.667 1243.04 121.667C1235.72 121.667 1229.85 124.215 1225.41 129.31C1220.97 134.274 1218.75 140.937 1218.75 149.298C1218.75 157.528 1220.97 164.191 1225.41 169.285C1229.85 174.25 1235.72 176.732 1243.04 176.732Z" fill="#00DC82"></path><path d="M1319.6 70.7172H1346.83V99.9154H1373.27V122.647H1346.83V163C1346.83 172.406 1351.46 177.109 1360.74 177.109H1373.27V200.037H1357.01C1345.52 200.037 1336.38 196.901 1329.59 190.63C1322.93 184.36 1319.6 175.541 1319.6 164.176V122.647H1300.6V99.9154H1319.6V70.7172Z" fill="#00DC82"></path><path d="M1428.61 200C1416.46 200 1406.6 197.112 1399.03 190.841C1391.59 184.44 1387.6 175.948 1387.08 165.366H1410.59C1411.11 169.808 1412.94 173.335 1416.07 175.948C1419.34 178.43 1423.51 179.671 1428.61 179.671C1432.79 179.671 1436.18 178.757 1438.79 176.928C1441.54 175.099 1442.91 172.813 1442.91 170.069C1442.91 166.411 1441.34 163.864 1438.21 162.427C1435.07 160.99 1430.11 159.683 1423.32 158.508C1416.27 157.201 1410.52 155.764 1406.08 154.197C1401.64 152.629 1397.79 149.82 1394.52 145.77C1391.39 141.59 1389.82 135.711 1389.82 128.134C1389.82 122.386 1391.33 117.291 1394.33 112.849C1397.46 108.276 1401.71 104.749 1407.06 102.267C1412.41 99.6541 1418.42 98.3477 1425.08 98.3477C1436.97 98.3477 1446.56 101.287 1453.88 107.166C1461.32 113.045 1465.3 120.818 1465.82 130.485H1442.12C1441.6 126.435 1439.71 123.3 1436.44 121.079C1433.31 118.728 1429.78 117.552 1425.87 117.552C1421.95 117.552 1418.81 118.401 1416.46 120.099C1414.11 121.798 1412.94 124.149 1412.94 127.154C1412.94 130.812 1414.44 133.294 1417.44 134.6C1420.58 135.776 1425.47 136.821 1432.13 137.736C1439.32 138.781 1445.19 140.087 1449.76 141.655C1454.46 143.092 1458.51 145.966 1461.91 150.277C1465.3 154.588 1467 160.859 1467 169.09C1467 178.496 1463.47 186.073 1456.42 191.821C1449.5 197.439 1440.23 200 1428.61 200Z" fill="#00DC82"></path></svg></a>',1)),X(k,{class:"text-sm"},{default:Fe(()=>[ve(" v"+ie(q(g)||""),1)]),_:1})])]),P("div",O5,[P("fieldset",B5,[(D(),W(ye,null,Ot(["scripts","first-party","registry","docs"],(A,j)=>P("label",{key:j,class:Pe(["relative n-border-base hover:n-bg-active cursor-pointer",[j?"border-l n-border-base ml--1px":"",A===q(_)?"n-bg-active":""]])},[A==="scripts"?(D(),W("div",{key:0,class:Pe([A===q(_)?"":"op35"])},[X(U,null,{popper:Fe(()=>[...b[2]||(b[2]=[ve(" Scripts ",-1)])]),default:Fe(()=>[P("div",F5,[P("h2",H5,[X(L,{icon:"carbon:script opacity-50"})])])]),_:1})],2)):A==="first-party"?(D(),W("div",{key:1,class:Pe([A===q(_)?"":"op35"])},[X(U,null,{popper:Fe(()=>[...b[3]||(b[3]=[ve(" First-Party Mode ",-1)])]),default:Fe(()=>[P("div",D5,[P("h2",j5,[X(L,{icon:"carbon:security opacity-50"})])])]),_:1})],2)):A==="registry"?(D(),W("div",{key:2,class:Pe([A===q(_)?"":"op35"])},[X(U,null,{popper:Fe(()=>[...b[4]||(b[4]=[ve(" Registry ",-1)])]),default:Fe(()=>[P("div",G5,[P("h2",U5,[X(L,{icon:"carbon:catalog opacity-50"})])])]),_:1})],2)):A==="docs"?(D(),W("div",{key:3,class:Pe([A===q(_)?"":"op35"])},[X(U,null,{popper:Fe(()=>[...b[5]||(b[5]=[ve(" Documentation ",-1)])]),default:Fe(()=>[P("div",$5,[P("h2",z5,[X(L,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Be("",!0),Zh(P("input",{"onUpdate:modelValue":b[0]||(b[0]=B=>_e(_)?_.value=B:null),type:"radio",value:A,title:A,class:"absolute cursor-pointer inset-0 op-0.1"},null,8,W5),[[A1,q(_)]])],2)),64))])]),P("div",V5,[P("div",q5,[X(z,{href:"https://github.com/nuxt/scripts",target:"_blank"},{default:Fe(()=>[X(L,{icon:"logos:github-icon",class:"mr-[2px]"}),b[6]||(b[6]=ve(" Submit an issue ",-1))]),_:1})])])])]),P("div",K5,[P("main",X5,[q(_)==="scripts"?(D(),W("div",Z5,[Object.keys(q(s)||{}).length?Be("",!0):(D(),W("div",J5,[...b[7]||(b[7]=[P("div",null,"No scripts loaded.",-1)])])),P("div",Y5,[(D(!0),W(ye,null,Ot(q(s),(A,j)=>(D(),W("div",{key:j,class:"w-full"},[P("div",null,[P("div",Q5,[P("div",e6,[A.registry?.logo&&typeof A.registry.logo=="string"&&A.registry.logo.startsWith("http")?(D(),W("img",{key:0,class:"flex items-center max-w-6 h-6",src:typeof A.registry.logo=="object"?A.registry.logo.dark||A.registry.logo.light:A.registry.logo,alt:"Script logo"},null,8,t6)):A.registry&&A.registry.logo?(D(),W("div",{key:1,class:"flex items-center max-w-6 h-6",innerHTML:typeof A.registry.logo=="object"?A.registry.logo.dark||A.registry.logo.light:A.registry.logo},null,8,n6)):A.src&&!A.src.startsWith("/")?(D(),W("img",{key:2,src:`https://www.google.com/s2/favicons?domain=${q(k5)(A.src)}`,class:"w-4 h-4 rounded-lg",alt:"Script favicon"},null,8,r6)):(D(),W("div",s6,[X(L,{icon:"carbon:script",class:"text-blue-300"})])),P("a",{title:"View script source",class:"text-base hover:bg-gray-800/50 px-2 transition py-1 rounded-xl font-semibold flex gap-2 items-center",target:"_blank",href:A.src},ie(A.registry?.label||A.key||A.src),9,o6),A.docs?(D(),W("button",{key:4,type:"button",class:"ml-2 opacity-50 hover:opacity-70 transition text-xs underline",onClick:B=>m(A.docs)}," View docs ",8,i6)):Be("",!0)]),P("div",null,[A.$script.status==="awaitingLoad"?(D(),et(N,{key:0,onClick:B=>A.$script.load()},{default:Fe(()=>[...b[8]||(b[8]=[ve(" Load ",-1)])]),_:1},8,["onClick"])):A.$script.status==="loaded"?(D(),et(N,{key:1,onClick:B=>A.$script.remove()},{default:Fe(()=>[...b[9]||(b[9]=[ve(" Remove ",-1)])]),_:1},8,["onClick"])):Be("",!0)])]),P("div",a6,[X(te,{status:A.$script.status,error:q(i)[A.src]},null,8,["status","error"]),x(A.registryKey)?(D(),W("div",l6,[X(L,{icon:"carbon:security",class:"text-xs"}),b[10]||(b[10]=ve(" First-Party ",-1))])):Be("",!0),X(Y,{size:q(o)[A.src]},null,8,["size"]),X(re,{"load-time":A.loadTime},null,8,["load-time"]),A.loadedFrom?(D(),W("div",c6,[b[11]||(b[11]=P("svg",{xmlns:"http://www.w3.org/2000/svg",height:"12",viewBox:"0 0 256 221"},[P("path",{fill:"#41B883",d:"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z"}),P("path",{fill:"#41B883",d:"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z"}),P("path",{fill:"#35495E",d:"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z"})],-1)),P("span",u6,ie(A.loadedFrom),1)])):Be("",!0),(D(!0),W(ye,null,Ot(Object.keys(A.registryMeta||{}),B=>(D(),W("div",{key:B,class:"text-xs text-gray-500"},[P("span",f6,ie(B),1),ve(": "+ie(A.registryMeta[B]),1)]))),128))])]),P("div",h6,[P("fieldset",d6,[(D(),W(ye,null,Ot([{label:"Events",value:"events"},{label:"API",value:"api"}],(B,$)=>P("label",{key:B.value,class:Pe(["cursor-pointer flex items-center gap-2 px-4 py-2 transition-all",[$?"border-l n-border-base ml--1px":"",l(A.src)===B.value?"n-bg-active":""]]),onClick:le=>u(A.src,B.value)},[ve(ie(B.label)+" ",1),P("input",{value:B.value,type:"radio",name:`script-tab-${A.src}`,checked:l(A.src)===B.value,class:"sr-only"},null,8,g6)],10,p6)),64))]),P("div",m6,[l(A.src)==="events"?(D(),W("div",y6,[(D(!0),W(ye,null,Ot(A.events,(B,$)=>(D(),W("div",{key:$,class:"flex gap-3 text-xs justify-start items-center"},[P("div",b6,ie(q(S5)(B.at)),1),B.type==="status"?(D(),W(ye,{key:0},[B.status==="loaded"?(D(),W("div",w6,ie(B.status),1)):B.status==="awaitingLoad"?(D(),W("div",_6,ie(B.status),1)):B.status==="removed"||B.status==="error"?(D(),W("div",v6,ie(B.status),1)):B.status==="loading"?(D(),W("div",C6,ie(B.status),1)):B.status==="validation-failed"?(D(),W("div",x6,[P("div",S6,ie(B.status),1),ve(" "+ie(B.args.issues.map(le=>`${$}.${le.path?.map(un=>un.key).join(",")}: ${le.message}`).join(",")),1)])):Be("",!0)],64)):B.type==="fn-call"&&B.args?(D(),W("div",k6,ie(`${B.fn}(${B.args?.map(le=>JSON.stringify(le,null,2)).join(", ")||""})`),1)):B.type==="fn-call"&&!B.args?(D(),W("div",A6," QUEUED "+ie(B.fn),1)):Be("",!0)]))),128))])):l(A.src)==="api"?(D(),W("div",E6,[X(oe,{code:h(A.$script?.instance),lang:"typescript",class:"text-sm p-3 rounded"},null,8,["code"])])):Be("",!0)])])]))),128))])])):q(_)==="first-party"?(D(),W("div",R6,[P("div",T6,[P("div",{class:Pe(["p-4 rounded-lg",q(v)?.enabled?"bg-emerald-50 dark:bg-emerald-900/30 border border-emerald-200 dark:border-emerald-800":"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700"])},[P("div",M6,[P("div",{class:Pe(["w-10 h-10 rounded-full flex items-center justify-center",q(v)?.enabled?"bg-emerald-100 dark:bg-emerald-900":"bg-gray-200 dark:bg-gray-700"])},[X(L,{icon:q(v)?.enabled?"carbon:checkmark-filled":"carbon:close-filled",class:Pe(q(v)?.enabled?"text-emerald-600 dark:text-emerald-400 text-xl":"text-gray-500 text-xl")},null,8,["icon","class"])],2),P("div",null,[P("h3",L6," First-Party Mode "+ie(q(v)?.enabled?"Enabled":"Disabled"),1),P("p",P6,ie(q(v)?.enabled?"Scripts are routed through your domain for improved privacy":"Enable in nuxt.config: scripts.firstParty: true"),1)])])],2),q(v)?.enabled?(D(),W("div",I6,[P("div",N6,[P("div",O6,[P("h4",B6,[X(L,{icon:"carbon:script",class:"opacity-50"}),ve(" Proxied Scripts ("+ie(q(v).scripts.length)+") ",1)])]),P("div",F6,[q(v).scripts.length?(D(),W("div",H6,[(D(!0),W(ye,null,Ot(q(v).scripts,A=>(D(),W("span",{key:A,class:"px-3 py-1 bg-emerald-100 dark:bg-emerald-900/50 text-emerald-700 dark:text-emerald-300 rounded-full text-sm"},ie(A),1))),128))])):(D(),W("div",D6," No scripts configured in registry "))])]),P("div",j6,[P("div",G6,[P("h4",U6,[X(L,{icon:"carbon:arrows-horizontal",class:"opacity-50"}),ve(" Proxy Routes ("+ie(Object.keys(q(v).routes).length)+") ",1)])]),P("div",$6,[(D(!0),W(ye,null,Ot(q(v).routes,(A,j)=>(D(),W("div",{key:j,class:"px-4 py-3 flex items-center gap-3 text-sm font-mono"},[P("span",z6,ie(j),1),X(L,{icon:"carbon:arrow-right",class:"opacity-30"}),P("span",W6,ie(A),1)]))),128))])]),P("div",V6,[P("div",q6,[b[12]||(b[12]=P("div",null,[P("h4",{class:"font-medium"}," Collection Prefix "),P("p",{class:"text-sm text-gray-500"}," Base path for proxy endpoints ")],-1)),P("code",K6,ie(q(v).collectPrefix),1)])])])):Be("",!0),P("div",X6,[b[17]||(b[17]=P("h4",{class:"font-medium mb-3"}," Privacy Benefits ",-1)),P("ul",Z6,[P("li",J6,[X(L,{icon:"carbon:checkmark",class:"text-emerald-500"}),b[13]||(b[13]=ve(" User IPs stay private (third parties see your server's IP) ",-1))]),P("li",Y6,[X(L,{icon:"carbon:checkmark",class:"text-emerald-500"}),b[14]||(b[14]=ve(" No third-party cookies (requests are same-origin) ",-1))]),P("li",Q6,[X(L,{icon:"carbon:checkmark",class:"text-emerald-500"}),b[15]||(b[15]=ve(" Works with ad blockers (requests appear first-party) ",-1))]),P("li",e8,[X(L,{icon:"carbon:checkmark",class:"text-emerald-500"}),b[16]||(b[16]=ve(" Faster loads (no extra DNS lookups) ",-1))])])]),b[18]||(b[18]=P("div",{class:"text-center"},[P("a",{href:"https://scripts.nuxt.com/docs/guides/first-party",target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View First-Party Mode Documentation ")],-1))])])):q(_)==="registry"?(D(),W("div",t8,[!q(r)||!q(r).length?(D(),W("div",n8,[...b[19]||(b[19]=[P("div",null,"No registry scripts available.",-1)])])):Be("",!0),P("div",r8,[(D(!0),W(ye,null,Ot(q(r),(A,j)=>(D(),W("div",{key:j,class:"rounded-lg p-4 hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"},[P("div",s8,[P("div",o8,[A.logo&&typeof A.logo=="string"&&A.logo.startsWith("http")?(D(),W("img",{key:0,class:"flex items-center max-w-8 h-8",src:typeof A.logo=="object"?A.logo.dark||A.logo.light:A.logo,alt:"Script logo"},null,8,i8)):A.logo?(D(),W("div",{key:1,class:"flex items-center max-w-8 h-8",innerHTML:typeof A.logo=="object"?A.logo.dark||A.logo.light:A.logo},null,8,a8)):(D(),W("div",l8,[X(L,{icon:"carbon:script",class:"text-blue-300 text-2xl"})])),P("div",null,[P("h3",c8,ie(A.label),1),P("p",u8,ie(A.description),1),P("div",f8,[P("span",h8,ie(A.category),1),A.src?(D(),W("span",d8,ie(A.src),1)):Be("",!0)])])]),P("div",p8,[P("a",{href:`https://scripts.nuxt.com/scripts/${A.label.toLowerCase().replace(/ /g,"-")}`,target:"_blank",class:"text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 underline"}," View docs ",8,g8)])]),P("div",m8,[X(oe,{code:`const script = use${A.label.replace(/\s+/g,"")}()`,lang:"typescript",class:"text-sm rounded"},null,8,["code"])])]))),128))])])):q(_)==="docs"?(D(),W("div",y8,[...b[20]||(b[20]=[P("iframe",{src:"https://scripts.nuxt.com/docs/getting-started",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)])])):Be("",!0)])])])}}}),w8={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,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,c=s?da(()=>vn(()=>import("./9LJPrOyI.js"),__vite__mapDeps([0,1,2]),import.meta.url)):da(()=>vn(()=>import("./DMlY-BNa.js"),__vite__mapDeps([3,1,4]),import.meta.url));return(f,h)=>(D(),et(q(c),dh(su({status:q(r),statusText:q(o),statusCode:q(r),statusMessage:q(o),description:q(i),stack:q(a)})),null,16))}},_8={key:0},Ul={__name:"nuxt-root",setup(e){const t=()=>null,n=Ae(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);_t().beforeEach(u)}const s=!1;Cc(Ru,Bi()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=Fi(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Tc((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(r0(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>t0(u)),!1});const l=!1;return(u,c)=>(D(),et(Ud,{onResolve:q(r)},{default:Fe(()=>[q(i)?(D(),W("div",_8)):q(o)?(D(),et(q(w8),{key:1,error:q(o)},null,8,["error"])):q(l)?(D(),et(q(t),{key:2,context:q(l)},null,8,["context"])):q(s)?(D(),et(md(q(s)),{key:3})):(D(),et(q(b8),{key:4}))]),_:1},8,["onResolve"]))}};let $l;{let e;$l=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?L1(Ul):M1(Ul),s=$p({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Hi(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Ua.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Ua.id)?.remove()});try{await Vp(s,gg)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(jp),await s.hooks.callHook("app:mounted",r),await bc()}catch(i){o(i)}return r},e=$l().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{mg as _,P as a,X as b,W as c,ve as d,$u as e,Ae as f,Bu as g,xi as h,kn as i,D as o,ie as t,C8 as u,Fe as w};
|