deep-chat-dev 9.0.154 → 9.0.155

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/deepChat.js CHANGED
@@ -561,15 +561,15 @@ var ue = /*#__PURE__*/function () {
561
561
  }();
562
562
  var gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2032%2032'%20xml:space='preserve'%3e%3cpath%20d='M23,30.36H9c-2.404,0-4.36-1.956-4.36-4.36V15c0-2.404,1.956-4.36,4.36-4.36h3.659%20c0.167-1.566,1.415-2.813,2.981-2.981V5.333c-1.131-0.174-2-1.154-2-2.333c0-1.301,1.059-2.36,2.36-2.36%20c1.302,0,2.36,1.059,2.36,2.36c0,1.179-0.869,2.159-2,2.333V7.66c1.566,0.167,2.814,1.415,2.981,2.981H23%20c2.404,0,4.36,1.956,4.36,4.36v11C27.36,28.404,25.404,30.36,23,30.36z%20M9,11.36c-2.007,0-3.64,1.633-3.64,3.64v11%20c0,2.007,1.633,3.64,3.64,3.64h14c2.007,0,3.64-1.633,3.64-3.64V15c0-2.007-1.633-3.64-3.64-3.64H9z%20M13.384,10.64h5.231%20C18.439,9.354,17.334,8.36,16,8.36C14.667,8.36,13.561,9.354,13.384,10.64z%20M16,1.36c-0.904,0-1.64,0.736-1.64,1.64%20S15.096,4.64,16,4.64c0.904,0,1.64-0.736,1.64-1.64S16.904,1.36,16,1.36z%20M20,27.36h-8c-1.301,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36h8c1.302,0,2.36,1.059,2.36,2.36S21.302,27.36,20,27.36z%20M12,23.36c-0.904,0-1.64,0.735-1.64,1.64%20s0.736,1.64,1.64,1.64h8c0.904,0,1.64-0.735,1.64-1.64s-0.735-1.64-1.64-1.64H12z%20M31,23.86h-2c-0.199,0-0.36-0.161-0.36-0.36V15%20c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5C31.36,23.699,31.199,23.86,31,23.86z%20M29.36,23.14h1.279v-7.78%20H29.36V23.14z%20M3,23.86H1c-0.199,0-0.36-0.161-0.36-0.36V15c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5%20C3.36,23.699,3.199,23.86,3,23.86z%20M1.36,23.14h1.28v-7.78H1.36V23.14z%20M20,20.36c-1.302,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36s2.36,1.059,2.36,2.36C22.36,19.302,21.302,20.36,20,20.36z%20M20,16.36c-0.904,0-1.64,0.736-1.64,1.64%20s0.735,1.64,1.64,1.64s1.64-0.735,1.64-1.64S20.904,16.36,20,16.36z%20M12,20.36c-1.301,0-2.36-1.059-2.36-2.36s1.059-2.36,2.36-2.36%20s2.36,1.059,2.36,2.36C14.36,19.302,13.301,20.36,12,20.36z%20M12,16.36c-0.904,0-1.64,0.736-1.64,1.64s0.736,1.64,1.64,1.64%20s1.64-0.735,1.64-1.64S12.904,16.36,12,16.36z'/%3e%3crect%20style='fill:none;'%20width='32'%20height='32'/%3e%3c/svg%3e",
563
563
  bs = "data:image/png;base64,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",
564
- Y = /*#__PURE__*/function () {
565
- function Y() {
566
- _classCallCheck(this, Y);
564
+ Q = /*#__PURE__*/function () {
565
+ function Q() {
566
+ _classCallCheck(this, Q);
567
567
  }
568
- _createClass(Y, null, [{
568
+ _createClass(Q, null, [{
569
569
  key: "hide",
570
570
  value: function hide(e) {
571
571
  var t;
572
- (t = e.getElementsByClassName(Y.CONTAINER_CLASS)[0].style).visibility || (t.visibility = "hidden");
572
+ (t = e.getElementsByClassName(Q.CONTAINER_CLASS)[0].style).visibility || (t.visibility = "hidden");
573
573
  }
574
574
  }, {
575
575
  key: "applyCustomStylesToElements",
@@ -580,10 +580,10 @@ var gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e
580
580
  key: "applyCustomStyles",
581
581
  value: function applyCustomStyles(e, t, i, n) {
582
582
  var r, o, a, l;
583
- if ((r = i["default"]) != null && r.styles && Y.applyCustomStylesToElements(e, t, i["default"].styles), n === b.USER_ROLE) (o = i.user) != null && o.styles && Y.applyCustomStylesToElements(e, t, i.user.styles);else {
584
- (a = i.ai) != null && a.styles && Y.applyCustomStylesToElements(e, t, i.ai.styles);
583
+ if ((r = i["default"]) != null && r.styles && Q.applyCustomStylesToElements(e, t, i["default"].styles), n === b.USER_ROLE) (o = i.user) != null && o.styles && Q.applyCustomStylesToElements(e, t, i.user.styles);else {
584
+ (a = i.ai) != null && a.styles && Q.applyCustomStylesToElements(e, t, i.ai.styles);
585
585
  var c = (l = i[n]) == null ? void 0 : l.styles;
586
- c && Y.applyCustomStylesToElements(e, t, c);
586
+ c && Q.applyCustomStylesToElements(e, t, c);
587
587
  }
588
588
  }
589
589
  }, {
@@ -593,7 +593,7 @@ var gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e
593
593
  var i = document.createElement("img");
594
594
  e === b.USER_ROLE ? i.src = ((r = t == null ? void 0 : t.user) == null ? void 0 : r.src) || ((o = t == null ? void 0 : t["default"]) == null ? void 0 : o.src) || bs : i.src = ((a = t == null ? void 0 : t[e]) == null ? void 0 : a.src) || ((l = t == null ? void 0 : t.ai) == null ? void 0 : l.src) || ((c = t == null ? void 0 : t["default"]) == null ? void 0 : c.src) || gs, i.classList.add("avatar");
595
595
  var n = document.createElement("div");
596
- return n.classList.add(Y.CONTAINER_CLASS), n.appendChild(i), t && Y.applyCustomStyles(n, i, t, e), n;
596
+ return n.classList.add(Q.CONTAINER_CLASS), n.appendChild(i), t && Q.applyCustomStyles(n, i, t, e), n;
597
597
  }
598
598
  }, {
599
599
  key: "getPosition",
@@ -607,15 +607,15 @@ var gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e
607
607
  key: "add",
608
608
  value: function add(e, t, i) {
609
609
  var n = typeof i == "boolean" ? void 0 : i,
610
- r = Y.createAvatar(t, n),
611
- o = Y.getPosition(t, n);
610
+ r = Q.createAvatar(t, n),
611
+ o = Q.getPosition(t, n);
612
612
  r.classList.add(o === "left" ? "left-item-position" : "right-item-position"), e.insertAdjacentElement(o === "left" ? "beforebegin" : "afterend", r);
613
613
  }
614
614
  }]);
615
- return Y;
615
+ return Q;
616
616
  }();
617
- Y.CONTAINER_CLASS = "avatar-container";
618
- var Xt = Y;
617
+ Q.CONTAINER_CLASS = "avatar-container";
618
+ var Xt = Q;
619
619
  var be = /*#__PURE__*/function () {
620
620
  function be() {
621
621
  _classCallCheck(this, be);
@@ -1256,14 +1256,14 @@ ln.prototype.render = function (s, e, t) {
1256
1256
  for (var i = this.rules, n = s.length, r = -1, o = ""; ++r < n;) s[r].type === "inline" ? o += this.renderInline(s[r].children, e, t) : o += i[s[r].type](s, r, e, t, this);
1257
1257
  return o;
1258
1258
  };
1259
- function J() {
1259
+ function X() {
1260
1260
  this.__rules__ = [], this.__cache__ = null;
1261
1261
  }
1262
- J.prototype.__find__ = function (s) {
1262
+ X.prototype.__find__ = function (s) {
1263
1263
  for (var e = this.__rules__.length, t = -1; e--;) if (this.__rules__[++t].name === s) return t;
1264
1264
  return -1;
1265
1265
  };
1266
- J.prototype.__compile__ = function () {
1266
+ X.prototype.__compile__ = function () {
1267
1267
  var s = this,
1268
1268
  e = [""];
1269
1269
  s.__rules__.forEach(function (t) {
@@ -1276,13 +1276,13 @@ J.prototype.__compile__ = function () {
1276
1276
  });
1277
1277
  });
1278
1278
  };
1279
- J.prototype.at = function (s, e, t) {
1279
+ X.prototype.at = function (s, e, t) {
1280
1280
  var i = this.__find__(s),
1281
1281
  n = t || {};
1282
1282
  if (i === -1) throw new Error("Parser rule not found: " + s);
1283
1283
  this.__rules__[i].fn = e, this.__rules__[i].alt = n.alt || [], this.__cache__ = null;
1284
1284
  };
1285
- J.prototype.before = function (s, e, t, i) {
1285
+ X.prototype.before = function (s, e, t, i) {
1286
1286
  var n = this.__find__(s),
1287
1287
  r = i || {};
1288
1288
  if (n === -1) throw new Error("Parser rule not found: " + s);
@@ -1293,7 +1293,7 @@ J.prototype.before = function (s, e, t, i) {
1293
1293
  alt: r.alt || []
1294
1294
  }), this.__cache__ = null;
1295
1295
  };
1296
- J.prototype.after = function (s, e, t, i) {
1296
+ X.prototype.after = function (s, e, t, i) {
1297
1297
  var n = this.__find__(s),
1298
1298
  r = i || {};
1299
1299
  if (n === -1) throw new Error("Parser rule not found: " + s);
@@ -1304,7 +1304,7 @@ J.prototype.after = function (s, e, t, i) {
1304
1304
  alt: r.alt || []
1305
1305
  }), this.__cache__ = null;
1306
1306
  };
1307
- J.prototype.push = function (s, e, t) {
1307
+ X.prototype.push = function (s, e, t) {
1308
1308
  var i = t || {};
1309
1309
  this.__rules__.push({
1310
1310
  name: s,
@@ -1313,7 +1313,7 @@ J.prototype.push = function (s, e, t) {
1313
1313
  alt: i.alt || []
1314
1314
  }), this.__cache__ = null;
1315
1315
  };
1316
- J.prototype.enable = function (s, e) {
1316
+ X.prototype.enable = function (s, e) {
1317
1317
  s = Array.isArray(s) ? s : [s], e && this.__rules__.forEach(function (t) {
1318
1318
  t.enabled = !1;
1319
1319
  }), s.forEach(function (t) {
@@ -1322,14 +1322,14 @@ J.prototype.enable = function (s, e) {
1322
1322
  this.__rules__[i].enabled = !0;
1323
1323
  }, this), this.__cache__ = null;
1324
1324
  };
1325
- J.prototype.disable = function (s) {
1325
+ X.prototype.disable = function (s) {
1326
1326
  s = Array.isArray(s) ? s : [s], s.forEach(function (e) {
1327
1327
  var t = this.__find__(e);
1328
1328
  if (t < 0) throw new Error("Rules manager: invalid rule name " + e);
1329
1329
  this.__rules__[t].enabled = !1;
1330
1330
  }, this), this.__cache__ = null;
1331
1331
  };
1332
- J.prototype.getRules = function (s) {
1332
+ X.prototype.getRules = function (s) {
1333
1333
  return this.__cache__ === null && this.__compile__(), this.__cache__[s] || [];
1334
1334
  };
1335
1335
  function Rs(s) {
@@ -1649,7 +1649,7 @@ function Gs(s) {
1649
1649
  }
1650
1650
  var Di = [["block", Rs], ["abbr", Ls], ["references", Os], ["inline", Ns], ["footnote_tail", Ds], ["abbr2", Fs], ["replacements", qs], ["smartquotes", Gs]];
1651
1651
  function ss() {
1652
- this.options = {}, this.ruler = new J();
1652
+ this.options = {}, this.ruler = new X();
1653
1653
  for (var s = 0; s < Di.length; s++) this.ruler.push(Di[s][0], Di[s][1]);
1654
1654
  }
1655
1655
  ss.prototype.process = function (s) {
@@ -1839,7 +1839,7 @@ function Zs(s, e, t, i) {
1839
1839
  p,
1840
1840
  x,
1841
1841
  S,
1842
- X,
1842
+ Z,
1843
1843
  ie,
1844
1844
  N,
1845
1845
  W,
@@ -1851,7 +1851,7 @@ function Zs(s, e, t, i) {
1851
1851
  if ((h = kn(s, e)) >= 0) x = !0;else if ((h = Cn(s, e)) >= 0) x = !1;else return !1;
1852
1852
  if (s.level >= s.options.maxNesting) return !1;
1853
1853
  if (p = s.src.charCodeAt(h - 1), i) return !0;
1854
- for (X = s.tokens.length, x ? (d = s.bMarks[e] + s.tShift[e], m = Number(s.src.substr(d, h - d - 1)), s.tokens.push({
1854
+ for (Z = s.tokens.length, x ? (d = s.bMarks[e] + s.tShift[e], m = Number(s.src.substr(d, h - d - 1)), s.tokens.push({
1855
1855
  type: "ordered_list_open",
1856
1856
  order: m,
1857
1857
  lines: N = [e, 0],
@@ -1881,7 +1881,7 @@ function Zs(s, e, t, i) {
1881
1881
  return s.tokens.push({
1882
1882
  type: x ? "ordered_list_close" : "bullet_list_close",
1883
1883
  level: --s.level
1884
- }), N[1] = n, s.line = n, ne && Xs(s, X), !0;
1884
+ }), N[1] = n, s.line = n, ne && Xs(s, Z), !0;
1885
1885
  }
1886
1886
  function Ys(s, e, t, i) {
1887
1887
  var n,
@@ -2163,7 +2163,7 @@ function lr(s, e) {
2163
2163
  }
2164
2164
  var Gt = [["code", Ws], ["fences", $s, ["paragraph", "blockquote", "list"]], ["blockquote", Ks, ["paragraph", "blockquote", "list"]], ["hr", Js, ["paragraph", "blockquote", "list"]], ["list", Zs, ["paragraph", "blockquote"]], ["footnote", Ys, ["paragraph"]], ["heading", Qs, ["paragraph", "blockquote"]], ["lheading", er], ["htmlblock", sr, ["paragraph", "blockquote"]], ["table", rr, ["paragraph"]], ["deflist", ar, ["paragraph"]], ["paragraph", lr]];
2165
2165
  function cn() {
2166
- this.ruler = new J();
2166
+ this.ruler = new X();
2167
2167
  for (var s = 0; s < Gt.length; s++) this.ruler.push(Gt[s][0], Gt[s][1], {
2168
2168
  alt: (Gt[s][2] || []).slice()
2169
2169
  });
@@ -2648,7 +2648,7 @@ function Jr(s, e) {
2648
2648
  }
2649
2649
  var Bi = [["text", fr], ["newline", pr], ["escape", mr], ["backticks", gr], ["del", br], ["ins", vr], ["mark", yr], ["emphasis", xr], ["sub", _r], ["sup", wr], ["links", Tr], ["footnote_inline", Cr], ["footnote_ref", kr], ["autolink", Ir], ["htmltag", Wr], ["entity", Jr]];
2650
2650
  function xi() {
2651
- this.ruler = new J();
2651
+ this.ruler = new X();
2652
2652
  for (var s = 0; s < Bi.length; s++) this.ruler.push(Bi[s][0], Bi[s][1]);
2653
2653
  this.validateLink = Xr;
2654
2654
  }
@@ -2806,7 +2806,7 @@ function os(s, e, t) {
2806
2806
  this.src = e, this.env = t, this.options = s.options, this.tokens = [], this.inlineMode = !1, this.inline = s.inline, this.block = s.block, this.renderer = s.renderer, this.typographer = s.typographer;
2807
2807
  }
2808
2808
  function Se(s, e) {
2809
- typeof s != "string" && (e = s, s = "default"), e && e.linkify != null && console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"), this.inline = new xi(), this.block = new cn(), this.core = new ss(), this.renderer = new ln(), this.ruler = new J(), this.options = {}, this.configure(eo[s]), this.set(e || {});
2809
+ typeof s != "string" && (e = s, s = "default"), e && e.linkify != null && console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"), this.inline = new xi(), this.block = new cn(), this.core = new ss(), this.renderer = new ln(), this.ruler = new X(), this.options = {}, this.configure(eo[s]), this.set(e || {});
2810
2810
  }
2811
2811
  Se.prototype.set = function (s) {
2812
2812
  Yn(this.options, s);
@@ -3530,11 +3530,11 @@ function ao(s, e) {
3530
3530
  l || document.addEventListener("visibilitychange", p);
3531
3531
  var x = oo,
3532
3532
  S = 0;
3533
- function X() {
3533
+ function Z() {
3534
3534
  document.removeEventListener("visibilitychange", p), window.clearTimeout(S), m.abort();
3535
3535
  }
3536
3536
  t == null || t.addEventListener("abort", function () {
3537
- X(), h();
3537
+ Z(), h();
3538
3538
  });
3539
3539
  var ie = c !== null && c !== void 0 ? c : window.fetch,
3540
3540
  N = n !== null && n !== void 0 ? n : lo;
@@ -3567,7 +3567,7 @@ function ao(s, e) {
3567
3567
  }, r)));
3568
3568
  case 9:
3569
3569
  o == null || o();
3570
- X();
3570
+ Z();
3571
3571
  h();
3572
3572
  _context3.next = 17;
3573
3573
  break;
@@ -3578,7 +3578,7 @@ function ao(s, e) {
3578
3578
  R = (ne = a == null ? void 0 : a(_context3.t0)) !== null && ne !== void 0 ? ne : x;
3579
3579
  window.clearTimeout(S), S = window.setTimeout(W, R);
3580
3580
  } catch (R) {
3581
- X(), u(R);
3581
+ Z(), u(R);
3582
3582
  }
3583
3583
  case 17:
3584
3584
  case "end":
@@ -3609,7 +3609,7 @@ var C = /*#__PURE__*/function () {
3609
3609
  p,
3610
3610
  x,
3611
3611
  S,
3612
- X,
3612
+ Z,
3613
3613
  ie,
3614
3614
  r,
3615
3615
  _yield$v$processReque,
@@ -3662,7 +3662,7 @@ var C = /*#__PURE__*/function () {
3662
3662
  case 18:
3663
3663
  u = new we(i), f = v.fetch.bind(this, e, a, n);
3664
3664
  ao(((S = e.connectSettings) == null ? void 0 : S.url) || e.url || "", {
3665
- method: ((X = e.connectSettings) == null ? void 0 : X.method) || "POST",
3665
+ method: ((Z = e.connectSettings) == null ? void 0 : Z.method) || "POST",
3666
3666
  headers: a,
3667
3667
  credentials: (ie = e.connectSettings) == null ? void 0 : ie.credentials,
3668
3668
  body: n ? JSON.stringify(o) : o,
@@ -4355,7 +4355,7 @@ var T = /*#__PURE__*/function () {
4355
4355
  return v.processResponseByType(p);
4356
4356
  }).then( /*#__PURE__*/function () {
4357
4357
  var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(p) {
4358
- var X, ie, x, S;
4358
+ var Z, ie, x, S;
4359
4359
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
4360
4360
  while (1) switch (_context14.prev = _context14.next) {
4361
4361
  case 0:
@@ -4366,7 +4366,7 @@ var T = /*#__PURE__*/function () {
4366
4366
  return _context14.abrupt("return");
4367
4367
  case 2:
4368
4368
  _context14.next = 4;
4369
- return (ie = (X = e.deepChat).responseInterceptor) == null ? void 0 : ie.call(X, p);
4369
+ return (ie = (Z = e.deepChat).responseInterceptor) == null ? void 0 : ie.call(Z, p);
4370
4370
  case 4:
4371
4371
  _context14.t0 = _context14.sent;
4372
4372
  if (_context14.t0) {
@@ -5021,17 +5021,17 @@ ve._attributes_ = {}, ve._attributeToProperty_ = {};
5021
5021
  var Ji = ve;
5022
5022
  var co = "<?xml version=\"1.0\" standalone=\"no\"?>\n<svg version=\"1.1\"\n\txmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n\txmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"0.9em\" height=\"0.9em\"\n\tviewBox=\"0 0 1200 1200\" enable-background=\"new 0 0 1200 1200\">\n\t\t<path d=\"\n\t\t\tM669.727,273.516c-22.891-2.476-46.15-3.895-69.727-4.248c-103.025,0.457-209.823,25.517-310.913,73.536\n\t\t\tc-75.058,37.122-148.173,89.529-211.67,154.174C46.232,529.978,6.431,577.76,0,628.74c0.76,44.162,48.153,98.67,77.417,131.764\n\t\t\tc59.543,62.106,130.754,113.013,211.67,154.174c2.75,1.335,5.51,2.654,8.276,3.955l-75.072,131.102l102.005,60.286l551.416-960.033\n\t\t\tl-98.186-60.008L669.727,273.516z M902.563,338.995l-74.927,129.857c34.47,44.782,54.932,100.006,54.932,159.888\n\t\t\tc0,149.257-126.522,270.264-282.642,270.264c-6.749,0-13.29-0.728-19.922-1.172l-49.585,85.84c22.868,2.449,45.99,4.233,69.58,4.541\n\t\t\tc103.123-0.463,209.861-25.812,310.84-73.535c75.058-37.122,148.246-89.529,211.743-154.174\n\t\t\tc31.186-32.999,70.985-80.782,77.417-131.764c-0.76-44.161-48.153-98.669-77.417-131.763\n\t\t\tc-59.543-62.106-130.827-113.013-211.743-154.175C908.108,341.478,905.312,340.287,902.563,338.995L902.563,338.995z\n\t\t\tM599.927,358.478c6.846,0,13.638,0.274,20.361,0.732l-58.081,100.561c-81.514,16.526-142.676,85.88-142.676,168.897\n\t\t\tc0,20.854,3.841,40.819,10.913,59.325c0.008,0.021-0.008,0.053,0,0.074l-58.228,100.854\n\t\t\tc-34.551-44.823-54.932-100.229-54.932-160.182C317.285,479.484,443.808,358.477,599.927,358.478L599.927,358.478z M768.896,570.513\n\t\t\tL638.013,797.271c81.076-16.837,141.797-85.875,141.797-168.603C779.81,608.194,775.724,588.729,768.896,570.513L768.896,570.513z\"\n\t\t\t/>\n</svg>\n",
5023
5023
  ho = "<?xml version=\"1.0\" standalone=\"no\"?>\n<svg version=\"1.1\"\n\txmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n\txmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"0.9em\" height=\"0.9em\"\n\tviewBox=\"0 0 1200 1200\" enable-background=\"new 0 0 1200 1200\">\n\t\t<path id=\"path6686\" inkscape:connector-curvature=\"0\" d=\"M779.843,599.925c0,95.331-80.664,172.612-180.169,172.612\n\t\t\tc-99.504,0-180.168-77.281-180.168-172.612c0-95.332,80.664-172.612,180.168-172.612\n\t\t\tC699.179,427.312,779.843,504.594,779.843,599.925z M600,240.521c-103.025,0.457-209.814,25.538-310.904,73.557\n\t\t\tc-75.058,37.122-148.206,89.496-211.702,154.141C46.208,501.218,6.431,549,0,599.981c0.76,44.161,48.13,98.669,77.394,131.763\n\t\t\tc59.543,62.106,130.786,113.018,211.702,154.179c94.271,45.751,198.616,72.092,310.904,73.557\n\t\t\tc103.123-0.464,209.888-25.834,310.866-73.557c75.058-37.122,148.243-89.534,211.74-154.179\n\t\t\tc31.185-32.999,70.962-80.782,77.394-131.763c-0.76-44.161-48.13-98.671-77.394-131.764\n\t\t\tc-59.543-62.106-130.824-112.979-211.74-154.141C816.644,268.36,712.042,242.2,600,240.521z M599.924,329.769\n\t\t\tc156.119,0,282.675,120.994,282.675,270.251c0,149.256-126.556,270.25-282.675,270.25S317.249,749.275,317.249,600.02\n\t\t\tC317.249,450.763,443.805,329.769,599.924,329.769L599.924,329.769z\"/>\n</svg>\n";
5024
- var K = /*#__PURE__*/function () {
5025
- function K() {
5026
- _classCallCheck(this, K);
5024
+ var J = /*#__PURE__*/function () {
5025
+ function J() {
5026
+ _classCallCheck(this, J);
5027
5027
  }
5028
- _createClass(K, null, [{
5028
+ _createClass(J, null, [{
5029
5029
  key: "createSVGElement",
5030
5030
  value: function createSVGElement(e) {
5031
5031
  return new DOMParser().parseFromString(e, "image/svg+xml").documentElement;
5032
5032
  }
5033
5033
  }]);
5034
- return K;
5034
+ return J;
5035
5035
  }();
5036
5036
  var Ie = /*#__PURE__*/function () {
5037
5037
  function Ie() {
@@ -5047,7 +5047,7 @@ var Ie = /*#__PURE__*/function () {
5047
5047
  }, {
5048
5048
  key: "createIconElement",
5049
5049
  value: function createIconElement(e, t) {
5050
- var i = K.createSVGElement(e);
5050
+ var i = J.createSVGElement(e);
5051
5051
  return i.id = t, i.classList.add("visibility-icon"), i;
5052
5052
  }
5053
5053
  // prettier-ignore
@@ -9668,7 +9668,7 @@ var Ce = /*#__PURE__*/function () {
9668
9668
  t.classList.add("any-file-message-contents");
9669
9669
  var i = document.createElement("div");
9670
9670
  i.classList.add("any-file-message-icon-container");
9671
- var n = K.createSVGElement(Ro);
9671
+ var n = J.createSVGElement(Ro);
9672
9672
  n.classList.add("any-file-message-icon"), i.appendChild(n);
9673
9673
  var r = document.createElement("div");
9674
9674
  return r.classList.add("any-file-message-text"), r.textContent = e.name || q.DEFAULT_FILE_NAME, t.appendChild(i), t.appendChild(r), q.processContent("any", t, e.src, r.textContent);
@@ -10017,11 +10017,11 @@ var dt = /*#__PURE__*/function () {
10017
10017
  return dt;
10018
10018
  }();
10019
10019
  var On = ["camera", "gifs", "images", "audio", "mixedFiles", "submit", "microphone"];
10020
- var ee = /*#__PURE__*/function () {
10021
- function ee() {
10022
- _classCallCheck(this, ee);
10020
+ var K = /*#__PURE__*/function () {
10021
+ function K() {
10022
+ _classCallCheck(this, K);
10023
10023
  }
10024
- _createClass(ee, null, [{
10024
+ _createClass(K, null, [{
10025
10025
  key: "createTextElement",
10026
10026
  value: function createTextElement(e) {
10027
10027
  var t = document.createElement("div");
@@ -10030,15 +10030,15 @@ var ee = /*#__PURE__*/function () {
10030
10030
  }, {
10031
10031
  key: "createElement",
10032
10032
  value: function createElement(e, t) {
10033
- return t ? ee.createTextElement(e) : K.createSVGElement(e);
10033
+ return t ? K.createTextElement(e) : J.createSVGElement(e);
10034
10034
  }
10035
10035
  }, {
10036
10036
  key: "createCustomElement",
10037
10037
  value: function createCustomElement(e, t) {
10038
10038
  var n, r, o, a;
10039
10039
  var i = t == null ? void 0 : t[e];
10040
- if ((n = i == null ? void 0 : i.text) != null && n.content) return ee.createElement((r = i == null ? void 0 : i.text) == null ? void 0 : r.content, !0);
10041
- if ((o = i == null ? void 0 : i.svg) != null && o.content) return ee.createElement((a = i == null ? void 0 : i.svg) == null ? void 0 : a.content, !1);
10040
+ if ((n = i == null ? void 0 : i.text) != null && n.content) return K.createElement((r = i == null ? void 0 : i.text) == null ? void 0 : r.content, !0);
10041
+ if ((o = i == null ? void 0 : i.svg) != null && o.content) return K.createElement((a = i == null ? void 0 : i.svg) == null ? void 0 : a.content, !1);
10042
10042
  }
10043
10043
  }, {
10044
10044
  key: "processElement",
@@ -10051,10 +10051,10 @@ var ee = /*#__PURE__*/function () {
10051
10051
  key: "createSpecificStateElement",
10052
10052
  value: function createSpecificStateElement(e, t, i) {
10053
10053
  var n;
10054
- return i && (n = ee.createCustomElement(t, i)), ee.processElement(e, n), n;
10054
+ return i && (n = K.createCustomElement(t, i)), K.processElement(e, n), n;
10055
10055
  }
10056
10056
  }]);
10057
- return ee;
10057
+ return K;
10058
10058
  }();
10059
10059
  var Io = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16 0c-8.836 0-16 7.163-16 16s7.163 16 16 16c8.837 0 16-7.163 16-16s-7.163-16-16-16zM16 30.032c-7.72 0-14-6.312-14-14.032s6.28-14 14-14 14 6.28 14 14-6.28 14.032-14 14.032zM23 15h-6v-6c0-0.552-0.448-1-1-1s-1 0.448-1 1v6h-6c-0.552 0-1 0.448-1 1s0.448 1 1 1h6v6c0 0.552 0.448 1 1 1s1-0.448 1-1v-6h6c0.552 0 1-0.448 1-1s-0.448-1-1-1z\"></path>\n</svg>";
10060
10060
  var he = /*#__PURE__*/function () {
@@ -10295,7 +10295,7 @@ var ot = /*#__PURE__*/function (_Dt) {
10295
10295
  }, {
10296
10296
  key: "createInnerElement",
10297
10297
  value: function createInnerElement(e, t, i) {
10298
- return ee.createSpecificStateElement(this.elementRef, t, i) || e;
10298
+ return K.createSpecificStateElement(this.elementRef, t, i) || e;
10299
10299
  }
10300
10300
  }, {
10301
10301
  key: "addClickEvent",
@@ -10324,7 +10324,7 @@ var ot = /*#__PURE__*/function (_Dt) {
10324
10324
  }, {
10325
10325
  key: "createSVGIconElement",
10326
10326
  value: function createSVGIconElement() {
10327
- return K.createSVGElement(Io);
10327
+ return J.createSVGElement(Io);
10328
10328
  }
10329
10329
  }, {
10330
10330
  key: "createButtonContainer",
@@ -10467,7 +10467,7 @@ var Rt = /*#__PURE__*/function (_Dt2) {
10467
10467
  }, {
10468
10468
  key: "createInnerElement",
10469
10469
  value: function createInnerElement(e, t, i) {
10470
- return ee.createSpecificStateElement(this.elementRef, t, i) || e;
10470
+ return K.createSpecificStateElement(this.elementRef, t, i) || e;
10471
10471
  }
10472
10472
  }, {
10473
10473
  key: "changeToActive",
@@ -10514,7 +10514,7 @@ var Rt = /*#__PURE__*/function (_Dt2) {
10514
10514
  }, {
10515
10515
  key: "createSVGIconElement",
10516
10516
  value: function createSVGIconElement() {
10517
- var e = K.createSVGElement(Fo);
10517
+ var e = J.createSVGElement(Fo);
10518
10518
  return e.id = "microphone-icon", e;
10519
10519
  }
10520
10520
  }]);
@@ -10643,11 +10643,11 @@ Object.defineProperty(wi, "__esModule", {
10643
10643
  value: !0
10644
10644
  });
10645
10645
  wi.EventListeners = void 0;
10646
- var Q = /*#__PURE__*/function () {
10647
- function Q() {
10648
- _classCallCheck(this, Q);
10646
+ var ee = /*#__PURE__*/function () {
10647
+ function ee() {
10648
+ _classCallCheck(this, ee);
10649
10649
  }
10650
- _createClass(Q, null, [{
10650
+ _createClass(ee, null, [{
10651
10651
  key: "getElementIfFocusedOnAvailable",
10652
10652
  value: function getElementIfFocusedOnAvailable(e, t) {
10653
10653
  return Array.isArray(e) ? e.find(function (i) {
@@ -10658,14 +10658,14 @@ var Q = /*#__PURE__*/function () {
10658
10658
  key: "keyDownWindow",
10659
10659
  value: function keyDownWindow(e) {
10660
10660
  var _this51 = this;
10661
- e.element && Q.getElementIfFocusedOnAvailable(e.element, document.activeElement) && (Q.KEY_DOWN_TIMEOUT !== null && clearTimeout(Q.KEY_DOWN_TIMEOUT), Q.KEY_DOWN_TIMEOUT = setTimeout(function () {
10662
- Q.KEY_DOWN_TIMEOUT = null, _this51.resetRecording(e);
10661
+ e.element && ee.getElementIfFocusedOnAvailable(e.element, document.activeElement) && (ee.KEY_DOWN_TIMEOUT !== null && clearTimeout(ee.KEY_DOWN_TIMEOUT), ee.KEY_DOWN_TIMEOUT = setTimeout(function () {
10662
+ ee.KEY_DOWN_TIMEOUT = null, _this51.resetRecording(e);
10663
10663
  }, 500));
10664
10664
  }
10665
10665
  }, {
10666
10666
  key: "mouseDownWindow",
10667
10667
  value: function mouseDownWindow(e, t) {
10668
- this.mouseDownElement = Q.getElementIfFocusedOnAvailable(e, t.target);
10668
+ this.mouseDownElement = ee.getElementIfFocusedOnAvailable(e, t.target);
10669
10669
  }
10670
10670
  }, {
10671
10671
  key: "mouseUpWindow",
@@ -10676,7 +10676,7 @@ var Q = /*#__PURE__*/function () {
10676
10676
  key: "add",
10677
10677
  value: function add(e, t) {
10678
10678
  var i = (t == null ? void 0 : t.insertInCursorLocation) === void 0 || (t == null ? void 0 : t.insertInCursorLocation);
10679
- t != null && t.element && i && (e.mouseDownEvent = Q.mouseDownWindow.bind(e, t.element), document.addEventListener("mousedown", e.mouseDownEvent), e.mouseUpEvent = Q.mouseUpWindow.bind(e, t), document.addEventListener("mouseup", e.mouseUpEvent), e.keyDownEvent = Q.keyDownWindow.bind(e, t), document.addEventListener("keydown", e.keyDownEvent));
10679
+ t != null && t.element && i && (e.mouseDownEvent = ee.mouseDownWindow.bind(e, t.element), document.addEventListener("mousedown", e.mouseDownEvent), e.mouseUpEvent = ee.mouseUpWindow.bind(e, t), document.addEventListener("mouseup", e.mouseUpEvent), e.keyDownEvent = ee.keyDownWindow.bind(e, t), document.addEventListener("keydown", e.keyDownEvent));
10680
10680
  }
10681
10681
  }, {
10682
10682
  key: "remove",
@@ -10684,10 +10684,10 @@ var Q = /*#__PURE__*/function () {
10684
10684
  document.removeEventListener("mousedown", e.mouseDownEvent), document.removeEventListener("mouseup", e.mouseUpEvent), document.removeEventListener("keydown", e.keyDownEvent);
10685
10685
  }
10686
10686
  }]);
10687
- return Q;
10687
+ return ee;
10688
10688
  }();
10689
- wi.EventListeners = Q;
10690
- Q.KEY_DOWN_TIMEOUT = null;
10689
+ wi.EventListeners = ee;
10690
+ ee.KEY_DOWN_TIMEOUT = null;
10691
10691
  var Ti = {};
10692
10692
  Object.defineProperty(Ti, "__esModule", {
10693
10693
  value: !0
@@ -10901,11 +10901,11 @@ var Dn = Ut,
10901
10901
  Vo = ut,
10902
10902
  Fn = Ze,
10903
10903
  Bn = Je;
10904
- var Z = /*#__PURE__*/function () {
10905
- function Z() {
10906
- _classCallCheck(this, Z);
10904
+ var Y = /*#__PURE__*/function () {
10905
+ function Y() {
10906
+ _classCallCheck(this, Y);
10907
10907
  }
10908
- _createClass(Z, null, [{
10908
+ _createClass(Y, null, [{
10909
10909
  key: "processCommand",
10910
10910
  value: function processCommand(e, t) {
10911
10911
  return (!t || !t.caseSensitive) && (e = e.toLowerCase()), (t == null ? void 0 : t.substrings) === !1 ? Bn.Text.breakupIntoWordsArr(e) : e;
@@ -10916,7 +10916,7 @@ var Z = /*#__PURE__*/function () {
10916
10916
  var t;
10917
10917
  return ((t = e.settings) === null || t === void 0 ? void 0 : t.caseSensitive) === !0 ? e : Object.keys(e).reduce(function (n, r) {
10918
10918
  var o = e[r];
10919
- return n[r] = typeof o == "string" ? Z.processCommand(o, e.settings) : o, n;
10919
+ return n[r] = typeof o == "string" ? Y.processCommand(o, e.settings) : o, n;
10920
10920
  }, {});
10921
10921
  }
10922
10922
  }, {
@@ -10934,7 +10934,7 @@ var Z = /*#__PURE__*/function () {
10934
10934
  }, {
10935
10935
  key: "setText",
10936
10936
  value: function setText(e, t, i, n) {
10937
- Z.toggleCommandModeOff(e), zo.Elements.isPrimitiveElement(n) ? (n.value = i, e.isTargetInShadow || Fn.Cursor.setOffsetForPrimitive(n, i.length, !0), Vo.Browser.IS_SAFARI() && e.autoScroll && Dn.AutoScroll.scrollSafariPrimitiveToEnd(n)) : (n.textContent = i, e.isTargetInShadow || Fn.Cursor.focusEndOfGeneric(n), setTimeout(function () {
10937
+ Y.toggleCommandModeOff(e), zo.Elements.isPrimitiveElement(n) ? (n.value = i, e.isTargetInShadow || Fn.Cursor.setOffsetForPrimitive(n, i.length, !0), Vo.Browser.IS_SAFARI() && e.autoScroll && Dn.AutoScroll.scrollSafariPrimitiveToEnd(n)) : (n.textContent = i, e.isTargetInShadow || Fn.Cursor.focusEndOfGeneric(n), setTimeout(function () {
10938
10938
  return Dn.AutoScroll.scrollGeneric(e, n);
10939
10939
  })), e.resetRecording(t);
10940
10940
  }
@@ -10964,39 +10964,39 @@ var Z = /*#__PURE__*/function () {
10964
10964
  if (!c || !n || !i) return;
10965
10965
  var d = ((o = c.settings) === null || o === void 0 ? void 0 : o.caseSensitive) === !0 ? t : t.toLowerCase(),
10966
10966
  h = Bn.Text.breakupIntoWordsArr(d),
10967
- u = ((a = c.settings) === null || a === void 0 ? void 0 : a.substrings) === !1 ? Z.checkIfMatchesWord : Z.checkIfMatchesSubstring;
10967
+ u = ((a = c.settings) === null || a === void 0 ? void 0 : a.substrings) === !1 ? Y.checkIfMatchesWord : Y.checkIfMatchesSubstring;
10968
10968
  if (c.commandMode && u(c.commandMode, d, h)) return e.setInterimColorToFinal(), setTimeout(function () {
10969
- return Z.toggleCommandModeOn(e);
10969
+ return Y.toggleCommandModeOn(e);
10970
10970
  }), {
10971
10971
  doNotProcessTranscription: !1
10972
10972
  };
10973
10973
  if (!(c.commandMode && !e.isWaitingForCommand)) {
10974
- if (c.stop && u(c.stop, d, h)) return Z.toggleCommandModeOff(e), setTimeout(function () {
10974
+ if (c.stop && u(c.stop, d, h)) return Y.toggleCommandModeOff(e), setTimeout(function () {
10975
10975
  return e.stop();
10976
10976
  }), {
10977
10977
  doNotProcessTranscription: !1
10978
10978
  };
10979
- if (c.pause && u(c.pause, d, h)) return Z.toggleCommandModeOff(e), e.setInterimColorToFinal(), setTimeout(function () {
10979
+ if (c.pause && u(c.pause, d, h)) return Y.toggleCommandModeOff(e), e.setInterimColorToFinal(), setTimeout(function () {
10980
10980
  var f;
10981
10981
  e.isPaused = !0, (f = e.onPauseTrigger) === null || f === void 0 || f.call(e, !0);
10982
10982
  }), {
10983
10983
  doNotProcessTranscription: !1
10984
10984
  };
10985
- if (c.resume && u(c.resume, d, h)) return e.isPaused = !1, (l = e.onPauseTrigger) === null || l === void 0 || l.call(e, !1), Z.toggleCommandModeOff(e), e.resetRecording(i), {
10985
+ if (c.resume && u(c.resume, d, h)) return e.isPaused = !1, (l = e.onPauseTrigger) === null || l === void 0 || l.call(e, !1), Y.toggleCommandModeOff(e), e.resetRecording(i), {
10986
10986
  doNotProcessTranscription: !0
10987
10987
  };
10988
- if (c.reset && u(c.reset, d, h)) return r !== void 0 && Z.setText(e, i, r, n), {
10988
+ if (c.reset && u(c.reset, d, h)) return r !== void 0 && Y.setText(e, i, r, n), {
10989
10989
  doNotProcessTranscription: !0
10990
10990
  };
10991
- if (c.removeAllText && u(c.removeAllText, d, h)) return Z.setText(e, i, "", n), {
10991
+ if (c.removeAllText && u(c.removeAllText, d, h)) return Y.setText(e, i, "", n), {
10992
10992
  doNotProcessTranscription: !0
10993
10993
  };
10994
10994
  }
10995
10995
  }
10996
10996
  }]);
10997
- return Z;
10997
+ return Y;
10998
10998
  }();
10999
- jt.CommandUtils = Z;
10999
+ jt.CommandUtils = Y;
11000
11000
  var Ci = {};
11001
11001
  Object.defineProperty(Ci, "__esModule", {
11002
11002
  value: !0
@@ -12027,7 +12027,7 @@ var na = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\"
12027
12027
  i.classList.add("audio-placeholder-text-3-digits");
12028
12028
  var n = document.createElement("div");
12029
12029
  n.classList.add("file-attachment-text-container", "audio-placeholder-text-3-digits-container"), n.appendChild(i);
12030
- var r = K.createSVGElement(Xn);
12030
+ var r = J.createSVGElement(Xn);
12031
12031
  return r.classList.add("attachment-icon", "stop-icon", "not-removable-attachment-icon"), i.textContent = "0:00", this._activePlaceholderTimer = this.createTimer(i, e), t.appendChild(n), this.addPlaceholderAudioAttachmentEvents(t, r, n), t;
12032
12032
  }
12033
12033
  }, {
@@ -12083,9 +12083,9 @@ var na = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\"
12083
12083
  var i = e.parentElement ? B.cloneElement(e) : e,
12084
12084
  n = document.createElement("audio");
12085
12085
  n.src = t;
12086
- var r = K.createSVGElement(na);
12086
+ var r = J.createSVGElement(na);
12087
12087
  r.classList.add("attachment-icon", "play-icon");
12088
- var o = K.createSVGElement(Xn);
12088
+ var o = J.createSVGElement(Xn);
12089
12089
  o.classList.add("attachment-icon", "stop-icon"), i.replaceChildren(r), n.onplay = function () {
12090
12090
  i.replaceChildren(o);
12091
12091
  }, n.onpause = function () {
@@ -12323,7 +12323,7 @@ var de = /*#__PURE__*/function () {
12323
12323
  value: function createSVGButton(e) {
12324
12324
  var t = document.createElement("div");
12325
12325
  t.classList.add("modal-button", "modal-svg-button");
12326
- var i = K.createSVGElement(e);
12326
+ var i = J.createSVGElement(e);
12327
12327
  return i.classList.add("modal-svg-button-icon"), t.appendChild(i), t;
12328
12328
  }
12329
12329
  }, {
@@ -12373,7 +12373,7 @@ var yt = /*#__PURE__*/function (_Dt3) {
12373
12373
  }, {
12374
12374
  key: "createInnerElement",
12375
12375
  value: function createInnerElement(e, t, i) {
12376
- return ee.createSpecificStateElement(this.elementRef, t, i) || e;
12376
+ return K.createSpecificStateElement(this.elementRef, t, i) || e;
12377
12377
  }
12378
12378
  }, {
12379
12379
  key: "addClickEvent",
@@ -12402,7 +12402,7 @@ var yt = /*#__PURE__*/function (_Dt3) {
12402
12402
  }, {
12403
12403
  key: "createSVGIconElement",
12404
12404
  value: function createSVGIconElement(e, t) {
12405
- var i = K.createSVGElement(t);
12405
+ var i = J.createSVGElement(t);
12406
12406
  return i.id = e, i;
12407
12407
  }
12408
12408
  }]);
@@ -12747,21 +12747,21 @@ var k = /*#__PURE__*/function (_Dt4) {
12747
12747
  key: "createCustomElements",
12748
12748
  value: function createCustomElements() {
12749
12749
  var _this70 = this;
12750
- var e = {
12751
- submit: void 0,
12750
+ var t = {
12751
+ submit: K.createSpecificStateElement(this.elementRef, "submit", this._customStyles),
12752
12752
  loading: void 0,
12753
12753
  stop: void 0
12754
12754
  };
12755
- return Object.keys(e).forEach(function (t) {
12756
- var i = t,
12757
- n = ee.createSpecificStateElement(_this70.elementRef, i, _this70._customStyles);
12758
- n && (e[i] = n);
12759
- }), e;
12755
+ return Object.keys(t).slice(1).forEach(function (i) {
12756
+ var n = i,
12757
+ r = K.createCustomElement(n, _this70._customStyles);
12758
+ r && (t[n] = r);
12759
+ }), t;
12760
12760
  }
12761
12761
  }, {
12762
12762
  key: "createDisabledIconElement",
12763
12763
  value: function createDisabledIconElement(e) {
12764
- return ee.createCustomElement("disabled", this._customStyles) || e.cloneNode(!0);
12764
+ return K.createCustomElement("disabled", this._customStyles) || e.cloneNode(!0);
12765
12765
  }
12766
12766
  // prettier-ignore
12767
12767
  }, {
@@ -12999,7 +12999,7 @@ var k = /*#__PURE__*/function (_Dt4) {
12999
12999
  }, {
13000
13000
  key: "createSubmitIconElement",
13001
13001
  value: function createSubmitIconElement() {
13002
- var e = K.createSVGElement(oa);
13002
+ var e = J.createSVGElement(oa);
13003
13003
  return e.id = "submit-icon", e;
13004
13004
  }
13005
13005
  }, {
@@ -13033,7 +13033,7 @@ var gn = /*#__PURE__*/function (_qe) {
13033
13033
  var _this73$addButtonsAnd = _this73.addButtonsAndTheirEvents(t),
13034
13034
  r = _this73$addButtonsAnd.captureButton,
13035
13035
  o = _this73$addButtonsAnd.submitButton;
13036
- _this73._captureButton = r, _this73._submitButton = o, _this73._captureIcon = _this73._captureButton.children[0], _this73._refreshIcon = K.createSVGElement(aa), _this73._refreshIcon.classList.add("modal-svg-button-icon", "modal-svg-refresh-icon"), (n == null ? void 0 : n.format) === "jpeg" && (_this73._format = "image/jpeg"), n != null && n.dimensions && (_this73._dimensions = n.dimensions), _this73._contentRef.appendChild(_this73._canvas), _this73.extensionCloseCallback = _this73.stop;
13036
+ _this73._captureButton = r, _this73._submitButton = o, _this73._captureIcon = _this73._captureButton.children[0], _this73._refreshIcon = J.createSVGElement(aa), _this73._refreshIcon.classList.add("modal-svg-button-icon", "modal-svg-refresh-icon"), (n == null ? void 0 : n.format) === "jpeg" && (_this73._format = "image/jpeg"), n != null && n.dimensions && (_this73._dimensions = n.dimensions), _this73._contentRef.appendChild(_this73._canvas), _this73.extensionCloseCallback = _this73.stop;
13037
13037
  return _this73;
13038
13038
  }
13039
13039
  _createClass(gn, [{
@@ -13159,7 +13159,7 @@ var pi = /*#__PURE__*/function (_Dt5) {
13159
13159
  }, {
13160
13160
  key: "createInnerElement",
13161
13161
  value: function createInnerElement(e, t, i) {
13162
- return ee.createSpecificStateElement(this.elementRef, t, i) || e;
13162
+ return K.createSpecificStateElement(this.elementRef, t, i) || e;
13163
13163
  }
13164
13164
  }, {
13165
13165
  key: "addClickEvent",
@@ -13178,7 +13178,7 @@ var pi = /*#__PURE__*/function (_Dt5) {
13178
13178
  }, {
13179
13179
  key: "createSVGIconElement",
13180
13180
  value: function createSVGIconElement() {
13181
- var e = K.createSVGElement(ha);
13181
+ var e = J.createSVGElement(ha);
13182
13182
  return e.id = "camera-icon", e;
13183
13183
  }
13184
13184
  }]);