@enegelai/bot-widget 1.2.6 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):M[ie]=le;var we=(M,ie,le)=>(op(M,typeof ie!="symbol"?ie+"":ie,le),le);(function(M,ie){typeof exports=="object"&&typeof module<"u"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(M=typeof globalThis<"u"?globalThis:M||self,ie(M.EnegelaiBot={}))})(this,function(M){var Di;"use strict";function ie(t){return typeof t=="function"?t():t}const zr=class zr extends Event{constructor(o,r,s){super(zr.eventName,{cancelable:!1});we(this,"key");we(this,"state");we(this,"value");this.key=o,this.value=r,this.state=s}};we(zr,"eventName","lit-state-changed");let le=zr;const Pi=(t,e)=>e!==t&&(e===e||t===t);class zo extends EventTarget{constructor(){super();we(this,"hookMap",new Map);this.constructor.finalize(),this.propertyMap&&[...this.propertyMap].forEach(([o,r])=>{if(r.initialValue!==void 0){const s=ie(r.initialValue);this[o]=s,r.value=s}})}get propertyMap(){return this.constructor.propertyMap}get stateValue(){return Object.fromEntries([...this.propertyMap].map(([o])=>[o,this[o]]))}static finalize(){if(this.finalized)return!1;this.finalized=!0;const o=Object.keys(this.properties||{});for(const r of o)this.createProperty(r,this.properties[r]);return!0}static createProperty(o,r){this.finalize();const s=typeof o=="symbol"?Symbol():`__${o}`,a=this.getPropertyDescriptor(o,s,r);Object.defineProperty(this.prototype,o,a)}static getPropertyDescriptor(o,r,s){const a=(s==null?void 0:s.hasChanged)||Pi;return{get(){return this[r]},set(n){const c=this[o];this[r]=n,a(n,c)===!0&&this.dispatchStateEvent(o,n,this)},configurable:!0,enumerable:!0}}reset(){this.hookMap.forEach(o=>o.reset()),[...this.propertyMap].filter(([o,r])=>!(r.skipReset===!0||r.resetValue===void 0)).forEach(([o,r])=>{this[o]=r.resetValue})}subscribe(o,r,s){r&&!Array.isArray(r)&&(r=[r]);const a=n=>{(!r||r.includes(n.key))&&o(n.key,n.value,this)};return this.addEventListener(le.eventName,a,s),()=>this.removeEventListener(le.eventName,a)}dispatchStateEvent(o,r,s){this.dispatchEvent(new le(o,r,s))}}we(zo,"propertyMap"),we(zo,"properties"),we(zo,"finalized",!1);class ua{constructor(e,o,r){we(this,"host");we(this,"state");we(this,"callback");this.host=e,this.state=o,this.host.addController(this),this.callback=r||(()=>this.host.requestUpdate())}hostConnected(){this.state.addEventListener(le.eventName,this.callback),this.callback()}hostDisconnected(){this.state.removeEventListener(le.eventName,this.callback)}}/**
1
+ var tp=Object.defineProperty;var op=(M,ie,de)=>ie in M?tp(M,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[ie]=de;var we=(M,ie,de)=>(op(M,typeof ie!="symbol"?ie+"":ie,de),de);(function(M,ie){typeof exports=="object"&&typeof module<"u"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(M=typeof globalThis<"u"?globalThis:M||self,ie(M.EnegelaiBot={}))})(this,function(M){var Di;"use strict";function ie(t){return typeof t=="function"?t():t}const zr=class zr extends Event{constructor(o,r,s){super(zr.eventName,{cancelable:!1});we(this,"key");we(this,"state");we(this,"value");this.key=o,this.value=r,this.state=s}};we(zr,"eventName","lit-state-changed");let de=zr;const Pi=(t,e)=>e!==t&&(e===e||t===t);class Ro extends EventTarget{constructor(){super();we(this,"hookMap",new Map);this.constructor.finalize(),this.propertyMap&&[...this.propertyMap].forEach(([o,r])=>{if(r.initialValue!==void 0){const s=ie(r.initialValue);this[o]=s,r.value=s}})}get propertyMap(){return this.constructor.propertyMap}get stateValue(){return Object.fromEntries([...this.propertyMap].map(([o])=>[o,this[o]]))}static finalize(){if(this.finalized)return!1;this.finalized=!0;const o=Object.keys(this.properties||{});for(const r of o)this.createProperty(r,this.properties[r]);return!0}static createProperty(o,r){this.finalize();const s=typeof o=="symbol"?Symbol():`__${o}`,a=this.getPropertyDescriptor(o,s,r);Object.defineProperty(this.prototype,o,a)}static getPropertyDescriptor(o,r,s){const a=(s==null?void 0:s.hasChanged)||Pi;return{get(){return this[r]},set(n){const c=this[o];this[r]=n,a(n,c)===!0&&this.dispatchStateEvent(o,n,this)},configurable:!0,enumerable:!0}}reset(){this.hookMap.forEach(o=>o.reset()),[...this.propertyMap].filter(([o,r])=>!(r.skipReset===!0||r.resetValue===void 0)).forEach(([o,r])=>{this[o]=r.resetValue})}subscribe(o,r,s){r&&!Array.isArray(r)&&(r=[r]);const a=n=>{(!r||r.includes(n.key))&&o(n.key,n.value,this)};return this.addEventListener(de.eventName,a,s),()=>this.removeEventListener(de.eventName,a)}dispatchStateEvent(o,r,s){this.dispatchEvent(new de(o,r,s))}}we(Ro,"propertyMap"),we(Ro,"properties"),we(Ro,"finalized",!1);class ua{constructor(e,o,r){we(this,"host");we(this,"state");we(this,"callback");this.host=e,this.state=o,this.host.addController(this),this.callback=r||(()=>this.host.requestUpdate())}hostConnected(){this.state.addEventListener(de.eventName,this.callback),this.callback()}hostDisconnected(){this.state.removeEventListener(de.eventName,this.callback)}}/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -6,21 +6,21 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
6
6
  * @license
7
7
  * Copyright 2019 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const Ro=globalThis,Pr=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ba=Symbol(),pa=new WeakMap;let Fi=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==ba)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(Pr&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=pa.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&pa.set(o,e))}return e}toString(){return this.cssText}};const Bi=t=>new Fi(typeof t=="string"?t:t+"",void 0,ba),Oi=(t,e)=>{if(Pr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Ro.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},ga=Pr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Bi(o)})(t):t;/**
9
+ */const Po=globalThis,Pr=Po.ShadowRoot&&(Po.ShadyCSS===void 0||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ba=Symbol(),pa=new WeakMap;let Fi=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==ba)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(Pr&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=pa.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&pa.set(o,e))}return e}toString(){return this.cssText}};const Bi=t=>new Fi(typeof t=="string"?t:t+"",void 0,ba),Oi=(t,e)=>{if(Pr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Po.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},ga=Pr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Bi(o)})(t):t;/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const{is:Ni,defineProperty:Vi,getOwnPropertyDescriptor:Hi,getOwnPropertyNames:Ui,getOwnPropertySymbols:ji,getPrototypeOf:Gi}=Object,Ge=globalThis,ma=Ge.trustedTypes,Zi=ma?ma.emptyScript:"",Mr=Ge.reactiveElementPolyfillSupport,Yt=(t,e)=>t,Po={toAttribute(t,e){switch(e){case Boolean:t=t?Zi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ir=(t,e)=>!Ni(t,e),va={attribute:!0,type:String,converter:Po,reflect:!1,hasChanged:Ir};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Ge.litPropertyMetadata??(Ge.litPropertyMetadata=new WeakMap);let Jt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=va){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&Vi(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=Hi(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const c=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,c,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??va}static _$Ei(){if(this.hasOwnProperty(Yt("elementProperties")))return;const e=Gi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Yt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Yt("properties"))){const o=this.properties,r=[...Ui(o),...ji(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(ga(s))}else e!==void 0&&o.push(ga(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Oi(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:Po).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),c=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:Po;this._$Em=s,this[s]=c.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Ir)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[Yt("elementProperties")]=new Map,Jt[Yt("finalized")]=new Map,Mr==null||Mr({ReactiveElement:Jt}),(Ge.reactiveElementVersions??(Ge.reactiveElementVersions=[])).push("2.0.1");/**
13
+ */const{is:Ni,defineProperty:Vi,getOwnPropertyDescriptor:Hi,getOwnPropertyNames:Ui,getOwnPropertySymbols:ji,getPrototypeOf:Gi}=Object,Ge=globalThis,ma=Ge.trustedTypes,Zi=ma?ma.emptyScript:"",Mr=Ge.reactiveElementPolyfillSupport,Yt=(t,e)=>t,Mo={toAttribute(t,e){switch(e){case Boolean:t=t?Zi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ir=(t,e)=>!Ni(t,e),va={attribute:!0,type:String,converter:Mo,reflect:!1,hasChanged:Ir};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Ge.litPropertyMetadata??(Ge.litPropertyMetadata=new WeakMap);let Jt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=va){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&Vi(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=Hi(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const c=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,c,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??va}static _$Ei(){if(this.hasOwnProperty(Yt("elementProperties")))return;const e=Gi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Yt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Yt("properties"))){const o=this.properties,r=[...Ui(o),...ji(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(ga(s))}else e!==void 0&&o.push(ga(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Oi(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:Mo).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),c=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:Mo;this._$Em=s,this[s]=c.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Ir)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[Yt("elementProperties")]=new Map,Jt[Yt("finalized")]=new Map,Mr==null||Mr({ReactiveElement:Jt}),(Ge.reactiveElementVersions??(Ge.reactiveElementVersions=[])).push("2.0.1");/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const Qt=globalThis,Mo=Qt.trustedTypes,ya=Mo?Mo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fr="$lit$",Fe=`lit$${(Math.random()+"").slice(9)}$`,Br="?"+Fe,Wi=`<${Br}>`,lt=document,Io=()=>lt.createComment(""),Xt=t=>t===null||typeof t!="object"&&typeof t!="function",wa=Array.isArray,_a=t=>wa(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Or=`[
17
+ */const Qt=globalThis,Io=Qt.trustedTypes,ya=Io?Io.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fr="$lit$",Fe=`lit$${(Math.random()+"").slice(9)}$`,Br="?"+Fe,Wi=`<${Br}>`,lt=document,Fo=()=>lt.createComment(""),Xt=t=>t===null||typeof t!="object"&&typeof t!="function",wa=Array.isArray,_a=t=>wa(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Or=`[
18
18
  \f\r]`,eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xa=/-->/g,ka=/>/g,dt=RegExp(`>|${Or}(?:([^\\s"'>=/]+)(${Or}*=${Or}*(?:[^
19
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Aa=/'/g,Ca=/"/g,$a=/^(?:script|style|textarea|title)$/i,Ki=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Yi=Ki(1),xe=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ea=new WeakMap,ft=lt.createTreeWalker(lt,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ya!==void 0?ya.createHTML(e):e}const qa=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=eo;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===eo?d[1]==="!--"?n=xa:d[1]!==void 0?n=ka:d[2]!==void 0?($a.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=dt):d[3]!==void 0&&(n=dt):n===dt?d[0]===">"?(n=s??eo,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?dt:d[3]==='"'?Ca:Aa):n===Ca||n===Aa?n=dt:n===xa||n===ka?n=eo:(n=dt,s=void 0);const u=n===dt&&t[c+1].startsWith("/>")?" ":"";a+=n===eo?i+Wi:f>=0?(r.push(l),i.slice(0,f)+Fr+i.slice(f)+Fe+u):i+Fe+(f===-2?c:u)}return[Sa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let Nr=class Ti{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=qa(e,o);if(this.el=Ti.createElement(l,r),ft.currentNode=this.el.content,o===2){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(s=ft.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(const f of s.getAttributeNames())if(f.endsWith(Fr)){const h=d[n++],u=s.getAttribute(f).split(Fe),g=/([.?@])?(.*)/.exec(h);i.push({type:1,index:a,name:g[2],strings:u,ctor:g[1]==="."?Ta:g[1]==="?"?La:g[1]==="@"?za:to}),s.removeAttribute(f)}else f.startsWith(Fe)&&(i.push({type:6,index:a}),s.removeAttribute(f));if($a.test(s.tagName)){const f=s.textContent.split(Fe),h=f.length-1;if(h>0){s.textContent=Mo?Mo.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],Io()),ft.nextNode(),i.push({type:2,index:++a});s.append(f[h],Io())}}}else if(s.nodeType===8)if(s.data===Br)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(Fe,f+1))!==-1;)i.push({type:7,index:a}),f+=Fe.length-1}a++}}static createElement(e,o){const r=lt.createElement("template");return r.innerHTML=e,r}};function ut(t,e,o=t,r){var n,c;if(e===xe)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=Xt(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((c=s==null?void 0:s._$AO)==null||c.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=ut(t,s._$AS(t,e.values),s,r)),e}let Da=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??lt).importNode(o,!0);ft.currentNode=s;let a=ft.nextNode(),n=0,c=0,i=r[0];for(;i!==void 0;){if(n===i.index){let l;i.type===2?l=new Vr(a,a.nextSibling,this,e):i.type===1?l=new i.ctor(a,i.name,i.strings,this,e):i.type===6&&(l=new Ra(a,this,e)),this._$AV.push(l),i=r[++c]}n!==(i==null?void 0:i.index)&&(a=ft.nextNode(),n++)}return ft.currentNode=lt,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},Vr=class Li{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=ut(this,e,o),Xt(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):_a(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==G&&Xt(this._$AH)?this._$AA.nextSibling.data=e:this.$(lt.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=Nr.createElement(Sa(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new Da(s,this),c=n.u(this.options);n.p(o),this.$(c),this._$AH=n}}_$AC(e){let o=Ea.get(e.strings);return o===void 0&&Ea.set(e.strings,o=new Nr(e)),o}T(e){wa(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Li(this.k(Io()),this.k(Io()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},to=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=G}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=ut(this,e,o,0),n=!Xt(e)||e!==this._$AH&&e!==xe,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=ut(this,c[r+i],o,i),l===xe&&(l=this._$AH[i]),n||(n=!Xt(l)||l!==this._$AH[i]),l===G?e=G:e!==G&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ta=class extends to{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===G?void 0:e}},La=class extends to{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},za=class extends to{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=ut(this,e,o,0)??G)===xe)return;const r=this._$AH,s=e===G&&r!==G||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==G&&(r===G||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},Ra=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){ut(this,e)}};const Ji={S:Fr,A:Fe,P:Br,C:1,M:qa,L:Da,R:_a,V:ut,D:Vr,I:to,H:La,N:za,U:Ta,B:Ra},Hr=Qt.litHtmlPolyfillSupport;Hr==null||Hr(Nr,Vr),(Qt.litHtmlVersions??(Qt.litHtmlVersions=[])).push("3.0.1");/**
19
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Aa=/'/g,Ca=/"/g,$a=/^(?:script|style|textarea|title)$/i,Ki=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Yi=Ki(1),xe=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ea=new WeakMap,ft=lt.createTreeWalker(lt,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ya!==void 0?ya.createHTML(e):e}const qa=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=eo;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===eo?d[1]==="!--"?n=xa:d[1]!==void 0?n=ka:d[2]!==void 0?($a.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=dt):d[3]!==void 0&&(n=dt):n===dt?d[0]===">"?(n=s??eo,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?dt:d[3]==='"'?Ca:Aa):n===Ca||n===Aa?n=dt:n===xa||n===ka?n=eo:(n=dt,s=void 0);const u=n===dt&&t[c+1].startsWith("/>")?" ":"";a+=n===eo?i+Wi:f>=0?(r.push(l),i.slice(0,f)+Fr+i.slice(f)+Fe+u):i+Fe+(f===-2?c:u)}return[Sa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let Nr=class Ti{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=qa(e,o);if(this.el=Ti.createElement(l,r),ft.currentNode=this.el.content,o===2){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(s=ft.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(const f of s.getAttributeNames())if(f.endsWith(Fr)){const h=d[n++],u=s.getAttribute(f).split(Fe),g=/([.?@])?(.*)/.exec(h);i.push({type:1,index:a,name:g[2],strings:u,ctor:g[1]==="."?Ta:g[1]==="?"?La:g[1]==="@"?za:to}),s.removeAttribute(f)}else f.startsWith(Fe)&&(i.push({type:6,index:a}),s.removeAttribute(f));if($a.test(s.tagName)){const f=s.textContent.split(Fe),h=f.length-1;if(h>0){s.textContent=Io?Io.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],Fo()),ft.nextNode(),i.push({type:2,index:++a});s.append(f[h],Fo())}}}else if(s.nodeType===8)if(s.data===Br)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(Fe,f+1))!==-1;)i.push({type:7,index:a}),f+=Fe.length-1}a++}}static createElement(e,o){const r=lt.createElement("template");return r.innerHTML=e,r}};function ut(t,e,o=t,r){var n,c;if(e===xe)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=Xt(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((c=s==null?void 0:s._$AO)==null||c.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=ut(t,s._$AS(t,e.values),s,r)),e}let Da=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??lt).importNode(o,!0);ft.currentNode=s;let a=ft.nextNode(),n=0,c=0,i=r[0];for(;i!==void 0;){if(n===i.index){let l;i.type===2?l=new Vr(a,a.nextSibling,this,e):i.type===1?l=new i.ctor(a,i.name,i.strings,this,e):i.type===6&&(l=new Ra(a,this,e)),this._$AV.push(l),i=r[++c]}n!==(i==null?void 0:i.index)&&(a=ft.nextNode(),n++)}return ft.currentNode=lt,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},Vr=class Li{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=ut(this,e,o),Xt(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):_a(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==G&&Xt(this._$AH)?this._$AA.nextSibling.data=e:this.$(lt.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=Nr.createElement(Sa(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new Da(s,this),c=n.u(this.options);n.p(o),this.$(c),this._$AH=n}}_$AC(e){let o=Ea.get(e.strings);return o===void 0&&Ea.set(e.strings,o=new Nr(e)),o}T(e){wa(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Li(this.k(Fo()),this.k(Fo()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},to=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=G}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=ut(this,e,o,0),n=!Xt(e)||e!==this._$AH&&e!==xe,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=ut(this,c[r+i],o,i),l===xe&&(l=this._$AH[i]),n||(n=!Xt(l)||l!==this._$AH[i]),l===G?e=G:e!==G&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ta=class extends to{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===G?void 0:e}},La=class extends to{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},za=class extends to{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=ut(this,e,o,0)??G)===xe)return;const r=this._$AH,s=e===G&&r!==G||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==G&&(r===G||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},Ra=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){ut(this,e)}};const Ji={S:Fr,A:Fe,P:Br,C:1,M:qa,L:Da,R:_a,V:ut,D:Vr,I:to,H:La,N:za,U:Ta,B:Ra},Hr=Qt.litHtmlPolyfillSupport;Hr==null||Hr(Nr,Vr),(Qt.litHtmlVersions??(Qt.litHtmlVersions=[])).push("3.0.1");/**
20
20
  * @license
21
21
  * Copyright 2019 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */const Fo=globalThis,Ur=Fo.ShadowRoot&&(Fo.ShadyCSS===void 0||Fo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),Pa=new WeakMap;let Ma=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(Ur&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=Pa.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Pa.set(o,e))}return e}toString(){return this.cssText}};const Qi=t=>new Ma(typeof t=="string"?t:t+"",void 0,jr),z=(t,...e)=>{const o=t.length===1?t[0]:e.reduce((r,s,a)=>r+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]);return new Ma(o,t,jr)},Xi=(t,e)=>{if(Ur)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Fo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},Ia=Ur?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Qi(o)})(t):t;/**
23
+ */const Bo=globalThis,Ur=Bo.ShadowRoot&&(Bo.ShadyCSS===void 0||Bo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jr=Symbol(),Pa=new WeakMap;let Ma=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==jr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(Ur&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=Pa.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Pa.set(o,e))}return e}toString(){return this.cssText}};const Qi=t=>new Ma(typeof t=="string"?t:t+"",void 0,jr),R=(t,...e)=>{const o=t.length===1?t[0]:e.reduce((r,s,a)=>r+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]);return new Ma(o,t,jr)},Xi=(t,e)=>{if(Ur)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Bo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},Ia=Ur?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Qi(o)})(t):t;/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
@@ -28,9 +28,9 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */const so=globalThis,Bo=so.trustedTypes,Na=Bo?Bo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Va="$lit$",We=`lit$${(Math.random()+"").slice(9)}$`,Ha="?"+We,cl=`<${Ha}>`,ht=document,ao=()=>ht.createComment(""),no=t=>t===null||typeof t!="object"&&typeof t!="function",Ua=Array.isArray,il=t=>Ua(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Zr=`[
31
+ */const so=globalThis,Oo=so.trustedTypes,Na=Oo?Oo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Va="$lit$",We=`lit$${(Math.random()+"").slice(9)}$`,Ha="?"+We,cl=`<${Ha}>`,ht=document,ao=()=>ht.createComment(""),no=t=>t===null||typeof t!="object"&&typeof t!="function",Ua=Array.isArray,il=t=>Ua(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Zr=`[
32
32
  \f\r]`,co=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ja=/-->/g,Ga=/>/g,bt=RegExp(`>|${Zr}(?:([^\\s"'>=/]+)(${Zr}*=${Zr}*(?:[^
33
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Za=/'/g,Wa=/"/g,Ka=/^(?:script|style|textarea|title)$/i,Ya=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),A=Ya(1),Oo=Ya(2),qt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Ja=new WeakMap,pt=ht.createTreeWalker(ht,129);function Qa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Na!==void 0?Na.createHTML(e):e}const ll=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=co;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===co?d[1]==="!--"?n=ja:d[1]!==void 0?n=Ga:d[2]!==void 0?(Ka.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=bt):d[3]!==void 0&&(n=bt):n===bt?d[0]===">"?(n=s??co,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?bt:d[3]==='"'?Wa:Za):n===Wa||n===Za?n=bt:n===ja||n===Ga?n=co:(n=bt,s=void 0);const u=n===bt&&t[c+1].startsWith("/>")?" ":"";a+=n===co?i+cl:f>=0?(r.push(l),i.slice(0,f)+Va+i.slice(f)+We+u):i+We+(f===-2?c:u)}return[Qa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let Wr=class zi{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=ll(e,o);if(this.el=zi.createElement(l,r),pt.currentNode=this.el.content,o===2){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(s=pt.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(const f of s.getAttributeNames())if(f.endsWith(Va)){const h=d[n++],u=s.getAttribute(f).split(We),g=/([.?@])?(.*)/.exec(h);i.push({type:1,index:a,name:g[2],strings:u,ctor:g[1]==="."?fl:g[1]==="?"?ul:g[1]==="@"?hl:No}),s.removeAttribute(f)}else f.startsWith(We)&&(i.push({type:6,index:a}),s.removeAttribute(f));if(Ka.test(s.tagName)){const f=s.textContent.split(We),h=f.length-1;if(h>0){s.textContent=Bo?Bo.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],ao()),pt.nextNode(),i.push({type:2,index:++a});s.append(f[h],ao())}}}else if(s.nodeType===8)if(s.data===Ha)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(We,f+1))!==-1;)i.push({type:7,index:a}),f+=We.length-1}a++}}static createElement(e,o){const r=ht.createElement("template");return r.innerHTML=e,r}};function Dt(t,e,o=t,r){var n,c;if(e===qt)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=no(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((c=s==null?void 0:s._$AO)==null||c.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=Dt(t,s._$AS(t,e.values),s,r)),e}let dl=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??ht).importNode(o,!0);pt.currentNode=s;let a=pt.nextNode(),n=0,c=0,i=r[0];for(;i!==void 0;){if(n===i.index){let l;i.type===2?l=new Kr(a,a.nextSibling,this,e):i.type===1?l=new i.ctor(a,i.name,i.strings,this,e):i.type===6&&(l=new bl(a,this,e)),this._$AV.push(l),i=r[++c]}n!==(i==null?void 0:i.index)&&(a=pt.nextNode(),n++)}return pt.currentNode=ht,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},Kr=class Ri{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Dt(this,e,o),no(e)?e===J||e==null||e===""?(this._$AH!==J&&this._$AR(),this._$AH=J):e!==this._$AH&&e!==qt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):il(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==J&&no(this._$AH)?this._$AA.nextSibling.data=e:this.$(ht.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=Wr.createElement(Qa(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new dl(s,this),c=n.u(this.options);n.p(o),this.$(c),this._$AH=n}}_$AC(e){let o=Ja.get(e.strings);return o===void 0&&Ja.set(e.strings,o=new Wr(e)),o}T(e){Ua(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Ri(this.k(ao()),this.k(ao()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},No=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=J,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=J}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Dt(this,e,o,0),n=!no(e)||e!==this._$AH&&e!==qt,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=Dt(this,c[r+i],o,i),l===qt&&(l=this._$AH[i]),n||(n=!no(l)||l!==this._$AH[i]),l===J?e=J:e!==J&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},fl=class extends No{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===J?void 0:e}},ul=class extends No{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==J)}},hl=class extends No{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=Dt(this,e,o,0)??J)===qt)return;const r=this._$AH,s=e===J&&r!==J||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==J&&(r===J||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},bl=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Dt(this,e)}};const Yr=so.litHtmlPolyfillSupport;Yr==null||Yr(Wr,Kr),(so.litHtmlVersions??(so.litHtmlVersions=[])).push("3.0.1");const pl=(t,e,o)=>{const r=(o==null?void 0:o.renderBefore)??e;let s=r._$litPart$;if(s===void 0){const a=(o==null?void 0:o.renderBefore)??null;r._$litPart$=s=new Kr(e.insertBefore(ao(),a),a,void 0,o??{})}return s._$AI(t),s};/**
33
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Za=/'/g,Wa=/"/g,Ka=/^(?:script|style|textarea|title)$/i,Ya=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),A=Ya(1),No=Ya(2),qt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Ja=new WeakMap,pt=ht.createTreeWalker(ht,129);function Qa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Na!==void 0?Na.createHTML(e):e}const ll=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=co;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===co?d[1]==="!--"?n=ja:d[1]!==void 0?n=Ga:d[2]!==void 0?(Ka.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=bt):d[3]!==void 0&&(n=bt):n===bt?d[0]===">"?(n=s??co,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?bt:d[3]==='"'?Wa:Za):n===Wa||n===Za?n=bt:n===ja||n===Ga?n=co:(n=bt,s=void 0);const u=n===bt&&t[c+1].startsWith("/>")?" ":"";a+=n===co?i+cl:f>=0?(r.push(l),i.slice(0,f)+Va+i.slice(f)+We+u):i+We+(f===-2?c:u)}return[Qa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let Wr=class zi{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=ll(e,o);if(this.el=zi.createElement(l,r),pt.currentNode=this.el.content,o===2){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(s=pt.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(const f of s.getAttributeNames())if(f.endsWith(Va)){const h=d[n++],u=s.getAttribute(f).split(We),g=/([.?@])?(.*)/.exec(h);i.push({type:1,index:a,name:g[2],strings:u,ctor:g[1]==="."?fl:g[1]==="?"?ul:g[1]==="@"?hl:Vo}),s.removeAttribute(f)}else f.startsWith(We)&&(i.push({type:6,index:a}),s.removeAttribute(f));if(Ka.test(s.tagName)){const f=s.textContent.split(We),h=f.length-1;if(h>0){s.textContent=Oo?Oo.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],ao()),pt.nextNode(),i.push({type:2,index:++a});s.append(f[h],ao())}}}else if(s.nodeType===8)if(s.data===Ha)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(We,f+1))!==-1;)i.push({type:7,index:a}),f+=We.length-1}a++}}static createElement(e,o){const r=ht.createElement("template");return r.innerHTML=e,r}};function Dt(t,e,o=t,r){var n,c;if(e===qt)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=no(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((c=s==null?void 0:s._$AO)==null||c.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=Dt(t,s._$AS(t,e.values),s,r)),e}let dl=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??ht).importNode(o,!0);pt.currentNode=s;let a=pt.nextNode(),n=0,c=0,i=r[0];for(;i!==void 0;){if(n===i.index){let l;i.type===2?l=new Kr(a,a.nextSibling,this,e):i.type===1?l=new i.ctor(a,i.name,i.strings,this,e):i.type===6&&(l=new bl(a,this,e)),this._$AV.push(l),i=r[++c]}n!==(i==null?void 0:i.index)&&(a=pt.nextNode(),n++)}return pt.currentNode=ht,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},Kr=class Ri{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Dt(this,e,o),no(e)?e===J||e==null||e===""?(this._$AH!==J&&this._$AR(),this._$AH=J):e!==this._$AH&&e!==qt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):il(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==J&&no(this._$AH)?this._$AA.nextSibling.data=e:this.$(ht.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=Wr.createElement(Qa(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new dl(s,this),c=n.u(this.options);n.p(o),this.$(c),this._$AH=n}}_$AC(e){let o=Ja.get(e.strings);return o===void 0&&Ja.set(e.strings,o=new Wr(e)),o}T(e){Ua(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Ri(this.k(ao()),this.k(ao()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},Vo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=J,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=J}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Dt(this,e,o,0),n=!no(e)||e!==this._$AH&&e!==qt,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=Dt(this,c[r+i],o,i),l===qt&&(l=this._$AH[i]),n||(n=!no(l)||l!==this._$AH[i]),l===J?e=J:e!==J&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},fl=class extends Vo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===J?void 0:e}},ul=class extends Vo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==J)}},hl=class extends Vo{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=Dt(this,e,o,0)??J)===qt)return;const r=this._$AH,s=e===J&&r!==J||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==J&&(r===J||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},bl=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Dt(this,e)}};const Yr=so.litHtmlPolyfillSupport;Yr==null||Yr(Wr,Kr),(so.litHtmlVersions??(so.litHtmlVersions=[])).push("3.0.1");const pl=(t,e,o)=>{const r=(o==null?void 0:o.renderBefore)??e;let s=r._$litPart$;if(s===void 0){const a=(o==null?void 0:o.renderBefore)??null;r._$litPart$=s=new Kr(e.insertBefore(ao(),a),a,void 0,o??{})}return s._$AI(t),s};/**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
@@ -42,7 +42,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
42
42
  * @license
43
43
  * Copyright 2017 Google LLC
44
44
  * SPDX-License-Identifier: BSD-3-Clause
45
- */const gl={attribute:!0,type:String,converter:Po,reflect:!1,hasChanged:Ir},ml=(t=gl,e,o)=>{const{kind:r,metadata:s}=o;let a=globalThis.litPropertyMetadata.get(s);if(a===void 0&&globalThis.litPropertyMetadata.set(s,a=new Map),a.set(o.name,t),r==="accessor"){const{name:n}=o;return{set(c){const i=e.get.call(this);e.set.call(this,c),this.requestUpdate(n,i,t)},init(c){return c!==void 0&&this.C(n,void 0,t),c}}}if(r==="setter"){const{name:n}=o;return function(c){const i=this[n];e.call(this,c),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+r)};function p(t){return(e,o)=>typeof o=="object"?ml(t,e,o):((r,s,a)=>{const n=s.hasOwnProperty(a);return s.constructor.createProperty(a,n?{...r,wrapped:!0}:r),n?Object.getOwnPropertyDescriptor(s,a):void 0})(t,e,o)}/**
45
+ */const gl={attribute:!0,type:String,converter:Mo,reflect:!1,hasChanged:Ir},ml=(t=gl,e,o)=>{const{kind:r,metadata:s}=o;let a=globalThis.litPropertyMetadata.get(s);if(a===void 0&&globalThis.litPropertyMetadata.set(s,a=new Map),a.set(o.name,t),r==="accessor"){const{name:n}=o;return{set(c){const i=e.get.call(this);e.set.call(this,c),this.requestUpdate(n,i,t)},init(c){return c!==void 0&&this.C(n,void 0,t),c}}}if(r==="setter"){const{name:n}=o;return function(c){const i=this[n];e.call(this,c),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+r)};function p(t){return(e,o)=>typeof o=="object"?ml(t,e,o):((r,s,a)=>{const n=s.hasOwnProperty(a);return s.constructor.createProperty(a,n?{...r,wrapped:!0}:r),n?Object.getOwnPropertyDescriptor(s,a):void 0})(t,e,o)}/**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
@@ -62,7 +62,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
- */let vl;function yl(t){return(e,o)=>Qr(e,o,{get(){return(this.renderRoot??vl??(vl=document.createDocumentFragment())).querySelectorAll(t)}})}var wl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function _l(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var o=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};o.prototype=e.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),o}var en={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(wl,function(){var e=function(){},o="undefined",r=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"];function a(m,w){var y=m[w];if(typeof y.bind=="function")return y.bind(m);try{return Function.prototype.bind.call(y,m)}catch{return function(){return Function.prototype.apply.apply(y,[m,arguments])}}}function n(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(m){return m==="debug"&&(m="log"),typeof console===o?!1:m==="trace"&&r?n:console[m]!==void 0?a(console,m):console.log!==void 0?a(console,"log"):e}function i(m,w){for(var y=0;y<s.length;y++){var v=s[y];this[v]=y<m?e:this.methodFactory(v,m,w)}this.log=this.debug}function l(m,w,y){return function(){typeof console!==o&&(i.call(this,w,y),this[m].apply(this,arguments))}}function d(m,w,y){return c(m)||l.apply(this,arguments)}function f(m,w,y){var v=this,k;w=w??"WARN";var C="loglevel";typeof m=="string"?C+=":"+m:typeof m=="symbol"&&(C=void 0);function $(S){var q=(s[S]||"silent").toUpperCase();if(!(typeof window===o||!C)){try{window.localStorage[C]=q;return}catch{}try{window.document.cookie=encodeURIComponent(C)+"="+q+";"}catch{}}}function _(){var S;if(!(typeof window===o||!C)){try{S=window.localStorage[C]}catch{}if(typeof S===o)try{var q=window.document.cookie,I=q.indexOf(encodeURIComponent(C)+"=");I!==-1&&(S=/^([^;]+)/.exec(q.slice(I))[1])}catch{}return v.levels[S]===void 0&&(S=void 0),S}}function D(){if(!(typeof window===o||!C)){try{window.localStorage.removeItem(C);return}catch{}try{window.document.cookie=encodeURIComponent(C)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}v.name=m,v.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},v.methodFactory=y||d,v.getLevel=function(){return k},v.setLevel=function(S,q){if(typeof S=="string"&&v.levels[S.toUpperCase()]!==void 0&&(S=v.levels[S.toUpperCase()]),typeof S=="number"&&S>=0&&S<=v.levels.SILENT){if(k=S,q!==!1&&$(S),i.call(v,S,m),typeof console===o&&S<v.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+S},v.setDefaultLevel=function(S){w=S,_()||v.setLevel(S,!1)},v.resetLevel=function(){v.setLevel(w,!1),D()},v.enableAll=function(S){v.setLevel(v.levels.TRACE,S)},v.disableAll=function(S){v.setLevel(v.levels.SILENT,S)};var P=_();P==null&&(P=w),v.setLevel(P,!1)}var h=new f,u={};h.getLogger=function(w){if(typeof w!="symbol"&&typeof w!="string"||w==="")throw new TypeError("You must supply a name when creating a logger.");var y=u[w];return y||(y=u[w]=new f(w,h.getLevel(),h.methodFactory)),y};var g=typeof window!==o?window.log:void 0;return h.noConflict=function(){return typeof window!==o&&window.log===h&&(window.log=g),h},h.getLoggers=function(){return u},h.default=h,h})})(en);var xl=en.exports;const Vo=Xr(xl),kl=z`
65
+ */let vl;function yl(t){return(e,o)=>Qr(e,o,{get(){return(this.renderRoot??vl??(vl=document.createDocumentFragment())).querySelectorAll(t)}})}var wl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function _l(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var o=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};o.prototype=e.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),o}var en={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(wl,function(){var e=function(){},o="undefined",r=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"];function a(m,w){var y=m[w];if(typeof y.bind=="function")return y.bind(m);try{return Function.prototype.bind.call(y,m)}catch{return function(){return Function.prototype.apply.apply(y,[m,arguments])}}}function n(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(m){return m==="debug"&&(m="log"),typeof console===o?!1:m==="trace"&&r?n:console[m]!==void 0?a(console,m):console.log!==void 0?a(console,"log"):e}function i(m,w){for(var y=0;y<s.length;y++){var v=s[y];this[v]=y<m?e:this.methodFactory(v,m,w)}this.log=this.debug}function l(m,w,y){return function(){typeof console!==o&&(i.call(this,w,y),this[m].apply(this,arguments))}}function d(m,w,y){return c(m)||l.apply(this,arguments)}function f(m,w,y){var v=this,k;w=w??"WARN";var C="loglevel";typeof m=="string"?C+=":"+m:typeof m=="symbol"&&(C=void 0);function $(S){var q=(s[S]||"silent").toUpperCase();if(!(typeof window===o||!C)){try{window.localStorage[C]=q;return}catch{}try{window.document.cookie=encodeURIComponent(C)+"="+q+";"}catch{}}}function _(){var S;if(!(typeof window===o||!C)){try{S=window.localStorage[C]}catch{}if(typeof S===o)try{var q=window.document.cookie,I=q.indexOf(encodeURIComponent(C)+"=");I!==-1&&(S=/^([^;]+)/.exec(q.slice(I))[1])}catch{}return v.levels[S]===void 0&&(S=void 0),S}}function D(){if(!(typeof window===o||!C)){try{window.localStorage.removeItem(C);return}catch{}try{window.document.cookie=encodeURIComponent(C)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}v.name=m,v.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},v.methodFactory=y||d,v.getLevel=function(){return k},v.setLevel=function(S,q){if(typeof S=="string"&&v.levels[S.toUpperCase()]!==void 0&&(S=v.levels[S.toUpperCase()]),typeof S=="number"&&S>=0&&S<=v.levels.SILENT){if(k=S,q!==!1&&$(S),i.call(v,S,m),typeof console===o&&S<v.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+S},v.setDefaultLevel=function(S){w=S,_()||v.setLevel(S,!1)},v.resetLevel=function(){v.setLevel(w,!1),D()},v.enableAll=function(S){v.setLevel(v.levels.TRACE,S)},v.disableAll=function(S){v.setLevel(v.levels.SILENT,S)};var P=_();P==null&&(P=w),v.setLevel(P,!1)}var h=new f,u={};h.getLogger=function(w){if(typeof w!="symbol"&&typeof w!="string"||w==="")throw new TypeError("You must supply a name when creating a logger.");var y=u[w];return y||(y=u[w]=new f(w,h.getLevel(),h.methodFactory)),y};var g=typeof window!==o?window.log:void 0;return h.noConflict=function(){return typeof window!==o&&window.log===h&&(window.log=g),h},h.getLoggers=function(){return u},h.default=h,h})})(en);var xl=en.exports;const Ho=Xr(xl),kl=R`
66
66
  :host {
67
67
  }
68
68
  .cb-wrapper {
@@ -76,8 +76,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
76
76
  box-sizing: border-box;
77
77
  border-radius: 6px;
78
78
 
79
- height: calc(100% - 120px);
80
- max-height: 800px;
79
+ height: calc(100% - var(--enegelai-bot-height-top-margin, 220px));
80
+ max-height: var(--enegelai-bot-max-height, 600px);
81
81
  position: fixed;
82
82
  right: 25px;
83
83
  bottom: 100px;
@@ -119,11 +119,11 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
119
119
  }
120
120
  }
121
121
 
122
- @media (max-width: 450px) {
122
+ @media (max-width: 640px) {
123
123
  .cb-wrapper {
124
124
  width: 100%;
125
- height: 100%;
126
- max-height: 100%;
125
+ height: calc(100% - var(--enegelai-bot-height-top-margin-sm, 100px));
126
+ max-height: var(--enegelai-bot-max-height, 100%);
127
127
  right: 0;
128
128
  bottom: 0;
129
129
  border-radius: 0;
@@ -133,9 +133,9 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
133
133
  * @license
134
134
  * Copyright 2017 Google LLC
135
135
  * SPDX-License-Identifier: BSD-3-Clause
136
- */var es;const Ho=window,Tt=Ho.trustedTypes,tn=Tt?Tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ts="$lit$",Ke=`lit$${(Math.random()+"").slice(9)}$`,on="?"+Ke,Al=`<${on}>`,gt=document,Uo=()=>gt.createComment(""),io=t=>t===null||typeof t!="object"&&typeof t!="function",rn=Array.isArray,Cl=t=>rn(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",os=`[
136
+ */var es;const Uo=window,Tt=Uo.trustedTypes,tn=Tt?Tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ts="$lit$",Ke=`lit$${(Math.random()+"").slice(9)}$`,on="?"+Ke,Al=`<${on}>`,gt=document,jo=()=>gt.createComment(""),io=t=>t===null||typeof t!="object"&&typeof t!="function",rn=Array.isArray,Cl=t=>rn(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",os=`[
137
137
  \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sn=/-->/g,an=/>/g,mt=RegExp(`>|${os}(?:([^\\s"'>=/]+)(${os}*=${os}*(?:[^
138
- \f\r"'\`<>=]|("|')|))|$)`,"g"),nn=/'/g,cn=/"/g,ln=/^(?:script|style|textarea|title)$/i,Ye=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),dn=new WeakMap,vt=gt.createTreeWalker(gt,129,null,!1);function fn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tn!==void 0?tn.createHTML(e):e}const $l=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=lo;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===lo?d[1]==="!--"?n=sn:d[1]!==void 0?n=an:d[2]!==void 0?(ln.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=mt):d[3]!==void 0&&(n=mt):n===mt?d[0]===">"?(n=s??lo,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?mt:d[3]==='"'?cn:nn):n===cn||n===nn?n=mt:n===sn||n===an?n=lo:(n=mt,s=void 0);const u=n===mt&&t[c+1].startsWith("/>")?" ":"";a+=n===lo?i+Al:f>=0?(r.push(l),i.slice(0,f)+ts+i.slice(f)+Ke+u):i+Ke+(f===-2?(r.push(void 0),c):u)}return[fn(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};class fo{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=$l(e,o);if(this.el=fo.createElement(l,r),vt.currentNode=this.el.content,o===2){const f=this.el.content,h=f.firstChild;h.remove(),f.append(...h.childNodes)}for(;(s=vt.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const f=[];for(const h of s.getAttributeNames())if(h.endsWith(ts)||h.startsWith(Ke)){const u=d[n++];if(f.push(h),u!==void 0){const g=s.getAttribute(u.toLowerCase()+ts).split(Ke),m=/([.?@])?(.*)/.exec(u);i.push({type:1,index:a,name:m[2],strings:g,ctor:m[1]==="."?Sl:m[1]==="?"?Dl:m[1]==="@"?Tl:Go})}else i.push({type:6,index:a})}for(const h of f)s.removeAttribute(h)}if(ln.test(s.tagName)){const f=s.textContent.split(Ke),h=f.length-1;if(h>0){s.textContent=Tt?Tt.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],Uo()),vt.nextNode(),i.push({type:2,index:++a});s.append(f[h],Uo())}}}else if(s.nodeType===8)if(s.data===on)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(Ke,f+1))!==-1;)i.push({type:7,index:a}),f+=Ke.length-1}a++}}static createElement(e,o){const r=gt.createElement("template");return r.innerHTML=e,r}}function Lt(t,e,o=t,r){var s,a,n,c;if(e===Ye)return e;let i=r!==void 0?(s=o._$Co)===null||s===void 0?void 0:s[r]:o._$Cl;const l=io(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==l&&((a=i==null?void 0:i._$AO)===null||a===void 0||a.call(i,!1),l===void 0?i=void 0:(i=new l(t),i._$AT(t,o,r)),r!==void 0?((n=(c=o)._$Co)!==null&&n!==void 0?n:c._$Co=[])[r]=i:o._$Cl=i),i!==void 0&&(e=Lt(t,i._$AS(t,e.values),i,r)),e}class El{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var o;const{el:{content:r},parts:s}=this._$AD,a=((o=e==null?void 0:e.creationScope)!==null&&o!==void 0?o:gt).importNode(r,!0);vt.currentNode=a;let n=vt.nextNode(),c=0,i=0,l=s[0];for(;l!==void 0;){if(c===l.index){let d;l.type===2?d=new jo(n,n.nextSibling,this,e):l.type===1?d=new l.ctor(n,l.name,l.strings,this,e):l.type===6&&(d=new Ll(n,this,e)),this._$AV.push(d),l=s[++i]}c!==(l==null?void 0:l.index)&&(n=vt.nextNode(),c++)}return vt.currentNode=gt,a}v(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}}class jo{constructor(e,o,r,s){var a;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cp=(a=s==null?void 0:s.isConnected)===null||a===void 0||a}get _$AU(){var e,o;return(o=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&o!==void 0?o:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Lt(this,e,o),io(e)?e===Z||e==null||e===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cl(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Z&&io(this._$AH)?this._$AA.nextSibling.data=e:this.$(gt.createTextNode(e)),this._$AH=e}g(e){var o;const{values:r,_$litType$:s}=e,a=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=fo.createElement(fn(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)===null||o===void 0?void 0:o._$AD)===a)this._$AH.v(r);else{const n=new El(a,this),c=n.u(this.options);n.v(r),this.$(c),this._$AH=n}}_$AC(e){let o=dn.get(e.strings);return o===void 0&&dn.set(e.strings,o=new fo(e)),o}T(e){rn(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new jo(this.k(Uo()),this.k(Uo()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cp=e,(o=this._$AP)===null||o===void 0||o.call(this,e))}}class Go{constructor(e,o,r,s,a){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Lt(this,e,o,0),n=!io(e)||e!==this._$AH&&e!==Ye,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=Lt(this,c[r+i],o,i),l===Ye&&(l=this._$AH[i]),n||(n=!io(l)||l!==this._$AH[i]),l===Z?e=Z:e!==Z&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Sl extends Go{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Z?void 0:e}}const ql=Tt?Tt.emptyScript:"";class Dl extends Go{constructor(){super(...arguments),this.type=4}j(e){e&&e!==Z?this.element.setAttribute(this.name,ql):this.element.removeAttribute(this.name)}}class Tl extends Go{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){var r;if((e=(r=Lt(this,e,o,0))!==null&&r!==void 0?r:Z)===Ye)return;const s=this._$AH,a=e===Z&&s!==Z||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,n=e!==Z&&(s===Z||a);a&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o,r;typeof this._$AH=="function"?this._$AH.call((r=(o=this.options)===null||o===void 0?void 0:o.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}}class Ll{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Lt(this,e)}}const un=Ho.litHtmlPolyfillSupport;un==null||un(fo,jo),((es=Ho.litHtmlVersions)!==null&&es!==void 0?es:Ho.litHtmlVersions=[]).push("2.8.0");/**
138
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),nn=/'/g,cn=/"/g,ln=/^(?:script|style|textarea|title)$/i,Ye=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),dn=new WeakMap,vt=gt.createTreeWalker(gt,129,null,!1);function fn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tn!==void 0?tn.createHTML(e):e}const $l=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=lo;for(let c=0;c<o;c++){const i=t[c];let l,d,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,d=n.exec(i),d!==null);)h=n.lastIndex,n===lo?d[1]==="!--"?n=sn:d[1]!==void 0?n=an:d[2]!==void 0?(ln.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=mt):d[3]!==void 0&&(n=mt):n===mt?d[0]===">"?(n=s??lo,f=-1):d[1]===void 0?f=-2:(f=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?mt:d[3]==='"'?cn:nn):n===cn||n===nn?n=mt:n===sn||n===an?n=lo:(n=mt,s=void 0);const u=n===mt&&t[c+1].startsWith("/>")?" ":"";a+=n===lo?i+Al:f>=0?(r.push(l),i.slice(0,f)+ts+i.slice(f)+Ke+u):i+Ke+(f===-2?(r.push(void 0),c):u)}return[fn(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};class fo{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const c=e.length-1,i=this.parts,[l,d]=$l(e,o);if(this.el=fo.createElement(l,r),vt.currentNode=this.el.content,o===2){const f=this.el.content,h=f.firstChild;h.remove(),f.append(...h.childNodes)}for(;(s=vt.nextNode())!==null&&i.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const f=[];for(const h of s.getAttributeNames())if(h.endsWith(ts)||h.startsWith(Ke)){const u=d[n++];if(f.push(h),u!==void 0){const g=s.getAttribute(u.toLowerCase()+ts).split(Ke),m=/([.?@])?(.*)/.exec(u);i.push({type:1,index:a,name:m[2],strings:g,ctor:m[1]==="."?Sl:m[1]==="?"?Dl:m[1]==="@"?Tl:Zo})}else i.push({type:6,index:a})}for(const h of f)s.removeAttribute(h)}if(ln.test(s.tagName)){const f=s.textContent.split(Ke),h=f.length-1;if(h>0){s.textContent=Tt?Tt.emptyScript:"";for(let u=0;u<h;u++)s.append(f[u],jo()),vt.nextNode(),i.push({type:2,index:++a});s.append(f[h],jo())}}}else if(s.nodeType===8)if(s.data===on)i.push({type:2,index:a});else{let f=-1;for(;(f=s.data.indexOf(Ke,f+1))!==-1;)i.push({type:7,index:a}),f+=Ke.length-1}a++}}static createElement(e,o){const r=gt.createElement("template");return r.innerHTML=e,r}}function Lt(t,e,o=t,r){var s,a,n,c;if(e===Ye)return e;let i=r!==void 0?(s=o._$Co)===null||s===void 0?void 0:s[r]:o._$Cl;const l=io(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==l&&((a=i==null?void 0:i._$AO)===null||a===void 0||a.call(i,!1),l===void 0?i=void 0:(i=new l(t),i._$AT(t,o,r)),r!==void 0?((n=(c=o)._$Co)!==null&&n!==void 0?n:c._$Co=[])[r]=i:o._$Cl=i),i!==void 0&&(e=Lt(t,i._$AS(t,e.values),i,r)),e}class El{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var o;const{el:{content:r},parts:s}=this._$AD,a=((o=e==null?void 0:e.creationScope)!==null&&o!==void 0?o:gt).importNode(r,!0);vt.currentNode=a;let n=vt.nextNode(),c=0,i=0,l=s[0];for(;l!==void 0;){if(c===l.index){let d;l.type===2?d=new Go(n,n.nextSibling,this,e):l.type===1?d=new l.ctor(n,l.name,l.strings,this,e):l.type===6&&(d=new Ll(n,this,e)),this._$AV.push(d),l=s[++i]}c!==(l==null?void 0:l.index)&&(n=vt.nextNode(),c++)}return vt.currentNode=gt,a}v(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}}class Go{constructor(e,o,r,s){var a;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cp=(a=s==null?void 0:s.isConnected)===null||a===void 0||a}get _$AU(){var e,o;return(o=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&o!==void 0?o:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Lt(this,e,o),io(e)?e===Z||e==null||e===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cl(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Z&&io(this._$AH)?this._$AA.nextSibling.data=e:this.$(gt.createTextNode(e)),this._$AH=e}g(e){var o;const{values:r,_$litType$:s}=e,a=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=fo.createElement(fn(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)===null||o===void 0?void 0:o._$AD)===a)this._$AH.v(r);else{const n=new El(a,this),c=n.u(this.options);n.v(r),this.$(c),this._$AH=n}}_$AC(e){let o=dn.get(e.strings);return o===void 0&&dn.set(e.strings,o=new fo(e)),o}T(e){rn(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Go(this.k(jo()),this.k(jo()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cp=e,(o=this._$AP)===null||o===void 0||o.call(this,e))}}class Zo{constructor(e,o,r,s,a){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Lt(this,e,o,0),n=!io(e)||e!==this._$AH&&e!==Ye,n&&(this._$AH=e);else{const c=e;let i,l;for(e=a[0],i=0;i<a.length-1;i++)l=Lt(this,c[r+i],o,i),l===Ye&&(l=this._$AH[i]),n||(n=!io(l)||l!==this._$AH[i]),l===Z?e=Z:e!==Z&&(e+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!s&&this.j(e)}j(e){e===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Sl extends Zo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Z?void 0:e}}const ql=Tt?Tt.emptyScript:"";class Dl extends Zo{constructor(){super(...arguments),this.type=4}j(e){e&&e!==Z?this.element.setAttribute(this.name,ql):this.element.removeAttribute(this.name)}}class Tl extends Zo{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){var r;if((e=(r=Lt(this,e,o,0))!==null&&r!==void 0?r:Z)===Ye)return;const s=this._$AH,a=e===Z&&s!==Z||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,n=e!==Z&&(s===Z||a);a&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o,r;typeof this._$AH=="function"?this._$AH.call((r=(o=this.options)===null||o===void 0?void 0:o.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}}class Ll{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Lt(this,e)}}const un=Uo.litHtmlPolyfillSupport;un==null||un(fo,Go),((es=Uo.litHtmlVersions)!==null&&es!==void 0?es:Uo.litHtmlVersions=[]).push("2.8.0");/**
139
139
  * @license
140
140
  * Copyright 2017 Google LLC
141
141
  * SPDX-License-Identifier: BSD-3-Clause
@@ -143,7 +143,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
143
143
  * @license
144
144
  * Copyright 2017 Google LLC
145
145
  * SPDX-License-Identifier: BSD-3-Clause
146
- */let rs=class extends pn{constructor(e){if(super(e),this.et=Z,e.type!==hn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this.ft=void 0,this.et=e;if(e===Ye)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const o=[e];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}};rs.directiveName="unsafeHTML",rs.resultType=1;const yt=bn(rs),Ee=z`
146
+ */let rs=class extends pn{constructor(e){if(super(e),this.et=Z,e.type!==hn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this.ft=void 0,this.et=e;if(e===Ye)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const o=[e];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}};rs.directiveName="unsafeHTML",rs.resultType=1;const yt=bn(rs),Ee=R`
147
147
  :host {
148
148
  --primary-color: var(--sl-color-primary-600);
149
149
  }
@@ -210,7 +210,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
210
210
  .text-button:hover {
211
211
  text-decoration: underline;
212
212
  }
213
- `,gn=z`
213
+ `,gn=R`
214
214
  ${Ee}
215
215
 
216
216
  :host {
@@ -232,9 +232,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
232
232
  .color-white {
233
233
  color: white;
234
234
  }
235
- `;var zl=Object.defineProperty,Rl=Object.getOwnPropertyDescriptor,ss=(t,e,o,r)=>{for(var s=r>1?void 0:r?Rl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&zl(e,o,s),s};let uo=class extends Be{constructor(){super(...arguments),this.color="primary",this.svg=""}render(){return A`<span class="cb-icon color-${this.color}" part="base"
236
- >${yt(this.svg)}</span
237
- >`}};uo.styles=gn,ss([p({type:String})],uo.prototype,"color",2),ss([p({type:String})],uo.prototype,"svg",2),uo=ss([ee("cb-icon")],uo);let Pl=t=>crypto.getRandomValues(new Uint8Array(t)),Ml=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(a=e)=>{let n="";for(;;){let c=o(s),i=s;for(;i--;)if(n+=t[c[i]&r]||"",n.length===a)return n}}};const Il=((t,e=21)=>Ml(t,e,Pl))("1234567890abcdefghijklmnopqrstuvwxyz",10);function as(t=10){return Il(t)}function Fl(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function Bl(t=!0){return new Promise(e=>{const o=document.createElement("input");o.type="file",t&&(o.multiple=!0),o.style.display="none",o.addEventListener("change",()=>{const r=Array.prototype.slice.call(o.files);e(r)}),o.click()})}const se=Vo.noConflict();se.setLevel("info");class Ol{constructor(e={}){this.id=0,this.url=(e==null?void 0:e.url)||null,this.orgId=(e==null?void 0:e.orgId)||null,this.botId=(e==null?void 0:e.botId)||null,this.convId=(e==null?void 0:e.convId)||null,this._options=e||{},this._ws=null,this.started=!1,this.connected=!1,this.onMessage=(e==null?void 0:e.onMessage)||null,this.queue=[],this.pause=o=>new Promise(r=>setTimeout(r,o)),se.info(`WSC: Created, url: ${this.url}`)}connect(e={}){if(this.url=(e==null?void 0:e.url)||this.url,this.connected=!1,!this.url)return se.error("WSC: URL must be provided to connect"),null;const o=this.url;se.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{se.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{se.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let a=(s==null?void 0:s.data)||null;if(!a)return;let n=null;try{n=JSON.parse(a)}catch{se.error(`Failed to parse message: ${a}`);return}(n==null?void 0:n.type)==="connected"&&(se.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(n)},this._ws.onerror=s=>{se.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{se.info(`WSC: Closed - code:${s.code}, reason:"${s.reason}"`),this.connected=!1,this._ws=null,this.reconnect()}}reconnect(){this.started&&setTimeout(()=>{this.connect()},1e3)}disconnect(){if(!this._ws){se.info("WSC: already disconnected");return}se.info("WSC: disconnect"),this._ws.close()}async start(){this.started=!0,this.connect()}async stop(){this.started=!1,this.disconnect()}async startOld(){let e=1,o=!0;for(;o;){if(se.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return se.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return se.error(`WSC: start: failed to connect after ${e} attempts, exiting`),!1}handleWscMessage(e){this.onMessage&&typeof this.onMessage=="function"&&this.onMessage(e)}sendMessage(e){if(!this.connected){this.queue.push(JSON.stringify(e));return}this._ws.send(JSON.stringify(e))}sendQueuedMessages(){if(Array.isArray(this.queue)&&this.queue.length>0)for(let e=0;e<this.queue.length;e++)se.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}const Nl="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var Vl=Object.defineProperty,Hl=Object.getOwnPropertyDescriptor,ke=(t,e,o,r)=>{for(var s=r>1?void 0:r?Hl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Vl(e,o,s),s};const de=Vo.noConflict();de.setLevel("info");const wt="cb_";class ge extends zo{constructor(){super(...arguments),this.actionIdCounter=0,this.wsClient=null,this.replyMessage=null}setSetting(e){de.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{de.info(`Exception during bot initialization: ${o.message}`)})}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=as(),this.connectWs="false",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}})}setLanguage(e){this.language=e}setTheme(e){this.theme=e}async initBot(){if(!this.botSettingsInitialized){const o=`${this.setting.url.startsWith("localhost")?"http":"https"}://${this.setting.url}/api/bot/settings/${this.setting.orgId}/${this.setting.botId}`;de.info(`Getting bot settings at ${o} ...`);let r=null,s=null;try{r=await fetch(o,{headers:{"Access-Control-Allow-Origin":"null","X-Enegel-Signature":this.setting.botId}}),!r.ok||r.status!==200?de.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(a){de.error(`Failed to get bot ${this.setting.botId} settings: ${a.message}`),s=null}if(this.botSettingsInitialized=!0,!s){de.error("No bot settings available - bot disabled"),this.disabled=!0;return}this.setting.welcomeMessage=(s==null?void 0:s.welcomeMessage)||"How can I help ?",this.setting.engageMessage=(s==null?void 0:s.engageMessage)||"How can I help ?",this.setting.engageTimeout=(s==null?void 0:s.engageTimeout)||5,setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}Array.isArray(this.messages)&&this.messages.length<=0&&this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.connectWs==="true"&&(de.info("appState: connectWs is true"),this.getWsClient().catch(e=>{de.error(`Exception during ws client startup: ${e.message}`)}))}showEngagePopup(){if(this.open)return;de.info("Engaging User !"),this.engage=!0;const e=a=>{const n=new Uint8Array(a.length/2);for(let c=0;c<n.length;c++)n[c]=parseInt(a.substr(c*2,2),16);return n};let o=new Blob([e(Nl)],{type:"application/octet-stream"});const r=URL.createObjectURL(o);new Audio(r).play()}async getWsClient(){if(this.wsClient)return this.wsClient;const o=`${this.setting.url.startsWith("localhost")?"ws":"wss"}://${this.setting.url}/api/bot/connect/${this.setting.orgId}/${this.setting.botId}/${this.conversationId}`;return de.info(`Initiating ws connection to ${o} ...`),this.wsClient=new Ol({url:o,orgId:this.setting.orgId,botId:this.setting.botId,convId:this.conversationId}),await this.wsClient.start(),this.wsClient.onMessage=r=>{this.handleWscMessage(r)},this.wsClient}handleWscMessage(e){switch(e==null?void 0:e.type){case"message":{if(this.replyMessage)this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,""),this.replyMessage=null;else{const o={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(o.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(o.data.userAvatar=e.userAvatar,this.connectWs="true");const r=this.formatMessage(o);this.messages=this.messages.concat([r])}break}case"message-chunk":{this.replyMessage&&(this.replyMessage=this.updateMessage(this.replyMessage,e.text));break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}addActions(e){if(Array.isArray(e)&&e.length>0){const o=e.map(r=>Object.assign(r,{internalId:this.actionIdCounter++}));this.actions=this.actions.concat(o)}}removeAction(e){const o=this.actions.findIndex(r=>r.internalId===e);if(o!==-1){this.actions.splice(o,1);const r=[];this.actions=r.concat(this.actions)}}async sendMessage(e){e=this.formatMessage(e),de.info("Send Message:",e),this.messages=this.messages.concat([e]);const o=await this.getWsClient();if(!o){de.error("Error - failed to obtain ws client"),this.replyMessage=null;return}o.sendMessage({type:"message",id:e.id,text:e.data.text})}formatMessage(e){var o;return e.id||(e.id=as()),e.timestamp=Date.now(),e.author==="assistant"&&(e.replyId=(o=this.messages[this.messages.length-1])==null?void 0:o.id),e}addMessage(e){e=this.formatMessage(e),this.messages=this.messages.concat([e])}addSystemMessage(e){this.addMessage({type:"text",author:"system",data:{text:e}})}updateMessage(e,o){const r=this.formatMessage(e);return r.isThinking=!1,o&&(r.data.text+=o),this.messages=this.messages.map(s=>s.id===r.id?r:s),r}removeMessage(e){this.messages=this.messages.filter(o=>o.id!==e)}clearMessages(){this.messages=[]}}ke([it({prefix:wt}),_e({value:"en"})],ge.prototype,"language",2),ke([it({prefix:wt}),_e({value:"light"})],ge.prototype,"theme",2),ke([it({prefix:wt}),_e({type:Boolean,value:!1})],ge.prototype,"open",2),ke([it({prefix:wt}),_e({value:"false"})],ge.prototype,"connectWs",2),ke([it({prefix:wt}),_e({value:as()})],ge.prototype,"conversationId",2),ke([it({prefix:wt}),_e({type:Array,value:[]})],ge.prototype,"messages",2),ke([_e({type:Array,value:[]})],ge.prototype,"actions",2),ke([_e({type:Boolean,value:!1})],ge.prototype,"botSettingsInitialized",2),ke([_e({type:Boolean,value:!1})],ge.prototype,"disabled",2),ke([_e({type:Boolean,value:!1})],ge.prototype,"engage",2),ke([it({prefix:wt}),_e({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null}})],ge.prototype,"setting",2);const R=new ge,Ul=z`
235
+ `;var zl=Object.defineProperty,Rl=Object.getOwnPropertyDescriptor,ss=(t,e,o,r)=>{for(var s=r>1?void 0:r?Rl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&zl(e,o,s),s};let uo=class extends Be{constructor(){super(...arguments),this.color="primary",this.svg=""}render(){return A`<span class="cb-icon" part="base">${yt(this.svg)}</span>`}};uo.styles=gn,ss([p({type:String})],uo.prototype,"color",2),ss([p({type:String})],uo.prototype,"svg",2),uo=ss([ee("cb-icon")],uo);let Pl=t=>crypto.getRandomValues(new Uint8Array(t)),Ml=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(a=e)=>{let n="";for(;;){let c=o(s),i=s;for(;i--;)if(n+=t[c[i]&r]||"",n.length===a)return n}}};const Il=((t,e=21)=>Ml(t,e,Pl))("1234567890abcdefghijklmnopqrstuvwxyz",10);function as(t=10){return Il(t)}function Fl(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function Bl(t=!0){return new Promise(e=>{const o=document.createElement("input");o.type="file",t&&(o.multiple=!0),o.style.display="none",o.addEventListener("change",()=>{const r=Array.prototype.slice.call(o.files);e(r)}),o.click()})}const se=Ho.noConflict();se.setLevel("info");class Ol{constructor(e={}){this.id=0,this.url=(e==null?void 0:e.url)||null,this.orgId=(e==null?void 0:e.orgId)||null,this.botId=(e==null?void 0:e.botId)||null,this.convId=(e==null?void 0:e.convId)||null,this._options=e||{},this._ws=null,this.started=!1,this.connected=!1,this.onMessage=(e==null?void 0:e.onMessage)||null,this.queue=[],this.pause=o=>new Promise(r=>setTimeout(r,o)),se.info(`WSC: Created, url: ${this.url}`)}connect(e={}){if(this.url=(e==null?void 0:e.url)||this.url,this.connected=!1,!this.url)return se.error("WSC: URL must be provided to connect"),null;const o=this.url;se.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{se.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{se.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let a=(s==null?void 0:s.data)||null;if(!a)return;let n=null;try{n=JSON.parse(a)}catch{se.error(`Failed to parse message: ${a}`);return}(n==null?void 0:n.type)==="connected"&&(se.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(n)},this._ws.onerror=s=>{se.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{se.info(`WSC: Closed - code:${s.code}, reason:"${s.reason}"`),this.connected=!1,this._ws=null,this.reconnect()}}reconnect(){this.started&&setTimeout(()=>{this.connect()},1e3)}disconnect(){if(!this._ws){se.info("WSC: already disconnected");return}se.info("WSC: disconnect"),this._ws.close()}async start(){this.started=!0,this.connect()}async stop(){this.started=!1,this.disconnect()}async startOld(){let e=1,o=!0;for(;o;){if(se.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return se.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return se.error(`WSC: start: failed to connect after ${e} attempts, exiting`),!1}handleWscMessage(e){this.onMessage&&typeof this.onMessage=="function"&&this.onMessage(e)}sendMessage(e){if(!this.connected){this.queue.push(JSON.stringify(e));return}this._ws.send(JSON.stringify(e))}sendQueuedMessages(){if(Array.isArray(this.queue)&&this.queue.length>0)for(let e=0;e<this.queue.length;e++)se.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}const Nl="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var Vl=Object.defineProperty,Hl=Object.getOwnPropertyDescriptor,ke=(t,e,o,r)=>{for(var s=r>1?void 0:r?Hl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Vl(e,o,s),s};const le=Ho.noConflict();le.setLevel("info");const wt="cb_";class ge extends Ro{constructor(){super(...arguments),this.actionIdCounter=0,this.wsClient=null,this.replyMessage=null}setSetting(e){le.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{le.info(`Exception during bot initialization: ${o.message}`)})}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=as(),this.connectWs="false",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}})}setLanguage(e){this.language=e}setTheme(e){this.theme=e}async initBot(){if(!this.botSettingsInitialized){const o=`${this.setting.url.startsWith("localhost")?"http":"https"}://${this.setting.url}/api/bot/settings/${this.setting.orgId}/${this.setting.botId}`;le.info(`Getting bot settings at ${o} ...`);let r=null,s=null;try{r=await fetch(o,{headers:{"Access-Control-Allow-Origin":"null","X-Enegel-Signature":this.setting.botId}}),!r.ok||r.status!==200?le.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(a){le.error(`Failed to get bot ${this.setting.botId} settings: ${a.message}`),s=null}if(this.botSettingsInitialized=!0,!s){le.error("No bot settings available - bot disabled"),this.disabled=!0;return}le.info("Got bot settings - bot is enabled",s),this.disabled=!1,this.setting.welcomeMessage=(s==null?void 0:s.welcomeMessage)||"How can I help ?",this.setting.engageMessage=(s==null?void 0:s.engageMessage)||"How can I help ?",this.setting.engageTimeout=(s==null?void 0:s.engageTimeout)||5,setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}Array.isArray(this.messages)&&this.messages.length<=0&&this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.connectWs==="true"&&(le.info("appState: connectWs is true"),this.getWsClient().catch(e=>{le.error(`Exception during ws client startup: ${e.message}`)}))}showEngagePopup(){if(this.open)return;le.info("Engaging User !"),this.engage=!0;const e=a=>{const n=new Uint8Array(a.length/2);for(let c=0;c<n.length;c++)n[c]=parseInt(a.substr(c*2,2),16);return n};let o=new Blob([e(Nl)],{type:"application/octet-stream"});const r=URL.createObjectURL(o);new Audio(r).play()}async getWsClient(){if(this.wsClient)return this.wsClient;const o=`${this.setting.url.startsWith("localhost")?"ws":"wss"}://${this.setting.url}/api/bot/connect/${this.setting.orgId}/${this.setting.botId}/${this.conversationId}`;return le.info(`Initiating ws connection to ${o} ...`),this.wsClient=new Ol({url:o,orgId:this.setting.orgId,botId:this.setting.botId,convId:this.conversationId}),await this.wsClient.start(),this.wsClient.onMessage=r=>{this.handleWscMessage(r)},this.wsClient}handleWscMessage(e){switch(e==null?void 0:e.type){case"message":{if(this.replyMessage)this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,""),this.replyMessage=null;else{const o={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(o.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(o.data.userAvatar=e.userAvatar,this.connectWs="true");const r=this.formatMessage(o);this.messages=this.messages.concat([r])}break}case"message-chunk":{this.replyMessage&&(this.replyMessage=this.updateMessage(this.replyMessage,e.text));break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}addActions(e){if(Array.isArray(e)&&e.length>0){const o=e.map(r=>Object.assign(r,{internalId:this.actionIdCounter++}));this.actions=this.actions.concat(o)}}removeAction(e){const o=this.actions.findIndex(r=>r.internalId===e);if(o!==-1){this.actions.splice(o,1);const r=[];this.actions=r.concat(this.actions)}}async sendMessage(e){e=this.formatMessage(e),le.info("Send Message:",e),this.messages=this.messages.concat([e]);const o=await this.getWsClient();if(!o){le.error("Error - failed to obtain ws client"),this.replyMessage=null;return}o.sendMessage({type:"message",id:e.id,text:e.data.text})}formatMessage(e){var o;return e.id||(e.id=as()),e.timestamp=Date.now(),e.author==="assistant"&&(e.replyId=(o=this.messages[this.messages.length-1])==null?void 0:o.id),e}addMessage(e){e=this.formatMessage(e),this.messages=this.messages.concat([e])}addSystemMessage(e){this.addMessage({type:"text",author:"system",data:{text:e}})}updateMessage(e,o){const r=this.formatMessage(e);return r.isThinking=!1,o&&(r.data.text+=o),this.messages=this.messages.map(s=>s.id===r.id?r:s),r}removeMessage(e){this.messages=this.messages.filter(o=>o.id!==e)}clearMessages(){this.messages=[]}}ke([it({prefix:wt}),_e({value:"en"})],ge.prototype,"language",2),ke([it({prefix:wt}),_e({value:"light"})],ge.prototype,"theme",2),ke([it({prefix:wt}),_e({type:Boolean,value:!1})],ge.prototype,"open",2),ke([it({prefix:wt}),_e({value:"false"})],ge.prototype,"connectWs",2),ke([it({prefix:wt}),_e({value:as()})],ge.prototype,"conversationId",2),ke([it({prefix:wt}),_e({type:Array,value:[]})],ge.prototype,"messages",2),ke([_e({type:Array,value:[]})],ge.prototype,"actions",2),ke([_e({type:Boolean,value:!1})],ge.prototype,"botSettingsInitialized",2),ke([_e({type:Boolean,value:!0})],ge.prototype,"disabled",2),ke([_e({type:Boolean,value:!1})],ge.prototype,"engage",2),ke([it({prefix:wt}),_e({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null}})],ge.prototype,"setting",2);const L=new ge,Ul=R`
238
236
  ${Ee}
239
237
  :host {
240
238
  position: relative;
@@ -245,7 +243,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
245
243
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
246
244
  width: 100%;
247
245
  text-align: left;
248
- color: rgba(255, 255, 255, 1);
246
+ color: var(--enegelai-bot-header-color, rgba(255, 255, 255, 1));
249
247
  border-radius-top-left: 6px;
250
248
  border-radius-top-right: 6px;
251
249
  top: 0;
@@ -273,13 +271,21 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
273
271
 
274
272
  .cb-setting-button {
275
273
  font-size: 1.5rem;
276
- color: white;
274
+ color: var(--enegelai-bot-header-color, rgba(255, 255, 255, 1));
275
+ }
276
+
277
+ .cb-header-logo {
278
+ color: var(--enegelai-bot-header-color, rgba(255, 255, 255, 1));
279
+ }
280
+
281
+ .cb-header-close {
282
+ color: var(--enegelai-bot-header-color, rgba(255, 255, 255, 1));
277
283
  }
278
284
 
279
285
  .cb-setting-button cb-icon {
280
286
  display: inline;
281
287
  }
282
- `,sp="",ap="";var Q=z`
288
+ `,sp="",ap="";var Q=R`
283
289
  :host {
284
290
  box-sizing: border-box;
285
291
  }
@@ -293,7 +299,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
293
299
  [hidden] {
294
300
  display: none !important;
295
301
  }
296
- `,jl=z`
302
+ `,jl=R`
297
303
  ${Q}
298
304
 
299
305
  :host {
@@ -351,12 +357,12 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
351
357
  stroke-dasharray: 0.01em, 2.75em;
352
358
  }
353
359
  }
354
- `;const ns=new Set,Gl=new MutationObserver(yn),zt=new Map;let mn=document.documentElement.dir||"ltr",vn=document.documentElement.lang||navigator.language,_t;Gl.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function Zl(...t){t.map(e=>{const o=e.$code.toLowerCase();zt.has(o)?zt.set(o,Object.assign(Object.assign({},zt.get(o)),e)):zt.set(o,e),_t||(_t=e)}),yn()}function yn(){mn=document.documentElement.dir||"ltr",vn=document.documentElement.lang||navigator.language,[...ns.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let Wl=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){ns.add(this.host)}hostDisconnected(){ns.delete(this.host)}dir(){return`${this.host.dir||mn}`.toLowerCase()}lang(){return`${this.host.lang||vn}`.toLowerCase()}getTranslationData(e){var o,r;const s=new Intl.Locale(e.replace(/_/g,"-")),a=s==null?void 0:s.language.toLowerCase(),n=(r=(o=s==null?void 0:s.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",c=zt.get(`${a}-${n}`),i=zt.get(a);return{locale:s,language:a,region:n,primary:c,secondary:i}}exists(e,o){var r;const{primary:s,secondary:a}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(s&&s[e]||a&&a[e]||o.includeFallback&&_t&&_t[e])}term(e,...o){const{primary:r,secondary:s}=this.getTranslationData(this.lang());let a;if(r&&r[e])a=r[e];else if(s&&s[e])a=s[e];else if(_t&&_t[e])a=_t[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof a=="function"?a(...o):a}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var Je=class extends Wl{},wn=Object.defineProperty,Kl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptor,Jl=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,cs=(t,e)=>{if(e=Symbol[t])return e;throw Error("Symbol."+t+" is not defined")},xn=(t,e,o)=>e in t?wn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Qe=(t,e)=>{for(var o in e||(e={}))Ql.call(e,o)&&xn(t,o,e[o]);if(_n)for(var o of _n(e))Xl.call(e,o)&&xn(t,o,e[o]);return t},Zo=(t,e)=>Kl(t,Jl(e)),b=(t,e,o,r)=>{for(var s=r>1?void 0:r?Yl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wn(e,o,s),s},ed=function(t,e){this[0]=t,this[1]=e},td=t=>{var e=t[cs("asyncIterator")],o=!1,r,s={};return e==null?(e=t[cs("iterator")](),r=a=>s[a]=n=>e[a](n)):(e=e.call(t),r=a=>s[a]=n=>{if(o){if(o=!1,a==="throw")throw n;return n}return o=!0,{done:!1,value:new ed(new Promise(c=>{var i=e[a](n);if(!(i instanceof Object))throw TypeError("Object expected");c(i)}),1)}}),s[cs("iterator")]=()=>s,r("next"),"throw"in e?r("throw"):s.throw=a=>{throw a},"return"in e&&r("return"),s},j=class extends Be{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,Qe({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let s=" (unknown version)",a=s;"version"in e&&e.version&&(s=" v"+e.version),"version"in r&&r.version&&(a=" v"+r.version),!(s&&a&&s===a)&&console.warn(`Attempted to register <${t}>${s}, but <${t}>${a} has already been registered.`)}};j.version="2.11.2",j.dependencies={},b([p()],j.prototype,"dir",2),b([p()],j.prototype,"lang",2);var is=class extends j{constructor(){super(...arguments),this.localize=new Je(this)}render(){return A`
360
+ `;const ns=new Set,Gl=new MutationObserver(yn),zt=new Map;let mn=document.documentElement.dir||"ltr",vn=document.documentElement.lang||navigator.language,_t;Gl.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function Zl(...t){t.map(e=>{const o=e.$code.toLowerCase();zt.has(o)?zt.set(o,Object.assign(Object.assign({},zt.get(o)),e)):zt.set(o,e),_t||(_t=e)}),yn()}function yn(){mn=document.documentElement.dir||"ltr",vn=document.documentElement.lang||navigator.language,[...ns.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let Wl=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){ns.add(this.host)}hostDisconnected(){ns.delete(this.host)}dir(){return`${this.host.dir||mn}`.toLowerCase()}lang(){return`${this.host.lang||vn}`.toLowerCase()}getTranslationData(e){var o,r;const s=new Intl.Locale(e.replace(/_/g,"-")),a=s==null?void 0:s.language.toLowerCase(),n=(r=(o=s==null?void 0:s.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",c=zt.get(`${a}-${n}`),i=zt.get(a);return{locale:s,language:a,region:n,primary:c,secondary:i}}exists(e,o){var r;const{primary:s,secondary:a}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(s&&s[e]||a&&a[e]||o.includeFallback&&_t&&_t[e])}term(e,...o){const{primary:r,secondary:s}=this.getTranslationData(this.lang());let a;if(r&&r[e])a=r[e];else if(s&&s[e])a=s[e];else if(_t&&_t[e])a=_t[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof a=="function"?a(...o):a}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var Je=class extends Wl{},wn=Object.defineProperty,Kl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptor,Jl=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,cs=(t,e)=>{if(e=Symbol[t])return e;throw Error("Symbol."+t+" is not defined")},xn=(t,e,o)=>e in t?wn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Qe=(t,e)=>{for(var o in e||(e={}))Ql.call(e,o)&&xn(t,o,e[o]);if(_n)for(var o of _n(e))Xl.call(e,o)&&xn(t,o,e[o]);return t},Wo=(t,e)=>Kl(t,Jl(e)),b=(t,e,o,r)=>{for(var s=r>1?void 0:r?Yl(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wn(e,o,s),s},ed=function(t,e){this[0]=t,this[1]=e},td=t=>{var e=t[cs("asyncIterator")],o=!1,r,s={};return e==null?(e=t[cs("iterator")](),r=a=>s[a]=n=>e[a](n)):(e=e.call(t),r=a=>s[a]=n=>{if(o){if(o=!1,a==="throw")throw n;return n}return o=!0,{done:!1,value:new ed(new Promise(c=>{var i=e[a](n);if(!(i instanceof Object))throw TypeError("Object expected");c(i)}),1)}}),s[cs("iterator")]=()=>s,r("next"),"throw"in e?r("throw"):s.throw=a=>{throw a},"return"in e&&r("return"),s},j=class extends Be{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,Qe({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let s=" (unknown version)",a=s;"version"in e&&e.version&&(s=" v"+e.version),"version"in r&&r.version&&(a=" v"+r.version),!(s&&a&&s===a)&&console.warn(`Attempted to register <${t}>${s}, but <${t}>${a} has already been registered.`)}};j.version="2.11.2",j.dependencies={},b([p()],j.prototype,"dir",2),b([p()],j.prototype,"lang",2);var is=class extends j{constructor(){super(...arguments),this.localize=new Je(this)}render(){return A`
355
361
  <svg part="base" class="spinner" role="progressbar" aria-label=${this.localize.term("loading")}>
356
362
  <circle class="spinner__track"></circle>
357
363
  <circle class="spinner__indicator"></circle>
358
364
  </svg>
359
- `}};is.styles=jl;var ho=new WeakMap,bo=new WeakMap,ls=new WeakSet,Wo=new WeakMap,po=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),s=this.options.name(this.host),a=this.options.value(this.host),n=this.host.tagName.toLowerCase()==="sl-button";!r&&!n&&typeof s=="string"&&s.length>0&&typeof a<"u"&&(Array.isArray(a)?a.forEach(c=>{o.formData.append(s,c.toString())}):o.formData.append(s,a.toString()))},this.handleFormSubmit=o=>{var r;const s=this.options.disabled(this.host),a=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=ho.get(this.form))==null||r.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!s&&!a(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),Wo.set(this.host,[])},this.handleInteraction=o=>{const r=Wo.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=Qe({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){const r=o.getRootNode(),s=o.getAttribute("form");if(s)return r.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),Wo.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),Wo.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,ho.has(this.form)?ho.get(this.form).add(this.host):ho.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),bo.has(this.form)||(bo.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=ho.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),bo.has(this.form)&&(this.form.reportValidity=bo.get(this.form),bo.delete(this.form))),this.form=void 0}setUserInteracted(t,e){e?ls.add(t):ls.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!ls.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t==null||t.preventDefault()}},Ko=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),od=Object.freeze(Zo(Qe({},Ko),{valid:!1,valueMissing:!0})),rd=Object.freeze(Zo(Qe({},Ko),{valid:!1,customError:!0})),kn=z`
365
+ `}};is.styles=jl;var ho=new WeakMap,bo=new WeakMap,ls=new WeakSet,Ko=new WeakMap,po=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),s=this.options.name(this.host),a=this.options.value(this.host),n=this.host.tagName.toLowerCase()==="sl-button";!r&&!n&&typeof s=="string"&&s.length>0&&typeof a<"u"&&(Array.isArray(a)?a.forEach(c=>{o.formData.append(s,c.toString())}):o.formData.append(s,a.toString()))},this.handleFormSubmit=o=>{var r;const s=this.options.disabled(this.host),a=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=ho.get(this.form))==null||r.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!s&&!a(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),Ko.set(this.host,[])},this.handleInteraction=o=>{const r=Ko.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=Qe({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){const r=o.getRootNode(),s=o.getAttribute("form");if(s)return r.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),Ko.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),Ko.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,ho.has(this.form)?ho.get(this.form).add(this.host):ho.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),bo.has(this.form)||(bo.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=ho.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),bo.has(this.form)&&(this.form.reportValidity=bo.get(this.form),bo.delete(this.form))),this.form=void 0}setUserInteracted(t,e){e?ls.add(t):ls.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!ls.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t==null||t.preventDefault()}},Yo=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),od=Object.freeze(Wo(Qe({},Yo),{valid:!1,valueMissing:!0})),rd=Object.freeze(Wo(Qe({},Yo),{valid:!1,customError:!0})),kn=R`
360
366
  ${Q}
361
367
 
362
368
  :host {
@@ -951,7 +957,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
951
957
  :host(.sl-button-group__button[checked]) {
952
958
  z-index: 2;
953
959
  }
954
- `,xt=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},sd=z`
960
+ `,xt=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},sd=R`
955
961
  ${Q}
956
962
 
957
963
  :host {
@@ -1062,9 +1068,9 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1062
1068
  * @license
1063
1069
  * Copyright 2020 Google LLC
1064
1070
  * SPDX-License-Identifier: BSD-3-Clause
1065
- */const{D:hd}=Ji,bd=(t,e)=>e===void 0?(t==null?void 0:t._$litType$)!==void 0:(t==null?void 0:t._$litType$)===e,pd=t=>t.strings===void 0,En=()=>document.createComment(""),go=(t,e,o)=>{var a;const r=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(o===void 0){const n=r.insertBefore(En(),s),c=r.insertBefore(En(),s);o=new hd(n,c,t,t.options)}else{const n=o._$AB.nextSibling,c=o._$AM,i=c!==t;if(i){let l;(a=o._$AQ)==null||a.call(o,t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==c._$AU&&o._$AP(l)}if(n!==s||i){let l=o._$AA;for(;l!==n;){const d=l.nextSibling;r.insertBefore(l,s),l=d}}}return o},kt=(t,e,o=t)=>(t._$AI(e,o),t),gd={},Sn=(t,e=gd)=>t._$AH=e,md=t=>t._$AH,us=t=>{var r;(r=t._$AP)==null||r.call(t,!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const s=e.nextSibling;e.remove(),e=s}};var mo=Symbol(),Yo=Symbol(),hs,bs=new Map,fe=class extends j{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e!=null&&e.spriteSheet)return A`<svg part="svg">
1071
+ */const{D:hd}=Ji,bd=(t,e)=>e===void 0?(t==null?void 0:t._$litType$)!==void 0:(t==null?void 0:t._$litType$)===e,pd=t=>t.strings===void 0,En=()=>document.createComment(""),go=(t,e,o)=>{var a;const r=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(o===void 0){const n=r.insertBefore(En(),s),c=r.insertBefore(En(),s);o=new hd(n,c,t,t.options)}else{const n=o._$AB.nextSibling,c=o._$AM,i=c!==t;if(i){let l;(a=o._$AQ)==null||a.call(o,t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==c._$AU&&o._$AP(l)}if(n!==s||i){let l=o._$AA;for(;l!==n;){const d=l.nextSibling;r.insertBefore(l,s),l=d}}}return o},kt=(t,e,o=t)=>(t._$AI(e,o),t),gd={},Sn=(t,e=gd)=>t._$AH=e,md=t=>t._$AH,us=t=>{var r;(r=t._$AP)==null||r.call(t,!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const s=e.nextSibling;e.remove(),e=s}};var mo=Symbol(),Jo=Symbol(),hs,bs=new Map,fe=class extends j{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e!=null&&e.spriteSheet)return A`<svg part="svg">
1066
1072
  <use part="use" href="${t}"></use>
1067
- </svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?mo:Yo}catch{return Yo}try{const s=document.createElement("div");s.innerHTML=await r.text();const a=s.firstElementChild;if(((o=a==null?void 0:a.tagName)==null?void 0:o.toLowerCase())!=="svg")return mo;hs||(hs=new DOMParser);const c=hs.parseFromString(a.outerHTML,"text/html").body.querySelector("svg");return c?(c.part.add("svg"),document.adoptNode(c)):mo}catch{return mo}}connectedCallback(){super.connectedCallback(),fd(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),ud(this)}getIconSource(){const t=$n(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?$n(this.library):void 0;if(!e){this.svg=null;return}let s=bs.get(e);if(s||(s=this.resolveIcon(e,r),bs.set(e,s)),!this.initialRender)return;const a=await s;if(a===Yo&&bs.delete(e),e===this.getIconSource().url){if(bd(a)){this.svg=a;return}switch(a){case Yo:case mo:this.svg=null,this.emit("sl-error");break;default:this.svg=a.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};fe.styles=sd,b([re()],fe.prototype,"svg",2),b([p({reflect:!0})],fe.prototype,"name",2),b([p()],fe.prototype,"src",2),b([p()],fe.prototype,"label",2),b([p({reflect:!0})],fe.prototype,"library",2),b([H("label")],fe.prototype,"handleLabelChange",1),b([H(["name","src","library"])],fe.prototype,"setIcon",1);/**
1073
+ </svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?mo:Jo}catch{return Jo}try{const s=document.createElement("div");s.innerHTML=await r.text();const a=s.firstElementChild;if(((o=a==null?void 0:a.tagName)==null?void 0:o.toLowerCase())!=="svg")return mo;hs||(hs=new DOMParser);const c=hs.parseFromString(a.outerHTML,"text/html").body.querySelector("svg");return c?(c.part.add("svg"),document.adoptNode(c)):mo}catch{return mo}}connectedCallback(){super.connectedCallback(),fd(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),ud(this)}getIconSource(){const t=$n(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?$n(this.library):void 0;if(!e){this.svg=null;return}let s=bs.get(e);if(s||(s=this.resolveIcon(e,r),bs.set(e,s)),!this.initialRender)return;const a=await s;if(a===Jo&&bs.delete(e),e===this.getIconSource().url){if(bd(a)){this.svg=a;return}switch(a){case Jo:case mo:this.svg=null,this.emit("sl-error");break;default:this.svg=a.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};fe.styles=sd,b([re()],fe.prototype,"svg",2),b([p({reflect:!0})],fe.prototype,"name",2),b([p()],fe.prototype,"src",2),b([p()],fe.prototype,"label",2),b([p({reflect:!0})],fe.prototype,"library",2),b([H("label")],fe.prototype,"handleLabelChange",1),b([H(["name","src","library"])],fe.prototype,"setIcon",1);/**
1068
1074
  * @license
1069
1075
  * Copyright 2017 Google LLC
1070
1076
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1076,12 +1082,12 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1076
1082
  * @license
1077
1083
  * Copyright 2020 Google LLC
1078
1084
  * SPDX-License-Identifier: BSD-3-Clause
1079
- */const qn=Symbol.for(""),vd=t=>{if((t==null?void 0:t.r)===qn)return t==null?void 0:t._$litStatic$},Jo=(t,...e)=>({_$litStatic$:e.reduce((o,r,s)=>o+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
1085
+ */const qn=Symbol.for(""),vd=t=>{if((t==null?void 0:t.r)===qn)return t==null?void 0:t._$litStatic$},Qo=(t,...e)=>({_$litStatic$:e.reduce((o,r,s)=>o+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
1080
1086
  take care to ensure page security.`)})(r)+t[s+1],t[0]),r:qn}),Dn=new Map,yd=t=>(e,...o)=>{const r=o.length;let s,a;const n=[],c=[];let i,l=0,d=!1;for(;l<r;){for(i=e[l];l<r&&(a=o[l],(s=vd(a))!==void 0);)i+=s+e[++l],d=!0;l!==r&&c.push(a),n.push(i),l++}if(l===r&&n.push(e[r]),d){const f=n.join("$$lit$$");(e=Dn.get(f))===void 0&&(n.raw=n,Dn.set(f,e=n)),o=c}return t(e,...o)},vo=yd(Yi);/**
1081
1087
  * @license
1082
1088
  * Copyright 2018 Google LLC
1083
1089
  * SPDX-License-Identifier: BSD-3-Clause
1084
- */const E=t=>t??G;var N=class extends j{constructor(){super(...arguments),this.formControlController=new po(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");return e.getElementById(o)}return t.closest("form")},assumeInteractionOn:["click"]}),this.hasSlotController=new xt(this,"[default]","prefix","suffix"),this.localize=new Je(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:Ko}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?Jo`a`:Jo`button`;return vo`
1090
+ */const E=t=>t??G;var N=class extends j{constructor(){super(...arguments),this.formControlController=new po(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");return e.getElementById(o)}return t.closest("form")},assumeInteractionOn:["click"]}),this.hasSlotController=new xt(this,"[default]","prefix","suffix"),this.localize=new Je(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:Yo}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?Qo`a`:Qo`button`;return vo`
1085
1091
  <${e}
1086
1092
  part="base"
1087
1093
  class=${K({button:!0,"button--default":this.variant==="default","button--primary":this.variant==="primary","button--success":this.variant==="success","button--neutral":this.variant==="neutral","button--warning":this.variant==="warning","button--danger":this.variant==="danger","button--text":this.variant==="text","button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--caret":this.caret,"button--circle":this.circle,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--standard":!this.outline,"button--outline":this.outline,"button--pill":this.pill,"button--rtl":this.localize.dir()==="rtl","button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
@@ -1108,7 +1114,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1108
1114
  ${this.caret?vo` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
1109
1115
  ${this.loading?vo`<sl-spinner part="spinner"></sl-spinner>`:""}
1110
1116
  </${e}>
1111
- `}};N.styles=kn,N.dependencies={"sl-icon":fe,"sl-spinner":is},b([V(".button")],N.prototype,"button",2),b([re()],N.prototype,"hasFocus",2),b([re()],N.prototype,"invalid",2),b([p()],N.prototype,"title",2),b([p({reflect:!0})],N.prototype,"variant",2),b([p({reflect:!0})],N.prototype,"size",2),b([p({type:Boolean,reflect:!0})],N.prototype,"caret",2),b([p({type:Boolean,reflect:!0})],N.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],N.prototype,"loading",2),b([p({type:Boolean,reflect:!0})],N.prototype,"outline",2),b([p({type:Boolean,reflect:!0})],N.prototype,"pill",2),b([p({type:Boolean,reflect:!0})],N.prototype,"circle",2),b([p()],N.prototype,"type",2),b([p()],N.prototype,"name",2),b([p()],N.prototype,"value",2),b([p()],N.prototype,"href",2),b([p()],N.prototype,"target",2),b([p()],N.prototype,"rel",2),b([p()],N.prototype,"download",2),b([p()],N.prototype,"form",2),b([p({attribute:"formaction"})],N.prototype,"formAction",2),b([p({attribute:"formenctype"})],N.prototype,"formEnctype",2),b([p({attribute:"formmethod"})],N.prototype,"formMethod",2),b([p({attribute:"formnovalidate",type:Boolean})],N.prototype,"formNoValidate",2),b([p({attribute:"formtarget"})],N.prototype,"formTarget",2),b([H("disabled",{waitUntilFirstUpdate:!0})],N.prototype,"handleDisabledChange",1),N.define("sl-button");var wd={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};Zl(wd);var _d=z`
1117
+ `}};N.styles=kn,N.dependencies={"sl-icon":fe,"sl-spinner":is},b([V(".button")],N.prototype,"button",2),b([re()],N.prototype,"hasFocus",2),b([re()],N.prototype,"invalid",2),b([p()],N.prototype,"title",2),b([p({reflect:!0})],N.prototype,"variant",2),b([p({reflect:!0})],N.prototype,"size",2),b([p({type:Boolean,reflect:!0})],N.prototype,"caret",2),b([p({type:Boolean,reflect:!0})],N.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],N.prototype,"loading",2),b([p({type:Boolean,reflect:!0})],N.prototype,"outline",2),b([p({type:Boolean,reflect:!0})],N.prototype,"pill",2),b([p({type:Boolean,reflect:!0})],N.prototype,"circle",2),b([p()],N.prototype,"type",2),b([p()],N.prototype,"name",2),b([p()],N.prototype,"value",2),b([p()],N.prototype,"href",2),b([p()],N.prototype,"target",2),b([p()],N.prototype,"rel",2),b([p()],N.prototype,"download",2),b([p()],N.prototype,"form",2),b([p({attribute:"formaction"})],N.prototype,"formAction",2),b([p({attribute:"formenctype"})],N.prototype,"formEnctype",2),b([p({attribute:"formmethod"})],N.prototype,"formMethod",2),b([p({attribute:"formnovalidate",type:Boolean})],N.prototype,"formNoValidate",2),b([p({attribute:"formtarget"})],N.prototype,"formTarget",2),b([H("disabled",{waitUntilFirstUpdate:!0})],N.prototype,"handleDisabledChange",1),N.define("sl-button");var wd={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};Zl(wd);var _d=R`
1112
1118
  ${Q}
1113
1119
 
1114
1120
  :host {
@@ -1197,7 +1203,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1197
1203
  >
1198
1204
  ${this.image&&!this.hasError?t:e}
1199
1205
  </div>
1200
- `}};Se.styles=_d,Se.dependencies={"sl-icon":fe},b([re()],Se.prototype,"hasError",2),b([p()],Se.prototype,"image",2),b([p()],Se.prototype,"label",2),b([p()],Se.prototype,"initials",2),b([p()],Se.prototype,"loading",2),b([p({reflect:!0})],Se.prototype,"shape",2),b([H("image")],Se.prototype,"handleImageChange",1),Se.define("sl-avatar");var ms=z`
1206
+ `}};Se.styles=_d,Se.dependencies={"sl-icon":fe},b([re()],Se.prototype,"hasError",2),b([p()],Se.prototype,"image",2),b([p()],Se.prototype,"label",2),b([p()],Se.prototype,"initials",2),b([p()],Se.prototype,"loading",2),b([p({reflect:!0})],Se.prototype,"shape",2),b([H("image")],Se.prototype,"handleImageChange",1),Se.define("sl-avatar");var ms=R`
1201
1207
  .form-control .form-control__label {
1202
1208
  display: none;
1203
1209
  }
@@ -1253,7 +1259,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1253
1259
  .form-control--has-help-text.form-control--radio-group .form-control__help-text {
1254
1260
  margin-top: var(--sl-spacing-2x-small);
1255
1261
  }
1256
- `,xd=z`
1262
+ `,xd=R`
1257
1263
  ${Q}
1258
1264
  ${ms}
1259
1265
 
@@ -1554,7 +1560,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1554
1560
  * @license
1555
1561
  * Copyright 2020 Google LLC
1556
1562
  * SPDX-License-Identifier: BSD-3-Clause
1557
- */const ys=ps(class extends gs{constructor(t){if(super(t),t.type!==Xe.PROPERTY&&t.type!==Xe.ATTRIBUTE&&t.type!==Xe.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!pd(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===xe||e===G)return e;const o=t.element,r=t.name;if(t.type===Xe.PROPERTY){if(e===o[r])return xe}else if(t.type===Xe.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(r))return xe}else if(t.type===Xe.ATTRIBUTE&&o.getAttribute(r)===e+"")return xe;return Sn(t),e}});var L=class extends j{constructor(){super(...arguments),this.formControlController=new po(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new xt(this,"help-text","label"),this.localize=new Je(this),this.hasFocus=!1,this.title="",this.__numberInput=Object.assign(document.createElement("input"),{type:"number"}),this.__dateInput=Object.assign(document.createElement("input"),{type:"date"}),this.type="text",this.name="",this.value="",this.defaultValue="",this.size="medium",this.filled=!1,this.pill=!1,this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.placeholder="",this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.required=!1,this.spellcheck=!0}get valueAsDate(){var t;return this.__dateInput.type=this.type,this.__dateInput.value=this.value,((t=this.input)==null?void 0:t.valueAsDate)||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){var t;return this.__numberInput.value=this.value,((t=this.input)==null?void 0:t.valueAsNumber)||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.emit("sl-change")}handleClearClick(t){this.value="",this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&!this.readonly,a=s&&(typeof this.value=="number"||this.value.length>0);return A`
1563
+ */const ys=ps(class extends gs{constructor(t){if(super(t),t.type!==Xe.PROPERTY&&t.type!==Xe.ATTRIBUTE&&t.type!==Xe.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!pd(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===xe||e===G)return e;const o=t.element,r=t.name;if(t.type===Xe.PROPERTY){if(e===o[r])return xe}else if(t.type===Xe.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(r))return xe}else if(t.type===Xe.ATTRIBUTE&&o.getAttribute(r)===e+"")return xe;return Sn(t),e}});var z=class extends j{constructor(){super(...arguments),this.formControlController=new po(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new xt(this,"help-text","label"),this.localize=new Je(this),this.hasFocus=!1,this.title="",this.__numberInput=Object.assign(document.createElement("input"),{type:"number"}),this.__dateInput=Object.assign(document.createElement("input"),{type:"date"}),this.type="text",this.name="",this.value="",this.defaultValue="",this.size="medium",this.filled=!1,this.pill=!1,this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.placeholder="",this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.required=!1,this.spellcheck=!0}get valueAsDate(){var t;return this.__dateInput.type=this.type,this.__dateInput.value=this.value,((t=this.input)==null?void 0:t.valueAsDate)||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){var t;return this.__numberInput.value=this.value,((t=this.input)==null?void 0:t.valueAsNumber)||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.emit("sl-change")}handleClearClick(t){this.value="",this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&!this.readonly,a=s&&(typeof this.value=="number"||this.value.length>0);return A`
1558
1564
  <div
1559
1565
  part="form-control"
1560
1566
  class=${K({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-label":o,"form-control--has-help-text":r})}
@@ -1661,7 +1667,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1661
1667
  <slot name="help-text">${this.helpText}</slot>
1662
1668
  </div>
1663
1669
  </div>
1664
- `}};L.styles=xd,L.dependencies={"sl-icon":fe},b([V(".input__control")],L.prototype,"input",2),b([re()],L.prototype,"hasFocus",2),b([p()],L.prototype,"title",2),b([p({reflect:!0})],L.prototype,"type",2),b([p()],L.prototype,"name",2),b([p()],L.prototype,"value",2),b([vs()],L.prototype,"defaultValue",2),b([p({reflect:!0})],L.prototype,"size",2),b([p({type:Boolean,reflect:!0})],L.prototype,"filled",2),b([p({type:Boolean,reflect:!0})],L.prototype,"pill",2),b([p()],L.prototype,"label",2),b([p({attribute:"help-text"})],L.prototype,"helpText",2),b([p({type:Boolean})],L.prototype,"clearable",2),b([p({type:Boolean,reflect:!0})],L.prototype,"disabled",2),b([p()],L.prototype,"placeholder",2),b([p({type:Boolean,reflect:!0})],L.prototype,"readonly",2),b([p({attribute:"password-toggle",type:Boolean})],L.prototype,"passwordToggle",2),b([p({attribute:"password-visible",type:Boolean})],L.prototype,"passwordVisible",2),b([p({attribute:"no-spin-buttons",type:Boolean})],L.prototype,"noSpinButtons",2),b([p({reflect:!0})],L.prototype,"form",2),b([p({type:Boolean,reflect:!0})],L.prototype,"required",2),b([p()],L.prototype,"pattern",2),b([p({type:Number})],L.prototype,"minlength",2),b([p({type:Number})],L.prototype,"maxlength",2),b([p()],L.prototype,"min",2),b([p()],L.prototype,"max",2),b([p()],L.prototype,"step",2),b([p()],L.prototype,"autocapitalize",2),b([p()],L.prototype,"autocorrect",2),b([p()],L.prototype,"autocomplete",2),b([p({type:Boolean})],L.prototype,"autofocus",2),b([p()],L.prototype,"enterkeyhint",2),b([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],L.prototype,"spellcheck",2),b([p()],L.prototype,"inputmode",2),b([H("disabled",{waitUntilFirstUpdate:!0})],L.prototype,"handleDisabledChange",1),b([H("step",{waitUntilFirstUpdate:!0})],L.prototype,"handleStepChange",1),b([H("value",{waitUntilFirstUpdate:!0})],L.prototype,"handleValueChange",1),L.define("sl-input");var kd=z`
1670
+ `}};z.styles=xd,z.dependencies={"sl-icon":fe},b([V(".input__control")],z.prototype,"input",2),b([re()],z.prototype,"hasFocus",2),b([p()],z.prototype,"title",2),b([p({reflect:!0})],z.prototype,"type",2),b([p()],z.prototype,"name",2),b([p()],z.prototype,"value",2),b([vs()],z.prototype,"defaultValue",2),b([p({reflect:!0})],z.prototype,"size",2),b([p({type:Boolean,reflect:!0})],z.prototype,"filled",2),b([p({type:Boolean,reflect:!0})],z.prototype,"pill",2),b([p()],z.prototype,"label",2),b([p({attribute:"help-text"})],z.prototype,"helpText",2),b([p({type:Boolean})],z.prototype,"clearable",2),b([p({type:Boolean,reflect:!0})],z.prototype,"disabled",2),b([p()],z.prototype,"placeholder",2),b([p({type:Boolean,reflect:!0})],z.prototype,"readonly",2),b([p({attribute:"password-toggle",type:Boolean})],z.prototype,"passwordToggle",2),b([p({attribute:"password-visible",type:Boolean})],z.prototype,"passwordVisible",2),b([p({attribute:"no-spin-buttons",type:Boolean})],z.prototype,"noSpinButtons",2),b([p({reflect:!0})],z.prototype,"form",2),b([p({type:Boolean,reflect:!0})],z.prototype,"required",2),b([p()],z.prototype,"pattern",2),b([p({type:Number})],z.prototype,"minlength",2),b([p({type:Number})],z.prototype,"maxlength",2),b([p()],z.prototype,"min",2),b([p()],z.prototype,"max",2),b([p()],z.prototype,"step",2),b([p()],z.prototype,"autocapitalize",2),b([p()],z.prototype,"autocorrect",2),b([p()],z.prototype,"autocomplete",2),b([p({type:Boolean})],z.prototype,"autofocus",2),b([p()],z.prototype,"enterkeyhint",2),b([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],z.prototype,"spellcheck",2),b([p()],z.prototype,"inputmode",2),b([H("disabled",{waitUntilFirstUpdate:!0})],z.prototype,"handleDisabledChange",1),b([H("step",{waitUntilFirstUpdate:!0})],z.prototype,"handleStepChange",1),b([H("value",{waitUntilFirstUpdate:!0})],z.prototype,"handleValueChange",1),z.define("sl-input");var kd=R`
1665
1671
  ${Q}
1666
1672
  ${ms}
1667
1673
 
@@ -1887,7 +1893,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
1887
1893
  <slot name="help-text">${this.helpText}</slot>
1888
1894
  </div>
1889
1895
  </div>
1890
- `}};B.styles=kd,b([V(".textarea__control")],B.prototype,"input",2),b([re()],B.prototype,"hasFocus",2),b([p()],B.prototype,"title",2),b([p()],B.prototype,"name",2),b([p()],B.prototype,"value",2),b([p({reflect:!0})],B.prototype,"size",2),b([p({type:Boolean,reflect:!0})],B.prototype,"filled",2),b([p()],B.prototype,"label",2),b([p({attribute:"help-text"})],B.prototype,"helpText",2),b([p()],B.prototype,"placeholder",2),b([p({type:Number})],B.prototype,"rows",2),b([p()],B.prototype,"resize",2),b([p({type:Boolean,reflect:!0})],B.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],B.prototype,"readonly",2),b([p({reflect:!0})],B.prototype,"form",2),b([p({type:Boolean,reflect:!0})],B.prototype,"required",2),b([p({type:Number})],B.prototype,"minlength",2),b([p({type:Number})],B.prototype,"maxlength",2),b([p()],B.prototype,"autocapitalize",2),b([p()],B.prototype,"autocorrect",2),b([p()],B.prototype,"autocomplete",2),b([p({type:Boolean})],B.prototype,"autofocus",2),b([p()],B.prototype,"enterkeyhint",2),b([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],B.prototype,"spellcheck",2),b([p()],B.prototype,"inputmode",2),b([vs()],B.prototype,"defaultValue",2),b([H("disabled",{waitUntilFirstUpdate:!0})],B.prototype,"handleDisabledChange",1),b([H("rows",{waitUntilFirstUpdate:!0})],B.prototype,"handleRowsChange",1),b([H("value",{waitUntilFirstUpdate:!0})],B.prototype,"handleValueChange",1),B.define("sl-textarea");function Ad(t){return!!(t.offsetParent||t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Cd(t){const e=t.tagName.toLowerCase();return t.getAttribute("tabindex")==="-1"||t.hasAttribute("disabled")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!Ad(t)||window.getComputedStyle(t).visibility==="hidden"?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(e)}function Tn(t){const e=[];function o(r){if(r instanceof Element){if(r.hasAttribute("inert"))return;!e.includes(r)&&Cd(r)&&e.push(r);const s=a=>{var n;return((n=a.getRootNode({composed:!0}))==null?void 0:n.host)!==t};r instanceof HTMLSlotElement&&s(r)&&r.assignedElements({flatten:!0}).forEach(a=>{o(a)}),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&o(r.shadowRoot)}[...r.children].forEach(s=>o(s))}return o(t),e.sort((r,s)=>{const a=Number(r.getAttribute("tabindex"))||0;return(Number(s.getAttribute("tabindex"))||0)-a})}function*Ln(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*td(Ln(t.shadowRoot.activeElement))))}function $d(){return[...Ln()].pop()}var yo=[],Ed=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.checkFocus()},this.handleKeyDown=e=>{var o,r;if(e.key!=="Tab"||this.isExternalActivated)return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward",e.preventDefault();const s=Tn(this.element),a=$d();let n=s.findIndex(i=>i===a);if(n===-1){this.currentFocus=s[0],(o=this.currentFocus)==null||o.focus({preventScroll:!0});return}const c=this.tabDirection==="forward"?1:-1;n+c>=s.length?n=0:n+c<0?n=s.length-1:n+=c,this.currentFocus=s[n],(r=this.currentFocus)==null||r.focus({preventScroll:!0}),setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t}activate(){yo.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){yo=yo.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return yo[yo.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=Tn(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof(r==null?void 0:r.focus)=="function"&&(this.currentFocus=r,r.focus({preventScroll:!0}))}}}};function Sd(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}var ws=new Set;function qd(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function zn(t){if(ws.add(t),!document.body.classList.contains("sl-scroll-lock")){const e=qd();document.body.classList.add("sl-scroll-lock"),document.body.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function Rn(t){ws.delete(t),ws.size===0&&(document.body.classList.remove("sl-scroll-lock"),document.body.style.removeProperty("--sl-scroll-lock-size"))}function Pn(t,e,o="vertical",r="smooth"){const s=Sd(t,e),a=s.top+e.scrollTop,n=s.left+e.scrollLeft,c=e.scrollLeft,i=e.scrollLeft+e.offsetWidth,l=e.scrollTop,d=e.scrollTop+e.offsetHeight;(o==="horizontal"||o==="both")&&(n<c?e.scrollTo({left:n,behavior:r}):n+t.clientWidth>i&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:r})),(o==="vertical"||o==="both")&&(a<l?e.scrollTo({top:a,behavior:r}):a+t.clientHeight>d&&e.scrollTo({top:a-e.offsetHeight+t.clientHeight,behavior:r}))}var Dd=z`
1896
+ `}};B.styles=kd,b([V(".textarea__control")],B.prototype,"input",2),b([re()],B.prototype,"hasFocus",2),b([p()],B.prototype,"title",2),b([p()],B.prototype,"name",2),b([p()],B.prototype,"value",2),b([p({reflect:!0})],B.prototype,"size",2),b([p({type:Boolean,reflect:!0})],B.prototype,"filled",2),b([p()],B.prototype,"label",2),b([p({attribute:"help-text"})],B.prototype,"helpText",2),b([p()],B.prototype,"placeholder",2),b([p({type:Number})],B.prototype,"rows",2),b([p()],B.prototype,"resize",2),b([p({type:Boolean,reflect:!0})],B.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],B.prototype,"readonly",2),b([p({reflect:!0})],B.prototype,"form",2),b([p({type:Boolean,reflect:!0})],B.prototype,"required",2),b([p({type:Number})],B.prototype,"minlength",2),b([p({type:Number})],B.prototype,"maxlength",2),b([p()],B.prototype,"autocapitalize",2),b([p()],B.prototype,"autocorrect",2),b([p()],B.prototype,"autocomplete",2),b([p({type:Boolean})],B.prototype,"autofocus",2),b([p()],B.prototype,"enterkeyhint",2),b([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],B.prototype,"spellcheck",2),b([p()],B.prototype,"inputmode",2),b([vs()],B.prototype,"defaultValue",2),b([H("disabled",{waitUntilFirstUpdate:!0})],B.prototype,"handleDisabledChange",1),b([H("rows",{waitUntilFirstUpdate:!0})],B.prototype,"handleRowsChange",1),b([H("value",{waitUntilFirstUpdate:!0})],B.prototype,"handleValueChange",1),B.define("sl-textarea");function Ad(t){return!!(t.offsetParent||t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Cd(t){const e=t.tagName.toLowerCase();return t.getAttribute("tabindex")==="-1"||t.hasAttribute("disabled")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!Ad(t)||window.getComputedStyle(t).visibility==="hidden"?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(e)}function Tn(t){const e=[];function o(r){if(r instanceof Element){if(r.hasAttribute("inert"))return;!e.includes(r)&&Cd(r)&&e.push(r);const s=a=>{var n;return((n=a.getRootNode({composed:!0}))==null?void 0:n.host)!==t};r instanceof HTMLSlotElement&&s(r)&&r.assignedElements({flatten:!0}).forEach(a=>{o(a)}),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&o(r.shadowRoot)}[...r.children].forEach(s=>o(s))}return o(t),e.sort((r,s)=>{const a=Number(r.getAttribute("tabindex"))||0;return(Number(s.getAttribute("tabindex"))||0)-a})}function*Ln(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*td(Ln(t.shadowRoot.activeElement))))}function $d(){return[...Ln()].pop()}var yo=[],Ed=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.checkFocus()},this.handleKeyDown=e=>{var o,r;if(e.key!=="Tab"||this.isExternalActivated)return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward",e.preventDefault();const s=Tn(this.element),a=$d();let n=s.findIndex(i=>i===a);if(n===-1){this.currentFocus=s[0],(o=this.currentFocus)==null||o.focus({preventScroll:!0});return}const c=this.tabDirection==="forward"?1:-1;n+c>=s.length?n=0:n+c<0?n=s.length-1:n+=c,this.currentFocus=s[n],(r=this.currentFocus)==null||r.focus({preventScroll:!0}),setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t}activate(){yo.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){yo=yo.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return yo[yo.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=Tn(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof(r==null?void 0:r.focus)=="function"&&(this.currentFocus=r,r.focus({preventScroll:!0}))}}}};function Sd(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}var ws=new Set;function qd(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function zn(t){if(ws.add(t),!document.body.classList.contains("sl-scroll-lock")){const e=qd();document.body.classList.add("sl-scroll-lock"),document.body.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function Rn(t){ws.delete(t),ws.size===0&&(document.body.classList.remove("sl-scroll-lock"),document.body.style.removeProperty("--sl-scroll-lock-size"))}function Pn(t,e,o="vertical",r="smooth"){const s=Sd(t,e),a=s.top+e.scrollTop,n=s.left+e.scrollLeft,c=e.scrollLeft,i=e.scrollLeft+e.offsetWidth,l=e.scrollTop,d=e.scrollTop+e.offsetHeight;(o==="horizontal"||o==="both")&&(n<c?e.scrollTo({left:n,behavior:r}):n+t.clientWidth>i&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:r})),(o==="vertical"||o==="both")&&(a<l?e.scrollTo({top:a,behavior:r}):a+t.clientHeight>d&&e.scrollTo({top:a-e.offsetHeight+t.clientHeight,behavior:r}))}var Dd=R`
1891
1897
  ${Q}
1892
1898
 
1893
1899
  :host {
@@ -2006,7 +2012,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2006
2012
  border: solid 1px var(--sl-color-neutral-0);
2007
2013
  }
2008
2014
  }
2009
- `,Td=z`
2015
+ `,Td=R`
2010
2016
  ${Q}
2011
2017
 
2012
2018
  :host {
@@ -2055,7 +2061,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2055
2061
  .icon-button__icon {
2056
2062
  pointer-events: none;
2057
2063
  }
2058
- `,ae=class extends j{constructor(){super(...arguments),this.hasFocus=!1,this.label="",this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t=!!this.href,e=t?Jo`a`:Jo`button`;return vo`
2064
+ `,ae=class extends j{constructor(){super(...arguments),this.hasFocus=!1,this.label="",this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t=!!this.href,e=t?Qo`a`:Qo`button`;return vo`
2059
2065
  <${e}
2060
2066
  part="base"
2061
2067
  class=${K({"icon-button":!0,"icon-button--disabled":!t&&this.disabled,"icon-button--focused":this.hasFocus})}
@@ -2081,7 +2087,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2081
2087
  aria-hidden="true"
2082
2088
  ></sl-icon>
2083
2089
  </${e}>
2084
- `}};ae.styles=Td,ae.dependencies={"sl-icon":fe},b([V(".icon-button")],ae.prototype,"button",2),b([re()],ae.prototype,"hasFocus",2),b([p()],ae.prototype,"name",2),b([p()],ae.prototype,"library",2),b([p()],ae.prototype,"src",2),b([p()],ae.prototype,"href",2),b([p()],ae.prototype,"target",2),b([p()],ae.prototype,"download",2),b([p()],ae.prototype,"label",2),b([p({type:Boolean,reflect:!0})],ae.prototype,"disabled",2);var Mn=new Map,Ld=new WeakMap;function zd(t){return t??{keyframes:[],options:{duration:0}}}function In(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Oe(t,e){Mn.set(t,zd(e))}function Ne(t,e,o){const r=Ld.get(t);if(r!=null&&r[e])return In(r[e],o.dir);const s=Mn.get(e);return s?In(s,o.dir):{keyframes:[],options:{duration:0}}}function Rt(t,e){return new Promise(o=>{function r(s){s.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function Ve(t,e,o){return new Promise(r=>{if((o==null?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const s=t.animate(e,Zo(Qe({},o),{duration:Rd()?0:o.duration}));s.addEventListener("cancel",r,{once:!0}),s.addEventListener("finish",r,{once:!0})})}function Fn(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function Rd(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function et(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{const r=requestAnimationFrame(o);e.addEventListener("cancel",()=>r,{once:!0}),e.addEventListener("finish",()=>r,{once:!0}),e.cancel()})))}var qe=class extends j{constructor(){super(...arguments),this.hasSlotController=new xt(this,"footer"),this.localize=new Je(this),this.modal=new Ed(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),zn(this))}disconnectedCallback(){super.disconnectedCallback(),this.modal.deactivate(),Rn(this)}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=Ne(this,"dialog.denyClose",{dir:this.localize.dir()});Ve(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),zn(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([et(this.dialog),et(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=Ne(this,"dialog.show",{dir:this.localize.dir()}),o=Ne(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([Ve(this.panel,e.keyframes,e.options),Ve(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([et(this.dialog),et(this.overlay)]);const t=Ne(this,"dialog.hide",{dir:this.localize.dir()}),e=Ne(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([Ve(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),Ve(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,Rn(this);const o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,Rt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,Rt(this,"sl-after-hide")}render(){return A`
2090
+ `}};ae.styles=Td,ae.dependencies={"sl-icon":fe},b([V(".icon-button")],ae.prototype,"button",2),b([re()],ae.prototype,"hasFocus",2),b([p()],ae.prototype,"name",2),b([p()],ae.prototype,"library",2),b([p()],ae.prototype,"src",2),b([p()],ae.prototype,"href",2),b([p()],ae.prototype,"target",2),b([p()],ae.prototype,"download",2),b([p()],ae.prototype,"label",2),b([p({type:Boolean,reflect:!0})],ae.prototype,"disabled",2);var Mn=new Map,Ld=new WeakMap;function zd(t){return t??{keyframes:[],options:{duration:0}}}function In(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Oe(t,e){Mn.set(t,zd(e))}function Ne(t,e,o){const r=Ld.get(t);if(r!=null&&r[e])return In(r[e],o.dir);const s=Mn.get(e);return s?In(s,o.dir):{keyframes:[],options:{duration:0}}}function Rt(t,e){return new Promise(o=>{function r(s){s.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function Ve(t,e,o){return new Promise(r=>{if((o==null?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const s=t.animate(e,Wo(Qe({},o),{duration:Rd()?0:o.duration}));s.addEventListener("cancel",r,{once:!0}),s.addEventListener("finish",r,{once:!0})})}function Fn(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function Rd(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function et(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{const r=requestAnimationFrame(o);e.addEventListener("cancel",()=>r,{once:!0}),e.addEventListener("finish",()=>r,{once:!0}),e.cancel()})))}var qe=class extends j{constructor(){super(...arguments),this.hasSlotController=new xt(this,"footer"),this.localize=new Je(this),this.modal=new Ed(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),zn(this))}disconnectedCallback(){super.disconnectedCallback(),this.modal.deactivate(),Rn(this)}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=Ne(this,"dialog.denyClose",{dir:this.localize.dir()});Ve(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),zn(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([et(this.dialog),et(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=Ne(this,"dialog.show",{dir:this.localize.dir()}),o=Ne(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([Ve(this.panel,e.keyframes,e.options),Ve(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([et(this.dialog),et(this.overlay)]);const t=Ne(this,"dialog.hide",{dir:this.localize.dir()}),e=Ne(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([Ve(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),Ve(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,Rn(this);const o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,Rt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,Rt(this,"sl-after-hide")}render(){return A`
2085
2091
  <div
2086
2092
  part="base"
2087
2093
  class=${K({dialog:!0,"dialog--open":this.open,"dialog--has-footer":this.hasSlotController.test("footer")})}
@@ -2125,7 +2131,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2125
2131
  </footer>
2126
2132
  </div>
2127
2133
  </div>
2128
- `}};qe.styles=Dd,qe.dependencies={"sl-icon-button":ae},b([V(".dialog")],qe.prototype,"dialog",2),b([V(".dialog__panel")],qe.prototype,"panel",2),b([V(".dialog__overlay")],qe.prototype,"overlay",2),b([p({type:Boolean,reflect:!0})],qe.prototype,"open",2),b([p({reflect:!0})],qe.prototype,"label",2),b([p({attribute:"no-header",type:Boolean,reflect:!0})],qe.prototype,"noHeader",2),b([H("open",{waitUntilFirstUpdate:!0})],qe.prototype,"handleOpenChange",1),Oe("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Oe("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Oe("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Oe("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Oe("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),qe.define("sl-dialog");var Pd=z`
2134
+ `}};qe.styles=Dd,qe.dependencies={"sl-icon-button":ae},b([V(".dialog")],qe.prototype,"dialog",2),b([V(".dialog__panel")],qe.prototype,"panel",2),b([V(".dialog__overlay")],qe.prototype,"overlay",2),b([p({type:Boolean,reflect:!0})],qe.prototype,"open",2),b([p({reflect:!0})],qe.prototype,"label",2),b([p({attribute:"no-header",type:Boolean,reflect:!0})],qe.prototype,"noHeader",2),b([H("open",{waitUntilFirstUpdate:!0})],qe.prototype,"handleOpenChange",1),Oe("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Oe("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Oe("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Oe("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Oe("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),qe.define("sl-dialog");var Pd=R`
2129
2135
  ${Q}
2130
2136
 
2131
2137
  :host {
@@ -2398,7 +2404,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2398
2404
 
2399
2405
  <slot part="body" class="tab-group__body" @slotchange=${this.syncTabsAndPanels}></slot>
2400
2406
  </div>
2401
- `}};ue.styles=Pd,ue.dependencies={"sl-icon-button":ae},b([V(".tab-group")],ue.prototype,"tabGroup",2),b([V(".tab-group__body")],ue.prototype,"body",2),b([V(".tab-group__nav")],ue.prototype,"nav",2),b([V(".tab-group__indicator")],ue.prototype,"indicator",2),b([re()],ue.prototype,"hasScrollControls",2),b([p()],ue.prototype,"placement",2),b([p()],ue.prototype,"activation",2),b([p({attribute:"no-scroll-controls",type:Boolean})],ue.prototype,"noScrollControls",2),b([H("noScrollControls",{waitUntilFirstUpdate:!0})],ue.prototype,"updateScrollControls",1),b([H("placement",{waitUntilFirstUpdate:!0})],ue.prototype,"syncIndicator",1),ue.define("sl-tab-group");var Md=z`
2407
+ `}};ue.styles=Pd,ue.dependencies={"sl-icon-button":ae},b([V(".tab-group")],ue.prototype,"tabGroup",2),b([V(".tab-group__body")],ue.prototype,"body",2),b([V(".tab-group__nav")],ue.prototype,"nav",2),b([V(".tab-group__indicator")],ue.prototype,"indicator",2),b([re()],ue.prototype,"hasScrollControls",2),b([p()],ue.prototype,"placement",2),b([p()],ue.prototype,"activation",2),b([p({attribute:"no-scroll-controls",type:Boolean})],ue.prototype,"noScrollControls",2),b([H("noScrollControls",{waitUntilFirstUpdate:!0})],ue.prototype,"updateScrollControls",1),b([H("placement",{waitUntilFirstUpdate:!0})],ue.prototype,"syncIndicator",1),ue.define("sl-tab-group");var Md=R`
2402
2408
  ${Q}
2403
2409
 
2404
2410
  :host {
@@ -2488,7 +2494,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2488
2494
  ></sl-icon-button>
2489
2495
  `:""}
2490
2496
  </div>
2491
- `}};De.styles=Md,De.dependencies={"sl-icon-button":ae},b([V(".tab")],De.prototype,"tab",2),b([p({reflect:!0})],De.prototype,"panel",2),b([p({type:Boolean,reflect:!0})],De.prototype,"active",2),b([p({type:Boolean})],De.prototype,"closable",2),b([p({type:Boolean,reflect:!0})],De.prototype,"disabled",2),b([H("active")],De.prototype,"handleActiveChange",1),b([H("disabled")],De.prototype,"handleDisabledChange",1),De.define("sl-tab");var Fd=z`
2497
+ `}};De.styles=Md,De.dependencies={"sl-icon-button":ae},b([V(".tab")],De.prototype,"tab",2),b([p({reflect:!0})],De.prototype,"panel",2),b([p({type:Boolean,reflect:!0})],De.prototype,"active",2),b([p({type:Boolean})],De.prototype,"closable",2),b([p({type:Boolean,reflect:!0})],De.prototype,"disabled",2),b([H("active")],De.prototype,"handleActiveChange",1),b([H("disabled")],De.prototype,"handleDisabledChange",1),De.define("sl-tab");var Fd=R`
2492
2498
  ${Q}
2493
2499
 
2494
2500
  :host {
@@ -2510,7 +2516,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2510
2516
  part="base"
2511
2517
  class=${K({"tab-panel":!0,"tab-panel--active":this.active})}
2512
2518
  ></slot>
2513
- `}};wo.styles=Fd,b([p({reflect:!0})],wo.prototype,"name",2),b([p({type:Boolean,reflect:!0})],wo.prototype,"active",2),b([H("active")],wo.prototype,"handleActiveChange",1),wo.define("sl-tab-panel");var Od=z`
2519
+ `}};wo.styles=Fd,b([p({reflect:!0})],wo.prototype,"name",2),b([p({type:Boolean,reflect:!0})],wo.prototype,"active",2),b([H("active")],wo.prototype,"handleActiveChange",1),wo.define("sl-tab-panel");var Od=R`
2514
2520
  ${Q}
2515
2521
 
2516
2522
  :host {
@@ -2635,7 +2641,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2635
2641
 
2636
2642
  <slot part="label" class="radio__label"></slot>
2637
2643
  </span>
2638
- `}};Te.styles=Od,Te.dependencies={"sl-icon":fe},b([re()],Te.prototype,"checked",2),b([re()],Te.prototype,"hasFocus",2),b([p()],Te.prototype,"value",2),b([p({reflect:!0})],Te.prototype,"size",2),b([p({type:Boolean,reflect:!0})],Te.prototype,"disabled",2),b([H("checked")],Te.prototype,"handleCheckedChange",1),b([H("disabled",{waitUntilFirstUpdate:!0})],Te.prototype,"handleDisabledChange",1),Te.define("sl-radio");var Nd=z`
2644
+ `}};Te.styles=Od,Te.dependencies={"sl-icon":fe},b([re()],Te.prototype,"checked",2),b([re()],Te.prototype,"hasFocus",2),b([p()],Te.prototype,"value",2),b([p({reflect:!0})],Te.prototype,"size",2),b([p({type:Boolean,reflect:!0})],Te.prototype,"disabled",2),b([H("checked")],Te.prototype,"handleCheckedChange",1),b([H("disabled",{waitUntilFirstUpdate:!0})],Te.prototype,"handleDisabledChange",1),Te.define("sl-radio");var Nd=R`
2639
2645
  ${Q}
2640
2646
  ${ms}
2641
2647
 
@@ -2670,7 +2676,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2670
2676
  white-space: nowrap;
2671
2677
  border: 0;
2672
2678
  }
2673
- `,Vd=z`
2679
+ `,Vd=R`
2674
2680
  ${Q}
2675
2681
 
2676
2682
  :host {
@@ -2694,7 +2700,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2694
2700
  >
2695
2701
  <slot @slotchange=${this.handleSlotChange}></slot>
2696
2702
  </div>
2697
- `}};_o.styles=Vd,b([V("slot")],_o.prototype,"defaultSlot",2),b([re()],_o.prototype,"disableRole",2),b([p()],_o.prototype,"label",2);function xo(t){var e;const o="sl-button, sl-radio-button";return(e=t.closest(o))!=null?e:t.querySelector(o)}var te=class extends j{constructor(){super(...arguments),this.formControlController=new po(this),this.hasSlotController=new xt(this,"help-text","label"),this.customValidityMessage="",this.hasButtonGroup=!1,this.errorMessage="",this.defaultValue="",this.label="",this.helpText="",this.name="option",this.value="",this.size="medium",this.form="",this.required=!1}get validity(){const t=this.required&&!this.value;return this.customValidityMessage!==""?rd:t?od:Ko}get validationMessage(){const t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sl-radio, sl-radio-button")]}handleRadioClick(t){const e=t.target.closest("sl-radio, sl-radio-button"),o=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,o.forEach(s=>s.checked=s===e),this.value!==r&&(this.emit("sl-change"),this.emit("sl-input")))}handleKeyDown(t){var e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const o=this.getAllRadios().filter(c=>!c.disabled),r=(e=o.find(c=>c.checked))!=null?e:o[0],s=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,a=this.value;let n=o.indexOf(r)+s;n<0&&(n=o.length-1),n>o.length-1&&(n=0),this.getAllRadios().forEach(c=>{c.checked=!1,this.hasButtonGroup||(c.tabIndex=-1)}),this.value=o[n].value,o[n].checked=!0,this.hasButtonGroup?o[n].shadowRoot.querySelector("button").focus():(o[n].tabIndex=0,o[n].focus()),this.value!==a&&(this.emit("sl-change"),this.emit("sl-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),o=t.find(r=>r.checked)||t[0];o&&o.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map(async r=>{await r.updateComplete,r.checked=r.value===this.value,r.size=this.size})),this.hasButtonGroup=o.some(r=>r.tagName.toLowerCase()==="sl-radio-button"),!o.some(r=>r.checked))if(this.hasButtonGroup){const r=(t=o[0].shadowRoot)==null?void 0:t.querySelector("button");r&&(r.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const r=(e=this.shadowRoot)==null?void 0:e.querySelector("sl-button-group");r&&(r.disableRole=!0)}}syncRadios(){if(customElements.get("sl-radio")&&customElements.get("sl-radio-button")){this.syncRadioElements();return}customElements.get("sl-radio")?this.syncRadioElements():customElements.whenDefined("sl-radio").then(()=>this.syncRadios()),customElements.get("sl-radio-button")?this.syncRadioElements():customElements.whenDefined("sl-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){const t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorMessage=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=A`
2703
+ `}};_o.styles=Vd,b([V("slot")],_o.prototype,"defaultSlot",2),b([re()],_o.prototype,"disableRole",2),b([p()],_o.prototype,"label",2);function xo(t){var e;const o="sl-button, sl-radio-button";return(e=t.closest(o))!=null?e:t.querySelector(o)}var te=class extends j{constructor(){super(...arguments),this.formControlController=new po(this),this.hasSlotController=new xt(this,"help-text","label"),this.customValidityMessage="",this.hasButtonGroup=!1,this.errorMessage="",this.defaultValue="",this.label="",this.helpText="",this.name="option",this.value="",this.size="medium",this.form="",this.required=!1}get validity(){const t=this.required&&!this.value;return this.customValidityMessage!==""?rd:t?od:Yo}get validationMessage(){const t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sl-radio, sl-radio-button")]}handleRadioClick(t){const e=t.target.closest("sl-radio, sl-radio-button"),o=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,o.forEach(s=>s.checked=s===e),this.value!==r&&(this.emit("sl-change"),this.emit("sl-input")))}handleKeyDown(t){var e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const o=this.getAllRadios().filter(c=>!c.disabled),r=(e=o.find(c=>c.checked))!=null?e:o[0],s=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,a=this.value;let n=o.indexOf(r)+s;n<0&&(n=o.length-1),n>o.length-1&&(n=0),this.getAllRadios().forEach(c=>{c.checked=!1,this.hasButtonGroup||(c.tabIndex=-1)}),this.value=o[n].value,o[n].checked=!0,this.hasButtonGroup?o[n].shadowRoot.querySelector("button").focus():(o[n].tabIndex=0,o[n].focus()),this.value!==a&&(this.emit("sl-change"),this.emit("sl-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),o=t.find(r=>r.checked)||t[0];o&&o.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map(async r=>{await r.updateComplete,r.checked=r.value===this.value,r.size=this.size})),this.hasButtonGroup=o.some(r=>r.tagName.toLowerCase()==="sl-radio-button"),!o.some(r=>r.checked))if(this.hasButtonGroup){const r=(t=o[0].shadowRoot)==null?void 0:t.querySelector("button");r&&(r.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const r=(e=this.shadowRoot)==null?void 0:e.querySelector("sl-button-group");r&&(r.disableRole=!0)}}syncRadios(){if(customElements.get("sl-radio")&&customElements.get("sl-radio-button")){this.syncRadioElements();return}customElements.get("sl-radio")?this.syncRadioElements():customElements.whenDefined("sl-radio").then(()=>this.syncRadios()),customElements.get("sl-radio-button")?this.syncRadioElements():customElements.whenDefined("sl-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){const t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorMessage=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=A`
2698
2704
  <slot @slotchange=${this.syncRadios} @click=${this.handleRadioClick} @keydown=${this.handleKeyDown}></slot>
2699
2705
  `;return A`
2700
2706
  <fieldset
@@ -2746,7 +2752,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2746
2752
  <slot name="help-text">${this.helpText}</slot>
2747
2753
  </div>
2748
2754
  </fieldset>
2749
- `}};te.styles=Nd,te.dependencies={"sl-button-group":_o},b([V("slot:not([name])")],te.prototype,"defaultSlot",2),b([V(".radio-group__validation-input")],te.prototype,"validationInput",2),b([re()],te.prototype,"hasButtonGroup",2),b([re()],te.prototype,"errorMessage",2),b([re()],te.prototype,"defaultValue",2),b([p()],te.prototype,"label",2),b([p({attribute:"help-text"})],te.prototype,"helpText",2),b([p()],te.prototype,"name",2),b([p({reflect:!0})],te.prototype,"value",2),b([p({reflect:!0})],te.prototype,"size",2),b([p({reflect:!0})],te.prototype,"form",2),b([p({type:Boolean,reflect:!0})],te.prototype,"required",2),b([H("size",{waitUntilFirstUpdate:!0})],te.prototype,"handleSizeChange",1),b([H("value")],te.prototype,"handleValueChange",1),te.define("sl-radio-group");var Hd=z`
2755
+ `}};te.styles=Nd,te.dependencies={"sl-button-group":_o},b([V("slot:not([name])")],te.prototype,"defaultSlot",2),b([V(".radio-group__validation-input")],te.prototype,"validationInput",2),b([re()],te.prototype,"hasButtonGroup",2),b([re()],te.prototype,"errorMessage",2),b([re()],te.prototype,"defaultValue",2),b([p()],te.prototype,"label",2),b([p({attribute:"help-text"})],te.prototype,"helpText",2),b([p()],te.prototype,"name",2),b([p({reflect:!0})],te.prototype,"value",2),b([p({reflect:!0})],te.prototype,"size",2),b([p({reflect:!0})],te.prototype,"form",2),b([p({type:Boolean,reflect:!0})],te.prototype,"required",2),b([H("size",{waitUntilFirstUpdate:!0})],te.prototype,"handleSizeChange",1),b([H("value")],te.prototype,"handleValueChange",1),te.define("sl-radio-group");var Hd=R`
2750
2756
  ${kn}
2751
2757
 
2752
2758
  .button__prefix,
@@ -2790,7 +2796,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2790
2796
  <slot name="suffix" part="suffix" class="button__suffix"></slot>
2791
2797
  </button>
2792
2798
  </div>
2793
- `}};Ae.styles=Hd,b([V(".button")],Ae.prototype,"input",2),b([V(".hidden-input")],Ae.prototype,"hiddenInput",2),b([re()],Ae.prototype,"hasFocus",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"checked",2),b([p()],Ae.prototype,"value",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"disabled",2),b([p({reflect:!0})],Ae.prototype,"size",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"pill",2),b([H("disabled",{waitUntilFirstUpdate:!0})],Ae.prototype,"handleDisabledChange",1),Ae.define("sl-radio-button");var Ud=z`
2799
+ `}};Ae.styles=Hd,b([V(".button")],Ae.prototype,"input",2),b([V(".hidden-input")],Ae.prototype,"hiddenInput",2),b([re()],Ae.prototype,"hasFocus",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"checked",2),b([p()],Ae.prototype,"value",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"disabled",2),b([p({reflect:!0})],Ae.prototype,"size",2),b([p({type:Boolean,reflect:!0})],Ae.prototype,"pill",2),b([H("disabled",{waitUntilFirstUpdate:!0})],Ae.prototype,"handleDisabledChange",1),Ae.define("sl-radio-button");var Ud=R`
2794
2800
  ${Q}
2795
2801
 
2796
2802
  :host {
@@ -2988,7 +2994,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
2988
2994
  <slot></slot>
2989
2995
  </div>
2990
2996
  </label>
2991
- `}};ne.styles=Ud,b([V('input[type="checkbox"]')],ne.prototype,"input",2),b([re()],ne.prototype,"hasFocus",2),b([p()],ne.prototype,"title",2),b([p()],ne.prototype,"name",2),b([p()],ne.prototype,"value",2),b([p({reflect:!0})],ne.prototype,"size",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"checked",2),b([vs("checked")],ne.prototype,"defaultChecked",2),b([p({reflect:!0})],ne.prototype,"form",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"required",2),b([H("checked",{waitUntilFirstUpdate:!0})],ne.prototype,"handleCheckedChange",1),b([H("disabled",{waitUntilFirstUpdate:!0})],ne.prototype,"handleDisabledChange",1),ne.define("sl-switch");var jd=z`
2997
+ `}};ne.styles=Ud,b([V('input[type="checkbox"]')],ne.prototype,"input",2),b([re()],ne.prototype,"hasFocus",2),b([p()],ne.prototype,"title",2),b([p()],ne.prototype,"name",2),b([p()],ne.prototype,"value",2),b([p({reflect:!0})],ne.prototype,"size",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"checked",2),b([vs("checked")],ne.prototype,"defaultChecked",2),b([p({reflect:!0})],ne.prototype,"form",2),b([p({type:Boolean,reflect:!0})],ne.prototype,"required",2),b([H("checked",{waitUntilFirstUpdate:!0})],ne.prototype,"handleCheckedChange",1),b([H("disabled",{waitUntilFirstUpdate:!0})],ne.prototype,"handleDisabledChange",1),ne.define("sl-switch");var jd=R`
2992
2998
  ${Q}
2993
2999
 
2994
3000
  :host {
@@ -3041,7 +3047,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3041
3047
  user-select: none;
3042
3048
  -webkit-user-select: none;
3043
3049
  }
3044
- `,Gd=z`
3050
+ `,Gd=R`
3045
3051
  ${Q}
3046
3052
 
3047
3053
  :host {
@@ -3081,7 +3087,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3081
3087
  background: var(--arrow-color);
3082
3088
  z-index: -1;
3083
3089
  }
3084
- `;const tt=Math.min,he=Math.max,Qo=Math.round,Xo=Math.floor,ot=t=>({x:t,y:t}),Zd={left:"right",right:"left",bottom:"top",top:"bottom"},Wd={start:"end",end:"start"};function _s(t,e,o){return he(t,tt(e,o))}function Pt(t,e){return typeof t=="function"?t(e):t}function rt(t){return t.split("-")[0]}function Mt(t){return t.split("-")[1]}function Bn(t){return t==="x"?"y":"x"}function xs(t){return t==="y"?"height":"width"}function ko(t){return["top","bottom"].includes(rt(t))?"y":"x"}function ks(t){return Bn(ko(t))}function Kd(t,e,o){o===void 0&&(o=!1);const r=Mt(t),s=ks(t),a=xs(s);let n=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=er(n)),[n,er(n)]}function Yd(t){const e=er(t);return[As(t),e,As(e)]}function As(t){return t.replace(/start|end/g,e=>Wd[e])}function Jd(t,e,o){const r=["left","right"],s=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?a:n;default:return[]}}function Qd(t,e,o,r){const s=Mt(t);let a=Jd(rt(t),o==="start",r);return s&&(a=a.map(n=>n+"-"+s),e&&(a=a.concat(a.map(As)))),a}function er(t){return t.replace(/left|right|bottom|top/g,e=>Zd[e])}function Xd(t){return{top:0,right:0,bottom:0,left:0,...t}}function On(t){return typeof t!="number"?Xd(t):{top:t,right:t,bottom:t,left:t}}function tr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Nn(t,e,o){let{reference:r,floating:s}=t;const a=ko(e),n=ks(e),c=xs(n),i=rt(e),l=a==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[c]/2-s[c]/2;let u;switch(i){case"top":u={x:d,y:r.y-s.height};break;case"bottom":u={x:d,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:f};break;case"left":u={x:r.x-s.width,y:f};break;default:u={x:r.x,y:r.y}}switch(Mt(e)){case"start":u[n]-=h*(o&&l?-1:1);break;case"end":u[n]+=h*(o&&l?-1:1);break}return u}const ef=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:n}=o,c=a.filter(Boolean),i=await(n.isRTL==null?void 0:n.isRTL(e));let l=await n.getElementRects({reference:t,floating:e,strategy:s}),{x:d,y:f}=Nn(l,r,i),h=r,u={},g=0;for(let m=0;m<c.length;m++){const{name:w,fn:y}=c[m],{x:v,y:k,data:C,reset:$}=await y({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:u,rects:l,platform:n,elements:{reference:t,floating:e}});if(d=v??d,f=k??f,u={...u,[w]:{...u[w],...C}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(h=$.placement),$.rects&&(l=$.rects===!0?await n.getElementRects({reference:t,floating:e,strategy:s}):$.rects),{x:d,y:f}=Nn(l,h,i)),m=-1;continue}}return{x:d,y:f,placement:h,strategy:s,middlewareData:u}};async function Cs(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:n,elements:c,strategy:i}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:u=0}=Pt(e,t),g=On(u),w=c[h?f==="floating"?"reference":"floating":f],y=tr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:i})),v=f==="floating"?{...n.floating,x:r,y:s}:n.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),C=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},$=tr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:k,strategy:i}):v);return{top:(y.top-$.top+g.top)/C.y,bottom:($.bottom-y.bottom+g.bottom)/C.y,left:(y.left-$.left+g.left)/C.x,right:($.right-y.right+g.right)/C.x}}const tf=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:a,platform:n,elements:c,middlewareData:i}=e,{element:l,padding:d=0}=Pt(t,e)||{};if(l==null)return{};const f=On(d),h={x:o,y:r},u=ks(s),g=xs(u),m=await n.getDimensions(l),w=u==="y",y=w?"top":"left",v=w?"bottom":"right",k=w?"clientHeight":"clientWidth",C=a.reference[g]+a.reference[u]-h[u]-a.floating[g],$=h[u]-a.reference[u],_=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l));let D=_?_[k]:0;(!D||!await(n.isElement==null?void 0:n.isElement(_)))&&(D=c.floating[k]||a.floating[g]);const P=C/2-$/2,S=D/2-m[g]/2-1,q=tt(f[y],S),I=tt(f[v],S),W=q,ye=D-m[g]-I,x=D/2-m[g]/2+P,F=_s(W,x,ye),T=!i.arrow&&Mt(s)!=null&&x!=F&&a.reference[g]/2-(x<W?q:I)-m[g]/2<0,X=T?x<W?x-W:x-ye:0;return{[u]:h[u]+X,data:{[u]:F,centerOffset:x-F-X,...T&&{alignmentOffset:X}},reset:T}}}),of=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:a,rects:n,initialPlacement:c,platform:i,elements:l}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...w}=Pt(t,e);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const y=rt(s),v=rt(c)===c,k=await(i.isRTL==null?void 0:i.isRTL(l.floating)),C=h||(v||!m?[er(c)]:Yd(c));!h&&g!=="none"&&C.push(...Qd(c,m,g,k));const $=[c,...C],_=await Cs(e,w),D=[];let P=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&D.push(_[y]),f){const W=Kd(s,n,k);D.push(_[W[0]],_[W[1]])}if(P=[...P,{placement:s,overflows:D}],!D.every(W=>W<=0)){var S,q;const W=(((S=a.flip)==null?void 0:S.index)||0)+1,ye=$[W];if(ye)return{data:{index:W,overflows:P},reset:{placement:ye}};let x=(q=P.filter(F=>F.overflows[0]<=0).sort((F,T)=>F.overflows[1]-T.overflows[1])[0])==null?void 0:q.placement;if(!x)switch(u){case"bestFit":{var I;const F=(I=P.map(T=>[T.placement,T.overflows.filter(X=>X>0).reduce((X,Rr)=>X+Rr,0)]).sort((T,X)=>T[1]-X[1])[0])==null?void 0:I[0];F&&(x=F);break}case"initialPlacement":x=c;break}if(s!==x)return{reset:{placement:x}}}return{}}}};async function rf(t,e){const{placement:o,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),n=rt(o),c=Mt(o),i=ko(o)==="y",l=["left","top"].includes(n)?-1:1,d=a&&i?-1:1,f=Pt(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof g=="number"&&(u=c==="end"?g*-1:g),i?{x:u*d,y:h*l}:{x:h*l,y:u*d}}const sf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await rf(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},af=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:c={fn:w=>{let{x:y,y:v}=w;return{x:y,y:v}}},...i}=Pt(t,e),l={x:o,y:r},d=await Cs(e,i),f=ko(rt(s)),h=Bn(f);let u=l[h],g=l[f];if(a){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=u+d[w],k=u-d[y];u=_s(v,u,k)}if(n){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=g+d[w],k=g-d[y];g=_s(v,g,k)}const m=c.fn({...e,[h]:u,[f]:g});return{...m,data:{x:m.x-o,y:m.y-r}}}}},Vn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:a}=e,{apply:n=()=>{},...c}=Pt(t,e),i=await Cs(e,c),l=rt(o),d=Mt(o),f=ko(o)==="y",{width:h,height:u}=r.floating;let g,m;l==="top"||l==="bottom"?(g=l,m=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=l,g=d==="end"?"top":"bottom");const w=u-i[g],y=h-i[m],v=!e.middlewareData.shift;let k=w,C=y;if(f){const _=h-i.left-i.right;C=d||v?tt(y,_):_}else{const _=u-i.top-i.bottom;k=d||v?tt(w,_):_}if(v&&!d){const _=he(i.left,0),D=he(i.right,0),P=he(i.top,0),S=he(i.bottom,0);f?C=h-2*(_!==0||D!==0?_+D:he(i.left,i.right)):k=u-2*(P!==0||S!==0?P+S:he(i.top,i.bottom))}await n({...e,availableWidth:C,availableHeight:k});const $=await s.getDimensions(a.floating);return h!==$.width||u!==$.height?{reset:{rects:!0}}:{}}}};function st(t){return Hn(t)?(t.nodeName||"").toLowerCase():"#document"}function be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function He(t){var e;return(e=(Hn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Hn(t){return t instanceof Node||t instanceof be(t).Node}function Ue(t){return t instanceof Element||t instanceof be(t).Element}function Le(t){return t instanceof HTMLElement||t instanceof be(t).HTMLElement}function Un(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof be(t).ShadowRoot}function Ao(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=me(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function nf(t){return["table","td","th"].includes(st(t))}function $s(t){const e=Es(),o=me(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function cf(t){let e=It(t);for(;Le(e)&&!or(e);){if($s(e))return e;e=It(e)}return null}function Es(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function or(t){return["html","body","#document"].includes(st(t))}function me(t){return be(t).getComputedStyle(t)}function rr(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function It(t){if(st(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Un(t)&&t.host||He(t);return Un(e)?e.host:e}function jn(t){const e=It(t);return or(e)?t.ownerDocument?t.ownerDocument.body:t.body:Le(e)&&Ao(e)?e:jn(e)}function Co(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=jn(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),n=be(s);return a?e.concat(n,n.visualViewport||[],Ao(s)?s:[],n.frameElement&&o?Co(n.frameElement):[]):e.concat(s,Co(s))}function Gn(t){const e=me(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Le(t),a=s?t.offsetWidth:o,n=s?t.offsetHeight:r,c=Qo(o)!==a||Qo(r)!==n;return c&&(o=a,r=n),{width:o,height:r,$:c}}function Ss(t){return Ue(t)?t:t.contextElement}function Ft(t){const e=Ss(t);if(!Le(e))return ot(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:a}=Gn(e);let n=(a?Qo(o.width):o.width)/r,c=(a?Qo(o.height):o.height)/s;return(!n||!Number.isFinite(n))&&(n=1),(!c||!Number.isFinite(c))&&(c=1),{x:n,y:c}}const lf=ot(0);function Zn(t){const e=be(t);return!Es()||!e.visualViewport?lf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function df(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==be(t)?!1:e}function At(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),a=Ss(t);let n=ot(1);e&&(r?Ue(r)&&(n=Ft(r)):n=Ft(t));const c=df(a,o,r)?Zn(a):ot(0);let i=(s.left+c.x)/n.x,l=(s.top+c.y)/n.y,d=s.width/n.x,f=s.height/n.y;if(a){const h=be(a),u=r&&Ue(r)?be(r):r;let g=h.frameElement;for(;g&&r&&u!==h;){const m=Ft(g),w=g.getBoundingClientRect(),y=me(g),v=w.left+(g.clientLeft+parseFloat(y.paddingLeft))*m.x,k=w.top+(g.clientTop+parseFloat(y.paddingTop))*m.y;i*=m.x,l*=m.y,d*=m.x,f*=m.y,i+=v,l+=k,g=be(g).frameElement}}return tr({width:d,height:f,x:i,y:l})}function ff(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=Le(o),a=He(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},c=ot(1);const i=ot(0);if((s||!s&&r!=="fixed")&&((st(o)!=="body"||Ao(a))&&(n=rr(o)),Le(o))){const l=At(o);c=Ft(o),i.x=l.x+o.clientLeft,i.y=l.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-n.scrollLeft*c.x+i.x,y:e.y*c.y-n.scrollTop*c.y+i.y}}function uf(t){return Array.from(t.getClientRects())}function Wn(t){return At(He(t)).left+rr(t).scrollLeft}function hf(t){const e=He(t),o=rr(t),r=t.ownerDocument.body,s=he(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=he(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Wn(t);const c=-o.scrollTop;return me(r).direction==="rtl"&&(n+=he(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:n,y:c}}function bf(t,e){const o=be(t),r=He(t),s=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,c=0,i=0;if(s){a=s.width,n=s.height;const l=Es();(!l||l&&e==="fixed")&&(c=s.offsetLeft,i=s.offsetTop)}return{width:a,height:n,x:c,y:i}}function pf(t,e){const o=At(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,a=Le(t)?Ft(t):ot(1),n=t.clientWidth*a.x,c=t.clientHeight*a.y,i=s*a.x,l=r*a.y;return{width:n,height:c,x:i,y:l}}function Kn(t,e,o){let r;if(e==="viewport")r=bf(t,o);else if(e==="document")r=hf(He(t));else if(Ue(e))r=pf(e,o);else{const s=Zn(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return tr(r)}function Yn(t,e){const o=It(t);return o===e||!Ue(o)||or(o)?!1:me(o).position==="fixed"||Yn(o,e)}function gf(t,e){const o=e.get(t);if(o)return o;let r=Co(t,[],!1).filter(c=>Ue(c)&&st(c)!=="body"),s=null;const a=me(t).position==="fixed";let n=a?It(t):t;for(;Ue(n)&&!or(n);){const c=me(n),i=$s(n);!i&&c.position==="fixed"&&(s=null),(a?!i&&!s:!i&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Ao(n)&&!i&&Yn(t,n))?r=r.filter(d=>d!==n):s=c,n=It(n)}return e.set(t,r),r}function mf(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const n=[...o==="clippingAncestors"?gf(e,this._c):[].concat(o),r],c=n[0],i=n.reduce((l,d)=>{const f=Kn(e,d,s);return l.top=he(f.top,l.top),l.right=tt(f.right,l.right),l.bottom=tt(f.bottom,l.bottom),l.left=he(f.left,l.left),l},Kn(e,c,s));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}}function vf(t){return Gn(t)}function yf(t,e,o){const r=Le(e),s=He(e),a=o==="fixed",n=At(t,!0,a,e);let c={scrollLeft:0,scrollTop:0};const i=ot(0);if(r||!r&&!a)if((st(e)!=="body"||Ao(s))&&(c=rr(e)),r){const l=At(e,!0,a,e);i.x=l.x+e.clientLeft,i.y=l.y+e.clientTop}else s&&(i.x=Wn(s));return{x:n.left+c.scrollLeft-i.x,y:n.top+c.scrollTop-i.y,width:n.width,height:n.height}}function Jn(t,e){return!Le(t)||me(t).position==="fixed"?null:e?e(t):t.offsetParent}function Qn(t,e){const o=be(t);if(!Le(t))return o;let r=Jn(t,e);for(;r&&nf(r)&&me(r).position==="static";)r=Jn(r,e);return r&&(st(r)==="html"||st(r)==="body"&&me(r).position==="static"&&!$s(r))?o:r||cf(t)||o}const wf=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||Qn,a=this.getDimensions;return{reference:yf(e,await s(o),r),floating:{x:0,y:0,...await a(o)}}};function _f(t){return me(t).direction==="rtl"}const sr={convertOffsetParentRelativeRectToViewportRelativeRect:ff,getDocumentElement:He,getClippingRect:mf,getOffsetParent:Qn,getElementRects:wf,getClientRects:uf,getDimensions:vf,getScale:Ft,isElement:Ue,isRTL:_f};function xf(t,e){let o=null,r;const s=He(t);function a(){clearTimeout(r),o&&o.disconnect(),o=null}function n(c,i){c===void 0&&(c=!1),i===void 0&&(i=1),a();const{left:l,top:d,width:f,height:h}=t.getBoundingClientRect();if(c||e(),!f||!h)return;const u=Xo(d),g=Xo(s.clientWidth-(l+f)),m=Xo(s.clientHeight-(d+h)),w=Xo(l),v={rootMargin:-u+"px "+-g+"px "+-m+"px "+-w+"px",threshold:he(0,tt(1,i))||1};let k=!0;function C($){const _=$[0].intersectionRatio;if(_!==i){if(!k)return n();_?n(!1,_):r=setTimeout(()=>{n(!1,1e-7)},100)}k=!1}try{o=new IntersectionObserver(C,{...v,root:s.ownerDocument})}catch{o=new IntersectionObserver(C,v)}o.observe(t)}return n(!0),a}function kf(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:i=!1}=r,l=Ss(t),d=s||a?[...l?Co(l):[],...Co(e)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",o,{passive:!0}),a&&y.addEventListener("resize",o)});const f=l&&c?xf(l,o):null;let h=-1,u=null;n&&(u=new ResizeObserver(y=>{let[v]=y;v&&v.target===l&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{u&&u.observe(e)})),o()}),l&&!i&&u.observe(l),u.observe(e));let g,m=i?At(t):null;i&&w();function w(){const y=At(t);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&o(),m=y,g=requestAnimationFrame(w)}return o(),()=>{d.forEach(y=>{s&&y.removeEventListener("scroll",o),a&&y.removeEventListener("resize",o)}),f&&f(),u&&u.disconnect(),u=null,i&&cancelAnimationFrame(g)}}const Af=(t,e,o)=>{const r=new Map,s={platform:sr,...o},a={...s.platform,_c:r};return ef(t,e,{...s,platform:a})};function Cf(t){return $f(t)}function qs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function $f(t){for(let e=t;e;e=qs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=qs(t);e;e=qs(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function Ef(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var U=class extends j{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||Ef(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=kf(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[sf({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Vn({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=s?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(of({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(af({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Vn({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(tf({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>sr.getOffsetParent(o,Cf):sr.getOffsetParent;Af(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:Zo(Qe({},sr),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:a})=>{const n=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];if(this.setAttribute("data-current-placement",a),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const i=s.arrow.x,l=s.arrow.y;let d="",f="",h="",u="";if(this.arrowPlacement==="start"){const g=typeof i=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",f=n?g:"",u=n?"":g}else if(this.arrowPlacement==="end"){const g=typeof i=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";f=n?"":g,u=n?g:"",h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(u=typeof i=="number"?"calc(50% - var(--arrow-size-diagonal))":"",d=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(u=typeof i=="number"?`${i}px`:"",d=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:d,right:f,bottom:h,left:u,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return A`
3090
+ `;const tt=Math.min,he=Math.max,Xo=Math.round,er=Math.floor,ot=t=>({x:t,y:t}),Zd={left:"right",right:"left",bottom:"top",top:"bottom"},Wd={start:"end",end:"start"};function _s(t,e,o){return he(t,tt(e,o))}function Pt(t,e){return typeof t=="function"?t(e):t}function rt(t){return t.split("-")[0]}function Mt(t){return t.split("-")[1]}function Bn(t){return t==="x"?"y":"x"}function xs(t){return t==="y"?"height":"width"}function ko(t){return["top","bottom"].includes(rt(t))?"y":"x"}function ks(t){return Bn(ko(t))}function Kd(t,e,o){o===void 0&&(o=!1);const r=Mt(t),s=ks(t),a=xs(s);let n=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=tr(n)),[n,tr(n)]}function Yd(t){const e=tr(t);return[As(t),e,As(e)]}function As(t){return t.replace(/start|end/g,e=>Wd[e])}function Jd(t,e,o){const r=["left","right"],s=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?a:n;default:return[]}}function Qd(t,e,o,r){const s=Mt(t);let a=Jd(rt(t),o==="start",r);return s&&(a=a.map(n=>n+"-"+s),e&&(a=a.concat(a.map(As)))),a}function tr(t){return t.replace(/left|right|bottom|top/g,e=>Zd[e])}function Xd(t){return{top:0,right:0,bottom:0,left:0,...t}}function On(t){return typeof t!="number"?Xd(t):{top:t,right:t,bottom:t,left:t}}function or(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Nn(t,e,o){let{reference:r,floating:s}=t;const a=ko(e),n=ks(e),c=xs(n),i=rt(e),l=a==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[c]/2-s[c]/2;let u;switch(i){case"top":u={x:d,y:r.y-s.height};break;case"bottom":u={x:d,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:f};break;case"left":u={x:r.x-s.width,y:f};break;default:u={x:r.x,y:r.y}}switch(Mt(e)){case"start":u[n]-=h*(o&&l?-1:1);break;case"end":u[n]+=h*(o&&l?-1:1);break}return u}const ef=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:n}=o,c=a.filter(Boolean),i=await(n.isRTL==null?void 0:n.isRTL(e));let l=await n.getElementRects({reference:t,floating:e,strategy:s}),{x:d,y:f}=Nn(l,r,i),h=r,u={},g=0;for(let m=0;m<c.length;m++){const{name:w,fn:y}=c[m],{x:v,y:k,data:C,reset:$}=await y({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:u,rects:l,platform:n,elements:{reference:t,floating:e}});if(d=v??d,f=k??f,u={...u,[w]:{...u[w],...C}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(h=$.placement),$.rects&&(l=$.rects===!0?await n.getElementRects({reference:t,floating:e,strategy:s}):$.rects),{x:d,y:f}=Nn(l,h,i)),m=-1;continue}}return{x:d,y:f,placement:h,strategy:s,middlewareData:u}};async function Cs(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:n,elements:c,strategy:i}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:u=0}=Pt(e,t),g=On(u),w=c[h?f==="floating"?"reference":"floating":f],y=or(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:i})),v=f==="floating"?{...n.floating,x:r,y:s}:n.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),C=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},$=or(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:k,strategy:i}):v);return{top:(y.top-$.top+g.top)/C.y,bottom:($.bottom-y.bottom+g.bottom)/C.y,left:(y.left-$.left+g.left)/C.x,right:($.right-y.right+g.right)/C.x}}const tf=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:a,platform:n,elements:c,middlewareData:i}=e,{element:l,padding:d=0}=Pt(t,e)||{};if(l==null)return{};const f=On(d),h={x:o,y:r},u=ks(s),g=xs(u),m=await n.getDimensions(l),w=u==="y",y=w?"top":"left",v=w?"bottom":"right",k=w?"clientHeight":"clientWidth",C=a.reference[g]+a.reference[u]-h[u]-a.floating[g],$=h[u]-a.reference[u],_=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l));let D=_?_[k]:0;(!D||!await(n.isElement==null?void 0:n.isElement(_)))&&(D=c.floating[k]||a.floating[g]);const P=C/2-$/2,S=D/2-m[g]/2-1,q=tt(f[y],S),I=tt(f[v],S),W=q,ye=D-m[g]-I,x=D/2-m[g]/2+P,F=_s(W,x,ye),T=!i.arrow&&Mt(s)!=null&&x!=F&&a.reference[g]/2-(x<W?q:I)-m[g]/2<0,X=T?x<W?x-W:x-ye:0;return{[u]:h[u]+X,data:{[u]:F,centerOffset:x-F-X,...T&&{alignmentOffset:X}},reset:T}}}),of=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:a,rects:n,initialPlacement:c,platform:i,elements:l}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...w}=Pt(t,e);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const y=rt(s),v=rt(c)===c,k=await(i.isRTL==null?void 0:i.isRTL(l.floating)),C=h||(v||!m?[tr(c)]:Yd(c));!h&&g!=="none"&&C.push(...Qd(c,m,g,k));const $=[c,...C],_=await Cs(e,w),D=[];let P=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&D.push(_[y]),f){const W=Kd(s,n,k);D.push(_[W[0]],_[W[1]])}if(P=[...P,{placement:s,overflows:D}],!D.every(W=>W<=0)){var S,q;const W=(((S=a.flip)==null?void 0:S.index)||0)+1,ye=$[W];if(ye)return{data:{index:W,overflows:P},reset:{placement:ye}};let x=(q=P.filter(F=>F.overflows[0]<=0).sort((F,T)=>F.overflows[1]-T.overflows[1])[0])==null?void 0:q.placement;if(!x)switch(u){case"bestFit":{var I;const F=(I=P.map(T=>[T.placement,T.overflows.filter(X=>X>0).reduce((X,Rr)=>X+Rr,0)]).sort((T,X)=>T[1]-X[1])[0])==null?void 0:I[0];F&&(x=F);break}case"initialPlacement":x=c;break}if(s!==x)return{reset:{placement:x}}}return{}}}};async function rf(t,e){const{placement:o,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),n=rt(o),c=Mt(o),i=ko(o)==="y",l=["left","top"].includes(n)?-1:1,d=a&&i?-1:1,f=Pt(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof g=="number"&&(u=c==="end"?g*-1:g),i?{x:u*d,y:h*l}:{x:h*l,y:u*d}}const sf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await rf(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},af=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:c={fn:w=>{let{x:y,y:v}=w;return{x:y,y:v}}},...i}=Pt(t,e),l={x:o,y:r},d=await Cs(e,i),f=ko(rt(s)),h=Bn(f);let u=l[h],g=l[f];if(a){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=u+d[w],k=u-d[y];u=_s(v,u,k)}if(n){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=g+d[w],k=g-d[y];g=_s(v,g,k)}const m=c.fn({...e,[h]:u,[f]:g});return{...m,data:{x:m.x-o,y:m.y-r}}}}},Vn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:a}=e,{apply:n=()=>{},...c}=Pt(t,e),i=await Cs(e,c),l=rt(o),d=Mt(o),f=ko(o)==="y",{width:h,height:u}=r.floating;let g,m;l==="top"||l==="bottom"?(g=l,m=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=l,g=d==="end"?"top":"bottom");const w=u-i[g],y=h-i[m],v=!e.middlewareData.shift;let k=w,C=y;if(f){const _=h-i.left-i.right;C=d||v?tt(y,_):_}else{const _=u-i.top-i.bottom;k=d||v?tt(w,_):_}if(v&&!d){const _=he(i.left,0),D=he(i.right,0),P=he(i.top,0),S=he(i.bottom,0);f?C=h-2*(_!==0||D!==0?_+D:he(i.left,i.right)):k=u-2*(P!==0||S!==0?P+S:he(i.top,i.bottom))}await n({...e,availableWidth:C,availableHeight:k});const $=await s.getDimensions(a.floating);return h!==$.width||u!==$.height?{reset:{rects:!0}}:{}}}};function st(t){return Hn(t)?(t.nodeName||"").toLowerCase():"#document"}function be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function He(t){var e;return(e=(Hn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Hn(t){return t instanceof Node||t instanceof be(t).Node}function Ue(t){return t instanceof Element||t instanceof be(t).Element}function Le(t){return t instanceof HTMLElement||t instanceof be(t).HTMLElement}function Un(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof be(t).ShadowRoot}function Ao(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=me(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function nf(t){return["table","td","th"].includes(st(t))}function $s(t){const e=Es(),o=me(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function cf(t){let e=It(t);for(;Le(e)&&!rr(e);){if($s(e))return e;e=It(e)}return null}function Es(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function rr(t){return["html","body","#document"].includes(st(t))}function me(t){return be(t).getComputedStyle(t)}function sr(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function It(t){if(st(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Un(t)&&t.host||He(t);return Un(e)?e.host:e}function jn(t){const e=It(t);return rr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Le(e)&&Ao(e)?e:jn(e)}function Co(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=jn(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),n=be(s);return a?e.concat(n,n.visualViewport||[],Ao(s)?s:[],n.frameElement&&o?Co(n.frameElement):[]):e.concat(s,Co(s))}function Gn(t){const e=me(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Le(t),a=s?t.offsetWidth:o,n=s?t.offsetHeight:r,c=Xo(o)!==a||Xo(r)!==n;return c&&(o=a,r=n),{width:o,height:r,$:c}}function Ss(t){return Ue(t)?t:t.contextElement}function Ft(t){const e=Ss(t);if(!Le(e))return ot(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:a}=Gn(e);let n=(a?Xo(o.width):o.width)/r,c=(a?Xo(o.height):o.height)/s;return(!n||!Number.isFinite(n))&&(n=1),(!c||!Number.isFinite(c))&&(c=1),{x:n,y:c}}const lf=ot(0);function Zn(t){const e=be(t);return!Es()||!e.visualViewport?lf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function df(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==be(t)?!1:e}function At(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),a=Ss(t);let n=ot(1);e&&(r?Ue(r)&&(n=Ft(r)):n=Ft(t));const c=df(a,o,r)?Zn(a):ot(0);let i=(s.left+c.x)/n.x,l=(s.top+c.y)/n.y,d=s.width/n.x,f=s.height/n.y;if(a){const h=be(a),u=r&&Ue(r)?be(r):r;let g=h.frameElement;for(;g&&r&&u!==h;){const m=Ft(g),w=g.getBoundingClientRect(),y=me(g),v=w.left+(g.clientLeft+parseFloat(y.paddingLeft))*m.x,k=w.top+(g.clientTop+parseFloat(y.paddingTop))*m.y;i*=m.x,l*=m.y,d*=m.x,f*=m.y,i+=v,l+=k,g=be(g).frameElement}}return or({width:d,height:f,x:i,y:l})}function ff(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=Le(o),a=He(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},c=ot(1);const i=ot(0);if((s||!s&&r!=="fixed")&&((st(o)!=="body"||Ao(a))&&(n=sr(o)),Le(o))){const l=At(o);c=Ft(o),i.x=l.x+o.clientLeft,i.y=l.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-n.scrollLeft*c.x+i.x,y:e.y*c.y-n.scrollTop*c.y+i.y}}function uf(t){return Array.from(t.getClientRects())}function Wn(t){return At(He(t)).left+sr(t).scrollLeft}function hf(t){const e=He(t),o=sr(t),r=t.ownerDocument.body,s=he(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=he(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Wn(t);const c=-o.scrollTop;return me(r).direction==="rtl"&&(n+=he(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:n,y:c}}function bf(t,e){const o=be(t),r=He(t),s=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,c=0,i=0;if(s){a=s.width,n=s.height;const l=Es();(!l||l&&e==="fixed")&&(c=s.offsetLeft,i=s.offsetTop)}return{width:a,height:n,x:c,y:i}}function pf(t,e){const o=At(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,a=Le(t)?Ft(t):ot(1),n=t.clientWidth*a.x,c=t.clientHeight*a.y,i=s*a.x,l=r*a.y;return{width:n,height:c,x:i,y:l}}function Kn(t,e,o){let r;if(e==="viewport")r=bf(t,o);else if(e==="document")r=hf(He(t));else if(Ue(e))r=pf(e,o);else{const s=Zn(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return or(r)}function Yn(t,e){const o=It(t);return o===e||!Ue(o)||rr(o)?!1:me(o).position==="fixed"||Yn(o,e)}function gf(t,e){const o=e.get(t);if(o)return o;let r=Co(t,[],!1).filter(c=>Ue(c)&&st(c)!=="body"),s=null;const a=me(t).position==="fixed";let n=a?It(t):t;for(;Ue(n)&&!rr(n);){const c=me(n),i=$s(n);!i&&c.position==="fixed"&&(s=null),(a?!i&&!s:!i&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Ao(n)&&!i&&Yn(t,n))?r=r.filter(d=>d!==n):s=c,n=It(n)}return e.set(t,r),r}function mf(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const n=[...o==="clippingAncestors"?gf(e,this._c):[].concat(o),r],c=n[0],i=n.reduce((l,d)=>{const f=Kn(e,d,s);return l.top=he(f.top,l.top),l.right=tt(f.right,l.right),l.bottom=tt(f.bottom,l.bottom),l.left=he(f.left,l.left),l},Kn(e,c,s));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}}function vf(t){return Gn(t)}function yf(t,e,o){const r=Le(e),s=He(e),a=o==="fixed",n=At(t,!0,a,e);let c={scrollLeft:0,scrollTop:0};const i=ot(0);if(r||!r&&!a)if((st(e)!=="body"||Ao(s))&&(c=sr(e)),r){const l=At(e,!0,a,e);i.x=l.x+e.clientLeft,i.y=l.y+e.clientTop}else s&&(i.x=Wn(s));return{x:n.left+c.scrollLeft-i.x,y:n.top+c.scrollTop-i.y,width:n.width,height:n.height}}function Jn(t,e){return!Le(t)||me(t).position==="fixed"?null:e?e(t):t.offsetParent}function Qn(t,e){const o=be(t);if(!Le(t))return o;let r=Jn(t,e);for(;r&&nf(r)&&me(r).position==="static";)r=Jn(r,e);return r&&(st(r)==="html"||st(r)==="body"&&me(r).position==="static"&&!$s(r))?o:r||cf(t)||o}const wf=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||Qn,a=this.getDimensions;return{reference:yf(e,await s(o),r),floating:{x:0,y:0,...await a(o)}}};function _f(t){return me(t).direction==="rtl"}const ar={convertOffsetParentRelativeRectToViewportRelativeRect:ff,getDocumentElement:He,getClippingRect:mf,getOffsetParent:Qn,getElementRects:wf,getClientRects:uf,getDimensions:vf,getScale:Ft,isElement:Ue,isRTL:_f};function xf(t,e){let o=null,r;const s=He(t);function a(){clearTimeout(r),o&&o.disconnect(),o=null}function n(c,i){c===void 0&&(c=!1),i===void 0&&(i=1),a();const{left:l,top:d,width:f,height:h}=t.getBoundingClientRect();if(c||e(),!f||!h)return;const u=er(d),g=er(s.clientWidth-(l+f)),m=er(s.clientHeight-(d+h)),w=er(l),v={rootMargin:-u+"px "+-g+"px "+-m+"px "+-w+"px",threshold:he(0,tt(1,i))||1};let k=!0;function C($){const _=$[0].intersectionRatio;if(_!==i){if(!k)return n();_?n(!1,_):r=setTimeout(()=>{n(!1,1e-7)},100)}k=!1}try{o=new IntersectionObserver(C,{...v,root:s.ownerDocument})}catch{o=new IntersectionObserver(C,v)}o.observe(t)}return n(!0),a}function kf(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:i=!1}=r,l=Ss(t),d=s||a?[...l?Co(l):[],...Co(e)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",o,{passive:!0}),a&&y.addEventListener("resize",o)});const f=l&&c?xf(l,o):null;let h=-1,u=null;n&&(u=new ResizeObserver(y=>{let[v]=y;v&&v.target===l&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{u&&u.observe(e)})),o()}),l&&!i&&u.observe(l),u.observe(e));let g,m=i?At(t):null;i&&w();function w(){const y=At(t);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&o(),m=y,g=requestAnimationFrame(w)}return o(),()=>{d.forEach(y=>{s&&y.removeEventListener("scroll",o),a&&y.removeEventListener("resize",o)}),f&&f(),u&&u.disconnect(),u=null,i&&cancelAnimationFrame(g)}}const Af=(t,e,o)=>{const r=new Map,s={platform:ar,...o},a={...s.platform,_c:r};return ef(t,e,{...s,platform:a})};function Cf(t){return $f(t)}function qs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function $f(t){for(let e=t;e;e=qs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=qs(t);e;e=qs(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function Ef(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var U=class extends j{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||Ef(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=kf(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[sf({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Vn({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=s?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(of({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(af({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Vn({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(tf({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>ar.getOffsetParent(o,Cf):ar.getOffsetParent;Af(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:Wo(Qe({},ar),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:a})=>{const n=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];if(this.setAttribute("data-current-placement",a),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const i=s.arrow.x,l=s.arrow.y;let d="",f="",h="",u="";if(this.arrowPlacement==="start"){const g=typeof i=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",f=n?g:"",u=n?"":g}else if(this.arrowPlacement==="end"){const g=typeof i=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";f=n?"":g,u=n?g:"",h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(u=typeof i=="number"?"calc(50% - var(--arrow-size-diagonal))":"",d=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(u=typeof i=="number"?`${i}px`:"",d=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:d,right:f,bottom:h,left:u,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return A`
3085
3091
  <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
3086
3092
 
3087
3093
  <div
@@ -3115,7 +3121,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3115
3121
  <slot name="content">${this.content}</slot>
3116
3122
  </div>
3117
3123
  </sl-popup>
3118
- `}};oe.styles=jd,oe.dependencies={"sl-popup":U},b([V("slot:not([name])")],oe.prototype,"defaultSlot",2),b([V(".tooltip__body")],oe.prototype,"body",2),b([V("sl-popup")],oe.prototype,"popup",2),b([p()],oe.prototype,"content",2),b([p()],oe.prototype,"placement",2),b([p({type:Boolean,reflect:!0})],oe.prototype,"disabled",2),b([p({type:Number})],oe.prototype,"distance",2),b([p({type:Boolean,reflect:!0})],oe.prototype,"open",2),b([p({type:Number})],oe.prototype,"skidding",2),b([p()],oe.prototype,"trigger",2),b([p({type:Boolean})],oe.prototype,"hoist",2),b([H("open",{waitUntilFirstUpdate:!0})],oe.prototype,"handleOpenChange",1),b([H(["content","distance","hoist","placement","skidding"])],oe.prototype,"handleOptionsChange",1),b([H("disabled")],oe.prototype,"handleDisabledChange",1),Oe("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Oe("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),oe.define("sl-tooltip"),is.define("sl-spinner");var Sf=z`
3124
+ `}};oe.styles=jd,oe.dependencies={"sl-popup":U},b([V("slot:not([name])")],oe.prototype,"defaultSlot",2),b([V(".tooltip__body")],oe.prototype,"body",2),b([V("sl-popup")],oe.prototype,"popup",2),b([p()],oe.prototype,"content",2),b([p()],oe.prototype,"placement",2),b([p({type:Boolean,reflect:!0})],oe.prototype,"disabled",2),b([p({type:Number})],oe.prototype,"distance",2),b([p({type:Boolean,reflect:!0})],oe.prototype,"open",2),b([p({type:Number})],oe.prototype,"skidding",2),b([p()],oe.prototype,"trigger",2),b([p({type:Boolean})],oe.prototype,"hoist",2),b([H("open",{waitUntilFirstUpdate:!0})],oe.prototype,"handleOpenChange",1),b([H(["content","distance","hoist","placement","skidding"])],oe.prototype,"handleOptionsChange",1),b([H("disabled")],oe.prototype,"handleDisabledChange",1),Oe("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Oe("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),oe.define("sl-tooltip"),is.define("sl-spinner");var Sf=R`
3119
3125
  ${Q}
3120
3126
 
3121
3127
  :host {
@@ -3236,19 +3242,19 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3236
3242
  ></sl-icon-button>
3237
3243
  `:""}
3238
3244
  </div>
3239
- `}};ze.styles=Sf,ze.dependencies={"sl-icon-button":ae},b([V('[part~="base"]')],ze.prototype,"base",2),b([p({type:Boolean,reflect:!0})],ze.prototype,"open",2),b([p({type:Boolean,reflect:!0})],ze.prototype,"closable",2),b([p({reflect:!0})],ze.prototype,"variant",2),b([p({type:Number})],ze.prototype,"duration",2),b([H("open",{waitUntilFirstUpdate:!0})],ze.prototype,"handleOpenChange",1),b([H("duration")],ze.prototype,"handleDurationChange",1),Oe("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Oe("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),ze.define("sl-alert");var qf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,Tf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Df(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&qf(e,o,s),s};class ce extends Be{constructor(){super(...arguments),this.lang="en"}emit(e,o){const r=new CustomEvent(e,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...o});return this.dispatchEvent(r),r}}Tf([p({type:String})],ce.prototype,"lang",2);const ar='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8L2.146 2.854Z"/></svg>';var Lf=Object.defineProperty,zf=Object.getOwnPropertyDescriptor,Xn=(t,e,o,r)=>{for(var s=r>1?void 0:r?zf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Lf(e,o,s),s};let nr=class extends ce{constructor(){super(...arguments),this.title="ChatBot"}render(){return A` <header class="cb-header" part="header">
3245
+ `}};ze.styles=Sf,ze.dependencies={"sl-icon-button":ae},b([V('[part~="base"]')],ze.prototype,"base",2),b([p({type:Boolean,reflect:!0})],ze.prototype,"open",2),b([p({type:Boolean,reflect:!0})],ze.prototype,"closable",2),b([p({reflect:!0})],ze.prototype,"variant",2),b([p({type:Number})],ze.prototype,"duration",2),b([H("open",{waitUntilFirstUpdate:!0})],ze.prototype,"handleOpenChange",1),b([H("duration")],ze.prototype,"handleDurationChange",1),Oe("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Oe("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),ze.define("sl-alert");var qf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,Tf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Df(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&qf(e,o,s),s};class ce extends Be{constructor(){super(...arguments),this.lang="en"}emit(e,o){const r=new CustomEvent(e,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...o});return this.dispatchEvent(r),r}}Tf([p({type:String})],ce.prototype,"lang",2);const nr='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8L2.146 2.854Z"/></svg>';var Lf=Object.defineProperty,zf=Object.getOwnPropertyDescriptor,Xn=(t,e,o,r)=>{for(var s=r>1?void 0:r?zf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Lf(e,o,s),s};let cr=class extends ce{constructor(){super(...arguments),this.title="ChatBot"}render(){return A` <header class="cb-header" part="header">
3240
3246
  <span class="left">
3241
- <sl-button @click=${this._clickHandler} class="cb-setting-button" variant="text" circle>
3242
- <cb-icon color="white" svg="${R.setting.logoSvg}"></cb-icon>
3247
+ <sl-button class="cb-setting-button" variant="text" circle>
3248
+ <cb-icon class="cb-header-logo" svg="${L.setting.logoSvg}"></cb-icon>
3243
3249
  </sl-button>
3244
3250
  </span>
3245
3251
  <span class="center title">${this.title}</span>
3246
3252
  <span class="right">
3247
3253
  <sl-button @click=${this._clickCloseHandler} class="cb-setting-button" variant="text" circle>
3248
- <cb-icon color="white" svg="${ar}"></cb-icon>
3254
+ <cb-icon class="cb-header-close" svg="${nr}"></cb-icon>
3249
3255
  </sl-button>
3250
3256
  </span>
3251
- </header>`}_clickHandler(){this.emit("setting:show")}_clickCloseHandler(){this.emit("chatbot:toggle",{detail:{open:!1}})}};nr.styles=Ul,Xn([p({type:String,attribute:"title"})],nr.prototype,"title",2),nr=Xn([ee("cb-header")],nr);const Rf=z`
3257
+ </header>`}_clickHandler(){this.emit("setting:show")}_clickCloseHandler(){this.emit("chatbot:toggle",{detail:{open:!1}})}};cr.styles=Ul,Xn([p({type:String,attribute:"title"})],cr.prototype,"title",2),cr=Xn([ee("cb-header")],cr);const Rf=R`
3252
3258
  ${Ee}
3253
3259
  .cb-footer {
3254
3260
  line-height: 60px;
@@ -3293,7 +3299,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3293
3299
  * @license
3294
3300
  * Copyright 2017 Google LLC
3295
3301
  * SPDX-License-Identifier: BSD-3-Clause
3296
- */const ec=(t,e,o)=>{const r=new Map;for(let s=e;s<=o;s++)r.set(t[s],s);return r},Ts=ps(class extends gs{constructor(t){if(super(t),t.type!==Xe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;o===void 0?o=e:e!==void 0&&(r=e);const s=[],a=[];let n=0;for(const c of t)s[n]=r?r(c,n):n,a[n]=o(c,n),n++;return{values:a,keys:s}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const s=md(t),{values:a,keys:n}=this.ht(e,o,r);if(!Array.isArray(s))return this.dt=n,a;const c=this.dt??(this.dt=[]),i=[];let l,d,f=0,h=s.length-1,u=0,g=a.length-1;for(;f<=h&&u<=g;)if(s[f]===null)f++;else if(s[h]===null)h--;else if(c[f]===n[u])i[u]=kt(s[f],a[u]),f++,u++;else if(c[h]===n[g])i[g]=kt(s[h],a[g]),h--,g--;else if(c[f]===n[g])i[g]=kt(s[f],a[g]),go(t,i[g+1],s[f]),f++,g--;else if(c[h]===n[u])i[u]=kt(s[h],a[u]),go(t,s[f],s[h]),h--,u++;else if(l===void 0&&(l=ec(n,u,g),d=ec(c,f,h)),l.has(c[f]))if(l.has(c[h])){const m=d.get(n[u]),w=m!==void 0?s[m]:null;if(w===null){const y=go(t,s[f]);kt(y,a[u]),i[u]=y}else i[u]=kt(w,a[u]),go(t,s[f],w),s[m]=null;u++}else us(s[h]),h--;else us(s[f]),f++;for(;u<=g;){const m=go(t,i[g+1]);kt(m,a[u]),i[u++]=m}for(;f<=h;){const m=s[f++];m!==null&&us(m)}return this.dt=n,Sn(t,i),xe}}),Ff=z`
3302
+ */const ec=(t,e,o)=>{const r=new Map;for(let s=e;s<=o;s++)r.set(t[s],s);return r},Ts=ps(class extends gs{constructor(t){if(super(t),t.type!==Xe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;o===void 0?o=e:e!==void 0&&(r=e);const s=[],a=[];let n=0;for(const c of t)s[n]=r?r(c,n):n,a[n]=o(c,n),n++;return{values:a,keys:s}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const s=md(t),{values:a,keys:n}=this.ht(e,o,r);if(!Array.isArray(s))return this.dt=n,a;const c=this.dt??(this.dt=[]),i=[];let l,d,f=0,h=s.length-1,u=0,g=a.length-1;for(;f<=h&&u<=g;)if(s[f]===null)f++;else if(s[h]===null)h--;else if(c[f]===n[u])i[u]=kt(s[f],a[u]),f++,u++;else if(c[h]===n[g])i[g]=kt(s[h],a[g]),h--,g--;else if(c[f]===n[g])i[g]=kt(s[f],a[g]),go(t,i[g+1],s[f]),f++,g--;else if(c[h]===n[u])i[u]=kt(s[h],a[u]),go(t,s[f],s[h]),h--,u++;else if(l===void 0&&(l=ec(n,u,g),d=ec(c,f,h)),l.has(c[f]))if(l.has(c[h])){const m=d.get(n[u]),w=m!==void 0?s[m]:null;if(w===null){const y=go(t,s[f]);kt(y,a[u]),i[u]=y}else i[u]=kt(w,a[u]),go(t,s[f],w),s[m]=null;u++}else us(s[h]),h--;else us(s[f]),f++;for(;u<=g;){const m=go(t,i[g+1]);kt(m,a[u]),i[u++]=m}for(;f<=h;){const m=s[f++];m!==null&&us(m)}return this.dt=n,Sn(t,i),xe}}),Ff=R`
3297
3303
  ${Ee}
3298
3304
 
3299
3305
  :host {
@@ -3401,7 +3407,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3401
3407
  * @license
3402
3408
  * Copyright 2017 Google LLC
3403
3409
  * SPDX-License-Identifier: BSD-3-Clause
3404
- */const $o=(t,e)=>{var o,r;const s=t._$AN;if(s===void 0)return!1;for(const a of s)(r=(o=a)._$AO)===null||r===void 0||r.call(o,e,!1),$o(a,e);return!0},cr=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while((o==null?void 0:o.size)===0)},tc=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Hf(e)}};function Nf(t){this._$AN!==void 0?(cr(this),this._$AM=t,tc(this)):this._$AM=t}function Vf(t,e=!1,o=0){const r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(e)if(Array.isArray(r))for(let a=o;a<r.length;a++)$o(r[a],!1),cr(r[a]);else r!=null&&($o(r,!1),cr(r));else $o(this,t)}const Hf=t=>{var e,o,r,s;t.type==hn.CHILD&&((e=(r=t)._$AP)!==null&&e!==void 0||(r._$AP=Vf),(o=(s=t)._$AQ)!==null&&o!==void 0||(s._$AQ=Nf))};let Uf=class extends pn{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,r){super._$AT(e,o,r),tc(this),this.isConnected=e._$AU}_$AO(e,o=!0){var r,s;e!==this.isConnected&&(this.isConnected=e,e?(r=this.reconnected)===null||r===void 0||r.call(this):(s=this.disconnected)===null||s===void 0||s.call(this)),o&&($o(this,e),cr(this))}setValue(e){if(Of(this._$Ct))this._$Ct._$AI(e,this);else{const o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};/**
3410
+ */const $o=(t,e)=>{var o,r;const s=t._$AN;if(s===void 0)return!1;for(const a of s)(r=(o=a)._$AO)===null||r===void 0||r.call(o,e,!1),$o(a,e);return!0},ir=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while((o==null?void 0:o.size)===0)},tc=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Hf(e)}};function Nf(t){this._$AN!==void 0?(ir(this),this._$AM=t,tc(this)):this._$AM=t}function Vf(t,e=!1,o=0){const r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(e)if(Array.isArray(r))for(let a=o;a<r.length;a++)$o(r[a],!1),ir(r[a]);else r!=null&&($o(r,!1),ir(r));else $o(this,t)}const Hf=t=>{var e,o,r,s;t.type==hn.CHILD&&((e=(r=t)._$AP)!==null&&e!==void 0||(r._$AP=Vf),(o=(s=t)._$AQ)!==null&&o!==void 0||(s._$AQ=Nf))};let Uf=class extends pn{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,r){super._$AT(e,o,r),tc(this),this.isConnected=e._$AU}_$AO(e,o=!0){var r,s;e!==this.isConnected&&(this.isConnected=e,e?(r=this.reconnected)===null||r===void 0||r.call(this):(s=this.disconnected)===null||s===void 0||s.call(this)),o&&($o(this,e),ir(this))}setValue(e){if(Of(this._$Ct))this._$Ct._$AI(e,this);else{const o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};/**
3405
3411
  * @license
3406
3412
  * Copyright 2021 Google LLC
3407
3413
  * SPDX-License-Identifier: BSD-3-Clause
@@ -3409,7 +3415,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3409
3415
  * @license
3410
3416
  * Copyright 2017 Google LLC
3411
3417
  * SPDX-License-Identifier: BSD-3-Clause
3412
- */const oc=t=>!Bf(t)&&typeof t.then=="function",rc=1073741823;class Zf extends Uf{constructor(){super(...arguments),this._$C_t=rc,this._$Cwt=[],this._$Cq=new jf(this),this._$CK=new Gf}render(...e){var o;return(o=e.find(r=>!oc(r)))!==null&&o!==void 0?o:Ye}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const a=this._$Cq,n=this._$CK;this.isConnected||this.disconnected();for(let c=0;c<o.length&&!(c>this._$C_t);c++){const i=o[c];if(!oc(i))return this._$C_t=c,i;c<s&&i===r[c]||(this._$C_t=rc,s=0,Promise.resolve(i).then(async l=>{for(;n.get();)await n.get();const d=a.deref();if(d!==void 0){const f=d._$Cwt.indexOf(i);f>-1&&f<d._$C_t&&(d._$C_t=f,d.setValue(l))}}))}return Ye}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const sc=bn(Zf);var Wf=Object.defineProperty,Kf=Object.getOwnPropertyDescriptor,Yf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Kf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Wf(e,o,s),s};let Ls=class extends Be{render(){return A` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};Ls.styles=z`
3418
+ */const oc=t=>!Bf(t)&&typeof t.then=="function",rc=1073741823;class Zf extends Uf{constructor(){super(...arguments),this._$C_t=rc,this._$Cwt=[],this._$Cq=new jf(this),this._$CK=new Gf}render(...e){var o;return(o=e.find(r=>!oc(r)))!==null&&o!==void 0?o:Ye}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const a=this._$Cq,n=this._$CK;this.isConnected||this.disconnected();for(let c=0;c<o.length&&!(c>this._$C_t);c++){const i=o[c];if(!oc(i))return this._$C_t=c,i;c<s&&i===r[c]||(this._$C_t=rc,s=0,Promise.resolve(i).then(async l=>{for(;n.get();)await n.get();const d=a.deref();if(d!==void 0){const f=d._$Cwt.indexOf(i);f>-1&&f<d._$C_t&&(d._$C_t=f,d.setValue(l))}}))}return Ye}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const sc=bn(Zf);var Wf=Object.defineProperty,Kf=Object.getOwnPropertyDescriptor,Yf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Kf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Wf(e,o,s),s};let Ls=class extends Be{render(){return A` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};Ls.styles=R`
3413
3419
  .cb-thinking {
3414
3420
  text-align: center;
3415
3421
  }
@@ -3446,7 +3452,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3446
3452
  opacity: 1;
3447
3453
  }
3448
3454
  }
3449
- `,Ls=Yf([ee("cb-thinking")],Ls);var Jf=Object.defineProperty,Qf=Object.getOwnPropertyDescriptor,ac=(t,e,o,r)=>{for(var s=r>1?void 0:r?Qf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Jf(e,o,s),s};let ir=class extends ce{constructor(){super(...arguments),this.files=[]}render(){return A` <div class="cb-uploading">
3455
+ `,Ls=Yf([ee("cb-thinking")],Ls);var Jf=Object.defineProperty,Qf=Object.getOwnPropertyDescriptor,ac=(t,e,o,r)=>{for(var s=r>1?void 0:r?Qf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Jf(e,o,s),s};let lr=class extends ce{constructor(){super(...arguments),this.files=[]}render(){return A` <div class="cb-uploading">
3450
3456
  <div class="cb-uploading__title">
3451
3457
  <sl-spinner class="cb-spinner"></sl-spinner>
3452
3458
  <span>Uploading...</span>
@@ -3454,7 +3460,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3454
3460
  <div class="cb-uploading__filelist">
3455
3461
  ${this.files.map(t=>A`${t.name}<br />`)}
3456
3462
  </div>
3457
- </div>`}};ir.styles=z`
3463
+ </div>`}};lr.styles=R`
3458
3464
  .cb-uploading {
3459
3465
  text-align: left;
3460
3466
  }
@@ -3471,7 +3477,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3471
3477
  --track-color: white;
3472
3478
  margin-right: 5px;
3473
3479
  }
3474
- `,ac([p({type:Array})],ir.prototype,"files",2),ir=ac([ee("cb-uploading")],ir);const Xf=z`
3480
+ `,ac([p({type:Array})],lr.prototype,"files",2),lr=ac([ee("cb-uploading")],lr);const Xf=R`
3475
3481
  ${Ee}
3476
3482
  :host {
3477
3483
  }
@@ -3503,7 +3509,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3503
3509
  >
3504
3510
  <slot></slot>
3505
3511
  </a>
3506
- `}};Eo.styles=z`
3512
+ `}};Eo.styles=R`
3507
3513
  :host {
3508
3514
  --primary-color: var(--sl-color-primary-600);
3509
3515
  }
@@ -3539,7 +3545,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
3539
3545
  class="cb-file-icon"
3540
3546
  svg="${nc[this.type]||nc.txt}"
3541
3547
  ></cb-icon>
3542
- `}};So.styles=Xf,Rs([p({type:String})],So.prototype,"filename",2),Rs([p({type:String})],So.prototype,"url",2),So=Rs([ee("cb-file")],So);const fu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z"/><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z"/></g></svg>',uu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M8 8a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0a2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1s1-4 6-4s6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664h10Z"/></svg>',hu=z`
3548
+ `}};So.styles=Xf,Rs([p({type:String})],So.prototype,"filename",2),Rs([p({type:String})],So.prototype,"url",2),So=Rs([ee("cb-file")],So);const fu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z"/><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z"/></g></svg>',uu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M8 8a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0a2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1s1-4 6-4s6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664h10Z"/></svg>',hu=R`
3543
3549
  pre code.hljs {
3544
3550
  display: block;
3545
3551
  overflow-x: auto;
@@ -4704,7 +4710,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4704
4710
  pre {
4705
4711
  background-color: #282c34;
4706
4712
  }
4707
- `,bu=z`
4713
+ `,bu=R`
4708
4714
  ${Ee}
4709
4715
  ${hu}
4710
4716
 
@@ -4798,7 +4804,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4798
4804
  .user-message {
4799
4805
  //margin-right: 0px;
4800
4806
  //margin-left: auto;
4801
- color: rgb(255, 255, 255);
4807
+ //color: rgb(255, 255, 255);
4808
+ color: var(--enegelai-bot-message-user-color, rgb(255, 255, 255));
4802
4809
  //background-color: var(--primary-color);
4803
4810
  background-color: var(--enegelai-bot-message-user-background, rgba(0, 208, 117, 1));
4804
4811
  text-align: left;
@@ -4814,7 +4821,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4814
4821
  //margin-left: -12px;
4815
4822
  margin-left: 0px;
4816
4823
  margin-top: 2px;
4817
- color: rgb(34, 34, 34);
4824
+ //color: rgb(34, 34, 34);
4825
+ color: var(--enegelai-bot-message-bot-color, rgb(34, 34, 34));
4818
4826
  background-color: var(--enegelai-bot-message-bot-background, rgba(234, 234, 234, 0.3));
4819
4827
  padding: 4px 12px 6px 12px;
4820
4828
  }
@@ -4824,7 +4832,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4824
4832
  //margin-left: -12px;
4825
4833
  margin-left: 0px;
4826
4834
  margin-top: 2px;
4827
- color: rgba(34, 34, 34, 0.6);
4835
+ //color: rgba(34, 34, 34, 0.6);
4836
+ color: var(--enegelai-bot-message-system-color, rgba(34, 34, 34, 0.6));
4828
4837
  background-color: var(--enegelai-bot-message-system-background, rgba(254, 243, 199, 0.5));
4829
4838
  padding: 4px 12px 6px 12px;
4830
4839
  }
@@ -4860,8 +4869,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4860
4869
  font-size: 1em;
4861
4870
  }
4862
4871
  `;var O={},cc={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
4863
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ps=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Nt={},ic={};function pu(t){var e,o,r=ic[t];if(r)return r;for(r=ic[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),/^[0-9a-z]$/i.test(o)?r.push(o):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function lr(t,e,o){var r,s,a,n,c,i="";for(typeof e!="string"&&(o=e,e=lr.defaultChars),typeof o>"u"&&(o=!0),c=pu(e),r=0,s=t.length;r<s;r++){if(a=t.charCodeAt(r),o&&a===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){i+=t.slice(r,r+3),r+=2;continue}if(a<128){i+=c[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1<s&&(n=t.charCodeAt(r+1),n>=56320&&n<=57343)){i+=encodeURIComponent(t[r]+t[r+1]),r++;continue}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[r])}return i}lr.defaultChars=";/?:@&=+$,-_.!~*'()#",lr.componentChars="-_.!~*'()";var gu=lr,lc={};function mu(t){var e,o,r=lc[t];if(r)return r;for(r=lc[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),r.push(o);for(e=0;e<t.length;e++)o=t.charCodeAt(e),r[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return r}function dr(t,e){var o;return typeof e!="string"&&(e=dr.defaultChars),o=mu(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,a,n,c,i,l,d,f="";for(s=0,a=r.length;s<a;s+=3){if(n=parseInt(r.slice(s+1,s+3),16),n<128){f+=o[n];continue}if((n&224)===192&&s+3<a&&(c=parseInt(r.slice(s+4,s+6),16),(c&192)===128)){d=n<<6&1984|c&63,d<128?f+="��":f+=String.fromCharCode(d),s+=3;continue}if((n&240)===224&&s+6<a&&(c=parseInt(r.slice(s+4,s+6),16),i=parseInt(r.slice(s+7,s+9),16),(c&192)===128&&(i&192)===128)){d=n<<12&61440|c<<6&4032|i&63,d<2048||d>=55296&&d<=57343?f+="���":f+=String.fromCharCode(d),s+=6;continue}if((n&248)===240&&s+9<a&&(c=parseInt(r.slice(s+4,s+6),16),i=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(c&192)===128&&(i&192)===128&&(l&192)===128)){d=n<<18&1835008|c<<12&258048|i<<6&4032|l&63,d<65536||d>1114111?f+="����":(d-=65536,f+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),s+=9;continue}f+="�"}return f})}dr.defaultChars=";/?:@&=+$,#",dr.componentChars="";var vu=dr,yu=function(e){var o="";return o+=e.protocol||"",o+=e.slashes?"//":"",o+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?o+="["+e.hostname+"]":o+=e.hostname||"",o+=e.port?":"+e.port:"",o+=e.pathname||"",o+=e.search||"",o+=e.hash||"",o};function fr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var wu=/^([a-z0-9.+-]+:)/i,_u=/:[0-9]*$/,xu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ku=["<",">",'"',"`"," ","\r",`
4864
- `," "],Au=["{","}","|","\\","^","`"].concat(ku),Cu=["'"].concat(Au),dc=["%","/","?",";","#"].concat(Cu),fc=["/","?","#"],$u=255,uc=/^[+a-z0-9A-Z_-]{0,63}$/,Eu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hc={javascript:!0,"javascript:":!0},bc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Su(t,e){if(t&&t instanceof fr)return t;var o=new fr;return o.parse(t,e),o}fr.prototype.parse=function(t,e){var o,r,s,a,n,c=t;if(c=c.trim(),!e&&t.split("#").length===1){var i=xu.exec(c);if(i)return this.pathname=i[1],i[2]&&(this.search=i[2]),this}var l=wu.exec(c);if(l&&(l=l[0],s=l.toLowerCase(),this.protocol=l,c=c.substr(l.length)),(e||l||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=c.substr(0,2)==="//",n&&!(l&&hc[l])&&(c=c.substr(2),this.slashes=!0)),!hc[l]&&(n||l&&!bc[l])){var d=-1;for(o=0;o<fc.length;o++)a=c.indexOf(fc[o]),a!==-1&&(d===-1||a<d)&&(d=a);var f,h;for(d===-1?h=c.lastIndexOf("@"):h=c.lastIndexOf("@",d),h!==-1&&(f=c.slice(0,h),c=c.slice(h+1),this.auth=f),d=-1,o=0;o<dc.length;o++)a=c.indexOf(dc[o]),a!==-1&&(d===-1||a<d)&&(d=a);d===-1&&(d=c.length),c[d-1]===":"&&d--;var u=c.slice(0,d);c=c.slice(d),this.parseHost(u),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var m=this.hostname.split(/\./);for(o=0,r=m.length;o<r;o++){var w=m[o];if(w&&!w.match(uc)){for(var y="",v=0,k=w.length;v<k;v++)w.charCodeAt(v)>127?y+="x":y+=w[v];if(!y.match(uc)){var C=m.slice(0,o),$=m.slice(o+1),_=w.match(Eu);_&&(C.push(_[1]),$.unshift(_[2])),$.length&&(c=$.join(".")+c),this.hostname=C.join(".");break}}}}this.hostname.length>$u&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");D!==-1&&(this.hash=c.substr(D),c=c.slice(0,D));var P=c.indexOf("?");return P!==-1&&(this.search=c.substr(P),c=c.slice(0,P)),c&&(this.pathname=c),bc[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},fr.prototype.parseHost=function(t){var e=_u.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var qu=Su;Nt.encode=gu,Nt.decode=vu,Nt.format=yu,Nt.parse=qu;var Ct={},Ms,pc;function gc(){return pc||(pc=1,Ms=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ms}var Is,mc;function vc(){return mc||(mc=1,Is=/[\0-\x1F\x7F-\x9F]/),Is}var Fs,yc;function Du(){return yc||(yc=1,Fs=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Fs}var Bs,wc;function _c(){return wc||(wc=1,Bs=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Bs}var xc;function Tu(){return xc||(xc=1,Ct.Any=gc(),Ct.Cc=vc(),Ct.Cf=Du(),Ct.P=Ps,Ct.Z=_c()),Ct}(function(t){function e(x){return Object.prototype.toString.call(x)}function o(x){return e(x)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(x,F){return r.call(x,F)}function a(x){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(T){if(T){if(typeof T!="object")throw new TypeError(T+"must be object");Object.keys(T).forEach(function(X){x[X]=T[X]})}}),x}function n(x,F,T){return[].concat(x.slice(0,F),T,x.slice(F+1))}function c(x){return!(x>=55296&&x<=57343||x>=64976&&x<=65007||(x&65535)===65535||(x&65535)===65534||x>=0&&x<=8||x===11||x>=14&&x<=31||x>=127&&x<=159||x>1114111)}function i(x){if(x>65535){x-=65536;var F=55296+(x>>10),T=56320+(x&1023);return String.fromCharCode(F,T)}return String.fromCharCode(x)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(l.source+"|"+d.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=cc;function g(x,F){var T=0;return s(u,F)?u[F]:F.charCodeAt(0)===35&&h.test(F)&&(T=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),c(T))?i(T):x}function m(x){return x.indexOf("\\")<0?x:x.replace(l,"$1")}function w(x){return x.indexOf("\\")<0&&x.indexOf("&")<0?x:x.replace(f,function(F,T,X){return T||g(F,X)})}var y=/[&<>"]/,v=/[&<>"]/g,k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function C(x){return k[x]}function $(x){return y.test(x)?x.replace(v,C):x}var _=/[.?*+^$[\]\\(){}|-]/g;function D(x){return x.replace(_,"\\$&")}function P(x){switch(x){case 9:case 32:return!0}return!1}function S(x){if(x>=8192&&x<=8202)return!0;switch(x){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var q=Ps;function I(x){return q.test(x)}function W(x){switch(x){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ye(x){return x=x.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(x=x.replace(/ẞ/g,"ß")),x.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Nt,t.lib.ucmicro=Tu(),t.assign=a,t.isString=o,t.has=s,t.unescapeMd=m,t.unescapeAll=w,t.isValidEntityCode=c,t.fromCodePoint=i,t.escapeHtml=$,t.arrayReplaceAt=n,t.isSpace=P,t.isWhiteSpace=S,t.isMdAsciiPunct=W,t.isPunctChar=I,t.escapeRE=D,t.normalizeReference=ye})(O);var ur={},Lu=function(e,o,r){var s,a,n,c,i=-1,l=e.posMax,d=e.pos;for(e.pos=o+1,s=1;e.pos<l;){if(n=e.src.charCodeAt(e.pos),n===93&&(s--,s===0)){a=!0;break}if(c=e.pos,e.md.inline.skipToken(e),n===91){if(c===e.pos-1)s++;else if(r)return e.pos=d,-1}}return a&&(i=e.pos),e.pos=d,i},kc=O.unescapeAll,zu=function(e,o,r){var s,a,n=0,c=o,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<r;){if(s=e.charCodeAt(o),s===10||s===60)return i;if(s===62)return i.pos=o+1,i.str=kc(e.slice(c+1,o)),i.ok=!0,i;if(s===92&&o+1<r){o+=2;continue}o++}return i}for(a=0;o<r&&(s=e.charCodeAt(o),!(s===32||s<32||s===127));){if(s===92&&o+1<r){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(s===40&&(a++,a>32))return i;if(s===41){if(a===0)break;a--}o++}return c===o||a!==0||(i.str=kc(e.slice(c,o)),i.lines=n,i.pos=o,i.ok=!0),i},Ru=O.unescapeAll,Pu=function(e,o,r){var s,a,n=0,c=o,i={ok:!1,pos:0,lines:0,str:""};if(o>=r||(a=e.charCodeAt(o),a!==34&&a!==39&&a!==40))return i;for(o++,a===40&&(a=41);o<r;){if(s=e.charCodeAt(o),s===a)return i.pos=o+1,i.lines=n,i.str=Ru(e.slice(c+1,o)),i.ok=!0,i;if(s===40&&a===41)return i;s===10?n++:s===92&&o+1<r&&(o++,e.charCodeAt(o)===10&&n++),o++}return i};ur.parseLinkLabel=Lu,ur.parseLinkDestination=zu,ur.parseLinkTitle=Pu;var Mu=O.assign,Iu=O.unescapeAll,$t=O.escapeHtml,Re={};Re.code_inline=function(t,e,o,r,s){var a=t[e];return"<code"+s.renderAttrs(a)+">"+$t(t[e].content)+"</code>"},Re.code_block=function(t,e,o,r,s){var a=t[e];return"<pre"+s.renderAttrs(a)+"><code>"+$t(t[e].content)+`</code></pre>
4872
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ps=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Nt={},ic={};function pu(t){var e,o,r=ic[t];if(r)return r;for(r=ic[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),/^[0-9a-z]$/i.test(o)?r.push(o):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function dr(t,e,o){var r,s,a,n,c,i="";for(typeof e!="string"&&(o=e,e=dr.defaultChars),typeof o>"u"&&(o=!0),c=pu(e),r=0,s=t.length;r<s;r++){if(a=t.charCodeAt(r),o&&a===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){i+=t.slice(r,r+3),r+=2;continue}if(a<128){i+=c[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1<s&&(n=t.charCodeAt(r+1),n>=56320&&n<=57343)){i+=encodeURIComponent(t[r]+t[r+1]),r++;continue}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[r])}return i}dr.defaultChars=";/?:@&=+$,-_.!~*'()#",dr.componentChars="-_.!~*'()";var gu=dr,lc={};function mu(t){var e,o,r=lc[t];if(r)return r;for(r=lc[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),r.push(o);for(e=0;e<t.length;e++)o=t.charCodeAt(e),r[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return r}function fr(t,e){var o;return typeof e!="string"&&(e=fr.defaultChars),o=mu(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,a,n,c,i,l,d,f="";for(s=0,a=r.length;s<a;s+=3){if(n=parseInt(r.slice(s+1,s+3),16),n<128){f+=o[n];continue}if((n&224)===192&&s+3<a&&(c=parseInt(r.slice(s+4,s+6),16),(c&192)===128)){d=n<<6&1984|c&63,d<128?f+="��":f+=String.fromCharCode(d),s+=3;continue}if((n&240)===224&&s+6<a&&(c=parseInt(r.slice(s+4,s+6),16),i=parseInt(r.slice(s+7,s+9),16),(c&192)===128&&(i&192)===128)){d=n<<12&61440|c<<6&4032|i&63,d<2048||d>=55296&&d<=57343?f+="���":f+=String.fromCharCode(d),s+=6;continue}if((n&248)===240&&s+9<a&&(c=parseInt(r.slice(s+4,s+6),16),i=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(c&192)===128&&(i&192)===128&&(l&192)===128)){d=n<<18&1835008|c<<12&258048|i<<6&4032|l&63,d<65536||d>1114111?f+="����":(d-=65536,f+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),s+=9;continue}f+="�"}return f})}fr.defaultChars=";/?:@&=+$,#",fr.componentChars="";var vu=fr,yu=function(e){var o="";return o+=e.protocol||"",o+=e.slashes?"//":"",o+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?o+="["+e.hostname+"]":o+=e.hostname||"",o+=e.port?":"+e.port:"",o+=e.pathname||"",o+=e.search||"",o+=e.hash||"",o};function ur(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var wu=/^([a-z0-9.+-]+:)/i,_u=/:[0-9]*$/,xu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ku=["<",">",'"',"`"," ","\r",`
4873
+ `," "],Au=["{","}","|","\\","^","`"].concat(ku),Cu=["'"].concat(Au),dc=["%","/","?",";","#"].concat(Cu),fc=["/","?","#"],$u=255,uc=/^[+a-z0-9A-Z_-]{0,63}$/,Eu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hc={javascript:!0,"javascript:":!0},bc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Su(t,e){if(t&&t instanceof ur)return t;var o=new ur;return o.parse(t,e),o}ur.prototype.parse=function(t,e){var o,r,s,a,n,c=t;if(c=c.trim(),!e&&t.split("#").length===1){var i=xu.exec(c);if(i)return this.pathname=i[1],i[2]&&(this.search=i[2]),this}var l=wu.exec(c);if(l&&(l=l[0],s=l.toLowerCase(),this.protocol=l,c=c.substr(l.length)),(e||l||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=c.substr(0,2)==="//",n&&!(l&&hc[l])&&(c=c.substr(2),this.slashes=!0)),!hc[l]&&(n||l&&!bc[l])){var d=-1;for(o=0;o<fc.length;o++)a=c.indexOf(fc[o]),a!==-1&&(d===-1||a<d)&&(d=a);var f,h;for(d===-1?h=c.lastIndexOf("@"):h=c.lastIndexOf("@",d),h!==-1&&(f=c.slice(0,h),c=c.slice(h+1),this.auth=f),d=-1,o=0;o<dc.length;o++)a=c.indexOf(dc[o]),a!==-1&&(d===-1||a<d)&&(d=a);d===-1&&(d=c.length),c[d-1]===":"&&d--;var u=c.slice(0,d);c=c.slice(d),this.parseHost(u),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var m=this.hostname.split(/\./);for(o=0,r=m.length;o<r;o++){var w=m[o];if(w&&!w.match(uc)){for(var y="",v=0,k=w.length;v<k;v++)w.charCodeAt(v)>127?y+="x":y+=w[v];if(!y.match(uc)){var C=m.slice(0,o),$=m.slice(o+1),_=w.match(Eu);_&&(C.push(_[1]),$.unshift(_[2])),$.length&&(c=$.join(".")+c),this.hostname=C.join(".");break}}}}this.hostname.length>$u&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");D!==-1&&(this.hash=c.substr(D),c=c.slice(0,D));var P=c.indexOf("?");return P!==-1&&(this.search=c.substr(P),c=c.slice(0,P)),c&&(this.pathname=c),bc[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ur.prototype.parseHost=function(t){var e=_u.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var qu=Su;Nt.encode=gu,Nt.decode=vu,Nt.format=yu,Nt.parse=qu;var Ct={},Ms,pc;function gc(){return pc||(pc=1,Ms=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ms}var Is,mc;function vc(){return mc||(mc=1,Is=/[\0-\x1F\x7F-\x9F]/),Is}var Fs,yc;function Du(){return yc||(yc=1,Fs=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Fs}var Bs,wc;function _c(){return wc||(wc=1,Bs=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Bs}var xc;function Tu(){return xc||(xc=1,Ct.Any=gc(),Ct.Cc=vc(),Ct.Cf=Du(),Ct.P=Ps,Ct.Z=_c()),Ct}(function(t){function e(x){return Object.prototype.toString.call(x)}function o(x){return e(x)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(x,F){return r.call(x,F)}function a(x){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(T){if(T){if(typeof T!="object")throw new TypeError(T+"must be object");Object.keys(T).forEach(function(X){x[X]=T[X]})}}),x}function n(x,F,T){return[].concat(x.slice(0,F),T,x.slice(F+1))}function c(x){return!(x>=55296&&x<=57343||x>=64976&&x<=65007||(x&65535)===65535||(x&65535)===65534||x>=0&&x<=8||x===11||x>=14&&x<=31||x>=127&&x<=159||x>1114111)}function i(x){if(x>65535){x-=65536;var F=55296+(x>>10),T=56320+(x&1023);return String.fromCharCode(F,T)}return String.fromCharCode(x)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(l.source+"|"+d.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=cc;function g(x,F){var T=0;return s(u,F)?u[F]:F.charCodeAt(0)===35&&h.test(F)&&(T=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),c(T))?i(T):x}function m(x){return x.indexOf("\\")<0?x:x.replace(l,"$1")}function w(x){return x.indexOf("\\")<0&&x.indexOf("&")<0?x:x.replace(f,function(F,T,X){return T||g(F,X)})}var y=/[&<>"]/,v=/[&<>"]/g,k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function C(x){return k[x]}function $(x){return y.test(x)?x.replace(v,C):x}var _=/[.?*+^$[\]\\(){}|-]/g;function D(x){return x.replace(_,"\\$&")}function P(x){switch(x){case 9:case 32:return!0}return!1}function S(x){if(x>=8192&&x<=8202)return!0;switch(x){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var q=Ps;function I(x){return q.test(x)}function W(x){switch(x){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ye(x){return x=x.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(x=x.replace(/ẞ/g,"ß")),x.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Nt,t.lib.ucmicro=Tu(),t.assign=a,t.isString=o,t.has=s,t.unescapeMd=m,t.unescapeAll=w,t.isValidEntityCode=c,t.fromCodePoint=i,t.escapeHtml=$,t.arrayReplaceAt=n,t.isSpace=P,t.isWhiteSpace=S,t.isMdAsciiPunct=W,t.isPunctChar=I,t.escapeRE=D,t.normalizeReference=ye})(O);var hr={},Lu=function(e,o,r){var s,a,n,c,i=-1,l=e.posMax,d=e.pos;for(e.pos=o+1,s=1;e.pos<l;){if(n=e.src.charCodeAt(e.pos),n===93&&(s--,s===0)){a=!0;break}if(c=e.pos,e.md.inline.skipToken(e),n===91){if(c===e.pos-1)s++;else if(r)return e.pos=d,-1}}return a&&(i=e.pos),e.pos=d,i},kc=O.unescapeAll,zu=function(e,o,r){var s,a,n=0,c=o,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<r;){if(s=e.charCodeAt(o),s===10||s===60)return i;if(s===62)return i.pos=o+1,i.str=kc(e.slice(c+1,o)),i.ok=!0,i;if(s===92&&o+1<r){o+=2;continue}o++}return i}for(a=0;o<r&&(s=e.charCodeAt(o),!(s===32||s<32||s===127));){if(s===92&&o+1<r){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(s===40&&(a++,a>32))return i;if(s===41){if(a===0)break;a--}o++}return c===o||a!==0||(i.str=kc(e.slice(c,o)),i.lines=n,i.pos=o,i.ok=!0),i},Ru=O.unescapeAll,Pu=function(e,o,r){var s,a,n=0,c=o,i={ok:!1,pos:0,lines:0,str:""};if(o>=r||(a=e.charCodeAt(o),a!==34&&a!==39&&a!==40))return i;for(o++,a===40&&(a=41);o<r;){if(s=e.charCodeAt(o),s===a)return i.pos=o+1,i.lines=n,i.str=Ru(e.slice(c+1,o)),i.ok=!0,i;if(s===40&&a===41)return i;s===10?n++:s===92&&o+1<r&&(o++,e.charCodeAt(o)===10&&n++),o++}return i};hr.parseLinkLabel=Lu,hr.parseLinkDestination=zu,hr.parseLinkTitle=Pu;var Mu=O.assign,Iu=O.unescapeAll,$t=O.escapeHtml,Re={};Re.code_inline=function(t,e,o,r,s){var a=t[e];return"<code"+s.renderAttrs(a)+">"+$t(t[e].content)+"</code>"},Re.code_block=function(t,e,o,r,s){var a=t[e];return"<pre"+s.renderAttrs(a)+"><code>"+$t(t[e].content)+`</code></pre>
4865
4874
  `},Re.fence=function(t,e,o,r,s){var a=t[e],n=a.info?Iu(a.info).trim():"",c="",i="",l,d,f,h,u;return n&&(f=n.split(/(\s+)/g),c=f[0],i=f.slice(2).join("")),o.highlight?l=o.highlight(a.content,c,i)||$t(a.content):l=$t(a.content),l.indexOf("<pre")===0?l+`
4866
4875
  `:n?(d=a.attrIndex("class"),h=a.attrs?a.attrs.slice():[],d<0?h.push(["class",o.langPrefix+c]):(h[d]=h[d].slice(),h[d][1]+=" "+o.langPrefix+c),u={attrs:h},"<pre><code"+s.renderAttrs(u)+">"+l+`</code></pre>
4867
4876
  `):"<pre><code"+s.renderAttrs(a)+">"+l+`</code></pre>
@@ -4874,8 +4883,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4874
4883
  `),a+=(c.nesting===-1?"</":"<")+c.tag,a+=this.renderAttrs(c),c.nesting===0&&r.xhtmlOut&&(a+=" /"),c.block&&(n=!0,c.nesting===1&&o+1<e.length&&(s=e[o+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===c.tag)&&(n=!1))),a+=n?`>
4875
4884
  `:">",a)},Vt.prototype.renderInline=function(t,e,o){for(var r,s="",a=this.rules,n=0,c=t.length;n<c;n++)r=t[n].type,typeof a[r]<"u"?s+=a[r](t,n,e,o,this):s+=this.renderToken(t,n,e);return s},Vt.prototype.renderInlineAsText=function(t,e,o){for(var r="",s=0,a=t.length;s<a;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,o):t[s].type==="softbreak"&&(r+=`
4876
4885
  `);return r},Vt.prototype.render=function(t,e,o){var r,s,a,n="",c=this.rules;for(r=0,s=t.length;r<s;r++)a=t[r].type,a==="inline"?n+=this.renderInline(t[r].children,e,o):typeof c[a]<"u"?n+=c[t[r].type](t,r,e,o,this):n+=this.renderToken(t,r,e,o);return n};var Fu=Vt;function Ce(){this.__rules__=[],this.__cache__=null}Ce.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Ce.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(o){t.__cache__[o]=[],t.__rules__.forEach(function(r){r.enabled&&(o&&r.alt.indexOf(o)<0||t.__cache__[o].push(r.fn))})})},Ce.prototype.at=function(t,e,o){var r=this.__find__(t),s=o||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=s.alt||[],this.__cache__=null},Ce.prototype.before=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Ce.prototype.after=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Ce.prototype.push=function(t,e,o){var r=o||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Ce.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!0,o.push(r)},this),this.__cache__=null,o},Ce.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(t,e)},Ce.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!1,o.push(r)},this),this.__cache__=null,o},Ce.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Os=Ce,Bu=/\r\n?|\n/g,Ou=/\0/g,Nu=function(e){var o;o=e.src.replace(Bu,`
4877
- `),o=o.replace(Ou,"�"),e.src=o},Vu=function(e){var o;e.inlineMode?(o=new e.Token("inline","",0),o.content=e.src,o.map=[0,1],o.children=[],e.tokens.push(o)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},Hu=function(e){var o=e.tokens,r,s,a;for(s=0,a=o.length;s<a;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Uu=O.arrayReplaceAt;function ju(t){return/^<a[>\s]/i.test(t)}function Gu(t){return/^<\/a\s*>/i.test(t)}var Zu=function(e){var o,r,s,a,n,c,i,l,d,f,h,u,g,m,w,y,v=e.tokens,k;if(e.md.options.linkify){for(r=0,s=v.length;r<s;r++)if(!(v[r].type!=="inline"||!e.md.linkify.pretest(v[r].content)))for(a=v[r].children,g=0,o=a.length-1;o>=0;o--){if(c=a[o],c.type==="link_close"){for(o--;a[o].level!==c.level&&a[o].type!=="link_open";)o--;continue}if(c.type==="html_inline"&&(ju(c.content)&&g>0&&g--,Gu(c.content)&&g++),!(g>0)&&c.type==="text"&&e.md.linkify.test(c.content)){for(d=c.content,k=e.md.linkify.match(d),i=[],u=c.level,h=0,k.length>0&&k[0].index===0&&o>0&&a[o-1].type==="text_special"&&(k=k.slice(1)),l=0;l<k.length;l++)m=k[l].url,w=e.md.normalizeLink(m),e.md.validateLink(w)&&(y=k[l].text,k[l].schema?k[l].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),f=k[l].index,f>h&&(n=new e.Token("text","",0),n.content=d.slice(h,f),n.level=u,i.push(n)),n=new e.Token("link_open","a",1),n.attrs=[["href",w]],n.level=u++,n.markup="linkify",n.info="auto",i.push(n),n=new e.Token("text","",0),n.content=y,n.level=u,i.push(n),n=new e.Token("link_close","a",-1),n.level=--u,n.markup="linkify",n.info="auto",i.push(n),h=k[l].lastIndex);h<d.length&&(n=new e.Token("text","",0),n.content=d.slice(h),n.level=u,i.push(n)),v[r].children=a=Uu(a,o,i)}}}},Ac=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Wu=/\((c|tm|r)\)/i,Ku=/\((c|tm|r)\)/ig,Yu={c:"©",r:"®",tm:"™"};function Ju(t,e){return Yu[e.toLowerCase()]}function Qu(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&(o.content=o.content.replace(Ku,Ju)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function Xu(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&Ac.test(o.content)&&(o.content=o.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–")),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}var eh=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type==="inline"&&(Wu.test(e.tokens[o].content)&&Qu(e.tokens[o].children),Ac.test(e.tokens[o].content)&&Xu(e.tokens[o].children))},Cc=O.isWhiteSpace,$c=O.isPunctChar,Ec=O.isMdAsciiPunct,th=/['"]/,Sc=/['"]/g,qc="’";function hr(t,e,o){return t.slice(0,e)+o+t.slice(e+1)}function oh(t,e){var o,r,s,a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_;for(C=[],o=0;o<t.length;o++){for(r=t[o],i=t[o].level,v=C.length-1;v>=0&&!(C[v].level<=i);v--);if(C.length=v+1,r.type==="text"){s=r.content,n=0,c=s.length;e:for(;n<c&&(Sc.lastIndex=n,a=Sc.exec(s),!!a);){if(w=y=!0,n=a.index+1,k=a[0]==="'",d=32,a.index-1>=0)d=s.charCodeAt(a.index-1);else for(v=o-1;v>=0&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v--)if(t[v].content){d=t[v].content.charCodeAt(t[v].content.length-1);break}if(f=32,n<c)f=s.charCodeAt(n);else for(v=o+1;v<t.length&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v++)if(t[v].content){f=t[v].content.charCodeAt(0);break}if(h=Ec(d)||$c(String.fromCharCode(d)),u=Ec(f)||$c(String.fromCharCode(f)),g=Cc(d),m=Cc(f),m?w=!1:u&&(g||h||(w=!1)),g?y=!1:h&&(m||u||(y=!1)),f===34&&a[0]==='"'&&d>=48&&d<=57&&(y=w=!1),w&&y&&(w=h,y=u),!w&&!y){k&&(r.content=hr(r.content,a.index,qc));continue}if(y){for(v=C.length-1;v>=0&&(l=C[v],!(C[v].level<i));v--)if(l.single===k&&C[v].level===i){l=C[v],k?($=e.md.options.quotes[2],_=e.md.options.quotes[3]):($=e.md.options.quotes[0],_=e.md.options.quotes[1]),r.content=hr(r.content,a.index,_),t[l.token].content=hr(t[l.token].content,l.pos,$),n+=_.length-1,l.token===o&&(n+=$.length-1),s=r.content,c=s.length,C.length=v;continue e}}w?C.push({token:o,pos:a.index,single:k,level:i}):y&&k&&(r.content=hr(r.content,a.index,qc))}}}}var rh=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type!=="inline"||!th.test(e.tokens[o].content)||oh(e.tokens[o].children,e)},sh=function(e){var o,r,s,a,n,c,i=e.tokens;for(o=0,r=i.length;o<r;o++)if(i[o].type==="inline"){for(s=i[o].children,n=s.length,a=0;a<n;a++)s[a].type==="text_special"&&(s[a].type="text");for(a=c=0;a<n;a++)s[a].type==="text"&&a+1<n&&s[a+1].type==="text"?s[a+1].content=s[a].content+s[a+1].content:(a!==c&&(s[c]=s[a]),c++);a!==c&&(s.length=c)}};function Ht(t,e,o){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ht.prototype.attrIndex=function(e){var o,r,s;if(!this.attrs)return-1;for(o=this.attrs,r=0,s=o.length;r<s;r++)if(o[r][0]===e)return r;return-1},Ht.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Ht.prototype.attrSet=function(e,o){var r=this.attrIndex(e),s=[e,o];r<0?this.attrPush(s):this.attrs[r]=s},Ht.prototype.attrGet=function(e){var o=this.attrIndex(e),r=null;return o>=0&&(r=this.attrs[o][1]),r},Ht.prototype.attrJoin=function(e,o){var r=this.attrIndex(e);r<0?this.attrPush([e,o]):this.attrs[r][1]=this.attrs[r][1]+" "+o};var Ns=Ht,ah=Ns;function Dc(t,e,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=e}Dc.prototype.Token=ah;var nh=Dc,ch=Os,Vs=[["normalize",Nu],["block",Vu],["inline",Hu],["linkify",Zu],["replacements",eh],["smartquotes",rh],["text_join",sh]];function Hs(){this.ruler=new ch;for(var t=0;t<Vs.length;t++)this.ruler.push(Vs[t][0],Vs[t][1])}Hs.prototype.process=function(t){var e,o,r;for(r=this.ruler.getRules(""),e=0,o=r.length;e<o;e++)r[e](t)},Hs.prototype.State=nh;var ih=Hs,Us=O.isSpace;function js(t,e){var o=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(o,r)}function Tc(t){var e=[],o=0,r=t.length,s,a=!1,n=0,c="";for(s=t.charCodeAt(o);o<r;)s===124&&(a?(c+=t.substring(n,o-1),n=o):(e.push(c+t.substring(n,o)),c="",n=o+1)),a=s===92,o++,s=t.charCodeAt(o);return e.push(c+t.substring(n)),e}var lh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_;if(o+2>r||(d=o+1,e.sCount[d]<e.blkIndent)||e.sCount[d]-e.blkIndent>=4||(c=e.bMarks[d]+e.tShift[d],c>=e.eMarks[d])||($=e.src.charCodeAt(c++),$!==124&&$!==45&&$!==58)||c>=e.eMarks[d]||(_=e.src.charCodeAt(c++),_!==124&&_!==45&&_!==58&&!Us(_))||$===45&&Us(_))return!1;for(;c<e.eMarks[d];){if(a=e.src.charCodeAt(c),a!==124&&a!==45&&a!==58&&!Us(a))return!1;c++}for(n=js(e,o+1),f=n.split("|"),g=[],i=0;i<f.length;i++){if(m=f[i].trim(),!m){if(i===0||i===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?g.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?g.push("left"):g.push("")}if(n=js(e,o).trim(),n.indexOf("|")===-1||e.sCount[o]-e.blkIndent>=4||(f=Tc(n),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(s)return!0;for(v=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),u=e.push("table_open","table",1),u.map=w=[o,0],u=e.push("thead_open","thead",1),u.map=[o,o+1],u=e.push("tr_open","tr",1),u.map=[o,o+1],i=0;i<f.length;i++)u=e.push("th_open","th",1),g[i]&&(u.attrs=[["style","text-align:"+g[i]]]),u=e.push("inline","",0),u.content=f[i].trim(),u.children=[],u=e.push("th_close","th",-1);for(u=e.push("tr_close","tr",-1),u=e.push("thead_close","thead",-1),d=o+2;d<r&&!(e.sCount[d]<e.blkIndent);d++){for(k=!1,i=0,l=C.length;i<l;i++)if(C[i](e,d,r,!0)){k=!0;break}if(k||(n=js(e,d).trim(),!n)||e.sCount[d]-e.blkIndent>=4)break;for(f=Tc(n),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),d===o+2&&(u=e.push("tbody_open","tbody",1),u.map=y=[o+2,0]),u=e.push("tr_open","tr",1),u.map=[d,d+1],i=0;i<h;i++)u=e.push("td_open","td",1),g[i]&&(u.attrs=[["style","text-align:"+g[i]]]),u=e.push("inline","",0),u.content=f[i]?f[i].trim():"",u.children=[],u=e.push("td_close","td",-1);u=e.push("tr_close","tr",-1)}return y&&(u=e.push("tbody_close","tbody",-1),y[1]=d),u=e.push("table_close","table",-1),w[1]=d,e.parentType=v,e.line=d,!0},dh=function(e,o,r){var s,a,n;if(e.sCount[o]-e.blkIndent<4)return!1;for(a=s=o+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,a=s;continue}break}return e.line=a,n=e.push("code_block","code",0),n.content=e.getLines(o,a,4+e.blkIndent,!1)+`
4878
- `,n.map=[o,e.line],!0},fh=function(e,o,r,s){var a,n,c,i,l,d,f,h=!1,u=e.bMarks[o]+e.tShift[o],g=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||u+3>g||(a=e.src.charCodeAt(u),a!==126&&a!==96)||(l=u,u=e.skipChars(u,a),n=u-l,n<3)||(f=e.src.slice(l,u),c=e.src.slice(u,g),a===96&&c.indexOf(String.fromCharCode(a))>=0))return!1;if(s)return!0;for(i=o;i++,!(i>=r||(u=l=e.bMarks[i]+e.tShift[i],g=e.eMarks[i],u<g&&e.sCount[i]<e.blkIndent));)if(e.src.charCodeAt(u)===a&&!(e.sCount[i]-e.blkIndent>=4)&&(u=e.skipChars(u,a),!(u-l<n)&&(u=e.skipSpaces(u),!(u<g)))){h=!0;break}return n=e.sCount[o],e.line=i+(h?1:0),d=e.push("fence","code",0),d.info=c,d.content=e.getLines(o+1,i,n,!0),d.markup=f,d.map=[o,e.line],!0},Lc=O.isSpace,uh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_,D,P,S=e.lineMax,q=e.bMarks[o]+e.tShift[o],I=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(q++)!==62)return!1;if(s)return!0;for(i=u=e.sCount[o]+1,e.src.charCodeAt(q)===32?(q++,i++,u++,a=!1,C=!0):e.src.charCodeAt(q)===9?(C=!0,(e.bsCount[o]+u)%4===3?(q++,i++,u++,a=!1):a=!0):C=!1,g=[e.bMarks[o]],e.bMarks[o]=q;q<I&&(n=e.src.charCodeAt(q),Lc(n));){n===9?u+=4-(u+e.bsCount[o]+(a?1:0))%4:u++;q++}for(m=[e.bsCount[o]],e.bsCount[o]=e.sCount[o]+1+(C?1:0),d=q>=I,v=[e.sCount[o]],e.sCount[o]=u-i,k=[e.tShift[o]],e.tShift[o]=q-e.bMarks[o],_=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",h=o+1;h<r&&(P=e.sCount[h]<e.blkIndent,q=e.bMarks[h]+e.tShift[h],I=e.eMarks[h],!(q>=I));h++){if(e.src.charCodeAt(q++)===62&&!P){for(i=u=e.sCount[h]+1,e.src.charCodeAt(q)===32?(q++,i++,u++,a=!1,C=!0):e.src.charCodeAt(q)===9?(C=!0,(e.bsCount[h]+u)%4===3?(q++,i++,u++,a=!1):a=!0):C=!1,g.push(e.bMarks[h]),e.bMarks[h]=q;q<I&&(n=e.src.charCodeAt(q),Lc(n));){n===9?u+=4-(u+e.bsCount[h]+(a?1:0))%4:u++;q++}d=q>=I,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),v.push(e.sCount[h]),e.sCount[h]=u-i,k.push(e.tShift[h]),e.tShift[h]=q-e.bMarks[h];continue}if(d)break;for($=!1,c=0,l=_.length;c<l;c++)if(_[c](e,h,r,!0)){$=!0;break}if($){e.lineMax=h,e.blkIndent!==0&&(g.push(e.bMarks[h]),m.push(e.bsCount[h]),k.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}g.push(e.bMarks[h]),m.push(e.bsCount[h]),k.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}for(w=e.blkIndent,e.blkIndent=0,D=e.push("blockquote_open","blockquote",1),D.markup=">",D.map=f=[o,0],e.md.block.tokenize(e,o,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=S,e.parentType=y,f[1]=e.line,c=0;c<k.length;c++)e.bMarks[c+o]=g[c],e.tShift[c+o]=k[c],e.sCount[c+o]=v[c],e.bsCount[c+o]=m[c];return e.blkIndent=w,!0},hh=O.isSpace,bh=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l++),a!==42&&a!==45&&a!==95))return!1;for(n=1;l<d;){if(c=e.src.charCodeAt(l++),c!==a&&!hh(c))return!1;c===a&&n++}return n<3?!1:(s||(e.line=o+1,i=e.push("hr","hr",0),i.map=[o,e.line],i.markup=Array(n+1).join(String.fromCharCode(a))),!0)},zc=O.isSpace;function Rc(t,e){var o,r,s,a;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],o=t.src.charCodeAt(r++),o!==42&&o!==45&&o!==43||r<s&&(a=t.src.charCodeAt(r),!zc(a))?-1:r}function Pc(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,a=t.eMarks[e];if(s+1>=a||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=a)return-1;if(o=t.src.charCodeAt(s++),o>=48&&o<=57){if(s-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return s<a&&(o=t.src.charCodeAt(s),!zc(o))?-1:s}function ph(t,e){var o,r,s=t.level+2;for(o=e+2,r=t.tokens.length-2;o<r;o++)t.tokens[o].level===s&&t.tokens[o].type==="paragraph_open"&&(t.tokens[o+2].hidden=!0,t.tokens[o].hidden=!0,o+=2)}var gh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_,D,P,S,q,I,W,ye,x,F,T,X=!1,Rr=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(X=!0),(I=Pc(e,o))>=0){if(f=!0,ye=e.bMarks[o]+e.tShift[o],y=Number(e.src.slice(ye,I-1)),X&&y!==1)return!1}else if((I=Rc(e,o))>=0)f=!1;else return!1;if(X&&e.skipSpaces(I)>=e.eMarks[o])return!1;if(w=e.src.charCodeAt(I-1),s)return!0;for(m=e.tokens.length,f?(T=e.push("ordered_list_open","ol",1),y!==1&&(T.attrs=[["start",y]])):T=e.push("bullet_list_open","ul",1),T.map=g=[o,0],T.markup=String.fromCharCode(w),k=o,W=!1,F=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";k<r;){for(q=I,v=e.eMarks[k],d=C=e.sCount[k]+I-(e.bMarks[o]+e.tShift[o]);q<v;){if(a=e.src.charCodeAt(q),a===9)C+=4-(C+e.bsCount[k])%4;else if(a===32)C++;else break;q++}if(n=q,n>=v?l=1:l=C-d,l>4&&(l=1),i=d+l,T=e.push("list_item_open","li",1),T.markup=String.fromCharCode(w),T.map=h=[o,0],f&&(T.info=e.src.slice(ye,I-1)),S=e.tight,P=e.tShift[o],D=e.sCount[o],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=i,e.tight=!0,e.tShift[o]=n-e.bMarks[o],e.sCount[o]=C,n>=v&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,o,r,!0),(!e.tight||W)&&(Rr=!1),W=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[o]=P,e.sCount[o]=D,e.tight=S,T=e.push("list_item_close","li",-1),T.markup=String.fromCharCode(w),k=o=e.line,h[1]=k,n=e.bMarks[o],k>=r||e.sCount[k]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;for(x=!1,c=0,u=F.length;c<u;c++)if(F[c](e,k,r,!0)){x=!0;break}if(x)break;if(f){if(I=Pc(e,k),I<0)break;ye=e.bMarks[k]+e.tShift[k]}else if(I=Rc(e,k),I<0)break;if(w!==e.src.charCodeAt(I-1))break}return f?T=e.push("ordered_list_close","ol",-1):T=e.push("bullet_list_close","ul",-1),T.markup=String.fromCharCode(w),g[1]=k,e.line=k,e.parentType=_,Rr&&ph(e,m),!0},mh=O.normalizeReference,br=O.isSpace,vh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$=0,_=e.bMarks[o]+e.tShift[o],D=e.eMarks[o],P=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(_)!==91)return!1;for(;++_<D;)if(e.src.charCodeAt(_)===93&&e.src.charCodeAt(_-1)!==92){if(_+1===D||e.src.charCodeAt(_+1)!==58)return!1;break}for(i=e.lineMax,k=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";P<i&&!e.isEmpty(P);P++)if(!(e.sCount[P]-e.blkIndent>3)&&!(e.sCount[P]<0)){for(v=!1,d=0,f=k.length;d<f;d++)if(k[d](e,P,i,!0)){v=!0;break}if(v)break}for(y=e.getLines(o,P,e.blkIndent,!1).trim(),D=y.length,_=1;_<D;_++){if(a=y.charCodeAt(_),a===91)return!1;if(a===93){u=_;break}else a===10?$++:a===92&&(_++,_<D&&y.charCodeAt(_)===10&&$++)}if(u<0||y.charCodeAt(u+1)!==58)return!1;for(_=u+2;_<D;_++)if(a=y.charCodeAt(_),a===10)$++;else if(!br(a))break;if(m=e.md.helpers.parseLinkDestination(y,_,D),!m.ok||(l=e.md.normalizeLink(m.str),!e.md.validateLink(l)))return!1;for(_=m.pos,$+=m.lines,n=_,c=$,w=_;_<D;_++)if(a=y.charCodeAt(_),a===10)$++;else if(!br(a))break;for(m=e.md.helpers.parseLinkTitle(y,_,D),_<D&&w!==_&&m.ok?(C=m.str,_=m.pos,$+=m.lines):(C="",_=n,$=c);_<D&&(a=y.charCodeAt(_),!!br(a));)_++;if(_<D&&y.charCodeAt(_)!==10&&C)for(C="",_=n,$=c;_<D&&(a=y.charCodeAt(_),!!br(a));)_++;return _<D&&y.charCodeAt(_)!==10||(h=mh(y.slice(1,u)),!h)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:l}),e.parentType=g,e.line=o+$+1),!0)},yh=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],pr={},wh="[a-zA-Z_:][a-zA-Z0-9:._-]*",_h="[^\"'=<>`\\x00-\\x20]+",xh="'[^']*'",kh='"[^"]*"',Ah="(?:"+_h+"|"+xh+"|"+kh+")",Ch="(?:\\s+"+wh+"(?:\\s*=\\s*"+Ah+")?)",Mc="<[A-Za-z][A-Za-z0-9\\-]*"+Ch+"*\\s*\\/?>",Ic="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",$h="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Eh="<[?][\\s\\S]*?[?]>",Sh="<![A-Z]+\\s+[^>]*>",qh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Dh=new RegExp("^(?:"+Mc+"|"+Ic+"|"+$h+"|"+Eh+"|"+Sh+"|"+qh+")"),Th=new RegExp("^(?:"+Mc+"|"+Ic+")");pr.HTML_TAG_RE=Dh,pr.HTML_OPEN_CLOSE_TAG_RE=Th;var Lh=yh,zh=pr.HTML_OPEN_CLOSE_TAG_RE,Ut=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Lh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(zh.source+"\\s*$"),/^$/,!1]],Rh=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(i=e.src.slice(l,d),a=0;a<Ut.length&&!Ut[a][0].test(i);a++);if(a===Ut.length)return!1;if(s)return Ut[a][2];if(n=o+1,!Ut[a][1].test(i)){for(;n<r&&!(e.sCount[n]<e.blkIndent);n++)if(l=e.bMarks[n]+e.tShift[n],d=e.eMarks[n],i=e.src.slice(l,d),Ut[a][1].test(i)){i.length!==0&&n++;break}}return e.line=n,c=e.push("html_block","",0),c.map=[o,n],c.content=e.getLines(o,n,e.blkIndent,!0),!0},Fc=O.isSpace,Ph=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l),a!==35||l>=d))return!1;for(n=1,a=e.src.charCodeAt(++l);a===35&&l<d&&n<=6;)n++,a=e.src.charCodeAt(++l);return n>6||l<d&&!Fc(a)?!1:(s||(d=e.skipSpacesBack(d,l),c=e.skipCharsBack(d,35,l),c>l&&Fc(e.src.charCodeAt(c-1))&&(d=c),e.line=o+1,i=e.push("heading_open","h"+String(n),1),i.markup="########".slice(0,n),i.map=[o,e.line],i=e.push("inline","",0),i.content=e.src.slice(l,d).trim(),i.map=[o,e.line],i.children=[],i=e.push("heading_close","h"+String(n),-1),i.markup="########".slice(0,n)),!0)},Mh=function(e,o,r){var s,a,n,c,i,l,d,f,h,u=o+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)){if(e.sCount[u]>=e.blkIndent&&(l=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],l<d&&(h=e.src.charCodeAt(l),(h===45||h===61)&&(l=e.skipChars(l,h),l=e.skipSpaces(l),l>=d)))){f=h===61?1:2;break}if(!(e.sCount[u]<0)){for(a=!1,n=0,c=m.length;n<c;n++)if(m[n](e,u,r,!0)){a=!0;break}if(a)break}}return f?(s=e.getLines(o,u,e.blkIndent,!1).trim(),e.line=u+1,i=e.push("heading_open","h"+String(f),1),i.markup=String.fromCharCode(h),i.map=[o,e.line],i=e.push("inline","",0),i.content=s,i.map=[o,e.line-1],i.children=[],i=e.push("heading_close","h"+String(f),-1),i.markup=String.fromCharCode(h),e.parentType=g,!0):!1},Ih=function(e,o){var r,s,a,n,c,i,l=o+1,d=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(i=e.parentType,e.parentType="paragraph";l<f&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(s=!1,a=0,n=d.length;a<n;a++)if(d[a](e,l,f,!0)){s=!0;break}if(s)break}return r=e.getLines(o,l,e.blkIndent,!1).trim(),e.line=l,c=e.push("paragraph_open","p",1),c.map=[o,e.line],c=e.push("inline","",0),c.content=r,c.map=[o,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=i,!0},Bc=Ns,gr=O.isSpace;function Pe(t,e,o,r){var s,a,n,c,i,l,d,f;for(this.src=t,this.md=e,this.env=o,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,f=!1,n=c=l=d=0,i=a.length;c<i;c++){if(s=a.charCodeAt(c),!f)if(gr(s)){l++,s===9?d+=4-d%4:d++;continue}else f=!0;(s===10||c===i-1)&&(s!==10&&c++,this.bMarks.push(n),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(d),this.bsCount.push(0),f=!1,l=0,d=0,n=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Pe.prototype.push=function(t,e,o){var r=new Bc(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},Pe.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Pe.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Pe.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!gr(o));e++);return e},Pe.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!gr(this.src.charCodeAt(--e)))return e+1;return e},Pe.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},Pe.prototype.skipCharsBack=function(e,o,r){if(e<=r)return e;for(;e>r;)if(o!==this.src.charCodeAt(--e))return e+1;return e},Pe.prototype.getLines=function(e,o,r,s){var a,n,c,i,l,d,f,h=e;if(e>=o)return"";for(d=new Array(o-e),a=0;h<o;h++,a++){for(n=0,f=i=this.bMarks[h],h+1<o||s?l=this.eMarks[h]+1:l=this.eMarks[h];i<l&&n<r;){if(c=this.src.charCodeAt(i),gr(c))c===9?n+=4-(n+this.bsCount[h])%4:n++;else if(i-f<this.tShift[h])n++;else break;i++}n>r?d[a]=new Array(n-r+1).join(" ")+this.src.slice(i,l):d[a]=this.src.slice(i,l)}return d.join("")},Pe.prototype.Token=Bc;var Fh=Pe,Bh=Os,mr=[["table",lh,["paragraph","reference"]],["code",dh],["fence",fh,["paragraph","reference","blockquote","list"]],["blockquote",uh,["paragraph","reference","blockquote","list"]],["hr",bh,["paragraph","reference","blockquote","list"]],["list",gh,["paragraph","reference","blockquote"]],["reference",vh],["html_block",Rh,["paragraph","reference","blockquote"]],["heading",Ph,["paragraph","reference","blockquote"]],["lheading",Mh],["paragraph",Ih]];function vr(){this.ruler=new Bh;for(var t=0;t<mr.length;t++)this.ruler.push(mr[t][0],mr[t][1],{alt:(mr[t][2]||[]).slice()})}vr.prototype.tokenize=function(t,e,o){for(var r,s,a=this.ruler.getRules(""),n=a.length,c=e,i=!1,l=t.md.options.maxNesting;c<o&&(t.line=c=t.skipEmptyLines(c),!(c>=o||t.sCount[c]<t.blkIndent));){if(t.level>=l){t.line=o;break}for(s=0;s<n&&(r=a[s](t,c,o,!1),!r);s++);t.tight=!i,t.isEmpty(t.line-1)&&(i=!0),c=t.line,c<o&&t.isEmpty(c)&&(i=!0,c++,t.line=c)}},vr.prototype.parse=function(t,e,o,r){var s;t&&(s=new this.State(t,e,o,r),this.tokenize(s,s.line,s.lineMax))},vr.prototype.State=Fh;var Oh=vr;function Nh(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Vh=function(e,o){for(var r=e.pos;r<e.posMax&&!Nh(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Hh=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Uh=function(e,o){var r,s,a,n,c,i,l,d;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(Hh),!a)||(n=a[1],c=e.md.linkify.matchAtStart(e.src.slice(r-n.length)),!c)||(i=c.url,i=i.replace(/\*+$/,""),l=e.md.normalizeLink(i),!e.md.validateLink(l))?!1:(o||(e.pending=e.pending.slice(0,-n.length),d=e.push("link_open","a",1),d.attrs=[["href",l]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(i),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=i.length-n.length,!0)},jh=O.isSpace,Gh=function(e,o){var r,s,a,n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!o)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),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(n++;n<s&&jh(e.src.charCodeAt(n));)n++;return e.pos=n,!0},Zh=O.isSpace,Gs=[],Oc=0;Oc<256;Oc++)Gs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Gs[t.charCodeAt(0)]=1});var Wh=function(e,o){var r,s,a,n,c,i=e.pos,l=e.posMax;if(e.src.charCodeAt(i)!==92||(i++,i>=l))return!1;if(r=e.src.charCodeAt(i),r===10){for(o||e.push("hardbreak","br",0),i++;i<l&&(r=e.src.charCodeAt(i),!!Zh(r));)i++;return e.pos=i,!0}return n=e.src[i],r>=55296&&r<=56319&&i+1<l&&(s=e.src.charCodeAt(i+1),s>=56320&&s<=57343&&(n+=e.src[i+1],i++)),a="\\"+n,o||(c=e.push("text_special","",0),r<256&&Gs[r]!==0?c.content=n:c.content=a,c.markup=a,c.info="escape"),e.pos=i+1,!0},Kh=function(e,o){var r,s,a,n,c,i,l,d,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(r=f,f++,s=e.posMax;f<s&&e.src.charCodeAt(f)===96;)f++;if(a=e.src.slice(r,f),l=a.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return o||(e.pending+=a),e.pos+=l,!0;for(c=i=f;(c=e.src.indexOf("`",i))!==-1;){for(i=c+1;i<s&&e.src.charCodeAt(i)===96;)i++;if(d=i-c,d===l)return o||(n=e.push("code_inline","code",0),n.markup=a,n.content=e.src.slice(f,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=i,!0;e.backticks[d]=c}return e.backticksScanned=!0,o||(e.pending+=a),e.pos+=l,!0},yr={};yr.tokenize=function(e,o){var r,s,a,n,c,i=e.pos,l=e.src.charCodeAt(i);if(o||l!==126||(s=e.scanDelims(e.pos,!0),n=s.length,c=String.fromCharCode(l),n<2))return!1;for(n%2&&(a=e.push("text","",0),a.content=c,n--),r=0;r<n;r+=2)a=e.push("text","",0),a.content=c+c,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Nc(t,e){var o,r,s,a,n,c=[],i=e.length;for(o=0;o<i;o++)s=e[o],s.marker===126&&s.end!==-1&&(a=e[s.end],n=t.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=t.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",t.tokens[a.token-1].type==="text"&&t.tokens[a.token-1].content==="~"&&c.push(a.token-1));for(;c.length;){for(o=c.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(n=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=n)}}yr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Nc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Nc(e,r[o].delimiters)};var wr={};wr.tokenize=function(e,o){var r,s,a,n=e.pos,c=e.src.charCodeAt(n);if(o||c!==95&&c!==42)return!1;for(s=e.scanDelims(e.pos,c===42),r=0;r<s.length;r++)a=e.push("text","",0),a.content=String.fromCharCode(c),e.delimiters.push({marker:c,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Vc(t,e){var o,r,s,a,n,c,i=e.length;for(o=i-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],c=o>0&&e[o-1].end===r.end+1&&e[o-1].marker===r.marker&&e[o-1].token===r.token-1&&e[r.end+1].token===s.token+1,n=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=c?"strong_open":"em_open",a.tag=c?"strong":"em",a.nesting=1,a.markup=c?n+n:n,a.content="",a=t.tokens[s.token],a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?n+n:n,a.content="",c&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}wr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Vc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Vc(e,r[o].delimiters)};var Yh=O.normalizeReference,Zs=O.isSpace,Jh=function(e,o){var r,s,a,n,c,i,l,d,f,h="",u="",g=e.pos,m=e.posMax,w=e.pos,y=!0;if(e.src.charCodeAt(e.pos)!==91||(c=e.pos+1,n=e.md.helpers.parseLinkLabel(e,e.pos,!0),n<0))return!1;if(i=n+1,i<m&&e.src.charCodeAt(i)===40){for(y=!1,i++;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);if(i>=m)return!1;if(w=i,l=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),l.ok){for(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?i=l.pos:h="",w=i;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);if(l=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<m&&w!==i&&l.ok)for(u=l.str,i=l.pos;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);}(i>=m||e.src.charCodeAt(i)!==41)&&(y=!0),i++}if(y){if(typeof e.env.references>"u")return!1;if(i<m&&e.src.charCodeAt(i)===91?(w=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?a=e.src.slice(w,i++):i=n+1):i=n+1,a||(a=e.src.slice(c,n)),d=e.env.references[Yh(a)],!d)return e.pos=g,!1;h=d.href,u=d.title}return o||(e.pos=c,e.posMax=n,f=e.push("link_open","a",1),f.attrs=r=[["href",h]],u&&r.push(["title",u]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=i,e.posMax=m,!0},Qh=O.normalizeReference,Ws=O.isSpace,Xh=function(e,o){var r,s,a,n,c,i,l,d,f,h,u,g,m,w="",y=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(i=e.pos+2,c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),c<0))return!1;if(l=c+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);if(l>=v)return!1;for(m=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(w=e.md.normalizeLink(f.str),e.md.validateLink(w)?l=f.pos:w=""),m=l;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&m!==l&&f.ok)for(h=f.str,l=f.pos;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);else h="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(m=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?n=e.src.slice(m,l++):l=c+1):l=c+1,n||(n=e.src.slice(i,c)),d=e.env.references[Qh(n)],!d)return e.pos=y,!1;w=d.href,h=d.title}return o||(a=e.src.slice(i,c),e.md.inline.parse(a,e.md,e.env,g=[]),u=e.push("image","img",0),u.attrs=r=[["src",w],["alt",""]],u.children=g,u.content=a,h&&r.push(["title",h])),e.pos=l,e.posMax=v,!0},e0=/^([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])?)*)$/,t0=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,o0=function(e,o){var r,s,a,n,c,i,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(c=e.pos,i=e.posMax;;){if(++l>=i||(n=e.src.charCodeAt(l),n===60))return!1;if(n===62)break}return r=e.src.slice(c+1,l),t0.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):e0.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},r0=pr.HTML_TAG_RE;function s0(t){return/^<a[>\s]/i.test(t)}function a0(t){return/^<\/a\s*>/i.test(t)}function n0(t){var e=t|32;return e>=97&&e<=122}var c0=function(e,o){var r,s,a,n,c=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(c)!==60||c+2>=a)||(r=e.src.charCodeAt(c+1),r!==33&&r!==63&&r!==47&&!n0(r))||(s=e.src.slice(c).match(r0),!s)?!1:(o||(n=e.push("html_inline","",0),n.content=e.src.slice(c,c+s[0].length),s0(n.content)&&e.linkLevel++,a0(n.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Hc=cc,i0=O.has,l0=O.isValidEntityCode,Uc=O.fromCodePoint,d0=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,f0=/^&([a-z][a-z0-9]{1,31});/i,u0=function(e,o){var r,s,a,n,c=e.pos,i=e.posMax;if(e.src.charCodeAt(c)!==38||c+1>=i)return!1;if(r=e.src.charCodeAt(c+1),r===35){if(a=e.src.slice(c).match(d0),a)return o||(s=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),n=e.push("text_special","",0),n.content=l0(s)?Uc(s):Uc(65533),n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(c).match(f0),a&&i0(Hc,a[1]))return o||(n=e.push("text_special","",0),n.content=Hc[a[1]],n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0;return!1};function jc(t,e){var o,r,s,a,n,c,i,l,d={},f=e.length;if(f){var h=0,u=-2,g=[];for(o=0;o<f;o++)if(s=e[o],g.push(0),(e[h].marker!==s.marker||u!==s.token-1)&&(h=o),u=s.token,s.length=s.length||0,!!s.close){for(d.hasOwnProperty(s.marker)||(d[s.marker]=[-1,-1,-1,-1,-1,-1]),n=d[s.marker][(s.open?3:0)+s.length%3],r=h-g[h]-1,c=r;r>n;r-=g[r]+1)if(a=e[r],a.marker===s.marker&&a.open&&a.end<0&&(i=!1,(a.close||s.open)&&(a.length+s.length)%3===0&&(a.length%3!==0||s.length%3!==0)&&(i=!0),!i)){l=r>0&&!e[r-1].open?g[r-1]+1:0,g[o]=o-r+l,g[r]=l,s.open=!1,a.end=o,a.close=!1,c=-1,u=-2;break}c!==-1&&(d[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}}var h0=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(jc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&jc(e,r[o].delimiters)},b0=function(e){var o,r,s=0,a=e.tokens,n=e.tokens.length;for(o=r=0;o<n;o++)a[o].nesting<0&&s--,a[o].level=s,a[o].nesting>0&&s++,a[o].type==="text"&&o+1<n&&a[o+1].type==="text"?a[o+1].content=a[o].content+a[o+1].content:(o!==r&&(a[r]=a[o]),r++);o!==r&&(a.length=r)},Ks=Ns,Gc=O.isWhiteSpace,Zc=O.isPunctChar,Wc=O.isMdAsciiPunct;function qo(t,e,o,r){this.src=t,this.env=o,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}qo.prototype.pushPending=function(){var t=new Ks("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},qo.prototype.push=function(t,e,o){this.pending&&this.pushPending();var r=new Ks(t,e,o),s=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},qo.prototype.scanDelims=function(t,e){var o=t,r,s,a,n,c,i,l,d,f,h=!0,u=!0,g=this.posMax,m=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<g&&this.src.charCodeAt(o)===m;)o++;return a=o-t,s=o<g?this.src.charCodeAt(o):32,l=Wc(r)||Zc(String.fromCharCode(r)),f=Wc(s)||Zc(String.fromCharCode(s)),i=Gc(r),d=Gc(s),d?h=!1:f&&(i||l||(h=!1)),i?u=!1:l&&(d||f||(u=!1)),e?(n=h,c=u):(n=h&&(!u||l),c=u&&(!h||f)),{can_open:n,can_close:c,length:a}},qo.prototype.Token=Ks;var p0=qo,Kc=Os,Ys=[["text",Vh],["linkify",Uh],["newline",Gh],["escape",Wh],["backticks",Kh],["strikethrough",yr.tokenize],["emphasis",wr.tokenize],["link",Jh],["image",Xh],["autolink",o0],["html_inline",c0],["entity",u0]],Js=[["balance_pairs",h0],["strikethrough",yr.postProcess],["emphasis",wr.postProcess],["fragments_join",b0]];function Do(){var t;for(this.ruler=new Kc,t=0;t<Ys.length;t++)this.ruler.push(Ys[t][0],Ys[t][1]);for(this.ruler2=new Kc,t=0;t<Js.length;t++)this.ruler2.push(Js[t][0],Js[t][1])}Do.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),a=s.length,n=t.md.options.maxNesting,c=t.cache;if(typeof c[r]<"u"){t.pos=c[r];return}if(t.level<n)for(o=0;o<a&&(t.level++,e=s[o](t,!0),t.level--,!e);o++);else t.pos=t.posMax;e||t.pos++,c[r]=t.pos},Do.prototype.tokenize=function(t){for(var e,o,r=this.ruler.getRules(""),s=r.length,a=t.posMax,n=t.md.options.maxNesting;t.pos<a;){if(t.level<n)for(o=0;o<s&&(e=r[o](t,!1),!e);o++);if(e){if(t.pos>=a)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Do.prototype.parse=function(t,e,o,r){var s,a,n,c=new this.State(t,e,o,r);for(this.tokenize(c),a=this.ruler2.getRules(""),n=a.length,s=0;s<n;s++)a[s](c)},Do.prototype.State=p0;var g0=Do,Qs,Yc;function m0(){return Yc||(Yc=1,Qs=function(t){var e={};t=t||{},e.src_Any=gc().source,e.src_Cc=vc().source,e.src_Z=_c().source,e.src_P=Ps.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var o="[><|]";return e.src_pseudo_letter="(?:(?!"+o+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+o+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Qs}function Xs(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(o){o&&Object.keys(o).forEach(function(r){t[r]=o[r]})}),t}function _r(t){return Object.prototype.toString.call(t)}function v0(t){return _r(t)==="[object String]"}function y0(t){return _r(t)==="[object Object]"}function w0(t){return _r(t)==="[object RegExp]"}function Jc(t){return _r(t)==="[object Function]"}function _0(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Qc={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function x0(t){return Object.keys(t||{}).reduce(function(e,o){return e||Qc.hasOwnProperty(o)},!1)}var k0={"http:":{validate:function(t,e,o){var r=t.slice(e);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(r)?r.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,o){var r=t.slice(e);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,o){var r=t.slice(e);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(r)?r.match(o.re.mailto)[0].length:0}}},A0="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]",C0="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function $0(t){t.__index__=-1,t.__text_cache__=""}function E0(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function Xc(){return function(t,e){e.normalize(t)}}function xr(t){var e=t.re=m0()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(A0),o.push(e.src_xn),e.src_tlds=o.join("|");function r(c){return c.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function a(c,i){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+i)}Object.keys(t.__schemas__).forEach(function(c){var i=t.__schemas__[c];if(i!==null){var l={validate:null,link:null};if(t.__compiled__[c]=l,y0(i)){w0(i.validate)?l.validate=E0(i.validate):Jc(i.validate)?l.validate=i.validate:a(c,i),Jc(i.normalize)?l.normalize=i.normalize:i.normalize?a(c,i):l.normalize=Xc();return}if(v0(i)){s.push(c);return}a(c,i)}}),s.forEach(function(c){t.__compiled__[t.__schemas__[c]]&&(t.__compiled__[c].validate=t.__compiled__[t.__schemas__[c]].validate,t.__compiled__[c].normalize=t.__compiled__[t.__schemas__[c]].normalize)}),t.__compiled__[""]={validate:null,normalize:Xc()};var n=Object.keys(t.__compiled__).filter(function(c){return c.length>0&&t.__compiled__[c]}).map(_0).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),$0(t)}function S0(t,e){var o=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(o,r);this.schema=t.__schema__.toLowerCase(),this.index=o+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function ea(t,e){var o=new S0(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function pe(t,e){if(!(this instanceof pe))return new pe(t,e);e||x0(t)&&(e=t,t={}),this.__opts__=Xs({},Qc,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Xs({},k0,t),this.__compiled__={},this.__tlds__=C0,this.__tlds_replaced__=!1,this.re={},xr(this)}pe.prototype.add=function(e,o){return this.__schemas__[e]=o,xr(this),this},pe.prototype.set=function(e){return this.__opts__=Xs(this.__opts__,e),this},pe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,a,n,c,i,l,d;if(this.re.schema_test.test(e)){for(i=this.re.schema_search,i.lastIndex=0;(o=i.exec(e))!==null;)if(a=this.testSchemaAt(e,o[2],i.lastIndex),a){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(n=r.index+r[1].length,(this.__index__<0||n<this.__index__)&&(this.__schema__="",this.__index__=n,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(n=s.index+s[1].length,c=s.index+s[0].length,(this.__index__<0||n<this.__index__||n===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=c))),this.__index__>=0},pe.prototype.pretest=function(e){return this.re.pretest.test(e)},pe.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},pe.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(ea(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(ea(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},pe.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var o=this.re.schema_at_start.exec(e);if(!o)return null;var r=this.testSchemaAt(e,o[2],o[0].length);return r?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r,ea(this,0)):null},pe.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,a){return r!==a[s-1]}).reverse(),xr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,xr(this),this)},pe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},pe.prototype.onCompile=function(){};var q0=pe;const jt=2147483647,Me=36,ta=1,To=26,D0=38,T0=700,ei=72,ti=128,oi="-",L0=/^xn--/,z0=/[^\0-\x7F]/,R0=/[\x2E\u3002\uFF0E\uFF61]/g,P0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oa=Me-ta,Ie=Math.floor,ra=String.fromCharCode;function at(t){throw new RangeError(P0[t])}function M0(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function ri(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(R0,".");const s=t.split("."),a=M0(s,e).join(".");return r+a}function sa(t){const e=[];let o=0;const r=t.length;for(;o<r;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<r){const a=t.charCodeAt(o++);(a&64512)==56320?e.push(((s&1023)<<10)+(a&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const si=t=>String.fromCodePoint(...t),I0=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Me},ai=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},ni=function(t,e,o){let r=0;for(t=o?Ie(t/T0):t>>1,t+=Ie(t/e);t>oa*To>>1;r+=Me)t=Ie(t/oa);return Ie(r+(oa+1)*t/(t+D0))},aa=function(t){const e=[],o=t.length;let r=0,s=ti,a=ei,n=t.lastIndexOf(oi);n<0&&(n=0);for(let c=0;c<n;++c)t.charCodeAt(c)>=128&&at("not-basic"),e.push(t.charCodeAt(c));for(let c=n>0?n+1:0;c<o;){const i=r;for(let d=1,f=Me;;f+=Me){c>=o&&at("invalid-input");const h=I0(t.charCodeAt(c++));h>=Me&&at("invalid-input"),h>Ie((jt-r)/d)&&at("overflow"),r+=h*d;const u=f<=a?ta:f>=a+To?To:f-a;if(h<u)break;const g=Me-u;d>Ie(jt/g)&&at("overflow"),d*=g}const l=e.length+1;a=ni(r-i,l,i==0),Ie(r/l)>jt-s&&at("overflow"),s+=Ie(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},na=function(t){const e=[];t=sa(t);const o=t.length;let r=ti,s=0,a=ei;for(const i of t)i<128&&e.push(ra(i));const n=e.length;let c=n;for(n&&e.push(oi);c<o;){let i=jt;for(const d of t)d>=r&&d<i&&(i=d);const l=c+1;i-r>Ie((jt-s)/l)&&at("overflow"),s+=(i-r)*l,r=i;for(const d of t)if(d<r&&++s>jt&&at("overflow"),d===r){let f=s;for(let h=Me;;h+=Me){const u=h<=a?ta:h>=a+To?To:h-a;if(f<u)break;const g=f-u,m=Me-u;e.push(ra(ai(u+g%m,0))),f=Ie(g/m)}e.push(ra(ai(f,0))),a=ni(s,l,c===n),s=0,++c}++s,++r}return e.join("")},ci=function(t){return ri(t,function(e){return L0.test(e)?aa(e.slice(4).toLowerCase()):e})},ii=function(t){return ri(t,function(e){return z0.test(e)?"xn--"+na(e):e})},F0=_l(Object.freeze(Object.defineProperty({__proto__:null,decode:aa,default:{version:"2.1.0",ucs2:{decode:sa,encode:si},decode:aa,encode:na,toASCII:ii,toUnicode:ci},encode:na,toASCII:ii,toUnicode:ci,ucs2decode:sa,ucs2encode:si},Symbol.toStringTag,{value:"Module"})));var B0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},O0={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"]}}},N0={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"]}}},Lo=O,V0=ur,H0=Fu,U0=ih,j0=Oh,G0=g0,Z0=q0,Et=Nt,li=F0,W0={default:B0,zero:O0,commonmark:N0},K0=/^(vbscript|javascript|file|data):/,Y0=/^data:image\/(gif|png|jpeg|webp);/;function J0(t){var e=t.trim().toLowerCase();return K0.test(e)?!!Y0.test(e):!0}var di=["http:","https:","mailto:"];function Q0(t){var e=Et.parse(t,!0);if(e.hostname&&(!e.protocol||di.indexOf(e.protocol)>=0))try{e.hostname=li.toASCII(e.hostname)}catch{}return Et.encode(Et.format(e))}function X0(t){var e=Et.parse(t,!0);if(e.hostname&&(!e.protocol||di.indexOf(e.protocol)>=0))try{e.hostname=li.toUnicode(e.hostname)}catch{}return Et.decode(Et.format(e),Et.decode.defaultChars+"%")}function ve(t,e){if(!(this instanceof ve))return new ve(t,e);e||Lo.isString(t)||(e=t||{},t="default"),this.inline=new G0,this.block=new j0,this.core=new U0,this.renderer=new H0,this.linkify=new Z0,this.validateLink=J0,this.normalizeLink=Q0,this.normalizeLinkText=X0,this.utils=Lo,this.helpers=Lo.assign({},V0),this.options={},this.configure(t),e&&this.set(e)}ve.prototype.set=function(t){return Lo.assign(this.options,t),this},ve.prototype.configure=function(t){var e=this,o;if(Lo.isString(t)&&(o=t,t=W0[o],!t))throw new Error('Wrong `markdown-it` preset "'+o+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},ve.prototype.enable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.enable(t,!0))},this),o=o.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},ve.prototype.disable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.disable(t,!0))},this),o=o.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},ve.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},ve.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var o=new this.core.State(t,this,e);return this.core.process(o),o.tokens},ve.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},ve.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},ve.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var eb=ve,tb=eb;const ob=Xr(tb);function rb(t,e){var o,r,s=t.attrs[t.attrIndex("href")][1];for(o=0;o<e.length;++o){if(r=e[o],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function sb(t,e,o){Object.keys(o).forEach(function(r){var s,a=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,a]):e[t].attrs[s][1]=a})}function fi(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var o=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,a,n,c){var i=rb(r[s],e),l=i&&i.attrs;return l&&sb(s,r,l),o(r,s,a,n,c)}}fi.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var ab=fi;const nb=Xr(ab);function cb(){const t=new ob({linkify:!0});return t.use(nb,{attrs:{target:"_blank",rel:"noopener"}}),t}async function ui(t){const e=cb();return A`${yt(e.render(t))}`}var ib=Object.defineProperty,lb=Object.getOwnPropertyDescriptor,kr=(t,e,o,r)=>{for(var s=r>1?void 0:r?lb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&ib(e,o,s),s};let Gt=class extends ce{constructor(){super(...arguments),this.type="assistant"}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents()})}get _isBot(){return this.message.author==="assistant"||this.message.author==="system"}_removeMessageHandler(){this.emit("message:remove",{detail:this.message})}_addCopyEvents(){this.copyBtns.forEach(t=>{t.addEventListener("click",()=>{var o,r;const e=(r=(o=t.parentElement)==null?void 0:o.nextElementSibling)==null?void 0:r.textContent;e&&Fl(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return Ot(this.message.data||this.message.isThinking,()=>A`
4886
+ `),o=o.replace(Ou,"�"),e.src=o},Vu=function(e){var o;e.inlineMode?(o=new e.Token("inline","",0),o.content=e.src,o.map=[0,1],o.children=[],e.tokens.push(o)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},Hu=function(e){var o=e.tokens,r,s,a;for(s=0,a=o.length;s<a;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Uu=O.arrayReplaceAt;function ju(t){return/^<a[>\s]/i.test(t)}function Gu(t){return/^<\/a\s*>/i.test(t)}var Zu=function(e){var o,r,s,a,n,c,i,l,d,f,h,u,g,m,w,y,v=e.tokens,k;if(e.md.options.linkify){for(r=0,s=v.length;r<s;r++)if(!(v[r].type!=="inline"||!e.md.linkify.pretest(v[r].content)))for(a=v[r].children,g=0,o=a.length-1;o>=0;o--){if(c=a[o],c.type==="link_close"){for(o--;a[o].level!==c.level&&a[o].type!=="link_open";)o--;continue}if(c.type==="html_inline"&&(ju(c.content)&&g>0&&g--,Gu(c.content)&&g++),!(g>0)&&c.type==="text"&&e.md.linkify.test(c.content)){for(d=c.content,k=e.md.linkify.match(d),i=[],u=c.level,h=0,k.length>0&&k[0].index===0&&o>0&&a[o-1].type==="text_special"&&(k=k.slice(1)),l=0;l<k.length;l++)m=k[l].url,w=e.md.normalizeLink(m),e.md.validateLink(w)&&(y=k[l].text,k[l].schema?k[l].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),f=k[l].index,f>h&&(n=new e.Token("text","",0),n.content=d.slice(h,f),n.level=u,i.push(n)),n=new e.Token("link_open","a",1),n.attrs=[["href",w]],n.level=u++,n.markup="linkify",n.info="auto",i.push(n),n=new e.Token("text","",0),n.content=y,n.level=u,i.push(n),n=new e.Token("link_close","a",-1),n.level=--u,n.markup="linkify",n.info="auto",i.push(n),h=k[l].lastIndex);h<d.length&&(n=new e.Token("text","",0),n.content=d.slice(h),n.level=u,i.push(n)),v[r].children=a=Uu(a,o,i)}}}},Ac=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Wu=/\((c|tm|r)\)/i,Ku=/\((c|tm|r)\)/ig,Yu={c:"©",r:"®",tm:"™"};function Ju(t,e){return Yu[e.toLowerCase()]}function Qu(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&(o.content=o.content.replace(Ku,Ju)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function Xu(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&Ac.test(o.content)&&(o.content=o.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–")),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}var eh=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type==="inline"&&(Wu.test(e.tokens[o].content)&&Qu(e.tokens[o].children),Ac.test(e.tokens[o].content)&&Xu(e.tokens[o].children))},Cc=O.isWhiteSpace,$c=O.isPunctChar,Ec=O.isMdAsciiPunct,th=/['"]/,Sc=/['"]/g,qc="’";function br(t,e,o){return t.slice(0,e)+o+t.slice(e+1)}function oh(t,e){var o,r,s,a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_;for(C=[],o=0;o<t.length;o++){for(r=t[o],i=t[o].level,v=C.length-1;v>=0&&!(C[v].level<=i);v--);if(C.length=v+1,r.type==="text"){s=r.content,n=0,c=s.length;e:for(;n<c&&(Sc.lastIndex=n,a=Sc.exec(s),!!a);){if(w=y=!0,n=a.index+1,k=a[0]==="'",d=32,a.index-1>=0)d=s.charCodeAt(a.index-1);else for(v=o-1;v>=0&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v--)if(t[v].content){d=t[v].content.charCodeAt(t[v].content.length-1);break}if(f=32,n<c)f=s.charCodeAt(n);else for(v=o+1;v<t.length&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v++)if(t[v].content){f=t[v].content.charCodeAt(0);break}if(h=Ec(d)||$c(String.fromCharCode(d)),u=Ec(f)||$c(String.fromCharCode(f)),g=Cc(d),m=Cc(f),m?w=!1:u&&(g||h||(w=!1)),g?y=!1:h&&(m||u||(y=!1)),f===34&&a[0]==='"'&&d>=48&&d<=57&&(y=w=!1),w&&y&&(w=h,y=u),!w&&!y){k&&(r.content=br(r.content,a.index,qc));continue}if(y){for(v=C.length-1;v>=0&&(l=C[v],!(C[v].level<i));v--)if(l.single===k&&C[v].level===i){l=C[v],k?($=e.md.options.quotes[2],_=e.md.options.quotes[3]):($=e.md.options.quotes[0],_=e.md.options.quotes[1]),r.content=br(r.content,a.index,_),t[l.token].content=br(t[l.token].content,l.pos,$),n+=_.length-1,l.token===o&&(n+=$.length-1),s=r.content,c=s.length,C.length=v;continue e}}w?C.push({token:o,pos:a.index,single:k,level:i}):y&&k&&(r.content=br(r.content,a.index,qc))}}}}var rh=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type!=="inline"||!th.test(e.tokens[o].content)||oh(e.tokens[o].children,e)},sh=function(e){var o,r,s,a,n,c,i=e.tokens;for(o=0,r=i.length;o<r;o++)if(i[o].type==="inline"){for(s=i[o].children,n=s.length,a=0;a<n;a++)s[a].type==="text_special"&&(s[a].type="text");for(a=c=0;a<n;a++)s[a].type==="text"&&a+1<n&&s[a+1].type==="text"?s[a+1].content=s[a].content+s[a+1].content:(a!==c&&(s[c]=s[a]),c++);a!==c&&(s.length=c)}};function Ht(t,e,o){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ht.prototype.attrIndex=function(e){var o,r,s;if(!this.attrs)return-1;for(o=this.attrs,r=0,s=o.length;r<s;r++)if(o[r][0]===e)return r;return-1},Ht.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Ht.prototype.attrSet=function(e,o){var r=this.attrIndex(e),s=[e,o];r<0?this.attrPush(s):this.attrs[r]=s},Ht.prototype.attrGet=function(e){var o=this.attrIndex(e),r=null;return o>=0&&(r=this.attrs[o][1]),r},Ht.prototype.attrJoin=function(e,o){var r=this.attrIndex(e);r<0?this.attrPush([e,o]):this.attrs[r][1]=this.attrs[r][1]+" "+o};var Ns=Ht,ah=Ns;function Dc(t,e,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=e}Dc.prototype.Token=ah;var nh=Dc,ch=Os,Vs=[["normalize",Nu],["block",Vu],["inline",Hu],["linkify",Zu],["replacements",eh],["smartquotes",rh],["text_join",sh]];function Hs(){this.ruler=new ch;for(var t=0;t<Vs.length;t++)this.ruler.push(Vs[t][0],Vs[t][1])}Hs.prototype.process=function(t){var e,o,r;for(r=this.ruler.getRules(""),e=0,o=r.length;e<o;e++)r[e](t)},Hs.prototype.State=nh;var ih=Hs,Us=O.isSpace;function js(t,e){var o=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(o,r)}function Tc(t){var e=[],o=0,r=t.length,s,a=!1,n=0,c="";for(s=t.charCodeAt(o);o<r;)s===124&&(a?(c+=t.substring(n,o-1),n=o):(e.push(c+t.substring(n,o)),c="",n=o+1)),a=s===92,o++,s=t.charCodeAt(o);return e.push(c+t.substring(n)),e}var lh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_;if(o+2>r||(d=o+1,e.sCount[d]<e.blkIndent)||e.sCount[d]-e.blkIndent>=4||(c=e.bMarks[d]+e.tShift[d],c>=e.eMarks[d])||($=e.src.charCodeAt(c++),$!==124&&$!==45&&$!==58)||c>=e.eMarks[d]||(_=e.src.charCodeAt(c++),_!==124&&_!==45&&_!==58&&!Us(_))||$===45&&Us(_))return!1;for(;c<e.eMarks[d];){if(a=e.src.charCodeAt(c),a!==124&&a!==45&&a!==58&&!Us(a))return!1;c++}for(n=js(e,o+1),f=n.split("|"),g=[],i=0;i<f.length;i++){if(m=f[i].trim(),!m){if(i===0||i===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?g.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?g.push("left"):g.push("")}if(n=js(e,o).trim(),n.indexOf("|")===-1||e.sCount[o]-e.blkIndent>=4||(f=Tc(n),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(s)return!0;for(v=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),u=e.push("table_open","table",1),u.map=w=[o,0],u=e.push("thead_open","thead",1),u.map=[o,o+1],u=e.push("tr_open","tr",1),u.map=[o,o+1],i=0;i<f.length;i++)u=e.push("th_open","th",1),g[i]&&(u.attrs=[["style","text-align:"+g[i]]]),u=e.push("inline","",0),u.content=f[i].trim(),u.children=[],u=e.push("th_close","th",-1);for(u=e.push("tr_close","tr",-1),u=e.push("thead_close","thead",-1),d=o+2;d<r&&!(e.sCount[d]<e.blkIndent);d++){for(k=!1,i=0,l=C.length;i<l;i++)if(C[i](e,d,r,!0)){k=!0;break}if(k||(n=js(e,d).trim(),!n)||e.sCount[d]-e.blkIndent>=4)break;for(f=Tc(n),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),d===o+2&&(u=e.push("tbody_open","tbody",1),u.map=y=[o+2,0]),u=e.push("tr_open","tr",1),u.map=[d,d+1],i=0;i<h;i++)u=e.push("td_open","td",1),g[i]&&(u.attrs=[["style","text-align:"+g[i]]]),u=e.push("inline","",0),u.content=f[i]?f[i].trim():"",u.children=[],u=e.push("td_close","td",-1);u=e.push("tr_close","tr",-1)}return y&&(u=e.push("tbody_close","tbody",-1),y[1]=d),u=e.push("table_close","table",-1),w[1]=d,e.parentType=v,e.line=d,!0},dh=function(e,o,r){var s,a,n;if(e.sCount[o]-e.blkIndent<4)return!1;for(a=s=o+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,a=s;continue}break}return e.line=a,n=e.push("code_block","code",0),n.content=e.getLines(o,a,4+e.blkIndent,!1)+`
4887
+ `,n.map=[o,e.line],!0},fh=function(e,o,r,s){var a,n,c,i,l,d,f,h=!1,u=e.bMarks[o]+e.tShift[o],g=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||u+3>g||(a=e.src.charCodeAt(u),a!==126&&a!==96)||(l=u,u=e.skipChars(u,a),n=u-l,n<3)||(f=e.src.slice(l,u),c=e.src.slice(u,g),a===96&&c.indexOf(String.fromCharCode(a))>=0))return!1;if(s)return!0;for(i=o;i++,!(i>=r||(u=l=e.bMarks[i]+e.tShift[i],g=e.eMarks[i],u<g&&e.sCount[i]<e.blkIndent));)if(e.src.charCodeAt(u)===a&&!(e.sCount[i]-e.blkIndent>=4)&&(u=e.skipChars(u,a),!(u-l<n)&&(u=e.skipSpaces(u),!(u<g)))){h=!0;break}return n=e.sCount[o],e.line=i+(h?1:0),d=e.push("fence","code",0),d.info=c,d.content=e.getLines(o+1,i,n,!0),d.markup=f,d.map=[o,e.line],!0},Lc=O.isSpace,uh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_,D,P,S=e.lineMax,q=e.bMarks[o]+e.tShift[o],I=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(q++)!==62)return!1;if(s)return!0;for(i=u=e.sCount[o]+1,e.src.charCodeAt(q)===32?(q++,i++,u++,a=!1,C=!0):e.src.charCodeAt(q)===9?(C=!0,(e.bsCount[o]+u)%4===3?(q++,i++,u++,a=!1):a=!0):C=!1,g=[e.bMarks[o]],e.bMarks[o]=q;q<I&&(n=e.src.charCodeAt(q),Lc(n));){n===9?u+=4-(u+e.bsCount[o]+(a?1:0))%4:u++;q++}for(m=[e.bsCount[o]],e.bsCount[o]=e.sCount[o]+1+(C?1:0),d=q>=I,v=[e.sCount[o]],e.sCount[o]=u-i,k=[e.tShift[o]],e.tShift[o]=q-e.bMarks[o],_=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",h=o+1;h<r&&(P=e.sCount[h]<e.blkIndent,q=e.bMarks[h]+e.tShift[h],I=e.eMarks[h],!(q>=I));h++){if(e.src.charCodeAt(q++)===62&&!P){for(i=u=e.sCount[h]+1,e.src.charCodeAt(q)===32?(q++,i++,u++,a=!1,C=!0):e.src.charCodeAt(q)===9?(C=!0,(e.bsCount[h]+u)%4===3?(q++,i++,u++,a=!1):a=!0):C=!1,g.push(e.bMarks[h]),e.bMarks[h]=q;q<I&&(n=e.src.charCodeAt(q),Lc(n));){n===9?u+=4-(u+e.bsCount[h]+(a?1:0))%4:u++;q++}d=q>=I,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),v.push(e.sCount[h]),e.sCount[h]=u-i,k.push(e.tShift[h]),e.tShift[h]=q-e.bMarks[h];continue}if(d)break;for($=!1,c=0,l=_.length;c<l;c++)if(_[c](e,h,r,!0)){$=!0;break}if($){e.lineMax=h,e.blkIndent!==0&&(g.push(e.bMarks[h]),m.push(e.bsCount[h]),k.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}g.push(e.bMarks[h]),m.push(e.bsCount[h]),k.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}for(w=e.blkIndent,e.blkIndent=0,D=e.push("blockquote_open","blockquote",1),D.markup=">",D.map=f=[o,0],e.md.block.tokenize(e,o,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=S,e.parentType=y,f[1]=e.line,c=0;c<k.length;c++)e.bMarks[c+o]=g[c],e.tShift[c+o]=k[c],e.sCount[c+o]=v[c],e.bsCount[c+o]=m[c];return e.blkIndent=w,!0},hh=O.isSpace,bh=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l++),a!==42&&a!==45&&a!==95))return!1;for(n=1;l<d;){if(c=e.src.charCodeAt(l++),c!==a&&!hh(c))return!1;c===a&&n++}return n<3?!1:(s||(e.line=o+1,i=e.push("hr","hr",0),i.map=[o,e.line],i.markup=Array(n+1).join(String.fromCharCode(a))),!0)},zc=O.isSpace;function Rc(t,e){var o,r,s,a;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],o=t.src.charCodeAt(r++),o!==42&&o!==45&&o!==43||r<s&&(a=t.src.charCodeAt(r),!zc(a))?-1:r}function Pc(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,a=t.eMarks[e];if(s+1>=a||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=a)return-1;if(o=t.src.charCodeAt(s++),o>=48&&o<=57){if(s-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return s<a&&(o=t.src.charCodeAt(s),!zc(o))?-1:s}function ph(t,e){var o,r,s=t.level+2;for(o=e+2,r=t.tokens.length-2;o<r;o++)t.tokens[o].level===s&&t.tokens[o].type==="paragraph_open"&&(t.tokens[o+2].hidden=!0,t.tokens[o].hidden=!0,o+=2)}var gh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$,_,D,P,S,q,I,W,ye,x,F,T,X=!1,Rr=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(X=!0),(I=Pc(e,o))>=0){if(f=!0,ye=e.bMarks[o]+e.tShift[o],y=Number(e.src.slice(ye,I-1)),X&&y!==1)return!1}else if((I=Rc(e,o))>=0)f=!1;else return!1;if(X&&e.skipSpaces(I)>=e.eMarks[o])return!1;if(w=e.src.charCodeAt(I-1),s)return!0;for(m=e.tokens.length,f?(T=e.push("ordered_list_open","ol",1),y!==1&&(T.attrs=[["start",y]])):T=e.push("bullet_list_open","ul",1),T.map=g=[o,0],T.markup=String.fromCharCode(w),k=o,W=!1,F=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";k<r;){for(q=I,v=e.eMarks[k],d=C=e.sCount[k]+I-(e.bMarks[o]+e.tShift[o]);q<v;){if(a=e.src.charCodeAt(q),a===9)C+=4-(C+e.bsCount[k])%4;else if(a===32)C++;else break;q++}if(n=q,n>=v?l=1:l=C-d,l>4&&(l=1),i=d+l,T=e.push("list_item_open","li",1),T.markup=String.fromCharCode(w),T.map=h=[o,0],f&&(T.info=e.src.slice(ye,I-1)),S=e.tight,P=e.tShift[o],D=e.sCount[o],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=i,e.tight=!0,e.tShift[o]=n-e.bMarks[o],e.sCount[o]=C,n>=v&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,o,r,!0),(!e.tight||W)&&(Rr=!1),W=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[o]=P,e.sCount[o]=D,e.tight=S,T=e.push("list_item_close","li",-1),T.markup=String.fromCharCode(w),k=o=e.line,h[1]=k,n=e.bMarks[o],k>=r||e.sCount[k]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;for(x=!1,c=0,u=F.length;c<u;c++)if(F[c](e,k,r,!0)){x=!0;break}if(x)break;if(f){if(I=Pc(e,k),I<0)break;ye=e.bMarks[k]+e.tShift[k]}else if(I=Rc(e,k),I<0)break;if(w!==e.src.charCodeAt(I-1))break}return f?T=e.push("ordered_list_close","ol",-1):T=e.push("bullet_list_close","ul",-1),T.markup=String.fromCharCode(w),g[1]=k,e.line=k,e.parentType=_,Rr&&ph(e,m),!0},mh=O.normalizeReference,pr=O.isSpace,vh=function(e,o,r,s){var a,n,c,i,l,d,f,h,u,g,m,w,y,v,k,C,$=0,_=e.bMarks[o]+e.tShift[o],D=e.eMarks[o],P=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(_)!==91)return!1;for(;++_<D;)if(e.src.charCodeAt(_)===93&&e.src.charCodeAt(_-1)!==92){if(_+1===D||e.src.charCodeAt(_+1)!==58)return!1;break}for(i=e.lineMax,k=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";P<i&&!e.isEmpty(P);P++)if(!(e.sCount[P]-e.blkIndent>3)&&!(e.sCount[P]<0)){for(v=!1,d=0,f=k.length;d<f;d++)if(k[d](e,P,i,!0)){v=!0;break}if(v)break}for(y=e.getLines(o,P,e.blkIndent,!1).trim(),D=y.length,_=1;_<D;_++){if(a=y.charCodeAt(_),a===91)return!1;if(a===93){u=_;break}else a===10?$++:a===92&&(_++,_<D&&y.charCodeAt(_)===10&&$++)}if(u<0||y.charCodeAt(u+1)!==58)return!1;for(_=u+2;_<D;_++)if(a=y.charCodeAt(_),a===10)$++;else if(!pr(a))break;if(m=e.md.helpers.parseLinkDestination(y,_,D),!m.ok||(l=e.md.normalizeLink(m.str),!e.md.validateLink(l)))return!1;for(_=m.pos,$+=m.lines,n=_,c=$,w=_;_<D;_++)if(a=y.charCodeAt(_),a===10)$++;else if(!pr(a))break;for(m=e.md.helpers.parseLinkTitle(y,_,D),_<D&&w!==_&&m.ok?(C=m.str,_=m.pos,$+=m.lines):(C="",_=n,$=c);_<D&&(a=y.charCodeAt(_),!!pr(a));)_++;if(_<D&&y.charCodeAt(_)!==10&&C)for(C="",_=n,$=c;_<D&&(a=y.charCodeAt(_),!!pr(a));)_++;return _<D&&y.charCodeAt(_)!==10||(h=mh(y.slice(1,u)),!h)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:l}),e.parentType=g,e.line=o+$+1),!0)},yh=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],gr={},wh="[a-zA-Z_:][a-zA-Z0-9:._-]*",_h="[^\"'=<>`\\x00-\\x20]+",xh="'[^']*'",kh='"[^"]*"',Ah="(?:"+_h+"|"+xh+"|"+kh+")",Ch="(?:\\s+"+wh+"(?:\\s*=\\s*"+Ah+")?)",Mc="<[A-Za-z][A-Za-z0-9\\-]*"+Ch+"*\\s*\\/?>",Ic="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",$h="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Eh="<[?][\\s\\S]*?[?]>",Sh="<![A-Z]+\\s+[^>]*>",qh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Dh=new RegExp("^(?:"+Mc+"|"+Ic+"|"+$h+"|"+Eh+"|"+Sh+"|"+qh+")"),Th=new RegExp("^(?:"+Mc+"|"+Ic+")");gr.HTML_TAG_RE=Dh,gr.HTML_OPEN_CLOSE_TAG_RE=Th;var Lh=yh,zh=gr.HTML_OPEN_CLOSE_TAG_RE,Ut=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Lh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(zh.source+"\\s*$"),/^$/,!1]],Rh=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(i=e.src.slice(l,d),a=0;a<Ut.length&&!Ut[a][0].test(i);a++);if(a===Ut.length)return!1;if(s)return Ut[a][2];if(n=o+1,!Ut[a][1].test(i)){for(;n<r&&!(e.sCount[n]<e.blkIndent);n++)if(l=e.bMarks[n]+e.tShift[n],d=e.eMarks[n],i=e.src.slice(l,d),Ut[a][1].test(i)){i.length!==0&&n++;break}}return e.line=n,c=e.push("html_block","",0),c.map=[o,n],c.content=e.getLines(o,n,e.blkIndent,!0),!0},Fc=O.isSpace,Ph=function(e,o,r,s){var a,n,c,i,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l),a!==35||l>=d))return!1;for(n=1,a=e.src.charCodeAt(++l);a===35&&l<d&&n<=6;)n++,a=e.src.charCodeAt(++l);return n>6||l<d&&!Fc(a)?!1:(s||(d=e.skipSpacesBack(d,l),c=e.skipCharsBack(d,35,l),c>l&&Fc(e.src.charCodeAt(c-1))&&(d=c),e.line=o+1,i=e.push("heading_open","h"+String(n),1),i.markup="########".slice(0,n),i.map=[o,e.line],i=e.push("inline","",0),i.content=e.src.slice(l,d).trim(),i.map=[o,e.line],i.children=[],i=e.push("heading_close","h"+String(n),-1),i.markup="########".slice(0,n)),!0)},Mh=function(e,o,r){var s,a,n,c,i,l,d,f,h,u=o+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)){if(e.sCount[u]>=e.blkIndent&&(l=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],l<d&&(h=e.src.charCodeAt(l),(h===45||h===61)&&(l=e.skipChars(l,h),l=e.skipSpaces(l),l>=d)))){f=h===61?1:2;break}if(!(e.sCount[u]<0)){for(a=!1,n=0,c=m.length;n<c;n++)if(m[n](e,u,r,!0)){a=!0;break}if(a)break}}return f?(s=e.getLines(o,u,e.blkIndent,!1).trim(),e.line=u+1,i=e.push("heading_open","h"+String(f),1),i.markup=String.fromCharCode(h),i.map=[o,e.line],i=e.push("inline","",0),i.content=s,i.map=[o,e.line-1],i.children=[],i=e.push("heading_close","h"+String(f),-1),i.markup=String.fromCharCode(h),e.parentType=g,!0):!1},Ih=function(e,o){var r,s,a,n,c,i,l=o+1,d=e.md.block.ruler.getRules("paragraph"),f=e.lineMax;for(i=e.parentType,e.parentType="paragraph";l<f&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(s=!1,a=0,n=d.length;a<n;a++)if(d[a](e,l,f,!0)){s=!0;break}if(s)break}return r=e.getLines(o,l,e.blkIndent,!1).trim(),e.line=l,c=e.push("paragraph_open","p",1),c.map=[o,e.line],c=e.push("inline","",0),c.content=r,c.map=[o,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=i,!0},Bc=Ns,mr=O.isSpace;function Pe(t,e,o,r){var s,a,n,c,i,l,d,f;for(this.src=t,this.md=e,this.env=o,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,f=!1,n=c=l=d=0,i=a.length;c<i;c++){if(s=a.charCodeAt(c),!f)if(mr(s)){l++,s===9?d+=4-d%4:d++;continue}else f=!0;(s===10||c===i-1)&&(s!==10&&c++,this.bMarks.push(n),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(d),this.bsCount.push(0),f=!1,l=0,d=0,n=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Pe.prototype.push=function(t,e,o){var r=new Bc(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},Pe.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Pe.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Pe.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!mr(o));e++);return e},Pe.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!mr(this.src.charCodeAt(--e)))return e+1;return e},Pe.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},Pe.prototype.skipCharsBack=function(e,o,r){if(e<=r)return e;for(;e>r;)if(o!==this.src.charCodeAt(--e))return e+1;return e},Pe.prototype.getLines=function(e,o,r,s){var a,n,c,i,l,d,f,h=e;if(e>=o)return"";for(d=new Array(o-e),a=0;h<o;h++,a++){for(n=0,f=i=this.bMarks[h],h+1<o||s?l=this.eMarks[h]+1:l=this.eMarks[h];i<l&&n<r;){if(c=this.src.charCodeAt(i),mr(c))c===9?n+=4-(n+this.bsCount[h])%4:n++;else if(i-f<this.tShift[h])n++;else break;i++}n>r?d[a]=new Array(n-r+1).join(" ")+this.src.slice(i,l):d[a]=this.src.slice(i,l)}return d.join("")},Pe.prototype.Token=Bc;var Fh=Pe,Bh=Os,vr=[["table",lh,["paragraph","reference"]],["code",dh],["fence",fh,["paragraph","reference","blockquote","list"]],["blockquote",uh,["paragraph","reference","blockquote","list"]],["hr",bh,["paragraph","reference","blockquote","list"]],["list",gh,["paragraph","reference","blockquote"]],["reference",vh],["html_block",Rh,["paragraph","reference","blockquote"]],["heading",Ph,["paragraph","reference","blockquote"]],["lheading",Mh],["paragraph",Ih]];function yr(){this.ruler=new Bh;for(var t=0;t<vr.length;t++)this.ruler.push(vr[t][0],vr[t][1],{alt:(vr[t][2]||[]).slice()})}yr.prototype.tokenize=function(t,e,o){for(var r,s,a=this.ruler.getRules(""),n=a.length,c=e,i=!1,l=t.md.options.maxNesting;c<o&&(t.line=c=t.skipEmptyLines(c),!(c>=o||t.sCount[c]<t.blkIndent));){if(t.level>=l){t.line=o;break}for(s=0;s<n&&(r=a[s](t,c,o,!1),!r);s++);t.tight=!i,t.isEmpty(t.line-1)&&(i=!0),c=t.line,c<o&&t.isEmpty(c)&&(i=!0,c++,t.line=c)}},yr.prototype.parse=function(t,e,o,r){var s;t&&(s=new this.State(t,e,o,r),this.tokenize(s,s.line,s.lineMax))},yr.prototype.State=Fh;var Oh=yr;function Nh(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Vh=function(e,o){for(var r=e.pos;r<e.posMax&&!Nh(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Hh=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Uh=function(e,o){var r,s,a,n,c,i,l,d;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(Hh),!a)||(n=a[1],c=e.md.linkify.matchAtStart(e.src.slice(r-n.length)),!c)||(i=c.url,i=i.replace(/\*+$/,""),l=e.md.normalizeLink(i),!e.md.validateLink(l))?!1:(o||(e.pending=e.pending.slice(0,-n.length),d=e.push("link_open","a",1),d.attrs=[["href",l]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(i),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=i.length-n.length,!0)},jh=O.isSpace,Gh=function(e,o){var r,s,a,n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!o)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),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(n++;n<s&&jh(e.src.charCodeAt(n));)n++;return e.pos=n,!0},Zh=O.isSpace,Gs=[],Oc=0;Oc<256;Oc++)Gs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Gs[t.charCodeAt(0)]=1});var Wh=function(e,o){var r,s,a,n,c,i=e.pos,l=e.posMax;if(e.src.charCodeAt(i)!==92||(i++,i>=l))return!1;if(r=e.src.charCodeAt(i),r===10){for(o||e.push("hardbreak","br",0),i++;i<l&&(r=e.src.charCodeAt(i),!!Zh(r));)i++;return e.pos=i,!0}return n=e.src[i],r>=55296&&r<=56319&&i+1<l&&(s=e.src.charCodeAt(i+1),s>=56320&&s<=57343&&(n+=e.src[i+1],i++)),a="\\"+n,o||(c=e.push("text_special","",0),r<256&&Gs[r]!==0?c.content=n:c.content=a,c.markup=a,c.info="escape"),e.pos=i+1,!0},Kh=function(e,o){var r,s,a,n,c,i,l,d,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(r=f,f++,s=e.posMax;f<s&&e.src.charCodeAt(f)===96;)f++;if(a=e.src.slice(r,f),l=a.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return o||(e.pending+=a),e.pos+=l,!0;for(c=i=f;(c=e.src.indexOf("`",i))!==-1;){for(i=c+1;i<s&&e.src.charCodeAt(i)===96;)i++;if(d=i-c,d===l)return o||(n=e.push("code_inline","code",0),n.markup=a,n.content=e.src.slice(f,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=i,!0;e.backticks[d]=c}return e.backticksScanned=!0,o||(e.pending+=a),e.pos+=l,!0},wr={};wr.tokenize=function(e,o){var r,s,a,n,c,i=e.pos,l=e.src.charCodeAt(i);if(o||l!==126||(s=e.scanDelims(e.pos,!0),n=s.length,c=String.fromCharCode(l),n<2))return!1;for(n%2&&(a=e.push("text","",0),a.content=c,n--),r=0;r<n;r+=2)a=e.push("text","",0),a.content=c+c,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Nc(t,e){var o,r,s,a,n,c=[],i=e.length;for(o=0;o<i;o++)s=e[o],s.marker===126&&s.end!==-1&&(a=e[s.end],n=t.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=t.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",t.tokens[a.token-1].type==="text"&&t.tokens[a.token-1].content==="~"&&c.push(a.token-1));for(;c.length;){for(o=c.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(n=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=n)}}wr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Nc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Nc(e,r[o].delimiters)};var _r={};_r.tokenize=function(e,o){var r,s,a,n=e.pos,c=e.src.charCodeAt(n);if(o||c!==95&&c!==42)return!1;for(s=e.scanDelims(e.pos,c===42),r=0;r<s.length;r++)a=e.push("text","",0),a.content=String.fromCharCode(c),e.delimiters.push({marker:c,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Vc(t,e){var o,r,s,a,n,c,i=e.length;for(o=i-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],c=o>0&&e[o-1].end===r.end+1&&e[o-1].marker===r.marker&&e[o-1].token===r.token-1&&e[r.end+1].token===s.token+1,n=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=c?"strong_open":"em_open",a.tag=c?"strong":"em",a.nesting=1,a.markup=c?n+n:n,a.content="",a=t.tokens[s.token],a.type=c?"strong_close":"em_close",a.tag=c?"strong":"em",a.nesting=-1,a.markup=c?n+n:n,a.content="",c&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}_r.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Vc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Vc(e,r[o].delimiters)};var Yh=O.normalizeReference,Zs=O.isSpace,Jh=function(e,o){var r,s,a,n,c,i,l,d,f,h="",u="",g=e.pos,m=e.posMax,w=e.pos,y=!0;if(e.src.charCodeAt(e.pos)!==91||(c=e.pos+1,n=e.md.helpers.parseLinkLabel(e,e.pos,!0),n<0))return!1;if(i=n+1,i<m&&e.src.charCodeAt(i)===40){for(y=!1,i++;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);if(i>=m)return!1;if(w=i,l=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),l.ok){for(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?i=l.pos:h="",w=i;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);if(l=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<m&&w!==i&&l.ok)for(u=l.str,i=l.pos;i<m&&(s=e.src.charCodeAt(i),!(!Zs(s)&&s!==10));i++);}(i>=m||e.src.charCodeAt(i)!==41)&&(y=!0),i++}if(y){if(typeof e.env.references>"u")return!1;if(i<m&&e.src.charCodeAt(i)===91?(w=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?a=e.src.slice(w,i++):i=n+1):i=n+1,a||(a=e.src.slice(c,n)),d=e.env.references[Yh(a)],!d)return e.pos=g,!1;h=d.href,u=d.title}return o||(e.pos=c,e.posMax=n,f=e.push("link_open","a",1),f.attrs=r=[["href",h]],u&&r.push(["title",u]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=i,e.posMax=m,!0},Qh=O.normalizeReference,Ws=O.isSpace,Xh=function(e,o){var r,s,a,n,c,i,l,d,f,h,u,g,m,w="",y=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(i=e.pos+2,c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),c<0))return!1;if(l=c+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);if(l>=v)return!1;for(m=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(w=e.md.normalizeLink(f.str),e.md.validateLink(w)?l=f.pos:w=""),m=l;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&m!==l&&f.ok)for(h=f.str,l=f.pos;l<v&&(s=e.src.charCodeAt(l),!(!Ws(s)&&s!==10));l++);else h="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(m=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?n=e.src.slice(m,l++):l=c+1):l=c+1,n||(n=e.src.slice(i,c)),d=e.env.references[Qh(n)],!d)return e.pos=y,!1;w=d.href,h=d.title}return o||(a=e.src.slice(i,c),e.md.inline.parse(a,e.md,e.env,g=[]),u=e.push("image","img",0),u.attrs=r=[["src",w],["alt",""]],u.children=g,u.content=a,h&&r.push(["title",h])),e.pos=l,e.posMax=v,!0},e0=/^([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])?)*)$/,t0=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,o0=function(e,o){var r,s,a,n,c,i,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(c=e.pos,i=e.posMax;;){if(++l>=i||(n=e.src.charCodeAt(l),n===60))return!1;if(n===62)break}return r=e.src.slice(c+1,l),t0.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):e0.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},r0=gr.HTML_TAG_RE;function s0(t){return/^<a[>\s]/i.test(t)}function a0(t){return/^<\/a\s*>/i.test(t)}function n0(t){var e=t|32;return e>=97&&e<=122}var c0=function(e,o){var r,s,a,n,c=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(c)!==60||c+2>=a)||(r=e.src.charCodeAt(c+1),r!==33&&r!==63&&r!==47&&!n0(r))||(s=e.src.slice(c).match(r0),!s)?!1:(o||(n=e.push("html_inline","",0),n.content=e.src.slice(c,c+s[0].length),s0(n.content)&&e.linkLevel++,a0(n.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Hc=cc,i0=O.has,l0=O.isValidEntityCode,Uc=O.fromCodePoint,d0=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,f0=/^&([a-z][a-z0-9]{1,31});/i,u0=function(e,o){var r,s,a,n,c=e.pos,i=e.posMax;if(e.src.charCodeAt(c)!==38||c+1>=i)return!1;if(r=e.src.charCodeAt(c+1),r===35){if(a=e.src.slice(c).match(d0),a)return o||(s=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),n=e.push("text_special","",0),n.content=l0(s)?Uc(s):Uc(65533),n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(c).match(f0),a&&i0(Hc,a[1]))return o||(n=e.push("text_special","",0),n.content=Hc[a[1]],n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0;return!1};function jc(t,e){var o,r,s,a,n,c,i,l,d={},f=e.length;if(f){var h=0,u=-2,g=[];for(o=0;o<f;o++)if(s=e[o],g.push(0),(e[h].marker!==s.marker||u!==s.token-1)&&(h=o),u=s.token,s.length=s.length||0,!!s.close){for(d.hasOwnProperty(s.marker)||(d[s.marker]=[-1,-1,-1,-1,-1,-1]),n=d[s.marker][(s.open?3:0)+s.length%3],r=h-g[h]-1,c=r;r>n;r-=g[r]+1)if(a=e[r],a.marker===s.marker&&a.open&&a.end<0&&(i=!1,(a.close||s.open)&&(a.length+s.length)%3===0&&(a.length%3!==0||s.length%3!==0)&&(i=!0),!i)){l=r>0&&!e[r-1].open?g[r-1]+1:0,g[o]=o-r+l,g[r]=l,s.open=!1,a.end=o,a.close=!1,c=-1,u=-2;break}c!==-1&&(d[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}}var h0=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(jc(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&jc(e,r[o].delimiters)},b0=function(e){var o,r,s=0,a=e.tokens,n=e.tokens.length;for(o=r=0;o<n;o++)a[o].nesting<0&&s--,a[o].level=s,a[o].nesting>0&&s++,a[o].type==="text"&&o+1<n&&a[o+1].type==="text"?a[o+1].content=a[o].content+a[o+1].content:(o!==r&&(a[r]=a[o]),r++);o!==r&&(a.length=r)},Ks=Ns,Gc=O.isWhiteSpace,Zc=O.isPunctChar,Wc=O.isMdAsciiPunct;function qo(t,e,o,r){this.src=t,this.env=o,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}qo.prototype.pushPending=function(){var t=new Ks("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},qo.prototype.push=function(t,e,o){this.pending&&this.pushPending();var r=new Ks(t,e,o),s=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},qo.prototype.scanDelims=function(t,e){var o=t,r,s,a,n,c,i,l,d,f,h=!0,u=!0,g=this.posMax,m=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<g&&this.src.charCodeAt(o)===m;)o++;return a=o-t,s=o<g?this.src.charCodeAt(o):32,l=Wc(r)||Zc(String.fromCharCode(r)),f=Wc(s)||Zc(String.fromCharCode(s)),i=Gc(r),d=Gc(s),d?h=!1:f&&(i||l||(h=!1)),i?u=!1:l&&(d||f||(u=!1)),e?(n=h,c=u):(n=h&&(!u||l),c=u&&(!h||f)),{can_open:n,can_close:c,length:a}},qo.prototype.Token=Ks;var p0=qo,Kc=Os,Ys=[["text",Vh],["linkify",Uh],["newline",Gh],["escape",Wh],["backticks",Kh],["strikethrough",wr.tokenize],["emphasis",_r.tokenize],["link",Jh],["image",Xh],["autolink",o0],["html_inline",c0],["entity",u0]],Js=[["balance_pairs",h0],["strikethrough",wr.postProcess],["emphasis",_r.postProcess],["fragments_join",b0]];function Do(){var t;for(this.ruler=new Kc,t=0;t<Ys.length;t++)this.ruler.push(Ys[t][0],Ys[t][1]);for(this.ruler2=new Kc,t=0;t<Js.length;t++)this.ruler2.push(Js[t][0],Js[t][1])}Do.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),a=s.length,n=t.md.options.maxNesting,c=t.cache;if(typeof c[r]<"u"){t.pos=c[r];return}if(t.level<n)for(o=0;o<a&&(t.level++,e=s[o](t,!0),t.level--,!e);o++);else t.pos=t.posMax;e||t.pos++,c[r]=t.pos},Do.prototype.tokenize=function(t){for(var e,o,r=this.ruler.getRules(""),s=r.length,a=t.posMax,n=t.md.options.maxNesting;t.pos<a;){if(t.level<n)for(o=0;o<s&&(e=r[o](t,!1),!e);o++);if(e){if(t.pos>=a)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Do.prototype.parse=function(t,e,o,r){var s,a,n,c=new this.State(t,e,o,r);for(this.tokenize(c),a=this.ruler2.getRules(""),n=a.length,s=0;s<n;s++)a[s](c)},Do.prototype.State=p0;var g0=Do,Qs,Yc;function m0(){return Yc||(Yc=1,Qs=function(t){var e={};t=t||{},e.src_Any=gc().source,e.src_Cc=vc().source,e.src_Z=_c().source,e.src_P=Ps.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var o="[><|]";return e.src_pseudo_letter="(?:(?!"+o+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+o+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Qs}function Xs(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(o){o&&Object.keys(o).forEach(function(r){t[r]=o[r]})}),t}function xr(t){return Object.prototype.toString.call(t)}function v0(t){return xr(t)==="[object String]"}function y0(t){return xr(t)==="[object Object]"}function w0(t){return xr(t)==="[object RegExp]"}function Jc(t){return xr(t)==="[object Function]"}function _0(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Qc={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function x0(t){return Object.keys(t||{}).reduce(function(e,o){return e||Qc.hasOwnProperty(o)},!1)}var k0={"http:":{validate:function(t,e,o){var r=t.slice(e);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(r)?r.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,o){var r=t.slice(e);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,o){var r=t.slice(e);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(r)?r.match(o.re.mailto)[0].length:0}}},A0="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]",C0="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function $0(t){t.__index__=-1,t.__text_cache__=""}function E0(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function Xc(){return function(t,e){e.normalize(t)}}function kr(t){var e=t.re=m0()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(A0),o.push(e.src_xn),e.src_tlds=o.join("|");function r(c){return c.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function a(c,i){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+i)}Object.keys(t.__schemas__).forEach(function(c){var i=t.__schemas__[c];if(i!==null){var l={validate:null,link:null};if(t.__compiled__[c]=l,y0(i)){w0(i.validate)?l.validate=E0(i.validate):Jc(i.validate)?l.validate=i.validate:a(c,i),Jc(i.normalize)?l.normalize=i.normalize:i.normalize?a(c,i):l.normalize=Xc();return}if(v0(i)){s.push(c);return}a(c,i)}}),s.forEach(function(c){t.__compiled__[t.__schemas__[c]]&&(t.__compiled__[c].validate=t.__compiled__[t.__schemas__[c]].validate,t.__compiled__[c].normalize=t.__compiled__[t.__schemas__[c]].normalize)}),t.__compiled__[""]={validate:null,normalize:Xc()};var n=Object.keys(t.__compiled__).filter(function(c){return c.length>0&&t.__compiled__[c]}).map(_0).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),$0(t)}function S0(t,e){var o=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(o,r);this.schema=t.__schema__.toLowerCase(),this.index=o+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function ea(t,e){var o=new S0(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function pe(t,e){if(!(this instanceof pe))return new pe(t,e);e||x0(t)&&(e=t,t={}),this.__opts__=Xs({},Qc,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Xs({},k0,t),this.__compiled__={},this.__tlds__=C0,this.__tlds_replaced__=!1,this.re={},kr(this)}pe.prototype.add=function(e,o){return this.__schemas__[e]=o,kr(this),this},pe.prototype.set=function(e){return this.__opts__=Xs(this.__opts__,e),this},pe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,a,n,c,i,l,d;if(this.re.schema_test.test(e)){for(i=this.re.schema_search,i.lastIndex=0;(o=i.exec(e))!==null;)if(a=this.testSchemaAt(e,o[2],i.lastIndex),a){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(n=r.index+r[1].length,(this.__index__<0||n<this.__index__)&&(this.__schema__="",this.__index__=n,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(n=s.index+s[1].length,c=s.index+s[0].length,(this.__index__<0||n<this.__index__||n===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=c))),this.__index__>=0},pe.prototype.pretest=function(e){return this.re.pretest.test(e)},pe.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},pe.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(ea(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(ea(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},pe.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var o=this.re.schema_at_start.exec(e);if(!o)return null;var r=this.testSchemaAt(e,o[2],o[0].length);return r?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r,ea(this,0)):null},pe.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,a){return r!==a[s-1]}).reverse(),kr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,kr(this),this)},pe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},pe.prototype.onCompile=function(){};var q0=pe;const jt=2147483647,Me=36,ta=1,To=26,D0=38,T0=700,ei=72,ti=128,oi="-",L0=/^xn--/,z0=/[^\0-\x7F]/,R0=/[\x2E\u3002\uFF0E\uFF61]/g,P0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oa=Me-ta,Ie=Math.floor,ra=String.fromCharCode;function at(t){throw new RangeError(P0[t])}function M0(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function ri(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(R0,".");const s=t.split("."),a=M0(s,e).join(".");return r+a}function sa(t){const e=[];let o=0;const r=t.length;for(;o<r;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<r){const a=t.charCodeAt(o++);(a&64512)==56320?e.push(((s&1023)<<10)+(a&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const si=t=>String.fromCodePoint(...t),I0=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Me},ai=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},ni=function(t,e,o){let r=0;for(t=o?Ie(t/T0):t>>1,t+=Ie(t/e);t>oa*To>>1;r+=Me)t=Ie(t/oa);return Ie(r+(oa+1)*t/(t+D0))},aa=function(t){const e=[],o=t.length;let r=0,s=ti,a=ei,n=t.lastIndexOf(oi);n<0&&(n=0);for(let c=0;c<n;++c)t.charCodeAt(c)>=128&&at("not-basic"),e.push(t.charCodeAt(c));for(let c=n>0?n+1:0;c<o;){const i=r;for(let d=1,f=Me;;f+=Me){c>=o&&at("invalid-input");const h=I0(t.charCodeAt(c++));h>=Me&&at("invalid-input"),h>Ie((jt-r)/d)&&at("overflow"),r+=h*d;const u=f<=a?ta:f>=a+To?To:f-a;if(h<u)break;const g=Me-u;d>Ie(jt/g)&&at("overflow"),d*=g}const l=e.length+1;a=ni(r-i,l,i==0),Ie(r/l)>jt-s&&at("overflow"),s+=Ie(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},na=function(t){const e=[];t=sa(t);const o=t.length;let r=ti,s=0,a=ei;for(const i of t)i<128&&e.push(ra(i));const n=e.length;let c=n;for(n&&e.push(oi);c<o;){let i=jt;for(const d of t)d>=r&&d<i&&(i=d);const l=c+1;i-r>Ie((jt-s)/l)&&at("overflow"),s+=(i-r)*l,r=i;for(const d of t)if(d<r&&++s>jt&&at("overflow"),d===r){let f=s;for(let h=Me;;h+=Me){const u=h<=a?ta:h>=a+To?To:h-a;if(f<u)break;const g=f-u,m=Me-u;e.push(ra(ai(u+g%m,0))),f=Ie(g/m)}e.push(ra(ai(f,0))),a=ni(s,l,c===n),s=0,++c}++s,++r}return e.join("")},ci=function(t){return ri(t,function(e){return L0.test(e)?aa(e.slice(4).toLowerCase()):e})},ii=function(t){return ri(t,function(e){return z0.test(e)?"xn--"+na(e):e})},F0=_l(Object.freeze(Object.defineProperty({__proto__:null,decode:aa,default:{version:"2.1.0",ucs2:{decode:sa,encode:si},decode:aa,encode:na,toASCII:ii,toUnicode:ci},encode:na,toASCII:ii,toUnicode:ci,ucs2decode:sa,ucs2encode:si},Symbol.toStringTag,{value:"Module"})));var B0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},O0={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"]}}},N0={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"]}}},Lo=O,V0=hr,H0=Fu,U0=ih,j0=Oh,G0=g0,Z0=q0,Et=Nt,li=F0,W0={default:B0,zero:O0,commonmark:N0},K0=/^(vbscript|javascript|file|data):/,Y0=/^data:image\/(gif|png|jpeg|webp);/;function J0(t){var e=t.trim().toLowerCase();return K0.test(e)?!!Y0.test(e):!0}var di=["http:","https:","mailto:"];function Q0(t){var e=Et.parse(t,!0);if(e.hostname&&(!e.protocol||di.indexOf(e.protocol)>=0))try{e.hostname=li.toASCII(e.hostname)}catch{}return Et.encode(Et.format(e))}function X0(t){var e=Et.parse(t,!0);if(e.hostname&&(!e.protocol||di.indexOf(e.protocol)>=0))try{e.hostname=li.toUnicode(e.hostname)}catch{}return Et.decode(Et.format(e),Et.decode.defaultChars+"%")}function ve(t,e){if(!(this instanceof ve))return new ve(t,e);e||Lo.isString(t)||(e=t||{},t="default"),this.inline=new G0,this.block=new j0,this.core=new U0,this.renderer=new H0,this.linkify=new Z0,this.validateLink=J0,this.normalizeLink=Q0,this.normalizeLinkText=X0,this.utils=Lo,this.helpers=Lo.assign({},V0),this.options={},this.configure(t),e&&this.set(e)}ve.prototype.set=function(t){return Lo.assign(this.options,t),this},ve.prototype.configure=function(t){var e=this,o;if(Lo.isString(t)&&(o=t,t=W0[o],!t))throw new Error('Wrong `markdown-it` preset "'+o+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},ve.prototype.enable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.enable(t,!0))},this),o=o.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},ve.prototype.disable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.disable(t,!0))},this),o=o.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},ve.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},ve.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var o=new this.core.State(t,this,e);return this.core.process(o),o.tokens},ve.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},ve.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},ve.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var eb=ve,tb=eb;const ob=Xr(tb);function rb(t,e){var o,r,s=t.attrs[t.attrIndex("href")][1];for(o=0;o<e.length;++o){if(r=e[o],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function sb(t,e,o){Object.keys(o).forEach(function(r){var s,a=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,a]):e[t].attrs[s][1]=a})}function fi(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var o=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,a,n,c){var i=rb(r[s],e),l=i&&i.attrs;return l&&sb(s,r,l),o(r,s,a,n,c)}}fi.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var ab=fi;const nb=Xr(ab);function cb(){const t=new ob({linkify:!0});return t.use(nb,{attrs:{target:"_blank",rel:"noopener"}}),t}async function ui(t){const e=cb();return A`${yt(e.render(t))}`}var ib=Object.defineProperty,lb=Object.getOwnPropertyDescriptor,Ar=(t,e,o,r)=>{for(var s=r>1?void 0:r?lb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&ib(e,o,s),s};let Gt=class extends ce{constructor(){super(...arguments),this.type="assistant"}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents()})}get _isBot(){return this.message.author==="assistant"||this.message.author==="system"}_removeMessageHandler(){this.emit("message:remove",{detail:this.message})}_addCopyEvents(){this.copyBtns.forEach(t=>{t.addEventListener("click",()=>{var o,r;const e=(r=(o=t.parentElement)==null?void 0:o.nextElementSibling)==null?void 0:r.textContent;e&&Fl(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return Ot(this.message.data||this.message.isThinking,()=>A`
4879
4888
  <div class="cb-message-row" part="cb-message-row">
4880
4889
  <!-- message -->
4881
4890
  ${Ot(this._isBot,()=>this.renderBotMessage(this.message),()=>this.renderUserMessage(this.message))}
@@ -4900,7 +4909,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4900
4909
  ${sc(this._getMessageText(t).then(o=>A`${o}`))}
4901
4910
  </div>`:t.type==="file"?A`${Ts(t.data.files||[],o=>o.id,o=>A`<cb-file filename="${o.name}" url="${o.url}"></cb-file>`)}`:A`<div class="cb-message-text">
4902
4911
  ${sc(ui(((e=t.data.text)==null?void 0:e.toString())||"").then(o=>A`${o}`))}
4903
- </div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return A` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?Oo`${yt(R.setting.systemIconSvg)}`:Oo`${yt(R.setting.botIconSvg)}`}renderBotMessage(t){return A`
4912
+ </div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return A` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?No`${yt(L.setting.systemIconSvg)}`:No`${yt(L.setting.botIconSvg)}`}renderBotMessage(t){return A`
4904
4913
  <div class="cb-message cb-bot-message-wrapper" part="cb-message">
4905
4914
  <div class="avatar assistant-avatar xsmall" style="margin-top:4px;">${this.renderBotMessageAvatar(t)}</div>
4906
4915
  <div style="margin-left: 4px;width: 100%">${this.renderMessage(t)}</div>
@@ -4910,10 +4919,10 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4910
4919
  <!--<sl-avatar class="avatar user-avatar small" label="User">
4911
4920
  <cb-icon slot="icon" svg="${uu}" color="white"></cb-icon>
4912
4921
  </sl-avatar>-->
4913
- <div class="avatar user-avatar">${yt(R.setting.userIconSvg)}</div>
4922
+ <div class="avatar user-avatar">${yt(L.setting.userIconSvg)}</div>
4914
4923
  ${this.renderMessage(t)}
4915
4924
  </div>
4916
- `}};Gt.styles=bu,kr([p({type:Object})],Gt.prototype,"message",2),kr([p({type:String})],Gt.prototype,"type",2),kr([yl(".code-block-header__copy")],Gt.prototype,"copyBtns",2),Gt=kr([ee("cb-message")],Gt);var db=Object.defineProperty,fb=Object.getOwnPropertyDescriptor,Zt=(t,e,o,r)=>{for(var s=r>1?void 0:r?fb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&db(e,o,s),s};const Ar=Vo.noConflict();Ar.setLevel("info");let nt=class extends ce{constructor(){super(...arguments),this.messages=[],this.actions=[],this.calendlyInjected=!1,this.activeCalendlyAction=-1}render(){return A`
4925
+ `}};Gt.styles=bu,Ar([p({type:Object})],Gt.prototype,"message",2),Ar([p({type:String})],Gt.prototype,"type",2),Ar([yl(".code-block-header__copy")],Gt.prototype,"copyBtns",2),Gt=Ar([ee("cb-message")],Gt);var db=Object.defineProperty,fb=Object.getOwnPropertyDescriptor,Zt=(t,e,o,r)=>{for(var s=r>1?void 0:r?fb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&db(e,o,s),s};const Cr=Ho.noConflict();Cr.setLevel("info");let nt=class extends ce{constructor(){super(...arguments),this.messages=[],this.actions=[],this.calendlyInjected=!1,this.activeCalendlyAction=-1}render(){return A`
4917
4926
  <div class="cb-message-list" part="cb-message-list">
4918
4927
  ${Ts(this.messages,t=>t.id+JSON.stringify(t.data),t=>A`<cb-message .message="${t}"></cb-message>`)}
4919
4928
  ${this.renderActions()}
@@ -4923,7 +4932,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4923
4932
  <div class="cb-actions-list">
4924
4933
  ${Ts(this.actions,t=>t,t=>this.renderAction(t))}
4925
4934
  </div>
4926
- `}scrollToBottom(){this._messageListBottomAnchor.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}renderAction(t){switch(t.type){case"calendlyMeeting":return this.renderCalendlyAction(t);case"link":return this.renderLinkAction(t)}return null}handleCalendlyEvent(t){switch(Ar.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(R.removeAction(e),R.addSystemMessage("Your meeting has been scheduled!"),this.activeCalendlyAction=-1)}}}invokeLinkAction(t={}){Ar.info("invokeLinkAction:",t),window.open(t.url,"_blank")}invokeCalendlyAction(t={}){return Ar.info("invokeCalendlyAction:",t),"Calendly"in window&&(this.activeCalendlyAction=t.internalId,window.Calendly.initPopupWidget({url:t.url})),!1}renderCalendlyAction(t){if(!("Calendly"in window)&&!this.calendlyInjected){let e=document.createElement("link");e.href="https://assets.calendly.com/assets/external/widget.css",e.rel="stylesheet",document.body.appendChild(e);let o=document.createElement("script");o.type="text/javascript",o.src="https://assets.calendly.com/assets/external/widget.js",document.body.appendChild(o),console.log("Injected Calendly"),window.addEventListener("message",r=>{r.origin==="https://calendly.com"&&r.data.event&&r.data.event.indexOf("calendly.")!==-1&&this.handleCalendlyEvent(r)}),this.calendlyInjected=!0}return A`
4935
+ `}scrollToBottom(){this._messageListBottomAnchor.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}renderAction(t){switch(t.type){case"calendlyMeeting":return this.renderCalendlyAction(t);case"link":return this.renderLinkAction(t)}return null}handleCalendlyEvent(t){switch(Cr.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(L.removeAction(e),L.addSystemMessage("Your meeting has been scheduled!"),this.activeCalendlyAction=-1)}}}invokeLinkAction(t={}){Cr.info("invokeLinkAction:",t),window.open(t.url,"_blank")}invokeCalendlyAction(t={}){return Cr.info("invokeCalendlyAction:",t),"Calendly"in window&&(this.activeCalendlyAction=t.internalId,window.Calendly.initPopupWidget({url:t.url})),!1}renderCalendlyAction(t){if(!("Calendly"in window)&&!this.calendlyInjected){let e=document.createElement("link");e.href="https://assets.calendly.com/assets/external/widget.css",e.rel="stylesheet",document.body.appendChild(e);let o=document.createElement("script");o.type="text/javascript",o.src="https://assets.calendly.com/assets/external/widget.js",document.body.appendChild(o),console.log("Injected Calendly"),window.addEventListener("message",r=>{r.origin==="https://calendly.com"&&r.data.event&&r.data.event.indexOf("calendly.")!==-1&&this.handleCalendlyEvent(r)}),this.calendlyInjected=!0}return A`
4927
4936
  <div class="cb-actions-list">
4928
4937
  <div class="cb-action ripple" @click="${this.invokeCalendlyAction.bind(this,t)}">
4929
4938
  <div class="cb-action-icon">
@@ -4948,7 +4957,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
4948
4957
  ${t.title}
4949
4958
  </div>
4950
4959
  </div>
4951
- `}};nt.styles=Ff,Zt([p({type:Array})],nt.prototype,"messages",2),Zt([p({type:Array})],nt.prototype,"actions",2),Zt([V("#cb-message-list-bottom-anchor")],nt.prototype,"_messageListBottomAnchor",2),Zt([Xa({capture:!1,passive:!0})],nt.prototype,"invokeLinkAction",1),Zt([Xa({capture:!1,passive:!0})],nt.prototype,"invokeCalendlyAction",1),nt=Zt([ee("cb-message-list")],nt);const ub=z`
4960
+ `}};nt.styles=Ff,Zt([p({type:Array})],nt.prototype,"messages",2),Zt([p({type:Array})],nt.prototype,"actions",2),Zt([V("#cb-message-list-bottom-anchor")],nt.prototype,"_messageListBottomAnchor",2),Zt([Xa({capture:!1,passive:!0})],nt.prototype,"invokeLinkAction",1),Zt([Xa({capture:!1,passive:!0})],nt.prototype,"invokeCalendlyAction",1),nt=Zt([ee("cb-message-list")],nt);const ub=R`
4952
4961
  ${Ee}
4953
4962
 
4954
4963
  :host {
@@ -5030,7 +5039,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5030
5039
  </sl-button>
5031
5040
  </span>
5032
5041
  </div>
5033
- `}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};$e.styles=ub,je([p({type:String,attribute:"placeholder"})],$e.prototype,"placeholder",2),je([p({type:String,attribute:"send-button-label"})],$e.prototype,"sendButtonLabel",2),je([p({type:Boolean,attribute:"enable-file-upload"})],$e.prototype,"enableFileUpload",2),je([p({type:String})],$e.prototype,"value",2),je([p({type:Boolean})],$e.prototype,"loading",2),je([p({type:Boolean})],$e.prototype,"disabled",2),je([p({type:String})],$e.prototype,"currentKey",2),je([V("sl-textarea")],$e.prototype,"inputElement",2),$e=je([ee("cb-user-input")],$e);const mb=z`
5042
+ `}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};$e.styles=ub,je([p({type:String,attribute:"placeholder"})],$e.prototype,"placeholder",2),je([p({type:String,attribute:"send-button-label"})],$e.prototype,"sendButtonLabel",2),je([p({type:Boolean,attribute:"enable-file-upload"})],$e.prototype,"enableFileUpload",2),je([p({type:String})],$e.prototype,"value",2),je([p({type:Boolean})],$e.prototype,"loading",2),je([p({type:Boolean})],$e.prototype,"disabled",2),je([p({type:String})],$e.prototype,"currentKey",2),je([V("sl-textarea")],$e.prototype,"inputElement",2),$e=je([ee("cb-user-input")],$e);const mb=R`
5034
5043
  ${Ee}
5035
5044
 
5036
5045
  sl-dialog::part(base) {
@@ -5064,7 +5073,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5064
5073
  justify-content: flex-end;
5065
5074
  gap: 8px;
5066
5075
  }
5067
- `;var vb=Object.defineProperty,yb=Object.getOwnPropertyDescriptor,Cr=(t,e,o,r)=>{for(var s=r>1?void 0:r?yb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&vb(e,o,s),s};let Wt=class extends ce{constructor(){super(...arguments),this.open=!1,this.label="Dialog",this.zindex=100}_settingCancelHandler(){this.emit("cancel")}render(){return A` <sl-dialog
5076
+ `;var vb=Object.defineProperty,yb=Object.getOwnPropertyDescriptor,$r=(t,e,o,r)=>{for(var s=r>1?void 0:r?yb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&vb(e,o,s),s};let Wt=class extends ce{constructor(){super(...arguments),this.open=!1,this.label="Dialog",this.zindex=100}_settingCancelHandler(){this.emit("cancel")}render(){return A` <sl-dialog
5068
5077
  label="Setting"
5069
5078
  class="cb-dialog"
5070
5079
  style="sl-dialog::part(base) { z-index: ${this.zindex}; }"
@@ -5087,7 +5096,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5087
5096
  <cb-icon
5088
5097
  color="default"
5089
5098
  style="font-size: 1em;"
5090
- svg="${ar}"
5099
+ svg="${nr}"
5091
5100
  ></cb-icon>
5092
5101
  </sl-button>
5093
5102
  </header>
@@ -5097,7 +5106,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5097
5106
  <div part="footer" class="cb-dialog__footer">
5098
5107
  <slot name="cb-footer"></slot>
5099
5108
  </div>
5100
- </sl-dialog>`}};Wt.styles=mb,Cr([p({type:Boolean})],Wt.prototype,"open",2),Cr([p({type:String,attribute:"label"})],Wt.prototype,"label",2),Cr([p({type:Number})],Wt.prototype,"zindex",2),Wt=Cr([ee("cb-dialog")],Wt);var wb=Object.defineProperty,_b=Object.getOwnPropertyDescriptor,hi=(t,e,o,r)=>{for(var s=r>1?void 0:r?_b(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wb(e,o,s),s};let $r=class extends ce{constructor(){super(...arguments),this.open=!1}render(){return A` <cb-dialog
5109
+ </sl-dialog>`}};Wt.styles=mb,$r([p({type:Boolean})],Wt.prototype,"open",2),$r([p({type:String,attribute:"label"})],Wt.prototype,"label",2),$r([p({type:Number})],Wt.prototype,"zindex",2),Wt=$r([ee("cb-dialog")],Wt);var wb=Object.defineProperty,_b=Object.getOwnPropertyDescriptor,hi=(t,e,o,r)=>{for(var s=r>1?void 0:r?_b(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wb(e,o,s),s};let Er=class extends ce{constructor(){super(...arguments),this.open=!1}render(){return A` <cb-dialog
5101
5110
  label="Confirm"
5102
5111
  class="cb-clear-message-dialog"
5103
5112
  ?open=${this.open}
@@ -5117,14 +5126,14 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5117
5126
  @click=${this._cancelHandler}
5118
5127
  >Close</sl-button
5119
5128
  >
5120
- </cb-dialog>`}_confirmHandler(){this.emit("confirm")}_cancelHandler(){this.emit("cancel")}};$r.styles=z`
5129
+ </cb-dialog>`}_confirmHandler(){this.emit("confirm")}_cancelHandler(){this.emit("cancel")}};Er.styles=R`
5121
5130
  .cb-clear-message-dialog {
5122
5131
  }
5123
5132
 
5124
5133
  sl-dialog::part(base) {
5125
5134
  z-index: 1000;
5126
5135
  }
5127
- `,hi([p({type:Boolean})],$r.prototype,"open",2),$r=hi([ee("cb-clear-message-dialog")],$r);const xb=z`
5136
+ `,hi([p({type:Boolean})],Er.prototype,"open",2),Er=hi([ee("cb-clear-message-dialog")],Er);const xb=R`
5128
5137
  :host {
5129
5138
  // width: 380px;
5130
5139
 
@@ -5295,7 +5304,7 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5295
5304
  @sl-change=${this._inputChangeHandler}
5296
5305
  ></sl-input>
5297
5306
  </div>
5298
- `}_clearCacheHandler(){this.emit("message:clear"),this.clearMessageDialogOpen=!1}_inputChangeHandler(t){const{name:e,value:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o}_checkChangeHandler(t){const{name:e,checked:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o,r==="customRequest"&&(this.customRequest=o)}_settingConfirmHandler(){this.emit("setting:confirm",{detail:{setting:this.setting}})}_settingCancelHandler(){this.emit("setting:hide")}updated(t){var e;super.updated(t),(e=this.dialog)==null||e.addEventListener("sl-request-close",o=>{o.detail.source==="overlay"&&o.preventDefault()})}};ct.styles=xb,Kt([p({type:Boolean})],ct.prototype,"open",2),Kt([p({type:Object})],ct.prototype,"setting",2),Kt([p({type:Boolean})],ct.prototype,"clearMessageDialogOpen",2),Kt([V("sl-dialog")],ct.prototype,"dialog",2),Kt([p({type:Boolean})],ct.prototype,"customRequest",2),ct=Kt([ee("cb-setting")],ct),U.define("sl-popup");const Cb=z`
5307
+ `}_clearCacheHandler(){this.emit("message:clear"),this.clearMessageDialogOpen=!1}_inputChangeHandler(t){const{name:e,value:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o}_checkChangeHandler(t){const{name:e,checked:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o,r==="customRequest"&&(this.customRequest=o)}_settingConfirmHandler(){this.emit("setting:confirm",{detail:{setting:this.setting}})}_settingCancelHandler(){this.emit("setting:hide")}updated(t){var e;super.updated(t),(e=this.dialog)==null||e.addEventListener("sl-request-close",o=>{o.detail.source==="overlay"&&o.preventDefault()})}};ct.styles=xb,Kt([p({type:Boolean})],ct.prototype,"open",2),Kt([p({type:Object})],ct.prototype,"setting",2),Kt([p({type:Boolean})],ct.prototype,"clearMessageDialogOpen",2),Kt([V("sl-dialog")],ct.prototype,"dialog",2),Kt([p({type:Boolean})],ct.prototype,"customRequest",2),ct=Kt([ee("cb-setting")],ct),U.define("sl-popup");const Cb=R`
5299
5308
  ${Ee}
5300
5309
  :host {
5301
5310
  --primary-color: var(--sl-color-primary-600);
@@ -5307,7 +5316,6 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5307
5316
  width: var(--anchor-width);
5308
5317
  height: var(--anchor-width);
5309
5318
  //background-color: var(--primary-color);
5310
- background: rgb(0, 208, 117);
5311
5319
 
5312
5320
  position: fixed;
5313
5321
  right: 25px;
@@ -5335,8 +5343,8 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5335
5343
  }
5336
5344
 
5337
5345
  sl-button[variant='primary']::part(base) {
5338
- background-color: rgb(0, 208, 117);
5339
- border-color: rgb(0, 208, 117);
5346
+ background: var(--enegelai-bot-anchor-background, rgb(0, 208, 117));
5347
+ border-color: var(--enegelai-bot-anchor-border-color, rgb(0, 208, 117));
5340
5348
  }
5341
5349
 
5342
5350
  .cb-engage-popup {
@@ -5387,25 +5395,25 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5387
5395
  align-items: start;
5388
5396
  gap: 10px;
5389
5397
  }
5390
- `,$b='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234c-.2.032-.352-.176-.273-.362c.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2z"/></svg>';var Eb=Object.defineProperty,Sb=Object.getOwnPropertyDescriptor,bi=(t,e,o,r)=>{for(var s=r>1?void 0:r?Sb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Eb(e,o,s),s};let Er=class extends ce{constructor(){super(...arguments),this.store=new ua(this,R),this.open=!1}_clickHandler(){const t=!this.open;this.emit("chatbot:toggle",{detail:{open:t}}),this.open=t}_engageClickHandler(t){console.log("engage close clicked!"),R.engage=!1,t.stopPropagation()}render(){return A`
5398
+ `,$b='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234c-.2.032-.352-.176-.273-.362c.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2z"/></svg>';var Eb=Object.defineProperty,Sb=Object.getOwnPropertyDescriptor,bi=(t,e,o,r)=>{for(var s=r>1?void 0:r?Sb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Eb(e,o,s),s};let Sr=class extends ce{constructor(){super(...arguments),this.store=new ua(this,L),this.open=!1}_clickHandler(){const t=!this.open;this.emit("chatbot:toggle",{detail:{open:t}}),this.open=t}_engageClickHandler(t){console.log("engage close clicked!"),L.engage=!1,t.stopPropagation()}render(){return A`
5391
5399
  <div class="cb-anchor ${this.open?"open":""}" part="cb-anchor" @click=${this._clickHandler.bind(this)}>
5392
- <sl-popup placement="top-end" distance="16" ?active="${R.engage&&!R.open}">
5400
+ <sl-popup placement="top-end" distance="16" ?active="${L.engage&&!L.open}">
5393
5401
  <sl-button slot="anchor" label="Start" size="large" variant="primary" class="icon anchor-button" circle>
5394
- ${Ot(this.open,()=>A`<cb-icon color="white" svg="${ar}"></cb-icon>`,()=>A`<cb-icon color="white" svg="${$b}"></cb-icon>`)}
5402
+ ${Ot(this.open,()=>A`<cb-icon color="white" svg="${nr}"></cb-icon>`,()=>A`<cb-icon color="white" svg="${$b}"></cb-icon>`)}
5395
5403
  </sl-button>
5396
5404
  <div class="cb-engage-popup">
5397
- <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${Oo`${yt(ar)}`}</div>
5405
+ <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${No`${yt(nr)}`}</div>
5398
5406
  <div class="cb-engage-popup-content">
5399
- <div class="cb-engage-popup-logo">${Oo`${yt(R.setting.logoSvg)}`}</div>
5400
- <!--<cb-icon class="cb-engage-popup-logo" svg="${R.setting.logoSvg}"></cb-icon>-->
5401
- <div>${R.setting.engageMessage}</div>
5407
+ <div class="cb-engage-popup-logo">${No`${yt(L.setting.logoSvg)}`}</div>
5408
+ <!--<cb-icon class="cb-engage-popup-logo" svg="${L.setting.logoSvg}"></cb-icon>-->
5409
+ <div>${L.setting.engageMessage}</div>
5402
5410
  </div>
5403
5411
  </div>
5404
5412
  </sl-popup>
5405
5413
  </div>
5406
- `}};Er.styles=Cb,bi([p({type:Boolean})],Er.prototype,"open",2),Er=bi([ee("cb-anchor")],Er);const qb=z`
5414
+ `}};Sr.styles=Cb,bi([p({type:Boolean})],Sr.prototype,"open",2),Sr=bi([ee("cb-anchor")],Sr);const qb=R`
5407
5415
  ${Ee}
5408
- `,ca='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/></g></svg>',pi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/></g></svg>',gi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0z"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>',mi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0z"/></g></svg>';var Db=Object.defineProperty,Tb=Object.getOwnPropertyDescriptor,vi=(t,e,o,r)=>{for(var s=r>1?void 0:r?Tb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Db(e,o,s),s};const yi={error:{variant:"danger",icon:ca},danger:{variant:"danger",icon:ca},warning:{variant:"warning",icon:pi},success:{variant:"success",icon:gi},info:{variant:"primary",icon:mi}};let Sr=class extends ce{constructor(){super(...arguments),this.status="info"}render(){const{variant:t,icon:e}=yi[this.status]||yi.info;return A`<cb-icon svg=${e} color="${t}"></cb-icon>`}};Sr.styles=gn,vi([p({type:String})],Sr.prototype,"status",2),Sr=vi([ee("cb-status-icon")],Sr);var Lb=Object.defineProperty,zb=Object.getOwnPropertyDescriptor,Rb=(t,e,o,r)=>{for(var s=r>1?void 0:r?zb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Lb(e,o,s),s};let ia=class extends ce{render(){return A` <sl-alert variant="danger" open>
5416
+ `,ca='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/></g></svg>',pi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/></g></svg>',gi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0z"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>',mi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0z"/></g></svg>';var Db=Object.defineProperty,Tb=Object.getOwnPropertyDescriptor,vi=(t,e,o,r)=>{for(var s=r>1?void 0:r?Tb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Db(e,o,s),s};const yi={error:{variant:"danger",icon:ca},danger:{variant:"danger",icon:ca},warning:{variant:"warning",icon:pi},success:{variant:"success",icon:gi},info:{variant:"primary",icon:mi}};let qr=class extends ce{constructor(){super(...arguments),this.status="info"}render(){const{variant:t,icon:e}=yi[this.status]||yi.info;return A`<cb-icon svg=${e} color="${t}"></cb-icon>`}};qr.styles=gn,vi([p({type:String})],qr.prototype,"status",2),qr=vi([ee("cb-status-icon")],qr);var Lb=Object.defineProperty,zb=Object.getOwnPropertyDescriptor,Rb=(t,e,o,r)=>{for(var s=r>1?void 0:r?zb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Lb(e,o,s),s};let ia=class extends ce{render(){return A` <sl-alert variant="danger" open>
5409
5417
  <cb-status-icon status="error" slot="icon"></cb-status-icon>
5410
5418
  Please config openai api key in the settings.
5411
5419
  <span
@@ -5413,22 +5421,22 @@ var tp=Object.defineProperty;var op=(M,ie,le)=>ie in M?tp(M,ie,{enumerable:!0,co
5413
5421
  class="color-primary text-button"
5414
5422
  >Config Now</span
5415
5423
  >
5416
- </sl-alert>`}_handleConfig(){this.emit("setting:show")}};ia.styles=qb,ia=Rb([ee("cb-auth-alert")],ia);class wi extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",a=e.statusText||"",n=`${s} ${a}`.trim(),c=n?`status code ${n}`:"an unknown error";super(`Request failed with ${c}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=e,this.request=o,this.options=r}}class _i extends Error{constructor(e){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=e}}const qr=t=>t!==null&&typeof t=="object",Dr=(...t)=>{for(const e of t)if((!qr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return la({},...t)},xi=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[a,n]of s.entries())r&&n==="undefined"||n===void 0?o.delete(a):o.set(a,n);return o},la=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(qr(r)){for(let[s,a]of Object.entries(r))qr(a)&&s in e&&(a=la(e[s],a)),e={...e,[s]:a};qr(r.headers)&&(o=xi(o,r.headers),e.headers=o)}return e},Pb=(()=>{let t=!1,e=!1;const o=typeof globalThis.ReadableStream=="function",r=typeof globalThis.Request=="function";return o&&r&&(e=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")),t&&!e})(),Mb=typeof globalThis.AbortController=="function",Ib=typeof globalThis.ReadableStream=="function",Fb=typeof globalThis.FormData=="function",ki=["get","post","put","patch","head","delete"],Bb={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},da=2147483647,Ai=Symbol("stop"),Ob=t=>ki.includes(t)?t.toUpperCase():t,Nb=["get","put","head","delete","options","trace"],Vb=[408,413,429,500,502,503,504],Ci=[413,429,503],$i={limit:2,methods:Nb,statusCodes:Vb,afterStatusCodes:Ci,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},Hb=(t={})=>{if(typeof t=="number")return{...$i,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...$i,...t,afterStatusCodes:Ci}};async function Ub(t,e,o){return new Promise((r,s)=>{const a=setTimeout(()=>{e&&e.abort(),s(new _i(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(a)})})}const jb=!!globalThis.DOMException;function Ei(t){if(jb)return new DOMException((t==null?void 0:t.reason)??"The operation was aborted.","AbortError");const e=new Error((t==null?void 0:t.reason)??"The operation was aborted.");return e.name="AbortError",e}async function Gb(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(Ei(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(Ei(e)),clearTimeout(a)}const a=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class Tr{static create(e,o){const r=new Tr(e,o),s=async()=>{if(r._options.timeout>da)throw new RangeError(`The \`timeout\` option cannot be greater than ${da}`);await Promise.resolve();let c=await r._fetch();for(const i of r._options.hooks.afterResponse){const l=await i(r.request,r._options,r._decorateResponse(c.clone()));l instanceof globalThis.Response&&(c=l)}if(r._decorateResponse(c),!c.ok&&r._options.throwHttpErrors){let i=new wi(c,r.request,r._options);for(const l of r._options.hooks.beforeError)i=await l(i);throw i}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Ib)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(c.clone(),r._options.onDownloadProgress)}return c},n=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[c,i]of Object.entries(Bb))n[c]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||i);const d=(await n).clone();if(c==="json"){if(d.status===204||(await d.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await d.text())}return d[c]()};return n}constructor(e,o={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=e,this._options={credentials:this._input.credentials||"same-origin",...o,headers:xi(this._input.headers,o.headers),hooks:la({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:Ob(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:Hb(o.retry),throwHttpErrors:o.throwHttpErrors!==!1,timeout:typeof o.timeout>"u"?1e4:o.timeout,fetch:o.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(Mb){if(this.abortController=new globalThis.AbortController,this._options.signal){const r=this._options.signal;this._options.signal.addEventListener("abort",()=>{this.abortController.abort(r.reason)})}this._options.signal=this.abortController.signal}if(Pb&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const s="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),a=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(Fb&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(a,{...this.request}),this._options)}this._options.json!==void 0&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof _i)){if(e instanceof wi){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;const r=e.response.headers.get("Retry-After");if(r&&this._options.retry.afterStatusCodes.includes(e.response.status)){let s=Number(r);return Number.isNaN(s)?s=Date.parse(r)-Date.now():s*=1e3,typeof this._options.retry.maxRetryAfter<"u"&&s>this._options.retry.maxRetryAfter?0:s}if(e.response.status===413)return 0}const o=.3;return Math.min(this._options.retry.backoffLimit,o*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(o){const r=Math.min(this._calculateRetryDelay(o),da);if(r!==0&&this._retryCount>0){await Gb(r,{signal:this._options.signal});for(const s of this._options.hooks.beforeRetry)if(await s({request:this.request,options:this._options,error:o,retryCount:this._retryCount})===Ai)return;return this._retry(e)}throw o}}async _fetch(){for(const e of this._options.hooks.beforeRequest){const o=await e(this.request,this._options);if(o instanceof Request){this.request=o;break}if(o instanceof Response)return o}return this._options.timeout===!1?this._options.fetch(this.request.clone()):Ub(this.request.clone(),this.abortController,this._options)}_stream(e,o){const r=Number(e.headers.get("content-length"))||0;let s=0;return e.status===204?(o&&o({percent:1,totalBytes:r,transferredBytes:s},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(a){const n=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function c(){const{done:i,value:l}=await n.read();if(i){a.close();return}if(o){s+=l.byteLength;const d=r===0?0:s/r;o({percent:d,transferredBytes:s,totalBytes:r},l)}a.enqueue(l),await c()}await c()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const fa=t=>{const e=(o,r)=>Tr.create(o,Dr(t,r));for(const o of ki)e[o]=(r,s)=>Tr.create(r,Dr(t,s,{method:o}));return e.create=o=>fa(Dr(o)),e.extend=o=>fa(Dr(t,o)),e.stop=Ai,e},Si=fa().extend({hooks:{beforeRequest:[()=>{}]}});async function Zb(t,e){const{onmessage:o,onclose:r,...s}=e,a=async(n,c)=>{const{value:i,done:l}=await c.read();l?(n.close(),r==null||r()):(o==null||o(i),n.enqueue(i),a(n,c))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(n=>{const c=n.body.getReader();return new ReadableStream({start(l){a(l,c)}})}).then(n=>new Response(n,{headers:{"Content-Type":"text/html"}}).text())}async function Wb(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await Si.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}const qi={error:{variant:"danger",icon:ca},warning:{variant:"warning",icon:pi},success:{variant:"success",icon:gi},info:{variant:"primary",icon:mi}};function Kb(t){const e=document.createElement("div");return e.textContent=t,e.innerHTML}function Yb(t="info",e,o=1e8){const{variant:r,icon:s}=qi[t]||qi.info,a=Object.assign(document.createElement("sl-alert"),{variant:r,closable:!0,duration:o,innerHTML:`
5424
+ </sl-alert>`}_handleConfig(){this.emit("setting:show")}};ia.styles=qb,ia=Rb([ee("cb-auth-alert")],ia);class wi extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",a=e.statusText||"",n=`${s} ${a}`.trim(),c=n?`status code ${n}`:"an unknown error";super(`Request failed with ${c}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=e,this.request=o,this.options=r}}class _i extends Error{constructor(e){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=e}}const Dr=t=>t!==null&&typeof t=="object",Tr=(...t)=>{for(const e of t)if((!Dr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return la({},...t)},xi=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[a,n]of s.entries())r&&n==="undefined"||n===void 0?o.delete(a):o.set(a,n);return o},la=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(Dr(r)){for(let[s,a]of Object.entries(r))Dr(a)&&s in e&&(a=la(e[s],a)),e={...e,[s]:a};Dr(r.headers)&&(o=xi(o,r.headers),e.headers=o)}return e},Pb=(()=>{let t=!1,e=!1;const o=typeof globalThis.ReadableStream=="function",r=typeof globalThis.Request=="function";return o&&r&&(e=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")),t&&!e})(),Mb=typeof globalThis.AbortController=="function",Ib=typeof globalThis.ReadableStream=="function",Fb=typeof globalThis.FormData=="function",ki=["get","post","put","patch","head","delete"],Bb={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},da=2147483647,Ai=Symbol("stop"),Ob=t=>ki.includes(t)?t.toUpperCase():t,Nb=["get","put","head","delete","options","trace"],Vb=[408,413,429,500,502,503,504],Ci=[413,429,503],$i={limit:2,methods:Nb,statusCodes:Vb,afterStatusCodes:Ci,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},Hb=(t={})=>{if(typeof t=="number")return{...$i,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...$i,...t,afterStatusCodes:Ci}};async function Ub(t,e,o){return new Promise((r,s)=>{const a=setTimeout(()=>{e&&e.abort(),s(new _i(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(a)})})}const jb=!!globalThis.DOMException;function Ei(t){if(jb)return new DOMException((t==null?void 0:t.reason)??"The operation was aborted.","AbortError");const e=new Error((t==null?void 0:t.reason)??"The operation was aborted.");return e.name="AbortError",e}async function Gb(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(Ei(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(Ei(e)),clearTimeout(a)}const a=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class Lr{static create(e,o){const r=new Lr(e,o),s=async()=>{if(r._options.timeout>da)throw new RangeError(`The \`timeout\` option cannot be greater than ${da}`);await Promise.resolve();let c=await r._fetch();for(const i of r._options.hooks.afterResponse){const l=await i(r.request,r._options,r._decorateResponse(c.clone()));l instanceof globalThis.Response&&(c=l)}if(r._decorateResponse(c),!c.ok&&r._options.throwHttpErrors){let i=new wi(c,r.request,r._options);for(const l of r._options.hooks.beforeError)i=await l(i);throw i}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Ib)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(c.clone(),r._options.onDownloadProgress)}return c},n=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[c,i]of Object.entries(Bb))n[c]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||i);const d=(await n).clone();if(c==="json"){if(d.status===204||(await d.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await d.text())}return d[c]()};return n}constructor(e,o={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=e,this._options={credentials:this._input.credentials||"same-origin",...o,headers:xi(this._input.headers,o.headers),hooks:la({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:Ob(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:Hb(o.retry),throwHttpErrors:o.throwHttpErrors!==!1,timeout:typeof o.timeout>"u"?1e4:o.timeout,fetch:o.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(Mb){if(this.abortController=new globalThis.AbortController,this._options.signal){const r=this._options.signal;this._options.signal.addEventListener("abort",()=>{this.abortController.abort(r.reason)})}this._options.signal=this.abortController.signal}if(Pb&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const s="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),a=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(Fb&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(a,{...this.request}),this._options)}this._options.json!==void 0&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof _i)){if(e instanceof wi){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;const r=e.response.headers.get("Retry-After");if(r&&this._options.retry.afterStatusCodes.includes(e.response.status)){let s=Number(r);return Number.isNaN(s)?s=Date.parse(r)-Date.now():s*=1e3,typeof this._options.retry.maxRetryAfter<"u"&&s>this._options.retry.maxRetryAfter?0:s}if(e.response.status===413)return 0}const o=.3;return Math.min(this._options.retry.backoffLimit,o*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(o){const r=Math.min(this._calculateRetryDelay(o),da);if(r!==0&&this._retryCount>0){await Gb(r,{signal:this._options.signal});for(const s of this._options.hooks.beforeRetry)if(await s({request:this.request,options:this._options,error:o,retryCount:this._retryCount})===Ai)return;return this._retry(e)}throw o}}async _fetch(){for(const e of this._options.hooks.beforeRequest){const o=await e(this.request,this._options);if(o instanceof Request){this.request=o;break}if(o instanceof Response)return o}return this._options.timeout===!1?this._options.fetch(this.request.clone()):Ub(this.request.clone(),this.abortController,this._options)}_stream(e,o){const r=Number(e.headers.get("content-length"))||0;let s=0;return e.status===204?(o&&o({percent:1,totalBytes:r,transferredBytes:s},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(a){const n=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function c(){const{done:i,value:l}=await n.read();if(i){a.close();return}if(o){s+=l.byteLength;const d=r===0?0:s/r;o({percent:d,transferredBytes:s,totalBytes:r},l)}a.enqueue(l),await c()}await c()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const fa=t=>{const e=(o,r)=>Lr.create(o,Tr(t,r));for(const o of ki)e[o]=(r,s)=>Lr.create(r,Tr(t,s,{method:o}));return e.create=o=>fa(Tr(o)),e.extend=o=>fa(Tr(t,o)),e.stop=Ai,e},Si=fa().extend({hooks:{beforeRequest:[()=>{}]}});async function Zb(t,e){const{onmessage:o,onclose:r,...s}=e,a=async(n,c)=>{const{value:i,done:l}=await c.read();l?(n.close(),r==null||r()):(o==null||o(i),n.enqueue(i),a(n,c))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(n=>{const c=n.body.getReader();return new ReadableStream({start(l){a(l,c)}})}).then(n=>new Response(n,{headers:{"Content-Type":"text/html"}}).text())}async function Wb(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await Si.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}const qi={error:{variant:"danger",icon:ca},warning:{variant:"warning",icon:pi},success:{variant:"success",icon:gi},info:{variant:"primary",icon:mi}};function Kb(t){const e=document.createElement("div");return e.textContent=t,e.innerHTML}function Yb(t="info",e,o=1e8){const{variant:r,icon:s}=qi[t]||qi.info,a=Object.assign(document.createElement("sl-alert"),{variant:r,closable:!0,duration:o,innerHTML:`
5417
5425
  <cb-status-icon slot="icon" status="${t}"></cb-status-icon>
5418
5426
  ${Kb(e)}
5419
5427
  `});return document.body.append(a),a.toast()}async function Jb(t,e){const o=t.getReader(),r=new TextDecoder("utf-8");let s=!1;for(;!s;){const{value:a,done:n}=await o.read();if(a){let c=r.decode(a);const i=c.lastIndexOf("data:"),l=c.lastIndexOf(`
5420
5428
  `);if(i!==-1&&(c=c.slice(i+6)),l!==-1&&(c=c.slice(0,l)),c=c.trim(),c===`
5421
- `||c==="")continue;if(c==="[DONE]"){s=!0;continue}try{const d=JSON.parse(c);e(null,d)}catch(d){console.log("error",d),e(d,null)}}s=n}}async function Qb(t){var s;if(!t.apiKey)throw new Error("apiKey is required");const e=t.options??{};e.model||(e.model="gpt-3.5-turbo");const o=await Si.post(t.url,{json:{messages:t.messages,...t.options??{}},headers:{"Content-Type":"application/json",Authorization:`Bearer ${t.apiKey}`},timeout:1e3*60*10,signal:t.signal}),r=o.body;if(!r)throw new Error("No data");if((s=t.options)!=null&&s.stream){await Jb(r,t.onMessage);return}return o.json()}var Xb=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,Y=(t,e,o,r)=>{for(var s=r>1?void 0:r?ep(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Xb(e,o,s),s};const Lr=Vo.noConflict();Lr.setLevel("info"),M.default=class extends ce{constructor(){super(...arguments),this.store=new ua(this,R),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
5429
+ `||c==="")continue;if(c==="[DONE]"){s=!0;continue}try{const d=JSON.parse(c);e(null,d)}catch(d){console.log("error",d),e(d,null)}}s=n}}async function Qb(t){var s;if(!t.apiKey)throw new Error("apiKey is required");const e=t.options??{};e.model||(e.model="gpt-3.5-turbo");const o=await Si.post(t.url,{json:{messages:t.messages,...t.options??{}},headers:{"Content-Type":"application/json",Authorization:`Bearer ${t.apiKey}`},timeout:1e3*60*10,signal:t.signal}),r=o.body;if(!r)throw new Error("No data");if((s=t.options)!=null&&s.stream){await Jb(r,t.onMessage);return}return o.json()}var Xb=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,Y=(t,e,o,r)=>{for(var s=r>1?void 0:r?ep(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Xb(e,o,s),s};const zo=Ho.noConflict();zo.setLevel("info"),M.default=class extends ce{constructor(){super(...arguments),this.store=new ua(this,L),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
5422
5430
  <path
5423
5431
  d="M34.728 0.275L2.245 15.267c-3.748 1.749 -2.498 7.246 1.499 7.246h13.743v13.743c0 3.998 5.497 5.248 7.246 1.499l14.992 -32.483c1.249 -2.999 -1.999 -6.248 -4.998 -4.998z"
5424
5432
  fill="#E24D42"
5425
5433
  ></path>
5426
5434
  </svg>
5427
- `,this.botIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>',this.userIconSvg='<svg fill="currentColor" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z" /></svg>',this.systemIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"/></svg>',this.stream=!1,this.customRequest=!1,this.enableFileUpload=!1,this.uploadFileUrl="",this.open=!1,this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=Zb}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return R.addMessage(e),e}addTestMessage(){const e={author:"assistant",type:"text",isThinking:!1,data:{text:"Long text.The element may not be scrolled completely to the top or bottom depending on the layout of other elements.The element may not be scrolled completely to the top or bottom depending on the layout of other elements."}};return R.addMessage(e),e}render(){return A`
5428
- <div class="cb-wrapper" style="${R.open?"display:flex":"display:none"}">
5429
- <cb-header title="${this.name}"></cb-header>
5430
- <cb-message-list .messages=${R.messages} .actions=${R.actions}></cb-message-list>
5435
+ `,this.botIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>',this.userIconSvg='<svg fill="currentColor" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z" /></svg>',this.systemIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"/></svg>',this.stream=!1,this.customRequest=!1,this.enableFileUpload=!1,this.uploadFileUrl="",this.open=!1,this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=Zb}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return L.addMessage(e),e}addTestMessage(){const e={author:"assistant",type:"text",isThinking:!1,data:{text:"Long text.The element may not be scrolled completely to the top or bottom depending on the layout of other elements.The element may not be scrolled completely to the top or bottom depending on the layout of other elements."}};return L.addMessage(e),e}render(){return L.disabled?(zo.error("Bot is disabled"),null):A`
5436
+ <div class="cb-wrapper" style="${L.open?"display:flex":"display:none"}">
5437
+ <cb-header title="${this.name}" exportparts="header"></cb-header>
5438
+ <cb-message-list .messages=${L.messages} .actions=${L.actions}></cb-message-list>
5431
5439
  <cb-user-input ?loading=${this.loading} ?disabled=${this.loading||this.showAuthAlert} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>
5432
5440
  </div>
5433
- <cb-anchor ?open=${R.open}></cb-anchor>
5434
- `}connectedCallback(){super.connectedCallback(),Lr.info("connectedCallback"),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("message:send",this._addMessageHandler.bind(this)),addEventListener("message:remove",this._deleteMessageHandler.bind(this)),addEventListener("setting:confirm",this._settingConfirmHandler.bind(this)),addEventListener("setting:hide",()=>{this.showSetting=!1}),addEventListener("chatbot:toggle",e=>{const o=e.detail;R.open=o.open,R.engage=!1}),addEventListener("message:clear",()=>{R.clearMessages()}),addEventListener("message:send:file",this._sendFileHandler.bind(this)),addEventListener("setting:show",()=>{this.showSetting=!0})}updated(e){super.updated(e),Lr.info("updated,_changedProperties:",e),e.size>0&&(Lr.info("updated,_changedProperties:",e),this._initSetting()),setTimeout(()=>{this._scrollToBottom()},0)}_initSetting(){const e=R.setting;e.orgId=this.orgId,e.botId=this.botId,e.url=this.url,e.logoSvg=this.logoSvg,e.botIconSvg=this.botIconSvg,e.userIconSvg=this.userIconSvg,e.systemIconSvg=this.systemIconSvg,R.setSetting(e)}setLoading(e){this.loading=e}clearConversation(){R.clearConversation()}_checkAuth(){}async _sendToOpenai(e,o){let r="";const s=R.setting.openai.apiBase||"https://api.openai.com/v1",a=await Qb({url:`${s}/chat/completions`,apiKey:R.setting.openai.apiKey,messages:o,options:{stream:R.setting.stream,model:R.setting.openai.model},onMessage:(n,c)=>{var i;if(n){console.error(n);return}c&&((i=c.choices[0].delta)!=null&&i.content)&&requestIdleCallback(()=>{r+=c.choices[0].delta.content,R.updateMessage(e,r)})}});!R.setting.stream&&a&&R.updateMessage(e,a.choices[0].message.content)}async _sendHandler(e){this.setLoading(!0);const o={author:"assistant",type:"text",isThinking:!0,data:{}};if(R.addMessage(o),this.customRequest)await this.emit("chatbot:send",{detail:{newMessage:o,messages:e},bubbles:!0,composed:!0});else try{await this._sendToOpenai(o,e)}catch(r){Yb("error",r.message),console.error(r)}this.setLoading(!1)}_addMessageHandler(e){const o=e.detail;R.sendMessage(o)}_deleteMessageHandler(e){const o=e.detail;R.removeMessage(o.id)}async _sendFileHandler(e){const o=e.detail,s={author:"user",type:"file",isUploading:!0,data:{files:o.files.map((a,n)=>({id:`${a.name}-${n}`,name:a.name,size:a.size,type:a.type,url:""}))}};if(R.addMessage(s),this.uploadFileUrl){const a=await Wb(this.uploadFileUrl,o.files);a.code===0&&a.data&&(s.isUploading=!1,s.data={files:a.data},R.updateMessage(s))}this.emit("chatbot:file:send",{detail:{files:o.files,message:s}})}_settingConfirmHandler(e){const o=e.detail;R.setSetting(o.setting),this.showSetting=!1,this._checkAuth()}_scrollToBottom(e=!1){var o;console.log("Scrolling to bottom ..."),(o=this._messageList)==null||o.scrollToBottom()}},M.default.styles=kl,Y([p({type:Boolean,attribute:"display-license"})],M.default.prototype,"displayLicense",2),Y([p({type:String,attribute:"name"})],M.default.prototype,"name",2),Y([p({type:String,attribute:"org-id"})],M.default.prototype,"orgId",2),Y([p({type:String,attribute:"bot-id"})],M.default.prototype,"botId",2),Y([p({type:String,attribute:"url"})],M.default.prototype,"url",2),Y([p({type:String,attribute:"logo-svg"})],M.default.prototype,"logoSvg",2),Y([p({type:String,attribute:"bot-icon-svg"})],M.default.prototype,"botIconSvg",2),Y([p({type:String,attribute:"user-icon-svg"})],M.default.prototype,"userIconSvg",2),Y([p({type:String,attribute:"system-icon-svg"})],M.default.prototype,"systemIconSvg",2),Y([p({type:Boolean,attribute:"stream"})],M.default.prototype,"stream",2),Y([p({type:Boolean,attribute:"custom-request"})],M.default.prototype,"customRequest",2),Y([p({type:Boolean,attribute:"enable-file-upload"})],M.default.prototype,"enableFileUpload",2),Y([p({type:String,attribute:"upload-file-url"})],M.default.prototype,"uploadFileUrl",2),Y([p({type:Boolean,attribute:"open"})],M.default.prototype,"open",2),Y([p({type:Boolean})],M.default.prototype,"loading",2),Y([p({type:Boolean})],M.default.prototype,"showSetting",2),Y([p({type:Boolean})],M.default.prototype,"showAuthAlert",2),Y([V("cb-message-list")],M.default.prototype,"_messageList",2),M.default=Y([ee("enegelai-bot")],M.default),Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5441
+ <cb-anchor ?open=${L.open}></cb-anchor>
5442
+ `}connectedCallback(){super.connectedCallback(),zo.info("connectedCallback"),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("message:send",this._addMessageHandler.bind(this)),addEventListener("message:remove",this._deleteMessageHandler.bind(this)),addEventListener("setting:confirm",this._settingConfirmHandler.bind(this)),addEventListener("setting:hide",()=>{this.showSetting=!1}),addEventListener("chatbot:toggle",e=>{const o=e.detail;L.open=o.open,L.engage=!1}),addEventListener("message:clear",()=>{L.clearMessages()}),addEventListener("message:send:file",this._sendFileHandler.bind(this)),addEventListener("setting:show",()=>{this.showSetting=!0})}updated(e){super.updated(e),zo.info("updated,_changedProperties:",e),e.size>0&&(zo.info("updated,_changedProperties:",e),this._initSetting()),setTimeout(()=>{this._scrollToBottom()},0)}_initSetting(){const e=L.setting;e.orgId=this.orgId,e.botId=this.botId,e.url=this.url,e.logoSvg=this.logoSvg,e.botIconSvg=this.botIconSvg,e.userIconSvg=this.userIconSvg,e.systemIconSvg=this.systemIconSvg,L.setSetting(e)}setLoading(e){this.loading=e}clearConversation(){L.clearConversation()}_checkAuth(){}async _sendToOpenai(e,o){let r="";const s=L.setting.openai.apiBase||"https://api.openai.com/v1",a=await Qb({url:`${s}/chat/completions`,apiKey:L.setting.openai.apiKey,messages:o,options:{stream:L.setting.stream,model:L.setting.openai.model},onMessage:(n,c)=>{var i;if(n){console.error(n);return}c&&((i=c.choices[0].delta)!=null&&i.content)&&requestIdleCallback(()=>{r+=c.choices[0].delta.content,L.updateMessage(e,r)})}});!L.setting.stream&&a&&L.updateMessage(e,a.choices[0].message.content)}async _sendHandler(e){this.setLoading(!0);const o={author:"assistant",type:"text",isThinking:!0,data:{}};if(L.addMessage(o),this.customRequest)await this.emit("chatbot:send",{detail:{newMessage:o,messages:e},bubbles:!0,composed:!0});else try{await this._sendToOpenai(o,e)}catch(r){Yb("error",r.message),console.error(r)}this.setLoading(!1)}_addMessageHandler(e){const o=e.detail;L.sendMessage(o)}_deleteMessageHandler(e){const o=e.detail;L.removeMessage(o.id)}async _sendFileHandler(e){const o=e.detail,s={author:"user",type:"file",isUploading:!0,data:{files:o.files.map((a,n)=>({id:`${a.name}-${n}`,name:a.name,size:a.size,type:a.type,url:""}))}};if(L.addMessage(s),this.uploadFileUrl){const a=await Wb(this.uploadFileUrl,o.files);a.code===0&&a.data&&(s.isUploading=!1,s.data={files:a.data},L.updateMessage(s))}this.emit("chatbot:file:send",{detail:{files:o.files,message:s}})}_settingConfirmHandler(e){const o=e.detail;L.setSetting(o.setting),this.showSetting=!1,this._checkAuth()}_scrollToBottom(e=!1){var o;console.log("Scrolling to bottom ..."),(o=this._messageList)==null||o.scrollToBottom()}},M.default.styles=kl,Y([p({type:Boolean,attribute:"display-license"})],M.default.prototype,"displayLicense",2),Y([p({type:String,attribute:"name"})],M.default.prototype,"name",2),Y([p({type:String,attribute:"org-id"})],M.default.prototype,"orgId",2),Y([p({type:String,attribute:"bot-id"})],M.default.prototype,"botId",2),Y([p({type:String,attribute:"url"})],M.default.prototype,"url",2),Y([p({type:String,attribute:"logo-svg"})],M.default.prototype,"logoSvg",2),Y([p({type:String,attribute:"bot-icon-svg"})],M.default.prototype,"botIconSvg",2),Y([p({type:String,attribute:"user-icon-svg"})],M.default.prototype,"userIconSvg",2),Y([p({type:String,attribute:"system-icon-svg"})],M.default.prototype,"systemIconSvg",2),Y([p({type:Boolean,attribute:"stream"})],M.default.prototype,"stream",2),Y([p({type:Boolean,attribute:"custom-request"})],M.default.prototype,"customRequest",2),Y([p({type:Boolean,attribute:"enable-file-upload"})],M.default.prototype,"enableFileUpload",2),Y([p({type:String,attribute:"upload-file-url"})],M.default.prototype,"uploadFileUrl",2),Y([p({type:Boolean,attribute:"open"})],M.default.prototype,"open",2),Y([p({type:Boolean})],M.default.prototype,"loading",2),Y([p({type:Boolean})],M.default.prototype,"showSetting",2),Y([p({type:Boolean})],M.default.prototype,"showAuthAlert",2),Y([V("cb-message-list")],M.default.prototype,"_messageList",2),M.default=Y([ee("enegelai-bot")],M.default),Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});