@enegelai/bot-widget 1.4.7 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var Ea = Object.defineProperty;
2
- var $a = (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) => ($a(a, typeof t != "symbol" ? t + "" : t, c), c);
4
- import { css as U, LitElement as rt, html as w, svg as Qe } from "lit";
5
- import { property as k, customElement as Y, queryAll as Ft, query as Re, eventOptions as Nt } from "lit/decorators.js";
6
- import { unsafeHTML as Ee } from "lit-html/directives/unsafe-html.js";
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);
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
7
  import { when as ue } 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";
@@ -25,9 +25,9 @@ import "@shoelace-style/shoelace/dist/components/switch/switch.js";
25
25
  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
- import { repeat as Ge } from "lit/directives/repeat.js";
28
+ import { repeat as Je } from "lit/directives/repeat.js";
29
29
  import { until as Lt } from "lit-html/directives/until.js";
30
- import Aa from "markdown-it";
30
+ import $a from "markdown-it";
31
31
  import Ma from "markdown-it-link-attributes";
32
32
  import "@shoelace-style/shoelace/dist/components/popup/popup.js";
33
33
  function Ut(a) {
@@ -49,9 +49,9 @@ const ot = class ot extends Event {
49
49
  }
50
50
  };
51
51
  se(ot, "eventName", "lit-state-changed");
52
- let $e = ot;
52
+ let Ae = ot;
53
53
  const Ia = (a, t) => t !== a && (t === t || a === a);
54
- class Je extends EventTarget {
54
+ class Ke extends EventTarget {
55
55
  constructor() {
56
56
  super();
57
57
  // hold a reference to hooks
@@ -119,14 +119,14 @@ class Je extends EventTarget {
119
119
  const f = (b) => {
120
120
  (!i || i.includes(b.key)) && c(b.key, b.value, this);
121
121
  };
122
- return this.addEventListener($e.eventName, f, s), () => this.removeEventListener($e.eventName, f);
122
+ return this.addEventListener(Ae.eventName, f, s), () => this.removeEventListener(Ae.eventName, f);
123
123
  }
124
124
  dispatchStateEvent(c, i, s) {
125
- this.dispatchEvent(new $e(c, i, s));
125
+ this.dispatchEvent(new Ae(c, i, s));
126
126
  }
127
127
  }
128
128
  // a map holding decorators definition.
129
- se(Je, "propertyMap"), se(Je, "properties"), se(Je, "finalized", !1);
129
+ se(Ke, "propertyMap"), se(Ke, "properties"), se(Ke, "finalized", !1);
130
130
  class Wt {
131
131
  constructor(t, c, i) {
132
132
  se(this, "host");
@@ -135,10 +135,10 @@ class Wt {
135
135
  this.host = t, this.state = c, this.host.addController(this), this.callback = i || (() => this.host.requestUpdate());
136
136
  }
137
137
  hostConnected() {
138
- this.state.addEventListener($e.eventName, this.callback), this.callback();
138
+ this.state.addEventListener(Ae.eventName, this.callback), this.callback();
139
139
  }
140
140
  hostDisconnected() {
141
- this.state.removeEventListener($e.eventName, this.callback);
141
+ this.state.removeEventListener(Ae.eventName, this.callback);
142
142
  }
143
143
  }
144
144
  /**
@@ -221,44 +221,44 @@ var Gt = { exports: {} };
221
221
  "warn",
222
222
  "error"
223
223
  ];
224
- function f($, L) {
225
- var D = $[L];
224
+ function f(A, L) {
225
+ var D = A[L];
226
226
  if (typeof D.bind == "function")
227
- return D.bind($);
227
+ return D.bind(A);
228
228
  try {
229
- return Function.prototype.bind.call(D, $);
229
+ return Function.prototype.bind.call(D, A);
230
230
  } catch {
231
231
  return function() {
232
- return Function.prototype.apply.apply(D, [$, arguments]);
232
+ return Function.prototype.apply.apply(D, [A, 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($) {
240
- return $ === "debug" && ($ = "log"), typeof console === c ? !1 : $ === "trace" && i ? b : console[$] !== void 0 ? f(console, $) : console.log !== void 0 ? f(console, "log") : t;
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;
241
241
  }
242
- function _($, L) {
242
+ function _(A, L) {
243
243
  for (var D = 0; D < s.length; D++) {
244
244
  var M = s[D];
245
- this[M] = D < $ ? t : this.methodFactory(M, $, L);
245
+ this[M] = D < A ? t : this.methodFactory(M, A, L);
246
246
  }
247
247
  this.log = this.debug;
248
248
  }
249
- function V($, L, D) {
249
+ function V(A, L, D) {
250
250
  return function() {
251
- typeof console !== c && (_.call(this, L, D), this[$].apply(this, arguments));
251
+ typeof console !== c && (_.call(this, L, D), this[A].apply(this, arguments));
252
252
  };
253
253
  }
254
- function j($, L, D) {
255
- return x($) || V.apply(this, arguments);
254
+ function j(A, L, D) {
255
+ return x(A) || V.apply(this, arguments);
256
256
  }
257
- function T($, L, D) {
257
+ function T(A, L, D) {
258
258
  var M = this, de;
259
259
  L = L ?? "WARN";
260
260
  var ee = "loglevel";
261
- typeof $ == "string" ? ee += ":" + $ : typeof $ == "symbol" && (ee = void 0);
261
+ typeof A == "string" ? ee += ":" + A : typeof A == "symbol" && (ee = void 0);
262
262
  function lt(y) {
263
263
  var ie = (s[y] || "silent").toUpperCase();
264
264
  if (!(typeof window === c || !ee)) {
@@ -291,7 +291,7 @@ var Gt = { exports: {} };
291
291
  return M.levels[y] === void 0 && (y = void 0), y;
292
292
  }
293
293
  }
294
- function Ve() {
294
+ function Fe() {
295
295
  if (!(typeof window === c || !ee)) {
296
296
  try {
297
297
  window.localStorage.removeItem(ee);
@@ -304,7 +304,7 @@ var Gt = { exports: {} };
304
304
  }
305
305
  }
306
306
  }
307
- M.name = $, M.levels = {
307
+ M.name = A, M.levels = {
308
308
  TRACE: 0,
309
309
  DEBUG: 1,
310
310
  INFO: 2,
@@ -315,39 +315,39 @@ var Gt = { exports: {} };
315
315
  return de;
316
316
  }, M.setLevel = function(y, ie) {
317
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, $), typeof console === c && y < M.levels.SILENT)
318
+ if (de = y, ie !== !1 && lt(y), _.call(M, y, A), typeof console === c && y < M.levels.SILENT)
319
319
  return "No console available for logging";
320
320
  } else
321
321
  throw "log.setLevel() called with invalid level: " + y;
322
322
  }, M.setDefaultLevel = function(y) {
323
323
  L = y, Me() || M.setLevel(y, !1);
324
324
  }, M.resetLevel = function() {
325
- M.setLevel(L, !1), Ve();
325
+ M.setLevel(L, !1), Fe();
326
326
  }, M.enableAll = function(y) {
327
327
  M.setLevel(M.levels.TRACE, y);
328
328
  }, M.disableAll = function(y) {
329
329
  M.setLevel(M.levels.SILENT, y);
330
330
  };
331
- var ke = Me();
332
- ke == null && (ke = L), M.setLevel(ke, !1);
331
+ var Se = Me();
332
+ Se == null && (Se = L), M.setLevel(Se, !1);
333
333
  }
334
- var A = new T(), F = {};
335
- A.getLogger = function(L) {
334
+ var $ = new T(), F = {};
335
+ $.getLogger = function(L) {
336
336
  if (typeof L != "symbol" && typeof L != "string" || L === "")
337
337
  throw new TypeError("You must supply a name when creating a logger.");
338
338
  var D = F[L];
339
339
  return D || (D = F[L] = new T(
340
340
  L,
341
- A.getLevel(),
342
- A.methodFactory
341
+ $.getLevel(),
342
+ $.methodFactory
343
343
  )), D;
344
344
  };
345
345
  var ce = typeof window !== c ? window.log : void 0;
346
- return A.noConflict = function() {
347
- return typeof window !== c && window.log === A && (window.log = ce), A;
348
- }, A.getLoggers = function() {
346
+ return $.noConflict = function() {
347
+ return typeof window !== c && window.log === $ && (window.log = ce), $;
348
+ }, $.getLoggers = function() {
349
349
  return F;
350
- }, A.default = A, A;
350
+ }, $.default = $, $;
351
351
  });
352
352
  })(Gt);
353
353
  var Pa = Gt.exports;
@@ -386,7 +386,7 @@ const ft = /* @__PURE__ */ Zt(Pa), La = U`
386
386
  font-weight: 400;
387
387
  line-height: 20px;
388
388
 
389
- z-index: 100;
389
+ z-index: 10000;
390
390
 
391
391
  //animation: fadeIn 0.1s ease-in-out;
392
392
  }
@@ -513,24 +513,24 @@ var za = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, xt = (a, t
513
513
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
514
514
  return i && s && za(t, c, s), s;
515
515
  };
516
- let He = class extends rt {
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">${Ee(this.svg)}</span>`;
521
+ return w`<span class="cb-icon" part="base">${we(this.svg)}</span>`;
522
522
  }
523
523
  };
524
- He.styles = Jt;
524
+ Be.styles = Jt;
525
525
  xt([
526
526
  k({ type: String })
527
- ], He.prototype, "color", 2);
527
+ ], Be.prototype, "color", 2);
528
528
  xt([
529
529
  k({ type: String })
530
- ], He.prototype, "svg", 2);
531
- He = xt([
530
+ ], Be.prototype, "svg", 2);
531
+ Be = xt([
532
532
  Y("cb-icon")
533
- ], He);
533
+ ], Be);
534
534
  let Ba = (a) => crypto.getRandomValues(new Uint8Array(a)), qa = (a, t, c) => {
535
535
  let i = (2 << Math.log(a.length - 1) / Math.LN2) - 1, s = -~(1.6 * i * t / a.length);
536
536
  return (f = t) => {
@@ -680,7 +680,7 @@ class Na {
680
680
  function q(a) {
681
681
  return a != null && typeof a == "object" && a["@@functional/placeholder"] === !0;
682
682
  }
683
- function Te(a) {
683
+ function Ee(a) {
684
684
  return function t(c) {
685
685
  return arguments.length === 0 || q(c) ? t : a.apply(this, arguments);
686
686
  };
@@ -691,13 +691,13 @@ function le(a) {
691
691
  case 0:
692
692
  return t;
693
693
  case 1:
694
- return q(c) ? t : Te(function(s) {
694
+ return q(c) ? t : Ee(function(s) {
695
695
  return a(c, s);
696
696
  });
697
697
  default:
698
- return q(c) && q(i) ? t : q(c) ? Te(function(s) {
698
+ return q(c) && q(i) ? t : q(c) ? Ee(function(s) {
699
699
  return a(s, i);
700
- }) : q(i) ? Te(function(s) {
700
+ }) : q(i) ? Ee(function(s) {
701
701
  return a(c, s);
702
702
  }) : a(c, i);
703
703
  }
@@ -717,7 +717,7 @@ function Ua(a) {
717
717
  return a(f, i, b);
718
718
  }) : q(i) ? le(function(f, b) {
719
719
  return a(c, f, b);
720
- }) : Te(function(f) {
720
+ }) : Ee(function(f) {
721
721
  return a(c, i, f);
722
722
  });
723
723
  default:
@@ -727,11 +727,11 @@ function Ua(a) {
727
727
  return a(f, i, b);
728
728
  }) : q(i) && q(s) ? le(function(f, b) {
729
729
  return a(c, f, b);
730
- }) : q(c) ? Te(function(f) {
730
+ }) : q(c) ? Ee(function(f) {
731
731
  return a(f, i, s);
732
- }) : q(i) ? Te(function(f) {
732
+ }) : q(i) ? Ee(function(f) {
733
733
  return a(c, f, s);
734
- }) : q(s) ? Te(function(f) {
734
+ }) : q(s) ? Ee(function(f) {
735
735
  return a(c, i, f);
736
736
  }) : a(c, i, s);
737
737
  }
@@ -779,7 +779,7 @@ var ic = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Z = (a, t,
779
779
  const B = ft.noConflict();
780
780
  B.setLevel("info");
781
781
  const re = "cb_";
782
- class W extends Je {
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;
785
785
  }
@@ -1593,7 +1593,7 @@ var Qt = { exports: {} };
1593
1593
  return r.classList.add(n);
1594
1594
  });
1595
1595
  }
1596
- function A(r, e) {
1596
+ function $(r, e) {
1597
1597
  _(e.split(" "), function(n) {
1598
1598
  return r.classList.remove(n);
1599
1599
  });
@@ -1609,7 +1609,7 @@ var Qt = { exports: {} };
1609
1609
  return r;
1610
1610
  }
1611
1611
  }
1612
- function $(r) {
1612
+ function A(r) {
1613
1613
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
1614
1614
  if (!r || e === "")
1615
1615
  return !1;
@@ -1620,7 +1620,7 @@ var Qt = { exports: {} };
1620
1620
  T(r, "g" + l);
1621
1621
  }), j(o, { onElement: r, avoidDuplicate: !1, once: !0, withCallback: function(l, h) {
1622
1622
  _(d, function(u) {
1623
- A(h, "g" + u);
1623
+ $(h, "g" + u);
1624
1624
  }), y(n) && n();
1625
1625
  } });
1626
1626
  }
@@ -1665,7 +1665,7 @@ var Qt = { exports: {} };
1665
1665
  }, o));
1666
1666
  }
1667
1667
  }
1668
- function Ve(r, e, n) {
1668
+ function Fe(r, e, n) {
1669
1669
  if (ne(r))
1670
1670
  console.error("Inject assets error");
1671
1671
  else if (y(e) && (n = e, e = !1), ie(e) && e in window)
@@ -1704,7 +1704,7 @@ var Qt = { exports: {} };
1704
1704
  }
1705
1705
  }
1706
1706
  }
1707
- function ke() {
1707
+ function Se() {
1708
1708
  return "navigator" in window && window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i);
1709
1709
  }
1710
1710
  function y(r) {
@@ -1716,14 +1716,14 @@ var Qt = { exports: {} };
1716
1716
  function te(r) {
1717
1717
  return !(!r || !r.nodeType || r.nodeType != 1);
1718
1718
  }
1719
- function Fe(r) {
1719
+ function Ne(r) {
1720
1720
  return Array.isArray(r);
1721
1721
  }
1722
1722
  function Ct(r) {
1723
1723
  return r && r.length && isFinite(r.length);
1724
1724
  }
1725
1725
  function Ie(r) {
1726
- return c(r) === "object" && r != null && !y(r) && !Fe(r);
1726
+ return c(r) === "object" && r != null && !y(r) && !Ne(r);
1727
1727
  }
1728
1728
  function ne(r) {
1729
1729
  return r == null;
@@ -1742,7 +1742,7 @@ var Qt = { exports: {} };
1742
1742
  }
1743
1743
  return r.length;
1744
1744
  }
1745
- function Ne(r) {
1745
+ function Ue(r) {
1746
1746
  return !isNaN(parseFloat(r)) && isFinite(r);
1747
1747
  }
1748
1748
  function Et() {
@@ -1786,17 +1786,17 @@ var Qt = { exports: {} };
1786
1786
  return void (u && (u.focus(), T(u, "focused")));
1787
1787
  }
1788
1788
  var p = Et(d.getAttribute("data-taborder"));
1789
- A(d, "focused"), p && (p.focus(), T(p, "focused"));
1789
+ $(d, "focused"), p && (p.focus(), T(p, "focused"));
1790
1790
  }
1791
1791
  o == 39 && r.nextSlide(), o == 37 && r.prevSlide(), o == 27 && r.close();
1792
1792
  } });
1793
1793
  }
1794
- function Ue(r) {
1794
+ function We(r) {
1795
1795
  return Math.sqrt(r.x * r.x + r.y * r.y);
1796
1796
  }
1797
1797
  function da(r, e) {
1798
1798
  var n = function(o, d) {
1799
- var l = Ue(o) * Ue(d);
1799
+ var l = We(o) * We(d);
1800
1800
  if (l === 0)
1801
1801
  return 0;
1802
1802
  var h = function(u, p) {
@@ -1846,7 +1846,7 @@ var Qt = { exports: {} };
1846
1846
  if (e.touches.length > 1) {
1847
1847
  this._cancelLongTap(), this._cancelSingleTap();
1848
1848
  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 = Ue(n), this.multipointStart.dispatch(e, this.element);
1849
+ n.x = o.x, n.y = o.y, this.pinchStartLen = We(n), this.multipointStart.dispatch(e, this.element);
1850
1850
  }
1851
1851
  this._preventTap = !1, this.longTapTimeout = setTimeout((function() {
1852
1852
  this.longTap.dispatch(e, this.element), this._preventTap = !0;
@@ -1857,7 +1857,7 @@ var Qt = { exports: {} };
1857
1857
  var n = this.preV, o = e.touches.length, d = e.touches[0].pageX, l = e.touches[0].pageY;
1858
1858
  if (this.isDoubleTap = !1, o > 1) {
1859
1859
  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 = Ue(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;
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;
1861
1861
  } else {
1862
1862
  if (this.x2 !== null) {
1863
1863
  e.deltaX = d - this.x2, e.deltaY = l - this.y2;
@@ -1907,38 +1907,38 @@ var Qt = { exports: {} };
1907
1907
  return p[h];
1908
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
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
- A(o, "greset");
1910
+ $(o, "greset");
1911
1911
  } }), o.style.opacity = "", l && (l.style.opacity = "");
1912
1912
  }
1913
1913
  function ha(r) {
1914
1914
  if (r.events.hasOwnProperty("touch"))
1915
1915
  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, Se = 0, je = !1, ht = !1, _e = {}, Ce = {}, Ot = 0, Pt = 0, ka = document.getElementById("glightbox-slider"), Ye = document.querySelector(".goverlay"), Sa = new ba(ka, { touchStart: function(P) {
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
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 (Ce = P.targetTouches[0], _e.pageX = P.targetTouches[0].pageX, _e.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")), A(Ye, "greset"), P.pageX > 20 && P.pageX < window.innerWidth - 20)
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)
1919
1919
  return;
1920
1920
  P.preventDefault();
1921
1921
  }
1922
1922
  }, touchMove: function(P) {
1923
- if (u && (Ce = P.targetTouches[0], !O && !z)) {
1923
+ if (u && (Te = P.targetTouches[0], !O && !z)) {
1924
1924
  if (o && o.offsetHeight > h) {
1925
- var K = _e.pageX - Ce.pageX;
1925
+ var K = Ce.pageX - Te.pageX;
1926
1926
  if (Math.abs(K) <= 13)
1927
1927
  return !1;
1928
1928
  }
1929
1929
  m = !0;
1930
- var ve, Xe = P.targetTouches[0].clientX, _a = P.targetTouches[0].clientY, Ca = Ot - Xe, Ta = Pt - _a;
1931
- if (Math.abs(Ca) > Math.abs(Ta) ? (je = !1, ht = !0) : (ht = !1, je = !0), e = Ce.pageX - _e.pageX, ye = 100 * e / l, n = Ce.pageY - _e.pageY, Se = 100 * n / h, je && g && (ve = 1 - Math.abs(n) / h, Ye.style.opacity = ve, r.settings.touchFollowAxis && (ye = 0)), ht && (ve = 1 - Math.abs(e) / l, v.style.opacity = ve, r.settings.touchFollowAxis && (Se = 0)), !g)
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
1932
  return L(v, "translate3d(".concat(ye, "%, 0, 0)"));
1933
- L(v, "translate3d(".concat(ye, "%, ").concat(Se, "%, 0)"));
1933
+ L(v, "translate3d(".concat(ye, "%, ").concat(_e, "%, 0)"));
1934
1934
  }
1935
1935
  }, touchEnd: function() {
1936
1936
  if (u) {
1937
1937
  if (m = !1, z || O)
1938
1938
  return ae = I, void (me = oe);
1939
- var P = Math.abs(parseInt(Se)), K = Math.abs(parseInt(ye));
1939
+ var P = Math.abs(parseInt(_e)), K = Math.abs(parseInt(ye));
1940
1940
  if (!(P > 29 && g))
1941
- return P < 29 && K < 25 ? (T(Ye, "greset"), Ye.style.opacity = 1, bt(v)) : void 0;
1941
+ return P < 29 && K < 25 ? (T(Xe, "greset"), Xe.style.opacity = 1, bt(v)) : void 0;
1942
1942
  r.close();
1943
1943
  }
1944
1944
  }, multipointEnd: function() {
@@ -1957,10 +1957,10 @@ var Qt = { exports: {} };
1957
1957
  K > 4.5 && (K = 4.5), g.style.transform = "scale3d(".concat(K, ", ").concat(K, ", 1)"), C = K;
1958
1958
  }, pressMove: function(P) {
1959
1959
  if (z && !O) {
1960
- var K = Ce.pageX - _e.pageX, ve = Ce.pageY - _e.pageY;
1960
+ var K = Te.pageX - Ce.pageX, ve = Te.pageY - Ce.pageY;
1961
1961
  ae && (K += ae), me && (ve += me), I = K, oe = ve;
1962
- var Xe = "translate3d(".concat(K, "px, ").concat(ve, "px, 0)");
1963
- C && (Xe += " scale3d(".concat(C, ", ").concat(C, ", 1)")), L(g, Xe);
1962
+ var Ze = "translate3d(".concat(K, "px, ").concat(ve, "px, 0)");
1963
+ C && (Ze += " scale3d(".concat(C, ", ").concat(C, ", 1)")), L(g, Ze);
1964
1964
  }
1965
1965
  }, swipe: function(P) {
1966
1966
  if (!z)
@@ -2027,7 +2027,7 @@ var Qt = { exports: {} };
2027
2027
  } }, { key: "widowWidth", value: function() {
2028
2028
  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
2029
2029
  } }]), r;
2030
- }(), $t = function() {
2030
+ }(), At = function() {
2031
2031
  function r() {
2032
2032
  var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2033
2033
  i(this, r);
@@ -2094,9 +2094,9 @@ var Qt = { exports: {} };
2094
2094
  var d = this, l = r.querySelector(".ginner-container"), h = "gvideo" + n, u = r.querySelector(".gslide-media"), p = this.getAllPlayers();
2095
2095
  T(l, "gvideo-container"), u.insertBefore(de('<div class="gvideo-wrapper"></div>'), u.firstChild);
2096
2096
  var v = r.querySelector(".gvideo-wrapper");
2097
- Ve(this.settings.plyr.css, "Plyr");
2097
+ Fe(this.settings.plyr.css, "Plyr");
2098
2098
  var g = e.href, m = e == null ? void 0 : e.videoProvider, E = !1;
2099
- u.style.maxWidth = e.width, Ve(this.settings.plyr.js, "Plyr", function() {
2099
+ u.style.maxWidth = e.width, Fe(this.settings.plyr.js, "Plyr", function() {
2100
2100
  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
2101
  m = "local";
2102
2102
  var C = '<video id="' + h + '" ';
@@ -2111,12 +2111,12 @@ var Qt = { exports: {} };
2111
2111
  return r.querySelector("iframe") && r.querySelector("iframe").dataset.ready == "true";
2112
2112
  }, function() {
2113
2113
  d.resize(r);
2114
- }), I.on("enterfullscreen", At), I.on("exitfullscreen", At);
2114
+ }), I.on("enterfullscreen", $t), I.on("exitfullscreen", $t);
2115
2115
  });
2116
2116
  }
2117
- function At(r) {
2117
+ function $t(r) {
2118
2118
  var e = ce(r.target, ".gslide-media");
2119
- r.type === "enterfullscreen" && T(e, "fullscreen"), r.type === "exitfullscreen" && A(e, "fullscreen");
2119
+ r.type === "enterfullscreen" && T(e, "fullscreen"), r.type === "exitfullscreen" && $(e, "fullscreen");
2120
2120
  }
2121
2121
  function ma(r, e, n, o) {
2122
2122
  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;
@@ -2207,11 +2207,11 @@ var Qt = { exports: {} };
2207
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);
2208
2208
  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
2209
  } }, { key: "checkSize", value: function(e) {
2210
- return Ne(e) ? "".concat(e, "px") : e;
2210
+ return Ue(e) ? "".concat(e, "px") : e;
2211
2211
  } }, { key: "sanitizeValue", value: function(e) {
2212
2212
  return e !== "true" && e !== "false" ? e : e === "true";
2213
2213
  } }]), r;
2214
- }(), We = function() {
2214
+ }(), Ye = function() {
2215
2215
  function r(e, n, o) {
2216
2216
  i(this, r), this.element = e, this.instance = n, this.index = o;
2217
2217
  }
@@ -2219,16 +2219,16 @@ var Qt = { exports: {} };
2219
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
2220
  if (F(n, "loaded"))
2221
2221
  return !1;
2222
- var d = this.instance.settings, l = this.slideConfig, h = ke();
2222
+ var d = this.instance.settings, l = this.slideConfig, h = Se();
2223
2223
  y(d.beforeSlideLoad) && d.beforeSlideLoad({ index: this.index, slide: n, player: !1 });
2224
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
2225
  if (y(d.afterSlideLoad) && (C = function() {
2226
2226
  y(o) && o(), d.afterSlideLoad({ index: e.index, slide: n, player: e.instance.getSlidePlayerInstance(e.index) });
2227
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") {
2228
2228
  if (u !== "external")
2229
- return u === "inline" ? (ma.apply(this.instance, [n, l, this.index, C]), void (l.draggable && new $t({ 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() {
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
2230
  var I = n.querySelector("img");
2231
- l.draggable && new $t({ 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() {
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() {
2232
2232
  e.instance.resize();
2233
2233
  })), y(C) && C();
2234
2234
  }));
@@ -2254,8 +2254,8 @@ var Qt = { exports: {} };
2254
2254
  return !1;
2255
2255
  p.innerHTML = n.description, T(u, "gdesc-open");
2256
2256
  var v = j("click", { onElement: [u, ce(p, ".gslide-description")], withCallback: function(g, m) {
2257
- g.target.nodeName.toLowerCase() !== "a" && (A(u, "gdesc-open"), T(u, "gdesc-closed"), p.innerHTML = n.smallDescription, o.descriptionEvents(p, n), setTimeout(function() {
2258
- A(u, "gdesc-closed");
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");
2259
2259
  }, 400), v.destroy());
2260
2260
  } });
2261
2261
  } });
@@ -2266,7 +2266,7 @@ var Qt = { exports: {} };
2266
2266
  var e = new va(this.instance.settings.slideExtraAttributes);
2267
2267
  return this.slideConfig = e.parseConfig(this.element, this.instance.settings), this.slideConfig;
2268
2268
  } }]), r;
2269
- }(), Mt = ke(), It = ke() !== 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">
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">
2270
2270
  <div class="gslide-inner-content">
2271
2271
  <div class="ginner-container">
2272
2272
  <div class="gslide-media">
@@ -2303,18 +2303,18 @@ var Qt = { exports: {} };
2303
2303
  if (this.elements.length === 0)
2304
2304
  return !1;
2305
2305
  this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null;
2306
- var o = Ne(n) ? n : this.settings.startAt;
2306
+ var o = Ue(n) ? n : this.settings.startAt;
2307
2307
  if (te(e)) {
2308
2308
  var d = e.getAttribute("data-gallery");
2309
2309
  d && (this.fullElementsList = this.elements, this.elements = this.getGalleryElements(this.elements, d)), ne(o) && (o = this.getElementIndex(e)) < 0 && (o = 0);
2310
2310
  }
2311
- Ne(o) || (o = 0), this.build(), $(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2311
+ Ue(o) || (o = 0), this.build(), A(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2312
2312
  var l = document.body, h = window.innerWidth - document.documentElement.clientWidth;
2313
2313
  if (h > 0) {
2314
2314
  var u = document.createElement("style");
2315
2315
  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
2316
  }
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")) : (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(), It && this.settings.touchNavigation && ha(this), this.settings.keyboardNavigation && fa(this);
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);
2318
2318
  } }, { key: "openAt", value: function() {
2319
2319
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
2320
2320
  this.open(null, e);
@@ -2322,7 +2322,7 @@ var Qt = { exports: {} };
2322
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
2323
  D(this.loader), this.index = parseInt(n);
2324
2324
  var d = this.slidesContainer.querySelector(".current");
2325
- d && A(d, "current"), this.slideAnimateOut();
2325
+ d && $(d, "current"), this.slideAnimateOut();
2326
2326
  var l = this.slidesContainer.querySelectorAll(".gslide")[n];
2327
2327
  if (F(l, "loaded"))
2328
2328
  this.slideAnimateIn(l, o), M(this.loader);
@@ -2361,7 +2361,7 @@ var Qt = { exports: {} };
2361
2361
  } }, { key: "insertSlide", value: function() {
2362
2362
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1;
2363
2363
  n < 0 && (n = this.elements.length);
2364
- var o = new We(e, this, n), d = o.getConfig(), l = x({}, d), h = o.create(), u = this.elements.length - 1;
2364
+ var o = new Ye(e, this, n), d = o.getConfig(), l = x({}, d), h = o.create(), u = this.elements.length - 1;
2365
2365
  l.index = n, l.node = !1, l.instance = o, l.slideConfig = d, this.elements.splice(n, 0, l);
2366
2366
  var p = null, v = null;
2367
2367
  if (this.slidesContainer) {
@@ -2382,13 +2382,13 @@ var Qt = { exports: {} };
2382
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
2383
  } }, { key: "slideAnimateIn", value: function(e, n) {
2384
2384
  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 = ""), A(e, this.effectsClasses), n)
2386
- $(e, this.settings.cssEfects[this.settings.openEffect].in, function() {
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() {
2387
2387
  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
2388
  });
2389
2389
  else {
2390
2390
  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), $(e, v, function() {
2391
+ this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (v = this.settings.cssEfects.slideBack.in), A(e, v, function() {
2392
2392
  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
2393
  });
2394
2394
  }
@@ -2399,11 +2399,11 @@ var Qt = { exports: {} };
2399
2399
  if (!this.prevActiveSlide)
2400
2400
  return !1;
2401
2401
  var e = this.prevActiveSlide;
2402
- A(e, this.effectsClasses), T(e, "prev");
2402
+ $(e, this.effectsClasses), T(e, "prev");
2403
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), $(e, o, function() {
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() {
2405
2405
  var d = e.querySelector(".ginner-container"), l = e.querySelector(".gslide-media"), h = e.querySelector(".gslide-description");
2406
- d.style.transform = "", l.style.transform = "", A(l, "greset"), l.style.opacity = "", h && (h.style.opacity = ""), A(e, "prev");
2406
+ d.style.transform = "", l.style.transform = "", $(l, "greset"), l.style.opacity = "", h && (h.style.opacity = ""), $(e, "prev");
2407
2407
  });
2408
2408
  } }, { key: "getAllPlayers", value: function() {
2409
2409
  return this.videoPlayers;
@@ -2448,7 +2448,7 @@ var Qt = { exports: {} };
2448
2448
  this.settings.elements = !1;
2449
2449
  var o = [];
2450
2450
  e && e.length && _(e, function(d, l) {
2451
- var h = new We(d, n, l), u = h.getConfig(), p = x({}, u);
2451
+ var h = new Ye(d, n, l), u = h.getConfig(), p = x({}, u);
2452
2452
  p.slideConfig = u, p.instance = h, p.index = l, o.push(p);
2453
2453
  }), this.elements = o, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (_(this.elements, function() {
2454
2454
  var d = de(n.settings.slideHTML);
@@ -2462,13 +2462,13 @@ var Qt = { exports: {} };
2462
2462
  }), n;
2463
2463
  } }, { key: "getElements", value: function() {
2464
2464
  var e = this, n = [];
2465
- this.elements = this.elements ? this.elements : [], !ne(this.settings.elements) && Fe(this.settings.elements) && this.settings.elements.length && _(this.settings.elements, function(d, l) {
2466
- var h = new We(d, e, l), u = h.getConfig(), p = x({}, u);
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
2467
  p.node = !1, p.index = l, p.instance = h, p.slideConfig = u, n.push(p);
2468
2468
  });
2469
2469
  var o = !1;
2470
2470
  return this.getSelector() && (o = document.querySelectorAll(this.getSelector())), o && _(o, function(d, l) {
2471
- var h = new We(d, e, l), u = h.getConfig(), p = x({}, u);
2471
+ var h = new Ye(d, e, l), u = h.getConfig(), p = x({}, u);
2472
2472
  p.node = d, p.index = l, p.instance = h, p.slideConfig = u, p.gallery = d.getAttribute("data-gallery"), n.push(p);
2473
2473
  }), n;
2474
2474
  } }, { key: "getGalleryElements", value: function(e, n) {
@@ -2519,7 +2519,7 @@ var Qt = { exports: {} };
2519
2519
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
2520
2520
  if ((e = e || this.activeSlide) && !F(e, "zoomed")) {
2521
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") : A(document.body, "glightbox-mobile"), o || d) {
2522
+ if (h <= 768 ? T(document.body, "glightbox-mobile") : $(document.body, "glightbox-mobile"), o || d) {
2523
2523
  var p = !1;
2524
2524
  if (l && (F(l, "description-bottom") || F(l, "description-top")) && !F(l, "gabsolute") && (p = !0), d) {
2525
2525
  if (h <= 768)
@@ -2535,9 +2535,9 @@ var Qt = { exports: {} };
2535
2535
  var E = o.clientWidth, C = o.clientHeight, O = E / C;
2536
2536
  m = "".concat(E / O, ":").concat(C / O);
2537
2537
  }
2538
- var z = m.split(":"), I = this.settings.videosWidth, oe = this.settings.videosWidth, ae = (oe = Ne(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]));
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
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, Se = u / ye, je = { width: me * Se, height: ye * Se };
2540
+ var me = o.offsetWidth, ye = o.offsetHeight, _e = u / ye, je = { width: me * _e, height: ye * _e };
2541
2541
  o.parentNode.setAttribute("style", "max-width: ".concat(je.width, "px")), p && l.setAttribute("style", "max-width: ".concat(je.width, "px;"));
2542
2542
  } else
2543
2543
  o.parentNode.style.maxWidth = "".concat(I), p && l.setAttribute("style", "max-width: ".concat(I, ";"));
@@ -2548,7 +2548,7 @@ var Qt = { exports: {} };
2548
2548
  this.init();
2549
2549
  } }, { key: "updateNavigationClasses", value: function() {
2550
2550
  var e = this.loop();
2551
- 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");
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");
2552
2552
  } }, { key: "loop", value: function() {
2553
2553
  var e = N(this.settings, "loopAtEnd") ? this.settings.loopAtEnd : null;
2554
2554
  return e = N(this.settings, "loop") ? this.settings.loop : e, e;
@@ -2566,14 +2566,14 @@ var Qt = { exports: {} };
2566
2566
  return !1;
2567
2567
  this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && _(this.bodyHiddenChildElms, function(o) {
2568
2568
  o.removeAttribute("aria-hidden");
2569
- }), T(this.modal, "glightbox-closing"), $(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), $(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, function() {
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() {
2570
2570
  if (e.activeSlide = null, e.prevActiveSlideIndex = null, e.prevActiveSlide = null, e.built = !1, e.events) {
2571
2571
  for (var o in e.events)
2572
2572
  e.events.hasOwnProperty(o) && e.events[o].destroy();
2573
2573
  e.events = null;
2574
2574
  }
2575
2575
  var d = document.body;
2576
- 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();
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();
2577
2577
  var l = document.querySelector(".gcss-styles");
2578
2578
  l && l.parentNode.removeChild(l), e.lightboxOpen = !1, e.closing = null;
2579
2579
  });
@@ -2730,7 +2730,7 @@ var Cc = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, kt = (a, t
2730
2730
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2731
2731
  return i && s && Cc(t, c, s), s;
2732
2732
  };
2733
- let Be = class extends rt {
2733
+ let qe = class extends rt {
2734
2734
  constructor() {
2735
2735
  super(...arguments), this.url = "", this.inverse = !1;
2736
2736
  }
@@ -2750,7 +2750,7 @@ let Be = class extends rt {
2750
2750
  `;
2751
2751
  }
2752
2752
  };
2753
- Be.styles = U`
2753
+ qe.styles = U`
2754
2754
  :host {
2755
2755
  --primary-color: var(--sl-color-primary-600);
2756
2756
  }
@@ -2777,29 +2777,29 @@ Be.styles = U`
2777
2777
  `;
2778
2778
  kt([
2779
2779
  k({ type: String })
2780
- ], Be.prototype, "url", 2);
2780
+ ], qe.prototype, "url", 2);
2781
2781
  kt([
2782
2782
  k({ type: Boolean })
2783
- ], Be.prototype, "inverse", 2);
2784
- Be = kt([
2783
+ ], qe.prototype, "inverse", 2);
2784
+ qe = kt([
2785
2785
  Y("cb-external-link")
2786
- ], Be);
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>', $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.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>', 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>';
2786
+ ], 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
2788
  var Pc = Object.defineProperty, Lc = Object.getOwnPropertyDescriptor, St = (a, t, c, i) => {
2789
2789
  for (var s = i > 1 ? void 0 : i ? Lc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
2790
2790
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
2791
2791
  return i && s && Pc(t, c, s), s;
2792
2792
  };
2793
2793
  const zt = {
2794
- pdf: $c,
2794
+ pdf: Ac,
2795
2795
  txt: Ec,
2796
- md: Ac,
2796
+ md: $c,
2797
2797
  csv: Mc,
2798
2798
  ppd: Ic,
2799
2799
  doc: jc,
2800
2800
  docx: Oc
2801
2801
  };
2802
- let qe = class extends Q {
2802
+ let Re = class extends Q {
2803
2803
  constructor() {
2804
2804
  super(...arguments), this.filename = "", this.url = "";
2805
2805
  }
@@ -2829,16 +2829,16 @@ let qe = class extends Q {
2829
2829
  `;
2830
2830
  }
2831
2831
  };
2832
- qe.styles = _c;
2832
+ Re.styles = _c;
2833
2833
  St([
2834
2834
  k({ type: String })
2835
- ], qe.prototype, "filename", 2);
2835
+ ], Re.prototype, "filename", 2);
2836
2836
  St([
2837
2837
  k({ type: String })
2838
- ], qe.prototype, "url", 2);
2839
- qe = St([
2838
+ ], Re.prototype, "url", 2);
2839
+ Re = St([
2840
2840
  Y("cb-file")
2841
- ], qe);
2841
+ ], Re);
2842
2842
  const zc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"/><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"/></g></svg>', Hc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M8 8a3 3 0 1 0 0-6a3 3 0 0 0 0 6m2-3a2 2 0 1 1-4 0a2 2 0 0 1 4 0m4 8c0 1-1 1-1 1H3s-1 0-1-1s1-4 6-4s6 3 6 4m-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664z"/></svg>', Bc = U`
2843
2843
  pre code.hljs {
2844
2844
  display: block;
@@ -4177,7 +4177,7 @@ const zc = '<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="curr
4177
4177
  }
4178
4178
  `;
4179
4179
  function Rc() {
4180
- const a = new Aa({
4180
+ const a = new $a({
4181
4181
  html: !0,
4182
4182
  breaks: !0,
4183
4183
  linkify: !0
@@ -4186,14 +4186,14 @@ function Rc() {
4186
4186
  }
4187
4187
  async function Ht(a) {
4188
4188
  const c = Rc().render(a);
4189
- return w`${Ee(c)}`;
4189
+ return w`${we(c)}`;
4190
4190
  }
4191
- var Dc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, De = (a, t, c, i) => {
4191
+ var Dc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Ve = (a, t, c, i) => {
4192
4192
  for (var s = i > 1 ? void 0 : i ? Vc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4193
4193
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4194
4194
  return i && s && Dc(t, c, s), s;
4195
4195
  };
4196
- let Ae = class extends Q {
4196
+ let $e = class extends Q {
4197
4197
  constructor() {
4198
4198
  super(...arguments), this.type = "assistant", this.lightbox = yc({
4199
4199
  touchNavigation: !0,
@@ -4323,7 +4323,7 @@ let Ae = class extends Q {
4323
4323
  ${Lt(
4324
4324
  this._getMessageText(a).then((c) => w`${c}`)
4325
4325
  )}
4326
- </div>` : a.type === "file" ? w`${Ge(
4326
+ </div>` : a.type === "file" ? w`${Je(
4327
4327
  a.data.files || [],
4328
4328
  (c) => c.id,
4329
4329
  (c) => w`<cb-file filename="${c.name}" url="${c.url}"></cb-file>`
@@ -4334,11 +4334,12 @@ let Ae = class extends Q {
4334
4334
  </div>`;
4335
4335
  }
4336
4336
  renderBotMessageAvatar(a) {
4337
+ var t;
4337
4338
  if (a.data.userName && a.data.userName !== "") {
4338
- const t = a.data.userAvatar || "";
4339
- return w` <img src="${t}" style="width: 24px;height: 24px;" /> `;
4339
+ 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)}`;
4340
4341
  }
4341
- return a.author === "system" ? Qe`${Ee(S.setting.systemIconSvg)}` : Qe`${Ee(S.setting.botIconSvg)}`;
4342
+ return a.author === "system" ? He`${we(S.setting.systemIconSvg)}` : He`${we(S.setting.botIconSvg)}`;
4342
4343
  }
4343
4344
  renderBotMessage(a) {
4344
4345
  return w`
@@ -4354,29 +4355,29 @@ let Ae = class extends Q {
4354
4355
  <!--<sl-avatar class="avatar user-avatar small" label="User">
4355
4356
  <cb-icon slot="icon" svg="${Hc}" color="white"></cb-icon>
4356
4357
  </sl-avatar>-->
4357
- <div class="avatar user-avatar">${Ee(S.setting.userIconSvg)}</div>
4358
+ <div class="avatar user-avatar">${we(S.setting.userIconSvg)}</div>
4358
4359
  ${this.renderMessage(a)}
4359
4360
  </div>
4360
4361
  `;
4361
4362
  }
4362
4363
  };
4363
- Ae.styles = qc;
4364
- De([
4364
+ $e.styles = qc;
4365
+ Ve([
4365
4366
  k({ type: Object })
4366
- ], Ae.prototype, "message", 2);
4367
- De([
4367
+ ], $e.prototype, "message", 2);
4368
+ Ve([
4368
4369
  k({ type: String })
4369
- ], Ae.prototype, "type", 2);
4370
- De([
4370
+ ], $e.prototype, "type", 2);
4371
+ Ve([
4371
4372
  Ft(".code-block-header__copy")
4372
- ], Ae.prototype, "copyBtns", 2);
4373
- De([
4373
+ ], $e.prototype, "copyBtns", 2);
4374
+ Ve([
4374
4375
  Ft("img")
4375
- ], Ae.prototype, "glightboxImages", 2);
4376
- Ae = De([
4376
+ ], $e.prototype, "glightboxImages", 2);
4377
+ $e = Ve([
4377
4378
  Y("cb-message")
4378
- ], Ae);
4379
- var Fc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, xe = (a, t, c, i) => {
4379
+ ], $e);
4380
+ var Fc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, ke = (a, t, c, i) => {
4380
4381
  for (var s = i > 1 ? void 0 : i ? Nc(t, c) : t, f = a.length - 1, b; f >= 0; f--)
4381
4382
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4382
4383
  return i && s && Fc(t, c, s), s;
@@ -4397,7 +4398,7 @@ let be = class extends Q {
4397
4398
  render() {
4398
4399
  return w`
4399
4400
  <div class="cb-message-list" part="cb-message-list">
4400
- ${Ge(
4401
+ ${Je(
4401
4402
  this.messages,
4402
4403
  (a) => a.id + JSON.stringify(a.data),
4403
4404
  (a) => w`<cb-message .message="${a}"></cb-message>`
@@ -4410,7 +4411,7 @@ let be = class extends Q {
4410
4411
  renderForm() {
4411
4412
  return this.form ? w` <form class="cb-input-form" part="form" @submit="${this.handleFormSubmit.bind(this)}">
4412
4413
  <div class="cb-input-form-title">${this.form.title}</div>
4413
- ${Ge(
4414
+ ${Je(
4414
4415
  this.form.fields,
4415
4416
  (a, t) => t,
4416
4417
  (a) => {
@@ -4472,7 +4473,7 @@ let be = class extends Q {
4472
4473
  renderActions() {
4473
4474
  return !Array.isArray(this.actions) || this.actions.length <= 0 ? null : w`
4474
4475
  <div class="cb-actions-list">
4475
- ${Ge(
4476
+ ${Je(
4476
4477
  this.actions,
4477
4478
  (a) => a,
4478
4479
  (a) => this.renderAction(a)
@@ -4547,28 +4548,28 @@ let be = class extends Q {
4547
4548
  }
4548
4549
  };
4549
4550
  be.styles = gc;
4550
- xe([
4551
+ ke([
4551
4552
  k({ type: Array })
4552
4553
  ], be.prototype, "messages", 2);
4553
- xe([
4554
+ ke([
4554
4555
  k({ type: Array })
4555
4556
  ], be.prototype, "actions", 2);
4556
- xe([
4557
+ ke([
4557
4558
  k({ type: Object })
4558
4559
  ], be.prototype, "form", 2);
4559
- xe([
4560
- Re("#cb-message-list-bottom-anchor")
4560
+ ke([
4561
+ De("#cb-message-list-bottom-anchor")
4561
4562
  ], be.prototype, "_messageListBottomAnchor", 2);
4562
- xe([
4563
- Re(".cb-input-form")
4563
+ ke([
4564
+ De(".cb-input-form")
4564
4565
  ], be.prototype, "_inputForm", 2);
4565
- xe([
4566
+ ke([
4566
4567
  Nt({ capture: !1, passive: !0 })
4567
4568
  ], be.prototype, "invokeLinkAction", 1);
4568
- xe([
4569
+ ke([
4569
4570
  Nt({ capture: !1, passive: !0 })
4570
4571
  ], be.prototype, "invokeCalendlyAction", 1);
4571
- be = xe([
4572
+ be = ke([
4572
4573
  Y("cb-message-list")
4573
4574
  ], be);
4574
4575
  const Uc = U`
@@ -4721,7 +4722,7 @@ ge([
4721
4722
  k({ type: String })
4722
4723
  ], fe.prototype, "currentKey", 2);
4723
4724
  ge([
4724
- Re("sl-textarea")
4725
+ De("sl-textarea")
4725
4726
  ], fe.prototype, "inputElement", 2);
4726
4727
  fe = ge([
4727
4728
  Y("cb-user-input")
@@ -4941,7 +4942,7 @@ var ai = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Le = (a, t
4941
4942
  (b = a[f]) && (s = (i ? b(t, c, s) : b(s)) || s);
4942
4943
  return i && s && ai(t, c, s), s;
4943
4944
  };
4944
- let we = class extends Q {
4945
+ let xe = class extends Q {
4945
4946
  constructor() {
4946
4947
  super(...arguments), this.open = !1, this.clearMessageDialogOpen = !1, this.customRequest = !1;
4947
4948
  }
@@ -5104,25 +5105,25 @@ let we = class extends Q {
5104
5105
  });
5105
5106
  }
5106
5107
  };
5107
- we.styles = ti;
5108
+ xe.styles = ti;
5108
5109
  Le([
5109
5110
  k({ type: Boolean })
5110
- ], we.prototype, "open", 2);
5111
+ ], xe.prototype, "open", 2);
5111
5112
  Le([
5112
5113
  k({ type: Object })
5113
- ], we.prototype, "setting", 2);
5114
+ ], xe.prototype, "setting", 2);
5114
5115
  Le([
5115
5116
  k({ type: Boolean })
5116
- ], we.prototype, "clearMessageDialogOpen", 2);
5117
+ ], xe.prototype, "clearMessageDialogOpen", 2);
5117
5118
  Le([
5118
- Re("sl-dialog")
5119
- ], we.prototype, "dialog", 2);
5119
+ De("sl-dialog")
5120
+ ], xe.prototype, "dialog", 2);
5120
5121
  Le([
5121
5122
  k({ type: Boolean })
5122
- ], we.prototype, "customRequest", 2);
5123
- we = Le([
5123
+ ], xe.prototype, "customRequest", 2);
5124
+ xe = Le([
5124
5125
  Y("cb-setting")
5125
- ], we);
5126
+ ], xe);
5126
5127
  const ii = U`
5127
5128
  ${he}
5128
5129
  :host {
@@ -5252,12 +5253,12 @@ let it = class extends Q {
5252
5253
  )}
5253
5254
  </sl-button>
5254
5255
  <div class="cb-engage-popup">
5255
- <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${Qe`${Ee(et)}`}</div>
5256
+ <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${He`${we(et)}`}</div>
5256
5257
  <div class="cb-engage-popup-content">
5257
5258
  ${ue(
5258
5259
  S.setting.logoUrl !== "",
5259
5260
  () => w`<img class="cb-engage-popup-img" src="${S.setting.logoUrl}" />`,
5260
- () => w`<div class="cb-engage-popup-logo">${Qe`${Ee(S.setting.logoSvg)}`}</div>`
5261
+ () => w`<div class="cb-engage-popup-logo">${He`${we(S.setting.logoSvg)}`}</div>`
5261
5262
  )}
5262
5263
  <!--<cb-icon class="cb-engage-popup-logo" svg="${S.setting.logoSvg}"></cb-icon>-->
5263
5264
  <div>${S.setting.engageMessage}</div>
@@ -5377,9 +5378,9 @@ class ia extends Error {
5377
5378
  }), this.name = "TimeoutError", this.request = t;
5378
5379
  }
5379
5380
  }
5380
- const Ke = (a) => a !== null && typeof a == "object", Ze = (...a) => {
5381
+ const Qe = (a) => a !== null && typeof a == "object", Ge = (...a) => {
5381
5382
  for (const t of a)
5382
- if ((!Ke(t) || Array.isArray(t)) && typeof t < "u")
5383
+ if ((!Qe(t) || Array.isArray(t)) && typeof t < "u")
5383
5384
  throw new TypeError("The `options` argument must be an object");
5384
5385
  return _t({}, ...a);
5385
5386
  }, na = (a = {}, t = {}) => {
@@ -5392,10 +5393,10 @@ const Ke = (a) => a !== null && typeof a == "object", Ze = (...a) => {
5392
5393
  for (const i of a)
5393
5394
  if (Array.isArray(i))
5394
5395
  Array.isArray(t) || (t = []), t = [...t, ...i];
5395
- else if (Ke(i)) {
5396
+ else if (Qe(i)) {
5396
5397
  for (let [s, f] of Object.entries(i))
5397
- Ke(f) && s in t && (f = _t(t[s], f)), t = { ...t, [s]: f };
5398
- Ke(i.headers) && (c = na(c, i.headers), t.headers = c);
5398
+ Qe(f) && s in t && (f = _t(t[s], f)), t = { ...t, [s]: f };
5399
+ Qe(i.headers) && (c = na(c, i.headers), t.headers = c);
5399
5400
  }
5400
5401
  return t;
5401
5402
  }, mi = (() => {
@@ -5455,7 +5456,7 @@ function Vt(a) {
5455
5456
  const t = new Error((a == null ? void 0 : a.reason) ?? "The operation was aborted.");
5456
5457
  return t.name = "AbortError", t;
5457
5458
  }
5458
- async function $i(a, { signal: t }) {
5459
+ async function Ai(a, { signal: t }) {
5459
5460
  return new Promise((c, i) => {
5460
5461
  if (t) {
5461
5462
  if (t.aborted) {
@@ -5607,7 +5608,7 @@ class st {
5607
5608
  } catch (c) {
5608
5609
  const i = Math.min(this._calculateRetryDelay(c), pt);
5609
5610
  if (i !== 0 && this._retryCount > 0) {
5610
- await $i(i, { signal: this._options.signal });
5611
+ await Ai(i, { signal: this._options.signal });
5611
5612
  for (const s of this._options.hooks.beforeRetry)
5612
5613
  if (await s({
5613
5614
  request: this.request,
@@ -5669,11 +5670,11 @@ class st {
5669
5670
  }
5670
5671
  /*! MIT License © Sindre Sorhus */
5671
5672
  const wt = (a) => {
5672
- const t = (c, i) => st.create(c, Ze(a, i));
5673
+ const t = (c, i) => st.create(c, Ge(a, i));
5673
5674
  for (const c of sa)
5674
- t[c] = (i, s) => st.create(i, Ze(a, s, { method: c }));
5675
- return t.create = (c) => wt(Ze(c)), t.extend = (c) => wt(Ze(a, c)), t.stop = oa, t;
5676
- }, Ai = wt(), Mi = Ai, Ii = Mi.extend({
5675
+ t[c] = (i, s) => st.create(i, Ge(a, s, { method: c }));
5676
+ 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({
5677
5678
  hooks: {
5678
5679
  beforeRequest: [
5679
5680
  () => {
@@ -5734,7 +5735,7 @@ let H = class extends Q {
5734
5735
  fill="#E24D42"
5735
5736
  ></path>
5736
5737
  </svg>
5737
- `, this.botIconSvg = '<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>', this.userIconSvg = '<svg fill="currentColor" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z" /></svg>', this.systemIconSvg = '<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"/></svg>', this.stream = !1, this.customRequest = !1, this.enableFileUpload = !1, this.uploadFileUrl = "", this.open = !1, this.alwaysOpen = !1, this.prefilledFormFields = "{}", this.loading = !1, this.showSetting = !1, this.showAuthAlert = !1, this.fetchStream = ji;
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;
5738
5739
  }
5739
5740
  //HTMLElement;
5740
5741
  /**
@@ -5802,7 +5803,7 @@ let H = class extends Q {
5802
5803
  _initSetting() {
5803
5804
  ze.info("_initSetting");
5804
5805
  const a = S.setting;
5805
- 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, S.setSetting(a);
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);
5806
5807
  let t = {};
5807
5808
  try {
5808
5809
  t = JSON.parse(this.prefilledFormFields);
@@ -5906,6 +5907,9 @@ R([
5906
5907
  R([
5907
5908
  k({ type: String, attribute: "system-icon-svg" })
5908
5909
  ], H.prototype, "systemIconSvg", 2);
5910
+ R([
5911
+ k({ type: String, attribute: "agent-icon-svg" })
5912
+ ], H.prototype, "agentIconSvg", 2);
5909
5913
  R([
5910
5914
  k({ type: Boolean, attribute: "stream" })
5911
5915
  ], H.prototype, "stream", 2);
@@ -5937,7 +5941,7 @@ R([
5937
5941
  k({ type: Boolean })
5938
5942
  ], H.prototype, "showAuthAlert", 2);
5939
5943
  R([
5940
- Re("cb-message-list")
5944
+ De("cb-message-list")
5941
5945
  ], H.prototype, "_messageList", 2);
5942
5946
  H = R([
5943
5947
  Y("enegelai-bot")