rio-assist-widget 0.1.28 → 0.1.34
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.
- package/README.md +62 -62
- package/dist/rio-assist.js +209 -132
- package/index.html +38 -38
- package/package.json +40 -40
- package/src/components/conversations-panel/conversations-panel.template.ts +30 -34
- package/src/components/floating-button/floating-button.styles.ts +7 -0
- package/src/components/floating-button/floating-button.template.ts +10 -2
- package/src/components/fullscreen/fullscreen.styles.ts +75 -65
- package/src/components/fullscreen/fullscreen.template.ts +34 -0
- package/src/components/mini-panel/mini-panel.styles.ts +52 -51
- package/src/components/mini-panel/mini-panel.template.ts +167 -189
- package/src/components/rio-assist/rio-assist.styles.ts +101 -92
- package/src/components/rio-assist/rio-assist.template.ts +106 -75
- package/src/components/rio-assist/rio-assist.ts +1676 -1520
- package/src/main.ts +15 -15
- package/src/playground.ts +31 -31
- package/src/services/rioWebsocket.ts +142 -142
package/dist/rio-assist.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
(function(){"use strict";var
|
|
1
|
+
(function(){"use strict";var cr;var x=typeof document<"u"?document.currentScript:null;/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/const bt=globalThis,Ot=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pt=Symbol(),Nu=new WeakMap;let Ou=class{constructor(t,u,n){if(this._$cssResult$=!0,n!==Pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=u}get styleSheet(){let t=this.o;const u=this.t;if(Ot&&t===void 0){const n=u!==void 0&&u.length===1;n&&(t=Nu.get(u)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Nu.set(u,t))}return t}toString(){return this.cssText}};const
|
|
5
|
+
*/const bt=globalThis,Ot=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pt=Symbol(),Nu=new WeakMap;let Ou=class{constructor(t,u,n){if(this._$cssResult$=!0,n!==Pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=u}get styleSheet(){let t=this.o;const u=this.t;if(Ot&&t===void 0){const n=u!==void 0&&u.length===1;n&&(t=Nu.get(u)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Nu.set(u,t))}return t}toString(){return this.cssText}};const Ur=e=>new Ou(typeof e=="string"?e:e+"",void 0,Pt),qe=(e,...t)=>{const u=e.length===1?e[0]:t.reduce((n,r,i)=>n+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[i+1],e[0]);return new Ou(u,e,Pt)},Lr=(e,t)=>{if(Ot)e.adoptedStyleSheets=t.map(u=>u instanceof CSSStyleSheet?u:u.styleSheet);else for(const u of t){const n=document.createElement("style"),r=bt.litNonce;r!==void 0&&n.setAttribute("nonce",r),n.textContent=u.cssText,e.appendChild(n)}},Pu=Ot?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let u="";for(const n of t.cssRules)u+=n.cssText;return Ur(u)})(e):e;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:
|
|
9
|
+
*/const{is:Nr,defineProperty:Or,getOwnPropertyDescriptor:Pr,getOwnPropertyNames:$r,getOwnPropertySymbols:zr,getPrototypeOf:Hr}=Object,he=globalThis,$u=he.trustedTypes,qr=$u?$u.emptyScript:"",$t=he.reactiveElementPolyfillSupport,je=(e,t)=>e,zt={toAttribute(e,t){switch(t){case Boolean:e=e?qr:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let u=e;switch(t){case Boolean:u=e!==null;break;case Number:u=e===null?null:Number(e);break;case Object:case Array:try{u=JSON.parse(e)}catch{u=null}}return u}},zu=(e,t)=>!Nr(e,t),Hu={attribute:!0,type:String,converter:zt,reflect:!1,useDefault:!1,hasChanged:zu};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),he.litPropertyMetadata??(he.litPropertyMetadata=new WeakMap);let De=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,u=Hu){if(u.state&&(u.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((u=Object.create(u)).wrapped=!0),this.elementProperties.set(t,u),!u.noAccessor){const n=Symbol(),r=this.getPropertyDescriptor(t,n,u);r!==void 0&&Or(this.prototype,t,r)}}static getPropertyDescriptor(t,u,n){const{get:r,set:i}=Pr(this.prototype,t)??{get(){return this[u]},set(o){this[u]=o}};return{get:r,set(o){const s=r==null?void 0:r.call(this);i==null||i.call(this,o),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Hu}static _$Ei(){if(this.hasOwnProperty(je("elementProperties")))return;const t=Hr(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(je("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(je("properties"))){const u=this.properties,n=[...$r(u),...zr(u)];for(const r of n)this.createProperty(r,u[r])}const t=this[Symbol.metadata];if(t!==null){const u=litPropertyMetadata.get(t);if(u!==void 0)for(const[n,r]of u)this.elementProperties.set(n,r)}this._$Eh=new Map;for(const[u,n]of this.elementProperties){const r=this._$Eu(u,n);r!==void 0&&this._$Eh.set(r,u)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const u=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const r of n)u.unshift(Pu(r))}else t!==void 0&&u.push(Pu(t));return u}static _$Eu(t,u){const n=u.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(u=>this.enableUpdating=u),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(u=>u(this))}addController(t){var u;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((u=t.hostConnected)==null||u.call(t))}removeController(t){var u;(u=this._$EO)==null||u.delete(t)}_$E_(){const t=new Map,u=this.constructor.elementProperties;for(const n of u.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Lr(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(u=>{var n;return(n=u.hostConnected)==null?void 0:n.call(u)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(u=>{var n;return(n=u.hostDisconnected)==null?void 0:n.call(u)})}attributeChangedCallback(t,u,n){this._$AK(t,n)}_$ET(t,u){var i;const n=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,n);if(r!==void 0&&n.reflect===!0){const o=(((i=n.converter)==null?void 0:i.toAttribute)!==void 0?n.converter:zt).toAttribute(u,n.type);this._$Em=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,u){var i,o;const n=this.constructor,r=n._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const s=n.getPropertyOptions(r),a=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:zt;this._$Em=r;const c=a.fromAttribute(u,s.type);this[r]=c??((o=this._$Ej)==null?void 0:o.get(r))??c,this._$Em=null}}requestUpdate(t,u,n){var r;if(t!==void 0){const i=this.constructor,o=this[t];if(n??(n=i.getPropertyOptions(t)),!((n.hasChanged??zu)(o,u)||n.useDefault&&n.reflect&&o===((r=this._$Ej)==null?void 0:r.get(t))&&!this.hasAttribute(i._$Eu(t,n))))return;this.C(t,u,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,u,{useDefault:n,reflect:r,wrapped:i},o){n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,o??u??this[t]),i!==!0||o!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(u=void 0),this._$AL.set(t,u)),r===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(u){Promise.reject(u)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,o]of this._$Ep)this[i]=o;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,o]of r){const{wrapped:s}=o,a=this[i];s!==!0||this._$AL.has(i)||a===void 0||this.C(i,void 0,o,a)}}let t=!1;const u=this._$AL;try{t=this.shouldUpdate(u),t?(this.willUpdate(u),(n=this._$EO)==null||n.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(u)):this._$EM()}catch(r){throw t=!1,this._$EM(),r}t&&this._$AE(u)}willUpdate(t){}_$AE(t){var u;(u=this._$EO)==null||u.forEach(n=>{var r;return(r=n.hostUpdated)==null?void 0:r.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(u=>this._$ET(u,this[u]))),this._$EM()}updated(t){}firstUpdated(t){}};De.elementStyles=[],De.shadowRootOptions={mode:"open"},De[je("elementProperties")]=new Map,De[je("finalized")]=new Map,$t==null||$t({ReactiveElement:De}),(he.reactiveElementVersions??(he.reactiveElementVersions=[])).push("2.1.1");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const Ye=globalThis,gt=Ye.trustedTypes,qu=gt?gt.createPolicy("lit-html",{createHTML:e=>e}):void 0,ju="$lit$",pe=`lit$${Math.random().toFixed(9).slice(2)}$`,Yu="?"+pe,
|
|
14
|
-
\f\r]`,
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
13
|
+
*/const Ye=globalThis,gt=Ye.trustedTypes,qu=gt?gt.createPolicy("lit-html",{createHTML:e=>e}):void 0,ju="$lit$",pe=`lit$${Math.random().toFixed(9).slice(2)}$`,Yu="?"+pe,jr=`<${Yu}>`,_e=document,Qe=()=>_e.createComment(""),Ve=e=>e===null||typeof e!="object"&&typeof e!="function",Ht=Array.isArray,Yr=e=>Ht(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",qt=`[
|
|
14
|
+
\f\r]`,Ge=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qu=/-->/g,Vu=/>/g,Ce=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Gu=/'/g,Wu=/"/g,Zu=/^(?:script|style|textarea|title)$/i,Qr=e=>(t,...u)=>({_$litType$:e,strings:t,values:u}),S=Qr(1),ae=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Xu=new WeakMap,ye=_e.createTreeWalker(_e,129);function Ku(e,t){if(!Ht(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return qu!==void 0?qu.createHTML(t):t}const Vr=(e,t)=>{const u=e.length-1,n=[];let r,i=t===2?"<svg>":t===3?"<math>":"",o=Ge;for(let s=0;s<u;s++){const a=e[s];let c,d,f=-1,g=0;for(;g<a.length&&(o.lastIndex=g,d=o.exec(a),d!==null);)g=o.lastIndex,o===Ge?d[1]==="!--"?o=Qu:d[1]!==void 0?o=Vu:d[2]!==void 0?(Zu.test(d[2])&&(r=RegExp("</"+d[2],"g")),o=Ce):d[3]!==void 0&&(o=Ce):o===Ce?d[0]===">"?(o=r??Ge,f=-1):d[1]===void 0?f=-2:(f=o.lastIndex-d[2].length,c=d[1],o=d[3]===void 0?Ce:d[3]==='"'?Wu:Gu):o===Wu||o===Gu?o=Ce:o===Qu||o===Vu?o=Ge:(o=Ce,r=void 0);const p=o===Ce&&e[s+1].startsWith("/>")?" ":"";i+=o===Ge?a+jr:f>=0?(n.push(c),a.slice(0,f)+ju+a.slice(f)+pe+p):a+pe+(f===-2?s:p)}return[Ku(e,i+(e[u]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class We{constructor({strings:t,_$litType$:u},n){let r;this.parts=[];let i=0,o=0;const s=t.length-1,a=this.parts,[c,d]=Vr(t,u);if(this.el=We.createElement(c,n),ye.currentNode=this.el.content,u===2||u===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(r=ye.nextNode())!==null&&a.length<s;){if(r.nodeType===1){if(r.hasAttributes())for(const f of r.getAttributeNames())if(f.endsWith(ju)){const g=d[o++],p=r.getAttribute(f).split(pe),h=/([.?@])?(.*)/.exec(g);a.push({type:1,index:i,name:h[2],strings:p,ctor:h[1]==="."?Wr:h[1]==="?"?Zr:h[1]==="@"?Xr:mt}),r.removeAttribute(f)}else f.startsWith(pe)&&(a.push({type:6,index:i}),r.removeAttribute(f));if(Zu.test(r.tagName)){const f=r.textContent.split(pe),g=f.length-1;if(g>0){r.textContent=gt?gt.emptyScript:"";for(let p=0;p<g;p++)r.append(f[p],Qe()),ye.nextNode(),a.push({type:2,index:++i});r.append(f[g],Qe())}}}else if(r.nodeType===8)if(r.data===Yu)a.push({type:2,index:i});else{let f=-1;for(;(f=r.data.indexOf(pe,f+1))!==-1;)a.push({type:7,index:i}),f+=pe.length-1}i++}}static createElement(t,u){const n=_e.createElement("template");return n.innerHTML=t,n}}function Se(e,t,u=e,n){var o,s;if(t===ae)return t;let r=n!==void 0?(o=u._$Co)==null?void 0:o[n]:u._$Cl;const i=Ve(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==i&&((s=r==null?void 0:r._$AO)==null||s.call(r,!1),i===void 0?r=void 0:(r=new i(e),r._$AT(e,u,n)),n!==void 0?(u._$Co??(u._$Co=[]))[n]=r:u._$Cl=r),r!==void 0&&(t=Se(e,r._$AS(e,t.values),r,n)),t}class Gr{constructor(t,u){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=u}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:u},parts:n}=this._$AD,r=((t==null?void 0:t.creationScope)??_e).importNode(u,!0);ye.currentNode=r;let i=ye.nextNode(),o=0,s=0,a=n[0];for(;a!==void 0;){if(o===a.index){let c;a.type===2?c=new Ze(i,i.nextSibling,this,t):a.type===1?c=new a.ctor(i,a.name,a.strings,this,t):a.type===6&&(c=new Kr(i,this,t)),this._$AV.push(c),a=n[++s]}o!==(a==null?void 0:a.index)&&(i=ye.nextNode(),o++)}return ye.currentNode=_e,r}p(t){let u=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,u),u+=n.strings.length-2):n._$AI(t[u])),u++}}class Ze{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,u,n,r){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=u,this._$AM=n,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const u=this._$AM;return u!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=u.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,u=this){t=Se(this,t,u),Ve(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==ae&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Ve(this._$AH)?this._$AA.nextSibling.data=t:this.T(_e.createTextNode(t)),this._$AH=t}$(t){var i;const{values:u,_$litType$:n}=t,r=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=We.createElement(Ku(n.h,n.h[0]),this.options)),n);if(((i=this._$AH)==null?void 0:i._$AD)===r)this._$AH.p(u);else{const o=new Gr(r,this),s=o.u(this.options);o.p(u),this.T(s),this._$AH=o}}_$AC(t){let u=Xu.get(t.strings);return u===void 0&&Xu.set(t.strings,u=new We(t)),u}k(t){Ht(this._$AH)||(this._$AH=[],this._$AR());const u=this._$AH;let n,r=0;for(const i of t)r===u.length?u.push(n=new Ze(this.O(Qe()),this.O(Qe()),this,this.options)):n=u[r],n._$AI(i),r++;r<u.length&&(this._$AR(n&&n._$AB.nextSibling,r),u.length=r)}_$AR(t=this._$AA.nextSibling,u){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,u);t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var u;this._$AM===void 0&&(this._$Cv=t,(u=this._$AP)==null||u.call(this,t))}}class mt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,u,n,r,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=u,this._$AM=r,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,u=this,n,r){const i=this.strings;let o=!1;if(i===void 0)t=Se(this,t,u,0),o=!Ve(t)||t!==this._$AH&&t!==ae,o&&(this._$AH=t);else{const s=t;let a,c;for(t=i[0],a=0;a<i.length-1;a++)c=Se(this,s[n+a],u,a),c===ae&&(c=this._$AH[a]),o||(o=!Ve(c)||c!==this._$AH[a]),c===M?t=M:t!==M&&(t+=(c??"")+i[a+1]),this._$AH[a]=c}o&&!r&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Wr extends mt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}}class Zr extends mt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}}class Xr extends mt{constructor(t,u,n,r,i){super(t,u,n,r,i),this.type=5}_$AI(t,u=this){if((t=Se(this,t,u,0)??M)===ae)return;const n=this._$AH,r=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==M&&(n===M||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var u;typeof this._$AH=="function"?this._$AH.call(((u=this.options)==null?void 0:u.host)??this.element,t):this._$AH.handleEvent(t)}}class Kr{constructor(t,u,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=u,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Se(this,t)}}const jt=Ye.litHtmlPolyfillSupport;jt==null||jt(We,Ze),(Ye.litHtmlVersions??(Ye.litHtmlVersions=[])).push("3.3.1");const Jr=(e,t,u)=>{const n=(u==null?void 0:u.renderBefore)??t;let r=n._$litPart$;if(r===void 0){const i=(u==null?void 0:u.renderBefore)??null;n._$litPart$=r=new Ze(t.insertBefore(Qe(),i),i,void 0,u??{})}return r._$AI(e),r};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const Ee=globalThis;let Xe=class extends De{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var u;const t=super.createRenderRoot();return(u=this.renderOptions).renderBefore??(u.renderBefore=t.firstChild),t}update(t){const u=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=
|
|
19
|
+
*/const Ee=globalThis;let Xe=class extends De{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var u;const t=super.createRenderRoot();return(u=this.renderOptions).renderBefore??(u.renderBefore=t.firstChild),t}update(t){const u=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Jr(u,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return ae}};Xe._$litElement$=!0,Xe.finalized=!0,(cr=Ee.litElementHydrateSupport)==null||cr.call(Ee,{LitElement:Xe});const Yt=Ee.litElementPolyfillSupport;Yt==null||Yt({LitElement:Xe}),(Ee.litElementVersions??(Ee.litElementVersions=[])).push("4.2.1");const ei=qe`
|
|
20
20
|
.floating-button {
|
|
21
21
|
position: absolute;
|
|
22
22
|
pointer-events: auto;
|
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
letter-spacing: -0.2px;
|
|
37
37
|
border-radius: 32px 0 0 32px;
|
|
38
38
|
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
|
|
39
|
+
cursor: grab;
|
|
40
|
+
user-select: none;
|
|
41
|
+
touch-action: none;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
.floating-button img {
|
|
@@ -57,11 +60,15 @@
|
|
|
57
60
|
box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
|
|
58
61
|
}
|
|
59
62
|
|
|
63
|
+
.floating-button:active {
|
|
64
|
+
cursor: grabbing;
|
|
65
|
+
}
|
|
66
|
+
|
|
60
67
|
.canvas--fullscreen .floating-button {
|
|
61
68
|
opacity: 0;
|
|
62
69
|
pointer-events: none;
|
|
63
70
|
}
|
|
64
|
-
`,
|
|
71
|
+
`,ti=qe`
|
|
65
72
|
.canvas {
|
|
66
73
|
position: absolute;
|
|
67
74
|
inset: 0;
|
|
@@ -142,7 +149,7 @@
|
|
|
142
149
|
|
|
143
150
|
.panel-header__icons {
|
|
144
151
|
display: inline-flex;
|
|
145
|
-
gap:
|
|
152
|
+
gap: 10px;
|
|
146
153
|
align-items: center;
|
|
147
154
|
padding-right: 12px;
|
|
148
155
|
}
|
|
@@ -381,14 +388,14 @@
|
|
|
381
388
|
display: inline-flex;
|
|
382
389
|
align-items: center;
|
|
383
390
|
gap: 12px;
|
|
384
|
-
border:
|
|
385
|
-
background:
|
|
391
|
+
border: none;
|
|
392
|
+
background: transparent;
|
|
386
393
|
color: #1f2f36;
|
|
387
394
|
border-radius: 999px;
|
|
388
395
|
padding: 8px 12px 8px 10px;
|
|
389
396
|
font-weight: 600;
|
|
390
|
-
box-shadow:
|
|
391
|
-
transition:
|
|
397
|
+
box-shadow: none;
|
|
398
|
+
transition: color 0.2s ease;
|
|
392
399
|
}
|
|
393
400
|
|
|
394
401
|
.short-answer-toggle:focus-visible {
|
|
@@ -430,8 +437,9 @@
|
|
|
430
437
|
white-space: nowrap;
|
|
431
438
|
}
|
|
432
439
|
|
|
433
|
-
.short-answer-toggle--
|
|
434
|
-
|
|
440
|
+
.short-answer-toggle--header {
|
|
441
|
+
padding: 6px 10px 6px 8px;
|
|
442
|
+
font-size: 13px;
|
|
435
443
|
}
|
|
436
444
|
|
|
437
445
|
.suggestions-label {
|
|
@@ -549,7 +557,7 @@
|
|
|
549
557
|
width: 16px;
|
|
550
558
|
height: 16px;
|
|
551
559
|
}
|
|
552
|
-
`,
|
|
560
|
+
`,ui=qe`
|
|
553
561
|
.fullscreen-shell {
|
|
554
562
|
position: fixed;
|
|
555
563
|
inset: 0;
|
|
@@ -710,7 +718,7 @@
|
|
|
710
718
|
|
|
711
719
|
.fullscreen-exit-inline {
|
|
712
720
|
position: absolute;
|
|
713
|
-
top:
|
|
721
|
+
top: 64px;
|
|
714
722
|
right: 14px;
|
|
715
723
|
width: 28px;
|
|
716
724
|
height: 28px;
|
|
@@ -736,6 +744,16 @@
|
|
|
736
744
|
background: linear-gradient(180deg, #eef3f6 0%, #fff 100%);
|
|
737
745
|
}
|
|
738
746
|
|
|
747
|
+
.fullscreen-utility-bar {
|
|
748
|
+
position: absolute;
|
|
749
|
+
top: 60px;
|
|
750
|
+
right: 52px;
|
|
751
|
+
display: inline-flex;
|
|
752
|
+
align-items: center;
|
|
753
|
+
gap: 12px;
|
|
754
|
+
z-index: 2;
|
|
755
|
+
}
|
|
756
|
+
|
|
739
757
|
.fullscreen-chat {
|
|
740
758
|
background: #fff;
|
|
741
759
|
display: flex;
|
|
@@ -774,7 +792,7 @@
|
|
|
774
792
|
padding-right: clamp(12px, 2vw, 24px);
|
|
775
793
|
box-sizing: border-box;
|
|
776
794
|
}
|
|
777
|
-
`,
|
|
795
|
+
`,ni=qe`
|
|
778
796
|
.conversations-panel {
|
|
779
797
|
position: absolute;
|
|
780
798
|
top: var(--header-height, 128px);
|
|
@@ -1119,7 +1137,7 @@
|
|
|
1119
1137
|
border-color: #7bc1d3ff;
|
|
1120
1138
|
color: #88c5d3ff;
|
|
1121
1139
|
}
|
|
1122
|
-
`,
|
|
1140
|
+
`,ri=[qe`
|
|
1123
1141
|
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@700&display=swap');
|
|
1124
1142
|
|
|
1125
1143
|
:host {
|
|
@@ -1149,7 +1167,10 @@
|
|
|
1149
1167
|
}
|
|
1150
1168
|
|
|
1151
1169
|
.dialog {
|
|
1152
|
-
width:
|
|
1170
|
+
width: auto;
|
|
1171
|
+
min-width: 360px;
|
|
1172
|
+
max-width: calc(100% - 32px);
|
|
1173
|
+
box-sizing: border-box;
|
|
1153
1174
|
background: #fff;
|
|
1154
1175
|
border-radius: 12px;
|
|
1155
1176
|
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
|
|
@@ -1163,10 +1184,12 @@
|
|
|
1163
1184
|
margin: 0;
|
|
1164
1185
|
font-size: 16px;
|
|
1165
1186
|
color: #1f2f36;
|
|
1187
|
+
text-align: center;
|
|
1166
1188
|
}
|
|
1167
1189
|
|
|
1168
1190
|
.dialog__message--title {
|
|
1169
1191
|
font-weight: 700;
|
|
1192
|
+
text-transform: uppercase;
|
|
1170
1193
|
}
|
|
1171
1194
|
|
|
1172
1195
|
.dialog__message--error {
|
|
@@ -1191,17 +1214,21 @@
|
|
|
1191
1214
|
|
|
1192
1215
|
.dialog__actions {
|
|
1193
1216
|
display: flex;
|
|
1194
|
-
justify-content:
|
|
1217
|
+
justify-content: center;
|
|
1195
1218
|
gap: 10px;
|
|
1219
|
+
flex-wrap: nowrap;
|
|
1220
|
+
align-items: center;
|
|
1196
1221
|
}
|
|
1197
1222
|
|
|
1198
1223
|
.dialog__button {
|
|
1199
|
-
min-width:
|
|
1224
|
+
min-width: max-content;
|
|
1200
1225
|
height: 36px;
|
|
1201
|
-
padding: 0
|
|
1226
|
+
padding: 0 16px;
|
|
1202
1227
|
border-radius: 8px;
|
|
1203
1228
|
border: 1px solid transparent;
|
|
1204
1229
|
font-weight: 600;
|
|
1230
|
+
text-transform: uppercase;
|
|
1231
|
+
white-space: nowrap;
|
|
1205
1232
|
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
1206
1233
|
}
|
|
1207
1234
|
|
|
@@ -1217,50 +1244,54 @@
|
|
|
1217
1244
|
}
|
|
1218
1245
|
|
|
1219
1246
|
.dialog__button--primary {
|
|
1220
|
-
background:
|
|
1247
|
+
background: #008b9a;
|
|
1221
1248
|
color: #fff;
|
|
1222
1249
|
}
|
|
1223
|
-
`,
|
|
1250
|
+
`,ei,ti,ui,ni];/**
|
|
1224
1251
|
* @license
|
|
1225
1252
|
* Copyright 2017 Google LLC
|
|
1226
1253
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1227
|
-
*/const Qt={ATTRIBUTE:1,CHILD:2},
|
|
1254
|
+
*/const Qt={ATTRIBUTE:1,CHILD:2},Vt=e=>(...t)=>({_$litDirective$:e,values:t});let Gt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,u,n){this._$Ct=t,this._$AM=u,this._$Ci=n}_$AS(t,u){return this.update(t,u)}update(t,u){return this.render(...u)}};/**
|
|
1255
|
+
* @license
|
|
1256
|
+
* Copyright 2018 Google LLC
|
|
1257
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1258
|
+
*/const V=Vt(class extends Gt{constructor(e){var t;if(super(e),e.type!==Qt.ATTRIBUTE||e.name!=="class"||((t=e.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var n,r;if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(const i in t)t[i]&&!((n=this.nt)!=null&&n.has(i))&&this.st.add(i);return this.render(t)}const u=e.element.classList;for(const i of this.st)i in t||(u.remove(i),this.st.delete(i));for(const i in t){const o=!!t[i];o===this.st.has(i)||(r=this.nt)!=null&&r.has(i)||(o?(u.add(i),this.st.add(i)):(u.remove(i),this.st.delete(i)))}return ae}});/**
|
|
1228
1259
|
* @license
|
|
1229
1260
|
* Copyright 2018 Google LLC
|
|
1230
1261
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1231
|
-
*/const
|
|
1262
|
+
*/const Ju="important",ii=" !"+Ju,en=Vt(class extends Gt{constructor(e){var t;if(super(e),e.type!==Qt.ATTRIBUTE||e.name!=="style"||((t=e.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,u)=>{const n=e[u];return n==null?t:t+`${u=u.includes("-")?u:u.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){const{style:u}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?u.removeProperty(n):u[n]=null);for(const n in t){const r=t[n];if(r!=null){this.ft.add(n);const i=typeof r=="string"&&r.endsWith(ii);n.includes("-")||i?u.setProperty(n,i?r.slice(0,-11):r,i?Ju:""):u[n]=r}}return ae}}),oi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIRSURBVHgB7Ze/T8JAFMcfxMVFq5OaGBsTJxccXEn/AAdGNvE/8C9QjP+AOybippuDDrpQdCT+ijpIRJowwICCMZFBk/O99iANob+urS73SV5ee717/XL37l0BkEgkklhJQAQwxhR0isPjbiKR6IIggQSiEA1dBm0BLcVFKT6HG9xIbBntBIUbEBUobptFSwctA1GAgTZZPJBIFcKCQeosPg7c3j3mQ5yG7gPtkDcZDl37+aiClaMq+EOD/4B+mN+Zd4vjuYuZVUIomVWwZmjSoSvNMu1QA02nHcqs/CqBx2xiX7FyRy9gYvlHyb/OY2henUEUFm5zkEiFxym5dXTTkHQRp8HQ0jROK/BcOB/cv93UzPtW+XFUCBKX49f3IEgySOfGWQWq+xeDexL3enwFd7tHTkP6p4zwURdIoJ1es2PO4Ex6Gb4/e+Z1HAgLbF+/mH5+bdX0Lf0B4kBYYD/vqgVryVuXTyCI6/KLz+BtDcZnp9CmYWJpDr6a76YJ4LqBhAS2Md9+MO8Ws2lY2cqannDYzV4UQQRmFemwZHisPYfneQiDV4H1oG6LU7e1UwHXmVVnw4FBFLQiCw4JUHmMnK09B3HAhY5apjwXkGHWmZtitg9Q3tYJI9Dze5CgPz0YfLgcbGB70WkMX8IShES0zLiKI/C5jm4H/gpbLuUCjsvHnoNh4SIpF1MgkUgkkkD8AgAi3WKqFnrYAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,si=e=>S`
|
|
1232
1263
|
<button
|
|
1233
1264
|
class="floating-button"
|
|
1234
|
-
style
|
|
1235
|
-
@click=${
|
|
1265
|
+
style=${en({background:e.accentColor,bottom:`${e.floatingButtonOffset}px`})}
|
|
1266
|
+
@click=${t=>e.handleFloatingButtonClick(t)}
|
|
1267
|
+
@pointerdown=${t=>e.handleFloatingButtonPointerDown(t)}
|
|
1268
|
+
@pointermove=${t=>e.handleFloatingButtonPointerMove(t)}
|
|
1269
|
+
@pointerup=${t=>e.handleFloatingButtonPointerUp(t)}
|
|
1270
|
+
@pointercancel=${t=>e.handleFloatingButtonPointerCancel(t)}
|
|
1236
1271
|
aria-expanded=${e.open}
|
|
1237
1272
|
>
|
|
1238
|
-
<img src=${
|
|
1273
|
+
<img src=${oi} alt="" aria-hidden="true" />
|
|
1239
1274
|
<span>${e.buttonLabel}</span>
|
|
1240
1275
|
</button>
|
|
1241
1276
|
`;/**
|
|
1242
1277
|
* @license
|
|
1243
1278
|
* Copyright 2017 Google LLC
|
|
1244
1279
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1245
|
-
*/class Wt extends
|
|
1246
|
-
* @license
|
|
1247
|
-
* Copyright 2018 Google LLC
|
|
1248
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1249
|
-
*/const Ju="important",si=" !"+Ju,ai=Gt(class extends Vt{constructor(e){var t;if(super(e),e.type!==Qt.ATTRIBUTE||e.name!=="style"||((t=e.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,u)=>{const n=e[u];return n==null?t:t+`${u=u.includes("-")?u:u.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){const{style:u}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?u.removeProperty(n):u[n]=null);for(const n in t){const r=t[n];if(r!=null){this.ft.add(n);const i=typeof r=="string"&&r.endsWith(si);n.includes("-")||i?u.setProperty(n,i?r.slice(0,-11):r,i?Ju:""):u[n]=r}}return ae}}),ci=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADdSURBVHgB5ZQxCsJAEEX/rsbaI3gEvYE22ppO7DyCJ1BvoCdIFSNBGFOIaBBzg1whR0gpqLsuSWHnBBKI4G+mefyB+Z8B6pBD1C7KCg7wgusCSi0Bndxh9Wb2IP3GS84wN8t2d1rqMeZw3hCIMjuIVEorQhXyKOw7dCt8x98Wm7JPl+4TYiGho4k93HA8G8oLILN1rCHW2/25fMom3U8YDbCSPKAH0CrQwHxqjw74D7n+sevRqVOEZW+4o5Ck1Yo1mrFrKlTa0ISRVcVUpw2F8oZGq3yIpLLnUOtjeAMX/z7Yit+o3QAAAABJRU5ErkJggg==",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href;new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADJSURBVHgBvZPdCcIwFIVPqvjcETpCnUDzrA86ghOIG+gGbqIv4mPjBhmhI/goFhNv2qpNQfIjeCCQhHu++0MC/CgWEpwfihQjLHCHkEteBgHyc5FBsQIaGR2vqPTYQBJfAG5k0rQapRhgajZOgMmcny5rymaycrqStEo8IJwtWGUztpWzya6eA1XgnEGv51Z6I+d8341L/M1UdoVjP5b5mzV/lf0VEGq2ADHmNyDWbNQMUdGjiDB/ALa8zUbDFiOg9Kredz7KX/QESDR2d7Kg6IcAAAAASUVORK5CYII=",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href;const li=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADoSURBVHgBpZLfDYIwEMavqImPjOAIdQP6bIw6AhM4giMYR3ACEhOegQ3qBh2hvplIOItG6NXKn/glbY6745e7DwD+FPMl+SXbwgRCkqxAybXI3d6pDwAB2wNCRJNYmCvyTsCTLIQZS+whzAmdXm2ObJ4eGMudUO8J5qa5RHudK/jFHCD1gKfFARAX0CeGJ7kSr2moB1gtTXXTC6jg/AkDp6RbGApz519xrRKUH4BtoUu1eX5AMAig6SvjpboAEvqEePsNCKzxmPUz0ZisQD/j3RRnDeHYFqzYMZoAjLuap1kMXWID1hyjJ+SZQp3ORCa/AAAAAElFTkSuQmCC",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href,di=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF+SURBVHgBxZNNTsMwEIVnnBAqVuEG6Q16A8INeoOSFXRFkEpFVqRCaquqi7CA0hXhBNATUE4ANyBHyA4aKg+OU0QgxgKExNvkx8+fx89jgD8S6gb98NK2rKcdALZFCLacwOkuYxBHQTv5FqhzMnGZCdfCYqvGOWA4DnZ7b99MZTocnTWYibcFhHoMqD4K9jBbrG8SkCcsifgXdvrnvrai7uDiUTwcYd4eBu355/GjwcThAPdEAC9ZrR6FXlqpqNufNnOIWCFWQXIN83w4nCKiba09+8qtEZJblEpXoFG2UYukH6ChBCFREe4CEh0oOvBS6V+dZjVsKgDcooYO5Iucyt8VEGcwlzxk+6CRCawlfQSxEjSWAeODCNvtDKbHKojsMXH84jUxVgtXjj+fvDJJiTBjvsQZY8uEc9NBgzcZYquo4r09UAcRmPSLzs4b0iu3B2ogvVHQDkXzuZyDK5wOEaYGoxtVf6EOAj+QDBuN5azYxu8gH5Rf1PIl/De9AhTgnL0rAocOAAAAAElFTkSuQmCC",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href,fi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADhSURBVHgB7ZbdCYNAEIRnJb6nBEu4ErSAEK0gLaSUdJAS8gt5vKQDO4gd6HtAc0YhEm4NOQUJ7AcnuHMrI7cMBwjCP6N2el4vDMCDI+qoY/h0NytXJx3CEWcDpjM2z+bviVZwxN3ASIgBMTC5gRkntAHTFzJvjVAHUsBtTJMo4zSyFV8h49EW/QZ+o6qidBFdP8v2I+iGzFgwYWU3UGKPsSmrg61M3P6vM+BjY9qXzYv5+ANr8BRmDgqbwA5h21BwujrrjkZ5moQZHJAcEANiwN1AN6zK6oYpUBcdDL0VC8ITASg13Rg8meYAAAAASUVORK5CYII=",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href,hi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACTSURBVHgB7dQxDsIgFMbxP9iLdDPOJq4cxSt4BE/iUWQ1OqsjvUFP0NeOtGV6DW3S8EsI4QvkDTyAYmtmGpwuTtAL35ev48CSWfYC1TToDDVFJNVFD5Sko/29/S3OqsS+K0rGEoZpVGD9LkK4oySGlt2ZddHx7BwL/D/ex+vZHdgDT/TCMNb97FLvoEFJRH+2yKcHytAb6RI8xigAAAAASUVORK5CYII=",_&&_.tagName.toUpperCase()==="SCRIPT"&&_.src||new URL("rio-assist.js",document.baseURI).href).href,en=(e,t={})=>{const u=t.variant??"drawer",n=u==="sidebar",r=n||e.showConversations;return T`
|
|
1280
|
+
*/class Wt extends Gt{constructor(t){if(super(t),this.it=M,t.type!==Qt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||t==null)return this._t=void 0,this.it=t;if(t===ae)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const u=[t];return u.raw=u,this._t={_$litType$:this.constructor.resultType,strings:u,values:[]}}}Wt.directiveName="unsafeHTML",Wt.resultType=1;const ai=Vt(Wt),ci=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADdSURBVHgB5ZQxCsJAEEX/rsbaI3gEvYE22ppO7DyCJ1BvoCdIFSNBGFOIaBBzg1whR0gpqLsuSWHnBBKI4G+mefyB+Z8B6pBD1C7KCg7wgusCSi0Bndxh9Wb2IP3GS84wN8t2d1rqMeZw3hCIMjuIVEorQhXyKOw7dCt8x98Wm7JPl+4TYiGho4k93HA8G8oLILN1rCHW2/25fMom3U8YDbCSPKAH0CrQwHxqjw74D7n+sevRqVOEZW+4o5Ck1Yo1mrFrKlTa0ISRVcVUpw2F8oZGq3yIpLLnUOtjeAMX/z7Yit+o3QAAAABJRU5ErkJggg==",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,li=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADJSURBVHgBvZPdCcIwFIVPqvjcETpCnUDzrA86ghOIG+gGbqIv4mPjBhmhI/goFhNv2qpNQfIjeCCQhHu++0MC/CgWEpwfihQjLHCHkEteBgHyc5FBsQIaGR2vqPTYQBJfAG5k0rQapRhgajZOgMmcny5rymaycrqStEo8IJwtWGUztpWzya6eA1XgnEGv51Z6I+d8341L/M1UdoVjP5b5mzV/lf0VEGq2ADHmNyDWbNQMUdGjiDB/ALa8zUbDFiOg9Kredz7KX/QESDR2d7Kg6IcAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,di=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADoSURBVHgBpZLfDYIwEMavqImPjOAIdQP6bIw6AhM4giMYR3ACEhOegQ3qBh2hvplIOItG6NXKn/glbY6745e7DwD+FPMl+SXbwgRCkqxAybXI3d6pDwAB2wNCRJNYmCvyTsCTLIQZS+whzAmdXm2ObJ4eGMudUO8J5qa5RHudK/jFHCD1gKfFARAX0CeGJ7kSr2moB1gtTXXTC6jg/AkDp6RbGApz519xrRKUH4BtoUu1eX5AMAig6SvjpboAEvqEePsNCKzxmPUz0ZisQD/j3RRnDeHYFqzYMZoAjLuap1kMXWID1hyjJ+SZQp3ORCa/AAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,fi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF+SURBVHgBxZNNTsMwEIVnnBAqVuEG6Q16A8INeoOSFXRFkEpFVqRCaquqi7CA0hXhBNATUE4ANyBHyA4aKg+OU0QgxgKExNvkx8+fx89jgD8S6gb98NK2rKcdALZFCLacwOkuYxBHQTv5FqhzMnGZCdfCYqvGOWA4DnZ7b99MZTocnTWYibcFhHoMqD4K9jBbrG8SkCcsifgXdvrnvrai7uDiUTwcYd4eBu355/GjwcThAPdEAC9ZrR6FXlqpqNufNnOIWCFWQXIN83w4nCKiba09+8qtEZJblEpXoFG2UYukH6ChBCFREe4CEh0oOvBS6V+dZjVsKgDcooYO5Iucyt8VEGcwlzxk+6CRCawlfQSxEjSWAeODCNvtDKbHKojsMXH84jUxVgtXjj+fvDJJiTBjvsQZY8uEc9NBgzcZYquo4r09UAcRmPSLzs4b0iu3B2ogvVHQDkXzuZyDK5wOEaYGoxtVf6EOAj+QDBuN5azYxu8gH5Rf1PIl/De9AhTgnL0rAocOAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,hi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADhSURBVHgB7ZbdCYNAEIRnJb6nBEu4ErSAEK0gLaSUdJAS8gt5vKQDO4gd6HtAc0YhEm4NOQUJ7AcnuHMrI7cMBwjCP6N2el4vDMCDI+qoY/h0NytXJx3CEWcDpjM2z+bviVZwxN3ASIgBMTC5gRkntAHTFzJvjVAHUsBtTJMo4zSyFV8h49EW/QZ+o6qidBFdP8v2I+iGzFgwYWU3UGKPsSmrg61M3P6vM+BjY9qXzYv5+ANr8BRmDgqbwA5h21BwujrrjkZ5moQZHJAcEANiwN1AN6zK6oYpUBcdDL0VC8ITASg13Rg8meYAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,pi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACTSURBVHgB7dQxDsIgFMbxP9iLdDPOJq4cxSt4BE/iUWQ1OqsjvUFP0NeOtGV6DW3S8EsI4QvkDTyAYmtmGpwuTtAL35ev48CSWfYC1TToDDVFJNVFD5Sko/29/S3OqsS+K0rGEoZpVGD9LkK4oySGlt2ZddHx7BwL/D/ex+vZHdgDT/TCMNb97FLvoEFJRH+2yKcHytAb6RI8xigAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,tn=(e,t={})=>{const u=t.variant??"drawer",n=u==="sidebar",r=n||e.showConversations;return S`
|
|
1250
1281
|
<div
|
|
1251
|
-
class=${
|
|
1282
|
+
class=${V({"conversations-panel":!0,"conversations-panel--open":r,"conversations-panel--sidebar":n})}
|
|
1252
1283
|
aria-hidden=${!r}
|
|
1253
1284
|
@pointerdown=${i=>e.handleConversationsPanelPointer(i)}
|
|
1254
1285
|
>
|
|
1255
1286
|
<div
|
|
1256
|
-
class=${
|
|
1287
|
+
class=${V({"conversations-panel__surface":!0,"conversations-panel__surface--sidebar":n})}
|
|
1257
1288
|
>
|
|
1258
|
-
${
|
|
1289
|
+
${bi(e,u)}
|
|
1259
1290
|
</div>
|
|
1260
1291
|
</div>
|
|
1261
|
-
`},
|
|
1292
|
+
`},bi=(e,t)=>{const u=t==="sidebar",n=u?S`
|
|
1262
1293
|
<div
|
|
1263
|
-
class=${
|
|
1294
|
+
class=${V({"new-conversation-cta":!0,open:e.showNewConversationShortcut})}
|
|
1264
1295
|
>
|
|
1265
1296
|
<button
|
|
1266
1297
|
type="button"
|
|
@@ -1269,16 +1300,16 @@
|
|
|
1269
1300
|
aria-disabled=${!e.hasActiveConversation}
|
|
1270
1301
|
@click=${()=>e.handleCreateConversation()}
|
|
1271
1302
|
>
|
|
1272
|
-
<img src=${
|
|
1303
|
+
<img src=${hi} alt="" aria-hidden="true" />
|
|
1273
1304
|
<span>Iniciar nova conversa</span>
|
|
1274
1305
|
</button>
|
|
1275
1306
|
</div>
|
|
1276
|
-
`:null,r=
|
|
1307
|
+
`:null,r=S`
|
|
1277
1308
|
<div
|
|
1278
|
-
class=${
|
|
1309
|
+
class=${V({"conversation-list":!0,"conversation-list--sidebar":u})}
|
|
1279
1310
|
@scroll=${u?i=>e.handleConversationListScroll(i):null}
|
|
1280
1311
|
>
|
|
1281
|
-
${e.filteredConversations.map(i=>{const o=e.conversationMenuId===i.id;return
|
|
1312
|
+
${e.filteredConversations.map(i=>{const o=e.conversationMenuId===i.id;return S`
|
|
1282
1313
|
<div
|
|
1283
1314
|
class="conversation-item"
|
|
1284
1315
|
role="button"
|
|
@@ -1297,17 +1328,23 @@
|
|
|
1297
1328
|
>
|
|
1298
1329
|
<img src=${ci} alt="" aria-hidden="true" />
|
|
1299
1330
|
</button>
|
|
1300
|
-
${o?
|
|
1331
|
+
${o?S`
|
|
1301
1332
|
<div
|
|
1302
|
-
class=${
|
|
1333
|
+
class=${V({"conversation-menu":!0,"conversation-menu--above":e.conversationMenuPlacement==="above"})}
|
|
1303
1334
|
@click=${s=>s.stopPropagation()}
|
|
1304
1335
|
>
|
|
1305
|
-
${null}
|
|
1306
1336
|
<button
|
|
1307
1337
|
type="button"
|
|
1308
|
-
@click=${()=>e.handleConversationAction("
|
|
1338
|
+
@click=${()=>e.handleConversationAction("rename",i.id)}
|
|
1309
1339
|
>
|
|
1310
1340
|
<img src=${li} alt="" aria-hidden="true" />
|
|
1341
|
+
Renomear
|
|
1342
|
+
</button>
|
|
1343
|
+
<button
|
|
1344
|
+
type="button"
|
|
1345
|
+
@click=${()=>e.handleConversationAction("delete",i.id)}
|
|
1346
|
+
>
|
|
1347
|
+
<img src=${di} alt="" aria-hidden="true" />
|
|
1311
1348
|
Excluir
|
|
1312
1349
|
</button>
|
|
1313
1350
|
</div>
|
|
@@ -1315,18 +1352,18 @@
|
|
|
1315
1352
|
</div>
|
|
1316
1353
|
`})}
|
|
1317
1354
|
</div>
|
|
1318
|
-
`;return
|
|
1355
|
+
`;return S`
|
|
1319
1356
|
${n}
|
|
1320
1357
|
|
|
1321
|
-
${u?
|
|
1358
|
+
${u?S`
|
|
1322
1359
|
<button class="recent-conversations-button" type="button" aria-label="Conversas recentes">
|
|
1323
|
-
<img src=${
|
|
1360
|
+
<img src=${pi} alt="" aria-hidden="true" />
|
|
1324
1361
|
<span>Conversas recentes</span>
|
|
1325
1362
|
</button>
|
|
1326
1363
|
`:null}
|
|
1327
1364
|
|
|
1328
1365
|
<div class="conversation-search">
|
|
1329
|
-
<img class="search-icon" src=${
|
|
1366
|
+
<img class="search-icon" src=${fi} alt="" aria-hidden="true" />
|
|
1330
1367
|
<input
|
|
1331
1368
|
type="text"
|
|
1332
1369
|
placeholder="Buscar nas conversas"
|
|
@@ -1336,14 +1373,14 @@
|
|
|
1336
1373
|
</div>
|
|
1337
1374
|
|
|
1338
1375
|
<div
|
|
1339
|
-
class=${
|
|
1376
|
+
class=${V({"conversation-list-wrapper":!0,"conversation-list-wrapper--sidebar":u})}
|
|
1340
1377
|
>
|
|
1341
|
-
${e.conversationHistoryLoading?
|
|
1342
|
-
${e.conversationHistoryError?
|
|
1378
|
+
${e.conversationHistoryLoading?S`<div class="conversation-loading">Carregando conversas...</div>`:null}
|
|
1379
|
+
${e.conversationHistoryError?S`<div class="conversation-error">${e.conversationHistoryError}</div>`:null}
|
|
1343
1380
|
${r}
|
|
1344
|
-
${u?
|
|
1381
|
+
${u?S`
|
|
1345
1382
|
<div
|
|
1346
|
-
class=${
|
|
1383
|
+
class=${V({"conversation-scrollbar":!0,"conversation-scrollbar--visible":e.conversationScrollbar.visible})}
|
|
1347
1384
|
@pointerdown=${i=>e.handleConversationScrollbarPointerDown(i)}
|
|
1348
1385
|
@pointermove=${i=>e.handleConversationScrollbarPointerMove(i)}
|
|
1349
1386
|
@pointerup=${i=>e.handleConversationScrollbarPointerUp(i)}
|
|
@@ -1351,46 +1388,31 @@
|
|
|
1351
1388
|
>
|
|
1352
1389
|
<span
|
|
1353
1390
|
class="conversation-scrollbar__thumb"
|
|
1354
|
-
style=${
|
|
1391
|
+
style=${en({height:`${e.conversationScrollbar.height}%`,top:`${e.conversationScrollbar.top}%`})}
|
|
1355
1392
|
></span>
|
|
1356
1393
|
</div>
|
|
1357
1394
|
`:null}
|
|
1358
1395
|
</div>
|
|
1359
|
-
`},
|
|
1396
|
+
`},gi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACLSURBVHgB7dSxDYAgEAXQf8ZF3MAN1F53cAVHcBKH0F5HYATcwN7ipEShOoMkhpdAwg/kCg6AJDZ6BuWyMeS0auvCDjIEFrxA7iQnF0gsvi6aIEaHaqvBTnLPrh5irM10KxChi5hHSBEO/I7bRfNa4wXVNZu9du+AaIWcNuPbz87zDniHFEN+NgnmAsF0G91pmpecAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,mi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEpSURBVHgB5ZbBDYIwFIZfjd4dwRHqCD0aY4ybuIE6gpPghXhEJ7AbyAgMYKyPApZAkUIfMdH/QHr4838p7722AL8uBp7iYcThCdOPpgdIuRFJuhwDhRgL8NsMHSuB30u6HIGn5FJIYDowcfF7A7tCSYB51BqgpZZUQB5ed6DU3sXrDewC8wY2wpQ6YE3nYKlpbyA/RzMM3tpgciX2TY3UGygXIq4F5rC3p4COjIfmpFEsQtixDBtUPIhax+FroU411N04YXf9+zzFTGgWpgtdhZnWT9ImqHq6yOwwvWKw+OVdWOYs8wQ4Ej1VvZ4KqNBno32oj3i3xUAELKA3TAYL7ODb+u6DTwBzBxLBXIEJuk5AJBdgrXuHBpJCTZfiUy5/XTXL+6j/B70AdWmQ/S7ON+YAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,Ai=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAavSURBVHgB7Z1PTxtHFMDf2Cb9o6ZBoSq0ShRQK1XKpRs1Uo/Yx4pAk0+QcOg5ILVn4F4Jeu4h9BOQEqMevdx6SIWRKlVUquRWUQRVqJyStqiAJ+/N7prFWYu1PbP71p6fZO1igzHz23kz82ZmEU7ZlWBhQw4srLBCmGGFMKPQ+kT1VlGAJTFa23BbQ5hhhTDDCmGGFcIMK4QZVggzrBBmWCHMsEKYYYUwwwphhhXCDCuEGVYIMwqQEZy1yrg6KYB3lDAMeXzEoQG15nkO6vA/PgDq1TulOjAjdSGqoPPgqMJtYGELcQ0Enks6949R0KxN3NUA4Rke+pkh/3eXXXqths8pQfjAc/k7PlfH56okrzpVqkKCpCLE2ajcAynu0ik+vKucCiooONlyNEmrcOF/CF+4kgbgQkN+ByfgYq2qgUESFeKsV25DXiy3ver5UoScKFKNcTY2V6pTk0tgiMQadae8uYx/1FoGZYTBECoXsdZsNds0zSQixNlwH2D9n4P+wYEhUTEhxbgQrOILWCvuQf8xjlLWQDNGhWDj7VAVh/7FcR5VFkEjhmuI/iuIHULcx9AVbzwUA2NC8MopZrwBj8sw9lW1tY/maojoy3YjGqHGVFowGLLExzA4jOvqcZkcGNIovO6nImqYFqmrlAT4R+/cI5xrOo9cKJcl1SjfOwr/eaEuBG0xPTZ59ffWoEeMCFGNnJSl6nTJhRRwfsCrtYGjaxALCbZjWi4CI0L8LKoLKVH9TOWbVumh8mbJiumJvp8PwWztanWqOIE19hvIACzmQ+I2iL1kWjF8zmFXHNsurC2MMSZEtSMX4DbGcgcL4RKAChnDao6D6CKE+Klwj/A8hjd/gedyG8/ddnMYKGURpQBnKdqFeCJy9zFEzPm9n7PomuMIC22+pwjmMGiiaTaqU6GklN1JoJQ6Q7S2Iap3c0Fs+fmr5Luep9DMY0UlNqPIy1lgijYhXldTVFj1ZmjuIkKK6oUxbeT11ZAG05lAkkJ5tVZyqlvMDi1CvDlybMC5EtGI+w1/ogsY4qCnhnCW4VGMrCVSbgIzNIUs8TlwR6hc01ly/GpIz91e1ZifQMfcvDwM773xGhwcH4O7tx/5PcXREbhY8D7iT389h6f/HUL3RGSfKanJbFd+7+OQY7WgrWOmr47CzJUxePrvYVshX13/EN5/83V1vv5kFxa2d6BrpJyADMA2l/XJ5UtKBtUgojT6DgwCbIVQ7SHW/9hVUi4OFeDmSJpjzWRgKyQofPfPfajsPlPnxXdHoN9hKSQIV8TO8xew8/cLdT5zdQz6HZZCgnD1eL+uwtWjJ3vq60EIWyyFBIVOPSvi4OhYySH6PWyxExIOVzT2CAiE9HvYYreDqjR22r399tPTsRyFq+BINSgQ1G/wExIabwQ1pRUKW+yEiN6XABGshHz09ltNCfOPf4ZfD/458/qX1z9Qwihsff3Lb8CKYz15MVZtyPSVUXWkRpzSKZRWCT/cXS/Fwq63hVljXRtIWQkJwlW7cFTZe9Y8Z9Xbkvomu9gICYercMGHCXd/w41/ytSqM6VV0ETvbUgBG7Mu0u+UuQ1nb2k0fmPj/PmiL37chq4IryXWSUNq3QDaew05hGz0P2VEL0j2uDJGyiWdtYPoWUja63hjIyM+Y9QsYuz3QxnTpUXQjKY2RH4PvKE4//CVZ4WYhK6Q8yZkEHqEHGEvQ9PAyAgRcV5NPXe6epEWRRzJieqt0goYQsvAkMKWs1G5g5fcFnBDwMPION84VwatFaZkGg34XLrokrhZjbaROq1zQimzIMUypLuM9BR1RcMry0b9VZYLbX5mCUfdK2ndKUjrOIT2YkBe3mAQvup+o1uMLNgTWgzeZpUl9sbSvG2T9lyWv3tpQi1Mo524krYjUI0R18AcscOLU67Mcb7Nh7Hkor8VwA2+xoKodSSFFkOHF7KdhDaKnt6ErKNNPN6dJQZ0w05PGOjjO+XNu/i+1DtiPQfMT4hmGWoD0VBuISt3I+I1hWti9DtEd5TIzq2h+AgxlIpQgzipNwFoEh5CDMkIUO+dESnpCzEsIyArUtIVkpCMAO93yXlgTHJCWqc5E5YRoNoUMQC7cM9DFT4VBN3/tqH2kC9CSqgUD1MpiY5DVEEAj92v9Flw5I41VTw480LKebiBvhl/s6Z4Eur+xJMLKZKZm/GbglOtJey/q2CGFcIMK4QZVggzrBBmWCHMsEKYYYUwwwphhhXCDCuEGVYIM6wQZlghzLBCmCGcspvEPzi1xMTWEGZYIcywQpjxEna5gwxqk9eHAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,xi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADhSURBVHgB7ZbdCYNAEIRnJb6nBEu4ErSAEK0gLaSUdJAS8gt5vKQDO4gd6HtAc0YhEm4NOQUJ7AcnuHMrI7cMBwjCP6N2el4vDMCDI+qoY/h0NytXJx3CEWcDpjM2z+bviVZwxN3ASIgBMTC5gRkntAHTFzJvjVAHUsBtTJMo4zSyFV8h49EW/QZ+o6qidBFdP8v2I+iGzFgwYWU3UGKPsSmrg61M3P6vM+BjY9qXzYv5+ANr8BRmDgqbwA5h21BwujrrjkZ5moQZHJAcEANiwN1AN6zK6oYpUBcdDL0VC8ITASg13Rg8meYAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,_i=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADgSURBVHgBrVNBDoIwEFya6Hv0EeqZmJgQDoaXUB6DRC4NBy+i8Qn4IalbSLUtW9DoXChlZpjtbgH+ibw8LaY4pThbHKYXh+qyZ7N5U4g69YmL6po+IGiOyNV7gXZVHwwuj8JV5oqhbbl+b0Eu43B97xLscIEPU8DNJK4Y11nca/oEL6KoFcksgQNj4Iqj7YZbJUyYgE9MGnhNCLECowwwtvxoj0owODAbg+6wUTHGhpHuWAkosa6Z6o5O0hnkOEjMHCTiwFwTa5D6oZCJT6yAf+TvcmSiB8lCKW5fX6af8QRrqoetlQGSZAAAAABJRU5ErkJggg==",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,Ci=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOsSURBVHgBxZlNaBNBFMffhLSIWI16sNiKKaLiyRUF8dTsvS30JvWgPYjeasF727tgvCkI9uK5YFs87hYvHlrYgghVpFsoxYKVaEULSTvOf3Y32aSb/Zhskx/ka2dm95/3Zt68fctIEW3eKBAjjRgbxE/ilBOfObe5JF62aLfpgK+K76Y1rJukAEvSWZszctSdmSDOn/jExMUWL5PKfMYa1e24g2IJlMK6MlNEUlgazMYVGilQWzCEKCbEJbZYFHD/jDWiz4Z1ChWoLSw9T9FqzSQUraHByaatQQcdl7I58bVA7cESLteFy0uNDZnA7l3MoPaJA5prkEMcEui4VQxoPwX32nXUuVhbNB4QZ2+oo/BJa0gver+qArX3Rp4OhGs55amzlMR8HPDmY83F+zR9lOKunjxBT69dokX9NvVks2Fd3ZjrIC0orbfP1ukIuHnmFD2+kqdbZ50w+m7zO02trkUPLPPTsKLzV2C9FIGFxgb6aKS/l84fP1bX9urrRryTZAnxd9oRiA2fU8vAjcN952jkQi/1dB124/JOibb+7sU7GWMTEMicrETGPWUa3diMyeVPZG7vUGw41/E3C6RAmBs9diuV6oLY+reXTBwQ6VxW5nQJiHKjJwau9Fv05RebFCiIK7CLcXrGdePb9U35eW+gv3pst1yhlZ+/KDnsOuJgPqobxL2+o4WKg9UeflyVYvzigLH9I/7iqCcHgZF5HmPhaSOsdvfDStXKjcQOLRQsMBKEh6CLeFZ79vkbjeX7AsUlCi0BYJZjz4u0ojfJH112pizchh0BLsWxIHHAm5OKYCfhYvayWOk8REIQLAKBnuBm4pRCSz02LGiJV6yVDPwWCRMHFEOLD76BOWiSAgjQYeLUQ4sPTlYGb6SANxeb0UJo8WNm3Dv+UpJRCCfe9rb2+09gnxZCi4cNbU6Y4fxFkpFwL/ZZhBfEv0YxrYYWFxNvjsAKFZOM7OnOSmHegsFi8ItsMbQ4iMoDPmr3JPNG0c3BlPG2QliwRWatocI4vtR2korMqls6M4SlIM72rAeqAp27qFpDxzioLyrV7cXyfjThgkkVce3GYlJwbWbBbHfpA1hi3t1oPBiczZT5KJFaAFeC8yUUj4KawstvKazsSODWYb1piS80H5QDGR+Xteb0Kck6TIg4EK8ELCsPCEPsPqUBFqIIa0H1wEaSFdE9oc6Nfp6SUXKFFeMIUxLoR97wY6Uz+QgiL0QjvfE9hkAiLBeaiYxJ9THEf70IlLfxyQXCAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,un=e=>{const t=e.messages.length>0,u=S`
|
|
1360
1397
|
<div class="hero-card">
|
|
1361
|
-
<img src=${
|
|
1398
|
+
<img src=${Ai} alt="IA assistente" class="hero-card__icon" />
|
|
1362
1399
|
<h3>Como posso te ajudar hoje?</h3>
|
|
1363
|
-
<button
|
|
1364
|
-
type="button"
|
|
1365
|
-
class="short-answer-toggle short-answer-toggle--hero"
|
|
1366
|
-
role="switch"
|
|
1367
|
-
aria-checked=${e.shortAnswerEnabled}
|
|
1368
|
-
@click=${()=>e.toggleShortAnswers()}
|
|
1369
|
-
>
|
|
1370
|
-
<span
|
|
1371
|
-
class=${G({"short-answer-toggle__track":!0,"short-answer-toggle__track--on":e.shortAnswerEnabled})}
|
|
1372
|
-
aria-hidden="true"
|
|
1373
|
-
>
|
|
1374
|
-
<span class="short-answer-toggle__thumb"></span>
|
|
1375
|
-
</span>
|
|
1376
|
-
<span class="short-answer-toggle__label">Ativar respostas curtas</span>
|
|
1377
|
-
</button>
|
|
1378
1400
|
</div>
|
|
1379
|
-
`,n=
|
|
1401
|
+
`,n=S`
|
|
1380
1402
|
<div class="conversation">
|
|
1381
|
-
${e.messages.map(r=>
|
|
1403
|
+
${e.messages.map(r=>S`
|
|
1382
1404
|
<div
|
|
1383
|
-
class=${
|
|
1405
|
+
class=${V({message:!0,"message--user":r.role==="user","message--assistant":r.role==="assistant"})}
|
|
1384
1406
|
>
|
|
1385
1407
|
<div class="message__content">
|
|
1386
|
-
${
|
|
1408
|
+
${ai(r.html??r.text)}
|
|
1387
1409
|
</div>
|
|
1388
1410
|
<time>
|
|
1389
1411
|
${new Date(r.timestamp).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})}
|
|
1390
1412
|
</time>
|
|
1391
1413
|
</div>
|
|
1392
1414
|
`)}
|
|
1393
|
-
${e.isLoading?
|
|
1415
|
+
${e.isLoading?S`
|
|
1394
1416
|
<div class="message message--assistant typing">
|
|
1395
1417
|
<span>${e.loadingLabel}</span>
|
|
1396
1418
|
<span class="typing__dots" aria-hidden="true">
|
|
@@ -1399,40 +1421,22 @@
|
|
|
1399
1421
|
</div>
|
|
1400
1422
|
`:null}
|
|
1401
1423
|
</div>
|
|
1402
|
-
`;return
|
|
1424
|
+
`;return S`
|
|
1403
1425
|
<div class="panel-body">
|
|
1404
1426
|
<div
|
|
1405
|
-
class=${
|
|
1427
|
+
class=${V({"panel-content":!0,"panel-content--empty":!t})}
|
|
1406
1428
|
>
|
|
1407
1429
|
${t?n:u}
|
|
1408
1430
|
</div>
|
|
1409
1431
|
|
|
1410
|
-
${e.errorMessage?
|
|
1432
|
+
${e.errorMessage?S`<p class="error-banner">${e.errorMessage}</p>`:null}
|
|
1411
1433
|
|
|
1412
1434
|
<div class="panel-footer">
|
|
1413
|
-
${
|
|
1414
|
-
<button
|
|
1415
|
-
type="button"
|
|
1416
|
-
class="short-answer-toggle"
|
|
1417
|
-
role="switch"
|
|
1418
|
-
aria-checked=${e.shortAnswerEnabled}
|
|
1419
|
-
@click=${()=>e.toggleShortAnswers()}
|
|
1420
|
-
>
|
|
1421
|
-
<span
|
|
1422
|
-
class=${G({"short-answer-toggle__track":!0,"short-answer-toggle__track--on":e.shortAnswerEnabled})}
|
|
1423
|
-
aria-hidden="true"
|
|
1424
|
-
>
|
|
1425
|
-
<span class="short-answer-toggle__thumb"></span>
|
|
1426
|
-
</span>
|
|
1427
|
-
<span class="short-answer-toggle__label">Ativar respostas curtas</span>
|
|
1428
|
-
</button>
|
|
1429
|
-
`:null}
|
|
1430
|
-
|
|
1431
|
-
${e.suggestions.length>0?T`
|
|
1435
|
+
${e.suggestions.length>0?S`
|
|
1432
1436
|
<div class="suggestions-wrapper">
|
|
1433
1437
|
<p class="suggestions-label">Sugestões de Perguntas</p>
|
|
1434
1438
|
<div class="suggestions">
|
|
1435
|
-
${e.suggestions.map(r=>
|
|
1439
|
+
${e.suggestions.map(r=>S`
|
|
1436
1440
|
<button
|
|
1437
1441
|
class="suggestion"
|
|
1438
1442
|
type="button"
|
|
@@ -1462,7 +1466,7 @@
|
|
|
1462
1466
|
aria-label="Enviar mensagem"
|
|
1463
1467
|
?disabled=${e.isLoading}
|
|
1464
1468
|
>
|
|
1465
|
-
<img src=${
|
|
1469
|
+
<img src=${Ci} alt="" aria-hidden="true" />
|
|
1466
1470
|
</button>
|
|
1467
1471
|
</form>
|
|
1468
1472
|
|
|
@@ -1471,8 +1475,8 @@
|
|
|
1471
1475
|
</p>
|
|
1472
1476
|
</div>
|
|
1473
1477
|
</div>
|
|
1474
|
-
`},
|
|
1475
|
-
<aside class=${
|
|
1478
|
+
`},yi=e=>{const t=un(e);return S`
|
|
1479
|
+
<aside class=${V({panel:!0,open:e.open})} role="dialog">
|
|
1476
1480
|
<header class="panel-header">
|
|
1477
1481
|
<div class="panel-header__top">
|
|
1478
1482
|
<span class="panel-title">${e.titleText}</span>
|
|
@@ -1481,7 +1485,7 @@
|
|
|
1481
1485
|
@click=${()=>e.handleCloseAction()}
|
|
1482
1486
|
aria-label="Fechar Rio Insight"
|
|
1483
1487
|
>
|
|
1484
|
-
<img src=${
|
|
1488
|
+
<img src=${_i} alt="" aria-hidden="true" />
|
|
1485
1489
|
</button>
|
|
1486
1490
|
</div>
|
|
1487
1491
|
<div class="panel-header__actions">
|
|
@@ -1490,18 +1494,34 @@
|
|
|
1490
1494
|
type="button"
|
|
1491
1495
|
@click=${()=>e.toggleConversationsPanel()}
|
|
1492
1496
|
>
|
|
1493
|
-
<img src=${
|
|
1497
|
+
<img src=${gi} alt="" aria-hidden="true" />
|
|
1494
1498
|
Minhas Conversas
|
|
1495
1499
|
</button>
|
|
1496
1500
|
<div class="panel-header__icons">
|
|
1497
|
-
|
|
1501
|
+
<button
|
|
1502
|
+
type="button"
|
|
1503
|
+
class="short-answer-toggle short-answer-toggle--header"
|
|
1504
|
+
role="switch"
|
|
1505
|
+
aria-checked=${e.shortAnswerEnabled}
|
|
1506
|
+
@click=${()=>e.toggleShortAnswers()}
|
|
1507
|
+
>
|
|
1508
|
+
<span
|
|
1509
|
+
class=${V({"short-answer-toggle__track":!0,"short-answer-toggle__track--on":e.shortAnswerEnabled})}
|
|
1510
|
+
aria-hidden="true"
|
|
1511
|
+
>
|
|
1512
|
+
<span class="short-answer-toggle__thumb"></span>
|
|
1513
|
+
</span>
|
|
1514
|
+
<span class="short-answer-toggle__label">Respostas rápidas</span>
|
|
1515
|
+
</button>
|
|
1516
|
+
|
|
1517
|
+
${e.hasActiveConversation?S`
|
|
1498
1518
|
<button
|
|
1499
1519
|
class="panel-header__icon-button conversations-plus-button"
|
|
1500
1520
|
type="button"
|
|
1501
1521
|
aria-label="Nova conversa"
|
|
1502
1522
|
@click=${()=>e.handleCreateConversation()}
|
|
1503
1523
|
>
|
|
1504
|
-
<img src=${
|
|
1524
|
+
<img src=${xi} alt="" aria-hidden="true" />
|
|
1505
1525
|
</button>
|
|
1506
1526
|
`:null}
|
|
1507
1527
|
<button
|
|
@@ -1510,7 +1530,7 @@
|
|
|
1510
1530
|
aria-label="Expandir painel"
|
|
1511
1531
|
@click=${()=>e.enterFullscreen()}
|
|
1512
1532
|
>
|
|
1513
|
-
<img src=${
|
|
1533
|
+
<img src=${mi} alt="" aria-hidden="true" />
|
|
1514
1534
|
</button>
|
|
1515
1535
|
</div>
|
|
1516
1536
|
</div>
|
|
@@ -1518,9 +1538,9 @@
|
|
|
1518
1538
|
|
|
1519
1539
|
${t}
|
|
1520
1540
|
|
|
1521
|
-
${
|
|
1541
|
+
${tn(e,{variant:"drawer"})}
|
|
1522
1542
|
</aside>
|
|
1523
|
-
`},
|
|
1543
|
+
`},Ei=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAClSURBVHgB7ZXtCYAgEIbPaIBGsA1arU3aoJFqgxqhDa6LFPogO/UEoR44ENHn/eGpADmBiHorSIGRT6Y0SELCyogt27gCCYx8wDtDdIhDHh/CkIeHeMj9QwLk/JAI+XuIgNwdQpMdytFbb3HIkLk4FwpITDYBLVV9qZazsQQei1JqPk7QQS6cjd85gz8gHcoOqO0aeH4uRmrTU1vi/vHrh/WzbesVLQQBC6E6gyQAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,vi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIQSURBVHgB5ZZLTuQwEIbLjqWRRizCDcIJpvsGnQ1MNBvYoe5G5AYzV+EGRoGIXe8mYjb0nGAyJyA3ICsQUtqmKiTpPPrhZAm1ieOU63NV/bYC8NGMmTqeLk7tgy8HE8aYTe8adJJBltx5d4nJ+r2gaTT1OeOXOJxscYmVVlehF0oYAjqPzh2LWQsGbAQGRhmu9MrdluFG0PTPdMQ1f8DVNvSzVK2UG/4I470gykRw8W8ApIJlOhu3M+NtLyzXkEwARZIWQ1swsWh/b4Co8dgTB/oCNLjBSXCIz+tiekSxtoI45z+hJwQr4N54N0t610xXvSmUuvYtB3lvmHiEnhB5LONyPZW9XhHxIg7lmUwbGQkQjiGjAyGVtiFk2ddsso5fLkYnPAswBJIfBegKSClVzfGdUbHJiqsxbiLZCTFQaQXSXKfNrUNMTQ6Pw9jSlosz//tCOPBkHa4w/8G3s9fsqe6IKvJvT26v2wFMMxFaHElPJu/QwqSbq2NZd2Saydn97HIIhCpSQhqgInBn9zns9+wXjefRfGLaE6bYVZPbsvn9nO650YYdpqZXE4kn+B4c1ec6qhNKnOVB22YKIWW+iwd2gqiuiil3I8wEQsqs9WYriIwkjZlV58fQYktZ41L+nU3sW30RXfgocxLDt40OGv7ihmTgBXJXHOOfEz/yHfwZccr7jA64eBbL8tL8fPYGlj3l1qpxcVgAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,ki=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIVSURBVHgB5VVBctNAEOxZiQpwEi+IfoD9A+uAKI4yVamycyC8gPwAeAGVF+AcEldR5VpuQHKweQHmBYgf+AhUvMMsthVZWkm2wynpizS7O9M7O7O9wG0DbbrwvdbB3vxhh4kCaxszT30faS95lm7i30h0Nro4UopeyG/HNc/AlA2fHD6PB9iFaKg/hQxPE6iFjcApMI+qMnQSfdAXLQMay24DbAFZP2NwdJjE00YimwnB/1ZJwvzdBiRS+2KELjLCVbuYmSpH8moz6XXjVr8bd6QZTl3zsvOA4evi+BqRLbwsDXFDCFlrEesaft7wFL3ihiDn+lIahKUWqG2SZacOcuQL2NoI7486Z2b8zBwJ+2jAL/iPXibRzP5nGV3BD/06Eilyv/skXNlnoy9vlFKva1ywhz8d+Xy0/1mNlCl3UB72uLAl2FDWVGpjJ1BwPvp8jB2RERGr2h3btiXlvcM2wUUPS0QPPG+C/w3/floiShbdManzYzbZJb2nSIpMaeVaEdteEpWJltOnqKZJ+92nRyvrQPTMGPO2arU0z0neXiPqJfFAajHFjUGpjZUfKV0d0alERNEhqhQO9eV4bUTUoagk8qyIangRSuMO7PpMWBIlJAdJVDoV5z2y5y+ZteuKXcS/lxZe20Wy2EQDhlpUmHEs4vbYScD8VXRvUKzJ1kTXhONQFDHEUqpYqdlveJOVaN49/AWuVb4JKaLcJgAAAABJRU5ErkJggg==",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,wi=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGYSURBVHgBzZZPTsJAFMbfG8A/0USO0BvQI9AFJu5sjEbiptwATgCcQG5QN1ATNeOOBEioN8Ab9Ai4MHFR5jmjxiilzNSi8dt00vfN+01m5r0W4I+EWcw+5+VivGOrcVx8mTVcd2461wikALuw3yaA5lKoU3drXZMczMS0DXvTFZA30DUfX4KBtKD+3chDQDstrhYQ3AyrkBfEkI51HmLpCzEGAbIDnYWQWTqPFkREj9okCDOtR2dAxHuNIwIohZAXJK9vKB+pV5hg0aq7TgQaGRdswEceEXgMWUUQPSGIWQG3Omeuo922/yXVFQI+tNbFwUBrt27Ax015iKr1qGShEOLh/fDVTGEzLFTkqCpPKhICuhcnh1eZQQGf+DKBBxkkk/XO3VorJbYZiA6WAKnexhj6kEdx7NRPj8KvrxJ1xBi0Ia+KxUSOb6DB7UQ2ULQgv6p9PrJTQYQLbRc2loB0kOxrFmxMZKWCflPLIOOfDW1i9lHYq0CIpd5n5edS8tORqCOfT8s7EP/4UhSA5s9Qihqus7HdyaRXhOV61M1m9WYAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,Di=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADhSURBVHgB7ZbdCYNAEIRnJb6nBEu4ErSAEK0gLaSUdJAS8gt5vKQDO4gd6HtAc0YhEm4NOQUJ7AcnuHMrI7cMBwjCP6N2el4vDMCDI+qoY/h0NytXJx3CEWcDpjM2z+bviVZwxN3ASIgBMTC5gRkntAHTFzJvjVAHUsBtTJMo4zSyFV8h49EW/QZ+o6qidBFdP8v2I+iGzFgwYWU3UGKPsSmrg61M3P6vM+BjY9qXzYv5+ANr8BRmDgqbwA5h21BwujrrjkZ5moQZHJAcEANiwN1AN6zK6oYpUBcdDL0VC8ITASg13Rg8meYAAAAASUVORK5CYII=",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,Si=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEeSURBVHgB7ZbRDcIgFEUvxgFcwQ1wAu23uoMb6AbWDdxAnUH7TZ1AVnADJxAfNmgVag32+dWTNGmB9BR43BRoiURm+UZmx+V7uwADVgaDWWEQqR4PV66vg0jkQS1kpuRHmcWYtDzTaCG9tAcjVFnqyR5jr31328VvOGlCazcPymB2epLMmhI66Snc9SqzxC9pLb6MURiW8QkF1lVdPMK36uUXwj8yjl+qNKdDXTdmRJcuN3jRZhPkfqhrZHqa5IjAn6GgL4dQwAdpMbMcEXh7qMeJhjCUHLiAgWDRlKT/ERZQNv5LWJn6HEJOmSeslpkd7ekADRRS5xuZDeKmqvc5w6s5V8nc00Mq4qUvSSP3KqWfnmVIxoaVUrxt0RLJDb1+gyTxzU/rAAAAAElFTkSuQmCC",x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("rio-assist.js",document.baseURI).href).href,Ti=[{id:"status",iconUrl:vi,ariaLabel:"Status"},{id:"info",iconUrl:ki,ariaLabel:"Informacoes"},{id:"profile",iconUrl:wi,ariaLabel:"Perfil de usuario"}],Fi=e=>{var n;const t=un(e),u=(n=e.headerActions)!=null&&n.length?e.headerActions:Ti;return S`
|
|
1524
1544
|
<section class="fullscreen-shell" role="dialog" aria-modal="true">
|
|
1525
1545
|
<div class="fullscreen-shell__rail">
|
|
1526
1546
|
<button
|
|
@@ -1529,7 +1549,7 @@
|
|
|
1529
1549
|
aria-label="Ir para home"
|
|
1530
1550
|
@click=${()=>e.handleHomeNavigation()}
|
|
1531
1551
|
>
|
|
1532
|
-
<img src=${
|
|
1552
|
+
<img src=${Ei} alt="" aria-hidden="true" />
|
|
1533
1553
|
</button>
|
|
1534
1554
|
<button
|
|
1535
1555
|
type="button"
|
|
@@ -1557,7 +1577,7 @@
|
|
|
1557
1577
|
<span class="fullscreen-header__brand">RIO INSIGHT</span>
|
|
1558
1578
|
<button
|
|
1559
1579
|
type="button"
|
|
1560
|
-
class=${
|
|
1580
|
+
class=${V({"fullscreen-header__brand-toggle":!0,"fullscreen-header__brand-toggle--open":e.showNewConversationShortcut})}
|
|
1561
1581
|
aria-label="Alternar ações de conversa"
|
|
1562
1582
|
@click=${()=>e.toggleNewConversationShortcut()}
|
|
1563
1583
|
>
|
|
@@ -1576,11 +1596,11 @@
|
|
|
1576
1596
|
</div>
|
|
1577
1597
|
|
|
1578
1598
|
<div class="fullscreen-header__tabs">
|
|
1579
|
-
${e.activeConversationTitle?
|
|
1599
|
+
${e.activeConversationTitle?S`<span class="fullscreen-header__tab">${e.activeConversationTitle}</span>`:null}
|
|
1580
1600
|
</div>
|
|
1581
1601
|
|
|
1582
1602
|
<div class="fullscreen-header__actions">
|
|
1583
|
-
${u.map((r,i)=>
|
|
1603
|
+
${u.map((r,i)=>S`
|
|
1584
1604
|
<button
|
|
1585
1605
|
type="button"
|
|
1586
1606
|
class="fullscreen-header__icon"
|
|
@@ -1599,23 +1619,51 @@
|
|
|
1599
1619
|
aria-label="Retornar para painel compacto"
|
|
1600
1620
|
@click=${()=>e.exitFullscreen(!0)}
|
|
1601
1621
|
>
|
|
1602
|
-
<img src=${
|
|
1622
|
+
<img src=${Si} alt="" aria-hidden="true" />
|
|
1603
1623
|
</button>
|
|
1604
1624
|
|
|
1625
|
+
<div class="fullscreen-utility-bar">
|
|
1626
|
+
<button
|
|
1627
|
+
type="button"
|
|
1628
|
+
class="short-answer-toggle short-answer-toggle--header"
|
|
1629
|
+
role="switch"
|
|
1630
|
+
aria-checked=${e.shortAnswerEnabled}
|
|
1631
|
+
@click=${()=>e.toggleShortAnswers()}
|
|
1632
|
+
>
|
|
1633
|
+
<span
|
|
1634
|
+
class=${V({"short-answer-toggle__track":!0,"short-answer-toggle__track--on":e.shortAnswerEnabled})}
|
|
1635
|
+
aria-hidden="true"
|
|
1636
|
+
>
|
|
1637
|
+
<span class="short-answer-toggle__thumb"></span>
|
|
1638
|
+
</span>
|
|
1639
|
+
<span class="short-answer-toggle__label">Respostas rápidas</span>
|
|
1640
|
+
</button>
|
|
1641
|
+
${e.hasActiveConversation?S`
|
|
1642
|
+
<button
|
|
1643
|
+
type="button"
|
|
1644
|
+
class="fullscreen-header__icon"
|
|
1645
|
+
aria-label="Iniciar nova conversa"
|
|
1646
|
+
@click=${()=>e.handleCreateConversation()}
|
|
1647
|
+
>
|
|
1648
|
+
<img src=${Di} alt="" aria-hidden="true" />
|
|
1649
|
+
</button>
|
|
1650
|
+
`:null}
|
|
1651
|
+
</div>
|
|
1652
|
+
|
|
1605
1653
|
<div class="fullscreen-grid">
|
|
1606
|
-
${
|
|
1654
|
+
${tn(e,{variant:"sidebar"})}
|
|
1607
1655
|
<div class="fullscreen-chat">
|
|
1608
1656
|
${t}
|
|
1609
1657
|
</div>
|
|
1610
1658
|
</div>
|
|
1611
1659
|
</div>
|
|
1612
1660
|
</section>
|
|
1613
|
-
`},
|
|
1661
|
+
`},Ii=e=>{const t=V({canvas:!0,"canvas--fullscreen":e.isFullscreen});return S`
|
|
1614
1662
|
<div class=${t}>
|
|
1615
|
-
${
|
|
1616
|
-
${
|
|
1617
|
-
${e.isFullscreen?
|
|
1618
|
-
${e.renameConversationTarget?
|
|
1663
|
+
${si(e)}
|
|
1664
|
+
${yi(e)}
|
|
1665
|
+
${e.isFullscreen?Fi(e):null}
|
|
1666
|
+
${e.renameConversationTarget?S`
|
|
1619
1667
|
<div class="dialog-overlay" role="dialog" aria-modal="true">
|
|
1620
1668
|
<div class="dialog">
|
|
1621
1669
|
<p class="dialog__message">Digite o novo título para a conversa:</p>
|
|
@@ -1641,7 +1689,7 @@
|
|
|
1641
1689
|
</div>
|
|
1642
1690
|
</div>
|
|
1643
1691
|
`:null}
|
|
1644
|
-
${e.deleteConversationTarget?
|
|
1692
|
+
${e.deleteConversationTarget?S`
|
|
1645
1693
|
<div class="dialog-overlay" role="dialog" aria-modal="true">
|
|
1646
1694
|
<div class="dialog">
|
|
1647
1695
|
<p class="dialog__message">Deseja realmente excluir essa conversa?</p>
|
|
@@ -1656,7 +1704,7 @@
|
|
|
1656
1704
|
</div>
|
|
1657
1705
|
</div>
|
|
1658
1706
|
`:null}
|
|
1659
|
-
${e.conversationActionError?
|
|
1707
|
+
${e.conversationActionError?S`
|
|
1660
1708
|
<div class="dialog-overlay" role="dialog" aria-modal="true">
|
|
1661
1709
|
<div class="dialog">
|
|
1662
1710
|
<p class="dialog__message dialog__message--title">
|
|
@@ -1687,9 +1735,38 @@
|
|
|
1687
1735
|
</div>
|
|
1688
1736
|
</div>
|
|
1689
1737
|
`:null}
|
|
1738
|
+
${e.newConversationConfirmOpen?S`
|
|
1739
|
+
<div class="dialog-overlay" role="dialog" aria-modal="true">
|
|
1740
|
+
<div class="dialog">
|
|
1741
|
+
<p class="dialog__message dialog__message--title">
|
|
1742
|
+
DESEJA MESMO INICIAR UMA NOVA CONVERSA?
|
|
1743
|
+
</p>
|
|
1744
|
+
<p class="dialog__message">
|
|
1745
|
+
Não se preocupe: a conversa atual continuará salva e você poderá acessá-la na
|
|
1746
|
+
listagem de conversas recentes.
|
|
1747
|
+
</p>
|
|
1748
|
+
<div class="dialog__actions">
|
|
1749
|
+
<button
|
|
1750
|
+
type="button"
|
|
1751
|
+
class="dialog__button dialog__button--ghost"
|
|
1752
|
+
@click=${()=>e.cancelCreateConversation()}
|
|
1753
|
+
>
|
|
1754
|
+
CONTINUAR CONVERSA ATUAL
|
|
1755
|
+
</button>
|
|
1756
|
+
<button
|
|
1757
|
+
type="button"
|
|
1758
|
+
class="dialog__button dialog__button--primary"
|
|
1759
|
+
@click=${()=>e.confirmCreateConversation()}
|
|
1760
|
+
>
|
|
1761
|
+
INICIAR NOVA CONVERSA
|
|
1762
|
+
</button>
|
|
1763
|
+
</div>
|
|
1764
|
+
</div>
|
|
1765
|
+
</div>
|
|
1766
|
+
`:null}
|
|
1690
1767
|
</div>
|
|
1691
|
-
`},
|
|
1692
|
-
`," "],Pi=["{","}","|","\\","^","`"].concat(Oi),$i=["'"].concat(Pi),rn=["%","/","?",";","#"].concat($i),on=["/","?","#"],zi=255,sn=/^[+a-z0-9A-Z_-]{0,63}$/,Hi=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,an={javascript:!0,"javascript:":!0},cn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xt(e,t){if(e&&e instanceof At)return e;const u=new At;return u.parse(e,t),u}At.prototype.parse=function(e,t){let u,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const c=Ni.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let o=Ui.exec(i);if(o&&(o=o[0],u=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(t||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(o&&an[o])&&(i=i.substr(2),this.slashes=!0)),!an[o]&&(r||o&&!cn[o])){let c=-1;for(let h=0;h<on.length;h++)n=i.indexOf(on[h]),n!==-1&&(c===-1||n<c)&&(c=n);let d,f;c===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",c),f!==-1&&(d=i.slice(0,f),i=i.slice(f+1),this.auth=d),c=-1;for(let h=0;h<rn.length;h++)n=i.indexOf(rn[h]),n!==-1&&(c===-1||n<c)&&(c=n);c===-1&&(c=i.length),i[c-1]===":"&&c--;const g=i.slice(0,c);i=i.slice(c),this.parseHost(g),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const h=this.hostname.split(/\./);for(let v=0,w=h.length;v<w;v++){const S=h[v];if(S&&!S.match(sn)){let y="";for(let C=0,m=S.length;C<m;C++)S.charCodeAt(C)>127?y+="x":y+=S[C];if(!y.match(sn)){const C=h.slice(0,v),m=h.slice(v+1),E=S.match(Hi);E&&(C.push(E[1]),m.unshift(E[2])),m.length&&(i=m.join(".")+i),this.hostname=C.join(".");break}}}}this.hostname.length>zi&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");s!==-1&&(this.hash=i.substr(s),i=i.slice(0,s));const a=i.indexOf("?");return a!==-1&&(this.search=i.substr(a),i=i.slice(0,a)),i&&(this.pathname=i),cn[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this},At.prototype.parseHost=function(e){let t=Bi.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const qi=Object.freeze(Object.defineProperty({__proto__:null,decode:Te,encode:Ke,format:Zt,parse:Xt},Symbol.toStringTag,{value:"Module"})),ln=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dn=/[\0-\x1F\x7F-\x9F]/,ji=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Kt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,fn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,hn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Yi=Object.freeze(Object.defineProperty({__proto__:null,Any:ln,Cc:dn,Cf:ji,P:Kt,S:fn,Z:hn},Symbol.toStringTag,{value:"Module"})),Qi=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Gi=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jt;const Vi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Wi=(Jt=String.fromCodePoint)!==null&&Jt!==void 0?Jt:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Zi(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Vi.get(e))!==null&&t!==void 0?t:e}var N;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(N||(N={}));const Xi=32;var be;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(be||(be={}));function eu(e){return e>=N.ZERO&&e<=N.NINE}function Ki(e){return e>=N.UPPER_A&&e<=N.UPPER_F||e>=N.LOWER_A&&e<=N.LOWER_F}function Ji(e){return e>=N.UPPER_A&&e<=N.UPPER_Z||e>=N.LOWER_A&&e<=N.LOWER_Z||eu(e)}function eo(e){return e===N.EQUALS||Ji(e)}var O;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(O||(O={}));var ge;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ge||(ge={}));class to{constructor(t,u,n){this.decodeTree=t,this.emitCodePoint=u,this.errors=n,this.state=O.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ge.Strict}startEntity(t){this.decodeMode=t,this.state=O.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case O.EntityStart:return t.charCodeAt(u)===N.NUM?(this.state=O.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=O.NamedEntity,this.stateNamedEntity(t,u));case O.NumericStart:return this.stateNumericStart(t,u);case O.NumericDecimal:return this.stateNumericDecimal(t,u);case O.NumericHex:return this.stateNumericHex(t,u);case O.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|Xi)===N.LOWER_X?(this.state=O.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=O.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,n,r){if(u!==n){const i=n-u;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(u,i),r),this.consumed+=i}}stateNumericHex(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(eu(r)||Ki(r))u+=1;else return this.addToNumericResult(t,n,u,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,n,u,16),-1}stateNumericDecimal(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(eu(r))u+=1;else return this.addToNumericResult(t,n,u,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,n,u,10),-1}emitNumericEntity(t,u){var n;if(this.consumed<=u)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===N.SEMI)this.consumed+=1;else if(this.decodeMode===ge.Strict)return 0;return this.emitCodePoint(Zi(this.result),this.consumed),this.errors&&(t!==N.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&be.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const o=t.charCodeAt(u);if(this.treeIndex=uo(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===ge.Attribute&&(i===0||eo(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&be.VALUE_LENGTH)>>14,i!==0){if(o===N.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ge.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:n}=this,r=(n[u]&be.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,n){const{decodeTree:r}=this;return this.emitCodePoint(u===1?r[t]&~be.VALUE_LENGTH:r[t+1],n),u===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case O.NamedEntity:return this.result!==0&&(this.decodeMode!==ge.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case O.NumericDecimal:return this.emitNumericEntity(0,2);case O.NumericHex:return this.emitNumericEntity(0,3);case O.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case O.EntityStart:return 0}}}function pn(e){let t="";const u=new to(e,n=>t+=Wi(n));return function(r,i){let o=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(o,s),u.startEntity(i);const c=u.write(r,s+1);if(c<0){o=s+u.end();break}o=s+c,s=c===0?o+1:o}const a=t+r.slice(o);return t="",a}}function uo(e,t,u,n){const r=(t&be.BRANCH_LENGTH)>>7,i=t&be.JUMP_TABLE;if(r===0)return i!==0&&n===i?u:-1;if(i){const a=n-i;return a<0||a>=r?-1:e[u+a]-1}let o=u,s=o+r-1;for(;o<=s;){const a=o+s>>>1,c=e[a];if(c<n)o=a+1;else if(c>n)s=a-1;else return e[a+r]}return-1}const no=pn(Qi);pn(Gi);function bn(e,t=ge.Legacy){return no(e,t)}function ro(e){return Object.prototype.toString.call(e)}function tu(e){return ro(e)==="[object String]"}const io=Object.prototype.hasOwnProperty;function oo(e,t){return io.call(e,t)}function xt(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){if(u){if(typeof u!="object")throw new TypeError(u+"must be object");Object.keys(u).forEach(function(n){e[n]=u[n]})}}),e}function gn(e,t,u){return[].concat(e.slice(0,t),u,e.slice(t+1))}function uu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function _t(e){if(e>65535){e-=65536;const t=55296+(e>>10),u=56320+(e&1023);return String.fromCharCode(t,u)}return String.fromCharCode(e)}const mn=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,so=/&([a-z#][a-z0-9]{1,31});/gi,ao=new RegExp(mn.source+"|"+so.source,"gi"),co=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function lo(e,t){if(t.charCodeAt(0)===35&&co.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return uu(n)?_t(n):e}const u=bn(e);return u!==e?u:e}function fo(e){return e.indexOf("\\")<0?e:e.replace(mn,"$1")}function Fe(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(ao,function(t,u,n){return u||lo(t,n)})}const ho=/[&<>"]/,po=/[&<>"]/g,bo={"&":"&","<":"<",">":">",'"':"""};function go(e){return bo[e]}function me(e){return ho.test(e)?e.replace(po,go):e}const mo=/[.?*+^$[\]\\(){}|-]/g;function Ao(e){return e.replace(mo,"\\$&")}function F(e){switch(e){case 9:case 32:return!0}return!1}function Je(e){if(e>=8192&&e<=8202)return!0;switch(e){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}function et(e){return Kt.test(e)||fn.test(e)}function tt(e){switch(e){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 Ct(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const xo=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:gn,assign:xt,escapeHtml:me,escapeRE:Ao,fromCodePoint:_t,has:oo,isMdAsciiPunct:tt,isPunctChar:et,isSpace:F,isString:tu,isValidEntityCode:uu,isWhiteSpace:Je,lib:{mdurl:qi,ucmicro:Yi},normalizeReference:Ct,unescapeAll:Fe,unescapeMd:fo},Symbol.toStringTag,{value:"Module"}));function _o(e,t,u){let n,r,i,o;const s=e.posMax,a=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),i===91){if(o===e.pos-1)n++;else if(u)return e.pos=a,-1}}let c=-1;return r&&(c=e.pos),e.pos=a,c}function Co(e,t,u){let n,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<u;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=Fe(e.slice(t+1,r)),i.ok=!0,i;if(n===92&&r+1<u){r+=2;continue}r++}return i}let o=0;for(;r<u&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<u){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(o++,o>32))return i;if(n===41){if(o===0)break;o--}r++}return t===r||o!==0||(i.str=Fe(e.slice(t,r)),i.pos=r,i.ok=!0),i}function yo(e,t,u,n){let r,i=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(i>=u)return o;let s=e.charCodeAt(i);if(s!==34&&s!==39&&s!==40)return o;t++,i++,s===40&&(s=41),o.marker=s}for(;i<u;){if(r=e.charCodeAt(i),r===o.marker)return o.pos=i+1,o.str+=Fe(e.slice(t,i)),o.ok=!0,o;if(r===40&&o.marker===41)return o;r===92&&i+1<u&&i++,i++}return o.can_continue=!0,o.str+=Fe(e.slice(t,i)),o}const Eo=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Co,parseLinkLabel:_o,parseLinkTitle:yo},Symbol.toStringTag,{value:"Module"})),ue={};ue.code_inline=function(e,t,u,n,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+me(i.content)+"</code>"},ue.code_block=function(e,t,u,n,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+me(e[t].content)+`</code></pre>
|
|
1768
|
+
`},Ri="wss://ws.volkswagen.latam-sandbox.rio.cloud",Mi=5*6e4;class Bi{constructor(t){this.socket=null,this.connectPromise=null,this.listeners=new Set,this.heartbeatId=null,this.token=t}matchesToken(t){return this.token===t}async sendMessage(t,u){const n=await this.ensureConnection(),r={action:"sendMessage",message:t,conversationId:u??null};console.info("[RioAssist][ws] enviando payload de mensagem",r),n.send(JSON.stringify(r))}async requestHistory(t={}){const u=await this.ensureConnection(),n={action:"getHistory",limit:t.limit??50,conversationId:t.conversationId??null};u.send(JSON.stringify(n))}async renameConversation(t,u){const n=await this.ensureConnection(),r={action:"renameConversation",conversationId:t,newTitle:u};console.info("[RioAssist][ws] enviando renameConversation",r),n.send(JSON.stringify(r))}async deleteConversation(t){const u=await this.ensureConnection(),n={action:"deleteConversation",conversationId:t};console.info("[RioAssist][ws] enviando deleteConversation",n),u.send(JSON.stringify(n))}onMessage(t){return this.listeners.add(t),()=>this.listeners.delete(t)}close(){this.stopHeartbeat(),this.socket&&this.socket.readyState===WebSocket.OPEN&&this.socket.close(),this.connectPromise=null,this.socket=null,this.listeners.clear()}async ensureConnection(){if(this.socket&&(this.socket.readyState===WebSocket.OPEN||this.socket.readyState===WebSocket.CONNECTING))return await this.connectPromise,this.socket;if(this.socket=new WebSocket(`${Ri}?token=${encodeURIComponent(this.token)}`),this.socket.addEventListener("message",t=>this.handleMessage(t)),this.socket.addEventListener("close",()=>{this.connectPromise=null,this.socket=null,this.stopHeartbeat()}),this.connectPromise=new Promise((t,u)=>{if(!this.socket){u(new Error("Falha ao criar conexão WebSocket."));return}const n=()=>{i(),this.socket&&this.startHeartbeat(this.socket),t()},r=()=>{var o;i(),this.stopHeartbeat(),(o=this.socket)==null||o.close(),this.socket=null,this.connectPromise=null,u(new Error("Não foi possível abrir conexão com o websocket do Rio Insight."))},i=()=>{var o,s;(o=this.socket)==null||o.removeEventListener("open",n),(s=this.socket)==null||s.removeEventListener("error",r)};this.socket.addEventListener("open",n,{once:!0}),this.socket.addEventListener("error",r,{once:!0})}),await this.connectPromise,!this.socket||this.socket.readyState!==WebSocket.OPEN)throw new Error("Conexão WebSocket do Rio Insight não está pronta.");return this.socket}startHeartbeat(t){this.stopHeartbeat(),this.heartbeatId=window.setInterval(()=>{t.readyState===WebSocket.OPEN&&t.send(JSON.stringify({action:"ping"}))},Mi)}stopHeartbeat(){this.heartbeatId!==null&&(window.clearInterval(this.heartbeatId),this.heartbeatId=null)}async handleMessage(t){const u=await this.readMessage(t.data);let n=null,r=u,i;try{if(n=JSON.parse(u),typeof n=="object"&&n!==null){const o=n.action??n.type??n.event;typeof o=="string"&&(i=o);const s=n.message??n.response??n.text??n.content;typeof s=="string"&&(r=s)}}catch{n=null}this.listeners.forEach(o=>o({text:r,raw:u,data:n,action:i}))}async readMessage(t){return typeof t=="string"?t:t instanceof Blob?t.text():t instanceof ArrayBuffer?new TextDecoder().decode(new Uint8Array(t)):ArrayBuffer.isView(t)?new TextDecoder().decode(new Uint8Array(t.buffer,t.byteOffset,t.byteLength)):String(t??"")}}const nn={};function Ui(e){let t=nn[e];if(t)return t;t=nn[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);t.push(n)}for(let u=0;u<e.length;u++){const n=e.charCodeAt(u);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function Te(e,t){typeof t!="string"&&(t=Te.defaultChars);const u=Ui(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let i=0,o=n.length;i<o;i+=3){const s=parseInt(n.slice(i+1,i+3),16);if(s<128){r+=u[s];continue}if((s&224)===192&&i+3<o){const a=parseInt(n.slice(i+4,i+6),16);if((a&192)===128){const c=s<<6&1984|a&63;c<128?r+="��":r+=String.fromCharCode(c),i+=3;continue}}if((s&240)===224&&i+6<o){const a=parseInt(n.slice(i+4,i+6),16),c=parseInt(n.slice(i+7,i+9),16);if((a&192)===128&&(c&192)===128){const d=s<<12&61440|a<<6&4032|c&63;d<2048||d>=55296&&d<=57343?r+="���":r+=String.fromCharCode(d),i+=6;continue}}if((s&248)===240&&i+9<o){const a=parseInt(n.slice(i+4,i+6),16),c=parseInt(n.slice(i+7,i+9),16),d=parseInt(n.slice(i+10,i+12),16);if((a&192)===128&&(c&192)===128&&(d&192)===128){let f=s<<18&1835008|a<<12&258048|c<<6&4032|d&63;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}r+="�"}return r})}Te.defaultChars=";/?:@&=+$,#",Te.componentChars="";const rn={};function Li(e){let t=rn[e];if(t)return t;t=rn[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2))}for(let u=0;u<e.length;u++)t[e.charCodeAt(u)]=e[u];return t}function Ke(e,t,u){typeof t!="string"&&(u=t,t=Ke.defaultChars),typeof u>"u"&&(u=!0);const n=Li(t);let r="";for(let i=0,o=e.length;i<o;i++){const s=e.charCodeAt(i);if(u&&s===37&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(s<128){r+=n[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<o){const a=e.charCodeAt(i+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}Ke.defaultChars=";/?:@&=+$,-_.!~*'()#",Ke.componentChars="-_.!~*'()";function Zt(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function At(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Ni=/^([a-z0-9.+-]+:)/i,Oi=/:[0-9]*$/,Pi=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$i=["<",">",'"',"`"," ","\r",`
|
|
1769
|
+
`," "],zi=["{","}","|","\\","^","`"].concat($i),Hi=["'"].concat(zi),on=["%","/","?",";","#"].concat(Hi),sn=["/","?","#"],qi=255,an=/^[+a-z0-9A-Z_-]{0,63}$/,ji=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,cn={javascript:!0,"javascript:":!0},ln={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Xt(e,t){if(e&&e instanceof At)return e;const u=new At;return u.parse(e,t),u}At.prototype.parse=function(e,t){let u,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const c=Pi.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let o=Ni.exec(i);if(o&&(o=o[0],u=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(t||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(o&&cn[o])&&(i=i.substr(2),this.slashes=!0)),!cn[o]&&(r||o&&!ln[o])){let c=-1;for(let h=0;h<sn.length;h++)n=i.indexOf(sn[h]),n!==-1&&(c===-1||n<c)&&(c=n);let d,f;c===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",c),f!==-1&&(d=i.slice(0,f),i=i.slice(f+1),this.auth=d),c=-1;for(let h=0;h<on.length;h++)n=i.indexOf(on[h]),n!==-1&&(c===-1||n<c)&&(c=n);c===-1&&(c=i.length),i[c-1]===":"&&c--;const g=i.slice(0,c);i=i.slice(c),this.parseHost(g),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const h=this.hostname.split(/\./);for(let v=0,w=h.length;v<w;v++){const T=h[v];if(T&&!T.match(an)){let y="";for(let C=0,m=T.length;C<m;C++)T.charCodeAt(C)>127?y+="x":y+=T[C];if(!y.match(an)){const C=h.slice(0,v),m=h.slice(v+1),E=T.match(ji);E&&(C.push(E[1]),m.unshift(E[2])),m.length&&(i=m.join(".")+i),this.hostname=C.join(".");break}}}}this.hostname.length>qi&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");s!==-1&&(this.hash=i.substr(s),i=i.slice(0,s));const a=i.indexOf("?");return a!==-1&&(this.search=i.substr(a),i=i.slice(0,a)),i&&(this.pathname=i),ln[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this},At.prototype.parseHost=function(e){let t=Oi.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Yi=Object.freeze(Object.defineProperty({__proto__:null,decode:Te,encode:Ke,format:Zt,parse:Xt},Symbol.toStringTag,{value:"Module"})),dn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,fn=/[\0-\x1F\x7F-\x9F]/,Qi=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Kt=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,hn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,pn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Vi=Object.freeze(Object.defineProperty({__proto__:null,Any:dn,Cc:fn,Cf:Qi,P:Kt,S:hn,Z:pn},Symbol.toStringTag,{value:"Module"})),Gi=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Wi=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jt;const Zi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Xi=(Jt=String.fromCodePoint)!==null&&Jt!==void 0?Jt:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Ki(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Zi.get(e))!==null&&t!==void 0?t:e}var N;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(N||(N={}));const Ji=32;var be;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(be||(be={}));function eu(e){return e>=N.ZERO&&e<=N.NINE}function eo(e){return e>=N.UPPER_A&&e<=N.UPPER_F||e>=N.LOWER_A&&e<=N.LOWER_F}function to(e){return e>=N.UPPER_A&&e<=N.UPPER_Z||e>=N.LOWER_A&&e<=N.LOWER_Z||eu(e)}function uo(e){return e===N.EQUALS||to(e)}var O;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(O||(O={}));var ge;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ge||(ge={}));class no{constructor(t,u,n){this.decodeTree=t,this.emitCodePoint=u,this.errors=n,this.state=O.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ge.Strict}startEntity(t){this.decodeMode=t,this.state=O.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case O.EntityStart:return t.charCodeAt(u)===N.NUM?(this.state=O.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=O.NamedEntity,this.stateNamedEntity(t,u));case O.NumericStart:return this.stateNumericStart(t,u);case O.NumericDecimal:return this.stateNumericDecimal(t,u);case O.NumericHex:return this.stateNumericHex(t,u);case O.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|Ji)===N.LOWER_X?(this.state=O.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=O.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,n,r){if(u!==n){const i=n-u;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(u,i),r),this.consumed+=i}}stateNumericHex(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(eu(r)||eo(r))u+=1;else return this.addToNumericResult(t,n,u,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,n,u,16),-1}stateNumericDecimal(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(eu(r))u+=1;else return this.addToNumericResult(t,n,u,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,n,u,10),-1}emitNumericEntity(t,u){var n;if(this.consumed<=u)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===N.SEMI)this.consumed+=1;else if(this.decodeMode===ge.Strict)return 0;return this.emitCodePoint(Ki(this.result),this.consumed),this.errors&&(t!==N.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&be.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const o=t.charCodeAt(u);if(this.treeIndex=ro(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===ge.Attribute&&(i===0||uo(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&be.VALUE_LENGTH)>>14,i!==0){if(o===N.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ge.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:n}=this,r=(n[u]&be.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,n){const{decodeTree:r}=this;return this.emitCodePoint(u===1?r[t]&~be.VALUE_LENGTH:r[t+1],n),u===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case O.NamedEntity:return this.result!==0&&(this.decodeMode!==ge.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case O.NumericDecimal:return this.emitNumericEntity(0,2);case O.NumericHex:return this.emitNumericEntity(0,3);case O.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case O.EntityStart:return 0}}}function bn(e){let t="";const u=new no(e,n=>t+=Xi(n));return function(r,i){let o=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(o,s),u.startEntity(i);const c=u.write(r,s+1);if(c<0){o=s+u.end();break}o=s+c,s=c===0?o+1:o}const a=t+r.slice(o);return t="",a}}function ro(e,t,u,n){const r=(t&be.BRANCH_LENGTH)>>7,i=t&be.JUMP_TABLE;if(r===0)return i!==0&&n===i?u:-1;if(i){const a=n-i;return a<0||a>=r?-1:e[u+a]-1}let o=u,s=o+r-1;for(;o<=s;){const a=o+s>>>1,c=e[a];if(c<n)o=a+1;else if(c>n)s=a-1;else return e[a+r]}return-1}const io=bn(Gi);bn(Wi);function gn(e,t=ge.Legacy){return io(e,t)}function oo(e){return Object.prototype.toString.call(e)}function tu(e){return oo(e)==="[object String]"}const so=Object.prototype.hasOwnProperty;function ao(e,t){return so.call(e,t)}function xt(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){if(u){if(typeof u!="object")throw new TypeError(u+"must be object");Object.keys(u).forEach(function(n){e[n]=u[n]})}}),e}function mn(e,t,u){return[].concat(e.slice(0,t),u,e.slice(t+1))}function uu(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function _t(e){if(e>65535){e-=65536;const t=55296+(e>>10),u=56320+(e&1023);return String.fromCharCode(t,u)}return String.fromCharCode(e)}const An=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,co=/&([a-z#][a-z0-9]{1,31});/gi,lo=new RegExp(An.source+"|"+co.source,"gi"),fo=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ho(e,t){if(t.charCodeAt(0)===35&&fo.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return uu(n)?_t(n):e}const u=gn(e);return u!==e?u:e}function po(e){return e.indexOf("\\")<0?e:e.replace(An,"$1")}function Fe(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(lo,function(t,u,n){return u||ho(t,n)})}const bo=/[&<>"]/,go=/[&<>"]/g,mo={"&":"&","<":"<",">":">",'"':"""};function Ao(e){return mo[e]}function me(e){return bo.test(e)?e.replace(go,Ao):e}const xo=/[.?*+^$[\]\\(){}|-]/g;function _o(e){return e.replace(xo,"\\$&")}function F(e){switch(e){case 9:case 32:return!0}return!1}function Je(e){if(e>=8192&&e<=8202)return!0;switch(e){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}function et(e){return Kt.test(e)||hn.test(e)}function tt(e){switch(e){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 Ct(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Co=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:mn,assign:xt,escapeHtml:me,escapeRE:_o,fromCodePoint:_t,has:ao,isMdAsciiPunct:tt,isPunctChar:et,isSpace:F,isString:tu,isValidEntityCode:uu,isWhiteSpace:Je,lib:{mdurl:Yi,ucmicro:Vi},normalizeReference:Ct,unescapeAll:Fe,unescapeMd:po},Symbol.toStringTag,{value:"Module"}));function yo(e,t,u){let n,r,i,o;const s=e.posMax,a=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),i===91){if(o===e.pos-1)n++;else if(u)return e.pos=a,-1}}let c=-1;return r&&(c=e.pos),e.pos=a,c}function Eo(e,t,u){let n,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<u;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=Fe(e.slice(t+1,r)),i.ok=!0,i;if(n===92&&r+1<u){r+=2;continue}r++}return i}let o=0;for(;r<u&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<u){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(o++,o>32))return i;if(n===41){if(o===0)break;o--}r++}return t===r||o!==0||(i.str=Fe(e.slice(t,r)),i.pos=r,i.ok=!0),i}function vo(e,t,u,n){let r,i=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(i>=u)return o;let s=e.charCodeAt(i);if(s!==34&&s!==39&&s!==40)return o;t++,i++,s===40&&(s=41),o.marker=s}for(;i<u;){if(r=e.charCodeAt(i),r===o.marker)return o.pos=i+1,o.str+=Fe(e.slice(t,i)),o.ok=!0,o;if(r===40&&o.marker===41)return o;r===92&&i+1<u&&i++,i++}return o.can_continue=!0,o.str+=Fe(e.slice(t,i)),o}const ko=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Eo,parseLinkLabel:yo,parseLinkTitle:vo},Symbol.toStringTag,{value:"Module"})),ue={};ue.code_inline=function(e,t,u,n,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+me(i.content)+"</code>"},ue.code_block=function(e,t,u,n,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+me(e[t].content)+`</code></pre>
|
|
1693
1770
|
`},ue.fence=function(e,t,u,n,r){const i=e[t],o=i.info?Fe(i.info).trim():"";let s="",a="";if(o){const d=o.split(/(\s+)/g);s=d[0],a=d.slice(2).join("")}let c;if(u.highlight?c=u.highlight(i.content,s,a)||me(i.content):c=me(i.content),c.indexOf("<pre")===0)return c+`
|
|
1694
1771
|
`;if(o){const d=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[];d<0?f.push(["class",u.langPrefix+s]):(f[d]=f[d].slice(),f[d][1]+=" "+u.langPrefix+s);const g={attrs:f};return`<pre><code${r.renderAttrs(g)}>${c}</code></pre>
|
|
1695
1772
|
`}return`<pre><code${r.renderAttrs(i)}>${c}</code></pre>
|
|
@@ -1701,7 +1778,7 @@
|
|
|
1701
1778
|
`},ue.text=function(e,t){return me(e[t].content)},ue.html_block=function(e,t){return e[t].content},ue.html_inline=function(e,t){return e[t].content};function Ie(){this.rules=xt({},ue)}Ie.prototype.renderAttrs=function(t){let u,n,r;if(!t.attrs)return"";for(r="",u=0,n=t.attrs.length;u<n;u++)r+=" "+me(t.attrs[u][0])+'="'+me(t.attrs[u][1])+'"';return r},Ie.prototype.renderToken=function(t,u,n){const r=t[u];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&u&&t[u-1].hidden&&(i+=`
|
|
1702
1779
|
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,r.nesting===1&&u+1<t.length)){const s=t[u+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===r.tag)&&(o=!1)}return i+=o?`>
|
|
1703
1780
|
`:">",i},Ie.prototype.renderInline=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const s=e[i].type;typeof r[s]<"u"?n+=r[s](e,i,t,u,this):n+=this.renderToken(e,i,t)}return n},Ie.prototype.renderInlineAsText=function(e,t,u){let n="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,t,u);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
|
1704
|
-
`;break}return n},Ie.prototype.render=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const s=e[i].type;s==="inline"?n+=this.renderInline(e[i].children,t,u):typeof r[s]<"u"?n+=r[s](e,i,t,u,this):n+=this.renderToken(e,i,t,u)}return n};function
|
|
1705
|
-
`),t=t.replace(ko,"�"),e.src=t}function Do(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function So(e){const t=e.tokens;for(let u=0,n=t.length;u<n;u++){const r=t[u];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function To(e){return/^<a[>\s]/i.test(e)}function Fo(e){return/^<\/a\s*>/i.test(e)}function Io(e){const t=e.tokens;if(e.md.options.linkify)for(let u=0,n=t.length;u<n;u++){if(t[u].type!=="inline"||!e.md.linkify.pretest(t[u].content))continue;let r=t[u].children,i=0;for(let o=r.length-1;o>=0;o--){const s=r[o];if(s.type==="link_close"){for(o--;r[o].level!==s.level&&r[o].type!=="link_open";)o--;continue}if(s.type==="html_inline"&&(To(s.content)&&i>0&&i--,Fo(s.content)&&i++),!(i>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const a=s.content;let c=e.md.linkify.match(a);const d=[];let f=s.level,g=0;c.length>0&&c[0].index===0&&o>0&&r[o-1].type==="text_special"&&(c=c.slice(1));for(let p=0;p<c.length;p++){const h=c[p].url,v=e.md.normalizeLink(h);if(!e.md.validateLink(v))continue;let w=c[p].text;c[p].schema?c[p].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,"");const S=c[p].index;if(S>g){const E=new e.Token("text","",0);E.content=a.slice(g,S),E.level=f,d.push(E)}const y=new e.Token("link_open","a",1);y.attrs=[["href",v]],y.level=f++,y.markup="linkify",y.info="auto",d.push(y);const C=new e.Token("text","",0);C.content=w,C.level=f,d.push(C);const m=new e.Token("link_close","a",-1);m.level=--f,m.markup="linkify",m.info="auto",d.push(m),g=c[p].lastIndex}if(g<a.length){const p=new e.Token("text","",0);p.content=a.slice(g),p.level=f,d.push(p)}t[u].children=r=gn(r,o,d)}}}}const xn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ro=/\((c|tm|r)\)/i,Mo=/\((c|tm|r)\)/ig,Lo={c:"©",r:"®",tm:"™"};function Uo(e,t){return Lo[t.toLowerCase()]}function Bo(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&(n.content=n.content.replace(Mo,Uo)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function No(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&xn.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Oo(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Ro.test(e.tokens[t].content)&&Bo(e.tokens[t].children),xn.test(e.tokens[t].content)&&No(e.tokens[t].children))}const Po=/['"]/,_n=/['"]/g,Cn="’";function yt(e,t,u){return e.slice(0,t)+u+e.slice(t+1)}function $o(e,t){let u;const n=[];for(let r=0;r<e.length;r++){const i=e[r],o=e[r].level;for(u=n.length-1;u>=0&&!(n[u].level<=o);u--);if(n.length=u+1,i.type!=="text")continue;let s=i.content,a=0,c=s.length;e:for(;a<c;){_n.lastIndex=a;const d=_n.exec(s);if(!d)break;let f=!0,g=!0;a=d.index+1;const p=d[0]==="'";let h=32;if(d.index-1>=0)h=s.charCodeAt(d.index-1);else for(u=r-1;u>=0&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u--)if(e[u].content){h=e[u].content.charCodeAt(e[u].content.length-1);break}let v=32;if(a<c)v=s.charCodeAt(a);else for(u=r+1;u<e.length&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u++)if(e[u].content){v=e[u].content.charCodeAt(0);break}const w=tt(h)||et(String.fromCharCode(h)),S=tt(v)||et(String.fromCharCode(v)),y=Je(h),C=Je(v);if(C?f=!1:S&&(y||w||(f=!1)),y?g=!1:w&&(C||S||(g=!1)),v===34&&d[0]==='"'&&h>=48&&h<=57&&(g=f=!1),f&&g&&(f=w,g=S),!f&&!g){p&&(i.content=yt(i.content,d.index,Cn));continue}if(g)for(u=n.length-1;u>=0;u--){let m=n[u];if(n[u].level<o)break;if(m.single===p&&n[u].level===o){m=n[u];let E,D;p?(E=t.md.options.quotes[2],D=t.md.options.quotes[3]):(E=t.md.options.quotes[0],D=t.md.options.quotes[1]),i.content=yt(i.content,d.index,D),e[m.token].content=yt(e[m.token].content,m.pos,E),a+=D.length-1,m.token===r&&(a+=E.length-1),s=i.content,c=s.length,n.length=u;continue e}}f?n.push({token:r,pos:d.index,single:p,level:o}):g&&p&&(i.content=yt(i.content,d.index,Cn))}}}function zo(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Po.test(e.tokens[t].content)||$o(e.tokens[t].children,e)}function Ho(e){let t,u;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const o=n[i].children,s=o.length;for(t=0;t<s;t++)o[t].type==="text_special"&&(o[t].type="text");for(t=u=0;t<s;t++)o[t].type==="text"&&t+1<s&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==u&&(o[u]=o[t]),u++);t!==u&&(o.length=u)}}const nu=[["normalize",wo],["block",Do],["inline",So],["linkify",Io],["replacements",Oo],["smartquotes",zo],["text_join",Ho]];function ru(){this.ruler=new V;for(let e=0;e<nu.length;e++)this.ruler.push(nu[e][0],nu[e][1])}ru.prototype.process=function(e){const t=this.ruler.getRules("");for(let u=0,n=t.length;u<n;u++)t[u](e)},ru.prototype.State=An;function ne(e,t,u,n){this.src=e,this.md=t,this.env=u,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;const r=this.src;for(let i=0,o=0,s=0,a=0,c=r.length,d=!1;o<c;o++){const f=r.charCodeAt(o);if(!d)if(F(f)){s++,f===9?a+=4-a%4:a++;continue}else d=!0;(f===10||o===c-1)&&(f!==10&&o++,this.bMarks.push(i),this.eMarks.push(o),this.tShift.push(s),this.sCount.push(a),this.bsCount.push(0),d=!1,s=0,a=0,i=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ne.prototype.push=function(e,t,u){const n=new ee(e,t,u);return n.block=!0,u<0&&this.level--,n.level=this.level,u>0&&this.level++,this.tokens.push(n),n},ne.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},ne.prototype.skipEmptyLines=function(t){for(let u=this.lineMax;t<u&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},ne.prototype.skipSpaces=function(t){for(let u=this.src.length;t<u;t++){const n=this.src.charCodeAt(t);if(!F(n))break}return t},ne.prototype.skipSpacesBack=function(t,u){if(t<=u)return t;for(;t>u;)if(!F(this.src.charCodeAt(--t)))return t+1;return t},ne.prototype.skipChars=function(t,u){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===u;t++);return t},ne.prototype.skipCharsBack=function(t,u,n){if(t<=n)return t;for(;t>n;)if(u!==this.src.charCodeAt(--t))return t+1;return t},ne.prototype.getLines=function(t,u,n,r){if(t>=u)return"";const i=new Array(u-t);for(let o=0,s=t;s<u;s++,o++){let a=0;const c=this.bMarks[s];let d=c,f;for(s+1<u||r?f=this.eMarks[s]+1:f=this.eMarks[s];d<f&&a<n;){const g=this.src.charCodeAt(d);if(F(g))g===9?a+=4-(a+this.bsCount[s])%4:a++;else if(d-c<this.tShift[s])a++;else break;d++}a>n?i[o]=new Array(a-n+1).join(" ")+this.src.slice(d,f):i[o]=this.src.slice(d,f)}return i.join("")},ne.prototype.Token=ee;const qo=65536;function iu(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(u,n)}function yn(e){const t=[],u=e.length;let n=0,r=e.charCodeAt(n),i=!1,o=0,s="";for(;n<u;)r===124&&(i?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s="",o=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(s+e.substring(o)),t}function jo(e,t,u,n){if(t+2>u)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58||i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58&&!F(s)||o===45&&F(s))return!1;for(;i<e.eMarks[r];){const m=e.src.charCodeAt(i);if(m!==124&&m!==45&&m!==58&&!F(m))return!1;i++}let a=iu(e,t+1),c=a.split("|");const d=[];for(let m=0;m<c.length;m++){const E=c[m].trim();if(!E){if(m===0||m===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;E.charCodeAt(E.length-1)===58?d.push(E.charCodeAt(0)===58?"center":"right"):E.charCodeAt(0)===58?d.push("left"):d.push("")}if(a=iu(e,t).trim(),a.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=yn(a),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==d.length)return!1;if(n)return!0;const g=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),v=[t,0];h.map=v;const w=e.push("thead_open","thead",1);w.map=[t,t+1];const S=e.push("tr_open","tr",1);S.map=[t,t+1];for(let m=0;m<c.length;m++){const E=e.push("th_open","th",1);d[m]&&(E.attrs=[["style","text-align:"+d[m]]]);const D=e.push("inline","",0);D.content=c[m].trim(),D.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y,C=0;for(r=t+2;r<u&&!(e.sCount[r]<e.blkIndent);r++){let m=!1;for(let D=0,U=p.length;D<U;D++)if(p[D](e,r,u,!0)){m=!0;break}if(m||(a=iu(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(c=yn(a),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),C+=f-c.length,C>qo))break;if(r===t+2){const D=e.push("tbody_open","tbody",1);D.map=y=[t+2,0]}const E=e.push("tr_open","tr",1);E.map=[r,r+1];for(let D=0;D<f;D++){const U=e.push("td_open","td",1);d[D]&&(U.attrs=[["style","text-align:"+d[D]]]);const X=e.push("inline","",0);X.content=c[D]?c[D].trim():"",X.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return y&&(e.push("tbody_close","tbody",-1),y[1]=r),e.push("table_close","table",-1),v[1]=r,e.parentType=g,e.line=r,!0}function Yo(e,t,u){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,r=n;for(;n<u;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
1706
|
-
`,i.map=[t,e.line],!0}function Qo(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let s=r;r=e.skipChars(r,o);let a=r-s;if(a<3)return!1;const c=e.src.slice(s,r),d=e.src.slice(r,i);if(o===96&&d.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let f=t,g=!1;for(;f++,!(f>=u||(r=s=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===o&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,o),!(r-s<a)&&(r=e.skipSpaces(r),!(r<i)))){g=!0;break}a=e.sCount[t],e.line=f+(g?1:0);const p=e.push("fence","code",0);return p.info=d,p.content=e.getLines(t+1,f,a,!0),p.markup=c,p.map=[t,e.line],!0}function Go(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const s=[],a=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let p=!1,h;for(h=t;h<u;h++){const C=e.sCount[h]<e.blkIndent;if(r=e.bMarks[h]+e.tShift[h],i=e.eMarks[h],r>=i)break;if(e.src.charCodeAt(r++)===62&&!C){let E=e.sCount[h]+1,D,U;e.src.charCodeAt(r)===32?(r++,E++,U=!1,D=!0):e.src.charCodeAt(r)===9?(D=!0,(e.bsCount[h]+E)%4===3?(r++,E++,U=!1):U=!0):D=!1;let X=E;for(s.push(e.bMarks[h]),e.bMarks[h]=r;r<i;){const oe=e.src.charCodeAt(r);if(F(oe))oe===9?X+=4-(X+e.bsCount[h]+(U?1:0))%4:X++;else break;r++}p=r>=i,a.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(D?1:0),c.push(e.sCount[h]),e.sCount[h]=X-E,d.push(e.tShift[h]),e.tShift[h]=r-e.bMarks[h];continue}if(p)break;let m=!1;for(let E=0,D=f.length;E<D;E++)if(f[E](e,h,u,!0)){m=!0;break}if(m){e.lineMax=h,e.blkIndent!==0&&(s.push(e.bMarks[h]),a.push(e.bsCount[h]),d.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),a.push(e.bsCount[h]),d.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const v=e.blkIndent;e.blkIndent=0;const w=e.push("blockquote_open","blockquote",1);w.markup=">";const S=[t,0];w.map=S,e.md.block.tokenize(e,t,h);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=o,e.parentType=g,S[1]=e.line;for(let C=0;C<d.length;C++)e.bMarks[C+t]=s[C],e.tShift[C+t]=d[C],e.sCount[C+t]=c[C],e.bsCount[C+t]=a[C];return e.blkIndent=v,!0}function Vo(e,t,u,n){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(i++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;i<r;){const c=e.src.charCodeAt(i++);if(c!==o&&!F(c))return!1;c===o&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(s+1).join(String.fromCharCode(o)),!0}function En(e,t){const u=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<u){const i=e.src.charCodeAt(n);if(!F(i))return-1}return n}function vn(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let r=u;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-u>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!F(i))?-1:r}function Wo(e,t){const u=e.level+2;for(let n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===u&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Zo(e,t,u,n){let r,i,o,s,a=t,c=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let d=!1;n&&e.parentType==="paragraph"&&e.sCount[a]>=e.blkIndent&&(d=!0);let f,g,p;if((p=vn(e,a))>=0){if(f=!0,o=e.bMarks[a]+e.tShift[a],g=Number(e.src.slice(o,p-1)),d&&g!==1)return!1}else if((p=En(e,a))>=0)f=!1;else return!1;if(d&&e.skipSpaces(p)>=e.eMarks[a])return!1;if(n)return!0;const h=e.src.charCodeAt(p-1),v=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);const w=[a,0];s.map=w,s.markup=String.fromCharCode(h);let S=!1;const y=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";a<u;){i=p,r=e.eMarks[a];const m=e.sCount[a]+p-(e.bMarks[a]+e.tShift[a]);let E=m;for(;i<r;){const xe=e.src.charCodeAt(i);if(xe===9)E+=4-(E+e.bsCount[a])%4;else if(xe===32)E++;else break;i++}const D=i;let U;D>=r?U=1:U=E-m,U>4&&(U=1);const X=m+U;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(h);const oe=[a,0];s.map=oe,f&&(s.info=e.src.slice(o,p-1));const ve=e.tight,B=e.tShift[a],lt=e.sCount[a],dt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=X,e.tight=!0,e.tShift[a]=D-e.bMarks[a],e.sCount[a]=E,D>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,u):e.md.block.tokenize(e,a,u,!0),(!e.tight||S)&&(c=!1),S=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=dt,e.tShift[a]=B,e.sCount[a]=lt,e.tight=ve,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),a=e.line,oe[1]=a,a>=u||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let Le=!1;for(let xe=0,ku=y.length;xe<ku;xe++)if(y[xe](e,a,u,!0)){Le=!0;break}if(Le)break;if(f){if(p=vn(e,a),p<0)break;o=e.bMarks[a]+e.tShift[a]}else if(p=En(e,a),p<0)break;if(h!==e.src.charCodeAt(p-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),w[1]=a,e.line=a,e.parentType=C,c&&Wo(e,v),!0}function Xo(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function s(y){const C=e.lineMax;if(y>=C||e.isEmpty(y))return null;let m=!1;if(e.sCount[y]-e.blkIndent>3&&(m=!0),e.sCount[y]<0&&(m=!0),!m){const U=e.md.block.ruler.getRules("reference"),X=e.parentType;e.parentType="reference";let oe=!1;for(let ve=0,B=U.length;ve<B;ve++)if(U[ve](e,y,C,!0)){oe=!0;break}if(e.parentType=X,oe)return null}const E=e.bMarks[y]+e.tShift[y],D=e.eMarks[y];return e.src.slice(E,D+1)}let a=e.src.slice(r,i+1);i=a.length;let c=-1;for(r=1;r<i;r++){const y=a.charCodeAt(r);if(y===91)return!1;if(y===93){c=r;break}else if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(y===92&&(r++,r<i&&a.charCodeAt(r)===10)){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}}if(c<0||a.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<i;r++){const y=a.charCodeAt(r);if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(!F(y))break}const d=e.md.helpers.parseLinkDestination(a,r,i);if(!d.ok)return!1;const f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;r=d.pos;const g=r,p=o,h=r;for(;r<i;r++){const y=a.charCodeAt(r);if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(!F(y))break}let v=e.md.helpers.parseLinkTitle(a,r,i);for(;v.can_continue;){const y=s(o);if(y===null)break;a+=y,r=i,i=a.length,o++,v=e.md.helpers.parseLinkTitle(a,r,i,v)}let w;for(r<i&&h!==r&&v.ok?(w=v.str,r=v.pos):(w="",r=g,o=p);r<i;){const y=a.charCodeAt(r);if(!F(y))break;r++}if(r<i&&a.charCodeAt(r)!==10&&w)for(w="",r=g,o=p;r<i;){const y=a.charCodeAt(r);if(!F(y))break;r++}if(r<i&&a.charCodeAt(r)!==10)return!1;const S=Ct(a.slice(1,c));return S?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[S]>"u"&&(e.env.references[S]={title:w,href:f}),e.line=o),!0):!1}const Ko=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Jo="[a-zA-Z_:][a-zA-Z0-9:._-]*",es="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",kn="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Jo+"(?:\\s*=\\s*"+es+")?)")+"*\\s*\\/?>",wn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ts="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",us="<[?][\\s\\S]*?[?]>",ns="<![A-Za-z][^>]*>",rs="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",is=new RegExp("^(?:"+kn+"|"+wn+"|"+ts+"|"+us+"|"+ns+"|"+rs+")"),os=new RegExp("^(?:"+kn+"|"+wn+")"),Re=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ko.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(os.source+"\\s*$"),/^$/,!1]];function ss(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,i),s=0;for(;s<Re.length&&!Re[s][0].test(o);s++);if(s===Re.length)return!1;if(n)return Re[s][2];let a=t+1;if(!Re[s][1].test(o)){for(;a<u&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],i=e.eMarks[a],o=e.src.slice(r,i),Re[s][1].test(o)){o.length!==0&&a++;break}}e.line=a;const c=e.push("html_block","",0);return c.map=[t,a],c.content=e.getLines(t,a,e.blkIndent,!0),!0}function as(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=i)return!1;let s=1;for(o=e.src.charCodeAt(++r);o===35&&r<i&&s<=6;)s++,o=e.src.charCodeAt(++r);if(s>6||r<i&&!F(o))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const a=e.skipCharsBack(i,35,r);a>r&&F(e.src.charCodeAt(a-1))&&(i=a),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const d=e.push("inline","",0);d.content=e.src.slice(r,i).trim(),d.map=[t,e.line],d.children=[];const f=e.push("heading_close","h"+String(s),-1);return f.markup="########".slice(0,s),!0}function cs(e,t,u){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,o,s=t+1;for(;s<u&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let p=e.bMarks[s]+e.tShift[s];const h=e.eMarks[s];if(p<h&&(o=e.src.charCodeAt(p),(o===45||o===61)&&(p=e.skipChars(p,o),p=e.skipSpaces(p),p>=h))){i=o===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let p=0,h=n.length;p<h;p++)if(n[p](e,s,u,!0)){g=!0;break}if(g)break}if(!i)return!1;const a=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(i),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const d=e.push("inline","",0);d.content=a,d.map=[t,e.line-1],d.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(o),e.parentType=r,!0}function ls(e,t,u){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<u&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let c=!1;for(let d=0,f=n.length;d<f;d++)if(n[d](e,i,u,!0)){c=!0;break}if(c)break}const o=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const a=e.push("inline","",0);return a.content=o,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Et=[["table",jo,["paragraph","reference"]],["code",Yo],["fence",Qo,["paragraph","reference","blockquote","list"]],["blockquote",Go,["paragraph","reference","blockquote","list"]],["hr",Vo,["paragraph","reference","blockquote","list"]],["list",Zo,["paragraph","reference","blockquote"]],["reference",Xo],["html_block",ss,["paragraph","reference","blockquote"]],["heading",as,["paragraph","reference","blockquote"]],["lheading",cs],["paragraph",ls]];function vt(){this.ruler=new V;for(let e=0;e<Et.length;e++)this.ruler.push(Et[e][0],Et[e][1],{alt:(Et[e][2]||[]).slice()})}vt.prototype.tokenize=function(e,t,u){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let o=t,s=!1;for(;o<u&&(e.line=o=e.skipEmptyLines(o),!(o>=u||e.sCount[o]<e.blkIndent));){if(e.level>=i){e.line=u;break}const a=e.line;let c=!1;for(let d=0;d<r;d++)if(c=n[d](e,o,u,!1),c){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<u&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},vt.prototype.parse=function(e,t,u,n){if(!e)return;const r=new this.State(e,t,u,n);this.tokenize(r,r.line,r.lineMax)},vt.prototype.State=ne;function ut(e,t,u,n){this.src=e,this.env=u,this.md=t,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}ut.prototype.pushPending=function(){const e=new ee("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},ut.prototype.push=function(e,t,u){this.pending&&this.pushPending();const n=new ee(e,t,u);let r=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},ut.prototype.scanDelims=function(e,t){const u=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<u&&this.src.charCodeAt(i)===n;)i++;const o=i-e,s=i<u?this.src.charCodeAt(i):32,a=tt(r)||et(String.fromCharCode(r)),c=tt(s)||et(String.fromCharCode(s)),d=Je(r),f=Je(s),g=!f&&(!c||d||a),p=!d&&(!a||f||c);return{can_open:g&&(t||!p||a),can_close:p&&(t||!g||c),length:o}},ut.prototype.Token=ee;function ds(e){switch(e){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}}function fs(e,t){let u=e.pos;for(;u<e.posMax&&!ds(e.src.charCodeAt(u));)u++;return u===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,u)),e.pos=u,!0)}const hs=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function ps(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const u=e.pos,n=e.posMax;if(u+3>n||e.src.charCodeAt(u)!==58||e.src.charCodeAt(u+1)!==47||e.src.charCodeAt(u+2)!==47)return!1;const r=e.pending.match(hs);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(u-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="linkify",c.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(s);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=s.length-i.length,!0}function bs(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),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(u++;u<r&&F(e.src.charCodeAt(u));)u++;return e.pos=u,!0}const ou=[];for(let e=0;e<256;e++)ou.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ou[e.charCodeAt(0)]=1});function gs(e,t){let u=e.pos;const n=e.posMax;if(e.src.charCodeAt(u)!==92||(u++,u>=n))return!1;let r=e.src.charCodeAt(u);if(r===10){for(t||e.push("hardbreak","br",0),u++;u<n&&(r=e.src.charCodeAt(u),!!F(r));)u++;return e.pos=u,!0}let i=e.src[u];if(r>=55296&&r<=56319&&u+1<n){const s=e.src.charCodeAt(u+1);s>=56320&&s<=57343&&(i+=e.src[u+1],u++)}const o="\\"+i;if(!t){const s=e.push("text_special","",0);r<256&&ou[r]!==0?s.content=i:s.content=o,s.markup=o,s.info="escape"}return e.pos=u+1,!0}function ms(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;const r=u;u++;const i=e.posMax;for(;u<i&&e.src.charCodeAt(u)===96;)u++;const o=e.src.slice(r,u),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=o),e.pos+=s,!0;let a=u,c;for(;(c=e.src.indexOf("`",a))!==-1;){for(a=c+1;a<i&&e.src.charCodeAt(a)===96;)a++;const d=a-c;if(d===s){if(!t){const f=e.push("code_inline","code",0);f.markup=o,f.content=e.src.slice(u,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[d]=c}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}function As(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const o=String.fromCharCode(n);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=o,i--);for(let a=0;a<i;a+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Dn(e,t){let u;const n=[],r=t.length;for(let i=0;i<r;i++){const o=t[i];if(o.marker!==126||o.end===-1)continue;const s=t[o.end];u=e.tokens[o.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=e.tokens[s.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){const i=n.pop();let o=i+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,i!==o&&(u=e.tokens[o],e.tokens[o]=e.tokens[i],e.tokens[i]=u)}}function xs(e){const t=e.tokens_meta,u=e.tokens_meta.length;Dn(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Dn(e,t[n].delimiters)}const Sn={tokenize:As,postProcess:xs};function _s(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const o=e.push("text","",0);o.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Tn(e,t){const u=t.length;for(let n=u-1;n>=0;n--){const r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const c=e.tokens[i.token];c.type=o?"strong_close":"em_close",c.tag=o?"strong":"em",c.nesting=-1,c.markup=o?s+s:s,c.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function Cs(e){const t=e.tokens_meta,u=e.tokens_meta.length;Tn(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Tn(e,t[n].delimiters)}const Fn={tokenize:_s,postProcess:Cs};function ys(e,t){let u,n,r,i,o="",s="",a=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const d=e.pos,f=e.posMax,g=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let h=p+1;if(h<f&&e.src.charCodeAt(h)===40){for(c=!1,h++;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);if(h>=f)return!1;if(a=h,r=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?h=r.pos:o="",a=h;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);if(r=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<f&&a!==h&&r.ok)for(s=r.str,h=r.pos;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);}(h>=f||e.src.charCodeAt(h)!==41)&&(c=!0),h++}if(c){if(typeof e.env.references>"u")return!1;if(h<f&&e.src.charCodeAt(h)===91?(a=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?n=e.src.slice(a,h++):h=p+1):h=p+1,n||(n=e.src.slice(g,p)),i=e.env.references[Ct(n)],!i)return e.pos=d,!1;o=i.href,s=i.title}if(!t){e.pos=g,e.posMax=p;const v=e.push("link_open","a",1),w=[["href",o]];v.attrs=w,s&&w.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=f,!0}function Es(e,t){let u,n,r,i,o,s,a,c,d="";const f=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(i=h+1,i<g&&e.src.charCodeAt(i)===40){for(i++;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);if(i>=g)return!1;for(c=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(d=e.md.normalizeLink(s.str),e.md.validateLink(d)?i=s.pos:d=""),c=i;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);if(s=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<g&&c!==i&&s.ok)for(a=s.str,i=s.pos;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);else a="";if(i>=g||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<g&&e.src.charCodeAt(i)===91?(c=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(c,i++):i=h+1):i=h+1,r||(r=e.src.slice(p,h)),o=e.env.references[Ct(r)],!o)return e.pos=f,!1;d=o.href,a=o.title}if(!t){n=e.src.slice(p,h);const v=[];e.md.inline.parse(n,e.md,e.env,v);const w=e.push("image","img",0),S=[["src",d],["alt",""]];w.attrs=S,w.children=v,w.content=n,a&&S.push(["title",a])}return e.pos=i,e.posMax=g,!0}const vs=/^([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])?)*)$/,ks=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function ws(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++u>=r)return!1;const o=e.src.charCodeAt(u);if(o===60)return!1;if(o===62)break}const i=e.src.slice(n+1,u);if(ks.test(i)){const o=e.md.normalizeLink(i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}if(vs.test(i)){const o=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}return!1}function Ds(e){return/^<a[>\s]/i.test(e)}function Ss(e){return/^<\/a\s*>/i.test(e)}function Ts(e){const t=e|32;return t>=97&&t<=122}function Fs(e,t){if(!e.md.options.html)return!1;const u=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=u)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Ts(r))return!1;const i=e.src.slice(n).match(is);if(!i)return!1;if(!t){const o=e.push("html_inline","",0);o.content=i[0],Ds(o.content)&&e.linkLevel++,Ss(o.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Is=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Rs=/^&([a-z][a-z0-9]{1,31});/i;function Ms(e,t){const u=e.pos,n=e.posMax;if(e.src.charCodeAt(u)!==38||u+1>=n)return!1;if(e.src.charCodeAt(u+1)===35){const i=e.src.slice(u).match(Is);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),s=e.push("text_special","",0);s.content=uu(o)?_t(o):_t(65533),s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(u).match(Rs);if(i){const o=bn(i[0]);if(o!==i[0]){if(!t){const s=e.push("text_special","",0);s.content=o,s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function In(e){const t={},u=e.length;if(!u)return;let n=0,r=-2;const i=[];for(let o=0;o<u;o++){const s=e[o];if(i.push(0),(e[n].marker!==s.marker||r!==s.token-1)&&(n=o),r=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[s.marker][(s.open?3:0)+s.length%3];let c=n-i[n]-1,d=c;for(;c>a;c-=i[c]+1){const f=e[c];if(f.marker===s.marker&&f.open&&f.end<0){let g=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(g=!0),!g){const p=c>0&&!e[c-1].open?i[c-1]+1:0;i[o]=o-c+p,i[c]=p,s.open=!1,f.end=o,f.close=!1,d=-1,r=-2;break}}}d!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=d)}}function Ls(e){const t=e.tokens_meta,u=e.tokens_meta.length;In(e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&In(t[n].delimiters)}function Us(e){let t,u,n=0;const r=e.tokens,i=e.tokens.length;for(t=u=0;t<i;t++)r[t].nesting<0&&n--,r[t].level=n,r[t].nesting>0&&n++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==u&&(r[u]=r[t]),u++);t!==u&&(r.length=u)}const su=[["text",fs],["linkify",ps],["newline",bs],["escape",gs],["backticks",ms],["strikethrough",Sn.tokenize],["emphasis",Fn.tokenize],["link",ys],["image",Es],["autolink",ws],["html_inline",Fs],["entity",Ms]],au=[["balance_pairs",Ls],["strikethrough",Sn.postProcess],["emphasis",Fn.postProcess],["fragments_join",Us]];function nt(){this.ruler=new V;for(let e=0;e<su.length;e++)this.ruler.push(su[e][0],su[e][1]);this.ruler2=new V;for(let e=0;e<au.length;e++)this.ruler2.push(au[e][0],au[e][1])}nt.prototype.skipToken=function(e){const t=e.pos,u=this.ruler.getRules(""),n=u.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let o=!1;if(e.level<r){for(let s=0;s<n;s++)if(e.level++,o=u[s](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,i[t]=e.pos},nt.prototype.tokenize=function(e){const t=this.ruler.getRules(""),u=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let o=!1;if(e.level<r){for(let s=0;s<u;s++)if(o=t[s](e,!1),o){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},nt.prototype.parse=function(e,t,u,n){const r=new this.State(e,t,u,n);this.tokenize(r);const i=this.ruler2.getRules(""),o=i.length;for(let s=0;s<o;s++)i[s](r)},nt.prototype.State=ut;function Bs(e){const t={};e=e||{},t.src_Any=ln.source,t.src_Cc=dn.source,t.src_Z=hn.source,t.src_P=Kt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const u="[><|]";return t.src_pseudo_letter="(?:(?!"+u+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+u+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+u+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+u+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function cu(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){u&&Object.keys(u).forEach(function(n){e[n]=u[n]})}),e}function kt(e){return Object.prototype.toString.call(e)}function Ns(e){return kt(e)==="[object String]"}function Os(e){return kt(e)==="[object Object]"}function Ps(e){return kt(e)==="[object RegExp]"}function Rn(e){return kt(e)==="[object Function]"}function $s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Mn={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function zs(e){return Object.keys(e||{}).reduce(function(t,u){return t||Mn.hasOwnProperty(u)},!1)}const Hs={"http:":{validate:function(e,t,u){const n=e.slice(t);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(n)?n.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,u){const n=e.slice(t);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,u){const n=e.slice(t);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(n)?n.match(u.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]",js="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ys(e){e.__index__=-1,e.__text_cache__=""}function Qs(e){return function(t,u){const n=t.slice(u);return e.test(n)?n.match(e)[0].length:0}}function Ln(){return function(e,t){t.normalize(e)}}function wt(e){const t=e.re=Bs(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(qs),u.push(t.src_xn),t.src_tlds=u.join("|");function n(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(s,a){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+a)}Object.keys(e.__schemas__).forEach(function(s){const a=e.__schemas__[s];if(a===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,Os(a)){Ps(a.validate)?c.validate=Qs(a.validate):Rn(a.validate)?c.validate=a.validate:i(s,a),Rn(a.normalize)?c.normalize=a.normalize:a.normalize?i(s,a):c.normalize=Ln();return}if(Ns(a)){r.push(s);return}i(s,a)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:Ln()};const o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map($s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Ys(e)}function Gs(e,t){const u=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(u,n);this.schema=e.__schema__.toLowerCase(),this.index=u+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function lu(e,t){const u=new Gs(e,t);return e.__compiled__[u.schema].normalize(u,e),u}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);t||zs(e)&&(t=e,e={}),this.__opts__=cu({},Mn,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cu({},Hs,e),this.__compiled__={},this.__tlds__=js,this.__tlds_replaced__=!1,this.re={},wt(this)}Z.prototype.add=function(t,u){return this.__schemas__[t]=u,wt(this),this},Z.prototype.set=function(t){return this.__opts__=cu(this.__opts__,t),this},Z.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let u,n,r,i,o,s,a,c,d;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(u=a.exec(t))!==null;)if(i=this.testSchemaAt(t,u[2],a.lastIndex),i){this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=t.indexOf("@"),d>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},Z.prototype.pretest=function(t){return this.re.pretest.test(t)},Z.prototype.testSchemaAt=function(t,u,n){return this.__compiled__[u.toLowerCase()]?this.__compiled__[u.toLowerCase()].validate(t,n,this):0},Z.prototype.match=function(t){const u=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(u.push(lu(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)u.push(lu(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return u.length?u:null},Z.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const u=this.re.schema_at_start.exec(t);if(!u)return null;const n=this.testSchemaAt(t,u[2],u[0].length);return n?(this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+n,lu(this,0)):null},Z.prototype.tlds=function(t,u){return t=Array.isArray(t)?t:[t],u?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),wt(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wt(this),this)},Z.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Z.prototype.onCompile=function(){};const Me=2147483647,re=36,du=1,rt=26,Vs=38,Ws=700,Un=72,Bn=128,Nn="-",Zs=/^xn--/,Xs=/[^\0-\x7F]/,Ks=/[\x2E\u3002\uFF0E\uFF61]/g,Js={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fu=re-du,ie=Math.floor,hu=String.fromCharCode;function Ae(e){throw new RangeError(Js[e])}function ea(e,t){const u=[];let n=e.length;for(;n--;)u[n]=t(e[n]);return u}function On(e,t){const u=e.split("@");let n="";u.length>1&&(n=u[0]+"@",e=u[1]),e=e.replace(Ks,".");const r=e.split("."),i=ea(r,t).join(".");return n+i}function Pn(e){const t=[];let u=0;const n=e.length;for(;u<n;){const r=e.charCodeAt(u++);if(r>=55296&&r<=56319&&u<n){const i=e.charCodeAt(u++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),u--)}else t.push(r)}return t}const ta=e=>String.fromCodePoint(...e),ua=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:re},$n=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},zn=function(e,t,u){let n=0;for(e=u?ie(e/Ws):e>>1,e+=ie(e/t);e>fu*rt>>1;n+=re)e=ie(e/fu);return ie(n+(fu+1)*e/(e+Vs))},Hn=function(e){const t=[],u=e.length;let n=0,r=Bn,i=Un,o=e.lastIndexOf(Nn);o<0&&(o=0);for(let s=0;s<o;++s)e.charCodeAt(s)>=128&&Ae("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s<u;){const a=n;for(let d=1,f=re;;f+=re){s>=u&&Ae("invalid-input");const g=ua(e.charCodeAt(s++));g>=re&&Ae("invalid-input"),g>ie((Me-n)/d)&&Ae("overflow"),n+=g*d;const p=f<=i?du:f>=i+rt?rt:f-i;if(g<p)break;const h=re-p;d>ie(Me/h)&&Ae("overflow"),d*=h}const c=t.length+1;i=zn(n-a,c,a==0),ie(n/c)>Me-r&&Ae("overflow"),r+=ie(n/c),n%=c,t.splice(n++,0,r)}return String.fromCodePoint(...t)},qn=function(e){const t=[];e=Pn(e);const u=e.length;let n=Bn,r=0,i=Un;for(const a of e)a<128&&t.push(hu(a));const o=t.length;let s=o;for(o&&t.push(Nn);s<u;){let a=Me;for(const d of e)d>=n&&d<a&&(a=d);const c=s+1;a-n>ie((Me-r)/c)&&Ae("overflow"),r+=(a-n)*c,n=a;for(const d of e)if(d<n&&++r>Me&&Ae("overflow"),d===n){let f=r;for(let g=re;;g+=re){const p=g<=i?du:g>=i+rt?rt:g-i;if(f<p)break;const h=f-p,v=re-p;t.push(hu($n(p+h%v,0))),f=ie(h/v)}t.push(hu($n(f,0))),i=zn(r,c,s===o),r=0,++s}++r,++n}return t.join("")},jn={version:"2.3.1",ucs2:{decode:Pn,encode:ta},decode:Hn,encode:qn,toASCII:function(e){return On(e,function(t){return Xs.test(t)?"xn--"+qn(t):t})},toUnicode:function(e){return On(e,function(t){return Zs.test(t)?Hn(t.slice(4).toLowerCase()):t})}},na={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{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"]}}},commonmark:{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"]}}}},ra=/^(vbscript|javascript|file|data):/,ia=/^data:image\/(gif|png|jpeg|webp);/;function oa(e){const t=e.trim().toLowerCase();return ra.test(t)?ia.test(t):!0}const Yn=["http:","https:","mailto:"];function sa(e){const t=Xt(e,!0);if(t.hostname&&(!t.protocol||Yn.indexOf(t.protocol)>=0))try{t.hostname=jn.toASCII(t.hostname)}catch{}return Ke(Zt(t))}function aa(e){const t=Xt(e,!0);if(t.hostname&&(!t.protocol||Yn.indexOf(t.protocol)>=0))try{t.hostname=jn.toUnicode(t.hostname)}catch{}return Te(Zt(t),Te.defaultChars+"%")}function K(e,t){if(!(this instanceof K))return new K(e,t);t||tu(e)||(t=e||{},e="default"),this.inline=new nt,this.block=new vt,this.core=new ru,this.renderer=new Ie,this.linkify=new Z,this.validateLink=oa,this.normalizeLink=sa,this.normalizeLinkText=aa,this.utils=xo,this.helpers=xt({},Eo),this.options={},this.configure(e),t&&this.set(t)}K.prototype.set=function(e){return xt(this.options,e),this},K.prototype.configure=function(e){const t=this;if(tu(e)){const u=e;if(e=na[u],!e)throw new Error('Wrong `markdown-it` preset "'+u+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(u){e.components[u].rules&&t[u].ruler.enableOnly(e.components[u].rules),e.components[u].rules2&&t[u].ruler2.enableOnly(e.components[u].rules2)}),this},K.prototype.enable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.enable(e,!0))},this),u=u.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},K.prototype.disable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.disable(e,!0))},this),u=u.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},K.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},K.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const u=new this.core.State(e,this,t);return this.core.process(u),u.tokens},K.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},K.prototype.parseInline=function(e,t){const u=new this.core.State(e,this,t);return u.inlineMode=!0,this.core.process(u),u.tokens},K.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pu=!0,Qn=!1,Gn=!1,la=function(e,t){t&&(pu=!t.enabled,Qn=!!t.label,Gn=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(u){for(var n=u.tokens,r=2;r<n.length;r++)fa(n,r)&&(ha(n[r],u.Token),Vn(n[r-2],"class","task-list-item"+(pu?"":" enabled")),Vn(n[da(n,r-2)],"class","contains-task-list"))})};function Vn(e,t,u){var n=e.attrIndex(t),r=[t,u];n<0?e.attrPush(r):e.attrs[n]=r}function da(e,t){for(var u=e[t].level-1,n=t-1;n>=0;n--)if(e[n].level===u)return n;return-1}function fa(e,t){return Aa(e[t])&&xa(e[t-1])&&_a(e[t-2])&&Ca(e[t])}function ha(e,t){if(e.children.unshift(pa(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),Qn)if(Gn){e.children.pop();var u="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+u+'">',e.children.push(ma(e.content,u,t))}else e.children.unshift(ba(t)),e.children.push(ga(t))}function pa(e,t){var u=new t("html_inline","",0),n=pu?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?u.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(u.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),u}function ba(e){var t=new e("html_inline","",0);return t.content="<label>",t}function ga(e){var t=new e("html_inline","",0);return t.content="</label>",t}function ma(e,t,u){var n=new u("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",n.attrs=[{for:t}],n}function Aa(e){return e.type==="inline"}function xa(e){return e.type==="paragraph_open"}function _a(e){return e.type==="list_item_open"}function Ca(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const ya=ca(la);/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */const{entries:Wn,setPrototypeOf:Zn,isFrozen:Ea,getPrototypeOf:va,getOwnPropertyDescriptor:ka}=Object;let{freeze:j,seal:J,create:bu}=Object,{apply:gu,construct:mu}=typeof Reflect<"u"&&Reflect;j||(j=function(t){return t}),J||(J=function(t){return t}),gu||(gu=function(t,u){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(u,r)}),mu||(mu=function(t){for(var u=arguments.length,n=new Array(u>1?u-1:0),r=1;r<u;r++)n[r-1]=arguments[r];return new t(...n)});const Dt=Q(Array.prototype.forEach),wa=Q(Array.prototype.lastIndexOf),Xn=Q(Array.prototype.pop),it=Q(Array.prototype.push),Da=Q(Array.prototype.splice),St=Q(String.prototype.toLowerCase),Au=Q(String.prototype.toString),xu=Q(String.prototype.match),ot=Q(String.prototype.replace),Sa=Q(String.prototype.indexOf),Ta=Q(String.prototype.trim),te=Q(Object.prototype.hasOwnProperty),Y=Q(RegExp.prototype.test),st=Fa(TypeError);function Q(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var u=arguments.length,n=new Array(u>1?u-1:0),r=1;r<u;r++)n[r-1]=arguments[r];return gu(e,t,n)}}function Fa(e){return function(){for(var t=arguments.length,u=new Array(t),n=0;n<t;n++)u[n]=arguments[n];return mu(e,u)}}function k(e,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:St;Zn&&Zn(e,null);let n=t.length;for(;n--;){let r=t[n];if(typeof r=="string"){const i=u(r);i!==r&&(Ea(t)||(t[n]=i),r=i)}e[r]=!0}return e}function Ia(e){for(let t=0;t<e.length;t++)te(e,t)||(e[t]=null);return e}function ce(e){const t=bu(null);for(const[u,n]of Wn(e))te(e,u)&&(Array.isArray(n)?t[u]=Ia(n):n&&typeof n=="object"&&n.constructor===Object?t[u]=ce(n):t[u]=n);return t}function at(e,t){for(;e!==null;){const n=ka(e,t);if(n){if(n.get)return Q(n.get);if(typeof n.value=="function")return Q(n.value)}e=va(e)}function u(){return null}return u}const Kn=j(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_u=j(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Cu=j(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ra=j(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),yu=j(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ma=j(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Jn=j(["#text"]),er=j(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Eu=j(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),tr=j(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Tt=j(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),La=J(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ua=J(/<%[\w\W]*|[\w\W]*%>/gm),Ba=J(/\$\{[\w\W]*/gm),Na=J(/^data-[\-\w.\u00B7-\uFFFF]+$/),Oa=J(/^aria-[\-\w]+$/),ur=J(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Pa=J(/^(?:\w+script|data):/i),$a=J(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nr=J(/^html$/i),za=J(/^[a-z][.\w]*(-[.\w]+)+$/i);var rr=Object.freeze({__proto__:null,ARIA_ATTR:Oa,ATTR_WHITESPACE:$a,CUSTOM_ELEMENT:za,DATA_ATTR:Na,DOCTYPE_NAME:nr,ERB_EXPR:Ua,IS_ALLOWED_URI:ur,IS_SCRIPT_OR_DATA:Pa,MUSTACHE_EXPR:La,TMPLIT_EXPR:Ba});const ct={element:1,text:3,progressingInstruction:7,comment:8,document:9},Ha=function(){return typeof window>"u"?null:window},qa=function(t,u){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";u&&u.hasAttribute(r)&&(n=u.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},ir=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function or(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ha();const t=x=>or(x);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==ct.document||!e.Element)return t.isSupported=!1,t;let{document:u}=e;const n=u,r=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:a,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:g,trustedTypes:p}=e,h=a.prototype,v=at(h,"cloneNode"),w=at(h,"remove"),S=at(h,"nextSibling"),y=at(h,"childNodes"),C=at(h,"parentNode");if(typeof o=="function"){const x=u.createElement("template");x.content&&x.content.ownerDocument&&(u=x.content.ownerDocument)}let m,E="";const{implementation:D,createNodeIterator:U,createDocumentFragment:X,getElementsByTagName:oe}=u,{importNode:ve}=n;let B=ir();t.isSupported=typeof Wn=="function"&&typeof C=="function"&&D&&D.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:lt,ERB_EXPR:dt,TMPLIT_EXPR:Le,DATA_ATTR:xe,ARIA_ATTR:ku,IS_SCRIPT_OR_DATA:Ga,ATTR_WHITESPACE:cr,CUSTOM_ELEMENT:Va}=rr;let{IS_ALLOWED_URI:lr}=rr,P=null;const dr=k({},[...Kn,..._u,...Cu,...yu,...Jn]);let z=null;const fr=k({},[...er,...Eu,...tr,...Tt]);let R=Object.seal(bu(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ft=null,wu=null;const Ue=Object.seal(bu(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let hr=!0,Du=!0,pr=!1,br=!0,Be=!1,It=!0,ke=!1,Su=!1,Tu=!1,Ne=!1,Rt=!1,Mt=!1,gr=!0,mr=!1;const Wa="user-content-";let Fu=!0,ht=!1,Oe={},Pe=null;const Ar=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let xr=null;const _r=k({},["audio","video","img","source","image","track"]);let Iu=null;const Cr=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Lt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let $e=le,Ru=!1,Mu=null;const Za=k({},[Lt,Ut,le],Au);let Bt=k({},["mi","mo","mn","ms","mtext"]),Nt=k({},["annotation-xml"]);const Xa=k({},["title","style","font","a","script"]);let pt=null;const Ka=["application/xhtml+xml","text/html"],Ja="text/html";let $=null,ze=null;const e0=u.createElement("form"),yr=function(l){return l instanceof RegExp||l instanceof Function},Lu=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ze&&ze===l)){if((!l||typeof l!="object")&&(l={}),l=ce(l),pt=Ka.indexOf(l.PARSER_MEDIA_TYPE)===-1?Ja:l.PARSER_MEDIA_TYPE,$=pt==="application/xhtml+xml"?Au:St,P=te(l,"ALLOWED_TAGS")?k({},l.ALLOWED_TAGS,$):dr,z=te(l,"ALLOWED_ATTR")?k({},l.ALLOWED_ATTR,$):fr,Mu=te(l,"ALLOWED_NAMESPACES")?k({},l.ALLOWED_NAMESPACES,Au):Za,Iu=te(l,"ADD_URI_SAFE_ATTR")?k(ce(Cr),l.ADD_URI_SAFE_ATTR,$):Cr,xr=te(l,"ADD_DATA_URI_TAGS")?k(ce(_r),l.ADD_DATA_URI_TAGS,$):_r,Pe=te(l,"FORBID_CONTENTS")?k({},l.FORBID_CONTENTS,$):Ar,ft=te(l,"FORBID_TAGS")?k({},l.FORBID_TAGS,$):ce({}),wu=te(l,"FORBID_ATTR")?k({},l.FORBID_ATTR,$):ce({}),Oe=te(l,"USE_PROFILES")?l.USE_PROFILES:!1,hr=l.ALLOW_ARIA_ATTR!==!1,Du=l.ALLOW_DATA_ATTR!==!1,pr=l.ALLOW_UNKNOWN_PROTOCOLS||!1,br=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=l.SAFE_FOR_TEMPLATES||!1,It=l.SAFE_FOR_XML!==!1,ke=l.WHOLE_DOCUMENT||!1,Ne=l.RETURN_DOM||!1,Rt=l.RETURN_DOM_FRAGMENT||!1,Mt=l.RETURN_TRUSTED_TYPE||!1,Tu=l.FORCE_BODY||!1,gr=l.SANITIZE_DOM!==!1,mr=l.SANITIZE_NAMED_PROPS||!1,Fu=l.KEEP_CONTENT!==!1,ht=l.IN_PLACE||!1,lr=l.ALLOWED_URI_REGEXP||ur,$e=l.NAMESPACE||le,Bt=l.MATHML_TEXT_INTEGRATION_POINTS||Bt,Nt=l.HTML_INTEGRATION_POINTS||Nt,R=l.CUSTOM_ELEMENT_HANDLING||{},l.CUSTOM_ELEMENT_HANDLING&&yr(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(R.tagNameCheck=l.CUSTOM_ELEMENT_HANDLING.tagNameCheck),l.CUSTOM_ELEMENT_HANDLING&&yr(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(R.attributeNameCheck=l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),l.CUSTOM_ELEMENT_HANDLING&&typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(R.allowCustomizedBuiltInElements=l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Du=!1),Rt&&(Ne=!0),Oe&&(P=k({},Jn),z=[],Oe.html===!0&&(k(P,Kn),k(z,er)),Oe.svg===!0&&(k(P,_u),k(z,Eu),k(z,Tt)),Oe.svgFilters===!0&&(k(P,Cu),k(z,Eu),k(z,Tt)),Oe.mathMl===!0&&(k(P,yu),k(z,tr),k(z,Tt))),l.ADD_TAGS&&(typeof l.ADD_TAGS=="function"?Ue.tagCheck=l.ADD_TAGS:(P===dr&&(P=ce(P)),k(P,l.ADD_TAGS,$))),l.ADD_ATTR&&(typeof l.ADD_ATTR=="function"?Ue.attributeCheck=l.ADD_ATTR:(z===fr&&(z=ce(z)),k(z,l.ADD_ATTR,$))),l.ADD_URI_SAFE_ATTR&&k(Iu,l.ADD_URI_SAFE_ATTR,$),l.FORBID_CONTENTS&&(Pe===Ar&&(Pe=ce(Pe)),k(Pe,l.FORBID_CONTENTS,$)),Fu&&(P["#text"]=!0),ke&&k(P,["html","head","body"]),P.table&&(k(P,["tbody"]),delete ft.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');m=l.TRUSTED_TYPES_POLICY,E=m.createHTML("")}else m===void 0&&(m=qa(p,r)),m!==null&&typeof E=="string"&&(E=m.createHTML(""));j&&j(l),ze=l}},Er=k({},[..._u,...Cu,...Ra]),vr=k({},[...yu,...Ma]),t0=function(l){let b=C(l);(!b||!b.tagName)&&(b={namespaceURI:$e,tagName:"template"});const A=St(l.tagName),I=St(b.tagName);return Mu[l.namespaceURI]?l.namespaceURI===Ut?b.namespaceURI===le?A==="svg":b.namespaceURI===Lt?A==="svg"&&(I==="annotation-xml"||Bt[I]):!!Er[A]:l.namespaceURI===Lt?b.namespaceURI===le?A==="math":b.namespaceURI===Ut?A==="math"&&Nt[I]:!!vr[A]:l.namespaceURI===le?b.namespaceURI===Ut&&!Nt[I]||b.namespaceURI===Lt&&!Bt[I]?!1:!vr[A]&&(Xa[A]||!Er[A]):!!(pt==="application/xhtml+xml"&&Mu[l.namespaceURI]):!1},se=function(l){it(t.removed,{element:l});try{C(l).removeChild(l)}catch{w(l)}},we=function(l,b){try{it(t.removed,{attribute:b.getAttributeNode(l),from:b})}catch{it(t.removed,{attribute:null,from:b})}if(b.removeAttribute(l),l==="is")if(Ne||Rt)try{se(b)}catch{}else try{b.setAttribute(l,"")}catch{}},kr=function(l){let b=null,A=null;if(Tu)l="<remove></remove>"+l;else{const L=xu(l,/^[\r\n\t ]+/);A=L&&L[0]}pt==="application/xhtml+xml"&&$e===le&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const I=m?m.createHTML(l):l;if($e===le)try{b=new g().parseFromString(I,pt)}catch{}if(!b||!b.documentElement){b=D.createDocument($e,"template",null);try{b.documentElement.innerHTML=Ru?E:I}catch{}}const q=b.body||b.documentElement;return l&&A&&q.insertBefore(u.createTextNode(A),q.childNodes[0]||null),$e===le?oe.call(b,ke?"html":"body")[0]:ke?b.documentElement:q},wr=function(l){return U.call(l.ownerDocument||l,l,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Uu=function(l){return l instanceof f&&(typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||!(l.attributes instanceof d)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function")},Dr=function(l){return typeof s=="function"&&l instanceof s};function de(x,l,b){Dt(x,A=>{A.call(t,l,b,ze)})}const Sr=function(l){let b=null;if(de(B.beforeSanitizeElements,l,null),Uu(l))return se(l),!0;const A=$(l.nodeName);if(de(B.uponSanitizeElement,l,{tagName:A,allowedTags:P}),It&&l.hasChildNodes()&&!Dr(l.firstElementChild)&&Y(/<[/\w!]/g,l.innerHTML)&&Y(/<[/\w!]/g,l.textContent)||l.nodeType===ct.progressingInstruction||It&&l.nodeType===ct.comment&&Y(/<[/\w]/g,l.data))return se(l),!0;if(!(Ue.tagCheck instanceof Function&&Ue.tagCheck(A))&&(!P[A]||ft[A])){if(!ft[A]&&Fr(A)&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,A)||R.tagNameCheck instanceof Function&&R.tagNameCheck(A)))return!1;if(Fu&&!Pe[A]){const I=C(l)||l.parentNode,q=y(l)||l.childNodes;if(q&&I){const L=q.length;for(let W=L-1;W>=0;--W){const fe=v(q[W],!0);fe.__removalCount=(l.__removalCount||0)+1,I.insertBefore(fe,S(l))}}}return se(l),!0}return l instanceof a&&!t0(l)||(A==="noscript"||A==="noembed"||A==="noframes")&&Y(/<\/no(script|embed|frames)/i,l.innerHTML)?(se(l),!0):(Be&&l.nodeType===ct.text&&(b=l.textContent,Dt([lt,dt,Le],I=>{b=ot(b,I," ")}),l.textContent!==b&&(it(t.removed,{element:l.cloneNode()}),l.textContent=b)),de(B.afterSanitizeElements,l,null),!1)},Tr=function(l,b,A){if(gr&&(b==="id"||b==="name")&&(A in u||A in e0))return!1;if(!(Du&&!wu[b]&&Y(xe,b))){if(!(hr&&Y(ku,b))){if(!(Ue.attributeCheck instanceof Function&&Ue.attributeCheck(b,l))){if(!z[b]||wu[b]){if(!(Fr(l)&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,l)||R.tagNameCheck instanceof Function&&R.tagNameCheck(l))&&(R.attributeNameCheck instanceof RegExp&&Y(R.attributeNameCheck,b)||R.attributeNameCheck instanceof Function&&R.attributeNameCheck(b,l))||b==="is"&&R.allowCustomizedBuiltInElements&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,A)||R.tagNameCheck instanceof Function&&R.tagNameCheck(A))))return!1}else if(!Iu[b]){if(!Y(lr,ot(A,cr,""))){if(!((b==="src"||b==="xlink:href"||b==="href")&&l!=="script"&&Sa(A,"data:")===0&&xr[l])){if(!(pr&&!Y(Ga,ot(A,cr,"")))){if(A)return!1}}}}}}}return!0},Fr=function(l){return l!=="annotation-xml"&&xu(l,Va)},Ir=function(l){de(B.beforeSanitizeAttributes,l,null);const{attributes:b}=l;if(!b||Uu(l))return;const A={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let I=b.length;for(;I--;){const q=b[I],{name:L,namespaceURI:W,value:fe}=q,He=$(L),Bu=fe;let H=L==="value"?Bu:Ta(Bu);if(A.attrName=He,A.attrValue=H,A.keepAttr=!0,A.forceKeepAttr=void 0,de(B.uponSanitizeAttribute,l,A),H=A.attrValue,mr&&(He==="id"||He==="name")&&(we(L,l),H=Wa+H),It&&Y(/((--!?|])>)|<\/(style|title|textarea)/i,H)){we(L,l);continue}if(He==="attributename"&&xu(H,"href")){we(L,l);continue}if(A.forceKeepAttr)continue;if(!A.keepAttr){we(L,l);continue}if(!br&&Y(/\/>/i,H)){we(L,l);continue}Be&&Dt([lt,dt,Le],Mr=>{H=ot(H,Mr," ")});const Rr=$(l.nodeName);if(!Tr(Rr,He,H)){we(L,l);continue}if(m&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!W)switch(p.getAttributeType(Rr,He)){case"TrustedHTML":{H=m.createHTML(H);break}case"TrustedScriptURL":{H=m.createScriptURL(H);break}}if(H!==Bu)try{W?l.setAttributeNS(W,L,H):l.setAttribute(L,H),Uu(l)?se(l):Xn(t.removed)}catch{we(L,l)}}de(B.afterSanitizeAttributes,l,null)},u0=function x(l){let b=null;const A=wr(l);for(de(B.beforeSanitizeShadowDOM,l,null);b=A.nextNode();)de(B.uponSanitizeShadowNode,b,null),Sr(b),Ir(b),b.content instanceof i&&x(b.content);de(B.afterSanitizeShadowDOM,l,null)};return t.sanitize=function(x){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=null,A=null,I=null,q=null;if(Ru=!x,Ru&&(x="<!-->"),typeof x!="string"&&!Dr(x))if(typeof x.toString=="function"){if(x=x.toString(),typeof x!="string")throw st("dirty is not a string, aborting")}else throw st("toString is not a function");if(!t.isSupported)return x;if(Su||Lu(l),t.removed=[],typeof x=="string"&&(ht=!1),ht){if(x.nodeName){const fe=$(x.nodeName);if(!P[fe]||ft[fe])throw st("root node is forbidden and cannot be sanitized in-place")}}else if(x instanceof s)b=kr("<!---->"),A=b.ownerDocument.importNode(x,!0),A.nodeType===ct.element&&A.nodeName==="BODY"||A.nodeName==="HTML"?b=A:b.appendChild(A);else{if(!Ne&&!Be&&!ke&&x.indexOf("<")===-1)return m&&Mt?m.createHTML(x):x;if(b=kr(x),!b)return Ne?null:Mt?E:""}b&&Tu&&se(b.firstChild);const L=wr(ht?x:b);for(;I=L.nextNode();)Sr(I),Ir(I),I.content instanceof i&&u0(I.content);if(ht)return x;if(Ne){if(Rt)for(q=X.call(b.ownerDocument);b.firstChild;)q.appendChild(b.firstChild);else q=b;return(z.shadowroot||z.shadowrootmode)&&(q=ve.call(n,q,!0)),q}let W=ke?b.outerHTML:b.innerHTML;return ke&&P["!doctype"]&&b.ownerDocument&&b.ownerDocument.doctype&&b.ownerDocument.doctype.name&&Y(nr,b.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+b.ownerDocument.doctype.name+`>
|
|
1707
|
-
`+W),Be&&Dt([lt,dt,Le],fe=>{W=ot(W,fe," ")}),m&&Mt?m.createHTML(W):W},t.setConfig=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Lu(x),Su=!0},t.clearConfig=function(){ze=null,Su=!1},t.isValidAttribute=function(x,l,b){ze||Lu({});const A=$(x),I=$(l);return Tr(A,I,b)},t.addHook=function(x,l){typeof l=="function"&&it(B[x],l)},t.removeHook=function(x,l){if(l!==void 0){const b=wa(B[x],l);return b===-1?void 0:Da(B[x],b,1)[0]}return Xn(B[x])},t.removeHooks=function(x){B[x]=[]},t.removeAllHooks=function(){B=ir()},t}var ja=or();const Ft=class Ft extends Xe{constructor(){super(...arguments),this.open=!1,this.message="",this.titleText="Rio Insight",this.buttonLabel="Rio Insight",this.placeholder="Pergunte alguma coisa",this.accentColor="#008B9A",this.apiBaseUrl="",this.rioToken="",this.suggestionsSource="",this.randomizedSuggestions=[],this.messages=[],this.isLoading=!1,this.errorMessage="",this.showConversations=!1,this.conversationSearch="",this.conversationMenuId=null,this.conversationMenuPlacement="below",this.isFullscreen=!1,this.showNewConversationShortcut=!1,this.conversationScrollbar={height:0,top:0,visible:!1},this.conversationHistoryLoading=!1,this.conversationHistoryError="",this.deleteConversationTarget=null,this.renameConversationTarget=null,this.shortAnswerEnabled=!1,this.conversationActionError=null,this.loadingLabelInternal="Rio Insight está respondendo...",this.loadingTimerSlow=null,this.loadingTimerTimeout=null,this.refreshConversationsAfterResponse=!1,this.activeConversationTitle=null,this.headerActions=[],this.homeUrl="",this.pendingConversationAction=null,this.conversationScrollbarRaf=null,this.rioClient=null,this.rioUnsubscribe=null,this.loadingTimer=null,this.currentConversationId=null,this.conversationCounter=0,this.conversationUserId=null,this.conversationScrollbarDraggingId=null,this.conversationScrollbarDragState=null,this.markdownRenderer=new K({html:!1,linkify:!0,breaks:!0}).use(ya),this.conversations=[]}get loadingLabel(){return this.loadingLabelInternal}generateConversationId(){this.conversationUserId||(this.conversationUserId=this.inferUserIdFromToken());const u=`default-${this.conversationUserId??"user"}-${this.randomId(8)}`;return console.info("[RioAssist][conversation] gerando conversationId",u),u}inferUserIdFromToken(){const t=this.rioToken.trim();if(!t||!t.includes("."))return null;const[,u]=t.split(".");try{const n=JSON.parse(atob(u.replace(/-/g,"+").replace(/_/g,"/"))),r=(n==null?void 0:n.userId)??(n==null?void 0:n.user_id)??(n==null?void 0:n.sub)??(n==null?void 0:n.id)??(n==null?void 0:n.email)??(n==null?void 0:n.username);if(r&&typeof r=="string")return r.replace(/[^a-zA-Z0-9_-]/g,"")}catch{return null}return null}randomId(t){const u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";let n="";for(let r=0;r<t;r+=1)n+=u.charAt(Math.floor(Math.random()*u.length));return n}get suggestions(){return this.randomizedSuggestions}parseSuggestions(t){return t?t.split("|").map(u=>u.trim()).filter(Boolean):[]}pickRandomSuggestions(t,u){if(t.length<=u)return[...t];const n=[...t];for(let r=n.length-1;r>0;r-=1){const i=Math.floor(Math.random()*(r+1));[n[r],n[i]]=[n[i],n[r]]}return n.slice(0,u)}willUpdate(t){super.willUpdate(t),t.has("suggestionsSource")&&(this.randomizedSuggestions=this.pickRandomSuggestions(this.parseSuggestions(this.suggestionsSource),3))}updated(t){super.updated(t),this.style.setProperty("--accent-color",this.accentColor),(t.has("isFullscreen")||t.has("showConversations")||t.has("conversations"))&&this.enqueueConversationScrollbarMeasure(),(t.has("messages")||t.has("isLoading")&&this.isLoading||t.has("open")&&this.open||t.has("isFullscreen")&&this.isFullscreen)&&this.scrollConversationToBottom()}firstUpdated(){this.enqueueConversationScrollbarMeasure()}disconnectedCallback(){super.disconnectedCallback(),this.conversationScrollbarRaf!==null&&(cancelAnimationFrame(this.conversationScrollbarRaf),this.conversationScrollbarRaf=null),this.teardownRioClient(),this.clearLoadingGuard()}get filteredConversations(){const t=this.conversationSearch.trim().toLowerCase();return t?this.conversations.filter(u=>u.title.toLowerCase().includes(t)):this.conversations}get hasActiveConversation(){return this.messages.length>0}togglePanel(){if(this.isFullscreen){this.exitFullscreen(!1);return}this.open=!this.open,this.dispatchEvent(new CustomEvent(this.open?"rioassist:open":"rioassist:close",{bubbles:!0,composed:!0}))}closePanel(){this.isFullscreen=!1,this.open&&this.togglePanel()}openConversationsPanel(){this.showConversations=!0,this.requestConversationHistory()}closeConversationsPanel(){this.showConversations=!1,this.conversationMenuId=null}toggleConversationsPanel(){if(this.showConversations=!this.showConversations,!this.showConversations){this.conversationMenuId=null;return}this.requestConversationHistory()}toggleNewConversationShortcut(){this.showNewConversationShortcut=!this.showNewConversationShortcut}toggleShortAnswers(){this.shortAnswerEnabled=!this.shortAnswerEnabled}handleConversationSelect(t){t&&(this.showConversations=!1,this.conversationMenuId=null,this.errorMessage="",this.currentConversationId=t,this.activeConversationTitle=this.lookupConversationTitle(t),console.info("[RioAssist][history] carregando conversa",t),this.requestConversationHistory(t))}handleConversationSearch(t){this.conversationSearch=t.target.value}handleConversationMenuToggle(t,u){if(t.stopPropagation(),this.conversationMenuId===u){this.conversationMenuId=null;return}const n=t.currentTarget,r=this.renderRoot.querySelector(".conversations-panel__surface");if(n&&r){const i=n.getBoundingClientRect(),s=r.getBoundingClientRect().bottom-i.bottom;this.conversationMenuPlacement=s<140?"above":"below"}else this.conversationMenuPlacement="below";this.conversationMenuId=u}handleConversationsPanelPointer(t){const u=t.target;!u.closest(".conversation-menu")&&!u.closest(".conversation-menu-button")&&(this.conversationMenuId=null)}handleConversationAction(t,u){this.conversationMenuId=null;const n=this.conversations.findIndex(i=>i.id===u);if(n===-1)return;const r=this.conversations[n];if(t==="delete"){this.deleteConversationTarget={id:r.id,title:r.title,index:n};return}this.renameConversationTarget={id:r.id,title:r.title,index:n,draft:r.title}}handleHomeNavigation(){const t={url:this.homeUrl||null};this.dispatchEvent(new CustomEvent("rioassist:home",{detail:t,bubbles:!0,composed:!0,cancelable:!0}))&&this.homeUrl&&window.location.assign(this.homeUrl)}applyConversationRename(t,u){if(!t||!u)return;let n=!1;this.conversations=this.conversations.map(r=>r.id===t?(n=!0,{...r,title:u}):r),n&&this.currentConversationId===t&&(this.activeConversationTitle=u)}applyConversationDeletion(t){if(!t)return;const u=this.currentConversationId===t,n=this.conversations.filter(r=>r.id!==t);n.length!==this.conversations.length&&(this.conversations=n,u&&(this.currentConversationId=null,this.activeConversationTitle=null,this.messages=[]))}restoreConversationSnapshot(t,u){if(!t||this.conversations.some(o=>o.id===t.id))return;const r=[...this.conversations],i=u>=0&&u<=r.length?u:r.length;r.splice(i,0,t),this.conversations=r}async confirmDeleteConversation(){const t=this.deleteConversationTarget;if(!t)return;const u=this.conversations[t.index]??this.conversations.find(i=>i.id===t.id)??{id:t.id,title:t.title,updatedAt:new Date().toISOString()},n=this.currentConversationId===t.id;if(this.pendingConversationAction={action:"delete",conversationId:t.id,originalTitle:t.title,index:t.index,snapshot:u,messagesSnapshot:n?[...this.messages]:void 0,wasActive:n},await this.dispatchConversationAction("delete",{id:t.id,title:t.title},t.index)){this.deleteConversationTarget=null;return}this.pendingConversationAction=null}cancelDeleteConversation(){this.deleteConversationTarget=null}handleRenameDraft(t){this.renameConversationTarget&&(this.renameConversationTarget={...this.renameConversationTarget,draft:t.target.value})}async confirmRenameConversation(){const t=this.renameConversationTarget;if(!t)return;const u=t.draft.trim();if(!u)return;if(this.pendingConversationAction={action:"rename",conversationId:t.id,originalTitle:t.title,index:t.index,newTitle:u},await this.dispatchConversationAction("rename",{id:t.id,title:u},t.index,u)){this.renameConversationTarget=null;return}this.pendingConversationAction=null}cancelRenameConversation(){this.renameConversationTarget=null}cancelConversationActionError(){this.conversationActionError=null,this.pendingConversationAction=null}async retryConversationAction(){const t=this.conversationActionError;if(!t)return;const u=typeof t.index=="number"?t.index:this.conversations.findIndex(i=>i.id===t.conversationId),n=u>=0?u:this.conversations.length>0?this.conversations.length-1:0,r=t.snapshot??this.conversations.find(i=>i.id===t.conversationId)??{id:t.conversationId,title:t.originalTitle,updatedAt:new Date().toISOString()};this.pendingConversationAction={action:t.action,conversationId:t.conversationId,originalTitle:t.originalTitle,index:n,newTitle:t.newTitle,snapshot:r,messagesSnapshot:t.messagesSnapshot,wasActive:t.wasActive},this.conversationActionError=null,await this.dispatchConversationAction(t.action,{id:t.conversationId,title:t.newTitle??t.originalTitle},n,t.newTitle)}async dispatchConversationAction(t,u,n,r){const i=t==="rename"?"rioassist:conversation-rename":"rioassist:conversation-delete",o={id:u.id,title:u.title,index:n,action:t};return this.dispatchEvent(new CustomEvent(i,{detail:o,bubbles:!0,composed:!0,cancelable:!0}))?t==="delete"?await this.syncConversationDeleteBackend(u.id):t==="rename"&&r?await this.syncConversationRenameBackend(u.id,r):!1:!1}async syncConversationRenameBackend(t,u){try{return await this.ensureRioClient().renameConversation(t,u),this.applyConversationRename(t,u),this.conversationHistoryError="",!0}catch(n){return console.error("[RioAssist][history] erro ao renomear conversa",n),this.conversationHistoryError=n instanceof Error&&n.message?n.message:"Nao foi possivel renomear a conversa.",!1}}async syncConversationDeleteBackend(t){try{return await this.ensureRioClient().deleteConversation(t),this.applyConversationDeletion(t),this.conversationHistoryError="",!0}catch(u){return console.error("[RioAssist][history] erro ao excluir conversa",u),this.conversationHistoryError=u instanceof Error&&u.message?u.message:"Nao foi possivel excluir a conversa.",!1}}handleConversationSystemAction(t){const u=(t.action??"").toLowerCase();if(u==="conversationrenamed"){const n=t.data,r=this.extractString(n,["conversationId","id"]),i=this.extractString(n,["newTitle","title"]);return r&&i&&(this.applyConversationRename(r,i),this.conversationHistoryError="",this.pendingConversationAction&&this.pendingConversationAction.conversationId===r&&this.pendingConversationAction.action==="rename"&&(this.pendingConversationAction=null,this.conversationActionError=null)),!0}if(u==="conversationdeleted"){const n=t.data,r=this.extractString(n,["conversationId","id"]);return r&&(this.applyConversationDeletion(r),this.conversationHistoryError="",this.pendingConversationAction&&this.pendingConversationAction.conversationId===r&&this.pendingConversationAction.action==="delete"&&(this.pendingConversationAction=null,this.conversationActionError=null)),!0}return u==="processing"}handleConversationActionError(t){if((t.action??"").toLowerCase()!=="error")return!1;const n=t.data,r=this.extractString(n,["error","message","detail","description"])||(typeof t.text=="string"&&t.text.trim()?t.text:"O agente retornou um erro ao processar a conversa."),i=this.pendingConversationAction;return i?(i.action==="rename"&&this.applyConversationRename(i.conversationId,i.originalTitle),i.action==="delete"&&(this.restoreConversationSnapshot(i.snapshot,i.index),i.wasActive&&(this.currentConversationId=i.conversationId,this.activeConversationTitle=i.originalTitle,this.messages=i.messagesSnapshot??this.messages)),this.conversationActionError={...i,message:r},this.pendingConversationAction=null,this.clearLoadingGuard(),this.isLoading=!1,!0):(this.errorMessage=r,this.clearLoadingGuard(),this.isLoading=!1,!0)}shouldIgnoreAssistantPayload(t){if(!t)return!1;const u=t.toLowerCase();return u==="processing"||u==="conversationrenamed"||u==="conversationdeleted"}extractString(t,u){if(!t||typeof t!="object")return null;for(const n of u){const r=t[n];if(typeof r=="string"&&r.trim())return r}return null}handleHeaderActionClick(t,u){const n={index:u,id:t.id??null,ariaLabel:t.ariaLabel??null,iconUrl:t.iconUrl};this.dispatchEvent(new CustomEvent("rioassist:header-action",{detail:n,bubbles:!0,composed:!0,cancelable:!0}))&&typeof t.onClick=="function"&&t.onClick()}handleCloseAction(){if(this.isFullscreen){this.exitFullscreen(!0);return}this.showConversations?this.closeConversationsPanel():this.closePanel()}enterFullscreen(){this.isFullscreen||(this.isFullscreen=!0,this.open=!1,this.showConversations=!1,this.requestConversationHistory())}exitFullscreen(t){this.isFullscreen&&(this.isFullscreen=!1,this.conversationMenuId=null,this.showNewConversationShortcut=!1,t&&(this.open=!0))}handleCreateConversation(){this.hasActiveConversation&&(this.clearLoadingGuard(),this.isLoading=!1,this.messages=[],this.message="",this.errorMessage="",this.showConversations=!1,this.teardownRioClient(),this.currentConversationId=this.generateConversationId(),this.activeConversationTitle=null,this.showNewConversationShortcut=!1,this.dispatchEvent(new CustomEvent("rioassist:new-conversation",{bubbles:!0,composed:!0})))}handleConversationListScroll(t){const u=t.currentTarget;u&&this.updateConversationScrollbar(u)}handleConversationScrollbarPointerDown(t){const u=t.currentTarget,n=this.renderRoot.querySelector(".conversation-list--sidebar");if(!u||!n)return;const r=u.getBoundingClientRect(),i=r.height*(this.conversationScrollbar.height/100),o=Math.max(r.height-i,0),s=Math.max(n.scrollHeight-n.clientHeight,1),a=n.scrollTop/s*o,c=t.clientY-r.top,d=c>=a&&c<=a+i,f=d?a:Math.min(Math.max(c-i/2,0),o);d||(n.scrollTop=f/Math.max(o,1)*(n.scrollHeight-n.clientHeight),this.updateConversationScrollbar(n)),u.setPointerCapture(t.pointerId),this.conversationScrollbarDraggingId=t.pointerId,this.conversationScrollbarDragState={startY:t.clientY,startThumbTop:f,trackHeight:r.height,thumbHeight:i,list:n},t.preventDefault()}handleConversationScrollbarPointerMove(t){if(this.conversationScrollbarDraggingId===null||this.conversationScrollbarDraggingId!==t.pointerId||!this.conversationScrollbarDragState)return;const{startY:u,startThumbTop:n,trackHeight:r,thumbHeight:i,list:o}=this.conversationScrollbarDragState,s=Math.max(r-i,0),a=t.clientY-u,c=Math.min(Math.max(n+a,0),s),d=o.scrollHeight-o.clientHeight;d>0&&(o.scrollTop=c/Math.max(s,1)*d,this.updateConversationScrollbar(o)),t.preventDefault()}handleConversationScrollbarPointerUp(t){if(this.conversationScrollbarDraggingId!==t.pointerId)return;const u=t.currentTarget;u==null||u.releasePointerCapture(t.pointerId),this.conversationScrollbarDraggingId=null,this.conversationScrollbarDragState=null}enqueueConversationScrollbarMeasure(){this.conversationScrollbarRaf===null&&(this.conversationScrollbarRaf=requestAnimationFrame(()=>{this.conversationScrollbarRaf=null,this.updateConversationScrollbar()}))}updateConversationScrollbar(t){const u=t??this.renderRoot.querySelector(".conversation-list--sidebar");if(!u){this.conversationScrollbar.visible&&(this.conversationScrollbar={height:0,top:0,visible:!1});return}const{scrollHeight:n,clientHeight:r,scrollTop:i}=u;if(n<=r+1){this.conversationScrollbar.visible&&(this.conversationScrollbar={height:0,top:0,visible:!1});return}const o=r/n,s=Math.max(o*100,8),a=100-s,c=i/(n-r)*(a>0?a:0);this.conversationScrollbar={height:s,top:c,visible:!0}}async onSuggestionClick(t){await this.processMessage(t)}async handleSubmit(t){t.preventDefault(),await this.processMessage(this.message)}createMessage(t,u){return{id:typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random()}`,role:t,text:u,html:this.renderMarkdown(u),timestamp:Date.now()}}async processMessage(t){const u=t.trim();if(!u||this.isLoading)return;const n=this.shortAnswerEnabled?`Quero uma resposta curta sobre: ${u}`:u,r=u;this.currentConversationId||(this.currentConversationId=this.generateConversationId(),this.activeConversationTitle=null);const i=this.messages.length===0;this.dispatchEvent(new CustomEvent("rioassist:send",{detail:{message:u,apiBaseUrl:this.apiBaseUrl,token:this.rioToken},bubbles:!0,composed:!0}));const o=this.createMessage("user",r);this.messages=[...this.messages,o],i&&(this.showNewConversationShortcut=!0,this.refreshConversationsAfterResponse=!0),this.message="",this.errorMessage="",this.isLoading=!0,this.startLoadingGuard();try{await this.ensureRioClient().sendMessage(n,this.currentConversationId)}catch(s){this.clearLoadingGuard(),this.isLoading=!1,this.errorMessage=s instanceof Error?s.message:"Nao foi possivel enviar a mensagem para o agente."}}ensureRioClient(){const t=this.rioToken.trim();if(!t)throw new Error("Informe o token RIO em data-rio-token para conectar no websocket do assistente.");return(!this.rioClient||!this.rioClient.matchesToken(t))&&(this.teardownRioClient(),this.rioClient=new Ri(t),this.rioUnsubscribe=this.rioClient.onMessage(u=>{this.handleIncomingMessage(u)})),this.rioClient}handleIncomingMessage(t){if(this.isHistoryPayload(t)){this.logHistoryPayload(t),this.handleHistoryPayload(t.data);return}if(this.handleConversationSystemAction(t)||this.handleConversationActionError(t)||this.shouldIgnoreAssistantPayload(t.action))return;if(console.info("[RioAssist][ws] resposta de mensagem recebida",{action:t.action??"message",text:t.text,raw:t.raw,data:t.data}),t.action==="processing"){console.info("[RioAssist][ws] processando mensagem - aguardando resposta final");return}const u=this.createMessage("assistant",t.text);this.messages=[...this.messages,u],this.clearLoadingGuard(),this.isLoading=!1,this.refreshConversationsAfterResponse&&(this.refreshConversationsAfterResponse=!1,this.requestConversationHistory())}teardownRioClient(){this.rioUnsubscribe&&(this.rioUnsubscribe(),this.rioUnsubscribe=null),this.rioClient&&(this.rioClient.close(),this.rioClient=null)}async requestConversationHistory(t){try{const u=this.ensureRioClient(),n=50;console.info("[RioAssist][history] solicitando historico de conversas",{conversationId:t??null,limit:n}),this.conversationHistoryError="",this.conversationHistoryLoading=!0,await u.requestHistory({conversationId:t,limit:n})}catch(u){console.error("[RioAssist][history] erro ao solicitar historico",u),this.conversationHistoryError=u instanceof Error&&u.message?u.message:"Nao foi possivel carregar as conversas.",this.conversationHistoryLoading=!1}}handleHistoryPayload(t){const u=this.extractHistoryEntries(t),n=this.extractConversationId(t);if(n!=null){this.applyMessageHistory(u,n);return}if(this.isMessageHistoryEntries(u)){this.applyMessageHistory(u);return}this.applyConversationHistoryFromEntries(u),this.refreshConversationsAfterResponse&&(this.refreshConversationsAfterResponse=!1)}isHistoryPayload(t){if(typeof t.action=="string"&&t.action.toLowerCase().includes("history"))return!0;const u=t.data;if(u&&typeof u=="object"){const n=u.action;if(typeof n=="string"&&n.toLowerCase().includes("history")||Array.isArray(u.history)||Array.isArray(u.conversations))return!0}return!1}logHistoryPayload(t){const u="[RioAssist][history] payload recebido do websocket";if(t.data!==null&&t.data!==void 0){console.info(u,t.data);return}console.info(u,t.raw)}applyConversationHistoryFromEntries(t){if(t.length===0){console.info("[RioAssist][history] payload sem itens para montar lista de conversas"),this.conversations=[],this.conversationHistoryLoading=!1,this.conversationHistoryError="";return}const u=new Map;t.forEach((r,i)=>{if(!r||typeof r!="object")return;const o=this.normalizeConversationItem(r,i);if(!o)return;const s=u.get(o.id);if(!s){u.set(o.id,o);return}const a=Date.parse(s.updatedAt),c=Date.parse(o.updatedAt);Number.isFinite(c)&&c>a&&u.set(o.id,o)});const n=Array.from(u.values()).sort((r,i)=>{const o=Date.parse(i.updatedAt)-Date.parse(r.updatedAt);return Number.isFinite(o)?o:0});this.conversations=n,this.conversationHistoryLoading=!1,this.conversationHistoryError="",this.syncActiveConversationTitle(),console.info("[RioAssist][history] conversas normalizadas",n)}applyMessageHistory(t,u){if(t.length===0){console.info("[RioAssist][history] lista de mensagens vazia",{conversationId:u}),this.messages=[],this.showConversations=!1,this.clearLoadingGuard(),this.isLoading=!1,this.conversationHistoryLoading=!1;return}const n=t.flatMap((r,i)=>this.normalizeHistoryMessages(r,i));u&&(this.currentConversationId=u),this.messages=n,this.showConversations=!1,this.clearLoadingGuard(),this.isLoading=!1,this.showNewConversationShortcut=n.length>0,this.conversationHistoryLoading=!1,this.refreshConversationsAfterResponse=!1,console.info("[RioAssist][history] mensagens carregadas",{conversationId:u??null,total:n.length})}extractHistoryEntries(t){if(Array.isArray(t))return t;if(t&&typeof t=="object"){const u=t,n=[u.history,u.conversations,u.data,u.items,u.messages];for(const r of n)if(Array.isArray(r))return r;if(u.data&&typeof u.data=="object"&&!Array.isArray(u.data)){const r=this.extractHistoryEntries(u.data);if(r.length>0)return r}}return[]}extractConversationId(t){if(t&&typeof t=="object"){const u=t,n=[u.conversationId,u.conversationUUID,u.conversationUuid,u.uuid,u.id];for(const r of n){if(r===null)return null;if(r!==void 0)return String(r)}}}isMessageHistoryEntries(t){return t.some(u=>this.looksLikeMessageHistoryEntry(u))}looksLikeMessageHistoryEntry(t){if(!t||typeof t!="object")return!1;const u=t,n=u.role??u.sender??u.from??u.author??u.type;return!!(typeof n=="string"&&n.trim().length>0||typeof u.content=="string"||typeof u.message=="string"||typeof u.text=="string"||typeof u.response=="string"||Array.isArray(u.parts)&&u.parts.length>0)}normalizeConversationItem(t,u){const n=t.id??t.conversationId??t.conversationUUID??t.conversationUuid??t.uuid,r=n!=null?String(n):`history-${u+1}`,i=t.title??t.name??t.topic??t.subject??t.question??t.query??t.message,o=typeof i=="string"&&i.trim().length>0?i.trim():`Conversa ${u+1}`,s=t.updatedAt??t.updated_at??t.lastMessageAt??t.last_message_at??t.createdAt??t.created_at??t.timestamp??t.date,a=this.toIsoString(s);return{id:r,title:o,updatedAt:a}}normalizeHistoryMessages(t,u){const n=[],r=t.message??t.question??t.query??t.text??t.content,i=typeof r=="string"?r.trim():"",o=t.response??t.answer??t.reply??t.completion??t.body??t.preview,s=typeof o=="string"?o.trim():"",a=t.id??t.messageId??t.uuid??t.conversationMessageId,c=a!=null?String(a):`history-${u+1}`,d=t.timestamp??t.createdAt??t.created_at??t.date??t.time,f=t.responseTimestamp??t.responseTime??t.responseDate??t.response_at??t.updatedAt??t.updated_at,g=this.parseTimestamp(d),p=this.parseTimestamp(f,g+1);if(s)i&&n.push({id:`${c}-user`,role:"user",text:i,html:this.renderMarkdown(i),timestamp:g}),n.push({id:`${c}-assistant`,role:"assistant",text:s,html:this.renderMarkdown(s),timestamp:p});else if(i)return[];if(n.length>0)return n;const h=this.normalizeSingleHistoryMessage(t,u);return h?[h]:[]}normalizeSingleHistoryMessage(t,u){const n=t.text??t.message??t.content??t.response??t.body??t.preview,r=typeof n=="string"&&n.trim().length>0?n:"";if(!r)return null;const i=this.normalizeRole(t.role??t.sender??t.from??t.author??t.type??t.direction),o=t.id??t.messageId??t.uuid??t.conversationMessageId,s=o!=null?String(o):`history-message-${u+1}`,a=t.timestamp??t.createdAt??t.created_at??t.updatedAt??t.updated_at??t.date??t.time,c=this.parseTimestamp(a);return{id:s,role:i,text:r,html:this.renderMarkdown(r),timestamp:c}}normalizeRole(t){if(typeof t=="string"){const u=t.toLowerCase();if(u.includes("user")||u.includes("client"))return"user";if(u.includes("assistant")||u.includes("agent")||u.includes("bot"))return"assistant"}return"assistant"}parseTimestamp(t,u){const n=Date.parse(this.toIsoString(t));return Number.isFinite(n)?n:Number.isFinite(u??NaN)?u:Date.now()}lookupConversationTitle(t){if(!t)return null;const u=this.conversations.find(n=>n.id===t);return u?u.title:null}syncActiveConversationTitle(){if(!this.currentConversationId)return;const t=this.lookupConversationTitle(this.currentConversationId);t&&(this.activeConversationTitle=t)}toIsoString(t){if(typeof t=="string"||typeof t=="number"){const u=new Date(t);if(!Number.isNaN(u.getTime()))return u.toISOString()}return new Date().toISOString()}startLoadingGuard(){this.clearLoadingGuard(),this.loadingLabelInternal="RIO Insight está respondendo",this.loadingTimerSlow=window.setTimeout(()=>{this.loadingLabelInternal="RIO Insight continua respondendo",this.requestUpdate()},2e4),this.loadingTimerTimeout=window.setTimeout(()=>{this.loadingLabelInternal="RIO Insight ainda está processando sua resposta. Peço que aguarde um pouco mais",this.requestUpdate()},6e4),this.loadingTimerTimeout=window.setTimeout(()=>{this.loadingLabelInternal="Essa solicitação está demorando um pouco mais que o esperado. Pode favor, aguarde mais um pouco",this.requestUpdate()},12e4)}clearLoadingGuard(){this.loadingTimer!==null&&(window.clearTimeout(this.loadingTimer),this.loadingTimer=null),this.loadingTimerSlow!==null&&(window.clearTimeout(this.loadingTimerSlow),this.loadingTimerSlow=null),this.loadingTimerTimeout!==null&&(window.clearTimeout(this.loadingTimerTimeout),this.loadingTimerTimeout=null)}scrollConversationToBottom(){Array.from(this.renderRoot.querySelectorAll(".panel-content")).forEach(u=>{requestAnimationFrame(()=>{u.scrollTop=u.scrollHeight})})}renderMarkdown(t){const u=this.markdownRenderer.render(t),n=ja.sanitize(u,{ALLOWED_TAGS:["a","p","ul","ol","li","code","pre","strong","em","blockquote","table","thead","tbody","tr","th","td","del","hr","br","img","span","input"],ALLOWED_ATTR:["href","title","target","rel","src","alt","class","type","checked","disabled","aria-label"],ALLOW_DATA_ATTR:!1,FORBID_TAGS:["style","script"],USE_PROFILES:{html:!0}}),r=document.createElement("div");return r.innerHTML=n,r.querySelectorAll("a").forEach(i=>{i.setAttribute("target","_blank"),i.setAttribute("rel","noopener noreferrer")}),r.querySelectorAll('input[type="checkbox"]').forEach(i=>{i.setAttribute("disabled",""),i.setAttribute("tabindex","-1")}),r.innerHTML}render(){return Ti(this)}};Ft.styles=ni,Ft.properties={open:{type:Boolean,state:!0},message:{type:String,state:!0},titleText:{type:String,attribute:"data-title"},buttonLabel:{type:String,attribute:"data-button-label"},placeholder:{type:String,attribute:"data-placeholder"},accentColor:{type:String,attribute:"data-accent-color"},apiBaseUrl:{type:String,attribute:"data-api-base-url"},rioToken:{type:String,attribute:"data-rio-token"},suggestionsSource:{type:String,attribute:"data-suggestions"},messages:{state:!0},isLoading:{type:Boolean,state:!0},errorMessage:{type:String,state:!0},showConversations:{type:Boolean,state:!0},conversationSearch:{type:String,state:!0},conversationMenuId:{state:!0},conversationMenuPlacement:{state:!0},isFullscreen:{type:Boolean,state:!0},conversationScrollbar:{state:!0},showNewConversationShortcut:{type:Boolean,state:!0},conversations:{state:!0},conversationHistoryLoading:{type:Boolean,state:!0},activeConversationTitle:{state:!0},conversationHistoryError:{type:String,state:!0},deleteConversationTarget:{attribute:!1},renameConversationTarget:{attribute:!1},shortAnswerEnabled:{type:Boolean,state:!0},conversationActionError:{attribute:!1},headerActions:{attribute:!1},homeUrl:{type:String,attribute:"data-home-url"}};let vu=Ft;customElements.get("rio-assist-widget")||customElements.define("rio-assist-widget",vu);const Ya={title:"Rio Insight",buttonLabel:"Rio Insight",placeholder:"Pergunte alguma coisa",suggestions:["Resumo da Frota","Frota Disponível","Chamados Abertos","Parados + Causas","Aguardando Peças","Principais Gargalos","Tempo por Concessionária","Tempo de Ciclo","Preventiva x Corretiva"],accentColor:"#008B9A",apiBaseUrl:"",rioToken:""},sr="rio-assist-widget";function Qa(e={}){const{target:t=document.body,...u}=e;let n=document.querySelector(sr);n||(n=document.createElement(sr),t.appendChild(n));const r={...Ya,...u};Object.entries(r).forEach(([i,o])=>{o!==void 0&&(n==null||n.setAttribute(`data-${i.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}`,Array.isArray(o)?o.join("|"):String(o)))})}typeof window<"u"&&(window.RioAssist=window.RioAssist??{init:Qa},window.dispatchEvent(new Event("rio-assist-ready")))})();
|
|
1781
|
+
`;break}return n},Ie.prototype.render=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const s=e[i].type;s==="inline"?n+=this.renderInline(e[i].children,t,u):typeof r[s]<"u"?n+=r[s](e,i,t,u,this):n+=this.renderToken(e,i,t,u)}return n};function G(){this.__rules__=[],this.__cache__=null}G.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},G.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(u){u.enabled&&u.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(u){e.__cache__[u]=[],e.__rules__.forEach(function(n){n.enabled&&(u&&n.alt.indexOf(u)<0||e.__cache__[u].push(n.fn))})})},G.prototype.at=function(e,t,u){const n=this.__find__(e),r=u||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null},G.prototype.before=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null},G.prototype.after=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null},G.prototype.push=function(e,t,u){const n=u||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},G.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,u.push(n)},this),this.__cache__=null,u},G.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(u){u.enabled=!1}),this.enable(e,t)},G.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,u.push(n)},this),this.__cache__=null,u},G.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function ee(e,t,u){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}ee.prototype.attrIndex=function(t){if(!this.attrs)return-1;const u=this.attrs;for(let n=0,r=u.length;n<r;n++)if(u[n][0]===t)return n;return-1},ee.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},ee.prototype.attrSet=function(t,u){const n=this.attrIndex(t),r=[t,u];n<0?this.attrPush(r):this.attrs[n]=r},ee.prototype.attrGet=function(t){const u=this.attrIndex(t);let n=null;return u>=0&&(n=this.attrs[u][1]),n},ee.prototype.attrJoin=function(t,u){const n=this.attrIndex(t);n<0?this.attrPush([t,u]):this.attrs[n][1]=this.attrs[n][1]+" "+u};function xn(e,t,u){this.src=e,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=t}xn.prototype.Token=ee;const wo=/\r\n?|\n/g,Do=/\0/g;function So(e){let t;t=e.src.replace(wo,`
|
|
1782
|
+
`),t=t.replace(Do,"�"),e.src=t}function To(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Fo(e){const t=e.tokens;for(let u=0,n=t.length;u<n;u++){const r=t[u];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Io(e){return/^<a[>\s]/i.test(e)}function Ro(e){return/^<\/a\s*>/i.test(e)}function Mo(e){const t=e.tokens;if(e.md.options.linkify)for(let u=0,n=t.length;u<n;u++){if(t[u].type!=="inline"||!e.md.linkify.pretest(t[u].content))continue;let r=t[u].children,i=0;for(let o=r.length-1;o>=0;o--){const s=r[o];if(s.type==="link_close"){for(o--;r[o].level!==s.level&&r[o].type!=="link_open";)o--;continue}if(s.type==="html_inline"&&(Io(s.content)&&i>0&&i--,Ro(s.content)&&i++),!(i>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const a=s.content;let c=e.md.linkify.match(a);const d=[];let f=s.level,g=0;c.length>0&&c[0].index===0&&o>0&&r[o-1].type==="text_special"&&(c=c.slice(1));for(let p=0;p<c.length;p++){const h=c[p].url,v=e.md.normalizeLink(h);if(!e.md.validateLink(v))continue;let w=c[p].text;c[p].schema?c[p].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,"");const T=c[p].index;if(T>g){const E=new e.Token("text","",0);E.content=a.slice(g,T),E.level=f,d.push(E)}const y=new e.Token("link_open","a",1);y.attrs=[["href",v]],y.level=f++,y.markup="linkify",y.info="auto",d.push(y);const C=new e.Token("text","",0);C.content=w,C.level=f,d.push(C);const m=new e.Token("link_close","a",-1);m.level=--f,m.markup="linkify",m.info="auto",d.push(m),g=c[p].lastIndex}if(g<a.length){const p=new e.Token("text","",0);p.content=a.slice(g),p.level=f,d.push(p)}t[u].children=r=mn(r,o,d)}}}}const _n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Bo=/\((c|tm|r)\)/i,Uo=/\((c|tm|r)\)/ig,Lo={c:"©",r:"®",tm:"™"};function No(e,t){return Lo[t.toLowerCase()]}function Oo(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&(n.content=n.content.replace(Uo,No)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Po(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&_n.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function $o(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Bo.test(e.tokens[t].content)&&Oo(e.tokens[t].children),_n.test(e.tokens[t].content)&&Po(e.tokens[t].children))}const zo=/['"]/,Cn=/['"]/g,yn="’";function yt(e,t,u){return e.slice(0,t)+u+e.slice(t+1)}function Ho(e,t){let u;const n=[];for(let r=0;r<e.length;r++){const i=e[r],o=e[r].level;for(u=n.length-1;u>=0&&!(n[u].level<=o);u--);if(n.length=u+1,i.type!=="text")continue;let s=i.content,a=0,c=s.length;e:for(;a<c;){Cn.lastIndex=a;const d=Cn.exec(s);if(!d)break;let f=!0,g=!0;a=d.index+1;const p=d[0]==="'";let h=32;if(d.index-1>=0)h=s.charCodeAt(d.index-1);else for(u=r-1;u>=0&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u--)if(e[u].content){h=e[u].content.charCodeAt(e[u].content.length-1);break}let v=32;if(a<c)v=s.charCodeAt(a);else for(u=r+1;u<e.length&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u++)if(e[u].content){v=e[u].content.charCodeAt(0);break}const w=tt(h)||et(String.fromCharCode(h)),T=tt(v)||et(String.fromCharCode(v)),y=Je(h),C=Je(v);if(C?f=!1:T&&(y||w||(f=!1)),y?g=!1:w&&(C||T||(g=!1)),v===34&&d[0]==='"'&&h>=48&&h<=57&&(g=f=!1),f&&g&&(f=w,g=T),!f&&!g){p&&(i.content=yt(i.content,d.index,yn));continue}if(g)for(u=n.length-1;u>=0;u--){let m=n[u];if(n[u].level<o)break;if(m.single===p&&n[u].level===o){m=n[u];let E,D;p?(E=t.md.options.quotes[2],D=t.md.options.quotes[3]):(E=t.md.options.quotes[0],D=t.md.options.quotes[1]),i.content=yt(i.content,d.index,D),e[m.token].content=yt(e[m.token].content,m.pos,E),a+=D.length-1,m.token===r&&(a+=E.length-1),s=i.content,c=s.length,n.length=u;continue e}}f?n.push({token:r,pos:d.index,single:p,level:o}):g&&p&&(i.content=yt(i.content,d.index,yn))}}}function qo(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!zo.test(e.tokens[t].content)||Ho(e.tokens[t].children,e)}function jo(e){let t,u;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const o=n[i].children,s=o.length;for(t=0;t<s;t++)o[t].type==="text_special"&&(o[t].type="text");for(t=u=0;t<s;t++)o[t].type==="text"&&t+1<s&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==u&&(o[u]=o[t]),u++);t!==u&&(o.length=u)}}const nu=[["normalize",So],["block",To],["inline",Fo],["linkify",Mo],["replacements",$o],["smartquotes",qo],["text_join",jo]];function ru(){this.ruler=new G;for(let e=0;e<nu.length;e++)this.ruler.push(nu[e][0],nu[e][1])}ru.prototype.process=function(e){const t=this.ruler.getRules("");for(let u=0,n=t.length;u<n;u++)t[u](e)},ru.prototype.State=xn;function ne(e,t,u,n){this.src=e,this.md=t,this.env=u,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;const r=this.src;for(let i=0,o=0,s=0,a=0,c=r.length,d=!1;o<c;o++){const f=r.charCodeAt(o);if(!d)if(F(f)){s++,f===9?a+=4-a%4:a++;continue}else d=!0;(f===10||o===c-1)&&(f!==10&&o++,this.bMarks.push(i),this.eMarks.push(o),this.tShift.push(s),this.sCount.push(a),this.bsCount.push(0),d=!1,s=0,a=0,i=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ne.prototype.push=function(e,t,u){const n=new ee(e,t,u);return n.block=!0,u<0&&this.level--,n.level=this.level,u>0&&this.level++,this.tokens.push(n),n},ne.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},ne.prototype.skipEmptyLines=function(t){for(let u=this.lineMax;t<u&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},ne.prototype.skipSpaces=function(t){for(let u=this.src.length;t<u;t++){const n=this.src.charCodeAt(t);if(!F(n))break}return t},ne.prototype.skipSpacesBack=function(t,u){if(t<=u)return t;for(;t>u;)if(!F(this.src.charCodeAt(--t)))return t+1;return t},ne.prototype.skipChars=function(t,u){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===u;t++);return t},ne.prototype.skipCharsBack=function(t,u,n){if(t<=n)return t;for(;t>n;)if(u!==this.src.charCodeAt(--t))return t+1;return t},ne.prototype.getLines=function(t,u,n,r){if(t>=u)return"";const i=new Array(u-t);for(let o=0,s=t;s<u;s++,o++){let a=0;const c=this.bMarks[s];let d=c,f;for(s+1<u||r?f=this.eMarks[s]+1:f=this.eMarks[s];d<f&&a<n;){const g=this.src.charCodeAt(d);if(F(g))g===9?a+=4-(a+this.bsCount[s])%4:a++;else if(d-c<this.tShift[s])a++;else break;d++}a>n?i[o]=new Array(a-n+1).join(" ")+this.src.slice(d,f):i[o]=this.src.slice(d,f)}return i.join("")},ne.prototype.Token=ee;const Yo=65536;function iu(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(u,n)}function En(e){const t=[],u=e.length;let n=0,r=e.charCodeAt(n),i=!1,o=0,s="";for(;n<u;)r===124&&(i?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s="",o=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(s+e.substring(o)),t}function Qo(e,t,u,n){if(t+2>u)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58||i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58&&!F(s)||o===45&&F(s))return!1;for(;i<e.eMarks[r];){const m=e.src.charCodeAt(i);if(m!==124&&m!==45&&m!==58&&!F(m))return!1;i++}let a=iu(e,t+1),c=a.split("|");const d=[];for(let m=0;m<c.length;m++){const E=c[m].trim();if(!E){if(m===0||m===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;E.charCodeAt(E.length-1)===58?d.push(E.charCodeAt(0)===58?"center":"right"):E.charCodeAt(0)===58?d.push("left"):d.push("")}if(a=iu(e,t).trim(),a.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=En(a),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==d.length)return!1;if(n)return!0;const g=e.parentType;e.parentType="table";const p=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),v=[t,0];h.map=v;const w=e.push("thead_open","thead",1);w.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let m=0;m<c.length;m++){const E=e.push("th_open","th",1);d[m]&&(E.attrs=[["style","text-align:"+d[m]]]);const D=e.push("inline","",0);D.content=c[m].trim(),D.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y,C=0;for(r=t+2;r<u&&!(e.sCount[r]<e.blkIndent);r++){let m=!1;for(let D=0,U=p.length;D<U;D++)if(p[D](e,r,u,!0)){m=!0;break}if(m||(a=iu(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(c=En(a),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),C+=f-c.length,C>Yo))break;if(r===t+2){const D=e.push("tbody_open","tbody",1);D.map=y=[t+2,0]}const E=e.push("tr_open","tr",1);E.map=[r,r+1];for(let D=0;D<f;D++){const U=e.push("td_open","td",1);d[D]&&(U.attrs=[["style","text-align:"+d[D]]]);const X=e.push("inline","",0);X.content=c[D]?c[D].trim():"",X.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return y&&(e.push("tbody_close","tbody",-1),y[1]=r),e.push("table_close","table",-1),v[1]=r,e.parentType=g,e.line=r,!0}function Vo(e,t,u){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,r=n;for(;n<u;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
1783
|
+
`,i.map=[t,e.line],!0}function Go(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let s=r;r=e.skipChars(r,o);let a=r-s;if(a<3)return!1;const c=e.src.slice(s,r),d=e.src.slice(r,i);if(o===96&&d.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let f=t,g=!1;for(;f++,!(f>=u||(r=s=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===o&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,o),!(r-s<a)&&(r=e.skipSpaces(r),!(r<i)))){g=!0;break}a=e.sCount[t],e.line=f+(g?1:0);const p=e.push("fence","code",0);return p.info=d,p.content=e.getLines(t+1,f,a,!0),p.markup=c,p.map=[t,e.line],!0}function Wo(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const s=[],a=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let p=!1,h;for(h=t;h<u;h++){const C=e.sCount[h]<e.blkIndent;if(r=e.bMarks[h]+e.tShift[h],i=e.eMarks[h],r>=i)break;if(e.src.charCodeAt(r++)===62&&!C){let E=e.sCount[h]+1,D,U;e.src.charCodeAt(r)===32?(r++,E++,U=!1,D=!0):e.src.charCodeAt(r)===9?(D=!0,(e.bsCount[h]+E)%4===3?(r++,E++,U=!1):U=!0):D=!1;let X=E;for(s.push(e.bMarks[h]),e.bMarks[h]=r;r<i;){const oe=e.src.charCodeAt(r);if(F(oe))oe===9?X+=4-(X+e.bsCount[h]+(U?1:0))%4:X++;else break;r++}p=r>=i,a.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(D?1:0),c.push(e.sCount[h]),e.sCount[h]=X-E,d.push(e.tShift[h]),e.tShift[h]=r-e.bMarks[h];continue}if(p)break;let m=!1;for(let E=0,D=f.length;E<D;E++)if(f[E](e,h,u,!0)){m=!0;break}if(m){e.lineMax=h,e.blkIndent!==0&&(s.push(e.bMarks[h]),a.push(e.bsCount[h]),d.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}s.push(e.bMarks[h]),a.push(e.bsCount[h]),d.push(e.tShift[h]),c.push(e.sCount[h]),e.sCount[h]=-1}const v=e.blkIndent;e.blkIndent=0;const w=e.push("blockquote_open","blockquote",1);w.markup=">";const T=[t,0];w.map=T,e.md.block.tokenize(e,t,h);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=o,e.parentType=g,T[1]=e.line;for(let C=0;C<d.length;C++)e.bMarks[C+t]=s[C],e.tShift[C+t]=d[C],e.sCount[C+t]=c[C],e.bsCount[C+t]=a[C];return e.blkIndent=v,!0}function Zo(e,t,u,n){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(i++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;i<r;){const c=e.src.charCodeAt(i++);if(c!==o&&!F(c))return!1;c===o&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(s+1).join(String.fromCharCode(o)),!0}function vn(e,t){const u=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<u){const i=e.src.charCodeAt(n);if(!F(i))return-1}return n}function kn(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let r=u;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-u>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!F(i))?-1:r}function Xo(e,t){const u=e.level+2;for(let n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===u&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Ko(e,t,u,n){let r,i,o,s,a=t,c=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let d=!1;n&&e.parentType==="paragraph"&&e.sCount[a]>=e.blkIndent&&(d=!0);let f,g,p;if((p=kn(e,a))>=0){if(f=!0,o=e.bMarks[a]+e.tShift[a],g=Number(e.src.slice(o,p-1)),d&&g!==1)return!1}else if((p=vn(e,a))>=0)f=!1;else return!1;if(d&&e.skipSpaces(p)>=e.eMarks[a])return!1;if(n)return!0;const h=e.src.charCodeAt(p-1),v=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),g!==1&&(s.attrs=[["start",g]])):s=e.push("bullet_list_open","ul",1);const w=[a,0];s.map=w,s.markup=String.fromCharCode(h);let T=!1;const y=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";a<u;){i=p,r=e.eMarks[a];const m=e.sCount[a]+p-(e.bMarks[a]+e.tShift[a]);let E=m;for(;i<r;){const xe=e.src.charCodeAt(i);if(xe===9)E+=4-(E+e.bsCount[a])%4;else if(xe===32)E++;else break;i++}const D=i;let U;D>=r?U=1:U=E-m,U>4&&(U=1);const X=m+U;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(h);const oe=[a,0];s.map=oe,f&&(s.info=e.src.slice(o,p-1));const ve=e.tight,L=e.tShift[a],lt=e.sCount[a],dt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=X,e.tight=!0,e.tShift[a]=D-e.bMarks[a],e.sCount[a]=E,D>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,u):e.md.block.tokenize(e,a,u,!0),(!e.tight||T)&&(c=!1),T=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=dt,e.tShift[a]=L,e.sCount[a]=lt,e.tight=ve,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),a=e.line,oe[1]=a,a>=u||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let Be=!1;for(let xe=0,ku=y.length;xe<ku;xe++)if(y[xe](e,a,u,!0)){Be=!0;break}if(Be)break;if(f){if(p=kn(e,a),p<0)break;o=e.bMarks[a]+e.tShift[a]}else if(p=vn(e,a),p<0)break;if(h!==e.src.charCodeAt(p-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),w[1]=a,e.line=a,e.parentType=C,c&&Xo(e,v),!0}function Jo(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function s(y){const C=e.lineMax;if(y>=C||e.isEmpty(y))return null;let m=!1;if(e.sCount[y]-e.blkIndent>3&&(m=!0),e.sCount[y]<0&&(m=!0),!m){const U=e.md.block.ruler.getRules("reference"),X=e.parentType;e.parentType="reference";let oe=!1;for(let ve=0,L=U.length;ve<L;ve++)if(U[ve](e,y,C,!0)){oe=!0;break}if(e.parentType=X,oe)return null}const E=e.bMarks[y]+e.tShift[y],D=e.eMarks[y];return e.src.slice(E,D+1)}let a=e.src.slice(r,i+1);i=a.length;let c=-1;for(r=1;r<i;r++){const y=a.charCodeAt(r);if(y===91)return!1;if(y===93){c=r;break}else if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(y===92&&(r++,r<i&&a.charCodeAt(r)===10)){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}}if(c<0||a.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<i;r++){const y=a.charCodeAt(r);if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(!F(y))break}const d=e.md.helpers.parseLinkDestination(a,r,i);if(!d.ok)return!1;const f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;r=d.pos;const g=r,p=o,h=r;for(;r<i;r++){const y=a.charCodeAt(r);if(y===10){const C=s(o);C!==null&&(a+=C,i=a.length,o++)}else if(!F(y))break}let v=e.md.helpers.parseLinkTitle(a,r,i);for(;v.can_continue;){const y=s(o);if(y===null)break;a+=y,r=i,i=a.length,o++,v=e.md.helpers.parseLinkTitle(a,r,i,v)}let w;for(r<i&&h!==r&&v.ok?(w=v.str,r=v.pos):(w="",r=g,o=p);r<i;){const y=a.charCodeAt(r);if(!F(y))break;r++}if(r<i&&a.charCodeAt(r)!==10&&w)for(w="",r=g,o=p;r<i;){const y=a.charCodeAt(r);if(!F(y))break;r++}if(r<i&&a.charCodeAt(r)!==10)return!1;const T=Ct(a.slice(1,c));return T?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:w,href:f}),e.line=o),!0):!1}const es=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ts="[a-zA-Z_:][a-zA-Z0-9:._-]*",us="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",wn="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+ts+"(?:\\s*=\\s*"+us+")?)")+"*\\s*\\/?>",Dn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ns="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",rs="<[?][\\s\\S]*?[?]>",is="<![A-Za-z][^>]*>",os="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",ss=new RegExp("^(?:"+wn+"|"+Dn+"|"+ns+"|"+rs+"|"+is+"|"+os+")"),as=new RegExp("^(?:"+wn+"|"+Dn+")"),Re=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+es.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(as.source+"\\s*$"),/^$/,!1]];function cs(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,i),s=0;for(;s<Re.length&&!Re[s][0].test(o);s++);if(s===Re.length)return!1;if(n)return Re[s][2];let a=t+1;if(!Re[s][1].test(o)){for(;a<u&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],i=e.eMarks[a],o=e.src.slice(r,i),Re[s][1].test(o)){o.length!==0&&a++;break}}e.line=a;const c=e.push("html_block","",0);return c.map=[t,a],c.content=e.getLines(t,a,e.blkIndent,!0),!0}function ls(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=i)return!1;let s=1;for(o=e.src.charCodeAt(++r);o===35&&r<i&&s<=6;)s++,o=e.src.charCodeAt(++r);if(s>6||r<i&&!F(o))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const a=e.skipCharsBack(i,35,r);a>r&&F(e.src.charCodeAt(a-1))&&(i=a),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const d=e.push("inline","",0);d.content=e.src.slice(r,i).trim(),d.map=[t,e.line],d.children=[];const f=e.push("heading_close","h"+String(s),-1);return f.markup="########".slice(0,s),!0}function ds(e,t,u){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,o,s=t+1;for(;s<u&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let p=e.bMarks[s]+e.tShift[s];const h=e.eMarks[s];if(p<h&&(o=e.src.charCodeAt(p),(o===45||o===61)&&(p=e.skipChars(p,o),p=e.skipSpaces(p),p>=h))){i=o===61?1:2;break}}if(e.sCount[s]<0)continue;let g=!1;for(let p=0,h=n.length;p<h;p++)if(n[p](e,s,u,!0)){g=!0;break}if(g)break}if(!i)return!1;const a=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(i),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const d=e.push("inline","",0);d.content=a,d.map=[t,e.line-1],d.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(o),e.parentType=r,!0}function fs(e,t,u){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<u&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let c=!1;for(let d=0,f=n.length;d<f;d++)if(n[d](e,i,u,!0)){c=!0;break}if(c)break}const o=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const a=e.push("inline","",0);return a.content=o,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Et=[["table",Qo,["paragraph","reference"]],["code",Vo],["fence",Go,["paragraph","reference","blockquote","list"]],["blockquote",Wo,["paragraph","reference","blockquote","list"]],["hr",Zo,["paragraph","reference","blockquote","list"]],["list",Ko,["paragraph","reference","blockquote"]],["reference",Jo],["html_block",cs,["paragraph","reference","blockquote"]],["heading",ls,["paragraph","reference","blockquote"]],["lheading",ds],["paragraph",fs]];function vt(){this.ruler=new G;for(let e=0;e<Et.length;e++)this.ruler.push(Et[e][0],Et[e][1],{alt:(Et[e][2]||[]).slice()})}vt.prototype.tokenize=function(e,t,u){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let o=t,s=!1;for(;o<u&&(e.line=o=e.skipEmptyLines(o),!(o>=u||e.sCount[o]<e.blkIndent));){if(e.level>=i){e.line=u;break}const a=e.line;let c=!1;for(let d=0;d<r;d++)if(c=n[d](e,o,u,!1),c){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<u&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},vt.prototype.parse=function(e,t,u,n){if(!e)return;const r=new this.State(e,t,u,n);this.tokenize(r,r.line,r.lineMax)},vt.prototype.State=ne;function ut(e,t,u,n){this.src=e,this.env=u,this.md=t,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}ut.prototype.pushPending=function(){const e=new ee("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},ut.prototype.push=function(e,t,u){this.pending&&this.pushPending();const n=new ee(e,t,u);let r=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n},ut.prototype.scanDelims=function(e,t){const u=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<u&&this.src.charCodeAt(i)===n;)i++;const o=i-e,s=i<u?this.src.charCodeAt(i):32,a=tt(r)||et(String.fromCharCode(r)),c=tt(s)||et(String.fromCharCode(s)),d=Je(r),f=Je(s),g=!f&&(!c||d||a),p=!d&&(!a||f||c);return{can_open:g&&(t||!p||a),can_close:p&&(t||!g||c),length:o}},ut.prototype.Token=ee;function hs(e){switch(e){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}}function ps(e,t){let u=e.pos;for(;u<e.posMax&&!hs(e.src.charCodeAt(u));)u++;return u===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,u)),e.pos=u,!0)}const bs=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function gs(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const u=e.pos,n=e.posMax;if(u+3>n||e.src.charCodeAt(u)!==58||e.src.charCodeAt(u+1)!==47||e.src.charCodeAt(u+2)!==47)return!1;const r=e.pending.match(bs);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(u-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="linkify",c.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(s);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=s.length-i.length,!0}function ms(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),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(u++;u<r&&F(e.src.charCodeAt(u));)u++;return e.pos=u,!0}const ou=[];for(let e=0;e<256;e++)ou.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ou[e.charCodeAt(0)]=1});function As(e,t){let u=e.pos;const n=e.posMax;if(e.src.charCodeAt(u)!==92||(u++,u>=n))return!1;let r=e.src.charCodeAt(u);if(r===10){for(t||e.push("hardbreak","br",0),u++;u<n&&(r=e.src.charCodeAt(u),!!F(r));)u++;return e.pos=u,!0}let i=e.src[u];if(r>=55296&&r<=56319&&u+1<n){const s=e.src.charCodeAt(u+1);s>=56320&&s<=57343&&(i+=e.src[u+1],u++)}const o="\\"+i;if(!t){const s=e.push("text_special","",0);r<256&&ou[r]!==0?s.content=i:s.content=o,s.markup=o,s.info="escape"}return e.pos=u+1,!0}function xs(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;const r=u;u++;const i=e.posMax;for(;u<i&&e.src.charCodeAt(u)===96;)u++;const o=e.src.slice(r,u),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=o),e.pos+=s,!0;let a=u,c;for(;(c=e.src.indexOf("`",a))!==-1;){for(a=c+1;a<i&&e.src.charCodeAt(a)===96;)a++;const d=a-c;if(d===s){if(!t){const f=e.push("code_inline","code",0);f.markup=o,f.content=e.src.slice(u,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[d]=c}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}function _s(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const o=String.fromCharCode(n);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=o,i--);for(let a=0;a<i;a+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function Sn(e,t){let u;const n=[],r=t.length;for(let i=0;i<r;i++){const o=t[i];if(o.marker!==126||o.end===-1)continue;const s=t[o.end];u=e.tokens[o.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=e.tokens[s.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){const i=n.pop();let o=i+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,i!==o&&(u=e.tokens[o],e.tokens[o]=e.tokens[i],e.tokens[i]=u)}}function Cs(e){const t=e.tokens_meta,u=e.tokens_meta.length;Sn(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Sn(e,t[n].delimiters)}const Tn={tokenize:_s,postProcess:Cs};function ys(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const o=e.push("text","",0);o.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function Fn(e,t){const u=t.length;for(let n=u-1;n>=0;n--){const r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const c=e.tokens[i.token];c.type=o?"strong_close":"em_close",c.tag=o?"strong":"em",c.nesting=-1,c.markup=o?s+s:s,c.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function Es(e){const t=e.tokens_meta,u=e.tokens_meta.length;Fn(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Fn(e,t[n].delimiters)}const In={tokenize:ys,postProcess:Es};function vs(e,t){let u,n,r,i,o="",s="",a=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const d=e.pos,f=e.posMax,g=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let h=p+1;if(h<f&&e.src.charCodeAt(h)===40){for(c=!1,h++;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);if(h>=f)return!1;if(a=h,r=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?h=r.pos:o="",a=h;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);if(r=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<f&&a!==h&&r.ok)for(s=r.str,h=r.pos;h<f&&(u=e.src.charCodeAt(h),!(!F(u)&&u!==10));h++);}(h>=f||e.src.charCodeAt(h)!==41)&&(c=!0),h++}if(c){if(typeof e.env.references>"u")return!1;if(h<f&&e.src.charCodeAt(h)===91?(a=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?n=e.src.slice(a,h++):h=p+1):h=p+1,n||(n=e.src.slice(g,p)),i=e.env.references[Ct(n)],!i)return e.pos=d,!1;o=i.href,s=i.title}if(!t){e.pos=g,e.posMax=p;const v=e.push("link_open","a",1),w=[["href",o]];v.attrs=w,s&&w.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=f,!0}function ks(e,t){let u,n,r,i,o,s,a,c,d="";const f=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const p=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(i=h+1,i<g&&e.src.charCodeAt(i)===40){for(i++;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);if(i>=g)return!1;for(c=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(d=e.md.normalizeLink(s.str),e.md.validateLink(d)?i=s.pos:d=""),c=i;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);if(s=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<g&&c!==i&&s.ok)for(a=s.str,i=s.pos;i<g&&(u=e.src.charCodeAt(i),!(!F(u)&&u!==10));i++);else a="";if(i>=g||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<g&&e.src.charCodeAt(i)===91?(c=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(c,i++):i=h+1):i=h+1,r||(r=e.src.slice(p,h)),o=e.env.references[Ct(r)],!o)return e.pos=f,!1;d=o.href,a=o.title}if(!t){n=e.src.slice(p,h);const v=[];e.md.inline.parse(n,e.md,e.env,v);const w=e.push("image","img",0),T=[["src",d],["alt",""]];w.attrs=T,w.children=v,w.content=n,a&&T.push(["title",a])}return e.pos=i,e.posMax=g,!0}const ws=/^([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]*)$/;function Ss(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++u>=r)return!1;const o=e.src.charCodeAt(u);if(o===60)return!1;if(o===62)break}const i=e.src.slice(n+1,u);if(Ds.test(i)){const o=e.md.normalizeLink(i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}if(ws.test(i)){const o=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}return!1}function Ts(e){return/^<a[>\s]/i.test(e)}function Fs(e){return/^<\/a\s*>/i.test(e)}function Is(e){const t=e|32;return t>=97&&t<=122}function Rs(e,t){if(!e.md.options.html)return!1;const u=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=u)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Is(r))return!1;const i=e.src.slice(n).match(ss);if(!i)return!1;if(!t){const o=e.push("html_inline","",0);o.content=i[0],Ts(o.content)&&e.linkLevel++,Fs(o.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Ms=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Bs=/^&([a-z][a-z0-9]{1,31});/i;function Us(e,t){const u=e.pos,n=e.posMax;if(e.src.charCodeAt(u)!==38||u+1>=n)return!1;if(e.src.charCodeAt(u+1)===35){const i=e.src.slice(u).match(Ms);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),s=e.push("text_special","",0);s.content=uu(o)?_t(o):_t(65533),s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(u).match(Bs);if(i){const o=gn(i[0]);if(o!==i[0]){if(!t){const s=e.push("text_special","",0);s.content=o,s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Rn(e){const t={},u=e.length;if(!u)return;let n=0,r=-2;const i=[];for(let o=0;o<u;o++){const s=e[o];if(i.push(0),(e[n].marker!==s.marker||r!==s.token-1)&&(n=o),r=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[s.marker][(s.open?3:0)+s.length%3];let c=n-i[n]-1,d=c;for(;c>a;c-=i[c]+1){const f=e[c];if(f.marker===s.marker&&f.open&&f.end<0){let g=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(g=!0),!g){const p=c>0&&!e[c-1].open?i[c-1]+1:0;i[o]=o-c+p,i[c]=p,s.open=!1,f.end=o,f.close=!1,d=-1,r=-2;break}}}d!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=d)}}function Ls(e){const t=e.tokens_meta,u=e.tokens_meta.length;Rn(e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&Rn(t[n].delimiters)}function Ns(e){let t,u,n=0;const r=e.tokens,i=e.tokens.length;for(t=u=0;t<i;t++)r[t].nesting<0&&n--,r[t].level=n,r[t].nesting>0&&n++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==u&&(r[u]=r[t]),u++);t!==u&&(r.length=u)}const su=[["text",ps],["linkify",gs],["newline",ms],["escape",As],["backticks",xs],["strikethrough",Tn.tokenize],["emphasis",In.tokenize],["link",vs],["image",ks],["autolink",Ss],["html_inline",Rs],["entity",Us]],au=[["balance_pairs",Ls],["strikethrough",Tn.postProcess],["emphasis",In.postProcess],["fragments_join",Ns]];function nt(){this.ruler=new G;for(let e=0;e<su.length;e++)this.ruler.push(su[e][0],su[e][1]);this.ruler2=new G;for(let e=0;e<au.length;e++)this.ruler2.push(au[e][0],au[e][1])}nt.prototype.skipToken=function(e){const t=e.pos,u=this.ruler.getRules(""),n=u.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let o=!1;if(e.level<r){for(let s=0;s<n;s++)if(e.level++,o=u[s](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,i[t]=e.pos},nt.prototype.tokenize=function(e){const t=this.ruler.getRules(""),u=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let o=!1;if(e.level<r){for(let s=0;s<u;s++)if(o=t[s](e,!1),o){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},nt.prototype.parse=function(e,t,u,n){const r=new this.State(e,t,u,n);this.tokenize(r);const i=this.ruler2.getRules(""),o=i.length;for(let s=0;s<o;s++)i[s](r)},nt.prototype.State=ut;function Os(e){const t={};e=e||{},t.src_Any=dn.source,t.src_Cc=fn.source,t.src_Z=pn.source,t.src_P=Kt.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const u="[><|]";return t.src_pseudo_letter="(?:(?!"+u+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+u+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+u+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+u+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function cu(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){u&&Object.keys(u).forEach(function(n){e[n]=u[n]})}),e}function kt(e){return Object.prototype.toString.call(e)}function Ps(e){return kt(e)==="[object String]"}function $s(e){return kt(e)==="[object Object]"}function zs(e){return kt(e)==="[object RegExp]"}function Mn(e){return kt(e)==="[object Function]"}function Hs(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Bn={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function qs(e){return Object.keys(e||{}).reduce(function(t,u){return t||Bn.hasOwnProperty(u)},!1)}const js={"http:":{validate:function(e,t,u){const n=e.slice(t);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(n)?n.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,u){const n=e.slice(t);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,u){const n=e.slice(t);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(n)?n.match(u.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 Vs(e){e.__index__=-1,e.__text_cache__=""}function Gs(e){return function(t,u){const n=t.slice(u);return e.test(n)?n.match(e)[0].length:0}}function Un(){return function(e,t){t.normalize(e)}}function wt(e){const t=e.re=Os(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(Ys),u.push(t.src_xn),t.src_tlds=u.join("|");function n(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(s,a){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+a)}Object.keys(e.__schemas__).forEach(function(s){const a=e.__schemas__[s];if(a===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,$s(a)){zs(a.validate)?c.validate=Gs(a.validate):Mn(a.validate)?c.validate=a.validate:i(s,a),Mn(a.normalize)?c.normalize=a.normalize:a.normalize?i(s,a):c.normalize=Un();return}if(Ps(a)){r.push(s);return}i(s,a)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:Un()};const o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(Hs).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Vs(e)}function Ws(e,t){const u=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(u,n);this.schema=e.__schema__.toLowerCase(),this.index=u+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function lu(e,t){const u=new Ws(e,t);return e.__compiled__[u.schema].normalize(u,e),u}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);t||qs(e)&&(t=e,e={}),this.__opts__=cu({},Bn,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cu({},js,e),this.__compiled__={},this.__tlds__=Qs,this.__tlds_replaced__=!1,this.re={},wt(this)}Z.prototype.add=function(t,u){return this.__schemas__[t]=u,wt(this),this},Z.prototype.set=function(t){return this.__opts__=cu(this.__opts__,t),this},Z.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let u,n,r,i,o,s,a,c,d;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(u=a.exec(t))!==null;)if(i=this.testSchemaAt(t,u[2],a.lastIndex),i){this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=t.indexOf("@"),d>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},Z.prototype.pretest=function(t){return this.re.pretest.test(t)},Z.prototype.testSchemaAt=function(t,u,n){return this.__compiled__[u.toLowerCase()]?this.__compiled__[u.toLowerCase()].validate(t,n,this):0},Z.prototype.match=function(t){const u=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(u.push(lu(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)u.push(lu(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return u.length?u:null},Z.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const u=this.re.schema_at_start.exec(t);if(!u)return null;const n=this.testSchemaAt(t,u[2],u[0].length);return n?(this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+n,lu(this,0)):null},Z.prototype.tlds=function(t,u){return t=Array.isArray(t)?t:[t],u?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),wt(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wt(this),this)},Z.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Z.prototype.onCompile=function(){};const Me=2147483647,re=36,du=1,rt=26,Zs=38,Xs=700,Ln=72,Nn=128,On="-",Ks=/^xn--/,Js=/[^\0-\x7F]/,ea=/[\x2E\u3002\uFF0E\uFF61]/g,ta={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fu=re-du,ie=Math.floor,hu=String.fromCharCode;function Ae(e){throw new RangeError(ta[e])}function ua(e,t){const u=[];let n=e.length;for(;n--;)u[n]=t(e[n]);return u}function Pn(e,t){const u=e.split("@");let n="";u.length>1&&(n=u[0]+"@",e=u[1]),e=e.replace(ea,".");const r=e.split("."),i=ua(r,t).join(".");return n+i}function $n(e){const t=[];let u=0;const n=e.length;for(;u<n;){const r=e.charCodeAt(u++);if(r>=55296&&r<=56319&&u<n){const i=e.charCodeAt(u++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),u--)}else t.push(r)}return t}const na=e=>String.fromCodePoint(...e),ra=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:re},zn=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Hn=function(e,t,u){let n=0;for(e=u?ie(e/Xs):e>>1,e+=ie(e/t);e>fu*rt>>1;n+=re)e=ie(e/fu);return ie(n+(fu+1)*e/(e+Zs))},qn=function(e){const t=[],u=e.length;let n=0,r=Nn,i=Ln,o=e.lastIndexOf(On);o<0&&(o=0);for(let s=0;s<o;++s)e.charCodeAt(s)>=128&&Ae("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s<u;){const a=n;for(let d=1,f=re;;f+=re){s>=u&&Ae("invalid-input");const g=ra(e.charCodeAt(s++));g>=re&&Ae("invalid-input"),g>ie((Me-n)/d)&&Ae("overflow"),n+=g*d;const p=f<=i?du:f>=i+rt?rt:f-i;if(g<p)break;const h=re-p;d>ie(Me/h)&&Ae("overflow"),d*=h}const c=t.length+1;i=Hn(n-a,c,a==0),ie(n/c)>Me-r&&Ae("overflow"),r+=ie(n/c),n%=c,t.splice(n++,0,r)}return String.fromCodePoint(...t)},jn=function(e){const t=[];e=$n(e);const u=e.length;let n=Nn,r=0,i=Ln;for(const a of e)a<128&&t.push(hu(a));const o=t.length;let s=o;for(o&&t.push(On);s<u;){let a=Me;for(const d of e)d>=n&&d<a&&(a=d);const c=s+1;a-n>ie((Me-r)/c)&&Ae("overflow"),r+=(a-n)*c,n=a;for(const d of e)if(d<n&&++r>Me&&Ae("overflow"),d===n){let f=r;for(let g=re;;g+=re){const p=g<=i?du:g>=i+rt?rt:g-i;if(f<p)break;const h=f-p,v=re-p;t.push(hu(zn(p+h%v,0))),f=ie(h/v)}t.push(hu(zn(f,0))),i=Hn(r,c,s===o),r=0,++s}++r,++n}return t.join("")},Yn={version:"2.3.1",ucs2:{decode:$n,encode:na},decode:qn,encode:jn,toASCII:function(e){return Pn(e,function(t){return Js.test(t)?"xn--"+jn(t):t})},toUnicode:function(e){return Pn(e,function(t){return Ks.test(t)?qn(t.slice(4).toLowerCase()):t})}},ia={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{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"]}}},commonmark:{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"]}}}},oa=/^(vbscript|javascript|file|data):/,sa=/^data:image\/(gif|png|jpeg|webp);/;function aa(e){const t=e.trim().toLowerCase();return oa.test(t)?sa.test(t):!0}const Qn=["http:","https:","mailto:"];function ca(e){const t=Xt(e,!0);if(t.hostname&&(!t.protocol||Qn.indexOf(t.protocol)>=0))try{t.hostname=Yn.toASCII(t.hostname)}catch{}return Ke(Zt(t))}function la(e){const t=Xt(e,!0);if(t.hostname&&(!t.protocol||Qn.indexOf(t.protocol)>=0))try{t.hostname=Yn.toUnicode(t.hostname)}catch{}return Te(Zt(t),Te.defaultChars+"%")}function K(e,t){if(!(this instanceof K))return new K(e,t);t||tu(e)||(t=e||{},e="default"),this.inline=new nt,this.block=new vt,this.core=new ru,this.renderer=new Ie,this.linkify=new Z,this.validateLink=aa,this.normalizeLink=ca,this.normalizeLinkText=la,this.utils=Co,this.helpers=xt({},ko),this.options={},this.configure(e),t&&this.set(t)}K.prototype.set=function(e){return xt(this.options,e),this},K.prototype.configure=function(e){const t=this;if(tu(e)){const u=e;if(e=ia[u],!e)throw new Error('Wrong `markdown-it` preset "'+u+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(u){e.components[u].rules&&t[u].ruler.enableOnly(e.components[u].rules),e.components[u].rules2&&t[u].ruler2.enableOnly(e.components[u].rules2)}),this},K.prototype.enable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.enable(e,!0))},this),u=u.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},K.prototype.disable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.disable(e,!0))},this),u=u.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},K.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},K.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const u=new this.core.State(e,this,t);return this.core.process(u),u.tokens},K.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},K.prototype.parseInline=function(e,t){const u=new this.core.State(e,this,t);return u.inlineMode=!0,this.core.process(u),u.tokens},K.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pu=!0,Vn=!1,Gn=!1,fa=function(e,t){t&&(pu=!t.enabled,Vn=!!t.label,Gn=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(u){for(var n=u.tokens,r=2;r<n.length;r++)pa(n,r)&&(ba(n[r],u.Token),Wn(n[r-2],"class","task-list-item"+(pu?"":" enabled")),Wn(n[ha(n,r-2)],"class","contains-task-list"))})};function Wn(e,t,u){var n=e.attrIndex(t),r=[t,u];n<0?e.attrPush(r):e.attrs[n]=r}function ha(e,t){for(var u=e[t].level-1,n=t-1;n>=0;n--)if(e[n].level===u)return n;return-1}function pa(e,t){return _a(e[t])&&Ca(e[t-1])&&ya(e[t-2])&&Ea(e[t])}function ba(e,t){if(e.children.unshift(ga(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),Vn)if(Gn){e.children.pop();var u="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+u+'">',e.children.push(xa(e.content,u,t))}else e.children.unshift(ma(t)),e.children.push(Aa(t))}function ga(e,t){var u=new t("html_inline","",0),n=pu?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?u.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(u.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),u}function ma(e){var t=new e("html_inline","",0);return t.content="<label>",t}function Aa(e){var t=new e("html_inline","",0);return t.content="</label>",t}function xa(e,t,u){var n=new u("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",n.attrs=[{for:t}],n}function _a(e){return e.type==="inline"}function Ca(e){return e.type==="paragraph_open"}function ya(e){return e.type==="list_item_open"}function Ea(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const va=da(fa);/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */const{entries:Zn,setPrototypeOf:Xn,isFrozen:ka,getPrototypeOf:wa,getOwnPropertyDescriptor:Da}=Object;let{freeze:j,seal:J,create:bu}=Object,{apply:gu,construct:mu}=typeof Reflect<"u"&&Reflect;j||(j=function(t){return t}),J||(J=function(t){return t}),gu||(gu=function(t,u){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(u,r)}),mu||(mu=function(t){for(var u=arguments.length,n=new Array(u>1?u-1:0),r=1;r<u;r++)n[r-1]=arguments[r];return new t(...n)});const Dt=Q(Array.prototype.forEach),Sa=Q(Array.prototype.lastIndexOf),Kn=Q(Array.prototype.pop),it=Q(Array.prototype.push),Ta=Q(Array.prototype.splice),St=Q(String.prototype.toLowerCase),Au=Q(String.prototype.toString),xu=Q(String.prototype.match),ot=Q(String.prototype.replace),Fa=Q(String.prototype.indexOf),Ia=Q(String.prototype.trim),te=Q(Object.prototype.hasOwnProperty),Y=Q(RegExp.prototype.test),st=Ra(TypeError);function Q(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var u=arguments.length,n=new Array(u>1?u-1:0),r=1;r<u;r++)n[r-1]=arguments[r];return gu(e,t,n)}}function Ra(e){return function(){for(var t=arguments.length,u=new Array(t),n=0;n<t;n++)u[n]=arguments[n];return mu(e,u)}}function k(e,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:St;Xn&&Xn(e,null);let n=t.length;for(;n--;){let r=t[n];if(typeof r=="string"){const i=u(r);i!==r&&(ka(t)||(t[n]=i),r=i)}e[r]=!0}return e}function Ma(e){for(let t=0;t<e.length;t++)te(e,t)||(e[t]=null);return e}function ce(e){const t=bu(null);for(const[u,n]of Zn(e))te(e,u)&&(Array.isArray(n)?t[u]=Ma(n):n&&typeof n=="object"&&n.constructor===Object?t[u]=ce(n):t[u]=n);return t}function at(e,t){for(;e!==null;){const n=Da(e,t);if(n){if(n.get)return Q(n.get);if(typeof n.value=="function")return Q(n.value)}e=wa(e)}function u(){return null}return u}const Jn=j(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_u=j(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Cu=j(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ba=j(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),yu=j(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ua=j(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),er=j(["#text"]),tr=j(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Eu=j(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ur=j(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Tt=j(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),La=J(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Na=J(/<%[\w\W]*|[\w\W]*%>/gm),Oa=J(/\$\{[\w\W]*/gm),Pa=J(/^data-[\-\w.\u00B7-\uFFFF]+$/),$a=J(/^aria-[\-\w]+$/),nr=J(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),za=J(/^(?:\w+script|data):/i),Ha=J(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rr=J(/^html$/i),qa=J(/^[a-z][.\w]*(-[.\w]+)+$/i);var ir=Object.freeze({__proto__:null,ARIA_ATTR:$a,ATTR_WHITESPACE:Ha,CUSTOM_ELEMENT:qa,DATA_ATTR:Pa,DOCTYPE_NAME:rr,ERB_EXPR:Na,IS_ALLOWED_URI:nr,IS_SCRIPT_OR_DATA:za,MUSTACHE_EXPR:La,TMPLIT_EXPR:Oa});const ct={element:1,text:3,progressingInstruction:7,comment:8,document:9},ja=function(){return typeof window>"u"?null:window},Ya=function(t,u){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";u&&u.hasAttribute(r)&&(n=u.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},or=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function sr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ja();const t=_=>sr(_);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==ct.document||!e.Element)return t.isSupported=!1,t;let{document:u}=e;const n=u,r=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:a,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:g,trustedTypes:p}=e,h=a.prototype,v=at(h,"cloneNode"),w=at(h,"remove"),T=at(h,"nextSibling"),y=at(h,"childNodes"),C=at(h,"parentNode");if(typeof o=="function"){const _=u.createElement("template");_.content&&_.content.ownerDocument&&(u=_.content.ownerDocument)}let m,E="";const{implementation:D,createNodeIterator:U,createDocumentFragment:X,getElementsByTagName:oe}=u,{importNode:ve}=n;let L=or();t.isSupported=typeof Zn=="function"&&typeof C=="function"&&D&&D.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:lt,ERB_EXPR:dt,TMPLIT_EXPR:Be,DATA_ATTR:xe,ARIA_ATTR:ku,IS_SCRIPT_OR_DATA:Wa,ATTR_WHITESPACE:lr,CUSTOM_ELEMENT:Za}=ir;let{IS_ALLOWED_URI:dr}=ir,P=null;const fr=k({},[...Jn,..._u,...Cu,...yu,...er]);let z=null;const hr=k({},[...tr,...Eu,...ur,...Tt]);let R=Object.seal(bu(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ft=null,wu=null;const Ue=Object.seal(bu(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let pr=!0,Du=!0,br=!1,gr=!0,Le=!1,It=!0,ke=!1,Su=!1,Tu=!1,Ne=!1,Rt=!1,Mt=!1,mr=!0,Ar=!1;const Xa="user-content-";let Fu=!0,ht=!1,Oe={},Pe=null;const xr=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let _r=null;const Cr=k({},["audio","video","img","source","image","track"]);let Iu=null;const yr=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Bt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let $e=le,Ru=!1,Mu=null;const Ka=k({},[Bt,Ut,le],Au);let Lt=k({},["mi","mo","mn","ms","mtext"]),Nt=k({},["annotation-xml"]);const Ja=k({},["title","style","font","a","script"]);let pt=null;const e0=["application/xhtml+xml","text/html"],t0="text/html";let $=null,ze=null;const u0=u.createElement("form"),Er=function(l){return l instanceof RegExp||l instanceof Function},Bu=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ze&&ze===l)){if((!l||typeof l!="object")&&(l={}),l=ce(l),pt=e0.indexOf(l.PARSER_MEDIA_TYPE)===-1?t0:l.PARSER_MEDIA_TYPE,$=pt==="application/xhtml+xml"?Au:St,P=te(l,"ALLOWED_TAGS")?k({},l.ALLOWED_TAGS,$):fr,z=te(l,"ALLOWED_ATTR")?k({},l.ALLOWED_ATTR,$):hr,Mu=te(l,"ALLOWED_NAMESPACES")?k({},l.ALLOWED_NAMESPACES,Au):Ka,Iu=te(l,"ADD_URI_SAFE_ATTR")?k(ce(yr),l.ADD_URI_SAFE_ATTR,$):yr,_r=te(l,"ADD_DATA_URI_TAGS")?k(ce(Cr),l.ADD_DATA_URI_TAGS,$):Cr,Pe=te(l,"FORBID_CONTENTS")?k({},l.FORBID_CONTENTS,$):xr,ft=te(l,"FORBID_TAGS")?k({},l.FORBID_TAGS,$):ce({}),wu=te(l,"FORBID_ATTR")?k({},l.FORBID_ATTR,$):ce({}),Oe=te(l,"USE_PROFILES")?l.USE_PROFILES:!1,pr=l.ALLOW_ARIA_ATTR!==!1,Du=l.ALLOW_DATA_ATTR!==!1,br=l.ALLOW_UNKNOWN_PROTOCOLS||!1,gr=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Le=l.SAFE_FOR_TEMPLATES||!1,It=l.SAFE_FOR_XML!==!1,ke=l.WHOLE_DOCUMENT||!1,Ne=l.RETURN_DOM||!1,Rt=l.RETURN_DOM_FRAGMENT||!1,Mt=l.RETURN_TRUSTED_TYPE||!1,Tu=l.FORCE_BODY||!1,mr=l.SANITIZE_DOM!==!1,Ar=l.SANITIZE_NAMED_PROPS||!1,Fu=l.KEEP_CONTENT!==!1,ht=l.IN_PLACE||!1,dr=l.ALLOWED_URI_REGEXP||nr,$e=l.NAMESPACE||le,Lt=l.MATHML_TEXT_INTEGRATION_POINTS||Lt,Nt=l.HTML_INTEGRATION_POINTS||Nt,R=l.CUSTOM_ELEMENT_HANDLING||{},l.CUSTOM_ELEMENT_HANDLING&&Er(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(R.tagNameCheck=l.CUSTOM_ELEMENT_HANDLING.tagNameCheck),l.CUSTOM_ELEMENT_HANDLING&&Er(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(R.attributeNameCheck=l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),l.CUSTOM_ELEMENT_HANDLING&&typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(R.allowCustomizedBuiltInElements=l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Du=!1),Rt&&(Ne=!0),Oe&&(P=k({},er),z=[],Oe.html===!0&&(k(P,Jn),k(z,tr)),Oe.svg===!0&&(k(P,_u),k(z,Eu),k(z,Tt)),Oe.svgFilters===!0&&(k(P,Cu),k(z,Eu),k(z,Tt)),Oe.mathMl===!0&&(k(P,yu),k(z,ur),k(z,Tt))),l.ADD_TAGS&&(typeof l.ADD_TAGS=="function"?Ue.tagCheck=l.ADD_TAGS:(P===fr&&(P=ce(P)),k(P,l.ADD_TAGS,$))),l.ADD_ATTR&&(typeof l.ADD_ATTR=="function"?Ue.attributeCheck=l.ADD_ATTR:(z===hr&&(z=ce(z)),k(z,l.ADD_ATTR,$))),l.ADD_URI_SAFE_ATTR&&k(Iu,l.ADD_URI_SAFE_ATTR,$),l.FORBID_CONTENTS&&(Pe===xr&&(Pe=ce(Pe)),k(Pe,l.FORBID_CONTENTS,$)),Fu&&(P["#text"]=!0),ke&&k(P,["html","head","body"]),P.table&&(k(P,["tbody"]),delete ft.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw st('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');m=l.TRUSTED_TYPES_POLICY,E=m.createHTML("")}else m===void 0&&(m=Ya(p,r)),m!==null&&typeof E=="string"&&(E=m.createHTML(""));j&&j(l),ze=l}},vr=k({},[..._u,...Cu,...Ba]),kr=k({},[...yu,...Ua]),n0=function(l){let b=C(l);(!b||!b.tagName)&&(b={namespaceURI:$e,tagName:"template"});const A=St(l.tagName),I=St(b.tagName);return Mu[l.namespaceURI]?l.namespaceURI===Ut?b.namespaceURI===le?A==="svg":b.namespaceURI===Bt?A==="svg"&&(I==="annotation-xml"||Lt[I]):!!vr[A]:l.namespaceURI===Bt?b.namespaceURI===le?A==="math":b.namespaceURI===Ut?A==="math"&&Nt[I]:!!kr[A]:l.namespaceURI===le?b.namespaceURI===Ut&&!Nt[I]||b.namespaceURI===Bt&&!Lt[I]?!1:!kr[A]&&(Ja[A]||!vr[A]):!!(pt==="application/xhtml+xml"&&Mu[l.namespaceURI]):!1},se=function(l){it(t.removed,{element:l});try{C(l).removeChild(l)}catch{w(l)}},we=function(l,b){try{it(t.removed,{attribute:b.getAttributeNode(l),from:b})}catch{it(t.removed,{attribute:null,from:b})}if(b.removeAttribute(l),l==="is")if(Ne||Rt)try{se(b)}catch{}else try{b.setAttribute(l,"")}catch{}},wr=function(l){let b=null,A=null;if(Tu)l="<remove></remove>"+l;else{const B=xu(l,/^[\r\n\t ]+/);A=B&&B[0]}pt==="application/xhtml+xml"&&$e===le&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");const I=m?m.createHTML(l):l;if($e===le)try{b=new g().parseFromString(I,pt)}catch{}if(!b||!b.documentElement){b=D.createDocument($e,"template",null);try{b.documentElement.innerHTML=Ru?E:I}catch{}}const q=b.body||b.documentElement;return l&&A&&q.insertBefore(u.createTextNode(A),q.childNodes[0]||null),$e===le?oe.call(b,ke?"html":"body")[0]:ke?b.documentElement:q},Dr=function(l){return U.call(l.ownerDocument||l,l,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Uu=function(l){return l instanceof f&&(typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||!(l.attributes instanceof d)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function")},Sr=function(l){return typeof s=="function"&&l instanceof s};function de(_,l,b){Dt(_,A=>{A.call(t,l,b,ze)})}const Tr=function(l){let b=null;if(de(L.beforeSanitizeElements,l,null),Uu(l))return se(l),!0;const A=$(l.nodeName);if(de(L.uponSanitizeElement,l,{tagName:A,allowedTags:P}),It&&l.hasChildNodes()&&!Sr(l.firstElementChild)&&Y(/<[/\w!]/g,l.innerHTML)&&Y(/<[/\w!]/g,l.textContent)||l.nodeType===ct.progressingInstruction||It&&l.nodeType===ct.comment&&Y(/<[/\w]/g,l.data))return se(l),!0;if(!(Ue.tagCheck instanceof Function&&Ue.tagCheck(A))&&(!P[A]||ft[A])){if(!ft[A]&&Ir(A)&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,A)||R.tagNameCheck instanceof Function&&R.tagNameCheck(A)))return!1;if(Fu&&!Pe[A]){const I=C(l)||l.parentNode,q=y(l)||l.childNodes;if(q&&I){const B=q.length;for(let W=B-1;W>=0;--W){const fe=v(q[W],!0);fe.__removalCount=(l.__removalCount||0)+1,I.insertBefore(fe,T(l))}}}return se(l),!0}return l instanceof a&&!n0(l)||(A==="noscript"||A==="noembed"||A==="noframes")&&Y(/<\/no(script|embed|frames)/i,l.innerHTML)?(se(l),!0):(Le&&l.nodeType===ct.text&&(b=l.textContent,Dt([lt,dt,Be],I=>{b=ot(b,I," ")}),l.textContent!==b&&(it(t.removed,{element:l.cloneNode()}),l.textContent=b)),de(L.afterSanitizeElements,l,null),!1)},Fr=function(l,b,A){if(mr&&(b==="id"||b==="name")&&(A in u||A in u0))return!1;if(!(Du&&!wu[b]&&Y(xe,b))){if(!(pr&&Y(ku,b))){if(!(Ue.attributeCheck instanceof Function&&Ue.attributeCheck(b,l))){if(!z[b]||wu[b]){if(!(Ir(l)&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,l)||R.tagNameCheck instanceof Function&&R.tagNameCheck(l))&&(R.attributeNameCheck instanceof RegExp&&Y(R.attributeNameCheck,b)||R.attributeNameCheck instanceof Function&&R.attributeNameCheck(b,l))||b==="is"&&R.allowCustomizedBuiltInElements&&(R.tagNameCheck instanceof RegExp&&Y(R.tagNameCheck,A)||R.tagNameCheck instanceof Function&&R.tagNameCheck(A))))return!1}else if(!Iu[b]){if(!Y(dr,ot(A,lr,""))){if(!((b==="src"||b==="xlink:href"||b==="href")&&l!=="script"&&Fa(A,"data:")===0&&_r[l])){if(!(br&&!Y(Wa,ot(A,lr,"")))){if(A)return!1}}}}}}}return!0},Ir=function(l){return l!=="annotation-xml"&&xu(l,Za)},Rr=function(l){de(L.beforeSanitizeAttributes,l,null);const{attributes:b}=l;if(!b||Uu(l))return;const A={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let I=b.length;for(;I--;){const q=b[I],{name:B,namespaceURI:W,value:fe}=q,He=$(B),Lu=fe;let H=B==="value"?Lu:Ia(Lu);if(A.attrName=He,A.attrValue=H,A.keepAttr=!0,A.forceKeepAttr=void 0,de(L.uponSanitizeAttribute,l,A),H=A.attrValue,Ar&&(He==="id"||He==="name")&&(we(B,l),H=Xa+H),It&&Y(/((--!?|])>)|<\/(style|title|textarea)/i,H)){we(B,l);continue}if(He==="attributename"&&xu(H,"href")){we(B,l);continue}if(A.forceKeepAttr)continue;if(!A.keepAttr){we(B,l);continue}if(!gr&&Y(/\/>/i,H)){we(B,l);continue}Le&&Dt([lt,dt,Be],Br=>{H=ot(H,Br," ")});const Mr=$(l.nodeName);if(!Fr(Mr,He,H)){we(B,l);continue}if(m&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!W)switch(p.getAttributeType(Mr,He)){case"TrustedHTML":{H=m.createHTML(H);break}case"TrustedScriptURL":{H=m.createScriptURL(H);break}}if(H!==Lu)try{W?l.setAttributeNS(W,B,H):l.setAttribute(B,H),Uu(l)?se(l):Kn(t.removed)}catch{we(B,l)}}de(L.afterSanitizeAttributes,l,null)},r0=function _(l){let b=null;const A=Dr(l);for(de(L.beforeSanitizeShadowDOM,l,null);b=A.nextNode();)de(L.uponSanitizeShadowNode,b,null),Tr(b),Rr(b),b.content instanceof i&&_(b.content);de(L.afterSanitizeShadowDOM,l,null)};return t.sanitize=function(_){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=null,A=null,I=null,q=null;if(Ru=!_,Ru&&(_="<!-->"),typeof _!="string"&&!Sr(_))if(typeof _.toString=="function"){if(_=_.toString(),typeof _!="string")throw st("dirty is not a string, aborting")}else throw st("toString is not a function");if(!t.isSupported)return _;if(Su||Bu(l),t.removed=[],typeof _=="string"&&(ht=!1),ht){if(_.nodeName){const fe=$(_.nodeName);if(!P[fe]||ft[fe])throw st("root node is forbidden and cannot be sanitized in-place")}}else if(_ instanceof s)b=wr("<!---->"),A=b.ownerDocument.importNode(_,!0),A.nodeType===ct.element&&A.nodeName==="BODY"||A.nodeName==="HTML"?b=A:b.appendChild(A);else{if(!Ne&&!Le&&!ke&&_.indexOf("<")===-1)return m&&Mt?m.createHTML(_):_;if(b=wr(_),!b)return Ne?null:Mt?E:""}b&&Tu&&se(b.firstChild);const B=Dr(ht?_:b);for(;I=B.nextNode();)Tr(I),Rr(I),I.content instanceof i&&r0(I.content);if(ht)return _;if(Ne){if(Rt)for(q=X.call(b.ownerDocument);b.firstChild;)q.appendChild(b.firstChild);else q=b;return(z.shadowroot||z.shadowrootmode)&&(q=ve.call(n,q,!0)),q}let W=ke?b.outerHTML:b.innerHTML;return ke&&P["!doctype"]&&b.ownerDocument&&b.ownerDocument.doctype&&b.ownerDocument.doctype.name&&Y(rr,b.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+b.ownerDocument.doctype.name+`>
|
|
1784
|
+
`+W),Le&&Dt([lt,dt,Be],fe=>{W=ot(W,fe," ")}),m&&Mt?m.createHTML(W):W},t.setConfig=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Bu(_),Su=!0},t.clearConfig=function(){ze=null,Su=!1},t.isValidAttribute=function(_,l,b){ze||Bu({});const A=$(_),I=$(l);return Fr(A,I,b)},t.addHook=function(_,l){typeof l=="function"&&it(L[_],l)},t.removeHook=function(_,l){if(l!==void 0){const b=Sa(L[_],l);return b===-1?void 0:Ta(L[_],b,1)[0]}return Kn(L[_])},t.removeHooks=function(_){L[_]=[]},t.removeAllHooks=function(){L=or()},t}var Qa=sr();const Ft=class Ft extends Xe{constructor(){super(...arguments),this.open=!1,this.message="",this.titleText="Rio Insight",this.buttonLabel="Rio Insight",this.placeholder="Pergunte alguma coisa",this.accentColor="#008B9A",this.floatingButtonOffset=32,this.apiBaseUrl="",this.rioToken="",this.suggestionsSource="",this.randomizedSuggestions=[],this.messages=[],this.isLoading=!1,this.errorMessage="",this.showConversations=!1,this.conversationSearch="",this.conversationMenuId=null,this.conversationMenuPlacement="below",this.isFullscreen=!1,this.showNewConversationShortcut=!1,this.conversationScrollbar={height:0,top:0,visible:!1},this.conversationHistoryLoading=!1,this.conversationHistoryError="",this.deleteConversationTarget=null,this.renameConversationTarget=null,this.shortAnswerEnabled=!0,this.newConversationConfirmOpen=!1,this.conversationActionError=null,this.loadingLabelInternal="Rio Insight está respondendo...",this.loadingTimerSlow=null,this.loadingTimerTimeout=null,this.refreshConversationsAfterResponse=!1,this.activeConversationTitle=null,this.headerActions=[],this.homeUrl="",this.pendingConversationAction=null,this.conversationScrollbarRaf=null,this.rioClient=null,this.rioUnsubscribe=null,this.loadingTimer=null,this.currentConversationId=null,this.conversationCounter=0,this.conversationUserId=null,this.conversationScrollbarDraggingId=null,this.conversationScrollbarDragState=null,this.floatingButtonDragState=null,this.floatingButtonDragged=!1,this.suppressFloatingButtonClick=!1,this.markdownRenderer=new K({html:!1,linkify:!0,breaks:!0}).use(va),this.conversations=[]}get loadingLabel(){return this.loadingLabelInternal}inferUserIdFromToken(){const t=this.rioToken.trim();if(!t||!t.includes("."))return null;const[,u]=t.split(".");try{const n=JSON.parse(atob(u.replace(/-/g,"+").replace(/_/g,"/"))),r=(n==null?void 0:n.userId)??(n==null?void 0:n.user_id)??(n==null?void 0:n.sub)??(n==null?void 0:n.id)??(n==null?void 0:n.email)??(n==null?void 0:n.username);if(r&&typeof r=="string")return r.replace(/[^a-zA-Z0-9_:-]/g,"")}catch{return null}return null}repairConversationId(t){if(!t||t.includes(":"))return t;const u=t.match(/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/);if(!u||u.index===void 0)return t;const n=u[0],r=t.slice(0,u.index).replace(/[-:]?$/,""),i=t.slice(u.index+n.length);return`${r?`${r}:`:""}${n}${i}`}randomId(t){const u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";let n="";for(let r=0;r<t;r+=1)n+=u.charAt(Math.floor(Math.random()*u.length));return n}clamp(t,u,n){return Math.min(Math.max(t,u),n)}get suggestions(){return this.randomizedSuggestions}parseSuggestions(t){return t?t.split("|").map(u=>u.trim()).filter(Boolean):[]}pickRandomSuggestions(t,u){if(t.length<=u)return[...t];const n=[...t];for(let r=n.length-1;r>0;r-=1){const i=Math.floor(Math.random()*(r+1));[n[r],n[i]]=[n[i],n[r]]}return n.slice(0,u)}willUpdate(t){super.willUpdate(t),t.has("suggestionsSource")&&(this.randomizedSuggestions=this.pickRandomSuggestions(this.parseSuggestions(this.suggestionsSource),3))}updated(t){super.updated(t),this.style.setProperty("--accent-color",this.accentColor),(t.has("isFullscreen")||t.has("showConversations")||t.has("conversations"))&&this.enqueueConversationScrollbarMeasure(),(t.has("messages")||t.has("isLoading")&&this.isLoading||t.has("open")&&this.open||t.has("isFullscreen")&&this.isFullscreen)&&this.scrollConversationToBottom()}firstUpdated(){this.enqueueConversationScrollbarMeasure()}disconnectedCallback(){super.disconnectedCallback(),this.conversationScrollbarRaf!==null&&(cancelAnimationFrame(this.conversationScrollbarRaf),this.conversationScrollbarRaf=null),this.teardownRioClient(),this.clearLoadingGuard()}get filteredConversations(){const t=this.conversationSearch.trim().toLowerCase();return t?this.conversations.filter(u=>u.title.toLowerCase().includes(t)):this.conversations}get hasActiveConversation(){return this.messages.length>0}handleFloatingButtonClick(t){if(this.suppressFloatingButtonClick){t.preventDefault();return}this.togglePanel()}handleFloatingButtonPointerDown(t){const u=t.currentTarget;u.setPointerCapture(t.pointerId),this.floatingButtonDragState={pointerId:t.pointerId,startY:t.clientY,startOffset:this.floatingButtonOffset,buttonHeight:u.getBoundingClientRect().height},this.floatingButtonDragged=!1}handleFloatingButtonPointerMove(t){if(!this.floatingButtonDragState||this.floatingButtonDragState.pointerId!==t.pointerId)return;const{startY:u,startOffset:n,buttonHeight:r}=this.floatingButtonDragState,i=t.clientY-u,o=window.innerHeight||this.getBoundingClientRect().height||0,s=12,a=Math.max(s,o-r-s);this.floatingButtonOffset=this.clamp(n-i,s,a),this.floatingButtonDragged=this.floatingButtonDragged||Math.abs(i)>3,t.preventDefault()}handleFloatingButtonPointerUp(t){this.finishFloatingButtonDrag(t)}handleFloatingButtonPointerCancel(t){this.finishFloatingButtonDrag(t)}finishFloatingButtonDrag(t){if(!this.floatingButtonDragState||this.floatingButtonDragState.pointerId!==t.pointerId)return;const u=t.currentTarget;u&&u.hasPointerCapture(t.pointerId)&&u.releasePointerCapture(t.pointerId),this.floatingButtonDragged&&(this.suppressFloatingButtonClick=!0,window.setTimeout(()=>{this.suppressFloatingButtonClick=!1},0)),this.floatingButtonDragState=null,this.floatingButtonDragged=!1}togglePanel(){if(this.isFullscreen){this.exitFullscreen(!1);return}this.open=!this.open,this.dispatchEvent(new CustomEvent(this.open?"rioassist:open":"rioassist:close",{bubbles:!0,composed:!0}))}closePanel(){this.isFullscreen=!1,this.open&&this.togglePanel()}openConversationsPanel(){this.showConversations=!0,this.requestConversationHistory()}closeConversationsPanel(){this.showConversations=!1,this.conversationMenuId=null}toggleConversationsPanel(){if(this.showConversations=!this.showConversations,!this.showConversations){this.conversationMenuId=null;return}this.requestConversationHistory()}toggleNewConversationShortcut(){this.showNewConversationShortcut=!this.showNewConversationShortcut}toggleShortAnswers(){this.shortAnswerEnabled=!this.shortAnswerEnabled}handleConversationSelect(t){t&&(this.showConversations=!1,this.conversationMenuId=null,this.errorMessage="",this.currentConversationId=t,this.activeConversationTitle=this.lookupConversationTitle(t),console.info("[RioAssist][history] carregando conversa",t),this.requestConversationHistory(t))}handleConversationSearch(t){this.conversationSearch=t.target.value}handleConversationMenuToggle(t,u){if(t.stopPropagation(),this.conversationMenuId===u){this.conversationMenuId=null;return}const n=t.currentTarget,r=this.renderRoot.querySelector(".conversations-panel__surface");if(n&&r){const i=n.getBoundingClientRect(),s=r.getBoundingClientRect().bottom-i.bottom;this.conversationMenuPlacement=s<140?"above":"below"}else this.conversationMenuPlacement="below";this.conversationMenuId=u}handleConversationsPanelPointer(t){const u=t.target;!u.closest(".conversation-menu")&&!u.closest(".conversation-menu-button")&&(this.conversationMenuId=null)}handleConversationAction(t,u){this.conversationMenuId=null;const n=this.conversations.findIndex(i=>i.id===u);if(n===-1)return;const r=this.conversations[n];if(t==="delete"){this.deleteConversationTarget={id:r.id,title:r.title,index:n};return}this.renameConversationTarget={id:r.id,title:r.title,index:n,draft:r.title}}handleHomeNavigation(){const t={url:this.homeUrl||null};this.dispatchEvent(new CustomEvent("rioassist:home",{detail:t,bubbles:!0,composed:!0,cancelable:!0}))&&this.homeUrl&&window.location.assign(this.homeUrl)}applyConversationRename(t,u){if(!t||!u)return;let n=!1;this.conversations=this.conversations.map(r=>r.id===t?(n=!0,{...r,title:u}):r),n&&this.currentConversationId===t&&(this.activeConversationTitle=u)}applyConversationDeletion(t){if(!t)return;const u=this.currentConversationId===t,n=this.conversations.filter(r=>r.id!==t);n.length!==this.conversations.length&&(this.conversations=n,u&&(this.currentConversationId=null,this.activeConversationTitle=null,this.messages=[]))}restoreConversationSnapshot(t,u){if(!t||this.conversations.some(o=>o.id===t.id))return;const r=[...this.conversations],i=u>=0&&u<=r.length?u:r.length;r.splice(i,0,t),this.conversations=r}async confirmDeleteConversation(){const t=this.deleteConversationTarget;if(!t)return;const u=this.conversations[t.index]??this.conversations.find(i=>i.id===t.id)??{id:t.id,title:t.title,updatedAt:new Date().toISOString()},n=this.currentConversationId===t.id;if(this.pendingConversationAction={action:"delete",conversationId:t.id,originalTitle:t.title,index:t.index,snapshot:u,messagesSnapshot:n?[...this.messages]:void 0,wasActive:n},await this.dispatchConversationAction("delete",{id:t.id,title:t.title},t.index)){this.deleteConversationTarget=null;return}this.pendingConversationAction=null}cancelDeleteConversation(){this.deleteConversationTarget=null}handleRenameDraft(t){this.renameConversationTarget&&(this.renameConversationTarget={...this.renameConversationTarget,draft:t.target.value})}async confirmRenameConversation(){const t=this.renameConversationTarget;if(!t)return;const u=t.draft.trim();if(!u)return;if(this.pendingConversationAction={action:"rename",conversationId:t.id,originalTitle:t.title,index:t.index,newTitle:u},await this.dispatchConversationAction("rename",{id:t.id,title:u},t.index,u)){this.renameConversationTarget=null;return}this.pendingConversationAction=null}cancelRenameConversation(){this.renameConversationTarget=null}cancelConversationActionError(){this.conversationActionError=null,this.pendingConversationAction=null}async retryConversationAction(){const t=this.conversationActionError;if(!t)return;const u=typeof t.index=="number"?t.index:this.conversations.findIndex(i=>i.id===t.conversationId),n=u>=0?u:this.conversations.length>0?this.conversations.length-1:0,r=t.snapshot??this.conversations.find(i=>i.id===t.conversationId)??{id:t.conversationId,title:t.originalTitle,updatedAt:new Date().toISOString()};this.pendingConversationAction={action:t.action,conversationId:t.conversationId,originalTitle:t.originalTitle,index:n,newTitle:t.newTitle,snapshot:r,messagesSnapshot:t.messagesSnapshot,wasActive:t.wasActive},this.conversationActionError=null,await this.dispatchConversationAction(t.action,{id:t.conversationId,title:t.newTitle??t.originalTitle},n,t.newTitle)}async dispatchConversationAction(t,u,n,r){const i=t==="rename"?"rioassist:conversation-rename":"rioassist:conversation-delete",o={id:u.id,title:u.title,index:n,action:t};return this.dispatchEvent(new CustomEvent(i,{detail:o,bubbles:!0,composed:!0,cancelable:!0}))?t==="delete"?await this.syncConversationDeleteBackend(u.id):t==="rename"&&r?await this.syncConversationRenameBackend(u.id,r):!1:!1}async syncConversationRenameBackend(t,u){try{const n=this.ensureRioClient();return console.info("[RioAssist][ws] enviando renameConversation",{conversationId:t,newTitle:u}),await n.renameConversation(t,u),this.applyConversationRename(t,u),this.conversationHistoryError="",!0}catch(n){return console.error("[RioAssist][history] erro ao renomear conversa",n),this.conversationHistoryError=n instanceof Error&&n.message?n.message:"Nao foi possivel renomear a conversa.",!1}}async syncConversationDeleteBackend(t){try{return await this.ensureRioClient().deleteConversation(t),this.applyConversationDeletion(t),this.conversationHistoryError="",!0}catch(u){return console.error("[RioAssist][history] erro ao excluir conversa",u),this.conversationHistoryError=u instanceof Error&&u.message?u.message:"Nao foi possivel excluir a conversa.",!1}}handleConversationSystemAction(t){const u=(t.action??"").toLowerCase();if(u==="conversationrenamed"){const n=t.data,r=this.repairConversationId(this.extractString(n,["conversationId","id"])??""),i=this.extractString(n,["newTitle","title"]);return r&&i&&(this.applyConversationRename(r,i),this.conversationHistoryError="",this.pendingConversationAction&&this.pendingConversationAction.conversationId===r&&this.pendingConversationAction.action==="rename"&&(this.pendingConversationAction=null,this.conversationActionError=null)),!0}if(u==="conversationdeleted"){const n=t.data,r=this.repairConversationId(this.extractString(n,["conversationId","id"])??"");return r&&(this.applyConversationDeletion(r),this.conversationHistoryError="",this.pendingConversationAction&&this.pendingConversationAction.conversationId===r&&this.pendingConversationAction.action==="delete"&&(this.pendingConversationAction=null,this.conversationActionError=null)),!0}return u==="processing"}handleConversationActionError(t){if((t.action??"").toLowerCase()!=="error")return!1;const n=t.data;console.error("[RioAssist][ws] erro em acao de conversa recebido do backend",{text:t.text,data:n,raw:t.raw});const r=this.extractString(n,["error","message","detail","description"])||(typeof t.text=="string"&&t.text.trim()?t.text:"O agente retornou um erro ao processar a conversa."),i=this.pendingConversationAction;return i?(i.action==="rename"&&this.applyConversationRename(i.conversationId,i.originalTitle),i.action==="delete"&&(this.restoreConversationSnapshot(i.snapshot,i.index),i.wasActive&&(this.currentConversationId=i.conversationId,this.activeConversationTitle=i.originalTitle,this.messages=i.messagesSnapshot??this.messages)),this.conversationActionError={...i,message:r},this.pendingConversationAction=null,this.clearLoadingGuard(),this.isLoading=!1,!0):(this.errorMessage=r,this.clearLoadingGuard(),this.isLoading=!1,!0)}shouldIgnoreAssistantPayload(t){if(!t)return!1;const u=t.toLowerCase();return u==="processing"||u==="conversationrenamed"||u==="conversationdeleted"}extractString(t,u){if(!t||typeof t!="object")return null;for(const n of u){const r=t[n];if(typeof r=="string"&&r.trim())return r}return null}handleHeaderActionClick(t,u){const n={index:u,id:t.id??null,ariaLabel:t.ariaLabel??null,iconUrl:t.iconUrl};this.dispatchEvent(new CustomEvent("rioassist:header-action",{detail:n,bubbles:!0,composed:!0,cancelable:!0}))&&typeof t.onClick=="function"&&t.onClick()}handleCloseAction(){if(this.isFullscreen){this.exitFullscreen(!0);return}this.showConversations?this.closeConversationsPanel():this.closePanel()}enterFullscreen(){this.isFullscreen||(this.isFullscreen=!0,this.open=!1,this.showConversations=!1,this.requestConversationHistory())}exitFullscreen(t){this.isFullscreen&&(this.isFullscreen=!1,this.conversationMenuId=null,this.showNewConversationShortcut=!1,t&&(this.open=!0))}handleCreateConversation(){this.hasActiveConversation&&(this.newConversationConfirmOpen=!0)}confirmCreateConversation(){if(!this.hasActiveConversation){this.newConversationConfirmOpen=!1;return}this.newConversationConfirmOpen=!1,this.startNewConversation()}cancelCreateConversation(){this.newConversationConfirmOpen=!1}startNewConversation(){this.hasActiveConversation&&(this.clearLoadingGuard(),this.isLoading=!1,this.messages=[],this.message="",this.errorMessage="",this.showConversations=!1,this.teardownRioClient(),this.currentConversationId=null,this.activeConversationTitle=null,this.showNewConversationShortcut=!1,this.dispatchEvent(new CustomEvent("rioassist:new-conversation",{bubbles:!0,composed:!0})))}handleConversationListScroll(t){const u=t.currentTarget;u&&this.updateConversationScrollbar(u)}handleConversationScrollbarPointerDown(t){const u=t.currentTarget,n=this.renderRoot.querySelector(".conversation-list--sidebar");if(!u||!n)return;const r=u.getBoundingClientRect(),i=r.height*(this.conversationScrollbar.height/100),o=Math.max(r.height-i,0),s=Math.max(n.scrollHeight-n.clientHeight,1),a=n.scrollTop/s*o,c=t.clientY-r.top,d=c>=a&&c<=a+i,f=d?a:Math.min(Math.max(c-i/2,0),o);d||(n.scrollTop=f/Math.max(o,1)*(n.scrollHeight-n.clientHeight),this.updateConversationScrollbar(n)),u.setPointerCapture(t.pointerId),this.conversationScrollbarDraggingId=t.pointerId,this.conversationScrollbarDragState={startY:t.clientY,startThumbTop:f,trackHeight:r.height,thumbHeight:i,list:n},t.preventDefault()}handleConversationScrollbarPointerMove(t){if(this.conversationScrollbarDraggingId===null||this.conversationScrollbarDraggingId!==t.pointerId||!this.conversationScrollbarDragState)return;const{startY:u,startThumbTop:n,trackHeight:r,thumbHeight:i,list:o}=this.conversationScrollbarDragState,s=Math.max(r-i,0),a=t.clientY-u,c=Math.min(Math.max(n+a,0),s),d=o.scrollHeight-o.clientHeight;d>0&&(o.scrollTop=c/Math.max(s,1)*d,this.updateConversationScrollbar(o)),t.preventDefault()}handleConversationScrollbarPointerUp(t){if(this.conversationScrollbarDraggingId!==t.pointerId)return;const u=t.currentTarget;u==null||u.releasePointerCapture(t.pointerId),this.conversationScrollbarDraggingId=null,this.conversationScrollbarDragState=null}enqueueConversationScrollbarMeasure(){this.conversationScrollbarRaf===null&&(this.conversationScrollbarRaf=requestAnimationFrame(()=>{this.conversationScrollbarRaf=null,this.updateConversationScrollbar()}))}updateConversationScrollbar(t){const u=t??this.renderRoot.querySelector(".conversation-list--sidebar");if(!u){this.conversationScrollbar.visible&&(this.conversationScrollbar={height:0,top:0,visible:!1});return}const{scrollHeight:n,clientHeight:r,scrollTop:i}=u;if(n<=r+1){this.conversationScrollbar.visible&&(this.conversationScrollbar={height:0,top:0,visible:!1});return}const o=r/n,s=Math.max(o*100,8),a=100-s,c=i/(n-r)*(a>0?a:0);this.conversationScrollbar={height:s,top:c,visible:!0}}async onSuggestionClick(t){await this.processMessage(t)}async handleSubmit(t){t.preventDefault(),await this.processMessage(this.message)}createMessage(t,u){return{id:typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random()}`,role:t,text:u,html:this.renderMarkdown(u),timestamp:Date.now()}}async processMessage(t){const u=t.trim();if(!u||this.isLoading)return;const n=this.shortAnswerEnabled?`Quero uma resposta curta sobre: ${u}`:u,r=u;this.currentConversationId||(this.currentConversationId=null,this.activeConversationTitle=null);const i=this.messages.length===0;this.dispatchEvent(new CustomEvent("rioassist:send",{detail:{message:u,apiBaseUrl:this.apiBaseUrl,token:this.rioToken},bubbles:!0,composed:!0}));const o=this.createMessage("user",r);this.messages=[...this.messages,o],i&&(this.showNewConversationShortcut=!0,this.refreshConversationsAfterResponse=!0),this.message="",this.errorMessage="",this.isLoading=!0,this.startLoadingGuard();try{await this.ensureRioClient().sendMessage(n,this.currentConversationId)}catch(s){this.clearLoadingGuard(),this.isLoading=!1,this.errorMessage=s instanceof Error?s.message:"Nao foi possivel enviar a mensagem para o agente."}}ensureRioClient(){const t=this.rioToken.trim();if(!t)throw new Error("Informe o token RIO em data-rio-token para conectar no websocket do assistente.");return(!this.rioClient||!this.rioClient.matchesToken(t))&&(this.teardownRioClient(),this.rioClient=new Bi(t),this.rioUnsubscribe=this.rioClient.onMessage(u=>{this.handleIncomingMessage(u)})),this.rioClient}handleIncomingMessage(t){if(this.isHistoryPayload(t)){this.logHistoryPayload(t),this.handleHistoryPayload(t.data);return}if(this.handleConversationSystemAction(t)||this.handleConversationActionError(t)||this.shouldIgnoreAssistantPayload(t.action))return;const u=this.extractConversationId(t.data);if(u&&(this.currentConversationId=u,this.syncActiveConversationTitle()),console.info("[RioAssist][ws] resposta de mensagem recebida",{action:t.action??"message",text:t.text,raw:t.raw,data:t.data}),t.action==="processing"){console.info("[RioAssist][ws] processando mensagem - aguardando resposta final");return}const n=this.createMessage("assistant",t.text);this.messages=[...this.messages,n],this.clearLoadingGuard(),this.isLoading=!1,this.refreshConversationsAfterResponse&&(this.refreshConversationsAfterResponse=!1,this.requestConversationHistory())}teardownRioClient(){this.rioUnsubscribe&&(this.rioUnsubscribe(),this.rioUnsubscribe=null),this.rioClient&&(this.rioClient.close(),this.rioClient=null)}async requestConversationHistory(t){try{const u=this.ensureRioClient(),n=50;console.info("[RioAssist][history] solicitando historico de conversas",{conversationId:t??null,limit:n}),this.conversationHistoryError="",this.conversationHistoryLoading=!0,await u.requestHistory({conversationId:t,limit:n})}catch(u){console.error("[RioAssist][history] erro ao solicitar historico",u),this.conversationHistoryError=u instanceof Error&&u.message?u.message:"Nao foi possivel carregar as conversas.",this.conversationHistoryLoading=!1}}handleHistoryPayload(t){const u=this.extractHistoryEntries(t),n=this.extractConversationId(t);if(n!=null){this.applyMessageHistory(u,n);return}if(this.isMessageHistoryEntries(u)){this.applyMessageHistory(u);return}this.applyConversationHistoryFromEntries(u),this.refreshConversationsAfterResponse&&(this.refreshConversationsAfterResponse=!1)}isHistoryPayload(t){if(typeof t.action=="string"&&t.action.toLowerCase().includes("history"))return!0;const u=t.data;if(u&&typeof u=="object"){const n=u.action;if(typeof n=="string"&&n.toLowerCase().includes("history")||Array.isArray(u.history)||Array.isArray(u.conversations))return!0}return!1}logHistoryPayload(t){const u="[RioAssist][history] payload recebido do websocket";if(t.data!==null&&t.data!==void 0){console.info(u,t.data);return}console.info(u,t.raw)}applyConversationHistoryFromEntries(t){if(t.length===0){console.info("[RioAssist][history] payload sem itens para montar lista de conversas"),this.conversations=[],this.conversationHistoryLoading=!1,this.conversationHistoryError="";return}const u=new Map;t.forEach((r,i)=>{if(!r||typeof r!="object")return;const o=this.normalizeConversationItem(r,i),s=r.conversationId??r.conversationUUID??r.conversationUuid??r.uuid??r.id;if(s&&console.info("[RioAssist][history] conversa recebida do backend",{rawId:s,normalizedId:(o==null?void 0:o.id)??null,entry:r}),!o)return;const a=u.get(o.id);if(!a){u.set(o.id,o);return}const c=Date.parse(a.updatedAt),d=Date.parse(o.updatedAt);Number.isFinite(d)&&d>c&&u.set(o.id,o)});const n=Array.from(u.values()).sort((r,i)=>{const o=Date.parse(i.updatedAt)-Date.parse(r.updatedAt);return Number.isFinite(o)?o:0});this.conversations=n,this.conversationHistoryLoading=!1,this.conversationHistoryError="",this.syncActiveConversationTitle(),console.info("[RioAssist][history] conversas normalizadas",n)}applyMessageHistory(t,u){if(t.length===0){console.info("[RioAssist][history] lista de mensagens vazia",{conversationId:u}),this.messages=[],this.showConversations=!1,this.clearLoadingGuard(),this.isLoading=!1,this.conversationHistoryLoading=!1;return}const n=t.flatMap((r,i)=>this.normalizeHistoryMessages(r,i));u&&(this.currentConversationId=u),this.messages=n,this.showConversations=!1,this.clearLoadingGuard(),this.isLoading=!1,this.showNewConversationShortcut=n.length>0,this.conversationHistoryLoading=!1,this.refreshConversationsAfterResponse=!1,console.info("[RioAssist][history] mensagens carregadas",{conversationId:u??null,total:n.length})}extractHistoryEntries(t){if(Array.isArray(t))return t;if(t&&typeof t=="object"){const u=t,n=[u.history,u.conversations,u.data,u.items,u.messages];for(const r of n)if(Array.isArray(r))return r;if(u.data&&typeof u.data=="object"&&!Array.isArray(u.data)){const r=this.extractHistoryEntries(u.data);if(r.length>0)return r}}return[]}extractConversationId(t){if(t&&typeof t=="object"){const u=t,n=[u.conversationId,u.conversationUUID,u.conversationUuid,u.uuid,u.id];for(const r of n){if(r===null)return null;if(r!==void 0)return this.repairConversationId(String(r))}}}isMessageHistoryEntries(t){return t.some(u=>this.looksLikeMessageHistoryEntry(u))}looksLikeMessageHistoryEntry(t){if(!t||typeof t!="object")return!1;const u=t,n=u.role??u.sender??u.from??u.author??u.type;return!!(typeof n=="string"&&n.trim().length>0||typeof u.content=="string"||typeof u.message=="string"||typeof u.text=="string"||typeof u.response=="string"||Array.isArray(u.parts)&&u.parts.length>0)}normalizeConversationItem(t,u){const n=t.conversationId??t.conversationUUID??t.conversationUuid??t.uuid??t.id,r=n!=null?String(n):`history-${u+1}`,i=this.repairConversationId(r),o=t.title??t.name??t.topic??t.subject??t.question??t.query??t.message,s=typeof o=="string"&&o.trim().length>0?o.trim():`Conversa ${u+1}`,a=t.updatedAt??t.updated_at??t.lastMessageAt??t.last_message_at??t.createdAt??t.created_at??t.timestamp??t.date,c=this.toIsoString(a);return{id:i,title:s,updatedAt:c}}normalizeHistoryMessages(t,u){const n=[],r=t.message??t.question??t.query??t.text??t.content,i=typeof r=="string"?r.trim():"",o=t.response??t.answer??t.reply??t.completion??t.body??t.preview,s=typeof o=="string"?o.trim():"",a=t.id??t.messageId??t.uuid??t.conversationMessageId,c=a!=null?String(a):`history-${u+1}`,d=t.timestamp??t.createdAt??t.created_at??t.date??t.time,f=t.responseTimestamp??t.responseTime??t.responseDate??t.response_at??t.updatedAt??t.updated_at,g=this.parseTimestamp(d),p=this.parseTimestamp(f,g+1);if(s)i&&n.push({id:`${c}-user`,role:"user",text:i,html:this.renderMarkdown(i),timestamp:g}),n.push({id:`${c}-assistant`,role:"assistant",text:s,html:this.renderMarkdown(s),timestamp:p});else if(i)return[];if(n.length>0)return n;const h=this.normalizeSingleHistoryMessage(t,u);return h?[h]:[]}normalizeSingleHistoryMessage(t,u){const n=t.text??t.message??t.content??t.response??t.body??t.preview,r=typeof n=="string"&&n.trim().length>0?n:"";if(!r)return null;const i=this.normalizeRole(t.role??t.sender??t.from??t.author??t.type??t.direction),o=t.id??t.messageId??t.uuid??t.conversationMessageId,s=o!=null?String(o):`history-message-${u+1}`,a=t.timestamp??t.createdAt??t.created_at??t.updatedAt??t.updated_at??t.date??t.time,c=this.parseTimestamp(a);return{id:s,role:i,text:r,html:this.renderMarkdown(r),timestamp:c}}normalizeRole(t){if(typeof t=="string"){const u=t.toLowerCase();if(u.includes("user")||u.includes("client"))return"user";if(u.includes("assistant")||u.includes("agent")||u.includes("bot"))return"assistant"}return"assistant"}parseTimestamp(t,u){const n=Date.parse(this.toIsoString(t));return Number.isFinite(n)?n:Number.isFinite(u??NaN)?u:Date.now()}lookupConversationTitle(t){if(!t)return null;const u=this.conversations.find(n=>n.id===t);return u?u.title:null}syncActiveConversationTitle(){if(!this.currentConversationId)return;const t=this.lookupConversationTitle(this.currentConversationId);t&&(this.activeConversationTitle=t)}toIsoString(t){if(typeof t=="string"||typeof t=="number"){const u=new Date(t);if(!Number.isNaN(u.getTime()))return u.toISOString()}return new Date().toISOString()}startLoadingGuard(){this.clearLoadingGuard(),this.loadingLabelInternal="RIO Insight está respondendo",this.loadingTimerSlow=window.setTimeout(()=>{this.loadingLabelInternal="RIO Insight continua respondendo",this.requestUpdate()},2e4),this.loadingTimerTimeout=window.setTimeout(()=>{this.loadingLabelInternal="RIO Insight ainda está processando sua resposta. Peço que aguarde um pouco mais",this.requestUpdate()},6e4),this.loadingTimerTimeout=window.setTimeout(()=>{this.loadingLabelInternal="Essa solicitação está demorando um pouco mais que o esperado. Pode favor, aguarde mais um pouco",this.requestUpdate()},12e4)}clearLoadingGuard(){this.loadingTimer!==null&&(window.clearTimeout(this.loadingTimer),this.loadingTimer=null),this.loadingTimerSlow!==null&&(window.clearTimeout(this.loadingTimerSlow),this.loadingTimerSlow=null),this.loadingTimerTimeout!==null&&(window.clearTimeout(this.loadingTimerTimeout),this.loadingTimerTimeout=null)}scrollConversationToBottom(){Array.from(this.renderRoot.querySelectorAll(".panel-content")).forEach(u=>{requestAnimationFrame(()=>{u.scrollTop=u.scrollHeight})})}renderMarkdown(t){const u=this.markdownRenderer.render(t),n=Qa.sanitize(u,{ALLOWED_TAGS:["a","p","ul","ol","li","code","pre","strong","em","blockquote","table","thead","tbody","tr","th","td","del","hr","br","img","span","input"],ALLOWED_ATTR:["href","title","target","rel","src","alt","class","type","checked","disabled","aria-label"],ALLOW_DATA_ATTR:!1,FORBID_TAGS:["style","script"],USE_PROFILES:{html:!0}}),r=document.createElement("div");return r.innerHTML=n,r.querySelectorAll("a").forEach(i=>{i.setAttribute("target","_blank"),i.setAttribute("rel","noopener noreferrer")}),r.querySelectorAll('input[type="checkbox"]').forEach(i=>{i.setAttribute("disabled",""),i.setAttribute("tabindex","-1")}),r.innerHTML}render(){return Ii(this)}};Ft.styles=ri,Ft.properties={open:{type:Boolean,state:!0},message:{type:String,state:!0},titleText:{type:String,attribute:"data-title"},buttonLabel:{type:String,attribute:"data-button-label"},placeholder:{type:String,attribute:"data-placeholder"},accentColor:{type:String,attribute:"data-accent-color"},apiBaseUrl:{type:String,attribute:"data-api-base-url"},rioToken:{type:String,attribute:"data-rio-token"},suggestionsSource:{type:String,attribute:"data-suggestions"},messages:{state:!0},isLoading:{type:Boolean,state:!0},errorMessage:{type:String,state:!0},showConversations:{type:Boolean,state:!0},conversationSearch:{type:String,state:!0},conversationMenuId:{state:!0},conversationMenuPlacement:{state:!0},isFullscreen:{type:Boolean,state:!0},conversationScrollbar:{state:!0},showNewConversationShortcut:{type:Boolean,state:!0},conversations:{state:!0},conversationHistoryLoading:{type:Boolean,state:!0},activeConversationTitle:{state:!0},conversationHistoryError:{type:String,state:!0},deleteConversationTarget:{attribute:!1},renameConversationTarget:{attribute:!1},shortAnswerEnabled:{type:Boolean,state:!0},newConversationConfirmOpen:{type:Boolean,state:!0},conversationActionError:{attribute:!1},headerActions:{attribute:!1},homeUrl:{type:String,attribute:"data-home-url"},floatingButtonOffset:{type:Number,state:!0}};let vu=Ft;customElements.get("rio-assist-widget")||customElements.define("rio-assist-widget",vu);const Va={title:"Rio Insight",buttonLabel:"Rio Insight",placeholder:"Pergunte alguma coisa",suggestions:["Resumo da Frota","Frota Disponível","Chamados Abertos","Parados + Causas","Aguardando Peças","Principais Gargalos","Tempo por Concessionária","Tempo de Ciclo","Preventiva x Corretiva"],accentColor:"#008B9A",apiBaseUrl:"",rioToken:""},ar="rio-assist-widget";function Ga(e={}){const{target:t=document.body,...u}=e;let n=document.querySelector(ar);n||(n=document.createElement(ar),t.appendChild(n));const r={...Va,...u};Object.entries(r).forEach(([i,o])=>{o!==void 0&&(n==null||n.setAttribute(`data-${i.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}`,Array.isArray(o)?o.join("|"):String(o)))})}typeof window<"u"&&(window.RioAssist=window.RioAssist??{init:Ga},window.dispatchEvent(new Event("rio-assist-ready")))})();
|