@enegelai/bot-widget 1.4.10 → 1.5.0

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/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
- var Ea = Object.defineProperty;
2
- var Aa = (a, t, c) => t in a ? Ea(a, t, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[t] = c;
3
- var se = (a, t, c) => (Aa(a, typeof t != "symbol" ? t + "" : t, c), c);
1
+ var Ma = Object.defineProperty;
2
+ var Ea = (a, t, c) => t in a ? Ma(a, t, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[t] = c;
3
+ var se = (a, t, c) => (Ea(a, typeof t != "symbol" ? t + "" : t, c), c);
4
4
  import { css as U, LitElement as rt, html as w, svg as He } from "lit";
5
- import { property as k, customElement as Y, queryAll as Ft, query as De, eventOptions as Nt } from "lit/decorators.js";
6
- import { unsafeHTML as we } from "lit-html/directives/unsafe-html.js";
7
- import { when as ue } from "lit/directives/when.js";
5
+ import { property as C, customElement as Y, queryAll as Nt, query as De, eventOptions as xt } from "lit/decorators.js";
6
+ import { unsafeHTML as ke } from "lit-html/directives/unsafe-html.js";
7
+ import { when as ge } from "lit/directives/when.js";
8
8
  import "@shoelace-style/shoelace/dist/themes/light.css";
9
9
  import "@shoelace-style/shoelace/dist/themes/dark.css";
10
10
  import "@shoelace-style/shoelace/dist/components/button/button.js";
@@ -26,9 +26,9 @@ import "@shoelace-style/shoelace/dist/components/tooltip/tooltip.js";
26
26
  import "@shoelace-style/shoelace/dist/components/spinner/spinner.js";
27
27
  import "@shoelace-style/shoelace/dist/components/alert/alert.js";
28
28
  import { repeat as Je } from "lit/directives/repeat.js";
29
- import { until as Lt } from "lit-html/directives/until.js";
30
- import $a from "markdown-it";
31
- import Ma from "markdown-it-link-attributes";
29
+ import { until as zt } from "lit-html/directives/until.js";
30
+ import Aa from "markdown-it";
31
+ import $a from "markdown-it-link-attributes";
32
32
  import "@shoelace-style/shoelace/dist/components/popup/popup.js";
33
33
  function Ut(a) {
34
34
  return typeof a == "function" ? a() : a;
@@ -38,14 +38,14 @@ const ot = class ot extends Event {
38
38
  * @param {string} key of the state that has changed
39
39
  * @param {unknown} value for the changed key
40
40
  */
41
- constructor(c, i, s) {
41
+ constructor(c, i, n) {
42
42
  super(ot.eventName, {
43
43
  cancelable: !1
44
44
  });
45
45
  se(this, "key");
46
46
  se(this, "state");
47
47
  se(this, "value");
48
- this.key = c, this.value = i, this.state = s;
48
+ this.key = c, this.value = i, this.state = n;
49
49
  }
50
50
  };
51
51
  se(ot, "eventName", "lit-state-changed");
@@ -58,8 +58,8 @@ class Ke extends EventTarget {
58
58
  se(this, "hookMap", /* @__PURE__ */ new Map());
59
59
  this.constructor.finalize(), this.propertyMap && [...this.propertyMap].forEach(([c, i]) => {
60
60
  if (i.initialValue !== void 0) {
61
- const s = Ut(i.initialValue);
62
- this[c] = s, i.value = s;
61
+ const n = Ut(i.initialValue);
62
+ this[c] = n, i.value = n;
63
63
  }
64
64
  });
65
65
  }
@@ -80,18 +80,18 @@ class Ke extends EventTarget {
80
80
  }
81
81
  static createProperty(c, i) {
82
82
  this.finalize();
83
- const s = typeof c == "symbol" ? Symbol() : `__${c}`, f = this.getPropertyDescriptor(c, s, i);
83
+ const n = typeof c == "symbol" ? Symbol() : `__${c}`, f = this.getPropertyDescriptor(c, n, i);
84
84
  Object.defineProperty(this.prototype, c, f);
85
85
  }
86
- static getPropertyDescriptor(c, i, s) {
87
- const f = (s == null ? void 0 : s.hasChanged) || Ia;
86
+ static getPropertyDescriptor(c, i, n) {
87
+ const f = (n == null ? void 0 : n.hasChanged) || Ia;
88
88
  return {
89
89
  get() {
90
90
  return this[i];
91
91
  },
92
92
  set(b) {
93
- const x = this[c];
94
- this[i] = b, f(b, x) === !0 && this.dispatchStateEvent(c, b, this);
93
+ const k = this[c];
94
+ this[i] = b, f(b, k) === !0 && this.dispatchStateEvent(c, b, this);
95
95
  },
96
96
  configurable: !0,
97
97
  enumerable: !0
@@ -114,15 +114,15 @@ class Ke extends EventTarget {
114
114
  * @param nameOrNames
115
115
  * @returns a unsubscribe function.
116
116
  */
117
- subscribe(c, i, s) {
117
+ subscribe(c, i, n) {
118
118
  i && !Array.isArray(i) && (i = [i]);
119
119
  const f = (b) => {
120
120
  (!i || i.includes(b.key)) && c(b.key, b.value, this);
121
121
  };
122
- return this.addEventListener(Ae.eventName, f, s), () => this.removeEventListener(Ae.eventName, f);
122
+ return this.addEventListener(Ae.eventName, f, n), () => this.removeEventListener(Ae.eventName, f);
123
123
  }
124
- dispatchStateEvent(c, i, s) {
125
- this.dispatchEvent(new Ae(c, i, s));
124
+ dispatchStateEvent(c, i, n) {
125
+ this.dispatchEvent(new Ae(c, i, n));
126
126
  }
127
127
  }
128
128
  // a map holding decorators definition.
@@ -147,11 +147,11 @@ class Wt {
147
147
  * SPDX-License-Identifier: BSD-3-Clause
148
148
  */
149
149
  const Yt = ({ finisher: a, descriptor: t }) => (c, i) => {
150
- var s;
150
+ var n;
151
151
  if (i === void 0) {
152
- const f = (s = c.originalKey) !== null && s !== void 0 ? s : c.key, b = t != null ? { kind: "method", placement: "prototype", key: f, descriptor: t(c.key) } : { ...c, key: f };
153
- return a != null && (b.finisher = function(x) {
154
- a(x, f);
152
+ const f = (n = c.originalKey) !== null && n !== void 0 ? n : c.key, b = t != null ? { kind: "method", placement: "prototype", key: f, descriptor: t(c.key) } : { ...c, key: f };
153
+ return a != null && (b.finisher = function(k) {
154
+ a(k, f);
155
155
  }), b;
156
156
  }
157
157
  {
@@ -169,7 +169,7 @@ function X(a) {
169
169
  }
170
170
  });
171
171
  }
172
- function ja(a, t) {
172
+ function La(a, t) {
173
173
  if (a !== null && (t === Boolean || t === Number || t === Array || t === Object))
174
174
  try {
175
175
  a = JSON.parse(a);
@@ -179,25 +179,25 @@ function ja(a, t) {
179
179
  return a;
180
180
  }
181
181
  new URL(window.location.href);
182
- const Oa = {
182
+ const ja = {
183
183
  prefix: "_ls"
184
184
  };
185
- function pe(a) {
186
- return a = { ...Oa, ...a }, Yt({
185
+ function he(a) {
186
+ return a = { ...ja, ...a }, Yt({
187
187
  // @ts-ignore ctor is typof State and not typeof ReactiveElement
188
188
  finisher: (t, c) => {
189
189
  const i = Object.getOwnPropertyDescriptor(t.prototype, c);
190
190
  if (!i)
191
191
  throw new Error("@local-storage decorator need to be called after @property");
192
- const s = `${(a == null ? void 0 : a.prefix) || ""}_${(a == null ? void 0 : a.key) || String(c)}`, f = t.propertyMap.get(c), b = f == null ? void 0 : f.type;
192
+ const n = `${(a == null ? void 0 : a.prefix) || ""}_${(a == null ? void 0 : a.key) || String(c)}`, f = t.propertyMap.get(c), b = f == null ? void 0 : f.type;
193
193
  if (f) {
194
- const j = f.initialValue;
195
- f.initialValue = () => ja(localStorage.getItem(s), b) ?? Ut(j), t.propertyMap.set(c, { ...f, ...a });
194
+ const L = f.initialValue;
195
+ f.initialValue = () => La(localStorage.getItem(n), b) ?? Ut(L), t.propertyMap.set(c, { ...f, ...a });
196
196
  }
197
- const x = i == null ? void 0 : i.set, V = {
197
+ const k = i == null ? void 0 : i.set, V = {
198
198
  ...i,
199
- set: function(j) {
200
- j !== void 0 && localStorage.setItem(s, b === Object || b === Array ? JSON.stringify(j) : j), x && x.call(this, j);
199
+ set: function(L) {
200
+ L !== void 0 && localStorage.setItem(n, b === Object || b === Array ? JSON.stringify(L) : L), k && k.call(this, L);
201
201
  }
202
202
  };
203
203
  Object.defineProperty(t.prototype, c, V);
@@ -214,53 +214,53 @@ var Gt = { exports: {} };
214
214
  a.exports ? a.exports = c() : t.log = c();
215
215
  })(Xt, function() {
216
216
  var t = function() {
217
- }, c = "undefined", i = typeof window !== c && typeof window.navigator !== c && /Trident\/|MSIE /.test(window.navigator.userAgent), s = [
217
+ }, c = "undefined", i = typeof window !== c && typeof window.navigator !== c && /Trident\/|MSIE /.test(window.navigator.userAgent), n = [
218
218
  "trace",
219
219
  "debug",
220
220
  "info",
221
221
  "warn",
222
222
  "error"
223
223
  ];
224
- function f(A, L) {
225
- var D = A[L];
224
+ function f(E, P) {
225
+ var D = E[P];
226
226
  if (typeof D.bind == "function")
227
- return D.bind(A);
227
+ return D.bind(E);
228
228
  try {
229
- return Function.prototype.bind.call(D, A);
229
+ return Function.prototype.bind.call(D, E);
230
230
  } catch {
231
231
  return function() {
232
- return Function.prototype.apply.apply(D, [A, arguments]);
232
+ return Function.prototype.apply.apply(D, [E, arguments]);
233
233
  };
234
234
  }
235
235
  }
236
236
  function b() {
237
237
  console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
238
238
  }
239
- function x(A) {
240
- return A === "debug" && (A = "log"), typeof console === c ? !1 : A === "trace" && i ? b : console[A] !== void 0 ? f(console, A) : console.log !== void 0 ? f(console, "log") : t;
239
+ function k(E) {
240
+ return E === "debug" && (E = "log"), typeof console === c ? !1 : E === "trace" && i ? b : console[E] !== void 0 ? f(console, E) : console.log !== void 0 ? f(console, "log") : t;
241
241
  }
242
- function _(A, L) {
243
- for (var D = 0; D < s.length; D++) {
244
- var M = s[D];
245
- this[M] = D < A ? t : this.methodFactory(M, A, L);
242
+ function S(E, P) {
243
+ for (var D = 0; D < n.length; D++) {
244
+ var $ = n[D];
245
+ this[$] = D < E ? t : this.methodFactory($, E, P);
246
246
  }
247
247
  this.log = this.debug;
248
248
  }
249
- function V(A, L, D) {
249
+ function V(E, P, D) {
250
250
  return function() {
251
- typeof console !== c && (_.call(this, L, D), this[A].apply(this, arguments));
251
+ typeof console !== c && (S.call(this, P, D), this[E].apply(this, arguments));
252
252
  };
253
253
  }
254
- function j(A, L, D) {
255
- return x(A) || V.apply(this, arguments);
254
+ function L(E, P, D) {
255
+ return k(E) || V.apply(this, arguments);
256
256
  }
257
- function T(A, L, D) {
258
- var M = this, de;
259
- L = L ?? "WARN";
257
+ function T(E, P, D) {
258
+ var $ = this, le;
259
+ P = P ?? "WARN";
260
260
  var ee = "loglevel";
261
- typeof A == "string" ? ee += ":" + A : typeof A == "symbol" && (ee = void 0);
261
+ typeof E == "string" ? ee += ":" + E : typeof E == "symbol" && (ee = void 0);
262
262
  function lt(y) {
263
- var ie = (s[y] || "silent").toUpperCase();
263
+ var ie = (n[y] || "silent").toUpperCase();
264
264
  if (!(typeof window === c || !ee)) {
265
265
  try {
266
266
  window.localStorage[ee] = ie;
@@ -273,7 +273,7 @@ var Gt = { exports: {} };
273
273
  }
274
274
  }
275
275
  }
276
- function Me() {
276
+ function Ie() {
277
277
  var y;
278
278
  if (!(typeof window === c || !ee)) {
279
279
  try {
@@ -288,7 +288,7 @@ var Gt = { exports: {} };
288
288
  te !== -1 && (y = /^([^;]+)/.exec(ie.slice(te))[1]);
289
289
  } catch {
290
290
  }
291
- return M.levels[y] === void 0 && (y = void 0), y;
291
+ return $.levels[y] === void 0 && (y = void 0), y;
292
292
  }
293
293
  }
294
294
  function Fe() {
@@ -304,54 +304,54 @@ var Gt = { exports: {} };
304
304
  }
305
305
  }
306
306
  }
307
- M.name = A, M.levels = {
307
+ $.name = E, $.levels = {
308
308
  TRACE: 0,
309
309
  DEBUG: 1,
310
310
  INFO: 2,
311
311
  WARN: 3,
312
312
  ERROR: 4,
313
313
  SILENT: 5
314
- }, M.methodFactory = D || j, M.getLevel = function() {
315
- return de;
316
- }, M.setLevel = function(y, ie) {
317
- if (typeof y == "string" && M.levels[y.toUpperCase()] !== void 0 && (y = M.levels[y.toUpperCase()]), typeof y == "number" && y >= 0 && y <= M.levels.SILENT) {
318
- if (de = y, ie !== !1 && lt(y), _.call(M, y, A), typeof console === c && y < M.levels.SILENT)
314
+ }, $.methodFactory = D || L, $.getLevel = function() {
315
+ return le;
316
+ }, $.setLevel = function(y, ie) {
317
+ if (typeof y == "string" && $.levels[y.toUpperCase()] !== void 0 && (y = $.levels[y.toUpperCase()]), typeof y == "number" && y >= 0 && y <= $.levels.SILENT) {
318
+ if (le = y, ie !== !1 && lt(y), S.call($, y, E), typeof console === c && y < $.levels.SILENT)
319
319
  return "No console available for logging";
320
320
  } else
321
321
  throw "log.setLevel() called with invalid level: " + y;
322
- }, M.setDefaultLevel = function(y) {
323
- L = y, Me() || M.setLevel(y, !1);
324
- }, M.resetLevel = function() {
325
- M.setLevel(L, !1), Fe();
326
- }, M.enableAll = function(y) {
327
- M.setLevel(M.levels.TRACE, y);
328
- }, M.disableAll = function(y) {
329
- M.setLevel(M.levels.SILENT, y);
322
+ }, $.setDefaultLevel = function(y) {
323
+ P = y, Ie() || $.setLevel(y, !1);
324
+ }, $.resetLevel = function() {
325
+ $.setLevel(P, !1), Fe();
326
+ }, $.enableAll = function(y) {
327
+ $.setLevel($.levels.TRACE, y);
328
+ }, $.disableAll = function(y) {
329
+ $.setLevel($.levels.SILENT, y);
330
330
  };
331
- var Se = Me();
332
- Se == null && (Se = L), M.setLevel(Se, !1);
331
+ var Se = Ie();
332
+ Se == null && (Se = P), $.setLevel(Se, !1);
333
333
  }
334
- var $ = new T(), F = {};
335
- $.getLogger = function(L) {
336
- if (typeof L != "symbol" && typeof L != "string" || L === "")
334
+ var A = new T(), F = {};
335
+ A.getLogger = function(P) {
336
+ if (typeof P != "symbol" && typeof P != "string" || P === "")
337
337
  throw new TypeError("You must supply a name when creating a logger.");
338
- var D = F[L];
339
- return D || (D = F[L] = new T(
340
- L,
341
- $.getLevel(),
342
- $.methodFactory
338
+ var D = F[P];
339
+ return D || (D = F[P] = new T(
340
+ P,
341
+ A.getLevel(),
342
+ A.methodFactory
343
343
  )), D;
344
344
  };
345
345
  var ce = typeof window !== c ? window.log : void 0;
346
- return $.noConflict = function() {
347
- return typeof window !== c && window.log === $ && (window.log = ce), $;
348
- }, $.getLoggers = function() {
346
+ return A.noConflict = function() {
347
+ return typeof window !== c && window.log === A && (window.log = ce), A;
348
+ }, A.getLoggers = function() {
349
349
  return F;
350
- }, $.default = $, $;
350
+ }, A.default = A, A;
351
351
  });
352
352
  })(Gt);
353
- var Pa = Gt.exports;
354
- const ft = /* @__PURE__ */ Zt(Pa), La = U`
353
+ var Oa = Gt.exports;
354
+ const ft = /* @__PURE__ */ Zt(Oa), Pa = U`
355
355
  :host {
356
356
  }
357
357
  .cb-wrapper {
@@ -418,7 +418,7 @@ const ft = /* @__PURE__ */ Zt(Pa), La = U`
418
418
  border-radius: 0;
419
419
  }
420
420
  }
421
- `, he = U`
421
+ `, ue = U`
422
422
  :host {
423
423
  --primary-color: var(--sl-color-primary-600);
424
424
  }
@@ -486,7 +486,7 @@ const ft = /* @__PURE__ */ Zt(Pa), La = U`
486
486
  text-decoration: underline;
487
487
  }
488
488
  `, Jt = U`
489
- ${he}
489
+ ${ue}
490
490
 
491
491
  :host {
492
492
  display: inline-flex;
@@ -508,37 +508,37 @@ const ft = /* @__PURE__ */ Zt(Pa), La = U`
508
508
  color: white;
509
509
  }
510
510
  `;
511
- var za = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, xt = (a, t, c, i) => {
512
- for (var s = i > 1 ? void 0 : i ? Ha(t, c) : t, f = a.length - 1, b; f >= 0; f--)
513
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
514
- return i && s && za(t, c, s), s;
511
+ var za = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, kt = (a, t, c, i) => {
512
+ for (var n = i > 1 ? void 0 : i ? Ha(t, c) : t, f = a.length - 1, b; f >= 0; f--)
513
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
514
+ return i && n && za(t, c, n), n;
515
515
  };
516
516
  let Be = class extends rt {
517
517
  constructor() {
518
518
  super(...arguments), this.color = "primary", this.svg = "";
519
519
  }
520
520
  render() {
521
- return w`<span class="cb-icon" part="base">${we(this.svg)}</span>`;
521
+ return w`<span class="cb-icon" part="base">${ke(this.svg)}</span>`;
522
522
  }
523
523
  };
524
524
  Be.styles = Jt;
525
- xt([
526
- k({ type: String })
525
+ kt([
526
+ C({ type: String })
527
527
  ], Be.prototype, "color", 2);
528
- xt([
529
- k({ type: String })
528
+ kt([
529
+ C({ type: String })
530
530
  ], Be.prototype, "svg", 2);
531
- Be = xt([
531
+ Be = kt([
532
532
  Y("cb-icon")
533
533
  ], Be);
534
534
  let Ba = (a) => crypto.getRandomValues(new Uint8Array(a)), qa = (a, t, c) => {
535
- let i = (2 << Math.log(a.length - 1) / Math.LN2) - 1, s = -~(1.6 * i * t / a.length);
535
+ let i = (2 << Math.log(a.length - 1) / Math.LN2) - 1, n = -~(1.6 * i * t / a.length);
536
536
  return (f = t) => {
537
537
  let b = "";
538
538
  for (; ; ) {
539
- let x = c(s), _ = s;
540
- for (; _--; )
541
- if (b += a[x[_] & i] || "", b.length === f)
539
+ let k = c(n), S = n;
540
+ for (; S--; )
541
+ if (b += a[k[S] & i] || "", b.length === f)
542
542
  return b;
543
543
  }
544
544
  };
@@ -583,8 +583,8 @@ class Na {
583
583
  }, 15e3);
584
584
  this._ws.onopen = () => {
585
585
  G.info(`WSC: Connection to ${c} opened`);
586
- }, this._ws.onmessage = (s) => {
587
- let f = (s == null ? void 0 : s.data) || null;
586
+ }, this._ws.onmessage = (n) => {
587
+ let f = (n == null ? void 0 : n.data) || null;
588
588
  if (!f)
589
589
  return;
590
590
  let b = null;
@@ -595,10 +595,10 @@ class Na {
595
595
  return;
596
596
  }
597
597
  (b == null ? void 0 : b.type) === "connected" && (G.info(`WS[${this.id}] Connected`), clearTimeout(i), this.connected = !0, this.sendQueuedMessages()), this.handleWscMessage(b);
598
- }, this._ws.onerror = (s) => {
598
+ }, this._ws.onerror = (n) => {
599
599
  G.error("WSC: Socket error"), clearTimeout(i), this.connected = !1, this._ws = null;
600
- }, this._ws.onclose = (s) => {
601
- G.info(`WSC: Closed - code:${s.code}, reason:"${s.reason}"`), this.connected = !1, this._ws = null, this.reconnect();
600
+ }, this._ws.onclose = (n) => {
601
+ G.info(`WSC: Closed - code:${n.code}, reason:"${n.reason}"`), this.connected = !1, this._ws = null, this.reconnect();
602
602
  };
603
603
  }
604
604
  reconnect() {
@@ -685,55 +685,55 @@ function Ee(a) {
685
685
  return arguments.length === 0 || q(c) ? t : a.apply(this, arguments);
686
686
  };
687
687
  }
688
- function le(a) {
688
+ function be(a) {
689
689
  return function t(c, i) {
690
690
  switch (arguments.length) {
691
691
  case 0:
692
692
  return t;
693
693
  case 1:
694
- return q(c) ? t : Ee(function(s) {
695
- return a(c, s);
694
+ return q(c) ? t : Ee(function(n) {
695
+ return a(c, n);
696
696
  });
697
697
  default:
698
- return q(c) && q(i) ? t : q(c) ? Ee(function(s) {
699
- return a(s, i);
700
- }) : q(i) ? Ee(function(s) {
701
- return a(c, s);
698
+ return q(c) && q(i) ? t : q(c) ? Ee(function(n) {
699
+ return a(n, i);
700
+ }) : q(i) ? Ee(function(n) {
701
+ return a(c, n);
702
702
  }) : a(c, i);
703
703
  }
704
704
  };
705
705
  }
706
706
  function Ua(a) {
707
- return function t(c, i, s) {
707
+ return function t(c, i, n) {
708
708
  switch (arguments.length) {
709
709
  case 0:
710
710
  return t;
711
711
  case 1:
712
- return q(c) ? t : le(function(f, b) {
712
+ return q(c) ? t : be(function(f, b) {
713
713
  return a(c, f, b);
714
714
  });
715
715
  case 2:
716
- return q(c) && q(i) ? t : q(c) ? le(function(f, b) {
716
+ return q(c) && q(i) ? t : q(c) ? be(function(f, b) {
717
717
  return a(f, i, b);
718
- }) : q(i) ? le(function(f, b) {
718
+ }) : q(i) ? be(function(f, b) {
719
719
  return a(c, f, b);
720
720
  }) : Ee(function(f) {
721
721
  return a(c, i, f);
722
722
  });
723
723
  default:
724
- return q(c) && q(i) && q(s) ? t : q(c) && q(i) ? le(function(f, b) {
725
- return a(f, b, s);
726
- }) : q(c) && q(s) ? le(function(f, b) {
724
+ return q(c) && q(i) && q(n) ? t : q(c) && q(i) ? be(function(f, b) {
725
+ return a(f, b, n);
726
+ }) : q(c) && q(n) ? be(function(f, b) {
727
727
  return a(f, i, b);
728
- }) : q(i) && q(s) ? le(function(f, b) {
728
+ }) : q(i) && q(n) ? be(function(f, b) {
729
729
  return a(c, f, b);
730
730
  }) : q(c) ? Ee(function(f) {
731
- return a(f, i, s);
731
+ return a(f, i, n);
732
732
  }) : q(i) ? Ee(function(f) {
733
- return a(c, f, s);
734
- }) : q(s) ? Ee(function(f) {
733
+ return a(c, f, n);
734
+ }) : q(n) ? Ee(function(f) {
735
735
  return a(c, i, f);
736
- }) : a(c, i, s);
736
+ }) : a(c, i, n);
737
737
  }
738
738
  };
739
739
  }
@@ -743,27 +743,27 @@ const Wa = Number.isInteger || function(t) {
743
743
  function Ya(a) {
744
744
  return Object.prototype.toString.call(a) === "[object String]";
745
745
  }
746
- var Xa = /* @__PURE__ */ le(function(t, c) {
746
+ var Xa = /* @__PURE__ */ be(function(t, c) {
747
747
  var i = t < 0 ? c.length + t : t;
748
748
  return Ya(c) ? c.charAt(i) : c[i];
749
749
  });
750
750
  const Za = Xa;
751
- var Ga = /* @__PURE__ */ le(function(t, c) {
751
+ var Ga = /* @__PURE__ */ be(function(t, c) {
752
752
  return c == null || c !== c ? t : c;
753
753
  });
754
754
  const Ja = Ga;
755
- var Ka = /* @__PURE__ */ le(function(t, c) {
755
+ var Ka = /* @__PURE__ */ be(function(t, c) {
756
756
  return t.map(function(i) {
757
- for (var s = c, f = 0, b; f < i.length; ) {
758
- if (s == null)
757
+ for (var n = c, f = 0, b; f < i.length; ) {
758
+ if (n == null)
759
759
  return;
760
- b = i[f], s = Wa(b) ? Za(b, s) : s[b], f += 1;
760
+ b = i[f], n = Wa(b) ? Za(b, n) : n[b], f += 1;
761
761
  }
762
- return s;
762
+ return n;
763
763
  });
764
764
  });
765
765
  const Qa = Ka;
766
- var ec = /* @__PURE__ */ le(function(t, c) {
766
+ var ec = /* @__PURE__ */ be(function(t, c) {
767
767
  return Qa([t], c)[0];
768
768
  });
769
769
  const tc = ec;
@@ -772,13 +772,13 @@ var ac = /* @__PURE__ */ Ua(function(t, c, i) {
772
772
  });
773
773
  const ut = ac, cc = "fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";
774
774
  var ic = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Z = (a, t, c, i) => {
775
- for (var s = i > 1 ? void 0 : i ? nc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
776
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
777
- return i && s && ic(t, c, s), s;
775
+ for (var n = i > 1 ? void 0 : i ? nc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
776
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
777
+ return i && n && ic(t, c, n), n;
778
778
  };
779
779
  const B = ft.noConflict();
780
780
  B.setLevel("info");
781
- const re = "cb_";
781
+ const oe = "cb_";
782
782
  class W extends Ke {
783
783
  constructor() {
784
784
  super(...arguments), this.actionIdCounter = 0, this.prefilledFormValues = {}, this.wsClient = null, this.replyMessage = null, this.streamingResponseInProgress = !1, this.streamingResponseBuffer = null, this.streamingResponseTagStartPos = 0;
@@ -801,18 +801,18 @@ class W extends Ke {
801
801
  if (!this.botSettingsInitialized) {
802
802
  const c = `${this.setting.url.startsWith("localhost") ? "http" : "https"}://${this.setting.url}/api/bot/settings/${this.setting.orgId}/${this.setting.botId}`;
803
803
  B.info(`Getting bot settings at ${c} ...`);
804
- let i = null, s = null;
804
+ let i = null, n = null;
805
805
  try {
806
806
  i = await fetch(c, {
807
807
  headers: {
808
808
  "Access-Control-Allow-Origin": "null",
809
809
  "X-Enegel-Signature": this.setting.botId
810
810
  }
811
- }), !i.ok || i.status !== 200 ? B.error(`Failed to get bot ${this.setting.botId} settings: ${i.status} ${i.statusText}`) : s = await i.json();
811
+ }), !i.ok || i.status !== 200 ? B.error(`Failed to get bot ${this.setting.botId} settings: ${i.status} ${i.statusText}`) : n = await i.json();
812
812
  } catch (f) {
813
- B.error(`Failed to get bot ${this.setting.botId} settings: ${f.message}`), s = null;
813
+ B.error(`Failed to get bot ${this.setting.botId} settings: ${f.message}`), n = null;
814
814
  }
815
- if (this.botSettingsInitialized = !0, this.botSettings = s, !s) {
815
+ if (this.botSettingsInitialized = !0, this.botSettings = n, !n) {
816
816
  if (B.error(`Unable to retrieve bot settings - bot disabled. Retry in ${this.botSettingsRetryTimeout} seconds.`), this.disabled = !0, this.botSettingsRetryTimeout > 80) {
817
817
  B.error("Failed to retrieve bot settings - bot disabled. Retries exhausted. Refresh page to attempt again.");
818
818
  return;
@@ -822,7 +822,7 @@ class W extends Ke {
822
822
  }, this.botSettingsRetryTimeout * 1e3), this.botSettingsRetryTimeout = this.botSettingsRetryTimeout * 2;
823
823
  return;
824
824
  }
825
- B.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(() => {
825
+ B.info("Got bot settings - bot is enabled", n), this.disabled = !1, this.setting.welcomeMessage = (n == null ? void 0 : n.welcomeMessage) || "How can I help ?", this.setting.engageMessage = (n == null ? void 0 : n.engageMessage) || "How can I help ?", this.setting.engageTimeout = (n == null ? void 0 : n.engageTimeout) || 5, this.setting.splitMessagesAtBreak = "splitMessagesAtBreak" in n ? n.splitMessagesAtBreak : !1, this.initConversation(), this.shouldEngage === "true" && setTimeout(() => {
826
826
  this.showEngagePopup();
827
827
  }, this.setting.engageTimeout * 1e3);
828
828
  }
@@ -865,22 +865,22 @@ class W extends Ke {
865
865
  const c = t, i = ut(null, ["name"], t);
866
866
  if (!c || !i)
867
867
  return;
868
- const s = ut(null, ["fields"], t);
869
- if (!Array.isArray(s) || s.length <= 0) {
868
+ const n = ut(null, ["fields"], t);
869
+ if (!Array.isArray(n) || n.length <= 0) {
870
870
  B.info("form has no fields", t);
871
871
  return;
872
872
  }
873
- const f = `${re}${this.setting.botId}.${this.conversationId}.form.${i}`, b = localStorage.getItem(f);
873
+ const f = `${oe}${this.setting.botId}.${this.conversationId}.form.${i}`, b = localStorage.getItem(f);
874
874
  if (b) {
875
- let x = null;
875
+ let k = null;
876
876
  try {
877
- x = JSON.parse(b);
878
- } catch (_) {
879
- B.error(`Failed to parse stored form data: ${_.message}`), x = null;
877
+ k = JSON.parse(b);
878
+ } catch (S) {
879
+ B.error(`Failed to parse stored form data: ${S.message}`), k = null;
880
880
  }
881
- if (x) {
882
- this.sendFormData(i, x).catch((_) => {
883
- B.error(`Error when submitting form: ${_.message}`);
881
+ if (k) {
882
+ this.sendFormData(i, k).catch((S) => {
883
+ B.error(`Error when submitting form: ${S.message}`);
884
884
  });
885
885
  return;
886
886
  }
@@ -896,8 +896,8 @@ class W extends Ke {
896
896
  B.info("Engaging User !"), this.engage = !0;
897
897
  const t = (f) => {
898
898
  const b = new Uint8Array(f.length / 2);
899
- for (let x = 0; x < b.length; x++)
900
- b[x] = parseInt(f.substr(x * 2, 2), 16);
899
+ for (let k = 0; k < b.length; k++)
900
+ b[k] = parseInt(f.substr(k * 2, 2), 16);
901
901
  return b;
902
902
  };
903
903
  let c = new Blob([t(cc)], { type: "application/octet-stream" });
@@ -935,8 +935,8 @@ class W extends Ke {
935
935
  }
936
936
  };
937
937
  "userName" in t && (i.data.userName = t.userName, this.connectWs = "true"), "userAvatar" in t && (i.data.userAvatar = t.userAvatar, this.connectWs = "true");
938
- const s = this.formatMessage(i);
939
- this.messages = this.messages.concat([s]);
938
+ const n = this.formatMessage(i);
939
+ this.messages = this.messages.concat([n]);
940
940
  }
941
941
  break;
942
942
  }
@@ -983,8 +983,8 @@ class W extends Ke {
983
983
  const i = this.streamingResponseBuffer.indexOf("<br>");
984
984
  if (i !== -1) {
985
985
  if (this.setting.splitMessagesAtBreak) {
986
- const s = this.streamingResponseBuffer.substring(0, i).trim(), f = this.streamingResponseBuffer.substring(i + 4).trim();
987
- B.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${s} next: ${f}`), this.replyMessage = this.updateMessage(this.replyMessage, s), this.replyMessage = { author: "assistant", type: "text", isThinking: !1, data: { text: "" } }, this.addMessage(this.replyMessage), c = f;
986
+ const n = this.streamingResponseBuffer.substring(0, i).trim(), f = this.streamingResponseBuffer.substring(i + 4).trim();
987
+ B.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${n} next: ${f}`), this.replyMessage = this.updateMessage(this.replyMessage, n), this.replyMessage = { author: "assistant", type: "text", isThinking: !1, data: { text: "" } }, this.addMessage(this.replyMessage), c = f;
988
988
  } else
989
989
  c = this.streamingResponseBuffer;
990
990
  this.streamingResponseBuffer = null, this.streamingResponseTagStartPos = 0;
@@ -1019,6 +1019,15 @@ class W extends Ke {
1019
1019
  this.actions = i.concat(this.actions);
1020
1020
  }
1021
1021
  }
1022
+ updateAction(t, c) {
1023
+ const i = this.actions.findIndex((n) => n.internalId === t.internalId);
1024
+ if (i !== -1) {
1025
+ const n = Object.assign({}, this.actions[i], c);
1026
+ this.actions.splice(i, 1, n);
1027
+ const f = [];
1028
+ this.actions = f.concat(this.actions);
1029
+ }
1030
+ }
1022
1031
  async sendMessage(t) {
1023
1032
  t = this.formatMessage(t), B.info("Send Message:", t), this.messages = this.messages.concat([t]), this.lastConversationUpdate = Date.now();
1024
1033
  const c = await this.getWsClient();
@@ -1053,7 +1062,7 @@ class W extends Ke {
1053
1062
  // update message
1054
1063
  updateMessage(t, c) {
1055
1064
  const i = this.formatMessage(t);
1056
- return i.isThinking = !1, c && (i.data.text += c), this.messages = this.messages.map((s) => s.id === i.id ? i : s), i;
1065
+ return i.isThinking = !1, c && (i.data.text += c), this.messages = this.messages.map((n) => n.id === i.id ? i : n), i;
1057
1066
  }
1058
1067
  // remove message
1059
1068
  removeMessage(t) {
@@ -1069,7 +1078,7 @@ class W extends Ke {
1069
1078
  B.info("submitForm: No form is active - ignored");
1070
1079
  return;
1071
1080
  }
1072
- const c = `${re}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;
1081
+ const c = `${oe}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;
1073
1082
  await this.sendFormData(this.form.name, t), localStorage.setItem(c, JSON.stringify(t)), this.form = null;
1074
1083
  }
1075
1084
  async sendFormData(t, c) {
@@ -1086,37 +1095,38 @@ class W extends Ke {
1086
1095
  }
1087
1096
  }
1088
1097
  Z([
1089
- pe({ prefix: re }),
1098
+ he({ prefix: oe }),
1090
1099
  X({ value: "en" })
1091
1100
  ], W.prototype, "language", 2);
1092
1101
  Z([
1093
- pe({ prefix: re }),
1102
+ he({ prefix: oe }),
1094
1103
  X({ value: "light" })
1095
1104
  ], W.prototype, "theme", 2);
1096
1105
  Z([
1097
- pe({ prefix: re }),
1106
+ he({ prefix: oe }),
1098
1107
  X({ type: Boolean, value: !1 })
1099
1108
  ], W.prototype, "open", 2);
1100
1109
  Z([
1101
1110
  X({ type: Boolean, value: !1 })
1102
1111
  ], W.prototype, "alwaysOpen", 2);
1103
1112
  Z([
1104
- pe({ prefix: re }),
1113
+ he({ prefix: oe }),
1105
1114
  X({ value: "false" })
1106
1115
  ], W.prototype, "connectWs", 2);
1107
1116
  Z([
1108
- pe({ prefix: re }),
1117
+ he({ prefix: oe }),
1109
1118
  X({ value: gt() })
1110
1119
  ], W.prototype, "conversationId", 2);
1111
1120
  Z([
1112
- pe({ prefix: re }),
1121
+ he({ prefix: oe }),
1113
1122
  X({ value: 0 })
1114
1123
  ], W.prototype, "lastConversationUpdate", 2);
1115
1124
  Z([
1116
- pe({ prefix: re }),
1125
+ he({ prefix: oe }),
1117
1126
  X({ type: Array, value: [] })
1118
1127
  ], W.prototype, "messages", 2);
1119
1128
  Z([
1129
+ he({ prefix: oe }),
1120
1130
  X({
1121
1131
  type: Array,
1122
1132
  value: []
@@ -1176,14 +1186,14 @@ Z([
1176
1186
  X({ type: Boolean, value: !0 })
1177
1187
  ], W.prototype, "disabled", 2);
1178
1188
  Z([
1179
- pe({ prefix: re }),
1189
+ he({ prefix: oe }),
1180
1190
  X({ value: "true" })
1181
1191
  ], W.prototype, "shouldEngage", 2);
1182
1192
  Z([
1183
1193
  X({ type: Boolean, value: !1 })
1184
1194
  ], W.prototype, "engage", 2);
1185
1195
  Z([
1186
- pe({ prefix: re }),
1196
+ he({ prefix: oe }),
1187
1197
  X({
1188
1198
  type: Object,
1189
1199
  value: {
@@ -1195,8 +1205,8 @@ Z([
1195
1205
  }
1196
1206
  })
1197
1207
  ], W.prototype, "setting", 2);
1198
- const S = new W(), sc = U`
1199
- ${he}
1208
+ const x = new W(), sc = U`
1209
+ ${ue}
1200
1210
  :host {
1201
1211
  position: relative;
1202
1212
  font-weight: bold;
@@ -1254,9 +1264,9 @@ const S = new W(), sc = U`
1254
1264
  }
1255
1265
  `;
1256
1266
  var oc = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, fc = (a, t, c, i) => {
1257
- for (var s = i > 1 ? void 0 : i ? rc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1258
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
1259
- return i && s && oc(t, c, s), s;
1267
+ for (var n = i > 1 ? void 0 : i ? rc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1268
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
1269
+ return i && n && oc(t, c, n), n;
1260
1270
  };
1261
1271
  class Q extends rt {
1262
1272
  constructor() {
@@ -1274,13 +1284,13 @@ class Q extends rt {
1274
1284
  }
1275
1285
  }
1276
1286
  fc([
1277
- k({ type: String })
1287
+ C({ type: String })
1278
1288
  ], Q.prototype, "lang", 2);
1279
1289
  const et = '<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>';
1280
1290
  var dc = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, Kt = (a, t, c, i) => {
1281
- for (var s = i > 1 ? void 0 : i ? lc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1282
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
1283
- return i && s && dc(t, c, s), s;
1291
+ for (var n = i > 1 ? void 0 : i ? lc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1292
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
1293
+ return i && n && dc(t, c, n), n;
1284
1294
  };
1285
1295
  let tt = class extends Q {
1286
1296
  constructor() {
@@ -1293,16 +1303,16 @@ let tt = class extends Q {
1293
1303
  */
1294
1304
  render() {
1295
1305
  return w` <header class="cb-header" part="header">
1296
- ${ue(
1297
- S.setting.logoUrl !== "",
1298
- () => w`<img class="cb-header-img" src="${S.setting.logoUrl}" />`,
1306
+ ${ge(
1307
+ x.setting.logoUrl !== "",
1308
+ () => w`<img class="cb-header-img" src="${x.setting.logoUrl}" />`,
1299
1309
  () => w`<sl-button class="cb-setting-button" variant="text" circle>
1300
- <cb-icon class="cb-header-logo" svg="${S.setting.logoSvg}"></cb-icon>
1310
+ <cb-icon class="cb-header-logo" svg="${x.setting.logoSvg}"></cb-icon>
1301
1311
  </sl-button>`
1302
1312
  )}
1303
1313
  <span class="center title">${this.title}</span>
1304
- ${ue(
1305
- S.alwaysOpen,
1314
+ ${ge(
1315
+ x.alwaysOpen,
1306
1316
  () => w``,
1307
1317
  () => w`<span class="right">
1308
1318
  <sl-button @click=${this._clickCloseHandler} class="cb-setting-button" variant="text" circle>
@@ -1325,13 +1335,13 @@ let tt = class extends Q {
1325
1335
  };
1326
1336
  tt.styles = sc;
1327
1337
  Kt([
1328
- k({ type: String, attribute: "title" })
1338
+ C({ type: String, attribute: "title" })
1329
1339
  ], tt.prototype, "title", 2);
1330
1340
  tt = Kt([
1331
1341
  Y("cb-header")
1332
1342
  ], tt);
1333
1343
  const bc = U`
1334
- ${he}
1344
+ ${ue}
1335
1345
  .cb-footer {
1336
1346
  line-height: 60px;
1337
1347
  font-size: 16px;
@@ -1346,9 +1356,9 @@ const bc = U`
1346
1356
  }
1347
1357
  `;
1348
1358
  var hc = Object.defineProperty, uc = Object.getOwnPropertyDescriptor, pc = (a, t, c, i) => {
1349
- for (var s = i > 1 ? void 0 : i ? uc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1350
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
1351
- return i && s && hc(t, c, s), s;
1359
+ for (var n = i > 1 ? void 0 : i ? uc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
1360
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
1361
+ return i && n && hc(t, c, n), n;
1352
1362
  };
1353
1363
  let mt = class extends Q {
1354
1364
  constructor() {
@@ -1390,7 +1400,7 @@ mt = pc([
1390
1400
  Y("cb-footer")
1391
1401
  ], mt);
1392
1402
  const gc = U`
1393
- ${he}
1403
+ ${ue}
1394
1404
 
1395
1405
  :host {
1396
1406
  width: 100%;
@@ -1478,7 +1488,7 @@ const gc = U`
1478
1488
  border-radius: 6px;
1479
1489
  cursor: pointer;
1480
1490
  color: rgba(255, 255, 255, 1);
1481
- background-color: #ff9119;
1491
+ background-color: #f97316; //#ff9119;
1482
1492
  display: flex;
1483
1493
  align-items: center;
1484
1494
  font-size: 14px;
@@ -1508,7 +1518,8 @@ const gc = U`
1508
1518
  transition: background 0.8s;
1509
1519
  }
1510
1520
  .ripple:hover {
1511
- background: #ff9119 radial-gradient(circle, transparent 1%, #ff9119 1%) center/15000%;
1521
+ //background: #ff9119 radial-gradient(circle, transparent 1%, #ff9119 1%) center/15000%;
1522
+ background: #ea580c radial-gradient(circle, transparent 1%, #ea580c 1%) center/15000%;
1512
1523
  }
1513
1524
  .ripple:active {
1514
1525
  background-color: #fdba74;
@@ -1532,34 +1543,34 @@ var Qt = { exports: {} };
1532
1543
  if (!(r instanceof e))
1533
1544
  throw new TypeError("Cannot call a class as a function");
1534
1545
  }
1535
- function s(r, e) {
1536
- for (var n = 0; n < e.length; n++) {
1537
- var o = e[n];
1546
+ function n(r, e) {
1547
+ for (var s = 0; s < e.length; s++) {
1548
+ var o = e[s];
1538
1549
  o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(r, o.key, o);
1539
1550
  }
1540
1551
  }
1541
- function f(r, e, n) {
1542
- return e && s(r.prototype, e), n && s(r, n), r;
1552
+ function f(r, e, s) {
1553
+ return e && n(r.prototype, e), s && n(r, s), r;
1543
1554
  }
1544
1555
  var b = Date.now();
1545
- function x() {
1546
- var r = {}, e = !0, n = 0, o = arguments.length;
1547
- Object.prototype.toString.call(arguments[0]) === "[object Boolean]" && (e = arguments[0], n++);
1556
+ function k() {
1557
+ var r = {}, e = !0, s = 0, o = arguments.length;
1558
+ Object.prototype.toString.call(arguments[0]) === "[object Boolean]" && (e = arguments[0], s++);
1548
1559
  for (var d = function(h) {
1549
1560
  for (var u in h)
1550
- Object.prototype.hasOwnProperty.call(h, u) && (e && Object.prototype.toString.call(h[u]) === "[object Object]" ? r[u] = x(!0, r[u], h[u]) : r[u] = h[u]);
1551
- }; n < o; n++) {
1552
- var l = arguments[n];
1561
+ Object.prototype.hasOwnProperty.call(h, u) && (e && Object.prototype.toString.call(h[u]) === "[object Object]" ? r[u] = k(!0, r[u], h[u]) : r[u] = h[u]);
1562
+ }; s < o; s++) {
1563
+ var l = arguments[s];
1553
1564
  d(l);
1554
1565
  }
1555
1566
  return r;
1556
1567
  }
1557
- function _(r, e) {
1558
- if ((te(r) || r === window || r === document) && (r = [r]), Ct(r) || Ie(r) || (r = [r]), Tt(r) != 0) {
1559
- if (Ct(r) && !Ie(r))
1560
- for (var n = r.length, o = 0; o < n && e.call(r[o], r[o], o, r) !== !1; o++)
1568
+ function S(r, e) {
1569
+ if ((te(r) || r === window || r === document) && (r = [r]), Tt(r) || Le(r) || (r = [r]), Mt(r) != 0) {
1570
+ if (Tt(r) && !Le(r))
1571
+ for (var s = r.length, o = 0; o < s && e.call(r[o], r[o], o, r) !== !1; o++)
1561
1572
  ;
1562
- else if (Ie(r)) {
1573
+ else if (Le(r)) {
1563
1574
  for (var d in r)
1564
1575
  if (N(r, d) && e.call(r[d], r[d], d, r) === !1)
1565
1576
  break;
@@ -1567,35 +1578,35 @@ var Qt = { exports: {} };
1567
1578
  }
1568
1579
  }
1569
1580
  function V(r) {
1570
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, o = r[b] = r[b] || [], d = { all: o, evt: null, found: null };
1571
- return e && n && Tt(o) > 0 && _(o, function(l, h) {
1572
- if (l.eventName == e && l.fn.toString() == n.toString())
1581
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, o = r[b] = r[b] || [], d = { all: o, evt: null, found: null };
1582
+ return e && s && Mt(o) > 0 && S(o, function(l, h) {
1583
+ if (l.eventName == e && l.fn.toString() == s.toString())
1573
1584
  return d.found = !0, d.evt = h, !1;
1574
1585
  }), d;
1575
1586
  }
1576
- function j(r) {
1577
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.onElement, o = e.withCallback, d = e.avoidDuplicate, l = d === void 0 || d, h = e.once, u = h !== void 0 && h, p = e.useCapture, v = p !== void 0 && p, g = arguments.length > 2 ? arguments[2] : void 0, m = n || [];
1578
- function E(C) {
1579
- y(o) && o.call(g, C, this), u && E.destroy();
1587
+ function L(r) {
1588
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = e.onElement, o = e.withCallback, d = e.avoidDuplicate, l = d === void 0 || d, h = e.once, u = h !== void 0 && h, p = e.useCapture, v = p !== void 0 && p, g = arguments.length > 2 ? arguments[2] : void 0, m = s || [];
1589
+ function M(_) {
1590
+ y(o) && o.call(g, _, this), u && M.destroy();
1580
1591
  }
1581
- return ie(m) && (m = document.querySelectorAll(m)), E.destroy = function() {
1582
- _(m, function(C) {
1583
- var O = V(C, r, E);
1584
- O.found && O.all.splice(O.evt, 1), C.removeEventListener && C.removeEventListener(r, E, v);
1592
+ return ie(m) && (m = document.querySelectorAll(m)), M.destroy = function() {
1593
+ S(m, function(_) {
1594
+ var j = V(_, r, M);
1595
+ j.found && j.all.splice(j.evt, 1), _.removeEventListener && _.removeEventListener(r, M, v);
1585
1596
  });
1586
- }, _(m, function(C) {
1587
- var O = V(C, r, E);
1588
- (C.addEventListener && l && !O.found || !l) && (C.addEventListener(r, E, v), O.all.push({ eventName: r, fn: E }));
1589
- }), E;
1597
+ }, S(m, function(_) {
1598
+ var j = V(_, r, M);
1599
+ (_.addEventListener && l && !j.found || !l) && (_.addEventListener(r, M, v), j.all.push({ eventName: r, fn: M }));
1600
+ }), M;
1590
1601
  }
1591
1602
  function T(r, e) {
1592
- _(e.split(" "), function(n) {
1593
- return r.classList.add(n);
1603
+ S(e.split(" "), function(s) {
1604
+ return r.classList.add(s);
1594
1605
  });
1595
1606
  }
1596
- function $(r, e) {
1597
- _(e.split(" "), function(n) {
1598
- return r.classList.remove(n);
1607
+ function A(r, e) {
1608
+ S(e.split(" "), function(s) {
1609
+ return r.classList.remove(s);
1599
1610
  });
1600
1611
  }
1601
1612
  function F(r, e) {
@@ -1609,22 +1620,22 @@ var Qt = { exports: {} };
1609
1620
  return r;
1610
1621
  }
1611
1622
  }
1612
- function A(r) {
1613
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
1623
+ function E(r) {
1624
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", s = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
1614
1625
  if (!r || e === "")
1615
1626
  return !1;
1616
1627
  if (e === "none")
1617
- return y(n) && n(), !1;
1628
+ return y(s) && s(), !1;
1618
1629
  var o = lt(), d = e.split(" ");
1619
- _(d, function(l) {
1630
+ S(d, function(l) {
1620
1631
  T(r, "g" + l);
1621
- }), j(o, { onElement: r, avoidDuplicate: !1, once: !0, withCallback: function(l, h) {
1622
- _(d, function(u) {
1623
- $(h, "g" + u);
1624
- }), y(n) && n();
1632
+ }), L(o, { onElement: r, avoidDuplicate: !1, once: !0, withCallback: function(l, h) {
1633
+ S(d, function(u) {
1634
+ A(h, "g" + u);
1635
+ }), y(s) && s();
1625
1636
  } });
1626
1637
  }
1627
- function L(r) {
1638
+ function P(r) {
1628
1639
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
1629
1640
  if (e === "")
1630
1641
  return r.style.webkitTransform = "", r.style.MozTransform = "", r.style.msTransform = "", r.style.OTransform = "", r.style.transform = "", !1;
@@ -1633,72 +1644,72 @@ var Qt = { exports: {} };
1633
1644
  function D(r) {
1634
1645
  r.style.display = "block";
1635
1646
  }
1636
- function M(r) {
1647
+ function $(r) {
1637
1648
  r.style.display = "none";
1638
1649
  }
1639
- function de(r) {
1640
- var e = document.createDocumentFragment(), n = document.createElement("div");
1641
- for (n.innerHTML = r; n.firstChild; )
1642
- e.appendChild(n.firstChild);
1650
+ function le(r) {
1651
+ var e = document.createDocumentFragment(), s = document.createElement("div");
1652
+ for (s.innerHTML = r; s.firstChild; )
1653
+ e.appendChild(s.firstChild);
1643
1654
  return e;
1644
1655
  }
1645
1656
  function ee() {
1646
1657
  return { width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, height: window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight };
1647
1658
  }
1648
1659
  function lt() {
1649
- var r, e = document.createElement("fakeelement"), n = { animation: "animationend", OAnimation: "oAnimationEnd", MozAnimation: "animationend", WebkitAnimation: "webkitAnimationEnd" };
1650
- for (r in n)
1660
+ var r, e = document.createElement("fakeelement"), s = { animation: "animationend", OAnimation: "oAnimationEnd", MozAnimation: "animationend", WebkitAnimation: "webkitAnimationEnd" };
1661
+ for (r in s)
1651
1662
  if (e.style[r] !== void 0)
1652
- return n[r];
1663
+ return s[r];
1653
1664
  }
1654
- function Me(r, e, n, o) {
1665
+ function Ie(r, e, s, o) {
1655
1666
  if (r())
1656
1667
  e();
1657
1668
  else {
1658
1669
  var d;
1659
- n || (n = 100);
1670
+ s || (s = 100);
1660
1671
  var l = setInterval(function() {
1661
1672
  r() && (clearInterval(l), d && clearTimeout(d), e());
1662
- }, n);
1673
+ }, s);
1663
1674
  o && (d = setTimeout(function() {
1664
1675
  clearInterval(l);
1665
1676
  }, o));
1666
1677
  }
1667
1678
  }
1668
- function Fe(r, e, n) {
1679
+ function Fe(r, e, s) {
1669
1680
  if (ne(r))
1670
1681
  console.error("Inject assets error");
1671
- else if (y(e) && (n = e, e = !1), ie(e) && e in window)
1672
- y(n) && n();
1682
+ else if (y(e) && (s = e, e = !1), ie(e) && e in window)
1683
+ y(s) && s();
1673
1684
  else {
1674
1685
  var o;
1675
1686
  if (r.indexOf(".css") !== -1) {
1676
1687
  if ((o = document.querySelectorAll('link[href="' + r + '"]')) && o.length > 0)
1677
- return void (y(n) && n());
1688
+ return void (y(s) && s());
1678
1689
  var d = document.getElementsByTagName("head")[0], l = d.querySelectorAll('link[rel="stylesheet"]'), h = document.createElement("link");
1679
- return h.rel = "stylesheet", h.type = "text/css", h.href = r, h.media = "all", l ? d.insertBefore(h, l[0]) : d.appendChild(h), void (y(n) && n());
1690
+ return h.rel = "stylesheet", h.type = "text/css", h.href = r, h.media = "all", l ? d.insertBefore(h, l[0]) : d.appendChild(h), void (y(s) && s());
1680
1691
  }
1681
1692
  if ((o = document.querySelectorAll('script[src="' + r + '"]')) && o.length > 0) {
1682
- if (y(n)) {
1693
+ if (y(s)) {
1683
1694
  if (ie(e))
1684
- return Me(function() {
1695
+ return Ie(function() {
1685
1696
  return window[e] !== void 0;
1686
1697
  }, function() {
1687
- n();
1698
+ s();
1688
1699
  }), !1;
1689
- n();
1700
+ s();
1690
1701
  }
1691
1702
  } else {
1692
1703
  var u = document.createElement("script");
1693
1704
  u.type = "text/javascript", u.src = r, u.onload = function() {
1694
- if (y(n)) {
1705
+ if (y(s)) {
1695
1706
  if (ie(e))
1696
- return Me(function() {
1707
+ return Ie(function() {
1697
1708
  return window[e] !== void 0;
1698
1709
  }, function() {
1699
- n();
1710
+ s();
1700
1711
  }), !1;
1701
- n();
1712
+ s();
1702
1713
  }
1703
1714
  }, document.body.appendChild(u);
1704
1715
  }
@@ -1719,10 +1730,10 @@ var Qt = { exports: {} };
1719
1730
  function Ne(r) {
1720
1731
  return Array.isArray(r);
1721
1732
  }
1722
- function Ct(r) {
1733
+ function Tt(r) {
1723
1734
  return r && r.length && isFinite(r.length);
1724
1735
  }
1725
- function Ie(r) {
1736
+ function Le(r) {
1726
1737
  return c(r) === "object" && r != null && !y(r) && !Ne(r);
1727
1738
  }
1728
1739
  function ne(r) {
@@ -1731,13 +1742,13 @@ var Qt = { exports: {} };
1731
1742
  function N(r, e) {
1732
1743
  return r !== null && hasOwnProperty.call(r, e);
1733
1744
  }
1734
- function Tt(r) {
1735
- if (Ie(r)) {
1745
+ function Mt(r) {
1746
+ if (Le(r)) {
1736
1747
  if (r.keys)
1737
1748
  return r.keys().length;
1738
1749
  var e = 0;
1739
- for (var n in r)
1740
- N(r, n) && e++;
1750
+ for (var s in r)
1751
+ N(r, s) && e++;
1741
1752
  return e;
1742
1753
  }
1743
1754
  return r.length;
@@ -1752,15 +1763,15 @@ var Qt = { exports: {} };
1752
1763
  if (e.length == 1)
1753
1764
  return e[0];
1754
1765
  typeof r == "string" && (r = parseInt(r));
1755
- var n = [];
1756
- _(e, function(u) {
1757
- n.push(u.getAttribute("data-taborder"));
1766
+ var s = [];
1767
+ S(e, function(u) {
1768
+ s.push(u.getAttribute("data-taborder"));
1758
1769
  });
1759
- var o = Math.max.apply(Math, n.map(function(u) {
1770
+ var o = Math.max.apply(Math, s.map(function(u) {
1760
1771
  return parseInt(u);
1761
1772
  })), d = r < 0 ? 1 : r + 1;
1762
1773
  d > o && (d = "1");
1763
- var l = n.filter(function(u) {
1774
+ var l = s.filter(function(u) {
1764
1775
  return u >= parseInt(d);
1765
1776
  }), h = l.sort()[0];
1766
1777
  return document.querySelector('.gbtn[data-taborder="'.concat(h, '"]'));
@@ -1768,7 +1779,7 @@ var Qt = { exports: {} };
1768
1779
  function fa(r) {
1769
1780
  if (r.events.hasOwnProperty("keyboard"))
1770
1781
  return !1;
1771
- r.events.keyboard = j("keydown", { onElement: window, withCallback: function(e, n) {
1782
+ r.events.keyboard = L("keydown", { onElement: window, withCallback: function(e, s) {
1772
1783
  var o = (e = e || window.event).keyCode;
1773
1784
  if (o == 9) {
1774
1785
  var d = document.querySelector(".gbtn.focused");
@@ -1786,7 +1797,7 @@ var Qt = { exports: {} };
1786
1797
  return void (u && (u.focus(), T(u, "focused")));
1787
1798
  }
1788
1799
  var p = Et(d.getAttribute("data-taborder"));
1789
- $(d, "focused"), p && (p.focus(), T(p, "focused"));
1800
+ A(d, "focused"), p && (p.focus(), T(p, "focused"));
1790
1801
  }
1791
1802
  o == 39 && r.nextSlide(), o == 37 && r.prevSlide(), o == 27 && r.close();
1792
1803
  } });
@@ -1795,7 +1806,7 @@ var Qt = { exports: {} };
1795
1806
  return Math.sqrt(r.x * r.x + r.y * r.y);
1796
1807
  }
1797
1808
  function da(r, e) {
1798
- var n = function(o, d) {
1809
+ var s = function(o, d) {
1799
1810
  var l = We(o) * We(d);
1800
1811
  if (l === 0)
1801
1812
  return 0;
@@ -1806,7 +1817,7 @@ var Qt = { exports: {} };
1806
1817
  }(r, e);
1807
1818
  return function(o, d) {
1808
1819
  return o.x * d.y - d.x * o.y;
1809
- }(r, e) > 0 && (n *= -1), 180 * n / Math.PI;
1820
+ }(r, e) > 0 && (s *= -1), 180 * s / Math.PI;
1810
1821
  }
1811
1822
  var la = function() {
1812
1823
  function r(e) {
@@ -1816,25 +1827,25 @@ var Qt = { exports: {} };
1816
1827
  this.handlers.push(e);
1817
1828
  } }, { key: "del", value: function(e) {
1818
1829
  e || (this.handlers = []);
1819
- for (var n = this.handlers.length; n >= 0; n--)
1820
- this.handlers[n] === e && this.handlers.splice(n, 1);
1830
+ for (var s = this.handlers.length; s >= 0; s--)
1831
+ this.handlers[s] === e && this.handlers.splice(s, 1);
1821
1832
  } }, { key: "dispatch", value: function() {
1822
- for (var e = 0, n = this.handlers.length; e < n; e++) {
1833
+ for (var e = 0, s = this.handlers.length; e < s; e++) {
1823
1834
  var o = this.handlers[e];
1824
1835
  typeof o == "function" && o.apply(this.el, arguments);
1825
1836
  }
1826
1837
  } }]), r;
1827
1838
  }();
1828
1839
  function J(r, e) {
1829
- var n = new la(r);
1830
- return n.add(e), n;
1840
+ var s = new la(r);
1841
+ return s.add(e), s;
1831
1842
  }
1832
1843
  var ba = function() {
1833
- function r(e, n) {
1844
+ function r(e, s) {
1834
1845
  i(this, r), this.element = typeof e == "string" ? document.querySelector(e) : e, 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;
1835
1846
  var o = function() {
1836
1847
  };
1837
- this.rotate = J(this.element, n.rotate || o), this.touchStart = J(this.element, n.touchStart || o), this.multipointStart = J(this.element, n.multipointStart || o), this.multipointEnd = J(this.element, n.multipointEnd || o), this.pinch = J(this.element, n.pinch || o), this.swipe = J(this.element, n.swipe || o), this.tap = J(this.element, n.tap || o), this.doubleTap = J(this.element, n.doubleTap || o), this.longTap = J(this.element, n.longTap || o), this.singleTap = J(this.element, n.singleTap || o), this.pressMove = J(this.element, n.pressMove || o), this.twoFingerPressMove = J(this.element, n.twoFingerPressMove || o), this.touchMove = J(this.element, n.touchMove || o), this.touchEnd = J(this.element, n.touchEnd || o), this.touchCancel = J(this.element, n.touchCancel || o), 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 };
1848
+ this.rotate = J(this.element, s.rotate || o), this.touchStart = J(this.element, s.touchStart || o), this.multipointStart = J(this.element, s.multipointStart || o), this.multipointEnd = J(this.element, s.multipointEnd || o), this.pinch = J(this.element, s.pinch || o), this.swipe = J(this.element, s.swipe || o), this.tap = J(this.element, s.tap || o), this.doubleTap = J(this.element, s.doubleTap || o), this.longTap = J(this.element, s.longTap || o), this.singleTap = J(this.element, s.singleTap || o), this.pressMove = J(this.element, s.pressMove || o), this.twoFingerPressMove = J(this.element, s.twoFingerPressMove || o), this.touchMove = J(this.element, s.touchMove || o), this.touchEnd = J(this.element, s.touchEnd || o), this.touchCancel = J(this.element, s.touchCancel || o), 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 };
1838
1849
  }
1839
1850
  return f(r, [{ key: "start", value: function(e) {
1840
1851
  if (e.touches)
@@ -1842,11 +1853,11 @@ var Qt = { exports: {} };
1842
1853
  console.log("ignore drag for this touched element", e.target.nodeName.toLowerCase());
1843
1854
  else {
1844
1855
  this.now = Date.now(), this.x1 = e.touches[0].pageX, this.y1 = e.touches[0].pageY, this.delta = this.now - (this.last || this.now), this.touchStart.dispatch(e, 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;
1845
- var n = this.preV;
1856
+ var s = this.preV;
1846
1857
  if (e.touches.length > 1) {
1847
1858
  this._cancelLongTap(), this._cancelSingleTap();
1848
1859
  var o = { x: e.touches[1].pageX - this.x1, y: e.touches[1].pageY - this.y1 };
1849
- n.x = o.x, n.y = o.y, this.pinchStartLen = We(n), this.multipointStart.dispatch(e, this.element);
1860
+ s.x = o.x, s.y = o.y, this.pinchStartLen = We(s), this.multipointStart.dispatch(e, this.element);
1850
1861
  }
1851
1862
  this._preventTap = !1, this.longTapTimeout = setTimeout((function() {
1852
1863
  this.longTap.dispatch(e, this.element), this._preventTap = !0;
@@ -1854,10 +1865,10 @@ var Qt = { exports: {} };
1854
1865
  }
1855
1866
  } }, { key: "move", value: function(e) {
1856
1867
  if (e.touches) {
1857
- var n = this.preV, o = e.touches.length, d = e.touches[0].pageX, l = e.touches[0].pageY;
1868
+ var s = this.preV, o = e.touches.length, d = e.touches[0].pageX, l = e.touches[0].pageY;
1858
1869
  if (this.isDoubleTap = !1, o > 1) {
1859
1870
  var h = e.touches[1].pageX, u = e.touches[1].pageY, p = { x: e.touches[1].pageX - d, y: e.touches[1].pageY - l };
1860
- n.x !== null && (this.pinchStartLen > 0 && (e.zoom = We(p) / this.pinchStartLen, this.pinch.dispatch(e, this.element)), e.angle = da(p, n), this.rotate.dispatch(e, this.element)), n.x = p.x, n.y = p.y, this.x2 !== null && this.sx2 !== null ? (e.deltaX = (d - this.x2 + h - this.sx2) / 2, e.deltaY = (l - this.y2 + u - this.sy2) / 2) : (e.deltaX = 0, e.deltaY = 0), this.twoFingerPressMove.dispatch(e, this.element), this.sx2 = h, this.sy2 = u;
1871
+ s.x !== null && (this.pinchStartLen > 0 && (e.zoom = We(p) / this.pinchStartLen, this.pinch.dispatch(e, this.element)), e.angle = da(p, s), this.rotate.dispatch(e, this.element)), s.x = p.x, s.y = p.y, this.x2 !== null && this.sx2 !== null ? (e.deltaX = (d - this.x2 + h - this.sx2) / 2, e.deltaY = (l - this.y2 + u - this.sy2) / 2) : (e.deltaX = 0, e.deltaY = 0), this.twoFingerPressMove.dispatch(e, this.element), this.sx2 = h, this.sy2 = u;
1861
1872
  } else {
1862
1873
  if (this.x2 !== null) {
1863
1874
  e.deltaX = d - this.x2, e.deltaY = l - this.y2;
@@ -1872,13 +1883,13 @@ var Qt = { exports: {} };
1872
1883
  } }, { key: "end", value: function(e) {
1873
1884
  if (e.changedTouches) {
1874
1885
  this._cancelLongTap();
1875
- var n = this;
1886
+ var s = this;
1876
1887
  e.touches.length < 2 && (this.multipointEnd.dispatch(e, 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 ? (e.direction = this._swipeDirection(this.x1, this.x2, this.y1, this.y2), this.swipeTimeout = setTimeout(function() {
1877
- n.swipe.dispatch(e, n.element);
1888
+ s.swipe.dispatch(e, s.element);
1878
1889
  }, 0)) : (this.tapTimeout = setTimeout(function() {
1879
- n._preventTap || n.tap.dispatch(e, n.element), n.isDoubleTap && (n.doubleTap.dispatch(e, n.element), n.isDoubleTap = !1);
1880
- }, 0), n.isDoubleTap || (n.singleTapTimeout = setTimeout(function() {
1881
- n.singleTap.dispatch(e, n.element);
1890
+ s._preventTap || s.tap.dispatch(e, s.element), s.isDoubleTap && (s.doubleTap.dispatch(e, s.element), s.isDoubleTap = !1);
1891
+ }, 0), s.isDoubleTap || (s.singleTapTimeout = setTimeout(function() {
1892
+ s.singleTap.dispatch(e, s.element);
1882
1893
  }, 250))), this.touchEnd.dispatch(e, 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;
1883
1894
  }
1884
1895
  } }, { key: "cancelAll", value: function() {
@@ -1889,12 +1900,12 @@ var Qt = { exports: {} };
1889
1900
  clearTimeout(this.longTapTimeout);
1890
1901
  } }, { key: "_cancelSingleTap", value: function() {
1891
1902
  clearTimeout(this.singleTapTimeout);
1892
- } }, { key: "_swipeDirection", value: function(e, n, o, d) {
1893
- return Math.abs(e - n) >= Math.abs(o - d) ? e - n > 0 ? "Left" : "Right" : o - d > 0 ? "Up" : "Down";
1894
- } }, { key: "on", value: function(e, n) {
1895
- this[e] && this[e].add(n);
1896
- } }, { key: "off", value: function(e, n) {
1897
- this[e] && this[e].del(n);
1903
+ } }, { key: "_swipeDirection", value: function(e, s, o, d) {
1904
+ return Math.abs(e - s) >= Math.abs(o - d) ? e - s > 0 ? "Left" : "Right" : o - d > 0 ? "Up" : "Down";
1905
+ } }, { key: "on", value: function(e, s) {
1906
+ this[e] && this[e].add(s);
1907
+ } }, { key: "off", value: function(e, s) {
1908
+ this[e] && this[e].del(s);
1898
1909
  } }, { key: "destroy", value: function() {
1899
1910
  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;
1900
1911
  } }]), r;
@@ -1905,86 +1916,86 @@ var Qt = { exports: {} };
1905
1916
  for (h in p)
1906
1917
  if (u.style[h] !== void 0)
1907
1918
  return p[h];
1908
- }(), n = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, o = F(r, "gslide-media") ? r : r.querySelector(".gslide-media"), d = ce(o, ".ginner-container"), l = r.querySelector(".gslide-description");
1909
- n > 769 && (o = d), T(o, "greset"), L(o, "translate3d(0, 0, 0)"), j(e, { onElement: o, once: !0, withCallback: function(h, u) {
1910
- $(o, "greset");
1919
+ }(), s = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, o = F(r, "gslide-media") ? r : r.querySelector(".gslide-media"), d = ce(o, ".ginner-container"), l = r.querySelector(".gslide-description");
1920
+ s > 769 && (o = d), T(o, "greset"), P(o, "translate3d(0, 0, 0)"), L(e, { onElement: o, once: !0, withCallback: function(h, u) {
1921
+ A(o, "greset");
1911
1922
  } }), o.style.opacity = "", l && (l.style.opacity = "");
1912
1923
  }
1913
1924
  function ha(r) {
1914
1925
  if (r.events.hasOwnProperty("touch"))
1915
1926
  return !1;
1916
- var e, n, o, d = ee(), l = d.width, h = d.height, u = !1, p = null, v = null, g = null, m = !1, E = 1, C = 1, O = !1, z = !1, I = null, oe = null, ae = null, me = null, ye = 0, _e = 0, je = !1, ht = !1, Ce = {}, Te = {}, Ot = 0, Pt = 0, ka = document.getElementById("glightbox-slider"), Xe = document.querySelector(".goverlay"), Sa = new ba(ka, { touchStart: function(P) {
1917
- if (u = !0, (F(P.targetTouches[0].target, "ginner-container") || ce(P.targetTouches[0].target, ".gslide-desc") || P.targetTouches[0].target.nodeName.toLowerCase() == "a") && (u = !1), ce(P.targetTouches[0].target, ".gslide-inline") && !F(P.targetTouches[0].target.parentNode, "gslide-inline") && (u = !1), u) {
1918
- if (Te = P.targetTouches[0], Ce.pageX = P.targetTouches[0].pageX, Ce.pageY = P.targetTouches[0].pageY, Ot = P.targetTouches[0].clientX, Pt = P.targetTouches[0].clientY, p = r.activeSlide, v = p.querySelector(".gslide-media"), o = p.querySelector(".gslide-inline"), g = null, F(v, "gslide-image") && (g = v.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (v = p.querySelector(".ginner-container")), $(Xe, "greset"), P.pageX > 20 && P.pageX < window.innerWidth - 20)
1927
+ var e, s, o, d = ee(), l = d.width, h = d.height, u = !1, p = null, v = null, g = null, m = !1, M = 1, _ = 1, j = !1, z = !1, I = null, re = null, ae = null, ve = null, we = 0, _e = 0, je = !1, ht = !1, Te = {}, Me = {}, Ot = 0, Pt = 0, ka = document.getElementById("glightbox-slider"), Xe = document.querySelector(".goverlay"), Ca = new ba(ka, { touchStart: function(O) {
1928
+ if (u = !0, (F(O.targetTouches[0].target, "ginner-container") || ce(O.targetTouches[0].target, ".gslide-desc") || O.targetTouches[0].target.nodeName.toLowerCase() == "a") && (u = !1), ce(O.targetTouches[0].target, ".gslide-inline") && !F(O.targetTouches[0].target.parentNode, "gslide-inline") && (u = !1), u) {
1929
+ if (Me = O.targetTouches[0], Te.pageX = O.targetTouches[0].pageX, Te.pageY = O.targetTouches[0].pageY, Ot = O.targetTouches[0].clientX, Pt = O.targetTouches[0].clientY, p = r.activeSlide, v = p.querySelector(".gslide-media"), o = p.querySelector(".gslide-inline"), g = null, F(v, "gslide-image") && (g = v.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (v = p.querySelector(".ginner-container")), A(Xe, "greset"), O.pageX > 20 && O.pageX < window.innerWidth - 20)
1919
1930
  return;
1920
- P.preventDefault();
1931
+ O.preventDefault();
1921
1932
  }
1922
- }, touchMove: function(P) {
1923
- if (u && (Te = P.targetTouches[0], !O && !z)) {
1933
+ }, touchMove: function(O) {
1934
+ if (u && (Me = O.targetTouches[0], !j && !z)) {
1924
1935
  if (o && o.offsetHeight > h) {
1925
- var K = Ce.pageX - Te.pageX;
1936
+ var K = Te.pageX - Me.pageX;
1926
1937
  if (Math.abs(K) <= 13)
1927
1938
  return !1;
1928
1939
  }
1929
1940
  m = !0;
1930
- var ve, Ze = P.targetTouches[0].clientX, _a = P.targetTouches[0].clientY, Ca = Ot - Ze, Ta = Pt - _a;
1931
- if (Math.abs(Ca) > Math.abs(Ta) ? (je = !1, ht = !0) : (ht = !1, je = !0), e = Te.pageX - Ce.pageX, ye = 100 * e / l, n = Te.pageY - Ce.pageY, _e = 100 * n / h, je && g && (ve = 1 - Math.abs(n) / h, Xe.style.opacity = ve, r.settings.touchFollowAxis && (ye = 0)), ht && (ve = 1 - Math.abs(e) / l, v.style.opacity = ve, r.settings.touchFollowAxis && (_e = 0)), !g)
1932
- return L(v, "translate3d(".concat(ye, "%, 0, 0)"));
1933
- L(v, "translate3d(".concat(ye, "%, ").concat(_e, "%, 0)"));
1941
+ var xe, Ze = O.targetTouches[0].clientX, Sa = O.targetTouches[0].clientY, _a = Ot - Ze, Ta = Pt - Sa;
1942
+ if (Math.abs(_a) > Math.abs(Ta) ? (je = !1, ht = !0) : (ht = !1, je = !0), e = Me.pageX - Te.pageX, we = 100 * e / l, s = Me.pageY - Te.pageY, _e = 100 * s / h, je && g && (xe = 1 - Math.abs(s) / h, Xe.style.opacity = xe, r.settings.touchFollowAxis && (we = 0)), ht && (xe = 1 - Math.abs(e) / l, v.style.opacity = xe, r.settings.touchFollowAxis && (_e = 0)), !g)
1943
+ return P(v, "translate3d(".concat(we, "%, 0, 0)"));
1944
+ P(v, "translate3d(".concat(we, "%, ").concat(_e, "%, 0)"));
1934
1945
  }
1935
1946
  }, touchEnd: function() {
1936
1947
  if (u) {
1937
- if (m = !1, z || O)
1938
- return ae = I, void (me = oe);
1939
- var P = Math.abs(parseInt(_e)), K = Math.abs(parseInt(ye));
1940
- if (!(P > 29 && g))
1941
- return P < 29 && K < 25 ? (T(Xe, "greset"), Xe.style.opacity = 1, bt(v)) : void 0;
1948
+ if (m = !1, z || j)
1949
+ return ae = I, void (ve = re);
1950
+ var O = Math.abs(parseInt(_e)), K = Math.abs(parseInt(we));
1951
+ if (!(O > 29 && g))
1952
+ return O < 29 && K < 25 ? (T(Xe, "greset"), Xe.style.opacity = 1, bt(v)) : void 0;
1942
1953
  r.close();
1943
1954
  }
1944
1955
  }, multipointEnd: function() {
1945
1956
  setTimeout(function() {
1946
- O = !1;
1957
+ j = !1;
1947
1958
  }, 50);
1948
1959
  }, multipointStart: function() {
1949
- O = !0, E = C || 1;
1950
- }, pinch: function(P) {
1960
+ j = !0, M = _ || 1;
1961
+ }, pinch: function(O) {
1951
1962
  if (!g || m)
1952
1963
  return !1;
1953
- O = !0, g.scaleX = g.scaleY = E * P.zoom;
1954
- var K = E * P.zoom;
1964
+ j = !0, g.scaleX = g.scaleY = M * O.zoom;
1965
+ var K = M * O.zoom;
1955
1966
  if (z = !0, K <= 1)
1956
- return z = !1, K = 1, me = null, ae = null, I = null, oe = null, void g.setAttribute("style", "");
1957
- K > 4.5 && (K = 4.5), g.style.transform = "scale3d(".concat(K, ", ").concat(K, ", 1)"), C = K;
1958
- }, pressMove: function(P) {
1959
- if (z && !O) {
1960
- var K = Te.pageX - Ce.pageX, ve = Te.pageY - Ce.pageY;
1961
- ae && (K += ae), me && (ve += me), I = K, oe = ve;
1962
- var Ze = "translate3d(".concat(K, "px, ").concat(ve, "px, 0)");
1963
- C && (Ze += " scale3d(".concat(C, ", ").concat(C, ", 1)")), L(g, Ze);
1967
+ return z = !1, K = 1, ve = null, ae = null, I = null, re = null, void g.setAttribute("style", "");
1968
+ K > 4.5 && (K = 4.5), g.style.transform = "scale3d(".concat(K, ", ").concat(K, ", 1)"), _ = K;
1969
+ }, pressMove: function(O) {
1970
+ if (z && !j) {
1971
+ var K = Me.pageX - Te.pageX, xe = Me.pageY - Te.pageY;
1972
+ ae && (K += ae), ve && (xe += ve), I = K, re = xe;
1973
+ var Ze = "translate3d(".concat(K, "px, ").concat(xe, "px, 0)");
1974
+ _ && (Ze += " scale3d(".concat(_, ", ").concat(_, ", 1)")), P(g, Ze);
1964
1975
  }
1965
- }, swipe: function(P) {
1976
+ }, swipe: function(O) {
1966
1977
  if (!z)
1967
- if (O)
1968
- O = !1;
1978
+ if (j)
1979
+ j = !1;
1969
1980
  else {
1970
- if (P.direction == "Left") {
1981
+ if (O.direction == "Left") {
1971
1982
  if (r.index == r.elements.length - 1)
1972
1983
  return bt(v);
1973
1984
  r.nextSlide();
1974
1985
  }
1975
- if (P.direction == "Right") {
1986
+ if (O.direction == "Right") {
1976
1987
  if (r.index == 0)
1977
1988
  return bt(v);
1978
1989
  r.prevSlide();
1979
1990
  }
1980
1991
  }
1981
1992
  } });
1982
- r.events.touch = Sa;
1993
+ r.events.touch = Ca;
1983
1994
  }
1984
1995
  var ua = function() {
1985
- function r(e, n) {
1996
+ function r(e, s) {
1986
1997
  var o = this, d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
1987
- if (i(this, r), this.img = e, this.slide = n, this.onclose = d, this.img.setZoomEvents)
1998
+ if (i(this, r), this.img = e, this.slide = s, this.onclose = d, this.img.setZoomEvents)
1988
1999
  return !1;
1989
2000
  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(l) {
1990
2001
  return o.dragStart(l);
@@ -1999,9 +2010,9 @@ var Qt = { exports: {} };
1999
2010
  return f(r, [{ key: "zoomIn", value: function() {
2000
2011
  var e = this.widowWidth();
2001
2012
  if (!(this.zoomedIn || e <= 768)) {
2002
- var n = this.img;
2003
- if (n.setAttribute("data-style", n.getAttribute("style")), n.style.maxWidth = n.naturalWidth + "px", n.style.maxHeight = n.naturalHeight + "px", n.naturalWidth > e) {
2004
- var o = e / 2 - n.naturalWidth / 2;
2013
+ var s = this.img;
2014
+ if (s.setAttribute("data-style", s.getAttribute("style")), s.style.maxWidth = s.naturalWidth + "px", s.style.maxHeight = s.naturalHeight + "px", s.naturalWidth > e) {
2015
+ var o = e / 2 - s.naturalWidth / 2;
2005
2016
  this.setTranslate(this.img.parentNode, o, 0);
2006
2017
  }
2007
2018
  this.slide.classList.add("zoomed"), this.zoomedIn = !0;
@@ -2011,33 +2022,33 @@ var Qt = { exports: {} };
2011
2022
  } }, { key: "dragStart", value: function(e) {
2012
2023
  e.preventDefault(), this.zoomedIn ? (e.type === "touchstart" ? (this.initialX = e.touches[0].clientX - this.xOffset, this.initialY = e.touches[0].clientY - this.yOffset) : (this.initialX = e.clientX - this.xOffset, this.initialY = e.clientY - this.yOffset), e.target === this.img && (this.active = !0, this.img.classList.add("dragging"))) : this.active = !1;
2013
2024
  } }, { key: "dragEnd", value: function(e) {
2014
- var n = this;
2025
+ var s = this;
2015
2026
  e.preventDefault(), this.initialX = this.currentX, this.initialY = this.currentY, this.active = !1, setTimeout(function() {
2016
- n.dragging = !1, n.img.isDragging = !1, n.img.classList.remove("dragging");
2027
+ s.dragging = !1, s.img.isDragging = !1, s.img.classList.remove("dragging");
2017
2028
  }, 100);
2018
2029
  } }, { key: "drag", value: function(e) {
2019
2030
  this.active && (e.preventDefault(), e.type === "touchmove" ? (this.currentX = e.touches[0].clientX - this.initialX, this.currentY = e.touches[0].clientY - this.initialY) : (this.currentX = e.clientX - this.initialX, this.currentY = e.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));
2020
2031
  } }, { key: "onMove", value: function(e) {
2021
2032
  if (this.zoomedIn) {
2022
- var n = e.clientX - this.img.naturalWidth / 2, o = e.clientY - this.img.naturalHeight / 2;
2023
- this.setTranslate(this.img, n, o);
2033
+ var s = e.clientX - this.img.naturalWidth / 2, o = e.clientY - this.img.naturalHeight / 2;
2034
+ this.setTranslate(this.img, s, o);
2024
2035
  }
2025
- } }, { key: "setTranslate", value: function(e, n, o) {
2026
- e.style.transform = "translate3d(" + n + "px, " + o + "px, 0)";
2036
+ } }, { key: "setTranslate", value: function(e, s, o) {
2037
+ e.style.transform = "translate3d(" + s + "px, " + o + "px, 0)";
2027
2038
  } }, { key: "widowWidth", value: function() {
2028
2039
  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
2029
2040
  } }]), r;
2030
2041
  }(), At = function() {
2031
2042
  function r() {
2032
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2043
+ var e = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2033
2044
  i(this, r);
2034
- var o = n.dragEl, d = n.toleranceX, l = d === void 0 ? 40 : d, h = n.toleranceY, u = h === void 0 ? 65 : h, p = n.slide, v = p === void 0 ? null : p, g = n.instance, m = g === void 0 ? null : g;
2035
- this.el = o, 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 = l, this.toleranceY = u, this.toleranceReached = !1, this.dragContainer = this.el, this.slide = v, this.instance = m, this.el.addEventListener("mousedown", function(E) {
2036
- return e.dragStart(E);
2037
- }, !1), this.el.addEventListener("mouseup", function(E) {
2038
- return e.dragEnd(E);
2039
- }, !1), this.el.addEventListener("mousemove", function(E) {
2040
- return e.drag(E);
2045
+ var o = s.dragEl, d = s.toleranceX, l = d === void 0 ? 40 : d, h = s.toleranceY, u = h === void 0 ? 65 : h, p = s.slide, v = p === void 0 ? null : p, g = s.instance, m = g === void 0 ? null : g;
2046
+ this.el = o, 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 = l, this.toleranceY = u, this.toleranceReached = !1, this.dragContainer = this.el, this.slide = v, this.instance = m, this.el.addEventListener("mousedown", function(M) {
2047
+ return e.dragStart(M);
2048
+ }, !1), this.el.addEventListener("mouseup", function(M) {
2049
+ return e.dragEnd(M);
2050
+ }, !1), this.el.addEventListener("mousemove", function(M) {
2051
+ return e.drag(M);
2041
2052
  }, !1);
2042
2053
  }
2043
2054
  return f(r, [{ key: "dragStart", value: function(e) {
@@ -2045,25 +2056,25 @@ var Qt = { exports: {} };
2045
2056
  this.active = !1;
2046
2057
  else {
2047
2058
  e.type === "touchstart" ? (this.initialX = e.touches[0].clientX - this.xOffset, this.initialY = e.touches[0].clientY - this.yOffset) : (this.initialX = e.clientX - this.xOffset, this.initialY = e.clientY - this.yOffset);
2048
- var n = e.target.nodeName.toLowerCase();
2049
- e.target.classList.contains("nodrag") || ce(e.target, ".nodrag") || ["input", "select", "textarea", "button", "a"].indexOf(n) !== -1 ? this.active = !1 : (e.preventDefault(), (e.target === this.el || n !== "img" && ce(e.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = ce(e.target, ".ginner-container")));
2059
+ var s = e.target.nodeName.toLowerCase();
2060
+ e.target.classList.contains("nodrag") || ce(e.target, ".nodrag") || ["input", "select", "textarea", "button", "a"].indexOf(s) !== -1 ? this.active = !1 : (e.preventDefault(), (e.target === this.el || s !== "img" && ce(e.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = ce(e.target, ".ginner-container")));
2050
2061
  }
2051
2062
  } }, { key: "dragEnd", value: function(e) {
2052
- var n = this;
2063
+ var s = this;
2053
2064
  e && e.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() {
2054
- n.instance.preventOutsideClick = !1, n.toleranceReached = !1, n.lastDirection = null, n.dragging = !1, n.el.isDragging = !1, n.el.classList.remove("dragging"), n.slide.classList.remove("dragging-nav"), n.dragContainer.style.transform = "", n.dragContainer.style.transition = "";
2065
+ s.instance.preventOutsideClick = !1, s.toleranceReached = !1, s.lastDirection = null, s.dragging = !1, s.el.isDragging = !1, s.el.classList.remove("dragging"), s.slide.classList.remove("dragging-nav"), s.dragContainer.style.transform = "", s.dragContainer.style.transition = "";
2055
2066
  }, 100);
2056
2067
  } }, { key: "drag", value: function(e) {
2057
2068
  if (this.active) {
2058
2069
  e.preventDefault(), this.slide.classList.add("dragging-nav"), e.type === "touchmove" ? (this.currentX = e.touches[0].clientX - this.initialX, this.currentY = e.touches[0].clientY - this.initialY) : (this.currentX = e.clientX - this.initialX, this.currentY = e.clientY - this.initialY), this.xOffset = this.currentX, this.yOffset = this.currentY, this.el.isDragging = !0, this.dragging = !0, this.doSlideChange = !1, this.doSlideClose = !1;
2059
- var n = Math.abs(this.currentX), o = Math.abs(this.currentY);
2060
- if (n > 0 && n >= Math.abs(this.currentY) && (!this.lastDirection || this.lastDirection == "x")) {
2070
+ var s = Math.abs(this.currentX), o = Math.abs(this.currentY);
2071
+ if (s > 0 && s >= Math.abs(this.currentY) && (!this.lastDirection || this.lastDirection == "x")) {
2061
2072
  this.yOffset = 0, this.lastDirection = "x", this.setTranslate(this.dragContainer, this.currentX, 0);
2062
2073
  var d = this.shouldChange();
2063
2074
  if (!this.instance.settings.dragAutoSnap && d && (this.doSlideChange = d), this.instance.settings.dragAutoSnap && d)
2064
2075
  return this.instance.preventOutsideClick = !0, this.toleranceReached = !0, this.active = !1, this.instance.preventOutsideClick = !0, this.dragEnd(null), d == "right" && this.instance.prevSlide(), void (d == "left" && this.instance.nextSlide());
2065
2076
  }
2066
- if (this.toleranceY > 0 && o > 0 && o >= n && (!this.lastDirection || this.lastDirection == "y")) {
2077
+ if (this.toleranceY > 0 && o > 0 && o >= s && (!this.lastDirection || this.lastDirection == "y")) {
2067
2078
  this.xOffset = 0, this.lastDirection = "y", this.setTranslate(this.dragContainer, 0, this.currentY);
2068
2079
  var l = this.shouldClose();
2069
2080
  return !this.instance.settings.dragAutoSnap && l && (this.doSlideClose = !0), void (this.instance.settings.dragAutoSnap && l && this.instance.close());
@@ -2072,42 +2083,42 @@ var Qt = { exports: {} };
2072
2083
  } }, { key: "shouldChange", value: function() {
2073
2084
  var e = !1;
2074
2085
  if (Math.abs(this.currentX) >= this.toleranceX) {
2075
- var n = this.currentX > 0 ? "right" : "left";
2076
- (n == "left" && this.slide !== this.slide.parentNode.lastChild || n == "right" && this.slide !== this.slide.parentNode.firstChild) && (e = n);
2086
+ var s = this.currentX > 0 ? "right" : "left";
2087
+ (s == "left" && this.slide !== this.slide.parentNode.lastChild || s == "right" && this.slide !== this.slide.parentNode.firstChild) && (e = s);
2077
2088
  }
2078
2089
  return e;
2079
2090
  } }, { key: "shouldClose", value: function() {
2080
2091
  var e = !1;
2081
2092
  return Math.abs(this.currentY) >= this.toleranceY && (e = !0), e;
2082
- } }, { key: "setTranslate", value: function(e, n, o) {
2093
+ } }, { key: "setTranslate", value: function(e, s, o) {
2083
2094
  var d = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
2084
- e.style.transition = d ? "all .2s ease" : "", e.style.transform = "translate3d(".concat(n, "px, ").concat(o, "px, 0)");
2095
+ e.style.transition = d ? "all .2s ease" : "", e.style.transform = "translate3d(".concat(s, "px, ").concat(o, "px, 0)");
2085
2096
  } }]), r;
2086
2097
  }();
2087
- function pa(r, e, n, o) {
2088
- var d = r.querySelector(".gslide-media"), l = new Image(), h = "gSlideTitle_" + n, u = "gSlideDesc_" + n;
2098
+ function pa(r, e, s, o) {
2099
+ var d = r.querySelector(".gslide-media"), l = new Image(), h = "gSlideTitle_" + s, u = "gSlideDesc_" + s;
2089
2100
  l.addEventListener("load", function() {
2090
2101
  y(o) && o();
2091
2102
  }, !1), l.src = e.href, e.sizes != "" && e.srcset != "" && (l.sizes = e.sizes, l.srcset = e.srcset), l.alt = "", ne(e.alt) || e.alt === "" || (l.alt = e.alt), e.title !== "" && l.setAttribute("aria-labelledby", h), e.description !== "" && l.setAttribute("aria-describedby", u), e.hasOwnProperty("_hasCustomWidth") && e._hasCustomWidth && (l.style.width = e.width), e.hasOwnProperty("_hasCustomHeight") && e._hasCustomHeight && (l.style.height = e.height), d.insertBefore(l, d.firstChild);
2092
2103
  }
2093
- function ga(r, e, n, o) {
2094
- var d = this, l = r.querySelector(".ginner-container"), h = "gvideo" + n, u = r.querySelector(".gslide-media"), p = this.getAllPlayers();
2095
- T(l, "gvideo-container"), u.insertBefore(de('<div class="gvideo-wrapper"></div>'), u.firstChild);
2104
+ function ga(r, e, s, o) {
2105
+ var d = this, l = r.querySelector(".ginner-container"), h = "gvideo" + s, u = r.querySelector(".gslide-media"), p = this.getAllPlayers();
2106
+ T(l, "gvideo-container"), u.insertBefore(le('<div class="gvideo-wrapper"></div>'), u.firstChild);
2096
2107
  var v = r.querySelector(".gvideo-wrapper");
2097
2108
  Fe(this.settings.plyr.css, "Plyr");
2098
- var g = e.href, m = e == null ? void 0 : e.videoProvider, E = !1;
2109
+ var g = e.href, m = e == null ? void 0 : e.videoProvider, M = !1;
2099
2110
  u.style.maxWidth = e.width, Fe(this.settings.plyr.js, "Plyr", function() {
2100
2111
  if (!m && g.match(/vimeo\.com\/([0-9]*)/) && (m = "vimeo"), !m && (g.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || g.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || g.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)) && (m = "youtube"), m === "local" || !m) {
2101
2112
  m = "local";
2102
- var C = '<video id="' + h + '" ';
2103
- C += 'style="background:#000; max-width: '.concat(e.width, ';" '), C += 'preload="metadata" ', C += 'x-webkit-airplay="allow" ', C += "playsinline ", C += "controls ", C += 'class="gvideo-local">', C += '<source src="'.concat(g, '">'), E = de(C += "</video>");
2113
+ var _ = '<video id="' + h + '" ';
2114
+ _ += 'style="background:#000; max-width: '.concat(e.width, ';" '), _ += 'preload="metadata" ', _ += 'x-webkit-airplay="allow" ', _ += "playsinline ", _ += "controls ", _ += 'class="gvideo-local">', _ += '<source src="'.concat(g, '">'), M = le(_ += "</video>");
2104
2115
  }
2105
- var O = E || de('<div id="'.concat(h, '" data-plyr-provider="').concat(m, '" data-plyr-embed-id="').concat(g, '"></div>'));
2106
- T(v, "".concat(m, "-video gvideo")), v.appendChild(O), v.setAttribute("data-id", h), v.setAttribute("data-index", n);
2116
+ var j = M || le('<div id="'.concat(h, '" data-plyr-provider="').concat(m, '" data-plyr-embed-id="').concat(g, '"></div>'));
2117
+ T(v, "".concat(m, "-video gvideo")), v.appendChild(j), v.setAttribute("data-id", h), v.setAttribute("data-index", s);
2107
2118
  var z = N(d.settings.plyr, "config") ? d.settings.plyr.config : {}, I = new Plyr("#" + h, z);
2108
- I.on("ready", function(oe) {
2109
- p[h] = oe.detail.plyr, y(o) && o();
2110
- }), Me(function() {
2119
+ I.on("ready", function(re) {
2120
+ p[h] = re.detail.plyr, y(o) && o();
2121
+ }), Ie(function() {
2111
2122
  return r.querySelector("iframe") && r.querySelector("iframe").dataset.ready == "true";
2112
2123
  }, function() {
2113
2124
  d.resize(r);
@@ -2116,11 +2127,11 @@ var Qt = { exports: {} };
2116
2127
  }
2117
2128
  function $t(r) {
2118
2129
  var e = ce(r.target, ".gslide-media");
2119
- r.type === "enterfullscreen" && T(e, "fullscreen"), r.type === "exitfullscreen" && $(e, "fullscreen");
2130
+ r.type === "enterfullscreen" && T(e, "fullscreen"), r.type === "exitfullscreen" && A(e, "fullscreen");
2120
2131
  }
2121
- function ma(r, e, n, o) {
2132
+ function ma(r, e, s, o) {
2122
2133
  var d, l = this, h = r.querySelector(".gslide-media"), u = !(!N(e, "href") || !e.href) && e.href.split("#").pop().trim(), p = !(!N(e, "content") || !e.content) && e.content;
2123
- if (p && (ie(p) && (d = de('<div class="ginlined-content">'.concat(p, "</div>"))), te(p))) {
2134
+ if (p && (ie(p) && (d = le('<div class="ginlined-content">'.concat(p, "</div>"))), te(p))) {
2124
2135
  p.style.display == "none" && (p.style.display = "block");
2125
2136
  var v = document.createElement("div");
2126
2137
  v.className = "ginlined-content", v.appendChild(p), d = v;
@@ -2134,11 +2145,11 @@ var Qt = { exports: {} };
2134
2145
  }
2135
2146
  if (!d)
2136
2147
  return console.error("Unable to append inline slide content", e), !1;
2137
- h.style.height = e.height, h.style.width = e.width, h.appendChild(d), this.events["inlineclose" + u] = j("click", { onElement: h.querySelectorAll(".gtrigger-close"), withCallback: function(E) {
2138
- E.preventDefault(), l.close();
2148
+ h.style.height = e.height, h.style.width = e.width, h.appendChild(d), this.events["inlineclose" + u] = L("click", { onElement: h.querySelectorAll(".gtrigger-close"), withCallback: function(M) {
2149
+ M.preventDefault(), l.close();
2139
2150
  } }), y(o) && o();
2140
2151
  }
2141
- function ya(r, e, n, o) {
2152
+ function ya(r, e, s, o) {
2142
2153
  var d = r.querySelector(".gslide-media"), l = function(h) {
2143
2154
  var u = h.url, p = h.allow, v = h.callback, g = h.appendTo, m = document.createElement("iframe");
2144
2155
  return m.className = "vimeo-video gvideo", m.src = u, m.style.width = "100%", m.style.height = "100%", p && m.setAttribute("allow", p), m.onload = function() {
@@ -2150,21 +2161,21 @@ var Qt = { exports: {} };
2150
2161
  var va = function() {
2151
2162
  function r() {
2152
2163
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2153
- i(this, r), this.defaults = { href: "", sizes: "", srcset: "", title: "", type: "", videoProvider: "", description: "", alt: "", descPosition: "bottom", effect: "", width: "", height: "", content: !1, zoomable: !0, draggable: !0 }, Ie(e) && (this.defaults = x(this.defaults, e));
2164
+ i(this, r), this.defaults = { href: "", sizes: "", srcset: "", title: "", type: "", videoProvider: "", description: "", alt: "", descPosition: "bottom", effect: "", width: "", height: "", content: !1, zoomable: !0, draggable: !0 }, Le(e) && (this.defaults = k(this.defaults, e));
2154
2165
  }
2155
2166
  return f(r, [{ key: "sourceType", value: function(e) {
2156
- var n = e;
2157
- return (e = e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/) !== null ? "image" : e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/) || e.match(/vimeo\.com\/([0-9]*)/) || e.match(/\.(mp4|ogg|webm|mov)/) !== null ? "video" : e.match(/\.(mp3|wav|wma|aac|ogg)/) !== null ? "audio" : e.indexOf("#") > -1 && n.split("#").pop().trim() !== "" ? "inline" : e.indexOf("goajax=true") > -1 ? "ajax" : "external";
2158
- } }, { key: "parseConfig", value: function(e, n) {
2159
- var o = this, d = x({ descPosition: n.descPosition }, this.defaults);
2160
- if (Ie(e) && !te(e)) {
2167
+ var s = e;
2168
+ return (e = e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/) !== null ? "image" : e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/) || e.match(/vimeo\.com\/([0-9]*)/) || e.match(/\.(mp4|ogg|webm|mov)/) !== null ? "video" : e.match(/\.(mp3|wav|wma|aac|ogg)/) !== null ? "audio" : e.indexOf("#") > -1 && s.split("#").pop().trim() !== "" ? "inline" : e.indexOf("goajax=true") > -1 ? "ajax" : "external";
2169
+ } }, { key: "parseConfig", value: function(e, s) {
2170
+ var o = this, d = k({ descPosition: s.descPosition }, this.defaults);
2171
+ if (Le(e) && !te(e)) {
2161
2172
  N(e, "type") || (N(e, "content") && e.content ? e.type = "inline" : N(e, "href") && (e.type = this.sourceType(e.href)));
2162
- var l = x(d, e);
2163
- return this.setSize(l, n), l;
2173
+ var l = k(d, e);
2174
+ return this.setSize(l, s), l;
2164
2175
  }
2165
2176
  var h = "", u = e.getAttribute("data-glightbox"), p = e.nodeName.toLowerCase();
2166
- if (p === "a" && (h = e.href), p === "img" && (h = e.src, d.alt = e.alt), d.href = h, _(d, function(O, z) {
2167
- N(n, z) && z !== "width" && (d[z] = n[z]);
2177
+ if (p === "a" && (h = e.href), p === "img" && (h = e.src, d.alt = e.alt), d.href = h, S(d, function(j, z) {
2178
+ N(s, z) && z !== "width" && (d[z] = s[z]);
2168
2179
  var I = e.dataset[z];
2169
2180
  ne(I) || (d[z] = o.sanitizeValue(I));
2170
2181
  }), d.content && (d.type = "inline"), !d.type && h && (d.type = this.sourceType(h)), ne(u)) {
@@ -2178,33 +2189,33 @@ var Qt = { exports: {} };
2178
2189
  }
2179
2190
  } else {
2180
2191
  var m = [];
2181
- _(d, function(O, z) {
2192
+ S(d, function(j, z) {
2182
2193
  m.push(";\\s?" + z);
2183
- }), m = m.join("\\s?:|"), u.trim() !== "" && _(d, function(O, z) {
2184
- var I = u, oe = new RegExp("s?" + z + "s?:s?(.*?)(" + m + "s?:|$)"), ae = I.match(oe);
2194
+ }), m = m.join("\\s?:|"), u.trim() !== "" && S(d, function(j, z) {
2195
+ var I = u, re = new RegExp("s?" + z + "s?:s?(.*?)(" + m + "s?:|$)"), ae = I.match(re);
2185
2196
  if (ae && ae.length && ae[1]) {
2186
- var me = ae[1].trim().replace(/;\s*$/, "");
2187
- d[z] = o.sanitizeValue(me);
2197
+ var ve = ae[1].trim().replace(/;\s*$/, "");
2198
+ d[z] = o.sanitizeValue(ve);
2188
2199
  }
2189
2200
  });
2190
2201
  }
2191
2202
  if (d.description && d.description.substring(0, 1) === ".") {
2192
- var E;
2203
+ var M;
2193
2204
  try {
2194
- E = document.querySelector(d.description).innerHTML;
2195
- } catch (O) {
2196
- if (!(O instanceof DOMException))
2197
- throw O;
2205
+ M = document.querySelector(d.description).innerHTML;
2206
+ } catch (j) {
2207
+ if (!(j instanceof DOMException))
2208
+ throw j;
2198
2209
  }
2199
- E && (d.description = E);
2210
+ M && (d.description = M);
2200
2211
  }
2201
2212
  if (!d.description) {
2202
- var C = e.querySelector(".glightbox-desc");
2203
- C && (d.description = C.innerHTML);
2213
+ var _ = e.querySelector(".glightbox-desc");
2214
+ _ && (d.description = _.innerHTML);
2204
2215
  }
2205
- return this.setSize(d, n, e), this.slideConfig = d, d;
2206
- } }, { key: "setSize", value: function(e, n) {
2207
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, d = e.type == "video" ? this.checkSize(n.videosWidth) : this.checkSize(n.width), l = this.checkSize(n.height);
2216
+ return this.setSize(d, s, e), this.slideConfig = d, d;
2217
+ } }, { key: "setSize", value: function(e, s) {
2218
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, d = e.type == "video" ? this.checkSize(s.videosWidth) : this.checkSize(s.width), l = this.checkSize(s.height);
2208
2219
  return e.width = N(e, "width") && e.width !== "" ? this.checkSize(e.width) : d, e.height = N(e, "height") && e.height !== "" ? this.checkSize(e.height) : l, o && e.type == "image" && (e._hasCustomWidth = !!o.dataset.width, e._hasCustomHeight = !!o.dataset.height), e;
2209
2220
  } }, { key: "checkSize", value: function(e) {
2210
2221
  return Ue(e) ? "".concat(e, "px") : e;
@@ -2212,61 +2223,61 @@ var Qt = { exports: {} };
2212
2223
  return e !== "true" && e !== "false" ? e : e === "true";
2213
2224
  } }]), r;
2214
2225
  }(), Ye = function() {
2215
- function r(e, n, o) {
2216
- i(this, r), this.element = e, this.instance = n, this.index = o;
2226
+ function r(e, s, o) {
2227
+ i(this, r), this.element = e, this.instance = s, this.index = o;
2217
2228
  }
2218
2229
  return f(r, [{ key: "setContent", value: function() {
2219
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, o = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
2220
- if (F(n, "loaded"))
2230
+ var e = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, o = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
2231
+ if (F(s, "loaded"))
2221
2232
  return !1;
2222
2233
  var d = this.instance.settings, l = this.slideConfig, h = Se();
2223
- y(d.beforeSlideLoad) && d.beforeSlideLoad({ index: this.index, slide: n, player: !1 });
2224
- var u = l.type, p = l.descPosition, v = n.querySelector(".gslide-media"), g = n.querySelector(".gslide-title"), m = n.querySelector(".gslide-desc"), E = n.querySelector(".gdesc-inner"), C = o, O = "gSlideTitle_" + this.index, z = "gSlideDesc_" + this.index;
2225
- if (y(d.afterSlideLoad) && (C = function() {
2226
- y(o) && o(), d.afterSlideLoad({ index: e.index, slide: n, player: e.instance.getSlidePlayerInstance(e.index) });
2227
- }), l.title == "" && l.description == "" ? E && E.parentNode.parentNode.removeChild(E.parentNode) : (g && l.title !== "" ? (g.id = O, g.innerHTML = l.title) : g.parentNode.removeChild(g), m && l.description !== "" ? (m.id = z, h && d.moreLength > 0 ? (l.smallDescription = this.slideShortDesc(l.description, d.moreLength, d.moreText), m.innerHTML = l.smallDescription, this.descriptionEvents(m, l)) : m.innerHTML = l.description) : m.parentNode.removeChild(m), T(v.parentNode, "desc-".concat(p)), T(E.parentNode, "description-".concat(p))), T(v, "gslide-".concat(u)), T(n, "loaded"), u !== "video") {
2234
+ y(d.beforeSlideLoad) && d.beforeSlideLoad({ index: this.index, slide: s, player: !1 });
2235
+ var u = l.type, p = l.descPosition, v = s.querySelector(".gslide-media"), g = s.querySelector(".gslide-title"), m = s.querySelector(".gslide-desc"), M = s.querySelector(".gdesc-inner"), _ = o, j = "gSlideTitle_" + this.index, z = "gSlideDesc_" + this.index;
2236
+ if (y(d.afterSlideLoad) && (_ = function() {
2237
+ y(o) && o(), d.afterSlideLoad({ index: e.index, slide: s, player: e.instance.getSlidePlayerInstance(e.index) });
2238
+ }), l.title == "" && l.description == "" ? M && M.parentNode.parentNode.removeChild(M.parentNode) : (g && l.title !== "" ? (g.id = j, g.innerHTML = l.title) : g.parentNode.removeChild(g), m && l.description !== "" ? (m.id = z, h && d.moreLength > 0 ? (l.smallDescription = this.slideShortDesc(l.description, d.moreLength, d.moreText), m.innerHTML = l.smallDescription, this.descriptionEvents(m, l)) : m.innerHTML = l.description) : m.parentNode.removeChild(m), T(v.parentNode, "desc-".concat(p)), T(M.parentNode, "description-".concat(p))), T(v, "gslide-".concat(u)), T(s, "loaded"), u !== "video") {
2228
2239
  if (u !== "external")
2229
- return u === "inline" ? (ma.apply(this.instance, [n, l, this.index, C]), void (l.draggable && new At({ dragEl: n.querySelector(".gslide-inline"), toleranceX: d.dragToleranceX, toleranceY: d.dragToleranceY, slide: n, instance: this.instance }))) : void (u !== "image" ? y(C) && C() : pa(n, l, this.index, function() {
2230
- var I = n.querySelector("img");
2231
- l.draggable && new At({ dragEl: I, toleranceX: d.dragToleranceX, toleranceY: d.dragToleranceY, slide: n, instance: e.instance }), l.zoomable && I.naturalWidth > I.offsetWidth && (T(I, "zoomable"), new ua(I, n, function() {
2240
+ return u === "inline" ? (ma.apply(this.instance, [s, l, this.index, _]), void (l.draggable && new At({ dragEl: s.querySelector(".gslide-inline"), toleranceX: d.dragToleranceX, toleranceY: d.dragToleranceY, slide: s, instance: this.instance }))) : void (u !== "image" ? y(_) && _() : pa(s, l, this.index, function() {
2241
+ var I = s.querySelector("img");
2242
+ l.draggable && new At({ dragEl: I, toleranceX: d.dragToleranceX, toleranceY: d.dragToleranceY, slide: s, instance: e.instance }), l.zoomable && I.naturalWidth > I.offsetWidth && (T(I, "zoomable"), new ua(I, s, function() {
2232
2243
  e.instance.resize();
2233
- })), y(C) && C();
2244
+ })), y(_) && _();
2234
2245
  }));
2235
- ya.apply(this, [n, l, this.index, C]);
2246
+ ya.apply(this, [s, l, this.index, _]);
2236
2247
  } else
2237
- ga.apply(this.instance, [n, l, this.index, C]);
2248
+ ga.apply(this.instance, [s, l, this.index, _]);
2238
2249
  } }, { key: "slideShortDesc", value: function(e) {
2239
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 50, o = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], d = document.createElement("div");
2250
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 50, o = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], d = document.createElement("div");
2240
2251
  d.innerHTML = e;
2241
2252
  var l = d.innerText, h = o;
2242
- if ((e = l.trim()).length <= n)
2253
+ if ((e = l.trim()).length <= s)
2243
2254
  return e;
2244
- var u = e.substr(0, n - 1);
2255
+ var u = e.substr(0, s - 1);
2245
2256
  return h ? (d = null, u + '... <a href="#" class="desc-more">' + o + "</a>") : u;
2246
- } }, { key: "descriptionEvents", value: function(e, n) {
2257
+ } }, { key: "descriptionEvents", value: function(e, s) {
2247
2258
  var o = this, d = e.querySelector(".desc-more");
2248
2259
  if (!d)
2249
2260
  return !1;
2250
- j("click", { onElement: d, withCallback: function(l, h) {
2261
+ L("click", { onElement: d, withCallback: function(l, h) {
2251
2262
  l.preventDefault();
2252
2263
  var u = document.body, p = ce(h, ".gslide-desc");
2253
2264
  if (!p)
2254
2265
  return !1;
2255
- p.innerHTML = n.description, T(u, "gdesc-open");
2256
- var v = j("click", { onElement: [u, ce(p, ".gslide-description")], withCallback: function(g, m) {
2257
- g.target.nodeName.toLowerCase() !== "a" && ($(u, "gdesc-open"), T(u, "gdesc-closed"), p.innerHTML = n.smallDescription, o.descriptionEvents(p, n), setTimeout(function() {
2258
- $(u, "gdesc-closed");
2266
+ p.innerHTML = s.description, T(u, "gdesc-open");
2267
+ var v = L("click", { onElement: [u, ce(p, ".gslide-description")], withCallback: function(g, m) {
2268
+ g.target.nodeName.toLowerCase() !== "a" && (A(u, "gdesc-open"), T(u, "gdesc-closed"), p.innerHTML = s.smallDescription, o.descriptionEvents(p, s), setTimeout(function() {
2269
+ A(u, "gdesc-closed");
2259
2270
  }, 400), v.destroy());
2260
2271
  } });
2261
2272
  } });
2262
2273
  } }, { key: "create", value: function() {
2263
- return de(this.instance.settings.slideHTML);
2274
+ return le(this.instance.settings.slideHTML);
2264
2275
  } }, { key: "getConfig", value: function() {
2265
2276
  te(this.element) || this.element.hasOwnProperty("draggable") || (this.element.draggable = this.instance.settings.draggable);
2266
2277
  var e = new va(this.instance.settings.slideExtraAttributes);
2267
2278
  return this.slideConfig = e.parseConfig(this.element, this.instance.settings), this.slideConfig;
2268
2279
  } }]), r;
2269
- }(), Mt = Se(), It = Se() !== null || document.createTouch !== void 0 || "ontouchstart" in window || "onmsgesturechange" in window || navigator.msMaxTouchPoints, jt = document.getElementsByTagName("html")[0], wa = { 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">
2280
+ }(), It = Se(), Lt = Se() !== null || document.createTouch !== void 0 || "ontouchstart" in window || "onmsgesturechange" in window || navigator.msMaxTouchPoints, jt = document.getElementsByTagName("html")[0], wa = { 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">
2270
2281
  <div class="gslide-inner-content">
2271
2282
  <div class="ginner-container">
2272
2283
  <div class="gslide-media">
@@ -2291,51 +2302,51 @@ var Qt = { exports: {} };
2291
2302
  </div>` }, xa = function() {
2292
2303
  function r() {
2293
2304
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2294
- i(this, r), this.customOptions = e, this.settings = x(wa, e), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2305
+ i(this, r), this.customOptions = e, this.settings = k(wa, e), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2295
2306
  }
2296
2307
  return f(r, [{ key: "init", value: function() {
2297
- var e = this, n = this.getSelector();
2298
- n && (this.baseEvents = j("click", { onElement: n, withCallback: function(o, d) {
2308
+ var e = this, s = this.getSelector();
2309
+ s && (this.baseEvents = L("click", { onElement: s, withCallback: function(o, d) {
2299
2310
  o.preventDefault(), e.open(d);
2300
2311
  } })), this.elements = this.getElements();
2301
2312
  } }, { key: "open", value: function() {
2302
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
2313
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
2303
2314
  if (this.elements.length === 0)
2304
2315
  return !1;
2305
2316
  this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null;
2306
- var o = Ue(n) ? n : this.settings.startAt;
2317
+ var o = Ue(s) ? s : this.settings.startAt;
2307
2318
  if (te(e)) {
2308
2319
  var d = e.getAttribute("data-gallery");
2309
2320
  d && (this.fullElementsList = this.elements, this.elements = this.getGalleryElements(this.elements, d)), ne(o) && (o = this.getElementIndex(e)) < 0 && (o = 0);
2310
2321
  }
2311
- Ue(o) || (o = 0), this.build(), A(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2322
+ Ue(o) || (o = 0), this.build(), E(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2312
2323
  var l = document.body, h = window.innerWidth - document.documentElement.clientWidth;
2313
2324
  if (h > 0) {
2314
2325
  var u = document.createElement("style");
2315
2326
  u.type = "text/css", u.className = "gcss-styles", u.innerText = ".gscrollbar-fixer {margin-right: ".concat(h, "px}"), document.head.appendChild(u), T(l, "gscrollbar-fixer");
2316
2327
  }
2317
- T(l, "glightbox-open"), T(jt, "glightbox-open"), Mt && (T(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(o, !0), this.elements.length === 1 ? (T(this.prevButton, "glightbox-button-hidden"), T(this.nextButton, "glightbox-button-hidden")) : ($(this.prevButton, "glightbox-button-hidden"), $(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), y(this.settings.onOpen) && this.settings.onOpen(), It && this.settings.touchNavigation && ha(this), this.settings.keyboardNavigation && fa(this);
2328
+ T(l, "glightbox-open"), T(jt, "glightbox-open"), It && (T(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(o, !0), this.elements.length === 1 ? (T(this.prevButton, "glightbox-button-hidden"), T(this.nextButton, "glightbox-button-hidden")) : (A(this.prevButton, "glightbox-button-hidden"), A(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), y(this.settings.onOpen) && this.settings.onOpen(), Lt && this.settings.touchNavigation && ha(this), this.settings.keyboardNavigation && fa(this);
2318
2329
  } }, { key: "openAt", value: function() {
2319
2330
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
2320
2331
  this.open(null, e);
2321
2332
  } }, { key: "showSlide", value: function() {
2322
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, o = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
2323
- D(this.loader), this.index = parseInt(n);
2333
+ var e = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, o = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
2334
+ D(this.loader), this.index = parseInt(s);
2324
2335
  var d = this.slidesContainer.querySelector(".current");
2325
- d && $(d, "current"), this.slideAnimateOut();
2326
- var l = this.slidesContainer.querySelectorAll(".gslide")[n];
2336
+ d && A(d, "current"), this.slideAnimateOut();
2337
+ var l = this.slidesContainer.querySelectorAll(".gslide")[s];
2327
2338
  if (F(l, "loaded"))
2328
- this.slideAnimateIn(l, o), M(this.loader);
2339
+ this.slideAnimateIn(l, o), $(this.loader);
2329
2340
  else {
2330
2341
  D(this.loader);
2331
- var h = this.elements[n], u = { index: this.index, slide: l, slideNode: l, slideConfig: h.slideConfig, slideIndex: this.index, trigger: h.node, player: null };
2342
+ var h = this.elements[s], u = { index: this.index, slide: l, slideNode: l, slideConfig: h.slideConfig, slideIndex: this.index, trigger: h.node, player: null };
2332
2343
  this.trigger("slide_before_load", u), h.instance.setContent(l, function() {
2333
- M(e.loader), e.resize(), e.slideAnimateIn(l, o), e.trigger("slide_after_load", u);
2344
+ $(e.loader), e.resize(), e.slideAnimateIn(l, o), e.trigger("slide_after_load", u);
2334
2345
  });
2335
2346
  }
2336
- this.slideDescription = l.querySelector(".gslide-description"), this.slideDescriptionContained = this.slideDescription && F(this.slideDescription.parentNode, "gslide-media"), this.settings.preload && (this.preloadSlide(n + 1), this.preloadSlide(n - 1)), this.updateNavigationClasses(), this.activeSlide = l;
2347
+ this.slideDescription = l.querySelector(".gslide-description"), this.slideDescriptionContained = this.slideDescription && F(this.slideDescription.parentNode, "gslide-media"), this.settings.preload && (this.preloadSlide(s + 1), this.preloadSlide(s - 1)), this.updateNavigationClasses(), this.activeSlide = l;
2337
2348
  } }, { key: "preloadSlide", value: function(e) {
2338
- var n = this;
2349
+ var s = this;
2339
2350
  if (e < 0 || e > this.elements.length - 1 || ne(this.elements[e]))
2340
2351
  return !1;
2341
2352
  var o = this.slidesContainer.querySelectorAll(".gslide")[e];
@@ -2344,10 +2355,10 @@ var Qt = { exports: {} };
2344
2355
  var d = this.elements[e], l = d.type, h = { index: e, slide: o, slideNode: o, slideConfig: d.slideConfig, slideIndex: e, trigger: d.node, player: null };
2345
2356
  this.trigger("slide_before_load", h), l === "video" || l === "external" ? setTimeout(function() {
2346
2357
  d.instance.setContent(o, function() {
2347
- n.trigger("slide_after_load", h);
2358
+ s.trigger("slide_after_load", h);
2348
2359
  });
2349
2360
  }, 200) : d.instance.setContent(o, function() {
2350
- n.trigger("slide_after_load", h);
2361
+ s.trigger("slide_after_load", h);
2351
2362
  });
2352
2363
  } }, { key: "prevSlide", value: function() {
2353
2364
  this.goToSlide(this.index - 1);
@@ -2359,36 +2370,36 @@ var Qt = { exports: {} };
2359
2370
  return !1;
2360
2371
  e < 0 ? e = this.elements.length - 1 : e >= this.elements.length && (e = 0), this.showSlide(e);
2361
2372
  } }, { key: "insertSlide", value: function() {
2362
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1;
2363
- n < 0 && (n = this.elements.length);
2364
- var o = new Ye(e, this, n), d = o.getConfig(), l = x({}, d), h = o.create(), u = this.elements.length - 1;
2365
- l.index = n, l.node = !1, l.instance = o, l.slideConfig = d, this.elements.splice(n, 0, l);
2373
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1;
2374
+ s < 0 && (s = this.elements.length);
2375
+ var o = new Ye(e, this, s), d = o.getConfig(), l = k({}, d), h = o.create(), u = this.elements.length - 1;
2376
+ l.index = s, l.node = !1, l.instance = o, l.slideConfig = d, this.elements.splice(s, 0, l);
2366
2377
  var p = null, v = null;
2367
2378
  if (this.slidesContainer) {
2368
- if (n > u)
2379
+ if (s > u)
2369
2380
  this.slidesContainer.appendChild(h);
2370
2381
  else {
2371
- var g = this.slidesContainer.querySelectorAll(".gslide")[n];
2382
+ var g = this.slidesContainer.querySelectorAll(".gslide")[s];
2372
2383
  this.slidesContainer.insertBefore(h, g);
2373
2384
  }
2374
- (this.settings.preload && this.index == 0 && n == 0 || this.index - 1 == n || this.index + 1 == n) && this.preloadSlide(n), this.index === 0 && n === 0 && (this.index = 1), this.updateNavigationClasses(), p = this.slidesContainer.querySelectorAll(".gslide")[n], v = this.getSlidePlayerInstance(n), l.slideNode = p;
2385
+ (this.settings.preload && this.index == 0 && s == 0 || this.index - 1 == s || this.index + 1 == s) && this.preloadSlide(s), this.index === 0 && s === 0 && (this.index = 1), this.updateNavigationClasses(), p = this.slidesContainer.querySelectorAll(".gslide")[s], v = this.getSlidePlayerInstance(s), l.slideNode = p;
2375
2386
  }
2376
- this.trigger("slide_inserted", { index: n, slide: p, slideNode: p, slideConfig: d, slideIndex: n, trigger: null, player: v }), y(this.settings.slideInserted) && this.settings.slideInserted({ index: n, slide: p, player: v });
2387
+ this.trigger("slide_inserted", { index: s, slide: p, slideNode: p, slideConfig: d, slideIndex: s, trigger: null, player: v }), y(this.settings.slideInserted) && this.settings.slideInserted({ index: s, slide: p, player: v });
2377
2388
  } }, { key: "removeSlide", value: function() {
2378
2389
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : -1;
2379
2390
  if (e < 0 || e > this.elements.length - 1)
2380
2391
  return !1;
2381
- var n = this.slidesContainer && this.slidesContainer.querySelectorAll(".gslide")[e];
2382
- n && (this.getActiveSlideIndex() == e && (e == this.elements.length - 1 ? this.prevSlide() : this.nextSlide()), n.parentNode.removeChild(n)), this.elements.splice(e, 1), this.trigger("slide_removed", e), y(this.settings.slideRemoved) && this.settings.slideRemoved(e);
2383
- } }, { key: "slideAnimateIn", value: function(e, n) {
2392
+ var s = this.slidesContainer && this.slidesContainer.querySelectorAll(".gslide")[e];
2393
+ s && (this.getActiveSlideIndex() == e && (e == this.elements.length - 1 ? this.prevSlide() : this.nextSlide()), s.parentNode.removeChild(s)), this.elements.splice(e, 1), this.trigger("slide_removed", e), y(this.settings.slideRemoved) && this.settings.slideRemoved(e);
2394
+ } }, { key: "slideAnimateIn", value: function(e, s) {
2384
2395
  var o = this, d = e.querySelector(".gslide-media"), l = e.querySelector(".gslide-description"), h = { index: this.prevActiveSlideIndex, slide: this.prevActiveSlide, slideNode: this.prevActiveSlide, slideIndex: this.prevActiveSlide, slideConfig: ne(this.prevActiveSlideIndex) ? null : this.elements[this.prevActiveSlideIndex].slideConfig, trigger: ne(this.prevActiveSlideIndex) ? null : this.elements[this.prevActiveSlideIndex].node, player: this.getSlidePlayerInstance(this.prevActiveSlideIndex) }, u = { 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) };
2385
- if (d.offsetWidth > 0 && l && (M(l), l.style.display = ""), $(e, this.effectsClasses), n)
2386
- A(e, this.settings.cssEfects[this.settings.openEffect].in, function() {
2396
+ if (d.offsetWidth > 0 && l && ($(l), l.style.display = ""), A(e, this.effectsClasses), s)
2397
+ E(e, this.settings.cssEfects[this.settings.openEffect].in, function() {
2387
2398
  o.settings.autoplayVideos && o.slidePlayerPlay(e), o.trigger("slide_changed", { prev: h, current: u }), y(o.settings.afterSlideChange) && o.settings.afterSlideChange.apply(o, [h, u]);
2388
2399
  });
2389
2400
  else {
2390
2401
  var p = this.settings.slideEffect, v = p !== "none" ? this.settings.cssEfects[p].in : p;
2391
- this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (v = this.settings.cssEfects.slideBack.in), A(e, v, function() {
2402
+ this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (v = this.settings.cssEfects.slideBack.in), E(e, v, function() {
2392
2403
  o.settings.autoplayVideos && o.slidePlayerPlay(e), o.trigger("slide_changed", { prev: h, current: u }), y(o.settings.afterSlideChange) && o.settings.afterSlideChange.apply(o, [h, u]);
2393
2404
  });
2394
2405
  }
@@ -2399,43 +2410,43 @@ var Qt = { exports: {} };
2399
2410
  if (!this.prevActiveSlide)
2400
2411
  return !1;
2401
2412
  var e = this.prevActiveSlide;
2402
- $(e, this.effectsClasses), T(e, "prev");
2403
- var n = this.settings.slideEffect, o = n !== "none" ? this.settings.cssEfects[n].out : n;
2404
- this.slidePlayerPause(e), this.trigger("slide_before_change", { prev: { index: this.prevActiveSlideIndex, slide: this.prevActiveSlide, slideNode: this.prevActiveSlide, slideIndex: this.prevActiveSlideIndex, slideConfig: ne(this.prevActiveSlideIndex) ? null : this.elements[this.prevActiveSlideIndex].slideConfig, trigger: ne(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) } }), y(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" && (o = this.settings.cssEfects.slideBack.out), A(e, o, function() {
2413
+ A(e, this.effectsClasses), T(e, "prev");
2414
+ var s = this.settings.slideEffect, o = s !== "none" ? this.settings.cssEfects[s].out : s;
2415
+ this.slidePlayerPause(e), this.trigger("slide_before_change", { prev: { index: this.prevActiveSlideIndex, slide: this.prevActiveSlide, slideNode: this.prevActiveSlide, slideIndex: this.prevActiveSlideIndex, slideConfig: ne(this.prevActiveSlideIndex) ? null : this.elements[this.prevActiveSlideIndex].slideConfig, trigger: ne(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) } }), y(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" && (o = this.settings.cssEfects.slideBack.out), E(e, o, function() {
2405
2416
  var d = e.querySelector(".ginner-container"), l = e.querySelector(".gslide-media"), h = e.querySelector(".gslide-description");
2406
- d.style.transform = "", l.style.transform = "", $(l, "greset"), l.style.opacity = "", h && (h.style.opacity = ""), $(e, "prev");
2417
+ d.style.transform = "", l.style.transform = "", A(l, "greset"), l.style.opacity = "", h && (h.style.opacity = ""), A(e, "prev");
2407
2418
  });
2408
2419
  } }, { key: "getAllPlayers", value: function() {
2409
2420
  return this.videoPlayers;
2410
2421
  } }, { key: "getSlidePlayerInstance", value: function(e) {
2411
- var n = "gvideo" + e, o = this.getAllPlayers();
2412
- return !(!N(o, n) || !o[n]) && o[n];
2422
+ var s = "gvideo" + e, o = this.getAllPlayers();
2423
+ return !(!N(o, s) || !o[s]) && o[s];
2413
2424
  } }, { key: "stopSlideVideo", value: function(e) {
2414
2425
  if (te(e)) {
2415
- var n = e.querySelector(".gvideo-wrapper");
2416
- n && (e = n.getAttribute("data-index"));
2426
+ var s = e.querySelector(".gvideo-wrapper");
2427
+ s && (e = s.getAttribute("data-index"));
2417
2428
  }
2418
2429
  console.log("stopSlideVideo is deprecated, use slidePlayerPause");
2419
2430
  var o = this.getSlidePlayerInstance(e);
2420
2431
  o && o.playing && o.pause();
2421
2432
  } }, { key: "slidePlayerPause", value: function(e) {
2422
2433
  if (te(e)) {
2423
- var n = e.querySelector(".gvideo-wrapper");
2424
- n && (e = n.getAttribute("data-index"));
2434
+ var s = e.querySelector(".gvideo-wrapper");
2435
+ s && (e = s.getAttribute("data-index"));
2425
2436
  }
2426
2437
  var o = this.getSlidePlayerInstance(e);
2427
2438
  o && o.playing && o.pause();
2428
2439
  } }, { key: "playSlideVideo", value: function(e) {
2429
2440
  if (te(e)) {
2430
- var n = e.querySelector(".gvideo-wrapper");
2431
- n && (e = n.getAttribute("data-index"));
2441
+ var s = e.querySelector(".gvideo-wrapper");
2442
+ s && (e = s.getAttribute("data-index"));
2432
2443
  }
2433
2444
  console.log("playSlideVideo is deprecated, use slidePlayerPlay");
2434
2445
  var o = this.getSlidePlayerInstance(e);
2435
2446
  o && !o.playing && o.play();
2436
2447
  } }, { key: "slidePlayerPlay", value: function(e) {
2437
- var n;
2438
- if (!Mt || (n = this.settings.plyr.config) !== null && n !== void 0 && n.muted) {
2448
+ var s;
2449
+ if (!It || (s = this.settings.plyr.config) !== null && s !== void 0 && s.muted) {
2439
2450
  if (te(e)) {
2440
2451
  var o = e.querySelector(".gvideo-wrapper");
2441
2452
  o && (e = o.getAttribute("data-index"));
@@ -2444,36 +2455,36 @@ var Qt = { exports: {} };
2444
2455
  d && !d.playing && (d.play(), this.settings.autofocusVideos && d.elements.container.focus());
2445
2456
  }
2446
2457
  } }, { key: "setElements", value: function(e) {
2447
- var n = this;
2458
+ var s = this;
2448
2459
  this.settings.elements = !1;
2449
2460
  var o = [];
2450
- e && e.length && _(e, function(d, l) {
2451
- var h = new Ye(d, n, l), u = h.getConfig(), p = x({}, u);
2461
+ e && e.length && S(e, function(d, l) {
2462
+ var h = new Ye(d, s, l), u = h.getConfig(), p = k({}, u);
2452
2463
  p.slideConfig = u, p.instance = h, p.index = l, o.push(p);
2453
- }), this.elements = o, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (_(this.elements, function() {
2454
- var d = de(n.settings.slideHTML);
2455
- n.slidesContainer.appendChild(d);
2464
+ }), this.elements = o, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (S(this.elements, function() {
2465
+ var d = le(s.settings.slideHTML);
2466
+ s.slidesContainer.appendChild(d);
2456
2467
  }), this.showSlide(0, !0)));
2457
2468
  } }, { key: "getElementIndex", value: function(e) {
2458
- var n = !1;
2459
- return _(this.elements, function(o, d) {
2469
+ var s = !1;
2470
+ return S(this.elements, function(o, d) {
2460
2471
  if (N(o, "node") && o.node == e)
2461
- return n = d, !0;
2462
- }), n;
2472
+ return s = d, !0;
2473
+ }), s;
2463
2474
  } }, { key: "getElements", value: function() {
2464
- var e = this, n = [];
2465
- this.elements = this.elements ? this.elements : [], !ne(this.settings.elements) && Ne(this.settings.elements) && this.settings.elements.length && _(this.settings.elements, function(d, l) {
2466
- var h = new Ye(d, e, l), u = h.getConfig(), p = x({}, u);
2467
- p.node = !1, p.index = l, p.instance = h, p.slideConfig = u, n.push(p);
2475
+ var e = this, s = [];
2476
+ this.elements = this.elements ? this.elements : [], !ne(this.settings.elements) && Ne(this.settings.elements) && this.settings.elements.length && S(this.settings.elements, function(d, l) {
2477
+ var h = new Ye(d, e, l), u = h.getConfig(), p = k({}, u);
2478
+ p.node = !1, p.index = l, p.instance = h, p.slideConfig = u, s.push(p);
2468
2479
  });
2469
2480
  var o = !1;
2470
- return this.getSelector() && (o = document.querySelectorAll(this.getSelector())), o && _(o, function(d, l) {
2471
- var h = new Ye(d, e, l), u = h.getConfig(), p = x({}, u);
2472
- p.node = d, p.index = l, p.instance = h, p.slideConfig = u, p.gallery = d.getAttribute("data-gallery"), n.push(p);
2473
- }), n;
2474
- } }, { key: "getGalleryElements", value: function(e, n) {
2481
+ return this.getSelector() && (o = document.querySelectorAll(this.getSelector())), o && S(o, function(d, l) {
2482
+ var h = new Ye(d, e, l), u = h.getConfig(), p = k({}, u);
2483
+ p.node = d, p.index = l, p.instance = h, p.slideConfig = u, p.gallery = d.getAttribute("data-gallery"), s.push(p);
2484
+ }), s;
2485
+ } }, { key: "getGalleryElements", value: function(e, s) {
2475
2486
  return e.filter(function(o) {
2476
- return o.gallery == n;
2487
+ return o.gallery == s;
2477
2488
  });
2478
2489
  } }, { key: "getSelector", value: function() {
2479
2490
  return !this.settings.elements && (this.settings.selector && this.settings.selector.substring(0, 5) == "data-" ? "*[".concat(this.settings.selector, "]") : this.settings.selector);
@@ -2483,9 +2494,9 @@ var Qt = { exports: {} };
2483
2494
  return this.index;
2484
2495
  } }, { key: "getAnimationClasses", value: function() {
2485
2496
  var e = [];
2486
- for (var n in this.settings.cssEfects)
2487
- if (this.settings.cssEfects.hasOwnProperty(n)) {
2488
- var o = this.settings.cssEfects[n];
2497
+ for (var s in this.settings.cssEfects)
2498
+ if (this.settings.cssEfects.hasOwnProperty(s)) {
2499
+ var o = this.settings.cssEfects[s];
2489
2500
  e.push("g".concat(o.in)), e.push("g".concat(o.out));
2490
2501
  }
2491
2502
  return e.join(" ");
@@ -2493,33 +2504,33 @@ var Qt = { exports: {} };
2493
2504
  var e = this;
2494
2505
  if (this.built)
2495
2506
  return !1;
2496
- var n = document.body.childNodes, o = [];
2497
- _(n, function(g) {
2507
+ var s = document.body.childNodes, o = [];
2508
+ S(s, function(g) {
2498
2509
  g.parentNode == document.body && g.nodeName.charAt(0) !== "#" && g.hasAttribute && !g.hasAttribute("aria-hidden") && (o.push(g), g.setAttribute("aria-hidden", "true"));
2499
2510
  });
2500
2511
  var d = N(this.settings.svg, "next") ? this.settings.svg.next : "", l = N(this.settings.svg, "prev") ? this.settings.svg.prev : "", h = N(this.settings.svg, "close") ? this.settings.svg.close : "", u = this.settings.lightboxHTML;
2501
- u = de(u = (u = (u = u.replace(/{nextSVG}/g, d)).replace(/{prevSVG}/g, l)).replace(/{closeSVG}/g, h)), document.body.appendChild(u);
2512
+ u = le(u = (u = (u = u.replace(/{nextSVG}/g, d)).replace(/{prevSVG}/g, l)).replace(/{closeSVG}/g, h)), document.body.appendChild(u);
2502
2513
  var p = document.getElementById("glightbox-body");
2503
2514
  this.modal = p;
2504
2515
  var v = p.querySelector(".gclose");
2505
- this.prevButton = p.querySelector(".gprev"), this.nextButton = p.querySelector(".gnext"), this.overlay = p.querySelector(".goverlay"), this.loader = p.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = o, this.events = {}, T(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && v && (this.events.close = j("click", { onElement: v, withCallback: function(g, m) {
2516
+ this.prevButton = p.querySelector(".gprev"), this.nextButton = p.querySelector(".gnext"), this.overlay = p.querySelector(".goverlay"), this.loader = p.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = o, this.events = {}, T(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && v && (this.events.close = L("click", { onElement: v, withCallback: function(g, m) {
2506
2517
  g.preventDefault(), e.close();
2507
- } })), v && !this.settings.closeButton && v.parentNode.removeChild(v), this.nextButton && (this.events.next = j("click", { onElement: this.nextButton, withCallback: function(g, m) {
2518
+ } })), v && !this.settings.closeButton && v.parentNode.removeChild(v), this.nextButton && (this.events.next = L("click", { onElement: this.nextButton, withCallback: function(g, m) {
2508
2519
  g.preventDefault(), e.nextSlide();
2509
- } })), this.prevButton && (this.events.prev = j("click", { onElement: this.prevButton, withCallback: function(g, m) {
2520
+ } })), this.prevButton && (this.events.prev = L("click", { onElement: this.prevButton, withCallback: function(g, m) {
2510
2521
  g.preventDefault(), e.prevSlide();
2511
- } })), this.settings.closeOnOutsideClick && (this.events.outClose = j("click", { onElement: p, withCallback: function(g, m) {
2522
+ } })), this.settings.closeOnOutsideClick && (this.events.outClose = L("click", { onElement: p, withCallback: function(g, m) {
2512
2523
  e.preventOutsideClick || F(document.body, "glightbox-mobile") || ce(g.target, ".ginner-container") || ce(g.target, ".gbtn") || F(g.target, "gnext") || F(g.target, "gprev") || e.close();
2513
- } })), _(this.elements, function(g, m) {
2524
+ } })), S(this.elements, function(g, m) {
2514
2525
  e.slidesContainer.appendChild(g.instance.create()), g.slideNode = e.slidesContainer.querySelectorAll(".gslide")[m];
2515
- }), It && T(document.body, "glightbox-touch"), this.events.resize = j("resize", { onElement: window, withCallback: function() {
2526
+ }), Lt && T(document.body, "glightbox-touch"), this.events.resize = L("resize", { onElement: window, withCallback: function() {
2516
2527
  e.resize();
2517
2528
  } }), this.built = !0;
2518
2529
  } }, { key: "resize", value: function() {
2519
2530
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
2520
2531
  if ((e = e || this.activeSlide) && !F(e, "zoomed")) {
2521
- var n = ee(), o = e.querySelector(".gvideo-wrapper"), d = e.querySelector(".gslide-image"), l = this.slideDescription, h = n.width, u = n.height;
2522
- if (h <= 768 ? T(document.body, "glightbox-mobile") : $(document.body, "glightbox-mobile"), o || d) {
2532
+ var s = ee(), o = e.querySelector(".gvideo-wrapper"), d = e.querySelector(".gslide-image"), l = this.slideDescription, h = s.width, u = s.height;
2533
+ if (h <= 768 ? T(document.body, "glightbox-mobile") : A(document.body, "glightbox-mobile"), o || d) {
2523
2534
  var p = !1;
2524
2535
  if (l && (F(l, "description-bottom") || F(l, "description-top")) && !F(l, "gabsolute") && (p = !0), d) {
2525
2536
  if (h <= 768)
@@ -2532,12 +2543,12 @@ var Qt = { exports: {} };
2532
2543
  if (o) {
2533
2544
  var m = N(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2534
2545
  if (!m) {
2535
- var E = o.clientWidth, C = o.clientHeight, O = E / C;
2536
- m = "".concat(E / O, ":").concat(C / O);
2546
+ var M = o.clientWidth, _ = o.clientHeight, j = M / _;
2547
+ m = "".concat(M / j, ":").concat(_ / j);
2537
2548
  }
2538
- var z = m.split(":"), I = this.settings.videosWidth, oe = this.settings.videosWidth, ae = (oe = Ue(I) || I.indexOf("px") !== -1 ? parseInt(I) : I.indexOf("vw") !== -1 ? h * parseInt(I) / 100 : I.indexOf("vh") !== -1 ? u * parseInt(I) / 100 : I.indexOf("%") !== -1 ? h * parseInt(I) / 100 : parseInt(o.clientWidth)) / (parseInt(z[0]) / parseInt(z[1]));
2539
- if (ae = Math.floor(ae), p && (u -= l.offsetHeight), oe > h || ae > u || u < ae && h > oe) {
2540
- var me = o.offsetWidth, ye = o.offsetHeight, _e = u / ye, je = { width: me * _e, height: ye * _e };
2549
+ var z = m.split(":"), I = this.settings.videosWidth, re = this.settings.videosWidth, ae = (re = Ue(I) || I.indexOf("px") !== -1 ? parseInt(I) : I.indexOf("vw") !== -1 ? h * parseInt(I) / 100 : I.indexOf("vh") !== -1 ? u * parseInt(I) / 100 : I.indexOf("%") !== -1 ? h * parseInt(I) / 100 : parseInt(o.clientWidth)) / (parseInt(z[0]) / parseInt(z[1]));
2550
+ if (ae = Math.floor(ae), p && (u -= l.offsetHeight), re > h || ae > u || u < ae && h > re) {
2551
+ var ve = o.offsetWidth, we = o.offsetHeight, _e = u / we, je = { width: ve * _e, height: we * _e };
2541
2552
  o.parentNode.setAttribute("style", "max-width: ".concat(je.width, "px")), p && l.setAttribute("style", "max-width: ".concat(je.width, "px;"));
2542
2553
  } else
2543
2554
  o.parentNode.style.maxWidth = "".concat(I), p && l.setAttribute("style", "max-width: ".concat(I, ";"));
@@ -2548,7 +2559,7 @@ var Qt = { exports: {} };
2548
2559
  this.init();
2549
2560
  } }, { key: "updateNavigationClasses", value: function() {
2550
2561
  var e = this.loop();
2551
- $(this.nextButton, "disabled"), $(this.prevButton, "disabled"), this.index == 0 && this.elements.length - 1 == 0 ? (T(this.prevButton, "disabled"), T(this.nextButton, "disabled")) : this.index !== 0 || e ? this.index !== this.elements.length - 1 || e || T(this.nextButton, "disabled") : T(this.prevButton, "disabled");
2562
+ A(this.nextButton, "disabled"), A(this.prevButton, "disabled"), this.index == 0 && this.elements.length - 1 == 0 ? (T(this.prevButton, "disabled"), T(this.nextButton, "disabled")) : this.index !== 0 || e ? this.index !== this.elements.length - 1 || e || T(this.nextButton, "disabled") : T(this.prevButton, "disabled");
2552
2563
  } }, { key: "loop", value: function() {
2553
2564
  var e = N(this.settings, "loopAtEnd") ? this.settings.loopAtEnd : null;
2554
2565
  return e = N(this.settings, "loop") ? this.settings.loop : e, e;
@@ -2556,43 +2567,43 @@ var Qt = { exports: {} };
2556
2567
  var e = this;
2557
2568
  if (!this.lightboxOpen) {
2558
2569
  if (this.events) {
2559
- for (var n in this.events)
2560
- this.events.hasOwnProperty(n) && this.events[n].destroy();
2570
+ for (var s in this.events)
2571
+ this.events.hasOwnProperty(s) && this.events[s].destroy();
2561
2572
  this.events = null;
2562
2573
  }
2563
2574
  return !1;
2564
2575
  }
2565
2576
  if (this.closing)
2566
2577
  return !1;
2567
- this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && _(this.bodyHiddenChildElms, function(o) {
2578
+ this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && S(this.bodyHiddenChildElms, function(o) {
2568
2579
  o.removeAttribute("aria-hidden");
2569
- }), T(this.modal, "glightbox-closing"), A(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), A(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, function() {
2580
+ }), T(this.modal, "glightbox-closing"), E(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), E(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, function() {
2570
2581
  if (e.activeSlide = null, e.prevActiveSlideIndex = null, e.prevActiveSlide = null, e.built = !1, e.events) {
2571
2582
  for (var o in e.events)
2572
2583
  e.events.hasOwnProperty(o) && e.events[o].destroy();
2573
2584
  e.events = null;
2574
2585
  }
2575
2586
  var d = document.body;
2576
- $(jt, "glightbox-open"), $(d, "glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"), e.modal.parentNode.removeChild(e.modal), e.trigger("close"), y(e.settings.onClose) && e.settings.onClose();
2587
+ A(jt, "glightbox-open"), A(d, "glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"), e.modal.parentNode.removeChild(e.modal), e.trigger("close"), y(e.settings.onClose) && e.settings.onClose();
2577
2588
  var l = document.querySelector(".gcss-styles");
2578
2589
  l && l.parentNode.removeChild(l), e.lightboxOpen = !1, e.closing = null;
2579
2590
  });
2580
2591
  } }, { key: "destroy", value: function() {
2581
2592
  this.close(), this.clearAllEvents(), this.baseEvents && this.baseEvents.destroy();
2582
- } }, { key: "on", value: function(e, n) {
2593
+ } }, { key: "on", value: function(e, s) {
2583
2594
  var o = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
2584
- if (!e || !y(n))
2595
+ if (!e || !y(s))
2585
2596
  throw new TypeError("Event name and callback must be defined");
2586
- this.apiEvents.push({ evt: e, once: o, callback: n });
2587
- } }, { key: "once", value: function(e, n) {
2588
- this.on(e, n, !0);
2597
+ this.apiEvents.push({ evt: e, once: o, callback: s });
2598
+ } }, { key: "once", value: function(e, s) {
2599
+ this.on(e, s, !0);
2589
2600
  } }, { key: "trigger", value: function(e) {
2590
- var n = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, d = [];
2591
- _(this.apiEvents, function(l, h) {
2601
+ var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, d = [];
2602
+ S(this.apiEvents, function(l, h) {
2592
2603
  var u = l.evt, p = l.once, v = l.callback;
2593
2604
  u == e && (v(o), p && d.push(h));
2594
- }), d.length && _(d, function(l) {
2595
- return n.apiEvents.splice(l, 1);
2605
+ }), d.length && S(d, function(l) {
2606
+ return s.apiEvents.splice(l, 1);
2596
2607
  });
2597
2608
  } }, { key: "clearAllEvents", value: function() {
2598
2609
  this.apiEvents.splice(0, this.apiEvents.length);
@@ -2609,9 +2620,9 @@ var Qt = { exports: {} };
2609
2620
  var mc = Qt.exports;
2610
2621
  const yc = /* @__PURE__ */ Zt(mc);
2611
2622
  var vc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, xc = (a, t, c, i) => {
2612
- for (var s = i > 1 ? void 0 : i ? wc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2613
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2614
- return i && s && vc(t, c, s), s;
2623
+ for (var n = i > 1 ? void 0 : i ? wc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2624
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
2625
+ return i && n && vc(t, c, n), n;
2615
2626
  };
2616
2627
  let yt = class extends rt {
2617
2628
  render() {
@@ -2659,10 +2670,10 @@ yt.styles = U`
2659
2670
  yt = xc([
2660
2671
  Y("cb-thinking")
2661
2672
  ], yt);
2662
- var kc = Object.defineProperty, Sc = Object.getOwnPropertyDescriptor, ea = (a, t, c, i) => {
2663
- for (var s = i > 1 ? void 0 : i ? Sc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2664
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2665
- return i && s && kc(t, c, s), s;
2673
+ var kc = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, ea = (a, t, c, i) => {
2674
+ for (var n = i > 1 ? void 0 : i ? Cc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2675
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
2676
+ return i && n && kc(t, c, n), n;
2666
2677
  };
2667
2678
  let at = class extends Q {
2668
2679
  constructor() {
@@ -2699,13 +2710,13 @@ at.styles = U`
2699
2710
  }
2700
2711
  `;
2701
2712
  ea([
2702
- k({ type: Array })
2713
+ C({ type: Array })
2703
2714
  ], at.prototype, "files", 2);
2704
2715
  at = ea([
2705
2716
  Y("cb-uploading")
2706
2717
  ], at);
2707
- const _c = U`
2708
- ${he}
2718
+ const Sc = U`
2719
+ ${ue}
2709
2720
  :host {
2710
2721
  }
2711
2722
 
@@ -2725,10 +2736,10 @@ const _c = U`
2725
2736
  margin-right: 0.2em;
2726
2737
  }
2727
2738
  `;
2728
- var Cc = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, kt = (a, t, c, i) => {
2729
- for (var s = i > 1 ? void 0 : i ? Tc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2730
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2731
- return i && s && Cc(t, c, s), s;
2739
+ var _c = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, Ct = (a, t, c, i) => {
2740
+ for (var n = i > 1 ? void 0 : i ? Tc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2741
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
2742
+ return i && n && _c(t, c, n), n;
2732
2743
  };
2733
2744
  let qe = class extends rt {
2734
2745
  constructor() {
@@ -2775,29 +2786,29 @@ qe.styles = U`
2775
2786
  text-decoration: underline;
2776
2787
  }
2777
2788
  `;
2778
- kt([
2779
- k({ type: String })
2789
+ Ct([
2790
+ C({ type: String })
2780
2791
  ], qe.prototype, "url", 2);
2781
- kt([
2782
- k({ type: Boolean })
2792
+ Ct([
2793
+ C({ type: Boolean })
2783
2794
  ], qe.prototype, "inverse", 2);
2784
- qe = kt([
2795
+ qe = Ct([
2785
2796
  Y("cb-external-link")
2786
2797
  ], qe);
2787
- const Ec = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983l-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z"/></svg>', Ac = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.14 1.14 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/></svg>', $c = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2H9v-1h3a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM.706 13.189v2.66H0V11.85h.806l1.14 2.596h.026l1.14-2.596h.8v3.999h-.716v-2.66h-.038l-.946 2.159h-.516l-.952-2.16H.706Zm3.919 2.66V11.85h1.459c.406 0 .741.078 1.005.234c.263.157.46.383.589.68c.13.297.196.655.196 1.075c0 .422-.066.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-1 .237H4.626Zm1.353-3.354h-.562v2.707h.562c.186 0 .347-.028.484-.082a.8.8 0 0 0 .334-.252a1.14 1.14 0 0 0 .196-.422c.045-.168.067-.365.067-.592a2.1 2.1 0 0 0-.117-.753a.89.89 0 0 0-.354-.454c-.159-.102-.362-.152-.61-.152Z"/></svg>', Mc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM3.517 14.841a1.13 1.13 0 0 0 .401.823c.13.108.289.192.478.252c.19.061.411.091.665.091c.338 0 .624-.053.859-.158c.236-.105.416-.252.539-.44c.125-.189.187-.408.187-.656c0-.224-.045-.41-.134-.56a1.001 1.001 0 0 0-.375-.357a2.027 2.027 0 0 0-.566-.21l-.621-.144a.97.97 0 0 1-.404-.176a.37.37 0 0 1-.144-.299c0-.156.062-.284.185-.384c.125-.101.296-.152.512-.152c.143 0 .266.023.37.068a.624.624 0 0 1 .246.181a.56.56 0 0 1 .12.258h.75a1.092 1.092 0 0 0-.2-.566a1.21 1.21 0 0 0-.5-.41a1.813 1.813 0 0 0-.78-.152c-.293 0-.551.05-.776.15c-.225.099-.4.24-.527.421c-.127.182-.19.395-.19.639c0 .201.04.376.122.524c.082.149.2.27.352.367c.152.095.332.167.539.213l.618.144c.207.049.361.113.463.193a.387.387 0 0 1 .152.326a.505.505 0 0 1-.085.29a.559.559 0 0 1-.255.193c-.111.047-.249.07-.413.07c-.117 0-.223-.013-.32-.04a.838.838 0 0 1-.248-.115a.578.578 0 0 1-.255-.384h-.765ZM.806 13.693c0-.248.034-.46.102-.633a.868.868 0 0 1 .302-.399a.814.814 0 0 1 .475-.137c.15 0 .283.032.398.097a.7.7 0 0 1 .272.26a.85.85 0 0 1 .12.381h.765v-.072a1.33 1.33 0 0 0-.466-.964a1.441 1.441 0 0 0-.489-.272a1.838 1.838 0 0 0-.606-.097c-.356 0-.66.074-.911.223c-.25.148-.44.359-.572.632c-.13.274-.196.6-.196.979v.498c0 .379.064.704.193.976c.131.271.322.48.572.626c.25.145.554.217.914.217c.293 0 .554-.055.785-.164c.23-.11.414-.26.55-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.764a.799.799 0 0 1-.118.363a.7.7 0 0 1-.272.25a.874.874 0 0 1-.401.087a.845.845 0 0 1-.478-.132a.833.833 0 0 1-.299-.392a1.699 1.699 0 0 1-.102-.627v-.495Zm8.239 2.238h-.953l-1.338-3.999h.917l.896 3.138h.038l.888-3.138h.879l-1.327 4Z"/></svg>', Ic = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.817-1.333h-1.6v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474c.108-.201.161-.427.161-.677c0-.25-.052-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.793.793 0 0 1-.375.082H4.15V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.767-.67v3.336H7.48v-3.337H6.346v-.662h3.065v.662H8.274Z"/></svg>', jc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-7.839 9.166v.522c0 .256-.039.47-.117.641a.861.861 0 0 1-.322.387a.877.877 0 0 1-.469.126a.883.883 0 0 1-.471-.126a.868.868 0 0 1-.32-.386a1.55 1.55 0 0 1-.117-.642v-.522c0-.257.04-.471.117-.641a.868.868 0 0 1 .32-.387a.868.868 0 0 1 .471-.129c.176 0 .332.043.469.13a.861.861 0 0 1 .322.386c.078.17.117.384.117.641Zm.803.519v-.513c0-.377-.068-.7-.205-.972a1.46 1.46 0 0 0-.589-.63c-.254-.147-.56-.22-.917-.22c-.355 0-.662.073-.92.22a1.441 1.441 0 0 0-.589.627c-.136.271-.205.596-.205.975v.513c0 .375.069.7.205.973c.137.271.333.48.59.627c.257.144.564.216.92.216c.357 0 .662-.072.916-.216c.256-.147.452-.356.59-.627c.136-.274.204-.598.204-.973ZM0 11.926v4h1.459c.402 0 .735-.08.999-.238a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.59-.68c-.263-.156-.598-.234-1.004-.234H0Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.141 1.141 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082H.79V12.57Zm7.422.483a1.732 1.732 0 0 0-.103.633v.495c0 .246.034.455.103.627a.834.834 0 0 0 .298.393a.845.845 0 0 0 .478.131a.868.868 0 0 0 .401-.088a.699.699 0 0 0 .273-.248a.8.8 0 0 0 .117-.364h.765v.076a1.268 1.268 0 0 1-.226.674c-.137.194-.32.345-.55.454a1.81 1.81 0 0 1-.786.164c-.36 0-.664-.072-.914-.216a1.424 1.424 0 0 1-.571-.627c-.13-.272-.194-.597-.194-.976v-.498c0-.379.066-.705.197-.978c.13-.274.321-.485.571-.633c.252-.149.556-.223.911-.223c.219 0 .421.032.607.097c.187.062.35.153.489.272a1.326 1.326 0 0 1 .466.964v.073H9.78a.85.85 0 0 0-.12-.38a.7.7 0 0 0-.273-.261a.802.802 0 0 0-.398-.097a.814.814 0 0 0-.475.138a.868.868 0 0 0-.301.398Z"/></svg>', Oc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-6.839 9.688v-.522a1.54 1.54 0 0 0-.117-.641a.861.861 0 0 0-.322-.387a.862.862 0 0 0-.469-.129a.868.868 0 0 0-.471.13a.868.868 0 0 0-.32.386a1.54 1.54 0 0 0-.117.641v.522c0 .256.04.47.117.641a.868.868 0 0 0 .32.387a.883.883 0 0 0 .471.126a.877.877 0 0 0 .469-.126a.861.861 0 0 0 .322-.386a1.55 1.55 0 0 0 .117-.642Zm.803-.516v.513c0 .375-.068.7-.205.973a1.47 1.47 0 0 1-.589.627c-.254.144-.56.216-.917.216a1.86 1.86 0 0 1-.92-.216a1.463 1.463 0 0 1-.589-.627a2.151 2.151 0 0 1-.205-.973v-.513c0-.379.069-.704.205-.975c.137-.274.333-.483.59-.627c.257-.147.564-.22.92-.22c.357 0 .662.073.916.22c.256.146.452.356.59.63c.136.271.204.595.204.972M1 15.925v-3.999h1.459c.406 0 .741.078 1.005.235c.264.156.46.382.589.68c.13.296.196.655.196 1.074c0 .422-.065.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-.999.237H1Zm1.354-3.354H1.79v2.707h.563c.185 0 .346-.028.483-.082a.8.8 0 0 0 .334-.252c.088-.114.153-.254.196-.422a2.3 2.3 0 0 0 .068-.592c0-.3-.04-.552-.118-.753a.89.89 0 0 0-.354-.454c-.158-.102-.361-.152-.61-.152Zm6.756 1.116c0-.248.034-.46.103-.633a.868.868 0 0 1 .301-.398a.814.814 0 0 1 .475-.138c.15 0 .283.032.398.097a.7.7 0 0 1 .273.26a.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964a1.44 1.44 0 0 0-.49-.272a1.836 1.836 0 0 0-.606-.097c-.355 0-.66.074-.911.223c-.25.148-.44.359-.571.633c-.131.273-.197.6-.197.978v.498c0 .379.065.704.194.976c.13.271.321.48.571.627c.25.144.555.216.914.216c.293 0 .555-.054.785-.164c.23-.11.414-.26.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364a.699.699 0 0 1-.273.248a.874.874 0 0 1-.401.088a.845.845 0 0 1-.478-.131a.834.834 0 0 1-.298-.393a1.7 1.7 0 0 1-.103-.627v-.495Zm5.092-1.76h.894l-1.275 2.006l1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015l-1.228-1.984h.932l.832 1.439h.035l.823-1.439Z"/></svg>';
2788
- var Pc = Object.defineProperty, Lc = Object.getOwnPropertyDescriptor, St = (a, t, c, i) => {
2789
- for (var s = i > 1 ? void 0 : i ? Lc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2790
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2791
- return i && s && Pc(t, c, s), s;
2798
+ const Mc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983l-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z"/></svg>', Ec = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.14 1.14 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/></svg>', Ac = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2H9v-1h3a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM.706 13.189v2.66H0V11.85h.806l1.14 2.596h.026l1.14-2.596h.8v3.999h-.716v-2.66h-.038l-.946 2.159h-.516l-.952-2.16H.706Zm3.919 2.66V11.85h1.459c.406 0 .741.078 1.005.234c.263.157.46.383.589.68c.13.297.196.655.196 1.075c0 .422-.066.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-1 .237H4.626Zm1.353-3.354h-.562v2.707h.562c.186 0 .347-.028.484-.082a.8.8 0 0 0 .334-.252a1.14 1.14 0 0 0 .196-.422c.045-.168.067-.365.067-.592a2.1 2.1 0 0 0-.117-.753a.89.89 0 0 0-.354-.454c-.159-.102-.362-.152-.61-.152Z"/></svg>', $c = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM3.517 14.841a1.13 1.13 0 0 0 .401.823c.13.108.289.192.478.252c.19.061.411.091.665.091c.338 0 .624-.053.859-.158c.236-.105.416-.252.539-.44c.125-.189.187-.408.187-.656c0-.224-.045-.41-.134-.56a1.001 1.001 0 0 0-.375-.357a2.027 2.027 0 0 0-.566-.21l-.621-.144a.97.97 0 0 1-.404-.176a.37.37 0 0 1-.144-.299c0-.156.062-.284.185-.384c.125-.101.296-.152.512-.152c.143 0 .266.023.37.068a.624.624 0 0 1 .246.181a.56.56 0 0 1 .12.258h.75a1.092 1.092 0 0 0-.2-.566a1.21 1.21 0 0 0-.5-.41a1.813 1.813 0 0 0-.78-.152c-.293 0-.551.05-.776.15c-.225.099-.4.24-.527.421c-.127.182-.19.395-.19.639c0 .201.04.376.122.524c.082.149.2.27.352.367c.152.095.332.167.539.213l.618.144c.207.049.361.113.463.193a.387.387 0 0 1 .152.326a.505.505 0 0 1-.085.29a.559.559 0 0 1-.255.193c-.111.047-.249.07-.413.07c-.117 0-.223-.013-.32-.04a.838.838 0 0 1-.248-.115a.578.578 0 0 1-.255-.384h-.765ZM.806 13.693c0-.248.034-.46.102-.633a.868.868 0 0 1 .302-.399a.814.814 0 0 1 .475-.137c.15 0 .283.032.398.097a.7.7 0 0 1 .272.26a.85.85 0 0 1 .12.381h.765v-.072a1.33 1.33 0 0 0-.466-.964a1.441 1.441 0 0 0-.489-.272a1.838 1.838 0 0 0-.606-.097c-.356 0-.66.074-.911.223c-.25.148-.44.359-.572.632c-.13.274-.196.6-.196.979v.498c0 .379.064.704.193.976c.131.271.322.48.572.626c.25.145.554.217.914.217c.293 0 .554-.055.785-.164c.23-.11.414-.26.55-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.764a.799.799 0 0 1-.118.363a.7.7 0 0 1-.272.25a.874.874 0 0 1-.401.087a.845.845 0 0 1-.478-.132a.833.833 0 0 1-.299-.392a1.699 1.699 0 0 1-.102-.627v-.495Zm8.239 2.238h-.953l-1.338-3.999h.917l.896 3.138h.038l.888-3.138h.879l-1.327 4Z"/></svg>', Ic = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.817-1.333h-1.6v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474c.108-.201.161-.427.161-.677c0-.25-.052-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.793.793 0 0 1-.375.082H4.15V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.767-.67v3.336H7.48v-3.337H6.346v-.662h3.065v.662H8.274Z"/></svg>', Lc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-7.839 9.166v.522c0 .256-.039.47-.117.641a.861.861 0 0 1-.322.387a.877.877 0 0 1-.469.126a.883.883 0 0 1-.471-.126a.868.868 0 0 1-.32-.386a1.55 1.55 0 0 1-.117-.642v-.522c0-.257.04-.471.117-.641a.868.868 0 0 1 .32-.387a.868.868 0 0 1 .471-.129c.176 0 .332.043.469.13a.861.861 0 0 1 .322.386c.078.17.117.384.117.641Zm.803.519v-.513c0-.377-.068-.7-.205-.972a1.46 1.46 0 0 0-.589-.63c-.254-.147-.56-.22-.917-.22c-.355 0-.662.073-.92.22a1.441 1.441 0 0 0-.589.627c-.136.271-.205.596-.205.975v.513c0 .375.069.7.205.973c.137.271.333.48.59.627c.257.144.564.216.92.216c.357 0 .662-.072.916-.216c.256-.147.452-.356.59-.627c.136-.274.204-.598.204-.973ZM0 11.926v4h1.459c.402 0 .735-.08.999-.238a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.59-.68c-.263-.156-.598-.234-1.004-.234H0Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.141 1.141 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082H.79V12.57Zm7.422.483a1.732 1.732 0 0 0-.103.633v.495c0 .246.034.455.103.627a.834.834 0 0 0 .298.393a.845.845 0 0 0 .478.131a.868.868 0 0 0 .401-.088a.699.699 0 0 0 .273-.248a.8.8 0 0 0 .117-.364h.765v.076a1.268 1.268 0 0 1-.226.674c-.137.194-.32.345-.55.454a1.81 1.81 0 0 1-.786.164c-.36 0-.664-.072-.914-.216a1.424 1.424 0 0 1-.571-.627c-.13-.272-.194-.597-.194-.976v-.498c0-.379.066-.705.197-.978c.13-.274.321-.485.571-.633c.252-.149.556-.223.911-.223c.219 0 .421.032.607.097c.187.062.35.153.489.272a1.326 1.326 0 0 1 .466.964v.073H9.78a.85.85 0 0 0-.12-.38a.7.7 0 0 0-.273-.261a.802.802 0 0 0-.398-.097a.814.814 0 0 0-.475.138a.868.868 0 0 0-.301.398Z"/></svg>', jc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-6.839 9.688v-.522a1.54 1.54 0 0 0-.117-.641a.861.861 0 0 0-.322-.387a.862.862 0 0 0-.469-.129a.868.868 0 0 0-.471.13a.868.868 0 0 0-.32.386a1.54 1.54 0 0 0-.117.641v.522c0 .256.04.47.117.641a.868.868 0 0 0 .32.387a.883.883 0 0 0 .471.126a.877.877 0 0 0 .469-.126a.861.861 0 0 0 .322-.386a1.55 1.55 0 0 0 .117-.642Zm.803-.516v.513c0 .375-.068.7-.205.973a1.47 1.47 0 0 1-.589.627c-.254.144-.56.216-.917.216a1.86 1.86 0 0 1-.92-.216a1.463 1.463 0 0 1-.589-.627a2.151 2.151 0 0 1-.205-.973v-.513c0-.379.069-.704.205-.975c.137-.274.333-.483.59-.627c.257-.147.564-.22.92-.22c.357 0 .662.073.916.22c.256.146.452.356.59.63c.136.271.204.595.204.972M1 15.925v-3.999h1.459c.406 0 .741.078 1.005.235c.264.156.46.382.589.68c.13.296.196.655.196 1.074c0 .422-.065.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-.999.237H1Zm1.354-3.354H1.79v2.707h.563c.185 0 .346-.028.483-.082a.8.8 0 0 0 .334-.252c.088-.114.153-.254.196-.422a2.3 2.3 0 0 0 .068-.592c0-.3-.04-.552-.118-.753a.89.89 0 0 0-.354-.454c-.158-.102-.361-.152-.61-.152Zm6.756 1.116c0-.248.034-.46.103-.633a.868.868 0 0 1 .301-.398a.814.814 0 0 1 .475-.138c.15 0 .283.032.398.097a.7.7 0 0 1 .273.26a.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964a1.44 1.44 0 0 0-.49-.272a1.836 1.836 0 0 0-.606-.097c-.355 0-.66.074-.911.223c-.25.148-.44.359-.571.633c-.131.273-.197.6-.197.978v.498c0 .379.065.704.194.976c.13.271.321.48.571.627c.25.144.555.216.914.216c.293 0 .555-.054.785-.164c.23-.11.414-.26.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364a.699.699 0 0 1-.273.248a.874.874 0 0 1-.401.088a.845.845 0 0 1-.478-.131a.834.834 0 0 1-.298-.393a1.7 1.7 0 0 1-.103-.627v-.495Zm5.092-1.76h.894l-1.275 2.006l1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015l-1.228-1.984h.932l.832 1.439h.035l.823-1.439Z"/></svg>';
2799
+ var Oc = Object.defineProperty, Pc = Object.getOwnPropertyDescriptor, St = (a, t, c, i) => {
2800
+ for (var n = i > 1 ? void 0 : i ? Pc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2801
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
2802
+ return i && n && Oc(t, c, n), n;
2792
2803
  };
2793
- const zt = {
2794
- pdf: Ac,
2795
- txt: Ec,
2796
- md: $c,
2797
- csv: Mc,
2804
+ const Ht = {
2805
+ pdf: Ec,
2806
+ txt: Mc,
2807
+ md: Ac,
2808
+ csv: $c,
2798
2809
  ppd: Ic,
2799
- doc: jc,
2800
- docx: Oc
2810
+ doc: Lc,
2811
+ docx: jc
2801
2812
  };
2802
2813
  let Re = class extends Q {
2803
2814
  constructor() {
@@ -2824,17 +2835,17 @@ let Re = class extends Q {
2824
2835
  return w`
2825
2836
  <cb-icon
2826
2837
  class="cb-file-icon"
2827
- svg="${zt[this.type] || zt.txt}"
2838
+ svg="${Ht[this.type] || Ht.txt}"
2828
2839
  ></cb-icon>
2829
2840
  `;
2830
2841
  }
2831
2842
  };
2832
- Re.styles = _c;
2843
+ Re.styles = Sc;
2833
2844
  St([
2834
- k({ type: String })
2845
+ C({ type: String })
2835
2846
  ], Re.prototype, "filename", 2);
2836
2847
  St([
2837
- k({ type: String })
2848
+ C({ type: String })
2838
2849
  ], Re.prototype, "url", 2);
2839
2850
  Re = St([
2840
2851
  Y("cb-file")
@@ -4005,7 +4016,7 @@ const zc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="curr
4005
4016
  background-color: #282c34;
4006
4017
  }
4007
4018
  `, qc = U`
4008
- ${he}
4019
+ ${ue}
4009
4020
  ${Bc}
4010
4021
 
4011
4022
  .cb-message-row {
@@ -4177,21 +4188,21 @@ const zc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="curr
4177
4188
  }
4178
4189
  `;
4179
4190
  function Rc() {
4180
- const a = new $a({
4191
+ const a = new Aa({
4181
4192
  html: !0,
4182
4193
  breaks: !0,
4183
4194
  linkify: !0
4184
4195
  });
4185
- return a.use(Ma, { attrs: { target: "_blank", rel: "noopener" } }), a;
4196
+ return a.use($a, { attrs: { target: "_blank", rel: "noopener" } }), a;
4186
4197
  }
4187
- async function Ht(a) {
4198
+ async function Bt(a) {
4188
4199
  const c = Rc().render(a);
4189
- return w`${we(c)}`;
4200
+ return w`${ke(c)}`;
4190
4201
  }
4191
4202
  var Dc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Ve = (a, t, c, i) => {
4192
- for (var s = i > 1 ? void 0 : i ? Vc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4193
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4194
- return i && s && Dc(t, c, s), s;
4203
+ for (var n = i > 1 ? void 0 : i ? Vc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4204
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
4205
+ return i && n && Dc(t, c, n), n;
4195
4206
  };
4196
4207
  let $e = class extends Q {
4197
4208
  constructor() {
@@ -4273,12 +4284,12 @@ let $e = class extends Q {
4273
4284
  });
4274
4285
  }
4275
4286
  render() {
4276
- return ue(
4287
+ return ge(
4277
4288
  this.message.data || this.message.isThinking,
4278
4289
  () => w`
4279
4290
  <div class="cb-message-row" part="cb-message-row">
4280
4291
  <!-- message -->
4281
- ${ue(
4292
+ ${ge(
4282
4293
  this._isBot,
4283
4294
  () => this.renderBotMessage(this.message),
4284
4295
  () => this.renderUserMessage(this.message)
@@ -4310,17 +4321,17 @@ let $e = class extends Q {
4310
4321
  `;
4311
4322
  }
4312
4323
  async _getMessageText(a) {
4313
- return Ht(a.data.text);
4324
+ return Bt(a.data.text);
4314
4325
  }
4315
4326
  renderMessageContent(a) {
4316
4327
  var t;
4317
4328
  return a.isThinking ? w`<cb-thinking></cb-thinking>` : a.isUploading ? w`<cb-uploading .files="${a.data.files || []}"></cb-uploading>` : a.type === "text" ? w`<div class="cb-message-text">
4318
- ${ue(
4329
+ ${ge(
4319
4330
  a.data.userName,
4320
4331
  () => w`<div style="font-size: 12px; color:#9ca3af">${a.data.userName}</div>`,
4321
4332
  () => null
4322
4333
  )}
4323
- ${Lt(
4334
+ ${zt(
4324
4335
  this._getMessageText(a).then((c) => w`${c}`)
4325
4336
  )}
4326
4337
  </div>` : a.type === "file" ? w`${Je(
@@ -4328,8 +4339,8 @@ let $e = class extends Q {
4328
4339
  (c) => c.id,
4329
4340
  (c) => w`<cb-file filename="${c.name}" url="${c.url}"></cb-file>`
4330
4341
  )}` : w`<div class="cb-message-text">
4331
- ${Lt(
4332
- Ht(((t = a.data.text) == null ? void 0 : t.toString()) || "").then((c) => w`${c}`)
4342
+ ${zt(
4343
+ Bt(((t = a.data.text) == null ? void 0 : t.toString()) || "").then((c) => w`${c}`)
4333
4344
  )}
4334
4345
  </div>`;
4335
4346
  }
@@ -4337,9 +4348,9 @@ let $e = class extends Q {
4337
4348
  var t;
4338
4349
  if (a.data.userName && a.data.userName !== "") {
4339
4350
  const c = ((t = a.data) == null ? void 0 : t.userAvatar) || "";
4340
- return c !== "" ? w` <img src="${c}" style="width: 24px;height: 24px;" /> ` : He`${we(S.setting.agentIconSvg)}`;
4351
+ return c !== "" ? w` <img src="${c}" style="width: 24px;height: 24px;" /> ` : He`${ke(x.setting.agentIconSvg)}`;
4341
4352
  }
4342
- return a.author === "system" ? He`${we(S.setting.systemIconSvg)}` : He`${we(S.setting.botIconSvg)}`;
4353
+ return a.author === "system" ? He`${ke(x.setting.systemIconSvg)}` : He`${ke(x.setting.botIconSvg)}`;
4343
4354
  }
4344
4355
  renderBotMessage(a) {
4345
4356
  return w`
@@ -4355,7 +4366,7 @@ let $e = class extends Q {
4355
4366
  <!--<sl-avatar class="avatar user-avatar small" label="User">
4356
4367
  <cb-icon slot="icon" svg="${Hc}" color="white"></cb-icon>
4357
4368
  </sl-avatar>-->
4358
- <div class="avatar user-avatar">${we(S.setting.userIconSvg)}</div>
4369
+ <div class="avatar user-avatar">${ke(x.setting.userIconSvg)}</div>
4359
4370
  ${this.renderMessage(a)}
4360
4371
  </div>
4361
4372
  `;
@@ -4363,30 +4374,30 @@ let $e = class extends Q {
4363
4374
  };
4364
4375
  $e.styles = qc;
4365
4376
  Ve([
4366
- k({ type: Object })
4377
+ C({ type: Object })
4367
4378
  ], $e.prototype, "message", 2);
4368
4379
  Ve([
4369
- k({ type: String })
4380
+ C({ type: String })
4370
4381
  ], $e.prototype, "type", 2);
4371
4382
  Ve([
4372
- Ft(".code-block-header__copy")
4383
+ Nt(".code-block-header__copy")
4373
4384
  ], $e.prototype, "copyBtns", 2);
4374
4385
  Ve([
4375
- Ft("img")
4386
+ Nt("img")
4376
4387
  ], $e.prototype, "glightboxImages", 2);
4377
4388
  $e = Ve([
4378
4389
  Y("cb-message")
4379
4390
  ], $e);
4380
- var Fc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, ke = (a, t, c, i) => {
4381
- for (var s = i > 1 ? void 0 : i ? Nc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4382
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4383
- return i && s && Fc(t, c, s), s;
4391
+ var Fc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, me = (a, t, c, i) => {
4392
+ for (var n = i > 1 ? void 0 : i ? Nc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4393
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
4394
+ return i && n && Fc(t, c, n), n;
4384
4395
  };
4385
- const Oe = ft.noConflict();
4386
- Oe.setLevel("info");
4387
- let be = class extends Q {
4396
+ const pe = ft.noConflict();
4397
+ pe.setLevel("info");
4398
+ let fe = class extends Q {
4388
4399
  constructor() {
4389
- super(...arguments), this.messages = [], this.actions = [], this.form = null, this.calendlyInjected = !1, this.activeCalendlyAction = -1;
4400
+ super(...arguments), this.messages = [], this.actions = [], this.form = null, this.calendlyInjected = !1, this.activeCalendlyAction = -1, this.hubspotMeetingInjected = !1, this.activeHubspotMeetingAction = -1;
4390
4401
  }
4391
4402
  // Lightbox
4392
4403
  /*
@@ -4415,7 +4426,7 @@ let be = class extends Q {
4415
4426
  this.form.fields,
4416
4427
  (a, t) => t,
4417
4428
  (a) => {
4418
- const t = (a == null ? void 0 : a.required) || !1, c = S.getPrefilledFormFieldValue(a.name);
4429
+ const t = (a == null ? void 0 : a.required) || !1, c = x.getPrefilledFormFieldValue(a.name);
4419
4430
  switch (a.type) {
4420
4431
  case "string":
4421
4432
  return w`<sl-input value="${c}" class="cb-input-form-input" id="${"cb-form-field" + a.name}" name="${a.name}" label="${a.title}" ?required="${t}"></sl-input>`;
@@ -4440,7 +4451,7 @@ let be = class extends Q {
4440
4451
  const t = {};
4441
4452
  if (Array.isArray(this.form.fields))
4442
4453
  for (let c = 0; c < this.form.fields.length; c++) {
4443
- const i = this.form.fields[c], s = "#cb-form-field" + i.name, f = this._inputForm.querySelector(s);
4454
+ const i = this.form.fields[c], n = "#cb-form-field" + i.name, f = this._inputForm.querySelector(n);
4444
4455
  if (f)
4445
4456
  if ("validity" in f && f.validity.valid)
4446
4457
  console.log(`Got Field: ${i.name} value: ${f.value}`, f.validity), t[i.name] = f.value;
@@ -4449,14 +4460,14 @@ let be = class extends Q {
4449
4460
  return;
4450
4461
  }
4451
4462
  }
4452
- S.submitForm(t).then(() => {
4453
- Oe.info("Form submitted", t), this.emit("form:submit", {
4463
+ x.submitForm(t).then(() => {
4464
+ pe.info("Form submitted", t), this.emit("form:submit", {
4454
4465
  detail: {
4455
4466
  formData: t
4456
4467
  }
4457
4468
  });
4458
4469
  }).catch((c) => {
4459
- Oe.error(`Error when submitting form: ${c.message}`);
4470
+ pe.error(`Error when submitting form: ${c.message}`);
4460
4471
  });
4461
4472
  }
4462
4473
  /* Form sample
@@ -4490,30 +4501,34 @@ let be = class extends Q {
4490
4501
  return this.renderCalendlyAction(a);
4491
4502
  case "link":
4492
4503
  return this.renderLinkAction(a);
4504
+ case "hubspotMeeting":
4505
+ return this.renderHubspotMeetingAction(a);
4493
4506
  }
4494
4507
  return null;
4495
4508
  }
4496
4509
  handleCalendlyEvent(a) {
4497
- switch (Oe.info("Got Calendly Event:", a.data), a.data.event) {
4510
+ switch (pe.info("Got Calendly Event:", a.data), a.data.event) {
4498
4511
  case "calendly.event_scheduled": {
4499
4512
  const t = this.activeCalendlyAction;
4500
- t >= 0 && (S.removeAction(t), S.addSystemMessage("Your meeting has been scheduled!"), this.activeCalendlyAction = -1);
4513
+ t >= 0 && (x.removeAction(t), x.addSystemMessage("Your meeting has been scheduled!"), this.activeCalendlyAction = -1);
4501
4514
  }
4502
4515
  }
4503
4516
  }
4504
4517
  invokeLinkAction(a = {}) {
4505
- Oe.info("invokeLinkAction:", a), window.open(a.url, "_blank");
4518
+ pe.info("invokeLinkAction:", a), window.open(a.url, "_blank");
4506
4519
  }
4507
4520
  invokeCalendlyAction(a = {}) {
4508
- return Oe.info("invokeCalendlyAction:", a), "Calendly" in window && (this.activeCalendlyAction = a.internalId, window.Calendly.initPopupWidget({ url: a.url })), !1;
4521
+ return pe.info("invokeCalendlyAction:", a), "Calendly" in window && (this.activeCalendlyAction = a.internalId, window.Calendly.initPopupWidget({ url: a.url })), !1;
4509
4522
  }
4510
4523
  renderCalendlyAction(a) {
4511
4524
  if (!("Calendly" in window) && !this.calendlyInjected) {
4512
4525
  let t = document.createElement("link");
4513
4526
  t.href = "https://assets.calendly.com/assets/external/widget.css", t.rel = "stylesheet", document.body.appendChild(t);
4514
4527
  let c = document.createElement("script");
4515
- c.type = "text/javascript", c.src = "https://assets.calendly.com/assets/external/widget.js", document.body.appendChild(c), console.log("Injected Calendly"), window.addEventListener("message", (i) => {
4516
- i.origin === "https://calendly.com" && i.data.event && i.data.event.indexOf("calendly.") !== -1 && this.handleCalendlyEvent(i);
4528
+ c.type = "text/javascript", c.src = "https://assets.calendly.com/assets/external/widget.js", document.body.appendChild(c);
4529
+ let i = document.createElement("style");
4530
+ i.type = "text/css", i.textContent = ".calendly-overlay { z-index:10100; }", document.body.appendChild(i), console.log("Injected Calendly"), window.addEventListener("message", (n) => {
4531
+ n.origin === "https://calendly.com" && n.data.event && n.data.event.indexOf("calendly.") !== -1 && this.handleCalendlyEvent(n);
4517
4532
  }), this.calendlyInjected = !0;
4518
4533
  }
4519
4534
  return w`
@@ -4546,34 +4561,108 @@ let be = class extends Q {
4546
4561
  </div>
4547
4562
  `;
4548
4563
  }
4564
+ invokeHubspotMeetingAction(a = {}) {
4565
+ var c, i;
4566
+ const t = Date.now();
4567
+ if (this.activeHubspotMeetingAction !== -1) {
4568
+ pe.info(`invokeHubspotMeetingAction: action ${this.activeHubspotMeetingAction} is already active - ignored`);
4569
+ return;
4570
+ }
4571
+ if (pe.info("invokeHubspotMeetingAction:", a), "hbspt" in window && typeof ((i = (c = window.hbspt) == null ? void 0 : c.meetings) == null ? void 0 : i.create) == "function") {
4572
+ const n = document.getElementById("enegelai-bot-hubspot-meeting-container"), f = document.querySelector(".enegelai-bot-hubspot-meeting-widget");
4573
+ if (n && f) {
4574
+ const b = a.url + "?embed=true";
4575
+ f.setAttribute("data-src", b), this.activeHubspotMeetingAction = a.internalId, n.style.display = "block", window.hbspt.meetings.create(".enegelai-bot-hubspot-meeting-widget"), x.updateAction(a, {
4576
+ triggered: t
4577
+ });
4578
+ }
4579
+ }
4580
+ return !1;
4581
+ }
4582
+ handleHubspotEvent(a) {
4583
+ var i;
4584
+ if (pe.info("Got Hubspot Event:", a.data), !(((i = a == null ? void 0 : a.data) == null ? void 0 : i.meetingBookSucceeded) || !1))
4585
+ return;
4586
+ const c = this.activeHubspotMeetingAction;
4587
+ if (c >= 0) {
4588
+ x.removeAction(c), x.addSystemMessage("Your meeting has been scheduled!"), this.activeHubspotMeetingAction = -1;
4589
+ const n = document.getElementById("enegelai-bot-hubspot-meeting-container");
4590
+ n && (n.style.display = "none");
4591
+ }
4592
+ }
4593
+ handleHubspotMeetingCancel() {
4594
+ this.activeHubspotMeetingAction = -1;
4595
+ const a = document.getElementById("enegelai-bot-hubspot-meeting-container");
4596
+ a && (a.style.display = "none");
4597
+ }
4598
+ renderHubspotMeetingAction(a) {
4599
+ if (!this.hubspotMeetingInjected) {
4600
+ const t = document.createElement("script");
4601
+ t.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js", document.getElementsByTagName("head")[0].appendChild(t);
4602
+ let c = document.createElement("div");
4603
+ c.innerHTML = `<div id="enegelai-bot-hubspot-meeting-container" style="display:none;position:fixed;top:0;left:0;z-index:10100;width: 100%;height: 100vh;background-color: rgba(0,0,0,0.6)">
4604
+ <div style="display:flex;align-items: center;justify-content:end;max-width: 850px; margin: 10px auto 0 auto;">
4605
+ <svg id="enegelai-bot-hubspot-meeting-cancel" style="cursor:pointer;color: black;padding: 4px 4px;border-radius: 9999px;background-color: white;" xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
4606
+ </div>
4607
+ <div class="enegelai-bot-hubspot-meeting-widget"></div>
4608
+ </div>
4609
+ `, document.body.appendChild(c), console.log("Injected Hubspot"), window.addEventListener("message", (n) => {
4610
+ n.origin.indexOf("hubspot") !== -1 && this.handleHubspotEvent(n);
4611
+ });
4612
+ const i = document.getElementById("enegelai-bot-hubspot-meeting-cancel");
4613
+ i && i.addEventListener("click", (n) => {
4614
+ this.handleHubspotMeetingCancel();
4615
+ }), this.hubspotMeetingInjected = !0;
4616
+ }
4617
+ return a != null && a.hubspotMeetingAuto && !("triggered" in a) && setTimeout(() => {
4618
+ this.invokeHubspotMeetingAction(a);
4619
+ }, 500), w`
4620
+ <div class="cb-actions-list">
4621
+ <div class="cb-action ripple" @click="${this.invokeHubspotMeetingAction.bind(this, a)}">
4622
+ <div class="cb-action-icon">
4623
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
4624
+ <path
4625
+ d="M22.86 17.74C22.77 17.85 22.65 17.91 22.53 17.94L20.66 18.3L21.95 21.14C22.11 21.43 21.97 21.79 21.67 21.93L19.53 22.94C19.44 23 19.36 23 19.27 23C19.05 23 18.84 22.88 18.74 22.66L17.45 19.83L15.96 21.04C15.86 21.12 15.74 21.17 15.59 21.17C15.26 21.17 15 20.9 15 20.57V11.6C15 11.27 15.26 11 15.59 11C15.74 11 15.88 11.05 16 11.13L22.77 16.89C23.04 17.12 23.07 17.5 22.86 17.74M12 15V10H7V15H12M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H13V19H5V8H19V11.06L21 12.76V5C21 3.9 20.1 3 19 3Z"
4626
+ fill="currentColor"
4627
+ />
4628
+ </svg>
4629
+ </div>
4630
+ ${a.title}
4631
+ </div>
4632
+ </div>
4633
+ `;
4634
+ }
4549
4635
  };
4550
- be.styles = gc;
4551
- ke([
4552
- k({ type: Array })
4553
- ], be.prototype, "messages", 2);
4554
- ke([
4555
- k({ type: Array })
4556
- ], be.prototype, "actions", 2);
4557
- ke([
4558
- k({ type: Object })
4559
- ], be.prototype, "form", 2);
4560
- ke([
4636
+ fe.styles = gc;
4637
+ me([
4638
+ C({ type: Array })
4639
+ ], fe.prototype, "messages", 2);
4640
+ me([
4641
+ C({ type: Array })
4642
+ ], fe.prototype, "actions", 2);
4643
+ me([
4644
+ C({ type: Object })
4645
+ ], fe.prototype, "form", 2);
4646
+ me([
4561
4647
  De("#cb-message-list-bottom-anchor")
4562
- ], be.prototype, "_messageListBottomAnchor", 2);
4563
- ke([
4648
+ ], fe.prototype, "_messageListBottomAnchor", 2);
4649
+ me([
4564
4650
  De(".cb-input-form")
4565
- ], be.prototype, "_inputForm", 2);
4566
- ke([
4567
- Nt({ capture: !1, passive: !0 })
4568
- ], be.prototype, "invokeLinkAction", 1);
4569
- ke([
4570
- Nt({ capture: !1, passive: !0 })
4571
- ], be.prototype, "invokeCalendlyAction", 1);
4572
- be = ke([
4651
+ ], fe.prototype, "_inputForm", 2);
4652
+ me([
4653
+ xt({ capture: !1, passive: !0 })
4654
+ ], fe.prototype, "invokeLinkAction", 1);
4655
+ me([
4656
+ xt({ capture: !1, passive: !0 })
4657
+ ], fe.prototype, "invokeCalendlyAction", 1);
4658
+ me([
4659
+ xt({ capture: !1, passive: !0 })
4660
+ ], fe.prototype, "invokeHubspotMeetingAction", 1);
4661
+ fe = me([
4573
4662
  Y("cb-message-list")
4574
- ], be);
4663
+ ], fe);
4575
4664
  const Uc = U`
4576
- ${he}
4665
+ ${ue}
4577
4666
 
4578
4667
  :host {
4579
4668
  width: 100%;
@@ -4616,12 +4705,12 @@ const Uc = U`
4616
4705
  padding: 0 5px;
4617
4706
  }
4618
4707
  `, Wc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76l7.494-7.493Z"/></svg>', Yc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M4.5 3a2.5 2.5 0 0 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 0 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 1 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0z"/></svg>';
4619
- var Xc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, ge = (a, t, c, i) => {
4620
- for (var s = i > 1 ? void 0 : i ? Zc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4621
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4622
- return i && s && Xc(t, c, s), s;
4708
+ var Xc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, ye = (a, t, c, i) => {
4709
+ for (var n = i > 1 ? void 0 : i ? Zc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4710
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
4711
+ return i && n && Xc(t, c, n), n;
4623
4712
  };
4624
- let fe = class extends Q {
4713
+ let de = class extends Q {
4625
4714
  constructor() {
4626
4715
  super(...arguments), this.placeholder = "Type a message...", this.sendButtonLabel = "Send", this.enableFileUpload = !1, this.value = "", this.loading = !1, this.disabled = !1, this.currentKey = "";
4627
4716
  }
@@ -4677,7 +4766,7 @@ let fe = class extends Q {
4677
4766
  ></sl-textarea>
4678
4767
 
4679
4768
  <span class="cb-input-buttons">
4680
- ${ue(
4769
+ ${ge(
4681
4770
  this.enableFileUpload,
4682
4771
  () => w`
4683
4772
  <sl-button @click=${this._sendFileHandler} name="paperclip" label="Attachment" size="large" class="paperclip-button" variant="text" circle>
@@ -4699,36 +4788,36 @@ let fe = class extends Q {
4699
4788
  a.key === "Enter" && !a.shiftKey && this._sendHandler();
4700
4789
  }
4701
4790
  };
4702
- fe.styles = Uc;
4703
- ge([
4704
- k({ type: String, attribute: "placeholder" })
4705
- ], fe.prototype, "placeholder", 2);
4706
- ge([
4707
- k({ type: String, attribute: "send-button-label" })
4708
- ], fe.prototype, "sendButtonLabel", 2);
4709
- ge([
4710
- k({ type: Boolean, attribute: "enable-file-upload" })
4711
- ], fe.prototype, "enableFileUpload", 2);
4712
- ge([
4713
- k({ type: String })
4714
- ], fe.prototype, "value", 2);
4715
- ge([
4716
- k({ type: Boolean })
4717
- ], fe.prototype, "loading", 2);
4718
- ge([
4719
- k({ type: Boolean })
4720
- ], fe.prototype, "disabled", 2);
4721
- ge([
4722
- k({ type: String })
4723
- ], fe.prototype, "currentKey", 2);
4724
- ge([
4791
+ de.styles = Uc;
4792
+ ye([
4793
+ C({ type: String, attribute: "placeholder" })
4794
+ ], de.prototype, "placeholder", 2);
4795
+ ye([
4796
+ C({ type: String, attribute: "send-button-label" })
4797
+ ], de.prototype, "sendButtonLabel", 2);
4798
+ ye([
4799
+ C({ type: Boolean, attribute: "enable-file-upload" })
4800
+ ], de.prototype, "enableFileUpload", 2);
4801
+ ye([
4802
+ C({ type: String })
4803
+ ], de.prototype, "value", 2);
4804
+ ye([
4805
+ C({ type: Boolean })
4806
+ ], de.prototype, "loading", 2);
4807
+ ye([
4808
+ C({ type: Boolean })
4809
+ ], de.prototype, "disabled", 2);
4810
+ ye([
4811
+ C({ type: String })
4812
+ ], de.prototype, "currentKey", 2);
4813
+ ye([
4725
4814
  De("sl-textarea")
4726
- ], fe.prototype, "inputElement", 2);
4727
- fe = ge([
4815
+ ], de.prototype, "inputElement", 2);
4816
+ de = ye([
4728
4817
  Y("cb-user-input")
4729
- ], fe);
4818
+ ], de);
4730
4819
  const Gc = U`
4731
- ${he}
4820
+ ${ue}
4732
4821
 
4733
4822
  sl-dialog::part(base) {
4734
4823
  z-index: 1000;
@@ -4763,11 +4852,11 @@ const Gc = U`
4763
4852
  }
4764
4853
  `;
4765
4854
  var Jc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, dt = (a, t, c, i) => {
4766
- for (var s = i > 1 ? void 0 : i ? Kc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4767
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4768
- return i && s && Jc(t, c, s), s;
4855
+ for (var n = i > 1 ? void 0 : i ? Kc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4856
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
4857
+ return i && n && Jc(t, c, n), n;
4769
4858
  };
4770
- let Pe = class extends Q {
4859
+ let Oe = class extends Q {
4771
4860
  constructor() {
4772
4861
  super(...arguments), this.open = !1, this.label = "Dialog", this.zindex = 100;
4773
4862
  }
@@ -4811,23 +4900,23 @@ let Pe = class extends Q {
4811
4900
  </sl-dialog>`;
4812
4901
  }
4813
4902
  };
4814
- Pe.styles = Gc;
4903
+ Oe.styles = Gc;
4815
4904
  dt([
4816
- k({ type: Boolean })
4817
- ], Pe.prototype, "open", 2);
4905
+ C({ type: Boolean })
4906
+ ], Oe.prototype, "open", 2);
4818
4907
  dt([
4819
- k({ type: String, attribute: "label" })
4820
- ], Pe.prototype, "label", 2);
4908
+ C({ type: String, attribute: "label" })
4909
+ ], Oe.prototype, "label", 2);
4821
4910
  dt([
4822
- k({ type: Number })
4823
- ], Pe.prototype, "zindex", 2);
4824
- Pe = dt([
4911
+ C({ type: Number })
4912
+ ], Oe.prototype, "zindex", 2);
4913
+ Oe = dt([
4825
4914
  Y("cb-dialog")
4826
- ], Pe);
4915
+ ], Oe);
4827
4916
  var Qc = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, ta = (a, t, c, i) => {
4828
- for (var s = i > 1 ? void 0 : i ? ei(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4829
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4830
- return i && s && Qc(t, c, s), s;
4917
+ for (var n = i > 1 ? void 0 : i ? ei(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4918
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
4919
+ return i && n && Qc(t, c, n), n;
4831
4920
  };
4832
4921
  let ct = class extends Q {
4833
4922
  constructor() {
@@ -4872,7 +4961,7 @@ ct.styles = U`
4872
4961
  }
4873
4962
  `;
4874
4963
  ta([
4875
- k({ type: Boolean })
4964
+ C({ type: Boolean })
4876
4965
  ], ct.prototype, "open", 2);
4877
4966
  ct = ta([
4878
4967
  Y("cb-clear-message-dialog")
@@ -4937,12 +5026,12 @@ const ti = U`
4937
5026
  grid-column-start: 2;
4938
5027
  }
4939
5028
  `;
4940
- var ai = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Le = (a, t, c, i) => {
4941
- for (var s = i > 1 ? void 0 : i ? ci(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4942
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4943
- return i && s && ai(t, c, s), s;
5029
+ var ai = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Pe = (a, t, c, i) => {
5030
+ for (var n = i > 1 ? void 0 : i ? ci(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5031
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
5032
+ return i && n && ai(t, c, n), n;
4944
5033
  };
4945
- let xe = class extends Q {
5034
+ let Ce = class extends Q {
4946
5035
  constructor() {
4947
5036
  super(...arguments), this.open = !1, this.clearMessageDialogOpen = !1, this.customRequest = !1;
4948
5037
  }
@@ -4981,7 +5070,7 @@ let xe = class extends Q {
4981
5070
  Enable it for your own backend.
4982
5071
  </sl-switch>
4983
5072
  </div> -->
4984
- ${ue(
5073
+ ${ge(
4985
5074
  this.customRequest,
4986
5075
  () => null,
4987
5076
  () => this.renderInternalServices()
@@ -5078,13 +5167,13 @@ let xe = class extends Q {
5078
5167
  }
5079
5168
  // input change handler
5080
5169
  _inputChangeHandler(a) {
5081
- const { name: t, value: c } = a.target, [i, s] = t.split(".");
5082
- s ? this.setting[i][s] = c : this.setting[i] = c;
5170
+ const { name: t, value: c } = a.target, [i, n] = t.split(".");
5171
+ n ? this.setting[i][n] = c : this.setting[i] = c;
5083
5172
  }
5084
5173
  // checked change handler
5085
5174
  _checkChangeHandler(a) {
5086
- const { name: t, checked: c } = a.target, [i, s] = t.split(".");
5087
- s ? this.setting[i][s] = c : this.setting[i] = c, i === "customRequest" && (this.customRequest = c);
5175
+ const { name: t, checked: c } = a.target, [i, n] = t.split(".");
5176
+ n ? this.setting[i][n] = c : this.setting[i] = c, i === "customRequest" && (this.customRequest = c);
5088
5177
  }
5089
5178
  // emit setting confirm event
5090
5179
  _settingConfirmHandler() {
@@ -5105,27 +5194,27 @@ let xe = class extends Q {
5105
5194
  });
5106
5195
  }
5107
5196
  };
5108
- xe.styles = ti;
5109
- Le([
5110
- k({ type: Boolean })
5111
- ], xe.prototype, "open", 2);
5112
- Le([
5113
- k({ type: Object })
5114
- ], xe.prototype, "setting", 2);
5115
- Le([
5116
- k({ type: Boolean })
5117
- ], xe.prototype, "clearMessageDialogOpen", 2);
5118
- Le([
5197
+ Ce.styles = ti;
5198
+ Pe([
5199
+ C({ type: Boolean })
5200
+ ], Ce.prototype, "open", 2);
5201
+ Pe([
5202
+ C({ type: Object })
5203
+ ], Ce.prototype, "setting", 2);
5204
+ Pe([
5205
+ C({ type: Boolean })
5206
+ ], Ce.prototype, "clearMessageDialogOpen", 2);
5207
+ Pe([
5119
5208
  De("sl-dialog")
5120
- ], xe.prototype, "dialog", 2);
5121
- Le([
5122
- k({ type: Boolean })
5123
- ], xe.prototype, "customRequest", 2);
5124
- xe = Le([
5209
+ ], Ce.prototype, "dialog", 2);
5210
+ Pe([
5211
+ C({ type: Boolean })
5212
+ ], Ce.prototype, "customRequest", 2);
5213
+ Ce = Pe([
5125
5214
  Y("cb-setting")
5126
- ], xe);
5215
+ ], Ce);
5127
5216
  const ii = U`
5128
- ${he}
5217
+ ${ue}
5129
5218
  :host {
5130
5219
  --primary-color: var(--sl-color-primary-600);
5131
5220
 
@@ -5221,13 +5310,13 @@ const ii = U`
5221
5310
  }
5222
5311
  `, ni = '<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>';
5223
5312
  var si = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, aa = (a, t, c, i) => {
5224
- for (var s = i > 1 ? void 0 : i ? oi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5225
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
5226
- return i && s && si(t, c, s), s;
5313
+ for (var n = i > 1 ? void 0 : i ? oi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5314
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
5315
+ return i && n && si(t, c, n), n;
5227
5316
  };
5228
5317
  let it = class extends Q {
5229
5318
  constructor() {
5230
- super(...arguments), this.store = new Wt(this, S), this.open = !1;
5319
+ super(...arguments), this.store = new Wt(this, x), this.open = !1;
5231
5320
  }
5232
5321
  // handler click
5233
5322
  _clickHandler() {
@@ -5239,29 +5328,29 @@ let it = class extends Q {
5239
5328
  }), this.open = a;
5240
5329
  }
5241
5330
  _engageClickHandler(a) {
5242
- console.log("engage close clicked!"), S.suppressEngagePopup(), a.stopPropagation();
5331
+ console.log("engage close clicked!"), x.suppressEngagePopup(), a.stopPropagation();
5243
5332
  }
5244
5333
  render() {
5245
5334
  return w`
5246
5335
  <div class="cb-anchor ${this.open ? "open" : ""}" part="cb-anchor" @click=${this._clickHandler.bind(this)}>
5247
- <sl-popup placement="top-end" distance="16" ?active="${S.engage && !S.open}">
5336
+ <sl-popup placement="top-end" distance="16" ?active="${x.engage && !x.open}">
5248
5337
  <sl-button slot="anchor" label="Start" size="large" variant="primary" class="icon anchor-button" circle>
5249
- ${ue(
5338
+ ${ge(
5250
5339
  this.open,
5251
5340
  () => w`<cb-icon color="white" svg="${et}"></cb-icon>`,
5252
5341
  () => w`<cb-icon color="white" svg="${ni}"></cb-icon>`
5253
5342
  )}
5254
5343
  </sl-button>
5255
5344
  <div class="cb-engage-popup">
5256
- <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${He`${we(et)}`}</div>
5345
+ <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${He`${ke(et)}`}</div>
5257
5346
  <div class="cb-engage-popup-content">
5258
- ${ue(
5259
- S.setting.logoUrl !== "",
5260
- () => w`<img class="cb-engage-popup-img" src="${S.setting.logoUrl}" />`,
5261
- () => w`<div class="cb-engage-popup-logo">${He`${we(S.setting.logoSvg)}`}</div>`
5347
+ ${ge(
5348
+ x.setting.logoUrl !== "",
5349
+ () => w`<img class="cb-engage-popup-img" src="${x.setting.logoUrl}" />`,
5350
+ () => w`<div class="cb-engage-popup-logo">${He`${ke(x.setting.logoSvg)}`}</div>`
5262
5351
  )}
5263
- <!--<cb-icon class="cb-engage-popup-logo" svg="${S.setting.logoSvg}"></cb-icon>-->
5264
- <div>${S.setting.engageMessage}</div>
5352
+ <!--<cb-icon class="cb-engage-popup-logo" svg="${x.setting.logoSvg}"></cb-icon>-->
5353
+ <div>${x.setting.engageMessage}</div>
5265
5354
  </div>
5266
5355
  </div>
5267
5356
  </sl-popup>
@@ -5271,27 +5360,27 @@ let it = class extends Q {
5271
5360
  };
5272
5361
  it.styles = ii;
5273
5362
  aa([
5274
- k({ type: Boolean })
5363
+ C({ type: Boolean })
5275
5364
  ], it.prototype, "open", 2);
5276
5365
  it = aa([
5277
5366
  Y("cb-anchor")
5278
5367
  ], it);
5279
5368
  const ri = U`
5280
- ${he}
5281
- `, Bt = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>', fi = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>', di = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>', li = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></g></svg>';
5369
+ ${ue}
5370
+ `, qt = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>', fi = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>', di = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>', li = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></g></svg>';
5282
5371
  var bi = Object.defineProperty, hi = Object.getOwnPropertyDescriptor, ca = (a, t, c, i) => {
5283
- for (var s = i > 1 ? void 0 : i ? hi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5284
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
5285
- return i && s && bi(t, c, s), s;
5372
+ for (var n = i > 1 ? void 0 : i ? hi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5373
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
5374
+ return i && n && bi(t, c, n), n;
5286
5375
  };
5287
- const qt = {
5376
+ const Rt = {
5288
5377
  error: {
5289
5378
  variant: "danger",
5290
- icon: Bt
5379
+ icon: qt
5291
5380
  },
5292
5381
  danger: {
5293
5382
  variant: "danger",
5294
- icon: Bt
5383
+ icon: qt
5295
5384
  },
5296
5385
  warning: {
5297
5386
  variant: "warning",
@@ -5311,21 +5400,21 @@ let nt = class extends Q {
5311
5400
  super(...arguments), this.status = "info";
5312
5401
  }
5313
5402
  render() {
5314
- const { variant: a, icon: t } = qt[this.status] || qt.info;
5403
+ const { variant: a, icon: t } = Rt[this.status] || Rt.info;
5315
5404
  return w`<cb-icon svg=${t} color="${a}"></cb-icon>`;
5316
5405
  }
5317
5406
  };
5318
5407
  nt.styles = Jt;
5319
5408
  ca([
5320
- k({ type: String })
5409
+ C({ type: String })
5321
5410
  ], nt.prototype, "status", 2);
5322
5411
  nt = ca([
5323
5412
  Y("cb-status-icon")
5324
5413
  ], nt);
5325
5414
  var ui = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, gi = (a, t, c, i) => {
5326
- for (var s = i > 1 ? void 0 : i ? pi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5327
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
5328
- return i && s && ui(t, c, s), s;
5415
+ for (var n = i > 1 ? void 0 : i ? pi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5416
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
5417
+ return i && n && ui(t, c, n), n;
5329
5418
  };
5330
5419
  let vt = class extends Q {
5331
5420
  render() {
@@ -5347,10 +5436,10 @@ vt.styles = ri;
5347
5436
  vt = gi([
5348
5437
  Y("cb-auth-alert")
5349
5438
  ], vt);
5350
- class Rt extends Error {
5439
+ class Dt extends Error {
5351
5440
  constructor(t, c, i) {
5352
- const s = t.status || t.status === 0 ? t.status : "", f = t.statusText || "", b = `${s} ${f}`.trim(), x = b ? `status code ${b}` : "an unknown error";
5353
- super(`Request failed with ${x}`), Object.defineProperty(this, "response", {
5441
+ const n = t.status || t.status === 0 ? t.status : "", f = t.statusText || "", b = `${n} ${f}`.trim(), k = b ? `status code ${b}` : "an unknown error";
5442
+ super(`Request failed with ${k}`), Object.defineProperty(this, "response", {
5354
5443
  enumerable: !0,
5355
5444
  configurable: !0,
5356
5445
  writable: !0,
@@ -5384,8 +5473,8 @@ const Qe = (a) => a !== null && typeof a == "object", Ge = (...a) => {
5384
5473
  throw new TypeError("The `options` argument must be an object");
5385
5474
  return _t({}, ...a);
5386
5475
  }, na = (a = {}, t = {}) => {
5387
- const c = new globalThis.Headers(a), i = t instanceof globalThis.Headers, s = new globalThis.Headers(t);
5388
- for (const [f, b] of s.entries())
5476
+ const c = new globalThis.Headers(a), i = t instanceof globalThis.Headers, n = new globalThis.Headers(t);
5477
+ for (const [f, b] of n.entries())
5389
5478
  i && b === "undefined" || b === void 0 ? c.delete(f) : c.set(f, b);
5390
5479
  return c;
5391
5480
  }, _t = (...a) => {
@@ -5394,8 +5483,8 @@ const Qe = (a) => a !== null && typeof a == "object", Ge = (...a) => {
5394
5483
  if (Array.isArray(i))
5395
5484
  Array.isArray(t) || (t = []), t = [...t, ...i];
5396
5485
  else if (Qe(i)) {
5397
- for (let [s, f] of Object.entries(i))
5398
- Qe(f) && s in t && (f = _t(t[s], f)), t = { ...t, [s]: f };
5486
+ for (let [n, f] of Object.entries(i))
5487
+ Qe(f) && n in t && (f = _t(t[n], f)), t = { ...t, [n]: f };
5399
5488
  Qe(i.headers) && (c = na(c, i.headers), t.headers = c);
5400
5489
  }
5401
5490
  return t;
@@ -5416,17 +5505,17 @@ const Qe = (a) => a !== null && typeof a == "object", Ge = (...a) => {
5416
5505
  formData: "multipart/form-data",
5417
5506
  arrayBuffer: "*/*",
5418
5507
  blob: "*/*"
5419
- }, pt = 2147483647, oa = Symbol("stop"), ki = (a) => sa.includes(a) ? a.toUpperCase() : a, Si = ["get", "put", "head", "delete", "options", "trace"], _i = [408, 413, 429, 500, 502, 503, 504], ra = [413, 429, 503], Dt = {
5508
+ }, pt = 2147483647, oa = Symbol("stop"), ki = (a) => sa.includes(a) ? a.toUpperCase() : a, Ci = ["get", "put", "head", "delete", "options", "trace"], Si = [408, 413, 429, 500, 502, 503, 504], ra = [413, 429, 503], Vt = {
5420
5509
  limit: 2,
5421
- methods: Si,
5422
- statusCodes: _i,
5510
+ methods: Ci,
5511
+ statusCodes: Si,
5423
5512
  afterStatusCodes: ra,
5424
5513
  maxRetryAfter: Number.POSITIVE_INFINITY,
5425
5514
  backoffLimit: Number.POSITIVE_INFINITY
5426
- }, Ci = (a = {}) => {
5515
+ }, _i = (a = {}) => {
5427
5516
  if (typeof a == "number")
5428
5517
  return {
5429
- ...Dt,
5518
+ ...Vt,
5430
5519
  limit: a
5431
5520
  };
5432
5521
  if (a.methods && !Array.isArray(a.methods))
@@ -5434,83 +5523,83 @@ const Qe = (a) => a !== null && typeof a == "object", Ge = (...a) => {
5434
5523
  if (a.statusCodes && !Array.isArray(a.statusCodes))
5435
5524
  throw new Error("retry.statusCodes must be an array");
5436
5525
  return {
5437
- ...Dt,
5526
+ ...Vt,
5438
5527
  ...a,
5439
5528
  afterStatusCodes: ra
5440
5529
  };
5441
5530
  };
5442
5531
  async function Ti(a, t, c) {
5443
- return new Promise((i, s) => {
5532
+ return new Promise((i, n) => {
5444
5533
  const f = setTimeout(() => {
5445
- t && t.abort(), s(new ia(a));
5534
+ t && t.abort(), n(new ia(a));
5446
5535
  }, c.timeout);
5447
- c.fetch(a).then(i).catch(s).then(() => {
5536
+ c.fetch(a).then(i).catch(n).then(() => {
5448
5537
  clearTimeout(f);
5449
5538
  });
5450
5539
  });
5451
5540
  }
5452
- const Ei = !!globalThis.DOMException;
5453
- function Vt(a) {
5454
- if (Ei)
5541
+ const Mi = !!globalThis.DOMException;
5542
+ function Ft(a) {
5543
+ if (Mi)
5455
5544
  return new DOMException((a == null ? void 0 : a.reason) ?? "The operation was aborted.", "AbortError");
5456
5545
  const t = new Error((a == null ? void 0 : a.reason) ?? "The operation was aborted.");
5457
5546
  return t.name = "AbortError", t;
5458
5547
  }
5459
- async function Ai(a, { signal: t }) {
5548
+ async function Ei(a, { signal: t }) {
5460
5549
  return new Promise((c, i) => {
5461
5550
  if (t) {
5462
5551
  if (t.aborted) {
5463
- i(Vt(t));
5552
+ i(Ft(t));
5464
5553
  return;
5465
5554
  }
5466
- t.addEventListener("abort", s, { once: !0 });
5555
+ t.addEventListener("abort", n, { once: !0 });
5467
5556
  }
5468
- function s() {
5469
- i(Vt(t)), clearTimeout(f);
5557
+ function n() {
5558
+ i(Ft(t)), clearTimeout(f);
5470
5559
  }
5471
5560
  const f = setTimeout(() => {
5472
- t == null || t.removeEventListener("abort", s), c();
5561
+ t == null || t.removeEventListener("abort", n), c();
5473
5562
  }, a);
5474
5563
  });
5475
5564
  }
5476
5565
  class st {
5477
5566
  // eslint-disable-next-line @typescript-eslint/promise-function-async
5478
5567
  static create(t, c) {
5479
- const i = new st(t, c), s = async () => {
5568
+ const i = new st(t, c), n = async () => {
5480
5569
  if (i._options.timeout > pt)
5481
5570
  throw new RangeError(`The \`timeout\` option cannot be greater than ${pt}`);
5482
5571
  await Promise.resolve();
5483
- let x = await i._fetch();
5484
- for (const _ of i._options.hooks.afterResponse) {
5485
- const V = await _(i.request, i._options, i._decorateResponse(x.clone()));
5486
- V instanceof globalThis.Response && (x = V);
5572
+ let k = await i._fetch();
5573
+ for (const S of i._options.hooks.afterResponse) {
5574
+ const V = await S(i.request, i._options, i._decorateResponse(k.clone()));
5575
+ V instanceof globalThis.Response && (k = V);
5487
5576
  }
5488
- if (i._decorateResponse(x), !x.ok && i._options.throwHttpErrors) {
5489
- let _ = new Rt(x, i.request, i._options);
5577
+ if (i._decorateResponse(k), !k.ok && i._options.throwHttpErrors) {
5578
+ let S = new Dt(k, i.request, i._options);
5490
5579
  for (const V of i._options.hooks.beforeError)
5491
- _ = await V(_);
5492
- throw _;
5580
+ S = await V(S);
5581
+ throw S;
5493
5582
  }
5494
5583
  if (i._options.onDownloadProgress) {
5495
5584
  if (typeof i._options.onDownloadProgress != "function")
5496
5585
  throw new TypeError("The `onDownloadProgress` option must be a function");
5497
5586
  if (!vi)
5498
5587
  throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");
5499
- return i._stream(x.clone(), i._options.onDownloadProgress);
5588
+ return i._stream(k.clone(), i._options.onDownloadProgress);
5500
5589
  }
5501
- return x;
5502
- }, b = i._options.retry.methods.includes(i.request.method.toLowerCase()) ? i._retry(s) : s();
5503
- for (const [x, _] of Object.entries(xi))
5504
- b[x] = async () => {
5505
- i.request.headers.set("accept", i.request.headers.get("accept") || _);
5506
- const j = (await b).clone();
5507
- if (x === "json") {
5508
- if (j.status === 204 || (await j.clone().arrayBuffer()).byteLength === 0)
5590
+ return k;
5591
+ }, b = i._options.retry.methods.includes(i.request.method.toLowerCase()) ? i._retry(n) : n();
5592
+ for (const [k, S] of Object.entries(xi))
5593
+ b[k] = async () => {
5594
+ i.request.headers.set("accept", i.request.headers.get("accept") || S);
5595
+ const L = (await b).clone();
5596
+ if (k === "json") {
5597
+ if (L.status === 204 || (await L.clone().arrayBuffer()).byteLength === 0)
5509
5598
  return "";
5510
5599
  if (c.parseJson)
5511
- return c.parseJson(await j.text());
5600
+ return c.parseJson(await L.text());
5512
5601
  }
5513
- return j[x]();
5602
+ return L[k]();
5514
5603
  };
5515
5604
  return b;
5516
5605
  }
@@ -5555,7 +5644,7 @@ class st {
5555
5644
  method: ki(c.method ?? this._input.method),
5556
5645
  // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
5557
5646
  prefixUrl: String(c.prefixUrl || ""),
5558
- retry: Ci(c.retry),
5647
+ retry: _i(c.retry),
5559
5648
  throwHttpErrors: c.throwHttpErrors !== !1,
5560
5649
  timeout: typeof c.timeout > "u" ? 1e4 : c.timeout,
5561
5650
  fetch: c.fetch ?? globalThis.fetch.bind(globalThis)
@@ -5576,20 +5665,20 @@ class st {
5576
5665
  this._options.signal = this.abortController.signal;
5577
5666
  }
5578
5667
  if (mi && (this._options.duplex = "half"), this.request = new globalThis.Request(this._input, this._options), this._options.searchParams) {
5579
- const s = "?" + (typeof this._options.searchParams == "string" ? this._options.searchParams.replace(/^\?/, "") : new URLSearchParams(this._options.searchParams).toString()), f = this.request.url.replace(/(?:\?.*?)?(?=#|$)/, s);
5668
+ const n = "?" + (typeof this._options.searchParams == "string" ? this._options.searchParams.replace(/^\?/, "") : new URLSearchParams(this._options.searchParams).toString()), f = this.request.url.replace(/(?:\?.*?)?(?=#|$)/, n);
5580
5669
  (wi && 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(f, { ...this.request }), this._options);
5581
5670
  }
5582
5671
  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 }));
5583
5672
  }
5584
5673
  _calculateRetryDelay(t) {
5585
5674
  if (this._retryCount++, this._retryCount < this._options.retry.limit && !(t instanceof ia)) {
5586
- if (t instanceof Rt) {
5675
+ if (t instanceof Dt) {
5587
5676
  if (!this._options.retry.statusCodes.includes(t.response.status))
5588
5677
  return 0;
5589
5678
  const i = t.response.headers.get("Retry-After");
5590
5679
  if (i && this._options.retry.afterStatusCodes.includes(t.response.status)) {
5591
- let s = Number(i);
5592
- return Number.isNaN(s) ? s = Date.parse(i) - Date.now() : s *= 1e3, typeof this._options.retry.maxRetryAfter < "u" && s > this._options.retry.maxRetryAfter ? 0 : s;
5680
+ let n = Number(i);
5681
+ return Number.isNaN(n) ? n = Date.parse(i) - Date.now() : n *= 1e3, typeof this._options.retry.maxRetryAfter < "u" && n > this._options.retry.maxRetryAfter ? 0 : n;
5593
5682
  }
5594
5683
  if (t.response.status === 413)
5595
5684
  return 0;
@@ -5608,9 +5697,9 @@ class st {
5608
5697
  } catch (c) {
5609
5698
  const i = Math.min(this._calculateRetryDelay(c), pt);
5610
5699
  if (i !== 0 && this._retryCount > 0) {
5611
- await Ai(i, { signal: this._options.signal });
5612
- for (const s of this._options.hooks.beforeRetry)
5613
- if (await s({
5700
+ await Ei(i, { signal: this._options.signal });
5701
+ for (const n of this._options.hooks.beforeRetry)
5702
+ if (await n({
5614
5703
  request: this.request,
5615
5704
  options: this._options,
5616
5705
  error: c,
@@ -5637,8 +5726,8 @@ class st {
5637
5726
  /* istanbul ignore next */
5638
5727
  _stream(t, c) {
5639
5728
  const i = Number(t.headers.get("content-length")) || 0;
5640
- let s = 0;
5641
- return t.status === 204 ? (c && c({ percent: 1, totalBytes: i, transferredBytes: s }, new Uint8Array()), new globalThis.Response(null, {
5729
+ let n = 0;
5730
+ return t.status === 204 ? (c && c({ percent: 1, totalBytes: i, transferredBytes: n }, new Uint8Array()), new globalThis.Response(null, {
5642
5731
  status: t.status,
5643
5732
  statusText: t.statusText,
5644
5733
  headers: t.headers
@@ -5646,20 +5735,20 @@ class st {
5646
5735
  async start(f) {
5647
5736
  const b = t.body.getReader();
5648
5737
  c && c({ percent: 0, transferredBytes: 0, totalBytes: i }, new Uint8Array());
5649
- async function x() {
5650
- const { done: _, value: V } = await b.read();
5651
- if (_) {
5738
+ async function k() {
5739
+ const { done: S, value: V } = await b.read();
5740
+ if (S) {
5652
5741
  f.close();
5653
5742
  return;
5654
5743
  }
5655
5744
  if (c) {
5656
- s += V.byteLength;
5657
- const j = i === 0 ? 0 : s / i;
5658
- c({ percent: j, transferredBytes: s, totalBytes: i }, V);
5745
+ n += V.byteLength;
5746
+ const L = i === 0 ? 0 : n / i;
5747
+ c({ percent: L, transferredBytes: n, totalBytes: i }, V);
5659
5748
  }
5660
- f.enqueue(V), await x();
5749
+ f.enqueue(V), await k();
5661
5750
  }
5662
- await x();
5751
+ await k();
5663
5752
  }
5664
5753
  }), {
5665
5754
  status: t.status,
@@ -5672,9 +5761,9 @@ class st {
5672
5761
  const wt = (a) => {
5673
5762
  const t = (c, i) => st.create(c, Ge(a, i));
5674
5763
  for (const c of sa)
5675
- t[c] = (i, s) => st.create(i, Ge(a, s, { method: c }));
5764
+ t[c] = (i, n) => st.create(i, Ge(a, n, { method: c }));
5676
5765
  return t.create = (c) => wt(Ge(c)), t.extend = (c) => wt(Ge(a, c)), t.stop = oa, t;
5677
- }, $i = wt(), Mi = $i, Ii = Mi.extend({
5766
+ }, Ai = wt(), $i = Ai, Ii = $i.extend({
5678
5767
  hooks: {
5679
5768
  beforeRequest: [
5680
5769
  () => {
@@ -5682,18 +5771,18 @@ const wt = (a) => {
5682
5771
  ]
5683
5772
  }
5684
5773
  });
5685
- async function ji(a, t) {
5686
- const { onmessage: c, onclose: i, ...s } = t, f = async (b, x) => {
5687
- const { value: _, done: V } = await x.read();
5688
- V ? (b.close(), i == null || i()) : (c == null || c(_), b.enqueue(_), f(b, x));
5774
+ async function Li(a, t) {
5775
+ const { onmessage: c, onclose: i, ...n } = t, f = async (b, k) => {
5776
+ const { value: S, done: V } = await k.read();
5777
+ V ? (b.close(), i == null || i()) : (c == null || c(S), b.enqueue(S), f(b, k));
5689
5778
  };
5690
- return s.body && typeof s.body == "object" && (s.body = JSON.stringify(s.body)), console.log("Fetching:", s), fetch(a, s).then((b) => {
5691
- const x = b.body.getReader();
5779
+ return n.body && typeof n.body == "object" && (n.body = JSON.stringify(n.body)), console.log("Fetching:", n), fetch(a, n).then((b) => {
5780
+ const k = b.body.getReader();
5692
5781
  return new ReadableStream({
5693
5782
  start(V) {
5694
5783
  f(
5695
5784
  V,
5696
- x
5785
+ k
5697
5786
  );
5698
5787
  }
5699
5788
  });
@@ -5703,39 +5792,39 @@ async function ji(a, t) {
5703
5792
  }).text()
5704
5793
  );
5705
5794
  }
5706
- async function Oi(a, t) {
5795
+ async function ji(a, t) {
5707
5796
  const c = new FormData();
5708
- for (let s = 0; s < t.length; s++)
5709
- c.append("files", t[s]);
5797
+ for (let n = 0; n < t.length; n++)
5798
+ c.append("files", t[n]);
5710
5799
  const i = await Ii.post(a, {
5711
5800
  body: c
5712
5801
  });
5713
5802
  try {
5714
5803
  return await i.json();
5715
- } catch (s) {
5804
+ } catch (n) {
5716
5805
  return {
5717
5806
  code: 1,
5718
5807
  url: "",
5719
- message: s.message
5808
+ message: n.message
5720
5809
  };
5721
5810
  }
5722
5811
  }
5723
- var Pi = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, R = (a, t, c, i) => {
5724
- for (var s = i > 1 ? void 0 : i ? Li(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5725
- (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
5726
- return i && s && Pi(t, c, s), s;
5812
+ var Oi = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, R = (a, t, c, i) => {
5813
+ for (var n = i > 1 ? void 0 : i ? Pi(t, c) : t, f = a.length - 1, b; f >= 0; f--)
5814
+ (b = a[f]) && (n = (i ? b(t, c, n) : b(n)) || n);
5815
+ return i && n && Oi(t, c, n), n;
5727
5816
  };
5728
5817
  const ze = ft.noConflict();
5729
5818
  ze.setLevel("info");
5730
5819
  let H = class extends Q {
5731
5820
  constructor() {
5732
- super(...arguments), this.store = new Wt(this, S), 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">
5821
+ super(...arguments), this.store = new Wt(this, x), 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">
5733
5822
  <path
5734
5823
  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"
5735
5824
  fill="#E24D42"
5736
5825
  ></path>
5737
5826
  </svg>
5738
- `, 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.agentIconSvg = '<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M18.72,14.76C19.07,13.91 19.26,13 19.26,12C19.26,11.28 19.15,10.59 18.96,9.95C18.31,10.1 17.63,10.18 16.92,10.18C13.86,10.18 11.15,8.67 9.5,6.34C8.61,8.5 6.91,10.26 4.77,11.22C4.73,11.47 4.73,11.74 4.73,12A7.27,7.27 0 0,0 12,19.27C13.05,19.27 14.06,19.04 14.97,18.63C15.54,19.72 15.8,20.26 15.78,20.26C14.14,20.81 12.87,21.08 12,21.08C9.58,21.08 7.27,20.13 5.57,18.42C4.53,17.38 3.76,16.11 3.33,14.73H2V10.18H3.09C3.93,6.04 7.6,2.92 12,2.92C14.4,2.92 16.71,3.87 18.42,5.58C19.69,6.84 20.54,8.45 20.89,10.18H22V14.67H22V14.69L22,14.73H21.94L18.38,18L13.08,17.4V15.73H17.91L18.72,14.76M9.27,11.77C9.57,11.77 9.86,11.89 10.07,12.11C10.28,12.32 10.4,12.61 10.4,12.91C10.4,13.21 10.28,13.5 10.07,13.71C9.86,13.92 9.57,14.04 9.27,14.04C8.64,14.04 8.13,13.54 8.13,12.91C8.13,12.28 8.64,11.77 9.27,11.77M14.72,11.77C15.35,11.77 15.85,12.28 15.85,12.91C15.85,13.54 15.35,14.04 14.72,14.04C14.09,14.04 13.58,13.54 13.58,12.91A1.14,1.14 0 0,1 14.72,11.77Z" /></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 = ji;
5827
+ `, 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.agentIconSvg = '<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M18.72,14.76C19.07,13.91 19.26,13 19.26,12C19.26,11.28 19.15,10.59 18.96,9.95C18.31,10.1 17.63,10.18 16.92,10.18C13.86,10.18 11.15,8.67 9.5,6.34C8.61,8.5 6.91,10.26 4.77,11.22C4.73,11.47 4.73,11.74 4.73,12A7.27,7.27 0 0,0 12,19.27C13.05,19.27 14.06,19.04 14.97,18.63C15.54,19.72 15.8,20.26 15.78,20.26C14.14,20.81 12.87,21.08 12,21.08C9.58,21.08 7.27,20.13 5.57,18.42C4.53,17.38 3.76,16.11 3.33,14.73H2V10.18H3.09C3.93,6.04 7.6,2.92 12,2.92C14.4,2.92 16.71,3.87 18.42,5.58C19.69,6.84 20.54,8.45 20.89,10.18H22V14.67H22V14.69L22,14.73H21.94L18.38,18L13.08,17.4V15.73H17.91L18.72,14.76M9.27,11.77C9.57,11.77 9.86,11.89 10.07,12.11C10.28,12.32 10.4,12.61 10.4,12.91C10.4,13.21 10.28,13.5 10.07,13.71C9.86,13.92 9.57,14.04 9.27,14.04C8.64,14.04 8.13,13.54 8.13,12.91C8.13,12.28 8.64,11.77 9.27,11.77M14.72,11.77C15.35,11.77 15.85,12.28 15.85,12.91C15.85,13.54 15.35,14.04 14.72,14.04C14.09,14.04 13.58,13.54 13.58,12.91A1.14,1.14 0 0,1 14.72,11.77Z" /></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 = Li;
5739
5828
  }
5740
5829
  //HTMLElement;
5741
5830
  /**
@@ -5751,7 +5840,7 @@ let H = class extends Q {
5751
5840
  isThinking: !0,
5752
5841
  data: {}
5753
5842
  };
5754
- return S.addMessage(a), a;
5843
+ return x.addMessage(a), a;
5755
5844
  }
5756
5845
  addTestMessage(a = "") {
5757
5846
  const c = {
@@ -5762,20 +5851,23 @@ let H = class extends Q {
5762
5851
  text: a !== "" ? a : "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."
5763
5852
  }
5764
5853
  };
5765
- return S.addMessage(c), c;
5854
+ return x.addMessage(c), c;
5855
+ }
5856
+ addActions(a = []) {
5857
+ x.addActions(a);
5766
5858
  }
5767
5859
  render() {
5768
- return S.disabled && !this.alwaysOpen ? (ze.error("Bot is disabled"), null) : w`
5769
- <div class="cb-wrapper" style="${S.open ? "display:flex" : "display:none"}">
5860
+ return x.disabled && !this.alwaysOpen ? (ze.error("Bot is disabled"), null) : w`
5861
+ <div class="cb-wrapper" style="${x.open ? "display:flex" : "display:none"}">
5770
5862
  <cb-header title="${this.name}" exportparts="header"></cb-header>
5771
- <cb-message-list .messages=${S.messages} .actions=${S.actions} .form=${S.form} exportparts="form"></cb-message-list>
5863
+ <cb-message-list .messages=${x.messages} .actions=${x.actions} .form=${x.form} exportparts="form"></cb-message-list>
5772
5864
  ${this.renderUserInput()}
5773
5865
  </div>
5774
- <cb-anchor ?open=${S.open}></cb-anchor>
5866
+ <cb-anchor ?open=${x.open}></cb-anchor>
5775
5867
  `;
5776
5868
  }
5777
5869
  renderUserInput() {
5778
- return S.form || S.disabled && this.alwaysOpen ? null : w`<cb-user-input ?loading=${this.loading} ?disabled=${this.loading || S.form} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>`;
5870
+ return x.form || x.disabled && this.alwaysOpen ? null : w`<cb-user-input ?loading=${this.loading} ?disabled=${this.loading || x.form} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>`;
5779
5871
  }
5780
5872
  connectedCallback() {
5781
5873
  super.connectedCallback(), ze.info("connectedCallback"), addEventListener("setting:show", () => {
@@ -5784,9 +5876,9 @@ let H = class extends Q {
5784
5876
  this.showSetting = !1;
5785
5877
  }), addEventListener("chatbot:toggle", (a) => {
5786
5878
  const t = a.detail;
5787
- S.open = t.open, S.suppressEngagePopup();
5879
+ x.open = t.open, x.suppressEngagePopup();
5788
5880
  }), addEventListener("message:clear", () => {
5789
- S.clearMessages();
5881
+ x.clearMessages();
5790
5882
  }), addEventListener("message:send:file", this._sendFileHandler.bind(this)), addEventListener("setting:show", () => {
5791
5883
  this.showSetting = !0;
5792
5884
  }), addEventListener("form:submit", this._formSubmitHandler.bind(this));
@@ -5802,38 +5894,38 @@ let H = class extends Q {
5802
5894
  // initialize setting
5803
5895
  _initSetting() {
5804
5896
  ze.info("_initSetting");
5805
- const a = S.setting;
5806
- a.orgId = this.orgId, a.botId = this.botId, a.url = this.url, a.logoUrl = this.logoUrl, a.logoSvg = this.logoSvg, a.botIconSvg = this.botIconSvg, a.userIconSvg = this.userIconSvg, a.systemIconSvg = this.systemIconSvg, a.agentIconSvg = this.agentIconSvg, S.setSetting(a);
5897
+ const a = x.setting;
5898
+ a.orgId = this.orgId, a.botId = this.botId, a.url = this.url, a.logoUrl = this.logoUrl, a.logoSvg = this.logoSvg, a.botIconSvg = this.botIconSvg, a.userIconSvg = this.userIconSvg, a.systemIconSvg = this.systemIconSvg, a.agentIconSvg = this.agentIconSvg, x.setSetting(a);
5807
5899
  let t = {};
5808
5900
  try {
5809
5901
  t = JSON.parse(this.prefilledFormFields);
5810
5902
  } catch (c) {
5811
5903
  console.log(`Failed to parse prefilled-form-fields attribute value, error: ${(c == null ? void 0 : c.message) || ""}`), t = {};
5812
5904
  }
5813
- S.setPrefilledFormFields(t), this.open && (S.open = !0), this.alwaysOpen && (S.open = !0, S.alwaysOpen = !0);
5905
+ x.setPrefilledFormFields(t), this.open && (x.open = !0), this.alwaysOpen && (x.open = !0, x.alwaysOpen = !0);
5814
5906
  }
5815
5907
  setLoading(a) {
5816
5908
  this.loading = a;
5817
5909
  }
5818
5910
  clearConversation() {
5819
- S.clearConversation();
5911
+ x.clearConversation();
5820
5912
  }
5821
5913
  setPrefilledFormFields(a) {
5822
- S.setPrefilledFormFields(a);
5914
+ x.setPrefilledFormFields(a);
5823
5915
  }
5824
5916
  setOpen(a = !1) {
5825
- S.open = a;
5917
+ x.open = a;
5826
5918
  }
5827
5919
  // check auth
5828
5920
  _checkAuth() {
5829
5921
  }
5830
5922
  _addMessageHandler(a) {
5831
5923
  const t = a.detail;
5832
- S.sendMessage(t);
5924
+ x.sendMessage(t);
5833
5925
  }
5834
5926
  _deleteMessageHandler(a) {
5835
5927
  const t = a.detail;
5836
- S.removeMessage(t.id);
5928
+ x.removeMessage(t.id);
5837
5929
  }
5838
5930
  async _sendFileHandler(a) {
5839
5931
  const t = a.detail, i = {
@@ -5841,20 +5933,20 @@ let H = class extends Q {
5841
5933
  type: "file",
5842
5934
  isUploading: !0,
5843
5935
  data: {
5844
- files: t.files.map((s, f) => ({
5845
- id: `${s.name}-${f}`,
5846
- name: s.name,
5847
- size: s.size,
5848
- type: s.type,
5936
+ files: t.files.map((n, f) => ({
5937
+ id: `${n.name}-${f}`,
5938
+ name: n.name,
5939
+ size: n.size,
5940
+ type: n.type,
5849
5941
  url: ""
5850
5942
  }))
5851
5943
  }
5852
5944
  };
5853
- if (S.addMessage(i), this.uploadFileUrl) {
5854
- const s = await Oi(this.uploadFileUrl, t.files);
5855
- s.code === 0 && s.data && (i.isUploading = !1, i.data = {
5856
- files: s.data
5857
- }, S.updateMessage(i));
5945
+ if (x.addMessage(i), this.uploadFileUrl) {
5946
+ const n = await ji(this.uploadFileUrl, t.files);
5947
+ n.code === 0 && n.data && (i.isUploading = !1, i.data = {
5948
+ files: n.data
5949
+ }, x.updateMessage(i));
5858
5950
  }
5859
5951
  this.emit("chatbot:file:send", {
5860
5952
  detail: {
@@ -5866,7 +5958,7 @@ let H = class extends Q {
5866
5958
  // setting confirm handler
5867
5959
  _settingConfirmHandler(a) {
5868
5960
  const t = a.detail;
5869
- S.setSetting(t.setting), this.showSetting = !1, this._checkAuth();
5961
+ x.setSetting(t.setting), this.showSetting = !1, this._checkAuth();
5870
5962
  }
5871
5963
  async _formSubmitHandler(a) {
5872
5964
  }
@@ -5876,69 +5968,69 @@ let H = class extends Q {
5876
5968
  (t = this._messageList) == null || t.scrollToBottom();
5877
5969
  }
5878
5970
  };
5879
- H.styles = La;
5971
+ H.styles = Pa;
5880
5972
  R([
5881
- k({ type: Boolean, attribute: "display-license" })
5973
+ C({ type: Boolean, attribute: "display-license" })
5882
5974
  ], H.prototype, "displayLicense", 2);
5883
5975
  R([
5884
- k({ type: String, attribute: "name" })
5976
+ C({ type: String, attribute: "name" })
5885
5977
  ], H.prototype, "name", 2);
5886
5978
  R([
5887
- k({ type: String, attribute: "org-id" })
5979
+ C({ type: String, attribute: "org-id" })
5888
5980
  ], H.prototype, "orgId", 2);
5889
5981
  R([
5890
- k({ type: String, attribute: "bot-id" })
5982
+ C({ type: String, attribute: "bot-id" })
5891
5983
  ], H.prototype, "botId", 2);
5892
5984
  R([
5893
- k({ type: String, attribute: "url" })
5985
+ C({ type: String, attribute: "url" })
5894
5986
  ], H.prototype, "url", 2);
5895
5987
  R([
5896
- k({ type: String, attribute: "logo-url" })
5988
+ C({ type: String, attribute: "logo-url" })
5897
5989
  ], H.prototype, "logoUrl", 2);
5898
5990
  R([
5899
- k({ type: String, attribute: "logo-svg" })
5991
+ C({ type: String, attribute: "logo-svg" })
5900
5992
  ], H.prototype, "logoSvg", 2);
5901
5993
  R([
5902
- k({ type: String, attribute: "bot-icon-svg" })
5994
+ C({ type: String, attribute: "bot-icon-svg" })
5903
5995
  ], H.prototype, "botIconSvg", 2);
5904
5996
  R([
5905
- k({ type: String, attribute: "user-icon-svg" })
5997
+ C({ type: String, attribute: "user-icon-svg" })
5906
5998
  ], H.prototype, "userIconSvg", 2);
5907
5999
  R([
5908
- k({ type: String, attribute: "system-icon-svg" })
6000
+ C({ type: String, attribute: "system-icon-svg" })
5909
6001
  ], H.prototype, "systemIconSvg", 2);
5910
6002
  R([
5911
- k({ type: String, attribute: "agent-icon-svg" })
6003
+ C({ type: String, attribute: "agent-icon-svg" })
5912
6004
  ], H.prototype, "agentIconSvg", 2);
5913
6005
  R([
5914
- k({ type: Boolean, attribute: "stream" })
6006
+ C({ type: Boolean, attribute: "stream" })
5915
6007
  ], H.prototype, "stream", 2);
5916
6008
  R([
5917
- k({ type: Boolean, attribute: "custom-request" })
6009
+ C({ type: Boolean, attribute: "custom-request" })
5918
6010
  ], H.prototype, "customRequest", 2);
5919
6011
  R([
5920
- k({ type: Boolean, attribute: "enable-file-upload" })
6012
+ C({ type: Boolean, attribute: "enable-file-upload" })
5921
6013
  ], H.prototype, "enableFileUpload", 2);
5922
6014
  R([
5923
- k({ type: String, attribute: "upload-file-url" })
6015
+ C({ type: String, attribute: "upload-file-url" })
5924
6016
  ], H.prototype, "uploadFileUrl", 2);
5925
6017
  R([
5926
- k({ type: Boolean, attribute: "open" })
6018
+ C({ type: Boolean, attribute: "open" })
5927
6019
  ], H.prototype, "open", 2);
5928
6020
  R([
5929
- k({ type: Boolean, attribute: "always-open" })
6021
+ C({ type: Boolean, attribute: "always-open" })
5930
6022
  ], H.prototype, "alwaysOpen", 2);
5931
6023
  R([
5932
- k({ type: String, attribute: "prefilled-form-fields" })
6024
+ C({ type: String, attribute: "prefilled-form-fields" })
5933
6025
  ], H.prototype, "prefilledFormFields", 2);
5934
6026
  R([
5935
- k({ type: Boolean })
6027
+ C({ type: Boolean })
5936
6028
  ], H.prototype, "loading", 2);
5937
6029
  R([
5938
- k({ type: Boolean })
6030
+ C({ type: Boolean })
5939
6031
  ], H.prototype, "showSetting", 2);
5940
6032
  R([
5941
- k({ type: Boolean })
6033
+ C({ type: Boolean })
5942
6034
  ], H.prototype, "showAuthAlert", 2);
5943
6035
  R([
5944
6036
  De("cb-message-list")