82 lines
149 KiB
JavaScript
82 lines
149 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
|
* @vue/shared v3.5.22
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ir(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},ln=[],mt=()=>{},Co=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lr=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Mr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ga=Object.prototype.hasOwnProperty,ne=(e,t)=>ga.call(e,t),B=Array.isArray,an=e=>Kn(e)==="[object Map]",As=e=>Kn(e)==="[object Set]",yi=e=>Kn(e)==="[object Date]",V=e=>typeof e=="function",_e=e=>typeof e=="string",bt=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Oo=e=>(ce(e)||V(e))&&V(e.then)&&V(e.catch),Po=Object.prototype.toString,Kn=e=>Po.call(e),ma=e=>Kn(e).slice(8,-1),Io=e=>Kn(e)==="[object Object]",Dr=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,On=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ba=/-\w/g,Qe=Rs(e=>e.replace(ba,t=>t.slice(1).toUpperCase())),_a=/\B([A-Z])/g,Qt=Rs(e=>e.replace(_a,"-$1").toLowerCase()),Cs=Rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),qs=Rs(e=>e?`on${Cs(e)}`:""),Bt=(e,t)=>!Object.is(e,t),ls=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Lo=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let wi;const Os=()=>wi||(wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nr(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=_e(s)?Sa(s):Nr(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(_e(e)||ce(e))return e}const xa=/;(?![^(]*\))/g,ya=/:([^]+)/,wa=/\/\*[^]*?\*\//g;function Sa(e){const t={};return e.replace(wa,"").split(xa).forEach(n=>{if(n){const s=n.split(ya);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function cn(e){let t="";if(_e(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=cn(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ka="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",va=Ir(ka);function Do(e){return!!e||e===""}function Ea(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ps(e[s],t[s]);return n}function Ps(e,t){if(e===t)return!0;let n=yi(e),s=yi(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=bt(e),s=bt(t),n||s)return e===t;if(n=B(e),s=B(t),n||s)return n&&s?Ea(e,t):!1;if(n=ce(e),s=ce(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Ps(e[o],t[o]))return!1}}return String(e)===String(t)}function Ta(e,t){return e.findIndex(n=>Ps(n,t))}const No=e=>!!(e&&e.__v_isRef===!0),ht=e=>_e(e)?e:e==null?"":B(e)||ce(e)&&(e.toString===Po||!V(e.toString))?No(e)?ht(e.value):JSON.stringify(e,$o,2):String(e),$o=(e,t)=>No(t)?$o(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ks(s,i)+" =>"]=r,n),{})}:As(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ks(n))}:bt(t)?Ks(t):ce(t)&&!B(t)&&!Io(t)?String(t):t,Ks=(e,t="")=>{var n;return bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.22
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let je;class Aa{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=je,!t&&je&&(this.index=(je.scopes||(je.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=je;try{return je=this,t()}finally{je=n}}}on(){++this._on===1&&(this.prevScope=je,je=this)}off(){this._on>0&&--this._on===0&&(je=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ra(){return je}let fe;const Ys=new WeakSet;class Fo{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,je&&je.active&&je.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ys.has(this)&&(Ys.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||zo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Si(this),Uo(this);const t=fe,n=it;fe=this,it=!0;try{return this.fn()}finally{Bo(this),fe=t,it=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hr(t);this.deps=this.depsTail=void 0,Si(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ys.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){pr(this)&&this.run()}get dirty(){return pr(this)}}let Ho=0,Pn,In;function zo(e,t=!1){if(e.flags|=8,t){e.next=In,In=e;return}e.next=Pn,Pn=e}function $r(){Ho++}function Fr(){if(--Ho>0)return;if(In){let t=In;for(In=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Pn;){let t=Pn;for(Pn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bo(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Hr(s),Ca(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function pr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Un)||(e.globalVersion=Un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!pr(e))))return;e.flags|=2;const t=e.dep,n=fe,s=it;fe=e,it=!0;try{Uo(e);const r=e.fn(e._value);(t.version===0||Bt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,it=s,Bo(e),e.flags&=-3}}function Hr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Hr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ca(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 Wo=[];function It(){Wo.push(it),it=!1}function Lt(){const e=Wo.pop();it=e===void 0?!0:e}function Si(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let Un=0;class Oa{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 zr{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(!fe||!it||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new Oa(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,Vo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,Un++,this.notify(t)}notify(t){$r();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Fr()}}}function Vo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Vo(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const hr=new WeakMap,Zt=Symbol(""),dr=Symbol(""),Bn=Symbol("");function Re(e,t,n){if(it&&fe){let s=hr.get(e);s||hr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new zr),r.map=s,r.key=n),r.track()}}function At(e,t,n,s,r,i){const o=hr.get(e);if(!o){Un++;return}const l=a=>{a&&a.trigger()};if($r(),t==="clear")o.forEach(l);else{const a=B(e),c=a&&Dr(n);if(a&&n==="length"){const u=Number(s);o.forEach((p,g)=>{(g==="length"||g===Bn||!bt(g)&&g>=u)&&l(p)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(Bn)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Zt)),an(e)&&l(o.get(dr)));break;case"delete":a||(l(o.get(Zt)),an(e)&&l(o.get(dr)));break;case"set":an(e)&&l(o.get(Zt));break}}Fr()}function sn(e){const t=te(e);return t===e?t:(Re(t,"iterate",Bn),Xe(e)?t:t.map(Ee))}function Is(e){return Re(e=te(e),"iterate",Bn),e}const Pa={__proto__:null,[Symbol.iterator](){return Zs(this,Symbol.iterator,Ee)},concat(...e){return sn(this).concat(...e.map(t=>B(t)?sn(t):t))},entries(){return Zs(this,"entries",e=>(e[1]=Ee(e[1]),e))},every(e,t){return kt(this,"every",e,t,void 0,arguments)},filter(e,t){return kt(this,"filter",e,t,n=>n.map(Ee),arguments)},find(e,t){return kt(this,"find",e,t,Ee,arguments)},findIndex(e,t){return kt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return kt(this,"findLast",e,t,Ee,arguments)},findLastIndex(e,t){return kt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return kt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return sn(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return kt(this,"map",e,t,void 0,arguments)},pop(){return _n(this,"pop")},push(...e){return _n(this,"push",e)},reduce(e,...t){return ki(this,"reduce",e,t)},reduceRight(e,...t){return ki(this,"reduceRight",e,t)},shift(){return _n(this,"shift")},some(e,t){return kt(this,"some",e,t,void 0,arguments)},splice(...e){return _n(this,"splice",e)},toReversed(){return sn(this).toReversed()},toSorted(e){return sn(this).toSorted(e)},toSpliced(...e){return sn(this).toSpliced(...e)},unshift(...e){return _n(this,"unshift",e)},values(){return Zs(this,"values",Ee)}};function Zs(e,t,n){const s=Is(e),r=s[t]();return s!==e&&!Xe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Ia=Array.prototype;function kt(e,t,n,s,r,i){const o=Is(e),l=o!==e&&!Xe(e),a=o[t];if(a!==Ia[t]){const p=a.apply(e,i);return l?Ee(p):p}let c=n;o!==e&&(l?c=function(p,g){return n.call(this,Ee(p),g,e)}:n.length>2&&(c=function(p,g){return n.call(this,p,g,e)}));const u=a.call(o,c,s);return l&&r?r(u):u}function ki(e,t,n,s){const r=Is(e);let i=n;return r!==e&&(Xe(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,Ee(l),a,e)}),r[t](i,...s)}function Xs(e,t,n){const s=te(e);Re(s,"iterate",Bn);const r=s[t](...n);return(r===-1||r===!1)&&jr(n[0])?(n[0]=te(n[0]),s[t](...n)):r}function _n(e,t,n=[]){It(),$r();const s=te(e)[t].apply(e,n);return Fr(),Lt(),s}const La=Ir("__proto__,__v_isRef,__isVue"),Go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bt));function Ma(e){bt(e)||(e=String(e));const t=te(this);return Re(t,"has",e),t.hasOwnProperty(e)}class qo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Wa:Xo:i?Zo:Yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let a;if(o&&(a=Pa[n]))return a;if(n==="hasOwnProperty")return Ma}const l=Reflect.get(t,n,Oe(t)?t:s);if((bt(n)?Go.has(n):La(n))||(r||Re(t,"get",n),i))return l;if(Oe(l)){const a=o&&Dr(n)?l:l.value;return r&&ce(a)?mr(a):a}return ce(l)?r?mr(l):Ls(l):l}}class Ko extends qo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=jt(i);if(!Xe(s)&&!jt(s)&&(i=te(i),s=te(s)),!B(t)&&Oe(i)&&!Oe(s))return a||(i.value=s),!0}const o=B(t)&&Dr(n)?Number(n)<t.length:ne(t,n),l=Reflect.set(t,n,s,Oe(t)?t:r);return t===te(r)&&(o?Bt(s,i)&&At(t,"set",n,s):At(t,"add",n,s)),l}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&At(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!bt(n)||!Go.has(n))&&Re(t,"has",n),s}ownKeys(t){return Re(t,"iterate",B(t)?"length":Zt),Reflect.ownKeys(t)}}class Da extends qo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Na=new Ko,$a=new Da,Fa=new Ko(!0);const gr=e=>e,ts=e=>Reflect.getPrototypeOf(e);function Ha(e,t,n){return function(...s){const r=this.__v_raw,i=te(r),o=an(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...s),u=n?gr:t?hs:Ee;return!t&&Re(i,"iterate",a?dr:Zt),{next(){const{value:p,done:g}=c.next();return g?{value:p,done:g}:{value:l?[u(p[0]),u(p[1])]:u(p),done:g}},[Symbol.iterator](){return this}}}}function ns(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function za(e,t){const n={get(r){const i=this.__v_raw,o=te(i),l=te(r);e||(Bt(r,l)&&Re(o,"get",r),Re(o,"get",l));const{has:a}=ts(o),c=t?gr:e?hs:Ee;if(a.call(o,r))return c(i.get(r));if(a.call(o,l))return c(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&Re(te(r),"iterate",Zt),r.size},has(r){const i=this.__v_raw,o=te(i),l=te(r);return e||(Bt(r,l)&&Re(o,"has",r),Re(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,a=te(l),c=t?gr:e?hs:Ee;return!e&&Re(a,"iterate",Zt),l.forEach((u,p)=>r.call(i,c(u),c(p),o))}};return Pe(n,e?{add:ns("add"),set:ns("set"),delete:ns("delete"),clear:ns("clear")}:{add(r){!t&&!Xe(r)&&!jt(r)&&(r=te(r));const i=te(this);return ts(i).has.call(i,r)||(i.add(r),At(i,"add",r,r)),this},set(r,i){!t&&!Xe(i)&&!jt(i)&&(i=te(i));const o=te(this),{has:l,get:a}=ts(o);let c=l.call(o,r);c||(r=te(r),c=l.call(o,r));const u=a.call(o,r);return o.set(r,i),c?Bt(i,u)&&At(o,"set",r,i):At(o,"add",r,i),this},delete(r){const i=te(this),{has:o,get:l}=ts(i);let a=o.call(i,r);a||(r=te(r),a=o.call(i,r)),l&&l.call(i,r);const c=i.delete(r);return a&&At(i,"delete",r,void 0),c},clear(){const r=te(this),i=r.size!==0,o=r.clear();return i&&At(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ha(r,e,t)}),n}function Ur(e,t){const n=za(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,i)}const Ua={get:Ur(!1,!1)},Ba={get:Ur(!1,!0)},ja={get:Ur(!0,!1)};const Yo=new WeakMap,Zo=new WeakMap,Xo=new WeakMap,Wa=new WeakMap;function Va(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ga(e){return e.__v_skip||!Object.isExtensible(e)?0:Va(ma(e))}function Ls(e){return jt(e)?e:Br(e,!1,Na,Ua,Yo)}function Qo(e){return Br(e,!1,Fa,Ba,Zo)}function mr(e){return Br(e,!0,$a,ja,Xo)}function Br(e,t,n,s,r){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Ga(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function un(e){return jt(e)?un(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function Xe(e){return!!(e&&e.__v_isShallow)}function jr(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function qa(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Lo(e,"__v_skip",!0),e}const Ee=e=>ce(e)?Ls(e):e,hs=e=>ce(e)?mr(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function $t(e){return Jo(e,!1)}function Ka(e){return Jo(e,!0)}function Jo(e,t){return Oe(e)?e:new Ya(e,t)}class Ya{constructor(t,n){this.dep=new zr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:Ee(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Xe(t)||jt(t);t=s?t:te(t),Bt(t,n)&&(this._rawValue=t,this._value=s?t:Ee(t),this.dep.trigger())}}function fn(e){return Oe(e)?e.value:e}const Za={get:(e,t,n)=>t==="__v_raw"?e:fn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Oe(r)&&!Oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function el(e){return un(e)?e:new Proxy(e,Za)}class Xa{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return zo(this,!0),!0}get value(){const t=this.dep.track();return jo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Qa(e,t,n=!1){let s,r;return V(e)?s=e:(s=e.get,r=e.set),new Xa(s,r,n)}const ss={},ds=new WeakMap;let Kt;function Ja(e,t=!1,n=Kt){if(n){let s=ds.get(n);s||ds.set(n,s=[]),s.push(e)}}function ec(e,t,n=ae){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:a}=n,c=E=>r?E:Xe(E)||r===!1||r===0?Rt(E,1):Rt(E);let u,p,g,b,S=!1,C=!1;if(Oe(e)?(p=()=>e.value,S=Xe(e)):un(e)?(p=()=>c(e),S=!0):B(e)?(C=!0,S=e.some(E=>un(E)||Xe(E)),p=()=>e.map(E=>{if(Oe(E))return E.value;if(un(E))return c(E);if(V(E))return a?a(E,2):E()})):V(e)?t?p=a?()=>a(e,2):e:p=()=>{if(g){It();try{g()}finally{Lt()}}const E=Kt;Kt=u;try{return a?a(e,3,[b]):e(b)}finally{Kt=E}}:p=mt,t&&r){const E=p,W=r===!0?1/0:r;p=()=>Rt(E(),W)}const j=Ra(),R=()=>{u.stop(),j&&j.active&&Mr(j.effects,u)};if(i&&t){const E=t;t=(...W)=>{E(...W),R()}}let O=C?new Array(e.length).fill(ss):ss;const M=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(t){const W=u.run();if(r||S||(C?W.some((Y,q)=>Bt(Y,O[q])):Bt(W,O))){g&&g();const Y=Kt;Kt=u;try{const q=[W,O===ss?void 0:C&&O[0]===ss?[]:O,b];O=W,a?a(t,3,q):t(...q)}finally{Kt=Y}}}else u.run()};return l&&l(M),u=new Fo(p),u.scheduler=o?()=>o(M,!1):M,b=E=>Ja(E,!1,u),g=u.onStop=()=>{const E=ds.get(u);if(E){if(a)a(E,4);else for(const W of E)W();ds.delete(u)}},t?s?M(!0):O=u.run():o?o(M.bind(null,!0),!0):u.run(),R.pause=u.pause.bind(u),R.resume=u.resume.bind(u),R.stop=R,R}function Rt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Oe(e))Rt(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)Rt(e[s],t,n);else if(As(e)||an(e))e.forEach(s=>{Rt(s,t,n)});else if(Io(e)){for(const s in e)Rt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Rt(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.22
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Yn(e,t,n,s){try{return s?e(...s):e()}catch(r){Ms(r,t,n)}}function _t(e,t,n,s){if(V(e)){const r=Yn(e,t,n,s);return r&&Oo(r)&&r.catch(i=>{Ms(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(_t(e[i],t,n,s));return r}}function Ms(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ae;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let p=0;p<u.length;p++)if(u[p](e,a,c)===!1)return}l=l.parent}if(i){It(),Yn(i,null,10,[e,a,c]),Lt();return}}tc(e,n,r,s,o)}function tc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ne=[];let pt=-1;const pn=[];let Ft=null,rn=0;const tl=Promise.resolve();let gs=null;function Ds(e){const t=gs||tl;return e?t.then(this?e.bind(this):e):t}function nc(e){let t=pt+1,n=Ne.length;for(;t<n;){const s=t+n>>>1,r=Ne[s],i=jn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Wr(e){if(!(e.flags&1)){const t=jn(e),n=Ne[Ne.length-1];!n||!(e.flags&2)&&t>=jn(n)?Ne.push(e):Ne.splice(nc(t),0,e),e.flags|=1,nl()}}function nl(){gs||(gs=tl.then(rl))}function sc(e){B(e)?pn.push(...e):Ft&&e.id===-1?Ft.splice(rn+1,0,e):e.flags&1||(pn.push(e),e.flags|=1),nl()}function vi(e,t,n=pt+1){for(;n<Ne.length;n++){const s=Ne[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ne.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function sl(e){if(pn.length){const t=[...new Set(pn)].sort((n,s)=>jn(n)-jn(s));if(pn.length=0,Ft){Ft.push(...t);return}for(Ft=t,rn=0;rn<Ft.length;rn++){const n=Ft[rn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ft=null,rn=0}}const jn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rl(e){try{for(pt=0;pt<Ne.length;pt++){const t=Ne[pt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;pt<Ne.length;pt++){const t=Ne[pt];t&&(t.flags&=-2)}pt=-1,Ne.length=0,sl(),gs=null,(Ne.length||pn.length)&&rl()}}let Ge=null,il=null;function ms(e){const t=Ge;return Ge=e,il=e&&e.type.__scopeId||null,t}function br(e,t=Ge,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&xs(-1);const i=ms(t);let o;try{o=e(...r)}finally{ms(i),s._d&&xs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function rc(e,t){if(Ge===null)return e;const n=zs(Ge),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,a=ae]=t[r];i&&(V(i)&&(i={mounted:i,updated:i}),i.deep&&Rt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function Gt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(It(),_t(a,n,8,[e.el,l,e,t]),Lt())}}const ic=Symbol("_vte"),oc=e=>e.__isTeleport,lc=Symbol("_leaveCb");function Vr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vr(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 Ns(e,t){return V(e)?Pe({name:e.name},t,{setup:e}):e}function ol(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const bs=new WeakMap;function Ln(e,t,n,s,r=!1){if(B(e)){e.forEach((S,C)=>Ln(S,t&&(B(t)?t[C]:t),n,s,r));return}if(Mn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ln(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?zs(s.component):s.el,o=r?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,p=l.setupState,g=te(p),b=p===ae?Co:S=>ne(g,S);if(c!=null&&c!==a){if(Ei(t),_e(c))u[c]=null,b(c)&&(p[c]=null);else if(Oe(c)){c.value=null;const S=t;S.k&&(u[S.k]=null)}}if(V(a))Yn(a,l,12,[o,u]);else{const S=_e(a),C=Oe(a);if(S||C){const j=()=>{if(e.f){const R=S?b(a)?p[a]:u[a]:a.value;if(r)B(R)&&Mr(R,i);else if(B(R))R.includes(i)||R.push(i);else if(S)u[a]=[i],b(a)&&(p[a]=u[a]);else{const O=[i];a.value=O,e.k&&(u[e.k]=O)}}else S?(u[a]=o,b(a)&&(p[a]=o)):C&&(a.value=o,e.k&&(u[e.k]=o))};if(o){const R=()=>{j(),bs.delete(e)};R.id=-1,bs.set(e,R),Ve(R,n)}else Ei(e),j()}}}function Ei(e){const t=bs.get(e);t&&(t.flags|=8,bs.delete(e))}Os().requestIdleCallback;Os().cancelIdleCallback;const Mn=e=>!!e.type.__asyncLoader,ll=e=>e.type.__isKeepAlive;function ac(e,t){al(e,"a",t)}function cc(e,t){al(e,"da",t)}function al(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($s(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ll(r.parent.vnode)&&uc(s,t,n,r),r=r.parent}}function uc(e,t,n,s){const r=$s(t,e,s,!0);Gr(()=>{Mr(s[t],r)},n)}function $s(e,t,n=Ce,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{It();const l=Zn(n),a=_t(t,n,e,o);return l(),Lt(),a});return s?r.unshift(i):r.push(i),i}}const Mt=e=>(t,n=Ce)=>{(!Vn||e==="sp")&&$s(e,(...s)=>t(...s),n)},fc=Mt("bm"),cl=Mt("m"),pc=Mt("bu"),hc=Mt("u"),dc=Mt("bum"),Gr=Mt("um"),gc=Mt("sp"),mc=Mt("rtg"),bc=Mt("rtc");function _c(e,t=Ce){$s("ec",e,t)}const xc="components";function Ti(e,t){return wc(xc,e,!0,t)||e}const yc=Symbol.for("v-ndc");function wc(e,t,n=!0,s=!1){const r=Ge||Ce;if(r){const i=r.type;{const l=hu(i,!1);if(l&&(l===t||l===Qe(t)||l===Cs(Qe(t))))return i}const o=Ai(r[e]||i[e],t)||Ai(r.appContext[e],t);return!o&&s?i:o}}function Ai(e,t){return e&&(e[t]||e[Qe(t)]||e[Cs(Qe(t))])}function Sc(e,t,n,s){let r;const i=n,o=B(e);if(o||_e(e)){const l=o&&un(e);let a=!1,c=!1;l&&(a=!Xe(e),c=jt(e),e=Is(e)),r=new Array(e.length);for(let u=0,p=e.length;u<p;u++)r[u]=t(a?c?hs(Ee(e[u])):Ee(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ce(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];r[a]=t(e[u],u,a,i)}}else r=[];return r}const _r=e=>e?Cl(e)?zs(e):_r(e.parent):null,Dn=Pe(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=>_r(e.parent),$root:e=>_r(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>fl(e),$forceUpdate:e=>e.f||(e.f=()=>{Wr(e.update)}),$nextTick:e=>e.n||(e.n=Ds.bind(e.proxy)),$watch:e=>jc.bind(e)}),Qs=(e,t)=>e!==ae&&!e.__isScriptSetup&&ne(e,t),kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Qs(s,t))return o[t]=1,s[t];if(r!==ae&&ne(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&ne(c,t))return o[t]=3,i[t];if(n!==ae&&ne(n,t))return o[t]=4,n[t];xr&&(o[t]=0)}}const u=Dn[t];let p,g;if(u)return t==="$attrs"&&Re(e.attrs,"get",""),u(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ae&&ne(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,ne(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Qs(r,t)?(r[t]=n,!0):s!==ae&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i,type:o}},l){let a,c;return!!(n[l]||e!==ae&&l[0]!=="$"&&ne(e,l)||Qs(t,l)||(a=i[0])&&ne(a,l)||ne(s,l)||ne(Dn,l)||ne(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ri(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xr=!0;function vc(e){const t=fl(e),n=e.proxy,s=e.ctx;xr=!1,t.beforeCreate&&Ci(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:p,mounted:g,beforeUpdate:b,updated:S,activated:C,deactivated:j,beforeDestroy:R,beforeUnmount:O,destroyed:M,unmounted:E,render:W,renderTracked:Y,renderTriggered:q,errorCaptured:Ie,serverPrefetch:lt,expose:Ke,inheritAttrs:pe,components:et,directives:ze,filters:xt}=t;if(c&&Ec(c,s,null),o)for(const Q in o){const Z=o[Q];V(Z)&&(s[Q]=Z.bind(n))}if(r){const Q=r.call(n,n);ce(Q)&&(e.data=Ls(Q))}if(xr=!0,i)for(const Q in i){const Z=i[Q],tt=V(Z)?Z.bind(n,n):V(Z.get)?Z.get.bind(n,n):mt,nt=!V(Z)&&V(Z.set)?Z.set.bind(n):mt,ie=Ze({get:tt,set:nt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>ie.value,set:Se=>ie.value=Se})}if(l)for(const Q in l)ul(l[Q],s,n,Q);if(a){const Q=V(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(Z=>{as(Z,Q[Z])})}u&&Ci(u,e,"c");function ge(Q,Z){B(Z)?Z.forEach(tt=>Q(tt.bind(n))):Z&&Q(Z.bind(n))}if(ge(fc,p),ge(cl,g),ge(pc,b),ge(hc,S),ge(ac,C),ge(cc,j),ge(_c,Ie),ge(bc,Y),ge(mc,q),ge(dc,O),ge(Gr,E),ge(gc,lt),B(Ke))if(Ke.length){const Q=e.exposed||(e.exposed={});Ke.forEach(Z=>{Object.defineProperty(Q,Z,{get:()=>n[Z],set:tt=>n[Z]=tt,enumerable:!0})})}else e.exposed||(e.exposed={});W&&e.render===mt&&(e.render=W),pe!=null&&(e.inheritAttrs=pe),et&&(e.components=et),ze&&(e.directives=ze),lt&&ol(e)}function Ec(e,t,n=mt){B(e)&&(e=yr(e));for(const s in e){const r=e[s];let i;ce(r)?"default"in r?i=Pt(r.from||s,r.default,!0):i=Pt(r.from||s):i=Pt(r),Oe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ci(e,t,n){_t(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ul(e,t,n,s){let r=s.includes(".")?vl(n,s):()=>n[s];if(_e(e)){const i=t[e];V(i)&&Nn(r,i)}else if(V(e))Nn(r,e.bind(n));else if(ce(e))if(B(e))e.forEach(i=>ul(i,t,n,s));else{const i=V(e.handler)?e.handler.bind(n):t[e.handler];V(i)&&Nn(r,i,e)}}function fl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>_s(a,c,o,!0)),_s(a,t,o)),ce(t)&&i.set(t,a),a}function _s(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&_s(e,i,n,!0),r&&r.forEach(o=>_s(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Tc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Tc={data:Oi,props:Pi,emits:Pi,methods:Rn,computed:Rn,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:Rn,directives:Rn,watch:Rc,provide:Oi,inject:Ac};function Oi(e,t){return t?e?function(){return Pe(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Ac(e,t){return Rn(yr(e),yr(t))}function yr(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function Rn(e,t){return e?Pe(Object.create(null),e,t):t}function Pi(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:Pe(Object.create(null),Ri(e),Ri(t??{})):t}function Rc(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const s in t)n[s]=De(e[s],t[s]);return n}function pl(){return{app:null,config:{isNativeTag:Co,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 Cc=0;function Oc(e,t){return function(s,r=null){V(s)||(s=Pe({},s)),r!=null&&!ce(r)&&(r=null);const i=pl(),o=new WeakSet,l=[];let a=!1;const c=i.app={_uid:Cc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:gu,get config(){return i.config},set config(u){},use(u,...p){return o.has(u)||(u&&V(u.install)?(o.add(u),u.install(c,...p)):V(u)&&(o.add(u),u(c,...p))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,p){return p?(i.components[u]=p,c):i.components[u]},directive(u,p){return p?(i.directives[u]=p,c):i.directives[u]},mount(u,p,g){if(!a){const b=c._ceVNode||Te(s,r);return b.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(b,u,g),a=!0,c._container=u,u.__vue_app__=c,zs(b.component)}},onUnmount(u){l.push(u)},unmount(){a&&(_t(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,p){return i.provides[u]=p,c},runWithContext(u){const p=hn;hn=c;try{return u()}finally{hn=p}}};return c}}let hn=null;function as(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function Pt(e,t,n=!1){const s=au();if(s||hn){let r=hn?hn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&V(t)?t.call(s&&s.proxy):t}}const hl={},dl=()=>Object.create(hl),gl=e=>Object.getPrototypeOf(e)===hl;function Pc(e,t,n,s=!1){const r={},i=dl();e.propsDefaults=Object.create(null),ml(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Qo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ic(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=te(r),[a]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let g=u[p];if(Fs(e.emitsOptions,g))continue;const b=t[g];if(a)if(ne(i,g))b!==i[g]&&(i[g]=b,c=!0);else{const S=Qe(g);r[S]=wr(a,l,S,b,e,!1)}else b!==i[g]&&(i[g]=b,c=!0)}}}else{ml(e,t,r,i)&&(c=!0);let u;for(const p in l)(!t||!ne(t,p)&&((u=Qt(p))===p||!ne(t,u)))&&(a?n&&(n[p]!==void 0||n[u]!==void 0)&&(r[p]=wr(a,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!ne(t,p))&&(delete i[p],c=!0)}c&&At(e.attrs,"set","")}function ml(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(On(a))continue;const c=t[a];let u;r&&ne(r,u=Qe(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Fs(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(i){const a=te(n),c=l||ae;for(let u=0;u<i.length;u++){const p=i[u];n[p]=wr(r,a,p,c[p],e,!ne(c,p))}}return o}function wr(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&V(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=Zn(r);s=c[n]=a.call(null,t),u()}}else s=a;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Qt(n))&&(s=!0))}return s}const Lc=new WeakMap;function bl(e,t,n=!1){const s=n?Lc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!V(e)){const u=p=>{a=!0;const[g,b]=bl(p,t,!0);Pe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return ce(e)&&s.set(e,ln),ln;if(B(i))for(let u=0;u<i.length;u++){const p=Qe(i[u]);Ii(p)&&(o[p]=ae)}else if(i)for(const u in i){const p=Qe(u);if(Ii(p)){const g=i[u],b=o[p]=B(g)||V(g)?{type:g}:Pe({},g),S=b.type;let C=!1,j=!0;if(B(S))for(let R=0;R<S.length;++R){const O=S[R],M=V(O)&&O.name;if(M==="Boolean"){C=!0;break}else M==="String"&&(j=!1)}else C=V(S)&&S.name==="Boolean";b[0]=C,b[1]=j,(C||ne(b,"default"))&&l.push(p)}}const c=[o,l];return ce(e)&&s.set(e,c),c}function Ii(e){return e[0]!=="$"&&!On(e)}const qr=e=>e==="_"||e==="_ctx"||e==="$stable",Kr=e=>B(e)?e.map(gt):[gt(e)],Mc=(e,t,n)=>{if(t._n)return t;const s=br((...r)=>Kr(t(...r)),n);return s._c=!1,s},_l=(e,t,n)=>{const s=e._ctx;for(const r in e){if(qr(r))continue;const i=e[r];if(V(i))t[r]=Mc(r,i,s);else if(i!=null){const o=Kr(i);t[r]=()=>o}}},xl=(e,t)=>{const n=Kr(t);e.slots.default=()=>n},yl=(e,t,n)=>{for(const s in t)(n||!qr(s))&&(e[s]=t[s])},Dc=(e,t,n)=>{const s=e.slots=dl();if(e.vnode.shapeFlag&32){const r=t._;r?(yl(s,t,n),n&&Lo(s,"_",r,!0)):_l(t,s)}else t&&xl(e,t)},Nc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ae;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:yl(r,t,n):(i=!t.$stable,_l(t,r)),o=t}else t&&(xl(e,t),o={default:1});if(i)for(const l in r)!qr(l)&&o[l]==null&&delete r[l]},Ve=Xc;function $c(e){return Fc(e)}function Fc(e,t){const n=Os();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:b=mt,insertStaticContent:S}=e,C=(f,h,m,x=null,w=null,_=null,P=void 0,A=null,T=!!h.dynamicChildren)=>{if(f===h)return;f&&!xn(f,h)&&(x=y(f),Se(f,w,_,!0),f=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:k,ref:z,shapeFlag:L}=h;switch(k){case Hs:j(f,h,m,x);break;case Wt:R(f,h,m,x);break;case cs:f==null&&O(h,m,x,P);break;case rt:et(f,h,m,x,w,_,P,A,T);break;default:L&1?W(f,h,m,x,w,_,P,A,T):L&6?ze(f,h,m,x,w,_,P,A,T):(L&64||L&128)&&k.process(f,h,m,x,w,_,P,A,T,N)}z!=null&&w?Ln(z,f&&f.ref,_,h||f,!h):z==null&&f&&f.ref!=null&&Ln(f.ref,null,_,f,!0)},j=(f,h,m,x)=>{if(f==null)s(h.el=l(h.children),m,x);else{const w=h.el=f.el;h.children!==f.children&&c(w,h.children)}},R=(f,h,m,x)=>{f==null?s(h.el=a(h.children||""),m,x):h.el=f.el},O=(f,h,m,x)=>{[f.el,f.anchor]=S(f.children,h,m,x,f.el,f.anchor)},M=({el:f,anchor:h},m,x)=>{let w;for(;f&&f!==h;)w=g(f),s(f,m,x),f=w;s(h,m,x)},E=({el:f,anchor:h})=>{let m;for(;f&&f!==h;)m=g(f),r(f),f=m;r(h)},W=(f,h,m,x,w,_,P,A,T)=>{h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),f==null?Y(h,m,x,w,_,P,A,T):lt(f,h,w,_,P,A,T)},Y=(f,h,m,x,w,_,P,A)=>{let T,k;const{props:z,shapeFlag:L,transition:F,dirs:U}=f;if(T=f.el=o(f.type,_,z&&z.is,z),L&8?u(T,f.children):L&16&&Ie(f.children,T,null,x,w,Js(f,_),P,A),U&&Gt(f,null,x,"created"),q(T,f,f.scopeId,P,x),z){for(const oe in z)oe!=="value"&&!On(oe)&&i(T,oe,null,z[oe],_,x);"value"in z&&i(T,"value",null,z.value,_),(k=z.onVnodeBeforeMount)&&ut(k,x,f)}U&&Gt(f,null,x,"beforeMount");const G=Hc(w,F);G&&F.beforeEnter(T),s(T,h,m),((k=z&&z.onVnodeMounted)||G||U)&&Ve(()=>{k&&ut(k,x,f),G&&F.enter(T),U&&Gt(f,null,x,"mounted")},w)},q=(f,h,m,x,w)=>{if(m&&b(f,m),x)for(let _=0;_<x.length;_++)b(f,x[_]);if(w){let _=w.subTree;if(h===_||Tl(_.type)&&(_.ssContent===h||_.ssFallback===h)){const P=w.vnode;q(f,P,P.scopeId,P.slotScopeIds,w.parent)}}},Ie=(f,h,m,x,w,_,P,A,T=0)=>{for(let k=T;k<f.length;k++){const z=f[k]=A?Ht(f[k]):gt(f[k]);C(null,z,h,m,x,w,_,P,A)}},lt=(f,h,m,x,w,_,P)=>{const A=h.el=f.el;let{patchFlag:T,dynamicChildren:k,dirs:z}=h;T|=f.patchFlag&16;const L=f.props||ae,F=h.props||ae;let U;if(m&&qt(m,!1),(U=F.onVnodeBeforeUpdate)&&ut(U,m,h,f),z&&Gt(h,f,m,"beforeUpdate"),m&&qt(m,!0),(L.innerHTML&&F.innerHTML==null||L.textContent&&F.textContent==null)&&u(A,""),k?Ke(f.dynamicChildren,k,A,m,x,Js(h,w),_):P||Z(f,h,A,null,m,x,Js(h,w),_,!1),T>0){if(T&16)pe(A,L,F,m,w);else if(T&2&&L.class!==F.class&&i(A,"class",null,F.class,w),T&4&&i(A,"style",L.style,F.style,w),T&8){const G=h.dynamicProps;for(let oe=0;oe<G.length;oe++){const X=G[oe],ke=L[X],ye=F[X];(ye!==ke||X==="value")&&i(A,X,ke,ye,w,m)}}T&1&&f.children!==h.children&&u(A,h.children)}else!P&&k==null&&pe(A,L,F,m,w);((U=F.onVnodeUpdated)||z)&&Ve(()=>{U&&ut(U,m,h,f),z&&Gt(h,f,m,"updated")},x)},Ke=(f,h,m,x,w,_,P)=>{for(let A=0;A<h.length;A++){const T=f[A],k=h[A],z=T.el&&(T.type===rt||!xn(T,k)||T.shapeFlag&198)?p(T.el):m;C(T,k,z,null,x,w,_,P,!0)}},pe=(f,h,m,x,w)=>{if(h!==m){if(h!==ae)for(const _ in h)!On(_)&&!(_ in m)&&i(f,_,h[_],null,w,x);for(const _ in m){if(On(_))continue;const P=m[_],A=h[_];P!==A&&_!=="value"&&i(f,_,A,P,w,x)}"value"in m&&i(f,"value",h.value,m.value,w)}},et=(f,h,m,x,w,_,P,A,T)=>{const k=h.el=f?f.el:l(""),z=h.anchor=f?f.anchor:l("");let{patchFlag:L,dynamicChildren:F,slotScopeIds:U}=h;U&&(A=A?A.concat(U):U),f==null?(s(k,m,x),s(z,m,x),Ie(h.children||[],m,z,w,_,P,A,T)):L>0&&L&64&&F&&f.dynamicChildren?(Ke(f.dynamicChildren,F,m,w,_,P,A),(h.key!=null||w&&h===w.subTree)&&wl(f,h,!0)):Z(f,h,m,z,w,_,P,A,T)},ze=(f,h,m,x,w,_,P,A,T)=>{h.slotScopeIds=A,f==null?h.shapeFlag&512?w.ctx.activate(h,m,x,P,T):xt(h,m,x,w,_,P,T):Dt(f,h,T)},xt=(f,h,m,x,w,_,P)=>{const A=f.component=lu(f,x,w);if(ll(f)&&(A.ctx.renderer=N),cu(A,!1,P),A.asyncDep){if(w&&w.registerDep(A,ge,P),!f.el){const T=A.subTree=Te(Wt);R(null,T,h,m),f.placeholder=T.el}}else ge(A,f,h,m,w,_,P)},Dt=(f,h,m)=>{const x=h.component=f.component;if(Yc(f,h,m))if(x.asyncDep&&!x.asyncResolved){Q(x,h,m);return}else x.next=h,x.update();else h.el=f.el,x.vnode=h},ge=(f,h,m,x,w,_,P)=>{const A=()=>{if(f.isMounted){let{next:L,bu:F,u:U,parent:G,vnode:oe}=f;{const Le=Sl(f);if(Le){L&&(L.el=oe.el,Q(f,L,P)),Le.asyncDep.then(()=>{f.isUnmounted||A()});return}}let X=L,ke;qt(f,!1),L?(L.el=oe.el,Q(f,L,P)):L=oe,F&&ls(F),(ke=L.props&&L.props.onVnodeBeforeUpdate)&&ut(ke,G,L,oe),qt(f,!0);const ye=Mi(f),We=f.subTree;f.subTree=ye,C(We,ye,p(We.el),y(We),f,w,_),L.el=ye.el,X===null&&Zc(f,ye.el),U&&Ve(U,w),(ke=L.props&&L.props.onVnodeUpdated)&&Ve(()=>ut(ke,G,L,oe),w)}else{let L;const{el:F,props:U}=h,{bm:G,m:oe,parent:X,root:ke,type:ye}=f,We=Mn(h);qt(f,!1),G&&ls(G),!We&&(L=U&&U.onVnodeBeforeMount)&&ut(L,X,h),qt(f,!0);{ke.ce&&ke.ce._def.shadowRoot!==!1&&ke.ce._injectChildStyle(ye);const Le=f.subTree=Mi(f);C(null,Le,m,x,f,w,_),h.el=Le.el}if(oe&&Ve(oe,w),!We&&(L=U&&U.onVnodeMounted)){const Le=h;Ve(()=>ut(L,X,Le),w)}(h.shapeFlag&256||X&&Mn(X.vnode)&&X.vnode.shapeFlag&256)&&f.a&&Ve(f.a,w),f.isMounted=!0,h=m=x=null}};f.scope.on();const T=f.effect=new Fo(A);f.scope.off();const k=f.update=T.run.bind(T),z=f.job=T.runIfDirty.bind(T);z.i=f,z.id=f.uid,T.scheduler=()=>Wr(z),qt(f,!0),k()},Q=(f,h,m)=>{h.component=f;const x=f.vnode.props;f.vnode=h,f.next=null,Ic(f,h.props,x,m),Nc(f,h.children,m),It(),vi(f),Lt()},Z=(f,h,m,x,w,_,P,A,T=!1)=>{const k=f&&f.children,z=f?f.shapeFlag:0,L=h.children,{patchFlag:F,shapeFlag:U}=h;if(F>0){if(F&128){nt(k,L,m,x,w,_,P,A,T);return}else if(F&256){tt(k,L,m,x,w,_,P,A,T);return}}U&8?(z&16&&xe(k,w,_),L!==k&&u(m,L)):z&16?U&16?nt(k,L,m,x,w,_,P,A,T):xe(k,w,_,!0):(z&8&&u(m,""),U&16&&Ie(L,m,x,w,_,P,A,T))},tt=(f,h,m,x,w,_,P,A,T)=>{f=f||ln,h=h||ln;const k=f.length,z=h.length,L=Math.min(k,z);let F;for(F=0;F<L;F++){const U=h[F]=T?Ht(h[F]):gt(h[F]);C(f[F],U,m,null,w,_,P,A,T)}k>z?xe(f,w,_,!0,!1,L):Ie(h,m,x,w,_,P,A,T,L)},nt=(f,h,m,x,w,_,P,A,T)=>{let k=0;const z=h.length;let L=f.length-1,F=z-1;for(;k<=L&&k<=F;){const U=f[k],G=h[k]=T?Ht(h[k]):gt(h[k]);if(xn(U,G))C(U,G,m,null,w,_,P,A,T);else break;k++}for(;k<=L&&k<=F;){const U=f[L],G=h[F]=T?Ht(h[F]):gt(h[F]);if(xn(U,G))C(U,G,m,null,w,_,P,A,T);else break;L--,F--}if(k>L){if(k<=F){const U=F+1,G=U<z?h[U].el:x;for(;k<=F;)C(null,h[k]=T?Ht(h[k]):gt(h[k]),m,G,w,_,P,A,T),k++}}else if(k>F)for(;k<=L;)Se(f[k],w,_,!0),k++;else{const U=k,G=k,oe=new Map;for(k=G;k<=F;k++){const me=h[k]=T?Ht(h[k]):gt(h[k]);me.key!=null&&oe.set(me.key,k)}let X,ke=0;const ye=F-G+1;let We=!1,Le=0;const at=new Array(ye);for(k=0;k<ye;k++)at[k]=0;for(k=U;k<=L;k++){const me=f[k];if(ke>=ye){Se(me,w,_,!0);continue}let Ue;if(me.key!=null)Ue=oe.get(me.key);else for(X=G;X<=F;X++)if(at[X-G]===0&&xn(me,h[X])){Ue=X;break}Ue===void 0?Se(me,w,_,!0):(at[Ue-G]=k+1,Ue>=Le?Le=Ue:We=!0,C(me,h[Ue],m,null,w,_,P,A,T),ke++)}const Ye=We?zc(at):ln;for(X=Ye.length-1,k=ye-1;k>=0;k--){const me=G+k,Ue=h[me],en=h[me+1],Qn=me+1<z?en.el||en.placeholder:x;at[k]===0?C(null,Ue,m,Qn,w,_,P,A,T):We&&(X<0||k!==Ye[X]?ie(Ue,m,Qn,2):X--)}}},ie=(f,h,m,x,w=null)=>{const{el:_,type:P,transition:A,children:T,shapeFlag:k}=f;if(k&6){ie(f.component.subTree,h,m,x);return}if(k&128){f.suspense.move(h,m,x);return}if(k&64){P.move(f,h,m,N);return}if(P===rt){s(_,h,m);for(let L=0;L<T.length;L++)ie(T[L],h,m,x);s(f.anchor,h,m);return}if(P===cs){M(f,h,m);return}if(x!==2&&k&1&&A)if(x===0)A.beforeEnter(_),s(_,h,m),Ve(()=>A.enter(_),w);else{const{leave:L,delayLeave:F,afterLeave:U}=A,G=()=>{f.ctx.isUnmounted?r(_):s(_,h,m)},oe=()=>{_._isLeaving&&_[lc](!0),L(_,()=>{G(),U&&U()})};F?F(_,G,oe):oe()}else s(_,h,m)},Se=(f,h,m,x=!1,w=!1)=>{const{type:_,props:P,ref:A,children:T,dynamicChildren:k,shapeFlag:z,patchFlag:L,dirs:F,cacheIndex:U}=f;if(L===-2&&(w=!1),A!=null&&(It(),Ln(A,null,m,f,!0),Lt()),U!=null&&(h.renderCache[U]=void 0),z&256){h.ctx.deactivate(f);return}const G=z&1&&F,oe=!Mn(f);let X;if(oe&&(X=P&&P.onVnodeBeforeUnmount)&&ut(X,h,f),z&6)ue(f.component,m,x);else{if(z&128){f.suspense.unmount(m,x);return}G&&Gt(f,null,h,"beforeUnmount"),z&64?f.type.remove(f,h,m,N,x):k&&!k.hasOnce&&(_!==rt||L>0&&L&64)?xe(k,h,m,!1,!0):(_===rt&&L&384||!w&&z&16)&&xe(T,h,m),x&&he(f)}(oe&&(X=P&&P.onVnodeUnmounted)||G)&&Ve(()=>{X&&ut(X,h,f),G&&Gt(f,null,h,"unmounted")},m)},he=f=>{const{type:h,el:m,anchor:x,transition:w}=f;if(h===rt){yt(m,x);return}if(h===cs){E(f);return}const _=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:A}=w,T=()=>P(m,_);A?A(f.el,_,T):T()}else _()},yt=(f,h)=>{let m;for(;f!==h;)m=g(f),r(f),f=m;r(h)},ue=(f,h,m)=>{const{bum:x,scope:w,job:_,subTree:P,um:A,m:T,a:k}=f;Li(T),Li(k),x&&ls(x),w.stop(),_&&(_.flags|=8,Se(P,f,h,m)),A&&Ve(A,h),Ve(()=>{f.isUnmounted=!0},h)},xe=(f,h,m,x=!1,w=!1,_=0)=>{for(let P=_;P<f.length;P++)Se(f[P],h,m,x,w)},y=f=>{if(f.shapeFlag&6)return y(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=g(f.anchor||f.el),m=h&&h[ic];return m?g(m):h};let D=!1;const I=(f,h,m)=>{f==null?h._vnode&&Se(h._vnode,null,null,!0):C(h._vnode||null,f,h,null,null,null,m),h._vnode=f,D||(D=!0,vi(),sl(),D=!1)},N={p:C,um:Se,m:ie,r:he,mt:xt,mc:Ie,pc:Z,pbc:Ke,n:y,o:e};return{render:I,hydrate:void 0,createApp:Oc(I)}}function Js({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 qt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function wl(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ht(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&wl(o,l)),l.type===Hs&&l.patchFlag!==-1&&(l.el=o.el),l.type===Wt&&!l.el&&(l.el=o.el)}}function zc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<c?i=l+1:o=l;c<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Sl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sl(t)}function Li(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Uc=Symbol.for("v-scx"),Bc=()=>Pt(Uc);function Nn(e,t,n){return kl(e,t,n)}function kl(e,t,n=ae){const{immediate:s,deep:r,flush:i,once:o}=n,l=Pe({},n),a=t&&s||!t&&i!=="post";let c;if(Vn){if(i==="sync"){const b=Bc();c=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=mt,b.resume=mt,b.pause=mt,b}}const u=Ce;l.call=(b,S,C)=>_t(b,u,S,C);let p=!1;i==="post"?l.scheduler=b=>{Ve(b,u&&u.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(b,S)=>{S?b():Wr(b)}),l.augmentJob=b=>{t&&(b.flags|=4),p&&(b.flags|=2,u&&(b.id=u.uid,b.i=u))};const g=ec(e,t,l);return Vn&&(c?c.push(g):a&&g()),g}function jc(e,t,n){const s=this.proxy,r=_e(e)?e.includes(".")?vl(s,e):()=>s[e]:e.bind(s,s);let i;V(t)?i=t:(i=t.handler,n=t);const o=Zn(this),l=kl(r,i.bind(s),n);return o(),l}function vl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Wc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function Vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;let r=n;const i=t.startsWith("update:"),o=i&&Wc(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>_e(u)?u.trim():u)),o.number&&(r=n.map(Mo)));let l,a=s[l=qs(t)]||s[l=qs(Qe(t))];!a&&i&&(a=s[l=qs(Qt(t))]),a&&_t(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,_t(c,e,6,r)}}const Gc=new WeakMap;function El(e,t,n=!1){const s=n?Gc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!V(e)){const a=c=>{const u=El(c,t,!0);u&&(l=!0,Pe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(ce(e)&&s.set(e,null),null):(B(i)?i.forEach(a=>o[a]=null):Pe(o,i),ce(e)&&s.set(e,o),o)}function Fs(e,t){return!e||!Ts(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Qt(t))||ne(e,t))}function Mi(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:p,data:g,setupState:b,ctx:S,inheritAttrs:C}=e,j=ms(e);let R,O;try{if(n.shapeFlag&4){const E=r||s,W=E;R=gt(c.call(W,E,u,p,b,g,S)),O=l}else{const E=t;R=gt(E.length>1?E(p,{attrs:l,slots:o,emit:a}):E(p,null)),O=t.props?l:qc(l)}}catch(E){$n.length=0,Ms(E,e,1),R=Te(Wt)}let M=R;if(O&&C!==!1){const E=Object.keys(O),{shapeFlag:W}=M;E.length&&W&7&&(i&&E.some(Lr)&&(O=Kc(O,i)),M=dn(M,O,!1,!0))}return n.dirs&&(M=dn(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&Vr(M,n.transition),R=M,ms(j),R}const qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ts(n))&&((t||(t={}))[n]=e[n]);return t},Kc=(e,t)=>{const n={};for(const s in e)(!Lr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Yc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Di(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const g=u[p];if(o[g]!==s[g]&&!Fs(c,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Di(s,o,c):!0:!!o;return!1}function Di(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Fs(n,i))return!0}return!1}function Zc({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Tl=e=>e.__isSuspense;function Xc(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):sc(e)}const rt=Symbol.for("v-fgt"),Hs=Symbol.for("v-txt"),Wt=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),$n=[];let qe=null;function Ut(e=!1){$n.push(qe=e?null:[])}function Qc(){$n.pop(),qe=$n[$n.length-1]||null}let Wn=1;function xs(e,t=!1){Wn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function Al(e){return e.dynamicChildren=Wn>0?qe||ln:null,Qc(),Wn>0&&qe&&qe.push(e),e}function Yt(e,t,n,s,r,i){return Al(le(e,t,n,s,r,i,!0))}function Jc(e,t,n,s,r){return Al(Te(e,t,n,s,r,!0))}function ys(e){return e?e.__v_isVNode===!0:!1}function xn(e,t){return e.type===t.type&&e.key===t.key}const Rl=({key:e})=>e??null,us=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Oe(e)||V(e)?{i:Ge,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,s=0,r=null,i=e===rt?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rl(t),ref:t&&us(t),scopeId:il,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ge};return l?(Yr(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=_e(n)?8:16),Wn>0&&!o&&qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&qe.push(a),a}const Te=eu;function eu(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===yc)&&(e=Wt),ys(e)){const l=dn(e,t,!0);return n&&Yr(l,n),Wn>0&&!i&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(du(e)&&(e=e.__vccOpts),t){t=tu(t);let{class:l,style:a}=t;l&&!_e(l)&&(t.class=cn(l)),ce(a)&&(jr(a)&&!B(a)&&(a=Pe({},a)),t.style=Nr(a))}const o=_e(e)?1:Tl(e)?128:oc(e)?64:ce(e)?4:V(e)?2:0;return le(e,t,n,s,r,o,i,!0)}function tu(e){return e?jr(e)||gl(e)?Pe({},e):e:null}function dn(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:a}=e,c=t?ru(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Rl(c),ref:t&&t.ref?n&&i?B(i)?i.concat(us(t)):[i,us(t)]:us(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Vr(u,a.clone(u)),u}function dt(e=" ",t=0){return Te(Hs,null,e,t)}function nu(e,t){const n=Te(cs,null,e);return n.staticCount=t,n}function su(e="",t=!1){return t?(Ut(),Jc(Wt,null,e)):Te(Wt,null,e)}function gt(e){return e==null||typeof e=="boolean"?Te(Wt):B(e)?Te(rt,null,e.slice()):ys(e)?Ht(e):Te(Hs,null,String(e))}function Ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function Yr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Yr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!gl(t)?t._ctx=Ge:r===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:Ge},n=32):(t=String(t),s&64?(n=16,t=[dt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ru(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=cn([t.class,s.class]));else if(r==="style")t.style=Nr([t.style,s.style]);else if(Ts(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function ut(e,t,n,s=null){_t(e,t,7,[n,s])}const iu=pl();let ou=0;function lu(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||iu,i={uid:ou++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Aa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bl(s,r),emitsOptions:El(s,r),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:s.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Vc.bind(null,i),e.ce&&e.ce(i),i}let Ce=null;const au=()=>Ce||Ge;let ws,Sr;{const e=Os(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};ws=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Sr=t("__VUE_SSR_SETTERS__",n=>Vn=n)}const Zn=e=>{const t=Ce;return ws(e),e.scope.on(),()=>{e.scope.off(),ws(t)}},Ni=()=>{Ce&&Ce.scope.off(),ws(null)};function Cl(e){return e.vnode.shapeFlag&4}let Vn=!1;function cu(e,t=!1,n=!1){t&&Sr(t);const{props:s,children:r}=e.vnode,i=Cl(e);Pc(e,s,i,t),Dc(e,r,n||t);const o=i?uu(e,t):void 0;return t&&Sr(!1),o}function uu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kc);const{setup:s}=n;if(s){It();const r=e.setupContext=s.length>1?pu(e):null,i=Zn(e),o=Yn(s,e,0,[e.props,r]),l=Oo(o);if(Lt(),i(),(l||e.sp)&&!Mn(e)&&ol(e),l){if(o.then(Ni,Ni),t)return o.then(a=>{$i(e,a)}).catch(a=>{Ms(a,e,0)});e.asyncDep=o}else $i(e,o)}else Ol(e)}function $i(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=el(t)),Ol(e)}function Ol(e,t,n){const s=e.type;e.render||(e.render=s.render||mt);{const r=Zn(e);It();try{vc(e)}finally{Lt(),r()}}}const fu={get(e,t){return Re(e,"get",""),e[t]}};function pu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fu),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(el(qa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dn)return Dn[n](e)},has(t,n){return n in t||n in Dn}})):e.proxy}function hu(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function du(e){return V(e)&&"__vccOpts"in e}const Ze=(e,t)=>Qa(e,t,Vn);function Pl(e,t,n){try{xs(-1);const s=arguments.length;return s===2?ce(t)&&!B(t)?ys(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ys(n)&&(n=[n]),Te(e,t,n))}finally{xs(1)}}const gu="3.5.22";/**
|
|
* @vue/runtime-dom v3.5.22
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let kr;const Fi=typeof window<"u"&&window.trustedTypes;if(Fi)try{kr=Fi.createPolicy("vue",{createHTML:e=>e})}catch{}const Il=kr?e=>kr.createHTML(e):e=>e,mu="http://www.w3.org/2000/svg",bu="http://www.w3.org/1998/Math/MathML",Tt=typeof document<"u"?document:null,Hi=Tt&&Tt.createElement("template"),_u={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Tt.createElementNS(mu,e):t==="mathml"?Tt.createElementNS(bu,e):n?Tt.createElement(e,{is:n}):Tt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Tt.createTextNode(e),createComment:e=>Tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Hi.innerHTML=Il(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Hi.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xu=Symbol("_vtc");function yu(e,t,n){const s=e[xu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zi=Symbol("_vod"),wu=Symbol("_vsh"),Su=Symbol(""),ku=/(?:^|;)\s*display\s*:/;function vu(e,t,n){const s=e.style,r=_e(n);let i=!1;if(n&&!r){if(t)if(_e(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&fs(s,l,"")}else for(const o in t)n[o]==null&&fs(s,o,"");for(const o in n)o==="display"&&(i=!0),fs(s,o,n[o])}else if(r){if(t!==n){const o=s[Su];o&&(n+=";"+o),s.cssText=n,i=ku.test(n)}}else t&&e.removeAttribute("style");zi in e&&(e[zi]=i?s.display:"",e[wu]&&(s.display="none"))}const Ui=/\s*!important$/;function fs(e,t,n){if(B(n))n.forEach(s=>fs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Eu(e,t);Ui.test(n)?e.setProperty(Qt(s),n.replace(Ui,""),"important"):e[s]=n}}const Bi=["Webkit","Moz","ms"],er={};function Eu(e,t){const n=er[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return er[t]=s;s=Cs(s);for(let r=0;r<Bi.length;r++){const i=Bi[r]+s;if(i in e)return er[t]=i}return t}const ji="http://www.w3.org/1999/xlink";function Wi(e,t,n,s,r,i=va(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ji,t.slice(6,t.length)):e.setAttributeNS(ji,t,n):n==null||i&&!Do(n)?e.removeAttribute(t):e.setAttribute(t,i?"":bt(n)?String(n):n)}function Vi(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Il(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Do(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Ll(e,t,n,s){e.addEventListener(t,n,s)}function Tu(e,t,n,s){e.removeEventListener(t,n,s)}const Gi=Symbol("_vei");function Au(e,t,n,s,r=null){const i=e[Gi]||(e[Gi]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=Ru(t);if(s){const c=i[t]=Pu(s,r);Ll(e,l,c,a)}else o&&(Tu(e,l,o,a),i[t]=void 0)}}const qi=/(?:Once|Passive|Capture)$/;function Ru(e){let t;if(qi.test(e)){t={};let s;for(;s=e.match(qi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Qt(e.slice(2)),t]}let tr=0;const Cu=Promise.resolve(),Ou=()=>tr||(Cu.then(()=>tr=0),tr=Date.now());function Pu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;_t(Iu(s,n.value),t,5,[s])};return n.value=e,n.attached=Ou(),n}function Iu(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ki=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lu=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?yu(e,s,o):t==="style"?vu(e,n,s):Ts(t)?Lr(t)||Au(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mu(e,t,s,o))?(Vi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wi(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(s))?Vi(e,Qe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Wi(e,t,s,o))};function Mu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ki(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ki(t)&&_e(n)?!1:t in e}const Yi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>ls(t,n):t},nr=Symbol("_assign"),Du={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=As(t);Ll(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Mo(Ss(o)):Ss(o));e[nr](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Ds(()=>{e._assigning=!1})}),e[nr]=Yi(s)},mounted(e,{value:t}){Zi(e,t)},beforeUpdate(e,t,n){e[nr]=Yi(n)},updated(e,{value:t}){e._assigning||Zi(e,t)}};function Zi(e,t){const n=e.multiple,s=B(t);if(!(n&&!s&&!As(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Ss(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=Ta(t,l)>-1}else o.selected=t.has(l);else if(Ps(Ss(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ss(e){return"_value"in e?e._value:e.value}const Nu=Pe({patchProp:Lu},_u);let Xi;function $u(){return Xi||(Xi=$c(Nu))}const Fu=((...e)=>{const t=$u().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=zu(s);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Hu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zu(e){return _e(e)?document.querySelector(e):e}const Uu=Ns({__name:"App",setup(e){return(t,n)=>{const s=Ti("router-link"),r=Ti("router-view");return Ut(),Yt("div",null,[le("nav",null,[Te(s,{to:"/"},{default:br(()=>[...n[0]||(n[0]=[dt("Accueil",-1)])]),_:1}),n[2]||(n[2]=dt(" | ",-1)),Te(s,{to:"/logs"},{default:br(()=>[...n[1]||(n[1]=[dt("Logs",-1)])]),_:1})]),Te(r)])}}}),Zr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Bu=Zr(Uu,[["__scopeId","data-v-8858e74d"]]);/*!
|
|
* vue-router v4.5.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const on=typeof document<"u";function Ml(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ju(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ml(e.default)}const ee=Object.assign;function sr(e,t){const n={};for(const s in t){const r=t[s];n[s]=ot(r)?r.map(e):e(r)}return n}const Fn=()=>{},ot=Array.isArray,Dl=/#/g,Wu=/&/g,Vu=/\//g,Gu=/=/g,qu=/\?/g,Nl=/\+/g,Ku=/%5B/g,Yu=/%5D/g,$l=/%5E/g,Zu=/%60/g,Fl=/%7B/g,Xu=/%7C/g,Hl=/%7D/g,Qu=/%20/g;function Xr(e){return encodeURI(""+e).replace(Xu,"|").replace(Ku,"[").replace(Yu,"]")}function Ju(e){return Xr(e).replace(Fl,"{").replace(Hl,"}").replace($l,"^")}function vr(e){return Xr(e).replace(Nl,"%2B").replace(Qu,"+").replace(Dl,"%23").replace(Wu,"%26").replace(Zu,"`").replace(Fl,"{").replace(Hl,"}").replace($l,"^")}function ef(e){return vr(e).replace(Gu,"%3D")}function tf(e){return Xr(e).replace(Dl,"%23").replace(qu,"%3F")}function nf(e){return e==null?"":tf(e).replace(Vu,"%2F")}function Gn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const sf=/\/$/,rf=e=>e.replace(sf,"");function rr(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=cf(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Gn(o)}}function of(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&gn(t.matched[s],n.matched[r])&&zl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!af(e[n],t[n]))return!1;return!0}function af(e,t){return ot(e)?Ji(e,t):ot(t)?Ji(t,e):e===t}function Ji(e,t){return ot(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function cf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var qn;(function(e){e.pop="pop",e.push="push"})(qn||(qn={}));var Hn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hn||(Hn={}));function uf(e){if(!e)if(on){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),rf(e)}const ff=/^[^#]+#/;function pf(e,t){return e.replace(ff,"#")+t}function hf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Us=()=>({left:window.scrollX,top:window.scrollY});function df(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=hf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function eo(e,t){return(history.state?history.state.position-t:-1)+e}const Er=new Map;function gf(e,t){Er.set(e,t)}function mf(e){const t=Er.get(e);return Er.delete(e),t}let bf=()=>location.protocol+"//"+location.host;function Ul(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Qi(a,"")}return Qi(n,e)+s+r}function _f(e,t,n,s){let r=[],i=[],o=null;const l=({state:g})=>{const b=Ul(e,location),S=n.value,C=t.value;let j=0;if(g){if(n.value=b,t.value=g,o&&o===S){o=null;return}j=C?g.position-C.position:0}else s(b);r.forEach(R=>{R(n.value,S,{delta:j,type:qn.pop,direction:j?j>0?Hn.forward:Hn.back:Hn.unknown})})};function a(){o=n.value}function c(g){r.push(g);const b=()=>{const S=r.indexOf(g);S>-1&&r.splice(S,1)};return i.push(b),b}function u(){const{history:g}=window;g.state&&g.replaceState(ee({},g.state,{scroll:Us()}),"")}function p(){for(const g of i)g();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:p}}function to(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Us():null}}function xf(e){const{history:t,location:n}=window,s={value:Ul(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,c,u){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+a:bf()+e+a;try{t[u?"replaceState":"pushState"](c,"",g),r.value=c}catch(b){console.error(b),n[u?"replace":"assign"](g)}}function o(a,c){const u=ee({},t.state,to(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,u,!0),s.value=a}function l(a,c){const u=ee({},r.value,t.state,{forward:a,scroll:Us()});i(u.current,u,!0);const p=ee({},to(s.value,a,null),{position:u.position+1},c);i(a,p,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function yf(e){e=uf(e);const t=xf(e),n=_f(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=ee({location:"",base:e,go:s,createHref:pf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function wf(e){return typeof e=="string"||e&&typeof e=="object"}function Bl(e){return typeof e=="string"||typeof e=="symbol"}const jl=Symbol("");var no;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(no||(no={}));function mn(e,t){return ee(new Error,{type:e,[jl]:!0},t)}function vt(e,t){return e instanceof Error&&jl in e&&(t==null||!!(e.type&t))}const so="[^/]+?",Sf={sensitive:!1,strict:!1,start:!0,end:!0},kf=/[.+*?^${}()[\]/\\]/g;function vf(e,t){const n=ee({},Sf,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let p=0;p<c.length;p++){const g=c[p];let b=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace(kf,"\\$&"),b+=40;else if(g.type===1){const{value:S,repeatable:C,optional:j,regexp:R}=g;i.push({name:S,repeatable:C,optional:j});const O=R||so;if(O!==so){b+=10;try{new RegExp(`(${O})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${S}" (${O}): `+E.message)}}let M=C?`((?:${O})(?:/(?:${O}))*)`:`(${O})`;p||(M=j&&c.length<2?`(?:/${M})`:"/"+M),j&&(M+="?"),r+=M,b+=20,j&&(b+=-8),C&&(b+=-20),O===".*"&&(b+=-50)}u.push(b)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(o),p={};if(!u)return null;for(let g=1;g<u.length;g++){const b=u[g]||"",S=i[g-1];p[S.name]=b&&S.repeatable?b.split("/"):b}return p}function a(c){let u="",p=!1;for(const g of e){(!p||!u.endsWith("/"))&&(u+="/"),p=!1;for(const b of g)if(b.type===0)u+=b.value;else if(b.type===1){const{value:S,repeatable:C,optional:j}=b,R=S in c?c[S]:"";if(ot(R)&&!C)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const O=ot(R)?R.join("/"):R;if(!O)if(j)g.length<2&&(u.endsWith("/")?u=u.slice(0,-1):p=!0);else throw new Error(`Missing required param "${S}"`);u+=O}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function Ef(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Wl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Ef(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(ro(s))return 1;if(ro(r))return-1}return r.length-s.length}function ro(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Tf={type:0,value:""},Af=/[a-zA-Z0-9_]/;function Rf(e){if(!e)return[[]];if(e==="/")return[[Tf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${c}": ${b}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,c="",u="";function p(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function g(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&p(),o()):a===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:a==="("?n=2:Af.test(a)?g():(p(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:p(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),p(),o(),r}function Cf(e,t,n){const s=vf(Rf(e.path),n),r=ee(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Of(e,t){const n=[],s=new Map;t=ao({strict:!1,end:!0,sensitive:!1},t);function r(p){return s.get(p)}function i(p,g,b){const S=!b,C=oo(p);C.aliasOf=b&&b.record;const j=ao(t,p),R=[C];if("alias"in p){const E=typeof p.alias=="string"?[p.alias]:p.alias;for(const W of E)R.push(oo(ee({},C,{components:b?b.record.components:C.components,path:W,aliasOf:b?b.record:C})))}let O,M;for(const E of R){const{path:W}=E;if(g&&W[0]!=="/"){const Y=g.record.path,q=Y[Y.length-1]==="/"?"":"/";E.path=g.record.path+(W&&q+W)}if(O=Cf(E,g,j),b?b.alias.push(O):(M=M||O,M!==O&&M.alias.push(O),S&&p.name&&!lo(O)&&o(p.name)),Vl(O)&&a(O),C.children){const Y=C.children;for(let q=0;q<Y.length;q++)i(Y[q],O,b&&b.children[q])}b=b||O}return M?()=>{o(M)}:Fn}function o(p){if(Bl(p)){const g=s.get(p);g&&(s.delete(p),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(p);g>-1&&(n.splice(g,1),p.record.name&&s.delete(p.record.name),p.children.forEach(o),p.alias.forEach(o))}}function l(){return n}function a(p){const g=Lf(p,n);n.splice(g,0,p),p.record.name&&!lo(p)&&s.set(p.record.name,p)}function c(p,g){let b,S={},C,j;if("name"in p&&p.name){if(b=s.get(p.name),!b)throw mn(1,{location:p});j=b.record.name,S=ee(io(g.params,b.keys.filter(M=>!M.optional).concat(b.parent?b.parent.keys.filter(M=>M.optional):[]).map(M=>M.name)),p.params&&io(p.params,b.keys.map(M=>M.name))),C=b.stringify(S)}else if(p.path!=null)C=p.path,b=n.find(M=>M.re.test(C)),b&&(S=b.parse(C),j=b.record.name);else{if(b=g.name?s.get(g.name):n.find(M=>M.re.test(g.path)),!b)throw mn(1,{location:p,currentLocation:g});j=b.record.name,S=ee({},g.params,p.params),C=b.stringify(S)}const R=[];let O=b;for(;O;)R.unshift(O.record),O=O.parent;return{name:j,path:C,params:S,matched:R,meta:If(R)}}e.forEach(p=>i(p));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function io(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function oo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Pf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Pf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function lo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function If(e){return e.reduce((t,n)=>ee(t,n.meta),{})}function ao(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Lf(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Wl(e,t[i])<0?s=i:n=i+1}const r=Mf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Mf(e){let t=e;for(;t=t.parent;)if(Vl(t)&&Wl(e,t)===0)return t}function Vl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Df(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Nl," "),o=i.indexOf("="),l=Gn(o<0?i:i.slice(0,o)),a=o<0?null:Gn(i.slice(o+1));if(l in t){let c=t[l];ot(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function co(e){let t="";for(let n in e){const s=e[n];if(n=ef(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ot(s)?s.map(i=>i&&vr(i)):[s&&vr(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Nf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ot(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const $f=Symbol(""),uo=Symbol(""),Qr=Symbol(""),Gl=Symbol(""),Tr=Symbol("");function yn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function zt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=g=>{g===!1?a(mn(4,{from:n,to:t})):g instanceof Error?a(g):wf(g)?a(mn(2,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),l())},u=i(()=>e.call(s&&s.instances[r],t,n,c));let p=Promise.resolve(u);e.length<3&&(p=p.then(c)),p.catch(g=>a(g))})}function ir(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let a=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Ml(a)){const u=(a.__vccOpts||a)[t];u&&i.push(zt(u,n,s,o,l,r))}else{let c=a();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const p=ju(u)?u.default:u;o.mods[l]=u,o.components[l]=p;const b=(p.__vccOpts||p)[t];return b&&zt(b,n,s,o,l,r)()}))}}return i}function fo(e){const t=Pt(Qr),n=Pt(Gl),s=Ze(()=>{const a=fn(e.to);return t.resolve(a)}),r=Ze(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],p=n.matched;if(!u||!p.length)return-1;const g=p.findIndex(gn.bind(null,u));if(g>-1)return g;const b=po(a[c-2]);return c>1&&po(u)===b&&p[p.length-1].path!==b?p.findIndex(gn.bind(null,a[c-2])):g}),i=Ze(()=>r.value>-1&&Bf(n.params,s.value.params)),o=Ze(()=>r.value>-1&&r.value===n.matched.length-1&&zl(n.params,s.value.params));function l(a={}){if(Uf(a)){const c=t[fn(e.replace)?"replace":"push"](fn(e.to)).catch(Fn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Ze(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Ff(e){return e.length===1?e[0]:e}const Hf=Ns({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:fo,setup(e,{slots:t}){const n=Ls(fo(e)),{options:s}=Pt(Qr),r=Ze(()=>({[ho(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ho(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Ff(t.default(n));return e.custom?i:Pl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),zf=Hf;function Uf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Bf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ot(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function po(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ho=(e,t,n)=>e??t??n,jf=Ns({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Pt(Tr),r=Ze(()=>e.route||s.value),i=Pt(uo,0),o=Ze(()=>{let c=fn(i);const{matched:u}=r.value;let p;for(;(p=u[c])&&!p.components;)c++;return c}),l=Ze(()=>r.value.matched[o.value]);as(uo,Ze(()=>o.value+1)),as($f,l),as(Tr,r);const a=$t();return Nn(()=>[a.value,l.value,e.name],([c,u,p],[g,b,S])=>{u&&(u.instances[p]=c,b&&b!==u&&c&&c===g&&(u.leaveGuards.size||(u.leaveGuards=b.leaveGuards),u.updateGuards.size||(u.updateGuards=b.updateGuards))),c&&u&&(!b||!gn(u,b)||!g)&&(u.enterCallbacks[p]||[]).forEach(C=>C(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,p=l.value,g=p&&p.components[u];if(!g)return go(n.default,{Component:g,route:c});const b=p.props[u],S=b?b===!0?c.params:typeof b=="function"?b(c):b:null,j=Pl(g,ee({},S,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(p.instances[u]=null)},ref:a}));return go(n.default,{Component:j,route:c})||j}}});function go(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Wf=jf;function Vf(e){const t=Of(e.routes,e),n=e.parseQuery||Df,s=e.stringifyQuery||co,r=e.history,i=yn(),o=yn(),l=yn(),a=Ka(Nt);let c=Nt;on&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=sr.bind(null,y=>""+y),p=sr.bind(null,nf),g=sr.bind(null,Gn);function b(y,D){let I,N;return Bl(y)?(I=t.getRecordMatcher(y),N=D):N=y,t.addRoute(N,I)}function S(y){const D=t.getRecordMatcher(y);D&&t.removeRoute(D)}function C(){return t.getRoutes().map(y=>y.record)}function j(y){return!!t.getRecordMatcher(y)}function R(y,D){if(D=ee({},D||a.value),typeof y=="string"){const m=rr(n,y,D.path),x=t.resolve({path:m.path},D),w=r.createHref(m.fullPath);return ee(m,x,{params:g(x.params),hash:Gn(m.hash),redirectedFrom:void 0,href:w})}let I;if(y.path!=null)I=ee({},y,{path:rr(n,y.path,D.path).path});else{const m=ee({},y.params);for(const x in m)m[x]==null&&delete m[x];I=ee({},y,{params:p(m)}),D.params=p(D.params)}const N=t.resolve(I,D),J=y.hash||"";N.params=u(g(N.params));const f=of(s,ee({},y,{hash:Ju(J),path:N.path})),h=r.createHref(f);return ee({fullPath:f,hash:J,query:s===co?Nf(y.query):y.query||{}},N,{redirectedFrom:void 0,href:h})}function O(y){return typeof y=="string"?rr(n,y,a.value.path):ee({},y)}function M(y,D){if(c!==y)return mn(8,{from:D,to:y})}function E(y){return q(y)}function W(y){return E(ee(O(y),{replace:!0}))}function Y(y){const D=y.matched[y.matched.length-1];if(D&&D.redirect){const{redirect:I}=D;let N=typeof I=="function"?I(y):I;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=O(N):{path:N},N.params={}),ee({query:y.query,hash:y.hash,params:N.path!=null?{}:y.params},N)}}function q(y,D){const I=c=R(y),N=a.value,J=y.state,f=y.force,h=y.replace===!0,m=Y(I);if(m)return q(ee(O(m),{state:typeof m=="object"?ee({},J,m.state):J,force:f,replace:h}),D||I);const x=I;x.redirectedFrom=D;let w;return!f&&lf(s,N,I)&&(w=mn(16,{to:x,from:N}),ie(N,N,!0,!1)),(w?Promise.resolve(w):Ke(x,N)).catch(_=>vt(_)?vt(_,2)?_:nt(_):Z(_,x,N)).then(_=>{if(_){if(vt(_,2))return q(ee({replace:h},O(_.to),{state:typeof _.to=="object"?ee({},J,_.to.state):J,force:f}),D||x)}else _=et(x,N,!0,h,J);return pe(x,N,_),_})}function Ie(y,D){const I=M(y,D);return I?Promise.reject(I):Promise.resolve()}function lt(y){const D=yt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(y):y()}function Ke(y,D){let I;const[N,J,f]=Gf(y,D);I=ir(N.reverse(),"beforeRouteLeave",y,D);for(const m of N)m.leaveGuards.forEach(x=>{I.push(zt(x,y,D))});const h=Ie.bind(null,y,D);return I.push(h),xe(I).then(()=>{I=[];for(const m of i.list())I.push(zt(m,y,D));return I.push(h),xe(I)}).then(()=>{I=ir(J,"beforeRouteUpdate",y,D);for(const m of J)m.updateGuards.forEach(x=>{I.push(zt(x,y,D))});return I.push(h),xe(I)}).then(()=>{I=[];for(const m of f)if(m.beforeEnter)if(ot(m.beforeEnter))for(const x of m.beforeEnter)I.push(zt(x,y,D));else I.push(zt(m.beforeEnter,y,D));return I.push(h),xe(I)}).then(()=>(y.matched.forEach(m=>m.enterCallbacks={}),I=ir(f,"beforeRouteEnter",y,D,lt),I.push(h),xe(I))).then(()=>{I=[];for(const m of o.list())I.push(zt(m,y,D));return I.push(h),xe(I)}).catch(m=>vt(m,8)?m:Promise.reject(m))}function pe(y,D,I){l.list().forEach(N=>lt(()=>N(y,D,I)))}function et(y,D,I,N,J){const f=M(y,D);if(f)return f;const h=D===Nt,m=on?history.state:{};I&&(N||h?r.replace(y.fullPath,ee({scroll:h&&m&&m.scroll},J)):r.push(y.fullPath,J)),a.value=y,ie(y,D,I,h),nt()}let ze;function xt(){ze||(ze=r.listen((y,D,I)=>{if(!ue.listening)return;const N=R(y),J=Y(N);if(J){q(ee(J,{replace:!0,force:!0}),N).catch(Fn);return}c=N;const f=a.value;on&&gf(eo(f.fullPath,I.delta),Us()),Ke(N,f).catch(h=>vt(h,12)?h:vt(h,2)?(q(ee(O(h.to),{force:!0}),N).then(m=>{vt(m,20)&&!I.delta&&I.type===qn.pop&&r.go(-1,!1)}).catch(Fn),Promise.reject()):(I.delta&&r.go(-I.delta,!1),Z(h,N,f))).then(h=>{h=h||et(N,f,!1),h&&(I.delta&&!vt(h,8)?r.go(-I.delta,!1):I.type===qn.pop&&vt(h,20)&&r.go(-1,!1)),pe(N,f,h)}).catch(Fn)}))}let Dt=yn(),ge=yn(),Q;function Z(y,D,I){nt(y);const N=ge.list();return N.length?N.forEach(J=>J(y,D,I)):console.error(y),Promise.reject(y)}function tt(){return Q&&a.value!==Nt?Promise.resolve():new Promise((y,D)=>{Dt.add([y,D])})}function nt(y){return Q||(Q=!y,xt(),Dt.list().forEach(([D,I])=>y?I(y):D()),Dt.reset()),y}function ie(y,D,I,N){const{scrollBehavior:J}=e;if(!on||!J)return Promise.resolve();const f=!I&&mf(eo(y.fullPath,0))||(N||!I)&&history.state&&history.state.scroll||null;return Ds().then(()=>J(y,D,f)).then(h=>h&&df(h)).catch(h=>Z(h,y,D))}const Se=y=>r.go(y);let he;const yt=new Set,ue={currentRoute:a,listening:!0,addRoute:b,removeRoute:S,clearRoutes:t.clearRoutes,hasRoute:j,getRoutes:C,resolve:R,options:e,push:E,replace:W,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ge.add,isReady:tt,install(y){const D=this;y.component("RouterLink",zf),y.component("RouterView",Wf),y.config.globalProperties.$router=D,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>fn(a)}),on&&!he&&a.value===Nt&&(he=!0,E(r.location).catch(J=>{}));const I={};for(const J in Nt)Object.defineProperty(I,J,{get:()=>a.value[J],enumerable:!0});y.provide(Qr,D),y.provide(Gl,Qo(I)),y.provide(Tr,a);const N=y.unmount;yt.add(y),y.unmount=function(){yt.delete(y),yt.size<1&&(c=Nt,ze&&ze(),ze=null,a.value=Nt,he=!1,Q=!1),N()}}};function xe(y){return y.reduce((D,I)=>D.then(()=>lt(I)),Promise.resolve())}return ue}function Gf(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(c=>gn(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>gn(c,a))||r.push(a))}return[n,s,r]}const qf={class:"card"},Kf=Ns({__name:"HelloWorld",props:{msg:{}},setup(e){const t=$t(0);return(n,s)=>(Ut(),Yt(rt,null,[le("h1",null,ht(e.msg),1),le("div",qf,[le("button",{type:"button",onClick:s[0]||(s[0]=r=>t.value++)},"count is "+ht(t.value),1),s[1]||(s[1]=le("p",null,[dt(" Edit "),le("code",null,"components/HelloWorld.vue"),dt(" to test HMR ")],-1))]),s[2]||(s[2]=le("p",null,[dt(" Check out "),le("a",{href:"https://vuejs.org/guide/quick-start.html#local",target:"_blank"},"create-vue"),dt(", the official Vue + Vite starter ")],-1)),s[3]||(s[3]=le("p",null,[dt(" Learn more about IDE Support for Vue in the "),le("a",{href:"https://vuejs.org/guide/scaling-up/tooling.html#ide-support",target:"_blank"},"Vue Docs Scaling up Guide"),dt(". ")],-1)),s[4]||(s[4]=le("p",{class:"read-the-docs"},"Click on the Vite and Vue logos to learn more",-1))],64))}}),Yf=Zr(Kf,[["__scopeId","data-v-cc337d8c"]]);function Jr(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Jt=Jr();function ql(e){Jt=e}var zn={exec:()=>null};function re(e,t=""){let n=typeof e=="string"?e:e.source,s={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace($e.caret,"$1"),n=n.replace(r,o),s},getRegex:()=>new RegExp(n,t)};return s}var $e={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Zf=/^(?:[ \t]*(?:\n|$))+/,Xf=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Qf=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Xn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Jf=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ei=/(?:[*+-]|\d{1,9}[.)])/,Kl=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Yl=re(Kl).replace(/bull/g,ei).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),ep=re(Kl).replace(/bull/g,ei).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ti=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,tp=/^[^\n]+/,ni=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,np=re(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ni).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),sp=re(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ei).getRegex(),Bs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",si=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,rp=re("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",si).replace("tag",Bs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Zl=re(ti).replace("hr",Xn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bs).getRegex(),ip=re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Zl).getRegex(),ri={blockquote:ip,code:Xf,def:np,fences:Qf,heading:Jf,hr:Xn,html:rp,lheading:Yl,list:sp,newline:Zf,paragraph:Zl,table:zn,text:tp},mo=re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Xn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bs).getRegex(),op={...ri,lheading:ep,table:mo,paragraph:re(ti).replace("hr",Xn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",mo).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bs).getRegex()},lp={...ri,html:re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",si).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:re(ti).replace("hr",Xn).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",Yl).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ap=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,cp=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Xl=/^( {2,}|\\)\n(?!\s*$)/,up=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,js=/[\p{P}\p{S}]/u,ii=/[\s\p{P}\p{S}]/u,Ql=/[^\s\p{P}\p{S}]/u,fp=re(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ii).getRegex(),Jl=/(?!~)[\p{P}\p{S}]/u,pp=/(?!~)[\s\p{P}\p{S}]/u,hp=/(?:[^\s\p{P}\p{S}]|~)/u,dp=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,ea=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,gp=re(ea,"u").replace(/punct/g,js).getRegex(),mp=re(ea,"u").replace(/punct/g,Jl).getRegex(),ta="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",bp=re(ta,"gu").replace(/notPunctSpace/g,Ql).replace(/punctSpace/g,ii).replace(/punct/g,js).getRegex(),_p=re(ta,"gu").replace(/notPunctSpace/g,hp).replace(/punctSpace/g,pp).replace(/punct/g,Jl).getRegex(),xp=re("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ql).replace(/punctSpace/g,ii).replace(/punct/g,js).getRegex(),yp=re(/\\(punct)/,"gu").replace(/punct/g,js).getRegex(),wp=re(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Sp=re(si).replace("(?:-->|$)","-->").getRegex(),kp=re("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Sp).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ks=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,vp=re(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ks).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),na=re(/^!?\[(label)\]\[(ref)\]/).replace("label",ks).replace("ref",ni).getRegex(),sa=re(/^!?\[(ref)\](?:\[\])?/).replace("ref",ni).getRegex(),Ep=re("reflink|nolink(?!\\()","g").replace("reflink",na).replace("nolink",sa).getRegex(),oi={_backpedal:zn,anyPunctuation:yp,autolink:wp,blockSkip:dp,br:Xl,code:cp,del:zn,emStrongLDelim:gp,emStrongRDelimAst:bp,emStrongRDelimUnd:xp,escape:ap,link:vp,nolink:sa,punctuation:fp,reflink:na,reflinkSearch:Ep,tag:kp,text:up,url:zn},Tp={...oi,link:re(/^!?\[(label)\]\((.*?)\)/).replace("label",ks).getRegex(),reflink:re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ks).getRegex()},Ar={...oi,emStrongRDelimAst:_p,emStrongLDelim:mp,url:re(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Ap={...Ar,br:re(Xl).replace("{2,}","*").getRegex(),text:re(Ar.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},rs={normal:ri,gfm:op,pedantic:lp},wn={normal:oi,gfm:Ar,breaks:Ap,pedantic:Tp},Rp={"&":"&","<":"<",">":">",'"':""","'":"'"},bo=e=>Rp[e];function ft(e,t){if(t){if($e.escapeTest.test(e))return e.replace($e.escapeReplace,bo)}else if($e.escapeTestNoEncode.test(e))return e.replace($e.escapeReplaceNoEncode,bo);return e}function _o(e){try{e=encodeURI(e).replace($e.percentDecode,"%")}catch{return null}return e}function xo(e,t){let n=e.replace($e.findPipe,(i,o,l)=>{let a=!1,c=o;for(;--c>=0&&l[c]==="\\";)a=!a;return a?"|":" |"}),s=n.split($e.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace($e.slashPipe,"|");return s}function Sn(e,t,n){let s=e.length;if(s===0)return"";let r=0;for(;r<s&&e.charAt(s-r-1)===t;)r++;return e.slice(0,s-r)}function Cp(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let s=0;s<e.length;s++)if(e[s]==="\\")s++;else if(e[s]===t[0])n++;else if(e[s]===t[1]&&(n--,n<0))return s;return n>0?-2:-1}function yo(e,t,n,s,r){let i=t.href,o=t.title||null,l=e[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let a={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:o,text:l,tokens:s.inlineTokens(l)};return s.state.inLink=!1,a}function Op(e,t,n){let s=e.match(n.other.indentCodeCompensation);if(s===null)return t;let r=s[1];return t.split(`
|
|
`).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[l]=o;return l.length>=r.length?i.slice(r.length):i}).join(`
|
|
`)}var vs=class{options;rules;lexer;constructor(e){this.options=e||Jt}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Sn(n,`
|
|
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=Op(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let s=Sn(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Sn(t[0],`
|
|
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Sn(t[0],`
|
|
`).split(`
|
|
`),s="",r="",i=[];for(;n.length>0;){let o=!1,l=[],a;for(a=0;a<n.length;a++)if(this.rules.other.blockquoteStart.test(n[a]))l.push(n[a]),o=!0;else if(!o)l.push(n[a]);else break;n=n.slice(a);let c=l.join(`
|
|
`),u=c.replace(this.rules.other.blockquoteSetextReplace,`
|
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
|
|
${c}`:c,r=r?`${r}
|
|
${u}`:u;let p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,i,!0),this.lexer.state.top=p,n.length===0)break;let g=i.at(-1);if(g?.type==="code")break;if(g?.type==="blockquote"){let b=g,S=b.raw+`
|
|
`+n.join(`
|
|
`),C=this.blockquote(S);i[i.length-1]=C,s=s.substring(0,s.length-b.raw.length)+C.raw,r=r.substring(0,r.length-b.text.length)+C.text;break}else if(g?.type==="list"){let b=g,S=b.raw+`
|
|
`+n.join(`
|
|
`),C=this.list(S);i[i.length-1]=C,s=s.substring(0,s.length-g.raw.length)+C.raw,r=r.substring(0,r.length-b.raw.length)+C.raw,n=S.substring(i.at(-1).raw.length).split(`
|
|
`);continue}}return{type:"blockquote",raw:s,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),s=n.length>1,r={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let i=this.rules.other.listItemRegex(n),o=!1;for(;e;){let a=!1,c="",u="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;c=t[0],e=e.substring(c.length);let p=t[2].split(`
|
|
`,1)[0].replace(this.rules.other.listReplaceTabs,R=>" ".repeat(3*R.length)),g=e.split(`
|
|
`,1)[0],b=!p.trim(),S=0;if(this.options.pedantic?(S=2,u=p.trimStart()):b?S=t[1].length+1:(S=t[2].search(this.rules.other.nonSpaceChar),S=S>4?1:S,u=p.slice(S),S+=t[1].length),b&&this.rules.other.blankLine.test(g)&&(c+=g+`
|
|
`,e=e.substring(g.length+1),a=!0),!a){let R=this.rules.other.nextBulletRegex(S),O=this.rules.other.hrRegex(S),M=this.rules.other.fencesBeginRegex(S),E=this.rules.other.headingBeginRegex(S),W=this.rules.other.htmlBeginRegex(S);for(;e;){let Y=e.split(`
|
|
`,1)[0],q;if(g=Y,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),q=g):q=g.replace(this.rules.other.tabCharGlobal," "),M.test(g)||E.test(g)||W.test(g)||R.test(g)||O.test(g))break;if(q.search(this.rules.other.nonSpaceChar)>=S||!g.trim())u+=`
|
|
`+q.slice(S);else{if(b||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||M.test(p)||E.test(p)||O.test(p))break;u+=`
|
|
`+g}!b&&!g.trim()&&(b=!0),c+=Y+`
|
|
`,e=e.substring(Y.length+1),p=q.slice(S)}}r.loose||(o?r.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(o=!0));let C=null,j;this.options.gfm&&(C=this.rules.other.listIsTask.exec(u),C&&(j=C[0]!=="[ ] ",u=u.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:c,task:!!C,checked:j,loose:!1,text:u,tokens:[]}),r.raw+=c}let l=r.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let a=0;a<r.items.length;a++)if(this.lexer.state.top=!1,r.items[a].tokens=this.lexer.blockTokens(r.items[a].text,[]),!r.loose){let c=r.items[a].tokens.filter(p=>p.type==="space"),u=c.length>0&&c.some(p=>this.rules.other.anyLine.test(p.raw));r.loose=u}if(r.loose)for(let a=0;a<r.items.length;a++)r.items[a].loose=!0;return r}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=xo(t[1]),s=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===s.length){for(let o of s)this.rules.other.tableAlignRight.test(o)?i.align.push("right"):this.rules.other.tableAlignCenter.test(o)?i.align.push("center"):this.rules.other.tableAlignLeft.test(o)?i.align.push("left"):i.align.push(null);for(let o=0;o<n.length;o++)i.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:i.align[o]});for(let o of r)i.rows.push(xo(o,i.header.length).map((l,a)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:i.align[a]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
|
|
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let i=Sn(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{let i=Cp(t[2],"()");if(i===-2)return;if(i>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let s=t[2],r="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(s);i&&(s=i[1],r=i[3])}else r=t[3]?t[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),yo(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=t[s.toLowerCase()];if(!r){let i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return yo(n,r,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!(!s||s[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[2])||!n||this.rules.inline.punctuation.exec(n))){let r=[...s[0]].length-1,i,o,l=r,a=0,c=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+r);(s=c.exec(t))!=null;){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i].length,s[3]||s[4]){l+=o;continue}else if((s[5]||s[6])&&r%3&&!((r+o)%3)){a+=o;continue}if(l-=o,l>0)continue;o=Math.min(o,o+l+a);let u=[...s[0]][0].length,p=e.slice(0,r+s.index+u+o);if(Math.min(r,o)%2){let b=p.slice(1,-1);return{type:"em",raw:p,text:b,tokens:this.lexer.inlineTokens(b)}}let g=p.slice(2,-2);return{type:"strong",raw:p,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),r=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&r&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=t[1],s="mailto:"+n):(n=t[1],s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=t[0],s="mailto:"+n;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0]);n=t[0],t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},Ct=class Rr{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Jt,this.options.tokenizer=this.options.tokenizer||new vs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:$e,block:rs.normal,inline:wn.normal};this.options.pedantic?(n.block=rs.pedantic,n.inline=wn.pedantic):this.options.gfm&&(n.block=rs.gfm,this.options.breaks?n.inline=wn.breaks:n.inline=wn.gfm),this.tokenizer.rules=n}static get rules(){return{block:rs,inline:wn}}static lex(t,n){return new Rr(n).lex(t)}static lexInline(t,n){return new Rr(n).inlineTokens(t)}lex(t){t=t.replace($e.carriageReturn,`
|
|
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let s=this.inlineQueue[n];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],s=!1){for(this.options.pedantic&&(t=t.replace($e.tabCharGlobal," ").replace($e.spaceLine,""));t;){let r;if(this.options.extensions?.block?.some(o=>(r=o.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);let o=n.at(-1);r.raw.length===1&&o!==void 0?o.raw+=`
|
|
`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
`)?"":`
|
|
`)+r.raw,o.text+=`
|
|
`+r.text,this.inlineQueue.at(-1).src=o.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
`)?"":`
|
|
`)+r.raw,o.text+=`
|
|
`+r.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},n.push(r));continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}let i=t;if(this.options.extensions?.startBlock){let o=1/0,l=t.slice(1),a;this.options.extensions.startBlock.forEach(c=>{a=c.call({lexer:this},l),typeof a=="number"&&a>=0&&(o=Math.min(o,a))}),o<1/0&&o>=0&&(i=t.substring(0,o+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let o=n.at(-1);s&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
|
|
`)?"":`
|
|
`)+r.raw,o.text+=`
|
|
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(r),s=i.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
`)?"":`
|
|
`)+r.raw,o.text+=`
|
|
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(r);continue}if(t){let o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let s=t,r=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)l.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,r.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(r=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);s=this.options.hooks?.emStrongMask?.call({lexer:this},s)??s;let i=!1,o="";for(;t;){i||(o=""),i=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},t,n))?(t=t.substring(l.raw.length),n.push(l),!0):!1))continue;if(l=this.tokenizer.escape(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.tag(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.link(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(l.raw.length);let c=n.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):n.push(l);continue}if(l=this.tokenizer.emStrong(t,s,o)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.codespan(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.br(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.del(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.autolink(t)){t=t.substring(l.raw.length),n.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(t))){t=t.substring(l.raw.length),n.push(l);continue}let a=t;if(this.options.extensions?.startInline){let c=1/0,u=t.slice(1),p;this.options.extensions.startInline.forEach(g=>{p=g.call({lexer:this},u),typeof p=="number"&&p>=0&&(c=Math.min(c,p))}),c<1/0&&c>=0&&(a=t.substring(0,c+1))}if(l=this.tokenizer.inlineText(a)){t=t.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(o=l.raw.slice(-1)),i=!0;let c=n.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):n.push(l);continue}if(t){let c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}},Es=class{options;parser;constructor(e){this.options=e||Jt}space(e){return""}code({text:e,lang:t,escaped:n}){let s=(t||"").match($e.notSpaceStart)?.[0],r=e.replace($e.endingNewline,"")+`
|
|
`;return s?'<pre><code class="language-'+ft(s)+'">'+(n?r:ft(r,!0))+`</code></pre>
|
|
`:"<pre><code>"+(n?r:ft(r,!0))+`</code></pre>
|
|
`}blockquote({tokens:e}){return`<blockquote>
|
|
${this.parser.parse(e)}</blockquote>
|
|
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
`}hr(e){return`<hr>
|
|
`}list(e){let t=e.ordered,n=e.start,s="";for(let o=0;o<e.items.length;o++){let l=e.items[o];s+=this.listitem(l)}let r=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+r+i+`>
|
|
`+s+"</"+r+`>
|
|
`}listitem(e){let t="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+ft(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>
|
|
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
`}table(e){let t="",n="";for(let r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);t+=this.tablerow({text:n});let s="";for(let r=0;r<e.rows.length;r++){let i=e.rows[r];n="";for(let o=0;o<i.length;o++)n+=this.tablecell(i[o]);s+=this.tablerow({text:n})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
|
|
<thead>
|
|
`+t+`</thead>
|
|
`+s+`</table>
|
|
`}tablerow({text:e}){return`<tr>
|
|
${e}</tr>
|
|
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${ft(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let s=this.parser.parseInline(n),r=_o(e);if(r===null)return s;e=r;let i='<a href="'+e+'"';return t&&(i+=' title="'+ft(t)+'"'),i+=">"+s+"</a>",i}image({href:e,title:t,text:n,tokens:s}){s&&(n=this.parser.parseInline(s,this.parser.textRenderer));let r=_o(e);if(r===null)return ft(n);e=r;let i=`<img src="${e}" alt="${n}"`;return t&&(i+=` title="${ft(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ft(e.text)}},li=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},Ot=class Cr{options;renderer;textRenderer;constructor(t){this.options=t||Jt,this.options.renderer=this.options.renderer||new Es,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new li}static parse(t,n){return new Cr(n).parse(t)}static parseInline(t,n){return new Cr(n).parseInline(t)}parse(t,n=!0){let s="";for(let r=0;r<t.length;r++){let i=t[r];if(this.options.extensions?.renderers?.[i.type]){let l=i,a=this.options.extensions.renderers[l.type].call({parser:this},l);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(l.type)){s+=a||"";continue}}let o=i;switch(o.type){case"space":{s+=this.renderer.space(o);continue}case"hr":{s+=this.renderer.hr(o);continue}case"heading":{s+=this.renderer.heading(o);continue}case"code":{s+=this.renderer.code(o);continue}case"table":{s+=this.renderer.table(o);continue}case"blockquote":{s+=this.renderer.blockquote(o);continue}case"list":{s+=this.renderer.list(o);continue}case"html":{s+=this.renderer.html(o);continue}case"def":{s+=this.renderer.def(o);continue}case"paragraph":{s+=this.renderer.paragraph(o);continue}case"text":{let l=o,a=this.renderer.text(l);for(;r+1<t.length&&t[r+1].type==="text";)l=t[++r],a+=`
|
|
`+this.renderer.text(l);n?s+=this.renderer.paragraph({type:"paragraph",raw:a,text:a,tokens:[{type:"text",raw:a,text:a,escaped:!0}]}):s+=a;continue}default:{let l='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return s}parseInline(t,n=this.renderer){let s="";for(let r=0;r<t.length;r++){let i=t[r];if(this.options.extensions?.renderers?.[i.type]){let l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){s+=l||"";continue}}let o=i;switch(o.type){case"escape":{s+=n.text(o);break}case"html":{s+=n.html(o);break}case"link":{s+=n.link(o);break}case"image":{s+=n.image(o);break}case"strong":{s+=n.strong(o);break}case"em":{s+=n.em(o);break}case"codespan":{s+=n.codespan(o);break}case"br":{s+=n.br(o);break}case"del":{s+=n.del(o);break}case"text":{s+=n.text(o);break}default:{let l='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return s}},Cn=class{options;block;constructor(e){this.options=e||Jt}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?Ct.lex:Ct.lexInline}provideParser(){return this.block?Ot.parse:Ot.parseInline}},Pp=class{defaults=Jr();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Ot;Renderer=Es;TextRenderer=li;Lexer=Ct;Tokenizer=vs;Hooks=Cn;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{let r=s;for(let i of r.header)n=n.concat(this.walkTokens(i.tokens,t));for(let i of r.rows)for(let o of i)n=n.concat(this.walkTokens(o.tokens,t));break}case"list":{let r=s;n=n.concat(this.walkTokens(r.items,t));break}default:{let r=s;this.defaults.extensions?.childTokens?.[r.type]?this.defaults.extensions.childTokens[r.type].forEach(i=>{let o=r[i].flat(1/0);n=n.concat(this.walkTokens(o,t))}):r.tokens&&(n=n.concat(this.walkTokens(r.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let i=t.renderers[r.name];i?t.renderers[r.name]=function(...o){let l=r.renderer.apply(this,o);return l===!1&&(l=i.apply(this,o)),l}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[r.level];i?i.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),s.extensions=t),n.renderer){let r=this.defaults.renderer||new Es(this.defaults);for(let i in n.renderer){if(!(i in r))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let o=i,l=n.renderer[o],a=r[o];r[o]=(...c)=>{let u=l.apply(r,c);return u===!1&&(u=a.apply(r,c)),u||""}}s.renderer=r}if(n.tokenizer){let r=this.defaults.tokenizer||new vs(this.defaults);for(let i in n.tokenizer){if(!(i in r))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let o=i,l=n.tokenizer[o],a=r[o];r[o]=(...c)=>{let u=l.apply(r,c);return u===!1&&(u=a.apply(r,c)),u}}s.tokenizer=r}if(n.hooks){let r=this.defaults.hooks||new Cn;for(let i in n.hooks){if(!(i in r))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let o=i,l=n.hooks[o],a=r[o];Cn.passThroughHooks.has(i)?r[o]=c=>{if(this.defaults.async&&Cn.passThroughHooksRespectAsync.has(i))return Promise.resolve(l.call(r,c)).then(p=>a.call(r,p));let u=l.call(r,c);return a.call(r,u)}:r[o]=(...c)=>{let u=l.apply(r,c);return u===!1&&(u=a.apply(r,c)),u}}s.hooks=r}if(n.walkTokens){let r=this.defaults.walkTokens,i=n.walkTokens;s.walkTokens=function(o){let l=[];return l.push(i.call(this,o)),r&&(l=l.concat(r.call(this,o))),l}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Ct.lex(e,t??this.defaults)}parser(e,t){return Ot.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let s={...n},r={...this.defaults,...s},i=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&s.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);let o=r.hooks?r.hooks.provideLexer():e?Ct.lex:Ct.lexInline,l=r.hooks?r.hooks.provideParser():e?Ot.parse:Ot.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(t):t).then(a=>o(a,r)).then(a=>r.hooks?r.hooks.processAllTokens(a):a).then(a=>r.walkTokens?Promise.all(this.walkTokens(a,r.walkTokens)).then(()=>a):a).then(a=>l(a,r)).then(a=>r.hooks?r.hooks.postprocess(a):a).catch(i);try{r.hooks&&(t=r.hooks.preprocess(t));let a=o(t,r);r.hooks&&(a=r.hooks.processAllTokens(a)),r.walkTokens&&this.walkTokens(a,r.walkTokens);let c=l(a,r);return r.hooks&&(c=r.hooks.postprocess(c)),c}catch(a){return i(a)}}}onError(e,t){return n=>{if(n.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,e){let s="<p>An error occurred:</p><pre>"+ft(n.message+"",!0)+"</pre>";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}},Xt=new Pp;function se(e,t){return Xt.parse(e,t)}se.options=se.setOptions=function(e){return Xt.setOptions(e),se.defaults=Xt.defaults,ql(se.defaults),se};se.getDefaults=Jr;se.defaults=Jt;se.use=function(...e){return Xt.use(...e),se.defaults=Xt.defaults,ql(se.defaults),se};se.walkTokens=function(e,t){return Xt.walkTokens(e,t)};se.parseInline=Xt.parseInline;se.Parser=Ot;se.parser=Ot.parse;se.Renderer=Es;se.TextRenderer=li;se.Lexer=Ct;se.lexer=Ct.lex;se.Tokenizer=vs;se.Hooks=Cn;se.parse=se;se.options;se.setOptions;se.use;se.walkTokens;se.parseInline;Ot.parse;Ct.lex;/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */const{entries:ra,setPrototypeOf:wo,isFrozen:Ip,getPrototypeOf:Lp,getOwnPropertyDescriptor:Mp}=Object;let{freeze:Fe,seal:Je,create:ia}=Object,{apply:Or,construct:Pr}=typeof Reflect<"u"&&Reflect;Fe||(Fe=function(t){return t});Je||(Je=function(t){return t});Or||(Or=function(t,n){for(var s=arguments.length,r=new Array(s>2?s-2:0),i=2;i<s;i++)r[i-2]=arguments[i];return t.apply(n,r)});Pr||(Pr=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return new t(...s)});const is=He(Array.prototype.forEach),Dp=He(Array.prototype.lastIndexOf),So=He(Array.prototype.pop),kn=He(Array.prototype.push),Np=He(Array.prototype.splice),ps=He(String.prototype.toLowerCase),or=He(String.prototype.toString),lr=He(String.prototype.match),vn=He(String.prototype.replace),$p=He(String.prototype.indexOf),Fp=He(String.prototype.trim),st=He(Object.prototype.hasOwnProperty),Me=He(RegExp.prototype.test),En=Hp(TypeError);function He(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return Or(e,t,s)}}function Hp(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return Pr(e,n)}}function K(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ps;wo&&wo(e,null);let s=t.length;for(;s--;){let r=t[s];if(typeof r=="string"){const i=n(r);i!==r&&(Ip(t)||(t[s]=i),r=i)}e[r]=!0}return e}function zp(e){for(let t=0;t<e.length;t++)st(e,t)||(e[t]=null);return e}function Et(e){const t=ia(null);for(const[n,s]of ra(e))st(e,n)&&(Array.isArray(s)?t[n]=zp(s):s&&typeof s=="object"&&s.constructor===Object?t[n]=Et(s):t[n]=s);return t}function Tn(e,t){for(;e!==null;){const s=Mp(e,t);if(s){if(s.get)return He(s.get);if(typeof s.value=="function")return He(s.value)}e=Lp(e)}function n(){return null}return n}const ko=Fe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ar=Fe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),cr=Fe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Up=Fe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ur=Fe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Bp=Fe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vo=Fe(["#text"]),Eo=Fe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),fr=Fe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),To=Fe(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),os=Fe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jp=Je(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Wp=Je(/<%[\w\W]*|[\w\W]*%>/gm),Vp=Je(/\$\{[\w\W]*/gm),Gp=Je(/^data-[\-\w.\u00B7-\uFFFF]+$/),qp=Je(/^aria-[\-\w]+$/),oa=Je(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kp=Je(/^(?:\w+script|data):/i),Yp=Je(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),la=Je(/^html$/i),Zp=Je(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ao=Object.freeze({__proto__:null,ARIA_ATTR:qp,ATTR_WHITESPACE:Yp,CUSTOM_ELEMENT:Zp,DATA_ATTR:Gp,DOCTYPE_NAME:la,ERB_EXPR:Wp,IS_ALLOWED_URI:oa,IS_SCRIPT_OR_DATA:Kp,MUSTACHE_EXPR:jp,TMPLIT_EXPR:Vp});const An={element:1,text:3,progressingInstruction:7,comment:8,document:9},Xp=function(){return typeof window>"u"?null:window},Qp=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let s=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(s=n.getAttribute(r));const i="dompurify"+(s?"#"+s:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Ro=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function aa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xp();const t=H=>aa(H);if(t.version="3.2.7",t.removed=[],!e||!e.document||e.document.nodeType!==An.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const s=n,r=s.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:l,Element:a,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:p,DOMParser:g,trustedTypes:b}=e,S=a.prototype,C=Tn(S,"cloneNode"),j=Tn(S,"remove"),R=Tn(S,"nextSibling"),O=Tn(S,"childNodes"),M=Tn(S,"parentNode");if(typeof o=="function"){const H=n.createElement("template");H.content&&H.content.ownerDocument&&(n=H.content.ownerDocument)}let E,W="";const{implementation:Y,createNodeIterator:q,createDocumentFragment:Ie,getElementsByTagName:lt}=n,{importNode:Ke}=s;let pe=Ro();t.isSupported=typeof ra=="function"&&typeof M=="function"&&Y&&Y.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:et,ERB_EXPR:ze,TMPLIT_EXPR:xt,DATA_ATTR:Dt,ARIA_ATTR:ge,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:tt}=Ao;let{IS_ALLOWED_URI:nt}=Ao,ie=null;const Se=K({},[...ko,...ar,...cr,...ur,...vo]);let he=null;const yt=K({},[...Eo,...fr,...To,...os]);let ue=Object.seal(ia(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xe=null,y=null,D=!0,I=!0,N=!1,J=!0,f=!1,h=!0,m=!1,x=!1,w=!1,_=!1,P=!1,A=!1,T=!0,k=!1;const z="user-content-";let L=!0,F=!1,U={},G=null;const oe=K({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let X=null;const ke=K({},["audio","video","img","source","image","track"]);let ye=null;const We=K({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Le="http://www.w3.org/1998/Math/MathML",at="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml";let me=Ye,Ue=!1,en=null;const Qn=K({},[Le,at,Ye],or);let Jn=K({},["mi","mo","mn","ms","mtext"]),es=K({},["annotation-xml"]);const ca=K({},["title","style","font","a","script"]);let bn=null;const ua=["application/xhtml+xml","text/html"],fa="text/html";let we=null,tn=null;const pa=n.createElement("form"),ai=function(d){return d instanceof RegExp||d instanceof Function},Ws=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(tn&&tn===d)){if((!d||typeof d!="object")&&(d={}),d=Et(d),bn=ua.indexOf(d.PARSER_MEDIA_TYPE)===-1?fa:d.PARSER_MEDIA_TYPE,we=bn==="application/xhtml+xml"?or:ps,ie=st(d,"ALLOWED_TAGS")?K({},d.ALLOWED_TAGS,we):Se,he=st(d,"ALLOWED_ATTR")?K({},d.ALLOWED_ATTR,we):yt,en=st(d,"ALLOWED_NAMESPACES")?K({},d.ALLOWED_NAMESPACES,or):Qn,ye=st(d,"ADD_URI_SAFE_ATTR")?K(Et(We),d.ADD_URI_SAFE_ATTR,we):We,X=st(d,"ADD_DATA_URI_TAGS")?K(Et(ke),d.ADD_DATA_URI_TAGS,we):ke,G=st(d,"FORBID_CONTENTS")?K({},d.FORBID_CONTENTS,we):oe,xe=st(d,"FORBID_TAGS")?K({},d.FORBID_TAGS,we):Et({}),y=st(d,"FORBID_ATTR")?K({},d.FORBID_ATTR,we):Et({}),U=st(d,"USE_PROFILES")?d.USE_PROFILES:!1,D=d.ALLOW_ARIA_ATTR!==!1,I=d.ALLOW_DATA_ATTR!==!1,N=d.ALLOW_UNKNOWN_PROTOCOLS||!1,J=d.ALLOW_SELF_CLOSE_IN_ATTR!==!1,f=d.SAFE_FOR_TEMPLATES||!1,h=d.SAFE_FOR_XML!==!1,m=d.WHOLE_DOCUMENT||!1,_=d.RETURN_DOM||!1,P=d.RETURN_DOM_FRAGMENT||!1,A=d.RETURN_TRUSTED_TYPE||!1,w=d.FORCE_BODY||!1,T=d.SANITIZE_DOM!==!1,k=d.SANITIZE_NAMED_PROPS||!1,L=d.KEEP_CONTENT!==!1,F=d.IN_PLACE||!1,nt=d.ALLOWED_URI_REGEXP||oa,me=d.NAMESPACE||Ye,Jn=d.MATHML_TEXT_INTEGRATION_POINTS||Jn,es=d.HTML_INTEGRATION_POINTS||es,ue=d.CUSTOM_ELEMENT_HANDLING||{},d.CUSTOM_ELEMENT_HANDLING&&ai(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ue.tagNameCheck=d.CUSTOM_ELEMENT_HANDLING.tagNameCheck),d.CUSTOM_ELEMENT_HANDLING&&ai(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ue.attributeNameCheck=d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),d.CUSTOM_ELEMENT_HANDLING&&typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ue.allowCustomizedBuiltInElements=d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),f&&(I=!1),P&&(_=!0),U&&(ie=K({},vo),he=[],U.html===!0&&(K(ie,ko),K(he,Eo)),U.svg===!0&&(K(ie,ar),K(he,fr),K(he,os)),U.svgFilters===!0&&(K(ie,cr),K(he,fr),K(he,os)),U.mathMl===!0&&(K(ie,ur),K(he,To),K(he,os))),d.ADD_TAGS&&(ie===Se&&(ie=Et(ie)),K(ie,d.ADD_TAGS,we)),d.ADD_ATTR&&(he===yt&&(he=Et(he)),K(he,d.ADD_ATTR,we)),d.ADD_URI_SAFE_ATTR&&K(ye,d.ADD_URI_SAFE_ATTR,we),d.FORBID_CONTENTS&&(G===oe&&(G=Et(G)),K(G,d.FORBID_CONTENTS,we)),L&&(ie["#text"]=!0),m&&K(ie,["html","head","body"]),ie.table&&(K(ie,["tbody"]),delete xe.tbody),d.TRUSTED_TYPES_POLICY){if(typeof d.TRUSTED_TYPES_POLICY.createHTML!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof d.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw En('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=d.TRUSTED_TYPES_POLICY,W=E.createHTML("")}else E===void 0&&(E=Qp(b,r)),E!==null&&typeof W=="string"&&(W=E.createHTML(""));Fe&&Fe(d),tn=d}},ci=K({},[...ar,...cr,...Up]),ui=K({},[...ur,...Bp]),ha=function(d){let v=M(d);(!v||!v.tagName)&&(v={namespaceURI:me,tagName:"template"});const $=ps(d.tagName),de=ps(v.tagName);return en[d.namespaceURI]?d.namespaceURI===at?v.namespaceURI===Ye?$==="svg":v.namespaceURI===Le?$==="svg"&&(de==="annotation-xml"||Jn[de]):!!ci[$]:d.namespaceURI===Le?v.namespaceURI===Ye?$==="math":v.namespaceURI===at?$==="math"&&es[de]:!!ui[$]:d.namespaceURI===Ye?v.namespaceURI===at&&!es[de]||v.namespaceURI===Le&&!Jn[de]?!1:!ui[$]&&(ca[$]||!ci[$]):!!(bn==="application/xhtml+xml"&&en[d.namespaceURI]):!1},ct=function(d){kn(t.removed,{element:d});try{M(d).removeChild(d)}catch{j(d)}},Vt=function(d,v){try{kn(t.removed,{attribute:v.getAttributeNode(d),from:v})}catch{kn(t.removed,{attribute:null,from:v})}if(v.removeAttribute(d),d==="is")if(_||P)try{ct(v)}catch{}else try{v.setAttribute(d,"")}catch{}},fi=function(d){let v=null,$=null;if(w)d="<remove></remove>"+d;else{const be=lr(d,/^[\r\n\t ]+/);$=be&&be[0]}bn==="application/xhtml+xml"&&me===Ye&&(d='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+d+"</body></html>");const de=E?E.createHTML(d):d;if(me===Ye)try{v=new g().parseFromString(de,bn)}catch{}if(!v||!v.documentElement){v=Y.createDocument(me,"template",null);try{v.documentElement.innerHTML=Ue?W:de}catch{}}const Ae=v.body||v.documentElement;return d&&$&&Ae.insertBefore(n.createTextNode($),Ae.childNodes[0]||null),me===Ye?lt.call(v,m?"html":"body")[0]:m?v.documentElement:Ae},pi=function(d){return q.call(d.ownerDocument||d,d,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Vs=function(d){return d instanceof p&&(typeof d.nodeName!="string"||typeof d.textContent!="string"||typeof d.removeChild!="function"||!(d.attributes instanceof u)||typeof d.removeAttribute!="function"||typeof d.setAttribute!="function"||typeof d.namespaceURI!="string"||typeof d.insertBefore!="function"||typeof d.hasChildNodes!="function")},hi=function(d){return typeof l=="function"&&d instanceof l};function wt(H,d,v){is(H,$=>{$.call(t,d,v,tn)})}const di=function(d){let v=null;if(wt(pe.beforeSanitizeElements,d,null),Vs(d))return ct(d),!0;const $=we(d.nodeName);if(wt(pe.uponSanitizeElement,d,{tagName:$,allowedTags:ie}),h&&d.hasChildNodes()&&!hi(d.firstElementChild)&&Me(/<[/\w!]/g,d.innerHTML)&&Me(/<[/\w!]/g,d.textContent)||d.nodeType===An.progressingInstruction||h&&d.nodeType===An.comment&&Me(/<[/\w]/g,d.data))return ct(d),!0;if(!ie[$]||xe[$]){if(!xe[$]&&mi($)&&(ue.tagNameCheck instanceof RegExp&&Me(ue.tagNameCheck,$)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck($)))return!1;if(L&&!G[$]){const de=M(d)||d.parentNode,Ae=O(d)||d.childNodes;if(Ae&&de){const be=Ae.length;for(let Be=be-1;Be>=0;--Be){const St=C(Ae[Be],!0);St.__removalCount=(d.__removalCount||0)+1,de.insertBefore(St,R(d))}}}return ct(d),!0}return d instanceof a&&!ha(d)||($==="noscript"||$==="noembed"||$==="noframes")&&Me(/<\/no(script|embed|frames)/i,d.innerHTML)?(ct(d),!0):(f&&d.nodeType===An.text&&(v=d.textContent,is([et,ze,xt],de=>{v=vn(v,de," ")}),d.textContent!==v&&(kn(t.removed,{element:d.cloneNode()}),d.textContent=v)),wt(pe.afterSanitizeElements,d,null),!1)},gi=function(d,v,$){if(T&&(v==="id"||v==="name")&&($ in n||$ in pa))return!1;if(!(I&&!y[v]&&Me(Dt,v))){if(!(D&&Me(ge,v))){if(!he[v]||y[v]){if(!(mi(d)&&(ue.tagNameCheck instanceof RegExp&&Me(ue.tagNameCheck,d)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck(d))&&(ue.attributeNameCheck instanceof RegExp&&Me(ue.attributeNameCheck,v)||ue.attributeNameCheck instanceof Function&&ue.attributeNameCheck(v,d))||v==="is"&&ue.allowCustomizedBuiltInElements&&(ue.tagNameCheck instanceof RegExp&&Me(ue.tagNameCheck,$)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck($))))return!1}else if(!ye[v]){if(!Me(nt,vn($,Z,""))){if(!((v==="src"||v==="xlink:href"||v==="href")&&d!=="script"&&$p($,"data:")===0&&X[d])){if(!(N&&!Me(Q,vn($,Z,"")))){if($)return!1}}}}}}return!0},mi=function(d){return d!=="annotation-xml"&&lr(d,tt)},bi=function(d){wt(pe.beforeSanitizeAttributes,d,null);const{attributes:v}=d;if(!v||Vs(d))return;const $={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:he,forceKeepAttr:void 0};let de=v.length;for(;de--;){const Ae=v[de],{name:be,namespaceURI:Be,value:St}=Ae,nn=we(be),Gs=St;let ve=be==="value"?Gs:Fp(Gs);if($.attrName=nn,$.attrValue=ve,$.keepAttr=!0,$.forceKeepAttr=void 0,wt(pe.uponSanitizeAttribute,d,$),ve=$.attrValue,k&&(nn==="id"||nn==="name")&&(Vt(be,d),ve=z+ve),h&&Me(/((--!?|])>)|<\/(style|title|textarea)/i,ve)){Vt(be,d);continue}if(nn==="attributename"&&lr(ve,"href")){Vt(be,d);continue}if($.forceKeepAttr)continue;if(!$.keepAttr){Vt(be,d);continue}if(!J&&Me(/\/>/i,ve)){Vt(be,d);continue}f&&is([et,ze,xt],xi=>{ve=vn(ve,xi," ")});const _i=we(d.nodeName);if(!gi(_i,nn,ve)){Vt(be,d);continue}if(E&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!Be)switch(b.getAttributeType(_i,nn)){case"TrustedHTML":{ve=E.createHTML(ve);break}case"TrustedScriptURL":{ve=E.createScriptURL(ve);break}}if(ve!==Gs)try{Be?d.setAttributeNS(Be,be,ve):d.setAttribute(be,ve),Vs(d)?ct(d):So(t.removed)}catch{Vt(be,d)}}wt(pe.afterSanitizeAttributes,d,null)},da=function H(d){let v=null;const $=pi(d);for(wt(pe.beforeSanitizeShadowDOM,d,null);v=$.nextNode();)wt(pe.uponSanitizeShadowNode,v,null),di(v),bi(v),v.content instanceof i&&H(v.content);wt(pe.afterSanitizeShadowDOM,d,null)};return t.sanitize=function(H){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,$=null,de=null,Ae=null;if(Ue=!H,Ue&&(H="<!-->"),typeof H!="string"&&!hi(H))if(typeof H.toString=="function"){if(H=H.toString(),typeof H!="string")throw En("dirty is not a string, aborting")}else throw En("toString is not a function");if(!t.isSupported)return H;if(x||Ws(d),t.removed=[],typeof H=="string"&&(F=!1),F){if(H.nodeName){const St=we(H.nodeName);if(!ie[St]||xe[St])throw En("root node is forbidden and cannot be sanitized in-place")}}else if(H instanceof l)v=fi("<!---->"),$=v.ownerDocument.importNode(H,!0),$.nodeType===An.element&&$.nodeName==="BODY"||$.nodeName==="HTML"?v=$:v.appendChild($);else{if(!_&&!f&&!m&&H.indexOf("<")===-1)return E&&A?E.createHTML(H):H;if(v=fi(H),!v)return _?null:A?W:""}v&&w&&ct(v.firstChild);const be=pi(F?H:v);for(;de=be.nextNode();)di(de),bi(de),de.content instanceof i&&da(de.content);if(F)return H;if(_){if(P)for(Ae=Ie.call(v.ownerDocument);v.firstChild;)Ae.appendChild(v.firstChild);else Ae=v;return(he.shadowroot||he.shadowrootmode)&&(Ae=Ke.call(s,Ae,!0)),Ae}let Be=m?v.outerHTML:v.innerHTML;return m&&ie["!doctype"]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&Me(la,v.ownerDocument.doctype.name)&&(Be="<!DOCTYPE "+v.ownerDocument.doctype.name+`>
|
|
`+Be),f&&is([et,ze,xt],St=>{Be=vn(Be,St," ")}),E&&A?E.createHTML(Be):Be},t.setConfig=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ws(H),x=!0},t.clearConfig=function(){tn=null,x=!1},t.isValidAttribute=function(H,d,v){tn||Ws({});const $=we(H),de=we(d);return gi($,de,v)},t.addHook=function(H,d){typeof d=="function"&&kn(pe[H],d)},t.removeHook=function(H,d){if(d!==void 0){const v=Dp(pe[H],d);return v===-1?void 0:Np(pe[H],v,1)[0]}return So(pe[H])},t.removeHooks=function(H){pe[H]=[]},t.removeAllHooks=function(){pe=Ro()},t}var Jp=aa();const eh={class:"log-viewer"},th={class:"header"},nh={class:"controls"},sh={class:"timestamp"},rh={class:"level"},ih={class:"target"},oh=["innerHTML"],lh={key:0,class:"loading-state"},ah={key:1,class:"empty-state"},ch={class:"footer"},uh={class:"count"},fh={__name:"LogView",setup(e){se.setOptions({breaks:!0,gfm:!0});const t=$t([]),n=$t(!0),s=$t(!1),r=$t(!0),i=$t("ALL"),o=$t(null);let l=null,a=!1;const c=new Set,u=Ze(()=>i.value==="ALL"?t.value:t.value.filter(R=>R.level===i.value));function p(R){return new Date(R.secs_since_epoch*1e3).toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3})}function g(R){let O=R;if(/<\?xml|<(scpd|root|service|device|actionList|stateVariable)[>\s]/i.test(R)){const W=R.match(/<\?xml[\s\S]*$/);if(W){const Y=W[0];O=R.substring(0,R.indexOf(Y))+"\n```xml\n"+Y+"\n```\n"}else{const Y=R.match(/<([a-zA-Z][a-zA-Z0-9:-]*)[>\s][\s\S]*/);if(Y){const q=Y[0];O=R.substring(0,R.indexOf(q))+"\n```xml\n"+q+"\n```\n"}}}const E=se.parse(O,{async:!1});return Jp.sanitize(E,{ALLOWED_TAGS:["strong","em","code","pre","a","ul","ol","li","p","br","span"],ALLOWED_ATTR:["href","target","class"]})}function b(){n.value=!n.value,n.value&&C()}function S(){t.value=[],c.clear()}function C(){!o.value||!n.value||Ds(()=>{o.value.scrollTop=o.value.scrollHeight})}function j(){const R=window.location.origin;l=new EventSource(`${R}/log-sse`),l.onopen=()=>{s.value=!0,console.log("SSE connection opened")},l.onmessage=E=>{try{const W=JSON.parse(E.data),Y=`${W.timestamp.secs_since_epoch}-${W.timestamp.nanos_since_epoch}-${W.message}-${W.target}`;if(c.has(Y))return;if(c.add(Y),a||(W.isHistory=!0),t.value.push(W),t.value.length>1e3){const q=t.value.shift(),Ie=`${q.timestamp.secs_since_epoch}-${q.timestamp.nanos_since_epoch}-${q.message}-${q.target}`;c.delete(Ie)}C()}catch(W){console.error("Failed to parse log entry:",W)}},l.onerror=()=>{s.value=!1,r.value=!1,console.error("SSE connection error"),setTimeout(()=>{l.readyState===EventSource.CLOSED&&(a=!1,j())},3e3)};let O;const M=l.onmessage;l.onmessage=E=>{clearTimeout(O),M(E),a||(O=setTimeout(()=>{a=!0,r.value=!1,console.log("History loaded, now streaming live logs")},500))}}return cl(()=>{j()}),Gr(()=>{l&&l.close()}),Nn(o,R=>{R&&R.addEventListener("scroll",()=>{!(R.scrollHeight-R.scrollTop<=R.clientHeight+50)&&n.value&&(n.value=!1)})}),(R,O)=>(Ut(),Yt("div",eh,[le("div",th,[O[2]||(O[2]=le("h2",null,"📋 System Logs",-1)),le("div",nh,[le("button",{onClick:b,class:cn({active:n.value})},ht(n.value?"📌 Auto-scroll ON":"📌 Auto-scroll OFF"),3),le("button",{onClick:S},"🗑️ Clear"),rc(le("select",{"onUpdate:modelValue":O[0]||(O[0]=M=>i.value=M),class:"filter"},[...O[1]||(O[1]=[nu('<option value="ALL" data-v-ac852453>All Levels</option><option value="TRACE" data-v-ac852453>TRACE</option><option value="DEBUG" data-v-ac852453>DEBUG</option><option value="INFO" data-v-ac852453>INFO</option><option value="WARN" data-v-ac852453>WARN</option><option value="ERROR" data-v-ac852453>ERROR</option>',6)])],512),[[Du,i.value]])])]),le("div",{class:"log-container",ref_key:"logContainer",ref:o},[(Ut(!0),Yt(rt,null,Sc(u.value,(M,E)=>(Ut(),Yt("div",{key:E,class:cn(["log-entry",`level-${M.level.toLowerCase()}`,{"is-history":M.isHistory}])},[le("span",sh,ht(p(M.timestamp)),1),le("span",rh,ht(M.level),1),le("span",ih,ht(M.target),1),le("span",{class:"message markdown-content",innerHTML:g(M.message)},null,8,oh)],2))),128)),r.value?(Ut(),Yt("div",lh," ⏳ Loading history... ")):u.value.length===0?(Ut(),Yt("div",ah,ht(s.value?"Waiting for logs...":"Connecting to log stream..."),1)):su("",!0)],512),le("div",ch,[le("span",{class:cn(["status",{connected:s.value}])},ht(s.value?"🟢 Connected":"🔴 Disconnected"),3),le("span",uh,ht(u.value.length)+" logs",1)])]))}},ph=Zr(fh,[["__scopeId","data-v-ac852453"]]),hh=[{path:"/",name:"home",component:Yf},{path:"/logs",name:"logs",component:ph}],dh=Vf({history:yf("/app"),routes:hh});Fu(Bu).use(dh).mount("#app");
|