@vamlabs/vam-chatbot 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[144],{6144:(n,t,e)=>{e.r(t),e.d(t,{default:()=>C});var a=e(5793),r=e(9956),i=e(3810),o=e(5072),s=e.n(o),d=e(7825),c=e.n(d),l=e(7659),p=e.n(l),u=e(5056),b=e.n(u),f=e(540),g=e.n(f),h=e(1113),m=e.n(h),x=e(8930),k={};k.styleTagTransform=m(),k.setAttributes=b(),k.insert=p().bind(null,"head"),k.domAPI=c(),k.insertStyleElement=g(),s()(x.A,k);const j=x.A&&x.A.locals?x.A.locals:void 0;var v=e(1251),w=e(4848);const C=function(n){let{data:t=[]}=n;return(0,w.jsx)(a.F,{features:r.l,children:(0,w.jsx)("div",{className:j.promtedTopicsContainer,children:t?.map((n=>n?.title&&(0,w.jsx)("a",{href:n?.url,target:"_blank",rel:"noopener noreferrer",children:(0,w.jsx)(i.m.button,{className:j.button,whileTap:"tap",variants:v.fp,children:(0,w.jsxs)("span",{className:j.buttonContent,children:[(0,w.jsx)("span",{children:n?.title}),(0,w.jsx)("i",{className:"bi bi-arrow-up-right"})]})})},n?.title)))})})}},8930:(n,t,e)=>{e.d(t,{A:()=>s});var a=e(1601),r=e.n(a),i=e(6314),o=e.n(i)()(r());o.push([n.id,".Udcs8gpcaMQsVM3JuB3v {\n display: flex;\n justify-content: center;\n width: 100%;\n margin: 30px 0;\n\n a {\n text-decoration: none;\n }\n\n .HoX0s_YXk0mg95sPM9UW {\n padding: 16px;\n background: linear-gradient(white, white) padding-box,\n linear-gradient(to bottom, #39cff6, #ad84ff) border-box;\n border: 3px solid transparent;\n border-radius: 50px;\n }\n\n .eSDuidpnH74LBTacQi_Q {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n font-weight: 800;\n background: linear-gradient(to bottom, #ad84ff, #39cff6);\n background-clip: text;\n color: transparent;\n\n i {\n font-size: inherit;\n }\n\n transition: all 0.3s ease;\n }\n\n .HoX0s_YXk0mg95sPM9UW:hover {\n background: linear-gradient(#39cff6, #ad84ff) padding-box,\n linear-gradient(to bottom, #39cff6, #ad84ff) border-box;\n\n .eSDuidpnH74LBTacQi_Q {\n color: white;\n background: unset;\n background-clip: unset;\n }\n }\n}\n",""]),o.locals={promtedTopicsContainer:"Udcs8gpcaMQsVM3JuB3v",button:"HoX0s_YXk0mg95sPM9UW",buttonContent:"eSDuidpnH74LBTacQi_Q"};const s=o}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 146.web-component.js.LICENSE.txt */
2
+ (this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[146],{2838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:i,seal:o,create:l}=Object,{apply:a,construct:c}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),o||(o=function(e){return e}),a||(a=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const p=_(Array.prototype.forEach),u=_(Array.prototype.pop),h=_(Array.prototype.push),f=_(String.prototype.toLowerCase),g=_(String.prototype.toString),d=_(String.prototype.match),m=_(String.prototype.replace),k=_(String.prototype.indexOf),x=_(String.prototype.trim),b=_(Object.prototype.hasOwnProperty),y=_(RegExp.prototype.test),w=(T=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(T,t)});var T;function _(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return a(e,t,r)}}function A(e,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=r.length;for(;i--;){let t=r[i];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[i]=e),t=e)}e[t]=!0}return e}function E(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null);return e}function R(t){const n=l(null);for(const[r,s]of e(t))b(t,r)&&(Array.isArray(s)?n[r]=E(s):s&&"object"==typeof s&&s.constructor===Object?n[r]=R(s):n[r]=s);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=r(e)}return function(){return null}}const N=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),C=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),v=i(["#text"]),D=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),O=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),M=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=o(/<%[\w\W]*|[\w\W]*%>/gm),H=o(/\${[\w\W]*}/gm),B=o(/^data-[\-\w.\u00B7-\uFFFF]/),q=o(/^aria-[\-\w]+$/),W=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=o(/^(?:\w+script|data):/i),j=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=o(/^html$/i),Y=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:F,TMPLIT_EXPR:H,DATA_ATTR:B,ARIA_ATTR:q,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:Z,ATTR_WHITESPACE:j,DOCTYPE_NAME:G,CUSTOM_ELEMENT:Y});const X=1,V=3,K=7,J=8,ee=9,te=function(){return"undefined"==typeof window?null:window};return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=e=>t(e);if(r.version="3.1.6",r.removed=[],!n||!n.document||n.document.nodeType!==ee)return r.isSupported=!1,r;let{document:s}=n;const o=s,a=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:T,Node:_,Element:E,NodeFilter:U,NamedNodeMap:F=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:B,trustedTypes:q}=n,Z=E.prototype,j=S(Z,"cloneNode"),Y=S(Z,"remove"),ne=S(Z,"nextSibling"),re=S(Z,"childNodes"),se=S(Z,"parentNode");if("function"==typeof T){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let ie,oe="";const{implementation:le,createNodeIterator:ae,createDocumentFragment:ce,getElementsByTagName:pe}=s,{importNode:ue}=o;let he={};r.isSupported="function"==typeof e&&"function"==typeof se&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:ge,TMPLIT_EXPR:de,DATA_ATTR:me,ARIA_ATTR:ke,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:be,CUSTOM_ELEMENT:ye}=Q;let{IS_ALLOWED_URI:we}=Q,Te=null;const _e=A({},[...N,...I,...$,...L,...v]);let Ae=null;const Ee=A({},[...D,...O,...M,...P]);let Re=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ne=null,Ie=!0,$e=!0,Ce=!1,Le=!0,ze=!1,ve=!0,De=!1,Oe=!1,Me=!1,Pe=!1,Ue=!1,Fe=!1,He=!0,Be=!1,qe=!0,We=!1,Ze={},je=null;const Ge=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const Qe=A({},["audio","video","img","source","image","track"]);let Xe=null;const Ve=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,rt=null;const st=A({},[Ke,Je,et],g);let it=null;const ot=["application/xhtml+xml","text/html"];let lt=null,at=null;const ct=s.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=R(e),it=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,lt="application/xhtml+xml"===it?g:f,Te=b(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,lt):_e,Ae=b(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,lt):Ee,rt=b(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,g):st,Xe=b(e,"ADD_URI_SAFE_ATTR")?A(R(Ve),e.ADD_URI_SAFE_ATTR,lt):Ve,Ye=b(e,"ADD_DATA_URI_TAGS")?A(R(Qe),e.ADD_DATA_URI_TAGS,lt):Qe,je=b(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,lt):Ge,Se=b(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,lt):{},Ne=b(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,lt):{},Ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,Ie=!1!==e.ALLOW_ARIA_ATTR,$e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ze=e.SAFE_FOR_TEMPLATES||!1,ve=!1!==e.SAFE_FOR_XML,De=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Ue=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,We=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||W,tt=e.NAMESPACE||et,Re=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Re.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Re.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Re.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&($e=!1),Ue&&(Pe=!0),Ze&&(Te=A({},v),Ae=[],!0===Ze.html&&(A(Te,N),A(Ae,D)),!0===Ze.svg&&(A(Te,I),A(Ae,O),A(Ae,P)),!0===Ze.svgFilters&&(A(Te,$),A(Ae,O),A(Ae,P)),!0===Ze.mathMl&&(A(Te,L),A(Ae,M),A(Ae,P))),e.ADD_TAGS&&(Te===_e&&(Te=R(Te)),A(Te,e.ADD_TAGS,lt)),e.ADD_ATTR&&(Ae===Ee&&(Ae=R(Ae)),A(Ae,e.ADD_ATTR,lt)),e.ADD_URI_SAFE_ATTR&&A(Xe,e.ADD_URI_SAFE_ATTR,lt),e.FORBID_CONTENTS&&(je===Ge&&(je=R(je)),A(je,e.FORBID_CONTENTS,lt)),qe&&(Te["#text"]=!0),De&&A(Te,["html","head","body"]),Te.table&&(A(Te,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,oe=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(q,a)),null!==ie&&"string"==typeof oe&&(oe=ie.createHTML(""));i&&i(e),at=e}},ht=A({},["mi","mo","mn","ms","mtext"]),ft=A({},["foreignobject","annotation-xml"]),gt=A({},["title","style","font","a","script"]),dt=A({},[...I,...$,...C]),mt=A({},[...L,...z]),kt=function(e){h(r.removed,{element:e});try{se(e).removeChild(e)}catch(t){Y(e)}},xt=function(e,t){try{h(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ae[e])if(Pe||Ue)try{kt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,n=null;if(Me)e="<remove></remove>"+e;else{const t=d(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===it&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=ie?ie.createHTML(e):e;if(tt===et)try{t=(new B).parseFromString(r,it)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?oe:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(s.createTextNode(n),i.childNodes[0]||null),tt===et?pe.call(t,De?"html":"body")[0]:De?t.documentElement:i},yt=function(e){return ae.call(e.ownerDocument||e,e,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof H&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof F)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof _&&e instanceof _},_t=function(e,t,n){he[e]&&p(he[e],(e=>{e.call(r,t,n,at)}))},At=function(e){let t=null;if(_t("beforeSanitizeElements",e,null),wt(e))return kt(e),!0;const n=lt(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:n,allowedTags:Te}),e.hasChildNodes()&&!Tt(e.firstElementChild)&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return kt(e),!0;if(e.nodeType===K)return kt(e),!0;if(ve&&e.nodeType===J&&y(/<[/\w]/g,e.data))return kt(e),!0;if(!Te[n]||Se[n]){if(!Se[n]&&Rt(n)){if(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,n))return!1;if(Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))return!1}if(qe&&!je[n]){const t=se(e)||e.parentNode,n=re(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const s=j(n[r],!0);s.__removalCount=(e.__removalCount||0)+1,t.insertBefore(s,ne(e))}}return kt(e),!0}return e instanceof E&&!function(e){let t=se(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ht[r]):Boolean(dt[n]):e.namespaceURI===Ke?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&ft[r]:Boolean(mt[n]):e.namespaceURI===et?!(t.namespaceURI===Je&&!ft[r])&&!(t.namespaceURI===Ke&&!ht[r])&&!mt[n]&&(gt[n]||!dt[n]):!("application/xhtml+xml"!==it||!rt[e.namespaceURI]))}(e)?(kt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!y(/<\/no(script|embed|frames)/i,e.innerHTML)?(ze&&e.nodeType===V&&(t=e.textContent,p([fe,ge,de],(e=>{t=m(t,e," ")})),e.textContent!==t&&(h(r.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(kt(e),!0)},Et=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in s||n in ct))return!1;if($e&&!Ne[t]&&y(me,t));else if(Ie&&y(ke,t));else if(!Ae[t]||Ne[t]){if(!(Rt(e)&&(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,e)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(e))&&(Re.attributeNameCheck instanceof RegExp&&y(Re.attributeNameCheck,t)||Re.attributeNameCheck instanceof Function&&Re.attributeNameCheck(t))||"is"===t&&Re.allowCustomizedBuiltInElements&&(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,n)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))))return!1}else if(Xe[t]);else if(y(we,m(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ye[e])if(Ce&&!y(xe,m(n,be,"")));else if(n)return!1;return!0},Rt=function(e){return"annotation-xml"!==e&&d(e,ye)},St=function(e){_t("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ae};let s=t.length;for(;s--;){const i=t[s],{name:o,namespaceURI:l,value:a}=i,c=lt(o);let h="value"===o?a:x(a);if(n.attrName=c,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,_t("uponSanitizeAttribute",e,n),h=n.attrValue,ve&&y(/((--!?|])>)|<\/(style|title)/i,h)){xt(o,e);continue}if(n.forceKeepAttr)continue;if(xt(o,e),!n.keepAttr)continue;if(!Le&&y(/\/>/i,h)){xt(o,e);continue}ze&&p([fe,ge,de],(e=>{h=m(h,e," ")}));const f=lt(e.nodeName);if(Et(f,c,h)){if(!Be||"id"!==c&&"name"!==c||(xt(o,e),h="user-content-"+h),ie&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(l);else switch(q.getAttributeType(f,c)){case"TrustedHTML":h=ie.createHTML(h);break;case"TrustedScriptURL":h=ie.createScriptURL(h)}try{l?e.setAttributeNS(l,o,h):e.setAttribute(o,h),wt(e)?kt(e):u(r.removed)}catch(e){}}}_t("afterSanitizeAttributes",e,null)},Nt=function e(t){let n=null;const r=yt(t);for(_t("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)_t("uponSanitizeShadowNode",n,null),At(n)||(n.content instanceof c&&e(n.content),St(n));_t("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Oe||ut(t),r.removed=[],"string"==typeof e&&(We=!1),We){if(e.nodeName){const t=lt(e.nodeName);if(!Te[t]||Se[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof _)n=bt("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),s.nodeType===X&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Pe&&!ze&&!De&&-1===e.indexOf("<"))return ie&&Fe?ie.createHTML(e):e;if(n=bt(e),!n)return Pe?null:Fe?oe:""}n&&Me&&kt(n.firstChild);const a=yt(We?e:n);for(;i=a.nextNode();)At(i)||(i.content instanceof c&&Nt(i.content),St(i));if(We)return e;if(Pe){if(Ue)for(l=ce.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Ae.shadowroot||Ae.shadowrootmode)&&(l=ue.call(o,l,!0)),l}let u=De?n.outerHTML:n.innerHTML;return De&&Te["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&y(G,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ze&&p([fe,ge,de],(e=>{u=m(u,e," ")})),ie&&Fe?ie.createHTML(u):u},r.setConfig=function(){ut(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Oe=!0},r.clearConfig=function(){at=null,Oe=!1},r.isValidAttribute=function(e,t,n){at||ut({});const r=lt(e),s=lt(t);return Et(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],h(he[e],t))},r.removeHook=function(e){if(he[e])return u(he[e])},r.removeHooks=function(e){he[e]&&(he[e]=[])},r.removeAllHooks=function(){he={}},r}()}()},23:(e,t,n)=>{"use strict";n.d(t,{xI:()=>ce});let r={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function s(e){r=e}const i=/[&<>"']/,o=new RegExp(i.source,"g"),l=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,a=new RegExp(l.source,"g"),c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},p=e=>c[e];function u(e,t){if(t){if(i.test(e))return e.replace(o,p)}else if(l.test(e))return e.replace(a,p);return e}const h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,f=/(^|[^\[])\^/g;function g(e,t){let n="string"==typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(f,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}function d(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const m={exec:()=>null};function k(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function x(e,t,n){const r=e.length;if(0===r)return"";let s=0;for(;s<r;){const i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.slice(0,r-s)}function b(e,t,n,r){const s=t.href,i=t.title?u(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:s,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:i,text:u(o)}}class y{options;rules;lexer;constructor(e){this.options=e||r}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:x(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=x(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:x(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=x(t[0],"\n").split("\n"),n="",r="";const s=[];for(;e.length>0;){let t=!1;const i=[];let o;for(o=0;o<e.length;o++)if(/^ {0,3}>/.test(e[o]))i.push(e[o]),t=!0;else{if(t)break;i.push(e[o])}e=e.slice(o);const l=i.join("\n"),a=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${l}`:l,r=r?`${r}\n${a}`:a;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(a,s,!0),this.lexer.state.top=c,0===e.length)break;const p=s[s.length-1];if("code"===p?.type)break;if("blockquote"===p?.type){const t=p,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"!==p?.type);else{const t=p,i=t.raw+"\n"+e.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-p.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=i.substring(s[s.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const i=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;e;){let n=!1,r="",l="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let a=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],p=!a.trim(),u=0;if(this.options.pedantic?(u=2,l=a.trimStart()):p?u=t[1].length+1:(u=t[2].search(/[^ ]/),u=u>4?1:u,l=a.slice(u),u+=t[1].length),p&&/^ *$/.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),s=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),i=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;e;){const o=e.split("\n",1)[0];if(c=o,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),s.test(c))break;if(i.test(c))break;if(t.test(c))break;if(n.test(e))break;if(c.search(/[^ ]/)>=u||!c.trim())l+="\n"+c.slice(u);else{if(p)break;if(a.search(/[^ ]/)>=4)break;if(s.test(a))break;if(i.test(a))break;if(n.test(a))break;l+="\n"+c}p||c.trim()||(p=!0),r+=o+"\n",e=e.substring(o.length+1),a=c.slice(u)}}s.loose||(o?s.loose=!0:/\n *\n *$/.test(r)&&(o=!0));let h,f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l),f&&(h="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:r,task:!!f,checked:h,loose:!1,text:l,tokens:[]}),s.raw+=r}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=k(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?i.align.push("right"):/^ *:-+: *$/.test(e)?i.align.push("center"):/^ *:-+ *$/.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(const e of s)i.rows.push(k(e,i.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]}))));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:u(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=x(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),b(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return b(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&(!r[3]||!n.match(/[\p{L}\p{N}]/u))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...r[0]].length-1;let s,i,o=n,l=0;const a="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=a.exec(t));){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(i=[...s].length,r[3]||r[4]){o+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){l+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+l);const t=[...r[0]][0].length,a=e.slice(0,n+r.index+t+i);if(Math.min(n,i)%2){const e=a.slice(1,-1);return{type:"em",raw:a,text:e,tokens:this.lexer.inlineTokens(e)}}const c=a.slice(2,-2);return{type:"strong",raw:a,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=u(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=u(t[1]),n="mailto:"+e):(e=u(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=u(t[0]),n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=u(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:u(t[0]),{type:"text",raw:t[0],text:e}}}}const w=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/(?:[*+-]|\d{1,9}[.)])/,_=g(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,T).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),A=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,R=g(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),S=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),N="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",I=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,$=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",I).replace("tag",N).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C=g(A).replace("hr",w).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex(),L={blockquote:g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",C).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:R,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:w,html:$,lheading:_,list:S,newline:/^(?: *(?:\n|$))+/,paragraph:C,table:m,text:/^[^\n]+/},z=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",w).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex(),v={...L,table:z,paragraph:g(A).replace("hr",w).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex()},D={...L,html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",I).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:m,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(A).replace("hr",w).replace("heading"," *#{1,6} *[^\n]").replace("lheading",_).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},O=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,M=/^( {2,}|\\)\n(?!\s*$)/,P="\\p{P}\\p{S}",U=g(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,P).getRegex(),F=g(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,P).getRegex(),H=g("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,P).getRegex(),B=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,P).getRegex(),q=g(/\\([punct])/,"gu").replace(/punct/g,P).getRegex(),W=g(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Z=g(I).replace("(?:--\x3e|$)","--\x3e").getRegex(),j=g("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),G=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Y=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",G).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Q=g(/^!?\[(label)\]\[(ref)\]/).replace("label",G).replace("ref",E).getRegex(),X=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),V={_backpedal:m,anyPunctuation:q,autolink:W,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:M,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:m,emStrongLDelim:F,emStrongRDelimAst:H,emStrongRDelimUnd:B,escape:O,link:Y,nolink:X,punctuation:U,reflink:Q,reflinkSearch:g("reflink|nolink(?!\\()","g").replace("reflink",Q).replace("nolink",X).getRegex(),tag:j,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:m},K={...V,link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",G).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G).getRegex()},J={...V,escape:g(O).replace("])","~|])").getRegex(),url:g(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ee={...J,br:g(M).replace("{2,}","*").getRegex(),text:g(J.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},te={normal:L,gfm:v,pedantic:D},ne={normal:V,gfm:J,breaks:ee,pedantic:K};class re{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||r,this.options.tokenizer=this.options.tokenizer||new y,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:te.normal,inline:ne.normal};this.options.pedantic?(t.block=te.pedantic,t.inline=ne.pedantic):this.options.gfm&&(t.block=te.gfm,this.options.breaks?t.inline=ne.breaks:t.inline=ne.gfm),this.tokenizer.rules=t}static get rules(){return{block:te,inline:ne}}static lex(e,t){return new re(t).lex(e)}static lexInline(e,t){return new re(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){let r,s,i;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),s=t[t.length-1],!s||"paragraph"!==s.type&&"text"!==s.type?t.push(r):(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),s=t[t.length-1],!s||"paragraph"!==s.type&&"text"!==s.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(s.raw+="\n"+r.raw,s.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i)))s=t[t.length-1],n&&"paragraph"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"text"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,s,i,o,l,a=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(a));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(a));)a=a.slice(0,i.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(l=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,a,l))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(s=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(s))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),o=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class se{options;parser;constructor(e){this.options=e||r}space(e){return""}code({text:e,lang:t,escaped:n}){const r=(t||"").match(/^\S*/)?.[0],s=e.replace(/\n$/,"")+"\n";return r?'<pre><code class="language-'+u(r)+'">'+(n?s:u(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:u(s,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let t=0;t<e.items.length;t++){const n=e.items[t];r+=this.listitem(n)}const s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){const s=e.rows[t];n="";for(let e=0;e<s.length;e++)n+=this.tablecell(s[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${e}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),s=d(e);if(null===s)return r;let i='<a href="'+(e=s)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+r+"</a>",i}image({href:e,title:t,text:n}){const r=d(e);if(null===r)return n;let s=`<img src="${e=r}" alt="${n}"`;return t&&(s+=` title="${t}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class ie{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class oe{options;renderer;textRenderer;constructor(e){this.options=e||r,this.options.renderer=this.options.renderer||new se,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ie}static parse(e,t){return new oe(t).parse(e)}static parseInline(e,t){return new oe(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;r+1<e.length&&"text"===e[r+1].type;)s=e[++r],o+="\n"+this.renderer.text(s);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}const i=s;switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class le{options;constructor(e){this.options=e||r}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const ae=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(re.lex,oe.parse);parseInline=this.#e(re.lexInline,oe.parseInline);Parser=oe;Renderer=se;TextRenderer=ie;Lexer=re;Tokenizer=y;Hooks=le;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{const e=r;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new se(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n;let s=e.renderer[r];e.useNewRenderer||(s=this.#t(s,r,t));const i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new y(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,s=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new le;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const r=n,s=e.hooks[r],i=t[r];le.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>i.call(t,e)));const n=s.call(t,e);return i.call(t,n)}:t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}#t(e,t,n){switch(t){case"heading":return function(r){return r.type&&r.type===t?e.call(this,n.parser.parseInline(r.tokens),r.depth,function(e){return e.replace(h,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}(n.parser.parseInline(r.tokens,n.parser.textRenderer))):e.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===t?e.call(this,n.text,n.lang,!!n.escaped):e.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);let r="",s="";for(let e=0;e<n.header.length;e++)s+=this.tablecell({text:n.header[e].text,tokens:n.header[e].tokens,header:!0,align:n.align[e]});r+=this.tablerow({text:s});let i="";for(let e=0;e<n.rows.length;e++){const t=n.rows[e];s="";for(let e=0;e<t.length;e++)s+=this.tablecell({text:t[e].text,tokens:t[e].tokens,header:!1,align:n.align[e]});i+=this.tablerow({text:s})}return e.call(this,r,i)};case"blockquote":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);const r=this.parser.parse(n.tokens);return e.call(this,r)};case"list":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);const r=n.ordered,s=n.start,i=n.loose;let o="";for(let e=0;e<n.items.length;e++){const t=n.items[e],r=t.checked,s=t.task;let l="";if(t.task){const e=this.checkbox({checked:!!r});i?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):l+=e+" "}l+=this.parser.parse(t.tokens,i),o+=this.listitem({type:"list_item",raw:l,text:l,task:s,checked:!!r,loose:i,tokens:t.tokens})}return e.call(this,o,r,s)};case"html":return function(n){return n.type&&n.type===t?e.call(this,n.text,n.block):e.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===t?e.call(this,this.parser.parseInline(n.tokens)):e.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===t?e.call(this,n.text):e.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===t?e.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):e.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===t?e.call(this,n.href,n.title,n.text):e.apply(this,arguments)}}return e}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return re.lex(e,t??this.defaults)}parser(e,t){return oe.parse(e,t??this.defaults)}#e(e,t){return(n,r)=>{const s={...r},i={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const o=this.#n(!!i.silent,!!i.async);if(null==n)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then((t=>e(t,i))).then((e=>i.hooks?i.hooks.processAllTokens(e):e)).then((e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then((()=>e)):e)).then((e=>t(e,i))).then((e=>i.hooks?i.hooks.postprocess(e):e)).catch(o);try{i.hooks&&(n=i.hooks.preprocess(n));let r=e(n,i);i.hooks&&(r=i.hooks.processAllTokens(r)),i.walkTokens&&this.walkTokens(r,i.walkTokens);let s=t(r,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(e){return o(e)}}}#n(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+u(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function ce(e,t){return ae.parse(e,t)}ce.options=ce.setOptions=function(e){return ae.setOptions(e),ce.defaults=ae.defaults,s(ce.defaults),ce},ce.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ce.defaults=r,ce.use=function(...e){return ae.use(...e),ce.defaults=ae.defaults,s(ce.defaults),ce},ce.walkTokens=function(e,t){return ae.walkTokens(e,t)},ce.parseInline=ae.parseInline,ce.Parser=oe,ce.parser=oe.parse,ce.Renderer=se,ce.TextRenderer=ie,ce.Lexer=re,ce.lexer=re.lex,ce.Tokenizer=y,ce.Hooks=le,ce.parse=ce,ce.options,ce.setOptions,ce.use,ce.walkTokens,ce.parseInline,oe.parse,re.lex}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[161],{4161:(e,s,a)=>{a.r(s),a.d(s,{default:()=>I});var t=a(6540),l=a(5793),n=a(9956),i=a(3810),r=a(8629),o=a(5072),c=a.n(o),d=a(7825),h=a.n(d),m=a(7659),p=a.n(m),x=a(5056),b=a.n(x),u=a(540),j=a.n(u),v=a(1113),g=a.n(v),N=a(4267),f={};f.styleTagTransform=g(),f.setAttributes=b(),f.insert=p().bind(null,"head"),f.domAPI=h(),f.insertStyleElement=j(),c()(N.A,f);const y=N.A&&N.A.locals?N.A.locals:void 0;var A=a(4848);const $=function(e){let{theme:s="light"}=e;return(0,A.jsxs)("div",{className:"placeholder-glow",children:[(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"20%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"50%"}})]}),(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"40%",marginLeft:"5%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"50%"}})]}),(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"30%",marginLeft:"5%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"15%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"20%"}})]}),(0,A.jsx)("div",{className:y.placeholderContainer,children:(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"15%"}})})]})};var w=a(1251),S=a(2852);const T=(0,t.lazy)((()=>a.e(76).then(a.bind(a,9076)))),z=(0,t.lazy)((()=>Promise.all([a.e(146),a.e(317)]).then(a.bind(a,9317)))),I=function(e){let{messageList:s,promptsData:a,handleSubmit:t,chatbotState:o,scrollAnchorRef:c,promptsMinimized:d,setPromptsMinimized:h,inputRef:m,inputText:p,handleInput:x,placeholderInputText:b,chatbotIcon:u}=e;return(0,A.jsx)(l.F,{features:n.l,children:(0,A.jsxs)("div",{className:r.A.body,children:[(0,A.jsxs)(i.m.div,{variants:w.DS,className:r.A.conversation,children:[s.map(((e,s)=>(0,A.jsx)(z,{chatbotIcon:u,messageText:e?.data?.text,messageReferenceLinks:e?.data?.sources,messageImageLinks:e?.data?.image_links,messageSource:e?.source,messageStatus:e?.status,promotedTopics:e?.data?.promoted_topics,typewriterEffect:e?.typewriterEffect},`message-${s}`))),a?.show&&(0,A.jsx)("div",{className:r.A.bodyPromptsContainer,children:(0,A.jsx)(S.A,{promptsData:a,handleSubmit:t,setPromptsMinimized:h})}),1===o&&(0,A.jsxs)("div",{className:r.A.message,children:[(0,A.jsx)("img",{src:u,loading:"lazy",alt:"chatbot icon",className:r.A.chatbotIcon}),(0,A.jsx)("span",{className:"w-100",children:(0,A.jsx)($,{theme:"dark"})})]}),(0,A.jsx)("div",{className:"scrollAnchor",ref:c})]}),(0,A.jsx)(T,{setPromptsMinimized:h,promptsMinimized:d,promptsData:a,handleSubmit:t,chatbotState:o,inputRef:m,inputText:p,handleInput:x,placeholderInputText:b})]})})}},2852:(e,s,a)=>{a.d(s,{A:()=>d});var t=a(5793),l=a(9956),n=a(3810),i=a(8629),r=a(4848);const o=function(e){let{option:s,chatbotState:a,handleSubmit:t=()=>{},setPromptsMinimized:l=()=>{}}=e;return(0,r.jsxs)("button",{className:i.A.option,onClick:()=>{l(!0),t(s?.query||s?.label)},disabled:1===a||2===a,children:[(0,r.jsx)("i",{className:`bi ${s?.iconClass}`}),(0,r.jsx)("span",{className:i.A.optionText,children:s?.label})]})};var c=a(1251);const d=function(e){let{promptsData:s,handleSubmit:a,setPromptsMinimized:d,chatbotState:h}=e;return(0,r.jsx)(t.F,{features:l.l,children:(0,r.jsx)("div",{className:i.A.promptsData,children:s?.prompts?.map(((e,s)=>(0,r.jsx)(n.m.span,{variants:c.N4,children:(0,r.jsx)(o,{option:e,handleSubmit:a,setPromptsMinimized:d,chatbotState:h},`option-${s}`)},s)))})})}},4267:(e,s,a)=>{a.d(s,{A:()=>r});var t=a(1601),l=a.n(t),n=a(6314),i=a.n(n)()(l());i.push([e.id,".I3r6BXln1zxH2ejvDTTd {\n margin-bottom: 1rem;\n gap: 3%;\n display: flex;\n}\n\n.rTpIHcFrLNeg6YGEnkxW {\n border-radius: 5px;\n}\n",""]),i.locals={placeholderContainer:"I3r6BXln1zxH2ejvDTTd",placeholder:"rTpIHcFrLNeg6YGEnkxW"};const r=i}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[297],{4297:(e,a,s)=>{s.r(a),s.d(a,{default:()=>C});var n=s(5072),t=s.n(n),i=s(7825),l=s.n(i),r=s(7659),c=s.n(r),o=s(5056),d=s.n(o),m=s(540),u=s.n(m),h=s(1113),b=s.n(h),v=s(7492),I={};I.styleTagTransform=b(),I.setAttributes=d(),I.insert=c().bind(null,"head"),I.domAPI=l(),I.insertStyleElement=u(),t()(v.A,I);const p=v.A&&v.A.locals?v.A.locals:void 0;var f=s(5793),w=s(9956),x=s(3810),A=s(1251),j=s(4848);const C=function(e){let{images:a=[]}=e;return(0,j.jsx)(f.F,{features:w.l,children:(0,j.jsx)(x.m.div,{id:"carousel-container",className:"carousel slide w-100",initial:"hide",whileInView:"show",viewport:{once:!0},variants:A.PE,children:(0,j.jsx)("div",{className:`carousel-inner ${p.carousalInner}`,children:[a[0]].map(((e,a)=>(0,j.jsx)("div",{className:`carousel-item d-flex ${0===a?"active":""} ${p.carousalItem}`,children:(0,j.jsx)("img",{src:e,className:"d-block w-100 object-fit-contain",alt:"carousal item"})},`carousal-item-${a}`)))})})})}},7492:(e,a,s)=>{s.d(a,{A:()=>r});var n=s(1601),t=s.n(n),i=s(6314),l=s.n(i)()(t());l.push([e.id,".bM7UYUIV67pDU1mIqhBb {\n border-radius: 10px;\n}\n\n.FCedTtDmiTfcKbb9XOGz {\n max-height: 24rem;\n}\n",""]),l.locals={carousalInner:"bM7UYUIV67pDU1mIqhBb",carousalItem:"FCedTtDmiTfcKbb9XOGz"};const r=l}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[317],{9317:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var r=s(6540),o=s(23),a=s(2838),n=s.n(a),c=s(8629),i=s(4848);const l=(0,r.lazy)((()=>s.e(144).then(s.bind(s,6144)))),b=(0,r.lazy)((()=>s.e(329).then(s.bind(s,3329)))),m=(0,r.lazy)((()=>s.e(297).then(s.bind(s,4297)))),u=(0,r.lazy)((()=>s.e(571).then(s.bind(s,3571)))),g=e=>{let t="";n().addHook("afterSanitizeAttributes",(function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))}));try{t=n().sanitize(o.xI.parse(e))}catch(e){console.log(e)}return t};function d(e){let{chatbotIcon:t,messageText:s,messageReferenceLinks:r,messageImageLinks:o,messageSource:a,messageStatus:n,promotedTopics:d,typewriterEffect:h}=e,x={};return"user"===a?x.backgroundColor="var(--chatbot-user-bubble-color)":"bot"===a?x.backgroundColor="var(--chatbot-bot-bubble-color)":"error"===a&&(x.justifyDirection="center"),(0,i.jsxs)("div",{className:c.A.message,style:{color:"error"===a?"red":"",justifyContent:x?.justifyDirection,flexDirection:"user"===a?"row-reverse":""},children:["user"===a?(0,i.jsx)("i",{className:"bi bi-person-circle",style:{color:"var(--chatbot-user-icon-color)"}}):"bot"===a?t&&(0,i.jsx)("img",{src:t,alt:"chatbot icon",className:c.A.chatbotIcon}):"",(0,i.jsx)("div",{className:c.A.messageBody,children:(0,i.jsxs)("div",{className:c.A.messageText,style:{backgroundColor:x.backgroundColor,color:"error"===a?"red":"user"===a?"var(--chatbot-user-text-color)":"var(--chatbot-bot-text-color)"},children:[h?(0,i.jsx)(u,{text:g(s)}):(0,i.jsx)("span",{className:c.A.markdownToHtmlContainer,dangerouslySetInnerHTML:{__html:g(s)}}),"done"===n&&d?.length>0&&(0,i.jsx)(l,{data:d}),"done"===n&&r?.length>0&&(0,i.jsx)(b,{sources:r}),o?.length>0&&(0,i.jsx)(m,{images:o})]})})]})}const h=e=>{let{chatbotIcon:t,messageText:s,messageReferenceLinks:o,messageImageLinks:a,messageSource:n,messageStatus:c,promotedTopics:l,typewriterEffect:b}=e;return(0,r.useMemo)((()=>(0,i.jsx)(d,{chatbotIcon:t,messageText:s,messageReferenceLinks:o,messageImageLinks:a,messageSource:n,messageStatus:c,promotedTopics:l,typewriterEffect:b})),[s,c,t])}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[329],{3329:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var r=t(6540),a=t(5793),n=t(9956),c=t(3810),i=t(8629),l=t(1251),o=t(4848);const h=function(e){let{sources:s}=e;const[t,h]=(0,r.useState)(!1);return(0,o.jsxs)(a.F,{features:n.l,children:[(0,o.jsxs)(c.m.div,{initial:!1,variants:l.sK,animate:t?"show":"hide",className:i.A.sourceList,children:[(0,o.jsx)("hr",{}),(0,o.jsx)("p",{className:i.A.sourceTitle,children:"Sources:"}),s.map(((e,s)=>(0,o.jsxs)("p",{children:["- ",(0,o.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:i.A.sourceLink,title:e,children:e})]},s)))]}),(0,o.jsx)("button",{className:`btn btn-sm align-self-end ${i.A.sourceSwitch}`,onClick:()=>h((e=>!e)),children:t?"Hide Sources":"View Sources"})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[518],{3518:(e,s,a)=>{a.r(s),a.d(s,{default:()=>h});var i=a(5793),t=a(9956),n=a(3810),l=a(8629),r=a(1251),c=a(4848);const h=function(e){let{headerText:s,setPromptsMinimized:a,handleChatbotAnimation:h,resetChatbot:d}=e;return(0,c.jsx)(i.F,{features:t.l,children:(0,c.jsx)("div",{className:l.A.headerContainer,children:(0,c.jsxs)(n.m.div,{className:l.A.header,variants:r.DS,children:[(0,c.jsx)("div",{className:"h-100 d-flex align-items-center",children:(0,c.jsx)("span",{className:l.A.headerTitle,children:s})}),(0,c.jsxs)("div",{children:[(0,c.jsx)("button",{onClick:d,children:(0,c.jsx)("i",{className:"bi bi-arrow-clockwise"})}),(0,c.jsx)("button",{onClick:()=>{a(!0),h()},children:(0,c.jsx)("i",{className:"bi bi-x-lg"})})]})]})})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[571],{3571:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var a=n(6540),s=n(8629),r=n(4848);const l=t=>{let{text:e,speed:n=15}=t;const[l,h]=(0,a.useState)("");return(0,a.useEffect)((()=>{const t=setInterval((()=>{h((n=>(n.length===e.length-1&&clearInterval(t),n+(e[n.length]?e[n.length]:""))))}),n);return()=>clearInterval(t)}),[e,n]),(0,r.jsx)("span",{className:s.A.markdownToHtmlContainer,dangerouslySetInnerHTML:{__html:l}})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[76],{9076:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var s=a(5793),i=a(9956),r=a(3810),n=a(8629),o=a(1251),l=a(2852),c=a(4848);const d=function(t){let{setPromptsMinimized:e,promptsMinimized:a,promptsData:d,handleSubmit:m,chatbotState:p,inputRef:h,inputText:u,handleInput:b,placeholderInputText:x}=t;return(0,c.jsx)(s.F,{features:i.l,children:(0,c.jsx)("div",{className:n.A.footerContainer,children:(0,c.jsxs)(r.m.div,{className:n.A.footer,variants:o.DS,children:[(0,c.jsx)(r.m.div,{className:n.A.defaultPrompts,animate:a?"hide":"show",variants:o.ZS,children:(0,c.jsx)(l.A,{promptsData:d,handleSubmit:m,setPromptsMinimized:e,chatbotState:p})}),(0,c.jsx)("div",{className:n.A.footerBranding,children:"Powered by VAM Studios"}),(0,c.jsxs)("form",{className:n.A.footerForm,children:[(0,c.jsx)("button",{type:"button",className:n.A.promptDrawerButton,onClick:()=>e((t=>!t)),children:(0,c.jsx)("i",{className:"bi bi-postcard-heart-fill promptDrawerIcon"})}),(0,c.jsx)("input",{ref:h,placeholder:x,type:"text",value:u,name:"chatInput",onChange:t=>b(t)}),(0,c.jsx)("button",{type:"submit",onClick:t=>{t.preventDefault(),m()},disabled:1===p||2===p,children:(0,c.jsx)("i",{className:"bi bi-arrow-up-circle-fill"})})]})]})})})}}}]);