lr-chatbot 0.19.12 → 0.19.13

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.
Files changed (3) hide show
  1. package/index.js +515 -512
  2. package/index.js.map +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1,20 +1,20 @@
1
- var Gd = Object.defineProperty;
2
- var Kd = (t, r, e) => r in t ? Gd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
- var B = (t, r, e) => Kd(t, typeof r != "symbol" ? r + "" : r, e);
1
+ var Kd = Object.defineProperty;
2
+ var Jd = (t, r, e) => r in t ? Kd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var B = (t, r, e) => Jd(t, typeof r != "symbol" ? r + "" : r, e);
4
4
  function zc(t) {
5
- return Yd(t) || Zd(t) || qc(t) || Jd();
5
+ return Xd(t) || Yd(t) || qc(t) || Zd();
6
6
  }
7
- function Jd() {
7
+ function Zd() {
8
8
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
9
9
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
10
10
  }
11
- function Zd(t) {
11
+ function Yd(t) {
12
12
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
13
13
  }
14
- function Yd(t) {
14
+ function Xd(t) {
15
15
  if (Array.isArray(t)) return qa(t);
16
16
  }
17
- function Xd(t, r) {
17
+ function Qd(t, r) {
18
18
  var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
19
19
  if (!e) {
20
20
  if (Array.isArray(t) || (e = qc(t)) || r) {
@@ -62,7 +62,7 @@ function qa(t, r) {
62
62
  function Va(t) {
63
63
  var r = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
64
64
  return Va = function(n) {
65
- if (n === null || !eh(n)) return n;
65
+ if (n === null || !th(n)) return n;
66
66
  if (typeof n != "function")
67
67
  throw new TypeError("Super expression must either be null or a function");
68
68
  if (typeof r < "u") {
@@ -70,19 +70,19 @@ function Va(t) {
70
70
  r.set(n, i);
71
71
  }
72
72
  function i() {
73
- return Qd(n, arguments, tr(this).constructor);
73
+ return eh(n, arguments, tr(this).constructor);
74
74
  }
75
75
  return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), nr(i, n);
76
76
  }, Va(t);
77
77
  }
78
- function Qd(t, r, e) {
78
+ function eh(t, r, e) {
79
79
  if (bs()) return Reflect.construct.apply(null, arguments);
80
80
  var n = [null];
81
81
  n.push.apply(n, r);
82
82
  var i = new (t.bind.apply(t, n))();
83
83
  return e && nr(i, e.prototype), i;
84
84
  }
85
- function eh(t) {
85
+ function th(t) {
86
86
  try {
87
87
  return Function.toString.call(t).indexOf("[native code]") !== -1;
88
88
  } catch {
@@ -90,9 +90,9 @@ function eh(t) {
90
90
  }
91
91
  }
92
92
  function q(t, r, e) {
93
- return r = tr(r), th(t, bs() ? Reflect.construct(r, e || [], tr(t).constructor) : r.apply(t, e));
93
+ return r = tr(r), nh(t, bs() ? Reflect.construct(r, e || [], tr(t).constructor) : r.apply(t, e));
94
94
  }
95
- function th(t, r) {
95
+ function nh(t, r) {
96
96
  if (r && (z(r) === "object" || typeof r == "function"))
97
97
  return r;
98
98
  if (r !== void 0)
@@ -437,10 +437,10 @@ function k(t, r, e) {
437
437
  return r && go(t.prototype, r), e && go(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
438
438
  }
439
439
  function Vc(t) {
440
- var r = nh(t, "string");
440
+ var r = rh(t, "string");
441
441
  return z(r) == "symbol" ? r : r + "";
442
442
  }
443
- function nh(t, r) {
443
+ function rh(t, r) {
444
444
  if (z(t) != "object" || !t) return t;
445
445
  var e = t[Symbol.toPrimitive];
446
446
  if (e !== void 0) {
@@ -450,7 +450,7 @@ function nh(t, r) {
450
450
  }
451
451
  return (r === "string" ? String : Number)(t);
452
452
  }
453
- var rh = /* @__PURE__ */ function() {
453
+ var ih = /* @__PURE__ */ function() {
454
454
  function t() {
455
455
  w(this, t);
456
456
  }
@@ -461,7 +461,7 @@ var rh = /* @__PURE__ */ function() {
461
461
  i.id = "error-view", i.innerText = n, e.replaceChildren(i);
462
462
  }
463
463
  }]);
464
- }(), ih = /* @__PURE__ */ function() {
464
+ }(), ah = /* @__PURE__ */ function() {
465
465
  function t() {
466
466
  w(this, t);
467
467
  }
@@ -481,7 +481,7 @@ var rh = /* @__PURE__ */ function() {
481
481
  value: function(e, n, i) {
482
482
  var a = t.createElements(), s = {
483
483
  onSuccess: n,
484
- onFail: rh.render.bind(this, e, "Your 'key' has failed authentication"),
484
+ onFail: ih.render.bind(this, e, "Your 'key' has failed authentication"),
485
485
  onLoad: t.onLoad.bind(this, a)
486
486
  };
487
487
  i.key && i.verifyKey(i.key, s), e.replaceChildren(a);
@@ -655,7 +655,7 @@ var la = Gc, ke = /* @__PURE__ */ function(t) {
655
655
  }]);
656
656
  }();
657
657
  Kc.PERMITTED_KEYS = /* @__PURE__ */ new Set([ke.BACKSPACE, ke.DELETE, ke.ARROW_RIGHT, ke.ARROW_LEFT, ke.ARROW_DOWN, ke.ARROW_UP, ke.META, ke.CONTROL, ke.ENTER]);
658
- var ah = Kc, sh = /* @__PURE__ */ function() {
658
+ var sh = Kc, oh = /* @__PURE__ */ function() {
659
659
  function t() {
660
660
  w(this, t);
661
661
  }
@@ -675,7 +675,7 @@ var ah = Kc, sh = /* @__PURE__ */ function() {
675
675
  var a, s, o, l = t.processConfig(e, r.textInput);
676
676
  this.elementRef = t.createContainerElement((a = l == null ? void 0 : l.styles) == null ? void 0 : a.container), this.inputElementRef = this.createInputElement(l), this._config = l, this.elementRef.appendChild(this.inputElementRef), r.setPlaceholderText = this.setPlaceholderText.bind(this, r), r.setPlaceholderText(((o = (s = r.textInput) == null ? void 0 : s.placeholder) == null ? void 0 : o.text) || "Ask me anything!"), setTimeout(function() {
677
677
  var c;
678
- ah.add(i.inputElementRef, n, (c = r.textInput) == null ? void 0 : c.characterLimit, r._validationHandler);
678
+ sh.add(i.inputElementRef, n, (c = r.textInput) == null ? void 0 : c.characterLimit, r._validationHandler);
679
679
  });
680
680
  }
681
681
  return k(t, [{
@@ -694,7 +694,7 @@ var ah = Kc, sh = /* @__PURE__ */ function() {
694
694
  key: "addEventListeners",
695
695
  value: function(e, n) {
696
696
  var i, a, s;
697
- e.onfocus = this.onFocus.bind(this, (i = n == null ? void 0 : n.styles) == null ? void 0 : i.focus), (a = n == null ? void 0 : n.styles) != null && a.focus && (e.onblur = this.onBlur.bind(this, n.styles.focus, (s = n == null ? void 0 : n.styles) == null ? void 0 : s.container)), e.addEventListener("keydown", this.onKeydown.bind(this)), e.addEventListener("paste", sh.sanitizePastedTextContent);
697
+ e.onfocus = this.onFocus.bind(this, (i = n == null ? void 0 : n.styles) == null ? void 0 : i.focus), (a = n == null ? void 0 : n.styles) != null && a.focus && (e.onblur = this.onBlur.bind(this, n.styles.focus, (s = n == null ? void 0 : n.styles) == null ? void 0 : s.container)), e.addEventListener("keydown", this.onKeydown.bind(this)), e.addEventListener("paste", oh.sanitizePastedTextContent);
698
698
  }
699
699
  }, {
700
700
  key: "onFocus",
@@ -789,25 +789,25 @@ var rr = Ga, Jc = /* @__PURE__ */ function() {
789
789
  function vo(t) {
790
790
  return t.charAt(0).toUpperCase() + t.slice(1);
791
791
  }
792
- function oh(t) {
792
+ function lh(t) {
793
793
  return t && JSON.stringify(t);
794
794
  }
795
795
  function ks(t, r, e, n) {
796
796
  var i = `
797
797
  `.concat(vo(r), " message: ").concat(JSON.stringify(t), `
798
- `), a = e ? "".concat(vo(r), " message after interceptor: ").concat(oh(n), `
798
+ `), a = e ? "".concat(vo(r), " message after interceptor: ").concat(lh(n), `
799
799
  `) : "";
800
800
  return i + a;
801
801
  }
802
- function lh(t, r, e, n) {
802
+ function ch(t, r, e, n) {
803
803
  return "".concat(ks(t, r, e, n), "Make sure the ").concat(r, ` message is using the Response format: https://deepchat.dev/docs/connect/#Response
804
804
  You can also augment it using the responseInterceptor property: https://deepchat.dev/docs/interceptors#responseInterceptor`);
805
805
  }
806
- function ch(t, r, e) {
806
+ function uh(t, r, e) {
807
807
  var n = "response";
808
808
  return "".concat(ks(t, n, r, e), "Make sure the ").concat(n, ' message is using the {text: string} format, e.g: {text: "Model Response"}');
809
809
  }
810
- function uh(t, r) {
810
+ function dh(t, r) {
811
811
  var e = "request";
812
812
  return "".concat(ks(t, e, r), "Make sure the ").concat(e, ' message is using the {body: {text: string}} format, e.g: {body: {text: "Model Response"}}');
813
813
  }
@@ -815,9 +815,9 @@ var yo = `Make sure the events are using {text: string} or {html: string} format
815
815
  You can also augment them using the responseInterceptor property: https://deepchat.dev/docs/interceptors#responseInterceptor`, fe = {
816
816
  INVALID_KEY: "Invalid API Key",
817
817
  CONNECTION_FAILED: "Failed to connect",
818
- INVALID_RESPONSE: lh,
819
- INVALID_MODEL_REQUEST: uh,
820
- INVALID_MODEL_RESPONSE: ch,
818
+ INVALID_RESPONSE: ch,
819
+ INVALID_MODEL_REQUEST: dh,
820
+ INVALID_MODEL_RESPONSE: uh,
821
821
  INVALID_STREAM_EVENT: yo,
822
822
  INVALID_STREAM_EVENT_MIX: "Cannot mix {text: string} and {html: string} responses.",
823
823
  NO_VALID_STREAM_EVENTS_SENT: `No valid stream events were sent.
@@ -964,7 +964,7 @@ var zr = Yc, qe = /* @__PURE__ */ function() {
964
964
  n.request && (console.error("The request property in file configuration is deprecated since version 2.0.0."), console.error("Please use the connect property instead: https://deepchat.dev/docs/files"), n.connect || (n.connect = n.request));
965
965
  }
966
966
  }]);
967
- }(), dh = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2032%2032'%20xml:space='preserve'%3e%3cpath%20d='M23,30.36H9c-2.404,0-4.36-1.956-4.36-4.36V15c0-2.404,1.956-4.36,4.36-4.36h3.659%20c0.167-1.566,1.415-2.813,2.981-2.981V5.333c-1.131-0.174-2-1.154-2-2.333c0-1.301,1.059-2.36,2.36-2.36%20c1.302,0,2.36,1.059,2.36,2.36c0,1.179-0.869,2.159-2,2.333V7.66c1.566,0.167,2.814,1.415,2.981,2.981H23%20c2.404,0,4.36,1.956,4.36,4.36v11C27.36,28.404,25.404,30.36,23,30.36z%20M9,11.36c-2.007,0-3.64,1.633-3.64,3.64v11%20c0,2.007,1.633,3.64,3.64,3.64h14c2.007,0,3.64-1.633,3.64-3.64V15c0-2.007-1.633-3.64-3.64-3.64H9z%20M13.384,10.64h5.231%20C18.439,9.354,17.334,8.36,16,8.36C14.667,8.36,13.561,9.354,13.384,10.64z%20M16,1.36c-0.904,0-1.64,0.736-1.64,1.64%20S15.096,4.64,16,4.64c0.904,0,1.64-0.736,1.64-1.64S16.904,1.36,16,1.36z%20M20,27.36h-8c-1.301,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36h8c1.302,0,2.36,1.059,2.36,2.36S21.302,27.36,20,27.36z%20M12,23.36c-0.904,0-1.64,0.735-1.64,1.64%20s0.736,1.64,1.64,1.64h8c0.904,0,1.64-0.735,1.64-1.64s-0.735-1.64-1.64-1.64H12z%20M31,23.86h-2c-0.199,0-0.36-0.161-0.36-0.36V15%20c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5C31.36,23.699,31.199,23.86,31,23.86z%20M29.36,23.14h1.279v-7.78%20H29.36V23.14z%20M3,23.86H1c-0.199,0-0.36-0.161-0.36-0.36V15c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5%20C3.36,23.699,3.199,23.86,3,23.86z%20M1.36,23.14h1.28v-7.78H1.36V23.14z%20M20,20.36c-1.302,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36s2.36,1.059,2.36,2.36C22.36,19.302,21.302,20.36,20,20.36z%20M20,16.36c-0.904,0-1.64,0.736-1.64,1.64%20s0.735,1.64,1.64,1.64s1.64-0.735,1.64-1.64S20.904,16.36,20,16.36z%20M12,20.36c-1.301,0-2.36-1.059-2.36-2.36s1.059-2.36,2.36-2.36%20s2.36,1.059,2.36,2.36C14.36,19.302,13.301,20.36,12,20.36z%20M12,16.36c-0.904,0-1.64,0.736-1.64,1.64s0.736,1.64,1.64,1.64%20s1.64-0.735,1.64-1.64S12.904,16.36,12,16.36z'/%3e%3crect%20style='fill:none;'%20width='32'%20height='32'/%3e%3c/svg%3e", hh = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAMAAAC/MqoPAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAADNQTFRF////9vX18vLy/Pz86enp4+Li2tnZ1tbWzczM+fn57Ozs4N/f09LS0M/P5uXl7+/v3dzcwtncCAAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAZNSURBVHja7d3bdtsqEABQYABZSLH9/3+ZpnUsIcF5iOM6PfElNoMHMfPQdq3GmL0GkLhEUqLaUExnOtOZznSmM53pTGc605nOdKYznelMZzrTmV4LXSqllKyJDkob26xWq8Zae/iH0QoWTm9d1xur4WuypQJtTd+5dqn0VjcxzNO5/57mEBvdLo8Oron6aseWOjYOFkVvjQs3DmgyONMuht52EfztP+4hdu0i6LCO808/M8c1lE/fuPGej41uUzgdtoO/75N+2ELJ9I3b3//hPXbiMenm3pR/Jt4USgcLBIp4Bh10gqKVhvLo0klCxeSky96nKcj3siw6pJIL4XsoiQ7apyvMY/V3HHrSRioLopvEhSpTCn2TPEuwKYMOIX0tAxRBf/Hpa+lfSqBv9gi1FPsNfTrMAiVmIE/vJhz61FGnQxRIEYE4vfNYdN8Rp6MlHaHotHTn8ejekaZPAjEmyvQWdZFTtYTpXqCGJ0zvcek9Yfoel76nS0ffv1NMp1ca+pkgyfRCGind4L7OWWc605l+cxjsyhqy9AGbPpClc1/nvl5VX0c/3Alk6RU3+Am7shNZ+h6bvidLr7jBB+zKBrL0irOOudmIUDzTmf5gIP+iEuXtRuTVaEmY/oZLfyNMrzjryPc0gerMTdpVg0tvjJUU6bLPcGOoUv46SLL6Wi8yhLf06C7TUyekI0efRaaYqdFltkeNpPumRPSMDxgBYvSM035FrKAmH72hRW99PrpvSdEHkTEGUvSsK3yKVDkuJ92RohcZaehzzirPpOg+J92Tolfc4Cumx5xVXpGiZ34+ICX6W84qv5GiR5NPbiIpOv6BCoSvSkTX+eiaGP092zINvBOj4x8mSf9FqejvNo/cvpOji19ZbmviL0GPLsYMFzgzCor0+Bv/ePDvSJKOb9dJ5UlnbnEHiHgzv6cdTpJOWuc/u3FEucLDOL75xGtBiefrcwgoC9NDSH/jkH6pAuXmBqPQ9HSUPVdZBH1GGOrMXAQdYxcKZfxAoK+KKBKFLosoEoX+u4giUehz8jlcnAuhp78I46yDYNAd+QLR6K+pr+yvxdBTHyVDubQh0UfSxaHSd0lbvNkVRE87JGOtc+PQd2QLQ6fHhJkKsSh6yg13tO08JPprsgrrXWH0dJd2vH1MLPprot4eXoujpzrdhngiD40ek2y92lggPcnWa8qN1Yz0BFuvZhRl0uOfR0v4Ewuli/Bg4Qr3lArqGdndQ3UPO1EunXYwnelMZzrTmc50pjOd6UxnOtOZznSmM53pTGf6kuj6oedFKV0s3fX6sX1S3bsi6a4PD7+/YAqYeBw6pIB/4qEgOqxdSPbGiim4NRRCbzs3Jj0L4UfXtQXQVRfn5IdA/Bw7RZzurEV6EtdsLeGXkIPuA+K1UoVeA0l62zmN/LqfSSft9KkepmoRuvi3nd5uKNFB9zbbXEANqdr941XO0NJx2v2jdJenpf+/3bvn0ts16ph+sd6hX7dPo2+2cZzE02Ia43bzDHqr+2Evnhz74ZHU30ffbKOeng1/NPV30Ns1gYQnSP2P6e65Pfxc6h02XZqXQCjhJ6kPL6bFo4NrGvAU4UII4SE2P1vQuZkuOxckVfehisF1MjUddN/MZBN+kvq5uf0O/xa66gyNS9ktMWlz44rO1Z8C19i5FPdHzPamXn+F3hryPfxMr78+4F+kq22kO6Rf6fUQt+puuustyWv4rbG3l/duztFB96GYoe1cTBdXMr+nw9qVM6ZfxOvzezff0nXi/ZOndvrR6Zvpm0c3h6nhdb+5iS7tsIim/qXZD9+97/Jf+rpZ5BET1ayv0GUzLhEuhBBjIy/RdVPgndutIRt9nt7p5cKFEEJ3Z+jQFDZL+XnMDXxHB73gxn5s9Kc3d3/pFciFkN/QTSXHJpX5l66gDrkQoP6hL3xsPw39la4qOiV8tH78XeSbue6N9mvWa6J/ybpc1CT1Wnh5Qq9meP8IOKH3ddH7E/ri1iYux/SXDrXR4UiPdck/wUpU+FtPf6/orja6O9KL3l56LOvVxe5Ib2qjN0d6Vbex4ghWlU3bPqI90If66MNng680FNpbJijH6kCvaF3uMzQ3+IrpFerV4Y9dffQdN3im10ivbuImhD3Qq5u4HdZkua8znelMZ/pS4z9CPVKkxowNxgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNy0wMy0yN1QxNTo0NToxNSswMDowMN1xSg4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTctMDMtMjdUMTU6NDU6MTUrMDA6MDCsLPKyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==", Xc = /* @__PURE__ */ function() {
967
+ }(), hh = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2032%2032'%20xml:space='preserve'%3e%3cpath%20d='M23,30.36H9c-2.404,0-4.36-1.956-4.36-4.36V15c0-2.404,1.956-4.36,4.36-4.36h3.659%20c0.167-1.566,1.415-2.813,2.981-2.981V5.333c-1.131-0.174-2-1.154-2-2.333c0-1.301,1.059-2.36,2.36-2.36%20c1.302,0,2.36,1.059,2.36,2.36c0,1.179-0.869,2.159-2,2.333V7.66c1.566,0.167,2.814,1.415,2.981,2.981H23%20c2.404,0,4.36,1.956,4.36,4.36v11C27.36,28.404,25.404,30.36,23,30.36z%20M9,11.36c-2.007,0-3.64,1.633-3.64,3.64v11%20c0,2.007,1.633,3.64,3.64,3.64h14c2.007,0,3.64-1.633,3.64-3.64V15c0-2.007-1.633-3.64-3.64-3.64H9z%20M13.384,10.64h5.231%20C18.439,9.354,17.334,8.36,16,8.36C14.667,8.36,13.561,9.354,13.384,10.64z%20M16,1.36c-0.904,0-1.64,0.736-1.64,1.64%20S15.096,4.64,16,4.64c0.904,0,1.64-0.736,1.64-1.64S16.904,1.36,16,1.36z%20M20,27.36h-8c-1.301,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36h8c1.302,0,2.36,1.059,2.36,2.36S21.302,27.36,20,27.36z%20M12,23.36c-0.904,0-1.64,0.735-1.64,1.64%20s0.736,1.64,1.64,1.64h8c0.904,0,1.64-0.735,1.64-1.64s-0.735-1.64-1.64-1.64H12z%20M31,23.86h-2c-0.199,0-0.36-0.161-0.36-0.36V15%20c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5C31.36,23.699,31.199,23.86,31,23.86z%20M29.36,23.14h1.279v-7.78%20H29.36V23.14z%20M3,23.86H1c-0.199,0-0.36-0.161-0.36-0.36V15c0-0.199,0.161-0.36,0.36-0.36h2c0.199,0,0.36,0.161,0.36,0.36v8.5%20C3.36,23.699,3.199,23.86,3,23.86z%20M1.36,23.14h1.28v-7.78H1.36V23.14z%20M20,20.36c-1.302,0-2.36-1.059-2.36-2.36%20s1.059-2.36,2.36-2.36s2.36,1.059,2.36,2.36C22.36,19.302,21.302,20.36,20,20.36z%20M20,16.36c-0.904,0-1.64,0.736-1.64,1.64%20s0.735,1.64,1.64,1.64s1.64-0.735,1.64-1.64S20.904,16.36,20,16.36z%20M12,20.36c-1.301,0-2.36-1.059-2.36-2.36s1.059-2.36,2.36-2.36%20s2.36,1.059,2.36,2.36C14.36,19.302,13.301,20.36,12,20.36z%20M12,16.36c-0.904,0-1.64,0.736-1.64,1.64s0.736,1.64,1.64,1.64%20s1.64-0.735,1.64-1.64S12.904,16.36,12,16.36z'/%3e%3crect%20style='fill:none;'%20width='32'%20height='32'/%3e%3c/svg%3e", ph = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAMAAAC/MqoPAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAADNQTFRF////9vX18vLy/Pz86enp4+Li2tnZ1tbWzczM+fn57Ozs4N/f09LS0M/P5uXl7+/v3dzcwtncCAAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAZNSURBVHja7d3bdtsqEABQYABZSLH9/3+ZpnUsIcF5iOM6PfElNoMHMfPQdq3GmL0GkLhEUqLaUExnOtOZznSmM53pTGc605nOdKYznelMZzrTmV4LXSqllKyJDkob26xWq8Zae/iH0QoWTm9d1xur4WuypQJtTd+5dqn0VjcxzNO5/57mEBvdLo8Oron6aseWOjYOFkVvjQs3DmgyONMuht52EfztP+4hdu0i6LCO808/M8c1lE/fuPGej41uUzgdtoO/75N+2ELJ9I3b3//hPXbiMenm3pR/Jt4USgcLBIp4Bh10gqKVhvLo0klCxeSky96nKcj3siw6pJIL4XsoiQ7apyvMY/V3HHrSRioLopvEhSpTCn2TPEuwKYMOIX0tAxRBf/Hpa+lfSqBv9gi1FPsNfTrMAiVmIE/vJhz61FGnQxRIEYE4vfNYdN8Rp6MlHaHotHTn8ejekaZPAjEmyvQWdZFTtYTpXqCGJ0zvcek9Yfoel76nS0ffv1NMp1ca+pkgyfRCGind4L7OWWc605l+cxjsyhqy9AGbPpClc1/nvl5VX0c/3Alk6RU3+Am7shNZ+h6bvidLr7jBB+zKBrL0irOOudmIUDzTmf5gIP+iEuXtRuTVaEmY/oZLfyNMrzjryPc0gerMTdpVg0tvjJUU6bLPcGOoUv46SLL6Wi8yhLf06C7TUyekI0efRaaYqdFltkeNpPumRPSMDxgBYvSM035FrKAmH72hRW99PrpvSdEHkTEGUvSsK3yKVDkuJ92RohcZaehzzirPpOg+J92Tolfc4Cumx5xVXpGiZ34+ICX6W84qv5GiR5NPbiIpOv6BCoSvSkTX+eiaGP092zINvBOj4x8mSf9FqejvNo/cvpOji19ZbmviL0GPLsYMFzgzCor0+Bv/ePDvSJKOb9dJ5UlnbnEHiHgzv6cdTpJOWuc/u3FEucLDOL75xGtBiefrcwgoC9NDSH/jkH6pAuXmBqPQ9HSUPVdZBH1GGOrMXAQdYxcKZfxAoK+KKBKFLosoEoX+u4giUehz8jlcnAuhp78I46yDYNAd+QLR6K+pr+yvxdBTHyVDubQh0UfSxaHSd0lbvNkVRE87JGOtc+PQd2QLQ6fHhJkKsSh6yg13tO08JPprsgrrXWH0dJd2vH1MLPprot4eXoujpzrdhngiD40ek2y92lggPcnWa8qN1Yz0BFuvZhRl0uOfR0v4Ewuli/Bg4Qr3lArqGdndQ3UPO1EunXYwnelMZzrTmc50pjOd6UxnOtOZznSmM53pTGf6kuj6oedFKV0s3fX6sX1S3bsi6a4PD7+/YAqYeBw6pIB/4qEgOqxdSPbGiim4NRRCbzs3Jj0L4UfXtQXQVRfn5IdA/Bw7RZzurEV6EtdsLeGXkIPuA+K1UoVeA0l62zmN/LqfSSft9KkepmoRuvi3nd5uKNFB9zbbXEANqdr941XO0NJx2v2jdJenpf+/3bvn0ts16ph+sd6hX7dPo2+2cZzE02Ia43bzDHqr+2Evnhz74ZHU30ffbKOeng1/NPV30Ns1gYQnSP2P6e65Pfxc6h02XZqXQCjhJ6kPL6bFo4NrGvAU4UII4SE2P1vQuZkuOxckVfehisF1MjUddN/MZBN+kvq5uf0O/xa66gyNS9ktMWlz44rO1Z8C19i5FPdHzPamXn+F3hryPfxMr78+4F+kq22kO6Rf6fUQt+puuustyWv4rbG3l/duztFB96GYoe1cTBdXMr+nw9qVM6ZfxOvzezff0nXi/ZOndvrR6Zvpm0c3h6nhdb+5iS7tsIim/qXZD9+97/Jf+rpZ5BET1ayv0GUzLhEuhBBjIy/RdVPgndutIRt9nt7p5cKFEEJ3Z+jQFDZL+XnMDXxHB73gxn5s9Kc3d3/pFciFkN/QTSXHJpX5l66gDrkQoP6hL3xsPw39la4qOiV8tH78XeSbue6N9mvWa6J/ybpc1CT1Wnh5Qq9meP8IOKH3ddH7E/ri1iYux/SXDrXR4UiPdck/wUpU+FtPf6/orja6O9KL3l56LOvVxe5Ib2qjN0d6Vbex4ghWlU3bPqI90If66MNng680FNpbJijH6kCvaF3uMzQ3+IrpFerV4Y9dffQdN3im10ivbuImhD3Qq5u4HdZkua8znelMZ/pS4z9CPVKkxowNxgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNy0wMy0yN1QxNTo0NToxNSswMDowMN1xSg4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTctMDMtMjdUMTU6NDU6MTUrMDA6MDCsLPKyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==", Xc = /* @__PURE__ */ function() {
968
968
  function t() {
969
969
  w(this, t);
970
970
  }
@@ -994,7 +994,7 @@ var zr = Yc, qe = /* @__PURE__ */ function() {
994
994
  key: "createAvatar",
995
995
  value: function(e, n) {
996
996
  var i, a, s, o, l, c = document.createElement("img");
997
- e === Z.USER_ROLE ? c.src = ((i = n == null ? void 0 : n.user) == null ? void 0 : i.src) || ((a = n == null ? void 0 : n.default) == null ? void 0 : a.src) || hh : c.src = ((s = n == null ? void 0 : n[e]) == null ? void 0 : s.src) || ((o = n == null ? void 0 : n.ai) == null ? void 0 : o.src) || ((l = n == null ? void 0 : n.default) == null ? void 0 : l.src) || dh, c.classList.add("avatar");
997
+ e === Z.USER_ROLE ? c.src = ((i = n == null ? void 0 : n.user) == null ? void 0 : i.src) || ((a = n == null ? void 0 : n.default) == null ? void 0 : a.src) || ph : c.src = ((s = n == null ? void 0 : n[e]) == null ? void 0 : s.src) || ((o = n == null ? void 0 : n.ai) == null ? void 0 : o.src) || ((l = n == null ? void 0 : n.default) == null ? void 0 : l.src) || hh, c.classList.add("avatar");
998
998
  var u = document.createElement("div");
999
999
  return u.classList.add(t.CONTAINER_CLASS), u.appendChild(c), n && t.applyCustomStyles(u, c, n, e), u;
1000
1000
  }
@@ -1173,7 +1173,7 @@ var Z = qr, eu = /* @__PURE__ */ function() {
1173
1173
  e.addEventListener("mouseenter", t.mouseEnter.bind(this, e, n)), e.addEventListener("mouseleave", t.mouseLeave.bind(this, e, n)), e.addEventListener("mousedown", t.mouseDown.bind(this, e, n)), e.addEventListener("mouseup", t.mouseUp.bind(this, e, n));
1174
1174
  }
1175
1175
  }]);
1176
- }(), ph = "deep-chat-temporary-message", fh = "deep-chat-suggestion-button", Ka = {
1176
+ }(), fh = "deep-chat-temporary-message", mh = "deep-chat-suggestion-button", Ka = {
1177
1177
  "deep-chat-button": {
1178
1178
  styles: {
1179
1179
  default: {
@@ -1213,7 +1213,7 @@ var Z = qr, eu = /* @__PURE__ */ function() {
1213
1213
  key: "isElementTemporary",
1214
1214
  value: function(e) {
1215
1215
  var n;
1216
- return e ? (n = e.bubbleElement.children[0]) == null ? void 0 : n.classList.contains(ph) : !1;
1216
+ return e ? (n = e.bubbleElement.children[0]) == null ? void 0 : n.classList.contains(fh) : !1;
1217
1217
  }
1218
1218
  }, {
1219
1219
  key: "doesElementContainDeepChatClass",
@@ -1254,7 +1254,7 @@ var Z = qr, eu = /* @__PURE__ */ function() {
1254
1254
  mn.applyStylesToElement(l, c), t.applyEvents(l, s);
1255
1255
  });
1256
1256
  });
1257
- var a = i.getElementsByClassName(fh);
1257
+ var a = i.getElementsByClassName(mh);
1258
1258
  Array.from(a).forEach(function(s) {
1259
1259
  return t.applySuggestionEvent(e, s);
1260
1260
  });
@@ -1354,9 +1354,9 @@ var Z = qr, eu = /* @__PURE__ */ function() {
1354
1354
  function tu(t) {
1355
1355
  return Pr = Pr || document.createElement("textarea"), Pr.innerHTML = "&" + t + ";", Pr.value;
1356
1356
  }
1357
- var mh = Object.prototype.hasOwnProperty;
1358
- function gh(t, r) {
1359
- return t ? mh.call(t, r) : !1;
1357
+ var gh = Object.prototype.hasOwnProperty;
1358
+ function vh(t, r) {
1359
+ return t ? gh.call(t, r) : !1;
1360
1360
  }
1361
1361
  function nu(t) {
1362
1362
  var r = [].slice.call(arguments, 1);
@@ -1369,9 +1369,9 @@ function nu(t) {
1369
1369
  }
1370
1370
  }), t;
1371
1371
  }
1372
- var vh = /\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
1372
+ var yh = /\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
1373
1373
  function ir(t) {
1374
- return t.indexOf("\\") < 0 ? t : t.replace(vh, "$1");
1374
+ return t.indexOf("\\") < 0 ? t : t.replace(yh, "$1");
1375
1375
  }
1376
1376
  function ru(t) {
1377
1377
  return !(t >= 55296 && t <= 57343 || t >= 64976 && t <= 65007 || (t & 65535) === 65535 || (t & 65535) === 65534 || t >= 0 && t <= 8 || t === 11 || t >= 14 && t <= 31 || t >= 127 && t <= 159 || t > 1114111);
@@ -1384,25 +1384,25 @@ function Za(t) {
1384
1384
  }
1385
1385
  return String.fromCharCode(t);
1386
1386
  }
1387
- var yh = /&([a-z#][a-z0-9]{1,31});/gi, bh = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;
1388
- function wh(t, r) {
1387
+ var bh = /&([a-z#][a-z0-9]{1,31});/gi, wh = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;
1388
+ function kh(t, r) {
1389
1389
  var e = 0, n = tu(r);
1390
- return r !== n ? n : r.charCodeAt(0) === 35 && bh.test(r) && (e = r[1].toLowerCase() === "x" ? parseInt(r.slice(2), 16) : parseInt(r.slice(1), 10), ru(e)) ? Za(e) : t;
1390
+ return r !== n ? n : r.charCodeAt(0) === 35 && wh.test(r) && (e = r[1].toLowerCase() === "x" ? parseInt(r.slice(2), 16) : parseInt(r.slice(1), 10), ru(e)) ? Za(e) : t;
1391
1391
  }
1392
1392
  function Bt(t) {
1393
- return t.indexOf("&") < 0 ? t : t.replace(yh, wh);
1393
+ return t.indexOf("&") < 0 ? t : t.replace(bh, kh);
1394
1394
  }
1395
- var kh = /[&<>"]/, Sh = /[&<>"]/g, _h = {
1395
+ var Sh = /[&<>"]/, _h = /[&<>"]/g, Ch = {
1396
1396
  "&": "&amp;",
1397
1397
  "<": "&lt;",
1398
1398
  ">": "&gt;",
1399
1399
  '"': "&quot;"
1400
1400
  };
1401
- function Ch(t) {
1402
- return _h[t];
1401
+ function xh(t) {
1402
+ return Ch[t];
1403
1403
  }
1404
1404
  function Me(t) {
1405
- return kh.test(t) ? t.replace(Sh, Ch) : t;
1405
+ return Sh.test(t) ? t.replace(_h, xh) : t;
1406
1406
  }
1407
1407
  var N = {};
1408
1408
  N.blockquote_open = function() {
@@ -1418,7 +1418,7 @@ N.code = function(t, r) {
1418
1418
  N.fence = function(t, r, e, n, i) {
1419
1419
  var a = t[r], s = "", o = e.langPrefix, l = "", c, u, d;
1420
1420
  if (a.params) {
1421
- if (c = a.params.split(/\s+/g), u = c.join(" "), gh(i.rules.fence_custom, c[0])) return i.rules.fence_custom[c[0]](t, r, e, n, i);
1421
+ if (c = a.params.split(/\s+/g), u = c.join(" "), vh(i.rules.fence_custom, c[0])) return i.rules.fence_custom[c[0]](t, r, e, n, i);
1422
1422
  l = Me(Bt(ir(u))), s = ' class="' + o + l + '"';
1423
1423
  }
1424
1424
  return e.highlight ? d = e.highlight.apply(e.highlight, [a.content].concat(c)) || Me(a.content) : d = Me(a.content), "<pre><code" + s + ">" + d + "</code></pre>" + qt(t, r);
@@ -1722,7 +1722,7 @@ Ne.prototype.disable = function(t) {
1722
1722
  Ne.prototype.getRules = function(t) {
1723
1723
  return this.__cache__ === null && this.__compile__(), this.__cache__[t] || [];
1724
1724
  };
1725
- function xh(t) {
1725
+ function Eh(t) {
1726
1726
  t.inlineMode ? t.tokens.push({
1727
1727
  type: "inline",
1728
1728
  content: t.src.replace(/\n/g, " ").trim(),
@@ -1765,17 +1765,17 @@ function ar(t, r) {
1765
1765
  }
1766
1766
  return n ? (a = t.pos, t.labelUnmatchedScopes = 0) : t.labelUnmatchedScopes = e - 1, t.pos = o, t.isInLabel = l, a;
1767
1767
  }
1768
- function Eh(t, r, e, n) {
1768
+ function Ah(t, r, e, n) {
1769
1769
  var i, a, s, o, l, c;
1770
1770
  if (t.charCodeAt(0) !== 42 || t.charCodeAt(1) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a = ar(i, 1), a < 0 || t.charCodeAt(a + 1) !== 58)) return -1;
1771
1771
  for (o = i.posMax, s = a + 2; s < o && i.src.charCodeAt(s) !== 10; s++) ;
1772
1772
  return l = t.slice(2, a), c = t.slice(a + 2, s).trim(), c.length === 0 ? -1 : (n.abbreviations || (n.abbreviations = {}), z(n.abbreviations[":" + l]) > "u" && (n.abbreviations[":" + l] = c), s);
1773
1773
  }
1774
- function Ah(t) {
1774
+ function Th(t) {
1775
1775
  var r = t.tokens, e, n, i, a;
1776
1776
  if (!t.inlineMode) {
1777
1777
  for (e = 1, n = r.length - 1; e < n; e++) if (r[e - 1].type === "paragraph_open" && r[e].type === "inline" && r[e + 1].type === "paragraph_close") {
1778
- for (i = r[e].content; i.length && (a = Eh(i, t.inline, t.options, t.env), !(a < 0)); ) i = i.slice(a).trim();
1778
+ for (i = r[e].content; i.length && (a = Ah(i, t.inline, t.options, t.env), !(a < 0)); ) i = i.slice(a).trim();
1779
1779
  r[e].content = i, i.length || (r[e - 1].tight = !0, r[e + 1].tight = !0);
1780
1780
  }
1781
1781
  }
@@ -1828,7 +1828,7 @@ function su(t, r) {
1828
1828
  function ou(t) {
1829
1829
  return t.trim().replace(/\s+/g, " ").toUpperCase();
1830
1830
  }
1831
- function Th(t, r, e, n) {
1831
+ function Rh(t, r, e, n) {
1832
1832
  var i, a, s, o, l, c, u, d, h;
1833
1833
  if (t.charCodeAt(0) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a = ar(i, 0), a < 0 || t.charCodeAt(a + 1) !== 58)) return -1;
1834
1834
  for (o = i.posMax, s = a + 2; s < o && (l = i.src.charCodeAt(s), !(l !== 32 && l !== 10)); s++) ;
@@ -1840,20 +1840,20 @@ function Th(t, r, e, n) {
1840
1840
  href: u
1841
1841
  }), s);
1842
1842
  }
1843
- function Rh(t) {
1843
+ function Oh(t) {
1844
1844
  var r = t.tokens, e, n, i, a;
1845
1845
  if (t.env.references = t.env.references || {}, !t.inlineMode) {
1846
1846
  for (e = 1, n = r.length - 1; e < n; e++) if (r[e].type === "inline" && r[e - 1].type === "paragraph_open" && r[e + 1].type === "paragraph_close") {
1847
- for (i = r[e].content; i.length && (a = Th(i, t.inline, t.options, t.env), !(a < 0)); ) i = i.slice(a).trim();
1847
+ for (i = r[e].content; i.length && (a = Rh(i, t.inline, t.options, t.env), !(a < 0)); ) i = i.slice(a).trim();
1848
1848
  r[e].content = i, i.length || (r[e - 1].tight = !0, r[e + 1].tight = !0);
1849
1849
  }
1850
1850
  }
1851
1851
  }
1852
- function Oh(t) {
1852
+ function Lh(t) {
1853
1853
  var r = t.tokens, e, n, i;
1854
1854
  for (n = 0, i = r.length; n < i; n++) e = r[n], e.type === "inline" && t.inline.parse(e.content, t.options, t.env, e.children);
1855
1855
  }
1856
- function Lh(t) {
1856
+ function Ih(t) {
1857
1857
  var r, e, n, i, a, s, o, l, c, u = 0, d = !1, h = {};
1858
1858
  if (t.env.footnotes && (t.tokens = t.tokens.filter(function(p) {
1859
1859
  return p.type === "footnote_reference_open" ? (d = !0, l = [], c = p.label, !1) : p.type === "footnote_reference_close" ? (d = !1, h[":" + c] = l, !1) : (d && l.push(p), !d);
@@ -1901,7 +1901,7 @@ var So = `
1901
1901
  function ca(t) {
1902
1902
  return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, "\\$1");
1903
1903
  }
1904
- function Ih(t) {
1904
+ function Mh(t) {
1905
1905
  var r, e, n, i, a, s, o, l, c, u, d, h, p = t.tokens;
1906
1906
  if (t.env.abbreviations) {
1907
1907
  for (t.env.abbrRegExp || (h = "(^|[" + So.split("").map(ca).join("") + "])(" + Object.keys(t.env.abbreviations).map(function(f) {
@@ -1935,35 +1935,35 @@ function Ih(t) {
1935
1935
  }
1936
1936
  }
1937
1937
  }
1938
- var Mh = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ph = /\((c|tm|r|p)\)/ig, Fh = {
1938
+ var Ph = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Fh = /\((c|tm|r|p)\)/ig, $h = {
1939
1939
  c: "©",
1940
1940
  r: "®",
1941
1941
  p: "§",
1942
1942
  tm: "™"
1943
1943
  };
1944
- function $h(t) {
1945
- return t.indexOf("(") < 0 ? t : t.replace(Ph, function(r, e) {
1946
- return Fh[e.toLowerCase()];
1944
+ function Nh(t) {
1945
+ return t.indexOf("(") < 0 ? t : t.replace(Fh, function(r, e) {
1946
+ return $h[e.toLowerCase()];
1947
1947
  });
1948
1948
  }
1949
- function Nh(t) {
1949
+ function Dh(t) {
1950
1950
  var r, e, n, i, a;
1951
1951
  if (t.options.typographer) {
1952
- for (a = t.tokens.length - 1; a >= 0; a--) if (t.tokens[a].type === "inline") for (i = t.tokens[a].children, r = i.length - 1; r >= 0; r--) e = i[r], e.type === "text" && (n = e.content, n = $h(n), Mh.test(n) && (n = n.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/mg, "$1—$2").replace(/(^|\s)--(\s|$)/mg, "$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg, "$1–$2")), e.content = n);
1952
+ for (a = t.tokens.length - 1; a >= 0; a--) if (t.tokens[a].type === "inline") for (i = t.tokens[a].children, r = i.length - 1; r >= 0; r--) e = i[r], e.type === "text" && (n = e.content, n = Nh(n), Ph.test(n) && (n = n.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/mg, "$1—$2").replace(/(^|\s)--(\s|$)/mg, "$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg, "$1–$2")), e.content = n);
1953
1953
  }
1954
1954
  }
1955
- var Dh = /['"]/, _o = /['"]/g, Bh = /[-\s()\[\]]/, Co = "’";
1955
+ var Bh = /['"]/, _o = /['"]/g, jh = /[-\s()\[\]]/, Co = "’";
1956
1956
  function xo(t, r) {
1957
- return r < 0 || r >= t.length ? !1 : !Bh.test(t[r]);
1957
+ return r < 0 || r >= t.length ? !1 : !jh.test(t[r]);
1958
1958
  }
1959
1959
  function Qt(t, r, e) {
1960
1960
  return t.substr(0, r) + e + t.substr(r + 1);
1961
1961
  }
1962
- function jh(t) {
1962
+ function Hh(t) {
1963
1963
  var r, e, n, i, a, s, o, l, c, u, d, h, p, f, g, y, v;
1964
1964
  if (t.options.typographer) {
1965
1965
  for (v = [], g = t.tokens.length - 1; g >= 0; g--) if (t.tokens[g].type === "inline") {
1966
- for (y = t.tokens[g].children, v.length = 0, r = 0; r < y.length; r++) if (e = y[r], !(e.type !== "text" || Dh.test(e.text))) {
1966
+ for (y = t.tokens[g].children, v.length = 0, r = 0; r < y.length; r++) if (e = y[r], !(e.type !== "text" || Bh.test(e.text))) {
1967
1967
  for (o = y[r].level, p = v.length - 1; p >= 0 && !(v[p].level <= o); p--) ;
1968
1968
  v.length = p + 1, n = e.content, a = 0, s = n.length;
1969
1969
  e: for (; a < s && (_o.lastIndex = a, i = _o.exec(n), !!i); ) {
@@ -1988,7 +1988,7 @@ function jh(t) {
1988
1988
  }
1989
1989
  }
1990
1990
  }
1991
- var ua = [["block", xh], ["abbr", Ah], ["references", Rh], ["inline", Oh], ["footnote_tail", Lh], ["abbr2", Ih], ["replacements", Nh], ["smartquotes", jh]];
1991
+ var ua = [["block", Eh], ["abbr", Th], ["references", Oh], ["inline", Lh], ["footnote_tail", Ih], ["abbr2", Mh], ["replacements", Dh], ["smartquotes", Hh]];
1992
1992
  function lu() {
1993
1993
  this.options = {}, this.ruler = new Ne();
1994
1994
  for (var t = 0; t < ua.length; t++) this.ruler.push(ua[t][0], ua[t][1]);
@@ -2035,7 +2035,7 @@ Wt.prototype.getLines = function(t, r, e, n) {
2035
2035
  for (o = new Array(r - t), i = 0; c < r; c++, i++) l = this.tShift[c], l > e && (l = e), l < 0 && (l = 0), a = this.bMarks[c] + l, c + 1 < r || n ? s = this.eMarks[c] + 1 : s = this.eMarks[c], o[i] = this.src.slice(a, s);
2036
2036
  return o.join("");
2037
2037
  };
2038
- function Hh(t, r, e) {
2038
+ function Uh(t, r, e) {
2039
2039
  var n, i;
2040
2040
  if (t.tShift[r] - t.blkIndent < 4) return !1;
2041
2041
  for (i = n = r + 1; n < e; ) {
@@ -2057,7 +2057,7 @@ function Hh(t, r, e) {
2057
2057
  level: t.level
2058
2058
  }), !0;
2059
2059
  }
2060
- function Uh(t, r, e, n) {
2060
+ function zh(t, r, e, n) {
2061
2061
  var i, a, s, o, l, c = !1, u = t.bMarks[r] + t.tShift[r], d = t.eMarks[r];
2062
2062
  if (u + 3 > d || (i = t.src.charCodeAt(u), i !== 126 && i !== 96) || (l = u, u = t.skipChars(u, i), a = u - l, a < 3) || (s = t.src.slice(u, d).trim(), s.indexOf("`") >= 0)) return !1;
2063
2063
  if (n) return !0;
@@ -2073,7 +2073,7 @@ function Uh(t, r, e, n) {
2073
2073
  level: t.level
2074
2074
  }), !0;
2075
2075
  }
2076
- function zh(t, r, e, n) {
2076
+ function qh(t, r, e, n) {
2077
2077
  var i, a, s, o, l, c, u, d, h, p, f, g = t.bMarks[r] + t.tShift[r], y = t.eMarks[r];
2078
2078
  if (g > y || t.src.charCodeAt(g++) !== 62 || t.level >= t.options.maxNesting) return !1;
2079
2079
  if (n) return !0;
@@ -2100,7 +2100,7 @@ function zh(t, r, e, n) {
2100
2100
  }), t.parentType = c, u[1] = t.line, h = 0; h < s.length; h++) t.bMarks[h + r] = o[h], t.tShift[h + r] = s[h];
2101
2101
  return t.blkIndent = l, !0;
2102
2102
  }
2103
- function qh(t, r, e, n) {
2103
+ function Vh(t, r, e, n) {
2104
2104
  var i, a, s, o = t.bMarks[r], l = t.eMarks[r];
2105
2105
  if (o += t.tShift[r], o > l || (i = t.src.charCodeAt(o++), i !== 42 && i !== 45 && i !== 95)) return !1;
2106
2106
  for (a = 1; o < l; ) {
@@ -2129,11 +2129,11 @@ function Ao(t, r) {
2129
2129
  }
2130
2130
  return n < i && t.src.charCodeAt(n) !== 32 ? -1 : n;
2131
2131
  }
2132
- function Vh(t, r) {
2132
+ function Wh(t, r) {
2133
2133
  var e, n, i = t.level + 2;
2134
2134
  for (e = r + 2, n = t.tokens.length - 2; e < n; e++) t.tokens[e].level === i && t.tokens[e].type === "paragraph_open" && (t.tokens[e + 2].tight = !0, t.tokens[e].tight = !0, e += 2);
2135
2135
  }
2136
- function Wh(t, r, e, n) {
2136
+ function Gh(t, r, e, n) {
2137
2137
  var i, a, s, o, l, c, u, d, h, p, f, g, y, v, b, S, $, R, U = !0, ne, G, he, le;
2138
2138
  if ((d = Ao(t, r)) >= 0) y = !0;
2139
2139
  else if ((d = Eo(t, r)) >= 0) y = !1;
@@ -2170,9 +2170,9 @@ function Wh(t, r, e, n) {
2170
2170
  return t.tokens.push({
2171
2171
  type: y ? "ordered_list_close" : "bullet_list_close",
2172
2172
  level: --t.level
2173
- }), $[1] = i, t.line = i, U && Vh(t, b), !0;
2173
+ }), $[1] = i, t.line = i, U && Wh(t, b), !0;
2174
2174
  }
2175
- function Gh(t, r, e, n) {
2175
+ function Kh(t, r, e, n) {
2176
2176
  var i, a, s, o, l, c = t.bMarks[r] + t.tShift[r], u = t.eMarks[r];
2177
2177
  if (c + 4 > u || t.src.charCodeAt(c) !== 91 || t.src.charCodeAt(c + 1) !== 94 || t.level >= t.options.maxNesting) return !1;
2178
2178
  for (o = c + 2; o < u; o++) {
@@ -2188,7 +2188,7 @@ function Gh(t, r, e, n) {
2188
2188
  level: --t.level
2189
2189
  })), !0);
2190
2190
  }
2191
- function Kh(t, r, e, n) {
2191
+ function Jh(t, r, e, n) {
2192
2192
  var i, a, s, o = t.bMarks[r] + t.tShift[r], l = t.eMarks[r];
2193
2193
  if (o >= l || (i = t.src.charCodeAt(o), i !== 35 || o >= l)) return !1;
2194
2194
  for (a = 1, i = t.src.charCodeAt(++o); i === 35 && o < l && a <= 6; ) a++, i = t.src.charCodeAt(++o);
@@ -2209,7 +2209,7 @@ function Kh(t, r, e, n) {
2209
2209
  level: t.level
2210
2210
  })), !0);
2211
2211
  }
2212
- function Jh(t, r, e) {
2212
+ function Zh(t, r, e) {
2213
2213
  var n, i, a, s = r + 1;
2214
2214
  return s >= e || t.tShift[s] < t.blkIndent || t.tShift[s] - t.blkIndent > 3 || (i = t.bMarks[s] + t.tShift[s], a = t.eMarks[s], i >= a) || (n = t.src.charCodeAt(i), n !== 45 && n !== 61) || (i = t.skipChars(i, n), i = t.skipSpaces(i), i < a) ? !1 : (i = t.bMarks[r] + t.tShift[r], t.line = s + 1, t.tokens.push({
2215
2215
  type: "heading_open",
@@ -2232,20 +2232,20 @@ var cu = {};
2232
2232
  ["article", "aside", "button", "blockquote", "body", "canvas", "caption", "col", "colgroup", "dd", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "iframe", "li", "map", "object", "ol", "output", "p", "pre", "progress", "script", "section", "style", "table", "tbody", "td", "textarea", "tfoot", "th", "tr", "thead", "ul", "video"].forEach(function(t) {
2233
2233
  cu[t] = !0;
2234
2234
  });
2235
- var Zh = /^<([a-zA-Z]{1,15})[\s\/>]/, Yh = /^<\/([a-zA-Z]{1,15})[\s>]/;
2236
- function Xh(t) {
2235
+ var Yh = /^<([a-zA-Z]{1,15})[\s\/>]/, Xh = /^<\/([a-zA-Z]{1,15})[\s>]/;
2236
+ function Qh(t) {
2237
2237
  var r = t | 32;
2238
2238
  return r >= 97 && r <= 122;
2239
2239
  }
2240
- function Qh(t, r, e, n) {
2240
+ function ep(t, r, e, n) {
2241
2241
  var i, a, s, o = t.bMarks[r], l = t.eMarks[r], c = t.tShift[r];
2242
2242
  if (o += c, !t.options.html || c > 3 || o + 2 >= l || t.src.charCodeAt(o) !== 60) return !1;
2243
2243
  if (i = t.src.charCodeAt(o + 1), i === 33 || i === 63) {
2244
2244
  if (n) return !0;
2245
- } else if (i === 47 || Xh(i)) {
2245
+ } else if (i === 47 || Qh(i)) {
2246
2246
  if (i === 47) {
2247
- if (a = t.src.slice(o, l).match(Yh), !a) return !1;
2248
- } else if (a = t.src.slice(o, l).match(Zh), !a) return !1;
2247
+ if (a = t.src.slice(o, l).match(Xh), !a) return !1;
2248
+ } else if (a = t.src.slice(o, l).match(Yh), !a) return !1;
2249
2249
  if (cu[a[1].toLowerCase()] !== !0) return !1;
2250
2250
  if (n) return !0;
2251
2251
  } else return !1;
@@ -2261,7 +2261,7 @@ function da(t, r) {
2261
2261
  var e = t.bMarks[r] + t.blkIndent, n = t.eMarks[r];
2262
2262
  return t.src.substr(e, n - e);
2263
2263
  }
2264
- function ep(t, r, e, n) {
2264
+ function tp(t, r, e, n) {
2265
2265
  var i, a, s, o, l, c, u, d, h, p, f;
2266
2266
  if (r + 2 > e || (l = r + 1, t.tShift[l] < t.blkIndent) || (s = t.bMarks[l] + t.tShift[l], s >= t.eMarks[l]) || (i = t.src.charCodeAt(s), i !== 124 && i !== 45 && i !== 58) || (a = da(t, r + 1), !/^[-:| ]+$/.test(a)) || (c = a.split("|"), c <= 2)) return !1;
2267
2267
  for (d = [], o = 0; o < c.length; o++) {
@@ -2345,11 +2345,11 @@ function Fr(t, r) {
2345
2345
  var e, n, i = t.bMarks[r] + t.tShift[r], a = t.eMarks[r];
2346
2346
  return i >= a || (n = t.src.charCodeAt(i++), n !== 126 && n !== 58) || (e = t.skipSpaces(i), i === e) || e >= a ? -1 : e;
2347
2347
  }
2348
- function tp(t, r) {
2348
+ function np(t, r) {
2349
2349
  var e, n, i = t.level + 2;
2350
2350
  for (e = r + 2, n = t.tokens.length - 2; e < n; e++) t.tokens[e].level === i && t.tokens[e].type === "paragraph_open" && (t.tokens[e + 2].tight = !0, t.tokens[e].tight = !0, e += 2);
2351
2351
  }
2352
- function np(t, r, e, n) {
2352
+ function rp(t, r, e, n) {
2353
2353
  var i, a, s, o, l, c, u, d, h, p, f, g, y, v;
2354
2354
  if (n) return t.ddIndent < 0 ? !1 : Fr(t, r) >= 0;
2355
2355
  if (u = r + 1, t.isEmpty(u) && ++u > e || t.tShift[u] < t.blkIndent || (i = Fr(t, u), i < 0) || t.level >= t.options.maxNesting) return !1;
@@ -2389,9 +2389,9 @@ function np(t, r, e, n) {
2389
2389
  return t.tokens.push({
2390
2390
  type: "dl_close",
2391
2391
  level: --t.level
2392
- }), l[1] = u, t.line = u, v && tp(t, c), !0;
2392
+ }), l[1] = u, t.line = u, v && np(t, c), !0;
2393
2393
  }
2394
- function rp(t, r) {
2394
+ function ip(t, r) {
2395
2395
  var e, n, i, a, s, o = r + 1, l;
2396
2396
  if (e = t.lineMax, o < e && !t.isEmpty(o)) {
2397
2397
  for (l = t.parser.ruler.getRules("paragraph"); o < e && !t.isEmpty(o); o++) if (!(t.tShift[o] - t.blkIndent > 3)) {
@@ -2419,7 +2419,7 @@ function rp(t, r) {
2419
2419
  level: t.level
2420
2420
  })), !0;
2421
2421
  }
2422
- var $r = [["code", Hh], ["fences", Uh, ["paragraph", "blockquote", "list"]], ["blockquote", zh, ["paragraph", "blockquote", "list"]], ["hr", qh, ["paragraph", "blockquote", "list"]], ["list", Wh, ["paragraph", "blockquote"]], ["footnote", Gh, ["paragraph"]], ["heading", Kh, ["paragraph", "blockquote"]], ["lheading", Jh], ["htmlblock", Qh, ["paragraph", "blockquote"]], ["table", ep, ["paragraph"]], ["deflist", np, ["paragraph"]], ["paragraph", rp]];
2422
+ var $r = [["code", Uh], ["fences", zh, ["paragraph", "blockquote", "list"]], ["blockquote", qh, ["paragraph", "blockquote", "list"]], ["hr", Vh, ["paragraph", "blockquote", "list"]], ["list", Gh, ["paragraph", "blockquote"]], ["footnote", Kh, ["paragraph"]], ["heading", Jh, ["paragraph", "blockquote"]], ["lheading", Zh], ["htmlblock", ep, ["paragraph", "blockquote"]], ["table", tp, ["paragraph"]], ["deflist", rp, ["paragraph"]], ["paragraph", ip]];
2423
2423
  function _s() {
2424
2424
  this.ruler = new Ne();
2425
2425
  for (var t = 0; t < $r.length; t++) this.ruler.push($r[t][0], $r[t][1], {
@@ -2435,17 +2435,17 @@ _s.prototype.tokenize = function(t, r, e) {
2435
2435
  }
2436
2436
  }
2437
2437
  };
2438
- var ip = /[\n\t]/g, ap = /\r[\n\u0085]|[\u2424\u2028\u0085]/g, sp = /\u00a0/g;
2438
+ var ap = /[\n\t]/g, sp = /\r[\n\u0085]|[\u2424\u2028\u0085]/g, op = /\u00a0/g;
2439
2439
  _s.prototype.parse = function(t, r, e, n) {
2440
2440
  var i, a = 0, s = 0;
2441
2441
  if (!t) return [];
2442
- t = t.replace(sp, " "), t = t.replace(ap, `
2443
- `), t.indexOf(" ") >= 0 && (t = t.replace(ip, function(o, l) {
2442
+ t = t.replace(op, " "), t = t.replace(sp, `
2443
+ `), t.indexOf(" ") >= 0 && (t = t.replace(ap, function(o, l) {
2444
2444
  var c;
2445
2445
  return t.charCodeAt(l) === 10 ? (a = l + 1, s = 0, o) : (c = " ".slice((l - a - s) % 4), s = l - a + 1, c);
2446
2446
  })), i = new Wt(t, this, r, e, n), this.tokenize(i, i.line, i.lineMax);
2447
2447
  };
2448
- function op(t) {
2448
+ function lp(t) {
2449
2449
  switch (t) {
2450
2450
  case 10:
2451
2451
  case 92:
@@ -2473,11 +2473,11 @@ function op(t) {
2473
2473
  return !1;
2474
2474
  }
2475
2475
  }
2476
- function lp(t, r) {
2477
- for (var e = t.pos; e < t.posMax && !op(t.src.charCodeAt(e)); ) e++;
2476
+ function cp(t, r) {
2477
+ for (var e = t.pos; e < t.posMax && !lp(t.src.charCodeAt(e)); ) e++;
2478
2478
  return e === t.pos ? !1 : (r || (t.pending += t.src.slice(t.pos, e)), t.pos = e, !0);
2479
2479
  }
2480
- function cp(t, r) {
2480
+ function up(t, r) {
2481
2481
  var e, n, i = t.pos;
2482
2482
  if (t.src.charCodeAt(i) !== 10) return !1;
2483
2483
  if (e = t.pending.length - 1, n = t.posMax, !r) if (e >= 0 && t.pending.charCodeAt(e) === 32)
@@ -2506,7 +2506,7 @@ for (var To = 0; To < 256; To++) Cs.push(0);
2506
2506
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t) {
2507
2507
  Cs[t.charCodeAt(0)] = 1;
2508
2508
  });
2509
- function up(t, r) {
2509
+ function dp(t, r) {
2510
2510
  var e, n = t.pos, i = t.posMax;
2511
2511
  if (t.src.charCodeAt(n) !== 92) return !1;
2512
2512
  if (n++, n < i) {
@@ -2521,7 +2521,7 @@ function up(t, r) {
2521
2521
  }
2522
2522
  return r || (t.pending += "\\"), t.pos++, !0;
2523
2523
  }
2524
- function dp(t, r) {
2524
+ function hp(t, r) {
2525
2525
  var e, n, i, a, s, o = t.pos, l = t.src.charCodeAt(o);
2526
2526
  if (l !== 96) return !1;
2527
2527
  for (e = o, o++, n = t.posMax; o < n && t.src.charCodeAt(o) === 96; ) o++;
@@ -2536,7 +2536,7 @@ function dp(t, r) {
2536
2536
  }
2537
2537
  return r || (t.pending += i), t.pos += i.length, !0;
2538
2538
  }
2539
- function hp(t, r) {
2539
+ function pp(t, r) {
2540
2540
  var e, n, i, a = t.posMax, s = t.pos, o, l;
2541
2541
  if (t.src.charCodeAt(s) !== 126 || r || s + 4 >= a || t.src.charCodeAt(s + 1) !== 126 || t.level >= t.options.maxNesting || (o = s > 0 ? t.src.charCodeAt(s - 1) : -1, l = t.src.charCodeAt(s + 2), o === 126) || l === 126 || l === 32 || l === 10) return !1;
2542
2542
  for (n = s + 2; n < a && t.src.charCodeAt(n) === 126; ) n++;
@@ -2556,7 +2556,7 @@ function hp(t, r) {
2556
2556
  level: --t.level
2557
2557
  })), t.pos = t.posMax + 2, t.posMax = a, !0) : (t.pos = s, !1);
2558
2558
  }
2559
- function pp(t, r) {
2559
+ function fp(t, r) {
2560
2560
  var e, n, i, a = t.posMax, s = t.pos, o, l;
2561
2561
  if (t.src.charCodeAt(s) !== 43 || r || s + 4 >= a || t.src.charCodeAt(s + 1) !== 43 || t.level >= t.options.maxNesting || (o = s > 0 ? t.src.charCodeAt(s - 1) : -1, l = t.src.charCodeAt(s + 2), o === 43) || l === 43 || l === 32 || l === 10) return !1;
2562
2562
  for (n = s + 2; n < a && t.src.charCodeAt(n) === 43; ) n++;
@@ -2576,7 +2576,7 @@ function pp(t, r) {
2576
2576
  level: --t.level
2577
2577
  })), t.pos = t.posMax + 2, t.posMax = a, !0) : (t.pos = s, !1);
2578
2578
  }
2579
- function fp(t, r) {
2579
+ function mp(t, r) {
2580
2580
  var e, n, i, a = t.posMax, s = t.pos, o, l;
2581
2581
  if (t.src.charCodeAt(s) !== 61 || r || s + 4 >= a || t.src.charCodeAt(s + 1) !== 61 || t.level >= t.options.maxNesting || (o = s > 0 ? t.src.charCodeAt(s - 1) : -1, l = t.src.charCodeAt(s + 2), o === 61) || l === 61 || l === 32 || l === 10) return !1;
2582
2582
  for (n = s + 2; n < a && t.src.charCodeAt(n) === 61; ) n++;
@@ -2608,7 +2608,7 @@ function Oo(t, r) {
2608
2608
  delims: a
2609
2609
  };
2610
2610
  }
2611
- function mp(t, r) {
2611
+ function gp(t, r) {
2612
2612
  var e, n, i, a, s, o, l, c = t.posMax, u = t.pos, d = t.src.charCodeAt(u);
2613
2613
  if (d !== 95 && d !== 42 || r) return !1;
2614
2614
  if (l = Oo(t, u), e = l.delims, !l.can_open) return t.pos += e, r || (t.pending += t.src.slice(u, t.pos)), !0;
@@ -2650,8 +2650,8 @@ function mp(t, r) {
2650
2650
  level: --t.level
2651
2651
  })), t.pos = t.posMax + e, t.posMax = c, !0) : (t.pos = u, !1);
2652
2652
  }
2653
- var gp = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
2654
- function vp(t, r) {
2653
+ var vp = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
2654
+ function yp(t, r) {
2655
2655
  var e, n, i = t.posMax, a = t.pos;
2656
2656
  if (t.src.charCodeAt(a) !== 126 || r || a + 2 >= i || t.level >= t.options.maxNesting) return !1;
2657
2657
  for (t.pos = a + 1; t.pos < i; ) {
@@ -2664,11 +2664,11 @@ function vp(t, r) {
2664
2664
  return !e || a + 1 === t.pos || (n = t.src.slice(a + 1, t.pos), n.match(/(^|[^\\])(\\\\)*\s/)) ? (t.pos = a, !1) : (t.posMax = t.pos, t.pos = a + 1, r || t.push({
2665
2665
  type: "sub",
2666
2666
  level: t.level,
2667
- content: n.replace(gp, "$1")
2667
+ content: n.replace(vp, "$1")
2668
2668
  }), t.pos = t.posMax + 1, t.posMax = i, !0);
2669
2669
  }
2670
- var yp = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
2671
- function bp(t, r) {
2670
+ var bp = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
2671
+ function wp(t, r) {
2672
2672
  var e, n, i = t.posMax, a = t.pos;
2673
2673
  if (t.src.charCodeAt(a) !== 94 || r || a + 2 >= i || t.level >= t.options.maxNesting) return !1;
2674
2674
  for (t.pos = a + 1; t.pos < i; ) {
@@ -2681,10 +2681,10 @@ function bp(t, r) {
2681
2681
  return !e || a + 1 === t.pos || (n = t.src.slice(a + 1, t.pos), n.match(/(^|[^\\])(\\\\)*\s/)) ? (t.pos = a, !1) : (t.posMax = t.pos, t.pos = a + 1, r || t.push({
2682
2682
  type: "sup",
2683
2683
  level: t.level,
2684
- content: n.replace(yp, "$1")
2684
+ content: n.replace(bp, "$1")
2685
2685
  }), t.pos = t.posMax + 1, t.posMax = i, !0);
2686
2686
  }
2687
- function wp(t, r) {
2687
+ function kp(t, r) {
2688
2688
  var e, n, i, a, s, o, l, c, u = !1, d = t.pos, h = t.posMax, p = t.pos, f = t.src.charCodeAt(p);
2689
2689
  if (f === 33 && (u = !0, f = t.src.charCodeAt(++p)), f !== 91 || t.level >= t.options.maxNesting || (e = p + 1, n = ar(t, p), n < 0)) return !1;
2690
2690
  if (o = n + 1, o < h && t.src.charCodeAt(o) === 40) {
@@ -2717,7 +2717,7 @@ function wp(t, r) {
2717
2717
  level: --t.level
2718
2718
  }))), t.pos = o, t.posMax = h, !0;
2719
2719
  }
2720
- function kp(t, r) {
2720
+ function Sp(t, r) {
2721
2721
  var e, n, i, a, s = t.posMax, o = t.pos;
2722
2722
  return o + 2 >= s || t.src.charCodeAt(o) !== 94 || t.src.charCodeAt(o + 1) !== 91 || t.level >= t.options.maxNesting || (e = o + 2, n = ar(t, o + 1), n < 0) ? !1 : (r || (t.env.footnotes || (t.env.footnotes = {}), t.env.footnotes.list || (t.env.footnotes.list = []), i = t.env.footnotes.list.length, t.pos = e, t.posMax = n, t.push({
2723
2723
  type: "footnote_ref",
@@ -2727,7 +2727,7 @@ function kp(t, r) {
2727
2727
  tokens: t.tokens.splice(a)
2728
2728
  }, t.linkLevel--), t.pos = n + 1, t.posMax = s, !0);
2729
2729
  }
2730
- function Sp(t, r) {
2730
+ function _p(t, r) {
2731
2731
  var e, n, i, a, s = t.posMax, o = t.pos;
2732
2732
  if (o + 3 > s || !t.env.footnotes || !t.env.footnotes.refs || t.src.charCodeAt(o) !== 91 || t.src.charCodeAt(o + 1) !== 94 || t.level >= t.options.maxNesting) return !1;
2733
2733
  for (n = o + 2; n < s; n++) {
@@ -2744,10 +2744,10 @@ function Sp(t, r) {
2744
2744
  level: t.level
2745
2745
  })), t.pos = n, t.posMax = s, !0);
2746
2746
  }
2747
- var _p = ["coap", "doi", "javascript", "aaa", "aaas", "about", "acap", "cap", "cid", "crid", "data", "dav", "dict", "dns", "file", "ftp", "geo", "go", "gopher", "h323", "http", "https", "iax", "icap", "im", "imap", "info", "ipp", "iris", "iris.beep", "iris.xpc", "iris.xpcs", "iris.lwz", "ldap", "mailto", "mid", "msrp", "msrps", "mtqp", "mupdate", "news", "nfs", "ni", "nih", "nntp", "opaquelocktoken", "pop", "pres", "rtsp", "service", "session", "shttp", "sieve", "sip", "sips", "sms", "snmp", "soap.beep", "soap.beeps", "tag", "tel", "telnet", "tftp", "thismessage", "tn3270", "tip", "tv", "urn", "vemmi", "ws", "wss", "xcon", "xcon-userid", "xmlrpc.beep", "xmlrpc.beeps", "xmpp", "z39.50r", "z39.50s", "adiumxtra", "afp", "afs", "aim", "apt", "attachment", "aw", "beshare", "bitcoin", "bolo", "callto", "chrome", "chrome-extension", "com-eventbrite-attendee", "content", "cvs", "dlna-playsingle", "dlna-playcontainer", "dtn", "dvb", "ed2k", "facetime", "feed", "finger", "fish", "gg", "git", "gizmoproject", "gtalk", "hcp", "icon", "ipn", "irc", "irc6", "ircs", "itms", "jar", "jms", "keyparc", "lastfm", "ldaps", "magnet", "maps", "market", "message", "mms", "ms-help", "msnim", "mumble", "mvn", "notes", "oid", "palm", "paparazzi", "platform", "proxy", "psyc", "query", "res", "resource", "rmi", "rsync", "rtmp", "secondlife", "sftp", "sgn", "skype", "smb", "soldat", "spotify", "ssh", "steam", "svn", "teamspeak", "things", "udp", "unreal", "ut2004", "ventrilo", "view-source", "webcal", "wtai", "wyciwyg", "xfire", "xri", "ymsgr"], Cp = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/, xp = /^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;
2748
- function Ep(t, r) {
2747
+ var Cp = ["coap", "doi", "javascript", "aaa", "aaas", "about", "acap", "cap", "cid", "crid", "data", "dav", "dict", "dns", "file", "ftp", "geo", "go", "gopher", "h323", "http", "https", "iax", "icap", "im", "imap", "info", "ipp", "iris", "iris.beep", "iris.xpc", "iris.xpcs", "iris.lwz", "ldap", "mailto", "mid", "msrp", "msrps", "mtqp", "mupdate", "news", "nfs", "ni", "nih", "nntp", "opaquelocktoken", "pop", "pres", "rtsp", "service", "session", "shttp", "sieve", "sip", "sips", "sms", "snmp", "soap.beep", "soap.beeps", "tag", "tel", "telnet", "tftp", "thismessage", "tn3270", "tip", "tv", "urn", "vemmi", "ws", "wss", "xcon", "xcon-userid", "xmlrpc.beep", "xmlrpc.beeps", "xmpp", "z39.50r", "z39.50s", "adiumxtra", "afp", "afs", "aim", "apt", "attachment", "aw", "beshare", "bitcoin", "bolo", "callto", "chrome", "chrome-extension", "com-eventbrite-attendee", "content", "cvs", "dlna-playsingle", "dlna-playcontainer", "dtn", "dvb", "ed2k", "facetime", "feed", "finger", "fish", "gg", "git", "gizmoproject", "gtalk", "hcp", "icon", "ipn", "irc", "irc6", "ircs", "itms", "jar", "jms", "keyparc", "lastfm", "ldaps", "magnet", "maps", "market", "message", "mms", "ms-help", "msnim", "mumble", "mvn", "notes", "oid", "palm", "paparazzi", "platform", "proxy", "psyc", "query", "res", "resource", "rmi", "rsync", "rtmp", "secondlife", "sftp", "sgn", "skype", "smb", "soldat", "spotify", "ssh", "steam", "svn", "teamspeak", "things", "udp", "unreal", "ut2004", "ventrilo", "view-source", "webcal", "wtai", "wyciwyg", "xfire", "xri", "ymsgr"], xp = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/, Ep = /^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;
2748
+ function Ap(t, r) {
2749
2749
  var e, n, i, a, s, o = t.pos;
2750
- return t.src.charCodeAt(o) !== 60 || (e = t.src.slice(o), e.indexOf(">") < 0) ? !1 : (n = e.match(xp), n ? _p.indexOf(n[1].toLowerCase()) < 0 || (a = n[0].slice(1, -1), s = Ya(a), !t.parser.validateLink(a)) ? !1 : (r || (t.push({
2750
+ return t.src.charCodeAt(o) !== 60 || (e = t.src.slice(o), e.indexOf(">") < 0) ? !1 : (n = e.match(Ep), n ? Cp.indexOf(n[1].toLowerCase()) < 0 || (a = n[0].slice(1, -1), s = Ya(a), !t.parser.validateLink(a)) ? !1 : (r || (t.push({
2751
2751
  type: "link_open",
2752
2752
  href: s,
2753
2753
  level: t.level
@@ -2758,7 +2758,7 @@ function Ep(t, r) {
2758
2758
  }), t.push({
2759
2759
  type: "link_close",
2760
2760
  level: t.level
2761
- })), t.pos += n[0].length, !0) : (i = e.match(Cp), i ? (a = i[0].slice(1, -1), s = Ya("mailto:" + a), t.parser.validateLink(s) ? (r || (t.push({
2761
+ })), t.pos += n[0].length, !0) : (i = e.match(xp), i ? (a = i[0].slice(1, -1), s = Ya("mailto:" + a), t.parser.validateLink(s) ? (r || (t.push({
2762
2762
  type: "link_open",
2763
2763
  href: s,
2764
2764
  level: t.level
@@ -2776,38 +2776,38 @@ function _i(t, r) {
2776
2776
  return n ? (i = i.source || i, t = t.replace(n, i), e) : new RegExp(t, r);
2777
2777
  };
2778
2778
  }
2779
- var Ap = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Tp = /[^"'=<>`\x00-\x20]+/, Rp = /'[^']*'/, Op = /"[^"]*"/, Lp = _i(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Tp)("single_quoted", Rp)("double_quoted", Op)(), Ip = _i(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", Ap)("attr_value", Lp)(), Mp = _i(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Ip)(), Pp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, Fp = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, $p = /<[?].*?[?]>/, Np = /<![A-Z]+\s+[^>]*>/, Dp = /<!\[CDATA\[[\s\S]*?\]\]>/, Bp = _i(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Mp)("close_tag", Pp)("comment", Fp)("processing", $p)("declaration", Np)("cdata", Dp)();
2780
- function jp(t) {
2779
+ var Tp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Rp = /[^"'=<>`\x00-\x20]+/, Op = /'[^']*'/, Lp = /"[^"]*"/, Ip = _i(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Rp)("single_quoted", Op)("double_quoted", Lp)(), Mp = _i(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", Tp)("attr_value", Ip)(), Pp = _i(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Mp)(), Fp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, $p = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, Np = /<[?].*?[?]>/, Dp = /<![A-Z]+\s+[^>]*>/, Bp = /<!\[CDATA\[[\s\S]*?\]\]>/, jp = _i(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Pp)("close_tag", Fp)("comment", $p)("processing", Np)("declaration", Dp)("cdata", Bp)();
2780
+ function Hp(t) {
2781
2781
  var r = t | 32;
2782
2782
  return r >= 97 && r <= 122;
2783
2783
  }
2784
- function Hp(t, r) {
2784
+ function Up(t, r) {
2785
2785
  var e, n, i, a = t.pos;
2786
- return !t.options.html || (i = t.posMax, t.src.charCodeAt(a) !== 60 || a + 2 >= i) || (e = t.src.charCodeAt(a + 1), e !== 33 && e !== 63 && e !== 47 && !jp(e)) || (n = t.src.slice(a).match(Bp), !n) ? !1 : (r || t.push({
2786
+ return !t.options.html || (i = t.posMax, t.src.charCodeAt(a) !== 60 || a + 2 >= i) || (e = t.src.charCodeAt(a + 1), e !== 33 && e !== 63 && e !== 47 && !Hp(e)) || (n = t.src.slice(a).match(jp), !n) ? !1 : (r || t.push({
2787
2787
  type: "htmltag",
2788
2788
  content: t.src.slice(a, a + n[0].length),
2789
2789
  level: t.level
2790
2790
  }), t.pos += n[0].length, !0);
2791
2791
  }
2792
- var Up = /^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i, zp = /^&([a-z][a-z0-9]{1,31});/i;
2793
- function qp(t, r) {
2792
+ var zp = /^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i, qp = /^&([a-z][a-z0-9]{1,31});/i;
2793
+ function Vp(t, r) {
2794
2794
  var e, n, i, a = t.pos, s = t.posMax;
2795
2795
  if (t.src.charCodeAt(a) !== 38) return !1;
2796
2796
  if (a + 1 < s) {
2797
2797
  if (e = t.src.charCodeAt(a + 1), e === 35) {
2798
- if (i = t.src.slice(a).match(Up), i) return r || (n = i[1][0].toLowerCase() === "x" ? parseInt(i[1].slice(1), 16) : parseInt(i[1], 10), t.pending += ru(n) ? Za(n) : Za(65533)), t.pos += i[0].length, !0;
2799
- } else if (i = t.src.slice(a).match(zp), i) {
2798
+ if (i = t.src.slice(a).match(zp), i) return r || (n = i[1][0].toLowerCase() === "x" ? parseInt(i[1].slice(1), 16) : parseInt(i[1], 10), t.pending += ru(n) ? Za(n) : Za(65533)), t.pos += i[0].length, !0;
2799
+ } else if (i = t.src.slice(a).match(qp), i) {
2800
2800
  var o = tu(i[1]);
2801
2801
  if (i[1] !== o) return r || (t.pending += o), t.pos += i[0].length, !0;
2802
2802
  }
2803
2803
  }
2804
2804
  return r || (t.pending += "&"), t.pos++, !0;
2805
2805
  }
2806
- var ha = [["text", lp], ["newline", cp], ["escape", up], ["backticks", dp], ["del", hp], ["ins", pp], ["mark", fp], ["emphasis", mp], ["sub", vp], ["sup", bp], ["links", wp], ["footnote_inline", kp], ["footnote_ref", Sp], ["autolink", Ep], ["htmltag", Hp], ["entity", qp]];
2806
+ var ha = [["text", cp], ["newline", up], ["escape", dp], ["backticks", hp], ["del", pp], ["ins", fp], ["mark", mp], ["emphasis", gp], ["sub", yp], ["sup", wp], ["links", kp], ["footnote_inline", Sp], ["footnote_ref", _p], ["autolink", Ap], ["htmltag", Up], ["entity", Vp]];
2807
2807
  function Ci() {
2808
2808
  this.ruler = new Ne();
2809
2809
  for (var t = 0; t < ha.length; t++) this.ruler.push(ha[t][0], ha[t][1]);
2810
- this.validateLink = Vp;
2810
+ this.validateLink = Wp;
2811
2811
  }
2812
2812
  Ci.prototype.skipToken = function(t) {
2813
2813
  var r = this.ruler.getRules(""), e = r.length, n = t.pos, i, a;
@@ -2836,11 +2836,11 @@ Ci.prototype.parse = function(t, r, e, n) {
2836
2836
  var i = new Vt(t, this, r, e, n);
2837
2837
  this.tokenize(i);
2838
2838
  };
2839
- function Vp(t) {
2839
+ function Wp(t) {
2840
2840
  var r = ["vbscript", "javascript", "file", "data"], e = t.trim().toLowerCase();
2841
2841
  return e = Bt(e), !(e.indexOf(":") !== -1 && r.indexOf(e.split(":")[0]) !== -1);
2842
2842
  }
2843
- var Wp = {
2843
+ var Gp = {
2844
2844
  options: {
2845
2845
  html: !1,
2846
2846
  // Enable HTML tags in source
@@ -2877,7 +2877,7 @@ var Wp = {
2877
2877
  rules: ["autolink", "backticks", "del", "emphasis", "entity", "escape", "footnote_ref", "htmltag", "links", "newline", "text"]
2878
2878
  }
2879
2879
  }
2880
- }, Gp = {
2880
+ }, Kp = {
2881
2881
  options: {
2882
2882
  html: !1,
2883
2883
  // Enable HTML tags in source
@@ -2909,7 +2909,7 @@ var Wp = {
2909
2909
  block: {},
2910
2910
  inline: {}
2911
2911
  }
2912
- }, Kp = {
2912
+ }, Jp = {
2913
2913
  options: {
2914
2914
  html: !0,
2915
2915
  // Enable HTML tags in source
@@ -2946,10 +2946,10 @@ var Wp = {
2946
2946
  rules: ["autolink", "backticks", "emphasis", "entity", "escape", "htmltag", "links", "newline", "text"]
2947
2947
  }
2948
2948
  }
2949
- }, Jp = {
2950
- default: Wp,
2951
- full: Gp,
2952
- commonmark: Kp
2949
+ }, Zp = {
2950
+ default: Gp,
2951
+ full: Kp,
2952
+ commonmark: Jp
2953
2953
  };
2954
2954
  function uu(t, r, e) {
2955
2955
  this.src = r, this.env = e, this.options = t.options, this.tokens = [], this.inlineMode = !1, this.inline = t.inline, this.block = t.block, this.renderer = t.renderer, this.typographer = t.typographer;
@@ -2960,7 +2960,7 @@ function ht(t, r) {
2960
2960
  import Remarkable from 'remarkable';
2961
2961
  import linkify from 'remarkable/linkify';
2962
2962
  new Remarkable().use(linkify)
2963
- `), this.inline = new Ci(), this.block = new _s(), this.core = new lu(), this.renderer = new Ss(), this.ruler = new Ne(), this.options = {}, this.configure(Jp[t]), this.set(r || {});
2963
+ `), this.inline = new Ci(), this.block = new _s(), this.core = new lu(), this.renderer = new Ss(), this.ruler = new Ne(), this.options = {}, this.configure(Zp[t]), this.set(r || {});
2964
2964
  }
2965
2965
  ht.prototype.set = function(t) {
2966
2966
  nu(this.options, t);
@@ -3553,7 +3553,7 @@ var vt = Qa, pu = /* @__PURE__ */ function() {
3553
3553
  }();
3554
3554
  pu.CONTENT_TYPE = "Content-Type";
3555
3555
  var X = pu;
3556
- function Zp(t, r) {
3556
+ function Yp(t, r) {
3557
3557
  return es.apply(this, arguments);
3558
3558
  }
3559
3559
  function es() {
@@ -3581,10 +3581,10 @@ function es() {
3581
3581
  }, t);
3582
3582
  })), es.apply(this, arguments);
3583
3583
  }
3584
- function Yp(t) {
3584
+ function Xp(t) {
3585
3585
  var r, e, n, i = !1;
3586
3586
  return function(a) {
3587
- r === void 0 ? (r = a, e = 0, n = -1) : r = Qp(r, a);
3587
+ r === void 0 ? (r = a, e = 0, n = -1) : r = ef(r, a);
3588
3588
  for (var s = r.length, o = 0; e < s; ) {
3589
3589
  i && (r[e] === 10 && (o = ++e), i = !1);
3590
3590
  for (var l = -1; e < s && l === -1; ++e) switch (r[e]) {
@@ -3603,7 +3603,7 @@ function Yp(t) {
3603
3603
  o === s ? r = void 0 : o !== 0 && (r = r.subarray(o), e -= o);
3604
3604
  };
3605
3605
  }
3606
- function Xp(t, r, e) {
3606
+ function Qp(t, r, e) {
3607
3607
  var n = Lo(), i = new TextDecoder();
3608
3608
  return function(a, s) {
3609
3609
  if (a.length === 0) e == null || e(n), n = Lo();
@@ -3628,7 +3628,7 @@ function Xp(t, r, e) {
3628
3628
  }
3629
3629
  };
3630
3630
  }
3631
- function Qp(t, r) {
3631
+ function ef(t, r) {
3632
3632
  var e = new Uint8Array(t.length + r.length);
3633
3633
  return e.set(t), e.set(r, t.length), e;
3634
3634
  }
@@ -3640,14 +3640,14 @@ function Lo() {
3640
3640
  retry: void 0
3641
3641
  };
3642
3642
  }
3643
- var ef = function(r, e) {
3643
+ var tf = function(r, e) {
3644
3644
  var n = {};
3645
3645
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && e.indexOf(i) < 0 && (n[i] = r[i]);
3646
3646
  if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, i = Object.getOwnPropertySymbols(r); a < i.length; a++) e.indexOf(i[a]) < 0 && Object.prototype.propertyIsEnumerable.call(r, i[a]) && (n[i[a]] = r[i[a]]);
3647
3647
  return n;
3648
- }, ts = "text/event-stream", tf = 1e3, Io = "last-event-id";
3649
- function nf(t, r) {
3650
- var e = r.signal, n = r.headers, i = r.onopen, a = r.onmessage, s = r.onclose, o = r.onerror, l = r.openWhenHidden, c = r.fetch, u = ef(r, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
3648
+ }, ts = "text/event-stream", nf = 1e3, Io = "last-event-id";
3649
+ function rf(t, r) {
3650
+ var e = r.signal, n = r.headers, i = r.onopen, a = r.onmessage, s = r.onclose, o = r.onerror, l = r.openWhenHidden, c = r.fetch, u = tf(r, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
3651
3651
  return new Promise(function(d, h) {
3652
3652
  var p = Object.assign({}, n);
3653
3653
  p.accept || (p.accept = ts);
@@ -3656,14 +3656,14 @@ function nf(t, r) {
3656
3656
  f.abort(), document.hidden || R();
3657
3657
  }
3658
3658
  l || document.addEventListener("visibilitychange", g);
3659
- var y = tf, v = 0;
3659
+ var y = nf, v = 0;
3660
3660
  function b() {
3661
3661
  document.removeEventListener("visibilitychange", g), window.clearTimeout(v), f.abort();
3662
3662
  }
3663
3663
  e == null || e.addEventListener("abort", function() {
3664
3664
  b(), d();
3665
3665
  });
3666
- var S = c ?? window.fetch, $ = i ?? rf;
3666
+ var S = c ?? window.fetch, $ = i ?? af;
3667
3667
  function R() {
3668
3668
  return U.apply(this, arguments);
3669
3669
  }
@@ -3680,7 +3680,7 @@ function nf(t, r) {
3680
3680
  case 4:
3681
3681
  return he = K.sent, K.next = 7, $(he);
3682
3682
  case 7:
3683
- return K.next = 9, Zp(he.body, Yp(Xp(function(ge) {
3683
+ return K.next = 9, Yp(he.body, Xp(Qp(function(ge) {
3684
3684
  ge ? p[Io] = ge : delete p[Io];
3685
3685
  }, function(ge) {
3686
3686
  y = ge;
@@ -3704,7 +3704,7 @@ function nf(t, r) {
3704
3704
  R();
3705
3705
  });
3706
3706
  }
3707
- function rf(t) {
3707
+ function af(t) {
3708
3708
  var r = t.headers.get("content-type");
3709
3709
  if (!(r != null && r.startsWith(ts))) throw new Error("Expected content-type to be ".concat(ts, ", Actual: ").concat(r));
3710
3710
  }
@@ -3745,7 +3745,7 @@ var ye = /* @__PURE__ */ function() {
3745
3745
  }
3746
3746
  return K.abrupt("return", yt.requestStream(s, i.streamHandlers));
3747
3747
  case 19:
3748
- return G = new vt(s), he = X.fetch.bind(this, i, b, o), K.abrupt("return", (nf(((h = i.connectSettings) == null ? void 0 : h.url) || i.url || "", {
3748
+ return G = new vt(s), he = X.fetch.bind(this, i, b, o), K.abrupt("return", (rf(((h = i.connectSettings) == null ? void 0 : h.url) || i.url || "", {
3749
3749
  method: ((p = i.connectSettings) == null ? void 0 : p.method) || "POST",
3750
3750
  headers: b,
3751
3751
  credentials: (f = i.connectSettings) == null ? void 0 : f.credentials,
@@ -4553,7 +4553,7 @@ var yt = fu, sr = /* @__PURE__ */ function() {
4553
4553
  return n !== void 0 ? n > 0 && (e = t.getMaxMessages(e, n)) : e = [e[e.length - 1]], e = JSON.parse(JSON.stringify(e)), i === void 0 ? e : t.getCharacterLimitMessages(e, i);
4554
4554
  }
4555
4555
  }]);
4556
- }(), af = /* @__PURE__ */ function() {
4556
+ }(), sf = /* @__PURE__ */ function() {
4557
4557
  function t() {
4558
4558
  w(this, t);
4559
4559
  }
@@ -4661,7 +4661,7 @@ var yt = fu, sr = /* @__PURE__ */ function() {
4661
4661
  var i;
4662
4662
  w(this, t);
4663
4663
  var a, s, o, l, c;
4664
- this.rawBody = {}, this.validateKeyProperty = !1, this.canSendMessage = t.canSendMessage, this.connectSettings = {}, this.fileTypes = {}, this.completionsHandlers = {}, this.streamHandlers = {}, this.deepChat = r, this.demo = n, Object.assign(this.rawBody, (a = r.connect) == null ? void 0 : a.additionalBodyProps), this.totalMessagesMaxCharLength = (s = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : s.totalMessagesMaxCharLength, this.maxMessages = (o = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : o.maxMessages, af.set(r, this, e), r.connect && (this.connectSettings = r.connect), this.demo && ((i = (l = this.connectSettings).url) !== null && i !== void 0 || (l.url = yt.URL)), this.connectSettings.websocket && sr.setup(this), this.stream = ((c = this.deepChat.connect) == null ? void 0 : c.stream) || qe.checkForStream(this.deepChat);
4664
+ this.rawBody = {}, this.validateKeyProperty = !1, this.canSendMessage = t.canSendMessage, this.connectSettings = {}, this.fileTypes = {}, this.completionsHandlers = {}, this.streamHandlers = {}, this.deepChat = r, this.demo = n, Object.assign(this.rawBody, (a = r.connect) == null ? void 0 : a.additionalBodyProps), this.totalMessagesMaxCharLength = (s = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : s.totalMessagesMaxCharLength, this.maxMessages = (o = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : o.maxMessages, sf.set(r, this, e), r.connect && (this.connectSettings = r.connect), this.demo && ((i = (l = this.connectSettings).url) !== null && i !== void 0 || (l.url = yt.URL)), this.connectSettings.websocket && sr.setup(this), this.stream = ((c = this.deepChat.connect) == null ? void 0 : c.stream) || qe.checkForStream(this.deepChat);
4665
4665
  }
4666
4666
  return k(t, [{
4667
4667
  key: "verifyKey",
@@ -4895,7 +4895,7 @@ var yt = fu, sr = /* @__PURE__ */ function() {
4895
4895
  return !0;
4896
4896
  }
4897
4897
  }]);
4898
- }(ui), sf = /* @__PURE__ */ function() {
4898
+ }(ui), of = /* @__PURE__ */ function() {
4899
4899
  function t() {
4900
4900
  w(this, t);
4901
4901
  }
@@ -4931,7 +4931,7 @@ var yt = fu, sr = /* @__PURE__ */ function() {
4931
4931
  return a;
4932
4932
  },
4933
4933
  set: function(o) {
4934
- a = o, i ? this[n] = o : sf.attemptRender(this);
4934
+ a = o, i ? this[n] = o : of.attemptRender(this);
4935
4935
  }
4936
4936
  });
4937
4937
  }
@@ -4956,7 +4956,7 @@ var yt = fu, sr = /* @__PURE__ */ function() {
4956
4956
  }]);
4957
4957
  }(/* @__PURE__ */ Va(HTMLElement));
4958
4958
  ns._attributes_ = {}, ns._attributeToProperty_ = {};
4959
- var of = ns, lf = `<?xml version="1.0" standalone="no"?>
4959
+ var lf = ns, cf = `<?xml version="1.0" standalone="no"?>
4960
4960
  <svg version="1.1"
4961
4961
  xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
4962
4962
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0.9em" height="0.9em"
@@ -4976,7 +4976,7 @@ var of = ns, lf = `<?xml version="1.0" standalone="no"?>
4976
4976
  L638.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"
4977
4977
  />
4978
4978
  </svg>
4979
- `, cf = `<?xml version="1.0" standalone="no"?>
4979
+ `, uf = `<?xml version="1.0" standalone="no"?>
4980
4980
  <svg version="1.1"
4981
4981
  xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
4982
4982
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0.9em" height="0.9em"
@@ -5026,15 +5026,15 @@ var of = ns, lf = `<?xml version="1.0" standalone="no"?>
5026
5026
  value: function(e) {
5027
5027
  var n = document.createElement("div");
5028
5028
  n.id = "visibility-icon-container";
5029
- var i = t.createIconElement(cf, t.VISIBLE_ICON_ID);
5029
+ var i = t.createIconElement(uf, t.VISIBLE_ICON_ID);
5030
5030
  i.style.display = "none", n.appendChild(i);
5031
- var a = t.createIconElement(lf, "not-visible-icon");
5031
+ var a = t.createIconElement(cf, "not-visible-icon");
5032
5032
  return n.appendChild(a), n.onclick = t.changeVisibility.bind(this, e, i, a), n;
5033
5033
  }
5034
5034
  }]);
5035
5035
  }();
5036
5036
  mu.VISIBLE_ICON_ID = "visible-icon";
5037
- var uf = mu, df = /* @__PURE__ */ function() {
5037
+ var df = mu, hf = /* @__PURE__ */ function() {
5038
5038
  function t() {
5039
5039
  w(this, t);
5040
5040
  }
@@ -5132,7 +5132,7 @@ var uf = mu, df = /* @__PURE__ */ function() {
5132
5132
  value: function(e, n) {
5133
5133
  var i, a = document.createElement("div");
5134
5134
  a.id = "insert-key-contents";
5135
- var s = t.createInput(n.insertKeyPlaceholderText), o = s.children[0], l = uf.create(o);
5135
+ var s = t.createInput(n.insertKeyPlaceholderText), o = s.children[0], l = df.create(o);
5136
5136
  s.appendChild(l), a.appendChild(s);
5137
5137
  var c = t.createStartButton(), u = t.createHelpTextContainer(n.keyHelpUrl, (i = n.deepChat._insertKeyViewStyles) == null ? void 0 : i.displayCautionText), d = u.helpTextContainerElement, h = u.failTextElement;
5138
5138
  return a.appendChild(c), a.appendChild(d), t.addVerificationEvents(o, c, h, e, n), a;
@@ -5942,7 +5942,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
5942
5942
  return !!(i != null && i[0]);
5943
5943
  }
5944
5944
  }]);
5945
- }(Gt), hf = /* @__PURE__ */ function(t) {
5945
+ }(Gt), pf = /* @__PURE__ */ function(t) {
5946
5946
  function r(e) {
5947
5947
  w(this, r);
5948
5948
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.audioClassification, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -5987,7 +5987,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
5987
5987
  return n;
5988
5988
  }()
5989
5989
  }]);
5990
- }(Ts), pf = /* @__PURE__ */ function(t) {
5990
+ }(Ts), ff = /* @__PURE__ */ function(t) {
5991
5991
  function r(e) {
5992
5992
  w(this, r);
5993
5993
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.imageClassification, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -6066,7 +6066,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6066
6066
  return w(this, r), o = q(this, r, [e, n, i, a, s]), o.insertKeyPlaceholderText = "Stability AI API Key", o.keyHelpUrl = "https://platform.stability.ai/docs/getting-started/authentication", o.permittedErrorPrefixes = ["Incorrect", "invalid_"], o;
6067
6067
  }
6068
6068
  return V(r, t), k(r);
6069
- }(Re), ff = /* @__PURE__ */ function(t) {
6069
+ }(Re), mf = /* @__PURE__ */ function(t) {
6070
6070
  function r(e) {
6071
6071
  var n;
6072
6072
  w(this, r);
@@ -6170,7 +6170,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6170
6170
  return !!(i != null && i[0]);
6171
6171
  }
6172
6172
  }]);
6173
- }(xi), mf = /* @__PURE__ */ function(t) {
6173
+ }(xi), gf = /* @__PURE__ */ function(t) {
6174
6174
  function r(e) {
6175
6175
  var n;
6176
6176
  w(this, r);
@@ -6274,7 +6274,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6274
6274
  return !!(i != null && i[0]) && !!(n && n.trim() !== "");
6275
6275
  }
6276
6276
  }]);
6277
- }(xi), gf = /* @__PURE__ */ function(t) {
6277
+ }(xi), vf = /* @__PURE__ */ function(t) {
6278
6278
  function r(e) {
6279
6279
  w(this, r);
6280
6280
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.audioSpeechRecognition, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -6318,7 +6318,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6318
6318
  return n;
6319
6319
  }()
6320
6320
  }]);
6321
- }(Ts), vf = /* @__PURE__ */ function(t) {
6321
+ }(Ts), yf = /* @__PURE__ */ function(t) {
6322
6322
  function r(e) {
6323
6323
  w(this, r);
6324
6324
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.textGeneration, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -6353,7 +6353,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6353
6353
  return n;
6354
6354
  }()
6355
6355
  }]);
6356
- }(Gt), yf = /* @__PURE__ */ function(t) {
6356
+ }(Gt), bf = /* @__PURE__ */ function(t) {
6357
6357
  function r(e) {
6358
6358
  var n;
6359
6359
  w(this, r);
@@ -6402,7 +6402,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6402
6402
  return n;
6403
6403
  }()
6404
6404
  }]);
6405
- }(Gt), bf = /* @__PURE__ */ function(t) {
6405
+ }(Gt), wf = /* @__PURE__ */ function(t) {
6406
6406
  function r(e) {
6407
6407
  w(this, r);
6408
6408
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.summarization, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -6437,7 +6437,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6437
6437
  return n;
6438
6438
  }()
6439
6439
  }]);
6440
- }(Gt), wf = /* @__PURE__ */ function(t) {
6440
+ }(Gt), kf = /* @__PURE__ */ function(t) {
6441
6441
  function r(e) {
6442
6442
  var n, i;
6443
6443
  w(this, r);
@@ -6508,7 +6508,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6508
6508
  return n;
6509
6509
  }()
6510
6510
  }]);
6511
- }(Gt), kf = /* @__PURE__ */ function(t) {
6511
+ }(Gt), Sf = /* @__PURE__ */ function(t) {
6512
6512
  function r(e) {
6513
6513
  var n;
6514
6514
  w(this, r);
@@ -6611,7 +6611,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6611
6611
  return !!(i != null && i[0]) && !!(n && n.trim() !== "");
6612
6612
  }
6613
6613
  }]);
6614
- }(xi), Sf = /* @__PURE__ */ function(t) {
6614
+ }(xi), _f = /* @__PURE__ */ function(t) {
6615
6615
  function r(e) {
6616
6616
  w(this, r);
6617
6617
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.translation, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
@@ -6646,7 +6646,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6646
6646
  return n;
6647
6647
  }()
6648
6648
  }]);
6649
- }(Gt), _f = /* @__PURE__ */ function(t) {
6649
+ }(Gt), Cf = /* @__PURE__ */ function(t) {
6650
6650
  function r(e) {
6651
6651
  var n;
6652
6652
  w(this, r);
@@ -6735,7 +6735,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6735
6735
  return !!(n && n.trim() !== "");
6736
6736
  }
6737
6737
  }]);
6738
- }(xi), Cf = /* @__PURE__ */ function(t) {
6738
+ }(xi), xf = /* @__PURE__ */ function(t) {
6739
6739
  function r(e) {
6740
6740
  var n;
6741
6741
  w(this, r);
@@ -6813,7 +6813,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6813
6813
  return w(this, r), o = q(this, r, [e, $o.buildKeyVerificationDetails(), $o.buildHeaders, s]), o.insertKeyPlaceholderText = "Cohere API Key", o.keyHelpUrl = "https://dashboard.cohere.ai/api-keys", o.permittedErrorPrefixes = ["invalid"], o.url = n, o.textInputPlaceholderText = i, a && z(a) == "object" && Object.assign(o.rawBody, a), o;
6814
6814
  }
6815
6815
  return V(r, t), k(r);
6816
- }(Re), xf = /* @__PURE__ */ function(t) {
6816
+ }(Re), Ef = /* @__PURE__ */ function(t) {
6817
6817
  function r(e) {
6818
6818
  w(this, r);
6819
6819
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : i.textGeneration, o = (a = e.directConnection) == null ? void 0 : a.cohere;
@@ -6882,7 +6882,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
6882
6882
  return n;
6883
6883
  }()
6884
6884
  }]);
6885
- }(Rs), Ef = /* @__PURE__ */ function(t) {
6885
+ }(Rs), Af = /* @__PURE__ */ function(t) {
6886
6886
  function r(e) {
6887
6887
  w(this, r);
6888
6888
  var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : i.summarization, o = (a = e.directConnection) == null ? void 0 : a.cohere;
@@ -7100,7 +7100,7 @@ var Gt = gu, Ts = /* @__PURE__ */ function(t) {
7100
7100
  }]);
7101
7101
  }(Re);
7102
7102
  rs.DEFAULT_MODEL = "tts-1", rs.DEFAULT_VOIDE = "alloy";
7103
- var Af = rs, Wr = /* @__PURE__ */ function(t) {
7103
+ var Tf = rs, Wr = /* @__PURE__ */ function(t) {
7104
7104
  function r(e) {
7105
7105
  var n, i;
7106
7106
  w(this, r);
@@ -7207,7 +7207,7 @@ var Af = rs, Wr = /* @__PURE__ */ function(t) {
7207
7207
  }]);
7208
7208
  }(Re);
7209
7209
  Wr.AUDIO_TRANSCRIPTIONS_URL = "https://api.openai.com/v1/audio/transcriptions", Wr.AUDIO_TRANSLATIONS_URL = "https://api.openai.com/v1/audio/translations", Wr.DEFAULT_MODEL = "whisper-1";
7210
- var Tf = Wr, jt = /* @__PURE__ */ function() {
7210
+ var Rf = Wr, jt = /* @__PURE__ */ function() {
7211
7211
  function t() {
7212
7212
  w(this, t);
7213
7213
  }
@@ -7307,14 +7307,14 @@ var Tf = Wr, jt = /* @__PURE__ */ function() {
7307
7307
  return e && (i["Ocp-Apim-Subscription-Region"] = e), i;
7308
7308
  }
7309
7309
  }]);
7310
- }(), Rf = /* @__PURE__ */ function(t) {
7310
+ }(), Of = /* @__PURE__ */ function(t) {
7311
7311
  function r(e, n, i, a, s) {
7312
7312
  var o;
7313
7313
  return w(this, r), o = q(this, r, [e, jt.buildLanguageKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Language Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
7314
7314
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", o.permittedErrorPrefixes = ["Access"], o;
7315
7315
  }
7316
7316
  return V(r, t), k(r);
7317
- }(Re), Of = /* @__PURE__ */ function(t) {
7317
+ }(Re), Lf = /* @__PURE__ */ function(t) {
7318
7318
  function r(e) {
7319
7319
  var n, i;
7320
7320
  w(this, r);
@@ -7429,7 +7429,7 @@ var Tf = Wr, jt = /* @__PURE__ */ function() {
7429
7429
  }
7430
7430
  throw a.tasks.items[0].results.errors[0];
7431
7431
  case 8:
7432
- s = "", o = Xd(a.tasks.items[0].results.documents[0].sentences);
7432
+ s = "", o = Qd(a.tasks.items[0].results.documents[0].sentences);
7433
7433
  try {
7434
7434
  for (o.s(); !(l = o.n()).done; )
7435
7435
  c = l.value, s += c.text;
@@ -7453,7 +7453,7 @@ var Tf = Wr, jt = /* @__PURE__ */ function() {
7453
7453
  return n;
7454
7454
  }()
7455
7455
  }]);
7456
- }(Rf), pa = /* @__PURE__ */ function() {
7456
+ }(Of), pa = /* @__PURE__ */ function() {
7457
7457
  function t() {
7458
7458
  w(this, t);
7459
7459
  }
@@ -7547,7 +7547,7 @@ var Tf = Wr, jt = /* @__PURE__ */ function() {
7547
7547
  };
7548
7548
  }
7549
7549
  }]);
7550
- }(), Lf = /* @__PURE__ */ function(t) {
7550
+ }(), If = /* @__PURE__ */ function(t) {
7551
7551
  function r(e) {
7552
7552
  var n;
7553
7553
  w(this, r);
@@ -7717,7 +7717,7 @@ var Tf = Wr, jt = /* @__PURE__ */ function() {
7717
7717
  }(vu);
7718
7718
  yu.HELP_LINK = // eslint-disable-next-line max-len
7719
7719
  "https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest";
7720
- var If = yu, bu = /* @__PURE__ */ function(t) {
7720
+ var Mf = yu, bu = /* @__PURE__ */ function(t) {
7721
7721
  function r(e) {
7722
7722
  var n;
7723
7723
  w(this, r);
@@ -7805,7 +7805,7 @@ var If = yu, bu = /* @__PURE__ */ function(t) {
7805
7805
  }(vu);
7806
7806
  bu.HELP_LINK = // eslint-disable-next-line max-len
7807
7807
  "https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest";
7808
- var Mf = bu, Pf = /* @__PURE__ */ function(t) {
7808
+ var Pf = bu, Ff = /* @__PURE__ */ function(t) {
7809
7809
  function r(e) {
7810
7810
  var n;
7811
7811
  w(this, r);
@@ -8744,7 +8744,7 @@ var Lt = is, Gr = /* @__PURE__ */ function(t) {
8744
8744
  }]);
8745
8745
  }(Re);
8746
8746
  Gr.THREAD_PREFIX = "https://api.openai.com/v1/threads", Gr.NEW_ASSISTANT_URL = "https://api.openai.com/v1/assistants", Gr.POLLING_TIMEOUT_MS = 800;
8747
- var Ff = Gr, Kr = /* @__PURE__ */ function(t) {
8747
+ var $f = Gr, Kr = /* @__PURE__ */ function(t) {
8748
8748
  function r(e) {
8749
8749
  var n;
8750
8750
  w(this, r);
@@ -8892,7 +8892,7 @@ var Ff = Gr, Kr = /* @__PURE__ */ function(t) {
8892
8892
  }]);
8893
8893
  }(Re);
8894
8894
  Kr.IMAGE_GENERATION_URL = "https://api.openai.com/v1/images/generations", Kr.IMAGE_VARIATIONS_URL = "https://api.openai.com/v1/images/variations", Kr.IMAGE_EDIT_URL = "https://api.openai.com/v1/images/edits";
8895
- var $f = Kr, Nf = /* @__PURE__ */ function(t) {
8895
+ var Nf = Kr, Df = /* @__PURE__ */ function(t) {
8896
8896
  function r(e) {
8897
8897
  var n, i, a;
8898
8898
  w(this, r);
@@ -9138,7 +9138,7 @@ var $f = Kr, Nf = /* @__PURE__ */ function(t) {
9138
9138
  return n.text;
9139
9139
  }
9140
9140
  }]);
9141
- }(Re), Df = /* @__PURE__ */ function(t) {
9141
+ }(Re), Bf = /* @__PURE__ */ function(t) {
9142
9142
  function r(e) {
9143
9143
  var n, i;
9144
9144
  w(this, r);
@@ -9242,7 +9242,7 @@ var $f = Kr, Nf = /* @__PURE__ */ function(t) {
9242
9242
  };
9243
9243
  }
9244
9244
  }]);
9245
- }(), Bf = /* @__PURE__ */ function(t) {
9245
+ }(), jf = /* @__PURE__ */ function(t) {
9246
9246
  function r(e) {
9247
9247
  var n, i, a;
9248
9248
  w(this, r);
@@ -9322,7 +9322,7 @@ var $f = Kr, Nf = /* @__PURE__ */ function(t) {
9322
9322
  return n;
9323
9323
  }()
9324
9324
  }]);
9325
- }(Re), jf = /* @__PURE__ */ function() {
9325
+ }(Re), Hf = /* @__PURE__ */ function() {
9326
9326
  function t() {
9327
9327
  w(this, t);
9328
9328
  }
@@ -9334,18 +9334,18 @@ var $f = Kr, Nf = /* @__PURE__ */ function(t) {
9334
9334
  var n = e.directConnection, i = e.connect, a = e.demo, s = e.webModel;
9335
9335
  if (s) return new As(e);
9336
9336
  if (n) {
9337
- if (n.openAI) return n.openAI.images ? new $f(e) : n.openAI.speechToText ? new Tf(e) : n.openAI.textToSpeech ? new Af(e) : n.openAI.assistant ? new Ff(e) : new Nf(e);
9338
- if (n.assemblyAI) return new Lf(e);
9339
- if (n.cohere) return n.cohere.textGeneration ? new xf(e) : n.cohere.summarization ? new Ef(e) : new Df(e);
9340
- if (n.huggingFace) return n.huggingFace.textGeneration ? new vf(e) : n.huggingFace.summarization ? new bf(e) : n.huggingFace.translation ? new Sf(e) : n.huggingFace.fillMask ? new Cf(e) : n.huggingFace.questionAnswer ? new yf(e) : n.huggingFace.audioSpeechRecognition ? new gf(e) : n.huggingFace.audioClassification ? new hf(e) : n.huggingFace.imageClassification ? new pf(e) : new wf(e);
9337
+ if (n.openAI) return n.openAI.images ? new Nf(e) : n.openAI.speechToText ? new Rf(e) : n.openAI.textToSpeech ? new Tf(e) : n.openAI.assistant ? new $f(e) : new Df(e);
9338
+ if (n.assemblyAI) return new If(e);
9339
+ if (n.cohere) return n.cohere.textGeneration ? new Ef(e) : n.cohere.summarization ? new Af(e) : new Bf(e);
9340
+ if (n.huggingFace) return n.huggingFace.textGeneration ? new yf(e) : n.huggingFace.summarization ? new wf(e) : n.huggingFace.translation ? new _f(e) : n.huggingFace.fillMask ? new xf(e) : n.huggingFace.questionAnswer ? new bf(e) : n.huggingFace.audioSpeechRecognition ? new vf(e) : n.huggingFace.audioClassification ? new pf(e) : n.huggingFace.imageClassification ? new ff(e) : new kf(e);
9341
9341
  if (n.azure) {
9342
- if (n.azure.speechToText) return new Mf(e);
9343
- if (n.azure.textToSpeech) return new If(e);
9344
- if (n.azure.summarization) return new Of(e);
9345
- if (n.azure.translation) return new Pf(e);
9342
+ if (n.azure.speechToText) return new Pf(e);
9343
+ if (n.azure.textToSpeech) return new Mf(e);
9344
+ if (n.azure.summarization) return new Lf(e);
9345
+ if (n.azure.translation) return new Ff(e);
9346
9346
  }
9347
- if (n.stabilityAI) return n.stabilityAI.imageToImage ? new kf(e) : n.stabilityAI.imageToImageUpscale ? new ff(e) : n.stabilityAI.imageToImageMasking ? new mf(e) : new _f(e);
9348
- if (n.mistral) return new Bf(e);
9347
+ if (n.stabilityAI) return n.stabilityAI.imageToImage ? new Sf(e) : n.stabilityAI.imageToImageUpscale ? new mf(e) : n.stabilityAI.imageToImageMasking ? new gf(e) : new Cf(e);
9348
+ if (n.mistral) return new jf(e);
9349
9349
  }
9350
9350
  return i && (!a || !i.stream) ? new ui(e) : new ui(e, void 0, a || !0);
9351
9351
  }
@@ -9374,15 +9374,15 @@ wu.attibutes = {
9374
9374
  return new Function("return ".concat(r))();
9375
9375
  }
9376
9376
  };
9377
- var Hf = wu;
9377
+ var Uf = wu;
9378
9378
  function ee(t) {
9379
9379
  return function(r, e) {
9380
9380
  Object.defineProperty(r, e, {});
9381
9381
  var n = r.constructor, i = e.toLocaleLowerCase();
9382
- n._attributes_[i] = Hf.attibutes[t], n._attributeToProperty_[i] = e;
9382
+ n._attributes_[i] = Uf.attibutes[t], n._attributeToProperty_[i] = e;
9383
9383
  };
9384
9384
  }
9385
- var Uf = /* @__PURE__ */ function() {
9385
+ var zf = /* @__PURE__ */ function() {
9386
9386
  function t() {
9387
9387
  w(this, t);
9388
9388
  }
@@ -9404,7 +9404,7 @@ var Uf = /* @__PURE__ */ function() {
9404
9404
  } else e.style.setProperty("--message-dots-color", "#848484"), e.style.setProperty("--message-dots-color-fade", "#55555533");
9405
9405
  }
9406
9406
  }]);
9407
- }(), zf = /* @__PURE__ */ function() {
9407
+ }(), qf = /* @__PURE__ */ function() {
9408
9408
  function t(r, e, n) {
9409
9409
  w(this, t), this._isDisplayed = !1, r ? (this._elementRef = this.createIntroPanelWithChild(r, n), this._isDisplayed = !0) : e && (this._elementRef = this.createInternalIntroPanel(e, n), this._isDisplayed = !0);
9410
9410
  }
@@ -9437,7 +9437,7 @@ var Uf = /* @__PURE__ */ function() {
9437
9437
  return n.classList.add("intro-panel"), Object.assign(n.style, e), n;
9438
9438
  }
9439
9439
  }]);
9440
- }(), qf = /* @__PURE__ */ function() {
9440
+ }(), Vf = /* @__PURE__ */ function() {
9441
9441
  function t() {
9442
9442
  w(this, t);
9443
9443
  }
@@ -9458,7 +9458,7 @@ var Uf = /* @__PURE__ */ function() {
9458
9458
  return null;
9459
9459
  }
9460
9460
  }]);
9461
- }(), Vf = `<?xml version="1.0" encoding="iso-8859-1"?>
9461
+ }(), Wf = `<?xml version="1.0" encoding="iso-8859-1"?>
9462
9462
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
9463
9463
  viewBox="50 30 420 450" xml:space="preserve">
9464
9464
  <g filter="brightness(0) saturate(100%) invert(16%) sepia(0%) saturate(1942%) hue-rotate(215deg) brightness(99%) contrast(93%)">
@@ -9495,7 +9495,7 @@ var Uf = /* @__PURE__ */ function() {
9495
9495
  c6.62,0,11.988-5.367,11.988-11.988C267.988,386.398,262.62,381.031,256,381.031z"/>
9496
9496
  </g>
9497
9497
  </g>
9498
- </svg>`, Wf = /* @__PURE__ */ function() {
9498
+ </svg>`, Gf = /* @__PURE__ */ function() {
9499
9499
  function t() {
9500
9500
  w(this, t);
9501
9501
  }
@@ -9545,7 +9545,7 @@ var Uf = /* @__PURE__ */ function() {
9545
9545
  n.classList.add("any-file-message-contents");
9546
9546
  var i = document.createElement("div");
9547
9547
  i.classList.add("any-file-message-icon-container");
9548
- var a = $e.createSVGElement(Vf);
9548
+ var a = $e.createSVGElement(Wf);
9549
9549
  a.classList.add("any-file-message-icon"), i.appendChild(a);
9550
9550
  var s = document.createElement("div");
9551
9551
  return s.classList.add("any-file-message-text"), s.textContent = e.name || Ie.DEFAULT_FILE_NAME, n.appendChild(i), n.appendChild(s), Ie.processContent("any", n, e.src, s.textContent);
@@ -9565,7 +9565,7 @@ var Uf = /* @__PURE__ */ function() {
9565
9565
  });
9566
9566
  }
9567
9567
  }]);
9568
- }(), Gf = /* @__PURE__ */ function(t) {
9568
+ }(), Kf = /* @__PURE__ */ function(t) {
9569
9569
  function r(e, n, i) {
9570
9570
  var a;
9571
9571
  w(this, r);
@@ -9590,7 +9590,7 @@ var Uf = /* @__PURE__ */ function() {
9590
9590
  }, {
9591
9591
  key: "addSetupMessageIfNeeded",
9592
9592
  value: function(n, i) {
9593
- var a = qf.getText(n, i);
9593
+ var a = Vf.getText(n, i);
9594
9594
  if (a) {
9595
9595
  var s = this.createAndAppendNewMessageElement(a, Z.AI_ROLE);
9596
9596
  this.applyCustomStyles(s, Z.AI_ROLE, !1);
@@ -9664,7 +9664,7 @@ var Uf = /* @__PURE__ */ function() {
9664
9664
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = r.createMessageContent(n), s = {
9665
9665
  status: n.overwrite
9666
9666
  };
9667
- if (!n.ignoreText && a.text !== void 0 && n.text !== null && (this.addNewTextMessage(a.text, a.role, s), !i && this.textToSpeech && a.role !== Z.USER_ROLE && zr.speak(a.text, this.textToSpeech)), a.files && Array.isArray(a.files) && Wf.addMessages(this, a.files, a.role), a.html !== void 0 && a.html !== null) {
9667
+ if (!n.ignoreText && a.text !== void 0 && n.text !== null && (this.addNewTextMessage(a.text, a.role, s), !i && this.textToSpeech && a.role !== Z.USER_ROLE && zr.speak(a.text, this.textToSpeech)), a.files && Array.isArray(a.files) && Gf.addMessages(this, a.files, a.role), a.html !== void 0 && a.html !== null) {
9668
9668
  var o = Ja.add(this, a.html, a.role, this.messageElementRefs, s);
9669
9669
  li.isElementTemporary(o) && delete a.html;
9670
9670
  }
@@ -9729,13 +9729,13 @@ var Uf = /* @__PURE__ */ function() {
9729
9729
  var i = this.createMessageElements("", Z.AI_ROLE), a = i.outerContainer, s = i.bubbleElement;
9730
9730
  s.classList.add("loading-message-text");
9731
9731
  var o = document.createElement("div");
9732
- o.classList.add("dots-flashing"), s.appendChild(o), this.applyCustomStyles(i, Z.AI_ROLE, !1, (n = this.messageStyles) == null ? void 0 : n.loading), Uf.set(s, this.messageStyles), this.elementRef.appendChild(a), Fe.scrollToBottom(this.elementRef);
9732
+ o.classList.add("dots-flashing"), s.appendChild(o), this.applyCustomStyles(i, Z.AI_ROLE, !1, (n = this.messageStyles) == null ? void 0 : n.loading), zf.set(s, this.messageStyles), this.elementRef.appendChild(a), Fe.scrollToBottom(this.elementRef);
9733
9733
  }
9734
9734
  }
9735
9735
  }, {
9736
9736
  key: "populateIntroPanel",
9737
9737
  value: function(n, i, a) {
9738
- (n || i) && (this._introPanel = new zf(n, i, a), this._introPanel._elementRef && (mn.apply(this, this._introPanel._elementRef), this.elementRef.appendChild(this._introPanel._elementRef)));
9738
+ (n || i) && (this._introPanel = new qf(n, i, a), this._introPanel._elementRef && (mn.apply(this, this._introPanel._elementRef), this.elementRef.appendChild(this._introPanel._elementRef)));
9739
9739
  }
9740
9740
  }, {
9741
9741
  key: "addMultipleFiles",
@@ -9842,7 +9842,7 @@ var Uf = /* @__PURE__ */ function() {
9842
9842
  }]);
9843
9843
  }();
9844
9844
  Wn.INPUT_OUTSIDE_LEFT_ADJUSTMENT_CLASS = "text-input-container-left-adjustment", Wn.INPUT_OUTSIDE_RIGHT_ADJUSTMENT_CLASS = "text-input-container-right-adjustment", Wn.INPUT_OUTSIDE_LEFT_SMALL_ADJUSTMENT_CLASS = "text-input-container-left-small-adjustment", Wn.INPUT_OUTSIDE_RIGHT_SMALL_ADJUSTMENT_CLASS = "text-input-container-right-small-adjustment";
9845
- var Kf = Wn, di = /* @__PURE__ */ function() {
9845
+ var Jf = Wn, di = /* @__PURE__ */ function() {
9846
9846
  function t() {
9847
9847
  w(this, t);
9848
9848
  }
@@ -9919,7 +9919,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
9919
9919
  return s && !((l = (o = a == null ? void 0 : a[i]) == null ? void 0 : o.svg) != null && l.content) ? n : t.createSpecificStateElement(e, i, a) || n;
9920
9920
  }
9921
9921
  }]);
9922
- }(), Jf = `<?xml version="1.0" encoding="utf-8"?>
9922
+ }(), Zf = `<?xml version="1.0" encoding="utf-8"?>
9923
9923
  <svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
9924
9924
  <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>
9925
9925
  </svg>`, It = /* @__PURE__ */ function() {
@@ -10019,7 +10019,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10019
10019
  s ? (e.dispatchEvent(new MouseEvent("mouseleave")), s.dispatchEvent(new MouseEvent("mouseenter"))) : (e.dispatchEvent(new MouseEvent("mouseleave")), t.focusItemWhenOnEdge(n, i));
10020
10020
  }
10021
10021
  }]);
10022
- }(), Zf = /* @__PURE__ */ function() {
10022
+ }(), Yf = /* @__PURE__ */ function() {
10023
10023
  function t() {
10024
10024
  w(this, t);
10025
10025
  }
@@ -10066,7 +10066,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10066
10066
  return t.addItemEvents(e, l, s, c), l;
10067
10067
  }
10068
10068
  }]);
10069
- }(), Yf = /* @__PURE__ */ function() {
10069
+ }(), Xf = /* @__PURE__ */ function() {
10070
10070
  function t(r, e) {
10071
10071
  var n = this;
10072
10072
  w(this, t);
@@ -10093,7 +10093,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10093
10093
  }, {
10094
10094
  key: "addItem",
10095
10095
  value: function(e) {
10096
- var n = Zf.createItem(this, e, this._styles);
10096
+ var n = Yf.createItem(this, e, this._styles);
10097
10097
  this.elementRef.appendChild(n);
10098
10098
  }
10099
10099
  // prettier-ignore
@@ -10131,7 +10131,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10131
10131
  styles: (a = n == null ? void 0 : n.button) == null ? void 0 : a.styles
10132
10132
  }]);
10133
10133
  var s = i.createInnerElements(i._customStyles);
10134
- return i._menu = new Yf(e, n == null ? void 0 : n.menu), i.addClickEvent(), i.buttonContainer = r.createButtonContainer(), i.elementRef.appendChild(s.styles), i.buttonContainer.appendChild(i.elementRef), i.elementRef.classList.add("dropup-icon", "upload-file-button"), i.elementRef.children[0].id = "dropup-icon", i.buttonContainer.appendChild(i._menu.elementRef), i.reapplyStateStyle("styles"), i.addContainerEvents(e), i;
10134
+ return i._menu = new Xf(e, n == null ? void 0 : n.menu), i.addClickEvent(), i.buttonContainer = r.createButtonContainer(), i.elementRef.appendChild(s.styles), i.buttonContainer.appendChild(i.elementRef), i.elementRef.classList.add("dropup-icon", "upload-file-button"), i.elementRef.children[0].id = "dropup-icon", i.buttonContainer.appendChild(i._menu.elementRef), i.reapplyStateStyle("styles"), i.addContainerEvents(e), i;
10135
10135
  }
10136
10136
  return V(r, t), k(r, [{
10137
10137
  key: "createInnerElements",
@@ -10172,7 +10172,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10172
10172
  }, {
10173
10173
  key: "createSVGIconElement",
10174
10174
  value: function() {
10175
- return $e.createSVGElement(Jf);
10175
+ return $e.createSVGElement(Zf);
10176
10176
  }
10177
10177
  }, {
10178
10178
  key: "createButtonContainer",
@@ -10187,7 +10187,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10187
10187
  return (a = i == null ? void 0 : i.button) != null && a.position ? (s = i == null ? void 0 : i.button) == null ? void 0 : s.position : n["outside-left"].length > 0 && n["outside-right"].length === 0 ? "outside-right" : "outside-left";
10188
10188
  }
10189
10189
  }]);
10190
- }(yr), Xf = /* @__PURE__ */ function() {
10190
+ }(yr), Qf = /* @__PURE__ */ function() {
10191
10191
  function t() {
10192
10192
  w(this, t);
10193
10193
  }
@@ -10260,15 +10260,15 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10260
10260
  return t.addToSideContainer(e, s), s["dropup-menu"].length > 0 && t.addToDropup(e, s, i, a), s;
10261
10261
  }
10262
10262
  }]);
10263
- }(), Qf = `<?xml version="1.0" encoding="utf-8"?>
10263
+ }(), e0 = `<?xml version="1.0" encoding="utf-8"?>
10264
10264
  <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
10265
10265
  <title>file</title>
10266
10266
  <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"/>
10267
- </svg>`, e0 = `<?xml version="1.0" encoding="utf-8"?>
10267
+ </svg>`, t0 = `<?xml version="1.0" encoding="utf-8"?>
10268
10268
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
10269
10269
  <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"/>
10270
10270
  </svg>
10271
- `, t0 = `<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)">
10271
+ `, n0 = `<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)">
10272
10272
  <g stroke-width="0"></g>
10273
10273
  <g stroke-linecap="round" stroke-linejoin="round" stroke-width="0.98977"></g>
10274
10274
  <g>
@@ -10279,35 +10279,35 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10279
10279
  </g>
10280
10280
  </g>
10281
10281
  </g>
10282
- </svg>`, n0 = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10282
+ </svg>`, r0 = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10283
10283
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 5.9266752 5.6408391" height="21.31971" width="22.4">
10284
10284
  <g>
10285
10285
  <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"/>
10286
10286
  <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"/>
10287
10287
  </g>
10288
10288
  </svg>
10289
- `, r0 = {
10289
+ `, i0 = {
10290
10290
  images: {
10291
10291
  id: "upload-images-icon",
10292
- svgString: e0,
10292
+ svgString: t0,
10293
10293
  dropupText: "Image"
10294
10294
  },
10295
10295
  gifs: {
10296
10296
  id: "upload-gifs-icon",
10297
- svgString: n0,
10297
+ svgString: r0,
10298
10298
  dropupText: "GIF"
10299
10299
  },
10300
10300
  audio: {
10301
10301
  id: "upload-audio-icon",
10302
- svgString: t0,
10302
+ svgString: n0,
10303
10303
  dropupText: "Audio"
10304
10304
  },
10305
10305
  mixedFiles: {
10306
10306
  id: "upload-mixed-files-icon",
10307
- svgString: Qf,
10307
+ svgString: e0,
10308
10308
  dropupText: "File"
10309
10309
  }
10310
- }, i0 = `<?xml version="1.0" encoding="iso-8859-1"?>
10310
+ }, a0 = `<?xml version="1.0" encoding="iso-8859-1"?>
10311
10311
  <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"
10312
10312
  viewBox="0 0 490.9 490.9" xml:space="preserve">
10313
10313
  <g>
@@ -10389,7 +10389,7 @@ var Kf = Wn, di = /* @__PURE__ */ function() {
10389
10389
  }, {
10390
10390
  key: "createSVGIconElement",
10391
10391
  value: function() {
10392
- var n = $e.createSVGElement(i0);
10392
+ var n = $e.createSVGElement(a0);
10393
10393
  return n.id = "microphone-icon", n;
10394
10394
  }
10395
10395
  }]);
@@ -10436,24 +10436,24 @@ Object.defineProperty(br, "__esModule", {
10436
10436
  value: !0
10437
10437
  });
10438
10438
  br.Translate = void 0;
10439
- var a0 = Kt, s0 = /* @__PURE__ */ function() {
10439
+ var s0 = Kt, o0 = /* @__PURE__ */ function() {
10440
10440
  function t() {
10441
10441
  w(this, t);
10442
10442
  }
10443
10443
  return k(t, null, [{
10444
10444
  key: "translate",
10445
10445
  value: function(e, n) {
10446
- for (var i = a0.Text.breakupIntoWordsArr(e), a = 0; a < i.length; a += 1) n[i[a]] && (i[a] = n[i[a]]);
10446
+ for (var i = s0.Text.breakupIntoWordsArr(e), a = 0; a < i.length; a += 1) n[i[a]] && (i[a] = n[i[a]]);
10447
10447
  return i.join("");
10448
10448
  }
10449
10449
  }]);
10450
10450
  }();
10451
- br.Translate = s0;
10451
+ br.Translate = o0;
10452
10452
  Object.defineProperty(Ai, "__esModule", {
10453
10453
  value: !0
10454
10454
  });
10455
10455
  Ai.WebSpeechTranscript = void 0;
10456
- var Ho = br, o0 = /* @__PURE__ */ function() {
10456
+ var Ho = br, l0 = /* @__PURE__ */ function() {
10457
10457
  function t() {
10458
10458
  w(this, t);
10459
10459
  }
@@ -10485,7 +10485,7 @@ var Ho = br, o0 = /* @__PURE__ */ function() {
10485
10485
  }
10486
10486
  }]);
10487
10487
  }();
10488
- Ai.WebSpeechTranscript = o0;
10488
+ Ai.WebSpeechTranscript = l0;
10489
10489
  var xn = {};
10490
10490
  Object.defineProperty(xn, "__esModule", {
10491
10491
  value: !0
@@ -10552,7 +10552,7 @@ Object.defineProperty(Oi, "__esModule", {
10552
10552
  value: !0
10553
10553
  });
10554
10554
  Oi.PreResultUtils = void 0;
10555
- var l0 = /* @__PURE__ */ function() {
10555
+ var c0 = /* @__PURE__ */ function() {
10556
10556
  function t() {
10557
10557
  w(this, t);
10558
10558
  }
@@ -10566,13 +10566,13 @@ var l0 = /* @__PURE__ */ function() {
10566
10566
  }
10567
10567
  }]);
10568
10568
  }();
10569
- Oi.PreResultUtils = l0;
10569
+ Oi.PreResultUtils = c0;
10570
10570
  var kr = {}, Sr = {};
10571
10571
  Object.defineProperty(Sr, "__esModule", {
10572
10572
  value: !0
10573
10573
  });
10574
10574
  Sr.AutoScroll = void 0;
10575
- var c0 = /* @__PURE__ */ function() {
10575
+ var u0 = /* @__PURE__ */ function() {
10576
10576
  function t() {
10577
10577
  w(this, t);
10578
10578
  }
@@ -10607,13 +10607,13 @@ var c0 = /* @__PURE__ */ function() {
10607
10607
  }
10608
10608
  }]);
10609
10609
  }();
10610
- Sr.AutoScroll = c0;
10610
+ Sr.AutoScroll = u0;
10611
10611
  var Jt = {};
10612
10612
  Object.defineProperty(Jt, "__esModule", {
10613
10613
  value: !0
10614
10614
  });
10615
10615
  Jt.Elements = void 0;
10616
- var u0 = /* @__PURE__ */ function() {
10616
+ var d0 = /* @__PURE__ */ function() {
10617
10617
  function t() {
10618
10618
  w(this, t);
10619
10619
  }
@@ -10659,13 +10659,13 @@ var u0 = /* @__PURE__ */ function() {
10659
10659
  }
10660
10660
  }]);
10661
10661
  }();
10662
- Jt.Elements = u0;
10662
+ Jt.Elements = d0;
10663
10663
  var Zt = {};
10664
10664
  Object.defineProperty(Zt, "__esModule", {
10665
10665
  value: !0
10666
10666
  });
10667
10667
  Zt.Cursor = void 0;
10668
- var d0 = /* @__PURE__ */ function() {
10668
+ var h0 = /* @__PURE__ */ function() {
10669
10669
  function t() {
10670
10670
  w(this, t);
10671
10671
  }
@@ -10743,12 +10743,12 @@ var d0 = /* @__PURE__ */ function() {
10743
10743
  }
10744
10744
  }]);
10745
10745
  }();
10746
- Zt.Cursor = d0;
10746
+ Zt.Cursor = h0;
10747
10747
  Object.defineProperty(kr, "__esModule", {
10748
10748
  value: !0
10749
10749
  });
10750
10750
  kr.CommandUtils = void 0;
10751
- var Uo = Sr, h0 = Jt, p0 = xn, zo = Zt, qo = Kt, f0 = /* @__PURE__ */ function() {
10751
+ var Uo = Sr, p0 = Jt, f0 = xn, zo = Zt, qo = Kt, m0 = /* @__PURE__ */ function() {
10752
10752
  function t() {
10753
10753
  w(this, t);
10754
10754
  }
@@ -10781,7 +10781,7 @@ var Uo = Sr, h0 = Jt, p0 = xn, zo = Zt, qo = Kt, f0 = /* @__PURE__ */ function()
10781
10781
  }, {
10782
10782
  key: "setText",
10783
10783
  value: function(e, n, i, a) {
10784
- t.toggleCommandModeOff(e), h0.Elements.isPrimitiveElement(a) ? (a.value = i, e.isTargetInShadow || zo.Cursor.setOffsetForPrimitive(a, i.length, !0), p0.Browser.IS_SAFARI() && e.autoScroll && Uo.AutoScroll.scrollSafariPrimitiveToEnd(a)) : (a.textContent = i, e.isTargetInShadow || zo.Cursor.focusEndOfGeneric(a), setTimeout(function() {
10784
+ t.toggleCommandModeOff(e), p0.Elements.isPrimitiveElement(a) ? (a.value = i, e.isTargetInShadow || zo.Cursor.setOffsetForPrimitive(a, i.length, !0), f0.Browser.IS_SAFARI() && e.autoScroll && Uo.AutoScroll.scrollSafariPrimitiveToEnd(a)) : (a.textContent = i, e.isTargetInShadow || zo.Cursor.focusEndOfGeneric(a), setTimeout(function() {
10785
10785
  return Uo.AutoScroll.scrollGeneric(e, a);
10786
10786
  })), e.resetRecording(n);
10787
10787
  }
@@ -10837,13 +10837,13 @@ var Uo = Sr, h0 = Jt, p0 = xn, zo = Zt, qo = Kt, f0 = /* @__PURE__ */ function()
10837
10837
  }
10838
10838
  }]);
10839
10839
  }();
10840
- kr.CommandUtils = f0;
10840
+ kr.CommandUtils = m0;
10841
10841
  var Li = {};
10842
10842
  Object.defineProperty(Li, "__esModule", {
10843
10843
  value: !0
10844
10844
  });
10845
10845
  Li.Highlight = void 0;
10846
- var m0 = Jt, On = Zt, g0 = /* @__PURE__ */ function() {
10846
+ var g0 = Jt, On = Zt, v0 = /* @__PURE__ */ function() {
10847
10847
  function t() {
10848
10848
  w(this, t);
10849
10849
  }
@@ -10865,7 +10865,7 @@ var m0 = Jt, On = Zt, g0 = /* @__PURE__ */ function() {
10865
10865
  }, {
10866
10866
  key: "setState",
10867
10867
  value: function(e, n) {
10868
- document.activeElement === n && (m0.Elements.isPrimitiveElement(n) ? t.setStateForPrimitive(e, n) : t.setStateForGeneric(e, n));
10868
+ document.activeElement === n && (g0.Elements.isPrimitiveElement(n) ? t.setStateForPrimitive(e, n) : t.setStateForGeneric(e, n));
10869
10869
  }
10870
10870
  }, {
10871
10871
  key: "removeForGeneric",
@@ -10888,13 +10888,13 @@ var m0 = Jt, On = Zt, g0 = /* @__PURE__ */ function() {
10888
10888
  }
10889
10889
  }]);
10890
10890
  }();
10891
- Li.Highlight = g0;
10891
+ Li.Highlight = v0;
10892
10892
  var Ii = {};
10893
10893
  Object.defineProperty(Ii, "__esModule", {
10894
10894
  value: !0
10895
10895
  });
10896
10896
  Ii.Padding = void 0;
10897
- var v0 = Jt, Vo = Zt, en = Kt, y0 = /* @__PURE__ */ function() {
10897
+ var y0 = Jt, Vo = Zt, en = Kt, b0 = /* @__PURE__ */ function() {
10898
10898
  function t() {
10899
10899
  w(this, t);
10900
10900
  }
@@ -10927,7 +10927,7 @@ var v0 = Jt, Vo = Zt, en = Kt, y0 = /* @__PURE__ */ function() {
10927
10927
  }, {
10928
10928
  key: "setState",
10929
10929
  value: function(e, n) {
10930
- v0.Elements.isPrimitiveElement(n) ? t.setStateForPrimitiveElement(e, n) : t.setStateForGenericElement(e, n);
10930
+ y0.Elements.isPrimitiveElement(n) ? t.setStateForPrimitiveElement(e, n) : t.setStateForGenericElement(e, n);
10931
10931
  }
10932
10932
  }, {
10933
10933
  key: "adjustStateAfterRecodingPrimitiveElement",
@@ -10945,12 +10945,12 @@ var v0 = Jt, Vo = Zt, en = Kt, y0 = /* @__PURE__ */ function() {
10945
10945
  }
10946
10946
  }]);
10947
10947
  }();
10948
- Ii.Padding = y0;
10948
+ Ii.Padding = b0;
10949
10949
  Object.defineProperty(wr, "__esModule", {
10950
10950
  value: !0
10951
10951
  });
10952
10952
  wr.Speech = void 0;
10953
- var Wo = Ri, b0 = Oi, Go = kr, Nr = Sr, fa = Li, Ye = Jt, ma = Ii, Ko = xn, Jo = Zt, ga = Kt, w0 = /* @__PURE__ */ function() {
10953
+ var Wo = Ri, w0 = Oi, Go = kr, Nr = Sr, fa = Li, Ye = Jt, ma = Ii, Ko = xn, Jo = Zt, ga = Kt, k0 = /* @__PURE__ */ function() {
10954
10954
  function t() {
10955
10955
  w(this, t), this.finalTranscript = "", this.interimSpan = Ye.Elements.createInterimSpan(), this.finalSpan = Ye.Elements.createGenericSpan(), this.scrollingSpan = Ye.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();
10956
10956
  }
@@ -10986,7 +10986,7 @@ var Wo = Ri, b0 = Oi, Go = kr, Nr = Sr, fa = Li, Ye = Jt, ma = Ii, Ko = xn, Jo =
10986
10986
  value: function(e, n, i) {
10987
10987
  var a, s = ga.Text.capitalize(n);
10988
10988
  if (!(this.finalTranscript === s && e === "")) {
10989
- b0.PreResultUtils.process(this, i, e === "", this._onPreResult, this._options) && (e = "", i = "");
10989
+ w0.PreResultUtils.process(this, i, e === "", this._onPreResult, this._options) && (e = "", i = "");
10990
10990
  var o = this.commands && Go.CommandUtils.execCommand(this, i, this._options, this._primitiveElement || this._genericElement, this._originalText);
10991
10991
  if (o) {
10992
10992
  if (o.doNotProcessTranscription) return;
@@ -11058,12 +11058,12 @@ var Wo = Ri, b0 = Oi, Go = kr, Nr = Sr, fa = Li, Ye = Jt, ma = Ii, Ko = xn, Jo =
11058
11058
  }
11059
11059
  }]);
11060
11060
  }();
11061
- wr.Speech = w0;
11061
+ wr.Speech = k0;
11062
11062
  Object.defineProperty(Ei, "__esModule", {
11063
11063
  value: !0
11064
11064
  });
11065
11065
  Ei.WebSpeech = void 0;
11066
- var Zo = Ai, Yo = xn, k0 = wr, S0 = /* @__PURE__ */ function(t) {
11066
+ var Zo = Ai, Yo = xn, S0 = wr, _0 = /* @__PURE__ */ function(t) {
11067
11067
  function r() {
11068
11068
  return w(this, r), q(this, r);
11069
11069
  }
@@ -11121,8 +11121,8 @@ var Zo = Ai, Yo = xn, k0 = wr, S0 = /* @__PURE__ */ function(t) {
11121
11121
  return window.webkitSpeechRecognition || window.SpeechRecognition;
11122
11122
  }
11123
11123
  }]);
11124
- }(k0.Speech);
11125
- Ei.WebSpeech = S0;
11124
+ }(S0.Speech);
11125
+ Ei.WebSpeech = _0;
11126
11126
  var Mi = {};
11127
11127
  Object.defineProperty(Mi, "__esModule", {
11128
11128
  value: !0
@@ -11148,7 +11148,7 @@ Object.defineProperty(Fi, "__esModule", {
11148
11148
  value: !0
11149
11149
  });
11150
11150
  Fi.PreventConnectionStop = void 0;
11151
- var _0 = /* @__PURE__ */ function() {
11151
+ var C0 = /* @__PURE__ */ function() {
11152
11152
  function t() {
11153
11153
  w(this, t);
11154
11154
  }
@@ -11166,7 +11166,7 @@ var _0 = /* @__PURE__ */ function() {
11166
11166
  }
11167
11167
  }]);
11168
11168
  }();
11169
- Fi.PreventConnectionStop = _0;
11169
+ Fi.PreventConnectionStop = C0;
11170
11170
  var $i = {}, Ni = {};
11171
11171
  Object.defineProperty(Ni, "__esModule", {
11172
11172
  value: !0
@@ -11177,7 +11177,7 @@ Object.defineProperty($i, "__esModule", {
11177
11177
  value: !0
11178
11178
  });
11179
11179
  $i.AzureSpeechConfig = void 0;
11180
- var va = Ni, C0 = /* @__PURE__ */ function() {
11180
+ var va = Ni, x0 = /* @__PURE__ */ function() {
11181
11181
  function t() {
11182
11182
  w(this, t);
11183
11183
  }
@@ -11242,7 +11242,7 @@ var va = Ni, C0 = /* @__PURE__ */ function() {
11242
11242
  }()
11243
11243
  }]);
11244
11244
  }();
11245
- $i.AzureSpeechConfig = C0;
11245
+ $i.AzureSpeechConfig = x0;
11246
11246
  var Di = {};
11247
11247
  Object.defineProperty(Di, "__esModule", {
11248
11248
  value: !0
@@ -11273,7 +11273,7 @@ Object.defineProperty(Bi, "__esModule", {
11273
11273
  value: !0
11274
11274
  });
11275
11275
  Bi.AzureTranscript = void 0;
11276
- var x0 = br, E0 = /* @__PURE__ */ function() {
11276
+ var E0 = br, A0 = /* @__PURE__ */ function() {
11277
11277
  function t() {
11278
11278
  w(this, t);
11279
11279
  }
@@ -11282,7 +11282,7 @@ var x0 = br, E0 = /* @__PURE__ */ function() {
11282
11282
  value: (
11283
11283
  // newText is used to only send new text in onResult as finalTranscript is continuously accumulated
11284
11284
  function(e, n, i, a) {
11285
- return a && (e = x0.Translate.translate(e, a)), i ? {
11285
+ return a && (e = E0.Translate.translate(e, a)), i ? {
11286
11286
  interimTranscript: "",
11287
11287
  finalTranscript: n + e,
11288
11288
  newText: e
@@ -11295,12 +11295,12 @@ var x0 = br, E0 = /* @__PURE__ */ function() {
11295
11295
  )
11296
11296
  }]);
11297
11297
  }();
11298
- Bi.AzureTranscript = E0;
11298
+ Bi.AzureTranscript = A0;
11299
11299
  Object.defineProperty(Pi, "__esModule", {
11300
11300
  value: !0
11301
11301
  });
11302
11302
  Pi.Azure = void 0;
11303
- var Xo = Fi, Qo = $i, ya = Di, el = Bi, A0 = wr, T0 = /* @__PURE__ */ function(t) {
11303
+ var Xo = Fi, Qo = $i, ya = Di, el = Bi, T0 = wr, R0 = /* @__PURE__ */ function(t) {
11304
11304
  function r() {
11305
11305
  var e;
11306
11306
  return w(this, r), e = q(this, r, arguments), e._newTextPadding = "", e;
@@ -11448,12 +11448,12 @@ var Xo = Fi, Qo = $i, ya = Di, el = Bi, A0 = wr, T0 = /* @__PURE__ */ function(t
11448
11448
  return window.SpeechSDK;
11449
11449
  }
11450
11450
  }]);
11451
- }(A0.Speech);
11452
- Pi.Azure = T0;
11451
+ }(T0.Speech);
11452
+ Pi.Azure = R0;
11453
11453
  Object.defineProperty(Su, "__esModule", {
11454
11454
  value: !0
11455
11455
  });
11456
- var tl = Ei, R0 = kr, We = Mi, O0 = Pi, L0 = /* @__PURE__ */ function() {
11456
+ var tl = Ei, O0 = kr, We = Mi, L0 = Pi, I0 = /* @__PURE__ */ function() {
11457
11457
  function t() {
11458
11458
  w(this, t);
11459
11459
  }
@@ -11477,7 +11477,7 @@ var tl = Ei, R0 = kr, We = Mi, O0 = Pi, L0 = /* @__PURE__ */ function() {
11477
11477
  key: "startAzure",
11478
11478
  value: function(e) {
11479
11479
  var n;
11480
- t.stop() || !((n = We.GlobalState.service) === null || n === void 0) && n.cannotBeStopped || (We.GlobalState.service = new O0.Azure(), We.GlobalState.service.start(e));
11480
+ t.stop() || !((n = We.GlobalState.service) === null || n === void 0) && n.cannotBeStopped || (We.GlobalState.service = new L0.Azure(), We.GlobalState.service.start(e));
11481
11481
  }
11482
11482
  }, {
11483
11483
  key: "stop",
@@ -11488,10 +11488,10 @@ var tl = Ei, R0 = kr, We = Mi, O0 = Pi, L0 = /* @__PURE__ */ function() {
11488
11488
  }, {
11489
11489
  key: "endCommandMode",
11490
11490
  value: function() {
11491
- We.GlobalState.service && R0.CommandUtils.toggleCommandModeOff(We.GlobalState.service);
11491
+ We.GlobalState.service && O0.CommandUtils.toggleCommandModeOff(We.GlobalState.service);
11492
11492
  }
11493
11493
  }]);
11494
- }(), Jr = Su.default = L0, I0 = /* @__PURE__ */ function() {
11494
+ }(), Jr = Su.default = I0, M0 = /* @__PURE__ */ function() {
11495
11495
  function t(r, e) {
11496
11496
  w(this, t), this.silenceMS = 2e3, this.stop = !0, typeof e == "boolean" && e === !1 && (this.stop = !1), typeof r == "number" && (this.silenceMS = r);
11497
11497
  }
@@ -11554,7 +11554,7 @@ var tl = Ei, R0 = kr, We = Mi, O0 = Pi, L0 = /* @__PURE__ */ function() {
11554
11554
  restart: !0,
11555
11555
  removeNewText: !0
11556
11556
  }) : null;
11557
- }), d.submitAfterSilence && (this._silenceSubmit = new I0(d.submitAfterSilence, d.stopAfterSubmit)), {
11557
+ }), d.submitAfterSilence && (this._silenceSubmit = new M0(d.submitAfterSilence, d.stopAfterSubmit)), {
11558
11558
  serviceName: r.getServiceName(d),
11559
11559
  processedConfig: f
11560
11560
  };
@@ -11745,7 +11745,7 @@ var Os = Eu, Ls = /* @__PURE__ */ function() {
11745
11745
  return n.classList.add("file-attachment"), n.appendChild(e), n;
11746
11746
  }
11747
11747
  }]);
11748
- }(), M0 = `<?xml version="1.0" encoding="utf-8"?>
11748
+ }(), P0 = `<?xml version="1.0" encoding="utf-8"?>
11749
11749
  <svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
11750
11750
  <title>play</title>
11751
11751
  <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>
@@ -11829,7 +11829,7 @@ var Os = Eu, Ls = /* @__PURE__ */ function() {
11829
11829
  value: function(n, i) {
11830
11830
  var a = n.parentElement ? Fe.cloneElement(n) : n, s = document.createElement("audio");
11831
11831
  s.src = i;
11832
- var o = $e.createSVGElement(M0);
11832
+ var o = $e.createSVGElement(P0);
11833
11833
  o.classList.add("attachment-icon", "play-icon");
11834
11834
  var l = $e.createSVGElement(nl);
11835
11835
  l.classList.add("attachment-icon", "stop-icon"), a.replaceChildren(o), s.onplay = function() {
@@ -11857,7 +11857,7 @@ var Os = Eu, Ls = /* @__PURE__ */ function() {
11857
11857
  }]);
11858
11858
  }(Ls);
11859
11859
  Au.TIMER_LIMIT_S = 5999;
11860
- var as = Au, P0 = /* @__PURE__ */ function() {
11860
+ var as = Au, F0 = /* @__PURE__ */ function() {
11861
11861
  function t() {
11862
11862
  w(this, t);
11863
11863
  }
@@ -11879,7 +11879,7 @@ var as = Au, P0 = /* @__PURE__ */ function() {
11879
11879
  return k(t, [{
11880
11880
  key: "addType",
11881
11881
  value: function(e, n, i) {
11882
- var a = P0.create(e, n, this.toggleContainerDisplay.bind(this), this.elementRef, i);
11882
+ var a = F0.create(e, n, this.toggleContainerDisplay.bind(this), this.elementRef, i);
11883
11883
  return this._fileAttachmentsTypes.push(a), a;
11884
11884
  }
11885
11885
  }, {
@@ -12071,7 +12071,7 @@ var as = Au, P0 = /* @__PURE__ */ function() {
12071
12071
  }]);
12072
12072
  }();
12073
12073
  Tu.MODAL_CLOSE_TIMEOUT_MS = 190;
12074
- var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12074
+ var Kn = Tu, $0 = /* @__PURE__ */ function(t) {
12075
12075
  function r(e, n, i, a, s, o) {
12076
12076
  var l;
12077
12077
  w(this, r);
@@ -12179,7 +12179,7 @@ var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12179
12179
  return n !== void 0 && n === !1 ? !1 : !!n || e.getNumberOfTypes() > 0;
12180
12180
  }
12181
12181
  }]);
12182
- }(), $0 = /* @__PURE__ */ function() {
12182
+ }(), N0 = /* @__PURE__ */ function() {
12183
12183
  function t() {
12184
12184
  w(this, t);
12185
12185
  }
@@ -12286,7 +12286,7 @@ var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12286
12286
  return "".concat(e, "-").concat(a, "-").concat(s, "-").concat(o, ".").concat(n);
12287
12287
  }
12288
12288
  }]);
12289
- }(), N0 = /* @__PURE__ */ function(t) {
12289
+ }(), D0 = /* @__PURE__ */ function(t) {
12290
12290
  function r(e, n) {
12291
12291
  var i;
12292
12292
  w(this, r);
@@ -12340,7 +12340,7 @@ var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12340
12340
  };
12341
12341
  }
12342
12342
  }]);
12343
- }(ku), D0 = `<?xml version="1.0" standalone="no"?>
12343
+ }(ku), B0 = `<?xml version="1.0" standalone="no"?>
12344
12344
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
12345
12345
  <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">
12346
12346
  <line x1="22" y1="2" x2="11" y2="14"></line>
@@ -12665,7 +12665,7 @@ var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12665
12665
  }, {
12666
12666
  key: "createSubmitIconElement",
12667
12667
  value: function() {
12668
- var n = $e.createSVGElement(D0);
12668
+ var n = $e.createSVGElement(B0);
12669
12669
  return n.id = "submit-icon", n;
12670
12670
  }
12671
12671
  }, {
@@ -12683,36 +12683,36 @@ var Kn = Tu, F0 = /* @__PURE__ */ function(t) {
12683
12683
  }]);
12684
12684
  }(yr);
12685
12685
  Zr.SUBMIT_CLASS = "submit-button", Zr.LOADING_CLASS = "loading-button", Zr.DISABLED_CLASS = "disabled-button";
12686
- var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12686
+ var j0 = Zr, H0 = `<?xml version="1.0" encoding="utf-8"?>
12687
12687
  <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
12688
12688
  <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"/>
12689
12689
  </svg>
12690
- `, H0 = `<?xml version="1.0" encoding="utf-8"?>
12690
+ `, U0 = `<?xml version="1.0" encoding="utf-8"?>
12691
12691
  <svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
12692
12692
  <title>capture</title>
12693
12693
  <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>
12694
12694
  </svg>
12695
- `, U0 = `<?xml version="1.0" encoding="utf-8"?>
12695
+ `, z0 = `<?xml version="1.0" encoding="utf-8"?>
12696
12696
  <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
12697
12697
  <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"/>
12698
- </svg>`, z0 = `<?xml version="1.0" encoding="utf-8"?>
12698
+ </svg>`, q0 = `<?xml version="1.0" encoding="utf-8"?>
12699
12699
  <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
12700
12700
  <path d="M4.89163 13.2687L9.16582 17.5427L18.7085 8" stroke="#000000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
12701
- </svg>`, q0 = /* @__PURE__ */ function(t) {
12701
+ </svg>`, V0 = /* @__PURE__ */ function(t) {
12702
12702
  function r(e, n, i, a) {
12703
12703
  var s;
12704
12704
  w(this, r), s = q(this, r, [e, ["modal-content", "modal-camera-content"], i]), s._stopped = !1, s._format = "image/png", s._canvas = document.createElement("canvas"), s._canvas.classList.add("camera-modal-canvas");
12705
12705
  var o = s.addButtonsAndTheirEvents(n), l = o.captureButton, c = o.submitButton;
12706
- return s._captureButton = l, s._submitButton = c, s._captureIcon = s._captureButton.children[0], s._refreshIcon = $e.createSVGElement(j0), s._refreshIcon.classList.add("modal-svg-button-icon", "modal-svg-refresh-icon"), (a == null ? void 0 : a.format) === "jpeg" && (s._format = "image/jpeg"), a != null && a.dimensions && (s._dimensions = a.dimensions), s._contentRef.appendChild(s._canvas), s.extensionCloseCallback = s.stop, s;
12706
+ return s._captureButton = l, s._submitButton = c, s._captureIcon = s._captureButton.children[0], s._refreshIcon = $e.createSVGElement(H0), s._refreshIcon.classList.add("modal-svg-button-icon", "modal-svg-refresh-icon"), (a == null ? void 0 : a.format) === "jpeg" && (s._format = "image/jpeg"), a != null && a.dimensions && (s._dimensions = a.dimensions), s._contentRef.appendChild(s._canvas), s.extensionCloseCallback = s.stop, s;
12707
12707
  }
12708
12708
  return V(r, t), k(r, [{
12709
12709
  key: "addButtonsAndTheirEvents",
12710
12710
  value: function(n) {
12711
- var i = Kn.createSVGButton(H0);
12711
+ var i = Kn.createSVGButton(U0);
12712
12712
  i.classList.add("modal-svg-camera-button"), i.children[0].classList.add("modal-svg-camera-icon");
12713
- var a = this.addCloseButton(U0, !0);
12713
+ var a = this.addCloseButton(z0, !0);
12714
12714
  a.classList.add("modal-svg-close-button"), a.children[0].classList.add("modal-svg-close-icon");
12715
- var s = Kn.createSVGButton(z0);
12715
+ var s = Kn.createSVGButton(q0);
12716
12716
  return s.classList.add("modal-svg-submit-button"), this.addButtons(i, s), this.addButtonEvents(i, a, s, n), {
12717
12717
  captureButton: i,
12718
12718
  submitButton: s
@@ -12799,10 +12799,10 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12799
12799
  return o.openCameraModal.bind(o, o);
12800
12800
  }
12801
12801
  }]);
12802
- }(Kn), V0 = `<?xml version="1.0" encoding="utf-8"?>
12802
+ }(Kn), W0 = `<?xml version="1.0" encoding="utf-8"?>
12803
12803
  <svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
12804
12804
  <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>
12805
- </svg>`, W0 = /* @__PURE__ */ function(t) {
12805
+ </svg>`, G0 = /* @__PURE__ */ function(t) {
12806
12806
  function r(e, n, i) {
12807
12807
  var a;
12808
12808
  w(this, r);
@@ -12824,7 +12824,7 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12824
12824
  value: (
12825
12825
  // prettier-ignore
12826
12826
  function(n, i, a, s) {
12827
- var o = q0.createCameraModalFunc(n, i, a, s);
12827
+ var o = V0.createCameraModalFunc(n, i, a, s);
12828
12828
  this.elementRef.onclick = o;
12829
12829
  }
12830
12830
  )
@@ -12837,19 +12837,19 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12837
12837
  }, {
12838
12838
  key: "createSVGIconElement",
12839
12839
  value: function() {
12840
- var n = $e.createSVGElement(V0);
12840
+ var n = $e.createSVGElement(W0);
12841
12841
  return n.id = "camera-icon", n;
12842
12842
  }
12843
12843
  }]);
12844
- }(yr), G0 = /* @__PURE__ */ function() {
12844
+ }(yr), K0 = /* @__PURE__ */ function() {
12845
12845
  function t(r, e, n, i) {
12846
12846
  w(this, t), this.elementRef = t.createPanelElement(r.inputAreaStyle);
12847
12847
  var a = {}, s = this.createFileUploadComponents(r, n, i, a), o = new rr(r, n, s);
12848
12848
  r.speechToText && !a.microphone && (a.microphone = {
12849
12849
  button: new Os(r, o, e.addNewErrorMessage.bind(e))
12850
12850
  });
12851
- var l = new B0(r, o.inputElementRef, e, n, s, a);
12852
- o.submit = l.submitFromInput.bind(l), $0.attach(r, n, o, s, l), r.submitUserMessage = l.programmaticSubmit.bind(l), a.submit = {
12851
+ var l = new j0(r, o.inputElementRef, e, n, s, a);
12852
+ o.submit = l.submitFromInput.bind(l), N0.attach(r, n, o, s, l), r.submitUserMessage = l.programmaticSubmit.bind(l), a.submit = {
12853
12853
  button: l
12854
12854
  }, t.addElements(this.elementRef, o, a, i, s, r.dropupStyles);
12855
12855
  }
@@ -12862,13 +12862,13 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12862
12862
  if (t.createUploadButtons(e, n.fileTypes || {}, u, i, a), (s = n.camera) != null && s.files) {
12863
12863
  var d = ((o = a.images) == null ? void 0 : o.fileType) || u.addType(e, n.camera.files, "images");
12864
12864
  a.camera = {
12865
- button: new W0(i, d, n.camera)
12865
+ button: new G0(i, d, n.camera)
12866
12866
  };
12867
12867
  }
12868
12868
  if ((l = n.recordAudio) != null && l.files) {
12869
12869
  var h = ((c = a.audio) == null ? void 0 : c.fileType) || u.addType(e, n.recordAudio.files, "audio");
12870
12870
  a.microphone = {
12871
- button: new N0(h, n.recordAudio)
12871
+ button: new D0(h, n.recordAudio)
12872
12872
  };
12873
12873
  }
12874
12874
  return rl.isEnabled(u, e.dragAndDrop) && rl.create(i, u, e.dragAndDrop), u;
@@ -12887,7 +12887,7 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12887
12887
  Object.keys(n).forEach(function(o) {
12888
12888
  var l = o, c = n[l];
12889
12889
  if (c.files) {
12890
- var u = i.addType(e, c.files, l), d = r0[l], h = d.id, p = d.svgString, f = d.dropupText, g = new F0(a, u, c, h, p, f);
12890
+ var u = i.addType(e, c.files, l), d = i0[l], h = d.id, p = d.svgString, f = d.dropupText, g = new $0(a, u, c, h, p, f);
12891
12891
  s[l] = {
12892
12892
  button: g,
12893
12893
  fileType: u
@@ -12900,11 +12900,11 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12900
12900
  key: "addElements",
12901
12901
  value: function(e, n, i, a, s, o) {
12902
12902
  Fe.addElements(e, n.elementRef);
12903
- var l = di.create(), c = Xf.addButtons(l, i, a, o);
12904
- Kf.set(n.inputElementRef, l, s.elementRef, c), di.add(e, l);
12903
+ var l = di.create(), c = Qf.addButtons(l, i, a, o);
12904
+ Jf.set(n.inputElementRef, l, s.elementRef, c), di.add(e, l);
12905
12905
  }
12906
12906
  }]);
12907
- }(), K0 = /* @__PURE__ */ function() {
12907
+ }(), J0 = /* @__PURE__ */ function() {
12908
12908
  function t() {
12909
12909
  w(this, t);
12910
12910
  }
@@ -12913,9 +12913,9 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12913
12913
  value: function(e, n, i) {
12914
12914
  var a = document.createElement("div");
12915
12915
  a.id = "chat-view";
12916
- var s = new Gf(e, n, i);
12916
+ var s = new Kf(e, n, i);
12917
12917
  n.websocket && sr.createConnection(n, s);
12918
- var o = new G0(e, s, n, a);
12918
+ var o = new K0(e, s, n, a);
12919
12919
  return Fe.addElements(a, s.elementRef, o.elementRef), a;
12920
12920
  }
12921
12921
  }, {
@@ -12925,15 +12925,15 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12925
12925
  n.replaceChildren(s);
12926
12926
  }
12927
12927
  }]);
12928
- }(), J0 = `#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}/*!
12928
+ }(), Z0 = `#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}/*!
12929
12929
  Theme: a11y-dark
12930
12930
  Author: @ericwbailey
12931
12931
  Maintainer: @ericwbailey
12932
12932
 
12933
12933
  Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
12934
- */.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}`, Z0 = Object.defineProperty, te = function(r, e, n, i) {
12934
+ */.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}`, Y0 = Object.defineProperty, te = function(r, e, n, i) {
12935
12935
  for (var a = void 0, s = r.length - 1, o; s >= 0; s--) (o = r[s]) && (a = o(e, n, a) || a);
12936
- return a && Z0(e, n, a), a;
12936
+ return a && Y0(e, n, a), a;
12937
12937
  }, Q = /* @__PURE__ */ function(t) {
12938
12938
  function r() {
12939
12939
  var e;
@@ -12952,7 +12952,7 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12952
12952
  }, e.setPlaceholderText = function() {
12953
12953
  }, e._hasBeenRendered = !1, e._auxiliaryStyleApplied = !1, e._elementRef = document.createElement("div"), e._elementRef.id = "container", e.attachShadow({
12954
12954
  mode: "open"
12955
- }).appendChild(e._elementRef), la.apply(J0, e.shadowRoot), setTimeout(function() {
12955
+ }).appendChild(e._elementRef), la.apply(Z0, e.shadowRoot), setTimeout(function() {
12956
12956
  e._hasBeenRendered || e.onRender();
12957
12957
  }, 20), e;
12958
12958
  }
@@ -12966,7 +12966,7 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12966
12966
  key: "onRender",
12967
12967
  value: function() {
12968
12968
  var n;
12969
- Wc.attemptAppendStyleSheetToHead(this.style), qe.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = jf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (la.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), la.applyDefaultStyleToComponent(this.style, this.chatStyle), qe.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? ih.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof Re) || this._activeService.key ? ((n = this._childElement) !== null && n !== void 0 || (this._childElement = this.children[0]), K0.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof Re && df.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ci.onRender(this);
12969
+ Wc.attemptAppendStyleSheetToHead(this.style), qe.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Hf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (la.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), la.applyDefaultStyleToComponent(this.style, this.chatStyle), qe.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? ah.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof Re) || this._activeService.key ? ((n = this._childElement) !== null && n !== void 0 || (this._childElement = this.children[0]), J0.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof Re && hf.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ci.onRender(this);
12970
12970
  }
12971
12971
  }, {
12972
12972
  key: "disconnectedCallback",
@@ -12974,7 +12974,7 @@ var B0 = Zr, j0 = `<?xml version="1.0" encoding="utf-8"?>
12974
12974
  As.chat = void 0;
12975
12975
  }
12976
12976
  }]);
12977
- }(of);
12977
+ }(lf);
12978
12978
  te([ee("object")], Q.prototype, "connect");
12979
12979
  te([ee("object")], Q.prototype, "directConnection");
12980
12980
  te([ee("object")], Q.prototype, "webModel");
@@ -13045,7 +13045,7 @@ const x = (t) => new Ou(typeof t == "string" ? t : t + "", void 0, Ps), Te = (t,
13045
13045
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
13046
13046
  })(i) + t[a + 1], t[0]);
13047
13047
  return new Ou(e, t, Ps);
13048
- }, Y0 = (t, r) => {
13048
+ }, X0 = (t, r) => {
13049
13049
  if (Ms) t.adoptedStyleSheets = r.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
13050
13050
  else for (const e of r) {
13051
13051
  const n = document.createElement("style"), i = Yr.litNonce;
@@ -13061,10 +13061,10 @@ const x = (t) => new Ou(typeof t == "string" ? t : t + "", void 0, Ps), Te = (t,
13061
13061
  * Copyright 2017 Google LLC
13062
13062
  * SPDX-License-Identifier: BSD-3-Clause
13063
13063
  */
13064
- const { is: X0, defineProperty: Q0, getOwnPropertyDescriptor: em, getOwnPropertyNames: tm, getOwnPropertySymbols: nm, getPrototypeOf: rm } = Object, bt = globalThis, ol = bt.trustedTypes, im = ol ? ol.emptyScript : "", ba = bt.reactiveElementPolyfillSupport, Jn = (t, r) => t, hi = { toAttribute(t, r) {
13064
+ const { is: Q0, defineProperty: em, getOwnPropertyDescriptor: tm, getOwnPropertyNames: nm, getOwnPropertySymbols: rm, getPrototypeOf: im } = Object, bt = globalThis, ol = bt.trustedTypes, am = ol ? ol.emptyScript : "", ba = bt.reactiveElementPolyfillSupport, Jn = (t, r) => t, hi = { toAttribute(t, r) {
13065
13065
  switch (r) {
13066
13066
  case Boolean:
13067
- t = t ? im : null;
13067
+ t = t ? am : null;
13068
13068
  break;
13069
13069
  case Object:
13070
13070
  case Array:
@@ -13089,7 +13089,7 @@ const { is: X0, defineProperty: Q0, getOwnPropertyDescriptor: em, getOwnProperty
13089
13089
  }
13090
13090
  }
13091
13091
  return e;
13092
- } }, ji = (t, r) => !X0(t, r), ll = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji };
13092
+ } }, ji = (t, r) => !Q0(t, r), ll = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji };
13093
13093
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), bt.litPropertyMetadata ?? (bt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
13094
13094
  let dn = class extends HTMLElement {
13095
13095
  static addInitializer(r) {
@@ -13101,11 +13101,11 @@ let dn = class extends HTMLElement {
13101
13101
  static createProperty(r, e = ll) {
13102
13102
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(r, e), !e.noAccessor) {
13103
13103
  const n = Symbol(), i = this.getPropertyDescriptor(r, n, e);
13104
- i !== void 0 && Q0(this.prototype, r, i);
13104
+ i !== void 0 && em(this.prototype, r, i);
13105
13105
  }
13106
13106
  }
13107
13107
  static getPropertyDescriptor(r, e, n) {
13108
- const { get: i, set: a } = em(this.prototype, r) ?? { get() {
13108
+ const { get: i, set: a } = tm(this.prototype, r) ?? { get() {
13109
13109
  return this[e];
13110
13110
  }, set(s) {
13111
13111
  this[e] = s;
@@ -13122,13 +13122,13 @@ let dn = class extends HTMLElement {
13122
13122
  }
13123
13123
  static _$Ei() {
13124
13124
  if (this.hasOwnProperty(Jn("elementProperties"))) return;
13125
- const r = rm(this);
13125
+ const r = im(this);
13126
13126
  r.finalize(), r.l !== void 0 && (this.l = [...r.l]), this.elementProperties = new Map(r.elementProperties);
13127
13127
  }
13128
13128
  static finalize() {
13129
13129
  if (this.hasOwnProperty(Jn("finalized"))) return;
13130
13130
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Jn("properties"))) {
13131
- const e = this.properties, n = [...tm(e), ...nm(e)];
13131
+ const e = this.properties, n = [...nm(e), ...rm(e)];
13132
13132
  for (const i of n) this.createProperty(i, e[i]);
13133
13133
  }
13134
13134
  const r = this[Symbol.metadata];
@@ -13177,7 +13177,7 @@ let dn = class extends HTMLElement {
13177
13177
  }
13178
13178
  createRenderRoot() {
13179
13179
  const r = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
13180
- return Y0(r, this.constructor.elementStyles), r;
13180
+ return X0(r, this.constructor.elementStyles), r;
13181
13181
  }
13182
13182
  connectedCallback() {
13183
13183
  var r;
@@ -13295,14 +13295,14 @@ dn.elementStyles = [], dn.shadowRootOptions = { mode: "open" }, dn[Jn("elementPr
13295
13295
  * Copyright 2017 Google LLC
13296
13296
  * SPDX-License-Identifier: BSD-3-Clause
13297
13297
  */
13298
- const Zn = globalThis, pi = Zn.trustedTypes, cl = pi ? pi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Lu = "$lit$", gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Iu = "?" + gt, am = `<${Iu}>`, Ht = document, or = () => Ht.createComment(""), lr = (t) => t === null || typeof t != "object" && typeof t != "function", Mu = Array.isArray, sm = (t) => Mu(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wa = `[
13298
+ const Zn = globalThis, pi = Zn.trustedTypes, cl = pi ? pi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Lu = "$lit$", gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Iu = "?" + gt, sm = `<${Iu}>`, Ht = document, or = () => Ht.createComment(""), lr = (t) => t === null || typeof t != "object" && typeof t != "function", Mu = Array.isArray, om = (t) => Mu(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wa = `[
13299
13299
  \f\r]`, Ln = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ul = /-->/g, dl = />/g, Pt = RegExp(`>|${wa}(?:([^\\s"'>=/]+)(${wa}*=${wa}*(?:[^
13300
13300
  \f\r"'\`<>=]|("|')|))|$)`, "g"), hl = /'/g, pl = /"/g, Pu = /^(?:script|style|textarea|title)$/i, Fu = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), be = Fu(1), st = Fu(2), St = Symbol.for("lit-noChange"), se = Symbol.for("lit-nothing"), fl = /* @__PURE__ */ new WeakMap(), $t = Ht.createTreeWalker(Ht, 129);
13301
13301
  function $u(t, r) {
13302
13302
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
13303
13303
  return cl !== void 0 ? cl.createHTML(r) : r;
13304
13304
  }
13305
- const om = (t, r) => {
13305
+ const lm = (t, r) => {
13306
13306
  const e = t.length - 1, n = [];
13307
13307
  let i, a = r === 2 ? "<svg>" : "", s = Ln;
13308
13308
  for (let o = 0; o < e; o++) {
@@ -13310,7 +13310,7 @@ const om = (t, r) => {
13310
13310
  let c, u, d = -1, h = 0;
13311
13311
  for (; h < l.length && (s.lastIndex = h, u = s.exec(l), u !== null); ) h = s.lastIndex, s === Ln ? u[1] === "!--" ? s = ul : u[1] !== void 0 ? s = dl : u[2] !== void 0 ? (Pu.test(u[2]) && (i = RegExp("</" + u[2], "g")), s = Pt) : u[3] !== void 0 && (s = Pt) : s === Pt ? u[0] === ">" ? (s = i ?? Ln, d = -1) : u[1] === void 0 ? d = -2 : (d = s.lastIndex - u[2].length, c = u[1], s = u[3] === void 0 ? Pt : u[3] === '"' ? pl : hl) : s === pl || s === hl ? s = Pt : s === ul || s === dl ? s = Ln : (s = Pt, i = void 0);
13312
13312
  const p = s === Pt && t[o + 1].startsWith("/>") ? " " : "";
13313
- a += s === Ln ? l + am : d >= 0 ? (n.push(c), l.slice(0, d) + Lu + l.slice(d) + gt + p) : l + gt + (d === -2 ? o : p);
13313
+ a += s === Ln ? l + sm : d >= 0 ? (n.push(c), l.slice(0, d) + Lu + l.slice(d) + gt + p) : l + gt + (d === -2 ? o : p);
13314
13314
  }
13315
13315
  return [$u(t, a + (t[e] || "<?>") + (r === 2 ? "</svg>" : "")), n];
13316
13316
  };
@@ -13319,7 +13319,7 @@ class cr {
13319
13319
  let i;
13320
13320
  this.parts = [];
13321
13321
  let a = 0, s = 0;
13322
- const o = r.length - 1, l = this.parts, [c, u] = om(r, e);
13322
+ const o = r.length - 1, l = this.parts, [c, u] = lm(r, e);
13323
13323
  if (this.el = cr.createElement(c, n), $t.currentNode = this.el.content, e === 2) {
13324
13324
  const d = this.el.content.firstChild;
13325
13325
  d.replaceWith(...d.childNodes);
@@ -13328,7 +13328,7 @@ class cr {
13328
13328
  if (i.nodeType === 1) {
13329
13329
  if (i.hasAttributes()) for (const d of i.getAttributeNames()) if (d.endsWith(Lu)) {
13330
13330
  const h = u[s++], p = i.getAttribute(d).split(gt), f = /([.?@])?(.*)/.exec(h);
13331
- l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? cm : f[1] === "?" ? um : f[1] === "@" ? dm : Hi }), i.removeAttribute(d);
13331
+ l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? um : f[1] === "?" ? dm : f[1] === "@" ? hm : Hi }), i.removeAttribute(d);
13332
13332
  } else d.startsWith(gt) && (l.push({ type: 6, index: a }), i.removeAttribute(d));
13333
13333
  if (Pu.test(i.tagName)) {
13334
13334
  const d = i.textContent.split(gt), h = d.length - 1;
@@ -13358,7 +13358,7 @@ function gn(t, r, e = t, n) {
13358
13358
  const a = lr(r) ? void 0 : r._$litDirective$;
13359
13359
  return (i == null ? void 0 : i.constructor) !== a && ((o = i == null ? void 0 : i._$AO) == null || o.call(i, !1), a === void 0 ? i = void 0 : (i = new a(t), i._$AT(t, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (r = gn(t, i._$AS(t, r.values), i, n)), r;
13360
13360
  }
13361
- class lm {
13361
+ class cm {
13362
13362
  constructor(r, e) {
13363
13363
  this._$AV = [], this._$AN = void 0, this._$AD = r, this._$AM = e;
13364
13364
  }
@@ -13375,7 +13375,7 @@ class lm {
13375
13375
  for (; l !== void 0; ) {
13376
13376
  if (s === l.index) {
13377
13377
  let c;
13378
- l.type === 2 ? c = new _r(a, a.nextSibling, this, r) : l.type === 1 ? c = new l.ctor(a, l.name, l.strings, this, r) : l.type === 6 && (c = new hm(a, this, r)), this._$AV.push(c), l = n[++o];
13378
+ l.type === 2 ? c = new _r(a, a.nextSibling, this, r) : l.type === 1 ? c = new l.ctor(a, l.name, l.strings, this, r) : l.type === 6 && (c = new pm(a, this, r)), this._$AV.push(c), l = n[++o];
13379
13379
  }
13380
13380
  s !== (l == null ? void 0 : l.index) && (a = $t.nextNode(), s++);
13381
13381
  }
@@ -13406,7 +13406,7 @@ class _r {
13406
13406
  return this._$AB;
13407
13407
  }
13408
13408
  _$AI(r, e = this) {
13409
- r = gn(this, r, e), lr(r) ? r === se || r == null || r === "" ? (this._$AH !== se && this._$AR(), this._$AH = se) : r !== this._$AH && r !== St && this._(r) : r._$litType$ !== void 0 ? this.$(r) : r.nodeType !== void 0 ? this.T(r) : sm(r) ? this.k(r) : this._(r);
13409
+ r = gn(this, r, e), lr(r) ? r === se || r == null || r === "" ? (this._$AH !== se && this._$AR(), this._$AH = se) : r !== this._$AH && r !== St && this._(r) : r._$litType$ !== void 0 ? this.$(r) : r.nodeType !== void 0 ? this.T(r) : om(r) ? this.k(r) : this._(r);
13410
13410
  }
13411
13411
  S(r) {
13412
13412
  return this._$AA.parentNode.insertBefore(r, this._$AB);
@@ -13422,7 +13422,7 @@ class _r {
13422
13422
  const { values: e, _$litType$: n } = r, i = typeof n == "number" ? this._$AC(r) : (n.el === void 0 && (n.el = cr.createElement($u(n.h, n.h[0]), this.options)), n);
13423
13423
  if (((a = this._$AH) == null ? void 0 : a._$AD) === i) this._$AH.p(e);
13424
13424
  else {
13425
- const s = new lm(i, this), o = s.u(this.options);
13425
+ const s = new cm(i, this), o = s.u(this.options);
13426
13426
  s.p(e), this.T(o), this._$AH = s;
13427
13427
  }
13428
13428
  }
@@ -13474,7 +13474,7 @@ class Hi {
13474
13474
  r === se ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, r ?? "");
13475
13475
  }
13476
13476
  }
13477
- class cm extends Hi {
13477
+ class um extends Hi {
13478
13478
  constructor() {
13479
13479
  super(...arguments), this.type = 3;
13480
13480
  }
@@ -13482,7 +13482,7 @@ class cm extends Hi {
13482
13482
  this.element[this.name] = r === se ? void 0 : r;
13483
13483
  }
13484
13484
  }
13485
- class um extends Hi {
13485
+ class dm extends Hi {
13486
13486
  constructor() {
13487
13487
  super(...arguments), this.type = 4;
13488
13488
  }
@@ -13490,7 +13490,7 @@ class um extends Hi {
13490
13490
  this.element.toggleAttribute(this.name, !!r && r !== se);
13491
13491
  }
13492
13492
  }
13493
- class dm extends Hi {
13493
+ class hm extends Hi {
13494
13494
  constructor(r, e, n, i, a) {
13495
13495
  super(r, e, n, i, a), this.type = 5;
13496
13496
  }
@@ -13504,7 +13504,7 @@ class dm extends Hi {
13504
13504
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, r) : this._$AH.handleEvent(r);
13505
13505
  }
13506
13506
  }
13507
- class hm {
13507
+ class pm {
13508
13508
  constructor(r, e, n) {
13509
13509
  this.element = r, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
13510
13510
  }
@@ -13517,7 +13517,7 @@ class hm {
13517
13517
  }
13518
13518
  const ka = Zn.litHtmlPolyfillSupport;
13519
13519
  ka == null || ka(cr, _r), (Zn.litHtmlVersions ?? (Zn.litHtmlVersions = [])).push("3.1.4");
13520
- const pm = (t, r, e) => {
13520
+ const fm = (t, r, e) => {
13521
13521
  const n = (e == null ? void 0 : e.renderBefore) ?? r;
13522
13522
  let i = n._$litPart$;
13523
13523
  if (i === void 0) {
@@ -13542,7 +13542,7 @@ let Yn = class extends dn {
13542
13542
  }
13543
13543
  update(r) {
13544
13544
  const e = this.render();
13545
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(r), this._$Do = pm(e, this.renderRoot, this.renderOptions);
13545
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(r), this._$Do = fm(e, this.renderRoot, this.renderOptions);
13546
13546
  }
13547
13547
  connectedCallback() {
13548
13548
  var r;
@@ -13561,7 +13561,7 @@ Yn._$litElement$ = !0, Yn.finalized = !0, (Uc = globalThis.litElementHydrateSupp
13561
13561
  const Sa = globalThis.litElementPolyfillSupport;
13562
13562
  Sa == null || Sa({ LitElement: Yn });
13563
13563
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
13564
- const fm = Te`
13564
+ const mm = Te`
13565
13565
  :host .button {
13566
13566
  --font-family: var(--lr-poppins);
13567
13567
  --font-size: var(--lr-text-14);
@@ -13653,7 +13653,7 @@ const fm = Te`
13653
13653
  :host([iconPosition='right']) .button {
13654
13654
  flex-direction: row-reverse;
13655
13655
  }
13656
- `, mm = Te`
13656
+ `, gm = Te`
13657
13657
  :host([variant='primary']) .button::before {
13658
13658
  position: absolute;
13659
13659
  content: '';
@@ -13830,7 +13830,7 @@ const De = (t) => (r, e) => {
13830
13830
  * Copyright 2017 Google LLC
13831
13831
  * SPDX-License-Identifier: BSD-3-Clause
13832
13832
  */
13833
- const gm = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji }, vm = (t = gm, r, e) => {
13833
+ const vm = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji }, ym = (t = vm, r, e) => {
13834
13834
  const { kind: n, metadata: i } = e;
13835
13835
  let a = globalThis.litPropertyMetadata.get(i);
13836
13836
  if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), a.set(e.name, t), n === "accessor") {
@@ -13852,7 +13852,7 @@ const gm = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged
13852
13852
  throw Error("Unsupported decorator location: " + n);
13853
13853
  };
13854
13854
  function J(t) {
13855
- return (r, e) => typeof e == "object" ? vm(t, r, e) : ((n, i, a) => {
13855
+ return (r, e) => typeof e == "object" ? ym(t, r, e) : ((n, i, a) => {
13856
13856
  const s = i.hasOwnProperty(a);
13857
13857
  return i.constructor.createProperty(a, s ? { ...n, wrapped: !0 } : n), s ? Object.getOwnPropertyDescriptor(i, a) : void 0;
13858
13858
  })(t, r, e);
@@ -13898,7 +13898,7 @@ let Fs = class {
13898
13898
  * Copyright 2018 Google LLC
13899
13899
  * SPDX-License-Identifier: BSD-3-Clause
13900
13900
  */
13901
- const ym = zi(class extends Fs {
13901
+ const Nu = zi(class extends Fs {
13902
13902
  constructor(t) {
13903
13903
  var r;
13904
13904
  if (super(t), t.type !== Ui.ATTRIBUTE || t.name !== "class" || ((r = t.strings) == null ? void 0 : r.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
@@ -13922,7 +13922,7 @@ const ym = zi(class extends Fs {
13922
13922
  return St;
13923
13923
  }
13924
13924
  });
13925
- var Nu = typeof global == "object" && global && global.Object === Object && global, bm = typeof self == "object" && self && self.Object === Object && self, Je = Nu || bm || Function("return this")(), _t = Je.Symbol, Du = Object.prototype, wm = Du.hasOwnProperty, km = Du.toString, In = _t ? _t.toStringTag : void 0;
13925
+ var Du = typeof global == "object" && global && global.Object === Object && global, bm = typeof self == "object" && self && self.Object === Object && self, Je = Du || bm || Function("return this")(), _t = Je.Symbol, Bu = Object.prototype, wm = Bu.hasOwnProperty, km = Bu.toString, In = _t ? _t.toStringTag : void 0;
13926
13926
  function Sm(t) {
13927
13927
  var r = wm.call(t, In), e = t[In];
13928
13928
  try {
@@ -13954,11 +13954,11 @@ function Rm(t, r) {
13954
13954
  return i;
13955
13955
  }
13956
13956
  var it = Array.isArray, Om = 1 / 0, gl = _t ? _t.prototype : void 0, vl = gl ? gl.toString : void 0;
13957
- function Bu(t) {
13957
+ function ju(t) {
13958
13958
  if (typeof t == "string")
13959
13959
  return t;
13960
13960
  if (it(t))
13961
- return Rm(t, Bu) + "";
13961
+ return Rm(t, ju) + "";
13962
13962
  if (qi(t))
13963
13963
  return vl ? vl.call(t) : "";
13964
13964
  var r = t + "";
@@ -14055,7 +14055,7 @@ function Vi(t, r) {
14055
14055
  var e = ig(t, r);
14056
14056
  return rg(e) ? e : void 0;
14057
14057
  }
14058
- var Sl = Vi(Je, "WeakMap"), fi = Sl && new Sl(), ju = fi ? function(t, r) {
14058
+ var Sl = Vi(Je, "WeakMap"), fi = Sl && new Sl(), Hu = fi ? function(t, r) {
14059
14059
  return fi.set(t, r), t;
14060
14060
  } : $s, _l = Object.create, Wi = /* @__PURE__ */ function() {
14061
14061
  function t() {
@@ -14118,7 +14118,7 @@ function Ds(t, r, e) {
14118
14118
  return t.apply(r, e);
14119
14119
  }
14120
14120
  var og = Math.max;
14121
- function Hu(t, r, e, n) {
14121
+ function Uu(t, r, e, n) {
14122
14122
  for (var i = -1, a = t.length, s = e.length, o = -1, l = r.length, c = og(a - s, 0), u = Array(l + c), d = !n; ++o < l; )
14123
14123
  u[o] = r[o];
14124
14124
  for (; ++i < s; )
@@ -14128,7 +14128,7 @@ function Hu(t, r, e, n) {
14128
14128
  return u;
14129
14129
  }
14130
14130
  var lg = Math.max;
14131
- function Uu(t, r, e, n) {
14131
+ function zu(t, r, e, n) {
14132
14132
  for (var i = -1, a = t.length, s = -1, o = e.length, l = -1, c = r.length, u = lg(a - o, 0), d = Array(u + c), h = !n; ++i < u; )
14133
14133
  d[i] = t[i];
14134
14134
  for (var p = i; ++l < c; )
@@ -14152,7 +14152,7 @@ vn.prototype = Wi(Bs.prototype);
14152
14152
  vn.prototype.constructor = vn;
14153
14153
  function dg() {
14154
14154
  }
14155
- var zu = fi ? function(t) {
14155
+ var qu = fi ? function(t) {
14156
14156
  return fi.get(t);
14157
14157
  } : dg, Cl = {}, hg = Object.prototype, pg = hg.hasOwnProperty;
14158
14158
  function fg(t) {
@@ -14198,11 +14198,11 @@ function yg(t) {
14198
14198
  return !1;
14199
14199
  if (t === e)
14200
14200
  return !0;
14201
- var n = zu(e);
14201
+ var n = qu(e);
14202
14202
  return !!n && t === n[0];
14203
14203
  }
14204
14204
  var bg = 800, wg = 16, kg = Date.now;
14205
- function qu(t) {
14205
+ function Vu(t) {
14206
14206
  var r = 0, e = 0;
14207
14207
  return function() {
14208
14208
  var n = kg(), i = wg - (n - e);
@@ -14214,7 +14214,7 @@ function qu(t) {
14214
14214
  return t.apply(void 0, arguments);
14215
14215
  };
14216
14216
  }
14217
- var Vu = qu(ju), Sg = /\{\n\/\* \[wrapped with (.+)\] \*/, _g = /,? & /;
14217
+ var Wu = Vu(Hu), Sg = /\{\n\/\* \[wrapped with (.+)\] \*/, _g = /,? & /;
14218
14218
  function Cg(t) {
14219
14219
  var r = t.match(Sg);
14220
14220
  return r ? r[1].split(_g) : [];
@@ -14247,7 +14247,7 @@ var gi = function() {
14247
14247
  value: Ag(r),
14248
14248
  writable: !0
14249
14249
  });
14250
- } : $s, Hs = qu(Tg);
14250
+ } : $s, Hs = Vu(Tg);
14251
14251
  function Rg(t, r) {
14252
14252
  for (var e = -1, n = t == null ? 0 : t.length; ++e < n && r(t[e], e, t) !== !1; )
14253
14253
  ;
@@ -14292,12 +14292,12 @@ function Vg(t, r) {
14292
14292
  r & e[1] && !Pg(t, n) && t.push(n);
14293
14293
  }), t.sort();
14294
14294
  }
14295
- function Wu(t, r, e) {
14295
+ function Gu(t, r, e) {
14296
14296
  var n = r + "";
14297
14297
  return Hs(t, Eg(n, Vg(Cg(n), e)));
14298
14298
  }
14299
14299
  var Wg = 1, Gg = 2, Kg = 4, Jg = 8, xl = 32, El = 64;
14300
- function Gu(t, r, e, n, i, a, s, o, l, c) {
14300
+ function Ku(t, r, e, n, i, a, s, o, l, c) {
14301
14301
  var u = r & Jg, d = u ? s : void 0, h = u ? void 0 : s, p = u ? a : void 0, f = u ? void 0 : a;
14302
14302
  r |= u ? xl : El, r &= ~(u ? El : xl), r & Kg || (r &= ~(Wg | Gg));
14303
14303
  var g = [
@@ -14312,9 +14312,9 @@ function Gu(t, r, e, n, i, a, s, o, l, c) {
14312
14312
  l,
14313
14313
  c
14314
14314
  ], y = e.apply(void 0, g);
14315
- return yg(t) && Vu(y, g), y.placeholder = n, Wu(y, t, r);
14315
+ return yg(t) && Wu(y, g), y.placeholder = n, Gu(y, t, r);
14316
14316
  }
14317
- function Ku(t) {
14317
+ function Ju(t) {
14318
14318
  var r = t;
14319
14319
  return r.placeholder;
14320
14320
  }
@@ -14346,10 +14346,10 @@ function Us(t, r, e, n, i, a, s, o, l, c) {
14346
14346
  for (var v = arguments.length, b = Array(v), S = v; S--; )
14347
14347
  b[S] = arguments[S];
14348
14348
  if (p)
14349
- var $ = Ku(y), R = cg(b, $);
14350
- if (n && (b = Hu(b, n, i, p)), a && (b = Uu(b, a, s, p)), v -= R, p && v < c) {
14349
+ var $ = Ju(y), R = cg(b, $);
14350
+ if (n && (b = Uu(b, n, i, p)), a && (b = zu(b, a, s, p)), v -= R, p && v < c) {
14351
14351
  var U = vi(b, $);
14352
- return Gu(
14352
+ return Ku(
14353
14353
  t,
14354
14354
  r,
14355
14355
  Us,
@@ -14370,11 +14370,11 @@ function Us(t, r, e, n, i, a, s, o, l, c) {
14370
14370
  function sv(t, r, e) {
14371
14371
  var n = ur(t);
14372
14372
  function i() {
14373
- for (var a = arguments.length, s = Array(a), o = a, l = Ku(i); o--; )
14373
+ for (var a = arguments.length, s = Array(a), o = a, l = Ju(i); o--; )
14374
14374
  s[o] = arguments[o];
14375
14375
  var c = a < 3 && s[0] !== l && s[a - 1] !== l ? [] : vi(s, l);
14376
14376
  if (a -= c.length, a < e)
14377
- return Gu(
14377
+ return Ku(
14378
14378
  t,
14379
14379
  r,
14380
14380
  Us,
@@ -14412,9 +14412,9 @@ function hv(t, r) {
14412
14412
  var o = r[3];
14413
14413
  if (o) {
14414
14414
  var l = t[3];
14415
- t[3] = l ? Hu(l, o, r[4]) : o, t[4] = l ? vi(t[3], Tl) : r[4];
14415
+ t[3] = l ? Uu(l, o, r[4]) : o, t[4] = l ? vi(t[3], Tl) : r[4];
14416
14416
  }
14417
- return o = r[5], o && (l = t[5], t[5] = l ? Uu(l, o, r[6]) : o, t[6] = l ? vi(t[5], Tl) : r[6]), o = r[7], o && (t[7] = o), n & Mn && (t[8] = t[8] == null ? r[8] : dv(t[8], r[8])), t[9] == null && (t[9] = r[9]), t[0] = r[0], t[1] = i, t;
14417
+ return o = r[5], o && (l = t[5], t[5] = l ? zu(l, o, r[6]) : o, t[6] = l ? vi(t[5], Tl) : r[6]), o = r[7], o && (t[7] = o), n & Mn && (t[8] = t[8] == null ? r[8] : dv(t[8], r[8])), t[9] == null && (t[9] = r[9]), t[0] = r[0], t[1] = i, t;
14418
14418
  }
14419
14419
  var pv = "Expected a function", Ll = 1, fv = 2, xa = 8, Ea = 16, Aa = 32, Il = 64, Ml = Math.max;
14420
14420
  function mv(t, r, e, n, i, a, s, o) {
@@ -14426,7 +14426,7 @@ function mv(t, r, e, n, i, a, s, o) {
14426
14426
  var u = n, d = i;
14427
14427
  n = i = void 0;
14428
14428
  }
14429
- var h = l ? void 0 : zu(t), p = [
14429
+ var h = l ? void 0 : qu(t), p = [
14430
14430
  t,
14431
14431
  r,
14432
14432
  e,
@@ -14441,8 +14441,8 @@ function mv(t, r, e, n, i, a, s, o) {
14441
14441
  if (h && hv(p, h), t = p[0], r = p[1], e = p[2], n = p[3], i = p[4], o = p[9] = p[9] === void 0 ? l ? 0 : t.length : Ml(p[9] - c, 0), !o && r & (xa | Ea) && (r &= ~(xa | Ea)), !r || r == Ll)
14442
14442
  var f = sg(t, r, e);
14443
14443
  else r == xa || r == Ea ? f = sv(t, r, o) : (r == Aa || r == (Ll | Aa)) && !i.length ? f = lv(t, r, e, n) : f = Us.apply(void 0, p);
14444
- var g = h ? ju : Vu;
14445
- return Wu(g(f, p), t, r);
14444
+ var g = h ? Hu : Wu;
14445
+ return Gu(g(f, p), t, r);
14446
14446
  }
14447
14447
  function zs(t, r, e) {
14448
14448
  r == "__proto__" && gi ? gi(t, r, {
@@ -14456,7 +14456,7 @@ function Gi(t, r) {
14456
14456
  return t === r || t !== t && r !== r;
14457
14457
  }
14458
14458
  var gv = Object.prototype, vv = gv.hasOwnProperty;
14459
- function Ju(t, r, e) {
14459
+ function Zu(t, r, e) {
14460
14460
  var n = t[r];
14461
14461
  (!(vv.call(t, r) && Gi(n, e)) || e === void 0 && !(r in t)) && zs(t, r, e);
14462
14462
  }
@@ -14465,12 +14465,12 @@ function yv(t, r, e, n) {
14465
14465
  e || (e = {});
14466
14466
  for (var a = -1, s = r.length; ++a < s; ) {
14467
14467
  var o = r[a], l = void 0;
14468
- l === void 0 && (l = t[o]), i ? zs(e, o, l) : Ju(e, o, l);
14468
+ l === void 0 && (l = t[o]), i ? zs(e, o, l) : Zu(e, o, l);
14469
14469
  }
14470
14470
  return e;
14471
14471
  }
14472
14472
  var Pl = Math.max;
14473
- function Zu(t, r, e) {
14473
+ function Yu(t, r, e) {
14474
14474
  return r = Pl(r === void 0 ? t.length - 1 : r, 0), function() {
14475
14475
  for (var n = arguments, i = -1, a = Pl(n.length - r, 0), s = Array(a); ++i < a; )
14476
14476
  s[i] = n[r + i];
@@ -14481,7 +14481,7 @@ function Zu(t, r, e) {
14481
14481
  };
14482
14482
  }
14483
14483
  function bv(t, r) {
14484
- return Hs(Zu(t, r, $s), t + "");
14484
+ return Hs(Yu(t, r, $s), t + "");
14485
14485
  }
14486
14486
  var wv = 9007199254740991;
14487
14487
  function qs(t) {
@@ -14507,7 +14507,7 @@ function Sv(t) {
14507
14507
  });
14508
14508
  }
14509
14509
  var _v = Object.prototype;
14510
- function Yu(t) {
14510
+ function Xu(t) {
14511
14511
  var r = t && t.constructor, e = typeof r == "function" && r.prototype || _v;
14512
14512
  return t === e;
14513
14513
  }
@@ -14520,7 +14520,7 @@ var xv = "[object Arguments]";
14520
14520
  function Fl(t) {
14521
14521
  return Tt(t) && En(t) == xv;
14522
14522
  }
14523
- var Xu = Object.prototype, Ev = Xu.hasOwnProperty, Av = Xu.propertyIsEnumerable, dr = Fl(/* @__PURE__ */ function() {
14523
+ var Qu = Object.prototype, Ev = Qu.hasOwnProperty, Av = Qu.propertyIsEnumerable, dr = Fl(/* @__PURE__ */ function() {
14524
14524
  return arguments;
14525
14525
  }()) ? Fl : function(t) {
14526
14526
  return Tt(t) && Ev.call(t, "callee") && !Av.call(t, "callee");
@@ -14528,7 +14528,7 @@ var Xu = Object.prototype, Ev = Xu.hasOwnProperty, Av = Xu.propertyIsEnumerable,
14528
14528
  function Tv() {
14529
14529
  return !1;
14530
14530
  }
14531
- var Qu = typeof exports == "object" && exports && !exports.nodeType && exports, $l = Qu && typeof module == "object" && module && !module.nodeType && module, Rv = $l && $l.exports === Qu, Nl = Rv ? Je.Buffer : void 0, Ov = Nl ? Nl.isBuffer : void 0, ed = Ov || Tv, Lv = "[object Arguments]", Iv = "[object Array]", Mv = "[object Boolean]", Pv = "[object Date]", Fv = "[object Error]", $v = "[object Function]", Nv = "[object Map]", Dv = "[object Number]", Bv = "[object Object]", jv = "[object RegExp]", Hv = "[object Set]", Uv = "[object String]", zv = "[object WeakMap]", qv = "[object ArrayBuffer]", Vv = "[object DataView]", Wv = "[object Float32Array]", Gv = "[object Float64Array]", Kv = "[object Int8Array]", Jv = "[object Int16Array]", Zv = "[object Int32Array]", Yv = "[object Uint8Array]", Xv = "[object Uint8ClampedArray]", Qv = "[object Uint16Array]", e1 = "[object Uint32Array]", de = {};
14531
+ var ed = typeof exports == "object" && exports && !exports.nodeType && exports, $l = ed && typeof module == "object" && module && !module.nodeType && module, Rv = $l && $l.exports === ed, Nl = Rv ? Je.Buffer : void 0, Ov = Nl ? Nl.isBuffer : void 0, td = Ov || Tv, Lv = "[object Arguments]", Iv = "[object Array]", Mv = "[object Boolean]", Pv = "[object Date]", Fv = "[object Error]", $v = "[object Function]", Nv = "[object Map]", Dv = "[object Number]", Bv = "[object Object]", jv = "[object RegExp]", Hv = "[object Set]", Uv = "[object String]", zv = "[object WeakMap]", qv = "[object ArrayBuffer]", Vv = "[object DataView]", Wv = "[object Float32Array]", Gv = "[object Float64Array]", Kv = "[object Int8Array]", Jv = "[object Int16Array]", Zv = "[object Int32Array]", Yv = "[object Uint8Array]", Xv = "[object Uint8ClampedArray]", Qv = "[object Uint16Array]", e1 = "[object Uint32Array]", de = {};
14532
14532
  de[Wv] = de[Gv] = de[Kv] = de[Jv] = de[Zv] = de[Yv] = de[Xv] = de[Qv] = de[e1] = !0;
14533
14533
  de[Lv] = de[Iv] = de[qv] = de[Mv] = de[Vv] = de[Pv] = de[Fv] = de[$v] = de[Nv] = de[Dv] = de[Bv] = de[jv] = de[Hv] = de[Uv] = de[zv] = !1;
14534
14534
  function t1(t) {
@@ -14539,15 +14539,15 @@ function n1(t) {
14539
14539
  return t(r);
14540
14540
  };
14541
14541
  }
14542
- var td = typeof exports == "object" && exports && !exports.nodeType && exports, Xn = td && typeof module == "object" && module && !module.nodeType && module, r1 = Xn && Xn.exports === td, Ta = r1 && Nu.process, Dl = function() {
14542
+ var nd = typeof exports == "object" && exports && !exports.nodeType && exports, Xn = nd && typeof module == "object" && module && !module.nodeType && module, r1 = Xn && Xn.exports === nd, Ta = r1 && Du.process, Dl = function() {
14543
14543
  try {
14544
14544
  var t = Xn && Xn.require && Xn.require("util").types;
14545
14545
  return t || Ta && Ta.binding && Ta.binding("util");
14546
14546
  } catch {
14547
14547
  }
14548
- }(), Bl = Dl && Dl.isTypedArray, nd = Bl ? n1(Bl) : t1;
14548
+ }(), Bl = Dl && Dl.isTypedArray, rd = Bl ? n1(Bl) : t1;
14549
14549
  function i1(t, r) {
14550
- var e = it(t), n = !e && dr(t), i = !e && !n && ed(t), a = !e && !n && !i && nd(t), s = e || n || i || a, o = s ? Cv(t.length, String) : [], l = o.length;
14550
+ var e = it(t), n = !e && dr(t), i = !e && !n && td(t), a = !e && !n && !i && rd(t), s = e || n || i || a, o = s ? Cv(t.length, String) : [], l = o.length;
14551
14551
  for (var c in t)
14552
14552
  s && // Safari 9 has enumerable `arguments.length` in strict mode.
14553
14553
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -14572,12 +14572,12 @@ var o1 = Object.prototype, l1 = o1.hasOwnProperty;
14572
14572
  function c1(t) {
14573
14573
  if (!Ve(t))
14574
14574
  return s1(t);
14575
- var r = Yu(t), e = [];
14575
+ var r = Xu(t), e = [];
14576
14576
  for (var n in t)
14577
14577
  n == "constructor" && (r || !l1.call(t, n)) || e.push(n);
14578
14578
  return e;
14579
14579
  }
14580
- function rd(t) {
14580
+ function id(t) {
14581
14581
  return Vs(t) ? i1(t) : c1(t);
14582
14582
  }
14583
14583
  var u1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, d1 = /^\w*$/;
@@ -14666,11 +14666,11 @@ pt.prototype.delete = A1;
14666
14666
  pt.prototype.get = T1;
14667
14667
  pt.prototype.has = R1;
14668
14668
  pt.prototype.set = O1;
14669
- var id = Vi(Je, "Map");
14669
+ var ad = Vi(Je, "Map");
14670
14670
  function L1() {
14671
14671
  this.size = 0, this.__data__ = {
14672
14672
  hash: new Ut(),
14673
- map: new (id || pt)(),
14673
+ map: new (ad || pt)(),
14674
14674
  string: new Ut()
14675
14675
  };
14676
14676
  }
@@ -14736,7 +14736,7 @@ var j1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
14736
14736
  }), r;
14737
14737
  });
14738
14738
  function z1(t) {
14739
- return t == null ? "" : Bu(t);
14739
+ return t == null ? "" : ju(t);
14740
14740
  }
14741
14741
  function Zi(t, r) {
14742
14742
  return it(t) ? t : h1(t, r) ? [t] : U1(z1(t));
@@ -14776,17 +14776,17 @@ function J1(t) {
14776
14776
  return r ? K1(t) : [];
14777
14777
  }
14778
14778
  function Z1(t) {
14779
- return Hs(Zu(t, void 0, J1), t + "");
14779
+ return Hs(Yu(t, void 0, J1), t + "");
14780
14780
  }
14781
- var ad = a1(Object.getPrototypeOf, Object), Y1 = "[object Object]", X1 = Function.prototype, Q1 = Object.prototype, sd = X1.toString, e2 = Q1.hasOwnProperty, t2 = sd.call(Object);
14781
+ var sd = a1(Object.getPrototypeOf, Object), Y1 = "[object Object]", X1 = Function.prototype, Q1 = Object.prototype, od = X1.toString, e2 = Q1.hasOwnProperty, t2 = od.call(Object);
14782
14782
  function n2(t) {
14783
14783
  if (!Tt(t) || En(t) != Y1)
14784
14784
  return !1;
14785
- var r = ad(t);
14785
+ var r = sd(t);
14786
14786
  if (r === null)
14787
14787
  return !0;
14788
14788
  var e = e2.call(r, "constructor") && r.constructor;
14789
- return typeof e == "function" && e instanceof e && sd.call(e) == t2;
14789
+ return typeof e == "function" && e instanceof e && od.call(e) == t2;
14790
14790
  }
14791
14791
  function r2() {
14792
14792
  this.__data__ = new pt(), this.size = 0;
@@ -14806,7 +14806,7 @@ function l2(t, r) {
14806
14806
  var e = this.__data__;
14807
14807
  if (e instanceof pt) {
14808
14808
  var n = e.__data__;
14809
- if (!id || n.length < o2 - 1)
14809
+ if (!ad || n.length < o2 - 1)
14810
14810
  return n.push([t, r]), this.size = ++e.size, this;
14811
14811
  e = this.__data__ = new Rt(n);
14812
14812
  }
@@ -14821,7 +14821,7 @@ An.prototype.delete = i2;
14821
14821
  An.prototype.get = a2;
14822
14822
  An.prototype.has = s2;
14823
14823
  An.prototype.set = l2;
14824
- var od = typeof exports == "object" && exports && !exports.nodeType && exports, Hl = od && typeof module == "object" && module && !module.nodeType && module, c2 = Hl && Hl.exports === od, Ul = c2 ? Je.Buffer : void 0;
14824
+ var ld = typeof exports == "object" && exports && !exports.nodeType && exports, Hl = ld && typeof module == "object" && module && !module.nodeType && module, c2 = Hl && Hl.exports === ld, Ul = c2 ? Je.Buffer : void 0;
14825
14825
  Ul && Ul.allocUnsafe;
14826
14826
  function u2(t, r) {
14827
14827
  return t.slice();
@@ -14836,7 +14836,7 @@ function h2(t, r) {
14836
14836
  return new t.constructor(e, t.byteOffset, t.length);
14837
14837
  }
14838
14838
  function p2(t) {
14839
- return typeof t.constructor == "function" && !Yu(t) ? Wi(ad(t)) : {};
14839
+ return typeof t.constructor == "function" && !Xu(t) ? Wi(sd(t)) : {};
14840
14840
  }
14841
14841
  function f2(t, r) {
14842
14842
  return t != null && r in Object(t);
@@ -14882,7 +14882,7 @@ function os(t, r) {
14882
14882
  return t[r];
14883
14883
  }
14884
14884
  function k2(t) {
14885
- return yv(t, rd(t));
14885
+ return yv(t, id(t));
14886
14886
  }
14887
14887
  function S2(t, r, e, n, i, a, s) {
14888
14888
  var o = os(t, e), l = os(r, e), c = s.get(l);
@@ -14892,29 +14892,29 @@ function S2(t, r, e, n, i, a, s) {
14892
14892
  }
14893
14893
  var u = a ? a(o, l, e + "", t, r, s) : void 0, d = u === void 0;
14894
14894
  if (d) {
14895
- var h = it(l), p = !h && ed(l), f = !h && !p && nd(l);
14895
+ var h = it(l), p = !h && td(l), f = !h && !p && rd(l);
14896
14896
  u = l, h || p || f ? it(o) ? u = o : w2(o) ? u = js(o) : p ? (d = !1, u = u2(l)) : f ? (d = !1, u = h2(l)) : u = [] : n2(l) || dr(l) ? (u = o, dr(o) ? u = k2(o) : (!Ve(o) || Ns(o)) && (u = p2(l))) : d = !1;
14897
14897
  }
14898
14898
  d && (s.set(l, u), i(u, l, n, a, s), s.delete(l)), ss(t, e, u);
14899
14899
  }
14900
- function ld(t, r, e, n, i) {
14900
+ function cd(t, r, e, n, i) {
14901
14901
  t !== r && y2(r, function(a, s) {
14902
14902
  if (i || (i = new An()), Ve(a))
14903
- S2(t, r, s, e, ld, n, i);
14903
+ S2(t, r, s, e, cd, n, i);
14904
14904
  else {
14905
14905
  var o = n ? n(os(t, s), a, s + "", t, r, i) : void 0;
14906
14906
  o === void 0 && (o = a), ss(t, s, o);
14907
14907
  }
14908
- }, rd);
14908
+ }, id);
14909
14909
  }
14910
14910
  var _2 = "[object String]";
14911
14911
  function C2(t) {
14912
14912
  return typeof t == "string" || !it(t) && Tt(t) && En(t) == _2;
14913
14913
  }
14914
14914
  var x2 = Sv(function(t, r, e) {
14915
- ld(t, r, e);
14915
+ cd(t, r, e);
14916
14916
  });
14917
- function cd(t, r, e, n) {
14917
+ function ud(t, r, e, n) {
14918
14918
  if (!Ve(t))
14919
14919
  return t;
14920
14920
  r = Zi(r, t);
@@ -14926,14 +14926,14 @@ function cd(t, r, e, n) {
14926
14926
  var u = o[l];
14927
14927
  c = void 0, c === void 0 && (c = Ve(u) ? u : Cr(r[i + 1]) ? [] : {});
14928
14928
  }
14929
- Ju(o, l, c), o = o[l];
14929
+ Zu(o, l, c), o = o[l];
14930
14930
  }
14931
14931
  return t;
14932
14932
  }
14933
14933
  function E2(t, r, e) {
14934
14934
  for (var n = -1, i = r.length, a = {}; ++n < i; ) {
14935
14935
  var s = r[n], o = V1(t, s);
14936
- e(o, s) && cd(a, Zi(s, t), o);
14936
+ e(o, s) && ud(a, Zi(s, t), o);
14937
14937
  }
14938
14938
  return a;
14939
14939
  }
@@ -14946,7 +14946,7 @@ var T2 = Z1(function(t, r) {
14946
14946
  return t == null ? {} : A2(t, r);
14947
14947
  });
14948
14948
  function R2(t, r, e) {
14949
- return t == null ? t : cd(t, r, e);
14949
+ return t == null ? t : ud(t, r, e);
14950
14950
  }
14951
14951
  const O2 = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;
14952
14952
  function ql(t) {
@@ -15158,7 +15158,7 @@ function tn(t) {
15158
15158
  function P2(t, r, e) {
15159
15159
  return Math.max(t, Math.min(r, e));
15160
15160
  }
15161
- const ud = L2("rem");
15161
+ const dd = L2("rem");
15162
15162
  xr(function(t, r) {
15163
15163
  if (r === "transparent") return r;
15164
15164
  const e = yi(r), n = "alpha" in e && typeof e.alpha == "number" ? e.alpha : 1, i = {
@@ -15602,14 +15602,14 @@ const z2 = {
15602
15602
  },
15603
15603
  semantic: q2
15604
15604
  }, W2 = {
15605
- radius: ud("8px")
15605
+ radius: dd("8px")
15606
15606
  }, G2 = {
15607
15607
  mobile: { min: 0, max: 767 },
15608
15608
  tablet: { min: 768, max: 991 },
15609
15609
  laptop: { min: 992, max: 1199 },
15610
15610
  computer: { min: 1200, max: 1359 },
15611
15611
  widescreen: { min: 1360 }
15612
- }, K2 = 8, J2 = (t) => ud(`${t * K2}px`), O = {
15612
+ }, K2 = 8, J2 = (t) => dd(`${t * K2}px`), O = {
15613
15613
  regular: 400,
15614
15614
  bolder: 600
15615
15615
  }, Ee = {
@@ -16656,14 +16656,14 @@ function ey(t, r) {
16656
16656
  }
16657
16657
  return (r === "string" ? String : Number)(t);
16658
16658
  }
16659
- function dd(t) {
16659
+ function hd(t) {
16660
16660
  var r = ey(t, "string");
16661
16661
  return He(r) === "symbol" ? r : String(r);
16662
16662
  }
16663
16663
  function Zl(t, r) {
16664
16664
  for (var e = 0; e < r.length; e++) {
16665
16665
  var n = r[e];
16666
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, dd(n.key), n);
16666
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, hd(n.key), n);
16667
16667
  }
16668
16668
  }
16669
16669
  function lt(t, r, e) {
@@ -16707,7 +16707,7 @@ function at(t) {
16707
16707
  }, at(t);
16708
16708
  }
16709
16709
  function Ot(t, r, e) {
16710
- return r = dd(r), r in t ? Object.defineProperty(t, r, {
16710
+ return r = hd(r), r in t ? Object.defineProperty(t, r, {
16711
16711
  value: e,
16712
16712
  enumerable: !0,
16713
16713
  configurable: !0,
@@ -16930,9 +16930,9 @@ function uy(t, r, e) {
16930
16930
  var n = bi(t, e);
16931
16931
  return n !== void 0 ? n : bi(r, e);
16932
16932
  }
16933
- function hd(t, r, e) {
16933
+ function pd(t, r, e) {
16934
16934
  for (var n in r)
16935
- n !== "__proto__" && n !== "constructor" && (n in t ? typeof t[n] == "string" || t[n] instanceof String || typeof r[n] == "string" || r[n] instanceof String ? e && (t[n] = r[n]) : hd(t[n], r[n], e) : t[n] = r[n]);
16935
+ n !== "__proto__" && n !== "constructor" && (n in t ? typeof t[n] == "string" || t[n] instanceof String || typeof r[n] == "string" || r[n] instanceof String ? e && (t[n] = r[n]) : pd(t[n], r[n], e) : t[n] = r[n]);
16936
16936
  return t;
16937
16937
  }
16938
16938
  function nn(t) {
@@ -17091,7 +17091,7 @@ var vy = function(t) {
17091
17091
  }, u = [i, a];
17092
17092
  i.indexOf(".") > -1 && (u = i.split("."), o = s, s = a, a = u[1]), this.addNamespaces(a);
17093
17093
  var d = bi(this.data, u) || {};
17094
- o ? hd(d, s, l) : d = Dr(Dr({}, d), s), tc(this.data, u, d), c.silent || this.emit("added", i, a, s);
17094
+ o ? pd(d, s, l) : d = Dr(Dr({}, d), s), tc(this.data, u, d), c.silent || this.emit("added", i, a, s);
17095
17095
  }
17096
17096
  }, {
17097
17097
  key: "removeResourceBundle",
@@ -17127,7 +17127,7 @@ var vy = function(t) {
17127
17127
  return this.data;
17128
17128
  }
17129
17129
  }]), e;
17130
- }(Ct), pd = {
17130
+ }(Ct), fd = {
17131
17131
  processors: {},
17132
17132
  addPostProcessor: function(r) {
17133
17133
  this.processors[r.name] = r;
@@ -17334,7 +17334,7 @@ var ic = {}, ac = function(t) {
17334
17334
  }, s)), s.interpolation && this.interpolator.reset();
17335
17335
  }
17336
17336
  var y = s.postProcess || this.options.postProcess, v = typeof y == "string" ? [y] : y;
17337
- return i != null && v && v.length && s.applyPostProcessor !== !1 && (i = pd.handle(v, i, a, this.options && this.options.postProcessPassResolved ? xe({
17337
+ return i != null && v && v.length && s.applyPostProcessor !== !1 && (i = fd.handle(v, i, a, this.options && this.options.postProcessPassResolved ? xe({
17338
17338
  i18nResolved: o
17339
17339
  }, s) : s, this)), i;
17340
17340
  }
@@ -18450,7 +18450,7 @@ var ki = function(t) {
18450
18450
  value: function(i) {
18451
18451
  if (!i) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
18452
18452
  if (!i.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
18453
- return i.type === "backend" && (this.modules.backend = i), (i.type === "logger" || i.log && i.warn && i.error) && (this.modules.logger = i), i.type === "languageDetector" && (this.modules.languageDetector = i), i.type === "i18nFormat" && (this.modules.i18nFormat = i), i.type === "postProcessor" && pd.addPostProcessor(i), i.type === "formatter" && (this.modules.formatter = i), i.type === "3rdParty" && this.modules.external.push(i), this;
18453
+ return i.type === "backend" && (this.modules.backend = i), (i.type === "logger" || i.log && i.warn && i.error) && (this.modules.logger = i), i.type === "languageDetector" && (this.modules.languageDetector = i), i.type === "i18nFormat" && (this.modules.i18nFormat = i), i.type === "postProcessor" && fd.addPostProcessor(i), i.type === "formatter" && (this.modules.formatter = i), i.type === "3rdParty" && this.modules.external.push(i), this;
18454
18454
  }
18455
18455
  }, {
18456
18456
  key: "setResolvedLanguage",
@@ -18647,7 +18647,7 @@ const Fy = {
18647
18647
  * SPDX-License-Identifier: BSD-3-Clause
18648
18648
  */
18649
18649
  const Ia = { INITIAL: 0, PENDING: 1, COMPLETE: 2, ERROR: 3 }, $y = Symbol();
18650
- let fd = class {
18650
+ let md = class {
18651
18651
  get taskComplete() {
18652
18652
  return this.t || (this.i === 1 ? this.t = new Promise((r, e) => {
18653
18653
  this.o = r, this.h = e;
@@ -18738,7 +18738,7 @@ let fd = class {
18738
18738
  }
18739
18739
  };
18740
18740
  const Ny = (t, r) => t === r || t.length === r.length && t.every((e, n) => !ji(e, r[n]));
18741
- class Dy extends fd {
18741
+ class Dy extends md {
18742
18742
  constructor(r, e, n, i = !1) {
18743
18743
  super(r, {
18744
18744
  ...n,
@@ -18960,10 +18960,10 @@ const cs = (t) => Array.isArray(Ma[t]) ? Ma[t] : [Ma[t]], Zy = (t, r) => cs(t).f
18960
18960
  const r = (n) => Object.fromEntries(Object.entries(n).filter(([i, a]) => a != null));
18961
18961
  let e = {};
18962
18962
  return Object.keys(t).forEach((n) => {
18963
- const i = md(n);
18963
+ const i = gd(n);
18964
18964
  e[i] = t[n];
18965
18965
  }), e = r(e), e = Zs(e), e;
18966
- }, md = (t) => {
18966
+ }, gd = (t) => {
18967
18967
  const r = t.replace(/^(Uxeng)/, "");
18968
18968
  return r.charAt(0).toLowerCase() + r.slice(1);
18969
18969
  };
@@ -18973,7 +18973,7 @@ function Zs(t) {
18973
18973
  t.hasOwnProperty(e) && (typeof t[e] == "object" ? r[e] = Zs(t[e]) : R2(r, e, t[e]));
18974
18974
  return r;
18975
18975
  }
18976
- function gd(t, r) {
18976
+ function vd(t, r) {
18977
18977
  return function() {
18978
18978
  return t.apply(r, arguments);
18979
18979
  };
@@ -18985,12 +18985,12 @@ const { toString: Qy } = Object.prototype, { getPrototypeOf: Ys } = Object, Qi =
18985
18985
  function eb(t) {
18986
18986
  return t !== null && !pr(t) && t.constructor !== null && !pr(t.constructor) && Ue(t.constructor.isBuffer) && t.constructor.isBuffer(t);
18987
18987
  }
18988
- const vd = ct("ArrayBuffer");
18988
+ const yd = ct("ArrayBuffer");
18989
18989
  function tb(t) {
18990
18990
  let r;
18991
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && vd(t.buffer), r;
18991
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && yd(t.buffer), r;
18992
18992
  }
18993
- const nb = ea("string"), Ue = ea("function"), yd = ea("number"), ta = (t) => t !== null && typeof t == "object", rb = (t) => t === !0 || t === !1, Xr = (t) => {
18993
+ const nb = ea("string"), Ue = ea("function"), bd = ea("number"), ta = (t) => t !== null && typeof t == "object", rb = (t) => t === !0 || t === !1, Xr = (t) => {
18994
18994
  if (Qi(t) !== "object")
18995
18995
  return !1;
18996
18996
  const r = Ys(t);
@@ -19014,7 +19014,7 @@ function Ar(t, r, { allOwnKeys: e = !1 } = {}) {
19014
19014
  o = a[n], r.call(null, t[o], o, t);
19015
19015
  }
19016
19016
  }
19017
- function bd(t, r) {
19017
+ function wd(t, r) {
19018
19018
  r = r.toLowerCase();
19019
19019
  const e = Object.keys(t);
19020
19020
  let n = e.length, i;
@@ -19023,10 +19023,10 @@ function bd(t, r) {
19023
19023
  return i;
19024
19024
  return null;
19025
19025
  }
19026
- const wd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, kd = (t) => !pr(t) && t !== wd;
19026
+ const kd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Sd = (t) => !pr(t) && t !== kd;
19027
19027
  function us() {
19028
- const { caseless: t } = kd(this) && this || {}, r = {}, e = (n, i) => {
19029
- const a = t && bd(r, i) || i;
19028
+ const { caseless: t } = Sd(this) && this || {}, r = {}, e = (n, i) => {
19029
+ const a = t && wd(r, i) || i;
19030
19030
  Xr(r[a]) && Xr(n) ? r[a] = us(r[a], n) : Xr(n) ? r[a] = us({}, n) : Tn(n) ? r[a] = n.slice() : r[a] = n;
19031
19031
  };
19032
19032
  for (let n = 0, i = arguments.length; n < i; n++)
@@ -19034,7 +19034,7 @@ function us() {
19034
19034
  return r;
19035
19035
  }
19036
19036
  const hb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
19037
- e && Ue(i) ? t[a] = gd(i, e) : t[a] = i;
19037
+ e && Ue(i) ? t[a] = vd(i, e) : t[a] = i;
19038
19038
  }, { allOwnKeys: n }), t), pb = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), fb = (t, r, e, n) => {
19039
19039
  t.prototype = Object.create(r.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
19040
19040
  value: r.prototype
@@ -19057,7 +19057,7 @@ const hb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
19057
19057
  if (!t) return null;
19058
19058
  if (Tn(t)) return t;
19059
19059
  let r = t.length;
19060
- if (!yd(r)) return null;
19060
+ if (!bd(r)) return null;
19061
19061
  const e = new Array(r);
19062
19062
  for (; r-- > 0; )
19063
19063
  e[r] = t[r];
@@ -19080,14 +19080,14 @@ const hb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
19080
19080
  function(e, n, i) {
19081
19081
  return n.toUpperCase() + i;
19082
19082
  }
19083
- ), gc = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), _b = ct("RegExp"), Sd = (t, r) => {
19083
+ ), gc = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), _b = ct("RegExp"), _d = (t, r) => {
19084
19084
  const e = Object.getOwnPropertyDescriptors(t), n = {};
19085
19085
  Ar(e, (i, a) => {
19086
19086
  let s;
19087
19087
  (s = r(i, a, t)) !== !1 && (n[a] = s || i);
19088
19088
  }), Object.defineProperties(t, n);
19089
19089
  }, Cb = (t) => {
19090
- Sd(t, (r, e) => {
19090
+ _d(t, (r, e) => {
19091
19091
  if (Ue(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
19092
19092
  return !1;
19093
19093
  const n = t[e];
@@ -19109,11 +19109,11 @@ const hb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
19109
19109
  };
19110
19110
  return Tn(t) ? n(t) : n(String(t).split(r)), e;
19111
19111
  }, Eb = () => {
19112
- }, Ab = (t, r) => (t = +t, Number.isFinite(t) ? t : r), Pa = "abcdefghijklmnopqrstuvwxyz", vc = "0123456789", _d = {
19112
+ }, Ab = (t, r) => (t = +t, Number.isFinite(t) ? t : r), Pa = "abcdefghijklmnopqrstuvwxyz", vc = "0123456789", Cd = {
19113
19113
  DIGIT: vc,
19114
19114
  ALPHA: Pa,
19115
19115
  ALPHA_DIGIT: Pa + Pa.toUpperCase() + vc
19116
- }, Tb = (t = 16, r = _d.ALPHA_DIGIT) => {
19116
+ }, Tb = (t = 16, r = Cd.ALPHA_DIGIT) => {
19117
19117
  let e = "";
19118
19118
  const { length: n } = r;
19119
19119
  for (; t--; )
@@ -19142,12 +19142,12 @@ const Ob = (t) => {
19142
19142
  return e(t, 0);
19143
19143
  }, Lb = ct("AsyncFunction"), Ib = (t) => t && (ta(t) || Ue(t)) && Ue(t.then) && Ue(t.catch), E = {
19144
19144
  isArray: Tn,
19145
- isArrayBuffer: vd,
19145
+ isArrayBuffer: yd,
19146
19146
  isBuffer: eb,
19147
19147
  isFormData: cb,
19148
19148
  isArrayBufferView: tb,
19149
19149
  isString: nb,
19150
- isNumber: yd,
19150
+ isNumber: bd,
19151
19151
  isBoolean: rb,
19152
19152
  isObject: ta,
19153
19153
  isPlainObject: Xr,
@@ -19178,16 +19178,16 @@ const Ob = (t) => {
19178
19178
  hasOwnProperty: gc,
19179
19179
  hasOwnProp: gc,
19180
19180
  // an alias to avoid ESLint no-prototype-builtins detection
19181
- reduceDescriptors: Sd,
19181
+ reduceDescriptors: _d,
19182
19182
  freezeMethods: Cb,
19183
19183
  toObjectSet: xb,
19184
19184
  toCamelCase: Sb,
19185
19185
  noop: Eb,
19186
19186
  toFiniteNumber: Ab,
19187
- findKey: bd,
19188
- global: wd,
19189
- isContextDefined: kd,
19190
- ALPHABET: _d,
19187
+ findKey: wd,
19188
+ global: kd,
19189
+ isContextDefined: Sd,
19190
+ ALPHABET: Cd,
19191
19191
  generateString: Tb,
19192
19192
  isSpecCompliantForm: Rb,
19193
19193
  toJSONObject: Ob,
@@ -19218,7 +19218,7 @@ E.inherits(ie, Error, {
19218
19218
  };
19219
19219
  }
19220
19220
  });
19221
- const Cd = ie.prototype, xd = {};
19221
+ const xd = ie.prototype, Ed = {};
19222
19222
  [
19223
19223
  "ERR_BAD_OPTION_VALUE",
19224
19224
  "ERR_BAD_OPTION",
@@ -19234,12 +19234,12 @@ const Cd = ie.prototype, xd = {};
19234
19234
  "ERR_INVALID_URL"
19235
19235
  // eslint-disable-next-line func-names
19236
19236
  ].forEach((t) => {
19237
- xd[t] = { value: t };
19237
+ Ed[t] = { value: t };
19238
19238
  });
19239
- Object.defineProperties(ie, xd);
19240
- Object.defineProperty(Cd, "isAxiosError", { value: !0 });
19239
+ Object.defineProperties(ie, Ed);
19240
+ Object.defineProperty(xd, "isAxiosError", { value: !0 });
19241
19241
  ie.from = (t, r, e, n, i, a) => {
19242
- const s = Object.create(Cd);
19242
+ const s = Object.create(xd);
19243
19243
  return E.toFlatObject(t, s, function(l) {
19244
19244
  return l !== Error.prototype;
19245
19245
  }, (o) => o !== "isAxiosError"), ie.call(s, t.message, r, e, n, i), s.cause = t, s.name = t.name, a && Object.assign(s, a), s;
@@ -19248,12 +19248,12 @@ const Mb = null;
19248
19248
  function ds(t) {
19249
19249
  return E.isPlainObject(t) || E.isArray(t);
19250
19250
  }
19251
- function Ed(t) {
19251
+ function Ad(t) {
19252
19252
  return E.endsWith(t, "[]") ? t.slice(0, -2) : t;
19253
19253
  }
19254
19254
  function yc(t, r, e) {
19255
19255
  return t ? t.concat(r).map(function(i, a) {
19256
- return i = Ed(i), !e && a ? "[" + i + "]" : i;
19256
+ return i = Ad(i), !e && a ? "[" + i + "]" : i;
19257
19257
  }).join(e ? "." : "") : r;
19258
19258
  }
19259
19259
  function Pb(t) {
@@ -19289,7 +19289,7 @@ function na(t, r, e) {
19289
19289
  if (E.endsWith(g, "{}"))
19290
19290
  g = n ? g : g.slice(0, -2), f = JSON.stringify(f);
19291
19291
  else if (E.isArray(f) && Pb(f) || (E.isFileList(f) || E.endsWith(g, "[]")) && (v = E.toArray(f)))
19292
- return g = Ed(g), v.forEach(function(S, $) {
19292
+ return g = Ad(g), v.forEach(function(S, $) {
19293
19293
  !(E.isUndefined(S) || S === null) && r.append(
19294
19294
  // eslint-disable-next-line no-nested-ternary
19295
19295
  s === !0 ? yc([g], $, a) : s === null ? g : g + "[]",
@@ -19340,11 +19340,11 @@ function bc(t) {
19340
19340
  function Xs(t, r) {
19341
19341
  this._pairs = [], t && na(t, this, r);
19342
19342
  }
19343
- const Ad = Xs.prototype;
19344
- Ad.append = function(r, e) {
19343
+ const Td = Xs.prototype;
19344
+ Td.append = function(r, e) {
19345
19345
  this._pairs.push([r, e]);
19346
19346
  };
19347
- Ad.toString = function(r) {
19347
+ Td.toString = function(r) {
19348
19348
  const e = r ? function(n) {
19349
19349
  return r.call(this, n, bc);
19350
19350
  } : bc;
@@ -19355,7 +19355,7 @@ Ad.toString = function(r) {
19355
19355
  function $b(t) {
19356
19356
  return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
19357
19357
  }
19358
- function Td(t, r, e) {
19358
+ function Rd(t, r, e) {
19359
19359
  if (!r)
19360
19360
  return t;
19361
19361
  const n = e && e.encode || $b, i = e && e.serialize;
@@ -19420,7 +19420,7 @@ class wc {
19420
19420
  });
19421
19421
  }
19422
19422
  }
19423
- const Rd = {
19423
+ const Od = {
19424
19424
  silentJSONParsing: !0,
19425
19425
  forcedJSONParsing: !0,
19426
19426
  clarifyTimeoutError: !1
@@ -19432,10 +19432,10 @@ const Rd = {
19432
19432
  Blob: Bb
19433
19433
  },
19434
19434
  protocols: ["http", "https", "file", "blob", "url", "data"]
19435
- }, Od = typeof window < "u" && typeof document < "u", Hb = ((t) => Od && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), Ub = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
19435
+ }, Ld = typeof window < "u" && typeof document < "u", Hb = ((t) => Ld && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), Ub = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
19436
19436
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", zb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19437
19437
  __proto__: null,
19438
- hasBrowserEnv: Od,
19438
+ hasBrowserEnv: Ld,
19439
19439
  hasStandardBrowserEnv: Hb,
19440
19440
  hasStandardBrowserWebWorkerEnv: Ub
19441
19441
  }, Symbol.toStringTag, { value: "Module" })), rt = {
@@ -19461,7 +19461,7 @@ function Wb(t) {
19461
19461
  a = e[n], r[a] = t[a];
19462
19462
  return r;
19463
19463
  }
19464
- function Ld(t) {
19464
+ function Id(t) {
19465
19465
  function r(e, n, i, a) {
19466
19466
  let s = e[a++];
19467
19467
  if (s === "__proto__") return !0;
@@ -19487,12 +19487,12 @@ function Gb(t, r, e) {
19487
19487
  return (e || JSON.stringify)(t);
19488
19488
  }
19489
19489
  const Tr = {
19490
- transitional: Rd,
19490
+ transitional: Od,
19491
19491
  adapter: ["xhr", "http"],
19492
19492
  transformRequest: [function(r, e) {
19493
19493
  const n = e.getContentType() || "", i = n.indexOf("application/json") > -1, a = E.isObject(r);
19494
19494
  if (a && E.isHTMLForm(r) && (r = new FormData(r)), E.isFormData(r))
19495
- return i ? JSON.stringify(Ld(r)) : r;
19495
+ return i ? JSON.stringify(Id(r)) : r;
19496
19496
  if (E.isArrayBuffer(r) || E.isBuffer(r) || E.isStream(r) || E.isFile(r) || E.isBlob(r))
19497
19497
  return r;
19498
19498
  if (E.isArrayBufferView(r))
@@ -19744,7 +19744,7 @@ function $a(t, r) {
19744
19744
  a = o.call(e, a, i.normalize(), r ? r.status : void 0);
19745
19745
  }), i.normalize(), a;
19746
19746
  }
19747
- function Id(t) {
19747
+ function Md(t) {
19748
19748
  return !!(t && t.__CANCEL__);
19749
19749
  }
19750
19750
  function Rr(t, r, e) {
@@ -19796,7 +19796,7 @@ function n3(t) {
19796
19796
  function r3(t, r) {
19797
19797
  return r ? t.replace(/\/?\/$/, "") + "/" + r.replace(/^\/+/, "") : t;
19798
19798
  }
19799
- function Md(t, r) {
19799
+ function Pd(t, r) {
19800
19800
  return t && !n3(r) ? r3(t, r) : r;
19801
19801
  }
19802
19802
  const i3 = rt.hasStandardBrowserEnv ? (
@@ -19891,8 +19891,8 @@ const o3 = typeof XMLHttpRequest < "u", l3 = o3 && function(t) {
19891
19891
  const g = t.auth.username || "", y = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
19892
19892
  a.set("Authorization", "Basic " + btoa(g + ":" + y));
19893
19893
  }
19894
- const h = Md(t.baseURL, t.url);
19895
- d.open(t.method.toUpperCase(), Td(h, t.params, t.paramsSerializer), !0), d.timeout = t.timeout;
19894
+ const h = Pd(t.baseURL, t.url);
19895
+ d.open(t.method.toUpperCase(), Rd(h, t.params, t.paramsSerializer), !0), d.timeout = t.timeout;
19896
19896
  function p() {
19897
19897
  if (!d)
19898
19898
  return;
@@ -19920,7 +19920,7 @@ const o3 = typeof XMLHttpRequest < "u", l3 = o3 && function(t) {
19920
19920
  n(new ie("Network Error", ie.ERR_NETWORK, t, d)), d = null;
19921
19921
  }, d.ontimeout = function() {
19922
19922
  let y = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
19923
- const v = t.transitional || Rd;
19923
+ const v = t.transitional || Od;
19924
19924
  t.timeoutErrorMessage && (y = t.timeoutErrorMessage), n(new ie(
19925
19925
  y,
19926
19926
  v.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED,
@@ -19956,7 +19956,7 @@ E.forEach(hs, (t, r) => {
19956
19956
  Object.defineProperty(t, "adapterName", { value: r });
19957
19957
  }
19958
19958
  });
19959
- const _c = (t) => `- ${t}`, c3 = (t) => E.isFunction(t) || t === null || t === !1, Pd = {
19959
+ const _c = (t) => `- ${t}`, c3 = (t) => E.isFunction(t) || t === null || t === !1, Fd = {
19960
19960
  getAdapter: (t) => {
19961
19961
  t = E.isArray(t) ? t : [t];
19962
19962
  const { length: r } = t;
@@ -19995,14 +19995,14 @@ function Cc(t) {
19995
19995
  return Na(t), t.headers = ze.from(t.headers), t.data = $a.call(
19996
19996
  t,
19997
19997
  t.transformRequest
19998
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Pd.getAdapter(t.adapter || Tr.adapter)(t).then(function(n) {
19998
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Fd.getAdapter(t.adapter || Tr.adapter)(t).then(function(n) {
19999
19999
  return Na(t), n.data = $a.call(
20000
20000
  t,
20001
20001
  t.transformResponse,
20002
20002
  n
20003
20003
  ), n.headers = ze.from(n.headers), n;
20004
20004
  }, function(n) {
20005
- return Id(n) || (Na(t), n && n.response && (n.response.data = $a.call(
20005
+ return Md(n) || (Na(t), n && n.response && (n.response.data = $a.call(
20006
20006
  t,
20007
20007
  t.transformResponse,
20008
20008
  n.response
@@ -20074,7 +20074,7 @@ function bn(t, r) {
20074
20074
  E.isUndefined(h) && d !== o || (e[u] = h);
20075
20075
  }), e;
20076
20076
  }
20077
- const Fd = "1.6.8", Qs = {};
20077
+ const $d = "1.6.8", Qs = {};
20078
20078
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, r) => {
20079
20079
  Qs[t] = function(n) {
20080
20080
  return typeof n === t || "a" + (r < 1 ? "n " : " ") + t;
@@ -20083,7 +20083,7 @@ const Fd = "1.6.8", Qs = {};
20083
20083
  const Ec = {};
20084
20084
  Qs.transitional = function(r, e, n) {
20085
20085
  function i(a, s) {
20086
- return "[Axios v" + Fd + "] Transitional option '" + a + "'" + s + (n ? ". " + n : "");
20086
+ return "[Axios v" + $d + "] Transitional option '" + a + "'" + s + (n ? ". " + n : "");
20087
20087
  }
20088
20088
  return (a, s, o) => {
20089
20089
  if (r === !1)
@@ -20210,8 +20210,8 @@ class Dt {
20210
20210
  }
20211
20211
  getUri(r) {
20212
20212
  r = bn(this.defaults, r);
20213
- const e = Md(r.baseURL, r.url);
20214
- return Td(e, r.params, r.paramsSerializer);
20213
+ const e = Pd(r.baseURL, r.url);
20214
+ return Rd(e, r.params, r.paramsSerializer);
20215
20215
  }
20216
20216
  }
20217
20217
  E.forEach(["delete", "get", "head", "options"], function(r) {
@@ -20381,18 +20381,18 @@ const fs = {
20381
20381
  Object.entries(fs).forEach(([t, r]) => {
20382
20382
  fs[r] = t;
20383
20383
  });
20384
- function $d(t) {
20385
- const r = new Dt(t), e = gd(Dt.prototype.request, r);
20384
+ function Nd(t) {
20385
+ const r = new Dt(t), e = vd(Dt.prototype.request, r);
20386
20386
  return E.extend(e, Dt.prototype, r, { allOwnKeys: !0 }), E.extend(e, r, null, { allOwnKeys: !0 }), e.create = function(i) {
20387
- return $d(bn(t, i));
20387
+ return Nd(bn(t, i));
20388
20388
  }, e;
20389
20389
  }
20390
- const H = $d(Tr);
20390
+ const H = Nd(Tr);
20391
20391
  H.Axios = Dt;
20392
20392
  H.CanceledError = Rr;
20393
20393
  H.CancelToken = eo;
20394
- H.isCancel = Id;
20395
- H.VERSION = Fd;
20394
+ H.isCancel = Md;
20395
+ H.VERSION = $d;
20396
20396
  H.toFormData = na;
20397
20397
  H.AxiosError = ie;
20398
20398
  H.Cancel = H.CanceledError;
@@ -20403,8 +20403,8 @@ H.spread = d3;
20403
20403
  H.isAxiosError = h3;
20404
20404
  H.mergeConfig = bn;
20405
20405
  H.AxiosHeaders = ze;
20406
- H.formToJSON = (t) => Ld(E.isHTMLForm(t) ? new FormData(t) : t);
20407
- H.getAdapter = Pd.getAdapter;
20406
+ H.formToJSON = (t) => Id(E.isHTMLForm(t) ? new FormData(t) : t);
20407
+ H.getAdapter = Fd.getAdapter;
20408
20408
  H.HttpStatusCode = fs;
20409
20409
  H.default = H;
20410
20410
  class to {
@@ -20551,7 +20551,7 @@ class p3 {
20551
20551
  if (i[e]) {
20552
20552
  let a = await i[e](), s = T2(
20553
20553
  a,
20554
- n.map((o) => md(o))
20554
+ n.map((o) => gd(o))
20555
20555
  );
20556
20556
  return s = Zs(s), s;
20557
20557
  } else
@@ -20605,9 +20605,9 @@ let me = oo;
20605
20605
  * Copyright 2020 Google LLC
20606
20606
  * SPDX-License-Identifier: BSD-3-Clause
20607
20607
  */
20608
- const Nd = Symbol.for(""), v3 = (t) => {
20609
- if ((t == null ? void 0 : t.r) === Nd) return t == null ? void 0 : t._$litStatic$;
20610
- }, Ac = (t) => ({ _$litStatic$: t, r: Nd }), Tc = /* @__PURE__ */ new Map(), y3 = (t) => (r, ...e) => {
20608
+ const Dd = Symbol.for(""), v3 = (t) => {
20609
+ if ((t == null ? void 0 : t.r) === Dd) return t == null ? void 0 : t._$litStatic$;
20610
+ }, Ac = (t) => ({ _$litStatic$: t, r: Dd }), Tc = /* @__PURE__ */ new Map(), y3 = (t) => (r, ...e) => {
20611
20611
  const n = e.length;
20612
20612
  let i, a;
20613
20613
  const s = [], o = [];
@@ -20687,7 +20687,7 @@ const k3 = Te`
20687
20687
  height: 100%;
20688
20688
  }
20689
20689
  `;
20690
- var _3 = Object.defineProperty, Dd = (t, r, e, n) => {
20690
+ var _3 = Object.defineProperty, Bd = (t, r, e, n) => {
20691
20691
  for (var i = void 0, a = t.length - 1, s; a >= 0; a--)
20692
20692
  (s = t[a]) && (i = s(r, e, i) || i);
20693
20693
  return i && _3(r, e, i), i;
@@ -20699,10 +20699,10 @@ const lo = class lo extends me {
20699
20699
  };
20700
20700
  lo.styles = [me.styles, S3];
20701
20701
  let fr = lo;
20702
- Dd([
20702
+ Bd([
20703
20703
  J({ type: String, reflect: !0 })
20704
20704
  ], fr.prototype, "size");
20705
- Dd([
20705
+ Bd([
20706
20706
  J({ type: String })
20707
20707
  ], fr.prototype, "viewBox");
20708
20708
  function ut(t, r) {
@@ -20779,7 +20779,7 @@ const co = class co extends me {
20779
20779
  this.onClick("Click event fired!");
20780
20780
  }
20781
20781
  renderElement() {
20782
- const r = !!this.href, e = this.disabled, n = ym({
20782
+ const r = !!this.href, e = this.disabled, n = Nu({
20783
20783
  button: this.type === "button",
20784
20784
  "has-content": this._hasDefaultSlot
20785
20785
  }), i = this.loading && this.loadingText ? this.loadingText : an`<slot></slot>`, a = this.icon ? an`<${Ac(`lr-icon-${this.icon}`)} class="icon" size=${this.size}></${Ac(
@@ -20808,7 +20808,7 @@ const co = class co extends me {
20808
20808
  </button>`;
20809
20809
  }
20810
20810
  };
20811
- co.styles = [me.styles, fm];
20811
+ co.styles = [me.styles, mm];
20812
20812
  let we = co;
20813
20813
  Ce([
20814
20814
  J({ type: String })
@@ -20854,7 +20854,7 @@ let xt = class extends we {
20854
20854
  super(...arguments), this.variant = "primary", this.reversed = !1;
20855
20855
  }
20856
20856
  };
20857
- xt.styles = [we.styles, mm];
20857
+ xt.styles = [we.styles, gm];
20858
20858
  Ce([
20859
20859
  J({ type: String })
20860
20860
  ], xt.prototype, "variant", 2);
@@ -21013,7 +21013,7 @@ const Qn = (t, r) => {
21013
21013
  if ((r = t._$AM) === void 0) break;
21014
21014
  e = r._$AN, e.delete(t), t = r;
21015
21015
  } while ((e == null ? void 0 : e.size) === 0);
21016
- }, Bd = (t) => {
21016
+ }, jd = (t) => {
21017
21017
  for (let r; r = t._$AM; t = r) {
21018
21018
  let e = r._$AN;
21019
21019
  if (e === void 0) r._$AN = e = /* @__PURE__ */ new Set();
@@ -21022,7 +21022,7 @@ const Qn = (t, r) => {
21022
21022
  }
21023
21023
  };
21024
21024
  function F3(t) {
21025
- this._$AN !== void 0 ? (Si(this), this._$AM = t, Bd(this)) : this._$AM = t;
21025
+ this._$AN !== void 0 ? (Si(this), this._$AM = t, jd(this)) : this._$AM = t;
21026
21026
  }
21027
21027
  function $3(t, r = !1, e = 0) {
21028
21028
  const n = this._$AH, i = this._$AN;
@@ -21033,12 +21033,12 @@ function $3(t, r = !1, e = 0) {
21033
21033
  const N3 = (t) => {
21034
21034
  t.type == Ui.CHILD && (t._$AP ?? (t._$AP = $3), t._$AQ ?? (t._$AQ = F3));
21035
21035
  };
21036
- let jd = class extends Fs {
21036
+ let Hd = class extends Fs {
21037
21037
  constructor() {
21038
21038
  super(...arguments), this._$AN = void 0;
21039
21039
  }
21040
21040
  _$AT(r, e, n) {
21041
- super._$AT(r, e, n), Bd(this), this.isConnected = r._$AU;
21041
+ super._$AT(r, e, n), jd(this), this.isConnected = r._$AU;
21042
21042
  }
21043
21043
  _$AO(r, e = !0) {
21044
21044
  var n, i;
@@ -21056,7 +21056,7 @@ let jd = class extends Fs {
21056
21056
  reconnected() {
21057
21057
  }
21058
21058
  };
21059
- const Da = /* @__PURE__ */ new WeakMap(), D3 = zi(class extends jd {
21059
+ const Da = /* @__PURE__ */ new WeakMap(), D3 = zi(class extends Hd {
21060
21060
  render(t) {
21061
21061
  return se;
21062
21062
  }
@@ -21591,7 +21591,7 @@ const Ba = /* @__PURE__ */ new Map(), Lc = /* @__PURE__ */ new WeakSet(), Ic = (
21591
21591
  const n = Nc(t, r);
21592
21592
  return { value: n, overrideFrom: e, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
21593
21593
  } }, H3 = { duration: 333, easing: "ease-in-out" }, U3 = ["left", "top", "width", "height", "opacity", "color", "background"], Dc = /* @__PURE__ */ new WeakMap();
21594
- class z3 extends jd {
21594
+ class z3 extends Hd {
21595
21595
  constructor(r) {
21596
21596
  if (super(r), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, r.type === Ui.CHILD) throw Error("The `animate` directive must be used in attribute position.");
21597
21597
  this.createFinished();
@@ -21819,9 +21819,9 @@ class q3 extends p3 {
21819
21819
  function V3() {
21820
21820
  return `${window.location.pathname}-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
21821
21821
  }
21822
- var Hd = (t) => {
21822
+ var Ud = (t) => {
21823
21823
  throw TypeError(t);
21824
- }, Ud = (t, r, e) => r.has(t) || Hd("Cannot " + e), Ha = (t, r, e) => (Ud(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Ua = (t, r, e) => r.has(t) ? Hd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), za = (t, r, e, n) => (Ud(t, r, "write to private field"), r.set(t, e), e), ei, ti, ni;
21824
+ }, zd = (t, r, e) => r.has(t) || Ud("Cannot " + e), Ha = (t, r, e) => (zd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Ua = (t, r, e) => r.has(t) ? Ud("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), za = (t, r, e, n) => (zd(t, r, "write to private field"), r.set(t, e), e), ei, ti, ni;
21825
21825
  class W3 {
21826
21826
  constructor(r, e) {
21827
21827
  Ua(this, ei, V3()), Ua(this, ti, null), Ua(this, ni, null), this.enableSending = !0, this.host = r, this.host.addController(this), this.channel = new BroadcastChannel(e), this.registerOnMessageHandler();
@@ -21908,7 +21908,7 @@ const J3 = zi(vs);
21908
21908
  * Copyright 2021 Google LLC
21909
21909
  * SPDX-License-Identifier: BSD-3-Clause
21910
21910
  */
21911
- let zd = class extends Event {
21911
+ let qd = class extends Event {
21912
21912
  constructor(r, e, n) {
21913
21913
  super("context-request", { bubbles: !0, composed: !0 }), this.context = r, this.callback = e, this.subscribe = n ?? !1;
21914
21914
  }
@@ -21940,7 +21940,7 @@ let jc = class {
21940
21940
  this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
21941
21941
  }
21942
21942
  dispatchRequest() {
21943
- this.host.dispatchEvent(new zd(this.context, this.t, this.subscribe));
21943
+ this.host.dispatchEvent(new qd(this.context, this.t, this.subscribe));
21944
21944
  }
21945
21945
  };
21946
21946
  /**
@@ -21996,7 +21996,7 @@ class Hc extends Z3 {
21996
21996
  const o = s.composedPath()[0];
21997
21997
  if (s.context !== this.context || o === this.host) return;
21998
21998
  const l = /* @__PURE__ */ new Set();
21999
- for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new zd(this.context, c, !0)));
21999
+ for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new qd(this.context, c, !0)));
22000
22000
  s.stopPropagation();
22001
22001
  }, this.host = r, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (a = (i = this.host).addController) == null || a.call(i, this);
22002
22002
  }
@@ -22098,7 +22098,7 @@ const Q3 = Te``, ew = Te`
22098
22098
  --padding: 8px 12px;
22099
22099
  }
22100
22100
  `;
22101
- var tw = Object.defineProperty, nw = Object.getOwnPropertyDescriptor, qd = (t, r, e, n) => {
22101
+ var tw = Object.defineProperty, nw = Object.getOwnPropertyDescriptor, Vd = (t, r, e, n) => {
22102
22102
  for (var i = n > 1 ? void 0 : n ? nw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
22103
22103
  (s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
22104
22104
  return n && i && tw(r, e, i), i;
@@ -22109,10 +22109,10 @@ let Sn = class extends we {
22109
22109
  }
22110
22110
  };
22111
22111
  Sn.styles = [we.styles, ew];
22112
- qd([
22112
+ Vd([
22113
22113
  J({ type: String, reflect: !0 })
22114
22114
  ], Sn.prototype, "variant", 2);
22115
- Sn = qd([
22115
+ Sn = Vd([
22116
22116
  De("lr-pill")
22117
22117
  ], Sn);
22118
22118
  const ra = Symbol("lr-chatbot-message-context");
@@ -22309,18 +22309,18 @@ const pw = Te`
22309
22309
  opacity: 0.3;
22310
22310
  }
22311
22311
 
22312
- :host(:not([disabled])) lr-icon-star-filled {
22312
+ :host(:not(.disabled)) lr-icon-star-filled {
22313
22313
  cursor: pointer;
22314
22314
  transition: opacity 0.2s cubic-bezier(0.64, 0.57, 0.67, 1.53),
22315
22315
  transform 0.2s cubic-bezier(0.64, 0.57, 0.67, 1.53);
22316
22316
  }
22317
22317
 
22318
- :host(:not([disabled]):hover) lr-icon-star-filled {
22318
+ :host(:not(.disabled):hover) lr-icon-star-filled {
22319
22319
  transform: scale(1.1);
22320
22320
  opacity: 0.6;
22321
22321
  }
22322
22322
 
22323
- :host(:not([disabled]):active) lr-icon-star-filled {
22323
+ :host(:not(.disabled):active) lr-icon-star-filled {
22324
22324
  opacity: 0.7;
22325
22325
  }
22326
22326
 
@@ -22374,16 +22374,19 @@ let Et = class extends me {
22374
22374
  this.value = t;
22375
22375
  }
22376
22376
  renderElement() {
22377
+ const t = Nu({
22378
+ disabled: this.value > 0
22379
+ });
22377
22380
  return be`
22378
22381
  ${[...Array(5)].map(
22379
- (t, r) => be`
22382
+ (r, e) => be`
22380
22383
  <lr-rating-element
22381
22384
  size=${this.size}
22382
- .active=${r + 1 <= this.value || this.value === 0 && r + 1 <= (this.hoveredRating ?? this.value)}
22383
- @click="${() => this.setRating(r + 1)}"
22384
- ?disabled="${this.value > 0}"
22385
+ class="${t}"
22386
+ .active=${e + 1 <= this.value || this.value === 0 && e + 1 <= (this.hoveredRating ?? this.value)}
22387
+ @click="${() => this.setRating(e + 1)}"
22385
22388
  @mouseover="${() => {
22386
- this.hoveredRating = r + 1;
22389
+ this.hoveredRating = e + 1;
22387
22390
  }}"
22388
22391
  @mouseout="${() => {
22389
22392
  this.hoveredRating = null;
@@ -22422,7 +22425,7 @@ let Cn = class extends me {
22422
22425
  }
22423
22426
  async handleSubmit(t) {
22424
22427
  var r, e;
22425
- if (t.preventDefault(), t.stopPropagation(), !(this.rating > 0)) {
22428
+ if (t.preventDefault(), !(this.rating > 0)) {
22426
22429
  if (!((r = this.messageContext) != null && r.apiUrl) || !((e = this.messageContext) != null && e.conversationId))
22427
22430
  throw Error("Missing information to call API on message rating");
22428
22431
  try {
@@ -22541,13 +22544,13 @@ const $n = (t) => {
22541
22544
  ${r}
22542
22545
  </lr-chatbot-message>`;
22543
22546
  };
22544
- var Sw = Object.defineProperty, _w = Object.getOwnPropertyDescriptor, Vd = (t) => {
22547
+ var Sw = Object.defineProperty, _w = Object.getOwnPropertyDescriptor, Wd = (t) => {
22545
22548
  throw TypeError(t);
22546
22549
  }, Rn = (t, r, e, n) => {
22547
22550
  for (var i = n > 1 ? void 0 : n ? _w(r, e) : r, a = t.length - 1, s; a >= 0; a--)
22548
22551
  (s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
22549
22552
  return n && i && Sw(r, e, i), i;
22550
- }, Wd = (t, r, e) => r.has(t) || Vd("Cannot " + e), Nn = (t, r, e) => (Wd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Dn = (t, r, e) => r.has(t) ? Vd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), Bn = (t, r, e, n) => (Wd(t, r, "write to private field"), r.set(t, e), e), ri, ii, ai, si, oi;
22553
+ }, Gd = (t, r, e) => r.has(t) || Wd("Cannot " + e), Nn = (t, r, e) => (Gd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Dn = (t, r, e) => r.has(t) ? Wd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), Bn = (t, r, e, n) => (Gd(t, r, "write to private field"), r.set(t, e), e), ri, ii, ai, si, oi;
22551
22554
  const Cw = "lr.chatbot.broadcast_channel." + document.location.hostname, Ur = "lr.chatbot.conversation_id", jn = "lr.chatbot.conversation_state";
22552
22555
  let At = class extends me {
22553
22556
  constructor() {
@@ -22590,7 +22593,7 @@ let At = class extends me {
22590
22593
  Bn(this, oi, t);
22591
22594
  }
22592
22595
  getVersion() {
22593
- return "LR Chatbot - 0.19.12";
22596
+ return "LR Chatbot - 0.19.13";
22594
22597
  }
22595
22598
  async connectedCallback() {
22596
22599
  super.connectedCallback(), this._conversationHistoryTask.run();
@@ -22629,7 +22632,7 @@ let At = class extends me {
22629
22632
  return localStorage.getItem(Ur);
22630
22633
  }
22631
22634
  createConversationHistoryTask() {
22632
- return new fd(this, {
22635
+ return new md(this, {
22633
22636
  autoRun: !1,
22634
22637
  task: async () => await this.tryGetConversationHistory(),
22635
22638
  args: () => []