@n8n/chat 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,18 @@
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 />
1
+ (function(Nt,Ln){typeof exports=="object"&&typeof module<"u"?Ln(exports):typeof define=="function"&&define.amd?define(["exports"],Ln):(Nt=typeof globalThis<"u"?globalThis:Nt||self,Ln(Nt.N8nChat={}))})(this,function(Nt){"use strict";const Ln="";function qr(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={},Mt=[],Pe=()=>{},yl=()=>!1,wl=/^on[^a-z]/,Nn=t=>wl.test(t),Tr=t=>t.startsWith("onUpdate:"),ge=Object.assign,Rr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},kl=Object.prototype.hasOwnProperty,oe=(t,e)=>kl.call(t,e),G=Array.isArray,It=t=>Mn(t)==="[object Map]",ts=t=>Mn(t)==="[object Set]",X=t=>typeof t=="function",me=t=>typeof t=="string",Lr=t=>typeof t=="symbol",fe=t=>t!==null&&typeof t=="object",ns=t=>fe(t)&&X(t.then)&&X(t.catch),rs=Object.prototype.toString,Mn=t=>rs.call(t),El=t=>Mn(t).slice(8,-1),os=t=>Mn(t)==="[object Object]",Nr=t=>me(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,In=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Cl=/-(\w)/g,Ot=On(t=>t.replace(Cl,(e,n)=>n?n.toUpperCase():"")),Al=/\B([A-Z])/g,ht=On(t=>t.replace(Al,"-$1").toLowerCase()),ss=On(t=>t.charAt(0).toUpperCase()+t.slice(1)),Mr=On(t=>t?`on${ss(t)}`:""),rn=(t,e)=>!Object.is(t,e),Fn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Bn=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ir=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Sl=t=>{const e=me(t)?Number(t):NaN;return isNaN(e)?t:e};let cs;const Or=()=>cs||(cs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fr(t){if(G(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=me(r)?Rl(r):Fr(r);if(o)for(const s in o)e[s]=o[s]}return e}else{if(me(t))return t;if(fe(t))return t}}const Dl=/;(?![^(]*\))/g,ql=/:([^]+)/,Tl=/\/\*[^]*?\*\//g;function Rl(t){const e={};return t.replace(Tl,"").split(Dl).forEach(n=>{if(n){const r=n.split(ql);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function on(t){let e="";if(me(t))e=t;else if(G(t))for(let n=0;n<t.length;n++){const r=on(t[n]);r&&(e+=r+" ")}else if(fe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const Ll=qr("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function is(t){return!!t||t===""}const Pn=t=>me(t)?t:t==null?"":G(t)||fe(t)&&(t.toString===rs||!X(t.toString))?JSON.stringify(t,ls,2):String(t),ls=(t,e)=>e&&e.__v_isRef?ls(t,e.value):It(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:ts(e)?{[`Set(${e.size})`]:[...e.values()]}:fe(e)&&!G(e)&&!os(e)?String(e):e;let Ue;class Nl{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}}}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 Ml(t,e=Ue){e&&e.active&&e.effects.push(t)}function Il(){return Ue}const Br=t=>{const e=new Set(t);return e.w=0,e.n=0,e},as=t=>(t.w&rt)>0,us=t=>(t.n&rt)>0,Ol=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=rt},Fl=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];as(o)&&!us(o)?o.delete(t):e[n++]=o,o.w&=~rt,o.n&=~rt}e.length=n}},Un=new WeakMap;let sn=0,rt=1;const Pr=30;let ze;const dt=Symbol(""),Ur=Symbol("");class zr{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ml(this,r)}run(){if(!this.active)return this.fn();let e=ze,n=ot;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ze,ze=this,ot=!0,rt=1<<++sn,sn<=Pr?Ol(this):fs(this),this.fn()}finally{sn<=Pr&&Fl(this),rt=1<<--sn,ze=this.parent,ot=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ze===this?this.deferStop=!0:this.active&&(fs(this),this.onStop&&this.onStop(),this.active=!1)}}function fs(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let ot=!0;const ps=[];function Ft(){ps.push(ot),ot=!1}function Bt(){const t=ps.pop();ot=t===void 0?!0:t}function De(t,e,n){if(ot&&ze){let r=Un.get(t);r||Un.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Br()),hs(o)}}function hs(t,e){let n=!1;sn<=Pr?us(t)||(t.n|=rt,n=!as(t)):n=!t.has(ze),n&&(t.add(ze),ze.deps.push(t))}function Qe(t,e,n,r,o,s){const c=Un.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((a,u)=>{(u==="length"||u>=l)&&i.push(a)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":G(t)?Nr(n)&&i.push(c.get("length")):(i.push(c.get(dt)),It(t)&&i.push(c.get(Ur)));break;case"delete":G(t)||(i.push(c.get(dt)),It(t)&&i.push(c.get(Ur)));break;case"set":It(t)&&i.push(c.get(dt));break}if(i.length===1)i[0]&&$r(i[0]);else{const l=[];for(const a of i)a&&l.push(...a);$r(Br(l))}}function $r(t,e){const n=G(t)?t:[...t];for(const r of n)r.computed&&ds(r);for(const r of n)r.computed||ds(r)}function ds(t,e){(t!==ze||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function Bl(t,e){var n;return(n=Un.get(t))==null?void 0:n.get(e)}const Pl=qr("__proto__,__v_isRef,__isVue"),gs=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Lr)),Ul=Hr(),zl=Hr(!1,!0),$l=Hr(!0),ms=Hl();function Hl(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=se(this);for(let s=0,c=this.length;s<c;s++)De(r,"get",s+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(se)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Ft();const r=se(this)[e].apply(this,n);return Bt(),r}}),t}function Vl(t){const e=se(this);return De(e,"has",t),e.hasOwnProperty(t)}function Hr(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?ca:Cs:e?Es:ks).get(r))return r;const c=G(r);if(!t){if(c&&oe(ms,o))return Reflect.get(ms,o,s);if(o==="hasOwnProperty")return Vl}const i=Reflect.get(r,o,s);return(Lr(o)?gs.has(o):Pl(o))||(t||De(r,"get",o),e)?i:ve(i)?c&&Nr(o)?i:i.value:fe(i)?t?As(i):Gr(i):i}}const jl=bs(),Gl=bs(!0);function bs(t=!1){return function(n,r,o,s){let c=n[r];if(Ut(c)&&ve(c)&&!ve(o))return!1;if(!t&&(!Zn(o)&&!Ut(o)&&(c=se(c),o=se(o)),!G(n)&&ve(c)&&!ve(o)))return c.value=o,!0;const i=G(n)&&Nr(r)?Number(r)<n.length:oe(n,r),l=Reflect.set(n,r,o,s);return n===se(s)&&(i?rn(o,c)&&Qe(n,"set",r,o):Qe(n,"add",r,o)),l}}function Zl(t,e){const n=oe(t,e);t[e];const r=Reflect.deleteProperty(t,e);return r&&n&&Qe(t,"delete",e,void 0),r}function Kl(t,e){const n=Reflect.has(t,e);return(!Lr(e)||!gs.has(e))&&De(t,"has",e),n}function Wl(t){return De(t,"iterate",G(t)?"length":dt),Reflect.ownKeys(t)}const _s={get:Ul,set:jl,deleteProperty:Zl,has:Kl,ownKeys:Wl},Jl={get:$l,set(t,e){return!0},deleteProperty(t,e){return!0}},Yl=ge({},_s,{get:zl,set:Gl}),Vr=t=>t,zn=t=>Reflect.getPrototypeOf(t);function $n(t,e,n=!1,r=!1){t=t.__v_raw;const o=se(t),s=se(e);n||(e!==s&&De(o,"get",e),De(o,"get",s));const{has:c}=zn(o),i=r?Vr:n?Kr: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 Hn(t,e=!1){const n=this.__v_raw,r=se(n),o=se(t);return e||(t!==o&&De(r,"has",t),De(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Vn(t,e=!1){return t=t.__v_raw,!e&&De(se(t),"iterate",dt),Reflect.get(t,"size",t)}function vs(t){t=se(t);const e=se(this);return zn(e).has.call(e,t)||(e.add(t),Qe(e,"add",t,t)),this}function xs(t,e){e=se(e);const n=se(this),{has:r,get:o}=zn(n);let s=r.call(n,t);s||(t=se(t),s=r.call(n,t));const c=o.call(n,t);return n.set(t,e),s?rn(e,c)&&Qe(n,"set",t,e):Qe(n,"add",t,e),this}function ys(t){const e=se(this),{has:n,get:r}=zn(e);let o=n.call(e,t);o||(t=se(t),o=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return o&&Qe(e,"delete",t,void 0),s}function ws(){const t=se(this),e=t.size!==0,n=t.clear();return e&&Qe(t,"clear",void 0,void 0),n}function jn(t,e){return function(r,o){const s=this,c=s.__v_raw,i=se(c),l=e?Vr:t?Kr:cn;return!t&&De(i,"iterate",dt),c.forEach((a,u)=>r.call(o,l(a),l(u),s))}}function Gn(t,e,n){return function(...r){const o=this.__v_raw,s=se(o),c=It(s),i=t==="entries"||t===Symbol.iterator&&c,l=t==="keys"&&c,a=o[t](...r),u=n?Vr:e?Kr:cn;return!e&&De(s,"iterate",l?Ur:dt),{next(){const{value:f,done:p}=a.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function st(t){return function(...e){return t==="delete"?!1:this}}function Xl(){const t={get(s){return $n(this,s)},get size(){return Vn(this)},has:Hn,add:vs,set:xs,delete:ys,clear:ws,forEach:jn(!1,!1)},e={get(s){return $n(this,s,!1,!0)},get size(){return Vn(this)},has:Hn,add:vs,set:xs,delete:ys,clear:ws,forEach:jn(!1,!0)},n={get(s){return $n(this,s,!0)},get size(){return Vn(this,!0)},has(s){return Hn.call(this,s,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:jn(!0,!1)},r={get(s){return $n(this,s,!0,!0)},get size(){return Vn(this,!0)},has(s){return Hn.call(this,s,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:jn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Gn(s,!1,!1),n[s]=Gn(s,!0,!1),e[s]=Gn(s,!1,!0),r[s]=Gn(s,!0,!0)}),[t,n,e,r]}const[Ql,ea,ta,na]=Xl();function jr(t,e){const n=e?t?na:ta:t?ea:Ql;return(r,o,s)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(oe(n,o)&&o in r?n:r,o,s)}const ra={get:jr(!1,!1)},oa={get:jr(!1,!0)},sa={get:jr(!0,!1)},ks=new WeakMap,Es=new WeakMap,Cs=new WeakMap,ca=new WeakMap;function ia(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function la(t){return t.__v_skip||!Object.isExtensible(t)?0:ia(El(t))}function Gr(t){return Ut(t)?t:Zr(t,!1,_s,ra,ks)}function aa(t){return Zr(t,!1,Yl,oa,Es)}function As(t){return Zr(t,!0,Jl,sa,Cs)}function Zr(t,e,n,r,o){if(!fe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=o.get(t);if(s)return s;const c=la(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return o.set(t,i),i}function Pt(t){return Ut(t)?Pt(t.__v_raw):!!(t&&t.__v_isReactive)}function Ut(t){return!!(t&&t.__v_isReadonly)}function Zn(t){return!!(t&&t.__v_isShallow)}function Ss(t){return Pt(t)||Ut(t)}function se(t){const e=t&&t.__v_raw;return e?se(e):t}function Ds(t){return Bn(t,"__v_skip",!0),t}const cn=t=>fe(t)?Gr(t):t,Kr=t=>fe(t)?As(t):t;function qs(t){ot&&ze&&(t=se(t),hs(t.dep||(t.dep=Br())))}function Ts(t,e){t=se(t);const n=t.dep;n&&$r(n)}function ve(t){return!!(t&&t.__v_isRef===!0)}function zt(t){return ua(t,!1)}function ua(t,e){return ve(t)?t:new fa(t,e)}class fa{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:se(e),this._value=n?e:cn(e)}get value(){return qs(this),this._value}set value(e){const n=this.__v_isShallow||Zn(e)||Ut(e);e=n?e:se(e),rn(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:cn(e),Ts(this))}}function he(t){return ve(t)?t.value:t}const pa={get:(t,e,n)=>he(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return ve(o)&&!ve(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function Rs(t){return Pt(t)?t:new Proxy(t,pa)}function ha(t){const e=G(t)?new Array(t.length):{};for(const n in t)e[n]=ga(t,n);return e}class da{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 Bl(se(this._object),this._key)}}function ga(t,e,n){const r=t[e];return ve(r)?r:new da(t,e,n)}class ma{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 zr(e,()=>{this._dirty||(this._dirty=!0,Ts(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=se(this);return qs(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function ba(t,e,n=!1){let r,o;const s=X(t);return s?(r=t,o=Pe):(r=t.get,o=t.set),new ma(r,o,s||!o,n)}function $g(t,...e){}function ct(t,e,n,r){let o;try{o=r?t(...r):t()}catch(s){Kn(s,e,n)}return o}function Ne(t,e,n,r){if(X(t)){const s=ct(t,e,n,r);return s&&ns(s)&&s.catch(c=>{Kn(c,e,n)}),s}const o=[];for(let s=0;s<t.length;s++)o.push(Ne(t[s],e,n,r));return o}function Kn(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let s=e.parent;const c=e.proxy,i=n;for(;s;){const a=s.ec;if(a){for(let u=0;u<a.length;u++)if(a[u](t,c,i)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){ct(l,null,10,[t,c,i]);return}}_a(t,n,o,r)}function _a(t,e,n,r=!0){console.error(t)}let ln=!1,Wr=!1;const we=[];let je=0;const $t=[];let et=null,gt=0;const Ls=Promise.resolve();let Jr=null;function Ht(t){const e=Jr||Ls;return t?e.then(this?t.bind(this):t):e}function va(t){let e=je+1,n=we.length;for(;e<n;){const r=e+n>>>1;an(we[r])<t?e=r+1:n=r}return e}function Yr(t){(!we.length||!we.includes(t,ln&&t.allowRecurse?je+1:je))&&(t.id==null?we.push(t):we.splice(va(t.id),0,t),Ns())}function Ns(){!ln&&!Wr&&(Wr=!0,Jr=Ls.then(Os))}function xa(t){const e=we.indexOf(t);e>je&&we.splice(e,1)}function ya(t){G(t)?$t.push(...t):(!et||!et.includes(t,t.allowRecurse?gt+1:gt))&&$t.push(t),Ns()}function Ms(t,e=ln?je+1:0){for(;e<we.length;e++){const n=we[e];n&&n.pre&&(we.splice(e,1),e--,n())}}function Is(t){if($t.length){const e=[...new Set($t)];if($t.length=0,et){et.push(...e);return}for(et=e,et.sort((n,r)=>an(n)-an(r)),gt=0;gt<et.length;gt++)et[gt]();et=null,gt=0}}const an=t=>t.id==null?1/0:t.id,wa=(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 Os(t){Wr=!1,ln=!0,we.sort(wa);const e=Pe;try{for(je=0;je<we.length;je++){const n=we[je];n&&n.active!==!1&&ct(n,null,14)}}finally{je=0,we.length=0,Is(),ln=!1,Jr=null,(we.length||$t.length)&&Os()}}function ka(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ue;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(d=>me(d)?d.trim():d)),f&&(o=n.map(Ir))}let i,l=r[i=Mr(e)]||r[i=Mr(Ot(e))];!l&&s&&(l=r[i=Mr(ht(e))]),l&&Ne(l,t,6,o);const a=r[i+"Once"];if(a){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,Ne(a,t,6,o)}}function Fs(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(!X(t)){const l=a=>{const u=Fs(a,e,!0);u&&(i=!0,ge(c,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!i?(fe(t)&&r.set(t,null),null):(G(s)?s.forEach(l=>c[l]=null):ge(c,s),fe(t)&&r.set(t,c),c)}function Wn(t,e){return!t||!Nn(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,ht(e))||oe(t,e))}let ke=null,Bs=null;function Jn(t){const e=ke;return ke=t,Bs=t&&t.type.__scopeId||null,e}function it(t,e=ke,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&hc(-1);const s=Jn(e);let c;try{c=t(...o)}finally{Jn(s),r._d&&hc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function Hg(){}function Xr(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[c],slots:i,attrs:l,emit:a,render:u,renderCache:f,data:p,setupState:d,ctx:w,inheritAttrs:_}=t;let M,q;const C=Jn(t);try{if(n.shapeFlag&4){const A=o||r;M=Ge(u.call(A,A,f,s,d,p,w)),q=l}else{const A=e;M=Ge(A.length>1?A(s,{attrs:l,slots:i,emit:a}):A(s,null)),q=e.props?l:Ea(l)}}catch(A){gn.length=0,Kn(A,t,1),M=de(Ie)}let N=M;if(q&&_!==!1){const A=Object.keys(q),{shapeFlag:V}=N;A.length&&V&7&&(c&&A.some(Tr)&&(q=Ca(q,c)),N=lt(N,q))}return n.dirs&&(N=lt(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),M=N,Jn(C),M}const Ea=t=>{let e;for(const n in t)(n==="class"||n==="style"||Nn(n))&&((e||(e={}))[n]=t[n]);return e},Ca=(t,e)=>{const n={};for(const r in t)(!Tr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Aa(t,e,n){const{props:r,children:o,component:s}=t,{props:c,children:i,patchFlag:l}=e,a=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ps(r,c,a):!!c;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Wn(a,p))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?Ps(r,c,a):!0:!!c;return!1}function Ps(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]&&!Wn(n,s))return!0}return!1}function Sa({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Da=t=>t.__isSuspense;function qa(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):ya(t)}const Yn={};function Qr(t,e,n){return Us(t,e,n)}function Us(t,e,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:c}=ue){var i;const l=Il()===((i=xe)==null?void 0:i.scope)?xe:null;let a,u=!1,f=!1;if(ve(t)?(a=()=>t.value,u=Zn(t)):Pt(t)?(a=()=>t,r=!0):G(t)?(f=!0,u=t.some(A=>Pt(A)||Zn(A)),a=()=>t.map(A=>{if(ve(A))return A.value;if(Pt(A))return mt(A);if(X(A))return ct(A,l,2)})):X(t)?e?a=()=>ct(t,l,2):a=()=>{if(!(l&&l.isUnmounted))return p&&p(),Ne(t,l,3,[d])}:a=Pe,e&&r){const A=a;a=()=>mt(A())}let p,d=A=>{p=C.onStop=()=>{ct(A,l,4)}},w;if(_n)if(d=Pe,e?n&&Ne(e,l,3,[a(),f?[]:void 0,d]):a(),o==="sync"){const A=ku();w=A.__watcherHandles||(A.__watcherHandles=[])}else return Pe;let _=f?new Array(t.length).fill(Yn):Yn;const M=()=>{if(C.active)if(e){const A=C.run();(r||u||(f?A.some((V,R)=>rn(V,_[R])):rn(A,_)))&&(p&&p(),Ne(e,l,3,[A,_===Yn?void 0:f&&_[0]===Yn?[]:_,d]),_=A)}else C.run()};M.allowRecurse=!!e;let q;o==="sync"?q=M:o==="post"?q=()=>qe(M,l&&l.suspense):(M.pre=!0,l&&(M.id=l.uid),q=()=>Yr(M));const C=new zr(a,q);e?n?M():_=C.run():o==="post"?qe(C.run.bind(C),l&&l.suspense):C.run();const N=()=>{C.stop(),l&&l.scope&&Rr(l.scope.effects,C)};return w&&w.push(N),N}function Ta(t,e,n){const r=this.proxy,o=me(t)?t.includes(".")?zs(r,t):()=>r[t]:t.bind(r,r);let s;X(e)?s=e:(s=e.handler,n=e);const c=xe;Gt(this);const i=Us(o,s.bind(r),n);return c?Gt(c):xt(),i}function zs(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 mt(t,e){if(!fe(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),ve(t))mt(t.value,e);else if(G(t))for(let n=0;n<t.length;n++)mt(t[n],e);else if(ts(t)||It(t))t.forEach(n=>{mt(n,e)});else if(os(t))for(const n in t)mt(t[n],e);return t}function $s(t,e){const n=ke;if(n===null)return t;const r=cr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[c,i,l,a=ue]=e[s];c&&(X(c)&&(c={mounted:c,updated:c}),c.deep&&mt(i),o.push({dir:c,instance:r,value:i,oldValue:void 0,arg:l,modifiers:a}))}return t}function bt(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 l=i.dir[r];l&&(Ft(),Ne(l,n,8,[t.el,i,t,e]),Bt())}}function Ra(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fn(()=>{t.isMounted=!0}),ro(()=>{t.isUnmounting=!0}),t}const Me=[Function,Array],Hs={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},La={name:"BaseTransition",props:Hs,setup(t,{slots:e}){const n=mu(),r=Ra();let o;return()=>{const s=e.default&&Gs(e.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){for(const _ of s)if(_.type!==Ie){c=_;break}}const i=se(t),{mode:l}=i;if(r.isLeaving)return to(c);const a=js(c);if(!a)return to(c);const u=eo(a,i,r,n);no(a,u);const f=n.subTree,p=f&&js(f);let d=!1;const{getTransitionKey:w}=a.type;if(w){const _=w();o===void 0?o=_:_!==o&&(o=_,d=!0)}if(p&&p.type!==Ie&&(!vt(a,p)||d)){const _=eo(p,i,r,n);if(no(p,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},to(c);l==="in-out"&&a.type!==Ie&&(_.delayLeave=(M,q,C)=>{const N=Vs(r,p);N[String(p.key)]=p,M._leaveCb=()=>{q(),M._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=C})}return c}}};function Vs(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 eo(t,e,n,r){const{appear:o,mode:s,persisted:c=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:w,onBeforeAppear:_,onAppear:M,onAfterAppear:q,onAppearCancelled:C}=e,N=String(t.key),A=Vs(n,t),V=(U,Q)=>{U&&Ne(U,r,9,Q)},R=(U,Q)=>{const z=Q[1];V(U,Q),G(U)?U.every(J=>J.length<=1)&&z():U.length<=1&&z()},W={mode:s,persisted:c,beforeEnter(U){let Q=i;if(!n.isMounted)if(o)Q=_||i;else return;U._leaveCb&&U._leaveCb(!0);const z=A[N];z&&vt(t,z)&&z.el._leaveCb&&z.el._leaveCb(),V(Q,[U])},enter(U){let Q=l,z=a,J=u;if(!n.isMounted)if(o)Q=M||l,z=q||a,J=C||u;else return;let P=!1;const re=U._enterCb=D=>{P||(P=!0,D?V(J,[U]):V(z,[U]),W.delayedLeave&&W.delayedLeave(),U._enterCb=void 0)};Q?R(Q,[U,re]):re()},leave(U,Q){const z=String(t.key);if(U._enterCb&&U._enterCb(!0),n.isUnmounting)return Q();V(f,[U]);let J=!1;const P=U._leaveCb=re=>{J||(J=!0,Q(),re?V(w,[U]):V(d,[U]),U._leaveCb=void 0,A[z]===t&&delete A[z])};A[z]=t,p?R(p,[U,P]):P()},clone(U){return eo(U,e,n,r)}};return W}function to(t){if(Xn(t))return t=lt(t),t.children=null,t}function js(t){return Xn(t)?t.children?t.children[0]:void 0:t}function no(t,e){t.shapeFlag&6&&t.component?no(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 Gs(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===Te?(c.patchFlag&128&&o++,r=r.concat(Gs(c.children,e,i))):(e||c.type!==Ie)&&r.push(i!=null?lt(c,{key:i}):c)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function $e(t,e){return X(t)?(()=>ge({name:t.name},e,{setup:t}))():t}const un=t=>!!t.type.__asyncLoader,Xn=t=>t.type.__isKeepAlive;function Na(t,e){Zs(t,"a",e)}function Ma(t,e){Zs(t,"da",e)}function Zs(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(Qn(e,r,n),n){let o=n.parent;for(;o&&o.parent;)Xn(o.parent.vnode)&&Ia(r,e,n,o),o=o.parent}}function Ia(t,e,n,r){const o=Qn(e,t,r,!0);Ks(()=>{Rr(r[e],o)},n)}function Qn(t,e,n=xe,r=!1){if(n){const o=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;Ft(),Gt(n);const i=Ne(e,n,t,c);return xt(),Bt(),i});return r?o.unshift(s):o.push(s),s}}const tt=t=>(e,n=xe)=>(!_n||t==="sp")&&Qn(t,(...r)=>e(...r),n),Oa=tt("bm"),fn=tt("m"),Fa=tt("bu"),Ba=tt("u"),ro=tt("bum"),Ks=tt("um"),Pa=tt("sp"),Ua=tt("rtg"),za=tt("rtc");function $a(t,e=xe){Qn("ec",t,e)}const Ha=Symbol.for("v-ndc");function Ws(t,e,n,r){let o;const s=n&&n[r];if(G(t)||me(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"){o=new Array(t);for(let c=0;c<t;c++)o[c]=e(c+1,c,void 0,s&&s[c])}else if(fe(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,l=c.length;i<l;i++){const a=c[i];o[i]=e(t[a],a,i,s&&s[i])}}else o=[];return n&&(n[r]=o),o}function Va(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 pn(t,e,n={},r,o){if(ke.isCE||ke.parent&&un(ke.parent)&&ke.parent.isCE)return e!=="default"&&(n.name=e),de("slot",n,r&&r());let s=t[e];s&&s._c&&(s._d=!1),ce();const c=s&&Js(s(n)),i=Ae(Te,{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 Js(t){return t.some(e=>rr(e)?!(e.type===Ie||e.type===Te&&!Js(e.children)):!0)?t:null}const oo=t=>t?bc(t)?cr(t)||t.proxy:oo(t.parent):null,hn=ge(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>oo(t.parent),$root:t=>oo(t.root),$emit:t=>t.emit,$options:t=>io(t),$forceUpdate:t=>t.f||(t.f=()=>Yr(t.update)),$nextTick:t=>t.n||(t.n=Ht.bind(t.proxy)),$watch:t=>Ta.bind(t)}),so=(t,e)=>t!==ue&&!t.__isScriptSetup&&oe(t,e),ja={get({_:t},e){const{ctx:n,setupState:r,data:o,props:s,accessCache:c,type:i,appContext:l}=t;let a;if(e[0]!=="$"){const d=c[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if(so(r,e))return c[e]=1,r[e];if(o!==ue&&oe(o,e))return c[e]=2,o[e];if((a=t.propsOptions[0])&&oe(a,e))return c[e]=3,s[e];if(n!==ue&&oe(n,e))return c[e]=4,n[e];co&&(c[e]=0)}}const u=hn[e];let f,p;if(u)return e==="$attrs"&&De(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==ue&&oe(n,e))return c[e]=4,n[e];if(p=l.config.globalProperties,oe(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:s}=t;return so(o,e)?(o[e]=n,!0):r!==ue&&oe(r,e)?(r[e]=n,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(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&&oe(t,c)||so(e,c)||(i=s[0])&&oe(i,c)||oe(r,c)||oe(hn,c)||oe(o.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Ys(t){return G(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let co=!0;function Ga(t){const e=io(t),n=t.proxy,r=t.ctx;co=!1,e.beforeCreate&&Xs(e.beforeCreate,t,"bc");const{data:o,computed:s,methods:c,watch:i,provide:l,inject:a,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:w,activated:_,deactivated:M,beforeDestroy:q,beforeUnmount:C,destroyed:N,unmounted:A,render:V,renderTracked:R,renderTriggered:W,errorCaptured:U,serverPrefetch:Q,expose:z,inheritAttrs:J,components:P,directives:re,filters:D}=e;if(a&&Za(a,r,null),c)for(const v in c){const S=c[v];X(S)&&(r[v]=S.bind(n))}if(o){const v=o.call(n,n);fe(v)&&(t.data=Gr(v))}if(co=!0,s)for(const v in s){const S=s[v],Z=X(S)?S.bind(n,n):X(S.get)?S.get.bind(n,n):Pe,te=!X(S)&&X(S.set)?S.set.bind(n):Pe,ie=Zt({get:Z,set:te});Object.defineProperty(r,v,{enumerable:!0,configurable:!0,get:()=>ie.value,set:ae=>ie.value=ae})}if(i)for(const v in i)Qs(i[v],r,n,v);if(l){const v=X(l)?l.call(n):l;Reflect.ownKeys(v).forEach(S=>{Qa(S,v[S])})}u&&Xs(u,t,"c");function j(v,S){G(S)?S.forEach(Z=>v(Z.bind(n))):S&&v(S.bind(n))}if(j(Oa,f),j(fn,p),j(Fa,d),j(Ba,w),j(Na,_),j(Ma,M),j($a,U),j(za,R),j(Ua,W),j(ro,C),j(Ks,A),j(Pa,Q),G(z))if(z.length){const v=t.exposed||(t.exposed={});z.forEach(S=>{Object.defineProperty(v,S,{get:()=>n[S],set:Z=>n[S]=Z})})}else t.exposed||(t.exposed={});V&&t.render===Pe&&(t.render=V),J!=null&&(t.inheritAttrs=J),P&&(t.components=P),re&&(t.directives=re)}function Za(t,e,n=Pe){G(t)&&(t=lo(t));for(const r in t){const o=t[r];let s;fe(o)?"default"in o?s=Vt(o.from||r,o.default,!0):s=Vt(o.from||r):s=Vt(o),ve(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:c=>s.value=c}):e[r]=s}}function Xs(t,e,n){Ne(G(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Qs(t,e,n,r){const o=r.includes(".")?zs(n,r):()=>n[r];if(me(t)){const s=e[t];X(s)&&Qr(o,s)}else if(X(t))Qr(o,t.bind(n));else if(fe(t))if(G(t))t.forEach(s=>Qs(s,e,n,r));else{const s=X(t.handler)?t.handler.bind(n):e[t.handler];X(s)&&Qr(o,s,t)}}function io(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:s,config:{optionMergeStrategies:c}}=t.appContext,i=s.get(e);let l;return i?l=i:!o.length&&!n&&!r?l=e:(l={},o.length&&o.forEach(a=>er(l,a,c,!0)),er(l,e,c)),fe(e)&&s.set(e,l),l}function er(t,e,n,r=!1){const{mixins:o,extends:s}=e;s&&er(t,s,n,!0),o&&o.forEach(c=>er(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=Ka[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const Ka={data:ec,props:tc,emits:tc,methods:dn,computed:dn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:dn,directives:dn,watch:Ja,provide:ec,inject:Wa};function ec(t,e){return e?t?function(){return ge(X(t)?t.call(this,this):t,X(e)?e.call(this,this):e)}:e:t}function Wa(t,e){return dn(lo(t),lo(e))}function lo(t){if(G(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ce(t,e){return t?[...new Set([].concat(t,e))]:e}function dn(t,e){return t?ge(Object.create(null),t,e):e}function tc(t,e){return t?G(t)&&G(e)?[...new Set([...t,...e])]:ge(Object.create(null),Ys(t),Ys(e??{})):e}function Ja(t,e){if(!t)return e;if(!e)return t;const n=ge(Object.create(null),t);for(const r in e)n[r]=Ce(t[r],e[r]);return n}function nc(){return{app:null,config:{isNativeTag:yl,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 Ya=0;function Xa(t,e){return function(r,o=null){X(r)||(r=ge({},r)),o!=null&&!fe(o)&&(o=null);const s=nc(),c=new Set;let i=!1;const l=s.app={_uid:Ya++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Eu,get config(){return s.config},set config(a){},use(a,...u){return c.has(a)||(a&&X(a.install)?(c.add(a),a.install(l,...u)):X(a)&&(c.add(a),a(l,...u))),l},mixin(a){return s.mixins.includes(a)||s.mixins.push(a),l},component(a,u){return u?(s.components[a]=u,l):s.components[a]},directive(a,u){return u?(s.directives[a]=u,l):s.directives[a]},mount(a,u,f){if(!i){const p=de(r,o);return p.appContext=s,u&&e?e(p,a):t(p,a,f),i=!0,l._container=a,a.__vue_app__=l,cr(p.component)||p.component.proxy}},unmount(){i&&(t(null,l._container),delete l._container.__vue_app__)},provide(a,u){return s.provides[a]=u,l},runWithContext(a){tr=l;try{return a()}finally{tr=null}}};return l}}let tr=null;function Qa(t,e){if(xe){let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[t]=e}}function Vt(t,e,n=!1){const r=xe||ke;if(r||tr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:tr._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&X(e)?e.call(r&&r.proxy):e}}function eu(t,e,n,r=!1){const o={},s={};Bn(s,or,1),t.propsDefaults=Object.create(null),rc(t,e,o,s);for(const c in t.propsOptions[0])c in o||(o[c]=void 0);n?t.props=r?o:aa(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function tu(t,e,n,r){const{props:o,attrs:s,vnode:{patchFlag:c}}=t,i=se(o),[l]=t.propsOptions;let a=!1;if((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(Wn(t.emitsOptions,p))continue;const d=e[p];if(l)if(oe(s,p))d!==s[p]&&(s[p]=d,a=!0);else{const w=Ot(p);o[w]=ao(l,i,w,d,t,!1)}else d!==s[p]&&(s[p]=d,a=!0)}}}else{rc(t,e,o,s)&&(a=!0);let u;for(const f in i)(!e||!oe(e,f)&&((u=ht(f))===f||!oe(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ao(l,i,f,void 0,t,!0)):delete o[f]);if(s!==i)for(const f in s)(!e||!oe(e,f))&&(delete s[f],a=!0)}a&&Qe(t,"set","$attrs")}function rc(t,e,n,r){const[o,s]=t.propsOptions;let c=!1,i;if(e)for(let l in e){if(In(l))continue;const a=e[l];let u;o&&oe(o,u=Ot(l))?!s||!s.includes(u)?n[u]=a:(i||(i={}))[u]=a:Wn(t.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,c=!0)}if(s){const l=se(n),a=i||ue;for(let u=0;u<s.length;u++){const f=s[u];n[f]=ao(o,l,f,a[f],t,!oe(a,f))}}return c}function ao(t,e,n,r,o,s){const c=t[n];if(c!=null){const i=oe(c,"default");if(i&&r===void 0){const l=c.default;if(c.type!==Function&&!c.skipFactory&&X(l)){const{propsDefaults:a}=o;n in a?r=a[n]:(Gt(o),r=a[n]=l.call(null,e),xt())}else r=l}c[0]&&(s&&!i?r=!1:c[1]&&(r===""||r===ht(n))&&(r=!0))}return r}function oc(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const s=t.props,c={},i=[];let l=!1;if(!X(t)){const u=f=>{l=!0;const[p,d]=oc(f,e,!0);ge(c,p),d&&i.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return fe(t)&&r.set(t,Mt),Mt;if(G(s))for(let u=0;u<s.length;u++){const f=Ot(s[u]);sc(f)&&(c[f]=ue)}else if(s)for(const u in s){const f=Ot(u);if(sc(f)){const p=s[u],d=c[f]=G(p)||X(p)?{type:p}:ge({},p);if(d){const w=lc(Boolean,d.type),_=lc(String,d.type);d[0]=w>-1,d[1]=_<0||w<_,(w>-1||oe(d,"default"))&&i.push(f)}}}const a=[c,i];return fe(t)&&r.set(t,a),a}function sc(t){return t[0]!=="$"}function cc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function ic(t,e){return cc(t)===cc(e)}function lc(t,e){return G(e)?e.findIndex(n=>ic(n,t)):X(e)&&ic(e,t)?0:-1}const ac=t=>t[0]==="_"||t==="$stable",uo=t=>G(t)?t.map(Ge):[Ge(t)],nu=(t,e,n)=>{if(e._n)return e;const r=it((...o)=>uo(e(...o)),n);return r._c=!1,r},uc=(t,e,n)=>{const r=t._ctx;for(const o in t){if(ac(o))continue;const s=t[o];if(X(s))e[o]=nu(o,s,r);else if(s!=null){const c=uo(s);e[o]=()=>c}}},fc=(t,e)=>{const n=uo(e);t.slots.default=()=>n},ru=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=se(e),Bn(e,"_",n)):uc(e,t.slots={})}else t.slots={},e&&fc(t,e);Bn(t.slots,or,1)},ou=(t,e,n)=>{const{vnode:r,slots:o}=t;let s=!0,c=ue;if(r.shapeFlag&32){const i=e._;i?n&&i===1?s=!1:(ge(o,e),!n&&i===1&&delete o._):(s=!e.$stable,uc(e,o)),c=e}else e&&(fc(t,e),c={default:1});if(s)for(const i in o)!ac(i)&&!(i in c)&&delete o[i]};function fo(t,e,n,r,o=!1){if(G(t)){t.forEach((p,d)=>fo(p,e&&(G(e)?e[d]:e),n,r,o));return}if(un(r)&&!o)return;const s=r.shapeFlag&4?cr(r.component)||r.component.proxy:r.el,c=o?null:s,{i,r:l}=t,a=e&&e.r,u=i.refs===ue?i.refs={}:i.refs,f=i.setupState;if(a!=null&&a!==l&&(me(a)?(u[a]=null,oe(f,a)&&(f[a]=null)):ve(a)&&(a.value=null)),X(l))ct(l,i,12,[c,u]);else{const p=me(l),d=ve(l);if(p||d){const w=()=>{if(t.f){const _=p?oe(f,l)?f[l]:u[l]:l.value;o?G(_)&&Rr(_,s):G(_)?_.includes(s)||_.push(s):p?(u[l]=[s],oe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else p?(u[l]=c,oe(f,l)&&(f[l]=c)):d&&(l.value=c,t.k&&(u[t.k]=c))};c?(w.id=-1,qe(w,n)):w()}}}const qe=qa;function su(t){return cu(t)}function cu(t,e){const n=Or();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:c,createText:i,createComment:l,setText:a,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=Pe,insertStaticContent:w}=t,_=(h,g,b,k=null,x=null,L=null,F=!1,m=null,I=!!g.dynamicChildren)=>{if(h===g)return;h&&!vt(h,g)&&(k=Rt(h),ae(h,x,L,!0),h=null),g.patchFlag===-2&&(I=!1,g.dynamicChildren=null);const{type:y,ref:O,shapeFlag:B}=g;switch(y){case nr:M(h,g,b,k);break;case Ie:q(h,g,b,k);break;case po:h==null&&C(g,b,k,F);break;case Te:P(h,g,b,k,x,L,F,m,I);break;default:B&1?V(h,g,b,k,x,L,F,m,I):B&6?re(h,g,b,k,x,L,F,m,I):(B&64||B&128)&&y.process(h,g,b,k,x,L,F,m,I,nt)}O!=null&&x&&fo(O,h&&h.ref,L,g||h,!g)},M=(h,g,b,k)=>{if(h==null)r(g.el=i(g.children),b,k);else{const x=g.el=h.el;g.children!==h.children&&a(x,g.children)}},q=(h,g,b,k)=>{h==null?r(g.el=l(g.children||""),b,k):g.el=h.el},C=(h,g,b,k)=>{[h.el,h.anchor]=w(h.children,g,b,k,h.el,h.anchor)},N=({el:h,anchor:g},b,k)=>{let x;for(;h&&h!==g;)x=p(h),r(h,b,k),h=x;r(g,b,k)},A=({el:h,anchor:g})=>{let b;for(;h&&h!==g;)b=p(h),o(h),h=b;o(g)},V=(h,g,b,k,x,L,F,m,I)=>{F=F||g.type==="svg",h==null?R(g,b,k,x,L,F,m,I):Q(h,g,x,L,F,m,I)},R=(h,g,b,k,x,L,F,m)=>{let I,y;const{type:O,props:B,shapeFlag:$,transition:K,dirs:ee}=h;if(I=h.el=c(h.type,L,B&&B.is,B),$&8?u(I,h.children):$&16&&U(h.children,I,null,k,x,L&&O!=="foreignObject",F,m),ee&&bt(h,null,k,"created"),W(I,h,h.scopeId,F,k),B){for(const T in B)T!=="value"&&!In(T)&&s(I,T,null,B[T],L,h.children,k,x,be);"value"in B&&s(I,"value",null,B.value),(y=B.onVnodeBeforeMount)&&Ze(y,k,h)}ee&&bt(h,null,k,"beforeMount");const E=(!x||x&&!x.pendingBranch)&&K&&!K.persisted;E&&K.beforeEnter(I),r(I,g,b),((y=B&&B.onVnodeMounted)||E||ee)&&qe(()=>{y&&Ze(y,k,h),E&&K.enter(I),ee&&bt(h,null,k,"mounted")},x)},W=(h,g,b,k,x)=>{if(b&&d(h,b),k)for(let L=0;L<k.length;L++)d(h,k[L]);if(x){let L=x.subTree;if(g===L){const F=x.vnode;W(h,F,F.scopeId,F.slotScopeIds,x.parent)}}},U=(h,g,b,k,x,L,F,m,I=0)=>{for(let y=I;y<h.length;y++){const O=h[y]=m?at(h[y]):Ge(h[y]);_(null,O,g,b,k,x,L,F,m)}},Q=(h,g,b,k,x,L,F)=>{const m=g.el=h.el;let{patchFlag:I,dynamicChildren:y,dirs:O}=g;I|=h.patchFlag&16;const B=h.props||ue,$=g.props||ue;let K;b&&_t(b,!1),(K=$.onVnodeBeforeUpdate)&&Ze(K,b,g,h),O&&bt(g,h,b,"beforeUpdate"),b&&_t(b,!0);const ee=x&&g.type!=="foreignObject";if(y?z(h.dynamicChildren,y,m,b,k,ee,L):F||S(h,g,m,null,b,k,ee,L,!1),I>0){if(I&16)J(m,g,B,$,b,k,x);else if(I&2&&B.class!==$.class&&s(m,"class",null,$.class,x),I&4&&s(m,"style",B.style,$.style,x),I&8){const E=g.dynamicProps;for(let T=0;T<E.length;T++){const H=E[T],Y=B[H],pe=$[H];(pe!==Y||H==="value")&&s(m,H,Y,pe,x,h.children,b,k,be)}}I&1&&h.children!==g.children&&u(m,g.children)}else!F&&y==null&&J(m,g,B,$,b,k,x);((K=$.onVnodeUpdated)||O)&&qe(()=>{K&&Ze(K,b,g,h),O&&bt(g,h,b,"updated")},k)},z=(h,g,b,k,x,L,F)=>{for(let m=0;m<g.length;m++){const I=h[m],y=g[m],O=I.el&&(I.type===Te||!vt(I,y)||I.shapeFlag&70)?f(I.el):b;_(I,y,O,null,k,x,L,F,!0)}},J=(h,g,b,k,x,L,F)=>{if(b!==k){if(b!==ue)for(const m in b)!In(m)&&!(m in k)&&s(h,m,b[m],null,F,g.children,x,L,be);for(const m in k){if(In(m))continue;const I=k[m],y=b[m];I!==y&&m!=="value"&&s(h,m,y,I,F,g.children,x,L,be)}"value"in k&&s(h,"value",b.value,k.value)}},P=(h,g,b,k,x,L,F,m,I)=>{const y=g.el=h?h.el:i(""),O=g.anchor=h?h.anchor:i("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:K}=g;K&&(m=m?m.concat(K):K),h==null?(r(y,b,k),r(O,b,k),U(g.children,b,O,x,L,F,m,I)):B>0&&B&64&&$&&h.dynamicChildren?(z(h.dynamicChildren,$,b,x,L,F,m),(g.key!=null||x&&g===x.subTree)&&pc(h,g,!0)):S(h,g,b,O,x,L,F,m,I)},re=(h,g,b,k,x,L,F,m,I)=>{g.slotScopeIds=m,h==null?g.shapeFlag&512?x.ctx.activate(g,b,k,F,I):D(g,b,k,x,L,F,I):ne(h,g,I)},D=(h,g,b,k,x,L,F)=>{const m=h.component=gu(h,k,x);if(Xn(h)&&(m.ctx.renderer=nt),bu(m),m.asyncDep){if(x&&x.registerDep(m,j),!h.el){const I=m.subTree=de(Ie);q(null,I,g,b)}return}j(m,h,g,b,x,L,F)},ne=(h,g,b)=>{const k=g.component=h.component;if(Aa(h,g,b))if(k.asyncDep&&!k.asyncResolved){v(k,g,b);return}else k.next=g,xa(k.update),k.update();else g.el=h.el,k.vnode=g},j=(h,g,b,k,x,L,F)=>{const m=()=>{if(h.isMounted){let{next:O,bu:B,u:$,parent:K,vnode:ee}=h,E=O,T;_t(h,!1),O?(O.el=ee.el,v(h,O,F)):O=ee,B&&Fn(B),(T=O.props&&O.props.onVnodeBeforeUpdate)&&Ze(T,K,O,ee),_t(h,!0);const H=Xr(h),Y=h.subTree;h.subTree=H,_(Y,H,f(Y.el),Rt(Y),h,x,L),O.el=H.el,E===null&&Sa(h,H.el),$&&qe($,x),(T=O.props&&O.props.onVnodeUpdated)&&qe(()=>Ze(T,K,O,ee),x)}else{let O;const{el:B,props:$}=g,{bm:K,m:ee,parent:E}=h,T=un(g);if(_t(h,!1),K&&Fn(K),!T&&(O=$&&$.onVnodeBeforeMount)&&Ze(O,E,g),_t(h,!0),B&&Rn){const H=()=>{h.subTree=Xr(h),Rn(B,h.subTree,h,x,null)};T?g.type.__asyncLoader().then(()=>!h.isUnmounted&&H()):H()}else{const H=h.subTree=Xr(h);_(null,H,b,k,h,x,L),g.el=H.el}if(ee&&qe(ee,x),!T&&(O=$&&$.onVnodeMounted)){const H=g;qe(()=>Ze(O,E,H),x)}(g.shapeFlag&256||E&&un(E.vnode)&&E.vnode.shapeFlag&256)&&h.a&&qe(h.a,x),h.isMounted=!0,g=b=k=null}},I=h.effect=new zr(m,()=>Yr(y),h.scope),y=h.update=()=>I.run();y.id=h.uid,_t(h,!0),y()},v=(h,g,b)=>{g.component=h;const k=h.vnode.props;h.vnode=g,h.next=null,tu(h,g.props,k,b),ou(h,g.children,b),Ft(),Ms(),Bt()},S=(h,g,b,k,x,L,F,m,I=!1)=>{const y=h&&h.children,O=h?h.shapeFlag:0,B=g.children,{patchFlag:$,shapeFlag:K}=g;if($>0){if($&128){te(y,B,b,k,x,L,F,m,I);return}else if($&256){Z(y,B,b,k,x,L,F,m,I);return}}K&8?(O&16&&be(y,x,L),B!==y&&u(b,B)):O&16?K&16?te(y,B,b,k,x,L,F,m,I):be(y,x,L,!0):(O&8&&u(b,""),K&16&&U(B,b,k,x,L,F,m,I))},Z=(h,g,b,k,x,L,F,m,I)=>{h=h||Mt,g=g||Mt;const y=h.length,O=g.length,B=Math.min(y,O);let $;for($=0;$<B;$++){const K=g[$]=I?at(g[$]):Ge(g[$]);_(h[$],K,b,null,x,L,F,m,I)}y>O?be(h,x,L,!0,!1,B):U(g,b,k,x,L,F,m,I,B)},te=(h,g,b,k,x,L,F,m,I)=>{let y=0;const O=g.length;let B=h.length-1,$=O-1;for(;y<=B&&y<=$;){const K=h[y],ee=g[y]=I?at(g[y]):Ge(g[y]);if(vt(K,ee))_(K,ee,b,null,x,L,F,m,I);else break;y++}for(;y<=B&&y<=$;){const K=h[B],ee=g[$]=I?at(g[$]):Ge(g[$]);if(vt(K,ee))_(K,ee,b,null,x,L,F,m,I);else break;B--,$--}if(y>B){if(y<=$){const K=$+1,ee=K<O?g[K].el:k;for(;y<=$;)_(null,g[y]=I?at(g[y]):Ge(g[y]),b,ee,x,L,F,m,I),y++}}else if(y>$)for(;y<=B;)ae(h[y],x,L,!0),y++;else{const K=y,ee=y,E=new Map;for(y=ee;y<=$;y++){const Le=g[y]=I?at(g[y]):Ge(g[y]);Le.key!=null&&E.set(Le.key,y)}let T,H=0;const Y=$-ee+1;let pe=!1,Be=0;const Lt=new Array(Y);for(y=0;y<Y;y++)Lt[y]=0;for(y=K;y<=B;y++){const Le=h[y];if(H>=Y){ae(Le,x,L,!0);continue}let Xe;if(Le.key!=null)Xe=E.get(Le.key);else for(T=ee;T<=$;T++)if(Lt[T-ee]===0&&vt(Le,g[T])){Xe=T;break}Xe===void 0?ae(Le,x,L,!0):(Lt[Xe-ee]=y+1,Xe>=Be?Be=Xe:pe=!0,_(Le,g[Xe],b,null,x,L,F,m,I),H++)}const Dr=pe?iu(Lt):Mt;for(T=Dr.length-1,y=Y-1;y>=0;y--){const Le=ee+y,Xe=g[Le],xl=Le+1<O?g[Le+1].el:k;Lt[y]===0?_(null,Xe,b,xl,x,L,F,m,I):pe&&(T<0||y!==Dr[T]?ie(Xe,b,xl,2):T--)}}},ie=(h,g,b,k,x=null)=>{const{el:L,type:F,transition:m,children:I,shapeFlag:y}=h;if(y&6){ie(h.component.subTree,g,b,k);return}if(y&128){h.suspense.move(g,b,k);return}if(y&64){F.move(h,g,b,nt);return}if(F===Te){r(L,g,b);for(let B=0;B<I.length;B++)ie(I[B],g,b,k);r(h.anchor,g,b);return}if(F===po){N(h,g,b);return}if(k!==2&&y&1&&m)if(k===0)m.beforeEnter(L),r(L,g,b),qe(()=>m.enter(L),x);else{const{leave:B,delayLeave:$,afterLeave:K}=m,ee=()=>r(L,g,b),E=()=>{B(L,()=>{ee(),K&&K()})};$?$(L,ee,E):E()}else r(L,g,b)},ae=(h,g,b,k=!1,x=!1)=>{const{type:L,props:F,ref:m,children:I,dynamicChildren:y,shapeFlag:O,patchFlag:B,dirs:$}=h;if(m!=null&&fo(m,null,b,h,!0),O&256){g.ctx.deactivate(h);return}const K=O&1&&$,ee=!un(h);let E;if(ee&&(E=F&&F.onVnodeBeforeUnmount)&&Ze(E,g,h),O&6)Se(h.component,b,k);else{if(O&128){h.suspense.unmount(b,k);return}K&&bt(h,null,g,"beforeUnmount"),O&64?h.type.remove(h,g,b,x,nt,k):y&&(L!==Te||B>0&&B&64)?be(y,g,b,!1,!0):(L===Te&&B&384||!x&&O&16)&&be(I,g,b),k&&Re(h)}(ee&&(E=F&&F.onVnodeUnmounted)||K)&&qe(()=>{E&&Ze(E,g,h),K&&bt(h,null,g,"unmounted")},b)},Re=h=>{const{type:g,el:b,anchor:k,transition:x}=h;if(g===Te){nn(b,k);return}if(g===po){A(h);return}const L=()=>{o(b),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:F,delayLeave:m}=x,I=()=>F(b,L);m?m(h.el,L,I):I()}else L()},nn=(h,g)=>{let b;for(;h!==g;)b=p(h),o(h),h=b;o(g)},Se=(h,g,b)=>{const{bum:k,scope:x,update:L,subTree:F,um:m}=h;k&&Fn(k),x.stop(),L&&(L.active=!1,ae(F,h,g,b)),m&&qe(m,g),qe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},be=(h,g,b,k=!1,x=!1,L=0)=>{for(let F=L;F<h.length;F++)ae(h[F],g,b,k,x)},Rt=h=>h.shapeFlag&6?Rt(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el),qn=(h,g,b)=>{h==null?g._vnode&&ae(g._vnode,null,null,!0):_(g._vnode||null,h,g,null,null,null,b),Ms(),Is(),g._vnode=h},nt={p:_,um:ae,m:ie,r:Re,mt:D,mc:U,pc:S,pbc:z,n:Rt,o:t};let Tn,Rn;return e&&([Tn,Rn]=e(nt)),{render:qn,hydrate:Tn,createApp:Xa(qn,Tn)}}function _t({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function pc(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]=at(o[s]),i.el=c.el),n||pc(c,i)),i.type===nr&&(i.el=c.el)}}function iu(t){const e=t.slice(),n=[0];let r,o,s,c,i;const l=t.length;for(r=0;r<l;r++){const a=t[r];if(a!==0){if(o=n[n.length-1],t[o]<a){e[r]=o,n.push(r);continue}for(s=0,c=n.length-1;s<c;)i=s+c>>1,t[n[i]]<a?s=i+1:c=i;a<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 lu=t=>t.__isTeleport,Te=Symbol.for("v-fgt"),nr=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),gn=[];let He=null;function ce(t=!1){gn.push(He=t?null:[])}function au(){gn.pop(),He=gn[gn.length-1]||null}let mn=1;function hc(t){mn+=t}function dc(t){return t.dynamicChildren=mn>0?He||Mt:null,au(),mn>0&&He&&He.push(t),t}function _e(t,e,n,r,o,s){return dc(Ee(t,e,n,r,o,s,!0))}function Ae(t,e,n,r,o){return dc(de(t,e,n,r,o,!0))}function rr(t){return t?t.__v_isVNode===!0:!1}function vt(t,e){return t.type===e.type&&t.key===e.key}const or="__vInternal",gc=({key:t})=>t??null,sr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||ve(t)||X(t)?{i:ke,r:t,k:e,f:!!n}:t:null);function Ee(t,e=null,n=null,r=0,o=null,s=t===Te?0:1,c=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&gc(e),ref:e&&sr(e),scopeId:Bs,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:ke};return i?(go(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=me(n)?8:16),mn>0&&!c&&He&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&He.push(l),l}const de=uu;function uu(t,e=null,n=null,r=0,o=null,s=!1){if((!t||t===Ha)&&(t=Ie),rr(t)){const i=lt(t,e,!0);return n&&go(i,n),mn>0&&!s&&He&&(i.shapeFlag&6?He[He.indexOf(t)]=i:He.push(i)),i.patchFlag|=-2,i}if(yu(t)&&(t=t.__vccOpts),e){e=fu(e);let{class:i,style:l}=e;i&&!me(i)&&(e.class=on(i)),fe(l)&&(Ss(l)&&!G(l)&&(l=ge({},l)),e.style=Fr(l))}const c=me(t)?1:Da(t)?128:lu(t)?64:fe(t)?4:X(t)?2:0;return Ee(t,e,n,r,o,c,s,!0)}function fu(t){return t?Ss(t)||or in t?ge({},t):t:null}function lt(t,e,n=!1){const{props:r,ref:o,patchFlag:s,children:c}=t,i=e?pu(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&gc(i),ref:e&&e.ref?n&&o?G(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?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&&lt(t.ssContent),ssFallback:t.ssFallback&&lt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ho(t=" ",e=0){return de(nr,null,t,e)}function bn(t="",e=!1){return e?(ce(),Ae(Ie,null,t)):de(Ie,null,t)}function Ge(t){return t==null||typeof t=="boolean"?de(Ie):G(t)?de(Te,null,t.slice()):typeof t=="object"?at(t):de(nr,null,String(t))}function at(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:lt(t)}function go(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),go(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(or in e)?e._ctx=ke:o===3&&ke&&(ke.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else X(e)?(e={default:e,_ctx:ke},n=32):(e=String(e),r&64?(n=16,e=[ho(e)]):n=8);t.children=e,t.shapeFlag|=n}function pu(...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=on([e.class,r.class]));else if(o==="style")e.style=Fr([e.style,r.style]);else if(Nn(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 Ze(t,e,n,r=null){Ne(t,e,7,[n,r])}const hu=nc();let du=0;function gu(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||hu,s={uid:du++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nl(!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:oc(r,o),emitsOptions:Fs(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 s.ctx={_:s},s.root=e?e.root:s,s.emit=ka.bind(null,s),t.ce&&t.ce(s),s}let xe=null;const mu=()=>xe||ke;let mo,jt,mc="__VUE_INSTANCE_SETTERS__";(jt=Or()[mc])||(jt=Or()[mc]=[]),jt.push(t=>xe=t),mo=t=>{jt.length>1?jt.forEach(e=>e(t)):jt[0](t)};const Gt=t=>{mo(t),t.scope.on()},xt=()=>{xe&&xe.scope.off(),mo(null)};function bc(t){return t.vnode.shapeFlag&4}let _n=!1;function bu(t,e=!1){_n=e;const{props:n,children:r}=t.vnode,o=bc(t);eu(t,n,o,e),ru(t,r);const s=o?_u(t,e):void 0;return _n=!1,s}function _u(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Ds(new Proxy(t.ctx,ja));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?xu(t):null;Gt(t),Ft();const s=ct(r,t,0,[t.props,o]);if(Bt(),xt(),ns(s)){if(s.then(xt,xt),e)return s.then(c=>{_c(t,c,e)}).catch(c=>{Kn(c,t,0)});t.asyncDep=s}else _c(t,s,e)}else xc(t,e)}function _c(t,e,n){X(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:fe(e)&&(t.setupState=Rs(e)),xc(t,n)}let vc;function xc(t,e,n){const r=t.type;if(!t.render){if(!e&&vc&&!r.render){const o=r.template||io(t).template;if(o){const{isCustomElement:s,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:l}=r,a=ge(ge({isCustomElement:s,delimiters:i},c),l);r.render=vc(o,a)}}t.render=r.render||Pe}Gt(t),Ft(),Ga(t),Bt(),xt()}function vu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return De(t,"get","$attrs"),e[n]}}))}function xu(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return vu(t)},slots:t.slots,emit:t.emit,expose:e}}function cr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Rs(Ds(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in hn)return hn[n](t)},has(e,n){return n in e||n in hn}}))}function yu(t){return X(t)&&"__vccOpts"in t}const Zt=(t,e)=>ba(t,e,_n);function yc(t,e,n){const r=arguments.length;return r===2?fe(e)&&!G(e)?rr(e)?de(t,null,[e]):de(t,e):de(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),de(t,e,n))}const wu=Symbol.for("v-scx"),ku=()=>Vt(wu),Eu="3.3.4",Cu="http://www.w3.org/2000/svg",yt=typeof document<"u"?document:null,wc=yt&&yt.createElement("template"),Au={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?yt.createElementNS(Cu,t):yt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>yt.createTextNode(t),createComment:t=>yt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>yt.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{wc.innerHTML=r?`<svg>${t}</svg>`:t;const i=wc.content;if(r){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}e.insertBefore(i,n)}return[c?c.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Su(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 Du(t,e,n){const r=t.style,o=me(n);if(n&&!o){if(e&&!me(e))for(const s in e)n[s]==null&&bo(r,s,"");for(const s in n)bo(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 kc=/\s*!important$/;function bo(t,e,n){if(G(n))n.forEach(r=>bo(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=qu(t,e);kc.test(n)?t.setProperty(ht(r),n.replace(kc,""),"important"):t[r]=n}}const Ec=["Webkit","Moz","ms"],_o={};function qu(t,e){const n=_o[e];if(n)return n;let r=Ot(e);if(r!=="filter"&&r in t)return _o[e]=r;r=ss(r);for(let o=0;o<Ec.length;o++){const s=Ec[o]+r;if(s in t)return _o[e]=s}return e}const Cc="http://www.w3.org/1999/xlink";function Tu(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Cc,e.slice(6,e.length)):t.setAttributeNS(Cc,e,n);else{const s=Ll(e);n==null||s&&!is(n)?t.removeAttribute(e):t.setAttribute(e,s?"":n)}}function Ru(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 a=i==="OPTION"?t.getAttribute("value"):t.value,u=n??"";a!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=is(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function Kt(t,e,n,r){t.addEventListener(e,n,r)}function Lu(t,e,n,r){t.removeEventListener(e,n,r)}function Nu(t,e,n,r,o=null){const s=t._vei||(t._vei={}),c=s[e];if(r&&c)c.value=r;else{const[i,l]=Mu(e);if(r){const a=s[e]=Fu(r,o);Kt(t,i,a,l)}else c&&(Lu(t,i,c,l),s[e]=void 0)}}const Ac=/(?:Once|Passive|Capture)$/;function Mu(t){let e;if(Ac.test(t)){e={};let r;for(;r=t.match(Ac);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ht(t.slice(2)),e]}let vo=0;const Iu=Promise.resolve(),Ou=()=>vo||(Iu.then(()=>vo=0),vo=Date.now());function Fu(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ne(Bu(r,n.value),e,5,[r])};return n.value=t,n.attached=Ou(),n}function Bu(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 Sc=/^on[a-z]/,Pu=(t,e,n,r,o=!1,s,c,i,l)=>{e==="class"?Su(t,r,o):e==="style"?Du(t,n,r):Nn(e)?Tr(e)||Nu(t,e,n,r,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Uu(t,e,r,o))?Ru(t,e,r,s,c,i,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Tu(t,e,r,o))};function Uu(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&Sc.test(e)&&X(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Sc.test(e)&&me(n)?!1:e in t}const ut="transition",vn="animation",ir=(t,{slots:e})=>yc(La,zu(t),e);ir.displayName="Transition";const Dc={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};ir.props=ge({},Hs,Dc);const wt=(t,e=[])=>{G(t)?t.forEach(n=>n(...e)):t&&t(...e)},qc=t=>t?G(t)?t.some(e=>e.length>1):t.length>1:!1;function zu(t){const e={};for(const P in t)P in Dc||(e[P]=t[P]);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:l=s,appearActiveClass:a=c,appearToClass:u=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,w=$u(o),_=w&&w[0],M=w&&w[1],{onBeforeEnter:q,onEnter:C,onEnterCancelled:N,onLeave:A,onLeaveCancelled:V,onBeforeAppear:R=q,onAppear:W=C,onAppearCancelled:U=N}=e,Q=(P,re,D)=>{kt(P,re?u:i),kt(P,re?a:c),D&&D()},z=(P,re)=>{P._isLeaving=!1,kt(P,f),kt(P,d),kt(P,p),re&&re()},J=P=>(re,D)=>{const ne=P?W:C,j=()=>Q(re,P,D);wt(ne,[re,j]),Tc(()=>{kt(re,P?l:s),ft(re,P?u:i),qc(ne)||Rc(re,r,_,j)})};return ge(e,{onBeforeEnter(P){wt(q,[P]),ft(P,s),ft(P,c)},onBeforeAppear(P){wt(R,[P]),ft(P,l),ft(P,a)},onEnter:J(!1),onAppear:J(!0),onLeave(P,re){P._isLeaving=!0;const D=()=>z(P,re);ft(P,f),ju(),ft(P,p),Tc(()=>{P._isLeaving&&(kt(P,f),ft(P,d),qc(A)||Rc(P,r,M,D))}),wt(A,[P,D])},onEnterCancelled(P){Q(P,!1),wt(N,[P])},onAppearCancelled(P){Q(P,!0),wt(U,[P])},onLeaveCancelled(P){z(P),wt(V,[P])}})}function $u(t){if(t==null)return null;if(fe(t))return[xo(t.enter),xo(t.leave)];{const e=xo(t);return[e,e]}}function xo(t){return Sl(t)}function ft(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function kt(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 Tc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Hu=0;function Rc(t,e,n,r){const o=t._endId=++Hu,s=()=>{o===t._endId&&r()};if(n)return setTimeout(s,n);const{type:c,timeout:i,propCount:l}=Vu(t,e);if(!c)return r();const a=c+"end";let u=0;const f=()=>{t.removeEventListener(a,p),s()},p=d=>{d.target===t&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},i+1),t.addEventListener(a,p)}function Vu(t,e){const n=window.getComputedStyle(t),r=w=>(n[w]||"").split(", "),o=r(`${ut}Delay`),s=r(`${ut}Duration`),c=Lc(o,s),i=r(`${vn}Delay`),l=r(`${vn}Duration`),a=Lc(i,l);let u=null,f=0,p=0;e===ut?c>0&&(u=ut,f=c,p=s.length):e===vn?a>0&&(u=vn,f=a,p=l.length):(f=Math.max(c,a),u=f>0?c>a?ut:vn:null,p=u?u===ut?s.length:l.length:0);const d=u===ut&&/\b(transform|all)(,|$)/.test(r(`${ut}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function Lc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Nc(n)+Nc(t[r])))}function Nc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function ju(){return document.body.offsetHeight}const Mc=t=>{const e=t.props["onUpdate:modelValue"]||!1;return G(e)?n=>Fn(e,n):e};function Gu(t){t.target.composing=!0}function Ic(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Zu={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t._assign=Mc(o);const s=r||o.props&&o.props.type==="number";Kt(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),s&&(i=Ir(i)),t._assign(i)}),n&&Kt(t,"change",()=>{t.value=t.value.trim()}),e||(Kt(t,"compositionstart",Gu),Kt(t,"compositionend",Ic),Kt(t,"change",Ic))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:o}},s){if(t._assign=Mc(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(o||t.type==="number")&&Ir(t.value)===e))return;const c=e??"";t.value!==c&&(t.value=c)}},Ku={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Wu=(t,e)=>n=>{if(!("key"in n))return;const r=ht(n.key);if(e.some(o=>o===r||Ku[o]===r))return t(n)},Ju={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):xn(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),xn(t,!0),r.enter(t)):r.leave(t,()=>{xn(t,!1)}):xn(t,e))},beforeUnmount(t,{value:e}){xn(t,e)}};function xn(t,e){t.style.display=e?t._vod:"none"}const Yu=ge({patchProp:Pu},Au);let Oc;function Xu(){return Oc||(Oc=su(Yu))}const Qu=(...t)=>{const e=Xu().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=ef(r);if(!o)return;const s=e._component;!X(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 ef(t){return me(t)?document.querySelector(t):t}const jg="",Fc=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},tf={},nf={class:"chat-button"};function rf(t,e){return ce(),_e("button",nf,[pn(t.$slots,"default")])}const of=Fc(tf,[["render",rf]]);function sf(){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 cf(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 Et=sf(),lf={class:"chat-layout"},af={key:0,class:"chat-header"},uf={key:2,class:"chat-footer"},ff=$e({__name:"Layout",setup(t){const e=zt(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return fn(()=>{Et.on("scrollToBottom",n),window.addEventListener("resize",n)}),ro(()=>{Et.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,o)=>(ce(),_e("main",lf,[r.$slots.header?(ce(),_e("div",af,[pn(r.$slots,"header")])):bn("",!0),r.$slots.default?(ce(),_e("div",{key:1,class:"chat-body",ref_key:"chatBodyRef",ref:e},[pn(r.$slots,"default")],512)):bn("",!0),r.$slots.footer?(ce(),_e("div",uf,[pn(r.$slots,"footer")])):bn("",!0)]))}}),Gg="",yn={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:{}},pf="#n8n-chat",Bc="n8n-chat/sessionId",Pc="Chat",Uc="ChatOptions";function yo(){return Vt(Pc)}function wo(){return{options:Vt(Uc)}}function lr(){const{options:t}=wo(),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 hf={class:"chat-get-started"},df=$e({__name:"GetStarted",setup(t){const{t:e}=lr();return(n,r)=>(ce(),_e("div",hf,[de(of,{onClick:r[0]||(r[0]=o=>n.$emit("click:button"))},{default:it(()=>[ho(Pn(he(e)("getStarted")),1)]),_:1})]))}}),Kg="",Wg="",gf={},mf={class:"chat-powered-by"},bf=Ee("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1);function _f(t,e){return ce(),_e("div",mf,[ho(" Powered by "),bf])}const vf=Fc(gf,[["render",_f]]),xf={class:"chat-get-started-footer"},yf={key:0},wf=$e({__name:"GetStartedFooter",setup(t){wo();const{t:e,te:n}=lr();return(r,o)=>(ce(),_e("div",xf,[he(n)("footer")?(ce(),_e("div",yf,Pn(he(e)("footer")),1)):bn("",!0),de(vf)]))}}),Jg="";function zc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function kf(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 le={},$c={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:`
2
+ `,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:"‌"},ko=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Wt={},Hc={};function Ef(t){var e,n,r=Hc[t];if(r)return r;for(r=Hc[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 ar(t,e,n){var r,o,s,c,i,l="";for(typeof e!="string"&&(n=e,e=ar.defaultChars),typeof n>"u"&&(n=!0),i=Ef(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))){l+=t.slice(r,r+3),r+=2;continue}if(s<128){l+=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)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[r])}return l}ar.defaultChars=";/?:@&=+$,-_.!~*'()#",ar.componentChars="-_.!~*'()";var Cf=ar,Vc={};function Af(t){var e,n,r=Vc[t];if(r)return r;for(r=Vc[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 ur(t,e){var n;return typeof e!="string"&&(e=ur.defaultChars),n=Af(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var o,s,c,i,l,a,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),l=parseInt(r.slice(o+7,o+9),16),(i&192)===128&&(l&192)===128)){u=c<<12&61440|i<<6&4032|l&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),l=parseInt(r.slice(o+7,o+9),16),a=parseInt(r.slice(o+10,o+12),16),(i&192)===128&&(l&192)===128&&(a&192)===128)){u=c<<18&1835008|i<<12&258048|l<<6&4032|a&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}ur.defaultChars=";/?:@&=+$,#",ur.componentChars="";var Sf=ur,Df=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 fr(){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 qf=/^([a-z0-9.+-]+:)/i,Tf=/:[0-9]*$/,Rf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Lf=["<",">",'"',"`"," ","\r",`
3
+ `," "],Nf=["{","}","|","\\","^","`"].concat(Lf),Mf=["'"].concat(Nf),jc=["%","/","?",";","#"].concat(Mf),Gc=["/","?","#"],If=255,Zc=/^[+a-z0-9A-Z_-]{0,63}$/,Of=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Kc={javascript:!0,"javascript:":!0},Wc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ff(t,e){if(t&&t instanceof fr)return t;var n=new fr;return n.parse(t,e),n}fr.prototype.parse=function(t,e){var n,r,o,s,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var l=Rf.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var a=qf.exec(i);if(a&&(a=a[0],o=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(e||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(a&&Kc[a])&&(i=i.substr(2),this.slashes=!0)),!Kc[a]&&(c||a&&!Wc[a])){var u=-1;for(n=0;n<Gc.length;n++)s=i.indexOf(Gc[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<jc.length;n++)s=i.indexOf(jc[n]),s!==-1&&(u===-1||s<u)&&(u=s);u===-1&&(u=i.length),i[u-1]===":"&&u--;var d=i.slice(0,u);i=i.slice(u),this.parseHost(d),this.hostname=this.hostname||"";var w=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!w){var _=this.hostname.split(/\./);for(n=0,r=_.length;n<r;n++){var M=_[n];if(M&&!M.match(Zc)){for(var q="",C=0,N=M.length;C<N;C++)M.charCodeAt(C)>127?q+="x":q+=M[C];if(!q.match(Zc)){var A=_.slice(0,n),V=_.slice(n+1),R=M.match(Of);R&&(A.push(R[1]),V.unshift(R[2])),V.length&&(i=V.join(".")+i),this.hostname=A.join(".");break}}}}this.hostname.length>If&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var W=i.indexOf("#");W!==-1&&(this.hash=i.substr(W),i=i.slice(0,W));var U=i.indexOf("?");return U!==-1&&(this.search=i.substr(U),i=i.slice(0,U)),i&&(this.pathname=i),Wc[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},fr.prototype.parseHost=function(t){var e=Tf.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 Bf=Ff;Wt.encode=Cf,Wt.decode=Sf,Wt.format=Df,Wt.parse=Bf;var Ct={},Eo,Jc;function Yc(){return Jc||(Jc=1,Eo=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Eo}var Co,Xc;function Qc(){return Xc||(Xc=1,Co=/[\0-\x1F\x7F-\x9F]/),Co}var Ao,ei;function Pf(){return ei||(ei=1,Ao=/[\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]/),Ao}var So,ti;function ni(){return ti||(ti=1,So=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),So}var ri;function Uf(){return ri||(ri=1,Ct.Any=Yc(),Ct.Cc=Qc(),Ct.Cf=Pf(),Ct.P=ko,Ct.Z=ni()),Ct}(function(t){function e(D){return Object.prototype.toString.call(D)}function n(D){return e(D)==="[object String]"}var r=Object.prototype.hasOwnProperty;function o(D,ne){return r.call(D,ne)}function s(D){var ne=Array.prototype.slice.call(arguments,1);return ne.forEach(function(j){if(j){if(typeof j!="object")throw new TypeError(j+"must be object");Object.keys(j).forEach(function(v){D[v]=j[v]})}}),D}function c(D,ne,j){return[].concat(D.slice(0,ne),j,D.slice(ne+1))}function i(D){return!(D>=55296&&D<=57343||D>=64976&&D<=65007||(D&65535)===65535||(D&65535)===65534||D>=0&&D<=8||D===11||D>=14&&D<=31||D>=127&&D<=159||D>1114111)}function l(D){if(D>65535){D-=65536;var ne=55296+(D>>10),j=56320+(D&1023);return String.fromCharCode(ne,j)}return String.fromCharCode(D)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(a.source+"|"+u.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,d=$c;function w(D,ne){var j=0;return o(d,ne)?d[ne]:ne.charCodeAt(0)===35&&p.test(ne)&&(j=ne[1].toLowerCase()==="x"?parseInt(ne.slice(2),16):parseInt(ne.slice(1),10),i(j))?l(j):D}function _(D){return D.indexOf("\\")<0?D:D.replace(a,"$1")}function M(D){return D.indexOf("\\")<0&&D.indexOf("&")<0?D:D.replace(f,function(ne,j,v){return j||w(ne,v)})}var q=/[&<>"]/,C=/[&<>"]/g,N={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A(D){return N[D]}function V(D){return q.test(D)?D.replace(C,A):D}var R=/[.?*+^$[\]\\(){}|-]/g;function W(D){return D.replace(R,"\\$&")}function U(D){switch(D){case 9:case 32:return!0}return!1}function Q(D){if(D>=8192&&D<=8202)return!0;switch(D){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 z=ko;function J(D){return z.test(D)}function P(D){switch(D){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 re(D){return D=D.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(D=D.replace(/ẞ/g,"ß")),D.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Wt,t.lib.ucmicro=Uf(),t.assign=s,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=M,t.isValidEntityCode=i,t.fromCodePoint=l,t.escapeHtml=V,t.arrayReplaceAt=c,t.isSpace=U,t.isWhiteSpace=Q,t.isMdAsciiPunct=P,t.isPunctChar=J,t.escapeRE=W,t.normalizeReference=re})(le);var pr={},zf=function(e,n,r){var o,s,c,i,l=-1,a=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos<a;){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&&(l=e.pos),e.pos=u,l},oi=le.unescapeAll,$f=function(e,n,r){var o,s,c=0,i=n,l={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 l;if(o===62)return l.pos=n+1,l.str=oi(e.slice(i+1,n)),l.ok=!0,l;if(o===92&&n+1<r){n+=2;continue}n++}return l}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 l;if(o===41){if(s===0)break;s--}n++}return i===n||s!==0||(l.str=oi(e.slice(i,n)),l.lines=c,l.pos=n,l.ok=!0),l},Hf=le.unescapeAll,Vf=function(e,n,r){var o,s,c=0,i=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=r||(s=e.charCodeAt(n),s!==34&&s!==39&&s!==40))return l;for(n++,s===40&&(s=41);n<r;){if(o=e.charCodeAt(n),o===s)return l.pos=n+1,l.lines=c,l.str=Hf(e.slice(i+1,n)),l.ok=!0,l;if(o===40&&s===41)return l;o===10?c++:o===92&&n+1<r&&(n++,e.charCodeAt(n)===10&&c++),n++}return l};pr.parseLinkLabel=zf,pr.parseLinkDestination=$f,pr.parseLinkTitle=Vf;var jf=le.assign,Gf=le.unescapeAll,At=le.escapeHtml,Ke={};Ke.code_inline=function(t,e,n,r,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+At(t[e].content)+"</code>"},Ke.code_block=function(t,e,n,r,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+At(t[e].content)+`</code></pre>
4
+ `},Ke.fence=function(t,e,n,r,o){var s=t[e],c=s.info?Gf(s.info).trim():"",i="",l="",a,u,f,p,d;return c&&(f=c.split(/(\s+)/g),i=f[0],l=f.slice(2).join("")),n.highlight?a=n.highlight(s.content,i,l)||At(s.content):a=At(s.content),a.indexOf("<pre")===0?a+`
5
+ `: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),d={attrs:p},"<pre><code"+o.renderAttrs(d)+">"+a+`</code></pre>
6
+ `):"<pre><code"+o.renderAttrs(s)+">"+a+`</code></pre>
7
+ `},Ke.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)},Ke.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
14
8
  `:`<br>
15
- `},Qe.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
9
+ `},Ke.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
16
10
  `:`<br>
17
11
  `:`
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+=`
12
+ `},Ke.text=function(t,e){return At(t[e].content)},Ke.html_block=function(t,e){return t[e].content},Ke.html_inline=function(t,e){return t[e].content};function Jt(){this.rules=jf({},Ke)}Jt.prototype.renderAttrs=function(e){var n,r,o;if(!e.attrs)return"";for(o="",n=0,r=e.attrs.length;n<r;n++)o+=" "+At(e.attrs[n][0])+'="'+At(e.attrs[n][1])+'"';return o},Jt.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
13
  `),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"})});
14
+ `:">",s)},Jt.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},Jt.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+=`
15
+ `);return r},Jt.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 Zf=Jt;function Ve(){this.__rules__=[],this.__cache__=null}Ve.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Ve.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))})})},Ve.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},Ve.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},Ve.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},Ve.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Ve.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},Ve.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)},Ve.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},Ve.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Do=Ve,Kf=/\r\n?|\n/g,Wf=/\0/g,Jf=function(e){var n;n=e.src.replace(Kf,`
16
+ `),n=n.replace(Wf,"�"),e.src=n},Yf=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)},Xf=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)},Qf=le.arrayReplaceAt;function ep(t){return/^<a[>\s]/i.test(t)}function tp(t){return/^<\/a\s*>/i.test(t)}var np=function(e){var n,r,o,s,c,i,l,a,u,f,p,d,w,_,M,q,C=e.tokens,N;if(e.md.options.linkify){for(r=0,o=C.length;r<o;r++)if(!(C[r].type!=="inline"||!e.md.linkify.pretest(C[r].content)))for(s=C[r].children,w=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"&&(ep(i.content)&&w>0&&w--,tp(i.content)&&w++),!(w>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,N=e.md.linkify.match(u),l=[],d=i.level,p=0,a=0;a<N.length;a++)_=N[a].url,M=e.md.normalizeLink(_),e.md.validateLink(M)&&(q=N[a].text,N[a].schema?N[a].schema==="mailto:"&&!/^mailto:/i.test(q)?q=e.md.normalizeLinkText("mailto:"+q).replace(/^mailto:/,""):q=e.md.normalizeLinkText(q):q=e.md.normalizeLinkText("http://"+q).replace(/^http:\/\//,""),f=N[a].index,f>p&&(c=new e.Token("text","",0),c.content=u.slice(p,f),c.level=d,l.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",M]],c.level=d++,c.markup="linkify",c.info="auto",l.push(c),c=new e.Token("text","",0),c.content=q,c.level=d,l.push(c),c=new e.Token("link_close","a",-1),c.level=--d,c.markup="linkify",c.info="auto",l.push(c),p=N[a].lastIndex);p<u.length&&(c=new e.Token("text","",0),c.content=u.slice(p),c.level=d,l.push(c)),C[r].children=s=Qf(s,n,l)}}}},si=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,rp=/\((c|tm|r|p)\)/i,op=/\((c|tm|r|p)\)/ig,sp={c:"©",r:"®",p:"§",tm:"™"};function cp(t,e){return sp[e.toLowerCase()]}function ip(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(op,cp)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function lp(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&si.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 ap=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(rp.test(e.tokens[n].content)&&ip(e.tokens[n].children),si.test(e.tokens[n].content)&&lp(e.tokens[n].children))},ci=le.isWhiteSpace,ii=le.isPunctChar,li=le.isMdAsciiPunct,up=/['"]/,ai=/['"]/g,ui="’";function hr(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function fp(t,e){var n,r,o,s,c,i,l,a,u,f,p,d,w,_,M,q,C,N,A,V,R;for(A=[],n=0;n<t.length;n++){for(r=t[n],l=t[n].level,C=A.length-1;C>=0&&!(A[C].level<=l);C--);if(A.length=C+1,r.type==="text"){o=r.content,c=0,i=o.length;e:for(;c<i&&(ai.lastIndex=c,s=ai.exec(o),!!s);){if(M=q=!0,c=s.index+1,N=s[0]==="'",u=32,s.index-1>=0)u=o.charCodeAt(s.index-1);else for(C=n-1;C>=0&&!(t[C].type==="softbreak"||t[C].type==="hardbreak");C--)if(t[C].content){u=t[C].content.charCodeAt(t[C].content.length-1);break}if(f=32,c<i)f=o.charCodeAt(c);else for(C=n+1;C<t.length&&!(t[C].type==="softbreak"||t[C].type==="hardbreak");C++)if(t[C].content){f=t[C].content.charCodeAt(0);break}if(p=li(u)||ii(String.fromCharCode(u)),d=li(f)||ii(String.fromCharCode(f)),w=ci(u),_=ci(f),_?M=!1:d&&(w||p||(M=!1)),w?q=!1:p&&(_||d||(q=!1)),f===34&&s[0]==='"'&&u>=48&&u<=57&&(q=M=!1),M&&q&&(M=p,q=d),!M&&!q){N&&(r.content=hr(r.content,s.index,ui));continue}if(q){for(C=A.length-1;C>=0&&(a=A[C],!(A[C].level<l));C--)if(a.single===N&&A[C].level===l){a=A[C],N?(V=e.md.options.quotes[2],R=e.md.options.quotes[3]):(V=e.md.options.quotes[0],R=e.md.options.quotes[1]),r.content=hr(r.content,s.index,R),t[a.token].content=hr(t[a.token].content,a.pos,V),c+=R.length-1,a.token===n&&(c+=V.length-1),o=r.content,i=o.length,A.length=C;continue e}}M?A.push({token:n,pos:s.index,single:N,level:l}):q&&N&&(r.content=hr(r.content,s.index,ui))}}}}var pp=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!up.test(e.tokens[n].content)||fp(e.tokens[n].children,e)};function Yt(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}Yt.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},Yt.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Yt.prototype.attrSet=function(e,n){var r=this.attrIndex(e),o=[e,n];r<0?this.attrPush(o):this.attrs[r]=o},Yt.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r},Yt.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 qo=Yt,hp=qo;function fi(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}fi.prototype.Token=hp;var dp=fi,gp=Do,To=[["normalize",Jf],["block",Yf],["inline",Xf],["linkify",np],["replacements",ap],["smartquotes",pp]];function Ro(){this.ruler=new gp;for(var t=0;t<To.length;t++)this.ruler.push(To[t][0],To[t][1])}Ro.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},Ro.prototype.State=dp;var mp=Ro,Lo=le.isSpace;function No(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.substr(n,r-n)}function pi(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 bp=function(e,n,r,o){var s,c,i,l,a,u,f,p,d,w,_,M,q,C,N,A,V,R;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])||(V=e.src.charCodeAt(i++),V!==124&&V!==45&&V!==58)||i>=e.eMarks[u]||(R=e.src.charCodeAt(i++),R!==124&&R!==45&&R!==58&&!Lo(R))||V===45&&Lo(R))return!1;for(;i<e.eMarks[u];){if(s=e.src.charCodeAt(i),s!==124&&s!==45&&s!==58&&!Lo(s))return!1;i++}for(c=No(e,n+1),f=c.split("|"),w=[],l=0;l<f.length;l++){if(_=f[l].trim(),!_){if(l===0||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(_))return!1;_.charCodeAt(_.length-1)===58?w.push(_.charCodeAt(0)===58?"center":"right"):_.charCodeAt(0)===58?w.push("left"):w.push("")}if(c=No(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=pi(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),p=f.length,p===0||p!==w.length))return!1;if(o)return!0;for(C=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),d.map=M=[n,0],d=e.push("thead_open","thead",1),d.map=[n,n+1],d=e.push("tr_open","tr",1),d.map=[n,n+1],l=0;l<f.length;l++)d=e.push("th_open","th",1),w[l]&&(d.attrs=[["style","text-align:"+w[l]]]),d=e.push("inline","",0),d.content=f[l].trim(),d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),u=n+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(N=!1,l=0,a=A.length;l<a;l++)if(A[l](e,u,r,!0)){N=!0;break}if(N||(c=No(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=pi(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(d=e.push("tbody_open","tbody",1),d.map=q=[n+2,0]),d=e.push("tr_open","tr",1),d.map=[u,u+1],l=0;l<p;l++)d=e.push("td_open","td",1),w[l]&&(d.attrs=[["style","text-align:"+w[l]]]),d=e.push("inline","",0),d.content=f[l]?f[l].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return q&&(d=e.push("tbody_close","tbody",-1),q[1]=u),d=e.push("table_close","table",-1),M[1]=u,e.parentType=C,e.line=u,!0},_p=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)+`
17
+ `,c.map=[n,e.line],!0},vp=function(e,n,r,o){var s,c,i,l,a,u,f,p=!1,d=e.bMarks[n]+e.tShift[n],w=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||d+3>w||(s=e.src.charCodeAt(d),s!==126&&s!==96)||(a=d,d=e.skipChars(d,s),c=d-a,c<3)||(f=e.src.slice(a,d),i=e.src.slice(d,w),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=r||(d=a=e.bMarks[l]+e.tShift[l],w=e.eMarks[l],d<w&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(d)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(d=e.skipChars(d,s),!(d-a<c)&&(d=e.skipSpaces(d),!(d<w)))){p=!0;break}return c=e.sCount[n],e.line=l+(p?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(n+1,l,c,!0),u.markup=f,u.map=[n,e.line],!0},hi=le.isSpace,xp=function(e,n,r,o){var s,c,i,l,a,u,f,p,d,w,_,M,q,C,N,A,V,R,W,U,Q=e.lineMax,z=e.bMarks[n]+e.tShift[n],J=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(z++)!==62)return!1;if(o)return!0;for(l=d=e.sCount[n]+1,e.src.charCodeAt(z)===32?(z++,l++,d++,s=!1,A=!0):e.src.charCodeAt(z)===9?(A=!0,(e.bsCount[n]+d)%4===3?(z++,l++,d++,s=!1):s=!0):A=!1,w=[e.bMarks[n]],e.bMarks[n]=z;z<J&&(c=e.src.charCodeAt(z),hi(c));){c===9?d+=4-(d+e.bsCount[n]+(s?1:0))%4:d++;z++}for(_=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(A?1:0),u=z>=J,C=[e.sCount[n]],e.sCount[n]=d-l,N=[e.tShift[n]],e.tShift[n]=z-e.bMarks[n],R=e.md.block.ruler.getRules("blockquote"),q=e.parentType,e.parentType="blockquote",p=n+1;p<r&&(U=e.sCount[p]<e.blkIndent,z=e.bMarks[p]+e.tShift[p],J=e.eMarks[p],!(z>=J));p++){if(e.src.charCodeAt(z++)===62&&!U){for(l=d=e.sCount[p]+1,e.src.charCodeAt(z)===32?(z++,l++,d++,s=!1,A=!0):e.src.charCodeAt(z)===9?(A=!0,(e.bsCount[p]+d)%4===3?(z++,l++,d++,s=!1):s=!0):A=!1,w.push(e.bMarks[p]),e.bMarks[p]=z;z<J&&(c=e.src.charCodeAt(z),hi(c));){c===9?d+=4-(d+e.bsCount[p]+(s?1:0))%4:d++;z++}u=z>=J,_.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(A?1:0),C.push(e.sCount[p]),e.sCount[p]=d-l,N.push(e.tShift[p]),e.tShift[p]=z-e.bMarks[p];continue}if(u)break;for(V=!1,i=0,a=R.length;i<a;i++)if(R[i](e,p,r,!0)){V=!0;break}if(V){e.lineMax=p,e.blkIndent!==0&&(w.push(e.bMarks[p]),_.push(e.bsCount[p]),N.push(e.tShift[p]),C.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}w.push(e.bMarks[p]),_.push(e.bsCount[p]),N.push(e.tShift[p]),C.push(e.sCount[p]),e.sCount[p]=-1}for(M=e.blkIndent,e.blkIndent=0,W=e.push("blockquote_open","blockquote",1),W.markup=">",W.map=f=[n,0],e.md.block.tokenize(e,n,p),W=e.push("blockquote_close","blockquote",-1),W.markup=">",e.lineMax=Q,e.parentType=q,f[1]=e.line,i=0;i<N.length;i++)e.bMarks[i+n]=w[i],e.tShift[i+n]=N[i],e.sCount[i+n]=C[i],e.bsCount[i+n]=_[i];return e.blkIndent=M,!0},yp=le.isSpace,wp=function(e,n,r,o){var s,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(a++),s!==42&&s!==45&&s!==95))return!1;for(c=1;a<u;){if(i=e.src.charCodeAt(a++),i!==s&&!yp(i))return!1;i===s&&c++}return c<3?!1:(o||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(c+1).join(String.fromCharCode(s))),!0)},di=le.isSpace;function gi(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),!di(s))?-1:r}function mi(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),!di(n))?-1:o}function kp(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 Ep=function(e,n,r,o){var s,c,i,l,a,u,f,p,d,w,_,M,q,C,N,A,V,R,W,U,Q,z,J,P,re,D,ne,j,v=!1,S=!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&&(v=!0),(J=mi(e,n))>=0){if(f=!0,re=e.bMarks[n]+e.tShift[n],q=Number(e.src.slice(re,J-1)),v&&q!==1)return!1}else if((J=gi(e,n))>=0)f=!1;else return!1;if(v&&e.skipSpaces(J)>=e.eMarks[n])return!1;if(M=e.src.charCodeAt(J-1),o)return!0;for(_=e.tokens.length,f?(j=e.push("ordered_list_open","ol",1),q!==1&&(j.attrs=[["start",q]])):j=e.push("bullet_list_open","ul",1),j.map=w=[n,0],j.markup=String.fromCharCode(M),N=n,P=!1,ne=e.md.block.ruler.getRules("list"),R=e.parentType,e.parentType="list";N<r;){for(z=J,C=e.eMarks[N],u=A=e.sCount[N]+J-(e.bMarks[n]+e.tShift[n]);z<C;){if(s=e.src.charCodeAt(z),s===9)A+=4-(A+e.bsCount[N])%4;else if(s===32)A++;else break;z++}if(c=z,c>=C?a=1:a=A-u,a>4&&(a=1),l=u+a,j=e.push("list_item_open","li",1),j.markup=String.fromCharCode(M),j.map=p=[n,0],f&&(j.info=e.src.slice(re,J-1)),Q=e.tight,U=e.tShift[n],W=e.sCount[n],V=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=c-e.bMarks[n],e.sCount[n]=A,c>=C&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,n,r,!0),(!e.tight||P)&&(S=!1),P=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=V,e.tShift[n]=U,e.sCount[n]=W,e.tight=Q,j=e.push("list_item_close","li",-1),j.markup=String.fromCharCode(M),N=n=e.line,p[1]=N,c=e.bMarks[n],N>=r||e.sCount[N]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(D=!1,i=0,d=ne.length;i<d;i++)if(ne[i](e,N,r,!0)){D=!0;break}if(D)break;if(f){if(J=mi(e,N),J<0)break;re=e.bMarks[N]+e.tShift[N]}else if(J=gi(e,N),J<0)break;if(M!==e.src.charCodeAt(J-1))break}return f?j=e.push("ordered_list_close","ol",-1):j=e.push("bullet_list_close","ul",-1),j.markup=String.fromCharCode(M),w[1]=N,e.line=N,e.parentType=R,S&&kp(e,_),!0},Cp=le.normalizeReference,dr=le.isSpace,Ap=function(e,n,r,o){var s,c,i,l,a,u,f,p,d,w,_,M,q,C,N,A,V=0,R=e.bMarks[n]+e.tShift[n],W=e.eMarks[n],U=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(R)!==91)return!1;for(;++R<W;)if(e.src.charCodeAt(R)===93&&e.src.charCodeAt(R-1)!==92){if(R+1===W||e.src.charCodeAt(R+1)!==58)return!1;break}for(l=e.lineMax,N=e.md.block.ruler.getRules("reference"),w=e.parentType,e.parentType="reference";U<l&&!e.isEmpty(U);U++)if(!(e.sCount[U]-e.blkIndent>3)&&!(e.sCount[U]<0)){for(C=!1,u=0,f=N.length;u<f;u++)if(N[u](e,U,l,!0)){C=!0;break}if(C)break}for(q=e.getLines(n,U,e.blkIndent,!1).trim(),W=q.length,R=1;R<W;R++){if(s=q.charCodeAt(R),s===91)return!1;if(s===93){d=R;break}else s===10?V++:s===92&&(R++,R<W&&q.charCodeAt(R)===10&&V++)}if(d<0||q.charCodeAt(d+1)!==58)return!1;for(R=d+2;R<W;R++)if(s=q.charCodeAt(R),s===10)V++;else if(!dr(s))break;if(_=e.md.helpers.parseLinkDestination(q,R,W),!_.ok||(a=e.md.normalizeLink(_.str),!e.md.validateLink(a)))return!1;for(R=_.pos,V+=_.lines,c=R,i=V,M=R;R<W;R++)if(s=q.charCodeAt(R),s===10)V++;else if(!dr(s))break;for(_=e.md.helpers.parseLinkTitle(q,R,W),R<W&&M!==R&&_.ok?(A=_.str,R=_.pos,V+=_.lines):(A="",R=c,V=i);R<W&&(s=q.charCodeAt(R),!!dr(s));)R++;if(R<W&&q.charCodeAt(R)!==10&&A)for(A="",R=c,V=i;R<W&&(s=q.charCodeAt(R),!!dr(s));)R++;return R<W&&q.charCodeAt(R)!==10||(p=Cp(q.slice(1,d)),!p)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:A,href:a}),e.parentType=w,e.line=n+V+1),!0)},Sp=["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"],gr={},Dp="[a-zA-Z_:][a-zA-Z0-9:._-]*",qp="[^\"'=<>`\\x00-\\x20]+",Tp="'[^']*'",Rp='"[^"]*"',Lp="(?:"+qp+"|"+Tp+"|"+Rp+")",Np="(?:\\s+"+Dp+"(?:\\s*=\\s*"+Lp+")?)",bi="<[A-Za-z][A-Za-z0-9\\-]*"+Np+"*\\s*\\/?>",_i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Mp="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Ip="<[?][\\s\\S]*?[?]>",Op="<![A-Z]+\\s+[^>]*>",Fp="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Bp=new RegExp("^(?:"+bi+"|"+_i+"|"+Mp+"|"+Ip+"|"+Op+"|"+Fp+")"),Pp=new RegExp("^(?:"+bi+"|"+_i+")");gr.HTML_TAG_RE=Bp,gr.HTML_OPEN_CLOSE_TAG_RE=Pp;var Up=Sp,zp=gr.HTML_OPEN_CLOSE_TAG_RE,Xt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Up.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(zp.source+"\\s*$"),/^$/,!1]],$p=function(e,n,r,o){var s,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(a)!==60)return!1;for(l=e.src.slice(a,u),s=0;s<Xt.length&&!Xt[s][0].test(l);s++);if(s===Xt.length)return!1;if(o)return Xt[s][2];if(c=n+1,!Xt[s][1].test(l)){for(;c<r&&!(e.sCount[c]<e.blkIndent);c++)if(a=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],l=e.src.slice(a,u),Xt[s][1].test(l)){l.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},vi=le.isSpace,Hp=function(e,n,r,o){var s,c,i,l,a=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(s=e.src.charCodeAt(a),s!==35||a>=u))return!1;for(c=1,s=e.src.charCodeAt(++a);s===35&&a<u&&c<=6;)c++,s=e.src.charCodeAt(++a);return c>6||a<u&&!vi(s)?!1:(o||(u=e.skipSpacesBack(u,a),i=e.skipCharsBack(u,35,a),i>a&&vi(e.src.charCodeAt(i-1))&&(u=i),e.line=n+1,l=e.push("heading_open","h"+String(c),1),l.markup="########".slice(0,c),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(a,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(c),-1),l.markup="########".slice(0,c)),!0)},Vp=function(e,n,r){var o,s,c,i,l,a,u,f,p,d=n+1,w,_=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(w=e.parentType,e.parentType="paragraph";d<r&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(a=e.bMarks[d]+e.tShift[d],u=e.eMarks[d],a<u&&(p=e.src.charCodeAt(a),(p===45||p===61)&&(a=e.skipChars(a,p),a=e.skipSpaces(a),a>=u)))){f=p===61?1:2;break}if(!(e.sCount[d]<0)){for(s=!1,c=0,i=_.length;c<i;c++)if(_[c](e,d,r,!0)){s=!0;break}if(s)break}}return f?(o=e.getLines(n,d,e.blkIndent,!1).trim(),e.line=d+1,l=e.push("heading_open","h"+String(f),1),l.markup=String.fromCharCode(p),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(f),-1),l.markup=String.fromCharCode(p),e.parentType=w,!0):!1},jp=function(e,n){var r,o,s,c,i,l,a=n+1,u=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(l=e.parentType,e.parentType="paragraph";a<f&&!e.isEmpty(a);a++)if(!(e.sCount[a]-e.blkIndent>3)&&!(e.sCount[a]<0)){for(o=!1,s=0,c=u.length;s<c;s++)if(u[s](e,a,f,!0)){o=!0;break}if(o)break}return r=e.getLines(n,a,e.blkIndent,!1).trim(),e.line=a,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=l,!0},xi=qo,mr=le.isSpace;function We(t,e,n,r){var o,s,c,i,l,a,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=a=u=0,l=s.length;i<l;i++){if(o=s.charCodeAt(i),!f)if(mr(o)){a++,o===9?u+=4-u%4:u++;continue}else f=!0;(o===10||i===l-1)&&(o!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(a),this.sCount.push(u),this.bsCount.push(0),f=!1,a=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}We.prototype.push=function(t,e,n){var r=new xi(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},We.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},We.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},We.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!mr(n));e++);return e},We.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!mr(this.src.charCodeAt(--e)))return e+1;return e},We.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},We.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},We.prototype.getLines=function(e,n,r,o){var s,c,i,l,a,u,f,p=e;if(e>=n)return"";for(u=new Array(n-e),s=0;p<n;p++,s++){for(c=0,f=l=this.bMarks[p],p+1<n||o?a=this.eMarks[p]+1:a=this.eMarks[p];l<a&&c<r;){if(i=this.src.charCodeAt(l),mr(i))i===9?c+=4-(c+this.bsCount[p])%4:c++;else if(l-f<this.tShift[p])c++;else break;l++}c>r?u[s]=new Array(c-r+1).join(" ")+this.src.slice(l,a):u[s]=this.src.slice(l,a)}return u.join("")},We.prototype.Token=xi;var Gp=We,Zp=Do,br=[["table",bp,["paragraph","reference"]],["code",_p],["fence",vp,["paragraph","reference","blockquote","list"]],["blockquote",xp,["paragraph","reference","blockquote","list"]],["hr",wp,["paragraph","reference","blockquote","list"]],["list",Ep,["paragraph","reference","blockquote"]],["reference",Ap],["html_block",$p,["paragraph","reference","blockquote"]],["heading",Hp,["paragraph","reference","blockquote"]],["lheading",Vp],["paragraph",jp]];function _r(){this.ruler=new Zp;for(var t=0;t<br.length;t++)this.ruler.push(br[t][0],br[t][1],{alt:(br[t][2]||[]).slice()})}_r.prototype.tokenize=function(t,e,n){for(var r,o,s=this.ruler.getRules(""),c=s.length,i=e,l=!1,a=t.md.options.maxNesting;i<n&&(t.line=i=t.skipEmptyLines(i),!(i>=n||t.sCount[i]<t.blkIndent));){if(t.level>=a){t.line=n;break}for(o=0;o<c&&(r=s[o](t,i,n,!1),!r);o++);t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),i=t.line,i<n&&t.isEmpty(i)&&(l=!0,i++,t.line=i)}},_r.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))},_r.prototype.State=Gp;var Kp=_r;function Wp(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 Jp=function(e,n){for(var r=e.pos;r<e.posMax&&!Wp(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Yp=le.isSpace,Xp=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&&Yp(e.src.charCodeAt(c));)c++;return e.pos=c,!0},Qp=le.isSpace,Mo=[],yi=0;yi<256;yi++)Mo.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Mo[t.charCodeAt(0)]=1});var eh=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&&Mo[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),!!Qp(r));)o++;return e.pos=o,!0}}return n||(e.pending+="\\"),e.pos++,!0},th=function(e,n){var r,o,s,c,i,l,a,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),a=s.length,e.backticksScanned&&(e.backticks[a]||0)<=r)return n||(e.pending+=s),e.pos+=a,!0;for(i=l=f;(i=e.src.indexOf("`",l))!==-1;){for(l=i+1;l<o&&e.src.charCodeAt(l)===96;)l++;if(u=l-i,u===a)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=l,!0;e.backticks[u]=i}return e.backticksScanned=!0,n||(e.pending+=s),e.pos+=a,!0},vr={};vr.tokenize=function(e,n){var r,o,s,c,i,l=e.pos,a=e.src.charCodeAt(l);if(n||a!==126||(o=e.scanDelims(e.pos,!0),c=o.length,i=String.fromCharCode(a),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:a,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function wi(t,e){var n,r,o,s,c,i=[],l=e.length;for(n=0;n<l;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)}}vr.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(wi(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&wi(e,r[n].delimiters)};var xr={};xr.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 ki(t,e){var n,r,o,s,c,i,l=e.length;for(n=l-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--))}xr.postProcess=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(ki(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&ki(e,r[n].delimiters)};var nh=le.normalizeReference,Io=le.isSpace,rh=function(e,n){var r,o,s,c,i,l,a,u,f,p="",d="",w=e.pos,_=e.posMax,M=e.pos,q=!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(l=c+1,l<_&&e.src.charCodeAt(l)===40){for(q=!1,l++;l<_&&(o=e.src.charCodeAt(l),!(!Io(o)&&o!==10));l++);if(l>=_)return!1;if(M=l,a=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),a.ok){for(p=e.md.normalizeLink(a.str),e.md.validateLink(p)?l=a.pos:p="",M=l;l<_&&(o=e.src.charCodeAt(l),!(!Io(o)&&o!==10));l++);if(a=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&M!==l&&a.ok)for(d=a.str,l=a.pos;l<_&&(o=e.src.charCodeAt(l),!(!Io(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(q=!0),l++}if(q){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(M=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?s=e.src.slice(M,l++):l=c+1):l=c+1,s||(s=e.src.slice(i,c)),u=e.env.references[nh(s)],!u)return e.pos=w,!1;p=u.href,d=u.title}return n||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=r=[["href",p]],d&&r.push(["title",d]),e.md.inline.tokenize(e),f=e.push("link_close","a",-1)),e.pos=l,e.posMax=_,!0},oh=le.normalizeReference,Oo=le.isSpace,sh=function(e,n){var r,o,s,c,i,l,a,u,f,p,d,w,_,M="",q=e.pos,C=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(a=i+1,a<C&&e.src.charCodeAt(a)===40){for(a++;a<C&&(o=e.src.charCodeAt(a),!(!Oo(o)&&o!==10));a++);if(a>=C)return!1;for(_=a,f=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),f.ok&&(M=e.md.normalizeLink(f.str),e.md.validateLink(M)?a=f.pos:M=""),_=a;a<C&&(o=e.src.charCodeAt(a),!(!Oo(o)&&o!==10));a++);if(f=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<C&&_!==a&&f.ok)for(p=f.str,a=f.pos;a<C&&(o=e.src.charCodeAt(a),!(!Oo(o)&&o!==10));a++);else p="";if(a>=C||e.src.charCodeAt(a)!==41)return e.pos=q,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<C&&e.src.charCodeAt(a)===91?(_=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?c=e.src.slice(_,a++):a=i+1):a=i+1,c||(c=e.src.slice(l,i)),u=e.env.references[oh(c)],!u)return e.pos=q,!1;M=u.href,p=u.title}return n||(s=e.src.slice(l,i),e.md.inline.parse(s,e.md,e.env,w=[]),d=e.push("image","img",0),d.attrs=r=[["src",M],["alt",""]],d.children=w,d.content=s,p&&r.push(["title",p])),e.pos=a,e.posMax=C,!0},ch=/^([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])?)*)$/,ih=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,lh=function(e,n){var r,o,s,c,i,l,a=e.pos;if(e.src.charCodeAt(a)!==60)return!1;for(i=e.pos,l=e.posMax;;){if(++a>=l||(c=e.src.charCodeAt(a),c===60))return!1;if(c===62)break}return r=e.src.slice(i+1,a),ih.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):ch.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},ah=gr.HTML_TAG_RE;function uh(t){var e=t|32;return e>=97&&e<=122}var fh=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&&!uh(r))||(o=e.src.slice(i).match(ah),!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)},Ei=$c,ph=le.has,hh=le.isValidEntityCode,Ci=le.fromCodePoint,dh=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,gh=/^&([a-z][a-z0-9]{1,31});/i,mh=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(dh),s)return n||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),e.pending+=hh(o)?Ci(o):Ci(65533)),e.pos+=s[0].length,!0}else if(s=e.src.slice(c).match(gh),s&&ph(Ei,s[1]))return n||(e.pending+=Ei[s[1]]),e.pos+=s[0].length,!0}return n||(e.pending+="&"),e.pos++,!0};function Ai(t,e){var n,r,o,s,c,i,l,a,u={},f=e.length;if(f){var p=0,d=-2,w=[];for(n=0;n<f;n++)if(o=e[n],w.push(0),(e[p].marker!==o.marker||d!==o.token-1)&&(p=n),d=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-w[p]-1,i=r;r>c;r-=w[r]+1)if(s=e[r],s.marker===o.marker&&s.open&&s.end<0&&(l=!1,(s.close||o.open)&&(s.length+o.length)%3===0&&(s.length%3!==0||o.length%3!==0)&&(l=!0),!l)){a=r>0&&!e[r-1].open?w[r-1]+1:0,w[n]=n-r+a,w[r]=a,o.open=!1,s.end=n,s.close=!1,i=-1,d=-2;break}i!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=i)}}}var bh=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(Ai(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&Ai(e,r[n].delimiters)},_h=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)},Fo=qo,Si=le.isWhiteSpace,Di=le.isPunctChar,qi=le.isMdAsciiPunct;function wn(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}wn.prototype.pushPending=function(){var t=new Fo("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},wn.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new Fo(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},wn.prototype.scanDelims=function(t,e){var n=t,r,o,s,c,i,l,a,u,f,p=!0,d=!0,w=this.posMax,_=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<w&&this.src.charCodeAt(n)===_;)n++;return s=n-t,o=n<w?this.src.charCodeAt(n):32,a=qi(r)||Di(String.fromCharCode(r)),f=qi(o)||Di(String.fromCharCode(o)),l=Si(r),u=Si(o),u?p=!1:f&&(l||a||(p=!1)),l?d=!1:a&&(u||f||(d=!1)),e?(c=p,i=d):(c=p&&(!d||a),i=d&&(!p||f)),{can_open:c,can_close:i,length:s}},wn.prototype.Token=Fo;var vh=wn,Ti=Do,Bo=[["text",Jp],["newline",Xp],["escape",eh],["backticks",th],["strikethrough",vr.tokenize],["emphasis",xr.tokenize],["link",rh],["image",sh],["autolink",lh],["html_inline",fh],["entity",mh]],Po=[["balance_pairs",bh],["strikethrough",vr.postProcess],["emphasis",xr.postProcess],["text_collapse",_h]];function kn(){var t;for(this.ruler=new Ti,t=0;t<Bo.length;t++)this.ruler.push(Bo[t][0],Bo[t][1]);for(this.ruler2=new Ti,t=0;t<Po.length;t++)this.ruler2.push(Po[t][0],Po[t][1])}kn.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},kn.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()},kn.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)},kn.prototype.State=vh;var xh=kn,Uo,Ri;function yh(){return Ri||(Ri=1,Uo=function(t){var e={};e.src_Any=Yc().source,e.src_Cc=Qc().source,e.src_Z=ni().source,e.src_P=ko.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}),Uo}function zo(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 yr(t){return Object.prototype.toString.call(t)}function wh(t){return yr(t)==="[object String]"}function kh(t){return yr(t)==="[object Object]"}function Eh(t){return yr(t)==="[object RegExp]"}function Li(t){return yr(t)==="[object Function]"}function Ch(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ni={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ah(t){return Object.keys(t||{}).reduce(function(e,n){return e||Ni.hasOwnProperty(n)},!1)}var Sh={"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}}},Dh="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]",qh="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Th(t){t.__index__=-1,t.__text_cache__=""}function Rh(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function Mi(){return function(t,e){e.normalize(t)}}function wr(t){var e=t.re=yh()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Dh),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,l){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+l)}Object.keys(t.__schemas__).forEach(function(i){var l=t.__schemas__[i];if(l!==null){var a={validate:null,link:null};if(t.__compiled__[i]=a,kh(l)){Eh(l.validate)?a.validate=Rh(l.validate):Li(l.validate)?a.validate=l.validate:s(i,l),Li(l.normalize)?a.normalize=l.normalize:l.normalize?s(i,l):a.normalize=Mi();return}if(wh(l)){o.push(i);return}s(i,l)}}),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:Mi()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Ch).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"),Th(t)}function Lh(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 Ii(t,e){var n=new Lh(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Oe(t,e){if(!(this instanceof Oe))return new Oe(t,e);e||Ah(t)&&(e=t,t={}),this.__opts__=zo({},Ni,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=zo({},Sh,t),this.__compiled__={},this.__tlds__=qh,this.__tlds_replaced__=!1,this.re={},wr(this)}Oe.prototype.add=function(e,n){return this.__schemas__[e]=n,wr(this),this},Oe.prototype.set=function(e){return this.__opts__=zo(this.__opts__,e),this},Oe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,o,s,c,i,l,a,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(s=this.testSchemaAt(e,n[2],l.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:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a<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},Oe.prototype.pretest=function(e){return this.re.pretest.test(e)},Oe.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Oe.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Ii(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)r.push(Ii(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},Oe.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(),wr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,wr(this),this)},Oe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Oe.prototype.onCompile=function(){};var Nh=Oe;const Qt=2147483647,Je=36,$o=1,En=26,Mh=38,Ih=700,Oi=72,Fi=128,Bi="-",Oh=/^xn--/,Fh=/[^\0-\x7E]/,Bh=/[\x2E\u3002\uFF0E\uFF61]/g,Ph={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ho=Je-$o,Ye=Math.floor,Vo=String.fromCharCode;function St(t){throw new RangeError(Ph[t])}function Uh(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function Pi(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(Bh,".");const o=t.split("."),s=Uh(o,e).join(".");return r+s}function jo(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 Ui=t=>String.fromCodePoint(...t),zh=function(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:Je},zi=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},$i=function(t,e,n){let r=0;for(t=n?Ye(t/Ih):t>>1,t+=Ye(t/e);t>Ho*En>>1;r+=Je)t=Ye(t/Ho);return Ye(r+(Ho+1)*t/(t+Mh))},Go=function(t){const e=[],n=t.length;let r=0,o=Fi,s=Oi,c=t.lastIndexOf(Bi);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&St("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<n;){let l=r;for(let u=1,f=Je;;f+=Je){i>=n&&St("invalid-input");const p=zh(t.charCodeAt(i++));(p>=Je||p>Ye((Qt-r)/u))&&St("overflow"),r+=p*u;const d=f<=s?$o:f>=s+En?En:f-s;if(p<d)break;const w=Je-d;u>Ye(Qt/w)&&St("overflow"),u*=w}const a=e.length+1;s=$i(r-l,a,l==0),Ye(r/a)>Qt-o&&St("overflow"),o+=Ye(r/a),r%=a,e.splice(r++,0,o)}return String.fromCodePoint(...e)},Zo=function(t){const e=[];t=jo(t);let n=t.length,r=Fi,o=0,s=Oi;for(const l of t)l<128&&e.push(Vo(l));let c=e.length,i=c;for(c&&e.push(Bi);i<n;){let l=Qt;for(const u of t)u>=r&&u<l&&(l=u);const a=i+1;l-r>Ye((Qt-o)/a)&&St("overflow"),o+=(l-r)*a,r=l;for(const u of t)if(u<r&&++o>Qt&&St("overflow"),u===r){let f=o;for(let p=Je;;p+=Je){const d=p<=s?$o:p>=s+En?En:p-s;if(f<d)break;const w=f-d,_=Je-d;e.push(Vo(zi(d+w%_,0))),f=Ye(w/_)}e.push(Vo(zi(f,0))),s=$i(o,a,i===c),o=0,++i}++o,++r}return e.join("")},Hi=function(t){return Pi(t,function(e){return Oh.test(e)?Go(e.slice(4).toLowerCase()):e})},Vi=function(t){return Pi(t,function(e){return Fh.test(e)?"xn--"+Zo(e):e})},$h=kf(Object.freeze(Object.defineProperty({__proto__:null,decode:Go,default:{version:"2.1.0",ucs2:{decode:jo,encode:Ui},decode:Go,encode:Zo,toASCII:Vi,toUnicode:Hi},encode:Zo,toASCII:Vi,toUnicode:Hi,ucs2decode:jo,ucs2encode:Ui},Symbol.toStringTag,{value:"Module"})));var Hh={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Vh={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"]}}},jh={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"]}}},Cn=le,Gh=pr,Zh=Zf,Kh=mp,Wh=Kp,Jh=xh,Yh=Nh,Dt=Wt,ji=$h,Xh={default:Hh,zero:Vh,commonmark:jh},Qh=/^(vbscript|javascript|file|data):/,ed=/^data:image\/(gif|png|jpeg|webp);/;function td(t){var e=t.trim().toLowerCase();return Qh.test(e)?!!ed.test(e):!0}var Gi=["http:","https:","mailto:"];function nd(t){var e=Dt.parse(t,!0);if(e.hostname&&(!e.protocol||Gi.indexOf(e.protocol)>=0))try{e.hostname=ji.toASCII(e.hostname)}catch{}return Dt.encode(Dt.format(e))}function rd(t){var e=Dt.parse(t,!0);if(e.hostname&&(!e.protocol||Gi.indexOf(e.protocol)>=0))try{e.hostname=ji.toUnicode(e.hostname)}catch{}return Dt.decode(Dt.format(e),Dt.decode.defaultChars+"%")}function Fe(t,e){if(!(this instanceof Fe))return new Fe(t,e);e||Cn.isString(t)||(e=t||{},t="default"),this.inline=new Jh,this.block=new Wh,this.core=new Kh,this.renderer=new Zh,this.linkify=new Yh,this.validateLink=td,this.normalizeLink=nd,this.normalizeLinkText=rd,this.utils=Cn,this.helpers=Cn.assign({},Gh),this.options={},this.configure(t),e&&this.set(e)}Fe.prototype.set=function(t){return Cn.assign(this.options,t),this},Fe.prototype.configure=function(t){var e=this,n;if(Cn.isString(t)&&(n=t,t=Xh[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},Fe.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},Fe.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},Fe.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Fe.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},Fe.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Fe.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Fe.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var od=Fe,sd=od;const cd=zc(sd);var id=$e({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 cd((t=this.options)!==null&&t!==void 0?t:{})},render:function(){return yc("div",{innerHTML:this.content})}});const ld=id;function Zi(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)&&Zi(n)}),t}class Ki{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Wi(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function pt(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 ad="</span>",Ji=t=>!!t.scope,ud=(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 fd{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Wi(e)}openNode(e){if(!Ji(e))return;const n=ud(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Ji(e)&&(this.buffer+=ad)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Yi=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Ko{constructor(){this.rootNode=Yi(),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=Yi({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=>{Ko._collapse(n)}))}}class pd extends Ko{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 fd(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function An(t){return t?typeof t=="string"?t:t.source:null}function Xi(t){return qt("(?=",t,")")}function hd(t){return qt("(?:",t,")*")}function dd(t){return qt("(?:",t,")?")}function qt(...t){return t.map(n=>An(n)).join("")}function gd(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Wo(...t){return"("+(gd(t).capture?"":"?:")+t.map(r=>An(r)).join("|")+")"}function Qi(t){return new RegExp(t.toString()+"|").exec("").length-1}function md(t,e){const n=t&&t.exec(e);return n&&n.index===0}const bd=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Jo(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const o=n;let s=An(r),c="";for(;s.length>0;){const i=bd.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 _d=/\b\B/,el="[a-zA-Z]\\w*",Yo="[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]+)",vd="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",xd=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=qt(e,/.*\b/,t.binary,/\b.*/)),pt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Sn={begin:"\\\\[\\s\\S]",relevance:0},yd={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sn]},wd={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sn]},kd={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/},kr=function(t,e,n={}){const r=pt({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=Wo("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:qt(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Ed=kr("//","$"),Cd=kr("/\\*","\\*/"),Ad=kr("#","$"),Sd={scope:"number",begin:tl,relevance:0},Dd={scope:"number",begin:nl,relevance:0},qd={scope:"number",begin:rl,relevance:0},Td={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Sn,{begin:/\[/,end:/\]/,relevance:0,contains:[Sn]}]}]},Rd={scope:"title",begin:el,relevance:0},Ld={scope:"title",begin:Yo,relevance:0},Nd={begin:"\\.\\s*"+Yo,relevance:0};var Er=Object.freeze({__proto__:null,MATCH_NOTHING_RE:_d,IDENT_RE:el,UNDERSCORE_IDENT_RE:Yo,NUMBER_RE:tl,C_NUMBER_RE:nl,BINARY_NUMBER_RE:rl,RE_STARTERS_RE:vd,SHEBANG:xd,BACKSLASH_ESCAPE:Sn,APOS_STRING_MODE:yd,QUOTE_STRING_MODE:wd,PHRASAL_WORDS_MODE:kd,COMMENT:kr,C_LINE_COMMENT_MODE:Ed,C_BLOCK_COMMENT_MODE:Cd,HASH_COMMENT_MODE:Ad,NUMBER_MODE:Sd,C_NUMBER_MODE:Dd,BINARY_NUMBER_MODE:qd,REGEXP_MODE:Td,TITLE_MODE:Rd,UNDERSCORE_TITLE_MODE:Ld,METHOD_GUARD:Nd,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 Md(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Id(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Od(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Md,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Fd(t,e){Array.isArray(t.illegal)&&(t.illegal=Wo(...t.illegal))}function Bd(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 Pd(t,e){t.relevance===void 0&&(t.relevance=1)}const Ud=(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=qt(n.beforeMatch,Xi(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},zd=["of","and","for","in","not","or","if","then","parent","list","value"],$d="keyword";function ol(t,e,n=$d){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 l=i.split("|");r[l[0]]=[s,Hd(l[0],l[1])]})}}function Hd(t,e){return e?Number(e):Vd(t)?0:1}function Vd(t){return zd.includes(t.toLowerCase())}const sl={},Tt=t=>{console.error(t)},cl=(t,...e)=>{console.log(`WARN: ${t}`,...e)},en=(t,e)=>{sl[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),sl[`${t}/${e}`]=!0)},Cr=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+=Qi(e[i-1]);t[n]=c,t[n]._emit=s,t[n]._multi=!0}function jd(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Tt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Cr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Tt("beginScope must be object"),Cr;il(t,t.begin,{key:"beginScope"}),t.begin=Jo(t.begin,{joinWith:""})}}function Gd(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Tt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Cr;if(typeof t.endScope!="object"||t.endScope===null)throw Tt("endScope must be object"),Cr;il(t,t.end,{key:"endScope"}),t.end=Jo(t.end,{joinWith:""})}}function Zd(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Kd(t){Zd(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),jd(t),Gd(t)}function Wd(t){function e(c,i){return new RegExp(An(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,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,i]),this.matchAt+=Qi(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(l=>l[1]);this.matcherRe=e(Jo(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(i);if(!l)return null;const a=l.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[a];return l.splice(0,a),Object.assign(l,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 l=new n;return this.rules.slice(i).forEach(([a,u])=>l.addRule(a,u)),l.compile(),this.multiRegexes[i]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,l){this.rules.push([i,l]),l.type==="begin"&&this.count++}exec(i){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let a=l.exec(i);if(this.resumingScanAtSamePosition()&&!(a&&a.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,a=u.exec(i)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}function o(c){const i=new r;return c.contains.forEach(l=>i.addRule(l.begin,{rule:l,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function s(c,i){const l=c;if(c.isCompiled)return l;[Id,Bd,Kd,Ud].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[Od,Fd,Pd].forEach(u=>u(c,i)),c.isCompiled=!0;let a=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),a=c.keywords.$pattern,delete c.keywords.$pattern),a=a||/\w+/,c.keywords&&(c.keywords=ol(c.keywords,t.case_insensitive)),l.keywordPatternRe=e(a,!0),i&&(c.begin||(c.begin=/\B|\b/),l.beginRe=e(l.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(l.endRe=e(l.end)),l.terminatorEnd=An(l.end)||"",c.endsWithParent&&i.terminatorEnd&&(l.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(l.illegalRe=e(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(u){return Jd(u==="self"?c:u)})),c.contains.forEach(function(u){s(u,l)}),c.starts&&s(c.starts,i),l.matcher=o(l),l}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=pt(t.classNameAliases||{}),s(t)}function ll(t){return t?t.endsWithParent||ll(t.starts):!1}function Jd(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return pt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:ll(t)?pt(t,{starts:t.starts?pt(t.starts):null}):Object.isFrozen(t)?pt(t):t}var Yd="11.8.0";class Xd extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Xo=Wi,al=pt,ul=Symbol("nomatch"),Qd=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:pd};function l(v){return i.noHighlightRe.test(v)}function a(v){let S=v.className+" ";S+=v.parentNode?v.parentNode.className:"";const Z=i.languageDetectRe.exec(S);if(Z){const te=Q(Z[1]);return te||(cl(s.replace("{}",Z[1])),cl("Falling back to no-highlight mode for this block.",v)),te?Z[1]:"no-highlight"}return S.split(/\s+/).find(te=>l(te)||Q(te))}function u(v,S,Z){let te="",ie="";typeof S=="object"?(te=v,Z=S.ignoreIllegals,ie=S.language):(en("10.7.0","highlight(lang, code, ...args) has been deprecated."),en("10.7.0",`Please use highlight(code, options) instead.
18
+ https://github.com/highlightjs/highlight.js/issues/2277`),ie=v,te=S),Z===void 0&&(Z=!0);const ae={code:te,language:ie};ne("before:highlight",ae);const Re=ae.result?ae.result:f(ae.language,ae.code,Z);return Re.code=ae.code,ne("after:highlight",Re),Re}function f(v,S,Z,te){const ie=Object.create(null);function ae(E,T){return E.keywords[T]}function Re(){if(!m.keywords){y.addText(O);return}let E=0;m.keywordPatternRe.lastIndex=0;let T=m.keywordPatternRe.exec(O),H="";for(;T;){H+=O.substring(E,T.index);const Y=x.case_insensitive?T[0].toLowerCase():T[0],pe=ae(m,Y);if(pe){const[Be,Lt]=pe;if(y.addText(H),H="",ie[Y]=(ie[Y]||0)+1,ie[Y]<=Qd&&(B+=Lt),Be.startsWith("_"))H+=T[0];else{const Dr=x.classNameAliases[Be]||Be;be(T[0],Dr)}}else H+=T[0];E=m.keywordPatternRe.lastIndex,T=m.keywordPatternRe.exec(O)}H+=O.substring(E),y.addText(H)}function nn(){if(O==="")return;let E=null;if(typeof m.subLanguage=="string"){if(!e[m.subLanguage]){y.addText(O);return}E=f(m.subLanguage,O,!0,I[m.subLanguage]),I[m.subLanguage]=E._top}else E=d(O,m.subLanguage.length?m.subLanguage:null);m.relevance>0&&(B+=E.relevance),y.__addSublanguage(E._emitter,E.language)}function Se(){m.subLanguage!=null?nn():Re(),O=""}function be(E,T){E!==""&&(y.startScope(T),y.addText(E),y.endScope())}function Rt(E,T){let H=1;const Y=T.length-1;for(;H<=Y;){if(!E._emit[H]){H++;continue}const pe=x.classNameAliases[E[H]]||E[H],Be=T[H];pe?be(Be,pe):(O=Be,Re(),O=""),H++}}function qn(E,T){return E.scope&&typeof E.scope=="string"&&y.openNode(x.classNameAliases[E.scope]||E.scope),E.beginScope&&(E.beginScope._wrap?(be(O,x.classNameAliases[E.beginScope._wrap]||E.beginScope._wrap),O=""):E.beginScope._multi&&(Rt(E.beginScope,T),O="")),m=Object.create(E,{parent:{value:m}}),m}function nt(E,T,H){let Y=md(E.endRe,H);if(Y){if(E["on:end"]){const pe=new Ki(E);E["on:end"](T,pe),pe.isMatchIgnored&&(Y=!1)}if(Y){for(;E.endsParent&&E.parent;)E=E.parent;return E}}if(E.endsWithParent)return nt(E.parent,T,H)}function Tn(E){return m.matcher.regexIndex===0?(O+=E[0],1):(ee=!0,0)}function Rn(E){const T=E[0],H=E.rule,Y=new Ki(H),pe=[H.__beforeBegin,H["on:begin"]];for(const Be of pe)if(Be&&(Be(E,Y),Y.isMatchIgnored))return Tn(T);return H.skip?O+=T:(H.excludeBegin&&(O+=T),Se(),!H.returnBegin&&!H.excludeBegin&&(O=T)),qn(H,E),H.returnBegin?0:T.length}function h(E){const T=E[0],H=S.substring(E.index),Y=nt(m,E,H);if(!Y)return ul;const pe=m;m.endScope&&m.endScope._wrap?(Se(),be(T,m.endScope._wrap)):m.endScope&&m.endScope._multi?(Se(),Rt(m.endScope,E)):pe.skip?O+=T:(pe.returnEnd||pe.excludeEnd||(O+=T),Se(),pe.excludeEnd&&(O=T));do m.scope&&y.closeNode(),!m.skip&&!m.subLanguage&&(B+=m.relevance),m=m.parent;while(m!==Y.parent);return Y.starts&&qn(Y.starts,E),pe.returnEnd?0:T.length}function g(){const E=[];for(let T=m;T!==x;T=T.parent)T.scope&&E.unshift(T.scope);E.forEach(T=>y.openNode(T))}let b={};function k(E,T){const H=T&&T[0];if(O+=E,H==null)return Se(),0;if(b.type==="begin"&&T.type==="end"&&b.index===T.index&&H===""){if(O+=S.slice(T.index,T.index+1),!o){const Y=new Error(`0 width match regex (${v})`);throw Y.languageName=v,Y.badRule=b.rule,Y}return 1}if(b=T,T.type==="begin")return Rn(T);if(T.type==="illegal"&&!Z){const Y=new Error('Illegal lexeme "'+H+'" for mode "'+(m.scope||"<unnamed>")+'"');throw Y.mode=m,Y}else if(T.type==="end"){const Y=h(T);if(Y!==ul)return Y}if(T.type==="illegal"&&H==="")return 1;if(K>1e5&&K>T.index*3)throw new Error("potential infinite loop, way more iterations than matches");return O+=H,H.length}const x=Q(v);if(!x)throw Tt(s.replace("{}",v)),new Error('Unknown language: "'+v+'"');const L=Wd(x);let F="",m=te||L;const I={},y=new i.__emitter(i);g();let O="",B=0,$=0,K=0,ee=!1;try{if(x.__emitTokens)x.__emitTokens(S,y);else{for(m.matcher.considerAll();;){K++,ee?ee=!1:m.matcher.considerAll(),m.matcher.lastIndex=$;const E=m.matcher.exec(S);if(!E)break;const T=S.substring($,E.index),H=k(T,E);$=E.index+H}k(S.substring($))}return y.finalize(),F=y.toHTML(),{language:v,value:F,relevance:B,illegal:!1,_emitter:y,_top:m}}catch(E){if(E.message&&E.message.includes("Illegal"))return{language:v,value:Xo(S),illegal:!0,relevance:0,_illegalBy:{message:E.message,index:$,context:S.slice($-100,$+100),mode:E.mode,resultSoFar:F},_emitter:y};if(o)return{language:v,value:Xo(S),illegal:!1,relevance:0,errorRaised:E,_emitter:y,_top:m};throw E}}function p(v){const S={value:Xo(v),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return S._emitter.addText(v),S}function d(v,S){S=S||i.languages||Object.keys(e);const Z=p(v),te=S.filter(Q).filter(J).map(Se=>f(Se,v,!1));te.unshift(Z);const ie=te.sort((Se,be)=>{if(Se.relevance!==be.relevance)return be.relevance-Se.relevance;if(Se.language&&be.language){if(Q(Se.language).supersetOf===be.language)return 1;if(Q(be.language).supersetOf===Se.language)return-1}return 0}),[ae,Re]=ie,nn=ae;return nn.secondBest=Re,nn}function w(v,S,Z){const te=S&&n[S]||Z;v.classList.add("hljs"),v.classList.add(`language-${te}`)}function _(v){let S=null;const Z=a(v);if(l(Z))return;if(ne("before:highlightElement",{el:v,language:Z}),v.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(v)),i.throwUnescapedHTML))throw new Xd("One of your code blocks includes unescaped HTML.",v.innerHTML);S=v;const te=S.textContent,ie=Z?u(te,{language:Z,ignoreIllegals:!0}):d(te);v.innerHTML=ie.value,w(v,Z,ie.language),v.result={language:ie.language,re:ie.relevance,relevance:ie.relevance},ie.secondBest&&(v.secondBest={language:ie.secondBest.language,relevance:ie.secondBest.relevance}),ne("after:highlightElement",{el:v,result:ie,text:te})}function M(v){i=al(i,v)}const q=()=>{A(),en("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function C(){A(),en("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let N=!1;function A(){if(document.readyState==="loading"){N=!0;return}document.querySelectorAll(i.cssSelector).forEach(_)}function V(){N&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",V,!1);function R(v,S){let Z=null;try{Z=S(t)}catch(te){if(Tt("Language definition for '{}' could not be registered.".replace("{}",v)),o)Tt(te);else throw te;Z=c}Z.name||(Z.name=v),e[v]=Z,Z.rawDefinition=S.bind(null,t),Z.aliases&&z(Z.aliases,{languageName:v})}function W(v){delete e[v];for(const S of Object.keys(n))n[S]===v&&delete n[S]}function U(){return Object.keys(e)}function Q(v){return v=(v||"").toLowerCase(),e[v]||e[n[v]]}function z(v,{languageName:S}){typeof v=="string"&&(v=[v]),v.forEach(Z=>{n[Z.toLowerCase()]=S})}function J(v){const S=Q(v);return S&&!S.disableAutodetect}function P(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=S=>{v["before:highlightBlock"](Object.assign({block:S.el},S))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=S=>{v["after:highlightBlock"](Object.assign({block:S.el},S))})}function re(v){P(v),r.push(v)}function D(v){const S=r.indexOf(v);S!==-1&&r.splice(S,1)}function ne(v,S){const Z=v;r.forEach(function(te){te[Z]&&te[Z](S)})}function j(v){return en("10.7.0","highlightBlock will be removed entirely in v12.0"),en("10.7.0","Please use highlightElement now."),_(v)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:A,highlightElement:_,highlightBlock:j,configure:M,initHighlighting:q,initHighlightingOnLoad:C,registerLanguage:R,unregisterLanguage:W,listLanguages:U,getLanguage:Q,registerAliases:z,autoDetection:J,inherit:al,addPlugin:re,removePlugin:D}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=Yd,t.regex={concat:qt,lookahead:Xi,either:Wo,optional:dd,anyNumberOfTimes:hd};for(const v in Er)typeof Er[v]=="object"&&Zi(Er[v]);return Object.assign(t,Er),t},tn=fl({});tn.newInstance=()=>fl({});var eg=tn;tn.HighlightJS=tn,tn.default=tn;const Ar=zc(eg),Qo=$e({__name:"Message",props:{message:{type:Object,required:!0}},setup(t){const e=t,{message:n}=ha(e),r=Zt(()=>({"chat-message-from-user":n.value.sender==="user","chat-message-from-bot":n.value.sender==="bot"})),o={highlight(s,c){if(c&&Ar.getLanguage(c))try{return Ar.highlight(s,{language:c}).value}catch{}return""}};return(s,c)=>(ce(),_e("div",{class:on(["chat-message",r.value])},[pn(s.$slots,"default",{},()=>[de(he(ld),{class:"chat-message-markdown",source:he(n).text,options:o},null,8,["source"])])],2))}}),_9="",tg=Ee("div",{class:"chat-message-typing-body"},[Ee("span",{class:"chat-message-typing-circle"}),Ee("span",{class:"chat-message-typing-circle"}),Ee("span",{class:"chat-message-typing-circle"})],-1),ng=$e({__name:"MessageTyping",props:{animation:{type:String,default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Zt(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return(o,s)=>(ce(),Ae(he(Qo),{class:on(r.value),message:n},{default:it(()=>[tg]),_:1},8,["class"]))}}),v9="",rg={class:"chat-messages-list"},og=$e({__name:"MessagesList",props:{messages:{type:Array,required:!0}},setup(t){const e=yo(),{initialMessages:n,waitingForResponse:r}=e;return(o,s)=>(ce(),_e("div",rg,[(ce(!0),_e(Te,null,Ws(he(n),c=>(ce(),Ae(Qo,{key:c.id,message:c},null,8,["message"]))),128)),(ce(!0),_e(Te,null,Ws(t.messages,c=>(ce(),Ae(Qo,{key:c.id,message:c},null,8,["message"]))),128)),he(r)?(ce(),Ae(ng,{key:0})):bn("",!0)]))}}),x9="",sg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},cg=[Ee("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2v7Z"},null,-1)];function ig(t,e){return ce(),_e("svg",sg,cg)}const lg={name:"mdi-send",render:ig},ag={class:"chat-input"},ug=["placeholder","onKeydown"],fg=["disabled"],pg=$e({__name:"Input",setup(t){const e=yo(),{waitingForResponse:n}=e,{t:r}=lr(),o=zt(""),s=Zt(()=>o.value===""||n.value);async function c(l){if(l.preventDefault(),s.value)return;const a=o.value;o.value="",await e.sendMessage(a)}async function i(l){l.shiftKey||await c(l)}return(l,a)=>(ce(),_e("div",ag,[$s(Ee("textarea",{"onUpdate:modelValue":a[0]||(a[0]=u=>o.value=u),rows:"1",placeholder:he(r)("inputPlaceholder"),onKeydown:Wu(i,["enter"])},null,40,ug),[[Zu,o.value]]),Ee("button",{disabled:s.value,class:"chat-input-send-button",onClick:c},[de(he(lg),{height:"32",width:"32"})],8,fg)]))}}),w9="",pl=$e({__name:"Chat",setup(t){const{t:e}=lr(),n=yo(),{messages:r,currentSessionId:o}=n;async function s(){await n.loadPreviousSession(),Ht(()=>{Et.emit("scrollToBottom")})}async function c(){n.startNewSession(),Ht(()=>{Et.emit("scrollToBottom")})}return fn(()=>{s()}),(i,l)=>(ce(),Ae(ff,{class:"chat-wrapper"},Va({footer:it(()=>[he(o)?(ce(),Ae(pg,{key:0})):(ce(),Ae(wf,{key:1}))]),default:it(()=>[he(o)?(ce(),Ae(og,{key:1,messages:he(r)},null,8,["messages"])):(ce(),Ae(df,{key:0,"onClick:button":c}))]),_:2},[he(o)?void 0:{name:"header",fn:it(()=>[Ee("h1",null,Pn(he(e)("title")),1),Ee("p",null,Pn(he(e)("subtitle")),1)]),key:"0"}]),1024))}}),hg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},dg=[Ee("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 gg(t,e){return ce(),_e("svg",hg,dg)}const mg={name:"mdi-chat",render:gg},bg={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},_g=[Ee("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6l1.41-1.42Z"},null,-1)];function vg(t,e){return ce(),_e("svg",bg,_g)}const xg={name:"mdi-chevron-down",render:vg},yg={class:"chat-window-wrapper"},wg={class:"chat-window"},kg=$e({__name:"ChatWindow",setup(t){const e=zt(!1);function n(){e.value=!e.value,e.value&&Ht(()=>{Et.emit("scrollToBottom")})}return(r,o)=>(ce(),_e("div",yg,[de(ir,{name:"chat-window-transition"},{default:it(()=>[$s(Ee("div",wg,[de(pl)],512),[[Ju,e.value]])]),_:1}),Ee("div",{class:"chat-window-toggle",onClick:n},[de(ir,{name:"chat-window-toggle-transition",mode:"out-in"},{default:it(()=>[e.value?(ce(),Ae(he(xg),{key:1,height:"32",width:"32"})):(ce(),Ae(he(mg),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),C9="";function Eg(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"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),a={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,l,i,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,c,l,i]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[a],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[a],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:a}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const hl="[A-Za-z$_][0-9A-Za-z$_]*",Cg=["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"],Ag=["true","false","null","undefined","NaN","Infinity"],dl=["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"],Sg=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Dg=[].concat(ml,dl,gl);function qg(t){const e=t.regex,n=(S,{after:Z})=>{const te="</"+S[0].slice(1);return S.input.indexOf(te,Z)!==-1},r=hl,o={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(S,Z)=>{const te=S[0].length+S.index,ie=S.input[te];if(ie==="<"||ie===","){Z.ignoreMatch();return}ie===">"&&(n(S,{after:te})||Z.ignoreMatch());let ae;const Re=S.input.substring(te);if(ae=Re.match(/^\s*=/)){Z.ignoreMatch();return}if((ae=Re.match(/^\s+extends\s+/))&&ae.index===0){Z.ignoreMatch();return}}},i={$pattern:hl,keyword:Cg,literal:Ag,built_in:Dg,"variable.language":Sg},l="[0-9](_?[0-9])*",a=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${a})|\\.)?|(${a}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${a})\\b|\\.)?|(${a})\\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:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},_={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},C={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]},N=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,w,_,M,{match:/\$\d+/},f];p.contains=N.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(N)});const A=[].concat(C,p.contains),V=A.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(A)}]),R={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:V},W={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"}}]},U={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:{_:[...dl,...gl]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[R],illegal:/%/},J={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function P(S){return e.concat("(?!",S.join("|"),")")}const re={match:e.concat(/\b/,P([...ml,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},D={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:/\(\)/},R]},j="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(j)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[R]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:U},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,w,_,M,C,{match:/\$\d+/},f,U,{className:"attr",begin:r+e.lookahead(":"),relevance:0},v,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,t.REGEXP_MODE,{className:"function",begin:j,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:V}]}]},{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"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[R,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},D,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[R]},re,J,W,ne,{match:/\$[(.]/}]}}const Tg=$e({__name:"App",props:{},setup(t){const{options:e}=wo(),n=Zt(()=>e.mode==="fullscreen");return fn(()=>{Ar.registerLanguage("xml",Eg),Ar.registerLanguage("javascript",qg)}),(r,o)=>n.value?(ce(),Ae(he(pl),{key:0,class:"n8n-chat"})):(ce(),Ae(he(kg),{key:1,class:"n8n-chat"}))}});var Sr,Rg=new Uint8Array(16);function Lg(){if(!Sr&&(Sr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Sr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sr(Rg)}const Ng=/^(?:[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 Mg(t){return typeof t=="string"&&Ng.test(t)}for(var ye=[],es=0;es<256;++es)ye.push((es+256).toString(16).substr(1));function Ig(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(ye[t[e+0]]+ye[t[e+1]]+ye[t[e+2]]+ye[t[e+3]]+"-"+ye[t[e+4]]+ye[t[e+5]]+"-"+ye[t[e+6]]+ye[t[e+7]]+"-"+ye[t[e+8]]+ye[t[e+9]]+"-"+ye[t[e+10]]+ye[t[e+11]]+ye[t[e+12]]+ye[t[e+13]]+ye[t[e+14]]+ye[t[e+15]]).toLowerCase();if(!Mg(n))throw TypeError("Stringified UUID is invalid");return n}function Dn(t,e,n){t=t||{};var r=t.random||(t.rng||Lg)();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 Ig(r)}async function Og(){return""}async function bl(...t){var r;const e=await Og();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 Fg(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 Bg(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 Pg={install(t,e){t.provide(Uc,e);const n=zt([]),r=zt(null),o=zt(!1),s=Zt(()=>(e.initialMessages??[]).map(a=>({id:Dn(),text:a,sender:"bot",createdAt:new Date().toISOString()})));async function c(a){const u={id:Dn(),text:a,sender:"user",createdAt:new Date().toISOString()};n.value.push(u),o.value=!0,Ht(()=>{Et.emit("scrollToBottom")});const f=await Bg(a,r.value,e),p={id:Dn(),text:f.output,sender:"bot",createdAt:new Date().toISOString()};n.value.push(p),o.value=!1,Ht(()=>{Et.emit("scrollToBottom")})}async function i(){const a=localStorage.getItem(Bc)??Dn(),u=await Fg(a,e),f=new Date().toISOString();return n.value=((u==null?void 0:u.data)||[]).map((p,d)=>({id:`${d}`,text:p.kwargs.content,sender:p.id.includes("HumanMessage")?"user":"bot",createdAt:f})),n.value.length&&(r.value=a),a}async function l(){r.value=Dn(),localStorage.setItem(Bc,r.value)}t.provide(Pc,{initialMessages:s,messages:n,currentSessionId:r,waitingForResponse:o,loadPreviousSession:i,startNewSession:l,sendMessage:c})}};function Ug(t){var o,s;const e={...yn,...t,webhookConfig:{...yn.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...yn.i18n,...t==null?void 0:t.i18n,en:{...(o=yn.i18n)==null?void 0:o.en,...(s=t==null?void 0:t.i18n)==null?void 0:s.en}},theme:{...yn.theme,...t==null?void 0:t.theme}},n=e.target??pf;typeof n=="string"&&cf(n);const r=Qu(Tg);return r.use(Pg,e),r.mount(n),r}Nt.createChat=Ug,Object.defineProperty(Nt,Symbol.toStringTag,{value:"Module"})});