@n8n/chat 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ (function(Jt,tr){typeof exports=="object"&&typeof module<"u"?tr(exports):typeof define=="function"&&define.amd?define(["exports"],tr):(Jt=typeof globalThis<"u"?globalThis:Jt||self,tr(Jt.N8nChat={}))})(this,function(Jt){"use strict";const tr="";function lt(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ue=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Yt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],we=()=>{},Vs=()=>!1,xl=/^on[^a-z]/,vn=t=>xl.test(t),nr=t=>t.startsWith("onUpdate:"),pe=Object.assign,ao=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},wl=Object.prototype.hasOwnProperty,re=(t,e)=>wl.call(t,e),G=Array.isArray,wt=t=>rr(t)==="[object Map]",Ps=t=>rr(t)==="[object Set]",ee=t=>typeof t=="function",de=t=>typeof t=="string",lo=t=>typeof t=="symbol",ae=t=>t!==null&&typeof t=="object",uo=t=>ae(t)&&ee(t.then)&&ee(t.catch),Bs=Object.prototype.toString,rr=t=>Bs.call(t),fo=t=>rr(t).slice(8,-1),$s=t=>rr(t)==="[object Object]",po=t=>de(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,or=lt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kl=lt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),sr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Cl=/-(\w)/g,Xt=sr(t=>t.replace(Cl,(e,n)=>n?n.toUpperCase():"")),Dl=/\B([A-Z])/g,ot=sr(t=>t.replace(Dl,"-$1").toLowerCase()),cr=sr(t=>t.charAt(0).toUpperCase()+t.slice(1)),kt=sr(t=>t?`on${cr(t)}`:""),En=(t,e)=>!Object.is(t,e),Qt=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},ir=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ho=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Al=t=>{const e=de(t)?Number(t):NaN;return isNaN(e)?t:e};let Us;const ar=()=>Us||(Us=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function go(t){if(G(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=de(r)?Ol(r):go(r);if(o)for(const s in o)e[s]=o[s]}return e}else{if(de(t))return t;if(ae(t))return t}}const Nl=/;(?![^(]*\))/g,Sl=/:([^]+)/,Tl=/\/\*[^]*?\*\//g;function Ol(t){const e={};return t.replace(Tl,"").split(Nl).forEach(n=>{if(n){const r=n.split(Sl);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function yn(t){let e="";if(de(t))e=t;else if(G(t))for(let n=0;n<t.length;n++){const r=yn(t[n]);r&&(e+=r+" ")}else if(ae(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const ql="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Rl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ll=lt(ql),Il=lt(Rl),Ml=lt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function zs(t){return!!t||t===""}const lr=t=>de(t)?t:t==null?"":G(t)||ae(t)&&(t.toString===Bs||!ee(t.toString))?JSON.stringify(t,Hs,2):String(t),Hs=(t,e)=>e&&e.__v_isRef?Hs(t,e.value):wt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Ps(e)?{[`Set(${e.size})`]:[...e.values()]}:ae(e)&&!G(e)&&!$s(e)?String(e):e;function mo(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let Ue;class Fl{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!e&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ue;try{return Ue=this,e()}finally{Ue=n}}else process.env.NODE_ENV!=="production"&&mo("cannot run an inactive effect scope.")}on(){Ue=this}off(){Ue=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Vl(t,e=Ue){e&&e.active&&e.effects.push(t)}function Pl(){return Ue}const xn=t=>{const e=new Set(t);return e.w=0,e.n=0,e},js=t=>(t.w&ut)>0,Gs=t=>(t.n&ut)>0,Bl=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=ut},$l=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];js(o)&&!Gs(o)?o.delete(t):e[n++]=o,o.w&=~ut,o.n&=~ut}e.length=n}},ur=new WeakMap;let wn=0,ut=1;const bo=30;let Se;const Ct=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),_o=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class vo{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Vl(this,r)}run(){if(!this.active)return this.fn();let e=Se,n=ft;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Se,Se=this,ft=!0,ut=1<<++wn,wn<=bo?Bl(this):Zs(this),this.fn()}finally{wn<=bo&&$l(this),ut=1<<--wn,Se=this.parent,ft=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Se===this?this.deferStop=!0:this.active&&(Zs(this),this.onStop&&this.onStop(),this.active=!1)}}function Zs(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let ft=!0;const Ks=[];function Dt(){Ks.push(ft),ft=!1}function At(){const t=Ks.pop();ft=t===void 0?!0:t}function ke(t,e,n){if(ft&&Se){let r=ur.get(t);r||ur.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=xn());const s=process.env.NODE_ENV!=="production"?{effect:Se,target:t,type:e,key:n}:void 0;Eo(o,s)}}function Eo(t,e){let n=!1;wn<=bo?Gs(t)||(t.n|=ut,n=!js(t)):n=!t.has(Se),n&&(t.add(Se),Se.deps.push(t),process.env.NODE_ENV!=="production"&&Se.onTrack&&Se.onTrack(pe({effect:Se},e)))}function Ze(t,e,n,r,o,s){const c=ur.get(t);if(!c)return;let i=[];if(e==="clear")i=[...c.values()];else if(n==="length"&&G(t)){const l=Number(r);c.forEach((u,f)=>{(f==="length"||f>=l)&&i.push(u)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":G(t)?po(n)&&i.push(c.get("length")):(i.push(c.get(Ct)),wt(t)&&i.push(c.get(_o)));break;case"delete":G(t)||(i.push(c.get(Ct)),wt(t)&&i.push(c.get(_o)));break;case"set":wt(t)&&i.push(c.get(Ct));break}const a=process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:r,oldValue:o,oldTarget:s}:void 0;if(i.length===1)i[0]&&(process.env.NODE_ENV!=="production"?en(i[0],a):en(i[0]));else{const l=[];for(const u of i)u&&l.push(...u);process.env.NODE_ENV!=="production"?en(xn(l),a):en(xn(l))}}function en(t,e){const n=G(t)?t:[...t];for(const r of n)r.computed&&Ws(r,e);for(const r of n)r.computed||Ws(r,e)}function Ws(t,e){(t!==Se||t.allowRecurse)&&(process.env.NODE_ENV!=="production"&&t.onTrigger&&t.onTrigger(pe({effect:t},e)),t.scheduler?t.scheduler():t.run())}function Ul(t,e){var n;return(n=ur.get(t))==null?void 0:n.get(e)}const zl=lt("__proto__,__v_isRef,__isVue"),Js=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(lo)),Hl=fr(),jl=fr(!1,!0),Gl=fr(!0),Zl=fr(!0,!0),Ys=Kl();function Kl(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=te(this);for(let s=0,c=this.length;s<c;s++)ke(r,"get",s+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(te)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Dt();const r=te(this)[e].apply(this,n);return At(),r}}),t}function Wl(t){const e=te(this);return ke(e,"has",t),e.hasOwnProperty(t)}function fr(t=!1,e=!1){return function(r,o,s){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&s===(t?e?lc:ac:e?ic:cc).get(r))return r;const c=G(r);if(!t){if(c&&re(Ys,o))return Reflect.get(Ys,o,s);if(o==="hasOwnProperty")return Wl}const i=Reflect.get(r,o,s);return(lo(o)?Js.has(o):zl(o))||(t||ke(r,"get",o),e)?i:be(i)?c&&po(o)?i:i.value:ae(i)?t?uc(i):xo(i):i}}const Jl=Xs(),Yl=Xs(!0);function Xs(t=!1){return function(n,r,o,s){let c=n[r];if(dt(c)&&be(c)&&!be(o))return!1;if(!t&&(!Er(o)&&!dt(o)&&(c=te(c),o=te(o)),!G(n)&&be(c)&&!be(o)))return c.value=o,!0;const i=G(n)&&po(r)?Number(r)<n.length:re(n,r),a=Reflect.set(n,r,o,s);return n===te(s)&&(i?En(o,c)&&Ze(n,"set",r,o,c):Ze(n,"add",r,o)),a}}function Xl(t,e){const n=re(t,e),r=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&Ze(t,"delete",e,void 0,r),o}function Ql(t,e){const n=Reflect.has(t,e);return(!lo(e)||!Js.has(e))&&ke(t,"has",e),n}function eu(t){return ke(t,"iterate",G(t)?"length":Ct),Reflect.ownKeys(t)}const Qs={get:Hl,set:Jl,deleteProperty:Xl,has:Ql,ownKeys:eu},ec={get:Gl,set(t,e){return process.env.NODE_ENV!=="production"&&mo(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0},deleteProperty(t,e){return process.env.NODE_ENV!=="production"&&mo(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}},tu=pe({},Qs,{get:jl,set:Yl}),nu=pe({},ec,{get:Zl}),yo=t=>t,pr=t=>Reflect.getPrototypeOf(t);function dr(t,e,n=!1,r=!1){t=t.__v_raw;const o=te(t),s=te(e);n||(e!==s&&ke(o,"get",e),ke(o,"get",s));const{has:c}=pr(o),i=r?yo:n?wo:Cn;if(c.call(o,e))return i(t.get(e));if(c.call(o,s))return i(t.get(s));t!==o&&t.get(e)}function hr(t,e=!1){const n=this.__v_raw,r=te(n),o=te(t);return e||(t!==o&&ke(r,"has",t),ke(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function gr(t,e=!1){return t=t.__v_raw,!e&&ke(te(t),"iterate",Ct),Reflect.get(t,"size",t)}function tc(t){t=te(t);const e=te(this);return pr(e).has.call(e,t)||(e.add(t),Ze(e,"add",t,t)),this}function nc(t,e){e=te(e);const n=te(this),{has:r,get:o}=pr(n);let s=r.call(n,t);s?process.env.NODE_ENV!=="production"&&sc(n,r,t):(t=te(t),s=r.call(n,t));const c=o.call(n,t);return n.set(t,e),s?En(e,c)&&Ze(n,"set",t,e,c):Ze(n,"add",t,e),this}function rc(t){const e=te(this),{has:n,get:r}=pr(e);let o=n.call(e,t);o?process.env.NODE_ENV!=="production"&&sc(e,n,t):(t=te(t),o=n.call(e,t));const s=r?r.call(e,t):void 0,c=e.delete(t);return o&&Ze(e,"delete",t,void 0,s),c}function oc(){const t=te(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?wt(t)?new Map(t):new Set(t):void 0,r=t.clear();return e&&Ze(t,"clear",void 0,void 0,n),r}function mr(t,e){return function(r,o){const s=this,c=s.__v_raw,i=te(c),a=e?yo:t?wo:Cn;return!t&&ke(i,"iterate",Ct),c.forEach((l,u)=>r.call(o,a(l),a(u),s))}}function br(t,e,n){return function(...r){const o=this.__v_raw,s=te(o),c=wt(s),i=t==="entries"||t===Symbol.iterator&&c,a=t==="keys"&&c,l=o[t](...r),u=n?yo:e?wo:Cn;return!e&&ke(s,"iterate",a?_o:Ct),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function pt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${cr(t)} operation ${n}failed: target is readonly.`,te(this))}return t==="delete"?!1:this}}function ru(){const t={get(s){return dr(this,s)},get size(){return gr(this)},has:hr,add:tc,set:nc,delete:rc,clear:oc,forEach:mr(!1,!1)},e={get(s){return dr(this,s,!1,!0)},get size(){return gr(this)},has:hr,add:tc,set:nc,delete:rc,clear:oc,forEach:mr(!1,!0)},n={get(s){return dr(this,s,!0)},get size(){return gr(this,!0)},has(s){return hr.call(this,s,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:mr(!0,!1)},r={get(s){return dr(this,s,!0,!0)},get size(){return gr(this,!0)},has(s){return hr.call(this,s,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:mr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=br(s,!1,!1),n[s]=br(s,!0,!1),e[s]=br(s,!1,!0),r[s]=br(s,!0,!0)}),[t,n,e,r]}const[ou,su,cu,iu]=ru();function _r(t,e){const n=e?t?iu:cu:t?su:ou;return(r,o,s)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(re(n,o)&&o in r?n:r,o,s)}const au={get:_r(!1,!1)},lu={get:_r(!1,!0)},uu={get:_r(!0,!1)},fu={get:_r(!0,!0)};function sc(t,e,n){const r=te(n);if(r!==n&&e.call(t,r)){const o=fo(t);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const cc=new WeakMap,ic=new WeakMap,ac=new WeakMap,lc=new WeakMap;function pu(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function du(t){return t.__v_skip||!Object.isExtensible(t)?0:pu(fo(t))}function xo(t){return dt(t)?t:vr(t,!1,Qs,au,cc)}function hu(t){return vr(t,!1,tu,lu,ic)}function uc(t){return vr(t,!0,ec,uu,ac)}function kn(t){return vr(t,!0,nu,fu,lc)}function vr(t,e,n,r,o){if(!ae(t))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=o.get(t);if(s)return s;const c=du(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return o.set(t,i),i}function Nt(t){return dt(t)?Nt(t.__v_raw):!!(t&&t.__v_isReactive)}function dt(t){return!!(t&&t.__v_isReadonly)}function Er(t){return!!(t&&t.__v_isShallow)}function yr(t){return Nt(t)||dt(t)}function te(t){const e=t&&t.__v_raw;return e?te(e):t}function fc(t){return ir(t,"__v_skip",!0),t}const Cn=t=>ae(t)?xo(t):t,wo=t=>ae(t)?uc(t):t;function pc(t){ft&&Se&&(t=te(t),process.env.NODE_ENV!=="production"?Eo(t.dep||(t.dep=xn()),{target:t,type:"get",key:"value"}):Eo(t.dep||(t.dep=xn())))}function dc(t,e){t=te(t);const n=t.dep;n&&(process.env.NODE_ENV!=="production"?en(n,{target:t,type:"set",key:"value",newValue:e}):en(n))}function be(t){return!!(t&&t.__v_isRef===!0)}function tn(t){return gu(t,!1)}function gu(t,e){return be(t)?t:new mu(t,e)}class mu{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:te(e),this._value=n?e:Cn(e)}get value(){return pc(this),this._value}set value(e){const n=this.__v_isShallow||Er(e)||dt(e);e=n?e:te(e),En(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Cn(e),dc(this,e))}}function ge(t){return be(t)?t.value:t}const bu={get:(t,e,n)=>ge(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return be(o)&&!be(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function hc(t){return Nt(t)?t:new Proxy(t,bu)}function _u(t){process.env.NODE_ENV!=="production"&&!yr(t)&&console.warn("toRefs() expects a reactive object but received a plain one.");const e=G(t)?new Array(t.length):{};for(const n in t)e[n]=Eu(t,n);return e}class vu{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Ul(te(this._object),this._key)}}function Eu(t,e,n){const r=t[e];return be(r)?r:new vu(t,e,n)}class yu{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new vo(e,()=>{this._dirty||(this._dirty=!0,dc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=te(this);return pc(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function xu(t,e,n=!1){let r,o;const s=ee(t);s?(r=t,o=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:we):(r=t.get,o=t.set);const c=new yu(r,o,s||!o,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(c.effect.onTrack=e.onTrack,c.effect.onTrigger=e.onTrigger),c}const St=[];function xr(t){St.push(t)}function wr(){St.pop()}function O(t,...e){if(process.env.NODE_ENV==="production")return;Dt();const n=St.length?St[St.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=wu();if(r)st(r,n,11,[t+e.join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Pr(n,s.type)}>`).join(`
2
+ `),o]);else{const s=[`[Vue warn]: ${t}`,...e];o.length&&s.push(`
3
+ `,...ku(o)),console.warn(...s)}At()}function wu(){let t=St[St.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function ku(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
4
+ `],...Cu(n))}),e}function Cu({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,o=` at <${Pr(t.component,t.type,r)}`,s=">"+n;return t.props?[o,...Du(t.props),s]:[o+s]}function Du(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...gc(r,t[r]))}),n.length>3&&e.push(" ..."),e}function gc(t,e,n){return de(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:be(e)?(e=gc(t,te(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):ee(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=te(e),n?e:[`${t}=`,e])}function Au(t,e){process.env.NODE_ENV!=="production"&&t!==void 0&&(typeof t!="number"?O(`${e} is not a valid number - got ${JSON.stringify(t)}.`):isNaN(t)&&O(`${e} is NaN - the duration expression might be incorrect.`))}const ko={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function st(t,e,n,r){let o;try{o=r?t(...r):t()}catch(s){kr(s,e,n)}return o}function Me(t,e,n,r){if(ee(t)){const s=st(t,e,n,r);return s&&uo(s)&&s.catch(c=>{kr(c,e,n)}),s}const o=[];for(let s=0;s<t.length;s++)o.push(Me(t[s],e,n,r));return o}function kr(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let s=e.parent;const c=e.proxy,i=process.env.NODE_ENV!=="production"?ko[n]:n;for(;s;){const l=s.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](t,c,i)===!1)return}s=s.parent}const a=e.appContext.config.errorHandler;if(a){st(a,null,10,[t,c,i]);return}}Nu(t,n,o,r)}function Nu(t,e,n,r=!0){if(process.env.NODE_ENV!=="production"){const o=ko[e];if(n&&xr(n),O(`Unhandled error${o?` during execution of ${o}`:""}`),n&&wr(),r)throw t;console.error(t)}else console.error(t)}let Dn=!1,Co=!1;const De=[];let Ke=0;const nn=[];let We=null,ht=0;const mc=Promise.resolve();let Do=null;const Su=100;function rn(t){const e=Do||mc;return t?e.then(this?t.bind(this):t):e}function Tu(t){let e=Ke+1,n=De.length;for(;e<n;){const r=e+n>>>1;An(De[r])<t?e=r+1:n=r}return e}function Cr(t){(!De.length||!De.includes(t,Dn&&t.allowRecurse?Ke+1:Ke))&&(t.id==null?De.push(t):De.splice(Tu(t.id),0,t),bc())}function bc(){!Dn&&!Co&&(Co=!0,Do=mc.then(yc))}function Ou(t){const e=De.indexOf(t);e>Ke&&De.splice(e,1)}function _c(t){G(t)?nn.push(...t):(!We||!We.includes(t,t.allowRecurse?ht+1:ht))&&nn.push(t),bc()}function vc(t,e=Dn?Ke+1:0){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);e<De.length;e++){const n=De[e];if(n&&n.pre){if(process.env.NODE_ENV!=="production"&&Ao(t,n))continue;De.splice(e,1),e--,n()}}}function Ec(t){if(nn.length){const e=[...new Set(nn)];if(nn.length=0,We){We.push(...e);return}for(We=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),We.sort((n,r)=>An(n)-An(r)),ht=0;ht<We.length;ht++)process.env.NODE_ENV!=="production"&&Ao(t,We[ht])||We[ht]();We=null,ht=0}}const An=t=>t.id==null?1/0:t.id,qu=(t,e)=>{const n=An(t)-An(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function yc(t){Co=!1,Dn=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),De.sort(qu);const e=process.env.NODE_ENV!=="production"?n=>Ao(t,n):we;try{for(Ke=0;Ke<De.length;Ke++){const n=De[Ke];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;st(n,null,14)}}}finally{Ke=0,De.length=0,Ec(t),Dn=!1,Do=null,(De.length||nn.length)&&yc(t)}}function Ao(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>Su){const r=e.ownerInstance,o=r&&_i(r.type);return O(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else t.set(e,n+1)}}let Tt=!1;const on=new Set;process.env.NODE_ENV!=="production"&&(ar().__VUE_HMR_RUNTIME__={createRecord:No(xc),rerender:No(Iu),reload:No(Mu)});const Ot=new Map;function Ru(t){const e=t.type.__hmrId;let n=Ot.get(e);n||(xc(e,t.type),n=Ot.get(e)),n.instances.add(t)}function Lu(t){Ot.get(t.type.__hmrId).instances.delete(t)}function xc(t,e){return Ot.has(t)?!1:(Ot.set(t,{initialDef:Nn(e),instances:new Set}),!0)}function Nn(t){return vi(t)?t.__vccOpts:t}function Iu(t,e){const n=Ot.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(r=>{e&&(r.render=e,Nn(r.type).render=e),r.renderCache=[],Tt=!0,r.update(),Tt=!1}))}function Mu(t,e){const n=Ot.get(t);if(!n)return;e=Nn(e),wc(n.initialDef,e);const r=[...n.instances];for(const o of r){const s=Nn(o.type);on.has(s)||(s!==n.initialDef&&wc(s,e),on.add(s)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(on.add(s),o.ceReload(e.styles),on.delete(s)):o.parent?Cr(o.parent.update):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}_c(()=>{for(const o of r)on.delete(Nn(o.type))})}function wc(t,e){pe(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function No(t){return(e,n)=>{try{return t(e,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Je,Sn=[],So=!1;function Tn(t,...e){Je?Je.emit(t,...e):So||Sn.push({event:t,args:e})}function kc(t,e){var n,r;Je=t,Je?(Je.enabled=!0,Sn.forEach(({event:o,args:s})=>Je.emit(o,...s)),Sn=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{kc(s,e)}),setTimeout(()=>{Je||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,So=!0,Sn=[])},3e3)):(So=!0,Sn=[])}function Fu(t,e){Tn("app:init",t,e,{Fragment:Oe,Text:Fn,Comment:Ee,Static:Ir})}function Vu(t){Tn("app:unmount",t)}const Pu=To("component:added"),Cc=To("component:updated"),Bu=To("component:removed"),$u=t=>{Je&&typeof Je.cleanupBuffer=="function"&&!Je.cleanupBuffer(t)&&Bu(t)};function To(t){return e=>{Tn(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const Uu=Dc("perf:start"),zu=Dc("perf:end");function Dc(t){return(e,n,r)=>{Tn(t,e.appContext.app,e.uid,e,n,r)}}function Hu(t,e,n){Tn("component:emit",t.appContext.app,t,e,n)}function ju(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ue;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=t;if(u)if(!(e in u))(!f||!(kt(e)in f))&&O(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${kt(e)}" prop.`);else{const p=u[e];ee(p)&&(p(...n)||O(`Invalid event arguments: event validation failed for event "${e}".`))}}let o=n;const s=e.startsWith("update:"),c=s&&e.slice(7);if(c&&c in r){const u=`${c==="modelValue"?"model":c}Modifiers`,{number:f,trim:p}=r[u]||ue;p&&(o=n.map(h=>de(h)?h.trim():h)),f&&(o=n.map(ho))}if(process.env.NODE_ENV!=="production"&&Hu(t,e,o),process.env.NODE_ENV!=="production"){const u=e.toLowerCase();u!==e&&r[kt(u)]&&O(`Event "${u}" is emitted in component ${Pr(t,t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ot(e)}" instead of "${e}".`)}let i,a=r[i=kt(e)]||r[i=kt(Xt(e))];!a&&s&&(a=r[i=kt(ot(e))]),a&&Me(a,t,6,o);const l=r[i+"Once"];if(l){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,Me(l,t,6,o)}}function Ac(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const s=t.emits;let c={},i=!1;if(!ee(t)){const a=l=>{const u=Ac(l,e,!0);u&&(i=!0,pe(c,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!s&&!i?(ae(t)&&r.set(t,null),null):(G(s)?s.forEach(a=>c[a]=null):pe(c,s),ae(t)&&r.set(t,c),c)}function Dr(t,e){return!t||!vn(e)?!1:(e=e.slice(2).replace(/Once$/,""),re(t,e[0].toLowerCase()+e.slice(1))||re(t,ot(e))||re(t,e))}let ve=null,Nc=null;function Ar(t){const e=ve;return ve=t,Nc=t&&t.type.__scopeId||null,e}function gt(t,e=ve,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&ai(-1);const s=Ar(e);let c;try{c=t(...o)}finally{Ar(s),r._d&&ai(1)}return process.env.NODE_ENV!=="production"&&Cc(e),c};return r._n=!0,r._c=!0,r._d=!0,r}let Oo=!1;function Nr(){Oo=!0}function qo(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[c],slots:i,attrs:a,emit:l,render:u,renderCache:f,data:p,setupState:h,ctx:y,inheritAttrs:v}=t;let M,R;const N=Ar(t);process.env.NODE_ENV!=="production"&&(Oo=!1);try{if(n.shapeFlag&4){const S=o||r;M=je(u.call(S,S,f,s,h,p,y)),R=a}else{const S=e;process.env.NODE_ENV!=="production"&&a===s&&Nr(),M=je(S.length>1?S(s,process.env.NODE_ENV!=="production"?{get attrs(){return Nr(),a},slots:i,emit:l}:{attrs:a,slots:i,emit:l}):S(s,null)),R=e.props?a:Zu(a)}}catch(S){Vn.length=0,kr(S,t,1),M=me(Ee)}let A=M,B;if(process.env.NODE_ENV!=="production"&&M.patchFlag>0&&M.patchFlag&2048&&([A,B]=Gu(M)),R&&v!==!1){const S=Object.keys(R),{shapeFlag:I}=A;if(S.length){if(I&7)c&&S.some(nr)&&(R=Ku(R,c)),A=Ye(A,R);else if(process.env.NODE_ENV!=="production"&&!Oo&&A.type!==Ee){const J=Object.keys(a),z=[],Y=[];for(let U=0,Q=J.length;U<Q;U++){const V=J[U];vn(V)?nr(V)||z.push(V[2].toLowerCase()+V.slice(3)):Y.push(V)}Y.length&&O(`Extraneous non-props attributes (${Y.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),z.length&&O(`Extraneous non-emits event listeners (${z.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!Tc(A)&&O("Runtime directive used on component with non-element root node. The directives will not function as intended."),A=Ye(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!Tc(A)&&O("Component inside <Transition> renders non-element root node that cannot be animated."),A.transition=n.transition),process.env.NODE_ENV!=="production"&&B?B(A):M=A,Ar(N),M}const Gu=t=>{const e=t.children,n=t.dynamicChildren,r=Sc(e);if(!r)return[t,void 0];const o=e.indexOf(r),s=n?n.indexOf(r):-1,c=i=>{e[o]=i,n&&(s>-1?n[s]=i:i.patchFlag>0&&(t.dynamicChildren=[...n,i]))};return[je(r),c]};function Sc(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(cn(r)){if(r.type!==Ee||r.children==="v-if"){if(e)return;e=r}}else return}return e}const Zu=t=>{let e;for(const n in t)(n==="class"||n==="style"||vn(n))&&((e||(e={}))[n]=t[n]);return e},Ku=(t,e)=>{const n={};for(const r in t)(!nr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n},Tc=t=>t.shapeFlag&7||t.type===Ee;function Wu(t,e,n){const{props:r,children:o,component:s}=t,{props:c,children:i,patchFlag:a}=e,l=s.emitsOptions;if(process.env.NODE_ENV!=="production"&&(o||i)&&Tt||e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Oc(r,c,l):!!c;if(a&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Dr(l,p))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?Oc(r,c,l):!0:!!c;return!1}function Oc(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(e[s]!==t[s]&&!Dr(n,s))return!0}return!1}function Ju({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Yu=t=>t.__isSuspense;function Xu(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):_c(t)}const Sr={};function Ro(t,e,n){return process.env.NODE_ENV!=="production"&&!ee(e)&&O("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),qc(t,e,n)}function qc(t,e,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:c}=ue){var i;process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&O('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&O('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=S=>{O("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=Pl()===((i=xe)==null?void 0:i.scope)?xe:null;let u,f=!1,p=!1;if(be(t)?(u=()=>t.value,f=Er(t)):Nt(t)?(u=()=>t,r=!0):G(t)?(p=!0,f=t.some(S=>Nt(S)||Er(S)),u=()=>t.map(S=>{if(be(S))return S.value;if(Nt(S))return qt(S);if(ee(S))return st(S,l,2);process.env.NODE_ENV!=="production"&&a(S)})):ee(t)?e?u=()=>st(t,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),Me(t,l,3,[y])}:(u=we,process.env.NODE_ENV!=="production"&&a(t)),e&&r){const S=u;u=()=>qt(S())}let h,y=S=>{h=A.onStop=()=>{st(S,l,4)}},v;if($n)if(y=we,e?n&&Me(e,l,3,[u(),p?[]:void 0,y]):u(),o==="sync"){const S=cp();v=S.__watcherHandles||(S.__watcherHandles=[])}else return we;let M=p?new Array(t.length).fill(Sr):Sr;const R=()=>{if(A.active)if(e){const S=A.run();(r||f||(p?S.some((I,J)=>En(I,M[J])):En(S,M)))&&(h&&h(),Me(e,l,3,[S,M===Sr?void 0:p&&M[0]===Sr?[]:M,y]),M=S)}else A.run()};R.allowRecurse=!!e;let N;o==="sync"?N=R:o==="post"?N=()=>Ie(R,l&&l.suspense):(R.pre=!0,l&&(R.id=l.uid),N=()=>Cr(R));const A=new vo(u,N);process.env.NODE_ENV!=="production"&&(A.onTrack=s,A.onTrigger=c),e?n?R():M=A.run():o==="post"?Ie(A.run.bind(A),l&&l.suspense):A.run();const B=()=>{A.stop(),l&&l.scope&&ao(l.scope.effects,A)};return v&&v.push(B),B}function Qu(t,e,n){const r=this.proxy,o=de(t)?t.includes(".")?Rc(r,t):()=>r[t]:t.bind(r,r);let s;ee(e)?s=e:(s=e.handler,n=e);const c=xe;ln(this);const i=qc(o,s.bind(r),n);return c?ln(c):Ft(),i}function Rc(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function qt(t,e){if(!ae(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),be(t))qt(t.value,e);else if(G(t))for(let n=0;n<t.length;n++)qt(t[n],e);else if(Ps(t)||wt(t))t.forEach(n=>{qt(n,e)});else if($s(t))for(const n in t)qt(t[n],e);return t}function Lc(t){kl(t)&&O("Do not use built-in directive ids as custom directive id: "+t)}function Ic(t,e){const n=ve;if(n===null)return process.env.NODE_ENV!=="production"&&O("withDirectives can only be used inside render functions."),t;const r=Vr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[c,i,a,l=ue]=e[s];c&&(ee(c)&&(c={mounted:c,updated:c}),c.deep&&qt(i),o.push({dir:c,instance:r,value:i,oldValue:void 0,arg:a,modifiers:l}))}return t}function Rt(t,e,n,r){const o=t.dirs,s=e&&e.dirs;for(let c=0;c<o.length;c++){const i=o[c];s&&(i.oldValue=s[c].value);let a=i.dir[r];a&&(Dt(),Me(a,n,8,[t.el,i,t,e]),At())}}function ef(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Rn(()=>{t.isMounted=!0}),Fo(()=>{t.isUnmounting=!0}),t}const Fe=[Function,Array],Mc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Fe,onEnter:Fe,onAfterEnter:Fe,onEnterCancelled:Fe,onBeforeLeave:Fe,onLeave:Fe,onAfterLeave:Fe,onLeaveCancelled:Fe,onBeforeAppear:Fe,onAppear:Fe,onAfterAppear:Fe,onAppearCancelled:Fe},tf={name:"BaseTransition",props:Mc,setup(t,{slots:e}){const n=Jf(),r=ef();let o;return()=>{const s=e.default&&Pc(e.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){let v=!1;for(const M of s)if(M.type!==Ee){if(process.env.NODE_ENV!=="production"&&v){O("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(c=M,v=!0,process.env.NODE_ENV==="production")break}}const i=te(t),{mode:a}=i;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&O(`invalid <transition> mode: ${a}`),r.isLeaving)return Io(c);const l=Vc(c);if(!l)return Io(c);const u=Lo(l,i,r,n);Mo(l,u);const f=n.subTree,p=f&&Vc(f);let h=!1;const{getTransitionKey:y}=l.type;if(y){const v=y();o===void 0?o=v:v!==o&&(o=v,h=!0)}if(p&&p.type!==Ee&&(!Mt(l,p)||h)){const v=Lo(p,i,r,n);if(Mo(p,v),a==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Io(c);a==="in-out"&&l.type!==Ee&&(v.delayLeave=(M,R,N)=>{const A=Fc(r,p);A[String(p.key)]=p,M._leaveCb=()=>{R(),M._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=N})}return c}}};function Fc(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Lo(t,e,n,r){const{appear:o,mode:s,persisted:c=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:v,onAppear:M,onAfterAppear:R,onAppearCancelled:N}=e,A=String(t.key),B=Fc(n,t),S=(z,Y)=>{z&&Me(z,r,9,Y)},I=(z,Y)=>{const U=Y[1];S(z,Y),G(z)?z.every(Q=>Q.length<=1)&&U():z.length<=1&&U()},J={mode:s,persisted:c,beforeEnter(z){let Y=i;if(!n.isMounted)if(o)Y=v||i;else return;z._leaveCb&&z._leaveCb(!0);const U=B[A];U&&Mt(t,U)&&U.el._leaveCb&&U.el._leaveCb(),S(Y,[z])},enter(z){let Y=a,U=l,Q=u;if(!n.isMounted)if(o)Y=M||a,U=R||l,Q=N||u;else return;let V=!1;const se=z._enterCb=L=>{V||(V=!0,L?S(Q,[z]):S(U,[z]),J.delayedLeave&&J.delayedLeave(),z._enterCb=void 0)};Y?I(Y,[z,se]):se()},leave(z,Y){const U=String(t.key);if(z._enterCb&&z._enterCb(!0),n.isUnmounting)return Y();S(f,[z]);let Q=!1;const V=z._leaveCb=se=>{Q||(Q=!0,Y(),se?S(y,[z]):S(h,[z]),z._leaveCb=void 0,B[U]===t&&delete B[U])};B[U]=t,p?I(p,[z,V]):V()},clone(z){return Lo(z,e,n,r)}};return J}function Io(t){if(qn(t))return t=Ye(t),t.children=null,t}function Vc(t){return qn(t)?t.children?t.children[0]:void 0:t}function Mo(t,e){t.shapeFlag&6&&t.component?Mo(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Pc(t,e=!1,n){let r=[],o=0;for(let s=0;s<t.length;s++){let c=t[s];const i=n==null?c.key:String(n)+String(c.key!=null?c.key:s);c.type===Oe?(c.patchFlag&128&&o++,r=r.concat(Pc(c.children,e,i))):(e||c.type!==Ee)&&r.push(i!=null?Ye(c,{key:i}):c)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function ze(t,e){return ee(t)?(()=>pe({name:t.name},e,{setup:t}))():t}const On=t=>!!t.type.__asyncLoader,qn=t=>t.type.__isKeepAlive;function nf(t,e){Bc(t,"a",e)}function rf(t,e){Bc(t,"da",e)}function Bc(t,e,n=xe){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Tr(e,r,n),n){let o=n.parent;for(;o&&o.parent;)qn(o.parent.vnode)&&of(r,e,n,o),o=o.parent}}function of(t,e,n,r){const o=Tr(e,t,r,!0);$c(()=>{ao(r[e],o)},n)}function Tr(t,e,n=xe,r=!1){if(n){const o=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;Dt(),ln(n);const i=Me(e,n,t,c);return Ft(),At(),i});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=kt(ko[t].replace(/ hook$/,""));O(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const ct=t=>(e,n=xe)=>(!$n||t==="sp")&&Tr(t,(...r)=>e(...r),n),sf=ct("bm"),Rn=ct("m"),cf=ct("bu"),af=ct("u"),Fo=ct("bum"),$c=ct("um"),lf=ct("sp"),uf=ct("rtg"),ff=ct("rtc");function pf(t,e=xe){Tr("ec",t,e)}const df=Symbol.for("v-ndc");function Uc(t,e,n,r){let o;const s=n&&n[r];if(G(t)||de(t)){o=new Array(t.length);for(let c=0,i=t.length;c<i;c++)o[c]=e(t[c],c,void 0,s&&s[c])}else if(typeof t=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(t)&&O(`The v-for range expect an integer value but got ${t}.`),o=new Array(t);for(let c=0;c<t;c++)o[c]=e(c+1,c,void 0,s&&s[c])}else if(ae(t))if(t[Symbol.iterator])o=Array.from(t,(c,i)=>e(c,i,void 0,s&&s[i]));else{const c=Object.keys(t);o=new Array(c.length);for(let i=0,a=c.length;i<a;i++){const l=c[i];o[i]=e(t[l],l,i,s&&s[i])}}else o=[];return n&&(n[r]=o),o}function hf(t,e){for(let n=0;n<e.length;n++){const r=e[n];if(G(r))for(let o=0;o<r.length;o++)t[r[o].name]=r[o].fn;else r&&(t[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return t}function Ln(t,e,n={},r,o){if(ve.isCE||ve.parent&&On(ve.parent)&&ve.parent.isCE)return e!=="default"&&(n.name=e),me("slot",n,r&&r());let s=t[e];process.env.NODE_ENV!=="production"&&s&&s.length>1&&(O("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),ce();const c=s&&zc(s(n)),i=qe(Oe,{key:n.key||c&&c.key||`_${e}`},c||(r?r():[]),c&&t._===1?64:-2);return!o&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),s&&s._c&&(s._d=!0),i}function zc(t){return t.some(e=>cn(e)?!(e.type===Ee||e.type===Oe&&!zc(e.children)):!0)?t:null}const Vo=t=>t?hi(t)?Vr(t)||t.proxy:Vo(t.parent):null,Lt=pe(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?kn(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?kn(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?kn(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?kn(t.refs):t.refs,$parent:t=>Vo(t.parent),$root:t=>Vo(t.root),$emit:t=>t.emit,$options:t=>Uo(t),$forceUpdate:t=>t.f||(t.f=()=>Cr(t.update)),$nextTick:t=>t.n||(t.n=rn.bind(t.proxy)),$watch:t=>Qu.bind(t)}),Po=t=>t==="_"||t==="$",Bo=(t,e)=>t!==ue&&!t.__isScriptSetup&&re(t,e),Hc={get({_:t},e){const{ctx:n,setupState:r,data:o,props:s,accessCache:c,type:i,appContext:a}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let l;if(e[0]!=="$"){const h=c[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if(Bo(r,e))return c[e]=1,r[e];if(o!==ue&&re(o,e))return c[e]=2,o[e];if((l=t.propsOptions[0])&&re(l,e))return c[e]=3,s[e];if(n!==ue&&re(n,e))return c[e]=4,n[e];$o&&(c[e]=0)}}const u=Lt[e];let f,p;if(u)return e==="$attrs"?(ke(t,"get",e),process.env.NODE_ENV!=="production"&&Nr()):process.env.NODE_ENV!=="production"&&e==="$slots"&&ke(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==ue&&re(n,e))return c[e]=4,n[e];if(p=a.config.globalProperties,re(p,e))return p[e];process.env.NODE_ENV!=="production"&&ve&&(!de(e)||e.indexOf("__v")!==0)&&(o!==ue&&Po(e[0])&&re(o,e)?O(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===ve&&O(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:r,setupState:o,ctx:s}=t;return Bo(o,e)?(o[e]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&re(o,e)?(O(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):r!==ue&&re(r,e)?(r[e]=n,!0):re(t.props,e)?(process.env.NODE_ENV!=="production"&&O(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&O(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(s,e,{enumerable:!0,configurable:!0,value:n}):s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:s}},c){let i;return!!n[c]||t!==ue&&re(t,c)||Bo(e,c)||(i=s[0])&&re(i,c)||re(r,c)||re(Lt,c)||re(o.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:re(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(Hc.ownKeys=t=>(O("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function gf(t){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>t}),Object.keys(Lt).forEach(n=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get:()=>Lt[n](t),set:we})}),e}function mf(t){const{ctx:e,propsOptions:[n]}=t;n&&Object.keys(n).forEach(r=>{Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>t.props[r],set:we})})}function bf(t){const{ctx:e,setupState:n}=t;Object.keys(te(n)).forEach(r=>{if(!n.__isScriptSetup){if(Po(r[0])){O(`setup() return property ${JSON.stringify(r)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>n[r],set:we})}})}function jc(t){return G(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function _f(){const t=Object.create(null);return(e,n)=>{t[n]?O(`${e} property "${n}" is already defined in ${t[n]}.`):t[n]=e}}let $o=!0;function vf(t){const e=Uo(t),n=t.proxy,r=t.ctx;$o=!1,e.beforeCreate&&Gc(e.beforeCreate,t,"bc");const{data:o,computed:s,methods:c,watch:i,provide:a,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:h,updated:y,activated:v,deactivated:M,beforeDestroy:R,beforeUnmount:N,destroyed:A,unmounted:B,render:S,renderTracked:I,renderTriggered:J,errorCaptured:z,serverPrefetch:Y,expose:U,inheritAttrs:Q,components:V,directives:se,filters:L}=e,ne=process.env.NODE_ENV!=="production"?_f():null;if(process.env.NODE_ENV!=="production"){const[m]=t.propsOptions;if(m)for(const C in m)ne("Props",C)}if(l&&Ef(l,r,ne),c)for(const m in c){const C=c[m];ee(C)?(process.env.NODE_ENV!=="production"?Object.defineProperty(r,m,{value:C.bind(n),configurable:!0,enumerable:!0,writable:!0}):r[m]=C.bind(n),process.env.NODE_ENV!=="production"&&ne("Methods",m)):process.env.NODE_ENV!=="production"&&O(`Method "${m}" has type "${typeof C}" in the component definition. Did you reference the function correctly?`)}if(o){process.env.NODE_ENV!=="production"&&!ee(o)&&O("The data option must be a function. Plain object usage is no longer supported.");const m=o.call(n,n);if(process.env.NODE_ENV!=="production"&&uo(m)&&O("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!ae(m))process.env.NODE_ENV!=="production"&&O("data() should return an object.");else if(t.data=xo(m),process.env.NODE_ENV!=="production")for(const C in m)ne("Data",C),Po(C[0])||Object.defineProperty(r,C,{configurable:!0,enumerable:!0,get:()=>m[C],set:we})}if($o=!0,s)for(const m in s){const C=s[m],K=ee(C)?C.bind(n,n):ee(C.get)?C.get.bind(n,n):we;process.env.NODE_ENV!=="production"&&K===we&&O(`Computed property "${m}" has no getter.`);const oe=!ee(C)&&ee(C.set)?C.set.bind(n):process.env.NODE_ENV!=="production"?()=>{O(`Write operation failed: computed property "${m}" is readonly.`)}:we,le=un({get:K,set:oe});Object.defineProperty(r,m,{enumerable:!0,configurable:!0,get:()=>le.value,set:he=>le.value=he}),process.env.NODE_ENV!=="production"&&ne("Computed",m)}if(i)for(const m in i)Zc(i[m],r,n,m);if(a){const m=ee(a)?a.call(n):a;Reflect.ownKeys(m).forEach(C=>{Df(C,m[C])})}u&&Gc(u,t,"c");function Z(m,C){G(C)?C.forEach(K=>m(K.bind(n))):C&&m(C.bind(n))}if(Z(sf,f),Z(Rn,p),Z(cf,h),Z(af,y),Z(nf,v),Z(rf,M),Z(pf,z),Z(ff,I),Z(uf,J),Z(Fo,N),Z($c,B),Z(lf,Y),G(U))if(U.length){const m=t.exposed||(t.exposed={});U.forEach(C=>{Object.defineProperty(m,C,{get:()=>n[C],set:K=>n[C]=K})})}else t.exposed||(t.exposed={});S&&t.render===we&&(t.render=S),Q!=null&&(t.inheritAttrs=Q),V&&(t.components=V),se&&(t.directives=se)}function Ef(t,e,n=we){G(t)&&(t=zo(t));for(const r in t){const o=t[r];let s;ae(o)?"default"in o?s=sn(o.from||r,o.default,!0):s=sn(o.from||r):s=sn(o),be(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:c=>s.value=c}):e[r]=s,process.env.NODE_ENV!=="production"&&n("Inject",r)}}function Gc(t,e,n){Me(G(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Zc(t,e,n,r){const o=r.includes(".")?Rc(n,r):()=>n[r];if(de(t)){const s=e[t];ee(s)?Ro(o,s):process.env.NODE_ENV!=="production"&&O(`Invalid watch handler specified by key "${t}"`,s)}else if(ee(t))Ro(o,t.bind(n));else if(ae(t))if(G(t))t.forEach(s=>Zc(s,e,n,r));else{const s=ee(t.handler)?t.handler.bind(n):e[t.handler];ee(s)?Ro(o,s,t):process.env.NODE_ENV!=="production"&&O(`Invalid watch handler specified by key "${t.handler}"`,s)}else process.env.NODE_ENV!=="production"&&O(`Invalid watch option: "${r}"`,t)}function Uo(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:s,config:{optionMergeStrategies:c}}=t.appContext,i=s.get(e);let a;return i?a=i:!o.length&&!n&&!r?a=e:(a={},o.length&&o.forEach(l=>Or(a,l,c,!0)),Or(a,e,c)),ae(e)&&s.set(e,a),a}function Or(t,e,n,r=!1){const{mixins:o,extends:s}=e;s&&Or(t,s,n,!0),o&&o.forEach(c=>Or(t,c,n,!0));for(const c in e)if(r&&c==="expose")process.env.NODE_ENV!=="production"&&O('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=yf[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const yf={data:Kc,props:Wc,emits:Wc,methods:In,computed:In,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:In,directives:In,watch:wf,provide:Kc,inject:xf};function Kc(t,e){return e?t?function(){return pe(ee(t)?t.call(this,this):t,ee(e)?e.call(this,this):e)}:e:t}function xf(t,e){return In(zo(t),zo(e))}function zo(t){if(G(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Te(t,e){return t?[...new Set([].concat(t,e))]:e}function In(t,e){return t?pe(Object.create(null),t,e):e}function Wc(t,e){return t?G(t)&&G(e)?[...new Set([...t,...e])]:pe(Object.create(null),jc(t),jc(e??{})):e}function wf(t,e){if(!t)return e;if(!e)return t;const n=pe(Object.create(null),t);for(const r in e)n[r]=Te(t[r],e[r]);return n}function Jc(){return{app:null,config:{isNativeTag:Vs,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 kf=0;function Cf(t,e){return function(r,o=null){ee(r)||(r=pe({},r)),o!=null&&!ae(o)&&(process.env.NODE_ENV!=="production"&&O("root props passed to app.mount() must be an object."),o=null);const s=Jc();process.env.NODE_ENV!=="production"&&Object.defineProperty(s.config,"unwrapInjectedRef",{get(){return!0},set(){O("app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API.")}});const c=new Set;let i=!1;const a=s.app={_uid:kf++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:yi,get config(){return s.config},set config(l){process.env.NODE_ENV!=="production"&&O("app.config cannot be replaced. Modify individual options instead.")},use(l,...u){return c.has(l)?process.env.NODE_ENV!=="production"&&O("Plugin has already been applied to target app."):l&&ee(l.install)?(c.add(l),l.install(a,...u)):ee(l)?(c.add(l),l(a,...u)):process.env.NODE_ENV!=="production"&&O('A plugin must either be a function or an object with an "install" function.'),a},mixin(l){return s.mixins.includes(l)?process.env.NODE_ENV!=="production"&&O("Mixin has already been applied to target app"+(l.name?`: ${l.name}`:"")):s.mixins.push(l),a},component(l,u){return process.env.NODE_ENV!=="production"&&Yo(l,s.config),u?(process.env.NODE_ENV!=="production"&&s.components[l]&&O(`Component "${l}" has already been registered in target app.`),s.components[l]=u,a):s.components[l]},directive(l,u){return process.env.NODE_ENV!=="production"&&Lc(l),u?(process.env.NODE_ENV!=="production"&&s.directives[l]&&O(`Directive "${l}" has already been registered in target app.`),s.directives[l]=u,a):s.directives[l]},mount(l,u,f){if(i)process.env.NODE_ENV!=="production"&&O("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&l.__vue_app__&&O("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=me(r,o);return p.appContext=s,process.env.NODE_ENV!=="production"&&(s.reload=()=>{t(Ye(p),l,f)}),u&&e?e(p,l):t(p,l,f),i=!0,a._container=l,l.__vue_app__=a,process.env.NODE_ENV!=="production"&&(a._instance=p.component,Fu(a,yi)),Vr(p.component)||p.component.proxy}},unmount(){i?(t(null,a._container),process.env.NODE_ENV!=="production"&&(a._instance=null,Vu(a)),delete a._container.__vue_app__):process.env.NODE_ENV!=="production"&&O("Cannot unmount an app that is not mounted.")},provide(l,u){return process.env.NODE_ENV!=="production"&&l in s.provides&&O(`App already provides property with key "${String(l)}". It will be overwritten with the new value.`),s.provides[l]=u,a},runWithContext(l){qr=a;try{return l()}finally{qr=null}}};return a}}let qr=null;function Df(t,e){if(!xe)process.env.NODE_ENV!=="production"&&O("provide() can only be used inside setup().");else{let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[t]=e}}function sn(t,e,n=!1){const r=xe||ve;if(r||qr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:qr._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&ee(e)?e.call(r&&r.proxy):e;process.env.NODE_ENV!=="production"&&O(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&O("inject() can only be used inside setup() or functional components.")}function Af(t,e,n,r=!1){const o={},s={};ir(s,Mr,1),t.propsDefaults=Object.create(null),Yc(t,e,o,s);for(const c in t.propsOptions[0])c in o||(o[c]=void 0);process.env.NODE_ENV!=="production"&&ni(e||{},o,t),n?t.props=r?o:hu(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function Nf(t){for(;t;){if(t.type.__hmrId)return!0;t=t.parent}}function Sf(t,e,n,r){const{props:o,attrs:s,vnode:{patchFlag:c}}=t,i=te(o),[a]=t.propsOptions;let l=!1;if(!(process.env.NODE_ENV!=="production"&&Nf(t))&&(r||c>0)&&!(c&16)){if(c&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Dr(t.emitsOptions,p))continue;const h=e[p];if(a)if(re(s,p))h!==s[p]&&(s[p]=h,l=!0);else{const y=Xt(p);o[y]=Ho(a,i,y,h,t,!1)}else h!==s[p]&&(s[p]=h,l=!0)}}}else{Yc(t,e,o,s)&&(l=!0);let u;for(const f in i)(!e||!re(e,f)&&((u=ot(f))===f||!re(e,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ho(a,i,f,void 0,t,!0)):delete o[f]);if(s!==i)for(const f in s)(!e||!re(e,f))&&(delete s[f],l=!0)}l&&Ze(t,"set","$attrs"),process.env.NODE_ENV!=="production"&&ni(e||{},o,t)}function Yc(t,e,n,r){const[o,s]=t.propsOptions;let c=!1,i;if(e)for(let a in e){if(or(a))continue;const l=e[a];let u;o&&re(o,u=Xt(a))?!s||!s.includes(u)?n[u]=l:(i||(i={}))[u]=l:Dr(t.emitsOptions,a)||(!(a in r)||l!==r[a])&&(r[a]=l,c=!0)}if(s){const a=te(n),l=i||ue;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Ho(o,a,f,l[f],t,!re(l,f))}}return c}function Ho(t,e,n,r,o,s){const c=t[n];if(c!=null){const i=re(c,"default");if(i&&r===void 0){const a=c.default;if(c.type!==Function&&!c.skipFactory&&ee(a)){const{propsDefaults:l}=o;n in l?r=l[n]:(ln(o),r=l[n]=a.call(null,e),Ft())}else r=a}c[0]&&(s&&!i?r=!1:c[1]&&(r===""||r===ot(n))&&(r=!0))}return r}function Xc(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const s=t.props,c={},i=[];let a=!1;if(!ee(t)){const u=f=>{a=!0;const[p,h]=Xc(f,e,!0);pe(c,p),h&&i.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!a)return ae(t)&&r.set(t,Yt),Yt;if(G(s))for(let u=0;u<s.length;u++){process.env.NODE_ENV!=="production"&&!de(s[u])&&O("props must be strings when using array syntax.",s[u]);const f=Xt(s[u]);Qc(f)&&(c[f]=ue)}else if(s){process.env.NODE_ENV!=="production"&&!ae(s)&&O("invalid props options",s);for(const u in s){const f=Xt(u);if(Qc(f)){const p=s[u],h=c[f]=G(p)||ee(p)?{type:p}:pe({},p);if(h){const y=ti(Boolean,h.type),v=ti(String,h.type);h[0]=y>-1,h[1]=v<0||y<v,(y>-1||re(h,"default"))&&i.push(f)}}}}const l=[c,i];return ae(t)&&r.set(t,l),l}function Qc(t){return t[0]!=="$"?!0:(process.env.NODE_ENV!=="production"&&O(`Invalid prop name: "${t}" is a reserved property.`),!1)}function jo(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function ei(t,e){return jo(t)===jo(e)}function ti(t,e){return G(e)?e.findIndex(n=>ei(n,t)):ee(e)&&ei(e,t)?0:-1}function ni(t,e,n){const r=te(e),o=n.propsOptions[0];for(const s in o){let c=o[s];c!=null&&Tf(s,r[s],c,!re(t,s)&&!re(t,ot(s)))}}function Tf(t,e,n,r){const{type:o,required:s,validator:c,skipCheck:i}=n;if(s&&r){O('Missing required prop: "'+t+'"');return}if(!(e==null&&!s)){if(o!=null&&o!==!0&&!i){let a=!1;const l=G(o)?o:[o],u=[];for(let f=0;f<l.length&&!a;f++){const{valid:p,expectedType:h}=qf(e,l[f]);u.push(h||""),a=p}if(!a){O(Rf(t,e,u));return}}c&&!c(e)&&O('Invalid prop: custom validator check failed for prop "'+t+'".')}}const Of=lt("String,Number,Boolean,Function,Symbol,BigInt");function qf(t,e){let n;const r=jo(e);if(Of(r)){const o=typeof t;n=o===r.toLowerCase(),!n&&o==="object"&&(n=t instanceof e)}else r==="Object"?n=ae(t):r==="Array"?n=G(t):r==="null"?n=t===null:n=t instanceof e;return{valid:n,expectedType:r}}function Rf(t,e,n){let r=`Invalid prop: type check failed for prop "${t}". Expected ${n.map(cr).join(" | ")}`;const o=n[0],s=fo(e),c=ri(e,o),i=ri(e,s);return n.length===1&&oi(o)&&!Lf(o,s)&&(r+=` with value ${c}`),r+=`, got ${s} `,oi(s)&&(r+=`with value ${i}.`),r}function ri(t,e){return e==="String"?`"${t}"`:e==="Number"?`${Number(t)}`:`${t}`}function oi(t){return["string","number","boolean"].some(n=>t.toLowerCase()===n)}function Lf(...t){return t.some(e=>e.toLowerCase()==="boolean")}const si=t=>t[0]==="_"||t==="$stable",Go=t=>G(t)?t.map(je):[je(t)],If=(t,e,n)=>{if(e._n)return e;const r=gt((...o)=>(process.env.NODE_ENV!=="production"&&xe&&O(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Go(e(...o))),n);return r._c=!1,r},ci=(t,e,n)=>{const r=t._ctx;for(const o in t){if(si(o))continue;const s=t[o];if(ee(s))e[o]=If(o,s,r);else if(s!=null){process.env.NODE_ENV!=="production"&&O(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const c=Go(s);e[o]=()=>c}}},ii=(t,e)=>{process.env.NODE_ENV!=="production"&&!qn(t.vnode)&&O("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Go(e);t.slots.default=()=>n},Mf=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=te(e),ir(e,"_",n)):ci(e,t.slots={})}else t.slots={},e&&ii(t,e);ir(t.slots,Mr,1)},Ff=(t,e,n)=>{const{vnode:r,slots:o}=t;let s=!0,c=ue;if(r.shapeFlag&32){const i=e._;i?process.env.NODE_ENV!=="production"&&Tt?(pe(o,e),Ze(t,"set","$slots")):n&&i===1?s=!1:(pe(o,e),!n&&i===1&&delete o._):(s=!e.$stable,ci(e,o)),c=e}else e&&(ii(t,e),c={default:1});if(s)for(const i in o)!si(i)&&!(i in c)&&delete o[i]};function Zo(t,e,n,r,o=!1){if(G(t)){t.forEach((p,h)=>Zo(p,e&&(G(e)?e[h]:e),n,r,o));return}if(On(r)&&!o)return;const s=r.shapeFlag&4?Vr(r.component)||r.component.proxy:r.el,c=o?null:s,{i,r:a}=t;if(process.env.NODE_ENV!=="production"&&!i){O("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const l=e&&e.r,u=i.refs===ue?i.refs={}:i.refs,f=i.setupState;if(l!=null&&l!==a&&(de(l)?(u[l]=null,re(f,l)&&(f[l]=null)):be(l)&&(l.value=null)),ee(a))st(a,i,12,[c,u]);else{const p=de(a),h=be(a);if(p||h){const y=()=>{if(t.f){const v=p?re(f,a)?f[a]:u[a]:a.value;o?G(v)&&ao(v,s):G(v)?v.includes(s)||v.push(s):p?(u[a]=[s],re(f,a)&&(f[a]=u[a])):(a.value=[s],t.k&&(u[t.k]=a.value))}else p?(u[a]=c,re(f,a)&&(f[a]=c)):h?(a.value=c,t.k&&(u[t.k]=c)):process.env.NODE_ENV!=="production"&&O("Invalid template ref type:",a,`(${typeof a})`)};c?(y.id=-1,Ie(y,n)):y()}else process.env.NODE_ENV!=="production"&&O("Invalid template ref type:",a,`(${typeof a})`)}}let Mn,mt;function it(t,e){t.appContext.config.performance&&Rr()&&mt.mark(`vue-${e}-${t.uid}`),process.env.NODE_ENV!=="production"&&Uu(t,e,Rr()?mt.now():Date.now())}function at(t,e){if(t.appContext.config.performance&&Rr()){const n=`vue-${e}-${t.uid}`,r=n+":end";mt.mark(r),mt.measure(`<${Pr(t,t.type)}> ${e}`,n,r),mt.clearMarks(n),mt.clearMarks(r)}process.env.NODE_ENV!=="production"&&zu(t,e,Rr()?mt.now():Date.now())}function Rr(){return Mn!==void 0||(typeof window<"u"&&window.performance?(Mn=!0,mt=window.performance):Mn=!1),Mn}function Vf(){const t=[];if(process.env.NODE_ENV!=="production"&&t.length){const e=t.length>1;console.warn(`Feature flag${e?"s":""} ${t.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
5
+
6
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Ie=Xu;function Pf(t){return Bf(t)}function Bf(t,e){Vf();const n=ar();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&kc(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:c,createText:i,createComment:a,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:h=we,insertStaticContent:y}=t,v=(d,g,b,x=null,k=null,q=null,E=!1,T=null,D=process.env.NODE_ENV!=="production"&&Tt?!1:!!g.dynamicChildren)=>{if(d===g)return;d&&!Mt(d,g)&&(x=Kt(d),_e(d,k,q,!0),d=null),g.patchFlag===-2&&(D=!1,g.dynamicChildren=null);const{type:_,ref:H,shapeFlag:P}=g;switch(_){case Fn:M(d,g,b,x);break;case Ee:R(d,g,b,x);break;case Ir:d==null?N(g,b,x,E):process.env.NODE_ENV!=="production"&&A(d,g,b,E);break;case Oe:se(d,g,b,x,k,q,E,T,D);break;default:P&1?I(d,g,b,x,k,q,E,T,D):P&6?L(d,g,b,x,k,q,E,T,D):P&64||P&128?_.process(d,g,b,x,k,q,E,T,D,xt):process.env.NODE_ENV!=="production"&&O("Invalid VNode type:",_,`(${typeof _})`)}H!=null&&k&&Zo(H,d&&d.ref,q,g||d,!g)},M=(d,g,b,x)=>{if(d==null)r(g.el=i(g.children),b,x);else{const k=g.el=d.el;g.children!==d.children&&l(k,g.children)}},R=(d,g,b,x)=>{d==null?r(g.el=a(g.children||""),b,x):g.el=d.el},N=(d,g,b,x)=>{[d.el,d.anchor]=y(d.children,g,b,x,d.el,d.anchor)},A=(d,g,b,x)=>{if(g.children!==d.children){const k=p(d.anchor);S(d),[g.el,g.anchor]=y(g.children,b,k,x)}else g.el=d.el,g.anchor=d.anchor},B=({el:d,anchor:g},b,x)=>{let k;for(;d&&d!==g;)k=p(d),r(d,b,x),d=k;r(g,b,x)},S=({el:d,anchor:g})=>{let b;for(;d&&d!==g;)b=p(d),o(d),d=b;o(g)},I=(d,g,b,x,k,q,E,T,D)=>{E=E||g.type==="svg",d==null?J(g,b,x,k,q,E,T,D):U(d,g,k,q,E,T,D)},J=(d,g,b,x,k,q,E,T)=>{let D,_;const{type:H,props:P,shapeFlag:j,transition:X,dirs:w}=d;if(D=d.el=c(d.type,q,P&&P.is,P),j&8?u(D,d.children):j&16&&Y(d.children,D,null,x,k,q&&H!=="foreignObject",E,T),w&&Rt(d,null,x,"created"),z(D,d,d.scopeId,E,x),P){for(const $ in P)$!=="value"&&!or($)&&s(D,$,null,P[$],q,d.children,x,k,$e);"value"in P&&s(D,"value",null,P.value),(_=P.onVnodeBeforeMount)&&Xe(_,x,d)}process.env.NODE_ENV!=="production"&&(Object.defineProperty(D,"__vnode",{value:d,enumerable:!1}),Object.defineProperty(D,"__vueParentComponent",{value:x,enumerable:!1})),w&&Rt(d,null,x,"beforeMount");const F=(!k||k&&!k.pendingBranch)&&X&&!X.persisted;F&&X.beforeEnter(D),r(D,g,b),((_=P&&P.onVnodeMounted)||F||w)&&Ie(()=>{_&&Xe(_,x,d),F&&X.enter(D),w&&Rt(d,null,x,"mounted")},k)},z=(d,g,b,x,k)=>{if(b&&h(d,b),x)for(let q=0;q<x.length;q++)h(d,x[q]);if(k){let q=k.subTree;if(process.env.NODE_ENV!=="production"&&q.patchFlag>0&&q.patchFlag&2048&&(q=Sc(q.children)||q),g===q){const E=k.vnode;z(d,E,E.scopeId,E.slotScopeIds,k.parent)}}},Y=(d,g,b,x,k,q,E,T,D=0)=>{for(let _=D;_<d.length;_++){const H=d[_]=T?bt(d[_]):je(d[_]);v(null,H,g,b,x,k,q,E,T)}},U=(d,g,b,x,k,q,E)=>{const T=g.el=d.el;let{patchFlag:D,dynamicChildren:_,dirs:H}=g;D|=d.patchFlag&16;const P=d.props||ue,j=g.props||ue;let X;b&&It(b,!1),(X=j.onVnodeBeforeUpdate)&&Xe(X,b,g,d),H&&Rt(g,d,b,"beforeUpdate"),b&&It(b,!0),process.env.NODE_ENV!=="production"&&Tt&&(D=0,E=!1,_=null);const w=k&&g.type!=="foreignObject";if(_?(Q(d.dynamicChildren,_,T,b,x,w,q),process.env.NODE_ENV!=="production"&&Lr(d,g)):E||K(d,g,T,null,b,x,w,q,!1),D>0){if(D&16)V(T,g,P,j,b,x,k);else if(D&2&&P.class!==j.class&&s(T,"class",null,j.class,k),D&4&&s(T,"style",P.style,j.style,k),D&8){const F=g.dynamicProps;for(let $=0;$<F.length;$++){const W=F[$],fe=P[W],Ne=j[W];(Ne!==fe||W==="value")&&s(T,W,fe,Ne,k,d.children,b,x,$e)}}D&1&&d.children!==g.children&&u(T,g.children)}else!E&&_==null&&V(T,g,P,j,b,x,k);((X=j.onVnodeUpdated)||H)&&Ie(()=>{X&&Xe(X,b,g,d),H&&Rt(g,d,b,"updated")},x)},Q=(d,g,b,x,k,q,E)=>{for(let T=0;T<g.length;T++){const D=d[T],_=g[T],H=D.el&&(D.type===Oe||!Mt(D,_)||D.shapeFlag&70)?f(D.el):b;v(D,_,H,null,x,k,q,E,!0)}},V=(d,g,b,x,k,q,E)=>{if(b!==x){if(b!==ue)for(const T in b)!or(T)&&!(T in x)&&s(d,T,b[T],null,E,g.children,k,q,$e);for(const T in x){if(or(T))continue;const D=x[T],_=b[T];D!==_&&T!=="value"&&s(d,T,_,D,E,g.children,k,q,$e)}"value"in x&&s(d,"value",b.value,x.value)}},se=(d,g,b,x,k,q,E,T,D)=>{const _=g.el=d?d.el:i(""),H=g.anchor=d?d.anchor:i("");let{patchFlag:P,dynamicChildren:j,slotScopeIds:X}=g;process.env.NODE_ENV!=="production"&&(Tt||P&2048)&&(P=0,D=!1,j=null),X&&(T=T?T.concat(X):X),d==null?(r(_,b,x),r(H,b,x),Y(g.children,b,H,k,q,E,T,D)):P>0&&P&64&&j&&d.dynamicChildren?(Q(d.dynamicChildren,j,b,k,q,E,T),process.env.NODE_ENV!=="production"?Lr(d,g):(g.key!=null||k&&g===k.subTree)&&Lr(d,g,!0)):K(d,g,b,H,k,q,E,T,D)},L=(d,g,b,x,k,q,E,T,D)=>{g.slotScopeIds=T,d==null?g.shapeFlag&512?k.ctx.activate(g,b,x,E,D):ne(g,b,x,k,q,E,D):Z(d,g,D)},ne=(d,g,b,x,k,q,E)=>{const T=d.component=Wf(d,x,k);if(process.env.NODE_ENV!=="production"&&T.type.__hmrId&&Ru(T),process.env.NODE_ENV!=="production"&&(xr(d),it(T,"mount")),qn(d)&&(T.ctx.renderer=xt),process.env.NODE_ENV!=="production"&&it(T,"init"),Xf(T),process.env.NODE_ENV!=="production"&&at(T,"init"),T.asyncDep){if(k&&k.registerDep(T,m),!d.el){const D=T.subTree=me(Ee);R(null,D,g,b)}return}m(T,d,g,b,k,q,E),process.env.NODE_ENV!=="production"&&(wr(),at(T,"mount"))},Z=(d,g,b)=>{const x=g.component=d.component;if(Wu(d,g,b))if(x.asyncDep&&!x.asyncResolved){process.env.NODE_ENV!=="production"&&xr(g),C(x,g,b),process.env.NODE_ENV!=="production"&&wr();return}else x.next=g,Ou(x.update),x.update();else g.el=d.el,x.vnode=g},m=(d,g,b,x,k,q,E)=>{const T=()=>{if(d.isMounted){let{next:H,bu:P,u:j,parent:X,vnode:w}=d,F=H,$;process.env.NODE_ENV!=="production"&&xr(H||d.vnode),It(d,!1),H?(H.el=w.el,C(d,H,E)):H=w,P&&Qt(P),($=H.props&&H.props.onVnodeBeforeUpdate)&&Xe($,X,H,w),It(d,!0),process.env.NODE_ENV!=="production"&&it(d,"render");const W=qo(d);process.env.NODE_ENV!=="production"&&at(d,"render");const fe=d.subTree;d.subTree=W,process.env.NODE_ENV!=="production"&&it(d,"patch"),v(fe,W,f(fe.el),Kt(fe),d,k,q),process.env.NODE_ENV!=="production"&&at(d,"patch"),H.el=W.el,F===null&&Ju(d,W.el),j&&Ie(j,k),($=H.props&&H.props.onVnodeUpdated)&&Ie(()=>Xe($,X,H,w),k),process.env.NODE_ENV!=="production"&&Cc(d),process.env.NODE_ENV!=="production"&&wr()}else{let H;const{el:P,props:j}=g,{bm:X,m:w,parent:F}=d,$=On(g);if(It(d,!1),X&&Qt(X),!$&&(H=j&&j.onVnodeBeforeMount)&&Xe(H,F,g),It(d,!0),P&&er){const W=()=>{process.env.NODE_ENV!=="production"&&it(d,"render"),d.subTree=qo(d),process.env.NODE_ENV!=="production"&&at(d,"render"),process.env.NODE_ENV!=="production"&&it(d,"hydrate"),er(P,d.subTree,d,k,null),process.env.NODE_ENV!=="production"&&at(d,"hydrate")};$?g.type.__asyncLoader().then(()=>!d.isUnmounted&&W()):W()}else{process.env.NODE_ENV!=="production"&&it(d,"render");const W=d.subTree=qo(d);process.env.NODE_ENV!=="production"&&at(d,"render"),process.env.NODE_ENV!=="production"&&it(d,"patch"),v(null,W,b,x,d,k,q),process.env.NODE_ENV!=="production"&&at(d,"patch"),g.el=W.el}if(w&&Ie(w,k),!$&&(H=j&&j.onVnodeMounted)){const W=g;Ie(()=>Xe(H,F,W),k)}(g.shapeFlag&256||F&&On(F.vnode)&&F.vnode.shapeFlag&256)&&d.a&&Ie(d.a,k),d.isMounted=!0,process.env.NODE_ENV!=="production"&&Pu(d),g=b=x=null}},D=d.effect=new vo(T,()=>Cr(_),d.scope),_=d.update=()=>D.run();_.id=d.uid,It(d,!0),process.env.NODE_ENV!=="production"&&(D.onTrack=d.rtc?H=>Qt(d.rtc,H):void 0,D.onTrigger=d.rtg?H=>Qt(d.rtg,H):void 0,_.ownerInstance=d),_()},C=(d,g,b)=>{g.component=d;const x=d.vnode.props;d.vnode=g,d.next=null,Sf(d,g.props,x,b),Ff(d,g.children,b),Dt(),vc(),At()},K=(d,g,b,x,k,q,E,T,D=!1)=>{const _=d&&d.children,H=d?d.shapeFlag:0,P=g.children,{patchFlag:j,shapeFlag:X}=g;if(j>0){if(j&128){le(_,P,b,x,k,q,E,T,D);return}else if(j&256){oe(_,P,b,x,k,q,E,T,D);return}}X&8?(H&16&&$e(_,k,q),P!==_&&u(b,P)):H&16?X&16?le(_,P,b,x,k,q,E,T,D):$e(_,k,q,!0):(H&8&&u(b,""),X&16&&Y(P,b,x,k,q,E,T,D))},oe=(d,g,b,x,k,q,E,T,D)=>{d=d||Yt,g=g||Yt;const _=d.length,H=g.length,P=Math.min(_,H);let j;for(j=0;j<P;j++){const X=g[j]=D?bt(g[j]):je(g[j]);v(d[j],X,b,null,k,q,E,T,D)}_>H?$e(d,k,q,!0,!1,P):Y(g,b,x,k,q,E,T,D,P)},le=(d,g,b,x,k,q,E,T,D)=>{let _=0;const H=g.length;let P=d.length-1,j=H-1;for(;_<=P&&_<=j;){const X=d[_],w=g[_]=D?bt(g[_]):je(g[_]);if(Mt(X,w))v(X,w,b,null,k,q,E,T,D);else break;_++}for(;_<=P&&_<=j;){const X=d[P],w=g[j]=D?bt(g[j]):je(g[j]);if(Mt(X,w))v(X,w,b,null,k,q,E,T,D);else break;P--,j--}if(_>P){if(_<=j){const X=j+1,w=X<H?g[X].el:x;for(;_<=j;)v(null,g[_]=D?bt(g[_]):je(g[_]),b,w,k,q,E,T,D),_++}}else if(_>j)for(;_<=P;)_e(d[_],k,q,!0),_++;else{const X=_,w=_,F=new Map;for(_=w;_<=j;_++){const Le=g[_]=D?bt(g[_]):je(g[_]);Le.key!=null&&(process.env.NODE_ENV!=="production"&&F.has(Le.key)&&O("Duplicate keys found during update:",JSON.stringify(Le.key),"Make sure keys are unique."),F.set(Le.key,_))}let $,W=0;const fe=j-w+1;let Ne=!1,io=0;const Wt=new Array(fe);for(_=0;_<fe;_++)Wt[_]=0;for(_=X;_<=P;_++){const Le=d[_];if(W>=fe){_e(Le,k,q,!0);continue}let rt;if(Le.key!=null)rt=F.get(Le.key);else for($=w;$<=j;$++)if(Wt[$-w]===0&&Mt(Le,g[$])){rt=$;break}rt===void 0?_e(Le,k,q,!0):(Wt[rt-w]=_+1,rt>=io?io=rt:Ne=!0,v(Le,g[rt],b,null,k,q,E,T,D),W++)}const El=Ne?$f(Wt):Yt;for($=El.length-1,_=fe-1;_>=0;_--){const Le=w+_,rt=g[Le],yl=Le+1<H?g[Le+1].el:x;Wt[_]===0?v(null,rt,b,yl,k,q,E,T,D):Ne&&($<0||_!==El[$]?he(rt,b,yl,2):$--)}}},he=(d,g,b,x,k=null)=>{const{el:q,type:E,transition:T,children:D,shapeFlag:_}=d;if(_&6){he(d.component.subTree,g,b,x);return}if(_&128){d.suspense.move(g,b,x);return}if(_&64){E.move(d,g,b,xt);return}if(E===Oe){r(q,g,b);for(let P=0;P<D.length;P++)he(D[P],g,b,x);r(d.anchor,g,b);return}if(E===Ir){B(d,g,b);return}if(x!==2&&_&1&&T)if(x===0)T.beforeEnter(q),r(q,g,b),Ie(()=>T.enter(q),k);else{const{leave:P,delayLeave:j,afterLeave:X}=T,w=()=>r(q,g,b),F=()=>{P(q,()=>{w(),X&&X()})};j?j(q,w,F):F()}else r(q,g,b)},_e=(d,g,b,x=!1,k=!1)=>{const{type:q,props:E,ref:T,children:D,dynamicChildren:_,shapeFlag:H,patchFlag:P,dirs:j}=d;if(T!=null&&Zo(T,null,b,d,!0),H&256){g.ctx.deactivate(d);return}const X=H&1&&j,w=!On(d);let F;if(w&&(F=E&&E.onVnodeBeforeUnmount)&&Xe(F,g,d),H&6)Be(d.component,b,x);else{if(H&128){d.suspense.unmount(b,x);return}X&&Rt(d,null,g,"beforeUnmount"),H&64?d.type.remove(d,g,b,k,xt,x):_&&(q!==Oe||P>0&&P&64)?$e(_,g,b,!1,!0):(q===Oe&&P&384||!k&&H&16)&&$e(D,g,b),x&&yt(d)}(w&&(F=E&&E.onVnodeUnmounted)||X)&&Ie(()=>{F&&Xe(F,g,d),X&&Rt(d,null,g,"unmounted")},b)},yt=d=>{const{type:g,el:b,anchor:x,transition:k}=d;if(g===Oe){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&k&&!k.persisted?d.children.forEach(E=>{E.type===Ee?o(E.el):yt(E)}):Re(b,x);return}if(g===Ir){S(d);return}const q=()=>{o(b),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(d.shapeFlag&1&&k&&!k.persisted){const{leave:E,delayLeave:T}=k,D=()=>E(b,q);T?T(d.el,q,D):D()}else q()},Re=(d,g)=>{let b;for(;d!==g;)b=p(d),o(d),d=b;o(g)},Be=(d,g,b)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&Lu(d);const{bum:x,scope:k,update:q,subTree:E,um:T}=d;x&&Qt(x),k.stop(),q&&(q.active=!1,_e(E,d,g,b)),T&&Ie(T,g),Ie(()=>{d.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve()),process.env.NODE_ENV!=="production"&&$u(d)},$e=(d,g,b,x=!1,k=!1,q=0)=>{for(let E=q;E<d.length;E++)_e(d[E],g,b,x,k)},Kt=d=>d.shapeFlag&6?Kt(d.component.subTree):d.shapeFlag&128?d.suspense.next():p(d.anchor||d.el),Xn=(d,g,b)=>{d==null?g._vnode&&_e(g._vnode,null,null,!0):v(g._vnode||null,d,g,null,null,null,b),vc(),Ec(),g._vnode=d},xt={p:v,um:_e,m:he,r:yt,mt:ne,mc:Y,pc:K,pbc:Q,n:Kt,o:t};let Qn,er;return e&&([Qn,er]=e(xt)),{render:Xn,hydrate:Qn,createApp:Cf(Xn,Qn)}}function It({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Lr(t,e,n=!1){const r=t.children,o=e.children;if(G(r)&&G(o))for(let s=0;s<r.length;s++){const c=r[s];let i=o[s];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[s]=bt(o[s]),i.el=c.el),n||Lr(c,i)),i.type===Fn&&(i.el=c.el),process.env.NODE_ENV!=="production"&&i.type===Ee&&!i.el&&(i.el=c.el)}}function $f(t){const e=t.slice(),n=[0];let r,o,s,c,i;const a=t.length;for(r=0;r<a;r++){const l=t[r];if(l!==0){if(o=n[n.length-1],t[o]<l){e[r]=o,n.push(r);continue}for(s=0,c=n.length-1;s<c;)i=s+c>>1,t[n[i]]<l?s=i+1:c=i;l<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,c=n[s-1];s-- >0;)n[s]=c,c=e[c];return n}const Uf=t=>t.__isTeleport,Oe=Symbol.for("v-fgt"),Fn=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),Vn=[];let He=null;function ce(t=!1){Vn.push(He=t?null:[])}function zf(){Vn.pop(),He=Vn[Vn.length-1]||null}let Pn=1;function ai(t){Pn+=t}function li(t){return t.dynamicChildren=Pn>0?He||Yt:null,zf(),Pn>0&&He&&He.push(t),t}function ye(t,e,n,r,o,s){return li(Ae(t,e,n,r,o,s,!0))}function qe(t,e,n,r,o){return li(me(t,e,n,r,o,!0))}function cn(t){return t?t.__v_isVNode===!0:!1}function Mt(t,e){return process.env.NODE_ENV!=="production"&&e.shapeFlag&6&&on.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const Hf=(...t)=>fi(...t),Mr="__vInternal",ui=({key:t})=>t??null,Fr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?de(t)||be(t)||ee(t)?{i:ve,r:t,k:e,f:!!n}:t:null);function Ae(t,e=null,n=null,r=0,o=null,s=t===Oe?0:1,c=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ui(e),ref:e&&Fr(e),scopeId:Nc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ve};return i?(Wo(a,n),s&128&&t.normalize(a)):n&&(a.shapeFlag|=de(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&O("VNode created with invalid key (NaN). VNode type:",a.type),Pn>0&&!c&&He&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&He.push(a),a}const me=process.env.NODE_ENV!=="production"?Hf:fi;function fi(t,e=null,n=null,r=0,o=null,s=!1){if((!t||t===df)&&(process.env.NODE_ENV!=="production"&&!t&&O(`Invalid vnode type when creating vnode: ${t}.`),t=Ee),cn(t)){const i=Ye(t,e,!0);return n&&Wo(i,n),Pn>0&&!s&&He&&(i.shapeFlag&6?He[He.indexOf(t)]=i:He.push(i)),i.patchFlag|=-2,i}if(vi(t)&&(t=t.__vccOpts),e){e=jf(e);let{class:i,style:a}=e;i&&!de(i)&&(e.class=yn(i)),ae(a)&&(yr(a)&&!G(a)&&(a=pe({},a)),e.style=go(a))}const c=de(t)?1:Yu(t)?128:Uf(t)?64:ae(t)?4:ee(t)?2:0;return process.env.NODE_ENV!=="production"&&c&4&&yr(t)&&(t=te(t),O("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
7
+ Component that was made reactive: `,t)),Ae(t,e,n,r,o,c,s,!0)}function jf(t){return t?yr(t)||Mr in t?pe({},t):t:null}function Ye(t,e,n=!1){const{props:r,ref:o,patchFlag:s,children:c}=t,i=e?Gf(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&ui(i),ref:e&&e.ref?n&&o?G(o)?o.concat(Fr(e)):[o,Fr(e)]:Fr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&G(c)?c.map(pi):c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Oe?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ye(t.ssContent),ssFallback:t.ssFallback&&Ye(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function pi(t){const e=Ye(t);return G(t.children)&&(e.children=t.children.map(pi)),e}function Ko(t=" ",e=0){return me(Fn,null,t,e)}function Bn(t="",e=!1){return e?(ce(),qe(Ee,null,t)):me(Ee,null,t)}function je(t){return t==null||typeof t=="boolean"?me(Ee):G(t)?me(Oe,null,t.slice()):typeof t=="object"?bt(t):me(Fn,null,String(t))}function bt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ye(t)}function Wo(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(G(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),Wo(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Mr in e)?e._ctx=ve:o===3&&ve&&(ve.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ee(e)?(e={default:e,_ctx:ve},n=32):(e=String(e),r&64?(n=16,e=[Ko(e)]):n=8);t.children=e,t.shapeFlag|=n}function Gf(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=yn([e.class,r.class]));else if(o==="style")e.style=go([e.style,r.style]);else if(vn(o)){const s=e[o],c=r[o];c&&s!==c&&!(G(s)&&s.includes(c))&&(e[o]=s?[].concat(s,c):c)}else o!==""&&(e[o]=r[o])}return e}function Xe(t,e,n,r=null){Me(t,e,7,[n,r])}const Zf=Jc();let Kf=0;function Wf(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||Zf,s={uid:Kf++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xc(r,o),emitsOptions:Ac(r,o),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:r.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?s.ctx=gf(s):s.ctx={_:s},s.root=e?e.root:s,s.emit=ju.bind(null,s),t.ce&&t.ce(s),s}let xe=null;const Jf=()=>xe||ve;let Jo,an,di="__VUE_INSTANCE_SETTERS__";(an=ar()[di])||(an=ar()[di]=[]),an.push(t=>xe=t),Jo=t=>{an.length>1?an.forEach(e=>e(t)):an[0](t)};const ln=t=>{Jo(t),t.scope.on()},Ft=()=>{xe&&xe.scope.off(),Jo(null)},Yf=lt("slot,component");function Yo(t,e){const n=e.isNativeTag||Vs;(Yf(t)||n(t))&&O("Do not use built-in or reserved HTML elements as component id: "+t)}function hi(t){return t.vnode.shapeFlag&4}let $n=!1;function Xf(t,e=!1){$n=e;const{props:n,children:r}=t.vnode,o=hi(t);Af(t,n,o,e),Mf(t,r);const s=o?Qf(t,e):void 0;return $n=!1,s}function Qf(t,e){var n;const r=t.type;if(process.env.NODE_ENV!=="production"){if(r.name&&Yo(r.name,t.appContext.config),r.components){const s=Object.keys(r.components);for(let c=0;c<s.length;c++)Yo(s[c],t.appContext.config)}if(r.directives){const s=Object.keys(r.directives);for(let c=0;c<s.length;c++)Lc(s[c])}r.compilerOptions&&ep()&&O('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}t.accessCache=Object.create(null),t.proxy=fc(new Proxy(t.ctx,Hc)),process.env.NODE_ENV!=="production"&&mf(t);const{setup:o}=r;if(o){const s=t.setupContext=o.length>1?np(t):null;ln(t),Dt();const c=st(o,t,0,[process.env.NODE_ENV!=="production"?kn(t.props):t.props,s]);if(At(),Ft(),uo(c)){if(c.then(Ft,Ft),e)return c.then(i=>{gi(t,i,e)}).catch(i=>{kr(i,t,0)});if(t.asyncDep=c,process.env.NODE_ENV!=="production"&&!t.suspense){const i=(n=r.name)!=null?n:"Anonymous";O(`Component <${i}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else gi(t,c,e)}else mi(t,e)}function gi(t,e,n){ee(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ae(e)?(process.env.NODE_ENV!=="production"&&cn(e)&&O("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(t.devtoolsRawSetupState=e),t.setupState=hc(e),process.env.NODE_ENV!=="production"&&bf(t)):process.env.NODE_ENV!=="production"&&e!==void 0&&O(`setup() should return an object. Received: ${e===null?"null":typeof e}`),mi(t,n)}let Xo;const ep=()=>!Xo;function mi(t,e,n){const r=t.type;if(!t.render){if(!e&&Xo&&!r.render){const o=r.template||Uo(t).template;if(o){process.env.NODE_ENV!=="production"&&it(t,"compile");const{isCustomElement:s,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:a}=r,l=pe(pe({isCustomElement:s,delimiters:i},c),a);r.render=Xo(o,l),process.env.NODE_ENV!=="production"&&at(t,"compile")}}t.render=r.render||we}ln(t),Dt(),vf(t),At(),Ft(),process.env.NODE_ENV!=="production"&&!r.render&&t.render===we&&!e&&(r.template?O('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):O("Component is missing template or render function."))}function bi(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,process.env.NODE_ENV!=="production"?{get(e,n){return Nr(),ke(t,"get","$attrs"),e[n]},set(){return O("setupContext.attrs is readonly."),!1},deleteProperty(){return O("setupContext.attrs is readonly."),!1}}:{get(e,n){return ke(t,"get","$attrs"),e[n]}}))}function tp(t){return t.slotsProxy||(t.slotsProxy=new Proxy(t.slots,{get(e,n){return ke(t,"get","$slots"),e[n]}}))}function np(t){const e=n=>{if(process.env.NODE_ENV!=="production"&&(t.exposed&&O("expose() should be called only once per setup()."),n!=null)){let r=typeof n;r==="object"&&(G(n)?r="array":be(n)&&(r="ref")),r!=="object"&&O(`expose() should be passed a plain object, received ${r}.`)}t.exposed=n||{}};return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return bi(t)},get slots(){return tp(t)},get emit(){return(n,...r)=>t.emit(n,...r)},expose:e}):{get attrs(){return bi(t)},slots:t.slots,emit:t.emit,expose:e}}function Vr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(hc(fc(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Lt)return Lt[n](t)},has(e,n){return n in e||n in Lt}}))}const rp=/(?:^|[-_])(\w)/g,op=t=>t.replace(rp,e=>e.toUpperCase()).replace(/[-_]/g,"");function _i(t,e=!0){return ee(t)?t.displayName||t.name:t.name||e&&t.__name}function Pr(t,e,n=!1){let r=_i(e);if(!r&&e.__file){const o=e.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&t&&t.parent){const o=s=>{for(const c in s)if(s[c]===e)return c};r=o(t.components||t.parent.type.components)||o(t.appContext.components)}return r?op(r):n?"App":"Anonymous"}function vi(t){return ee(t)&&"__vccOpts"in t}const un=(t,e)=>xu(t,e,$n);function Ei(t,e,n){const r=arguments.length;return r===2?ae(e)&&!G(e)?cn(e)?me(t,null,[e]):me(t,e):me(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&cn(n)&&(n=[n]),me(t,e,n))}const sp=Symbol.for("v-scx"),cp=()=>{{const t=sn(sp);return t||process.env.NODE_ENV!=="production"&&O("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function Qo(t){return!!(t&&t.__v_isShallow)}function ip(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const t={style:"color:#3ba776"},e={style:"color:#0b1bc9"},n={style:"color:#b62e24"},r={style:"color:#9d288c"},o={header(f){return ae(f)?f.__isVue?["div",t,"VueInstance"]:be(f)?["div",{},["span",t,u(f)],"<",i(f.value),">"]:Nt(f)?["div",{},["span",t,Qo(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${dt(f)?" (readonly)":""}`]:dt(f)?["div",{},["span",t,Qo(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...s(f.$)]}};function s(f){const p=[];f.type.props&&f.props&&p.push(c("props",te(f.props))),f.setupState!==ue&&p.push(c("setup",f.setupState)),f.data!==ue&&p.push(c("data",te(f.data)));const h=a(f,"computed");h&&p.push(c("computed",h));const y=a(f,"inject");return y&&p.push(c("injected",y)),p.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),p}function c(f,p){return p=pe({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(h=>["div",{},["span",r,h+": "],i(p[h],!1)])]]:["span",{}]}function i(f,p=!0){return typeof f=="number"?["span",e,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",r,f]:ae(f)?["object",{object:p?te(f):f}]:["span",n,String(f)]}function a(f,p){const h=f.type;if(ee(h))return;const y={};for(const v in f.ctx)l(h,v,p)&&(y[v]=f.ctx[v]);return y}function l(f,p,h){const y=f[h];if(G(y)&&y.includes(p)||ae(y)&&p in y||f.extends&&l(f.extends,p,h)||f.mixins&&f.mixins.some(v=>l(v,p,h)))return!0}function u(f){return Qo(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}const yi="3.3.4",ap="http://www.w3.org/2000/svg",Vt=typeof document<"u"?document:null,xi=Vt&&Vt.createElement("template"),lp={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?Vt.createElementNS(ap,t):Vt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>Vt.createTextNode(t),createComment:t=>Vt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,s){const c=n?n.previousSibling:e.lastChild;if(o&&(o===s||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xi.innerHTML=r?`<svg>${t}</svg>`:t;const i=xi.content;if(r){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}e.insertBefore(i,n)}return[c?c.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function up(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function fp(t,e,n){const r=t.style,o=de(n);if(n&&!o){if(e&&!de(e))for(const s in e)n[s]==null&&es(r,s,"");for(const s in n)es(r,s,n[s])}else{const s=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=s)}}const pp=/[^\\];\s*$/,wi=/\s*!important$/;function es(t,e,n){if(G(n))n.forEach(r=>es(t,e,r));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&pp.test(n)&&O(`Unexpected semicolon at the end of '${e}' style value: '${n}'`),e.startsWith("--"))t.setProperty(e,n);else{const r=dp(t,e);wi.test(n)?t.setProperty(ot(r),n.replace(wi,""),"important"):t[r]=n}}const ki=["Webkit","Moz","ms"],ts={};function dp(t,e){const n=ts[e];if(n)return n;let r=Xt(e);if(r!=="filter"&&r in t)return ts[e]=r;r=cr(r);for(let o=0;o<ki.length;o++){const s=ki[o]+r;if(s in t)return ts[e]=s}return e}const Ci="http://www.w3.org/1999/xlink";function hp(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Ci,e.slice(6,e.length)):t.setAttributeNS(Ci,e,n);else{const s=Ml(e);n==null||s&&!zs(n)?t.removeAttribute(e):t.setAttribute(e,s?"":n)}}function gp(t,e,n,r,o,s,c){if(e==="innerHTML"||e==="textContent"){r&&c(r,o,s),t[e]=n??"";return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){t._value=n;const l=i==="OPTION"?t.getAttribute("value"):t.value,u=n??"";l!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let a=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=zs(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch(l){process.env.NODE_ENV!=="production"&&!a&&O(`Failed setting prop "${e}" on <${i.toLowerCase()}>: value ${n} is invalid.`,l)}a&&t.removeAttribute(e)}function fn(t,e,n,r){t.addEventListener(e,n,r)}function mp(t,e,n,r){t.removeEventListener(e,n,r)}function bp(t,e,n,r,o=null){const s=t._vei||(t._vei={}),c=s[e];if(r&&c)c.value=r;else{const[i,a]=_p(e);if(r){const l=s[e]=yp(r,o);fn(t,i,l,a)}else c&&(mp(t,i,c,a),s[e]=void 0)}}const Di=/(?:Once|Passive|Capture)$/;function _p(t){let e;if(Di.test(t)){e={};let r;for(;r=t.match(Di);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ot(t.slice(2)),e]}let ns=0;const vp=Promise.resolve(),Ep=()=>ns||(vp.then(()=>ns=0),ns=Date.now());function yp(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Me(xp(r,n.value),e,5,[r])};return n.value=t,n.attached=Ep(),n}function xp(t,e){if(G(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const Ai=/^on[a-z]/,wp=(t,e,n,r,o=!1,s,c,i,a)=>{e==="class"?up(t,r,o):e==="style"?fp(t,n,r):vn(e)?nr(e)||bp(t,e,n,r,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):kp(t,e,r,o))?gp(t,e,r,s,c,i,a):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),hp(t,e,r,o))};function kp(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&Ai.test(e)&&ee(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Ai.test(e)&&de(n)?!1:e in t}const _t="transition",Un="animation",Br=(t,{slots:e})=>Ei(tf,Cp(t),e);Br.displayName="Transition";const Ni={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Br.props=pe({},Mc,Ni);const Pt=(t,e=[])=>{G(t)?t.forEach(n=>n(...e)):t&&t(...e)},Si=t=>t?G(t)?t.some(e=>e.length>1):t.length>1:!1;function Cp(t){const e={};for(const V in t)V in Ni||(e[V]=t[V]);if(t.css===!1)return e;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:l=c,appearToClass:u=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,y=Dp(o),v=y&&y[0],M=y&&y[1],{onBeforeEnter:R,onEnter:N,onEnterCancelled:A,onLeave:B,onLeaveCancelled:S,onBeforeAppear:I=R,onAppear:J=N,onAppearCancelled:z=A}=e,Y=(V,se,L)=>{Bt(V,se?u:i),Bt(V,se?l:c),L&&L()},U=(V,se)=>{V._isLeaving=!1,Bt(V,f),Bt(V,h),Bt(V,p),se&&se()},Q=V=>(se,L)=>{const ne=V?J:N,Z=()=>Y(se,V,L);Pt(ne,[se,Z]),Ti(()=>{Bt(se,V?a:s),vt(se,V?u:i),Si(ne)||Oi(se,r,v,Z)})};return pe(e,{onBeforeEnter(V){Pt(R,[V]),vt(V,s),vt(V,c)},onBeforeAppear(V){Pt(I,[V]),vt(V,a),vt(V,l)},onEnter:Q(!1),onAppear:Q(!0),onLeave(V,se){V._isLeaving=!0;const L=()=>U(V,se);vt(V,f),Sp(),vt(V,p),Ti(()=>{V._isLeaving&&(Bt(V,f),vt(V,h),Si(B)||Oi(V,r,M,L))}),Pt(B,[V,L])},onEnterCancelled(V){Y(V,!1),Pt(A,[V])},onAppearCancelled(V){Y(V,!0),Pt(z,[V])},onLeaveCancelled(V){U(V),Pt(S,[V])}})}function Dp(t){if(t==null)return null;if(ae(t))return[rs(t.enter),rs(t.leave)];{const e=rs(t);return[e,e]}}function rs(t){const e=Al(t);return process.env.NODE_ENV!=="production"&&Au(e,"<transition> explicit duration"),e}function vt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function Bt(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Ti(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ap=0;function Oi(t,e,n,r){const o=t._endId=++Ap,s=()=>{o===t._endId&&r()};if(n)return setTimeout(s,n);const{type:c,timeout:i,propCount:a}=Np(t,e);if(!c)return r();const l=c+"end";let u=0;const f=()=>{t.removeEventListener(l,p),s()},p=h=>{h.target===t&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},i+1),t.addEventListener(l,p)}function Np(t,e){const n=window.getComputedStyle(t),r=y=>(n[y]||"").split(", "),o=r(`${_t}Delay`),s=r(`${_t}Duration`),c=qi(o,s),i=r(`${Un}Delay`),a=r(`${Un}Duration`),l=qi(i,a);let u=null,f=0,p=0;e===_t?c>0&&(u=_t,f=c,p=s.length):e===Un?l>0&&(u=Un,f=l,p=a.length):(f=Math.max(c,l),u=f>0?c>l?_t:Un:null,p=u?u===_t?s.length:a.length:0);const h=u===_t&&/\b(transform|all)(,|$)/.test(r(`${_t}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:h}}function qi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Ri(n)+Ri(t[r])))}function Ri(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Sp(){return document.body.offsetHeight}const Li=t=>{const e=t.props["onUpdate:modelValue"]||!1;return G(e)?n=>Qt(e,n):e};function Tp(t){t.target.composing=!0}function Ii(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Op={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t._assign=Li(o);const s=r||o.props&&o.props.type==="number";fn(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),s&&(i=ho(i)),t._assign(i)}),n&&fn(t,"change",()=>{t.value=t.value.trim()}),e||(fn(t,"compositionstart",Tp),fn(t,"compositionend",Ii),fn(t,"change",Ii))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:o}},s){if(t._assign=Li(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(o||t.type==="number")&&ho(t.value)===e))return;const c=e??"";t.value!==c&&(t.value=c)}},qp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rp=(t,e)=>n=>{if(!("key"in n))return;const r=ot(n.key);if(e.some(o=>o===r||qp[o]===r))return t(n)},Lp={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):zn(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),zn(t,!0),r.enter(t)):r.leave(t,()=>{zn(t,!1)}):zn(t,e))},beforeUnmount(t,{value:e}){zn(t,e)}};function zn(t,e){t.style.display=e?t._vod:"none"}const Ip=pe({patchProp:wp},lp);let Mi;function Mp(){return Mi||(Mi=Pf(Ip))}const Fp=(...t)=>{const e=Mp().createApp(...t);process.env.NODE_ENV!=="production"&&(Vp(e),Pp(e));const{mount:n}=e;return e.mount=r=>{const o=Bp(r);if(!o)return;const s=e._component;!ee(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const c=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),c},e};function Vp(t){Object.defineProperty(t.config,"isNativeTag",{value:e=>Ll(e)||Il(e),writable:!1})}function Pp(t){{const e=t.config.isCustomElement;Object.defineProperty(t.config,"isCustomElement",{get(){return e},set(){O("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=t.config.compilerOptions,r='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(t.config,"compilerOptions",{get(){return O(r),n},set(){O(r)}})}}function Bp(t){if(de(t)){const e=document.querySelector(t);return process.env.NODE_ENV!=="production"&&!e&&O(`Failed to mount app: mount target selector "${t}" returned null.`),e}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&t instanceof window.ShadowRoot&&t.mode==="closed"&&O('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),t}function $p(){ip()}process.env.NODE_ENV!=="production"&&$p();const Sb="",Fi=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Up={},zp={class:"chat-button"};function Hp(t,e){return ce(),ye("button",zp,[Ln(t.$slots,"default")])}const jp=Fi(Up,[["render",Hp]]);function Gp(){const t=new Map;function e(o,s){const c=t.get(o);c&&c.splice(c.indexOf(s)>>>0,1)}function n(o,s){let c=t.get(o);return c?c.push(s):c=[s],t.set(o,c),()=>e(o,s)}function r(o,s){const c=t.get(o);c&&c.slice().forEach(async i=>{await i(s)})}return{on:n,off:e,emit:r}}function Zp(t){if(!document.querySelector(t)){const n=document.createElement("div");t.startsWith("#")&&(n.id=t.replace("#","")),t.startsWith(".")&&n.classList.add(t.replace(".","")),document.body.appendChild(n)}}const $t=Gp(),Kp={class:"chat-layout"},Wp={key:0,class:"chat-header"},Jp={key:2,class:"chat-footer"},Yp=ze({__name:"Layout",setup(t){const e=tn(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return Rn(()=>{$t.on("scrollToBottom",n),window.addEventListener("resize",n)}),Fo(()=>{$t.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,o)=>(ce(),ye("main",Kp,[r.$slots.header?(ce(),ye("div",Wp,[Ln(r.$slots,"header")])):Bn("",!0),r.$slots.default?(ce(),ye("div",{key:1,class:"chat-body",ref_key:"chatBodyRef",ref:e},[Ln(r.$slots,"default")],512)):Bn("",!0),r.$slots.footer?(ce(),ye("div",Jp,[Ln(r.$slots,"footer")])):Bn("",!0)]))}}),Tb="",Hn={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",defaultLanguage:"en",initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question.."}},theme:{}},Xp="#n8n-chat",Vi="n8n-chat/sessionId",Pi="Chat",Bi="ChatOptions";function os(){return sn(Pi)}function ss(){return{options:sn(Bi)}}function $r(){const{options:t}=ss(),e=(t==null?void 0:t.defaultLanguage)??"en";function n(o){var s,c;return((c=(s=t==null?void 0:t.i18n)==null?void 0:s[e])==null?void 0:c[o])??o}function r(o){var s,c;return!!((c=(s=t==null?void 0:t.i18n)==null?void 0:s[e])!=null&&c[o])}return{t:n,te:r}}const Qp={class:"chat-get-started"},ed=ze({__name:"GetStarted",setup(t){const{t:e}=$r();return(n,r)=>(ce(),ye("div",Qp,[me(jp,{onClick:r[0]||(r[0]=o=>n.$emit("click:button"))},{default:gt(()=>[Ko(lr(ge(e)("getStarted")),1)]),_:1})]))}}),qb="",Rb="",td={},nd={class:"chat-powered-by"},rd=Ae("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1);function od(t,e){return ce(),ye("div",nd,[Ko(" Powered by "),rd])}const sd=Fi(td,[["render",od]]),cd={class:"chat-get-started-footer"},id={key:0},ad=ze({__name:"GetStartedFooter",setup(t){ss();const{t:e,te:n}=$r();return(r,o)=>(ce(),ye("div",cd,[ge(n)("footer")?(ce(),ye("div",id,lr(ge(e)("footer")),1)):Bn("",!0),me(sd)]))}}),Lb="";function $i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ld(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var ie={},Ui={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
8
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},cs=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,pn={},zi={};function ud(t){var e,n,r=zi[t];if(r)return r;for(r=zi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function Ur(t,e,n){var r,o,s,c,i,a="";for(typeof e!="string"&&(n=e,e=Ur.defaultChars),typeof n>"u"&&(n=!0),i=ud(e),r=0,o=t.length;r<o;r++){if(s=t.charCodeAt(r),n&&s===37&&r+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){a+=t.slice(r,r+3),r+=2;continue}if(s<128){a+=i[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&r+1<o&&(c=t.charCodeAt(r+1),c>=56320&&c<=57343)){a+=encodeURIComponent(t[r]+t[r+1]),r++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[r])}return a}Ur.defaultChars=";/?:@&=+$,-_.!~*'()#",Ur.componentChars="-_.!~*'()";var fd=Ur,Hi={};function pd(t){var e,n,r=Hi[t];if(r)return r;for(r=Hi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function zr(t,e){var n;return typeof e!="string"&&(e=zr.defaultChars),n=pd(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var o,s,c,i,a,l,u,f="";for(o=0,s=r.length;o<s;o+=3){if(c=parseInt(r.slice(o+1,o+3),16),c<128){f+=n[c];continue}if((c&224)===192&&o+3<s&&(i=parseInt(r.slice(o+4,o+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?f+="��":f+=String.fromCharCode(u),o+=3;continue}if((c&240)===224&&o+6<s&&(i=parseInt(r.slice(o+4,o+6),16),a=parseInt(r.slice(o+7,o+9),16),(i&192)===128&&(a&192)===128)){u=c<<12&61440|i<<6&4032|a&63,u<2048||u>=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((c&248)===240&&o+9<s&&(i=parseInt(r.slice(o+4,o+6),16),a=parseInt(r.slice(o+7,o+9),16),l=parseInt(r.slice(o+10,o+12),16),(i&192)===128&&(a&192)===128&&(l&192)===128)){u=c<<18&1835008|i<<12&258048|a<<6&4032|l&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}zr.defaultChars=";/?:@&=+$,#",zr.componentChars="";var dd=zr,hd=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Hr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var gd=/^([a-z0-9.+-]+:)/i,md=/:[0-9]*$/,bd=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,_d=["<",">",'"',"`"," ","\r",`
9
+ `," "],vd=["{","}","|","\\","^","`"].concat(_d),Ed=["'"].concat(vd),ji=["%","/","?",";","#"].concat(Ed),Gi=["/","?","#"],yd=255,Zi=/^[+a-z0-9A-Z_-]{0,63}$/,xd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ki={javascript:!0,"javascript:":!0},Wi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function wd(t,e){if(t&&t instanceof Hr)return t;var n=new Hr;return n.parse(t,e),n}Hr.prototype.parse=function(t,e){var n,r,o,s,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var a=bd.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=gd.exec(i);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(l&&Ki[l])&&(i=i.substr(2),this.slashes=!0)),!Ki[l]&&(c||l&&!Wi[l])){var u=-1;for(n=0;n<Gi.length;n++)s=i.indexOf(Gi[n]),s!==-1&&(u===-1||s<u)&&(u=s);var f,p;for(u===-1?p=i.lastIndexOf("@"):p=i.lastIndexOf("@",u),p!==-1&&(f=i.slice(0,p),i=i.slice(p+1),this.auth=f),u=-1,n=0;n<ji.length;n++)s=i.indexOf(ji[n]),s!==-1&&(u===-1||s<u)&&(u=s);u===-1&&(u=i.length),i[u-1]===":"&&u--;var h=i.slice(0,u);i=i.slice(u),this.parseHost(h),this.hostname=this.hostname||"";var y=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!y){var v=this.hostname.split(/\./);for(n=0,r=v.length;n<r;n++){var M=v[n];if(M&&!M.match(Zi)){for(var R="",N=0,A=M.length;N<A;N++)M.charCodeAt(N)>127?R+="x":R+=M[N];if(!R.match(Zi)){var B=v.slice(0,n),S=v.slice(n+1),I=M.match(xd);I&&(B.push(I[1]),S.unshift(I[2])),S.length&&(i=S.join(".")+i),this.hostname=B.join(".");break}}}}this.hostname.length>yd&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var J=i.indexOf("#");J!==-1&&(this.hash=i.substr(J),i=i.slice(0,J));var z=i.indexOf("?");return z!==-1&&(this.search=i.substr(z),i=i.slice(0,z)),i&&(this.pathname=i),Wi[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Hr.prototype.parseHost=function(t){var e=md.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var kd=wd;pn.encode=fd,pn.decode=dd,pn.format=hd,pn.parse=kd;var Ut={},is,Ji;function Yi(){return Ji||(Ji=1,is=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),is}var as,Xi;function Qi(){return Xi||(Xi=1,as=/[\0-\x1F\x7F-\x9F]/),as}var ls,ea;function Cd(){return ea||(ea=1,ls=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),ls}var us,ta;function na(){return ta||(ta=1,us=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),us}var ra;function Dd(){return ra||(ra=1,Ut.Any=Yi(),Ut.Cc=Qi(),Ut.Cf=Cd(),Ut.P=cs,Ut.Z=na()),Ut}(function(t){function e(L){return Object.prototype.toString.call(L)}function n(L){return e(L)==="[object String]"}var r=Object.prototype.hasOwnProperty;function o(L,ne){return r.call(L,ne)}function s(L){var ne=Array.prototype.slice.call(arguments,1);return ne.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(m){L[m]=Z[m]})}}),L}function c(L,ne,Z){return[].concat(L.slice(0,ne),Z,L.slice(ne+1))}function i(L){return!(L>=55296&&L<=57343||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534||L>=0&&L<=8||L===11||L>=14&&L<=31||L>=127&&L<=159||L>1114111)}function a(L){if(L>65535){L-=65536;var ne=55296+(L>>10),Z=56320+(L&1023);return String.fromCharCode(ne,Z)}return String.fromCharCode(L)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(l.source+"|"+u.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=Ui;function y(L,ne){var Z=0;return o(h,ne)?h[ne]:ne.charCodeAt(0)===35&&p.test(ne)&&(Z=ne[1].toLowerCase()==="x"?parseInt(ne.slice(2),16):parseInt(ne.slice(1),10),i(Z))?a(Z):L}function v(L){return L.indexOf("\\")<0?L:L.replace(l,"$1")}function M(L){return L.indexOf("\\")<0&&L.indexOf("&")<0?L:L.replace(f,function(ne,Z,m){return Z||y(ne,m)})}var R=/[&<>"]/,N=/[&<>"]/g,A={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function B(L){return A[L]}function S(L){return R.test(L)?L.replace(N,B):L}var I=/[.?*+^$[\]\\(){}|-]/g;function J(L){return L.replace(I,"\\$&")}function z(L){switch(L){case 9:case 32:return!0}return!1}function Y(L){if(L>=8192&&L<=8202)return!0;switch(L){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var U=cs;function Q(L){return U.test(L)}function V(L){switch(L){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function se(L){return L=L.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(L=L.replace(/ẞ/g,"ß")),L.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=pn,t.lib.ucmicro=Dd(),t.assign=s,t.isString=n,t.has=o,t.unescapeMd=v,t.unescapeAll=M,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=S,t.arrayReplaceAt=c,t.isSpace=z,t.isWhiteSpace=Y,t.isMdAsciiPunct=V,t.isPunctChar=Q,t.escapeRE=J,t.normalizeReference=se})(ie);var jr={},Ad=function(e,n,r){var o,s,c,i,a=-1,l=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos<l;){if(c=e.src.charCodeAt(e.pos),c===93&&(o--,o===0)){s=!0;break}if(i=e.pos,e.md.inline.skipToken(e),c===91){if(i===e.pos-1)o++;else if(r)return e.pos=u,-1}}return s&&(a=e.pos),e.pos=u,a},oa=ie.unescapeAll,Nd=function(e,n,r){var o,s,c=0,i=n,a={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n<r;){if(o=e.charCodeAt(n),o===10||o===60)return a;if(o===62)return a.pos=n+1,a.str=oa(e.slice(i+1,n)),a.ok=!0,a;if(o===92&&n+1<r){n+=2;continue}n++}return a}for(s=0;n<r&&(o=e.charCodeAt(n),!(o===32||o<32||o===127));){if(o===92&&n+1<r){if(e.charCodeAt(n+1)===32)break;n+=2;continue}if(o===40&&(s++,s>32))return a;if(o===41){if(s===0)break;s--}n++}return i===n||s!==0||(a.str=oa(e.slice(i,n)),a.lines=c,a.pos=n,a.ok=!0),a},Sd=ie.unescapeAll,Td=function(e,n,r){var o,s,c=0,i=n,a={ok:!1,pos:0,lines:0,str:""};if(n>=r||(s=e.charCodeAt(n),s!==34&&s!==39&&s!==40))return a;for(n++,s===40&&(s=41);n<r;){if(o=e.charCodeAt(n),o===s)return a.pos=n+1,a.lines=c,a.str=Sd(e.slice(i+1,n)),a.ok=!0,a;if(o===40&&s===41)return a;o===10?c++:o===92&&n+1<r&&(n++,e.charCodeAt(n)===10&&c++),n++}return a};jr.parseLinkLabel=Ad,jr.parseLinkDestination=Nd,jr.parseLinkTitle=Td;var Od=ie.assign,qd=ie.unescapeAll,zt=ie.escapeHtml,Qe={};Qe.code_inline=function(t,e,n,r,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+zt(t[e].content)+"</code>"},Qe.code_block=function(t,e,n,r,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+zt(t[e].content)+`</code></pre>
10
+ `},Qe.fence=function(t,e,n,r,o){var s=t[e],c=s.info?qd(s.info).trim():"",i="",a="",l,u,f,p,h;return c&&(f=c.split(/(\s+)/g),i=f[0],a=f.slice(2).join("")),n.highlight?l=n.highlight(s.content,i,a)||zt(s.content):l=zt(s.content),l.indexOf("<pre")===0?l+`
11
+ `:c?(u=s.attrIndex("class"),p=s.attrs?s.attrs.slice():[],u<0?p.push(["class",n.langPrefix+i]):(p[u]=p[u].slice(),p[u][1]+=" "+n.langPrefix+i),h={attrs:p},"<pre><code"+o.renderAttrs(h)+">"+l+`</code></pre>
12
+ `):"<pre><code"+o.renderAttrs(s)+">"+l+`</code></pre>
13
+ `},Qe.image=function(t,e,n,r,o){var s=t[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,n,r),o.renderToken(t,e,n)},Qe.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
14
+ `:`<br>
15
+ `},Qe.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
16
+ `:`<br>
17
+ `:`
18
+ `},Qe.text=function(t,e){return zt(t[e].content)},Qe.html_block=function(t,e){return t[e].content},Qe.html_inline=function(t,e){return t[e].content};function dn(){this.rules=Od({},Qe)}dn.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+zt(e.attrs[n][0])+'="'+zt(e.attrs[n][1])+'"';return o},dn.prototype.renderToken=function(e,n,r){var o,s="",c=!1,i=e[n];return i.hidden?"":(i.block&&i.nesting!==-1&&n&&e[n-1].hidden&&(s+=`
19
+ `),s+=(i.nesting===-1?"</":"<")+i.tag,s+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(s+=" /"),i.block&&(c=!0,i.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===i.tag)&&(c=!1))),s+=c?`>
20
+ `:">",s)},dn.prototype.renderInline=function(t,e,n){for(var r,o="",s=this.rules,c=0,i=t.length;c<i;c++)r=t[c].type,typeof s[r]<"u"?o+=s[r](t,c,e,n,this):o+=this.renderToken(t,c,e);return o},dn.prototype.renderInlineAsText=function(t,e,n){for(var r="",o=0,s=t.length;o<s;o++)t[o].type==="text"?r+=t[o].content:t[o].type==="image"?r+=this.renderInlineAsText(t[o].children,e,n):t[o].type==="softbreak"&&(r+=`
21
+ `);return r},dn.prototype.render=function(t,e,n){var r,o,s,c="",i=this.rules;for(r=0,o=t.length;r<o;r++)s=t[r].type,s==="inline"?c+=this.renderInline(t[r].children,e,n):typeof i[s]<"u"?c+=i[t[r].type](t,r,e,n,this):c+=this.renderToken(t,r,e,n);return c};var Rd=dn;function Ge(){this.__rules__=[],this.__cache__=null}Ge.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Ge.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||t.__cache__[n].push(r.fn))})})},Ge.prototype.at=function(t,e,n){var r=this.__find__(t),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=o.alt||[],this.__cache__=null},Ge.prototype.before=function(t,e,n,r){var o=this.__find__(t),s=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null},Ge.prototype.after=function(t,e,n,r){var o=this.__find__(t),s=r||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null},Ge.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Ge.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n},Ge.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)},Ge.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var o=this.__find__(r);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n},Ge.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var fs=Ge,Ld=/\r\n?|\n/g,Id=/\0/g,Md=function(e){var n;n=e.src.replace(Ld,`
22
+ `),n=n.replace(Id,"�"),e.src=n},Fd=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},Vd=function(e){var n=e.tokens,r,o,s;for(o=0,s=n.length;o<s;o++)r=n[o],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Pd=ie.arrayReplaceAt;function Bd(t){return/^<a[>\s]/i.test(t)}function $d(t){return/^<\/a\s*>/i.test(t)}var Ud=function(e){var n,r,o,s,c,i,a,l,u,f,p,h,y,v,M,R,N=e.tokens,A;if(e.md.options.linkify){for(r=0,o=N.length;r<o;r++)if(!(N[r].type!=="inline"||!e.md.linkify.pretest(N[r].content)))for(s=N[r].children,y=0,n=s.length-1;n>=0;n--){if(i=s[n],i.type==="link_close"){for(n--;s[n].level!==i.level&&s[n].type!=="link_open";)n--;continue}if(i.type==="html_inline"&&(Bd(i.content)&&y>0&&y--,$d(i.content)&&y++),!(y>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,A=e.md.linkify.match(u),a=[],h=i.level,p=0,l=0;l<A.length;l++)v=A[l].url,M=e.md.normalizeLink(v),e.md.validateLink(M)&&(R=A[l].text,A[l].schema?A[l].schema==="mailto:"&&!/^mailto:/i.test(R)?R=e.md.normalizeLinkText("mailto:"+R).replace(/^mailto:/,""):R=e.md.normalizeLinkText(R):R=e.md.normalizeLinkText("http://"+R).replace(/^http:\/\//,""),f=A[l].index,f>p&&(c=new e.Token("text","",0),c.content=u.slice(p,f),c.level=h,a.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",M]],c.level=h++,c.markup="linkify",c.info="auto",a.push(c),c=new e.Token("text","",0),c.content=R,c.level=h,a.push(c),c=new e.Token("link_close","a",-1),c.level=--h,c.markup="linkify",c.info="auto",a.push(c),p=A[l].lastIndex);p<u.length&&(c=new e.Token("text","",0),c.content=u.slice(p),c.level=h,a.push(c)),N[r].children=s=Pd(s,n,a)}}}},sa=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,zd=/\((c|tm|r|p)\)/i,Hd=/\((c|tm|r|p)\)/ig,jd={c:"©",r:"®",p:"§",tm:"™"};function Gd(t,e){return jd[e.toLowerCase()]}function Zd(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(Hd,Gd)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Kd(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&sa.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var Wd=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(zd.test(e.tokens[n].content)&&Zd(e.tokens[n].children),sa.test(e.tokens[n].content)&&Kd(e.tokens[n].children))},ca=ie.isWhiteSpace,ia=ie.isPunctChar,aa=ie.isMdAsciiPunct,Jd=/['"]/,la=/['"]/g,ua="’";function Gr(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function Yd(t,e){var n,r,o,s,c,i,a,l,u,f,p,h,y,v,M,R,N,A,B,S,I;for(B=[],n=0;n<t.length;n++){for(r=t[n],a=t[n].level,N=B.length-1;N>=0&&!(B[N].level<=a);N--);if(B.length=N+1,r.type==="text"){o=r.content,c=0,i=o.length;e:for(;c<i&&(la.lastIndex=c,s=la.exec(o),!!s);){if(M=R=!0,c=s.index+1,A=s[0]==="'",u=32,s.index-1>=0)u=o.charCodeAt(s.index-1);else for(N=n-1;N>=0&&!(t[N].type==="softbreak"||t[N].type==="hardbreak");N--)if(t[N].content){u=t[N].content.charCodeAt(t[N].content.length-1);break}if(f=32,c<i)f=o.charCodeAt(c);else for(N=n+1;N<t.length&&!(t[N].type==="softbreak"||t[N].type==="hardbreak");N++)if(t[N].content){f=t[N].content.charCodeAt(0);break}if(p=aa(u)||ia(String.fromCharCode(u)),h=aa(f)||ia(String.fromCharCode(f)),y=ca(u),v=ca(f),v?M=!1:h&&(y||p||(M=!1)),y?R=!1:p&&(v||h||(R=!1)),f===34&&s[0]==='"'&&u>=48&&u<=57&&(R=M=!1),M&&R&&(M=p,R=h),!M&&!R){A&&(r.content=Gr(r.content,s.index,ua));continue}if(R){for(N=B.length-1;N>=0&&(l=B[N],!(B[N].level<a));N--)if(l.single===A&&B[N].level===a){l=B[N],A?(S=e.md.options.quotes[2],I=e.md.options.quotes[3]):(S=e.md.options.quotes[0],I=e.md.options.quotes[1]),r.content=Gr(r.content,s.index,I),t[l.token].content=Gr(t[l.token].content,l.pos,S),c+=I.length-1,l.token===n&&(c+=S.length-1),o=r.content,i=o.length,B.length=N;continue e}}M?B.push({token:n,pos:s.index,single:A,level:a}):R&&A&&(r.content=Gr(r.content,s.index,ua))}}}}var Xd=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Jd.test(e.tokens[n].content)||Yd(e.tokens[n].children,e)};function hn(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}hn.prototype.attrIndex=function(e){var n,r,o;if(!this.attrs)return-1;for(n=this.attrs,r=0,o=n.length;r<o;r++)if(n[r][0]===e)return r;return-1},hn.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},hn.prototype.attrSet=function(e,n){var r=this.attrIndex(e),o=[e,n];r<0?this.attrPush(o):this.attrs[r]=o},hn.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r},hn.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var ps=hn,Qd=ps;function fa(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}fa.prototype.Token=Qd;var eh=fa,th=fs,ds=[["normalize",Md],["block",Fd],["inline",Vd],["linkify",Ud],["replacements",Wd],["smartquotes",Xd]];function hs(){this.ruler=new th;for(var t=0;t<ds.length;t++)this.ruler.push(ds[t][0],ds[t][1])}hs.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},hs.prototype.State=eh;var nh=hs,gs=ie.isSpace;function ms(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.substr(n,r-n)}function pa(t){var e=[],n=0,r=t.length,o,s=!1,c=0,i="";for(o=t.charCodeAt(n);n<r;)o===124&&(s?(i+=t.substring(c,n-1),c=n):(e.push(i+t.substring(c,n)),i="",c=n+1)),s=o===92,n++,o=t.charCodeAt(n);return e.push(i+t.substring(c)),e}var rh=function(e,n,r,o){var s,c,i,a,l,u,f,p,h,y,v,M,R,N,A,B,S,I;if(n+2>r||(u=n+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(i=e.bMarks[u]+e.tShift[u],i>=e.eMarks[u])||(S=e.src.charCodeAt(i++),S!==124&&S!==45&&S!==58)||i>=e.eMarks[u]||(I=e.src.charCodeAt(i++),I!==124&&I!==45&&I!==58&&!gs(I))||S===45&&gs(I))return!1;for(;i<e.eMarks[u];){if(s=e.src.charCodeAt(i),s!==124&&s!==45&&s!==58&&!gs(s))return!1;i++}for(c=ms(e,n+1),f=c.split("|"),y=[],a=0;a<f.length;a++){if(v=f[a].trim(),!v){if(a===0||a===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;v.charCodeAt(v.length-1)===58?y.push(v.charCodeAt(0)===58?"center":"right"):v.charCodeAt(0)===58?y.push("left"):y.push("")}if(c=ms(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=pa(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),p=f.length,p===0||p!==y.length))return!1;if(o)return!0;for(N=e.parentType,e.parentType="table",B=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),h.map=M=[n,0],h=e.push("thead_open","thead",1),h.map=[n,n+1],h=e.push("tr_open","tr",1),h.map=[n,n+1],a=0;a<f.length;a++)h=e.push("th_open","th",1),y[a]&&(h.attrs=[["style","text-align:"+y[a]]]),h=e.push("inline","",0),h.content=f[a].trim(),h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),u=n+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(A=!1,a=0,l=B.length;a<l;a++)if(B[a](e,u,r,!0)){A=!0;break}if(A||(c=ms(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=pa(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(h=e.push("tbody_open","tbody",1),h.map=R=[n+2,0]),h=e.push("tr_open","tr",1),h.map=[u,u+1],a=0;a<p;a++)h=e.push("td_open","td",1),y[a]&&(h.attrs=[["style","text-align:"+y[a]]]),h=e.push("inline","",0),h.content=f[a]?f[a].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return R&&(h=e.push("tbody_close","tbody",-1),R[1]=u),h=e.push("table_close","table",-1),M[1]=u,e.parentType=N,e.line=u,!0},oh=function(e,n,r){var o,s,c;if(e.sCount[n]-e.blkIndent<4)return!1;for(s=o=n+1;o<r;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,c=e.push("code_block","code",0),c.content=e.getLines(n,s,4+e.blkIndent,!1)+`
23
+ `,c.map=[n,e.line],!0},sh=function(e,n,r,o){var s,c,i,a,l,u,f,p=!1,h=e.bMarks[n]+e.tShift[n],y=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||h+3>y||(s=e.src.charCodeAt(h),s!==126&&s!==96)||(l=h,h=e.skipChars(h,s),c=h-l,c<3)||(f=e.src.slice(l,h),i=e.src.slice(h,y),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(a=n;a++,!(a>=r||(h=l=e.bMarks[a]+e.tShift[a],y=e.eMarks[a],h<y&&e.sCount[a]<e.blkIndent));)if(e.src.charCodeAt(h)===s&&!(e.sCount[a]-e.blkIndent>=4)&&(h=e.skipChars(h,s),!(h-l<c)&&(h=e.skipSpaces(h),!(h<y)))){p=!0;break}return c=e.sCount[n],e.line=a+(p?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(n+1,a,c,!0),u.markup=f,u.map=[n,e.line],!0},da=ie.isSpace,ch=function(e,n,r,o){var s,c,i,a,l,u,f,p,h,y,v,M,R,N,A,B,S,I,J,z,Y=e.lineMax,U=e.bMarks[n]+e.tShift[n],Q=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(U++)!==62)return!1;if(o)return!0;for(a=h=e.sCount[n]+1,e.src.charCodeAt(U)===32?(U++,a++,h++,s=!1,B=!0):e.src.charCodeAt(U)===9?(B=!0,(e.bsCount[n]+h)%4===3?(U++,a++,h++,s=!1):s=!0):B=!1,y=[e.bMarks[n]],e.bMarks[n]=U;U<Q&&(c=e.src.charCodeAt(U),da(c));){c===9?h+=4-(h+e.bsCount[n]+(s?1:0))%4:h++;U++}for(v=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(B?1:0),u=U>=Q,N=[e.sCount[n]],e.sCount[n]=h-a,A=[e.tShift[n]],e.tShift[n]=U-e.bMarks[n],I=e.md.block.ruler.getRules("blockquote"),R=e.parentType,e.parentType="blockquote",p=n+1;p<r&&(z=e.sCount[p]<e.blkIndent,U=e.bMarks[p]+e.tShift[p],Q=e.eMarks[p],!(U>=Q));p++){if(e.src.charCodeAt(U++)===62&&!z){for(a=h=e.sCount[p]+1,e.src.charCodeAt(U)===32?(U++,a++,h++,s=!1,B=!0):e.src.charCodeAt(U)===9?(B=!0,(e.bsCount[p]+h)%4===3?(U++,a++,h++,s=!1):s=!0):B=!1,y.push(e.bMarks[p]),e.bMarks[p]=U;U<Q&&(c=e.src.charCodeAt(U),da(c));){c===9?h+=4-(h+e.bsCount[p]+(s?1:0))%4:h++;U++}u=U>=Q,v.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(B?1:0),N.push(e.sCount[p]),e.sCount[p]=h-a,A.push(e.tShift[p]),e.tShift[p]=U-e.bMarks[p];continue}if(u)break;for(S=!1,i=0,l=I.length;i<l;i++)if(I[i](e,p,r,!0)){S=!0;break}if(S){e.lineMax=p,e.blkIndent!==0&&(y.push(e.bMarks[p]),v.push(e.bsCount[p]),A.push(e.tShift[p]),N.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}y.push(e.bMarks[p]),v.push(e.bsCount[p]),A.push(e.tShift[p]),N.push(e.sCount[p]),e.sCount[p]=-1}for(M=e.blkIndent,e.blkIndent=0,J=e.push("blockquote_open","blockquote",1),J.markup=">",J.map=f=[n,0],e.md.block.tokenize(e,n,p),J=e.push("blockquote_close","blockquote",-1),J.markup=">",e.lineMax=Y,e.parentType=R,f[1]=e.line,i=0;i<A.length;i++)e.bMarks[i+n]=y[i],e.tShift[i+n]=A[i],e.sCount[i+n]=N[i],e.bsCount[i+n]=v[i];return e.blkIndent=M,!0},ih=ie.isSpace,ah=function(e,n,r,o){var s,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(l++),s!==42&&s!==45&&s!==95))return!1;for(c=1;l<u;){if(i=e.src.charCodeAt(l++),i!==s&&!ih(i))return!1;i===s&&c++}return c<3?!1:(o||(e.line=n+1,a=e.push("hr","hr",0),a.map=[n,e.line],a.markup=Array(c+1).join(String.fromCharCode(s))),!0)},ha=ie.isSpace;function ga(t,e){var n,r,o,s;return r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<o&&(s=t.src.charCodeAt(r),!ha(s))?-1:r}function ma(t,e){var n,r=t.bMarks[e]+t.tShift[e],o=r,s=t.eMarks[e];if(o+1>=s||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=s)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return o<s&&(n=t.src.charCodeAt(o),!ha(n))?-1:o}function lh(t,e){var n,r,o=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===o&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var uh=function(e,n,r,o){var s,c,i,a,l,u,f,p,h,y,v,M,R,N,A,B,S,I,J,z,Y,U,Q,V,se,L,ne,Z,m=!1,C=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(m=!0),(Q=ma(e,n))>=0){if(f=!0,se=e.bMarks[n]+e.tShift[n],R=Number(e.src.slice(se,Q-1)),m&&R!==1)return!1}else if((Q=ga(e,n))>=0)f=!1;else return!1;if(m&&e.skipSpaces(Q)>=e.eMarks[n])return!1;if(M=e.src.charCodeAt(Q-1),o)return!0;for(v=e.tokens.length,f?(Z=e.push("ordered_list_open","ol",1),R!==1&&(Z.attrs=[["start",R]])):Z=e.push("bullet_list_open","ul",1),Z.map=y=[n,0],Z.markup=String.fromCharCode(M),A=n,V=!1,ne=e.md.block.ruler.getRules("list"),I=e.parentType,e.parentType="list";A<r;){for(U=Q,N=e.eMarks[A],u=B=e.sCount[A]+Q-(e.bMarks[n]+e.tShift[n]);U<N;){if(s=e.src.charCodeAt(U),s===9)B+=4-(B+e.bsCount[A])%4;else if(s===32)B++;else break;U++}if(c=U,c>=N?l=1:l=B-u,l>4&&(l=1),a=u+l,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(M),Z.map=p=[n,0],f&&(Z.info=e.src.slice(se,Q-1)),Y=e.tight,z=e.tShift[n],J=e.sCount[n],S=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[n]=c-e.bMarks[n],e.sCount[n]=B,c>=N&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,n,r,!0),(!e.tight||V)&&(C=!1),V=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[n]=z,e.sCount[n]=J,e.tight=Y,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(M),A=n=e.line,p[1]=A,c=e.bMarks[n],A>=r||e.sCount[A]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(L=!1,i=0,h=ne.length;i<h;i++)if(ne[i](e,A,r,!0)){L=!0;break}if(L)break;if(f){if(Q=ma(e,A),Q<0)break;se=e.bMarks[A]+e.tShift[A]}else if(Q=ga(e,A),Q<0)break;if(M!==e.src.charCodeAt(Q-1))break}return f?Z=e.push("ordered_list_close","ol",-1):Z=e.push("bullet_list_close","ul",-1),Z.markup=String.fromCharCode(M),y[1]=A,e.line=A,e.parentType=I,C&&lh(e,v),!0},fh=ie.normalizeReference,Zr=ie.isSpace,ph=function(e,n,r,o){var s,c,i,a,l,u,f,p,h,y,v,M,R,N,A,B,S=0,I=e.bMarks[n]+e.tShift[n],J=e.eMarks[n],z=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(I)!==91)return!1;for(;++I<J;)if(e.src.charCodeAt(I)===93&&e.src.charCodeAt(I-1)!==92){if(I+1===J||e.src.charCodeAt(I+1)!==58)return!1;break}for(a=e.lineMax,A=e.md.block.ruler.getRules("reference"),y=e.parentType,e.parentType="reference";z<a&&!e.isEmpty(z);z++)if(!(e.sCount[z]-e.blkIndent>3)&&!(e.sCount[z]<0)){for(N=!1,u=0,f=A.length;u<f;u++)if(A[u](e,z,a,!0)){N=!0;break}if(N)break}for(R=e.getLines(n,z,e.blkIndent,!1).trim(),J=R.length,I=1;I<J;I++){if(s=R.charCodeAt(I),s===91)return!1;if(s===93){h=I;break}else s===10?S++:s===92&&(I++,I<J&&R.charCodeAt(I)===10&&S++)}if(h<0||R.charCodeAt(h+1)!==58)return!1;for(I=h+2;I<J;I++)if(s=R.charCodeAt(I),s===10)S++;else if(!Zr(s))break;if(v=e.md.helpers.parseLinkDestination(R,I,J),!v.ok||(l=e.md.normalizeLink(v.str),!e.md.validateLink(l)))return!1;for(I=v.pos,S+=v.lines,c=I,i=S,M=I;I<J;I++)if(s=R.charCodeAt(I),s===10)S++;else if(!Zr(s))break;for(v=e.md.helpers.parseLinkTitle(R,I,J),I<J&&M!==I&&v.ok?(B=v.str,I=v.pos,S+=v.lines):(B="",I=c,S=i);I<J&&(s=R.charCodeAt(I),!!Zr(s));)I++;if(I<J&&R.charCodeAt(I)!==10&&B)for(B="",I=c,S=i;I<J&&(s=R.charCodeAt(I),!!Zr(s));)I++;return I<J&&R.charCodeAt(I)!==10||(p=fh(R.slice(1,h)),!p)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:B,href:l}),e.parentType=y,e.line=n+S+1),!0)},dh=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kr={},hh="[a-zA-Z_:][a-zA-Z0-9:._-]*",gh="[^\"'=<>`\\x00-\\x20]+",mh="'[^']*'",bh='"[^"]*"',_h="(?:"+gh+"|"+mh+"|"+bh+")",vh="(?:\\s+"+hh+"(?:\\s*=\\s*"+_h+")?)",ba="<[A-Za-z][A-Za-z0-9\\-]*"+vh+"*\\s*\\/?>",_a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Eh="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",yh="<[?][\\s\\S]*?[?]>",xh="<![A-Z]+\\s+[^>]*>",wh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",kh=new RegExp("^(?:"+ba+"|"+_a+"|"+Eh+"|"+yh+"|"+xh+"|"+wh+")"),Ch=new RegExp("^(?:"+ba+"|"+_a+")");Kr.HTML_TAG_RE=kh,Kr.HTML_OPEN_CLOSE_TAG_RE=Ch;var Dh=dh,Ah=Kr.HTML_OPEN_CLOSE_TAG_RE,gn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Dh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ah.source+"\\s*$"),/^$/,!1]],Nh=function(e,n,r,o){var s,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(a=e.src.slice(l,u),s=0;s<gn.length&&!gn[s][0].test(a);s++);if(s===gn.length)return!1;if(o)return gn[s][2];if(c=n+1,!gn[s][1].test(a)){for(;c<r&&!(e.sCount[c]<e.blkIndent);c++)if(l=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],a=e.src.slice(l,u),gn[s][1].test(a)){a.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[n,c],i.content=e.getLines(n,c,e.blkIndent,!0),!0},va=ie.isSpace,Sh=function(e,n,r,o){var s,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(l),s!==35||l>=u))return!1;for(c=1,s=e.src.charCodeAt(++l);s===35&&l<u&&c<=6;)c++,s=e.src.charCodeAt(++l);return c>6||l<u&&!va(s)?!1:(o||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&va(e.src.charCodeAt(i-1))&&(u=i),e.line=n+1,a=e.push("heading_open","h"+String(c),1),a.markup="########".slice(0,c),a.map=[n,e.line],a=e.push("inline","",0),a.content=e.src.slice(l,u).trim(),a.map=[n,e.line],a.children=[],a=e.push("heading_close","h"+String(c),-1),a.markup="########".slice(0,c)),!0)},Th=function(e,n,r){var o,s,c,i,a,l,u,f,p,h=n+1,y,v=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(y=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],u=e.eMarks[h],l<u&&(p=e.src.charCodeAt(l),(p===45||p===61)&&(l=e.skipChars(l,p),l=e.skipSpaces(l),l>=u)))){f=p===61?1:2;break}if(!(e.sCount[h]<0)){for(s=!1,c=0,i=v.length;c<i;c++)if(v[c](e,h,r,!0)){s=!0;break}if(s)break}}return f?(o=e.getLines(n,h,e.blkIndent,!1).trim(),e.line=h+1,a=e.push("heading_open","h"+String(f),1),a.markup=String.fromCharCode(p),a.map=[n,e.line],a=e.push("inline","",0),a.content=o,a.map=[n,e.line-1],a.children=[],a=e.push("heading_close","h"+String(f),-1),a.markup=String.fromCharCode(p),e.parentType=y,!0):!1},Oh=function(e,n){var r,o,s,c,i,a,l=n+1,u=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(a=e.parentType,e.parentType="paragraph";l<f&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(o=!1,s=0,c=u.length;s<c;s++)if(u[s](e,l,f,!0)){o=!0;break}if(o)break}return r=e.getLines(n,l,e.blkIndent,!1).trim(),e.line=l,i=e.push("paragraph_open","p",1),i.map=[n,e.line],i=e.push("inline","",0),i.content=r,i.map=[n,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=a,!0},Ea=ps,Wr=ie.isSpace;function et(t,e,n,r){var o,s,c,i,a,l,u,f;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,f=!1,c=i=l=u=0,a=s.length;i<a;i++){if(o=s.charCodeAt(i),!f)if(Wr(o)){l++,o===9?u+=4-u%4:u++;continue}else f=!0;(o===10||i===a-1)&&(o!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),f=!1,l=0,u=0,c=i+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}et.prototype.push=function(t,e,n){var r=new Ea(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},et.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},et.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},et.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Wr(n));e++);return e},et.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Wr(this.src.charCodeAt(--e)))return e+1;return e},et.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},et.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e},et.prototype.getLines=function(e,n,r,o){var s,c,i,a,l,u,f,p=e;if(e>=n)return"";for(u=new Array(n-e),s=0;p<n;p++,s++){for(c=0,f=a=this.bMarks[p],p+1<n||o?l=this.eMarks[p]+1:l=this.eMarks[p];a<l&&c<r;){if(i=this.src.charCodeAt(a),Wr(i))i===9?c+=4-(c+this.bsCount[p])%4:c++;else if(a-f<this.tShift[p])c++;else break;a++}c>r?u[s]=new Array(c-r+1).join(" ")+this.src.slice(a,l):u[s]=this.src.slice(a,l)}return u.join("")},et.prototype.Token=Ea;var qh=et,Rh=fs,Jr=[["table",rh,["paragraph","reference"]],["code",oh],["fence",sh,["paragraph","reference","blockquote","list"]],["blockquote",ch,["paragraph","reference","blockquote","list"]],["hr",ah,["paragraph","reference","blockquote","list"]],["list",uh,["paragraph","reference","blockquote"]],["reference",ph],["html_block",Nh,["paragraph","reference","blockquote"]],["heading",Sh,["paragraph","reference","blockquote"]],["lheading",Th],["paragraph",Oh]];function Yr(){this.ruler=new Rh;for(var t=0;t<Jr.length;t++)this.ruler.push(Jr[t][0],Jr[t][1],{alt:(Jr[t][2]||[]).slice()})}Yr.prototype.tokenize=function(t,e,n){for(var r,o,s=this.ruler.getRules(""),c=s.length,i=e,a=!1,l=t.md.options.maxNesting;i<n&&(t.line=i=t.skipEmptyLines(i),!(i>=n||t.sCount[i]<t.blkIndent));){if(t.level>=l){t.line=n;break}for(o=0;o<c&&(r=s[o](t,i,n,!1),!r);o++);t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),i=t.line,i<n&&t.isEmpty(i)&&(a=!0,i++,t.line=i)}},Yr.prototype.parse=function(t,e,n,r){var o;t&&(o=new this.State(t,e,n,r),this.tokenize(o,o.line,o.lineMax))},Yr.prototype.State=qh;var Lh=Yr;function Ih(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Mh=function(e,n){for(var r=e.pos;r<e.posMax&&!Ih(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Fh=ie.isSpace,Vh=function(e,n){var r,o,s,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(r=e.pending.length-1,o=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(s=r-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(c++;c<o&&Fh(e.src.charCodeAt(c));)c++;return e.pos=c,!0},Ph=ie.isSpace,bs=[],ya=0;ya<256;ya++)bs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){bs[t.charCodeAt(0)]=1});var Bh=function(e,n){var r,o=e.pos,s=e.posMax;if(e.src.charCodeAt(o)!==92)return!1;if(o++,o<s){if(r=e.src.charCodeAt(o),r<256&&bs[r]!==0)return n||(e.pending+=e.src[o]),e.pos+=2,!0;if(r===10){for(n||e.push("hardbreak","br",0),o++;o<s&&(r=e.src.charCodeAt(o),!!Ph(r));)o++;return e.pos=o,!0}}return n||(e.pending+="\\"),e.pos++,!0},$h=function(e,n){var r,o,s,c,i,a,l,u,f=e.pos,p=e.src.charCodeAt(f);if(p!==96)return!1;for(r=f,f++,o=e.posMax;f<o&&e.src.charCodeAt(f)===96;)f++;if(s=e.src.slice(r,f),l=s.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return n||(e.pending+=s),e.pos+=l,!0;for(i=a=f;(i=e.src.indexOf("`",a))!==-1;){for(a=i+1;a<o&&e.src.charCodeAt(a)===96;)a++;if(u=a-i,u===l)return n||(c=e.push("code_inline","code",0),c.markup=s,c.content=e.src.slice(f,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=i}return e.backticksScanned=!0,n||(e.pending+=s),e.pos+=l,!0},Xr={};Xr.tokenize=function(e,n){var r,o,s,c,i,a=e.pos,l=e.src.charCodeAt(a);if(n||l!==126||(o=e.scanDelims(e.pos,!0),c=o.length,i=String.fromCharCode(l),c<2))return!1;for(c%2&&(s=e.push("text","",0),s.content=i,c--),r=0;r<c;r+=2)s=e.push("text","",0),s.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function xa(t,e){var n,r,o,s,c,i=[],a=e.length;for(n=0;n<a;n++)o=e[n],o.marker===126&&o.end!==-1&&(s=e[o.end],c=t.tokens[o.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[s.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&i.push(s.token-1));for(;i.length;){for(n=i.pop(),r=n+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,n!==r&&(c=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=c)}}Xr.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(xa(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&xa(e,r[n].delimiters)};var Qr={};Qr.tokenize=function(e,n){var r,o,s,c=e.pos,i=e.src.charCodeAt(c);if(n||i!==95&&i!==42)return!1;for(o=e.scanDelims(e.pos,i===42),r=0;r<o.length;r++)s=e.push("text","",0),s.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function wa(t,e){var n,r,o,s,c,i,a=e.length;for(n=a-1;n>=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(o=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===o.token+1,c=String.fromCharCode(r.marker),s=t.tokens[r.token],s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?c+c:c,s.content="",s=t.tokens[o.token],s.type=i?"strong_close":"em_close",s.tag=i?"strong":"em",s.nesting=-1,s.markup=i?c+c:c,s.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Qr.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(wa(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&wa(e,r[n].delimiters)};var Uh=ie.normalizeReference,_s=ie.isSpace,zh=function(e,n){var r,o,s,c,i,a,l,u,f,p="",h="",y=e.pos,v=e.posMax,M=e.pos,R=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(a=c+1,a<v&&e.src.charCodeAt(a)===40){for(R=!1,a++;a<v&&(o=e.src.charCodeAt(a),!(!_s(o)&&o!==10));a++);if(a>=v)return!1;if(M=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok){for(p=e.md.normalizeLink(l.str),e.md.validateLink(p)?a=l.pos:p="",M=a;a<v&&(o=e.src.charCodeAt(a),!(!_s(o)&&o!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<v&&M!==a&&l.ok)for(h=l.str,a=l.pos;a<v&&(o=e.src.charCodeAt(a),!(!_s(o)&&o!==10));a++);}(a>=v||e.src.charCodeAt(a)!==41)&&(R=!0),a++}if(R){if(typeof e.env.references>"u")return!1;if(a<v&&e.src.charCodeAt(a)===91?(M=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?s=e.src.slice(M,a++):a=c+1):a=c+1,s||(s=e.src.slice(i,c)),u=e.env.references[Uh(s)],!u)return e.pos=y,!1;p=u.href,h=u.title}return n||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=r=[["href",p]],h&&r.push(["title",h]),e.md.inline.tokenize(e),f=e.push("link_close","a",-1)),e.pos=a,e.posMax=v,!0},Hh=ie.normalizeReference,vs=ie.isSpace,jh=function(e,n){var r,o,s,c,i,a,l,u,f,p,h,y,v,M="",R=e.pos,N=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(a=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<N&&e.src.charCodeAt(l)===40){for(l++;l<N&&(o=e.src.charCodeAt(l),!(!vs(o)&&o!==10));l++);if(l>=N)return!1;for(v=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(M=e.md.normalizeLink(f.str),e.md.validateLink(M)?l=f.pos:M=""),v=l;l<N&&(o=e.src.charCodeAt(l),!(!vs(o)&&o!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<N&&v!==l&&f.ok)for(p=f.str,l=f.pos;l<N&&(o=e.src.charCodeAt(l),!(!vs(o)&&o!==10));l++);else p="";if(l>=N||e.src.charCodeAt(l)!==41)return e.pos=R,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<N&&e.src.charCodeAt(l)===91?(v=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(v,l++):l=i+1):l=i+1,c||(c=e.src.slice(a,i)),u=e.env.references[Hh(c)],!u)return e.pos=R,!1;M=u.href,p=u.title}return n||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,y=[]),h=e.push("image","img",0),h.attrs=r=[["src",M],["alt",""]],h.children=y,h.content=s,p&&r.push(["title",p])),e.pos=l,e.posMax=N,!0},Gh=/^([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])?)*)$/,Zh=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Kh=function(e,n){var r,o,s,c,i,a,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a||(c=e.src.charCodeAt(l),c===60))return!1;if(c===62)break}return r=e.src.slice(i+1,l),Zh.test(r)?(o=e.md.normalizeLink(r),e.md.validateLink(o)?(n||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(r),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=r.length+2,!0):!1):Gh.test(r)?(o=e.md.normalizeLink("mailto:"+r),e.md.validateLink(o)?(n||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(r),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=r.length+2,!0):!1):!1},Wh=Kr.HTML_TAG_RE;function Jh(t){var e=t|32;return e>=97&&e<=122}var Yh=function(e,n){var r,o,s,c,i=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(i)!==60||i+2>=s)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Jh(r))||(o=e.src.slice(i).match(Wh),!o)?!1:(n||(c=e.push("html_inline","",0),c.content=e.src.slice(i,i+o[0].length)),e.pos+=o[0].length,!0)},ka=Ui,Xh=ie.has,Qh=ie.isValidEntityCode,Ca=ie.fromCodePoint,eg=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,tg=/^&([a-z][a-z0-9]{1,31});/i,ng=function(e,n){var r,o,s,c=e.pos,i=e.posMax;if(e.src.charCodeAt(c)!==38)return!1;if(c+1<i){if(r=e.src.charCodeAt(c+1),r===35){if(s=e.src.slice(c).match(eg),s)return n||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),e.pending+=Qh(o)?Ca(o):Ca(65533)),e.pos+=s[0].length,!0}else if(s=e.src.slice(c).match(tg),s&&Xh(ka,s[1]))return n||(e.pending+=ka[s[1]]),e.pos+=s[0].length,!0}return n||(e.pending+="&"),e.pos++,!0};function Da(t,e){var n,r,o,s,c,i,a,l,u={},f=e.length;if(f){var p=0,h=-2,y=[];for(n=0;n<f;n++)if(o=e[n],y.push(0),(e[p].marker!==o.marker||h!==o.token-1)&&(p=n),h=o.token,o.length=o.length||0,!!o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),c=u[o.marker][(o.open?3:0)+o.length%3],r=p-y[p]-1,i=r;r>c;r-=y[r]+1)if(s=e[r],s.marker===o.marker&&s.open&&s.end<0&&(a=!1,(s.close||o.open)&&(s.length+o.length)%3===0&&(s.length%3!==0||o.length%3!==0)&&(a=!0),!a)){l=r>0&&!e[r-1].open?y[r-1]+1:0,y[n]=n-r+l,y[r]=l,o.open=!1,s.end=n,s.close=!1,i=-1,h=-2;break}i!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=i)}}}var rg=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(Da(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&Da(e,r[n].delimiters)},og=function(e){var n,r,o=0,s=e.tokens,c=e.tokens.length;for(n=r=0;n<c;n++)s[n].nesting<0&&o--,s[n].level=o,s[n].nesting>0&&o++,s[n].type==="text"&&n+1<c&&s[n+1].type==="text"?s[n+1].content=s[n].content+s[n+1].content:(n!==r&&(s[r]=s[n]),r++);n!==r&&(s.length=r)},Es=ps,Aa=ie.isWhiteSpace,Na=ie.isPunctChar,Sa=ie.isMdAsciiPunct;function jn(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}jn.prototype.pushPending=function(){var t=new Es("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},jn.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new Es(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},jn.prototype.scanDelims=function(t,e){var n=t,r,o,s,c,i,a,l,u,f,p=!0,h=!0,y=this.posMax,v=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<y&&this.src.charCodeAt(n)===v;)n++;return s=n-t,o=n<y?this.src.charCodeAt(n):32,l=Sa(r)||Na(String.fromCharCode(r)),f=Sa(o)||Na(String.fromCharCode(o)),a=Aa(r),u=Aa(o),u?p=!1:f&&(a||l||(p=!1)),a?h=!1:l&&(u||f||(h=!1)),e?(c=p,i=h):(c=p&&(!h||l),i=h&&(!p||f)),{can_open:c,can_close:i,length:s}},jn.prototype.Token=Es;var sg=jn,Ta=fs,ys=[["text",Mh],["newline",Vh],["escape",Bh],["backticks",$h],["strikethrough",Xr.tokenize],["emphasis",Qr.tokenize],["link",zh],["image",jh],["autolink",Kh],["html_inline",Yh],["entity",ng]],xs=[["balance_pairs",rg],["strikethrough",Xr.postProcess],["emphasis",Qr.postProcess],["text_collapse",og]];function Gn(){var t;for(this.ruler=new Ta,t=0;t<ys.length;t++)this.ruler.push(ys[t][0],ys[t][1]);for(this.ruler2=new Ta,t=0;t<xs.length;t++)this.ruler2.push(xs[t][0],xs[t][1])}Gn.prototype.skipToken=function(t){var e,n,r=t.pos,o=this.ruler.getRules(""),s=o.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<c)for(n=0;n<s&&(t.level++,e=o[n](t,!0),t.level--,!e);n++);else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},Gn.prototype.tokenize=function(t){for(var e,n,r=this.ruler.getRules(""),o=r.length,s=t.posMax,c=t.md.options.maxNesting;t.pos<s;){if(t.level<c)for(n=0;n<o&&(e=r[n](t,!1),!e);n++);if(e){if(t.pos>=s)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Gn.prototype.parse=function(t,e,n,r){var o,s,c,i=new this.State(t,e,n,r);for(this.tokenize(i),s=this.ruler2.getRules(""),c=s.length,o=0;o<c;o++)s[o](i)},Gn.prototype.State=sg;var cg=Gn,ws,Oa;function ig(){return Oa||(Oa=1,ws=function(t){var e={};e.src_Any=Yi().source,e.src_Cc=Qi().source,e.src_Z=na().source,e.src_P=cs.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+").|;(?!"+e.src_ZCc+").|\\!+(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ws}function ks(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function eo(t){return Object.prototype.toString.call(t)}function ag(t){return eo(t)==="[object String]"}function lg(t){return eo(t)==="[object Object]"}function ug(t){return eo(t)==="[object RegExp]"}function qa(t){return eo(t)==="[object Function]"}function fg(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ra={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function pg(t){return Object.keys(t||{}).reduce(function(e,n){return e||Ra.hasOwnProperty(n)},!1)}var dg={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},hg="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",gg="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function mg(t){t.__index__=-1,t.__text_cache__=""}function bg(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function La(){return function(t,e){e.normalize(t)}}function to(t){var e=t.re=ig()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(hg),n.push(e.src_xn),e.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function s(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(t.__schemas__).forEach(function(i){var a=t.__schemas__[i];if(a!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,lg(a)){ug(a.validate)?l.validate=bg(a.validate):qa(a.validate)?l.validate=a.validate:s(i,a),qa(a.normalize)?l.normalize=a.normalize:a.normalize?s(i,a):l.normalize=La();return}if(ag(a)){o.push(i);return}s(i,a)}}),o.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:La()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(fg).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),mg(t)}function _g(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function Ia(t,e){var n=new _g(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Ve(t,e){if(!(this instanceof Ve))return new Ve(t,e);e||pg(t)&&(e=t,t={}),this.__opts__=ks({},Ra,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ks({},dg,t),this.__compiled__={},this.__tlds__=gg,this.__tlds_replaced__=!1,this.re={},to(this)}Ve.prototype.add=function(e,n){return this.__schemas__[e]=n,to(this),this},Ve.prototype.set=function(e){return this.__opts__=ks(this.__opts__,e),this},Ve.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,o,s,c,i,a,l,u;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(e))!==null;)if(s=this.testSchemaAt(e,n[2],a.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=r.index+r[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(c=o.index+o[1].length,i=o.index+o[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},Ve.prototype.pretest=function(e){return this.re.pretest.test(e)},Ve.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Ve.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Ia(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)r.push(Ia(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},Ve.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,o,s){return r!==s[o-1]}).reverse(),to(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,to(this),this)},Ve.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Ve.prototype.onCompile=function(){};var vg=Ve;const mn=2147483647,tt=36,Cs=1,Zn=26,Eg=38,yg=700,Ma=72,Fa=128,Va="-",xg=/^xn--/,wg=/[^\0-\x7E]/,kg=/[\x2E\u3002\uFF0E\uFF61]/g,Cg={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ds=tt-Cs,nt=Math.floor,As=String.fromCharCode;function Ht(t){throw new RangeError(Cg[t])}function Dg(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function Pa(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(kg,".");const o=t.split("."),s=Dg(o,e).join(".");return r+s}function Ns(t){const e=[];let n=0;const r=t.length;for(;n<r;){const o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const s=t.charCodeAt(n++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const Ba=t=>String.fromCodePoint(...t),Ag=function(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:tt},$a=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Ua=function(t,e,n){let r=0;for(t=n?nt(t/yg):t>>1,t+=nt(t/e);t>Ds*Zn>>1;r+=tt)t=nt(t/Ds);return nt(r+(Ds+1)*t/(t+Eg))},Ss=function(t){const e=[],n=t.length;let r=0,o=Fa,s=Ma,c=t.lastIndexOf(Va);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&Ht("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<n;){let a=r;for(let u=1,f=tt;;f+=tt){i>=n&&Ht("invalid-input");const p=Ag(t.charCodeAt(i++));(p>=tt||p>nt((mn-r)/u))&&Ht("overflow"),r+=p*u;const h=f<=s?Cs:f>=s+Zn?Zn:f-s;if(p<h)break;const y=tt-h;u>nt(mn/y)&&Ht("overflow"),u*=y}const l=e.length+1;s=Ua(r-a,l,a==0),nt(r/l)>mn-o&&Ht("overflow"),o+=nt(r/l),r%=l,e.splice(r++,0,o)}return String.fromCodePoint(...e)},Ts=function(t){const e=[];t=Ns(t);let n=t.length,r=Fa,o=0,s=Ma;for(const a of t)a<128&&e.push(As(a));let c=e.length,i=c;for(c&&e.push(Va);i<n;){let a=mn;for(const u of t)u>=r&&u<a&&(a=u);const l=i+1;a-r>nt((mn-o)/l)&&Ht("overflow"),o+=(a-r)*l,r=a;for(const u of t)if(u<r&&++o>mn&&Ht("overflow"),u===r){let f=o;for(let p=tt;;p+=tt){const h=p<=s?Cs:p>=s+Zn?Zn:p-s;if(f<h)break;const y=f-h,v=tt-h;e.push(As($a(h+y%v,0))),f=nt(y/v)}e.push(As($a(f,0))),s=Ua(o,l,i===c),o=0,++i}++o,++r}return e.join("")},za=function(t){return Pa(t,function(e){return xg.test(e)?Ss(e.slice(4).toLowerCase()):e})},Ha=function(t){return Pa(t,function(e){return wg.test(e)?"xn--"+Ts(e):e})},Ng=ld(Object.freeze(Object.defineProperty({__proto__:null,decode:Ss,default:{version:"2.1.0",ucs2:{decode:Ns,encode:Ba},decode:Ss,encode:Ts,toASCII:Ha,toUnicode:za},encode:Ts,toASCII:Ha,toUnicode:za,ucs2decode:Ns,ucs2encode:Ba},Symbol.toStringTag,{value:"Module"})));var Sg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Tg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}},Og={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}},Kn=ie,qg=jr,Rg=Rd,Lg=nh,Ig=Lh,Mg=cg,Fg=vg,jt=pn,ja=Ng,Vg={default:Sg,zero:Tg,commonmark:Og},Pg=/^(vbscript|javascript|file|data):/,Bg=/^data:image\/(gif|png|jpeg|webp);/;function $g(t){var e=t.trim().toLowerCase();return Pg.test(e)?!!Bg.test(e):!0}var Ga=["http:","https:","mailto:"];function Ug(t){var e=jt.parse(t,!0);if(e.hostname&&(!e.protocol||Ga.indexOf(e.protocol)>=0))try{e.hostname=ja.toASCII(e.hostname)}catch{}return jt.encode(jt.format(e))}function zg(t){var e=jt.parse(t,!0);if(e.hostname&&(!e.protocol||Ga.indexOf(e.protocol)>=0))try{e.hostname=ja.toUnicode(e.hostname)}catch{}return jt.decode(jt.format(e),jt.decode.defaultChars+"%")}function Pe(t,e){if(!(this instanceof Pe))return new Pe(t,e);e||Kn.isString(t)||(e=t||{},t="default"),this.inline=new Mg,this.block=new Ig,this.core=new Lg,this.renderer=new Rg,this.linkify=new Fg,this.validateLink=$g,this.normalizeLink=Ug,this.normalizeLinkText=zg,this.utils=Kn,this.helpers=Kn.assign({},qg),this.options={},this.configure(t),e&&this.set(e)}Pe.prototype.set=function(t){return Kn.assign(this.options,t),this},Pe.prototype.configure=function(t){var e=this,n;if(Kn.isString(t)&&(n=t,t=Vg[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},Pe.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Pe.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(o){return n.indexOf(o)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Pe.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Pe.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},Pe.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Pe.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Pe.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Hg=Pe,jg=Hg;const Gg=$i(jg);var Zg=ze({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1}},data:function(){return{md:null}},computed:{content:function(){var t,e=this.source;return(t=this.md)===null||t===void 0?void 0:t.render(e)}},created:function(){var t;this.md=new Gg((t=this.options)!==null&&t!==void 0?t:{})},render:function(){return Ei("div",{innerHTML:this.content})}});const Kg=Zg;function Za(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Za(n)}),t}class Ka{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Wa(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Et(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const o in r)n[o]=r[o]}),n}const Wg="</span>",Ja=t=>!!t.scope,Jg=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,o)=>`${r}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class Yg{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Wa(e)}openNode(e){if(!Ja(e))return;const n=Jg(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Ja(e)&&(this.buffer+=Wg)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Ya=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Os{constructor(){this.rootNode=Ya(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=Ya({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Os._collapse(n)}))}}class Xg extends Os{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Yg(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Wn(t){return t?typeof t=="string"?t:t.source:null}function Xa(t){return Gt("(?=",t,")")}function Qg(t){return Gt("(?:",t,")*")}function em(t){return Gt("(?:",t,")?")}function Gt(...t){return t.map(n=>Wn(n)).join("")}function tm(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function qs(...t){return"("+(tm(t).capture?"":"?:")+t.map(r=>Wn(r)).join("|")+")"}function Qa(t){return new RegExp(t.toString()+"|").exec("").length-1}function nm(t,e){const n=t&&t.exec(e);return n&&n.index===0}const rm=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Rs(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const o=n;let s=Wn(r),c="";for(;s.length>0;){const i=rm.exec(s);if(!i){c+=s;break}c+=s.substring(0,i.index),s=s.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+o):(c+=i[0],i[0]==="("&&n++)}return c}).map(r=>`(${r})`).join(e)}const om=/\b\B/,el="[a-zA-Z]\\w*",Ls="[a-zA-Z_]\\w*",tl="\\b\\d+(\\.\\d+)?",nl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",rl="\\b(0b[01]+)",sm="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",cm=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Gt(e,/.*\b/,t.binary,/\b.*/)),Et({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Jn={begin:"\\\\[\\s\\S]",relevance:0},im={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Jn]},am={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Jn]},lm={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},no=function(t,e,n={}){const r=Et({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=qs("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Gt(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},um=no("//","$"),fm=no("/\\*","\\*/"),pm=no("#","$"),dm={scope:"number",begin:tl,relevance:0},hm={scope:"number",begin:nl,relevance:0},gm={scope:"number",begin:rl,relevance:0},mm={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Jn,{begin:/\[/,end:/\]/,relevance:0,contains:[Jn]}]}]},bm={scope:"title",begin:el,relevance:0},_m={scope:"title",begin:Ls,relevance:0},vm={begin:"\\.\\s*"+Ls,relevance:0};var ro=Object.freeze({__proto__:null,MATCH_NOTHING_RE:om,IDENT_RE:el,UNDERSCORE_IDENT_RE:Ls,NUMBER_RE:tl,C_NUMBER_RE:nl,BINARY_NUMBER_RE:rl,RE_STARTERS_RE:sm,SHEBANG:cm,BACKSLASH_ESCAPE:Jn,APOS_STRING_MODE:im,QUOTE_STRING_MODE:am,PHRASAL_WORDS_MODE:lm,COMMENT:no,C_LINE_COMMENT_MODE:um,C_BLOCK_COMMENT_MODE:fm,HASH_COMMENT_MODE:pm,NUMBER_MODE:dm,C_NUMBER_MODE:hm,BINARY_NUMBER_MODE:gm,REGEXP_MODE:mm,TITLE_MODE:bm,UNDERSCORE_TITLE_MODE:_m,METHOD_GUARD:vm,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}});function Em(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function ym(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function xm(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Em,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function wm(t,e){Array.isArray(t.illegal)&&(t.illegal=qs(...t.illegal))}function km(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Cm(t,e){t.relevance===void 0&&(t.relevance=1)}const Dm=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=Gt(n.beforeMatch,Xa(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Am=["of","and","for","in","not","or","if","then","parent","list","value"],Nm="keyword";function ol(t,e,n=Nm){const r=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(s){Object.assign(r,ol(t[s],e,s))}),r;function o(s,c){e&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const a=i.split("|");r[a[0]]=[s,Sm(a[0],a[1])]})}}function Sm(t,e){return e?Number(e):Tm(t)?0:1}function Tm(t){return Am.includes(t.toLowerCase())}const sl={},Zt=t=>{console.error(t)},cl=(t,...e)=>{console.log(`WARN: ${t}`,...e)},bn=(t,e)=>{sl[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),sl[`${t}/${e}`]=!0)},oo=new Error;function il(t,e,{key:n}){let r=0;const o=t[n],s={},c={};for(let i=1;i<=e.length;i++)c[i+r]=o[i],s[i+r]=!0,r+=Qa(e[i-1]);t[n]=c,t[n]._emit=s,t[n]._multi=!0}function Om(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Zt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),oo;if(typeof t.beginScope!="object"||t.beginScope===null)throw Zt("beginScope must be object"),oo;il(t,t.begin,{key:"beginScope"}),t.begin=Rs(t.begin,{joinWith:""})}}function qm(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Zt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),oo;if(typeof t.endScope!="object"||t.endScope===null)throw Zt("endScope must be object"),oo;il(t,t.end,{key:"endScope"}),t.end=Rs(t.end,{joinWith:""})}}function Rm(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Lm(t){Rm(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Om(t),qm(t)}function Im(t){function e(c,i){return new RegExp(Wn(c),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(i?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,i]),this.matchAt+=Qa(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(a=>a[1]);this.matcherRe=e(Rs(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(i);if(!a)return null;const l=a.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[l];return a.splice(0,l),Object.assign(a,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const a=new n;return this.rules.slice(i).forEach(([l,u])=>a.addRule(l,u)),a.compile(),this.multiRegexes[i]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,a){this.rules.push([i,a]),a.type==="begin"&&this.count++}exec(i){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let l=a.exec(i);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(i)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function o(c){const i=new r;return c.contains.forEach(a=>i.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function s(c,i){const a=c;if(c.isCompiled)return a;[ym,km,Lm,Dm].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[xm,wm,Cm].forEach(u=>u(c,i)),c.isCompiled=!0;let l=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),l=c.keywords.$pattern,delete c.keywords.$pattern),l=l||/\w+/,c.keywords&&(c.keywords=ol(c.keywords,t.case_insensitive)),a.keywordPatternRe=e(l,!0),i&&(c.begin||(c.begin=/\B|\b/),a.beginRe=e(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=e(a.end)),a.terminatorEnd=Wn(a.end)||"",c.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(a.illegalRe=e(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(u){return Mm(u==="self"?c:u)})),c.contains.forEach(function(u){s(u,a)}),c.starts&&s(c.starts,i),a.matcher=o(a),a}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Et(t.classNameAliases||{}),s(t)}function al(t){return t?t.endsWithParent||al(t.starts):!1}function Mm(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Et(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:al(t)?Et(t,{starts:t.starts?Et(t.starts):null}):Object.isFrozen(t)?Et(t):t}var Fm="11.8.0";class Vm extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Is=Wa,ll=Et,ul=Symbol("nomatch"),Pm=7,fl=function(t){const e=Object.create(null),n=Object.create(null),r=[];let o=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Xg};function a(m){return i.noHighlightRe.test(m)}function l(m){let C=m.className+" ";C+=m.parentNode?m.parentNode.className:"";const K=i.languageDetectRe.exec(C);if(K){const oe=Y(K[1]);return oe||(cl(s.replace("{}",K[1])),cl("Falling back to no-highlight mode for this block.",m)),oe?K[1]:"no-highlight"}return C.split(/\s+/).find(oe=>a(oe)||Y(oe))}function u(m,C,K){let oe="",le="";typeof C=="object"?(oe=m,K=C.ignoreIllegals,le=C.language):(bn("10.7.0","highlight(lang, code, ...args) has been deprecated."),bn("10.7.0",`Please use highlight(code, options) instead.
24
+ https://github.com/highlightjs/highlight.js/issues/2277`),le=m,oe=C),K===void 0&&(K=!0);const he={code:oe,language:le};ne("before:highlight",he);const _e=he.result?he.result:f(he.language,he.code,K);return _e.code=he.code,ne("after:highlight",_e),_e}function f(m,C,K,oe){const le=Object.create(null);function he(w,F){return w.keywords[F]}function _e(){if(!E.keywords){D.addText(_);return}let w=0;E.keywordPatternRe.lastIndex=0;let F=E.keywordPatternRe.exec(_),$="";for(;F;){$+=_.substring(w,F.index);const W=x.case_insensitive?F[0].toLowerCase():F[0],fe=he(E,W);if(fe){const[Ne,io]=fe;if(D.addText($),$="",le[W]=(le[W]||0)+1,le[W]<=Pm&&(H+=io),Ne.startsWith("_"))$+=F[0];else{const Wt=x.classNameAliases[Ne]||Ne;Be(F[0],Wt)}}else $+=F[0];w=E.keywordPatternRe.lastIndex,F=E.keywordPatternRe.exec(_)}$+=_.substring(w),D.addText($)}function yt(){if(_==="")return;let w=null;if(typeof E.subLanguage=="string"){if(!e[E.subLanguage]){D.addText(_);return}w=f(E.subLanguage,_,!0,T[E.subLanguage]),T[E.subLanguage]=w._top}else w=h(_,E.subLanguage.length?E.subLanguage:null);E.relevance>0&&(H+=w.relevance),D.__addSublanguage(w._emitter,w.language)}function Re(){E.subLanguage!=null?yt():_e(),_=""}function Be(w,F){w!==""&&(D.startScope(F),D.addText(w),D.endScope())}function $e(w,F){let $=1;const W=F.length-1;for(;$<=W;){if(!w._emit[$]){$++;continue}const fe=x.classNameAliases[w[$]]||w[$],Ne=F[$];fe?Be(Ne,fe):(_=Ne,_e(),_=""),$++}}function Kt(w,F){return w.scope&&typeof w.scope=="string"&&D.openNode(x.classNameAliases[w.scope]||w.scope),w.beginScope&&(w.beginScope._wrap?(Be(_,x.classNameAliases[w.beginScope._wrap]||w.beginScope._wrap),_=""):w.beginScope._multi&&($e(w.beginScope,F),_="")),E=Object.create(w,{parent:{value:E}}),E}function Xn(w,F,$){let W=nm(w.endRe,$);if(W){if(w["on:end"]){const fe=new Ka(w);w["on:end"](F,fe),fe.isMatchIgnored&&(W=!1)}if(W){for(;w.endsParent&&w.parent;)w=w.parent;return w}}if(w.endsWithParent)return Xn(w.parent,F,$)}function xt(w){return E.matcher.regexIndex===0?(_+=w[0],1):(X=!0,0)}function Qn(w){const F=w[0],$=w.rule,W=new Ka($),fe=[$.__beforeBegin,$["on:begin"]];for(const Ne of fe)if(Ne&&(Ne(w,W),W.isMatchIgnored))return xt(F);return $.skip?_+=F:($.excludeBegin&&(_+=F),Re(),!$.returnBegin&&!$.excludeBegin&&(_=F)),Kt($,w),$.returnBegin?0:F.length}function er(w){const F=w[0],$=C.substring(w.index),W=Xn(E,w,$);if(!W)return ul;const fe=E;E.endScope&&E.endScope._wrap?(Re(),Be(F,E.endScope._wrap)):E.endScope&&E.endScope._multi?(Re(),$e(E.endScope,w)):fe.skip?_+=F:(fe.returnEnd||fe.excludeEnd||(_+=F),Re(),fe.excludeEnd&&(_=F));do E.scope&&D.closeNode(),!E.skip&&!E.subLanguage&&(H+=E.relevance),E=E.parent;while(E!==W.parent);return W.starts&&Kt(W.starts,w),fe.returnEnd?0:F.length}function d(){const w=[];for(let F=E;F!==x;F=F.parent)F.scope&&w.unshift(F.scope);w.forEach(F=>D.openNode(F))}let g={};function b(w,F){const $=F&&F[0];if(_+=w,$==null)return Re(),0;if(g.type==="begin"&&F.type==="end"&&g.index===F.index&&$===""){if(_+=C.slice(F.index,F.index+1),!o){const W=new Error(`0 width match regex (${m})`);throw W.languageName=m,W.badRule=g.rule,W}return 1}if(g=F,F.type==="begin")return Qn(F);if(F.type==="illegal"&&!K){const W=new Error('Illegal lexeme "'+$+'" for mode "'+(E.scope||"<unnamed>")+'"');throw W.mode=E,W}else if(F.type==="end"){const W=er(F);if(W!==ul)return W}if(F.type==="illegal"&&$==="")return 1;if(j>1e5&&j>F.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _+=$,$.length}const x=Y(m);if(!x)throw Zt(s.replace("{}",m)),new Error('Unknown language: "'+m+'"');const k=Im(x);let q="",E=oe||k;const T={},D=new i.__emitter(i);d();let _="",H=0,P=0,j=0,X=!1;try{if(x.__emitTokens)x.__emitTokens(C,D);else{for(E.matcher.considerAll();;){j++,X?X=!1:E.matcher.considerAll(),E.matcher.lastIndex=P;const w=E.matcher.exec(C);if(!w)break;const F=C.substring(P,w.index),$=b(F,w);P=w.index+$}b(C.substring(P))}return D.finalize(),q=D.toHTML(),{language:m,value:q,relevance:H,illegal:!1,_emitter:D,_top:E}}catch(w){if(w.message&&w.message.includes("Illegal"))return{language:m,value:Is(C),illegal:!0,relevance:0,_illegalBy:{message:w.message,index:P,context:C.slice(P-100,P+100),mode:w.mode,resultSoFar:q},_emitter:D};if(o)return{language:m,value:Is(C),illegal:!1,relevance:0,errorRaised:w,_emitter:D,_top:E};throw w}}function p(m){const C={value:Is(m),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return C._emitter.addText(m),C}function h(m,C){C=C||i.languages||Object.keys(e);const K=p(m),oe=C.filter(Y).filter(Q).map(Re=>f(Re,m,!1));oe.unshift(K);const le=oe.sort((Re,Be)=>{if(Re.relevance!==Be.relevance)return Be.relevance-Re.relevance;if(Re.language&&Be.language){if(Y(Re.language).supersetOf===Be.language)return 1;if(Y(Be.language).supersetOf===Re.language)return-1}return 0}),[he,_e]=le,yt=he;return yt.secondBest=_e,yt}function y(m,C,K){const oe=C&&n[C]||K;m.classList.add("hljs"),m.classList.add(`language-${oe}`)}function v(m){let C=null;const K=l(m);if(a(K))return;if(ne("before:highlightElement",{el:m,language:K}),m.children.length>0&&(i.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(m)),i.throwUnescapedHTML))throw new Vm("One of your code blocks includes unescaped HTML.",m.innerHTML);C=m;const oe=C.textContent,le=K?u(oe,{language:K,ignoreIllegals:!0}):h(oe);m.innerHTML=le.value,y(m,K,le.language),m.result={language:le.language,re:le.relevance,relevance:le.relevance},le.secondBest&&(m.secondBest={language:le.secondBest.language,relevance:le.secondBest.relevance}),ne("after:highlightElement",{el:m,result:le,text:oe})}function M(m){i=ll(i,m)}const R=()=>{B(),bn("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function N(){B(),bn("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let A=!1;function B(){if(document.readyState==="loading"){A=!0;return}document.querySelectorAll(i.cssSelector).forEach(v)}function S(){A&&B()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",S,!1);function I(m,C){let K=null;try{K=C(t)}catch(oe){if(Zt("Language definition for '{}' could not be registered.".replace("{}",m)),o)Zt(oe);else throw oe;K=c}K.name||(K.name=m),e[m]=K,K.rawDefinition=C.bind(null,t),K.aliases&&U(K.aliases,{languageName:m})}function J(m){delete e[m];for(const C of Object.keys(n))n[C]===m&&delete n[C]}function z(){return Object.keys(e)}function Y(m){return m=(m||"").toLowerCase(),e[m]||e[n[m]]}function U(m,{languageName:C}){typeof m=="string"&&(m=[m]),m.forEach(K=>{n[K.toLowerCase()]=C})}function Q(m){const C=Y(m);return C&&!C.disableAutodetect}function V(m){m["before:highlightBlock"]&&!m["before:highlightElement"]&&(m["before:highlightElement"]=C=>{m["before:highlightBlock"](Object.assign({block:C.el},C))}),m["after:highlightBlock"]&&!m["after:highlightElement"]&&(m["after:highlightElement"]=C=>{m["after:highlightBlock"](Object.assign({block:C.el},C))})}function se(m){V(m),r.push(m)}function L(m){const C=r.indexOf(m);C!==-1&&r.splice(C,1)}function ne(m,C){const K=m;r.forEach(function(oe){oe[K]&&oe[K](C)})}function Z(m){return bn("10.7.0","highlightBlock will be removed entirely in v12.0"),bn("10.7.0","Please use highlightElement now."),v(m)}Object.assign(t,{highlight:u,highlightAuto:h,highlightAll:B,highlightElement:v,highlightBlock:Z,configure:M,initHighlighting:R,initHighlightingOnLoad:N,registerLanguage:I,unregisterLanguage:J,listLanguages:z,getLanguage:Y,registerAliases:U,autoDetection:Q,inherit:ll,addPlugin:se,removePlugin:L}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=Fm,t.regex={concat:Gt,lookahead:Xa,either:qs,optional:em,anyNumberOfTimes:Qg};for(const m in ro)typeof ro[m]=="object"&&Za(ro[m]);return Object.assign(t,ro),t},_n=fl({});_n.newInstance=()=>fl({});var Bm=_n;_n.HighlightJS=_n,_n.default=_n;const so=$i(Bm),Ms=ze({__name:"Message",props:{message:{type:Object,required:!0}},setup(t){const e=t,{message:n}=_u(e),r=un(()=>({"chat-message-from-user":n.value.sender==="user","chat-message-from-bot":n.value.sender==="bot"})),o={highlight(s,c){if(c&&so.getLanguage(c))try{return so.highlight(s,{language:c}).value}catch{}return""}};return(s,c)=>(ce(),ye("div",{class:yn(["chat-message",r.value])},[Ln(s.$slots,"default",{},()=>[me(ge(Kg),{class:"chat-message-markdown",source:ge(n).text,options:o},null,8,["source"])])],2))}}),nZ="",$m=Ae("div",{class:"chat-message-typing-body"},[Ae("span",{class:"chat-message-typing-circle"}),Ae("span",{class:"chat-message-typing-circle"}),Ae("span",{class:"chat-message-typing-circle"})],-1),Um=ze({__name:"MessageTyping",props:{animation:{type:String,default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=un(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return(o,s)=>(ce(),qe(ge(Ms),{class:yn(r.value),message:n},{default:gt(()=>[$m]),_:1},8,["class"]))}}),rZ="",zm={class:"chat-messages-list"},Hm=ze({__name:"MessagesList",props:{messages:{type:Array,required:!0}},setup(t){const e=os(),{initialMessages:n,waitingForResponse:r}=e;return(o,s)=>(ce(),ye("div",zm,[(ce(!0),ye(Oe,null,Uc(ge(n),c=>(ce(),qe(Ms,{key:c.id,message:c},null,8,["message"]))),128)),(ce(!0),ye(Oe,null,Uc(t.messages,c=>(ce(),qe(Ms,{key:c.id,message:c},null,8,["message"]))),128)),ge(r)?(ce(),qe(Um,{key:0})):Bn("",!0)]))}}),oZ="",jm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Gm=[Ae("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2v7Z"},null,-1)];function Zm(t,e){return ce(),ye("svg",jm,Gm)}const Km={name:"mdi-send",render:Zm},Wm={class:"chat-input"},Jm=["placeholder","onKeydown"],Ym=["disabled"],Xm=ze({__name:"Input",setup(t){const e=os(),{waitingForResponse:n}=e,{t:r}=$r(),o=tn(""),s=un(()=>o.value===""||n.value);async function c(a){if(a.preventDefault(),s.value)return;const l=o.value;o.value="",await e.sendMessage(l)}async function i(a){a.shiftKey||await c(a)}return(a,l)=>(ce(),ye("div",Wm,[Ic(Ae("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u),rows:"1",placeholder:ge(r)("inputPlaceholder"),onKeydown:Rp(i,["enter"])},null,40,Jm),[[Op,o.value]]),Ae("button",{disabled:s.value,class:"chat-input-send-button",onClick:c},[me(ge(Km),{height:"32",width:"32"})],8,Ym)]))}}),cZ="",pl=ze({__name:"Chat",setup(t){const{t:e}=$r(),n=os(),{messages:r,currentSessionId:o}=n;async function s(){await n.loadPreviousSession(),rn(()=>{$t.emit("scrollToBottom")})}async function c(){n.startNewSession(),rn(()=>{$t.emit("scrollToBottom")})}return Rn(()=>{s()}),(i,a)=>(ce(),qe(Yp,{class:"chat-wrapper"},hf({footer:gt(()=>[ge(o)?(ce(),qe(Xm,{key:0})):(ce(),qe(ad,{key:1}))]),default:gt(()=>[ge(o)?(ce(),qe(Hm,{key:1,messages:ge(r)},null,8,["messages"])):(ce(),qe(ed,{key:0,"onClick:button":c}))]),_:2},[ge(o)?void 0:{name:"header",fn:gt(()=>[Ae("h1",null,lr(ge(e)("title")),1),Ae("p",null,lr(ge(e)("subtitle")),1)]),key:"0"}]),1024))}}),Qm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},eb=[Ae("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8Z"},null,-1)];function tb(t,e){return ce(),ye("svg",Qm,eb)}const nb={name:"mdi-chat",render:tb},rb={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ob=[Ae("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6l1.41-1.42Z"},null,-1)];function sb(t,e){return ce(),ye("svg",rb,ob)}const cb={name:"mdi-chevron-down",render:sb},ib={class:"chat-window-wrapper"},ab={class:"chat-window"},lb=ze({__name:"ChatWindow",setup(t){const e=tn(!1);function n(){e.value=!e.value,e.value&&rn(()=>{$t.emit("scrollToBottom")})}return(r,o)=>(ce(),ye("div",ib,[me(Br,{name:"chat-window-transition"},{default:gt(()=>[Ic(Ae("div",ab,[me(pl)],512),[[Lp,e.value]])]),_:1}),Ae("div",{class:"chat-window-toggle",onClick:n},[me(Br,{name:"chat-window-toggle-transition",mode:"out-in"},{default:gt(()=>[e.value?(ce(),qe(ge(cb),{key:1,height:"32",width:"32"})):(ce(),qe(ge(nb),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),lZ="";function ub(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=t.inherit(s,{begin:/\(/,end:/\)/}),i=t.inherit(t.APOS_STRING_MODE,{className:"string"}),a=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[o]},{begin:/'/,end:/'/,contains:[o]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[s,a,i,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,c,a,i]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(n,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const dl="[A-Za-z$_][0-9A-Za-z$_]*",fb=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],pb=["true","false","null","undefined","NaN","Infinity"],hl=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],gl=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ml=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],db=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],hb=[].concat(ml,hl,gl);function gb(t){const e=t.regex,n=(C,{after:K})=>{const oe="</"+C[0].slice(1);return C.input.indexOf(oe,K)!==-1},r=dl,o={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,K)=>{const oe=C[0].length+C.index,le=C.input[oe];if(le==="<"||le===","){K.ignoreMatch();return}le===">"&&(n(C,{after:oe})||K.ignoreMatch());let he;const _e=C.input.substring(oe);if(he=_e.match(/^\s*=/)){K.ignoreMatch();return}if((he=_e.match(/^\s+extends\s+/))&&he.index===0){K.ignoreMatch();return}}},i={$pattern:dl,keyword:fb,literal:pb,built_in:hb,"variable.language":db},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},N={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},A=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,y,v,M,{match:/\$\d+/},f];p.contains=A.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(A)});const B=[].concat(N,p.contains),S=B.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(B)}]),I={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S},J={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},z={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...hl,...gl]}},Y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},U={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[I],illegal:/%/},Q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(C){return e.concat("(?!",C.join("|"),")")}const se={match:e.concat(/\b/,V([...ml,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},L={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ne={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},I]},Z="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",m={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Z)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[I]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:z},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Y,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,y,v,M,N,{match:/\$\d+/},f,z,{className:"attr",begin:r+e.lookahead(":"),relevance:0},m,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[N,t.REGEXP_MODE,{className:"function",begin:Z,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:s},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},U,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[I,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[I]},se,Q,J,ne,{match:/\$[(.]/}]}}const mb=ze({__name:"App",props:{},setup(t){const{options:e}=ss(),n=un(()=>e.mode==="fullscreen");return Rn(()=>{so.registerLanguage("xml",ub),so.registerLanguage("javascript",gb)}),(r,o)=>n.value?(ce(),qe(ge(pl),{key:0,class:"n8n-chat"})):(ce(),qe(ge(lb),{key:1,class:"n8n-chat"}))}});var co,bb=new Uint8Array(16);function _b(){if(!co&&(co=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!co))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return co(bb)}const vb=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Eb(t){return typeof t=="string"&&vb.test(t)}for(var Ce=[],Fs=0;Fs<256;++Fs)Ce.push((Fs+256).toString(16).substr(1));function yb(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(Ce[t[e+0]]+Ce[t[e+1]]+Ce[t[e+2]]+Ce[t[e+3]]+"-"+Ce[t[e+4]]+Ce[t[e+5]]+"-"+Ce[t[e+6]]+Ce[t[e+7]]+"-"+Ce[t[e+8]]+Ce[t[e+9]]+"-"+Ce[t[e+10]]+Ce[t[e+11]]+Ce[t[e+12]]+Ce[t[e+13]]+Ce[t[e+14]]+Ce[t[e+15]]).toLowerCase();if(!Eb(n))throw TypeError("Stringified UUID is invalid");return n}function Yn(t,e,n){t=t||{};var r=t.random||(t.rng||_b)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return yb(r)}async function xb(){return""}async function bl(...t){var r;const e=await xb();return await(await fetch(t[0],{...t[1],mode:"cors",cache:"no-cache",headers:{...e?{authorization:`Bearer ${e}`}:{},...(r=t[1])==null?void 0:r.headers}})).json()}async function _l(t,e={},n={}){let r=t;return Object.keys(e).length>0&&(r=`${r}?${new URLSearchParams(e).toString()}`),bl(r,{...n,method:"GET"})}async function vl(t,e={},n={}){return bl(t,{...n,method:"POST",body:JSON.stringify(e)})}async function wb(t,e){var r,o;return(((r=e.webhookConfig)==null?void 0:r.method)==="POST"?vl:_l)(`${e.webhookUrl}`,{action:"loadPreviousSession",sessionId:t},{headers:(o=e.webhookConfig)==null?void 0:o.headers})}async function kb(t,e,n){var o,s;return(((o=n.webhookConfig)==null?void 0:o.method)==="POST"?vl:_l)(`${n.webhookUrl}`,{action:"sendMessage",sessionId:e,message:t},{headers:(s=n.webhookConfig)==null?void 0:s.headers})}const Cb={install(t,e){t.provide(Bi,e);const n=tn([]),r=tn(null),o=tn(!1),s=un(()=>(e.initialMessages??[]).map(l=>({id:Yn(),text:l,sender:"bot",createdAt:new Date().toISOString()})));async function c(l){const u={id:Yn(),text:l,sender:"user",createdAt:new Date().toISOString()};n.value.push(u),o.value=!0,rn(()=>{$t.emit("scrollToBottom")});const f=await kb(l,r.value,e),p={id:Yn(),text:f.output,sender:"bot",createdAt:new Date().toISOString()};n.value.push(p),o.value=!1,rn(()=>{$t.emit("scrollToBottom")})}async function i(){const l=localStorage.getItem(Vi)??Yn(),u=await wb(l,e),f=new Date().toISOString();return n.value=((u==null?void 0:u.data)||[]).map((p,h)=>({id:`${h}`,text:p.kwargs.content,sender:p.id.includes("HumanMessage")?"user":"bot",createdAt:f})),n.value.length&&(r.value=l),l}async function a(){r.value=Yn(),localStorage.setItem(Vi,r.value)}t.provide(Pi,{initialMessages:s,messages:n,currentSessionId:r,waitingForResponse:o,loadPreviousSession:i,startNewSession:a,sendMessage:c})}};function Db(t){var o,s;const e={...Hn,...t,webhookConfig:{...Hn.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...Hn.i18n,...t==null?void 0:t.i18n,en:{...(o=Hn.i18n)==null?void 0:o.en,...(s=t==null?void 0:t.i18n)==null?void 0:s.en}},theme:{...Hn.theme,...t==null?void 0:t.theme}},n=e.target??Xp;typeof n=="string"&&Zp(n);const r=Fp(mb);return r.use(Cb,e),r.mount(n),r}Jt.createChat=Db,Object.defineProperty(Jt,Symbol.toStringTag,{value:"Module"})});