@enegelai/bot-widget 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enegelaibot.umd.js +118 -110
- package/dist/index.es.js +342 -314
- package/package.json +1 -1
package/dist/enegelaibot.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(X,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports):typeof define=="function"&&define.amd?define(["exports"],Oe):(X=typeof globalThis<"u"?globalThis:X||self,Oe(X.EnegelaiBot={}))})(this,function(X){"use strict";var ob=Object.defineProperty;var rb=(X,Oe,Me)=>Oe in X?ob(X,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Me}):X[Oe]=Me;var Ge=(X,Oe,Me)=>(rb(X,typeof Oe!="symbol"?Oe+"":Oe,Me),Me);var pc;function Oe(t){return typeof t=="function"?t():t}const Jr=class Jr extends Event{constructor(o,r,s){super(Jr.eventName,{cancelable:!1});Ge(this,"key");Ge(this,"state");Ge(this,"value");this.key=o,this.value=r,this.state=s}};Ge(Jr,"eventName","lit-state-changed");let Me=Jr;const kc=(t,e)=>e!==t&&(e===e||t===t);class nr extends EventTarget{constructor(){super();Ge(this,"hookMap",new Map);this.constructor.finalize(),this.propertyMap&&[...this.propertyMap].forEach(([o,r])=>{if(r.initialValue!==void 0){const s=Oe(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}`,n=this.getPropertyDescriptor(o,s,r);Object.defineProperty(this.prototype,o,n)}static getPropertyDescriptor(o,r,s){const n=(s==null?void 0:s.hasChanged)||kc;return{get(){return this[r]},set(i){const a=this[o];this[r]=i,n(i,a)===!0&&this.dispatchStateEvent(o,i,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 n=i=>{(!r||r.includes(i.key))&&o(i.key,i.value,this)};return this.addEventListener(Me.eventName,n,s),()=>this.removeEventListener(Me.eventName,n)}dispatchStateEvent(o,r,s){this.dispatchEvent(new Me(o,r,s))}}Ge(nr,"propertyMap"),Ge(nr,"properties"),Ge(nr,"finalized",!1);class _n{constructor(e,o,r){Ge(this,"host");Ge(this,"state");Ge(this,"callback");this.host=e,this.state=o,this.host.addController(this),this.callback=r||(()=>this.host.requestUpdate())}hostConnected(){this.state.addEventListener(Me.eventName,this.callback),this.callback()}hostDisconnected(){this.state.removeEventListener(Me.eventName,this.callback)}}/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2017 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* @license
|
|
15
15
|
* Copyright 2017 Google LLC
|
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
-
*/const Co=globalThis,cr=Co.trustedTypes,Tn=cr?cr.createPolicy("lit-html",{createHTML:t=>t}):void 0,is="$lit$",vt=`lit$${(Math.random()+"").slice(9)}$`,as="?"+vt,
|
|
17
|
+
*/const Co=globalThis,cr=Co.trustedTypes,Tn=cr?cr.createPolicy("lit-html",{createHTML:t=>t}):void 0,is="$lit$",vt=`lit$${(Math.random()+"").slice(9)}$`,as="?"+vt,Pc=`<${as}>`,Vt=document,Ao=()=>Vt.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",qn=Array.isArray,Dn=t=>qn(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",cs=`[
|
|
18
18
|
\f\r]`,Eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ln=/-->/g,zn=/>/g,Nt=RegExp(`>|${cs}(?:([^\\s"'>=/]+)(${cs}*=${cs}*(?:[^
|
|
19
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Rn=/'/g,On=/"/g,
|
|
19
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Rn=/'/g,On=/"/g,Pn=/^(?:script|style|textarea|title)$/i,In=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),T=In(1),lr=In(2),qe=Symbol.for("lit-noChange"),ge=Symbol.for("lit-nothing"),Mn=new WeakMap,Ut=Vt.createTreeWalker(Vt,129);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 Bn=(t,e)=>{const o=t.length-1,r=[];let s,n=e===2?"<svg>":"",i=Eo;for(let a=0;a<o;a++){const c=t[a];let d,u,p=-1,v=0;for(;v<c.length&&(i.lastIndex=v,u=i.exec(c),u!==null);)v=i.lastIndex,i===Eo?u[1]==="!--"?i=Ln:u[1]!==void 0?i=zn:u[2]!==void 0?(Pn.test(u[2])&&(s=RegExp("</"+u[2],"g")),i=Nt):u[3]!==void 0&&(i=Nt):i===Nt?u[0]===">"?(i=s??Eo,p=-1):u[1]===void 0?p=-2:(p=i.lastIndex-u[2].length,d=u[1],i=u[3]===void 0?Nt:u[3]==='"'?On:Rn):i===On||i===Rn?i=Nt:i===Ln||i===zn?i=Eo:(i=Nt,s=void 0);const g=i===Nt&&t[a+1].startsWith("/>")?" ":"";n+=i===Eo?c+Pc:p>=0?(r.push(d),c.slice(0,p)+is+c.slice(p)+vt+g):c+vt+(p===-2?a:g)}return[Fn(t,n+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};class $o{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let n=0,i=0;const a=e.length-1,c=this.parts,[d,u]=Bn(e,o);if(this.el=$o.createElement(d,r),Ut.currentNode=this.el.content,o===2){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(s=Ut.nextNode())!==null&&c.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const p of s.getAttributeNames())if(p.endsWith(is)){const v=u[i++],g=s.getAttribute(p).split(vt),_=/([.?@])?(.*)/.exec(v);c.push({type:1,index:n,name:_[2],strings:g,ctor:_[1]==="."?Nn:_[1]==="?"?Un:_[1]==="@"?jn:To}),s.removeAttribute(p)}else p.startsWith(vt)&&(c.push({type:6,index:n}),s.removeAttribute(p));if(Pn.test(s.tagName)){const p=s.textContent.split(vt),v=p.length-1;if(v>0){s.textContent=cr?cr.emptyScript:"";for(let g=0;g<v;g++)s.append(p[g],Ao()),Ut.nextNode(),c.push({type:2,index:++n});s.append(p[v],Ao())}}}else if(s.nodeType===8)if(s.data===as)c.push({type:2,index:n});else{let p=-1;for(;(p=s.data.indexOf(vt,p+1))!==-1;)c.push({type:7,index:n}),p+=vt.length-1}n++}}static createElement(e,o){const r=Vt.createElement("template");return r.innerHTML=e,r}}function jt(t,e,o=t,r){var i,a;if(e===qe)return e;let s=r!==void 0?(i=o._$Co)==null?void 0:i[r]:o._$Cl;const n=So(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==n&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),n===void 0?s=void 0:(s=new n(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=jt(t,s._$AS(t,e.values),s,r)),e}let Vn=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)??Vt).importNode(o,!0);Ut.currentNode=s;let n=Ut.nextNode(),i=0,a=0,c=r[0];for(;c!==void 0;){if(i===c.index){let d;c.type===2?d=new so(n,n.nextSibling,this,e):c.type===1?d=new c.ctor(n,c.name,c.strings,this,e):c.type===6&&(d=new Hn(n,this,e)),this._$AV.push(d),c=r[++a]}i!==(c==null?void 0:c.index)&&(n=Ut.nextNode(),i++)}return Ut.currentNode=Vt,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++}};class so{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=ge,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=jt(this,e,o),So(e)?e===ge||e==null||e===""?(this._$AH!==ge&&this._$AR(),this._$AH=ge):e!==this._$AH&&e!==qe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Dn(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!==ge&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vt.createTextNode(e)),this._$AH=e}g(e){var n;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=$o.createElement(Fn(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===s)this._$AH.p(o);else{const i=new Vn(s,this),a=i.u(this.options);i.p(o),this.$(a),this._$AH=i}}_$AC(e){let o=Mn.get(e.strings);return o===void 0&&Mn.set(e.strings,o=new $o(e)),o}T(e){qn(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const n of e)s===o.length?o.push(r=new so(this.k(Ao()),this.k(Ao()),this,this.options)):r=o[s],r._$AI(n),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))}}class To{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,n){this.type=1,this._$AH=ge,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=ge}_$AI(e,o=this,r,s){const n=this.strings;let i=!1;if(n===void 0)e=jt(this,e,o,0),i=!So(e)||e!==this._$AH&&e!==qe,i&&(this._$AH=e);else{const a=e;let c,d;for(e=n[0],c=0;c<n.length-1;c++)d=jt(this,a[r+c],o,c),d===qe&&(d=this._$AH[c]),i||(i=!So(d)||d!==this._$AH[c]),d===ge?e=ge:e!==ge&&(e+=(d??"")+n[c+1]),this._$AH[c]=d}i&&!s&&this.O(e)}O(e){e===ge?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Nn extends To{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ge?void 0:e}}class Un extends To{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ge)}}class jn extends To{constructor(e,o,r,s,n){super(e,o,r,s,n),this.type=5}_$AI(e,o=this){if((e=jt(this,e,o,0)??ge)===qe)return;const r=this._$AH,s=e===ge&&r!==ge||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,n=e!==ge&&(r===ge||s);s&&this.element.removeEventListener(this.name,this,r),n&&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)}}class Hn{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){jt(this,e)}}const Ic={j:is,P:vt,A:as,C:1,M:Bn,L:Vn,R:Dn,V:jt,D:so,I:To,H:Un,N:jn,U:Nn,B:Hn},ls=Co.litHtmlPolyfillSupport;ls==null||ls($o,so),(Co.litHtmlVersions??(Co.litHtmlVersions=[])).push("3.1.0");const Mc=(t,e,o)=>{const r=(o==null?void 0:o.renderBefore)??e;let s=r._$litPart$;if(s===void 0){const n=(o==null?void 0:o.renderBefore)??null;r._$litPart$=s=new so(e.insertBefore(Ao(),n),n,void 0,o??{})}return s._$AI(t),s};/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2019 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
* @license
|
|
53
53
|
* Copyright 2017 Google LLC
|
|
54
54
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
55
|
-
*/function
|
|
55
|
+
*/function K(t,e){return(o,r,s)=>{const n=i=>{var a;return((a=i.renderRoot)==null?void 0:a.querySelector(t))??null};if(e){const{get:i,set:a}=typeof r=="object"?o:s??(()=>{const c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return ps(o,r,{get(){if(e){let c=i.call(this);return c===void 0&&(c=n(this),a.call(this,c)),c}return n(this)}})}return ps(o,r,{get(){return n(this)}})}}/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
|
-
*/let Xc;function Qn(t){return(e,o)=>ps(e,o,{get(){return(this.renderRoot??Xc??(Xc=document.createDocumentFragment())).querySelectorAll(t)}})}var ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Kc(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 ti={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(ei,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 n(k,$){var A=k[$];if(typeof A.bind=="function")return A.bind(k);try{return Function.prototype.bind.call(A,k)}catch{return function(){return Function.prototype.apply.apply(A,[k,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(k){return k==="debug"&&(k="log"),typeof console===o?!1:k==="trace"&&r?i:console[k]!==void 0?n(console,k):console.log!==void 0?n(console,"log"):e}function c(k,$){for(var A=0;A<s.length;A++){var C=s[A];this[C]=A<k?e:this.methodFactory(C,k,$)}this.log=this.debug}function d(k,$,A){return function(){typeof console!==o&&(c.call(this,$,A),this[k].apply(this,arguments))}}function u(k,$,A){return a(k)||d.apply(this,arguments)}function p(k,$,A){var C=this,R;$=$??"WARN";var
|
|
59
|
+
*/let Xc;function Qn(t){return(e,o)=>ps(e,o,{get(){return(this.renderRoot??Xc??(Xc=document.createDocumentFragment())).querySelectorAll(t)}})}var ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Kc(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 ti={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(ei,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 n(k,$){var A=k[$];if(typeof A.bind=="function")return A.bind(k);try{return Function.prototype.bind.call(A,k)}catch{return function(){return Function.prototype.apply.apply(A,[k,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(k){return k==="debug"&&(k="log"),typeof console===o?!1:k==="trace"&&r?i:console[k]!==void 0?n(console,k):console.log!==void 0?n(console,"log"):e}function c(k,$){for(var A=0;A<s.length;A++){var C=s[A];this[C]=A<k?e:this.methodFactory(C,k,$)}this.log=this.debug}function d(k,$,A){return function(){typeof console!==o&&(c.call(this,$,A),this[k].apply(this,arguments))}}function u(k,$,A){return a(k)||d.apply(this,arguments)}function p(k,$,A){var C=this,R;$=$??"WARN";var I="loglevel";typeof k=="string"?I+=":"+k:typeof k=="symbol"&&(I=void 0);function M(O){var N=(s[O]||"silent").toUpperCase();if(!(typeof window===o||!I)){try{window.localStorage[I]=N;return}catch{}try{window.document.cookie=encodeURIComponent(I)+"="+N+";"}catch{}}}function D(){var O;if(!(typeof window===o||!I)){try{O=window.localStorage[I]}catch{}if(typeof O===o)try{var N=window.document.cookie,re=N.indexOf(encodeURIComponent(I)+"=");re!==-1&&(O=/^([^;]+)/.exec(N.slice(re))[1])}catch{}return C.levels[O]===void 0&&(O=void 0),O}}function j(){if(!(typeof window===o||!I)){try{window.localStorage.removeItem(I);return}catch{}try{window.document.cookie=encodeURIComponent(I)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}C.name=k,C.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},C.methodFactory=A||u,C.getLevel=function(){return R},C.setLevel=function(O,N){if(typeof O=="string"&&C.levels[O.toUpperCase()]!==void 0&&(O=C.levels[O.toUpperCase()]),typeof O=="number"&&O>=0&&O<=C.levels.SILENT){if(R=O,N!==!1&&M(O),c.call(C,O,k),typeof console===o&&O<C.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+O},C.setDefaultLevel=function(O){$=O,D()||C.setLevel(O,!1)},C.resetLevel=function(){C.setLevel($,!1),j()},C.enableAll=function(O){C.setLevel(C.levels.TRACE,O)},C.disableAll=function(O){C.setLevel(C.levels.SILENT,O)};var Y=D();Y==null&&(Y=$),C.setLevel(Y,!1)}var v=new p,g={};v.getLogger=function($){if(typeof $!="symbol"&&typeof $!="string"||$==="")throw new TypeError("You must supply a name when creating a logger.");var A=g[$];return A||(A=g[$]=new p($,v.getLevel(),v.methodFactory)),A};var _=typeof window!==o?window.log:void 0;return v.noConflict=function(){return typeof window!==o&&window.log===v&&(window.log=_),v},v.getLoggers=function(){return g},v.default=v,v})})(ti);var Jc=ti.exports;const ur=fr(Jc),Qc=G`
|
|
60
60
|
:host {
|
|
61
61
|
}
|
|
62
62
|
.cb-wrapper {
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
* @license
|
|
225
225
|
* Copyright 2021 Google LLC
|
|
226
226
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
227
|
-
*/function wt(t,e,o){return t?e(t):o==null?void 0:o(t)}let ol=t=>crypto.getRandomValues(new Uint8Array(t)),rl=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(n=e)=>{let i="";for(;;){let a=o(s),c=s;for(;c--;)if(i+=t[a[c]&r]||"",i.length===n)return i}}};const sl=((t,e=21)=>rl(t,e,ol))("1234567890abcdefghijklmnopqrstuvwxyz",10);function ms(t=10){return sl(t)}function nl(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function il(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 $e=ur.noConflict();$e.setLevel("info");class al{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)),$e.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 $e.error("WSC: URL must be provided to connect"),null;const o=this.url;$e.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{$e.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{$e.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let n=(s==null?void 0:s.data)||null;if(!n)return;let i=null;try{i=JSON.parse(n)}catch{$e.error(`Failed to parse message: ${n}`);return}(i==null?void 0:i.type)==="connected"&&($e.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(i)},this._ws.onerror=s=>{$e.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{$e.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){$e.info("WSC: already disconnected");return}$e.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($e.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return $e.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return $e.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++)$e.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}function pe(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Ht(t){return function e(o){return arguments.length===0||pe(o)?e:t.apply(this,arguments)}}function st(t){return function e(o,r){switch(arguments.length){case 0:return e;case 1:return pe(o)?e:Ht(function(s){return t(o,s)});default:return pe(o)&&pe(r)?e:pe(o)?Ht(function(s){return t(s,r)}):pe(r)?Ht(function(s){return t(o,s)}):t(o,r)}}}function cl(t){return function e(o,r,s){switch(arguments.length){case 0:return e;case 1:return pe(o)?e:st(function(n,i){return t(o,n,i)});case 2:return pe(o)&&pe(r)?e:pe(o)?st(function(n,i){return t(n,r,i)}):pe(r)?st(function(n,i){return t(o,n,i)}):Ht(function(n){return t(o,r,n)});default:return pe(o)&&pe(r)&&pe(s)?e:pe(o)&&pe(r)?st(function(n,i){return t(n,i,s)}):pe(o)&&pe(s)?st(function(n,i){return t(n,r,i)}):pe(r)&&pe(s)?st(function(n,i){return t(o,n,i)}):pe(o)?Ht(function(n){return t(n,r,s)}):pe(r)?Ht(function(n){return t(o,n,s)}):pe(s)?Ht(function(n){return t(o,r,n)}):t(o,r,s)}}}const ll=Number.isInteger||function(e){return e<<0===e};function dl(t){return Object.prototype.toString.call(t)==="[object String]"}var fl=st(function(e,o){var r=e<0?o.length+e:e;return dl(o)?o.charAt(r):o[r]});const ul=fl;var hl=st(function(e,o){return o==null||o!==o?e:o});const pl=hl;var bl=st(function(e,o){return e.map(function(r){for(var s=o,n=0,i;n<r.length;){if(s==null)return;i=r[n],s=ll(i)?ul(i,s):s[i],n+=1}return s})});const gl=bl;var ml=st(function(e,o){return gl([e],o)[0]});const vl=ml;var yl=cl(function(e,o,r){return pl(e,vl(o,r))});const vs=yl,wl="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var xl=Object.defineProperty,_l=Object.getOwnPropertyDescriptor,ke=(t,e,o,r)=>{for(var s=r>1?void 0:r?_l(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&xl(e,o,s),s};const be=ur.noConflict();be.setLevel("info");const We="cb_";class we extends nr{constructor(){super(...arguments),this.actionIdCounter=0,this.wsClient=null,this.replyMessage=null,this.streamingResponseInProgress=!1,this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}setSetting(e){be.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{be.info(`Exception during bot initialization: ${o.message}`)})}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}`;be.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?be.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(n){be.error(`Failed to get bot ${this.setting.botId} settings: ${n.message}`),s=null}if(this.botSettingsInitialized=!0,this.botSettings=s,!s){if(be.error(`Unable to retrieve bot settings - bot disabled. Retry in ${this.botSettingsRetryTimeout} seconds.`),this.disabled=!0,this.botSettingsRetryTimeout>80){be.error("Failed to retrieve bot settings - bot disabled. Retries exhausted. Refresh page to attempt again.");return}this.botSettingsInitialized=!1,setTimeout(async()=>{await this.initBot()},this.botSettingsRetryTimeout*1e3),this.botSettingsRetryTimeout=this.botSettingsRetryTimeout*2;return}be.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,this.setting.splitMessagesAtBreak="splitMessagesAtBreak"in s?s.splitMessagesAtBreak:!1,this.initConversation(),this.shouldEngage==="true"&&setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}this.connectWs==="true"&&(be.info("appState: connectWs is true"),this.getWsClient().catch(e=>{be.error(`Exception during ws client startup: ${e.message}`)}))}initConversation(){if(Date.now()-this.lastConversationUpdate>24*60*60*1e3){this.clearConversation();return}this.initStartupForm()}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=ms(),this.lastConversationUpdate=Date.now(),this.connectWs="false",this.shouldEngage="true",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.initStartupForm()}initStartupForm(){const e=vs(null,["startupForm"],this.botSettings);if(!e||!(e!=null&&e.name)){be.info("Startup form not present");return}this.initForm(e)}initForm(e=null){const o=e,r=vs(null,["name"],e);if(!o||!r)return;const s=vs(null,["fields"],e);if(!Array.isArray(s)||s.length<=0){be.info("form has no fields",e);return}const n=`${We}${this.setting.botId}.${this.conversationId}.form.${r}`,i=localStorage.getItem(n);if(i){let a=null;try{a=JSON.parse(i)}catch(c){be.error(`Failed to parse stored form data: ${c.message}`),a=null}if(a){this.sendFormData(r,a).catch(c=>{be.error(`Error when submitting form: ${c.message}`)});return}}this.form=o}suppressEngagePopup(){this.engage=!1,this.shouldEngage="false"}showEngagePopup(){if(this.open)return;be.info("Engaging User !"),this.engage=!0;const e=n=>{const i=new Uint8Array(n.length/2);for(let a=0;a<i.length;a++)i[a]=parseInt(n.substr(a*2,2),16);return i};let o=new Blob([e(wl)],{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 be.info(`Initiating ws connection to ${o} ...`),this.wsClient=new al({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){var o;switch(this.lastConversationUpdate=Date.now(),e==null?void 0:e.type){case"message":{if(this.replyMessage)this.streamingResponseInProgress?(this.finishStreamingResponse(e.text),this.streamingResponseInProgress=!1):(this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,"")),this.replyMessage=null;else{const r={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(r.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(r.data.userAvatar=e.userAvatar,this.connectWs="true");const s=this.formatMessage(r);this.messages=this.messages.concat([s])}break}case"message-chunk":{e.text&&this.processStreamingResponse(e.text);break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"form":{if(be.info("Got form:",e),this.replyMessage&&this.replyMessage.id){const r=((o=this.replyMessage.data)==null?void 0:o.text)||"";(this.replyMessage.isThinking||r.trim()==="")&&(this.removeMessage(this.replyMessage.id),this.replyMessage=null)}this.initForm(e.form);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}processStreamingResponse(e){this.streamingResponseInProgress=!0;let o=e;if(this.replyMessage){if(e.indexOf("<")!==-1){this.streamingResponseBuffer=e,this.streamingResponseTagStartPos=e.indexOf("<");return}if(this.streamingResponseBuffer){if(this.streamingResponseBuffer+=e,this.streamingResponseBuffer.length<this.streamingResponseTagStartPos+4)return;const r=this.streamingResponseBuffer.indexOf("<br>");if(r!==-1){if(this.setting.splitMessagesAtBreak){const s=this.streamingResponseBuffer.substring(0,r).trim(),n=this.streamingResponseBuffer.substring(r+4).trim();be.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${s} next: ${n}`),this.replyMessage=this.updateMessage(this.replyMessage,s),this.replyMessage={author:"assistant",type:"text",isThinking:!1,data:{text:""}},this.addMessage(this.replyMessage),o=n}else o=this.streamingResponseBuffer;this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}}this.replyMessage=this.updateMessage(this.replyMessage,o)}}finishStreamingResponse(e){if(!this.replyMessage||!this.streamingResponseInProgress)return;this.streamingResponseInProgress=!1;const o=e.lastIndexOf("<br>");if(!this.setting.splitMessagesAtBreak||o===-1){this.replyMessage.data.text=e,this.updateMessage(this.replyMessage,"");return}const r=e.substring(o+4);this.replyMessage.data.text=r,this.updateMessage(this.replyMessage,"")}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),be.info("Send Message:",e),this.messages=this.messages.concat([e]),this.lastConversationUpdate=Date.now();const o=await this.getWsClient();if(!o){be.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=ms()),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=[]}async submitForm(e){if(!this.form){be.info("submitForm: No form is active - ignored");return}const o=`${We}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;await this.sendFormData(this.form.name,e),localStorage.setItem(o,JSON.stringify(e)),this.form=null}async sendFormData(e,o){const r=await this.getWsClient();if(!r){be.error("Error - failed to obtain ws client");return}r.sendMessage({type:"form",name:e,data:o})}}ke([mt({prefix:We}),xe({value:"en"})],we.prototype,"language",2),ke([mt({prefix:We}),xe({value:"light"})],we.prototype,"theme",2),ke([mt({prefix:We}),xe({type:Boolean,value:!1})],we.prototype,"open",2),ke([xe({type:Boolean,value:!1})],we.prototype,"alwaysOpen",2),ke([mt({prefix:We}),xe({value:"false"})],we.prototype,"connectWs",2),ke([mt({prefix:We}),xe({value:ms()})],we.prototype,"conversationId",2),ke([mt({prefix:We}),xe({value:0})],we.prototype,"lastConversationUpdate",2),ke([mt({prefix:We}),xe({type:Array,value:[]})],we.prototype,"messages",2),ke([xe({type:Array,value:[]})],we.prototype,"actions",2),ke([xe({type:Object,value:null})],we.prototype,"form",2),ke([xe({type:Boolean,value:!1})],we.prototype,"botSettingsInitialized",2),ke([xe({type:Number,value:5})],we.prototype,"botSettingsRetryTimeout",2),ke([xe({type:Object,value:null})],we.prototype,"botSettings",2),ke([xe({type:Boolean,value:!0})],we.prototype,"disabled",2),ke([mt({prefix:We}),xe({value:"true"})],we.prototype,"shouldEngage",2),ke([xe({type:Boolean,value:!1})],we.prototype,"engage",2),ke([mt({prefix:We}),xe({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null,splitMessagesAtBreak:!1}})],we.prototype,"setting",2);const H=new we,kl=G`
|
|
227
|
+
*/function wt(t,e,o){return t?e(t):o==null?void 0:o(t)}let ol=t=>crypto.getRandomValues(new Uint8Array(t)),rl=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(n=e)=>{let i="";for(;;){let a=o(s),c=s;for(;c--;)if(i+=t[a[c]&r]||"",i.length===n)return i}}};const sl=((t,e=21)=>rl(t,e,ol))("1234567890abcdefghijklmnopqrstuvwxyz",10);function ms(t=10){return sl(t)}function nl(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function il(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 $e=ur.noConflict();$e.setLevel("info");class al{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)),$e.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 $e.error("WSC: URL must be provided to connect"),null;const o=this.url;$e.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{$e.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{$e.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let n=(s==null?void 0:s.data)||null;if(!n)return;let i=null;try{i=JSON.parse(n)}catch{$e.error(`Failed to parse message: ${n}`);return}(i==null?void 0:i.type)==="connected"&&($e.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(i)},this._ws.onerror=s=>{$e.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{$e.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){$e.info("WSC: already disconnected");return}$e.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($e.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return $e.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return $e.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++)$e.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}function pe(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Ht(t){return function e(o){return arguments.length===0||pe(o)?e:t.apply(this,arguments)}}function st(t){return function e(o,r){switch(arguments.length){case 0:return e;case 1:return pe(o)?e:Ht(function(s){return t(o,s)});default:return pe(o)&&pe(r)?e:pe(o)?Ht(function(s){return t(s,r)}):pe(r)?Ht(function(s){return t(o,s)}):t(o,r)}}}function cl(t){return function e(o,r,s){switch(arguments.length){case 0:return e;case 1:return pe(o)?e:st(function(n,i){return t(o,n,i)});case 2:return pe(o)&&pe(r)?e:pe(o)?st(function(n,i){return t(n,r,i)}):pe(r)?st(function(n,i){return t(o,n,i)}):Ht(function(n){return t(o,r,n)});default:return pe(o)&&pe(r)&&pe(s)?e:pe(o)&&pe(r)?st(function(n,i){return t(n,i,s)}):pe(o)&&pe(s)?st(function(n,i){return t(n,r,i)}):pe(r)&&pe(s)?st(function(n,i){return t(o,n,i)}):pe(o)?Ht(function(n){return t(n,r,s)}):pe(r)?Ht(function(n){return t(o,n,s)}):pe(s)?Ht(function(n){return t(o,r,n)}):t(o,r,s)}}}const ll=Number.isInteger||function(e){return e<<0===e};function dl(t){return Object.prototype.toString.call(t)==="[object String]"}var fl=st(function(e,o){var r=e<0?o.length+e:e;return dl(o)?o.charAt(r):o[r]});const ul=fl;var hl=st(function(e,o){return o==null||o!==o?e:o});const pl=hl;var bl=st(function(e,o){return e.map(function(r){for(var s=o,n=0,i;n<r.length;){if(s==null)return;i=r[n],s=ll(i)?ul(i,s):s[i],n+=1}return s})});const gl=bl;var ml=st(function(e,o){return gl([e],o)[0]});const vl=ml;var yl=cl(function(e,o,r){return pl(e,vl(o,r))});const vs=yl,wl="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var xl=Object.defineProperty,_l=Object.getOwnPropertyDescriptor,ke=(t,e,o,r)=>{for(var s=r>1?void 0:r?_l(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&xl(e,o,s),s};const be=ur.noConflict();be.setLevel("info");const We="cb_";class we extends nr{constructor(){super(...arguments),this.actionIdCounter=0,this.prefilledFormValues={},this.wsClient=null,this.replyMessage=null,this.streamingResponseInProgress=!1,this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}setSetting(e){be.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{be.info(`Exception during bot initialization: ${o.message}`)})}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}`;be.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?be.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(n){be.error(`Failed to get bot ${this.setting.botId} settings: ${n.message}`),s=null}if(this.botSettingsInitialized=!0,this.botSettings=s,!s){if(be.error(`Unable to retrieve bot settings - bot disabled. Retry in ${this.botSettingsRetryTimeout} seconds.`),this.disabled=!0,this.botSettingsRetryTimeout>80){be.error("Failed to retrieve bot settings - bot disabled. Retries exhausted. Refresh page to attempt again.");return}this.botSettingsInitialized=!1,setTimeout(async()=>{await this.initBot()},this.botSettingsRetryTimeout*1e3),this.botSettingsRetryTimeout=this.botSettingsRetryTimeout*2;return}be.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,this.setting.splitMessagesAtBreak="splitMessagesAtBreak"in s?s.splitMessagesAtBreak:!1,this.initConversation(),this.shouldEngage==="true"&&setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}this.connectWs==="true"&&(be.info("appState: connectWs is true"),this.getWsClient().catch(e=>{be.error(`Exception during ws client startup: ${e.message}`)}))}initConversation(){if(Date.now()-this.lastConversationUpdate>24*60*60*1e3){this.clearConversation();return}this.initStartupForm()}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=ms(),this.lastConversationUpdate=Date.now(),this.connectWs="false",this.shouldEngage="true",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.initStartupForm()}setPrefilledFormFields(e){this.prefilledFormValues=e}getPrefilledFormFieldValue(e){return!this.prefilledFormValues||!(e in this.prefilledFormValues)?null:this.prefilledFormValues[e]}initStartupForm(){const e=vs(null,["startupForm"],this.botSettings);if(!e||!(e!=null&&e.name)){be.info("Startup form not present");return}this.initForm(e)}initForm(e=null){const o=e,r=vs(null,["name"],e);if(!o||!r)return;const s=vs(null,["fields"],e);if(!Array.isArray(s)||s.length<=0){be.info("form has no fields",e);return}const n=`${We}${this.setting.botId}.${this.conversationId}.form.${r}`,i=localStorage.getItem(n);if(i){let a=null;try{a=JSON.parse(i)}catch(c){be.error(`Failed to parse stored form data: ${c.message}`),a=null}if(a){this.sendFormData(r,a).catch(c=>{be.error(`Error when submitting form: ${c.message}`)});return}}this.form=o}suppressEngagePopup(){this.engage=!1,this.shouldEngage="false"}showEngagePopup(){if(this.open)return;be.info("Engaging User !"),this.engage=!0;const e=n=>{const i=new Uint8Array(n.length/2);for(let a=0;a<i.length;a++)i[a]=parseInt(n.substr(a*2,2),16);return i};let o=new Blob([e(wl)],{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 be.info(`Initiating ws connection to ${o} ...`),this.wsClient=new al({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){var o;switch(this.lastConversationUpdate=Date.now(),e==null?void 0:e.type){case"message":{if(this.replyMessage)this.streamingResponseInProgress?(this.finishStreamingResponse(e.text),this.streamingResponseInProgress=!1):(this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,"")),this.replyMessage=null;else{const r={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(r.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(r.data.userAvatar=e.userAvatar,this.connectWs="true");const s=this.formatMessage(r);this.messages=this.messages.concat([s])}break}case"message-chunk":{e.text&&this.processStreamingResponse(e.text);break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"form":{if(be.info("Got form:",e),this.replyMessage&&this.replyMessage.id){const r=((o=this.replyMessage.data)==null?void 0:o.text)||"";(this.replyMessage.isThinking||r.trim()==="")&&(this.removeMessage(this.replyMessage.id),this.replyMessage=null)}this.initForm(e.form);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}processStreamingResponse(e){this.streamingResponseInProgress=!0;let o=e;if(this.replyMessage){if(e.indexOf("<")!==-1){this.streamingResponseBuffer=e,this.streamingResponseTagStartPos=e.indexOf("<");return}if(this.streamingResponseBuffer){if(this.streamingResponseBuffer+=e,this.streamingResponseBuffer.length<this.streamingResponseTagStartPos+4)return;const r=this.streamingResponseBuffer.indexOf("<br>");if(r!==-1){if(this.setting.splitMessagesAtBreak){const s=this.streamingResponseBuffer.substring(0,r).trim(),n=this.streamingResponseBuffer.substring(r+4).trim();be.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${s} next: ${n}`),this.replyMessage=this.updateMessage(this.replyMessage,s),this.replyMessage={author:"assistant",type:"text",isThinking:!1,data:{text:""}},this.addMessage(this.replyMessage),o=n}else o=this.streamingResponseBuffer;this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}}this.replyMessage=this.updateMessage(this.replyMessage,o)}}finishStreamingResponse(e){if(!this.replyMessage||!this.streamingResponseInProgress)return;this.streamingResponseInProgress=!1;const o=e.lastIndexOf("<br>");if(!this.setting.splitMessagesAtBreak||o===-1){this.replyMessage.data.text=e,this.updateMessage(this.replyMessage,"");return}const r=e.substring(o+4);this.replyMessage.data.text=r,this.updateMessage(this.replyMessage,"")}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),be.info("Send Message:",e),this.messages=this.messages.concat([e]),this.lastConversationUpdate=Date.now();const o=await this.getWsClient();if(!o){be.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=ms()),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=[]}async submitForm(e){if(!this.form){be.info("submitForm: No form is active - ignored");return}const o=`${We}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;await this.sendFormData(this.form.name,e),localStorage.setItem(o,JSON.stringify(e)),this.form=null}async sendFormData(e,o){const r=await this.getWsClient();if(!r){be.error("Error - failed to obtain ws client");return}r.sendMessage({type:"form",name:e,data:o})}}ke([mt({prefix:We}),xe({value:"en"})],we.prototype,"language",2),ke([mt({prefix:We}),xe({value:"light"})],we.prototype,"theme",2),ke([mt({prefix:We}),xe({type:Boolean,value:!1})],we.prototype,"open",2),ke([xe({type:Boolean,value:!1})],we.prototype,"alwaysOpen",2),ke([mt({prefix:We}),xe({value:"false"})],we.prototype,"connectWs",2),ke([mt({prefix:We}),xe({value:ms()})],we.prototype,"conversationId",2),ke([mt({prefix:We}),xe({value:0})],we.prototype,"lastConversationUpdate",2),ke([mt({prefix:We}),xe({type:Array,value:[]})],we.prototype,"messages",2),ke([xe({type:Array,value:[]})],we.prototype,"actions",2),ke([xe({type:Object,value:null})],we.prototype,"form",2),ke([xe({type:Boolean,value:!1})],we.prototype,"botSettingsInitialized",2),ke([xe({type:Number,value:5})],we.prototype,"botSettingsRetryTimeout",2),ke([xe({type:Object,value:null})],we.prototype,"botSettings",2),ke([xe({type:Boolean,value:!0})],we.prototype,"disabled",2),ke([mt({prefix:We}),xe({value:"true"})],we.prototype,"shouldEngage",2),ke([xe({type:Boolean,value:!1})],we.prototype,"engage",2),ke([mt({prefix:We}),xe({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null,splitMessagesAtBreak:!1}})],we.prototype,"setting",2);const U=new we,kl=G`
|
|
228
228
|
${rt}
|
|
229
229
|
:host {
|
|
230
230
|
position: relative;
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
<circle class="spinner__track"></circle>
|
|
359
359
|
<circle class="spinner__indicator"></circle>
|
|
360
360
|
</svg>
|
|
361
|
-
`}};xs.styles=Cl;var Oo=new WeakMap,
|
|
361
|
+
`}};xs.styles=Cl;var Oo=new WeakMap,Po=new WeakMap,Io=new WeakMap,_s=new WeakSet,pr=new WeakMap,Wt=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),s=this.options.name(this.host),n=this.options.value(this.host),i=this.host.tagName.toLowerCase()==="sl-button";!r&&!i&&typeof s=="string"&&s.length>0&&typeof n<"u"&&(Array.isArray(n)?n.forEach(a=>{o.formData.append(s,a.toString())}):o.formData.append(s,n.toString()))},this.handleFormSubmit=o=>{var r;const s=this.options.disabled(this.host),n=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=Oo.get(this.form))==null||r.forEach(i=>{this.setUserInteracted(i,!0)})),this.form&&!this.form.noValidate&&!s&&!n(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),pr.set(this.host,[])},this.handleInteraction=o=>{const r=pr.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.checkFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.checkValidity=="function"&&!r.checkValidity())return!1}return!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=$t({form:o=>{const r=o.form;if(r){const n=o.getRootNode().getElementById(r);if(n)return n}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,checkValidity:o=>typeof o.checkValidity=="function"?o.checkValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),pr.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),pr.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,Oo.has(this.form)?Oo.get(this.form).add(this.host):Oo.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),Po.has(this.form)||(Po.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity()),Io.has(this.form)||(Io.set(this.form,this.form.checkValidity),this.form.checkValidity=()=>this.checkFormValidity())):this.form=void 0}detachForm(){if(!this.form)return;const t=Oo.get(this.form);t&&(t.delete(this.host),t.size<=0&&(this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),Po.has(this.form)&&(this.form.reportValidity=Po.get(this.form),Po.delete(this.form)),Io.has(this.form)&&(this.form.checkValidity=Io.get(this.form),Io.delete(this.form)),this.form=void 0))}setUserInteracted(t,e){e?_s.add(t):_s.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=!!_s.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()}},br=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Ol=Object.freeze(hr($t({},br),{valid:!1,valueMissing:!0})),Pl=Object.freeze(hr($t({},br),{valid:!1,customError:!0})),fi=G`
|
|
362
362
|
${me}
|
|
363
363
|
|
|
364
364
|
:host {
|
|
@@ -953,7 +953,7 @@
|
|
|
953
953
|
:host(.sl-button-group__button[checked]) {
|
|
954
954
|
z-index: 2;
|
|
955
955
|
}
|
|
956
|
-
`,Tt=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)}},
|
|
956
|
+
`,Tt=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)}},Il=G`
|
|
957
957
|
${me}
|
|
958
958
|
|
|
959
959
|
:host {
|
|
@@ -1060,13 +1060,13 @@
|
|
|
1060
1060
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
|
|
1061
1061
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
|
|
1062
1062
|
</svg>
|
|
1063
|
-
`},Vl={name:"system",resolver:t=>t in hi?`data:image/svg+xml,${encodeURIComponent(hi[t])}`:""},Nl=Vl,Ul=[Bl,Nl],Cs=[];function jl(t){Cs.push(t)}function Hl(t){Cs=Cs.filter(e=>e!==t)}function pi(t){return Ul.find(e=>e.name===t)}function
|
|
1063
|
+
`},Vl={name:"system",resolver:t=>t in hi?`data:image/svg+xml,${encodeURIComponent(hi[t])}`:""},Nl=Vl,Ul=[Bl,Nl],Cs=[];function jl(t){Cs.push(t)}function Hl(t){Cs=Cs.filter(e=>e!==t)}function pi(t){return Ul.find(e=>e.name===t)}function J(t,e){const o=$t({waitUntilFirstUpdate:!1},e);return(r,s)=>{const{update:n}=r,i=Array.isArray(t)?t:[t];r.update=function(a){i.forEach(c=>{const d=c;if(a.has(d)){const u=a.get(d),p=this[d];u!==p&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[s](u,p)}}),n.call(this,a)}}}/**
|
|
1064
1064
|
* @license
|
|
1065
1065
|
* Copyright 2020 Google LLC
|
|
1066
1066
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1067
|
-
*/const{D:Gl}=
|
|
1067
|
+
*/const{D:Gl}=Ic,Wl=t=>t===null||typeof t!="object"&&typeof t!="function",Zl=(t,e)=>e===void 0?(t==null?void 0:t._$litType$)!==void 0:(t==null?void 0:t._$litType$)===e,bi=t=>t.strings===void 0,gi=()=>document.createComment(""),Mo=(t,e,o)=>{var n;const r=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(o===void 0){const i=r.insertBefore(gi(),s),a=r.insertBefore(gi(),s);o=new Gl(i,a,t,t.options)}else{const i=o._$AB.nextSibling,a=o._$AM,c=a!==t;if(c){let d;(n=o._$AQ)==null||n.call(o,t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==a._$AU&&o._$AP(d)}if(i!==s||c){let d=o._$AA;for(;d!==i;){const u=d.nextSibling;r.insertBefore(d,s),d=u}}}return o},Zt=(t,e,o=t)=>(t._$AI(e,o),t),Yl={},mi=(t,e=Yl)=>t._$AH=e,Xl=t=>t._$AH,As=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 Fo=Symbol(),gr=Symbol(),Ss,Es=new Map,Te=class extends ae{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 T`<svg part="svg">
|
|
1068
1068
|
<use part="use" href="${t}"></use>
|
|
1069
|
-
</svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?Fo:gr}catch{return gr}try{const s=document.createElement("div");s.innerHTML=await r.text();const n=s.firstElementChild;if(((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())!=="svg")return Fo;Ss||(Ss=new DOMParser);const a=Ss.parseFromString(n.outerHTML,"text/html").body.querySelector("svg");return a?(a.part.add("svg"),document.adoptNode(a)):Fo}catch{return Fo}}connectedCallback(){super.connectedCallback(),jl(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),Hl(this)}getIconSource(){const t=pi(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?pi(this.library):void 0;if(!e){this.svg=null;return}let s=Es.get(e);if(s||(s=this.resolveIcon(e,r),Es.set(e,s)),!this.initialRender)return;const n=await s;if(n===gr&&Es.delete(e),e===this.getIconSource().url){if(Zl(n)){this.svg=n;return}switch(n){case gr:case Fo:this.svg=null,this.emit("sl-error");break;default:this.svg=n.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};Te.styles=
|
|
1069
|
+
</svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?Fo:gr}catch{return gr}try{const s=document.createElement("div");s.innerHTML=await r.text();const n=s.firstElementChild;if(((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())!=="svg")return Fo;Ss||(Ss=new DOMParser);const a=Ss.parseFromString(n.outerHTML,"text/html").body.querySelector("svg");return a?(a.part.add("svg"),document.adoptNode(a)):Fo}catch{return Fo}}connectedCallback(){super.connectedCallback(),jl(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),Hl(this)}getIconSource(){const t=pi(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?pi(this.library):void 0;if(!e){this.svg=null;return}let s=Es.get(e);if(s||(s=this.resolveIcon(e,r),Es.set(e,s)),!this.initialRender)return;const n=await s;if(n===gr&&Es.delete(e),e===this.getIconSource().url){if(Zl(n)){this.svg=n;return}switch(n){case gr:case Fo:this.svg=null,this.emit("sl-error");break;default:this.svg=n.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};Te.styles=Il,h([fe()],Te.prototype,"svg",2),h([b({reflect:!0})],Te.prototype,"name",2),h([b()],Te.prototype,"src",2),h([b()],Te.prototype,"label",2),h([b({reflect:!0})],Te.prototype,"library",2),h([J("label")],Te.prototype,"handleLabelChange",1),h([J(["name","src","library"])],Te.prototype,"setIcon",1);/**
|
|
1070
1070
|
* @license
|
|
1071
1071
|
* Copyright 2018 Google LLC
|
|
1072
1072
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1079,20 +1079,20 @@
|
|
|
1079
1079
|
* @license
|
|
1080
1080
|
* Copyright 2018 Google LLC
|
|
1081
1081
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1082
|
-
*/const
|
|
1082
|
+
*/const H=t=>t??ge;var ne=class extends ae{constructor(){super(...arguments),this.formControlController=new Wt(this,{assumeInteractionOn:["click"]}),this.hasSlotController=new Tt(this,"[default]","prefix","suffix"),this.localize=new Ze(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:br}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?mr`a`:mr`button`;return Bo`
|
|
1083
1083
|
<${e}
|
|
1084
1084
|
part="base"
|
|
1085
1085
|
class=${ue({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")})}
|
|
1086
|
-
?disabled=${
|
|
1087
|
-
type=${
|
|
1086
|
+
?disabled=${H(t?void 0:this.disabled)}
|
|
1087
|
+
type=${H(t?void 0:this.type)}
|
|
1088
1088
|
title=${this.title}
|
|
1089
|
-
name=${
|
|
1090
|
-
value=${
|
|
1091
|
-
href=${
|
|
1092
|
-
target=${
|
|
1093
|
-
download=${
|
|
1094
|
-
rel=${
|
|
1095
|
-
role=${
|
|
1089
|
+
name=${H(t?void 0:this.name)}
|
|
1090
|
+
value=${H(t?void 0:this.value)}
|
|
1091
|
+
href=${H(t?this.href:void 0)}
|
|
1092
|
+
target=${H(t?this.target:void 0)}
|
|
1093
|
+
download=${H(t?this.download:void 0)}
|
|
1094
|
+
rel=${H(t?this.rel:void 0)}
|
|
1095
|
+
role=${H(t?void 0:"button")}
|
|
1096
1096
|
aria-disabled=${this.disabled?"true":"false"}
|
|
1097
1097
|
tabindex=${this.disabled?"-1":"0"}
|
|
1098
1098
|
@blur=${this.handleBlur}
|
|
@@ -1106,7 +1106,7 @@
|
|
|
1106
1106
|
${this.caret?Bo` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
|
|
1107
1107
|
${this.loading?Bo`<sl-spinner part="spinner"></sl-spinner>`:""}
|
|
1108
1108
|
</${e}>
|
|
1109
|
-
`}};ne.styles=fi,ne.dependencies={"sl-icon":Te,"sl-spinner":xs},h([
|
|
1109
|
+
`}};ne.styles=fi,ne.dependencies={"sl-icon":Te,"sl-spinner":xs},h([K(".button")],ne.prototype,"button",2),h([fe()],ne.prototype,"hasFocus",2),h([fe()],ne.prototype,"invalid",2),h([b()],ne.prototype,"title",2),h([b({reflect:!0})],ne.prototype,"variant",2),h([b({reflect:!0})],ne.prototype,"size",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"caret",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"loading",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"outline",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"pill",2),h([b({type:Boolean,reflect:!0})],ne.prototype,"circle",2),h([b()],ne.prototype,"type",2),h([b()],ne.prototype,"name",2),h([b()],ne.prototype,"value",2),h([b()],ne.prototype,"href",2),h([b()],ne.prototype,"target",2),h([b()],ne.prototype,"rel",2),h([b()],ne.prototype,"download",2),h([b()],ne.prototype,"form",2),h([b({attribute:"formaction"})],ne.prototype,"formAction",2),h([b({attribute:"formenctype"})],ne.prototype,"formEnctype",2),h([b({attribute:"formmethod"})],ne.prototype,"formMethod",2),h([b({attribute:"formnovalidate",type:Boolean})],ne.prototype,"formNoValidate",2),h([b({attribute:"formtarget"})],ne.prototype,"formTarget",2),h([J("disabled",{waitUntilFirstUpdate:!0})],ne.prototype,"handleDisabledChange",1),ne.define("sl-button");var Ql=G`
|
|
1110
1110
|
${me}
|
|
1111
1111
|
|
|
1112
1112
|
:host {
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
>
|
|
1196
1196
|
${this.image&&!this.hasError?t:e}
|
|
1197
1197
|
</div>
|
|
1198
|
-
`}};nt.styles=Ql,nt.dependencies={"sl-icon":Te},h([fe()],nt.prototype,"hasError",2),h([b()],nt.prototype,"image",2),h([b()],nt.prototype,"label",2),h([b()],nt.prototype,"initials",2),h([b()],nt.prototype,"loading",2),h([b({reflect:!0})],nt.prototype,"shape",2),h([
|
|
1198
|
+
`}};nt.styles=Ql,nt.dependencies={"sl-icon":Te},h([fe()],nt.prototype,"hasError",2),h([b()],nt.prototype,"image",2),h([b()],nt.prototype,"label",2),h([b()],nt.prototype,"initials",2),h([b()],nt.prototype,"loading",2),h([b({reflect:!0})],nt.prototype,"shape",2),h([J("image")],nt.prototype,"handleImageChange",1),nt.define("sl-avatar");var vr=G`
|
|
1199
1199
|
.form-control .form-control__label {
|
|
1200
1200
|
display: none;
|
|
1201
1201
|
}
|
|
@@ -1581,25 +1581,25 @@
|
|
|
1581
1581
|
class="input__control"
|
|
1582
1582
|
type=${this.type==="password"&&this.passwordVisible?"text":this.type}
|
|
1583
1583
|
title=${this.title}
|
|
1584
|
-
name=${
|
|
1584
|
+
name=${H(this.name)}
|
|
1585
1585
|
?disabled=${this.disabled}
|
|
1586
1586
|
?readonly=${this.readonly}
|
|
1587
1587
|
?required=${this.required}
|
|
1588
|
-
placeholder=${
|
|
1589
|
-
minlength=${
|
|
1590
|
-
maxlength=${
|
|
1591
|
-
min=${
|
|
1592
|
-
max=${
|
|
1593
|
-
step=${
|
|
1588
|
+
placeholder=${H(this.placeholder)}
|
|
1589
|
+
minlength=${H(this.minlength)}
|
|
1590
|
+
maxlength=${H(this.maxlength)}
|
|
1591
|
+
min=${H(this.min)}
|
|
1592
|
+
max=${H(this.max)}
|
|
1593
|
+
step=${H(this.step)}
|
|
1594
1594
|
.value=${No(this.value)}
|
|
1595
|
-
autocapitalize=${
|
|
1596
|
-
autocomplete=${
|
|
1597
|
-
autocorrect=${
|
|
1595
|
+
autocapitalize=${H(this.autocapitalize)}
|
|
1596
|
+
autocomplete=${H(this.autocomplete)}
|
|
1597
|
+
autocorrect=${H(this.autocorrect)}
|
|
1598
1598
|
?autofocus=${this.autofocus}
|
|
1599
1599
|
spellcheck=${this.spellcheck}
|
|
1600
|
-
pattern=${
|
|
1601
|
-
enterkeyhint=${
|
|
1602
|
-
inputmode=${
|
|
1600
|
+
pattern=${H(this.pattern)}
|
|
1601
|
+
enterkeyhint=${H(this.enterkeyhint)}
|
|
1602
|
+
inputmode=${H(this.inputmode)}
|
|
1603
1603
|
aria-describedby="help-text"
|
|
1604
1604
|
@change=${this.handleChange}
|
|
1605
1605
|
@input=${this.handleInput}
|
|
@@ -1659,7 +1659,7 @@
|
|
|
1659
1659
|
<slot name="help-text">${this.helpText}</slot>
|
|
1660
1660
|
</div>
|
|
1661
1661
|
</div>
|
|
1662
|
-
`}};W.styles=ed,W.dependencies={"sl-icon":Te},h([
|
|
1662
|
+
`}};W.styles=ed,W.dependencies={"sl-icon":Te},h([K(".input__control")],W.prototype,"input",2),h([fe()],W.prototype,"hasFocus",2),h([b()],W.prototype,"title",2),h([b({reflect:!0})],W.prototype,"type",2),h([b()],W.prototype,"name",2),h([b()],W.prototype,"value",2),h([Vo()],W.prototype,"defaultValue",2),h([b({reflect:!0})],W.prototype,"size",2),h([b({type:Boolean,reflect:!0})],W.prototype,"filled",2),h([b({type:Boolean,reflect:!0})],W.prototype,"pill",2),h([b()],W.prototype,"label",2),h([b({attribute:"help-text"})],W.prototype,"helpText",2),h([b({type:Boolean})],W.prototype,"clearable",2),h([b({type:Boolean,reflect:!0})],W.prototype,"disabled",2),h([b()],W.prototype,"placeholder",2),h([b({type:Boolean,reflect:!0})],W.prototype,"readonly",2),h([b({attribute:"password-toggle",type:Boolean})],W.prototype,"passwordToggle",2),h([b({attribute:"password-visible",type:Boolean})],W.prototype,"passwordVisible",2),h([b({attribute:"no-spin-buttons",type:Boolean})],W.prototype,"noSpinButtons",2),h([b({reflect:!0})],W.prototype,"form",2),h([b({type:Boolean,reflect:!0})],W.prototype,"required",2),h([b()],W.prototype,"pattern",2),h([b({type:Number})],W.prototype,"minlength",2),h([b({type:Number})],W.prototype,"maxlength",2),h([b()],W.prototype,"min",2),h([b()],W.prototype,"max",2),h([b()],W.prototype,"step",2),h([b()],W.prototype,"autocapitalize",2),h([b()],W.prototype,"autocorrect",2),h([b()],W.prototype,"autocomplete",2),h([b({type:Boolean})],W.prototype,"autofocus",2),h([b()],W.prototype,"enterkeyhint",2),h([b({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],W.prototype,"spellcheck",2),h([b()],W.prototype,"inputmode",2),h([J("disabled",{waitUntilFirstUpdate:!0})],W.prototype,"handleDisabledChange",1),h([J("step",{waitUntilFirstUpdate:!0})],W.prototype,"handleStepChange",1),h([J("value",{waitUntilFirstUpdate:!0})],W.prototype,"handleValueChange",1),W.define("sl-input");var td=G`
|
|
1663
1663
|
${me}
|
|
1664
1664
|
|
|
1665
1665
|
:host {
|
|
@@ -1757,7 +1757,7 @@
|
|
|
1757
1757
|
<slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
1758
1758
|
<slot part="suffix" name="suffix" class="option__suffix"></slot>
|
|
1759
1759
|
</div>
|
|
1760
|
-
`}};Ue.styles=td,Ue.dependencies={"sl-icon":Te},h([
|
|
1760
|
+
`}};Ue.styles=td,Ue.dependencies={"sl-icon":Te},h([K(".option__label")],Ue.prototype,"defaultSlot",2),h([fe()],Ue.prototype,"current",2),h([fe()],Ue.prototype,"selected",2),h([fe()],Ue.prototype,"hasHover",2),h([b({reflect:!0})],Ue.prototype,"value",2),h([b({type:Boolean,reflect:!0})],Ue.prototype,"disabled",2),h([J("disabled")],Ue.prototype,"handleDisabledChange",1),h([J("selected")],Ue.prototype,"handleSelectedChange",1),h([J("value")],Ue.prototype,"handleValueChange",1),Ue.define("sl-option");var od=G`
|
|
1761
1761
|
${me}
|
|
1762
1762
|
|
|
1763
1763
|
:host {
|
|
@@ -1925,13 +1925,13 @@
|
|
|
1925
1925
|
<${e}
|
|
1926
1926
|
part="base"
|
|
1927
1927
|
class=${ue({"icon-button":!0,"icon-button--disabled":!t&&this.disabled,"icon-button--focused":this.hasFocus})}
|
|
1928
|
-
?disabled=${
|
|
1929
|
-
type=${
|
|
1930
|
-
href=${
|
|
1931
|
-
target=${
|
|
1932
|
-
download=${
|
|
1933
|
-
rel=${
|
|
1934
|
-
role=${
|
|
1928
|
+
?disabled=${H(t?void 0:this.disabled)}
|
|
1929
|
+
type=${H(t?void 0:"button")}
|
|
1930
|
+
href=${H(t?this.href:void 0)}
|
|
1931
|
+
target=${H(t?this.target:void 0)}
|
|
1932
|
+
download=${H(t?this.download:void 0)}
|
|
1933
|
+
rel=${H(t&&this.target?"noreferrer noopener":void 0)}
|
|
1934
|
+
role=${H(t?void 0:"button")}
|
|
1935
1935
|
aria-disabled=${this.disabled?"true":"false"}
|
|
1936
1936
|
aria-label="${this.label}"
|
|
1937
1937
|
tabindex=${this.disabled?"-1":"0"}
|
|
@@ -1941,13 +1941,13 @@
|
|
|
1941
1941
|
>
|
|
1942
1942
|
<sl-icon
|
|
1943
1943
|
class="icon-button__icon"
|
|
1944
|
-
name=${
|
|
1945
|
-
library=${
|
|
1946
|
-
src=${
|
|
1944
|
+
name=${H(this.name)}
|
|
1945
|
+
library=${H(this.library)}
|
|
1946
|
+
src=${H(this.src)}
|
|
1947
1947
|
aria-hidden="true"
|
|
1948
1948
|
></sl-icon>
|
|
1949
1949
|
</${e}>
|
|
1950
|
-
`}};Ce.styles=rd,Ce.dependencies={"sl-icon":Te},h([
|
|
1950
|
+
`}};Ce.styles=rd,Ce.dependencies={"sl-icon":Te},h([K(".icon-button")],Ce.prototype,"button",2),h([fe()],Ce.prototype,"hasFocus",2),h([b()],Ce.prototype,"name",2),h([b()],Ce.prototype,"library",2),h([b()],Ce.prototype,"src",2),h([b()],Ce.prototype,"href",2),h([b()],Ce.prototype,"target",2),h([b()],Ce.prototype,"download",2),h([b()],Ce.prototype,"label",2),h([b({type:Boolean,reflect:!0})],Ce.prototype,"disabled",2);var Yt=class extends ae{constructor(){super(...arguments),this.localize=new Ze(this),this.variant="neutral",this.size="medium",this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit("sl-remove")}render(){return T`
|
|
1951
1951
|
<span
|
|
1952
1952
|
part="base"
|
|
1953
1953
|
class=${ue({tag:!0,"tag--primary":this.variant==="primary","tag--success":this.variant==="success","tag--neutral":this.variant==="neutral","tag--warning":this.variant==="warning","tag--danger":this.variant==="danger","tag--text":this.variant==="text","tag--small":this.size==="small","tag--medium":this.size==="medium","tag--large":this.size==="large","tag--pill":this.pill,"tag--removable":this.removable})}
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
background: var(--arrow-color);
|
|
2335
2335
|
z-index: -1;
|
|
2336
2336
|
}
|
|
2337
|
-
`;const qt=Math.min,Fe=Math.max,yr=Math.round,wr=Math.floor,Dt=t=>({x:t,y:t}),cd={left:"right",right:"left",bottom:"top",top:"bottom"},ld={start:"end",end:"start"};function qs(t,e,o){return Fe(t,qt(e,o))}function ao(t,e){return typeof t=="function"?t(e):t}function Lt(t){return t.split("-")[0]}function co(t){return t.split("-")[1]}function _i(t){return t==="x"?"y":"x"}function Ds(t){return t==="y"?"height":"width"}function Uo(t){return["top","bottom"].includes(Lt(t))?"y":"x"}function Ls(t){return _i(Uo(t))}function dd(t,e,o){o===void 0&&(o=!1);const r=co(t),s=Ls(t),n=Ds(s);let i=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[n]>e.floating[n]&&(i=xr(i)),[i,xr(i)]}function fd(t){const e=xr(t);return[zs(t),e,zs(e)]}function zs(t){return t.replace(/start|end/g,e=>ld[e])}function ud(t,e,o){const r=["left","right"],s=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?n:i;default:return[]}}function hd(t,e,o,r){const s=co(t);let n=ud(Lt(t),o==="start",r);return s&&(n=n.map(i=>i+"-"+s),e&&(n=n.concat(n.map(zs)))),n}function xr(t){return t.replace(/left|right|bottom|top/g,e=>cd[e])}function pd(t){return{top:0,right:0,bottom:0,left:0,...t}}function ki(t){return typeof t!="number"?pd(t):{top:t,right:t,bottom:t,left:t}}function _r(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ci(t,e,o){let{reference:r,floating:s}=t;const n=Uo(e),i=Ls(e),a=Ds(i),c=Lt(e),d=n==="y",u=r.x+r.width/2-s.width/2,p=r.y+r.height/2-s.height/2,v=r[a]/2-s[a]/2;let g;switch(c){case"top":g={x:u,y:r.y-s.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-s.width,y:p};break;default:g={x:r.x,y:r.y}}switch(co(e)){case"start":g[i]-=v*(o&&d?-1:1);break;case"end":g[i]+=v*(o&&d?-1:1);break}return g}const bd=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:n=[],platform:i}=o,a=n.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(e));let d=await i.getElementRects({reference:t,floating:e,strategy:s}),{x:u,y:p}=Ci(d,r,c),v=r,g={},_=0;for(let k=0;k<a.length;k++){const{name:$,fn:A}=a[k],{x:C,y:R,data:P,reset:M}=await A({x:u,y:p,initialPlacement:r,placement:v,strategy:s,middlewareData:g,rects:d,platform:i,elements:{reference:t,floating:e}});if(u=C??u,p=R??p,g={...g,[$]:{...g[$],...P}},M&&_<=50){_++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(d=M.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:s}):M.rects),{x:u,y:p}=Ci(d,v,c)),k=-1;continue}}return{x:u,y:p,placement:v,strategy:s,middlewareData:g}};async function Rs(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:n,rects:i,elements:a,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:v=!1,padding:g=0}=ao(e,t),_=ki(g),$=a[v?p==="floating"?"reference":"floating":p],A=_r(await n.getClippingRect({element:(o=await(n.isElement==null?void 0:n.isElement($)))==null||o?$:$.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(a.floating)),boundary:d,rootBoundary:u,strategy:c})),C=p==="floating"?{...i.floating,x:r,y:s}:i.reference,R=await(n.getOffsetParent==null?void 0:n.getOffsetParent(a.floating)),P=await(n.isElement==null?void 0:n.isElement(R))?await(n.getScale==null?void 0:n.getScale(R))||{x:1,y:1}:{x:1,y:1},M=_r(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:R,strategy:c}):C);return{top:(A.top-M.top+_.top)/P.y,bottom:(M.bottom-A.bottom+_.bottom)/P.y,left:(A.left-M.left+_.left)/P.x,right:(M.right-A.right+_.right)/P.x}}const gd=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:n,platform:i,elements:a,middlewareData:c}=e,{element:d,padding:u=0}=ao(t,e)||{};if(d==null)return{};const p=ki(u),v={x:o,y:r},g=Ls(s),_=Ds(g),k=await i.getDimensions(d),$=g==="y",A=$?"top":"left",C=$?"bottom":"right",R=$?"clientHeight":"clientWidth",P=n.reference[_]+n.reference[g]-v[g]-n.floating[_],M=v[g]-n.reference[g],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let U=D?D[R]:0;(!U||!await(i.isElement==null?void 0:i.isElement(D)))&&(U=a.floating[R]||n.floating[_]);const Y=P/2-M/2,O=U/2-k[_]/2-1,N=qt(p[A],O),re=qt(p[C],O),he=N,Ie=U-k[_]-re,L=U/2-k[_]/2+Y,B=qs(he,L,Ie),z=!c.arrow&&co(s)!=null&&L!=B&&n.reference[_]/2-(L<he?N:re)-k[_]/2<0,ye=z?L<he?L-he:L-Ie:0;return{[g]:v[g]+ye,data:{[g]:B,centerOffset:L-B-ye,...z&&{alignmentOffset:ye}},reset:z}}}),md=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:n,rects:i,initialPlacement:a,platform:c,elements:d}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:k=!0,...$}=ao(t,e);if((o=n.arrow)!=null&&o.alignmentOffset)return{};const A=Lt(s),C=Lt(a)===a,R=await(c.isRTL==null?void 0:c.isRTL(d.floating)),P=v||(C||!k?[xr(a)]:fd(a));!v&&_!=="none"&&P.push(...hd(a,k,_,R));const M=[a,...P],D=await Rs(e,$),U=[];let Y=((r=n.flip)==null?void 0:r.overflows)||[];if(u&&U.push(D[A]),p){const he=dd(s,i,R);U.push(D[he[0]],D[he[1]])}if(Y=[...Y,{placement:s,overflows:U}],!U.every(he=>he<=0)){var O,N;const he=(((O=n.flip)==null?void 0:O.index)||0)+1,Ie=M[he];if(Ie)return{data:{index:he,overflows:Y},reset:{placement:Ie}};let L=(N=Y.filter(B=>B.overflows[0]<=0).sort((B,z)=>B.overflows[1]-z.overflows[1])[0])==null?void 0:N.placement;if(!L)switch(g){case"bestFit":{var re;const B=(re=Y.map(z=>[z.placement,z.overflows.filter(ye=>ye>0).reduce((ye,Ct)=>ye+Ct,0)]).sort((z,ye)=>z[1]-ye[1])[0])==null?void 0:re[0];B&&(L=B);break}case"initialPlacement":L=a;break}if(s!==L)return{reset:{placement:L}}}return{}}}};async function vd(t,e){const{placement:o,platform:r,elements:s}=t,n=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Lt(o),a=co(o),c=Uo(o)==="y",d=["left","top"].includes(i)?-1:1,u=n&&c?-1:1,p=ao(e,t);let{mainAxis:v,crossAxis:g,alignmentAxis:_}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof _=="number"&&(g=a==="end"?_*-1:_),c?{x:g*u,y:v*d}:{x:v*d,y:g*u}}const yd=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await vd(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},wd=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:n=!0,crossAxis:i=!1,limiter:a={fn:$=>{let{x:A,y:C}=$;return{x:A,y:C}}},...c}=ao(t,e),d={x:o,y:r},u=await Rs(e,c),p=Uo(Lt(s)),v=_i(p);let g=d[v],_=d[p];if(n){const $=v==="y"?"top":"left",A=v==="y"?"bottom":"right",C=g+u[$],R=g-u[A];g=qs(C,g,R)}if(i){const $=p==="y"?"top":"left",A=p==="y"?"bottom":"right",C=_+u[$],R=_-u[A];_=qs(C,_,R)}const k=a.fn({...e,[v]:g,[p]:_});return{...k,data:{x:k.x-o,y:k.y-r}}}}},Ai=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:n}=e,{apply:i=()=>{},...a}=ao(t,e),c=await Rs(e,a),d=Lt(o),u=co(o),p=Uo(o)==="y",{width:v,height:g}=r.floating;let _,k;d==="top"||d==="bottom"?(_=d,k=u===(await(s.isRTL==null?void 0:s.isRTL(n.floating))?"start":"end")?"left":"right"):(k=d,_=u==="end"?"top":"bottom");const $=g-c[_],A=v-c[k],C=!e.middlewareData.shift;let R=$,P=A;if(p){const D=v-c.left-c.right;P=u||C?qt(A,D):D}else{const D=g-c.top-c.bottom;R=u||C?qt($,D):D}if(C&&!u){const D=Fe(c.left,0),U=Fe(c.right,0),Y=Fe(c.top,0),O=Fe(c.bottom,0);p?P=v-2*(D!==0||U!==0?D+U:Fe(c.left,c.right)):R=g-2*(Y!==0||O!==0?Y+O:Fe(c.top,c.bottom))}await i({...e,availableWidth:P,availableHeight:R});const M=await s.getDimensions(n.floating);return v!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function zt(t){return Si(t)?(t.nodeName||"").toLowerCase():"#document"}function Be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(Si(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Si(t){return t instanceof Node||t instanceof Be(t).Node}function _t(t){return t instanceof Element||t instanceof Be(t).Element}function it(t){return t instanceof HTMLElement||t instanceof Be(t).HTMLElement}function Ei(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Be(t).ShadowRoot}function jo(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=je(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function xd(t){return["table","td","th"].includes(zt(t))}function Os(t){const e=Is(),o=je(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 _d(t){let e=lo(t);for(;it(e)&&!kr(e);){if(Os(e))return e;e=lo(e)}return null}function Is(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kr(t){return["html","body","#document"].includes(zt(t))}function je(t){return Be(t).getComputedStyle(t)}function Cr(t){return _t(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lo(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ei(t)&&t.host||xt(t);return Ei(e)?e.host:e}function $i(t){const e=lo(t);return kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:it(e)&&jo(e)?e:$i(e)}function Ho(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=$i(t),n=s===((r=t.ownerDocument)==null?void 0:r.body),i=Be(s);return n?e.concat(i,i.visualViewport||[],jo(s)?s:[],i.frameElement&&o?Ho(i.frameElement):[]):e.concat(s,Ho(s))}function Ti(t){const e=je(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=it(t),n=s?t.offsetWidth:o,i=s?t.offsetHeight:r,a=yr(o)!==n||yr(r)!==i;return a&&(o=n,r=i),{width:o,height:r,$:a}}function Ps(t){return _t(t)?t:t.contextElement}function fo(t){const e=Ps(t);if(!it(e))return Dt(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:n}=Ti(e);let i=(n?yr(o.width):o.width)/r,a=(n?yr(o.height):o.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const kd=Dt(0);function qi(t){const e=Be(t);return!Is()||!e.visualViewport?kd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cd(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Be(t)?!1:e}function Xt(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),n=Ps(t);let i=Dt(1);e&&(r?_t(r)&&(i=fo(r)):i=fo(t));const a=Cd(n,o,r)?qi(n):Dt(0);let c=(s.left+a.x)/i.x,d=(s.top+a.y)/i.y,u=s.width/i.x,p=s.height/i.y;if(n){const v=Be(n),g=r&&_t(r)?Be(r):r;let _=v.frameElement;for(;_&&r&&g!==v;){const k=fo(_),$=_.getBoundingClientRect(),A=je(_),C=$.left+(_.clientLeft+parseFloat(A.paddingLeft))*k.x,R=$.top+(_.clientTop+parseFloat(A.paddingTop))*k.y;c*=k.x,d*=k.y,u*=k.x,p*=k.y,c+=C,d+=R,_=Be(_).frameElement}}return _r({width:u,height:p,x:c,y:d})}function Ad(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=it(o),n=xt(o);if(o===n)return e;let i={scrollLeft:0,scrollTop:0},a=Dt(1);const c=Dt(0);if((s||!s&&r!=="fixed")&&((zt(o)!=="body"||jo(n))&&(i=Cr(o)),it(o))){const d=Xt(o);a=fo(o),c.x=d.x+o.clientLeft,c.y=d.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-i.scrollLeft*a.x+c.x,y:e.y*a.y-i.scrollTop*a.y+c.y}}function Sd(t){return Array.from(t.getClientRects())}function Di(t){return Xt(xt(t)).left+Cr(t).scrollLeft}function Ed(t){const e=xt(t),o=Cr(t),r=t.ownerDocument.body,s=Fe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Fe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+Di(t);const a=-o.scrollTop;return je(r).direction==="rtl"&&(i+=Fe(e.clientWidth,r.clientWidth)-s),{width:s,height:n,x:i,y:a}}function $d(t,e){const o=Be(t),r=xt(t),s=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,a=0,c=0;if(s){n=s.width,i=s.height;const d=Is();(!d||d&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:n,height:i,x:a,y:c}}function Td(t,e){const o=Xt(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,n=it(t)?fo(t):Dt(1),i=t.clientWidth*n.x,a=t.clientHeight*n.y,c=s*n.x,d=r*n.y;return{width:i,height:a,x:c,y:d}}function Li(t,e,o){let r;if(e==="viewport")r=$d(t,o);else if(e==="document")r=Ed(xt(t));else if(_t(e))r=Td(e,o);else{const s=qi(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return _r(r)}function zi(t,e){const o=lo(t);return o===e||!_t(o)||kr(o)?!1:je(o).position==="fixed"||zi(o,e)}function qd(t,e){const o=e.get(t);if(o)return o;let r=Ho(t,[],!1).filter(a=>_t(a)&&zt(a)!=="body"),s=null;const n=je(t).position==="fixed";let i=n?lo(t):t;for(;_t(i)&&!kr(i);){const a=je(i),c=Os(i);!c&&a.position==="fixed"&&(s=null),(n?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||jo(i)&&!c&&zi(t,i))?r=r.filter(u=>u!==i):s=a,i=lo(i)}return e.set(t,r),r}function Dd(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const i=[...o==="clippingAncestors"?qd(e,this._c):[].concat(o),r],a=i[0],c=i.reduce((d,u)=>{const p=Li(e,u,s);return d.top=Fe(p.top,d.top),d.right=qt(p.right,d.right),d.bottom=qt(p.bottom,d.bottom),d.left=Fe(p.left,d.left),d},Li(e,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ld(t){return Ti(t)}function zd(t,e,o){const r=it(e),s=xt(e),n=o==="fixed",i=Xt(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const c=Dt(0);if(r||!r&&!n)if((zt(e)!=="body"||jo(s))&&(a=Cr(e)),r){const d=Xt(e,!0,n,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else s&&(c.x=Di(s));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function Ri(t,e){return!it(t)||je(t).position==="fixed"?null:e?e(t):t.offsetParent}function Oi(t,e){const o=Be(t);if(!it(t))return o;let r=Ri(t,e);for(;r&&xd(r)&&je(r).position==="static";)r=Ri(r,e);return r&&(zt(r)==="html"||zt(r)==="body"&&je(r).position==="static"&&!Os(r))?o:r||_d(t)||o}const Rd=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||Oi,n=this.getDimensions;return{reference:zd(e,await s(o),r),floating:{x:0,y:0,...await n(o)}}};function Od(t){return je(t).direction==="rtl"}const Ar={convertOffsetParentRelativeRectToViewportRelativeRect:Ad,getDocumentElement:xt,getClippingRect:Dd,getOffsetParent:Oi,getElementRects:Rd,getClientRects:Sd,getDimensions:Ld,getScale:fo,isElement:_t,isRTL:Od};function Id(t,e){let o=null,r;const s=xt(t);function n(){clearTimeout(r),o&&o.disconnect(),o=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),n();const{left:d,top:u,width:p,height:v}=t.getBoundingClientRect();if(a||e(),!p||!v)return;const g=wr(u),_=wr(s.clientWidth-(d+p)),k=wr(s.clientHeight-(u+v)),$=wr(d),C={rootMargin:-g+"px "+-_+"px "+-k+"px "+-$+"px",threshold:Fe(0,qt(1,c))||1};let R=!0;function P(M){const D=M[0].intersectionRatio;if(D!==c){if(!R)return i();D?i(!1,D):r=setTimeout(()=>{i(!1,1e-7)},100)}R=!1}try{o=new IntersectionObserver(P,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(P,C)}o.observe(t)}return i(!0),n}function Pd(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:n=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=Ps(t),u=s||n?[...d?Ho(d):[],...Ho(e)]:[];u.forEach(A=>{s&&A.addEventListener("scroll",o,{passive:!0}),n&&A.addEventListener("resize",o)});const p=d&&a?Id(d,o):null;let v=-1,g=null;i&&(g=new ResizeObserver(A=>{let[C]=A;C&&C.target===d&&g&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{g&&g.observe(e)})),o()}),d&&!c&&g.observe(d),g.observe(e));let _,k=c?Xt(t):null;c&&$();function $(){const A=Xt(t);k&&(A.x!==k.x||A.y!==k.y||A.width!==k.width||A.height!==k.height)&&o(),k=A,_=requestAnimationFrame($)}return o(),()=>{u.forEach(A=>{s&&A.removeEventListener("scroll",o),n&&A.removeEventListener("resize",o)}),p&&p(),g&&g.disconnect(),g=null,c&&cancelAnimationFrame(_)}}const Md=(t,e,o)=>{const r=new Map,s={platform:Ar,...o},n={...s.platform,_c:r};return bd(t,e,{...s,platform:n})};function Fd(t){return Bd(t)}function Ms(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Bd(t){for(let e=t;e;e=Ms(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ms(t);e;e=Ms(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 Vd(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var ce=class extends ae{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||Vd(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=Pd(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=[yd({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Ai({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(md({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(wd({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Ai({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(gd({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>Ar.getOffsetParent(o,Fd):Ar.getOffsetParent;Md(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:hr($t({},Ar),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:n})=>{const i=getComputedStyle(this).direction==="rtl",a={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const c=s.arrow.x,d=s.arrow.y;let u="",p="",v="",g="";if(this.arrowPlacement==="start"){const _=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",p=i?_:"",g=i?"":_}else if(this.arrowPlacement==="end"){const _=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=i?"":_,g=i?_:"",v=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(g=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",u=typeof d=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(g=typeof c=="number"?`${c}px`:"",u=typeof d=="number"?`${d}px`:"");Object.assign(this.arrowEl.style,{top:u,right:p,bottom:v,left:g,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return T`
|
|
2337
|
+
`;const qt=Math.min,Fe=Math.max,yr=Math.round,wr=Math.floor,Dt=t=>({x:t,y:t}),cd={left:"right",right:"left",bottom:"top",top:"bottom"},ld={start:"end",end:"start"};function qs(t,e,o){return Fe(t,qt(e,o))}function ao(t,e){return typeof t=="function"?t(e):t}function Lt(t){return t.split("-")[0]}function co(t){return t.split("-")[1]}function _i(t){return t==="x"?"y":"x"}function Ds(t){return t==="y"?"height":"width"}function Uo(t){return["top","bottom"].includes(Lt(t))?"y":"x"}function Ls(t){return _i(Uo(t))}function dd(t,e,o){o===void 0&&(o=!1);const r=co(t),s=Ls(t),n=Ds(s);let i=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[n]>e.floating[n]&&(i=xr(i)),[i,xr(i)]}function fd(t){const e=xr(t);return[zs(t),e,zs(e)]}function zs(t){return t.replace(/start|end/g,e=>ld[e])}function ud(t,e,o){const r=["left","right"],s=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?n:i;default:return[]}}function hd(t,e,o,r){const s=co(t);let n=ud(Lt(t),o==="start",r);return s&&(n=n.map(i=>i+"-"+s),e&&(n=n.concat(n.map(zs)))),n}function xr(t){return t.replace(/left|right|bottom|top/g,e=>cd[e])}function pd(t){return{top:0,right:0,bottom:0,left:0,...t}}function ki(t){return typeof t!="number"?pd(t):{top:t,right:t,bottom:t,left:t}}function _r(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ci(t,e,o){let{reference:r,floating:s}=t;const n=Uo(e),i=Ls(e),a=Ds(i),c=Lt(e),d=n==="y",u=r.x+r.width/2-s.width/2,p=r.y+r.height/2-s.height/2,v=r[a]/2-s[a]/2;let g;switch(c){case"top":g={x:u,y:r.y-s.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-s.width,y:p};break;default:g={x:r.x,y:r.y}}switch(co(e)){case"start":g[i]-=v*(o&&d?-1:1);break;case"end":g[i]+=v*(o&&d?-1:1);break}return g}const bd=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:n=[],platform:i}=o,a=n.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(e));let d=await i.getElementRects({reference:t,floating:e,strategy:s}),{x:u,y:p}=Ci(d,r,c),v=r,g={},_=0;for(let k=0;k<a.length;k++){const{name:$,fn:A}=a[k],{x:C,y:R,data:I,reset:M}=await A({x:u,y:p,initialPlacement:r,placement:v,strategy:s,middlewareData:g,rects:d,platform:i,elements:{reference:t,floating:e}});if(u=C??u,p=R??p,g={...g,[$]:{...g[$],...I}},M&&_<=50){_++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(d=M.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:s}):M.rects),{x:u,y:p}=Ci(d,v,c)),k=-1;continue}}return{x:u,y:p,placement:v,strategy:s,middlewareData:g}};async function Rs(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:n,rects:i,elements:a,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:v=!1,padding:g=0}=ao(e,t),_=ki(g),$=a[v?p==="floating"?"reference":"floating":p],A=_r(await n.getClippingRect({element:(o=await(n.isElement==null?void 0:n.isElement($)))==null||o?$:$.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(a.floating)),boundary:d,rootBoundary:u,strategy:c})),C=p==="floating"?{...i.floating,x:r,y:s}:i.reference,R=await(n.getOffsetParent==null?void 0:n.getOffsetParent(a.floating)),I=await(n.isElement==null?void 0:n.isElement(R))?await(n.getScale==null?void 0:n.getScale(R))||{x:1,y:1}:{x:1,y:1},M=_r(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:R,strategy:c}):C);return{top:(A.top-M.top+_.top)/I.y,bottom:(M.bottom-A.bottom+_.bottom)/I.y,left:(A.left-M.left+_.left)/I.x,right:(M.right-A.right+_.right)/I.x}}const gd=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:n,platform:i,elements:a,middlewareData:c}=e,{element:d,padding:u=0}=ao(t,e)||{};if(d==null)return{};const p=ki(u),v={x:o,y:r},g=Ls(s),_=Ds(g),k=await i.getDimensions(d),$=g==="y",A=$?"top":"left",C=$?"bottom":"right",R=$?"clientHeight":"clientWidth",I=n.reference[_]+n.reference[g]-v[g]-n.floating[_],M=v[g]-n.reference[g],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let j=D?D[R]:0;(!j||!await(i.isElement==null?void 0:i.isElement(D)))&&(j=a.floating[R]||n.floating[_]);const Y=I/2-M/2,O=j/2-k[_]/2-1,N=qt(p[A],O),re=qt(p[C],O),he=N,Pe=j-k[_]-re,L=j/2-k[_]/2+Y,B=qs(he,L,Pe),z=!c.arrow&&co(s)!=null&&L!=B&&n.reference[_]/2-(L<he?N:re)-k[_]/2<0,ye=z?L<he?L-he:L-Pe:0;return{[g]:v[g]+ye,data:{[g]:B,centerOffset:L-B-ye,...z&&{alignmentOffset:ye}},reset:z}}}),md=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:n,rects:i,initialPlacement:a,platform:c,elements:d}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:k=!0,...$}=ao(t,e);if((o=n.arrow)!=null&&o.alignmentOffset)return{};const A=Lt(s),C=Lt(a)===a,R=await(c.isRTL==null?void 0:c.isRTL(d.floating)),I=v||(C||!k?[xr(a)]:fd(a));!v&&_!=="none"&&I.push(...hd(a,k,_,R));const M=[a,...I],D=await Rs(e,$),j=[];let Y=((r=n.flip)==null?void 0:r.overflows)||[];if(u&&j.push(D[A]),p){const he=dd(s,i,R);j.push(D[he[0]],D[he[1]])}if(Y=[...Y,{placement:s,overflows:j}],!j.every(he=>he<=0)){var O,N;const he=(((O=n.flip)==null?void 0:O.index)||0)+1,Pe=M[he];if(Pe)return{data:{index:he,overflows:Y},reset:{placement:Pe}};let L=(N=Y.filter(B=>B.overflows[0]<=0).sort((B,z)=>B.overflows[1]-z.overflows[1])[0])==null?void 0:N.placement;if(!L)switch(g){case"bestFit":{var re;const B=(re=Y.map(z=>[z.placement,z.overflows.filter(ye=>ye>0).reduce((ye,Ct)=>ye+Ct,0)]).sort((z,ye)=>z[1]-ye[1])[0])==null?void 0:re[0];B&&(L=B);break}case"initialPlacement":L=a;break}if(s!==L)return{reset:{placement:L}}}return{}}}};async function vd(t,e){const{placement:o,platform:r,elements:s}=t,n=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Lt(o),a=co(o),c=Uo(o)==="y",d=["left","top"].includes(i)?-1:1,u=n&&c?-1:1,p=ao(e,t);let{mainAxis:v,crossAxis:g,alignmentAxis:_}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof _=="number"&&(g=a==="end"?_*-1:_),c?{x:g*u,y:v*d}:{x:v*d,y:g*u}}const yd=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await vd(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},wd=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:n=!0,crossAxis:i=!1,limiter:a={fn:$=>{let{x:A,y:C}=$;return{x:A,y:C}}},...c}=ao(t,e),d={x:o,y:r},u=await Rs(e,c),p=Uo(Lt(s)),v=_i(p);let g=d[v],_=d[p];if(n){const $=v==="y"?"top":"left",A=v==="y"?"bottom":"right",C=g+u[$],R=g-u[A];g=qs(C,g,R)}if(i){const $=p==="y"?"top":"left",A=p==="y"?"bottom":"right",C=_+u[$],R=_-u[A];_=qs(C,_,R)}const k=a.fn({...e,[v]:g,[p]:_});return{...k,data:{x:k.x-o,y:k.y-r}}}}},Ai=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:n}=e,{apply:i=()=>{},...a}=ao(t,e),c=await Rs(e,a),d=Lt(o),u=co(o),p=Uo(o)==="y",{width:v,height:g}=r.floating;let _,k;d==="top"||d==="bottom"?(_=d,k=u===(await(s.isRTL==null?void 0:s.isRTL(n.floating))?"start":"end")?"left":"right"):(k=d,_=u==="end"?"top":"bottom");const $=g-c[_],A=v-c[k],C=!e.middlewareData.shift;let R=$,I=A;if(p){const D=v-c.left-c.right;I=u||C?qt(A,D):D}else{const D=g-c.top-c.bottom;R=u||C?qt($,D):D}if(C&&!u){const D=Fe(c.left,0),j=Fe(c.right,0),Y=Fe(c.top,0),O=Fe(c.bottom,0);p?I=v-2*(D!==0||j!==0?D+j:Fe(c.left,c.right)):R=g-2*(Y!==0||O!==0?Y+O:Fe(c.top,c.bottom))}await i({...e,availableWidth:I,availableHeight:R});const M=await s.getDimensions(n.floating);return v!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function zt(t){return Si(t)?(t.nodeName||"").toLowerCase():"#document"}function Be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(Si(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Si(t){return t instanceof Node||t instanceof Be(t).Node}function _t(t){return t instanceof Element||t instanceof Be(t).Element}function it(t){return t instanceof HTMLElement||t instanceof Be(t).HTMLElement}function Ei(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Be(t).ShadowRoot}function jo(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=je(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function xd(t){return["table","td","th"].includes(zt(t))}function Os(t){const e=Ps(),o=je(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 _d(t){let e=lo(t);for(;it(e)&&!kr(e);){if(Os(e))return e;e=lo(e)}return null}function Ps(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kr(t){return["html","body","#document"].includes(zt(t))}function je(t){return Be(t).getComputedStyle(t)}function Cr(t){return _t(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lo(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ei(t)&&t.host||xt(t);return Ei(e)?e.host:e}function $i(t){const e=lo(t);return kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:it(e)&&jo(e)?e:$i(e)}function Ho(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=$i(t),n=s===((r=t.ownerDocument)==null?void 0:r.body),i=Be(s);return n?e.concat(i,i.visualViewport||[],jo(s)?s:[],i.frameElement&&o?Ho(i.frameElement):[]):e.concat(s,Ho(s))}function Ti(t){const e=je(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=it(t),n=s?t.offsetWidth:o,i=s?t.offsetHeight:r,a=yr(o)!==n||yr(r)!==i;return a&&(o=n,r=i),{width:o,height:r,$:a}}function Is(t){return _t(t)?t:t.contextElement}function fo(t){const e=Is(t);if(!it(e))return Dt(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:n}=Ti(e);let i=(n?yr(o.width):o.width)/r,a=(n?yr(o.height):o.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const kd=Dt(0);function qi(t){const e=Be(t);return!Ps()||!e.visualViewport?kd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cd(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Be(t)?!1:e}function Xt(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),n=Is(t);let i=Dt(1);e&&(r?_t(r)&&(i=fo(r)):i=fo(t));const a=Cd(n,o,r)?qi(n):Dt(0);let c=(s.left+a.x)/i.x,d=(s.top+a.y)/i.y,u=s.width/i.x,p=s.height/i.y;if(n){const v=Be(n),g=r&&_t(r)?Be(r):r;let _=v.frameElement;for(;_&&r&&g!==v;){const k=fo(_),$=_.getBoundingClientRect(),A=je(_),C=$.left+(_.clientLeft+parseFloat(A.paddingLeft))*k.x,R=$.top+(_.clientTop+parseFloat(A.paddingTop))*k.y;c*=k.x,d*=k.y,u*=k.x,p*=k.y,c+=C,d+=R,_=Be(_).frameElement}}return _r({width:u,height:p,x:c,y:d})}function Ad(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=it(o),n=xt(o);if(o===n)return e;let i={scrollLeft:0,scrollTop:0},a=Dt(1);const c=Dt(0);if((s||!s&&r!=="fixed")&&((zt(o)!=="body"||jo(n))&&(i=Cr(o)),it(o))){const d=Xt(o);a=fo(o),c.x=d.x+o.clientLeft,c.y=d.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-i.scrollLeft*a.x+c.x,y:e.y*a.y-i.scrollTop*a.y+c.y}}function Sd(t){return Array.from(t.getClientRects())}function Di(t){return Xt(xt(t)).left+Cr(t).scrollLeft}function Ed(t){const e=xt(t),o=Cr(t),r=t.ownerDocument.body,s=Fe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Fe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+Di(t);const a=-o.scrollTop;return je(r).direction==="rtl"&&(i+=Fe(e.clientWidth,r.clientWidth)-s),{width:s,height:n,x:i,y:a}}function $d(t,e){const o=Be(t),r=xt(t),s=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,a=0,c=0;if(s){n=s.width,i=s.height;const d=Ps();(!d||d&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:n,height:i,x:a,y:c}}function Td(t,e){const o=Xt(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,n=it(t)?fo(t):Dt(1),i=t.clientWidth*n.x,a=t.clientHeight*n.y,c=s*n.x,d=r*n.y;return{width:i,height:a,x:c,y:d}}function Li(t,e,o){let r;if(e==="viewport")r=$d(t,o);else if(e==="document")r=Ed(xt(t));else if(_t(e))r=Td(e,o);else{const s=qi(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return _r(r)}function zi(t,e){const o=lo(t);return o===e||!_t(o)||kr(o)?!1:je(o).position==="fixed"||zi(o,e)}function qd(t,e){const o=e.get(t);if(o)return o;let r=Ho(t,[],!1).filter(a=>_t(a)&&zt(a)!=="body"),s=null;const n=je(t).position==="fixed";let i=n?lo(t):t;for(;_t(i)&&!kr(i);){const a=je(i),c=Os(i);!c&&a.position==="fixed"&&(s=null),(n?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||jo(i)&&!c&&zi(t,i))?r=r.filter(u=>u!==i):s=a,i=lo(i)}return e.set(t,r),r}function Dd(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const i=[...o==="clippingAncestors"?qd(e,this._c):[].concat(o),r],a=i[0],c=i.reduce((d,u)=>{const p=Li(e,u,s);return d.top=Fe(p.top,d.top),d.right=qt(p.right,d.right),d.bottom=qt(p.bottom,d.bottom),d.left=Fe(p.left,d.left),d},Li(e,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ld(t){return Ti(t)}function zd(t,e,o){const r=it(e),s=xt(e),n=o==="fixed",i=Xt(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const c=Dt(0);if(r||!r&&!n)if((zt(e)!=="body"||jo(s))&&(a=Cr(e)),r){const d=Xt(e,!0,n,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else s&&(c.x=Di(s));return{x:i.left+a.scrollLeft-c.x,y:i.top+a.scrollTop-c.y,width:i.width,height:i.height}}function Ri(t,e){return!it(t)||je(t).position==="fixed"?null:e?e(t):t.offsetParent}function Oi(t,e){const o=Be(t);if(!it(t))return o;let r=Ri(t,e);for(;r&&xd(r)&&je(r).position==="static";)r=Ri(r,e);return r&&(zt(r)==="html"||zt(r)==="body"&&je(r).position==="static"&&!Os(r))?o:r||_d(t)||o}const Rd=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||Oi,n=this.getDimensions;return{reference:zd(e,await s(o),r),floating:{x:0,y:0,...await n(o)}}};function Od(t){return je(t).direction==="rtl"}const Ar={convertOffsetParentRelativeRectToViewportRelativeRect:Ad,getDocumentElement:xt,getClippingRect:Dd,getOffsetParent:Oi,getElementRects:Rd,getClientRects:Sd,getDimensions:Ld,getScale:fo,isElement:_t,isRTL:Od};function Pd(t,e){let o=null,r;const s=xt(t);function n(){clearTimeout(r),o&&o.disconnect(),o=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),n();const{left:d,top:u,width:p,height:v}=t.getBoundingClientRect();if(a||e(),!p||!v)return;const g=wr(u),_=wr(s.clientWidth-(d+p)),k=wr(s.clientHeight-(u+v)),$=wr(d),C={rootMargin:-g+"px "+-_+"px "+-k+"px "+-$+"px",threshold:Fe(0,qt(1,c))||1};let R=!0;function I(M){const D=M[0].intersectionRatio;if(D!==c){if(!R)return i();D?i(!1,D):r=setTimeout(()=>{i(!1,1e-7)},100)}R=!1}try{o=new IntersectionObserver(I,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(I,C)}o.observe(t)}return i(!0),n}function Id(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:n=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=Is(t),u=s||n?[...d?Ho(d):[],...Ho(e)]:[];u.forEach(A=>{s&&A.addEventListener("scroll",o,{passive:!0}),n&&A.addEventListener("resize",o)});const p=d&&a?Pd(d,o):null;let v=-1,g=null;i&&(g=new ResizeObserver(A=>{let[C]=A;C&&C.target===d&&g&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{g&&g.observe(e)})),o()}),d&&!c&&g.observe(d),g.observe(e));let _,k=c?Xt(t):null;c&&$();function $(){const A=Xt(t);k&&(A.x!==k.x||A.y!==k.y||A.width!==k.width||A.height!==k.height)&&o(),k=A,_=requestAnimationFrame($)}return o(),()=>{u.forEach(A=>{s&&A.removeEventListener("scroll",o),n&&A.removeEventListener("resize",o)}),p&&p(),g&&g.disconnect(),g=null,c&&cancelAnimationFrame(_)}}const Md=(t,e,o)=>{const r=new Map,s={platform:Ar,...o},n={...s.platform,_c:r};return bd(t,e,{...s,platform:n})};function Fd(t){return Bd(t)}function Ms(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Bd(t){for(let e=t;e;e=Ms(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ms(t);e;e=Ms(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 Vd(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var ce=class extends ae{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||Vd(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=Id(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=[yd({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Ai({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(md({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(wd({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Ai({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(gd({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>Ar.getOffsetParent(o,Fd):Ar.getOffsetParent;Md(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:hr($t({},Ar),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:n})=>{const i=getComputedStyle(this).direction==="rtl",a={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const c=s.arrow.x,d=s.arrow.y;let u="",p="",v="",g="";if(this.arrowPlacement==="start"){const _=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",p=i?_:"",g=i?"":_}else if(this.arrowPlacement==="end"){const _=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=i?"":_,g=i?_:"",v=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(g=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",u=typeof d=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(g=typeof c=="number"?`${c}px`:"",u=typeof d=="number"?`${d}px`:"");Object.assign(this.arrowEl.style,{top:u,right:p,bottom:v,left:g,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return T`
|
|
2338
2338
|
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
2339
2339
|
|
|
2340
2340
|
<div
|
|
@@ -2344,7 +2344,7 @@
|
|
|
2344
2344
|
<slot></slot>
|
|
2345
2345
|
${this.arrow?T`<div part="arrow" class="popup__arrow" role="presentation"></div>`:""}
|
|
2346
2346
|
</div>
|
|
2347
|
-
`}};ce.styles=ad,h([
|
|
2347
|
+
`}};ce.styles=ad,h([K(".popup")],ce.prototype,"popup",2),h([K(".popup__arrow")],ce.prototype,"arrowEl",2),h([b()],ce.prototype,"anchor",2),h([b({type:Boolean,reflect:!0})],ce.prototype,"active",2),h([b({reflect:!0})],ce.prototype,"placement",2),h([b({reflect:!0})],ce.prototype,"strategy",2),h([b({type:Number})],ce.prototype,"distance",2),h([b({type:Number})],ce.prototype,"skidding",2),h([b({type:Boolean})],ce.prototype,"arrow",2),h([b({attribute:"arrow-placement"})],ce.prototype,"arrowPlacement",2),h([b({attribute:"arrow-padding",type:Number})],ce.prototype,"arrowPadding",2),h([b({type:Boolean})],ce.prototype,"flip",2),h([b({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],ce.prototype,"flipFallbackPlacements",2),h([b({attribute:"flip-fallback-strategy"})],ce.prototype,"flipFallbackStrategy",2),h([b({type:Object})],ce.prototype,"flipBoundary",2),h([b({attribute:"flip-padding",type:Number})],ce.prototype,"flipPadding",2),h([b({type:Boolean})],ce.prototype,"shift",2),h([b({type:Object})],ce.prototype,"shiftBoundary",2),h([b({attribute:"shift-padding",type:Number})],ce.prototype,"shiftPadding",2),h([b({attribute:"auto-size"})],ce.prototype,"autoSize",2),h([b()],ce.prototype,"sync",2),h([b({type:Object})],ce.prototype,"autoSizeBoundary",2),h([b({attribute:"auto-size-padding",type:Number})],ce.prototype,"autoSizePadding",2);var Pi=new Map,Nd=new WeakMap;function Ud(t){return t??{keyframes:[],options:{duration:0}}}function Ii(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Ye(t,e){Pi.set(t,Ud(e))}function Xe(t,e,o){const r=Nd.get(t);if(r!=null&&r[e])return Ii(r[e],o.dir);const s=Pi.get(e);return s?Ii(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 Ke(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,hr($t({},o),{duration:jd()?0:o.duration}));s.addEventListener("cancel",r,{once:!0}),s.addEventListener("finish",r,{once:!0})})}function Mi(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function jd(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function at(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 ee=class extends ae{constructor(){super(...arguments),this.formControlController=new Wt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new Tt(this,"help-text","label"),this.localize=new Ze(this),this.typeToSelectString="",this.hasFocus=!1,this.displayLabel="",this.selectedOptions=[],this.name="",this.value="",this.defaultValue="",this.size="medium",this.placeholder="",this.multiple=!1,this.maxOptionsVisible=3,this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.filled=!1,this.pill=!1,this.label="",this.placement="bottom",this.helpText="",this.form="",this.required=!1,this.getTag=t=>T`
|
|
2348
2348
|
<sl-tag
|
|
2349
2349
|
part="tag"
|
|
2350
2350
|
exportparts="
|
|
@@ -2481,7 +2481,7 @@
|
|
|
2481
2481
|
<slot name="help-text">${this.helpText}</slot>
|
|
2482
2482
|
</div>
|
|
2483
2483
|
</div>
|
|
2484
|
-
`}};ee.styles=sd,ee.dependencies={"sl-icon":Te,"sl-popup":ce,"sl-tag":Yt},h([
|
|
2484
|
+
`}};ee.styles=sd,ee.dependencies={"sl-icon":Te,"sl-popup":ce,"sl-tag":Yt},h([K(".select")],ee.prototype,"popup",2),h([K(".select__combobox")],ee.prototype,"combobox",2),h([K(".select__display-input")],ee.prototype,"displayInput",2),h([K(".select__value-input")],ee.prototype,"valueInput",2),h([K(".select__listbox")],ee.prototype,"listbox",2),h([fe()],ee.prototype,"hasFocus",2),h([fe()],ee.prototype,"displayLabel",2),h([fe()],ee.prototype,"currentOption",2),h([fe()],ee.prototype,"selectedOptions",2),h([b()],ee.prototype,"name",2),h([b({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],ee.prototype,"value",2),h([Vo()],ee.prototype,"defaultValue",2),h([b({reflect:!0})],ee.prototype,"size",2),h([b()],ee.prototype,"placeholder",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"multiple",2),h([b({attribute:"max-options-visible",type:Number})],ee.prototype,"maxOptionsVisible",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"disabled",2),h([b({type:Boolean})],ee.prototype,"clearable",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"open",2),h([b({type:Boolean})],ee.prototype,"hoist",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"filled",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"pill",2),h([b()],ee.prototype,"label",2),h([b({reflect:!0})],ee.prototype,"placement",2),h([b({attribute:"help-text"})],ee.prototype,"helpText",2),h([b({reflect:!0})],ee.prototype,"form",2),h([b({type:Boolean,reflect:!0})],ee.prototype,"required",2),h([b()],ee.prototype,"getTag",2),h([J("disabled",{waitUntilFirstUpdate:!0})],ee.prototype,"handleDisabledChange",1),h([J("value",{waitUntilFirstUpdate:!0})],ee.prototype,"handleValueChange",1),h([J("open",{waitUntilFirstUpdate:!0})],ee.prototype,"handleOpenChange",1),Ye("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Ye("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}}),ee.define("sl-select");var Hd=G`
|
|
2485
2485
|
${me}
|
|
2486
2486
|
|
|
2487
2487
|
:host {
|
|
@@ -2610,7 +2610,7 @@
|
|
|
2610
2610
|
type="checkbox"
|
|
2611
2611
|
title=${this.title}
|
|
2612
2612
|
name=${this.name}
|
|
2613
|
-
value=${
|
|
2613
|
+
value=${H(this.value)}
|
|
2614
2614
|
.indeterminate=${No(this.indeterminate)}
|
|
2615
2615
|
.checked=${No(this.checked)}
|
|
2616
2616
|
.disabled=${this.disabled}
|
|
@@ -2644,7 +2644,7 @@
|
|
|
2644
2644
|
<slot></slot>
|
|
2645
2645
|
</div>
|
|
2646
2646
|
</label>
|
|
2647
|
-
`}};Ae.styles=Hd,Ae.dependencies={"sl-icon":Te},h([
|
|
2647
|
+
`}};Ae.styles=Hd,Ae.dependencies={"sl-icon":Te},h([K('input[type="checkbox"]')],Ae.prototype,"input",2),h([fe()],Ae.prototype,"hasFocus",2),h([b()],Ae.prototype,"title",2),h([b()],Ae.prototype,"name",2),h([b()],Ae.prototype,"value",2),h([b({reflect:!0})],Ae.prototype,"size",2),h([b({type:Boolean,reflect:!0})],Ae.prototype,"disabled",2),h([b({type:Boolean,reflect:!0})],Ae.prototype,"checked",2),h([b({type:Boolean,reflect:!0})],Ae.prototype,"indeterminate",2),h([Vo("checked")],Ae.prototype,"defaultChecked",2),h([b({reflect:!0})],Ae.prototype,"form",2),h([b({type:Boolean,reflect:!0})],Ae.prototype,"required",2),h([J("disabled",{waitUntilFirstUpdate:!0})],Ae.prototype,"handleDisabledChange",1),h([J(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],Ae.prototype,"handleStateChange",1),Ae.define("sl-checkbox");var Gd=G`
|
|
2648
2648
|
${me}
|
|
2649
2649
|
${vr}
|
|
2650
2650
|
|
|
@@ -2836,21 +2836,21 @@
|
|
|
2836
2836
|
id="input"
|
|
2837
2837
|
class="textarea__control"
|
|
2838
2838
|
title=${this.title}
|
|
2839
|
-
name=${
|
|
2839
|
+
name=${H(this.name)}
|
|
2840
2840
|
.value=${No(this.value)}
|
|
2841
2841
|
?disabled=${this.disabled}
|
|
2842
2842
|
?readonly=${this.readonly}
|
|
2843
2843
|
?required=${this.required}
|
|
2844
|
-
placeholder=${
|
|
2845
|
-
rows=${
|
|
2846
|
-
minlength=${
|
|
2847
|
-
maxlength=${
|
|
2848
|
-
autocapitalize=${
|
|
2849
|
-
autocorrect=${
|
|
2844
|
+
placeholder=${H(this.placeholder)}
|
|
2845
|
+
rows=${H(this.rows)}
|
|
2846
|
+
minlength=${H(this.minlength)}
|
|
2847
|
+
maxlength=${H(this.maxlength)}
|
|
2848
|
+
autocapitalize=${H(this.autocapitalize)}
|
|
2849
|
+
autocorrect=${H(this.autocorrect)}
|
|
2850
2850
|
?autofocus=${this.autofocus}
|
|
2851
|
-
spellcheck=${
|
|
2852
|
-
enterkeyhint=${
|
|
2853
|
-
inputmode=${
|
|
2851
|
+
spellcheck=${H(this.spellcheck)}
|
|
2852
|
+
enterkeyhint=${H(this.enterkeyhint)}
|
|
2853
|
+
inputmode=${H(this.inputmode)}
|
|
2854
2854
|
aria-describedby="help-text"
|
|
2855
2855
|
@change=${this.handleChange}
|
|
2856
2856
|
@input=${this.handleInput}
|
|
@@ -2870,7 +2870,7 @@
|
|
|
2870
2870
|
<slot name="help-text">${this.helpText}</slot>
|
|
2871
2871
|
</div>
|
|
2872
2872
|
</div>
|
|
2873
|
-
`}};te.styles=Gd,h([
|
|
2873
|
+
`}};te.styles=Gd,h([K(".textarea__control")],te.prototype,"input",2),h([fe()],te.prototype,"hasFocus",2),h([b()],te.prototype,"title",2),h([b()],te.prototype,"name",2),h([b()],te.prototype,"value",2),h([b({reflect:!0})],te.prototype,"size",2),h([b({type:Boolean,reflect:!0})],te.prototype,"filled",2),h([b()],te.prototype,"label",2),h([b({attribute:"help-text"})],te.prototype,"helpText",2),h([b()],te.prototype,"placeholder",2),h([b({type:Number})],te.prototype,"rows",2),h([b()],te.prototype,"resize",2),h([b({type:Boolean,reflect:!0})],te.prototype,"disabled",2),h([b({type:Boolean,reflect:!0})],te.prototype,"readonly",2),h([b({reflect:!0})],te.prototype,"form",2),h([b({type:Boolean,reflect:!0})],te.prototype,"required",2),h([b({type:Number})],te.prototype,"minlength",2),h([b({type:Number})],te.prototype,"maxlength",2),h([b()],te.prototype,"autocapitalize",2),h([b()],te.prototype,"autocorrect",2),h([b()],te.prototype,"autocomplete",2),h([b({type:Boolean})],te.prototype,"autofocus",2),h([b()],te.prototype,"enterkeyhint",2),h([b({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],te.prototype,"spellcheck",2),h([b()],te.prototype,"inputmode",2),h([Vo()],te.prototype,"defaultValue",2),h([J("disabled",{waitUntilFirstUpdate:!0})],te.prototype,"handleDisabledChange",1),h([J("rows",{waitUntilFirstUpdate:!0})],te.prototype,"handleRowsChange",1),h([J("value",{waitUntilFirstUpdate:!0})],te.prototype,"handleValueChange",1),te.define("sl-textarea");function Wd(t){return!!(t.offsetParent||t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Zd(t){const e=t.tagName.toLowerCase();return t.getAttribute("tabindex")==="-1"||t.hasAttribute("disabled")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!Wd(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 Fi(t){const e=[];function o(r){if(r instanceof Element){if(r.hasAttribute("inert"))return;!e.includes(r)&&Zd(r)&&e.push(r);const s=n=>{var i;return((i=n.getRootNode({composed:!0}))==null?void 0:i.host)!==t};r instanceof HTMLSlotElement&&s(r)&&r.assignedElements({flatten:!0}).forEach(n=>{o(n)}),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&o(r.shadowRoot)}[...r.children].forEach(s=>o(s))}return o(t),e.sort((r,s)=>{const n=Number(r.getAttribute("tabindex"))||0;return(Number(s.getAttribute("tabindex"))||0)-n})}function*Bi(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*Rl(Bi(t.shadowRoot.activeElement))))}function Yd(){return[...Bi()].pop()}var Go=[],Xd=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.isActive()&&this.checkFocus()},this.handleKeyDown=e=>{var o,r;if(e.key!=="Tab"||this.isExternalActivated||!this.isActive())return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward",e.preventDefault();const s=Fi(this.element),n=Yd();let i=s.findIndex(c=>c===n);if(i===-1){this.currentFocus=s[0],(o=this.currentFocus)==null||o.focus({preventScroll:!0});return}const a=this.tabDirection==="forward"?1:-1;i+a>=s.length?i=0:i+a<0?i=s.length-1:i+=a,this.currentFocus=s[i],(r=this.currentFocus)==null||r.focus({preventScroll:!0}),setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t}activate(){Go.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){Go=Go.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 Go[Go.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=Fi(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}))}}}},Kd=G`
|
|
2874
2874
|
${me}
|
|
2875
2875
|
|
|
2876
2876
|
:host {
|
|
@@ -3002,8 +3002,8 @@
|
|
|
3002
3002
|
role="dialog"
|
|
3003
3003
|
aria-modal="true"
|
|
3004
3004
|
aria-hidden=${this.open?"false":"true"}
|
|
3005
|
-
aria-label=${
|
|
3006
|
-
aria-labelledby=${
|
|
3005
|
+
aria-label=${H(this.noHeader?this.label:void 0)}
|
|
3006
|
+
aria-labelledby=${H(this.noHeader?void 0:"title")}
|
|
3007
3007
|
tabindex="-1"
|
|
3008
3008
|
>
|
|
3009
3009
|
${this.noHeader?"":T`
|
|
@@ -3033,7 +3033,7 @@
|
|
|
3033
3033
|
</footer>
|
|
3034
3034
|
</div>
|
|
3035
3035
|
</div>
|
|
3036
|
-
`}};ct.styles=Kd,ct.dependencies={"sl-icon-button":Ce},h([
|
|
3036
|
+
`}};ct.styles=Kd,ct.dependencies={"sl-icon-button":Ce},h([K(".dialog")],ct.prototype,"dialog",2),h([K(".dialog__panel")],ct.prototype,"panel",2),h([K(".dialog__overlay")],ct.prototype,"overlay",2),h([b({type:Boolean,reflect:!0})],ct.prototype,"open",2),h([b({reflect:!0})],ct.prototype,"label",2),h([b({attribute:"no-header",type:Boolean,reflect:!0})],ct.prototype,"noHeader",2),h([J("open",{waitUntilFirstUpdate:!0})],ct.prototype,"handleOpenChange",1),Ye("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ye("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Ye("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Ye("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Ye("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),ct.define("sl-dialog");var Jd=G`
|
|
3037
3037
|
${me}
|
|
3038
3038
|
|
|
3039
3039
|
:host {
|
|
@@ -3306,7 +3306,7 @@
|
|
|
3306
3306
|
|
|
3307
3307
|
<slot part="body" class="tab-group__body" @slotchange=${this.syncTabsAndPanels}></slot>
|
|
3308
3308
|
</div>
|
|
3309
|
-
`}};Ve.styles=Jd,Ve.dependencies={"sl-icon-button":Ce},h([
|
|
3309
|
+
`}};Ve.styles=Jd,Ve.dependencies={"sl-icon-button":Ce},h([K(".tab-group")],Ve.prototype,"tabGroup",2),h([K(".tab-group__body")],Ve.prototype,"body",2),h([K(".tab-group__nav")],Ve.prototype,"nav",2),h([K(".tab-group__indicator")],Ve.prototype,"indicator",2),h([fe()],Ve.prototype,"hasScrollControls",2),h([b()],Ve.prototype,"placement",2),h([b()],Ve.prototype,"activation",2),h([b({attribute:"no-scroll-controls",type:Boolean})],Ve.prototype,"noScrollControls",2),h([J("noScrollControls",{waitUntilFirstUpdate:!0})],Ve.prototype,"updateScrollControls",1),h([J("placement",{waitUntilFirstUpdate:!0})],Ve.prototype,"syncIndicator",1),Ve.define("sl-tab-group");var Qd=G`
|
|
3310
3310
|
${me}
|
|
3311
3311
|
|
|
3312
3312
|
:host {
|
|
@@ -3396,7 +3396,7 @@
|
|
|
3396
3396
|
></sl-icon-button>
|
|
3397
3397
|
`:""}
|
|
3398
3398
|
</div>
|
|
3399
|
-
`}};lt.styles=Qd,lt.dependencies={"sl-icon-button":Ce},h([
|
|
3399
|
+
`}};lt.styles=Qd,lt.dependencies={"sl-icon-button":Ce},h([K(".tab")],lt.prototype,"tab",2),h([b({reflect:!0})],lt.prototype,"panel",2),h([b({type:Boolean,reflect:!0})],lt.prototype,"active",2),h([b({type:Boolean})],lt.prototype,"closable",2),h([b({type:Boolean,reflect:!0})],lt.prototype,"disabled",2),h([J("active")],lt.prototype,"handleActiveChange",1),h([J("disabled")],lt.prototype,"handleDisabledChange",1),lt.define("sl-tab");var tf=G`
|
|
3400
3400
|
${me}
|
|
3401
3401
|
|
|
3402
3402
|
:host {
|
|
@@ -3418,7 +3418,7 @@
|
|
|
3418
3418
|
part="base"
|
|
3419
3419
|
class=${ue({"tab-panel":!0,"tab-panel--active":this.active})}
|
|
3420
3420
|
></slot>
|
|
3421
|
-
`}};Wo.styles=tf,h([b({reflect:!0})],Wo.prototype,"name",2),h([b({type:Boolean,reflect:!0})],Wo.prototype,"active",2),h([
|
|
3421
|
+
`}};Wo.styles=tf,h([b({reflect:!0})],Wo.prototype,"name",2),h([b({type:Boolean,reflect:!0})],Wo.prototype,"active",2),h([J("active")],Wo.prototype,"handleActiveChange",1),Wo.define("sl-tab-panel");var rf=G`
|
|
3422
3422
|
${me}
|
|
3423
3423
|
|
|
3424
3424
|
:host {
|
|
@@ -3543,7 +3543,7 @@
|
|
|
3543
3543
|
|
|
3544
3544
|
<slot part="label" class="radio__label"></slot>
|
|
3545
3545
|
</span>
|
|
3546
|
-
`}};dt.styles=rf,dt.dependencies={"sl-icon":Te},h([fe()],dt.prototype,"checked",2),h([fe()],dt.prototype,"hasFocus",2),h([b()],dt.prototype,"value",2),h([b({reflect:!0})],dt.prototype,"size",2),h([b({type:Boolean,reflect:!0})],dt.prototype,"disabled",2),h([
|
|
3546
|
+
`}};dt.styles=rf,dt.dependencies={"sl-icon":Te},h([fe()],dt.prototype,"checked",2),h([fe()],dt.prototype,"hasFocus",2),h([b()],dt.prototype,"value",2),h([b({reflect:!0})],dt.prototype,"size",2),h([b({type:Boolean,reflect:!0})],dt.prototype,"disabled",2),h([J("checked")],dt.prototype,"handleCheckedChange",1),h([J("disabled",{waitUntilFirstUpdate:!0})],dt.prototype,"handleDisabledChange",1),dt.define("sl-radio");var sf=G`
|
|
3547
3547
|
${me}
|
|
3548
3548
|
${vr}
|
|
3549
3549
|
|
|
@@ -3602,7 +3602,7 @@
|
|
|
3602
3602
|
>
|
|
3603
3603
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
3604
3604
|
</div>
|
|
3605
|
-
`}};Zo.styles=nf,h([
|
|
3605
|
+
`}};Zo.styles=nf,h([K("slot")],Zo.prototype,"defaultSlot",2),h([fe()],Zo.prototype,"disableRole",2),h([b()],Zo.prototype,"label",2);function Yo(t){var e;const o="sl-button, sl-radio-button";return(e=t.closest(o))!=null?e:t.querySelector(o)}var Se=class extends ae{constructor(){super(...arguments),this.formControlController=new Wt(this),this.hasSlotController=new Tt(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!==""?Pl:t?Ol:br}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(a=>!a.disabled),r=(e=o.find(a=>a.checked))!=null?e:o[0],s=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value;let i=o.indexOf(r)+s;i<0&&(i=o.length-1),i>o.length-1&&(i=0),this.getAllRadios().forEach(a=>{a.checked=!1,this.hasButtonGroup||(a.tabIndex=-1)}),this.value=o[i].value,o[i].checked=!0,this.hasButtonGroup?o[i].shadowRoot.querySelector("button").focus():(o[i].tabIndex=0,o[i].focus()),this.value!==n&&(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=T`
|
|
3606
3606
|
<slot @slotchange=${this.syncRadios} @click=${this.handleRadioClick} @keydown=${this.handleKeyDown}></slot>
|
|
3607
3607
|
`;return T`
|
|
3608
3608
|
<fieldset
|
|
@@ -3654,7 +3654,7 @@
|
|
|
3654
3654
|
<slot name="help-text">${this.helpText}</slot>
|
|
3655
3655
|
</div>
|
|
3656
3656
|
</fieldset>
|
|
3657
|
-
`}};Se.styles=sf,Se.dependencies={"sl-button-group":Zo},h([
|
|
3657
|
+
`}};Se.styles=sf,Se.dependencies={"sl-button-group":Zo},h([K("slot:not([name])")],Se.prototype,"defaultSlot",2),h([K(".radio-group__validation-input")],Se.prototype,"validationInput",2),h([fe()],Se.prototype,"hasButtonGroup",2),h([fe()],Se.prototype,"errorMessage",2),h([fe()],Se.prototype,"defaultValue",2),h([b()],Se.prototype,"label",2),h([b({attribute:"help-text"})],Se.prototype,"helpText",2),h([b()],Se.prototype,"name",2),h([b({reflect:!0})],Se.prototype,"value",2),h([b({reflect:!0})],Se.prototype,"size",2),h([b({reflect:!0})],Se.prototype,"form",2),h([b({type:Boolean,reflect:!0})],Se.prototype,"required",2),h([J("size",{waitUntilFirstUpdate:!0})],Se.prototype,"handleSizeChange",1),h([J("value")],Se.prototype,"handleValueChange",1),Se.define("sl-radio-group");var af=G`
|
|
3658
3658
|
${fi}
|
|
3659
3659
|
|
|
3660
3660
|
.button__prefix,
|
|
@@ -3687,7 +3687,7 @@
|
|
|
3687
3687
|
class=${ue({button:!0,"button--default":!0,"button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--checked":this.checked,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--outline":!0,"button--pill":this.pill,"button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
|
|
3688
3688
|
aria-disabled=${this.disabled}
|
|
3689
3689
|
type="button"
|
|
3690
|
-
value=${
|
|
3690
|
+
value=${H(this.value)}
|
|
3691
3691
|
tabindex="${this.checked?"0":"-1"}"
|
|
3692
3692
|
@blur=${this.handleBlur}
|
|
3693
3693
|
@focus=${this.handleFocus}
|
|
@@ -3698,7 +3698,7 @@
|
|
|
3698
3698
|
<slot name="suffix" part="suffix" class="button__suffix"></slot>
|
|
3699
3699
|
</button>
|
|
3700
3700
|
</div>
|
|
3701
|
-
`}};Je.styles=af,h([
|
|
3701
|
+
`}};Je.styles=af,h([K(".button")],Je.prototype,"input",2),h([K(".hidden-input")],Je.prototype,"hiddenInput",2),h([fe()],Je.prototype,"hasFocus",2),h([b({type:Boolean,reflect:!0})],Je.prototype,"checked",2),h([b()],Je.prototype,"value",2),h([b({type:Boolean,reflect:!0})],Je.prototype,"disabled",2),h([b({reflect:!0})],Je.prototype,"size",2),h([b({type:Boolean,reflect:!0})],Je.prototype,"pill",2),h([J("disabled",{waitUntilFirstUpdate:!0})],Je.prototype,"handleDisabledChange",1),Je.define("sl-radio-button");var cf=G`
|
|
3702
3702
|
${me}
|
|
3703
3703
|
|
|
3704
3704
|
:host {
|
|
@@ -3874,7 +3874,7 @@
|
|
|
3874
3874
|
type="checkbox"
|
|
3875
3875
|
title=${this.title}
|
|
3876
3876
|
name=${this.name}
|
|
3877
|
-
value=${
|
|
3877
|
+
value=${H(this.value)}
|
|
3878
3878
|
.checked=${No(this.checked)}
|
|
3879
3879
|
.disabled=${this.disabled}
|
|
3880
3880
|
.required=${this.required}
|
|
@@ -3896,7 +3896,7 @@
|
|
|
3896
3896
|
<slot></slot>
|
|
3897
3897
|
</div>
|
|
3898
3898
|
</label>
|
|
3899
|
-
`}};De.styles=cf,h([
|
|
3899
|
+
`}};De.styles=cf,h([K('input[type="checkbox"]')],De.prototype,"input",2),h([fe()],De.prototype,"hasFocus",2),h([b()],De.prototype,"title",2),h([b()],De.prototype,"name",2),h([b()],De.prototype,"value",2),h([b({reflect:!0})],De.prototype,"size",2),h([b({type:Boolean,reflect:!0})],De.prototype,"disabled",2),h([b({type:Boolean,reflect:!0})],De.prototype,"checked",2),h([Vo("checked")],De.prototype,"defaultChecked",2),h([b({reflect:!0})],De.prototype,"form",2),h([b({type:Boolean,reflect:!0})],De.prototype,"required",2),h([J("checked",{waitUntilFirstUpdate:!0})],De.prototype,"handleCheckedChange",1),h([J("disabled",{waitUntilFirstUpdate:!0})],De.prototype,"handleDisabledChange",1),De.define("sl-switch");var lf=G`
|
|
3900
3900
|
${me}
|
|
3901
3901
|
|
|
3902
3902
|
:host {
|
|
@@ -3973,7 +3973,7 @@
|
|
|
3973
3973
|
<slot name="content">${this.content}</slot>
|
|
3974
3974
|
</div>
|
|
3975
3975
|
</sl-popup>
|
|
3976
|
-
`}};Ee.styles=lf,Ee.dependencies={"sl-popup":ce},h([
|
|
3976
|
+
`}};Ee.styles=lf,Ee.dependencies={"sl-popup":ce},h([K("slot:not([name])")],Ee.prototype,"defaultSlot",2),h([K(".tooltip__body")],Ee.prototype,"body",2),h([K("sl-popup")],Ee.prototype,"popup",2),h([b()],Ee.prototype,"content",2),h([b()],Ee.prototype,"placement",2),h([b({type:Boolean,reflect:!0})],Ee.prototype,"disabled",2),h([b({type:Number})],Ee.prototype,"distance",2),h([b({type:Boolean,reflect:!0})],Ee.prototype,"open",2),h([b({type:Number})],Ee.prototype,"skidding",2),h([b()],Ee.prototype,"trigger",2),h([b({type:Boolean})],Ee.prototype,"hoist",2),h([J("open",{waitUntilFirstUpdate:!0})],Ee.prototype,"handleOpenChange",1),h([J(["content","distance","hoist","placement","skidding"])],Ee.prototype,"handleOptionsChange",1),h([J("disabled")],Ee.prototype,"handleDisabledChange",1),Ye("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Ye("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),Ee.define("sl-tooltip"),xs.define("sl-spinner");var df=G`
|
|
3977
3977
|
${me}
|
|
3978
3978
|
|
|
3979
3979
|
:host {
|
|
@@ -4094,12 +4094,12 @@
|
|
|
4094
4094
|
></sl-icon-button>
|
|
4095
4095
|
`:""}
|
|
4096
4096
|
</div>
|
|
4097
|
-
`}};ft.styles=df,ft.dependencies={"sl-icon-button":Ce},h([
|
|
4098
|
-
${wt(
|
|
4099
|
-
<cb-icon class="cb-header-logo" svg="${
|
|
4097
|
+
`}};ft.styles=df,ft.dependencies={"sl-icon-button":Ce},h([K('[part~="base"]')],ft.prototype,"base",2),h([b({type:Boolean,reflect:!0})],ft.prototype,"open",2),h([b({type:Boolean,reflect:!0})],ft.prototype,"closable",2),h([b({reflect:!0})],ft.prototype,"variant",2),h([b({type:Number})],ft.prototype,"duration",2),h([J("open",{waitUntilFirstUpdate:!0})],ft.prototype,"handleOpenChange",1),h([J("duration")],ft.prototype,"handleDurationChange",1),Ye("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ye("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),ft.define("sl-alert");var ff=Object.defineProperty,uf=Object.getOwnPropertyDescriptor,hf=(t,e,o,r)=>{for(var s=r>1?void 0:r?uf(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&ff(e,o,s),s};class Le extends yt{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}}hf([b({type:String})],Le.prototype,"lang",2);const Sr='<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 8z"/></svg>';var pf=Object.defineProperty,bf=Object.getOwnPropertyDescriptor,Vi=(t,e,o,r)=>{for(var s=r>1?void 0:r?bf(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&pf(e,o,s),s};let Er=class extends Le{constructor(){super(...arguments),this.title="ChatBot"}render(){return T` <header class="cb-header" part="header">
|
|
4098
|
+
${wt(U.setting.logoUrl!=="",()=>T`<img class="cb-header-img" src="${U.setting.logoUrl}" />`,()=>T`<sl-button class="cb-setting-button" variant="text" circle>
|
|
4099
|
+
<cb-icon class="cb-header-logo" svg="${U.setting.logoSvg}"></cb-icon>
|
|
4100
4100
|
</sl-button>`)}
|
|
4101
4101
|
<span class="center title">${this.title}</span>
|
|
4102
|
-
${wt(
|
|
4102
|
+
${wt(U.alwaysOpen,()=>T``,()=>T`<span class="right">
|
|
4103
4103
|
<sl-button @click=${this._clickCloseHandler} class="cb-setting-button" variant="text" circle>
|
|
4104
4104
|
<cb-icon class="cb-header-close" svg="${Sr}"></cb-icon>
|
|
4105
4105
|
</sl-button>
|
|
@@ -4287,7 +4287,7 @@
|
|
|
4287
4287
|
* @license
|
|
4288
4288
|
* Copyright 2017 Google LLC
|
|
4289
4289
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4290
|
-
*/const ji=t=>!Wl(t)&&typeof t.then=="function",Hi=1073741823;class Ef extends Cf{constructor(){super(...arguments),this._$C_t=Hi,this._$Cwt=[],this._$Cq=new Af(this),this._$CK=new Sf}render(...e){return e.find(o=>!ji(o))??qe}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const n=this._$Cq,i=this._$CK;this.isConnected||this.disconnected();for(let a=0;a<o.length&&!(a>this._$C_t);a++){const c=o[a];if(!ji(c))return this._$C_t=a,c;a<s&&c===r[a]||(this._$C_t=Hi,s=0,Promise.resolve(c).then(async d=>{for(;i.get();)await i.get();const u=n.deref();if(u!==void 0){const p=u._$Cwt.indexOf(c);p>-1&&p<u._$C_t&&(u._$C_t=p,u.setValue(d))}}))}return qe}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const Gi=Lo(Ef);var Wi={exports:{}};(function(t,e){(function(o,r){t.exports=r()})(ei,function(){function o(y){return(o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(y)}function r(y,l){if(!(y instanceof l))throw new TypeError("Cannot call a class as a function")}function s(y,l){for(var f=0;f<l.length;f++){var m=l[f];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}function n(y,l,f){return l&&s(y.prototype,l),f&&s(y,f),y}var i=Date.now();function a(){var y={},l=!0,f=0,m=arguments.length;Object.prototype.toString.call(arguments[0])==="[object Boolean]"&&(l=arguments[0],f++);for(var w=function(S){for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&(l&&Object.prototype.toString.call(S[E])==="[object Object]"?y[E]=a(!0,y[E],S[E]):y[E]=S[E])};f<m;f++){var x=arguments[f];w(x)}return y}function c(y,l){if((re(y)||y===window||y===document)&&(y=[y]),Ie(y)||L(y)||(y=[y]),ye(y)!=0){if(Ie(y)&&!L(y))for(var f=y.length,m=0;m<f&&l.call(y[m],y[m],m,y)!==!1;m++);else if(L(y)){for(var w in y)if(z(y,w)&&l.call(y[w],y[w],w,y)===!1)break}}}function d(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,m=y[i]=y[i]||[],w={all:m,evt:null,found:null};return l&&f&&ye(m)>0&&c(m,function(x,S){if(x.eventName==l&&x.fn.toString()==f.toString())return w.found=!0,w.evt=S,!1}),w}function u(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=l.onElement,m=l.withCallback,w=l.avoidDuplicate,x=w===void 0||w,S=l.once,E=S!==void 0&&S,q=l.useCapture,V=q!==void 0&&q,I=arguments.length>2?arguments[2]:void 0,F=f||[];function Q(Z){O(m)&&m.call(I,Z,this),E&&Q.destroy()}return N(F)&&(F=document.querySelectorAll(F)),Q.destroy=function(){c(F,function(Z){var ie=d(Z,y,Q);ie.found&&ie.all.splice(ie.evt,1),Z.removeEventListener&&Z.removeEventListener(y,Q,V)})},c(F,function(Z){var ie=d(Z,y,Q);(Z.addEventListener&&x&&!ie.found||!x)&&(Z.addEventListener(y,Q,V),ie.all.push({eventName:y,fn:Q}))}),Q}function p(y,l){c(l.split(" "),function(f){return y.classList.add(f)})}function v(y,l){c(l.split(" "),function(f){return y.classList.remove(f)})}function g(y,l){return y.classList.contains(l)}function _(y,l){for(;y!==document.body;){if(!(y=y.parentElement))return!1;if(typeof y.matches=="function"?y.matches(l):y.msMatchesSelector(l))return y}}function k(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!y||l==="")return!1;if(l==="none")return O(f)&&f(),!1;var m=M(),w=l.split(" ");c(w,function(x){p(y,"g"+x)}),u(m,{onElement:y,avoidDuplicate:!1,once:!0,withCallback:function(x,S){c(w,function(E){v(S,"g"+E)}),O(f)&&f()}})}function $(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(l==="")return y.style.webkitTransform="",y.style.MozTransform="",y.style.msTransform="",y.style.OTransform="",y.style.transform="",!1;y.style.webkitTransform=l,y.style.MozTransform=l,y.style.msTransform=l,y.style.OTransform=l,y.style.transform=l}function A(y){y.style.display="block"}function C(y){y.style.display="none"}function R(y){var l=document.createDocumentFragment(),f=document.createElement("div");for(f.innerHTML=y;f.firstChild;)l.appendChild(f.firstChild);return l}function P(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function M(){var y,l=document.createElement("fakeelement"),f={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(y in f)if(l.style[y]!==void 0)return f[y]}function D(y,l,f,m){if(y())l();else{var w;f||(f=100);var x=setInterval(function(){y()&&(clearInterval(x),w&&clearTimeout(w),l())},f);m&&(w=setTimeout(function(){clearInterval(x)},m))}}function U(y,l,f){if(B(y))console.error("Inject assets error");else if(O(l)&&(f=l,l=!1),N(l)&&l in window)O(f)&&f();else{var m;if(y.indexOf(".css")!==-1){if((m=document.querySelectorAll('link[href="'+y+'"]'))&&m.length>0)return void(O(f)&&f());var w=document.getElementsByTagName("head")[0],x=w.querySelectorAll('link[rel="stylesheet"]'),S=document.createElement("link");return S.rel="stylesheet",S.type="text/css",S.href=y,S.media="all",x?w.insertBefore(S,x[0]):w.appendChild(S),void(O(f)&&f())}if((m=document.querySelectorAll('script[src="'+y+'"]'))&&m.length>0){if(O(f)){if(N(l))return D(function(){return window[l]!==void 0},function(){f()}),!1;f()}}else{var E=document.createElement("script");E.type="text/javascript",E.src=y,E.onload=function(){if(O(f)){if(N(l))return D(function(){return window[l]!==void 0},function(){f()}),!1;f()}},document.body.appendChild(E)}}}function Y(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function O(y){return typeof y=="function"}function N(y){return typeof y=="string"}function re(y){return!(!y||!y.nodeType||y.nodeType!=1)}function he(y){return Array.isArray(y)}function Ie(y){return y&&y.length&&isFinite(y.length)}function L(y){return o(y)==="object"&&y!=null&&!O(y)&&!he(y)}function B(y){return y==null}function z(y,l){return y!==null&&hasOwnProperty.call(y,l)}function ye(y){if(L(y)){if(y.keys)return y.keys().length;var l=0;for(var f in y)z(y,f)&&l++;return l}return y.length}function Ct(y){return!isNaN(parseFloat(y))&&isFinite(y)}function bc(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,l=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!l.length)return!1;if(l.length==1)return l[0];typeof y=="string"&&(y=parseInt(y));var f=[];c(l,function(E){f.push(E.getAttribute("data-taborder"))});var m=Math.max.apply(Math,f.map(function(E){return parseInt(E)})),w=y<0?1:y+1;w>m&&(w="1");var x=f.filter(function(E){return E>=parseInt(w)}),S=x.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(S,'"]'))}function M0(y){if(y.events.hasOwnProperty("keyboard"))return!1;y.events.keyboard=u("keydown",{onElement:window,withCallback:function(l,f){var m=(l=l||window.event).keyCode;if(m==9){var w=document.querySelector(".gbtn.focused");if(!w){var x=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if(x=="input"||x=="textarea"||x=="button")return}l.preventDefault();var S=document.querySelectorAll(".gbtn[data-taborder]");if(!S||S.length<=0)return;if(!w){var E=bc();return void(E&&(E.focus(),p(E,"focused")))}var q=bc(w.getAttribute("data-taborder"));v(w,"focused"),q&&(q.focus(),p(q,"focused"))}m==39&&y.nextSlide(),m==37&&y.prevSlide(),m==27&&y.close()}})}function Qr(y){return Math.sqrt(y.x*y.x+y.y*y.y)}function F0(y,l){var f=function(m,w){var x=Qr(m)*Qr(w);if(x===0)return 0;var S=function(E,q){return E.x*q.x+E.y*q.y}(m,w)/x;return S>1&&(S=1),Math.acos(S)}(y,l);return function(m,w){return m.x*w.y-w.x*m.y}(y,l)>0&&(f*=-1),180*f/Math.PI}var B0=function(){function y(l){r(this,y),this.handlers=[],this.el=l}return n(y,[{key:"add",value:function(l){this.handlers.push(l)}},{key:"del",value:function(l){l||(this.handlers=[]);for(var f=this.handlers.length;f>=0;f--)this.handlers[f]===l&&this.handlers.splice(f,1)}},{key:"dispatch",value:function(){for(var l=0,f=this.handlers.length;l<f;l++){var m=this.handlers[l];typeof m=="function"&&m.apply(this.el,arguments)}}}]),y}();function ze(y,l){var f=new B0(y);return f.add(l),f}var V0=function(){function y(l,f){r(this,y),this.element=typeof l=="string"?document.querySelector(l):l,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var m=function(){};this.rotate=ze(this.element,f.rotate||m),this.touchStart=ze(this.element,f.touchStart||m),this.multipointStart=ze(this.element,f.multipointStart||m),this.multipointEnd=ze(this.element,f.multipointEnd||m),this.pinch=ze(this.element,f.pinch||m),this.swipe=ze(this.element,f.swipe||m),this.tap=ze(this.element,f.tap||m),this.doubleTap=ze(this.element,f.doubleTap||m),this.longTap=ze(this.element,f.longTap||m),this.singleTap=ze(this.element,f.singleTap||m),this.pressMove=ze(this.element,f.pressMove||m),this.twoFingerPressMove=ze(this.element,f.twoFingerPressMove||m),this.touchMove=ze(this.element,f.touchMove||m),this.touchEnd=ze(this.element,f.touchEnd||m),this.touchCancel=ze(this.element,f.touchCancel||m),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return n(y,[{key:"start",value:function(l){if(l.touches)if(l.target&&l.target.nodeName&&["a","button","input"].indexOf(l.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",l.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=l.touches[0].pageX,this.y1=l.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(l,this.element),this.preTapPosition.x!==null&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var f=this.preV;if(l.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var m={x:l.touches[1].pageX-this.x1,y:l.touches[1].pageY-this.y1};f.x=m.x,f.y=m.y,this.pinchStartLen=Qr(f),this.multipointStart.dispatch(l,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout((function(){this.longTap.dispatch(l,this.element),this._preventTap=!0}).bind(this),750)}}},{key:"move",value:function(l){if(l.touches){var f=this.preV,m=l.touches.length,w=l.touches[0].pageX,x=l.touches[0].pageY;if(this.isDoubleTap=!1,m>1){var S=l.touches[1].pageX,E=l.touches[1].pageY,q={x:l.touches[1].pageX-w,y:l.touches[1].pageY-x};f.x!==null&&(this.pinchStartLen>0&&(l.zoom=Qr(q)/this.pinchStartLen,this.pinch.dispatch(l,this.element)),l.angle=F0(q,f),this.rotate.dispatch(l,this.element)),f.x=q.x,f.y=q.y,this.x2!==null&&this.sx2!==null?(l.deltaX=(w-this.x2+S-this.sx2)/2,l.deltaY=(x-this.y2+E-this.sy2)/2):(l.deltaX=0,l.deltaY=0),this.twoFingerPressMove.dispatch(l,this.element),this.sx2=S,this.sy2=E}else{if(this.x2!==null){l.deltaX=w-this.x2,l.deltaY=x-this.y2;var V=Math.abs(this.x1-this.x2),I=Math.abs(this.y1-this.y2);(V>10||I>10)&&(this._preventTap=!0)}else l.deltaX=0,l.deltaY=0;this.pressMove.dispatch(l,this.element)}this.touchMove.dispatch(l,this.element),this._cancelLongTap(),this.x2=w,this.y2=x,m>1&&l.preventDefault()}}},{key:"end",value:function(l){if(l.changedTouches){this._cancelLongTap();var f=this;l.touches.length<2&&(this.multipointEnd.dispatch(l,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(l.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){f.swipe.dispatch(l,f.element)},0)):(this.tapTimeout=setTimeout(function(){f._preventTap||f.tap.dispatch(l,f.element),f.isDoubleTap&&(f.doubleTap.dispatch(l,f.element),f.isDoubleTap=!1)},0),f.isDoubleTap||(f.singleTapTimeout=setTimeout(function(){f.singleTap.dispatch(l,f.element)},250))),this.touchEnd.dispatch(l,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(l){this.cancelAll(),this.touchCancel.dispatch(l,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(l,f,m,w){return Math.abs(l-f)>=Math.abs(m-w)?l-f>0?"Left":"Right":m-w>0?"Up":"Down"}},{key:"on",value:function(l,f){this[l]&&this[l].add(f)}},{key:"off",value:function(l,f){this[l]&&this[l].del(f)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),y}();function wn(y){var l=function(){var S,E=document.createElement("fakeelement"),q={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(S in q)if(E.style[S]!==void 0)return q[S]}(),f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m=g(y,"gslide-media")?y:y.querySelector(".gslide-media"),w=_(m,".ginner-container"),x=y.querySelector(".gslide-description");f>769&&(m=w),p(m,"greset"),$(m,"translate3d(0, 0, 0)"),u(l,{onElement:m,once:!0,withCallback:function(S,E){v(m,"greset")}}),m.style.opacity="",x&&(x.style.opacity="")}function N0(y){if(y.events.hasOwnProperty("touch"))return!1;var l,f,m,w=P(),x=w.width,S=w.height,E=!1,q=null,V=null,I=null,F=!1,Q=1,Z=1,ie=!1,de=!1,se=null,tt=null,Pe=null,Mt=null,Ft=0,to=0,xo=!1,xn=!1,oo={},ro={},xc=0,_c=0,K0=document.getElementById("glightbox-slider"),ts=document.querySelector(".goverlay"),J0=new V0(K0,{touchStart:function(le){if(E=!0,(g(le.targetTouches[0].target,"ginner-container")||_(le.targetTouches[0].target,".gslide-desc")||le.targetTouches[0].target.nodeName.toLowerCase()=="a")&&(E=!1),_(le.targetTouches[0].target,".gslide-inline")&&!g(le.targetTouches[0].target.parentNode,"gslide-inline")&&(E=!1),E){if(ro=le.targetTouches[0],oo.pageX=le.targetTouches[0].pageX,oo.pageY=le.targetTouches[0].pageY,xc=le.targetTouches[0].clientX,_c=le.targetTouches[0].clientY,q=y.activeSlide,V=q.querySelector(".gslide-media"),m=q.querySelector(".gslide-inline"),I=null,g(V,"gslide-image")&&(I=V.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(V=q.querySelector(".ginner-container")),v(ts,"greset"),le.pageX>20&&le.pageX<window.innerWidth-20)return;le.preventDefault()}},touchMove:function(le){if(E&&(ro=le.targetTouches[0],!ie&&!de)){if(m&&m.offsetHeight>S){var Re=oo.pageX-ro.pageX;if(Math.abs(Re)<=13)return!1}F=!0;var Bt,os=le.targetTouches[0].clientX,Q0=le.targetTouches[0].clientY,eb=xc-os,tb=_c-Q0;if(Math.abs(eb)>Math.abs(tb)?(xo=!1,xn=!0):(xn=!1,xo=!0),l=ro.pageX-oo.pageX,Ft=100*l/x,f=ro.pageY-oo.pageY,to=100*f/S,xo&&I&&(Bt=1-Math.abs(f)/S,ts.style.opacity=Bt,y.settings.touchFollowAxis&&(Ft=0)),xn&&(Bt=1-Math.abs(l)/x,V.style.opacity=Bt,y.settings.touchFollowAxis&&(to=0)),!I)return $(V,"translate3d(".concat(Ft,"%, 0, 0)"));$(V,"translate3d(".concat(Ft,"%, ").concat(to,"%, 0)"))}},touchEnd:function(){if(E){if(F=!1,de||ie)return Pe=se,void(Mt=tt);var le=Math.abs(parseInt(to)),Re=Math.abs(parseInt(Ft));if(!(le>29&&I))return le<29&&Re<25?(p(ts,"greset"),ts.style.opacity=1,wn(V)):void 0;y.close()}},multipointEnd:function(){setTimeout(function(){ie=!1},50)},multipointStart:function(){ie=!0,Q=Z||1},pinch:function(le){if(!I||F)return!1;ie=!0,I.scaleX=I.scaleY=Q*le.zoom;var Re=Q*le.zoom;if(de=!0,Re<=1)return de=!1,Re=1,Mt=null,Pe=null,se=null,tt=null,void I.setAttribute("style","");Re>4.5&&(Re=4.5),I.style.transform="scale3d(".concat(Re,", ").concat(Re,", 1)"),Z=Re},pressMove:function(le){if(de&&!ie){var Re=ro.pageX-oo.pageX,Bt=ro.pageY-oo.pageY;Pe&&(Re+=Pe),Mt&&(Bt+=Mt),se=Re,tt=Bt;var os="translate3d(".concat(Re,"px, ").concat(Bt,"px, 0)");Z&&(os+=" scale3d(".concat(Z,", ").concat(Z,", 1)")),$(I,os)}},swipe:function(le){if(!de)if(ie)ie=!1;else{if(le.direction=="Left"){if(y.index==y.elements.length-1)return wn(V);y.nextSlide()}if(le.direction=="Right"){if(y.index==0)return wn(V);y.prevSlide()}}}});y.events.touch=J0}var U0=function(){function y(l,f){var m=this,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(r(this,y),this.img=l,this.slide=f,this.onclose=w,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(x){return m.dragStart(x)},!1),this.img.addEventListener("mouseup",function(x){return m.dragEnd(x)},!1),this.img.addEventListener("mousemove",function(x){return m.drag(x)},!1),this.img.addEventListener("click",function(x){return m.slide.classList.contains("dragging-nav")?(m.zoomOut(),!1):m.zoomedIn?void(m.zoomedIn&&!m.dragging&&m.zoomOut()):m.zoomIn()},!1),this.img.setZoomEvents=!0}return n(y,[{key:"zoomIn",value:function(){var l=this.widowWidth();if(!(this.zoomedIn||l<=768)){var f=this.img;if(f.setAttribute("data-style",f.getAttribute("style")),f.style.maxWidth=f.naturalWidth+"px",f.style.maxHeight=f.naturalHeight+"px",f.naturalWidth>l){var m=l/2-f.naturalWidth/2;this.setTranslate(this.img.parentNode,m,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&typeof this.onclose=="function"&&this.onclose()}},{key:"dragStart",value:function(l){l.preventDefault(),this.zoomedIn?(l.type==="touchstart"?(this.initialX=l.touches[0].clientX-this.xOffset,this.initialY=l.touches[0].clientY-this.yOffset):(this.initialX=l.clientX-this.xOffset,this.initialY=l.clientY-this.yOffset),l.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(l){var f=this;l.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){f.dragging=!1,f.img.isDragging=!1,f.img.classList.remove("dragging")},100)}},{key:"drag",value:function(l){this.active&&(l.preventDefault(),l.type==="touchmove"?(this.currentX=l.touches[0].clientX-this.initialX,this.currentY=l.touches[0].clientY-this.initialY):(this.currentX=l.clientX-this.initialX,this.currentY=l.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(l){if(this.zoomedIn){var f=l.clientX-this.img.naturalWidth/2,m=l.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,f,m)}}},{key:"setTranslate",value:function(l,f,m){l.style.transform="translate3d("+f+"px, "+m+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),y}(),gc=function(){function y(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y);var m=f.dragEl,w=f.toleranceX,x=w===void 0?40:w,S=f.toleranceY,E=S===void 0?65:S,q=f.slide,V=q===void 0?null:q,I=f.instance,F=I===void 0?null:I;this.el=m,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=x,this.toleranceY=E,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=V,this.instance=F,this.el.addEventListener("mousedown",function(Q){return l.dragStart(Q)},!1),this.el.addEventListener("mouseup",function(Q){return l.dragEnd(Q)},!1),this.el.addEventListener("mousemove",function(Q){return l.drag(Q)},!1)}return n(y,[{key:"dragStart",value:function(l){if(this.slide.classList.contains("zoomed"))this.active=!1;else{l.type==="touchstart"?(this.initialX=l.touches[0].clientX-this.xOffset,this.initialY=l.touches[0].clientY-this.yOffset):(this.initialX=l.clientX-this.xOffset,this.initialY=l.clientY-this.yOffset);var f=l.target.nodeName.toLowerCase();l.target.classList.contains("nodrag")||_(l.target,".nodrag")||["input","select","textarea","button","a"].indexOf(f)!==-1?this.active=!1:(l.preventDefault(),(l.target===this.el||f!=="img"&&_(l.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=_(l.target,".ginner-container")))}}},{key:"dragEnd",value:function(l){var f=this;l&&l.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,this.doSlideChange=="right"&&this.instance.prevSlide(),this.doSlideChange=="left"&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){f.instance.preventOutsideClick=!1,f.toleranceReached=!1,f.lastDirection=null,f.dragging=!1,f.el.isDragging=!1,f.el.classList.remove("dragging"),f.slide.classList.remove("dragging-nav"),f.dragContainer.style.transform="",f.dragContainer.style.transition=""},100)}},{key:"drag",value:function(l){if(this.active){l.preventDefault(),this.slide.classList.add("dragging-nav"),l.type==="touchmove"?(this.currentX=l.touches[0].clientX-this.initialX,this.currentY=l.touches[0].clientY-this.initialY):(this.currentX=l.clientX-this.initialX,this.currentY=l.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var f=Math.abs(this.currentX),m=Math.abs(this.currentY);if(f>0&&f>=Math.abs(this.currentY)&&(!this.lastDirection||this.lastDirection=="x")){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var w=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&w&&(this.doSlideChange=w),this.instance.settings.dragAutoSnap&&w)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),w=="right"&&this.instance.prevSlide(),void(w=="left"&&this.instance.nextSlide())}if(this.toleranceY>0&&m>0&&m>=f&&(!this.lastDirection||this.lastDirection=="y")){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var x=this.shouldClose();return!this.instance.settings.dragAutoSnap&&x&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&x&&this.instance.close())}}}},{key:"shouldChange",value:function(){var l=!1;if(Math.abs(this.currentX)>=this.toleranceX){var f=this.currentX>0?"right":"left";(f=="left"&&this.slide!==this.slide.parentNode.lastChild||f=="right"&&this.slide!==this.slide.parentNode.firstChild)&&(l=f)}return l}},{key:"shouldClose",value:function(){var l=!1;return Math.abs(this.currentY)>=this.toleranceY&&(l=!0),l}},{key:"setTranslate",value:function(l,f,m){var w=arguments.length>3&&arguments[3]!==void 0&&arguments[3];l.style.transition=w?"all .2s ease":"",l.style.transform="translate3d(".concat(f,"px, ").concat(m,"px, 0)")}}]),y}();function j0(y,l,f,m){var w=y.querySelector(".gslide-media"),x=new Image,S="gSlideTitle_"+f,E="gSlideDesc_"+f;x.addEventListener("load",function(){O(m)&&m()},!1),x.src=l.href,l.sizes!=""&&l.srcset!=""&&(x.sizes=l.sizes,x.srcset=l.srcset),x.alt="",B(l.alt)||l.alt===""||(x.alt=l.alt),l.title!==""&&x.setAttribute("aria-labelledby",S),l.description!==""&&x.setAttribute("aria-describedby",E),l.hasOwnProperty("_hasCustomWidth")&&l._hasCustomWidth&&(x.style.width=l.width),l.hasOwnProperty("_hasCustomHeight")&&l._hasCustomHeight&&(x.style.height=l.height),w.insertBefore(x,w.firstChild)}function H0(y,l,f,m){var w=this,x=y.querySelector(".ginner-container"),S="gvideo"+f,E=y.querySelector(".gslide-media"),q=this.getAllPlayers();p(x,"gvideo-container"),E.insertBefore(R('<div class="gvideo-wrapper"></div>'),E.firstChild);var V=y.querySelector(".gvideo-wrapper");U(this.settings.plyr.css,"Plyr");var I=l.href,F=l==null?void 0:l.videoProvider,Q=!1;E.style.maxWidth=l.width,U(this.settings.plyr.js,"Plyr",function(){if(!F&&I.match(/vimeo\.com\/([0-9]*)/)&&(F="vimeo"),!F&&(I.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||I.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||I.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/))&&(F="youtube"),F==="local"||!F){F="local";var Z='<video id="'+S+'" ';Z+='style="background:#000; max-width: '.concat(l.width,';" '),Z+='preload="metadata" ',Z+='x-webkit-airplay="allow" ',Z+="playsinline ",Z+="controls ",Z+='class="gvideo-local">',Z+='<source src="'.concat(I,'">'),Q=R(Z+="</video>")}var ie=Q||R('<div id="'.concat(S,'" data-plyr-provider="').concat(F,'" data-plyr-embed-id="').concat(I,'"></div>'));p(V,"".concat(F,"-video gvideo")),V.appendChild(ie),V.setAttribute("data-id",S),V.setAttribute("data-index",f);var de=z(w.settings.plyr,"config")?w.settings.plyr.config:{},se=new Plyr("#"+S,de);se.on("ready",function(tt){q[S]=tt.detail.plyr,O(m)&&m()}),D(function(){return y.querySelector("iframe")&&y.querySelector("iframe").dataset.ready=="true"},function(){w.resize(y)}),se.on("enterfullscreen",mc),se.on("exitfullscreen",mc)})}function mc(y){var l=_(y.target,".gslide-media");y.type==="enterfullscreen"&&p(l,"fullscreen"),y.type==="exitfullscreen"&&v(l,"fullscreen")}function G0(y,l,f,m){var w,x=this,S=y.querySelector(".gslide-media"),E=!(!z(l,"href")||!l.href)&&l.href.split("#").pop().trim(),q=!(!z(l,"content")||!l.content)&&l.content;if(q&&(N(q)&&(w=R('<div class="ginlined-content">'.concat(q,"</div>"))),re(q))){q.style.display=="none"&&(q.style.display="block");var V=document.createElement("div");V.className="ginlined-content",V.appendChild(q),w=V}if(E){var I=document.getElementById(E);if(!I)return!1;var F=I.cloneNode(!0);F.style.height=l.height,F.style.maxWidth=l.width,p(F,"ginlined-content"),w=F}if(!w)return console.error("Unable to append inline slide content",l),!1;S.style.height=l.height,S.style.width=l.width,S.appendChild(w),this.events["inlineclose"+E]=u("click",{onElement:S.querySelectorAll(".gtrigger-close"),withCallback:function(Q){Q.preventDefault(),x.close()}}),O(m)&&m()}function W0(y,l,f,m){var w=y.querySelector(".gslide-media"),x=function(S){var E=S.url,q=S.allow,V=S.callback,I=S.appendTo,F=document.createElement("iframe");return F.className="vimeo-video gvideo",F.src=E,F.style.width="100%",F.style.height="100%",q&&F.setAttribute("allow",q),F.onload=function(){F.onload=null,p(F,"node-ready"),O(V)&&V()},I&&I.appendChild(F),F}({url:l.href,callback:m});w.parentNode.style.maxWidth=l.width,w.parentNode.style.height=l.height,w.appendChild(x)}var Z0=function(){function y(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},L(l)&&(this.defaults=a(this.defaults,l))}return n(y,[{key:"sourceType",value:function(l){var f=l;return(l=l.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)!==null?"image":l.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||l.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||l.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||l.match(/vimeo\.com\/([0-9]*)/)||l.match(/\.(mp4|ogg|webm|mov)/)!==null?"video":l.match(/\.(mp3|wav|wma|aac|ogg)/)!==null?"audio":l.indexOf("#")>-1&&f.split("#").pop().trim()!==""?"inline":l.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(l,f){var m=this,w=a({descPosition:f.descPosition},this.defaults);if(L(l)&&!re(l)){z(l,"type")||(z(l,"content")&&l.content?l.type="inline":z(l,"href")&&(l.type=this.sourceType(l.href)));var x=a(w,l);return this.setSize(x,f),x}var S="",E=l.getAttribute("data-glightbox"),q=l.nodeName.toLowerCase();if(q==="a"&&(S=l.href),q==="img"&&(S=l.src,w.alt=l.alt),w.href=S,c(w,function(ie,de){z(f,de)&&de!=="width"&&(w[de]=f[de]);var se=l.dataset[de];B(se)||(w[de]=m.sanitizeValue(se))}),w.content&&(w.type="inline"),!w.type&&S&&(w.type=this.sourceType(S)),B(E)){if(!w.title&&q=="a"){var V=l.title;B(V)||V===""||(w.title=V)}if(!w.title&&q=="img"){var I=l.alt;B(I)||I===""||(w.title=I)}}else{var F=[];c(w,function(ie,de){F.push(";\\s?"+de)}),F=F.join("\\s?:|"),E.trim()!==""&&c(w,function(ie,de){var se=E,tt=new RegExp("s?"+de+"s?:s?(.*?)("+F+"s?:|$)"),Pe=se.match(tt);if(Pe&&Pe.length&&Pe[1]){var Mt=Pe[1].trim().replace(/;\s*$/,"");w[de]=m.sanitizeValue(Mt)}})}if(w.description&&w.description.substring(0,1)==="."){var Q;try{Q=document.querySelector(w.description).innerHTML}catch(ie){if(!(ie instanceof DOMException))throw ie}Q&&(w.description=Q)}if(!w.description){var Z=l.querySelector(".glightbox-desc");Z&&(w.description=Z.innerHTML)}return this.setSize(w,f,l),this.slideConfig=w,w}},{key:"setSize",value:function(l,f){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,w=l.type=="video"?this.checkSize(f.videosWidth):this.checkSize(f.width),x=this.checkSize(f.height);return l.width=z(l,"width")&&l.width!==""?this.checkSize(l.width):w,l.height=z(l,"height")&&l.height!==""?this.checkSize(l.height):x,m&&l.type=="image"&&(l._hasCustomWidth=!!m.dataset.width,l._hasCustomHeight=!!m.dataset.height),l}},{key:"checkSize",value:function(l){return Ct(l)?"".concat(l,"px"):l}},{key:"sanitizeValue",value:function(l){return l!=="true"&&l!=="false"?l:l==="true"}}]),y}(),es=function(){function y(l,f,m){r(this,y),this.element=l,this.instance=f,this.index=m}return n(y,[{key:"setContent",value:function(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,m=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(g(f,"loaded"))return!1;var w=this.instance.settings,x=this.slideConfig,S=Y();O(w.beforeSlideLoad)&&w.beforeSlideLoad({index:this.index,slide:f,player:!1});var E=x.type,q=x.descPosition,V=f.querySelector(".gslide-media"),I=f.querySelector(".gslide-title"),F=f.querySelector(".gslide-desc"),Q=f.querySelector(".gdesc-inner"),Z=m,ie="gSlideTitle_"+this.index,de="gSlideDesc_"+this.index;if(O(w.afterSlideLoad)&&(Z=function(){O(m)&&m(),w.afterSlideLoad({index:l.index,slide:f,player:l.instance.getSlidePlayerInstance(l.index)})}),x.title==""&&x.description==""?Q&&Q.parentNode.parentNode.removeChild(Q.parentNode):(I&&x.title!==""?(I.id=ie,I.innerHTML=x.title):I.parentNode.removeChild(I),F&&x.description!==""?(F.id=de,S&&w.moreLength>0?(x.smallDescription=this.slideShortDesc(x.description,w.moreLength,w.moreText),F.innerHTML=x.smallDescription,this.descriptionEvents(F,x)):F.innerHTML=x.description):F.parentNode.removeChild(F),p(V.parentNode,"desc-".concat(q)),p(Q.parentNode,"description-".concat(q))),p(V,"gslide-".concat(E)),p(f,"loaded"),E!=="video"){if(E!=="external")return E==="inline"?(G0.apply(this.instance,[f,x,this.index,Z]),void(x.draggable&&new gc({dragEl:f.querySelector(".gslide-inline"),toleranceX:w.dragToleranceX,toleranceY:w.dragToleranceY,slide:f,instance:this.instance}))):void(E!=="image"?O(Z)&&Z():j0(f,x,this.index,function(){var se=f.querySelector("img");x.draggable&&new gc({dragEl:se,toleranceX:w.dragToleranceX,toleranceY:w.dragToleranceY,slide:f,instance:l.instance}),x.zoomable&&se.naturalWidth>se.offsetWidth&&(p(se,"zoomable"),new U0(se,f,function(){l.instance.resize()})),O(Z)&&Z()}));W0.apply(this,[f,x,this.index,Z])}else H0.apply(this.instance,[f,x,this.index,Z])}},{key:"slideShortDesc",value:function(l){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50,m=arguments.length>2&&arguments[2]!==void 0&&arguments[2],w=document.createElement("div");w.innerHTML=l;var x=w.innerText,S=m;if((l=x.trim()).length<=f)return l;var E=l.substr(0,f-1);return S?(w=null,E+'... <a href="#" class="desc-more">'+m+"</a>"):E}},{key:"descriptionEvents",value:function(l,f){var m=this,w=l.querySelector(".desc-more");if(!w)return!1;u("click",{onElement:w,withCallback:function(x,S){x.preventDefault();var E=document.body,q=_(S,".gslide-desc");if(!q)return!1;q.innerHTML=f.description,p(E,"gdesc-open");var V=u("click",{onElement:[E,_(q,".gslide-description")],withCallback:function(I,F){I.target.nodeName.toLowerCase()!=="a"&&(v(E,"gdesc-open"),p(E,"gdesc-closed"),q.innerHTML=f.smallDescription,m.descriptionEvents(q,f),setTimeout(function(){v(E,"gdesc-closed")},400),V.destroy())}})}})}},{key:"create",value:function(){return R(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){re(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var l=new Z0(this.instance.settings.slideExtraAttributes);return this.slideConfig=l.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),y}(),vc=Y(),yc=Y()!==null||document.createTouch!==void 0||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,wc=document.getElementsByTagName("html")[0],Y0={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:`<div class="gslide">
|
|
4290
|
+
*/const ji=t=>!Wl(t)&&typeof t.then=="function",Hi=1073741823;class Ef extends Cf{constructor(){super(...arguments),this._$C_t=Hi,this._$Cwt=[],this._$Cq=new Af(this),this._$CK=new Sf}render(...e){return e.find(o=>!ji(o))??qe}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const n=this._$Cq,i=this._$CK;this.isConnected||this.disconnected();for(let a=0;a<o.length&&!(a>this._$C_t);a++){const c=o[a];if(!ji(c))return this._$C_t=a,c;a<s&&c===r[a]||(this._$C_t=Hi,s=0,Promise.resolve(c).then(async d=>{for(;i.get();)await i.get();const u=n.deref();if(u!==void 0){const p=u._$Cwt.indexOf(c);p>-1&&p<u._$C_t&&(u._$C_t=p,u.setValue(d))}}))}return qe}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const Gi=Lo(Ef);var Wi={exports:{}};(function(t,e){(function(o,r){t.exports=r()})(ei,function(){function o(y){return(o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(y)}function r(y,l){if(!(y instanceof l))throw new TypeError("Cannot call a class as a function")}function s(y,l){for(var f=0;f<l.length;f++){var m=l[f];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}function n(y,l,f){return l&&s(y.prototype,l),f&&s(y,f),y}var i=Date.now();function a(){var y={},l=!0,f=0,m=arguments.length;Object.prototype.toString.call(arguments[0])==="[object Boolean]"&&(l=arguments[0],f++);for(var w=function(S){for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&(l&&Object.prototype.toString.call(S[E])==="[object Object]"?y[E]=a(!0,y[E],S[E]):y[E]=S[E])};f<m;f++){var x=arguments[f];w(x)}return y}function c(y,l){if((re(y)||y===window||y===document)&&(y=[y]),Pe(y)||L(y)||(y=[y]),ye(y)!=0){if(Pe(y)&&!L(y))for(var f=y.length,m=0;m<f&&l.call(y[m],y[m],m,y)!==!1;m++);else if(L(y)){for(var w in y)if(z(y,w)&&l.call(y[w],y[w],w,y)===!1)break}}}function d(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,m=y[i]=y[i]||[],w={all:m,evt:null,found:null};return l&&f&&ye(m)>0&&c(m,function(x,S){if(x.eventName==l&&x.fn.toString()==f.toString())return w.found=!0,w.evt=S,!1}),w}function u(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=l.onElement,m=l.withCallback,w=l.avoidDuplicate,x=w===void 0||w,S=l.once,E=S!==void 0&&S,q=l.useCapture,V=q!==void 0&&q,P=arguments.length>2?arguments[2]:void 0,F=f||[];function Q(Z){O(m)&&m.call(P,Z,this),E&&Q.destroy()}return N(F)&&(F=document.querySelectorAll(F)),Q.destroy=function(){c(F,function(Z){var ie=d(Z,y,Q);ie.found&&ie.all.splice(ie.evt,1),Z.removeEventListener&&Z.removeEventListener(y,Q,V)})},c(F,function(Z){var ie=d(Z,y,Q);(Z.addEventListener&&x&&!ie.found||!x)&&(Z.addEventListener(y,Q,V),ie.all.push({eventName:y,fn:Q}))}),Q}function p(y,l){c(l.split(" "),function(f){return y.classList.add(f)})}function v(y,l){c(l.split(" "),function(f){return y.classList.remove(f)})}function g(y,l){return y.classList.contains(l)}function _(y,l){for(;y!==document.body;){if(!(y=y.parentElement))return!1;if(typeof y.matches=="function"?y.matches(l):y.msMatchesSelector(l))return y}}function k(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!y||l==="")return!1;if(l==="none")return O(f)&&f(),!1;var m=M(),w=l.split(" ");c(w,function(x){p(y,"g"+x)}),u(m,{onElement:y,avoidDuplicate:!1,once:!0,withCallback:function(x,S){c(w,function(E){v(S,"g"+E)}),O(f)&&f()}})}function $(y){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(l==="")return y.style.webkitTransform="",y.style.MozTransform="",y.style.msTransform="",y.style.OTransform="",y.style.transform="",!1;y.style.webkitTransform=l,y.style.MozTransform=l,y.style.msTransform=l,y.style.OTransform=l,y.style.transform=l}function A(y){y.style.display="block"}function C(y){y.style.display="none"}function R(y){var l=document.createDocumentFragment(),f=document.createElement("div");for(f.innerHTML=y;f.firstChild;)l.appendChild(f.firstChild);return l}function I(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function M(){var y,l=document.createElement("fakeelement"),f={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(y in f)if(l.style[y]!==void 0)return f[y]}function D(y,l,f,m){if(y())l();else{var w;f||(f=100);var x=setInterval(function(){y()&&(clearInterval(x),w&&clearTimeout(w),l())},f);m&&(w=setTimeout(function(){clearInterval(x)},m))}}function j(y,l,f){if(B(y))console.error("Inject assets error");else if(O(l)&&(f=l,l=!1),N(l)&&l in window)O(f)&&f();else{var m;if(y.indexOf(".css")!==-1){if((m=document.querySelectorAll('link[href="'+y+'"]'))&&m.length>0)return void(O(f)&&f());var w=document.getElementsByTagName("head")[0],x=w.querySelectorAll('link[rel="stylesheet"]'),S=document.createElement("link");return S.rel="stylesheet",S.type="text/css",S.href=y,S.media="all",x?w.insertBefore(S,x[0]):w.appendChild(S),void(O(f)&&f())}if((m=document.querySelectorAll('script[src="'+y+'"]'))&&m.length>0){if(O(f)){if(N(l))return D(function(){return window[l]!==void 0},function(){f()}),!1;f()}}else{var E=document.createElement("script");E.type="text/javascript",E.src=y,E.onload=function(){if(O(f)){if(N(l))return D(function(){return window[l]!==void 0},function(){f()}),!1;f()}},document.body.appendChild(E)}}}function Y(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function O(y){return typeof y=="function"}function N(y){return typeof y=="string"}function re(y){return!(!y||!y.nodeType||y.nodeType!=1)}function he(y){return Array.isArray(y)}function Pe(y){return y&&y.length&&isFinite(y.length)}function L(y){return o(y)==="object"&&y!=null&&!O(y)&&!he(y)}function B(y){return y==null}function z(y,l){return y!==null&&hasOwnProperty.call(y,l)}function ye(y){if(L(y)){if(y.keys)return y.keys().length;var l=0;for(var f in y)z(y,f)&&l++;return l}return y.length}function Ct(y){return!isNaN(parseFloat(y))&&isFinite(y)}function bc(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,l=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!l.length)return!1;if(l.length==1)return l[0];typeof y=="string"&&(y=parseInt(y));var f=[];c(l,function(E){f.push(E.getAttribute("data-taborder"))});var m=Math.max.apply(Math,f.map(function(E){return parseInt(E)})),w=y<0?1:y+1;w>m&&(w="1");var x=f.filter(function(E){return E>=parseInt(w)}),S=x.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(S,'"]'))}function M0(y){if(y.events.hasOwnProperty("keyboard"))return!1;y.events.keyboard=u("keydown",{onElement:window,withCallback:function(l,f){var m=(l=l||window.event).keyCode;if(m==9){var w=document.querySelector(".gbtn.focused");if(!w){var x=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if(x=="input"||x=="textarea"||x=="button")return}l.preventDefault();var S=document.querySelectorAll(".gbtn[data-taborder]");if(!S||S.length<=0)return;if(!w){var E=bc();return void(E&&(E.focus(),p(E,"focused")))}var q=bc(w.getAttribute("data-taborder"));v(w,"focused"),q&&(q.focus(),p(q,"focused"))}m==39&&y.nextSlide(),m==37&&y.prevSlide(),m==27&&y.close()}})}function Qr(y){return Math.sqrt(y.x*y.x+y.y*y.y)}function F0(y,l){var f=function(m,w){var x=Qr(m)*Qr(w);if(x===0)return 0;var S=function(E,q){return E.x*q.x+E.y*q.y}(m,w)/x;return S>1&&(S=1),Math.acos(S)}(y,l);return function(m,w){return m.x*w.y-w.x*m.y}(y,l)>0&&(f*=-1),180*f/Math.PI}var B0=function(){function y(l){r(this,y),this.handlers=[],this.el=l}return n(y,[{key:"add",value:function(l){this.handlers.push(l)}},{key:"del",value:function(l){l||(this.handlers=[]);for(var f=this.handlers.length;f>=0;f--)this.handlers[f]===l&&this.handlers.splice(f,1)}},{key:"dispatch",value:function(){for(var l=0,f=this.handlers.length;l<f;l++){var m=this.handlers[l];typeof m=="function"&&m.apply(this.el,arguments)}}}]),y}();function ze(y,l){var f=new B0(y);return f.add(l),f}var V0=function(){function y(l,f){r(this,y),this.element=typeof l=="string"?document.querySelector(l):l,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var m=function(){};this.rotate=ze(this.element,f.rotate||m),this.touchStart=ze(this.element,f.touchStart||m),this.multipointStart=ze(this.element,f.multipointStart||m),this.multipointEnd=ze(this.element,f.multipointEnd||m),this.pinch=ze(this.element,f.pinch||m),this.swipe=ze(this.element,f.swipe||m),this.tap=ze(this.element,f.tap||m),this.doubleTap=ze(this.element,f.doubleTap||m),this.longTap=ze(this.element,f.longTap||m),this.singleTap=ze(this.element,f.singleTap||m),this.pressMove=ze(this.element,f.pressMove||m),this.twoFingerPressMove=ze(this.element,f.twoFingerPressMove||m),this.touchMove=ze(this.element,f.touchMove||m),this.touchEnd=ze(this.element,f.touchEnd||m),this.touchCancel=ze(this.element,f.touchCancel||m),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return n(y,[{key:"start",value:function(l){if(l.touches)if(l.target&&l.target.nodeName&&["a","button","input"].indexOf(l.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",l.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=l.touches[0].pageX,this.y1=l.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(l,this.element),this.preTapPosition.x!==null&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var f=this.preV;if(l.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var m={x:l.touches[1].pageX-this.x1,y:l.touches[1].pageY-this.y1};f.x=m.x,f.y=m.y,this.pinchStartLen=Qr(f),this.multipointStart.dispatch(l,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout((function(){this.longTap.dispatch(l,this.element),this._preventTap=!0}).bind(this),750)}}},{key:"move",value:function(l){if(l.touches){var f=this.preV,m=l.touches.length,w=l.touches[0].pageX,x=l.touches[0].pageY;if(this.isDoubleTap=!1,m>1){var S=l.touches[1].pageX,E=l.touches[1].pageY,q={x:l.touches[1].pageX-w,y:l.touches[1].pageY-x};f.x!==null&&(this.pinchStartLen>0&&(l.zoom=Qr(q)/this.pinchStartLen,this.pinch.dispatch(l,this.element)),l.angle=F0(q,f),this.rotate.dispatch(l,this.element)),f.x=q.x,f.y=q.y,this.x2!==null&&this.sx2!==null?(l.deltaX=(w-this.x2+S-this.sx2)/2,l.deltaY=(x-this.y2+E-this.sy2)/2):(l.deltaX=0,l.deltaY=0),this.twoFingerPressMove.dispatch(l,this.element),this.sx2=S,this.sy2=E}else{if(this.x2!==null){l.deltaX=w-this.x2,l.deltaY=x-this.y2;var V=Math.abs(this.x1-this.x2),P=Math.abs(this.y1-this.y2);(V>10||P>10)&&(this._preventTap=!0)}else l.deltaX=0,l.deltaY=0;this.pressMove.dispatch(l,this.element)}this.touchMove.dispatch(l,this.element),this._cancelLongTap(),this.x2=w,this.y2=x,m>1&&l.preventDefault()}}},{key:"end",value:function(l){if(l.changedTouches){this._cancelLongTap();var f=this;l.touches.length<2&&(this.multipointEnd.dispatch(l,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(l.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){f.swipe.dispatch(l,f.element)},0)):(this.tapTimeout=setTimeout(function(){f._preventTap||f.tap.dispatch(l,f.element),f.isDoubleTap&&(f.doubleTap.dispatch(l,f.element),f.isDoubleTap=!1)},0),f.isDoubleTap||(f.singleTapTimeout=setTimeout(function(){f.singleTap.dispatch(l,f.element)},250))),this.touchEnd.dispatch(l,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(l){this.cancelAll(),this.touchCancel.dispatch(l,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(l,f,m,w){return Math.abs(l-f)>=Math.abs(m-w)?l-f>0?"Left":"Right":m-w>0?"Up":"Down"}},{key:"on",value:function(l,f){this[l]&&this[l].add(f)}},{key:"off",value:function(l,f){this[l]&&this[l].del(f)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),y}();function wn(y){var l=function(){var S,E=document.createElement("fakeelement"),q={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(S in q)if(E.style[S]!==void 0)return q[S]}(),f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m=g(y,"gslide-media")?y:y.querySelector(".gslide-media"),w=_(m,".ginner-container"),x=y.querySelector(".gslide-description");f>769&&(m=w),p(m,"greset"),$(m,"translate3d(0, 0, 0)"),u(l,{onElement:m,once:!0,withCallback:function(S,E){v(m,"greset")}}),m.style.opacity="",x&&(x.style.opacity="")}function N0(y){if(y.events.hasOwnProperty("touch"))return!1;var l,f,m,w=I(),x=w.width,S=w.height,E=!1,q=null,V=null,P=null,F=!1,Q=1,Z=1,ie=!1,de=!1,se=null,tt=null,Ie=null,Mt=null,Ft=0,to=0,xo=!1,xn=!1,oo={},ro={},xc=0,_c=0,K0=document.getElementById("glightbox-slider"),ts=document.querySelector(".goverlay"),J0=new V0(K0,{touchStart:function(le){if(E=!0,(g(le.targetTouches[0].target,"ginner-container")||_(le.targetTouches[0].target,".gslide-desc")||le.targetTouches[0].target.nodeName.toLowerCase()=="a")&&(E=!1),_(le.targetTouches[0].target,".gslide-inline")&&!g(le.targetTouches[0].target.parentNode,"gslide-inline")&&(E=!1),E){if(ro=le.targetTouches[0],oo.pageX=le.targetTouches[0].pageX,oo.pageY=le.targetTouches[0].pageY,xc=le.targetTouches[0].clientX,_c=le.targetTouches[0].clientY,q=y.activeSlide,V=q.querySelector(".gslide-media"),m=q.querySelector(".gslide-inline"),P=null,g(V,"gslide-image")&&(P=V.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(V=q.querySelector(".ginner-container")),v(ts,"greset"),le.pageX>20&&le.pageX<window.innerWidth-20)return;le.preventDefault()}},touchMove:function(le){if(E&&(ro=le.targetTouches[0],!ie&&!de)){if(m&&m.offsetHeight>S){var Re=oo.pageX-ro.pageX;if(Math.abs(Re)<=13)return!1}F=!0;var Bt,os=le.targetTouches[0].clientX,Q0=le.targetTouches[0].clientY,eb=xc-os,tb=_c-Q0;if(Math.abs(eb)>Math.abs(tb)?(xo=!1,xn=!0):(xn=!1,xo=!0),l=ro.pageX-oo.pageX,Ft=100*l/x,f=ro.pageY-oo.pageY,to=100*f/S,xo&&P&&(Bt=1-Math.abs(f)/S,ts.style.opacity=Bt,y.settings.touchFollowAxis&&(Ft=0)),xn&&(Bt=1-Math.abs(l)/x,V.style.opacity=Bt,y.settings.touchFollowAxis&&(to=0)),!P)return $(V,"translate3d(".concat(Ft,"%, 0, 0)"));$(V,"translate3d(".concat(Ft,"%, ").concat(to,"%, 0)"))}},touchEnd:function(){if(E){if(F=!1,de||ie)return Ie=se,void(Mt=tt);var le=Math.abs(parseInt(to)),Re=Math.abs(parseInt(Ft));if(!(le>29&&P))return le<29&&Re<25?(p(ts,"greset"),ts.style.opacity=1,wn(V)):void 0;y.close()}},multipointEnd:function(){setTimeout(function(){ie=!1},50)},multipointStart:function(){ie=!0,Q=Z||1},pinch:function(le){if(!P||F)return!1;ie=!0,P.scaleX=P.scaleY=Q*le.zoom;var Re=Q*le.zoom;if(de=!0,Re<=1)return de=!1,Re=1,Mt=null,Ie=null,se=null,tt=null,void P.setAttribute("style","");Re>4.5&&(Re=4.5),P.style.transform="scale3d(".concat(Re,", ").concat(Re,", 1)"),Z=Re},pressMove:function(le){if(de&&!ie){var Re=ro.pageX-oo.pageX,Bt=ro.pageY-oo.pageY;Ie&&(Re+=Ie),Mt&&(Bt+=Mt),se=Re,tt=Bt;var os="translate3d(".concat(Re,"px, ").concat(Bt,"px, 0)");Z&&(os+=" scale3d(".concat(Z,", ").concat(Z,", 1)")),$(P,os)}},swipe:function(le){if(!de)if(ie)ie=!1;else{if(le.direction=="Left"){if(y.index==y.elements.length-1)return wn(V);y.nextSlide()}if(le.direction=="Right"){if(y.index==0)return wn(V);y.prevSlide()}}}});y.events.touch=J0}var U0=function(){function y(l,f){var m=this,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(r(this,y),this.img=l,this.slide=f,this.onclose=w,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(x){return m.dragStart(x)},!1),this.img.addEventListener("mouseup",function(x){return m.dragEnd(x)},!1),this.img.addEventListener("mousemove",function(x){return m.drag(x)},!1),this.img.addEventListener("click",function(x){return m.slide.classList.contains("dragging-nav")?(m.zoomOut(),!1):m.zoomedIn?void(m.zoomedIn&&!m.dragging&&m.zoomOut()):m.zoomIn()},!1),this.img.setZoomEvents=!0}return n(y,[{key:"zoomIn",value:function(){var l=this.widowWidth();if(!(this.zoomedIn||l<=768)){var f=this.img;if(f.setAttribute("data-style",f.getAttribute("style")),f.style.maxWidth=f.naturalWidth+"px",f.style.maxHeight=f.naturalHeight+"px",f.naturalWidth>l){var m=l/2-f.naturalWidth/2;this.setTranslate(this.img.parentNode,m,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&typeof this.onclose=="function"&&this.onclose()}},{key:"dragStart",value:function(l){l.preventDefault(),this.zoomedIn?(l.type==="touchstart"?(this.initialX=l.touches[0].clientX-this.xOffset,this.initialY=l.touches[0].clientY-this.yOffset):(this.initialX=l.clientX-this.xOffset,this.initialY=l.clientY-this.yOffset),l.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(l){var f=this;l.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){f.dragging=!1,f.img.isDragging=!1,f.img.classList.remove("dragging")},100)}},{key:"drag",value:function(l){this.active&&(l.preventDefault(),l.type==="touchmove"?(this.currentX=l.touches[0].clientX-this.initialX,this.currentY=l.touches[0].clientY-this.initialY):(this.currentX=l.clientX-this.initialX,this.currentY=l.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(l){if(this.zoomedIn){var f=l.clientX-this.img.naturalWidth/2,m=l.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,f,m)}}},{key:"setTranslate",value:function(l,f,m){l.style.transform="translate3d("+f+"px, "+m+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),y}(),gc=function(){function y(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y);var m=f.dragEl,w=f.toleranceX,x=w===void 0?40:w,S=f.toleranceY,E=S===void 0?65:S,q=f.slide,V=q===void 0?null:q,P=f.instance,F=P===void 0?null:P;this.el=m,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=x,this.toleranceY=E,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=V,this.instance=F,this.el.addEventListener("mousedown",function(Q){return l.dragStart(Q)},!1),this.el.addEventListener("mouseup",function(Q){return l.dragEnd(Q)},!1),this.el.addEventListener("mousemove",function(Q){return l.drag(Q)},!1)}return n(y,[{key:"dragStart",value:function(l){if(this.slide.classList.contains("zoomed"))this.active=!1;else{l.type==="touchstart"?(this.initialX=l.touches[0].clientX-this.xOffset,this.initialY=l.touches[0].clientY-this.yOffset):(this.initialX=l.clientX-this.xOffset,this.initialY=l.clientY-this.yOffset);var f=l.target.nodeName.toLowerCase();l.target.classList.contains("nodrag")||_(l.target,".nodrag")||["input","select","textarea","button","a"].indexOf(f)!==-1?this.active=!1:(l.preventDefault(),(l.target===this.el||f!=="img"&&_(l.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=_(l.target,".ginner-container")))}}},{key:"dragEnd",value:function(l){var f=this;l&&l.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,this.doSlideChange=="right"&&this.instance.prevSlide(),this.doSlideChange=="left"&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){f.instance.preventOutsideClick=!1,f.toleranceReached=!1,f.lastDirection=null,f.dragging=!1,f.el.isDragging=!1,f.el.classList.remove("dragging"),f.slide.classList.remove("dragging-nav"),f.dragContainer.style.transform="",f.dragContainer.style.transition=""},100)}},{key:"drag",value:function(l){if(this.active){l.preventDefault(),this.slide.classList.add("dragging-nav"),l.type==="touchmove"?(this.currentX=l.touches[0].clientX-this.initialX,this.currentY=l.touches[0].clientY-this.initialY):(this.currentX=l.clientX-this.initialX,this.currentY=l.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var f=Math.abs(this.currentX),m=Math.abs(this.currentY);if(f>0&&f>=Math.abs(this.currentY)&&(!this.lastDirection||this.lastDirection=="x")){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var w=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&w&&(this.doSlideChange=w),this.instance.settings.dragAutoSnap&&w)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),w=="right"&&this.instance.prevSlide(),void(w=="left"&&this.instance.nextSlide())}if(this.toleranceY>0&&m>0&&m>=f&&(!this.lastDirection||this.lastDirection=="y")){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var x=this.shouldClose();return!this.instance.settings.dragAutoSnap&&x&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&x&&this.instance.close())}}}},{key:"shouldChange",value:function(){var l=!1;if(Math.abs(this.currentX)>=this.toleranceX){var f=this.currentX>0?"right":"left";(f=="left"&&this.slide!==this.slide.parentNode.lastChild||f=="right"&&this.slide!==this.slide.parentNode.firstChild)&&(l=f)}return l}},{key:"shouldClose",value:function(){var l=!1;return Math.abs(this.currentY)>=this.toleranceY&&(l=!0),l}},{key:"setTranslate",value:function(l,f,m){var w=arguments.length>3&&arguments[3]!==void 0&&arguments[3];l.style.transition=w?"all .2s ease":"",l.style.transform="translate3d(".concat(f,"px, ").concat(m,"px, 0)")}}]),y}();function j0(y,l,f,m){var w=y.querySelector(".gslide-media"),x=new Image,S="gSlideTitle_"+f,E="gSlideDesc_"+f;x.addEventListener("load",function(){O(m)&&m()},!1),x.src=l.href,l.sizes!=""&&l.srcset!=""&&(x.sizes=l.sizes,x.srcset=l.srcset),x.alt="",B(l.alt)||l.alt===""||(x.alt=l.alt),l.title!==""&&x.setAttribute("aria-labelledby",S),l.description!==""&&x.setAttribute("aria-describedby",E),l.hasOwnProperty("_hasCustomWidth")&&l._hasCustomWidth&&(x.style.width=l.width),l.hasOwnProperty("_hasCustomHeight")&&l._hasCustomHeight&&(x.style.height=l.height),w.insertBefore(x,w.firstChild)}function H0(y,l,f,m){var w=this,x=y.querySelector(".ginner-container"),S="gvideo"+f,E=y.querySelector(".gslide-media"),q=this.getAllPlayers();p(x,"gvideo-container"),E.insertBefore(R('<div class="gvideo-wrapper"></div>'),E.firstChild);var V=y.querySelector(".gvideo-wrapper");j(this.settings.plyr.css,"Plyr");var P=l.href,F=l==null?void 0:l.videoProvider,Q=!1;E.style.maxWidth=l.width,j(this.settings.plyr.js,"Plyr",function(){if(!F&&P.match(/vimeo\.com\/([0-9]*)/)&&(F="vimeo"),!F&&(P.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||P.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||P.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/))&&(F="youtube"),F==="local"||!F){F="local";var Z='<video id="'+S+'" ';Z+='style="background:#000; max-width: '.concat(l.width,';" '),Z+='preload="metadata" ',Z+='x-webkit-airplay="allow" ',Z+="playsinline ",Z+="controls ",Z+='class="gvideo-local">',Z+='<source src="'.concat(P,'">'),Q=R(Z+="</video>")}var ie=Q||R('<div id="'.concat(S,'" data-plyr-provider="').concat(F,'" data-plyr-embed-id="').concat(P,'"></div>'));p(V,"".concat(F,"-video gvideo")),V.appendChild(ie),V.setAttribute("data-id",S),V.setAttribute("data-index",f);var de=z(w.settings.plyr,"config")?w.settings.plyr.config:{},se=new Plyr("#"+S,de);se.on("ready",function(tt){q[S]=tt.detail.plyr,O(m)&&m()}),D(function(){return y.querySelector("iframe")&&y.querySelector("iframe").dataset.ready=="true"},function(){w.resize(y)}),se.on("enterfullscreen",mc),se.on("exitfullscreen",mc)})}function mc(y){var l=_(y.target,".gslide-media");y.type==="enterfullscreen"&&p(l,"fullscreen"),y.type==="exitfullscreen"&&v(l,"fullscreen")}function G0(y,l,f,m){var w,x=this,S=y.querySelector(".gslide-media"),E=!(!z(l,"href")||!l.href)&&l.href.split("#").pop().trim(),q=!(!z(l,"content")||!l.content)&&l.content;if(q&&(N(q)&&(w=R('<div class="ginlined-content">'.concat(q,"</div>"))),re(q))){q.style.display=="none"&&(q.style.display="block");var V=document.createElement("div");V.className="ginlined-content",V.appendChild(q),w=V}if(E){var P=document.getElementById(E);if(!P)return!1;var F=P.cloneNode(!0);F.style.height=l.height,F.style.maxWidth=l.width,p(F,"ginlined-content"),w=F}if(!w)return console.error("Unable to append inline slide content",l),!1;S.style.height=l.height,S.style.width=l.width,S.appendChild(w),this.events["inlineclose"+E]=u("click",{onElement:S.querySelectorAll(".gtrigger-close"),withCallback:function(Q){Q.preventDefault(),x.close()}}),O(m)&&m()}function W0(y,l,f,m){var w=y.querySelector(".gslide-media"),x=function(S){var E=S.url,q=S.allow,V=S.callback,P=S.appendTo,F=document.createElement("iframe");return F.className="vimeo-video gvideo",F.src=E,F.style.width="100%",F.style.height="100%",q&&F.setAttribute("allow",q),F.onload=function(){F.onload=null,p(F,"node-ready"),O(V)&&V()},P&&P.appendChild(F),F}({url:l.href,callback:m});w.parentNode.style.maxWidth=l.width,w.parentNode.style.height=l.height,w.appendChild(x)}var Z0=function(){function y(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},L(l)&&(this.defaults=a(this.defaults,l))}return n(y,[{key:"sourceType",value:function(l){var f=l;return(l=l.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)!==null?"image":l.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||l.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||l.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||l.match(/vimeo\.com\/([0-9]*)/)||l.match(/\.(mp4|ogg|webm|mov)/)!==null?"video":l.match(/\.(mp3|wav|wma|aac|ogg)/)!==null?"audio":l.indexOf("#")>-1&&f.split("#").pop().trim()!==""?"inline":l.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(l,f){var m=this,w=a({descPosition:f.descPosition},this.defaults);if(L(l)&&!re(l)){z(l,"type")||(z(l,"content")&&l.content?l.type="inline":z(l,"href")&&(l.type=this.sourceType(l.href)));var x=a(w,l);return this.setSize(x,f),x}var S="",E=l.getAttribute("data-glightbox"),q=l.nodeName.toLowerCase();if(q==="a"&&(S=l.href),q==="img"&&(S=l.src,w.alt=l.alt),w.href=S,c(w,function(ie,de){z(f,de)&&de!=="width"&&(w[de]=f[de]);var se=l.dataset[de];B(se)||(w[de]=m.sanitizeValue(se))}),w.content&&(w.type="inline"),!w.type&&S&&(w.type=this.sourceType(S)),B(E)){if(!w.title&&q=="a"){var V=l.title;B(V)||V===""||(w.title=V)}if(!w.title&&q=="img"){var P=l.alt;B(P)||P===""||(w.title=P)}}else{var F=[];c(w,function(ie,de){F.push(";\\s?"+de)}),F=F.join("\\s?:|"),E.trim()!==""&&c(w,function(ie,de){var se=E,tt=new RegExp("s?"+de+"s?:s?(.*?)("+F+"s?:|$)"),Ie=se.match(tt);if(Ie&&Ie.length&&Ie[1]){var Mt=Ie[1].trim().replace(/;\s*$/,"");w[de]=m.sanitizeValue(Mt)}})}if(w.description&&w.description.substring(0,1)==="."){var Q;try{Q=document.querySelector(w.description).innerHTML}catch(ie){if(!(ie instanceof DOMException))throw ie}Q&&(w.description=Q)}if(!w.description){var Z=l.querySelector(".glightbox-desc");Z&&(w.description=Z.innerHTML)}return this.setSize(w,f,l),this.slideConfig=w,w}},{key:"setSize",value:function(l,f){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,w=l.type=="video"?this.checkSize(f.videosWidth):this.checkSize(f.width),x=this.checkSize(f.height);return l.width=z(l,"width")&&l.width!==""?this.checkSize(l.width):w,l.height=z(l,"height")&&l.height!==""?this.checkSize(l.height):x,m&&l.type=="image"&&(l._hasCustomWidth=!!m.dataset.width,l._hasCustomHeight=!!m.dataset.height),l}},{key:"checkSize",value:function(l){return Ct(l)?"".concat(l,"px"):l}},{key:"sanitizeValue",value:function(l){return l!=="true"&&l!=="false"?l:l==="true"}}]),y}(),es=function(){function y(l,f,m){r(this,y),this.element=l,this.instance=f,this.index=m}return n(y,[{key:"setContent",value:function(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,m=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(g(f,"loaded"))return!1;var w=this.instance.settings,x=this.slideConfig,S=Y();O(w.beforeSlideLoad)&&w.beforeSlideLoad({index:this.index,slide:f,player:!1});var E=x.type,q=x.descPosition,V=f.querySelector(".gslide-media"),P=f.querySelector(".gslide-title"),F=f.querySelector(".gslide-desc"),Q=f.querySelector(".gdesc-inner"),Z=m,ie="gSlideTitle_"+this.index,de="gSlideDesc_"+this.index;if(O(w.afterSlideLoad)&&(Z=function(){O(m)&&m(),w.afterSlideLoad({index:l.index,slide:f,player:l.instance.getSlidePlayerInstance(l.index)})}),x.title==""&&x.description==""?Q&&Q.parentNode.parentNode.removeChild(Q.parentNode):(P&&x.title!==""?(P.id=ie,P.innerHTML=x.title):P.parentNode.removeChild(P),F&&x.description!==""?(F.id=de,S&&w.moreLength>0?(x.smallDescription=this.slideShortDesc(x.description,w.moreLength,w.moreText),F.innerHTML=x.smallDescription,this.descriptionEvents(F,x)):F.innerHTML=x.description):F.parentNode.removeChild(F),p(V.parentNode,"desc-".concat(q)),p(Q.parentNode,"description-".concat(q))),p(V,"gslide-".concat(E)),p(f,"loaded"),E!=="video"){if(E!=="external")return E==="inline"?(G0.apply(this.instance,[f,x,this.index,Z]),void(x.draggable&&new gc({dragEl:f.querySelector(".gslide-inline"),toleranceX:w.dragToleranceX,toleranceY:w.dragToleranceY,slide:f,instance:this.instance}))):void(E!=="image"?O(Z)&&Z():j0(f,x,this.index,function(){var se=f.querySelector("img");x.draggable&&new gc({dragEl:se,toleranceX:w.dragToleranceX,toleranceY:w.dragToleranceY,slide:f,instance:l.instance}),x.zoomable&&se.naturalWidth>se.offsetWidth&&(p(se,"zoomable"),new U0(se,f,function(){l.instance.resize()})),O(Z)&&Z()}));W0.apply(this,[f,x,this.index,Z])}else H0.apply(this.instance,[f,x,this.index,Z])}},{key:"slideShortDesc",value:function(l){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50,m=arguments.length>2&&arguments[2]!==void 0&&arguments[2],w=document.createElement("div");w.innerHTML=l;var x=w.innerText,S=m;if((l=x.trim()).length<=f)return l;var E=l.substr(0,f-1);return S?(w=null,E+'... <a href="#" class="desc-more">'+m+"</a>"):E}},{key:"descriptionEvents",value:function(l,f){var m=this,w=l.querySelector(".desc-more");if(!w)return!1;u("click",{onElement:w,withCallback:function(x,S){x.preventDefault();var E=document.body,q=_(S,".gslide-desc");if(!q)return!1;q.innerHTML=f.description,p(E,"gdesc-open");var V=u("click",{onElement:[E,_(q,".gslide-description")],withCallback:function(P,F){P.target.nodeName.toLowerCase()!=="a"&&(v(E,"gdesc-open"),p(E,"gdesc-closed"),q.innerHTML=f.smallDescription,m.descriptionEvents(q,f),setTimeout(function(){v(E,"gdesc-closed")},400),V.destroy())}})}})}},{key:"create",value:function(){return R(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){re(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var l=new Z0(this.instance.settings.slideExtraAttributes);return this.slideConfig=l.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),y}(),vc=Y(),yc=Y()!==null||document.createTouch!==void 0||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,wc=document.getElementsByTagName("html")[0],Y0={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:`<div class="gslide">
|
|
4291
4291
|
<div class="gslide-inner-content">
|
|
4292
4292
|
<div class="ginner-container">
|
|
4293
4293
|
<div class="gslide-media">
|
|
@@ -4309,7 +4309,7 @@
|
|
|
4309
4309
|
<button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>
|
|
4310
4310
|
<button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>
|
|
4311
4311
|
</div>
|
|
4312
|
-
</div>`},X0=function(){function y(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y),this.customOptions=l,this.settings=a(Y0,l),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return n(y,[{key:"init",value:function(){var l=this,f=this.getSelector();f&&(this.baseEvents=u("click",{onElement:f,withCallback:function(m,w){m.preventDefault(),l.open(w)}})),this.elements=this.getElements()}},{key:"open",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.elements.length===0)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var m=Ct(f)?f:this.settings.startAt;if(re(l)){var w=l.getAttribute("data-gallery");w&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,w)),B(m)&&(m=this.getElementIndex(l))<0&&(m=0)}Ct(m)||(m=0),this.build(),k(this.overlay,this.settings.openEffect==="none"?"none":this.settings.cssEfects.fade.in);var x=document.body,S=window.innerWidth-document.documentElement.clientWidth;if(S>0){var E=document.createElement("style");E.type="text/css",E.className="gcss-styles",E.innerText=".gscrollbar-fixer {margin-right: ".concat(S,"px}"),document.head.appendChild(E),p(x,"gscrollbar-fixer")}p(x,"glightbox-open"),p(wc,"glightbox-open"),vc&&(p(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(m,!0),this.elements.length===1?(p(this.prevButton,"glightbox-button-hidden"),p(this.nextButton,"glightbox-button-hidden")):(v(this.prevButton,"glightbox-button-hidden"),v(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),O(this.settings.onOpen)&&this.settings.onOpen(),yc&&this.settings.touchNavigation&&N0(this),this.settings.keyboardNavigation&&M0(this)}},{key:"openAt",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.open(null,l)}},{key:"showSlide",value:function(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,m=arguments.length>1&&arguments[1]!==void 0&&arguments[1];A(this.loader),this.index=parseInt(f);var w=this.slidesContainer.querySelector(".current");w&&v(w,"current"),this.slideAnimateOut();var x=this.slidesContainer.querySelectorAll(".gslide")[f];if(g(x,"loaded"))this.slideAnimateIn(x,m),C(this.loader);else{A(this.loader);var S=this.elements[f],E={index:this.index,slide:x,slideNode:x,slideConfig:S.slideConfig,slideIndex:this.index,trigger:S.node,player:null};this.trigger("slide_before_load",E),S.instance.setContent(x,function(){C(l.loader),l.resize(),l.slideAnimateIn(x,m),l.trigger("slide_after_load",E)})}this.slideDescription=x.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&g(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(f+1),this.preloadSlide(f-1)),this.updateNavigationClasses(),this.activeSlide=x}},{key:"preloadSlide",value:function(l){var f=this;if(l<0||l>this.elements.length-1||B(this.elements[l]))return!1;var m=this.slidesContainer.querySelectorAll(".gslide")[l];if(g(m,"loaded"))return!1;var w=this.elements[l],x=w.type,S={index:l,slide:m,slideNode:m,slideConfig:w.slideConfig,slideIndex:l,trigger:w.node,player:null};this.trigger("slide_before_load",S),x==="video"||x==="external"?setTimeout(function(){w.instance.setContent(m,function(){f.trigger("slide_after_load",S)})},200):w.instance.setContent(m,function(){f.trigger("slide_after_load",S)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(l<0||l>this.elements.length-1))return!1;l<0?l=this.elements.length-1:l>=this.elements.length&&(l=0),this.showSlide(l)}},{key:"insertSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;f<0&&(f=this.elements.length);var m=new es(l,this,f),w=m.getConfig(),x=a({},w),S=m.create(),E=this.elements.length-1;x.index=f,x.node=!1,x.instance=m,x.slideConfig=w,this.elements.splice(f,0,x);var q=null,V=null;if(this.slidesContainer){if(f>E)this.slidesContainer.appendChild(S);else{var I=this.slidesContainer.querySelectorAll(".gslide")[f];this.slidesContainer.insertBefore(S,I)}(this.settings.preload&&this.index==0&&f==0||this.index-1==f||this.index+1==f)&&this.preloadSlide(f),this.index===0&&f===0&&(this.index=1),this.updateNavigationClasses(),q=this.slidesContainer.querySelectorAll(".gslide")[f],V=this.getSlidePlayerInstance(f),x.slideNode=q}this.trigger("slide_inserted",{index:f,slide:q,slideNode:q,slideConfig:w,slideIndex:f,trigger:null,player:V}),O(this.settings.slideInserted)&&this.settings.slideInserted({index:f,slide:q,player:V})}},{key:"removeSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;if(l<0||l>this.elements.length-1)return!1;var f=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[l];f&&(this.getActiveSlideIndex()==l&&(l==this.elements.length-1?this.prevSlide():this.nextSlide()),f.parentNode.removeChild(f)),this.elements.splice(l,1),this.trigger("slide_removed",l),O(this.settings.slideRemoved)&&this.settings.slideRemoved(l)}},{key:"slideAnimateIn",value:function(l,f){var m=this,w=l.querySelector(".gslide-media"),x=l.querySelector(".gslide-description"),S={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},E={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(w.offsetWidth>0&&x&&(C(x),x.style.display=""),v(l,this.effectsClasses),f)k(l,this.settings.cssEfects[this.settings.openEffect].in,function(){m.settings.autoplayVideos&&m.slidePlayerPlay(l),m.trigger("slide_changed",{prev:S,current:E}),O(m.settings.afterSlideChange)&&m.settings.afterSlideChange.apply(m,[S,E])});else{var q=this.settings.slideEffect,V=q!=="none"?this.settings.cssEfects[q].in:q;this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(V=this.settings.cssEfects.slideBack.in),k(l,V,function(){m.settings.autoplayVideos&&m.slidePlayerPlay(l),m.trigger("slide_changed",{prev:S,current:E}),O(m.settings.afterSlideChange)&&m.settings.afterSlideChange.apply(m,[S,E])})}setTimeout(function(){m.resize(l)},100),p(l,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var l=this.prevActiveSlide;v(l,this.effectsClasses),p(l,"prev");var f=this.settings.slideEffect,m=f!=="none"?this.settings.cssEfects[f].out:f;this.slidePlayerPause(l),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),O(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(m=this.settings.cssEfects.slideBack.out),k(l,m,function(){var w=l.querySelector(".ginner-container"),x=l.querySelector(".gslide-media"),S=l.querySelector(".gslide-description");w.style.transform="",x.style.transform="",v(x,"greset"),x.style.opacity="",S&&(S.style.opacity=""),v(l,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(l){var f="gvideo"+l,m=this.getAllPlayers();return!(!z(m,f)||!m[f])&&m[f]}},{key:"stopSlideVideo",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var m=this.getSlidePlayerInstance(l);m&&m.playing&&m.pause()}},{key:"slidePlayerPause",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}var m=this.getSlidePlayerInstance(l);m&&m.playing&&m.pause()}},{key:"playSlideVideo",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var m=this.getSlidePlayerInstance(l);m&&!m.playing&&m.play()}},{key:"slidePlayerPlay",value:function(l){var f;if(!vc||(f=this.settings.plyr.config)!==null&&f!==void 0&&f.muted){if(re(l)){var m=l.querySelector(".gvideo-wrapper");m&&(l=m.getAttribute("data-index"))}var w=this.getSlidePlayerInstance(l);w&&!w.playing&&(w.play(),this.settings.autofocusVideos&&w.elements.container.focus())}}},{key:"setElements",value:function(l){var f=this;this.settings.elements=!1;var m=[];l&&l.length&&c(l,function(w,x){var S=new es(w,f,x),E=S.getConfig(),q=a({},E);q.slideConfig=E,q.instance=S,q.index=x,m.push(q)}),this.elements=m,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(c(this.elements,function(){var w=R(f.settings.slideHTML);f.slidesContainer.appendChild(w)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(l){var f=!1;return c(this.elements,function(m,w){if(z(m,"node")&&m.node==l)return f=w,!0}),f}},{key:"getElements",value:function(){var l=this,f=[];this.elements=this.elements?this.elements:[],!B(this.settings.elements)&&he(this.settings.elements)&&this.settings.elements.length&&c(this.settings.elements,function(w,x){var S=new es(w,l,x),E=S.getConfig(),q=a({},E);q.node=!1,q.index=x,q.instance=S,q.slideConfig=E,f.push(q)});var m=!1;return this.getSelector()&&(m=document.querySelectorAll(this.getSelector())),m&&c(m,function(w,x){var S=new es(w,l,x),E=S.getConfig(),q=a({},E);q.node=w,q.index=x,q.instance=S,q.slideConfig=E,q.gallery=w.getAttribute("data-gallery"),f.push(q)}),f}},{key:"getGalleryElements",value:function(l,f){return l.filter(function(m){return m.gallery==f})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&this.settings.selector.substring(0,5)=="data-"?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var l=[];for(var f in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(f)){var m=this.settings.cssEfects[f];l.push("g".concat(m.in)),l.push("g".concat(m.out))}return l.join(" ")}},{key:"build",value:function(){var l=this;if(this.built)return!1;var f=document.body.childNodes,m=[];c(f,function(I){I.parentNode==document.body&&I.nodeName.charAt(0)!=="#"&&I.hasAttribute&&!I.hasAttribute("aria-hidden")&&(m.push(I),I.setAttribute("aria-hidden","true"))});var w=z(this.settings.svg,"next")?this.settings.svg.next:"",x=z(this.settings.svg,"prev")?this.settings.svg.prev:"",S=z(this.settings.svg,"close")?this.settings.svg.close:"",E=this.settings.lightboxHTML;E=R(E=(E=(E=E.replace(/{nextSVG}/g,w)).replace(/{prevSVG}/g,x)).replace(/{closeSVG}/g,S)),document.body.appendChild(E);var q=document.getElementById("glightbox-body");this.modal=q;var V=q.querySelector(".gclose");this.prevButton=q.querySelector(".gprev"),this.nextButton=q.querySelector(".gnext"),this.overlay=q.querySelector(".goverlay"),this.loader=q.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=m,this.events={},p(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&V&&(this.events.close=u("click",{onElement:V,withCallback:function(I,F){I.preventDefault(),l.close()}})),V&&!this.settings.closeButton&&V.parentNode.removeChild(V),this.nextButton&&(this.events.next=u("click",{onElement:this.nextButton,withCallback:function(I,F){I.preventDefault(),l.nextSlide()}})),this.prevButton&&(this.events.prev=u("click",{onElement:this.prevButton,withCallback:function(I,F){I.preventDefault(),l.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=u("click",{onElement:q,withCallback:function(I,F){l.preventOutsideClick||g(document.body,"glightbox-mobile")||_(I.target,".ginner-container")||_(I.target,".gbtn")||g(I.target,"gnext")||g(I.target,"gprev")||l.close()}})),c(this.elements,function(I,F){l.slidesContainer.appendChild(I.instance.create()),I.slideNode=l.slidesContainer.querySelectorAll(".gslide")[F]}),yc&&p(document.body,"glightbox-touch"),this.events.resize=u("resize",{onElement:window,withCallback:function(){l.resize()}}),this.built=!0}},{key:"resize",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if((l=l||this.activeSlide)&&!g(l,"zoomed")){var f=P(),m=l.querySelector(".gvideo-wrapper"),w=l.querySelector(".gslide-image"),x=this.slideDescription,S=f.width,E=f.height;if(S<=768?p(document.body,"glightbox-mobile"):v(document.body,"glightbox-mobile"),m||w){var q=!1;if(x&&(g(x,"description-bottom")||g(x,"description-top"))&&!g(x,"gabsolute")&&(q=!0),w){if(S<=768)w.querySelector("img");else if(q){var V=x.offsetHeight,I=w.querySelector("img");I.setAttribute("style","max-height: calc(100vh - ".concat(V,"px)")),x.setAttribute("style","max-width: ".concat(I.offsetWidth,"px;"))}}if(m){var F=z(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!F){var Q=m.clientWidth,Z=m.clientHeight,ie=Q/Z;F="".concat(Q/ie,":").concat(Z/ie)}var de=F.split(":"),se=this.settings.videosWidth,tt=this.settings.videosWidth,Pe=(tt=Ct(se)||se.indexOf("px")!==-1?parseInt(se):se.indexOf("vw")!==-1?S*parseInt(se)/100:se.indexOf("vh")!==-1?E*parseInt(se)/100:se.indexOf("%")!==-1?S*parseInt(se)/100:parseInt(m.clientWidth))/(parseInt(de[0])/parseInt(de[1]));if(Pe=Math.floor(Pe),q&&(E-=x.offsetHeight),tt>S||Pe>E||E<Pe&&S>tt){var Mt=m.offsetWidth,Ft=m.offsetHeight,to=E/Ft,xo={width:Mt*to,height:Ft*to};m.parentNode.setAttribute("style","max-width: ".concat(xo.width,"px")),q&&x.setAttribute("style","max-width: ".concat(xo.width,"px;"))}else m.parentNode.style.maxWidth="".concat(se),q&&x.setAttribute("style","max-width: ".concat(se,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var l=this.loop();v(this.nextButton,"disabled"),v(this.prevButton,"disabled"),this.index==0&&this.elements.length-1==0?(p(this.prevButton,"disabled"),p(this.nextButton,"disabled")):this.index!==0||l?this.index!==this.elements.length-1||l||p(this.nextButton,"disabled"):p(this.prevButton,"disabled")}},{key:"loop",value:function(){var l=z(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return l=z(this.settings,"loop")?this.settings.loop:l,l}},{key:"close",value:function(){var l=this;if(!this.lightboxOpen){if(this.events){for(var f in this.events)this.events.hasOwnProperty(f)&&this.events[f].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&c(this.bodyHiddenChildElms,function(m){m.removeAttribute("aria-hidden")}),p(this.modal,"glightbox-closing"),k(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.out),k(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(l.activeSlide=null,l.prevActiveSlideIndex=null,l.prevActiveSlide=null,l.built=!1,l.events){for(var m in l.events)l.events.hasOwnProperty(m)&&l.events[m].destroy();l.events=null}var w=document.body;v(wc,"glightbox-open"),v(w,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),l.modal.parentNode.removeChild(l.modal),l.trigger("close"),O(l.settings.onClose)&&l.settings.onClose();var x=document.querySelector(".gcss-styles");x&&x.parentNode.removeChild(x),l.lightboxOpen=!1,l.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(l,f){var m=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!l||!O(f))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:l,once:m,callback:f})}},{key:"once",value:function(l,f){this.on(l,f,!0)}},{key:"trigger",value:function(l){var f=this,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=[];c(this.apiEvents,function(x,S){var E=x.evt,q=x.once,V=x.callback;E==l&&(V(m),q&&w.push(S))}),w.length&&c(w,function(x){return f.apiEvents.splice(x,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.1.0"}}]),y}();return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=new X0(y);return l.init(),l}})})(Wi);var $f=Wi.exports;const Tf=fr($f);var qf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,Lf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Df(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&qf(e,o,s),s};let Bs=class extends yt{render(){return T` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};Bs.styles=G`
|
|
4312
|
+
</div>`},X0=function(){function y(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,y),this.customOptions=l,this.settings=a(Y0,l),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return n(y,[{key:"init",value:function(){var l=this,f=this.getSelector();f&&(this.baseEvents=u("click",{onElement:f,withCallback:function(m,w){m.preventDefault(),l.open(w)}})),this.elements=this.getElements()}},{key:"open",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.elements.length===0)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var m=Ct(f)?f:this.settings.startAt;if(re(l)){var w=l.getAttribute("data-gallery");w&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,w)),B(m)&&(m=this.getElementIndex(l))<0&&(m=0)}Ct(m)||(m=0),this.build(),k(this.overlay,this.settings.openEffect==="none"?"none":this.settings.cssEfects.fade.in);var x=document.body,S=window.innerWidth-document.documentElement.clientWidth;if(S>0){var E=document.createElement("style");E.type="text/css",E.className="gcss-styles",E.innerText=".gscrollbar-fixer {margin-right: ".concat(S,"px}"),document.head.appendChild(E),p(x,"gscrollbar-fixer")}p(x,"glightbox-open"),p(wc,"glightbox-open"),vc&&(p(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(m,!0),this.elements.length===1?(p(this.prevButton,"glightbox-button-hidden"),p(this.nextButton,"glightbox-button-hidden")):(v(this.prevButton,"glightbox-button-hidden"),v(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),O(this.settings.onOpen)&&this.settings.onOpen(),yc&&this.settings.touchNavigation&&N0(this),this.settings.keyboardNavigation&&M0(this)}},{key:"openAt",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.open(null,l)}},{key:"showSlide",value:function(){var l=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,m=arguments.length>1&&arguments[1]!==void 0&&arguments[1];A(this.loader),this.index=parseInt(f);var w=this.slidesContainer.querySelector(".current");w&&v(w,"current"),this.slideAnimateOut();var x=this.slidesContainer.querySelectorAll(".gslide")[f];if(g(x,"loaded"))this.slideAnimateIn(x,m),C(this.loader);else{A(this.loader);var S=this.elements[f],E={index:this.index,slide:x,slideNode:x,slideConfig:S.slideConfig,slideIndex:this.index,trigger:S.node,player:null};this.trigger("slide_before_load",E),S.instance.setContent(x,function(){C(l.loader),l.resize(),l.slideAnimateIn(x,m),l.trigger("slide_after_load",E)})}this.slideDescription=x.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&g(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(f+1),this.preloadSlide(f-1)),this.updateNavigationClasses(),this.activeSlide=x}},{key:"preloadSlide",value:function(l){var f=this;if(l<0||l>this.elements.length-1||B(this.elements[l]))return!1;var m=this.slidesContainer.querySelectorAll(".gslide")[l];if(g(m,"loaded"))return!1;var w=this.elements[l],x=w.type,S={index:l,slide:m,slideNode:m,slideConfig:w.slideConfig,slideIndex:l,trigger:w.node,player:null};this.trigger("slide_before_load",S),x==="video"||x==="external"?setTimeout(function(){w.instance.setContent(m,function(){f.trigger("slide_after_load",S)})},200):w.instance.setContent(m,function(){f.trigger("slide_after_load",S)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(l<0||l>this.elements.length-1))return!1;l<0?l=this.elements.length-1:l>=this.elements.length&&(l=0),this.showSlide(l)}},{key:"insertSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;f<0&&(f=this.elements.length);var m=new es(l,this,f),w=m.getConfig(),x=a({},w),S=m.create(),E=this.elements.length-1;x.index=f,x.node=!1,x.instance=m,x.slideConfig=w,this.elements.splice(f,0,x);var q=null,V=null;if(this.slidesContainer){if(f>E)this.slidesContainer.appendChild(S);else{var P=this.slidesContainer.querySelectorAll(".gslide")[f];this.slidesContainer.insertBefore(S,P)}(this.settings.preload&&this.index==0&&f==0||this.index-1==f||this.index+1==f)&&this.preloadSlide(f),this.index===0&&f===0&&(this.index=1),this.updateNavigationClasses(),q=this.slidesContainer.querySelectorAll(".gslide")[f],V=this.getSlidePlayerInstance(f),x.slideNode=q}this.trigger("slide_inserted",{index:f,slide:q,slideNode:q,slideConfig:w,slideIndex:f,trigger:null,player:V}),O(this.settings.slideInserted)&&this.settings.slideInserted({index:f,slide:q,player:V})}},{key:"removeSlide",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;if(l<0||l>this.elements.length-1)return!1;var f=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[l];f&&(this.getActiveSlideIndex()==l&&(l==this.elements.length-1?this.prevSlide():this.nextSlide()),f.parentNode.removeChild(f)),this.elements.splice(l,1),this.trigger("slide_removed",l),O(this.settings.slideRemoved)&&this.settings.slideRemoved(l)}},{key:"slideAnimateIn",value:function(l,f){var m=this,w=l.querySelector(".gslide-media"),x=l.querySelector(".gslide-description"),S={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},E={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(w.offsetWidth>0&&x&&(C(x),x.style.display=""),v(l,this.effectsClasses),f)k(l,this.settings.cssEfects[this.settings.openEffect].in,function(){m.settings.autoplayVideos&&m.slidePlayerPlay(l),m.trigger("slide_changed",{prev:S,current:E}),O(m.settings.afterSlideChange)&&m.settings.afterSlideChange.apply(m,[S,E])});else{var q=this.settings.slideEffect,V=q!=="none"?this.settings.cssEfects[q].in:q;this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(V=this.settings.cssEfects.slideBack.in),k(l,V,function(){m.settings.autoplayVideos&&m.slidePlayerPlay(l),m.trigger("slide_changed",{prev:S,current:E}),O(m.settings.afterSlideChange)&&m.settings.afterSlideChange.apply(m,[S,E])})}setTimeout(function(){m.resize(l)},100),p(l,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var l=this.prevActiveSlide;v(l,this.effectsClasses),p(l,"prev");var f=this.settings.slideEffect,m=f!=="none"?this.settings.cssEfects[f].out:f;this.slidePlayerPause(l),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:B(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),O(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(m=this.settings.cssEfects.slideBack.out),k(l,m,function(){var w=l.querySelector(".ginner-container"),x=l.querySelector(".gslide-media"),S=l.querySelector(".gslide-description");w.style.transform="",x.style.transform="",v(x,"greset"),x.style.opacity="",S&&(S.style.opacity=""),v(l,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(l){var f="gvideo"+l,m=this.getAllPlayers();return!(!z(m,f)||!m[f])&&m[f]}},{key:"stopSlideVideo",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var m=this.getSlidePlayerInstance(l);m&&m.playing&&m.pause()}},{key:"slidePlayerPause",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}var m=this.getSlidePlayerInstance(l);m&&m.playing&&m.pause()}},{key:"playSlideVideo",value:function(l){if(re(l)){var f=l.querySelector(".gvideo-wrapper");f&&(l=f.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var m=this.getSlidePlayerInstance(l);m&&!m.playing&&m.play()}},{key:"slidePlayerPlay",value:function(l){var f;if(!vc||(f=this.settings.plyr.config)!==null&&f!==void 0&&f.muted){if(re(l)){var m=l.querySelector(".gvideo-wrapper");m&&(l=m.getAttribute("data-index"))}var w=this.getSlidePlayerInstance(l);w&&!w.playing&&(w.play(),this.settings.autofocusVideos&&w.elements.container.focus())}}},{key:"setElements",value:function(l){var f=this;this.settings.elements=!1;var m=[];l&&l.length&&c(l,function(w,x){var S=new es(w,f,x),E=S.getConfig(),q=a({},E);q.slideConfig=E,q.instance=S,q.index=x,m.push(q)}),this.elements=m,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(c(this.elements,function(){var w=R(f.settings.slideHTML);f.slidesContainer.appendChild(w)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(l){var f=!1;return c(this.elements,function(m,w){if(z(m,"node")&&m.node==l)return f=w,!0}),f}},{key:"getElements",value:function(){var l=this,f=[];this.elements=this.elements?this.elements:[],!B(this.settings.elements)&&he(this.settings.elements)&&this.settings.elements.length&&c(this.settings.elements,function(w,x){var S=new es(w,l,x),E=S.getConfig(),q=a({},E);q.node=!1,q.index=x,q.instance=S,q.slideConfig=E,f.push(q)});var m=!1;return this.getSelector()&&(m=document.querySelectorAll(this.getSelector())),m&&c(m,function(w,x){var S=new es(w,l,x),E=S.getConfig(),q=a({},E);q.node=w,q.index=x,q.instance=S,q.slideConfig=E,q.gallery=w.getAttribute("data-gallery"),f.push(q)}),f}},{key:"getGalleryElements",value:function(l,f){return l.filter(function(m){return m.gallery==f})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&this.settings.selector.substring(0,5)=="data-"?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var l=[];for(var f in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(f)){var m=this.settings.cssEfects[f];l.push("g".concat(m.in)),l.push("g".concat(m.out))}return l.join(" ")}},{key:"build",value:function(){var l=this;if(this.built)return!1;var f=document.body.childNodes,m=[];c(f,function(P){P.parentNode==document.body&&P.nodeName.charAt(0)!=="#"&&P.hasAttribute&&!P.hasAttribute("aria-hidden")&&(m.push(P),P.setAttribute("aria-hidden","true"))});var w=z(this.settings.svg,"next")?this.settings.svg.next:"",x=z(this.settings.svg,"prev")?this.settings.svg.prev:"",S=z(this.settings.svg,"close")?this.settings.svg.close:"",E=this.settings.lightboxHTML;E=R(E=(E=(E=E.replace(/{nextSVG}/g,w)).replace(/{prevSVG}/g,x)).replace(/{closeSVG}/g,S)),document.body.appendChild(E);var q=document.getElementById("glightbox-body");this.modal=q;var V=q.querySelector(".gclose");this.prevButton=q.querySelector(".gprev"),this.nextButton=q.querySelector(".gnext"),this.overlay=q.querySelector(".goverlay"),this.loader=q.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=m,this.events={},p(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&V&&(this.events.close=u("click",{onElement:V,withCallback:function(P,F){P.preventDefault(),l.close()}})),V&&!this.settings.closeButton&&V.parentNode.removeChild(V),this.nextButton&&(this.events.next=u("click",{onElement:this.nextButton,withCallback:function(P,F){P.preventDefault(),l.nextSlide()}})),this.prevButton&&(this.events.prev=u("click",{onElement:this.prevButton,withCallback:function(P,F){P.preventDefault(),l.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=u("click",{onElement:q,withCallback:function(P,F){l.preventOutsideClick||g(document.body,"glightbox-mobile")||_(P.target,".ginner-container")||_(P.target,".gbtn")||g(P.target,"gnext")||g(P.target,"gprev")||l.close()}})),c(this.elements,function(P,F){l.slidesContainer.appendChild(P.instance.create()),P.slideNode=l.slidesContainer.querySelectorAll(".gslide")[F]}),yc&&p(document.body,"glightbox-touch"),this.events.resize=u("resize",{onElement:window,withCallback:function(){l.resize()}}),this.built=!0}},{key:"resize",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if((l=l||this.activeSlide)&&!g(l,"zoomed")){var f=I(),m=l.querySelector(".gvideo-wrapper"),w=l.querySelector(".gslide-image"),x=this.slideDescription,S=f.width,E=f.height;if(S<=768?p(document.body,"glightbox-mobile"):v(document.body,"glightbox-mobile"),m||w){var q=!1;if(x&&(g(x,"description-bottom")||g(x,"description-top"))&&!g(x,"gabsolute")&&(q=!0),w){if(S<=768)w.querySelector("img");else if(q){var V=x.offsetHeight,P=w.querySelector("img");P.setAttribute("style","max-height: calc(100vh - ".concat(V,"px)")),x.setAttribute("style","max-width: ".concat(P.offsetWidth,"px;"))}}if(m){var F=z(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!F){var Q=m.clientWidth,Z=m.clientHeight,ie=Q/Z;F="".concat(Q/ie,":").concat(Z/ie)}var de=F.split(":"),se=this.settings.videosWidth,tt=this.settings.videosWidth,Ie=(tt=Ct(se)||se.indexOf("px")!==-1?parseInt(se):se.indexOf("vw")!==-1?S*parseInt(se)/100:se.indexOf("vh")!==-1?E*parseInt(se)/100:se.indexOf("%")!==-1?S*parseInt(se)/100:parseInt(m.clientWidth))/(parseInt(de[0])/parseInt(de[1]));if(Ie=Math.floor(Ie),q&&(E-=x.offsetHeight),tt>S||Ie>E||E<Ie&&S>tt){var Mt=m.offsetWidth,Ft=m.offsetHeight,to=E/Ft,xo={width:Mt*to,height:Ft*to};m.parentNode.setAttribute("style","max-width: ".concat(xo.width,"px")),q&&x.setAttribute("style","max-width: ".concat(xo.width,"px;"))}else m.parentNode.style.maxWidth="".concat(se),q&&x.setAttribute("style","max-width: ".concat(se,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var l=this.loop();v(this.nextButton,"disabled"),v(this.prevButton,"disabled"),this.index==0&&this.elements.length-1==0?(p(this.prevButton,"disabled"),p(this.nextButton,"disabled")):this.index!==0||l?this.index!==this.elements.length-1||l||p(this.nextButton,"disabled"):p(this.prevButton,"disabled")}},{key:"loop",value:function(){var l=z(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return l=z(this.settings,"loop")?this.settings.loop:l,l}},{key:"close",value:function(){var l=this;if(!this.lightboxOpen){if(this.events){for(var f in this.events)this.events.hasOwnProperty(f)&&this.events[f].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&c(this.bodyHiddenChildElms,function(m){m.removeAttribute("aria-hidden")}),p(this.modal,"glightbox-closing"),k(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.out),k(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(l.activeSlide=null,l.prevActiveSlideIndex=null,l.prevActiveSlide=null,l.built=!1,l.events){for(var m in l.events)l.events.hasOwnProperty(m)&&l.events[m].destroy();l.events=null}var w=document.body;v(wc,"glightbox-open"),v(w,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),l.modal.parentNode.removeChild(l.modal),l.trigger("close"),O(l.settings.onClose)&&l.settings.onClose();var x=document.querySelector(".gcss-styles");x&&x.parentNode.removeChild(x),l.lightboxOpen=!1,l.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(l,f){var m=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!l||!O(f))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:l,once:m,callback:f})}},{key:"once",value:function(l,f){this.on(l,f,!0)}},{key:"trigger",value:function(l){var f=this,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=[];c(this.apiEvents,function(x,S){var E=x.evt,q=x.once,V=x.callback;E==l&&(V(m),q&&w.push(S))}),w.length&&c(w,function(x){return f.apiEvents.splice(x,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.1.0"}}]),y}();return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=new X0(y);return l.init(),l}})})(Wi);var $f=Wi.exports;const Tf=fr($f);var qf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,Lf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Df(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&qf(e,o,s),s};let Bs=class extends yt{render(){return T` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};Bs.styles=G`
|
|
4313
4313
|
.cb-thinking {
|
|
4314
4314
|
text-align: center;
|
|
4315
4315
|
}
|
|
@@ -4391,7 +4391,7 @@
|
|
|
4391
4391
|
font-size: 2em;
|
|
4392
4392
|
margin-right: 0.2em;
|
|
4393
4393
|
}
|
|
4394
|
-
`;var
|
|
4394
|
+
`;var Pf=Object.defineProperty,If=Object.getOwnPropertyDescriptor,Vs=(t,e,o,r)=>{for(var s=r>1?void 0:r?If(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Pf(e,o,s),s};let Ko=class extends yt{constructor(){super(...arguments),this.url="",this.inverse=!1}render(){return T`
|
|
4395
4395
|
<a
|
|
4396
4396
|
class="
|
|
4397
4397
|
cb-external-link link__item
|
|
@@ -5777,7 +5777,7 @@
|
|
|
5777
5777
|
}
|
|
5778
5778
|
`;var oe={},Xi={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:`
|
|
5779
5779
|
`,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:""},Us=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,ho={},Ki={};function Kf(t){var e,o,r=Ki[t];if(r)return r;for(r=Ki[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,n,i,a,c="";for(typeof e!="string"&&(o=e,e=Dr.defaultChars),typeof o>"u"&&(o=!0),a=Kf(e),r=0,s=t.length;r<s;r++){if(n=t.charCodeAt(r),o&&n===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){c+=t.slice(r,r+3),r+=2;continue}if(n<128){c+=a[n];continue}if(n>=55296&&n<=57343){if(n>=55296&&n<=56319&&r+1<s&&(i=t.charCodeAt(r+1),i>=56320&&i<=57343)){c+=encodeURIComponent(t[r]+t[r+1]),r++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(t[r])}return c}Dr.defaultChars=";/?:@&=+$,-_.!~*'()#",Dr.componentChars="-_.!~*'()";var Jf=Dr,Ji={};function Qf(t){var e,o,r=Ji[t];if(r)return r;for(r=Ji[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 Lr(t,e){var o;return typeof e!="string"&&(e=Lr.defaultChars),o=Qf(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,n,i,a,c,d,u,p="";for(s=0,n=r.length;s<n;s+=3){if(i=parseInt(r.slice(s+1,s+3),16),i<128){p+=o[i];continue}if((i&224)===192&&s+3<n&&(a=parseInt(r.slice(s+4,s+6),16),(a&192)===128)){u=i<<6&1984|a&63,u<128?p+="��":p+=String.fromCharCode(u),s+=3;continue}if((i&240)===224&&s+6<n&&(a=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),(a&192)===128&&(c&192)===128)){u=i<<12&61440|a<<6&4032|c&63,u<2048||u>=55296&&u<=57343?p+="���":p+=String.fromCharCode(u),s+=6;continue}if((i&248)===240&&s+9<n&&(a=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),d=parseInt(r.slice(s+10,s+12),16),(a&192)===128&&(c&192)===128&&(d&192)===128)){u=i<<18&1835008|a<<12&258048|c<<6&4032|d&63,u<65536||u>1114111?p+="����":(u-=65536,p+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),s+=9;continue}p+="�"}return p})}Lr.defaultChars=";/?:@&=+$,#",Lr.componentChars="";var eu=Lr,tu=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 zr(){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 ou=/^([a-z0-9.+-]+:)/i,ru=/:[0-9]*$/,su=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nu=["<",">",'"',"`"," ","\r",`
|
|
5780
|
-
`," "],iu=["{","}","|","\\","^","`"].concat(nu),au=["'"].concat(iu),Qi=["%","/","?",";","#"].concat(au),ea=["/","?","#"],cu=255,ta=/^[+a-z0-9A-Z_-]{0,63}$/,lu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,oa={javascript:!0,"javascript:":!0},ra={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function du(t,e){if(t&&t instanceof zr)return t;var o=new zr;return o.parse(t,e),o}zr.prototype.parse=function(t,e){var o,r,s,n,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var c=su.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var d=ou.exec(a);if(d&&(d=d[0],s=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&oa[d])&&(a=a.substr(2),this.slashes=!0)),!oa[d]&&(i||d&&!ra[d])){var u=-1;for(o=0;o<ea.length;o++)n=a.indexOf(ea[o]),n!==-1&&(u===-1||n<u)&&(u=n);var p,v;for(u===-1?v=a.lastIndexOf("@"):v=a.lastIndexOf("@",u),v!==-1&&(p=a.slice(0,v),a=a.slice(v+1),this.auth=p),u=-1,o=0;o<Qi.length;o++)n=a.indexOf(Qi[o]),n!==-1&&(u===-1||n<u)&&(u=n);u===-1&&(u=a.length),a[u-1]===":"&&u--;var g=a.slice(0,u);a=a.slice(u),this.parseHost(g),this.hostname=this.hostname||"";var _=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!_){var k=this.hostname.split(/\./);for(o=0,r=k.length;o<r;o++){var $=k[o];if($&&!$.match(ta)){for(var A="",C=0,R=$.length;C<R;C++)$.charCodeAt(C)>127?A+="x":A+=$[C];if(!A.match(ta)){var
|
|
5780
|
+
`," "],iu=["{","}","|","\\","^","`"].concat(nu),au=["'"].concat(iu),Qi=["%","/","?",";","#"].concat(au),ea=["/","?","#"],cu=255,ta=/^[+a-z0-9A-Z_-]{0,63}$/,lu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,oa={javascript:!0,"javascript:":!0},ra={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function du(t,e){if(t&&t instanceof zr)return t;var o=new zr;return o.parse(t,e),o}zr.prototype.parse=function(t,e){var o,r,s,n,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var c=su.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var d=ou.exec(a);if(d&&(d=d[0],s=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&oa[d])&&(a=a.substr(2),this.slashes=!0)),!oa[d]&&(i||d&&!ra[d])){var u=-1;for(o=0;o<ea.length;o++)n=a.indexOf(ea[o]),n!==-1&&(u===-1||n<u)&&(u=n);var p,v;for(u===-1?v=a.lastIndexOf("@"):v=a.lastIndexOf("@",u),v!==-1&&(p=a.slice(0,v),a=a.slice(v+1),this.auth=p),u=-1,o=0;o<Qi.length;o++)n=a.indexOf(Qi[o]),n!==-1&&(u===-1||n<u)&&(u=n);u===-1&&(u=a.length),a[u-1]===":"&&u--;var g=a.slice(0,u);a=a.slice(u),this.parseHost(g),this.hostname=this.hostname||"";var _=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!_){var k=this.hostname.split(/\./);for(o=0,r=k.length;o<r;o++){var $=k[o];if($&&!$.match(ta)){for(var A="",C=0,R=$.length;C<R;C++)$.charCodeAt(C)>127?A+="x":A+=$[C];if(!A.match(ta)){var I=k.slice(0,o),M=k.slice(o+1),D=$.match(lu);D&&(I.push(D[1]),M.unshift(D[2])),M.length&&(a=M.join(".")+a),this.hostname=I.join(".");break}}}}this.hostname.length>cu&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var j=a.indexOf("#");j!==-1&&(this.hash=a.substr(j),a=a.slice(0,j));var Y=a.indexOf("?");return Y!==-1&&(this.search=a.substr(Y),a=a.slice(0,Y)),a&&(this.pathname=a),ra[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},zr.prototype.parseHost=function(t){var e=ru.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 fu=du;ho.encode=Jf,ho.decode=eu,ho.format=tu,ho.parse=fu;var Kt={},js,sa;function na(){return sa||(sa=1,js=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),js}var Hs,ia;function aa(){return ia||(ia=1,Hs=/[\0-\x1F\x7F-\x9F]/),Hs}var Gs,ca;function uu(){return ca||(ca=1,Gs=/[\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]/),Gs}var Ws,la;function da(){return la||(la=1,Ws=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ws}var fa;function hu(){return fa||(fa=1,Kt.Any=na(),Kt.Cc=aa(),Kt.Cf=uu(),Kt.P=Us,Kt.Z=da()),Kt}(function(t){function e(L){return Object.prototype.toString.call(L)}function o(L){return e(L)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(L,B){return r.call(L,B)}function n(L){var B=Array.prototype.slice.call(arguments,1);return B.forEach(function(z){if(z){if(typeof z!="object")throw new TypeError(z+"must be object");Object.keys(z).forEach(function(ye){L[ye]=z[ye]})}}),L}function i(L,B,z){return[].concat(L.slice(0,B),z,L.slice(B+1))}function a(L){return!(L>=55296&&L<=57343||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534||L>=0&&L<=8||L===11||L>=14&&L<=31||L>=127&&L<=159||L>1114111)}function c(L){if(L>65535){L-=65536;var B=55296+(L>>10),z=56320+(L&1023);return String.fromCharCode(B,z)}return String.fromCharCode(L)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(d.source+"|"+u.source,"gi"),v=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,g=Xi;function _(L,B){var z;return s(g,B)?g[B]:B.charCodeAt(0)===35&&v.test(B)&&(z=B[1].toLowerCase()==="x"?parseInt(B.slice(2),16):parseInt(B.slice(1),10),a(z))?c(z):L}function k(L){return L.indexOf("\\")<0?L:L.replace(d,"$1")}function $(L){return L.indexOf("\\")<0&&L.indexOf("&")<0?L:L.replace(p,function(B,z,ye){return z||_(B,ye)})}var A=/[&<>"]/,C=/[&<>"]/g,R={"&":"&","<":"<",">":">",'"':"""};function I(L){return R[L]}function M(L){return A.test(L)?L.replace(C,I):L}var D=/[.?*+^$[\]\\(){}|-]/g;function j(L){return L.replace(D,"\\$&")}function Y(L){switch(L){case 9:case 32:return!0}return!1}function O(L){if(L>=8192&&L<=8202)return!0;switch(L){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 N=Us;function re(L){return N.test(L)}function he(L){switch(L){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 Pe(L){return L=L.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(L=L.replace(/ẞ/g,"ß")),L.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=ho,t.lib.ucmicro=hu(),t.assign=n,t.isString=o,t.has=s,t.unescapeMd=k,t.unescapeAll=$,t.isValidEntityCode=a,t.fromCodePoint=c,t.escapeHtml=M,t.arrayReplaceAt=i,t.isSpace=Y,t.isWhiteSpace=O,t.isMdAsciiPunct=he,t.isPunctChar=re,t.escapeRE=j,t.normalizeReference=Pe})(oe);var Rr={},pu=function(e,o,r){var s,n,i,a,c=-1,d=e.posMax,u=e.pos;for(e.pos=o+1,s=1;e.pos<d;){if(i=e.src.charCodeAt(e.pos),i===93&&(s--,s===0)){n=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)s++;else if(r)return e.pos=u,-1}}return n&&(c=e.pos),e.pos=u,c},ua=oe.unescapeAll,bu=function(e,o,r){var s,n,i=o,a={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<r;){if(s=e.charCodeAt(i),s===10||s===60)return a;if(s===62)return a.pos=i+1,a.str=ua(e.slice(o+1,i)),a.ok=!0,a;if(s===92&&i+1<r){i+=2;continue}i++}return a}for(n=0;i<r&&(s=e.charCodeAt(i),!(s===32||s<32||s===127));){if(s===92&&i+1<r){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(s===40&&(n++,n>32))return a;if(s===41){if(n===0)break;n--}i++}return o===i||n!==0||(a.str=ua(e.slice(o,i)),a.pos=i,a.ok=!0),a},gu=oe.unescapeAll,mu=function(e,o,r){var s,n,i=0,a=o,c={ok:!1,pos:0,lines:0,str:""};if(a>=r||(n=e.charCodeAt(a),n!==34&&n!==39&&n!==40))return c;for(a++,n===40&&(n=41);a<r;){if(s=e.charCodeAt(a),s===n)return c.pos=a+1,c.lines=i,c.str=gu(e.slice(o+1,a)),c.ok=!0,c;if(s===40&&n===41)return c;s===10?i++:s===92&&a+1<r&&(a++,e.charCodeAt(a)===10&&i++),a++}return c};Rr.parseLinkLabel=pu,Rr.parseLinkDestination=bu,Rr.parseLinkTitle=mu;var vu=oe.assign,yu=oe.unescapeAll,Jt=oe.escapeHtml,ut={};ut.code_inline=function(t,e,o,r,s){var n=t[e];return"<code"+s.renderAttrs(n)+">"+Jt(n.content)+"</code>"},ut.code_block=function(t,e,o,r,s){var n=t[e];return"<pre"+s.renderAttrs(n)+"><code>"+Jt(t[e].content)+`</code></pre>
|
|
5781
5781
|
`},ut.fence=function(t,e,o,r,s){var n=t[e],i=n.info?yu(n.info).trim():"",a="",c="",d,u,p,v,g;return i&&(p=i.split(/(\s+)/g),a=p[0],c=p.slice(2).join("")),o.highlight?d=o.highlight(n.content,a,c)||Jt(n.content):d=Jt(n.content),d.indexOf("<pre")===0?d+`
|
|
5782
5782
|
`:i?(u=n.attrIndex("class"),v=n.attrs?n.attrs.slice():[],u<0?v.push(["class",o.langPrefix+a]):(v[u]=v[u].slice(),v[u][1]+=" "+o.langPrefix+a),g={attrs:v},"<pre><code"+s.renderAttrs(g)+">"+d+`</code></pre>
|
|
5783
5783
|
`):"<pre><code"+s.renderAttrs(n)+">"+d+`</code></pre>
|
|
@@ -5790,8 +5790,8 @@
|
|
|
5790
5790
|
`),n+=(a.nesting===-1?"</":"<")+a.tag,n+=this.renderAttrs(a),a.nesting===0&&r.xhtmlOut&&(n+=" /"),a.block&&(i=!0,a.nesting===1&&o+1<e.length&&(s=e[o+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===a.tag)&&(i=!1))),n+=i?`>
|
|
5791
5791
|
`:">",n)},po.prototype.renderInline=function(t,e,o){for(var r,s="",n=this.rules,i=0,a=t.length;i<a;i++)r=t[i].type,typeof n[r]<"u"?s+=n[r](t,i,e,o,this):s+=this.renderToken(t,i,e);return s},po.prototype.renderInlineAsText=function(t,e,o){for(var r="",s=0,n=t.length;s<n;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+=`
|
|
5792
5792
|
`);return r},po.prototype.render=function(t,e,o){var r,s,n,i="",a=this.rules;for(r=0,s=t.length;r<s;r++)n=t[r].type,n==="inline"?i+=this.renderInline(t[r].children,e,o):typeof a[n]<"u"?i+=a[n](t,r,e,o,this):i+=this.renderToken(t,r,e,o);return i};var wu=po;function Qe(){this.__rules__=[],this.__cache__=null}Qe.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Qe.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))})})},Qe.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},Qe.prototype.before=function(t,e,o,r){var s=this.__find__(t),n=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:o,alt:n.alt||[]}),this.__cache__=null},Qe.prototype.after=function(t,e,o,r){var s=this.__find__(t),n=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:n.alt||[]}),this.__cache__=null},Qe.prototype.push=function(t,e,o){var r=o||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Qe.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},Qe.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(t,e)},Qe.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},Qe.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Zs=Qe,xu=/\r\n?|\n/g,_u=/\0/g,ku=function(e){var o;o=e.src.replace(xu,`
|
|
5793
|
-
`),o=o.replace(_u,"�"),e.src=o},Cu=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)},Au=function(e){var o=e.tokens,r,s,n;for(s=0,n=o.length;s<n;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Su=oe.arrayReplaceAt;function Eu(t){return/^<a[>\s]/i.test(t)}function $u(t){return/^<\/a\s*>/i.test(t)}var Tu=function(e){var o,r,s,n,i,a,c,d,u,p,v,g,_,k,$,A,C=e.tokens,R;if(e.md.options.linkify){for(r=0,s=C.length;r<s;r++)if(!(C[r].type!=="inline"||!e.md.linkify.pretest(C[r].content)))for(n=C[r].children,_=0,o=n.length-1;o>=0;o--){if(a=n[o],a.type==="link_close"){for(o--;n[o].level!==a.level&&n[o].type!=="link_open";)o--;continue}if(a.type==="html_inline"&&(Eu(a.content)&&_>0&&_--,$u(a.content)&&_++),!(_>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,R=e.md.linkify.match(u),c=[],g=a.level,v=0,R.length>0&&R[0].index===0&&o>0&&n[o-1].type==="text_special"&&(R=R.slice(1)),d=0;d<R.length;d++)k=R[d].url,$=e.md.normalizeLink(k),e.md.validateLink($)&&(A=R[d].text,R[d].schema?R[d].schema==="mailto:"&&!/^mailto:/i.test(A)?A=e.md.normalizeLinkText("mailto:"+A).replace(/^mailto:/,""):A=e.md.normalizeLinkText(A):A=e.md.normalizeLinkText("http://"+A).replace(/^http:\/\//,""),p=R[d].index,p>v&&(i=new e.Token("text","",0),i.content=u.slice(v,p),i.level=g,c.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",$]],i.level=g++,i.markup="linkify",i.info="auto",c.push(i),i=new e.Token("text","",0),i.content=A,i.level=g,c.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",c.push(i),v=R[d].lastIndex);v<u.length&&(i=new e.Token("text","",0),i.content=u.slice(v),i.level=g,c.push(i)),C[r].children=n=Su(n,o,c)}}}},ha=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,qu=/\((c|tm|r)\)/i,Du=/\((c|tm|r)\)/ig,Lu={c:"©",r:"®",tm:"™"};function zu(t,e){return Lu[e.toLowerCase()]}function Ru(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(Du,zu)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function Ou(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&ha.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
|
|
5794
|
-
`,i.map=[o,e.line],!0},Wu=function(e,o,r,s){var n,i,a,c,d,u,p,v=!1,g=e.bMarks[o]+e.tShift[o],_=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||g+3>_||(n=e.src.charCodeAt(g),n!==126&&n!==96)||(d=g,g=e.skipChars(g,n),i=g-d,i<3)||(p=e.src.slice(d,g),a=e.src.slice(g,_),n===96&&a.indexOf(String.fromCharCode(n))>=0))return!1;if(s)return!0;for(c=o;c++,!(c>=r||(g=d=e.bMarks[c]+e.tShift[c],_=e.eMarks[c],g<_&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(g)===n&&!(e.sCount[c]-e.blkIndent>=4)&&(g=e.skipChars(g,n),!(g-d<i)&&(g=e.skipSpaces(g),!(g<_)))){v=!0;break}return i=e.sCount[o],e.line=c+(v?1:0),u=e.push("fence","code",0),u.info=a,u.content=e.getLines(o+1,c,i,!0),u.markup=p,u.map=[o,e.line],!0},Zu=oe.isSpace,Yu=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,P,M,D,U,Y,O=e.lineMax,N=e.bMarks[o]+e.tShift[o],re=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(N)!==62)return!1;if(s)return!0;for(_=[],k=[],C=[],R=[],D=e.md.block.ruler.getRules("blockquote"),A=e.parentType,e.parentType="blockquote",v=o;v<r&&(Y=e.sCount[v]<e.blkIndent,N=e.bMarks[v]+e.tShift[v],re=e.eMarks[v],!(N>=re));v++){if(e.src.charCodeAt(N++)===62&&!Y){for(c=e.sCount[v]+1,e.src.charCodeAt(N)===32?(N++,c++,n=!1,P=!0):e.src.charCodeAt(N)===9?(P=!0,(e.bsCount[v]+c)%4===3?(N++,c++,n=!1):n=!0):P=!1,g=c,_.push(e.bMarks[v]),e.bMarks[v]=N;N<re&&(i=e.src.charCodeAt(N),Zu(i));){i===9?g+=4-(g+e.bsCount[v]+(n?1:0))%4:g++;N++}u=N>=re,k.push(e.bsCount[v]),e.bsCount[v]=e.sCount[v]+1+(P?1:0),C.push(e.sCount[v]),e.sCount[v]=g-c,R.push(e.tShift[v]),e.tShift[v]=N-e.bMarks[v];continue}if(u)break;for(M=!1,a=0,d=D.length;a<d;a++)if(D[a](e,v,r,!0)){M=!0;break}if(M){e.lineMax=v,e.blkIndent!==0&&(_.push(e.bMarks[v]),k.push(e.bsCount[v]),R.push(e.tShift[v]),C.push(e.sCount[v]),e.sCount[v]-=e.blkIndent);break}_.push(e.bMarks[v]),k.push(e.bsCount[v]),R.push(e.tShift[v]),C.push(e.sCount[v]),e.sCount[v]=-1}for($=e.blkIndent,e.blkIndent=0,U=e.push("blockquote_open","blockquote",1),U.markup=">",U.map=p=[o,0],e.md.block.tokenize(e,o,v),U=e.push("blockquote_close","blockquote",-1),U.markup=">",e.lineMax=O,e.parentType=A,p[1]=e.line,a=0;a<R.length;a++)e.bMarks[a+o]=_[a],e.tShift[a+o]=R[a],e.sCount[a+o]=C[a],e.bsCount[a+o]=k[a];return e.blkIndent=$,!0},Xu=oe.isSpace,Ku=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(n=e.src.charCodeAt(d++),n!==42&&n!==45&&n!==95))return!1;for(i=1;d<u;){if(a=e.src.charCodeAt(d++),a!==n&&!Xu(a))return!1;a===n&&i++}return i<3?!1:(s||(e.line=o+1,c=e.push("hr","hr",0),c.map=[o,e.line],c.markup=Array(i+1).join(String.fromCharCode(n))),!0)},xa=oe.isSpace;function _a(t,e){var o,r,s,n;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&&(n=t.src.charCodeAt(r),!xa(n))?-1:r}function ka(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,n=t.eMarks[e];if(s+1>=n||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=n)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<n&&(o=t.src.charCodeAt(s),!xa(o))?-1:s}function Ju(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 Qu=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,P,M,D,U,Y,O,N,re,he,Ie,L,B,z=o,ye=!1,Ct=!0;if(e.sCount[z]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[z]-e.listIndent>=4&&e.sCount[z]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[z]>=e.blkIndent&&(ye=!0),(N=ka(e,z))>=0){if(p=!0,he=e.bMarks[z]+e.tShift[z],A=Number(e.src.slice(he,N-1)),ye&&A!==1)return!1}else if((N=_a(e,z))>=0)p=!1;else return!1;if(ye&&e.skipSpaces(N)>=e.eMarks[z])return!1;if(s)return!0;for($=e.src.charCodeAt(N-1),k=e.tokens.length,p?(B=e.push("ordered_list_open","ol",1),A!==1&&(B.attrs=[["start",A]])):B=e.push("bullet_list_open","ul",1),B.map=_=[z,0],B.markup=String.fromCharCode($),re=!1,L=e.md.block.ruler.getRules("list"),M=e.parentType,e.parentType="list";z<r;){for(O=N,C=e.eMarks[z],u=R=e.sCount[z]+N-(e.bMarks[z]+e.tShift[z]);O<C;){if(n=e.src.charCodeAt(O),n===9)R+=4-(R+e.bsCount[z])%4;else if(n===32)R++;else break;O++}if(i=O,i>=C?d=1:d=R-u,d>4&&(d=1),c=u+d,B=e.push("list_item_open","li",1),B.markup=String.fromCharCode($),B.map=v=[z,0],p&&(B.info=e.src.slice(he,N-1)),Y=e.tight,U=e.tShift[z],D=e.sCount[z],P=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[z]=i-e.bMarks[z],e.sCount[z]=R,i>=C&&e.isEmpty(z+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,z,r,!0),(!e.tight||re)&&(Ct=!1),re=e.line-z>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=P,e.tShift[z]=U,e.sCount[z]=D,e.tight=Y,B=e.push("list_item_close","li",-1),B.markup=String.fromCharCode($),z=e.line,v[1]=z,z>=r||e.sCount[z]<e.blkIndent||e.sCount[z]-e.blkIndent>=4)break;for(Ie=!1,a=0,g=L.length;a<g;a++)if(L[a](e,z,r,!0)){Ie=!0;break}if(Ie)break;if(p){if(N=ka(e,z),N<0)break;he=e.bMarks[z]+e.tShift[z]}else if(N=_a(e,z),N<0)break;if($!==e.src.charCodeAt(N-1))break}return p?B=e.push("ordered_list_close","ol",-1):B=e.push("bullet_list_close","ul",-1),B.markup=String.fromCharCode($),_[1]=z,e.line=z,e.parentType=M,Ct&&Ju(e,k),!0},eh=oe.normalizeReference,Ir=oe.isSpace,th=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,P,M=0,D=e.bMarks[o]+e.tShift[o],U=e.eMarks[o],Y=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(D)!==91)return!1;for(;++D<U;)if(e.src.charCodeAt(D)===93&&e.src.charCodeAt(D-1)!==92){if(D+1===U||e.src.charCodeAt(D+1)!==58)return!1;break}for(c=e.lineMax,R=e.md.block.ruler.getRules("reference"),_=e.parentType,e.parentType="reference";Y<c&&!e.isEmpty(Y);Y++)if(!(e.sCount[Y]-e.blkIndent>3)&&!(e.sCount[Y]<0)){for(C=!1,u=0,p=R.length;u<p;u++)if(R[u](e,Y,c,!0)){C=!0;break}if(C)break}for(A=e.getLines(o,Y,e.blkIndent,!1).trim(),U=A.length,D=1;D<U;D++){if(n=A.charCodeAt(D),n===91)return!1;if(n===93){g=D;break}else n===10?M++:n===92&&(D++,D<U&&A.charCodeAt(D)===10&&M++)}if(g<0||A.charCodeAt(g+1)!==58)return!1;for(D=g+2;D<U;D++)if(n=A.charCodeAt(D),n===10)M++;else if(!Ir(n))break;if(k=e.md.helpers.parseLinkDestination(A,D,U),!k.ok||(d=e.md.normalizeLink(k.str),!e.md.validateLink(d)))return!1;for(D=k.pos,M+=k.lines,i=D,a=M,$=D;D<U;D++)if(n=A.charCodeAt(D),n===10)M++;else if(!Ir(n))break;for(k=e.md.helpers.parseLinkTitle(A,D,U),D<U&&$!==D&&k.ok?(P=k.str,D=k.pos,M+=k.lines):(P="",D=i,M=a);D<U&&(n=A.charCodeAt(D),!!Ir(n));)D++;if(D<U&&A.charCodeAt(D)!==10&&P)for(P="",D=i,M=a;D<U&&(n=A.charCodeAt(D),!!Ir(n));)D++;return D<U&&A.charCodeAt(D)!==10||(v=eh(A.slice(1,g)),!v)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[v]>"u"&&(e.env.references[v]={title:P,href:d}),e.parentType=_,e.line=o+M+1),!0)},oh=["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={},rh="[a-zA-Z_:][a-zA-Z0-9:._-]*",sh="[^\"'=<>`\\x00-\\x20]+",nh="'[^']*'",ih='"[^"]*"',ah="(?:"+sh+"|"+nh+"|"+ih+")",ch="(?:\\s+"+rh+"(?:\\s*=\\s*"+ah+")?)",Ca="<[A-Za-z][A-Za-z0-9\\-]*"+ch+"*\\s*\\/?>",Aa="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",lh="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",dh="<[?][\\s\\S]*?[?]>",fh="<![A-Z]+\\s+[^>]*>",uh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",hh=new RegExp("^(?:"+Ca+"|"+Aa+"|"+lh+"|"+dh+"|"+fh+"|"+uh+")"),ph=new RegExp("^(?:"+Ca+"|"+Aa+")");Pr.HTML_TAG_RE=hh,Pr.HTML_OPEN_CLOSE_TAG_RE=ph;var bh=oh,gh=Pr.HTML_OPEN_CLOSE_TAG_RE,go=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+bh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(gh.source+"\\s*$"),/^$/,!1]],mh=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(c=e.src.slice(d,u),n=0;n<go.length&&!go[n][0].test(c);n++);if(n===go.length)return!1;if(s)return go[n][2];if(i=o+1,!go[n][1].test(c)){for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(d=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],c=e.src.slice(d,u),go[n][1].test(c)){c.length!==0&&i++;break}}return e.line=i,a=e.push("html_block","",0),a.map=[o,i],a.content=e.getLines(o,i,e.blkIndent,!0),!0},Sa=oe.isSpace,vh=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(n=e.src.charCodeAt(d),n!==35||d>=u))return!1;for(i=1,n=e.src.charCodeAt(++d);n===35&&d<u&&i<=6;)i++,n=e.src.charCodeAt(++d);return i>6||d<u&&!Sa(n)?!1:(s||(u=e.skipSpacesBack(u,d),a=e.skipCharsBack(u,35,d),a>d&&Sa(e.src.charCodeAt(a-1))&&(u=a),e.line=o+1,c=e.push("heading_open","h"+String(i),1),c.markup="########".slice(0,i),c.map=[o,e.line],c=e.push("inline","",0),c.content=e.src.slice(d,u).trim(),c.map=[o,e.line],c.children=[],c=e.push("heading_close","h"+String(i),-1),c.markup="########".slice(0,i)),!0)},yh=function(e,o,r){var s,n,i,a,c,d,u,p,v,g=o+1,_,k=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(_=e.parentType,e.parentType="paragraph";g<r&&!e.isEmpty(g);g++)if(!(e.sCount[g]-e.blkIndent>3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d<u&&(v=e.src.charCodeAt(d),(v===45||v===61)&&(d=e.skipChars(d,v),d=e.skipSpaces(d),d>=u)))){p=v===61?1:2;break}if(!(e.sCount[g]<0)){for(n=!1,i=0,a=k.length;i<a;i++)if(k[i](e,g,r,!0)){n=!0;break}if(n)break}}return p?(s=e.getLines(o,g,e.blkIndent,!1).trim(),e.line=g+1,c=e.push("heading_open","h"+String(p),1),c.markup=String.fromCharCode(v),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line-1],c.children=[],c=e.push("heading_close","h"+String(p),-1),c.markup=String.fromCharCode(v),e.parentType=_,!0):!1},wh=function(e,o,r){var s,n,i,a,c,d,u=o+1,p=e.md.block.ruler.getRules("paragraph");for(d=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(n=!1,i=0,a=p.length;i<a;i++)if(p[i](e,u,r,!0)){n=!0;break}if(n)break}return s=e.getLines(o,u,e.blkIndent,!1).trim(),e.line=u,c=e.push("paragraph_open","p",1),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=d,!0},Ea=Ys,Mr=oe.isSpace;function ht(t,e,o,r){var s,n,i,a,c,d,u,p;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="",n=this.src,p=!1,i=a=d=u=0,c=n.length;a<c;a++){if(s=n.charCodeAt(a),!p)if(Mr(s)){d++,s===9?u+=4-u%4:u++;continue}else p=!0;(s===10||a===c-1)&&(s!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(d),this.sCount.push(u),this.bsCount.push(0),p=!1,d=0,u=0,i=a+1)}this.bMarks.push(n.length),this.eMarks.push(n.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ht.prototype.push=function(t,e,o){var r=new Ea(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},ht.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},ht.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},ht.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!Mr(o));e++);return e},ht.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!Mr(this.src.charCodeAt(--e)))return e+1;return e},ht.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},ht.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},ht.prototype.getLines=function(e,o,r,s){var n,i,a,c,d,u,p,v=e;if(e>=o)return"";for(u=new Array(o-e),n=0;v<o;v++,n++){for(i=0,p=c=this.bMarks[v],v+1<o||s?d=this.eMarks[v]+1:d=this.eMarks[v];c<d&&i<r;){if(a=this.src.charCodeAt(c),Mr(a))a===9?i+=4-(i+this.bsCount[v])%4:i++;else if(c-p<this.tShift[v])i++;else break;c++}i>r?u[n]=new Array(i-r+1).join(" ")+this.src.slice(c,d):u[n]=this.src.slice(c,d)}return u.join("")},ht.prototype.Token=Ea;var xh=ht,_h=Zs,Fr=[["table",Hu,["paragraph","reference"]],["code",Gu],["fence",Wu,["paragraph","reference","blockquote","list"]],["blockquote",Yu,["paragraph","reference","blockquote","list"]],["hr",Ku,["paragraph","reference","blockquote","list"]],["list",Qu,["paragraph","reference","blockquote"]],["reference",th],["html_block",mh,["paragraph","reference","blockquote"]],["heading",vh,["paragraph","reference","blockquote"]],["lheading",yh],["paragraph",wh]];function Br(){this.ruler=new _h;for(var t=0;t<Fr.length;t++)this.ruler.push(Fr[t][0],Fr[t][1],{alt:(Fr[t][2]||[]).slice()})}Br.prototype.tokenize=function(t,e,o){for(var r,s,n,i=this.ruler.getRules(""),a=i.length,c=e,d=!1,u=t.md.options.maxNesting;c<o&&(t.line=c=t.skipEmptyLines(c),!(c>=o||t.sCount[c]<t.blkIndent));){if(t.level>=u){t.line=o;break}for(n=t.line,s=0;s<a;s++)if(r=i[s](t,c,o,!1),r){if(n>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!d,t.isEmpty(t.line-1)&&(d=!0),c=t.line,c<o&&t.isEmpty(c)&&(d=!0,c++,t.line=c)}},Br.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))},Br.prototype.State=xh;var kh=Br;function Ch(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 Ah=function(e,o){for(var r=e.pos;r<e.posMax&&!Ch(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Sh=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Eh=function(e,o){var r,s,n,i,a,c,d,u;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||(n=e.pending.match(Sh),!n)||(i=n[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length)),!a)||(c=a.url,c.length<=i.length)||(c=c.replace(/\*+$/,""),d=e.md.normalizeLink(c),!e.md.validateLink(d))?!1:(o||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(c),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=c.length-i.length,!0)},$h=oe.isSpace,Th=function(e,o){var r,s,n,i=e.pos;if(e.src.charCodeAt(i)!==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(n=r-1;n>=1&&e.pending.charCodeAt(n-1)===32;)n--;e.pending=e.pending.slice(0,n),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(i++;i<s&&$h(e.src.charCodeAt(i));)i++;return e.pos=i,!0},qh=oe.isSpace,en=[],$a=0;$a<256;$a++)en.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){en[t.charCodeAt(0)]=1});var Dh=function(e,o){var r,s,n,i,a,c=e.pos,d=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=d))return!1;if(r=e.src.charCodeAt(c),r===10){for(o||e.push("hardbreak","br",0),c++;c<d&&(r=e.src.charCodeAt(c),!!qh(r));)c++;return e.pos=c,!0}return i=e.src[c],r>=55296&&r<=56319&&c+1<d&&(s=e.src.charCodeAt(c+1),s>=56320&&s<=57343&&(i+=e.src[c+1],c++)),n="\\"+i,o||(a=e.push("text_special","",0),r<256&&en[r]!==0?a.content=i:a.content=n,a.markup=n,a.info="escape"),e.pos=c+1,!0},Lh=function(e,o){var r,s,n,i,a,c,d,u,p=e.pos,v=e.src.charCodeAt(p);if(v!==96)return!1;for(r=p,p++,s=e.posMax;p<s&&e.src.charCodeAt(p)===96;)p++;if(n=e.src.slice(r,p),d=n.length,e.backticksScanned&&(e.backticks[d]||0)<=r)return o||(e.pending+=n),e.pos+=d,!0;for(c=p;(a=e.src.indexOf("`",c))!==-1;){for(c=a+1;c<s&&e.src.charCodeAt(c)===96;)c++;if(u=c-a,u===d)return o||(i=e.push("code_inline","code",0),i.markup=n,i.content=e.src.slice(p,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=c,!0;e.backticks[u]=a}return e.backticksScanned=!0,o||(e.pending+=n),e.pos+=d,!0},Vr={};Vr.tokenize=function(e,o){var r,s,n,i,a,c=e.pos,d=e.src.charCodeAt(c);if(o||d!==126||(s=e.scanDelims(e.pos,!0),i=s.length,a=String.fromCharCode(d),i<2))return!1;for(i%2&&(n=e.push("text","",0),n.content=a,i--),r=0;r<i;r+=2)n=e.push("text","",0),n.content=a+a,e.delimiters.push({marker:d,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Ta(t,e){var o,r,s,n,i,a=[],c=e.length;for(o=0;o<c;o++)s=e[o],s.marker===126&&s.end!==-1&&(n=e[s.end],i=t.tokens[s.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[n.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[n.token-1].type==="text"&&t.tokens[n.token-1].content==="~"&&a.push(n.token-1));for(;a.length;){for(o=a.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(i=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=i)}}Vr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Ta(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Ta(e,r[o].delimiters)};var Nr={};Nr.tokenize=function(e,o){var r,s,n,i=e.pos,a=e.src.charCodeAt(i);if(o||a!==95&&a!==42)return!1;for(s=e.scanDelims(e.pos,a===42),r=0;r<s.length;r++)n=e.push("text","",0),n.content=String.fromCharCode(a),e.delimiters.push({marker:a,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 qa(t,e){var o,r,s,n,i,a,c=e.length;for(o=c-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],a=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,i=String.fromCharCode(r.marker),n=t.tokens[r.token],n.type=a?"strong_open":"em_open",n.tag=a?"strong":"em",n.nesting=1,n.markup=a?i+i:i,n.content="",n=t.tokens[s.token],n.type=a?"strong_close":"em_close",n.tag=a?"strong":"em",n.nesting=-1,n.markup=a?i+i:i,n.content="",a&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}Nr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(qa(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&qa(e,r[o].delimiters)};var zh=oe.normalizeReference,tn=oe.isSpace,Rh=function(e,o){var r,s,n,i,a,c,d,u,p,v="",g="",_=e.pos,k=e.posMax,$=e.pos,A=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0),i<0))return!1;if(c=i+1,c<k&&e.src.charCodeAt(c)===40){for(A=!1,c++;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);if(c>=k)return!1;if($=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok){for(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?c=d.pos:v="",$=c;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);if(d=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<k&&$!==c&&d.ok)for(g=d.str,c=d.pos;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);}(c>=k||e.src.charCodeAt(c)!==41)&&(A=!0),c++}if(A){if(typeof e.env.references>"u")return!1;if(c<k&&e.src.charCodeAt(c)===91?($=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?n=e.src.slice($,c++):c=i+1):c=i+1,n||(n=e.src.slice(a,i)),u=e.env.references[zh(n)],!u)return e.pos=_,!1;v=u.href,g=u.title}return o||(e.pos=a,e.posMax=i,p=e.push("link_open","a",1),p.attrs=r=[["href",v]],g&&r.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,p=e.push("link_close","a",-1)),e.pos=c,e.posMax=k,!0},Oh=oe.normalizeReference,on=oe.isSpace,Ih=function(e,o){var r,s,n,i,a,c,d,u,p,v,g,_,k,$="",A=e.pos,C=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d<C&&e.src.charCodeAt(d)===40){for(d++;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);if(d>=C)return!1;for(k=d,p=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),p.ok&&($=e.md.normalizeLink(p.str),e.md.validateLink($)?d=p.pos:$=""),k=d;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);if(p=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<C&&k!==d&&p.ok)for(v=p.str,d=p.pos;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);else v="";if(d>=C||e.src.charCodeAt(d)!==41)return e.pos=A,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d<C&&e.src.charCodeAt(d)===91?(k=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?i=e.src.slice(k,d++):d=a+1):d=a+1,i||(i=e.src.slice(c,a)),u=e.env.references[Oh(i)],!u)return e.pos=A,!1;$=u.href,v=u.title}return o||(n=e.src.slice(c,a),e.md.inline.parse(n,e.md,e.env,_=[]),g=e.push("image","img",0),g.attrs=r=[["src",$],["alt",""]],g.children=_,g.content=n,v&&r.push(["title",v])),e.pos=d,e.posMax=C,!0},Ph=/^([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])?)*)$/,Mh=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Fh=function(e,o){var r,s,n,i,a,c,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,c=e.posMax;;){if(++d>=c||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return r=e.src.slice(a+1,d),Mh.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(n=e.push("link_open","a",1),n.attrs=[["href",s]],n.markup="autolink",n.info="auto",n=e.push("text","",0),n.content=e.md.normalizeLinkText(r),n=e.push("link_close","a",-1),n.markup="autolink",n.info="auto"),e.pos+=r.length+2,!0):!1):Ph.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(n=e.push("link_open","a",1),n.attrs=[["href",s]],n.markup="autolink",n.info="auto",n=e.push("text","",0),n.content=e.md.normalizeLinkText(r),n=e.push("link_close","a",-1),n.markup="autolink",n.info="auto"),e.pos+=r.length+2,!0):!1):!1},Bh=Pr.HTML_TAG_RE;function Vh(t){return/^<a[>\s]/i.test(t)}function Nh(t){return/^<\/a\s*>/i.test(t)}function Uh(t){var e=t|32;return e>=97&&e<=122}var jh=function(e,o){var r,s,n,i,a=e.pos;return!e.md.options.html||(n=e.posMax,e.src.charCodeAt(a)!==60||a+2>=n)||(r=e.src.charCodeAt(a+1),r!==33&&r!==63&&r!==47&&!Uh(r))||(s=e.src.slice(a).match(Bh),!s)?!1:(o||(i=e.push("html_inline","",0),i.content=s[0],Vh(i.content)&&e.linkLevel++,Nh(i.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Da=Xi,Hh=oe.has,Gh=oe.isValidEntityCode,La=oe.fromCodePoint,Wh=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Zh=/^&([a-z][a-z0-9]{1,31});/i,Yh=function(e,o){var r,s,n,i,a=e.pos,c=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=c)return!1;if(r=e.src.charCodeAt(a+1),r===35){if(n=e.src.slice(a).match(Wh),n)return o||(s=n[1][0].toLowerCase()==="x"?parseInt(n[1].slice(1),16):parseInt(n[1],10),i=e.push("text_special","",0),i.content=Gh(s)?La(s):La(65533),i.markup=n[0],i.info="entity"),e.pos+=n[0].length,!0}else if(n=e.src.slice(a).match(Zh),n&&Hh(Da,n[1]))return o||(i=e.push("text_special","",0),i.content=Da[n[1]],i.markup=n[0],i.info="entity"),e.pos+=n[0].length,!0;return!1};function za(t){var e,o,r,s,n,i,a,c,d={},u=t.length;if(u){var p=0,v=-2,g=[];for(e=0;e<u;e++)if(r=t[e],g.push(0),(t[p].marker!==r.marker||v!==r.token-1)&&(p=e),v=r.token,r.length=r.length||0,!!r.close){for(d.hasOwnProperty(r.marker)||(d[r.marker]=[-1,-1,-1,-1,-1,-1]),n=d[r.marker][(r.open?3:0)+r.length%3],o=p-g[p]-1,i=o;o>n;o-=g[o]+1)if(s=t[o],s.marker===r.marker&&s.open&&s.end<0&&(a=!1,(s.close||r.open)&&(s.length+r.length)%3===0&&(s.length%3!==0||r.length%3!==0)&&(a=!0),!a)){c=o>0&&!t[o-1].open?g[o-1]+1:0,g[e]=e-o+c,g[o]=c,r.open=!1,s.end=e,s.close=!1,i=-1,v=-2;break}i!==-1&&(d[r.marker][(r.open?3:0)+(r.length||0)%3]=i)}}}var Xh=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(za(e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&za(r[o].delimiters)},Kh=function(e){var o,r,s=0,n=e.tokens,i=e.tokens.length;for(o=r=0;o<i;o++)n[o].nesting<0&&s--,n[o].level=s,n[o].nesting>0&&s++,n[o].type==="text"&&o+1<i&&n[o+1].type==="text"?n[o+1].content=n[o].content+n[o+1].content:(o!==r&&(n[r]=n[o]),r++);o!==r&&(n.length=r)},rn=Ys,Ra=oe.isWhiteSpace,Oa=oe.isPunctChar,Ia=oe.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 rn("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 rn(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,n,i,a,c,d,u,p,v=!0,g=!0,_=this.posMax,k=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<_&&this.src.charCodeAt(o)===k;)o++;return n=o-t,s=o<_?this.src.charCodeAt(o):32,d=Ia(r)||Oa(String.fromCharCode(r)),p=Ia(s)||Oa(String.fromCharCode(s)),c=Ra(r),u=Ra(s),u?v=!1:p&&(c||d||(v=!1)),c?g=!1:d&&(u||p||(g=!1)),e?(i=v,a=g):(i=v&&(!g||d),a=g&&(!v||p)),{can_open:i,can_close:a,length:n}},Qo.prototype.Token=rn;var Jh=Qo,Pa=Zs,sn=[["text",Ah],["linkify",Eh],["newline",Th],["escape",Dh],["backticks",Lh],["strikethrough",Vr.tokenize],["emphasis",Nr.tokenize],["link",Rh],["image",Ih],["autolink",Fh],["html_inline",jh],["entity",Yh]],nn=[["balance_pairs",Xh],["strikethrough",Vr.postProcess],["emphasis",Nr.postProcess],["fragments_join",Kh]];function er(){var t;for(this.ruler=new Pa,t=0;t<sn.length;t++)this.ruler.push(sn[t][0],sn[t][1]);for(this.ruler2=new Pa,t=0;t<nn.length;t++)this.ruler2.push(nn[t][0],nn[t][1])}er.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),n=s.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[r]<"u"){t.pos=a[r];return}if(t.level<i){for(o=0;o<n;o++)if(t.level++,e=s[o](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[r]=t.pos},er.prototype.tokenize=function(t){for(var e,o,r,s=this.ruler.getRules(""),n=s.length,i=t.posMax,a=t.md.options.maxNesting;t.pos<i;){if(r=t.pos,t.level<a){for(o=0;o<n;o++)if(e=s[o](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=i)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},er.prototype.parse=function(t,e,o,r){var s,n,i,a=new this.State(t,e,o,r);for(this.tokenize(a),n=this.ruler2.getRules(""),i=n.length,s=0;s<i;s++)n[s](a)},er.prototype.State=Jh;var Qh=er,an,Ma;function ep(){return Ma||(Ma=1,an=function(t){var e={};t=t||{},e.src_Any=na().source,e.src_Cc=aa().source,e.src_Z=da().source,e.src_P=Us.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}),an}function cn(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 Ur(t){return Object.prototype.toString.call(t)}function tp(t){return Ur(t)==="[object String]"}function op(t){return Ur(t)==="[object Object]"}function rp(t){return Ur(t)==="[object RegExp]"}function Fa(t){return Ur(t)==="[object Function]"}function sp(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ba={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function np(t){return Object.keys(t||{}).reduce(function(e,o){return e||Ba.hasOwnProperty(o)},!1)}var ip={"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}}},ap="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]",cp="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function lp(t){t.__index__=-1,t.__text_cache__=""}function dp(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function Va(){return function(t,e){e.normalize(t)}}function jr(t){var e=t.re=ep()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(ap),o.push(e.src_xn),e.src_tlds=o.join("|");function r(a){return a.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 n(a,c){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+c)}Object.keys(t.__schemas__).forEach(function(a){var c=t.__schemas__[a];if(c!==null){var d={validate:null,link:null};if(t.__compiled__[a]=d,op(c)){rp(c.validate)?d.validate=dp(c.validate):Fa(c.validate)?d.validate=c.validate:n(a,c),Fa(c.normalize)?d.normalize=c.normalize:c.normalize?n(a,c):d.normalize=Va();return}if(tp(c)){s.push(a);return}n(a,c)}}),s.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Va()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(sp).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","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"),lp(t)}function fp(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 ln(t,e){var o=new fp(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function Ne(t,e){if(!(this instanceof Ne))return new Ne(t,e);e||np(t)&&(e=t,t={}),this.__opts__=cn({},Ba,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cn({},ip,t),this.__compiled__={},this.__tlds__=cp,this.__tlds_replaced__=!1,this.re={},jr(this)}Ne.prototype.add=function(e,o){return this.__schemas__[e]=o,jr(this),this},Ne.prototype.set=function(e){return this.__opts__=cn(this.__opts__,e),this},Ne.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,n,i,a,c,d,u;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(o=c.exec(e))!==null;)if(n=this.testSchemaAt(e,o[2],c.lastIndex),n){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+n;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(i=s.index+s[1].length,a=s.index+s[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0},Ne.prototype.pretest=function(e){return this.re.pretest.test(e)},Ne.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},Ne.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(ln(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(ln(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},Ne.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,ln(this,0)):null},Ne.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,n){return r!==n[s-1]}).reverse(),jr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,jr(this),this)},Ne.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Ne.prototype.onCompile=function(){};var up=Ne;const mo=2147483647,pt=36,dn=1,tr=26,hp=38,pp=700,Na=72,Ua=128,ja="-",bp=/^xn--/,gp=/[^\0-\x7F]/,mp=/[\x2E\u3002\uFF0E\uFF61]/g,vp={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fn=pt-dn,bt=Math.floor,un=String.fromCharCode;function Ot(t){throw new RangeError(vp[t])}function yp(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function Ha(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(mp,".");const s=t.split("."),n=yp(s,e).join(".");return r+n}function hn(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 n=t.charCodeAt(o++);(n&64512)==56320?e.push(((s&1023)<<10)+(n&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const Ga=t=>String.fromCodePoint(...t),wp=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:pt},Wa=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Za=function(t,e,o){let r=0;for(t=o?bt(t/pp):t>>1,t+=bt(t/e);t>fn*tr>>1;r+=pt)t=bt(t/fn);return bt(r+(fn+1)*t/(t+hp))},pn=function(t){const e=[],o=t.length;let r=0,s=Ua,n=Na,i=t.lastIndexOf(ja);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&Ot("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<o;){const c=r;for(let u=1,p=pt;;p+=pt){a>=o&&Ot("invalid-input");const v=wp(t.charCodeAt(a++));v>=pt&&Ot("invalid-input"),v>bt((mo-r)/u)&&Ot("overflow"),r+=v*u;const g=p<=n?dn:p>=n+tr?tr:p-n;if(v<g)break;const _=pt-g;u>bt(mo/_)&&Ot("overflow"),u*=_}const d=e.length+1;n=Za(r-c,d,c==0),bt(r/d)>mo-s&&Ot("overflow"),s+=bt(r/d),r%=d,e.splice(r++,0,s)}return String.fromCodePoint(...e)},bn=function(t){const e=[];t=hn(t);const o=t.length;let r=Ua,s=0,n=Na;for(const c of t)c<128&&e.push(un(c));const i=e.length;let a=i;for(i&&e.push(ja);a<o;){let c=mo;for(const u of t)u>=r&&u<c&&(c=u);const d=a+1;c-r>bt((mo-s)/d)&&Ot("overflow"),s+=(c-r)*d,r=c;for(const u of t)if(u<r&&++s>mo&&Ot("overflow"),u===r){let p=s;for(let v=pt;;v+=pt){const g=v<=n?dn:v>=n+tr?tr:v-n;if(p<g)break;const _=p-g,k=pt-g;e.push(un(Wa(g+_%k,0))),p=bt(_/k)}e.push(un(Wa(p,0))),n=Za(s,d,a===i),s=0,++a}++s,++r}return e.join("")},Ya=function(t){return Ha(t,function(e){return bp.test(e)?pn(e.slice(4).toLowerCase()):e})},Xa=function(t){return Ha(t,function(e){return gp.test(e)?"xn--"+bn(e):e})},xp=Kc(Object.freeze(Object.defineProperty({__proto__:null,decode:pn,default:{version:"2.1.0",ucs2:{decode:hn,encode:Ga},decode:pn,encode:bn,toASCII:Xa,toUnicode:Ya},encode:bn,toASCII:Xa,toUnicode:Ya,ucs2decode:hn,ucs2encode:Ga},Symbol.toStringTag,{value:"Module"})));var _p={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},kp={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"]}}},Cp={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"]}}},or=oe,Ap=Rr,Sp=wu,Ep=ju,$p=kh,Tp=Qh,qp=up,Qt=ho,Ka=xp,Dp={default:_p,zero:kp,commonmark:Cp},Lp=/^(vbscript|javascript|file|data):/,zp=/^data:image\/(gif|png|jpeg|webp);/;function Rp(t){var e=t.trim().toLowerCase();return Lp.test(e)?!!zp.test(e):!0}var Ja=["http:","https:","mailto:"];function Op(t){var e=Qt.parse(t,!0);if(e.hostname&&(!e.protocol||Ja.indexOf(e.protocol)>=0))try{e.hostname=Ka.toASCII(e.hostname)}catch{}return Qt.encode(Qt.format(e))}function Ip(t){var e=Qt.parse(t,!0);if(e.hostname&&(!e.protocol||Ja.indexOf(e.protocol)>=0))try{e.hostname=Ka.toUnicode(e.hostname)}catch{}return Qt.decode(Qt.format(e),Qt.decode.defaultChars+"%")}function He(t,e){if(!(this instanceof He))return new He(t,e);e||or.isString(t)||(e=t||{},t="default"),this.inline=new Tp,this.block=new $p,this.core=new Ep,this.renderer=new Sp,this.linkify=new qp,this.validateLink=Rp,this.normalizeLink=Op,this.normalizeLinkText=Ip,this.utils=or,this.helpers=or.assign({},Ap),this.options={},this.configure(t),e&&this.set(e)}He.prototype.set=function(t){return or.assign(this.options,t),this},He.prototype.configure=function(t){var e=this,o;if(or.isString(t)&&(o=t,t=Dp[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},He.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},He.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},He.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},He.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},He.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},He.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},He.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Pp=He,Mp=Pp;const Fp=fr(Mp);function Bp(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 Vp(t,e,o){Object.keys(o).forEach(function(r){var s,n=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,n]):e[t].attrs[s][1]=n})}function Qa(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,n,i,a){var c=Bp(r[s],e),d=c&&c.attrs;return d&&Vp(s,r,d),o(r,s,n,i,a)}}Qa.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var Np=Qa;const Up=fr(Np);function jp(){const t=new Fp({html:!0,breaks:!0,linkify:!0});return t.use(Up,{attrs:{target:"_blank",rel:"noopener"}}),t}async function ec(t){const o=jp().render(t);return T`${Et(o)}`}var Hp=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,rr=(t,e,o,r)=>{for(var s=r>1?void 0:r?Gp(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Hp(e,o,s),s};let eo=class extends Le{constructor(){super(...arguments),this.type="assistant",this.lightbox=Tf({touchNavigation:!0,loop:!0,autoplayVideos:!0,selector:null,elements:[],openEffect:"zoom",closeEffect:"fade",cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"}}})}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents(),this._configureLightbox()})}_configureLightbox(){if(this.glightboxImages.length<=0){this.lightbox.setElements([]);return}const t=[];this.glightboxImages.forEach((e,o)=>{e.addEventListener("click",r=>{console.log(`Image clicked >>> ${o}`),r.preventDefault(),this.lightbox.openAt(o)}),t.push(e)}),this.lightbox.setElements(t),console.log(`Added ${t.length} glightbox elements`)}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&&nl(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return wt(this.message.data||this.message.isThinking,()=>T`
|
|
5793
|
+
`),o=o.replace(_u,"�"),e.src=o},Cu=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)},Au=function(e){var o=e.tokens,r,s,n;for(s=0,n=o.length;s<n;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Su=oe.arrayReplaceAt;function Eu(t){return/^<a[>\s]/i.test(t)}function $u(t){return/^<\/a\s*>/i.test(t)}var Tu=function(e){var o,r,s,n,i,a,c,d,u,p,v,g,_,k,$,A,C=e.tokens,R;if(e.md.options.linkify){for(r=0,s=C.length;r<s;r++)if(!(C[r].type!=="inline"||!e.md.linkify.pretest(C[r].content)))for(n=C[r].children,_=0,o=n.length-1;o>=0;o--){if(a=n[o],a.type==="link_close"){for(o--;n[o].level!==a.level&&n[o].type!=="link_open";)o--;continue}if(a.type==="html_inline"&&(Eu(a.content)&&_>0&&_--,$u(a.content)&&_++),!(_>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,R=e.md.linkify.match(u),c=[],g=a.level,v=0,R.length>0&&R[0].index===0&&o>0&&n[o-1].type==="text_special"&&(R=R.slice(1)),d=0;d<R.length;d++)k=R[d].url,$=e.md.normalizeLink(k),e.md.validateLink($)&&(A=R[d].text,R[d].schema?R[d].schema==="mailto:"&&!/^mailto:/i.test(A)?A=e.md.normalizeLinkText("mailto:"+A).replace(/^mailto:/,""):A=e.md.normalizeLinkText(A):A=e.md.normalizeLinkText("http://"+A).replace(/^http:\/\//,""),p=R[d].index,p>v&&(i=new e.Token("text","",0),i.content=u.slice(v,p),i.level=g,c.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",$]],i.level=g++,i.markup="linkify",i.info="auto",c.push(i),i=new e.Token("text","",0),i.content=A,i.level=g,c.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",c.push(i),v=R[d].lastIndex);v<u.length&&(i=new e.Token("text","",0),i.content=u.slice(v),i.level=g,c.push(i)),C[r].children=n=Su(n,o,c)}}}},ha=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,qu=/\((c|tm|r)\)/i,Du=/\((c|tm|r)\)/ig,Lu={c:"©",r:"®",tm:"™"};function zu(t,e){return Lu[e.toLowerCase()]}function Ru(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(Du,zu)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function Ou(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&ha.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 Pu=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type==="inline"&&(qu.test(e.tokens[o].content)&&Ru(e.tokens[o].children),ha.test(e.tokens[o].content)&&Ou(e.tokens[o].children))},pa=oe.isWhiteSpace,ba=oe.isPunctChar,ga=oe.isMdAsciiPunct,Iu=/['"]/,ma=/['"]/g,va="’";function Or(t,e,o){return t.slice(0,e)+o+t.slice(e+1)}function Mu(t,e){var o,r,s,n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,I,M,D;for(I=[],o=0;o<t.length;o++){for(r=t[o],c=t[o].level,C=I.length-1;C>=0&&!(I[C].level<=c);C--);if(I.length=C+1,r.type==="text"){s=r.content,i=0,a=s.length;e:for(;i<a&&(ma.lastIndex=i,n=ma.exec(s),!!n);){if($=A=!0,i=n.index+1,R=n[0]==="'",u=32,n.index-1>=0)u=s.charCodeAt(n.index-1);else for(C=o-1;C>=0&&!(t[C].type==="softbreak"||t[C].type==="hardbreak");C--)if(t[C].content){u=t[C].content.charCodeAt(t[C].content.length-1);break}if(p=32,i<a)p=s.charCodeAt(i);else for(C=o+1;C<t.length&&!(t[C].type==="softbreak"||t[C].type==="hardbreak");C++)if(t[C].content){p=t[C].content.charCodeAt(0);break}if(v=ga(u)||ba(String.fromCharCode(u)),g=ga(p)||ba(String.fromCharCode(p)),_=pa(u),k=pa(p),k?$=!1:g&&(_||v||($=!1)),_?A=!1:v&&(k||g||(A=!1)),p===34&&n[0]==='"'&&u>=48&&u<=57&&(A=$=!1),$&&A&&($=v,A=g),!$&&!A){R&&(r.content=Or(r.content,n.index,va));continue}if(A){for(C=I.length-1;C>=0&&(d=I[C],!(I[C].level<c));C--)if(d.single===R&&I[C].level===c){d=I[C],R?(M=e.md.options.quotes[2],D=e.md.options.quotes[3]):(M=e.md.options.quotes[0],D=e.md.options.quotes[1]),r.content=Or(r.content,n.index,D),t[d.token].content=Or(t[d.token].content,d.pos,M),i+=D.length-1,d.token===o&&(i+=M.length-1),s=r.content,a=s.length,I.length=C;continue e}}$?I.push({token:o,pos:n.index,single:R,level:c}):A&&R&&(r.content=Or(r.content,n.index,va))}}}}var Fu=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type!=="inline"||!Iu.test(e.tokens[o].content)||Mu(e.tokens[o].children,e)},Bu=function(e){var o,r,s,n,i,a,c=e.tokens;for(o=0,r=c.length;o<r;o++)if(c[o].type==="inline"){for(s=c[o].children,i=s.length,n=0;n<i;n++)s[n].type==="text_special"&&(s[n].type="text");for(n=a=0;n<i;n++)s[n].type==="text"&&n+1<i&&s[n+1].type==="text"?s[n+1].content=s[n].content+s[n+1].content:(n!==a&&(s[a]=s[n]),a++);n!==a&&(s.length=a)}};function bo(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}bo.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},bo.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},bo.prototype.attrSet=function(e,o){var r=this.attrIndex(e),s=[e,o];r<0?this.attrPush(s):this.attrs[r]=s},bo.prototype.attrGet=function(e){var o=this.attrIndex(e),r=null;return o>=0&&(r=this.attrs[o][1]),r},bo.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 Ys=bo,Vu=Ys;function ya(t,e,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=e}ya.prototype.Token=Vu;var Nu=ya,Uu=Zs,Xs=[["normalize",ku],["block",Cu],["inline",Au],["linkify",Tu],["replacements",Pu],["smartquotes",Fu],["text_join",Bu]];function Ks(){this.ruler=new Uu;for(var t=0;t<Xs.length;t++)this.ruler.push(Xs[t][0],Xs[t][1])}Ks.prototype.process=function(t){var e,o,r;for(r=this.ruler.getRules(""),e=0,o=r.length;e<o;e++)r[e](t)},Ks.prototype.State=Nu;var ju=Ks,Js=oe.isSpace;function Qs(t,e){var o=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(o,r)}function wa(t){var e=[],o=0,r=t.length,s,n=!1,i=0,a="";for(s=t.charCodeAt(o);o<r;)s===124&&(n?(a+=t.substring(i,o-1),i=o):(e.push(a+t.substring(i,o)),a="",i=o+1)),n=s===92,o++,s=t.charCodeAt(o);return e.push(a+t.substring(i)),e}var Hu=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,I,M,D;if(o+2>r||(u=o+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58)||a>=e.eMarks[u]||(D=e.src.charCodeAt(a++),D!==124&&D!==45&&D!==58&&!Js(D))||M===45&&Js(D))return!1;for(;a<e.eMarks[u];){if(n=e.src.charCodeAt(a),n!==124&&n!==45&&n!==58&&!Js(n))return!1;a++}for(i=Qs(e,o+1),p=i.split("|"),_=[],c=0;c<p.length;c++){if(k=p[c].trim(),!k){if(c===0||c===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;k.charCodeAt(k.length-1)===58?_.push(k.charCodeAt(0)===58?"center":"right"):k.charCodeAt(0)===58?_.push("left"):_.push("")}if(i=Qs(e,o).trim(),i.indexOf("|")===-1||e.sCount[o]-e.blkIndent>=4||(p=wa(i),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),v=p.length,v===0||v!==_.length))return!1;if(s)return!0;for(C=e.parentType,e.parentType="table",I=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=$=[o,0],g=e.push("thead_open","thead",1),g.map=[o,o+1],g=e.push("tr_open","tr",1),g.map=[o,o+1],c=0;c<p.length;c++)g=e.push("th_open","th",1),_[c]&&(g.attrs=[["style","text-align:"+_[c]]]),g=e.push("inline","",0),g.content=p[c].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),u=o+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(R=!1,c=0,d=I.length;c<d;c++)if(I[c](e,u,r,!0)){R=!0;break}if(R||(i=Qs(e,u).trim(),!i)||e.sCount[u]-e.blkIndent>=4)break;for(p=wa(i),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),u===o+2&&(g=e.push("tbody_open","tbody",1),g.map=A=[o+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],c=0;c<v;c++)g=e.push("td_open","td",1),_[c]&&(g.attrs=[["style","text-align:"+_[c]]]),g=e.push("inline","",0),g.content=p[c]?p[c].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return A&&(g=e.push("tbody_close","tbody",-1),A[1]=u),g=e.push("table_close","table",-1),$[1]=u,e.parentType=C,e.line=u,!0},Gu=function(e,o,r){var s,n,i;if(e.sCount[o]-e.blkIndent<4)return!1;for(n=s=o+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,n=s;continue}break}return e.line=n,i=e.push("code_block","code",0),i.content=e.getLines(o,n,4+e.blkIndent,!1)+`
|
|
5794
|
+
`,i.map=[o,e.line],!0},Wu=function(e,o,r,s){var n,i,a,c,d,u,p,v=!1,g=e.bMarks[o]+e.tShift[o],_=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||g+3>_||(n=e.src.charCodeAt(g),n!==126&&n!==96)||(d=g,g=e.skipChars(g,n),i=g-d,i<3)||(p=e.src.slice(d,g),a=e.src.slice(g,_),n===96&&a.indexOf(String.fromCharCode(n))>=0))return!1;if(s)return!0;for(c=o;c++,!(c>=r||(g=d=e.bMarks[c]+e.tShift[c],_=e.eMarks[c],g<_&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(g)===n&&!(e.sCount[c]-e.blkIndent>=4)&&(g=e.skipChars(g,n),!(g-d<i)&&(g=e.skipSpaces(g),!(g<_)))){v=!0;break}return i=e.sCount[o],e.line=c+(v?1:0),u=e.push("fence","code",0),u.info=a,u.content=e.getLines(o+1,c,i,!0),u.markup=p,u.map=[o,e.line],!0},Zu=oe.isSpace,Yu=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,I,M,D,j,Y,O=e.lineMax,N=e.bMarks[o]+e.tShift[o],re=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(N)!==62)return!1;if(s)return!0;for(_=[],k=[],C=[],R=[],D=e.md.block.ruler.getRules("blockquote"),A=e.parentType,e.parentType="blockquote",v=o;v<r&&(Y=e.sCount[v]<e.blkIndent,N=e.bMarks[v]+e.tShift[v],re=e.eMarks[v],!(N>=re));v++){if(e.src.charCodeAt(N++)===62&&!Y){for(c=e.sCount[v]+1,e.src.charCodeAt(N)===32?(N++,c++,n=!1,I=!0):e.src.charCodeAt(N)===9?(I=!0,(e.bsCount[v]+c)%4===3?(N++,c++,n=!1):n=!0):I=!1,g=c,_.push(e.bMarks[v]),e.bMarks[v]=N;N<re&&(i=e.src.charCodeAt(N),Zu(i));){i===9?g+=4-(g+e.bsCount[v]+(n?1:0))%4:g++;N++}u=N>=re,k.push(e.bsCount[v]),e.bsCount[v]=e.sCount[v]+1+(I?1:0),C.push(e.sCount[v]),e.sCount[v]=g-c,R.push(e.tShift[v]),e.tShift[v]=N-e.bMarks[v];continue}if(u)break;for(M=!1,a=0,d=D.length;a<d;a++)if(D[a](e,v,r,!0)){M=!0;break}if(M){e.lineMax=v,e.blkIndent!==0&&(_.push(e.bMarks[v]),k.push(e.bsCount[v]),R.push(e.tShift[v]),C.push(e.sCount[v]),e.sCount[v]-=e.blkIndent);break}_.push(e.bMarks[v]),k.push(e.bsCount[v]),R.push(e.tShift[v]),C.push(e.sCount[v]),e.sCount[v]=-1}for($=e.blkIndent,e.blkIndent=0,j=e.push("blockquote_open","blockquote",1),j.markup=">",j.map=p=[o,0],e.md.block.tokenize(e,o,v),j=e.push("blockquote_close","blockquote",-1),j.markup=">",e.lineMax=O,e.parentType=A,p[1]=e.line,a=0;a<R.length;a++)e.bMarks[a+o]=_[a],e.tShift[a+o]=R[a],e.sCount[a+o]=C[a],e.bsCount[a+o]=k[a];return e.blkIndent=$,!0},Xu=oe.isSpace,Ku=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(n=e.src.charCodeAt(d++),n!==42&&n!==45&&n!==95))return!1;for(i=1;d<u;){if(a=e.src.charCodeAt(d++),a!==n&&!Xu(a))return!1;a===n&&i++}return i<3?!1:(s||(e.line=o+1,c=e.push("hr","hr",0),c.map=[o,e.line],c.markup=Array(i+1).join(String.fromCharCode(n))),!0)},xa=oe.isSpace;function _a(t,e){var o,r,s,n;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&&(n=t.src.charCodeAt(r),!xa(n))?-1:r}function ka(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,n=t.eMarks[e];if(s+1>=n||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=n)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<n&&(o=t.src.charCodeAt(s),!xa(o))?-1:s}function Ju(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 Qu=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,I,M,D,j,Y,O,N,re,he,Pe,L,B,z=o,ye=!1,Ct=!0;if(e.sCount[z]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[z]-e.listIndent>=4&&e.sCount[z]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[z]>=e.blkIndent&&(ye=!0),(N=ka(e,z))>=0){if(p=!0,he=e.bMarks[z]+e.tShift[z],A=Number(e.src.slice(he,N-1)),ye&&A!==1)return!1}else if((N=_a(e,z))>=0)p=!1;else return!1;if(ye&&e.skipSpaces(N)>=e.eMarks[z])return!1;if(s)return!0;for($=e.src.charCodeAt(N-1),k=e.tokens.length,p?(B=e.push("ordered_list_open","ol",1),A!==1&&(B.attrs=[["start",A]])):B=e.push("bullet_list_open","ul",1),B.map=_=[z,0],B.markup=String.fromCharCode($),re=!1,L=e.md.block.ruler.getRules("list"),M=e.parentType,e.parentType="list";z<r;){for(O=N,C=e.eMarks[z],u=R=e.sCount[z]+N-(e.bMarks[z]+e.tShift[z]);O<C;){if(n=e.src.charCodeAt(O),n===9)R+=4-(R+e.bsCount[z])%4;else if(n===32)R++;else break;O++}if(i=O,i>=C?d=1:d=R-u,d>4&&(d=1),c=u+d,B=e.push("list_item_open","li",1),B.markup=String.fromCharCode($),B.map=v=[z,0],p&&(B.info=e.src.slice(he,N-1)),Y=e.tight,j=e.tShift[z],D=e.sCount[z],I=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[z]=i-e.bMarks[z],e.sCount[z]=R,i>=C&&e.isEmpty(z+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,z,r,!0),(!e.tight||re)&&(Ct=!1),re=e.line-z>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=I,e.tShift[z]=j,e.sCount[z]=D,e.tight=Y,B=e.push("list_item_close","li",-1),B.markup=String.fromCharCode($),z=e.line,v[1]=z,z>=r||e.sCount[z]<e.blkIndent||e.sCount[z]-e.blkIndent>=4)break;for(Pe=!1,a=0,g=L.length;a<g;a++)if(L[a](e,z,r,!0)){Pe=!0;break}if(Pe)break;if(p){if(N=ka(e,z),N<0)break;he=e.bMarks[z]+e.tShift[z]}else if(N=_a(e,z),N<0)break;if($!==e.src.charCodeAt(N-1))break}return p?B=e.push("ordered_list_close","ol",-1):B=e.push("bullet_list_close","ul",-1),B.markup=String.fromCharCode($),_[1]=z,e.line=z,e.parentType=M,Ct&&Ju(e,k),!0},eh=oe.normalizeReference,Pr=oe.isSpace,th=function(e,o,r,s){var n,i,a,c,d,u,p,v,g,_,k,$,A,C,R,I,M=0,D=e.bMarks[o]+e.tShift[o],j=e.eMarks[o],Y=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(D)!==91)return!1;for(;++D<j;)if(e.src.charCodeAt(D)===93&&e.src.charCodeAt(D-1)!==92){if(D+1===j||e.src.charCodeAt(D+1)!==58)return!1;break}for(c=e.lineMax,R=e.md.block.ruler.getRules("reference"),_=e.parentType,e.parentType="reference";Y<c&&!e.isEmpty(Y);Y++)if(!(e.sCount[Y]-e.blkIndent>3)&&!(e.sCount[Y]<0)){for(C=!1,u=0,p=R.length;u<p;u++)if(R[u](e,Y,c,!0)){C=!0;break}if(C)break}for(A=e.getLines(o,Y,e.blkIndent,!1).trim(),j=A.length,D=1;D<j;D++){if(n=A.charCodeAt(D),n===91)return!1;if(n===93){g=D;break}else n===10?M++:n===92&&(D++,D<j&&A.charCodeAt(D)===10&&M++)}if(g<0||A.charCodeAt(g+1)!==58)return!1;for(D=g+2;D<j;D++)if(n=A.charCodeAt(D),n===10)M++;else if(!Pr(n))break;if(k=e.md.helpers.parseLinkDestination(A,D,j),!k.ok||(d=e.md.normalizeLink(k.str),!e.md.validateLink(d)))return!1;for(D=k.pos,M+=k.lines,i=D,a=M,$=D;D<j;D++)if(n=A.charCodeAt(D),n===10)M++;else if(!Pr(n))break;for(k=e.md.helpers.parseLinkTitle(A,D,j),D<j&&$!==D&&k.ok?(I=k.str,D=k.pos,M+=k.lines):(I="",D=i,M=a);D<j&&(n=A.charCodeAt(D),!!Pr(n));)D++;if(D<j&&A.charCodeAt(D)!==10&&I)for(I="",D=i,M=a;D<j&&(n=A.charCodeAt(D),!!Pr(n));)D++;return D<j&&A.charCodeAt(D)!==10||(v=eh(A.slice(1,g)),!v)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[v]>"u"&&(e.env.references[v]={title:I,href:d}),e.parentType=_,e.line=o+M+1),!0)},oh=["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"],Ir={},rh="[a-zA-Z_:][a-zA-Z0-9:._-]*",sh="[^\"'=<>`\\x00-\\x20]+",nh="'[^']*'",ih='"[^"]*"',ah="(?:"+sh+"|"+nh+"|"+ih+")",ch="(?:\\s+"+rh+"(?:\\s*=\\s*"+ah+")?)",Ca="<[A-Za-z][A-Za-z0-9\\-]*"+ch+"*\\s*\\/?>",Aa="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",lh="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",dh="<[?][\\s\\S]*?[?]>",fh="<![A-Z]+\\s+[^>]*>",uh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",hh=new RegExp("^(?:"+Ca+"|"+Aa+"|"+lh+"|"+dh+"|"+fh+"|"+uh+")"),ph=new RegExp("^(?:"+Ca+"|"+Aa+")");Ir.HTML_TAG_RE=hh,Ir.HTML_OPEN_CLOSE_TAG_RE=ph;var bh=oh,gh=Ir.HTML_OPEN_CLOSE_TAG_RE,go=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+bh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(gh.source+"\\s*$"),/^$/,!1]],mh=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(c=e.src.slice(d,u),n=0;n<go.length&&!go[n][0].test(c);n++);if(n===go.length)return!1;if(s)return go[n][2];if(i=o+1,!go[n][1].test(c)){for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(d=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],c=e.src.slice(d,u),go[n][1].test(c)){c.length!==0&&i++;break}}return e.line=i,a=e.push("html_block","",0),a.map=[o,i],a.content=e.getLines(o,i,e.blkIndent,!0),!0},Sa=oe.isSpace,vh=function(e,o,r,s){var n,i,a,c,d=e.bMarks[o]+e.tShift[o],u=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(n=e.src.charCodeAt(d),n!==35||d>=u))return!1;for(i=1,n=e.src.charCodeAt(++d);n===35&&d<u&&i<=6;)i++,n=e.src.charCodeAt(++d);return i>6||d<u&&!Sa(n)?!1:(s||(u=e.skipSpacesBack(u,d),a=e.skipCharsBack(u,35,d),a>d&&Sa(e.src.charCodeAt(a-1))&&(u=a),e.line=o+1,c=e.push("heading_open","h"+String(i),1),c.markup="########".slice(0,i),c.map=[o,e.line],c=e.push("inline","",0),c.content=e.src.slice(d,u).trim(),c.map=[o,e.line],c.children=[],c=e.push("heading_close","h"+String(i),-1),c.markup="########".slice(0,i)),!0)},yh=function(e,o,r){var s,n,i,a,c,d,u,p,v,g=o+1,_,k=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(_=e.parentType,e.parentType="paragraph";g<r&&!e.isEmpty(g);g++)if(!(e.sCount[g]-e.blkIndent>3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d<u&&(v=e.src.charCodeAt(d),(v===45||v===61)&&(d=e.skipChars(d,v),d=e.skipSpaces(d),d>=u)))){p=v===61?1:2;break}if(!(e.sCount[g]<0)){for(n=!1,i=0,a=k.length;i<a;i++)if(k[i](e,g,r,!0)){n=!0;break}if(n)break}}return p?(s=e.getLines(o,g,e.blkIndent,!1).trim(),e.line=g+1,c=e.push("heading_open","h"+String(p),1),c.markup=String.fromCharCode(v),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line-1],c.children=[],c=e.push("heading_close","h"+String(p),-1),c.markup=String.fromCharCode(v),e.parentType=_,!0):!1},wh=function(e,o,r){var s,n,i,a,c,d,u=o+1,p=e.md.block.ruler.getRules("paragraph");for(d=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(n=!1,i=0,a=p.length;i<a;i++)if(p[i](e,u,r,!0)){n=!0;break}if(n)break}return s=e.getLines(o,u,e.blkIndent,!1).trim(),e.line=u,c=e.push("paragraph_open","p",1),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=d,!0},Ea=Ys,Mr=oe.isSpace;function ht(t,e,o,r){var s,n,i,a,c,d,u,p;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="",n=this.src,p=!1,i=a=d=u=0,c=n.length;a<c;a++){if(s=n.charCodeAt(a),!p)if(Mr(s)){d++,s===9?u+=4-u%4:u++;continue}else p=!0;(s===10||a===c-1)&&(s!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(d),this.sCount.push(u),this.bsCount.push(0),p=!1,d=0,u=0,i=a+1)}this.bMarks.push(n.length),this.eMarks.push(n.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ht.prototype.push=function(t,e,o){var r=new Ea(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},ht.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},ht.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},ht.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!Mr(o));e++);return e},ht.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!Mr(this.src.charCodeAt(--e)))return e+1;return e},ht.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},ht.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},ht.prototype.getLines=function(e,o,r,s){var n,i,a,c,d,u,p,v=e;if(e>=o)return"";for(u=new Array(o-e),n=0;v<o;v++,n++){for(i=0,p=c=this.bMarks[v],v+1<o||s?d=this.eMarks[v]+1:d=this.eMarks[v];c<d&&i<r;){if(a=this.src.charCodeAt(c),Mr(a))a===9?i+=4-(i+this.bsCount[v])%4:i++;else if(c-p<this.tShift[v])i++;else break;c++}i>r?u[n]=new Array(i-r+1).join(" ")+this.src.slice(c,d):u[n]=this.src.slice(c,d)}return u.join("")},ht.prototype.Token=Ea;var xh=ht,_h=Zs,Fr=[["table",Hu,["paragraph","reference"]],["code",Gu],["fence",Wu,["paragraph","reference","blockquote","list"]],["blockquote",Yu,["paragraph","reference","blockquote","list"]],["hr",Ku,["paragraph","reference","blockquote","list"]],["list",Qu,["paragraph","reference","blockquote"]],["reference",th],["html_block",mh,["paragraph","reference","blockquote"]],["heading",vh,["paragraph","reference","blockquote"]],["lheading",yh],["paragraph",wh]];function Br(){this.ruler=new _h;for(var t=0;t<Fr.length;t++)this.ruler.push(Fr[t][0],Fr[t][1],{alt:(Fr[t][2]||[]).slice()})}Br.prototype.tokenize=function(t,e,o){for(var r,s,n,i=this.ruler.getRules(""),a=i.length,c=e,d=!1,u=t.md.options.maxNesting;c<o&&(t.line=c=t.skipEmptyLines(c),!(c>=o||t.sCount[c]<t.blkIndent));){if(t.level>=u){t.line=o;break}for(n=t.line,s=0;s<a;s++)if(r=i[s](t,c,o,!1),r){if(n>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!d,t.isEmpty(t.line-1)&&(d=!0),c=t.line,c<o&&t.isEmpty(c)&&(d=!0,c++,t.line=c)}},Br.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))},Br.prototype.State=xh;var kh=Br;function Ch(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 Ah=function(e,o){for(var r=e.pos;r<e.posMax&&!Ch(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Sh=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Eh=function(e,o){var r,s,n,i,a,c,d,u;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||(n=e.pending.match(Sh),!n)||(i=n[1],a=e.md.linkify.matchAtStart(e.src.slice(r-i.length)),!a)||(c=a.url,c.length<=i.length)||(c=c.replace(/\*+$/,""),d=e.md.normalizeLink(c),!e.md.validateLink(d))?!1:(o||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(c),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=c.length-i.length,!0)},$h=oe.isSpace,Th=function(e,o){var r,s,n,i=e.pos;if(e.src.charCodeAt(i)!==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(n=r-1;n>=1&&e.pending.charCodeAt(n-1)===32;)n--;e.pending=e.pending.slice(0,n),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(i++;i<s&&$h(e.src.charCodeAt(i));)i++;return e.pos=i,!0},qh=oe.isSpace,en=[],$a=0;$a<256;$a++)en.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){en[t.charCodeAt(0)]=1});var Dh=function(e,o){var r,s,n,i,a,c=e.pos,d=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=d))return!1;if(r=e.src.charCodeAt(c),r===10){for(o||e.push("hardbreak","br",0),c++;c<d&&(r=e.src.charCodeAt(c),!!qh(r));)c++;return e.pos=c,!0}return i=e.src[c],r>=55296&&r<=56319&&c+1<d&&(s=e.src.charCodeAt(c+1),s>=56320&&s<=57343&&(i+=e.src[c+1],c++)),n="\\"+i,o||(a=e.push("text_special","",0),r<256&&en[r]!==0?a.content=i:a.content=n,a.markup=n,a.info="escape"),e.pos=c+1,!0},Lh=function(e,o){var r,s,n,i,a,c,d,u,p=e.pos,v=e.src.charCodeAt(p);if(v!==96)return!1;for(r=p,p++,s=e.posMax;p<s&&e.src.charCodeAt(p)===96;)p++;if(n=e.src.slice(r,p),d=n.length,e.backticksScanned&&(e.backticks[d]||0)<=r)return o||(e.pending+=n),e.pos+=d,!0;for(c=p;(a=e.src.indexOf("`",c))!==-1;){for(c=a+1;c<s&&e.src.charCodeAt(c)===96;)c++;if(u=c-a,u===d)return o||(i=e.push("code_inline","code",0),i.markup=n,i.content=e.src.slice(p,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=c,!0;e.backticks[u]=a}return e.backticksScanned=!0,o||(e.pending+=n),e.pos+=d,!0},Vr={};Vr.tokenize=function(e,o){var r,s,n,i,a,c=e.pos,d=e.src.charCodeAt(c);if(o||d!==126||(s=e.scanDelims(e.pos,!0),i=s.length,a=String.fromCharCode(d),i<2))return!1;for(i%2&&(n=e.push("text","",0),n.content=a,i--),r=0;r<i;r+=2)n=e.push("text","",0),n.content=a+a,e.delimiters.push({marker:d,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Ta(t,e){var o,r,s,n,i,a=[],c=e.length;for(o=0;o<c;o++)s=e[o],s.marker===126&&s.end!==-1&&(n=e[s.end],i=t.tokens[s.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[n.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[n.token-1].type==="text"&&t.tokens[n.token-1].content==="~"&&a.push(n.token-1));for(;a.length;){for(o=a.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(i=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=i)}}Vr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Ta(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Ta(e,r[o].delimiters)};var Nr={};Nr.tokenize=function(e,o){var r,s,n,i=e.pos,a=e.src.charCodeAt(i);if(o||a!==95&&a!==42)return!1;for(s=e.scanDelims(e.pos,a===42),r=0;r<s.length;r++)n=e.push("text","",0),n.content=String.fromCharCode(a),e.delimiters.push({marker:a,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 qa(t,e){var o,r,s,n,i,a,c=e.length;for(o=c-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],a=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,i=String.fromCharCode(r.marker),n=t.tokens[r.token],n.type=a?"strong_open":"em_open",n.tag=a?"strong":"em",n.nesting=1,n.markup=a?i+i:i,n.content="",n=t.tokens[s.token],n.type=a?"strong_close":"em_close",n.tag=a?"strong":"em",n.nesting=-1,n.markup=a?i+i:i,n.content="",a&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}Nr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(qa(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&qa(e,r[o].delimiters)};var zh=oe.normalizeReference,tn=oe.isSpace,Rh=function(e,o){var r,s,n,i,a,c,d,u,p,v="",g="",_=e.pos,k=e.posMax,$=e.pos,A=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0),i<0))return!1;if(c=i+1,c<k&&e.src.charCodeAt(c)===40){for(A=!1,c++;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);if(c>=k)return!1;if($=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok){for(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?c=d.pos:v="",$=c;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);if(d=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<k&&$!==c&&d.ok)for(g=d.str,c=d.pos;c<k&&(s=e.src.charCodeAt(c),!(!tn(s)&&s!==10));c++);}(c>=k||e.src.charCodeAt(c)!==41)&&(A=!0),c++}if(A){if(typeof e.env.references>"u")return!1;if(c<k&&e.src.charCodeAt(c)===91?($=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?n=e.src.slice($,c++):c=i+1):c=i+1,n||(n=e.src.slice(a,i)),u=e.env.references[zh(n)],!u)return e.pos=_,!1;v=u.href,g=u.title}return o||(e.pos=a,e.posMax=i,p=e.push("link_open","a",1),p.attrs=r=[["href",v]],g&&r.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,p=e.push("link_close","a",-1)),e.pos=c,e.posMax=k,!0},Oh=oe.normalizeReference,on=oe.isSpace,Ph=function(e,o){var r,s,n,i,a,c,d,u,p,v,g,_,k,$="",A=e.pos,C=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d<C&&e.src.charCodeAt(d)===40){for(d++;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);if(d>=C)return!1;for(k=d,p=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),p.ok&&($=e.md.normalizeLink(p.str),e.md.validateLink($)?d=p.pos:$=""),k=d;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);if(p=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<C&&k!==d&&p.ok)for(v=p.str,d=p.pos;d<C&&(s=e.src.charCodeAt(d),!(!on(s)&&s!==10));d++);else v="";if(d>=C||e.src.charCodeAt(d)!==41)return e.pos=A,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d<C&&e.src.charCodeAt(d)===91?(k=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?i=e.src.slice(k,d++):d=a+1):d=a+1,i||(i=e.src.slice(c,a)),u=e.env.references[Oh(i)],!u)return e.pos=A,!1;$=u.href,v=u.title}return o||(n=e.src.slice(c,a),e.md.inline.parse(n,e.md,e.env,_=[]),g=e.push("image","img",0),g.attrs=r=[["src",$],["alt",""]],g.children=_,g.content=n,v&&r.push(["title",v])),e.pos=d,e.posMax=C,!0},Ih=/^([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])?)*)$/,Mh=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Fh=function(e,o){var r,s,n,i,a,c,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,c=e.posMax;;){if(++d>=c||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return r=e.src.slice(a+1,d),Mh.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(n=e.push("link_open","a",1),n.attrs=[["href",s]],n.markup="autolink",n.info="auto",n=e.push("text","",0),n.content=e.md.normalizeLinkText(r),n=e.push("link_close","a",-1),n.markup="autolink",n.info="auto"),e.pos+=r.length+2,!0):!1):Ih.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(n=e.push("link_open","a",1),n.attrs=[["href",s]],n.markup="autolink",n.info="auto",n=e.push("text","",0),n.content=e.md.normalizeLinkText(r),n=e.push("link_close","a",-1),n.markup="autolink",n.info="auto"),e.pos+=r.length+2,!0):!1):!1},Bh=Ir.HTML_TAG_RE;function Vh(t){return/^<a[>\s]/i.test(t)}function Nh(t){return/^<\/a\s*>/i.test(t)}function Uh(t){var e=t|32;return e>=97&&e<=122}var jh=function(e,o){var r,s,n,i,a=e.pos;return!e.md.options.html||(n=e.posMax,e.src.charCodeAt(a)!==60||a+2>=n)||(r=e.src.charCodeAt(a+1),r!==33&&r!==63&&r!==47&&!Uh(r))||(s=e.src.slice(a).match(Bh),!s)?!1:(o||(i=e.push("html_inline","",0),i.content=s[0],Vh(i.content)&&e.linkLevel++,Nh(i.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Da=Xi,Hh=oe.has,Gh=oe.isValidEntityCode,La=oe.fromCodePoint,Wh=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Zh=/^&([a-z][a-z0-9]{1,31});/i,Yh=function(e,o){var r,s,n,i,a=e.pos,c=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=c)return!1;if(r=e.src.charCodeAt(a+1),r===35){if(n=e.src.slice(a).match(Wh),n)return o||(s=n[1][0].toLowerCase()==="x"?parseInt(n[1].slice(1),16):parseInt(n[1],10),i=e.push("text_special","",0),i.content=Gh(s)?La(s):La(65533),i.markup=n[0],i.info="entity"),e.pos+=n[0].length,!0}else if(n=e.src.slice(a).match(Zh),n&&Hh(Da,n[1]))return o||(i=e.push("text_special","",0),i.content=Da[n[1]],i.markup=n[0],i.info="entity"),e.pos+=n[0].length,!0;return!1};function za(t){var e,o,r,s,n,i,a,c,d={},u=t.length;if(u){var p=0,v=-2,g=[];for(e=0;e<u;e++)if(r=t[e],g.push(0),(t[p].marker!==r.marker||v!==r.token-1)&&(p=e),v=r.token,r.length=r.length||0,!!r.close){for(d.hasOwnProperty(r.marker)||(d[r.marker]=[-1,-1,-1,-1,-1,-1]),n=d[r.marker][(r.open?3:0)+r.length%3],o=p-g[p]-1,i=o;o>n;o-=g[o]+1)if(s=t[o],s.marker===r.marker&&s.open&&s.end<0&&(a=!1,(s.close||r.open)&&(s.length+r.length)%3===0&&(s.length%3!==0||r.length%3!==0)&&(a=!0),!a)){c=o>0&&!t[o-1].open?g[o-1]+1:0,g[e]=e-o+c,g[o]=c,r.open=!1,s.end=e,s.close=!1,i=-1,v=-2;break}i!==-1&&(d[r.marker][(r.open?3:0)+(r.length||0)%3]=i)}}}var Xh=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(za(e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&za(r[o].delimiters)},Kh=function(e){var o,r,s=0,n=e.tokens,i=e.tokens.length;for(o=r=0;o<i;o++)n[o].nesting<0&&s--,n[o].level=s,n[o].nesting>0&&s++,n[o].type==="text"&&o+1<i&&n[o+1].type==="text"?n[o+1].content=n[o].content+n[o+1].content:(o!==r&&(n[r]=n[o]),r++);o!==r&&(n.length=r)},rn=Ys,Ra=oe.isWhiteSpace,Oa=oe.isPunctChar,Pa=oe.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 rn("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 rn(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,n,i,a,c,d,u,p,v=!0,g=!0,_=this.posMax,k=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<_&&this.src.charCodeAt(o)===k;)o++;return n=o-t,s=o<_?this.src.charCodeAt(o):32,d=Pa(r)||Oa(String.fromCharCode(r)),p=Pa(s)||Oa(String.fromCharCode(s)),c=Ra(r),u=Ra(s),u?v=!1:p&&(c||d||(v=!1)),c?g=!1:d&&(u||p||(g=!1)),e?(i=v,a=g):(i=v&&(!g||d),a=g&&(!v||p)),{can_open:i,can_close:a,length:n}},Qo.prototype.Token=rn;var Jh=Qo,Ia=Zs,sn=[["text",Ah],["linkify",Eh],["newline",Th],["escape",Dh],["backticks",Lh],["strikethrough",Vr.tokenize],["emphasis",Nr.tokenize],["link",Rh],["image",Ph],["autolink",Fh],["html_inline",jh],["entity",Yh]],nn=[["balance_pairs",Xh],["strikethrough",Vr.postProcess],["emphasis",Nr.postProcess],["fragments_join",Kh]];function er(){var t;for(this.ruler=new Ia,t=0;t<sn.length;t++)this.ruler.push(sn[t][0],sn[t][1]);for(this.ruler2=new Ia,t=0;t<nn.length;t++)this.ruler2.push(nn[t][0],nn[t][1])}er.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),n=s.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[r]<"u"){t.pos=a[r];return}if(t.level<i){for(o=0;o<n;o++)if(t.level++,e=s[o](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[r]=t.pos},er.prototype.tokenize=function(t){for(var e,o,r,s=this.ruler.getRules(""),n=s.length,i=t.posMax,a=t.md.options.maxNesting;t.pos<i;){if(r=t.pos,t.level<a){for(o=0;o<n;o++)if(e=s[o](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=i)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},er.prototype.parse=function(t,e,o,r){var s,n,i,a=new this.State(t,e,o,r);for(this.tokenize(a),n=this.ruler2.getRules(""),i=n.length,s=0;s<i;s++)n[s](a)},er.prototype.State=Jh;var Qh=er,an,Ma;function ep(){return Ma||(Ma=1,an=function(t){var e={};t=t||{},e.src_Any=na().source,e.src_Cc=aa().source,e.src_Z=da().source,e.src_P=Us.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}),an}function cn(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 Ur(t){return Object.prototype.toString.call(t)}function tp(t){return Ur(t)==="[object String]"}function op(t){return Ur(t)==="[object Object]"}function rp(t){return Ur(t)==="[object RegExp]"}function Fa(t){return Ur(t)==="[object Function]"}function sp(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Ba={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function np(t){return Object.keys(t||{}).reduce(function(e,o){return e||Ba.hasOwnProperty(o)},!1)}var ip={"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}}},ap="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]",cp="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function lp(t){t.__index__=-1,t.__text_cache__=""}function dp(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function Va(){return function(t,e){e.normalize(t)}}function jr(t){var e=t.re=ep()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(ap),o.push(e.src_xn),e.src_tlds=o.join("|");function r(a){return a.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 n(a,c){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+c)}Object.keys(t.__schemas__).forEach(function(a){var c=t.__schemas__[a];if(c!==null){var d={validate:null,link:null};if(t.__compiled__[a]=d,op(c)){rp(c.validate)?d.validate=dp(c.validate):Fa(c.validate)?d.validate=c.validate:n(a,c),Fa(c.normalize)?d.normalize=c.normalize:c.normalize?n(a,c):d.normalize=Va();return}if(tp(c)){s.push(a);return}n(a,c)}}),s.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Va()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(sp).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","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"),lp(t)}function fp(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 ln(t,e){var o=new fp(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function Ne(t,e){if(!(this instanceof Ne))return new Ne(t,e);e||np(t)&&(e=t,t={}),this.__opts__=cn({},Ba,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=cn({},ip,t),this.__compiled__={},this.__tlds__=cp,this.__tlds_replaced__=!1,this.re={},jr(this)}Ne.prototype.add=function(e,o){return this.__schemas__[e]=o,jr(this),this},Ne.prototype.set=function(e){return this.__opts__=cn(this.__opts__,e),this},Ne.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,n,i,a,c,d,u;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(o=c.exec(e))!==null;)if(n=this.testSchemaAt(e,o[2],c.lastIndex),n){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+n;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(i=s.index+s[1].length,a=s.index+s[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0},Ne.prototype.pretest=function(e){return this.re.pretest.test(e)},Ne.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},Ne.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(ln(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(ln(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},Ne.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,ln(this,0)):null},Ne.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,n){return r!==n[s-1]}).reverse(),jr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,jr(this),this)},Ne.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Ne.prototype.onCompile=function(){};var up=Ne;const mo=2147483647,pt=36,dn=1,tr=26,hp=38,pp=700,Na=72,Ua=128,ja="-",bp=/^xn--/,gp=/[^\0-\x7F]/,mp=/[\x2E\u3002\uFF0E\uFF61]/g,vp={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fn=pt-dn,bt=Math.floor,un=String.fromCharCode;function Ot(t){throw new RangeError(vp[t])}function yp(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function Ha(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(mp,".");const s=t.split("."),n=yp(s,e).join(".");return r+n}function hn(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 n=t.charCodeAt(o++);(n&64512)==56320?e.push(((s&1023)<<10)+(n&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const Ga=t=>String.fromCodePoint(...t),wp=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:pt},Wa=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Za=function(t,e,o){let r=0;for(t=o?bt(t/pp):t>>1,t+=bt(t/e);t>fn*tr>>1;r+=pt)t=bt(t/fn);return bt(r+(fn+1)*t/(t+hp))},pn=function(t){const e=[],o=t.length;let r=0,s=Ua,n=Na,i=t.lastIndexOf(ja);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&Ot("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<o;){const c=r;for(let u=1,p=pt;;p+=pt){a>=o&&Ot("invalid-input");const v=wp(t.charCodeAt(a++));v>=pt&&Ot("invalid-input"),v>bt((mo-r)/u)&&Ot("overflow"),r+=v*u;const g=p<=n?dn:p>=n+tr?tr:p-n;if(v<g)break;const _=pt-g;u>bt(mo/_)&&Ot("overflow"),u*=_}const d=e.length+1;n=Za(r-c,d,c==0),bt(r/d)>mo-s&&Ot("overflow"),s+=bt(r/d),r%=d,e.splice(r++,0,s)}return String.fromCodePoint(...e)},bn=function(t){const e=[];t=hn(t);const o=t.length;let r=Ua,s=0,n=Na;for(const c of t)c<128&&e.push(un(c));const i=e.length;let a=i;for(i&&e.push(ja);a<o;){let c=mo;for(const u of t)u>=r&&u<c&&(c=u);const d=a+1;c-r>bt((mo-s)/d)&&Ot("overflow"),s+=(c-r)*d,r=c;for(const u of t)if(u<r&&++s>mo&&Ot("overflow"),u===r){let p=s;for(let v=pt;;v+=pt){const g=v<=n?dn:v>=n+tr?tr:v-n;if(p<g)break;const _=p-g,k=pt-g;e.push(un(Wa(g+_%k,0))),p=bt(_/k)}e.push(un(Wa(p,0))),n=Za(s,d,a===i),s=0,++a}++s,++r}return e.join("")},Ya=function(t){return Ha(t,function(e){return bp.test(e)?pn(e.slice(4).toLowerCase()):e})},Xa=function(t){return Ha(t,function(e){return gp.test(e)?"xn--"+bn(e):e})},xp=Kc(Object.freeze(Object.defineProperty({__proto__:null,decode:pn,default:{version:"2.1.0",ucs2:{decode:hn,encode:Ga},decode:pn,encode:bn,toASCII:Xa,toUnicode:Ya},encode:bn,toASCII:Xa,toUnicode:Ya,ucs2decode:hn,ucs2encode:Ga},Symbol.toStringTag,{value:"Module"})));var _p={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},kp={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"]}}},Cp={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"]}}},or=oe,Ap=Rr,Sp=wu,Ep=ju,$p=kh,Tp=Qh,qp=up,Qt=ho,Ka=xp,Dp={default:_p,zero:kp,commonmark:Cp},Lp=/^(vbscript|javascript|file|data):/,zp=/^data:image\/(gif|png|jpeg|webp);/;function Rp(t){var e=t.trim().toLowerCase();return Lp.test(e)?!!zp.test(e):!0}var Ja=["http:","https:","mailto:"];function Op(t){var e=Qt.parse(t,!0);if(e.hostname&&(!e.protocol||Ja.indexOf(e.protocol)>=0))try{e.hostname=Ka.toASCII(e.hostname)}catch{}return Qt.encode(Qt.format(e))}function Pp(t){var e=Qt.parse(t,!0);if(e.hostname&&(!e.protocol||Ja.indexOf(e.protocol)>=0))try{e.hostname=Ka.toUnicode(e.hostname)}catch{}return Qt.decode(Qt.format(e),Qt.decode.defaultChars+"%")}function He(t,e){if(!(this instanceof He))return new He(t,e);e||or.isString(t)||(e=t||{},t="default"),this.inline=new Tp,this.block=new $p,this.core=new Ep,this.renderer=new Sp,this.linkify=new qp,this.validateLink=Rp,this.normalizeLink=Op,this.normalizeLinkText=Pp,this.utils=or,this.helpers=or.assign({},Ap),this.options={},this.configure(t),e&&this.set(e)}He.prototype.set=function(t){return or.assign(this.options,t),this},He.prototype.configure=function(t){var e=this,o;if(or.isString(t)&&(o=t,t=Dp[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},He.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},He.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},He.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},He.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},He.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},He.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},He.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Ip=He,Mp=Ip;const Fp=fr(Mp);function Bp(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 Vp(t,e,o){Object.keys(o).forEach(function(r){var s,n=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,n]):e[t].attrs[s][1]=n})}function Qa(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,n,i,a){var c=Bp(r[s],e),d=c&&c.attrs;return d&&Vp(s,r,d),o(r,s,n,i,a)}}Qa.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var Np=Qa;const Up=fr(Np);function jp(){const t=new Fp({html:!0,breaks:!0,linkify:!0});return t.use(Up,{attrs:{target:"_blank",rel:"noopener"}}),t}async function ec(t){const o=jp().render(t);return T`${Et(o)}`}var Hp=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,rr=(t,e,o,r)=>{for(var s=r>1?void 0:r?Gp(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Hp(e,o,s),s};let eo=class extends Le{constructor(){super(...arguments),this.type="assistant",this.lightbox=Tf({touchNavigation:!0,loop:!0,autoplayVideos:!0,selector:null,elements:[],openEffect:"zoom",closeEffect:"fade",cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"}}})}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents(),this._configureLightbox()})}_configureLightbox(){if(this.glightboxImages.length<=0){this.lightbox.setElements([]);return}const t=[];this.glightboxImages.forEach((e,o)=>{e.addEventListener("click",r=>{console.log(`Image clicked >>> ${o}`),r.preventDefault(),this.lightbox.openAt(o)}),t.push(e)}),this.lightbox.setElements(t),console.log(`Added ${t.length} glightbox elements`)}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&&nl(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return wt(this.message.data||this.message.isThinking,()=>T`
|
|
5795
5795
|
<div class="cb-message-row" part="cb-message-row">
|
|
5796
5796
|
<!-- message -->
|
|
5797
5797
|
${wt(this._isBot,()=>this.renderBotMessage(this.message),()=>this.renderUserMessage(this.message))}
|
|
@@ -5816,7 +5816,7 @@
|
|
|
5816
5816
|
${Gi(this._getMessageText(t).then(o=>T`${o}`))}
|
|
5817
5817
|
</div>`:t.type==="file"?T`${$r(t.data.files||[],o=>o.id,o=>T`<cb-file filename="${o.name}" url="${o.url}"></cb-file>`)}`:T`<div class="cb-message-text">
|
|
5818
5818
|
${Gi(ec(((e=t.data.text)==null?void 0:e.toString())||"").then(o=>T`${o}`))}
|
|
5819
|
-
</div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return T` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?lr`${Et(
|
|
5819
|
+
</div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return T` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?lr`${Et(U.setting.systemIconSvg)}`:lr`${Et(U.setting.botIconSvg)}`}renderBotMessage(t){return T`
|
|
5820
5820
|
<div class="cb-message cb-bot-message-wrapper" part="cb-message">
|
|
5821
5821
|
<div class="avatar assistant-avatar xsmall" style="margin-top:4px;">${this.renderBotMessageAvatar(t)}</div>
|
|
5822
5822
|
<div style="margin-left: 4px;width: 100%">${this.renderMessage(t)}</div>
|
|
@@ -5826,10 +5826,10 @@
|
|
|
5826
5826
|
<!--<sl-avatar class="avatar user-avatar small" label="User">
|
|
5827
5827
|
<cb-icon slot="icon" svg="${Zf}" color="white"></cb-icon>
|
|
5828
5828
|
</sl-avatar>-->
|
|
5829
|
-
<div class="avatar user-avatar">${Et(
|
|
5829
|
+
<div class="avatar user-avatar">${Et(U.setting.userIconSvg)}</div>
|
|
5830
5830
|
${this.renderMessage(t)}
|
|
5831
5831
|
</div>
|
|
5832
|
-
`}};eo.styles=Xf,rr([b({type:Object})],eo.prototype,"message",2),rr([b({type:String})],eo.prototype,"type",2),rr([Qn(".code-block-header__copy")],eo.prototype,"copyBtns",2),rr([Qn("img")],eo.prototype,"glightboxImages",2),eo=rr([_e("cb-message")],eo);var Wp=Object.defineProperty,Zp=Object.getOwnPropertyDescriptor,
|
|
5832
|
+
`}};eo.styles=Xf,rr([b({type:Object})],eo.prototype,"message",2),rr([b({type:String})],eo.prototype,"type",2),rr([Qn(".code-block-header__copy")],eo.prototype,"copyBtns",2),rr([Qn("img")],eo.prototype,"glightboxImages",2),eo=rr([_e("cb-message")],eo);var Wp=Object.defineProperty,Zp=Object.getOwnPropertyDescriptor,Pt=(t,e,o,r)=>{for(var s=r>1?void 0:r?Zp(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&Wp(e,o,s),s};const vo=ur.noConflict();vo.setLevel("info");let gt=class extends Le{constructor(){super(...arguments),this.messages=[],this.actions=[],this.form=null,this.calendlyInjected=!1,this.activeCalendlyAction=-1}render(){return T`
|
|
5833
5833
|
<div class="cb-message-list" part="cb-message-list">
|
|
5834
5834
|
${$r(this.messages,t=>t.id+JSON.stringify(t.data),t=>T`<cb-message .message="${t}"></cb-message>`)}
|
|
5835
5835
|
${this.renderActions()} ${this.renderForm()}
|
|
@@ -5837,13 +5837,21 @@
|
|
|
5837
5837
|
</div>
|
|
5838
5838
|
`}renderForm(){return this.form?T` <form class="cb-input-form" part="form" @submit="${this.handleFormSubmit.bind(this)}">
|
|
5839
5839
|
<div class="cb-input-form-title">${this.form.title}</div>
|
|
5840
|
-
${$r(this.form.fields,(t,e)=>e,t=>{switch(t.type){case"string":return T`<sl-input class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" label="${t.title}" required></sl-input>`;case"email":return T`<sl-input
|
|
5840
|
+
${$r(this.form.fields,(t,e)=>e,t=>{const e=(t==null?void 0:t.required)||!1,o=U.getPrefilledFormFieldValue(t.name);switch(t.type){case"string":return T`<sl-input value="${o}" class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" label="${t.title}" ?required="${e}"></sl-input>`;case"email":return T`<sl-input
|
|
5841
|
+
value="${o}"
|
|
5842
|
+
class="cb-input-form-input"
|
|
5843
|
+
id="${"cb-form-field"+t.name}"
|
|
5844
|
+
name="${t.name}"
|
|
5845
|
+
type="email"
|
|
5846
|
+
label="${t.title}"
|
|
5847
|
+
?required="${e}"
|
|
5848
|
+
></sl-input>`}})}
|
|
5841
5849
|
<sl-button class="cb-input-form-submit" variant="primary" pill type="submit">Send</sl-button>
|
|
5842
|
-
</form>`:null}handleFormSubmit(t){t.preventDefault();const e={};if(Array.isArray(this.form.fields))for(let o=0;o<this.form.fields.length;o++){const r=this.form.fields[o],s="#cb-form-field"+r.name,n=this._inputForm.querySelector(s);if(n)if("validity"in n&&n.validity.valid)console.log(`Got Field: ${r.name} value: ${n.value}`,n.validity),e[r.name]=n.value;else{console.error(`Field is invalid: ${r.name} value: ${n.value}`,n.validity);return}}
|
|
5850
|
+
</form>`:null}handleFormSubmit(t){t.preventDefault();const e={};if(Array.isArray(this.form.fields))for(let o=0;o<this.form.fields.length;o++){const r=this.form.fields[o],s="#cb-form-field"+r.name,n=this._inputForm.querySelector(s);if(n)if("validity"in n&&n.validity.valid)console.log(`Got Field: ${r.name} value: ${n.value}`,n.validity),e[r.name]=n.value;else{console.error(`Field is invalid: ${r.name} value: ${n.value}`,n.validity);return}}U.submitForm(e).then(()=>{vo.info("Form submitted",e),this.emit("form:submit",{detail:{formData:e}})}).catch(o=>{vo.error(`Error when submitting form: ${o.message}`)})}renderActions(){return!Array.isArray(this.actions)||this.actions.length<=0?null:T`
|
|
5843
5851
|
<div class="cb-actions-list">
|
|
5844
5852
|
${$r(this.actions,t=>t,t=>this.renderAction(t))}
|
|
5845
5853
|
</div>
|
|
5846
|
-
`}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(vo.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(
|
|
5854
|
+
`}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(vo.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(U.removeAction(e),U.addSystemMessage("Your meeting has been scheduled!"),this.activeCalendlyAction=-1)}}}invokeLinkAction(t={}){vo.info("invokeLinkAction:",t),window.open(t.url,"_blank")}invokeCalendlyAction(t={}){return vo.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 T`
|
|
5847
5855
|
<div class="cb-actions-list">
|
|
5848
5856
|
<div class="cb-action ripple" @click="${this.invokeCalendlyAction.bind(this,t)}">
|
|
5849
5857
|
<div class="cb-action-icon">
|
|
@@ -5868,7 +5876,7 @@
|
|
|
5868
5876
|
${t.title}
|
|
5869
5877
|
</div>
|
|
5870
5878
|
</div>
|
|
5871
|
-
`}};gt.styles=wf,
|
|
5879
|
+
`}};gt.styles=wf,Pt([b({type:Array})],gt.prototype,"messages",2),Pt([b({type:Array})],gt.prototype,"actions",2),Pt([b({type:Object})],gt.prototype,"form",2),Pt([K("#cb-message-list-bottom-anchor")],gt.prototype,"_messageListBottomAnchor",2),Pt([K(".cb-input-form")],gt.prototype,"_inputForm",2),Pt([Jn({capture:!1,passive:!0})],gt.prototype,"invokeLinkAction",1),Pt([Jn({capture:!1,passive:!0})],gt.prototype,"invokeCalendlyAction",1),gt=Pt([_e("cb-message-list")],gt);const Yp=G`
|
|
5872
5880
|
${rt}
|
|
5873
5881
|
|
|
5874
5882
|
:host {
|
|
@@ -5940,7 +5948,7 @@
|
|
|
5940
5948
|
</sl-button>
|
|
5941
5949
|
</span>
|
|
5942
5950
|
</div>
|
|
5943
|
-
`}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};et.styles=Yp,kt([b({type:String,attribute:"placeholder"})],et.prototype,"placeholder",2),kt([b({type:String,attribute:"send-button-label"})],et.prototype,"sendButtonLabel",2),kt([b({type:Boolean,attribute:"enable-file-upload"})],et.prototype,"enableFileUpload",2),kt([b({type:String})],et.prototype,"value",2),kt([b({type:Boolean})],et.prototype,"loading",2),kt([b({type:Boolean})],et.prototype,"disabled",2),kt([b({type:String})],et.prototype,"currentKey",2),kt([
|
|
5951
|
+
`}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};et.styles=Yp,kt([b({type:String,attribute:"placeholder"})],et.prototype,"placeholder",2),kt([b({type:String,attribute:"send-button-label"})],et.prototype,"sendButtonLabel",2),kt([b({type:Boolean,attribute:"enable-file-upload"})],et.prototype,"enableFileUpload",2),kt([b({type:String})],et.prototype,"value",2),kt([b({type:Boolean})],et.prototype,"loading",2),kt([b({type:Boolean})],et.prototype,"disabled",2),kt([b({type:String})],et.prototype,"currentKey",2),kt([K("sl-textarea")],et.prototype,"inputElement",2),et=kt([_e("cb-user-input")],et);const e0=G`
|
|
5944
5952
|
${rt}
|
|
5945
5953
|
|
|
5946
5954
|
sl-dialog::part(base) {
|
|
@@ -6093,7 +6101,7 @@
|
|
|
6093
6101
|
.setting-input::part(form-control-help-text) {
|
|
6094
6102
|
grid-column-start: 2;
|
|
6095
6103
|
}
|
|
6096
|
-
`;var i0=Object.defineProperty,a0=Object.getOwnPropertyDescriptor,wo=(t,e,o,r)=>{for(var s=r>1?void 0:r?a0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&i0(e,o,s),s};let
|
|
6104
|
+
`;var i0=Object.defineProperty,a0=Object.getOwnPropertyDescriptor,wo=(t,e,o,r)=>{for(var s=r>1?void 0:r?a0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&i0(e,o,s),s};let It=class extends Le{constructor(){super(...arguments),this.open=!1,this.clearMessageDialogOpen=!1,this.customRequest=!1}render(){return this.customRequest=this.setting.customRequest,T`
|
|
6097
6105
|
<cb-dialog
|
|
6098
6106
|
label="Setting"
|
|
6099
6107
|
class="cb-dialog"
|
|
@@ -6205,7 +6213,7 @@
|
|
|
6205
6213
|
@sl-change=${this._inputChangeHandler}
|
|
6206
6214
|
></sl-input>
|
|
6207
6215
|
</div>
|
|
6208
|
-
`}_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()})}};
|
|
6216
|
+
`}_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()})}};It.styles=n0,wo([b({type:Boolean})],It.prototype,"open",2),wo([b({type:Object})],It.prototype,"setting",2),wo([b({type:Boolean})],It.prototype,"clearMessageDialogOpen",2),wo([K("sl-dialog")],It.prototype,"dialog",2),wo([b({type:Boolean})],It.prototype,"customRequest",2),It=wo([_e("cb-setting")],It),ce.define("sl-popup");const c0=G`
|
|
6209
6217
|
${rt}
|
|
6210
6218
|
:host {
|
|
6211
6219
|
--primary-color: var(--sl-color-primary-600);
|
|
@@ -6300,18 +6308,18 @@
|
|
|
6300
6308
|
align-items: start;
|
|
6301
6309
|
gap: 10px;
|
|
6302
6310
|
}
|
|
6303
|
-
`,l0='<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 7M5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0m4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0m3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/></svg>';var d0=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,oc=(t,e,o,r)=>{for(var s=r>1?void 0:r?f0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&d0(e,o,s),s};let Wr=class extends Le{constructor(){super(...arguments),this.store=new _n(this,
|
|
6311
|
+
`,l0='<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 7M5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0m4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0m3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/></svg>';var d0=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,oc=(t,e,o,r)=>{for(var s=r>1?void 0:r?f0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&d0(e,o,s),s};let Wr=class extends Le{constructor(){super(...arguments),this.store=new _n(this,U),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!"),U.suppressEngagePopup(),t.stopPropagation()}render(){return T`
|
|
6304
6312
|
<div class="cb-anchor ${this.open?"open":""}" part="cb-anchor" @click=${this._clickHandler.bind(this)}>
|
|
6305
|
-
<sl-popup placement="top-end" distance="16" ?active="${
|
|
6313
|
+
<sl-popup placement="top-end" distance="16" ?active="${U.engage&&!U.open}">
|
|
6306
6314
|
<sl-button slot="anchor" label="Start" size="large" variant="primary" class="icon anchor-button" circle>
|
|
6307
6315
|
${wt(this.open,()=>T`<cb-icon color="white" svg="${Sr}"></cb-icon>`,()=>T`<cb-icon color="white" svg="${l0}"></cb-icon>`)}
|
|
6308
6316
|
</sl-button>
|
|
6309
6317
|
<div class="cb-engage-popup">
|
|
6310
6318
|
<div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${lr`${Et(Sr)}`}</div>
|
|
6311
6319
|
<div class="cb-engage-popup-content">
|
|
6312
|
-
${wt(
|
|
6313
|
-
<!--<cb-icon class="cb-engage-popup-logo" svg="${
|
|
6314
|
-
<div>${
|
|
6320
|
+
${wt(U.setting.logoUrl!=="",()=>T`<img class="cb-engage-popup-img" src="${U.setting.logoUrl}" />`,()=>T`<div class="cb-engage-popup-logo">${lr`${Et(U.setting.logoSvg)}`}</div>`)}
|
|
6321
|
+
<!--<cb-icon class="cb-engage-popup-logo" svg="${U.setting.logoSvg}"></cb-icon>-->
|
|
6322
|
+
<div>${U.setting.engageMessage}</div>
|
|
6315
6323
|
</div>
|
|
6316
6324
|
</div>
|
|
6317
6325
|
</sl-popup>
|
|
@@ -6326,17 +6334,17 @@
|
|
|
6326
6334
|
class="color-primary text-button"
|
|
6327
6335
|
>Config Now</span
|
|
6328
6336
|
>
|
|
6329
|
-
</sl-alert>`}_handleConfig(){this.emit("setting:show")}};gn.styles=u0,gn=w0([_e("cb-auth-alert")],gn);class ic extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",n=e.statusText||"",i=`${s} ${n}`.trim(),a=i?`status code ${i}`:"an unknown error";super(`Request failed with ${a}`),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 ac 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 Yr=t=>t!==null&&typeof t=="object",Xr=(...t)=>{for(const e of t)if((!Yr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return mn({},...t)},cc=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[n,i]of s.entries())r&&i==="undefined"||i===void 0?o.delete(n):o.set(n,i);return o},mn=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(Yr(r)){for(let[s,n]of Object.entries(r))Yr(n)&&s in e&&(n=mn(e[s],n)),e={...e,[s]:n};Yr(r.headers)&&(o=cc(o,r.headers),e.headers=o)}return e},x0=(()=>{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})(),_0=typeof globalThis.AbortController=="function",k0=typeof globalThis.ReadableStream=="function",C0=typeof globalThis.FormData=="function",lc=["get","post","put","patch","head","delete"],A0={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},vn=2147483647,dc=Symbol("stop"),S0=t=>lc.includes(t)?t.toUpperCase():t,E0=["get","put","head","delete","options","trace"],$0=[408,413,429,500,502,503,504],fc=[413,429,503],uc={limit:2,methods:E0,statusCodes:$0,afterStatusCodes:fc,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},T0=(t={})=>{if(typeof t=="number")return{...uc,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{...uc,...t,afterStatusCodes:fc}};async function q0(t,e,o){return new Promise((r,s)=>{const n=setTimeout(()=>{e&&e.abort(),s(new ac(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(n)})})}const D0=!!globalThis.DOMException;function hc(t){if(D0)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 L0(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(hc(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(hc(e)),clearTimeout(n)}const n=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class Kr{static create(e,o){const r=new Kr(e,o),s=async()=>{if(r._options.timeout>vn)throw new RangeError(`The \`timeout\` option cannot be greater than ${vn}`);await Promise.resolve();let a=await r._fetch();for(const c of r._options.hooks.afterResponse){const d=await c(r.request,r._options,r._decorateResponse(a.clone()));d instanceof globalThis.Response&&(a=d)}if(r._decorateResponse(a),!a.ok&&r._options.throwHttpErrors){let c=new ic(a,r.request,r._options);for(const d of r._options.hooks.beforeError)c=await d(c);throw c}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!k0)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(a.clone(),r._options.onDownloadProgress)}return a},i=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[a,c]of Object.entries(A0))i[a]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||c);const u=(await i).clone();if(a==="json"){if(u.status===204||(await u.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await u.text())}return u[a]()};return i}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:cc(this._input.headers,o.headers),hooks:mn({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:S0(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:T0(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(_0){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(x0&&(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()),n=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(C0&&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(n,{...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 ac)){if(e instanceof ic){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),vn);if(r!==0&&this._retryCount>0){await L0(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})===dc)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()):q0(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(n){const i=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function a(){const{done:c,value:d}=await i.read();if(c){n.close();return}if(o){s+=d.byteLength;const u=r===0?0:s/r;o({percent:u,transferredBytes:s,totalBytes:r},d)}n.enqueue(d),await a()}await a()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const yn=t=>{const e=(o,r)=>Kr.create(o,Xr(t,r));for(const o of lc)e[o]=(r,s)=>Kr.create(r,Xr(t,s,{method:o}));return e.create=o=>yn(Xr(o)),e.extend=o=>yn(Xr(t,o)),e.stop=dc,e},z0=yn().extend({hooks:{beforeRequest:[()=>{}]}});async function R0(t,e){const{onmessage:o,onclose:r,...s}=e,n=async(i,a)=>{const{value:c,done:d}=await a.read();d?(i.close(),r==null||r()):(o==null||o(c),i.enqueue(c),n(i,a))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(i=>{const a=i.body.getReader();return new ReadableStream({start(d){n(d,a)}})}).then(i=>new Response(i,{headers:{"Content-Type":"text/html"}}).text())}async function O0(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await z0.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}var I0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,ve=(t,e,o,r)=>{for(var s=r>1?void 0:r?P0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&I0(e,o,s),s};const sr=ur.noConflict();sr.setLevel("info"),J.default=class extends Le{constructor(){super(...arguments),this.store=new _n(this,H),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoUrl="",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
|
|
6337
|
+
</sl-alert>`}_handleConfig(){this.emit("setting:show")}};gn.styles=u0,gn=w0([_e("cb-auth-alert")],gn);class ic extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",n=e.statusText||"",i=`${s} ${n}`.trim(),a=i?`status code ${i}`:"an unknown error";super(`Request failed with ${a}`),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 ac 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 Yr=t=>t!==null&&typeof t=="object",Xr=(...t)=>{for(const e of t)if((!Yr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return mn({},...t)},cc=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[n,i]of s.entries())r&&i==="undefined"||i===void 0?o.delete(n):o.set(n,i);return o},mn=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(Yr(r)){for(let[s,n]of Object.entries(r))Yr(n)&&s in e&&(n=mn(e[s],n)),e={...e,[s]:n};Yr(r.headers)&&(o=cc(o,r.headers),e.headers=o)}return e},x0=(()=>{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})(),_0=typeof globalThis.AbortController=="function",k0=typeof globalThis.ReadableStream=="function",C0=typeof globalThis.FormData=="function",lc=["get","post","put","patch","head","delete"],A0={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},vn=2147483647,dc=Symbol("stop"),S0=t=>lc.includes(t)?t.toUpperCase():t,E0=["get","put","head","delete","options","trace"],$0=[408,413,429,500,502,503,504],fc=[413,429,503],uc={limit:2,methods:E0,statusCodes:$0,afterStatusCodes:fc,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},T0=(t={})=>{if(typeof t=="number")return{...uc,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{...uc,...t,afterStatusCodes:fc}};async function q0(t,e,o){return new Promise((r,s)=>{const n=setTimeout(()=>{e&&e.abort(),s(new ac(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(n)})})}const D0=!!globalThis.DOMException;function hc(t){if(D0)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 L0(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(hc(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(hc(e)),clearTimeout(n)}const n=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class Kr{static create(e,o){const r=new Kr(e,o),s=async()=>{if(r._options.timeout>vn)throw new RangeError(`The \`timeout\` option cannot be greater than ${vn}`);await Promise.resolve();let a=await r._fetch();for(const c of r._options.hooks.afterResponse){const d=await c(r.request,r._options,r._decorateResponse(a.clone()));d instanceof globalThis.Response&&(a=d)}if(r._decorateResponse(a),!a.ok&&r._options.throwHttpErrors){let c=new ic(a,r.request,r._options);for(const d of r._options.hooks.beforeError)c=await d(c);throw c}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!k0)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(a.clone(),r._options.onDownloadProgress)}return a},i=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[a,c]of Object.entries(A0))i[a]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||c);const u=(await i).clone();if(a==="json"){if(u.status===204||(await u.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await u.text())}return u[a]()};return i}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:cc(this._input.headers,o.headers),hooks:mn({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:S0(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:T0(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(_0){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(x0&&(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()),n=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(C0&&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(n,{...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 ac)){if(e instanceof ic){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),vn);if(r!==0&&this._retryCount>0){await L0(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})===dc)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()):q0(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(n){const i=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function a(){const{done:c,value:d}=await i.read();if(c){n.close();return}if(o){s+=d.byteLength;const u=r===0?0:s/r;o({percent:u,transferredBytes:s,totalBytes:r},d)}n.enqueue(d),await a()}await a()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const yn=t=>{const e=(o,r)=>Kr.create(o,Xr(t,r));for(const o of lc)e[o]=(r,s)=>Kr.create(r,Xr(t,s,{method:o}));return e.create=o=>yn(Xr(o)),e.extend=o=>yn(Xr(t,o)),e.stop=dc,e},z0=yn().extend({hooks:{beforeRequest:[()=>{}]}});async function R0(t,e){const{onmessage:o,onclose:r,...s}=e,n=async(i,a)=>{const{value:c,done:d}=await a.read();d?(i.close(),r==null||r()):(o==null||o(c),i.enqueue(c),n(i,a))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(i=>{const a=i.body.getReader();return new ReadableStream({start(d){n(d,a)}})}).then(i=>new Response(i,{headers:{"Content-Type":"text/html"}}).text())}async function O0(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await z0.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}var P0=Object.defineProperty,I0=Object.getOwnPropertyDescriptor,ve=(t,e,o,r)=>{for(var s=r>1?void 0:r?I0(e,o):e,n=t.length-1,i;n>=0;n--)(i=t[n])&&(s=(r?i(e,o,s):i(s))||s);return r&&s&&P0(e,o,s),s};const sr=ur.noConflict();sr.setLevel("info"),X.default=class extends Le{constructor(){super(...arguments),this.store=new _n(this,U),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoUrl="",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
|
|
6330
6338
|
<path
|
|
6331
6339
|
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"
|
|
6332
6340
|
fill="#E24D42"
|
|
6333
6341
|
></path>
|
|
6334
6342
|
</svg>
|
|
6335
|
-
`,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.alwaysOpen=!1,this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=R0}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return
|
|
6336
|
-
<div class="cb-wrapper" style="${
|
|
6343
|
+
`,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.alwaysOpen=!1,this.prefilledFormFields="{}",this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=R0}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return U.addMessage(e),e}addTestMessage(e=""){const r={author:"assistant",type:"text",isThinking:!1,data:{text:e!==""?e:"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 U.addMessage(r),r}render(){return U.disabled&&!this.alwaysOpen?(sr.error("Bot is disabled"),null):T`
|
|
6344
|
+
<div class="cb-wrapper" style="${U.open?"display:flex":"display:none"}">
|
|
6337
6345
|
<cb-header title="${this.name}" exportparts="header"></cb-header>
|
|
6338
|
-
<cb-message-list .messages=${
|
|
6346
|
+
<cb-message-list .messages=${U.messages} .actions=${U.actions} .form=${U.form} exportparts="form"></cb-message-list>
|
|
6339
6347
|
${this.renderUserInput()}
|
|
6340
6348
|
</div>
|
|
6341
|
-
<cb-anchor ?open=${
|
|
6342
|
-
`}renderUserInput(){return
|
|
6349
|
+
<cb-anchor ?open=${U.open}></cb-anchor>
|
|
6350
|
+
`}renderUserInput(){return U.form||U.disabled&&this.alwaysOpen?null:T`<cb-user-input ?loading=${this.loading} ?disabled=${this.loading||U.form} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>`}connectedCallback(){super.connectedCallback(),sr.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;U.open=o.open,U.suppressEngagePopup()}),addEventListener("message:clear",()=>{U.clearMessages()}),addEventListener("message:send:file",this._sendFileHandler.bind(this)),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("form:submit",this._formSubmitHandler.bind(this))}updated(e){super.updated(e),e.size>0&&(sr.info("updated,_changedProperties:",e),this._initSetting()),setTimeout(()=>{this._scrollToBottom()},0)}_initSetting(){sr.info("_initSetting");const e=U.setting;e.orgId=this.orgId,e.botId=this.botId,e.url=this.url,e.logoUrl=this.logoUrl,e.logoSvg=this.logoSvg,e.botIconSvg=this.botIconSvg,e.userIconSvg=this.userIconSvg,e.systemIconSvg=this.systemIconSvg,U.setSetting(e);let o={};try{o=JSON.parse(this.prefilledFormFields)}catch(r){console.log(`Failed to parse prefilled-form-fields attribute value, error: ${(r==null?void 0:r.message)||""}`),o={}}U.setPrefilledFormFields(o),this.open&&(U.open=!0),this.alwaysOpen&&(U.open=!0,U.alwaysOpen=!0)}setLoading(e){this.loading=e}clearConversation(){U.clearConversation()}setPrefilledFormFields(e){U.setPrefilledFormFields(e)}setOpen(e=!1){U.open=e}_checkAuth(){}_addMessageHandler(e){const o=e.detail;U.sendMessage(o)}_deleteMessageHandler(e){const o=e.detail;U.removeMessage(o.id)}async _sendFileHandler(e){const o=e.detail,s={author:"user",type:"file",isUploading:!0,data:{files:o.files.map((n,i)=>({id:`${n.name}-${i}`,name:n.name,size:n.size,type:n.type,url:""}))}};if(U.addMessage(s),this.uploadFileUrl){const n=await O0(this.uploadFileUrl,o.files);n.code===0&&n.data&&(s.isUploading=!1,s.data={files:n.data},U.updateMessage(s))}this.emit("chatbot:file:send",{detail:{files:o.files,message:s}})}_settingConfirmHandler(e){const o=e.detail;U.setSetting(o.setting),this.showSetting=!1,this._checkAuth()}async _formSubmitHandler(e){}_scrollToBottom(e=!1){var o;(o=this._messageList)==null||o.scrollToBottom()}},X.default.styles=Qc,ve([b({type:Boolean,attribute:"display-license"})],X.default.prototype,"displayLicense",2),ve([b({type:String,attribute:"name"})],X.default.prototype,"name",2),ve([b({type:String,attribute:"org-id"})],X.default.prototype,"orgId",2),ve([b({type:String,attribute:"bot-id"})],X.default.prototype,"botId",2),ve([b({type:String,attribute:"url"})],X.default.prototype,"url",2),ve([b({type:String,attribute:"logo-url"})],X.default.prototype,"logoUrl",2),ve([b({type:String,attribute:"logo-svg"})],X.default.prototype,"logoSvg",2),ve([b({type:String,attribute:"bot-icon-svg"})],X.default.prototype,"botIconSvg",2),ve([b({type:String,attribute:"user-icon-svg"})],X.default.prototype,"userIconSvg",2),ve([b({type:String,attribute:"system-icon-svg"})],X.default.prototype,"systemIconSvg",2),ve([b({type:Boolean,attribute:"stream"})],X.default.prototype,"stream",2),ve([b({type:Boolean,attribute:"custom-request"})],X.default.prototype,"customRequest",2),ve([b({type:Boolean,attribute:"enable-file-upload"})],X.default.prototype,"enableFileUpload",2),ve([b({type:String,attribute:"upload-file-url"})],X.default.prototype,"uploadFileUrl",2),ve([b({type:Boolean,attribute:"open"})],X.default.prototype,"open",2),ve([b({type:Boolean,attribute:"always-open"})],X.default.prototype,"alwaysOpen",2),ve([b({type:String,attribute:"prefilled-form-fields"})],X.default.prototype,"prefilledFormFields",2),ve([b({type:Boolean})],X.default.prototype,"loading",2),ve([b({type:Boolean})],X.default.prototype,"showSetting",2),ve([b({type:Boolean})],X.default.prototype,"showAuthAlert",2),ve([K("cb-message-list")],X.default.prototype,"_messageList",2),X.default=ve([_e("enegelai-bot")],X.default),Object.defineProperties(X,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|