deep-chat-dev 9.0.183 → 9.0.184

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
@@ -2874,7 +2874,7 @@ var Rt = /*#__PURE__*/function () {
2874
2874
  // Enable HTML tags in source
2875
2875
  xhtmlOut: !1,
2876
2876
  // Use '/' to close single tags (<br />)
2877
- breaks: !1,
2877
+ breaks: !0,
2878
2878
  // Convert '\n' in paragraphs into <br>
2879
2879
  langPrefix: "language-",
2880
2880
  // CSS language prefix for fenced blocks
@@ -2897,20 +2897,6 @@ var Rt = /*#__PURE__*/function () {
2897
2897
  }
2898
2898
  }]);
2899
2899
  }();
2900
- var no = /*#__PURE__*/function () {
2901
- function no() {
2902
- _classCallCheck(this, no);
2903
- }
2904
- return _createClass(no, null, [{
2905
- key: "replaceNewlineWithDouble",
2906
- value:
2907
- // this is to allow remarkable to render \n as a new line:
2908
- // it operates by replacing \n with \n\n
2909
- function replaceNewlineWithDouble(e) {
2910
- return e.replace(new RegExp("(?<!\\n)\\n(?!\\n)", "g"), "\n\n");
2911
- }
2912
- }]);
2913
- }();
2914
2900
  var Ee = /*#__PURE__*/function () {
2915
2901
  function Ee() {
2916
2902
  _classCallCheck(this, Ee);
@@ -3183,8 +3169,7 @@ var lt = /*#__PURE__*/function () {
3183
3169
  }, {
3184
3170
  key: "renderText",
3185
3171
  value: function renderText(e, t) {
3186
- var i = no.replaceNewlineWithDouble(t);
3187
- e.innerHTML = this._remarkable.render(i), e.innerText.trim().length === 0 && (e.innerText = i);
3172
+ e.innerHTML = this._remarkable.render(t), e.innerText.trim().length === 0 && (e.innerText = t);
3188
3173
  }
3189
3174
  // this is mostly used for enabling highlight.js to highlight code if it downloads later
3190
3175
  }, {
@@ -3465,11 +3450,11 @@ var He = /*#__PURE__*/function () {
3465
3450
  }();
3466
3451
  He.CONTENT_TYPE = "Content-Type";
3467
3452
  var v = He;
3468
- function so(_x12, _x13) {
3469
- return _so.apply(this, arguments);
3453
+ function no(_x12, _x13) {
3454
+ return _no.apply(this, arguments);
3470
3455
  }
3471
- function _so() {
3472
- _so = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee122(s, e) {
3456
+ function _no() {
3457
+ _no = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee122(s, e) {
3473
3458
  var t, i;
3474
3459
  return _regeneratorRuntime().wrap(function _callee122$(_context122) {
3475
3460
  while (1) switch (_context122.prev = _context122.next) {
@@ -3493,15 +3478,15 @@ function _so() {
3493
3478
  }
3494
3479
  }, _callee122);
3495
3480
  }));
3496
- return _so.apply(this, arguments);
3481
+ return _no.apply(this, arguments);
3497
3482
  }
3498
- function ro(s) {
3483
+ function so(s) {
3499
3484
  var e,
3500
3485
  t,
3501
3486
  i,
3502
3487
  n = !1;
3503
3488
  return function (o) {
3504
- e === void 0 ? (e = o, t = 0, i = -1) : e = ao(e, o);
3489
+ e === void 0 ? (e = o, t = 0, i = -1) : e = oo(e, o);
3505
3490
  var a = e.length;
3506
3491
  var l = 0;
3507
3492
  for (; t < a;) {
@@ -3523,7 +3508,7 @@ function ro(s) {
3523
3508
  l === a ? e = void 0 : l !== 0 && (e = e.subarray(l), t -= l);
3524
3509
  };
3525
3510
  }
3526
- function oo(s, e, t) {
3511
+ function ro(s, e, t) {
3527
3512
  var i = Pn();
3528
3513
  var n = new TextDecoder();
3529
3514
  return function (o, a) {
@@ -3549,7 +3534,7 @@ function oo(s, e, t) {
3549
3534
  }
3550
3535
  };
3551
3536
  }
3552
- function ao(s, e) {
3537
+ function oo(s, e) {
3553
3538
  var t = new Uint8Array(s.length + e.length);
3554
3539
  return t.set(s), t.set(e, s.length), t;
3555
3540
  }
@@ -3561,16 +3546,16 @@ function Pn() {
3561
3546
  retry: void 0
3562
3547
  };
3563
3548
  }
3564
- var lo = function lo(s, e) {
3549
+ var ao = function ao(s, e) {
3565
3550
  var t = {};
3566
3551
  for (var i in s) Object.prototype.hasOwnProperty.call(s, i) && e.indexOf(i) < 0 && (t[i] = s[i]);
3567
3552
  if (s != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, i = Object.getOwnPropertySymbols(s); n < i.length; n++) e.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(s, i[n]) && (t[i[n]] = s[i[n]]);
3568
3553
  return t;
3569
3554
  };
3570
3555
  var Xi = "text/event-stream",
3571
- co = 1e3,
3556
+ lo = 1e3,
3572
3557
  On = "last-event-id";
3573
- function ho(s, e) {
3558
+ function co(s, e) {
3574
3559
  var t = e.signal,
3575
3560
  i = e.headers,
3576
3561
  n = e.onopen,
@@ -3579,7 +3564,7 @@ function ho(s, e) {
3579
3564
  a = e.onerror,
3580
3565
  l = e.openWhenHidden,
3581
3566
  c = e.fetch,
3582
- d = lo(e, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
3567
+ d = ao(e, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
3583
3568
  return new Promise(function (h, u) {
3584
3569
  var f = Object.assign({}, i);
3585
3570
  f.accept || (f.accept = Xi);
@@ -3588,7 +3573,7 @@ function ho(s, e) {
3588
3573
  m.abort(), document.hidden || R();
3589
3574
  }
3590
3575
  l || document.addEventListener("visibilitychange", p);
3591
- var y = co,
3576
+ var y = lo,
3592
3577
  E = 0;
3593
3578
  function j() {
3594
3579
  document.removeEventListener("visibilitychange", p), window.clearTimeout(E), m.abort();
@@ -3597,7 +3582,7 @@ function ho(s, e) {
3597
3582
  j(), h();
3598
3583
  });
3599
3584
  var V = c !== null && c !== void 0 ? c : window.fetch,
3600
- Ae = n !== null && n !== void 0 ? n : uo;
3585
+ Ae = n !== null && n !== void 0 ? n : ho;
3601
3586
  function R() {
3602
3587
  return _R.apply(this, arguments);
3603
3588
  }
@@ -3620,7 +3605,7 @@ function ho(s, e) {
3620
3605
  return Ae(Z);
3621
3606
  case 7:
3622
3607
  _context4.next = 9;
3623
- return so(Z.body, ro(oo(function (D) {
3608
+ return no(Z.body, so(ro(function (D) {
3624
3609
  D ? f[On] = D : delete f[On];
3625
3610
  }, function (D) {
3626
3611
  y = D;
@@ -3651,7 +3636,7 @@ function ho(s, e) {
3651
3636
  R();
3652
3637
  });
3653
3638
  }
3654
- function uo(s) {
3639
+ function ho(s) {
3655
3640
  var e = s.headers.get("content-type");
3656
3641
  if (!(e != null && e.startsWith(Xi))) throw new Error("Expected content-type to be ".concat(Xi, ", Actual: ").concat(e));
3657
3642
  }
@@ -3723,7 +3708,7 @@ var C = /*#__PURE__*/function () {
3723
3708
  return _context7.abrupt("return", ge.requestStream(i, e.streamHandlers));
3724
3709
  case 19:
3725
3710
  f = new me(i), m = v.fetch.bind(this, e, l, n);
3726
- return _context7.abrupt("return", (ho(((j = e.connectSettings) == null ? void 0 : j.url) || e.url || "", {
3711
+ return _context7.abrupt("return", (co(((j = e.connectSettings) == null ? void 0 : j.url) || e.url || "", {
3727
3712
  method: ((V = e.connectSettings) == null ? void 0 : V.method) || "POST",
3728
3713
  headers: l,
3729
3714
  credentials: (Ae = e.connectSettings) == null ? void 0 : Ae.credentials,
@@ -5086,8 +5071,8 @@ var xe = /*#__PURE__*/function (_HTMLElement) {
5086
5071
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
5087
5072
  xe._attributes_ = {}, xe._attributeToProperty_ = {};
5088
5073
  var Zi = xe;
5089
- var fo = "<?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",
5090
- po = "<?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";
5074
+ var uo = "<?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",
5075
+ fo = "<?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";
5091
5076
  var te = /*#__PURE__*/function () {
5092
5077
  function te() {
5093
5078
  _classCallCheck(this, te);
@@ -5122,9 +5107,9 @@ var Le = /*#__PURE__*/function () {
5122
5107
  value: function create(e) {
5123
5108
  var t = document.createElement("div");
5124
5109
  t.id = "visibility-icon-container";
5125
- var i = Le.createIconElement(po, Le.VISIBLE_ICON_ID);
5110
+ var i = Le.createIconElement(fo, Le.VISIBLE_ICON_ID);
5126
5111
  i.style.display = "none", t.appendChild(i);
5127
- var n = Le.createIconElement(fo, "not-visible-icon");
5112
+ var n = Le.createIconElement(uo, "not-visible-icon");
5128
5113
  return t.appendChild(n), t.onclick = Le.changeVisibility.bind(this, e, i, n), t;
5129
5114
  }
5130
5115
  }]);
@@ -6120,19 +6105,19 @@ var Ft = /*#__PURE__*/function (_ke) {
6120
6105
  }
6121
6106
  }]);
6122
6107
  }(ke);
6123
- var mo = /*#__PURE__*/function (_Ft) {
6108
+ var po = /*#__PURE__*/function (_Ft) {
6124
6109
  // prettier-ignore
6125
- function mo(e) {
6126
- _classCallCheck(this, mo);
6110
+ function po(e) {
6111
+ _classCallCheck(this, po);
6127
6112
  var n, r, o;
6128
6113
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.audioClassification,
6129
6114
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6130
- return _callSuper(this, mo, [e, "Attach an audio file", "ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition", t, i, {
6115
+ return _callSuper(this, po, [e, "Attach an audio file", "ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition", t, i, {
6131
6116
  audio: {}
6132
6117
  }]);
6133
6118
  }
6134
- _inherits(mo, _Ft);
6135
- return _createClass(mo, [{
6119
+ _inherits(po, _Ft);
6120
+ return _createClass(po, [{
6136
6121
  key: "extractPollResultData",
6137
6122
  value: function () {
6138
6123
  var _extractPollResultData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(e) {
@@ -6170,18 +6155,18 @@ var mo = /*#__PURE__*/function (_Ft) {
6170
6155
  }()
6171
6156
  }]);
6172
6157
  }(Ft);
6173
- var go = /*#__PURE__*/function (_Ft2) {
6174
- function go(e) {
6175
- _classCallCheck(this, go);
6158
+ var mo = /*#__PURE__*/function (_Ft2) {
6159
+ function mo(e) {
6160
+ _classCallCheck(this, mo);
6176
6161
  var n, r, o;
6177
6162
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.imageClassification,
6178
6163
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6179
- return _callSuper(this, go, [e, "Attach an image file", "google/vit-base-patch16-224", t, i, {
6164
+ return _callSuper(this, mo, [e, "Attach an image file", "google/vit-base-patch16-224", t, i, {
6180
6165
  images: {}
6181
6166
  }]);
6182
6167
  }
6183
- _inherits(go, _Ft2);
6184
- return _createClass(go, [{
6168
+ _inherits(mo, _Ft2);
6169
+ return _createClass(mo, [{
6185
6170
  key: "extractPollResultData",
6186
6171
  value: function () {
6187
6172
  var _extractPollResultData2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(e) {
@@ -6474,18 +6459,18 @@ var ri = /*#__PURE__*/function (_Si2) {
6474
6459
  }
6475
6460
  }]);
6476
6461
  }(Si);
6477
- var bo = /*#__PURE__*/function (_Ft3) {
6478
- function bo(e) {
6479
- _classCallCheck(this, bo);
6462
+ var go = /*#__PURE__*/function (_Ft3) {
6463
+ function go(e) {
6464
+ _classCallCheck(this, go);
6480
6465
  var n, r, o;
6481
6466
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.audioSpeechRecognition,
6482
6467
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6483
- return _callSuper(this, bo, [e, "Attach an audio file", "facebook/wav2vec2-large-960h-lv60-self", t, i, {
6468
+ return _callSuper(this, go, [e, "Attach an audio file", "facebook/wav2vec2-large-960h-lv60-self", t, i, {
6484
6469
  audio: {}
6485
6470
  }]);
6486
6471
  }
6487
- _inherits(bo, _Ft3);
6488
- return _createClass(bo, [{
6472
+ _inherits(go, _Ft3);
6473
+ return _createClass(go, [{
6489
6474
  key: "extractPollResultData",
6490
6475
  value: function () {
6491
6476
  var _extractPollResultData3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee44(e) {
@@ -6522,16 +6507,16 @@ var bo = /*#__PURE__*/function (_Ft3) {
6522
6507
  }()
6523
6508
  }]);
6524
6509
  }(Ft);
6525
- var vo = /*#__PURE__*/function (_ke2) {
6526
- function vo(e) {
6527
- _classCallCheck(this, vo);
6510
+ var bo = /*#__PURE__*/function (_ke2) {
6511
+ function bo(e) {
6512
+ _classCallCheck(this, bo);
6528
6513
  var n, r, o;
6529
6514
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.textGeneration,
6530
6515
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6531
- return _callSuper(this, vo, [e, "Once upon a time", "gpt2", t, i]);
6516
+ return _callSuper(this, bo, [e, "Once upon a time", "gpt2", t, i]);
6532
6517
  }
6533
- _inherits(vo, _ke2);
6534
- return _createClass(vo, [{
6518
+ _inherits(bo, _ke2);
6519
+ return _createClass(bo, [{
6535
6520
  key: "extractResultData",
6536
6521
  value: function () {
6537
6522
  var _extractResultData4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee45(e) {
@@ -6561,18 +6546,18 @@ var vo = /*#__PURE__*/function (_ke2) {
6561
6546
  }()
6562
6547
  }]);
6563
6548
  }(ke);
6564
- var yo = /*#__PURE__*/function (_ke3) {
6565
- function yo(e) {
6549
+ var vo = /*#__PURE__*/function (_ke3) {
6550
+ function vo(e) {
6566
6551
  var _this21;
6567
- _classCallCheck(this, yo);
6552
+ _classCallCheck(this, vo);
6568
6553
  var n, r, o;
6569
6554
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.questionAnswer,
6570
6555
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6571
- _this21 = _callSuper(this, yo, [e, "Ask a question", "bert-large-uncased-whole-word-masking-finetuned-squad", t, i]), _this21.permittedErrorPrefixes = ["Authorization header", "Error in"], _this21.context = t.context;
6556
+ _this21 = _callSuper(this, vo, [e, "Ask a question", "bert-large-uncased-whole-word-masking-finetuned-squad", t, i]), _this21.permittedErrorPrefixes = ["Authorization header", "Error in"], _this21.context = t.context;
6572
6557
  return _this21;
6573
6558
  }
6574
- _inherits(yo, _ke3);
6575
- return _createClass(yo, [{
6559
+ _inherits(vo, _ke3);
6560
+ return _createClass(vo, [{
6576
6561
  key: "preprocessBody",
6577
6562
  value: function preprocessBody(e, t) {
6578
6563
  var i = t[t.length - 1].text;
@@ -6615,16 +6600,16 @@ var yo = /*#__PURE__*/function (_ke3) {
6615
6600
  }()
6616
6601
  }]);
6617
6602
  }(ke);
6618
- var Eo = /*#__PURE__*/function (_ke4) {
6619
- function Eo(e) {
6620
- _classCallCheck(this, Eo);
6603
+ var yo = /*#__PURE__*/function (_ke4) {
6604
+ function yo(e) {
6605
+ _classCallCheck(this, yo);
6621
6606
  var n, r, o;
6622
6607
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.summarization,
6623
6608
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6624
- return _callSuper(this, Eo, [e, "Insert text to summarize", "facebook/bart-large-cnn", t, i]);
6609
+ return _callSuper(this, yo, [e, "Insert text to summarize", "facebook/bart-large-cnn", t, i]);
6625
6610
  }
6626
- _inherits(Eo, _ke4);
6627
- return _createClass(Eo, [{
6611
+ _inherits(yo, _ke4);
6612
+ return _createClass(yo, [{
6628
6613
  key: "extractResultData",
6629
6614
  value: function () {
6630
6615
  var _extractResultData6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee47(e) {
@@ -6654,20 +6639,20 @@ var Eo = /*#__PURE__*/function (_ke4) {
6654
6639
  }()
6655
6640
  }]);
6656
6641
  }(ke);
6657
- var xo = /*#__PURE__*/function (_ke5) {
6658
- function xo(e) {
6642
+ var Eo = /*#__PURE__*/function (_ke5) {
6643
+ function Eo(e) {
6659
6644
  var _this22$maxMessages;
6660
6645
  var _this22;
6661
- _classCallCheck(this, xo);
6646
+ _classCallCheck(this, Eo);
6662
6647
  var n, r, o;
6663
6648
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.conversation,
6664
6649
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6665
- _this22 = _callSuper(this, xo, [e, "Ask me anything!", "facebook/blenderbot-400M-distill", t, i]), (_this22$maxMessages = _this22.maxMessages) !== null && _this22$maxMessages !== void 0 ? _this22$maxMessages : _this22.maxMessages = -1;
6650
+ _this22 = _callSuper(this, Eo, [e, "Ask me anything!", "facebook/blenderbot-400M-distill", t, i]), (_this22$maxMessages = _this22.maxMessages) !== null && _this22$maxMessages !== void 0 ? _this22$maxMessages : _this22.maxMessages = -1;
6666
6651
  return _this22;
6667
6652
  }
6668
6653
  // prettier-ignore
6669
- _inherits(xo, _ke5);
6670
- return _createClass(xo, [{
6654
+ _inherits(Eo, _ke5);
6655
+ return _createClass(Eo, [{
6671
6656
  key: "processMessages",
6672
6657
  value: function processMessages(e) {
6673
6658
  var t = e.filter(function (a) {
@@ -6843,16 +6828,16 @@ var oi = /*#__PURE__*/function (_Si3) {
6843
6828
  }
6844
6829
  }]);
6845
6830
  }(Si);
6846
- var _o = /*#__PURE__*/function (_ke6) {
6847
- function _o(e) {
6848
- _classCallCheck(this, _o);
6831
+ var xo = /*#__PURE__*/function (_ke6) {
6832
+ function xo(e) {
6833
+ _classCallCheck(this, xo);
6849
6834
  var n, r, o;
6850
6835
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.translation,
6851
6836
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6852
- return _callSuper(this, _o, [e, "Insert text to translate", "Helsinki-NLP/opus-tatoeba-en-ja", t, i]);
6837
+ return _callSuper(this, xo, [e, "Insert text to translate", "Helsinki-NLP/opus-tatoeba-en-ja", t, i]);
6853
6838
  }
6854
- _inherits(_o, _ke6);
6855
- return _createClass(_o, [{
6839
+ _inherits(xo, _ke6);
6840
+ return _createClass(xo, [{
6856
6841
  key: "extractResultData",
6857
6842
  value: function () {
6858
6843
  var _extractResultData9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee51(e) {
@@ -6975,18 +6960,18 @@ var ai = /*#__PURE__*/function (_Si4) {
6975
6960
  }
6976
6961
  }]);
6977
6962
  }(Si);
6978
- var So = /*#__PURE__*/function (_ke7) {
6979
- function So(e) {
6963
+ var _o = /*#__PURE__*/function (_ke7) {
6964
+ function _o(e) {
6980
6965
  var _this25;
6981
- _classCallCheck(this, So);
6966
+ _classCallCheck(this, _o);
6982
6967
  var n, r, o;
6983
6968
  var t = (r = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : r.fillMask,
6984
6969
  i = (o = e.directConnection) == null ? void 0 : o.huggingFace;
6985
- _this25 = _callSuper(this, So, [e, "The goal of life is [MASK].", "bert-base-uncased", t, i]), _this25.introPanelMarkUp = "\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].</p>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>", _this25.permittedErrorPrefixes = ["Authorization header", "No mask_token"];
6970
+ _this25 = _callSuper(this, _o, [e, "The goal of life is [MASK].", "bert-base-uncased", t, i]), _this25.introPanelMarkUp = "\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Hugging Face</b></div>\n <p>Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].</p>\n <p>First message may take an extented amount of time to complete as the model needs to be initialized.</p>", _this25.permittedErrorPrefixes = ["Authorization header", "No mask_token"];
6986
6971
  return _this25;
6987
6972
  }
6988
- _inherits(So, _ke7);
6989
- return _createClass(So, [{
6973
+ _inherits(_o, _ke7);
6974
+ return _createClass(_o, [{
6990
6975
  key: "extractResultData",
6991
6976
  value: function () {
6992
6977
  var _extractResultData11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee54(e) {
@@ -7060,16 +7045,16 @@ var fn = /*#__PURE__*/function (_z3) {
7060
7045
  _inherits(fn, _z3);
7061
7046
  return _createClass(fn);
7062
7047
  }(z);
7063
- var wo = /*#__PURE__*/function (_fn) {
7064
- function wo(e) {
7065
- _classCallCheck(this, wo);
7048
+ var So = /*#__PURE__*/function (_fn) {
7049
+ function So(e) {
7050
+ _classCallCheck(this, So);
7066
7051
  var n, r, o;
7067
7052
  var t = (r = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : r.textGeneration,
7068
7053
  i = (o = e.directConnection) == null ? void 0 : o.cohere;
7069
- return _callSuper(this, wo, [e, "https://api.cohere.ai/v1/generate", "Once upon a time", t, i]);
7054
+ return _callSuper(this, So, [e, "https://api.cohere.ai/v1/generate", "Once upon a time", t, i]);
7070
7055
  }
7071
- _inherits(wo, _fn);
7072
- return _createClass(wo, [{
7056
+ _inherits(So, _fn);
7057
+ return _createClass(So, [{
7073
7058
  key: "preprocessBody",
7074
7059
  value: function preprocessBody(e, t) {
7075
7060
  var i = JSON.parse(JSON.stringify(e)),
@@ -7135,16 +7120,16 @@ var wo = /*#__PURE__*/function (_fn) {
7135
7120
  }()
7136
7121
  }]);
7137
7122
  }(fn);
7138
- var To = /*#__PURE__*/function (_fn2) {
7139
- function To(e) {
7140
- _classCallCheck(this, To);
7123
+ var wo = /*#__PURE__*/function (_fn2) {
7124
+ function wo(e) {
7125
+ _classCallCheck(this, wo);
7141
7126
  var n, r, o;
7142
7127
  var t = (r = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : r.summarization,
7143
7128
  i = (o = e.directConnection) == null ? void 0 : o.cohere;
7144
- return _callSuper(this, To, [e, "https://api.cohere.ai/v1/summarize", "Insert text to summarize", t, i]);
7129
+ return _callSuper(this, wo, [e, "https://api.cohere.ai/v1/summarize", "Insert text to summarize", t, i]);
7145
7130
  }
7146
- _inherits(To, _fn2);
7147
- return _createClass(To, [{
7131
+ _inherits(wo, _fn2);
7132
+ return _createClass(wo, [{
7148
7133
  key: "preprocessBody",
7149
7134
  value: function preprocessBody(e, t) {
7150
7135
  var i = JSON.parse(JSON.stringify(e)),
@@ -7587,32 +7572,32 @@ var oe = /*#__PURE__*/function () {
7587
7572
  }
7588
7573
  }]);
7589
7574
  }();
7590
- var Co = /*#__PURE__*/function (_z6) {
7575
+ var To = /*#__PURE__*/function (_z6) {
7591
7576
  // prettier-ignore
7592
- function Co(e, t, i, n, r) {
7577
+ function To(e, t, i, n, r) {
7593
7578
  var _this29;
7594
- _classCallCheck(this, Co);
7595
- _this29 = _callSuper(this, Co, [e, oe.buildLanguageKeyVerificationDetails(i), t, n, r]), _this29.insertKeyPlaceholderText = "Azure Language Subscription Key", _this29.keyHelpUrl =
7579
+ _classCallCheck(this, To);
7580
+ _this29 = _callSuper(this, To, [e, oe.buildLanguageKeyVerificationDetails(i), t, n, r]), _this29.insertKeyPlaceholderText = "Azure Language Subscription Key", _this29.keyHelpUrl =
7596
7581
  // eslint-disable-next-line max-len
7597
7582
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", _this29.permittedErrorPrefixes = ["Access"];
7598
7583
  return _this29;
7599
7584
  }
7600
- _inherits(Co, _z6);
7601
- return _createClass(Co);
7585
+ _inherits(To, _z6);
7586
+ return _createClass(To);
7602
7587
  }(z);
7603
- var ko = /*#__PURE__*/function (_Co) {
7604
- function ko(e) {
7588
+ var Co = /*#__PURE__*/function (_To) {
7589
+ function Co(e) {
7605
7590
  var _a$language;
7606
7591
  var _this30;
7607
- _classCallCheck(this, ko);
7592
+ _classCallCheck(this, Co);
7608
7593
  var n, r, o, a;
7609
7594
  var t = (r = (n = e.directConnection) == null ? void 0 : n.azure) == null ? void 0 : r.summarization,
7610
7595
  i = (o = e.directConnection) == null ? void 0 : o.azure;
7611
- _this30 = _callSuper(this, ko, [e, oe.buildSummarizationHeader, t.endpoint, i]), _this30.url = "", _this30.textInputPlaceholderText = "Insert text to summarize", (_a$language = (a = _this30.rawBody).language) !== null && _a$language !== void 0 ? _a$language : a.language = "en", Object.assign(_this30.rawBody, t), _this30.url = "".concat(t.endpoint, "/language/analyze-text/jobs?api-version=2022-10-01-preview");
7596
+ _this30 = _callSuper(this, Co, [e, oe.buildSummarizationHeader, t.endpoint, i]), _this30.url = "", _this30.textInputPlaceholderText = "Insert text to summarize", (_a$language = (a = _this30.rawBody).language) !== null && _a$language !== void 0 ? _a$language : a.language = "en", Object.assign(_this30.rawBody, t), _this30.url = "".concat(t.endpoint, "/language/analyze-text/jobs?api-version=2022-10-01-preview");
7612
7597
  return _this30;
7613
7598
  }
7614
- _inherits(ko, _Co);
7615
- return _createClass(ko, [{
7599
+ _inherits(Co, _To);
7600
+ return _createClass(Co, [{
7616
7601
  key: "preprocessBody",
7617
7602
  value: function preprocessBody(e, t) {
7618
7603
  var i = t[t.length - 1].text;
@@ -7752,7 +7737,7 @@ var ko = /*#__PURE__*/function (_Co) {
7752
7737
  return extractPollResultData;
7753
7738
  }()
7754
7739
  }]);
7755
- }(Co);
7740
+ }(To);
7756
7741
  var Et = /*#__PURE__*/function () {
7757
7742
  function Et() {
7758
7743
  _classCallCheck(this, Et);
@@ -8126,21 +8111,21 @@ Ct.HELP_LINK =
8126
8111
  // eslint-disable-next-line max-len
8127
8112
  "https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest";
8128
8113
  var nn = Ct;
8129
- var Ao = /*#__PURE__*/function (_z9) {
8114
+ var ko = /*#__PURE__*/function (_z9) {
8130
8115
  // prettier-ignore
8131
- function Ao(e) {
8116
+ function ko(e) {
8132
8117
  var _this35;
8133
- _classCallCheck(this, Ao);
8118
+ _classCallCheck(this, ko);
8134
8119
  var n, r, o;
8135
8120
  var t = (r = (n = e.directConnection) == null ? void 0 : n.azure) == null ? void 0 : r.translation,
8136
8121
  i = (o = e.directConnection) == null ? void 0 : o.azure;
8137
- _this35 = _callSuper(this, Ao, [e, oe.buildTranslationKeyVerificationDetails(t.region), oe.buildTranslationHeaders.bind({}, t == null ? void 0 : t.region), i]), _this35.insertKeyPlaceholderText = "Azure Translate Subscription Key", _this35.keyHelpUrl =
8122
+ _this35 = _callSuper(this, ko, [e, oe.buildTranslationKeyVerificationDetails(t.region), oe.buildTranslationHeaders.bind({}, t == null ? void 0 : t.region), i]), _this35.insertKeyPlaceholderText = "Azure Translate Subscription Key", _this35.keyHelpUrl =
8138
8123
  // eslint-disable-next-line max-len
8139
8124
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", _this35.url = "", _this35.url = "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=".concat(t.language || "es");
8140
8125
  return _this35;
8141
8126
  }
8142
- _inherits(Ao, _z9);
8143
- return _createClass(Ao, [{
8127
+ _inherits(ko, _z9);
8128
+ return _createClass(ko, [{
8144
8129
  key: "preprocessBody",
8145
8130
  value: function preprocessBody(e) {
8146
8131
  var t = e[e.length - 1].text;
@@ -9596,20 +9581,20 @@ var xt = /*#__PURE__*/function (_z12) {
9596
9581
  }
9597
9582
  }]);
9598
9583
  }(z);
9599
- var Mo = /*#__PURE__*/function (_fn3) {
9600
- function Mo(e) {
9584
+ var Ao = /*#__PURE__*/function (_fn3) {
9585
+ function Ao(e) {
9601
9586
  var _this42$maxMessages;
9602
9587
  var _this42;
9603
- _classCallCheck(this, Mo);
9588
+ _classCallCheck(this, Ao);
9604
9589
  var r;
9605
9590
  var t = JSON.parse(JSON.stringify(e.directConnection)),
9606
9591
  i = (r = t.cohere) == null ? void 0 : r.chat,
9607
9592
  n = t.cohere;
9608
- _this42 = _callSuper(this, Mo, [e, "https://api.cohere.ai/v1/chat", "Ask me anything!", i, n]), _typeof(i) == "object" && Object.assign(_this42.rawBody, i), (_this42$maxMessages = _this42.maxMessages) !== null && _this42$maxMessages !== void 0 ? _this42$maxMessages : _this42.maxMessages = -1;
9593
+ _this42 = _callSuper(this, Ao, [e, "https://api.cohere.ai/v1/chat", "Ask me anything!", i, n]), _typeof(i) == "object" && Object.assign(_this42.rawBody, i), (_this42$maxMessages = _this42.maxMessages) !== null && _this42$maxMessages !== void 0 ? _this42$maxMessages : _this42.maxMessages = -1;
9609
9594
  return _this42;
9610
9595
  }
9611
- _inherits(Mo, _fn3);
9612
- return _createClass(Mo, [{
9596
+ _inherits(Ao, _fn3);
9597
+ return _createClass(Ao, [{
9613
9598
  key: "preprocessBody",
9614
9599
  value: function preprocessBody(e, t) {
9615
9600
  var i = JSON.parse(JSON.stringify(e)),
@@ -9710,18 +9695,18 @@ var ci = /*#__PURE__*/function () {
9710
9695
  }
9711
9696
  }]);
9712
9697
  }();
9713
- var Ro = /*#__PURE__*/function (_z13) {
9714
- function Ro(e) {
9698
+ var Mo = /*#__PURE__*/function (_z13) {
9699
+ function Mo(e) {
9715
9700
  var _this43$maxMessages, _n$model;
9716
9701
  var _this43;
9717
- _classCallCheck(this, Ro);
9702
+ _classCallCheck(this, Mo);
9718
9703
  var n;
9719
9704
  var i = JSON.parse(JSON.stringify(e.directConnection)).mistral;
9720
- _this43 = _callSuper(this, Ro, [e, ci.buildKeyVerificationDetails(), ci.buildHeaders, i]), _this43.insertKeyPlaceholderText = "Mistral API Key", _this43.keyHelpUrl = "https://console.mistral.ai/api-keys/", _this43.url = "https://api.mistral.ai/v1/chat/completions", _this43.permittedErrorPrefixes = ["invalid"], i && (_this43.cleanConfig(i), Object.assign(_this43.rawBody, i)), (_this43$maxMessages = _this43.maxMessages) !== null && _this43$maxMessages !== void 0 ? _this43$maxMessages : _this43.maxMessages = -1, (_n$model = (n = _this43.rawBody).model) !== null && _n$model !== void 0 ? _n$model : n.model = "open-mistral-7b";
9705
+ _this43 = _callSuper(this, Mo, [e, ci.buildKeyVerificationDetails(), ci.buildHeaders, i]), _this43.insertKeyPlaceholderText = "Mistral API Key", _this43.keyHelpUrl = "https://console.mistral.ai/api-keys/", _this43.url = "https://api.mistral.ai/v1/chat/completions", _this43.permittedErrorPrefixes = ["invalid"], i && (_this43.cleanConfig(i), Object.assign(_this43.rawBody, i)), (_this43$maxMessages = _this43.maxMessages) !== null && _this43$maxMessages !== void 0 ? _this43$maxMessages : _this43.maxMessages = -1, (_n$model = (n = _this43.rawBody).model) !== null && _n$model !== void 0 ? _n$model : n.model = "open-mistral-7b";
9721
9706
  return _this43;
9722
9707
  }
9723
- _inherits(Ro, _z13);
9724
- return _createClass(Ro, [{
9708
+ _inherits(Mo, _z13);
9709
+ return _createClass(Mo, [{
9725
9710
  key: "cleanConfig",
9726
9711
  value: function cleanConfig(e) {
9727
9712
  delete e.key;
@@ -9797,11 +9782,11 @@ var Ro = /*#__PURE__*/function (_z13) {
9797
9782
  }()
9798
9783
  }]);
9799
9784
  }(z);
9800
- var Io = /*#__PURE__*/function () {
9801
- function Io() {
9802
- _classCallCheck(this, Io);
9785
+ var Ro = /*#__PURE__*/function () {
9786
+ function Ro() {
9787
+ _classCallCheck(this, Ro);
9803
9788
  }
9804
- return _createClass(Io, null, [{
9789
+ return _createClass(Ro, null, [{
9805
9790
  key: "create",
9806
9791
  value:
9807
9792
  // this should only be called when no _activeService is set or is demo as otherwise we don't want to reconnect
@@ -9814,16 +9799,16 @@ var Io = /*#__PURE__*/function () {
9814
9799
  if (t) {
9815
9800
  if (t.openAI) return t.openAI.images ? new rn(e) : t.openAI.speechToText ? new en(e) : t.openAI.textToSpeech ? new Qi(e) : t.openAI.assistant ? new sn(e) : new xt(e);
9816
9801
  if (t.assemblyAI) return new pn(e);
9817
- if (t.cohere) return t.cohere.textGeneration ? new wo(e) : t.cohere.summarization ? new To(e) : new Mo(e);
9818
- if (t.huggingFace) return t.huggingFace.textGeneration ? new vo(e) : t.huggingFace.summarization ? new Eo(e) : t.huggingFace.translation ? new _o(e) : t.huggingFace.fillMask ? new So(e) : t.huggingFace.questionAnswer ? new yo(e) : t.huggingFace.audioSpeechRecognition ? new bo(e) : t.huggingFace.audioClassification ? new mo(e) : t.huggingFace.imageClassification ? new go(e) : new xo(e);
9802
+ if (t.cohere) return t.cohere.textGeneration ? new So(e) : t.cohere.summarization ? new wo(e) : new Ao(e);
9803
+ if (t.huggingFace) return t.huggingFace.textGeneration ? new bo(e) : t.huggingFace.summarization ? new yo(e) : t.huggingFace.translation ? new xo(e) : t.huggingFace.fillMask ? new _o(e) : t.huggingFace.questionAnswer ? new vo(e) : t.huggingFace.audioSpeechRecognition ? new go(e) : t.huggingFace.audioClassification ? new po(e) : t.huggingFace.imageClassification ? new mo(e) : new Eo(e);
9819
9804
  if (t.azure) {
9820
9805
  if (t.azure.speechToText) return new nn(e);
9821
9806
  if (t.azure.textToSpeech) return new tn(e);
9822
- if (t.azure.summarization) return new ko(e);
9823
- if (t.azure.translation) return new Ao(e);
9807
+ if (t.azure.summarization) return new Co(e);
9808
+ if (t.azure.translation) return new ko(e);
9824
9809
  }
9825
9810
  if (t.stabilityAI) return t.stabilityAI.imageToImage ? new oi(e) : t.stabilityAI.imageToImageUpscale ? new si(e) : t.stabilityAI.imageToImageMasking ? new ri(e) : new ai(e);
9826
- if (t.mistral) return new Ro(e);
9811
+ if (t.mistral) return new Mo(e);
9827
9812
  }
9828
9813
  return i && (!n || !i.stream) ? new Ke(e) : new Ke(e, void 0, n || !0);
9829
9814
  }
@@ -9919,11 +9904,11 @@ var di = /*#__PURE__*/function () {
9919
9904
  }
9920
9905
  }]);
9921
9906
  }();
9922
- var Lo = /*#__PURE__*/function () {
9923
- function Lo() {
9924
- _classCallCheck(this, Lo);
9907
+ var Io = /*#__PURE__*/function () {
9908
+ function Io() {
9909
+ _classCallCheck(this, Io);
9925
9910
  }
9926
- return _createClass(Lo, null, [{
9911
+ return _createClass(Io, null, [{
9927
9912
  key: "getText",
9928
9913
  value: function getText(e, t) {
9929
9914
  var i;
@@ -9937,7 +9922,7 @@ var Lo = /*#__PURE__*/function () {
9937
9922
  }
9938
9923
  }]);
9939
9924
  }();
9940
- var Po = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \n\t viewBox=\"50 30 420 450\" xml:space=\"preserve\">\n<g filter=\"brightness(0) saturate(100%) invert(16%) sepia(0%) saturate(1942%) hue-rotate(215deg) brightness(99%) contrast(93%)\">\n\t<g>\n\t\t<path d=\"M447.933,103.629c-0.034-3.076-1.224-6.09-3.485-8.352L352.683,3.511c-0.004-0.004-0.007-0.005-0.011-0.008\n\t\t\tC350.505,1.338,347.511,0,344.206,0H89.278C75.361,0,64.04,11.32,64.04,25.237v461.525c0,13.916,11.32,25.237,25.237,25.237\n\t\t\th333.444c13.916,0,25.237-11.32,25.237-25.237V103.753C447.96,103.709,447.937,103.672,447.933,103.629z M356.194,40.931\n\t\t\tl50.834,50.834h-49.572c-0.695,0-1.262-0.567-1.262-1.262V40.931z M423.983,486.763c0,0.695-0.566,1.261-1.261,1.261H89.278\n\t\t\tc-0.695,0-1.261-0.566-1.261-1.261V25.237c0-0.695,0.566-1.261,1.261-1.261h242.94v66.527c0,13.916,11.322,25.239,25.239,25.239\n\t\t\th66.527V486.763z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,164.014H149.912c-6.62,0-11.988,5.367-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.368,11.988-11.988C374.076,169.381,368.707,164.014,362.088,164.014z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,236.353H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.368,11.988-11.988C374.076,241.721,368.707,236.353,362.088,236.353z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,308.691H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.367,11.988-11.988C374.076,314.06,368.707,308.691,362.088,308.691z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M256,381.031H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988H256\n\t\t\tc6.62,0,11.988-5.367,11.988-11.988C267.988,386.398,262.62,381.031,256,381.031z\"/>\n\t</g>\n</g>\n</svg>";
9925
+ var Lo = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \n\t viewBox=\"50 30 420 450\" xml:space=\"preserve\">\n<g filter=\"brightness(0) saturate(100%) invert(16%) sepia(0%) saturate(1942%) hue-rotate(215deg) brightness(99%) contrast(93%)\">\n\t<g>\n\t\t<path d=\"M447.933,103.629c-0.034-3.076-1.224-6.09-3.485-8.352L352.683,3.511c-0.004-0.004-0.007-0.005-0.011-0.008\n\t\t\tC350.505,1.338,347.511,0,344.206,0H89.278C75.361,0,64.04,11.32,64.04,25.237v461.525c0,13.916,11.32,25.237,25.237,25.237\n\t\t\th333.444c13.916,0,25.237-11.32,25.237-25.237V103.753C447.96,103.709,447.937,103.672,447.933,103.629z M356.194,40.931\n\t\t\tl50.834,50.834h-49.572c-0.695,0-1.262-0.567-1.262-1.262V40.931z M423.983,486.763c0,0.695-0.566,1.261-1.261,1.261H89.278\n\t\t\tc-0.695,0-1.261-0.566-1.261-1.261V25.237c0-0.695,0.566-1.261,1.261-1.261h242.94v66.527c0,13.916,11.322,25.239,25.239,25.239\n\t\t\th66.527V486.763z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,164.014H149.912c-6.62,0-11.988,5.367-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.368,11.988-11.988C374.076,169.381,368.707,164.014,362.088,164.014z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,236.353H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.368,11.988-11.988C374.076,241.721,368.707,236.353,362.088,236.353z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M362.088,308.691H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988h212.175\n\t\t\tc6.62,0,11.988-5.367,11.988-11.988C374.076,314.06,368.707,308.691,362.088,308.691z\"/>\n\t</g>\n</g>\n<g>\n\t<g>\n\t\t<path d=\"M256,381.031H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988H256\n\t\t\tc6.62,0,11.988-5.367,11.988-11.988C267.988,386.398,262.62,381.031,256,381.031z\"/>\n\t</g>\n</g>\n</svg>";
9941
9926
  var Me = /*#__PURE__*/function () {
9942
9927
  function Me() {
9943
9928
  _classCallCheck(this, Me);
@@ -9990,7 +9975,7 @@ var Me = /*#__PURE__*/function () {
9990
9975
  t.classList.add("any-file-message-contents");
9991
9976
  var i = document.createElement("div");
9992
9977
  i.classList.add("any-file-message-icon-container");
9993
- var n = te.createSVGElement(Po);
9978
+ var n = te.createSVGElement(Lo);
9994
9979
  n.classList.add("any-file-message-icon"), i.appendChild(n);
9995
9980
  var r = document.createElement("div");
9996
9981
  return r.classList.add("any-file-message-text"), r.textContent = e.name || F.DEFAULT_FILE_NAME, t.appendChild(i), t.appendChild(r), F.processContent("any", t, e.src, r.textContent);
@@ -10041,7 +10026,7 @@ var Re = /*#__PURE__*/function (_lt) {
10041
10026
  }, {
10042
10027
  key: "addSetupMessageIfNeeded",
10043
10028
  value: function addSetupMessageIfNeeded(e, t) {
10044
- var i = Lo.getText(e, t);
10029
+ var i = Io.getText(e, t);
10045
10030
  if (i) {
10046
10031
  var n = this.createAndAppendNewMessageElement(i, b.AI_ROLE);
10047
10032
  this.applyCustomStyles(n, b.AI_ROLE, !1);
@@ -10391,7 +10376,7 @@ var K = /*#__PURE__*/function () {
10391
10376
  }
10392
10377
  }]);
10393
10378
  }();
10394
- var Oo = "<?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>";
10379
+ var Po = "<?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>";
10395
10380
  var fe = /*#__PURE__*/function () {
10396
10381
  function fe() {
10397
10382
  _classCallCheck(this, fe);
@@ -10654,7 +10639,7 @@ var ct = /*#__PURE__*/function (_jt) {
10654
10639
  }, {
10655
10640
  key: "createSVGIconElement",
10656
10641
  value: function createSVGIconElement() {
10657
- return te.createSVGElement(Oo);
10642
+ return te.createSVGElement(Po);
10658
10643
  }
10659
10644
  }, {
10660
10645
  key: "createButtonContainer",
@@ -10745,33 +10730,33 @@ var G = /*#__PURE__*/function () {
10745
10730
  }
10746
10731
  }]);
10747
10732
  }();
10748
- var No = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<title>file</title>\n<path d=\"M20 10.9696L11.9628 18.5497C10.9782 19.4783 9.64274 20 8.25028 20C6.85782 20 5.52239 19.4783 4.53777 18.5497C3.55315 17.6211 3 16.3616 3 15.0483C3 13.7351 3.55315 12.4756 4.53777 11.547L12.575 3.96687C13.2314 3.34779 14.1217 3 15.05 3C15.9783 3 16.8686 3.34779 17.525 3.96687C18.1814 4.58595 18.5502 5.4256 18.5502 6.30111C18.5502 7.17662 18.1814 8.01628 17.525 8.63535L9.47904 16.2154C9.15083 16.525 8.70569 16.6989 8.24154 16.6989C7.77738 16.6989 7.33224 16.525 7.00403 16.2154C6.67583 15.9059 6.49144 15.4861 6.49144 15.0483C6.49144 14.6106 6.67583 14.1907 7.00403 13.8812L14.429 6.88674\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>",
10749
- Do = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M20,15.2928932 L20,5.5 C20,4.67157288 19.3284271,4 18.5,4 L5.5,4 C4.67157288,4 4,4.67157288 4,5.5 L4,12.2928932 L7.14644661,9.14644661 C7.34170876,8.95118446 7.65829124,8.95118446 7.85355339,9.14644661 L13.5,14.7928932 L16.1464466,12.1464466 C16.3417088,11.9511845 16.6582912,11.9511845 16.8535534,12.1464466 L20,15.2928932 Z M20,16.7071068 L16.5,13.2071068 L13.8535534,15.8535534 C13.6582912,16.0488155 13.3417088,16.0488155 13.1464466,15.8535534 L7.5,10.2071068 L4,13.7071068 L4,18.5 C4,19.3284271 4.67157288,20 5.5,20 L18.5,20 C19.3284271,20 20,19.3284271 20,18.5 L20,16.7071068 Z M3,5.5 C3,4.11928813 4.11928813,3 5.5,3 L18.5,3 C19.8807119,3 21,4.11928813 21,5.5 L21,18.5 C21,19.8807119 19.8807119,21 18.5,21 L5.5,21 C4.11928813,21 3,19.8807119 3,18.5 L3,5.5 Z M15,6 L17,6 C17.5522847,6 18,6.44771525 18,7 L18,9 C18,9.55228475 17.5522847,10 17,10 L15,10 C14.4477153,10 14,9.55228475 14,9 L14,7 C14,6.44771525 14.4477153,6 15,6 Z M15,7 L15,9 L17,9 L17,7 L15,7 Z\"/>\n</svg>\n",
10750
- Fo = "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-49.49 -49.49 593.87 593.87\" stroke-width=\"3.95908\" transform=\"rotate(0)\">\n <g stroke-width=\"0\"></g>\n <g stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0.98977\"></g>\n <g>\n <g>\n <g>\n <path d=\"M163.205,76.413v293.301c-3.434-3.058-7.241-5.867-11.486-8.339c-21.38-12.452-49.663-15.298-77.567-7.846 c-49.038,13.096-80.904,54.519-71.038,92.337c4.019,15.404,14.188,28.221,29.404,37.087c13.553,7.894,29.87,11.933,47.115,11.933 c9.962,0,20.231-1.356,30.447-4.087c42.74-11.406,72.411-44.344,72.807-77.654h0.011v-0.162c0.002-0.166,0-0.331,0-0.496V187.072 l290.971-67.3v178.082c-3.433-3.055-7.238-5.863-11.481-8.334c-21.385-12.452-49.654-15.308-77.567-7.846 c-49.038,13.087-80.904,54.519-71.038,92.356c4.019,15.385,14.183,28.212,29.404,37.067c13.548,7.894,29.875,11.933,47.115,11.933 c9.962,0,20.231-1.356,30.452-4.087c42.74-11.413,72.411-44.346,72.804-77.654h0.004v-0.065c0.003-0.236,0.001-0.469,0-0.704V0 L163.205,76.413z M104.999,471.779c-22.543,6.038-45.942,3.846-62.572-5.846c-10.587-6.163-17.591-14.817-20.255-25.038 c-7.144-27.375,18.452-58.029,57.062-68.346c8.409-2.25,16.938-3.346,25.188-3.346c13.87,0,26.962,3.115,37.389,9.192 c10.587,6.163,17.591,14.817,20.255,25.029c0.809,3.102,1.142,6.248,1.139,9.4v0.321h0.014 C162.99,437.714,139.082,462.678,104.999,471.779z M182.898,166.853V92.067l290.971-67.298v74.784L182.898,166.853z M415.677,399.923c-22.558,6.038-45.942,3.837-62.587-5.846c-10.587-6.163-17.587-14.817-20.25-25.019 c-7.144-27.385,18.452-58.058,57.058-68.365c8.414-2.25,16.942-3.346,25.192-3.346c13.875,0,26.962,3.115,37.385,9.192 c10.596,6.163,17.596,14.817,20.26,25.029v0.01c0.796,3.05,1.124,6.144,1.135,9.244v0.468h0.02 C473.668,365.851,449.763,390.814,415.677,399.923z\">\n </path>\n </g>\n </g>\n </g>\n</svg>",
10751
- Bo = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 5.9266752 5.6408391\" height=\"21.31971\" width=\"22.4\">\n <g>\n <path d=\"m 5.2564627,1.548212 c -3.1136005,-0.4796804 -1.5568006,-0.2398402 0,0 z M 2.0001198,2.0922063 c 0.1556781,0 0.2657489,0.020893 0.3917849,0.080366 0.081154,0.038347 0.1153492,0.134065 0.076377,0.2138602 -0.038973,0.07979 -0.1363527,0.1134129 -0.2175069,0.075091 -0.078199,-0.036919 -0.1407455,-0.048792 -0.250655,-0.048792 -0.2260486,0 -0.3921482,0.2042182 -0.3921482,0.4801409 0,0.2761822 0.1663188,0.4810688 0.3921482,0.4810688 0.1117901,0 0.2064255,-0.046133 0.255659,-0.1284198 l 0.00162,-0.00389 V 3.0534032 l -0.098011,1.75e-4 c -0.081844,0 -0.1495979,-0.059305 -0.1612403,-0.1365887 l -0.00175,-0.023683 c 0,-0.08047 0.060311,-0.1470874 0.1389194,-0.1585331 l 0.024085,-0.00195 h 0.2612303 c 0.081842,0 0.149598,0.059305 0.1612404,0.1365891 l 0.00175,0.023683 -3.398e-4,0.3968809 v 0 l -0.00168,0.014211 v 0 l -0.00553,0.023034 v 0 l -0.00532,0.014145 c -0.098178,0.22826 -0.3236506,0.3528713 -0.5706303,0.3528713 -0.4240855,0 -0.7181621,-0.3622714 -0.7181621,-0.8016063 0,-0.4391857 0.2940275,-0.8006848 0.7181621,-0.8006848 z m 1.2034759,0.031275 c 0.081843,0 0.1495977,0.059305 0.1612403,0.1365891 l 0.00175,0.023683 v 1.2211775 c 0,0.088516 -0.07298,0.1602721 -0.1630073,0.1602721 -0.081841,0 -0.1495972,-0.059305 -0.1612397,-0.1365892 L 3.040589,3.5049308 V 2.2837527 c 0,-0.088516 0.07298,-0.1602721 0.1630067,-0.1602714 z m 0.7813442,0 0.5209469,0.00195 c 0.090025,3.048e-4 0.1627543,0.072306 0.1624458,0.1608234 -2.809e-4,0.08047 -0.06083,0.1468798 -0.1394772,0.158066 l -0.024092,0.00195 -0.3575326,-0.0013 v 0.4497782 l 0.2928918,2.27e-4 c 0.081842,0 0.1495979,0.059305 0.1612403,0.136589 l 0.00175,0.023683 c 0,0.080469 -0.06031,0.1470871 -0.1389193,0.1585393 l -0.024092,0.00195 -0.2928919,-2.336e-4 1.563e-4,0.2860316 c 0,0.080471 -0.06031,0.1470873 -0.1389193,0.1585395 l -0.024085,0.00195 c -0.081843,0 -0.1495979,-0.059305 -0.1612403,-0.1365826 l -0.00175,-0.023691 V 2.2841354 c 2.798e-4,-0.08047 0.060829,-0.1468797 0.1394758,-0.1580594 z\"/>\n <path d=\"m 5.0894191,1.0943261 c 0,-0.21918999 -0.177687,-0.39686999 -0.396876,-0.39686999 h -3.43959 c -0.2191879,0 -0.391262,0.1777519 -0.3968759,0.39686999 l -0.027082,3.4379266 c 0.040152,0.2939927 0.4235456,0.409415 0.4235456,0.409415 l 3.4785583,-0.00851 c 0,0 0.3008506,-0.1402998 0.3236271,-0.4201576 0.042911,-0.5272495 0.034693,-1.6106146 0.034693,-3.4186761 z m -4.49792494,0 c 0,-0.36530999 0.29614504,-0.66145999 0.66145894,-0.66145999 h 3.43959 c 0.365314,0 0.66146,0.29615 0.66146,0.66145999 v 3.43959 c 0,0.36532 -0.296146,0.66146 -0.66146,0.66146 h -3.43959 c -0.3653139,0 -0.66145894,-0.29614 -0.66145894,-0.66146 z\"/>\n </g>\n</svg>\n",
10752
- jo = {
10733
+ var Oo = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<title>file</title>\n<path d=\"M20 10.9696L11.9628 18.5497C10.9782 19.4783 9.64274 20 8.25028 20C6.85782 20 5.52239 19.4783 4.53777 18.5497C3.55315 17.6211 3 16.3616 3 15.0483C3 13.7351 3.55315 12.4756 4.53777 11.547L12.575 3.96687C13.2314 3.34779 14.1217 3 15.05 3C15.9783 3 16.8686 3.34779 17.525 3.96687C18.1814 4.58595 18.5502 5.4256 18.5502 6.30111C18.5502 7.17662 18.1814 8.01628 17.525 8.63535L9.47904 16.2154C9.15083 16.525 8.70569 16.6989 8.24154 16.6989C7.77738 16.6989 7.33224 16.525 7.00403 16.2154C6.67583 15.9059 6.49144 15.4861 6.49144 15.0483C6.49144 14.6106 6.67583 14.1907 7.00403 13.8812L14.429 6.88674\" stroke=\"#000000\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>",
10734
+ No = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M20,15.2928932 L20,5.5 C20,4.67157288 19.3284271,4 18.5,4 L5.5,4 C4.67157288,4 4,4.67157288 4,5.5 L4,12.2928932 L7.14644661,9.14644661 C7.34170876,8.95118446 7.65829124,8.95118446 7.85355339,9.14644661 L13.5,14.7928932 L16.1464466,12.1464466 C16.3417088,11.9511845 16.6582912,11.9511845 16.8535534,12.1464466 L20,15.2928932 Z M20,16.7071068 L16.5,13.2071068 L13.8535534,15.8535534 C13.6582912,16.0488155 13.3417088,16.0488155 13.1464466,15.8535534 L7.5,10.2071068 L4,13.7071068 L4,18.5 C4,19.3284271 4.67157288,20 5.5,20 L18.5,20 C19.3284271,20 20,19.3284271 20,18.5 L20,16.7071068 Z M3,5.5 C3,4.11928813 4.11928813,3 5.5,3 L18.5,3 C19.8807119,3 21,4.11928813 21,5.5 L21,18.5 C21,19.8807119 19.8807119,21 18.5,21 L5.5,21 C4.11928813,21 3,19.8807119 3,18.5 L3,5.5 Z M15,6 L17,6 C17.5522847,6 18,6.44771525 18,7 L18,9 C18,9.55228475 17.5522847,10 17,10 L15,10 C14.4477153,10 14,9.55228475 14,9 L14,7 C14,6.44771525 14.4477153,6 15,6 Z M15,7 L15,9 L17,9 L17,7 L15,7 Z\"/>\n</svg>\n",
10735
+ Do = "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-49.49 -49.49 593.87 593.87\" stroke-width=\"3.95908\" transform=\"rotate(0)\">\n <g stroke-width=\"0\"></g>\n <g stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0.98977\"></g>\n <g>\n <g>\n <g>\n <path d=\"M163.205,76.413v293.301c-3.434-3.058-7.241-5.867-11.486-8.339c-21.38-12.452-49.663-15.298-77.567-7.846 c-49.038,13.096-80.904,54.519-71.038,92.337c4.019,15.404,14.188,28.221,29.404,37.087c13.553,7.894,29.87,11.933,47.115,11.933 c9.962,0,20.231-1.356,30.447-4.087c42.74-11.406,72.411-44.344,72.807-77.654h0.011v-0.162c0.002-0.166,0-0.331,0-0.496V187.072 l290.971-67.3v178.082c-3.433-3.055-7.238-5.863-11.481-8.334c-21.385-12.452-49.654-15.308-77.567-7.846 c-49.038,13.087-80.904,54.519-71.038,92.356c4.019,15.385,14.183,28.212,29.404,37.067c13.548,7.894,29.875,11.933,47.115,11.933 c9.962,0,20.231-1.356,30.452-4.087c42.74-11.413,72.411-44.346,72.804-77.654h0.004v-0.065c0.003-0.236,0.001-0.469,0-0.704V0 L163.205,76.413z M104.999,471.779c-22.543,6.038-45.942,3.846-62.572-5.846c-10.587-6.163-17.591-14.817-20.255-25.038 c-7.144-27.375,18.452-58.029,57.062-68.346c8.409-2.25,16.938-3.346,25.188-3.346c13.87,0,26.962,3.115,37.389,9.192 c10.587,6.163,17.591,14.817,20.255,25.029c0.809,3.102,1.142,6.248,1.139,9.4v0.321h0.014 C162.99,437.714,139.082,462.678,104.999,471.779z M182.898,166.853V92.067l290.971-67.298v74.784L182.898,166.853z M415.677,399.923c-22.558,6.038-45.942,3.837-62.587-5.846c-10.587-6.163-17.587-14.817-20.25-25.019 c-7.144-27.385,18.452-58.058,57.058-68.365c8.414-2.25,16.942-3.346,25.192-3.346c13.875,0,26.962,3.115,37.385,9.192 c10.596,6.163,17.596,14.817,20.26,25.029v0.01c0.796,3.05,1.124,6.144,1.135,9.244v0.468h0.02 C473.668,365.851,449.763,390.814,415.677,399.923z\">\n </path>\n </g>\n </g>\n </g>\n</svg>",
10736
+ Fo = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 5.9266752 5.6408391\" height=\"21.31971\" width=\"22.4\">\n <g>\n <path d=\"m 5.2564627,1.548212 c -3.1136005,-0.4796804 -1.5568006,-0.2398402 0,0 z M 2.0001198,2.0922063 c 0.1556781,0 0.2657489,0.020893 0.3917849,0.080366 0.081154,0.038347 0.1153492,0.134065 0.076377,0.2138602 -0.038973,0.07979 -0.1363527,0.1134129 -0.2175069,0.075091 -0.078199,-0.036919 -0.1407455,-0.048792 -0.250655,-0.048792 -0.2260486,0 -0.3921482,0.2042182 -0.3921482,0.4801409 0,0.2761822 0.1663188,0.4810688 0.3921482,0.4810688 0.1117901,0 0.2064255,-0.046133 0.255659,-0.1284198 l 0.00162,-0.00389 V 3.0534032 l -0.098011,1.75e-4 c -0.081844,0 -0.1495979,-0.059305 -0.1612403,-0.1365887 l -0.00175,-0.023683 c 0,-0.08047 0.060311,-0.1470874 0.1389194,-0.1585331 l 0.024085,-0.00195 h 0.2612303 c 0.081842,0 0.149598,0.059305 0.1612404,0.1365891 l 0.00175,0.023683 -3.398e-4,0.3968809 v 0 l -0.00168,0.014211 v 0 l -0.00553,0.023034 v 0 l -0.00532,0.014145 c -0.098178,0.22826 -0.3236506,0.3528713 -0.5706303,0.3528713 -0.4240855,0 -0.7181621,-0.3622714 -0.7181621,-0.8016063 0,-0.4391857 0.2940275,-0.8006848 0.7181621,-0.8006848 z m 1.2034759,0.031275 c 0.081843,0 0.1495977,0.059305 0.1612403,0.1365891 l 0.00175,0.023683 v 1.2211775 c 0,0.088516 -0.07298,0.1602721 -0.1630073,0.1602721 -0.081841,0 -0.1495972,-0.059305 -0.1612397,-0.1365892 L 3.040589,3.5049308 V 2.2837527 c 0,-0.088516 0.07298,-0.1602721 0.1630067,-0.1602714 z m 0.7813442,0 0.5209469,0.00195 c 0.090025,3.048e-4 0.1627543,0.072306 0.1624458,0.1608234 -2.809e-4,0.08047 -0.06083,0.1468798 -0.1394772,0.158066 l -0.024092,0.00195 -0.3575326,-0.0013 v 0.4497782 l 0.2928918,2.27e-4 c 0.081842,0 0.1495979,0.059305 0.1612403,0.136589 l 0.00175,0.023683 c 0,0.080469 -0.06031,0.1470871 -0.1389193,0.1585393 l -0.024092,0.00195 -0.2928919,-2.336e-4 1.563e-4,0.2860316 c 0,0.080471 -0.06031,0.1470873 -0.1389193,0.1585395 l -0.024085,0.00195 c -0.081843,0 -0.1495979,-0.059305 -0.1612403,-0.1365826 l -0.00175,-0.023691 V 2.2841354 c 2.798e-4,-0.08047 0.060829,-0.1468797 0.1394758,-0.1580594 z\"/>\n <path d=\"m 5.0894191,1.0943261 c 0,-0.21918999 -0.177687,-0.39686999 -0.396876,-0.39686999 h -3.43959 c -0.2191879,0 -0.391262,0.1777519 -0.3968759,0.39686999 l -0.027082,3.4379266 c 0.040152,0.2939927 0.4235456,0.409415 0.4235456,0.409415 l 3.4785583,-0.00851 c 0,0 0.3008506,-0.1402998 0.3236271,-0.4201576 0.042911,-0.5272495 0.034693,-1.6106146 0.034693,-3.4186761 z m -4.49792494,0 c 0,-0.36530999 0.29614504,-0.66145999 0.66145894,-0.66145999 h 3.43959 c 0.365314,0 0.66146,0.29615 0.66146,0.66145999 v 3.43959 c 0,0.36532 -0.296146,0.66146 -0.66146,0.66146 h -3.43959 c -0.3653139,0 -0.66145894,-0.29614 -0.66145894,-0.66146 z\"/>\n </g>\n</svg>\n",
10737
+ Bo = {
10753
10738
  images: {
10754
10739
  id: "upload-images-icon",
10755
- svgString: Do,
10740
+ svgString: No,
10756
10741
  dropupText: "Image"
10757
10742
  },
10758
10743
  gifs: {
10759
10744
  id: "upload-gifs-icon",
10760
- svgString: Bo,
10745
+ svgString: Fo,
10761
10746
  dropupText: "GIF"
10762
10747
  },
10763
10748
  audio: {
10764
10749
  id: "upload-audio-icon",
10765
- svgString: Fo,
10750
+ svgString: Do,
10766
10751
  dropupText: "Audio"
10767
10752
  },
10768
10753
  mixedFiles: {
10769
10754
  id: "upload-mixed-files-icon",
10770
- svgString: No,
10755
+ svgString: Oo,
10771
10756
  dropupText: "File"
10772
10757
  }
10773
10758
  },
10774
- Uo = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<svg height=\"1.4em\" width=\"1.4em\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n\t viewBox=\"0 0 490.9 490.9\" xml:space=\"preserve\">\n\t<g>\n\t\t<g>\n\t\t\t<path d=\"M245.5,322.9c53,0,96.2-43.2,96.2-96.2V96.2c0-53-43.2-96.2-96.2-96.2s-96.2,43.2-96.2,96.2v130.5\n\t\t\t\tC149.3,279.8,192.5,322.9,245.5,322.9z M173.8,96.2c0-39.5,32.2-71.7,71.7-71.7s71.7,32.2,71.7,71.7v130.5\n\t\t\t\tc0,39.5-32.2,71.7-71.7,71.7s-71.7-32.2-71.7-71.7V96.2z\"/>\n\t\t\t<path d=\"M94.4,214.5c-6.8,0-12.3,5.5-12.3,12.3c0,85.9,66.7,156.6,151.1,162.8v76.7h-63.9c-6.8,0-12.3,5.5-12.3,12.3\n\t\t\t\ts5.5,12.3,12.3,12.3h152.3c6.8,0,12.3-5.5,12.3-12.3s-5.5-12.3-12.3-12.3h-63.9v-76.7c84.4-6.3,151.1-76.9,151.1-162.8\n\t\t\t\tc0-6.8-5.5-12.3-12.3-12.3s-12.3,5.5-12.3,12.3c0,76.6-62.3,138.9-138.9,138.9s-138.9-62.3-138.9-138.9\n\t\t\t\tC106.6,220,101.2,214.5,94.4,214.5z\"/>\n\t\t</g>\n\t</g>\n</svg>\n";
10759
+ jo = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<svg height=\"1.4em\" width=\"1.4em\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n\t viewBox=\"0 0 490.9 490.9\" xml:space=\"preserve\">\n\t<g>\n\t\t<g>\n\t\t\t<path d=\"M245.5,322.9c53,0,96.2-43.2,96.2-96.2V96.2c0-53-43.2-96.2-96.2-96.2s-96.2,43.2-96.2,96.2v130.5\n\t\t\t\tC149.3,279.8,192.5,322.9,245.5,322.9z M173.8,96.2c0-39.5,32.2-71.7,71.7-71.7s71.7,32.2,71.7,71.7v130.5\n\t\t\t\tc0,39.5-32.2,71.7-71.7,71.7s-71.7-32.2-71.7-71.7V96.2z\"/>\n\t\t\t<path d=\"M94.4,214.5c-6.8,0-12.3,5.5-12.3,12.3c0,85.9,66.7,156.6,151.1,162.8v76.7h-63.9c-6.8,0-12.3,5.5-12.3,12.3\n\t\t\t\ts5.5,12.3,12.3,12.3h152.3c6.8,0,12.3-5.5,12.3-12.3s-5.5-12.3-12.3-12.3h-63.9v-76.7c84.4-6.3,151.1-76.9,151.1-162.8\n\t\t\t\tc0-6.8-5.5-12.3-12.3-12.3s-12.3,5.5-12.3,12.3c0,76.6-62.3,138.9-138.9,138.9s-138.9-62.3-138.9-138.9\n\t\t\t\tC106.6,220,101.2,214.5,94.4,214.5z\"/>\n\t\t</g>\n\t</g>\n</svg>\n";
10775
10760
  var Pt = /*#__PURE__*/function (_jt2) {
10776
10761
  function Pt(e) {
10777
10762
  var _this50;
@@ -10842,7 +10827,7 @@ var Pt = /*#__PURE__*/function (_jt2) {
10842
10827
  }, {
10843
10828
  key: "createSVGIconElement",
10844
10829
  value: function createSVGIconElement() {
10845
- var e = te.createSVGElement(Uo);
10830
+ var e = te.createSVGElement(jo);
10846
10831
  return e.id = "microphone-icon", e;
10847
10832
  }
10848
10833
  }]);
@@ -10893,31 +10878,31 @@ Object.defineProperty(Ut, "__esModule", {
10893
10878
  value: !0
10894
10879
  });
10895
10880
  Ut.Translate = void 0;
10896
- var Ho = Ye;
10897
- var qo = /*#__PURE__*/function () {
10898
- function qo() {
10899
- _classCallCheck(this, qo);
10881
+ var Uo = Ye;
10882
+ var Ho = /*#__PURE__*/function () {
10883
+ function Ho() {
10884
+ _classCallCheck(this, Ho);
10900
10885
  }
10901
- return _createClass(qo, null, [{
10886
+ return _createClass(Ho, null, [{
10902
10887
  key: "translate",
10903
10888
  value: function translate(e, t) {
10904
- var i = Ho.Text.breakupIntoWordsArr(e);
10889
+ var i = Uo.Text.breakupIntoWordsArr(e);
10905
10890
  for (var n = 0; n < i.length; n += 1) t[i[n]] && (i[n] = t[i[n]]);
10906
10891
  return i.join("");
10907
10892
  }
10908
10893
  }]);
10909
10894
  }();
10910
- Ut.Translate = qo;
10895
+ Ut.Translate = Ho;
10911
10896
  Object.defineProperty(Ti, "__esModule", {
10912
10897
  value: !0
10913
10898
  });
10914
10899
  Ti.WebSpeechTranscript = void 0;
10915
10900
  var Fn = Ut;
10916
- var zo = /*#__PURE__*/function () {
10917
- function zo() {
10918
- _classCallCheck(this, zo);
10901
+ var qo = /*#__PURE__*/function () {
10902
+ function qo() {
10903
+ _classCallCheck(this, qo);
10919
10904
  }
10920
- return _createClass(zo, null, [{
10905
+ return _createClass(qo, null, [{
10921
10906
  key: "extract",
10922
10907
  value: function extract(e, t, i) {
10923
10908
  var n = "";
@@ -10948,7 +10933,7 @@ var zo = /*#__PURE__*/function () {
10948
10933
  }
10949
10934
  }]);
10950
10935
  }();
10951
- Ti.WebSpeechTranscript = zo;
10936
+ Ti.WebSpeechTranscript = qo;
10952
10937
  var mt = {};
10953
10938
  Object.defineProperty(mt, "__esModule", {
10954
10939
  value: !0
@@ -11016,11 +11001,11 @@ Object.defineProperty(ki, "__esModule", {
11016
11001
  value: !0
11017
11002
  });
11018
11003
  ki.PreResultUtils = void 0;
11019
- var Vo = /*#__PURE__*/function () {
11020
- function Vo() {
11021
- _classCallCheck(this, Vo);
11004
+ var zo = /*#__PURE__*/function () {
11005
+ function zo() {
11006
+ _classCallCheck(this, zo);
11022
11007
  }
11023
- return _createClass(Vo, null, [{
11008
+ return _createClass(zo, null, [{
11024
11009
  key: "process",
11025
11010
  value: function process(e, t, i, n, r) {
11026
11011
  var o = n == null ? void 0 : n(t, i);
@@ -11030,7 +11015,7 @@ var Vo = /*#__PURE__*/function () {
11030
11015
  }
11031
11016
  }]);
11032
11017
  }();
11033
- ki.PreResultUtils = Vo;
11018
+ ki.PreResultUtils = zo;
11034
11019
  var qt = {},
11035
11020
  zt = {};
11036
11021
  Object.defineProperty(zt, "__esModule", {
@@ -11078,11 +11063,11 @@ Object.defineProperty(Qe, "__esModule", {
11078
11063
  value: !0
11079
11064
  });
11080
11065
  Qe.Elements = void 0;
11081
- var Go = /*#__PURE__*/function () {
11082
- function Go() {
11083
- _classCallCheck(this, Go);
11066
+ var Vo = /*#__PURE__*/function () {
11067
+ function Vo() {
11068
+ _classCallCheck(this, Vo);
11084
11069
  }
11085
- return _createClass(Go, null, [{
11070
+ return _createClass(Vo, null, [{
11086
11071
  key: "isPrimitiveElement",
11087
11072
  value: function isPrimitiveElement(e) {
11088
11073
  return e.tagName === "INPUT" || e.tagName === "TEXTAREA";
@@ -11124,7 +11109,7 @@ var Go = /*#__PURE__*/function () {
11124
11109
  }
11125
11110
  }]);
11126
11111
  }();
11127
- Qe.Elements = Go;
11112
+ Qe.Elements = Vo;
11128
11113
  var et = {};
11129
11114
  Object.defineProperty(et, "__esModule", {
11130
11115
  value: !0
@@ -11216,8 +11201,8 @@ Object.defineProperty(qt, "__esModule", {
11216
11201
  });
11217
11202
  qt.CommandUtils = void 0;
11218
11203
  var Bn = zt,
11219
- Wo = Qe,
11220
- $o = mt,
11204
+ Go = Qe,
11205
+ Wo = mt,
11221
11206
  jn = et,
11222
11207
  Un = Ye;
11223
11208
  var ne = /*#__PURE__*/function () {
@@ -11253,7 +11238,7 @@ var ne = /*#__PURE__*/function () {
11253
11238
  }, {
11254
11239
  key: "setText",
11255
11240
  value: function setText(e, t, i, n) {
11256
- ne.toggleCommandModeOff(e), Wo.Elements.isPrimitiveElement(n) ? (n.value = i, e.isTargetInShadow || jn.Cursor.setOffsetForPrimitive(n, i.length, !0), $o.Browser.IS_SAFARI() && e.autoScroll && Bn.AutoScroll.scrollSafariPrimitiveToEnd(n)) : (n.textContent = i, e.isTargetInShadow || jn.Cursor.focusEndOfGeneric(n), setTimeout(function () {
11241
+ ne.toggleCommandModeOff(e), Go.Elements.isPrimitiveElement(n) ? (n.value = i, e.isTargetInShadow || jn.Cursor.setOffsetForPrimitive(n, i.length, !0), Wo.Browser.IS_SAFARI() && e.autoScroll && Bn.AutoScroll.scrollSafariPrimitiveToEnd(n)) : (n.textContent = i, e.isTargetInShadow || jn.Cursor.focusEndOfGeneric(n), setTimeout(function () {
11257
11242
  return Bn.AutoScroll.scrollGeneric(e, n);
11258
11243
  })), e.resetRecording(t);
11259
11244
  }
@@ -11320,7 +11305,7 @@ Object.defineProperty(Ai, "__esModule", {
11320
11305
  value: !0
11321
11306
  });
11322
11307
  Ai.Highlight = void 0;
11323
- var Ko = Qe,
11308
+ var $o = Qe,
11324
11309
  bt = et;
11325
11310
  var hi = /*#__PURE__*/function () {
11326
11311
  function hi() {
@@ -11345,7 +11330,7 @@ var hi = /*#__PURE__*/function () {
11345
11330
  }, {
11346
11331
  key: "setState",
11347
11332
  value: function setState(e, t) {
11348
- document.activeElement === t && (Ko.Elements.isPrimitiveElement(t) ? hi.setStateForPrimitive(e, t) : hi.setStateForGeneric(e, t));
11333
+ document.activeElement === t && ($o.Elements.isPrimitiveElement(t) ? hi.setStateForPrimitive(e, t) : hi.setStateForGeneric(e, t));
11349
11334
  }
11350
11335
  }, {
11351
11336
  key: "removeForGeneric",
@@ -11376,7 +11361,7 @@ Object.defineProperty(Mi, "__esModule", {
11376
11361
  value: !0
11377
11362
  });
11378
11363
  Mi.Padding = void 0;
11379
- var Jo = Qe,
11364
+ var Ko = Qe,
11380
11365
  Hn = et,
11381
11366
  it = Ye;
11382
11367
  var ui = /*#__PURE__*/function () {
@@ -11418,7 +11403,7 @@ var ui = /*#__PURE__*/function () {
11418
11403
  }, {
11419
11404
  key: "setState",
11420
11405
  value: function setState(e, t) {
11421
- Jo.Elements.isPrimitiveElement(t) ? ui.setStateForPrimitiveElement(e, t) : ui.setStateForGenericElement(e, t);
11406
+ Ko.Elements.isPrimitiveElement(t) ? ui.setStateForPrimitiveElement(e, t) : ui.setStateForGenericElement(e, t);
11422
11407
  }
11423
11408
  }, {
11424
11409
  key: "adjustStateAfterRecodingPrimitiveElement",
@@ -11442,7 +11427,7 @@ Object.defineProperty(Ht, "__esModule", {
11442
11427
  });
11443
11428
  Ht.Speech = void 0;
11444
11429
  var qn = Ci,
11445
- Xo = ki,
11430
+ Jo = ki,
11446
11431
  zn = qt,
11447
11432
  Kt = zt,
11448
11433
  Hi = Ai,
@@ -11451,12 +11436,12 @@ var qn = Ci,
11451
11436
  Vn = mt,
11452
11437
  Gn = et,
11453
11438
  zi = Ye;
11454
- var Zo = /*#__PURE__*/function () {
11455
- function Zo() {
11456
- _classCallCheck(this, Zo);
11439
+ var Xo = /*#__PURE__*/function () {
11440
+ function Xo() {
11441
+ _classCallCheck(this, Xo);
11457
11442
  this.finalTranscript = "", this.interimSpan = pe.Elements.createInterimSpan(), this.finalSpan = pe.Elements.createGenericSpan(), this.scrollingSpan = pe.Elements.createGenericSpan(), this.isCursorAtEnd = !1, this.spansPopulated = !1, this.startPadding = "", this.endPadding = "", this.numberOfSpacesBeforeNewText = 0, this.numberOfSpacesAfterNewText = 0, this.isHighlighted = !1, this.primitiveTextRecorded = !1, this.recognizing = !1, this._displayInterimResults = !0, this.insertInCursorLocation = !0, this.autoScroll = !0, this.isRestarting = !1, this.isPaused = !1, this.isWaitingForCommand = !1, this.isTargetInShadow = !1, this.cannotBeStopped = !1, this.resetState();
11458
11443
  }
11459
- return _createClass(Zo, [{
11444
+ return _createClass(Xo, [{
11460
11445
  key: "prepareBeforeStart",
11461
11446
  value: function prepareBeforeStart(e) {
11462
11447
  var t, i;
@@ -11489,7 +11474,7 @@ var Zo = /*#__PURE__*/function () {
11489
11474
  var n;
11490
11475
  var r = zi.Text.capitalize(t);
11491
11476
  if (this.finalTranscript === r && e === "") return;
11492
- Xo.PreResultUtils.process(this, i, e === "", this._onPreResult, this._options) && (e = "", i = "");
11477
+ Jo.PreResultUtils.process(this, i, e === "", this._onPreResult, this._options) && (e = "", i = "");
11493
11478
  var o = this.commands && zn.CommandUtils.execCommand(this, i, this._options, this._primitiveElement || this._genericElement, this._originalText);
11494
11479
  if (o) {
11495
11480
  if (o.doNotProcessTranscription) return;
@@ -11559,20 +11544,20 @@ var Zo = /*#__PURE__*/function () {
11559
11544
  }
11560
11545
  }]);
11561
11546
  }();
11562
- Ht.Speech = Zo;
11547
+ Ht.Speech = Xo;
11563
11548
  Object.defineProperty(wi, "__esModule", {
11564
11549
  value: !0
11565
11550
  });
11566
11551
  wi.WebSpeech = void 0;
11567
11552
  var Wn = Ti,
11568
11553
  $n = mt,
11569
- Yo = Ht;
11570
- var fi = /*#__PURE__*/function (_Yo$Speech) {
11554
+ Zo = Ht;
11555
+ var fi = /*#__PURE__*/function (_Zo$Speech) {
11571
11556
  function fi() {
11572
11557
  _classCallCheck(this, fi);
11573
11558
  return _callSuper(this, fi);
11574
11559
  }
11575
- _inherits(fi, _Yo$Speech);
11560
+ _inherits(fi, _Zo$Speech);
11576
11561
  return _createClass(fi, [{
11577
11562
  key: "start",
11578
11563
  value: function start(e) {
@@ -11630,7 +11615,7 @@ var fi = /*#__PURE__*/function (_Yo$Speech) {
11630
11615
  return window.webkitSpeechRecognition || window.SpeechRecognition;
11631
11616
  }
11632
11617
  }]);
11633
- }(Yo.Speech);
11618
+ }(Zo.Speech);
11634
11619
  wi.WebSpeech = fi;
11635
11620
  var Ri = {};
11636
11621
  Object.defineProperty(Ri, "__esModule", {
@@ -11658,11 +11643,11 @@ Object.defineProperty(Li, "__esModule", {
11658
11643
  value: !0
11659
11644
  });
11660
11645
  Li.PreventConnectionStop = void 0;
11661
- var Qo = /*#__PURE__*/function () {
11662
- function Qo() {
11663
- _classCallCheck(this, Qo);
11646
+ var Yo = /*#__PURE__*/function () {
11647
+ function Yo() {
11648
+ _classCallCheck(this, Yo);
11664
11649
  }
11665
- return _createClass(Qo, null, [{
11650
+ return _createClass(Yo, null, [{
11666
11651
  key: "applyPrevention",
11667
11652
  value: function applyPrevention(e) {
11668
11653
  clearTimeout(e._manualConnectionStopPrevention), e.cannotBeStopped = !0, e._manualConnectionStopPrevention = setTimeout(function () {
@@ -11676,7 +11661,7 @@ var Qo = /*#__PURE__*/function () {
11676
11661
  }
11677
11662
  }]);
11678
11663
  }();
11679
- Li.PreventConnectionStop = Qo;
11664
+ Li.PreventConnectionStop = Yo;
11680
11665
  var Pi = {},
11681
11666
  Oi = {};
11682
11667
  Object.defineProperty(Oi, "__esModule", {
@@ -11787,17 +11772,17 @@ Object.defineProperty(Di, "__esModule", {
11787
11772
  value: !0
11788
11773
  });
11789
11774
  Di.AzureTranscript = void 0;
11790
- var ea = Ut;
11791
- var ta = /*#__PURE__*/function () {
11792
- function ta() {
11793
- _classCallCheck(this, ta);
11775
+ var Qo = Ut;
11776
+ var ea = /*#__PURE__*/function () {
11777
+ function ea() {
11778
+ _classCallCheck(this, ea);
11794
11779
  }
11795
- return _createClass(ta, null, [{
11780
+ return _createClass(ea, null, [{
11796
11781
  key: "extract",
11797
11782
  value:
11798
11783
  // newText is used to only send new text in onResult as finalTranscript is continuously accumulated
11799
11784
  function extract(e, t, i, n) {
11800
- return n && (e = ea.Translate.translate(e, n)), i ? {
11785
+ return n && (e = Qo.Translate.translate(e, n)), i ? {
11801
11786
  interimTranscript: "",
11802
11787
  finalTranscript: t + e,
11803
11788
  newText: e
@@ -11809,7 +11794,7 @@ var ta = /*#__PURE__*/function () {
11809
11794
  }
11810
11795
  }]);
11811
11796
  }();
11812
- Di.AzureTranscript = ta;
11797
+ Di.AzureTranscript = ea;
11813
11798
  Object.defineProperty(Ii, "__esModule", {
11814
11799
  value: !0
11815
11800
  });
@@ -11818,15 +11803,15 @@ var Kn = Li,
11818
11803
  Jn = Pi,
11819
11804
  Gi = Ni,
11820
11805
  Xn = Di,
11821
- ia = Ht;
11822
- var mi = /*#__PURE__*/function (_ia$Speech) {
11806
+ ta = Ht;
11807
+ var mi = /*#__PURE__*/function (_ta$Speech) {
11823
11808
  function mi() {
11824
11809
  var _this53;
11825
11810
  _classCallCheck(this, mi);
11826
11811
  _this53 = _callSuper(this, mi, arguments), _this53._newTextPadding = "";
11827
11812
  return _this53;
11828
11813
  }
11829
- _inherits(mi, _ia$Speech);
11814
+ _inherits(mi, _ta$Speech);
11830
11815
  return _createClass(mi, [{
11831
11816
  key: "start",
11832
11817
  value: function start(e, t) {
@@ -11984,15 +11969,15 @@ var mi = /*#__PURE__*/function (_ia$Speech) {
11984
11969
  return window.SpeechSDK;
11985
11970
  }
11986
11971
  }]);
11987
- }(ia.Speech);
11972
+ }(ta.Speech);
11988
11973
  Ii.Azure = mi;
11989
11974
  Object.defineProperty(ds, "__esModule", {
11990
11975
  value: !0
11991
11976
  });
11992
11977
  var Zn = wi,
11993
- na = qt,
11978
+ ia = qt,
11994
11979
  le = Ri,
11995
- sa = Ii;
11980
+ na = Ii;
11996
11981
  var nt = /*#__PURE__*/function () {
11997
11982
  function nt() {
11998
11983
  _classCallCheck(this, nt);
@@ -12018,7 +12003,7 @@ var nt = /*#__PURE__*/function () {
12018
12003
  key: "startAzure",
12019
12004
  value: function startAzure(e) {
12020
12005
  var t;
12021
- nt.stop() || !((t = le.GlobalState.service) === null || t === void 0) && t.cannotBeStopped || (le.GlobalState.service = new sa.Azure(), le.GlobalState.service.start(e));
12006
+ nt.stop() || !((t = le.GlobalState.service) === null || t === void 0) && t.cannotBeStopped || (le.GlobalState.service = new na.Azure(), le.GlobalState.service.start(e));
12022
12007
  }
12023
12008
  }, {
12024
12009
  key: "stop",
@@ -12029,17 +12014,17 @@ var nt = /*#__PURE__*/function () {
12029
12014
  }, {
12030
12015
  key: "endCommandMode",
12031
12016
  value: function endCommandMode() {
12032
- le.GlobalState.service && na.CommandUtils.toggleCommandModeOff(le.GlobalState.service);
12017
+ le.GlobalState.service && ia.CommandUtils.toggleCommandModeOff(le.GlobalState.service);
12033
12018
  }
12034
12019
  }]);
12035
12020
  }();
12036
12021
  var Jt = ds["default"] = nt;
12037
- var ra = /*#__PURE__*/function () {
12038
- function ra(e, t) {
12039
- _classCallCheck(this, ra);
12022
+ var sa = /*#__PURE__*/function () {
12023
+ function sa(e, t) {
12024
+ _classCallCheck(this, sa);
12040
12025
  this.silenceMS = 2e3, this.stop = !0, typeof t == "boolean" && t === !1 && (this.stop = !1), typeof e == "number" && (this.silenceMS = e);
12041
12026
  }
12042
- return _createClass(ra, [{
12027
+ return _createClass(sa, [{
12043
12028
  key: "setSilenceTimeout",
12044
12029
  value: function setSilenceTimeout(e, t) {
12045
12030
  var _this55 = this;
@@ -12109,7 +12094,7 @@ var kt = /*#__PURE__*/function (_Pt) {
12109
12094
  restart: !0,
12110
12095
  removeNewText: !0
12111
12096
  }) : null;
12112
- }), i.submitAfterSilence && (this._silenceSubmit = new ra(i.submitAfterSilence, i.stopAfterSubmit)), {
12097
+ }), i.submitAfterSilence && (this._silenceSubmit = new sa(i.submitAfterSilence, i.stopAfterSubmit)), {
12113
12098
  serviceName: kt.getServiceName(i),
12114
12099
  processedConfig: o
12115
12100
  };
@@ -12312,7 +12297,7 @@ var Te = /*#__PURE__*/function () {
12312
12297
  }
12313
12298
  }]);
12314
12299
  }();
12315
- var oa = "<?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 <title>play</title>\n <path d=\"M5.92 24.096q0 1.088 0.928 1.728 0.512 0.288 1.088 0.288 0.448 0 0.896-0.224l16.16-8.064q0.48-0.256 0.8-0.736t0.288-1.088-0.288-1.056-0.8-0.736l-16.16-8.064q-0.448-0.224-0.896-0.224-0.544 0-1.088 0.288-0.928 0.608-0.928 1.728v16.16z\"></path>\n</svg>",
12300
+ var ra = "<?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 <title>play</title>\n <path d=\"M5.92 24.096q0 1.088 0.928 1.728 0.512 0.288 1.088 0.288 0.448 0 0.896-0.224l16.16-8.064q0.48-0.256 0.8-0.736t0.288-1.088-0.288-1.056-0.8-0.736l-16.16-8.064q-0.448-0.224-0.896-0.224-0.544 0-1.088 0.288-0.928 0.608-0.928 1.728v16.16z\"></path>\n</svg>",
12316
12301
  Yn = "<?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<title>stop</title>\n<path d=\"M5.92 24.096q0 0.832 0.576 1.408t1.44 0.608h16.128q0.832 0 1.44-0.608t0.576-1.408v-16.16q0-0.832-0.576-1.44t-1.44-0.576h-16.128q-0.832 0-1.44 0.576t-0.576 1.44v16.16z\"></path>\n</svg>",
12317
12302
  _e = /*#__PURE__*/function (_Te) {
12318
12303
  // prettier-ignore
@@ -12399,7 +12384,7 @@ var oa = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\"
12399
12384
  var i = e.parentElement ? q.cloneElement(e) : e,
12400
12385
  n = document.createElement("audio");
12401
12386
  n.src = t;
12402
- var r = te.createSVGElement(oa);
12387
+ var r = te.createSVGElement(ra);
12403
12388
  r.classList.add("attachment-icon", "play-icon");
12404
12389
  var o = te.createSVGElement(Yn);
12405
12390
  o.classList.add("attachment-icon", "stop-icon"), i.replaceChildren(r), n.onplay = function () {
@@ -12428,11 +12413,11 @@ var oa = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\"
12428
12413
  }(Te);
12429
12414
  _e.TIMER_LIMIT_S = 5999;
12430
12415
  var Dt = _e;
12431
- var aa = /*#__PURE__*/function () {
12432
- function aa() {
12433
- _classCallCheck(this, aa);
12416
+ var oa = /*#__PURE__*/function () {
12417
+ function oa() {
12418
+ _classCallCheck(this, oa);
12434
12419
  }
12435
- return _createClass(aa, null, [{
12420
+ return _createClass(oa, null, [{
12436
12421
  key: "create",
12437
12422
  value:
12438
12423
  // prettier-ignore
@@ -12452,7 +12437,7 @@ var Vt = /*#__PURE__*/function () {
12452
12437
  return _createClass(Vt, [{
12453
12438
  key: "addType",
12454
12439
  value: function addType(e, t, i) {
12455
- var n = aa.create(e, t, this.toggleContainerDisplay.bind(this), this.elementRef, i);
12440
+ var n = oa.create(e, t, this.toggleContainerDisplay.bind(this), this.elementRef, i);
12456
12441
  return this._fileAttachmentsTypes.push(n), n;
12457
12442
  }
12458
12443
  }, {
@@ -12886,16 +12871,16 @@ var hs = /*#__PURE__*/function () {
12886
12871
  }
12887
12872
  }]);
12888
12873
  }();
12889
- var la = /*#__PURE__*/function (_Pt2) {
12890
- function la(e, t) {
12874
+ var aa = /*#__PURE__*/function (_Pt2) {
12875
+ function aa(e, t) {
12891
12876
  var _this65;
12892
- _classCallCheck(this, la);
12877
+ _classCallCheck(this, aa);
12893
12878
  var i, n;
12894
- _this65 = _callSuper(this, la, [t.button]), _this65._waitingForBrowserApproval = !1, _this65._audioType = e, _this65._extension = ((i = t.files) == null ? void 0 : i.format) || "mp3", _this65._maxDurationSeconds = (n = t.files) == null ? void 0 : n.maxDurationSeconds, _this65.elementRef.onclick = _this65.buttonClick.bind(_assertThisInitialized(_this65));
12879
+ _this65 = _callSuper(this, aa, [t.button]), _this65._waitingForBrowserApproval = !1, _this65._audioType = e, _this65._extension = ((i = t.files) == null ? void 0 : i.format) || "mp3", _this65._maxDurationSeconds = (n = t.files) == null ? void 0 : n.maxDurationSeconds, _this65.elementRef.onclick = _this65.buttonClick.bind(_assertThisInitialized(_this65));
12895
12880
  return _this65;
12896
12881
  }
12897
- _inherits(la, _Pt2);
12898
- return _createClass(la, [{
12882
+ _inherits(aa, _Pt2);
12883
+ return _createClass(aa, [{
12899
12884
  key: "buttonClick",
12900
12885
  value: function buttonClick() {
12901
12886
  this._waitingForBrowserApproval || (this.isActive ? this.stop() : (this._waitingForBrowserApproval = !0, this.record()));
@@ -12947,7 +12932,7 @@ var la = /*#__PURE__*/function (_Pt2) {
12947
12932
  }
12948
12933
  }]);
12949
12934
  }(Pt);
12950
- var ca = "<?xml version=\"1.0\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.0//EN\" \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n<svg xmlns=\"http://www.w3.org/2000/svg\" stroke=\"currentColor\" fill=\"none\" stroke-width=\"1\" viewBox=\"0 0 24 24\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"14\"></line>\n <polygon points=\"22 2 15 22 11 14 2 10 22 2\"></polygon>\n</svg>\n";
12935
+ var la = "<?xml version=\"1.0\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.0//EN\" \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n<svg xmlns=\"http://www.w3.org/2000/svg\" stroke=\"currentColor\" fill=\"none\" stroke-width=\"1\" viewBox=\"0 0 24 24\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"14\"></line>\n <polygon points=\"22 2 15 22 11 14 2 10 22 2\"></polygon>\n</svg>\n";
12951
12936
  var $ = /*#__PURE__*/function () {
12952
12937
  function $() {
12953
12938
  _classCallCheck(this, $);
@@ -13303,7 +13288,7 @@ var k = /*#__PURE__*/function (_jt4) {
13303
13288
  }, {
13304
13289
  key: "createSubmitIconElement",
13305
13290
  value: function createSubmitIconElement() {
13306
- var e = te.createSVGElement(ca);
13291
+ var e = te.createSVGElement(la);
13307
13292
  return e.id = "submit-icon", e;
13308
13293
  }
13309
13294
  }, {
@@ -13322,10 +13307,10 @@ var k = /*#__PURE__*/function (_jt4) {
13322
13307
  }(jt);
13323
13308
  k.SUBMIT_CLASS = "submit-button", k.LOADING_CLASS = "loading-button", k.DISABLED_CLASS = "disabled-button";
13324
13309
  var ln = k;
13325
- var da = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M27.1 14.313V5.396L24.158 8.34c-2.33-2.325-5.033-3.503-8.11-3.503C9.902 4.837 4.901 9.847 4.899 16c.001 6.152 5.003 11.158 11.15 11.16 4.276 0 9.369-2.227 10.836-8.478l.028-.122h-3.23l-.022.068c-1.078 3.242-4.138 5.421-7.613 5.421a8 8 0 0 1-5.691-2.359A7.993 7.993 0 0 1 8 16.001c0-4.438 3.611-8.049 8.05-8.049 2.069 0 3.638.58 5.924 2.573l-3.792 3.789H27.1z\"/>\n</svg>\n",
13326
- ha = "<?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 <title>capture</title>\n <path d=\"M0 16q0 3.264 1.28 6.208t3.392 5.12 5.12 3.424 6.208 1.248 6.208-1.248 5.12-3.424 3.392-5.12 1.28-6.208-1.28-6.208-3.392-5.12-5.088-3.392-6.24-1.28q-3.264 0-6.208 1.28t-5.12 3.392-3.392 5.12-1.28 6.208zM4 16q0-3.264 1.6-6.016t4.384-4.352 6.016-1.632 6.016 1.632 4.384 4.352 1.6 6.016-1.6 6.048-4.384 4.352-6.016 1.6-6.016-1.6-4.384-4.352-1.6-6.048z\"></path>\n</svg>\n",
13327
- ua = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z\"/>\n</svg>",
13328
- fa = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.89163 13.2687L9.16582 17.5427L18.7085 8\" stroke=\"#000000\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>";
13310
+ var ca = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M27.1 14.313V5.396L24.158 8.34c-2.33-2.325-5.033-3.503-8.11-3.503C9.902 4.837 4.901 9.847 4.899 16c.001 6.152 5.003 11.158 11.15 11.16 4.276 0 9.369-2.227 10.836-8.478l.028-.122h-3.23l-.022.068c-1.078 3.242-4.138 5.421-7.613 5.421a8 8 0 0 1-5.691-2.359A7.993 7.993 0 0 1 8 16.001c0-4.438 3.611-8.049 8.05-8.049 2.069 0 3.638.58 5.924 2.573l-3.792 3.789H27.1z\"/>\n</svg>\n",
13311
+ da = "<?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 <title>capture</title>\n <path d=\"M0 16q0 3.264 1.28 6.208t3.392 5.12 5.12 3.424 6.208 1.248 6.208-1.248 5.12-3.424 3.392-5.12 1.28-6.208-1.28-6.208-3.392-5.12-5.088-3.392-6.24-1.28q-3.264 0-6.208 1.28t-5.12 3.392-3.392 5.12-1.28 6.208zM4 16q0-3.264 1.6-6.016t4.384-4.352 6.016-1.632 6.016 1.632 4.384 4.352 1.6 6.016-1.6 6.048-4.384 4.352-6.016 1.6-6.016-1.6-4.384-4.352-1.6-6.048z\"></path>\n</svg>\n",
13312
+ ha = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z\"/>\n</svg>",
13313
+ ua = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.89163 13.2687L9.16582 17.5427L18.7085 8\" stroke=\"#000000\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>";
13329
13314
  var vn = /*#__PURE__*/function (_Ve) {
13330
13315
  // prettier-ignore
13331
13316
  function vn(e, t, i, n) {
@@ -13335,18 +13320,18 @@ var vn = /*#__PURE__*/function (_Ve) {
13335
13320
  var _this73$addButtonsAnd = _this73.addButtonsAndTheirEvents(t),
13336
13321
  r = _this73$addButtonsAnd.captureButton,
13337
13322
  o = _this73$addButtonsAnd.submitButton;
13338
- _this73._captureButton = r, _this73._submitButton = o, _this73._captureIcon = _this73._captureButton.children[0], _this73._refreshIcon = te.createSVGElement(da), _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;
13323
+ _this73._captureButton = r, _this73._submitButton = o, _this73._captureIcon = _this73._captureButton.children[0], _this73._refreshIcon = te.createSVGElement(ca), _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;
13339
13324
  return _this73;
13340
13325
  }
13341
13326
  _inherits(vn, _Ve);
13342
13327
  return _createClass(vn, [{
13343
13328
  key: "addButtonsAndTheirEvents",
13344
13329
  value: function addButtonsAndTheirEvents(e) {
13345
- var t = Ve.createSVGButton(ha);
13330
+ var t = Ve.createSVGButton(da);
13346
13331
  t.classList.add("modal-svg-camera-button"), t.children[0].classList.add("modal-svg-camera-icon");
13347
- var i = this.addCloseButton(ua, !0);
13332
+ var i = this.addCloseButton(ha, !0);
13348
13333
  i.classList.add("modal-svg-close-button"), i.children[0].classList.add("modal-svg-close-icon");
13349
- var n = Ve.createSVGButton(fa);
13334
+ var n = Ve.createSVGButton(ua);
13350
13335
  return n.classList.add("modal-svg-submit-button"), this.addButtons(t, n), this.addButtonEvents(t, i, n, e), {
13351
13336
  captureButton: t,
13352
13337
  submitButton: n
@@ -13439,7 +13424,7 @@ var vn = /*#__PURE__*/function (_Ve) {
13439
13424
  }
13440
13425
  }]);
13441
13426
  }(Ve);
13442
- var pa = "<?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=\"M29 7h-4.599l-2.401-4h-12l-2.4 4h-4.6c-1 0-3 1-3 2.969v16.031c0 1.657 1.5 3 2.792 3h26.271c1.313 0 2.938-1.406 2.938-2.968v-16.032c0-1-1-3-3-3zM30 26.032c0 0.395-0.639 0.947-0.937 0.969h-26.265c-0.232-0.019-0.797-0.47-0.797-1v-16.031c0-0.634 0.851-0.953 1-0.969h5.732l2.4-4h9.802l1.785 3.030 0.55 0.97h5.731c0.705 0 0.99 0.921 1 1v16.032zM16 10c-3.866 0-7 3.134-7 7s3.134 7 7 7 7-3.134 7-7-3.134-7-7-7zM16 22c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5z\"></path>\n</svg>";
13427
+ var fa = "<?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=\"M29 7h-4.599l-2.401-4h-12l-2.4 4h-4.6c-1 0-3 1-3 2.969v16.031c0 1.657 1.5 3 2.792 3h26.271c1.313 0 2.938-1.406 2.938-2.968v-16.032c0-1-1-3-3-3zM30 26.032c0 0.395-0.639 0.947-0.937 0.969h-26.265c-0.232-0.019-0.797-0.47-0.797-1v-16.031c0-0.634 0.851-0.953 1-0.969h5.732l2.4-4h9.802l1.785 3.030 0.55 0.97h5.731c0.705 0 0.99 0.921 1 1v16.032zM16 10c-3.866 0-7 3.134-7 7s3.134 7 7 7 7-3.134 7-7-3.134-7-7-7zM16 22c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5z\"></path>\n</svg>";
13443
13428
  var gi = /*#__PURE__*/function (_jt5) {
13444
13429
  function gi(e, t, i) {
13445
13430
  var _this77;
@@ -13479,7 +13464,7 @@ var gi = /*#__PURE__*/function (_jt5) {
13479
13464
  }, {
13480
13465
  key: "createSVGIconElement",
13481
13466
  value: function createSVGIconElement() {
13482
- var e = te.createSVGElement(pa);
13467
+ var e = te.createSVGElement(fa);
13483
13468
  return e.id = "camera-icon", e;
13484
13469
  }
13485
13470
  }]);
@@ -13515,7 +13500,7 @@ var wt = /*#__PURE__*/function () {
13515
13500
  if ((l = t.recordAudio) != null && l.files) {
13516
13501
  var _d = ((c = n.audio) == null ? void 0 : c.fileType) || r.addType(e, t.recordAudio.files, "audio");
13517
13502
  n.microphone = {
13518
- button: new la(_d, t.recordAudio)
13503
+ button: new aa(_d, t.recordAudio)
13519
13504
  };
13520
13505
  }
13521
13506
  return Se.isEnabled(r, e.dragAndDrop) && Se.create(i, r, e.dragAndDrop), r;
@@ -13535,10 +13520,10 @@ var wt = /*#__PURE__*/function () {
13535
13520
  l = t[a];
13536
13521
  if (l.files) {
13537
13522
  var c = i.addType(e, l.files, a),
13538
- _jo$a = jo[a],
13539
- d = _jo$a.id,
13540
- h = _jo$a.svgString,
13541
- u = _jo$a.dropupText,
13523
+ _Bo$a = Bo[a],
13524
+ d = _Bo$a.id,
13525
+ h = _Bo$a.svgString,
13526
+ u = _Bo$a.dropupText,
13542
13527
  f = new St(n, c, l, d, h, u);
13543
13528
  r[a] = {
13544
13529
  button: f,
@@ -13580,12 +13565,12 @@ var yn = /*#__PURE__*/function () {
13580
13565
  }
13581
13566
  }]);
13582
13567
  }();
13583
- var ma = "#validate-property-key-view{height:100%;position:relative;display:flex;justify-content:center;align-items:center;padding:8px}#large-loading-ring{display:inline-block;width:50px;height:50px}#large-loading-ring:after{content:\" \";display:block;width:38px;height:38px;margin:1px;border-radius:50%;border:5px solid #5fb2ff;border-color:#5fb2ff transparent #5fb2ff transparent;animation:large-loading-ring 1.4s linear infinite}@keyframes large-loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#insert-key-view{height:100%;position:relative}#insert-key-contents{text-align:center;position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);width:82%;display:flex;max-width:700px}#insert-key-title{margin-bottom:15px}#insert-key-input-container{margin-right:2.7em;width:calc(100% - 80px)}#insert-key-input{padding:.3em 1.7em .3em .3em;border-width:1px;border-style:solid;border-radius:3px;width:100%;font-size:inherit}.insert-key-input-valid{border-color:gray}.insert-key-input-invalid{border-color:red}#visibility-icon-container{position:relative;float:right;cursor:pointer;-webkit-user-select:none;user-select:none}.visibility-icon{filter:brightness(0) saturate(100%) invert(63%) sepia(1%) saturate(9%) hue-rotate(43deg) brightness(98%) contrast(92%);position:absolute;right:-1.7em;top:-1.43em}#visible-icon{top:-1.4em}.visibility-icon:hover{filter:unset}.visibility-icon>*{pointer-events:none}#start-button{border:1px solid grey;color:#454545;border-radius:4px;width:3em;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:.28em .3em;-webkit-user-select:none;user-select:none;background-color:#fff}#start-button:hover{background-color:#f2f2f2}#start-button:active{background-color:#d2d2d2}#insert-key-help-text-container{width:100%;position:absolute;margin-top:32px;margin-bottom:20px}#insert-key-help-text-contents{width:100%;position:absolute}#insert-key-input-invalid-text{display:block;margin-top:1em;margin-bottom:.5em;color:red}.insert-key-input-help-text{display:block;margin-top:16px}#loading-ring{display:inline-block;width:16px;height:16px}#loading-ring:after{content:\" \";display:block;width:11px;height:11px;margin:1px;border-radius:50%;border:2px solid #0084ff;border-color:#0084ff transparent #0084ff transparent;animation:loading-ring 1.2s linear infinite}@keyframes loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#error-view{color:red;font-size:1.2em;line-height:1.3em;margin-top:-5px;text-align:center;height:100%;display:flex;justify-content:center;align-items:center;padding-left:8px;padding-right:8px}.intro-panel{position:absolute;display:flex;justify-content:center;right:0;bottom:0;left:0;margin:auto;height:fit-content;top:-2.5em}#internal-intro-panel{width:250px;height:min-content;display:block;border-radius:5px;overflow:auto;border:1px solid rgb(203,203,203);padding:10px;max-height:calc(100% - 6.8em)}#internal-intro-panel>p{margin-block-start:.8em;margin-block-end:.8em}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: a11y-dark\n Author: @ericwbailey\n Maintainer: @ericwbailey\n\n Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css\n*/.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}#messages{overflow:auto}.outer-message-container:last-child{margin-bottom:5px}.inner-message-container{display:flex;margin-left:auto;margin-right:auto;width:calc(97.5% - 24px);max-width:100%}.message-bubble{margin-top:10px;word-wrap:break-word;width:fit-content;max-width:60%;border-radius:10px;padding:.42em .55em;height:fit-content;line-height:1.26em}.user-message-text{color:#fff;background-color:#0084ff;margin-right:0;margin-left:auto}.ai-message-text{color:#000;background-color:#e4e6eb;margin-left:0;margin-right:auto}.html-message{max-width:unset}.error-message-text{margin:14px auto 10px;background-color:#f4c0c0;color:#474747;text-align:center;max-width:95%}.loading-message-text{width:1em;padding:.6em .75em .6em 1.3em}.message-bubble>p:first-child{margin-top:0}.message-bubble>p:last-child{margin-bottom:0}pre{overflow:auto;display:block;word-break:break-all;word-wrap:break-word;border-radius:7px;background:#2b2b2b;color:#f8f8f2;margin-top:.8em;margin-bottom:.8em;padding:.6em;font-size:.9em;line-height:1.5em}.image-message{padding:0;display:flex;background-color:#ddd}.image-message>*,.image-message>*>*{width:100%;border-radius:8px;display:flex}.audio-message{width:60%;max-width:300px;height:2.2em;max-height:54px;padding:0;background-color:unset}.audio-player{width:100%;height:100%}.audio-player-safari{height:fit-content;width:40px}.audio-player-safari-left{float:left}.audio-player-safari-right{float:right}.any-file-message-bubble{padding:1px}.any-file-message-contents{display:flex}.any-file-message-icon-container{width:1.3em;min-width:1.3em;position:relative;border-radius:4px;margin-left:6px;margin-right:2px}.any-file-message-icon{background-color:#fff;border-radius:4px;position:absolute;width:1em;height:1.25em;padding:1px;margin-top:auto;margin-bottom:auto;top:0;bottom:0}.any-file-message-text{padding-top:5px;overflow-wrap:anywhere;padding-bottom:5px;padding-right:7px}.message-bubble>a{color:inherit}.left-item-position{margin-right:10px}.right-item-position{margin-left:10px}.avatar{padding-top:5px;width:1.5em;height:1.5em;border-radius:1px}.avatar-container{margin-top:9px}.name{margin-top:16px;font-size:15px}#drag-and-drop{position:absolute;display:none;z-index:10;height:calc(100% - 10px);width:calc(100% - 10px);background-color:#70c6ff4d;border:5px dashed #6dafff}#file-attachment-container{position:absolute;height:3.6em;width:calc(80% - 4px);top:-2.5em;border-radius:5px;overflow:auto;text-align:left;background-color:#d7d7d73b;padding-left:4px}.file-attachment{width:2.85em;height:2.85em;display:inline-flex;margin-right:.6em;margin-bottom:.44em;margin-top:4px;position:relative;background-color:#fff;border-radius:5px}.image-attachment{width:100%;height:100%;object-fit:cover;border-radius:5px}.border-bound-attachment{width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid #c3c3c3;border-radius:5px;overflow:hidden}.border-bound-attachment-safari{width:calc(100% - 1px);height:calc(100% - 1px)}.audio-attachment-icon-container{cursor:pointer}.audio-attachment-icon-container:hover{background-color:#f8f8f8}.attachment-icon{left:0;right:0;bottom:0;top:2px;margin:auto;position:absolute;width:25px;-webkit-user-select:none;user-select:none}.not-removable-attachment-icon{top:0;right:0;bottom:0;left:0}.play-icon{filter:brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(1392%) hue-rotate(67deg) brightness(98%) contrast(97%)}.stop-icon{filter:brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(1228%) hue-rotate(198deg) brightness(93%) contrast(98%)}.audio-placeholder-text-3-digits{padding-left:.26rem}.audio-placeholder-text-4-digits{padding-left:.1rem}.any-file-attachment{padding:2px 0}.file-attachment-text-container{position:absolute;width:inherit;display:flex;align-items:center;height:100%;top:-1px}.audio-placeholder-text-3-digits-container{padding-top:1px;cursor:default}.any-file-attachment-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-left:.13em;margin-left:auto;margin-right:auto}.remove-file-attachment-button{height:1.25em;width:1.25em;border:1px solid #cfcfcf;border-radius:25px;background-color:#fff;top:-4px;right:-5px;position:absolute;display:flex;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.remove-file-attachment-button:hover{background-color:#e4e4e4}.remove-file-attachment-button:active{background-color:#d7d7d7}.x-icon{color:#4e4e4e;top:-.075em;position:relative;font-size:1.05em}.modal{display:none;flex-direction:column;align-items:center;justify-content:center;position:absolute;width:80%;max-width:420px;max-height:80%;margin:auto;top:0;right:0;bottom:0;left:0;z-index:2}.modal-content{border-top:1px solid rgb(217,217,217);border-left:1px solid rgb(217,217,217);border-right:1px solid rgb(217,217,217);border-top-left-radius:inherit;border-top-right-radius:inherit;background-color:#fff;overflow-y:auto;height:fit-content;max-height:calc(100% - 3.3em);width:100%}.modal-content>p{margin-left:1em;margin-right:1em}.modal-content>ul{margin-right:1em}.modal-button-panel{height:3.3em;border:1px solid;border-color:rgb(223,223,223) rgb(217,217,217) rgb(217,217,217);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background-color:#fff;text-align:center;justify-content:center;display:flex;width:100%}.modal-button{min-width:2.5em;text-align:center;color:#fff;border-radius:5px;padding:.4em .4em .3em;height:1.25em;background-color:#3279b2;top:0;bottom:0;cursor:pointer;-webkit-user-select:none;user-select:none;margin:auto .31em}.modal-button:hover{background-color:#276da7}.modal-button:active{background-color:#1b5687}.modal-svg-button{padding:0 0 2px;width:2em;height:1.8em}.modal-svg-button-icon{width:100%;height:100%;filter:brightness(0) saturate(100%) invert(100%) sepia(15%) saturate(4%) hue-rotate(346deg) brightness(101%) contrast(102%)}#modal-background-panel{position:absolute;width:100%;height:100%;background-color:#00000042;z-index:1;display:none}.show-modal-background{animation:fadeInBackground .3s ease-in-out}@keyframes fadeInBackground{0%{opacity:0}to{opacity:1}}.show-modal{animation:fadeInModal .3s ease-in-out}@keyframes fadeInModal{0%{opacity:0;scale:.95}to{opacity:1;scale:1}}.hide-modal-background{animation:fadeOutBackground .2s ease-in-out}@keyframes fadeOutBackground{0%{opacity:1}to{opacity:0}}.hide-modal{animation:fadeOutModal .2s ease-in-out}@keyframes fadeOutModal{0%{opacity:1;scale:1}to{opacity:0;scale:.95}}.modal-camera-content{overflow:hidden;text-align:center;border:unset;height:100%;background-color:#2a2a2a;display:flex;justify-content:center}.camera-modal-canvas{max-width:100%;max-height:100%;margin-top:auto;margin-bottom:auto}.modal-svg-submit-button{background-color:green}.modal-svg-submit-button:hover{background-color:#007500}.modal-svg-submit-button:active{background-color:#006500}.modal-svg-submit-disabled{pointer-events:none;background-color:#747474}.modal-svg-close-button{height:1.56em;padding-top:.37em;padding-bottom:0;background-color:#c13e3e}.modal-svg-close-button:hover{background-color:#b43434}.modal-svg-close-button:active{background-color:#972929}.modal-svg-close-icon{width:80%;height:80%}.modal-svg-camera-button{height:1.6em;padding-top:.38em;padding-bottom:0}.modal-svg-camera-icon{height:76%}.modal-svg-refresh-icon{height:105%}.modal-svg-refresh-button{height:1.66em;padding-top:.11em;padding-bottom:.21em}.input-button-container{position:relative;z-index:1}.inside-right{position:absolute;right:calc(10% + .35em);bottom:.85em}.inside-left{position:absolute;left:calc(10% + .35em);bottom:.85em}.outside-left{position:absolute;right:calc(11px - .55em);bottom:.88em}.outside-right{position:absolute;left:calc(11px - .55em);bottom:.88em}#upload-images-icon{position:absolute;pointer-events:none;width:1.45em;height:1.45em;left:.11em;bottom:.08em;filter:brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(740%) hue-rotate(77deg) brightness(99%) contrast(92%)}#upload-gifs-icon{position:absolute;pointer-events:none;width:1.5em;height:1.48em;left:.07em;bottom:.08em;filter:brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(2586%) hue-rotate(12deg) brightness(93%) contrast(90%)}#upload-audio-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.17em;bottom:.2em;filter:brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(337%) hue-rotate(125deg) brightness(91%) contrast(94%);transform:scaleX(.95)}#camera-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.23em;bottom:.2em;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(161%) hue-rotate(164deg) brightness(91%) contrast(92%);transform:scaleX(.95)}#upload-mixed-files-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.2em;filter:brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(36%) hue-rotate(74deg) brightness(98%) contrast(93%);transform:scaleX(.95)}#interim-text{color:gray}#microphone-button{padding-top:.5px}.outer-button-container>#microphone-button{padding-bottom:1px}#microphone-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.25em}.default-microphone-icon{filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%)}.active-microphone-icon{filter:brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(7495%) hue-rotate(0deg) brightness(101%) contrast(107%);border-radius:10px}.command-microphone-icon{filter:brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(1067%) hue-rotate(77deg) brightness(99%) contrast(102%)}.unsupported-microphone{display:none}#submit-icon{height:100%;filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%);width:1.21em}#stop-icon{background-color:#acacac;position:absolute;width:.95em;height:.95em;left:.35em;bottom:.35em;border-radius:2px}.submit-button-enlarged{scale:1.1;margin-right:.3em;margin-left:.3em}.dots-jumping{position:relative;left:calc(-9990px + .275em);width:.22em;height:.22em;border-radius:5px;background-color:#848484;color:#848484;box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484;animation:dots-jumping 1.5s infinite linear;bottom:-.75em}@keyframes dots-jumping{0%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}16.667%{box-shadow:9990px -6px #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}33.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}50%{box-shadow:9990px 0 #848484,calc(9990px + .44em) -6px 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}66.667%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}83.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) -6px 0 0 #848484}to{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}}.dots-flashing{position:relative;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite linear alternate;animation-delay:.5s}.dots-flashing:before,.dots-flashing:after{content:\"\";display:inline-block;position:absolute;top:0}.dots-flashing:before{left:-.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:0s}.dots-flashing:after{left:.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:1s}@keyframes dots-flashing{0%{background-color:var(--message-dots-color)}50%,to{background-color:var(--message-dots-color-fade)}}.input-button{border-radius:4px;cursor:pointer;margin-bottom:.2em;-webkit-user-select:none;user-select:none}.input-button-svg{width:1.65em;height:1.65em}.input-button:hover{background-color:#9c9c9c2e}.input-button:active{background-color:#9c9c9c5e}.loading-button{cursor:auto}.loading-button:hover{background-color:unset}.text-button{filter:unset!important;display:flex;justify-content:center;align-items:center;margin-left:4px;margin-right:4px;height:1.6em}#text-input-container{background-color:#fff;width:80%;display:flex;border:1px solid #0000001a;border-radius:5px;margin-top:.8em;margin-bottom:.8em;box-shadow:#959da533 0 1px 12px;overflow-y:auto;max-height:200px;position:relative}.text-input-container-left-adjustment{margin-left:1.5em}.text-input-container-right-adjustment{margin-right:1.5em}.text-input-container-left-small-adjustment{margin-left:1.1em}.text-input-container-left-small-adjustment>.outside-left{right:calc(14px - .55em)}.text-input-container-right-small-adjustment{margin-right:1.1em}.text-input-container-right-small-adjustment>.outside-right{left:calc(14px - .55em)}#text-input{text-align:left;outline:none;word-wrap:break-word;line-break:auto}.text-input-styling{padding:.4em .5em;overflow:overlay;width:100%}.text-input-inner-left-adjustment{padding-left:2.2em}.text-input-inner-right-adjustment{padding-right:2em}.text-input-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.text-input-placeholder{color:gray}.outside-right>#dropup-menu,.inside-right>#dropup-menu{right:0}#dropup-icon{position:absolute;pointer-events:none;width:1.16em;height:1.2em;left:.265em;bottom:.43em;filter:brightness(0) saturate(100%) invert(54%) sepia(0%) saturate(724%) hue-rotate(6deg) brightness(92%) contrast(90%)}#dropup-menu{background-color:#fff;position:absolute;transform:translateY(-100%);border-radius:5px;z-index:1;top:-.49em;box-shadow:#0003 -1px 2px 10px,#0000001a 0 2px 4px;cursor:pointer;-webkit-user-select:none;user-select:none}.dropup-menu-item{height:1.4em;padding:.28em .84em .28em .35em;display:flex;position:relative}.dropup-menu-item:first-child{padding-top:.49em;border-top-left-radius:inherit;border-top-right-radius:inherit}.dropup-menu-item:last-child{padding-bottom:.45em;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.dropup-menu-item-icon{width:1.39em;position:relative;margin-right:.56em}.dropup-menu-item-icon>svg{bottom:0!important;top:0!important;margin-bottom:auto;margin-top:auto}.dropup-menu-item-text{margin-top:.08em;width:max-content}#input{width:100%;display:inline-flex;text-align:center;margin-left:auto;margin-right:auto;margin-top:auto;position:relative;justify-content:center}#chat-view{height:100%;display:grid;grid-template-columns:100%}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background-color:#d0d0d0;border-radius:5px}::-webkit-scrollbar-track{background-color:#f2f2f2}.deep-chat-web-model-button{margin-top:10px;margin-bottom:5px;margin-left:1px}:host{all:initial;display:table-cell}#container{height:inherit;width:inherit;overflow:hidden}";
13584
- var ga = Object.defineProperty,
13585
- ba = Object.getOwnPropertyDescriptor,
13568
+ var pa = "#validate-property-key-view{height:100%;position:relative;display:flex;justify-content:center;align-items:center;padding:8px}#large-loading-ring{display:inline-block;width:50px;height:50px}#large-loading-ring:after{content:\" \";display:block;width:38px;height:38px;margin:1px;border-radius:50%;border:5px solid #5fb2ff;border-color:#5fb2ff transparent #5fb2ff transparent;animation:large-loading-ring 1.4s linear infinite}@keyframes large-loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#insert-key-view{height:100%;position:relative}#insert-key-contents{text-align:center;position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);width:82%;display:flex;max-width:700px}#insert-key-title{margin-bottom:15px}#insert-key-input-container{margin-right:2.7em;width:calc(100% - 80px)}#insert-key-input{padding:.3em 1.7em .3em .3em;border-width:1px;border-style:solid;border-radius:3px;width:100%;font-size:inherit}.insert-key-input-valid{border-color:gray}.insert-key-input-invalid{border-color:red}#visibility-icon-container{position:relative;float:right;cursor:pointer;-webkit-user-select:none;user-select:none}.visibility-icon{filter:brightness(0) saturate(100%) invert(63%) sepia(1%) saturate(9%) hue-rotate(43deg) brightness(98%) contrast(92%);position:absolute;right:-1.7em;top:-1.43em}#visible-icon{top:-1.4em}.visibility-icon:hover{filter:unset}.visibility-icon>*{pointer-events:none}#start-button{border:1px solid grey;color:#454545;border-radius:4px;width:3em;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:.28em .3em;-webkit-user-select:none;user-select:none;background-color:#fff}#start-button:hover{background-color:#f2f2f2}#start-button:active{background-color:#d2d2d2}#insert-key-help-text-container{width:100%;position:absolute;margin-top:32px;margin-bottom:20px}#insert-key-help-text-contents{width:100%;position:absolute}#insert-key-input-invalid-text{display:block;margin-top:1em;margin-bottom:.5em;color:red}.insert-key-input-help-text{display:block;margin-top:16px}#loading-ring{display:inline-block;width:16px;height:16px}#loading-ring:after{content:\" \";display:block;width:11px;height:11px;margin:1px;border-radius:50%;border:2px solid #0084ff;border-color:#0084ff transparent #0084ff transparent;animation:loading-ring 1.2s linear infinite}@keyframes loading-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#error-view{color:red;font-size:1.2em;line-height:1.3em;margin-top:-5px;text-align:center;height:100%;display:flex;justify-content:center;align-items:center;padding-left:8px;padding-right:8px}.intro-panel{position:absolute;display:flex;justify-content:center;right:0;bottom:0;left:0;margin:auto;height:fit-content;top:-2.5em}#internal-intro-panel{width:250px;height:min-content;display:block;border-radius:5px;overflow:auto;border:1px solid rgb(203,203,203);padding:10px;max-height:calc(100% - 6.8em)}#internal-intro-panel>p{margin-block-start:.8em;margin-block-end:.8em}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: a11y-dark\n Author: @ericwbailey\n Maintainer: @ericwbailey\n\n Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css\n*/.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}#messages{overflow:auto}.outer-message-container:last-child{margin-bottom:5px}.inner-message-container{display:flex;margin-left:auto;margin-right:auto;width:calc(97.5% - 24px);max-width:100%}.message-bubble{margin-top:10px;word-wrap:break-word;width:fit-content;max-width:60%;border-radius:10px;padding:.42em .55em;height:fit-content;line-height:1.26em}.user-message-text{color:#fff;background-color:#0084ff;margin-right:0;margin-left:auto}.ai-message-text{color:#000;background-color:#e4e6eb;margin-left:0;margin-right:auto}.html-message{max-width:unset}.error-message-text{margin:14px auto 10px;background-color:#f4c0c0;color:#474747;text-align:center;max-width:95%}.loading-message-text{width:1em;padding:.6em .75em .6em 1.3em}.message-bubble>p:first-child{margin-top:0}.message-bubble>p:last-child{margin-bottom:0}pre{overflow:auto;display:block;word-break:break-all;word-wrap:break-word;border-radius:7px;background:#2b2b2b;color:#f8f8f2;margin-top:.8em;margin-bottom:.8em;padding:.6em;font-size:.9em;line-height:1.5em}.image-message{padding:0;display:flex;background-color:#ddd}.image-message>*,.image-message>*>*{width:100%;border-radius:8px;display:flex}.audio-message{width:60%;max-width:300px;height:2.2em;max-height:54px;padding:0;background-color:unset}.audio-player{width:100%;height:100%}.audio-player-safari{height:fit-content;width:40px}.audio-player-safari-left{float:left}.audio-player-safari-right{float:right}.any-file-message-bubble{padding:1px}.any-file-message-contents{display:flex}.any-file-message-icon-container{width:1.3em;min-width:1.3em;position:relative;border-radius:4px;margin-left:6px;margin-right:2px}.any-file-message-icon{background-color:#fff;border-radius:4px;position:absolute;width:1em;height:1.25em;padding:1px;margin-top:auto;margin-bottom:auto;top:0;bottom:0}.any-file-message-text{padding-top:5px;overflow-wrap:anywhere;padding-bottom:5px;padding-right:7px}.message-bubble>a{color:inherit}.left-item-position{margin-right:10px}.right-item-position{margin-left:10px}.avatar{padding-top:5px;width:1.5em;height:1.5em;border-radius:1px}.avatar-container{margin-top:9px}.name{margin-top:16px;font-size:15px}#drag-and-drop{position:absolute;display:none;z-index:10;height:calc(100% - 10px);width:calc(100% - 10px);background-color:#70c6ff4d;border:5px dashed #6dafff}#file-attachment-container{position:absolute;height:3.6em;width:calc(80% - 4px);top:-2.5em;border-radius:5px;overflow:auto;text-align:left;background-color:#d7d7d73b;padding-left:4px}.file-attachment{width:2.85em;height:2.85em;display:inline-flex;margin-right:.6em;margin-bottom:.44em;margin-top:4px;position:relative;background-color:#fff;border-radius:5px}.image-attachment{width:100%;height:100%;object-fit:cover;border-radius:5px}.border-bound-attachment{width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid #c3c3c3;border-radius:5px;overflow:hidden}.border-bound-attachment-safari{width:calc(100% - 1px);height:calc(100% - 1px)}.audio-attachment-icon-container{cursor:pointer}.audio-attachment-icon-container:hover{background-color:#f8f8f8}.attachment-icon{left:0;right:0;bottom:0;top:2px;margin:auto;position:absolute;width:25px;-webkit-user-select:none;user-select:none}.not-removable-attachment-icon{top:0;right:0;bottom:0;left:0}.play-icon{filter:brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(1392%) hue-rotate(67deg) brightness(98%) contrast(97%)}.stop-icon{filter:brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(1228%) hue-rotate(198deg) brightness(93%) contrast(98%)}.audio-placeholder-text-3-digits{padding-left:.26rem}.audio-placeholder-text-4-digits{padding-left:.1rem}.any-file-attachment{padding:2px 0}.file-attachment-text-container{position:absolute;width:inherit;display:flex;align-items:center;height:100%;top:-1px}.audio-placeholder-text-3-digits-container{padding-top:1px;cursor:default}.any-file-attachment-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-left:.13em;margin-left:auto;margin-right:auto}.remove-file-attachment-button{height:1.25em;width:1.25em;border:1px solid #cfcfcf;border-radius:25px;background-color:#fff;top:-4px;right:-5px;position:absolute;display:flex;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.remove-file-attachment-button:hover{background-color:#e4e4e4}.remove-file-attachment-button:active{background-color:#d7d7d7}.x-icon{color:#4e4e4e;top:-.075em;position:relative;font-size:1.05em}.modal{display:none;flex-direction:column;align-items:center;justify-content:center;position:absolute;width:80%;max-width:420px;max-height:80%;margin:auto;top:0;right:0;bottom:0;left:0;z-index:2}.modal-content{border-top:1px solid rgb(217,217,217);border-left:1px solid rgb(217,217,217);border-right:1px solid rgb(217,217,217);border-top-left-radius:inherit;border-top-right-radius:inherit;background-color:#fff;overflow-y:auto;height:fit-content;max-height:calc(100% - 3.3em);width:100%}.modal-content>p{margin-left:1em;margin-right:1em}.modal-content>ul{margin-right:1em}.modal-button-panel{height:3.3em;border:1px solid;border-color:rgb(223,223,223) rgb(217,217,217) rgb(217,217,217);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background-color:#fff;text-align:center;justify-content:center;display:flex;width:100%}.modal-button{min-width:2.5em;text-align:center;color:#fff;border-radius:5px;padding:.4em .4em .3em;height:1.25em;background-color:#3279b2;top:0;bottom:0;cursor:pointer;-webkit-user-select:none;user-select:none;margin:auto .31em}.modal-button:hover{background-color:#276da7}.modal-button:active{background-color:#1b5687}.modal-svg-button{padding:0 0 2px;width:2em;height:1.8em}.modal-svg-button-icon{width:100%;height:100%;filter:brightness(0) saturate(100%) invert(100%) sepia(15%) saturate(4%) hue-rotate(346deg) brightness(101%) contrast(102%)}#modal-background-panel{position:absolute;width:100%;height:100%;background-color:#00000042;z-index:1;display:none}.show-modal-background{animation:fadeInBackground .3s ease-in-out}@keyframes fadeInBackground{0%{opacity:0}to{opacity:1}}.show-modal{animation:fadeInModal .3s ease-in-out}@keyframes fadeInModal{0%{opacity:0;scale:.95}to{opacity:1;scale:1}}.hide-modal-background{animation:fadeOutBackground .2s ease-in-out}@keyframes fadeOutBackground{0%{opacity:1}to{opacity:0}}.hide-modal{animation:fadeOutModal .2s ease-in-out}@keyframes fadeOutModal{0%{opacity:1;scale:1}to{opacity:0;scale:.95}}.modal-camera-content{overflow:hidden;text-align:center;border:unset;height:100%;background-color:#2a2a2a;display:flex;justify-content:center}.camera-modal-canvas{max-width:100%;max-height:100%;margin-top:auto;margin-bottom:auto}.modal-svg-submit-button{background-color:green}.modal-svg-submit-button:hover{background-color:#007500}.modal-svg-submit-button:active{background-color:#006500}.modal-svg-submit-disabled{pointer-events:none;background-color:#747474}.modal-svg-close-button{height:1.56em;padding-top:.37em;padding-bottom:0;background-color:#c13e3e}.modal-svg-close-button:hover{background-color:#b43434}.modal-svg-close-button:active{background-color:#972929}.modal-svg-close-icon{width:80%;height:80%}.modal-svg-camera-button{height:1.6em;padding-top:.38em;padding-bottom:0}.modal-svg-camera-icon{height:76%}.modal-svg-refresh-icon{height:105%}.modal-svg-refresh-button{height:1.66em;padding-top:.11em;padding-bottom:.21em}.input-button-container{position:relative;z-index:1}.inside-right{position:absolute;right:calc(10% + .35em);bottom:.85em}.inside-left{position:absolute;left:calc(10% + .35em);bottom:.85em}.outside-left{position:absolute;right:calc(11px - .55em);bottom:.88em}.outside-right{position:absolute;left:calc(11px - .55em);bottom:.88em}#upload-images-icon{position:absolute;pointer-events:none;width:1.45em;height:1.45em;left:.11em;bottom:.08em;filter:brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(740%) hue-rotate(77deg) brightness(99%) contrast(92%)}#upload-gifs-icon{position:absolute;pointer-events:none;width:1.5em;height:1.48em;left:.07em;bottom:.08em;filter:brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(2586%) hue-rotate(12deg) brightness(93%) contrast(90%)}#upload-audio-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.17em;bottom:.2em;filter:brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(337%) hue-rotate(125deg) brightness(91%) contrast(94%);transform:scaleX(.95)}#camera-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.23em;bottom:.2em;filter:brightness(0) saturate(100%) invert(52%) sepia(0%) saturate(161%) hue-rotate(164deg) brightness(91%) contrast(92%);transform:scaleX(.95)}#upload-mixed-files-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.2em;filter:brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(36%) hue-rotate(74deg) brightness(98%) contrast(93%);transform:scaleX(.95)}#interim-text{color:gray}#microphone-button{padding-top:.5px}.outer-button-container>#microphone-button{padding-bottom:1px}#microphone-icon{position:absolute;pointer-events:none;width:1.21em;height:1.21em;left:.25em;bottom:.25em}.default-microphone-icon{filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%)}.active-microphone-icon{filter:brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(7495%) hue-rotate(0deg) brightness(101%) contrast(107%);border-radius:10px}.command-microphone-icon{filter:brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(1067%) hue-rotate(77deg) brightness(99%) contrast(102%)}.unsupported-microphone{display:none}#submit-icon{height:100%;filter:brightness(0) saturate(100%) invert(32%) sepia(0%) saturate(924%) hue-rotate(46deg) brightness(95%) contrast(99%);width:1.21em}#stop-icon{background-color:#acacac;position:absolute;width:.95em;height:.95em;left:.35em;bottom:.35em;border-radius:2px}.submit-button-enlarged{scale:1.1;margin-right:.3em;margin-left:.3em}.dots-jumping{position:relative;left:calc(-9990px + .275em);width:.22em;height:.22em;border-radius:5px;background-color:#848484;color:#848484;box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484;animation:dots-jumping 1.5s infinite linear;bottom:-.75em}@keyframes dots-jumping{0%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}16.667%{box-shadow:9990px -6px #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}33.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}50%{box-shadow:9990px 0 #848484,calc(9990px + .44em) -6px 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}66.667%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}83.333%{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) -6px 0 0 #848484}to{box-shadow:9990px 0 #848484,calc(9990px + .44em) 0 0 0 #848484,calc(9990px + .8em) 0 0 0 #848484}}.dots-flashing{position:relative;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite linear alternate;animation-delay:.5s}.dots-flashing:before,.dots-flashing:after{content:\"\";display:inline-block;position:absolute;top:0}.dots-flashing:before{left:-.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:0s}.dots-flashing:after{left:.7em;width:.45em;height:.45em;border-radius:5px;background-color:var(--message-dots-color);color:var(--message-dots-color);animation:dots-flashing 1s infinite alternate;animation-delay:1s}@keyframes dots-flashing{0%{background-color:var(--message-dots-color)}50%,to{background-color:var(--message-dots-color-fade)}}.input-button{border-radius:4px;cursor:pointer;margin-bottom:.2em;-webkit-user-select:none;user-select:none}.input-button-svg{width:1.65em;height:1.65em}.input-button:hover{background-color:#9c9c9c2e}.input-button:active{background-color:#9c9c9c5e}.loading-button{cursor:auto}.loading-button:hover{background-color:unset}.text-button{filter:unset!important;display:flex;justify-content:center;align-items:center;margin-left:4px;margin-right:4px;height:1.6em}#text-input-container{background-color:#fff;width:80%;display:flex;border:1px solid #0000001a;border-radius:5px;margin-top:.8em;margin-bottom:.8em;box-shadow:#959da533 0 1px 12px;overflow-y:auto;max-height:200px;position:relative}.text-input-container-left-adjustment{margin-left:1.5em}.text-input-container-right-adjustment{margin-right:1.5em}.text-input-container-left-small-adjustment{margin-left:1.1em}.text-input-container-left-small-adjustment>.outside-left{right:calc(14px - .55em)}.text-input-container-right-small-adjustment{margin-right:1.1em}.text-input-container-right-small-adjustment>.outside-right{left:calc(14px - .55em)}#text-input{text-align:left;outline:none;word-wrap:break-word;line-break:auto}.text-input-styling{padding:.4em .5em;overflow:overlay;width:100%}.text-input-inner-left-adjustment{padding-left:2.2em}.text-input-inner-right-adjustment{padding-right:2em}.text-input-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.text-input-placeholder{color:gray}.outside-right>#dropup-menu,.inside-right>#dropup-menu{right:0}#dropup-icon{position:absolute;pointer-events:none;width:1.16em;height:1.2em;left:.265em;bottom:.43em;filter:brightness(0) saturate(100%) invert(54%) sepia(0%) saturate(724%) hue-rotate(6deg) brightness(92%) contrast(90%)}#dropup-menu{background-color:#fff;position:absolute;transform:translateY(-100%);border-radius:5px;z-index:1;top:-.49em;box-shadow:#0003 -1px 2px 10px,#0000001a 0 2px 4px;cursor:pointer;-webkit-user-select:none;user-select:none}.dropup-menu-item{height:1.4em;padding:.28em .84em .28em .35em;display:flex;position:relative}.dropup-menu-item:first-child{padding-top:.49em;border-top-left-radius:inherit;border-top-right-radius:inherit}.dropup-menu-item:last-child{padding-bottom:.45em;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.dropup-menu-item-icon{width:1.39em;position:relative;margin-right:.56em}.dropup-menu-item-icon>svg{bottom:0!important;top:0!important;margin-bottom:auto;margin-top:auto}.dropup-menu-item-text{margin-top:.08em;width:max-content}#input{width:100%;display:inline-flex;text-align:center;margin-left:auto;margin-right:auto;margin-top:auto;position:relative;justify-content:center}#chat-view{height:100%;display:grid;grid-template-columns:100%}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background-color:#d0d0d0;border-radius:5px}::-webkit-scrollbar-track{background-color:#f2f2f2}.deep-chat-web-model-button{margin-top:10px;margin-bottom:5px;margin-left:1px}:host{all:initial;display:table-cell}#container{height:inherit;width:inherit;overflow:hidden}";
13569
+ var ma = Object.defineProperty,
13570
+ ga = Object.getOwnPropertyDescriptor,
13586
13571
  S = function S(s, e, t, i) {
13587
- for (var n = i > 1 ? void 0 : i ? ba(e, t) : e, r = s.length - 1, o; r >= 0; r--) (o = s[r]) && (n = (i ? o(e, t, n) : o(n)) || n);
13588
- return i && n && ga(e, t, n), n;
13572
+ for (var n = i > 1 ? void 0 : i ? ga(e, t) : e, r = s.length - 1, o; r >= 0; r--) (o = s[r]) && (n = (i ? o(e, t, n) : o(n)) || n);
13573
+ return i && n && ma(e, t, n), n;
13589
13574
  };
13590
13575
  var x = /*#__PURE__*/function (_Zi) {
13591
13576
  function x() {
@@ -13601,7 +13586,7 @@ var x = /*#__PURE__*/function (_Zi) {
13601
13586
  return Ei.focusFromParentElement(_this78._elementRef);
13602
13587
  }, _this78.refreshMessages = function () {}, _this78.clearMessages = function () {}, _this78.scrollToBottom = function () {}, _this78.disableSubmitButton = function () {}, _this78.setPlaceholderText = function () {}, _this78._hasBeenRendered = !1, _this78._auxiliaryStyleApplied = !1, _this78._elementRef = document.createElement("div"), _this78._elementRef.id = "container", _this78.attachShadow({
13603
13588
  mode: "open"
13604
- }).appendChild(_this78._elementRef), yt.apply(ma, _this78.shadowRoot), setTimeout(function () {
13589
+ }).appendChild(_this78._elementRef), yt.apply(pa, _this78.shadowRoot), setTimeout(function () {
13605
13590
  _this78._hasBeenRendered || _this78.onRender();
13606
13591
  }, 20);
13607
13592
  return _this78;
@@ -13617,7 +13602,7 @@ var x = /*#__PURE__*/function (_Zi) {
13617
13602
  key: "onRender",
13618
13603
  value: function onRender() {
13619
13604
  var _this$_childElement;
13620
- Zt.attemptAppendStyleSheetToHead(this.style), ae.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Io.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (yt.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), yt.applyDefaultStyleToComponent(this.style, this.chatStyle), ae.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? Xt.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof z) || this._activeService.key ? ((_this$_childElement = this._childElement) !== null && _this$_childElement !== void 0 ? _this$_childElement : this._childElement = this.children[0], yn.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof z && U.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ei.onRender(this);
13605
+ Zt.attemptAppendStyleSheetToHead(this.style), ae.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Ro.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (yt.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), yt.applyDefaultStyleToComponent(this.style, this.chatStyle), ae.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? Xt.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof z) || this._activeService.key ? ((_this$_childElement = this._childElement) !== null && _this$_childElement !== void 0 ? _this$_childElement : this._childElement = this.children[0], yn.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof z && U.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ei.onRender(this);
13621
13606
  }
13622
13607
  }, {
13623
13608
  key: "disconnectedCallback",