/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/n8n-embedded-chat-interface@0.4.0/output/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e=Object.defineProperty,t=(t,n,o)=>((t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o)(t,"symbol"!=typeof n?n+"":n,o),n=typeof document<"u"?document.currentScript:null;
/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */function o(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const l={},r=[],s=()=>{},i=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,g=(e,t)=>p.call(e,t),m=Array.isArray,h=e=>"[object Map]"===L(e),f=e=>"[object Set]"===L(e),b=e=>"function"==typeof e,y=e=>"string"==typeof e,C=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,I=e=>(v(e)||b(e))&&b(e.then)&&b(e.catch),w=Object.prototype.toString,L=e=>w.call(e),Z=e=>"[object Object]"===L(e),k=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),W=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},X=/-(\w)/g,x=W((e=>e.replace(X,((e,t)=>t?t.toUpperCase():"")))),G=/\B([A-Z])/g,R=W((e=>e.replace(G,"-$1").toLowerCase())),S=W((e=>e.charAt(0).toUpperCase()+e.slice(1))),Y=W((e=>e?`on${S(e)}`:"")),N=(e,t)=>!Object.is(e,t),K=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},H=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let O;const M=()=>O||(O=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function T(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],l=y(o)?V(o):T(o);if(l)for(const e in l)t[e]=l[e]}return t}if(y(e)||v(e))return e}const _=/;(?![^(]*\))/g,D=/:([^]+)/,F=/\/\*[^]*?\*\//g;function V(e){const t={};return e.replace(F,"").split(_).forEach((e=>{if(e){const n=e.split(D);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function j(e){let t="";if(y(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const o=j(e[n]);o&&(t+=o+" ")}else if(v(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function z(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=j(t)),n&&(e.style=T(n)),e}const J=o("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function E(e){return!!e||""===e}const Q=e=>!(!e||!0!==e.__v_isRef),U=e=>y(e)?e:null==e?"":m(e)||v(e)&&(e.toString===w||!b(e.toString))?Q(e)?U(e.value):JSON.stringify(e,P,2):String(e),P=(e,t)=>Q(t)?P(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[$(t,o)+" =>"]=n,e)),{})}:f(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>$(e)))}:C(t)?$(t):!v(t)||m(t)||Z(t)?t:String(t),$=(e,t="")=>{var n;return C(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let q,ee;class te{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=q,!e&&q&&(this.index=(q.scopes||(q.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=q;try{return q=this,e()}finally{q=t}}}on(){q=this}off(){q=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function ne(e){return new te(e)}function oe(){return q}function le(e,t=!1){q&&q.cleanups.push(e)}const re=new WeakSet;class se{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,q&&q.active&&q.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,re.has(this)&&(re.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ue(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Le(this),ge(this);const e=ee,t=Ce;ee=this,Ce=!0;try{return this.fn()}finally{me(this),ee=e,Ce=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)be(e);this.deps=this.depsTail=void 0,Le(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?re.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){he(this)&&this.run()}get dirty(){return he(this)}}let ie,ae,ce=0;function ue(e,t=!1){if(e.flags|=8,t)return e.next=ae,void(ae=e);e.next=ie,ie=e}function de(){ce++}function pe(){if(--ce>0)return;if(ae){let e=ae;for(ae=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ie;){let t=ie;for(ie=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function ge(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function me(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),be(o),ye(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function he(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fe(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===Ze))return;e.globalVersion=Ze;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!he(e))return void(e.flags&=-3);const n=ee,o=Ce;ee=e,Ce=!0;try{ge(e);const n=e.fn(e._value);(0===t.version||N(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{ee=n,Ce=o,me(e),e.flags&=-3}}function be(e,t=!1){const{dep:n,prevSub:o,nextSub:l}=e;if(o&&(o.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)be(e,!0)}!t&&! --n.sc&&n.map&&n.map.delete(n.key)}function ye(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ce=!0;const ve=[];function Ie(){ve.push(Ce),Ce=!1}function we(){const e=ve.pop();Ce=void 0===e||e}function Le(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ee;ee=void 0;try{t()}finally{ee=e}}}let Ze=0;class ke{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ae{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ee||!Ce||ee===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ee)t=this.activeLink=new ke(ee,this),ee.deps?(t.prevDep=ee.depsTail,ee.depsTail.nextDep=t,ee.depsTail=t):ee.deps=ee.depsTail=t,We(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ee.depsTail,t.nextDep=void 0,ee.depsTail.nextDep=t,ee.depsTail=t,ee.deps===t&&(ee.deps=e)}return t}trigger(e){this.version++,Ze++,this.notify(e)}notify(e){de();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{pe()}}}function We(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)We(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xe=new WeakMap,xe=Symbol(""),Ge=Symbol(""),Re=Symbol("");function Se(e,t,n){if(Ce&&ee){let t=Xe.get(e);t||Xe.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new Ae),o.map=t,o.key=n),o.track()}}function Ye(e,t,n,o,l,r){const s=Xe.get(e);if(!s)return void Ze++;const i=e=>{e&&e.trigger()};if(de(),"clear"===t)s.forEach(i);else{const l=m(e),r=l&&k(n);if(l&&"length"===n){const e=Number(o);s.forEach(((t,n)=>{("length"===n||n===Re||!C(n)&&n>=e)&&i(t)}))}else switch((void 0!==n||s.has(void 0))&&i(s.get(n)),r&&i(s.get(Re)),t){case"add":l?r&&i(s.get("length")):(i(s.get(xe)),h(e)&&i(s.get(Ge)));break;case"delete":l||(i(s.get(xe)),h(e)&&i(s.get(Ge)));break;case"set":h(e)&&i(s.get(xe))}}pe()}function Ne(e){const t=yt(e);return t===e?t:(Se(t,0,Re),ft(e)?t:t.map(vt))}function Ke(e){return Se(e=yt(e),0,Re),e}const He={__proto__:null,[Symbol.iterator](){return Be(this,Symbol.iterator,vt)},concat(...e){return Ne(this).concat(...e.map((e=>m(e)?Ne(e):e)))},entries(){return Be(this,"entries",(e=>(e[1]=vt(e[1]),e)))},every(e,t){return Me(this,"every",e,t,void 0,arguments)},filter(e,t){return Me(this,"filter",e,t,(e=>e.map(vt)),arguments)},find(e,t){return Me(this,"find",e,t,vt,arguments)},findIndex(e,t){return Me(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Me(this,"findLast",e,t,vt,arguments)},findLastIndex(e,t){return Me(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Me(this,"forEach",e,t,void 0,arguments)},includes(...e){return _e(this,"includes",e)},indexOf(...e){return _e(this,"indexOf",e)},join(e){return Ne(this).join(e)},lastIndexOf(...e){return _e(this,"lastIndexOf",e)},map(e,t){return Me(this,"map",e,t,void 0,arguments)},pop(){return De(this,"pop")},push(...e){return De(this,"push",e)},reduce(e,...t){return Te(this,"reduce",e,t)},reduceRight(e,...t){return Te(this,"reduceRight",e,t)},shift(){return De(this,"shift")},some(e,t){return Me(this,"some",e,t,void 0,arguments)},splice(...e){return De(this,"splice",e)},toReversed(){return Ne(this).toReversed()},toSorted(e){return Ne(this).toSorted(e)},toSpliced(...e){return Ne(this).toSpliced(...e)},unshift(...e){return De(this,"unshift",e)},values(){return Be(this,"values",vt)}};function Be(e,t,n){const o=Ke(e),l=o[t]();return o!==e&&!ft(e)&&(l._next=l.next,l.next=()=>{const e=l._next();return e.value&&(e.value=n(e.value)),e}),l}const Oe=Array.prototype;function Me(e,t,n,o,l,r){const s=Ke(e),i=s!==e&&!ft(e),a=s[t];if(a!==Oe[t]){const t=a.apply(e,r);return i?vt(t):t}let c=n;s!==e&&(i?c=function(t,o){return n.call(this,vt(t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=a.call(s,c,o);return i&&l?l(u):u}function Te(e,t,n,o){const l=Ke(e);let r=n;return l!==e&&(ft(e)?n.length>3&&(r=function(t,o,l){return n.call(this,t,o,l,e)}):r=function(t,o,l){return n.call(this,t,vt(o),l,e)}),l[t](r,...o)}function _e(e,t,n){const o=yt(e);Se(o,0,Re);const l=o[t](...n);return-1!==l&&!1!==l||!bt(n[0])?l:(n[0]=yt(n[0]),o[t](...n))}function De(e,t,n=[]){Ie(),de();const o=yt(e)[t].apply(e,n);return pe(),we(),o}const Fe=o("__proto__,__v_isRef,__isVue"),Ve=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(C));function je(e){C(e)||(e=String(e));const t=yt(this);return Se(t,0,e),t.hasOwnProperty(e)}class ze{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const o=this._isReadonly,l=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return l;if("__v_raw"===t)return n===(o?l?ct:at:l?it:st).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=m(e);if(!o){let e;if(r&&(e=He[t]))return e;if("hasOwnProperty"===t)return je}const s=Reflect.get(e,t,wt(e)?e:n);return(C(t)?Ve.has(t):Fe(t))||(o||Se(e,0,t),l)?s:wt(s)?r&&k(t)?s:s.value:v(s)?o?pt(s):dt(s):s}}class Je extends ze{constructor(e=!1){super(!1,e)}set(e,t,n,o){let l=e[t];if(!this._isShallow){const t=ht(l);if(!ft(n)&&!ht(n)&&(l=yt(l),n=yt(n)),!m(e)&&wt(l)&&!wt(n))return!t&&(l.value=n,!0)}const r=m(e)&&k(t)?Number(t)<e.length:g(e,t),s=Reflect.set(e,t,n,wt(e)?e:o);return e===yt(o)&&(r?N(n,l)&&Ye(e,"set",t,n):Ye(e,"add",t,n)),s}deleteProperty(e,t){const n=g(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Ye(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return(!C(t)||!Ve.has(t))&&Se(e,0,t),n}ownKeys(e){return Se(e,0,m(e)?"length":xe),Reflect.ownKeys(e)}}class Ee extends ze{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Qe=new Je,Ue=new Ee,Pe=new Je(!0),$e=(new Ee(!0),e=>e),qe=e=>Reflect.getPrototypeOf(e);function et(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function tt(e,t){const n={get(n){const o=this.__v_raw,l=yt(o),r=yt(n);e||(N(n,r)&&Se(l,0,n),Se(l,0,r));const{has:s}=qe(l),i=t?$e:e?It:vt;return s.call(l,n)?i(o.get(n)):s.call(l,r)?i(o.get(r)):void(o!==l&&o.get(n))},get size(){const t=this.__v_raw;return!e&&Se(yt(t),0,xe),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=yt(n),l=yt(t);return e||(N(t,l)&&Se(o,0,t),Se(o,0,l)),t===l?n.has(t):n.has(t)||n.has(l)},forEach(n,o){const l=this,r=l.__v_raw,s=yt(r),i=t?$e:e?It:vt;return!e&&Se(s,0,xe),r.forEach(((e,t)=>n.call(o,i(e),i(t),l)))}};return u(n,e?{add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear")}:{add(e){!t&&!ft(e)&&!ht(e)&&(e=yt(e));const n=yt(this);return qe(n).has.call(n,e)||(n.add(e),Ye(n,"add",e,e)),this},set(e,n){!t&&!ft(n)&&!ht(n)&&(n=yt(n));const o=yt(this),{has:l,get:r}=qe(o);let s=l.call(o,e);s||(e=yt(e),s=l.call(o,e));const i=r.call(o,e);return o.set(e,n),s?N(n,i)&&Ye(o,"set",e,n):Ye(o,"add",e,n),this},delete(e){const t=yt(this),{has:n,get:o}=qe(t);let l=n.call(t,e);l||(e=yt(e),l=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return l&&Ye(t,"delete",e,void 0),r},clear(){const e=yt(this),t=0!==e.size,n=e.clear();return t&&Ye(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach((o=>{n[o]=function(e,t,n){return function(...o){const l=this.__v_raw,r=yt(l),s=h(r),i="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,c=l[e](...o),u=n?$e:t?It:vt;return!t&&Se(r,0,a?Ge:xe),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:i?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)})),n}function nt(e,t){const n=tt(e,t);return(t,o,l)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(g(n,o)&&o in t?n:t,o,l)}const ot={get:nt(!1,!1)},lt={get:nt(!1,!0)},rt={get:nt(!0,!1)},st=(nt(!0,!0),new WeakMap),it=new WeakMap,at=new WeakMap,ct=new WeakMap;function ut(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>L(e).slice(8,-1))(e))}function dt(e){return ht(e)?e:gt(e,!1,Qe,ot,st)}function pt(e){return gt(e,!0,Ue,rt,at)}function gt(e,t,n,o,l){if(!v(e)||e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=l.get(e);if(r)return r;const s=ut(e);if(0===s)return e;const i=new Proxy(e,2===s?o:n);return l.set(e,i),i}function mt(e){return ht(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function ht(e){return!(!e||!e.__v_isReadonly)}function ft(e){return!(!e||!e.__v_isShallow)}function bt(e){return!!e&&!!e.__v_raw}function yt(e){const t=e&&e.__v_raw;return t?yt(t):e}function Ct(e){return!g(e,"__v_skip")&&Object.isExtensible(e)&&H(e,"__v_skip",!0),e}const vt=e=>v(e)?dt(e):e,It=e=>v(e)?pt(e):e;function wt(e){return!!e&&!0===e.__v_isRef}function Lt(e){return kt(e,!1)}function Zt(e){return kt(e,!0)}function kt(e,t){return wt(e)?e:new At(e,t)}class At{constructor(e,t){this.dep=new Ae,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:yt(e),this._value=t?e:vt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||ft(e)||ht(e);e=n?e:yt(e),N(e,t)&&(this._rawValue=e,this._value=n?e:vt(e),this.dep.trigger())}}function Wt(e){return wt(e)?e.value:e}function Xt(e){return b(e)?e():Wt(e)}const xt={get:(e,t,n)=>"__v_raw"===t?e:Wt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const l=e[t];return wt(l)&&!wt(n)?(l.value=n,!0):Reflect.set(e,t,n,o)}};function Gt(e){return mt(e)?e:new Proxy(e,xt)}class Rt{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Ae,{get:n,set:o}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(e){this._set(e)}}function St(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=Ht(e,n);return t}class Yt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Xe.get(e);return n&&n.get(t)}(yt(this._object),this._key)}}class Nt{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Kt(e,t,n){return wt(e)?e:b(e)?new Nt(e):v(e)&&arguments.length>1?Ht(e,t,n):Lt(e)}function Ht(e,t,n){const o=e[t];return wt(o)?o:new Yt(e,t,n)}class Bt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ae(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ze-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&ee!==this)return ue(this,!0),!0}get value(){const e=this.dep.track();return fe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const Ot={},Mt=new WeakMap;let Tt;function _t(e,t,n=l){const{immediate:o,deep:r,once:i,scheduler:a,augmentJob:c,call:u}=n,p=e=>r?e:ft(e)||!1===r||0===r?Dt(e,1):Dt(e);let g,h,f,y,C=!1,v=!1;if(wt(e)?(h=()=>e.value,C=ft(e)):mt(e)?(h=()=>p(e),C=!0):m(e)?(v=!0,C=e.some((e=>mt(e)||ft(e))),h=()=>e.map((e=>wt(e)?e.value:mt(e)?p(e):b(e)?u?u(e,2):e():void 0))):h=b(e)?t?u?()=>u(e,2):e:()=>{if(f){Ie();try{f()}finally{we()}}const t=Tt;Tt=g;try{return u?u(e,3,[y]):e(y)}finally{Tt=t}}:s,t&&r){const e=h,t=!0===r?1/0:r;h=()=>Dt(e(),t)}const I=oe(),w=()=>{g.stop(),I&&I.active&&d(I.effects,g)};if(i&&t){const e=t;t=(...t)=>{e(...t),w()}}let L=v?new Array(e.length).fill(Ot):Ot;const Z=e=>{if(1&g.flags&&(g.dirty||e))if(t){const e=g.run();if(r||C||(v?e.some(((e,t)=>N(e,L[t]))):N(e,L))){f&&f();const n=Tt;Tt=g;try{const n=[e,L===Ot?void 0:v&&L[0]===Ot?[]:L,y];u?u(t,3,n):t(...n),L=e}finally{Tt=n}}}else g.run()};return c&&c(Z),g=new se(h),g.scheduler=a?()=>a(Z,!1):Z,y=e=>function(e,t=!1,n=Tt){if(n){let t=Mt.get(n);t||Mt.set(n,t=[]),t.push(e)}}(e,!1,g),f=g.onStop=()=>{const e=Mt.get(g);if(e){if(u)u(e,4);else for(const t of e)t();Mt.delete(g)}},t?o?Z(!0):L=g.run():a?a(Z.bind(null,!0),!0):g.run(),w.pause=g.pause.bind(g),w.resume=g.resume.bind(g),w.stop=w,w}function Dt(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n=n||new Set).has(e))return e;if(n.add(e),t--,wt(e))Dt(e.value,t,n);else if(m(e))for(let o=0;o<e.length;o++)Dt(e[o],t,n);else if(f(e)||h(e))e.forEach((e=>{Dt(e,t,n)}));else if(Z(e)){for(const o in e)Dt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Dt(e[o],t,n)}return e}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ft(e,t,n,o){try{return o?e(...o):e()}catch(e){jt(e,t,n)}}function Vt(e,t,n,o){if(b(e)){const l=Ft(e,t,n,o);return l&&I(l)&&l.catch((e=>{jt(e,t,n)})),l}if(m(e)){const l=[];for(let r=0;r<e.length;r++)l.push(Vt(e[r],t,n,o));return l}}function jt(e,t,n,o=!0){t&&t.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||l;if(t){let o=t.parent;const l=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,l,s))return;o=o.parent}if(r)return Ie(),Ft(r,null,10,[e,l,s]),void we()}!function(e,t,n,o=!0,l=!1){if(l)throw e;console.error(e)}(e,0,0,o,s)}const zt=[];let Jt=-1;const Et=[];let Qt=null,Ut=0;const Pt=Promise.resolve();let $t=null;function qt(e){const t=$t||Pt;return e?t.then(this?e.bind(this):e):t}function en(e){if(!(1&e.flags)){const t=ln(e),n=zt[zt.length-1];!n||!(2&e.flags)&&t>=ln(n)?zt.push(e):zt.splice(function(e){let t=Jt+1,n=zt.length;for(;t<n;){const o=t+n>>>1,l=zt[o],r=ln(l);r<e||r===e&&2&l.flags?t=o+1:n=o}return t}(t),0,e),e.flags|=1,tn()}}function tn(){$t||($t=Pt.then(rn))}function nn(e,t,n=Jt+1){for(;n<zt.length;n++){const t=zt[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;zt.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function on(e){if(Et.length){const e=[...new Set(Et)].sort(((e,t)=>ln(e)-ln(t)));if(Et.length=0,Qt)return void Qt.push(...e);for(Qt=e,Ut=0;Ut<Qt.length;Ut++){const e=Qt[Ut];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Qt=null,Ut=0}}const ln=e=>null==e.id?2&e.flags?-1:1/0:e.id;function rn(e){try{for(Jt=0;Jt<zt.length;Jt++){const e=zt[Jt];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),Ft(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Jt<zt.length;Jt++){const e=zt[Jt];e&&(e.flags&=-2)}Jt=-1,zt.length=0,on(),$t=null,(zt.length||Et.length)&&rn()}}let sn=null,an=null;function cn(e){const t=sn;return sn=e,an=e&&e.type.__scopeId||null,t}function un(e,t=sn,n){if(!t||e._n)return e;const o=(...n)=>{o._d&&gl(-1);const l=cn(t);let r;try{r=e(...n)}finally{cn(l),o._d&&gl(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function dn(e,t,n,o){const l=e.dirs,r=t&&t.dirs;for(let s=0;s<l.length;s++){const i=l[s];r&&(i.oldValue=r[s].value);let a=i.dir[o];a&&(Ie(),Vt(a,n,8,[e.el,i,e,t]),we())}}const pn=Symbol("_vte"),gn=e=>e&&(e.disabled||""===e.disabled),mn=e=>e&&(e.defer||""===e.defer),hn=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,bn=(e,t)=>{const n=e&&e.to;return y(n)?t?t(n):null:n},yn={name:"Teleport",__isTeleport:!0,process(e,t,n,o,l,r,s,i,a,c){const{mc:u,pc:d,pbc:p,o:{insert:g,querySelector:m,createText:h,createComment:f}}=c,b=gn(t.props);let{shapeFlag:y,children:C,dynamicChildren:v}=t;if(null==e){const e=t.el=h(""),c=t.anchor=h("");g(e,n,o),g(c,n,o);const d=(e,t)=>{16&y&&(l&&l.isCE&&(l.ce._teleportTarget=e),u(C,e,t,l,r,s,i,a))},p=()=>{const e=t.target=bn(t.props,m),n=wn(e,t,h,g);e&&("svg"!==s&&hn(e)?s="svg":"mathml"!==s&&fn(e)&&(s="mathml"),b||(d(e,n),In(t,!1)))};b&&(d(n,c),In(t,!0)),mn(t.props)?Ho((()=>{p(),t.el.__isMounted=!0}),r):p()}else{if(mn(t.props)&&!e.el.__isMounted)return void Ho((()=>{yn.process(e,t,n,o,l,r,s,i,a,c),delete e.el.__isMounted}),r);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,g=t.target=e.target,h=t.targetAnchor=e.targetAnchor,f=gn(e.props),y=f?n:g,C=f?u:h;if("svg"===s||hn(g)?s="svg":("mathml"===s||fn(g))&&(s="mathml"),v?(p(e.dynamicChildren,v,y,l,r,s,i),To(e,t,!0)):a||d(e,t,y,C,l,r,s,i,!1),b)f?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Cn(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=bn(t.props,m);e&&Cn(t,e,null,c,0)}else f&&Cn(t,g,h,c,1);In(t,b)}},remove(e,t,n,{um:o,o:{remove:l}},r){const{shapeFlag:s,children:i,anchor:a,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&&(l(c),l(u)),r&&l(a),16&s){const e=r||!gn(p);for(let l=0;l<i.length;l++){const r=i[l];o(r,t,n,e,!!r.dynamicChildren)}}},move:Cn,hydrate:function(e,t,n,o,l,r,{o:{nextSibling:s,parentNode:i,querySelector:a,insert:c,createText:u}},d){const p=t.target=bn(t.props,a);if(p){const a=gn(t.props),g=p._lpa||p.firstChild;if(16&t.shapeFlag)if(a)t.anchor=d(s(e),t,i(e),n,o,l,r),t.targetStart=g,t.targetAnchor=g&&s(g);else{t.anchor=s(e);let i=g;for(;i;){if(i&&8===i.nodeType)if("teleport start anchor"===i.data)t.targetStart=i;else if("teleport anchor"===i.data){t.targetAnchor=i,p._lpa=t.targetAnchor&&s(t.targetAnchor);break}i=s(i)}t.targetAnchor||wn(p,t,u,c),d(g&&s(g),t,p,n,o,l,r)}In(t,a)}return t.anchor&&s(t.anchor)}};function Cn(e,t,n,{o:{insert:o},m:l},r=2){0===r&&o(e.targetAnchor,t,n);const{el:s,anchor:i,shapeFlag:a,children:c,props:u}=e,d=2===r;if(d&&o(s,t,n),(!d||gn(u))&&16&a)for(let e=0;e<c.length;e++)l(c[e],t,n,2);d&&o(i,t,n)}const vn=yn;function In(e,t){const n=e.ctx;if(n&&n.ut){let o,l;for(t?(o=e.el,l=e.anchor):(o=e.targetStart,l=e.targetAnchor);o&&o!==l;)1===o.nodeType&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function wn(e,t,n,o){const l=t.targetStart=n(""),r=t.targetAnchor=n("");return l[pn]=r,e&&(o(l,e),o(r,e)),r}function Ln(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Ln(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Zn(e,t){return b(e)?u({name:e.name},t,{setup:e}):e}function kn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function An(e,t,n,o,r=!1){if(m(e))return void e.forEach(((e,l)=>An(e,t&&(m(t)?t[l]:t),n,o,r)));if(Wn(o)&&!r)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&An(e,t,n,o.component.subTree));const s=4&o.shapeFlag?jl(o.component):o.el,i=r?null:s,{i:a,r:c}=e,u=t&&t.r,p=a.refs===l?a.refs={}:a.refs,h=a.setupState,f=yt(h),C=h===l?()=>!1:e=>g(f,e);if(null!=u&&u!==c&&(y(u)?(p[u]=null,C(u)&&(h[u]=null)):wt(u)&&(u.value=null)),b(c))Ft(c,a,12,[i,p]);else{const t=y(c),o=wt(c);if(t||o){const l=()=>{if(e.f){const n=t?C(c)?h[c]:p[c]:c.value;r?m(n)&&d(n,s):m(n)?n.includes(s)||n.push(s):t?(p[c]=[s],C(c)&&(h[c]=p[c])):(c.value=[s],e.k&&(p[e.k]=c.value))}else t?(p[c]=i,C(c)&&(h[c]=i)):o&&(c.value=i,e.k&&(p[e.k]=i))};i?(l.id=-1,Ho(l,n)):l()}}}M().requestIdleCallback,M().cancelIdleCallback;const Wn=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function xn(e,t){Rn(e,"a",t)}function Gn(e,t){Rn(e,"da",t)}function Rn(e,t,n=Nl){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Yn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Xn(e.parent.vnode)&&Sn(o,t,n,e),e=e.parent}}function Sn(e,t,n,o){const l=Yn(t,e,o,!0);Tn((()=>{d(o[t],l)}),n)}function Yn(e,t,n=Nl,o=!1){if(n){const l=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Ie();const l=Ol(n),r=Vt(t,n,e,o);return l(),we(),r});return o?l.unshift(r):l.push(r),r}}const Nn=e=>(t,n=Nl)=>{(!_l||"sp"===e)&&Yn(e,((...e)=>t(...e)),n)},Kn=Nn("bm"),Hn=Nn("m"),Bn=Nn("bu"),On=Nn("u"),Mn=Nn("bum"),Tn=Nn("um"),_n=Nn("sp"),Dn=Nn("rtg"),Fn=Nn("rtc");function Vn(e,t=Nl){Yn("ec",e,t)}const jn=Symbol.for("v-ndc");function zn(e){return y(e)?function(e,t,n=!0,o=!1){const l=sn||Nl;if(l){const n=l.type;{const e=zl(n,!1);if(e&&(e===t||e===x(t)||e===S(x(t))))return n}const r=Jn(l[e]||n[e],t)||Jn(l.appContext[e],t);return!r&&o?n:r}}("components",e,!1)||e:e||jn}function Jn(e,t){return e&&(e[t]||e[x(t)]||e[S(x(t))])}function En(e,t,n,o){let l;const r=n,s=m(e);if(s||y(e)){let n=!1;s&&mt(e)&&(n=!ft(e),e=Ke(e)),l=new Array(e.length);for(let o=0,s=e.length;o<s;o++)l[o]=t(n?vt(e[o]):e[o],o,void 0,r)}else if("number"==typeof e){l=new Array(e);for(let n=0;n<e;n++)l[n]=t(n+1,n,void 0,r)}else if(v(e))if(e[Symbol.iterator])l=Array.from(e,((e,n)=>t(e,n,void 0,r)));else{const n=Object.keys(e);l=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];l[o]=t(e[s],s,o,r)}}else l=[];return l}function Qn(e,t,n={},o,l){if(sn.ce||sn.parent&&Wn(sn.parent)&&sn.parent.ce)return dl(),fl(rl,null,[wl("slot",n,o)],64);let r=e[t];r&&r._c&&(r._d=!1),dl();const s=r&&Un(r(n)),i=n.key||s&&s.key,a=fl(rl,{key:(i&&!C(i)?i:`_${t}`)+""},s||[],s&&1===e._?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Un(e){return e.some((e=>!bl(e)||!(e.type===il||e.type===rl&&!Un(e.children))))?e:null}const Pn=e=>e?Tl(e)?jl(e):Pn(e.parent):null,$n=u(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=>Pn(e.parent),$root:e=>Pn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>so(e),$forceUpdate:e=>e.f||(e.f=()=>{en(e.update)}),$nextTick:e=>e.n||(e.n=qt.bind(e.proxy)),$watch:e=>Eo.bind(e)}),qn=(e,t)=>e!==l&&!e.__isScriptSetup&&g(e,t),eo={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:a,appContext:c}=e;let u;if("$"!==t[0]){const a=i[t];if(void 0!==a)switch(a){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(qn(o,t))return i[t]=1,o[t];if(r!==l&&g(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&g(u,t))return i[t]=3,s[t];if(n!==l&&g(n,t))return i[t]=4,n[t];no&&(i[t]=0)}}const d=$n[t];let p,m;return d?("$attrs"===t&&Se(e.attrs,0,""),d(e)):(p=a.__cssModules)&&(p=p[t])?p:n!==l&&g(n,t)?(i[t]=4,n[t]):(m=c.config.globalProperties,g(m,t)?m[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return qn(r,t)?(r[t]=n,!0):o!==l&&g(o,t)?(o[t]=n,!0):!(g(e.props,t)||"$"===t[0]&&t.slice(1)in e)&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let a;return!!n[i]||e!==l&&g(e,i)||qn(t,i)||(a=s[0])&&g(a,i)||g(o,i)||g($n,i)||g(r.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:g(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function to(e){return m(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let no=!0;function oo(e){const t=so(e),n=e.proxy,o=e.ctx;no=!1,t.beforeCreate&&lo(t.beforeCreate,e,"bc");const{data:l,computed:r,methods:i,watch:a,provide:c,inject:u,created:d,beforeMount:p,mounted:g,beforeUpdate:h,updated:f,activated:y,deactivated:C,beforeDestroy:I,beforeUnmount:w,destroyed:L,unmounted:Z,render:k,renderTracked:A,renderTriggered:W,errorCaptured:X,serverPrefetch:x,expose:G,inheritAttrs:R,components:S,directives:Y,filters:N}=t;if(u&&function(e,t){m(e)&&(e=uo(e));for(const n in e){const o=e[n];let l;l=v(o)?"default"in o?vo(o.from||n,o.default,!0):vo(o.from||n):vo(o),wt(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e}):t[n]=l}}(u,o,null),i)for(const e in i){const t=i[e];b(t)&&(o[e]=t.bind(n))}if(l){const t=l.call(n,n);v(t)&&(e.data=dt(t))}if(no=!0,r)for(const e in r){const t=r[e],l=b(t)?t.bind(n,n):b(t.get)?t.get.bind(n,n):s,i=!b(t)&&b(t.set)?t.set.bind(n):s,a=Jl({get:l,set:i});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)ro(a[e],o,n,e);if(c){const e=b(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Co(t,e[t])}))}function K(e,t){m(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&lo(d,e,"c"),K(Kn,p),K(Hn,g),K(Bn,h),K(On,f),K(xn,y),K(Gn,C),K(Vn,X),K(Fn,A),K(Dn,W),K(Mn,w),K(Tn,Z),K(_n,x),m(G))if(G.length){const t=e.exposed||(e.exposed={});G.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===s&&(e.render=k),null!=R&&(e.inheritAttrs=R),S&&(e.components=S),Y&&(e.directives=Y),x&&kn(e)}function lo(e,t,n){Vt(m(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ro(e,t,n,o){let l=o.includes(".")?Qo(n,o):()=>n[o];if(y(e)){const n=t[e];b(n)&&zo(l,n)}else if(b(e))zo(l,e.bind(n));else if(v(e))if(m(e))e.forEach((e=>ro(e,t,n,o)));else{const o=b(e.handler)?e.handler.bind(n):t[e.handler];b(o)&&zo(l,o,e)}}function so(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:l,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,i=r.get(t);let a;return i?a=i:l.length||n||o?(a={},l.length&&l.forEach((e=>io(a,e,s,!0))),io(a,t,s)):a=t,v(t)&&r.set(t,a),a}function io(e,t,n,o=!1){const{mixins:l,extends:r}=t;r&&io(e,r,n,!0),l&&l.forEach((t=>io(e,t,n,!0)));for(const l in t)if(!o||"expose"!==l){const o=ao[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const ao={data:co,props:mo,emits:mo,methods:go,computed:go,beforeCreate:po,created:po,beforeMount:po,mounted:po,beforeUpdate:po,updated:po,beforeDestroy:po,beforeUnmount:po,destroyed:po,unmounted:po,activated:po,deactivated:po,errorCaptured:po,serverPrefetch:po,components:go,directives:go,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const o in t)n[o]=po(e[o],t[o]);return n},provide:co,inject:function(e,t){return go(uo(e),uo(t))}};function co(e,t){return t?e?function(){return u(b(e)?e.call(this,this):e,b(t)?t.call(this,this):t)}:t:e}function uo(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function po(e,t){return e?[...new Set([].concat(e,t))]:t}function go(e,t){return e?u(Object.create(null),e,t):t}function mo(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:u(Object.create(null),to(e),to(t??{})):t}function ho(){return{app:null,config:{isNativeTag:i,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 fo=0;function bo(e,t){return function(t,n=null){b(t)||(t=u({},t)),null!=n&&!v(n)&&(n=null);const o=ho(),l=new WeakSet,r=[];let s=!1;const i=o.app={_uid:fo++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:Ql,get config(){return o.config},set config(e){},use:(e,...t)=>(l.has(e)||(e&&b(e.install)?(l.add(e),e.install(i,...t)):b(e)&&(l.add(e),e(i,...t))),i),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),i),component:(e,t)=>t?(o.components[e]=t,i):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,i):o.directives[e],mount(l,r,a){if(!s){const r=i._ceVNode||wl(t,n);return r.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),e(r,l,a),s=!0,i._container=l,l.__vue_app__=i,jl(r.component)}},onUnmount(e){r.push(e)},unmount(){s&&(Vt(r,i._instance,16),e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,i),runWithContext(e){const t=yo;yo=i;try{return e()}finally{yo=t}}};return i}}let yo=null;function Co(e,t){if(Nl){let n=Nl.provides;const o=Nl.parent&&Nl.parent.provides;o===n&&(n=Nl.provides=Object.create(o)),n[e]=t}}function vo(e,t,n=!1){const o=Nl||sn;if(o||yo){const l=yo?yo._context.provides:o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(l&&e in l)return l[e];if(arguments.length>1)return n&&b(t)?t.call(o&&o.proxy):t}}const Io={},wo=()=>Object.create(Io),Lo=e=>Object.getPrototypeOf(e)===Io;function Zo(e,t,n,o=!1){const l={},r=wo();e.propsDefaults=Object.create(null),ko(e,t,l,r);for(const t in e.propsOptions[0])t in l||(l[t]=void 0);n?e.props=o?l:function(e){return gt(e,!1,Pe,lt,it)}(l):e.type.props?e.props=l:e.props=r,e.attrs=r}function ko(e,t,n,o){const[r,s]=e.propsOptions;let i,a=!1;if(t)for(let l in t){if(A(l))continue;const c=t[l];let u;r&&g(r,u=x(l))?s&&s.includes(u)?(i||(i={}))[u]=c:n[u]=c:qo(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,a=!0)}if(s){const t=yt(n),o=i||l;for(let l=0;l<s.length;l++){const i=s[l];n[i]=Ao(r,t,i,o[i],e,!g(o,i))}}return a}function Ao(e,t,n,o,l,r){const s=e[n];if(null!=s){const e=g(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&b(e)){const{propsDefaults:r}=l;if(n in r)o=r[n];else{const s=Ol(l);o=r[n]=e.call(null,t),s()}}else o=e;l.ce&&l.ce._setProp(n,o)}s[0]&&(r&&!e?o=!1:s[1]&&(""===o||o===R(n))&&(o=!0))}return o}const Wo=new WeakMap;function Xo(e,t,n=!1){const o=n?Wo:t.propsCache,s=o.get(e);if(s)return s;const i=e.props,a={},c=[];let d=!1;if(!b(e)){const o=e=>{d=!0;const[n,o]=Xo(e,t,!0);u(a,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!d)return v(e)&&o.set(e,r),r;if(m(i))for(let e=0;e<i.length;e++){const t=x(i[e]);xo(t)&&(a[t]=l)}else if(i)for(const e in i){const t=x(e);if(xo(t)){const n=i[e],o=a[t]=m(n)||b(n)?{type:n}:u({},n),l=o.type;let r=!1,s=!0;if(m(l))for(let e=0;e<l.length;++e){const t=l[e],n=b(t)&&t.name;if("Boolean"===n){r=!0;break}"String"===n&&(s=!1)}else r=b(l)&&"Boolean"===l.name;o[0]=r,o[1]=s,(r||g(o,"default"))&&c.push(t)}}const p=[a,c];return v(e)&&o.set(e,p),p}function xo(e){return"$"!==e[0]&&!A(e)}const Go=e=>"_"===e[0]||"$stable"===e,Ro=e=>m(e)?e.map(Wl):[Wl(e)],So=(e,t,n)=>{if(t._n)return t;const o=un(((...e)=>Ro(t(...e))),n);return o._c=!1,o},Yo=(e,t,n)=>{const o=e._ctx;for(const n in e){if(Go(n))continue;const l=e[n];if(b(l))t[n]=So(0,l,o);else if(null!=l){const e=Ro(l);t[n]=()=>e}}},No=(e,t)=>{const n=Ro(t);e.slots.default=()=>n},Ko=(e,t,n)=>{for(const o in t)(n||"_"!==o)&&(e[o]=t[o])},Ho=function(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):function(e){m(e)?Et.push(...e):Qt&&-1===e.id?Qt.splice(Ut+1,0,e):1&e.flags||(Et.push(e),e.flags|=1),tn()}(e)};function Bo(e){return function(e){M().__VUE__=!0;const{insert:t,remove:n,patchProp:o,createElement:i,createText:a,createComment:c,setText:u,setElementText:d,parentNode:p,nextSibling:m,setScopeId:h=s,insertStaticContent:f}=e,b=(e,t,n,o=null,l=null,r=null,s=void 0,i=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!yl(e,t)&&(o=$(e),J(e,l,r,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case sl:y(e,t,n,o);break;case il:C(e,t,n,o);break;case al:null==e&&v(t,n,o,s);break;case rl:N(e,t,n,o,l,r,s,i,a);break;default:1&d?Z(e,t,n,o,l,r,s,i,a):6&d?B(e,t,n,o,l,r,s,i,a):(64&d||128&d)&&c.process(e,t,n,o,l,r,s,i,a,ne)}null!=u&&l&&An(u,e&&e.ref,r,t||e,!t)},y=(e,n,o,l)=>{if(null==e)t(n.el=a(n.children),o,l);else{const t=n.el=e.el;n.children!==e.children&&u(t,n.children)}},C=(e,n,o,l)=>{null==e?t(n.el=c(n.children||""),o,l):n.el=e.el},v=(e,t,n,o)=>{[e.el,e.anchor]=f(e.children,t,n,o,e.el,e.anchor)},w=({el:e,anchor:n},o,l)=>{let r;for(;e&&e!==n;)r=m(e),t(e,o,l),e=r;t(n,o,l)},L=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=m(e),n(e),e=o;n(t)},Z=(e,t,n,o,l,r,s,i,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?k(t,n,o,l,r,s,i,a):G(e,t,l,r,s,i,a)},k=(e,n,l,r,s,a,c,u)=>{let p,g;const{props:m,shapeFlag:h,transition:f,dirs:b}=e;if(p=e.el=i(e.type,a,m&&m.is,m),8&h?d(p,e.children):16&h&&X(e.children,p,null,r,s,Oo(e,a),c,u),b&&dn(e,null,r,"created"),W(p,e,e.scopeId,c,r),m){for(const e in m)"value"!==e&&!A(e)&&o(p,e,null,m[e],a,r);"value"in m&&o(p,"value",null,m.value,a),(g=m.onVnodeBeforeMount)&&Rl(g,r,e)}b&&dn(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,f);y&&f.beforeEnter(p),t(p,n,l),((g=m&&m.onVnodeMounted)||y||b)&&Ho((()=>{g&&Rl(g,r,e),y&&f.enter(p),b&&dn(e,null,r,"mounted")}),s)},W=(e,t,n,o,l)=>{if(n&&h(e,n),o)for(let t=0;t<o.length;t++)h(e,o[t]);if(l){let n=l.subTree;if(t===n||ll(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=l.vnode;W(e,t,t.scopeId,t.slotScopeIds,l.parent)}}},X=(e,t,n,o,l,r,s,i,a=0)=>{for(let c=a;c<e.length;c++){const a=e[c]=i?Xl(e[c]):Wl(e[c]);b(null,a,t,n,o,l,r,s,i)}},G=(e,t,n,r,s,i,a)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:g}=t;u|=16&e.patchFlag;const m=e.props||l,h=t.props||l;let f;if(n&&Mo(n,!1),(f=h.onVnodeBeforeUpdate)&&Rl(f,n,t,e),g&&dn(t,e,n,"beforeUpdate"),n&&Mo(n,!0),(m.innerHTML&&null==h.innerHTML||m.textContent&&null==h.textContent)&&d(c,""),p?S(e.dynamicChildren,p,c,n,r,Oo(t,s),i):a||F(e,t,c,null,n,r,Oo(t,s),i,!1),u>0){if(16&u)Y(c,m,h,n,s);else if(2&u&&m.class!==h.class&&o(c,"class",null,h.class,s),4&u&&o(c,"style",m.style,h.style,s),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const l=e[t],r=m[l],i=h[l];(i!==r||"value"===l)&&o(c,l,r,i,s,n)}}1&u&&e.children!==t.children&&d(c,t.children)}else!a&&null==p&&Y(c,m,h,n,s);((f=h.onVnodeUpdated)||g)&&Ho((()=>{f&&Rl(f,n,t,e),g&&dn(t,e,n,"updated")}),r)},S=(e,t,n,o,l,r,s)=>{for(let i=0;i<t.length;i++){const a=e[i],c=t[i],u=a.el&&(a.type===rl||!yl(a,c)||70&a.shapeFlag)?p(a.el):n;b(a,c,u,null,o,l,r,s,!0)}},Y=(e,t,n,r,s)=>{if(t!==n){if(t!==l)for(const l in t)!A(l)&&!(l in n)&&o(e,l,t[l],null,s,r);for(const l in n){if(A(l))continue;const i=n[l],a=t[l];i!==a&&"value"!==l&&o(e,l,a,i,s,r)}"value"in n&&o(e,"value",t.value,n.value,s)}},N=(e,n,o,l,r,s,i,c,u)=>{const d=n.el=e?e.el:a(""),p=n.anchor=e?e.anchor:a("");let{patchFlag:g,dynamicChildren:m,slotScopeIds:h}=n;h&&(c=c?c.concat(h):h),null==e?(t(d,o,l),t(p,o,l),X(n.children||[],o,p,r,s,i,c,u)):g>0&&64&g&&m&&e.dynamicChildren?(S(e.dynamicChildren,m,o,r,s,i,c),(null!=n.key||r&&n===r.subTree)&&To(e,n,!0)):F(e,n,o,p,r,s,i,c,u)},B=(e,t,n,o,l,r,s,i,a)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?l.ctx.activate(t,n,o,s,a):O(t,n,o,l,r,s,a):T(e,t,a)},O=(e,t,n,o,r,s,i)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Sl,s={uid:Yl++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new te(!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:Xo(o,r),emitsOptions:$o(o,r),emit:null,emitted:null,propsDefaults:l,inheritAttrs:o.inheritAttrs,ctx:l,data:l,props:l,attrs:l,slots:l,refs:l,setupState:l,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Po.bind(null,s),e.ce&&e.ce(s),s}(e,o,r);if(Xn(e)&&(a.ctx.renderer=ne),function(e,t=!1,n=!1){t&&Bl(t);const{props:o,children:l}=e.vnode,r=Tl(e);Zo(e,o,r,t),((e,t,n)=>{const o=e.slots=wo();if(32&e.vnode.shapeFlag){const e=t._;e?(Ko(o,t,n),n&&H(o,"_",e,!0)):Yo(t,o)}else t&&No(e,t)})(e,l,n);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eo);const{setup:o}=n;if(o){Ie();const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Vl),slots:e.slots,emit:e.emit,expose:t}}(e):null,l=Ol(e),r=Ft(o,e,0,[e.props,n]),s=I(r);if(we(),l(),(s||e.sp)&&!Wn(e)&&kn(e),s){if(r.then(Ml,Ml),t)return r.then((t=>{Dl(e,t)})).catch((t=>{jt(t,e,0)}));e.asyncDep=r}else Dl(e,r)}else Fl(e)}(e,t):void 0;t&&Bl(!1)}(a,!1,i),a.asyncDep){if(r&&r.registerDep(a,_,i),!e.el){const e=a.subTree=wl(il);C(null,e,t,n)}}else _(a,e,t,n,r,s,i)},T=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:l,component:r}=e,{props:s,children:i,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!l&&!i||i&&i.$stable)||o!==s&&(o?!s||ol(o,s,c):!!s);if(1024&a)return!0;if(16&a)return o?ol(o,s,c):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!qo(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void D(o,t,n);o.next=t,o.update()}else t.el=e.el,o.vnode=t},_=(e,t,n,o,l,r,s)=>{const i=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=_o(e);if(n)return t&&(t.el=c.el,D(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||i()}))}let u,d=t;Mo(e,!1),t?(t.el=c.el,D(e,t,s)):t=c,n&&K(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Rl(u,a,t,c),Mo(e,!0);const g=el(e),m=e.subTree;e.subTree=g,b(m,g,p(m.el),$(m),e,l,r),t.el=g.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,g.el),o&&Ho(o,l),(u=t.props&&t.props.onVnodeUpdated)&&Ho((()=>Rl(u,a,t,c)),l)}else{let s;const{el:i,props:a}=t,{bm:c,m:u,parent:d,root:p,type:g}=e,m=Wn(t);Mo(e,!1),c&&K(c),!m&&(s=a&&a.onVnodeBeforeMount)&&Rl(s,d,t),Mo(e,!0);{p.ce&&p.ce._injectChildStyle(g);const s=e.subTree=el(e);b(null,s,n,o,e,l,r),t.el=s.el}if(u&&Ho(u,l),!m&&(s=a&&a.onVnodeMounted)){const e=t;Ho((()=>Rl(s,d,e)),l)}(256&t.shapeFlag||d&&Wn(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&Ho(e.a,l),e.isMounted=!0,t=n=o=null}};e.scope.on();const a=e.effect=new se(i);e.scope.off();const c=e.update=a.run.bind(a),u=e.job=a.runIfDirty.bind(a);u.i=e,u.id=e.uid,a.scheduler=()=>en(u),Mo(e,!0),c()},D=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:l,attrs:r,vnode:{patchFlag:s}}=e,i=yt(l),[a]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;ko(e,t,l,r)&&(c=!0);for(const r in i)(!t||!g(t,r)&&((o=R(r))===r||!g(t,o)))&&(a?n&&(void 0!==n[r]||void 0!==n[o])&&(l[r]=Ao(a,i,r,void 0,e,!0)):delete l[r]);if(r!==i)for(const e in r)(!t||!g(t,e))&&(delete r[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(qo(e.emitsOptions,s))continue;const u=t[s];if(a)if(g(r,s))u!==r[s]&&(r[s]=u,c=!0);else{const t=x(s);l[t]=Ao(a,i,t,u,e,!1)}else u!==r[s]&&(r[s]=u,c=!0)}}c&&Ye(e.attrs,"set","")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=l;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:Ko(r,t,n):(s=!t.$stable,Yo(t,r)),i=t}else t&&(No(e,t),i={default:1});if(s)for(const e in r)!Go(e)&&null==i[e]&&delete r[e]})(e,t.children,n),Ie(),nn(e),we()},F=(e,t,n,o,l,r,s,i,a=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:g,shapeFlag:m}=t;if(g>0){if(128&g)return void j(c,p,n,o,l,r,s,i,a);if(256&g)return void V(c,p,n,o,l,r,s,i,a)}8&m?(16&u&&P(c,l,r),p!==c&&d(n,p)):16&u?16&m?j(c,p,n,o,l,r,s,i,a):P(c,l,r,!0):(8&u&&d(n,""),16&m&&X(p,n,o,l,r,s,i,a))},V=(e,t,n,o,l,s,i,a,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,p=Math.min(u,d);let g;for(g=0;g<p;g++){const o=t[g]=c?Xl(t[g]):Wl(t[g]);b(e[g],o,n,null,l,s,i,a,c)}u>d?P(e,l,s,!0,!1,p):X(t,n,o,l,s,i,a,c,p)},j=(e,t,n,o,l,s,i,a,c)=>{let u=0;const d=t.length;let p=e.length-1,g=d-1;for(;u<=p&&u<=g;){const o=e[u],r=t[u]=c?Xl(t[u]):Wl(t[u]);if(!yl(o,r))break;b(o,r,n,null,l,s,i,a,c),u++}for(;u<=p&&u<=g;){const o=e[p],r=t[g]=c?Xl(t[g]):Wl(t[g]);if(!yl(o,r))break;b(o,r,n,null,l,s,i,a,c),p--,g--}if(u>p){if(u<=g){const e=g+1,r=e<d?t[e].el:o;for(;u<=g;)b(null,t[u]=c?Xl(t[u]):Wl(t[u]),n,r,l,s,i,a,c),u++}}else if(u>g)for(;u<=p;)J(e[u],l,s,!0),u++;else{const m=u,h=u,f=new Map;for(u=h;u<=g;u++){const e=t[u]=c?Xl(t[u]):Wl(t[u]);null!=e.key&&f.set(e.key,u)}let y,C=0;const v=g-h+1;let I=!1,w=0;const L=new Array(v);for(u=0;u<v;u++)L[u]=0;for(u=m;u<=p;u++){const o=e[u];if(C>=v){J(o,l,s,!0);continue}let r;if(null!=o.key)r=f.get(o.key);else for(y=h;y<=g;y++)if(0===L[y-h]&&yl(o,t[y])){r=y;break}void 0===r?J(o,l,s,!0):(L[r-h]=u+1,r>=w?w=r:I=!0,b(o,t[r],n,null,l,s,i,a,c),C++)}const Z=I?function(e){const t=e.slice(),n=[0];let o,l,r,s,i;const a=e.length;for(o=0;o<a;o++){const a=e[o];if(0!==a){if(l=n[n.length-1],e[l]<a){t[o]=l,n.push(o);continue}for(r=0,s=n.length-1;r<s;)i=r+s>>1,e[n[i]]<a?r=i+1:s=i;a<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,s=n[r-1];r-- >0;)n[r]=s,s=t[s];return n}(L):r;for(y=Z.length-1,u=v-1;u>=0;u--){const e=h+u,r=t[e],p=e+1<d?t[e+1].el:o;0===L[u]?b(null,r,n,p,l,s,i,a,c):I&&(y<0||u!==Z[y]?z(r,n,p,2):y--)}}},z=(e,n,o,l,r=null)=>{const{el:s,type:i,transition:a,children:c,shapeFlag:u}=e;if(6&u)z(e.component.subTree,n,o,l);else if(128&u)e.suspense.move(n,o,l);else if(64&u)i.move(e,n,o,ne);else if(i!==rl)if(i!==al)if(2!==l&&1&u&&a)if(0===l)a.beforeEnter(s),t(s,n,o),Ho((()=>a.enter(s)),r);else{const{leave:e,delayLeave:l,afterLeave:r}=a,i=()=>t(s,n,o),c=()=>{e(s,(()=>{i(),r&&r()}))};l?l(s,i,c):c()}else t(s,n,o);else w(e,n,o);else{t(s,n,o);for(let e=0;e<c.length;e++)z(c[e],n,o,l);t(e.anchor,n,o)}},J=(e,t,n,o=!1,l=!1)=>{const{type:r,props:s,ref:i,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:g}=e;if(-2===d&&(l=!1),null!=i&&An(i,null,n,e,!0),null!=g&&(t.renderCache[g]=void 0),256&u)return void t.ctx.deactivate(e);const m=1&u&&p,h=!Wn(e);let f;if(h&&(f=s&&s.onVnodeBeforeUnmount)&&Rl(f,t,e),6&u)U(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);m&&dn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,ne,o):c&&!c.hasOnce&&(r!==rl||d>0&&64&d)?P(c,t,n,!1,!0):(r===rl&&384&d||!l&&16&u)&&P(a,t,n),o&&E(e)}(h&&(f=s&&s.onVnodeUnmounted)||m)&&Ho((()=>{f&&Rl(f,t,e),m&&dn(e,null,t,"unmounted")}),n)},E=e=>{const{type:t,el:o,anchor:l,transition:r}=e;if(t===rl)return void Q(o,l);if(t===al)return void L(e);const s=()=>{n(o),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:n}=r,l=()=>t(o,s);n?n(e.el,s,l):l()}else s()},Q=(e,t)=>{let o;for(;e!==t;)o=m(e),n(e),e=o;n(t)},U=(e,t,n)=>{const{bum:o,scope:l,job:r,subTree:s,um:i,m:a,a:c}=e;Do(a),Do(c),o&&K(o),l.stop(),r&&(r.flags|=8,J(s,e,t,n)),i&&Ho(i,t),Ho((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},P=(e,t,n,o=!1,l=!1,r=0)=>{for(let s=r;s<e.length;s++)J(e[s],t,n,o,l)},$=e=>{if(6&e.shapeFlag)return $(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[pn];return n?m(n):t};let q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),t._vnode=e,q||(q=!0,nn(),on(),q=!1)},ne={p:b,um:J,m:z,r:E,mt:O,mc:X,pc:F,pbc:S,n:$,o:e};return{render:ee,hydrate:void 0,createApp:bo(ee)}}(e)}function Oo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function To(e,t,n=!1){const o=e.children,l=t.children;if(m(o)&&m(l))for(let e=0;e<o.length;e++){const t=o[e];let r=l[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=l[e]=Xl(l[e]),r.el=t.el),!n&&-2!==r.patchFlag&&To(t,r)),r.type===sl&&(r.el=t.el)}}function _o(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_o(t)}function Do(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Fo=Symbol.for("v-scx"),Vo=()=>vo(Fo);function jo(e,t){return Jo(e,null,t)}function zo(e,t,n){return Jo(e,t,n)}function Jo(e,t,n=l){const{immediate:o,deep:r,flush:i,once:a}=n,c=u({},n),d=t&&o||!t&&"post"!==i;let p;if(_l)if("sync"===i){const e=Vo();p=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){const e=()=>{};return e.stop=s,e.resume=s,e.pause=s,e}const g=Nl;c.call=(e,t,n)=>Vt(e,g,t,n);let m=!1;"post"===i?c.scheduler=e=>{Ho(e,g&&g.suspense)}:"sync"!==i&&(m=!0,c.scheduler=(e,t)=>{t?e():en(e)}),c.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,g&&(e.id=g.uid,e.i=g))};const h=_t(e,t,c);return _l&&(p?p.push(h):d&&h()),h}function Eo(e,t,n){const o=this.proxy,l=y(e)?e.includes(".")?Qo(o,e):()=>o[e]:e.bind(o,o);let r;b(t)?r=t:(r=t.handler,n=t);const s=Ol(this),i=Jo(l,r.bind(o),n);return s(),i}function Qo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const Uo=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${x(t)}Modifiers`]||e[`${R(t)}Modifiers`];function Po(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||l;let r=n;const s=t.startsWith("update:"),i=s&&Uo(o,t.slice(7));i&&(i.trim&&(r=n.map((e=>y(e)?e.trim():e))),i.number&&(r=n.map(B)));let a,c=o[a=Y(t)]||o[a=Y(x(t))];!c&&s&&(c=o[a=Y(R(t))]),c&&Vt(c,e,6,r);const u=o[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Vt(u,e,6,r)}}function $o(e,t,n=!1){const o=t.emitsCache,l=o.get(e);if(void 0!==l)return l;const r=e.emits;let s={},i=!1;if(!b(e)){const o=e=>{const n=$o(e,t,!0);n&&(i=!0,u(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return r||i?(m(r)?r.forEach((e=>s[e]=null)):u(s,r),v(e)&&o.set(e,s),s):(v(e)&&o.set(e,null),null)}function qo(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),g(e,t[0].toLowerCase()+t.slice(1))||g(e,R(t))||g(e,t))}function el(e){const{type:t,vnode:n,proxy:o,withProxy:l,propsOptions:[r],slots:s,attrs:i,emit:a,render:u,renderCache:d,props:p,data:g,setupState:m,ctx:h,inheritAttrs:f}=e,b=cn(e);let y,C;try{if(4&n.shapeFlag){const e=l||o,t=e;y=Wl(u.call(t,e,d,p,m,g,h)),C=i}else{const e=t;y=Wl(e.length>1?e(p,{attrs:i,slots:s,emit:a}):e(p,null)),C=t.props?i:tl(i)}}catch(t){cl.length=0,jt(t,e,1),y=wl(il)}let v=y;if(C&&!1!==f){const e=Object.keys(C),{shapeFlag:t}=v;e.length&&7&t&&(r&&e.some(c)&&(C=nl(C,r)),v=Zl(v,C,!1,!0))}return n.dirs&&(v=Zl(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Ln(v,n.transition),y=v,cn(b),y}const tl=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},nl=(e,t)=>{const n={};for(const o in e)(!c(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function ol(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let l=0;l<o.length;l++){const r=o[l];if(t[r]!==e[r]&&!qo(n,r))return!0}return!1}const ll=e=>e.__isSuspense;const rl=Symbol.for("v-fgt"),sl=Symbol.for("v-txt"),il=Symbol.for("v-cmt"),al=Symbol.for("v-stc"),cl=[];let ul=null;function dl(e=!1){cl.push(ul=e?null:[])}let pl=1;function gl(e,t=!1){pl+=e,e<0&&ul&&t&&(ul.hasOnce=!0)}function ml(e){return e.dynamicChildren=pl>0?ul||r:null,cl.pop(),ul=cl[cl.length-1]||null,pl>0&&ul&&ul.push(e),e}function hl(e,t,n,o,l,r){return ml(Il(e,t,n,o,l,r,!0))}function fl(e,t,n,o,l){return ml(wl(e,t,n,o,l,!0))}function bl(e){return!!e&&!0===e.__v_isVNode}function yl(e,t){return e.type===t.type&&e.key===t.key}const Cl=({key:e})=>e??null,vl=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?y(e)||wt(e)||b(e)?{i:sn,r:e,k:t,f:!!n}:e:null);function Il(e,t=null,n=null,o=0,l=null,r=(e===rl?0:1),s=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cl(t),ref:t&&vl(t),scopeId:an,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:r,patchFlag:o,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:sn};return i?(xl(a,n),128&r&&e.normalize(a)):n&&(a.shapeFlag|=y(n)?8:16),pl>0&&!s&&ul&&(a.patchFlag>0||6&r)&&32!==a.patchFlag&&ul.push(a),a}const wl=function(e,t=null,n=null,o=0,l=null,r=!1){if((!e||e===jn)&&(e=il),bl(e)){const o=Zl(e,t,!0);return n&&xl(o,n),pl>0&&!r&&ul&&(6&o.shapeFlag?ul[ul.indexOf(e)]=o:ul.push(o)),o.patchFlag=-2,o}if(function(e){return b(e)&&"__vccOpts"in e}(e)&&(e=e.__vccOpts),t){t=Ll(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=j(e)),v(n)&&(bt(n)&&!m(n)&&(n=u({},n)),t.style=T(n))}const s=y(e)?1:ll(e)?128:(e=>e.__isTeleport)(e)?64:v(e)?4:b(e)?2:0;return Il(e,t,n,o,l,s,r,!0)};function Ll(e){return e?bt(e)||Lo(e)?u({},e):e:null}function Zl(e,t,n=!1,o=!1){const{props:l,ref:r,patchFlag:s,children:i,transition:a}=e,c=t?Gl(l||{},t):l,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Cl(c),ref:t&&t.ref?n&&r?m(r)?r.concat(vl(t)):[r,vl(t)]:vl(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rl?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zl(e.ssContent),ssFallback:e.ssFallback&&Zl(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&o&&Ln(u,a.clone(u)),u}function kl(e=" ",t=0){return wl(sl,null,e,t)}function Al(e="",t=!1){return t?(dl(),fl(il,null,e)):wl(il,null,e)}function Wl(e){return null==e||"boolean"==typeof e?wl(il):m(e)?wl(rl,null,e.slice()):bl(e)?Xl(e):wl(sl,null,String(e))}function Xl(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Zl(e)}function xl(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),xl(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Lo(t)?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else b(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[kl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gl(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=j([t.class,o.class]));else if("style"===e)t.style=T([t.style,o.style]);else if(a(e)){const n=t[e],l=o[e];l&&n!==l&&(!m(n)||!n.includes(l))&&(t[e]=n?[].concat(n,l):l)}else""!==e&&(t[e]=o[e])}return t}function Rl(e,t,n,o=null){Vt(e,t,7,[n,o])}const Sl=ho();let Yl=0;let Nl=null;const Kl=()=>Nl||sn;let Hl,Bl;{const e=M(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Hl=t("__VUE_INSTANCE_SETTERS__",(e=>Nl=e)),Bl=t("__VUE_SSR_SETTERS__",(e=>_l=e))}const Ol=e=>{const t=Nl;return Hl(e),e.scope.on(),()=>{e.scope.off(),Hl(t)}},Ml=()=>{Nl&&Nl.scope.off(),Hl(null)};function Tl(e){return 4&e.vnode.shapeFlag}let _l=!1;function Dl(e,t,n){b(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Gt(t)),Fl(e)}function Fl(e,t,n){const o=e.type;e.render||(e.render=o.render||s);{const t=Ol(e);Ie();try{oo(e)}finally{we(),t()}}}const Vl={get:(e,t)=>(Se(e,0,""),e[t])};function jl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gt(Ct(e.exposed)),{get:(t,n)=>n in t?t[n]:n in $n?$n[n](e):void 0,has:(e,t)=>t in e||t in $n})):e.proxy}function zl(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}const Jl=(e,t)=>function(e,t,n=!1){let o,l;return b(e)?o=e:(o=e.get,l=e.set),new Bt(o,l,n)}(e,0,_l);function El(e,t,n){const o=arguments.length;return 2===o?v(t)&&!m(t)?bl(t)?wl(e,null,[t]):wl(e,t):wl(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&bl(n)&&(n=[n]),wl(e,t,n))}const Ql="3.5.13";
/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ul;const Pl=typeof window<"u"&&window.trustedTypes;if(Pl)try{Ul=Pl.createPolicy("vue",{createHTML:e=>e})}catch{}const $l=Ul?e=>Ul.createHTML(e):e=>e,ql=typeof document<"u"?document:null,er=ql&&ql.createElement("template"),tr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l="svg"===t?ql.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ql.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ql.createElement(e,{is:n}):ql.createElement(e);return"select"===e&&o&&null!=o.multiple&&l.setAttribute("multiple",o.multiple),l},createText:e=>ql.createTextNode(e),createComment:e=>ql.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ql.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,r){const s=n?n.previousSibling:t.lastChild;if(l&&(l===r||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),l!==r&&(l=l.nextSibling););else{er.innerHTML=$l("svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e);const l=er.content;if("svg"===o||"mathml"===o){const e=l.firstChild;for(;e.firstChild;)l.appendChild(e.firstChild);l.removeChild(e)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nr=Symbol("_vtc");const or=Symbol("_vod"),lr=Symbol("_vsh"),rr=Symbol(""),sr=/(^|;)\s*display\s*:/;const ir=/\s*!important$/;function ar(e,t,n){if(m(n))n.forEach((n=>ar(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ur[t];if(n)return n;let o=x(t);if("filter"!==o&&o in e)return ur[t]=o;o=S(o);for(let n=0;n<cr.length;n++){const l=cr[n]+o;if(l in e)return ur[t]=l}return t}(e,t);ir.test(n)?e.setProperty(R(o),n.replace(ir,""),"important"):e[o]=n}}const cr=["Webkit","Moz","ms"],ur={};const dr="http://www.w3.org/1999/xlink";function pr(e,t,n,o,l,r=J(t)){o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(dr,t.slice(6,t.length)):e.setAttributeNS(dr,t,n):null==n||r&&!E(n)?e.removeAttribute(t):e.setAttribute(t,r?"":C(n)?String(n):n)}function gr(e,t,n,o,l){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?$l(n):n));const r=e.tagName;if("value"===t&&"PROGRESS"!==r&&!r.includes("-")){const o="OPTION"===r?e.getAttribute("value")||"":e.value,l=null==n?"checkbox"===e.type?"on":"":String(n);return(o!==l||!("_value"in e))&&(e.value=l),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=E(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(l||t)}function mr(e,t,n,o){e.addEventListener(t,n,o)}const hr=Symbol("_vei");function fr(e,t,n,o,l=null){const r=e[hr]||(e[hr]={}),s=r[t];if(o&&s)s.value=o;else{const[n,i]=function(e){let t;if(br.test(e)){let n;for(t={};n=e.match(br);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):R(e.slice(2)),t]}(t);if(o){const s=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Vt(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=vr(),n}(o,l);mr(e,n,s,i)}else s&&(function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,i),r[t]=void 0)}}const br=/(?:Once|Passive|Capture)$/;let yr=0;const Cr=Promise.resolve(),vr=()=>yr||(Cr.then((()=>yr=0)),yr=Date.now());const Ir=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const wr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>K(t,e):t};function Lr(e){e.target.composing=!0}function Zr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kr=Symbol("_assign"),Ar={created(e,{modifiers:{lazy:t,trim:n,number:o}},l){e[kr]=wr(l);const r=o||l.props&&"number"===l.props.type;mr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),r&&(o=B(o)),e[kr](o)})),n&&mr(e,"change",(()=>{e.value=e.value.trim()})),t||(mr(e,"compositionstart",Lr),mr(e,"compositionend",Zr),mr(e,"change",Zr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:l,number:r}},s){if(e[kr]=wr(s),e.composing)return;const i=t??"";(!r&&"number"!==e.type||/^0\d/.test(e.value)?e.value:B(e.value))!==i&&(document.activeElement===e&&"range"!==e.type&&(o&&t===n||l&&e.value.trim()===i)||(e.value=i))}},Wr=["ctrl","shift","alt","meta"],Xr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Wr.some((n=>e[`${n}Key`]&&!t.includes(n)))},xr=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=Xr[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Gr={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rr=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=R(n.key);return t.some((e=>e===o||Gr[e]===o))?e(n):void 0})},Sr=u({patchProp:(e,t,n,o,l,r)=>{const s="svg"===l;"class"===t?function(e,t,n){const o=e[nr];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,s):"style"===t?function(e,t,n){const o=e.style,l=y(n);let r=!1;if(n&&!l){if(t)if(y(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ar(o,t,"")}else for(const e in t)null==n[e]&&ar(o,e,"");for(const e in n)"display"===e&&(r=!0),ar(o,e,n[e])}else if(l){if(t!==n){const e=o[rr];e&&(n+=";"+e),o.cssText=n,r=sr.test(n)}}else t&&e.removeAttribute("style");or in e&&(e[or]=r?o.display:"",e[lr]&&(o.display="none"))}(e,n,o):a(t)?c(t)||fr(e,t,0,o,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return!!("innerHTML"===t||"textContent"===t||t in e&&Ir(t)&&b(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Ir(t)||!y(n))&&t in e}(e,t,o,s))?(gr(e,t,o),!e.tagName.includes("-")&&("value"===t||"checked"===t||"selected"===t)&&pr(e,t,o,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&y(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),pr(e,t,o,s)):gr(e,x(t),o,0,t)}},tr);let Yr;const Nr=(...e)=>{const t=(Yr||(Yr=Bo(Sr))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){return y(e)?document.querySelector(e):e}(e);if(!o)return;const l=t._component;!b(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const r=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};function Kr(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=Kr(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Hr(){for(var e,t,n=0,o="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=Kr(e))&&(o&&(o+=" "),o+=t);return o}const Br=e=>{const t=_r(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Or(n,t)||Tr(e)},getConflictingClassGroupIds:(e,t)=>{const l=n[e]||[];return t&&o[e]?[...l,...o[e]]:l}}},Or=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const o=e[0],l=t.nextPart.get(o),r=l?Or(e.slice(1),l):void 0;if(r)return r;if(0===t.validators.length)return;const s=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(s))))?void 0:n.classGroupId},Mr=/^\[(.+)\]$/,Tr=e=>{if(Mr.test(e)){const t=Mr.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},_r=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)Dr(n[e],o,e,t);return o},Dr=(e,t,n,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Vr(e)?void Dr(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,l])=>{Dr(l,Fr(t,e),n,o)}))}else{(""===e?t:Fr(t,e)).classGroupId=n}}))},Fr=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},Vr=e=>e.isThemeGetter,jr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const l=(l,r)=>{n.set(l,r),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(l(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):l(e,t)}}},zr=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,l=0,r=0;for(let s=0;s<e.length;s++){let i=e[s];if(0===o&&0===l){if(":"===i){t.push(e.slice(r,s)),r=s+1;continue}if("/"===i){n=s;continue}}"["===i?o++:"]"===i?o--:"("===i?l++:")"===i&&l--}const s=0===t.length?e:e.substring(r),i=Jr(s);return{modifiers:t,hasImportantModifier:i!==s,baseClassName:i,maybePostfixModifierPosition:n&&n>r?n-r:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},Jr=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Er=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map((e=>[e,!0])));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach((e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)})),n.push(...o.sort()),n}},Qr=/\s+/;function Ur(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Pr(e))&&(o&&(o+=" "),o+=t);return o}const Pr=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Pr(e[o]))&&(n&&(n+=" "),n+=t);return n};const $r=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},qr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,es=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ts=/^\d+\/\d+$/,ns=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,os=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ls=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ss=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,is=e=>ts.test(e),as=e=>!!e&&!Number.isNaN(Number(e)),cs=e=>!!e&&Number.isInteger(Number(e)),us=e=>e.endsWith("%")&&as(e.slice(0,-1)),ds=e=>ns.test(e),ps=()=>!0,gs=e=>os.test(e)&&!ls.test(e),ms=()=>!1,hs=e=>rs.test(e),fs=e=>ss.test(e),bs=e=>!Cs(e)&&!ks(e),ys=e=>Ss(e,Os,ms),Cs=e=>qr.test(e),vs=e=>Ss(e,Ms,gs),Is=e=>Ss(e,Ts,as),ws=e=>Ss(e,Ns,ms),Ls=e=>Ss(e,Hs,fs),Zs=e=>Ss(e,ms,hs),ks=e=>es.test(e),As=e=>Ys(e,Ms),Ws=e=>Ys(e,_s),Xs=e=>Ys(e,Ns),xs=e=>Ys(e,Os),Gs=e=>Ys(e,Hs),Rs=e=>Ys(e,Ds,!0),Ss=(e,t,n)=>{const o=qr.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},Ys=(e,t,n=!1)=>{const o=es.exec(e);return!!o&&(o[1]?t(o[1]):n)},Ns=e=>"position"===e,Ks=new Set(["image","url"]),Hs=e=>Ks.has(e),Bs=new Set(["length","size","percentage"]),Os=e=>Bs.has(e),Ms=e=>"length"===e,Ts=e=>"number"===e,_s=e=>"family-name"===e,Ds=e=>"shadow"===e,Fs=function(e,...t){let n,o,l,r=function(i){const a=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:jr(e.cacheSize),parseClassName:zr(e),sortModifiers:Er(e),...Br(e)}))(a),o=n.cache.get,l=n.cache.set,r=s,s(i)};function s(e){const t=o(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:r}=t,s=[],i=e.trim().split(Qr);let a="";for(let e=i.length-1;e>=0;e-=1){const t=i[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:g}=n(t);if(c){a=t+(a.length>0?" "+a:a);continue}let m=!!g,h=o(m?p.substring(0,g):p);if(!h){if(!m){a=t+(a.length>0?" "+a:a);continue}if(h=o(p),!h){a=t+(a.length>0?" "+a:a);continue}m=!1}const f=r(u).join(":"),b=d?f+"!":f,y=b+h;if(s.includes(y))continue;s.push(y);const C=l(h,m);for(let e=0;e<C.length;++e){const t=C[e];s.push(b+t)}a=t+(a.length>0?" "+a:a)}return a})(e,n);return l(e,r),r}return function(){return r(Ur.apply(null,arguments))}}((()=>{const e=$r("color"),t=$r("font"),n=$r("text"),o=$r("font-weight"),l=$r("tracking"),r=$r("leading"),s=$r("breakpoint"),i=$r("container"),a=$r("spacing"),c=$r("radius"),u=$r("shadow"),d=$r("inset-shadow"),p=$r("drop-shadow"),g=$r("blur"),m=$r("perspective"),h=$r("aspect"),f=$r("ease"),b=$r("animate"),y=()=>[ks,Cs,a],C=()=>[is,"full","auto",...y()],v=()=>[cs,"none","subgrid",ks,Cs],I=()=>["auto",{span:["full",cs,ks,Cs]},ks,Cs],w=()=>[cs,"auto",ks,Cs],L=()=>["auto","min","max","fr",ks,Cs],Z=()=>["auto",...y()],k=()=>[is,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],A=()=>[e,ks,Cs],W=()=>[us,vs],X=()=>["","none","full",c,ks,Cs],x=()=>["",as,As,vs],G=()=>["","none",g,ks,Cs],R=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ks,Cs],S=()=>["none",as,ks,Cs],Y=()=>["none",as,ks,Cs],N=()=>[as,ks,Cs],K=()=>[is,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ds],breakpoint:[ds],color:[ps],container:[ds],"drop-shadow":[ds],ease:["in","out","in-out"],font:[bs],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ds],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ds],shadow:[ds],spacing:["px",as],text:[ds],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",is,Cs,ks,h]}],container:["container"],columns:[{columns:[as,Cs,ks,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Cs,ks]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[cs,"auto",ks,Cs]}],basis:[{basis:[is,"full","auto",i,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[as,is,"auto","initial","none",Cs]}],grow:[{grow:["",as,ks,Cs]}],shrink:[{shrink:["",as,ks,Cs]}],order:[{order:[cs,"first","last","none",ks,Cs]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":L()}],"auto-rows":[{"auto-rows":L()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","stretch","baseline"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","stretch","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:Z()}],mx:[{mx:Z()}],my:[{my:Z()}],ms:[{ms:Z()}],me:[{me:Z()}],mt:[{mt:Z()}],mr:[{mr:Z()}],mb:[{mb:Z()}],ml:[{ml:Z()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[i,"screen",...k()]}],"min-w":[{"min-w":[i,"screen","none",...k()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[s]},...k()]}],h:[{h:["screen",...k()]}],"min-h":[{"min-h":["screen","none",...k()]}],"max-h":[{"max-h":["screen",...k()]}],"font-size":[{text:["base",n,As,vs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ks,Is]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",us,Cs]}],"font-family":[{font:[Ws,Cs,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,ks,Cs]}],"line-clamp":[{"line-clamp":[as,"none",ks,Is]}],leading:[{leading:[r,...y()]}],"list-image":[{"list-image":["none",ks,Cs]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ks,Cs]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[as,"from-font","auto",ks,vs]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[as,"auto",ks,Cs]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ks,Cs]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ks,Cs]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Xs,ws]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",xs,ys]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},cs,ks,Cs],radial:["",ks,Cs],conic:[cs,ks,Cs]},Gs,Ls]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[as,ks,Cs]}],"outline-w":[{outline:["",as,As,vs]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",u,Rs,Zs]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",ks,Cs,d]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[as,vs]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":A()}],opacity:[{opacity:[as,ks,Cs]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none",ks,Cs]}],blur:[{blur:G()}],brightness:[{brightness:[as,ks,Cs]}],contrast:[{contrast:[as,ks,Cs]}],"drop-shadow":[{"drop-shadow":["","none",p,ks,Cs]}],grayscale:[{grayscale:["",as,ks,Cs]}],"hue-rotate":[{"hue-rotate":[as,ks,Cs]}],invert:[{invert:["",as,ks,Cs]}],saturate:[{saturate:[as,ks,Cs]}],sepia:[{sepia:["",as,ks,Cs]}],"backdrop-filter":[{"backdrop-filter":["","none",ks,Cs]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[as,ks,Cs]}],"backdrop-contrast":[{"backdrop-contrast":[as,ks,Cs]}],"backdrop-grayscale":[{"backdrop-grayscale":["",as,ks,Cs]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[as,ks,Cs]}],"backdrop-invert":[{"backdrop-invert":["",as,ks,Cs]}],"backdrop-opacity":[{"backdrop-opacity":[as,ks,Cs]}],"backdrop-saturate":[{"backdrop-saturate":[as,ks,Cs]}],"backdrop-sepia":[{"backdrop-sepia":["",as,ks,Cs]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ks,Cs]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[as,"initial",ks,Cs]}],ease:[{ease:["linear","initial",f,ks,Cs]}],delay:[{delay:[as,ks,Cs]}],animate:[{animate:["none",b,ks,Cs]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ks,Cs]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:S()}],"rotate-x":[{"rotate-x":S()}],"rotate-y":[{"rotate-y":S()}],"rotate-z":[{"rotate-z":S()}],scale:[{scale:Y()}],"scale-x":[{"scale-x":Y()}],"scale-y":[{"scale-y":Y()}],"scale-z":[{"scale-z":Y()}],"scale-3d":["scale-3d"],skew:[{skew:N()}],"skew-x":[{"skew-x":N()}],"skew-y":[{"skew-y":N()}],transform:[{transform:[ks,Cs,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:K()}],"translate-x":[{"translate-x":K()}],"translate-y":[{"translate-y":K()}],"translate-z":[{"translate-z":K()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ks,Cs]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ks,Cs]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[as,As,vs,Is]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}}));function Vs(...e){return Fs(Hr(e))}function js(e){return e?e.flatMap((e=>e.type===rl?js(e.children):[e])):[]}const zs=Zn({name:"PrimitiveSlot",inheritAttrs:!1,setup:(e,{attrs:t,slots:n})=>()=>{var e,o;if(!n.default)return null;const l=js(n.default()),r=l.findIndex((e=>e.type!==il));if(-1===r)return l;const s=l[r];null==(e=s.props)||delete e.ref;const i=s.props?Gl(t,s.props):t;t.class&&null!=(o=s.props)&&o.class&&delete s.props.class;const a=Zl(s,i);for(const e in i)e.startsWith("on")&&(a.props||(a.props={}),a.props[e]=i[e]);return 1===l.length?a:(l[r]=a,l)}}),Js=["area","img","input"],Es=Zn({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return"string"==typeof o&&Js.includes(o)?()=>El(o,t):"template"!==o?()=>El(e.as,t,{default:n.default}):()=>El(zs,t,{default:n.default})}}),Qs=Zn({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup:e=>(e,t)=>(dl(),fl(Wt(Es),{as:e.as,"as-child":e.asChild,"aria-hidden":"focusable"===e.feature?"true":void 0,"data-hidden":"fully-hidden"===e.feature?"":void 0,tabindex:"fully-hidden"===e.feature?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:un((()=>[Qn(e.$slots,"default")])),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))});function Us(e){return!!oe()&&(le(e),!0)}const Ps=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope);const $s=Object.prototype.toString,qs=()=>{};function ei(e){return Array.isArray(e)?e:[e]}function ti(e=1e3,t={}){const{controls:n=!1,callback:o}=t,l=function(e,t,n={}){const{immediate:o=!0,immediateCallback:l=!1}=n,r=Zt(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){r.value=!1,i()}function c(...n){l&&e(),i(),r.value=!0,s=setTimeout((()=>{r.value=!1,s=null,e(...n)}),Xt(t))}return o&&(r.value=!0,Ps&&c()),Us(a),{isPending:pt(r),start:c,stop:a}}(o??qs,e,t),r=Jl((()=>!l.isPending.value));return n?{ready:r,...l}:r}const ni=Ps?window:void 0;function oi(e){var t;const n=Xt(e);return null!=(t=null==n?void 0:n.$el)?t:n}function li(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},o=Jl((()=>{const t=ei(Xt(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),l=function(e,t,n){return zo(e,t,{...n,immediate:!0})}((()=>{var t,n;return[null!=(n=null==(t=o.value)?void 0:t.map((e=>oi(e))))?n:[ni].filter((e=>null!=e)),ei(Xt(o.value?e[1]:e[0])),ei(Wt(o.value?e[2]:e[1])),Xt(o.value?e[3]:e[2])]}),(([e,o,l,r])=>{if(n(),null==e||!e.length||null==o||!o.length||null==l||!l.length)return;const s=(e=>"[object Object]"===$s.call(e))(r)?{...r}:r;t.push(...e.flatMap((e=>o.flatMap((t=>l.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,s))))))))}),{flush:"post"});return Us(n),()=>{l(),n()}}function ri(...e){let t,n,o={};3===e.length?(t=e[0],n=e[1],o=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:l=ni,eventName:r="keydown",passive:s=!1,dedupe:i=!1}=o,a=function(e){return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}(t);return li(l,r,(e=>{e.repeat&&Xt(i)||a(e)&&n(e)}),s)}function si(e,t={}){const{immediate:n=!0,fpsLimit:o,window:l=ni,once:r=!1}=t,s=Zt(!1),i=Jl((()=>o?1e3/Xt(o):null));let a=0,c=null;function u(t){if(!s.value||!l)return;a||(a=t);const n=t-a;if(!(i.value&&n<i.value))return a=t,e({delta:n,timestamp:t}),r?(s.value=!1,void(c=null)):void(c=l.requestAnimationFrame(u));c=l.requestAnimationFrame(u)}function d(){!s.value&&l&&(s.value=!0,a=0,c=l.requestAnimationFrame(u))}function p(){s.value=!1,null!=c&&l&&(l.cancelAnimationFrame(c),c=null)}return n&&d(),Us(p),{isActive:pt(s),pause:p,resume:d}}function ii(e,t,n,o={}){var l,r,s;const{clone:i=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=o,g=Kl(),m=n||(null==g?void 0:g.emit)||(null==(l=null==g?void 0:g.$emit)?void 0:l.bind(g))||(null==(s=null==(r=null==g?void 0:g.proxy)?void 0:r.$emit)?void 0:s.bind(null==g?void 0:g.proxy));let h=c;h=h||`update:${t.toString()}`;const f=e=>i?"function"==typeof i?i(e):function(e){return JSON.parse(JSON.stringify(e))}(e):e,b=()=>(e=>typeof e<"u")(e[t])?f(e[t]):d,y=e=>{p?p(e)&&m(h,e):m(h,e)};if(a){const n=Lt(b());let o=!1;return zo((()=>e[t]),(e=>{o||(o=!0,n.value=f(e),qt((()=>o=!1)))})),zo(n,(n=>{!o&&(n!==e[t]||u)&&y(n)}),{deep:u}),n}return Jl({get:()=>b(),set(e){y(e)}})}function ai(e,t){const n=Symbol("string"==typeof e?`${e}Context`:t);return[t=>{const o=vo(n,t);if(o||null===o)return o;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},e=>(Co(n,e),e)]}function ci(){const e=Kl(),t=Lt(),n=Jl((()=>{var e,n;return["#text","#comment"].includes(null==(e=t.value)?void 0:e.$el.nodeName)?null==(n=t.value)?void 0:n.$el.nextElementSibling:oi(t)})),o=Object.assign({},e.exposed),l={};for(const t in e.props)Object.defineProperty(l,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(o).length>0)for(const e in o)Object.defineProperty(l,e,{enumerable:!0,configurable:!0,get:()=>o[e]});return Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=l,{forwardRef:function(n){t.value=n,n&&(Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),e.exposed=l)},currentRef:t,currentElement:n}}function ui(e,t){const n=Lt(e);return{state:n,dispatch:e=>{n.value=function(e){return t[n.value][e]??n.value}(e)}}}function di(e){return e&&getComputedStyle(e).animationName||"none"}const pi=Zn({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:l,forceMount:r}=St(e),s=Lt(),{isPresent:i}=function(e,t){var n;const o=Lt({}),l=Lt("none"),r=Lt(e),s=e.value?"mounted":"unmounted";let i;const a=(null==(n=t.value)?void 0:n.ownerDocument.defaultView)??ni,{state:c,dispatch:u}=ui(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=e=>{var n;if(Ps){const o=new CustomEvent(e,{bubbles:!1,cancelable:!1});null==(n=t.value)||n.dispatchEvent(o)}};zo(e,(async(e,n)=>{var r;const s=n!==e;if(await qt(),s){const s=l.value,i=di(t.value);e?(u("MOUNT"),d("enter"),"none"===i&&d("after-enter")):"none"===i||"undefined"===i||"none"===(null==(r=o.value)?void 0:r.display)?(u("UNMOUNT"),d("leave"),d("after-leave")):n&&s!==i?(u("ANIMATION_OUT"),d("leave")):(u("UNMOUNT"),d("after-leave"))}}),{immediate:!0});const p=e=>{const n=di(t.value),o=n.includes(e.animationName),l="mounted"===c.value?"enter":"leave";if(e.target===t.value&&o&&(d(`after-${l}`),u("ANIMATION_END"),!r.value)){const e=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=null==a?void 0:a.setTimeout((()=>{var n;"forwards"===(null==(n=t.value)?void 0:n.style.animationFillMode)&&(t.value.style.animationFillMode=e)}))}e.target===t.value&&"none"===n&&u("ANIMATION_END")},g=e=>{e.target===t.value&&(l.value=di(t.value))},m=zo(t,((e,t)=>{e?(o.value=getComputedStyle(e),e.addEventListener("animationstart",g),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p)):(u("ANIMATION_END"),void 0!==i&&(null==a||a.clearTimeout(i)),null==t||t.removeEventListener("animationstart",g),null==t||t.removeEventListener("animationcancel",p),null==t||t.removeEventListener("animationend",p))}),{immediate:!0}),h=zo(c,(()=>{const e=di(t.value);l.value="mounted"===c.value?e:"none"}));return Tn((()=>{m(),h()})),{isPresent:Jl((()=>["mounted","unmountSuspended"].includes(c.value)))}}(l,s);n({present:i});let a=t.default({present:i.value});a=js(a||[]);const c=Kl();if(a&&(null==a?void 0:a.length)>1){const e=null!=(o=null==c?void 0:c.parent)&&o.type.name?`<${c.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${e}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map((e=>`  - ${e}`)).join("\n")].join("\n"))}return()=>r.value||l.value||i.value?El(t.default({present:i.value})[0],{ref:e=>{const t=oi(e);return typeof(null==t?void 0:t.hasAttribute)>"u"||(null!=t&&t.hasAttribute("data-reka-popper-content-wrapper")?s.value=t.firstElementChild:s.value=t),t}}):null}});const gi=dt({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});function mi(){let e=document.activeElement;if(null==e)return null;for(;null!=e&&null!=e.shadowRoot&&null!=e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function hi(e,{select:t=!1}={}){const n=mi();for(const o of e)if(bi(o,{select:t}),mi()!==n)return!0}function fi(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function bi(e,{select:t=!1}={}){if(e&&e.focus){const n=mi();e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}function yi(e,t){const n=function(e){const t=Kl(),n=Object.keys((null==t?void 0:t.type.props)??{}).reduce(((e,n)=>{const o=(null==t?void 0:t.type.props[n]).default;return void 0!==o&&(e[n]=o),e}),{}),o=Kt(e);return Jl((()=>{const e={},l=(null==t?void 0:t.vnode.props)??{};return Object.keys(l).forEach((t=>{e[x(t)]=l[t]})),Object.keys({...n,...e}).reduce(((e,t)=>(void 0!==o.value[t]&&(e[t]=o.value[t]),e)),{})}))}(e),o=t?function(e){const t=Kl(),n=null==t?void 0:t.type.emits,o={};return null!=n&&n.length||console.warn(`No emitted event found. Please check component: ${null==t?void 0:t.type.__name}`),null==n||n.forEach((t=>{o[Y(x(t))]=(...n)=>e(t,...n)})),o}(t):{};return Jl((()=>({...n.value,...o})))}function Ci(){const e=Lt(),t=Jl((()=>{var t,n;return["#text","#comment"].includes(null==(t=e.value)?void 0:t.$el.nodeName)?null==(n=e.value)?void 0:n.$el.nextElementSibling:oi(e)}));return{primitiveElement:e,currentElement:t}}const vi="data-reka-collection-item";function Ii(e={}){const{key:t="",isProvider:n=!1}=e,o=`${t}CollectionProvider`;let l;if(n){const e=Lt(new Map);l={collectionRef:Lt(),itemMap:e},Co(o,l)}else l=vo(o);const r=Zn({name:"CollectionSlot",setup(e,{slots:t}){const{primitiveElement:n,currentElement:o}=Ci();return zo(o,(()=>{l.collectionRef.value=o.value})),()=>El(zs,{ref:n},t)}}),s=Zn({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){const{primitiveElement:o,currentElement:r}=Ci();return jo((t=>{if(r.value){const n=Ct(r.value);l.itemMap.value.set(n,{ref:r.value,value:e.value}),t((()=>l.itemMap.value.delete(n)))}})),()=>El(zs,{...n,[vi]:"",ref:o},t)}});return{getItems:(e=!1)=>{const t=l.collectionRef.value;if(!t)return[];const n=Array.from(t.querySelectorAll(`[${vi}]`)),o=Array.from(l.itemMap.value.values()).sort(((e,t)=>n.indexOf(e.ref)-n.indexOf(t.ref)));return e?o:o.filter((e=>""!==e.ref.dataset.disabled))},reactiveItems:Jl((()=>Array.from(l.itemMap.value.values()))),itemMapSize:Jl((()=>l.itemMap.value.size)),CollectionSlot:r,CollectionItem:s}}const wi=Zn({__name:"ToastAnnounceExclude",props:{altText:{},asChild:{type:Boolean},as:{}},setup:e=>(e,t)=>(dl(),fl(Wt(Es),{as:e.as,"as-child":e.asChild,"data-reka-toast-announce-exclude":"","data-reka-toast-announce-alt":e.altText||void 0},{default:un((()=>[Qn(e.$slots,"default")])),_:3},8,["as","as-child","data-reka-toast-announce-alt"]))}),[Li,Zi]=ai("ToastProvider"),ki=Zn({inheritAttrs:!1,__name:"ToastProvider",props:{label:{default:"Notification"},duration:{default:5e3},swipeDirection:{default:"right"},swipeThreshold:{default:50}},setup(e){const t=e,{label:n,duration:o,swipeDirection:l,swipeThreshold:r}=St(t);Ii({isProvider:!0});const s=Lt(),i=Lt(0),a=Lt(!1),c=Lt(!1);if(t.label&&"string"==typeof t.label&&!t.label.trim()){throw new Error("Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.")}return Zi({label:n,duration:o,swipeDirection:l,swipeThreshold:r,toastCount:i,viewport:s,onViewportChange(e){s.value=e},onToastAdd(){i.value++},onToastRemove(){i.value--},isFocusedToastEscapeKeyDownRef:a,isClosePausedRef:c}),(e,t)=>Qn(e.$slots,"default")}}),Ai=Zn({__name:"ToastAnnounce",setup(e){const t=Li(),n=ti(1e3),o=Lt(!1);return si((()=>{o.value=!0})),(e,l)=>Wt(n)||o.value?(dl(),fl(Wt(Qs),{key:0},{default:un((()=>[kl(U(Wt(t).label.value)+" ",1),Qn(e.$slots,"default")])),_:3})):Al("",!0)}}),Wi="toast.viewportPause",Xi="toast.viewportResume";function xi(e,t,n){const o=n.originalEvent.currentTarget,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(l)}function Gi(e,t,n=0){const o=Math.abs(e.x),l=Math.abs(e.y),r=o>l;return"left"===t||"right"===t?r&&o>n:!r&&l>n}function Ri(e){const t=[];return Array.from(e.childNodes).forEach((e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),function(e){return e.nodeType===e.ELEMENT_NODE}(e)){const n=e.ariaHidden||e.hidden||"none"===e.style.display,o=""===e.dataset.rekaToastAnnounceExclude;if(!n)if(o){const n=e.dataset.rekaToastAnnounceAlt;n&&t.push(n)}else t.push(...Ri(e))}})),t}const[Si,Yi]=ai("ToastRoot"),Ni=Zn({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{},open:{type:Boolean,default:!1},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:l,currentElement:r}=ci(),{CollectionItem:s}=Ii(),i=Li(),a=Lt(null),c=Lt(null),u=Jl((()=>"number"==typeof n.duration?n.duration:i.duration.value)),d=Lt(0),p=Lt(u.value),g=Lt(0),m=Lt(u.value),h=si((()=>{const e=(new Date).getTime()-d.value;m.value=Math.max(p.value-e,0)}),{fpsLimit:60});function f(e){e<=0||e===Number.POSITIVE_INFINITY||Ps&&(window.clearTimeout(g.value),d.value=(new Date).getTime(),g.value=window.setTimeout(b,e))}function b(e){var t,n;const l=""===(null==e?void 0:e.pointerType);(null==(t=r.value)?void 0:t.contains(mi()))&&l&&(null==(n=i.viewport.value)||n.focus()),l&&(i.isClosePausedRef.value=!1),o("close")}const y=Jl((()=>r.value?Ri(r.value):null));if(n.type&&!["foreground","background"].includes(n.type)){throw new Error("Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.")}return jo((e=>{const t=i.viewport.value;if(t){const e=()=>{f(p.value),h.resume(),o("resume")},n=()=>{const e=(new Date).getTime()-d.value;p.value=p.value-e,window.clearTimeout(g.value),h.pause(),o("pause")};return t.addEventListener(Wi,n),t.addEventListener(Xi,e),()=>{t.removeEventListener(Wi,n),t.removeEventListener(Xi,e)}}})),zo((()=>[n.open,u.value]),(()=>{p.value=u.value,n.open&&!i.isClosePausedRef.value&&f(u.value)}),{immediate:!0}),ri("Escape",(e=>{o("escapeKeyDown",e),e.defaultPrevented||(i.isFocusedToastEscapeKeyDownRef.value=!0,b())})),Hn((()=>{i.onToastAdd()})),Tn((()=>{i.onToastRemove()})),Yi({onClose:b}),(e,t)=>(dl(),hl(rl,null,[y.value?(dl(),fl(Ai,{key:0,role:"alert","aria-live":"foreground"===e.type?"assertive":"polite","aria-atomic":"true"},{default:un((()=>[kl(U(y.value),1)])),_:1},8,["aria-live"])):Al("",!0),Wt(i).viewport.value?(dl(),fl(vn,{key:1,to:Wt(i).viewport.value},[wl(Wt(s),null,{default:un((()=>[wl(Wt(Es),Gl({ref:Wt(l),role:"alert","aria-live":"off","aria-atomic":"true",tabindex:"0"},e.$attrs,{as:e.as,"as-child":e.asChild,"data-state":e.open?"open":"closed","data-swipe-direction":Wt(i).swipeDirection.value,style:{userSelect:"none",touchAction:"none"},onPointerdown:t[0]||(t[0]=xr((e=>{a.value={x:e.clientX,y:e.clientY}}),["left"])),onPointermove:t[1]||(t[1]=e=>{if(!a.value)return;const t=e.clientX-a.value.x,n=e.clientY-a.value.y,l=!!c.value,r=["left","right"].includes(Wt(i).swipeDirection.value),s=["left","up"].includes(Wt(i).swipeDirection.value)?Math.min:Math.max,u=r?s(0,t):0,d=r?0:s(0,n),p="touch"===e.pointerType?10:2,g={x:u,y:d},m={originalEvent:e,delta:g};l?(c.value=g,Wt(xi)(Wt("toast.swipeMove"),(e=>o("swipeMove",e)),m)):Wt(Gi)(g,Wt(i).swipeDirection.value,p)?(c.value=g,Wt(xi)(Wt("toast.swipeStart"),(e=>o("swipeStart",e)),m),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>p||Math.abs(n)>p)&&(a.value=null)}),onPointerup:t[2]||(t[2]=e=>{const t=c.value,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),c.value=null,a.value=null,t){const n=e.currentTarget,l={originalEvent:e,delta:t};Wt(Gi)(t,Wt(i).swipeDirection.value,Wt(i).swipeThreshold.value)?Wt(xi)(Wt("toast.swipeEnd"),(e=>o("swipeEnd",e)),l):Wt(xi)(Wt("toast.swipeCancel"),(e=>o("swipeCancel",e)),l),null==n||n.addEventListener("click",(e=>e.preventDefault()),{once:!0})}})}),{default:un((()=>[Qn(e.$slots,"default",{remaining:m.value,duration:u.value})])),_:3},16,["as","as-child","data-state","data-swipe-direction"])])),_:3})],8,["to"])):Al("",!0)],64))}}),Ki=Zn({__name:"ToastClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Si(),{forwardRef:o}=ci();return(e,l)=>(dl(),fl(wi,{"as-child":""},{default:un((()=>[wl(Wt(Es),Gl(t,{ref:Wt(o),type:"button"===e.as?"button":void 0,onClick:Wt(n).onClose}),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16,["type","onClick"])])),_:3}))}}),Hi=Zn({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return ci(),(e,n)=>(dl(),fl(Wt(Es),z(Ll(t)),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16))}}),Bi=Zn({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,default:!0},forceMount:{type:Boolean},type:{default:"foreground"},open:{type:Boolean,default:void 0},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:l}=ci(),r=ii(n,"open",o,{defaultValue:n.defaultOpen,passive:void 0===n.open});return(e,t)=>(dl(),fl(Wt(pi),{present:e.forceMount||Wt(r)},{default:un((()=>[wl(Ni,Gl({ref:Wt(l),open:Wt(r),type:e.type,as:e.as,"as-child":e.asChild,duration:e.duration},e.$attrs,{onClose:t[0]||(t[0]=e=>r.value=!1),onPause:t[1]||(t[1]=e=>o("pause")),onResume:t[2]||(t[2]=e=>o("resume")),onEscapeKeyDown:t[3]||(t[3]=e=>o("escapeKeyDown",e)),onSwipeStart:t[4]||(t[4]=e=>{o("swipeStart",e),e.defaultPrevented||e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:t[5]||(t[5]=e=>{if(o("swipeMove",e),!e.defaultPrevented){const{x:t,y:n}=e.detail.delta,o=e.currentTarget;o.setAttribute("data-swipe","move"),o.style.setProperty("--reka-toast-swipe-move-x",`${t}px`),o.style.setProperty("--reka-toast-swipe-move-y",`${n}px`)}}),onSwipeCancel:t[6]||(t[6]=e=>{if(o("swipeCancel",e),!e.defaultPrevented){const t=e.currentTarget;t.setAttribute("data-swipe","cancel"),t.style.removeProperty("--reka-toast-swipe-move-x"),t.style.removeProperty("--reka-toast-swipe-move-y"),t.style.removeProperty("--reka-toast-swipe-end-x"),t.style.removeProperty("--reka-toast-swipe-end-y")}}),onSwipeEnd:t[7]||(t[7]=e=>{if(o("swipeEnd",e),!e.defaultPrevented){const{x:t,y:n}=e.detail.delta,o=e.currentTarget;o.setAttribute("data-swipe","end"),o.style.removeProperty("--reka-toast-swipe-move-x"),o.style.removeProperty("--reka-toast-swipe-move-y"),o.style.setProperty("--reka-toast-swipe-end-x",`${t}px`),o.style.setProperty("--reka-toast-swipe-end-y",`${n}px`),r.value=!1}})}),{default:un((({remaining:t,duration:n})=>[Qn(e.$slots,"default",{remaining:t,duration:n,open:Wt(r)})])),_:3},16,["open","type","as","as-child","duration"])])),_:3},8,["present"]))}}),Oi=Zn({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return ci(),(e,n)=>(dl(),fl(Wt(Es),z(Ll(t)),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16))}}),Mi=Zn({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=ci();return Hn((()=>{gi.branches.add(o.value)})),Tn((()=>{gi.branches.delete(o.value)})),(e,o)=>(dl(),fl(Wt(Es),Gl({ref:Wt(n)},t),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16))}}),Ti=Zn({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(e,{emit:t}){const n=t,o=Li();return(e,t)=>(dl(),fl(Wt(Qs),{"aria-hidden":"true",tabindex:"0",style:{position:"fixed"},onFocus:t[0]||(t[0]=e=>{var t;const l=e.relatedTarget;(null==(t=Wt(o).viewport.value)||!t.contains(l))&&n("focusFromOutsideViewport")})},{default:un((()=>[Qn(e.$slots,"default")])),_:3}))}}),_i=Zn({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{default:()=>["F8"]},label:{type:[String,Function],default:"Notifications ({hotkey})"},asChild:{type:Boolean},as:{default:"ol"}},setup(e){const t=e,{hotkey:n,label:o}=St(t),{forwardRef:l,currentElement:r}=ci(),{CollectionSlot:s,getItems:i}=Ii(),a=Li(),c=Jl((()=>a.toastCount.value>0)),u=Lt(),d=Lt(),p=Jl((()=>n.value.join("+").replace(/Key/g,"").replace(/Digit/g,"")));function g({tabbingDirection:e}){const t=i().map((e=>e.ref)).map((t=>{const n=[t,...fi(t)];return"forwards"===e?n:n.reverse()}));return("forwards"===e?t.reverse():t).flat()}return ri(n.value,(()=>{r.value.focus()})),Hn((()=>{a.onViewportChange(r.value)})),jo((e=>{const t=r.value;if(c.value&&t){const n=()=>{if(!a.isClosePausedRef.value){const e=new CustomEvent(Wi);t.dispatchEvent(e),a.isClosePausedRef.value=!0}},o=()=>{if(a.isClosePausedRef.value){const e=new CustomEvent(Xi);t.dispatchEvent(e),a.isClosePausedRef.value=!1}},l=e=>{!t.contains(e.relatedTarget)&&o()},r=()=>{t.contains(mi())||o()},s=e=>{var n,o,l;const r=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!r){const r=mi(),s=e.shiftKey;if(e.target===t&&s)return void(null==(n=u.value)||n.focus());const i=g({tabbingDirection:s?"backwards":"forwards"}),a=i.findIndex((e=>e===r));hi(i.slice(a+1))?e.preventDefault():s?null==(o=u.value)||o.focus():null==(l=d.value)||l.focus()}};t.addEventListener("focusin",n),t.addEventListener("focusout",l),t.addEventListener("pointermove",n),t.addEventListener("pointerleave",r),t.addEventListener("keydown",s),window.addEventListener("blur",n),window.addEventListener("focus",o),e((()=>{t.removeEventListener("focusin",n),t.removeEventListener("focusout",l),t.removeEventListener("pointermove",n),t.removeEventListener("pointerleave",r),t.removeEventListener("keydown",s),window.removeEventListener("blur",n),window.removeEventListener("focus",o)}))}})),(e,t)=>(dl(),fl(Wt(Mi),{role:"region","aria-label":"string"==typeof Wt(o)?Wt(o).replace("{hotkey}",p.value):Wt(o)(p.value),tabindex:"-1",style:T({pointerEvents:c.value?void 0:"none"})},{default:un((()=>[c.value?(dl(),fl(Ti,{key:0,ref:e=>{u.value=Wt(oi)(e)},onFocusFromOutsideViewport:t[0]||(t[0]=()=>{const e=g({tabbingDirection:"forwards"});Wt(hi)(e)})},null,512)):Al("",!0),wl(Wt(s),null,{default:un((()=>[wl(Wt(Es),Gl({ref:Wt(l),tabindex:"-1",as:e.as,"as-child":e.asChild},e.$attrs),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16,["as","as-child"])])),_:3}),c.value?(dl(),fl(Ti,{key:1,ref:e=>{d.value=Wt(oi)(e)},onFocusFromOutsideViewport:t[1]||(t[1]=()=>{const e=g({tabbingDirection:"backwards"});Wt(hi)(e)})},null,512)):Al("",!0)])),_:3},8,["aria-label","style"]))}}),Di=Zn({__name:"Toast",props:{class:{},variant:{},onOpenChange:{type:Function},defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,o=t,l=yi(Jl((()=>{const{class:e,...t}=n;return t})),o);return(e,t)=>(dl(),fl(Wt(Bi),Gl({class:Wt(Vs)(Wt(fa)({variant:e.variant}),n.class)},Wt(l),{"onUpdate:open":e.onOpenChange}),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16,["class","onUpdate:open"]))}}),Fi=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Vi=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,n)=>n?n.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},ji=(...e)=>e.filter(((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim()
/**
 * @license lucide-vue-next v0.484.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */;
/**
 * @license lucide-vue-next v0.484.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var zi={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};
/**
 * @license lucide-vue-next v0.484.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ji=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:o,iconNode:l,name:r,class:s,...i},{slots:a})=>El("svg",{...zi,width:e||zi.width,height:e||zi.height,stroke:o||zi.stroke,"stroke-width":n?24*Number(t)/Number(e):t,class:ji("lucide",...r?[`lucide-${Fi(Vi(r))}-icon`,`lucide-${Fi(r)}`]:["lucide-icon"]),...i},[...l.map((e=>El(...e))),...a.default?[a.default()]:[]])
/**
 * @license lucide-vue-next v0.484.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */,Ei=(la="x",ra=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],(e,{slots:t})=>El(Ji,{...e,iconNode:ra,name:la},t)
/**
 * @license lucide-vue-next v0.484.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */),Qi=Zn({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=Jl((()=>{const{class:e,...n}=t;return n}));return(e,o)=>(dl(),fl(Wt(Ki),Gl(n.value,{class:Wt(Vs)("absolute right-1 top-1 rounded-md p-1 text-neutral-950/50 opacity-0 transition-opacity hover:text-neutral-950 focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 dark:text-neutral-50/50 dark:hover:text-neutral-50",t.class)}),{default:un((()=>[wl(Wt(Ei),{class:"h-4 w-4"})])),_:1},16,["class"]))}}),Ui=Zn({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=Jl((()=>{const{class:e,...n}=t;return n}));return(e,o)=>(dl(),fl(Wt(Hi),Gl({class:Wt(Vs)("text-sm opacity-90",t.class)},n.value),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16,["class"]))}}),Pi=Zn({__name:"ToastProvider",props:{label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(e){const t=e;return(e,n)=>(dl(),fl(Wt(ki),z(Ll(t)),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16))}}),$i=Zn({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=Jl((()=>{const{class:e,...n}=t;return n}));return(e,o)=>(dl(),fl(Wt(Oi),Gl(n.value,{class:Wt(Vs)("text-sm font-semibold [&+div]:text-xs",t.class)}),{default:un((()=>[Qn(e.$slots,"default")])),_:3},16,["class"]))}}),qi=Zn({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=Jl((()=>{const{class:e,...n}=t;return n}));return(e,o)=>(dl(),fl(Wt(_i),Gl({class:Wt(Vs)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-auto sm:right-0 sm:top-0 sm:flex-col md:max-w-[420px]",t.class)},n.value),null,16,["class"]))}}),ea="ADD_TOAST",ta="UPDATE_TOAST",na="DISMISS_TOAST",oa="REMOVE_TOAST";var la,ra;let sa=0;const ia=new Map;function aa(e){if(ia.has(e))return;const t=setTimeout((()=>{ia.delete(e),ua({type:oa,toastId:e})}),1e6);ia.set(e,t)}const ca=Lt({toasts:[]});function ua(e){switch(e.type){case ea:ca.value.toasts=[e.toast,...ca.value.toasts].slice(0,3);break;case ta:ca.value.toasts=ca.value.toasts.map((t=>t.id===e.toast.id?{...t,...e.toast}:t));break;case na:{const{toastId:t}=e;t?aa(t):ca.value.toasts.forEach((e=>{aa(e.id)})),ca.value.toasts=ca.value.toasts.map((e=>e.id===t||void 0===t?{...e,open:!1}:e));break}case oa:void 0===e.toastId?ca.value.toasts=[]:ca.value.toasts=ca.value.toasts.filter((t=>t.id!==e.toastId))}}function da(){return{toasts:Jl((()=>ca.value.toasts)),toast:pa,dismiss:e=>ua({type:na,toastId:e})}}function pa(e){const t=(sa=(sa+1)%Number.MAX_VALUE,sa.toString()),n=()=>ua({type:na,toastId:t});return ua({type:ea,toast:{...e,id:t,open:!0,onOpenChange:e=>{e||n()}}}),{id:t,dismiss:n,update:e=>ua({type:ta,toast:{...e,id:t}})}}const ga=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ma=Hr,ha=(e,t)=>n=>{var o;if(null==(null==t?void 0:t.variants))return ma(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:l,defaultVariants:r}=t,s=Object.keys(l).map((e=>{const t=null==n?void 0:n[e],o=null==r?void 0:r[e];if(null===t)return null;const s=ga(t)||ga(o);return l[e][s]})),i=n&&Object.entries(n).reduce(((e,t)=>{let[n,o]=t;return void 0===o||(e[n]=o),e}),{}),a=null==t||null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce(((e,t)=>{let{class:n,className:o,...l}=t;return Object.entries(l).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...r,...i}[t]):{...r,...i}[t]===n}))?[...e,n,o]:e}),[]);return ma(e,s,a,null==n?void 0:n.class,null==n?void 0:n.className)},fa=ha("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border border-neutral-200 p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--reka-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--reka-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full dark:border-neutral-800",{variants:{variant:{default:"border bg-white text-neutral-950 dark:bg-neutral-950 dark:text-neutral-50",destructive:"destructive group border-red-500 bg-red-500 text-neutral-50 dark:border-red-900 dark:bg-red-900 dark:text-neutral-50"}},defaultVariants:{variant:"default"}}),ba={class:"grid gap-1"},ya=Zn({__name:"Toaster",setup(e){const{toasts:t}=da();return(e,n)=>(dl(),fl(Wt(Pi),null,{default:un((()=>[(dl(!0),hl(rl,null,En(Wt(t),(e=>(dl(),fl(Wt(Di),Gl({key:e.id,class:"mb-2",ref_for:!0},e),{default:un((()=>[Il("div",ba,[e.title?(dl(),fl(Wt($i),{key:0},{default:un((()=>[kl(U(e.title),1)])),_:2},1024)):Al("",!0),e.description?(dl(),hl(rl,{key:1},[bl(e.description)?(dl(),fl(Wt(Ui),{key:0},{default:un((()=>[(dl(),fl(zn(e.description)))])),_:2},1024)):(dl(),fl(Wt(Ui),{key:1},{default:un((()=>[kl(U(e.description),1)])),_:2},1024))],64)):Al("",!0),wl(Wt(Qi))]),(dl(),fl(zn(e.action)))])),_:2},1040)))),128)),wl(Wt(qi))])),_:1}))}}),Ca={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const va=Ct({name:"flowbite-expand-outline",render:function(e,t){return dl(),hl("svg",Ca,t[0]||(t[0]=[Il("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 4H4m0 0v4m0-4l5 5m7-5h4m0 0v4m0-4l-5 5M8 20H4m0 0v-4m0 4l5-5m7 5h4m0 0v-4m0 4l-5-5"},null,-1)]))}}),Ia={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const wa=Ct({name:"proicons-question",render:function(e,t){return dl(),hl("svg",Ia,t[0]||(t[0]=[Il("g",{fill:"none"},[Il("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M7.817 8.808a4.183 4.183 0 1 1 7.518 2.526l-.133.145c-.065.07-.29.286-.363.347a4 4 0 0 1-.353.266l-1.517 1.045a2.81 2.81 0 0 0-1.215 2.315"}),Il("circle",{cx:"11.754",cy:"19.141",r:".984",fill:"currentColor"})],-1)]))}}),La={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const Za=Ct({name:"material-symbols-close-rounded",render:function(e,t){return dl(),hl("svg",La,t[0]||(t[0]=[Il("path",{fill:"currentColor",d:"m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z"},null,-1)]))}}),ka={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const Aa=Ct({name:"lucide-shrink",render:function(e,t){return dl(),hl("svg",ka,t[0]||(t[0]=[Il("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m15 15l6 6m-6-6v4.8m0-4.8h4.8M9 19.8V15m0 0H4.2M9 15l-6 6M15 4.2V9m0 0h4.8M15 9l6-6M9 4.2V9m0 0H4.2M9 9L3 3"},null,-1)]))}});function Wa(e){return!!oe()&&(le(e),!0)}function Xa(e){let t,n=!1;const o=ne(!0);return(...l)=>(n||(t=o.run((()=>e(...l))),n=!0),t)}function xa(e){return"function"==typeof e?e():Wt(e)}const Ga=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope);const Ra=Object.prototype.toString,Sa=()=>{};const Ya=e=>e();function Na(...e){if(1!==e.length)return Kt(...e);const t=e[0];return"function"==typeof t?pt(function(e){return new Rt(e)}((()=>({get:t,set:Sa})))):Lt(t)}function Ka(e,t,n={}){const{eventFilter:o=Ya,...l}=n;return zo(e,function(e,t){return function(...n){return new Promise(((o,l)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(l)}))}}(o,t),l)}function Ha(e,t,n={}){const{eventFilter:o,...l}=n,{eventFilter:r,pause:s,resume:i,isActive:a}=function(e=Ya){const t=Lt(!0);return{isActive:pt(t),pause:function(){t.value=!1},resume:function(){t.value=!0},eventFilter:(...n)=>{t.value&&e(...n)}}}(o);return{stop:Ka(e,t,{...l,eventFilter:r}),pause:s,resume:i,isActive:a}}function Ba(e,t=!0,n){Kl()?Hn(e,n):t?e():qt(e)}function Oa(e){var t;const n=xa(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Ma=Ga?window:void 0;function Ta(...e){let t,n,o,l;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,l]=e,t=Ma):[t,n,o,l]=e,!t)return Sa;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],s=()=>{r.forEach((e=>e())),r.length=0},i=zo((()=>[Oa(t),xa(l)]),(([e,t])=>{if(s(),!e)return;const l=(e=>"[object Object]"===Ra.call(e))(t)?{...t}:t;r.push(...n.flatMap((t=>o.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,l))))))}),{immediate:!0,flush:"post"}),a=()=>{i(),s()};return Wa(a),a}function _a(e){const t=function(){const e=Lt(!1),t=Kl();return t&&Hn((()=>{e.value=!0}),t),e}();return Jl((()=>(t.value,!!e())))}const Da=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fa="__vueuse_ssr_handlers__",Va=(Fa in Da||(Da[Fa]=Da[Fa]||{}),Da[Fa]);function ja(e,t){return Va[e]||t}const za={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ja="vueuse-storage";function Ea(e,t,n,o={}){var l;const{flush:r="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=Ma,eventFilter:p,onError:g=e=>{console.error(e)},initOnMounted:m}=o,h=(u?Zt:Lt)("function"==typeof t?t():t);if(!n)try{n=ja("getDefaultStorage",(()=>{var e;return null==(e=Ma)?void 0:e.localStorage}))()}catch(e){g(e)}if(!n)return h;const f=xa(t),b=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(f),y=null!=(l=o.serializer)?l:za[b],{pause:C,resume:v}=Ha(h,(()=>function(t){try{const o=n.getItem(e);if(null==t)I(o,null),n.removeItem(e);else{const l=y.write(t);o!==l&&(n.setItem(e,l),I(o,l))}}catch(e){g(e)}}(h.value)),{flush:r,deep:s,eventFilter:p});function I(t,o){d&&d.dispatchEvent(new CustomEvent(Ja,{detail:{key:e,oldValue:t,newValue:o,storageArea:n}}))}function w(t){if(!t||t.storageArea===n){if(t&&null==t.key)return void(h.value=f);if(!t||t.key===e){C();try{(null==t?void 0:t.newValue)!==y.write(h.value)&&(h.value=function(t){const o=t?t.newValue:n.getItem(e);if(null==o)return a&&null!=f&&n.setItem(e,y.write(f)),f;if(!t&&c){const e=y.read(o);return"function"==typeof c?c(e,f):"object"!==b||Array.isArray(e)?e:{...f,...e}}return"string"!=typeof o?o:y.read(o)}(t))}catch(e){g(e)}finally{t?qt(v):v()}}}}function L(e){w(e.detail)}return d&&i&&Ba((()=>{Ta(d,"storage",w),Ta(d,Ja,L),m&&w()})),m||w(),h}function Qa(e){return function(e,t={}){const{window:n=Ma}=t,o=_a((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia));let l;const r=Lt(!1),s=e=>{r.value=e.matches},i=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",s):l.removeListener(s))},a=jo((()=>{o.value&&(i(),l=n.matchMedia(xa(e)),"addEventListener"in l?l.addEventListener("change",s):l.addListener(s),r.value=l.matches)}));return Wa((()=>{a(),i(),l=void 0})),r}("(prefers-color-scheme: dark)",e)}function Ua(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Ma}=e,l=function(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:l=Ma,storage:r,storageKey:s="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:a,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},p=Qa({window:l}),g=Jl((()=>p.value?"dark":"light")),m=a||(null==s?Na(o):Ea(s,o,r,{window:l,listenToStorageChanges:i})),h=Jl((()=>"auto"===m.value?g.value:m.value)),f=ja("updateHTMLAttrs",((e,t,n)=>{const o="string"==typeof e?null==l?void 0:l.document.querySelector(e):Oa(e);if(!o)return;let r;if(u&&(r=l.document.createElement("style"),r.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),l.document.head.appendChild(r)),"class"===t){const e=n.split(/\s/g);Object.values(d).flatMap((e=>(e||"").split(/\s/g))).filter(Boolean).forEach((t=>{e.includes(t)?o.classList.add(t):o.classList.remove(t)}))}else o.setAttribute(t,n);u&&(l.getComputedStyle(r).opacity,document.head.removeChild(r))}));function b(e){var o;f(t,n,null!=(o=d[e])?o:e)}function y(t){e.onChanged?e.onChanged(t,b):b(t)}zo(h,y,{flush:"post",immediate:!0}),Ba((()=>y(h.value)));const C=Jl({get:()=>c?m.value:h.value,set(e){m.value=e}});try{return Object.assign(C,{store:m,system:g,state:h})}catch{return C}}({...e,onChanged:(t,n)=>{var o;e.onChanged?null==(o=e.onChanged)||o.call(e,"dark"===t,n,t):n(t)},modes:{dark:t,light:n}}),r=Jl((()=>l.system?l.system.value:Qa({window:o}).value?"dark":"light"));return Jl({get:()=>"dark"===l.value,set(e){const t=e?"dark":"light";r.value===t?l.value="auto":l.value=t}})}function Pa(e,t,n,o={}){var l,r,s;const{clone:i=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=o,g=Kl(),m=n||(null==g?void 0:g.emit)||(null==(l=null==g?void 0:g.$emit)?void 0:l.bind(g))||(null==(s=null==(r=null==g?void 0:g.proxy)?void 0:r.$emit)?void 0:s.bind(null==g?void 0:g.proxy));let h=c;h=h||`update:${t.toString()}`;const f=e=>i?"function"==typeof i?i(e):function(e){return JSON.parse(JSON.stringify(e))}(e):e,b=()=>(e=>typeof e<"u")(e[t])?f(e[t]):d,y=e=>{p?p(e)&&m(h,e):m(h,e)};if(a){const n=Lt(b());let o=!1;return zo((()=>e[t]),(e=>{o||(o=!0,n.value=f(e),qt((()=>o=!1)))})),zo(n,(n=>{!o&&(n!==e[t]||u)&&y(n)}),{deep:u}),n}return Jl({get:()=>b(),set(e){y(e)}})}const $a=Zn({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=Pa(n,"modelValue",t,{passive:!0,defaultValue:n.defaultValue});return(e,t)=>function(e,t){if(null===sn)return e;const n=jl(sn),o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,s,i,a=l]=t[e];r&&(b(r)&&(r={mounted:r,updated:r}),r.deep&&Dt(s),o.push({dir:r,instance:n,value:s,oldValue:void 0,arg:i,modifiers:a}))}return e}((dl(),hl("textarea",{"onUpdate:modelValue":t[0]||(t[0]=e=>wt(o)?o.value=e:null),class:j(Wt(Vs)("flex w-full bg-transparent p-1 text-sm outline-none duration-200 placeholder:text-sm placeholder:text-neutral-500 disabled:cursor-not-allowed disabled:opacity-50 dark:placeholder:text-neutral-400 ",n.class))},null,2)),[[Ar,Wt(o)]])}}),qa=Zn({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(e,n)=>(dl(),fl(Wt(Es),{class:j(Wt(Vs)(Wt(ec)({variant:e.variant,size:e.size}),t.class)),as:e.as,"as-child":e.asChild},{default:un((()=>[Qn(e.$slots,"default")])),_:3},8,["class","as","as-child"]))}}),ec=ha("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-neutral-950 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 dark:focus-visible:ring-neutral-300",{variants:{variant:{default:"bg-primary text-neutral-50 shadow hover:bg-primary/90 dark:bg-neutral-50 dark:text-primary dark:hover:bg-neutral-50/90",destructive:"bg-red-500 text-neutral-50 shadow-sm hover:bg-red-500/90 dark:bg-red-900 dark:text-neutral-50 dark:hover:bg-red-900/90",outline:"border border-neutral-200 bg-white shadow-sm hover:bg-neutral-100 hover:text-neutral-900 dark:border-neutral-800 dark:bg-neutral-950 dark:hover:bg-neutral-800 dark:hover:text-neutral-50",secondary:"bg-neutral-100 text-neutral-900 shadow-sm hover:bg-neutral-100/80 dark:bg-neutral-800 dark:text-neutral-50 dark:hover:bg-neutral-800/80",ghost:"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-800 dark:hover:text-neutral-50",link:"text-neutral-900 underline-offset-4 hover:underline dark:text-neutral-50"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),tc={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const nc=Ct({name:"fluent-send-24-regular",render:function(e,t){return dl(),hl("svg",tc,t[0]||(t[0]=[Il("path",{fill:"currentColor",d:"M5.694 12L2.299 3.272a.75.75 0 0 1 .942-.982l.093.039l18 9a.75.75 0 0 1 .097 1.284l-.097.058l-18 9c-.583.291-1.217-.245-1.065-.848l.03-.095zL2.299 3.272zM4.402 4.54l2.61 6.71h6.627a.75.75 0 0 1 .743.648l.007.102a.75.75 0 0 1-.649.743l-.101.007H7.01l-2.609 6.71L19.322 12z"},null,-1)]))}}),oc={class:"thinking-chip-wrapper"},lc=(e=>{const t=e.__vccOpts||e;for(const[e,n]of[["__scopeId","data-v-43b00e6b"]])t[e]=n;return t})(Zn({__name:"Thinking",setup:e=>(e,t)=>(dl(),hl("div",oc,t[0]||(t[0]=[Il("span",{class:"thinking-chip"},[Il("span",{class:"chip-text"},"Thinking")],-1)])))})),rc=Xa((()=>{const e=Lt(!0);return{isMaximized:Lt(!1),show:e,appConfig:Lt({label:"",description:"",hostname:"",mode:""})}})),sc=Xa((()=>{const{appConfig:e}=rc(),{toast:t}=da(),n=Lt([]),o=Lt(""),l=Lt(!1),r=Lt(null);return{messages:n,userInput:o,sendMessage:async s=>{if(""===s.trim())return o.value="",void t({title:"Please enter a message"});n.value.push({role:"user",content:s}),n.value.push({role:"assistant",content:"Thinking..."}),l.value=!0;try{const t={chatInput:s};r.value&&(t.sessionId=r.value);const l=await fetch(e.value.hostname,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)throw new Error(await l.text());const i=await l.json(),a="string"==typeof i?i:i.output;i.sessionId&&(r.value=i.sessionId),n.value[n.value.length-1]={role:"assistant",content:a},o.value=""}catch(e){n.value[n.value.length-1]={role:"assistant",content:"Fehler: "+e.message},t({title:"Fehler bei der Anfrage",variant:"destructive"})}finally{l.value=!1}},isLoading:l,clearChat:()=>{n.value=[],o.value="",l.value=!1,r.value=null}}}));function ic(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let ac={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function cc(e){ac=e}const uc={exec:()=>null};function dc(e,t=""){let n="string"==typeof e?e:e.source;const o={replace:(e,t)=>{let l="string"==typeof t?t:t.source;return l=l.replace(pc.caret,"$1"),n=n.replace(e,l),o},getRegex:()=>new RegExp(n,t)};return o}const pc={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+));?/gi,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})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\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")},gc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,mc=/(?:[*+-]|\d{1,9}[.)])/,hc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,fc=dc(hc).replace(/bull/g,mc).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(),bc=dc(hc).replace(/bull/g,mc).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(),yc=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Cc=/(?!\s*\])(?:\\.|[^\[\]\\])+/,vc=dc(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Cc).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ic=dc(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,mc).getRegex(),wc="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",Lc=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Zc=dc("^ {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[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",Lc).replace("tag",wc).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),kc=dc(yc).replace("hr",gc).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",wc).getRegex(),Ac={blockquote:dc(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",kc).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:vc,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:gc,html:Zc,lheading:fc,list:Ic,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:kc,table:uc,text:/^[^\n]+/},Wc=dc("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",gc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\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",wc).getRegex(),Xc={...Ac,lheading:bc,table:Wc,paragraph:dc(yc).replace("hr",gc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Wc).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",wc).getRegex()},xc={...Ac,html:dc("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Lc).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:uc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:dc(yc).replace("hr",gc).replace("heading"," *#{1,6} *[^\n]").replace("lheading",fc).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Gc=/^( {2,}|\\)\n(?!\s*$)/,Rc=/[\p{P}\p{S}]/u,Sc=/[\s\p{P}\p{S}]/u,Yc=/[^\s\p{P}\p{S}]/u,Nc=dc(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Sc).getRegex(),Kc=/(?!~)[\p{P}\p{S}]/u,Hc=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Bc=dc(Hc,"u").replace(/punct/g,Rc).getRegex(),Oc=dc(Hc,"u").replace(/punct/g,Kc).getRegex(),Mc="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Tc=dc(Mc,"gu").replace(/notPunctSpace/g,Yc).replace(/punctSpace/g,Sc).replace(/punct/g,Rc).getRegex(),_c=dc(Mc,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,Kc).getRegex(),Dc=dc("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Yc).replace(/punctSpace/g,Sc).replace(/punct/g,Rc).getRegex(),Fc=dc(/\\(punct)/,"gu").replace(/punct/g,Rc).getRegex(),Vc=dc(/^<(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(),jc=dc(Lc).replace("(?:--\x3e|$)","--\x3e").getRegex(),zc=dc("^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",jc).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Jc=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ec=dc(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Jc).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Qc=dc(/^!?\[(label)\]\[(ref)\]/).replace("label",Jc).replace("ref",Cc).getRegex(),Uc=dc(/^!?\[(ref)\](?:\[\])?/).replace("ref",Cc).getRegex(),Pc={_backpedal:uc,anyPunctuation:Fc,autolink:Vc,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:Gc,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:uc,emStrongLDelim:Bc,emStrongRDelimAst:Tc,emStrongRDelimUnd:Dc,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:Ec,nolink:Uc,punctuation:Nc,reflink:Qc,reflinkSearch:dc("reflink|nolink(?!\\()","g").replace("reflink",Qc).replace("nolink",Uc).getRegex(),tag:zc,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:uc},$c={...Pc,link:dc(/^!?\[(label)\]\((.*?)\)/).replace("label",Jc).getRegex(),reflink:dc(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Jc).getRegex()},qc={...Pc,emStrongRDelimAst:_c,emStrongLDelim:Oc,url:dc(/^((?: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~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},eu={...qc,br:dc(Gc).replace("{2,}","*").getRegex(),text:dc(qc.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},tu={normal:Ac,gfm:Xc,pedantic:xc},nu={normal:Pc,gfm:qc,breaks:eu,pedantic:$c},ou={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},lu=e=>ou[e];function ru(e,t){if(t){if(pc.escapeTest.test(e))return e.replace(pc.escapeReplace,lu)}else if(pc.escapeTestNoEncode.test(e))return e.replace(pc.escapeReplaceNoEncode,lu);return e}function su(e){try{e=encodeURI(e).replace(pc.percentDecode,"%")}catch{return null}return e}function iu(e,t){var n;const o=e.replace(pc.findPipe,((e,t,n)=>{let o=!1,l=t;for(;--l>=0&&"\\"===n[l];)o=!o;return o?"|":" |"})).split(pc.splitPipe);let l=0;if(o[0].trim()||o.shift(),o.length>0&&!(null!=(n=o.at(-1))&&n.trim())&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length<t;)o.push("");for(;l<o.length;l++)o[l]=o[l].trim().replace(pc.slashPipe,"|");return o}function au(e,t,n){const o=e.length;if(0===o)return"";let l=0;for(;l<o&&e.charAt(o-l-1)===t;)l++;return e.slice(0,o-l)}function cu(e,t,n,o,l){const r=t.href,s=t.title||null,i=e[1].replace(l.other.outputLinkReplace,"$1");o.state.inLink=!0;const a={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:r,title:s,text:i,tokens:o.inlineTokens(i)};return o.state.inLink=!1,a}class uu{constructor(e){t(this,"options"),t(this,"rules"),t(this,"lexer"),this.options=e||ac}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:au(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t,n){const o=e.match(n.other.indentCodeCompensation);if(null===o)return t;const l=o[1];return t.split("\n").map((e=>{const t=e.match(n.other.beginningSpace);if(null===t)return e;const[o]=t;return o.length>=l.length?e.slice(l.length):e})).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=au(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:au(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=au(t[0],"\n").split("\n"),n="",o="";const l=[];for(;e.length>0;){let t=!1;const r=[];let s;for(s=0;s<e.length;s++)if(this.rules.other.blockquoteStart.test(e[s]))r.push(e[s]),t=!0;else{if(t)break;r.push(e[s])}e=e.slice(s);const i=r.join("\n"),a=i.replace(this.rules.other.blockquoteSetextReplace,"\n    $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${i}`:i,o=o?`${o}\n${a}`:a;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(a,l,!0),this.lexer.state.top=c,0===e.length)break;const u=l.at(-1);if("code"===(null==u?void 0:u.type))break;if("blockquote"===(null==u?void 0:u.type)){const t=u,r=t.raw+"\n"+e.join("\n"),s=this.blockquote(r);l[l.length-1]=s,n=n.substring(0,n.length-t.raw.length)+s.raw,o=o.substring(0,o.length-t.text.length)+s.text;break}if("list"!==(null==u?void 0:u.type));else{const t=u,r=t.raw+"\n"+e.join("\n"),s=this.list(r);l[l.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,o=o.substring(0,o.length-t.raw.length)+s.raw,e=r.substring(l.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:l,text:o}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const o=n.length>1,l={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=o?n:"[*+-]");const r=this.rules.other.listItemRegex(n);let s=!1;for(;e;){let n=!1,o="",i="";if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let a=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],u=!a.trim(),d=0;if(this.options.pedantic?(d=2,i=a.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,i=a.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(o+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),l=this.rules.other.fencesBeginRegex(d),r=this.rules.other.headingBeginRegex(d),s=this.rules.other.htmlBeginRegex(d);for(;e;){const p=e.split("\n",1)[0];let g;if(c=p,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting,"  "),g=c):g=c.replace(this.rules.other.tabCharGlobal,"    "),l.test(c)||r.test(c)||s.test(c)||t.test(c)||n.test(c))break;if(g.search(this.rules.other.nonSpaceChar)>=d||!c.trim())i+="\n"+g.slice(d);else{if(u||a.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||l.test(a)||r.test(a)||n.test(a))break;i+="\n"+c}!u&&!c.trim()&&(u=!0),o+=p+"\n",e=e.substring(p.length+1),a=g.slice(d)}}l.loose||(s?l.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(s=!0));let p,g=null;this.options.gfm&&(g=this.rules.other.listIsTask.exec(i),g&&(p="[ ] "!==g[0],i=i.replace(this.rules.other.listReplaceTask,""))),l.items.push({type:"list_item",raw:o,task:!!g,checked:p,loose:!1,text:i,tokens:[]}),l.raw+=o}const i=l.items.at(-1);if(!i)return;i.raw=i.raw.trimEnd(),i.text=i.text.trimEnd(),l.raw=l.raw.trimEnd();for(let e=0;e<l.items.length;e++)if(this.lexer.state.top=!1,l.items[e].tokens=this.lexer.blockTokens(l.items[e].text,[]),!l.loose){const t=l.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));l.loose=n}if(l.loose)for(let e=0;e<l.items.length;e++)l.items[e].loose=!0;return l}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:o}}}table(e){var t;const n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;const o=iu(n[1]),l=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=null!=(t=n[3])&&t.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],s={type:"table",raw:n[0],header:[],align:[],rows:[]};if(o.length===l.length){for(const e of l)this.rules.other.tableAlignRight.test(e)?s.align.push("right"):this.rules.other.tableAlignCenter.test(e)?s.align.push("center"):this.rules.other.tableAlignLeft.test(e)?s.align.push("left"):s.align.push(null);for(let e=0;e<o.length;e++)s.header.push({text:o[e],tokens:this.lexer.inline(o[e]),header:!0,align:s.align[e]});for(const e of r)s.rows.push(iu(e,s.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:s.align[t]}))));return s}}lheading(e){const 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){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const 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){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const 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){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;const t=au(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let o=0;o<e.length;o++)if("\\"===e[o])o++;else if(e[o]===t[0])n++;else if(e[o]===t[1]&&(n--,n<0))return o;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){const e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],o=e[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),cu(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.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))){const e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return cu(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let o=this.rules.inline.emStrongLDelim.exec(e);if(!(!o||o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!o[1]&&!o[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...o[0]].length-1;let l,r,s=n,i=0;const a="*"===o[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!=(o=a.exec(t));){if(l=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!l)continue;if(r=[...l].length,o[3]||o[4]){s+=r;continue}if((o[5]||o[6])&&n%3&&!((n+r)%3)){i+=r;continue}if(s-=r,s>0)continue;r=Math.min(r,r+s+i);const t=[...o[0]][0].length,a=e.slice(0,n+o.index+t+r);if(Math.min(n,r)%2){const e=a.slice(1,-1);return{type:"em",raw:a,text:e,tokens:this.lexer.inlineTokens(e)}}const c=a.slice(2,-2);return{type:"strong",raw:a,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(e),o=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&o&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const 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){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let n;if(n=this.rules.inline.url.exec(e)){let e,o;if("@"===n[2])e=n[0],o="mailto:"+e;else{let l;do{l=n[0],n[0]=(null==(t=this.rules.inline._backpedal.exec(n[0]))?void 0:t[0])??""}while(l!==n[0]);e=n[0],o="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}}class du{constructor(e){t(this,"tokens"),t(this,"options"),t(this,"state"),t(this,"tokenizer"),t(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ac,this.options.tokenizer=this.options.tokenizer||new uu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={other:pc,block:tu.normal,inline:nu.normal};this.options.pedantic?(n.block=tu.pedantic,n.inline=nu.pedantic):this.options.gfm&&(n.block=tu.gfm,this.options.breaks?n.inline=nu.breaks:n.inline=nu.gfm),this.tokenizer.rules=n}static get rules(){return{block:tu,inline:nu}}static lex(e,t){return new du(t).lex(e)}static lexInline(e,t){return new du(t).inlineTokens(e)}lex(e){e=e.replace(pc.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){var o,l,r;for(this.options.pedantic&&(e=e.replace(pc.tabCharGlobal,"    ").replace(pc.spaceLine,""));e;){let s;if(null!=(l=null==(o=this.options.extensions)?void 0:o.block)&&l.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0))))continue;if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length);const n=t.at(-1);1===s.raw.length&&void 0!==n?n.raw+="\n":t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length);const n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.at(-1).src=n.text):t.push(s);continue}if(s=this.tokenizer.fences(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.heading(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.hr(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.blockquote(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.list(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.html(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.def(e)){e=e.substring(s.raw.length);const n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+="\n"+s.raw,n.text+="\n"+s.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.lheading(e)){e=e.substring(s.raw.length),t.push(s);continue}let i=e;if(null!=(r=this.options.extensions)&&r.startBlock){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startBlock.forEach((e=>{o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(s=this.tokenizer.paragraph(i))){const o=t.at(-1);n&&"paragraph"===(null==o?void 0:o.type)?(o.raw+="\n"+s.raw,o.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):t.push(s),n=i.length!==e.length,e=e.substring(s.raw.length)}else if(s=this.tokenizer.text(e)){e=e.substring(s.raw.length);const n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(s)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var n,o,l;let r=e,s=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(r));)r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let i=!1,a="";for(;e;){let s;if(i||(a=""),i=!1,null!=(o=null==(n=this.options.extensions)?void 0:n.inline)&&o.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0))))continue;if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length);const n=t.at(-1);"text"===s.type&&"text"===(null==n?void 0:n.type)?(n.raw+=s.raw,n.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,r,a)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),t.push(s);continue}let c=e;if(null!=(l=this.options.extensions)&&l.startInline){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startInline.forEach((e=>{o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(c=e.substring(0,t+1))}if(s=this.tokenizer.inlineText(c)){e=e.substring(s.raw.length),"_"!==s.raw.slice(-1)&&(a=s.raw.slice(-1)),i=!0;const n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+=s.raw,n.text+=s.text):t.push(s)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}}class pu{constructor(e){t(this,"options"),t(this,"parser"),this.options=e||ac}space(e){return""}code({text:e,lang:t,escaped:n}){var o;const l=null==(o=(t||"").match(pc.notSpaceStart))?void 0:o[0],r=e.replace(pc.endingNewline,"")+"\n";return l?'<pre><code class="language-'+ru(l)+'">'+(n?r:ru(r,!0))+"</code></pre>\n":"<pre><code>"+(n?r:ru(r,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let o="";for(let t=0;t<e.items.length;t++){const n=e.items[t];o+=this.listitem(n)}const l=t?"ol":"ul";return"<"+l+(t&&1!==n?' start="'+n+'"':"")+">\n"+o+"</"+l+">\n"}listitem(e){var t;let n="";if(e.task){const o=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null==(t=e.tokens[0])?void 0:t.type)?(e.tokens[0].text=o+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=o+" "+ru(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:o+" ",text:o+" ",escaped:!0}):n+=o+" "}return n+=this.parser.parse(e.tokens,!!e.loose),`<li>${n}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let o="";for(let t=0;t<e.rows.length;t++){const l=e.rows[t];n="";for(let e=0;e<l.length;e++)n+=this.tablecell(l[e]);o+=this.tablerow({text:n})}return o&&(o=`<tbody>${o}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+o+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\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>${ru(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const o=this.parser.parseInline(n),l=su(e);if(null===l)return o;let r='<a href="'+(e=l)+'"';return t&&(r+=' title="'+ru(t)+'"'),r+=">"+o+"</a>",r}image({href:e,title:t,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));const l=su(e);if(null===l)return ru(n);let r=`<img src="${e=l}" alt="${n}"`;return t&&(r+=` title="${ru(t)}"`),r+=">",r}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ru(e.text)}}class gu{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""}}class mu{constructor(e){t(this,"options"),t(this,"renderer"),t(this,"textRenderer"),this.options=e||ac,this.options.renderer=this.options.renderer||new pu,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new gu}static parse(e,t){return new mu(t).parse(e)}static parseInline(e,t){return new mu(t).parseInline(e)}parse(e,t=!0){var n,o;let l="";for(let r=0;r<e.length;r++){const s=e[r];if(null!=(o=null==(n=this.options.extensions)?void 0:n.renderers)&&o[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){l+=t||"";continue}}const i=s;switch(i.type){case"space":l+=this.renderer.space(i);continue;case"hr":l+=this.renderer.hr(i);continue;case"heading":l+=this.renderer.heading(i);continue;case"code":l+=this.renderer.code(i);continue;case"table":l+=this.renderer.table(i);continue;case"blockquote":l+=this.renderer.blockquote(i);continue;case"list":l+=this.renderer.list(i);continue;case"html":l+=this.renderer.html(i);continue;case"paragraph":l+=this.renderer.paragraph(i);continue;case"text":{let n=i,o=this.renderer.text(n);for(;r+1<e.length&&"text"===e[r+1].type;)n=e[++r],o+="\n"+this.renderer.text(n);l+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return l}parseInline(e,t=this.renderer){var n,o;let l="";for(let r=0;r<e.length;r++){const s=e[r];if(null!=(o=null==(n=this.options.extensions)?void 0:n.renderers)&&o[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){l+=e||"";continue}}const i=s;switch(i.type){case"escape":case"text":l+=t.text(i);break;case"html":l+=t.html(i);break;case"link":l+=t.link(i);break;case"image":l+=t.image(i);break;case"strong":l+=t.strong(i);break;case"em":l+=t.em(i);break;case"codespan":l+=t.codespan(i);break;case"br":l+=t.br(i);break;case"del":l+=t.del(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return l}}class hu{constructor(e){t(this,"options"),t(this,"block"),this.options=e||ac}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?du.lex:du.lexInline}provideParser(){return this.block?mu.parse:mu.parseInline}}t(hu,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));const fu=new class{constructor(...e){t(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),t(this,"options",this.setOptions),t(this,"parse",this.parseMarkdown(!0)),t(this,"parseInline",this.parseMarkdown(!1)),t(this,"Parser",mu),t(this,"Renderer",pu),t(this,"TextRenderer",gu),t(this,"Lexer",du),t(this,"Tokenizer",uu),t(this,"Hooks",hu),this.use(...e)}walkTokens(e,t){var n,o;let l=[];for(const r of e)switch(l=l.concat(t.call(this,r)),r.type){case"table":{const e=r;for(const n of e.header)l=l.concat(this.walkTokens(n.tokens,t));for(const n of e.rows)for(const e of n)l=l.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=r;l=l.concat(this.walkTokens(e.items,t));break}default:{const e=r;null!=(o=null==(n=this.defaults.extensions)?void 0:n.childTokens)&&o[e.type]?this.defaults.extensions.childTokens[e.type].forEach((n=>{const o=e[n].flat(1/0);l=l.concat(this.walkTokens(o,t))})):e.tokens&&(l=l.concat(this.walkTokens(e.tokens,t)))}}return l}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let o=e.renderer.apply(this,t);return!1===o&&(o=n.apply(this,t)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new pu(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const o=n,l=e.renderer[o],r=t[o];t[o]=(...e)=>{let n=l.apply(t,e);return!1===n&&(n=r.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new uu(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const o=n,l=e.tokenizer[o],r=t[o];t[o]=(...e)=>{let n=l.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new hu;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const o=n,l=e.hooks[o],r=t[o];hu.passThroughHooks.has(n)?t[o]=e=>{if(this.defaults.async)return Promise.resolve(l.call(t,e)).then((e=>r.call(t,e)));const n=l.call(t,e);return r.call(t,n)}:t[o]=(...e)=>{let n=l.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,o=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(o.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return du.lex(e,t??this.defaults)}parser(e,t){return mu.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{const o={...n},l={...this.defaults,...o},r=this.onError(!!l.silent,!!l.async);if(!0===this.defaults.async&&!1===o.async)return r(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"||null===t)return r(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));l.hooks&&(l.hooks.options=l,l.hooks.block=e);const s=l.hooks?l.hooks.provideLexer():e?du.lex:du.lexInline,i=l.hooks?l.hooks.provideParser():e?mu.parse:mu.parseInline;if(l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(t):t).then((e=>s(e,l))).then((e=>l.hooks?l.hooks.processAllTokens(e):e)).then((e=>l.walkTokens?Promise.all(this.walkTokens(e,l.walkTokens)).then((()=>e)):e)).then((e=>i(e,l))).then((e=>l.hooks?l.hooks.postprocess(e):e)).catch(r);try{l.hooks&&(t=l.hooks.preprocess(t));let e=s(t,l);l.hooks&&(e=l.hooks.processAllTokens(e)),l.walkTokens&&this.walkTokens(e,l.walkTokens);let n=i(e,l);return l.hooks&&(n=l.hooks.postprocess(n)),n}catch(e){return r(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+ru(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function bu(e,t){return fu.parse(e,t)}bu.options=bu.setOptions=function(e){return fu.setOptions(e),bu.defaults=fu.defaults,cc(bu.defaults),bu},bu.getDefaults=ic,bu.defaults=ac,bu.use=function(...e){return fu.use(...e),bu.defaults=fu.defaults,cc(bu.defaults),bu},bu.walkTokens=function(e,t){return fu.walkTokens(e,t)},bu.parseInline=fu.parseInline,bu.Parser=mu,bu.parser=mu.parse,bu.Renderer=pu,bu.TextRenderer=gu,bu.Lexer=du,bu.lexer=du.lex,bu.Tokenizer=uu,bu.Hooks=hu,bu.parse=bu,bu.options,bu.setOptions,bu.use,bu.walkTokens,bu.parseInline,mu.parse,du.lex;/*! @license DOMPurify 3.2.5 | (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.5/LICENSE */const{entries:yu,setPrototypeOf:Cu,isFrozen:vu,getPrototypeOf:Iu,getOwnPropertyDescriptor:wu}=Object;let{freeze:Lu,seal:Zu,create:ku}=Object,{apply:Au,construct:Wu}=typeof Reflect<"u"&&Reflect;Lu||(Lu=function(e){return e}),Zu||(Zu=function(e){return e}),Au||(Au=function(e,t,n){return e.apply(t,n)}),Wu||(Wu=function(e,t){return new e(...t)});const Xu=Du(Array.prototype.forEach),xu=Du(Array.prototype.lastIndexOf),Gu=Du(Array.prototype.pop),Ru=Du(Array.prototype.push),Su=Du(Array.prototype.splice),Yu=Du(String.prototype.toLowerCase),Nu=Du(String.prototype.toString),Ku=Du(String.prototype.match),Hu=Du(String.prototype.replace),Bu=Du(String.prototype.indexOf),Ou=Du(String.prototype.trim),Mu=Du(Object.prototype.hasOwnProperty),Tu=Du(RegExp.prototype.test),_u=function(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Wu(e,n)}}(TypeError);function Du(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];return Au(e,t,o)}}function Fu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Yu;Cu&&Cu(e,null);let o=t.length;for(;o--;){let l=t[o];if("string"==typeof l){const e=n(l);e!==l&&(vu(t)||(t[o]=e),l=e)}e[l]=!0}return e}function Vu(e){for(let t=0;t<e.length;t++)Mu(e,t)||(e[t]=null);return e}function ju(e){const t=ku(null);for(const[n,o]of yu(e))Mu(e,n)&&(Array.isArray(o)?t[n]=Vu(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=ju(o):t[n]=o);return t}function zu(e,t){for(;null!==e;){const n=wu(e,t);if(n){if(n.get)return Du(n.get);if("function"==typeof n.value)return Du(n.value)}e=Iu(e)}return function(){return null}}const Ju=Lu(["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","section","select","shadow","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"]),Eu=Lu(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Qu=Lu(["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"]),Uu=Lu(["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"]),Pu=Lu(["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"]),$u=Lu(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),qu=Lu(["#text"]),ed=Lu(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),td=Lu(["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"]),nd=Lu(["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"]),od=Lu(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ld=Zu(/\{\{[\w\W]*|[\w\W]*\}\}/gm),rd=Zu(/<%[\w\W]*|[\w\W]*%>/gm),sd=Zu(/\$\{[\w\W]*/gm),id=Zu(/^data-[\-\w.\u00B7-\uFFFF]+$/),ad=Zu(/^aria-[\-\w]+$/),cd=Zu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ud=Zu(/^(?:\w+script|data):/i),dd=Zu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pd=Zu(/^html$/i),gd=Zu(/^[a-z][.\w]*(-[.\w]+)+$/i);var md=Object.freeze({__proto__:null,ARIA_ATTR:ad,ATTR_WHITESPACE:dd,CUSTOM_ELEMENT:gd,DATA_ATTR:id,DOCTYPE_NAME:pd,ERB_EXPR:rd,IS_ALLOWED_URI:cd,IS_SCRIPT_OR_DATA:ud,MUSTACHE_EXPR:ld,TMPLIT_EXPR:sd});const hd=1,fd=3,bd=7,yd=8,Cd=9;var vd=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const n=t=>e(t);if(n.version="3.2.5",n.removed=[],!t||!t.document||t.document.nodeType!==Cd||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const l=o,r=l.currentScript,{DocumentFragment:s,HTMLTemplateElement:i,Node:a,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:g,trustedTypes:m}=t,h=c.prototype,f=zu(h,"cloneNode"),b=zu(h,"remove"),y=zu(h,"nextSibling"),C=zu(h,"childNodes"),v=zu(h,"parentNode");if("function"==typeof i){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let I,w="";const{implementation:L,createNodeIterator:Z,createDocumentFragment:k,getElementsByTagName:A}=o,{importNode:W}=l;let X={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof yu&&"function"==typeof v&&L&&void 0!==L.createHTMLDocument;const{MUSTACHE_EXPR:x,ERB_EXPR:G,TMPLIT_EXPR:R,DATA_ATTR:S,ARIA_ATTR:Y,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:H}=md;let{IS_ALLOWED_URI:B}=md,O=null;const M=Fu({},[...Ju,...Eu,...Qu,...Pu,...qu]);let T=null;const _=Fu({},[...ed,...td,...nd,...od]);let D=Object.seal(ku(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}})),F=null,V=null,j=!0,z=!0,J=!1,E=!0,Q=!1,U=!0,P=!1,$=!1,q=!1,ee=!1,te=!1,ne=!1,oe=!0,le=!1,re=!0,se=!1,ie={},ae=null;const ce=Fu({},["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 ue=null;const de=Fu({},["audio","video","img","source","image","track"]);let pe=null;const ge=Fu({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml";let be=fe,ye=!1,Ce=null;const ve=Fu({},[me,he,fe],Nu);let Ie=Fu({},["mi","mo","mn","ms","mtext"]),we=Fu({},["annotation-xml"]);const Le=Fu({},["title","style","font","a","script"]);let Ze=null;const ke=["application/xhtml+xml","text/html"];let Ae=null,We=null;const Xe=o.createElement("form"),xe=function(e){return e instanceof RegExp||e instanceof Function},Ge=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!We||We!==e){if((!e||"object"!=typeof e)&&(e={}),e=ju(e),Ze=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ae="application/xhtml+xml"===Ze?Nu:Yu,O=Mu(e,"ALLOWED_TAGS")?Fu({},e.ALLOWED_TAGS,Ae):M,T=Mu(e,"ALLOWED_ATTR")?Fu({},e.ALLOWED_ATTR,Ae):_,Ce=Mu(e,"ALLOWED_NAMESPACES")?Fu({},e.ALLOWED_NAMESPACES,Nu):ve,pe=Mu(e,"ADD_URI_SAFE_ATTR")?Fu(ju(ge),e.ADD_URI_SAFE_ATTR,Ae):ge,ue=Mu(e,"ADD_DATA_URI_TAGS")?Fu(ju(de),e.ADD_DATA_URI_TAGS,Ae):de,ae=Mu(e,"FORBID_CONTENTS")?Fu({},e.FORBID_CONTENTS,Ae):ce,F=Mu(e,"FORBID_TAGS")?Fu({},e.FORBID_TAGS,Ae):{},V=Mu(e,"FORBID_ATTR")?Fu({},e.FORBID_ATTR,Ae):{},ie=!!Mu(e,"USE_PROFILES")&&e.USE_PROFILES,j=!1!==e.ALLOW_ARIA_ATTR,z=!1!==e.ALLOW_DATA_ATTR,J=e.ALLOW_UNKNOWN_PROTOCOLS||!1,E=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Q=e.SAFE_FOR_TEMPLATES||!1,U=!1!==e.SAFE_FOR_XML,P=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,q=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,le=e.SANITIZE_NAMED_PROPS||!1,re=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,B=e.ALLOWED_URI_REGEXP||cd,be=e.NAMESPACE||fe,Ie=e.MATHML_TEXT_INTEGRATION_POINTS||Ie,we=e.HTML_INTEGRATION_POINTS||we,D=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(D.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&xe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(D.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(D.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(z=!1),te&&(ee=!0),ie&&(O=Fu({},qu),T=[],!0===ie.html&&(Fu(O,Ju),Fu(T,ed)),!0===ie.svg&&(Fu(O,Eu),Fu(T,td),Fu(T,od)),!0===ie.svgFilters&&(Fu(O,Qu),Fu(T,td),Fu(T,od)),!0===ie.mathMl&&(Fu(O,Pu),Fu(T,nd),Fu(T,od))),e.ADD_TAGS&&(O===M&&(O=ju(O)),Fu(O,e.ADD_TAGS,Ae)),e.ADD_ATTR&&(T===_&&(T=ju(T)),Fu(T,e.ADD_ATTR,Ae)),e.ADD_URI_SAFE_ATTR&&Fu(pe,e.ADD_URI_SAFE_ATTR,Ae),e.FORBID_CONTENTS&&(ae===ce&&(ae=ju(ae)),Fu(ae,e.FORBID_CONTENTS,Ae)),re&&(O["#text"]=!0),P&&Fu(O,["html","head","body"]),O.table&&(Fu(O,["tbody"]),delete F.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _u('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _u('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');I=e.TRUSTED_TYPES_POLICY,w=I.createHTML("")}else void 0===I&&(I=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const l="dompurify"+(n?"#"+n:"");try{return e.createPolicy(l,{createHTML:e=>e,createScriptURL:e=>e})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}}(m,r)),null!==I&&"string"==typeof w&&(w=I.createHTML(""));Lu&&Lu(e),We=e}},Re=Fu({},[...Eu,...Qu,...Uu]),Se=Fu({},[...Pu,...$u]),Ye=function(e){Ru(n.removed,{element:e});try{v(e).removeChild(e)}catch{b(e)}},Ne=function(e,t){try{Ru(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{Ru(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Ye(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ke=function(e){let t=null,n=null;if(q)e="<remove></remove>"+e;else{const t=Ku(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ze&&be===fe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const l=I?I.createHTML(e):e;if(be===fe)try{t=(new g).parseFromString(l,Ze)}catch{}if(!t||!t.documentElement){t=L.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?w:l}catch{}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),be===fe?A.call(t,P?"html":"body")[0]:P?t.documentElement:r},He=function(e){return Z.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Be=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Oe=function(e){return"function"==typeof a&&e instanceof a};function Me(e,t,o){Xu(e,(e=>{e.call(n,t,o,We)}))}const Te=function(e){let t=null;if(Me(X.beforeSanitizeElements,e,null),Be(e))return Ye(e),!0;const o=Ae(e.nodeName);if(Me(X.uponSanitizeElement,e,{tagName:o,allowedTags:O}),e.hasChildNodes()&&!Oe(e.firstElementChild)&&Tu(/<[/\w!]/g,e.innerHTML)&&Tu(/<[/\w!]/g,e.textContent)||e.nodeType===bd||U&&e.nodeType===yd&&Tu(/<[/\w]/g,e.data))return Ye(e),!0;if(!O[o]||F[o]){if(!F[o]&&De(o)&&(D.tagNameCheck instanceof RegExp&&Tu(D.tagNameCheck,o)||D.tagNameCheck instanceof Function&&D.tagNameCheck(o)))return!1;if(re&&!ae[o]){const t=v(e)||e.parentNode,n=C(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const l=f(n[o],!0);l.__removalCount=(e.__removalCount||0)+1,t.insertBefore(l,y(e))}}}return Ye(e),!0}return e instanceof c&&!function(e){let t=v(e);(!t||!t.tagName)&&(t={namespaceURI:be,tagName:"template"});const n=Yu(e.tagName),o=Yu(t.tagName);return!!Ce[e.namespaceURI]&&(e.namespaceURI===he?t.namespaceURI===fe?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===o||Ie[o]):!!Re[n]:e.namespaceURI===me?t.namespaceURI===fe?"math"===n:t.namespaceURI===he?"math"===n&&we[o]:!!Se[n]:e.namespaceURI===fe?!(t.namespaceURI===he&&!we[o]||t.namespaceURI===me&&!Ie[o])&&!Se[n]&&(Le[n]||!Re[n]):!("application/xhtml+xml"!==Ze||!Ce[e.namespaceURI]))}(e)||("noscript"===o||"noembed"===o||"noframes"===o)&&Tu(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ye(e),!0):(Q&&e.nodeType===fd&&(t=e.textContent,Xu([x,G,R],(e=>{t=Hu(t,e," ")})),e.textContent!==t&&(Ru(n.removed,{element:e.cloneNode()}),e.textContent=t)),Me(X.afterSanitizeElements,e,null),!1)},_e=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in o||n in Xe))return!1;if((!z||V[t]||!Tu(S,t))&&(!j||!Tu(Y,t)))if(!T[t]||V[t]){if(!(De(e)&&(D.tagNameCheck instanceof RegExp&&Tu(D.tagNameCheck,e)||D.tagNameCheck instanceof Function&&D.tagNameCheck(e))&&(D.attributeNameCheck instanceof RegExp&&Tu(D.attributeNameCheck,t)||D.attributeNameCheck instanceof Function&&D.attributeNameCheck(t))||"is"===t&&D.allowCustomizedBuiltInElements&&(D.tagNameCheck instanceof RegExp&&Tu(D.tagNameCheck,n)||D.tagNameCheck instanceof Function&&D.tagNameCheck(n))))return!1}else if(!pe[t]&&!Tu(B,Hu(n,K,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Bu(n,"data:")||!ue[e])&&(!J||Tu(N,Hu(n,K,"")))&&n)return!1;return!0},De=function(e){return"annotation-xml"!==e&&Ku(e,H)},Fe=function(e){Me(X.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Be(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let l=t.length;for(;l--;){const r=t[l],{name:s,namespaceURI:i,value:a}=r,c=Ae(s);let u="value"===s?a:Ou(a);if(o.attrName=c,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,Me(X.uponSanitizeAttribute,e,o),u=o.attrValue,le&&("id"===c||"name"===c)&&(Ne(s,e),u="user-content-"+u),U&&Tu(/((--!?|])>)|<\/(style|title)/i,u)){Ne(s,e);continue}if(o.forceKeepAttr||(Ne(s,e),!o.keepAttr))continue;if(!E&&Tu(/\/>/i,u)){Ne(s,e);continue}Q&&Xu([x,G,R],(e=>{u=Hu(u,e," ")}));const d=Ae(e.nodeName);if(_e(d,c,u)){if(I&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!i)switch(m.getAttributeType(d,c)){case"TrustedHTML":u=I.createHTML(u);break;case"TrustedScriptURL":u=I.createScriptURL(u)}try{i?e.setAttributeNS(i,s,u):e.setAttribute(s,u),Be(e)?Ye(e):Gu(n.removed)}catch{}}}Me(X.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const o=He(t);for(Me(X.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)Me(X.uponSanitizeShadowNode,n,null),Te(n),Fe(n),n.content instanceof s&&e(n.content);Me(X.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,i=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Oe(e)){if("function"!=typeof e.toString)throw _u("toString is not a function");if("string"!=typeof(e=e.toString()))throw _u("dirty is not a string, aborting")}if(!n.isSupported)return e;if($||Ge(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ae(e.nodeName);if(!O[t]||F[t])throw _u("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof a)o=Ke("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),r.nodeType===hd&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!ee&&!Q&&!P&&-1===e.indexOf("<"))return I&&ne?I.createHTML(e):e;if(o=Ke(e),!o)return ee?null:ne?w:""}o&&q&&Ye(o.firstChild);const u=He(se?e:o);for(;i=u.nextNode();)Te(i),Fe(i),i.content instanceof s&&Ve(i.content);if(se)return e;if(ee){if(te)for(c=k.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(T.shadowroot||T.shadowrootmode)&&(c=W.call(l,c,!0)),c}let d=P?o.outerHTML:o.innerHTML;return P&&O["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&Tu(pd,o.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+d),Q&&Xu([x,G,R],(e=>{d=Hu(d,e," ")})),I&&ne?I.createHTML(d):d},n.setConfig=function(){Ge(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$=!0},n.clearConfig=function(){We=null,$=!1},n.isValidAttribute=function(e,t,n){We||Ge({});const o=Ae(e),l=Ae(t);return _e(o,l,n)},n.addHook=function(e,t){"function"==typeof t&&Ru(X[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=xu(X[e],t);return-1===n?void 0:Su(X[e],n,1)[0]}return Gu(X[e])},n.removeHooks=function(e){X[e]=[]},n.removeAllHooks=function(){X={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Id=["innerHTML"],wd=Zn({__name:"Renderer",props:{content:{type:String,required:!0},size:{type:String,default:"normal",validator:e=>["normal","small","large"].includes(e)},renderWordByWord:{type:Boolean,default:!1},wordDelay:{type:Number,default:10}},setup(e){const t=e,n=Lt(""),o=Lt(""),l=Lt(!1);return zo((()=>t.content),(async e=>{t.renderWordByWord?await(async e=>{try{if(l.value)return;l.value=!0;let r=o.value.length,s="";for(;r<e.length+25;){s=e.slice(0,r);const o=bu(s),l=vd.sanitize(o);n.value=l,r+=25,await new Promise((e=>setTimeout(e,t.wordDelay)))}}finally{l.value=!1,o.value=e}})(e):(e=>{const t=bu(e),o=vd.sanitize(t);n.value=o})(e)}),{immediate:!0}),(t,o)=>(dl(),hl("div",{class:j(["small"===e.size?"size-small":"large"===e.size?"size-large":"size-base","markdown-wrapper"])},[Il("div",{class:"markdown-content",innerHTML:Wt(n)},null,8,Id)],2))}}),Ld={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};const Zd=Ct({name:"fluent-eraser-24-regular",render:function(e,t){return dl(),hl("svg",Ld,t[0]||(t[0]=[Il("path",{fill:"currentColor",d:"m15.87 2.669l4.968 4.968a2.25 2.25 0 0 1 0 3.182l-8.682 8.68l6.098.001a.75.75 0 0 1 .743.648l.007.102a.75.75 0 0 1-.648.743l-.102.007l-8.41.001a2.24 2.24 0 0 1-1.714-.655l-4.969-4.969a2.25 2.25 0 0 1 0-3.182l9.527-9.526a2.25 2.25 0 0 1 3.182 0M5.708 11.768l-1.486 1.488a.75.75 0 0 0 0 1.06l4.969 4.969c.146.146.338.22.53.22l.029-.005l.038.002a.75.75 0 0 0 .463-.217l1.486-1.487zm8.04-8.039L6.77 10.707l6.03 6.03l6.979-6.978a.75.75 0 0 0 0-1.061L14.81 3.729a.75.75 0 0 0-1.06 0"},null,-1)]))}}),kd=typeof window<"u",Ad=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Wd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xd=e=>"number"==typeof e&&isFinite(e),xd=e=>"[object RegExp]"===jd(e),Gd=e=>zd(e)&&0===Object.keys(e).length,Rd=Object.assign,Sd=Object.create,Yd=(e=null)=>Sd(e);
/*!
  * shared v12.0.0-alpha.2
  * (c) 2016-present kazuya kawaguchi and contributors
  * Released under the MIT License.
  */let Nd;const Kd=()=>Nd||(Nd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Yd());function Hd(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Bd=Object.prototype.hasOwnProperty;function Od(e,t){return Bd.call(e,t)}const Md=Array.isArray,Td=e=>"function"==typeof e,_d=e=>"string"==typeof e,Dd=e=>"boolean"==typeof e,Fd=e=>null!==e&&"object"==typeof e,Vd=Object.prototype.toString,jd=e=>Vd.call(e),zd=e=>"[object Object]"===jd(e);function Jd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ed=e=>!Fd(e)||Md(e);function Qd(e,t){if(Ed(e)||Ed(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((o=>{"__proto__"!==o&&(Fd(e[o])&&!Fd(t[o])&&(t[o]=Array.isArray(e[o])?[]:Yd()),Ed(t[o])||Ed(e[o])?t[o]=e[o]:n.push({src:e[o],des:t[o]}))}))}}
/*!
  * message-compiler v12.0.0-alpha.2
  * (c) 2016-present kazuya kawaguchi and contributors
  * Released under the MIT License.
  */function Ud(e,t,n={}){const{domain:o,messages:l,args:r}=n,s=new SyntaxError(String(e));return s.code=e,s.domain=o,s}
/*!
  * core-base v12.0.0-alpha.2
  * (c) 2016-present kazuya kawaguchi and contributors
  * Released under the MIT License.
  */const Pd=["t","type"];function $d(e){return function(e,t,n){for(let n=0;n<t.length;n++){const o=t[n];if(Od(e,o)&&null!=e[o])return e[o]}return n}(e,Pd)}function qd(e){return Fd(e)&&0===$d(e)&&(Od(e,"b")||Od(e,"body"))}let ep=null;const tp=function(e){return t=>ep&&ep.emit(e,t)}("function:translate");const np=17,op=18,lp=19,rp=21,sp=22,ip=23;function ap(e){return Ud(e,0,void 0)}function cp(e,t){return null!=t.locale?dp(t.locale):dp(e.locale)}let up;function dp(e){if(_d(e))return e;if(Td(e)){if(e.resolvedOnce&&null!=up)return up;if("Function"===e.constructor.name){const t=e();if((e=>Fd(e)&&Td(e.then)&&Td(e.catch))(t))throw ap(rp);return up=t}throw ap(sp)}throw ap(ip)}function pp(e,t,n){return[...new Set([n,...Md(t)?t:Fd(t)?Object.keys(t):_d(t)?[t]:[n]])]}function gp(e,t,n){let o=!0;for(let l=0;l<t.length&&Dd(o);l++){const r=t[l];_d(r)&&(o=mp(e,t[l],n))}return o}function mp(e,t,n){let o;const l=t.split("-");do{o=hp(e,l.join("-"),n),l.splice(-1,1)}while(l.length&&!0===o);return o}function hp(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o="!"!==t[t.length-1];const l=t.replace(/!/g,"");e.push(l),(Md(n)||zd(n))&&n[l]&&(o=n[l])}return o}function fp(e,t){return Fd(e)?e[t]:null}const bp="en-US",yp=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Cp=null;let vp=null;const Ip=e=>{vp=e};let wp=0;function Lp(e={}){const t=Td(e.onWarn)?e.onWarn:Jd,n=_d(e.version)?e.version:"12.0.0-alpha.2",o=_d(e.locale)||Td(e.locale)?e.locale:bp,l=Td(o)?bp:o,r=Md(e.fallbackLocale)||zd(e.fallbackLocale)||_d(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l,s=zd(e.messages)?e.messages:Zp(l),i=zd(e.datetimeFormats)?e.datetimeFormats:Zp(l),a=zd(e.numberFormats)?e.numberFormats:Zp(l),c=Rd(Yd(),e.modifiers,{upper:(e,t)=>"text"===t&&_d(e)?e.toUpperCase():"vnode"===t&&Fd(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&_d(e)?e.toLowerCase():"vnode"===t&&Fd(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&_d(e)?yp(e):"vnode"===t&&Fd(e)&&"__v_isVNode"in e?yp(e.children):e}),u=e.pluralRules||Yd(),d=Td(e.missing)?e.missing:null,p=!Dd(e.missingWarn)&&!xd(e.missingWarn)||e.missingWarn,g=!Dd(e.fallbackWarn)&&!xd(e.fallbackWarn)||e.fallbackWarn,m=!!e.fallbackFormat,h=!!e.unresolving,f=Td(e.postTranslation)?e.postTranslation:null,b=zd(e.processor)?e.processor:null,y=!Dd(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,v=Td(e.messageCompiler)?e.messageCompiler:undefined,I=Td(e.messageResolver)?e.messageResolver:fp,w=Td(e.localeFallbacker)?e.localeFallbacker:pp,L=Fd(e.fallbackContext)?e.fallbackContext:void 0,Z=e,k=Fd(Z.__datetimeFormatters)?Z.__datetimeFormatters:new Map,A=Fd(Z.__numberFormatters)?Z.__numberFormatters:new Map,W=Fd(Z.__meta)?Z.__meta:{};wp++;const X={version:n,cid:wp,locale:o,fallbackLocale:r,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:p,fallbackWarn:g,fallbackFormat:m,unresolving:h,postTranslation:f,processor:b,warnHtmlMessage:y,escapeParameter:C,messageCompiler:v,messageResolver:I,localeFallbacker:w,fallbackContext:L,onWarn:t,__meta:W};return X.datetimeFormats=i,X.numberFormats=a,X.__datetimeFormatters=k,X.__numberFormatters=A,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){ep&&ep.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(X,n,W),X}const Zp=e=>({[e]:Yd()});function kp(e,t,n,o,l){const{missing:r,onWarn:s}=e;if(null!==r){const o=r(e,n,t,l);return _d(o)?o:t}return t}function Ap(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Wp(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function Xp(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let o=n+1;o<t.length;o++)if(Wp(e,t[o]))return!0;return!1}function xp(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:l,onWarn:r,localeFallbacker:s}=e,{__datetimeFormatters:i}=e,[a,c,u,d]=Rp(...t);Dd(u.missingWarn)?u.missingWarn:e.missingWarn;Dd(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=cp(e,u),m=s(e,l,g);if(!_d(a)||""===a)return new Intl.DateTimeFormat(g,d).format(c);let h,f={},b=null;for(let t=0;t<m.length&&(h=m[t],f=n[h]||{},b=f[a],!zd(b));t++)kp(e,a,h,0,"datetime format");if(!zd(b)||!_d(h))return o?-1:a;let y=`${h}__${a}`;Gd(d)||(y=`${y}__${JSON.stringify(d)}`);let C=i.get(y);return C||(C=new Intl.DateTimeFormat(h,Rd({},b,d)),i.set(y,C)),p?C.formatToParts(c):C.format(c)}const Gp=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Rp(...e){const[t,n,o,l]=e,r=Yd();let s,i=Yd();if(_d(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw ap(lp);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw ap(lp)}}else if((e=>"[object Date]"===jd(e))(t)){if(isNaN(t.getTime()))throw ap(op);s=t}else{if(!Xd(t))throw ap(np);s=t}return _d(n)?r.key=n:zd(n)&&Object.keys(n).forEach((e=>{Gp.includes(e)?i[e]=n[e]:r[e]=n[e]})),_d(o)?r.locale=o:zd(o)&&(i=o),zd(l)&&(i=l),[r.key||"",s,r,i]}function Sp(e,t,n){const o=e;for(const e in n){const n=`${t}__${e}`;o.__datetimeFormatters.has(n)&&o.__datetimeFormatters.delete(n)}}function Yp(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:l,onWarn:r,localeFallbacker:s}=e,{__numberFormatters:i}=e,[a,c,u,d]=Kp(...t);Dd(u.missingWarn)?u.missingWarn:e.missingWarn;Dd(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=cp(e,u),m=s(e,l,g);if(!_d(a)||""===a)return new Intl.NumberFormat(g,d).format(c);let h,f={},b=null;for(let t=0;t<m.length&&(h=m[t],f=n[h]||{},b=f[a],!zd(b));t++)kp(e,a,h,0,"number format");if(!zd(b)||!_d(h))return o?-1:a;let y=`${h}__${a}`;Gd(d)||(y=`${y}__${JSON.stringify(d)}`);let C=i.get(y);return C||(C=new Intl.NumberFormat(h,Rd({},b,d)),i.set(y,C)),p?C.formatToParts(c):C.format(c)}const Np=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Kp(...e){const[t,n,o,l]=e,r=Yd();let s=Yd();if(!Xd(t))throw ap(np);const i=t;return _d(n)?r.key=n:zd(n)&&Object.keys(n).forEach((e=>{Np.includes(e)?s[e]=n[e]:r[e]=n[e]})),_d(o)?r.locale=o:zd(o)&&(s=o),zd(l)&&(s=l),[r.key||"",i,r,s]}function Hp(e,t,n){const o=e;for(const e in n){const n=`${t}__${e}`;o.__numberFormatters.has(n)&&o.__numberFormatters.delete(n)}}const Bp=e=>e,Op=e=>"",Mp=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,n,o)=>0===o?e+n:e+t+n),"")}(e),Tp=e=>null==e?"":Md(e)||zd(e)&&e.toString===Vd?JSON.stringify(e,null,2):String(e);function _p(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Dp(e={}){const t=e.locale,n=function(e){const t=Xd(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Xd(e.named.count)||Xd(e.named.n))?Xd(e.named.count)?e.named.count:Xd(e.named.n)?e.named.n:t:t}(e),o=Fd(e.pluralRules)&&_d(t)&&Td(e.pluralRules[t])?e.pluralRules[t]:_p,l=Fd(e.pluralRules)&&_d(t)&&Td(e.pluralRules[t])?_p:void 0,r=e.list||[],s=e.named||Yd();Xd(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function i(t,n){return(Td(e.messages)?e.messages(t,!!n):!!Fd(e.messages)&&e.messages[t])||(e.parent?e.parent.message(t):Op)}const a=zd(e.processor)&&Td(e.processor.normalize)?e.processor.normalize:Mp,c=zd(e.processor)&&Td(e.processor.interpolate)?e.processor.interpolate:Tp,u={list:e=>r[e],named:e=>s[e],plural:e=>e[o(n,e.length,l)],linked:(t,...n)=>{const[o,l]=n;let r="text",s="";1===n.length?Fd(o)?(s=o.modifier||s,r=o.type||r):_d(o)&&(s=o||s):2===n.length&&(_d(o)&&(s=o||s),_d(l)&&(r=l||r));const a=i(t,!0)(u),c="vnode"===r&&Md(a)&&s?a[0]:a;return s?(t=>e.modifiers?e.modifiers[t]:Bp)(s)(c,r):c},message:i,type:zd(e.processor)&&_d(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:a,values:Rd(Yd(),r,s)};return u}const Fp=()=>"",Vp=e=>Td(e);function jp(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:l,messageCompiler:r,fallbackLocale:s,messages:i}=e,[a,c]=Ep(...t),u=Dd(c.missingWarn)?c.missingWarn:e.missingWarn,d=Dd(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=Dd(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,m=_d(c.default)||Dd(c.default)?Dd(c.default)?r?a:()=>a:c.default:n?r?a:()=>a:null,h=n||null!=m&&(_d(m)||Td(m)),f=cp(e,c);p&&function(e){Md(e.list)?e.list=e.list.map((e=>_d(e)?Hd(e):e)):Fd(e.named)&&Object.keys(e.named).forEach((t=>{_d(e.named[t])&&(e.named[t]=Hd(e.named[t]))}))}(c);let[b,y,C]=g?[a,f,i[f]||Yd()]:zp(e,a,f,s,d,u),v=b,I=a;if(!g&&!(_d(v)||qd(v)||Vp(v))&&h&&(v=m,I=v),!(g||(_d(v)||qd(v)||Vp(v))&&_d(y)))return l?-1:a;let w=!1;const L=Vp(v)?v:Jp(e,a,y,v,I,(()=>{w=!0}));if(w)return v;const Z=function(e,t,n,o){const{modifiers:l,pluralRules:r,messageResolver:s,fallbackLocale:i,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:l,pluralRules:r,messages:(o,l)=>{let r=s(n,o);if(null==r&&(u||l)){const[,,n]=zp(u||e,o,t,i,a,c);r=s(n,o)}if(_d(r)||qd(r)){let n=!1;const l=Jp(e,o,t,r,o,(()=>{n=!0}));return n?Fp:l}return Vp(r)?r:Fp}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),Xd(o.plural)&&(d.pluralIndex=o.plural),d}(e,y,C,c),k=function(e,t,n){return t(n)}(0,L,Dp(Z)),A=o?o(k,a):k;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:_d(a)?a:Vp(v)?v.key:"",locale:y||(Vp(v)?v.locale:""),format:_d(v)?v:Vp(v)?v.source:"",message:A};t.meta=Rd({},e.__meta,Cp||{}),tp(t)}return A}function zp(e,t,n,o,l,r){const{messages:s,onWarn:i,messageResolver:a,localeFallbacker:c}=e,u=c(e,o,n);let d,p=Yd(),g=null;for(let n=0;n<u.length&&(d=u[n],p=s[d]||Yd(),null===(g=a(p,t))&&(g=p[t]),!(_d(g)||qd(g)||Vp(g)));n++)if(!Xp(d,u)){const n=kp(e,t,d,0,"translate");n!==t&&(g=n)}return[g,d,p]}function Jp(e,t,n,o,l,r){const{messageCompiler:s,warnHtmlMessage:i}=e;if(Vp(o)){const e=o;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>o;return e.locale=n,e.key=t,e}const a=s(o,function(e,t,n,o,l,r){return{locale:t,key:n,warnHtmlMessage:l,onError:e=>{throw r&&r(e),e},onCacheKey:e=>((e,t,n)=>Wd({l:e,k:t,s:n}))(t,n,e)}}(0,n,l,0,i,r));return a.locale=n,a.key=t,a.source=o,a}function Ep(...e){const[t,n,o]=e,l=Yd();if(!(_d(t)||Xd(t)||Vp(t)||qd(t)))throw ap(np);const r=Xd(t)?String(t):(Vp(t),t);return Xd(n)?l.plural=n:_d(n)?l.default=n:zd(n)&&!Gd(n)?l.named=n:Md(n)&&(l.list=n),Xd(o)?l.plural=o:_d(o)?l.default=o:zd(o)&&Rd(l,o),[r,l]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Kd().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Kd().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const Qp=24,Up=25,Pp=26,$p=27,qp=31,eg=32;function tg(e,...t){return Ud(e,0,void 0)}const ng=Ad("__translateVNode"),og=Ad("__datetimeParts"),lg=Ad("__numberParts"),rg=Ad("__setPluralRules"),sg=Ad("__injectWithOption"),ig=Ad("__dispose");function ag(e){if(!Fd(e))return e;for(const t in e)if(Od(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let l=e,r=!1;for(let e=0;e<o;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in l||(l[n[e]]=Yd()),!Fd(l[n[e]])){r=!0;break}l=l[n[e]]}r||(l[n[o]]=e[t],delete e[t]),Fd(l[n[o]])&&ag(l[n[o]])}else Fd(e[t])&&ag(e[t]);return e}function cg(e,t){const{messages:n,__i18n:o,messageResolver:l,flatJson:r}=t,s=zd(n)?n:Md(o)?Yd():{[e]:Yd()};if(Md(o)&&o.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||Yd(),Qd(n,s[t])):Qd(n,s)}else _d(e)&&Qd(JSON.parse(e),s)})),null==l&&r)for(const e in s)Od(s,e)&&ag(s[e]);return s}function ug(e){return e.type}function dg(e){return wl(sl,null,e,0)}const pg=()=>[],gg=()=>!1;let mg=0;function hg(e){return(t,n,o,l)=>e(n,o,Kl()||void 0,l)}function fg(e={}){const{__root:t,__injectWithOption:n}=e,o=void 0===t,l=e.flatJson,r=kd?Lt:Zt;let s=!Dd(e.inheritLocale)||e.inheritLocale;const i=r(t&&s?t.locale.value:_d(e.locale)?e.locale:bp),a=r(t&&s?t.fallbackLocale.value:_d(e.fallbackLocale)||Md(e.fallbackLocale)||zd(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i.value),c=r(cg(i.value,e)),u=r(zd(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=r(zd(e.numberFormats)?e.numberFormats:{[i.value]:{}});let p=t?t.missingWarn:!Dd(e.missingWarn)&&!xd(e.missingWarn)||e.missingWarn,g=t?t.fallbackWarn:!Dd(e.fallbackWarn)&&!xd(e.fallbackWarn)||e.fallbackWarn,m=t?t.fallbackRoot:!Dd(e.fallbackRoot)||e.fallbackRoot,h=!!e.fallbackFormat,f=Td(e.missing)?e.missing:null,b=Td(e.missing)?hg(e.missing):null,y=Td(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:!Dd(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter;const I=t?t.modifiers:zd(e.modifiers)?e.modifiers:{};let w,L=e.pluralRules||t&&t.pluralRules;w=(()=>{o&&Ip(null);const t={version:"12.0.0-alpha.2",locale:i.value,fallbackLocale:a.value,messages:c.value,modifiers:I,pluralRules:L,missing:null===b?void 0:b,missingWarn:p,fallbackWarn:g,fallbackFormat:h,unresolving:!0,postTranslation:null===y?void 0:y,warnHtmlMessage:C,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=zd(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=zd(w)?w.__numberFormatters:void 0;const n=Lp(t);return o&&Ip(n),n})(),Ap(w,i.value,a.value);const Z=Jl({get:()=>i.value,set:e=>{w.locale=e,i.value=e}}),k=Jl({get:()=>a.value,set:e=>{w.fallbackLocale=e,a.value=e,Ap(w,i.value,e)}}),A=Jl((()=>c.value)),W=Jl((()=>Object.keys(c.value).sort())),X=Jl((()=>u.value)),x=Jl((()=>d.value));const G=(e,n,l,r,s,p)=>{let g;i.value,a.value,c.value,u.value,d.value;try{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=t?vp:void 0),g=e(w)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if("translate exists"!==l&&Xd(g)&&-1===g||"translate exists"===l&&!g){const[e,o]=n();return t&&m?r(t):s(e)}if(p(g))return g;throw tg(Qp)};function R(...e){return G((t=>Reflect.apply(jp,null,[t,...e])),(()=>Ep(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>_d(e)))}const S={normalize:function(e){return e.map((e=>_d(e)||Xd(e)||Dd(e)?dg(String(e)):e))},interpolate:e=>e,type:"vnode"};function Y(e){let t=null;const n=function(e,t,n){const o=_d(n)?n:bp,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let r=l.__localeChainCache.get(o);if(!r){r=[];let e=[n];for(;Md(e);)e=gp(r,e,t);const s=Md(t)||!zd(t)?t:t.default?t.default:null;e=_d(s)?[s]:s,Md(e)&&gp(r,e,!1),l.__localeChainCache.set(o,r)}return r}(w,a.value,i.value);for(let o=0;o<n.length;o++){const l=c.value[n[o]]||{},r=w.messageResolver(l,e);if(null!=r){t=r;break}}return t}function N(e){return c.value[e]||{}}mg++,t&&kd&&(zo(t.locale,(e=>{s&&(i.value=e,w.locale=e,Ap(w,i.value,a.value))})),zo(t.fallbackLocale,(e=>{s&&(a.value=e,w.fallbackLocale=e,Ap(w,i.value,a.value))})));const K={id:mg,locale:Z,fallbackLocale:k,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&t&&(i.value=t.locale.value,a.value=t.fallbackLocale.value,Ap(w,i.value,a.value))},availableLocales:W,messages:A,get modifiers(){return I},get pluralRules(){return L||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(e){p=e,w.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(e){g=e,w.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,w.fallbackFormat=h},get warnHtmlMessage(){return C},set warnHtmlMessage(e){C=e,w.warnHtmlMessage=e},get escapeParameter(){return v},set escapeParameter(e){v=e,w.escapeParameter=e},t:R,getLocaleMessage:N,setLocaleMessage:function(e,t){if(l){const n={[e]:t};for(const e in n)Od(n,e)&&ag(n[e]);t=n[e]}c.value[e]=t,w.messages=c.value},mergeLocaleMessage:function(e,t){c.value[e]=c.value[e]||{};const n={[e]:t};if(l)for(const e in n)Od(n,e)&&ag(n[e]);Qd(t=n[e],c.value[e]),w.messages=c.value},getPostTranslationHandler:function(){return Td(y)?y:null},setPostTranslationHandler:function(e){y=e,w.postTranslation=e},getMissingHandler:function(){return f},setMissingHandler:function(e){null!==e&&(b=hg(e)),f=e,w.missing=b},[rg]:function(e){L=e,w.pluralRules=L}};return K.datetimeFormats=X,K.numberFormats=x,K.rt=function(...e){const[t,n,o]=e;if(o&&!Fd(o))throw tg(Up);return R(t,n,Rd({resolvedMessage:!0},o||{}))},K.te=function(e,t){return G((()=>{if(!e)return!1;const n=N(_d(t)?t:i.value),o=w.messageResolver(n,e);return qd(o)||Vp(o)||_d(o)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),gg,(e=>Dd(e)))},K.tm=function(e){return Y(e)??(t&&t.tm(e)||{})},K.d=function(...e){return G((t=>Reflect.apply(xp,null,[t,...e])),(()=>Rp(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>_d(e)))},K.n=function(...e){return G((t=>Reflect.apply(Yp,null,[t,...e])),(()=>Kp(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>_d(e)))},K.getDateTimeFormat=function(e){return u.value[e]||{}},K.setDateTimeFormat=function(e,t){u.value[e]=t,w.datetimeFormats=u.value,Sp(w,e,t)},K.mergeDateTimeFormat=function(e,t){u.value[e]=Rd(u.value[e]||{},t),w.datetimeFormats=u.value,Sp(w,e,t)},K.getNumberFormat=function(e){return d.value[e]||{}},K.setNumberFormat=function(e,t){d.value[e]=t,w.numberFormats=d.value,Hp(w,e,t)},K.mergeNumberFormat=function(e,t){d.value[e]=Rd(d.value[e]||{},t),w.numberFormats=d.value,Hp(w,e,t)},K[sg]=n,K[ng]=function(...e){return G((t=>{let n;const o=t;try{o.processor=S,n=Reflect.apply(jp,null,[o,...e])}finally{o.processor=null}return n}),(()=>Ep(...e)),"translate",(t=>t[ng](...e)),(e=>[dg(e)]),(e=>Md(e)))},K[og]=function(...e){return G((t=>Reflect.apply(xp,null,[t,...e])),(()=>Rp(...e)),"datetime format",(t=>t[og](...e)),pg,(e=>_d(e)||Md(e)))},K[lg]=function(...e){return G((t=>Reflect.apply(Yp,null,[t,...e])),(()=>Kp(...e)),"number format",(t=>t[lg](...e)),pg,(e=>_d(e)||Md(e)))},K}const bg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function yg(){return rl}function Cg(e,t,n,o){const{slots:l,attrs:r}=t;return()=>{const t={part:!0};let s=Yd();e.locale&&(t.locale=e.locale),_d(e.format)?t.key=e.format:Fd(e.format)&&(_d(e.format.key)&&(t.key=e.format.key),s=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?Rd(Yd(),t,{[o]:e.format[o]}):t),Yd()));const i=o(e.value,t,s);let a=[t.key];Md(i)?a=i.map(((e,t)=>{const n=l[e.type],o=n?n({[e.type]:e.value,index:t,parts:i}):[e.value];return function(e){return Md(e)&&!_d(e[0])}(o)&&(o[0].key=`${e.type}-${t}`),o})):_d(i)&&(a=[i]);const c=Rd(Yd(),r);return El(_d(e.tag)||Fd(e.tag)?e.tag:yg(),c,a)}}const vg=Zn({name:"i18n-d",props:Rd({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bg),setup(e,t){const n=e.i18n||Zg({useScope:e.scope,__useComponent:!0});return Cg(e,t,Gp,((...e)=>n[og](...e)))}}),Ig=Zn({name:"i18n-n",props:Rd({value:{type:Number,required:!0},format:{type:[String,Object]}},bg),setup(e,t){const n=e.i18n||Zg({useScope:e.scope,__useComponent:!0});return Cg(e,t,Np,((...e)=>n[lg](...e)))}}),wg=Zn({name:"i18n-t",props:Rd({},{keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Xd(e)||!isNaN(e)}},bg),setup(e,t){const{slots:n,attrs:o}=t,l=e.i18n||Zg({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter((e=>"_"!==e)),s=Yd();e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=_d(e.plural)?+e.plural:e.plural);const i=function({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===rl?t.children:[t]]),[]):t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),Yd())}(t,r),a=l[ng](e.keypath,i,s),c=Rd(Yd(),o);return El(_d(e.tag)||Fd(e.tag)?e.tag:yg(),c,a)}}});const Lg=Ad("global-vue-i18n");function Zg(e={}){const t=Kl();if(null==t)throw tg(Pp);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw tg($p);const n=function(e){const t=vo(e.isCE?Lg:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw tg(e.isCE?qp:eg);return t}(t),o=function(e){return e.global}(n),l=ug(t),r=function(e,t){return Gd(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,l);if("global"===r)return function(e,t,n){let o=Fd(t.messages)?t.messages:Yd();"__i18nGlobal"in n&&(o=cg(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const l=Object.keys(o);if(l.length&&l.forEach((t=>{e.mergeLocaleMessage(t,o[t])})),Fd(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(Fd(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}(o,e,l),o;if("parent"===r){let l=function(e,t,n=!1){let o=null;const l=t.root;let r=function(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}(t,n);for(;null!=r&&(o=e.__getInstance(r),null==o&&l!==r);)r=r.parent;return o}(n,t,e.__useComponent);return null==l&&(l=o),l}const s=n;let i=s.__getInstance(t);if(null==i){const n=Rd({},e);"__i18n"in l&&(n.__i18n=l.__i18n),o&&(n.__root=o),i=fg(n),s.__composerExtend&&(i[ig]=s.__composerExtend(i)),function(e,t,n){Hn((()=>{}),t),Tn((()=>{const o=n;e.__deleteInstance(t);const l=o[ig];l&&(l(),delete o[ig])}),t)}(s,t,i),s.__setInstance(t,i)}return i}const kg=["locale","fallbackLocale","availableLocales"],Ag=["t","rt","d","n","tm","te"];if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(Kd().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Kd().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Kd().__INTLIFY_PROD_DEVTOOLS__=!1),__INTLIFY_PROD_DEVTOOLS__){const e=Kd();e.__INTLIFY__=!0,function(e){ep=e}(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Wg={class:"flex h-full flex-col justify-between gap-2"},Xg={class:"h-full overflow-hidden"},xg={class:"h-full overflow-y-auto p-2 pb-0",id:"chat-messages-container"},Gg={key:0,class:"flex h-full items-center justify-center font-semibold"},Rg={key:1},Sg={key:0,class:"inline-block max-w-[80%] rounded bg-primary px-3 py-2 text-white"},Yg={class:"p-2 pt-0"},Ng={class:"flex w-full justify-between bg-white p-1 dark:bg-zinc-900"},Kg={class:"flex items-center gap-1"},Hg={class:"flex items-center gap-2"},Bg=Zn({__name:"Index",setup(e){const{t:t}=Zg(),{messages:n,userInput:o,sendMessage:l,isLoading:r,clearChat:s}=sc(),i=Lt(!1);return(e,a)=>(dl(),hl("div",Wg,[Il("div",Xg,[Il("div",xg,[0===Wt(n).length?(dl(),hl("h3",Gg,U(Wt(t)("helpPrompt")),1)):(dl(),hl("div",Rg,[(dl(!0),hl(rl,null,En(Wt(n),((e,t)=>(dl(),hl("div",{key:t,class:"mb-2"},[Il("div",{class:j("user"===e.role?"text-right":"text-left")},["user"===e.role?(dl(),hl("span",Sg,U(e.content),1)):(dl(),fl(wd,{key:1,class:"inline-block max-w-[80%] rounded bg-gray-200 px-3 py-2 dark:bg-zinc-800",content:e.content},null,8,["content"]))],2)])))),128))]))])]),Il("div",Yg,[Il("div",{class:j([{"!border-primary":Wt(i)},"relative mx-auto w-full max-w-[666px] overflow-hidden rounded-md border duration-200 hover:border-primary/40 dark:border-zinc-700"])},[Wt(r)?Al("",!0):(dl(),fl(Wt($a),{key:0,disabled:Wt(r),onKeydown:a[0]||(a[0]=Rr(xr((e=>Wt(l)(Wt(o))),["exact","prevent"]),["enter"])),modelValue:Wt(o),"onUpdate:modelValue":a[1]||(a[1]=e=>wt(o)?o.value=e:null),class:j([Wt(i)?"h-[84px]":"h-[32px]","mb-2 resize-none transition-all duration-200"]),onBlur:a[2]||(a[2]=e=>i.value=!1),placeholder:Wt(t)("askAnything"),onClick:a[3]||(a[3]=e=>i.value=!0)},null,8,["disabled","modelValue","class","placeholder"])),Il("div",Ng,[Il("div",Kg,[wl(Wt(qa),{disabled:Wt(r),class:"size-8 rounded-full border p-0 text-neutral-600 hover:bg-neutral-200",variant:"secondary",onClick:Wt(s)},{default:un((()=>[wl(Wt(Zd),{class:"text-lg"})])),_:1},8,["disabled","onClick"])]),Il("div",Hg,[Wt(r)?(dl(),fl(lc,{key:0,class:"m-[5px]"})):Al("",!0),wl(Wt(qa),{disabled:Wt(r),class:"size-8 rounded-full p-0",onClick:a[4]||(a[4]=e=>Wt(l)(Wt(o)))},{default:un((()=>[wl(Wt(nc),{class:"text-lg"})])),_:1},8,["disabled"])])])],2)])]))}}),Og={class:"flex h-full select-none items-center justify-center text-xl text-white [&>*]:size-8"},Mg={class:"flex h-10 items-center justify-between bg-primary p-2"},Tg={class:"text-sm text-white"},_g={class:"flex items-center"},Dg={class:"h-[calc(100%-40px)] overflow-auto"},Fg=Zn({__name:"N8nEmbeddedChatInterface",props:{label:String,description:String,token:String,organisationId:String,assistant:String,hostname:String,mode:String,openOnStart:String,primaryColor:String,secondaryColor:String,backgroundColor:String,textColor:String,accentColor:String,surfaceColor:String,borderColor:String,successColor:String,warningColor:String,errorColor:String},setup(e){const{isMaximized:t,show:n,appConfig:o}=rc(),l=e;!function(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,l=wt(e),r=Lt(e);function s(e){if(arguments.length)return r.value=e,r.value;{const e=xa(n);return r.value=r.value===e?xa(o):e,r.value}}}(Ua());const r=(s=l.mode,console.log("input",s),s&&"n8n"===s?s:"n8n");var s;return Kn((()=>{n.value="true"===l.openOnStart,o.value={label:l.label??"",description:l.description??"",hostname:l.hostname??"",mode:r},console.log("appConfig",JSON.stringify(o.value,null,2))})),(e,l)=>(dl(),hl(rl,null,[Il("div",{class:"fixed bottom-4 right-4 size-14 cursor-pointer rounded-full bg-primary",onClick:l[0]||(l[0]=e=>n.value=!Wt(n))},[Il("span",Og,[Wt(n)?(dl(),fl(Wt(Za),{key:1})):(dl(),fl(Wt(wa),{key:0}))])]),Wt(n)?(dl(),hl("div",{key:0,class:j([Wt(t)?"inset-0":"shadow-main-ui bottom-20 right-4 h-[460px] w-80 rounded-md border","fixed overflow-hidden bg-white dark:bg-neutral-950"])},[Il("div",Mg,[Il("h1",Tg,U(Wt(o).label),1),Il("div",_g,[Il("button",{class:"flex size-7 cursor-pointer items-center justify-center rounded-md text-white hover:bg-white/15",onClick:l[1]||(l[1]=e=>t.value=!Wt(t))},[Wt(t)?(dl(),fl(Wt(Aa),{key:1})):(dl(),fl(Wt(va),{key:0}))])])]),Il("div",Dg,["n8n"===Wt(o).mode?(dl(),fl(Bg,{key:0})):Al("",!0)])],2)):Al("",!0),wl(ya)],64))}}),Vg=function(e={}){const t=!Dd(e.globalInjection)||e.globalInjection,n=new Map,[o,l]=function(e){const t=ne(),n=t.run((()=>fg(e)));if(null==n)throw tg(eg);return[t,n]}(e),r=Ad(""),s={async install(e,...n){if(e.__VUE_I18N_SYMBOL__=r,e.provide(e.__VUE_I18N_SYMBOL__,s),zd(n[0])){const e=n[0];s.__composerExtend=e.__composerExtend}let o=null;t&&(o=function(e,t){const n=Object.create(null);return kg.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw tg(eg);const l=wt(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,l)})),e.config.globalProperties.$i18n=n,Ag.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw tg(eg);Object.defineProperty(e.config.globalProperties,`$${n}`,o)})),()=>{delete e.config.globalProperties.$i18n,Ag.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))}}(e,s.global)),__VUE_I18N_FULL_INSTALL__&&function(e,...t){const n=zd(t[0])?t[0]:{};(!Dd(n.globalInstall)||n.globalInstall)&&([wg.name,"I18nT"].forEach((t=>e.component(t,wg))),[Ig.name,"I18nN"].forEach((t=>e.component(t,Ig))),[vg.name,"I18nD"].forEach((t=>e.component(t,vg))))}(e,...n);const l=e.unmount;e.unmount=()=>{o&&o(),s.dispose(),l()}},get global(){return l},dispose(){o.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return s}({locale:"en",fallbackLocale:"en",messages:{en:{uploadingArtifacts:"Uploading artifacts",thinking:"Thinking...",helpPrompt:"What can I help with?",askAnything:"Ask anything..."},de:{uploadingArtifacts:"Lade Anhänge hoch",thinking:"Denke nach...",helpPrompt:"Womit kann ich helfen?",askAnything:"Frag mich..."}}}),jg=e=>{if(!e||"string"!=typeof e)return!1;const t=e.trim();return/^#[0-9A-Fa-f]{3,8}$/.test(t)||/^rgba?\(\s*([01]?\d\d?|2[0-4]\d|25[0-5])\s*,\s*([01]?\d\d?|2[0-4]\d|25[0-5])\s*,\s*([01]?\d\d?|2[0-4]\d|25[0-5])\s*(?:,\s*[01]?\.?\d*)?\s*\)$/.test(t)||/^hsla?\(\s*([0-2]?\d?\d|3[0-5]\d|360)\s*,\s*([01]?\d?\d|100)%\s*,\s*([01]?\d?\d|100)%\s*(?:,\s*[01]?\.?\d*)?\s*\)$/.test(t)||["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgrey","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgrey","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent"].includes(t.toLowerCase())};class zg extends HTMLElement{connectedCallback(){this.shadowRoot||this.attachShadow({mode:"open"});const e=document.createElement("div");this.shadowRoot&&this.shadowRoot.appendChild(e);const t={};for(const e of this.getAttributeNames()){t[e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))]=this.getAttribute(e)}const n=Nr(Fg,t);n.use(Vg),n.mount(e)}generateCustomColorCSS(){const e={primaryColor:this.getAttribute("primary-color")||void 0,secondaryColor:this.getAttribute("secondary-color")||void 0,backgroundColor:this.getAttribute("background-color")||void 0,textColor:this.getAttribute("text-color")||void 0,accentColor:this.getAttribute("accent-color")||void 0,surfaceColor:this.getAttribute("surface-color")||void 0,borderColor:this.getAttribute("border-color")||void 0,successColor:this.getAttribute("success-color")||void 0,warningColor:this.getAttribute("warning-color")||void 0,errorColor:this.getAttribute("error-color")||void 0},{generateCustomColorCSS:t}=(e=>{const t=()=>{const t={};return Object.entries(e).forEach((([e,n])=>{n&&jg(n)&&(t[e]=n)})),t};return{generateCustomColorCSS:()=>{try{const t={"--custom-primary":e.primaryColor,"--custom-secondary":e.secondaryColor,"--custom-background":e.backgroundColor,"--custom-text":e.textColor,"--custom-accent":e.accentColor,"--custom-surface":e.surfaceColor,"--custom-border":e.borderColor,"--custom-success":e.successColor,"--custom-warning":e.warningColor,"--custom-error":e.errorColor};let n="\n\n/* Custom Colors */\n:host, :root {\n";return Object.entries(t).forEach((([e,t])=>{t&&jg(t)?n+=`  ${e}: ${t};\n`:t&&console.warn(`Invalid color value provided for ${e}: ${t}`)})),n+="}\n\n",e.primaryColor&&jg(e.primaryColor)&&(n+=".bg-primary { background-color: var(--custom-primary) !important; }\n",n+=".text-primary { color: var(--custom-primary) !important; }\n",n+=".border-primary { border-color: var(--custom-primary) !important; }\n"),e.secondaryColor&&jg(e.secondaryColor)&&(n+=".bg-secondary { background-color: var(--custom-secondary) !important; }\n",n+=".text-secondary { color: var(--custom-secondary) !important; }\n"),e.backgroundColor&&jg(e.backgroundColor)&&(n+=".bg-white { background-color: var(--custom-background) !important; }\n"),e.textColor&&jg(e.textColor)&&(n+=".text-white { color: var(--custom-text) !important; }\n",n+=".text-black { color: var(--custom-text) !important; }\n"),e.surfaceColor&&jg(e.surfaceColor)&&(n+=".bg-surface-0, .bg-surface-50 { background-color: var(--custom-surface) !important; }\n"),e.borderColor&&jg(e.borderColor)&&(n+=".border, .border-gray-200 { border-color: var(--custom-border) !important; }\n"),n}catch(e){return console.error("Error generating custom color CSS:",e),""}},getValidatedColors:t,hasValidColors:()=>Object.keys(t()).length>0,validateColor:jg}})(e);return t()}}fetch(new URL("data:text/css;base64,KiwgOjpiZWZvcmUsIDo6YWZ0ZXIgewogIC0tdHctYm9yZGVyLXNwYWNpbmcteDogMDsKICAtLXR3LWJvcmRlci1zcGFjaW5nLXk6IDA7CiAgLS10dy10cmFuc2xhdGUteDogMDsKICAtLXR3LXRyYW5zbGF0ZS15OiAwOwogIC0td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JvdW5kLXBvc2l0aW9uOiAxMDAlIDUwJTsKICB9CgogIDEwMCUgewogICAgYmFja2dyb3VuZC1wb3NpdGlvbjogMCUgNTAlOwogIH0KfQoKLmNvbnRhaW5lciB7CiAgd2lkdGg6IDEwMCU7Cn0KCkBtZWRpYSAobWluLXdpZHRoOiAzNzVweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiAzNzVweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA0MjVweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA0MjVweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA1MDBweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA1MDBweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA1NzZweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA1NzZweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA2NTBweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA2NTBweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA3NjhweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA3NjhweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA4NTBweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA4NTBweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiA5OTJweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiA5OTJweDsKICB9Cn0KCkBtZWRpYSAobWluLXdpZHRoOiAxMDUwcHgpIHsKICAuY29udGFpbmVyIHsKICAgIG1heC13aWR0aDogMTA1MHB4OwogIH0KfQoKQG1lZGlhIChtaW4td2lkdGg6IDEyMDBweCkgewogIC5jb250YWluZXIgewogICAgbWF4LXdpZHRoOiAxMjAwcHg7CiAgfQp9CgpAbWVkaWEgKG1pbi13aWR0aDogMTMyMHB4KSB7C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gd2lkdGg6IDFyZW07CiAgaGVpZ2h0OiAxcmVtOwp9CgouXFtcJl9zdmdcXVw6c2hyaW5rLTAgc3ZnIHsKICBmbGV4LXNocmluazogMDsKfQo=",typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:n&&"SCRIPT"===n.tagName.toUpperCase()&&n.src||new URL("index.js",document.baseURI).href)).then((e=>e.text())).then((e=>{customElements.define("n8n-embedded-chat-interface",class extends zg{connectedCallback(){super.connectedCallback();try{const t=document.createElement("style");t.textContent=e+this.generateCustomColorCSS(),this.shadowRoot&&this.shadowRoot.appendChild(t)}catch(t){console.warn("Failed to inject custom colors:",t);try{const t=document.createElement("style");t.textContent=e,this.shadowRoot&&this.shadowRoot.appendChild(t)}catch(e){console.error("Critical error: Failed to inject any styles:",e)}}}})}))}));
//# sourceMappingURL=/sm/b14eb4664ecbd54b4040a1f28eb393c34fcd003041a39fad09fbce0e02eeb747.map