@connorpham/live-chat-widget 17.0.9 → 17.0.10

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.
@@ -1,21 +1,21 @@
1
- var o0 = Object.defineProperty;
2
- var d0 = (u, D, f) => D in u ? o0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
- var lD = (u, D, f) => d0(u, typeof D != "symbol" ? D + "" : D, f);
4
- import sf, { createContext as qu, useRef as gu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as C0 } from "react";
1
+ var i0 = Object.defineProperty;
2
+ var o0 = (u, D, f) => D in u ? i0(u, D, { enumerable: !0, configurable: !0, writable: !0, value: f }) : u[D] = f;
3
+ var lD = (u, D, f) => o0(u, typeof D != "symbol" ? D + "" : D, f);
4
+ import af, { createContext as qu, useRef as gu, useEffect as Z, useContext as Hu, useState as U, useCallback as Mu, useMemo as d0 } from "react";
5
5
  var dD = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function Ff(u) {
6
+ function sf(u) {
7
7
  return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
8
8
  }
9
- var WD = { exports: {} }, fD = {};
9
+ var HD = { exports: {} }, fD = {};
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
14
  */
15
- var PD, Of;
16
- function Xf() {
17
- if (Of) return PD;
18
- Of = 1;
15
+ var PD, Nf;
16
+ function Jf() {
17
+ if (Nf) return PD;
18
+ Nf = 1;
19
19
  var u = Object.getOwnPropertySymbols, D = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
20
20
  function e(n) {
21
21
  if (n == null)
@@ -66,11 +66,11 @@ function Xf() {
66
66
  * This source code is licensed under the MIT license found in the
67
67
  * LICENSE file in the root directory of this source tree.
68
68
  */
69
- var Rf;
70
- function c0() {
71
- if (Rf) return fD;
72
- Rf = 1, Xf();
73
- var u = sf, D = 60103;
69
+ var Of;
70
+ function C0() {
71
+ if (Of) return fD;
72
+ Of = 1, Jf();
73
+ var u = af, D = 60103;
74
74
  if (fD.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
75
75
  var f = Symbol.for;
76
76
  D = f("react.element"), fD.Fragment = f("react.fragment");
@@ -85,9 +85,9 @@ function c0() {
85
85
  }
86
86
  return fD.jsx = r, fD.jsxs = r, fD;
87
87
  }
88
- var ID = {}, Pf;
89
- function l0() {
90
- return Pf || (Pf = 1, function(u) {
88
+ var ID = {}, Rf;
89
+ function c0() {
90
+ return Rf || (Rf = 1, function(u) {
91
91
  var D = {};
92
92
  /** @license React v17.0.2
93
93
  * react-jsx-runtime.development.js
@@ -98,7 +98,7 @@ function l0() {
98
98
  * LICENSE file in the root directory of this source tree.
99
99
  */
100
100
  D.NODE_ENV !== "production" && function() {
101
- var f = sf, e = Xf(), t = 60103, n = 60106;
101
+ var f = af, e = Jf(), t = 60103, n = 60106;
102
102
  u.Fragment = 60107;
103
103
  var r = 60108, s = 60114, F = 60109, d = 60110, o = 60112, c = 60113, l = 60120, j = 60115, v = 60116, C = 60121, y = 60122, x = 60117, g = 60129, T = 60131;
104
104
  if (typeof Symbol == "function" && Symbol.for) {
@@ -336,8 +336,8 @@ function l0() {
336
336
  } finally {
337
337
  ru = !1, Cu.current = K, tu(), Error.prepareStackTrace = G;
338
338
  }
339
- var DD = i ? i.displayName || i.name : "", Nf = DD ? Bu(DD) : "";
340
- return typeof i == "function" && ou.set(i, Nf), Nf;
339
+ var DD = i ? i.displayName || i.name : "", Tf = DD ? Bu(DD) : "";
340
+ return typeof i == "function" && ou.set(i, Tf), Tf;
341
341
  }
342
342
  function S(i, b, w) {
343
343
  return Iu(i, !1);
@@ -385,7 +385,7 @@ function l0() {
385
385
  } else
386
386
  mu.setExtraStackFrame(null);
387
387
  }
388
- function K1(i, b, w, $, G) {
388
+ function Y1(i, b, w, $, G) {
389
389
  {
390
390
  var K = Function.call.bind(Object.prototype.hasOwnProperty);
391
391
  for (var Y in i)
@@ -404,13 +404,13 @@ function l0() {
404
404
  }
405
405
  }
406
406
  }
407
- var yf = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, J1 = {
407
+ var _f = q.ReactCurrentOwner, TD = Object.prototype.hasOwnProperty, K1 = {
408
408
  key: !0,
409
409
  ref: !0,
410
410
  __self: !0,
411
411
  __source: !0
412
- }, vf, wf;
413
- function G1(i) {
412
+ }, yf, vf;
413
+ function J1(i) {
414
414
  if (TD.call(i, "ref")) {
415
415
  var b = Object.getOwnPropertyDescriptor(i, "ref").get;
416
416
  if (b && b.isReactWarning)
@@ -418,7 +418,7 @@ function l0() {
418
418
  }
419
419
  return i.ref !== void 0;
420
420
  }
421
- function X1(i) {
421
+ function G1(i) {
422
422
  if (TD.call(i, "key")) {
423
423
  var b = Object.getOwnPropertyDescriptor(i, "key").get;
424
424
  if (b && b.isReactWarning)
@@ -426,13 +426,13 @@ function l0() {
426
426
  }
427
427
  return i.key !== void 0;
428
428
  }
429
- function Z1(i, b) {
430
- typeof i.ref == "string" && yf.current;
429
+ function X1(i, b) {
430
+ typeof i.ref == "string" && _f.current;
431
431
  }
432
- function Q1(i, b) {
432
+ function Z1(i, b) {
433
433
  {
434
434
  var w = function() {
435
- vf || (vf = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
435
+ yf || (yf = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
436
436
  };
437
437
  w.isReactWarning = !0, Object.defineProperty(i, "key", {
438
438
  get: w,
@@ -440,10 +440,10 @@ function l0() {
440
440
  });
441
441
  }
442
442
  }
443
- function u0(i, b) {
443
+ function Q1(i, b) {
444
444
  {
445
445
  var w = function() {
446
- wf || (wf = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
446
+ vf || (vf = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
447
447
  };
448
448
  w.isReactWarning = !0, Object.defineProperty(i, "ref", {
449
449
  get: w,
@@ -451,7 +451,7 @@ function l0() {
451
451
  });
452
452
  }
453
453
  }
454
- var D0 = function(i, b, w, $, G, K, Y) {
454
+ var u0 = function(i, b, w, $, G, K, Y) {
455
455
  var H = {
456
456
  // This tag allows us to uniquely identify this as a React Element
457
457
  $$typeof: t,
@@ -480,12 +480,12 @@ function l0() {
480
480
  value: G
481
481
  }), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
482
482
  };
483
- function f0(i, b, w, $, G) {
483
+ function D0(i, b, w, $, G) {
484
484
  {
485
485
  var K, Y = {}, H = null, bu = null;
486
- w !== void 0 && (H = "" + w), X1(b) && (H = "" + b.key), G1(b) && (bu = b.ref, Z1(b, G));
486
+ w !== void 0 && (H = "" + w), G1(b) && (H = "" + b.key), J1(b) && (bu = b.ref, X1(b, G));
487
487
  for (K in b)
488
- TD.call(b, K) && !J1.hasOwnProperty(K) && (Y[K] = b[K]);
488
+ TD.call(b, K) && !K1.hasOwnProperty(K) && (Y[K] = b[K]);
489
489
  if (i && i.defaultProps) {
490
490
  var nu = i.defaultProps;
491
491
  for (K in nu)
@@ -493,25 +493,25 @@ function l0() {
493
493
  }
494
494
  if (H || bu) {
495
495
  var au = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
496
- H && Q1(Y, au), bu && u0(Y, au);
496
+ H && Z1(Y, au), bu && Q1(Y, au);
497
497
  }
498
- return D0(i, H, bu, G, $, yf.current, Y);
498
+ return u0(i, H, bu, G, $, _f.current, Y);
499
499
  }
500
500
  }
501
- var ND = q.ReactCurrentOwner, Af = q.ReactDebugCurrentFrame;
501
+ var ND = q.ReactCurrentOwner, wf = q.ReactDebugCurrentFrame;
502
502
  function uD(i) {
503
503
  if (i) {
504
504
  var b = i._owner, w = cu(i.type, i._source, b ? b.type : null);
505
- Af.setExtraStackFrame(w);
505
+ wf.setExtraStackFrame(w);
506
506
  } else
507
- Af.setExtraStackFrame(null);
507
+ wf.setExtraStackFrame(null);
508
508
  }
509
509
  var OD;
510
510
  OD = !1;
511
511
  function RD(i) {
512
512
  return typeof i == "object" && i !== null && i.$$typeof === t;
513
513
  }
514
- function xf() {
514
+ function Af() {
515
515
  {
516
516
  if (ND.current) {
517
517
  var i = E(ND.current.type);
@@ -523,13 +523,13 @@ Check the render method of \`` + i + "`.";
523
523
  return "";
524
524
  }
525
525
  }
526
- function e0(i) {
526
+ function f0(i) {
527
527
  return "";
528
528
  }
529
- var kf = {};
530
- function t0(i) {
529
+ var xf = {};
530
+ function e0(i) {
531
531
  {
532
- var b = xf();
532
+ var b = Af();
533
533
  if (!b) {
534
534
  var w = typeof i == "string" ? i : i.displayName || i.name;
535
535
  w && (b = `
@@ -539,27 +539,27 @@ Check the top-level render call using <` + w + ">.");
539
539
  return b;
540
540
  }
541
541
  }
542
- function jf(i, b) {
542
+ function kf(i, b) {
543
543
  {
544
544
  if (!i._store || i._store.validated || i.key != null)
545
545
  return;
546
546
  i._store.validated = !0;
547
- var w = t0(b);
548
- if (kf[w])
547
+ var w = e0(b);
548
+ if (xf[w])
549
549
  return;
550
- kf[w] = !0;
550
+ xf[w] = !0;
551
551
  var $ = "";
552
552
  i && i._owner && i._owner !== ND.current && ($ = " It was passed a child from " + E(i._owner.type) + "."), uD(i), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, $), uD(null);
553
553
  }
554
554
  }
555
- function Sf(i, b) {
555
+ function jf(i, b) {
556
556
  {
557
557
  if (typeof i != "object")
558
558
  return;
559
559
  if (Array.isArray(i))
560
560
  for (var w = 0; w < i.length; w++) {
561
561
  var $ = i[w];
562
- RD($) && jf($, b);
562
+ RD($) && kf($, b);
563
563
  }
564
564
  else if (RD(i))
565
565
  i._store && (i._store.validated = !0);
@@ -567,11 +567,11 @@ Check the top-level render call using <` + w + ">.");
567
567
  var G = P(i);
568
568
  if (typeof G == "function" && G !== i.entries)
569
569
  for (var K = G.call(i), Y; !(Y = K.next()).done; )
570
- RD(Y.value) && jf(Y.value, b);
570
+ RD(Y.value) && kf(Y.value, b);
571
571
  }
572
572
  }
573
573
  }
574
- function n0(i) {
574
+ function t0(i) {
575
575
  {
576
576
  var b = i.type;
577
577
  if (b == null || typeof b == "string")
@@ -587,7 +587,7 @@ Check the top-level render call using <` + w + ">.");
587
587
  return;
588
588
  if (w) {
589
589
  var $ = E(b);
590
- K1(w, i.props, "prop", $, i);
590
+ Y1(w, i.props, "prop", $, i);
591
591
  } else if (b.PropTypes !== void 0 && !OD) {
592
592
  OD = !0;
593
593
  var G = E(b);
@@ -596,7 +596,7 @@ Check the top-level render call using <` + w + ">.");
596
596
  typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
597
  }
598
598
  }
599
- function r0(i) {
599
+ function n0(i) {
600
600
  {
601
601
  for (var b = Object.keys(i.props), w = 0; w < b.length; w++) {
602
602
  var $ = b[w];
@@ -608,18 +608,18 @@ Check the top-level render call using <` + w + ">.");
608
608
  i.ref !== null && (uD(i), m("Invalid attribute `ref` supplied to `React.Fragment`."), uD(null));
609
609
  }
610
610
  }
611
- function Tf(i, b, w, $, G, K) {
611
+ function Sf(i, b, w, $, G, K) {
612
612
  {
613
613
  var Y = hu(i);
614
614
  if (!Y) {
615
615
  var H = "";
616
616
  (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (H += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
617
- var bu = e0();
618
- bu ? H += bu : H += xf();
617
+ var bu = f0();
618
+ bu ? H += bu : H += Af();
619
619
  var nu;
620
620
  i === null ? nu = "null" : Array.isArray(i) ? nu = "array" : i !== void 0 && i.$$typeof === t ? (nu = "<" + (E(i.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : nu = typeof i, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nu, H);
621
621
  }
622
- var au = f0(i, b, w, G, K);
622
+ var au = D0(i, b, w, G, K);
623
623
  if (au == null)
624
624
  return au;
625
625
  if (Y) {
@@ -628,31 +628,31 @@ Check the top-level render call using <` + w + ">.");
628
628
  if ($)
629
629
  if (Array.isArray($u)) {
630
630
  for (var DD = 0; DD < $u.length; DD++)
631
- Sf($u[DD], i);
631
+ jf($u[DD], i);
632
632
  Object.freeze && Object.freeze($u);
633
633
  } else
634
634
  m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
635
635
  else
636
- Sf($u, i);
636
+ jf($u, i);
637
637
  }
638
- return i === u.Fragment ? r0(au) : n0(au), au;
638
+ return i === u.Fragment ? n0(au) : t0(au), au;
639
639
  }
640
640
  }
641
- function a0(i, b, w) {
642
- return Tf(i, b, w, !0);
641
+ function r0(i, b, w) {
642
+ return Sf(i, b, w, !0);
643
643
  }
644
- function s0(i, b, w) {
645
- return Tf(i, b, w, !1);
644
+ function a0(i, b, w) {
645
+ return Sf(i, b, w, !1);
646
646
  }
647
- var F0 = s0, i0 = a0;
648
- u.jsx = F0, u.jsxs = i0;
647
+ var s0 = a0, F0 = r0;
648
+ u.jsx = s0, u.jsxs = F0;
649
649
  }();
650
650
  }(ID)), ID;
651
651
  }
652
- var E0 = {};
653
- E0.NODE_ENV === "production" ? WD.exports = c0() : WD.exports = l0();
654
- var a = WD.exports;
655
- const Zf = qu(void 0), Qf = ({
652
+ var l0 = {};
653
+ l0.NODE_ENV === "production" ? HD.exports = C0() : HD.exports = c0();
654
+ var a = HD.exports;
655
+ const Gf = qu(void 0), Xf = ({
656
656
  children: u,
657
657
  channelName: D
658
658
  }) => {
@@ -677,7 +677,7 @@ const Zf = qu(void 0), Qf = ({
677
677
  f.current.postMessage(r);
678
678
  };
679
679
  return /* @__PURE__ */ a.jsx(
680
- Zf.Provider,
680
+ Gf.Provider,
681
681
  {
682
682
  value: {
683
683
  subscribe: t,
@@ -686,53 +686,53 @@ const Zf = qu(void 0), Qf = ({
686
686
  children: u
687
687
  }
688
688
  );
689
- }, h0 = () => {
690
- const u = Hu(Zf);
689
+ }, E0 = () => {
690
+ const u = Hu(Gf);
691
691
  if (!u)
692
692
  throw new Error(
693
693
  "useBroadcastChannel must be used within a BroadcastChannelProvider"
694
694
  );
695
695
  return u;
696
- }, b0 = (...u) => {
697
- const { subscribe: D } = h0();
696
+ }, h0 = (...u) => {
697
+ const { subscribe: D } = E0();
698
698
  Z(() => {
699
699
  D(...u);
700
700
  }, [D, ...u]);
701
701
  };
702
- var YD = /* @__PURE__ */ ((u) => (u.message = "message", u.delivery = "delivery", u.read = "read", u.typing = "typing", u.follow = "follow", u.echo = "echo", u.unknown = "", u))(YD || {}), uu = /* @__PURE__ */ ((u) => (u.sent = "sent", u.received = "received", u))(uu || {}), u1 = /* @__PURE__ */ ((u) => (u.text = "text", u.location = "location", u))(u1 || {}), Au = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(Au || {}), KD = /* @__PURE__ */ ((u) => (u.text = "text", u.buttons = "buttons", u.quick_replies = "quick_replies", u.file = "file", u.list = "list", u.carousel = "carousel", u))(KD || {}), iD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(iD || {}), eD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(eD || {}), aD = {};
703
- const D1 = {
702
+ var WD = /* @__PURE__ */ ((u) => (u.message = "message", u.delivery = "delivery", u.read = "read", u.typing = "typing", u.follow = "follow", u.echo = "echo", u.unknown = "", u))(WD || {}), uu = /* @__PURE__ */ ((u) => (u.sent = "sent", u.received = "received", u))(uu || {}), Zf = /* @__PURE__ */ ((u) => (u.text = "text", u.location = "location", u))(Zf || {}), Au = /* @__PURE__ */ ((u) => (u.text = "text", u.quick_reply = "quick_reply", u.postback = "postback", u.location = "location", u.file = "file", u.notify = "notify", u))(Au || {}), YD = /* @__PURE__ */ ((u) => (u.text = "text", u.buttons = "buttons", u.quick_replies = "quick_replies", u.file = "file", u.list = "list", u.carousel = "carousel", u))(YD || {}), iD = /* @__PURE__ */ ((u) => (u[u.sent = 0] = "sent", u[u.sending = 1] = "sending", u[u.uploading = 2] = "uploading", u))(iD || {}), eD = /* @__PURE__ */ ((u) => (u[u.disconnected = 0] = "disconnected", u[u.wantToConnect = 1] = "wantToConnect", u[u.tryingToConnect = 2] = "tryingToConnect", u[u.connected = 3] = "connected", u))(eD || {}), aD = {};
703
+ const Qf = {
704
704
  apiUrl: aD.REACT_APP_WIDGET_API_URL || "http://localhost:4000",
705
705
  channel: aD.REACT_APP_WIDGET_CHANNEL || "console-channel",
706
706
  language: "en",
707
707
  maxUploadSize: aD.UPLOAD_MAX_SIZE_IN_BYTES ?? "" ? Number(aD.UPLOAD_MAX_SIZE_IN_BYTES) : 20 * 1024 * 1024,
708
708
  // 20 MB in bytes
709
709
  ownerId: aD.REACT_APP_WIDGET_OWNER_ID || "68342cec1e3cef0065f1b563"
710
- }, f1 = qu(D1), e1 = ({ children: u, ...D }) => {
710
+ }, u1 = qu(Qf), D1 = ({ children: u, ...D }) => {
711
711
  const f = gu({
712
- ...D1,
712
+ ...Qf,
713
713
  ...D
714
714
  });
715
- return /* @__PURE__ */ a.jsx(f1.Provider, { value: f.current, children: u });
715
+ return /* @__PURE__ */ a.jsx(u1.Provider, { value: f.current, children: u });
716
716
  }, Wu = () => {
717
- const u = Hu(f1);
717
+ const u = Hu(u1);
718
718
  if (!u)
719
719
  throw new Error("useConfig must be used within a ConfigProvider");
720
720
  return u;
721
- }, p0 = {
721
+ }, b0 = {
722
722
  get_started: "Start Chat",
723
723
  first_name: "First Name",
724
724
  last_name: "Last Name",
725
725
  phone: "Phone Number",
726
726
  email: "Email Address"
727
- }, B0 = {
727
+ }, p0 = {
728
728
  greeting: "Welcome !",
729
729
  placeholder: "Write something...",
730
730
  connection_lost: "Connection Lost",
731
731
  back: "Back"
732
- }, m0 = {
732
+ }, B0 = {
733
733
  help_prompt: "We’re here if you need help",
734
734
  dismiss: "Dismiss"
735
- }, g0 = {
735
+ }, m0 = {
736
736
  get_started: "Start Chat",
737
737
  file_message: {
738
738
  browser_audio_unsupport: "Browser does not support the audio element.",
@@ -741,23 +741,23 @@ const D1 = {
741
741
  unsupported_file_type: "This file type is not supported.",
742
742
  unsupported_file_size: "This file size is not supported."
743
743
  }
744
+ }, g0 = {
745
+ user_subscription: b0,
746
+ settings: p0,
747
+ launcher: B0,
748
+ messages: m0
744
749
  }, _0 = {
745
- user_subscription: p0,
746
- settings: B0,
747
- launcher: m0,
748
- messages: g0
749
- }, y0 = {
750
750
  get_started: "Commencer",
751
751
  first_name: "Prénom",
752
752
  last_name: "Nom",
753
753
  phone: "Numéro de Téléphone",
754
754
  email: "Adresse Email"
755
- }, v0 = {
755
+ }, y0 = {
756
756
  greeting: "Bienvenue !",
757
757
  placeholder: "Écrivez quelque chose...",
758
758
  connection_lost: "Connexion perdue",
759
759
  back: "Retour"
760
- }, w0 = {
760
+ }, v0 = {
761
761
  get_started: "Démarrer",
762
762
  file_message: {
763
763
  browser_audio_unsupport: "Le navigateur ne prend pas en charge l'élément audio.",
@@ -766,55 +766,55 @@ const D1 = {
766
766
  unsupported_file_type: "Ce type de fichier n'est pas pris en charge.",
767
767
  unsupported_file_size: "Cette taille de fichier n'est pas prise en charge."
768
768
  }
769
- }, A0 = {
770
- user_subscription: y0,
771
- settings: v0,
772
- messages: w0
773
- }, If = { en: _0, fr: A0 }, t1 = qu(
769
+ }, w0 = {
770
+ user_subscription: _0,
771
+ settings: y0,
772
+ messages: v0
773
+ }, Pf = { en: g0, fr: w0 }, f1 = qu(
774
774
  void 0
775
- ), n1 = ({
775
+ ), e1 = ({
776
776
  children: u
777
777
  }) => {
778
- const f = Wu().language, e = (r) => r in If, [t, n] = U(
778
+ const f = Wu().language, e = (r) => r in Pf, [t, n] = U(
779
779
  e(f) ? f : "en"
780
780
  );
781
781
  return /* @__PURE__ */ a.jsx(
782
- t1.Provider,
782
+ f1.Provider,
783
783
  {
784
- value: { translations: If, language: t, setLanguage: n },
784
+ value: { translations: Pf, language: t, setLanguage: n },
785
785
  children: u
786
786
  }
787
787
  );
788
- }, x0 = () => {
789
- const u = Hu(t1);
788
+ }, A0 = () => {
789
+ const u = Hu(f1);
790
790
  if (!u)
791
791
  throw new Error(
792
792
  "useTranslationContext must be used within a TranslationProvider"
793
793
  );
794
794
  return u;
795
- }, k0 = (u, D) => D.split(".").reduce((f, e) => {
795
+ }, x0 = (u, D) => D.split(".").reduce((f, e) => {
796
796
  if (typeof f == "object" && f !== null)
797
797
  return f[e];
798
798
  }, u), zu = () => {
799
- const { translations: u, language: D } = x0();
799
+ const { translations: u, language: D } = A0();
800
800
  return { t: Mu(
801
- (e, t = {}) => (k0(u[D], e) || e).replace(
801
+ (e, t = {}) => (x0(u[D], e) || e).replace(
802
802
  /{(\w+)}/g,
803
803
  (r, s) => t[s] || `{${s}}`
804
804
  ),
805
805
  [D, u]
806
806
  ) };
807
807
  };
808
- function j0(u, D) {
808
+ function k0(u, D) {
809
809
  if (typeof D > "u")
810
810
  throw new Error("Value cannot be undefined");
811
811
  return sessionStorage.setItem(u, JSON.stringify(D)), !0;
812
812
  }
813
- function S0(u) {
813
+ function j0(u) {
814
814
  const D = sessionStorage.getItem(u);
815
815
  return D === null ? null : JSON.parse(D);
816
816
  }
817
- const $f = { setItem: j0, getItem: S0 }, Tu = /* @__PURE__ */ Object.create(null);
817
+ const If = { setItem: k0, getItem: j0 }, Tu = /* @__PURE__ */ Object.create(null);
818
818
  Tu.open = "0";
819
819
  Tu.close = "1";
820
820
  Tu.ping = "2";
@@ -826,59 +826,59 @@ const pD = /* @__PURE__ */ Object.create(null);
826
826
  Object.keys(Tu).forEach((u) => {
827
827
  pD[Tu[u]] = u;
828
828
  });
829
- const JD = { type: "error", data: "parser error" }, r1 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", a1 = typeof ArrayBuffer == "function", s1 = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u && u.buffer instanceof ArrayBuffer, of = ({ type: u, data: D }, f, e) => r1 && D instanceof Blob ? f ? e(D) : Lf(D, e) : a1 && (D instanceof ArrayBuffer || s1(D)) ? f ? e(D) : Lf(new Blob([D]), e) : e(Tu[u] + (D || "")), Lf = (u, D) => {
829
+ const KD = { type: "error", data: "parser error" }, t1 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", n1 = typeof ArrayBuffer == "function", r1 = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u && u.buffer instanceof ArrayBuffer, Ff = ({ type: u, data: D }, f, e) => t1 && D instanceof Blob ? f ? e(D) : $f(D, e) : n1 && (D instanceof ArrayBuffer || r1(D)) ? f ? e(D) : $f(new Blob([D]), e) : e(Tu[u] + (D || "")), $f = (u, D) => {
830
830
  const f = new FileReader();
831
831
  return f.onload = function() {
832
832
  const e = f.result.split(",")[1];
833
833
  D("b" + (e || ""));
834
834
  }, f.readAsDataURL(u);
835
835
  };
836
- function Mf(u) {
836
+ function Lf(u) {
837
837
  return u instanceof Uint8Array ? u : u instanceof ArrayBuffer ? new Uint8Array(u) : new Uint8Array(u.buffer, u.byteOffset, u.byteLength);
838
838
  }
839
839
  let $D;
840
- function T0(u, D) {
841
- if (r1 && u.data instanceof Blob)
842
- return u.data.arrayBuffer().then(Mf).then(D);
843
- if (a1 && (u.data instanceof ArrayBuffer || s1(u.data)))
844
- return D(Mf(u.data));
845
- of(u, !1, (f) => {
840
+ function S0(u, D) {
841
+ if (t1 && u.data instanceof Blob)
842
+ return u.data.arrayBuffer().then(Lf).then(D);
843
+ if (n1 && (u.data instanceof ArrayBuffer || r1(u.data)))
844
+ return D(Lf(u.data));
845
+ Ff(u, !1, (f) => {
846
846
  $D || ($D = new TextEncoder()), D($D.encode(f));
847
847
  });
848
848
  }
849
- const qf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
850
- for (let u = 0; u < qf.length; u++)
851
- FD[qf.charCodeAt(u)] = u;
852
- const N0 = (u) => {
849
+ const Mf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", FD = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
850
+ for (let u = 0; u < Mf.length; u++)
851
+ FD[Mf.charCodeAt(u)] = u;
852
+ const T0 = (u) => {
853
853
  let D = u.length * 0.75, f = u.length, e, t = 0, n, r, s, F;
854
854
  u[u.length - 1] === "=" && (D--, u[u.length - 2] === "=" && D--);
855
855
  const d = new ArrayBuffer(D), o = new Uint8Array(d);
856
856
  for (e = 0; e < f; e += 4)
857
857
  n = FD[u.charCodeAt(e)], r = FD[u.charCodeAt(e + 1)], s = FD[u.charCodeAt(e + 2)], F = FD[u.charCodeAt(e + 3)], o[t++] = n << 2 | r >> 4, o[t++] = (r & 15) << 4 | s >> 2, o[t++] = (s & 3) << 6 | F & 63;
858
858
  return d;
859
- }, O0 = typeof ArrayBuffer == "function", df = (u, D) => {
859
+ }, N0 = typeof ArrayBuffer == "function", of = (u, D) => {
860
860
  if (typeof u != "string")
861
861
  return {
862
862
  type: "message",
863
- data: F1(u, D)
863
+ data: a1(u, D)
864
864
  };
865
865
  const f = u.charAt(0);
866
866
  return f === "b" ? {
867
867
  type: "message",
868
- data: R0(u.substring(1), D)
868
+ data: O0(u.substring(1), D)
869
869
  } : pD[f] ? u.length > 1 ? {
870
870
  type: pD[f],
871
871
  data: u.substring(1)
872
872
  } : {
873
873
  type: pD[f]
874
- } : JD;
875
- }, R0 = (u, D) => {
876
- if (O0) {
877
- const f = N0(u);
878
- return F1(f, D);
874
+ } : KD;
875
+ }, O0 = (u, D) => {
876
+ if (N0) {
877
+ const f = T0(u);
878
+ return a1(f, D);
879
879
  } else
880
880
  return { base64: !0, data: u };
881
- }, F1 = (u, D) => {
881
+ }, a1 = (u, D) => {
882
882
  switch (D) {
883
883
  case "blob":
884
884
  return u instanceof Blob ? u : new Blob([u]);
@@ -886,27 +886,27 @@ const N0 = (u) => {
886
886
  default:
887
887
  return u instanceof ArrayBuffer ? u : u.buffer;
888
888
  }
889
- }, i1 = "", P0 = (u, D) => {
889
+ }, s1 = "", R0 = (u, D) => {
890
890
  const f = u.length, e = new Array(f);
891
891
  let t = 0;
892
892
  u.forEach((n, r) => {
893
- of(n, !1, (s) => {
894
- e[r] = s, ++t === f && D(e.join(i1));
893
+ Ff(n, !1, (s) => {
894
+ e[r] = s, ++t === f && D(e.join(s1));
895
895
  });
896
896
  });
897
- }, I0 = (u, D) => {
898
- const f = u.split(i1), e = [];
897
+ }, P0 = (u, D) => {
898
+ const f = u.split(s1), e = [];
899
899
  for (let t = 0; t < f.length; t++) {
900
- const n = df(f[t], D);
900
+ const n = of(f[t], D);
901
901
  if (e.push(n), n.type === "error")
902
902
  break;
903
903
  }
904
904
  return e;
905
905
  };
906
- function $0() {
906
+ function I0() {
907
907
  return new TransformStream({
908
908
  transform(u, D) {
909
- T0(u, (f) => {
909
+ S0(u, (f) => {
910
910
  const e = f.length;
911
911
  let t;
912
912
  if (e < 126)
@@ -938,7 +938,7 @@ function hD(u, D) {
938
938
  f[t] = u[0][e++], e === u[0].length && (u.shift(), e = 0);
939
939
  return u.length && e < u[0].length && (u[0] = u[0].slice(e)), f;
940
940
  }
941
- function L0(u, D) {
941
+ function $0(u, D) {
942
942
  LD || (LD = new TextDecoder());
943
943
  const f = [];
944
944
  let e = 0, t = -1, n = !1;
@@ -960,7 +960,7 @@ function L0(u, D) {
960
960
  break;
961
961
  const F = hD(f, 8), d = new DataView(F.buffer, F.byteOffset, F.length), o = d.getUint32(0);
962
962
  if (o > Math.pow(2, 21) - 1) {
963
- s.enqueue(JD);
963
+ s.enqueue(KD);
964
964
  break;
965
965
  }
966
966
  t = o * Math.pow(2, 32) + d.getUint32(4), e = 3;
@@ -968,21 +968,21 @@ function L0(u, D) {
968
968
  if (ED(f) < t)
969
969
  break;
970
970
  const F = hD(f, t);
971
- s.enqueue(df(n ? F : LD.decode(F), D)), e = 0;
971
+ s.enqueue(of(n ? F : LD.decode(F), D)), e = 0;
972
972
  }
973
973
  if (t === 0 || t > u) {
974
- s.enqueue(JD);
974
+ s.enqueue(KD);
975
975
  break;
976
976
  }
977
977
  }
978
978
  }
979
979
  });
980
980
  }
981
- const o1 = 4;
981
+ const F1 = 4;
982
982
  function su(u) {
983
- if (u) return M0(u);
983
+ if (u) return L0(u);
984
984
  }
985
- function M0(u) {
985
+ function L0(u) {
986
986
  for (var D in su.prototype)
987
987
  u[D] = su.prototype[D];
988
988
  return u;
@@ -1028,34 +1028,34 @@ su.prototype.listeners = function(u) {
1028
1028
  su.prototype.hasListeners = function(u) {
1029
1029
  return !!this.listeners(u).length;
1030
1030
  };
1031
- const AD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), vu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), q0 = "arraybuffer";
1032
- function d1(u, ...D) {
1031
+ const AD = typeof Promise == "function" && typeof Promise.resolve == "function" ? (D) => Promise.resolve().then(D) : (D, f) => f(D, 0), vu = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), M0 = "arraybuffer";
1032
+ function i1(u, ...D) {
1033
1033
  return D.reduce((f, e) => (u.hasOwnProperty(e) && (f[e] = u[e]), f), {});
1034
1034
  }
1035
- const z0 = vu.setTimeout, U0 = vu.clearTimeout;
1035
+ const q0 = vu.setTimeout, z0 = vu.clearTimeout;
1036
1036
  function xD(u, D) {
1037
- D.useNativeTimers ? (u.setTimeoutFn = z0.bind(vu), u.clearTimeoutFn = U0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1037
+ D.useNativeTimers ? (u.setTimeoutFn = q0.bind(vu), u.clearTimeoutFn = z0.bind(vu)) : (u.setTimeoutFn = vu.setTimeout.bind(vu), u.clearTimeoutFn = vu.clearTimeout.bind(vu));
1038
1038
  }
1039
- const V0 = 1.33;
1040
- function H0(u) {
1041
- return typeof u == "string" ? W0(u) : Math.ceil((u.byteLength || u.size) * V0);
1039
+ const U0 = 1.33;
1040
+ function V0(u) {
1041
+ return typeof u == "string" ? H0(u) : Math.ceil((u.byteLength || u.size) * U0);
1042
1042
  }
1043
- function W0(u) {
1043
+ function H0(u) {
1044
1044
  let D = 0, f = 0;
1045
1045
  for (let e = 0, t = u.length; e < t; e++)
1046
1046
  D = u.charCodeAt(e), D < 128 ? f += 1 : D < 2048 ? f += 2 : D < 55296 || D >= 57344 ? f += 3 : (e++, f += 4);
1047
1047
  return f;
1048
1048
  }
1049
- function C1() {
1049
+ function o1() {
1050
1050
  return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
1051
1051
  }
1052
- function Y0(u) {
1052
+ function W0(u) {
1053
1053
  let D = "";
1054
1054
  for (let f in u)
1055
1055
  u.hasOwnProperty(f) && (D.length && (D += "&"), D += encodeURIComponent(f) + "=" + encodeURIComponent(u[f]));
1056
1056
  return D;
1057
1057
  }
1058
- function K0(u) {
1058
+ function Y0(u) {
1059
1059
  let D = {}, f = u.split("&");
1060
1060
  for (let e = 0, t = f.length; e < t; e++) {
1061
1061
  let n = f[e].split("=");
@@ -1063,12 +1063,12 @@ function K0(u) {
1063
1063
  }
1064
1064
  return D;
1065
1065
  }
1066
- class J0 extends Error {
1066
+ class K0 extends Error {
1067
1067
  constructor(D, f, e) {
1068
1068
  super(D), this.description = f, this.context = e, this.type = "TransportError";
1069
1069
  }
1070
1070
  }
1071
- class Cf extends su {
1071
+ class df extends su {
1072
1072
  /**
1073
1073
  * Transport abstract constructor.
1074
1074
  *
@@ -1088,7 +1088,7 @@ class Cf extends su {
1088
1088
  * @protected
1089
1089
  */
1090
1090
  onError(D, f, e) {
1091
- return super.emitReserved("error", new J0(D, f, e)), this;
1091
+ return super.emitReserved("error", new K0(D, f, e)), this;
1092
1092
  }
1093
1093
  /**
1094
1094
  * Opens the transport.
@@ -1125,7 +1125,7 @@ class Cf extends su {
1125
1125
  * @protected
1126
1126
  */
1127
1127
  onData(D) {
1128
- const f = df(D, this.socket.binaryType);
1128
+ const f = of(D, this.socket.binaryType);
1129
1129
  this.onPacket(f);
1130
1130
  }
1131
1131
  /**
@@ -1162,11 +1162,11 @@ class Cf extends su {
1162
1162
  return this.opts.port && (this.opts.secure && +(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80) ? ":" + this.opts.port : "";
1163
1163
  }
1164
1164
  _query(D) {
1165
- const f = Y0(D);
1165
+ const f = W0(D);
1166
1166
  return f.length ? "?" + f : "";
1167
1167
  }
1168
1168
  }
1169
- class G0 extends Cf {
1169
+ class J0 extends df {
1170
1170
  constructor() {
1171
1171
  super(...arguments), this._polling = !1;
1172
1172
  }
@@ -1222,7 +1222,7 @@ class G0 extends Cf {
1222
1222
  return this.onClose({ description: "transport closed by the server" }), !1;
1223
1223
  this.onPacket(e);
1224
1224
  };
1225
- I0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1225
+ P0(D, this.socket.binaryType).forEach(f), this.readyState !== "closed" && (this._polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this._poll());
1226
1226
  }
1227
1227
  /**
1228
1228
  * For polling, send a close packet.
@@ -1242,7 +1242,7 @@ class G0 extends Cf {
1242
1242
  * @protected
1243
1243
  */
1244
1244
  write(D) {
1245
- this.writable = !1, P0(D, (f) => {
1245
+ this.writable = !1, R0(D, (f) => {
1246
1246
  this.doWrite(f, () => {
1247
1247
  this.writable = !0, this.emitReserved("drain");
1248
1248
  });
@@ -1255,18 +1255,18 @@ class G0 extends Cf {
1255
1255
  */
1256
1256
  uri() {
1257
1257
  const D = this.opts.secure ? "https" : "http", f = this.query || {};
1258
- return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = C1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1258
+ return this.opts.timestampRequests !== !1 && (f[this.opts.timestampParam] = o1()), !this.supportsBinary && !f.sid && (f.b64 = 1), this.createUri(D, f);
1259
1259
  }
1260
1260
  }
1261
- let c1 = !1;
1261
+ let d1 = !1;
1262
1262
  try {
1263
- c1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1263
+ d1 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
1264
1264
  } catch {
1265
1265
  }
1266
- const X0 = c1;
1267
- function Z0() {
1266
+ const G0 = d1;
1267
+ function X0() {
1268
1268
  }
1269
- class Q0 extends G0 {
1269
+ class Z0 extends J0 {
1270
1270
  /**
1271
1271
  * XHR Polling constructor.
1272
1272
  *
@@ -1325,7 +1325,7 @@ class ju extends su {
1325
1325
  */
1326
1326
  _create() {
1327
1327
  var D;
1328
- const f = d1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1328
+ const f = i1(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
1329
1329
  f.xdomain = !!this._opts.xd;
1330
1330
  const e = this._xhr = this.createRequest(f);
1331
1331
  try {
@@ -1379,7 +1379,7 @@ class ju extends su {
1379
1379
  */
1380
1380
  _cleanup(D) {
1381
1381
  if (!(typeof this._xhr > "u" || this._xhr === null)) {
1382
- if (this._xhr.onreadystatechange = Z0, D)
1382
+ if (this._xhr.onreadystatechange = X0, D)
1383
1383
  try {
1384
1384
  this._xhr.abort();
1385
1385
  } catch {
@@ -1409,36 +1409,36 @@ ju.requestsCount = 0;
1409
1409
  ju.requests = {};
1410
1410
  if (typeof document < "u") {
1411
1411
  if (typeof attachEvent == "function")
1412
- attachEvent("onunload", zf);
1412
+ attachEvent("onunload", qf);
1413
1413
  else if (typeof addEventListener == "function") {
1414
1414
  const u = "onpagehide" in vu ? "pagehide" : "unload";
1415
- addEventListener(u, zf, !1);
1415
+ addEventListener(u, qf, !1);
1416
1416
  }
1417
1417
  }
1418
- function zf() {
1418
+ function qf() {
1419
1419
  for (let u in ju.requests)
1420
1420
  ju.requests.hasOwnProperty(u) && ju.requests[u].abort();
1421
1421
  }
1422
- const ue = function() {
1423
- const u = l1({
1422
+ const Q0 = function() {
1423
+ const u = C1({
1424
1424
  xdomain: !1
1425
1425
  });
1426
1426
  return u && u.responseType !== null;
1427
1427
  }();
1428
- class De extends Q0 {
1428
+ class ue extends Z0 {
1429
1429
  constructor(D) {
1430
1430
  super(D);
1431
1431
  const f = D && D.forceBase64;
1432
- this.supportsBinary = ue && !f;
1432
+ this.supportsBinary = Q0 && !f;
1433
1433
  }
1434
1434
  request(D = {}) {
1435
- return Object.assign(D, { xd: this.xd }, this.opts), new ju(l1, this.uri(), D);
1435
+ return Object.assign(D, { xd: this.xd }, this.opts), new ju(C1, this.uri(), D);
1436
1436
  }
1437
1437
  }
1438
- function l1(u) {
1438
+ function C1(u) {
1439
1439
  const D = u.xdomain;
1440
1440
  try {
1441
- if (typeof XMLHttpRequest < "u" && (!D || X0))
1441
+ if (typeof XMLHttpRequest < "u" && (!D || G0))
1442
1442
  return new XMLHttpRequest();
1443
1443
  } catch {
1444
1444
  }
@@ -1448,13 +1448,13 @@ function l1(u) {
1448
1448
  } catch {
1449
1449
  }
1450
1450
  }
1451
- const E1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1452
- class fe extends Cf {
1451
+ const c1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
1452
+ class De extends df {
1453
1453
  get name() {
1454
1454
  return "websocket";
1455
1455
  }
1456
1456
  doOpen() {
1457
- const D = this.uri(), f = this.opts.protocols, e = E1 ? {} : d1(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
1457
+ const D = this.uri(), f = this.opts.protocols, e = c1 ? {} : i1(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
1458
1458
  this.opts.extraHeaders && (e.headers = this.opts.extraHeaders);
1459
1459
  try {
1460
1460
  this.ws = this.createSocket(D, f, e);
@@ -1480,7 +1480,7 @@ class fe extends Cf {
1480
1480
  this.writable = !1;
1481
1481
  for (let f = 0; f < D.length; f++) {
1482
1482
  const e = D[f], t = f === D.length - 1;
1483
- of(e, this.supportsBinary, (n) => {
1483
+ Ff(e, this.supportsBinary, (n) => {
1484
1484
  try {
1485
1485
  this.doWrite(e, n);
1486
1486
  } catch {
@@ -1502,19 +1502,19 @@ class fe extends Cf {
1502
1502
  */
1503
1503
  uri() {
1504
1504
  const D = this.opts.secure ? "wss" : "ws", f = this.query || {};
1505
- return this.opts.timestampRequests && (f[this.opts.timestampParam] = C1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1505
+ return this.opts.timestampRequests && (f[this.opts.timestampParam] = o1()), this.supportsBinary || (f.b64 = 1), this.createUri(D, f);
1506
1506
  }
1507
1507
  }
1508
1508
  const MD = vu.WebSocket || vu.MozWebSocket;
1509
- class ee extends fe {
1509
+ class fe extends De {
1510
1510
  createSocket(D, f, e) {
1511
- return E1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1511
+ return c1 ? new MD(D, f, e) : f ? new MD(D, f) : new MD(D);
1512
1512
  }
1513
1513
  doWrite(D, f) {
1514
1514
  this.ws.send(f);
1515
1515
  }
1516
1516
  }
1517
- class te extends Cf {
1517
+ class ee extends df {
1518
1518
  get name() {
1519
1519
  return "webtransport";
1520
1520
  }
@@ -1530,7 +1530,7 @@ class te extends Cf {
1530
1530
  this.onError("webtransport error", D);
1531
1531
  }), this._transport.ready.then(() => {
1532
1532
  this._transport.createBidirectionalStream().then((D) => {
1533
- const f = L0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = $0();
1533
+ const f = $0(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = D.readable.pipeThrough(f).getReader(), t = I0();
1534
1534
  t.readable.pipeTo(D.writable), this._writer = t.writable.getWriter();
1535
1535
  const n = () => {
1536
1536
  e.read().then(({ done: s, value: F }) => {
@@ -1560,11 +1560,11 @@ class te extends Cf {
1560
1560
  (D = this._transport) === null || D === void 0 || D.close();
1561
1561
  }
1562
1562
  }
1563
- const ne = {
1564
- websocket: ee,
1565
- webtransport: te,
1566
- polling: De
1567
- }, re = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, ae = [
1563
+ const te = {
1564
+ websocket: fe,
1565
+ webtransport: ee,
1566
+ polling: ue
1567
+ }, ne = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, re = [
1568
1568
  "source",
1569
1569
  "protocol",
1570
1570
  "authority",
@@ -1580,28 +1580,28 @@ const ne = {
1580
1580
  "query",
1581
1581
  "anchor"
1582
1582
  ];
1583
- function GD(u) {
1583
+ function JD(u) {
1584
1584
  if (u.length > 8e3)
1585
1585
  throw "URI too long";
1586
1586
  const D = u, f = u.indexOf("["), e = u.indexOf("]");
1587
1587
  f != -1 && e != -1 && (u = u.substring(0, f) + u.substring(f, e).replace(/:/g, ";") + u.substring(e, u.length));
1588
- let t = re.exec(u || ""), n = {}, r = 14;
1588
+ let t = ne.exec(u || ""), n = {}, r = 14;
1589
1589
  for (; r--; )
1590
- n[ae[r]] = t[r] || "";
1591
- return f != -1 && e != -1 && (n.source = D, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = se(n, n.path), n.queryKey = Fe(n, n.query), n;
1590
+ n[re[r]] = t[r] || "";
1591
+ return f != -1 && e != -1 && (n.source = D, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = ae(n, n.path), n.queryKey = se(n, n.query), n;
1592
1592
  }
1593
- function se(u, D) {
1593
+ function ae(u, D) {
1594
1594
  const f = /\/{2,9}/g, e = D.replace(f, "/").split("/");
1595
1595
  return (D.slice(0, 1) == "/" || D.length === 0) && e.splice(0, 1), D.slice(-1) == "/" && e.splice(e.length - 1, 1), e;
1596
1596
  }
1597
- function Fe(u, D) {
1597
+ function se(u, D) {
1598
1598
  const f = {};
1599
1599
  return D.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function(e, t, n) {
1600
1600
  t && (f[t] = n);
1601
1601
  }), f;
1602
1602
  }
1603
- const XD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1604
- XD && addEventListener("offline", () => {
1603
+ const GD = typeof addEventListener == "function" && typeof removeEventListener == "function", BD = [];
1604
+ GD && addEventListener("offline", () => {
1605
1605
  BD.forEach((u) => u());
1606
1606
  }, !1);
1607
1607
  class Vu extends su {
@@ -1612,10 +1612,10 @@ class Vu extends su {
1612
1612
  * @param {Object} opts - options
1613
1613
  */
1614
1614
  constructor(D, f) {
1615
- if (super(), this.binaryType = q0, this.writeBuffer = [], this._prevBufferLen = 0, this._pingInterval = -1, this._pingTimeout = -1, this._maxPayload = -1, this._pingTimeoutTime = 1 / 0, D && typeof D == "object" && (f = D, D = null), D) {
1616
- const e = GD(D);
1615
+ if (super(), this.binaryType = M0, this.writeBuffer = [], this._prevBufferLen = 0, this._pingInterval = -1, this._pingTimeout = -1, this._maxPayload = -1, this._pingTimeoutTime = 1 / 0, D && typeof D == "object" && (f = D, D = null), D) {
1616
+ const e = JD(D);
1617
1617
  f.hostname = e.host, f.secure = e.protocol === "https" || e.protocol === "wss", f.port = e.port, e.query && (f.query = e.query);
1618
- } else f.host && (f.hostname = GD(f.host).host);
1618
+ } else f.host && (f.hostname = JD(f.host).host);
1619
1619
  xD(this, f), this.secure = f.secure != null ? f.secure : typeof location < "u" && location.protocol === "https:", f.hostname && !f.port && (f.port = this.secure ? "443" : "80"), this.hostname = f.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = f.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = [], this._transportsByName = {}, f.transports.forEach((e) => {
1620
1620
  const t = e.prototype.name;
1621
1621
  this.transports.push(t), this._transportsByName[t] = e;
@@ -1633,7 +1633,7 @@ class Vu extends su {
1633
1633
  },
1634
1634
  transportOptions: {},
1635
1635
  closeOnBeforeunload: !1
1636
- }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = K0(this.opts.query)), XD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1636
+ }, f), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Y0(this.opts.query)), GD && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
1637
1637
  this.transport && (this.transport.removeAllListeners(), this.transport.close());
1638
1638
  }, addEventListener("beforeunload", this._beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this._offlineEventListener = () => {
1639
1639
  this._onClose("transport close", {
@@ -1650,7 +1650,7 @@ class Vu extends su {
1650
1650
  */
1651
1651
  createTransport(D) {
1652
1652
  const f = Object.assign({}, this.opts.query);
1653
- f.EIO = o1, f.transport = D, this.id && (f.sid = this.id);
1653
+ f.EIO = F1, f.transport = D, this.id && (f.sid = this.id);
1654
1654
  const e = Object.assign({}, this.opts, {
1655
1655
  query: f,
1656
1656
  socket: this,
@@ -1768,7 +1768,7 @@ class Vu extends su {
1768
1768
  let f = 1;
1769
1769
  for (let e = 0; e < this.writeBuffer.length; e++) {
1770
1770
  const t = this.writeBuffer[e].data;
1771
- if (t && (f += H0(t)), e > 0 && f > this._maxPayload)
1771
+ if (t && (f += V0(t)), e > 0 && f > this._maxPayload)
1772
1772
  return this.writeBuffer.slice(0, e);
1773
1773
  f += 2;
1774
1774
  }
@@ -1866,7 +1866,7 @@ class Vu extends su {
1866
1866
  */
1867
1867
  _onClose(D, f) {
1868
1868
  if (this.readyState === "opening" || this.readyState === "open" || this.readyState === "closing") {
1869
- if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), XD && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
1869
+ if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), GD && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
1870
1870
  const e = BD.indexOf(this._offlineEventListener);
1871
1871
  e !== -1 && BD.splice(e, 1);
1872
1872
  }
@@ -1874,8 +1874,8 @@ class Vu extends su {
1874
1874
  }
1875
1875
  }
1876
1876
  }
1877
- Vu.protocol = o1;
1878
- class ie extends Vu {
1877
+ Vu.protocol = F1;
1878
+ class Fe extends Vu {
1879
1879
  constructor() {
1880
1880
  super(...arguments), this._upgrades = [];
1881
1881
  }
@@ -1947,21 +1947,21 @@ class ie extends Vu {
1947
1947
  return f;
1948
1948
  }
1949
1949
  }
1950
- let oe = class extends ie {
1950
+ let ie = class extends Fe {
1951
1951
  constructor(D, f = {}) {
1952
1952
  const e = typeof D == "object" ? D : f;
1953
- (!e.transports || e.transports && typeof e.transports[0] == "string") && (e.transports = (e.transports || ["polling", "websocket", "webtransport"]).map((t) => ne[t]).filter((t) => !!t)), super(D, e);
1953
+ (!e.transports || e.transports && typeof e.transports[0] == "string") && (e.transports = (e.transports || ["polling", "websocket", "webtransport"]).map((t) => te[t]).filter((t) => !!t)), super(D, e);
1954
1954
  }
1955
1955
  };
1956
- function de(u, D = "", f) {
1956
+ function oe(u, D = "", f) {
1957
1957
  let e = u;
1958
- f = f || typeof location < "u" && location, u == null && (u = f.protocol + "//" + f.host), typeof u == "string" && (u.charAt(0) === "/" && (u.charAt(1) === "/" ? u = f.protocol + u : u = f.host + u), /^(https?|wss?):\/\//.test(u) || (typeof f < "u" ? u = f.protocol + "//" + u : u = "https://" + u), e = GD(u)), e.port || (/^(http|ws)$/.test(e.protocol) ? e.port = "80" : /^(http|ws)s$/.test(e.protocol) && (e.port = "443")), e.path = e.path || "/";
1958
+ f = f || typeof location < "u" && location, u == null && (u = f.protocol + "//" + f.host), typeof u == "string" && (u.charAt(0) === "/" && (u.charAt(1) === "/" ? u = f.protocol + u : u = f.host + u), /^(https?|wss?):\/\//.test(u) || (typeof f < "u" ? u = f.protocol + "//" + u : u = "https://" + u), e = JD(u)), e.port || (/^(http|ws)$/.test(e.protocol) ? e.port = "80" : /^(http|ws)s$/.test(e.protocol) && (e.port = "443")), e.path = e.path || "/";
1959
1959
  const n = e.host.indexOf(":") !== -1 ? "[" + e.host + "]" : e.host;
1960
1960
  return e.id = e.protocol + "://" + n + ":" + e.port + D, e.href = e.protocol + "://" + n + (f && f.port === e.port ? "" : ":" + e.port), e;
1961
1961
  }
1962
- const Ce = typeof ArrayBuffer == "function", ce = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, h1 = Object.prototype.toString, le = typeof Blob == "function" || typeof Blob < "u" && h1.call(Blob) === "[object BlobConstructor]", Ee = typeof File == "function" || typeof File < "u" && h1.call(File) === "[object FileConstructor]";
1963
- function cf(u) {
1964
- return Ce && (u instanceof ArrayBuffer || ce(u)) || le && u instanceof Blob || Ee && u instanceof File;
1962
+ const de = typeof ArrayBuffer == "function", Ce = (u) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(u) : u.buffer instanceof ArrayBuffer, l1 = Object.prototype.toString, ce = typeof Blob == "function" || typeof Blob < "u" && l1.call(Blob) === "[object BlobConstructor]", le = typeof File == "function" || typeof File < "u" && l1.call(File) === "[object FileConstructor]";
1963
+ function Cf(u) {
1964
+ return de && (u instanceof ArrayBuffer || Ce(u)) || ce && u instanceof Blob || le && u instanceof File;
1965
1965
  }
1966
1966
  function mD(u, D) {
1967
1967
  if (!u || typeof u != "object")
@@ -1972,7 +1972,7 @@ function mD(u, D) {
1972
1972
  return !0;
1973
1973
  return !1;
1974
1974
  }
1975
- if (cf(u))
1975
+ if (Cf(u))
1976
1976
  return !0;
1977
1977
  if (u.toJSON && typeof u.toJSON == "function" && arguments.length === 1)
1978
1978
  return mD(u.toJSON(), !0);
@@ -1981,33 +1981,33 @@ function mD(u, D) {
1981
1981
  return !0;
1982
1982
  return !1;
1983
1983
  }
1984
- function he(u) {
1984
+ function Ee(u) {
1985
1985
  const D = [], f = u.data, e = u;
1986
- return e.data = ZD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1986
+ return e.data = XD(f, D), e.attachments = D.length, { packet: e, buffers: D };
1987
1987
  }
1988
- function ZD(u, D) {
1988
+ function XD(u, D) {
1989
1989
  if (!u)
1990
1990
  return u;
1991
- if (cf(u)) {
1991
+ if (Cf(u)) {
1992
1992
  const f = { _placeholder: !0, num: D.length };
1993
1993
  return D.push(u), f;
1994
1994
  } else if (Array.isArray(u)) {
1995
1995
  const f = new Array(u.length);
1996
1996
  for (let e = 0; e < u.length; e++)
1997
- f[e] = ZD(u[e], D);
1997
+ f[e] = XD(u[e], D);
1998
1998
  return f;
1999
1999
  } else if (typeof u == "object" && !(u instanceof Date)) {
2000
2000
  const f = {};
2001
2001
  for (const e in u)
2002
- Object.prototype.hasOwnProperty.call(u, e) && (f[e] = ZD(u[e], D));
2002
+ Object.prototype.hasOwnProperty.call(u, e) && (f[e] = XD(u[e], D));
2003
2003
  return f;
2004
2004
  }
2005
2005
  return u;
2006
2006
  }
2007
- function be(u, D) {
2008
- return u.data = QD(u.data, D), delete u.attachments, u;
2007
+ function he(u, D) {
2008
+ return u.data = ZD(u.data, D), delete u.attachments, u;
2009
2009
  }
2010
- function QD(u, D) {
2010
+ function ZD(u, D) {
2011
2011
  if (!u)
2012
2012
  return u;
2013
2013
  if (u && u._placeholder === !0) {
@@ -2016,13 +2016,13 @@ function QD(u, D) {
2016
2016
  throw new Error("illegal attachments");
2017
2017
  } else if (Array.isArray(u))
2018
2018
  for (let f = 0; f < u.length; f++)
2019
- u[f] = QD(u[f], D);
2019
+ u[f] = ZD(u[f], D);
2020
2020
  else if (typeof u == "object")
2021
2021
  for (const f in u)
2022
- Object.prototype.hasOwnProperty.call(u, f) && (u[f] = QD(u[f], D));
2022
+ Object.prototype.hasOwnProperty.call(u, f) && (u[f] = ZD(u[f], D));
2023
2023
  return u;
2024
2024
  }
2025
- const pe = [
2025
+ const be = [
2026
2026
  "connect",
2027
2027
  "connect_error",
2028
2028
  "disconnect",
@@ -2030,12 +2030,12 @@ const pe = [
2030
2030
  "newListener",
2031
2031
  "removeListener"
2032
2032
  // used by the Node.js EventEmitter
2033
- ], Be = 5;
2033
+ ], pe = 5;
2034
2034
  var W;
2035
2035
  (function(u) {
2036
2036
  u[u.CONNECT = 0] = "CONNECT", u[u.DISCONNECT = 1] = "DISCONNECT", u[u.EVENT = 2] = "EVENT", u[u.ACK = 3] = "ACK", u[u.CONNECT_ERROR = 4] = "CONNECT_ERROR", u[u.BINARY_EVENT = 5] = "BINARY_EVENT", u[u.BINARY_ACK = 6] = "BINARY_ACK";
2037
2037
  })(W || (W = {}));
2038
- class me {
2038
+ class Be {
2039
2039
  /**
2040
2040
  * Encoder constructor
2041
2041
  *
@@ -2071,14 +2071,14 @@ class me {
2071
2071
  * a list of buffers.
2072
2072
  */
2073
2073
  encodeAsBinary(D) {
2074
- const f = he(D), e = this.encodeAsString(f.packet), t = f.buffers;
2074
+ const f = Ee(D), e = this.encodeAsString(f.packet), t = f.buffers;
2075
2075
  return t.unshift(e), t;
2076
2076
  }
2077
2077
  }
2078
- function Uf(u) {
2078
+ function zf(u) {
2079
2079
  return Object.prototype.toString.call(u) === "[object Object]";
2080
2080
  }
2081
- class lf extends su {
2081
+ class cf extends su {
2082
2082
  /**
2083
2083
  * Decoder constructor
2084
2084
  *
@@ -2099,8 +2099,8 @@ class lf extends su {
2099
2099
  throw new Error("got plaintext data when reconstructing a packet");
2100
2100
  f = this.decodeString(D);
2101
2101
  const e = f.type === W.BINARY_EVENT;
2102
- e || f.type === W.BINARY_ACK ? (f.type = e ? W.EVENT : W.ACK, this.reconstructor = new ge(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2103
- } else if (cf(D) || D.base64)
2102
+ e || f.type === W.BINARY_ACK ? (f.type = e ? W.EVENT : W.ACK, this.reconstructor = new me(f), f.attachments === 0 && super.emitReserved("decoded", f)) : super.emitReserved("decoded", f);
2103
+ } else if (Cf(D) || D.base64)
2104
2104
  if (this.reconstructor)
2105
2105
  f = this.reconstructor.takeBinaryData(D), f && (this.reconstructor = null, super.emitReserved("decoded", f));
2106
2106
  else
@@ -2153,7 +2153,7 @@ class lf extends su {
2153
2153
  }
2154
2154
  if (D.charAt(++f)) {
2155
2155
  const n = this.tryParse(D.substr(f));
2156
- if (lf.isPayloadValid(e.type, n))
2156
+ if (cf.isPayloadValid(e.type, n))
2157
2157
  e.data = n;
2158
2158
  else
2159
2159
  throw new Error("invalid payload");
@@ -2170,14 +2170,14 @@ class lf extends su {
2170
2170
  static isPayloadValid(D, f) {
2171
2171
  switch (D) {
2172
2172
  case W.CONNECT:
2173
- return Uf(f);
2173
+ return zf(f);
2174
2174
  case W.DISCONNECT:
2175
2175
  return f === void 0;
2176
2176
  case W.CONNECT_ERROR:
2177
- return typeof f == "string" || Uf(f);
2177
+ return typeof f == "string" || zf(f);
2178
2178
  case W.EVENT:
2179
2179
  case W.BINARY_EVENT:
2180
- return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && pe.indexOf(f[0]) === -1);
2180
+ return Array.isArray(f) && (typeof f[0] == "number" || typeof f[0] == "string" && be.indexOf(f[0]) === -1);
2181
2181
  case W.ACK:
2182
2182
  case W.BINARY_ACK:
2183
2183
  return Array.isArray(f);
@@ -2190,7 +2190,7 @@ class lf extends su {
2190
2190
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
2191
2191
  }
2192
2192
  }
2193
- class ge {
2193
+ class me {
2194
2194
  constructor(D) {
2195
2195
  this.packet = D, this.buffers = [], this.reconPack = D;
2196
2196
  }
@@ -2204,7 +2204,7 @@ class ge {
2204
2204
  */
2205
2205
  takeBinaryData(D) {
2206
2206
  if (this.buffers.push(D), this.buffers.length === this.reconPack.attachments) {
2207
- const f = be(this.reconPack, this.buffers);
2207
+ const f = he(this.reconPack, this.buffers);
2208
2208
  return this.finishedReconstruction(), f;
2209
2209
  }
2210
2210
  return null;
@@ -2216,21 +2216,21 @@ class ge {
2216
2216
  this.reconPack = null, this.buffers = [];
2217
2217
  }
2218
2218
  }
2219
- const _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2219
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2220
2220
  __proto__: null,
2221
- Decoder: lf,
2222
- Encoder: me,
2221
+ Decoder: cf,
2222
+ Encoder: Be,
2223
2223
  get PacketType() {
2224
2224
  return W;
2225
2225
  },
2226
- protocol: Be
2226
+ protocol: pe
2227
2227
  }, Symbol.toStringTag, { value: "Module" }));
2228
2228
  function ku(u, D, f) {
2229
2229
  return u.on(D, f), function() {
2230
2230
  u.off(D, f);
2231
2231
  };
2232
2232
  }
2233
- const ye = Object.freeze({
2233
+ const _e = Object.freeze({
2234
2234
  connect: 1,
2235
2235
  connect_error: 1,
2236
2236
  disconnect: 1,
@@ -2239,7 +2239,7 @@ const ye = Object.freeze({
2239
2239
  newListener: 1,
2240
2240
  removeListener: 1
2241
2241
  });
2242
- class b1 extends su {
2242
+ class E1 extends su {
2243
2243
  /**
2244
2244
  * `Socket` constructor.
2245
2245
  */
@@ -2355,7 +2355,7 @@ class b1 extends su {
2355
2355
  */
2356
2356
  emit(D, ...f) {
2357
2357
  var e, t, n;
2358
- if (ye.hasOwnProperty(D))
2358
+ if (_e.hasOwnProperty(D))
2359
2359
  throw new Error('"' + D.toString() + '" is a reserved event name');
2360
2360
  if (f.unshift(D), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
2361
2361
  return this._addToQueue(f), this;
@@ -2854,7 +2854,7 @@ nD.prototype.setMax = function(u) {
2854
2854
  nD.prototype.setJitter = function(u) {
2855
2855
  this.jitter = u;
2856
2856
  };
2857
- class uf extends su {
2857
+ class QD extends su {
2858
2858
  constructor(D, f) {
2859
2859
  var e;
2860
2860
  super(), this.nsps = {}, this.subs = [], D && typeof D == "object" && (f = D, D = void 0), f = f || {}, f.path = f.path || "/socket.io", this.opts = f, xD(this, f), this.reconnection(f.reconnection !== !1), this.reconnectionAttempts(f.reconnectionAttempts || 1 / 0), this.reconnectionDelay(f.reconnectionDelay || 1e3), this.reconnectionDelayMax(f.reconnectionDelayMax || 5e3), this.randomizationFactor((e = f.randomizationFactor) !== null && e !== void 0 ? e : 0.5), this.backoff = new nD({
@@ -2862,7 +2862,7 @@ class uf extends su {
2862
2862
  max: this.reconnectionDelayMax(),
2863
2863
  jitter: this.randomizationFactor()
2864
2864
  }), this.timeout(f.timeout == null ? 2e4 : f.timeout), this._readyState = "closed", this.uri = D;
2865
- const t = f.parser || _e;
2865
+ const t = f.parser || ge;
2866
2866
  this.encoder = new t.Encoder(), this.decoder = new t.Decoder(), this._autoConnect = f.autoConnect !== !1, this._autoConnect && this.open();
2867
2867
  }
2868
2868
  reconnection(D) {
@@ -2905,7 +2905,7 @@ class uf extends su {
2905
2905
  open(D) {
2906
2906
  if (~this._readyState.indexOf("open"))
2907
2907
  return this;
2908
- this.engine = new oe(this.uri, this.opts);
2908
+ this.engine = new ie(this.uri, this.opts);
2909
2909
  const f = this.engine, e = this;
2910
2910
  this._readyState = "opening", this.skipReconnect = !1;
2911
2911
  const t = ku(f, "open", function() {
@@ -2995,7 +2995,7 @@ class uf extends su {
2995
2995
  */
2996
2996
  socket(D, f) {
2997
2997
  let e = this.nsps[D];
2998
- return e ? this._autoConnect && !e.active && e.connect() : (e = new b1(this, D, f), this.nsps[D] = e), e;
2998
+ return e ? this._autoConnect && !e.active && e.connect() : (e = new E1(this, D, f), this.nsps[D] = e), e;
2999
2999
  }
3000
3000
  /**
3001
3001
  * Called upon a socket close.
@@ -3095,29 +3095,29 @@ class uf extends su {
3095
3095
  const sD = {};
3096
3096
  function gD(u, D) {
3097
3097
  typeof u == "object" && (D = u, u = void 0), D = D || {};
3098
- const f = de(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = sD[t] && n in sD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3098
+ const f = oe(u, D.path || "/socket.io"), e = f.source, t = f.id, n = f.path, r = sD[t] && n in sD[t].nsps, s = D.forceNew || D["force new connection"] || D.multiplex === !1 || r;
3099
3099
  let F;
3100
- return s ? F = new uf(e, D) : (sD[t] || (sD[t] = new uf(e, D)), F = sD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3100
+ return s ? F = new QD(e, D) : (sD[t] || (sD[t] = new QD(e, D)), F = sD[t]), f.query && !D.query && (D.query = f.queryKey), F.socket(f.path, D);
3101
3101
  }
3102
3102
  Object.assign(gD, {
3103
- Manager: uf,
3104
- Socket: b1,
3103
+ Manager: QD,
3104
+ Socket: E1,
3105
3105
  io: gD,
3106
3106
  connect: gD
3107
3107
  });
3108
- const ve = () => typeof location > "u" ? "unknown-host" : location.host, Ef = (u, D = ve()) => `${u}-${D}`;
3109
- function we(u, D, f) {
3108
+ const ye = () => typeof location > "u" ? "unknown-host" : location.host, lf = (u, D = ye()) => `${u}-${D}`;
3109
+ function ve(u, D, f) {
3110
3110
  if (typeof D > "u") throw new Error("Value cannot be undefined");
3111
- return localStorage.setItem(Ef(u, f), JSON.stringify(D)), !0;
3111
+ return localStorage.setItem(lf(u, f), JSON.stringify(D)), !0;
3112
3112
  }
3113
- function Ae(u, D) {
3114
- const f = localStorage.getItem(Ef(u, D));
3113
+ function we(u, D) {
3114
+ const f = localStorage.getItem(lf(u, D));
3115
3115
  return f === null ? null : JSON.parse(f);
3116
3116
  }
3117
- function xe(u, D) {
3118
- localStorage.removeItem(Ef(u, D));
3117
+ function Ae(u, D) {
3118
+ localStorage.removeItem(lf(u, D));
3119
3119
  }
3120
- const X = { setItem: we, getItem: Ae, removeItem: xe }, wD = class wD {
3120
+ const X = { setItem: ve, getItem: we, removeItem: Ae }, wD = class wD {
3121
3121
  constructor(D, f, e) {
3122
3122
  lD(this, "socket");
3123
3123
  lD(this, "config");
@@ -3251,11 +3251,11 @@ lD(wD, "defaultConfig", {
3251
3251
  upgrade: !0,
3252
3252
  withCredentials: !0
3253
3253
  });
3254
- let Df = wD, qD;
3255
- const ke = (u, D) => {
3254
+ let uf = wD, qD;
3255
+ const xe = (u, D) => {
3256
3256
  var e;
3257
3257
  const f = (e = X.getItem("profileLiveChat")) == null ? void 0 : e.id;
3258
- return qD || (qD = new Df(
3258
+ return qD || (qD = new uf(
3259
3259
  u.apiUrl,
3260
3260
  {
3261
3261
  query: {
@@ -3266,11 +3266,11 @@ const ke = (u, D) => {
3266
3266
  },
3267
3267
  D
3268
3268
  )), qD;
3269
- }, p1 = qu({
3269
+ }, h1 = qu({
3270
3270
  socket: {}
3271
- }), B1 = (u) => {
3271
+ }), b1 = (u) => {
3272
3272
  const D = Wu(), f = gu(
3273
- ke(D, {
3273
+ xe(D, {
3274
3274
  onConnect: () => {
3275
3275
  console.info(
3276
3276
  "Hexabot Live Chat : Successfully established WS Connection!"
@@ -3284,11 +3284,11 @@ const ke = (u, D) => {
3284
3284
  }
3285
3285
  })
3286
3286
  );
3287
- return /* @__PURE__ */ a.jsx(p1.Provider, { value: { socket: f.current }, children: u.children });
3288
- }, tD = () => Hu(p1), ff = (u, D) => {
3287
+ return /* @__PURE__ */ a.jsx(h1.Provider, { value: { socket: f.current }, children: u.children });
3288
+ }, tD = () => Hu(h1), Df = (u, D) => {
3289
3289
  const { socket: f } = tD();
3290
3290
  Z(() => (f.on(u, D), () => f.off(u, D)), [u, D, f]);
3291
- }, je = () => {
3291
+ }, ke = () => {
3292
3292
  const { socket: u } = tD();
3293
3293
  Z(() => (u.connect(), () => {
3294
3294
  u.disconnect();
@@ -3322,15 +3322,15 @@ const ke = (u, D) => {
3322
3322
  end_time: "",
3323
3323
  time_zone: "Etc/GMT+12"
3324
3324
  }
3325
- }, m1 = qu(_D), g1 = ({
3325
+ }, p1 = qu(_D), B1 = ({
3326
3326
  children: u
3327
3327
  }) => {
3328
- const { t: D } = zu(), f = $f.getItem("settings"), [e, t] = U(
3328
+ const { t: D } = zu(), f = If.getItem("settings"), [e, t] = U(
3329
3329
  f || _D
3330
3330
  ), n = Mu((r) => {
3331
- $f.setItem("settings", r), t(r);
3331
+ If.setItem("settings", r), t(r);
3332
3332
  }, []);
3333
- return ff("settings", (r) => {
3333
+ return Df("settings", (r) => {
3334
3334
  var s;
3335
3335
  n({
3336
3336
  ..._D,
@@ -3351,8 +3351,8 @@ const ke = (u, D) => {
3351
3351
  termsAndConditions: r.terms_and_conditions || _D.termsAndConditions,
3352
3352
  offline_mode: r.offline_mode
3353
3353
  });
3354
- }), /* @__PURE__ */ a.jsx(m1.Provider, { value: e, children: u });
3355
- }, pu = () => Hu(m1), _1 = qu(void 0), y1 = ({
3354
+ }), /* @__PURE__ */ a.jsx(p1.Provider, { value: e, children: u });
3355
+ }, pu = () => Hu(p1), m1 = qu(void 0), g1 = ({
3356
3356
  onOpen: u,
3357
3357
  onClose: D,
3358
3358
  onScrollToTop: f,
@@ -3379,13 +3379,13 @@ const ke = (u, D) => {
3379
3379
  l(g), f && n && g === 0 && f();
3380
3380
  }
3381
3381
  };
3382
- return /* @__PURE__ */ a.jsx(_1.Provider, { value: x, children: t });
3382
+ return /* @__PURE__ */ a.jsx(m1.Provider, { value: x, children: t });
3383
3383
  }, Nu = () => {
3384
- const u = Hu(_1);
3384
+ const u = Hu(m1);
3385
3385
  if (u === void 0)
3386
3386
  throw new Error("useWidget must be used within a WidgetProvider");
3387
3387
  return u;
3388
- }, Se = (u) => new Intl.DateTimeFormat("en-GB", {
3388
+ }, je = (u) => new Intl.DateTimeFormat("en-GB", {
3389
3389
  hour: "2-digit",
3390
3390
  minute: "2-digit",
3391
3391
  hour12: !1,
@@ -3394,7 +3394,7 @@ const ke = (u, D) => {
3394
3394
  const D = u || {};
3395
3395
  if (!D || D.status !== "active") return !1;
3396
3396
  if (D.start_time && D.end_time && D.time_zone) {
3397
- const f = Se(D.time_zone);
3397
+ const f = je(D.time_zone);
3398
3398
  return !(f >= D.start_time && f <= D.end_time);
3399
3399
  }
3400
3400
  return !0;
@@ -3452,7 +3452,7 @@ const ke = (u, D) => {
3452
3452
  isOfflineMode: !1,
3453
3453
  setIsOfflineMode: () => {
3454
3454
  }
3455
- }, v1 = qu(yu), w1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3455
+ }, _1 = qu(yu), y1 = ({ wantToConnect: u, defaultConnectionState: D = 0, children: f }) => {
3456
3456
  const e = Wu(), t = pu(), { screen: n, setScreen: r } = Nu(), { setScroll: s, syncState: F, isOpen: d } = Nu(), o = tD(), [c, l] = U(
3457
3457
  yu.participants
3458
3458
  ), [j, v] = U(
@@ -3486,7 +3486,7 @@ const ke = (u, D) => {
3486
3486
  ]), s(0), "direction" in S && S.direction === uu.received && !S.isOffline && V(!1)), S && "data" in S && "quick_replies" in S.data ? I(
3487
3487
  (S.data.quick_replies || []).map(
3488
3488
  (Du) => ({
3489
- content_type: u1.text,
3489
+ content_type: Zf.text,
3490
3490
  text: Du.title,
3491
3491
  payload: Du.payload
3492
3492
  })
@@ -3565,9 +3565,9 @@ const ke = (u, D) => {
3565
3565
  o
3566
3566
  ]
3567
3567
  );
3568
- ff(YD.message, (S) => {
3568
+ Df(WD.message, (S) => {
3569
3569
  _u(S);
3570
- }), ff(YD.typing, _);
3570
+ }), Df(WD.typing, _);
3571
3571
  const Pu = (S) => {
3572
3572
  S ? (p(S), r("webview")) : r("chat");
3573
3573
  };
@@ -3582,7 +3582,7 @@ const ke = (u, D) => {
3582
3582
  }
3583
3583
  !S && !Cu && r("prechat");
3584
3584
  }
3585
- }, [d]), b0("logout", () => {
3585
+ }, [d]), h0("logout", () => {
3586
3586
  o.socket.disconnect();
3587
3587
  }), Z(() => {
3588
3588
  n === "chat" && j === eD.connected && ou();
@@ -3635,9 +3635,9 @@ const ke = (u, D) => {
3635
3635
  isOfflineMode: M,
3636
3636
  setIsOfflineMode: V
3637
3637
  };
3638
- return /* @__PURE__ */ a.jsx(v1.Provider, { value: Iu, children: f });
3638
+ return /* @__PURE__ */ a.jsx(_1.Provider, { value: Iu, children: f });
3639
3639
  }, du = () => {
3640
- const u = Hu(v1);
3640
+ const u = Hu(_1);
3641
3641
  if (!u)
3642
3642
  throw new Error("useChat must be used within a ChatContext");
3643
3643
  return u;
@@ -3887,21 +3887,21 @@ const ke = (u, D) => {
3887
3887
  text: "#9C9C9C"
3888
3888
  }
3889
3889
  }
3890
- }, Te = (u) => {
3890
+ }, Se = (u) => {
3891
3891
  const D = u.replace("#", ""), f = parseInt(D.substring(0, 2), 16), e = parseInt(D.substring(2, 4), 16), t = parseInt(D.substring(4, 6), 16);
3892
3892
  return (0.299 * f + 0.587 * e + 0.114 * t) / 255 > 0.5 ? "#000000" : "#FFFFFF";
3893
- }, Ne = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Oe = (u) => {
3893
+ }, Te = (u) => /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(u), Ne = (u) => {
3894
3894
  const D = u.replace("#", "");
3895
3895
  return {
3896
3896
  r: parseInt(D.substring(0, 2), 16),
3897
3897
  g: parseInt(D.substring(2, 4), 16),
3898
3898
  b: parseInt(D.substring(4, 6), 16)
3899
3899
  };
3900
- }, Re = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ef = (u) => {
3901
- const D = Re(u);
3902
- if (!Ne(D))
3903
- return console.warn(`Invalid color: ${u}, using default blue theme`), ef("#0074D9");
3904
- const f = Te(D), e = Oe(D), t = Math.min(255, Math.floor(e.r + (255 - e.r) * 0.9)), n = Math.min(255, Math.floor(e.g + (255 - e.g) * 0.9)), r = Math.min(255, Math.floor(e.b + (255 - e.b) * 0.9)), s = `#${t.toString(16).padStart(2, "0")}${n.toString(16).padStart(2, "0")}${r.toString(16).padStart(2, "0")}`, F = Math.max(0, Math.floor(e.r * 0.8)), d = Math.max(0, Math.floor(e.g * 0.8)), o = Math.max(0, Math.floor(e.b * 0.8));
3900
+ }, Oe = (u) => (u.startsWith("#") || (u = "#" + u), u.length === 4 ? "#" + u[1] + u[1] + u[2] + u[2] + u[3] + u[3] : u), ff = (u) => {
3901
+ const D = Oe(u);
3902
+ if (!Te(D))
3903
+ return console.warn(`Invalid color: ${u}, using default blue theme`), ff("#0074D9");
3904
+ const f = Se(D), e = Ne(D), t = Math.min(255, Math.floor(e.r + (255 - e.r) * 0.9)), n = Math.min(255, Math.floor(e.g + (255 - e.g) * 0.9)), r = Math.min(255, Math.floor(e.b + (255 - e.b) * 0.9)), s = `#${t.toString(16).padStart(2, "0")}${n.toString(16).padStart(2, "0")}${r.toString(16).padStart(2, "0")}`, F = Math.max(0, Math.floor(e.r * 0.8)), d = Math.max(0, Math.floor(e.g * 0.8)), o = Math.max(0, Math.floor(e.b * 0.8));
3905
3905
  return `${F.toString(16).padStart(2, "0")}${d.toString(16).padStart(2, "0")}${o.toString(16).padStart(2, "0")}`, {
3906
3906
  header: {
3907
3907
  bg: D,
@@ -3937,7 +3937,7 @@ const ke = (u, D) => {
3937
3937
  text: "#9C9C9C"
3938
3938
  }
3939
3939
  };
3940
- }, Vf = {
3940
+ }, Uf = {
3941
3941
  orange: "#FF851B",
3942
3942
  red: "#FF4136",
3943
3943
  green: "#2ECC40",
@@ -3945,14 +3945,14 @@ const ke = (u, D) => {
3945
3945
  teal: "#1BA089",
3946
3946
  dark: "#000000",
3947
3947
  purple: "#7950F2"
3948
- }, Pe = (u) => Vf[u] ? ef(Vf[u]) : ef(u), Ie = () => ({
3948
+ }, Re = (u) => Uf[u] ? ff(Uf[u]) : ff(u), Pe = () => ({
3949
3949
  bg: "#f6f8f9",
3950
3950
  // Light gray background
3951
3951
  text: "#000"
3952
3952
  // Black text
3953
- }), $e = yD.orange, A1 = qu({
3954
- colors: $e
3955
- }), x1 = ({
3953
+ }), Ie = yD.orange, v1 = qu({
3954
+ colors: Ie
3955
+ }), w1 = ({
3956
3956
  children: u
3957
3957
  }) => {
3958
3958
  const D = pu(), f = () => {
@@ -3961,24 +3961,24 @@ const ke = (u, D) => {
3961
3961
  return yD[e];
3962
3962
  try {
3963
3963
  return {
3964
- ...Pe(e),
3964
+ ...Re(e),
3965
3965
  // Keep received message colors fixed (admin chat)
3966
- received: Ie()
3966
+ received: Pe()
3967
3967
  };
3968
3968
  } catch {
3969
3969
  return console.warn(`Failed to generate theme for color: ${e}, using orange fallback`), yD.orange;
3970
3970
  }
3971
3971
  };
3972
- return /* @__PURE__ */ a.jsx(A1.Provider, { value: { colors: f() }, children: u });
3972
+ return /* @__PURE__ */ a.jsx(v1.Provider, { value: { colors: f() }, children: u });
3973
3973
  }, iu = () => {
3974
- const u = Hu(A1);
3974
+ const u = Hu(v1);
3975
3975
  if (!u)
3976
3976
  throw new Error("useColors must be used within a ColorProvider");
3977
3977
  return u;
3978
- }, hf = ({
3978
+ }, Ef = ({
3979
3979
  viewBox: u = "0 0 24 24",
3980
3980
  ...D
3981
- }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }), k1 = ({
3981
+ }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }), A1 = ({
3982
3982
  width: u = "24",
3983
3983
  height: D = "24",
3984
3984
  logoUrl: f,
@@ -4003,7 +4003,7 @@ const ke = (u, D) => {
4003
4003
  )
4004
4004
  ]
4005
4005
  }
4006
- ), Le = ({
4006
+ ), $e = ({
4007
4007
  onSendNoticeToStaff: u
4008
4008
  }) => {
4009
4009
  const [D, f] = U(!1), e = gu(null), { send: t } = du(), n = async (r) => {
@@ -4053,7 +4053,7 @@ const ke = (u, D) => {
4053
4053
  }
4054
4054
  ) })
4055
4055
  ] });
4056
- }, Me = ({ children: u }) => {
4056
+ }, Le = ({ children: u }) => {
4057
4057
  const D = pu(), { colors: f } = iu(), e = Nu();
4058
4058
  return /* @__PURE__ */ a.jsxs(
4059
4059
  "div",
@@ -4078,14 +4078,14 @@ const ke = (u, D) => {
4078
4078
  className: "sc-open-icon",
4079
4079
  style: { borderRadius: "50%" }
4080
4080
  }
4081
- ) : /* @__PURE__ */ a.jsx(k1, { width: 32, height: 32 })
4081
+ ) : /* @__PURE__ */ a.jsx(A1, { width: 32, height: 32 })
4082
4082
  }
4083
4083
  ),
4084
4084
  /* @__PURE__ */ a.jsx("div", { className: "sc-header--title", children: D.title })
4085
4085
  ] }),
4086
4086
  /* @__PURE__ */ a.jsxs("div", { className: "sc-header--actions", children: [
4087
4087
  /* @__PURE__ */ a.jsx(
4088
- Le,
4088
+ $e,
4089
4089
  {
4090
4090
  onChatWithStaff: () => {
4091
4091
  console.log("Chat with staff requested");
@@ -4100,14 +4100,14 @@ const ke = (u, D) => {
4100
4100
  {
4101
4101
  className: "sc-header--close-button",
4102
4102
  onClick: () => e.setIsOpen(!1),
4103
- children: /* @__PURE__ */ a.jsx(hf, {})
4103
+ children: /* @__PURE__ */ a.jsx(Ef, {})
4104
4104
  }
4105
4105
  )
4106
4106
  ] })
4107
4107
  ]
4108
4108
  }
4109
4109
  );
4110
- }, qe = ({
4110
+ }, Me = ({
4111
4111
  width: u = "100",
4112
4112
  height: D = "100",
4113
4113
  x: f = "0",
@@ -4132,7 +4132,7 @@ const ke = (u, D) => {
4132
4132
  /* @__PURE__ */ a.jsx("path", { d: "M349.926 17.756c141.317 87.019 164.005 282.465 47.152 399.321-74.64 74.638-183.463 93.269-274.888 57.282 97.36 59.953 228.457 49.147 314.888-37.282 131.453-131.456 82.523-352.533-87.152-419.321z" })
4133
4133
  ]
4134
4134
  }
4135
- ), ze = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4135
+ ), qe = ({ size: u = 50, color: D = "#000", ...f }) => /* @__PURE__ */ a.jsxs(
4136
4136
  "svg",
4137
4137
  {
4138
4138
  width: u,
@@ -4192,7 +4192,7 @@ const ke = (u, D) => {
4192
4192
  ] })
4193
4193
  ]
4194
4194
  }
4195
- ), Ue = () => {
4195
+ ), ze = () => {
4196
4196
  const { t: u } = zu(), { connectionState: D, setConnectionState: f } = du(), { colors: e } = iu(), t = () => {
4197
4197
  D === 0 && f(1);
4198
4198
  }, n = D > 0;
@@ -4201,8 +4201,8 @@ const ke = (u, D) => {
4201
4201
  {
4202
4202
  className: "sc-chat--disconnected-icon-wrapper",
4203
4203
  style: { backgroundColor: e.messageList.bg },
4204
- children: n ? /* @__PURE__ */ a.jsx(ze, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4205
- /* @__PURE__ */ a.jsx(qe, {}),
4204
+ children: n ? /* @__PURE__ */ a.jsx(qe, { className: "loading-image" }) : /* @__PURE__ */ a.jsxs("div", { className: "sc-chat--disconnected-icon", children: [
4205
+ /* @__PURE__ */ a.jsx(Me, {}),
4206
4206
  /* @__PURE__ */ a.jsx(
4207
4207
  "h3",
4208
4208
  {
@@ -4228,287 +4228,285 @@ const ke = (u, D) => {
4228
4228
  }
4229
4229
  );
4230
4230
  };
4231
- var zD = { exports: {} }, Hf;
4232
- function j1() {
4233
- return Hf || (Hf = 1, function(u, D) {
4234
- (function(f, e) {
4235
- u.exports = e();
4236
- })(dD, function() {
4237
- var f = 1e3, e = 6e4, t = 36e5, n = "millisecond", r = "second", s = "minute", F = "hour", d = "day", o = "week", c = "month", l = "quarter", j = "year", v = "date", C = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) {
4238
- var E = ["th", "st", "nd", "rd"], h = k % 100;
4239
- return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4240
- } }, T = function(k, E, h) {
4241
- var A = String(k);
4242
- return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4243
- }, _ = { s: T, z: function(k) {
4244
- var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4245
- return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4246
- }, m: function k(E, h) {
4247
- if (E.date() < h.date()) return -k(h, E);
4248
- var A = 12 * (h.year() - E.year()) + (h.month() - E.month()), p = E.clone().add(A, c), R = h - p < 0, N = E.clone().add(A + (R ? -1 : 1), c);
4249
- return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4250
- }, a: function(k) {
4251
- return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4252
- }, p: function(k) {
4253
- return { M: c, y: j, w: o, d, D: v, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4254
- }, u: function(k) {
4255
- return k === void 0;
4256
- } }, B = "en", I = {};
4257
- I[B] = g;
4258
- var P = "$isDayjsObject", q = function(k) {
4259
- return k instanceof hu || !(!k || !k[P]);
4260
- }, m = function k(E, h, A) {
4261
- var p;
4262
- if (!E) return B;
4263
- if (typeof E == "string") {
4264
- var R = E.toLowerCase();
4265
- I[R] && (p = R), h && (I[R] = h, p = R);
4266
- var N = E.split("-");
4267
- if (!p && N.length > 1) return k(N[0]);
4268
- } else {
4269
- var M = E.name;
4270
- I[M] = E, p = M;
4271
- }
4272
- return !A && p && (B = p), p || !A && B;
4273
- }, O = function(k, E) {
4274
- if (q(k)) return k.clone();
4275
- var h = typeof E == "object" ? E : {};
4276
- return h.date = k, h.args = arguments, new hu(h);
4277
- }, L = _;
4278
- L.l = m, L.i = q, L.w = function(k, E) {
4279
- return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4280
- };
4281
- var hu = function() {
4282
- function k(h) {
4283
- this.$L = m(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4284
- }
4285
- var E = k.prototype;
4286
- return E.parse = function(h) {
4287
- this.$d = function(A) {
4288
- var p = A.date, R = A.utc;
4289
- if (p === null) return /* @__PURE__ */ new Date(NaN);
4290
- if (L.u(p)) return /* @__PURE__ */ new Date();
4291
- if (p instanceof Date) return new Date(p);
4292
- if (typeof p == "string" && !/Z$/i.test(p)) {
4293
- var N = p.match(y);
4294
- if (N) {
4295
- var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4296
- return R ? new Date(Date.UTC(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V)) : new Date(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V);
4297
- }
4231
+ var x1 = { exports: {} };
4232
+ (function(u, D) {
4233
+ (function(f, e) {
4234
+ u.exports = e();
4235
+ })(dD, function() {
4236
+ var f = 1e3, e = 6e4, t = 36e5, n = "millisecond", r = "second", s = "minute", F = "hour", d = "day", o = "week", c = "month", l = "quarter", j = "year", v = "date", C = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) {
4237
+ var E = ["th", "st", "nd", "rd"], h = k % 100;
4238
+ return "[" + k + (E[(h - 20) % 10] || E[h] || E[0]) + "]";
4239
+ } }, T = function(k, E, h) {
4240
+ var A = String(k);
4241
+ return !A || A.length >= E ? k : "" + Array(E + 1 - A.length).join(h) + k;
4242
+ }, _ = { s: T, z: function(k) {
4243
+ var E = -k.utcOffset(), h = Math.abs(E), A = Math.floor(h / 60), p = h % 60;
4244
+ return (E <= 0 ? "+" : "-") + T(A, 2, "0") + ":" + T(p, 2, "0");
4245
+ }, m: function k(E, h) {
4246
+ if (E.date() < h.date()) return -k(h, E);
4247
+ var A = 12 * (h.year() - E.year()) + (h.month() - E.month()), p = E.clone().add(A, c), R = h - p < 0, N = E.clone().add(A + (R ? -1 : 1), c);
4248
+ return +(-(A + (h - p) / (R ? p - N : N - p)) || 0);
4249
+ }, a: function(k) {
4250
+ return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
4251
+ }, p: function(k) {
4252
+ return { M: c, y: j, w: o, d, D: v, h: F, m: s, s: r, ms: n, Q: l }[k] || String(k || "").toLowerCase().replace(/s$/, "");
4253
+ }, u: function(k) {
4254
+ return k === void 0;
4255
+ } }, B = "en", I = {};
4256
+ I[B] = g;
4257
+ var P = "$isDayjsObject", q = function(k) {
4258
+ return k instanceof hu || !(!k || !k[P]);
4259
+ }, m = function k(E, h, A) {
4260
+ var p;
4261
+ if (!E) return B;
4262
+ if (typeof E == "string") {
4263
+ var R = E.toLowerCase();
4264
+ I[R] && (p = R), h && (I[R] = h, p = R);
4265
+ var N = E.split("-");
4266
+ if (!p && N.length > 1) return k(N[0]);
4267
+ } else {
4268
+ var M = E.name;
4269
+ I[M] = E, p = M;
4270
+ }
4271
+ return !A && p && (B = p), p || !A && B;
4272
+ }, O = function(k, E) {
4273
+ if (q(k)) return k.clone();
4274
+ var h = typeof E == "object" ? E : {};
4275
+ return h.date = k, h.args = arguments, new hu(h);
4276
+ }, L = _;
4277
+ L.l = m, L.i = q, L.w = function(k, E) {
4278
+ return O(k, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4279
+ };
4280
+ var hu = function() {
4281
+ function k(h) {
4282
+ this.$L = m(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[P] = !0;
4283
+ }
4284
+ var E = k.prototype;
4285
+ return E.parse = function(h) {
4286
+ this.$d = function(A) {
4287
+ var p = A.date, R = A.utc;
4288
+ if (p === null) return /* @__PURE__ */ new Date(NaN);
4289
+ if (L.u(p)) return /* @__PURE__ */ new Date();
4290
+ if (p instanceof Date) return new Date(p);
4291
+ if (typeof p == "string" && !/Z$/i.test(p)) {
4292
+ var N = p.match(y);
4293
+ if (N) {
4294
+ var M = N[2] - 1 || 0, V = (N[7] || "0").substring(0, 3);
4295
+ return R ? new Date(Date.UTC(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V)) : new Date(N[1], M, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, V);
4298
4296
  }
4299
- return new Date(p);
4300
- }(h), this.init();
4301
- }, E.init = function() {
4302
- var h = this.$d;
4303
- this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4304
- }, E.$utils = function() {
4305
- return L;
4306
- }, E.isValid = function() {
4307
- return this.$d.toString() !== C;
4308
- }, E.isSame = function(h, A) {
4309
- var p = O(h);
4310
- return this.startOf(A) <= p && p <= this.endOf(A);
4311
- }, E.isAfter = function(h, A) {
4312
- return O(h) < this.startOf(A);
4313
- }, E.isBefore = function(h, A) {
4314
- return this.endOf(A) < O(h);
4315
- }, E.$g = function(h, A, p) {
4316
- return L.u(h) ? this[A] : this.set(p, h);
4317
- }, E.unix = function() {
4318
- return Math.floor(this.valueOf() / 1e3);
4319
- }, E.valueOf = function() {
4320
- return this.$d.getTime();
4321
- }, E.startOf = function(h, A) {
4322
- var p = this, R = !!L.u(A) || A, N = L.p(h), M = function(Bu, ru) {
4323
- var ou = L.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4324
- return R ? ou : ou.endOf(d);
4325
- }, V = function(Bu, ru) {
4326
- return L.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4327
- }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4328
- switch (N) {
4329
- case j:
4330
- return R ? M(1, 0) : M(31, 11);
4331
- case c:
4332
- return R ? M(1, z) : M(0, z + 1);
4333
- case o:
4334
- var Cu = this.$locale().weekStart || 0, _u = (J < Cu ? J + 7 : J) - Cu;
4335
- return M(R ? Q - _u : Q + (6 - _u), z);
4336
- case d:
4337
- case v:
4338
- return V(tu + "Hours", 0);
4339
- case F:
4340
- return V(tu + "Minutes", 1);
4341
- case s:
4342
- return V(tu + "Seconds", 2);
4343
- case r:
4344
- return V(tu + "Milliseconds", 3);
4345
- default:
4346
- return this.clone();
4347
- }
4348
- }, E.endOf = function(h) {
4349
- return this.startOf(h, !1);
4350
- }, E.$set = function(h, A) {
4351
- var p, R = L.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[v] = N + "Date", p[c] = N + "Month", p[j] = N + "FullYear", p[F] = N + "Hours", p[s] = N + "Minutes", p[r] = N + "Seconds", p[n] = N + "Milliseconds", p)[R], V = R === d ? this.$D + (A - this.$W) : A;
4352
- if (R === c || R === j) {
4353
- var J = this.clone().set(v, 1);
4354
- J.$d[M](V), J.init(), this.$d = J.set(v, Math.min(this.$D, J.daysInMonth())).$d;
4355
- } else M && this.$d[M](V);
4356
- return this.init(), this;
4357
- }, E.set = function(h, A) {
4358
- return this.clone().$set(h, A);
4359
- }, E.get = function(h) {
4360
- return this[L.p(h)]();
4361
- }, E.add = function(h, A) {
4362
- var p, R = this;
4363
- h = Number(h);
4364
- var N = L.p(A), M = function(z) {
4365
- var Q = O(R);
4366
- return L.w(Q.date(Q.date() + Math.round(z * h)), R);
4367
- };
4368
- if (N === c) return this.set(c, this.$M + h);
4369
- if (N === j) return this.set(j, this.$y + h);
4370
- if (N === d) return M(1);
4371
- if (N === o) return M(7);
4372
- var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4373
- return L.w(J, this);
4374
- }, E.subtract = function(h, A) {
4375
- return this.add(-1 * h, A);
4376
- }, E.format = function(h) {
4377
- var A = this, p = this.$locale();
4378
- if (!this.isValid()) return p.invalidDate || C;
4379
- var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = L.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, Cu = function(ru, ou, Pu, Iu) {
4380
- return ru && (ru[ou] || ru(A, R)) || Pu[ou].slice(0, Iu);
4381
- }, _u = function(ru) {
4382
- return L.s(M % 12 || 12, ru, "0");
4383
- }, Bu = tu || function(ru, ou, Pu) {
4384
- var Iu = ru < 12 ? "AM" : "PM";
4385
- return Pu ? Iu.toLowerCase() : Iu;
4386
- };
4387
- return R.replace(x, function(ru, ou) {
4388
- return ou || function(Pu) {
4389
- switch (Pu) {
4390
- case "YY":
4391
- return String(A.$y).slice(-2);
4392
- case "YYYY":
4393
- return L.s(A.$y, 4, "0");
4394
- case "M":
4395
- return J + 1;
4396
- case "MM":
4397
- return L.s(J + 1, 2, "0");
4398
- case "MMM":
4399
- return Cu(p.monthsShort, J, Q, 3);
4400
- case "MMMM":
4401
- return Cu(Q, J);
4402
- case "D":
4403
- return A.$D;
4404
- case "DD":
4405
- return L.s(A.$D, 2, "0");
4406
- case "d":
4407
- return String(A.$W);
4408
- case "dd":
4409
- return Cu(p.weekdaysMin, A.$W, z, 2);
4410
- case "ddd":
4411
- return Cu(p.weekdaysShort, A.$W, z, 3);
4412
- case "dddd":
4413
- return z[A.$W];
4414
- case "H":
4415
- return String(M);
4416
- case "HH":
4417
- return L.s(M, 2, "0");
4418
- case "h":
4419
- return _u(1);
4420
- case "hh":
4421
- return _u(2);
4422
- case "a":
4423
- return Bu(M, V, !0);
4424
- case "A":
4425
- return Bu(M, V, !1);
4426
- case "m":
4427
- return String(V);
4428
- case "mm":
4429
- return L.s(V, 2, "0");
4430
- case "s":
4431
- return String(A.$s);
4432
- case "ss":
4433
- return L.s(A.$s, 2, "0");
4434
- case "SSS":
4435
- return L.s(A.$ms, 3, "0");
4436
- case "Z":
4437
- return N;
4438
- }
4439
- return null;
4440
- }(ru) || N.replace(":", "");
4441
- });
4442
- }, E.utcOffset = function() {
4443
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4444
- }, E.diff = function(h, A, p) {
4445
- var R, N = this, M = L.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4446
- return L.m(N, V);
4447
- };
4448
- switch (M) {
4449
- case j:
4450
- R = Q() / 12;
4451
- break;
4452
- case c:
4453
- R = Q();
4454
- break;
4455
- case l:
4456
- R = Q() / 3;
4457
- break;
4458
- case o:
4459
- R = (z - J) / 6048e5;
4460
- break;
4461
- case d:
4462
- R = (z - J) / 864e5;
4463
- break;
4464
- case F:
4465
- R = z / t;
4466
- break;
4467
- case s:
4468
- R = z / e;
4469
- break;
4470
- case r:
4471
- R = z / f;
4472
- break;
4473
- default:
4474
- R = z;
4475
4297
  }
4476
- return p ? R : L.a(R);
4477
- }, E.daysInMonth = function() {
4478
- return this.endOf(c).$D;
4479
- }, E.$locale = function() {
4480
- return I[this.$L];
4481
- }, E.locale = function(h, A) {
4482
- if (!h) return this.$L;
4483
- var p = this.clone(), R = m(h, A, !0);
4484
- return R && (p.$L = R), p;
4485
- }, E.clone = function() {
4486
- return L.w(this.$d, this);
4487
- }, E.toDate = function() {
4488
- return new Date(this.valueOf());
4489
- }, E.toJSON = function() {
4490
- return this.isValid() ? this.toISOString() : null;
4491
- }, E.toISOString = function() {
4492
- return this.$d.toISOString();
4493
- }, E.toString = function() {
4494
- return this.$d.toUTCString();
4495
- }, k;
4496
- }(), fu = hu.prototype;
4497
- return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", v]].forEach(function(k) {
4498
- fu[k[1]] = function(E) {
4499
- return this.$g(E, k[0], k[1]);
4298
+ return new Date(p);
4299
+ }(h), this.init();
4300
+ }, E.init = function() {
4301
+ var h = this.$d;
4302
+ this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4303
+ }, E.$utils = function() {
4304
+ return L;
4305
+ }, E.isValid = function() {
4306
+ return this.$d.toString() !== C;
4307
+ }, E.isSame = function(h, A) {
4308
+ var p = O(h);
4309
+ return this.startOf(A) <= p && p <= this.endOf(A);
4310
+ }, E.isAfter = function(h, A) {
4311
+ return O(h) < this.startOf(A);
4312
+ }, E.isBefore = function(h, A) {
4313
+ return this.endOf(A) < O(h);
4314
+ }, E.$g = function(h, A, p) {
4315
+ return L.u(h) ? this[A] : this.set(p, h);
4316
+ }, E.unix = function() {
4317
+ return Math.floor(this.valueOf() / 1e3);
4318
+ }, E.valueOf = function() {
4319
+ return this.$d.getTime();
4320
+ }, E.startOf = function(h, A) {
4321
+ var p = this, R = !!L.u(A) || A, N = L.p(h), M = function(Bu, ru) {
4322
+ var ou = L.w(p.$u ? Date.UTC(p.$y, ru, Bu) : new Date(p.$y, ru, Bu), p);
4323
+ return R ? ou : ou.endOf(d);
4324
+ }, V = function(Bu, ru) {
4325
+ return L.w(p.toDate()[Bu].apply(p.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ru)), p);
4326
+ }, J = this.$W, z = this.$M, Q = this.$D, tu = "set" + (this.$u ? "UTC" : "");
4327
+ switch (N) {
4328
+ case j:
4329
+ return R ? M(1, 0) : M(31, 11);
4330
+ case c:
4331
+ return R ? M(1, z) : M(0, z + 1);
4332
+ case o:
4333
+ var Cu = this.$locale().weekStart || 0, _u = (J < Cu ? J + 7 : J) - Cu;
4334
+ return M(R ? Q - _u : Q + (6 - _u), z);
4335
+ case d:
4336
+ case v:
4337
+ return V(tu + "Hours", 0);
4338
+ case F:
4339
+ return V(tu + "Minutes", 1);
4340
+ case s:
4341
+ return V(tu + "Seconds", 2);
4342
+ case r:
4343
+ return V(tu + "Milliseconds", 3);
4344
+ default:
4345
+ return this.clone();
4346
+ }
4347
+ }, E.endOf = function(h) {
4348
+ return this.startOf(h, !1);
4349
+ }, E.$set = function(h, A) {
4350
+ var p, R = L.p(h), N = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[d] = N + "Date", p[v] = N + "Date", p[c] = N + "Month", p[j] = N + "FullYear", p[F] = N + "Hours", p[s] = N + "Minutes", p[r] = N + "Seconds", p[n] = N + "Milliseconds", p)[R], V = R === d ? this.$D + (A - this.$W) : A;
4351
+ if (R === c || R === j) {
4352
+ var J = this.clone().set(v, 1);
4353
+ J.$d[M](V), J.init(), this.$d = J.set(v, Math.min(this.$D, J.daysInMonth())).$d;
4354
+ } else M && this.$d[M](V);
4355
+ return this.init(), this;
4356
+ }, E.set = function(h, A) {
4357
+ return this.clone().$set(h, A);
4358
+ }, E.get = function(h) {
4359
+ return this[L.p(h)]();
4360
+ }, E.add = function(h, A) {
4361
+ var p, R = this;
4362
+ h = Number(h);
4363
+ var N = L.p(A), M = function(z) {
4364
+ var Q = O(R);
4365
+ return L.w(Q.date(Q.date() + Math.round(z * h)), R);
4500
4366
  };
4501
- }), O.extend = function(k, E) {
4502
- return k.$i || (k(E, hu, O), k.$i = !0), O;
4503
- }, O.locale = m, O.isDayjs = q, O.unix = function(k) {
4504
- return O(1e3 * k);
4505
- }, O.en = I[B], O.Ls = I, O.p = {}, O;
4506
- });
4507
- }(zD)), zD.exports;
4508
- }
4509
- var Ve = j1();
4510
- const S1 = /* @__PURE__ */ Ff(Ve);
4511
- var He = { exports: {} };
4367
+ if (N === c) return this.set(c, this.$M + h);
4368
+ if (N === j) return this.set(j, this.$y + h);
4369
+ if (N === d) return M(1);
4370
+ if (N === o) return M(7);
4371
+ var V = (p = {}, p[s] = e, p[F] = t, p[r] = f, p)[N] || 1, J = this.$d.getTime() + h * V;
4372
+ return L.w(J, this);
4373
+ }, E.subtract = function(h, A) {
4374
+ return this.add(-1 * h, A);
4375
+ }, E.format = function(h) {
4376
+ var A = this, p = this.$locale();
4377
+ if (!this.isValid()) return p.invalidDate || C;
4378
+ var R = h || "YYYY-MM-DDTHH:mm:ssZ", N = L.z(this), M = this.$H, V = this.$m, J = this.$M, z = p.weekdays, Q = p.months, tu = p.meridiem, Cu = function(ru, ou, Pu, Iu) {
4379
+ return ru && (ru[ou] || ru(A, R)) || Pu[ou].slice(0, Iu);
4380
+ }, _u = function(ru) {
4381
+ return L.s(M % 12 || 12, ru, "0");
4382
+ }, Bu = tu || function(ru, ou, Pu) {
4383
+ var Iu = ru < 12 ? "AM" : "PM";
4384
+ return Pu ? Iu.toLowerCase() : Iu;
4385
+ };
4386
+ return R.replace(x, function(ru, ou) {
4387
+ return ou || function(Pu) {
4388
+ switch (Pu) {
4389
+ case "YY":
4390
+ return String(A.$y).slice(-2);
4391
+ case "YYYY":
4392
+ return L.s(A.$y, 4, "0");
4393
+ case "M":
4394
+ return J + 1;
4395
+ case "MM":
4396
+ return L.s(J + 1, 2, "0");
4397
+ case "MMM":
4398
+ return Cu(p.monthsShort, J, Q, 3);
4399
+ case "MMMM":
4400
+ return Cu(Q, J);
4401
+ case "D":
4402
+ return A.$D;
4403
+ case "DD":
4404
+ return L.s(A.$D, 2, "0");
4405
+ case "d":
4406
+ return String(A.$W);
4407
+ case "dd":
4408
+ return Cu(p.weekdaysMin, A.$W, z, 2);
4409
+ case "ddd":
4410
+ return Cu(p.weekdaysShort, A.$W, z, 3);
4411
+ case "dddd":
4412
+ return z[A.$W];
4413
+ case "H":
4414
+ return String(M);
4415
+ case "HH":
4416
+ return L.s(M, 2, "0");
4417
+ case "h":
4418
+ return _u(1);
4419
+ case "hh":
4420
+ return _u(2);
4421
+ case "a":
4422
+ return Bu(M, V, !0);
4423
+ case "A":
4424
+ return Bu(M, V, !1);
4425
+ case "m":
4426
+ return String(V);
4427
+ case "mm":
4428
+ return L.s(V, 2, "0");
4429
+ case "s":
4430
+ return String(A.$s);
4431
+ case "ss":
4432
+ return L.s(A.$s, 2, "0");
4433
+ case "SSS":
4434
+ return L.s(A.$ms, 3, "0");
4435
+ case "Z":
4436
+ return N;
4437
+ }
4438
+ return null;
4439
+ }(ru) || N.replace(":", "");
4440
+ });
4441
+ }, E.utcOffset = function() {
4442
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4443
+ }, E.diff = function(h, A, p) {
4444
+ var R, N = this, M = L.p(A), V = O(h), J = (V.utcOffset() - this.utcOffset()) * e, z = this - V, Q = function() {
4445
+ return L.m(N, V);
4446
+ };
4447
+ switch (M) {
4448
+ case j:
4449
+ R = Q() / 12;
4450
+ break;
4451
+ case c:
4452
+ R = Q();
4453
+ break;
4454
+ case l:
4455
+ R = Q() / 3;
4456
+ break;
4457
+ case o:
4458
+ R = (z - J) / 6048e5;
4459
+ break;
4460
+ case d:
4461
+ R = (z - J) / 864e5;
4462
+ break;
4463
+ case F:
4464
+ R = z / t;
4465
+ break;
4466
+ case s:
4467
+ R = z / e;
4468
+ break;
4469
+ case r:
4470
+ R = z / f;
4471
+ break;
4472
+ default:
4473
+ R = z;
4474
+ }
4475
+ return p ? R : L.a(R);
4476
+ }, E.daysInMonth = function() {
4477
+ return this.endOf(c).$D;
4478
+ }, E.$locale = function() {
4479
+ return I[this.$L];
4480
+ }, E.locale = function(h, A) {
4481
+ if (!h) return this.$L;
4482
+ var p = this.clone(), R = m(h, A, !0);
4483
+ return R && (p.$L = R), p;
4484
+ }, E.clone = function() {
4485
+ return L.w(this.$d, this);
4486
+ }, E.toDate = function() {
4487
+ return new Date(this.valueOf());
4488
+ }, E.toJSON = function() {
4489
+ return this.isValid() ? this.toISOString() : null;
4490
+ }, E.toISOString = function() {
4491
+ return this.$d.toISOString();
4492
+ }, E.toString = function() {
4493
+ return this.$d.toUTCString();
4494
+ }, k;
4495
+ }(), fu = hu.prototype;
4496
+ return O.prototype = fu, [["$ms", n], ["$s", r], ["$m", s], ["$H", F], ["$W", d], ["$M", c], ["$y", j], ["$D", v]].forEach(function(k) {
4497
+ fu[k[1]] = function(E) {
4498
+ return this.$g(E, k[0], k[1]);
4499
+ };
4500
+ }), O.extend = function(k, E) {
4501
+ return k.$i || (k(E, hu, O), k.$i = !0), O;
4502
+ }, O.locale = m, O.isDayjs = q, O.unix = function(k) {
4503
+ return O(1e3 * k);
4504
+ }, O.en = I[B], O.Ls = I, O.p = {}, O;
4505
+ });
4506
+ })(x1);
4507
+ var k1 = x1.exports;
4508
+ const j1 = /* @__PURE__ */ sf(k1);
4509
+ var Ue = { exports: {} };
4512
4510
  (function(u, D) {
4513
4511
  (function(f, e) {
4514
4512
  u.exports = e();
@@ -4518,11 +4516,11 @@ var He = { exports: {} };
4518
4516
  return "[" + f + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
4519
4517
  } };
4520
4518
  });
4521
- })(He);
4522
- var We = { exports: {} };
4519
+ })(Ue);
4520
+ var Ve = { exports: {} };
4523
4521
  (function(u, D) {
4524
4522
  (function(f, e) {
4525
- u.exports = e(j1());
4523
+ u.exports = e(k1);
4526
4524
  })(dD, function(f) {
4527
4525
  function e(r) {
4528
4526
  return r && typeof r == "object" && "default" in r ? r : { default: r };
@@ -4532,8 +4530,8 @@ var We = { exports: {} };
4532
4530
  } };
4533
4531
  return t.default.locale(n, null, !0), n;
4534
4532
  });
4535
- })(We);
4536
- var T1 = { exports: {} };
4533
+ })(Ve);
4534
+ var S1 = { exports: {} };
4537
4535
  (function(u, D) {
4538
4536
  (function(f, e) {
4539
4537
  u.exports = e();
@@ -4574,9 +4572,9 @@ var T1 = { exports: {} };
4574
4572
  };
4575
4573
  };
4576
4574
  });
4577
- })(T1);
4578
- var Ye = T1.exports;
4579
- const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4575
+ })(S1);
4576
+ var He = S1.exports;
4577
+ const We = /* @__PURE__ */ sf(He), T1 = ({
4580
4578
  width: u = "18",
4581
4579
  height: D = "18",
4582
4580
  ...f
@@ -4671,10 +4669,10 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4671
4669
  },
4672
4670
  F
4673
4671
  )) });
4674
- }, Je = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ge = (u) => u.replace(/\n/g, "<br />"), Xe = (u) => {
4675
- let D = Je(u, 50);
4676
- return D = Ge(u), D;
4677
- }, Ze = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4672
+ }, Ye = (u, D = 100) => u.length > D ? u.substr(0, D) + "..." : u, Ke = (u) => u.replace(/\n/g, "<br />"), Je = (u) => {
4673
+ let D = Ye(u, 50);
4674
+ return D = Ke(u), D;
4675
+ }, Ge = ({ message: u }) => /* @__PURE__ */ a.jsx("div", { className: "sc-message--carousel-element-wrapper", children: /* @__PURE__ */ a.jsxs("div", { className: "sc-message--carousel-element", children: [
4678
4676
  u.image_url && /* @__PURE__ */ a.jsx(
4679
4677
  "div",
4680
4678
  {
@@ -4688,7 +4686,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4688
4686
  "p",
4689
4687
  {
4690
4688
  dangerouslySetInnerHTML: {
4691
- __html: Xe(u.subtitle)
4689
+ __html: Je(u.subtitle)
4692
4690
  }
4693
4691
  }
4694
4692
  )
@@ -4699,7 +4697,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4699
4697
  message: { data: { buttons: u.buttons } }
4700
4698
  }
4701
4699
  )
4702
- ] }) }), Qe = ({
4700
+ ] }) }), Xe = ({
4703
4701
  messageCarousel: u
4704
4702
  }) => {
4705
4703
  const { colors: D } = iu(), [f, e] = U(0), t = u.data.elements, n = () => {
@@ -4723,7 +4721,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4723
4721
  {
4724
4722
  className: "sc-message--carousel-inner",
4725
4723
  style: { transform: `translateX(-${f * 100}%)` },
4726
- children: t.map((d, o) => /* @__PURE__ */ a.jsx(Ze, { message: d, idx: o }, o))
4724
+ children: t.map((d, o) => /* @__PURE__ */ a.jsx(Ge, { message: d, idx: o }, o))
4727
4725
  }
4728
4726
  ),
4729
4727
  F && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -4747,14 +4745,14 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4747
4745
  ]
4748
4746
  }
4749
4747
  );
4750
- }, u3 = ({
4748
+ }, Ze = ({
4751
4749
  viewBox: u = "0 0 512 512",
4752
4750
  ...D
4753
4751
  }) => /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: /* @__PURE__ */ a.jsxs("g", { "data-name": "1", children: [
4754
4752
  /* @__PURE__ */ a.jsx("path", { d: "M378.83 450H150a50.17 50.17 0 01-50.11-50.11V98.11A50.17 50.17 0 01150 48h150.1a15 15 0 0110.61 4.39l113.84 113.88a15 15 0 014.39 10.61v223A50.17 50.17 0 01378.83 450zM150 78a20.13 20.13 0 00-20.11 20.11v301.78A20.13 20.13 0 00150 420h228.83a20.13 20.13 0 0020.11-20.11v-216.8L293.85 78z" }),
4755
4753
  /* @__PURE__ */ a.jsx("path", { d: "M413.94 191.88h-78.77a50.17 50.17 0 01-50.11-50.11V63a15 15 0 0130 0v78.77a20.13 20.13 0 0020.11 20.11h78.77a15 15 0 010 30zM264.4 375a15 15 0 01-10.61-4.4l-54.45-54.44a15 15 0 1121.21-21.22l43.85 43.84 43.84-43.84a15 15 0 1121.21 21.22L275 370.55a15 15 0 01-10.6 4.45z" }),
4756
4754
  /* @__PURE__ */ a.jsx("path", { d: "M264.4 365a15 15 0 01-15-15V231a15 15 0 0130 0v119a15 15 0 01-15 15z" })
4757
- ] }) }), D3 = ({ message: u }) => {
4755
+ ] }) }), Qe = ({ message: u }) => {
4758
4756
  const { t: D } = zu(), { colors: f } = iu(), e = f[u.direction || uu.received];
4759
4757
  if (!("type" in u.data))
4760
4758
  throw new Error("Unable to detect type for file message");
@@ -4794,7 +4792,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4794
4792
  rel: "noopener noreferrer",
4795
4793
  download: !0,
4796
4794
  children: [
4797
- /* @__PURE__ */ a.jsx(u3, {}),
4795
+ /* @__PURE__ */ a.jsx(Ze, {}),
4798
4796
  D("messages.file_message.download")
4799
4797
  ]
4800
4798
  }
@@ -4804,7 +4802,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4804
4802
  ]
4805
4803
  }
4806
4804
  );
4807
- }, f3 = ({ message: u }) => {
4805
+ }, u3 = ({ message: u }) => {
4808
4806
  var d;
4809
4807
  const { colors: D } = iu(), f = Nu(), [e, t] = U(!1), n = gu(null);
4810
4808
  if (Z(() => {
@@ -4842,7 +4840,7 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4842
4840
  )
4843
4841
  }
4844
4842
  );
4845
- }, e3 = ({ messageList: u }) => {
4843
+ }, D3 = ({ messageList: u }) => {
4846
4844
  const { colors: D } = iu(), f = (r) => {
4847
4845
  let s = e(r, 50);
4848
4846
  return s = t(r), s;
@@ -4914,17 +4912,17 @@ const Ke = /* @__PURE__ */ Ff(Ye), N1 = ({
4914
4912
  }
4915
4913
  );
4916
4914
  };
4917
- var tf = function(u, D) {
4918
- return tf = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4915
+ var ef = function(u, D) {
4916
+ return ef = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, e) {
4919
4917
  f.__proto__ = e;
4920
4918
  } || function(f, e) {
4921
4919
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && (f[t] = e[t]);
4922
- }, tf(u, D);
4920
+ }, ef(u, D);
4923
4921
  };
4924
4922
  function CD(u, D) {
4925
4923
  if (typeof D != "function" && D !== null)
4926
4924
  throw new TypeError("Class extends value " + String(D) + " is not a constructor or null");
4927
- tf(u, D);
4925
+ ef(u, D);
4928
4926
  function f() {
4929
4927
  this.constructor = u;
4930
4928
  }
@@ -4939,7 +4937,7 @@ var Fu = function() {
4939
4937
  return D;
4940
4938
  }, Fu.apply(this, arguments);
4941
4939
  };
4942
- function t3(u, D) {
4940
+ function f3(u, D) {
4943
4941
  var f = typeof Symbol == "function" && u[Symbol.iterator];
4944
4942
  if (!f) return u;
4945
4943
  var e = f.call(u), t, n = [], r;
@@ -4956,16 +4954,16 @@ function t3(u, D) {
4956
4954
  }
4957
4955
  return n;
4958
4956
  }
4959
- function n3(u, D, f) {
4957
+ function e3(u, D, f) {
4960
4958
  if (f || arguments.length === 2) for (var e = 0, t = D.length, n; e < t; e++)
4961
4959
  (n || !(e in D)) && (n || (n = Array.prototype.slice.call(D, 0, e)), n[e] = D[e]);
4962
4960
  return u.concat(n || Array.prototype.slice.call(D));
4963
4961
  }
4964
- var r3 = "4.1.5", a3 = Object.prototype.hasOwnProperty;
4962
+ var t3 = "4.1.5", n3 = Object.prototype.hasOwnProperty;
4965
4963
  function wu(u) {
4966
4964
  return typeof u == "boolean";
4967
4965
  }
4968
- function s3(u, D, f) {
4966
+ function r3(u, D, f) {
4969
4967
  var e;
4970
4968
  return u.length > D && (f == null ? (f = "&hellip;", e = 3) : e = f.length, u = u.substring(0, D - e) + f), u;
4971
4969
  }
@@ -4976,7 +4974,7 @@ function Ku(u, D) {
4976
4974
  function Gu(u) {
4977
4975
  throw new Error("Unhandled case for value: '".concat(u, "'"));
4978
4976
  }
4979
- var bD = /\s+/, O1 = (
4977
+ var bD = /\s+/, N1 = (
4980
4978
  /** @class */
4981
4979
  function() {
4982
4980
  function u(D) {
@@ -5025,32 +5023,32 @@ var bD = /\s+/, O1 = (
5025
5023
  }, u.prototype.buildAttrsStr = function() {
5026
5024
  var D = this.getAttrs(), f = [];
5027
5025
  for (var e in D)
5028
- a3.call(D, e) && f.push(e + '="' + D[e] + '"');
5026
+ n3.call(D, e) && f.push(e + '="' + D[e] + '"');
5029
5027
  return f.join(" ");
5030
5028
  }, u;
5031
5029
  }()
5032
5030
  );
5033
- function F3(u, D, f) {
5031
+ function a3(u, D, f) {
5034
5032
  var e, t;
5035
5033
  if (f == null ? (f = "&hellip;", t = 3, e = 8) : (t = f.length, e = f.length), u.length <= D)
5036
5034
  return u;
5037
- var n = D - t, r = i3(u);
5035
+ var n = D - t, r = s3(u);
5038
5036
  if (r.query) {
5039
5037
  var s = r.query.match(/^(.*?)(?=(\?|#))(.*?)$/i);
5040
- s && (r.query = r.query.substr(0, s[1].length), u = Wf(r));
5038
+ s && (r.query = r.query.substr(0, s[1].length), u = Vf(r));
5041
5039
  }
5042
- if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Wf(r)), u.length <= D))
5040
+ if (u.length <= D || (r.host && (r.host = r.host.replace(/^www\./, ""), u = Vf(r)), u.length <= D))
5043
5041
  return u;
5044
5042
  var F = "";
5045
5043
  if (r.host && (F += r.host), F.length >= n)
5046
- return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : UD(F, n, f).substr(0, n + e);
5044
+ return r.host.length === D ? (r.host.substr(0, D - t) + f).substr(0, n + e) : zD(F, n, f).substr(0, n + e);
5047
5045
  var d = "";
5048
5046
  if (r.path && (d += "/" + r.path), r.query && (d += "?" + r.query), d)
5049
5047
  if ((F + d).length >= n) {
5050
5048
  if ((F + d).length == D)
5051
5049
  return (F + d).substr(0, D);
5052
5050
  var o = n - F.length;
5053
- return (F + UD(d, o, f)).substr(0, n + e);
5051
+ return (F + zD(d, o, f)).substr(0, n + e);
5054
5052
  } else
5055
5053
  F += d;
5056
5054
  if (r.fragment) {
@@ -5059,7 +5057,7 @@ function F3(u, D, f) {
5059
5057
  if ((F + c).length == D)
5060
5058
  return (F + c).substr(0, D);
5061
5059
  var l = n - F.length;
5062
- return (F + UD(c, l, f)).substr(0, n + e);
5060
+ return (F + zD(c, l, f)).substr(0, n + e);
5063
5061
  } else
5064
5062
  F += c;
5065
5063
  }
@@ -5073,19 +5071,19 @@ function F3(u, D, f) {
5073
5071
  var v = "";
5074
5072
  return n > 0 && (v = F.substr(-1 * Math.floor(n / 2))), (F.substr(0, Math.ceil(n / 2)) + f + v).substr(0, n + e);
5075
5073
  }
5076
- function i3(u) {
5074
+ function s3(u) {
5077
5075
  var D = {}, f = u, e = f.match(/^([a-z]+):\/\//i);
5078
5076
  return e && (D.scheme = e[1], f = f.slice(e[0].length)), e = f.match(/^(.*?)(?=(\?|#|\/|$))/i), e && (D.host = e[1], f = f.slice(e[0].length)), e = f.match(/^\/(.*?)(?=(\?|#|$))/i), e && (D.path = e[1], f = f.slice(e[0].length)), e = f.match(/^\?(.*?)(?=(#|$))/i), e && (D.query = e[1], f = f.slice(e[0].length)), e = f.match(/^#(.*?)$/i), e && (D.fragment = e[1]), D;
5079
5077
  }
5080
- function Wf(u) {
5078
+ function Vf(u) {
5081
5079
  var D = "";
5082
5080
  return u.scheme && u.host && (D += u.scheme + "://"), u.host && (D += u.host), u.path && (D += "/" + u.path), u.query && (D += "?" + u.query), u.fragment && (D += "#" + u.fragment), D;
5083
5081
  }
5084
- function UD(u, D, f) {
5082
+ function zD(u, D, f) {
5085
5083
  var e = D / 2, t = Math.ceil(e), n = -1 * Math.floor(e), r = "";
5086
5084
  return n < 0 && (r = u.substr(n)), u.substr(0, t) + f + r;
5087
5085
  }
5088
- function o3(u, D, f) {
5086
+ function F3(u, D, f) {
5089
5087
  if (u.length <= D)
5090
5088
  return u;
5091
5089
  var e, t;
@@ -5093,17 +5091,17 @@ function o3(u, D, f) {
5093
5091
  var n = D - t, r = "";
5094
5092
  return n > 0 && (r = u.substr(-1 * Math.floor(n / 2))), (u.substr(0, Math.ceil(n / 2)) + f + r).substr(0, n + e);
5095
5093
  }
5096
- function d3(u, D, f) {
5097
- return s3(u, D, f);
5094
+ function i3(u, D, f) {
5095
+ return r3(u, D, f);
5098
5096
  }
5099
- var C3 = (
5097
+ var o3 = (
5100
5098
  /** @class */
5101
5099
  function() {
5102
5100
  function u(D) {
5103
5101
  D === void 0 && (D = {}), this.newWindow = !1, this.truncate = {}, this.className = "", this.newWindow = D.newWindow || !1, this.truncate = D.truncate || {}, this.className = D.className || "";
5104
5102
  }
5105
5103
  return u.prototype.build = function(D) {
5106
- return new O1({
5104
+ return new N1({
5107
5105
  tagName: "a",
5108
5106
  attrs: this.createAttrs(D),
5109
5107
  innerHtml: this.processAnchorText(D.getAnchorText())
@@ -5129,7 +5127,7 @@ var C3 = (
5129
5127
  if (!f.length)
5130
5128
  return D;
5131
5129
  var e = f.length, t = f.location;
5132
- return t === "smart" ? F3(D, e) : t === "middle" ? o3(D, e) : d3(D, e);
5130
+ return t === "smart" ? a3(D, e) : t === "middle" ? F3(D, e) : i3(D, e);
5133
5131
  }, u;
5134
5132
  }()
5135
5133
  ), cD = (
@@ -5151,7 +5149,7 @@ var C3 = (
5151
5149
  }, u;
5152
5150
  }()
5153
5151
  );
5154
- function c3(u) {
5152
+ function d3(u) {
5155
5153
  return u >= 0 && u <= 31 || u == 127;
5156
5154
  }
5157
5155
  function rD(u) {
@@ -5160,7 +5158,7 @@ function rD(u) {
5160
5158
  function Eu(u) {
5161
5159
  return u >= 48 && u <= 57;
5162
5160
  }
5163
- function bf(u) {
5161
+ function hf(u) {
5164
5162
  return u == 34 || u == 39;
5165
5163
  }
5166
5164
  function Xu(u) {
@@ -5169,67 +5167,67 @@ function Xu(u) {
5169
5167
  function Zu(u) {
5170
5168
  return u < 4800 ? u < 2949 ? u < 2451 ? u < 1425 ? u < 768 ? u < 192 ? u < 169 ? u < 65 ? u >= 48 && u <= 57 : u >= 65 && u <= 90 || u >= 97 && u <= 122 : u < 181 ? u >= 169 && u <= 170 || u == 174 : u == 181 || u == 186 : u < 710 ? u < 216 ? u >= 192 && u <= 214 : u >= 216 && u <= 246 || u >= 248 && u <= 705 : u < 748 ? u >= 710 && u <= 721 || u >= 736 && u <= 740 : u == 748 || u == 750 : u < 910 ? u < 895 ? u < 886 ? u >= 768 && u <= 884 : u >= 886 && u <= 887 || u >= 890 && u <= 893 : u < 904 ? u == 895 || u == 902 : u >= 904 && u <= 906 || u == 908 : u < 1155 ? u < 931 ? u >= 910 && u <= 929 : u >= 931 && u <= 1013 || u >= 1015 && u <= 1153 : u < 1369 ? u >= 1155 && u <= 1327 || u >= 1329 && u <= 1366 : u == 1369 || u >= 1377 && u <= 1415 : u < 1808 ? u < 1552 ? u < 1476 ? u < 1471 ? u >= 1425 && u <= 1469 : u == 1471 || u >= 1473 && u <= 1474 : u < 1488 ? u >= 1476 && u <= 1477 || u == 1479 : u >= 1488 && u <= 1514 || u >= 1520 && u <= 1522 : u < 1749 ? u < 1568 ? u >= 1552 && u <= 1562 : u >= 1568 && u <= 1641 || u >= 1646 && u <= 1747 : u < 1770 ? u >= 1749 && u <= 1756 || u >= 1759 && u <= 1768 : u >= 1770 && u <= 1788 || u == 1791 : u < 2230 ? u < 2042 ? u < 1869 ? u >= 1808 && u <= 1866 : u >= 1869 && u <= 1969 || u >= 1984 && u <= 2037 : u < 2112 ? u == 2042 || u >= 2048 && u <= 2093 : u >= 2112 && u <= 2139 || u >= 2208 && u <= 2228 : u < 2406 ? u < 2260 ? u >= 2230 && u <= 2237 : u >= 2260 && u <= 2273 || u >= 2275 && u <= 2403 : u < 2437 ? u >= 2406 && u <= 2415 || u >= 2417 && u <= 2435 : u >= 2437 && u <= 2444 || u >= 2447 && u <= 2448 : u < 2693 ? u < 2579 ? u < 2519 ? u < 2486 ? u < 2474 ? u >= 2451 && u <= 2472 : u >= 2474 && u <= 2480 || u == 2482 : u < 2503 ? u >= 2486 && u <= 2489 || u >= 2492 && u <= 2500 : u >= 2503 && u <= 2504 || u >= 2507 && u <= 2510 : u < 2534 ? u < 2524 ? u == 2519 : u >= 2524 && u <= 2525 || u >= 2527 && u <= 2531 : u < 2565 ? u >= 2534 && u <= 2545 || u >= 2561 && u <= 2563 : u >= 2565 && u <= 2570 || u >= 2575 && u <= 2576 : u < 2631 ? u < 2613 ? u < 2602 ? u >= 2579 && u <= 2600 : u >= 2602 && u <= 2608 || u >= 2610 && u <= 2611 : u < 2620 ? u >= 2613 && u <= 2614 || u >= 2616 && u <= 2617 : u == 2620 || u >= 2622 && u <= 2626 : u < 2649 ? u < 2635 ? u >= 2631 && u <= 2632 : u >= 2635 && u <= 2637 || u == 2641 : u < 2662 ? u >= 2649 && u <= 2652 || u == 2654 : u >= 2662 && u <= 2677 || u >= 2689 && u <= 2691 : u < 2821 ? u < 2759 ? u < 2730 ? u < 2703 ? u >= 2693 && u <= 2701 : u >= 2703 && u <= 2705 || u >= 2707 && u <= 2728 : u < 2741 ? u >= 2730 && u <= 2736 || u >= 2738 && u <= 2739 : u >= 2741 && u <= 2745 || u >= 2748 && u <= 2757 : u < 2784 ? u < 2763 ? u >= 2759 && u <= 2761 : u >= 2763 && u <= 2765 || u == 2768 : u < 2809 ? u >= 2784 && u <= 2787 || u >= 2790 && u <= 2799 : u == 2809 || u >= 2817 && u <= 2819 : u < 2887 ? u < 2858 ? u < 2831 ? u >= 2821 && u <= 2828 : u >= 2831 && u <= 2832 || u >= 2835 && u <= 2856 : u < 2869 ? u >= 2858 && u <= 2864 || u >= 2866 && u <= 2867 : u >= 2869 && u <= 2873 || u >= 2876 && u <= 2884 : u < 2911 ? u < 2902 ? u >= 2887 && u <= 2888 || u >= 2891 && u <= 2893 : u >= 2902 && u <= 2903 || u >= 2908 && u <= 2909 : u < 2929 ? u >= 2911 && u <= 2915 || u >= 2918 && u <= 2927 : u == 2929 || u >= 2946 && u <= 2947 : u < 3517 ? u < 3205 ? u < 3046 ? u < 2984 ? u < 2969 ? u < 2958 ? u >= 2949 && u <= 2954 : u >= 2958 && u <= 2960 || u >= 2962 && u <= 2965 : u < 2974 ? u >= 2969 && u <= 2970 || u == 2972 : u >= 2974 && u <= 2975 || u >= 2979 && u <= 2980 : u < 3014 ? u < 2990 ? u >= 2984 && u <= 2986 : u >= 2990 && u <= 3001 || u >= 3006 && u <= 3010 : u < 3024 ? u >= 3014 && u <= 3016 || u >= 3018 && u <= 3021 : u == 3024 || u == 3031 : u < 3142 ? u < 3086 ? u < 3072 ? u >= 3046 && u <= 3055 : u >= 3072 && u <= 3075 || u >= 3077 && u <= 3084 : u < 3114 ? u >= 3086 && u <= 3088 || u >= 3090 && u <= 3112 : u >= 3114 && u <= 3129 || u >= 3133 && u <= 3140 : u < 3160 ? u < 3146 ? u >= 3142 && u <= 3144 : u >= 3146 && u <= 3149 || u >= 3157 && u <= 3158 : u < 3174 ? u >= 3160 && u <= 3162 || u >= 3168 && u <= 3171 : u >= 3174 && u <= 3183 || u >= 3200 && u <= 3203 : u < 3333 ? u < 3274 ? u < 3242 ? u < 3214 ? u >= 3205 && u <= 3212 : u >= 3214 && u <= 3216 || u >= 3218 && u <= 3240 : u < 3260 ? u >= 3242 && u <= 3251 || u >= 3253 && u <= 3257 : u >= 3260 && u <= 3268 || u >= 3270 && u <= 3272 : u < 3296 ? u < 3285 ? u >= 3274 && u <= 3277 : u >= 3285 && u <= 3286 || u == 3294 : u < 3313 ? u >= 3296 && u <= 3299 || u >= 3302 && u <= 3311 : u >= 3313 && u <= 3314 || u >= 3329 && u <= 3331 : u < 3423 ? u < 3389 ? u < 3342 ? u >= 3333 && u <= 3340 : u >= 3342 && u <= 3344 || u >= 3346 && u <= 3386 : u < 3402 ? u >= 3389 && u <= 3396 || u >= 3398 && u <= 3400 : u >= 3402 && u <= 3406 || u >= 3412 && u <= 3415 : u < 3458 ? u < 3430 ? u >= 3423 && u <= 3427 : u >= 3430 && u <= 3439 || u >= 3450 && u <= 3455 : u < 3482 ? u >= 3458 && u <= 3459 || u >= 3461 && u <= 3478 : u >= 3482 && u <= 3505 || u >= 3507 && u <= 3515 : u < 3804 ? u < 3722 ? u < 3570 ? u < 3535 ? u < 3520 ? u == 3517 : u >= 3520 && u <= 3526 || u == 3530 : u < 3544 ? u >= 3535 && u <= 3540 || u == 3542 : u >= 3544 && u <= 3551 || u >= 3558 && u <= 3567 : u < 3664 ? u < 3585 ? u >= 3570 && u <= 3571 : u >= 3585 && u <= 3642 || u >= 3648 && u <= 3662 : u < 3716 ? u >= 3664 && u <= 3673 || u >= 3713 && u <= 3714 : u == 3716 || u >= 3719 && u <= 3720 : u < 3754 ? u < 3737 ? u < 3725 ? u == 3722 : u == 3725 || u >= 3732 && u <= 3735 : u < 3749 ? u >= 3737 && u <= 3743 || u >= 3745 && u <= 3747 : u == 3749 || u == 3751 : u < 3776 ? u < 3757 ? u >= 3754 && u <= 3755 : u >= 3757 && u <= 3769 || u >= 3771 && u <= 3773 : u < 3784 ? u >= 3776 && u <= 3780 || u == 3782 : u >= 3784 && u <= 3789 || u >= 3792 && u <= 3801 : u < 4176 ? u < 3902 ? u < 3872 ? u < 3840 ? u >= 3804 && u <= 3807 : u == 3840 || u >= 3864 && u <= 3865 : u < 3895 ? u >= 3872 && u <= 3881 || u == 3893 : u == 3895 || u == 3897 : u < 3974 ? u < 3913 ? u >= 3902 && u <= 3911 : u >= 3913 && u <= 3948 || u >= 3953 && u <= 3972 : u < 4038 ? u >= 3974 && u <= 3991 || u >= 3993 && u <= 4028 : u == 4038 || u >= 4096 && u <= 4169 : u < 4688 ? u < 4301 ? u < 4256 ? u >= 4176 && u <= 4253 : u >= 4256 && u <= 4293 || u == 4295 : u < 4348 ? u == 4301 || u >= 4304 && u <= 4346 : u >= 4348 && u <= 4680 || u >= 4682 && u <= 4685 : u < 4746 ? u < 4698 ? u >= 4688 && u <= 4694 || u == 4696 : u >= 4698 && u <= 4701 || u >= 4704 && u <= 4744 : u < 4786 ? u >= 4746 && u <= 4749 || u >= 4752 && u <= 4784 : u >= 4786 && u <= 4789 || u >= 4792 && u <= 4798 : u < 11035 ? u < 7416 ? u < 6176 ? u < 5873 ? u < 4992 ? u < 4824 ? u < 4802 ? u == 4800 : u >= 4802 && u <= 4805 || u >= 4808 && u <= 4822 : u < 4888 ? u >= 4824 && u <= 4880 || u >= 4882 && u <= 4885 : u >= 4888 && u <= 4954 || u >= 4957 && u <= 4959 : u < 5121 ? u < 5024 ? u >= 4992 && u <= 5007 : u >= 5024 && u <= 5109 || u >= 5112 && u <= 5117 : u < 5761 ? u >= 5121 && u <= 5740 || u >= 5743 && u <= 5759 : u >= 5761 && u <= 5786 || u >= 5792 && u <= 5866 : u < 6002 ? u < 5920 ? u < 5888 ? u >= 5873 && u <= 5880 : u >= 5888 && u <= 5900 || u >= 5902 && u <= 5908 : u < 5984 ? u >= 5920 && u <= 5940 || u >= 5952 && u <= 5971 : u >= 5984 && u <= 5996 || u >= 5998 && u <= 6e3 : u < 6108 ? u < 6016 ? u >= 6002 && u <= 6003 : u >= 6016 && u <= 6099 || u == 6103 : u < 6155 ? u >= 6108 && u <= 6109 || u >= 6112 && u <= 6121 : u >= 6155 && u <= 6157 || u >= 6160 && u <= 6169 : u < 6783 ? u < 6512 ? u < 6400 ? u < 6272 ? u >= 6176 && u <= 6263 : u >= 6272 && u <= 6314 || u >= 6320 && u <= 6389 : u < 6448 ? u >= 6400 && u <= 6430 || u >= 6432 && u <= 6443 : u >= 6448 && u <= 6459 || u >= 6470 && u <= 6509 : u < 6608 ? u < 6528 ? u >= 6512 && u <= 6516 : u >= 6528 && u <= 6571 || u >= 6576 && u <= 6601 : u < 6688 ? u >= 6608 && u <= 6617 || u >= 6656 && u <= 6683 : u >= 6688 && u <= 6750 || u >= 6752 && u <= 6780 : u < 7040 ? u < 6832 ? u < 6800 ? u >= 6783 && u <= 6793 : u >= 6800 && u <= 6809 || u == 6823 : u < 6992 ? u >= 6832 && u <= 6846 || u >= 6912 && u <= 6987 : u >= 6992 && u <= 7001 || u >= 7019 && u <= 7027 : u < 7245 ? u < 7168 ? u >= 7040 && u <= 7155 : u >= 7168 && u <= 7223 || u >= 7232 && u <= 7241 : u < 7376 ? u >= 7245 && u <= 7293 || u >= 7296 && u <= 7304 : u >= 7376 && u <= 7378 || u >= 7380 && u <= 7414 : u < 8450 ? u < 8130 ? u < 8025 ? u < 7960 ? u < 7424 ? u >= 7416 && u <= 7417 : u >= 7424 && u <= 7669 || u >= 7675 && u <= 7957 : u < 8008 ? u >= 7960 && u <= 7965 || u >= 7968 && u <= 8005 : u >= 8008 && u <= 8013 || u >= 8016 && u <= 8023 : u < 8031 ? u < 8027 ? u == 8025 : u == 8027 || u == 8029 : u < 8118 ? u >= 8031 && u <= 8061 || u >= 8064 && u <= 8116 : u >= 8118 && u <= 8124 || u == 8126 : u < 8205 ? u < 8150 ? u < 8134 ? u >= 8130 && u <= 8132 : u >= 8134 && u <= 8140 || u >= 8144 && u <= 8147 : u < 8178 ? u >= 8150 && u <= 8155 || u >= 8160 && u <= 8172 : u >= 8178 && u <= 8180 || u >= 8182 && u <= 8188 : u < 8305 ? u < 8252 ? u == 8205 : u == 8252 || u == 8265 : u < 8336 ? u == 8305 || u == 8319 : u >= 8336 && u <= 8348 || u >= 8400 && u <= 8432 : u < 8579 ? u < 8486 ? u < 8469 ? u < 8455 ? u == 8450 : u == 8455 || u >= 8458 && u <= 8467 : u < 8482 ? u == 8469 || u >= 8473 && u <= 8477 : u == 8482 || u == 8484 : u < 8495 ? u < 8488 ? u == 8486 : u == 8488 || u >= 8490 && u <= 8493 : u < 8517 ? u >= 8495 && u <= 8505 || u >= 8508 && u <= 8511 : u >= 8517 && u <= 8521 || u == 8526 : u < 9410 ? u < 9e3 ? u < 8592 ? u >= 8579 && u <= 8580 : u >= 8592 && u <= 8703 || u >= 8986 && u <= 8987 : u < 9193 ? u == 9e3 || u == 9167 : u >= 9193 && u <= 9203 || u >= 9208 && u <= 9210 : u < 9723 ? u < 9654 ? u == 9410 || u >= 9642 && u <= 9643 : u == 9654 || u == 9664 : u < 10548 ? u >= 9723 && u <= 9726 || u >= 9728 && u <= 10175 : u >= 10548 && u <= 10549 || u >= 11013 && u <= 11015 : u < 43259 ? u < 12445 ? u < 11688 ? u < 11520 ? u < 11264 ? u < 11088 ? u >= 11035 && u <= 11036 : u == 11088 || u == 11093 : u < 11360 ? u >= 11264 && u <= 11310 || u >= 11312 && u <= 11358 : u >= 11360 && u <= 11492 || u >= 11499 && u <= 11507 : u < 11568 ? u < 11559 ? u >= 11520 && u <= 11557 : u == 11559 || u == 11565 : u < 11647 ? u >= 11568 && u <= 11623 || u == 11631 : u >= 11647 && u <= 11670 || u >= 11680 && u <= 11686 : u < 11744 ? u < 11712 ? u < 11696 ? u >= 11688 && u <= 11694 : u >= 11696 && u <= 11702 || u >= 11704 && u <= 11710 : u < 11728 ? u >= 11712 && u <= 11718 || u >= 11720 && u <= 11726 : u >= 11728 && u <= 11734 || u >= 11736 && u <= 11742 : u < 12330 ? u < 11823 ? u >= 11744 && u <= 11775 : u == 11823 || u >= 12293 && u <= 12294 : u < 12353 ? u >= 12330 && u <= 12341 || u >= 12347 && u <= 12349 : u >= 12353 && u <= 12438 || u >= 12441 && u <= 12442 : u < 42512 ? u < 12951 ? u < 12549 ? u < 12449 ? u >= 12445 && u <= 12447 : u >= 12449 && u <= 12538 || u >= 12540 && u <= 12543 : u < 12704 ? u >= 12549 && u <= 12589 || u >= 12593 && u <= 12686 : u >= 12704 && u <= 12730 || u >= 12784 && u <= 12799 : u < 19968 ? u < 12953 ? u == 12951 : u == 12953 || u >= 13312 && u <= 19893 : u < 42192 ? u >= 19968 && u <= 40917 || u >= 40960 && u <= 42124 : u >= 42192 && u <= 42237 || u >= 42240 && u <= 42508 : u < 42891 ? u < 42623 ? u < 42560 ? u >= 42512 && u <= 42539 : u >= 42560 && u <= 42610 || u >= 42612 && u <= 42621 : u < 42775 ? u >= 42623 && u <= 42725 || u >= 42736 && u <= 42737 : u >= 42775 && u <= 42783 || u >= 42786 && u <= 42888 : u < 43072 ? u < 42928 ? u >= 42891 && u <= 42926 : u >= 42928 && u <= 42935 || u >= 42999 && u <= 43047 : u < 43216 ? u >= 43072 && u <= 43123 || u >= 43136 && u <= 43205 : u >= 43216 && u <= 43225 || u >= 43232 && u <= 43255 : u < 55243 ? u < 43744 ? u < 43488 ? u < 43312 ? u < 43261 ? u == 43259 : u == 43261 || u >= 43264 && u <= 43309 : u < 43392 ? u >= 43312 && u <= 43347 || u >= 43360 && u <= 43388 : u >= 43392 && u <= 43456 || u >= 43471 && u <= 43481 : u < 43600 ? u < 43520 ? u >= 43488 && u <= 43518 : u >= 43520 && u <= 43574 || u >= 43584 && u <= 43597 : u < 43642 ? u >= 43600 && u <= 43609 || u >= 43616 && u <= 43638 : u >= 43642 && u <= 43714 || u >= 43739 && u <= 43741 : u < 43824 ? u < 43785 ? u < 43762 ? u >= 43744 && u <= 43759 : u >= 43762 && u <= 43766 || u >= 43777 && u <= 43782 : u < 43808 ? u >= 43785 && u <= 43790 || u >= 43793 && u <= 43798 : u >= 43808 && u <= 43814 || u >= 43816 && u <= 43822 : u < 44012 ? u < 43868 ? u >= 43824 && u <= 43866 : u >= 43868 && u <= 43877 || u >= 43888 && u <= 44010 : u < 44032 ? u >= 44012 && u <= 44013 || u >= 44016 && u <= 44025 : u >= 44032 && u <= 55203 || u >= 55216 && u <= 55238 : u < 64848 ? u < 64298 ? u < 64112 ? u < 55296 ? u >= 55243 && u <= 55291 : u >= 55296 && u <= 57343 || u >= 63744 && u <= 64109 : u < 64275 ? u >= 64112 && u <= 64217 || u >= 64256 && u <= 64262 : u >= 64275 && u <= 64279 || u >= 64285 && u <= 64296 : u < 64320 ? u < 64312 ? u >= 64298 && u <= 64310 : u >= 64312 && u <= 64316 || u == 64318 : u < 64326 ? u >= 64320 && u <= 64321 || u >= 64323 && u <= 64324 : u >= 64326 && u <= 64433 || u >= 64467 && u <= 64829 : u < 65296 ? u < 65024 ? u < 64914 ? u >= 64848 && u <= 64911 : u >= 64914 && u <= 64967 || u >= 65008 && u <= 65019 : u < 65136 ? u >= 65024 && u <= 65039 || u >= 65056 && u <= 65071 : u >= 65136 && u <= 65140 || u >= 65142 && u <= 65276 : u < 65474 ? u < 65345 ? u >= 65296 && u <= 65305 || u >= 65313 && u <= 65338 : u >= 65345 && u <= 65370 || u >= 65382 && u <= 65470 : u < 65490 ? u >= 65474 && u <= 65479 || u >= 65482 && u <= 65487 : u >= 65490 && u <= 65495 || u >= 65498 && u <= 65500;
5171
5169
  }
5172
- function l3(u) {
5170
+ function C3(u) {
5173
5171
  return u < 47 ? u < 42 ? u == 33 || u >= 35 && u <= 39 : u >= 42 && u <= 43 || u == 45 : u < 63 ? u == 47 || u == 61 : u < 94 ? u == 63 : u >= 94 && u <= 96 || u >= 123 && u <= 126;
5174
5172
  }
5175
- function E3(u) {
5173
+ function c3(u) {
5176
5174
  return u < 91 ? u < 47 ? u >= 35 && u <= 43 || u == 45 : u < 61 ? u == 47 : u == 61 || u == 64 : u < 95 ? u == 91 || u == 93 : u < 123 ? u == 95 : u >= 123 && u <= 126 || u == 10003;
5177
5175
  }
5178
- function R1(u) {
5176
+ function O1(u) {
5179
5177
  return u < 58 ? u < 44 ? u == 33 : u == 44 || u == 46 : u < 63 ? u >= 58 && u <= 59 : u == 63 || u == 94;
5180
5178
  }
5181
- function h3(u) {
5179
+ function l3(u) {
5182
5180
  return u < 91 ? u == 40 : u == 91 || u == 123;
5183
5181
  }
5184
- function Yf(u) {
5182
+ function Hf(u) {
5185
5183
  return u < 93 ? u == 41 : u == 93 || u == 125;
5186
5184
  }
5187
- var b3 = /^(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|banamex|bauhaus|bestbuy|booking|brother|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|yamaxun|youtube|zuerich|католик|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kindle|kosher|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|nagoya|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|loans|locus|lotte|lotto|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|scb|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, P1 = /https?:\/\//i, p3 = new RegExp("^" + P1.source, "i"), B3 = /^(javascript|vbscript):/i, m3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, g3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5188
- function I1(u) {
5185
+ var E3 = /^(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|banamex|bauhaus|bestbuy|booking|brother|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|yamaxun|youtube|zuerich|католик|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kindle|kosher|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|nagoya|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|loans|locus|lotte|lotto|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|scb|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)$/, R1 = /https?:\/\//i, h3 = new RegExp("^" + R1.source, "i"), b3 = /^(javascript|vbscript):/i, p3 = /^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/, B3 = /^(?:\/\/)?([^/#?:]+)/, oD = rD;
5186
+ function P1(u) {
5189
5187
  return rD(u) || Eu(u) || u === 43 || // '+'
5190
5188
  u === 45 || // '-'
5191
5189
  u === 46;
5192
5190
  }
5193
5191
  var Yu = Zu;
5194
- function pf(u) {
5192
+ function bf(u) {
5195
5193
  return u === 95 || Yu(u);
5196
5194
  }
5197
- function $1(u) {
5198
- return Zu(u) || E3(u) || R1(u);
5195
+ function I1(u) {
5196
+ return Zu(u) || c3(u) || O1(u);
5199
5197
  }
5200
- function Bf(u) {
5198
+ function pf(u) {
5201
5199
  return u === 47 || // '/'
5202
5200
  u === 63 || // '?'
5203
5201
  u === 35;
5204
5202
  }
5205
- function L1(u) {
5206
- return b3.test(u.toLowerCase());
5203
+ function $1(u) {
5204
+ return E3.test(u.toLowerCase());
5207
5205
  }
5208
- function _3(u) {
5209
- if (B3.test(u))
5206
+ function m3(u) {
5207
+ if (b3.test(u))
5210
5208
  return !1;
5211
- var D = u.match(m3);
5209
+ var D = u.match(p3);
5212
5210
  if (!D)
5213
5211
  return !1;
5214
5212
  var f = !!D[1], e = D[2];
5215
5213
  return f ? !0 : !(e.indexOf(".") === -1 || !/[A-Za-z]/.test(e));
5216
5214
  }
5217
- function y3(u) {
5218
- var D = u.match(g3);
5215
+ function g3(u) {
5216
+ var D = u.match(B3);
5219
5217
  if (!D)
5220
5218
  return !1;
5221
5219
  var f = D[0], e = f.split(".");
5222
5220
  if (e.length < 2)
5223
5221
  return !1;
5224
5222
  var t = e[e.length - 1];
5225
- return !!L1(t);
5223
+ return !!$1(t);
5226
5224
  }
5227
- var v3 = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/, w3 = /[:/?#]/;
5228
- function A3(u) {
5229
- var D = u.split(w3, 1)[0];
5230
- return v3.test(D);
5225
+ var _3 = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/, y3 = /[:/?#]/;
5226
+ function v3(u) {
5227
+ var D = u.split(y3, 1)[0];
5228
+ return _3.test(D);
5231
5229
  }
5232
- var x3 = /^(https?:\/\/)?(?:www\.)?/i, k3 = /^\/\//, j3 = (
5230
+ var w3 = /^(https?:\/\/)?(?:www\.)?/i, A3 = /^\/\//, x3 = (
5233
5231
  /** @class */
5234
5232
  function(u) {
5235
5233
  CD(D, u);
@@ -5252,23 +5250,23 @@ var x3 = /^(https?:\/\/)?(?:www\.)?/i, k3 = /^\/\//, j3 = (
5252
5250
  return f.replace(/&amp;/g, "&");
5253
5251
  }, D.prototype.getAnchorText = function() {
5254
5252
  var f = this.getMatchedText();
5255
- return this.protocolRelativeMatch && (f = N3(f)), this.stripPrefix.scheme && (f = S3(f)), this.stripPrefix.www && (f = T3(f)), this.stripTrailingSlash && (f = O3(f)), this.decodePercentEncoding && (f = R3(f)), f;
5253
+ return this.protocolRelativeMatch && (f = S3(f)), this.stripPrefix.scheme && (f = k3(f)), this.stripPrefix.www && (f = j3(f)), this.stripTrailingSlash && (f = T3(f)), this.decodePercentEncoding && (f = N3(f)), f;
5256
5254
  }, D;
5257
5255
  }(cD)
5258
5256
  );
5259
- function S3(u) {
5260
- return u.replace(p3, "");
5257
+ function k3(u) {
5258
+ return u.replace(h3, "");
5261
5259
  }
5262
- function T3(u) {
5263
- return u.includes("www.") ? u.replace(x3, "$1") : u;
5260
+ function j3(u) {
5261
+ return u.includes("www.") ? u.replace(w3, "$1") : u;
5264
5262
  }
5265
- function N3(u) {
5266
- return u.replace(k3, "");
5263
+ function S3(u) {
5264
+ return u.replace(A3, "");
5267
5265
  }
5268
- function O3(u) {
5266
+ function T3(u) {
5269
5267
  return u.charAt(u.length - 1) === "/" && (u = u.slice(0, -1)), u;
5270
5268
  }
5271
- function R3(u) {
5269
+ function N3(u) {
5272
5270
  var D = u.replace(/%(?:22|26|27|3C|3E)/gi, function(f) {
5273
5271
  return f === "%22" ? "&quot;" : f === "%26" ? "&amp;" : f === "%27" ? "&#39;" : f === "%3C" || f === "%3c" ? "&lt;" : "&gt;";
5274
5272
  });
@@ -5279,15 +5277,15 @@ function R3(u) {
5279
5277
  }
5280
5278
  return D;
5281
5279
  }
5282
- var P3 = /^mailto:/i, M1 = Zu;
5283
- function mf(u) {
5284
- return M1(u) || l3(u);
5280
+ var O3 = /^mailto:/i, L1 = Zu;
5281
+ function Bf(u) {
5282
+ return L1(u) || C3(u);
5285
5283
  }
5286
- function I3(u) {
5284
+ function R3(u) {
5287
5285
  var D = u.split(".").pop();
5288
- return L1(D);
5286
+ return $1(D);
5289
5287
  }
5290
- var $3 = (
5288
+ var P3 = (
5291
5289
  /** @class */
5292
5290
  function(u) {
5293
5291
  CD(D, u);
@@ -5306,19 +5304,19 @@ var $3 = (
5306
5304
  }, D;
5307
5305
  }(cD)
5308
5306
  );
5309
- function q1(u) {
5307
+ function M1(u) {
5310
5308
  return u === 95 || Zu(u);
5311
5309
  }
5312
- function L3(u) {
5310
+ function I3(u) {
5313
5311
  return u.length <= 140;
5314
5312
  }
5315
- var M3 = [
5313
+ var $3 = [
5316
5314
  "twitter",
5317
5315
  "facebook",
5318
5316
  "instagram",
5319
5317
  "tiktok",
5320
5318
  "youtube"
5321
- ], q3 = (
5319
+ ], L3 = (
5322
5320
  /** @class */
5323
5321
  function(u) {
5324
5322
  CD(D, u);
@@ -5355,7 +5353,7 @@ var M3 = [
5355
5353
  return e && f.push(e), f;
5356
5354
  }, D;
5357
5355
  }(cD)
5358
- ), z3 = {
5356
+ ), M3 = {
5359
5357
  twitter: /^@\w{1,15}$/,
5360
5358
  instagram: /^@[_\w]{1,30}$/,
5361
5359
  soundcloud: /^@[-a-z0-9_]{3,25}$/,
@@ -5367,23 +5365,23 @@ var M3 = [
5367
5365
  // https://support.google.com/youtube/answer/11585688?hl=en&co=GENIE.Platform%3DAndroid#tns
5368
5366
  youtube: /^@[-.·\w]{3,30}$/
5369
5367
  };
5370
- function z1(u) {
5368
+ function q1(u) {
5371
5369
  return u === 45 || // '-'
5372
5370
  u === 46 || // '.'
5373
5371
  u === 95 || // '_'
5374
5372
  rD(u) || Eu(u);
5375
5373
  }
5376
- function U3(u, D) {
5377
- var f = z3[D];
5374
+ function q3(u, D) {
5375
+ var f = M3[D];
5378
5376
  return f.test(u);
5379
5377
  }
5380
- var V3 = [
5378
+ var z3 = [
5381
5379
  "twitter",
5382
5380
  "instagram",
5383
5381
  "soundcloud",
5384
5382
  "tiktok",
5385
5383
  "youtube"
5386
- ], H3 = (
5384
+ ], U3 = (
5387
5385
  /** @class */
5388
5386
  function(u) {
5389
5387
  CD(D, u);
@@ -5419,21 +5417,21 @@ var V3 = [
5419
5417
  return e && f.push(e), f;
5420
5418
  }, D;
5421
5419
  }(cD)
5422
- ), W3 = /[-. ()]/, Y3 = /(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/, K3 = /(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/, J3 = new RegExp("^".concat(Y3.source, "|").concat(K3.source, "$"));
5423
- function U1(u) {
5420
+ ), V3 = /[-. ()]/, H3 = /(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/, W3 = /(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/, Y3 = new RegExp("^".concat(H3.source, "|").concat(W3.source, "$"));
5421
+ function z1(u) {
5424
5422
  return u === 45 || // '-'
5425
5423
  u === 46 || // '.'
5426
5424
  u === 32;
5427
5425
  }
5428
- function gf(u) {
5426
+ function mf(u) {
5429
5427
  return u === 44 || // ','
5430
5428
  u === 59;
5431
5429
  }
5432
- function G3(u) {
5433
- var D = u.charAt(0) === "+" || W3.test(u);
5434
- return D && J3.test(u);
5430
+ function K3(u) {
5431
+ var D = u.charAt(0) === "+" || V3.test(u);
5432
+ return D && Y3.test(u);
5435
5433
  }
5436
- var X3 = (
5434
+ var J3 = (
5437
5435
  /** @class */
5438
5436
  function(u) {
5439
5437
  CD(D, u);
@@ -5453,7 +5451,7 @@ var X3 = (
5453
5451
  return this.matchedText;
5454
5452
  }, D;
5455
5453
  }(cD)
5456
- ), Z3 = (
5454
+ ), G3 = (
5457
5455
  /** @class */
5458
5456
  function() {
5459
5457
  function u(D, f) {
@@ -5466,18 +5464,18 @@ var X3 = (
5466
5464
  enumerable: !1,
5467
5465
  configurable: !0
5468
5466
  }), u.prototype.addMachine = function(D) {
5469
- this._stateMachines.push(D), Jf(D) && this.schemeUrlMachinesCount++;
5467
+ this._stateMachines.push(D), Yf(D) && this.schemeUrlMachinesCount++;
5470
5468
  }, u.prototype.removeMachine = function(D) {
5471
5469
  this._stateMachines = this._stateMachines.filter(function(f) {
5472
5470
  return f !== D;
5473
- }), Jf(D) && this.schemeUrlMachinesCount--;
5471
+ }), Yf(D) && this.schemeUrlMachinesCount--;
5474
5472
  }, u.prototype.hasSchemeUrlMachine = function() {
5475
5473
  return this.schemeUrlMachinesCount > 0;
5476
5474
  }, u;
5477
5475
  }()
5478
5476
  );
5479
- function Q3(u, D) {
5480
- for (var f = new Z3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5477
+ function X3(u, D) {
5478
+ for (var f = new G3(u, D); f.charIdx < f.text.length; f.charIdx++) {
5481
5479
  var e = u.charAt(f.charIdx), t = u.charCodeAt(f.charIdx);
5482
5480
  if (f.stateMachines.length === 0)
5483
5481
  jD(f, e, t);
@@ -5486,130 +5484,130 @@ function Q3(u, D) {
5486
5484
  var r = f.stateMachines[n];
5487
5485
  switch (r.state) {
5488
5486
  case 11:
5489
- n2(f, r, t);
5487
+ e2(f, r, t);
5490
5488
  break;
5491
5489
  case 12:
5492
- r2(f, r, t);
5490
+ t2(f, r, t);
5493
5491
  break;
5494
5492
  case 0:
5495
- u2(f, r, t);
5493
+ Z3(f, r, t);
5496
5494
  break;
5497
5495
  case 1:
5498
- D2(f, r, t);
5496
+ Q3(f, r, t);
5499
5497
  break;
5500
5498
  case 2:
5501
- f2(f, r, t);
5499
+ u2(f, r, t);
5502
5500
  break;
5503
5501
  case 3:
5504
- e2(f, r, t);
5502
+ D2(f, r, t);
5505
5503
  break;
5506
5504
  case 4:
5507
- t2(f, r, e, t);
5505
+ f2(f, r, e, t);
5508
5506
  break;
5509
5507
  case 5:
5510
- a2(f, r, t);
5508
+ n2(f, r, t);
5511
5509
  break;
5512
5510
  case 6:
5513
- s2(f, r, e, t);
5511
+ r2(f, r, e, t);
5514
5512
  break;
5515
5513
  case 7:
5516
- F2(f, r, e, t);
5514
+ a2(f, r, e, t);
5517
5515
  break;
5518
5516
  case 13:
5519
- i2(f, r, t);
5517
+ s2(f, r, t);
5520
5518
  break;
5521
5519
  case 14:
5522
- o2(f, r, t);
5520
+ F2(f, r, t);
5523
5521
  break;
5524
5522
  case 8:
5525
- d2(f, r, t);
5523
+ i2(f, r, t);
5526
5524
  break;
5527
5525
  case 9:
5528
- C2(f, r, t);
5526
+ o2(f, r, t);
5529
5527
  break;
5530
5528
  case 10:
5531
- c2(f, r, t);
5529
+ d2(f, r, t);
5532
5530
  break;
5533
5531
  case 15:
5534
- l2(f, r, e, t);
5532
+ C2(f, r, e, t);
5535
5533
  break;
5536
5534
  case 16:
5537
- E2(f, r, e, t);
5535
+ c2(f, r, e, t);
5538
5536
  break;
5539
5537
  case 17:
5540
- h2(f, r, e, t);
5538
+ l2(f, r, e, t);
5541
5539
  break;
5542
5540
  case 18:
5543
- b2(f, r, e, t);
5541
+ E2(f, r, e, t);
5544
5542
  break;
5545
5543
  case 19:
5546
- p2(f, r, e, t);
5544
+ h2(f, r, e, t);
5547
5545
  break;
5548
5546
  case 20:
5549
- B2(f, r, t);
5547
+ b2(f, r, t);
5550
5548
  break;
5551
5549
  case 21:
5552
- m2(f, r, t);
5550
+ p2(f, r, t);
5553
5551
  break;
5554
5552
  case 22:
5555
5553
  Qu(f, r, t);
5556
5554
  break;
5557
5555
  case 23:
5558
- g2(f, r, t);
5556
+ B2(f, r, t);
5559
5557
  break;
5560
5558
  case 24:
5561
- _2(f, r, t);
5559
+ m2(f, r, t);
5562
5560
  break;
5563
5561
  case 25:
5564
- y2(f, r, t);
5562
+ g2(f, r, t);
5565
5563
  break;
5566
5564
  case 26:
5567
- v2(f, r, t);
5565
+ _2(f, r, t);
5568
5566
  break;
5569
5567
  case 27:
5570
- w2(f, r, t);
5568
+ y2(f, r, t);
5571
5569
  break;
5572
5570
  case 28:
5573
- A2(f, r, t);
5571
+ v2(f, r, t);
5574
5572
  break;
5575
5573
  case 29:
5576
- x2(f, r, t);
5574
+ w2(f, r, t);
5577
5575
  break;
5578
5576
  case 30:
5579
- k2(f, r, t);
5577
+ A2(f, r, t);
5580
5578
  break;
5581
5579
  case 31:
5582
- j2(f, r, t);
5580
+ x2(f, r, t);
5583
5581
  break;
5584
5582
  case 32:
5585
- T2(f, r, e, t);
5583
+ j2(f, r, e, t);
5586
5584
  break;
5587
5585
  case 33:
5588
- N2(f, r, t);
5586
+ S2(f, r, t);
5589
5587
  break;
5590
5588
  case 34:
5591
- O2(f, r, t);
5589
+ T2(f, r, t);
5592
5590
  break;
5593
5591
  case 35:
5594
- R2(f, r, t);
5592
+ N2(f, r, t);
5595
5593
  break;
5596
5594
  case 36:
5597
- P2(f, r, e, t);
5595
+ O2(f, r, e, t);
5598
5596
  break;
5599
5597
  case 37:
5600
- S2(f, r, e, t);
5598
+ k2(f, r, e, t);
5601
5599
  break;
5602
5600
  case 38:
5603
- I2(f, r, e, t);
5601
+ R2(f, r, e, t);
5604
5602
  break;
5605
5603
  case 39:
5606
- $2(f, r, e, t);
5604
+ P2(f, r, e, t);
5607
5605
  break;
5608
5606
  case 40:
5609
- L2(f, r, t);
5607
+ I2(f, r, t);
5610
5608
  break;
5611
5609
  case 41:
5612
- M2(f, r, t);
5610
+ $2(f, r, t);
5613
5611
  break;
5614
5612
  default:
5615
5613
  Gu(r.state);
@@ -5634,71 +5632,71 @@ function Q3(u, D) {
5634
5632
  function jD(u, D, f) {
5635
5633
  var e = u.charIdx;
5636
5634
  if (f === 35)
5637
- u.addMachine(H2(
5635
+ u.addMachine(U2(
5638
5636
  e,
5639
5637
  28
5640
5638
  /* State.HashtagHashChar */
5641
5639
  ));
5642
5640
  else if (f === 64)
5643
- u.addMachine(W2(
5641
+ u.addMachine(V2(
5644
5642
  e,
5645
5643
  30
5646
5644
  /* State.MentionAtChar */
5647
5645
  ));
5648
5646
  else if (f === 47)
5649
- u.addMachine(nf(
5647
+ u.addMachine(tf(
5650
5648
  e,
5651
5649
  11
5652
5650
  /* State.ProtocolRelativeSlash1 */
5653
5651
  ));
5654
5652
  else if (f === 43)
5655
- u.addMachine(VD(
5653
+ u.addMachine(UD(
5656
5654
  e,
5657
5655
  37
5658
5656
  /* State.PhoneNumberPlus */
5659
5657
  ));
5660
5658
  else if (f === 40)
5661
- u.addMachine(VD(
5659
+ u.addMachine(UD(
5662
5660
  e,
5663
5661
  32
5664
5662
  /* State.PhoneNumberOpenParen */
5665
5663
  ));
5666
5664
  else {
5667
- if (Eu(f) && (u.addMachine(VD(
5665
+ if (Eu(f) && (u.addMachine(UD(
5668
5666
  e,
5669
5667
  38
5670
5668
  /* State.PhoneNumberDigit */
5671
- )), u.addMachine(U2(
5669
+ )), u.addMachine(q2(
5672
5670
  e,
5673
5671
  13
5674
5672
  /* State.IpV4Digit */
5675
- ))), M1(f)) {
5673
+ ))), L1(f)) {
5676
5674
  var t = D.toLowerCase() === "m" ? 15 : 22;
5677
- u.addMachine(V2(e, t));
5675
+ u.addMachine(z2(e, t));
5678
5676
  }
5679
5677
  oD(f) && u.addMachine(SD(
5680
5678
  e,
5681
5679
  0
5682
5680
  /* State.SchemeChar */
5683
- )), Zu(f) && u.addMachine(nf(
5681
+ )), Zu(f) && u.addMachine(tf(
5684
5682
  e,
5685
5683
  5
5686
5684
  /* State.DomainLabelChar */
5687
5685
  ));
5688
5686
  }
5689
5687
  }
5690
- function u2(u, D, f) {
5691
- f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : I1(f) || u.removeMachine(D);
5688
+ function Z3(u, D, f) {
5689
+ f === 58 ? D.state = 2 : f === 45 ? D.state = 1 : P1(f) || u.removeMachine(D);
5692
5690
  }
5693
- function D2(u, D, f) {
5691
+ function Q3(u, D, f) {
5694
5692
  var e = u.charIdx;
5695
- f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(nf(
5693
+ f === 45 || (f === 47 ? (u.removeMachine(D), u.addMachine(tf(
5696
5694
  e,
5697
5695
  11
5698
5696
  /* State.ProtocolRelativeSlash1 */
5699
- ))) : I1(f) ? D.state = 0 : u.removeMachine(D));
5697
+ ))) : P1(f) ? D.state = 0 : u.removeMachine(D));
5700
5698
  }
5701
- function f2(u, D, f) {
5699
+ function u2(u, D, f) {
5702
5700
  var e = u.charIdx;
5703
5701
  f === 47 ? D.state = 3 : f === 46 ? u.removeMachine(D) : Yu(f) ? (D.state = 5, oD(f) && u.addMachine(SD(
5704
5702
  e,
@@ -5706,162 +5704,162 @@ function f2(u, D, f) {
5706
5704
  /* State.SchemeChar */
5707
5705
  ))) : u.removeMachine(D);
5708
5706
  }
5709
- function e2(u, D, f) {
5710
- f === 47 ? D.state = 4 : $1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5707
+ function D2(u, D, f) {
5708
+ f === 47 ? D.state = 4 : I1(f) ? (D.state = 10, D.acceptStateReached = !0) : eu(u, D);
5711
5709
  }
5712
- function t2(u, D, f, e) {
5710
+ function f2(u, D, f, e) {
5713
5711
  e === 47 ? (D.state = 10, D.acceptStateReached = !0) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : u.removeMachine(D);
5714
5712
  }
5715
- function n2(u, D, f) {
5713
+ function e2(u, D, f) {
5716
5714
  f === 47 ? D.state = 12 : u.removeMachine(D);
5717
5715
  }
5718
- function r2(u, D, f) {
5716
+ function t2(u, D, f) {
5719
5717
  Yu(f) ? D.state = 5 : u.removeMachine(D);
5720
5718
  }
5721
- function a2(u, D, f) {
5722
- f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : Bf(f) ? D.state = 10 : pf(f) || eu(u, D);
5719
+ function n2(u, D, f) {
5720
+ f === 46 ? D.state = 7 : f === 45 ? D.state = 6 : f === 58 ? D.state = 8 : pf(f) ? D.state = 10 : bf(f) || eu(u, D);
5723
5721
  }
5724
- function s2(u, D, f, e) {
5722
+ function r2(u, D, f, e) {
5725
5723
  e === 45 || (e === 46 ? eu(u, D) : Yu(e) ? D.state = 5 : eu(u, D));
5726
5724
  }
5727
- function F2(u, D, f, e) {
5725
+ function a2(u, D, f, e) {
5728
5726
  e === 46 ? eu(u, D) : Yu(e) ? (D.state = 5, D.acceptStateReached = !0) : eu(u, D);
5729
5727
  }
5730
- function i2(u, D, f) {
5731
- f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (Bf(f) ? D.state = 10 : Zu(f) ? u.removeMachine(D) : eu(u, D));
5728
+ function s2(u, D, f) {
5729
+ f === 46 ? D.state = 14 : f === 58 ? D.state = 8 : Eu(f) || (pf(f) ? D.state = 10 : Zu(f) ? u.removeMachine(D) : eu(u, D));
5732
5730
  }
5733
- function o2(u, D, f) {
5731
+ function F2(u, D, f) {
5734
5732
  Eu(f) ? (D.octetsEncountered++, D.octetsEncountered === 4 && (D.acceptStateReached = !0), D.state = 13) : eu(u, D);
5735
5733
  }
5736
- function d2(u, D, f) {
5734
+ function i2(u, D, f) {
5737
5735
  Eu(f) ? D.state = 9 : eu(u, D);
5738
5736
  }
5739
- function C2(u, D, f) {
5740
- Eu(f) || (Bf(f) ? D.state = 10 : eu(u, D));
5737
+ function o2(u, D, f) {
5738
+ Eu(f) || (pf(f) ? D.state = 10 : eu(u, D));
5741
5739
  }
5742
- function c2(u, D, f) {
5743
- $1(f) || eu(u, D);
5740
+ function d2(u, D, f) {
5741
+ I1(f) || eu(u, D);
5744
5742
  }
5745
- function l2(u, D, f, e) {
5743
+ function C2(u, D, f, e) {
5746
5744
  f.toLowerCase() === "a" ? D.state = 16 : Qu(u, D, e);
5747
5745
  }
5748
- function E2(u, D, f, e) {
5746
+ function c2(u, D, f, e) {
5749
5747
  f.toLowerCase() === "i" ? D.state = 17 : Qu(u, D, e);
5750
5748
  }
5751
- function h2(u, D, f, e) {
5749
+ function l2(u, D, f, e) {
5752
5750
  f.toLowerCase() === "l" ? D.state = 18 : Qu(u, D, e);
5753
5751
  }
5754
- function b2(u, D, f, e) {
5752
+ function E2(u, D, f, e) {
5755
5753
  f.toLowerCase() === "t" ? D.state = 19 : Qu(u, D, e);
5756
5754
  }
5757
- function p2(u, D, f, e) {
5755
+ function h2(u, D, f, e) {
5758
5756
  f.toLowerCase() === "o" ? D.state = 20 : Qu(u, D, e);
5759
5757
  }
5760
- function B2(u, D, f) {
5758
+ function b2(u, D, f) {
5761
5759
  f === 58 ? D.state = 21 : Qu(u, D, f);
5762
5760
  }
5763
- function m2(u, D, f) {
5764
- mf(f) ? D.state = 22 : u.removeMachine(D);
5761
+ function p2(u, D, f) {
5762
+ Bf(f) ? D.state = 22 : u.removeMachine(D);
5765
5763
  }
5766
5764
  function Qu(u, D, f) {
5767
- f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : mf(f) ? D.state = 22 : u.removeMachine(D);
5765
+ f === 46 ? D.state = 23 : f === 64 ? D.state = 24 : Bf(f) ? D.state = 22 : u.removeMachine(D);
5766
+ }
5767
+ function B2(u, D, f) {
5768
+ f === 46 || f === 64 ? u.removeMachine(D) : Bf(f) ? D.state = 22 : u.removeMachine(D);
5769
+ }
5770
+ function m2(u, D, f) {
5771
+ Yu(f) ? D.state = 25 : u.removeMachine(D);
5768
5772
  }
5769
5773
  function g2(u, D, f) {
5770
- f === 46 || f === 64 ? u.removeMachine(D) : mf(f) ? D.state = 22 : u.removeMachine(D);
5774
+ f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : bf(f) || eu(u, D);
5771
5775
  }
5772
5776
  function _2(u, D, f) {
5773
- Yu(f) ? D.state = 25 : u.removeMachine(D);
5777
+ f === 45 || f === 46 ? eu(u, D) : bf(f) ? D.state = 25 : eu(u, D);
5774
5778
  }
5775
5779
  function y2(u, D, f) {
5776
- f === 46 ? D.state = 27 : f === 45 ? D.state = 26 : pf(f) || eu(u, D);
5780
+ f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5777
5781
  }
5778
5782
  function v2(u, D, f) {
5779
- f === 45 || f === 46 ? eu(u, D) : pf(f) ? D.state = 25 : eu(u, D);
5783
+ M1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5780
5784
  }
5781
5785
  function w2(u, D, f) {
5782
- f === 46 || f === 45 ? eu(u, D) : Yu(f) ? (D.state = 25, D.acceptStateReached = !0) : eu(u, D);
5786
+ M1(f) || eu(u, D);
5783
5787
  }
5784
5788
  function A2(u, D, f) {
5785
- q1(f) ? (D.state = 29, D.acceptStateReached = !0) : u.removeMachine(D);
5789
+ q1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5786
5790
  }
5787
5791
  function x2(u, D, f) {
5788
- q1(f) || eu(u, D);
5792
+ q1(f) || (Zu(f) ? u.removeMachine(D) : eu(u, D));
5789
5793
  }
5790
- function k2(u, D, f) {
5791
- z1(f) ? (D.state = 31, D.acceptStateReached = !0) : u.removeMachine(D);
5792
- }
5793
- function j2(u, D, f) {
5794
- z1(f) || (Zu(f) ? u.removeMachine(D) : eu(u, D));
5795
- }
5796
- function S2(u, D, f, e) {
5794
+ function k2(u, D, f, e) {
5797
5795
  Eu(e) ? D.state = 38 : (u.removeMachine(D), jD(u, f, e));
5798
5796
  }
5799
- function T2(u, D, f, e) {
5797
+ function j2(u, D, f, e) {
5800
5798
  Eu(e) ? D.state = 33 : u.removeMachine(D), jD(u, f, e);
5801
5799
  }
5802
- function N2(u, D, f) {
5800
+ function S2(u, D, f) {
5803
5801
  Eu(f) ? D.state = 34 : u.removeMachine(D);
5804
5802
  }
5805
- function O2(u, D, f) {
5803
+ function T2(u, D, f) {
5806
5804
  Eu(f) ? D.state = 35 : u.removeMachine(D);
5807
5805
  }
5808
- function R2(u, D, f) {
5806
+ function N2(u, D, f) {
5809
5807
  f === 41 ? D.state = 36 : u.removeMachine(D);
5810
5808
  }
5811
- function P2(u, D, f, e) {
5812
- Eu(e) ? D.state = 38 : U1(e) ? D.state = 39 : u.removeMachine(D);
5809
+ function O2(u, D, f, e) {
5810
+ Eu(e) ? D.state = 38 : z1(e) ? D.state = 39 : u.removeMachine(D);
5813
5811
  }
5814
- function I2(u, D, f, e) {
5812
+ function R2(u, D, f, e) {
5815
5813
  var t = u.charIdx;
5816
- D.acceptStateReached = !0, gf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : U1(e) ? D.state = 39 : (eu(u, D), oD(e) && u.addMachine(SD(
5814
+ D.acceptStateReached = !0, mf(e) ? D.state = 40 : e === 35 ? D.state = 41 : Eu(e) || (e === 40 ? D.state = 32 : z1(e) ? D.state = 39 : (eu(u, D), oD(e) && u.addMachine(SD(
5817
5815
  t,
5818
5816
  0
5819
5817
  /* State.SchemeChar */
5820
5818
  ))));
5821
5819
  }
5822
- function $2(u, D, f, e) {
5820
+ function P2(u, D, f, e) {
5823
5821
  Eu(e) ? D.state = 38 : e === 40 ? D.state = 32 : (eu(u, D), jD(u, f, e));
5824
5822
  }
5825
- function L2(u, D, f) {
5826
- gf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5823
+ function I2(u, D, f) {
5824
+ mf(f) || (f === 35 ? D.state = 41 : Eu(f) ? D.state = 38 : eu(u, D));
5827
5825
  }
5828
- function M2(u, D, f) {
5829
- gf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5826
+ function $2(u, D, f) {
5827
+ mf(f) ? D.state = 40 : Eu(f) ? u.removeMachine(D) : eu(u, D);
5830
5828
  }
5831
5829
  function eu(u, D) {
5832
5830
  var f = u.matches, e = u.text, t = u.charIdx, n = u.tagBuilder, r = u.stripPrefix, s = u.stripTrailingSlash, F = u.decodePercentEncoding, d = u.hashtagServiceName, o = u.mentionServiceName;
5833
5831
  if (u.removeMachine(D), !!D.acceptStateReached) {
5834
5832
  var c = D.startIdx, l = e.slice(D.startIdx, t);
5835
- switch (l = z2(l), D.type) {
5833
+ switch (l = M2(l), D.type) {
5836
5834
  case 0: {
5837
5835
  var j = e.charCodeAt(D.startIdx - 1);
5838
5836
  if (j === 64)
5839
5837
  return;
5840
5838
  switch (D.matchType) {
5841
5839
  case 0: {
5842
- var v = P1.exec(l);
5843
- if (v && (c = c + v.index, l = l.slice(v.index)), !_3(l))
5840
+ var v = R1.exec(l);
5841
+ if (v && (c = c + v.index, l = l.slice(v.index)), !m3(l))
5844
5842
  return;
5845
5843
  break;
5846
5844
  }
5847
5845
  case 1: {
5848
- if (!y3(l))
5846
+ if (!g3(l))
5849
5847
  return;
5850
5848
  break;
5851
5849
  }
5852
5850
  case 2: {
5853
- if (!A3(l))
5851
+ if (!v3(l))
5854
5852
  return;
5855
5853
  break;
5856
5854
  }
5857
5855
  default:
5858
5856
  Gu(D);
5859
5857
  }
5860
- f.push(new j3({
5858
+ f.push(new x3({
5861
5859
  tagBuilder: n,
5862
5860
  matchedText: l,
5863
5861
  offset: c,
5864
- urlMatchType: q2(D.matchType),
5862
+ urlMatchType: L2(D.matchType),
5865
5863
  url: l,
5866
5864
  protocolRelativeMatch: l.slice(0, 2) === "//",
5867
5865
  // TODO: Do these settings need to be passed to the match,
@@ -5873,16 +5871,16 @@ function eu(u, D) {
5873
5871
  break;
5874
5872
  }
5875
5873
  case 1: {
5876
- I3(l) && f.push(new $3({
5874
+ R3(l) && f.push(new P3({
5877
5875
  tagBuilder: n,
5878
5876
  matchedText: l,
5879
5877
  offset: c,
5880
- email: l.replace(P3, "")
5878
+ email: l.replace(O3, "")
5881
5879
  }));
5882
5880
  break;
5883
5881
  }
5884
5882
  case 2: {
5885
- L3(l) && f.push(new q3({
5883
+ I3(l) && f.push(new L3({
5886
5884
  tagBuilder: n,
5887
5885
  matchedText: l,
5888
5886
  offset: c,
@@ -5892,7 +5890,7 @@ function eu(u, D) {
5892
5890
  break;
5893
5891
  }
5894
5892
  case 3: {
5895
- U3(l, o) && f.push(new H3({
5893
+ q3(l, o) && f.push(new U3({
5896
5894
  tagBuilder: n,
5897
5895
  matchedText: l,
5898
5896
  offset: c,
@@ -5903,9 +5901,9 @@ function eu(u, D) {
5903
5901
  break;
5904
5902
  }
5905
5903
  case 4: {
5906
- if (l = l.replace(/ +$/g, ""), G3(l)) {
5904
+ if (l = l.replace(/ +$/g, ""), K3(l)) {
5907
5905
  var C = l.replace(/[^0-9,;#]/g, "");
5908
- f.push(new X3({
5906
+ f.push(new J3({
5909
5907
  tagBuilder: n,
5910
5908
  matchedText: l,
5911
5909
  offset: c,
@@ -5920,7 +5918,7 @@ function eu(u, D) {
5920
5918
  }
5921
5919
  }
5922
5920
  }
5923
- function q2(u) {
5921
+ function L2(u) {
5924
5922
  switch (u) {
5925
5923
  case 0:
5926
5924
  return "scheme";
@@ -5932,29 +5930,29 @@ function q2(u) {
5932
5930
  Gu(u);
5933
5931
  }
5934
5932
  }
5935
- var Kf = {
5933
+ var Wf = {
5936
5934
  ")": "(",
5937
5935
  "}": "{",
5938
5936
  "]": "["
5939
5937
  };
5940
- function z2(u) {
5938
+ function M2(u) {
5941
5939
  for (var D = {
5942
5940
  "(": 0,
5943
5941
  "{": 0,
5944
5942
  "[": 0
5945
5943
  }, f = 0; f < u.length; f++) {
5946
5944
  var e = u.charAt(f), t = u.charCodeAt(f);
5947
- h3(t) ? D[e]++ : Yf(t) && D[Kf[e]]--;
5945
+ l3(t) ? D[e]++ : Hf(t) && D[Wf[e]]--;
5948
5946
  }
5949
5947
  for (var n = u.length - 1; n >= 0; ) {
5950
5948
  var e = u.charAt(n), t = u.charCodeAt(n);
5951
- if (Yf(t)) {
5952
- var r = Kf[e];
5949
+ if (Hf(t)) {
5950
+ var r = Wf[e];
5953
5951
  if (D[r] < 0)
5954
5952
  D[r]++, n--;
5955
5953
  else
5956
5954
  break;
5957
- } else if (R1(t))
5955
+ } else if (O1(t))
5958
5956
  n--;
5959
5957
  else
5960
5958
  break;
@@ -5970,7 +5968,7 @@ function SD(u, D) {
5970
5968
  matchType: 0
5971
5969
  };
5972
5970
  }
5973
- function nf(u, D) {
5971
+ function tf(u, D) {
5974
5972
  return {
5975
5973
  type: 0,
5976
5974
  startIdx: u,
@@ -5979,7 +5977,7 @@ function nf(u, D) {
5979
5977
  matchType: 1
5980
5978
  };
5981
5979
  }
5982
- function U2(u, D) {
5980
+ function q2(u, D) {
5983
5981
  return {
5984
5982
  type: 0,
5985
5983
  startIdx: u,
@@ -5990,7 +5988,7 @@ function U2(u, D) {
5990
5988
  // starts at 1 because we create this machine when encountering the first octet
5991
5989
  };
5992
5990
  }
5993
- function V2(u, D) {
5991
+ function z2(u, D) {
5994
5992
  return {
5995
5993
  type: 1,
5996
5994
  startIdx: u,
@@ -5998,7 +5996,7 @@ function V2(u, D) {
5998
5996
  acceptStateReached: !1
5999
5997
  };
6000
5998
  }
6001
- function H2(u, D) {
5999
+ function U2(u, D) {
6002
6000
  return {
6003
6001
  type: 2,
6004
6002
  startIdx: u,
@@ -6006,7 +6004,7 @@ function H2(u, D) {
6006
6004
  acceptStateReached: !1
6007
6005
  };
6008
6006
  }
6009
- function W2(u, D) {
6007
+ function V2(u, D) {
6010
6008
  return {
6011
6009
  type: 3,
6012
6010
  startIdx: u,
@@ -6014,7 +6012,7 @@ function W2(u, D) {
6014
6012
  acceptStateReached: !1
6015
6013
  };
6016
6014
  }
6017
- function VD(u, D) {
6015
+ function UD(u, D) {
6018
6016
  return {
6019
6017
  type: 4,
6020
6018
  startIdx: u,
@@ -6022,7 +6020,7 @@ function VD(u, D) {
6022
6020
  acceptStateReached: !1
6023
6021
  };
6024
6022
  }
6025
- function Jf(u) {
6023
+ function Yf(u) {
6026
6024
  return u.type === 0 && u.matchType === 0;
6027
6025
  }
6028
6026
  var Su = (
@@ -6033,155 +6031,155 @@ var Su = (
6033
6031
  }
6034
6032
  return u;
6035
6033
  }()
6036
- ), _f = new Su(), Y2 = (
6034
+ ), gf = new Su(), H2 = (
6037
6035
  /** @class */
6038
6036
  /* @__PURE__ */ function() {
6039
6037
  function u(D, f) {
6040
- this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = _f, this.html = D, this.callbacks = f;
6038
+ this.charIdx = 0, this.state = 0, this.currentDataIdx = 0, this.currentTag = gf, this.html = D, this.callbacks = f;
6041
6039
  }
6042
6040
  return u;
6043
6041
  }()
6044
6042
  );
6045
- function K2(u, D) {
6046
- for (var f = new Y2(u, D), e = u.length; f.charIdx < e; ) {
6043
+ function W2(u, D) {
6044
+ for (var f = new H2(u, D), e = u.length; f.charIdx < e; ) {
6047
6045
  var t = u.charAt(f.charIdx), n = u.charCodeAt(f.charIdx);
6048
6046
  switch (f.state) {
6049
6047
  case 0:
6050
- J2(f, t);
6048
+ Y2(f, t);
6051
6049
  break;
6052
6050
  case 1:
6053
- G2(f, t, n);
6051
+ K2(f, t, n);
6054
6052
  break;
6055
6053
  case 2:
6056
- Z2(f, t, n);
6054
+ G2(f, t, n);
6057
6055
  break;
6058
6056
  case 3:
6059
- X2(f, t, n);
6057
+ J2(f, t, n);
6060
6058
  break;
6061
6059
  case 4:
6062
- Q2(f, t, n);
6060
+ X2(f, t, n);
6063
6061
  break;
6064
6062
  case 5:
6065
- ut(f, t, n);
6063
+ Z2(f, t, n);
6066
6064
  break;
6067
6065
  case 6:
6068
- Dt(f, t, n);
6066
+ Q2(f, t, n);
6069
6067
  break;
6070
6068
  case 7:
6071
- ft(f, t, n);
6069
+ ut(f, t, n);
6072
6070
  break;
6073
6071
  case 8:
6074
- et(f, t);
6072
+ Dt(f, t);
6075
6073
  break;
6076
6074
  case 9:
6077
- tt(f, t);
6075
+ ft(f, t);
6078
6076
  break;
6079
6077
  case 10:
6080
- nt(f, t, n);
6078
+ et(f, t, n);
6081
6079
  break;
6082
6080
  case 11:
6083
- rt(f, t, n);
6081
+ tt(f, t, n);
6084
6082
  break;
6085
6083
  case 12:
6086
- at(f, t);
6084
+ nt(f, t);
6087
6085
  break;
6088
6086
  case 13:
6089
- st(f);
6087
+ rt(f);
6090
6088
  break;
6091
6089
  case 14:
6092
- Ft(f, t);
6090
+ at(f, t);
6093
6091
  break;
6094
6092
  case 15:
6095
- it(f, t);
6093
+ st(f, t);
6096
6094
  break;
6097
6095
  case 16:
6098
- ot(f, t);
6096
+ Ft(f, t);
6099
6097
  break;
6100
6098
  case 17:
6101
- dt(f, t);
6099
+ it(f, t);
6102
6100
  break;
6103
6101
  case 18:
6104
- Ct(f, t);
6102
+ ot(f, t);
6105
6103
  break;
6106
6104
  case 19:
6107
- ct(f, t);
6105
+ dt(f, t);
6108
6106
  break;
6109
6107
  case 20:
6110
- lt(f, t);
6108
+ Ct(f, t);
6111
6109
  break;
6112
6110
  default:
6113
6111
  Gu(f.state);
6114
6112
  }
6115
6113
  f.charIdx++;
6116
6114
  }
6117
- f.currentDataIdx < f.charIdx && Et(f);
6115
+ f.currentDataIdx < f.charIdx && ct(f);
6118
6116
  }
6119
- function J2(u, D) {
6117
+ function Y2(u, D) {
6120
6118
  D === "<" && Ou(u);
6121
6119
  }
6120
+ function K2(u, D, f) {
6121
+ D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = gf);
6122
+ }
6123
+ function J2(u, D, f) {
6124
+ Xu(f) ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: VD(u) })), Ru(u)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6125
+ }
6122
6126
  function G2(u, D, f) {
6123
- D === "!" ? u.state = 13 : D === "/" ? (u.state = 2, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 }))) : D === "<" ? Ou(u) : rD(f) ? (u.state = 3, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isOpening: !0 }))) : (u.state = 0, u.currentTag = _f);
6127
+ D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6124
6128
  }
6125
6129
  function X2(u, D, f) {
6126
- Xu(f) ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), u.state = 4) : D === "<" ? Ou(u) : D === "/" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), u.state = 12) : D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { name: HD(u) })), Ru(u)) : !rD(f) && !Eu(f) && D !== ":" && xu(u);
6130
+ Xu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || hf(f) || d3(f) ? xu(u) : u.state = 5);
6127
6131
  }
6128
6132
  function Z2(u, D, f) {
6129
- D === ">" ? xu(u) : rD(f) ? u.state = 3 : xu(u);
6133
+ Xu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) && xu(u);
6130
6134
  }
6131
6135
  function Q2(u, D, f) {
6132
- Xu(f) || (D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : D === "=" || bf(f) || c3(f) ? xu(u) : u.state = 5);
6136
+ Xu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : hf(f) ? xu(u) : u.state = 5);
6133
6137
  }
6134
6138
  function ut(u, D, f) {
6135
- Xu(f) ? u.state = 6 : D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) && xu(u);
6136
- }
6137
- function Dt(u, D, f) {
6138
- Xu(f) || (D === "/" ? u.state = 12 : D === "=" ? u.state = 7 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : bf(f) ? xu(u) : u.state = 5);
6139
- }
6140
- function ft(u, D, f) {
6141
6139
  Xu(f) || (D === '"' ? u.state = 8 : D === "'" ? u.state = 9 : /[>=`]/.test(D) ? xu(u) : D === "<" ? Ou(u) : u.state = 10);
6142
6140
  }
6143
- function et(u, D) {
6141
+ function Dt(u, D) {
6144
6142
  D === '"' && (u.state = 11);
6145
6143
  }
6146
- function tt(u, D) {
6144
+ function ft(u, D) {
6147
6145
  D === "'" && (u.state = 11);
6148
6146
  }
6149
- function nt(u, D, f) {
6147
+ function et(u, D, f) {
6150
6148
  Xu(f) ? u.state = 4 : D === ">" ? Ru(u) : D === "<" && Ou(u);
6151
6149
  }
6152
- function rt(u, D, f) {
6153
- Xu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, ht(u));
6150
+ function tt(u, D, f) {
6151
+ Xu(f) ? u.state = 4 : D === "/" ? u.state = 12 : D === ">" ? Ru(u) : D === "<" ? Ou(u) : (u.state = 4, lt(u));
6154
6152
  }
6155
- function at(u, D) {
6153
+ function nt(u, D) {
6156
6154
  D === ">" ? (u.currentTag = new Su(Fu(Fu({}, u.currentTag), { isClosing: !0 })), Ru(u)) : xu(u);
6157
6155
  }
6158
- function st(u) {
6156
+ function rt(u) {
6159
6157
  var D = u.html, f = u.charIdx;
6160
6158
  D.slice(f, f + 2) === "--" ? (u.charIdx++, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { type: "comment" })), u.state = 14) : D.slice(f, f + 7).toUpperCase() === "DOCTYPE" ? (u.charIdx += 6, u.currentTag = new Su(Fu(Fu({}, u.currentTag), { type: "doctype" })), u.state = 20) : xu(u);
6161
6159
  }
6162
- function Ft(u, D) {
6160
+ function at(u, D) {
6163
6161
  D === "-" ? u.state = 15 : D === ">" ? xu(u) : u.state = 16;
6164
6162
  }
6165
- function it(u, D) {
6163
+ function st(u, D) {
6166
6164
  D === "-" ? u.state = 18 : D === ">" ? xu(u) : u.state = 16;
6167
6165
  }
6168
- function ot(u, D) {
6166
+ function Ft(u, D) {
6169
6167
  D === "-" && (u.state = 17);
6170
6168
  }
6171
- function dt(u, D) {
6169
+ function it(u, D) {
6172
6170
  D === "-" ? u.state = 18 : u.state = 16;
6173
6171
  }
6174
- function Ct(u, D) {
6172
+ function ot(u, D) {
6175
6173
  D === ">" ? Ru(u) : D === "!" ? u.state = 19 : D === "-" || (u.state = 16);
6176
6174
  }
6177
- function ct(u, D) {
6175
+ function dt(u, D) {
6178
6176
  D === "-" ? u.state = 17 : D === ">" ? Ru(u) : u.state = 16;
6179
6177
  }
6180
- function lt(u, D) {
6178
+ function Ct(u, D) {
6181
6179
  D === ">" ? Ru(u) : D === "<" && Ou(u);
6182
6180
  }
6183
6181
  function xu(u) {
6184
- u.state = 0, u.currentTag = _f;
6182
+ u.state = 0, u.currentTag = gf;
6185
6183
  }
6186
6184
  function Ou(u) {
6187
6185
  u.state = 1, u.currentTag = new Su({ idx: u.charIdx });
@@ -6192,18 +6190,18 @@ function Ru(u) {
6192
6190
  var f = u.currentTag;
6193
6191
  f.type === "comment" ? u.callbacks.onComment(f.idx) : f.type === "doctype" ? u.callbacks.onDoctype(f.idx) : (f.isOpening && u.callbacks.onOpenTag(f.name, f.idx), f.isClosing && u.callbacks.onCloseTag(f.name, f.idx)), xu(u), u.currentDataIdx = u.charIdx + 1;
6194
6192
  }
6195
- function Et(u) {
6193
+ function ct(u) {
6196
6194
  var D = u.html.slice(u.currentDataIdx, u.charIdx);
6197
6195
  u.callbacks.onText(D, u.currentDataIdx), u.currentDataIdx = u.charIdx + 1;
6198
6196
  }
6199
- function HD(u) {
6197
+ function VD(u) {
6200
6198
  var D = u.currentTag.idx + (u.currentTag.isClosing ? 2 : 1);
6201
6199
  return u.html.slice(D, u.charIdx).toLowerCase();
6202
6200
  }
6203
- function ht(u) {
6201
+ function lt(u) {
6204
6202
  u.charIdx--;
6205
6203
  }
6206
- var bt = (
6204
+ var Et = (
6207
6205
  /** @class */
6208
6206
  function() {
6209
6207
  function u(D) {
@@ -6213,14 +6211,14 @@ var bt = (
6213
6211
  }, this.stripTrailingSlash = !0, this.decodePercentEncoding = !0, this.truncate = {
6214
6212
  length: 0,
6215
6213
  location: "end"
6216
- }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = pt(D.urls), this.email = wu(D.email) ? D.email : this.email, this.phone = wu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = wu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = Bt(D.stripPrefix), this.stripTrailingSlash = wu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = wu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6214
+ }, this.className = "", this.replaceFn = null, this.context = void 0, this.sanitizeHtml = !1, this.tagBuilder = null, this.urls = ht(D.urls), this.email = wu(D.email) ? D.email : this.email, this.phone = wu(D.phone) ? D.phone : this.phone, this.hashtag = D.hashtag || this.hashtag, this.mention = D.mention || this.mention, this.newWindow = wu(D.newWindow) ? D.newWindow : this.newWindow, this.stripPrefix = bt(D.stripPrefix), this.stripTrailingSlash = wu(D.stripTrailingSlash) ? D.stripTrailingSlash : this.stripTrailingSlash, this.decodePercentEncoding = wu(D.decodePercentEncoding) ? D.decodePercentEncoding : this.decodePercentEncoding, this.sanitizeHtml = D.sanitizeHtml || !1;
6217
6215
  var f = this.mention;
6218
- if (f !== !1 && V3.indexOf(f) === -1)
6216
+ if (f !== !1 && z3.indexOf(f) === -1)
6219
6217
  throw new Error("invalid `mention` cfg '".concat(f, "' - see docs"));
6220
6218
  var e = this.hashtag;
6221
- if (e !== !1 && M3.indexOf(e) === -1)
6219
+ if (e !== !1 && $3.indexOf(e) === -1)
6222
6220
  throw new Error("invalid `hashtag` cfg '".concat(e, "' - see docs"));
6223
- this.truncate = mt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6221
+ this.truncate = pt(D.truncate), this.className = D.className || this.className, this.replaceFn = D.replaceFn || this.replaceFn, this.context = D.context || this;
6224
6222
  }
6225
6223
  return u.link = function(D, f) {
6226
6224
  var e = new u(f);
@@ -6230,7 +6228,7 @@ var bt = (
6230
6228
  return e.parse(D);
6231
6229
  }, u.prototype.parse = function(D) {
6232
6230
  var f = this, e = ["a", "style", "script"], t = 0, n = [];
6233
- return K2(D, {
6231
+ return W2(D, {
6234
6232
  onOpenTag: function(r) {
6235
6233
  e.indexOf(r) >= 0 && t++;
6236
6234
  },
@@ -6240,7 +6238,7 @@ var bt = (
6240
6238
  d.forEach(function(c, l) {
6241
6239
  if (l % 2 === 0) {
6242
6240
  var j = f.parseText(c, o);
6243
- n.push.apply(n, n3([], t3(j), !1));
6241
+ n.push.apply(n, e3([], f3(j), !1));
6244
6242
  }
6245
6243
  o += c.length;
6246
6244
  });
@@ -6257,7 +6255,7 @@ var bt = (
6257
6255
  // no need to process doctype nodes
6258
6256
  }), n = this.compactMatches(n), n = this.removeUnwantedMatches(n), n;
6259
6257
  }, u.prototype.compactMatches = function(D) {
6260
- D.sort(gt);
6258
+ D.sort(Bt);
6261
6259
  for (var f = 0; f < D.length - 1; ) {
6262
6260
  var e = D[f], t = e.getOffset(), n = e.getMatchedText().length;
6263
6261
  if (f + 1 < D.length && D[f + 1].getOffset() === t) {
@@ -6286,7 +6284,7 @@ var bt = (
6286
6284
  }), D;
6287
6285
  }, u.prototype.parseText = function(D, f) {
6288
6286
  f = f || 0;
6289
- for (var e = Q3(D, {
6287
+ for (var e = X3(D, {
6290
6288
  tagBuilder: this.getTagBuilder(),
6291
6289
  stripPrefix: this.stripPrefix,
6292
6290
  stripTrailingSlash: this.stripTrailingSlash,
@@ -6311,37 +6309,37 @@ var bt = (
6311
6309
  return f;
6312
6310
  if (f === !1)
6313
6311
  return D.getMatchedText();
6314
- if (f instanceof O1)
6312
+ if (f instanceof N1)
6315
6313
  return f.toAnchorString();
6316
6314
  var e = D.buildTag();
6317
6315
  return e.toAnchorString();
6318
6316
  }, u.prototype.getTagBuilder = function() {
6319
6317
  var D = this.tagBuilder;
6320
- return D || (D = this.tagBuilder = new C3({
6318
+ return D || (D = this.tagBuilder = new o3({
6321
6319
  newWindow: this.newWindow,
6322
6320
  truncate: this.truncate,
6323
6321
  className: this.className
6324
6322
  })), D;
6325
- }, u.version = r3, u;
6323
+ }, u.version = t3, u;
6326
6324
  }()
6327
6325
  );
6328
- function pt(u) {
6326
+ function ht(u) {
6329
6327
  return u == null && (u = !0), wu(u) ? { schemeMatches: u, tldMatches: u, ipV4Matches: u } : {
6330
6328
  schemeMatches: wu(u.schemeMatches) ? u.schemeMatches : !0,
6331
6329
  tldMatches: wu(u.tldMatches) ? u.tldMatches : !0,
6332
6330
  ipV4Matches: wu(u.ipV4Matches) ? u.ipV4Matches : !0
6333
6331
  };
6334
6332
  }
6335
- function Bt(u) {
6333
+ function bt(u) {
6336
6334
  return u == null && (u = !0), wu(u) ? { scheme: u, www: u } : {
6337
6335
  scheme: wu(u.scheme) ? u.scheme : !0,
6338
6336
  www: wu(u.www) ? u.www : !0
6339
6337
  };
6340
6338
  }
6341
- function mt(u) {
6339
+ function pt(u) {
6342
6340
  return typeof u == "number" ? { length: u, location: "end" } : Fu({ length: Number.POSITIVE_INFINITY, location: "end" }, u);
6343
6341
  }
6344
- function gt(u, D) {
6342
+ function Bt(u, D) {
6345
6343
  return u.getOffset() - D.getOffset();
6346
6344
  }
6347
6345
  const Ju = [
@@ -6350,28 +6348,28 @@ const Ju = [
6350
6348
  { name: "New Zealand", countryCode: "+64", code: "NZ", flag: "🇳🇿" },
6351
6349
  { name: "United Kingdom", countryCode: "+44", code: "UK", flag: "🇬🇧" },
6352
6350
  { name: "Indonesia", countryCode: "+62", code: "ID", flag: "🇮🇩" }
6353
- ], _t = {
6351
+ ], mt = {
6354
6352
  AU: /^(?:\+?(61))? ?(?:\((?=.*\))\))?(0?[4])\)? ?(\d\d(?:[- ](?=\d{3})|(?!\d\d[- ]?\d[- ]))\d\d[- ]?\d[- ]?\d{3})$/gm,
6355
6353
  US: /^(\+?1\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6356
6354
  UK: /^(\+?44\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6357
6355
  NZ: /^(\+?64\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm,
6358
6356
  ID: /^(\+?62\s?)?\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/gm
6359
- }, yt = {
6357
+ }, gt = {
6360
6358
  AU: "+61",
6361
6359
  US: "+1",
6362
6360
  NZ: "+64",
6363
6361
  UK: "+44",
6364
6362
  ID: "+62"
6365
- }, vt = (u) => u.toUpperCase(), wt = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6366
- function At(u, D) {
6367
- const f = yt[u];
6363
+ }, _t = (u) => u.toUpperCase(), yt = (u) => u.replace(/\s+/g, "").replace(/[^0-9+]/g, "");
6364
+ function vt(u, D) {
6365
+ const f = gt[u];
6368
6366
  return D.startsWith(f) ? { cleanNumber: D.slice(f.length), countryCode: f } : { cleanNumber: D, countryCode: f };
6369
6367
  }
6370
- function xt(u, D) {
6371
- const f = _t[u];
6368
+ function wt(u, D) {
6369
+ const f = mt[u];
6372
6370
  return new RegExp(f.source, "mi").test(D);
6373
6371
  }
6374
- function kt({
6372
+ function At({
6375
6373
  number: u,
6376
6374
  region: D,
6377
6375
  validateDuplicate: f,
@@ -6383,26 +6381,26 @@ function kt({
6383
6381
  cleanNumber: "",
6384
6382
  errorMessage: "",
6385
6383
  isValid: !1
6386
- }, n = vt(D);
6384
+ }, n = _t(D);
6387
6385
  if (!u)
6388
6386
  return t.errorMessage = "Number is empty", t;
6389
6387
  const r = u.trim();
6390
- let s = wt(u);
6388
+ let s = yt(u);
6391
6389
  s = s.startsWith("0") ? s.slice(1) : s;
6392
- const { cleanNumber: F, countryCode: d } = At(
6390
+ const { cleanNumber: F, countryCode: d } = vt(
6393
6391
  n,
6394
6392
  s
6395
6393
  );
6396
6394
  s = F, t.fullNumber = `${d}${s}`, t.cleanNumber = s;
6397
6395
  try {
6398
- if (!xt(n, r)) throw new Error("Please enter a valid phone number");
6396
+ if (!wt(n, r)) throw new Error("Please enter a valid phone number");
6399
6397
  t.isValid = !0;
6400
6398
  } catch (o) {
6401
6399
  t.errorMessage = o.message, t.isValid = !1;
6402
6400
  }
6403
6401
  return t;
6404
6402
  }
6405
- const V1 = ({
6403
+ const U1 = ({
6406
6404
  initialData: u,
6407
6405
  loadFromDataUserSubs: D = !1
6408
6406
  } = {}) => {
@@ -6431,7 +6429,7 @@ const V1 = ({
6431
6429
  if (!C.isRequired && _ && I === "")
6432
6430
  return "";
6433
6431
  if (g) {
6434
- const P = kt({
6432
+ const P = At({
6435
6433
  number: g,
6436
6434
  region: B,
6437
6435
  validateDuplicate: !1,
@@ -6756,7 +6754,7 @@ const V1 = ({
6756
6754
  validateAll: v
6757
6755
  };
6758
6756
  };
6759
- function jt(u) {
6757
+ function xt(u) {
6760
6758
  const D = {};
6761
6759
  return Object.entries(u).forEach(([f, e]) => {
6762
6760
  if (e) {
@@ -6769,13 +6767,13 @@ function jt(u) {
6769
6767
  }
6770
6768
  }), D;
6771
6769
  }
6772
- const St = ({
6770
+ const kt = ({
6773
6771
  onSubmit: u,
6774
6772
  onFormStateChange: D
6775
6773
  }) => {
6776
6774
  const { colors: f } = iu(), e = Wu(), t = pu(), { socket: n } = tD(), { setScreen: r } = Nu();
6777
6775
  zu();
6778
- const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = du(), { formData: j, renderContactFormField: v, errors: C, validateAll: y } = V1({
6776
+ const { setIsOfflineMode: s, send: F, participants: d, setMessages: o, setParticipants: c, setConnectionState: l } = du(), { formData: j, renderContactFormField: v, errors: C, validateAll: y } = U1({
6779
6777
  initialData: {},
6780
6778
  loadFromDataUserSubs: !0
6781
6779
  }), [x, g] = U(!1), [T, _] = U(!1);
@@ -6792,7 +6790,7 @@ const St = ({
6792
6790
  var h;
6793
6791
  E.isDisplay && j[E.key] !== void 0 && (O[E.key] = ((h = j[E.key]) == null ? void 0 : h.toString().trim()) || "");
6794
6792
  });
6795
- const L = jt(O);
6793
+ const L = xt(O);
6796
6794
  if (!X.getItem("profileLiveChat"))
6797
6795
  try {
6798
6796
  const E = new URLSearchParams();
@@ -6902,7 +6900,7 @@ const St = ({
6902
6900
  ] }) })
6903
6901
  }
6904
6902
  );
6905
- }, Tt = ({
6903
+ }, jt = ({
6906
6904
  message: u,
6907
6905
  onFormSubmitted: D
6908
6906
  }) => {
@@ -6913,7 +6911,7 @@ const St = ({
6913
6911
  const n = () => {
6914
6912
  if (u.direction === uu.received && t.current) {
6915
6913
  const F = t.current.innerText;
6916
- let d = bt.link(F, {
6914
+ let d = Et.link(F, {
6917
6915
  className: "chatLink",
6918
6916
  truncate: { length: 50, location: "smart" }
6919
6917
  });
@@ -6924,7 +6922,7 @@ const St = ({
6924
6922
  throw new Error("Unable to find text.");
6925
6923
  const r = f[u.direction || uu.received];
6926
6924
  return "isShowForm" in u.data && u.data.isShowForm ? /* @__PURE__ */ a.jsx(
6927
- St,
6925
+ kt,
6928
6926
  {
6929
6927
  onFormStateChange: (F) => {
6930
6928
  e(F), !F && D && D(!0);
@@ -6941,7 +6939,7 @@ const St = ({
6941
6939
  children: /* @__PURE__ */ a.jsx("p", { className: "sc-message--text-content", ref: t, children: u.data.text })
6942
6940
  }
6943
6941
  ) });
6944
- }, Gf = ({
6942
+ }, Kf = ({
6945
6943
  viewBox: u = "0 0 24 24",
6946
6944
  fill: D = "none",
6947
6945
  stroke: f = "",
@@ -6962,13 +6960,13 @@ const St = ({
6962
6960
  ...r,
6963
6961
  children: /* @__PURE__ */ a.jsx("path", { d: "M20 6L9 17l-5-5" })
6964
6962
  }
6965
- ), Nt = ({ message: u }) => {
6963
+ ), St = ({ message: u }) => {
6966
6964
  const { colors: D } = iu();
6967
6965
  if (!("delivery" in u && "read" in u))
6968
6966
  throw new Error("Unable to find delivery/read attributes");
6969
6967
  return /* @__PURE__ */ a.jsxs("div", { className: "sc--status", style: { color: D.messageStatus.bg }, children: [
6970
6968
  u.read && /* @__PURE__ */ a.jsx("div", { className: "sc--status-wrapper sc--status-read", title: "Read", children: /* @__PURE__ */ a.jsx(
6971
- Gf,
6969
+ Kf,
6972
6970
  {
6973
6971
  width: "16px",
6974
6972
  height: "16px",
@@ -6982,7 +6980,7 @@ const St = ({
6982
6980
  className: "sc--status-wrapper sc--status-delivery",
6983
6981
  title: "Delivered",
6984
6982
  children: /* @__PURE__ */ a.jsx(
6985
- Gf,
6983
+ Kf,
6986
6984
  {
6987
6985
  width: "16px",
6988
6986
  height: "16px",
@@ -6994,15 +6992,15 @@ const St = ({
6994
6992
  )
6995
6993
  ] });
6996
6994
  };
6997
- S1.extend(Ke);
6998
- const Ot = ({ message: u, Avatar: D }) => {
6995
+ j1.extend(We);
6996
+ const Tt = ({ message: u, Avatar: D }) => {
6999
6997
  const { participants: f } = du(), { colors: e } = iu(), [t, n] = U(!1), [r, s] = U(!1), F = pu(), d = u.data && "text" in u.data && "isShowForm" in u.data && u.data.isShowForm, o = f.find(
7000
6998
  (j) => j.id === u.author
7001
6999
  ) || {
7002
7000
  name: "Anon"
7003
7001
  }, c = () => {
7004
7002
  n(!t);
7005
- }, l = (j) => S1(j).fromNow();
7003
+ }, l = (j) => j1(j).fromNow();
7006
7004
  return /* @__PURE__ */ a.jsx("div", { className: `sc-message ${u.direction}`, children: /* @__PURE__ */ a.jsxs("div", { className: `sc-message--content ${u.direction}`, children: [
7007
7005
  (!r || !d) && /* @__PURE__ */ a.jsx(
7008
7006
  "div",
@@ -7020,24 +7018,24 @@ const Ot = ({ message: u, Avatar: D }) => {
7020
7018
  height: 32,
7021
7019
  style: { borderRadius: "50%" }
7022
7020
  }
7023
- ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7021
+ ) : D ? /* @__PURE__ */ a.jsx(D, {}) : o.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7024
7022
  }
7025
7023
  ),
7026
7024
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--wrapper", onClick: c, children: [
7027
7025
  u.data && "text" in u.data && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
7028
- Tt,
7026
+ jt,
7029
7027
  {
7030
7028
  message: u,
7031
7029
  onFormSubmitted: s
7032
7030
  }
7033
7031
  ) }),
7034
- u.type === "file" && /* @__PURE__ */ a.jsx(D3, { message: u }),
7035
- u.type === "location" && /* @__PURE__ */ a.jsx(f3, { message: u }),
7036
- u.type === "list" && /* @__PURE__ */ a.jsx(e3, { messageList: u }),
7037
- u.type === "carousel" && /* @__PURE__ */ a.jsx(Qe, { messageCarousel: u }),
7032
+ u.type === "file" && /* @__PURE__ */ a.jsx(Qe, { message: u }),
7033
+ u.type === "location" && /* @__PURE__ */ a.jsx(u3, { message: u }),
7034
+ u.type === "list" && /* @__PURE__ */ a.jsx(D3, { messageList: u }),
7035
+ u.type === "carousel" && /* @__PURE__ */ a.jsx(Xe, { messageCarousel: u }),
7038
7036
  u.type === "buttons" && /* @__PURE__ */ a.jsx(vD, { message: u }),
7039
7037
  /* @__PURE__ */ a.jsxs("div", { className: "sc-message--meta", children: [
7040
- u.direction === "sent" && /* @__PURE__ */ a.jsx(Nt, { message: u }),
7038
+ u.direction === "sent" && /* @__PURE__ */ a.jsx(St, { message: u }),
7041
7039
  /* @__PURE__ */ a.jsx(
7042
7040
  "div",
7043
7041
  {
@@ -7049,7 +7047,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7049
7047
  ] })
7050
7048
  ] })
7051
7049
  ] }) });
7052
- }, Rt = () => {
7050
+ }, Nt = () => {
7053
7051
  const { colors: u } = iu();
7054
7052
  return /* @__PURE__ */ a.jsxs(
7055
7053
  "div",
@@ -7066,7 +7064,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7066
7064
  ]
7067
7065
  }
7068
7066
  );
7069
- }, Pt = ({
7067
+ }, Ot = ({
7070
7068
  Avatar: u,
7071
7069
  phone: D
7072
7070
  }) => {
@@ -7086,7 +7084,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7086
7084
  style: r.imageUrl ? {
7087
7085
  backgroundImage: `url(${r.imageUrl}?color=${encodeURIComponent(e.header.bg)})`
7088
7086
  } : void 0,
7089
- children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(N1, { width: "32px", height: "32px" })
7087
+ children: u ? /* @__PURE__ */ a.jsx(u, {}) : r.imageUrl ? null : /* @__PURE__ */ a.jsx(T1, { width: "32px", height: "32px" })
7090
7088
  }
7091
7089
  ),
7092
7090
  /* @__PURE__ */ a.jsx("div", { className: "sc-message--wrapper", children: /* @__PURE__ */ a.jsxs(
@@ -7114,7 +7112,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7114
7112
  }
7115
7113
  ) })
7116
7114
  ] }) });
7117
- }, It = ({ Avatar: u }) => {
7115
+ }, Rt = ({ Avatar: u }) => {
7118
7116
  const { scroll: D, setScroll: f, isOpen: e } = Nu(), { messages: t, showTypingIndicator: n, setNewIOMessage: r, setMessages: s } = du(), F = pu(), { colors: d } = iu(), { formSettings: o } = pu(), [c, l] = U(""), j = F.offline_mode, v = kD(j), C = (T) => {
7119
7117
  if (!("text" in T.data)) return !1;
7120
7118
  const _ = T.data.text || "", B = (m) => m.toLowerCase().replace(/\s+/g, "").replace(/[^a-z0-9_]/g, ""), I = _.split(`
@@ -7165,7 +7163,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7165
7163
  direction: uu.received,
7166
7164
  read: !0,
7167
7165
  delivery: !0,
7168
- type: KD.text,
7166
+ type: YD.text,
7169
7167
  data: {
7170
7168
  text: "Enter your information, and our team will text you shortly.",
7171
7169
  isOffline: !0,
@@ -7181,7 +7179,7 @@ const Ot = ({ message: u, Avatar: D }) => {
7181
7179
  direction: uu.received,
7182
7180
  read: !0,
7183
7181
  delivery: !0,
7184
- type: KD.text,
7182
+ type: YD.text,
7185
7183
  data: {
7186
7184
  text: "Show Form",
7187
7185
  isOffline: !0,
@@ -7213,16 +7211,16 @@ const Ot = ({ message: u, Avatar: D }) => {
7213
7211
  ref: y,
7214
7212
  style: { backgroundColor: d.messageList.bg },
7215
7213
  children: [
7216
- t.map((T) => /* @__PURE__ */ a.jsxs(sf.Fragment, { children: [
7217
- /* @__PURE__ */ a.jsx(Ot, { message: T, Avatar: u }),
7218
- C(T) && v && /* @__PURE__ */ a.jsx(Pt, { phone: c })
7214
+ t.map((T) => /* @__PURE__ */ a.jsxs(af.Fragment, { children: [
7215
+ /* @__PURE__ */ a.jsx(Tt, { message: T, Avatar: u }),
7216
+ C(T) && v && /* @__PURE__ */ a.jsx(Ot, { phone: c })
7219
7217
  ] }, T.mid)),
7220
- n && /* @__PURE__ */ a.jsx(Rt, {})
7218
+ n && /* @__PURE__ */ a.jsx(Nt, {})
7221
7219
  ]
7222
7220
  }
7223
7221
  );
7224
7222
  };
7225
- var rf = { exports: {} };
7223
+ var nf = { exports: {} };
7226
7224
  (function(u, D) {
7227
7225
  (function() {
7228
7226
  var f = this, e = f.EmojiConvertor, t = function() {
@@ -9811,9 +9809,9 @@ var rf = { exports: {} };
9811
9809
  }).call(/* @__PURE__ */ function() {
9812
9810
  return this || (typeof window < "u" ? window : dD);
9813
9811
  }());
9814
- })(rf, rf.exports);
9815
- var $t = rf.exports;
9816
- const Lt = /* @__PURE__ */ Ff($t), Mt = [
9812
+ })(nf, nf.exports);
9813
+ var Pt = nf.exports;
9814
+ const It = /* @__PURE__ */ sf(Pt), $t = [
9817
9815
  {
9818
9816
  name: "People",
9819
9817
  emojis: [
@@ -10467,8 +10465,8 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10467
10465
  "🔹"
10468
10466
  ]
10469
10467
  }
10470
- ], qt = ({ onBlur: u, onSelect: D }) => {
10471
- const f = gu(new Lt()), e = gu(null);
10468
+ ], Lt = ({ onBlur: u, onSelect: D }) => {
10469
+ const f = gu(new It()), e = gu(null);
10472
10470
  Z(() => {
10473
10471
  const n = e.current;
10474
10472
  n && (n.style.opacity = "0", window.requestAnimationFrame(() => {
@@ -10478,7 +10476,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10478
10476
  const t = (n, r) => {
10479
10477
  D(n, r), e.current && e.current.blur();
10480
10478
  };
10481
- return /* @__PURE__ */ a.jsx("div", { tabIndex: 0, onBlur: u, className: "sc-emoji-picker", ref: e, children: /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--content", children: Mt.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10479
+ return /* @__PURE__ */ a.jsx("div", { tabIndex: 0, onBlur: u, className: "sc-emoji-picker", ref: e, children: /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--content", children: $t.map((n) => /* @__PURE__ */ a.jsxs("div", { className: "sc-emoji-picker--category", children: [
10482
10480
  /* @__PURE__ */ a.jsx("div", { className: "sc-emoji-picker--category-title", children: n.name }),
10483
10481
  n.emojis.map((r) => /* @__PURE__ */ a.jsx(
10484
10482
  "span",
@@ -10490,7 +10488,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10490
10488
  r
10491
10489
  ))
10492
10490
  ] }, n.name)) }) });
10493
- }, zt = ({
10491
+ }, Mt = ({
10494
10492
  x: u = "0",
10495
10493
  y: D = "0",
10496
10494
  className: f = "sc-user-input--emoji-icon",
@@ -10513,7 +10511,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10513
10511
  /* @__PURE__ */ a.jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m0-2.5c2.33 0 4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2s-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5" })
10514
10512
  ]
10515
10513
  }
10516
- ), Ut = ({ inputRef: u, onInput: D }) => {
10514
+ ), qt = ({ inputRef: u, onInput: D }) => {
10517
10515
  const [f, e] = U(!1), t = gu(null), n = () => {
10518
10516
  e(!f);
10519
10517
  }, r = (d) => {
@@ -10529,7 +10527,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10529
10527
  }
10530
10528
  };
10531
10529
  return /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--picker-wrapper", children: [
10532
- f && /* @__PURE__ */ a.jsx(qt, { onBlur: r, onSelect: s }),
10530
+ f && /* @__PURE__ */ a.jsx(Lt, { onBlur: r, onSelect: s }),
10533
10531
  /* @__PURE__ */ a.jsx(
10534
10532
  "button",
10535
10533
  {
@@ -10539,11 +10537,11 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10539
10537
  id: "sc-emoji-button",
10540
10538
  className: "sc-user-input--emoji-icon-wrapper",
10541
10539
  ref: t,
10542
- children: /* @__PURE__ */ a.jsx(zt, {})
10540
+ children: /* @__PURE__ */ a.jsx(Mt, {})
10543
10541
  }
10544
10542
  )
10545
10543
  ] });
10546
- }, Vt = {
10544
+ }, zt = {
10547
10545
  images: ["image/jpeg", "image/png", "image/webp", "image/bmp"],
10548
10546
  videos: [
10549
10547
  "video/mp4",
@@ -10589,7 +10587,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10589
10587
  "application/json",
10590
10588
  "text/csv"
10591
10589
  ]
10592
- }, H1 = ({
10590
+ }, V1 = ({
10593
10591
  x: u = "0",
10594
10592
  y: D = "0",
10595
10593
  className: f = "sc-user-input--file-icon",
@@ -10609,17 +10607,17 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10609
10607
  " "
10610
10608
  ]
10611
10609
  }
10612
- ), Ht = () => {
10610
+ ), Ut = () => {
10613
10611
  const { setFile: u } = du(), D = (t) => {
10614
10612
  t.target.value = "";
10615
10613
  }, f = (t) => {
10616
10614
  t.target.files && t.target.files[0] && u && u(t.target.files[0]);
10617
- }, e = C0(
10618
- () => Object.values(Vt).flat().join(","),
10615
+ }, e = d0(
10616
+ () => Object.values(zt).flat().join(","),
10619
10617
  []
10620
10618
  );
10621
10619
  return /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--file-wrapper", children: /* @__PURE__ */ a.jsxs("button", { className: "sc-user-input--file-icon-wrapper", type: "button", children: [
10622
- /* @__PURE__ */ a.jsx(H1, {}),
10620
+ /* @__PURE__ */ a.jsx(V1, {}),
10623
10621
  /* @__PURE__ */ a.jsx(
10624
10622
  "input",
10625
10623
  {
@@ -10631,7 +10629,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10631
10629
  }
10632
10630
  )
10633
10631
  ] }) });
10634
- }, Wt = ({
10632
+ }, Vt = ({
10635
10633
  x: u = "0",
10636
10634
  y: D = "0",
10637
10635
  className: f = "sc-user-input--location-icon",
@@ -10650,7 +10648,7 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10650
10648
  ...n,
10651
10649
  children: /* @__PURE__ */ a.jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5" })
10652
10650
  }
10653
- ), Yt = () => {
10651
+ ), Ht = () => {
10654
10652
  const { setPayload: u, send: D } = du(), f = pu(), e = (t) => {
10655
10653
  navigator.geolocation ? navigator.geolocation.getCurrentPosition(
10656
10654
  (n) => {
@@ -10684,12 +10682,12 @@ const Lt = /* @__PURE__ */ Ff($t), Mt = [
10684
10682
  onClick: e,
10685
10683
  type: "button",
10686
10684
  className: "sc-user-input--location-icon-wrapper",
10687
- children: /* @__PURE__ */ a.jsx(Wt, {})
10685
+ children: /* @__PURE__ */ a.jsx(Vt, {})
10688
10686
  }
10689
10687
  ) });
10690
10688
  };
10691
- var af = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(af || {});
10692
- const Kt = ({ item: u, onPostback: D }) => {
10689
+ var rf = /* @__PURE__ */ ((u) => (u.web_url = "web_url", u.postback = "postback", u.nested = "nested", u))(rf || {});
10690
+ const Wt = ({ item: u, onPostback: D }) => {
10693
10691
  const { colors: f } = iu(), e = () => {
10694
10692
  switch (u.type) {
10695
10693
  case "web_url":
@@ -10710,16 +10708,16 @@ const Kt = ({ item: u, onPostback: D }) => {
10710
10708
  children: /* @__PURE__ */ a.jsx("span", { className: "sc-menu-item-text", children: u.title })
10711
10709
  }
10712
10710
  ) });
10713
- }, Jt = () => {
10711
+ }, Yt = () => {
10714
10712
  const u = pu(), { send: D, setPayload: f } = du(), [e, t] = U({
10715
10713
  title: "Menu",
10716
- type: af.nested,
10714
+ type: rf.nested,
10717
10715
  call_to_actions: (u == null ? void 0 : u.menu) || []
10718
10716
  }), n = gu(null);
10719
10717
  Z(() => {
10720
10718
  t({
10721
10719
  title: "Menu",
10722
- type: af.nested,
10720
+ type: rf.nested,
10723
10721
  call_to_actions: (u == null ? void 0 : u.menu) || []
10724
10722
  });
10725
10723
  }, [u]);
@@ -10747,7 +10745,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10747
10745
  ref: n,
10748
10746
  className: "sc-menu-elements-carousel sc-menu-always-visible",
10749
10747
  children: e.call_to_actions && /* @__PURE__ */ a.jsx(a.Fragment, { children: e.call_to_actions.map((F, d) => /* @__PURE__ */ a.jsx("div", { className: "sc-menu-carousel-card", children: /* @__PURE__ */ a.jsx(
10750
- Kt,
10748
+ Wt,
10751
10749
  {
10752
10750
  item: F,
10753
10751
  parent: e,
@@ -10757,13 +10755,13 @@ const Kt = ({ item: u, onPostback: D }) => {
10757
10755
  ) }, d)) })
10758
10756
  }
10759
10757
  ) });
10760
- }, Gt = ({
10758
+ }, Kt = ({
10761
10759
  viewBox: u = "0 0 48 48",
10762
10760
  ...D
10763
10761
  }) => /* @__PURE__ */ a.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: u, ...D, children: [
10764
10762
  /* @__PURE__ */ a.jsx("path", { d: "M4.02 42L46 24 4.02 6 4 20l30 4-30 4z" }),
10765
10763
  /* @__PURE__ */ a.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
10766
- ] }), Xt = (u) => {
10764
+ ] }), Jt = (u) => {
10767
10765
  const { onClick: D, ...f } = u;
10768
10766
  return /* @__PURE__ */ a.jsx(
10769
10767
  "button",
@@ -10771,10 +10769,10 @@ const Kt = ({ item: u, onPostback: D }) => {
10771
10769
  onClick: D,
10772
10770
  ...f,
10773
10771
  className: "sc-user-input--button-icon-wrapper",
10774
- children: /* @__PURE__ */ a.jsx(Gt, {})
10772
+ children: /* @__PURE__ */ a.jsx(Kt, {})
10775
10773
  }
10776
10774
  );
10777
- }, Zt = () => {
10775
+ }, Gt = () => {
10778
10776
  const { setPayload: u, send: D, suggestions: f } = du(), e = pu(), { colors: t } = iu(), n = (r, s) => {
10779
10777
  u(s), D({
10780
10778
  event: r,
@@ -10802,7 +10800,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10802
10800
  ))
10803
10801
  }
10804
10802
  );
10805
- }, Qt = () => {
10803
+ }, Xt = () => {
10806
10804
  var J;
10807
10805
  const { maxUploadSize: u } = Wu(), { t: D } = zu(), { colors: f } = iu(), {
10808
10806
  suggestions: e,
@@ -10883,9 +10881,9 @@ const Kt = ({ item: u, onPostback: D }) => {
10883
10881
  (z = B.current) == null || z.focus();
10884
10882
  }, R = d === iD.uploading, N = X.getItem("profileLiveChat") || {}, M = X.getItem("isOffline") || (N == null ? void 0 : N.isOffline), V = ((J = N == null ? void 0 : N.channel) == null ? void 0 : J.name) === "console-channel";
10885
10883
  return (M || !(N != null && N.id)) && !V ? null : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
10886
- j.length > 0 && /* @__PURE__ */ a.jsx(Jt, {}),
10884
+ j.length > 0 && /* @__PURE__ */ a.jsx(Yt, {}),
10887
10885
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input-wrapper", children: [
10888
- e.length > 0 && /* @__PURE__ */ a.jsx(Zt, {}),
10886
+ e.length > 0 && /* @__PURE__ */ a.jsx(Gt, {}),
10889
10887
  (r || R) && /* @__PURE__ */ a.jsxs(
10890
10888
  "div",
10891
10889
  {
@@ -10896,7 +10894,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10896
10894
  },
10897
10895
  children: [
10898
10896
  /* @__PURE__ */ a.jsx(
10899
- H1,
10897
+ V1,
10900
10898
  {
10901
10899
  width: "16px",
10902
10900
  height: "16px",
@@ -10906,7 +10904,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10906
10904
  I && /* @__PURE__ */ a.jsx("span", { children: I }),
10907
10905
  R && /* @__PURE__ */ a.jsx("span", { children: "Loading..." }),
10908
10906
  r && r.name && !I && /* @__PURE__ */ a.jsx("span", { children: r.name.length > 23 ? `${r.name.substring(0, 23)}...` : r.name }),
10909
- /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(hf, { height: "10" }) })
10907
+ /* @__PURE__ */ a.jsx("span", { className: "delete-file-message", onClick: k, children: /* @__PURE__ */ a.jsx(Ef, { height: "10" }) })
10910
10908
  ]
10911
10909
  }
10912
10910
  ),
@@ -10949,11 +10947,11 @@ const Kt = ({ item: u, onPostback: D }) => {
10949
10947
  }
10950
10948
  ),
10951
10949
  /* @__PURE__ */ a.jsxs("div", { className: "sc-user-input--buttons", children: [
10952
- x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ut, { inputRef: B, onInput: E }) }),
10953
- g && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Yt, {}) }),
10954
- T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ht, {}) }),
10950
+ x && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(qt, { inputRef: B, onInput: E }) }),
10951
+ g && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ht, {}) }),
10952
+ T && /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(Ut, {}) }),
10955
10953
  /* @__PURE__ */ a.jsx("div", { className: "sc-user-input--button", children: /* @__PURE__ */ a.jsx(
10956
- Xt,
10954
+ Jt,
10957
10955
  {
10958
10956
  disabled: !t,
10959
10957
  onClick: (z) => h(z)
@@ -10965,7 +10963,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10965
10963
  )
10966
10964
  ] })
10967
10965
  ] });
10968
- }, u8 = ({
10966
+ }, Zt = ({
10969
10967
  width: u = "24",
10970
10968
  height: D = "24",
10971
10969
  fill: f = "none",
@@ -10990,7 +10988,7 @@ const Kt = ({ item: u, onPostback: D }) => {
10990
10988
  ...F,
10991
10989
  children: /* @__PURE__ */ a.jsx("path", { stroke: "#fff", strokeOpacity: "1", d: "M15 18L9 12 15 6" })
10992
10990
  }
10993
- ), D8 = () => {
10991
+ ), Qt = () => {
10994
10992
  const { t: u } = zu(), { colors: D } = iu(), { setWebviewUrl: f, webviewUrl: e } = du(), [t, n] = U(!1);
10995
10993
  Z(() => {
10996
10994
  n(!0);
@@ -11006,13 +11004,13 @@ const Kt = ({ item: u, onPostback: D }) => {
11006
11004
  className: "sc-webview--footer",
11007
11005
  style: { background: D.header.bg, color: D.header.text },
11008
11006
  children: /* @__PURE__ */ a.jsxs("h3", { className: "sc-webview--button", onClick: r, children: [
11009
- /* @__PURE__ */ a.jsx(u8, { width: "16px", height: "16px" }),
11007
+ /* @__PURE__ */ a.jsx(Zt, { width: "16px", height: "16px" }),
11010
11008
  u("settings.back")
11011
11009
  ] })
11012
11010
  }
11013
11011
  )
11014
11012
  ] });
11015
- }, f8 = ({
11013
+ }, u8 = ({
11016
11014
  CustomHeader: u,
11017
11015
  CustomAvatar: D,
11018
11016
  PreChat: f,
@@ -11020,15 +11018,15 @@ const Kt = ({ item: u, onPostback: D }) => {
11020
11018
  }) => {
11021
11019
  const { connectionState: t } = du(), { screen: n, isOpen: r } = Nu();
11022
11020
  return /* @__PURE__ */ a.jsxs("div", { className: `sc-chat-window ${r ? "opened" : "closed"}`, children: [
11023
- /* @__PURE__ */ a.jsx(Me, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11021
+ /* @__PURE__ */ a.jsx(Le, { children: u && /* @__PURE__ */ a.jsx(u, {}) }),
11024
11022
  n === "prechat" && f && /* @__PURE__ */ a.jsx(f, {}),
11025
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(It, { Avatar: D }),
11026
- n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(Ue, {}),
11023
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Rt, { Avatar: D }),
11024
+ n !== "prechat" && n !== "postchat" && t !== 3 && /* @__PURE__ */ a.jsx(ze, {}),
11027
11025
  n === "postchat" && e && /* @__PURE__ */ a.jsx(e, {}),
11028
- ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Qt, {}),
11029
- n === "webview" && /* @__PURE__ */ a.jsx(D8, {})
11026
+ ["prechat", "postchat", "webview"].indexOf(n) === -1 && t === 3 && /* @__PURE__ */ a.jsx(Xt, {}),
11027
+ n === "webview" && /* @__PURE__ */ a.jsx(Qt, {})
11030
11028
  ] });
11031
- }, W1 = ({
11029
+ }, H1 = ({
11032
11030
  CustomLauncher: u,
11033
11031
  CustomHeader: D,
11034
11032
  CustomAvatar: f,
@@ -11040,7 +11038,7 @@ const Kt = ({ item: u, onPostback: D }) => {
11040
11038
  }, v = (y) => {
11041
11039
  y.preventDefault(), y.stopPropagation(), F.setIsOpen(!0);
11042
11040
  };
11043
- return je(), new URLSearchParams().append("owner_id", r.ownerId), Z(() => {
11041
+ return ke(), new URLSearchParams().append("owner_id", r.ownerId), Z(() => {
11044
11042
  if (!l && !X.getItem("profileLiveChat")) {
11045
11043
  d("prechat");
11046
11044
  return;
@@ -11068,13 +11066,13 @@ const Kt = ({ item: u, onPostback: D }) => {
11068
11066
  children: [
11069
11067
  s.newMessagesCount > 0 && !F.isOpen && /* @__PURE__ */ a.jsx("div", { className: "sc-new-messages-count", children: s.newMessagesCount }),
11070
11068
  F.isOpen ? /* @__PURE__ */ a.jsx(
11071
- hf,
11069
+ Ef,
11072
11070
  {
11073
11071
  className: "sc-closed-icon",
11074
11072
  width: "32px",
11075
11073
  height: "32px"
11076
11074
  }
11077
- ) : /* @__PURE__ */ a.jsx(k1, { className: "sc-open-icon" })
11075
+ ) : /* @__PURE__ */ a.jsx(A1, { className: "sc-open-icon" })
11078
11076
  ]
11079
11077
  }
11080
11078
  )
@@ -11082,7 +11080,7 @@ const Kt = ({ item: u, onPostback: D }) => {
11082
11080
  }
11083
11081
  ),
11084
11082
  F.isOpen && /* @__PURE__ */ a.jsx(
11085
- f8,
11083
+ u8,
11086
11084
  {
11087
11085
  CustomHeader: D,
11088
11086
  CustomAvatar: f,
@@ -11091,7 +11089,7 @@ const Kt = ({ item: u, onPostback: D }) => {
11091
11089
  }
11092
11090
  )
11093
11091
  ] });
11094
- }, Y1 = ({
11092
+ }, W1 = ({
11095
11093
  onFormDataSubmit: u
11096
11094
  }) => {
11097
11095
  const D = Wu(), { t: f } = zu(), { colors: e } = iu(), { socket: t } = tD(), n = pu(), { setScreen: r } = Nu(), {
@@ -11100,7 +11098,7 @@ const Kt = ({ item: u, onPostback: D }) => {
11100
11098
  setConnectionState: d,
11101
11099
  participants: o,
11102
11100
  setParticipants: c
11103
- } = du(), { formData: l, setFormData: j, renderFormField: v, errors: C, validateAll: y } = V1({
11101
+ } = du(), { formData: l, setFormData: j, renderFormField: v, errors: C, validateAll: y } = U1({
11104
11102
  loadFromDataUserSubs: !1,
11105
11103
  initialData: {}
11106
11104
  }), x = n.offline_mode, g = kD(x), T = gu(!1), _ = Mu(
@@ -11208,7 +11206,7 @@ const Kt = ({ item: u, onPostback: D }) => {
11208
11206
  ) })
11209
11207
  ] })
11210
11208
  ] }) });
11211
- }, e8 = qu({}), t8 = ({
11209
+ }, D8 = qu({}), f8 = ({
11212
11210
  children: u
11213
11211
  }) => {
11214
11212
  const D = Wu(), [f, e] = U(!1), t = async () => {
@@ -11222,33 +11220,33 @@ const Kt = ({ item: u, onPostback: D }) => {
11222
11220
  };
11223
11221
  return Z(() => {
11224
11222
  f || t();
11225
- }, []), f ? /* @__PURE__ */ a.jsx(e8.Provider, { value: {}, children: u }) : null;
11223
+ }, []), f ? /* @__PURE__ */ a.jsx(D8.Provider, { value: {}, children: u }) : null;
11226
11224
  };
11227
- function s8(u) {
11228
- return /* @__PURE__ */ a.jsx(e1, { ...u, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(t8, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(g1, { children: /* @__PURE__ */ a.jsx(x1, { children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(Qf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(W1, { PreChat: Y1 }) }) }) }) }) }) }) }) }) });
11225
+ function r8(u) {
11226
+ return /* @__PURE__ */ a.jsx(D1, { ...u, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(f8, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(g1, { children: /* @__PURE__ */ a.jsx(Xf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { children: /* @__PURE__ */ a.jsx(H1, { PreChat: W1 }) }) }) }) }) }) }) }) }) });
11229
11227
  }
11230
- function F8({
11228
+ function a8({
11231
11229
  CustomHeader: u,
11232
11230
  CustomAvatar: D,
11233
11231
  config: f
11234
11232
  }) {
11235
- return /* @__PURE__ */ a.jsx(e1, { ...f, children: /* @__PURE__ */ a.jsx(n1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(g1, { children: /* @__PURE__ */ a.jsx(x1, { children: /* @__PURE__ */ a.jsx(Qf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(y1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11236
- w1,
11233
+ return /* @__PURE__ */ a.jsx(D1, { ...f, children: /* @__PURE__ */ a.jsx(e1, { children: /* @__PURE__ */ a.jsx(b1, { children: /* @__PURE__ */ a.jsx(B1, { children: /* @__PURE__ */ a.jsx(w1, { children: /* @__PURE__ */ a.jsx(Xf, { channelName: "main-channel", children: /* @__PURE__ */ a.jsx(g1, { defaultScreen: "chat", children: /* @__PURE__ */ a.jsx(
11234
+ y1,
11237
11235
  {
11238
11236
  defaultConnectionState: eD.connected,
11239
11237
  children: /* @__PURE__ */ a.jsx(
11240
- W1,
11238
+ H1,
11241
11239
  {
11242
11240
  CustomHeader: u,
11243
11241
  CustomAvatar: D,
11244
- PreChat: Y1
11242
+ PreChat: W1
11245
11243
  }
11246
11244
  )
11247
11245
  }
11248
11246
  ) }) }) }) }) }) }) });
11249
11247
  }
11250
11248
  export {
11251
- s8 as ChatWidget,
11249
+ r8 as ChatWidget,
11252
11250
  X as LocalStorageScoped,
11253
- F8 as UiChatWidget
11251
+ a8 as UiChatWidget
11254
11252
  };