tybotflow-widget 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -444,17 +444,17 @@ function iM() {
444
444
  de = 0;
445
445
  var Te = D === "" ? "." : D + ":";
446
446
  if (M(S))
447
- for (var Se = 0; Se < S.length; Se++)
448
- D = S[Se], be = Te + W(D, Se), de += Z(
447
+ for (var we = 0; we < S.length; we++)
448
+ D = S[we], be = Te + W(D, we), de += Z(
449
449
  D,
450
450
  H,
451
451
  ee,
452
452
  be,
453
453
  le
454
454
  );
455
- else if (Se = y(S), typeof Se == "function")
456
- for (S = Se.call(S), Se = 0; !(D = S.next()).done; )
457
- D = D.value, be = Te + W(D, Se++), de += Z(
455
+ else if (we = y(S), typeof we == "function")
456
+ for (S = we.call(S), we = 0; !(D = S.next()).done; )
457
+ D = D.value, be = Te + W(D, we++), de += Z(
458
458
  D,
459
459
  H,
460
460
  ee,
@@ -565,8 +565,8 @@ function iM() {
565
565
  var de = arguments.length - 2;
566
566
  if (de === 1) D.children = ee;
567
567
  else if (1 < de) {
568
- for (var Te = Array(de), Se = 0; Se < de; Se++)
569
- Te[Se] = arguments[Se + 2];
568
+ for (var Te = Array(de), we = 0; we < de; we++)
569
+ Te[we] = arguments[we + 2];
570
570
  D.children = Te;
571
571
  }
572
572
  return F(S.type, le, void 0, void 0, be, D);
@@ -590,8 +590,8 @@ function iM() {
590
590
  var de = arguments.length - 2;
591
591
  if (de === 1) le.children = ee;
592
592
  else if (1 < de) {
593
- for (var Te = Array(de), Se = 0; Se < de; Se++)
594
- Te[Se] = arguments[Se + 2];
593
+ for (var Te = Array(de), we = 0; we < de; we++)
594
+ Te[we] = arguments[we + 2];
595
595
  le.children = Te;
596
596
  }
597
597
  if (S && S.defaultProps)
@@ -1011,7 +1011,7 @@ function lM() {
1011
1011
  S++, se[S] = r.current, r.current = i;
1012
1012
  }
1013
1013
  var le = H(null), be = H(null), de = H(null), Te = H(null);
1014
- function Se(r, i) {
1014
+ function we(r, i) {
1015
1015
  switch (D(de, i), D(be, r), D(le, null), i.nodeType) {
1016
1016
  case 9:
1017
1017
  case 11:
@@ -1208,7 +1208,7 @@ function lM() {
1208
1208
  g & i | r[c] & i && (r[c] |= i), s &= ~g;
1209
1209
  }
1210
1210
  }
1211
- function Ur(r) {
1211
+ function Pr(r) {
1212
1212
  switch (r) {
1213
1213
  case 2:
1214
1214
  r = 1;
@@ -1247,7 +1247,7 @@ function lM() {
1247
1247
  }
1248
1248
  return r;
1249
1249
  }
1250
- function Pr(r) {
1250
+ function zr(r) {
1251
1251
  return r &= -r, 2 < r ? 8 < r ? (r & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
1252
1252
  }
1253
1253
  function sr() {
@@ -1262,7 +1262,7 @@ function lM() {
1262
1262
  J.p = s;
1263
1263
  }
1264
1264
  }
1265
- var Wn = Math.random().toString(36).slice(2), Pt = "__reactFiber$" + Wn, Zt = "__reactProps$" + Wn, gt = "__reactContainer$" + Wn, Ra = "__reactEvents$" + Wn, ui = "__reactListeners$" + Wn, Na = "__reactHandles$" + Wn, zr = "__reactResources$" + Wn, jr = "__reactMarker$" + Wn;
1265
+ var Wn = Math.random().toString(36).slice(2), Pt = "__reactFiber$" + Wn, Zt = "__reactProps$" + Wn, gt = "__reactContainer$" + Wn, Ra = "__reactEvents$" + Wn, ui = "__reactListeners$" + Wn, Na = "__reactHandles$" + Wn, jr = "__reactResources$" + Wn, Er = "__reactMarker$" + Wn;
1266
1266
  function Fn(r) {
1267
1267
  delete r[Pt], delete r[Zt], delete r[Ra], delete r[ui], delete r[Na];
1268
1268
  }
@@ -1296,11 +1296,11 @@ function lM() {
1296
1296
  throw Error(a(33));
1297
1297
  }
1298
1298
  function Xn(r) {
1299
- var i = r[zr];
1300
- return i || (i = r[zr] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), i;
1299
+ var i = r[jr];
1300
+ return i || (i = r[jr] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), i;
1301
1301
  }
1302
1302
  function Ot(r) {
1303
- r[jr] = !0;
1303
+ r[Er] = !0;
1304
1304
  }
1305
1305
  var ka = /* @__PURE__ */ new Set(), Ps = {};
1306
1306
  function Vt(r, i) {
@@ -1582,7 +1582,7 @@ Error generating stack: ` + s.message + `
1582
1582
  );
1583
1583
  }
1584
1584
  function rn(r, i, s, c, g, b, T, I) {
1585
- r.name = "", T != null && typeof T != "function" && typeof T != "symbol" && typeof T != "boolean" ? r.type = T : r.removeAttribute("type"), i != null ? T === "number" ? (i === 0 && r.value === "" || r.value != i) && (r.value = "" + un(i)) : r.value !== "" + un(i) && (r.value = "" + un(i)) : T !== "submit" && T !== "reset" || r.removeAttribute("value"), i != null ? Er(r, T, un(i)) : s != null ? Er(r, T, un(s)) : c != null && r.removeAttribute("value"), g == null && b != null && (r.defaultChecked = !!b), g != null && (r.checked = g && typeof g != "function" && typeof g != "symbol"), I != null && typeof I != "function" && typeof I != "symbol" && typeof I != "boolean" ? r.name = "" + un(I) : r.removeAttribute("name");
1585
+ r.name = "", T != null && typeof T != "function" && typeof T != "symbol" && typeof T != "boolean" ? r.type = T : r.removeAttribute("type"), i != null ? T === "number" ? (i === 0 && r.value === "" || r.value != i) && (r.value = "" + un(i)) : r.value !== "" + un(i) && (r.value = "" + un(i)) : T !== "submit" && T !== "reset" || r.removeAttribute("value"), i != null ? vr(r, T, un(i)) : s != null ? vr(r, T, un(s)) : c != null && r.removeAttribute("value"), g == null && b != null && (r.defaultChecked = !!b), g != null && (r.checked = g && typeof g != "function" && typeof g != "symbol"), I != null && typeof I != "function" && typeof I != "symbol" && typeof I != "boolean" ? r.name = "" + un(I) : r.removeAttribute("name");
1586
1586
  }
1587
1587
  function Vr(r, i, s, c, g, b, T, I) {
1588
1588
  if (b != null && typeof b != "function" && typeof b != "symbol" && typeof b != "boolean" && (r.type = b), i != null || s != null) {
@@ -1592,7 +1592,7 @@ Error generating stack: ` + s.message + `
1592
1592
  }
1593
1593
  c = c ?? g, c = typeof c != "function" && typeof c != "symbol" && !!c, r.checked = I ? r.checked : !!c, r.defaultChecked = !!c, T != null && typeof T != "function" && typeof T != "symbol" && typeof T != "boolean" && (r.name = T);
1594
1594
  }
1595
- function Er(r, i, s) {
1595
+ function vr(r, i, s) {
1596
1596
  i === "number" && Ia(r.ownerDocument) === r || r.defaultValue === "" + s || (r.defaultValue = "" + s);
1597
1597
  }
1598
1598
  function Yr(r, i, s, c) {
@@ -1768,7 +1768,7 @@ Error generating stack: ` + s.message + `
1768
1768
  function me(r) {
1769
1769
  return r = r.target || r.srcElement || window, r.correspondingUseElement && (r = r.correspondingUseElement), r.nodeType === 3 ? r.parentNode : r;
1770
1770
  }
1771
- var we = null, Ce = null;
1771
+ var Se = null, Ce = null;
1772
1772
  function Et(r) {
1773
1773
  var i = xn(r);
1774
1774
  if (i && (r = i.stateNode)) {
@@ -1827,7 +1827,7 @@ Error generating stack: ` + s.message + `
1827
1827
  var c = r(i);
1828
1828
  return c;
1829
1829
  } finally {
1830
- if (bt = !1, (we !== null || Ce !== null) && (kl(), we && (i = we, r = Ce, Ce = we = null, Et(i), r)))
1830
+ if (bt = !1, (Se !== null || Ce !== null) && (kl(), Se && (i = Se, r = Ce, Ce = Se = null, Et(i), r)))
1831
1831
  for (i = 0; i < r.length; i++) Et(r[i]);
1832
1832
  }
1833
1833
  }
@@ -1864,12 +1864,12 @@ Error generating stack: ` + s.message + `
1864
1864
  var pn = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Kr = !1;
1865
1865
  if (pn)
1866
1866
  try {
1867
- var vr = {};
1868
- Object.defineProperty(vr, "passive", {
1867
+ var Sr = {};
1868
+ Object.defineProperty(Sr, "passive", {
1869
1869
  get: function() {
1870
1870
  Kr = !0;
1871
1871
  }
1872
- }), window.addEventListener("test", vr, vr), window.removeEventListener("test", vr, vr);
1872
+ }), window.addEventListener("test", Sr, Sr), window.removeEventListener("test", Sr, Sr);
1873
1873
  } catch {
1874
1874
  Kr = !1;
1875
1875
  }
@@ -2153,7 +2153,7 @@ Error generating stack: ` + s.message + `
2153
2153
  return i === "input" ? !!kD[r.type] : i === "textarea";
2154
2154
  }
2155
2155
  function av(r, i, s, c) {
2156
- we ? Ce ? Ce.push(c) : Ce = [c] : we = c, i = Fl(i, "onChange"), 0 < i.length && (s = new Xs(
2156
+ Se ? Ce ? Ce.push(c) : Ce = [c] : Se = c, i = Fl(i, "onChange"), 0 < i.length && (s = new Xs(
2157
2157
  "onChange",
2158
2158
  "change",
2159
2159
  null,
@@ -2390,7 +2390,7 @@ Error generating stack: ` + s.message + `
2390
2390
  function vc(r) {
2391
2391
  return r = r.prototype, !(!r || !r.isReactComponent);
2392
2392
  }
2393
- function Sr(r, i) {
2393
+ function wr(r, i) {
2394
2394
  var s = r.alternate;
2395
2395
  return s === null ? (s = Nn(
2396
2396
  r.tag,
@@ -2475,22 +2475,22 @@ Error generating stack: ` + s.message + `
2475
2475
  implementation: r.implementation
2476
2476
  }, i;
2477
2477
  }
2478
- var Ei = [], vi = 0, tl = null, nl = 0, zn = [], jn = 0, Ba = null, wr = 1, Ar = "";
2478
+ var Ei = [], vi = 0, tl = null, nl = 0, zn = [], jn = 0, Ba = null, Ar = 1, Tr = "";
2479
2479
  function Ua(r, i) {
2480
2480
  Ei[vi++] = nl, Ei[vi++] = tl, tl = r, nl = i;
2481
2481
  }
2482
2482
  function Tv(r, i, s) {
2483
- zn[jn++] = wr, zn[jn++] = Ar, zn[jn++] = Ba, Ba = r;
2484
- var c = wr;
2485
- r = Ar;
2483
+ zn[jn++] = Ar, zn[jn++] = Tr, zn[jn++] = Ba, Ba = r;
2484
+ var c = Ar;
2485
+ r = Tr;
2486
2486
  var g = 32 - ye(c) - 1;
2487
2487
  c &= ~(1 << g), s += 1;
2488
2488
  var b = 32 - ye(i) + g;
2489
2489
  if (30 < b) {
2490
2490
  var T = g - g % 5;
2491
- b = (c & (1 << T) - 1).toString(32), c >>= T, g -= T, wr = 1 << 32 - ye(i) + g | s << g | c, Ar = b + r;
2491
+ b = (c & (1 << T) - 1).toString(32), c >>= T, g -= T, Ar = 1 << 32 - ye(i) + g | s << g | c, Tr = b + r;
2492
2492
  } else
2493
- wr = 1 << b | s << g | c, Ar = r;
2493
+ Ar = 1 << b | s << g | c, Tr = r;
2494
2494
  }
2495
2495
  function Ac(r) {
2496
2496
  r.return !== null && (Ua(r, 1), Tv(r, 1, 0));
@@ -2499,7 +2499,7 @@ Error generating stack: ` + s.message + `
2499
2499
  for (; r === tl; )
2500
2500
  tl = Ei[--vi], Ei[vi] = null, nl = Ei[--vi], Ei[vi] = null;
2501
2501
  for (; r === Ba; )
2502
- Ba = zn[--jn], zn[jn] = null, Ar = zn[--jn], zn[jn] = null, wr = zn[--jn], zn[jn] = null;
2502
+ Ba = zn[--jn], zn[jn] = null, Tr = zn[--jn], zn[jn] = null, Ar = zn[--jn], zn[jn] = null;
2503
2503
  }
2504
2504
  var an = null, Rt = null, Ze = !1, Pa = null, lr = !1, xc = Error(a(519));
2505
2505
  function za(r) {
@@ -2606,11 +2606,11 @@ Error generating stack: ` + s.message + `
2606
2606
  function vo(r) {
2607
2607
  Pa === null ? Pa = [r] : Pa.push(r);
2608
2608
  }
2609
- var Rc = H(null), ja = null, Tr = null;
2609
+ var Rc = H(null), ja = null, xr = null;
2610
2610
  function Qr(r, i, s) {
2611
2611
  D(Rc, i._currentValue), i._currentValue = s;
2612
2612
  }
2613
- function xr(r) {
2613
+ function Rr(r) {
2614
2614
  r._currentValue = Rc.current, ee(Rc);
2615
2615
  }
2616
2616
  function Nc(r, i, s) {
@@ -2700,7 +2700,7 @@ Error generating stack: ` + s.message + `
2700
2700
  return !1;
2701
2701
  }
2702
2702
  function qa(r) {
2703
- ja = r, Tr = null, r = r.dependencies, r !== null && (r.firstContext = null);
2703
+ ja = r, xr = null, r = r.dependencies, r !== null && (r.firstContext = null);
2704
2704
  }
2705
2705
  function Jt(r) {
2706
2706
  return Cv(ja, r);
@@ -2710,10 +2710,10 @@ Error generating stack: ` + s.message + `
2710
2710
  }
2711
2711
  function Cv(r, i) {
2712
2712
  var s = i._currentValue;
2713
- if (i = { context: i, memoizedValue: s, next: null }, Tr === null) {
2713
+ if (i = { context: i, memoizedValue: s, next: null }, xr === null) {
2714
2714
  if (r === null) throw Error(a(308));
2715
- Tr = i, r.dependencies = { lanes: 0, firstContext: i }, r.flags |= 524288;
2716
- } else Tr = Tr.next = i;
2715
+ xr = i, r.dependencies = { lanes: 0, firstContext: i }, r.flags |= 524288;
2716
+ } else xr = xr.next = i;
2717
2717
  return s;
2718
2718
  }
2719
2719
  var qD = typeof AbortController < "u" ? AbortController : function() {
@@ -3008,13 +3008,13 @@ Error generating stack: ` + s.message + `
3008
3008
  }
3009
3009
  var Ai = H(null), ll = H(0);
3010
3010
  function zv(r, i) {
3011
- r = Dr, D(ll, r), D(Ai, i), Dr = r | i.baseLanes;
3011
+ r = Lr, D(ll, r), D(Ai, i), Lr = r | i.baseLanes;
3012
3012
  }
3013
3013
  function Uc() {
3014
- D(ll, Dr), D(Ai, Ai.current);
3014
+ D(ll, Lr), D(Ai, Ai.current);
3015
3015
  }
3016
3016
  function Pc() {
3017
- Dr = ll.current, ee(Ai), ee(ll);
3017
+ Lr = ll.current, ee(Ai), ee(ll);
3018
3018
  }
3019
3019
  var ea = 0, qe = null, at = null, It = null, ul = !1, Ti = !1, Ga = !1, cl = 0, ko = 0, xi = null, YD = 0;
3020
3020
  function Ct() {
@@ -3135,7 +3135,7 @@ Error generating stack: ` + s.message + `
3135
3135
  s[c] = B;
3136
3136
  return i.index++, s;
3137
3137
  }
3138
- function Rr(r, i) {
3138
+ function Nr(r, i) {
3139
3139
  return typeof i == "function" ? i(r) : i;
3140
3140
  }
3141
3141
  function pl(r) {
@@ -3287,7 +3287,7 @@ Error generating stack: ` + s.message + `
3287
3287
  pending: null,
3288
3288
  lanes: 0,
3289
3289
  dispatch: null,
3290
- lastRenderedReducer: Rr,
3290
+ lastRenderedReducer: Nr,
3291
3291
  lastRenderedState: r
3292
3292
  }, i;
3293
3293
  }
@@ -3295,7 +3295,7 @@ Error generating stack: ` + s.message + `
3295
3295
  return r.baseState = s, Yc(
3296
3296
  r,
3297
3297
  at,
3298
- typeof c == "function" ? c : Rr
3298
+ typeof c == "function" ? c : Nr
3299
3299
  );
3300
3300
  }
3301
3301
  function XD(r, i, s, c, g) {
@@ -3441,7 +3441,7 @@ Error generating stack: ` + s.message + `
3441
3441
  r,
3442
3442
  i,
3443
3443
  $v
3444
- )[0], r = pl(Rr)[0], typeof i == "object" && i !== null && typeof i.then == "function")
3444
+ )[0], r = pl(Nr)[0], typeof i == "object" && i !== null && typeof i.then == "function")
3445
3445
  try {
3446
3446
  var c = Oo(i);
3447
3447
  } catch (T) {
@@ -3618,7 +3618,7 @@ Error generating stack: ` + s.message + `
3618
3618
  pending: null,
3619
3619
  lanes: 0,
3620
3620
  dispatch: null,
3621
- lastRenderedReducer: Rr,
3621
+ lastRenderedReducer: Nr,
3622
3622
  lastRenderedState: X
3623
3623
  },
3624
3624
  next: null
@@ -3632,7 +3632,7 @@ Error generating stack: ` + s.message + `
3632
3632
  pending: null,
3633
3633
  lanes: 0,
3634
3634
  dispatch: null,
3635
- lastRenderedReducer: Rr,
3635
+ lastRenderedReducer: Nr,
3636
3636
  lastRenderedState: s
3637
3637
  },
3638
3638
  next: null
@@ -3881,7 +3881,7 @@ Error generating stack: ` + s.message + `
3881
3881
  useId: function() {
3882
3882
  var r = hn(), i = ct.identifierPrefix;
3883
3883
  if (Ze) {
3884
- var s = Ar, c = wr;
3884
+ var s = Tr, c = Ar;
3885
3885
  s = (c & ~(1 << 32 - ye(c) - 1)).toString(32) + s, i = "«" + i + "R" + s, s = cl++, 0 < s && (i += "H" + s.toString(32)), i += "»";
3886
3886
  } else
3887
3887
  s = YD++, i = "«" + i + "r" + s.toString(32) + "»";
@@ -3927,7 +3927,7 @@ Error generating stack: ` + s.message + `
3927
3927
  useReducer: pl,
3928
3928
  useRef: aS,
3929
3929
  useState: function() {
3930
- return pl(Rr);
3930
+ return pl(Nr);
3931
3931
  },
3932
3932
  useDebugValue: Qc,
3933
3933
  useDeferredValue: function(r, i) {
@@ -3940,7 +3940,7 @@ Error generating stack: ` + s.message + `
3940
3940
  );
3941
3941
  },
3942
3942
  useTransition: function() {
3943
- var r = pl(Rr)[0], i = Dt().memoizedState;
3943
+ var r = pl(Nr)[0], i = Dt().memoizedState;
3944
3944
  return [
3945
3945
  typeof r == "boolean" ? r : Oo(r),
3946
3946
  i
@@ -3970,7 +3970,7 @@ Error generating stack: ` + s.message + `
3970
3970
  useReducer: Wc,
3971
3971
  useRef: aS,
3972
3972
  useState: function() {
3973
- return Wc(Rr);
3973
+ return Wc(Nr);
3974
3974
  },
3975
3975
  useDebugValue: Qc,
3976
3976
  useDeferredValue: function(r, i) {
@@ -3983,7 +3983,7 @@ Error generating stack: ` + s.message + `
3983
3983
  );
3984
3984
  },
3985
3985
  useTransition: function() {
3986
- var r = Wc(Rr)[0], i = Dt().memoizedState;
3986
+ var r = Wc(Nr)[0], i = Dt().memoizedState;
3987
3987
  return [
3988
3988
  typeof r == "boolean" ? r : Oo(r),
3989
3989
  i
@@ -4039,7 +4039,7 @@ Error generating stack: ` + s.message + `
4039
4039
  return G;
4040
4040
  }
4041
4041
  function g(V, G) {
4042
- return V = Sr(V, G), V.index = 0, V.sibling = null, V;
4042
+ return V = wr(V, G), V.index = 0, V.sibling = null, V;
4043
4043
  }
4044
4044
  function b(V, G, K) {
4045
4045
  return V.index = K, r ? (K = V.alternate, K !== null ? (K = K.index, K < G ? (V.flags |= 67108866, G) : K) : (V.flags |= 67108866, G)) : (V.flags |= 1048576, G);
@@ -4412,7 +4412,7 @@ Error generating stack: ` + s.message + `
4412
4412
  function na() {
4413
4413
  D(Ut, Ut.current), D(qn, qn.current);
4414
4414
  }
4415
- function Nr(r) {
4415
+ function Cr(r) {
4416
4416
  ee(qn), ur === r && (ur = null), ee(Ut);
4417
4417
  }
4418
4418
  var Ut = H(0);
@@ -4627,7 +4627,7 @@ Error generating stack: ` + s.message + `
4627
4627
  T,
4628
4628
  b,
4629
4629
  g
4630
- ), I = qc(), r !== null && !zt ? (Hc(r, i, g), Cr(r, i, g)) : (Ze && I && Ac(i), i.flags |= 1, Yt(r, i, c, g), i.child);
4630
+ ), I = qc(), r !== null && !zt ? (Hc(r, i, g), kr(r, i, g)) : (Ze && I && Ac(i), i.flags |= 1, Yt(r, i, c, g), i.child);
4631
4631
  }
4632
4632
  function PS(r, i, s, c, g) {
4633
4633
  if (r === null) {
@@ -4650,9 +4650,9 @@ Error generating stack: ` + s.message + `
4650
4650
  if (b = r.child, !dd(r, g)) {
4651
4651
  var T = b.memoizedProps;
4652
4652
  if (s = s.compare, s = s !== null ? s : mo, s(T, c) && r.ref === i.ref)
4653
- return Cr(r, i, g);
4653
+ return kr(r, i, g);
4654
4654
  }
4655
- return i.flags |= 1, r = Sr(b, c), r.ref = i.ref, r.return = i, i.child = r;
4655
+ return i.flags |= 1, r = wr(b, c), r.ref = i.ref, r.return = i, i.child = r;
4656
4656
  }
4657
4657
  function zS(r, i, s, c, g) {
4658
4658
  if (r !== null) {
@@ -4661,7 +4661,7 @@ Error generating stack: ` + s.message + `
4661
4661
  if (zt = !1, i.pendingProps = c = b, dd(r, g))
4662
4662
  (r.flags & 131072) !== 0 && (zt = !0);
4663
4663
  else
4664
- return i.lanes = r.lanes, Cr(r, i, g);
4664
+ return i.lanes = r.lanes, kr(r, i, g);
4665
4665
  }
4666
4666
  return ad(
4667
4667
  r,
@@ -4728,7 +4728,7 @@ Error generating stack: ` + s.message + `
4728
4728
  c,
4729
4729
  void 0,
4730
4730
  g
4731
- ), c = qc(), r !== null && !zt ? (Hc(r, i, g), Cr(r, i, g)) : (Ze && c && Ac(i), i.flags |= 1, Yt(r, i, s, g), i.child);
4731
+ ), c = qc(), r !== null && !zt ? (Hc(r, i, g), kr(r, i, g)) : (Ze && c && Ac(i), i.flags |= 1, Yt(r, i, s, g), i.child);
4732
4732
  }
4733
4733
  function HS(r, i, s, c, g, b) {
4734
4734
  return qa(i), i.updateQueue = null, s = qv(
@@ -4736,7 +4736,7 @@ Error generating stack: ` + s.message + `
4736
4736
  c,
4737
4737
  s,
4738
4738
  g
4739
- ), jv(r), c = qc(), r !== null && !zt ? (Hc(r, i, b), Cr(r, i, b)) : (Ze && c && Ac(i), i.flags |= 1, Yt(r, i, s, b), i.child);
4739
+ ), jv(r), c = qc(), r !== null && !zt ? (Hc(r, i, b), kr(r, i, b)) : (Ze && c && Ac(i), i.flags |= 1, Yt(r, i, s, b), i.child);
4740
4740
  }
4741
4741
  function GS(r, i, s, c, g) {
4742
4742
  if (qa(i), i.stateNode === null) {
@@ -4812,7 +4812,7 @@ Error generating stack: ` + s.message + `
4812
4812
  null,
4813
4813
  s,
4814
4814
  g
4815
- )) : Yt(r, i, s, g), i.memoizedState = b.state, r = i.child) : r = Cr(
4815
+ )) : Yt(r, i, s, g), i.memoizedState = b.state, r = i.child) : r = kr(
4816
4816
  r,
4817
4817
  i,
4818
4818
  g
@@ -4857,7 +4857,7 @@ Error generating stack: ` + s.message + `
4857
4857
  }
4858
4858
  I !== null ? (i.memoizedState = {
4859
4859
  dehydrated: I,
4860
- treeContext: Ba !== null ? { id: wr, overflow: Ar } : null,
4860
+ treeContext: Ba !== null ? { id: Ar, overflow: Tr } : null,
4861
4861
  retryLane: 536870912,
4862
4862
  hydrationErrors: null
4863
4863
  }, z = Nn(
@@ -4871,7 +4871,7 @@ Error generating stack: ` + s.message + `
4871
4871
  }
4872
4872
  if (I = i.memoizedState, I !== null && (I = I.dehydrated, I !== null))
4873
4873
  return _d(I) ? i.lanes = 32 : i.lanes = 536870912, null;
4874
- Nr(i);
4874
+ Cr(i);
4875
4875
  }
4876
4876
  return I = c.children, c = c.fallback, g ? (na(), g = i.mode, I = Al(
4877
4877
  { mode: "hidden", children: I },
@@ -4919,7 +4919,7 @@ Error generating stack: ` + s.message + `
4919
4919
  s
4920
4920
  );
4921
4921
  } else if (zt || So(r, i, s, !1), T = (s & r.childLanes) !== 0, zt || T) {
4922
- if (T = ct, T !== null && (c = s & -s, c = (c & 42) !== 0 ? 1 : Ur(c), c = (c & (T.suspendedLanes | s)) !== 0 ? 0 : c, c !== 0 && c !== z.retryLane))
4922
+ if (T = ct, T !== null && (c = s & -s, c = (c & 42) !== 0 ? 1 : Pr(c), c = (c & (T.suspendedLanes | s)) !== 0 ? 0 : c, c !== 0 && c !== z.retryLane))
4923
4923
  throw z.retryLane = c, bi(r, c), Dn(T, r, c), BS;
4924
4924
  I.data === "$?" || Nd(), i = ud(
4925
4925
  r,
@@ -4929,16 +4929,16 @@ Error generating stack: ` + s.message + `
4929
4929
  } else
4930
4930
  I.data === "$?" ? (i.flags |= 192, i.child = r.child, i = null) : (r = z.treeContext, Rt = tr(
4931
4931
  I.nextSibling
4932
- ), an = i, Ze = !0, Pa = null, lr = !1, r !== null && (zn[jn++] = wr, zn[jn++] = Ar, zn[jn++] = Ba, wr = r.id, Ar = r.overflow, Ba = i), i = ld(
4932
+ ), an = i, Ze = !0, Pa = null, lr = !1, r !== null && (zn[jn++] = Ar, zn[jn++] = Tr, zn[jn++] = Ba, Ar = r.id, Tr = r.overflow, Ba = i), i = ld(
4933
4933
  i,
4934
4934
  c.children
4935
4935
  ), i.flags |= 4096);
4936
4936
  return i;
4937
4937
  }
4938
- return g ? (na(), g = c.fallback, I = i.mode, z = r.child, Q = z.sibling, c = Sr(z, {
4938
+ return g ? (na(), g = c.fallback, I = i.mode, z = r.child, Q = z.sibling, c = wr(z, {
4939
4939
  mode: "hidden",
4940
4940
  children: c.children
4941
- }), c.subtreeFlags = z.subtreeFlags & 65011712, Q !== null ? g = Sr(Q, g) : (g = Fa(
4941
+ }), c.subtreeFlags = z.subtreeFlags & 65011712, Q !== null ? g = wr(Q, g) : (g = Fa(
4942
4942
  g,
4943
4943
  I,
4944
4944
  s,
@@ -4950,7 +4950,7 @@ Error generating stack: ` + s.message + `
4950
4950
  r,
4951
4951
  T,
4952
4952
  s
4953
- ), i.memoizedState = id, c) : (ta(i), s = r.child, r = s.sibling, s = Sr(s, {
4953
+ ), i.memoizedState = id, c) : (ta(i), s = r.child, r = s.sibling, s = wr(s, {
4954
4954
  mode: "visible",
4955
4955
  children: c.children
4956
4956
  }), s.return = i, s.sibling = null, r !== null && (T = i.deletions, T === null ? (i.deletions = [r], i.flags |= 16) : T.push(r)), i.child = s, i.memoizedState = null, s);
@@ -5052,7 +5052,7 @@ Error generating stack: ` + s.message + `
5052
5052
  }
5053
5053
  return i.child;
5054
5054
  }
5055
- function Cr(r, i, s) {
5055
+ function kr(r, i, s) {
5056
5056
  if (r !== null && (i.dependencies = r.dependencies), sa |= i.lanes, (s & i.childLanes) === 0)
5057
5057
  if (r !== null) {
5058
5058
  if (So(
@@ -5066,8 +5066,8 @@ Error generating stack: ` + s.message + `
5066
5066
  if (r !== null && i.child !== r.child)
5067
5067
  throw Error(a(153));
5068
5068
  if (i.child !== null) {
5069
- for (r = i.child, s = Sr(r, r.pendingProps), i.child = s, s.return = i; r.sibling !== null; )
5070
- r = r.sibling, s = s.sibling = Sr(r, r.pendingProps), s.return = i;
5069
+ for (r = i.child, s = wr(r, r.pendingProps), i.child = s, s.return = i; r.sibling !== null; )
5070
+ r = r.sibling, s = s.sibling = wr(r, r.pendingProps), s.return = i;
5071
5071
  s.sibling = null;
5072
5072
  }
5073
5073
  return i.child;
@@ -5078,14 +5078,14 @@ Error generating stack: ` + s.message + `
5078
5078
  function tL(r, i, s) {
5079
5079
  switch (i.tag) {
5080
5080
  case 3:
5081
- Se(i, i.stateNode.containerInfo), Qr(i, Bt, r.memoizedState.cache), Eo();
5081
+ we(i, i.stateNode.containerInfo), Qr(i, Bt, r.memoizedState.cache), Eo();
5082
5082
  break;
5083
5083
  case 27:
5084
5084
  case 5:
5085
5085
  $e(i);
5086
5086
  break;
5087
5087
  case 4:
5088
- Se(i, i.stateNode.containerInfo);
5088
+ we(i, i.stateNode.containerInfo);
5089
5089
  break;
5090
5090
  case 10:
5091
5091
  Qr(
@@ -5097,7 +5097,7 @@ Error generating stack: ` + s.message + `
5097
5097
  case 13:
5098
5098
  var c = i.memoizedState;
5099
5099
  if (c !== null)
5100
- return c.dehydrated !== null ? (ta(i), i.flags |= 128, null) : (s & i.child.childLanes) !== 0 ? VS(r, i, s) : (ta(i), r = Cr(
5100
+ return c.dehydrated !== null ? (ta(i), i.flags |= 128, null) : (s & i.child.childLanes) !== 0 ? VS(r, i, s) : (ta(i), r = kr(
5101
5101
  r,
5102
5102
  i,
5103
5103
  s
@@ -5128,7 +5128,7 @@ Error generating stack: ` + s.message + `
5128
5128
  case 24:
5129
5129
  Qr(i, Bt, r.memoizedState.cache);
5130
5130
  }
5131
- return Cr(r, i, s);
5131
+ return kr(r, i, s);
5132
5132
  }
5133
5133
  function XS(r, i, s) {
5134
5134
  if (r !== null)
@@ -5211,7 +5211,7 @@ Error generating stack: ` + s.message + `
5211
5211
  );
5212
5212
  case 3:
5213
5213
  e: {
5214
- if (Se(
5214
+ if (we(
5215
5215
  i,
5216
5216
  i.stateNode.containerInfo
5217
5217
  ), r === null) throw Error(a(387));
@@ -5266,7 +5266,7 @@ Error generating stack: ` + s.message + `
5266
5266
  }
5267
5267
  else {
5268
5268
  if (Eo(), c === g) {
5269
- i = Cr(
5269
+ i = kr(
5270
5270
  r,
5271
5271
  i,
5272
5272
  s
@@ -5335,7 +5335,7 @@ Error generating stack: ` + s.message + `
5335
5335
  case 13:
5336
5336
  return VS(r, i, s);
5337
5337
  case 4:
5338
- return Se(
5338
+ return we(
5339
5339
  i,
5340
5340
  i.stateNode.containerInfo
5341
5341
  ), c = i.pendingProps, r === null ? i.child = Ci(
@@ -5412,7 +5412,7 @@ Error generating stack: ` + s.message + `
5412
5412
  }, r === null ? (s = Al(
5413
5413
  c,
5414
5414
  s
5415
- ), s.ref = i.ref, i.child = s, s.return = i, i = s) : (s = Sr(r.child, c), s.ref = i.ref, i.child = s, s.return = i, i = s), i;
5415
+ ), s.ref = i.ref, i.child = s, s.return = i, i = s) : (s = wr(r.child, c), s.ref = i.ref, i.child = s, s.return = i, i = s), i;
5416
5416
  case 22:
5417
5417
  return jS(r, i, s);
5418
5418
  case 24:
@@ -5435,7 +5435,7 @@ Error generating stack: ` + s.message + `
5435
5435
  }
5436
5436
  throw Error(a(156, i.tag));
5437
5437
  }
5438
- function kr(r) {
5438
+ function Or(r) {
5439
5439
  r.flags |= 4;
5440
5440
  }
5441
5441
  function KS(r, i) {
@@ -5493,26 +5493,26 @@ Error generating stack: ` + s.message + `
5493
5493
  case 1:
5494
5494
  return vt(i), null;
5495
5495
  case 3:
5496
- return s = i.stateNode, c = null, r !== null && (c = r.memoizedState.cache), i.memoizedState.cache !== c && (i.flags |= 2048), xr(Bt), Qe(), s.pendingContext && (s.context = s.pendingContext, s.pendingContext = null), (r === null || r.child === null) && (yo(i) ? kr(i) : r === null || r.memoizedState.isDehydrated && (i.flags & 256) === 0 || (i.flags |= 1024, Nv())), vt(i), null;
5496
+ return s = i.stateNode, c = null, r !== null && (c = r.memoizedState.cache), i.memoizedState.cache !== c && (i.flags |= 2048), Rr(Bt), Qe(), s.pendingContext && (s.context = s.pendingContext, s.pendingContext = null), (r === null || r.child === null) && (yo(i) ? Or(i) : r === null || r.memoizedState.isDehydrated && (i.flags & 256) === 0 || (i.flags |= 1024, Nv())), vt(i), null;
5497
5497
  case 26:
5498
- return s = i.memoizedState, r === null ? (kr(i), s !== null ? (vt(i), KS(i, s)) : (vt(i), i.flags &= -16777217)) : s ? s !== r.memoizedState ? (kr(i), vt(i), KS(i, s)) : (vt(i), i.flags &= -16777217) : (r.memoizedProps !== c && kr(i), vt(i), i.flags &= -16777217), null;
5498
+ return s = i.memoizedState, r === null ? (Or(i), s !== null ? (vt(i), KS(i, s)) : (vt(i), i.flags &= -16777217)) : s ? s !== r.memoizedState ? (Or(i), vt(i), KS(i, s)) : (vt(i), i.flags &= -16777217) : (r.memoizedProps !== c && Or(i), vt(i), i.flags &= -16777217), null;
5499
5499
  case 27:
5500
5500
  ft(i), s = de.current;
5501
5501
  var g = i.type;
5502
5502
  if (r !== null && i.stateNode != null)
5503
- r.memoizedProps !== c && kr(i);
5503
+ r.memoizedProps !== c && Or(i);
5504
5504
  else {
5505
5505
  if (!c) {
5506
5506
  if (i.stateNode === null)
5507
5507
  throw Error(a(166));
5508
5508
  return vt(i), null;
5509
5509
  }
5510
- r = le.current, yo(i) ? xv(i) : (r = Kw(g, c, s), i.stateNode = r, kr(i));
5510
+ r = le.current, yo(i) ? xv(i) : (r = Kw(g, c, s), i.stateNode = r, Or(i));
5511
5511
  }
5512
5512
  return vt(i), null;
5513
5513
  case 5:
5514
5514
  if (ft(i), s = i.type, r !== null && i.stateNode != null)
5515
- r.memoizedProps !== c && kr(i);
5515
+ r.memoizedProps !== c && Or(i);
5516
5516
  else {
5517
5517
  if (!c) {
5518
5518
  if (i.stateNode === null)
@@ -5591,13 +5591,13 @@ Error generating stack: ` + s.message + `
5591
5591
  default:
5592
5592
  r = !1;
5593
5593
  }
5594
- r && kr(i);
5594
+ r && Or(i);
5595
5595
  }
5596
5596
  }
5597
5597
  return vt(i), i.flags &= -16777217, null;
5598
5598
  case 6:
5599
5599
  if (r && i.stateNode != null)
5600
- r.memoizedProps !== c && kr(i);
5600
+ r.memoizedProps !== c && Or(i);
5601
5601
  else {
5602
5602
  if (typeof c != "string" && i.stateNode === null)
5603
5603
  throw Error(a(166));
@@ -5628,9 +5628,9 @@ Error generating stack: ` + s.message + `
5628
5628
  } else
5629
5629
  g = Nv(), r !== null && r.memoizedState !== null && (r.memoizedState.hydrationErrors = g), g = !0;
5630
5630
  if (!g)
5631
- return i.flags & 256 ? (Nr(i), i) : (Nr(i), null);
5631
+ return i.flags & 256 ? (Cr(i), i) : (Cr(i), null);
5632
5632
  }
5633
- if (Nr(i), (i.flags & 128) !== 0)
5633
+ if (Cr(i), (i.flags & 128) !== 0)
5634
5634
  return i.lanes = s, i;
5635
5635
  if (s = c !== null, r = r !== null && r.memoizedState !== null, s) {
5636
5636
  c = i.child, g = null, c.alternate !== null && c.alternate.memoizedState !== null && c.alternate.memoizedState.cachePool !== null && (g = c.alternate.memoizedState.cachePool.pool);
@@ -5641,7 +5641,7 @@ Error generating stack: ` + s.message + `
5641
5641
  case 4:
5642
5642
  return Qe(), r === null && Bd(i.stateNode.containerInfo), vt(i), null;
5643
5643
  case 10:
5644
- return xr(i.type), vt(i), null;
5644
+ return Rr(i.type), vt(i), null;
5645
5645
  case 19:
5646
5646
  if (ee(Ut), g = i.memoizedState, g === null) return vt(i), null;
5647
5647
  if (c = (i.flags & 128) !== 0, b = g.rendering, b === null)
@@ -5673,9 +5673,9 @@ Error generating stack: ` + s.message + `
5673
5673
  return g.tail !== null ? (i = g.tail, g.rendering = i, g.tail = i.sibling, g.renderingStartTime = Le(), i.sibling = null, r = Ut.current, D(Ut, c ? r & 1 | 2 : r & 1), i) : (vt(i), null);
5674
5674
  case 22:
5675
5675
  case 23:
5676
- return Nr(i), Pc(), c = i.memoizedState !== null, r !== null ? r.memoizedState !== null !== c && (i.flags |= 8192) : c && (i.flags |= 8192), c ? (s & 536870912) !== 0 && (i.flags & 128) === 0 && (vt(i), i.subtreeFlags & 6 && (i.flags |= 8192)) : vt(i), s = i.updateQueue, s !== null && Tl(i, s.retryQueue), s = null, r !== null && r.memoizedState !== null && r.memoizedState.cachePool !== null && (s = r.memoizedState.cachePool.pool), c = null, i.memoizedState !== null && i.memoizedState.cachePool !== null && (c = i.memoizedState.cachePool.pool), c !== s && (i.flags |= 2048), r !== null && ee(Ha), null;
5676
+ return Cr(i), Pc(), c = i.memoizedState !== null, r !== null ? r.memoizedState !== null !== c && (i.flags |= 8192) : c && (i.flags |= 8192), c ? (s & 536870912) !== 0 && (i.flags & 128) === 0 && (vt(i), i.subtreeFlags & 6 && (i.flags |= 8192)) : vt(i), s = i.updateQueue, s !== null && Tl(i, s.retryQueue), s = null, r !== null && r.memoizedState !== null && r.memoizedState.cachePool !== null && (s = r.memoizedState.cachePool.pool), c = null, i.memoizedState !== null && i.memoizedState.cachePool !== null && (c = i.memoizedState.cachePool.pool), c !== s && (i.flags |= 2048), r !== null && ee(Ha), null;
5677
5677
  case 24:
5678
- return s = null, r !== null && (s = r.memoizedState.cache), i.memoizedState.cache !== s && (i.flags |= 2048), xr(Bt), vt(i), null;
5678
+ return s = null, r !== null && (s = r.memoizedState.cache), i.memoizedState.cache !== s && (i.flags |= 2048), Rr(Bt), vt(i), null;
5679
5679
  case 25:
5680
5680
  return null;
5681
5681
  case 30:
@@ -5688,13 +5688,13 @@ Error generating stack: ` + s.message + `
5688
5688
  case 1:
5689
5689
  return r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
5690
5690
  case 3:
5691
- return xr(Bt), Qe(), r = i.flags, (r & 65536) !== 0 && (r & 128) === 0 ? (i.flags = r & -65537 | 128, i) : null;
5691
+ return Rr(Bt), Qe(), r = i.flags, (r & 65536) !== 0 && (r & 128) === 0 ? (i.flags = r & -65537 | 128, i) : null;
5692
5692
  case 26:
5693
5693
  case 27:
5694
5694
  case 5:
5695
5695
  return ft(i), null;
5696
5696
  case 13:
5697
- if (Nr(i), r = i.memoizedState, r !== null && r.dehydrated !== null) {
5697
+ if (Cr(i), r = i.memoizedState, r !== null && r.dehydrated !== null) {
5698
5698
  if (i.alternate === null)
5699
5699
  throw Error(a(340));
5700
5700
  Eo();
@@ -5705,12 +5705,12 @@ Error generating stack: ` + s.message + `
5705
5705
  case 4:
5706
5706
  return Qe(), null;
5707
5707
  case 10:
5708
- return xr(i.type), null;
5708
+ return Rr(i.type), null;
5709
5709
  case 22:
5710
5710
  case 23:
5711
- return Nr(i), Pc(), r !== null && ee(Ha), r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
5711
+ return Cr(i), Pc(), r !== null && ee(Ha), r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
5712
5712
  case 24:
5713
- return xr(Bt), null;
5713
+ return Rr(Bt), null;
5714
5714
  case 25:
5715
5715
  return null;
5716
5716
  default:
@@ -5720,7 +5720,7 @@ Error generating stack: ` + s.message + `
5720
5720
  function QS(r, i) {
5721
5721
  switch (Tc(i), i.tag) {
5722
5722
  case 3:
5723
- xr(Bt), Qe();
5723
+ Rr(Bt), Qe();
5724
5724
  break;
5725
5725
  case 26:
5726
5726
  case 27:
@@ -5731,20 +5731,20 @@ Error generating stack: ` + s.message + `
5731
5731
  Qe();
5732
5732
  break;
5733
5733
  case 13:
5734
- Nr(i);
5734
+ Cr(i);
5735
5735
  break;
5736
5736
  case 19:
5737
5737
  ee(Ut);
5738
5738
  break;
5739
5739
  case 10:
5740
- xr(i.type);
5740
+ Rr(i.type);
5741
5741
  break;
5742
5742
  case 22:
5743
5743
  case 23:
5744
- Nr(i), Pc(), r !== null && ee(Ha);
5744
+ Cr(i), Pc(), r !== null && ee(Ha);
5745
5745
  break;
5746
5746
  case 24:
5747
- xr(Bt);
5747
+ Rr(Bt);
5748
5748
  }
5749
5749
  }
5750
5750
  function Bo(r, i) {
@@ -5926,7 +5926,7 @@ Error generating stack: ` + s.message + `
5926
5926
  st(r, r.return, b);
5927
5927
  }
5928
5928
  }
5929
- var Or = !1, kt = !1, gd = !1, nw = typeof WeakSet == "function" ? WeakSet : Set, jt = null;
5929
+ var Ir = !1, kt = !1, gd = !1, nw = typeof WeakSet == "function" ? WeakSet : Set, jt = null;
5930
5930
  function aL(r, i) {
5931
5931
  if (r = r.containerInfo, zd = Gl, r = fv(r), fc(r)) {
5932
5932
  if ("selectionStart" in r)
@@ -6102,14 +6102,14 @@ Error generating stack: ` + s.message + `
6102
6102
  ), IL(r, s))));
6103
6103
  break;
6104
6104
  case 22:
6105
- if (c = s.memoizedState !== null || Or, !c) {
6106
- i = i !== null && i.memoizedState !== null || kt, g = Or;
6105
+ if (c = s.memoizedState !== null || Ir, !c) {
6106
+ i = i !== null && i.memoizedState !== null || kt, g = Ir;
6107
6107
  var b = kt;
6108
- Or = c, (kt = i) && !b ? ia(
6108
+ Ir = c, (kt = i) && !b ? ia(
6109
6109
  r,
6110
6110
  s,
6111
6111
  (s.subtreeFlags & 8772) !== 0
6112
- ) : aa(r, s), Or = g, kt = b;
6112
+ ) : aa(r, s), Ir = g, kt = b;
6113
6113
  }
6114
6114
  break;
6115
6115
  case 30:
@@ -6123,7 +6123,7 @@ Error generating stack: ` + s.message + `
6123
6123
  i !== null && (r.alternate = null, aw(i)), r.child = null, r.deletions = null, r.sibling = null, r.tag === 5 && (i = r.stateNode, i !== null && Fn(i)), r.stateNode = null, r.return = null, r.dependencies = null, r.memoizedProps = null, r.memoizedState = null, r.pendingProps = null, r.stateNode = null, r.updateQueue = null;
6124
6124
  }
6125
6125
  var yt = null, gn = !1;
6126
- function Ir(r, i, s) {
6126
+ function Dr(r, i, s) {
6127
6127
  for (s = s.child; s !== null; )
6128
6128
  iw(r, i, s), s = s.sibling;
6129
6129
  }
@@ -6135,7 +6135,7 @@ Error generating stack: ` + s.message + `
6135
6135
  }
6136
6136
  switch (s.tag) {
6137
6137
  case 26:
6138
- kt || cr(s, i), Ir(
6138
+ kt || cr(s, i), Dr(
6139
6139
  r,
6140
6140
  i,
6141
6141
  s
@@ -6144,7 +6144,7 @@ Error generating stack: ` + s.message + `
6144
6144
  case 27:
6145
6145
  kt || cr(s, i);
6146
6146
  var c = yt, g = gn;
6147
- da(s.type) && (yt = s.stateNode, gn = !1), Ir(
6147
+ da(s.type) && (yt = s.stateNode, gn = !1), Dr(
6148
6148
  r,
6149
6149
  i,
6150
6150
  s
@@ -6153,7 +6153,7 @@ Error generating stack: ` + s.message + `
6153
6153
  case 5:
6154
6154
  kt || cr(s, i);
6155
6155
  case 6:
6156
- if (c = yt, g = gn, yt = null, Ir(
6156
+ if (c = yt, g = gn, yt = null, Dr(
6157
6157
  r,
6158
6158
  i,
6159
6159
  s
@@ -6186,7 +6186,7 @@ Error generating stack: ` + s.message + `
6186
6186
  ), es(r)) : Ww(yt, s.stateNode));
6187
6187
  break;
6188
6188
  case 4:
6189
- c = yt, g = gn, yt = s.stateNode.containerInfo, gn = !0, Ir(
6189
+ c = yt, g = gn, yt = s.stateNode.containerInfo, gn = !0, Dr(
6190
6190
  r,
6191
6191
  i,
6192
6192
  s
@@ -6196,7 +6196,7 @@ Error generating stack: ` + s.message + `
6196
6196
  case 11:
6197
6197
  case 14:
6198
6198
  case 15:
6199
- kt || ra(2, s, i), kt || ra(4, s, i), Ir(
6199
+ kt || ra(2, s, i), kt || ra(4, s, i), Dr(
6200
6200
  r,
6201
6201
  i,
6202
6202
  s
@@ -6207,28 +6207,28 @@ Error generating stack: ` + s.message + `
6207
6207
  s,
6208
6208
  i,
6209
6209
  c
6210
- )), Ir(
6210
+ )), Dr(
6211
6211
  r,
6212
6212
  i,
6213
6213
  s
6214
6214
  );
6215
6215
  break;
6216
6216
  case 21:
6217
- Ir(
6217
+ Dr(
6218
6218
  r,
6219
6219
  i,
6220
6220
  s
6221
6221
  );
6222
6222
  break;
6223
6223
  case 22:
6224
- kt = (c = kt) || s.memoizedState !== null, Ir(
6224
+ kt = (c = kt) || s.memoizedState !== null, Dr(
6225
6225
  r,
6226
6226
  i,
6227
6227
  s
6228
6228
  ), kt = c;
6229
6229
  break;
6230
6230
  default:
6231
- Ir(
6231
+ Dr(
6232
6232
  r,
6233
6233
  i,
6234
6234
  s
@@ -6303,7 +6303,7 @@ Error generating stack: ` + s.message + `
6303
6303
  Cn(i, r), kn(r), c & 4 && (ra(3, r, r.return), Bo(3, r), ra(5, r, r.return));
6304
6304
  break;
6305
6305
  case 1:
6306
- Cn(i, r), kn(r), c & 512 && (kt || s === null || cr(s, s.return)), c & 64 && Or && (r = r.updateQueue, r !== null && (c = r.callbacks, c !== null && (s = r.shared.hiddenCallbacks, r.shared.hiddenCallbacks = s === null ? c : s.concat(c))));
6306
+ Cn(i, r), kn(r), c & 512 && (kt || s === null || cr(s, s.return)), c & 64 && Ir && (r = r.updateQueue, r !== null && (c = r.callbacks, c !== null && (s = r.shared.hiddenCallbacks, r.shared.hiddenCallbacks = s === null ? c : s.concat(c))));
6307
6307
  break;
6308
6308
  case 26:
6309
6309
  var g = er;
@@ -6316,7 +6316,7 @@ Error generating stack: ` + s.message + `
6316
6316
  c = r.type, s = r.memoizedProps, g = g.ownerDocument || g;
6317
6317
  t: switch (c) {
6318
6318
  case "title":
6319
- b = g.getElementsByTagName("title")[0], (!b || b[jr] || b[Pt] || b.namespaceURI === "http://www.w3.org/2000/svg" || b.hasAttribute("itemprop")) && (b = g.createElement(c), g.head.insertBefore(
6319
+ b = g.getElementsByTagName("title")[0], (!b || b[Er] || b[Pt] || b.namespaceURI === "http://www.w3.org/2000/svg" || b.hasAttribute("itemprop")) && (b = g.createElement(c), g.head.insertBefore(
6320
6320
  b,
6321
6321
  g.querySelector("head > title")
6322
6322
  )), Xt(b, c, s), b[Pt] = r, Ot(b), c = b;
@@ -6440,9 +6440,9 @@ Error generating stack: ` + s.message + `
6440
6440
  break;
6441
6441
  case 22:
6442
6442
  g = r.memoizedState !== null;
6443
- var z = s !== null && s.memoizedState !== null, Q = Or, oe = kt;
6444
- if (Or = Q || g, kt = oe || z, Cn(i, r), kt = oe, Or = Q, kn(r), c & 8192)
6445
- e: for (i = r.stateNode, i._visibility = g ? i._visibility & -2 : i._visibility | 1, g && (s === null || z || Or || kt || Va(r)), s = null, i = r; ; ) {
6443
+ var z = s !== null && s.memoizedState !== null, Q = Ir, oe = kt;
6444
+ if (Ir = Q || g, kt = oe || z, Cn(i, r), kt = oe, Ir = Q, kn(r), c & 8192)
6445
+ e: for (i = r.stateNode, i._visibility = g ? i._visibility & -2 : i._visibility | 1, g && (s === null || z || Ir || kt || Va(r)), s = null, i = r; ; ) {
6446
6446
  if (i.tag === 5 || i.tag === 26) {
6447
6447
  if (s === null) {
6448
6448
  z = s = i;
@@ -7008,7 +7008,7 @@ Error generating stack: ` + s.message + `
7008
7008
  var i = Jt(Bt), s = i.data.get(r);
7009
7009
  return s === void 0 && (s = r(), i.data.set(r, s)), s;
7010
7010
  }
7011
- }, sL = typeof WeakMap == "function" ? WeakMap : Map, tt = 0, ct = null, Ge = null, We = 0, nt = 0, On = null, oa = !1, Ii = !1, Ed = !1, Dr = 0, Nt = 0, sa = 0, Ya = 0, vd = 0, Hn = 0, Di = 0, qo = null, mn = null, Sd = !1, wd = 0, Nl = 1 / 0, Cl = null, la = null, Wt = 0, ua = null, Li = null, Mi = 0, Ad = 0, Td = null, hw = null, Ho = 0, xd = null;
7011
+ }, sL = typeof WeakMap == "function" ? WeakMap : Map, tt = 0, ct = null, Ge = null, We = 0, nt = 0, On = null, oa = !1, Ii = !1, Ed = !1, Lr = 0, Nt = 0, sa = 0, Ya = 0, vd = 0, Hn = 0, Di = 0, qo = null, mn = null, Sd = !1, wd = 0, Nl = 1 / 0, Cl = null, la = null, Wt = 0, ua = null, Li = null, Mi = 0, Ad = 0, Td = null, hw = null, Ho = 0, xd = null;
7012
7012
  function In() {
7013
7013
  if ((tt & 2) !== 0 && We !== 0)
7014
7014
  return We & -We;
@@ -7233,7 +7233,7 @@ Error generating stack: ` + s.message + `
7233
7233
  if (nt === 0)
7234
7234
  var r = Ge.return;
7235
7235
  else
7236
- r = Ge, Tr = ja = null, Gc(r), Ni = null, Lo = 0, r = Ge;
7236
+ r = Ge, xr = ja = null, Gc(r), Ni = null, Lo = 0, r = Ge;
7237
7237
  for (; r !== null; )
7238
7238
  QS(r.alternate, r), r = r.return;
7239
7239
  Ge = null;
@@ -7241,14 +7241,14 @@ Error generating stack: ` + s.message + `
7241
7241
  }
7242
7242
  function Fi(r, i) {
7243
7243
  var s = r.timeoutHandle;
7244
- s !== -1 && (r.timeoutHandle = -1, RL(s)), s = r.cancelPendingCommit, s !== null && (r.cancelPendingCommit = null, s()), Rd(), ct = r, Ge = s = Sr(r.current, null), We = i, nt = 0, On = null, oa = !1, Ii = xt(r, i), Ed = !1, Di = Hn = vd = Ya = sa = Nt = 0, mn = qo = null, Sd = !1, (i & 8) !== 0 && (i |= i & 32);
7244
+ s !== -1 && (r.timeoutHandle = -1, RL(s)), s = r.cancelPendingCommit, s !== null && (r.cancelPendingCommit = null, s()), Rd(), ct = r, Ge = s = wr(r.current, null), We = i, nt = 0, On = null, oa = !1, Ii = xt(r, i), Ed = !1, Di = Hn = vd = Ya = sa = Nt = 0, mn = qo = null, Sd = !1, (i & 8) !== 0 && (i |= i & 32);
7245
7245
  var c = r.entangledLanes;
7246
7246
  if (c !== 0)
7247
7247
  for (r = r.entanglements, c &= i; 0 < c; ) {
7248
7248
  var g = 31 - ye(c), b = 1 << g;
7249
7249
  i |= r[g], c &= ~b;
7250
7250
  }
7251
- return Dr = i, Zs(), s;
7251
+ return Lr = i, Zs(), s;
7252
7252
  }
7253
7253
  function yw(r, i) {
7254
7254
  qe = null, j.H = ml, i === To || i === ol ? (i = Fv(), nt = 3) : i === Dv ? (i = Fv(), nt = 4) : nt = i === BS ? 8 : i !== null && typeof i == "object" && typeof i.then == "function" ? 6 : 1, On = i, Ge === null && (Nt = 1, Sl(
@@ -7307,7 +7307,7 @@ Error generating stack: ` + s.message + `
7307
7307
  yw(r, oe);
7308
7308
  }
7309
7309
  while (!0);
7310
- return i && r.shellSuspendCounter++, Tr = ja = null, tt = c, j.H = g, j.A = b, Ge === null && (ct = null, We = 0, Zs()), T;
7310
+ return i && r.shellSuspendCounter++, xr = ja = null, tt = c, j.H = g, j.A = b, Ge === null && (ct = null, We = 0, Zs()), T;
7311
7311
  }
7312
7312
  function uL() {
7313
7313
  for (; Ge !== null; ) Sw(Ge);
@@ -7385,14 +7385,14 @@ Error generating stack: ` + s.message + `
7385
7385
  yw(r, oe);
7386
7386
  }
7387
7387
  while (!0);
7388
- return Tr = ja = null, j.H = c, j.A = g, tt = s, Ge !== null ? 0 : (ct = null, We = 0, Zs(), Nt);
7388
+ return xr = ja = null, j.H = c, j.A = g, tt = s, Ge !== null ? 0 : (ct = null, We = 0, Zs(), Nt);
7389
7389
  }
7390
7390
  function dL() {
7391
7391
  for (; Ge !== null && !ge(); )
7392
7392
  Sw(Ge);
7393
7393
  }
7394
7394
  function Sw(r) {
7395
- var i = XS(r.alternate, r, Dr);
7395
+ var i = XS(r.alternate, r, Lr);
7396
7396
  r.memoizedProps = r.pendingProps, i === null ? Ol(r) : Ge = i;
7397
7397
  }
7398
7398
  function ww(r) {
@@ -7422,12 +7422,12 @@ Error generating stack: ` + s.message + `
7422
7422
  case 5:
7423
7423
  Gc(i);
7424
7424
  default:
7425
- QS(s, i), i = Ge = Av(i, Dr), i = XS(s, i, Dr);
7425
+ QS(s, i), i = Ge = Av(i, Lr), i = XS(s, i, Lr);
7426
7426
  }
7427
7427
  r.memoizedProps = r.pendingProps, i === null ? Ol(r) : Ge = i;
7428
7428
  }
7429
7429
  function Bi(r, i, s, c) {
7430
- Tr = ja = null, Gc(i), Ni = null, Lo = 0;
7430
+ xr = ja = null, Gc(i), Ni = null, Lo = 0;
7431
7431
  var g = i.return;
7432
7432
  try {
7433
7433
  if (eL(
@@ -7467,7 +7467,7 @@ Error generating stack: ` + s.message + `
7467
7467
  var s = nL(
7468
7468
  i.alternate,
7469
7469
  i,
7470
- Dr
7470
+ Lr
7471
7471
  );
7472
7472
  if (s !== null) {
7473
7473
  Ge = s;
@@ -7611,7 +7611,7 @@ Error generating stack: ` + s.message + `
7611
7611
  var r = ua, i = Li, s = Mi, c = hw;
7612
7612
  (i.subtreeFlags & 10256) !== 0 || (i.flags & 10256) !== 0 ? Wt = 5 : (Wt = 0, Li = ua = null, Cw(r, r.pendingLanes));
7613
7613
  var g = r.pendingLanes;
7614
- if (g === 0 && (la = null), Pr(s), i = i.stateNode, ie && typeof ie.onCommitFiberRoot == "function")
7614
+ if (g === 0 && (la = null), zr(s), i = i.stateNode, ie && typeof ie.onCommitFiberRoot == "function")
7615
7615
  try {
7616
7616
  ie.onCommitFiberRoot(
7617
7617
  ne,
@@ -7647,7 +7647,7 @@ Error generating stack: ` + s.message + `
7647
7647
  if (Wt !== 5) return !1;
7648
7648
  var r = ua, i = Ad;
7649
7649
  Ad = 0;
7650
- var s = Pr(Mi), c = j.T, g = J.p;
7650
+ var s = zr(Mi), c = j.T, g = J.p;
7651
7651
  try {
7652
7652
  J.p = 32 > s ? 32 : s, j.T = null, s = Td, Td = null;
7653
7653
  var b = ua, T = Mi;
@@ -7795,7 +7795,7 @@ Error generating stack: ` + s.message + `
7795
7795
  return c !== null && c !== null && Je(c), r.callbackNode = null, r.callbackPriority = 0;
7796
7796
  if ((s & 3) === 0 || xt(r, s)) {
7797
7797
  if (i = s & -s, i === r.callbackPriority) return i;
7798
- switch (c !== null && Je(c), Pr(s)) {
7798
+ switch (c !== null && Je(c), zr(s)) {
7799
7799
  case 2:
7800
7800
  case 8:
7801
7801
  s = Ie;
@@ -8220,7 +8220,7 @@ Error generating stack: ` + s.message + `
8220
8220
  );
8221
8221
  break e;
8222
8222
  }
8223
- He && He(r, $, Q), r === "focusout" && Q && $.type === "number" && Q.memoizedProps.value != null && Er($, "number", $.value);
8223
+ He && He(r, $, Q), r === "focusout" && Q && $.type === "number" && Q.memoizedProps.value != null && vr($, "number", $.value);
8224
8224
  }
8225
8225
  switch (He = Q ? Ca(Q) : window, r) {
8226
8226
  case "focusin":
@@ -9130,7 +9130,7 @@ Error generating stack: ` + s.message + `
9130
9130
  if (s & 1 && Yo(T.documentElement), s & 2 && Yo(T.body), s & 4)
9131
9131
  for (s = T.head, Yo(s), T = s.firstChild; T; ) {
9132
9132
  var I = T.nextSibling, z = T.nodeName;
9133
- T[jr] || z === "SCRIPT" || z === "STYLE" || z === "LINK" && T.rel.toLowerCase() === "stylesheet" || s.removeChild(T), T = I;
9133
+ T[Er] || z === "SCRIPT" || z === "STYLE" || z === "LINK" && T.rel.toLowerCase() === "stylesheet" || s.removeChild(T), T = I;
9134
9134
  }
9135
9135
  }
9136
9136
  if (g === 0) {
@@ -9171,7 +9171,7 @@ Error generating stack: ` + s.message + `
9171
9171
  if (!c && (r.nodeName !== "INPUT" || r.type !== "hidden"))
9172
9172
  break;
9173
9173
  } else if (c) {
9174
- if (!r[jr])
9174
+ if (!r[Er])
9175
9175
  switch (i) {
9176
9176
  case "meta":
9177
9177
  if (!r.hasAttribute("itemprop")) break;
@@ -9272,7 +9272,7 @@ Error generating stack: ` + s.message + `
9272
9272
  function Pl(r) {
9273
9273
  return typeof r.getRootNode == "function" ? r.getRootNode() : r.nodeType === 9 ? r : r.ownerDocument;
9274
9274
  }
9275
- var Lr = J.d;
9275
+ var Mr = J.d;
9276
9276
  J.d = {
9277
9277
  f: DL,
9278
9278
  r: LL,
@@ -9285,12 +9285,12 @@ Error generating stack: ` + s.message + `
9285
9285
  M: jL
9286
9286
  };
9287
9287
  function DL() {
9288
- var r = Lr.f(), i = kl();
9288
+ var r = Mr.f(), i = kl();
9289
9289
  return r || i;
9290
9290
  }
9291
9291
  function LL(r) {
9292
9292
  var i = xn(r);
9293
- i !== null && i.tag === 5 && i.type === "form" ? mS(i) : Lr.r(r);
9293
+ i !== null && i.tag === 5 && i.type === "form" ? mS(i) : Mr.r(r);
9294
9294
  }
9295
9295
  var zi = typeof document > "u" ? null : document;
9296
9296
  function Zw(r, i, s) {
@@ -9301,13 +9301,13 @@ Error generating stack: ` + s.message + `
9301
9301
  }
9302
9302
  }
9303
9303
  function ML(r) {
9304
- Lr.D(r), Zw("dns-prefetch", r, null);
9304
+ Mr.D(r), Zw("dns-prefetch", r, null);
9305
9305
  }
9306
9306
  function FL(r, i) {
9307
- Lr.C(r, i), Zw("preconnect", r, i);
9307
+ Mr.C(r, i), Zw("preconnect", r, i);
9308
9308
  }
9309
9309
  function BL(r, i, s) {
9310
- Lr.L(r, i, s);
9310
+ Mr.L(r, i, s);
9311
9311
  var c = zi;
9312
9312
  if (c && r && i) {
9313
9313
  var g = 'link[rel="preload"][as="' + cn(i) + '"]';
@@ -9335,7 +9335,7 @@ Error generating stack: ` + s.message + `
9335
9335
  }
9336
9336
  }
9337
9337
  function UL(r, i) {
9338
- Lr.m(r, i);
9338
+ Mr.m(r, i);
9339
9339
  var s = zi;
9340
9340
  if (s && r) {
9341
9341
  var c = i && typeof i.as == "string" ? i.as : "script", g = 'link[rel="modulepreload"][as="' + cn(c) + '"][href="' + cn(r) + '"]', b = g;
@@ -9364,7 +9364,7 @@ Error generating stack: ` + s.message + `
9364
9364
  }
9365
9365
  }
9366
9366
  function PL(r, i, s) {
9367
- Lr.S(r, i, s);
9367
+ Mr.S(r, i, s);
9368
9368
  var c = zi;
9369
9369
  if (c && r) {
9370
9370
  var g = Xn(c).hoistableStyles, b = ji(r);
@@ -9400,7 +9400,7 @@ Error generating stack: ` + s.message + `
9400
9400
  }
9401
9401
  }
9402
9402
  function zL(r, i) {
9403
- Lr.X(r, i);
9403
+ Mr.X(r, i);
9404
9404
  var s = zi;
9405
9405
  if (s && r) {
9406
9406
  var c = Xn(s).hoistableScripts, g = qi(r), b = c.get(g);
@@ -9413,7 +9413,7 @@ Error generating stack: ` + s.message + `
9413
9413
  }
9414
9414
  }
9415
9415
  function jL(r, i) {
9416
- Lr.M(r, i);
9416
+ Mr.M(r, i);
9417
9417
  var s = zi;
9418
9418
  if (s && r) {
9419
9419
  var c = Xn(s).hoistableScripts, g = qi(r), b = c.get(g);
@@ -9582,7 +9582,7 @@ Error generating stack: ` + s.message + `
9582
9582
  if (c.has(r)) return c;
9583
9583
  for (c.set(r, null), s = s.getElementsByTagName(r), g = 0; g < s.length; g++) {
9584
9584
  var b = s[g];
9585
- if (!(b[jr] || b[Pt] || r === "link" && b.getAttribute("rel") === "stylesheet") && b.namespaceURI !== "http://www.w3.org/2000/svg") {
9585
+ if (!(b[Er] || b[Pt] || r === "link" && b.getAttribute("rel") === "stylesheet") && b.namespaceURI !== "http://www.w3.org/2000/svg") {
9586
9586
  var T = b.getAttribute(i) || "";
9587
9587
  T = r + T;
9588
9588
  var I = c.get(T);
@@ -10040,7 +10040,7 @@ Error generating stack: ` + s.message + `
10040
10040
  r.blockedOn = i, tc(r.priority, function() {
10041
10041
  if (s.tag === 13) {
10042
10042
  var c = In();
10043
- c = Ur(c);
10043
+ c = Pr(c);
10044
10044
  var g = bi(s, c);
10045
10045
  g !== null && Dn(g, s, c), Kd(s, c);
10046
10046
  }
@@ -10232,7 +10232,7 @@ Error generating stack: ` + s.message + `
10232
10232
  I,
10233
10233
  z,
10234
10234
  Q
10235
- ), i.context = iA(null), s = i.current, c = In(), c = Ur(c), g = Jr(c), g.callback = null, $r(s, g, c), s = c, i.current.lanes = s, An(i, s), pr(i), r[gt] = i.current, Bd(r), new Xl(i);
10235
+ ), i.context = iA(null), s = i.current, c = In(), c = Pr(c), g = Jr(c), g.callback = null, $r(s, g, c), s = c, i.current.lanes = s, An(i, s), pr(i), r[gt] = i.current, Bd(r), new Xl(i);
10236
10236
  }, ns.version = "19.1.1", ns;
10237
10237
  }
10238
10238
  var TA;
@@ -15811,14 +15811,14 @@ function wU(e, t, n) {
15811
15811
  ) : H(Y);
15812
15812
  function H(de) {
15813
15813
  return Te;
15814
- function Te(Se) {
15815
- const Qe = Se !== null && de[Se], $e = Se !== null && de.null, ft = [
15814
+ function Te(we) {
15815
+ const Qe = we !== null && de[we], $e = we !== null && de.null, ft = [
15816
15816
  // To do: add more extension tests.
15817
15817
  /* c8 ignore next 2 */
15818
15818
  ...Array.isArray(Qe) ? Qe : Qe ? [Qe] : [],
15819
15819
  ...Array.isArray($e) ? $e : $e ? [$e] : []
15820
15820
  ];
15821
- return ee(ft)(Se);
15821
+ return ee(ft)(we);
15822
15822
  }
15823
15823
  }
15824
15824
  function ee(de) {
@@ -15826,7 +15826,7 @@ function wU(e, t, n) {
15826
15826
  }
15827
15827
  function D(de) {
15828
15828
  return Te;
15829
- function Te(Se) {
15829
+ function Te(we) {
15830
15830
  return S = P(), se = de, de.partial || (p.currentConstruct = de), de.name && p.parser.constructs.disable.null.includes(de.name) ? be() : de.tokenize.call(
15831
15831
  // If we do have fields, create an object w/ `context` as its
15832
15832
  // prototype.
@@ -15835,7 +15835,7 @@ function wU(e, t, n) {
15835
15835
  f,
15836
15836
  le,
15837
15837
  be
15838
- )(Se);
15838
+ )(we);
15839
15839
  }
15840
15840
  }
15841
15841
  function le(de) {
@@ -16049,7 +16049,7 @@ function DU(e) {
16049
16049
  atxHeadingSequence: O,
16050
16050
  autolink: f(),
16051
16051
  autolinkEmail: Qe,
16052
- autolinkProtocol: Se,
16052
+ autolinkProtocol: we,
16053
16053
  blockQuote: f(),
16054
16054
  characterEscapeValue: B,
16055
16055
  characterReferenceMarkerHexadecimal: be,
@@ -16392,7 +16392,7 @@ function DU(e) {
16392
16392
  const ie = this.stack.pop();
16393
16393
  ie.position.end = ba(ne.end);
16394
16394
  }
16395
- function Se(ne) {
16395
+ function we(ne) {
16396
16396
  B.call(this, ne);
16397
16397
  const ie = this.stack[this.stack.length - 1];
16398
16398
  ie.url = this.sliceSerialize(ne);
@@ -19935,7 +19935,7 @@ const D3 = {
19935
19935
  name: "protocolAutolink",
19936
19936
  tokenize: U3,
19937
19937
  previous: NO
19938
- }, Br = {
19938
+ }, Ur = {
19939
19939
  name: "emailAutolink",
19940
19940
  tokenize: F3,
19941
19941
  previous: CO
@@ -19947,15 +19947,15 @@ function M3() {
19947
19947
  }
19948
19948
  let Xa = 48;
19949
19949
  for (; Xa < 123; )
19950
- yr[Xa] = Br, Xa++, Xa === 58 ? Xa = 65 : Xa === 91 && (Xa = 97);
19951
- yr[43] = Br;
19952
- yr[45] = Br;
19953
- yr[46] = Br;
19954
- yr[95] = Br;
19955
- yr[72] = [Br, xO];
19956
- yr[104] = [Br, xO];
19957
- yr[87] = [Br, TO];
19958
- yr[119] = [Br, TO];
19950
+ yr[Xa] = Ur, Xa++, Xa === 58 ? Xa = 65 : Xa === 91 && (Xa = 97);
19951
+ yr[43] = Ur;
19952
+ yr[45] = Ur;
19953
+ yr[46] = Ur;
19954
+ yr[95] = Ur;
19955
+ yr[72] = [Ur, xO];
19956
+ yr[104] = [Ur, xO];
19957
+ yr[87] = [Ur, TO];
19958
+ yr[119] = [Ur, TO];
19959
19959
  function F3(e, t, n) {
19960
19960
  const a = this;
19961
19961
  let o, l;
@@ -21606,10 +21606,10 @@ const Xq = (e, t, n) => async (a) => {
21606
21606
  }, Jq = (e, t) => {
21607
21607
  if (!e.includes(t))
21608
21608
  throw new Error(`Expected the state to be ${e.map((n) => `"${n}"`).join(" or ")} but it was "${t}".`);
21609
- }, $q = '(()=>{"use strict";class e extends AudioWorkletProcessor{constructor(){super(),this._encoderPort=null,this._state="inactive",this.port.onmessage=e=>{let{data:t}=e;"pause"===t.method?"active"===this._state||"recording"===this._state?(this._state="paused",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"record"===t.method?"inactive"===this._state?(this._encoderPort=t.params.encoderPort,this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"resume"===t.method?"paused"===this._state?(this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"stop"===t.method?"active"!==this._state&&"paused"!==this._state&&"recording"!==this._state||null===this._encoderPort?this._sendUnexpectedStateError(t.id):(this._stop(this._encoderPort),this._sendAcknowledgement(t.id)):"number"==typeof t.id&&this.port.postMessage({error:{code:-32601,message:"The requested method is not supported."},id:t.id})}}process(e){let[t]=e;if("inactive"===this._state||"paused"===this._state)return!0;if("active"===this._state){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0===t.length)return!0;this._state="recording"}if("recording"===this._state&&null!==this._encoderPort){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0!==t.length)return this._encoderPort.postMessage(t,t.map((e=>{let{buffer:t}=e;return t}))),!0;this._stop(this._encoderPort)}return!1}_sendAcknowledgement(e){this.port.postMessage({id:e,result:null})}_sendUnexpectedStateError(e){this.port.postMessage({error:{code:-32603,message:"The internal state does not allow to process the given message."},id:e})}_stop(e){e.postMessage([]),e.close(),this._encoderPort=null,this._state="stopped"}}e.parameterDescriptors=[],registerProcessor("recorder-audio-worklet-processor",e)})();', e4 = Xq(Blob, URL, $q), t4 = Zq(Kq, Qq(Fq), qO, Jq), qT = (e, t, n) => ({ endTime: t, insertTime: n, type: "exponentialRampToValue", value: e }), HT = (e, t, n) => ({ endTime: t, insertTime: n, type: "linearRampToValue", value: e }), By = (e, t) => ({ startTime: t, type: "setValue", value: e }), HO = (e, t, n) => ({ duration: n, startTime: t, type: "setValueCurve", values: e }), GO = (e, t, { startTime: n, target: a, timeConstant: o }) => a + (t - a) * Math.exp((n - e) / o), Vi = (e) => e.type === "exponentialRampToValue", vu = (e) => e.type === "linearRampToValue", Ea = (e) => Vi(e) || vu(e), TE = (e) => e.type === "setValue", Fr = (e) => e.type === "setValueCurve", Su = (e, t, n, a) => {
21609
+ }, $q = '(()=>{"use strict";class e extends AudioWorkletProcessor{constructor(){super(),this._encoderPort=null,this._state="inactive",this.port.onmessage=e=>{let{data:t}=e;"pause"===t.method?"active"===this._state||"recording"===this._state?(this._state="paused",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"record"===t.method?"inactive"===this._state?(this._encoderPort=t.params.encoderPort,this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"resume"===t.method?"paused"===this._state?(this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"stop"===t.method?"active"!==this._state&&"paused"!==this._state&&"recording"!==this._state||null===this._encoderPort?this._sendUnexpectedStateError(t.id):(this._stop(this._encoderPort),this._sendAcknowledgement(t.id)):"number"==typeof t.id&&this.port.postMessage({error:{code:-32601,message:"The requested method is not supported."},id:t.id})}}process(e){let[t]=e;if("inactive"===this._state||"paused"===this._state)return!0;if("active"===this._state){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0===t.length)return!0;this._state="recording"}if("recording"===this._state&&null!==this._encoderPort){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0!==t.length)return this._encoderPort.postMessage(t,t.map((e=>{let{buffer:t}=e;return t}))),!0;this._stop(this._encoderPort)}return!1}_sendAcknowledgement(e){this.port.postMessage({id:e,result:null})}_sendUnexpectedStateError(e){this.port.postMessage({error:{code:-32603,message:"The internal state does not allow to process the given message."},id:e})}_stop(e){e.postMessage([]),e.close(),this._encoderPort=null,this._state="stopped"}}e.parameterDescriptors=[],registerProcessor("recorder-audio-worklet-processor",e)})();', e4 = Xq(Blob, URL, $q), t4 = Zq(Kq, Qq(Fq), qO, Jq), qT = (e, t, n) => ({ endTime: t, insertTime: n, type: "exponentialRampToValue", value: e }), HT = (e, t, n) => ({ endTime: t, insertTime: n, type: "linearRampToValue", value: e }), By = (e, t) => ({ startTime: t, type: "setValue", value: e }), HO = (e, t, n) => ({ duration: n, startTime: t, type: "setValueCurve", values: e }), GO = (e, t, { startTime: n, target: a, timeConstant: o }) => a + (t - a) * Math.exp((n - e) / o), Vi = (e) => e.type === "exponentialRampToValue", vu = (e) => e.type === "linearRampToValue", Ea = (e) => Vi(e) || vu(e), TE = (e) => e.type === "setValue", Br = (e) => e.type === "setValueCurve", Su = (e, t, n, a) => {
21610
21610
  const o = e[t];
21611
- return o === void 0 ? a : Ea(o) || TE(o) ? o.value : Fr(o) ? o.values[o.values.length - 1] : GO(n, Su(e, t - 1, o.startTime, a), o);
21612
- }, GT = (e, t, n, a, o) => n === void 0 ? [a.insertTime, o] : Ea(n) ? [n.endTime, n.value] : TE(n) ? [n.startTime, n.value] : Fr(n) ? [
21611
+ return o === void 0 ? a : Ea(o) || TE(o) ? o.value : Br(o) ? o.values[o.values.length - 1] : GO(n, Su(e, t - 1, o.startTime, a), o);
21612
+ }, GT = (e, t, n, a, o) => n === void 0 ? [a.insertTime, o] : Ea(n) ? [n.endTime, n.value] : TE(n) ? [n.startTime, n.value] : Br(n) ? [
21613
21613
  n.startTime + n.duration,
21614
21614
  n.values[n.values.length - 1]
21615
21615
  ] : [
@@ -21632,16 +21632,16 @@ class a4 {
21632
21632
  add(t) {
21633
21633
  const n = ya(t);
21634
21634
  if (Uy(t) || Py(t)) {
21635
- const a = this._automationEvents.findIndex((l) => Py(t) && Fr(l) ? l.startTime + l.duration >= n : ya(l) >= n), o = this._automationEvents[a];
21635
+ const a = this._automationEvents.findIndex((l) => Py(t) && Br(l) ? l.startTime + l.duration >= n : ya(l) >= n), o = this._automationEvents[a];
21636
21636
  if (a !== -1 && (this._automationEvents = this._automationEvents.slice(0, a)), Uy(t)) {
21637
21637
  const l = this._automationEvents[this._automationEvents.length - 1];
21638
21638
  if (o !== void 0 && Ea(o)) {
21639
21639
  if (l !== void 0 && tu(l))
21640
21640
  throw new Error("The internal list is malformed.");
21641
- const u = l === void 0 ? o.insertTime : Fr(l) ? l.startTime + l.duration : ya(l), d = l === void 0 ? this._defaultValue : Fr(l) ? l.values[l.values.length - 1] : l.value, f = Vi(o) ? _T(n, u, d, o) : VT(n, u, d, o), p = Vi(o) ? qT(f, n, this._currenTime) : HT(f, n, this._currenTime);
21641
+ const u = l === void 0 ? o.insertTime : Br(l) ? l.startTime + l.duration : ya(l), d = l === void 0 ? this._defaultValue : Br(l) ? l.values[l.values.length - 1] : l.value, f = Vi(o) ? _T(n, u, d, o) : VT(n, u, d, o), p = Vi(o) ? qT(f, n, this._currenTime) : HT(f, n, this._currenTime);
21642
21642
  this._automationEvents.push(p);
21643
21643
  }
21644
- if (l !== void 0 && tu(l) && this._automationEvents.push(By(this.getValue(n), n)), l !== void 0 && Fr(l) && l.startTime + l.duration > n) {
21644
+ if (l !== void 0 && tu(l) && this._automationEvents.push(By(this.getValue(n), n)), l !== void 0 && Br(l) && l.startTime + l.duration > n) {
21645
21645
  const u = n - l.startTime, d = (l.values.length - 1) / l.duration, f = Math.max(2, 1 + Math.ceil(u * d)), p = u / (f - 1) * d, h = l.values.slice(0, f);
21646
21646
  if (p < 1)
21647
21647
  for (let m = 1; m < f; m += 1) {
@@ -21653,13 +21653,13 @@ class a4 {
21653
21653
  }
21654
21654
  } else {
21655
21655
  const a = this._automationEvents.findIndex((u) => ya(u) > n), o = a === -1 ? this._automationEvents[this._automationEvents.length - 1] : this._automationEvents[a - 1];
21656
- if (o !== void 0 && Fr(o) && ya(o) + o.duration > n)
21656
+ if (o !== void 0 && Br(o) && ya(o) + o.duration > n)
21657
21657
  return !1;
21658
21658
  const l = Vi(t) ? qT(t.value, t.endTime, this._currenTime) : vu(t) ? HT(t.value, n, this._currenTime) : t;
21659
21659
  if (a === -1)
21660
21660
  this._automationEvents.push(l);
21661
21661
  else {
21662
- if (Fr(t) && n + t.duration > ya(this._automationEvents[a]))
21662
+ if (Br(t) && n + t.duration > ya(this._automationEvents[a]))
21663
21663
  return !1;
21664
21664
  this._automationEvents.splice(a, 0, l);
21665
21665
  }
@@ -21681,7 +21681,7 @@ class a4 {
21681
21681
  return GO(t, Su(this._automationEvents, o - 1, l.startTime, this._defaultValue), l);
21682
21682
  if (l !== void 0 && TE(l) && (a === void 0 || !Ea(a)))
21683
21683
  return l.value;
21684
- if (l !== void 0 && Fr(l) && (a === void 0 || !Ea(a) || l.startTime + l.duration > t))
21684
+ if (l !== void 0 && Br(l) && (a === void 0 || !Ea(a) || l.startTime + l.duration > t))
21685
21685
  return t < l.startTime + l.duration ? r4(t, l) : l.values[l.values.length - 1];
21686
21686
  if (l !== void 0 && Ea(l) && (a === void 0 || !Ea(a)))
21687
21687
  return l.value;
@@ -23429,7 +23429,7 @@ const iI = (e, t, n, a, o) => {
23429
23429
  W.disconnect(Le, Ee + Ue, Ue);
23430
23430
  Ee += x[ge];
23431
23431
  }
23432
- }, Se = /* @__PURE__ */ new Map();
23432
+ }, we = /* @__PURE__ */ new Map();
23433
23433
  q.onaudioprocess = ({ inputBuffer: ge, outputBuffer: Ee }) => {
23434
23434
  if (H !== null) {
23435
23435
  const Le = m(X);
@@ -23446,9 +23446,9 @@ const iI = (e, t, n, a, o) => {
23446
23446
  try {
23447
23447
  const Oe = D.map((et, Ye) => {
23448
23448
  if (Le[Ye].size > 0)
23449
- return Se.set(Ye, B / 128), et;
23450
- const De = Se.get(Ye);
23451
- return De === void 0 ? [] : (et.every((Pe) => Pe.every((ne) => ne === 0)) && (De === 1 ? Se.delete(Ye) : Se.set(Ye, De - 1)), et);
23449
+ return we.set(Ye, B / 128), et;
23450
+ const De = we.get(Ye);
23451
+ return De === void 0 ? [] : (et.every((Pe) => Pe.every((ne) => ne === 0)) && (De === 1 ? we.delete(Ye) : we.set(Ye, De - 1)), et);
23452
23452
  });
23453
23453
  de = h(E.currentTime + Ue / E.sampleRate, E.sampleRate, () => H.process(Oe, le, be));
23454
23454
  for (let et = 0, Ye = 0; et < w.numberOfOutputs; et += 1) {
@@ -24255,7 +24255,7 @@ function D_() {
24255
24255
  return null;
24256
24256
  } : x, C = p.onStart, M = C === void 0 ? function() {
24257
24257
  return null;
24258
- } : C, O = p.blobPropertyBag, R = p.screen, F = R === void 0 ? !1 : R, U = p.mediaRecorderOptions, P = U === void 0 ? void 0 : U, B = p.customMediaStream, q = B === void 0 ? null : B, W = p.stopStreamsOnStop, _ = W === void 0 ? !0 : W, Y = p.askPermissionOnMount, Z = Y === void 0 ? !1 : Y, j = (0, o.useRef)(null), J = (0, o.useRef)([]), X = (0, o.useRef)(null), se = (0, o.useState)("idle"), S = se[0], H = se[1], ee = (0, o.useState)(!1), D = ee[0], le = ee[1], be = (0, o.useState)(void 0), de = be[0], Te = be[1], Se = (0, o.useState)("NONE"), Qe = Se[0], $e = Se[1], ft = (0, o.useState)(!1), Gt = ft[0], Mt = ft[1];
24258
+ } : C, O = p.blobPropertyBag, R = p.screen, F = R === void 0 ? !1 : R, U = p.mediaRecorderOptions, P = U === void 0 ? void 0 : U, B = p.customMediaStream, q = B === void 0 ? null : B, W = p.stopStreamsOnStop, _ = W === void 0 ? !0 : W, Y = p.askPermissionOnMount, Z = Y === void 0 ? !1 : Y, j = (0, o.useRef)(null), J = (0, o.useRef)([]), X = (0, o.useRef)(null), se = (0, o.useState)("idle"), S = se[0], H = se[1], ee = (0, o.useState)(!1), D = ee[0], le = ee[1], be = (0, o.useState)(void 0), de = be[0], Te = be[1], we = (0, o.useState)("NONE"), Qe = we[0], $e = we[1], ft = (0, o.useState)(!1), Gt = ft[0], Mt = ft[1];
24259
24259
  (0, o.useEffect)(function() {
24260
24260
  if (!Gt) {
24261
24261
  var ze = function() {
@@ -24844,7 +24844,7 @@ function rV(e, t) {
24844
24844
  var Te = de.value.length;
24845
24845
  Te === 1 && de.value[0].type === "text" && (Te = de.value[0].value.split(`
24846
24846
  `).length);
24847
- var Se = Te + C, Qe = eV(de, F, q, A, x, C, Se, R, P);
24847
+ var we = Te + C, Qe = eV(de, F, q, A, x, C, we, R, P);
24848
24848
  return /* @__PURE__ */ yn.createElement(Y, le, /* @__PURE__ */ yn.createElement(j, m, !x && H, W({
24849
24849
  rows: Qe,
24850
24850
  stylesheet: d,
@@ -24916,16 +24916,16 @@ function PI() {
24916
24916
  }
24917
24917
  return Pp;
24918
24918
  }
24919
- var Mr = {}, hx;
24919
+ var Fr = {}, hx;
24920
24920
  function PE() {
24921
- if (hx) return Mr;
24921
+ if (hx) return Fr;
24922
24922
  hx = 1;
24923
24923
  var e = 0;
24924
- Mr.boolean = t(), Mr.booleanish = t(), Mr.overloadedBoolean = t(), Mr.number = t(), Mr.spaceSeparated = t(), Mr.commaSeparated = t(), Mr.commaOrSpaceSeparated = t();
24924
+ Fr.boolean = t(), Fr.booleanish = t(), Fr.overloadedBoolean = t(), Fr.number = t(), Fr.spaceSeparated = t(), Fr.commaSeparated = t(), Fr.commaOrSpaceSeparated = t();
24925
24925
  function t() {
24926
24926
  return Math.pow(2, ++e);
24927
24927
  }
24928
- return Mr;
24928
+ return Fr;
24929
24929
  }
24930
24930
  var zp, gx;
24931
24931
  function zI() {
@@ -25844,7 +25844,7 @@ function xY() {
25844
25844
  return (be.position.indent || be.position.start) && (be.indent = be.position.indent || [], be.position = be.position.start), S(D, be);
25845
25845
  }
25846
25846
  function S(D, le) {
25847
- var be = le.additional, de = le.nonTerminated, Te = le.text, Se = le.reference, Qe = le.warning, $e = le.textContext, ft = le.referenceContext, Gt = le.warningContext, Mt = le.position, Je = le.indent || [], ge = D.length, Ee = 0, Le = -1, Ue = Mt.column || 1, Oe = Mt.line || 1, Ie = "", et = [], Ye, ze, De, Pe, ne, ie, he, ye, je, mt, wt, At, Tt, rt, ut, xt, Ft, _t, ht;
25847
+ var be = le.additional, de = le.nonTerminated, Te = le.text, we = le.reference, Qe = le.warning, $e = le.textContext, ft = le.referenceContext, Gt = le.warningContext, Mt = le.position, Je = le.indent || [], ge = D.length, Ee = 0, Le = -1, Ue = Mt.column || 1, Oe = Mt.line || 1, Ie = "", et = [], Ye, ze, De, Pe, ne, ie, he, ye, je, mt, wt, At, Tt, rt, ut, xt, Ft, _t, ht;
25848
25848
  for (typeof be == "string" && (be = be.charCodeAt(0)), xt = Yn(), ye = Qe ? An : f, Ee--, ge++; ++Ee < ge; )
25849
25849
  if (ne === m && (Ue = Je[Le] || 1), ne = D.charCodeAt(Ee), ne === v) {
25850
25850
  if (he = D.charCodeAt(Ee + 1), he === h || he === m || he === y || he === E || he === v || he === w || he !== he || be && he === be) {
@@ -25853,7 +25853,7 @@ function xY() {
25853
25853
  }
25854
25854
  for (Tt = Ee + 1, At = Tt, ht = Tt, he === N ? (ht = ++At, he = D.charCodeAt(ht), he === C || he === M ? (rt = F, ht = ++At) : rt = U) : rt = R, Ye = "", wt = "", Pe = "", ut = B[rt], ht--; ++ht < ge && (he = D.charCodeAt(ht), !!ut(he)); )
25855
25855
  Pe += d(he), rt === R && u.call(e, Pe) && (Ye = Pe, wt = e[Pe]);
25856
- De = D.charCodeAt(ht) === A, De && (ht++, ze = rt === R ? l(Pe) : !1, ze && (Ye = Pe, wt = ze)), _t = 1 + ht - Tt, !De && !de || (Pe ? rt === R ? (De && !wt ? ye(Z, 1) : (Ye !== Pe && (ht = At + Ye.length, _t = 1 + ht - At, De = !1), De || (je = Ye ? q : _, le.attribute ? (he = D.charCodeAt(ht), he === x ? (ye(je, _t), wt = null) : o(he) ? wt = null : ye(je, _t)) : ye(je, _t))), ie = wt) : (De || ye(W, _t), ie = parseInt(Pe, P[rt]), H(ie) ? (ye(J, _t), ie = d(O)) : ie in t ? (ye(j, _t), ie = t[ie]) : (mt = "", ee(ie) && ye(j, _t), ie > 65535 && (ie -= 65536, mt += d(ie >>> 10 | 55296), ie = 56320 | ie & 1023), ie = mt + d(ie))) : rt !== R && ye(Y, _t)), ie ? (Qt(), xt = Yn(), Ee = ht - 1, Ue += ht - Tt + 1, et.push(ie), Ft = Yn(), Ft.offset++, Se && Se.call(
25856
+ De = D.charCodeAt(ht) === A, De && (ht++, ze = rt === R ? l(Pe) : !1, ze && (Ye = Pe, wt = ze)), _t = 1 + ht - Tt, !De && !de || (Pe ? rt === R ? (De && !wt ? ye(Z, 1) : (Ye !== Pe && (ht = At + Ye.length, _t = 1 + ht - At, De = !1), De || (je = Ye ? q : _, le.attribute ? (he = D.charCodeAt(ht), he === x ? (ye(je, _t), wt = null) : o(he) ? wt = null : ye(je, _t)) : ye(je, _t))), ie = wt) : (De || ye(W, _t), ie = parseInt(Pe, P[rt]), H(ie) ? (ye(J, _t), ie = d(O)) : ie in t ? (ye(j, _t), ie = t[ie]) : (mt = "", ee(ie) && ye(j, _t), ie > 65535 && (ie -= 65536, mt += d(ie >>> 10 | 55296), ie = 56320 | ie & 1023), ie = mt + d(ie))) : rt !== R && ye(Y, _t)), ie ? (Qt(), xt = Yn(), Ee = ht - 1, Ue += ht - Tt + 1, et.push(ie), Ft = Yn(), Ft.offset++, we && we.call(
25857
25857
  ft,
25858
25858
  ie,
25859
25859
  { start: xt, end: Ft },
@@ -25870,8 +25870,8 @@ function xY() {
25870
25870
  };
25871
25871
  }
25872
25872
  function An(Tn, li) {
25873
- var Ur = Yn();
25874
- Ur.column += li, Ur.offset += li, Qe.call(Gt, X[Tn], Ur, Tn);
25873
+ var Pr = Yn();
25874
+ Pr.column += li, Pr.offset += li, Qe.call(Gt, X[Tn], Pr, Tn);
25875
25875
  }
25876
25876
  function Qt() {
25877
25877
  Ie && (et.push(Ie), Te && Te.call($e, Ie, { start: xt, end: Yn() }), Ie = "");
@@ -26534,10 +26534,10 @@ function RY() {
26534
26534
  H--, S = N.slice(se, le), ee.index -= se;
26535
26535
  } else if (ee = p(J, 0, S, _), !ee)
26536
26536
  continue;
26537
- var de = ee.index, Te = ee[0], Se = S.slice(0, de), Qe = S.slice(de + Te.length), $e = se + S.length;
26537
+ var de = ee.index, Te = ee[0], we = S.slice(0, de), Qe = S.slice(de + Te.length), $e = se + S.length;
26538
26538
  F && $e > F.reach && (F.reach = $e);
26539
26539
  var ft = X.prev;
26540
- Se && (ft = y(C, ft, Se), se += Se.length), E(C, ft, H);
26540
+ we && (ft = y(C, ft, we), se += we.length), E(C, ft, H);
26541
26541
  var Gt = new f(U, W ? d.tokenize(Te, W) : Te, Z, Te);
26542
26542
  if (X = y(C, ft, Gt), Qe && y(C, X, Qe), H > 1) {
26543
26543
  var Mt = {
@@ -48398,18 +48398,18 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48398
48398
  if (Array.isArray(L)) {
48399
48399
  const ae = window.location.href, me = L.find((Ce) => Ce.url && Ce.url === ae);
48400
48400
  if (me) return me.message;
48401
- const we = L.find((Ce) => !Ce.url || Ce.url === "");
48402
- return we ? we.message : L[0]?.message || "hi";
48401
+ const Se = L.find((Ce) => !Ce.url || Ce.url === "");
48402
+ return Se ? Se.message : L[0]?.message || "hi";
48403
48403
  }
48404
48404
  return L || "hi";
48405
- })(), [Se, Qe] = pe.useState(C), $e = pe.useRef(!1), ft = pe.useRef(0), Gt = pe.useRef(C), Mt = (L) => {
48406
- $e.current = !0, ft.current = L.clientX, Gt.current = Se, document.body.style.cursor = "ew-resize";
48405
+ })(), [we, Qe] = pe.useState(C), $e = pe.useRef(!1), ft = pe.useRef(0), Gt = pe.useRef(C), Mt = (L) => {
48406
+ $e.current = !0, ft.current = L.clientX, Gt.current = we, document.body.style.cursor = "ew-resize";
48407
48407
  };
48408
48408
  pe.useEffect(() => {
48409
48409
  const L = (me) => {
48410
48410
  if (!$e.current) return;
48411
- const we = ft.current - me.clientX;
48412
- let Ce = Gt.current + we;
48411
+ const Se = ft.current - me.clientX;
48412
+ let Ce = Gt.current + Se;
48413
48413
  Ce = Math.max(C, Math.min(M, Ce)), Qe(Ce);
48414
48414
  }, ae = () => {
48415
48415
  $e.current && ($e.current = !1, document.body.style.cursor = "");
@@ -48417,8 +48417,8 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48417
48417
  return window.addEventListener("mousemove", L), window.addEventListener("mouseup", ae), () => {
48418
48418
  window.removeEventListener("mousemove", L), window.removeEventListener("mouseup", ae);
48419
48419
  };
48420
- }, [Se, C, M]);
48421
- const [Je, ge] = pe.useState(!1), [Ee, Le] = pe.useState(!1), [Ue, Oe] = pe.useState(!1), [Ie, et] = pe.useState(() => le === "bottom-left" ? { x: 48, y: window.innerHeight - 120 } : le === "middle-right" ? { x: window.innerWidth - 80, y: window.innerHeight / 2 - 35 } : { x: window.innerWidth - 123, y: window.innerHeight - 100 }), [Ye, ze] = pe.useState(!1), [De, Pe] = pe.useState({ x: 0, y: 0 }), ne = pe.useRef(null), [ie, he] = pe.useState(""), [ye, je] = pe.useState(!1), [mt, wt] = pe.useState([]), [At, Tt] = pe.useState(!1), rt = pe.useRef(0), [ut, xt] = pe.useState(!1), [Ft, _t] = pe.useState(!1), ht = pe.useRef(!1), [Yn, An] = pe.useState("00:00"), Qt = pe.useRef(null), Tn = pe.useRef(0), [li, Ur] = pe.useState([]), [Pr, sr] = pe.useState([]), { startRecording: tc, stopRecording: Wn, pauseRecording: Pt, resumeRecording: Zt, status: gt, error: Ra } = M_.useReactMediaRecorder({
48420
+ }, [we, C, M]);
48421
+ const [Je, ge] = pe.useState(!1), [Ee, Le] = pe.useState(!1), [Ue, Oe] = pe.useState(!1), [Ie, et] = pe.useState(() => le === "bottom-left" ? { x: 48, y: window.innerHeight - 120 } : le === "middle-right" ? { x: window.innerWidth - 80, y: window.innerHeight / 2 - 35 } : { x: window.innerWidth - 123, y: window.innerHeight - 100 }), [Ye, ze] = pe.useState(!1), [De, Pe] = pe.useState({ x: 0, y: 0 }), ne = pe.useRef(null), [ie, he] = pe.useState(""), [ye, je] = pe.useState(!1), [mt, wt] = pe.useState([]), [At, Tt] = pe.useState(!1), rt = pe.useRef(0), [ut, xt] = pe.useState(!1), [Ft, _t] = pe.useState(!1), ht = pe.useRef(!1), [Yn, An] = pe.useState("00:00"), Qt = pe.useRef(null), Tn = pe.useRef(0), [li, Pr] = pe.useState([]), [zr, sr] = pe.useState([]), { startRecording: tc, stopRecording: Wn, pauseRecording: Pt, resumeRecording: Zt, status: gt, error: Ra } = M_.useReactMediaRecorder({
48422
48422
  video: !1,
48423
48423
  onStop(L, ae) {
48424
48424
  if (ht.current) {
@@ -48437,7 +48437,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48437
48437
  }
48438
48438
  ]), An("00:00"), Tn.current = 0;
48439
48439
  }
48440
- }), ui = u?.icon || e?.bot.avatar_url || EW, Na = u?.title || e?.bot.name || "Tybot webchat", [zr, jr] = pe.useState(() => {
48440
+ }), ui = u?.icon || e?.bot.avatar_url || EW, Na = u?.title || e?.bot.name || "Tybot webchat", [jr, Er] = pe.useState(() => {
48441
48441
  const L = localStorage.getItem("phone_client");
48442
48442
  if (e.bot?.botId === "rockskin" && L)
48443
48443
  return L;
@@ -48445,11 +48445,11 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48445
48445
  let ae = localStorage.getItem("conversationId");
48446
48446
  if (!ae) {
48447
48447
  const me = new Uint8Array(16);
48448
- window.crypto.getRandomValues(me), ae = Array.from(me).map((we) => we.toString(16).padStart(2, "0")).join("");
48448
+ window.crypto.getRandomValues(me), ae = Array.from(me).map((Se) => Se.toString(16).padStart(2, "0")).join("");
48449
48449
  }
48450
48450
  return localStorage.setItem("conversationId", ae), ae;
48451
48451
  }
48452
- }), [Fn, qr] = pe.useState(() => u?.botNeedsAuth ? !!localStorage.getItem("conversationId") : !0), [xn, Ca] = pe.useState(""), [Xn, Ot] = pe.useState(""), [ka, Ps] = pe.useState(""), Vt = pe.useRef(!1), ln = Pr.reduce((L, ae) => ae.seen ? L : L + (ae.sender === "agent" ? ae.nMessage || 1 : 0), 0), ro = () => {
48452
+ }), [Fn, qr] = pe.useState(() => u?.botNeedsAuth ? !!localStorage.getItem("conversationId") : !0), [xn, Ca] = pe.useState(""), [Xn, Ot] = pe.useState(""), [ka, Ps] = pe.useState(""), Vt = pe.useRef(!1), ln = zr.reduce((L, ae) => ae.seen ? L : L + (ae.sender === "agent" ? ae.nMessage || 1 : 0), 0), ro = () => {
48453
48453
  sr((L) => L.map((ae) => ({ ...ae, seen: !0 })));
48454
48454
  };
48455
48455
  pe.useEffect(() => {
@@ -48462,11 +48462,11 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48462
48462
  if (!L || !(() => {
48463
48463
  if (!L.urls || L.urls.length === 0)
48464
48464
  return !0;
48465
- const we = window.location.origin, Ce = window.location.href;
48465
+ const Se = window.location.origin, Ce = window.location.href;
48466
48466
  return L.urls.some((Et) => {
48467
48467
  if (!Et || Et.trim() === "") return !0;
48468
48468
  try {
48469
- return we.includes(Et) || Ce.includes(Et) || Et.includes(we);
48469
+ return Se.includes(Et) || Ce.includes(Et) || Et.includes(Se);
48470
48470
  } catch {
48471
48471
  return console.warn("Invalid URL in widgetLoadBehavior:", Et), !1;
48472
48472
  }
@@ -48479,12 +48479,12 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48479
48479
  Oe(!0);
48480
48480
  }, L.value * 1e3);
48481
48481
  else if (L.behavior === "after scroll") {
48482
- const we = () => {
48482
+ const Se = () => {
48483
48483
  const Ce = window.pageYOffset || document.documentElement.scrollTop, Et = document.documentElement.scrollHeight - document.documentElement.clientHeight;
48484
- Ce / Et * 100 >= L.value && (Oe(!0), window.removeEventListener("scroll", we));
48484
+ Ce / Et * 100 >= L.value && (Oe(!0), window.removeEventListener("scroll", Se));
48485
48485
  };
48486
- return window.addEventListener("scroll", we), () => {
48487
- window.removeEventListener("scroll", we);
48486
+ return window.addEventListener("scroll", Se), () => {
48487
+ window.removeEventListener("scroll", Se);
48488
48488
  };
48489
48489
  }
48490
48490
  return () => {
@@ -48514,10 +48514,10 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48514
48514
  }
48515
48515
  };
48516
48516
  pe.useEffect(() => {
48517
- Fn && e?.bot && Pr.length === 0 && u && be && (ao(), localStorage.getItem("webChatAuth") && JSON.parse(localStorage.getItem("webChatAuth")) && u?.botNeedsAuth && zr && (xn || ka || Xn) && (setTimeout(() => {
48518
- Hs(zr);
48517
+ Fn && e?.bot && zr.length === 0 && u && be && (ao(), localStorage.getItem("webChatAuth") && JSON.parse(localStorage.getItem("webChatAuth")) && u?.botNeedsAuth && jr && (xn || ka || Xn) && (setTimeout(() => {
48518
+ Hs(jr);
48519
48519
  }, 2e3), localStorage.setItem("webChatAuth", "true")));
48520
- }, [Fn, e?.bot, zr, u]), pe.useEffect(() => (gt === "recording" ? Qt.current || (Qt.current = setInterval(() => {
48520
+ }, [Fn, e?.bot, jr, u]), pe.useEffect(() => (gt === "recording" ? Qt.current || (Qt.current = setInterval(() => {
48521
48521
  Tn.current += 1;
48522
48522
  const L = Math.floor(Tn.current / 60).toString().padStart(2, "0"), ae = (Tn.current % 60).toString().padStart(2, "0");
48523
48523
  An(`${L}:${ae}`);
@@ -48538,27 +48538,27 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48538
48538
  }
48539
48539
  }, [ie]), pe.useEffect(() => {
48540
48540
  (Je || ye) && t.current && (t.current.scrollTop = t.current.scrollHeight);
48541
- }, [Pr, ye, Je]);
48541
+ }, [zr, ye, Je]);
48542
48542
  const nc = (L) => {
48543
48543
  const ae = L.type.toLowerCase();
48544
48544
  return ae.startsWith("image/") ? "image" : ae.startsWith("video/") ? "video" : ae.startsWith("audio/") ? "audio" : "document";
48545
48545
  }, Kn = pe.useCallback((L, ae) => {
48546
48546
  const me = [];
48547
- Array.from(L).forEach((we) => {
48548
- if (we.size > 10 * 1024 * 1024) {
48549
- alert(`File ${we.name} is too large. Maximum size is 10MB.`);
48547
+ Array.from(L).forEach((Se) => {
48548
+ if (Se.size > 10 * 1024 * 1024) {
48549
+ alert(`File ${Se.name} is too large. Maximum size is 10MB.`);
48550
48550
  return;
48551
48551
  }
48552
48552
  const Ce = {
48553
48553
  id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
48554
- file: we,
48555
- type: nc(we),
48556
- url: URL.createObjectURL(we),
48557
- name: we.name,
48558
- size: we.size
48554
+ file: Se,
48555
+ type: nc(Se),
48556
+ url: URL.createObjectURL(Se),
48557
+ name: Se.name,
48558
+ size: Se.size
48559
48559
  };
48560
48560
  me.push(Ce);
48561
- }), wt((we) => [...we, ...me]), ae && ae.current && (ae.current.value = "");
48561
+ }), wt((Se) => [...Se, ...me]), ae && ae.current && (ae.current.value = "");
48562
48562
  }, []), ci = pe.useCallback(
48563
48563
  (L) => {
48564
48564
  L.preventDefault(), rt.current = 0, Tt(!1);
@@ -48574,23 +48574,23 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48574
48574
  L.preventDefault(), rt.current -= 1, rt.current <= 0 && Tt(!1);
48575
48575
  }, []), Hr = pe.useCallback((L) => {
48576
48576
  wt((ae) => {
48577
- const me = ae.find((we) => we.id === L);
48578
- return me && URL.revokeObjectURL(me.url), ae.filter((we) => we.id !== L);
48577
+ const me = ae.find((Se) => Se.id === L);
48578
+ return me && URL.revokeObjectURL(me.url), ae.filter((Se) => Se.id !== L);
48579
48579
  });
48580
48580
  }, []), oo = (L) => {
48581
48581
  if (L === 0) return "0 Bytes";
48582
- const ae = 1024, me = ["Bytes", "KB", "MB", "GB"], we = Math.floor(Math.log(L) / Math.log(ae));
48583
- return Number.parseFloat((L / Math.pow(ae, we)).toFixed(2)) + " " + me[we];
48582
+ const ae = 1024, me = ["Bytes", "KB", "MB", "GB"], Se = Math.floor(Math.log(L) / Math.log(ae));
48583
+ return Number.parseFloat((L / Math.pow(ae, Se)).toFixed(2)) + " " + me[Se];
48584
48584
  }, Zn = async (L = ie, ae) => {
48585
48585
  if (L.trim() || mt.length !== 0) {
48586
- const we = {
48586
+ const Se = {
48587
48587
  id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
48588
48588
  sender: "user",
48589
48589
  content: L,
48590
48590
  attachments: [...mt],
48591
48591
  timestamp: /* @__PURE__ */ new Date()
48592
48592
  };
48593
- if (sr((Ce) => [...Ce, we]), he(""), wt([]), je(!0), e?.bot)
48593
+ if (sr((Ce) => [...Ce, Se]), he(""), wt([]), je(!0), e?.bot)
48594
48594
  try {
48595
48595
  try {
48596
48596
  const Ce = await so(L, e?.bot.botId, mt, ae || void 0), Et = {
@@ -48654,10 +48654,10 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48654
48654
  l.current?.click();
48655
48655
  break;
48656
48656
  }
48657
- }, so = async (L, ae, me = [], we, Ce) => {
48657
+ }, so = async (L, ae, me = [], Se, Ce) => {
48658
48658
  if (me.length > 0) {
48659
48659
  const bt = new FormData();
48660
- bt.append("type", "image"), bt.append("file", me[0].file), bt.append("botId", ae), bt.append("conversation_id", zr ?? ""), bt.append("host", window.location.origin);
48660
+ bt.append("type", "image"), bt.append("file", me[0].file), bt.append("botId", ae), bt.append("conversation_id", jr ?? ""), bt.append("host", window.location.origin);
48661
48661
  const { data: dn } = await St.post(e?.API_URL || Z1, bt, {
48662
48662
  headers: {
48663
48663
  Authorization: `Bearer ${e?.token}`,
@@ -48671,10 +48671,10 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48671
48671
  type: "text",
48672
48672
  messageText: L,
48673
48673
  botId: ae,
48674
- conversation_id: zr,
48674
+ conversation_id: jr,
48675
48675
  isintern: !!e.token,
48676
48676
  host: window.location.origin
48677
- }, we && (bt = { ...bt, payload: we, messageText: L });
48677
+ }, Se && (bt = { ...bt, payload: Se, messageText: L });
48678
48678
  const { data: dn } = await St.post(e?.API_URL || Z1, bt, {
48679
48679
  headers: {
48680
48680
  Authorization: `Bearer ${e?.token}`,
@@ -48707,34 +48707,34 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48707
48707
  if (!Ye) return;
48708
48708
  const Et = Math.abs(Ce.clientX - _r.current.x), bt = Math.abs(Ce.clientY - _r.current.y);
48709
48709
  (Et > 5 || bt > 5) && Gr(!0);
48710
- const dn = Ce.clientX - De.x, Jn = Ce.clientY - De.y, pn = 67, Kr = window.innerWidth - document.body.clientWidth, vr = Math.max(0, Math.min(window.innerWidth - pn - Kr, dn)), Bn = Math.max(0, Math.min(window.innerHeight - pn, Jn));
48711
- et({ x: vr, y: Bn });
48710
+ const dn = Ce.clientX - De.x, Jn = Ce.clientY - De.y, pn = 67, Kr = window.innerWidth - document.body.clientWidth, Sr = Math.max(0, Math.min(window.innerWidth - pn - Kr, dn)), Bn = Math.max(0, Math.min(window.innerHeight - pn, Jn));
48711
+ et({ x: Sr, y: Bn });
48712
48712
  }, ae = (Ce) => {
48713
48713
  if (!Ye) return;
48714
48714
  Ce.preventDefault();
48715
48715
  const Et = Ce.touches[0], bt = Math.abs(Et.clientX - _r.current.x), dn = Math.abs(Et.clientY - _r.current.y);
48716
48716
  (bt > 5 || dn > 5) && Gr(!0);
48717
- const Jn = Et.clientX - De.x, pn = Et.clientY - De.y, Kr = 67, vr = window.innerWidth - document.body.clientWidth, Bn = Math.max(0, Math.min(window.innerWidth - Kr - vr, Jn)), uo = Math.max(0, Math.min(window.innerHeight - Kr, pn));
48717
+ const Jn = Et.clientX - De.x, pn = Et.clientY - De.y, Kr = 67, Sr = window.innerWidth - document.body.clientWidth, Bn = Math.max(0, Math.min(window.innerWidth - Kr - Sr, Jn)), uo = Math.max(0, Math.min(window.innerHeight - Kr, pn));
48718
48718
  et({ x: Bn, y: uo });
48719
48719
  }, me = () => {
48720
48720
  Ye && (ze(!1), document.body.style.cursor = "", document.body.style.userSelect = "");
48721
- }, we = () => {
48721
+ }, Se = () => {
48722
48722
  Ye && ze(!1);
48723
48723
  };
48724
- return Ye && (document.addEventListener("mousemove", L), document.addEventListener("touchmove", ae, { passive: !1 }), document.addEventListener("mouseup", me), document.addEventListener("touchend", we)), () => {
48725
- document.removeEventListener("mousemove", L), document.removeEventListener("touchmove", ae), document.removeEventListener("mouseup", me), document.removeEventListener("touchend", we);
48724
+ return Ye && (document.addEventListener("mousemove", L), document.addEventListener("touchmove", ae, { passive: !1 }), document.addEventListener("mouseup", me), document.addEventListener("touchend", Se)), () => {
48725
+ document.removeEventListener("mousemove", L), document.removeEventListener("touchmove", ae), document.removeEventListener("mouseup", me), document.removeEventListener("touchend", Se);
48726
48726
  };
48727
48727
  }, [Ye, De, Ie]), pe.useEffect(() => {
48728
48728
  const L = () => {
48729
- const me = window.innerWidth - 67, we = window.innerHeight - 67;
48729
+ const me = window.innerWidth - 67, Se = window.innerHeight - 67;
48730
48730
  et((Ce) => ({
48731
48731
  x: Math.max(0, Math.min(me, Ce.x)),
48732
- y: Math.max(0, Math.min(we, Ce.y))
48732
+ y: Math.max(0, Math.min(Se, Ce.y))
48733
48733
  }));
48734
48734
  };
48735
48735
  return window.addEventListener("resize", L), () => window.removeEventListener("resize", L);
48736
48736
  }, []);
48737
- const rc = /^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u, cn = /[\u0600-\u06FF\u0750-\u077F]/, rn = (L) => rc.test(L), Vr = (L) => cn.test(L), Er = pe.useMemo(
48737
+ const rc = /^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u, cn = /[\u0600-\u06FF\u0750-\u077F]/, rn = (L) => rc.test(L), Vr = (L) => cn.test(L), vr = pe.useMemo(
48738
48738
  () => ({
48739
48739
  h1: ({ children: L }) => /* @__PURE__ */ k.jsx("h1", { className: "sm:text-2xl text-xl font-bold my-2", dir: rn(L) ? "rtl" : "ltr", children: /* @__PURE__ */ k.jsx(
48740
48740
  Ht,
@@ -48823,7 +48823,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48823
48823
  p: ({ children: L }) => {
48824
48824
  let ae;
48825
48825
  return typeof L == "string" && Vr(L) || typeof L == "object" && !Array.isArray(L) && L?.props?.children && rn(L?.props?.children) || typeof L == "object" && Array.isArray(L) && L.some((me) => Vr(me)) ? ae = "rtl" : ae = "ltr", /* @__PURE__ */ k.jsx("div", { className: "leading-relaxed", dir: typeof L == "string" || !Array.isArray(L) ? ae : "", children: Array.isArray(L) ? L.map(
48826
- (me, we) => typeof me == "string" && !new RegExp("^(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F|\\s)+$", "u").test(me) ? /* @__PURE__ */ k.jsx("p", { dir: Vr(me) ? "rtl" : "ltr", children: /* @__PURE__ */ k.jsx(
48826
+ (me, Se) => typeof me == "string" && !new RegExp("^(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F|\\s)+$", "u").test(me) ? /* @__PURE__ */ k.jsx("p", { dir: Vr(me) ? "rtl" : "ltr", children: /* @__PURE__ */ k.jsx(
48827
48827
  Ht,
48828
48828
  {
48829
48829
  sequence: [
@@ -48836,7 +48836,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48836
48836
  cursor: !1,
48837
48837
  speed: 90
48838
48838
  }
48839
- ) }, we) : me.type !== "br" ? me : null
48839
+ ) }, Se) : me.type !== "br" ? me : null
48840
48840
  ) : /* @__PURE__ */ k.jsx(k.Fragment, { children: L }) });
48841
48841
  },
48842
48842
  ul: ({ children: L }) => /* @__PURE__ */ k.jsx("ul", { className: "list-disc list-inside ml-4 my-2", style: { color: _ }, dir: Vr(L) ? "rtl" : "ltr", children: L }),
@@ -48899,9 +48899,9 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48899
48899
  speed: 92
48900
48900
  }
48901
48901
  ) : L }),
48902
- code({ node: L, className: ae, children: me, ...we }) {
48902
+ code({ node: L, className: ae, children: me, ...Se }) {
48903
48903
  const Ce = /language-(\w+)/.exec(ae || "");
48904
- return Ce ? /* @__PURE__ */ k.jsx(KI, { ...we, PreTag: "div", children: String(me).replace(/\n$/, ""), language: Ce[1], style: yW, customStyle: { scrollbarWidth: "thin" } }) : /* @__PURE__ */ k.jsx("code", { className: "px-1 rounded font-mono inline", style: { backgroundColor: A, color: _ }, ...we, children: typeof me == "string" ? /* @__PURE__ */ k.jsx(
48904
+ return Ce ? /* @__PURE__ */ k.jsx(KI, { ...Se, PreTag: "div", children: String(me).replace(/\n$/, ""), language: Ce[1], style: yW, customStyle: { scrollbarWidth: "thin" } }) : /* @__PURE__ */ k.jsx("code", { className: "px-1 rounded font-mono inline", style: { backgroundColor: A, color: _ }, ...Se, children: typeof me == "string" ? /* @__PURE__ */ k.jsx(
48905
48905
  Ht,
48906
48906
  {
48907
48907
  sequence: [
@@ -48990,13 +48990,13 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
48990
48990
  buttonsBgColor: ee,
48991
48991
  buttonColor: H,
48992
48992
  chatRoundness: N,
48993
- panelWidth: Se
48993
+ panelWidth: we
48994
48994
  }
48995
- ) : /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: Er, children: L.text?.replace(/\n/g, `
48995
+ ) : /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: vr, children: L.text?.replace(/\n/g, `
48996
48996
  `) });
48997
48997
  case "single-choice":
48998
48998
  return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
48999
- /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: Er, children: L.text?.replace(/\n/g, `
48999
+ /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: vr, children: L.text?.replace(/\n/g, `
49000
49000
  `) || "" }),
49001
49001
  /* @__PURE__ */ k.jsx("div", { className: "flex flex-wrap", dir: rn(L.text || "") ? "rtl" : "ltr", children: L.choices?.map((ae, me) => /* @__PURE__ */ k.jsx(
49002
49002
  "button",
@@ -49041,7 +49041,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49041
49041
  ) }) });
49042
49042
  case "dropdown":
49043
49043
  return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
49044
- /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: Er, children: L.message?.replace(/\n/g, `
49044
+ /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: vr, children: L.message?.replace(/\n/g, `
49045
49045
  `) }),
49046
49046
  /* @__PURE__ */ k.jsx(
49047
49047
  FW,
@@ -49105,7 +49105,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49105
49105
  buttonsBgColor: ee,
49106
49106
  buttonColor: H,
49107
49107
  chatRoundness: N,
49108
- panelWidth: Se,
49108
+ panelWidth: we,
49109
49109
  inputBackgroundColor: A
49110
49110
  }
49111
49111
  );
@@ -49137,7 +49137,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49137
49137
  ...me,
49138
49138
  email: ka
49139
49139
  });
49140
- const we = await fetch(`${Q1}/endusers/${ae}`, {
49140
+ const Se = await fetch(`${Q1}/endusers/${ae}`, {
49141
49141
  headers: {
49142
49142
  Authorization: `Bearer ${e?.token}`,
49143
49143
  "Content-Type": "application/json"
@@ -49145,21 +49145,24 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49145
49145
  method: "PUT",
49146
49146
  body: JSON.stringify(me)
49147
49147
  });
49148
- if (!we.ok)
49149
- throw new Error(`HTTP error! status: ${we.status}`);
49150
- return await we.json();
49148
+ if (!Se.ok)
49149
+ throw new Error(`HTTP error! status: ${Se.status}`);
49150
+ return await Se.json();
49151
49151
  }, Wr = async (L) => {
49152
49152
  L.preventDefault();
49153
49153
  const ae = new Uint8Array(16);
49154
49154
  window.crypto.getRandomValues(ae);
49155
- const me = Array.from(ae).map((we) => we.toString(16).padStart(2, "0")).join("");
49156
- jr(me), localStorage.setItem("conversationId", me), localStorage.setItem("webChatAuth", "true"), qr(!0);
49155
+ const me = Array.from(ae).map((Se) => Se.toString(16).padStart(2, "0")).join("");
49156
+ Er(me), localStorage.setItem("conversationId", me), localStorage.setItem("webChatAuth", "true"), qr(!0);
49157
49157
  }, [ac, Xr] = pe.useState(!1), Gs = async () => {
49158
49158
  sr([]);
49159
- const L = new Uint8Array(16);
49160
- window.crypto.getRandomValues(L);
49161
- const ae = Array.from(L).map((me) => me.toString(16).padStart(2, "0")).join("");
49162
- return jr(ae), localStorage.setItem("conversationId", ae), ae;
49159
+ const L = localStorage.getItem("phone_client");
49160
+ if (e.bot?.botId === "rockskin" && L)
49161
+ return console.log("tele", L), Er(L), localStorage.setItem("conversationId", L), L;
49162
+ const ae = new Uint8Array(16);
49163
+ window.crypto.getRandomValues(ae);
49164
+ const me = Array.from(ae).map((Se) => Se.toString(16).padStart(2, "0")).join("");
49165
+ return Er(me), localStorage.setItem("conversationId", me), me;
49163
49166
  }, lo = `linear-gradient(to bottom right, ${y}, ${h}, ${y})`, _s = `linear-gradient(to right, ${h}, ${m})`, ic = `linear-gradient(to right, ${E}, ${v})`;
49164
49167
  return f || !u ? null : /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
49165
49168
  /* @__PURE__ */ k.jsx("style", { children: `
@@ -49222,9 +49225,9 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49222
49225
  {
49223
49226
  className: "fixed top-0 right-0 h-full shadow-2xl !z-[100000000]",
49224
49227
  style: {
49225
- width: Se + "px",
49228
+ width: we + "px",
49226
49229
  transition: "transform 0.3s cubic-bezier(0.4,0,0.2,1)",
49227
- transform: Je ? "translateX(0)" : `translateX(${Se}px)`,
49230
+ transform: Je ? "translateX(0)" : `translateX(${we}px)`,
49228
49231
  background: lo
49229
49232
  },
49230
49233
  onDrop: ci,
@@ -49344,7 +49347,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49344
49347
  fontSize: D + "px"
49345
49348
  },
49346
49349
  children: [
49347
- Pr.map((L) => /* @__PURE__ */ k.jsxs("div", { className: `flex ${L.sender === "agent" ? "flex-col sm:flex-row" : ""} items-start gap-3 ${L.sender === "user" ? "flex-row-reverse" : ""}`, children: [
49350
+ zr.map((L) => /* @__PURE__ */ k.jsxs("div", { className: `flex ${L.sender === "agent" ? "flex-col sm:flex-row" : ""} items-start gap-3 ${L.sender === "user" ? "flex-row-reverse" : ""}`, children: [
49348
49351
  /* @__PURE__ */ k.jsx(
49349
49352
  "div",
49350
49353
  {
@@ -49379,7 +49382,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49379
49382
  background: X,
49380
49383
  color: J
49381
49384
  },
49382
- children: /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: Er, children: typeof L.content == "string" ? L.content.replace(/\n/g, `
49385
+ children: /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: vr, children: typeof L.content == "string" ? L.content.replace(/\n/g, `
49383
49386
  `) : "" })
49384
49387
  }
49385
49388
  ) : typeof L.content == "object" ? L.content.map((ae, me) => /* @__PURE__ */ k.jsx(
@@ -49409,7 +49412,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49409
49412
  background: Y,
49410
49413
  color: _
49411
49414
  },
49412
- children: /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: Er, children: L.content.replace(/\n/g, `
49415
+ children: /* @__PURE__ */ k.jsx(ls, { remarkPlugins: [us], components: vr, children: L.content.replace(/\n/g, `
49413
49416
  `) })
49414
49417
  }
49415
49418
  ) : null,
@@ -49899,7 +49902,7 @@ const BW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
49899
49902
  className: "fixed top-1/2 -translate-y-1/2",
49900
49903
  style: {
49901
49904
  right: "0",
49902
- transform: Je ? `translateX(-${Se}px)` : "translateX(0)",
49905
+ transform: Je ? `translateX(-${we}px)` : "translateX(0)",
49903
49906
  transition: "transform 0.3s cubic-bezier(0.4,0,0.2,1)",
49904
49907
  zIndex: 1e3
49905
49908
  },