@n8n/chat 0.55.0 → 0.56.0

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,7 +1,7 @@
1
1
  var Hy = Object.defineProperty;
2
2
  var jy = (e, t, n) => t in e ? Hy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ts = (e, t, n) => jy(e, typeof t != "symbol" ? t + "" : t, n);
4
- /*! Package version @n8n/chat@0.55.0 */
4
+ /*! Package version @n8n/chat@0.56.0 */
5
5
  /**
6
6
  * @vue/shared v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -1,4 +1,4 @@
1
- (function(vt,qt){typeof exports=="object"&&typeof module<"u"?qt(exports):typeof define=="function"&&define.amd?define(["exports"],qt):(vt=typeof globalThis<"u"?globalThis:vt||self,qt(vt.N8nChat={}))})(this,(function(vt){"use strict";var RN=Object.defineProperty;var ON=(vt,qt,Ue)=>qt in vt?RN(vt,qt,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):vt[qt]=Ue;var pa=(vt,qt,Ue)=>ON(vt,typeof qt!="symbol"?qt+"":qt,Ue);/*! Package version @n8n/chat@0.55.0 *//**
1
+ (function(vt,qt){typeof exports=="object"&&typeof module<"u"?qt(exports):typeof define=="function"&&define.amd?define(["exports"],qt):(vt=typeof globalThis<"u"?globalThis:vt||self,qt(vt.N8nChat={}))})(this,(function(vt){"use strict";var RN=Object.defineProperty;var ON=(vt,qt,Ue)=>qt in vt?RN(vt,qt,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):vt[qt]=Ue;var pa=(vt,qt,Ue)=>ON(vt,typeof qt!="symbol"?qt+"":qt,Ue);/*! Package version @n8n/chat@0.56.0 *//**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
package/dist/chat.es.js CHANGED
@@ -2,7 +2,7 @@ var _v = Object.defineProperty;
2
2
  var bv = (e, t, n) => t in e ? _v(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var bo = (e, t, n) => bv(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { nextTick as Me, ref as D, computed as I, createElementBlock as C, openBlock as b, createElementVNode as p, renderSlot as ae, inject as Le, isRef as Cp, defineComponent as W, createVNode as he, withCtx as J, createTextVNode as mr, toDisplayString as ke, unref as _, createCommentVNode as te, getCurrentScope as Sp, onScopeDispose as Ep, readonly as Ap, createBlock as Y, withModifiers as tt, onMounted as je, onUnmounted as $p, normalizeStyle as Ue, withDirectives as rt, withKeys as ft, vModelText as Mp, Fragment as He, renderList as ot, onBeforeUnmount as Ft, getCurrentInstance as lt, watch as ue, warn as yv, shallowRef as mn, onBeforeMount as wv, provide as St, mergeProps as Ze, toRef as Bt, useAttrs as ao, useSlots as Ip, normalizeClass as H, resolveDynamicComponent as ht, vShow as Qt, Transition as er, reactive as zn, onUpdated as kv, cloneVNode as xv, Text as Tp, Comment as Cv, Teleport as Sv, onDeactivated as Ev, watchEffect as Gc, toRaw as Vo, toRefs as ss, triggerRef as Rr, resolveComponent as $n, resolveDirective as Kc, createSlots as Kr, h as Rt, normalizeProps as Xr, createStaticVNode as Dn, useCssModule as is, pushScopeId as Av, popScopeId as $v, guardReactiveProps as Lp, mergeDefaults as Op, createApp as Mv } from "vue";
5
- /*! Package version @n8n/chat@0.55.0 */
5
+ /*! Package version @n8n/chat@0.56.0 */
6
6
  const Pr = {
7
7
  webhookUrl: "http://localhost:5678",
8
8
  webhookConfig: {
@@ -23976,7 +23976,7 @@ const bVe = /* @__PURE__ */ Er(jo), yVe = /@\[youtube]\(([\w-]{11}(?:\?.*)?)\)/i
23976
23976
  tasklists: {
23977
23977
  enabled: !0,
23978
23978
  label: !0,
23979
- labelAfter: !0
23979
+ labelAfter: !1
23980
23980
  },
23981
23981
  youtube: {}
23982
23982
  }) }
package/dist/chat.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(Ae,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(Ae=typeof globalThis<"u"?globalThis:Ae||self,n(Ae.N8nChat={},Ae.Vue))})(this,(function(Ae,n){"use strict";var _R=Object.defineProperty;var bR=(Ae,n,Bt)=>n in Ae?_R(Ae,n,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ae[n]=Bt;var qr=(Ae,n,Bt)=>bR(Ae,typeof n!="symbol"?n+"":n,Bt);/*! Package version @n8n/chat@0.55.0 */const Bt={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,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..",closeButtonTooltip:"Close chat"}},theme:{},enableStreaming:!1},Qg="#n8n-chat",Yc="n8n-chat/sessionId",Jc="Chat",Qc="ChatOptions";for(var Ve=[],Dr=0;Dr<256;++Dr)Ve.push((Dr+256).toString(16).slice(1));function e1(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}var No,t1=new Uint8Array(16);function n1(){if(!No&&(No=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!No))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return No(t1)}var o1=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const el={randomUUID:o1};function an(e,t,o){if(el.randomUUID&&!e)return el.randomUUID();e=e||{};var r=e.random||(e.rng||n1)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,e1(r)}async function r1(){return""}async function Pr(...e){var i,c;const t=await r1(),o=(i=e[1])==null?void 0:i.body,r={...t?{authorization:`Bearer ${t}`}:{},...(c=e[1])==null?void 0:c.headers};o instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json";const a=await fetch(e[0],{...e[1],mode:"cors",cache:"no-cache",headers:r});let s;try{s=await a.clone().json()}catch{s=await a.text()}return s}async function tl(e,t={},o={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await Pr(r,{...o,method:"GET"})}async function nl(e,t={},o={}){return await Pr(e,{...o,method:"POST",body:JSON.stringify(t)})}async function s1(e,t={},o=[],r={}){const a=new FormData;for(const s in t){const i=t[s];typeof i=="object"&&i!==null?a.append(s,JSON.stringify(i)):a.append(s,i)}for(const s of o)a.append("files",s);return await Pr(e,{...r,method:"POST",body:a})}async function a1(e,t){var r,a;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?nl:tl)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(a=t.webhookConfig)==null?void 0:a.headers})}async function i1(e,t,o,r){var s,i,c;return t.length>0?await s1(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:o,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},t,{headers:(s=r.webhookConfig)==null?void 0:s.headers}):await(((i=r.webhookConfig)==null?void 0:i.method)==="POST"?nl:tl)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:o,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},{headers:(c=r.webhookConfig)==null?void 0:c.headers})}function c1(){let e="";const t=new TextDecoder;return new TransformStream({transform(o,r){e+=t.decode(o,{stream:!0});const a=e.split(`
1
+ (function(Ae,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(Ae=typeof globalThis<"u"?globalThis:Ae||self,n(Ae.N8nChat={},Ae.Vue))})(this,(function(Ae,n){"use strict";var _R=Object.defineProperty;var bR=(Ae,n,Bt)=>n in Ae?_R(Ae,n,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ae[n]=Bt;var qr=(Ae,n,Bt)=>bR(Ae,typeof n!="symbol"?n+"":n,Bt);/*! Package version @n8n/chat@0.56.0 */const Bt={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,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..",closeButtonTooltip:"Close chat"}},theme:{},enableStreaming:!1},Qg="#n8n-chat",Yc="n8n-chat/sessionId",Jc="Chat",Qc="ChatOptions";for(var Ve=[],Dr=0;Dr<256;++Dr)Ve.push((Dr+256).toString(16).slice(1));function e1(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}var No,t1=new Uint8Array(16);function n1(){if(!No&&(No=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!No))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return No(t1)}var o1=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const el={randomUUID:o1};function an(e,t,o){if(el.randomUUID&&!e)return el.randomUUID();e=e||{};var r=e.random||(e.rng||n1)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,e1(r)}async function r1(){return""}async function Pr(...e){var i,c;const t=await r1(),o=(i=e[1])==null?void 0:i.body,r={...t?{authorization:`Bearer ${t}`}:{},...(c=e[1])==null?void 0:c.headers};o instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json";const a=await fetch(e[0],{...e[1],mode:"cors",cache:"no-cache",headers:r});let s;try{s=await a.clone().json()}catch{s=await a.text()}return s}async function tl(e,t={},o={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await Pr(r,{...o,method:"GET"})}async function nl(e,t={},o={}){return await Pr(e,{...o,method:"POST",body:JSON.stringify(t)})}async function s1(e,t={},o=[],r={}){const a=new FormData;for(const s in t){const i=t[s];typeof i=="object"&&i!==null?a.append(s,JSON.stringify(i)):a.append(s,i)}for(const s of o)a.append("files",s);return await Pr(e,{...r,method:"POST",body:a})}async function a1(e,t){var r,a;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?nl:tl)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(a=t.webhookConfig)==null?void 0:a.headers})}async function i1(e,t,o,r){var s,i,c;return t.length>0?await s1(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:o,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},t,{headers:(s=r.webhookConfig)==null?void 0:s.headers}):await(((i=r.webhookConfig)==null?void 0:i.method)==="POST"?nl:tl)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:o,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},{headers:(c=r.webhookConfig)==null?void 0:c.headers})}function c1(){let e="";const t=new TextDecoder;return new TransformStream({transform(o,r){e+=t.decode(o,{stream:!0});const a=e.split(`
2
2
  `);e=a.pop()??"";for(const s of a)if(s.trim())try{const i=JSON.parse(s);r.enqueue(i)}catch{r.enqueue({type:"item",content:s})}},flush(o){if(e.trim())try{const r=JSON.parse(e);o.enqueue(r)}catch{o.enqueue({type:"item",content:e})}}})}async function l1(e,t,o,r,a){var l,d;const s=await(t.length>0?u1(e,t,o,r):d1(e,o,r));if(!s.ok){const f=await s.text();throw console.error("HTTP error response:",s.status,f),new Error(`Error while sending message. Error: ${f}`)}if(!s.body)throw new Error("Response body is not readable");const i=s.body.pipeThrough(c1()).getReader();let c=!1;try{for(;;){const{done:f,value:u}=await i.read();if(f)break;const g=((l=u.metadata)==null?void 0:l.nodeId)||"unknown",p=(d=u.metadata)==null?void 0:d.runIndex;switch(u.type){case"begin":a.onBeginMessage(g,p);break;case"item":c=!0,a.onChunk(u.content??"",g,p);break;case"end":a.onEndMessage(g,p);break;case"error":c=!0,a.onChunk(`Error: ${u.content??"Unknown error"}`,g,p),a.onEndMessage(g,p);break}}}finally{i.releaseLock()}return{hasReceivedChunks:c}}async function u1(e,t,o,r){var s;const a=new FormData;a.append("action","sendMessage"),a.append(r.chatSessionKey,o),a.append(r.chatInputKey,e),r.metadata&&a.append("metadata",JSON.stringify(r.metadata));for(const i of t)a.append("files",i);return await fetch(r.webhookUrl,{method:"POST",headers:{Accept:"text/plain",...(s=r.webhookConfig)==null?void 0:s.headers},body:a})}async function d1(e,t,o){var a;const r={action:"sendMessage",[o.chatSessionKey]:t,[o.chatInputKey]:e,...o.metadata?{metadata:o.metadata}:{}};return await fetch(o.webhookUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/plain",...(a=o.webhookConfig)==null?void 0:a.headers},body:JSON.stringify(r)})}function f1(){const e=new Map;function t(a,s){const i=e.get(a);i&&i.splice(i.indexOf(s)>>>0,1)}function o(a,s){let i=e.get(a);return i?i.push(s):i=[s],e.set(a,i),()=>t(a,s)}function r(a,s){const i=e.get(a);i&&i.slice().forEach(async c=>{await c(s)})}return{on:o,off:t,emit:r}}function p1(e){if(!document.querySelector(e)){const o=document.createElement("div");e.startsWith("#")&&(o.id=e.replace("#","")),e.startsWith(".")&&o.classList.add(e.replace(".","")),document.body.appendChild(o)}}function h1(e,t,o,r){const a=new URL(e).origin,s=a.startsWith("https")?"wss":"ws";return`${a.replace(/^https?/,s)}/chat?sessionId=${o}&executionId=${t}&isPublic=true`}const Ge=f1();class m1{constructor(){qr(this,"nodeRuns",new Map);qr(this,"runOrder",[]);qr(this,"activeRuns",new Set)}getRunKey(t,o){return o!==void 0?`${t}-${o}`:t}initializeRun(t,o){const r=this.getRunKey(t,o);if(!this.nodeRuns.has(r)){const a=xn();return this.nodeRuns.set(r,{content:"",isComplete:!1,message:a}),this.runOrder.push(r),a}return this.nodeRuns.get(r).message}registerRunStart(t,o){const r=this.getRunKey(t,o);this.activeRuns.add(r)}addRunToActive(t,o){const r=this.getRunKey(t,o);return this.activeRuns.add(r),this.initializeRun(t,o)}removeRunFromActive(t,o){const r=this.getRunKey(t,o);this.activeRuns.delete(r);const a=this.nodeRuns.get(r);a&&(a.isComplete=!0)}addChunkToRun(t,o,r){const a=this.getRunKey(t,r),s=this.nodeRuns.get(a);if(s){s.content+=o;const i={...s.message,text:s.content};return s.message=i,i}return null}getRunMessage(t,o){const r=this.getRunKey(t,o),a=this.nodeRuns.get(r);return(a==null?void 0:a.message)??null}areAllRunsComplete(){return Array.from(this.nodeRuns.values()).every(t=>t.isComplete)}getRunCount(){return this.runOrder.length}getActiveRunCount(){return this.activeRuns.size}getAllMessages(){return this.runOrder.map(t=>{var o;return(o=this.nodeRuns.get(t))==null?void 0:o.message}).filter(t=>t!==void 0)}reset(){this.nodeRuns.clear(),this.runOrder=[],this.activeRuns.clear()}}function xn(e){return{id:e??an(),type:"text",text:"",sender:"bot"}}function ol(e,t,o){const r=e.findIndex(a=>a.id===t);if(r===-1)throw new Error(`Can't update message. No message with id ${t} found`);e[r]=o}function g1(e,t,o,r,a,s){try{if(e==="")return;if(t){let i=o.getRunMessage(t,s);i||(i=o.addRunToActive(t,s),a.value.push(i));const c=o.addChunkToRun(t,e,s);c&&ol(a.value,c.id,c)}else{r.value||(r.value=xn(),a.value.push(r.value));const i={...r.value,text:r.value.text+e};ol(a.value,r.value.id,i),r.value=i}n.nextTick(()=>{Ge.emit("scrollToBottom")})}catch(i){console.error("Error handling stream chunk:",i)}}function _1(e,t,o){try{t.registerRunStart(e,o)}catch(r){console.error("Error handling node start:",r)}}function b1(e,t,o){try{t.removeRunFromActive(e,o)}catch(r){console.error("Error handling node complete:",r)}}function k1(e,t=[]){return{id:an(),text:e,sender:"user",files:t}}function w1(e){let t=e.output??e.text??e.message??"";if(t===""&&Object.keys(e).length>0)try{t=JSON.stringify(e,null,2)}catch{}return t}function y1(e){const{receivedMessage:t,messages:o}=e;t.value&&o.value.some(a=>a.sender==="bot"&&"text"in a&&a.text.trim().length>0)||(t.value=xn(),o.value.push(t.value)),t.value.text="[No response received. This could happen if streaming is enabled in the trigger but disabled in agent node(s)]"}function C1(e){const{error:t,receivedMessage:o,messages:r}=e;o.value??(o.value=xn()),o.value.text="Error: Failed to receive response",r.value.includes(o.value)||r.value.push(o.value),console.error("Chat API error:",t)}async function E1(e){const{text:t,files:o,sessionId:r,options:a,messages:s,receivedMessage:i,streamingManager:c}=e,l={onChunk:(f,u,g)=>{g1(f,u,c,i,s,g)},onBeginMessage:(f,u)=>{_1(f,c,u)},onEndMessage:(f,u)=>{b1(f,c,u)}},{hasReceivedChunks:d}=await l1(t,o,r,a,l);d||y1({receivedMessage:i,messages:s})}async function x1(e){const{text:t,files:o,sessionId:r,options:a}=e,s=await i1(t,o,r,a);if(s!=null&&s.executionStarted)return{response:s};const i=xn();return i.text=w1(s),{botMessage:i}}const v1={install(e,t){e.provide(Qc,t);const o=n.ref([]),r=n.ref(null),a=n.ref(!1),s=n.computed(()=>(t.initialMessages??[]).map(f=>({id:an(),text:f,sender:"bot"})));async function i(f,u=[]){var m;const g=k1(f,u);o.value.push(g),a.value=!0,n.nextTick(()=>{Ge.emit("scrollToBottom")});const p=n.ref(null),_=new m1;try{if(t!=null&&t.enableStreaming)await E1({text:f,files:u,sessionId:r.value,options:t,messages:o,receivedMessage:p,streamingManager:_});else{const b=await x1({text:f,files:u,sessionId:r.value,options:t});if((m=b.response)!=null&&m.executionStarted)return a.value=!1,b.response;b.botMessage&&(p.value=b.botMessage,o.value.push(b.botMessage))}}catch(b){C1({error:b,receivedMessage:p,messages:o})}finally{a.value=!1}return n.nextTick(()=>{Ge.emit("scrollToBottom")}),null}async function c(){if(!t.loadPreviousSession)return;const f=localStorage.getItem(Yc)??an(),u=await a1(f,t);return o.value=((u==null?void 0:u.data)||[]).map((g,p)=>({id:`${p}`,text:g.kwargs.content,sender:g.id.includes("HumanMessage")?"user":"bot"})),o.value.length&&(r.value=f),f}async function l(){r.value=an(),localStorage.setItem(Yc,r.value)}const d={initialMessages:s,messages:o,currentSessionId:r,waitingForResponse:a,loadPreviousSession:c,startNewSession:l,sendMessage:i};e.provide(Jc,d),e.config.globalProperties.$chat=d}};var vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fr,rl;function S1(){if(rl)return Fr;rl=1;function e(E){return E instanceof Map?E.clear=E.delete=E.set=function(){throw new Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=function(){throw new Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(N=>{const R=E[N],Y=typeof R;(Y==="object"||Y==="function")&&!Object.isFrozen(R)&&e(R)}),E}class t{constructor(N){N.data===void 0&&(N.data={}),this.data=N.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function o(E){return E.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function r(E,...N){const R=Object.create(null);for(const Y in E)R[Y]=E[Y];return N.forEach(function(Y){for(const ue in Y)R[ue]=Y[ue]}),R}const a="</span>",s=E=>!!E.scope,i=(E,{prefix:N})=>{if(E.startsWith("language:"))return E.replace("language:","language-");if(E.includes(".")){const R=E.split(".");return[`${N}${R.shift()}`,...R.map((Y,ue)=>`${Y}${"_".repeat(ue+1)}`)].join(" ")}return`${N}${E}`};class c{constructor(N,R){this.buffer="",this.classPrefix=R.classPrefix,N.walk(this)}addText(N){this.buffer+=o(N)}openNode(N){if(!s(N))return;const R=i(N.scope,{prefix:this.classPrefix});this.span(R)}closeNode(N){s(N)&&(this.buffer+=a)}value(){return this.buffer}span(N){this.buffer+=`<span class="${N}">`}}const l=(E={})=>{const N={children:[]};return Object.assign(N,E),N};class d{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(N){this.top.children.push(N)}openNode(N){const R=l({scope:N});this.add(R),this.stack.push(R)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(N){return this.constructor._walk(N,this.rootNode)}static _walk(N,R){return typeof R=="string"?N.addText(R):R.children&&(N.openNode(R),R.children.forEach(Y=>this._walk(N,Y)),N.closeNode(R)),N}static _collapse(N){typeof N!="string"&&N.children&&(N.children.every(R=>typeof R=="string")?N.children=[N.children.join("")]:N.children.forEach(R=>{d._collapse(R)}))}}class f extends d{constructor(N){super(),this.options=N}addText(N){N!==""&&this.add(N)}startScope(N){this.openNode(N)}endScope(){this.closeNode()}__addSublanguage(N,R){const Y=N.root;R&&(Y.scope=`language:${R}`),this.add(Y)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function u(E){return E?typeof E=="string"?E:E.source:null}function g(E){return m("(?=",E,")")}function p(E){return m("(?:",E,")*")}function _(E){return m("(?:",E,")?")}function m(...E){return E.map(R=>u(R)).join("")}function b(E){const N=E[E.length-1];return typeof N=="object"&&N.constructor===Object?(E.splice(E.length-1,1),N):{}}function h(...E){return"("+(b(E).capture?"":"?:")+E.map(Y=>u(Y)).join("|")+")"}function k(E){return new RegExp(E.toString()+"|").exec("").length-1}function w(E,N){const R=E&&E.exec(N);return R&&R.index===0}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function x(E,{joinWith:N}){let R=0;return E.map(Y=>{R+=1;const ue=R;let me=u(Y),W="";for(;me.length>0;){const U=y.exec(me);if(!U){W+=me;break}W+=me.substring(0,U.index),me=me.substring(U.index+U[0].length),U[0][0]==="\\"&&U[1]?W+="\\"+String(Number(U[1])+ue):(W+=U[0],U[0]==="("&&R++)}return W}).map(Y=>`(${Y})`).join(N)}const C=/\b\B/,v="[a-zA-Z]\\w*",S="[a-zA-Z_]\\w*",T="\\b\\d+(\\.\\d+)?",$="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",M="\\b(0b[01]+)",V="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",X=(E={})=>{const N=/^#![ ]*\//;return E.binary&&(E.begin=m(N,/.*\b/,E.binary,/\b.*/)),r({scope:"meta",begin:N,end:/$/,relevance:0,"on:begin":(R,Y)=>{R.index!==0&&Y.ignoreMatch()}},E)},I={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[I]},L={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[I]},z={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/},O=function(E,N,R={}){const Y=r({scope:"comment",begin:E,end:N,contains:[]},R);Y.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 ue=h("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 Y.contains.push({begin:m(/[ ]+/,"(",ue,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Y},P=O("//","$"),B=O("/\\*","\\*/"),D=O("#","$"),q={scope:"number",begin:T,relevance:0},K={scope:"number",begin:$,relevance:0},Q={scope:"number",begin:M,relevance:0},re={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[I,{begin:/\[/,end:/\]/,relevance:0,contains:[I]}]},ce={scope:"title",begin:v,relevance:0},we={scope:"title",begin:S,relevance:0},_e={begin:"\\.\\s*"+S,relevance:0};var Z=Object.freeze({__proto__:null,APOS_STRING_MODE:H,BACKSLASH_ESCAPE:I,BINARY_NUMBER_MODE:Q,BINARY_NUMBER_RE:M,COMMENT:O,C_BLOCK_COMMENT_MODE:B,C_LINE_COMMENT_MODE:P,C_NUMBER_MODE:K,C_NUMBER_RE:$,END_SAME_AS_BEGIN:function(E){return Object.assign(E,{"on:begin":(N,R)=>{R.data._beginMatch=N[1]},"on:end":(N,R)=>{R.data._beginMatch!==N[1]&&R.ignoreMatch()}})},HASH_COMMENT_MODE:D,IDENT_RE:v,MATCH_NOTHING_RE:C,METHOD_GUARD:_e,NUMBER_MODE:q,NUMBER_RE:T,PHRASAL_WORDS_MODE:z,QUOTE_STRING_MODE:L,REGEXP_MODE:re,RE_STARTERS_RE:V,SHEBANG:X,TITLE_MODE:ce,UNDERSCORE_IDENT_RE:S,UNDERSCORE_TITLE_MODE:we});function te(E,N){E.input[E.index-1]==="."&&N.ignoreMatch()}function de(E,N){E.className!==void 0&&(E.scope=E.className,delete E.className)}function ye(E,N){N&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=te,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function Ne(E,N){Array.isArray(E.illegal)&&(E.illegal=h(...E.illegal))}function Ie(E,N){if(E.match){if(E.begin||E.end)throw new Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function qe(E,N){E.relevance===void 0&&(E.relevance=1)}const Mt=(E,N)=>{if(!E.beforeMatch)return;if(E.starts)throw new Error("beforeMatch cannot be used with starts");const R=Object.assign({},E);Object.keys(E).forEach(Y=>{delete E[Y]}),E.keywords=R.keywords,E.begin=m(R.beforeMatch,g(R.begin)),E.starts={relevance:0,contains:[Object.assign(R,{endsParent:!0})]},E.relevance=0,delete R.beforeMatch},ot=["of","and","for","in","not","or","if","then","parent","list","value"],Et="keyword";function He(E,N,R=Et){const Y=Object.create(null);return typeof E=="string"?ue(R,E.split(" ")):Array.isArray(E)?ue(R,E):Object.keys(E).forEach(function(me){Object.assign(Y,He(E[me],N,me))}),Y;function ue(me,W){N&&(W=W.map(U=>U.toLowerCase())),W.forEach(function(U){const oe=U.split("|");Y[oe[0]]=[me,ht(oe[0],oe[1])]})}}function ht(E,N){return N?Number(N):rt(E)?0:1}function rt(E){return ot.includes(E.toLowerCase())}const xt={},Oe=E=>{console.error(E)},F=(E,...N)=>{console.log(`WARN: ${E}`,...N)},ne=(E,N)=>{xt[`${E}/${N}`]||(console.log(`Deprecated as of ${E}. ${N}`),xt[`${E}/${N}`]=!0)},Ce=new Error;function Me(E,N,{key:R}){let Y=0;const ue=E[R],me={},W={};for(let U=1;U<=N.length;U++)W[U+Y]=ue[U],me[U+Y]=!0,Y+=k(N[U-1]);E[R]=W,E[R]._emit=me,E[R]._multi=!0}function vt(E){if(Array.isArray(E.begin)){if(E.skip||E.excludeBegin||E.returnBegin)throw Oe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ce;if(typeof E.beginScope!="object"||E.beginScope===null)throw Oe("beginScope must be object"),Ce;Me(E,E.begin,{key:"beginScope"}),E.begin=x(E.begin,{joinWith:""})}}function kn(E){if(Array.isArray(E.end)){if(E.skip||E.excludeEnd||E.returnEnd)throw Oe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ce;if(typeof E.endScope!="object"||E.endScope===null)throw Oe("endScope must be object"),Ce;Me(E,E.end,{key:"endScope"}),E.end=x(E.end,{joinWith:""})}}function wn(E){E.scope&&typeof E.scope=="object"&&E.scope!==null&&(E.beginScope=E.scope,delete E.scope)}function Gn(E){wn(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),vt(E),kn(E)}function vo(E){function N(W,U){return new RegExp(u(W),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(U?"g":""))}class R{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(U,oe){oe.position=this.position++,this.matchIndexes[this.matchAt]=oe,this.regexes.push([oe,U]),this.matchAt+=k(U)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const U=this.regexes.map(oe=>oe[1]);this.matcherRe=N(x(U,{joinWith:"|"}),!0),this.lastIndex=0}exec(U){this.matcherRe.lastIndex=this.lastIndex;const oe=this.matcherRe.exec(U);if(!oe)return null;const Le=oe.findIndex((st,Uc)=>Uc>0&&st!==void 0),ge=this.matchIndexes[Le];return oe.splice(0,Le),Object.assign(oe,ge)}}class Y{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(U){if(this.multiRegexes[U])return this.multiRegexes[U];const oe=new R;return this.rules.slice(U).forEach(([Le,ge])=>oe.addRule(Le,ge)),oe.compile(),this.multiRegexes[U]=oe,oe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(U,oe){this.rules.push([U,oe]),oe.type==="begin"&&this.count++}exec(U){const oe=this.getMatcher(this.regexIndex);oe.lastIndex=this.lastIndex;let Le=oe.exec(U);if(this.resumingScanAtSamePosition()&&!(Le&&Le.index===this.lastIndex)){const ge=this.getMatcher(0);ge.lastIndex=this.lastIndex+1,Le=ge.exec(U)}return Le&&(this.regexIndex+=Le.position+1,this.regexIndex===this.count&&this.considerAll()),Le}}function ue(W){const U=new Y;return W.contains.forEach(oe=>U.addRule(oe.begin,{rule:oe,type:"begin"})),W.terminatorEnd&&U.addRule(W.terminatorEnd,{type:"end"}),W.illegal&&U.addRule(W.illegal,{type:"illegal"}),U}function me(W,U){const oe=W;if(W.isCompiled)return oe;[de,Ie,Gn,Mt].forEach(ge=>ge(W,U)),E.compilerExtensions.forEach(ge=>ge(W,U)),W.__beforeBegin=null,[ye,Ne,qe].forEach(ge=>ge(W,U)),W.isCompiled=!0;let Le=null;return typeof W.keywords=="object"&&W.keywords.$pattern&&(W.keywords=Object.assign({},W.keywords),Le=W.keywords.$pattern,delete W.keywords.$pattern),Le=Le||/\w+/,W.keywords&&(W.keywords=He(W.keywords,E.case_insensitive)),oe.keywordPatternRe=N(Le,!0),U&&(W.begin||(W.begin=/\B|\b/),oe.beginRe=N(oe.begin),!W.end&&!W.endsWithParent&&(W.end=/\B|\b/),W.end&&(oe.endRe=N(oe.end)),oe.terminatorEnd=u(oe.end)||"",W.endsWithParent&&U.terminatorEnd&&(oe.terminatorEnd+=(W.end?"|":"")+U.terminatorEnd)),W.illegal&&(oe.illegalRe=N(W.illegal)),W.contains||(W.contains=[]),W.contains=[].concat(...W.contains.map(function(ge){return Zn(ge==="self"?W:ge)})),W.contains.forEach(function(ge){me(ge,oe)}),W.starts&&me(W.starts,U),oe.matcher=ue(oe),oe}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=r(E.classNameAliases||{}),me(E)}function Gt(E){return E?E.endsWithParent||Gt(E.starts):!1}function Zn(E){return E.variants&&!E.cachedVariants&&(E.cachedVariants=E.variants.map(function(N){return r(E,{variants:null},N)})),E.cachedVariants?E.cachedVariants:Gt(E)?r(E,{starts:E.starts?r(E.starts):null}):Object.isFrozen(E)?r(E):E}var So="11.11.1";class yn extends Error{constructor(N,R){super(N),this.name="HTMLInjectionError",this.html=R}}const on=o,Wn=r,Cn=Symbol("nomatch"),Bo=7,Kn=function(E){const N=Object.create(null),R=Object.create(null),Y=[];let ue=!0;const me="Could not find the language '{}', did you forget to load/include a language module?",W={disableAutodetect:!0,name:"Plain text",contains:[]};let U={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function oe(j){return U.noHighlightRe.test(j)}function Le(j){let ee=j.className+" ";ee+=j.parentNode?j.parentNode.className:"";const fe=U.languageDetectRe.exec(ee);if(fe){const xe=rn(fe[1]);return xe||(F(me.replace("{}",fe[1])),F("Falling back to no-highlight mode for this block.",j)),xe?fe[1]:"no-highlight"}return ee.split(/\s+/).find(xe=>oe(xe)||rn(xe))}function ge(j,ee,fe){let xe="",Re="";typeof ee=="object"?(xe=j,fe=ee.ignoreIllegals,Re=ee.language):(ne("10.7.0","highlight(lang, code, ...args) has been deprecated."),ne("10.7.0",`Please use highlight(code, options) instead.
3
3
  https://github.com/highlightjs/highlight.js/issues/2277`),Re=j,xe=ee),fe===void 0&&(fe=!0);const St={code:xe,language:Re};Rr("before:highlight",St);const sn=St.result?St.result:st(St.language,St.code,fe);return sn.code=St.code,Rr("after:highlight",sn),sn}function st(j,ee,fe,xe){const Re=Object.create(null);function St(G,J){return G.keywords[J]}function sn(){if(!se.keywords){De.addText(ve);return}let G=0;se.keywordPatternRe.lastIndex=0;let J=se.keywordPatternRe.exec(ve),ie="";for(;J;){ie+=ve.substring(G,J.index);const Ee=Lt.case_insensitive?J[0].toLowerCase():J[0],Ue=St(se,Ee);if(Ue){const[Zt,mR]=Ue;if(De.addText(ie),ie="",Re[Ee]=(Re[Ee]||0)+1,Re[Ee]<=Bo&&(zr+=mR),Zt.startsWith("_"))ie+=J[0];else{const gR=Lt.classNameAliases[Zt]||Zt;It(J[0],gR)}}else ie+=J[0];G=se.keywordPatternRe.lastIndex,J=se.keywordPatternRe.exec(ve)}ie+=ve.substring(G),De.addText(ie)}function Or(){if(ve==="")return;let G=null;if(typeof se.subLanguage=="string"){if(!N[se.subLanguage]){De.addText(ve);return}G=st(se.subLanguage,ve,!0,Jg[se.subLanguage]),Jg[se.subLanguage]=G._top}else G=Gc(ve,se.subLanguage.length?se.subLanguage:null);se.relevance>0&&(zr+=G.relevance),De.__addSublanguage(G._emitter,G.language)}function at(){se.subLanguage!=null?Or():sn(),ve=""}function It(G,J){G!==""&&(De.startScope(J),De.addText(G),De.endScope())}function Wg(G,J){let ie=1;const Ee=J.length-1;for(;ie<=Ee;){if(!G._emit[ie]){ie++;continue}const Ue=Lt.classNameAliases[G[ie]]||G[ie],Zt=J[ie];Ue?It(Zt,Ue):(ve=Zt,sn(),ve=""),ie++}}function Kg(G,J){return G.scope&&typeof G.scope=="string"&&De.openNode(Lt.classNameAliases[G.scope]||G.scope),G.beginScope&&(G.beginScope._wrap?(It(ve,Lt.classNameAliases[G.beginScope._wrap]||G.beginScope._wrap),ve=""):G.beginScope._multi&&(Wg(G.beginScope,J),ve="")),se=Object.create(G,{parent:{value:se}}),se}function Xg(G,J,ie){let Ee=w(G.endRe,ie);if(Ee){if(G["on:end"]){const Ue=new t(G);G["on:end"](J,Ue),Ue.isMatchIgnored&&(Ee=!1)}if(Ee){for(;G.endsParent&&G.parent;)G=G.parent;return G}}if(G.endsWithParent)return Xg(G.parent,J,ie)}function uR(G){return se.matcher.regexIndex===0?(ve+=G[0],1):(Xc=!0,0)}function dR(G){const J=G[0],ie=G.rule,Ee=new t(ie),Ue=[ie.__beforeBegin,ie["on:begin"]];for(const Zt of Ue)if(Zt&&(Zt(G,Ee),Ee.isMatchIgnored))return uR(J);return ie.skip?ve+=J:(ie.excludeBegin&&(ve+=J),at(),!ie.returnBegin&&!ie.excludeBegin&&(ve=J)),Kg(ie,G),ie.returnBegin?0:J.length}function fR(G){const J=G[0],ie=ee.substring(G.index),Ee=Xg(se,G,ie);if(!Ee)return Cn;const Ue=se;se.endScope&&se.endScope._wrap?(at(),It(J,se.endScope._wrap)):se.endScope&&se.endScope._multi?(at(),Wg(se.endScope,G)):Ue.skip?ve+=J:(Ue.returnEnd||Ue.excludeEnd||(ve+=J),at(),Ue.excludeEnd&&(ve=J));do se.scope&&De.closeNode(),!se.skip&&!se.subLanguage&&(zr+=se.relevance),se=se.parent;while(se!==Ee.parent);return Ee.starts&&Kg(Ee.starts,G),Ue.returnEnd?0:J.length}function pR(){const G=[];for(let J=se;J!==Lt;J=J.parent)J.scope&&G.unshift(J.scope);G.forEach(J=>De.openNode(J))}let Vr={};function Yg(G,J){const ie=J&&J[0];if(ve+=G,ie==null)return at(),0;if(Vr.type==="begin"&&J.type==="end"&&Vr.index===J.index&&ie===""){if(ve+=ee.slice(J.index,J.index+1),!ue){const Ee=new Error(`0 width match regex (${j})`);throw Ee.languageName=j,Ee.badRule=Vr.rule,Ee}return 1}if(Vr=J,J.type==="begin")return dR(J);if(J.type==="illegal"&&!fe){const Ee=new Error('Illegal lexeme "'+ie+'" for mode "'+(se.scope||"<unnamed>")+'"');throw Ee.mode=se,Ee}else if(J.type==="end"){const Ee=fR(J);if(Ee!==Cn)return Ee}if(J.type==="illegal"&&ie==="")return ve+=`
4
4
  `,1;if(Kc>1e5&&Kc>J.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ve+=ie,ie.length}const Lt=rn(j);if(!Lt)throw Oe(me.replace("{}",j)),new Error('Unknown language: "'+j+'"');const hR=vo(Lt);let Wc="",se=xe||hR;const Jg={},De=new U.__emitter(U);pR();let ve="",zr=0,En=0,Kc=0,Xc=!1;try{if(Lt.__emitTokens)Lt.__emitTokens(ee,De);else{for(se.matcher.considerAll();;){Kc++,Xc?Xc=!1:se.matcher.considerAll(),se.matcher.lastIndex=En;const G=se.matcher.exec(ee);if(!G)break;const J=ee.substring(En,G.index),ie=Yg(J,G);En=G.index+ie}Yg(ee.substring(En))}return De.finalize(),Wc=De.toHTML(),{language:j,value:Wc,relevance:zr,illegal:!1,_emitter:De,_top:se}}catch(G){if(G.message&&G.message.includes("Illegal"))return{language:j,value:on(ee),illegal:!0,relevance:0,_illegalBy:{message:G.message,index:En,context:ee.slice(En-100,En+100),mode:G.mode,resultSoFar:Wc},_emitter:De};if(ue)return{language:j,value:on(ee),illegal:!1,relevance:0,errorRaised:G,_emitter:De,_top:se};throw G}}function Uc(j){const ee={value:on(j),illegal:!1,relevance:0,_top:W,_emitter:new U.__emitter(U)};return ee._emitter.addText(j),ee}function Gc(j,ee){ee=ee||U.languages||Object.keys(N);const fe=Uc(j),xe=ee.filter(rn).filter(Zg).map(at=>st(at,j,!1));xe.unshift(fe);const Re=xe.sort((at,It)=>{if(at.relevance!==It.relevance)return It.relevance-at.relevance;if(at.language&&It.language){if(rn(at.language).supersetOf===It.language)return 1;if(rn(It.language).supersetOf===at.language)return-1}return 0}),[St,sn]=Re,Or=St;return Or.secondBest=sn,Or}function QL(j,ee,fe){const xe=ee&&R[ee]||fe;j.classList.add("hljs"),j.classList.add(`language-${xe}`)}function Zc(j){let ee=null;const fe=Le(j);if(oe(fe))return;if(Rr("before:highlightElement",{el:j,language:fe}),j.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",j);return}if(j.children.length>0&&(U.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(j)),U.throwUnescapedHTML))throw new yn("One of your code blocks includes unescaped HTML.",j.innerHTML);ee=j;const xe=ee.textContent,Re=fe?ge(xe,{language:fe,ignoreIllegals:!0}):Gc(xe);j.innerHTML=Re.value,j.dataset.highlighted="yes",QL(j,fe,Re.language),j.result={language:Re.language,re:Re.relevance,relevance:Re.relevance},Re.secondBest&&(j.secondBest={language:Re.secondBest.language,relevance:Re.secondBest.relevance}),Rr("after:highlightElement",{el:j,result:Re,text:xe})}function eR(j){U=Wn(U,j)}const tR=()=>{Lr(),ne("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function nR(){Lr(),ne("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ug=!1;function Lr(){function j(){Lr()}if(document.readyState==="loading"){Ug||window.addEventListener("DOMContentLoaded",j,!1),Ug=!0;return}document.querySelectorAll(U.cssSelector).forEach(Zc)}function oR(j,ee){let fe=null;try{fe=ee(E)}catch(xe){if(Oe("Language definition for '{}' could not be registered.".replace("{}",j)),ue)Oe(xe);else throw xe;fe=W}fe.name||(fe.name=j),N[j]=fe,fe.rawDefinition=ee.bind(null,E),fe.aliases&&Gg(fe.aliases,{languageName:j})}function rR(j){delete N[j];for(const ee of Object.keys(R))R[ee]===j&&delete R[ee]}function sR(){return Object.keys(N)}function rn(j){return j=(j||"").toLowerCase(),N[j]||N[R[j]]}function Gg(j,{languageName:ee}){typeof j=="string"&&(j=[j]),j.forEach(fe=>{R[fe.toLowerCase()]=ee})}function Zg(j){const ee=rn(j);return ee&&!ee.disableAutodetect}function aR(j){j["before:highlightBlock"]&&!j["before:highlightElement"]&&(j["before:highlightElement"]=ee=>{j["before:highlightBlock"](Object.assign({block:ee.el},ee))}),j["after:highlightBlock"]&&!j["after:highlightElement"]&&(j["after:highlightElement"]=ee=>{j["after:highlightBlock"](Object.assign({block:ee.el},ee))})}function iR(j){aR(j),Y.push(j)}function cR(j){const ee=Y.indexOf(j);ee!==-1&&Y.splice(ee,1)}function Rr(j,ee){const fe=j;Y.forEach(function(xe){xe[fe]&&xe[fe](ee)})}function lR(j){return ne("10.7.0","highlightBlock will be removed entirely in v12.0"),ne("10.7.0","Please use highlightElement now."),Zc(j)}Object.assign(E,{highlight:ge,highlightAuto:Gc,highlightAll:Lr,highlightElement:Zc,highlightBlock:lR,configure:eR,initHighlighting:tR,initHighlightingOnLoad:nR,registerLanguage:oR,unregisterLanguage:rR,listLanguages:sR,getLanguage:rn,registerAliases:Gg,autoDetection:Zg,inherit:Wn,addPlugin:iR,removePlugin:cR}),E.debugMode=function(){ue=!1},E.safeMode=function(){ue=!0},E.versionString=So,E.regex={concat:m,lookahead:g,either:h,optional:_,anyNumberOfTimes:p};for(const j in Z)typeof Z[j]=="object"&&e(Z[j]);return Object.assign(E,Z),E},A=Kn({});return A.newInstance=()=>Kn({}),Fr=A,A.HighlightJS=A,A.default=A,Fr}var B1=S1();const Rt=Sn(B1),sl="[A-Za-z$_][0-9A-Za-z$_]*",N1=["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","using"],A1=["true","false","null","undefined","NaN","Infinity"],al=["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"],il=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],cl=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$1=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],T1=[].concat(cl,al,il);function ll(e){const t=e.regex,o=(O,{after:P})=>{const B="</"+O[0].slice(1);return O.input.indexOf(B,P)!==-1},r=sl,a={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(O,P)=>{const B=O[0].length+O.index,D=O.input[B];if(D==="<"||D===","){P.ignoreMatch();return}D===">"&&(o(O,{after:B})||P.ignoreMatch());let q;const K=O.input.substring(B);if(q=K.match(/^\s*=/)){P.ignoreMatch();return}if((q=K.match(/^\s+extends\s+/))&&q.index===0){P.ignoreMatch();return}}},c={$pattern:sl,keyword:N1,literal:A1,built_in:T1,"variable.language":$1},l="[0-9](_?[0-9])*",d=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${f})((${d})|\\.)?|(${d}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${d})\\b|\\.)?|(${d})\\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},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},_={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},k={className:"comment",variants:[e.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}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},w=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,_,m,b,{match:/\$\d+/},u];g.contains=w.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(w)});const y=[].concat(k,g.contains),x=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:c,contains:["self"].concat(y)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:x},v={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.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:{_:[...al,...il]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},$={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},M={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(O){return t.concat("(?!",O.join("|"),")")}const X={match:t.concat(/\b/,V([...cl,"super","import"].map(O=>`${O}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},I={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},H={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",z={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:x,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,_,m,b,k,{match:/\$\d+/},u,S,{scope:"attr",match:r+t.lookahead(":"),relevance:0},z,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:x}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:s},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},$,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},I,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},X,M,v,H,{match:/\$[(.]/}]}}function ul(e){const t=e.regex,o=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,a={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/}]},i=e.inherit(s,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={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:[a]},{begin:/'/,end:/'/,contains:[a]},{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,c,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,i,l,c]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},a,{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:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(o,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:o,relevance:0,starts:d}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(o,/>/))),contains:[{className:"name",begin:o,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const M1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function I1(e,t){return n.openBlock(),n.createElementBlock("svg",M1,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)]))}const L1={name:"mdi-close",render:I1},it=(e,t)=>{const o=e.__vccOpts||e;for(const[r,a]of t)o[r]=a;return o},R1={},O1={class:"chat-button"};function V1(e,t){return n.openBlock(),n.createElementBlock("button",O1,[n.renderSlot(e.$slots,"default")])}const z1=it(R1,[["render",V1]]);function jr(){return n.inject(Jc)}function Xn(){return{options:n.inject(Qc)}}function Ao(){const{options:e}=Xn(),t=(e==null?void 0:e.defaultLanguage)??"en";function o(a){var i,c;const s=(c=(i=e==null?void 0:e.i18n)==null?void 0:i[t])==null?void 0:c[a];return n.isRef(s)?s.value:s??a}function r(a){var s,i;return!!((i=(s=e==null?void 0:e.i18n)==null?void 0:s[t])!=null&&i[a])}return{t:o,te:r}}const q1={class:"chat-get-started"},D1=n.defineComponent({__name:"GetStarted",setup(e){const{t}=Ao();return(o,r)=>(n.openBlock(),n.createElementBlock("div",q1,[n.createVNode(z1,{onClick:r[0]||(r[0]=a=>o.$emit("click:button"))},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(t)("getStarted")),1)]),_:1})]))}}),P1={},F1={class:"chat-powered-by"};function j1(e,t){return n.openBlock(),n.createElementBlock("div",F1,t[0]||(t[0]=[n.createTextVNode(" Powered by "),n.createElementVNode("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const H1=it(P1,[["render",j1]]),U1={class:"chat-get-started-footer"},G1={key:0},Z1=n.defineComponent({__name:"GetStartedFooter",setup(e){const{t,te:o}=Ao();return(r,a)=>(n.openBlock(),n.createElementBlock("div",U1,[n.unref(o)("footer")?(n.openBlock(),n.createElementBlock("div",G1,n.toDisplayString(n.unref(t)("footer")),1)):n.createCommentVNode("",!0),n.createVNode(H1)]))}});function W1(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function K1(){const e=new Set,t=a=>{e.delete(a)};return{on:a=>{e.add(a);const s=()=>t(a);return W1(s),{off:s}},off:t,trigger:(...a)=>Promise.all(Array.from(e).map(s=>s(...a)))}}const X1=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Y1=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),J1=X1?window.document:void 0,Q1={multiple:!0,accept:"*",reset:!1,directory:!1};function e_(e={}){const{document:t=J1}=e,o=n.ref(null),{on:r,trigger:a}=K1();let s;t&&(s=t.createElement("input"),s.type="file",s.onchange=l=>{const d=l.target;o.value=d.files,a(o.value)});const i=()=>{o.value=null,s&&s.value&&(s.value="",a(null))},c=l=>{if(!s)return;const d={...Q1,...e,...l};s.multiple=d.multiple,s.accept=d.accept,s.webkitdirectory=d.directory,Y1(d,"capture")&&(s.capture=d.capture),d.reset&&i(),s.click()};return{files:n.readonly(o),open:c,reset:i,onChange:r}}const t_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function n_(e,t){return n.openBlock(),n.createElementBlock("svg",t_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M16.5 6v11.5a4 4 0 0 1-4 4a4 4 0 0 1-4-4V5A2.5 2.5 0 0 1 11 2.5A2.5 2.5 0 0 1 13.5 5v10.5a1 1 0 0 1-1 1a1 1 0 0 1-1-1V6H10v9.5a2.5 2.5 0 0 0 2.5 2.5a2.5 2.5 0 0 0 2.5-2.5V5a4 4 0 0 0-4-4a4 4 0 0 0-4 4v12.5a5.5 5.5 0 0 0 5.5 5.5a5.5 5.5 0 0 0 5.5-5.5V6z"},null,-1)]))}const o_={name:"mdi-paperclip",render:n_},r_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function s_(e,t){return n.openBlock(),n.createElementBlock("svg",r_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const a_={name:"mdi-send",render:s_},i_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function c_(e,t){return n.openBlock(),n.createElementBlock("svg",i_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12z"},null,-1)]))}const l_={name:"mdi-closeThick",render:c_},u_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function d_(e,t){return n.openBlock(),n.createElementBlock("svg",u_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"},null,-1)]))}const f_={name:"mdi-fileImage",render:d_},p_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function h_(e,t){return n.openBlock(),n.createElementBlock("svg",p_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 11h-2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2c.4 0 .7.1 1 .3V11h3zm0-4V3.5L18.5 9z"},null,-1)]))}const m_={name:"mdi-fileMusic",render:h_},g_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function __(e,t){return n.openBlock(),n.createElementBlock("svg",g_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2zm3-4v-2H6v2z"},null,-1)]))}const dl={name:"mdi-fileText",render:__},b_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function k_(e,t){return n.openBlock(),n.createElementBlock("svg",b_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m11 17v-6l-3 2.2V13H7v6h7v-2.2z"},null,-1)]))}const w_={name:"mdi-fileVideo",render:k_},y_={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function C_(e,t){return n.openBlock(),n.createElementBlock("svg",y_,t[0]||(t[0]=[n.createElementVNode("path",{fill:"currentColor",d:"M14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"},null,-1)]))}const E_={name:"mdi-openInNew",render:C_},x_={class:"chat-file-name"},fl=it(n.defineComponent({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const o=e,r=t,a={document:dl,audio:m_,image:f_,video:w_},s=n.computed(()=>{var d;const l=(d=o.file)==null?void 0:d.type.split("/")[0];return a[l]||dl});function i(){o.isPreviewable&&window.open(URL.createObjectURL(o.file))}function c(){r("remove",o.file)}return(l,d)=>(n.openBlock(),n.createElementBlock("div",{class:"chat-file",onClick:i},[n.createVNode(n.unref(s)),n.createElementVNode("p",x_,n.toDisplayString(l.file.name),1),l.isRemovable?(n.openBlock(),n.createElementBlock("span",{key:0,class:"chat-file-delete",onClick:n.withModifiers(c,["stop"])},[n.createVNode(n.unref(l_))])):l.isPreviewable?(n.openBlock(),n.createBlock(n.unref(E_),{key:1,class:"chat-file-preview"})):n.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),v_={class:"chat-inputs"},S_={key:0,class:"chat-input-left-panel"},B_=["disabled","placeholder"],N_={class:"chat-inputs-controls"},A_=["disabled"],$_=["disabled"],T_={key:0,class:"chat-files"},M_=it(n.defineComponent({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const o=e,{t:r}=Ao(),a=t,{options:s}=Xn(),i=jr(),{waitingForResponse:c}=i,l=n.ref(null),d=n.ref(null),f=n.ref(""),u=n.ref(!1),g=n.ref(null),p=n.ref(!1),_=n.computed(()=>{var B;return p.value?!1:f.value===""||n.unref(c)||((B=s.disabled)==null?void 0:B.value)===!0}),m=n.computed(()=>{var B;return((B=s.disabled)==null?void 0:B.value)===!0}),b=n.computed(()=>{var B;return h.value&&n.unref(c)&&!((B=s.disabled)!=null&&B.value)}),h=n.computed(()=>n.unref(s.allowFileUploads)===!0),k=n.computed(()=>n.unref(s.allowedFilesMimeTypes)),w=n.computed(()=>({"--controls-count":h.value?2:1})),{open:y,reset:x,onChange:C}=e_({multiple:!0,reset:!1});C(B=>{if(!B)return;const D=new DataTransfer;if(l.value)for(let q=0;q<l.value.length;q++)D.items.add(l.value[q]);for(let q=0;q<B.length;q++)D.items.add(B[q]);l.value=D.files}),n.onMounted(()=>{Ge.on("focusInput",S),Ge.on("blurInput",v),Ge.on("setInputValue",T),d.value&&(g.value=new ResizeObserver(B=>{for(const D of B)D.target===d.value&&P()}),g.value.observe(d.value))}),n.onUnmounted(()=>{Ge.off("focusInput",S),Ge.off("blurInput",v),Ge.off("setInputValue",T),g.value&&(g.value.disconnect(),g.value=null)});function v(){d.value&&d.value.blur()}function S(){d.value&&d.value.focus()}function T(B){f.value=B,S()}function $(){if(l.value){const B=Array.from(l.value);return x(),l.value=null,B}return[]}function M(B){if(s.webhookUrl&&i.currentSessionId.value)try{const D=h1(s.webhookUrl,B,i.currentSessionId.value,!0);i.ws=new WebSocket(D),i.ws.onmessage=q=>{var Q;if(q.data==="n8n|heartbeat"){(Q=i.ws)==null||Q.send("n8n|heartbeat-ack");return}if(q.data==="n8n|continue"){p.value=!1,i.waitingForResponse.value=!0;return}const K={id:an(),text:q.data,sender:"bot"};i.messages.value.push(K),p.value=!0,i.waitingForResponse.value=!1},i.ws.onclose=()=>{i.ws=null,p.value=!1,i.waitingForResponse.value=!1}}catch(D){console.error("Error setting up websocket connection",D)}}async function V(B){if(!B||B.length===0)return[];const D=B.map(async q=>new Promise((K,Q)=>{const re=new FileReader;re.onload=()=>K({name:q.name,type:q.type,data:re.result}),re.onerror=()=>{var ce;return Q(new Error(`Error reading file: ${((ce=re.error)==null?void 0:ce.message)??"Unknown error"}`))},re.readAsDataURL(q)}));return await Promise.all(D)}async function X(B,D){const q={id:an(),text:D,sender:"user",files:l.value?$():void 0};i.messages.value.push(q),B.send(JSON.stringify({sessionId:i.currentSessionId.value,action:"sendMessage",chatInput:D,files:await V(q.files)})),i.waitingForResponse.value=!0,p.value=!1}async function I(B){if(B.preventDefault(),_.value)return;const D=f.value;if(f.value="",u.value=!0,i.ws&&p.value){await X(i.ws,D);return}const q=await i.sendMessage(D,$());q!=null&&q.executionId&&M(q.executionId),u.value=!1}async function H(B){B.shiftKey||B.isComposing||(await I(B),P())}function L(B){if(!l.value)return;const D=new DataTransfer;for(let q=0;q<l.value.length;q++){const K=l.value[q];B.name!==K.name&&D.items.add(K)}x(),l.value=D.files}function z(B){(B.key==="ArrowUp"||B.key==="ArrowDown")&&(B.preventDefault(),a("arrowKeyDown",{key:B.key,currentInputValue:f.value}))}function O(){b.value||y({accept:n.unref(k)})}function P(){const B=d.value;if(!B)return;B.style.height="var(--chat--textarea--height)";const D=Math.min(B.scrollHeight,480);B.style.height=`${D}px`}return(B,D)=>{var q;return n.openBlock(),n.createElementBlock("div",{class:"chat-input",style:n.normalizeStyle(w.value),onKeydown:n.withModifiers(z,["stop"])},[n.createElementVNode("div",v_,[B.$slots.leftPanel?(n.openBlock(),n.createElementBlock("div",S_,[n.renderSlot(B.$slots,"leftPanel",{},void 0,!0)])):n.createCommentVNode("",!0),n.withDirectives(n.createElementVNode("textarea",{ref_key:"chatTextArea",ref:d,"onUpdate:modelValue":D[0]||(D[0]=K=>f.value=K),"data-test-id":"chat-input",disabled:m.value,placeholder:n.unref(r)(o.placeholder),onKeydown:n.withKeys(H,["enter"]),onInput:P,onMousedown:P,onFocus:P},null,40,B_),[[n.vModelText,f.value]]),n.createElementVNode("div",N_,[h.value?(n.openBlock(),n.createElementBlock("button",{key:0,disabled:b.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:O},[n.createVNode(n.unref(o_),{height:"24",width:"24"})],8,A_)):n.createCommentVNode("",!0),n.createElementVNode("button",{disabled:_.value,class:"chat-input-send-button",onClick:I},[n.createVNode(n.unref(a_),{height:"24",width:"24"})],8,$_)])]),(q=l.value)!=null&&q.length&&(!u.value||p.value)?(n.openBlock(),n.createElementBlock("div",T_,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,K=>(n.openBlock(),n.createBlock(fl,{key:K.name,file:K,"is-removable":!0,"is-previewable":!0,onRemove:L},null,8,["file"]))),128))])):n.createCommentVNode("",!0)],36)}}}),[["__scopeId","data-v-de5e7961"]]),I_={class:"chat-layout"},L_={key:0,class:"chat-header"},R_={key:2,class:"chat-footer"},O_=n.defineComponent({__name:"Layout",setup(e){const t=n.ref(null);function o(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return n.onMounted(()=>{Ge.on("scrollToBottom",o),window.addEventListener("resize",o)}),n.onBeforeUnmount(()=>{Ge.off("scrollToBottom",o),window.removeEventListener("resize",o)}),(r,a)=>(n.openBlock(),n.createElementBlock("main",I_,[r.$slots.header?(n.openBlock(),n.createElementBlock("div",L_,[n.renderSlot(r.$slots,"header")])):n.createCommentVNode("",!0),r.$slots.default?(n.openBlock(),n.createElementBlock("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[n.renderSlot(r.$slots,"default")],512)):n.createCommentVNode("",!0),r.$slots.footer?(n.openBlock(),n.createElementBlock("div",R_,[n.renderSlot(r.$slots,"footer")])):n.createCommentVNode("",!0)]))}}),V_=/(%|)\{([0-9a-zA-Z_]+)\}/g;function z_(){const e=(o,r)=>r in o;function t(o,...r){if(typeof o=="function")return o(r);const a=o;let s=r;return r.length===1&&typeof r[0]=="object"&&(s=r[0]),s!=null&&s.hasOwnProperty||(s={}),a.replace(V_,(i,c,l,d)=>{let f;return a[d-1]==="{"&&a[d+i.length]==="}"?`${l}`:(f=e(s,l)?`${s[l]}`:null,f??"")})}return t}const q_={"generic.retry":"Retry","generic.cancel":"Cancel","generic.ignore":"Ignore","generic.ignoreAll":"Ignore all","generic.moreInfo":"More info","nds.auth.roles.owner":"Owner","nds.userInfo.you":"(you)","nds.userSelect.selectUser":"Select User","nds.userSelect.noMatchingUsers":"No matching users","notice.showMore":"Show more","notice.showLess":"Show less","formInput.validator.fieldRequired":"This field is required","formInput.validator.minCharactersRequired":"Must be at least {minimum} characters","formInput.validator.maxCharactersRequired":"Must be at most {maximum} characters","formInput.validator.oneNumbersRequired":e=>`Must have at least ${e.minimum} number${e.minimum>1?"s":""}`,"formInput.validator.validEmailRequired":"Must be a valid email","formInput.validator.uppercaseCharsRequired":e=>`Must have at least ${e.minimum} uppercase character${e.minimum>1?"s":""}`,"formInput.validator.defaultPasswordRequirements":"8+ characters, at least 1 number and 1 capital letter","sticky.markdownHint":'You can style with <a href="https://docs.n8n.io/workflows/sticky-notes/" target="_blank">Markdown</a>',"tags.showMore":e=>`+${e} more`,"datatable.pageSize":"Page size","codeDiff.couldNotReplace":"Could not replace code","codeDiff.codeReplaced":"Code replaced","codeDiff.replaceMyCode":"Replace my code","codeDiff.replacing":"Replacing...","codeDiff.undo":"Undo","betaTag.beta":"beta","askAssistantButton.askAssistant":"Ask Assistant","assistantChat.builder.name":"AI Builder","assistantChat.builder.generatingFinalWorkflow":"Generating final workflow...","assistantChat.builder.configuredNodes":"Configured nodes","assistantChat.builder.thumbsUp":"Helpful","assistantChat.builder.thumbsDown":"Not helpful","assistantChat.builder.feedbackPlaceholder":"What went wrong?","assistantChat.builder.success":"Thank you for your feedback!","assistantChat.builder.submit":"Submit feedback","assistantChat.builder.workflowGenerated1":"Your workflow was created successfully!","assistantChat.builder.workflowGenerated2":"Fix any missing credentials before testing it.","assistantChat.builder.configuringNodes":"Configuring nodes...","assistantChat.builder.selectedNodes":"Selected workflow nodes","assistantChat.builder.selectingNodes":"Selecting nodes...","assistantChat.builder.generatedNodes":"Generated workflow nodes","assistantChat.builder.toolRunning":"Tool still running","assistantChat.builder.toolError":"Some tool calls have failed. Agent will retry these.","assistantChat.errorParsingMarkdown":"Error parsing markdown content","assistantChat.aiAssistantLabel":"AI Assistant","assistantChat.aiAssistantName":"Assistant","assistantChat.sessionEndMessage.1":"This Assistant session has ended. To start a new session with the Assistant, click an","assistantChat.sessionEndMessage.2":"button in n8n","assistantChat.you":"You","assistantChat.quickRepliesTitle":"Quick reply 👇","assistantChat.placeholder.1":()=>"I can answer most questions about building workflows in n8n.","assistantChat.placeholder.2":"For specific tasks, you’ll see the","assistantChat.placeholder.3":"button in the UI.","assistantChat.placeholder.4":"How can I help?","assistantChat.inputPlaceholder":"Enter your response...","assistantChat.copy":"Copy","assistantChat.copied":"Copied","aiAssistant.builder.canvas.thinking":"Working...","inlineAskAssistantButton.asked":"Asked","iconPicker.button.defaultToolTip":"Choose icon","iconPicker.tabs.icons":"Icons","iconPicker.tabs.emojis":"Emojis","selectableList.addDefault":"+ Add a","auth.changePassword.passwordsMustMatchError":"Passwords must match","tableControlsButton.display":"Display","tableControlsButton.shown":"Shown","tableControlsButton.hidden":"Hidden"},D_=z_();let pl=q_;const P_=function(e,t){return pl[e]!==void 0?D_(pl[e],...t?[t]:[]):""},Ot=(e,t,{checkForDefaultPrevented:o=!0}={})=>a=>{const s=e==null?void 0:e(a);if(o===!1||!s)return t==null?void 0:t(a)};var hl;const Pe=typeof window<"u",F_=e=>typeof e=="string",ml=()=>{},gl=Pe&&((hl=window==null?void 0:window.navigator)==null?void 0:hl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _l(e){return typeof e=="function"?e():n.unref(e)}function j_(e){return e}function Hr(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function H_(e,t=!0){n.getCurrentInstance()?n.onMounted(e):t?e():n.nextTick(e)}function Wt(e){var t;const o=_l(e);return(t=o==null?void 0:o.$el)!=null?t:o}const Ur=Pe?window:void 0;function cn(...e){let t,o,r,a;if(F_(e[0])||Array.isArray(e[0])?([o,r,a]=e,t=Ur):[t,o,r,a]=e,!t)return ml;Array.isArray(o)||(o=[o]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(f=>f()),s.length=0},c=(f,u,g,p)=>(f.addEventListener(u,g,p),()=>f.removeEventListener(u,g,p)),l=n.watch(()=>[Wt(t),_l(a)],([f,u])=>{i(),f&&s.push(...o.flatMap(g=>r.map(p=>c(f,g,p,u))))},{immediate:!0,flush:"post"}),d=()=>{l(),i()};return Hr(d),d}let bl=!1;function U_(e,t,o={}){const{window:r=Ur,ignore:a=[],capture:s=!0,detectIframe:i=!1}=o;if(!r)return;gl&&!bl&&(bl=!0,Array.from(r.document.body.children).forEach(g=>g.addEventListener("click",ml)));let c=!0;const l=g=>a.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(_=>_===g.target||g.composedPath().includes(_));{const _=Wt(p);return _&&(g.target===_||g.composedPath().includes(_))}}),f=[cn(r,"click",g=>{const p=Wt(e);if(!(!p||p===g.target||g.composedPath().includes(p))){if(g.detail===0&&(c=!l(g)),!c){c=!0;return}t(g)}},{passive:!0,capture:s}),cn(r,"pointerdown",g=>{const p=Wt(e);p&&(c=!g.composedPath().includes(p)&&!l(g))},{passive:!0}),i&&cn(r,"blur",g=>{var p;const _=Wt(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(_!=null&&_.contains(r.document.activeElement))&&t(g)})].filter(Boolean);return()=>f.forEach(g=>g())}function G_(e,t=!1){const o=n.ref(),r=()=>o.value=!!e();return r(),H_(r,t),o}const kl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wl="__vueuse_ssr_handlers__";kl[wl]=kl[wl]||{};var yl=Object.getOwnPropertySymbols,Z_=Object.prototype.hasOwnProperty,W_=Object.prototype.propertyIsEnumerable,K_=(e,t)=>{var o={};for(var r in e)Z_.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&yl)for(var r of yl(e))t.indexOf(r)<0&&W_.call(e,r)&&(o[r]=e[r]);return o};function $o(e,t,o={}){const r=o,{window:a=Ur}=r,s=K_(r,["window"]);let i;const c=G_(()=>a&&"ResizeObserver"in a),l=()=>{i&&(i.disconnect(),i=void 0)},d=n.watch(()=>Wt(e),u=>{l(),c.value&&a&&u&&(i=new ResizeObserver(t),i.observe(u,s))},{immediate:!0,flush:"post"}),f=()=>{l(),d()};return Hr(f),{isSupported:c,stop:f}}var Cl;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Cl||(Cl={}));var X_=Object.defineProperty,El=Object.getOwnPropertySymbols,Y_=Object.prototype.hasOwnProperty,J_=Object.prototype.propertyIsEnumerable,xl=(e,t,o)=>t in e?X_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Q_=(e,t)=>{for(var o in t||(t={}))Y_.call(t,o)&&xl(e,o,t[o]);if(El)for(var o of El(t))J_.call(t,o)&&xl(e,o,t[o]);return e};Q_({linear:j_},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const eb=()=>Pe&&/firefox/i.test(window.navigator.userAgent),Gr=e=>{let t,o;return e.type==="touchend"?(o=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(o=e.touches[0].clientY,t=e.touches[0].clientX):(o=e.clientY,t=e.clientX),{clientX:t,clientY:o}};/**
@@ -37,7 +37,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Re=j,xe=ee),fe===void
37
37
  `);return l},a.prototype.render=function(s,i,c){var l,d,f,u="",g=this.rules;for(l=0,d=s.length;l<d;l++)f=s[l].type,f==="inline"?u+=this.renderInline(s[l].children,i,c):typeof g[f]<"u"?u+=g[f](s,l,i,c,this):u+=this.renderToken(s,l,i,c);return u},ha=a,ha}var ma,Th;function ga(){if(Th)return ma;Th=1;function e(){this.__rules__=[],this.__cache__=null}return e.prototype.__find__=function(t){for(var o=0;o<this.__rules__.length;o++)if(this.__rules__[o].name===t)return o;return-1},e.prototype.__compile__=function(){var t=this,o=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(a){o.indexOf(a)<0&&o.push(a)})}),t.__cache__={},o.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(a){a.enabled&&(r&&a.alt.indexOf(r)<0||t.__cache__[r].push(a.fn))})})},e.prototype.at=function(t,o,r){var a=this.__find__(t),s=r||{};if(a===-1)throw new Error("Parser rule not found: "+t);this.__rules__[a].fn=o,this.__rules__[a].alt=s.alt||[],this.__cache__=null},e.prototype.before=function(t,o,r,a){var s=this.__find__(t),i=a||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:o,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.after=function(t,o,r,a){var s=this.__find__(t),i=a||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:o,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.push=function(t,o,r){var a=r||{};this.__rules__.push({name:t,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},e.prototype.enable=function(t,o){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(a){var s=this.__find__(a);if(s<0){if(o)return;throw new Error("Rules manager: invalid rule name "+a)}this.__rules__[s].enabled=!0,r.push(a)},this),this.__cache__=null,r},e.prototype.enableOnly=function(t,o){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,o)},e.prototype.disable=function(t,o){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(a){var s=this.__find__(a);if(s<0){if(o)return;throw new Error("Rules manager: invalid rule name "+a)}this.__rules__[s].enabled=!1,r.push(a)},this),this.__cache__=null,r},e.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},ma=e,ma}var _a,Mh;function dT(){if(Mh)return _a;Mh=1;var e=/\r\n?|\n/g,t=/\0/g;return _a=function(r){var a;a=r.src.replace(e,`
38
38
  `),a=a.replace(t,"�"),r.src=a},_a}var ba,Ih;function fT(){return Ih||(Ih=1,ba=function(t){var o;t.inlineMode?(o=new t.Token("inline","",0),o.content=t.src,o.map=[0,1],o.children=[],t.tokens.push(o)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}),ba}var ka,Lh;function pT(){return Lh||(Lh=1,ka=function(t){var o=t.tokens,r,a,s;for(a=0,s=o.length;a<s;a++)r=o[a],r.type==="inline"&&t.md.inline.parse(r.content,t.md,t.env,r.children)}),ka}var wa,Rh;function hT(){if(Rh)return wa;Rh=1;var e=ke().arrayReplaceAt;function t(r){return/^<a[>\s]/i.test(r)}function o(r){return/^<\/a\s*>/i.test(r)}return wa=function(a){var s,i,c,l,d,f,u,g,p,_,m,b,h,k,w,y,x=a.tokens,C;if(a.md.options.linkify){for(i=0,c=x.length;i<c;i++)if(!(x[i].type!=="inline"||!a.md.linkify.pretest(x[i].content)))for(l=x[i].children,h=0,s=l.length-1;s>=0;s--){if(f=l[s],f.type==="link_close"){for(s--;l[s].level!==f.level&&l[s].type!=="link_open";)s--;continue}if(f.type==="html_inline"&&(t(f.content)&&h>0&&h--,o(f.content)&&h++),!(h>0)&&f.type==="text"&&a.md.linkify.test(f.content)){for(p=f.content,C=a.md.linkify.match(p),u=[],b=f.level,m=0,C.length>0&&C[0].index===0&&s>0&&l[s-1].type==="text_special"&&(C=C.slice(1)),g=0;g<C.length;g++)k=C[g].url,w=a.md.normalizeLink(k),a.md.validateLink(w)&&(y=C[g].text,C[g].schema?C[g].schema==="mailto:"&&!/^mailto:/i.test(y)?y=a.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=a.md.normalizeLinkText(y):y=a.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),_=C[g].index,_>m&&(d=new a.Token("text","",0),d.content=p.slice(m,_),d.level=b,u.push(d)),d=new a.Token("link_open","a",1),d.attrs=[["href",w]],d.level=b++,d.markup="linkify",d.info="auto",u.push(d),d=new a.Token("text","",0),d.content=y,d.level=b,u.push(d),d=new a.Token("link_close","a",-1),d.level=--b,d.markup="linkify",d.info="auto",u.push(d),m=C[g].lastIndex);m<p.length&&(d=new a.Token("text","",0),d.content=p.slice(m),d.level=b,u.push(d)),x[i].children=l=e(l,s,u)}}}},wa}var ya,Oh;function mT(){if(Oh)return ya;Oh=1;var e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,t=/\((c|tm|r)\)/i,o=/\((c|tm|r)\)/ig,r={c:"©",r:"®",tm:"™"};function a(c,l){return r[l.toLowerCase()]}function s(c){var l,d,f=0;for(l=c.length-1;l>=0;l--)d=c[l],d.type==="text"&&!f&&(d.content=d.content.replace(o,a)),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}function i(c){var l,d,f=0;for(l=c.length-1;l>=0;l--)d=c[l],d.type==="text"&&!f&&e.test(d.content)&&(d.content=d.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–")),d.type==="link_open"&&d.info==="auto"&&f--,d.type==="link_close"&&d.info==="auto"&&f++}return ya=function(l){var d;if(l.md.options.typographer)for(d=l.tokens.length-1;d>=0;d--)l.tokens[d].type==="inline"&&(t.test(l.tokens[d].content)&&s(l.tokens[d].children),e.test(l.tokens[d].content)&&i(l.tokens[d].children))},ya}var Ca,Vh;function gT(){if(Vh)return Ca;Vh=1;var e=ke().isWhiteSpace,t=ke().isPunctChar,o=ke().isMdAsciiPunct,r=/['"]/,a=/['"]/g,s="’";function i(l,d,f){return l.slice(0,d)+f+l.slice(d+1)}function c(l,d){var f,u,g,p,_,m,b,h,k,w,y,x,C,v,S,T,$,M,V,X,I;for(V=[],f=0;f<l.length;f++){for(u=l[f],b=l[f].level,$=V.length-1;$>=0&&!(V[$].level<=b);$--);if(V.length=$+1,u.type==="text"){g=u.content,_=0,m=g.length;e:for(;_<m&&(a.lastIndex=_,p=a.exec(g),!!p);){if(S=T=!0,_=p.index+1,M=p[0]==="'",k=32,p.index-1>=0)k=g.charCodeAt(p.index-1);else for($=f-1;$>=0&&!(l[$].type==="softbreak"||l[$].type==="hardbreak");$--)if(l[$].content){k=l[$].content.charCodeAt(l[$].content.length-1);break}if(w=32,_<m)w=g.charCodeAt(_);else for($=f+1;$<l.length&&!(l[$].type==="softbreak"||l[$].type==="hardbreak");$++)if(l[$].content){w=l[$].content.charCodeAt(0);break}if(y=o(k)||t(String.fromCharCode(k)),x=o(w)||t(String.fromCharCode(w)),C=e(k),v=e(w),v?S=!1:x&&(C||y||(S=!1)),C?T=!1:y&&(v||x||(T=!1)),w===34&&p[0]==='"'&&k>=48&&k<=57&&(T=S=!1),S&&T&&(S=y,T=x),!S&&!T){M&&(u.content=i(u.content,p.index,s));continue}if(T){for($=V.length-1;$>=0&&(h=V[$],!(V[$].level<b));$--)if(h.single===M&&V[$].level===b){h=V[$],M?(X=d.md.options.quotes[2],I=d.md.options.quotes[3]):(X=d.md.options.quotes[0],I=d.md.options.quotes[1]),u.content=i(u.content,p.index,I),l[h.token].content=i(l[h.token].content,h.pos,X),_+=I.length-1,h.token===f&&(_+=X.length-1),g=u.content,m=g.length,V.length=$;continue e}}S?V.push({token:f,pos:p.index,single:M,level:b}):T&&M&&(u.content=i(u.content,p.index,s))}}}}return Ca=function(d){var f;if(d.md.options.typographer)for(f=d.tokens.length-1;f>=0;f--)d.tokens[f].type!=="inline"||!r.test(d.tokens[f].content)||c(d.tokens[f].children,d)},Ca}var Ea,zh;function _T(){return zh||(zh=1,Ea=function(t){var o,r,a,s,i,c,l=t.tokens;for(o=0,r=l.length;o<r;o++)if(l[o].type==="inline"){for(a=l[o].children,i=a.length,s=0;s<i;s++)a[s].type==="text_special"&&(a[s].type="text");for(s=c=0;s<i;s++)a[s].type==="text"&&s+1<i&&a[s+1].type==="text"?a[s+1].content=a[s].content+a[s+1].content:(s!==c&&(a[c]=a[s]),c++);s!==c&&(a.length=c)}}),Ea}var xa,qh;function va(){if(qh)return xa;qh=1;function e(t,o,r){this.type=t,this.tag=o,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}return e.prototype.attrIndex=function(o){var r,a,s;if(!this.attrs)return-1;for(r=this.attrs,a=0,s=r.length;a<s;a++)if(r[a][0]===o)return a;return-1},e.prototype.attrPush=function(o){this.attrs?this.attrs.push(o):this.attrs=[o]},e.prototype.attrSet=function(o,r){var a=this.attrIndex(o),s=[o,r];a<0?this.attrPush(s):this.attrs[a]=s},e.prototype.attrGet=function(o){var r=this.attrIndex(o),a=null;return r>=0&&(a=this.attrs[r][1]),a},e.prototype.attrJoin=function(o,r){var a=this.attrIndex(o);a<0?this.attrPush([o,r]):this.attrs[a][1]=this.attrs[a][1]+" "+r},xa=e,xa}var Sa,Dh;function bT(){if(Dh)return Sa;Dh=1;var e=va();function t(o,r,a){this.src=o,this.env=a,this.tokens=[],this.inlineMode=!1,this.md=r}return t.prototype.Token=e,Sa=t,Sa}var Ba,Ph;function kT(){if(Ph)return Ba;Ph=1;var e=ga(),t=[["normalize",dT()],["block",fT()],["inline",pT()],["linkify",hT()],["replacements",mT()],["smartquotes",gT()],["text_join",_T()]];function o(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1])}return o.prototype.process=function(r){var a,s,i;for(i=this.ruler.getRules(""),a=0,s=i.length;a<s;a++)i[a](r)},o.prototype.State=bT(),Ba=o,Ba}var Na,Fh;function wT(){if(Fh)return Na;Fh=1;var e=ke().isSpace;function t(r,a){var s=r.bMarks[a]+r.tShift[a],i=r.eMarks[a];return r.src.slice(s,i)}function o(r){var a=[],s=0,i=r.length,c,l=!1,d=0,f="";for(c=r.charCodeAt(s);s<i;)c===124&&(l?(f+=r.substring(d,s-1),d=s):(a.push(f+r.substring(d,s)),f="",d=s+1)),l=c===92,s++,c=r.charCodeAt(s);return a.push(f+r.substring(d)),a}return Na=function(a,s,i,c){var l,d,f,u,g,p,_,m,b,h,k,w,y,x,C,v,S,T;if(s+2>i||(p=s+1,a.sCount[p]<a.blkIndent)||a.sCount[p]-a.blkIndent>=4||(f=a.bMarks[p]+a.tShift[p],f>=a.eMarks[p])||(S=a.src.charCodeAt(f++),S!==124&&S!==45&&S!==58)||f>=a.eMarks[p]||(T=a.src.charCodeAt(f++),T!==124&&T!==45&&T!==58&&!e(T))||S===45&&e(T))return!1;for(;f<a.eMarks[p];){if(l=a.src.charCodeAt(f),l!==124&&l!==45&&l!==58&&!e(l))return!1;f++}for(d=t(a,s+1),_=d.split("|"),h=[],u=0;u<_.length;u++){if(k=_[u].trim(),!k){if(u===0||u===_.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?h.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?h.push("left"):h.push("")}if(d=t(a,s).trim(),d.indexOf("|")===-1||a.sCount[s]-a.blkIndent>=4||(_=o(d),_.length&&_[0]===""&&_.shift(),_.length&&_[_.length-1]===""&&_.pop(),m=_.length,m===0||m!==h.length))return!1;if(c)return!0;for(x=a.parentType,a.parentType="table",v=a.md.block.ruler.getRules("blockquote"),b=a.push("table_open","table",1),b.map=w=[s,0],b=a.push("thead_open","thead",1),b.map=[s,s+1],b=a.push("tr_open","tr",1),b.map=[s,s+1],u=0;u<_.length;u++)b=a.push("th_open","th",1),h[u]&&(b.attrs=[["style","text-align:"+h[u]]]),b=a.push("inline","",0),b.content=_[u].trim(),b.children=[],b=a.push("th_close","th",-1);for(b=a.push("tr_close","tr",-1),b=a.push("thead_close","thead",-1),p=s+2;p<i&&!(a.sCount[p]<a.blkIndent);p++){for(C=!1,u=0,g=v.length;u<g;u++)if(v[u](a,p,i,!0)){C=!0;break}if(C||(d=t(a,p).trim(),!d)||a.sCount[p]-a.blkIndent>=4)break;for(_=o(d),_.length&&_[0]===""&&_.shift(),_.length&&_[_.length-1]===""&&_.pop(),p===s+2&&(b=a.push("tbody_open","tbody",1),b.map=y=[s+2,0]),b=a.push("tr_open","tr",1),b.map=[p,p+1],u=0;u<m;u++)b=a.push("td_open","td",1),h[u]&&(b.attrs=[["style","text-align:"+h[u]]]),b=a.push("inline","",0),b.content=_[u]?_[u].trim():"",b.children=[],b=a.push("td_close","td",-1);b=a.push("tr_close","tr",-1)}return y&&(b=a.push("tbody_close","tbody",-1),y[1]=p),b=a.push("table_close","table",-1),w[1]=p,a.parentType=x,a.line=p,!0},Na}var Aa,jh;function yT(){return jh||(jh=1,Aa=function(t,o,r){var a,s,i;if(t.sCount[o]-t.blkIndent<4)return!1;for(s=a=o+1;a<r;){if(t.isEmpty(a)){a++;continue}if(t.sCount[a]-t.blkIndent>=4){a++,s=a;continue}break}return t.line=s,i=t.push("code_block","code",0),i.content=t.getLines(o,s,4+t.blkIndent,!1)+`
39
39
  `,i.map=[o,t.line],!0}),Aa}var $a,Hh;function CT(){return Hh||(Hh=1,$a=function(t,o,r,a){var s,i,c,l,d,f,u,g=!1,p=t.bMarks[o]+t.tShift[o],_=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||p+3>_||(s=t.src.charCodeAt(p),s!==126&&s!==96)||(d=p,p=t.skipChars(p,s),i=p-d,i<3)||(u=t.src.slice(d,p),c=t.src.slice(p,_),s===96&&c.indexOf(String.fromCharCode(s))>=0))return!1;if(a)return!0;for(l=o;l++,!(l>=r||(p=d=t.bMarks[l]+t.tShift[l],_=t.eMarks[l],p<_&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(p)===s&&!(t.sCount[l]-t.blkIndent>=4)&&(p=t.skipChars(p,s),!(p-d<i)&&(p=t.skipSpaces(p),!(p<_)))){g=!0;break}return i=t.sCount[o],t.line=l+(g?1:0),f=t.push("fence","code",0),f.info=c,f.content=t.getLines(o+1,l,i,!0),f.markup=u,f.map=[o,t.line],!0}),$a}var Ta,Uh;function ET(){if(Uh)return Ta;Uh=1;var e=ke().isSpace;return Ta=function(o,r,a,s){var i,c,l,d,f,u,g,p,_,m,b,h,k,w,y,x,C,v,S,T,$=o.lineMax,M=o.bMarks[r]+o.tShift[r],V=o.eMarks[r];if(o.sCount[r]-o.blkIndent>=4||o.src.charCodeAt(M)!==62)return!1;if(s)return!0;for(m=[],b=[],w=[],y=[],v=o.md.block.ruler.getRules("blockquote"),k=o.parentType,o.parentType="blockquote",p=r;p<a&&(T=o.sCount[p]<o.blkIndent,M=o.bMarks[p]+o.tShift[p],V=o.eMarks[p],!(M>=V));p++){if(o.src.charCodeAt(M++)===62&&!T){for(d=o.sCount[p]+1,o.src.charCodeAt(M)===32?(M++,d++,i=!1,x=!0):o.src.charCodeAt(M)===9?(x=!0,(o.bsCount[p]+d)%4===3?(M++,d++,i=!1):i=!0):x=!1,_=d,m.push(o.bMarks[p]),o.bMarks[p]=M;M<V&&(c=o.src.charCodeAt(M),e(c));){c===9?_+=4-(_+o.bsCount[p]+(i?1:0))%4:_++;M++}u=M>=V,b.push(o.bsCount[p]),o.bsCount[p]=o.sCount[p]+1+(x?1:0),w.push(o.sCount[p]),o.sCount[p]=_-d,y.push(o.tShift[p]),o.tShift[p]=M-o.bMarks[p];continue}if(u)break;for(C=!1,l=0,f=v.length;l<f;l++)if(v[l](o,p,a,!0)){C=!0;break}if(C){o.lineMax=p,o.blkIndent!==0&&(m.push(o.bMarks[p]),b.push(o.bsCount[p]),y.push(o.tShift[p]),w.push(o.sCount[p]),o.sCount[p]-=o.blkIndent);break}m.push(o.bMarks[p]),b.push(o.bsCount[p]),y.push(o.tShift[p]),w.push(o.sCount[p]),o.sCount[p]=-1}for(h=o.blkIndent,o.blkIndent=0,S=o.push("blockquote_open","blockquote",1),S.markup=">",S.map=g=[r,0],o.md.block.tokenize(o,r,p),S=o.push("blockquote_close","blockquote",-1),S.markup=">",o.lineMax=$,o.parentType=k,g[1]=o.line,l=0;l<y.length;l++)o.bMarks[l+r]=m[l],o.tShift[l+r]=y[l],o.sCount[l+r]=w[l],o.bsCount[l+r]=b[l];return o.blkIndent=h,!0},Ta}var Ma,Gh;function xT(){if(Gh)return Ma;Gh=1;var e=ke().isSpace;return Ma=function(o,r,a,s){var i,c,l,d,f=o.bMarks[r]+o.tShift[r],u=o.eMarks[r];if(o.sCount[r]-o.blkIndent>=4||(i=o.src.charCodeAt(f++),i!==42&&i!==45&&i!==95))return!1;for(c=1;f<u;){if(l=o.src.charCodeAt(f++),l!==i&&!e(l))return!1;l===i&&c++}return c<3?!1:(s||(o.line=r+1,d=o.push("hr","hr",0),d.map=[r,o.line],d.markup=Array(c+1).join(String.fromCharCode(i))),!0)},Ma}var Ia,Zh;function vT(){if(Zh)return Ia;Zh=1;var e=ke().isSpace;function t(a,s){var i,c,l,d;return c=a.bMarks[s]+a.tShift[s],l=a.eMarks[s],i=a.src.charCodeAt(c++),i!==42&&i!==45&&i!==43||c<l&&(d=a.src.charCodeAt(c),!e(d))?-1:c}function o(a,s){var i,c=a.bMarks[s]+a.tShift[s],l=c,d=a.eMarks[s];if(l+1>=d||(i=a.src.charCodeAt(l++),i<48||i>57))return-1;for(;;){if(l>=d)return-1;if(i=a.src.charCodeAt(l++),i>=48&&i<=57){if(l-c>=10)return-1;continue}if(i===41||i===46)break;return-1}return l<d&&(i=a.src.charCodeAt(l),!e(i))?-1:l}function r(a,s){var i,c,l=a.level+2;for(i=s+2,c=a.tokens.length-2;i<c;i++)a.tokens[i].level===l&&a.tokens[i].type==="paragraph_open"&&(a.tokens[i+2].hidden=!0,a.tokens[i].hidden=!0,i+=2)}return Ia=function(s,i,c,l){var d,f,u,g,p,_,m,b,h,k,w,y,x,C,v,S,T,$,M,V,X,I,H,L,z,O,P,B=i,D=!1,q=!0;if(s.sCount[B]-s.blkIndent>=4||s.listIndent>=0&&s.sCount[B]-s.listIndent>=4&&s.sCount[B]<s.blkIndent)return!1;if(l&&s.parentType==="paragraph"&&s.sCount[B]>=s.blkIndent&&(D=!0),(I=o(s,B))>=0){if(m=!0,L=s.bMarks[B]+s.tShift[B],x=Number(s.src.slice(L,I-1)),D&&x!==1)return!1}else if((I=t(s,B))>=0)m=!1;else return!1;if(D&&s.skipSpaces(I)>=s.eMarks[B])return!1;if(l)return!0;for(y=s.src.charCodeAt(I-1),w=s.tokens.length,m?(P=s.push("ordered_list_open","ol",1),x!==1&&(P.attrs=[["start",x]])):P=s.push("bullet_list_open","ul",1),P.map=k=[B,0],P.markup=String.fromCharCode(y),H=!1,O=s.md.block.ruler.getRules("list"),T=s.parentType,s.parentType="list";B<c;){for(X=I,C=s.eMarks[B],_=v=s.sCount[B]+I-(s.bMarks[B]+s.tShift[B]);X<C;){if(d=s.src.charCodeAt(X),d===9)v+=4-(v+s.bsCount[B])%4;else if(d===32)v++;else break;X++}if(f=X,f>=C?p=1:p=v-_,p>4&&(p=1),g=_+p,P=s.push("list_item_open","li",1),P.markup=String.fromCharCode(y),P.map=b=[B,0],m&&(P.info=s.src.slice(L,I-1)),V=s.tight,M=s.tShift[B],$=s.sCount[B],S=s.listIndent,s.listIndent=s.blkIndent,s.blkIndent=g,s.tight=!0,s.tShift[B]=f-s.bMarks[B],s.sCount[B]=v,f>=C&&s.isEmpty(B+1)?s.line=Math.min(s.line+2,c):s.md.block.tokenize(s,B,c,!0),(!s.tight||H)&&(q=!1),H=s.line-B>1&&s.isEmpty(s.line-1),s.blkIndent=s.listIndent,s.listIndent=S,s.tShift[B]=M,s.sCount[B]=$,s.tight=V,P=s.push("list_item_close","li",-1),P.markup=String.fromCharCode(y),B=s.line,b[1]=B,B>=c||s.sCount[B]<s.blkIndent||s.sCount[B]-s.blkIndent>=4)break;for(z=!1,u=0,h=O.length;u<h;u++)if(O[u](s,B,c,!0)){z=!0;break}if(z)break;if(m){if(I=o(s,B),I<0)break;L=s.bMarks[B]+s.tShift[B]}else if(I=t(s,B),I<0)break;if(y!==s.src.charCodeAt(I-1))break}return m?P=s.push("ordered_list_close","ol",-1):P=s.push("bullet_list_close","ul",-1),P.markup=String.fromCharCode(y),k[1]=B,s.line=B,s.parentType=T,q&&r(s,w),!0},Ia}var La,Wh;function ST(){if(Wh)return La;Wh=1;var e=ke().normalizeReference,t=ke().isSpace;return La=function(r,a,s,i){var c,l,d,f,u,g,p,_,m,b,h,k,w,y,x,C,v=0,S=r.bMarks[a]+r.tShift[a],T=r.eMarks[a],$=a+1;if(r.sCount[a]-r.blkIndent>=4||r.src.charCodeAt(S)!==91)return!1;for(;++S<T;)if(r.src.charCodeAt(S)===93&&r.src.charCodeAt(S-1)!==92){if(S+1===T||r.src.charCodeAt(S+1)!==58)return!1;break}for(f=r.lineMax,x=r.md.block.ruler.getRules("reference"),b=r.parentType,r.parentType="reference";$<f&&!r.isEmpty($);$++)if(!(r.sCount[$]-r.blkIndent>3)&&!(r.sCount[$]<0)){for(y=!1,g=0,p=x.length;g<p;g++)if(x[g](r,$,f,!0)){y=!0;break}if(y)break}for(w=r.getLines(a,$,r.blkIndent,!1).trim(),T=w.length,S=1;S<T;S++){if(c=w.charCodeAt(S),c===91)return!1;if(c===93){m=S;break}else c===10?v++:c===92&&(S++,S<T&&w.charCodeAt(S)===10&&v++)}if(m<0||w.charCodeAt(m+1)!==58)return!1;for(S=m+2;S<T;S++)if(c=w.charCodeAt(S),c===10)v++;else if(!t(c))break;if(h=r.md.helpers.parseLinkDestination(w,S,T),!h.ok||(u=r.md.normalizeLink(h.str),!r.md.validateLink(u)))return!1;for(S=h.pos,v+=h.lines,l=S,d=v,k=S;S<T;S++)if(c=w.charCodeAt(S),c===10)v++;else if(!t(c))break;for(h=r.md.helpers.parseLinkTitle(w,S,T),S<T&&k!==S&&h.ok?(C=h.str,S=h.pos,v+=h.lines):(C="",S=l,v=d);S<T&&(c=w.charCodeAt(S),!!t(c));)S++;if(S<T&&w.charCodeAt(S)!==10&&C)for(C="",S=l,v=d;S<T&&(c=w.charCodeAt(S),!!t(c));)S++;return S<T&&w.charCodeAt(S)!==10||(_=e(w.slice(1,m)),!_)?!1:(i||(typeof r.env.references>"u"&&(r.env.references={}),typeof r.env.references[_]>"u"&&(r.env.references[_]={title:C,href:u}),r.parentType=b,r.line=a+v+1),!0)},La}var Ra,Kh;function BT(){return Kh||(Kh=1,Ra=["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"]),Ra}var hr={},Xh;function Yh(){if(Xh)return hr;Xh=1;var e="[a-zA-Z_:][a-zA-Z0-9:._-]*",t="[^\"'=<>`\\x00-\\x20]+",o="'[^']*'",r='"[^"]*"',a="(?:"+t+"|"+o+"|"+r+")",s="(?:\\s+"+e+"(?:\\s*=\\s*"+a+")?)",i="<[A-Za-z][A-Za-z0-9\\-]*"+s+"*\\s*\\/?>",c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",l="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",d="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",u="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",g=new RegExp("^(?:"+i+"|"+c+"|"+l+"|"+d+"|"+f+"|"+u+")"),p=new RegExp("^(?:"+i+"|"+c+")");return hr.HTML_TAG_RE=g,hr.HTML_OPEN_CLOSE_TAG_RE=p,hr}var Oa,Jh;function NT(){if(Jh)return Oa;Jh=1;var e=BT(),t=Yh().HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];return Oa=function(a,s,i,c){var l,d,f,u,g=a.bMarks[s]+a.tShift[s],p=a.eMarks[s];if(a.sCount[s]-a.blkIndent>=4||!a.md.options.html||a.src.charCodeAt(g)!==60)return!1;for(u=a.src.slice(g,p),l=0;l<o.length&&!o[l][0].test(u);l++);if(l===o.length)return!1;if(c)return o[l][2];if(d=s+1,!o[l][1].test(u)){for(;d<i&&!(a.sCount[d]<a.blkIndent);d++)if(g=a.bMarks[d]+a.tShift[d],p=a.eMarks[d],u=a.src.slice(g,p),o[l][1].test(u)){u.length!==0&&d++;break}}return a.line=d,f=a.push("html_block","",0),f.map=[s,d],f.content=a.getLines(s,d,a.blkIndent,!0),!0},Oa}var Va,Qh;function AT(){if(Qh)return Va;Qh=1;var e=ke().isSpace;return Va=function(o,r,a,s){var i,c,l,d,f=o.bMarks[r]+o.tShift[r],u=o.eMarks[r];if(o.sCount[r]-o.blkIndent>=4||(i=o.src.charCodeAt(f),i!==35||f>=u))return!1;for(c=1,i=o.src.charCodeAt(++f);i===35&&f<u&&c<=6;)c++,i=o.src.charCodeAt(++f);return c>6||f<u&&!e(i)?!1:(s||(u=o.skipSpacesBack(u,f),l=o.skipCharsBack(u,35,f),l>f&&e(o.src.charCodeAt(l-1))&&(u=l),o.line=r+1,d=o.push("heading_open","h"+String(c),1),d.markup="########".slice(0,c),d.map=[r,o.line],d=o.push("inline","",0),d.content=o.src.slice(f,u).trim(),d.map=[r,o.line],d.children=[],d=o.push("heading_close","h"+String(c),-1),d.markup="########".slice(0,c)),!0)},Va}var za,em;function $T(){return em||(em=1,za=function(t,o,r){var a,s,i,c,l,d,f,u,g,p=o+1,_,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[o]-t.blkIndent>=4)return!1;for(_=t.parentType,t.parentType="paragraph";p<r&&!t.isEmpty(p);p++)if(!(t.sCount[p]-t.blkIndent>3)){if(t.sCount[p]>=t.blkIndent&&(d=t.bMarks[p]+t.tShift[p],f=t.eMarks[p],d<f&&(g=t.src.charCodeAt(d),(g===45||g===61)&&(d=t.skipChars(d,g),d=t.skipSpaces(d),d>=f)))){u=g===61?1:2;break}if(!(t.sCount[p]<0)){for(s=!1,i=0,c=m.length;i<c;i++)if(m[i](t,p,r,!0)){s=!0;break}if(s)break}}return u?(a=t.getLines(o,p,t.blkIndent,!1).trim(),t.line=p+1,l=t.push("heading_open","h"+String(u),1),l.markup=String.fromCharCode(g),l.map=[o,t.line],l=t.push("inline","",0),l.content=a,l.map=[o,t.line-1],l.children=[],l=t.push("heading_close","h"+String(u),-1),l.markup=String.fromCharCode(g),t.parentType=_,!0):!1}),za}var qa,tm;function TT(){return tm||(tm=1,qa=function(t,o,r){var a,s,i,c,l,d,f=o+1,u=t.md.block.ruler.getRules("paragraph");for(d=t.parentType,t.parentType="paragraph";f<r&&!t.isEmpty(f);f++)if(!(t.sCount[f]-t.blkIndent>3)&&!(t.sCount[f]<0)){for(s=!1,i=0,c=u.length;i<c;i++)if(u[i](t,f,r,!0)){s=!0;break}if(s)break}return a=t.getLines(o,f,t.blkIndent,!1).trim(),t.line=f,l=t.push("paragraph_open","p",1),l.map=[o,t.line],l=t.push("inline","",0),l.content=a,l.map=[o,t.line],l.children=[],l=t.push("paragraph_close","p",-1),t.parentType=d,!0}),qa}var Da,nm;function MT(){if(nm)return Da;nm=1;var e=va(),t=ke().isSpace;function o(r,a,s,i){var c,l,d,f,u,g,p,_;for(this.src=r,this.md=a,this.env=s,this.tokens=i,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="",l=this.src,_=!1,d=f=g=p=0,u=l.length;f<u;f++){if(c=l.charCodeAt(f),!_)if(t(c)){g++,c===9?p+=4-p%4:p++;continue}else _=!0;(c===10||f===u-1)&&(c!==10&&f++,this.bMarks.push(d),this.eMarks.push(f),this.tShift.push(g),this.sCount.push(p),this.bsCount.push(0),_=!1,g=0,p=0,d=f+1)}this.bMarks.push(l.length),this.eMarks.push(l.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}return o.prototype.push=function(r,a,s){var i=new e(r,a,s);return i.block=!0,s<0&&this.level--,i.level=this.level,s>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},o.prototype.skipEmptyLines=function(a){for(var s=this.lineMax;a<s&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a},o.prototype.skipSpaces=function(a){for(var s,i=this.src.length;a<i&&(s=this.src.charCodeAt(a),!!t(s));a++);return a},o.prototype.skipSpacesBack=function(a,s){if(a<=s)return a;for(;a>s;)if(!t(this.src.charCodeAt(--a)))return a+1;return a},o.prototype.skipChars=function(a,s){for(var i=this.src.length;a<i&&this.src.charCodeAt(a)===s;a++);return a},o.prototype.skipCharsBack=function(a,s,i){if(a<=i)return a;for(;a>i;)if(s!==this.src.charCodeAt(--a))return a+1;return a},o.prototype.getLines=function(a,s,i,c){var l,d,f,u,g,p,_,m=a;if(a>=s)return"";for(p=new Array(s-a),l=0;m<s;m++,l++){for(d=0,_=u=this.bMarks[m],m+1<s||c?g=this.eMarks[m]+1:g=this.eMarks[m];u<g&&d<i;){if(f=this.src.charCodeAt(u),t(f))f===9?d+=4-(d+this.bsCount[m])%4:d++;else if(u-_<this.tShift[m])d++;else break;u++}d>i?p[l]=new Array(d-i+1).join(" ")+this.src.slice(u,g):p[l]=this.src.slice(u,g)}return p.join("")},o.prototype.Token=e,Da=o,Da}var Pa,om;function IT(){if(om)return Pa;om=1;var e=ga(),t=[["table",wT(),["paragraph","reference"]],["code",yT()],["fence",CT(),["paragraph","reference","blockquote","list"]],["blockquote",ET(),["paragraph","reference","blockquote","list"]],["hr",xT(),["paragraph","reference","blockquote","list"]],["list",vT(),["paragraph","reference","blockquote"]],["reference",ST()],["html_block",NT(),["paragraph","reference","blockquote"]],["heading",AT(),["paragraph","reference","blockquote"]],["lheading",$T()],["paragraph",TT()]];function o(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1],{alt:(t[r][2]||[]).slice()})}return o.prototype.tokenize=function(r,a,s){for(var i,c,l,d=this.ruler.getRules(""),f=d.length,u=a,g=!1,p=r.md.options.maxNesting;u<s&&(r.line=u=r.skipEmptyLines(u),!(u>=s||r.sCount[u]<r.blkIndent));){if(r.level>=p){r.line=s;break}for(l=r.line,c=0;c<f;c++)if(i=d[c](r,u,s,!1),i){if(l>=r.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");r.tight=!g,r.isEmpty(r.line-1)&&(g=!0),u=r.line,u<s&&r.isEmpty(u)&&(g=!0,u++,r.line=u)}},o.prototype.parse=function(r,a,s,i){var c;r&&(c=new this.State(r,a,s,i),this.tokenize(c,c.line,c.lineMax))},o.prototype.State=MT(),Pa=o,Pa}var Fa,rm;function LT(){if(rm)return Fa;rm=1;function e(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}}return Fa=function(o,r){for(var a=o.pos;a<o.posMax&&!e(o.src.charCodeAt(a));)a++;return a===o.pos?!1:(r||(o.pending+=o.src.slice(o.pos,a)),o.pos=a,!0)},Fa}var ja,sm;function RT(){if(sm)return ja;sm=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return ja=function(o,r){var a,s,i,c,l,d,f,u;return!o.md.options.linkify||o.linkLevel>0||(a=o.pos,s=o.posMax,a+3>s)||o.src.charCodeAt(a)!==58||o.src.charCodeAt(a+1)!==47||o.src.charCodeAt(a+2)!==47||(i=o.pending.match(e),!i)||(c=i[1],l=o.md.linkify.matchAtStart(o.src.slice(a-c.length)),!l)||(d=l.url,d.length<=c.length)||(d=d.replace(/\*+$/,""),f=o.md.normalizeLink(d),!o.md.validateLink(f))?!1:(r||(o.pending=o.pending.slice(0,-c.length),u=o.push("link_open","a",1),u.attrs=[["href",f]],u.markup="linkify",u.info="auto",u=o.push("text","",0),u.content=o.md.normalizeLinkText(d),u=o.push("link_close","a",-1),u.markup="linkify",u.info="auto"),o.pos+=d.length-c.length,!0)},ja}var Ha,am;function OT(){if(am)return Ha;am=1;var e=ke().isSpace;return Ha=function(o,r){var a,s,i,c=o.pos;if(o.src.charCodeAt(c)!==10)return!1;if(a=o.pending.length-1,s=o.posMax,!r)if(a>=0&&o.pending.charCodeAt(a)===32)if(a>=1&&o.pending.charCodeAt(a-1)===32){for(i=a-1;i>=1&&o.pending.charCodeAt(i-1)===32;)i--;o.pending=o.pending.slice(0,i),o.push("hardbreak","br",0)}else o.pending=o.pending.slice(0,-1),o.push("softbreak","br",0);else o.push("softbreak","br",0);for(c++;c<s&&e(o.src.charCodeAt(c));)c++;return o.pos=c,!0},Ha}var Ua,im;function VT(){if(im)return Ua;im=1;for(var e=ke().isSpace,t=[],o=0;o<256;o++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),Ua=function(a,s){var i,c,l,d,f,u=a.pos,g=a.posMax;if(a.src.charCodeAt(u)!==92||(u++,u>=g))return!1;if(i=a.src.charCodeAt(u),i===10){for(s||a.push("hardbreak","br",0),u++;u<g&&(i=a.src.charCodeAt(u),!!e(i));)u++;return a.pos=u,!0}return d=a.src[u],i>=55296&&i<=56319&&u+1<g&&(c=a.src.charCodeAt(u+1),c>=56320&&c<=57343&&(d+=a.src[u+1],u++)),l="\\"+d,s||(f=a.push("text_special","",0),i<256&&t[i]!==0?f.content=d:f.content=l,f.markup=l,f.info="escape"),a.pos=u+1,!0},Ua}var Ga,cm;function zT(){return cm||(cm=1,Ga=function(t,o){var r,a,s,i,c,l,d,f,u=t.pos,g=t.src.charCodeAt(u);if(g!==96)return!1;for(r=u,u++,a=t.posMax;u<a&&t.src.charCodeAt(u)===96;)u++;if(s=t.src.slice(r,u),d=s.length,t.backticksScanned&&(t.backticks[d]||0)<=r)return o||(t.pending+=s),t.pos+=d,!0;for(l=u;(c=t.src.indexOf("`",l))!==-1;){for(l=c+1;l<a&&t.src.charCodeAt(l)===96;)l++;if(f=l-c,f===d)return o||(i=t.push("code_inline","code",0),i.markup=s,i.content=t.src.slice(u,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=l,!0;t.backticks[f]=c}return t.backticksScanned=!0,o||(t.pending+=s),t.pos+=d,!0}),Ga}var mr={},lm;function um(){if(lm)return mr;lm=1,mr.tokenize=function(o,r){var a,s,i,c,l,d=o.pos,f=o.src.charCodeAt(d);if(r||f!==126||(s=o.scanDelims(o.pos,!0),c=s.length,l=String.fromCharCode(f),c<2))return!1;for(c%2&&(i=o.push("text","",0),i.content=l,c--),a=0;a<c;a+=2)i=o.push("text","",0),i.content=l+l,o.delimiters.push({marker:f,length:0,token:o.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return o.pos+=s.length,!0};function e(t,o){var r,a,s,i,c,l=[],d=o.length;for(r=0;r<d;r++)s=o[r],s.marker===126&&s.end!==-1&&(i=o[s.end],c=t.tokens[s.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[i.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[i.token-1].type==="text"&&t.tokens[i.token-1].content==="~"&&l.push(i.token-1));for(;l.length;){for(r=l.pop(),a=r+1;a<t.tokens.length&&t.tokens[a].type==="s_close";)a++;a--,r!==a&&(c=t.tokens[a],t.tokens[a]=t.tokens[r],t.tokens[r]=c)}}return mr.postProcess=function(o){var r,a=o.tokens_meta,s=o.tokens_meta.length;for(e(o,o.delimiters),r=0;r<s;r++)a[r]&&a[r].delimiters&&e(o,a[r].delimiters)},mr}var gr={},dm;function fm(){if(dm)return gr;dm=1,gr.tokenize=function(o,r){var a,s,i,c=o.pos,l=o.src.charCodeAt(c);if(r||l!==95&&l!==42)return!1;for(s=o.scanDelims(o.pos,l===42),a=0;a<s.length;a++)i=o.push("text","",0),i.content=String.fromCharCode(l),o.delimiters.push({marker:l,length:s.length,token:o.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return o.pos+=s.length,!0};function e(t,o){var r,a,s,i,c,l,d=o.length;for(r=d-1;r>=0;r--)a=o[r],!(a.marker!==95&&a.marker!==42)&&a.end!==-1&&(s=o[a.end],l=r>0&&o[r-1].end===a.end+1&&o[r-1].marker===a.marker&&o[r-1].token===a.token-1&&o[a.end+1].token===s.token+1,c=String.fromCharCode(a.marker),i=t.tokens[a.token],i.type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?c+c:c,i.content="",i=t.tokens[s.token],i.type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?c+c:c,i.content="",l&&(t.tokens[o[r-1].token].content="",t.tokens[o[a.end+1].token].content="",r--))}return gr.postProcess=function(o){var r,a=o.tokens_meta,s=o.tokens_meta.length;for(e(o,o.delimiters),r=0;r<s;r++)a[r]&&a[r].delimiters&&e(o,a[r].delimiters)},gr}var Za,pm;function qT(){if(pm)return Za;pm=1;var e=ke().normalizeReference,t=ke().isSpace;return Za=function(r,a){var s,i,c,l,d,f,u,g,p,_="",m="",b=r.pos,h=r.posMax,k=r.pos,w=!0;if(r.src.charCodeAt(r.pos)!==91||(d=r.pos+1,l=r.md.helpers.parseLinkLabel(r,r.pos,!0),l<0))return!1;if(f=l+1,f<h&&r.src.charCodeAt(f)===40){for(w=!1,f++;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=h)return!1;if(k=f,u=r.md.helpers.parseLinkDestination(r.src,f,r.posMax),u.ok){for(_=r.md.normalizeLink(u.str),r.md.validateLink(_)?f=u.pos:_="",k=f;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(u=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<h&&k!==f&&u.ok)for(m=u.str,f=u.pos;f<h&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);}(f>=h||r.src.charCodeAt(f)!==41)&&(w=!0),f++}if(w){if(typeof r.env.references>"u")return!1;if(f<h&&r.src.charCodeAt(f)===91?(k=f+1,f=r.md.helpers.parseLinkLabel(r,f),f>=0?c=r.src.slice(k,f++):f=l+1):f=l+1,c||(c=r.src.slice(d,l)),g=r.env.references[e(c)],!g)return r.pos=b,!1;_=g.href,m=g.title}return a||(r.pos=d,r.posMax=l,p=r.push("link_open","a",1),p.attrs=s=[["href",_]],m&&s.push(["title",m]),r.linkLevel++,r.md.inline.tokenize(r),r.linkLevel--,p=r.push("link_close","a",-1)),r.pos=f,r.posMax=h,!0},Za}var Wa,hm;function DT(){if(hm)return Wa;hm=1;var e=ke().normalizeReference,t=ke().isSpace;return Wa=function(r,a){var s,i,c,l,d,f,u,g,p,_,m,b,h,k="",w=r.pos,y=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(f=r.pos+2,d=r.md.helpers.parseLinkLabel(r,r.pos+1,!1),d<0))return!1;if(u=d+1,u<y&&r.src.charCodeAt(u)===40){for(u++;u<y&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);if(u>=y)return!1;for(h=u,p=r.md.helpers.parseLinkDestination(r.src,u,r.posMax),p.ok&&(k=r.md.normalizeLink(p.str),r.md.validateLink(k)?u=p.pos:k=""),h=u;u<y&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);if(p=r.md.helpers.parseLinkTitle(r.src,u,r.posMax),u<y&&h!==u&&p.ok)for(_=p.str,u=p.pos;u<y&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);else _="";if(u>=y||r.src.charCodeAt(u)!==41)return r.pos=w,!1;u++}else{if(typeof r.env.references>"u")return!1;if(u<y&&r.src.charCodeAt(u)===91?(h=u+1,u=r.md.helpers.parseLinkLabel(r,u),u>=0?l=r.src.slice(h,u++):u=d+1):u=d+1,l||(l=r.src.slice(f,d)),g=r.env.references[e(l)],!g)return r.pos=w,!1;k=g.href,_=g.title}return a||(c=r.src.slice(f,d),r.md.inline.parse(c,r.md,r.env,b=[]),m=r.push("image","img",0),m.attrs=s=[["src",k],["alt",""]],m.children=b,m.content=c,_&&s.push(["title",_])),r.pos=u,r.posMax=y,!0},Wa}var Ka,mm;function PT(){if(mm)return Ka;mm=1;var e=/^([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])?)*)$/,t=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;return Ka=function(r,a){var s,i,c,l,d,f,u=r.pos;if(r.src.charCodeAt(u)!==60)return!1;for(d=r.pos,f=r.posMax;;){if(++u>=f||(l=r.src.charCodeAt(u),l===60))return!1;if(l===62)break}return s=r.src.slice(d+1,u),t.test(s)?(i=r.md.normalizeLink(s),r.md.validateLink(i)?(a||(c=r.push("link_open","a",1),c.attrs=[["href",i]],c.markup="autolink",c.info="auto",c=r.push("text","",0),c.content=r.md.normalizeLinkText(s),c=r.push("link_close","a",-1),c.markup="autolink",c.info="auto"),r.pos+=s.length+2,!0):!1):e.test(s)?(i=r.md.normalizeLink("mailto:"+s),r.md.validateLink(i)?(a||(c=r.push("link_open","a",1),c.attrs=[["href",i]],c.markup="autolink",c.info="auto",c=r.push("text","",0),c.content=r.md.normalizeLinkText(s),c=r.push("link_close","a",-1),c.markup="autolink",c.info="auto"),r.pos+=s.length+2,!0):!1):!1},Ka}var Xa,gm;function FT(){if(gm)return Xa;gm=1;var e=Yh().HTML_TAG_RE;function t(a){return/^<a[>\s]/i.test(a)}function o(a){return/^<\/a\s*>/i.test(a)}function r(a){var s=a|32;return s>=97&&s<=122}return Xa=function(s,i){var c,l,d,f,u=s.pos;return!s.md.options.html||(d=s.posMax,s.src.charCodeAt(u)!==60||u+2>=d)||(c=s.src.charCodeAt(u+1),c!==33&&c!==63&&c!==47&&!r(c))||(l=s.src.slice(u).match(e),!l)?!1:(i||(f=s.push("html_inline","",0),f.content=l[0],t(f.content)&&s.linkLevel++,o(f.content)&&s.linkLevel--),s.pos+=l[0].length,!0)},Xa}var Ya,_m;function jT(){if(_m)return Ya;_m=1;var e=lh(),t=ke().has,o=ke().isValidEntityCode,r=ke().fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;return Ya=function(c,l){var d,f,u,g,p=c.pos,_=c.posMax;if(c.src.charCodeAt(p)!==38||p+1>=_)return!1;if(d=c.src.charCodeAt(p+1),d===35){if(u=c.src.slice(p).match(a),u)return l||(f=u[1][0].toLowerCase()==="x"?parseInt(u[1].slice(1),16):parseInt(u[1],10),g=c.push("text_special","",0),g.content=o(f)?r(f):r(65533),g.markup=u[0],g.info="entity"),c.pos+=u[0].length,!0}else if(u=c.src.slice(p).match(s),u&&t(e,u[1]))return l||(g=c.push("text_special","",0),g.content=e[u[1]],g.markup=u[0],g.info="entity"),c.pos+=u[0].length,!0;return!1},Ya}var Ja,bm;function HT(){if(bm)return Ja;bm=1;function e(t){var o,r,a,s,i,c,l,d,f={},u=t.length;if(u){var g=0,p=-2,_=[];for(o=0;o<u;o++)if(a=t[o],_.push(0),(t[g].marker!==a.marker||p!==a.token-1)&&(g=o),p=a.token,a.length=a.length||0,!!a.close){for(f.hasOwnProperty(a.marker)||(f[a.marker]=[-1,-1,-1,-1,-1,-1]),i=f[a.marker][(a.open?3:0)+a.length%3],r=g-_[g]-1,c=r;r>i;r-=_[r]+1)if(s=t[r],s.marker===a.marker&&s.open&&s.end<0&&(l=!1,(s.close||a.open)&&(s.length+a.length)%3===0&&(s.length%3!==0||a.length%3!==0)&&(l=!0),!l)){d=r>0&&!t[r-1].open?_[r-1]+1:0,_[o]=o-r+d,_[r]=d,a.open=!1,s.end=o,s.close=!1,c=-1,p=-2;break}c!==-1&&(f[a.marker][(a.open?3:0)+(a.length||0)%3]=c)}}}return Ja=function(o){var r,a=o.tokens_meta,s=o.tokens_meta.length;for(e(o.delimiters),r=0;r<s;r++)a[r]&&a[r].delimiters&&e(a[r].delimiters)},Ja}var Qa,km;function UT(){return km||(km=1,Qa=function(t){var o,r,a=0,s=t.tokens,i=t.tokens.length;for(o=r=0;o<i;o++)s[o].nesting<0&&a--,s[o].level=a,s[o].nesting>0&&a++,s[o].type==="text"&&o+1<i&&s[o+1].type==="text"?s[o+1].content=s[o].content+s[o+1].content:(o!==r&&(s[r]=s[o]),r++);o!==r&&(s.length=r)}),Qa}var ei,wm;function GT(){if(wm)return ei;wm=1;var e=va(),t=ke().isWhiteSpace,o=ke().isPunctChar,r=ke().isMdAsciiPunct;function a(s,i,c,l){this.src=s,this.env=c,this.md=i,this.tokens=l,this.tokens_meta=Array(l.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,this.linkLevel=0}return a.prototype.pushPending=function(){var s=new e("text","",0);return s.content=this.pending,s.level=this.pendingLevel,this.tokens.push(s),this.pending="",s},a.prototype.push=function(s,i,c){this.pending&&this.pushPending();var l=new e(s,i,c),d=null;return c<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),l.level=this.level,c>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],d={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(l),this.tokens_meta.push(d),l},a.prototype.scanDelims=function(s,i){var c=s,l,d,f,u,g,p,_,m,b,h=!0,k=!0,w=this.posMax,y=this.src.charCodeAt(s);for(l=s>0?this.src.charCodeAt(s-1):32;c<w&&this.src.charCodeAt(c)===y;)c++;return f=c-s,d=c<w?this.src.charCodeAt(c):32,_=r(l)||o(String.fromCharCode(l)),b=r(d)||o(String.fromCharCode(d)),p=t(l),m=t(d),m?h=!1:b&&(p||_||(h=!1)),p?k=!1:_&&(m||b||(k=!1)),i?(u=h,g=k):(u=h&&(!k||_),g=k&&(!h||b)),{can_open:u,can_close:g,length:f}},a.prototype.Token=e,ei=a,ei}var ti,ym;function ZT(){if(ym)return ti;ym=1;var e=ga(),t=[["text",LT()],["linkify",RT()],["newline",OT()],["escape",VT()],["backticks",zT()],["strikethrough",um().tokenize],["emphasis",fm().tokenize],["link",qT()],["image",DT()],["autolink",PT()],["html_inline",FT()],["entity",jT()]],o=[["balance_pairs",HT()],["strikethrough",um().postProcess],["emphasis",fm().postProcess],["fragments_join",UT()]];function r(){var a;for(this.ruler=new e,a=0;a<t.length;a++)this.ruler.push(t[a][0],t[a][1]);for(this.ruler2=new e,a=0;a<o.length;a++)this.ruler2.push(o[a][0],o[a][1])}return r.prototype.skipToken=function(a){var s,i,c=a.pos,l=this.ruler.getRules(""),d=l.length,f=a.md.options.maxNesting,u=a.cache;if(typeof u[c]<"u"){a.pos=u[c];return}if(a.level<f){for(i=0;i<d;i++)if(a.level++,s=l[i](a,!0),a.level--,s){if(c>=a.pos)throw new Error("inline rule didn't increment state.pos");break}}else a.pos=a.posMax;s||a.pos++,u[c]=a.pos},r.prototype.tokenize=function(a){for(var s,i,c,l=this.ruler.getRules(""),d=l.length,f=a.posMax,u=a.md.options.maxNesting;a.pos<f;){if(c=a.pos,a.level<u){for(i=0;i<d;i++)if(s=l[i](a,!1),s){if(c>=a.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(a.pos>=f)break;continue}a.pending+=a.src[a.pos++]}a.pending&&a.pushPending()},r.prototype.parse=function(a,s,i,c){var l,d,f,u=new this.State(a,s,i,c);for(this.tokenize(u),d=this.ruler2.getRules(""),f=d.length,l=0;l<f;l++)d[l](u)},r.prototype.State=GT(),ti=r,ti}var ni,Cm;function WT(){return Cm||(Cm=1,ni=function(e){var t={};e=e||{},t.src_Any=bh().source,t.src_Cc=wh().source,t.src_Z=Eh().source,t.src_P=na().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var o="[><|]";return t.src_pseudo_letter="(?:(?!"+o+"|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+o+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),ni}var oi,Em;function KT(){if(Em)return oi;Em=1;function e(w){var y=Array.prototype.slice.call(arguments,1);return y.forEach(function(x){x&&Object.keys(x).forEach(function(C){w[C]=x[C]})}),w}function t(w){return Object.prototype.toString.call(w)}function o(w){return t(w)==="[object String]"}function r(w){return t(w)==="[object Object]"}function a(w){return t(w)==="[object RegExp]"}function s(w){return t(w)==="[object Function]"}function i(w){return w.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function l(w){return Object.keys(w||{}).reduce(function(y,x){return y||c.hasOwnProperty(x)},!1)}var d={"http:":{validate:function(w,y,x){var C=w.slice(y);return x.re.http||(x.re.http=new RegExp("^\\/\\/"+x.re.src_auth+x.re.src_host_port_strict+x.re.src_path,"i")),x.re.http.test(C)?C.match(x.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(w,y,x){var C=w.slice(y);return x.re.no_http||(x.re.no_http=new RegExp("^"+x.re.src_auth+"(?:localhost|(?:(?:"+x.re.src_domain+")\\.)+"+x.re.src_domain_root+")"+x.re.src_port+x.re.src_host_terminator+x.re.src_path,"i")),x.re.no_http.test(C)?y>=3&&w[y-3]===":"||y>=3&&w[y-3]==="/"?0:C.match(x.re.no_http)[0].length:0}},"mailto:":{validate:function(w,y,x){var C=w.slice(y);return x.re.mailto||(x.re.mailto=new RegExp("^"+x.re.src_email_name+"@"+x.re.src_host_strict,"i")),x.re.mailto.test(C)?C.match(x.re.mailto)[0].length:0}}},f="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]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function g(w){w.__index__=-1,w.__text_cache__=""}function p(w){return function(y,x){var C=y.slice(x);return w.test(C)?C.match(w)[0].length:0}}function _(){return function(w,y){y.normalize(w)}}function m(w){var y=w.re=WT()(w.__opts__),x=w.__tlds__.slice();w.onCompile(),w.__tlds_replaced__||x.push(f),x.push(y.src_xn),y.src_tlds=x.join("|");function C($){return $.replace("%TLDS%",y.src_tlds)}y.email_fuzzy=RegExp(C(y.tpl_email_fuzzy),"i"),y.link_fuzzy=RegExp(C(y.tpl_link_fuzzy),"i"),y.link_no_ip_fuzzy=RegExp(C(y.tpl_link_no_ip_fuzzy),"i"),y.host_fuzzy_test=RegExp(C(y.tpl_host_fuzzy_test),"i");var v=[];w.__compiled__={};function S($,M){throw new Error('(LinkifyIt) Invalid schema "'+$+'": '+M)}Object.keys(w.__schemas__).forEach(function($){var M=w.__schemas__[$];if(M!==null){var V={validate:null,link:null};if(w.__compiled__[$]=V,r(M)){a(M.validate)?V.validate=p(M.validate):s(M.validate)?V.validate=M.validate:S($,M),s(M.normalize)?V.normalize=M.normalize:M.normalize?S($,M):V.normalize=_();return}if(o(M)){v.push($);return}S($,M)}}),v.forEach(function($){w.__compiled__[w.__schemas__[$]]&&(w.__compiled__[$].validate=w.__compiled__[w.__schemas__[$]].validate,w.__compiled__[$].normalize=w.__compiled__[w.__schemas__[$]].normalize)}),w.__compiled__[""]={validate:null,normalize:_()};var T=Object.keys(w.__compiled__).filter(function($){return $.length>0&&w.__compiled__[$]}).map(i).join("|");w.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+y.src_ZPCc+"))("+T+")","i"),w.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+y.src_ZPCc+"))("+T+")","ig"),w.re.schema_at_start=RegExp("^"+w.re.schema_search.source,"i"),w.re.pretest=RegExp("("+w.re.schema_test.source+")|("+w.re.host_fuzzy_test.source+")|@","i"),g(w)}function b(w,y){var x=w.__index__,C=w.__last_index__,v=w.__text_cache__.slice(x,C);this.schema=w.__schema__.toLowerCase(),this.index=x+y,this.lastIndex=C+y,this.raw=v,this.text=v,this.url=v}function h(w,y){var x=new b(w,y);return w.__compiled__[x.schema].normalize(x,w),x}function k(w,y){if(!(this instanceof k))return new k(w,y);y||l(w)&&(y=w,w={}),this.__opts__=e({},c,y),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},d,w),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},m(this)}return k.prototype.add=function(y,x){return this.__schemas__[y]=x,m(this),this},k.prototype.set=function(y){return this.__opts__=e(this.__opts__,y),this},k.prototype.test=function(y){if(this.__text_cache__=y,this.__index__=-1,!y.length)return!1;var x,C,v,S,T,$,M,V,X;if(this.re.schema_test.test(y)){for(M=this.re.schema_search,M.lastIndex=0;(x=M.exec(y))!==null;)if(S=this.testSchemaAt(y,x[2],M.lastIndex),S){this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+S;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(V=y.search(this.re.host_fuzzy_test),V>=0&&(this.__index__<0||V<this.__index__)&&(C=y.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(T=C.index+C[1].length,(this.__index__<0||T<this.__index__)&&(this.__schema__="",this.__index__=T,this.__last_index__=C.index+C[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(X=y.indexOf("@"),X>=0&&(v=y.match(this.re.email_fuzzy))!==null&&(T=v.index+v[1].length,$=v.index+v[0].length,(this.__index__<0||T<this.__index__||T===this.__index__&&$>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=T,this.__last_index__=$))),this.__index__>=0},k.prototype.pretest=function(y){return this.re.pretest.test(y)},k.prototype.testSchemaAt=function(y,x,C){return this.__compiled__[x.toLowerCase()]?this.__compiled__[x.toLowerCase()].validate(y,C,this):0},k.prototype.match=function(y){var x=0,C=[];this.__index__>=0&&this.__text_cache__===y&&(C.push(h(this,x)),x=this.__last_index__);for(var v=x?y.slice(x):y;this.test(v);)C.push(h(this,x)),v=v.slice(this.__last_index__),x+=this.__last_index__;return C.length?C:null},k.prototype.matchAtStart=function(y){if(this.__text_cache__=y,this.__index__=-1,!y.length)return null;var x=this.re.schema_at_start.exec(y);if(!x)return null;var C=this.testSchemaAt(y,x[2],x[0].length);return C?(this.__schema__=x[2],this.__index__=x.index+x[1].length,this.__last_index__=x.index+x[0].length+C,h(this,0)):null},k.prototype.tlds=function(y,x){return y=Array.isArray(y)?y:[y],x?(this.__tlds__=this.__tlds__.concat(y).sort().filter(function(C,v,S){return C!==S[v-1]}).reverse(),m(this),this):(this.__tlds__=y.slice(),this.__tlds_replaced__=!0,m(this),this)},k.prototype.normalize=function(y){y.schema||(y.url="http://"+y.url),y.schema==="mailto:"&&!/^mailto:/i.test(y.url)&&(y.url="mailto:"+y.url)},k.prototype.onCompile=function(){},oi=k,oi}var wo={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */var XT=wo.exports,xm;function YT(){return xm||(xm=1,(function(e,t){(function(o){var r=t&&!t.nodeType&&t,a=e&&!e.nodeType&&e,s=typeof vn=="object"&&vn;(s.global===s||s.window===s||s.self===s)&&(o=s);var i,c=2147483647,l=36,d=1,f=26,u=38,g=700,p=72,_=128,m="-",b=/^xn--/,h=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=l-d,x=Math.floor,C=String.fromCharCode,v;function S(B){throw new RangeError(w[B])}function T(B,D){for(var q=B.length,K=[];q--;)K[q]=D(B[q]);return K}function $(B,D){var q=B.split("@"),K="";q.length>1&&(K=q[0]+"@",B=q[1]),B=B.replace(k,".");var Q=B.split("."),re=T(Q,D).join(".");return K+re}function M(B){for(var D=[],q=0,K=B.length,Q,re;q<K;)Q=B.charCodeAt(q++),Q>=55296&&Q<=56319&&q<K?(re=B.charCodeAt(q++),(re&64512)==56320?D.push(((Q&1023)<<10)+(re&1023)+65536):(D.push(Q),q--)):D.push(Q);return D}function V(B){return T(B,function(D){var q="";return D>65535&&(D-=65536,q+=C(D>>>10&1023|55296),D=56320|D&1023),q+=C(D),q}).join("")}function X(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:l}function I(B,D){return B+22+75*(B<26)-((D!=0)<<5)}function H(B,D,q){var K=0;for(B=q?x(B/g):B>>1,B+=x(B/D);B>y*f>>1;K+=l)B=x(B/y);return x(K+(y+1)*B/(B+u))}function L(B){var D=[],q=B.length,K,Q=0,re=_,ce=p,we,_e,$e,Z,te,de,ye,Ne,Ie;for(we=B.lastIndexOf(m),we<0&&(we=0),_e=0;_e<we;++_e)B.charCodeAt(_e)>=128&&S("not-basic"),D.push(B.charCodeAt(_e));for($e=we>0?we+1:0;$e<q;){for(Z=Q,te=1,de=l;$e>=q&&S("invalid-input"),ye=X(B.charCodeAt($e++)),(ye>=l||ye>x((c-Q)/te))&&S("overflow"),Q+=ye*te,Ne=de<=ce?d:de>=ce+f?f:de-ce,!(ye<Ne);de+=l)Ie=l-Ne,te>x(c/Ie)&&S("overflow"),te*=Ie;K=D.length+1,ce=H(Q-Z,K,Z==0),x(Q/K)>c-re&&S("overflow"),re+=x(Q/K),Q%=K,D.splice(Q++,0,re)}return V(D)}function z(B){var D,q,K,Q,re,ce,we,_e,$e,Z,te,de=[],ye,Ne,Ie,qe;for(B=M(B),ye=B.length,D=_,q=0,re=p,ce=0;ce<ye;++ce)te=B[ce],te<128&&de.push(C(te));for(K=Q=de.length,Q&&de.push(m);K<ye;){for(we=c,ce=0;ce<ye;++ce)te=B[ce],te>=D&&te<we&&(we=te);for(Ne=K+1,we-D>x((c-q)/Ne)&&S("overflow"),q+=(we-D)*Ne,D=we,ce=0;ce<ye;++ce)if(te=B[ce],te<D&&++q>c&&S("overflow"),te==D){for(_e=q,$e=l;Z=$e<=re?d:$e>=re+f?f:$e-re,!(_e<Z);$e+=l)qe=_e-Z,Ie=l-Z,de.push(C(I(Z+qe%Ie,0))),_e=x(qe/Ie);de.push(C(I(_e,0))),re=H(q,Ne,K==Q),q=0,++K}++q,++D}return de.join("")}function O(B){return $(B,function(D){return b.test(D)?L(D.slice(4).toLowerCase()):D})}function P(B){return $(B,function(D){return h.test(D)?"xn--"+z(D):D})}if(i={version:"1.4.1",ucs2:{decode:M,encode:V},decode:L,encode:z,toASCII:P,toUnicode:O},r&&a)if(e.exports==r)a.exports=i;else for(v in i)i.hasOwnProperty(v)&&(r[v]=i[v]);else o.punycode=i})(XT)})(wo,wo.exports)),wo.exports}var ri,vm;function JT(){return vm||(vm=1,ri={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),ri}var si,Sm;function QT(){return Sm||(Sm=1,si={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}),si}var ai,Bm;function eM(){return Bm||(Bm=1,ai={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},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","fragments_join"]}}}),ai}var ii,Nm;function tM(){if(Nm)return ii;Nm=1;var e=ke(),t=lT(),o=uT(),r=kT(),a=IT(),s=ZT(),i=KT(),c=gh(),l=YT(),d={default:JT(),zero:QT(),commonmark:eM()},f=/^(vbscript|javascript|file|data):/,u=/^data:image\/(gif|png|jpeg|webp);/;function g(h){var k=h.trim().toLowerCase();return f.test(k)?!!u.test(k):!0}var p=["http:","https:","mailto:"];function _(h){var k=c.parse(h,!0);if(k.hostname&&(!k.protocol||p.indexOf(k.protocol)>=0))try{k.hostname=l.toASCII(k.hostname)}catch{}return c.encode(c.format(k))}function m(h){var k=c.parse(h,!0);if(k.hostname&&(!k.protocol||p.indexOf(k.protocol)>=0))try{k.hostname=l.toUnicode(k.hostname)}catch{}return c.decode(c.format(k),c.decode.defaultChars+"%")}function b(h,k){if(!(this instanceof b))return new b(h,k);k||e.isString(h)||(k=h||{},h="default"),this.inline=new s,this.block=new a,this.core=new r,this.renderer=new o,this.linkify=new i,this.validateLink=g,this.normalizeLink=_,this.normalizeLinkText=m,this.utils=e,this.helpers=e.assign({},t),this.options={},this.configure(h),k&&this.set(k)}return b.prototype.set=function(h){return e.assign(this.options,h),this},b.prototype.configure=function(h){var k=this,w;if(e.isString(h)&&(w=h,h=d[w],!h))throw new Error('Wrong `markdown-it` preset "'+w+'", check name');if(!h)throw new Error("Wrong `markdown-it` preset, can't be empty");return h.options&&k.set(h.options),h.components&&Object.keys(h.components).forEach(function(y){h.components[y].rules&&k[y].ruler.enableOnly(h.components[y].rules),h.components[y].rules2&&k[y].ruler2.enableOnly(h.components[y].rules2)}),this},b.prototype.enable=function(h,k){var w=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(x){w=w.concat(this[x].ruler.enable(h,!0))},this),w=w.concat(this.inline.ruler2.enable(h,!0));var y=h.filter(function(x){return w.indexOf(x)<0});if(y.length&&!k)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+y);return this},b.prototype.disable=function(h,k){var w=[];Array.isArray(h)||(h=[h]),["core","block","inline"].forEach(function(x){w=w.concat(this[x].ruler.disable(h,!0))},this),w=w.concat(this.inline.ruler2.disable(h,!0));var y=h.filter(function(x){return w.indexOf(x)<0});if(y.length&&!k)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+y);return this},b.prototype.use=function(h){var k=[this].concat(Array.prototype.slice.call(arguments,1));return h.apply(h,k),this},b.prototype.parse=function(h,k){if(typeof h!="string")throw new Error("Input data should be a String");var w=new this.core.State(h,this,k);return this.core.process(w),w.tokens},b.prototype.render=function(h,k){return k=k||{},this.renderer.render(this.parse(h,k),this.options,k)},b.prototype.parseInline=function(h,k){var w=new this.core.State(h,this,k);return w.inlineMode=!0,this.core.process(w),w.tokens},b.prototype.renderInline=function(h,k){return k=k||{},this.renderer.render(this.parseInline(h,k),this.options,k)},ii=b,ii}var ci,Am;function nM(){return Am||(Am=1,ci=tM()),ci}var oM=nM();const $m=Sn(oM),rM={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"};var li,Tm;function sM(){return Tm||(Tm=1,li={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}),li}var ui,Mm;function aM(){return Mm||(Mm=1,ui=function(t,o){return t[o].content}),ui}var di,Im;function iM(){return Im||(Im=1,di=function(t,o,r,a,s){var i=t.utils.arrayReplaceAt,c=t.utils.lib.ucmicro,l=new RegExp([c.Z.source,c.P.source,c.Cc.source].join("|"));function d(f,u,g){var p,_=0,m=[];return f.replace(s,function(b,h,k){var w;if(r.hasOwnProperty(b)){if(w=r[b],h>0&&!l.test(k[h-1])||h+b.length<k.length&&!l.test(k[h+b.length]))return}else w=b.slice(1,-1);h>_&&(p=new g("text","",0),p.content=f.slice(_,h),m.push(p)),p=new g("emoji","",0),p.markup=w,p.content=o[w],m.push(p),_=h+b.length}),_<f.length&&(p=new g("text","",0),p.content=f.slice(_),m.push(p)),m}return function(u){var g,p,_,m,b,h=u.tokens,k=0;for(p=0,_=h.length;p<_;p++)if(h[p].type==="inline")for(m=h[p].children,g=m.length-1;g>=0;g--)b=m[g],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(k-=b.nesting),b.type==="text"&&k===0&&a.test(b.content)&&(h[p].children=m=i(m,g,d(b.content,b.level,u.Token)))}}),di}var fi,Lm;function cM(){if(Lm)return fi;Lm=1;function e(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}return fi=function(o){var r=o.defs,a;o.enabled.length&&(r=Object.keys(r).reduce(function(d,f){return o.enabled.indexOf(f)>=0&&(d[f]=r[f]),d},{})),a=Object.keys(o.shortcuts).reduce(function(d,f){return r[f]?Array.isArray(o.shortcuts[f])?(o.shortcuts[f].forEach(function(u){d[u]=f}),d):(d[o.shortcuts[f]]=f,d):d},{});var s=Object.keys(r),i;s.length===0?i="^$":i=s.map(function(d){return":"+d+":"}).concat(Object.keys(a)).sort().reverse().map(function(d){return e(d)}).join("|");var c=RegExp(i),l=RegExp(i,"g");return{defs:r,shortcuts:a,scanRE:c,replaceRE:l}},fi}var pi,Rm;function lM(){if(Rm)return pi;Rm=1;var e=aM(),t=iM(),o=cM();return pi=function(a,s){var i={defs:{},shortcuts:{},enabled:[]},c=o(a.utils.assign({},i,s||{}));a.renderer.rules.emoji=e,a.core.ruler.after("linkify","emoji",t(a,c.defs,c.shortcuts,c.scanRE,c.replaceRE))},pi}var hi,Om;function uM(){if(Om)return hi;Om=1;var e=rM,t=sM(),o=lM();return hi=function(a,s){var i={defs:e,shortcuts:t,enabled:[]},c=a.utils.assign({},i,s||{});o(a,c)},hi}var dM=uM();const fM=Sn(dM);var mi,Vm;function pM(){if(Vm)return mi;Vm=1;function e(r,a){var s,i,c=r.attrs[r.attrIndex("href")][1];for(s=0;s<a.length;++s){if(i=a[s],typeof i.matcher=="function"){if(i.matcher(c,i))return i;continue}return i}}function t(r,a,s){Object.keys(s).forEach(function(i){var c,l=s[i];i==="className"&&(i="class"),c=a[r].attrIndex(i),c<0?a[r].attrPush([i,l]):a[r].attrs[c][1]=l})}function o(r,a){a?a=Array.isArray(a)?a:[a]:a=[],Object.freeze(a);var s=r.renderer.rules.link_open||this.defaultRender;r.renderer.rules.link_open=function(i,c,l,d,f){var u=e(i[c],a),g=u&&u.attrs;return g&&t(c,i,g),s(i,c,l,d,f)}}return o.defaultRender=function(r,a,s,i,c){return c.renderToken(r,a,s)},mi=o,mi}var hM=pM();const zm=Sn(hM);var gi,qm;function mM(){if(qm)return gi;qm=1;var e=!0,t=!1,o=!1;gi=function(m,b){b&&(e=!b.enabled,t=!!b.label,o=!!b.labelAfter),m.core.ruler.after("inline","github-task-lists",function(h){for(var k=h.tokens,w=2;w<k.length;w++)s(k,w)&&(i(k[w],h.Token),r(k[w-2],"class","task-list-item"+(e?"":" enabled")),r(k[a(k,w-2)],"class","contains-task-list"))})};function r(m,b,h){var k=m.attrIndex(b),w=[b,h];k<0?m.attrPush(w):m.attrs[k]=w}function a(m,b){for(var h=m[b].level-1,k=b-1;k>=0;k--)if(m[k].level===h)return k;return-1}function s(m,b){return u(m[b])&&g(m[b-1])&&p(m[b-2])&&_(m[b])}function i(m,b){if(m.children.unshift(c(m,b)),m.children[1].content=m.children[1].content.slice(3),m.content=m.content.slice(3),t)if(o){m.children.pop();var h="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);m.children[0].content=m.children[0].content.slice(0,-1)+' id="'+h+'">',m.children.push(f(m.content,h,b))}else m.children.unshift(l(b)),m.children.push(d(b))}function c(m,b){var h=new b("html_inline","",0),k=e?' disabled="" ':"";return m.content.indexOf("[ ] ")===0?h.content='<input class="task-list-item-checkbox"'+k+'type="checkbox">':(m.content.indexOf("[x] ")===0||m.content.indexOf("[X] ")===0)&&(h.content='<input class="task-list-item-checkbox" checked=""'+k+'type="checkbox">'),h}function l(m){var b=new m("html_inline","",0);return b.content="<label>",b}function d(m){var b=new m("html_inline","",0);return b.content="</label>",b}function f(m,b,h){var k=new h("html_inline","",0);return k.content='<label class="task-list-item-label" for="'+b+'">'+m+"</label>",k.attrs=[{for:b}],k}function u(m){return m.type==="inline"}function g(m){return m.type==="paragraph_open"}function p(m){return m.type==="list_item_open"}function _(m){return m.content.indexOf("[ ] ")===0||m.content.indexOf("[x] ")===0||m.content.indexOf("[X] ")===0}return gi}var gM=mM();const _M=Sn(gM);var _r={exports:{}},Be={},br={exports:{}},bn={},Dm;function Pm(){if(Dm)return bn;Dm=1;function e(){var s={};return s["align-content"]=!1,s["align-items"]=!1,s["align-self"]=!1,s["alignment-adjust"]=!1,s["alignment-baseline"]=!1,s.all=!1,s["anchor-point"]=!1,s.animation=!1,s["animation-delay"]=!1,s["animation-direction"]=!1,s["animation-duration"]=!1,s["animation-fill-mode"]=!1,s["animation-iteration-count"]=!1,s["animation-name"]=!1,s["animation-play-state"]=!1,s["animation-timing-function"]=!1,s.azimuth=!1,s["backface-visibility"]=!1,s.background=!0,s["background-attachment"]=!0,s["background-clip"]=!0,s["background-color"]=!0,s["background-image"]=!0,s["background-origin"]=!0,s["background-position"]=!0,s["background-repeat"]=!0,s["background-size"]=!0,s["baseline-shift"]=!1,s.binding=!1,s.bleed=!1,s["bookmark-label"]=!1,s["bookmark-level"]=!1,s["bookmark-state"]=!1,s.border=!0,s["border-bottom"]=!0,s["border-bottom-color"]=!0,s["border-bottom-left-radius"]=!0,s["border-bottom-right-radius"]=!0,s["border-bottom-style"]=!0,s["border-bottom-width"]=!0,s["border-collapse"]=!0,s["border-color"]=!0,s["border-image"]=!0,s["border-image-outset"]=!0,s["border-image-repeat"]=!0,s["border-image-slice"]=!0,s["border-image-source"]=!0,s["border-image-width"]=!0,s["border-left"]=!0,s["border-left-color"]=!0,s["border-left-style"]=!0,s["border-left-width"]=!0,s["border-radius"]=!0,s["border-right"]=!0,s["border-right-color"]=!0,s["border-right-style"]=!0,s["border-right-width"]=!0,s["border-spacing"]=!0,s["border-style"]=!0,s["border-top"]=!0,s["border-top-color"]=!0,s["border-top-left-radius"]=!0,s["border-top-right-radius"]=!0,s["border-top-style"]=!0,s["border-top-width"]=!0,s["border-width"]=!0,s.bottom=!1,s["box-decoration-break"]=!0,s["box-shadow"]=!0,s["box-sizing"]=!0,s["box-snap"]=!0,s["box-suppress"]=!0,s["break-after"]=!0,s["break-before"]=!0,s["break-inside"]=!0,s["caption-side"]=!1,s.chains=!1,s.clear=!0,s.clip=!1,s["clip-path"]=!1,s["clip-rule"]=!1,s.color=!0,s["color-interpolation-filters"]=!0,s["column-count"]=!1,s["column-fill"]=!1,s["column-gap"]=!1,s["column-rule"]=!1,s["column-rule-color"]=!1,s["column-rule-style"]=!1,s["column-rule-width"]=!1,s["column-span"]=!1,s["column-width"]=!1,s.columns=!1,s.contain=!1,s.content=!1,s["counter-increment"]=!1,s["counter-reset"]=!1,s["counter-set"]=!1,s.crop=!1,s.cue=!1,s["cue-after"]=!1,s["cue-before"]=!1,s.cursor=!1,s.direction=!1,s.display=!0,s["display-inside"]=!0,s["display-list"]=!0,s["display-outside"]=!0,s["dominant-baseline"]=!1,s.elevation=!1,s["empty-cells"]=!1,s.filter=!1,s.flex=!1,s["flex-basis"]=!1,s["flex-direction"]=!1,s["flex-flow"]=!1,s["flex-grow"]=!1,s["flex-shrink"]=!1,s["flex-wrap"]=!1,s.float=!1,s["float-offset"]=!1,s["flood-color"]=!1,s["flood-opacity"]=!1,s["flow-from"]=!1,s["flow-into"]=!1,s.font=!0,s["font-family"]=!0,s["font-feature-settings"]=!0,s["font-kerning"]=!0,s["font-language-override"]=!0,s["font-size"]=!0,s["font-size-adjust"]=!0,s["font-stretch"]=!0,s["font-style"]=!0,s["font-synthesis"]=!0,s["font-variant"]=!0,s["font-variant-alternates"]=!0,s["font-variant-caps"]=!0,s["font-variant-east-asian"]=!0,s["font-variant-ligatures"]=!0,s["font-variant-numeric"]=!0,s["font-variant-position"]=!0,s["font-weight"]=!0,s.grid=!1,s["grid-area"]=!1,s["grid-auto-columns"]=!1,s["grid-auto-flow"]=!1,s["grid-auto-rows"]=!1,s["grid-column"]=!1,s["grid-column-end"]=!1,s["grid-column-start"]=!1,s["grid-row"]=!1,s["grid-row-end"]=!1,s["grid-row-start"]=!1,s["grid-template"]=!1,s["grid-template-areas"]=!1,s["grid-template-columns"]=!1,s["grid-template-rows"]=!1,s["hanging-punctuation"]=!1,s.height=!0,s.hyphens=!1,s.icon=!1,s["image-orientation"]=!1,s["image-resolution"]=!1,s["ime-mode"]=!1,s["initial-letters"]=!1,s["inline-box-align"]=!1,s["justify-content"]=!1,s["justify-items"]=!1,s["justify-self"]=!1,s.left=!1,s["letter-spacing"]=!0,s["lighting-color"]=!0,s["line-box-contain"]=!1,s["line-break"]=!1,s["line-grid"]=!1,s["line-height"]=!1,s["line-snap"]=!1,s["line-stacking"]=!1,s["line-stacking-ruby"]=!1,s["line-stacking-shift"]=!1,s["line-stacking-strategy"]=!1,s["list-style"]=!0,s["list-style-image"]=!0,s["list-style-position"]=!0,s["list-style-type"]=!0,s.margin=!0,s["margin-bottom"]=!0,s["margin-left"]=!0,s["margin-right"]=!0,s["margin-top"]=!0,s["marker-offset"]=!1,s["marker-side"]=!1,s.marks=!1,s.mask=!1,s["mask-box"]=!1,s["mask-box-outset"]=!1,s["mask-box-repeat"]=!1,s["mask-box-slice"]=!1,s["mask-box-source"]=!1,s["mask-box-width"]=!1,s["mask-clip"]=!1,s["mask-image"]=!1,s["mask-origin"]=!1,s["mask-position"]=!1,s["mask-repeat"]=!1,s["mask-size"]=!1,s["mask-source-type"]=!1,s["mask-type"]=!1,s["max-height"]=!0,s["max-lines"]=!1,s["max-width"]=!0,s["min-height"]=!0,s["min-width"]=!0,s["move-to"]=!1,s["nav-down"]=!1,s["nav-index"]=!1,s["nav-left"]=!1,s["nav-right"]=!1,s["nav-up"]=!1,s["object-fit"]=!1,s["object-position"]=!1,s.opacity=!1,s.order=!1,s.orphans=!1,s.outline=!1,s["outline-color"]=!1,s["outline-offset"]=!1,s["outline-style"]=!1,s["outline-width"]=!1,s.overflow=!1,s["overflow-wrap"]=!1,s["overflow-x"]=!1,s["overflow-y"]=!1,s.padding=!0,s["padding-bottom"]=!0,s["padding-left"]=!0,s["padding-right"]=!0,s["padding-top"]=!0,s.page=!1,s["page-break-after"]=!1,s["page-break-before"]=!1,s["page-break-inside"]=!1,s["page-policy"]=!1,s.pause=!1,s["pause-after"]=!1,s["pause-before"]=!1,s.perspective=!1,s["perspective-origin"]=!1,s.pitch=!1,s["pitch-range"]=!1,s["play-during"]=!1,s.position=!1,s["presentation-level"]=!1,s.quotes=!1,s["region-fragment"]=!1,s.resize=!1,s.rest=!1,s["rest-after"]=!1,s["rest-before"]=!1,s.richness=!1,s.right=!1,s.rotation=!1,s["rotation-point"]=!1,s["ruby-align"]=!1,s["ruby-merge"]=!1,s["ruby-position"]=!1,s["shape-image-threshold"]=!1,s["shape-outside"]=!1,s["shape-margin"]=!1,s.size=!1,s.speak=!1,s["speak-as"]=!1,s["speak-header"]=!1,s["speak-numeral"]=!1,s["speak-punctuation"]=!1,s["speech-rate"]=!1,s.stress=!1,s["string-set"]=!1,s["tab-size"]=!1,s["table-layout"]=!1,s["text-align"]=!0,s["text-align-last"]=!0,s["text-combine-upright"]=!0,s["text-decoration"]=!0,s["text-decoration-color"]=!0,s["text-decoration-line"]=!0,s["text-decoration-skip"]=!0,s["text-decoration-style"]=!0,s["text-emphasis"]=!0,s["text-emphasis-color"]=!0,s["text-emphasis-position"]=!0,s["text-emphasis-style"]=!0,s["text-height"]=!0,s["text-indent"]=!0,s["text-justify"]=!0,s["text-orientation"]=!0,s["text-overflow"]=!0,s["text-shadow"]=!0,s["text-space-collapse"]=!0,s["text-transform"]=!0,s["text-underline-position"]=!0,s["text-wrap"]=!0,s.top=!1,s.transform=!1,s["transform-origin"]=!1,s["transform-style"]=!1,s.transition=!1,s["transition-delay"]=!1,s["transition-duration"]=!1,s["transition-property"]=!1,s["transition-timing-function"]=!1,s["unicode-bidi"]=!1,s["vertical-align"]=!1,s.visibility=!1,s["voice-balance"]=!1,s["voice-duration"]=!1,s["voice-family"]=!1,s["voice-pitch"]=!1,s["voice-range"]=!1,s["voice-rate"]=!1,s["voice-stress"]=!1,s["voice-volume"]=!1,s.volume=!1,s["white-space"]=!1,s.widows=!1,s.width=!0,s["will-change"]=!1,s["word-break"]=!0,s["word-spacing"]=!0,s["word-wrap"]=!0,s["wrap-flow"]=!1,s["wrap-through"]=!1,s["writing-mode"]=!1,s["z-index"]=!1,s}function t(s,i,c){}function o(s,i,c){}var r=/javascript\s*\:/img;function a(s,i){return r.test(i)?"":i}return bn.whiteList=e(),bn.getDefaultWhiteList=e,bn.onAttr=t,bn.onIgnoreAttr=o,bn.safeAttrValue=a,bn}var _i,Fm;function jm(){return Fm||(Fm=1,_i={indexOf:function(e,t){var o,r;if(Array.prototype.indexOf)return e.indexOf(t);for(o=0,r=e.length;o<r;o++)if(e[o]===t)return o;return-1},forEach:function(e,t,o){var r,a;if(Array.prototype.forEach)return e.forEach(t,o);for(r=0,a=e.length;r<a;r++)t.call(o,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}),_i}var bi,Hm;function bM(){if(Hm)return bi;Hm=1;var e=jm();function t(o,r){o=e.trimRight(o),o[o.length-1]!==";"&&(o+=";");var a=o.length,s=!1,i=0,c=0,l="";function d(){if(!s){var g=e.trim(o.slice(i,c)),p=g.indexOf(":");if(p!==-1){var _=e.trim(g.slice(0,p)),m=e.trim(g.slice(p+1));if(_){var b=r(i,l.length,_,m,g);b&&(l+=b+"; ")}}}i=c+1}for(;c<a;c++){var f=o[c];if(f==="/"&&o[c+1]==="*"){var u=o.indexOf("*/",c+2);if(u===-1)break;c=u+1,i=c+1,s=!1}else f==="("?s=!0:f===")"?s=!1:f===";"?s||d():f===`
40
- `&&d()}return e.trim(l)}return bi=t,bi}var ki,Um;function kM(){if(Um)return ki;Um=1;var e=Pm(),t=bM();jm();function o(s){return s==null}function r(s){var i={};for(var c in s)i[c]=s[c];return i}function a(s){s=r(s||{}),s.whiteList=s.whiteList||e.whiteList,s.onAttr=s.onAttr||e.onAttr,s.onIgnoreAttr=s.onIgnoreAttr||e.onIgnoreAttr,s.safeAttrValue=s.safeAttrValue||e.safeAttrValue,this.options=s}return a.prototype.process=function(s){if(s=s||"",s=s.toString(),!s)return"";var i=this,c=i.options,l=c.whiteList,d=c.onAttr,f=c.onIgnoreAttr,u=c.safeAttrValue,g=t(s,function(p,_,m,b,h){var k=l[m],w=!1;if(k===!0?w=k:typeof k=="function"?w=k(b):k instanceof RegExp&&(w=k.test(b)),w!==!0&&(w=!1),b=u(m,b),!!b){var y={position:_,sourcePosition:p,source:h,isWhite:w};if(w){var x=d(m,b,y);return o(x)?m+":"+b:x}else{var x=f(m,b,y);if(!o(x))return x}}});return g},ki=a,ki}var Gm;function wi(){return Gm||(Gm=1,(function(e,t){var o=Pm(),r=kM();function a(i,c){var l=new r(c);return l.process(i)}t=e.exports=a,t.FilterCSS=r;for(var s in o)t[s]=o[s];typeof window<"u"&&(window.filterCSS=e.exports)})(br,br.exports)),br.exports}var yi,Zm;function Ci(){return Zm||(Zm=1,yi={indexOf:function(e,t){var o,r;if(Array.prototype.indexOf)return e.indexOf(t);for(o=0,r=e.length;o<r;o++)if(e[o]===t)return o;return-1},forEach:function(e,t,o){var r,a;if(Array.prototype.forEach)return e.forEach(t,o);for(r=0,a=e.length;r<a;r++)t.call(o,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,o=t.exec(e);return o?o.index:-1}}),yi}var Wm;function Km(){if(Wm)return Be;Wm=1;var e=wi().FilterCSS,t=wi().getDefaultWhiteList,o=Ci();function r(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var a=new e;function s(L,z,O){}function i(L,z,O){}function c(L,z,O){}function l(L,z,O){}function d(L){return L.replace(u,"&lt;").replace(g,"&gt;")}function f(L,z,O,P){if(O=$(O),z==="href"||z==="src"){if(O=o.trim(O),O==="#")return"#";if(!(O.substr(0,7)==="http://"||O.substr(0,8)==="https://"||O.substr(0,7)==="mailto:"||O.substr(0,4)==="tel:"||O.substr(0,11)==="data:image/"||O.substr(0,6)==="ftp://"||O.substr(0,2)==="./"||O.substr(0,3)==="../"||O[0]==="#"||O[0]==="/"))return""}else if(z==="background"){if(k.lastIndex=0,k.test(O))return""}else if(z==="style"){if(w.lastIndex=0,w.test(O)||(y.lastIndex=0,y.test(O)&&(k.lastIndex=0,k.test(O))))return"";P!==!1&&(P=P||a,O=P.process(O))}return O=M(O),O}var u=/</g,g=/>/g,p=/"/g,_=/&quot;/g,m=/&#([a-zA-Z0-9]*);?/gim,b=/&colon;?/gim,h=/&newline;?/gim,k=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,w=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,y=/u\s*r\s*l\s*\(.*/gi;function x(L){return L.replace(p,"&quot;")}function C(L){return L.replace(_,'"')}function v(L){return L.replace(m,function(O,P){return P[0]==="x"||P[0]==="X"?String.fromCharCode(parseInt(P.substr(1),16)):String.fromCharCode(parseInt(P,10))})}function S(L){return L.replace(b,":").replace(h," ")}function T(L){for(var z="",O=0,P=L.length;O<P;O++)z+=L.charCodeAt(O)<32?" ":L.charAt(O);return o.trim(z)}function $(L){return L=C(L),L=v(L),L=S(L),L=T(L),L}function M(L){return L=x(L),L=d(L),L}function V(){return""}function X(L,z){typeof z!="function"&&(z=function(){});var O=!Array.isArray(L);function P(q){return O?!0:o.indexOf(L,q)!==-1}var B=[],D=!1;return{onIgnoreTag:function(q,K,Q){if(P(q))if(Q.isClosing){var re="[/removed]",ce=Q.position+re.length;return B.push([D!==!1?D:Q.position,ce]),D=!1,re}else return D||(D=Q.position),"[removed]";else return z(q,K,Q)},remove:function(q){var K="",Q=0;return o.forEach(B,function(re){K+=q.slice(Q,re[0]),Q=re[1]}),K+=q.slice(Q),K}}}function I(L){for(var z="",O=0;O<L.length;){var P=L.indexOf("<!--",O);if(P===-1){z+=L.slice(O);break}z+=L.slice(O,P);var B=L.indexOf("-->",P);if(B===-1)break;O=B+3}return z}function H(L){var z=L.split("");return z=z.filter(function(O){var P=O.charCodeAt(0);return P===127?!1:P<=31?P===10||P===13:!0}),z.join("")}return Be.whiteList=r(),Be.getDefaultWhiteList=r,Be.onTag=s,Be.onIgnoreTag=i,Be.onTagAttr=c,Be.onIgnoreTagAttr=l,Be.safeAttrValue=f,Be.escapeHtml=d,Be.escapeQuote=x,Be.unescapeQuote=C,Be.escapeHtmlEntities=v,Be.escapeDangerHtml5Entities=S,Be.clearNonPrintableCharacter=T,Be.friendlyAttrValue=$,Be.escapeAttrValue=M,Be.onIgnoreTagStripAll=V,Be.StripTagBody=X,Be.stripCommentTag=I,Be.stripBlankChar=H,Be.attributeWrapSign='"',Be.cssFilter=a,Be.getDefaultCSSWhiteList=t,Be}var kr={},Xm;function Ym(){if(Xm)return kr;Xm=1;var e=Ci();function t(u){var g=e.spaceIndex(u),p;return g===-1?p=u.slice(1,-1):p=u.slice(1,g+1),p=e.trim(p).toLowerCase(),p.slice(0,1)==="/"&&(p=p.slice(1)),p.slice(-1)==="/"&&(p=p.slice(0,-1)),p}function o(u){return u.slice(0,2)==="</"}function r(u,g,p){var _="",m=0,b=!1,h=!1,k=0,w=u.length,y="",x="";e:for(k=0;k<w;k++){var C=u.charAt(k);if(b===!1){if(C==="<"){b=k;continue}}else if(h===!1){if(C==="<"){_+=p(u.slice(m,k)),b=k,m=k;continue}if(C===">"||k===w-1){_+=p(u.slice(m,b)),x=u.slice(b,k+1),y=t(x),_+=g(b,_.length,y,x,o(x)),m=k+1,b=!1;continue}if(C==='"'||C==="'")for(var v=1,S=u.charAt(k-v);S.trim()===""||S==="=";){if(S==="="){h=C;continue e}S=u.charAt(k-++v)}}else if(C===h){h=!1;continue}}return m<w&&(_+=p(u.substr(m))),_}var a=/[^a-zA-Z0-9\\_:.-]/gim;function s(u,g){var p=0,_=0,m=[],b=!1,h=u.length;function k(v,S){if(v=e.trim(v),v=v.replace(a,"").toLowerCase(),!(v.length<1)){var T=g(v,S||"");T&&m.push(T)}}for(var w=0;w<h;w++){var y=u.charAt(w),x,C;if(b===!1&&y==="="){b=u.slice(p,w),p=w+1,_=u.charAt(p)==='"'||u.charAt(p)==="'"?p:c(u,w+1);continue}if(b!==!1&&w===_){if(C=u.indexOf(y,w+1),C===-1)break;x=e.trim(u.slice(_+1,C)),k(b,x),b=!1,w=C,p=w+1;continue}if(/\s|\n|\t/.test(y))if(u=u.replace(/\s|\n|\t/g," "),b===!1)if(C=i(u,w),C===-1){x=e.trim(u.slice(p,w)),k(x),b=!1,p=w+1;continue}else{w=C-1;continue}else if(C=l(u,w-1),C===-1){x=e.trim(u.slice(p,w)),x=f(x),k(b,x),b=!1,p=w+1;continue}else continue}return p<u.length&&(b===!1?k(u.slice(p)):k(b,f(e.trim(u.slice(p))))),e.trim(m.join(" "))}function i(u,g){for(;g<u.length;g++){var p=u[g];if(p!==" ")return p==="="?g:-1}}function c(u,g){for(;g<u.length;g++){var p=u[g];if(p!==" ")return p==="'"||p==='"'?g:-1}}function l(u,g){for(;g>0;g--){var p=u[g];if(p!==" ")return p==="="?g:-1}}function d(u){return u[0]==='"'&&u[u.length-1]==='"'||u[0]==="'"&&u[u.length-1]==="'"}function f(u){return d(u)?u.substr(1,u.length-2):u}return kr.parseTag=r,kr.parseAttr=s,kr}var Ei,Jm;function wM(){if(Jm)return Ei;Jm=1;var e=wi().FilterCSS,t=Km(),o=Ym(),r=o.parseTag,a=o.parseAttr,s=Ci();function i(u){return u==null}function c(u){var g=s.spaceIndex(u);if(g===-1)return{html:"",closing:u[u.length-2]==="/"};u=s.trim(u.slice(g+1,-1));var p=u[u.length-1]==="/";return p&&(u=s.trim(u.slice(0,-1))),{html:u,closing:p}}function l(u){var g={};for(var p in u)g[p]=u[p];return g}function d(u){var g={};for(var p in u)Array.isArray(u[p])?g[p.toLowerCase()]=u[p].map(function(_){return _.toLowerCase()}):g[p.toLowerCase()]=u[p];return g}function f(u){u=l(u||{}),u.stripIgnoreTag&&(u.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),u.onIgnoreTag=t.onIgnoreTagStripAll),u.whiteList||u.allowList?u.whiteList=d(u.whiteList||u.allowList):u.whiteList=t.whiteList,this.attributeWrapSign=u.singleQuotedAttributeValue===!0?"'":t.attributeWrapSign,u.onTag=u.onTag||t.onTag,u.onTagAttr=u.onTagAttr||t.onTagAttr,u.onIgnoreTag=u.onIgnoreTag||t.onIgnoreTag,u.onIgnoreTagAttr=u.onIgnoreTagAttr||t.onIgnoreTagAttr,u.safeAttrValue=u.safeAttrValue||t.safeAttrValue,u.escapeHtml=u.escapeHtml||t.escapeHtml,this.options=u,u.css===!1?this.cssFilter=!1:(u.css=u.css||{},this.cssFilter=new e(u.css))}return f.prototype.process=function(u){if(u=u||"",u=u.toString(),!u)return"";var g=this,p=g.options,_=p.whiteList,m=p.onTag,b=p.onIgnoreTag,h=p.onTagAttr,k=p.onIgnoreTagAttr,w=p.safeAttrValue,y=p.escapeHtml,x=g.attributeWrapSign,C=g.cssFilter;p.stripBlankChar&&(u=t.stripBlankChar(u)),p.allowCommentTag||(u=t.stripCommentTag(u));var v=!1;p.stripIgnoreTagBody&&(v=t.StripTagBody(p.stripIgnoreTagBody,b),b=v.onIgnoreTag);var S=r(u,function(T,$,M,V,X){var I={sourcePosition:T,position:$,isClosing:X,isWhite:Object.prototype.hasOwnProperty.call(_,M)},H=m(M,V,I);if(!i(H))return H;if(I.isWhite){if(I.isClosing)return"</"+M+">";var L=c(V),z=_[M],O=a(L.html,function(P,B){var D=s.indexOf(z,P)!==-1,q=h(M,P,B,D);return i(q)?D?(B=w(M,P,B,C),B?P+"="+x+B+x:P):(q=k(M,P,B,D),i(q)?void 0:q):q});return V="<"+M,O&&(V+=" "+O),L.closing&&(V+=" /"),V+=">",V}else return H=b(M,V,I),i(H)?y(V):H},y);return v&&(S=v.remove(S)),S},Ei=f,Ei}var Qm;function yM(){return Qm||(Qm=1,(function(e,t){var o=Km(),r=Ym(),a=wM();function s(c,l){var d=new a(l);return d.process(c)}t=e.exports=s,t.filterXSS=s,t.FilterXSS=a,(function(){for(var c in o)t[c]=o[c];for(var l in r)t[l]=r[l]})(),typeof window<"u"&&(window.filterXSS=e.exports);function i(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}i()&&(self.filterXSS=e.exports)})(_r,_r.exports)),_r.exports}var wr=yM();const CM=Sn(wr),EM=/@\[youtube]\(([\w-]{11}(?:\?.*)?)\)/im,xM=/^https:\/\/(?:www\.)?(youtube\.com|youtube-nocookie\.com)\/embed\/[\w-]{11}(?:\?.*)?$/i,vM=(e,t)=>{const o={width:"100%",title:"YouTube video player",nocookie:!0,...t},r=(s,i)=>{const{pos:c,src:l}=s;if(l.charCodeAt(c)!==64)return!1;const d=EM.exec(l.slice(c));if(!d)return!1;if(!i){const f=s.push("youtube_embed","",0);f.meta={videoId:d[1]}}return s.pos+=d[0].length,!0},a=o.nocookie?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/";e.inline.ruler.before("link","youtube_embed",r),e.renderer.rules.youtube_embed=(s,i)=>{const{videoId:c}=s[i].meta;return`<iframe ${[`width="${o.width}"`,...o.height?[`height="${o.height}"`]:[],`src="${a}${c}"`,`title="${e.utils.escapeHtml(o.title)}"`,'frameborder="0"','allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"','referrerpolicy="strict-origin-when-cross-origin"',"allowfullscreen"].join(" ")}></iframe>`}},SM={class:"n8n-markdown"},BM=["innerHTML"],NM=it(n.defineComponent({__name:"Markdown",props:{content:{default:""},withMultiBreaks:{type:Boolean,default:!1},images:{default:()=>[]},loading:{type:Boolean,default:!1},loadingBlocks:{default:2},loadingRows:{default:3},theme:{default:"markdown"},options:{default:()=>({markdown:{html:!1,linkify:!0,typographer:!0,breaks:!0},linkAttributes:{attrs:{target:"_blank",rel:"noopener"}},tasklists:{enabled:!0,label:!0,labelAfter:!0},youtube:{}})}},emits:["markdown-click","update-content"],setup(e,{emit:t}){const o=e,r=n.ref(void 0),{options:a}=o,s=new $m(a.markdown).use(zm,a.linkAttributes).use(fM).use(_M,a.tasklists).use(vM,a.youtube),i={...wr.whiteList,label:["class","for"],iframe:["width","height","src","title","frameborder","allow","referrerpolicy","allowfullscreen"]},c=n.computed(()=>{if(!o.content)return"";const p={};o.images&&o.images.forEach(k=>{k&&(p[k.id]=k.url)});const _=new RegExp("fileId:([0-9]+)");let m=o.content;o.withMultiBreaks&&(m=m.replaceAll(`
40
+ `&&d()}return e.trim(l)}return bi=t,bi}var ki,Um;function kM(){if(Um)return ki;Um=1;var e=Pm(),t=bM();jm();function o(s){return s==null}function r(s){var i={};for(var c in s)i[c]=s[c];return i}function a(s){s=r(s||{}),s.whiteList=s.whiteList||e.whiteList,s.onAttr=s.onAttr||e.onAttr,s.onIgnoreAttr=s.onIgnoreAttr||e.onIgnoreAttr,s.safeAttrValue=s.safeAttrValue||e.safeAttrValue,this.options=s}return a.prototype.process=function(s){if(s=s||"",s=s.toString(),!s)return"";var i=this,c=i.options,l=c.whiteList,d=c.onAttr,f=c.onIgnoreAttr,u=c.safeAttrValue,g=t(s,function(p,_,m,b,h){var k=l[m],w=!1;if(k===!0?w=k:typeof k=="function"?w=k(b):k instanceof RegExp&&(w=k.test(b)),w!==!0&&(w=!1),b=u(m,b),!!b){var y={position:_,sourcePosition:p,source:h,isWhite:w};if(w){var x=d(m,b,y);return o(x)?m+":"+b:x}else{var x=f(m,b,y);if(!o(x))return x}}});return g},ki=a,ki}var Gm;function wi(){return Gm||(Gm=1,(function(e,t){var o=Pm(),r=kM();function a(i,c){var l=new r(c);return l.process(i)}t=e.exports=a,t.FilterCSS=r;for(var s in o)t[s]=o[s];typeof window<"u"&&(window.filterCSS=e.exports)})(br,br.exports)),br.exports}var yi,Zm;function Ci(){return Zm||(Zm=1,yi={indexOf:function(e,t){var o,r;if(Array.prototype.indexOf)return e.indexOf(t);for(o=0,r=e.length;o<r;o++)if(e[o]===t)return o;return-1},forEach:function(e,t,o){var r,a;if(Array.prototype.forEach)return e.forEach(t,o);for(r=0,a=e.length;r<a;r++)t.call(o,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,o=t.exec(e);return o?o.index:-1}}),yi}var Wm;function Km(){if(Wm)return Be;Wm=1;var e=wi().FilterCSS,t=wi().getDefaultWhiteList,o=Ci();function r(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var a=new e;function s(L,z,O){}function i(L,z,O){}function c(L,z,O){}function l(L,z,O){}function d(L){return L.replace(u,"&lt;").replace(g,"&gt;")}function f(L,z,O,P){if(O=$(O),z==="href"||z==="src"){if(O=o.trim(O),O==="#")return"#";if(!(O.substr(0,7)==="http://"||O.substr(0,8)==="https://"||O.substr(0,7)==="mailto:"||O.substr(0,4)==="tel:"||O.substr(0,11)==="data:image/"||O.substr(0,6)==="ftp://"||O.substr(0,2)==="./"||O.substr(0,3)==="../"||O[0]==="#"||O[0]==="/"))return""}else if(z==="background"){if(k.lastIndex=0,k.test(O))return""}else if(z==="style"){if(w.lastIndex=0,w.test(O)||(y.lastIndex=0,y.test(O)&&(k.lastIndex=0,k.test(O))))return"";P!==!1&&(P=P||a,O=P.process(O))}return O=M(O),O}var u=/</g,g=/>/g,p=/"/g,_=/&quot;/g,m=/&#([a-zA-Z0-9]*);?/gim,b=/&colon;?/gim,h=/&newline;?/gim,k=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,w=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,y=/u\s*r\s*l\s*\(.*/gi;function x(L){return L.replace(p,"&quot;")}function C(L){return L.replace(_,'"')}function v(L){return L.replace(m,function(O,P){return P[0]==="x"||P[0]==="X"?String.fromCharCode(parseInt(P.substr(1),16)):String.fromCharCode(parseInt(P,10))})}function S(L){return L.replace(b,":").replace(h," ")}function T(L){for(var z="",O=0,P=L.length;O<P;O++)z+=L.charCodeAt(O)<32?" ":L.charAt(O);return o.trim(z)}function $(L){return L=C(L),L=v(L),L=S(L),L=T(L),L}function M(L){return L=x(L),L=d(L),L}function V(){return""}function X(L,z){typeof z!="function"&&(z=function(){});var O=!Array.isArray(L);function P(q){return O?!0:o.indexOf(L,q)!==-1}var B=[],D=!1;return{onIgnoreTag:function(q,K,Q){if(P(q))if(Q.isClosing){var re="[/removed]",ce=Q.position+re.length;return B.push([D!==!1?D:Q.position,ce]),D=!1,re}else return D||(D=Q.position),"[removed]";else return z(q,K,Q)},remove:function(q){var K="",Q=0;return o.forEach(B,function(re){K+=q.slice(Q,re[0]),Q=re[1]}),K+=q.slice(Q),K}}}function I(L){for(var z="",O=0;O<L.length;){var P=L.indexOf("<!--",O);if(P===-1){z+=L.slice(O);break}z+=L.slice(O,P);var B=L.indexOf("-->",P);if(B===-1)break;O=B+3}return z}function H(L){var z=L.split("");return z=z.filter(function(O){var P=O.charCodeAt(0);return P===127?!1:P<=31?P===10||P===13:!0}),z.join("")}return Be.whiteList=r(),Be.getDefaultWhiteList=r,Be.onTag=s,Be.onIgnoreTag=i,Be.onTagAttr=c,Be.onIgnoreTagAttr=l,Be.safeAttrValue=f,Be.escapeHtml=d,Be.escapeQuote=x,Be.unescapeQuote=C,Be.escapeHtmlEntities=v,Be.escapeDangerHtml5Entities=S,Be.clearNonPrintableCharacter=T,Be.friendlyAttrValue=$,Be.escapeAttrValue=M,Be.onIgnoreTagStripAll=V,Be.StripTagBody=X,Be.stripCommentTag=I,Be.stripBlankChar=H,Be.attributeWrapSign='"',Be.cssFilter=a,Be.getDefaultCSSWhiteList=t,Be}var kr={},Xm;function Ym(){if(Xm)return kr;Xm=1;var e=Ci();function t(u){var g=e.spaceIndex(u),p;return g===-1?p=u.slice(1,-1):p=u.slice(1,g+1),p=e.trim(p).toLowerCase(),p.slice(0,1)==="/"&&(p=p.slice(1)),p.slice(-1)==="/"&&(p=p.slice(0,-1)),p}function o(u){return u.slice(0,2)==="</"}function r(u,g,p){var _="",m=0,b=!1,h=!1,k=0,w=u.length,y="",x="";e:for(k=0;k<w;k++){var C=u.charAt(k);if(b===!1){if(C==="<"){b=k;continue}}else if(h===!1){if(C==="<"){_+=p(u.slice(m,k)),b=k,m=k;continue}if(C===">"||k===w-1){_+=p(u.slice(m,b)),x=u.slice(b,k+1),y=t(x),_+=g(b,_.length,y,x,o(x)),m=k+1,b=!1;continue}if(C==='"'||C==="'")for(var v=1,S=u.charAt(k-v);S.trim()===""||S==="=";){if(S==="="){h=C;continue e}S=u.charAt(k-++v)}}else if(C===h){h=!1;continue}}return m<w&&(_+=p(u.substr(m))),_}var a=/[^a-zA-Z0-9\\_:.-]/gim;function s(u,g){var p=0,_=0,m=[],b=!1,h=u.length;function k(v,S){if(v=e.trim(v),v=v.replace(a,"").toLowerCase(),!(v.length<1)){var T=g(v,S||"");T&&m.push(T)}}for(var w=0;w<h;w++){var y=u.charAt(w),x,C;if(b===!1&&y==="="){b=u.slice(p,w),p=w+1,_=u.charAt(p)==='"'||u.charAt(p)==="'"?p:c(u,w+1);continue}if(b!==!1&&w===_){if(C=u.indexOf(y,w+1),C===-1)break;x=e.trim(u.slice(_+1,C)),k(b,x),b=!1,w=C,p=w+1;continue}if(/\s|\n|\t/.test(y))if(u=u.replace(/\s|\n|\t/g," "),b===!1)if(C=i(u,w),C===-1){x=e.trim(u.slice(p,w)),k(x),b=!1,p=w+1;continue}else{w=C-1;continue}else if(C=l(u,w-1),C===-1){x=e.trim(u.slice(p,w)),x=f(x),k(b,x),b=!1,p=w+1;continue}else continue}return p<u.length&&(b===!1?k(u.slice(p)):k(b,f(e.trim(u.slice(p))))),e.trim(m.join(" "))}function i(u,g){for(;g<u.length;g++){var p=u[g];if(p!==" ")return p==="="?g:-1}}function c(u,g){for(;g<u.length;g++){var p=u[g];if(p!==" ")return p==="'"||p==='"'?g:-1}}function l(u,g){for(;g>0;g--){var p=u[g];if(p!==" ")return p==="="?g:-1}}function d(u){return u[0]==='"'&&u[u.length-1]==='"'||u[0]==="'"&&u[u.length-1]==="'"}function f(u){return d(u)?u.substr(1,u.length-2):u}return kr.parseTag=r,kr.parseAttr=s,kr}var Ei,Jm;function wM(){if(Jm)return Ei;Jm=1;var e=wi().FilterCSS,t=Km(),o=Ym(),r=o.parseTag,a=o.parseAttr,s=Ci();function i(u){return u==null}function c(u){var g=s.spaceIndex(u);if(g===-1)return{html:"",closing:u[u.length-2]==="/"};u=s.trim(u.slice(g+1,-1));var p=u[u.length-1]==="/";return p&&(u=s.trim(u.slice(0,-1))),{html:u,closing:p}}function l(u){var g={};for(var p in u)g[p]=u[p];return g}function d(u){var g={};for(var p in u)Array.isArray(u[p])?g[p.toLowerCase()]=u[p].map(function(_){return _.toLowerCase()}):g[p.toLowerCase()]=u[p];return g}function f(u){u=l(u||{}),u.stripIgnoreTag&&(u.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),u.onIgnoreTag=t.onIgnoreTagStripAll),u.whiteList||u.allowList?u.whiteList=d(u.whiteList||u.allowList):u.whiteList=t.whiteList,this.attributeWrapSign=u.singleQuotedAttributeValue===!0?"'":t.attributeWrapSign,u.onTag=u.onTag||t.onTag,u.onTagAttr=u.onTagAttr||t.onTagAttr,u.onIgnoreTag=u.onIgnoreTag||t.onIgnoreTag,u.onIgnoreTagAttr=u.onIgnoreTagAttr||t.onIgnoreTagAttr,u.safeAttrValue=u.safeAttrValue||t.safeAttrValue,u.escapeHtml=u.escapeHtml||t.escapeHtml,this.options=u,u.css===!1?this.cssFilter=!1:(u.css=u.css||{},this.cssFilter=new e(u.css))}return f.prototype.process=function(u){if(u=u||"",u=u.toString(),!u)return"";var g=this,p=g.options,_=p.whiteList,m=p.onTag,b=p.onIgnoreTag,h=p.onTagAttr,k=p.onIgnoreTagAttr,w=p.safeAttrValue,y=p.escapeHtml,x=g.attributeWrapSign,C=g.cssFilter;p.stripBlankChar&&(u=t.stripBlankChar(u)),p.allowCommentTag||(u=t.stripCommentTag(u));var v=!1;p.stripIgnoreTagBody&&(v=t.StripTagBody(p.stripIgnoreTagBody,b),b=v.onIgnoreTag);var S=r(u,function(T,$,M,V,X){var I={sourcePosition:T,position:$,isClosing:X,isWhite:Object.prototype.hasOwnProperty.call(_,M)},H=m(M,V,I);if(!i(H))return H;if(I.isWhite){if(I.isClosing)return"</"+M+">";var L=c(V),z=_[M],O=a(L.html,function(P,B){var D=s.indexOf(z,P)!==-1,q=h(M,P,B,D);return i(q)?D?(B=w(M,P,B,C),B?P+"="+x+B+x:P):(q=k(M,P,B,D),i(q)?void 0:q):q});return V="<"+M,O&&(V+=" "+O),L.closing&&(V+=" /"),V+=">",V}else return H=b(M,V,I),i(H)?y(V):H},y);return v&&(S=v.remove(S)),S},Ei=f,Ei}var Qm;function yM(){return Qm||(Qm=1,(function(e,t){var o=Km(),r=Ym(),a=wM();function s(c,l){var d=new a(l);return d.process(c)}t=e.exports=s,t.filterXSS=s,t.FilterXSS=a,(function(){for(var c in o)t[c]=o[c];for(var l in r)t[l]=r[l]})(),typeof window<"u"&&(window.filterXSS=e.exports);function i(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}i()&&(self.filterXSS=e.exports)})(_r,_r.exports)),_r.exports}var wr=yM();const CM=Sn(wr),EM=/@\[youtube]\(([\w-]{11}(?:\?.*)?)\)/im,xM=/^https:\/\/(?:www\.)?(youtube\.com|youtube-nocookie\.com)\/embed\/[\w-]{11}(?:\?.*)?$/i,vM=(e,t)=>{const o={width:"100%",title:"YouTube video player",nocookie:!0,...t},r=(s,i)=>{const{pos:c,src:l}=s;if(l.charCodeAt(c)!==64)return!1;const d=EM.exec(l.slice(c));if(!d)return!1;if(!i){const f=s.push("youtube_embed","",0);f.meta={videoId:d[1]}}return s.pos+=d[0].length,!0},a=o.nocookie?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/";e.inline.ruler.before("link","youtube_embed",r),e.renderer.rules.youtube_embed=(s,i)=>{const{videoId:c}=s[i].meta;return`<iframe ${[`width="${o.width}"`,...o.height?[`height="${o.height}"`]:[],`src="${a}${c}"`,`title="${e.utils.escapeHtml(o.title)}"`,'frameborder="0"','allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"','referrerpolicy="strict-origin-when-cross-origin"',"allowfullscreen"].join(" ")}></iframe>`}},SM={class:"n8n-markdown"},BM=["innerHTML"],NM=it(n.defineComponent({__name:"Markdown",props:{content:{default:""},withMultiBreaks:{type:Boolean,default:!1},images:{default:()=>[]},loading:{type:Boolean,default:!1},loadingBlocks:{default:2},loadingRows:{default:3},theme:{default:"markdown"},options:{default:()=>({markdown:{html:!1,linkify:!0,typographer:!0,breaks:!0},linkAttributes:{attrs:{target:"_blank",rel:"noopener"}},tasklists:{enabled:!0,label:!0,labelAfter:!1},youtube:{}})}},emits:["markdown-click","update-content"],setup(e,{emit:t}){const o=e,r=n.ref(void 0),{options:a}=o,s=new $m(a.markdown).use(zm,a.linkAttributes).use(fM).use(_M,a.tasklists).use(vM,a.youtube),i={...wr.whiteList,label:["class","for"],iframe:["width","height","src","title","frameborder","allow","referrerpolicy","allowfullscreen"]},c=n.computed(()=>{if(!o.content)return"";const p={};o.images&&o.images.forEach(k=>{k&&(p[k.id]=k.url)});const _=new RegExp("fileId:([0-9]+)");let m=o.content;o.withMultiBreaks&&(m=m.replaceAll(`
41
41
 
42
42
  `,`
43
43
  &nbsp;
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Package version @n8n/chat@0.55.0 */
1
+ /*! Package version @n8n/chat@0.56.0 */
2
2
  @charset "UTF-8";:root{--chat--color-primary: #e74266;--chat--color-primary-shade-50: #db4061;--chat--color-primary-shade-100: #cf3c5c;--chat--color-secondary: #20b69e;--chat--color-secondary-shade-50: #1ca08a;--chat--color-white: #fff;--chat--color-light: #f2f4f8;--chat--color-light-shade-50: #e6e9f1;--chat--color-light-shade-100: #c2c5cc;--chat--color-medium: #d2d4d9;--chat--color-dark: #101330;--chat--color-disabled: #777980;--chat--color-typing: #404040;--chat--spacing: 1rem;--chat--border-radius: .25rem;--chat--transition-duration: .15s;--chat--font-family: ( -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif );--chat--window--width: 400px;--chat--window--height: 600px;--chat--window--bottom: var(--chat--spacing);--chat--window--right: var(--chat--spacing);--chat--window--z-index: 9999;--chat--window--border: 1px solid var(--chat--color-light-shade-50);--chat--window--border-radius: var(--chat--border-radius);--chat--window--margin-bottom: var(--chat--spacing);--chat--header-height: auto;--chat--header--padding: var(--chat--spacing);--chat--header--background: var(--chat--color-dark);--chat--header--color: var(--chat--color-light);--chat--header--border-top: none;--chat--header--border-bottom: none;--chat--header--border-left: none;--chat--header--border-right: none;--chat--heading--font-size: 2em;--chat--subtitle--font-size: inherit;--chat--subtitle--line-height: 1.8;--chat--message--font-size: 1rem;--chat--message--padding: var(--chat--spacing);--chat--message--border-radius: var(--chat--border-radius);--chat--message-line-height: 1.5;--chat--message--margin-bottom: calc(var(--chat--spacing) * 1);--chat--message--bot--background: var(--chat--color-white);--chat--message--bot--color: var(--chat--color-dark);--chat--message--bot--border: none;--chat--message--user--background: var(--chat--color-secondary);--chat--message--user--color: var(--chat--color-white);--chat--message--user--border: none;--chat--message--pre--background: rgba(0, 0, 0, .05);--chat--messages-list--padding: var(--chat--spacing);--chat--toggle--size: 64px;--chat--toggle--width: var(--chat--toggle--size);--chat--toggle--height: var(--chat--toggle--size);--chat--toggle--border-radius: 50%;--chat--toggle--background: var(--chat--color-primary);--chat--toggle--hover--background: var(--chat--color-primary-shade-50);--chat--toggle--active--background: var(--chat--color-primary-shade-100);--chat--toggle--color: var(--chat--color-white);--chat--textarea--height: 50px;--chat--textarea--max-height: 30rem;--chat--input--font-size: inherit;--chat--input--border: 0;--chat--input--border-radius: 0;--chat--input--padding: .8rem;--chat--input--background: var(--chat--color-white);--chat--input--text-color: initial;--chat--input--line-height: 1.5;--chat--input--placeholder--font-size: var(--chat--input--font-size);--chat--input--border-active: 0;--chat--input--left--panel--width: 2rem;--chat--button--color: var(--chat--color-light);--chat--button--background: var(--chat--color-primary);--chat--button--padding: calc(var(--chat--spacing) * 1 / 2) var(--chat--spacing);--chat--button--border-radius: var(--chat--border-radius);--chat--button--hover--color: var(--chat--color-light);--chat--button--hover--background: var(--chat--color-primary-shade-50);--chat--close--button--color-hover: var(--chat--color-primary);--chat--input--send--button--background: var(--chat--color-white);--chat--input--send--button--color: var(--chat--color-light);--chat--input--send--button--background-hover: var(--chat--color-primary-shade-50);--chat--input--send--button--color-hover: var(--chat--color-secondary-shade-50);--chat--input--file--button--background: var(--chat--color-white);--chat--input--file--button--color: var(--chat--color-secondary);--chat--input--file--button--background-hover: var(--chat--input--file--button--background);--chat--input--file--button--color-hover: var(--chat--color-secondary-shade-50);--chat--files-spacing: .25rem;--chat--body--background: var(--chat--color-light);--chat--footer--background: var(--chat--color-light);--chat--footer--color: var(--chat--color-dark)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
3
3
  Theme: GitHub
4
4
  Description: Light theme as seen on github.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/chat",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/chat.umd.js",
6
6
  "module": "./dist/chat.es.js",
@@ -32,7 +32,7 @@
32
32
  "uuid": "10.0.0",
33
33
  "vue": "^3.5.13",
34
34
  "vue-markdown-render": "^2.2.1",
35
- "@n8n/design-system": "1.97.0"
35
+ "@n8n/design-system": "1.98.0"
36
36
  },
37
37
  "license": "SEE LICENSE IN LICENSE.md",
38
38
  "homepage": "https://n8n.io",