fge-chat-ia 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
- (function(Y,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],p):(Y=typeof globalThis<"u"?globalThis:Y||self,p(Y.ChatIA={},Y.Vue))})(this,function(Y,p){"use strict";var Bt=document.createElement("style");Bt.textContent=`.ia-sidebar-btn[data-v-b67a4907]{all:unset;padding:.15rem;width:20px;height:20px;border-radius:100%}.ia-sidebar-btn[data-v-b67a4907] svg[data-v-b67a4907]{fill:var(--ia-chat-box-text-color);width:100%;height:100%}.ia-sidebar-btn[data-v-b67a4907][data-v-b67a4907]:hover{cursor:pointer;box-shadow:0 0 15px 0 var(--ia-chat-box-shadow-color)}.ia-dots-loader[data-v-b3e877da]{width:30px;aspect-ratio:2;--_g: no-repeat radial-gradient(circle closest-side, #f28b0c 90%, #0000);background:var(--_g) 0% 50%,var(--_g) 50% 50%,var(--_g) 100% 50%;background-size:calc(100% / 3) 50%;animation:l3-b3e877da 1s infinite linear}@keyframes l3-b3e877da{20%{background-position:0% 0%,50% 50%,100% 50%}40%{background-position:0% 100%,50% 0%,100% 50%}60%{background-position:0% 50%,50% 100%,100% 0%}80%{background-position:0% 50%,50% 50%,100% 100%}}.ia-chat-message-container[data-v-590c91ba]{color:var(--ia-message-user-color);overflow-wrap:break-word;margin-top:.75rem;margin-bottom:.75rem;padding:.75rem 1.25rem;max-width:50%;background-color:var(--ia-message-box-bg-color);margin-left:auto;border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.chat-target-messages[data-v-6ed0be52]{padding:.75rem 0;width:100%}.chat-messages-container[data-v-6ed0be52]{width:100%;display:flex;align-items:center;flex-direction:column;padding:0 .5rem}.ia-chat-bot-message[data-v-6ed0be52]{width:80%;max-width:80%;padding:1.5rem 0;margin-right:auto;border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.ia-chat-bot-message-container[data-v-6ed0be52]{color:var(--ia-chat-box-text-color);overflow-wrap:break-word;margin-top:.75rem;margin-bottom:.75rem;max-width:90%}.ia-dots-loader-container[data-v-6ed0be52]{padding:0 1.25rem;background-color:var(--ia-message-box-bg-color);border-radius:8px;padding:.5rem;margin:0 .4rem .75rem 0;width:50px;display:flex;align-items:center;justify-content:center}.ia-chat-message-options-bar[data-v-6ed0be52]{display:flex;gap:10px}.ia-chat-message-like-btn[data-v-6ed0be52]{all:unset;width:25px;height:38px;padding:0 8px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:var(--ia-primary-color);transition:background-color .3s ease}.ia-chat-message-like-btn>svg[data-v-6ed0be52]{width:18px;height:18px;fill:#fff}.ia-chat-message-like-btn[data-v-6ed0be52]:hover{background-color:var(--ia-chat-send-btn-hover-color);cursor:pointer}.ia-chat-message-like-btn.liked[data-v-6ed0be52]{background-color:#2ac72a}.ia-chat-message-like-btn.disliked[data-v-6ed0be52]{background-color:#dc3545}.ia-chat-message-like-btn[data-v-6ed0be52]:active{transform:scale(.9)}.ia-chat-message-like-btn[data-v-6ed0be52]:disabled{cursor:not-allowed;opacity:.5}.ia-loader-relative[data-v-9a82108b]{position:relative}.ia-chat-loading[data-v-9a82108b]{position:absolute;width:100%;height:100%;background:#555555bf;left:0;top:0;z-index:999999;display:flex;align-items:center;justify-content:center}.ia-icon_1[data-v-9a82108b]{animation:rotate-9a82108b 2s linear infinite;height:180px}@keyframes rotate-9a82108b{to{transform:rotate(-360deg)}}.ia-icon_2[data-v-9a82108b]{width:115px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ia-message-loader[data-v-f96b52cc]{display:flex;align-items:center;justify-content:center;position:absolute;top:.625rem;left:50%}.msg-loader[data-v-f96b52cc]{width:40px;padding:8px;aspect-ratio:1;border-radius:50%;background:var(--ia-primary-color);--_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:source-out;mask-composite:subtract;animation:l3-f96b52cc 1s infinite linear}@keyframes l3-f96b52cc{to{transform:rotate(1turn)}}.ia-chat-history-item[data-v-8aa25cf5]{width:100%;display:flex;align-items:center;justify-content:space-between}.ia-chat-history-item-btn[data-v-8aa25cf5]{all:unset;padding:1rem;width:100%;font-size:14px;font-weight:500;font-family:var(--ia-chat-font-family);color:var(--ia-chat-box-text-color);cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ia-chat-history-item-btn[data-v-8aa25cf5][data-v-8aa25cf5]:hover{background-color:var(--ia-chat-box-hover-color)}.ia-chat-delete-item-btn[data-v-8aa25cf5]{all:unset;padding:.75rem;cursor:pointer;width:20px;height:20px}.ia-chat-delete-item-btn[data-v-8aa25cf5] svg[data-v-8aa25cf5]{width:15px;height:15px;fill:var(--ia-chat-delete-btn-color)}.ia-chat-delete-item-btn[data-v-8aa25cf5][data-v-8aa25cf5]:hover{background-color:var(--ia-chat-delete-btn-hover-color)}.ia-chat-history-container[data-v-79da279a]{display:flex;flex-direction:column;padding:.75rem 0}.ia-chat-history-item-active[data-v-79da279a]{background-color:var(--ia-chat-item-active-bg-color)}.ia-sidebar-btn[data-v-5c84a8d8]{all:unset;padding:.15rem;width:20px;height:20px;border-radius:100%}.ia-sidebar-btn svg[data-v-5c84a8d8]{fill:var(--ia-chat-box-text-color);width:100%;height:100%}.ia-sidebar-btn[data-v-5c84a8d8]:hover{cursor:pointer;box-shadow:0 0 15px 0 var(--ia-chat-box-shadow-color)}.ia-chat-sidebar[data-v-5c84a8d8]{max-width:280px;width:100%;height:100%;background-color:var(--ia-chat-bg-sidebar);position:relative}.ia-sidebar-header[data-v-5c84a8d8]{height:65px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:20px 15px}.ia-sidebar-body[data-v-5c84a8d8]{height:calc(100% - 65px);width:100%;position:relative}.ia-chat-sidebar[data-v-5c84a8d8]:after{content:"";position:absolute;top:0;right:0;height:100%;width:2px;background-color:var(--ia-chat-sidebar-border-color)}.ia-doc-header[data-v-407ccecf]{height:40px;width:100%;border-bottom:2px solid var(--ia-chat-sidebar-border-color);display:flex;justify-content:space-between;align-items:center;padding:0 20px}.ia-doc-header p[data-v-407ccecf]{font-size:20px;font-weight:700;color:var(--ia-chat-box-text-color)}.close-btn[data-v-407ccecf]{background:none;border:none;font-size:16px;cursor:pointer;color:#000}.document-list[data-v-407ccecf]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:20px}.document-item[data-v-407ccecf]{width:calc(50% - 10px);display:flex;align-items:center}.document-button[data-v-407ccecf]{display:flex;align-items:left;margin-bottom:5px;justify-content:left;padding:8px;width:100%;background-color:#f1f1f1;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s}.document-button[data-v-407ccecf]>svg[data-v-407ccecf]{margin-right:10px;width:18px;height:18px;fill:#ee2828}.document-item.selected .document-button[data-v-407ccecf]{background-color:var(--ia-primary-color);color:#fff}.document-button[data-v-407ccecf]:hover{background-color:#ddd}.pdf-icon[data-v-407ccecf]{width:20px;height:20px;margin-right:10px}.confirm-btn[data-v-407ccecf]{margin-top:20px;padding:10px 20px;background-color:var(--ia-primary-color);color:#fff;border:none;border-radius:4px;cursor:pointer}.confirm-btn[data-v-407ccecf]>svg[data-v-407ccecf]{margin-right:8px;width:18px;height:18px;fill:#fff}.confirm-btn[data-v-407ccecf]:hover{background-color:var(--ia-chat-send-btn-hover-color)}@media (max-width: 768px){.document-item[data-v-407ccecf]{width:100%}}.modal-overlay[data-v-407ccecf]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center}.modal-content[data-v-407ccecf]{background:#fff;padding:20px;border-radius:8px;width:450px;box-shadow:0 4px 6px #0000001a;text-align:center}.ia-message-loader[data-v-407ccecf]{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.seleccionados[data-v-407ccecf]{color:var(--ia-chat-box-text-color);font-size:12px;font-family:var(--ia-chat-font-family);margin:0;padding:0;text-align:center}.msg-loader[data-v-407ccecf]{width:40px;padding:8px;aspect-ratio:1;border-radius:50%;background:#db9b0f;--_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:source-out;mask-composite:subtract;animation:l3-407ccecf 1s infinite linear}@keyframes l3-407ccecf{to{transform:rotate(1turn)}}.ia-chat-container[data-v-4b7faeb2]{flex:1;transition:all .3s ease}.ia-chat-header[data-v-4b7faeb2]{height:65px;width:100%;border-bottom:2px solid var(--ia-chat-sidebar-border-color);display:flex;align-items:center;justify-content:space-between;padding:0 20px}.ia-chat-header p[data-v-4b7faeb2]{font-size:20px;font-weight:700;color:var(--ia-chat-box-text-color)}.ia-chat-body-container[data-v-4b7faeb2]{width:100%;height:calc(100% - 65px);display:flex;align-items:center;justify-content:center;padding:0 2rem;position:relative}.ia-chat-body[data-v-4b7faeb2]{height:100%;max-width:850px;padding-top:1rem;display:flex;align-items:center;justify-content:end;flex-direction:column;border-left-width:1px;border-right-width:1px;border-color:#d1d5db;flex-grow:1;position:relative}.ia-chat-body-messages[data-v-4b7faeb2]{width:100%;overflow-y:auto;margin-top:auto}.ia-chat-empty-container[data-v-4b7faeb2]{height:calc(100vh - 250px);display:flex;flex-direction:column;gap:1rem;align-items:center;justify-content:center}.ia-chat-empty-container>p[data-v-4b7faeb2]{opacity:.75;color:var(--ia-chat-box-text-color);font-family:var(--ia-chat-font-family);margin:0;padding:0}.ia-chat-empty-container svg[data-v-4b7faeb2]{opacity:.75;width:65px;height:65px}.ia-chat-footer[data-v-4b7faeb2]{padding:.5rem 0;width:100%;position:sticky;bottom:-.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}.ia-chat-footer>p[data-v-4b7faeb2]{color:var(--ia-chat-box-text-color);font-size:12px;font-family:var(--ia-chat-font-family);margin:0;padding:0;text-align:center}.ia-chat-text-area-container[data-v-4b7faeb2]{width:100%;display:flex;align-items:end;gap:.25rem}.ia-chat-text-area[data-v-4b7faeb2]{width:100%;min-height:44px;background-color:var(--ia-chat-textarea-bg-color);resize:none;border:1px solid var(--ia-primary-color);outline:none;font-size:16px;font-family:var(--ia-chat-font-family);color:var(--ia-chat-box-text-color);padding:.75rem;overflow:hidden;border-radius:4px}.ia-chat-page-send-btn[data-v-4b7faeb2]{all:unset;width:30px;height:44px;padding:0 8px;margin:0 10px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:var(--ia-primary-color)}.ia-chat-page-send-btn>svg[data-v-4b7faeb2]{width:18px;height:18px;fill:#fff}.ia-chat-page-send-btn[data-v-4b7faeb2]:hover{background-color:var(--ia-chat-send-btn-hover-color);cursor:pointer}.ia-chat-body-messages[data-v-4b7faeb2]::-webkit-scrollbar{width:10px}.ia-chat-body-messages[data-v-4b7faeb2]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.ia-chat-body-messages[data-v-4b7faeb2]::-webkit-scrollbar-thumb{background-color:var(--ia-primary-color);border-radius:10px;border:1px solid #f1f1f1}.ia-chat-body-messages[data-v-4b7faeb2]::-webkit-scrollbar-thumb:hover{background-color:var(--ia-primary-color)}.ia-chat-reset *,.ia-chat-page-container *,.ia-chat-page-container.ia-chat-page{box-sizing:border-box;margin:0;padding:0}:root{--ia-primary-color: #f28b0c;--ia-chat-box-shadow-color: #ccc;--ia-chat-box-text-color: #4d4d4d;--ia-chat-bg-color: #fff;--ia-chat-bg-sidebar: #f4f4f5;--ia-chat-sidebar-border-color: #e4e4e7;--ia-chat-item-active-bg-color: #d6d6d6;--ia-chat-box-hover-color: #b9b9b92d;--ia-chat-delete-btn-color: #3f3c3c;--ia-chat-delete-btn-hover-color: #fdfdfdf5;--ia-chat-font-family: Roboto, Arial, Helvetica, sans-serif;--ia-chat-message-font-size: 14px;--ia-chat-message-font-weight: 400;--ia-message-box-bg-color: #fce2c2;--ia-message-user-color: #4b5563;--ia-chat-message-padding: 10px;--ia-chat-textarea-bg-color: #f3f3f3;--ia-chat-send-btn-hover-color: rgba(242, 139, 12, .8)}.ia-chat-reset{position:relative}.dark{height:100%;width:100%;--ia-chat-box-shadow-color: #4d4d4d;--ia-chat-box-text-color: #cecfd1;--ia-chat-bg-color: #1e293b;--ia-chat-bg-sidebar: #1e293b;--ia-chat-textarea-bg-color: #212535;--ia-message-box-bg-color: #cbd5e1;--ia-message-user-color: #0f233f}.ia-chat-page-container{height:100%;width:100%;position:relative;background-color:var(--ia-chat-bg-color);display:flex}
2
- `,document.head.appendChild(Bt);const qn={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function Dn(t,e){return p.openBlock(),p.createElementBlock("svg",qn,e[0]||(e[0]=[p.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.857 3h6.286c1.084 0 1.958 0 2.666.058.729.06 1.369.185 1.961.487a5 5 0 0 1 2.185 2.185c.302.592.428 1.233.487 1.961.058.708.058 1.582.058 2.666v3.286c0 1.084 0 1.958-.058 2.666-.06.729-.185 1.369-.487 1.961a5 5 0 0 1-2.185 2.185c-.592.302-1.232.428-1.961.487C17.1 21 16.227 21 15.143 21H8.857c-1.084 0-1.958 0-2.666-.058-.728-.06-1.369-.185-1.96-.487a5 5 0 0 1-2.186-2.185c-.302-.592-.428-1.232-.487-1.961C1.5 15.6 1.5 14.727 1.5 13.643v-3.286c0-1.084 0-1.958.058-2.666.06-.728.185-1.369.487-1.96A5 5 0 0 1 4.23 3.544c.592-.302 1.233-.428 1.961-.487C6.9 3 7.773 3 8.857 3M6.354 5.051c-.605.05-.953.142-1.216.276a3 3 0 0 0-1.311 1.311c-.134.263-.226.611-.276 1.216-.05.617-.051 1.41-.051 2.546v3.2c0 1.137 0 1.929.051 2.546.05.605.142.953.276 1.216a3 3 0 0 0 1.311 1.311c.263.134.611.226 1.216.276.617.05 1.41.051 2.546.051h.6V5h-.6c-1.137 0-1.929 0-2.546.051M11.5 5v14h3.6c1.137 0 1.929 0 2.546-.051.605-.05.953-.142 1.216-.276a3 3 0 0 0 1.311-1.311c.134-.263.226-.611.276-1.216.05-.617.051-1.41.051-2.546v-3.2c0-1.137 0-1.929-.051-2.546-.05-.605-.142-.953-.276-1.216a3 3 0 0 0-1.311-1.311c-.263-.134-.611-.226-1.216-.276C17.029 5.001 16.236 5 15.1 5zM5 8.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1M5 12a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1","clip-rule":"evenodd"},null,-1)]))}const Sn={render:Dn},Tn=["title"],Rn=p.defineComponent({__name:"SidebarButton",props:{title:{}},emits:["click"],setup(t,{emit:e}){const r=t,n=e;return(o,s)=>(p.openBlock(),p.createElementBlock("button",{class:"ia-sidebar-btn",title:r.title,onClick:s[0]||(s[0]=c=>n("click"))},[p.createVNode(p.unref(Sn))],8,Tn))}}),z=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r},Ft=z(Rn,[["__scopeId","data-v-b67a4907"]]),Ln={},Nn={class:"ia-dots-loader"};function Bn(t,e){return p.openBlock(),p.createElementBlock("div",Nn)}const Fn=z(Ln,[["render",Bn],["__scopeId","data-v-b3e877da"]]),In={class:"ia-chat-message-container"},Mn=z(p.defineComponent({__name:"ChatMessage",props:{message:{}},setup(t){const e=t;return(r,n)=>(p.openBlock(),p.createElementBlock("div",In,p.toDisplayString(e.message.message),1))}}),[["__scopeId","data-v-590c91ba"]]);function On(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Vn(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var R={},It={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ge=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ce={},Mt={};function Pn(t){var e,r,n=Mt[t];if(n)return n;for(n=Mt[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)n[t.charCodeAt(e)]=t[e];return n}function ye(t,e,r){var n,o,s,c,i,a="";for(typeof e!="string"&&(r=e,e=ye.defaultChars),typeof r>"u"&&(r=!0),i=Pn(e),n=0,o=t.length;n<o;n++){if(s=t.charCodeAt(n),r&&s===37&&n+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(n+1,n+3))){a+=t.slice(n,n+3),n+=2;continue}if(s<128){a+=i[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<o&&(c=t.charCodeAt(n+1),c>=56320&&c<=57343)){a+=encodeURIComponent(t[n]+t[n+1]),n++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[n])}return a}ye.defaultChars=";/?:@&=+$,-_.!~*'()#",ye.componentChars="-_.!~*'()";var Un=ye,Ot={};function zn(t){var e,r,n=Ot[t];if(n)return n;for(n=Ot[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),n.push(r);for(e=0;e<t.length;e++)r=t.charCodeAt(e),n[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}function we(t,e){var r;return typeof e!="string"&&(e=we.defaultChars),r=zn(e),t.replace(/(%[a-f0-9]{2})+/gi,function(n){var o,s,c,i,a,l,u,f="";for(o=0,s=n.length;o<s;o+=3){if(c=parseInt(n.slice(o+1,o+3),16),c<128){f+=r[c];continue}if((c&224)===192&&o+3<s&&(i=parseInt(n.slice(o+4,o+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?f+="��":f+=String.fromCharCode(u),o+=3;continue}if((c&240)===224&&o+6<s&&(i=parseInt(n.slice(o+4,o+6),16),a=parseInt(n.slice(o+7,o+9),16),(i&192)===128&&(a&192)===128)){u=c<<12&61440|i<<6&4032|a&63,u<2048||u>=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((c&248)===240&&o+9<s&&(i=parseInt(n.slice(o+4,o+6),16),a=parseInt(n.slice(o+7,o+9),16),l=parseInt(n.slice(o+10,o+12),16),(i&192)===128&&(a&192)===128&&(l&192)===128)){u=c<<18&1835008|i<<12&258048|a<<6&4032|l&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}we.defaultChars=";/?:@&=+$,#",we.componentChars="";var $n=we,Hn=function(e){var r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r};function Ee(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var jn=/^([a-z0-9.+-]+:)/i,Gn=/:[0-9]*$/,Zn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Jn=["<",">",'"',"`"," ","\r",`
4
- `," "],Wn=["{","}","|","\\","^","`"].concat(Jn),Kn=["'"].concat(Wn),Vt=["%","/","?",";","#"].concat(Kn),Pt=["/","?","#"],Yn=255,Ut=/^[+a-z0-9A-Z_-]{0,63}$/,Qn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,zt={javascript:!0,"javascript:":!0},$t={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xn(t,e){if(t&&t instanceof Ee)return t;var r=new Ee;return r.parse(t,e),r}Ee.prototype.parse=function(t,e){var r,n,o,s,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var a=Zn.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=jn.exec(i);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(l&&zt[l])&&(i=i.substr(2),this.slashes=!0)),!zt[l]&&(c||l&&!$t[l])){var u=-1;for(r=0;r<Pt.length;r++)s=i.indexOf(Pt[r]),s!==-1&&(u===-1||s<u)&&(u=s);var f,d;for(u===-1?d=i.lastIndexOf("@"):d=i.lastIndexOf("@",u),d!==-1&&(f=i.slice(0,d),i=i.slice(d+1),this.auth=f),u=-1,r=0;r<Vt.length;r++)s=i.indexOf(Vt[r]),s!==-1&&(u===-1||s<u)&&(u=s);u===-1&&(u=i.length),i[u-1]===":"&&u--;var h=i.slice(0,u);i=i.slice(u),this.parseHost(h),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var k=this.hostname.split(/\./);for(r=0,n=k.length;r<n;r++){var b=k[r];if(b&&!b.match(Ut)){for(var x="",_=0,C=b.length;_<C;_++)b.charCodeAt(_)>127?x+="x":x+=b[_];if(!x.match(Ut)){var q=k.slice(0,r),A=k.slice(r+1),y=b.match(Qn);y&&(q.push(y[1]),A.unshift(y[2])),A.length&&(i=A.join(".")+i),this.hostname=q.join(".");break}}}}this.hostname.length>Yn&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var S=i.indexOf("#");S!==-1&&(this.hash=i.substr(S),i=i.slice(0,S));var L=i.indexOf("?");return L!==-1&&(this.search=i.substr(L),i=i.slice(0,L)),i&&(this.pathname=i),$t[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ee.prototype.parseHost=function(t){var e=Gn.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var eo=Xn;ce.encode=Un,ce.decode=$n,ce.format=Hn,ce.parse=eo;var ee={},Ze,Ht;function jt(){return Ht||(Ht=1,Ze=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ze}var Je,Gt;function Zt(){return Gt||(Gt=1,Je=/[\0-\x1F\x7F-\x9F]/),Je}var We,Jt;function to(){return Jt||(Jt=1,We=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),We}var Ke,Wt;function Kt(){return Wt||(Wt=1,Ke=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ke}var Yt;function ro(){return Yt||(Yt=1,ee.Any=jt(),ee.Cc=Zt(),ee.Cf=to(),ee.P=Ge,ee.Z=Kt()),ee}(function(t){function e(v){return Object.prototype.toString.call(v)}function r(v){return e(v)==="[object String]"}var n=Object.prototype.hasOwnProperty;function o(v,w){return n.call(v,w)}function s(v){var w=Array.prototype.slice.call(arguments,1);return w.forEach(function(E){if(E){if(typeof E!="object")throw new TypeError(E+"must be object");Object.keys(E).forEach(function(j){v[j]=E[j]})}}),v}function c(v,w,E){return[].concat(v.slice(0,w),E,v.slice(w+1))}function i(v){return!(v>=55296&&v<=57343||v>=64976&&v<=65007||(v&65535)===65535||(v&65535)===65534||v>=0&&v<=8||v===11||v>=14&&v<=31||v>=127&&v<=159||v>1114111)}function a(v){if(v>65535){v-=65536;var w=55296+(v>>10),E=56320+(v&1023);return String.fromCharCode(w,E)}return String.fromCharCode(v)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(l.source+"|"+u.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,h=It;function g(v,w){var E;return o(h,w)?h[w]:w.charCodeAt(0)===35&&d.test(w)&&(E=w[1].toLowerCase()==="x"?parseInt(w.slice(2),16):parseInt(w.slice(1),10),i(E))?a(E):v}function k(v){return v.indexOf("\\")<0?v:v.replace(l,"$1")}function b(v){return v.indexOf("\\")<0&&v.indexOf("&")<0?v:v.replace(f,function(w,E,j){return E||g(w,j)})}var x=/[&<>"]/,_=/[&<>"]/g,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function q(v){return C[v]}function A(v){return x.test(v)?v.replace(_,q):v}var y=/[.?*+^$[\]\\(){}|-]/g;function S(v){return v.replace(y,"\\$&")}function L(v){switch(v){case 9:case 32:return!0}return!1}function B(v){if(v>=8192&&v<=8202)return!0;switch(v){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=Ge;function U(v){return T.test(v)}function V(v){switch(v){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(v){return v=v.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(v=v.replace(/ẞ/g,"ß")),v.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=ce,t.lib.ucmicro=ro(),t.assign=s,t.isString=r,t.has=o,t.unescapeMd=k,t.unescapeAll=b,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=A,t.arrayReplaceAt=c,t.isSpace=L,t.isWhiteSpace=B,t.isMdAsciiPunct=V,t.isPunctChar=U,t.escapeRE=S,t.normalizeReference=K})(R);var Ce={},no=function(e,r,n){var o,s,c,i,a=-1,l=e.posMax,u=e.pos;for(e.pos=r+1,o=1;e.pos<l;){if(c=e.src.charCodeAt(e.pos),c===93&&(o--,o===0)){s=!0;break}if(i=e.pos,e.md.inline.skipToken(e),c===91){if(i===e.pos-1)o++;else if(n)return e.pos=u,-1}}return s&&(a=e.pos),e.pos=u,a},Qt=R.unescapeAll,oo=function(e,r,n){var o,s,c=r,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(c)===60){for(c++;c<n;){if(o=e.charCodeAt(c),o===10||o===60)return i;if(o===62)return i.pos=c+1,i.str=Qt(e.slice(r+1,c)),i.ok=!0,i;if(o===92&&c+1<n){c+=2;continue}c++}return i}for(s=0;c<n&&(o=e.charCodeAt(c),!(o===32||o<32||o===127));){if(o===92&&c+1<n){if(e.charCodeAt(c+1)===32)break;c+=2;continue}if(o===40&&(s++,s>32))return i;if(o===41){if(s===0)break;s--}c++}return r===c||s!==0||(i.str=Qt(e.slice(r,c)),i.pos=c,i.ok=!0),i},so=R.unescapeAll,co=function(e,r,n){var o,s,c=0,i=r,a={ok:!1,pos:0,lines:0,str:""};if(i>=n||(s=e.charCodeAt(i),s!==34&&s!==39&&s!==40))return a;for(i++,s===40&&(s=41);i<n;){if(o=e.charCodeAt(i),o===s)return a.pos=i+1,a.lines=c,a.str=so(e.slice(r+1,i)),a.ok=!0,a;if(o===40&&s===41)return a;o===10?c++:o===92&&i+1<n&&(i++,e.charCodeAt(i)===10&&c++),i++}return a};Ce.parseLinkLabel=no,Ce.parseLinkDestination=oo,Ce.parseLinkTitle=co;var io=R.assign,ao=R.unescapeAll,te=R.escapeHtml,G={};G.code_inline=function(t,e,r,n,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+te(s.content)+"</code>"},G.code_block=function(t,e,r,n,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+te(t[e].content)+`</code></pre>
5
- `},G.fence=function(t,e,r,n,o){var s=t[e],c=s.info?ao(s.info).trim():"",i="",a="",l,u,f,d,h;return c&&(f=c.split(/(\s+)/g),i=f[0],a=f.slice(2).join("")),r.highlight?l=r.highlight(s.content,i,a)||te(s.content):l=te(s.content),l.indexOf("<pre")===0?l+`
6
- `:c?(u=s.attrIndex("class"),d=s.attrs?s.attrs.slice():[],u<0?d.push(["class",r.langPrefix+i]):(d[u]=d[u].slice(),d[u][1]+=" "+r.langPrefix+i),h={attrs:d},"<pre><code"+o.renderAttrs(h)+">"+l+`</code></pre>
1
+ (function(Y,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],p):(Y=typeof globalThis<"u"?globalThis:Y||self,p(Y.ChatIA={},Y.Vue))})(this,function(Y,p){"use strict";var Ft=document.createElement("style");Ft.textContent=`.ia-sidebar-btn[data-v-b67a4907]{all:unset;padding:.15rem;width:20px;height:20px;border-radius:100%}.ia-sidebar-btn[data-v-b67a4907] svg[data-v-b67a4907]{fill:var(--ia-chat-box-text-color);width:100%;height:100%}.ia-sidebar-btn[data-v-b67a4907][data-v-b67a4907]:hover{cursor:pointer;box-shadow:0 0 15px 0 var(--ia-chat-box-shadow-color)}.ia-dots-loader[data-v-b3e877da]{width:30px;aspect-ratio:2;--_g: no-repeat radial-gradient(circle closest-side, #f28b0c 90%, #0000);background:var(--_g) 0% 50%,var(--_g) 50% 50%,var(--_g) 100% 50%;background-size:calc(100% / 3) 50%;animation:l3-b3e877da 1s infinite linear}@keyframes l3-b3e877da{20%{background-position:0% 0%,50% 50%,100% 50%}40%{background-position:0% 100%,50% 0%,100% 50%}60%{background-position:0% 50%,50% 100%,100% 0%}80%{background-position:0% 50%,50% 50%,100% 100%}}.ia-chat-message-container[data-v-590c91ba]{color:var(--ia-message-user-color);overflow-wrap:break-word;margin-top:.75rem;margin-bottom:.75rem;padding:.75rem 1.25rem;max-width:50%;background-color:var(--ia-message-box-bg-color);margin-left:auto;border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.chat-target-messages[data-v-2abbdc01]{padding:.75rem 0;width:100%}.chat-messages-container[data-v-2abbdc01]{width:100%;display:flex;align-items:center;flex-direction:column;padding:0 .5rem}.ia-chat-bot-message[data-v-2abbdc01]{width:80%;max-width:80%;padding:1.5rem 0;margin-right:auto;border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.ia-chat-bot-message-container[data-v-2abbdc01]{color:var(--ia-chat-box-text-color);overflow-wrap:break-word;margin-top:.75rem;margin-bottom:.75rem;max-width:90%}.ia-chat-message-options-bar[data-v-2abbdc01]{display:flex;gap:10px}.ia-chat-message-like-btn[data-v-2abbdc01]{all:unset;width:25px;height:38px;padding:0 8px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:var(--ia-primary-color);transition:background-color .3s ease}.ia-chat-message-like-btn>svg[data-v-2abbdc01]{width:18px;height:18px;fill:#fff}.ia-chat-message-like-btn[data-v-2abbdc01]:hover{background-color:var(--ia-chat-send-btn-hover-color);cursor:pointer}.ia-chat-message-like-btn.liked[data-v-2abbdc01]{background-color:#2ac72a}.ia-chat-message-like-btn.disliked[data-v-2abbdc01]{background-color:#dc3545}.ia-chat-message-like-btn[data-v-2abbdc01]:active{transform:scale(.9)}.ia-chat-message-like-btn[data-v-2abbdc01]:disabled{cursor:not-allowed;opacity:.5}.ia-loader-relative[data-v-9a82108b]{position:relative}.ia-chat-loading[data-v-9a82108b]{position:absolute;width:100%;height:100%;background:#555555bf;left:0;top:0;z-index:999999;display:flex;align-items:center;justify-content:center}.ia-icon_1[data-v-9a82108b]{animation:rotate-9a82108b 2s linear infinite;height:180px}@keyframes rotate-9a82108b{to{transform:rotate(-360deg)}}.ia-icon_2[data-v-9a82108b]{width:115px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ia-message-loader[data-v-f96b52cc]{display:flex;align-items:center;justify-content:center;position:absolute;top:.625rem;left:50%}.msg-loader[data-v-f96b52cc]{width:40px;padding:8px;aspect-ratio:1;border-radius:50%;background:var(--ia-primary-color);--_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:source-out;mask-composite:subtract;animation:l3-f96b52cc 1s infinite linear}@keyframes l3-f96b52cc{to{transform:rotate(1turn)}}.ia-chat-history-item[data-v-8aa25cf5]{width:100%;display:flex;align-items:center;justify-content:space-between}.ia-chat-history-item-btn[data-v-8aa25cf5]{all:unset;padding:1rem;width:100%;font-size:14px;font-weight:500;font-family:var(--ia-chat-font-family);color:var(--ia-chat-box-text-color);cursor:pointer;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ia-chat-history-item-btn[data-v-8aa25cf5][data-v-8aa25cf5]:hover{background-color:var(--ia-chat-box-hover-color)}.ia-chat-delete-item-btn[data-v-8aa25cf5]{all:unset;padding:.75rem;cursor:pointer;width:20px;height:20px}.ia-chat-delete-item-btn[data-v-8aa25cf5] svg[data-v-8aa25cf5]{width:15px;height:15px;fill:var(--ia-chat-delete-btn-color)}.ia-chat-delete-item-btn[data-v-8aa25cf5][data-v-8aa25cf5]:hover{background-color:var(--ia-chat-delete-btn-hover-color)}.ia-chat-history-container[data-v-30860a69]{display:flex;flex-direction:column;padding:.75rem 0}.ia-chat-history-item-active[data-v-30860a69]{background-color:var(--ia-chat-item-active-bg-color)}.ia-sidebar-btn[data-v-41ce848f]{all:unset;padding:.15rem;width:20px;height:20px;border-radius:100%}.ia-sidebar-btn svg[data-v-41ce848f]{fill:var(--ia-chat-box-text-color);width:100%;height:100%}.ia-sidebar-btn[data-v-41ce848f]:hover{cursor:pointer;box-shadow:0 0 15px 0 var(--ia-chat-box-shadow-color)}.ia-chat-sidebar[data-v-41ce848f]{max-width:280px;width:100%;height:100%;background-color:var(--ia-chat-bg-sidebar);position:relative}.ia-sidebar-header[data-v-41ce848f]{height:65px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:20px 15px}.ia-sidebar-body[data-v-41ce848f]{height:calc(100% - 65px);width:100%;position:relative;overflow-y:auto;overflow-x:hidden;padding:0 15px}.ia-chat-sidebar[data-v-41ce848f]:after{content:"";position:absolute;top:0;right:0;height:100%;width:2px;background-color:var(--ia-chat-sidebar-border-color)}.ia-doc-header[data-v-b52ccce3]{height:40px;width:100%;border-bottom:2px solid var(--ia-chat-sidebar-border-color);display:flex;justify-content:space-between;align-items:center;padding:0 20px}.ia-doc-header p[data-v-b52ccce3]{font-size:20px;font-weight:700;color:var(--ia-chat-box-text-color)}.close-btn[data-v-b52ccce3]{background:none;border:none;font-size:16px;cursor:pointer;color:#000}.document-list[data-v-b52ccce3]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:20px}.document-item[data-v-b52ccce3]{width:calc(50% - 10px);display:flex;align-items:center}.document-button[data-v-b52ccce3]{display:flex;align-items:left;margin-bottom:5px;justify-content:left;padding:8px;width:100%;background-color:#f1f1f1;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s}.document-button[data-v-b52ccce3]>svg[data-v-b52ccce3]{margin-right:10px;width:18px;height:18px;fill:#ee2828}.document-item.selected .document-button[data-v-b52ccce3]{background-color:var(--ia-primary-color);color:#fff}.document-button[data-v-b52ccce3]:hover{background-color:#ddd}.pdf-icon[data-v-b52ccce3]{width:20px;height:20px;margin-right:10px}.confirm-btn[data-v-b52ccce3]{margin-top:20px;padding:10px 20px;background-color:var(--ia-primary-color);color:#fff;border:none;border-radius:4px;cursor:pointer}.confirm-btn[data-v-b52ccce3]>svg[data-v-b52ccce3]{margin-right:8px;width:18px;height:18px;fill:#fff}.confirm-btn[data-v-b52ccce3]:hover{background-color:var(--ia-chat-send-btn-hover-color)}@media (max-width: 768px){.document-item[data-v-b52ccce3]{width:100%}}.modal-overlay[data-v-b52ccce3]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center}.modal-content[data-v-b52ccce3]{background:#fff;padding:20px;border-radius:8px;width:450px;box-shadow:0 4px 6px #0000001a;text-align:center}.ia-message-loader[data-v-b52ccce3]{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.seleccionados[data-v-b52ccce3]{color:var(--ia-chat-box-text-color);font-size:12px;font-family:var(--ia-chat-font-family);margin:0;padding:0;text-align:center}.msg-loader[data-v-b52ccce3]{width:40px;padding:8px;aspect-ratio:1;border-radius:50%;background:#db9b0f;--_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;-webkit-mask:var(--_m);mask:var(--_m);-webkit-mask-composite:source-out;mask-composite:subtract;animation:l3-b52ccce3 1s infinite linear}@keyframes l3-b52ccce3{to{transform:rotate(1turn)}}.ia-chat-container[data-v-2493760c]{flex:1;transition:all .3s ease}.ia-chat-header[data-v-2493760c]{height:65px;width:100%;border-bottom:2px solid var(--ia-chat-sidebar-border-color);display:flex;align-items:center;justify-content:space-between;padding:0 20px}.ia-chat-header p[data-v-2493760c]{font-size:20px;font-weight:700;color:var(--ia-chat-box-text-color)}.ia-chat-body-container[data-v-2493760c]{width:100%;height:calc(100% - 65px);display:flex;align-items:center;justify-content:center;padding:0 2rem;position:relative}.ia-chat-body[data-v-2493760c]{height:100%;max-width:850px;padding-top:1rem;display:flex;align-items:center;justify-content:end;flex-direction:column;border-left-width:1px;border-right-width:1px;border-color:#d1d5db;flex-grow:1;position:relative}.ia-chat-body-messages[data-v-2493760c]{width:100%;overflow-y:auto;margin-top:auto}.ia-chat-empty-container[data-v-2493760c]{height:calc(100vh - 250px);display:flex;flex-direction:column;gap:1rem;align-items:center;justify-content:center}.ia-chat-empty-container>p[data-v-2493760c]{opacity:.75;color:var(--ia-chat-box-text-color);font-family:var(--ia-chat-font-family);margin:0;padding:0}.ia-chat-empty-container svg[data-v-2493760c]{opacity:.75;width:65px;height:65px}.ia-chat-footer[data-v-2493760c]{padding:.5rem 0;width:100%;position:sticky;bottom:-.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}.ia-chat-footer>p[data-v-2493760c]{color:var(--ia-chat-box-text-color);font-size:12px;font-family:var(--ia-chat-font-family);margin:0;padding:0;text-align:center}.ia-chat-text-area-container[data-v-2493760c]{width:100%;display:flex;align-items:end;gap:.25rem}.ia-chat-text-area[data-v-2493760c]{width:100%;min-height:44px;background-color:var(--ia-chat-textarea-bg-color);resize:none;border:1px solid var(--ia-primary-color);outline:none;font-size:16px;font-family:var(--ia-chat-font-family);color:var(--ia-chat-box-text-color);padding:.75rem;overflow:hidden;border-radius:4px}.ia-chat-page-send-btn[data-v-2493760c]{all:unset;width:30px;height:44px;padding:0 8px;margin:0 10px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:var(--ia-primary-color)}.ia-chat-page-send-btn>svg[data-v-2493760c]{width:18px;height:18px;fill:#fff}.ia-chat-page-send-btn[data-v-2493760c]:hover{background-color:var(--ia-chat-send-btn-hover-color);cursor:pointer}.ia-chat-body-messages[data-v-2493760c]::-webkit-scrollbar{width:10px}.ia-chat-body-messages[data-v-2493760c]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.ia-chat-body-messages[data-v-2493760c]::-webkit-scrollbar-thumb{background-color:var(--ia-primary-color);border-radius:10px;border:1px solid #f1f1f1}.ia-chat-body-messages[data-v-2493760c]::-webkit-scrollbar-thumb:hover{background-color:var(--ia-primary-color)}.ia-chat-reset *,.ia-chat-page-container *,.ia-chat-page-container.ia-chat-page{box-sizing:border-box;margin:0;padding:0}:root{--ia-primary-color: #f28b0c;--ia-chat-box-shadow-color: #ccc;--ia-chat-box-text-color: #4d4d4d;--ia-chat-bg-color: #fff;--ia-chat-bg-sidebar: #f4f4f5;--ia-chat-sidebar-border-color: #e4e4e7;--ia-chat-item-active-bg-color: #d6d6d6;--ia-chat-box-hover-color: #b9b9b92d;--ia-chat-delete-btn-color: #3f3c3c;--ia-chat-delete-btn-hover-color: #fdfdfdf5;--ia-chat-font-family: Roboto, Arial, Helvetica, sans-serif;--ia-chat-message-font-size: 14px;--ia-chat-message-font-weight: 400;--ia-message-box-bg-color: #fce2c2;--ia-message-user-color: #4b5563;--ia-chat-message-padding: 10px;--ia-chat-textarea-bg-color: #f3f3f3;--ia-chat-send-btn-hover-color: rgba(242, 139, 12, .8)}.ia-chat-reset{position:relative}.dark{height:100%;width:100%;--ia-chat-box-shadow-color: #4d4d4d;--ia-chat-box-text-color: #cecfd1;--ia-chat-bg-color: #1e293b;--ia-chat-bg-sidebar: #1e293b;--ia-chat-textarea-bg-color: #212535;--ia-message-box-bg-color: #cbd5e1;--ia-message-user-color: #0f233f}.ia-chat-page-container{height:100%;width:100%;position:relative;background-color:var(--ia-chat-bg-color);display:flex}.ia-dots-loader-container{padding:0 1.25rem;background-color:var(--ia-message-box-bg-color);border-radius:8px;padding:.5rem;width:50px;display:flex;align-items:center;justify-content:center}.header-title{font-size:13px;font-weight:700;padding:7px}
2
+ `,document.head.appendChild(Ft);const Sn={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function Tn(t,e){return p.openBlock(),p.createElementBlock("svg",Sn,e[0]||(e[0]=[p.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.857 3h6.286c1.084 0 1.958 0 2.666.058.729.06 1.369.185 1.961.487a5 5 0 0 1 2.185 2.185c.302.592.428 1.233.487 1.961.058.708.058 1.582.058 2.666v3.286c0 1.084 0 1.958-.058 2.666-.06.729-.185 1.369-.487 1.961a5 5 0 0 1-2.185 2.185c-.592.302-1.232.428-1.961.487C17.1 21 16.227 21 15.143 21H8.857c-1.084 0-1.958 0-2.666-.058-.728-.06-1.369-.185-1.96-.487a5 5 0 0 1-2.186-2.185c-.302-.592-.428-1.232-.487-1.961C1.5 15.6 1.5 14.727 1.5 13.643v-3.286c0-1.084 0-1.958.058-2.666.06-.728.185-1.369.487-1.96A5 5 0 0 1 4.23 3.544c.592-.302 1.233-.428 1.961-.487C6.9 3 7.773 3 8.857 3M6.354 5.051c-.605.05-.953.142-1.216.276a3 3 0 0 0-1.311 1.311c-.134.263-.226.611-.276 1.216-.05.617-.051 1.41-.051 2.546v3.2c0 1.137 0 1.929.051 2.546.05.605.142.953.276 1.216a3 3 0 0 0 1.311 1.311c.263.134.611.226 1.216.276.617.05 1.41.051 2.546.051h.6V5h-.6c-1.137 0-1.929 0-2.546.051M11.5 5v14h3.6c1.137 0 1.929 0 2.546-.051.605-.05.953-.142 1.216-.276a3 3 0 0 0 1.311-1.311c.134-.263.226-.611.276-1.216.05-.617.051-1.41.051-2.546v-3.2c0-1.137 0-1.929-.051-2.546-.05-.605-.142-.953-.276-1.216a3 3 0 0 0-1.311-1.311c-.263-.134-.611-.226-1.216-.276C17.029 5.001 16.236 5 15.1 5zM5 8.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1M5 12a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1","clip-rule":"evenodd"},null,-1)]))}const Rn={render:Tn},Ln=["title"],Bn=p.defineComponent({__name:"SidebarButton",props:{title:{}},emits:["click"],setup(t,{emit:e}){const r=t,n=e;return(o,s)=>(p.openBlock(),p.createElementBlock("button",{class:"ia-sidebar-btn",title:r.title,onClick:s[0]||(s[0]=c=>n("click"))},[p.createVNode(p.unref(Rn))],8,Ln))}}),z=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r},It=z(Bn,[["__scopeId","data-v-b67a4907"]]),Nn={},Fn={class:"ia-dots-loader"};function In(t,e){return p.openBlock(),p.createElementBlock("div",Fn)}const Mt=z(Nn,[["render",In],["__scopeId","data-v-b3e877da"]]),Mn={class:"ia-chat-message-container"},On=z(p.defineComponent({__name:"ChatMessage",props:{message:{}},setup(t){const e=t;return(r,n)=>(p.openBlock(),p.createElementBlock("div",Mn,p.toDisplayString(e.message.message),1))}}),[["__scopeId","data-v-590c91ba"]]);function Vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Pn(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var R={},Ot={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ze=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,ce={},Vt={};function Un(t){var e,r,n=Vt[t];if(n)return n;for(n=Vt[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)n[t.charCodeAt(e)]=t[e];return n}function _e(t,e,r){var n,o,s,c,i,a="";for(typeof e!="string"&&(r=e,e=_e.defaultChars),typeof r>"u"&&(r=!0),i=Un(e),n=0,o=t.length;n<o;n++){if(s=t.charCodeAt(n),r&&s===37&&n+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(n+1,n+3))){a+=t.slice(n,n+3),n+=2;continue}if(s<128){a+=i[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<o&&(c=t.charCodeAt(n+1),c>=56320&&c<=57343)){a+=encodeURIComponent(t[n]+t[n+1]),n++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[n])}return a}_e.defaultChars=";/?:@&=+$,-_.!~*'()#",_e.componentChars="-_.!~*'()";var zn=_e,Pt={};function $n(t){var e,r,n=Pt[t];if(n)return n;for(n=Pt[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),n.push(r);for(e=0;e<t.length;e++)r=t.charCodeAt(e),n[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}function we(t,e){var r;return typeof e!="string"&&(e=we.defaultChars),r=$n(e),t.replace(/(%[a-f0-9]{2})+/gi,function(n){var o,s,c,i,a,l,u,d="";for(o=0,s=n.length;o<s;o+=3){if(c=parseInt(n.slice(o+1,o+3),16),c<128){d+=r[c];continue}if((c&224)===192&&o+3<s&&(i=parseInt(n.slice(o+4,o+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?d+="��":d+=String.fromCharCode(u),o+=3;continue}if((c&240)===224&&o+6<s&&(i=parseInt(n.slice(o+4,o+6),16),a=parseInt(n.slice(o+7,o+9),16),(i&192)===128&&(a&192)===128)){u=c<<12&61440|i<<6&4032|a&63,u<2048||u>=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),o+=6;continue}if((c&248)===240&&o+9<s&&(i=parseInt(n.slice(o+4,o+6),16),a=parseInt(n.slice(o+7,o+9),16),l=parseInt(n.slice(o+10,o+12),16),(i&192)===128&&(a&192)===128&&(l&192)===128)){u=c<<18&1835008|i<<12&258048|a<<6&4032|l&63,u<65536||u>1114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}d+="�"}return d})}we.defaultChars=";/?:@&=+$,#",we.componentChars="";var Hn=we,jn=function(e){var r="";return r+=e.protocol||"",r+=e.slashes?"//":"",r+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?r+="["+e.hostname+"]":r+=e.hostname||"",r+=e.port?":"+e.port:"",r+=e.pathname||"",r+=e.search||"",r+=e.hash||"",r};function Ee(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Gn=/^([a-z0-9.+-]+:)/i,Zn=/:[0-9]*$/,Jn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Wn=["<",">",'"',"`"," ","\r",`
4
+ `," "],Kn=["{","}","|","\\","^","`"].concat(Wn),Yn=["'"].concat(Kn),Ut=["%","/","?",";","#"].concat(Yn),zt=["/","?","#"],Qn=255,$t=/^[+a-z0-9A-Z_-]{0,63}$/,Xn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ht={javascript:!0,"javascript:":!0},jt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function eo(t,e){if(t&&t instanceof Ee)return t;var r=new Ee;return r.parse(t,e),r}Ee.prototype.parse=function(t,e){var r,n,o,s,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var a=Jn.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=Gn.exec(i);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(l&&Ht[l])&&(i=i.substr(2),this.slashes=!0)),!Ht[l]&&(c||l&&!jt[l])){var u=-1;for(r=0;r<zt.length;r++)s=i.indexOf(zt[r]),s!==-1&&(u===-1||s<u)&&(u=s);var d,f;for(u===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",u),f!==-1&&(d=i.slice(0,f),i=i.slice(f+1),this.auth=d),u=-1,r=0;r<Ut.length;r++)s=i.indexOf(Ut[r]),s!==-1&&(u===-1||s<u)&&(u=s);u===-1&&(u=i.length),i[u-1]===":"&&u--;var h=i.slice(0,u);i=i.slice(u),this.parseHost(h),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var k=this.hostname.split(/\./);for(r=0,n=k.length;r<n;r++){var b=k[r];if(b&&!b.match($t)){for(var y="",v=0,C=b.length;v<C;v++)b.charCodeAt(v)>127?y+="x":y+=b[v];if(!y.match($t)){var q=k.slice(0,r),A=k.slice(r+1),_=b.match(Xn);_&&(q.push(_[1]),A.unshift(_[2])),A.length&&(i=A.join(".")+i),this.hostname=q.join(".");break}}}}this.hostname.length>Qn&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var S=i.indexOf("#");S!==-1&&(this.hash=i.substr(S),i=i.slice(0,S));var L=i.indexOf("?");return L!==-1&&(this.search=i.substr(L),i=i.slice(0,L)),i&&(this.pathname=i),jt[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ee.prototype.parseHost=function(t){var e=Zn.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var to=eo;ce.encode=zn,ce.decode=Hn,ce.format=jn,ce.parse=to;var ee={},Je,Gt;function Zt(){return Gt||(Gt=1,Je=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Je}var We,Jt;function Wt(){return Jt||(Jt=1,We=/[\0-\x1F\x7F-\x9F]/),We}var Ke,Kt;function ro(){return Kt||(Kt=1,Ke=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Ke}var Ye,Yt;function Qt(){return Yt||(Yt=1,Ye=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ye}var Xt;function no(){return Xt||(Xt=1,ee.Any=Zt(),ee.Cc=Wt(),ee.Cf=ro(),ee.P=Ze,ee.Z=Qt()),ee}(function(t){function e(x){return Object.prototype.toString.call(x)}function r(x){return e(x)==="[object String]"}var n=Object.prototype.hasOwnProperty;function o(x,w){return n.call(x,w)}function s(x){var w=Array.prototype.slice.call(arguments,1);return w.forEach(function(E){if(E){if(typeof E!="object")throw new TypeError(E+"must be object");Object.keys(E).forEach(function(j){x[j]=E[j]})}}),x}function c(x,w,E){return[].concat(x.slice(0,w),E,x.slice(w+1))}function i(x){return!(x>=55296&&x<=57343||x>=64976&&x<=65007||(x&65535)===65535||(x&65535)===65534||x>=0&&x<=8||x===11||x>=14&&x<=31||x>=127&&x<=159||x>1114111)}function a(x){if(x>65535){x-=65536;var w=55296+(x>>10),E=56320+(x&1023);return String.fromCharCode(w,E)}return String.fromCharCode(x)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(l.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,h=Ot;function g(x,w){var E;return o(h,w)?h[w]:w.charCodeAt(0)===35&&f.test(w)&&(E=w[1].toLowerCase()==="x"?parseInt(w.slice(2),16):parseInt(w.slice(1),10),i(E))?a(E):x}function k(x){return x.indexOf("\\")<0?x:x.replace(l,"$1")}function b(x){return x.indexOf("\\")<0&&x.indexOf("&")<0?x:x.replace(d,function(w,E,j){return E||g(w,j)})}var y=/[&<>"]/,v=/[&<>"]/g,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function q(x){return C[x]}function A(x){return y.test(x)?x.replace(v,q):x}var _=/[.?*+^$[\]\\(){}|-]/g;function S(x){return x.replace(_,"\\$&")}function L(x){switch(x){case 9:case 32:return!0}return!1}function N(x){if(x>=8192&&x<=8202)return!0;switch(x){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=Ze;function U(x){return T.test(x)}function V(x){switch(x){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(x){return x=x.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(x=x.replace(/ẞ/g,"ß")),x.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=ce,t.lib.ucmicro=no(),t.assign=s,t.isString=r,t.has=o,t.unescapeMd=k,t.unescapeAll=b,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=A,t.arrayReplaceAt=c,t.isSpace=L,t.isWhiteSpace=N,t.isMdAsciiPunct=V,t.isPunctChar=U,t.escapeRE=S,t.normalizeReference=K})(R);var Ce={},oo=function(e,r,n){var o,s,c,i,a=-1,l=e.posMax,u=e.pos;for(e.pos=r+1,o=1;e.pos<l;){if(c=e.src.charCodeAt(e.pos),c===93&&(o--,o===0)){s=!0;break}if(i=e.pos,e.md.inline.skipToken(e),c===91){if(i===e.pos-1)o++;else if(n)return e.pos=u,-1}}return s&&(a=e.pos),e.pos=u,a},er=R.unescapeAll,so=function(e,r,n){var o,s,c=r,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(c)===60){for(c++;c<n;){if(o=e.charCodeAt(c),o===10||o===60)return i;if(o===62)return i.pos=c+1,i.str=er(e.slice(r+1,c)),i.ok=!0,i;if(o===92&&c+1<n){c+=2;continue}c++}return i}for(s=0;c<n&&(o=e.charCodeAt(c),!(o===32||o<32||o===127));){if(o===92&&c+1<n){if(e.charCodeAt(c+1)===32)break;c+=2;continue}if(o===40&&(s++,s>32))return i;if(o===41){if(s===0)break;s--}c++}return r===c||s!==0||(i.str=er(e.slice(r,c)),i.pos=c,i.ok=!0),i},co=R.unescapeAll,io=function(e,r,n){var o,s,c=0,i=r,a={ok:!1,pos:0,lines:0,str:""};if(i>=n||(s=e.charCodeAt(i),s!==34&&s!==39&&s!==40))return a;for(i++,s===40&&(s=41);i<n;){if(o=e.charCodeAt(i),o===s)return a.pos=i+1,a.lines=c,a.str=co(e.slice(r+1,i)),a.ok=!0,a;if(o===40&&s===41)return a;o===10?c++:o===92&&i+1<n&&(i++,e.charCodeAt(i)===10&&c++),i++}return a};Ce.parseLinkLabel=oo,Ce.parseLinkDestination=so,Ce.parseLinkTitle=io;var ao=R.assign,lo=R.unescapeAll,te=R.escapeHtml,G={};G.code_inline=function(t,e,r,n,o){var s=t[e];return"<code"+o.renderAttrs(s)+">"+te(s.content)+"</code>"},G.code_block=function(t,e,r,n,o){var s=t[e];return"<pre"+o.renderAttrs(s)+"><code>"+te(t[e].content)+`</code></pre>
5
+ `},G.fence=function(t,e,r,n,o){var s=t[e],c=s.info?lo(s.info).trim():"",i="",a="",l,u,d,f,h;return c&&(d=c.split(/(\s+)/g),i=d[0],a=d.slice(2).join("")),r.highlight?l=r.highlight(s.content,i,a)||te(s.content):l=te(s.content),l.indexOf("<pre")===0?l+`
6
+ `:c?(u=s.attrIndex("class"),f=s.attrs?s.attrs.slice():[],u<0?f.push(["class",r.langPrefix+i]):(f[u]=f[u].slice(),f[u][1]+=" "+r.langPrefix+i),h={attrs:f},"<pre><code"+o.renderAttrs(h)+">"+l+`</code></pre>
7
7
  `):"<pre><code"+o.renderAttrs(s)+">"+l+`</code></pre>
8
8
  `},G.image=function(t,e,r,n,o){var s=t[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(t,e,r)},G.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
9
9
  `:`<br>
10
10
  `},G.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
11
11
  `:`<br>
12
12
  `:`
13
- `},G.text=function(t,e){return te(t[e].content)},G.html_block=function(t,e){return t[e].content},G.html_inline=function(t,e){return t[e].content};function ie(){this.rules=io({},G)}ie.prototype.renderAttrs=function(e){var r,n,o;if(!e.attrs)return"";for(o="",r=0,n=e.attrs.length;r<n;r++)o+=" "+te(e.attrs[r][0])+'="'+te(e.attrs[r][1])+'"';return o},ie.prototype.renderToken=function(e,r,n){var o,s="",c=!1,i=e[r];return i.hidden?"":(i.block&&i.nesting!==-1&&r&&e[r-1].hidden&&(s+=`
13
+ `},G.text=function(t,e){return te(t[e].content)},G.html_block=function(t,e){return t[e].content},G.html_inline=function(t,e){return t[e].content};function ie(){this.rules=ao({},G)}ie.prototype.renderAttrs=function(e){var r,n,o;if(!e.attrs)return"";for(o="",r=0,n=e.attrs.length;r<n;r++)o+=" "+te(e.attrs[r][0])+'="'+te(e.attrs[r][1])+'"';return o},ie.prototype.renderToken=function(e,r,n){var o,s="",c=!1,i=e[r];return i.hidden?"":(i.block&&i.nesting!==-1&&r&&e[r-1].hidden&&(s+=`
14
14
  `),s+=(i.nesting===-1?"</":"<")+i.tag,s+=this.renderAttrs(i),i.nesting===0&&n.xhtmlOut&&(s+=" /"),i.block&&(c=!0,i.nesting===1&&r+1<e.length&&(o=e[r+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===i.tag)&&(c=!1))),s+=c?`>
15
15
  `:">",s)},ie.prototype.renderInline=function(t,e,r){for(var n,o="",s=this.rules,c=0,i=t.length;c<i;c++)n=t[c].type,typeof s[n]<"u"?o+=s[n](t,c,e,r,this):o+=this.renderToken(t,c,e);return o},ie.prototype.renderInlineAsText=function(t,e,r){for(var n="",o=0,s=t.length;o<s;o++)t[o].type==="text"?n+=t[o].content:t[o].type==="image"?n+=this.renderInlineAsText(t[o].children,e,r):t[o].type==="softbreak"&&(n+=`
16
- `);return n},ie.prototype.render=function(t,e,r){var n,o,s,c="",i=this.rules;for(n=0,o=t.length;n<o;n++)s=t[n].type,s==="inline"?c+=this.renderInline(t[n].children,e,r):typeof i[s]<"u"?c+=i[s](t,n,e,r,this):c+=this.renderToken(t,n,e,r);return c};var lo=ie;function $(){this.__rules__=[],this.__cache__=null}$.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},$.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),t.__cache__={},e.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))})})},$.prototype.at=function(t,e,r){var n=this.__find__(t),o=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null},$.prototype.before=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},$.prototype.after=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},$.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},$.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!0,r.push(n)},this),this.__cache__=null,r},$.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,e)},$.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!1,r.push(n)},this),this.__cache__=null,r},$.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Ye=$,uo=/\r\n?|\n/g,po=/\0/g,fo=function(e){var r;r=e.src.replace(uo,`
17
- `),r=r.replace(po,"�"),e.src=r},ho=function(e){var r;e.inlineMode?(r=new e.Token("inline","",0),r.content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},mo=function(e){var r=e.tokens,n,o,s;for(o=0,s=r.length;o<s;o++)n=r[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)},go=R.arrayReplaceAt;function bo(t){return/^<a[>\s]/i.test(t)}function ko(t){return/^<\/a\s*>/i.test(t)}var vo=function(e){var r,n,o,s,c,i,a,l,u,f,d,h,g,k,b,x,_=e.tokens,C;if(e.md.options.linkify){for(n=0,o=_.length;n<o;n++)if(!(_[n].type!=="inline"||!e.md.linkify.pretest(_[n].content)))for(s=_[n].children,g=0,r=s.length-1;r>=0;r--){if(i=s[r],i.type==="link_close"){for(r--;s[r].level!==i.level&&s[r].type!=="link_open";)r--;continue}if(i.type==="html_inline"&&(bo(i.content)&&g>0&&g--,ko(i.content)&&g++),!(g>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,C=e.md.linkify.match(u),a=[],h=i.level,d=0,C.length>0&&C[0].index===0&&r>0&&s[r-1].type==="text_special"&&(C=C.slice(1)),l=0;l<C.length;l++)k=C[l].url,b=e.md.normalizeLink(k),e.md.validateLink(b)&&(x=C[l].text,C[l].schema?C[l].schema==="mailto:"&&!/^mailto:/i.test(x)?x=e.md.normalizeLinkText("mailto:"+x).replace(/^mailto:/,""):x=e.md.normalizeLinkText(x):x=e.md.normalizeLinkText("http://"+x).replace(/^http:\/\//,""),f=C[l].index,f>d&&(c=new e.Token("text","",0),c.content=u.slice(d,f),c.level=h,a.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",b]],c.level=h++,c.markup="linkify",c.info="auto",a.push(c),c=new e.Token("text","",0),c.content=x,c.level=h,a.push(c),c=new e.Token("link_close","a",-1),c.level=--h,c.markup="linkify",c.info="auto",a.push(c),d=C[l].lastIndex);d<u.length&&(c=new e.Token("text","",0),c.content=u.slice(d),c.level=h,a.push(c)),_[n].children=s=go(s,r,a)}}}},Xt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xo=/\((c|tm|r)\)/i,_o=/\((c|tm|r)\)/ig,yo={c:"©",r:"®",tm:"™"};function wo(t,e){return yo[e.toLowerCase()]}function Eo(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&(r.content=r.content.replace(_o,wo)),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}function Co(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&Xt.test(r.content)&&(r.content=r.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–")),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}var Ao=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(xo.test(e.tokens[r].content)&&Eo(e.tokens[r].children),Xt.test(e.tokens[r].content)&&Co(e.tokens[r].children))},er=R.isWhiteSpace,tr=R.isPunctChar,rr=R.isMdAsciiPunct,qo=/['"]/,nr=/['"]/g,or="’";function Ae(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function Do(t,e){var r,n,o,s,c,i,a,l,u,f,d,h,g,k,b,x,_,C,q,A,y;for(q=[],r=0;r<t.length;r++){for(n=t[r],a=t[r].level,_=q.length-1;_>=0&&!(q[_].level<=a);_--);if(q.length=_+1,n.type==="text"){o=n.content,c=0,i=o.length;e:for(;c<i&&(nr.lastIndex=c,s=nr.exec(o),!!s);){if(b=x=!0,c=s.index+1,C=s[0]==="'",u=32,s.index-1>=0)u=o.charCodeAt(s.index-1);else for(_=r-1;_>=0&&!(t[_].type==="softbreak"||t[_].type==="hardbreak");_--)if(t[_].content){u=t[_].content.charCodeAt(t[_].content.length-1);break}if(f=32,c<i)f=o.charCodeAt(c);else for(_=r+1;_<t.length&&!(t[_].type==="softbreak"||t[_].type==="hardbreak");_++)if(t[_].content){f=t[_].content.charCodeAt(0);break}if(d=rr(u)||tr(String.fromCharCode(u)),h=rr(f)||tr(String.fromCharCode(f)),g=er(u),k=er(f),k?b=!1:h&&(g||d||(b=!1)),g?x=!1:d&&(k||h||(x=!1)),f===34&&s[0]==='"'&&u>=48&&u<=57&&(x=b=!1),b&&x&&(b=d,x=h),!b&&!x){C&&(n.content=Ae(n.content,s.index,or));continue}if(x){for(_=q.length-1;_>=0&&(l=q[_],!(q[_].level<a));_--)if(l.single===C&&q[_].level===a){l=q[_],C?(A=e.md.options.quotes[2],y=e.md.options.quotes[3]):(A=e.md.options.quotes[0],y=e.md.options.quotes[1]),n.content=Ae(n.content,s.index,y),t[l.token].content=Ae(t[l.token].content,l.pos,A),c+=y.length-1,l.token===r&&(c+=A.length-1),o=n.content,i=o.length,q.length=_;continue e}}b?q.push({token:r,pos:s.index,single:C,level:a}):x&&C&&(n.content=Ae(n.content,s.index,or))}}}}var So=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type!=="inline"||!qo.test(e.tokens[r].content)||Do(e.tokens[r].children,e)},To=function(e){var r,n,o,s,c,i,a=e.tokens;for(r=0,n=a.length;r<n;r++)if(a[r].type==="inline"){for(o=a[r].children,c=o.length,s=0;s<c;s++)o[s].type==="text_special"&&(o[s].type="text");for(s=i=0;s<c;s++)o[s].type==="text"&&s+1<c&&o[s+1].type==="text"?o[s+1].content=o[s].content+o[s+1].content:(s!==i&&(o[i]=o[s]),i++);s!==i&&(o.length=i)}};function ae(t,e,r){this.type=t,this.tag=e,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}ae.prototype.attrIndex=function(e){var r,n,o;if(!this.attrs)return-1;for(r=this.attrs,n=0,o=r.length;n<o;n++)if(r[n][0]===e)return n;return-1},ae.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},ae.prototype.attrSet=function(e,r){var n=this.attrIndex(e),o=[e,r];n<0?this.attrPush(o):this.attrs[n]=o},ae.prototype.attrGet=function(e){var r=this.attrIndex(e),n=null;return r>=0&&(n=this.attrs[r][1]),n},ae.prototype.attrJoin=function(e,r){var n=this.attrIndex(e);n<0?this.attrPush([e,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};var Qe=ae,Ro=Qe;function sr(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}sr.prototype.Token=Ro;var Lo=sr,No=Ye,Xe=[["normalize",fo],["block",ho],["inline",mo],["linkify",vo],["replacements",Ao],["smartquotes",So],["text_join",To]];function et(){this.ruler=new No;for(var t=0;t<Xe.length;t++)this.ruler.push(Xe[t][0],Xe[t][1])}et.prototype.process=function(t){var e,r,n;for(n=this.ruler.getRules(""),e=0,r=n.length;e<r;e++)n[e](t)},et.prototype.State=Lo;var Bo=et,tt=R.isSpace;function rt(t,e){var r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(r,n)}function cr(t){var e=[],r=0,n=t.length,o,s=!1,c=0,i="";for(o=t.charCodeAt(r);r<n;)o===124&&(s?(i+=t.substring(c,r-1),c=r):(e.push(i+t.substring(c,r)),i="",c=r+1)),s=o===92,r++,o=t.charCodeAt(r);return e.push(i+t.substring(c)),e}var Fo=function(e,r,n,o){var s,c,i,a,l,u,f,d,h,g,k,b,x,_,C,q,A,y;if(r+2>n||(u=r+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(i=e.bMarks[u]+e.tShift[u],i>=e.eMarks[u])||(A=e.src.charCodeAt(i++),A!==124&&A!==45&&A!==58)||i>=e.eMarks[u]||(y=e.src.charCodeAt(i++),y!==124&&y!==45&&y!==58&&!tt(y))||A===45&&tt(y))return!1;for(;i<e.eMarks[u];){if(s=e.src.charCodeAt(i),s!==124&&s!==45&&s!==58&&!tt(s))return!1;i++}for(c=rt(e,r+1),f=c.split("|"),g=[],a=0;a<f.length;a++){if(k=f[a].trim(),!k){if(a===0||a===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?g.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?g.push("left"):g.push("")}if(c=rt(e,r).trim(),c.indexOf("|")===-1||e.sCount[r]-e.blkIndent>=4||(f=cr(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),d=f.length,d===0||d!==g.length))return!1;if(o)return!0;for(_=e.parentType,e.parentType="table",q=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),h.map=b=[r,0],h=e.push("thead_open","thead",1),h.map=[r,r+1],h=e.push("tr_open","tr",1),h.map=[r,r+1],a=0;a<f.length;a++)h=e.push("th_open","th",1),g[a]&&(h.attrs=[["style","text-align:"+g[a]]]),h=e.push("inline","",0),h.content=f[a].trim(),h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),u=r+2;u<n&&!(e.sCount[u]<e.blkIndent);u++){for(C=!1,a=0,l=q.length;a<l;a++)if(q[a](e,u,n,!0)){C=!0;break}if(C||(c=rt(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=cr(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===r+2&&(h=e.push("tbody_open","tbody",1),h.map=x=[r+2,0]),h=e.push("tr_open","tr",1),h.map=[u,u+1],a=0;a<d;a++)h=e.push("td_open","td",1),g[a]&&(h.attrs=[["style","text-align:"+g[a]]]),h=e.push("inline","",0),h.content=f[a]?f[a].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return x&&(h=e.push("tbody_close","tbody",-1),x[1]=u),h=e.push("table_close","table",-1),b[1]=u,e.parentType=_,e.line=u,!0},Io=function(e,r,n){var o,s,c;if(e.sCount[r]-e.blkIndent<4)return!1;for(s=o=r+1;o<n;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,c=e.push("code_block","code",0),c.content=e.getLines(r,s,4+e.blkIndent,!1)+`
18
- `,c.map=[r,e.line],!0},Mo=function(e,r,n,o){var s,c,i,a,l,u,f,d=!1,h=e.bMarks[r]+e.tShift[r],g=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||h+3>g||(s=e.src.charCodeAt(h),s!==126&&s!==96)||(l=h,h=e.skipChars(h,s),c=h-l,c<3)||(f=e.src.slice(l,h),i=e.src.slice(h,g),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(a=r;a++,!(a>=n||(h=l=e.bMarks[a]+e.tShift[a],g=e.eMarks[a],h<g&&e.sCount[a]<e.blkIndent));)if(e.src.charCodeAt(h)===s&&!(e.sCount[a]-e.blkIndent>=4)&&(h=e.skipChars(h,s),!(h-l<c)&&(h=e.skipSpaces(h),!(h<g)))){d=!0;break}return c=e.sCount[r],e.line=a+(d?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(r+1,a,c,!0),u.markup=f,u.map=[r,e.line],!0},Oo=R.isSpace,Vo=function(e,r,n,o){var s,c,i,a,l,u,f,d,h,g,k,b,x,_,C,q,A,y,S,L,B=e.lineMax,T=e.bMarks[r]+e.tShift[r],U=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(T)!==62)return!1;if(o)return!0;for(g=[],k=[],_=[],C=[],y=e.md.block.ruler.getRules("blockquote"),x=e.parentType,e.parentType="blockquote",d=r;d<n&&(L=e.sCount[d]<e.blkIndent,T=e.bMarks[d]+e.tShift[d],U=e.eMarks[d],!(T>=U));d++){if(e.src.charCodeAt(T++)===62&&!L){for(a=e.sCount[d]+1,e.src.charCodeAt(T)===32?(T++,a++,s=!1,q=!0):e.src.charCodeAt(T)===9?(q=!0,(e.bsCount[d]+a)%4===3?(T++,a++,s=!1):s=!0):q=!1,h=a,g.push(e.bMarks[d]),e.bMarks[d]=T;T<U&&(c=e.src.charCodeAt(T),Oo(c));){c===9?h+=4-(h+e.bsCount[d]+(s?1:0))%4:h++;T++}u=T>=U,k.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(q?1:0),_.push(e.sCount[d]),e.sCount[d]=h-a,C.push(e.tShift[d]),e.tShift[d]=T-e.bMarks[d];continue}if(u)break;for(A=!1,i=0,l=y.length;i<l;i++)if(y[i](e,d,n,!0)){A=!0;break}if(A){e.lineMax=d,e.blkIndent!==0&&(g.push(e.bMarks[d]),k.push(e.bsCount[d]),C.push(e.tShift[d]),_.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}g.push(e.bMarks[d]),k.push(e.bsCount[d]),C.push(e.tShift[d]),_.push(e.sCount[d]),e.sCount[d]=-1}for(b=e.blkIndent,e.blkIndent=0,S=e.push("blockquote_open","blockquote",1),S.markup=">",S.map=f=[r,0],e.md.block.tokenize(e,r,d),S=e.push("blockquote_close","blockquote",-1),S.markup=">",e.lineMax=B,e.parentType=x,f[1]=e.line,i=0;i<C.length;i++)e.bMarks[i+r]=g[i],e.tShift[i+r]=C[i],e.sCount[i+r]=_[i],e.bsCount[i+r]=k[i];return e.blkIndent=b,!0},Po=R.isSpace,Uo=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(l++),s!==42&&s!==45&&s!==95))return!1;for(c=1;l<u;){if(i=e.src.charCodeAt(l++),i!==s&&!Po(i))return!1;i===s&&c++}return c<3?!1:(o||(e.line=r+1,a=e.push("hr","hr",0),a.map=[r,e.line],a.markup=Array(c+1).join(String.fromCharCode(s))),!0)},ir=R.isSpace;function ar(t,e){var r,n,o,s;return n=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],r=t.src.charCodeAt(n++),r!==42&&r!==45&&r!==43||n<o&&(s=t.src.charCodeAt(n),!ir(s))?-1:n}function lr(t,e){var r,n=t.bMarks[e]+t.tShift[e],o=n,s=t.eMarks[e];if(o+1>=s||(r=t.src.charCodeAt(o++),r<48||r>57))return-1;for(;;){if(o>=s)return-1;if(r=t.src.charCodeAt(o++),r>=48&&r<=57){if(o-n>=10)return-1;continue}if(r===41||r===46)break;return-1}return o<s&&(r=t.src.charCodeAt(o),!ir(r))?-1:o}function zo(t,e){var r,n,o=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===o&&t.tokens[r].type==="paragraph_open"&&(t.tokens[r+2].hidden=!0,t.tokens[r].hidden=!0,r+=2)}var $o=function(e,r,n,o){var s,c,i,a,l,u,f,d,h,g,k,b,x,_,C,q,A,y,S,L,B,T,U,V,K,v,w,E=r,j=!1,de=!0;if(e.sCount[E]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[E]-e.listIndent>=4&&e.sCount[E]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[E]>=e.blkIndent&&(j=!0),(T=lr(e,E))>=0){if(f=!0,V=e.bMarks[E]+e.tShift[E],x=Number(e.src.slice(V,T-1)),j&&x!==1)return!1}else if((T=ar(e,E))>=0)f=!1;else return!1;if(j&&e.skipSpaces(T)>=e.eMarks[E])return!1;if(o)return!0;for(b=e.src.charCodeAt(T-1),k=e.tokens.length,f?(w=e.push("ordered_list_open","ol",1),x!==1&&(w.attrs=[["start",x]])):w=e.push("bullet_list_open","ul",1),w.map=g=[E,0],w.markup=String.fromCharCode(b),U=!1,v=e.md.block.ruler.getRules("list"),A=e.parentType,e.parentType="list";E<n;){for(B=T,_=e.eMarks[E],u=C=e.sCount[E]+T-(e.bMarks[E]+e.tShift[E]);B<_;){if(s=e.src.charCodeAt(B),s===9)C+=4-(C+e.bsCount[E])%4;else if(s===32)C++;else break;B++}if(c=B,c>=_?l=1:l=C-u,l>4&&(l=1),a=u+l,w=e.push("list_item_open","li",1),w.markup=String.fromCharCode(b),w.map=d=[E,0],f&&(w.info=e.src.slice(V,T-1)),L=e.tight,S=e.tShift[E],y=e.sCount[E],q=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[E]=c-e.bMarks[E],e.sCount[E]=C,c>=_&&e.isEmpty(E+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,E,n,!0),(!e.tight||U)&&(de=!1),U=e.line-E>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=q,e.tShift[E]=S,e.sCount[E]=y,e.tight=L,w=e.push("list_item_close","li",-1),w.markup=String.fromCharCode(b),E=e.line,d[1]=E,E>=n||e.sCount[E]<e.blkIndent||e.sCount[E]-e.blkIndent>=4)break;for(K=!1,i=0,h=v.length;i<h;i++)if(v[i](e,E,n,!0)){K=!0;break}if(K)break;if(f){if(T=lr(e,E),T<0)break;V=e.bMarks[E]+e.tShift[E]}else if(T=ar(e,E),T<0)break;if(b!==e.src.charCodeAt(T-1))break}return f?w=e.push("ordered_list_close","ol",-1):w=e.push("bullet_list_close","ul",-1),w.markup=String.fromCharCode(b),g[1]=E,e.line=E,e.parentType=A,de&&zo(e,k),!0},Ho=R.normalizeReference,qe=R.isSpace,jo=function(e,r,n,o){var s,c,i,a,l,u,f,d,h,g,k,b,x,_,C,q,A=0,y=e.bMarks[r]+e.tShift[r],S=e.eMarks[r],L=r+1;if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(y)!==91)return!1;for(;++y<S;)if(e.src.charCodeAt(y)===93&&e.src.charCodeAt(y-1)!==92){if(y+1===S||e.src.charCodeAt(y+1)!==58)return!1;break}for(a=e.lineMax,C=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";L<a&&!e.isEmpty(L);L++)if(!(e.sCount[L]-e.blkIndent>3)&&!(e.sCount[L]<0)){for(_=!1,u=0,f=C.length;u<f;u++)if(C[u](e,L,a,!0)){_=!0;break}if(_)break}for(x=e.getLines(r,L,e.blkIndent,!1).trim(),S=x.length,y=1;y<S;y++){if(s=x.charCodeAt(y),s===91)return!1;if(s===93){h=y;break}else s===10?A++:s===92&&(y++,y<S&&x.charCodeAt(y)===10&&A++)}if(h<0||x.charCodeAt(h+1)!==58)return!1;for(y=h+2;y<S;y++)if(s=x.charCodeAt(y),s===10)A++;else if(!qe(s))break;if(k=e.md.helpers.parseLinkDestination(x,y,S),!k.ok||(l=e.md.normalizeLink(k.str),!e.md.validateLink(l)))return!1;for(y=k.pos,A+=k.lines,c=y,i=A,b=y;y<S;y++)if(s=x.charCodeAt(y),s===10)A++;else if(!qe(s))break;for(k=e.md.helpers.parseLinkTitle(x,y,S),y<S&&b!==y&&k.ok?(q=k.str,y=k.pos,A+=k.lines):(q="",y=c,A=i);y<S&&(s=x.charCodeAt(y),!!qe(s));)y++;if(y<S&&x.charCodeAt(y)!==10&&q)for(q="",y=c,A=i;y<S&&(s=x.charCodeAt(y),!!qe(s));)y++;return y<S&&x.charCodeAt(y)!==10||(d=Ho(x.slice(1,h)),!d)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[d]>"u"&&(e.env.references[d]={title:q,href:l}),e.parentType=g,e.line=r+A+1),!0)},Go=["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"],De={},Zo="[a-zA-Z_:][a-zA-Z0-9:._-]*",Jo="[^\"'=<>`\\x00-\\x20]+",Wo="'[^']*'",Ko='"[^"]*"',Yo="(?:"+Jo+"|"+Wo+"|"+Ko+")",Qo="(?:\\s+"+Zo+"(?:\\s*=\\s*"+Yo+")?)",ur="<[A-Za-z][A-Za-z0-9\\-]*"+Qo+"*\\s*\\/?>",pr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Xo="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",es="<[?][\\s\\S]*?[?]>",ts="<![A-Z]+\\s+[^>]*>",rs="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",ns=new RegExp("^(?:"+ur+"|"+pr+"|"+Xo+"|"+es+"|"+ts+"|"+rs+")"),os=new RegExp("^(?:"+ur+"|"+pr+")");De.HTML_TAG_RE=ns,De.HTML_OPEN_CLOSE_TAG_RE=os;var ss=Go,cs=De.HTML_OPEN_CLOSE_TAG_RE,le=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+ss.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(cs.source+"\\s*$"),/^$/,!1]],is=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(a=e.src.slice(l,u),s=0;s<le.length&&!le[s][0].test(a);s++);if(s===le.length)return!1;if(o)return le[s][2];if(c=r+1,!le[s][1].test(a)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(l=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],a=e.src.slice(l,u),le[s][1].test(a)){a.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[r,c],i.content=e.getLines(r,c,e.blkIndent,!0),!0},fr=R.isSpace,as=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(l),s!==35||l>=u))return!1;for(c=1,s=e.src.charCodeAt(++l);s===35&&l<u&&c<=6;)c++,s=e.src.charCodeAt(++l);return c>6||l<u&&!fr(s)?!1:(o||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&fr(e.src.charCodeAt(i-1))&&(u=i),e.line=r+1,a=e.push("heading_open","h"+String(c),1),a.markup="########".slice(0,c),a.map=[r,e.line],a=e.push("inline","",0),a.content=e.src.slice(l,u).trim(),a.map=[r,e.line],a.children=[],a=e.push("heading_close","h"+String(c),-1),a.markup="########".slice(0,c)),!0)},ls=function(e,r,n){var o,s,c,i,a,l,u,f,d,h=r+1,g,k=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],u=e.eMarks[h],l<u&&(d=e.src.charCodeAt(l),(d===45||d===61)&&(l=e.skipChars(l,d),l=e.skipSpaces(l),l>=u)))){f=d===61?1:2;break}if(!(e.sCount[h]<0)){for(s=!1,c=0,i=k.length;c<i;c++)if(k[c](e,h,n,!0)){s=!0;break}if(s)break}}return f?(o=e.getLines(r,h,e.blkIndent,!1).trim(),e.line=h+1,a=e.push("heading_open","h"+String(f),1),a.markup=String.fromCharCode(d),a.map=[r,e.line],a=e.push("inline","",0),a.content=o,a.map=[r,e.line-1],a.children=[],a=e.push("heading_close","h"+String(f),-1),a.markup=String.fromCharCode(d),e.parentType=g,!0):!1},us=function(e,r,n){var o,s,c,i,a,l,u=r+1,f=e.md.block.ruler.getRules("paragraph");for(l=e.parentType,e.parentType="paragraph";u<n&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(s=!1,c=0,i=f.length;c<i;c++)if(f[c](e,u,n,!0)){s=!0;break}if(s)break}return o=e.getLines(r,u,e.blkIndent,!1).trim(),e.line=u,a=e.push("paragraph_open","p",1),a.map=[r,e.line],a=e.push("inline","",0),a.content=o,a.map=[r,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},dr=Qe,Se=R.isSpace;function Z(t,e,r,n){var o,s,c,i,a,l,u,f;for(this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,f=!1,c=i=l=u=0,a=s.length;i<a;i++){if(o=s.charCodeAt(i),!f)if(Se(o)){l++,o===9?u+=4-u%4:u++;continue}else f=!0;(o===10||i===a-1)&&(o!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),f=!1,l=0,u=0,c=i+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Z.prototype.push=function(t,e,r){var n=new dr(t,e,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},Z.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Z.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Z.prototype.skipSpaces=function(e){for(var r,n=this.src.length;e<n&&(r=this.src.charCodeAt(e),!!Se(r));e++);return e},Z.prototype.skipSpacesBack=function(e,r){if(e<=r)return e;for(;e>r;)if(!Se(this.src.charCodeAt(--e)))return e+1;return e},Z.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},Z.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e},Z.prototype.getLines=function(e,r,n,o){var s,c,i,a,l,u,f,d=e;if(e>=r)return"";for(u=new Array(r-e),s=0;d<r;d++,s++){for(c=0,f=a=this.bMarks[d],d+1<r||o?l=this.eMarks[d]+1:l=this.eMarks[d];a<l&&c<n;){if(i=this.src.charCodeAt(a),Se(i))i===9?c+=4-(c+this.bsCount[d])%4:c++;else if(a-f<this.tShift[d])c++;else break;a++}c>n?u[s]=new Array(c-n+1).join(" ")+this.src.slice(a,l):u[s]=this.src.slice(a,l)}return u.join("")},Z.prototype.Token=dr;var ps=Z,fs=Ye,Te=[["table",Fo,["paragraph","reference"]],["code",Io],["fence",Mo,["paragraph","reference","blockquote","list"]],["blockquote",Vo,["paragraph","reference","blockquote","list"]],["hr",Uo,["paragraph","reference","blockquote","list"]],["list",$o,["paragraph","reference","blockquote"]],["reference",jo],["html_block",is,["paragraph","reference","blockquote"]],["heading",as,["paragraph","reference","blockquote"]],["lheading",ls],["paragraph",us]];function Re(){this.ruler=new fs;for(var t=0;t<Te.length;t++)this.ruler.push(Te[t][0],Te[t][1],{alt:(Te[t][2]||[]).slice()})}Re.prototype.tokenize=function(t,e,r){for(var n,o,s,c=this.ruler.getRules(""),i=c.length,a=e,l=!1,u=t.md.options.maxNesting;a<r&&(t.line=a=t.skipEmptyLines(a),!(a>=r||t.sCount[a]<t.blkIndent));){if(t.level>=u){t.line=r;break}for(s=t.line,o=0;o<i;o++)if(n=c[o](t,a,r,!1),n){if(s>=t.line)throw new Error("block rule didn't increment state.line");break}if(!n)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<r&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}},Re.prototype.parse=function(t,e,r,n){var o;t&&(o=new this.State(t,e,r,n),this.tokenize(o,o.line,o.lineMax))},Re.prototype.State=ps;var ds=Re;function hs(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var ms=function(e,r){for(var n=e.pos;n<e.posMax&&!hs(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)},gs=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,bs=function(e,r){var n,o,s,c,i,a,l,u;return!e.md.options.linkify||e.linkLevel>0||(n=e.pos,o=e.posMax,n+3>o)||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47||(s=e.pending.match(gs),!s)||(c=s[1],i=e.md.linkify.matchAtStart(e.src.slice(n-c.length)),!i)||(a=i.url,a.length<=c.length)||(a=a.replace(/\*+$/,""),l=e.md.normalizeLink(a),!e.md.validateLink(l))?!1:(r||(e.pending=e.pending.slice(0,-c.length),u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(a),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=a.length-c.length,!0)},ks=R.isSpace,vs=function(e,r){var n,o,s,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(s=n-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(c++;c<o&&ks(e.src.charCodeAt(c));)c++;return e.pos=c,!0},xs=R.isSpace,nt=[],hr=0;hr<256;hr++)nt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){nt[t.charCodeAt(0)]=1});var _s=function(e,r){var n,o,s,c,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==92||(a++,a>=l))return!1;if(n=e.src.charCodeAt(a),n===10){for(r||e.push("hardbreak","br",0),a++;a<l&&(n=e.src.charCodeAt(a),!!xs(n));)a++;return e.pos=a,!0}return c=e.src[a],n>=55296&&n<=56319&&a+1<l&&(o=e.src.charCodeAt(a+1),o>=56320&&o<=57343&&(c+=e.src[a+1],a++)),s="\\"+c,r||(i=e.push("text_special","",0),n<256&&nt[n]!==0?i.content=c:i.content=s,i.markup=s,i.info="escape"),e.pos=a+1,!0},ys=function(e,r){var n,o,s,c,i,a,l,u,f=e.pos,d=e.src.charCodeAt(f);if(d!==96)return!1;for(n=f,f++,o=e.posMax;f<o&&e.src.charCodeAt(f)===96;)f++;if(s=e.src.slice(n,f),l=s.length,e.backticksScanned&&(e.backticks[l]||0)<=n)return r||(e.pending+=s),e.pos+=l,!0;for(a=f;(i=e.src.indexOf("`",a))!==-1;){for(a=i+1;a<o&&e.src.charCodeAt(a)===96;)a++;if(u=a-i,u===l)return r||(c=e.push("code_inline","code",0),c.markup=s,c.content=e.src.slice(f,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=i}return e.backticksScanned=!0,r||(e.pending+=s),e.pos+=l,!0},Le={};Le.tokenize=function(e,r){var n,o,s,c,i,a=e.pos,l=e.src.charCodeAt(a);if(r||l!==126||(o=e.scanDelims(e.pos,!0),c=o.length,i=String.fromCharCode(l),c<2))return!1;for(c%2&&(s=e.push("text","",0),s.content=i,c--),n=0;n<c;n+=2)s=e.push("text","",0),s.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function mr(t,e){var r,n,o,s,c,i=[],a=e.length;for(r=0;r<a;r++)o=e[r],o.marker===126&&o.end!==-1&&(s=e[o.end],c=t.tokens[o.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[s.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&i.push(s.token-1));for(;i.length;){for(r=i.pop(),n=r+1;n<t.tokens.length&&t.tokens[n].type==="s_close";)n++;n--,r!==n&&(c=t.tokens[n],t.tokens[n]=t.tokens[r],t.tokens[r]=c)}}Le.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(mr(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&mr(e,n[r].delimiters)};var Ne={};Ne.tokenize=function(e,r){var n,o,s,c=e.pos,i=e.src.charCodeAt(c);if(r||i!==95&&i!==42)return!1;for(o=e.scanDelims(e.pos,i===42),n=0;n<o.length;n++)s=e.push("text","",0),s.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function gr(t,e){var r,n,o,s,c,i,a=e.length;for(r=a-1;r>=0;r--)n=e[r],!(n.marker!==95&&n.marker!==42)&&n.end!==-1&&(o=e[n.end],i=r>0&&e[r-1].end===n.end+1&&e[r-1].marker===n.marker&&e[r-1].token===n.token-1&&e[n.end+1].token===o.token+1,c=String.fromCharCode(n.marker),s=t.tokens[n.token],s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?c+c:c,s.content="",s=t.tokens[o.token],s.type=i?"strong_close":"em_close",s.tag=i?"strong":"em",s.nesting=-1,s.markup=i?c+c:c,s.content="",i&&(t.tokens[e[r-1].token].content="",t.tokens[e[n.end+1].token].content="",r--))}Ne.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(gr(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&gr(e,n[r].delimiters)};var ws=R.normalizeReference,ot=R.isSpace,Es=function(e,r){var n,o,s,c,i,a,l,u,f,d="",h="",g=e.pos,k=e.posMax,b=e.pos,x=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(a=c+1,a<k&&e.src.charCodeAt(a)===40){for(x=!1,a++;a<k&&(o=e.src.charCodeAt(a),!(!ot(o)&&o!==10));a++);if(a>=k)return!1;if(b=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok){for(d=e.md.normalizeLink(l.str),e.md.validateLink(d)?a=l.pos:d="",b=a;a<k&&(o=e.src.charCodeAt(a),!(!ot(o)&&o!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<k&&b!==a&&l.ok)for(h=l.str,a=l.pos;a<k&&(o=e.src.charCodeAt(a),!(!ot(o)&&o!==10));a++);}(a>=k||e.src.charCodeAt(a)!==41)&&(x=!0),a++}if(x){if(typeof e.env.references>"u")return!1;if(a<k&&e.src.charCodeAt(a)===91?(b=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?s=e.src.slice(b,a++):a=c+1):a=c+1,s||(s=e.src.slice(i,c)),u=e.env.references[ws(s)],!u)return e.pos=g,!1;d=u.href,h=u.title}return r||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=n=[["href",d]],h&&n.push(["title",h]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=a,e.posMax=k,!0},Cs=R.normalizeReference,st=R.isSpace,As=function(e,r){var n,o,s,c,i,a,l,u,f,d,h,g,k,b="",x=e.pos,_=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(a=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<_&&e.src.charCodeAt(l)===40){for(l++;l<_&&(o=e.src.charCodeAt(l),!(!st(o)&&o!==10));l++);if(l>=_)return!1;for(k=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(b=e.md.normalizeLink(f.str),e.md.validateLink(b)?l=f.pos:b=""),k=l;l<_&&(o=e.src.charCodeAt(l),!(!st(o)&&o!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&k!==l&&f.ok)for(d=f.str,l=f.pos;l<_&&(o=e.src.charCodeAt(l),!(!st(o)&&o!==10));l++);else d="";if(l>=_||e.src.charCodeAt(l)!==41)return e.pos=x,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(k=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(k,l++):l=i+1):l=i+1,c||(c=e.src.slice(a,i)),u=e.env.references[Cs(c)],!u)return e.pos=x,!1;b=u.href,d=u.title}return r||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",b],["alt",""]],h.children=g,h.content=s,d&&n.push(["title",d])),e.pos=l,e.posMax=_,!0},qs=/^([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])?)*)$/,Ds=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ss=function(e,r){var n,o,s,c,i,a,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a||(c=e.src.charCodeAt(l),c===60))return!1;if(c===62)break}return n=e.src.slice(i+1,l),Ds.test(n)?(o=e.md.normalizeLink(n),e.md.validateLink(o)?(r||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):qs.test(n)?(o=e.md.normalizeLink("mailto:"+n),e.md.validateLink(o)?(r||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):!1},Ts=De.HTML_TAG_RE;function Rs(t){return/^<a[>\s]/i.test(t)}function Ls(t){return/^<\/a\s*>/i.test(t)}function Ns(t){var e=t|32;return e>=97&&e<=122}var Bs=function(e,r){var n,o,s,c,i=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(i)!==60||i+2>=s)||(n=e.src.charCodeAt(i+1),n!==33&&n!==63&&n!==47&&!Ns(n))||(o=e.src.slice(i).match(Ts),!o)?!1:(r||(c=e.push("html_inline","",0),c.content=o[0],Rs(c.content)&&e.linkLevel++,Ls(c.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},br=It,Fs=R.has,Is=R.isValidEntityCode,kr=R.fromCodePoint,Ms=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Os=/^&([a-z][a-z0-9]{1,31});/i,Vs=function(e,r){var n,o,s,c,i=e.pos,a=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=a)return!1;if(n=e.src.charCodeAt(i+1),n===35){if(s=e.src.slice(i).match(Ms),s)return r||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),c=e.push("text_special","",0),c.content=Is(o)?kr(o):kr(65533),c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(i).match(Os),s&&Fs(br,s[1]))return r||(c=e.push("text_special","",0),c.content=br[s[1]],c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0;return!1};function vr(t){var e,r,n,o,s,c,i,a,l={},u=t.length;if(u){var f=0,d=-2,h=[];for(e=0;e<u;e++)if(n=t[e],h.push(0),(t[f].marker!==n.marker||d!==n.token-1)&&(f=e),d=n.token,n.length=n.length||0,!!n.close){for(l.hasOwnProperty(n.marker)||(l[n.marker]=[-1,-1,-1,-1,-1,-1]),s=l[n.marker][(n.open?3:0)+n.length%3],r=f-h[f]-1,c=r;r>s;r-=h[r]+1)if(o=t[r],o.marker===n.marker&&o.open&&o.end<0&&(i=!1,(o.close||n.open)&&(o.length+n.length)%3===0&&(o.length%3!==0||n.length%3!==0)&&(i=!0),!i)){a=r>0&&!t[r-1].open?h[r-1]+1:0,h[e]=e-r+a,h[r]=a,n.open=!1,o.end=e,o.close=!1,c=-1,d=-2;break}c!==-1&&(l[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}}var Ps=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(vr(e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&vr(n[r].delimiters)},Us=function(e){var r,n,o=0,s=e.tokens,c=e.tokens.length;for(r=n=0;r<c;r++)s[r].nesting<0&&o--,s[r].level=o,s[r].nesting>0&&o++,s[r].type==="text"&&r+1<c&&s[r+1].type==="text"?s[r+1].content=s[r].content+s[r+1].content:(r!==n&&(s[n]=s[r]),n++);r!==n&&(s.length=n)},ct=Qe,xr=R.isWhiteSpace,_r=R.isPunctChar,yr=R.isMdAsciiPunct;function he(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.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}he.prototype.pushPending=function(){var t=new ct("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},he.prototype.push=function(t,e,r){this.pending&&this.pushPending();var n=new ct(t,e,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},he.prototype.scanDelims=function(t,e){var r=t,n,o,s,c,i,a,l,u,f,d=!0,h=!0,g=this.posMax,k=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;r<g&&this.src.charCodeAt(r)===k;)r++;return s=r-t,o=r<g?this.src.charCodeAt(r):32,l=yr(n)||_r(String.fromCharCode(n)),f=yr(o)||_r(String.fromCharCode(o)),a=xr(n),u=xr(o),u?d=!1:f&&(a||l||(d=!1)),a?h=!1:l&&(u||f||(h=!1)),e?(c=d,i=h):(c=d&&(!h||l),i=h&&(!d||f)),{can_open:c,can_close:i,length:s}},he.prototype.Token=ct;var zs=he,wr=Ye,it=[["text",ms],["linkify",bs],["newline",vs],["escape",_s],["backticks",ys],["strikethrough",Le.tokenize],["emphasis",Ne.tokenize],["link",Es],["image",As],["autolink",Ss],["html_inline",Bs],["entity",Vs]],at=[["balance_pairs",Ps],["strikethrough",Le.postProcess],["emphasis",Ne.postProcess],["fragments_join",Us]];function me(){var t;for(this.ruler=new wr,t=0;t<it.length;t++)this.ruler.push(it[t][0],it[t][1]);for(this.ruler2=new wr,t=0;t<at.length;t++)this.ruler2.push(at[t][0],at[t][1])}me.prototype.skipToken=function(t){var e,r,n=t.pos,o=this.ruler.getRules(""),s=o.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[n]<"u"){t.pos=i[n];return}if(t.level<c){for(r=0;r<s;r++)if(t.level++,e=o[r](t,!0),t.level--,e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[n]=t.pos},me.prototype.tokenize=function(t){for(var e,r,n,o=this.ruler.getRules(""),s=o.length,c=t.posMax,i=t.md.options.maxNesting;t.pos<c;){if(n=t.pos,t.level<i){for(r=0;r<s;r++)if(e=o[r](t,!1),e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=c)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},me.prototype.parse=function(t,e,r,n){var o,s,c,i=new this.State(t,e,r,n);for(this.tokenize(i),s=this.ruler2.getRules(""),c=s.length,o=0;o<c;o++)s[o](i)},me.prototype.State=zs;var $s=me,lt,Er;function Hs(){return Er||(Er=1,lt=function(t){var e={};t=t||{},e.src_Any=jt().source,e.src_Cc=Zt().source,e.src_Z=Kt().source,e.src_P=Ge.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var r="[><|]";return e.src_pseudo_letter="(?:(?!"+r+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+r+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),lt}function ut(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function Be(t){return Object.prototype.toString.call(t)}function js(t){return Be(t)==="[object String]"}function Gs(t){return Be(t)==="[object Object]"}function Zs(t){return Be(t)==="[object RegExp]"}function Cr(t){return Be(t)==="[object Function]"}function Js(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ar={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ws(t){return Object.keys(t||{}).reduce(function(e,r){return e||Ar.hasOwnProperty(r)},!1)}var Ks={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Ys="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]",Qs="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Xs(t){t.__index__=-1,t.__text_cache__=""}function ec(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function qr(){return function(t,e){e.normalize(t)}}function Fe(t){var e=t.re=Hs()(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(Ys),r.push(e.src_xn),e.src_tlds=r.join("|");function n(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function s(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(t.__schemas__).forEach(function(i){var a=t.__schemas__[i];if(a!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,Gs(a)){Zs(a.validate)?l.validate=ec(a.validate):Cr(a.validate)?l.validate=a.validate:s(i,a),Cr(a.normalize)?l.normalize=a.normalize:a.normalize?s(i,a):l.normalize=qr();return}if(js(a)){o.push(i);return}s(i,a)}}),o.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:qr()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Js).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Xs(t)}function tc(t,e){var r=t.__index__,n=t.__last_index__,o=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=o,this.text=o,this.url=o}function pt(t,e){var r=new tc(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function M(t,e){if(!(this instanceof M))return new M(t,e);e||Ws(t)&&(e=t,t={}),this.__opts__=ut({},Ar,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ut({},Ks,t),this.__compiled__={},this.__tlds__=Qs,this.__tlds_replaced__=!1,this.re={},Fe(this)}M.prototype.add=function(e,r){return this.__schemas__[e]=r,Fe(this),this},M.prototype.set=function(e){return this.__opts__=ut(this.__opts__,e),this},M.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,n,o,s,c,i,a,l,u;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(r=a.exec(e))!==null;)if(s=this.testSchemaAt(e,r[2],a.lastIndex),s){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(c=o.index+o[1].length,i=o.index+o[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},M.prototype.pretest=function(e){return this.re.pretest.test(e)},M.prototype.testSchemaAt=function(e,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,n,this):0},M.prototype.match=function(e){var r=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(pt(this,r)),r=this.__last_index__);for(var o=r?e.slice(r):e;this.test(o);)n.push(pt(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null},M.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var r=this.re.schema_at_start.exec(e);if(!r)return null;var n=this.testSchemaAt(e,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,pt(this,0)):null},M.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,o,s){return n!==s[o-1]}).reverse(),Fe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Fe(this),this)},M.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},M.prototype.onCompile=function(){};var rc=M;const ue=2147483647,J=36,ft=1,ge=26,nc=38,oc=700,Dr=72,Sr=128,Tr="-",sc=/^xn--/,cc=/[^\0-\x7F]/,ic=/[\x2E\u3002\uFF0E\uFF61]/g,ac={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},dt=J-ft,W=Math.floor,ht=String.fromCharCode;function Q(t){throw new RangeError(ac[t])}function lc(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function Rr(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(ic,".");const o=t.split("."),s=lc(o,e).join(".");return n+s}function mt(t){const e=[];let r=0;const n=t.length;for(;r<n;){const o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const s=t.charCodeAt(r++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),r--)}else e.push(o)}return e}const Lr=t=>String.fromCodePoint(...t),uc=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:J},Nr=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Br=function(t,e,r){let n=0;for(t=r?W(t/oc):t>>1,t+=W(t/e);t>dt*ge>>1;n+=J)t=W(t/dt);return W(n+(dt+1)*t/(t+nc))},gt=function(t){const e=[],r=t.length;let n=0,o=Sr,s=Dr,c=t.lastIndexOf(Tr);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&Q("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<r;){const a=n;for(let u=1,f=J;;f+=J){i>=r&&Q("invalid-input");const d=uc(t.charCodeAt(i++));d>=J&&Q("invalid-input"),d>W((ue-n)/u)&&Q("overflow"),n+=d*u;const h=f<=s?ft:f>=s+ge?ge:f-s;if(d<h)break;const g=J-h;u>W(ue/g)&&Q("overflow"),u*=g}const l=e.length+1;s=Br(n-a,l,a==0),W(n/l)>ue-o&&Q("overflow"),o+=W(n/l),n%=l,e.splice(n++,0,o)}return String.fromCodePoint(...e)},bt=function(t){const e=[];t=mt(t);const r=t.length;let n=Sr,o=0,s=Dr;for(const a of t)a<128&&e.push(ht(a));const c=e.length;let i=c;for(c&&e.push(Tr);i<r;){let a=ue;for(const u of t)u>=n&&u<a&&(a=u);const l=i+1;a-n>W((ue-o)/l)&&Q("overflow"),o+=(a-n)*l,n=a;for(const u of t)if(u<n&&++o>ue&&Q("overflow"),u===n){let f=o;for(let d=J;;d+=J){const h=d<=s?ft:d>=s+ge?ge:d-s;if(f<h)break;const g=f-h,k=J-h;e.push(ht(Nr(h+g%k,0))),f=W(g/k)}e.push(ht(Nr(f,0))),s=Br(o,l,i===c),o=0,++i}++o,++n}return e.join("")},Fr=function(t){return Rr(t,function(e){return sc.test(e)?gt(e.slice(4).toLowerCase()):e})},Ir=function(t){return Rr(t,function(e){return cc.test(e)?"xn--"+bt(e):e})},pc=Vn(Object.freeze(Object.defineProperty({__proto__:null,decode:gt,default:{version:"2.3.1",ucs2:{decode:mt,encode:Lr},decode:gt,encode:bt,toASCII:Ir,toUnicode:Fr},encode:bt,toASCII:Ir,toUnicode:Fr,ucs2decode:mt,ucs2encode:Lr},Symbol.toStringTag,{value:"Module"})));var fc={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},dc={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"]}}},hc={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"]}}},be=R,mc=Ce,gc=lo,bc=Bo,kc=ds,vc=$s,xc=rc,re=ce,Mr=pc,_c={default:fc,zero:dc,commonmark:hc},yc=/^(vbscript|javascript|file|data):/,wc=/^data:image\/(gif|png|jpeg|webp);/;function Ec(t){var e=t.trim().toLowerCase();return yc.test(e)?!!wc.test(e):!0}var Or=["http:","https:","mailto:"];function Cc(t){var e=re.parse(t,!0);if(e.hostname&&(!e.protocol||Or.indexOf(e.protocol)>=0))try{e.hostname=Mr.toASCII(e.hostname)}catch{}return re.encode(re.format(e))}function Ac(t){var e=re.parse(t,!0);if(e.hostname&&(!e.protocol||Or.indexOf(e.protocol)>=0))try{e.hostname=Mr.toUnicode(e.hostname)}catch{}return re.decode(re.format(e),re.decode.defaultChars+"%")}function P(t,e){if(!(this instanceof P))return new P(t,e);e||be.isString(t)||(e=t||{},t="default"),this.inline=new vc,this.block=new kc,this.core=new bc,this.renderer=new gc,this.linkify=new xc,this.validateLink=Ec,this.normalizeLink=Cc,this.normalizeLinkText=Ac,this.utils=be,this.helpers=be.assign({},mc),this.options={},this.configure(t),e&&this.set(e)}P.prototype.set=function(t){return be.assign(this.options,t),this},P.prototype.configure=function(t){var e=this,r;if(be.isString(t)&&(r=t,t=_c[r],!t))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this},P.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},P.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},P.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},P.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var r=new this.core.State(t,this,e);return this.core.process(r),r.tokens},P.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},P.prototype.parseInline=function(t,e){var r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens},P.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var qc=P,Dc=qc;const Sc=On(Dc),Tc=p.defineComponent({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=p.ref(new Sc(t.options??{}));for(const n of t.plugins??[])e.value.use(n);const r=p.computed(()=>e.value.render(t.source));return()=>p.h("div",{innerHTML:r.value})}}),Rc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 31.8 512 448.18"};function Lc(t,e){return p.openBlock(),p.createElementBlock("svg",Rc,e[0]||(e[0]=[p.createElementVNode("path",{d:"M323.8 477.2c-38.2 10.9-78.1-11.2-89-49.4l-5.7-20c-3.7-13-10.4-25-19.5-35l-51.3-56.4c-8.9-9.8-8.2-25 1.6-33.9s25-8.2 33.9 1.6l51.3 56.4c14.1 15.5 24.4 34 30.1 54.1l5.7 20c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7l-5.7-20c-5.7-19.9-14.7-38.7-26.6-55.5-5.2-7.3-5.8-16.9-1.7-24.9s12.3-13 21.3-13H448c8.8 0 16-7.2 16-16 0-6.8-4.3-12.7-10.4-15-7.4-2.8-13-9-14.9-16.7s.1-15.8 5.3-21.7c2.5-2.8 4-6.5 4-10.6 0-7.8-5.6-14.3-13-15.7-8.2-1.6-15.1-7.3-18-15.2s-1.6-16.7 3.6-23.3c2.1-2.7 3.4-6.1 3.4-9.9 0-6.7-4.2-12.6-10.2-14.9-11.5-4.5-17.7-16.9-14.4-28.8.4-1.3.6-2.8.6-4.3 0-8.8-7.2-16-16-16h-97.5c-12.6 0-25 3.7-35.5 10.7l-61.7 41.1c-11 7.4-25.9 4.4-33.3-6.7s-4.4-25.9 6.7-33.3l61.7-41.1c18.4-12.3 40-18.8 62.1-18.8l97.5.2c34.7 0 62.9 27.6 64 62 14.6 11.7 24 29.7 24 50 0 4.5-.5 8.8-1.3 13 15.4 11.7 25.3 30.2 25.3 51 0 6.5-1 12.8-2.8 18.7 11.6 11.6 18.8 27.6 18.8 45.3 0 35.3-28.6 64-64 64h-92.3c4.7 10.4 8.7 21.2 11.8 32.2l5.7 20c10.9 38.2-11.2 78.1-49.4 89M32 384c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v224c0 17.7-14.3 32-32 32z"},null,-1)]))}const Nc={render:Lc},Bc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 32.02 512 448.18"};function Fc(t,e){return p.openBlock(),p.createElementBlock("svg",Bc,e[0]||(e[0]=[p.createElementVNode("path",{d:"M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13H448c8.8 0 16 7.2 16 16 0 6.8-4.3 12.7-10.4 15-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6 0 7.8-5.6 14.3-13 15.7-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9 0 6.7-4.2 12.6-10.2 14.9-11.5 4.5-17.7 16.9-14.4 28.8.4 1.3.6 2.8.6 4.3 0 8.8-7.2 16-16 16h-97.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62 14.6-11.7 24-29.7 24-50 0-4.5-.5-8.8-1.3-13 15.4-11.7 25.3-30.2 25.3-51 0-6.5-1-12.8-2.8-18.7 11.6-11.8 18.8-27.8 18.8-45.5 0-35.3-28.6-64-64-64h-92.3c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89M32 192c-17.7 0-32 14.3-32 32v224c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32z"},null,-1)]))}const Ic={render:Fc},Vr="infoAuth";function Pr(t,e){return function(){return t.apply(e,arguments)}}const{toString:Mc}=Object.prototype,{getPrototypeOf:kt}=Object,Ie=(t=>e=>{const r=Mc.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),H=t=>(t=t.toLowerCase(),e=>Ie(e)===t),Me=t=>e=>typeof e===t,{isArray:pe}=Array,ke=Me("undefined");function Oc(t){return t!==null&&!ke(t)&&t.constructor!==null&&!ke(t.constructor)&&O(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ur=H("ArrayBuffer");function Vc(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ur(t.buffer),e}const Pc=Me("string"),O=Me("function"),zr=Me("number"),Oe=t=>t!==null&&typeof t=="object",Uc=t=>t===!0||t===!1,Ve=t=>{if(Ie(t)!=="object")return!1;const e=kt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},zc=H("Date"),$c=H("File"),Hc=H("Blob"),jc=H("FileList"),Gc=t=>Oe(t)&&O(t.pipe),Zc=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||O(t.append)&&((e=Ie(t))==="formdata"||e==="object"&&O(t.toString)&&t.toString()==="[object FormData]"))},Jc=H("URLSearchParams"),[Wc,Kc,Yc,Qc]=["ReadableStream","Request","Response","Headers"].map(H),Xc=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ve(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,o;if(typeof t!="object"&&(t=[t]),pe(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),c=s.length;let i;for(n=0;n<c;n++)i=s[n],e.call(null,t[i],i,t)}}function $r(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,o;for(;n-- >0;)if(o=r[n],e===o.toLowerCase())return o;return null}const ne=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hr=t=>!ke(t)&&t!==ne;function vt(){const{caseless:t}=Hr(this)&&this||{},e={},r=(n,o)=>{const s=t&&$r(e,o)||o;Ve(e[s])&&Ve(n)?e[s]=vt(e[s],n):Ve(n)?e[s]=vt({},n):pe(n)?e[s]=n.slice():e[s]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&ve(arguments[n],r);return e}const ei=(t,e,r,{allOwnKeys:n}={})=>(ve(e,(o,s)=>{r&&O(o)?t[s]=Pr(o,r):t[s]=o},{allOwnKeys:n}),t),ti=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ri=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},ni=(t,e,r,n)=>{let o,s,c;const i={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)c=o[s],(!n||n(c,t,e))&&!i[c]&&(e[c]=t[c],i[c]=!0);t=r!==!1&&kt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},oi=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},si=t=>{if(!t)return null;if(pe(t))return t;let e=t.length;if(!zr(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},ci=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&kt(Uint8Array)),ii=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=n.next())&&!o.done;){const s=o.value;e.call(t,s[0],s[1])}},ai=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},li=H("HTMLFormElement"),ui=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),jr=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),pi=H("RegExp"),Gr=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};ve(r,(o,s)=>{let c;(c=e(o,s,t))!==!1&&(n[s]=c||o)}),Object.defineProperties(t,n)},fi=t=>{Gr(t,(e,r)=>{if(O(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(O(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},di=(t,e)=>{const r={},n=o=>{o.forEach(s=>{r[s]=!0})};return pe(t)?n(t):n(String(t).split(e)),r},hi=()=>{},mi=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,xt="abcdefghijklmnopqrstuvwxyz",Zr="0123456789",Jr={DIGIT:Zr,ALPHA:xt,ALPHA_DIGIT:xt+xt.toUpperCase()+Zr},gi=(t=16,e=Jr.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function bi(t){return!!(t&&O(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ki=t=>{const e=new Array(10),r=(n,o)=>{if(Oe(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[o]=n;const s=pe(n)?[]:{};return ve(n,(c,i)=>{const a=r(c,o+1);!ke(a)&&(s[i]=a)}),e[o]=void 0,s}}return n};return r(t,0)},vi=H("AsyncFunction"),xi=t=>t&&(Oe(t)||O(t))&&O(t.then)&&O(t.catch),Wr=((t,e)=>t?setImmediate:e?((r,n)=>(ne.addEventListener("message",({source:o,data:s})=>{o===ne&&s===r&&n.length&&n.shift()()},!1),o=>{n.push(o),ne.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",O(ne.postMessage)),_i=typeof queueMicrotask<"u"?queueMicrotask.bind(ne):typeof process<"u"&&process.nextTick||Wr,m={isArray:pe,isArrayBuffer:Ur,isBuffer:Oc,isFormData:Zc,isArrayBufferView:Vc,isString:Pc,isNumber:zr,isBoolean:Uc,isObject:Oe,isPlainObject:Ve,isReadableStream:Wc,isRequest:Kc,isResponse:Yc,isHeaders:Qc,isUndefined:ke,isDate:zc,isFile:$c,isBlob:Hc,isRegExp:pi,isFunction:O,isStream:Gc,isURLSearchParams:Jc,isTypedArray:ci,isFileList:jc,forEach:ve,merge:vt,extend:ei,trim:Xc,stripBOM:ti,inherits:ri,toFlatObject:ni,kindOf:Ie,kindOfTest:H,endsWith:oi,toArray:si,forEachEntry:ii,matchAll:ai,isHTMLForm:li,hasOwnProperty:jr,hasOwnProp:jr,reduceDescriptors:Gr,freezeMethods:fi,toObjectSet:di,toCamelCase:ui,noop:hi,toFiniteNumber:mi,findKey:$r,global:ne,isContextDefined:Hr,ALPHABET:Jr,generateString:gi,isSpecCompliantForm:bi,toJSONObject:ki,isAsyncFn:vi,isThenable:xi,setImmediate:Wr,asap:_i};function D(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}m.inherits(D,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:m.toJSONObject(this.config),code:this.code,status:this.status}}});const Kr=D.prototype,Yr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Yr[t]={value:t}}),Object.defineProperties(D,Yr),Object.defineProperty(Kr,"isAxiosError",{value:!0}),D.from=(t,e,r,n,o,s)=>{const c=Object.create(Kr);return m.toFlatObject(t,c,function(a){return a!==Error.prototype},i=>i!=="isAxiosError"),D.call(c,t.message,e,r,n,o),c.cause=t,c.name=t.name,s&&Object.assign(c,s),c};const yi=null;function _t(t){return m.isPlainObject(t)||m.isArray(t)}function Qr(t){return m.endsWith(t,"[]")?t.slice(0,-2):t}function Xr(t,e,r){return t?t.concat(e).map(function(o,s){return o=Qr(o),!r&&s?"["+o+"]":o}).join(r?".":""):e}function wi(t){return m.isArray(t)&&!t.some(_t)}const Ei=m.toFlatObject(m,{},null,function(e){return/^is[A-Z]/.test(e)});function Pe(t,e,r){if(!m.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=m.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,b){return!m.isUndefined(b[k])});const n=r.metaTokens,o=r.visitor||u,s=r.dots,c=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(e);if(!m.isFunction(o))throw new TypeError("visitor must be a function");function l(g){if(g===null)return"";if(m.isDate(g))return g.toISOString();if(!a&&m.isBlob(g))throw new D("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(g)||m.isTypedArray(g)?a&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,k,b){let x=g;if(g&&!b&&typeof g=="object"){if(m.endsWith(k,"{}"))k=n?k:k.slice(0,-2),g=JSON.stringify(g);else if(m.isArray(g)&&wi(g)||(m.isFileList(g)||m.endsWith(k,"[]"))&&(x=m.toArray(g)))return k=Qr(k),x.forEach(function(C,q){!(m.isUndefined(C)||C===null)&&e.append(c===!0?Xr([k],q,s):c===null?k:k+"[]",l(C))}),!1}return _t(g)?!0:(e.append(Xr(b,k,s),l(g)),!1)}const f=[],d=Object.assign(Ei,{defaultVisitor:u,convertValue:l,isVisitable:_t});function h(g,k){if(!m.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+k.join("."));f.push(g),m.forEach(g,function(x,_){(!(m.isUndefined(x)||x===null)&&o.call(e,x,m.isString(_)?_.trim():_,k,d))===!0&&h(x,k?k.concat(_):[_])}),f.pop()}}if(!m.isObject(t))throw new TypeError("data must be an object");return h(t),e}function en(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function yt(t,e){this._pairs=[],t&&Pe(t,this,e)}const tn=yt.prototype;tn.append=function(e,r){this._pairs.push([e,r])},tn.toString=function(e){const r=e?function(n){return e.call(this,n,en)}:en;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ci(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rn(t,e,r){if(!e)return t;const n=r&&r.encode||Ci,o=r&&r.serialize;let s;if(o?s=o(e,r):s=m.isURLSearchParams(e)?e.toString():new yt(e,r).toString(n),s){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class nn{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){m.forEach(this.handlers,function(n){n!==null&&e(n)})}}const on={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ai={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:yt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},wt=typeof window<"u"&&typeof document<"u",Et=typeof navigator=="object"&&navigator||void 0,qi=wt&&(!Et||["ReactNative","NativeScript","NS"].indexOf(Et.product)<0),Di=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Si=wt&&window.location.href||"http://localhost",F={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wt,hasStandardBrowserEnv:qi,hasStandardBrowserWebWorkerEnv:Di,navigator:Et,origin:Si},Symbol.toStringTag,{value:"Module"})),...Ai};function Ti(t,e){return Pe(t,new F.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,s){return F.isNode&&m.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Ri(t){return m.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Li(t){const e={},r=Object.keys(t);let n;const o=r.length;let s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}function sn(t){function e(r,n,o,s){let c=r[s++];if(c==="__proto__")return!0;const i=Number.isFinite(+c),a=s>=r.length;return c=!c&&m.isArray(o)?o.length:c,a?(m.hasOwnProp(o,c)?o[c]=[o[c],n]:o[c]=n,!i):((!o[c]||!m.isObject(o[c]))&&(o[c]=[]),e(r,n,o[c],s)&&m.isArray(o[c])&&(o[c]=Li(o[c])),!i)}if(m.isFormData(t)&&m.isFunction(t.entries)){const r={};return m.forEachEntry(t,(n,o)=>{e(Ri(n),o,r,0)}),r}return null}function Ni(t,e,r){if(m.isString(t))try{return(e||JSON.parse)(t),m.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const xe={transitional:on,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,s=m.isObject(e);if(s&&m.isHTMLForm(e)&&(e=new FormData(e)),m.isFormData(e))return o?JSON.stringify(sn(e)):e;if(m.isArrayBuffer(e)||m.isBuffer(e)||m.isStream(e)||m.isFile(e)||m.isBlob(e)||m.isReadableStream(e))return e;if(m.isArrayBufferView(e))return e.buffer;if(m.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ti(e,this.formSerializer).toString();if((i=m.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Pe(i?{"files[]":e}:e,a&&new a,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),Ni(e)):e}],transformResponse:[function(e){const r=this.transitional||xe.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(m.isResponse(e)||m.isReadableStream(e))return e;if(e&&m.isString(e)&&(n&&!this.responseType||o)){const c=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(i){if(c)throw i.name==="SyntaxError"?D.from(i,D.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],t=>{xe.headers[t]={}});const Bi=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fi=t=>{const e={};let r,n,o;return t&&t.split(`
19
- `).forEach(function(c){o=c.indexOf(":"),r=c.substring(0,o).trim().toLowerCase(),n=c.substring(o+1).trim(),!(!r||e[r]&&Bi[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},cn=Symbol("internals");function _e(t){return t&&String(t).trim().toLowerCase()}function Ue(t){return t===!1||t==null?t:m.isArray(t)?t.map(Ue):String(t)}function Ii(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Mi=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ct(t,e,r,n,o){if(m.isFunction(n))return n.call(this,e,r);if(o&&(e=r),!!m.isString(e)){if(m.isString(n))return e.indexOf(n)!==-1;if(m.isRegExp(n))return n.test(e)}}function Oi(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Vi(t,e){const r=m.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(o,s,c){return this[n].call(this,e,o,s,c)},configurable:!0})})}class I{constructor(e){e&&this.set(e)}set(e,r,n){const o=this;function s(i,a,l){const u=_e(a);if(!u)throw new Error("header name must be a non-empty string");const f=m.findKey(o,u);(!f||o[f]===void 0||l===!0||l===void 0&&o[f]!==!1)&&(o[f||a]=Ue(i))}const c=(i,a)=>m.forEach(i,(l,u)=>s(l,u,a));if(m.isPlainObject(e)||e instanceof this.constructor)c(e,r);else if(m.isString(e)&&(e=e.trim())&&!Mi(e))c(Fi(e),r);else if(m.isHeaders(e))for(const[i,a]of e.entries())s(a,i,n);else e!=null&&s(r,e,n);return this}get(e,r){if(e=_e(e),e){const n=m.findKey(this,e);if(n){const o=this[n];if(!r)return o;if(r===!0)return Ii(o);if(m.isFunction(r))return r.call(this,o,n);if(m.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=_e(e),e){const n=m.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Ct(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let o=!1;function s(c){if(c=_e(c),c){const i=m.findKey(n,c);i&&(!r||Ct(n,n[i],i,r))&&(delete n[i],o=!0)}}return m.isArray(e)?e.forEach(s):s(e),o}clear(e){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const s=r[n];(!e||Ct(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){const r=this,n={};return m.forEach(this,(o,s)=>{const c=m.findKey(n,s);if(c){r[c]=Ue(o),delete r[s];return}const i=e?Oi(s):String(s).trim();i!==s&&delete r[s],r[i]=Ue(o),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return m.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=e&&m.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
20
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){const n=(this[cn]=this[cn]={accessors:{}}).accessors,o=this.prototype;function s(c){const i=_e(c);n[i]||(Vi(o,c),n[i]=!0)}return m.isArray(e)?e.forEach(s):s(e),this}}I.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),m.reduceDescriptors(I.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),m.freezeMethods(I);function At(t,e){const r=this||xe,n=e||r,o=I.from(n.headers);let s=n.data;return m.forEach(t,function(i){s=i.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function an(t){return!!(t&&t.__CANCEL__)}function fe(t,e,r){D.call(this,t??"canceled",D.ERR_CANCELED,e,r),this.name="CanceledError"}m.inherits(fe,D,{__CANCEL__:!0});function ln(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new D("Request failed with status code "+r.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Pi(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Ui(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o=0,s=0,c;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=n[s];c||(c=l),r[o]=a,n[o]=l;let f=s,d=0;for(;f!==o;)d+=r[f++],f=f%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-c<e)return;const h=u&&l-u;return h?Math.round(d*1e3/h):void 0}}function zi(t,e){let r=0,n=1e3/e,o,s;const c=(l,u=Date.now())=>{r=u,o=null,s&&(clearTimeout(s),s=null),t.apply(null,l)};return[(...l)=>{const u=Date.now(),f=u-r;f>=n?c(l,u):(o=l,s||(s=setTimeout(()=>{s=null,c(o)},n-f)))},()=>o&&c(o)]}const ze=(t,e,r=3)=>{let n=0;const o=Ui(50,250);return zi(s=>{const c=s.loaded,i=s.lengthComputable?s.total:void 0,a=c-n,l=o(a),u=c<=i;n=c;const f={loaded:c,total:i,progress:i?c/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-c)/l:void 0,event:s,lengthComputable:i!=null,[e?"download":"upload"]:!0};t(f)},r)},un=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},pn=t=>(...e)=>m.asap(()=>t(...e)),$i=F.hasStandardBrowserEnv?function(){const e=F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent),r=document.createElement("a");let n;function o(s){let c=s;return e&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(c){const i=m.isString(c)?o(c):c;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),Hi=F.hasStandardBrowserEnv?{write(t,e,r,n,o,s){const c=[t+"="+encodeURIComponent(e)];m.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),m.isString(n)&&c.push("path="+n),m.isString(o)&&c.push("domain="+o),s===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ji(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Gi(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function fn(t,e){return t&&!ji(e)?Gi(t,e):e}const dn=t=>t instanceof I?{...t}:t;function oe(t,e){e=e||{};const r={};function n(l,u,f){return m.isPlainObject(l)&&m.isPlainObject(u)?m.merge.call({caseless:f},l,u):m.isPlainObject(u)?m.merge({},u):m.isArray(u)?u.slice():u}function o(l,u,f){if(m.isUndefined(u)){if(!m.isUndefined(l))return n(void 0,l,f)}else return n(l,u,f)}function s(l,u){if(!m.isUndefined(u))return n(void 0,u)}function c(l,u){if(m.isUndefined(u)){if(!m.isUndefined(l))return n(void 0,l)}else return n(void 0,u)}function i(l,u,f){if(f in e)return n(l,u);if(f in t)return n(void 0,l)}const a={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i,headers:(l,u)=>o(dn(l),dn(u),!0)};return m.forEach(Object.keys(Object.assign({},t,e)),function(u){const f=a[u]||o,d=f(t[u],e[u],u);m.isUndefined(d)&&f!==i||(r[u]=d)}),r}const hn=t=>{const e=oe({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:s,headers:c,auth:i}=e;e.headers=c=I.from(c),e.url=rn(fn(e.baseURL,e.url),t.params,t.paramsSerializer),i&&c.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let a;if(m.isFormData(r)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((a=c.getContentType())!==!1){const[l,...u]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];c.setContentType([l||"multipart/form-data",...u].join("; "))}}if(F.hasStandardBrowserEnv&&(n&&m.isFunction(n)&&(n=n(e)),n||n!==!1&&$i(e.url))){const l=o&&s&&Hi.read(s);l&&c.set(o,l)}return e},Zi=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const o=hn(t);let s=o.data;const c=I.from(o.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:l}=o,u,f,d,h,g;function k(){h&&h(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function x(){if(!b)return;const C=I.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!i||i==="text"||i==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:C,config:t,request:b};ln(function(S){r(S),k()},function(S){n(S),k()},A),b=null}"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(x)},b.onabort=function(){b&&(n(new D("Request aborted",D.ECONNABORTED,t,b)),b=null)},b.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let q=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||on;o.timeoutErrorMessage&&(q=o.timeoutErrorMessage),n(new D(q,A.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,t,b)),b=null},s===void 0&&c.setContentType(null),"setRequestHeader"in b&&m.forEach(c.toJSON(),function(q,A){b.setRequestHeader(A,q)}),m.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),i&&i!=="json"&&(b.responseType=o.responseType),l&&([d,g]=ze(l,!0),b.addEventListener("progress",d)),a&&b.upload&&([f,h]=ze(a),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(u=C=>{b&&(n(!C||C.type?new fe(null,t,b):C),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const _=Pi(o.url);if(_&&F.protocols.indexOf(_)===-1){n(new D("Unsupported protocol "+_+":",D.ERR_BAD_REQUEST,t));return}b.send(s||null)})},Ji=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,o;const s=function(l){if(!o){o=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof D?u:new fe(u instanceof Error?u.message:u))}};let c=e&&setTimeout(()=>{c=null,s(new D(`timeout ${e} of ms exceeded`,D.ETIMEDOUT))},e);const i=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=()=>m.asap(i),a}},Wi=function*(t,e){let r=t.byteLength;if(!e||r<e){yield t;return}let n=0,o;for(;n<r;)o=n+e,yield t.slice(n,o),n=o},Ki=async function*(t,e){for await(const r of Yi(t))yield*Wi(r,e)},Yi=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},mn=(t,e,r,n)=>{const o=Ki(t,e);let s=0,c,i=a=>{c||(c=!0,n&&n(a))};return new ReadableStream({async pull(a){try{const{done:l,value:u}=await o.next();if(l){i(),a.close();return}let f=u.byteLength;if(r){let d=s+=f;r(d)}a.enqueue(new Uint8Array(u))}catch(l){throw i(l),l}},cancel(a){return i(a),o.return()}},{highWaterMark:2})},$e=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gn=$e&&typeof ReadableStream=="function",Qi=$e&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),bn=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Xi=gn&&bn(()=>{let t=!1;const e=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),kn=64*1024,qt=gn&&bn(()=>m.isReadableStream(new Response("").body)),He={stream:qt&&(t=>t.body)};$e&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!He[e]&&(He[e]=m.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new D(`Response type '${e}' is not supported`,D.ERR_NOT_SUPPORT,n)})})})(new Response);const ea=async t=>{if(t==null)return 0;if(m.isBlob(t))return t.size;if(m.isSpecCompliantForm(t))return(await new Request(F.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(m.isArrayBufferView(t)||m.isArrayBuffer(t))return t.byteLength;if(m.isURLSearchParams(t)&&(t=t+""),m.isString(t))return(await Qi(t)).byteLength},ta=async(t,e)=>{const r=m.toFiniteNumber(t.getContentLength());return r??ea(e)},Dt={http:yi,xhr:Zi,fetch:$e&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:c,onDownloadProgress:i,onUploadProgress:a,responseType:l,headers:u,withCredentials:f="same-origin",fetchOptions:d}=hn(t);l=l?(l+"").toLowerCase():"text";let h=Ji([o,s&&s.toAbortSignal()],c),g;const k=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(a&&Xi&&r!=="get"&&r!=="head"&&(b=await ta(u,n))!==0){let A=new Request(e,{method:"POST",body:n,duplex:"half"}),y;if(m.isFormData(n)&&(y=A.headers.get("content-type"))&&u.setContentType(y),A.body){const[S,L]=un(b,ze(pn(a)));n=mn(A.body,kn,S,L)}}m.isString(f)||(f=f?"include":"omit");const x="credentials"in Request.prototype;g=new Request(e,{...d,signal:h,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:x?f:void 0});let _=await fetch(g);const C=qt&&(l==="stream"||l==="response");if(qt&&(i||C&&k)){const A={};["status","statusText","headers"].forEach(B=>{A[B]=_[B]});const y=m.toFiniteNumber(_.headers.get("content-length")),[S,L]=i&&un(y,ze(pn(i),!0))||[];_=new Response(mn(_.body,kn,S,()=>{L&&L(),k&&k()}),A)}l=l||"text";let q=await He[m.findKey(He,l)||"text"](_,t);return!C&&k&&k(),await new Promise((A,y)=>{ln(A,y,{data:q,headers:I.from(_.headers),status:_.status,statusText:_.statusText,config:t,request:g})})}catch(x){throw k&&k(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,t,g),{cause:x.cause||x}):D.from(x,x&&x.code,t,g)}})};m.forEach(Dt,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const vn=t=>`- ${t}`,ra=t=>m.isFunction(t)||t===null||t===!1,xn={getAdapter:t=>{t=m.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let s=0;s<e;s++){r=t[s];let c;if(n=r,!ra(r)&&(n=Dt[(c=String(r)).toLowerCase()],n===void 0))throw new D(`Unknown adapter '${c}'`);if(n)break;o[c||"#"+s]=n}if(!n){const s=Object.entries(o).map(([i,a])=>`adapter ${i} `+(a===!1?"is not supported by the environment":"is not available in the build"));let c=e?s.length>1?`since :
16
+ `);return n},ie.prototype.render=function(t,e,r){var n,o,s,c="",i=this.rules;for(n=0,o=t.length;n<o;n++)s=t[n].type,s==="inline"?c+=this.renderInline(t[n].children,e,r):typeof i[s]<"u"?c+=i[s](t,n,e,r,this):c+=this.renderToken(t,n,e,r);return c};var uo=ie;function $(){this.__rules__=[],this.__cache__=null}$.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},$.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),t.__cache__={},e.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))})})},$.prototype.at=function(t,e,r){var n=this.__find__(t),o=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null},$.prototype.before=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},$.prototype.after=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},$.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},$.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!0,r.push(n)},this),this.__cache__=null,r},$.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,e)},$.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!1,r.push(n)},this),this.__cache__=null,r},$.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Qe=$,po=/\r\n?|\n/g,fo=/\0/g,ho=function(e){var r;r=e.src.replace(po,`
17
+ `),r=r.replace(fo,"�"),e.src=r},mo=function(e){var r;e.inlineMode?(r=new e.Token("inline","",0),r.content=e.src,r.map=[0,1],r.children=[],e.tokens.push(r)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},go=function(e){var r=e.tokens,n,o,s;for(o=0,s=r.length;o<s;o++)n=r[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)},bo=R.arrayReplaceAt;function ko(t){return/^<a[>\s]/i.test(t)}function xo(t){return/^<\/a\s*>/i.test(t)}var yo=function(e){var r,n,o,s,c,i,a,l,u,d,f,h,g,k,b,y,v=e.tokens,C;if(e.md.options.linkify){for(n=0,o=v.length;n<o;n++)if(!(v[n].type!=="inline"||!e.md.linkify.pretest(v[n].content)))for(s=v[n].children,g=0,r=s.length-1;r>=0;r--){if(i=s[r],i.type==="link_close"){for(r--;s[r].level!==i.level&&s[r].type!=="link_open";)r--;continue}if(i.type==="html_inline"&&(ko(i.content)&&g>0&&g--,xo(i.content)&&g++),!(g>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,C=e.md.linkify.match(u),a=[],h=i.level,f=0,C.length>0&&C[0].index===0&&r>0&&s[r-1].type==="text_special"&&(C=C.slice(1)),l=0;l<C.length;l++)k=C[l].url,b=e.md.normalizeLink(k),e.md.validateLink(b)&&(y=C[l].text,C[l].schema?C[l].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),d=C[l].index,d>f&&(c=new e.Token("text","",0),c.content=u.slice(f,d),c.level=h,a.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",b]],c.level=h++,c.markup="linkify",c.info="auto",a.push(c),c=new e.Token("text","",0),c.content=y,c.level=h,a.push(c),c=new e.Token("link_close","a",-1),c.level=--h,c.markup="linkify",c.info="auto",a.push(c),f=C[l].lastIndex);f<u.length&&(c=new e.Token("text","",0),c.content=u.slice(f),c.level=h,a.push(c)),v[n].children=s=bo(s,r,a)}}}},tr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,vo=/\((c|tm|r)\)/i,_o=/\((c|tm|r)\)/ig,wo={c:"©",r:"®",tm:"™"};function Eo(t,e){return wo[e.toLowerCase()]}function Co(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&(r.content=r.content.replace(_o,Eo)),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}function Ao(t){var e,r,n=0;for(e=t.length-1;e>=0;e--)r=t[e],r.type==="text"&&!n&&tr.test(r.content)&&(r.content=r.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–")),r.type==="link_open"&&r.info==="auto"&&n--,r.type==="link_close"&&r.info==="auto"&&n++}var qo=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type==="inline"&&(vo.test(e.tokens[r].content)&&Co(e.tokens[r].children),tr.test(e.tokens[r].content)&&Ao(e.tokens[r].children))},rr=R.isWhiteSpace,nr=R.isPunctChar,or=R.isMdAsciiPunct,Do=/['"]/,sr=/['"]/g,cr="’";function Ae(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function So(t,e){var r,n,o,s,c,i,a,l,u,d,f,h,g,k,b,y,v,C,q,A,_;for(q=[],r=0;r<t.length;r++){for(n=t[r],a=t[r].level,v=q.length-1;v>=0&&!(q[v].level<=a);v--);if(q.length=v+1,n.type==="text"){o=n.content,c=0,i=o.length;e:for(;c<i&&(sr.lastIndex=c,s=sr.exec(o),!!s);){if(b=y=!0,c=s.index+1,C=s[0]==="'",u=32,s.index-1>=0)u=o.charCodeAt(s.index-1);else for(v=r-1;v>=0&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v--)if(t[v].content){u=t[v].content.charCodeAt(t[v].content.length-1);break}if(d=32,c<i)d=o.charCodeAt(c);else for(v=r+1;v<t.length&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v++)if(t[v].content){d=t[v].content.charCodeAt(0);break}if(f=or(u)||nr(String.fromCharCode(u)),h=or(d)||nr(String.fromCharCode(d)),g=rr(u),k=rr(d),k?b=!1:h&&(g||f||(b=!1)),g?y=!1:f&&(k||h||(y=!1)),d===34&&s[0]==='"'&&u>=48&&u<=57&&(y=b=!1),b&&y&&(b=f,y=h),!b&&!y){C&&(n.content=Ae(n.content,s.index,cr));continue}if(y){for(v=q.length-1;v>=0&&(l=q[v],!(q[v].level<a));v--)if(l.single===C&&q[v].level===a){l=q[v],C?(A=e.md.options.quotes[2],_=e.md.options.quotes[3]):(A=e.md.options.quotes[0],_=e.md.options.quotes[1]),n.content=Ae(n.content,s.index,_),t[l.token].content=Ae(t[l.token].content,l.pos,A),c+=_.length-1,l.token===r&&(c+=A.length-1),o=n.content,i=o.length,q.length=v;continue e}}b?q.push({token:r,pos:s.index,single:C,level:a}):y&&C&&(n.content=Ae(n.content,s.index,cr))}}}}var To=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)e.tokens[r].type!=="inline"||!Do.test(e.tokens[r].content)||So(e.tokens[r].children,e)},Ro=function(e){var r,n,o,s,c,i,a=e.tokens;for(r=0,n=a.length;r<n;r++)if(a[r].type==="inline"){for(o=a[r].children,c=o.length,s=0;s<c;s++)o[s].type==="text_special"&&(o[s].type="text");for(s=i=0;s<c;s++)o[s].type==="text"&&s+1<c&&o[s+1].type==="text"?o[s+1].content=o[s].content+o[s+1].content:(s!==i&&(o[i]=o[s]),i++);s!==i&&(o.length=i)}};function ae(t,e,r){this.type=t,this.tag=e,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}ae.prototype.attrIndex=function(e){var r,n,o;if(!this.attrs)return-1;for(r=this.attrs,n=0,o=r.length;n<o;n++)if(r[n][0]===e)return n;return-1},ae.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},ae.prototype.attrSet=function(e,r){var n=this.attrIndex(e),o=[e,r];n<0?this.attrPush(o):this.attrs[n]=o},ae.prototype.attrGet=function(e){var r=this.attrIndex(e),n=null;return r>=0&&(n=this.attrs[r][1]),n},ae.prototype.attrJoin=function(e,r){var n=this.attrIndex(e);n<0?this.attrPush([e,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};var Xe=ae,Lo=Xe;function ir(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}ir.prototype.Token=Lo;var Bo=ir,No=Qe,et=[["normalize",ho],["block",mo],["inline",go],["linkify",yo],["replacements",qo],["smartquotes",To],["text_join",Ro]];function tt(){this.ruler=new No;for(var t=0;t<et.length;t++)this.ruler.push(et[t][0],et[t][1])}tt.prototype.process=function(t){var e,r,n;for(n=this.ruler.getRules(""),e=0,r=n.length;e<r;e++)n[e](t)},tt.prototype.State=Bo;var Fo=tt,rt=R.isSpace;function nt(t,e){var r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(r,n)}function ar(t){var e=[],r=0,n=t.length,o,s=!1,c=0,i="";for(o=t.charCodeAt(r);r<n;)o===124&&(s?(i+=t.substring(c,r-1),c=r):(e.push(i+t.substring(c,r)),i="",c=r+1)),s=o===92,r++,o=t.charCodeAt(r);return e.push(i+t.substring(c)),e}var Io=function(e,r,n,o){var s,c,i,a,l,u,d,f,h,g,k,b,y,v,C,q,A,_;if(r+2>n||(u=r+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(i=e.bMarks[u]+e.tShift[u],i>=e.eMarks[u])||(A=e.src.charCodeAt(i++),A!==124&&A!==45&&A!==58)||i>=e.eMarks[u]||(_=e.src.charCodeAt(i++),_!==124&&_!==45&&_!==58&&!rt(_))||A===45&&rt(_))return!1;for(;i<e.eMarks[u];){if(s=e.src.charCodeAt(i),s!==124&&s!==45&&s!==58&&!rt(s))return!1;i++}for(c=nt(e,r+1),d=c.split("|"),g=[],a=0;a<d.length;a++){if(k=d[a].trim(),!k){if(a===0||a===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?g.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?g.push("left"):g.push("")}if(c=nt(e,r).trim(),c.indexOf("|")===-1||e.sCount[r]-e.blkIndent>=4||(d=ar(c),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==g.length))return!1;if(o)return!0;for(v=e.parentType,e.parentType="table",q=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),h.map=b=[r,0],h=e.push("thead_open","thead",1),h.map=[r,r+1],h=e.push("tr_open","tr",1),h.map=[r,r+1],a=0;a<d.length;a++)h=e.push("th_open","th",1),g[a]&&(h.attrs=[["style","text-align:"+g[a]]]),h=e.push("inline","",0),h.content=d[a].trim(),h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),u=r+2;u<n&&!(e.sCount[u]<e.blkIndent);u++){for(C=!1,a=0,l=q.length;a<l;a++)if(q[a](e,u,n,!0)){C=!0;break}if(C||(c=nt(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(d=ar(c),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===r+2&&(h=e.push("tbody_open","tbody",1),h.map=y=[r+2,0]),h=e.push("tr_open","tr",1),h.map=[u,u+1],a=0;a<f;a++)h=e.push("td_open","td",1),g[a]&&(h.attrs=[["style","text-align:"+g[a]]]),h=e.push("inline","",0),h.content=d[a]?d[a].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return y&&(h=e.push("tbody_close","tbody",-1),y[1]=u),h=e.push("table_close","table",-1),b[1]=u,e.parentType=v,e.line=u,!0},Mo=function(e,r,n){var o,s,c;if(e.sCount[r]-e.blkIndent<4)return!1;for(s=o=r+1;o<n;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,c=e.push("code_block","code",0),c.content=e.getLines(r,s,4+e.blkIndent,!1)+`
18
+ `,c.map=[r,e.line],!0},Oo=function(e,r,n,o){var s,c,i,a,l,u,d,f=!1,h=e.bMarks[r]+e.tShift[r],g=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||h+3>g||(s=e.src.charCodeAt(h),s!==126&&s!==96)||(l=h,h=e.skipChars(h,s),c=h-l,c<3)||(d=e.src.slice(l,h),i=e.src.slice(h,g),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(a=r;a++,!(a>=n||(h=l=e.bMarks[a]+e.tShift[a],g=e.eMarks[a],h<g&&e.sCount[a]<e.blkIndent));)if(e.src.charCodeAt(h)===s&&!(e.sCount[a]-e.blkIndent>=4)&&(h=e.skipChars(h,s),!(h-l<c)&&(h=e.skipSpaces(h),!(h<g)))){f=!0;break}return c=e.sCount[r],e.line=a+(f?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(r+1,a,c,!0),u.markup=d,u.map=[r,e.line],!0},Vo=R.isSpace,Po=function(e,r,n,o){var s,c,i,a,l,u,d,f,h,g,k,b,y,v,C,q,A,_,S,L,N=e.lineMax,T=e.bMarks[r]+e.tShift[r],U=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(T)!==62)return!1;if(o)return!0;for(g=[],k=[],v=[],C=[],_=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",f=r;f<n&&(L=e.sCount[f]<e.blkIndent,T=e.bMarks[f]+e.tShift[f],U=e.eMarks[f],!(T>=U));f++){if(e.src.charCodeAt(T++)===62&&!L){for(a=e.sCount[f]+1,e.src.charCodeAt(T)===32?(T++,a++,s=!1,q=!0):e.src.charCodeAt(T)===9?(q=!0,(e.bsCount[f]+a)%4===3?(T++,a++,s=!1):s=!0):q=!1,h=a,g.push(e.bMarks[f]),e.bMarks[f]=T;T<U&&(c=e.src.charCodeAt(T),Vo(c));){c===9?h+=4-(h+e.bsCount[f]+(s?1:0))%4:h++;T++}u=T>=U,k.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(q?1:0),v.push(e.sCount[f]),e.sCount[f]=h-a,C.push(e.tShift[f]),e.tShift[f]=T-e.bMarks[f];continue}if(u)break;for(A=!1,i=0,l=_.length;i<l;i++)if(_[i](e,f,n,!0)){A=!0;break}if(A){e.lineMax=f,e.blkIndent!==0&&(g.push(e.bMarks[f]),k.push(e.bsCount[f]),C.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}g.push(e.bMarks[f]),k.push(e.bsCount[f]),C.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}for(b=e.blkIndent,e.blkIndent=0,S=e.push("blockquote_open","blockquote",1),S.markup=">",S.map=d=[r,0],e.md.block.tokenize(e,r,f),S=e.push("blockquote_close","blockquote",-1),S.markup=">",e.lineMax=N,e.parentType=y,d[1]=e.line,i=0;i<C.length;i++)e.bMarks[i+r]=g[i],e.tShift[i+r]=C[i],e.sCount[i+r]=v[i],e.bsCount[i+r]=k[i];return e.blkIndent=b,!0},Uo=R.isSpace,zo=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(l++),s!==42&&s!==45&&s!==95))return!1;for(c=1;l<u;){if(i=e.src.charCodeAt(l++),i!==s&&!Uo(i))return!1;i===s&&c++}return c<3?!1:(o||(e.line=r+1,a=e.push("hr","hr",0),a.map=[r,e.line],a.markup=Array(c+1).join(String.fromCharCode(s))),!0)},lr=R.isSpace;function ur(t,e){var r,n,o,s;return n=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],r=t.src.charCodeAt(n++),r!==42&&r!==45&&r!==43||n<o&&(s=t.src.charCodeAt(n),!lr(s))?-1:n}function pr(t,e){var r,n=t.bMarks[e]+t.tShift[e],o=n,s=t.eMarks[e];if(o+1>=s||(r=t.src.charCodeAt(o++),r<48||r>57))return-1;for(;;){if(o>=s)return-1;if(r=t.src.charCodeAt(o++),r>=48&&r<=57){if(o-n>=10)return-1;continue}if(r===41||r===46)break;return-1}return o<s&&(r=t.src.charCodeAt(o),!lr(r))?-1:o}function $o(t,e){var r,n,o=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===o&&t.tokens[r].type==="paragraph_open"&&(t.tokens[r+2].hidden=!0,t.tokens[r].hidden=!0,r+=2)}var Ho=function(e,r,n,o){var s,c,i,a,l,u,d,f,h,g,k,b,y,v,C,q,A,_,S,L,N,T,U,V,K,x,w,E=r,j=!1,fe=!0;if(e.sCount[E]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[E]-e.listIndent>=4&&e.sCount[E]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[E]>=e.blkIndent&&(j=!0),(T=pr(e,E))>=0){if(d=!0,V=e.bMarks[E]+e.tShift[E],y=Number(e.src.slice(V,T-1)),j&&y!==1)return!1}else if((T=ur(e,E))>=0)d=!1;else return!1;if(j&&e.skipSpaces(T)>=e.eMarks[E])return!1;if(o)return!0;for(b=e.src.charCodeAt(T-1),k=e.tokens.length,d?(w=e.push("ordered_list_open","ol",1),y!==1&&(w.attrs=[["start",y]])):w=e.push("bullet_list_open","ul",1),w.map=g=[E,0],w.markup=String.fromCharCode(b),U=!1,x=e.md.block.ruler.getRules("list"),A=e.parentType,e.parentType="list";E<n;){for(N=T,v=e.eMarks[E],u=C=e.sCount[E]+T-(e.bMarks[E]+e.tShift[E]);N<v;){if(s=e.src.charCodeAt(N),s===9)C+=4-(C+e.bsCount[E])%4;else if(s===32)C++;else break;N++}if(c=N,c>=v?l=1:l=C-u,l>4&&(l=1),a=u+l,w=e.push("list_item_open","li",1),w.markup=String.fromCharCode(b),w.map=f=[E,0],d&&(w.info=e.src.slice(V,T-1)),L=e.tight,S=e.tShift[E],_=e.sCount[E],q=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[E]=c-e.bMarks[E],e.sCount[E]=C,c>=v&&e.isEmpty(E+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,E,n,!0),(!e.tight||U)&&(fe=!1),U=e.line-E>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=q,e.tShift[E]=S,e.sCount[E]=_,e.tight=L,w=e.push("list_item_close","li",-1),w.markup=String.fromCharCode(b),E=e.line,f[1]=E,E>=n||e.sCount[E]<e.blkIndent||e.sCount[E]-e.blkIndent>=4)break;for(K=!1,i=0,h=x.length;i<h;i++)if(x[i](e,E,n,!0)){K=!0;break}if(K)break;if(d){if(T=pr(e,E),T<0)break;V=e.bMarks[E]+e.tShift[E]}else if(T=ur(e,E),T<0)break;if(b!==e.src.charCodeAt(T-1))break}return d?w=e.push("ordered_list_close","ol",-1):w=e.push("bullet_list_close","ul",-1),w.markup=String.fromCharCode(b),g[1]=E,e.line=E,e.parentType=A,fe&&$o(e,k),!0},jo=R.normalizeReference,qe=R.isSpace,Go=function(e,r,n,o){var s,c,i,a,l,u,d,f,h,g,k,b,y,v,C,q,A=0,_=e.bMarks[r]+e.tShift[r],S=e.eMarks[r],L=r+1;if(e.sCount[r]-e.blkIndent>=4||e.src.charCodeAt(_)!==91)return!1;for(;++_<S;)if(e.src.charCodeAt(_)===93&&e.src.charCodeAt(_-1)!==92){if(_+1===S||e.src.charCodeAt(_+1)!==58)return!1;break}for(a=e.lineMax,C=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";L<a&&!e.isEmpty(L);L++)if(!(e.sCount[L]-e.blkIndent>3)&&!(e.sCount[L]<0)){for(v=!1,u=0,d=C.length;u<d;u++)if(C[u](e,L,a,!0)){v=!0;break}if(v)break}for(y=e.getLines(r,L,e.blkIndent,!1).trim(),S=y.length,_=1;_<S;_++){if(s=y.charCodeAt(_),s===91)return!1;if(s===93){h=_;break}else s===10?A++:s===92&&(_++,_<S&&y.charCodeAt(_)===10&&A++)}if(h<0||y.charCodeAt(h+1)!==58)return!1;for(_=h+2;_<S;_++)if(s=y.charCodeAt(_),s===10)A++;else if(!qe(s))break;if(k=e.md.helpers.parseLinkDestination(y,_,S),!k.ok||(l=e.md.normalizeLink(k.str),!e.md.validateLink(l)))return!1;for(_=k.pos,A+=k.lines,c=_,i=A,b=_;_<S;_++)if(s=y.charCodeAt(_),s===10)A++;else if(!qe(s))break;for(k=e.md.helpers.parseLinkTitle(y,_,S),_<S&&b!==_&&k.ok?(q=k.str,_=k.pos,A+=k.lines):(q="",_=c,A=i);_<S&&(s=y.charCodeAt(_),!!qe(s));)_++;if(_<S&&y.charCodeAt(_)!==10&&q)for(q="",_=c,A=i;_<S&&(s=y.charCodeAt(_),!!qe(s));)_++;return _<S&&y.charCodeAt(_)!==10||(f=jo(y.slice(1,h)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:q,href:l}),e.parentType=g,e.line=r+A+1),!0)},Zo=["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"],De={},Jo="[a-zA-Z_:][a-zA-Z0-9:._-]*",Wo="[^\"'=<>`\\x00-\\x20]+",Ko="'[^']*'",Yo='"[^"]*"',Qo="(?:"+Wo+"|"+Ko+"|"+Yo+")",Xo="(?:\\s+"+Jo+"(?:\\s*=\\s*"+Qo+")?)",dr="<[A-Za-z][A-Za-z0-9\\-]*"+Xo+"*\\s*\\/?>",fr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",es="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",ts="<[?][\\s\\S]*?[?]>",rs="<![A-Z]+\\s+[^>]*>",ns="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",os=new RegExp("^(?:"+dr+"|"+fr+"|"+es+"|"+ts+"|"+rs+"|"+ns+")"),ss=new RegExp("^(?:"+dr+"|"+fr+")");De.HTML_TAG_RE=os,De.HTML_OPEN_CLOSE_TAG_RE=ss;var cs=Zo,is=De.HTML_OPEN_CLOSE_TAG_RE,le=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+cs.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(is.source+"\\s*$"),/^$/,!1]],as=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(a=e.src.slice(l,u),s=0;s<le.length&&!le[s][0].test(a);s++);if(s===le.length)return!1;if(o)return le[s][2];if(c=r+1,!le[s][1].test(a)){for(;c<n&&!(e.sCount[c]<e.blkIndent);c++)if(l=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],a=e.src.slice(l,u),le[s][1].test(a)){a.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[r,c],i.content=e.getLines(r,c,e.blkIndent,!0),!0},hr=R.isSpace,ls=function(e,r,n,o){var s,c,i,a,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||(s=e.src.charCodeAt(l),s!==35||l>=u))return!1;for(c=1,s=e.src.charCodeAt(++l);s===35&&l<u&&c<=6;)c++,s=e.src.charCodeAt(++l);return c>6||l<u&&!hr(s)?!1:(o||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&hr(e.src.charCodeAt(i-1))&&(u=i),e.line=r+1,a=e.push("heading_open","h"+String(c),1),a.markup="########".slice(0,c),a.map=[r,e.line],a=e.push("inline","",0),a.content=e.src.slice(l,u).trim(),a.map=[r,e.line],a.children=[],a=e.push("heading_close","h"+String(c),-1),a.markup="########".slice(0,c)),!0)},us=function(e,r,n){var o,s,c,i,a,l,u,d,f,h=r+1,g,k=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],u=e.eMarks[h],l<u&&(f=e.src.charCodeAt(l),(f===45||f===61)&&(l=e.skipChars(l,f),l=e.skipSpaces(l),l>=u)))){d=f===61?1:2;break}if(!(e.sCount[h]<0)){for(s=!1,c=0,i=k.length;c<i;c++)if(k[c](e,h,n,!0)){s=!0;break}if(s)break}}return d?(o=e.getLines(r,h,e.blkIndent,!1).trim(),e.line=h+1,a=e.push("heading_open","h"+String(d),1),a.markup=String.fromCharCode(f),a.map=[r,e.line],a=e.push("inline","",0),a.content=o,a.map=[r,e.line-1],a.children=[],a=e.push("heading_close","h"+String(d),-1),a.markup=String.fromCharCode(f),e.parentType=g,!0):!1},ps=function(e,r,n){var o,s,c,i,a,l,u=r+1,d=e.md.block.ruler.getRules("paragraph");for(l=e.parentType,e.parentType="paragraph";u<n&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(s=!1,c=0,i=d.length;c<i;c++)if(d[c](e,u,n,!0)){s=!0;break}if(s)break}return o=e.getLines(r,u,e.blkIndent,!1).trim(),e.line=u,a=e.push("paragraph_open","p",1),a.map=[r,e.line],a=e.push("inline","",0),a.content=o,a.map=[r,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},mr=Xe,Se=R.isSpace;function Z(t,e,r,n){var o,s,c,i,a,l,u,d;for(this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,d=!1,c=i=l=u=0,a=s.length;i<a;i++){if(o=s.charCodeAt(i),!d)if(Se(o)){l++,o===9?u+=4-u%4:u++;continue}else d=!0;(o===10||i===a-1)&&(o!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),d=!1,l=0,u=0,c=i+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Z.prototype.push=function(t,e,r){var n=new mr(t,e,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},Z.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Z.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Z.prototype.skipSpaces=function(e){for(var r,n=this.src.length;e<n&&(r=this.src.charCodeAt(e),!!Se(r));e++);return e},Z.prototype.skipSpacesBack=function(e,r){if(e<=r)return e;for(;e>r;)if(!Se(this.src.charCodeAt(--e)))return e+1;return e},Z.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},Z.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e},Z.prototype.getLines=function(e,r,n,o){var s,c,i,a,l,u,d,f=e;if(e>=r)return"";for(u=new Array(r-e),s=0;f<r;f++,s++){for(c=0,d=a=this.bMarks[f],f+1<r||o?l=this.eMarks[f]+1:l=this.eMarks[f];a<l&&c<n;){if(i=this.src.charCodeAt(a),Se(i))i===9?c+=4-(c+this.bsCount[f])%4:c++;else if(a-d<this.tShift[f])c++;else break;a++}c>n?u[s]=new Array(c-n+1).join(" ")+this.src.slice(a,l):u[s]=this.src.slice(a,l)}return u.join("")},Z.prototype.Token=mr;var ds=Z,fs=Qe,Te=[["table",Io,["paragraph","reference"]],["code",Mo],["fence",Oo,["paragraph","reference","blockquote","list"]],["blockquote",Po,["paragraph","reference","blockquote","list"]],["hr",zo,["paragraph","reference","blockquote","list"]],["list",Ho,["paragraph","reference","blockquote"]],["reference",Go],["html_block",as,["paragraph","reference","blockquote"]],["heading",ls,["paragraph","reference","blockquote"]],["lheading",us],["paragraph",ps]];function Re(){this.ruler=new fs;for(var t=0;t<Te.length;t++)this.ruler.push(Te[t][0],Te[t][1],{alt:(Te[t][2]||[]).slice()})}Re.prototype.tokenize=function(t,e,r){for(var n,o,s,c=this.ruler.getRules(""),i=c.length,a=e,l=!1,u=t.md.options.maxNesting;a<r&&(t.line=a=t.skipEmptyLines(a),!(a>=r||t.sCount[a]<t.blkIndent));){if(t.level>=u){t.line=r;break}for(s=t.line,o=0;o<i;o++)if(n=c[o](t,a,r,!1),n){if(s>=t.line)throw new Error("block rule didn't increment state.line");break}if(!n)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<r&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}},Re.prototype.parse=function(t,e,r,n){var o;t&&(o=new this.State(t,e,r,n),this.tokenize(o,o.line,o.lineMax))},Re.prototype.State=ds;var hs=Re;function ms(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var gs=function(e,r){for(var n=e.pos;n<e.posMax&&!ms(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)},bs=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,ks=function(e,r){var n,o,s,c,i,a,l,u;return!e.md.options.linkify||e.linkLevel>0||(n=e.pos,o=e.posMax,n+3>o)||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47||(s=e.pending.match(bs),!s)||(c=s[1],i=e.md.linkify.matchAtStart(e.src.slice(n-c.length)),!i)||(a=i.url,a.length<=c.length)||(a=a.replace(/\*+$/,""),l=e.md.normalizeLink(a),!e.md.validateLink(l))?!1:(r||(e.pending=e.pending.slice(0,-c.length),u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(a),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=a.length-c.length,!0)},xs=R.isSpace,ys=function(e,r){var n,o,s,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(s=n-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(c++;c<o&&xs(e.src.charCodeAt(c));)c++;return e.pos=c,!0},vs=R.isSpace,ot=[],gr=0;gr<256;gr++)ot.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){ot[t.charCodeAt(0)]=1});var _s=function(e,r){var n,o,s,c,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==92||(a++,a>=l))return!1;if(n=e.src.charCodeAt(a),n===10){for(r||e.push("hardbreak","br",0),a++;a<l&&(n=e.src.charCodeAt(a),!!vs(n));)a++;return e.pos=a,!0}return c=e.src[a],n>=55296&&n<=56319&&a+1<l&&(o=e.src.charCodeAt(a+1),o>=56320&&o<=57343&&(c+=e.src[a+1],a++)),s="\\"+c,r||(i=e.push("text_special","",0),n<256&&ot[n]!==0?i.content=c:i.content=s,i.markup=s,i.info="escape"),e.pos=a+1,!0},ws=function(e,r){var n,o,s,c,i,a,l,u,d=e.pos,f=e.src.charCodeAt(d);if(f!==96)return!1;for(n=d,d++,o=e.posMax;d<o&&e.src.charCodeAt(d)===96;)d++;if(s=e.src.slice(n,d),l=s.length,e.backticksScanned&&(e.backticks[l]||0)<=n)return r||(e.pending+=s),e.pos+=l,!0;for(a=d;(i=e.src.indexOf("`",a))!==-1;){for(a=i+1;a<o&&e.src.charCodeAt(a)===96;)a++;if(u=a-i,u===l)return r||(c=e.push("code_inline","code",0),c.markup=s,c.content=e.src.slice(d,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=i}return e.backticksScanned=!0,r||(e.pending+=s),e.pos+=l,!0},Le={};Le.tokenize=function(e,r){var n,o,s,c,i,a=e.pos,l=e.src.charCodeAt(a);if(r||l!==126||(o=e.scanDelims(e.pos,!0),c=o.length,i=String.fromCharCode(l),c<2))return!1;for(c%2&&(s=e.push("text","",0),s.content=i,c--),n=0;n<c;n+=2)s=e.push("text","",0),s.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function br(t,e){var r,n,o,s,c,i=[],a=e.length;for(r=0;r<a;r++)o=e[r],o.marker===126&&o.end!==-1&&(s=e[o.end],c=t.tokens[o.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[s.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&i.push(s.token-1));for(;i.length;){for(r=i.pop(),n=r+1;n<t.tokens.length&&t.tokens[n].type==="s_close";)n++;n--,r!==n&&(c=t.tokens[n],t.tokens[n]=t.tokens[r],t.tokens[r]=c)}}Le.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(br(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&br(e,n[r].delimiters)};var Be={};Be.tokenize=function(e,r){var n,o,s,c=e.pos,i=e.src.charCodeAt(c);if(r||i!==95&&i!==42)return!1;for(o=e.scanDelims(e.pos,i===42),n=0;n<o.length;n++)s=e.push("text","",0),s.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function kr(t,e){var r,n,o,s,c,i,a=e.length;for(r=a-1;r>=0;r--)n=e[r],!(n.marker!==95&&n.marker!==42)&&n.end!==-1&&(o=e[n.end],i=r>0&&e[r-1].end===n.end+1&&e[r-1].marker===n.marker&&e[r-1].token===n.token-1&&e[n.end+1].token===o.token+1,c=String.fromCharCode(n.marker),s=t.tokens[n.token],s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?c+c:c,s.content="",s=t.tokens[o.token],s.type=i?"strong_close":"em_close",s.tag=i?"strong":"em",s.nesting=-1,s.markup=i?c+c:c,s.content="",i&&(t.tokens[e[r-1].token].content="",t.tokens[e[n.end+1].token].content="",r--))}Be.postProcess=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(kr(e,e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&kr(e,n[r].delimiters)};var Es=R.normalizeReference,st=R.isSpace,Cs=function(e,r){var n,o,s,c,i,a,l,u,d,f="",h="",g=e.pos,k=e.posMax,b=e.pos,y=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(a=c+1,a<k&&e.src.charCodeAt(a)===40){for(y=!1,a++;a<k&&(o=e.src.charCodeAt(a),!(!st(o)&&o!==10));a++);if(a>=k)return!1;if(b=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok){for(f=e.md.normalizeLink(l.str),e.md.validateLink(f)?a=l.pos:f="",b=a;a<k&&(o=e.src.charCodeAt(a),!(!st(o)&&o!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<k&&b!==a&&l.ok)for(h=l.str,a=l.pos;a<k&&(o=e.src.charCodeAt(a),!(!st(o)&&o!==10));a++);}(a>=k||e.src.charCodeAt(a)!==41)&&(y=!0),a++}if(y){if(typeof e.env.references>"u")return!1;if(a<k&&e.src.charCodeAt(a)===91?(b=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?s=e.src.slice(b,a++):a=c+1):a=c+1,s||(s=e.src.slice(i,c)),u=e.env.references[Es(s)],!u)return e.pos=g,!1;f=u.href,h=u.title}return r||(e.pos=i,e.posMax=c,d=e.push("link_open","a",1),d.attrs=n=[["href",f]],h&&n.push(["title",h]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,d=e.push("link_close","a",-1)),e.pos=a,e.posMax=k,!0},As=R.normalizeReference,ct=R.isSpace,qs=function(e,r){var n,o,s,c,i,a,l,u,d,f,h,g,k,b="",y=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(a=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(o=e.src.charCodeAt(l),!(!ct(o)&&o!==10));l++);if(l>=v)return!1;for(k=l,d=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),d.ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?l=d.pos:b=""),k=l;l<v&&(o=e.src.charCodeAt(l),!(!ct(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&k!==l&&d.ok)for(f=d.str,l=d.pos;l<v&&(o=e.src.charCodeAt(l),!(!ct(o)&&o!==10));l++);else f="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(k=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(k,l++):l=i+1):l=i+1,c||(c=e.src.slice(a,i)),u=e.env.references[As(c)],!u)return e.pos=y,!1;b=u.href,f=u.title}return r||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",b],["alt",""]],h.children=g,h.content=s,f&&n.push(["title",f])),e.pos=l,e.posMax=v,!0},Ds=/^([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])?)*)$/,Ss=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ts=function(e,r){var n,o,s,c,i,a,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a||(c=e.src.charCodeAt(l),c===60))return!1;if(c===62)break}return n=e.src.slice(i+1,l),Ss.test(n)?(o=e.md.normalizeLink(n),e.md.validateLink(o)?(r||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):Ds.test(n)?(o=e.md.normalizeLink("mailto:"+n),e.md.validateLink(o)?(r||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):!1},Rs=De.HTML_TAG_RE;function Ls(t){return/^<a[>\s]/i.test(t)}function Bs(t){return/^<\/a\s*>/i.test(t)}function Ns(t){var e=t|32;return e>=97&&e<=122}var Fs=function(e,r){var n,o,s,c,i=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(i)!==60||i+2>=s)||(n=e.src.charCodeAt(i+1),n!==33&&n!==63&&n!==47&&!Ns(n))||(o=e.src.slice(i).match(Rs),!o)?!1:(r||(c=e.push("html_inline","",0),c.content=o[0],Ls(c.content)&&e.linkLevel++,Bs(c.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},xr=Ot,Is=R.has,Ms=R.isValidEntityCode,yr=R.fromCodePoint,Os=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Vs=/^&([a-z][a-z0-9]{1,31});/i,Ps=function(e,r){var n,o,s,c,i=e.pos,a=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=a)return!1;if(n=e.src.charCodeAt(i+1),n===35){if(s=e.src.slice(i).match(Os),s)return r||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),c=e.push("text_special","",0),c.content=Ms(o)?yr(o):yr(65533),c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(i).match(Vs),s&&Is(xr,s[1]))return r||(c=e.push("text_special","",0),c.content=xr[s[1]],c.markup=s[0],c.info="entity"),e.pos+=s[0].length,!0;return!1};function vr(t){var e,r,n,o,s,c,i,a,l={},u=t.length;if(u){var d=0,f=-2,h=[];for(e=0;e<u;e++)if(n=t[e],h.push(0),(t[d].marker!==n.marker||f!==n.token-1)&&(d=e),f=n.token,n.length=n.length||0,!!n.close){for(l.hasOwnProperty(n.marker)||(l[n.marker]=[-1,-1,-1,-1,-1,-1]),s=l[n.marker][(n.open?3:0)+n.length%3],r=d-h[d]-1,c=r;r>s;r-=h[r]+1)if(o=t[r],o.marker===n.marker&&o.open&&o.end<0&&(i=!1,(o.close||n.open)&&(o.length+n.length)%3===0&&(o.length%3!==0||n.length%3!==0)&&(i=!0),!i)){a=r>0&&!t[r-1].open?h[r-1]+1:0,h[e]=e-r+a,h[r]=a,n.open=!1,o.end=e,o.close=!1,c=-1,f=-2;break}c!==-1&&(l[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}}var Us=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(vr(e.delimiters),r=0;r<o;r++)n[r]&&n[r].delimiters&&vr(n[r].delimiters)},zs=function(e){var r,n,o=0,s=e.tokens,c=e.tokens.length;for(r=n=0;r<c;r++)s[r].nesting<0&&o--,s[r].level=o,s[r].nesting>0&&o++,s[r].type==="text"&&r+1<c&&s[r+1].type==="text"?s[r+1].content=s[r].content+s[r+1].content:(r!==n&&(s[n]=s[r]),n++);r!==n&&(s.length=n)},it=Xe,_r=R.isWhiteSpace,wr=R.isPunctChar,Er=R.isMdAsciiPunct;function he(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.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}he.prototype.pushPending=function(){var t=new it("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},he.prototype.push=function(t,e,r){this.pending&&this.pushPending();var n=new it(t,e,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},he.prototype.scanDelims=function(t,e){var r=t,n,o,s,c,i,a,l,u,d,f=!0,h=!0,g=this.posMax,k=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;r<g&&this.src.charCodeAt(r)===k;)r++;return s=r-t,o=r<g?this.src.charCodeAt(r):32,l=Er(n)||wr(String.fromCharCode(n)),d=Er(o)||wr(String.fromCharCode(o)),a=_r(n),u=_r(o),u?f=!1:d&&(a||l||(f=!1)),a?h=!1:l&&(u||d||(h=!1)),e?(c=f,i=h):(c=f&&(!h||l),i=h&&(!f||d)),{can_open:c,can_close:i,length:s}},he.prototype.Token=it;var $s=he,Cr=Qe,at=[["text",gs],["linkify",ks],["newline",ys],["escape",_s],["backticks",ws],["strikethrough",Le.tokenize],["emphasis",Be.tokenize],["link",Cs],["image",qs],["autolink",Ts],["html_inline",Fs],["entity",Ps]],lt=[["balance_pairs",Us],["strikethrough",Le.postProcess],["emphasis",Be.postProcess],["fragments_join",zs]];function me(){var t;for(this.ruler=new Cr,t=0;t<at.length;t++)this.ruler.push(at[t][0],at[t][1]);for(this.ruler2=new Cr,t=0;t<lt.length;t++)this.ruler2.push(lt[t][0],lt[t][1])}me.prototype.skipToken=function(t){var e,r,n=t.pos,o=this.ruler.getRules(""),s=o.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[n]<"u"){t.pos=i[n];return}if(t.level<c){for(r=0;r<s;r++)if(t.level++,e=o[r](t,!0),t.level--,e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[n]=t.pos},me.prototype.tokenize=function(t){for(var e,r,n,o=this.ruler.getRules(""),s=o.length,c=t.posMax,i=t.md.options.maxNesting;t.pos<c;){if(n=t.pos,t.level<i){for(r=0;r<s;r++)if(e=o[r](t,!1),e){if(n>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=c)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},me.prototype.parse=function(t,e,r,n){var o,s,c,i=new this.State(t,e,r,n);for(this.tokenize(i),s=this.ruler2.getRules(""),c=s.length,o=0;o<c;o++)s[o](i)},me.prototype.State=$s;var Hs=me,ut,Ar;function js(){return Ar||(Ar=1,ut=function(t){var e={};t=t||{},e.src_Any=Zt().source,e.src_Cc=Wt().source,e.src_Z=Qt().source,e.src_P=Ze.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var r="[><|]";return e.src_pseudo_letter="(?:(?!"+r+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+r+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ut}function pt(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function Ne(t){return Object.prototype.toString.call(t)}function Gs(t){return Ne(t)==="[object String]"}function Zs(t){return Ne(t)==="[object Object]"}function Js(t){return Ne(t)==="[object RegExp]"}function qr(t){return Ne(t)==="[object Function]"}function Ws(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Dr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ks(t){return Object.keys(t||{}).reduce(function(e,r){return e||Dr.hasOwnProperty(r)},!1)}var Ys={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Qs="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]",Xs="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ec(t){t.__index__=-1,t.__text_cache__=""}function tc(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function Sr(){return function(t,e){e.normalize(t)}}function Fe(t){var e=t.re=js()(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(Qs),r.push(e.src_xn),e.src_tlds=r.join("|");function n(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function s(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(t.__schemas__).forEach(function(i){var a=t.__schemas__[i];if(a!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,Zs(a)){Js(a.validate)?l.validate=tc(a.validate):qr(a.validate)?l.validate=a.validate:s(i,a),qr(a.normalize)?l.normalize=a.normalize:a.normalize?s(i,a):l.normalize=Sr();return}if(Gs(a)){o.push(i);return}s(i,a)}}),o.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:Sr()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Ws).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),ec(t)}function rc(t,e){var r=t.__index__,n=t.__last_index__,o=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=o,this.text=o,this.url=o}function dt(t,e){var r=new rc(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function M(t,e){if(!(this instanceof M))return new M(t,e);e||Ks(t)&&(e=t,t={}),this.__opts__=pt({},Dr,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pt({},Ys,t),this.__compiled__={},this.__tlds__=Xs,this.__tlds_replaced__=!1,this.re={},Fe(this)}M.prototype.add=function(e,r){return this.__schemas__[e]=r,Fe(this),this},M.prototype.set=function(e){return this.__opts__=pt(this.__opts__,e),this},M.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,n,o,s,c,i,a,l,u;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(r=a.exec(e))!==null;)if(s=this.testSchemaAt(e,r[2],a.lastIndex),s){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=n.index+n[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(c=o.index+o[1].length,i=o.index+o[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},M.prototype.pretest=function(e){return this.re.pretest.test(e)},M.prototype.testSchemaAt=function(e,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,n,this):0},M.prototype.match=function(e){var r=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(dt(this,r)),r=this.__last_index__);for(var o=r?e.slice(r):e;this.test(o);)n.push(dt(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null},M.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var r=this.re.schema_at_start.exec(e);if(!r)return null;var n=this.testSchemaAt(e,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,dt(this,0)):null},M.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,o,s){return n!==s[o-1]}).reverse(),Fe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Fe(this),this)},M.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},M.prototype.onCompile=function(){};var nc=M;const ue=2147483647,J=36,ft=1,ge=26,oc=38,sc=700,Tr=72,Rr=128,Lr="-",cc=/^xn--/,ic=/[^\0-\x7F]/,ac=/[\x2E\u3002\uFF0E\uFF61]/g,lc={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ht=J-ft,W=Math.floor,mt=String.fromCharCode;function Q(t){throw new RangeError(lc[t])}function uc(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function Br(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(ac,".");const o=t.split("."),s=uc(o,e).join(".");return n+s}function gt(t){const e=[];let r=0;const n=t.length;for(;r<n;){const o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const s=t.charCodeAt(r++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),r--)}else e.push(o)}return e}const Nr=t=>String.fromCodePoint(...t),pc=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:J},Fr=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Ir=function(t,e,r){let n=0;for(t=r?W(t/sc):t>>1,t+=W(t/e);t>ht*ge>>1;n+=J)t=W(t/ht);return W(n+(ht+1)*t/(t+oc))},bt=function(t){const e=[],r=t.length;let n=0,o=Rr,s=Tr,c=t.lastIndexOf(Lr);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&Q("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<r;){const a=n;for(let u=1,d=J;;d+=J){i>=r&&Q("invalid-input");const f=pc(t.charCodeAt(i++));f>=J&&Q("invalid-input"),f>W((ue-n)/u)&&Q("overflow"),n+=f*u;const h=d<=s?ft:d>=s+ge?ge:d-s;if(f<h)break;const g=J-h;u>W(ue/g)&&Q("overflow"),u*=g}const l=e.length+1;s=Ir(n-a,l,a==0),W(n/l)>ue-o&&Q("overflow"),o+=W(n/l),n%=l,e.splice(n++,0,o)}return String.fromCodePoint(...e)},kt=function(t){const e=[];t=gt(t);const r=t.length;let n=Rr,o=0,s=Tr;for(const a of t)a<128&&e.push(mt(a));const c=e.length;let i=c;for(c&&e.push(Lr);i<r;){let a=ue;for(const u of t)u>=n&&u<a&&(a=u);const l=i+1;a-n>W((ue-o)/l)&&Q("overflow"),o+=(a-n)*l,n=a;for(const u of t)if(u<n&&++o>ue&&Q("overflow"),u===n){let d=o;for(let f=J;;f+=J){const h=f<=s?ft:f>=s+ge?ge:f-s;if(d<h)break;const g=d-h,k=J-h;e.push(mt(Fr(h+g%k,0))),d=W(g/k)}e.push(mt(Fr(d,0))),s=Ir(o,l,i===c),o=0,++i}++o,++n}return e.join("")},Mr=function(t){return Br(t,function(e){return cc.test(e)?bt(e.slice(4).toLowerCase()):e})},Or=function(t){return Br(t,function(e){return ic.test(e)?"xn--"+kt(e):e})},dc=Pn(Object.freeze(Object.defineProperty({__proto__:null,decode:bt,default:{version:"2.3.1",ucs2:{decode:gt,encode:Nr},decode:bt,encode:kt,toASCII:Or,toUnicode:Mr},encode:kt,toASCII:Or,toUnicode:Mr,ucs2decode:gt,ucs2encode:Nr},Symbol.toStringTag,{value:"Module"})));var fc={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},hc={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"]}}},mc={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"]}}},be=R,gc=Ce,bc=uo,kc=Fo,xc=hs,yc=Hs,vc=nc,re=ce,Vr=dc,_c={default:fc,zero:hc,commonmark:mc},wc=/^(vbscript|javascript|file|data):/,Ec=/^data:image\/(gif|png|jpeg|webp);/;function Cc(t){var e=t.trim().toLowerCase();return wc.test(e)?!!Ec.test(e):!0}var Pr=["http:","https:","mailto:"];function Ac(t){var e=re.parse(t,!0);if(e.hostname&&(!e.protocol||Pr.indexOf(e.protocol)>=0))try{e.hostname=Vr.toASCII(e.hostname)}catch{}return re.encode(re.format(e))}function qc(t){var e=re.parse(t,!0);if(e.hostname&&(!e.protocol||Pr.indexOf(e.protocol)>=0))try{e.hostname=Vr.toUnicode(e.hostname)}catch{}return re.decode(re.format(e),re.decode.defaultChars+"%")}function P(t,e){if(!(this instanceof P))return new P(t,e);e||be.isString(t)||(e=t||{},t="default"),this.inline=new yc,this.block=new xc,this.core=new kc,this.renderer=new bc,this.linkify=new vc,this.validateLink=Cc,this.normalizeLink=Ac,this.normalizeLinkText=qc,this.utils=be,this.helpers=be.assign({},gc),this.options={},this.configure(t),e&&this.set(e)}P.prototype.set=function(t){return be.assign(this.options,t),this},P.prototype.configure=function(t){var e=this,r;if(be.isString(t)&&(r=t,t=_c[r],!t))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)}),this},P.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},P.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));var n=t.filter(function(o){return r.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},P.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},P.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var r=new this.core.State(t,this,e);return this.core.process(r),r.tokens},P.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},P.prototype.parseInline=function(t,e){var r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens},P.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Dc=P,Sc=Dc;const Tc=Vn(Sc),Rc=p.defineComponent({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=p.ref(new Tc(t.options??{}));for(const n of t.plugins??[])e.value.use(n);const r=p.computed(()=>e.value.render(t.source));return()=>p.h("div",{innerHTML:r.value})}}),Lc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 31.8 512 448.18"};function Bc(t,e){return p.openBlock(),p.createElementBlock("svg",Lc,e[0]||(e[0]=[p.createElementVNode("path",{d:"M323.8 477.2c-38.2 10.9-78.1-11.2-89-49.4l-5.7-20c-3.7-13-10.4-25-19.5-35l-51.3-56.4c-8.9-9.8-8.2-25 1.6-33.9s25-8.2 33.9 1.6l51.3 56.4c14.1 15.5 24.4 34 30.1 54.1l5.7 20c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7l-5.7-20c-5.7-19.9-14.7-38.7-26.6-55.5-5.2-7.3-5.8-16.9-1.7-24.9s12.3-13 21.3-13H448c8.8 0 16-7.2 16-16 0-6.8-4.3-12.7-10.4-15-7.4-2.8-13-9-14.9-16.7s.1-15.8 5.3-21.7c2.5-2.8 4-6.5 4-10.6 0-7.8-5.6-14.3-13-15.7-8.2-1.6-15.1-7.3-18-15.2s-1.6-16.7 3.6-23.3c2.1-2.7 3.4-6.1 3.4-9.9 0-6.7-4.2-12.6-10.2-14.9-11.5-4.5-17.7-16.9-14.4-28.8.4-1.3.6-2.8.6-4.3 0-8.8-7.2-16-16-16h-97.5c-12.6 0-25 3.7-35.5 10.7l-61.7 41.1c-11 7.4-25.9 4.4-33.3-6.7s-4.4-25.9 6.7-33.3l61.7-41.1c18.4-12.3 40-18.8 62.1-18.8l97.5.2c34.7 0 62.9 27.6 64 62 14.6 11.7 24 29.7 24 50 0 4.5-.5 8.8-1.3 13 15.4 11.7 25.3 30.2 25.3 51 0 6.5-1 12.8-2.8 18.7 11.6 11.6 18.8 27.6 18.8 45.3 0 35.3-28.6 64-64 64h-92.3c4.7 10.4 8.7 21.2 11.8 32.2l5.7 20c10.9 38.2-11.2 78.1-49.4 89M32 384c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v224c0 17.7-14.3 32-32 32z"},null,-1)]))}const Nc={render:Bc},Fc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 32.02 512 448.18"};function Ic(t,e){return p.openBlock(),p.createElementBlock("svg",Fc,e[0]||(e[0]=[p.createElementVNode("path",{d:"M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13H448c8.8 0 16 7.2 16 16 0 6.8-4.3 12.7-10.4 15-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6 0 7.8-5.6 14.3-13 15.7-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9 0 6.7-4.2 12.6-10.2 14.9-11.5 4.5-17.7 16.9-14.4 28.8.4 1.3.6 2.8.6 4.3 0 8.8-7.2 16-16 16h-97.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62 14.6-11.7 24-29.7 24-50 0-4.5-.5-8.8-1.3-13 15.4-11.7 25.3-30.2 25.3-51 0-6.5-1-12.8-2.8-18.7 11.6-11.8 18.8-27.8 18.8-45.5 0-35.3-28.6-64-64-64h-92.3c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89M32 192c-17.7 0-32 14.3-32 32v224c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32z"},null,-1)]))}const Mc={render:Ic},Ur="infoAuth";function zr(t,e){return function(){return t.apply(e,arguments)}}const{toString:Oc}=Object.prototype,{getPrototypeOf:xt}=Object,Ie=(t=>e=>{const r=Oc.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),H=t=>(t=t.toLowerCase(),e=>Ie(e)===t),Me=t=>e=>typeof e===t,{isArray:pe}=Array,ke=Me("undefined");function Vc(t){return t!==null&&!ke(t)&&t.constructor!==null&&!ke(t.constructor)&&O(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const $r=H("ArrayBuffer");function Pc(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&$r(t.buffer),e}const Uc=Me("string"),O=Me("function"),Hr=Me("number"),Oe=t=>t!==null&&typeof t=="object",zc=t=>t===!0||t===!1,Ve=t=>{if(Ie(t)!=="object")return!1;const e=xt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},$c=H("Date"),Hc=H("File"),jc=H("Blob"),Gc=H("FileList"),Zc=t=>Oe(t)&&O(t.pipe),Jc=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||O(t.append)&&((e=Ie(t))==="formdata"||e==="object"&&O(t.toString)&&t.toString()==="[object FormData]"))},Wc=H("URLSearchParams"),[Kc,Yc,Qc,Xc]=["ReadableStream","Request","Response","Headers"].map(H),ei=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xe(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,o;if(typeof t!="object"&&(t=[t]),pe(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),c=s.length;let i;for(n=0;n<c;n++)i=s[n],e.call(null,t[i],i,t)}}function jr(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,o;for(;n-- >0;)if(o=r[n],e===o.toLowerCase())return o;return null}const ne=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Gr=t=>!ke(t)&&t!==ne;function yt(){const{caseless:t}=Gr(this)&&this||{},e={},r=(n,o)=>{const s=t&&jr(e,o)||o;Ve(e[s])&&Ve(n)?e[s]=yt(e[s],n):Ve(n)?e[s]=yt({},n):pe(n)?e[s]=n.slice():e[s]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&xe(arguments[n],r);return e}const ti=(t,e,r,{allOwnKeys:n}={})=>(xe(e,(o,s)=>{r&&O(o)?t[s]=zr(o,r):t[s]=o},{allOwnKeys:n}),t),ri=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ni=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},oi=(t,e,r,n)=>{let o,s,c;const i={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)c=o[s],(!n||n(c,t,e))&&!i[c]&&(e[c]=t[c],i[c]=!0);t=r!==!1&&xt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},si=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},ci=t=>{if(!t)return null;if(pe(t))return t;let e=t.length;if(!Hr(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},ii=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&xt(Uint8Array)),ai=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=n.next())&&!o.done;){const s=o.value;e.call(t,s[0],s[1])}},li=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},ui=H("HTMLFormElement"),pi=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Zr=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),di=H("RegExp"),Jr=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};xe(r,(o,s)=>{let c;(c=e(o,s,t))!==!1&&(n[s]=c||o)}),Object.defineProperties(t,n)},fi=t=>{Jr(t,(e,r)=>{if(O(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(O(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},hi=(t,e)=>{const r={},n=o=>{o.forEach(s=>{r[s]=!0})};return pe(t)?n(t):n(String(t).split(e)),r},mi=()=>{},gi=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,vt="abcdefghijklmnopqrstuvwxyz",Wr="0123456789",Kr={DIGIT:Wr,ALPHA:vt,ALPHA_DIGIT:vt+vt.toUpperCase()+Wr},bi=(t=16,e=Kr.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function ki(t){return!!(t&&O(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const xi=t=>{const e=new Array(10),r=(n,o)=>{if(Oe(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[o]=n;const s=pe(n)?[]:{};return xe(n,(c,i)=>{const a=r(c,o+1);!ke(a)&&(s[i]=a)}),e[o]=void 0,s}}return n};return r(t,0)},yi=H("AsyncFunction"),vi=t=>t&&(Oe(t)||O(t))&&O(t.then)&&O(t.catch),Yr=((t,e)=>t?setImmediate:e?((r,n)=>(ne.addEventListener("message",({source:o,data:s})=>{o===ne&&s===r&&n.length&&n.shift()()},!1),o=>{n.push(o),ne.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",O(ne.postMessage)),_i=typeof queueMicrotask<"u"?queueMicrotask.bind(ne):typeof process<"u"&&process.nextTick||Yr,m={isArray:pe,isArrayBuffer:$r,isBuffer:Vc,isFormData:Jc,isArrayBufferView:Pc,isString:Uc,isNumber:Hr,isBoolean:zc,isObject:Oe,isPlainObject:Ve,isReadableStream:Kc,isRequest:Yc,isResponse:Qc,isHeaders:Xc,isUndefined:ke,isDate:$c,isFile:Hc,isBlob:jc,isRegExp:di,isFunction:O,isStream:Zc,isURLSearchParams:Wc,isTypedArray:ii,isFileList:Gc,forEach:xe,merge:yt,extend:ti,trim:ei,stripBOM:ri,inherits:ni,toFlatObject:oi,kindOf:Ie,kindOfTest:H,endsWith:si,toArray:ci,forEachEntry:ai,matchAll:li,isHTMLForm:ui,hasOwnProperty:Zr,hasOwnProp:Zr,reduceDescriptors:Jr,freezeMethods:fi,toObjectSet:hi,toCamelCase:pi,noop:mi,toFiniteNumber:gi,findKey:jr,global:ne,isContextDefined:Gr,ALPHABET:Kr,generateString:bi,isSpecCompliantForm:ki,toJSONObject:xi,isAsyncFn:yi,isThenable:vi,setImmediate:Yr,asap:_i};function D(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}m.inherits(D,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:m.toJSONObject(this.config),code:this.code,status:this.status}}});const Qr=D.prototype,Xr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Xr[t]={value:t}}),Object.defineProperties(D,Xr),Object.defineProperty(Qr,"isAxiosError",{value:!0}),D.from=(t,e,r,n,o,s)=>{const c=Object.create(Qr);return m.toFlatObject(t,c,function(a){return a!==Error.prototype},i=>i!=="isAxiosError"),D.call(c,t.message,e,r,n,o),c.cause=t,c.name=t.name,s&&Object.assign(c,s),c};const wi=null;function _t(t){return m.isPlainObject(t)||m.isArray(t)}function en(t){return m.endsWith(t,"[]")?t.slice(0,-2):t}function tn(t,e,r){return t?t.concat(e).map(function(o,s){return o=en(o),!r&&s?"["+o+"]":o}).join(r?".":""):e}function Ei(t){return m.isArray(t)&&!t.some(_t)}const Ci=m.toFlatObject(m,{},null,function(e){return/^is[A-Z]/.test(e)});function Pe(t,e,r){if(!m.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=m.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,b){return!m.isUndefined(b[k])});const n=r.metaTokens,o=r.visitor||u,s=r.dots,c=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(e);if(!m.isFunction(o))throw new TypeError("visitor must be a function");function l(g){if(g===null)return"";if(m.isDate(g))return g.toISOString();if(!a&&m.isBlob(g))throw new D("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(g)||m.isTypedArray(g)?a&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,k,b){let y=g;if(g&&!b&&typeof g=="object"){if(m.endsWith(k,"{}"))k=n?k:k.slice(0,-2),g=JSON.stringify(g);else if(m.isArray(g)&&Ei(g)||(m.isFileList(g)||m.endsWith(k,"[]"))&&(y=m.toArray(g)))return k=en(k),y.forEach(function(C,q){!(m.isUndefined(C)||C===null)&&e.append(c===!0?tn([k],q,s):c===null?k:k+"[]",l(C))}),!1}return _t(g)?!0:(e.append(tn(b,k,s),l(g)),!1)}const d=[],f=Object.assign(Ci,{defaultVisitor:u,convertValue:l,isVisitable:_t});function h(g,k){if(!m.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+k.join("."));d.push(g),m.forEach(g,function(y,v){(!(m.isUndefined(y)||y===null)&&o.call(e,y,m.isString(v)?v.trim():v,k,f))===!0&&h(y,k?k.concat(v):[v])}),d.pop()}}if(!m.isObject(t))throw new TypeError("data must be an object");return h(t),e}function rn(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function wt(t,e){this._pairs=[],t&&Pe(t,this,e)}const nn=wt.prototype;nn.append=function(e,r){this._pairs.push([e,r])},nn.toString=function(e){const r=e?function(n){return e.call(this,n,rn)}:rn;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ai(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function on(t,e,r){if(!e)return t;const n=r&&r.encode||Ai,o=r&&r.serialize;let s;if(o?s=o(e,r):s=m.isURLSearchParams(e)?e.toString():new wt(e,r).toString(n),s){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class sn{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){m.forEach(this.handlers,function(n){n!==null&&e(n)})}}const cn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:wt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Et=typeof window<"u"&&typeof document<"u",Ct=typeof navigator=="object"&&navigator||void 0,Di=Et&&(!Ct||["ReactNative","NativeScript","NS"].indexOf(Ct.product)<0),Si=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ti=Et&&window.location.href||"http://localhost",F={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Et,hasStandardBrowserEnv:Di,hasStandardBrowserWebWorkerEnv:Si,navigator:Ct,origin:Ti},Symbol.toStringTag,{value:"Module"})),...qi};function Ri(t,e){return Pe(t,new F.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,s){return F.isNode&&m.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Li(t){return m.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Bi(t){const e={},r=Object.keys(t);let n;const o=r.length;let s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}function an(t){function e(r,n,o,s){let c=r[s++];if(c==="__proto__")return!0;const i=Number.isFinite(+c),a=s>=r.length;return c=!c&&m.isArray(o)?o.length:c,a?(m.hasOwnProp(o,c)?o[c]=[o[c],n]:o[c]=n,!i):((!o[c]||!m.isObject(o[c]))&&(o[c]=[]),e(r,n,o[c],s)&&m.isArray(o[c])&&(o[c]=Bi(o[c])),!i)}if(m.isFormData(t)&&m.isFunction(t.entries)){const r={};return m.forEachEntry(t,(n,o)=>{e(Li(n),o,r,0)}),r}return null}function Ni(t,e,r){if(m.isString(t))try{return(e||JSON.parse)(t),m.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const ye={transitional:cn,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,s=m.isObject(e);if(s&&m.isHTMLForm(e)&&(e=new FormData(e)),m.isFormData(e))return o?JSON.stringify(an(e)):e;if(m.isArrayBuffer(e)||m.isBuffer(e)||m.isStream(e)||m.isFile(e)||m.isBlob(e)||m.isReadableStream(e))return e;if(m.isArrayBufferView(e))return e.buffer;if(m.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ri(e,this.formSerializer).toString();if((i=m.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Pe(i?{"files[]":e}:e,a&&new a,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),Ni(e)):e}],transformResponse:[function(e){const r=this.transitional||ye.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(m.isResponse(e)||m.isReadableStream(e))return e;if(e&&m.isString(e)&&(n&&!this.responseType||o)){const c=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(i){if(c)throw i.name==="SyntaxError"?D.from(i,D.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],t=>{ye.headers[t]={}});const Fi=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ii=t=>{const e={};let r,n,o;return t&&t.split(`
19
+ `).forEach(function(c){o=c.indexOf(":"),r=c.substring(0,o).trim().toLowerCase(),n=c.substring(o+1).trim(),!(!r||e[r]&&Fi[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},ln=Symbol("internals");function ve(t){return t&&String(t).trim().toLowerCase()}function Ue(t){return t===!1||t==null?t:m.isArray(t)?t.map(Ue):String(t)}function Mi(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Oi=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function At(t,e,r,n,o){if(m.isFunction(n))return n.call(this,e,r);if(o&&(e=r),!!m.isString(e)){if(m.isString(n))return e.indexOf(n)!==-1;if(m.isRegExp(n))return n.test(e)}}function Vi(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Pi(t,e){const r=m.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(o,s,c){return this[n].call(this,e,o,s,c)},configurable:!0})})}class I{constructor(e){e&&this.set(e)}set(e,r,n){const o=this;function s(i,a,l){const u=ve(a);if(!u)throw new Error("header name must be a non-empty string");const d=m.findKey(o,u);(!d||o[d]===void 0||l===!0||l===void 0&&o[d]!==!1)&&(o[d||a]=Ue(i))}const c=(i,a)=>m.forEach(i,(l,u)=>s(l,u,a));if(m.isPlainObject(e)||e instanceof this.constructor)c(e,r);else if(m.isString(e)&&(e=e.trim())&&!Oi(e))c(Ii(e),r);else if(m.isHeaders(e))for(const[i,a]of e.entries())s(a,i,n);else e!=null&&s(r,e,n);return this}get(e,r){if(e=ve(e),e){const n=m.findKey(this,e);if(n){const o=this[n];if(!r)return o;if(r===!0)return Mi(o);if(m.isFunction(r))return r.call(this,o,n);if(m.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=ve(e),e){const n=m.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||At(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let o=!1;function s(c){if(c=ve(c),c){const i=m.findKey(n,c);i&&(!r||At(n,n[i],i,r))&&(delete n[i],o=!0)}}return m.isArray(e)?e.forEach(s):s(e),o}clear(e){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const s=r[n];(!e||At(this,this[s],s,e,!0))&&(delete this[s],o=!0)}return o}normalize(e){const r=this,n={};return m.forEach(this,(o,s)=>{const c=m.findKey(n,s);if(c){r[c]=Ue(o),delete r[s];return}const i=e?Vi(s):String(s).trim();i!==s&&delete r[s],r[i]=Ue(o),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return m.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=e&&m.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
20
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){const n=(this[ln]=this[ln]={accessors:{}}).accessors,o=this.prototype;function s(c){const i=ve(c);n[i]||(Pi(o,c),n[i]=!0)}return m.isArray(e)?e.forEach(s):s(e),this}}I.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),m.reduceDescriptors(I.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),m.freezeMethods(I);function qt(t,e){const r=this||ye,n=e||r,o=I.from(n.headers);let s=n.data;return m.forEach(t,function(i){s=i.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function un(t){return!!(t&&t.__CANCEL__)}function de(t,e,r){D.call(this,t??"canceled",D.ERR_CANCELED,e,r),this.name="CanceledError"}m.inherits(de,D,{__CANCEL__:!0});function pn(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new D("Request failed with status code "+r.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ui(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function zi(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o=0,s=0,c;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=n[s];c||(c=l),r[o]=a,n[o]=l;let d=s,f=0;for(;d!==o;)f+=r[d++],d=d%t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-c<e)return;const h=u&&l-u;return h?Math.round(f*1e3/h):void 0}}function $i(t,e){let r=0,n=1e3/e,o,s;const c=(l,u=Date.now())=>{r=u,o=null,s&&(clearTimeout(s),s=null),t.apply(null,l)};return[(...l)=>{const u=Date.now(),d=u-r;d>=n?c(l,u):(o=l,s||(s=setTimeout(()=>{s=null,c(o)},n-d)))},()=>o&&c(o)]}const ze=(t,e,r=3)=>{let n=0;const o=zi(50,250);return $i(s=>{const c=s.loaded,i=s.lengthComputable?s.total:void 0,a=c-n,l=o(a),u=c<=i;n=c;const d={loaded:c,total:i,progress:i?c/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-c)/l:void 0,event:s,lengthComputable:i!=null,[e?"download":"upload"]:!0};t(d)},r)},dn=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},fn=t=>(...e)=>m.asap(()=>t(...e)),Hi=F.hasStandardBrowserEnv?function(){const e=F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent),r=document.createElement("a");let n;function o(s){let c=s;return e&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(c){const i=m.isString(c)?o(c):c;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),ji=F.hasStandardBrowserEnv?{write(t,e,r,n,o,s){const c=[t+"="+encodeURIComponent(e)];m.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),m.isString(n)&&c.push("path="+n),m.isString(o)&&c.push("domain="+o),s===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Gi(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Zi(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function hn(t,e){return t&&!Gi(e)?Zi(t,e):e}const mn=t=>t instanceof I?{...t}:t;function oe(t,e){e=e||{};const r={};function n(l,u,d){return m.isPlainObject(l)&&m.isPlainObject(u)?m.merge.call({caseless:d},l,u):m.isPlainObject(u)?m.merge({},u):m.isArray(u)?u.slice():u}function o(l,u,d){if(m.isUndefined(u)){if(!m.isUndefined(l))return n(void 0,l,d)}else return n(l,u,d)}function s(l,u){if(!m.isUndefined(u))return n(void 0,u)}function c(l,u){if(m.isUndefined(u)){if(!m.isUndefined(l))return n(void 0,l)}else return n(void 0,u)}function i(l,u,d){if(d in e)return n(l,u);if(d in t)return n(void 0,l)}const a={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i,headers:(l,u)=>o(mn(l),mn(u),!0)};return m.forEach(Object.keys(Object.assign({},t,e)),function(u){const d=a[u]||o,f=d(t[u],e[u],u);m.isUndefined(f)&&d!==i||(r[u]=f)}),r}const gn=t=>{const e=oe({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:s,headers:c,auth:i}=e;e.headers=c=I.from(c),e.url=on(hn(e.baseURL,e.url),t.params,t.paramsSerializer),i&&c.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")));let a;if(m.isFormData(r)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((a=c.getContentType())!==!1){const[l,...u]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];c.setContentType([l||"multipart/form-data",...u].join("; "))}}if(F.hasStandardBrowserEnv&&(n&&m.isFunction(n)&&(n=n(e)),n||n!==!1&&Hi(e.url))){const l=o&&s&&ji.read(s);l&&c.set(o,l)}return e},Ji=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const o=gn(t);let s=o.data;const c=I.from(o.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:l}=o,u,d,f,h,g;function k(){h&&h(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function y(){if(!b)return;const C=I.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!i||i==="text"||i==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:C,config:t,request:b};pn(function(S){r(S),k()},function(S){n(S),k()},A),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(n(new D("Request aborted",D.ECONNABORTED,t,b)),b=null)},b.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let q=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||cn;o.timeoutErrorMessage&&(q=o.timeoutErrorMessage),n(new D(q,A.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,t,b)),b=null},s===void 0&&c.setContentType(null),"setRequestHeader"in b&&m.forEach(c.toJSON(),function(q,A){b.setRequestHeader(A,q)}),m.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),i&&i!=="json"&&(b.responseType=o.responseType),l&&([f,g]=ze(l,!0),b.addEventListener("progress",f)),a&&b.upload&&([d,h]=ze(a),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(u=C=>{b&&(n(!C||C.type?new de(null,t,b):C),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const v=Ui(o.url);if(v&&F.protocols.indexOf(v)===-1){n(new D("Unsupported protocol "+v+":",D.ERR_BAD_REQUEST,t));return}b.send(s||null)})},Wi=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,o;const s=function(l){if(!o){o=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof D?u:new de(u instanceof Error?u.message:u))}};let c=e&&setTimeout(()=>{c=null,s(new D(`timeout ${e} of ms exceeded`,D.ETIMEDOUT))},e);const i=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=()=>m.asap(i),a}},Ki=function*(t,e){let r=t.byteLength;if(!e||r<e){yield t;return}let n=0,o;for(;n<r;)o=n+e,yield t.slice(n,o),n=o},Yi=async function*(t,e){for await(const r of Qi(t))yield*Ki(r,e)},Qi=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},bn=(t,e,r,n)=>{const o=Yi(t,e);let s=0,c,i=a=>{c||(c=!0,n&&n(a))};return new ReadableStream({async pull(a){try{const{done:l,value:u}=await o.next();if(l){i(),a.close();return}let d=u.byteLength;if(r){let f=s+=d;r(f)}a.enqueue(new Uint8Array(u))}catch(l){throw i(l),l}},cancel(a){return i(a),o.return()}},{highWaterMark:2})},$e=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",kn=$e&&typeof ReadableStream=="function",Xi=$e&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),xn=(t,...e)=>{try{return!!t(...e)}catch{return!1}},ea=kn&&xn(()=>{let t=!1;const e=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),yn=64*1024,Dt=kn&&xn(()=>m.isReadableStream(new Response("").body)),He={stream:Dt&&(t=>t.body)};$e&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!He[e]&&(He[e]=m.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new D(`Response type '${e}' is not supported`,D.ERR_NOT_SUPPORT,n)})})})(new Response);const ta=async t=>{if(t==null)return 0;if(m.isBlob(t))return t.size;if(m.isSpecCompliantForm(t))return(await new Request(F.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(m.isArrayBufferView(t)||m.isArrayBuffer(t))return t.byteLength;if(m.isURLSearchParams(t)&&(t=t+""),m.isString(t))return(await Xi(t)).byteLength},ra=async(t,e)=>{const r=m.toFiniteNumber(t.getContentLength());return r??ta(e)},St={http:wi,xhr:Ji,fetch:$e&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:c,onDownloadProgress:i,onUploadProgress:a,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:f}=gn(t);l=l?(l+"").toLowerCase():"text";let h=Wi([o,s&&s.toAbortSignal()],c),g;const k=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(a&&ea&&r!=="get"&&r!=="head"&&(b=await ra(u,n))!==0){let A=new Request(e,{method:"POST",body:n,duplex:"half"}),_;if(m.isFormData(n)&&(_=A.headers.get("content-type"))&&u.setContentType(_),A.body){const[S,L]=dn(b,ze(fn(a)));n=bn(A.body,yn,S,L)}}m.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;g=new Request(e,{...f,signal:h,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:y?d:void 0});let v=await fetch(g);const C=Dt&&(l==="stream"||l==="response");if(Dt&&(i||C&&k)){const A={};["status","statusText","headers"].forEach(N=>{A[N]=v[N]});const _=m.toFiniteNumber(v.headers.get("content-length")),[S,L]=i&&dn(_,ze(fn(i),!0))||[];v=new Response(bn(v.body,yn,S,()=>{L&&L(),k&&k()}),A)}l=l||"text";let q=await He[m.findKey(He,l)||"text"](v,t);return!C&&k&&k(),await new Promise((A,_)=>{pn(A,_,{data:q,headers:I.from(v.headers),status:v.status,statusText:v.statusText,config:t,request:g})})}catch(y){throw k&&k(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,t,g),{cause:y.cause||y}):D.from(y,y&&y.code,t,g)}})};m.forEach(St,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const vn=t=>`- ${t}`,na=t=>m.isFunction(t)||t===null||t===!1,_n={getAdapter:t=>{t=m.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let s=0;s<e;s++){r=t[s];let c;if(n=r,!na(r)&&(n=St[(c=String(r)).toLowerCase()],n===void 0))throw new D(`Unknown adapter '${c}'`);if(n)break;o[c||"#"+s]=n}if(!n){const s=Object.entries(o).map(([i,a])=>`adapter ${i} `+(a===!1?"is not supported by the environment":"is not available in the build"));let c=e?s.length>1?`since :
21
21
  `+s.map(vn).join(`
22
- `):" "+vn(s[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return n},adapters:Dt};function St(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new fe(null,t)}function _n(t){return St(t),t.headers=I.from(t.headers),t.data=At.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),xn.getAdapter(t.adapter||xe.adapter)(t).then(function(n){return St(t),n.data=At.call(t,t.transformResponse,n),n.headers=I.from(n.headers),n},function(n){return an(n)||(St(t),n&&n.response&&(n.response.data=At.call(t,t.transformResponse,n.response),n.response.headers=I.from(n.response.headers))),Promise.reject(n)})}const yn="1.7.7",Tt={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Tt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const wn={};Tt.transitional=function(e,r,n){function o(s,c){return"[Axios v"+yn+"] Transitional option '"+s+"'"+c+(n?". "+n:"")}return(s,c,i)=>{if(e===!1)throw new D(o(c," has been removed"+(r?" in "+r:"")),D.ERR_DEPRECATED);return r&&!wn[c]&&(wn[c]=!0,console.warn(o(c," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,c,i):!0}};function na(t,e,r){if(typeof t!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const s=n[o],c=e[s];if(c){const i=t[s],a=i===void 0||c(i,s,t);if(a!==!0)throw new D("option "+s+" must be "+a,D.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new D("Unknown option "+s,D.ERR_BAD_OPTION)}}const Rt={assertOptions:na,validators:Tt},X=Rt.validators;class se{constructor(e){this.defaults=e,this.interceptors={request:new nn,response:new nn}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
23
- `+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=oe(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:s}=r;n!==void 0&&Rt.assertOptions(n,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean)},!1),o!=null&&(m.isFunction(o)?r.paramsSerializer={serialize:o}:Rt.assertOptions(o,{encode:X.function,serialize:X.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=s&&m.merge(s.common,s[r.method]);s&&m.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=I.concat(c,s);const i=[];let a=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(a=a&&k.synchronous,i.unshift(k.fulfilled,k.rejected))});const l=[];this.interceptors.response.forEach(function(k){l.push(k.fulfilled,k.rejected)});let u,f=0,d;if(!a){const g=[_n.bind(this),void 0];for(g.unshift.apply(g,i),g.push.apply(g,l),d=g.length,u=Promise.resolve(r);f<d;)u=u.then(g[f++],g[f++]);return u}d=i.length;let h=r;for(f=0;f<d;){const g=i[f++],k=i[f++];try{h=g(h)}catch(b){k.call(this,b);break}}try{u=_n.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=l.length;f<d;)u=u.then(l[f++],l[f++]);return u}getUri(e){e=oe(this.defaults,e);const r=fn(e.baseURL,e.url);return rn(r,e.params,e.paramsSerializer)}}m.forEach(["delete","get","head","options"],function(e){se.prototype[e]=function(r,n){return this.request(oe(n||{},{method:e,url:r,data:(n||{}).data}))}}),m.forEach(["post","put","patch"],function(e){function r(n){return function(s,c,i){return this.request(oe(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:c}))}}se.prototype[e]=r(),se.prototype[e+"Form"]=r(!0)});class Lt{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const n=this;this.promise.then(o=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](o);n._listeners=null}),this.promise.then=o=>{let s;const c=new Promise(i=>{n.subscribe(i),s=i}).then(o);return c.cancel=function(){n.unsubscribe(s)},c},e(function(s,c,i){n.reason||(n.reason=new fe(s,c,i),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new Lt(function(o){e=o}),cancel:e}}}function oa(t){return function(r){return t.apply(null,r)}}function sa(t){return m.isObject(t)&&t.isAxiosError===!0}const Nt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Nt).forEach(([t,e])=>{Nt[e]=t});function En(t){const e=new se(t),r=Pr(se.prototype.request,e);return m.extend(r,se.prototype,e,{allOwnKeys:!0}),m.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return En(oe(t,o))},r}const N=En(xe);N.Axios=se,N.CanceledError=fe,N.CancelToken=Lt,N.isCancel=an,N.VERSION=yn,N.toFormData=Pe,N.AxiosError=D,N.Cancel=N.CanceledError,N.all=function(e){return Promise.all(e)},N.spread=oa,N.isAxiosError=sa,N.mergeConfig=oe,N.AxiosHeaders=I,N.formToJSON=t=>sn(m.isHTMLForm(t)?new FormData(t):t),N.getAdapter=xn.getAdapter,N.HttpStatusCode=Nt,N.default=N;const ca=async t=>N.post(`${t.baseUrl}/query`,{message:t.message,chatId:t.chatId,docNames:t.docNames},{headers:{Authorization:`Bearer ${t.token}`}}),ia=async t=>N.get(`${t.baseUrl}/chats`,{headers:{Authorization:`Bearer ${t.token}`}}),Cn=async t=>N.get(`${t.baseUrl}/chats/${t.chatId}/messages`,{params:{lastMessageId:t.lastMessageId?t.lastMessageId:void 0},headers:{Authorization:`Bearer ${t.token}`}}),aa=async t=>N.get(`${t.baseUrl}/chats/documentos`,{headers:{Authorization:`Bearer ${t.token}`}}),la=async t=>N.patch(`${t.baseUrl}/message/${t.messageId}/like`,{meGusta:t.meGusta},{headers:{Authorization:`Bearer ${t.token}`}}),ua=async t=>N.delete(`${t.baseUrl}/chats/${t.chatId}`,{headers:{Authorization:`Bearer ${t.token}`}}),pa={key:0,class:"ia-chat-bot-message"},fa={class:"ia-chat-message-options-bar"},da=["onClick","disabled"],ha=["onClick","disabled"],ma={key:0,class:"ia-dots-loader-container"},ga=z(p.defineComponent({__name:"ChatMessageList",props:{messages:{},total:{},isLoading:{type:Boolean}},emits:["loadMore"],setup(t,{emit:e}){const r=t,n=p.inject(Vr)??{baseUrl:"",authToken:""},o=e,s=p.ref(),c=p.ref(),i=async(a,l)=>{console.log("Like evento recibido:",a);try{await la({baseUrl:n.baseUrl,token:n.authToken,messageId:a,meGusta:l});const u=r.messages.find(f=>f.id===a);u&&(u.meGusta=l)}catch(u){console.error(u)}};return p.onMounted(()=>{c.value&&(s.value=new IntersectionObserver(a=>{a.forEach(l=>{l.isIntersecting&&r.total>r.messages.length&&o("loadMore")})}),s.value.observe(c.value))}),p.onUnmounted(()=>{s.value&&s.value.disconnect()}),(a,l)=>(p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createElementVNode("div",{ref_key:"target",ref:c,class:"chat-target-messages"},null,512),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.messages,u=>(p.openBlock(),p.createElementBlock("div",{class:"chat-messages-container",key:u.id},[u.esIA?(p.openBlock(),p.createElementBlock("div",pa,[p.createVNode(p.unref(Tc),{source:u.message,class:"ia-chat-bot-message-container"},null,8,["source"]),p.createElementVNode("div",fa,[p.createElementVNode("button",{class:p.normalizeClass(["ia-chat-message-like-btn",{liked:u.meGusta===!0}]),onClick:f=>i(u.id,!0),disabled:u.meGusta!==null&&u.meGusta!==void 0,title:"Calificar"},[p.createVNode(p.unref(Ic))],10,da),p.createElementVNode("button",{class:p.normalizeClass(["ia-chat-message-like-btn",{disliked:u.meGusta===!1}]),onClick:f=>i(u.id,!1),disabled:u.meGusta!==null&&u.meGusta!==void 0},[p.createVNode(p.unref(Nc))],10,ha)])])):(p.openBlock(),p.createBlock(Mn,{key:1,message:u},null,8,["message"]))]))),128)),a.isLoading?(p.openBlock(),p.createElementBlock("div",ma,[p.createVNode(Fn)])):p.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-6ed0be52"]]),ba={},ka={class:"ia-chat-loading"};function va(t,e){return p.openBlock(),p.createElementBlock("div",ka,e[0]||(e[0]=[p.createStaticVNode('<div class="ia-loader-relative" data-v-9a82108b><svg class="ia-icon_1" viewBox="0 0 275 276" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-9a82108b><path d="M137.1 1C124.2 1 111.2 2.80001 98.3 6.60001C68.5 15.4 43.9 33.5 26.8 56.7C9.69999 79.9 0.0999756 108.3 0.0999756 137.9C0.0999756 150.8 1.90001 163.8 5.70001 176.7C7.60001 183 13.3 187 19.5 187C25.7 187 22.2 186.8 23.6 186.4C31.2 184.1 35.6 176.1 33.3 168.5C30.3 158.3 28.8 148 28.8 137.8C28.8 114.5 36.4 92 49.9 73.7C63.4 55.3 82.7 41.1 106.3 34.2C116.5 31.2 126.8 29.7 137 29.7C160.3 29.7 182.8 37.3 201.1 50.8C219.5 64.3 233.7 83.6 240.6 107.2C242.5 113.5 248.2 117.5 254.4 117.5C260.6 117.5 257.1 117.3 258.5 116.9C266.1 114.6 270.5 106.6 268.2 99C259.4 69.2 241.3 44.6 218.1 27.5C194.9 10.4 166.5 0.799988 136.9 0.799988" fill="url(#paint0_linear_672_78)" data-v-9a82108b></path><path d="M254.5 88.9C253.1 88.9 251.8 89.1 250.4 89.5C242.8 91.8 238.4 99.8 240.7 107.4C243.7 117.6 245.2 127.9 245.2 138.1C245.2 161.4 237.6 183.9 224.1 202.2C210.6 220.6 191.3 234.8 167.7 241.7C157.5 244.7 147.2 246.2 137 246.2C113.7 246.2 91.2 238.6 72.9 225.1C54.5 211.6 40.3001 192.3 33.4001 168.7C31.5001 162.4 25.8 158.4 19.6 158.4C13.4 158.4 16.9 158.6 15.5 159C7.90003 161.3 3.50001 169.3 5.80001 176.9C14.6 206.7 32.7001 231.3 55.9001 248.4C79.1001 265.5 107.5 275.1 137.1 275.1C150 275.1 163 273.3 175.9 269.5C205.7 260.7 230.3 242.6 247.4 219.4C264.5 196.2 274.1 167.8 274.1 138.2C274.1 125.4 272.3 112.3 268.5 99.4C266.6 93.1 260.9 89.1 254.7 89.1" fill="url(#paint1_linear_672_78)" data-v-9a82108b></path><defs data-v-9a82108b><linearGradient id="paint0_linear_672_78" x1="-2.44076e-05" y1="94.1" x2="269" y2="94.1" gradientUnits="userSpaceOnUse" data-v-9a82108b><stop stop-color="white" data-v-9a82108b></stop><stop offset="1" stop-color="white" stop-opacity="0" data-v-9a82108b></stop></linearGradient><linearGradient id="paint1_linear_672_78" x1="5.00002" y1="181.9" x2="274" y2="181.9" gradientUnits="userSpaceOnUse" data-v-9a82108b><stop stop-color="white" stop-opacity="0" data-v-9a82108b></stop><stop offset="1" stop-color="white" data-v-9a82108b></stop></linearGradient></defs></svg><svg class="ia-icon_2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 176 74" data-v-9a82108b><path fill="#fff" d="M6.4 70v-3.5c-.3 1.3-1.5 4.5-2.2 6.6h-.8c-.6-1.7-1.7-5.2-2.1-6.6v6.6H.5v-7.3h1.4c.8 2.1 1.7 5.1 2 6.1.1-.7 1.3-3.9 2.1-6.1h1.3v7.3h-.9V70ZM10.8 65.8v7.3h-.9v-7.3h.9ZM13.5 73.1v-7.3h1.2c2.9 5.1 3.3 5.8 3.4 6.2v-6.1h.9v7.3h-1.1c-3.1-5.6-3.3-6-3.5-6.3v6.4h-.8l-.1-.2ZM22.5 65.8v7.3h-.9v-7.3h.9ZM25.5 71c.1.9.8 1.4 1.6 1.4s1.4-.4 1.4-1.3-.4-1.1-1.7-1.5c-1.5-.5-2.1-1-2.1-2s.9-1.9 2.2-1.9c1.3 0 2.2.9 2.3 1.9h-.9c-.1-.7-.5-1.2-1.4-1.2-.9 0-1.3.4-1.3 1.1 0 .7.4.9 1.5 1.3 1.8.5 2.2 1.2 2.2 2.2 0 1-.8 2.1-2.4 2.1-1.6 0-2.4-.8-2.5-2.1h1.1ZM32.9 66.6h-2.1v-.8H36v.8h-2.1v6.5H33v-6.5h-.1ZM41.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3H42v.8h-3.4v2.3h3.3v.8ZM45.2 69.8v3.3h-.9v-7.3h2.6c1.3 0 2.2.6 2.2 1.9 0 1.3-.6 1.5-1.2 1.7.8.2 1.1.8 1.1 1.8 0 .8 0 1.4.1 1.9h-.9c0-.3-.1-1-.1-1.7 0-1.2-.4-1.6-1.6-1.6h-1.3Zm0-.7h1.3c.9 0 1.6-.3 1.6-1.3s-.5-1.2-1.4-1.2h-1.6v2.5h.1ZM52.3 65.8v7.3h-.9v-7.3h.9ZM60.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM66.5 65.8h2.4c1.3 0 2.3.7 2.3 2s-1 2.1-2.5 2.1h-1.4V73h-.9v-7.3l.1.1Zm.9 3.4h1.4c.9 0 1.6-.3 1.6-1.4 0-1.1-.6-1.3-1.6-1.3h-1.4v2.7ZM74.2 65.8v4.6c0 1.1.4 2 1.7 2 1.3 0 1.7-.8 1.7-2v-4.6h.9v4.6c0 1.5-.6 2.7-2.6 2.7s-2.6-1-2.6-2.7v-4.7h.9v.1Zm3.5-2.1-1.6 1.4h-.9l1.3-1.4H77.7ZM81.1 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1ZM82 72.3h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4H82v2.8ZM88.2 65.8h.9v6.5h3.5v.8h-4.4v-7.3ZM95.3 65.8v7.3h-.9v-7.3h.9ZM103.2 71c-.2 1.2-1 2.2-2.7 2.2-1.7 0-2.9-1.6-2.9-3.8 0-2.2.9-3.7 3-3.7s2.4 1 2.6 2.2h-.9c-.2-.8-.6-1.5-1.7-1.5s-2 1.4-2 2.9.5 3 2 3 1.5-.6 1.7-1.5h.9v.2ZM111.1 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM116.9 65.8h2.4c1.8 0 3.2 1.2 3.2 3.5s-1.2 3.8-3.4 3.8h-2.2v-7.3Zm.9 6.5h1.3c1.7 0 2.5-1.1 2.5-3s-1-2.7-2.4-2.7h-1.3v5.8l-.1-.1ZM128.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3h4.3v.8h-3.4v2.3h3.3v.8ZM134.8 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1Zm-1.4 3.5h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4h-1.4v2.8ZM147.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM150 65.8h.9v6.5h3.5v.8H150v-7.3ZM157.1 65.8v7.3h-.9v-7.3h.9ZM161.3 73.1l-2.4-7.3h1l1.1 3.6c.3 1 .7 2.1.8 2.8.1-.6.6-1.8.9-2.8l1.2-3.6h.9l-2.5 7.3h-1.1.1ZM167.6 65.8v7.3h-.9v-7.3h.9ZM171.1 70.9l-.7 2.2h-.9l2.4-7.3h1.1l2.5 7.3h-1l-.7-2.2h-2.7Zm2.4-.8c-.6-1.9-1-2.9-1.1-3.5-.2.9-.6 2-1.1 3.5h2.2ZM8.2 49.2c0 3.8-.9 6.3-5.5 6.3s-1.7 0-2.2-.2v-3.4c.4 0 .9.1 1.5.1 1.8 0 2.1-.9 2.1-2.6V32.3h4.1v16.9ZM15.3 32.4v15.7c0 1.9.5 4.1 3 4.1s3-1.9 3-4.1V32.3h4.1v15.8c0 4.1-1.6 7.4-7.1 7.4s-7-3.1-7-7.4V32.3h4.1l-.1.1ZM31.5 48.8c.2 1.9 1 3.6 3.1 3.6s2.8-1.3 2.8-3-.9-3-3.8-4.4c-3.9-1.9-5.5-3.5-5.5-6.9 0-3.4 2.4-6.2 6.5-6.2s6.4 3.5 6.5 6.5h-4c-.1-1.3-.5-3.2-2.5-3.2s-2.3 1.1-2.3 2.6.7 2.4 3.4 3.7c4.1 1.9 5.9 3.7 5.9 7.6 0 3.9-2.2 6.6-7.1 6.6-4.9 0-6.9-3.4-7-6.8h4.1l-.1-.1ZM47 35.9h-4.9v-3.6H56v3.6h-4.9v19.3H47V35.9ZM61.8 32.4v22.9h-4.1V32.4h4.1ZM78.7 48.6c-.1 1.2-.5 7.1-6.9 7.1s-7.3-5.7-7.3-11.9S66.7 32 72 32s6.5 5.2 6.6 7h-4.1c0-.8-.1-3.6-2.6-3.6s-3.2 3.1-3.2 8.4c0 5.3.4 8.4 3.1 8.4s2.6-2.8 2.7-3.6H78.7ZM84.8 32.4v22.9h-4.1V32.4h4.1ZM91.8 49.5l-1.1 5.8h-4.1l5.3-22.9h5.3l5.4 22.9h-4.3l-1.1-5.8H91.8Zm4.6-3.6c-.9-4.4-1.5-7.6-1.9-9.8-.3 2.1-1 5.5-1.8 9.8h3.8-.1ZM109.9 32.4h4.1v19.4h7.8l-.4 3.5h-11.5V32.4ZM127.5 32.4v22.9h-4.1V32.4h4.1ZM131 32.4h7c4 0 6.2 2.2 6.2 5.8 0 3.6-1.4 4.3-2.6 4.8 1.6.7 3.3 2.1 3.3 5.6 0 3.5-2.8 6.7-6.9 6.7h-6.9V32.4h-.1Zm6 9.1c2.5 0 3.2-1 3.2-3s-1.1-2.9-3.1-2.9H135v5.9h2Zm-2 10.6h2.4c2 0 3.2-1 3.2-3.6s-1-3.7-3.7-3.7h-2v7.4l.1-.1ZM151.2 45.5v9.8h-4.1V32.4h7c4.2 0 6.5 2.2 6.5 6.3s-1.8 4.7-3 5.2c1.8.8 2.6 2.3 2.6 5.7v.9c0 2.6.1 3.6.3 4.8h-4c-.3-1-.4-2.9-.4-4.8v-.8c0-3.1-.7-4.1-3.3-4.1H151l.2-.1Zm0-3.3h1.9c2.5 0 3.4-1.1 3.4-3.4s-.9-3.1-3-3.1h-2.3v6.5ZM174.6 45.1h-7.3v6.6h8.2l-.5 3.5h-11.8V32.3h11.7v3.6h-7.7v5.6h7.3v3.6h.1ZM10 12.3H2.9v8.2h7.9l-.3 2.1H.6V1.2h9.8v2.1H2.9v7H10v2.1-.1ZM29.4 16.6c0 1.2-.6 6.2-5.8 6.2s-6.1-6-6.1-11.2C17.5 6.4 19.1.7 23.9.7c4.8 0 5.4 4.8 5.5 6.1H27c0-.7-.2-4-3.2-4s-3.9 4.6-3.9 8.8c0 4.2.5 9.1 3.7 9.1s3.3-3.1 3.4-4.2h2.4v.1ZM49.2 11.7c0 7.3-1.7 11.2-6.4 11.2s-6.2-3.8-6.2-11.2C36.6 4.3 38.7.8 42.9.8c4.2 0 6.3 3.6 6.3 10.8v.1Zm-10.2 0c0 6.1 1.2 9.2 3.9 9.2s3.9-3 3.9-9.1S45.6 3 42.9 3 39 5.9 39 11.8v-.1ZM58.4 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S58.7.8 62.2.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9h2.4l-.1-.1ZM77.9 1.1v21.4h-2.3V1.1h2.3ZM87.9 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S88.2.8 91.7.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9H88l-.1-.1ZM107.9 3.2h-4.8V1.1H115v2.1h-4.8v19.3h-2.4V3.2h.1ZM131.5 12.3h-7.1v8.2h7.9l-.3 2.1h-9.9V1.2h9.8v2.1h-7.5v7h7.1v2.1-.1ZM152.5 13.4c0-4 0-8 .1-10.3-.8 3.7-2.7 12.6-4.4 19.4h-2.3c-1.3-5.9-3.3-15.5-4.1-19.4.1 2.5.2 7.2.2 10.9v8.5h-2.2V1.1h3.5c1.7 6.7 3.4 14.9 3.9 17.7.4-2.3 2.5-11.2 4.2-17.7h3.5v21.4h-2.3v-9.1h-.1ZM165.9 15.8l-1.6 6.8h-2.4l5.2-21.4h3l5.3 21.4h-2.5l-1.6-6.8h-5.6.2Zm5.1-2.1c-1.2-5.3-2-8.6-2.3-10.3-.3 1.9-1.2 5.7-2.2 10.3h4.6-.1Z" data-v-9a82108b></path></svg></div>',1)]))}const xa=z(ba,[["render",va],["__scopeId","data-v-9a82108b"]]),_a={},ya={class:"ia-message-loader"};function wa(t,e){return p.openBlock(),p.createElementBlock("div",ya,e[0]||(e[0]=[p.createElementVNode("div",{class:"msg-loader"},null,-1)]))}const Ea=z(_a,[["render",wa],["__scopeId","data-v-f96b52cc"]]),Ca={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Aa(t,e){return p.openBlock(),p.createElementBlock("svg",Ca,e[0]||(e[0]=[p.createElementVNode("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32v144H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h144v144c0 17.7 14.3 32 32 32s32-14.3 32-32V288h144c17.7 0 32-14.3 32-32s-14.3-32-32-32H256z"},null,-1)]))}const qa={render:Aa},Da={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Sa(t,e){return p.openBlock(),p.createElementBlock("svg",Da,e[0]||(e[0]=[p.createElementVNode("path",{d:"M135.2 17.7 128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7M416 128H32l21.2 339c1.6 25.3 22.6 45 47.9 45h245.8c25.3 0 46.3-19.7 47.9-45z"},null,-1)]))}const Ta={render:Sa},Ra={class:"ia-chat-history-item"},La=["title"],Na=z(p.defineComponent({__name:"ChatHistoryItem",props:{item:{}},emits:["click","delete"],setup(t,{emit:e}){const r=t,n=e;return(o,s)=>(p.openBlock(),p.createElementBlock("div",Ra,[p.createElementVNode("button",{class:"ia-chat-history-item-btn",onClick:s[0]||(s[0]=c=>n("click",r.item)),title:r.item.titulo},p.toDisplayString(r.item.titulo),9,La),p.createElementVNode("button",{class:"ia-chat-delete-item-btn",onClick:s[1]||(s[1]=c=>n("delete",r.item.id)),title:"Eliminar"},[p.createVNode(p.unref(Ta))])]))}}),[["__scopeId","data-v-8aa25cf5"]]),Ba={class:"ia-chat-history-container"},Fa=z(p.defineComponent({__name:"ChatHistoryList",props:{history:{},currentChatId:{}},emits:["click","delete"],setup(t,{emit:e}){const r=t,n=e;return(o,s)=>(p.openBlock(),p.createElementBlock("div",Ba,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.history,c=>(p.openBlock(),p.createBlock(Na,{key:c.id,item:c,class:p.normalizeClass({"ia-chat-history-item-active":c.id===r.currentChatId}),onClick:s[0]||(s[0]=i=>n("click",i)),onDelete:s[1]||(s[1]=i=>n("delete",i))},null,8,["item","class"]))),128))]))}}),[["__scopeId","data-v-79da279a"]]),Ia={class:"ia-chat-sidebar"},Ma={class:"ia-sidebar-header"},Oa={class:"ia-sidebar-body"},Va=z(p.defineComponent({__name:"ChatSidebar",props:{baseUrl:{},isVisible:{type:Boolean},history:{},currentChatId:{}},emits:["update:isVisible","loadChat","new-chat","delete"],setup(t,{emit:e}){const r=t,n=e,o=p.ref(),s=c=>{o.value=c,n("loadChat",c)};return(c,i)=>p.withDirectives((p.openBlock(),p.createElementBlock("nav",Ia,[p.createElementVNode("header",Ma,[p.createVNode(Ft,{title:r.isVisible?"Esconder historial":"Mostrar historial",onClick:i[0]||(i[0]=a=>n("update:isVisible",!r.isVisible))},null,8,["title"]),p.createElementVNode("button",{class:"ia-sidebar-btn",onClick:i[1]||(i[1]=a=>n("new-chat"))},[p.createVNode(p.unref(qa))])]),p.createElementVNode("div",Oa,[p.createVNode(Fa,{history:r.history,currentChatId:r.currentChatId,onClick:i[2]||(i[2]=a=>s(a.id)),onDelete:i[3]||(i[3]=a=>n("delete",a))},null,8,["history","currentChatId"])])],512)),[[p.vShow,r.isVisible]])}}),[["__scopeId","data-v-5c84a8d8"]]),Pa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 63.93 447.98 384.15"};function Ua(t,e){return p.openBlock(),p.createElementBlock("svg",Pa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"},null,-1)]))}const za={render:Ua},$a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Ha(t,e){return p.openBlock(),p.createElementBlock("svg",$a,e[0]||(e[0]=[p.createElementVNode("path",{d:"M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4"},null,-1)]))}const ja={render:Ha},Ga={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"};function Za(t,e){return p.openBlock(),p.createElementBlock("svg",Ga,e[0]||(e[0]=[p.createElementVNode("circle",{cx:"20",cy:"20",r:"20",fill:"#fff"},null,-1),p.createElementVNode("path",{fill:"var(--ia-primary-color)",d:"M20 0C8.95 0 0 8.95 0 20c0 3.41.85 6.61 2.35 9.42a24.601 24.601 0 0 0 15.05 5.16c1.86 0 3.73-.21 5.58-.65q.78-.18 1.56-.42c.37-.11.74-.23 1.11-.37.42-.15.83-.31 1.24-.49.17-.07.35-.15.52-.23-.02-.08-.04-.17-.04-.25 0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1a1 1 0 0 1-.61-.21v.03c-.35.16-.71.32-1.07.46-.14.06-.28.11-.42.17-1.37.52-2.76.91-4.16 1.18-.08.02-.16.03-.24.05-1.49.27-2.98.4-4.47.4-4.97 0-9.82-1.48-13.93-4.2-.09-.06-.18-.12-.27-.19C6.76 36.36 12.95 40 20 40c11.05 0 20-8.95 20-20S31.05 0 20 0m1.06 4.63a2.77 2.77 0 1 1 0 5.54 2.77 2.77 0 0 1 0-5.54m-8.78 23.32c-.79-.26-1.52-.66-2.13-1.22a5.46 5.46 0 0 1-1.39-2.03c-.3-.77-.43-1.61-.43-2.48a1.72 1.72 0 1 1 3.44 0c0 .53.08.93.2 1.23.12.31.27.52.5.73s.5.37.88.49.87.2 1.48.2c.66 0 1.18-.13 1.66-.38.47-.25.77-.54 1.03-.96.24-.42.37-.87.37-1.49v-9.48a1.72 1.72 0 1 1 3.44 0v9.5c0 1.14-.28 2.27-.85 3.23a5.94 5.94 0 0 1-2.4 2.26c-.99.52-2.1.77-3.24.76-.9 0-1.75-.11-2.54-.37Zm19.25-.68a1.72 1.72 0 0 1-.92.92c-.1.04-.21.08-.32.1s-.23.03-.35.03H16.29h.02c1.14 0 2.25-.25 3.24-.76 1-.51 1.83-1.29 2.4-2.26.58-.97.86-2.09.85-3.23v-9.51c0-.65-.37-1.22-.91-1.51.24-.13.51-.21.81-.21.95 0 1.72.77 1.72 1.72v9.64c.02.54.14.96.37 1.34.25.42.56.71 1.03.96.41.21.86.33 1.39.36s2.73.01 2.73.01c.59 0 1.11.3 1.42.76.19.27.29.6.29.96 0 .24-.05.46-.14.67Z"},null,-1),p.createElementVNode("path",{fill:"var(--ia-primary-color)",d:"M21.06 9.29a1.874 1.874 0 0 0 1.88-1.88 1.874 1.874 0 0 0-1.88-1.88 1.874 1.874 0 0 0-1.88 1.88 1.874 1.874 0 0 0 1.88 1.88"},null,-1)]))}const Ja={render:Za},Wa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function Ka(t,e){return p.openBlock(),p.createElementBlock("svg",Wa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M64 464h48v48H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0h165.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V304h-48V160h-80c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16v384c0 8.8 7.2 16 16 16m112-112h32c30.9 0 56 25.1 56 56s-25.1 56-56 56h-16v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V368c0-8.8 7.2-16 16-16m32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-16v48zm96-80h32c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-32c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16m32 128c8.8 0 16-7.2 16-16v-64c0-8.8-7.2-16-16-16h-16v96zm80-112c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16s-7.2 16-16 16h-32v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16h-32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V368"},null,-1)]))}const Ya={render:Ka},Qa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Xa(t,e){return p.openBlock(),p.createElementBlock("svg",Qa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"},null,-1)]))}const el={render:Xa},tl={key:0,class:"modal-overlay"},rl={key:0,class:"ia-message-loader"},nl={class:"modal-content"},ol={class:"ia-doc-header"},sl={class:"document-list"},cl={class:"seleccionados"},il={style:{"list-style":"none",width:"100%"}},al=["onClick"],ll={class:"document-button"},ul={key:0},pl=z(p.defineComponent({__name:"DocumentList",props:{visible:Boolean,documentos:Array},emits:["close","selection"],setup(t,{emit:e}){const r=t,n=e,o=p.ref(!1),s=p.ref([]),c=l=>s.value.includes(l),i=l=>{c(l)?s.value=s.value.filter(u=>u!==l):s.value.push(l)},a=()=>{n("selection",s.value),n("close")};return(l,u)=>(p.openBlock(),p.createElementBlock("div",null,[t.visible?(p.openBlock(),p.createElementBlock("div",tl,[o.value?(p.openBlock(),p.createElementBlock("div",rl,u[1]||(u[1]=[p.createElementVNode("div",{class:"msg-loader"},null,-1)]))):p.createCommentVNode("",!0),p.createElementVNode("div",nl,[p.createElementVNode("header",ol,[u[2]||(u[2]=p.createElementVNode("p",null,"Listado de Documentos",-1)),p.createElementVNode("button",{class:"close-btn",onClick:u[0]||(u[0]=f=>n("close"))},"X")]),p.createElementVNode("div",sl,[p.createElementVNode("p",cl,p.toDisplayString(s.value.length)+" Elementos seleccionados",1),p.createElementVNode("ul",il,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.documentos,(f,d)=>(p.openBlock(),p.createElementBlock("li",{key:d,class:p.normalizeClass(["document-item",c(f.name)?"selected":""]),onClick:h=>i(f.name)},[p.createElementVNode("button",ll,[p.createVNode(p.unref(Ya)),p.createElementVNode("span",null,p.toDisplayString(f.shortDescription),1)])],10,al))),128))])]),r.documentos.length?p.createCommentVNode("",!0):(p.openBlock(),p.createElementBlock("p",ul,"No hay datos disponibles")),p.createElementVNode("button",{onClick:a,class:"confirm-btn"},[p.createVNode(p.unref(el)),u[3]||(u[3]=p.createTextVNode("Confirmar Selección "))])])])):p.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-407ccecf"]]),fl={class:"ia-chat-container"},dl={class:"ia-chat-header"},hl={style:{display:"flex",gap:"0.5rem"}},ml={class:"ia-chat-body-container"},gl={class:"ia-chat-body"},bl={key:2,class:"ia-chat-empty-container"},kl={class:"ia-chat-footer"},vl={key:0},xl={class:"ia-chat-text-area-container"},An=z(p.defineComponent({__name:"ChatPage",props:{baseUrl:{},authToken:{},darkMode:{type:Boolean,default:!1},containerClass:{}},setup(t){const e=t,r=p.reactive({baseUrl:"",authToken:""}),n=p.ref([]),o=p.ref(!1),s=p.ref([]),c=()=>{o.value=!0},i=()=>{o.value=!1},a=v=>{s.value=v,v.length>0&&d.value.messages.push({id:Math.round(Math.random()*1e6).toString(),message:v.join(", "),chatId:x.value?x.value:void 0,esIA:!1,creadoEn:new Date().toISOString()}),p.nextTick(()=>{K()})},l=p.ref(!0),u=p.computed(()=>e.darkMode?`dark ia-chat-page-container ${e.containerClass?e.containerClass:""}`:`ia-chat-page-container ${e.containerClass?e.containerClass:""}`),f=p.ref([]),d=p.ref({messages:[],total:0}),h=p.ref(!1),g=p.ref(!1),k=p.ref(!1),b=p.ref(""),x=p.ref();p.onMounted(()=>{r.baseUrl=e.baseUrl,r.authToken=e.authToken,p.provide(Vr,r),_(),A()});const _=async()=>{try{const v=await ia({baseUrl:e.baseUrl,token:e.authToken});f.value=v.data.response.data}catch(v){console.log(v)}},C=async v=>{try{h.value=!0;const w=await Cn({baseUrl:e.baseUrl,chatId:v.chatId,token:e.authToken});x.value=v.chatId,d.value={messages:[...w.data.response.data],total:w.data.response.pagination.total},p.nextTick(()=>{K()})}catch(w){console.log(w)}finally{h.value=!1}},q=async v=>{try{g.value=!0;const w=await Cn({baseUrl:e.baseUrl,chatId:v.chatId,token:e.authToken,lastMessageId:v.lastMessageId});x.value=v.chatId,d.value={messages:[...w.data.response.data,...d.value.messages],total:w.data.response.pagination.total},p.nextTick(()=>{V.value&&(V.value.scrollTop=40)})}catch(w){console.log(w)}finally{g.value=!1}},A=async()=>{try{h.value=!0;const v=await aa({baseUrl:e.baseUrl,token:e.authToken});n.value=v.data.response.data}catch(v){console.log(v)}finally{h.value=!1}},y=async v=>{var w,E,j;if(v&&v.key==="Enter"&&v.shiftKey){b.value+=`
24
- `;return}if(b.value)try{const de=Math.round(Math.random()*1e6).toString();d.value.messages.push({id:de,message:b.value,chatId:x.value?x.value:void 0,esIA:!1,creadoEn:new Date().toISOString()}),d.value.total+=1,k.value=!0,p.nextTick(()=>{K()});const yl=b.value;b.value="";const je=await ca({baseUrl:e.baseUrl,message:yl,docNames:((w=s.value)==null?void 0:w.length)>0?s.value:void 0,chatId:x.value,token:e.authToken});if(je.data.response.data.nuevoChat){const wl=je.data.response.data.nuevoChat;f.value=[wl,...f.value]}x.value=(E=je.data.response.data.messages)==null?void 0:E[0].chatId,d.value.messages.push((j=je.data.response.data.messages)==null?void 0:j[1]),d.value.total+=1,p.nextTick(()=>{K()})}catch(de){console.log(de)}finally{k.value=!1}},S=async v=>{try{const w=await ua({baseUrl:e.baseUrl,chatId:v.chatId,token:e.authToken});_(),B(),x.value=void 0}catch(w){console.log(w)}},L=()=>{x.value=void 0,B()},B=()=>{d.value={messages:[],total:0},b.value=""},T=p.ref();p.watch(b,()=>{U()});const U=()=>{p.nextTick(()=>{T.value&&(T.value.style.height="auto",T.value.style.height=`${T.value.scrollHeight}px`)})},V=p.ref(),K=()=>{V.value&&(V.value.scrollTop=V.value.scrollHeight)};return(v,w)=>(p.openBlock(),p.createElementBlock("div",{class:p.normalizeClass(u.value)},[p.createVNode(Va,{baseUrl:e.baseUrl,isVisible:l.value,"onUpdate:isVisible":w[0]||(w[0]=E=>l.value=E),currentChatId:x.value,history:f.value,onLoadChat:w[1]||(w[1]=E=>C({chatId:E})),onNewChat:L,onDelete:w[2]||(w[2]=E=>S({chatId:E}))},null,8,["baseUrl","isVisible","currentChatId","history"]),p.createElementVNode("section",fl,[p.createElementVNode("header",dl,[p.createElementVNode("div",hl,[l.value?p.createCommentVNode("",!0):(p.openBlock(),p.createBlock(Ft,{key:0,title:"Mostrar historial",onClick:w[3]||(w[3]=E=>l.value=!0)})),w[8]||(w[8]=p.createElementVNode("p",null,"BolivIA",-1))]),w[9]||(w[9]=p.createElementVNode("p",null,null,-1))]),p.createElementVNode("div",ml,[h.value?(p.openBlock(),p.createBlock(xa,{key:0})):p.createCommentVNode("",!0),p.createElementVNode("div",gl,[p.createElementVNode("div",{class:"ia-chat-body-messages",ref_key:"chatContainer",ref:V},[g.value?(p.openBlock(),p.createBlock(Ea,{key:0})):p.createCommentVNode("",!0),x.value?(p.openBlock(),p.createBlock(ga,{key:1,messages:d.value.messages,total:d.value.total,"is-loading":k.value,onLoadMore:w[4]||(w[4]=()=>q({chatId:x.value,lastMessageId:d.value.messages[0].id}))},null,8,["messages","total","is-loading"])):(p.openBlock(),p.createElementBlock("div",bl,[p.createVNode(p.unref(Ja)),w[10]||(w[10]=p.createElementVNode("p",null,"Para comenzar, escribe un mensaje",-1))]))],512),p.createElementVNode("footer",kl,[s.value.length?(p.openBlock(),p.createElementBlock("p",vl," Se está usando los documentos: "+p.toDisplayString(s.value.join(", "))+" para consulta. ",1)):p.createCommentVNode("",!0),p.createElementVNode("div",xl,[p.createElementVNode("button",{class:"ia-chat-page-send-btn",onClick:c},[p.createVNode(p.unref(ja))]),p.createVNode(pl,{visible:o.value,documentos:n.value,onClose:i,onSelection:a},null,8,["visible","documentos"]),p.withDirectives(p.createElementVNode("textarea",{"onUpdate:modelValue":w[5]||(w[5]=E=>b.value=E),placeholder:"Escriba un mensaje",class:"ia-chat-text-area",required:"",rows:1,"auto-resize":"",maxlength:"300",ref_key:"textAreaRef",ref:T,onKeydown:w[6]||(w[6]=p.withKeys(p.withModifiers(E=>y(E),["prevent"]),["enter"]))},null,544),[[p.vModelText,b.value]]),p.createElementVNode("button",{class:"ia-chat-page-send-btn",onClick:w[7]||(w[7]=()=>y())},[p.createVNode(p.unref(za))])]),w[11]||(w[11]=p.createElementVNode("p",null,"BolivIA puede cometer errores. Considera verificar la información importante",-1))])])])])],2))}}),[["__scopeId","data-v-4b7faeb2"]]),_l={install:t=>{t.component("ChatPage",An)}};Y.ChatPage=An,Y.default=_l,Object.defineProperties(Y,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
22
+ `):" "+vn(s[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return n},adapters:St};function Tt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new de(null,t)}function wn(t){return Tt(t),t.headers=I.from(t.headers),t.data=qt.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),_n.getAdapter(t.adapter||ye.adapter)(t).then(function(n){return Tt(t),n.data=qt.call(t,t.transformResponse,n),n.headers=I.from(n.headers),n},function(n){return un(n)||(Tt(t),n&&n.response&&(n.response.data=qt.call(t,t.transformResponse,n.response),n.response.headers=I.from(n.response.headers))),Promise.reject(n)})}const En="1.7.7",Rt={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Rt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Cn={};Rt.transitional=function(e,r,n){function o(s,c){return"[Axios v"+En+"] Transitional option '"+s+"'"+c+(n?". "+n:"")}return(s,c,i)=>{if(e===!1)throw new D(o(c," has been removed"+(r?" in "+r:"")),D.ERR_DEPRECATED);return r&&!Cn[c]&&(Cn[c]=!0,console.warn(o(c," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,c,i):!0}};function oa(t,e,r){if(typeof t!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const s=n[o],c=e[s];if(c){const i=t[s],a=i===void 0||c(i,s,t);if(a!==!0)throw new D("option "+s+" must be "+a,D.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new D("Unknown option "+s,D.ERR_BAD_OPTION)}}const Lt={assertOptions:oa,validators:Rt},X=Lt.validators;class se{constructor(e){this.defaults=e,this.interceptors={request:new sn,response:new sn}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
23
+ `+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=oe(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:s}=r;n!==void 0&&Lt.assertOptions(n,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean)},!1),o!=null&&(m.isFunction(o)?r.paramsSerializer={serialize:o}:Lt.assertOptions(o,{encode:X.function,serialize:X.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=s&&m.merge(s.common,s[r.method]);s&&m.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=I.concat(c,s);const i=[];let a=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(a=a&&k.synchronous,i.unshift(k.fulfilled,k.rejected))});const l=[];this.interceptors.response.forEach(function(k){l.push(k.fulfilled,k.rejected)});let u,d=0,f;if(!a){const g=[wn.bind(this),void 0];for(g.unshift.apply(g,i),g.push.apply(g,l),f=g.length,u=Promise.resolve(r);d<f;)u=u.then(g[d++],g[d++]);return u}f=i.length;let h=r;for(d=0;d<f;){const g=i[d++],k=i[d++];try{h=g(h)}catch(b){k.call(this,b);break}}try{u=wn.call(this,h)}catch(g){return Promise.reject(g)}for(d=0,f=l.length;d<f;)u=u.then(l[d++],l[d++]);return u}getUri(e){e=oe(this.defaults,e);const r=hn(e.baseURL,e.url);return on(r,e.params,e.paramsSerializer)}}m.forEach(["delete","get","head","options"],function(e){se.prototype[e]=function(r,n){return this.request(oe(n||{},{method:e,url:r,data:(n||{}).data}))}}),m.forEach(["post","put","patch"],function(e){function r(n){return function(s,c,i){return this.request(oe(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:c}))}}se.prototype[e]=r(),se.prototype[e+"Form"]=r(!0)});class Bt{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const n=this;this.promise.then(o=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](o);n._listeners=null}),this.promise.then=o=>{let s;const c=new Promise(i=>{n.subscribe(i),s=i}).then(o);return c.cancel=function(){n.unsubscribe(s)},c},e(function(s,c,i){n.reason||(n.reason=new de(s,c,i),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new Bt(function(o){e=o}),cancel:e}}}function sa(t){return function(r){return t.apply(null,r)}}function ca(t){return m.isObject(t)&&t.isAxiosError===!0}const Nt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Nt).forEach(([t,e])=>{Nt[e]=t});function An(t){const e=new se(t),r=zr(se.prototype.request,e);return m.extend(r,se.prototype,e,{allOwnKeys:!0}),m.extend(r,e,null,{allOwnKeys:!0}),r.create=function(o){return An(oe(t,o))},r}const B=An(ye);B.Axios=se,B.CanceledError=de,B.CancelToken=Bt,B.isCancel=un,B.VERSION=En,B.toFormData=Pe,B.AxiosError=D,B.Cancel=B.CanceledError,B.all=function(e){return Promise.all(e)},B.spread=sa,B.isAxiosError=ca,B.mergeConfig=oe,B.AxiosHeaders=I,B.formToJSON=t=>an(m.isHTMLForm(t)?new FormData(t):t),B.getAdapter=_n.getAdapter,B.HttpStatusCode=Nt,B.default=B;const ia=async t=>B.post(`${t.baseUrl}/query`,{message:t.message,chatId:t.chatId,docNames:t.docNames},{headers:{Authorization:`Bearer ${t.token}`}}),aa=async t=>B.get(`${t.baseUrl}/chats`,{headers:{Authorization:`Bearer ${t.token}`}}),qn=async t=>B.get(`${t.baseUrl}/chats/${t.chatId}/messages`,{params:{lastMessageId:t.lastMessageId?t.lastMessageId:void 0},headers:{Authorization:`Bearer ${t.token}`}}),la=async t=>B.get(`${t.baseUrl}/chats/documentos`,{headers:{Authorization:`Bearer ${t.token}`}}),ua=async t=>B.patch(`${t.baseUrl}/message/${t.messageId}/like`,{meGusta:t.meGusta},{headers:{Authorization:`Bearer ${t.token}`}}),pa=async t=>B.delete(`${t.baseUrl}/chats/${t.chatId}`,{headers:{Authorization:`Bearer ${t.token}`}}),da={key:0,class:"ia-chat-bot-message"},fa={class:"ia-chat-message-options-bar"},ha=["onClick","disabled"],ma=["onClick","disabled"],ga={key:0,class:"ia-dots-loader-container"},ba=z(p.defineComponent({__name:"ChatMessageList",props:{messages:{},total:{},isLoading:{type:Boolean}},emits:["loadMore"],setup(t,{emit:e}){const r=t,n=p.inject(Ur)??{baseUrl:"",authToken:""},o=e,s=p.ref(),c=p.ref(),i=async(a,l)=>{console.log("Like evento recibido:",a);try{await ua({baseUrl:n.baseUrl,token:n.authToken,messageId:a,meGusta:l});const u=r.messages.find(d=>d.id===a);u&&(u.meGusta=l)}catch(u){console.error(u)}};return p.onMounted(()=>{c.value&&(s.value=new IntersectionObserver(a=>{a.forEach(l=>{l.isIntersecting&&r.total>r.messages.length&&o("loadMore")})}),s.value.observe(c.value))}),p.onUnmounted(()=>{s.value&&s.value.disconnect()}),(a,l)=>(p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createElementVNode("div",{ref_key:"target",ref:c,class:"chat-target-messages"},null,512),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.messages,u=>(p.openBlock(),p.createElementBlock("div",{class:"chat-messages-container",key:u.id},[u.esIA?(p.openBlock(),p.createElementBlock("div",da,[p.createVNode(p.unref(Rc),{source:u.message,class:"ia-chat-bot-message-container"},null,8,["source"]),p.createElementVNode("div",fa,[p.createElementVNode("button",{class:p.normalizeClass(["ia-chat-message-like-btn",{liked:u.meGusta===!0}]),onClick:d=>i(u.id,!0),disabled:u.meGusta!==null&&u.meGusta!==void 0,title:"Calificar"},[p.createVNode(p.unref(Mc))],10,ha),p.createElementVNode("button",{class:p.normalizeClass(["ia-chat-message-like-btn",{disliked:u.meGusta===!1}]),onClick:d=>i(u.id,!1),disabled:u.meGusta!==null&&u.meGusta!==void 0},[p.createVNode(p.unref(Nc))],10,ma)])])):(p.openBlock(),p.createBlock(On,{key:1,message:u},null,8,["message"]))]))),128)),a.isLoading?(p.openBlock(),p.createElementBlock("div",ga,[p.createVNode(Mt)])):p.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-2abbdc01"]]),ka={},xa={class:"ia-chat-loading"};function ya(t,e){return p.openBlock(),p.createElementBlock("div",xa,e[0]||(e[0]=[p.createStaticVNode('<div class="ia-loader-relative" data-v-9a82108b><svg class="ia-icon_1" viewBox="0 0 275 276" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-9a82108b><path d="M137.1 1C124.2 1 111.2 2.80001 98.3 6.60001C68.5 15.4 43.9 33.5 26.8 56.7C9.69999 79.9 0.0999756 108.3 0.0999756 137.9C0.0999756 150.8 1.90001 163.8 5.70001 176.7C7.60001 183 13.3 187 19.5 187C25.7 187 22.2 186.8 23.6 186.4C31.2 184.1 35.6 176.1 33.3 168.5C30.3 158.3 28.8 148 28.8 137.8C28.8 114.5 36.4 92 49.9 73.7C63.4 55.3 82.7 41.1 106.3 34.2C116.5 31.2 126.8 29.7 137 29.7C160.3 29.7 182.8 37.3 201.1 50.8C219.5 64.3 233.7 83.6 240.6 107.2C242.5 113.5 248.2 117.5 254.4 117.5C260.6 117.5 257.1 117.3 258.5 116.9C266.1 114.6 270.5 106.6 268.2 99C259.4 69.2 241.3 44.6 218.1 27.5C194.9 10.4 166.5 0.799988 136.9 0.799988" fill="url(#paint0_linear_672_78)" data-v-9a82108b></path><path d="M254.5 88.9C253.1 88.9 251.8 89.1 250.4 89.5C242.8 91.8 238.4 99.8 240.7 107.4C243.7 117.6 245.2 127.9 245.2 138.1C245.2 161.4 237.6 183.9 224.1 202.2C210.6 220.6 191.3 234.8 167.7 241.7C157.5 244.7 147.2 246.2 137 246.2C113.7 246.2 91.2 238.6 72.9 225.1C54.5 211.6 40.3001 192.3 33.4001 168.7C31.5001 162.4 25.8 158.4 19.6 158.4C13.4 158.4 16.9 158.6 15.5 159C7.90003 161.3 3.50001 169.3 5.80001 176.9C14.6 206.7 32.7001 231.3 55.9001 248.4C79.1001 265.5 107.5 275.1 137.1 275.1C150 275.1 163 273.3 175.9 269.5C205.7 260.7 230.3 242.6 247.4 219.4C264.5 196.2 274.1 167.8 274.1 138.2C274.1 125.4 272.3 112.3 268.5 99.4C266.6 93.1 260.9 89.1 254.7 89.1" fill="url(#paint1_linear_672_78)" data-v-9a82108b></path><defs data-v-9a82108b><linearGradient id="paint0_linear_672_78" x1="-2.44076e-05" y1="94.1" x2="269" y2="94.1" gradientUnits="userSpaceOnUse" data-v-9a82108b><stop stop-color="white" data-v-9a82108b></stop><stop offset="1" stop-color="white" stop-opacity="0" data-v-9a82108b></stop></linearGradient><linearGradient id="paint1_linear_672_78" x1="5.00002" y1="181.9" x2="274" y2="181.9" gradientUnits="userSpaceOnUse" data-v-9a82108b><stop stop-color="white" stop-opacity="0" data-v-9a82108b></stop><stop offset="1" stop-color="white" data-v-9a82108b></stop></linearGradient></defs></svg><svg class="ia-icon_2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 176 74" data-v-9a82108b><path fill="#fff" d="M6.4 70v-3.5c-.3 1.3-1.5 4.5-2.2 6.6h-.8c-.6-1.7-1.7-5.2-2.1-6.6v6.6H.5v-7.3h1.4c.8 2.1 1.7 5.1 2 6.1.1-.7 1.3-3.9 2.1-6.1h1.3v7.3h-.9V70ZM10.8 65.8v7.3h-.9v-7.3h.9ZM13.5 73.1v-7.3h1.2c2.9 5.1 3.3 5.8 3.4 6.2v-6.1h.9v7.3h-1.1c-3.1-5.6-3.3-6-3.5-6.3v6.4h-.8l-.1-.2ZM22.5 65.8v7.3h-.9v-7.3h.9ZM25.5 71c.1.9.8 1.4 1.6 1.4s1.4-.4 1.4-1.3-.4-1.1-1.7-1.5c-1.5-.5-2.1-1-2.1-2s.9-1.9 2.2-1.9c1.3 0 2.2.9 2.3 1.9h-.9c-.1-.7-.5-1.2-1.4-1.2-.9 0-1.3.4-1.3 1.1 0 .7.4.9 1.5 1.3 1.8.5 2.2 1.2 2.2 2.2 0 1-.8 2.1-2.4 2.1-1.6 0-2.4-.8-2.5-2.1h1.1ZM32.9 66.6h-2.1v-.8H36v.8h-2.1v6.5H33v-6.5h-.1ZM41.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3H42v.8h-3.4v2.3h3.3v.8ZM45.2 69.8v3.3h-.9v-7.3h2.6c1.3 0 2.2.6 2.2 1.9 0 1.3-.6 1.5-1.2 1.7.8.2 1.1.8 1.1 1.8 0 .8 0 1.4.1 1.9h-.9c0-.3-.1-1-.1-1.7 0-1.2-.4-1.6-1.6-1.6h-1.3Zm0-.7h1.3c.9 0 1.6-.3 1.6-1.3s-.5-1.2-1.4-1.2h-1.6v2.5h.1ZM52.3 65.8v7.3h-.9v-7.3h.9ZM60.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM66.5 65.8h2.4c1.3 0 2.3.7 2.3 2s-1 2.1-2.5 2.1h-1.4V73h-.9v-7.3l.1.1Zm.9 3.4h1.4c.9 0 1.6-.3 1.6-1.4 0-1.1-.6-1.3-1.6-1.3h-1.4v2.7ZM74.2 65.8v4.6c0 1.1.4 2 1.7 2 1.3 0 1.7-.8 1.7-2v-4.6h.9v4.6c0 1.5-.6 2.7-2.6 2.7s-2.6-1-2.6-2.7v-4.7h.9v.1Zm3.5-2.1-1.6 1.4h-.9l1.3-1.4H77.7ZM81.1 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1ZM82 72.3h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4H82v2.8ZM88.2 65.8h.9v6.5h3.5v.8h-4.4v-7.3ZM95.3 65.8v7.3h-.9v-7.3h.9ZM103.2 71c-.2 1.2-1 2.2-2.7 2.2-1.7 0-2.9-1.6-2.9-3.8 0-2.2.9-3.7 3-3.7s2.4 1 2.6 2.2h-.9c-.2-.8-.6-1.5-1.7-1.5s-2 1.4-2 2.9.5 3 2 3 1.5-.6 1.7-1.5h.9v.2ZM111.1 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM116.9 65.8h2.4c1.8 0 3.2 1.2 3.2 3.5s-1.2 3.8-3.4 3.8h-2.2v-7.3Zm.9 6.5h1.3c1.7 0 2.5-1.1 2.5-3s-1-2.7-2.4-2.7h-1.3v5.8l-.1-.1ZM128.9 69.6h-3.3v2.6h3.6v.8h-4.5v-7.3h4.3v.8h-3.4v2.3h3.3v.8ZM134.8 65.8h2.5c1.3 0 2.1.7 2.1 1.8s-.6 1.4-1 1.5c.5.2 1.3.6 1.3 1.8 0 1.2-1 2.1-2.4 2.1h-2.4v-7.3l-.1.1Zm2.3 3c1 0 1.4-.4 1.4-1.1 0-.7-.4-1.1-1.4-1.1h-1.5v2.3h1.4l.1-.1Zm-1.4 3.5h1.5c.9 0 1.6-.4 1.6-1.4 0-1-.6-1.4-1.7-1.4h-1.4v2.8ZM147.7 69.4c0 2.1-1 3.8-3.1 3.8s-3-1.6-3-3.8c0-2.2 1-3.7 3.1-3.7s3 1.6 3 3.7Zm-5.2 0c0 1.7.7 3 2.1 3 1.4 0 2.1-1.3 2.1-3s-.7-2.9-2.1-2.9c-1.4 0-2.1 1.3-2.1 2.9ZM150 65.8h.9v6.5h3.5v.8H150v-7.3ZM157.1 65.8v7.3h-.9v-7.3h.9ZM161.3 73.1l-2.4-7.3h1l1.1 3.6c.3 1 .7 2.1.8 2.8.1-.6.6-1.8.9-2.8l1.2-3.6h.9l-2.5 7.3h-1.1.1ZM167.6 65.8v7.3h-.9v-7.3h.9ZM171.1 70.9l-.7 2.2h-.9l2.4-7.3h1.1l2.5 7.3h-1l-.7-2.2h-2.7Zm2.4-.8c-.6-1.9-1-2.9-1.1-3.5-.2.9-.6 2-1.1 3.5h2.2ZM8.2 49.2c0 3.8-.9 6.3-5.5 6.3s-1.7 0-2.2-.2v-3.4c.4 0 .9.1 1.5.1 1.8 0 2.1-.9 2.1-2.6V32.3h4.1v16.9ZM15.3 32.4v15.7c0 1.9.5 4.1 3 4.1s3-1.9 3-4.1V32.3h4.1v15.8c0 4.1-1.6 7.4-7.1 7.4s-7-3.1-7-7.4V32.3h4.1l-.1.1ZM31.5 48.8c.2 1.9 1 3.6 3.1 3.6s2.8-1.3 2.8-3-.9-3-3.8-4.4c-3.9-1.9-5.5-3.5-5.5-6.9 0-3.4 2.4-6.2 6.5-6.2s6.4 3.5 6.5 6.5h-4c-.1-1.3-.5-3.2-2.5-3.2s-2.3 1.1-2.3 2.6.7 2.4 3.4 3.7c4.1 1.9 5.9 3.7 5.9 7.6 0 3.9-2.2 6.6-7.1 6.6-4.9 0-6.9-3.4-7-6.8h4.1l-.1-.1ZM47 35.9h-4.9v-3.6H56v3.6h-4.9v19.3H47V35.9ZM61.8 32.4v22.9h-4.1V32.4h4.1ZM78.7 48.6c-.1 1.2-.5 7.1-6.9 7.1s-7.3-5.7-7.3-11.9S66.7 32 72 32s6.5 5.2 6.6 7h-4.1c0-.8-.1-3.6-2.6-3.6s-3.2 3.1-3.2 8.4c0 5.3.4 8.4 3.1 8.4s2.6-2.8 2.7-3.6H78.7ZM84.8 32.4v22.9h-4.1V32.4h4.1ZM91.8 49.5l-1.1 5.8h-4.1l5.3-22.9h5.3l5.4 22.9h-4.3l-1.1-5.8H91.8Zm4.6-3.6c-.9-4.4-1.5-7.6-1.9-9.8-.3 2.1-1 5.5-1.8 9.8h3.8-.1ZM109.9 32.4h4.1v19.4h7.8l-.4 3.5h-11.5V32.4ZM127.5 32.4v22.9h-4.1V32.4h4.1ZM131 32.4h7c4 0 6.2 2.2 6.2 5.8 0 3.6-1.4 4.3-2.6 4.8 1.6.7 3.3 2.1 3.3 5.6 0 3.5-2.8 6.7-6.9 6.7h-6.9V32.4h-.1Zm6 9.1c2.5 0 3.2-1 3.2-3s-1.1-2.9-3.1-2.9H135v5.9h2Zm-2 10.6h2.4c2 0 3.2-1 3.2-3.6s-1-3.7-3.7-3.7h-2v7.4l.1-.1ZM151.2 45.5v9.8h-4.1V32.4h7c4.2 0 6.5 2.2 6.5 6.3s-1.8 4.7-3 5.2c1.8.8 2.6 2.3 2.6 5.7v.9c0 2.6.1 3.6.3 4.8h-4c-.3-1-.4-2.9-.4-4.8v-.8c0-3.1-.7-4.1-3.3-4.1H151l.2-.1Zm0-3.3h1.9c2.5 0 3.4-1.1 3.4-3.4s-.9-3.1-3-3.1h-2.3v6.5ZM174.6 45.1h-7.3v6.6h8.2l-.5 3.5h-11.8V32.3h11.7v3.6h-7.7v5.6h7.3v3.6h.1ZM10 12.3H2.9v8.2h7.9l-.3 2.1H.6V1.2h9.8v2.1H2.9v7H10v2.1-.1ZM29.4 16.6c0 1.2-.6 6.2-5.8 6.2s-6.1-6-6.1-11.2C17.5 6.4 19.1.7 23.9.7c4.8 0 5.4 4.8 5.5 6.1H27c0-.7-.2-4-3.2-4s-3.9 4.6-3.9 8.8c0 4.2.5 9.1 3.7 9.1s3.3-3.1 3.4-4.2h2.4v.1ZM49.2 11.7c0 7.3-1.7 11.2-6.4 11.2s-6.2-3.8-6.2-11.2C36.6 4.3 38.7.8 42.9.8c4.2 0 6.3 3.6 6.3 10.8v.1Zm-10.2 0c0 6.1 1.2 9.2 3.9 9.2s3.9-3 3.9-9.1S45.6 3 42.9 3 39 5.9 39 11.8v-.1ZM58.4 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S58.7.8 62.2.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9h2.4l-.1-.1ZM77.9 1.1v21.4h-2.3V1.1h2.3ZM87.9 16.9c.2 2.2 1.2 4 3.6 4 2.4 0 3.4-1.2 3.4-3.7s-.9-3.5-3.8-4.9c-3.4-1.6-4.8-3.1-4.8-6.2S88.2.8 91.7.8c3.5 0 5.3 3 5.3 5.5h-2.3c-.1-1-.4-3.5-3.1-3.5s-2.9 1.4-2.9 3.1c0 1.7.9 3 3.6 4.3 3.7 1.8 5.1 3.6 5.1 6.8 0 3.2-1.9 5.9-5.9 5.9s-5.7-2.8-5.9-5.9H88l-.1-.1ZM107.9 3.2h-4.8V1.1H115v2.1h-4.8v19.3h-2.4V3.2h.1ZM131.5 12.3h-7.1v8.2h7.9l-.3 2.1h-9.9V1.2h9.8v2.1h-7.5v7h7.1v2.1-.1ZM152.5 13.4c0-4 0-8 .1-10.3-.8 3.7-2.7 12.6-4.4 19.4h-2.3c-1.3-5.9-3.3-15.5-4.1-19.4.1 2.5.2 7.2.2 10.9v8.5h-2.2V1.1h3.5c1.7 6.7 3.4 14.9 3.9 17.7.4-2.3 2.5-11.2 4.2-17.7h3.5v21.4h-2.3v-9.1h-.1ZM165.9 15.8l-1.6 6.8h-2.4l5.2-21.4h3l5.3 21.4h-2.5l-1.6-6.8h-5.6.2Zm5.1-2.1c-1.2-5.3-2-8.6-2.3-10.3-.3 1.9-1.2 5.7-2.2 10.3h4.6-.1Z" data-v-9a82108b></path></svg></div>',1)]))}const va=z(ka,[["render",ya],["__scopeId","data-v-9a82108b"]]),_a={},wa={class:"ia-message-loader"};function Ea(t,e){return p.openBlock(),p.createElementBlock("div",wa,e[0]||(e[0]=[p.createElementVNode("div",{class:"msg-loader"},null,-1)]))}const Ca=z(_a,[["render",Ea],["__scopeId","data-v-f96b52cc"]]),Aa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function qa(t,e){return p.openBlock(),p.createElementBlock("svg",Aa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32v144H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h144v144c0 17.7 14.3 32 32 32s32-14.3 32-32V288h144c17.7 0 32-14.3 32-32s-14.3-32-32-32H256z"},null,-1)]))}const Da={render:qa},Sa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Ta(t,e){return p.openBlock(),p.createElementBlock("svg",Sa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M135.2 17.7 128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7M416 128H32l21.2 339c1.6 25.3 22.6 45 47.9 45h245.8c25.3 0 46.3-19.7 47.9-45z"},null,-1)]))}const Ra={render:Ta},La={class:"ia-chat-history-item"},Ba=["title"],je=z(p.defineComponent({__name:"ChatHistoryItem",props:{item:{}},emits:["click","delete"],setup(t,{emit:e}){const r=t,n=e;return(o,s)=>(p.openBlock(),p.createElementBlock("div",La,[p.createElementVNode("button",{class:"ia-chat-history-item-btn",onClick:s[0]||(s[0]=c=>n("click",r.item)),title:r.item.titulo},p.toDisplayString(r.item.titulo),9,Ba),p.createElementVNode("button",{class:"ia-chat-delete-item-btn",onClick:s[1]||(s[1]=c=>n("delete",r.item.id)),title:"Eliminar"},[p.createVNode(p.unref(Ra))])]))}}),[["__scopeId","data-v-8aa25cf5"]]),Na={key:0,class:"header-title"},Fa={key:1,class:"header-title"},Ia={key:2,class:"header-title"},Ma={class:"header-title"},Oa=z(p.defineComponent({__name:"ChatHistoryList",props:{history:{},currentChatId:{}},emits:["click","delete"],setup(t,{emit:e}){const r=t,n=e,o=(i,a)=>{const l=Math.abs(a.getTime()-i.getTime());return Math.ceil(l/(1e3*60*60*24))},s=i=>{const a={year:"numeric",month:"long"},l=i.toLocaleDateString(void 0,a);return l.charAt(0).toUpperCase()+l.slice(1)},c=p.computed(()=>{const i=new Date,a={today:[],last7Days:[],last30Days:[],older:{}};return r.history.forEach(l=>{const u=new Date(l.actualizadoEn),d=o(i,u);if(d===0)a.today.push(l);else if(d<=7)a.last7Days.push(l);else if(d<=30)a.last30Days.push(l);else{const f=s(u);a.older[f]||(a.older[f]=[]),a.older[f].push(l)}}),a});return(i,a)=>(p.openBlock(),p.createElementBlock("div",null,[c.value.today.length?(p.openBlock(),p.createElementBlock("h2",Na,"Hoy")):p.createCommentVNode("",!0),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(c.value.today,l=>(p.openBlock(),p.createBlock(je,{key:l.id,item:l,class:p.normalizeClass({"ia-chat-history-item-active":l.id===i.currentChatId}),onClick:a[0]||(a[0]=u=>n("click",u)),onDelete:a[1]||(a[1]=u=>n("delete",u))},null,8,["item","class"]))),128)),c.value.last7Days.length?(p.openBlock(),p.createElementBlock("h2",Fa,"Últimos 7 días")):p.createCommentVNode("",!0),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(c.value.last7Days,l=>(p.openBlock(),p.createBlock(je,{key:l.id,item:l,class:p.normalizeClass({"ia-chat-history-item-active":l.id===i.currentChatId}),onClick:a[2]||(a[2]=u=>n("click",u)),onDelete:a[3]||(a[3]=u=>n("delete",u))},null,8,["item","class"]))),128)),c.value.last30Days.length?(p.openBlock(),p.createElementBlock("h2",Ia,"Últimos 30 días")):p.createCommentVNode("",!0),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(c.value.last30Days,l=>(p.openBlock(),p.createBlock(je,{key:l.id,item:l,class:p.normalizeClass({"ia-chat-history-item-active":l.id===i.currentChatId}),onClick:a[4]||(a[4]=u=>n("click",u)),onDelete:a[5]||(a[5]=u=>n("delete",u))},null,8,["item","class"]))),128)),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(c.value.older,(l,u)=>(p.openBlock(),p.createElementBlock("div",{key:u},[p.createElementVNode("h2",Ma,p.toDisplayString(u),1),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(l,d=>(p.openBlock(),p.createBlock(je,{key:d.id,item:d,class:p.normalizeClass({"ia-chat-history-item-active":d.id===i.currentChatId}),onClick:a[6]||(a[6]=f=>n("click",f)),onDelete:a[7]||(a[7]=f=>n("delete",f))},null,8,["item","class"]))),128))]))),128))]))}}),[["__scopeId","data-v-30860a69"]]),Va={class:"ia-chat-sidebar"},Pa={class:"ia-sidebar-header"},Ua={class:"ia-sidebar-body"},za=z(p.defineComponent({__name:"ChatSidebar",props:{baseUrl:{},isVisible:{type:Boolean},history:{},currentChatId:{}},emits:["update:isVisible","loadChat","new-chat","delete"],setup(t,{emit:e}){const r=t,n=e,o=p.ref(),s=c=>{o.value=c,n("loadChat",c)};return(c,i)=>p.withDirectives((p.openBlock(),p.createElementBlock("nav",Va,[p.createElementVNode("header",Pa,[p.createVNode(It,{title:r.isVisible?"Esconder historial":"Mostrar historial",onClick:i[0]||(i[0]=a=>n("update:isVisible",!r.isVisible))},null,8,["title"]),p.createElementVNode("button",{class:"ia-sidebar-btn",onClick:i[1]||(i[1]=a=>n("new-chat"))},[p.createVNode(p.unref(Da))])]),p.createElementVNode("div",Ua,[p.createVNode(Oa,{history:r.history,currentChatId:r.currentChatId,onClick:i[2]||(i[2]=a=>s(a.id)),onDelete:i[3]||(i[3]=a=>n("delete",a))},null,8,["history","currentChatId"])])],512)),[[p.vShow,r.isVisible]])}}),[["__scopeId","data-v-41ce848f"]]),$a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 63.93 447.98 384.15"};function Ha(t,e){return p.openBlock(),p.createElementBlock("svg",$a,e[0]||(e[0]=[p.createElementVNode("path",{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"},null,-1)]))}const ja={render:Ha},Ga={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function Za(t,e){return p.openBlock(),p.createElementBlock("svg",Ga,e[0]||(e[0]=[p.createElementVNode("path",{d:"M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4"},null,-1)]))}const Ja={render:Za},Wa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"};function Ka(t,e){return p.openBlock(),p.createElementBlock("svg",Wa,e[0]||(e[0]=[p.createElementVNode("circle",{cx:"20",cy:"20",r:"20",fill:"#fff"},null,-1),p.createElementVNode("path",{fill:"var(--ia-primary-color)",d:"M20 0C8.95 0 0 8.95 0 20c0 3.41.85 6.61 2.35 9.42a24.601 24.601 0 0 0 15.05 5.16c1.86 0 3.73-.21 5.58-.65q.78-.18 1.56-.42c.37-.11.74-.23 1.11-.37.42-.15.83-.31 1.24-.49.17-.07.35-.15.52-.23-.02-.08-.04-.17-.04-.25 0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1a1 1 0 0 1-.61-.21v.03c-.35.16-.71.32-1.07.46-.14.06-.28.11-.42.17-1.37.52-2.76.91-4.16 1.18-.08.02-.16.03-.24.05-1.49.27-2.98.4-4.47.4-4.97 0-9.82-1.48-13.93-4.2-.09-.06-.18-.12-.27-.19C6.76 36.36 12.95 40 20 40c11.05 0 20-8.95 20-20S31.05 0 20 0m1.06 4.63a2.77 2.77 0 1 1 0 5.54 2.77 2.77 0 0 1 0-5.54m-8.78 23.32c-.79-.26-1.52-.66-2.13-1.22a5.46 5.46 0 0 1-1.39-2.03c-.3-.77-.43-1.61-.43-2.48a1.72 1.72 0 1 1 3.44 0c0 .53.08.93.2 1.23.12.31.27.52.5.73s.5.37.88.49.87.2 1.48.2c.66 0 1.18-.13 1.66-.38.47-.25.77-.54 1.03-.96.24-.42.37-.87.37-1.49v-9.48a1.72 1.72 0 1 1 3.44 0v9.5c0 1.14-.28 2.27-.85 3.23a5.94 5.94 0 0 1-2.4 2.26c-.99.52-2.1.77-3.24.76-.9 0-1.75-.11-2.54-.37Zm19.25-.68a1.72 1.72 0 0 1-.92.92c-.1.04-.21.08-.32.1s-.23.03-.35.03H16.29h.02c1.14 0 2.25-.25 3.24-.76 1-.51 1.83-1.29 2.4-2.26.58-.97.86-2.09.85-3.23v-9.51c0-.65-.37-1.22-.91-1.51.24-.13.51-.21.81-.21.95 0 1.72.77 1.72 1.72v9.64c.02.54.14.96.37 1.34.25.42.56.71 1.03.96.41.21.86.33 1.39.36s2.73.01 2.73.01c.59 0 1.11.3 1.42.76.19.27.29.6.29.96 0 .24-.05.46-.14.67Z"},null,-1),p.createElementVNode("path",{fill:"var(--ia-primary-color)",d:"M21.06 9.29a1.874 1.874 0 0 0 1.88-1.88 1.874 1.874 0 0 0-1.88-1.88 1.874 1.874 0 0 0-1.88 1.88 1.874 1.874 0 0 0 1.88 1.88"},null,-1)]))}const Ya={render:Ka},Qa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function Xa(t,e){return p.openBlock(),p.createElementBlock("svg",Qa,e[0]||(e[0]=[p.createElementVNode("path",{d:"M64 464h48v48H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0h165.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V304h-48V160h-80c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16v384c0 8.8 7.2 16 16 16m112-112h32c30.9 0 56 25.1 56 56s-25.1 56-56 56h-16v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V368c0-8.8 7.2-16 16-16m32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-16v48zm96-80h32c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-32c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16m32 128c8.8 0 16-7.2 16-16v-64c0-8.8-7.2-16-16-16h-16v96zm80-112c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16s-7.2 16-16 16h-32v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16h-32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V368"},null,-1)]))}const el={render:Xa},tl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function rl(t,e){return p.openBlock(),p.createElementBlock("svg",tl,e[0]||(e[0]=[p.createElementVNode("path",{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"},null,-1)]))}const nl={render:rl},ol={key:0,class:"modal-overlay"},sl={key:0,class:"ia-message-loader"},cl={class:"modal-content"},il={class:"ia-doc-header"},al={class:"document-list"},ll={class:"seleccionados"},ul={style:{"list-style":"none",width:"100%"}},pl=["onClick"],dl={class:"document-button"},fl={key:0},hl=z(p.defineComponent({__name:"DocumentList",props:{visible:Boolean,documentos:Array},emits:["close","selection"],setup(t,{emit:e}){const r=t,n=e,o=p.ref(!1),s=p.ref([]),c=l=>s.value.includes(l),i=l=>{c(l)?s.value=s.value.filter(u=>u!==l):s.value.push(l)},a=()=>{n("selection",s.value),n("close")};return(l,u)=>(p.openBlock(),p.createElementBlock("div",null,[t.visible?(p.openBlock(),p.createElementBlock("div",ol,[o.value?(p.openBlock(),p.createElementBlock("div",sl,u[1]||(u[1]=[p.createElementVNode("div",{class:"msg-loader"},null,-1)]))):p.createCommentVNode("",!0),p.createElementVNode("div",cl,[p.createElementVNode("header",il,[u[2]||(u[2]=p.createElementVNode("p",null,"Listado de Documentos",-1)),p.createElementVNode("button",{class:"close-btn",onClick:u[0]||(u[0]=d=>n("close"))},"X")]),p.createElementVNode("div",al,[p.createElementVNode("p",ll,p.toDisplayString(s.value.length)+" Elementos seleccionados",1),p.createElementVNode("ul",ul,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.documentos,(d,f)=>(p.openBlock(),p.createElementBlock("li",{key:f,class:p.normalizeClass(["document-item",c(d.name)?"selected":""]),onClick:h=>i(d.name)},[p.createElementVNode("button",dl,[p.createVNode(p.unref(el)),p.createElementVNode("span",null,p.toDisplayString(d.shortDescription),1)])],10,pl))),128))])]),r.documentos.length?p.createCommentVNode("",!0):(p.openBlock(),p.createElementBlock("p",fl,"No hay datos disponibles")),p.createElementVNode("button",{onClick:a,class:"confirm-btn"},[p.createVNode(p.unref(nl)),u[3]||(u[3]=p.createTextVNode("Confirmar Selección "))])])])):p.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-b52ccce3"]]),ml={class:"ia-chat-container"},gl={class:"ia-chat-header"},bl={style:{display:"flex",gap:"0.5rem"}},kl={class:"ia-chat-body-container"},xl={class:"ia-chat-body"},yl={class:"ia-chat-empty-container"},vl={key:0,class:"ia-dots-loader-container"},_l={class:"ia-chat-footer"},wl={key:0},El={class:"ia-chat-text-area-container"},Dn=z(p.defineComponent({__name:"ChatPage",props:{baseUrl:{},authToken:{},darkMode:{type:Boolean,default:!1},containerClass:{}},setup(t){const e=t,r=p.reactive({baseUrl:"",authToken:""}),n=p.ref([]),o=p.ref(!1),s=p.ref([]),c=()=>{o.value=!0},i=()=>{o.value=!1},a=x=>{s.value=x},l=p.ref(!0),u=p.computed(()=>e.darkMode?`dark ia-chat-page-container ${e.containerClass?e.containerClass:""}`:`ia-chat-page-container ${e.containerClass?e.containerClass:""}`),d=p.ref([]),f=p.ref({messages:[],total:0}),h=p.ref(!1),g=p.ref(!1),k=p.ref(!1),b=p.ref(""),y=p.ref();p.onMounted(()=>{r.baseUrl=e.baseUrl,r.authToken=e.authToken,p.provide(Ur,r),v(),A()});const v=async()=>{try{const x=await aa({baseUrl:e.baseUrl,token:e.authToken});d.value=x.data.response.data}catch(x){console.log(x)}},C=async x=>{try{h.value=!0;const w=await qn({baseUrl:e.baseUrl,chatId:x.chatId,token:e.authToken});y.value=x.chatId,f.value={messages:[...w.data.response.data],total:w.data.response.pagination.total},p.nextTick(()=>{K()})}catch(w){console.log(w)}finally{h.value=!1}},q=async x=>{try{g.value=!0;const w=await qn({baseUrl:e.baseUrl,chatId:x.chatId,token:e.authToken,lastMessageId:x.lastMessageId});y.value=x.chatId,f.value={messages:[...w.data.response.data,...f.value.messages],total:w.data.response.pagination.total},p.nextTick(()=>{V.value&&(V.value.scrollTop=40)})}catch(w){console.log(w)}finally{g.value=!1}},A=async()=>{try{h.value=!0;const x=await la({baseUrl:e.baseUrl,token:e.authToken});n.value=x.data.response.data}catch(x){console.log(x)}finally{h.value=!1}},_=async x=>{var w,E,j;if(x&&x.key==="Enter"&&x.shiftKey){b.value+=`
24
+ `;return}if(b.value)try{const fe=Math.round(Math.random()*1e6).toString();f.value.messages.push({id:fe,message:b.value,chatId:y.value?y.value:void 0,esIA:!1,creadoEn:new Date().toISOString()}),f.value.total+=1,k.value=!0,p.nextTick(()=>{K()});const Al=b.value;b.value="";const Ge=await ia({baseUrl:e.baseUrl,message:Al,docNames:((w=s.value)==null?void 0:w.length)>0?s.value:void 0,chatId:y.value,token:e.authToken});if(Ge.data.response.data.nuevoChat){const ql=Ge.data.response.data.nuevoChat;d.value=[ql,...d.value]}y.value=(E=Ge.data.response.data.messages)==null?void 0:E[0].chatId,f.value.messages.push((j=Ge.data.response.data.messages)==null?void 0:j[1]),f.value.total+=1,p.nextTick(()=>{K()})}catch(fe){console.log(fe)}finally{k.value=!1}},S=async x=>{try{const w=await pa({baseUrl:e.baseUrl,chatId:x.chatId,token:e.authToken});v(),N(),y.value=void 0}catch(w){console.log(w)}},L=()=>{y.value=void 0,N()},N=()=>{f.value={messages:[],total:0},b.value=""},T=p.ref();p.watch(b,()=>{U()});const U=()=>{p.nextTick(()=>{T.value&&(T.value.style.height="auto",T.value.style.height=`${T.value.scrollHeight}px`)})},V=p.ref(),K=()=>{V.value&&(V.value.scrollTop=V.value.scrollHeight)};return(x,w)=>(p.openBlock(),p.createElementBlock("div",{class:p.normalizeClass(u.value)},[p.createVNode(za,{baseUrl:e.baseUrl,isVisible:l.value,"onUpdate:isVisible":w[0]||(w[0]=E=>l.value=E),currentChatId:y.value,history:d.value,onLoadChat:w[1]||(w[1]=E=>C({chatId:E})),onNewChat:L,onDelete:w[2]||(w[2]=E=>S({chatId:E}))},null,8,["baseUrl","isVisible","currentChatId","history"]),p.createElementVNode("section",ml,[p.createElementVNode("header",gl,[p.createElementVNode("div",bl,[l.value?p.createCommentVNode("",!0):(p.openBlock(),p.createBlock(It,{key:0,title:"Mostrar historial",onClick:w[3]||(w[3]=E=>l.value=!0)})),w[8]||(w[8]=p.createElementVNode("p",null,"BolivIA",-1))]),w[9]||(w[9]=p.createElementVNode("p",null,null,-1))]),p.createElementVNode("div",kl,[h.value?(p.openBlock(),p.createBlock(va,{key:0})):p.createCommentVNode("",!0),p.createElementVNode("div",xl,[p.createElementVNode("div",{class:"ia-chat-body-messages",ref_key:"chatContainer",ref:V},[g.value?(p.openBlock(),p.createBlock(Ca,{key:0})):p.createCommentVNode("",!0),y.value?(p.openBlock(),p.createBlock(ba,{key:1,messages:f.value.messages,total:f.value.total,"is-loading":k.value,onLoadMore:w[4]||(w[4]=()=>q({chatId:y.value,lastMessageId:f.value.messages[0].id}))},null,8,["messages","total","is-loading"])):(p.openBlock(),p.createElementBlock(p.Fragment,{key:2},[p.createElementVNode("div",yl,[p.createVNode(p.unref(Ya)),w[10]||(w[10]=p.createElementVNode("p",null,"Para comenzar, escribe un mensaje",-1))]),k.value?(p.openBlock(),p.createElementBlock("div",vl,[p.createVNode(Mt)])):p.createCommentVNode("",!0)],64))],512),p.createElementVNode("footer",_l,[s.value.length?(p.openBlock(),p.createElementBlock("p",wl," Se está usando los documentos: "+p.toDisplayString(s.value.join(", "))+" para consulta. ",1)):p.createCommentVNode("",!0),p.createElementVNode("div",El,[p.createElementVNode("button",{class:"ia-chat-page-send-btn",onClick:c},[p.createVNode(p.unref(Ja))]),p.createVNode(hl,{visible:o.value,documentos:n.value,onClose:i,onSelection:a},null,8,["visible","documentos"]),p.withDirectives(p.createElementVNode("textarea",{"onUpdate:modelValue":w[5]||(w[5]=E=>b.value=E),placeholder:"Escriba un mensaje",class:"ia-chat-text-area",required:"",rows:1,"auto-resize":"",maxlength:"500",ref_key:"textAreaRef",ref:T,onKeydown:w[6]||(w[6]=p.withKeys(p.withModifiers(E=>_(E),["prevent"]),["enter"]))},null,544),[[p.vModelText,b.value]]),p.createElementVNode("button",{class:"ia-chat-page-send-btn",onClick:w[7]||(w[7]=()=>_())},[p.createVNode(p.unref(ja))])]),w[11]||(w[11]=p.createElementVNode("p",null,"BolivIA puede cometer errores. Considera verificar la información importante",-1))])])])])],2))}}),[["__scopeId","data-v-2493760c"]]),Cl={install:t=>{t.component("ChatPage",Dn)}};Y.ChatPage=Dn,Y.default=Cl,Object.defineProperties(Y,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});