tybotflow-widget 0.0.8 → 0.1.0

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
@@ -94,11 +94,11 @@ function GL() {
94
94
  if (Y !== K) {
95
95
  q[0] = Y;
96
96
  e: for (var oe = 0, S = q.length, G = S >>> 1; oe < G; ) {
97
- var te = 2 * (oe + 1) - 1, I = q[te], ce = te + 1, he = q[ce];
97
+ var te = 2 * (oe + 1) - 1, I = q[te], ce = te + 1, me = q[ce];
98
98
  if (0 > o(I, Y))
99
- ce < S && 0 > o(he, I) ? (q[oe] = he, q[ce] = Y, oe = ce) : (q[oe] = I, q[te] = Y, oe = te);
100
- else if (ce < S && 0 > o(he, Y))
101
- q[oe] = he, q[ce] = Y, oe = ce;
99
+ ce < S && 0 > o(me, I) ? (q[oe] = me, q[ce] = Y, oe = ce) : (q[oe] = I, q[te] = Y, oe = te);
100
+ else if (ce < S && 0 > o(me, Y))
101
+ q[oe] = me, q[ce] = Y, oe = ce;
102
102
  else break e;
103
103
  }
104
104
  }
@@ -346,13 +346,13 @@ function _L() {
346
346
  var N = C.prototype = new R();
347
347
  N.constructor = C, v(N, w.prototype), N.isPureReactComponent = !0;
348
348
  var D = Array.isArray, O = { H: null, A: null, T: null, S: null, V: null }, x = Object.prototype.hasOwnProperty;
349
- function L(S, G, te, I, ce, he) {
350
- return te = he.ref, {
349
+ function L(S, G, te, I, ce, me) {
350
+ return te = me.ref, {
351
351
  $$typeof: e,
352
352
  type: S,
353
353
  key: G,
354
354
  ref: te !== void 0 ? te : null,
355
- props: he
355
+ props: me
356
356
  };
357
357
  }
358
358
  function P(S, G) {
@@ -404,12 +404,12 @@ function _L() {
404
404
  throw S;
405
405
  }
406
406
  function re(S, G, te, I, ce) {
407
- var he = typeof S;
408
- (he === "undefined" || he === "boolean") && (S = null);
407
+ var me = typeof S;
408
+ (me === "undefined" || me === "boolean") && (S = null);
409
409
  var ue = !1;
410
410
  if (S === null) ue = !0;
411
411
  else
412
- switch (he) {
412
+ switch (me) {
413
413
  case "bigint":
414
414
  case "string":
415
415
  case "number":
@@ -445,23 +445,23 @@ function _L() {
445
445
  var Ae = I === "" ? "." : I + ":";
446
446
  if (D(S))
447
447
  for (var we = 0; we < S.length; we++)
448
- I = S[we], he = Ae + X(I, we), ue += re(
448
+ I = S[we], me = Ae + X(I, we), ue += re(
449
449
  I,
450
450
  G,
451
451
  te,
452
- he,
452
+ me,
453
453
  ce
454
454
  );
455
455
  else if (we = y(S), typeof we == "function")
456
456
  for (S = we.call(S), we = 0; !(I = S.next()).done; )
457
- I = I.value, he = Ae + X(I, we++), ue += re(
457
+ I = I.value, me = Ae + X(I, we++), ue += re(
458
458
  I,
459
459
  G,
460
460
  te,
461
- he,
461
+ me,
462
462
  ce
463
463
  );
464
- else if (he === "object") {
464
+ else if (me === "object") {
465
465
  if (typeof S.then == "function")
466
466
  return re(
467
467
  ne(S),
@@ -479,8 +479,8 @@ function _L() {
479
479
  function q(S, G, te) {
480
480
  if (S == null) return S;
481
481
  var I = [], ce = 0;
482
- return re(S, I, "", "", function(he) {
483
- return G.call(te, he, ce++);
482
+ return re(S, I, "", "", function(me) {
483
+ return G.call(te, me, ce++);
484
484
  }), I;
485
485
  }
486
486
  function K(S) {
@@ -558,9 +558,9 @@ function _L() {
558
558
  throw Error(
559
559
  "The argument must be a React element, but you passed " + S + "."
560
560
  );
561
- var I = v({}, S.props), ce = S.key, he = void 0;
561
+ var I = v({}, S.props), ce = S.key, me = void 0;
562
562
  if (G != null)
563
- for (ue in G.ref !== void 0 && (he = void 0), G.key !== void 0 && (ce = "" + G.key), G)
563
+ for (ue in G.ref !== void 0 && (me = void 0), G.key !== void 0 && (ce = "" + G.key), G)
564
564
  !x.call(G, ue) || ue === "key" || ue === "__self" || ue === "__source" || ue === "ref" && G.ref === void 0 || (I[ue] = G[ue]);
565
565
  var ue = arguments.length - 2;
566
566
  if (ue === 1) I.children = te;
@@ -569,7 +569,7 @@ function _L() {
569
569
  Ae[we] = arguments[we + 2];
570
570
  I.children = Ae;
571
571
  }
572
- return L(S.type, ce, void 0, void 0, he, I);
572
+ return L(S.type, ce, void 0, void 0, me, I);
573
573
  }, Ue.createContext = function(S) {
574
574
  return S = {
575
575
  $$typeof: u,
@@ -583,9 +583,9 @@ function _L() {
583
583
  _context: S
584
584
  }, S;
585
585
  }, Ue.createElement = function(S, G, te) {
586
- var I, ce = {}, he = null;
586
+ var I, ce = {}, me = null;
587
587
  if (G != null)
588
- for (I in G.key !== void 0 && (he = "" + G.key), G)
588
+ for (I in G.key !== void 0 && (me = "" + G.key), G)
589
589
  x.call(G, I) && I !== "key" && I !== "__self" && I !== "__source" && (ce[I] = G[I]);
590
590
  var ue = arguments.length - 2;
591
591
  if (ue === 1) ce.children = te;
@@ -597,7 +597,7 @@ function _L() {
597
597
  if (S && S.defaultProps)
598
598
  for (I in ue = S.defaultProps, ue)
599
599
  ce[I] === void 0 && (ce[I] = ue[I]);
600
- return L(S, he, void 0, void 0, null, ce);
600
+ return L(S, me, void 0, void 0, null, ce);
601
601
  }, Ue.createRef = function() {
602
602
  return { current: null };
603
603
  }, Ue.forwardRef = function(S) {
@@ -620,8 +620,8 @@ function _L() {
620
620
  try {
621
621
  var I = S(), ce = O.S;
622
622
  ce !== null && ce(te, I), typeof I == "object" && I !== null && typeof I.then == "function" && I.then(oe, Y);
623
- } catch (he) {
624
- Y(he);
623
+ } catch (me) {
624
+ Y(me);
625
625
  } finally {
626
626
  O.T = G;
627
627
  }
@@ -1010,9 +1010,9 @@ function XL() {
1010
1010
  function I(r, i) {
1011
1011
  S++, oe[S] = r.current, r.current = i;
1012
1012
  }
1013
- var ce = G(null), he = G(null), ue = G(null), Ae = G(null);
1013
+ var ce = G(null), me = G(null), ue = G(null), Ae = G(null);
1014
1014
  function we(r, i) {
1015
- switch (I(ue, i), I(he, r), I(ce, null), i.nodeType) {
1015
+ switch (I(ue, i), I(me, r), I(ce, null), i.nodeType) {
1016
1016
  case 9:
1017
1017
  case 11:
1018
1018
  r = (r = i.documentElement) && (r = r.namespaceURI) ? IA(r) : 0;
@@ -1035,17 +1035,17 @@ function XL() {
1035
1035
  te(ce), I(ce, r);
1036
1036
  }
1037
1037
  function He() {
1038
- te(ce), te(he), te(ue);
1038
+ te(ce), te(me), te(ue);
1039
1039
  }
1040
1040
  function Je(r) {
1041
1041
  r.memoizedState !== null && I(Ae, r);
1042
1042
  var i = ce.current, s = DA(i, r.type);
1043
- i !== s && (I(he, r), I(ce, s));
1043
+ i !== s && (I(me, r), I(ce, s));
1044
1044
  }
1045
1045
  function ft(r) {
1046
- he.current === r && (te(ce), te(he)), Ae.current === r && (te(Ae), Do._currentValue = Y);
1046
+ me.current === r && (te(ce), te(me)), Ae.current === r && (te(Ae), Do._currentValue = Y);
1047
1047
  }
1048
- var It = Object.prototype.hasOwnProperty, Et = e.unstable_scheduleCallback, jt = e.unstable_cancelCallback, ge = e.unstable_shouldYield, Ee = e.unstable_requestPaint, Oe = e.unstable_now, De = e.unstable_getCurrentPriorityLevel, ke = e.unstable_ImmediatePriority, Le = e.unstable_UserBlockingPriority, Ze = e.unstable_NormalPriority, at = e.unstable_LowPriority, qe = e.unstable_IdlePriority, Ie = e.log, Fe = e.unstable_setDisableYieldValue, J = null, ie = null;
1048
+ var It = Object.prototype.hasOwnProperty, Et = e.unstable_scheduleCallback, jt = e.unstable_cancelCallback, fe = e.unstable_shouldYield, Ee = e.unstable_requestPaint, Oe = e.unstable_now, De = e.unstable_getCurrentPriorityLevel, ke = e.unstable_ImmediatePriority, Le = e.unstable_UserBlockingPriority, Ze = e.unstable_NormalPriority, at = e.unstable_LowPriority, qe = e.unstable_IdlePriority, Ie = e.log, Fe = e.unstable_setDisableYieldValue, J = null, ie = null;
1049
1049
  function pe(r) {
1050
1050
  if (typeof Ie == "function" && Fe(r), ie && typeof ie.setStrictMode == "function")
1051
1051
  try {
@@ -1493,7 +1493,7 @@ function XL() {
1493
1493
  return "";
1494
1494
  }
1495
1495
  }
1496
- function fe(r) {
1496
+ function he(r) {
1497
1497
  try {
1498
1498
  var i = "";
1499
1499
  do
@@ -1506,7 +1506,7 @@ Error generating stack: ` + s.message + `
1506
1506
  ` + s.stack;
1507
1507
  }
1508
1508
  }
1509
- function me(r) {
1509
+ function ge(r) {
1510
1510
  switch (typeof r) {
1511
1511
  case "bigint":
1512
1512
  case "boolean":
@@ -1582,13 +1582,13 @@ Error generating stack: ` + s.message + `
1582
1582
  );
1583
1583
  }
1584
1584
  function Pu(r, i, s, c, g, b, T, k) {
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 = "" + me(i)) : r.value !== "" + me(i) && (r.value = "" + me(i)) : T !== "submit" && T !== "reset" || r.removeAttribute("value"), i != null ? zu(r, T, me(i)) : s != null ? zu(r, T, me(s)) : c != null && r.removeAttribute("value"), g == null && b != null && (r.defaultChecked = !!b), g != null && (r.checked = g && typeof g != "function" && typeof g != "symbol"), k != null && typeof k != "function" && typeof k != "symbol" && typeof k != "boolean" ? r.name = "" + me(k) : 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 = "" + ge(i)) : r.value !== "" + ge(i) && (r.value = "" + ge(i)) : T !== "submit" && T !== "reset" || r.removeAttribute("value"), i != null ? zu(r, T, ge(i)) : s != null ? zu(r, T, ge(s)) : c != null && r.removeAttribute("value"), g == null && b != null && (r.defaultChecked = !!b), g != null && (r.checked = g && typeof g != "function" && typeof g != "symbol"), k != null && typeof k != "function" && typeof k != "symbol" && typeof k != "boolean" ? r.name = "" + ge(k) : r.removeAttribute("name");
1586
1586
  }
1587
1587
  function NE(r, i, s, c, g, b, T, k) {
1588
1588
  if (b != null && typeof b != "function" && typeof b != "symbol" && typeof b != "boolean" && (r.type = b), i != null || s != null) {
1589
1589
  if (!(b !== "submit" && b !== "reset" || i != null))
1590
1590
  return;
1591
- s = s != null ? "" + me(s) : "", i = i != null ? "" + me(i) : s, k || i === r.value || (r.value = i), r.defaultValue = i;
1591
+ s = s != null ? "" + ge(s) : "", i = i != null ? "" + ge(i) : s, k || i === r.value || (r.value = i), r.defaultValue = i;
1592
1592
  }
1593
1593
  c = c ?? g, c = typeof c != "function" && typeof c != "symbol" && !!c, r.checked = k ? r.checked : !!c, r.defaultChecked = !!c, T != null && typeof T != "function" && typeof T != "symbol" && typeof T != "boolean" && (r.name = T);
1594
1594
  }
@@ -1603,7 +1603,7 @@ Error generating stack: ` + s.message + `
1603
1603
  for (s = 0; s < r.length; s++)
1604
1604
  g = i.hasOwnProperty("$" + r[s].value), r[s].selected !== g && (r[s].selected = g), g && c && (r[s].defaultSelected = !0);
1605
1605
  } else {
1606
- for (s = "" + me(s), i = null, g = 0; g < r.length; g++) {
1606
+ for (s = "" + ge(s), i = null, g = 0; g < r.length; g++) {
1607
1607
  if (r[g].value === s) {
1608
1608
  r[g].selected = !0, c && (r[g].defaultSelected = !0);
1609
1609
  return;
@@ -1614,11 +1614,11 @@ Error generating stack: ` + s.message + `
1614
1614
  }
1615
1615
  }
1616
1616
  function kE(r, i, s) {
1617
- if (i != null && (i = "" + me(i), i !== r.value && (r.value = i), s == null)) {
1617
+ if (i != null && (i = "" + ge(i), i !== r.value && (r.value = i), s == null)) {
1618
1618
  r.defaultValue !== i && (r.defaultValue = i);
1619
1619
  return;
1620
1620
  }
1621
- r.defaultValue = s != null ? "" + me(s) : "";
1621
+ r.defaultValue = s != null ? "" + ge(s) : "";
1622
1622
  }
1623
1623
  function OE(r, i, s, c) {
1624
1624
  if (i == null) {
@@ -1632,7 +1632,7 @@ Error generating stack: ` + s.message + `
1632
1632
  }
1633
1633
  s == null && (s = ""), i = s;
1634
1634
  }
1635
- s = me(i), r.defaultValue = s, c = r.textContent, c === s && c !== "" && c !== null && (r.value = c);
1635
+ s = ge(i), r.defaultValue = s, c = r.textContent, c === s && c !== "" && c !== null && (r.value = c);
1636
1636
  }
1637
1637
  function Ya(r, i) {
1638
1638
  if (i) {
@@ -2330,13 +2330,13 @@ Error generating stack: ` + s.message + `
2330
2330
  return s !== void 0 ? s : (i = {
2331
2331
  value: r,
2332
2332
  source: i,
2333
- stack: fe(i)
2333
+ stack: he(i)
2334
2334
  }, uv.set(r, i), i);
2335
2335
  }
2336
2336
  return {
2337
2337
  value: r,
2338
2338
  source: i,
2339
- stack: fe(i)
2339
+ stack: he(i)
2340
2340
  };
2341
2341
  }
2342
2342
  var Nn = [], Ja = 0, ac = 0;
@@ -7388,7 +7388,7 @@ Error generating stack: ` + s.message + `
7388
7388
  return pr = va = null, q.H = c, q.A = g, $e = s, Ge !== null ? 0 : (st = null, Ye = 0, Ds(), St);
7389
7389
  }
7390
7390
  function ZD() {
7391
- for (; Ge !== null && !ge(); )
7391
+ for (; Ge !== null && !fe(); )
7392
7392
  uA(Ge);
7393
7393
  }
7394
7394
  function uA(r) {
@@ -10250,7 +10250,7 @@ function KL() {
10250
10250
  return e(), Hd.exports = XL(), Hd.exports;
10251
10251
  }
10252
10252
  var QL = KL();
10253
- const ZL = /* @__PURE__ */ Fa(QL), JL = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-1{left:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1{left:.25rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-3{width:.75rem;height:.75rem}.size-5{width:1.25rem;height:1.25rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';
10253
+ const ZL = /* @__PURE__ */ Fa(QL), JL = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-left-1{left:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[10px\\]{bottom:10px}.left-0{left:0}.left-1{left:.25rem}.left-16{left:4rem}.left-2{left:.5rem}.right-0{right:0}.right-1{right:.25rem}.right-11{right:2.75rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-3{top:.75rem}.z-10{z-index:10}.z-50{z-index:50}.z-\\[998\\]{z-index:998}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-9{margin-left:-2.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-1{width:.25rem;height:.25rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-48{max-height:12rem}.min-h-10{min-height:2.5rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\\[88\\%\\]{width:88%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-48{min-width:12rem}.min-w-full{min-width:100%}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-\\[fadeIn_0\\.25s_ease\\]{animation:fadeIn .25s ease}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-dashed{border-style:dashed}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:#ffffff1a}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-900{--tw-gradient-to: rgb(88 28 135 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}:host{all:initial;color:#fff;font-family:Nunito,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;font-weight:400;line-height:normal;line-height:1.25rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-right-3:after{content:var(--tw-content);right:-.75rem}.after\\:top-1\\/2:after{content:var(--tw-content);top:50%}.after\\:h-2:after{content:var(--tw-content);height:.5rem}.after\\:w-2:after{content:var(--tw-content);width:.5rem}.after\\:-translate-y-1\\/2:after{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{content:var(--tw-content);transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{content:var(--tw-content);transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.after\\:animate-bounce:after{content:var(--tw-content);animation:bounce 1s infinite}.after\\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:bg-red-500:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/20:hover{background-color:#fff3}.hover\\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\\:bg-opacity-70:hover{--tw-bg-opacity: .7}.hover\\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\\:text-blue-300:hover{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.hover\\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@media (min-width: 640px){.sm\\:bottom-3{bottom:.75rem}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-2{width:.5rem;height:.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:size-5{width:1.25rem;height:1.25rem}.sm\\:size-7{width:1.75rem;height:1.75rem}.sm\\:size-8{width:2rem;height:2rem}.sm\\:size-9{width:2.25rem;height:2.25rem}.sm\\:min-h-12{min-height:3rem}.sm\\:flex-row{flex-direction:row}.sm\\:px-4{padding-left:1rem;padding-right:1rem}.sm\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\\:pt-4{padding-top:1rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:text-xl{font-size:1.25rem;line-height:1.75rem}.sm\\:text-xs{font-size:.75rem;line-height:1rem}}';
10254
10254
  var ye = lu();
10255
10255
  const na = /* @__PURE__ */ Fa(ye);
10256
10256
  function q0(e, t) {
@@ -14991,8 +14991,8 @@ function bF(e, t, n) {
14991
14991
  }
14992
14992
  function w(I) {
14993
14993
  if (I === null || I === 47 || I === 62 || ot(I)) {
14994
- const ce = I === 47, he = u.toLowerCase();
14995
- return !ce && !l && Gw.includes(he) ? (o = 1, a.interrupt ? t(I) : X(I)) : pF.includes(u.toLowerCase()) ? (o = 6, ce ? (e.consume(I), R) : a.interrupt ? t(I) : X(I)) : (o = 7, a.interrupt && !a.parser.lazy[a.now().line] ? n(I) : l ? C(I) : N(I));
14994
+ const ce = I === 47, me = u.toLowerCase();
14995
+ return !ce && !l && Gw.includes(me) ? (o = 1, a.interrupt ? t(I) : X(I)) : pF.includes(u.toLowerCase()) ? (o = 6, ce ? (e.consume(I), R) : a.interrupt ? t(I) : X(I)) : (o = 7, a.interrupt && !a.parser.lazy[a.now().line] ? n(I) : l ? C(I) : N(I));
14996
14996
  }
14997
14997
  return I === 45 || Zt(I) ? (e.consume(I), u += String.fromCharCode(I), w) : n(I);
14998
14998
  }
@@ -15827,21 +15827,21 @@ function lU(e, t, n) {
15827
15827
  function I(ue) {
15828
15828
  return Ae;
15829
15829
  function Ae(we) {
15830
- return S = z(), oe = ue, ue.partial || (f.currentConstruct = ue), ue.name && f.parser.constructs.disable.null.includes(ue.name) ? he() : ue.tokenize.call(
15830
+ return S = z(), oe = ue, ue.partial || (f.currentConstruct = ue), ue.name && f.parser.constructs.disable.null.includes(ue.name) ? me() : ue.tokenize.call(
15831
15831
  // If we do have fields, create an object w/ `context` as its
15832
15832
  // prototype.
15833
15833
  // This allows a “live binding”, which is needed for `interrupt`.
15834
15834
  X ? Object.assign(Object.create(f), X) : f,
15835
15835
  p,
15836
15836
  ce,
15837
- he
15837
+ me
15838
15838
  )(we);
15839
15839
  }
15840
15840
  }
15841
15841
  function ce(ue) {
15842
15842
  return H(oe, S), re;
15843
15843
  }
15844
- function he(ue) {
15844
+ function me(ue) {
15845
15845
  return S.restore(), ++Y < K.length ? I(K[Y]) : q;
15846
15846
  }
15847
15847
  }
@@ -16005,7 +16005,7 @@ function yU(e) {
16005
16005
  autolink: l(ke),
16006
16006
  autolinkProtocol: z,
16007
16007
  autolinkEmail: z,
16008
- atxHeading: l(ge),
16008
+ atxHeading: l(fe),
16009
16009
  blockQuote: l(Je),
16010
16010
  characterEscape: z,
16011
16011
  characterReference: z,
@@ -16040,7 +16040,7 @@ function yU(e) {
16040
16040
  referenceString: u,
16041
16041
  resourceDestinationString: u,
16042
16042
  resourceTitleString: u,
16043
- setextHeading: l(ge),
16043
+ setextHeading: l(fe),
16044
16044
  strong: l(qe),
16045
16045
  thematicBreak: l(Fe)
16046
16046
  },
@@ -16052,8 +16052,8 @@ function yU(e) {
16052
16052
  autolinkProtocol: we,
16053
16053
  blockQuote: p(),
16054
16054
  characterEscapeValue: B,
16055
- characterReferenceMarkerHexadecimal: he,
16056
- characterReferenceMarkerNumeric: he,
16055
+ characterReferenceMarkerHexadecimal: me,
16056
+ characterReferenceMarkerNumeric: me,
16057
16057
  characterReferenceValue: ue,
16058
16058
  characterReference: Ae,
16059
16059
  codeFenced: p(w),
@@ -16378,7 +16378,7 @@ function yU(e) {
16378
16378
  const ie = this.resume(), pe = this.stack[this.stack.length - 1];
16379
16379
  pe.label = ie, pe.identifier = jn(this.sliceSerialize(J)).toLowerCase(), this.data.referenceType = "full";
16380
16380
  }
16381
- function he(J) {
16381
+ function me(J) {
16382
16382
  this.data.characterReferenceType = J.type;
16383
16383
  }
16384
16384
  function ue(J) {
@@ -16437,7 +16437,7 @@ function yU(e) {
16437
16437
  children: []
16438
16438
  };
16439
16439
  }
16440
- function ge() {
16440
+ function fe() {
16441
16441
  return {
16442
16442
  type: "heading",
16443
16443
  // @ts-expect-error `depth` will be set later.
@@ -22644,7 +22644,7 @@ const GO = (e, t, n, a, o) => {
22644
22644
  offset: ue.value
22645
22645
  });
22646
22646
  return await E(G, ue, Ae.offset), Ae;
22647
- })), he = a(G, {
22647
+ })), me = a(G, {
22648
22648
  channelCount: 1,
22649
22649
  channelCountMode: "explicit",
22650
22650
  channelInterpretation: "speakers",
@@ -22653,11 +22653,11 @@ const GO = (e, t, n, a, o) => {
22653
22653
  for (let ue = 0; ue < R.numberOfInputs; ue += 1) {
22654
22654
  te[ue].connect(I[ue]);
22655
22655
  for (let Ae = 0; Ae < R.channelCount; Ae += 1)
22656
- I[ue].connect(he, Ae, ue * R.channelCount + Ae);
22656
+ I[ue].connect(me, Ae, ue * R.channelCount + Ae);
22657
22657
  }
22658
22658
  for (const [ue, Ae] of ce.entries())
22659
- Ae.connect(he, 0, K + ue), Ae.start(0);
22660
- return he.connect(G.destination), await Promise.all(te.map((ue) => v(x, G, ue))), A(G);
22659
+ Ae.connect(me, 0, K + ue), Ae.start(0);
22660
+ return me.connect(G.destination), await Promise.all(te.map((ue) => v(x, G, ue))), A(G);
22661
22661
  })(), L, R, H, C, f);
22662
22662
  }
22663
22663
  const X = await D, $ = n(L, {
@@ -23220,17 +23220,17 @@ const GO = (e, t, n, a, o) => {
23220
23220
  if (w.numberOfInputs === 0 && w.numberOfOutputs === 0)
23221
23221
  throw p();
23222
23222
  const R = Array.isArray(w.outputChannelCount) ? w.outputChannelCount : Array.from(w.outputChannelCount);
23223
- if (R.some((ge) => ge < 1))
23223
+ if (R.some((fe) => fe < 1))
23224
23224
  throw p();
23225
23225
  if (R.length !== w.numberOfOutputs)
23226
23226
  throw t();
23227
23227
  if (w.channelCountMode !== "explicit")
23228
23228
  throw p();
23229
- const C = w.channelCount * w.numberOfInputs, N = R.reduce((ge, Ee) => ge + Ee, 0), D = A.parameterDescriptors === void 0 ? 0 : A.parameterDescriptors.length;
23229
+ const C = w.channelCount * w.numberOfInputs, N = R.reduce((fe, Ee) => fe + Ee, 0), D = A.parameterDescriptors === void 0 ? 0 : A.parameterDescriptors.length;
23230
23230
  if (C + D > 6 || N > 6)
23231
23231
  throw p();
23232
23232
  const O = new MessageChannel(), x = [], L = [];
23233
- for (let ge = 0; ge < w.numberOfInputs; ge += 1)
23233
+ for (let fe = 0; fe < w.numberOfInputs; fe += 1)
23234
23234
  x.push(u(E, {
23235
23235
  channelCount: w.channelCount,
23236
23236
  channelCountMode: w.channelCountMode,
@@ -23244,16 +23244,16 @@ const GO = (e, t, n, a, o) => {
23244
23244
  }));
23245
23245
  const P = [];
23246
23246
  if (A.parameterDescriptors !== void 0)
23247
- for (const { defaultValue: ge, maxValue: Ee, minValue: Oe, name: De } of A.parameterDescriptors) {
23247
+ for (const { defaultValue: fe, maxValue: Ee, minValue: Oe, name: De } of A.parameterDescriptors) {
23248
23248
  const ke = l(E, {
23249
23249
  channelCount: 1,
23250
23250
  channelCountMode: "explicit",
23251
23251
  channelInterpretation: "discrete",
23252
- offset: w.parameterData[De] !== void 0 ? w.parameterData[De] : ge === void 0 ? 0 : ge
23252
+ offset: w.parameterData[De] !== void 0 ? w.parameterData[De] : fe === void 0 ? 0 : fe
23253
23253
  });
23254
23254
  Object.defineProperties(ke.offset, {
23255
23255
  defaultValue: {
23256
- get: () => ge === void 0 ? 0 : ge
23256
+ get: () => fe === void 0 ? 0 : fe
23257
23257
  },
23258
23258
  maxValue: {
23259
23259
  get: () => Ee === void 0 ? Ru : Ee
@@ -23280,21 +23280,21 @@ const GO = (e, t, n, a, o) => {
23280
23280
  channelInterpretation: "discrete",
23281
23281
  numberOfOutputs: Math.max(1, N)
23282
23282
  }), $ = [];
23283
- for (let ge = 0; ge < w.numberOfOutputs; ge += 1)
23283
+ for (let fe = 0; fe < w.numberOfOutputs; fe += 1)
23284
23284
  $.push(a(E, {
23285
23285
  channelCount: 1,
23286
23286
  channelCountMode: "explicit",
23287
23287
  channelInterpretation: "speakers",
23288
- numberOfInputs: R[ge]
23288
+ numberOfInputs: R[fe]
23289
23289
  }));
23290
- for (let ge = 0; ge < w.numberOfInputs; ge += 1) {
23291
- x[ge].connect(L[ge]);
23290
+ for (let fe = 0; fe < w.numberOfInputs; fe += 1) {
23291
+ x[fe].connect(L[fe]);
23292
23292
  for (let Ee = 0; Ee < w.channelCount; Ee += 1)
23293
- L[ge].connect(z, Ee, ge * w.channelCount + Ee);
23293
+ L[fe].connect(z, Ee, fe * w.channelCount + Ee);
23294
23294
  }
23295
- const ne = new HO(A.parameterDescriptors === void 0 ? [] : A.parameterDescriptors.map(({ name: ge }, Ee) => {
23295
+ const ne = new HO(A.parameterDescriptors === void 0 ? [] : A.parameterDescriptors.map(({ name: fe }, Ee) => {
23296
23296
  const Oe = P[Ee];
23297
- return Oe.connect(z, 0, C + Ee), Oe.start(0), [ge, Oe.offset];
23297
+ return Oe.connect(z, 0, C + Ee), Oe.start(0), [fe, Oe.offset];
23298
23298
  }));
23299
23299
  z.connect(H);
23300
23300
  let re = w.channelInterpretation, q = null;
@@ -23305,22 +23305,22 @@ const GO = (e, t, n, a, o) => {
23305
23305
  get channelCount() {
23306
23306
  return w.channelCount;
23307
23307
  },
23308
- set channelCount(ge) {
23308
+ set channelCount(fe) {
23309
23309
  throw n();
23310
23310
  },
23311
23311
  get channelCountMode() {
23312
23312
  return w.channelCountMode;
23313
23313
  },
23314
- set channelCountMode(ge) {
23314
+ set channelCountMode(fe) {
23315
23315
  throw n();
23316
23316
  },
23317
23317
  get channelInterpretation() {
23318
23318
  return re;
23319
23319
  },
23320
- set channelInterpretation(ge) {
23320
+ set channelInterpretation(fe) {
23321
23321
  for (const Ee of x)
23322
- Ee.channelInterpretation = ge;
23323
- re = ge;
23322
+ Ee.channelInterpretation = fe;
23323
+ re = fe;
23324
23324
  },
23325
23325
  get context() {
23326
23326
  return H.context;
@@ -23337,8 +23337,8 @@ const GO = (e, t, n, a, o) => {
23337
23337
  get onprocessorerror() {
23338
23338
  return q;
23339
23339
  },
23340
- set onprocessorerror(ge) {
23341
- typeof q == "function" && Y.removeEventListener("processorerror", q), q = typeof ge == "function" ? ge : null, typeof q == "function" && Y.addEventListener("processorerror", q);
23340
+ set onprocessorerror(fe) {
23341
+ typeof q == "function" && Y.removeEventListener("processorerror", q), q = typeof fe == "function" ? fe : null, typeof q == "function" && Y.addEventListener("processorerror", q);
23342
23342
  },
23343
23343
  get parameters() {
23344
23344
  return ne;
@@ -23346,19 +23346,19 @@ const GO = (e, t, n, a, o) => {
23346
23346
  get port() {
23347
23347
  return O.port2;
23348
23348
  },
23349
- addEventListener(...ge) {
23350
- return H.addEventListener(ge[0], ge[1], ge[2]);
23349
+ addEventListener(...fe) {
23350
+ return H.addEventListener(fe[0], fe[1], fe[2]);
23351
23351
  },
23352
23352
  connect: e.bind(null, K),
23353
23353
  disconnect: f.bind(null, K),
23354
- dispatchEvent(...ge) {
23355
- return H.dispatchEvent(ge[0]);
23354
+ dispatchEvent(...fe) {
23355
+ return H.dispatchEvent(fe[0]);
23356
23356
  },
23357
- removeEventListener(...ge) {
23358
- return H.removeEventListener(ge[0], ge[1], ge[2]);
23357
+ removeEventListener(...fe) {
23358
+ return H.removeEventListener(fe[0], fe[1], fe[2]);
23359
23359
  }
23360
23360
  }, oe = /* @__PURE__ */ new Map();
23361
- O.port1.addEventListener = /* @__PURE__ */ ((ge) => (...Ee) => {
23361
+ O.port1.addEventListener = /* @__PURE__ */ ((fe) => (...Ee) => {
23362
23362
  if (Ee[0] === "message") {
23363
23363
  const Oe = typeof Ee[1] == "function" ? Ee[1] : typeof Ee[1] == "object" && Ee[1] !== null && typeof Ee[1].handleEvent == "function" ? Ee[1].handleEvent : null;
23364
23364
  if (Oe !== null) {
@@ -23368,43 +23368,43 @@ const GO = (e, t, n, a, o) => {
23368
23368
  }, oe.set(Oe, Ee[1]));
23369
23369
  }
23370
23370
  }
23371
- return ge.call(O.port1, Ee[0], Ee[1], Ee[2]);
23372
- })(O.port1.addEventListener), O.port1.removeEventListener = /* @__PURE__ */ ((ge) => (...Ee) => {
23371
+ return fe.call(O.port1, Ee[0], Ee[1], Ee[2]);
23372
+ })(O.port1.addEventListener), O.port1.removeEventListener = /* @__PURE__ */ ((fe) => (...Ee) => {
23373
23373
  if (Ee[0] === "message") {
23374
23374
  const Oe = oe.get(Ee[1]);
23375
23375
  Oe !== void 0 && (oe.delete(Ee[1]), Ee[1] = Oe);
23376
23376
  }
23377
- return ge.call(O.port1, Ee[0], Ee[1], Ee[2]);
23377
+ return fe.call(O.port1, Ee[0], Ee[1], Ee[2]);
23378
23378
  })(O.port1.removeEventListener);
23379
23379
  let S = null;
23380
23380
  Object.defineProperty(O.port1, "onmessage", {
23381
23381
  get: () => S,
23382
- set: (ge) => {
23383
- typeof S == "function" && O.port1.removeEventListener("message", S), S = typeof ge == "function" ? ge : null, typeof S == "function" && (O.port1.addEventListener("message", S), O.port1.start());
23382
+ set: (fe) => {
23383
+ typeof S == "function" && O.port1.removeEventListener("message", S), S = typeof fe == "function" ? fe : null, typeof S == "function" && (O.port1.addEventListener("message", S), O.port1.start());
23384
23384
  }
23385
23385
  }), A.prototype.port = O.port1;
23386
23386
  let G = null;
23387
- k4(E, Y, A, w).then((ge) => G = ge);
23388
- const I = su(w.numberOfInputs, w.channelCount), ce = su(w.numberOfOutputs, R), he = A.parameterDescriptors === void 0 ? [] : A.parameterDescriptors.reduce((ge, { name: Ee }) => ({ ...ge, [Ee]: new Float32Array(128) }), {});
23387
+ k4(E, Y, A, w).then((fe) => G = fe);
23388
+ const I = su(w.numberOfInputs, w.channelCount), ce = su(w.numberOfOutputs, R), me = A.parameterDescriptors === void 0 ? [] : A.parameterDescriptors.reduce((fe, { name: Ee }) => ({ ...fe, [Ee]: new Float32Array(128) }), {});
23389
23389
  let ue = !0;
23390
23390
  const Ae = () => {
23391
23391
  w.numberOfOutputs > 0 && H.disconnect(X);
23392
- for (let ge = 0, Ee = 0; ge < w.numberOfOutputs; ge += 1) {
23393
- const Oe = $[ge];
23394
- for (let De = 0; De < R[ge]; De += 1)
23392
+ for (let fe = 0, Ee = 0; fe < w.numberOfOutputs; fe += 1) {
23393
+ const Oe = $[fe];
23394
+ for (let De = 0; De < R[fe]; De += 1)
23395
23395
  X.disconnect(Oe, Ee + De, De);
23396
- Ee += R[ge];
23396
+ Ee += R[fe];
23397
23397
  }
23398
23398
  }, we = /* @__PURE__ */ new Map();
23399
- H.onaudioprocess = ({ inputBuffer: ge, outputBuffer: Ee }) => {
23399
+ H.onaudioprocess = ({ inputBuffer: fe, outputBuffer: Ee }) => {
23400
23400
  if (G !== null) {
23401
23401
  const Oe = m(Y);
23402
23402
  for (let De = 0; De < B; De += 128) {
23403
23403
  for (let ke = 0; ke < w.numberOfInputs; ke += 1)
23404
23404
  for (let Le = 0; Le < w.channelCount; Le += 1)
23405
- ou(ge, I[ke], Le, Le, De);
23405
+ ou(fe, I[ke], Le, Le, De);
23406
23406
  A.parameterDescriptors !== void 0 && A.parameterDescriptors.forEach(({ name: ke }, Le) => {
23407
- ou(ge, he, ke, C + Le, De);
23407
+ ou(fe, me, ke, C + Le, De);
23408
23408
  });
23409
23409
  for (let ke = 0; ke < w.numberOfInputs; ke += 1)
23410
23410
  for (let Le = 0; Le < R[ke]; Le += 1)
@@ -23416,7 +23416,7 @@ const GO = (e, t, n, a, o) => {
23416
23416
  const Ie = we.get(at);
23417
23417
  return Ie === void 0 ? [] : (Ze.every((Fe) => Fe.every((J) => J === 0)) && (Ie === 1 ? we.delete(at) : we.set(at, Ie - 1)), Ze);
23418
23418
  });
23419
- ue = h(E.currentTime + De / E.sampleRate, E.sampleRate, () => G.process(ke, ce, he));
23419
+ ue = h(E.currentTime + De / E.sampleRate, E.sampleRate, () => G.process(ke, ce, me));
23420
23420
  for (let Ze = 0, at = 0; Ze < w.numberOfOutputs; Ze += 1) {
23421
23421
  for (let qe = 0; qe < R[Ze]; qe += 1)
23422
23422
  GO(Ee, ce[Ze], qe, at + qe, De);
@@ -23460,11 +23460,11 @@ const GO = (e, t, n, a, o) => {
23460
23460
  }, Et = () => {
23461
23461
  if (ue) {
23462
23462
  It(), w.numberOfOutputs > 0 && H.connect(X);
23463
- for (let ge = 0, Ee = 0; ge < w.numberOfOutputs; ge += 1) {
23464
- const Oe = $[ge];
23465
- for (let De = 0; De < R[ge]; De += 1)
23463
+ for (let fe = 0, Ee = 0; fe < w.numberOfOutputs; fe += 1) {
23464
+ const Oe = $[fe];
23465
+ for (let De = 0; De < R[fe]; De += 1)
23466
23466
  X.connect(Oe, Ee + De, De);
23467
- Ee += R[ge];
23467
+ Ee += R[fe];
23468
23468
  }
23469
23469
  }
23470
23470
  He = !0;
@@ -24221,7 +24221,7 @@ function hV() {
24221
24221
  return null;
24222
24222
  } : R, N = f.onStart, D = N === void 0 ? function() {
24223
24223
  return null;
24224
- } : N, O = f.blobPropertyBag, x = f.screen, L = x === void 0 ? !1 : x, P = f.mediaRecorderOptions, z = P === void 0 ? void 0 : P, B = f.customMediaStream, H = B === void 0 ? null : B, X = f.stopStreamsOnStop, $ = X === void 0 ? !0 : X, ne = f.askPermissionOnMount, re = ne === void 0 ? !1 : ne, q = (0, o.useRef)(null), K = (0, o.useRef)([]), Y = (0, o.useRef)(null), oe = (0, o.useState)("idle"), S = oe[0], G = oe[1], te = (0, o.useState)(!1), I = te[0], ce = te[1], he = (0, o.useState)(void 0), ue = he[0], Ae = he[1], we = (0, o.useState)("NONE"), He = we[0], Je = we[1], ft = (0, o.useState)(!1), It = ft[0], Et = ft[1];
24224
+ } : N, O = f.blobPropertyBag, x = f.screen, L = x === void 0 ? !1 : x, P = f.mediaRecorderOptions, z = P === void 0 ? void 0 : P, B = f.customMediaStream, H = B === void 0 ? null : B, X = f.stopStreamsOnStop, $ = X === void 0 ? !0 : X, ne = f.askPermissionOnMount, re = ne === void 0 ? !1 : ne, q = (0, o.useRef)(null), K = (0, o.useRef)([]), Y = (0, o.useRef)(null), oe = (0, o.useState)("idle"), S = oe[0], G = oe[1], te = (0, o.useState)(!1), I = te[0], ce = te[1], me = (0, o.useState)(void 0), ue = me[0], Ae = me[1], we = (0, o.useState)("NONE"), He = we[0], Je = we[1], ft = (0, o.useState)(!1), It = ft[0], Et = ft[1];
24225
24225
  (0, o.useEffect)(function() {
24226
24226
  if (!It) {
24227
24227
  var qe = function() {
@@ -24301,7 +24301,7 @@ function hV() {
24301
24301
  }
24302
24302
  };
24303
24303
  }, [y, L, v, jt, z, re]);
24304
- var ge = function() {
24304
+ var fe = function() {
24305
24305
  return t(h, void 0, void 0, function() {
24306
24306
  var qe;
24307
24307
  return n(this, function(Ie) {
@@ -24352,7 +24352,7 @@ function hV() {
24352
24352
  return ke(!0);
24353
24353
  }, unMuteAudio: function() {
24354
24354
  return ke(!1);
24355
- }, startRecording: ge, pauseRecording: Le, resumeRecording: Ze, stopRecording: at, mediaBlobUrl: ue, status: S, isAudioMuted: I, previewStream: Y.current ? new MediaStream(Y.current.getVideoTracks()) : null, previewAudioStream: Y.current ? new MediaStream(Y.current.getAudioTracks()) : null, clearBlobUrl: function() {
24355
+ }, startRecording: fe, pauseRecording: Le, resumeRecording: Ze, stopRecording: at, mediaBlobUrl: ue, status: S, isAudioMuted: I, previewStream: Y.current ? new MediaStream(Y.current.getVideoTracks()) : null, previewAudioStream: Y.current ? new MediaStream(Y.current.getAudioTracks()) : null, clearBlobUrl: function() {
24356
24356
  ue && URL.revokeObjectURL(ue), Ae(void 0), G("idle");
24357
24357
  } };
24358
24358
  }
@@ -24797,16 +24797,16 @@ function qV(e, t) {
24797
24797
  }, m.style), !oe)
24798
24798
  return /* @__PURE__ */ na.createElement(ne, ce, G, /* @__PURE__ */ na.createElement(q, m, Y));
24799
24799
  (L === void 0 && X || z) && (L = !0), X = X || PV;
24800
- var he = [{
24800
+ var me = [{
24801
24801
  type: "text",
24802
24802
  value: Y
24803
24803
  }], ue = zV({
24804
24804
  astGenerator: oe,
24805
24805
  language: o,
24806
24806
  code: Y,
24807
- defaultCodeValue: he
24807
+ defaultCodeValue: me
24808
24808
  });
24809
- ue.language === null && (ue.value = he);
24809
+ ue.language === null && (ue.value = me);
24810
24810
  var Ae = ue.value.length;
24811
24811
  Ae === 1 && ue.value[0].type === "text" && (Ae = ue.value[0].value.split(`
24812
24812
  `).length);
@@ -25803,21 +25803,21 @@ function l5() {
25803
25803
  var H = 1, X = 2, $ = 3, ne = 4, re = 5, q = 6, K = 7, Y = {};
25804
25804
  Y[H] = "Named character references must be terminated by a semicolon", Y[X] = "Numeric character references must be terminated by a semicolon", Y[$] = "Named character references cannot be empty", Y[ne] = "Numeric character references cannot be empty", Y[re] = "Named character references must be known", Y[q] = "Numeric character references cannot be disallowed", Y[K] = "Numeric character references cannot be outside the permissible Unicode range";
25805
25805
  function oe(I, ce) {
25806
- var he = {}, ue, Ae;
25806
+ var me = {}, ue, Ae;
25807
25807
  ce || (ce = {});
25808
25808
  for (Ae in f)
25809
- ue = ce[Ae], he[Ae] = ue ?? f[Ae];
25810
- return (he.position.indent || he.position.start) && (he.indent = he.position.indent || [], he.position = he.position.start), S(I, he);
25809
+ ue = ce[Ae], me[Ae] = ue ?? f[Ae];
25810
+ return (me.position.indent || me.position.start) && (me.indent = me.position.indent || [], me.position = me.position.start), S(I, me);
25811
25811
  }
25812
25812
  function S(I, ce) {
25813
- var he = ce.additional, ue = ce.nonTerminated, Ae = ce.text, we = ce.reference, He = ce.warning, Je = ce.textContext, ft = ce.referenceContext, It = ce.warningContext, Et = ce.position, jt = ce.indent || [], ge = I.length, Ee = 0, Oe = -1, De = Et.column || 1, ke = Et.line || 1, Le = "", Ze = [], at, qe, Ie, Fe, J, ie, pe, be, Me, Mt, Bt, ut, ct, dt, gt, xt, Ft, Xe, pt;
25814
- for (typeof he == "string" && (he = he.charCodeAt(0)), xt = hn(), be = He ? mn : p, Ee--, ge++; ++Ee < ge; )
25813
+ var me = ce.additional, ue = ce.nonTerminated, Ae = ce.text, we = ce.reference, He = ce.warning, Je = ce.textContext, ft = ce.referenceContext, It = ce.warningContext, Et = ce.position, jt = ce.indent || [], fe = I.length, Ee = 0, Oe = -1, De = Et.column || 1, ke = Et.line || 1, Le = "", Ze = [], at, qe, Ie, Fe, J, ie, pe, be, Me, Mt, Bt, ut, ct, dt, gt, xt, Ft, Xe, pt;
25814
+ for (typeof me == "string" && (me = me.charCodeAt(0)), xt = hn(), be = He ? mn : p, Ee--, fe++; ++Ee < fe; )
25815
25815
  if (J === m && (De = jt[Oe] || 1), J = I.charCodeAt(Ee), J === v) {
25816
- if (pe = I.charCodeAt(Ee + 1), pe === h || pe === m || pe === y || pe === E || pe === v || pe === w || pe !== pe || he && pe === he) {
25816
+ if (pe = I.charCodeAt(Ee + 1), pe === h || pe === m || pe === y || pe === E || pe === v || pe === w || pe !== pe || me && pe === me) {
25817
25817
  Le += d(J), De++;
25818
25818
  continue;
25819
25819
  }
25820
- for (ct = Ee + 1, ut = ct, pt = ct, pe === C ? (pt = ++ut, pe = I.charCodeAt(pt), pe === N || pe === D ? (dt = L, pt = ++ut) : dt = P) : dt = x, at = "", Bt = "", Fe = "", gt = B[dt], pt--; ++pt < ge && (pe = I.charCodeAt(pt), !!gt(pe)); )
25820
+ for (ct = Ee + 1, ut = ct, pt = ct, pe === C ? (pt = ++ut, pe = I.charCodeAt(pt), pe === N || pe === D ? (dt = L, pt = ++ut) : dt = P) : dt = x, at = "", Bt = "", Fe = "", gt = B[dt], pt--; ++pt < fe && (pe = I.charCodeAt(pt), !!gt(pe)); )
25821
25821
  Fe += d(pe), dt === x && u.call(e, Fe) && (at = Fe, Bt = e[Fe]);
25822
25822
  Ie = I.charCodeAt(pt) === A, Ie && (pt++, qe = dt === x ? l(Fe) : !1, qe && (at = Fe, Bt = qe)), Xe = 1 + pt - ct, !Ie && !ue || (Fe ? dt === x ? (Ie && !Bt ? be(re, 1) : (at !== Fe && (pt = ut + at.length, Xe = 1 + pt - ut, Ie = !1), Ie || (Me = at ? H : $, ce.attribute ? (pe = I.charCodeAt(pt), pe === R ? (be(Me, Xe), Bt = null) : o(pe) ? Bt = null : be(Me, Xe)) : be(Me, Xe))), ie = Bt) : (Ie || be(X, Xe), ie = parseInt(Fe, z[dt]), G(ie) ? (be(K, Xe), ie = d(O)) : ie in t ? (be(q, Xe), ie = t[ie]) : (Mt = "", te(ie) && be(q, Xe), ie > 65535 && (ie -= 65536, Mt += d(ie >>> 10 | 55296), ie = 56320 | ie & 1023), ie = Mt + d(ie))) : dt !== x && be(ne, Xe)), ie ? (Rr(), xt = hn(), Ee = pt - 1, De += pt - ct + 1, Ze.push(ie), Ft = hn(), Ft.offset++, we && we.call(
25823
25823
  ft,
@@ -26495,8 +26495,8 @@ function u5() {
26495
26495
  Y = Y.next, ce += Y.value.length;
26496
26496
  if (ce -= Y.value.length, oe = ce, Y.value instanceof p)
26497
26497
  continue;
26498
- for (var he = Y; he !== N.tail && (ce < I || typeof he.value == "string"); he = he.next)
26499
- G++, ce += he.value.length;
26498
+ for (var me = Y; me !== N.tail && (ce < I || typeof me.value == "string"); me = me.next)
26499
+ G++, ce += me.value.length;
26500
26500
  G--, S = C.slice(oe, ce), te.index -= oe;
26501
26501
  } else if (te = f(K, 0, S, $), !te)
26502
26502
  continue;
@@ -47608,47 +47608,47 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47608
47608
  const t = ye.useRef(null), n = ye.useRef(null), a = ye.useRef(null), o = ye.useRef(null), l = ye.useRef(null), [u, d] = ye.useState(null), [p, f] = ye.useState(!0);
47609
47609
  ye.useEffect(() => {
47610
47610
  (async () => {
47611
- f(!0), await At.get(`${pW}/bot/${e.bot?.botId}`, {}).then((fe) => {
47612
- d(fe.data);
47613
- }).catch((fe) => {
47614
- console.error("Error fetching bot config:", fe);
47611
+ f(!0), await At.get(`${pW}/bot/${e.bot?.botId}`, {}).then((he) => {
47612
+ d(he.data);
47613
+ }).catch((he) => {
47614
+ console.error("Error fetching bot config:", he);
47615
47615
  }).finally(() => {
47616
47616
  f(!1);
47617
47617
  });
47618
47618
  })();
47619
47619
  }, [e.bot?.botId, e?.token]);
47620
- const h = u?.mainColor || "#59168b", m = u?.secondaryColor || "#6366f1", y = u?.thirdColor || "#0f172b", E = u?.headerFirstColor || "#6e11b0", v = u?.headerSecondColor || "#372aac", A = u?.inputBackgroundColor || "#1f2937", w = u?.inputTextColor || "#fff", R = u?.roundness || 24, C = u?.chatRoundness || 16, N = (u?.minPanelWidth || 434) > window.innerWidth ? window.innerWidth : u?.minPanelWidth || 434, D = (u?.maxPanelWidth || window.innerWidth) > window.innerWidth ? window.innerWidth : u?.maxPanelWidth || window.innerWidth, O = u?.chatMaxWidth || 88, x = u?.toggleBtnBorderTopLeftRadius || 12, L = u?.toggleBtnBorderTopRightRadius || 0, P = u?.toggleBtnBorderBottomLeftRadius || 12, z = u?.toggleBtnBorderBottomRightRadius || 0, B = u?.menuBackgroundColor || "#1f2937", H = u?.menuTextColor || "#e5e7eb", X = u?.menuHoverBackgroundColor || "#374151", $ = u?.agentChatResponseColor || "#e5e7eb", ne = u?.agentChatResponseBgColor || "#1f2937", re = u?.agentIconBgColor || "#59168b", q = u?.agentIconColor || "#fff", K = u?.userChatMessagesColor || "#fff", Y = u?.userChatMessagesBgColor || "#7a1ebe", oe = u?.userIconBgColor || "#7a1ebe", S = u?.userIconColor || "#fff", G = u?.ButtonColor || "#fff", te = u?.ButtonsBgColor || "#59168b", [I, ce] = ye.useState(N), he = ye.useRef(!1), ue = ye.useRef(0), Ae = ye.useRef(N), we = (M) => {
47621
- he.current = !0, ue.current = M.clientX, Ae.current = I, document.body.style.cursor = "ew-resize";
47620
+ const h = u?.mainColor || "#59168b", m = u?.secondaryColor || "#6366f1", y = u?.thirdColor || "#0f172b", E = u?.headerFirstColor || "#6e11b0", v = u?.headerSecondColor || "#372aac", A = u?.inputBackgroundColor || "#1f2937", w = u?.inputTextColor || "#fff", R = u?.roundness || 24, C = u?.chatRoundness || 16, N = (u?.minPanelWidth || 434) > window.innerWidth ? window.innerWidth : u?.minPanelWidth || 434, D = (u?.maxPanelWidth || window.innerWidth) > window.innerWidth ? window.innerWidth : u?.maxPanelWidth || window.innerWidth, O = u?.chatMaxWidth || 88, x = u?.toggleBtnBorderTopLeftRadius || 12, L = u?.toggleBtnBorderTopRightRadius || 0, P = u?.toggleBtnBorderBottomLeftRadius || 12, z = u?.toggleBtnBorderBottomRightRadius || 0, B = u?.menuBackgroundColor || "#1f2937", H = u?.menuTextColor || "#e5e7eb", X = u?.menuHoverBackgroundColor || "#374151", $ = u?.agentChatResponseColor || "#e5e7eb", ne = u?.agentChatResponseBgColor || "#1f2937", re = u?.agentIconBgColor || "#59168b", q = u?.agentIconColor || "#fff", K = u?.userChatMessagesColor || "#fff", Y = u?.userChatMessagesBgColor || "#7a1ebe", oe = u?.userIconBgColor || "#7a1ebe", S = u?.userIconColor || "#fff", G = u?.ButtonColor || "#fff", te = u?.ButtonsBgColor || "#59168b", [I, ce] = ye.useState(N), me = ye.useRef(!1), ue = ye.useRef(0), Ae = ye.useRef(N), we = (M) => {
47621
+ me.current = !0, ue.current = M.clientX, Ae.current = I, document.body.style.cursor = "ew-resize";
47622
47622
  };
47623
47623
  ye.useEffect(() => {
47624
- const M = (me) => {
47625
- if (!he.current) return;
47626
- const xe = ue.current - me.clientX;
47624
+ const M = (ge) => {
47625
+ if (!me.current) return;
47626
+ const xe = ue.current - ge.clientX;
47627
47627
  let ht = Ae.current + xe;
47628
47628
  ht = Math.max(N, Math.min(D, ht)), ce(ht);
47629
- }, fe = () => {
47630
- he.current && (he.current = !1, document.body.style.cursor = "");
47629
+ }, he = () => {
47630
+ me.current && (me.current = !1, document.body.style.cursor = "");
47631
47631
  };
47632
- return window.addEventListener("mousemove", M), window.addEventListener("mouseup", fe), () => {
47633
- window.removeEventListener("mousemove", M), window.removeEventListener("mouseup", fe);
47632
+ return window.addEventListener("mousemove", M), window.addEventListener("mouseup", he), () => {
47633
+ window.removeEventListener("mousemove", M), window.removeEventListener("mouseup", he);
47634
47634
  };
47635
47635
  }, [I, N, D]);
47636
- const [He, Je] = ye.useState(!1), [ft, It] = ye.useState(!1), [Et, jt] = ye.useState(""), [ge, Ee] = ye.useState(!1), [Oe, De] = ye.useState([]), [ke, Le] = ye.useState(!1), Ze = ye.useRef(0), [at, qe] = ye.useState(!1), [Ie, Fe] = ye.useState(!1), J = ye.useRef(!1), [ie, pe] = ye.useState("00:00"), be = ye.useRef(null), Me = ye.useRef(0), [Mt, Bt] = ye.useState([]), [ut, ct] = ye.useState([]), { startRecording: dt, stopRecording: gt, pauseRecording: xt, resumeRecording: Ft, status: Xe, error: pt } = bV.useReactMediaRecorder({
47636
+ const [He, Je] = ye.useState(!1), [ft, It] = ye.useState(!1), [Et, jt] = ye.useState(""), [fe, Ee] = ye.useState(!1), [Oe, De] = ye.useState([]), [ke, Le] = ye.useState(!1), Ze = ye.useRef(0), [at, qe] = ye.useState(!1), [Ie, Fe] = ye.useState(!1), J = ye.useRef(!1), [ie, pe] = ye.useState("00:00"), be = ye.useRef(null), Me = ye.useRef(0), [Mt, Bt] = ye.useState([]), [ut, ct] = ye.useState([]), { startRecording: dt, stopRecording: gt, pauseRecording: xt, resumeRecording: Ft, status: Xe, error: pt } = bV.useReactMediaRecorder({
47637
47637
  video: !1,
47638
- onStop(M, fe) {
47638
+ onStop(M, he) {
47639
47639
  if (J.current) {
47640
47640
  J.current = !1, pe("00:00"), Me.current = 0;
47641
47641
  return;
47642
47642
  }
47643
- De((me) => [
47644
- ...me,
47643
+ De((ge) => [
47644
+ ...ge,
47645
47645
  {
47646
47646
  id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
47647
- file: fe,
47647
+ file: he,
47648
47648
  type: "audio",
47649
47649
  url: M,
47650
47650
  name: `recording-${(/* @__PURE__ */ new Date()).toISOString()}.webm`,
47651
- size: fe.size
47651
+ size: he.size
47652
47652
  }
47653
47653
  ]), pe("00:00"), Me.current = 0;
47654
47654
  }
@@ -47656,13 +47656,13 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47656
47656
  if (!u?.botNeedsAuth) {
47657
47657
  let M = localStorage.getItem("conversationId");
47658
47658
  if (!M) {
47659
- const fe = new Uint8Array(16);
47660
- window.crypto.getRandomValues(fe), M = Array.from(fe).map((me) => me.toString(16).padStart(2, "0")).join("");
47659
+ const he = new Uint8Array(16);
47660
+ window.crypto.getRandomValues(he), M = Array.from(he).map((ge) => ge.toString(16).padStart(2, "0")).join("");
47661
47661
  }
47662
47662
  return localStorage.setItem("conversationId", M), M;
47663
47663
  }
47664
- }), [an, ir] = ye.useState(() => u?.botNeedsAuth ? !!localStorage.getItem("conversationId") : !0), [_n, Es] = ye.useState(""), [Ha, Yn] = ye.useState(""), [wt, Yt] = ye.useState(""), $t = ye.useRef(!1), ua = ut.reduce((M, fe) => fe.seen ? M : M + (fe.sender === "agent" ? fe.nMessage || 1 : 0), 0), vs = () => {
47665
- ct((M) => M.map((fe) => ({ ...fe, seen: !0 })));
47664
+ }), [an, ir] = ye.useState(() => u?.botNeedsAuth ? !!localStorage.getItem("conversationId") : !0), [_n, Es] = ye.useState(""), [Ha, Yn] = ye.useState(""), [wt, Yt] = ye.useState(""), $t = ye.useRef(!1), ua = ut.reduce((M, he) => he.seen ? M : M + (he.sender === "agent" ? he.nMessage || 1 : 0), 0), vs = () => {
47665
+ ct((M) => M.map((he) => ({ ...he, seen: !0 })));
47666
47666
  };
47667
47667
  ye.useEffect(() => {
47668
47668
  const M = setTimeout(() => {
@@ -47674,20 +47674,20 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47674
47674
  if (e?.bot) {
47675
47675
  Ee(!0);
47676
47676
  try {
47677
- const fe = await Wn("hi", e?.bot.botId);
47678
- ct((me) => [
47679
- ...me,
47677
+ const he = await Wn("hi", e?.bot.botId);
47678
+ ct((ge) => [
47679
+ ...ge,
47680
47680
  {
47681
47681
  id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
47682
47682
  sender: "agent",
47683
- content: fe,
47683
+ content: he,
47684
47684
  timestamp: /* @__PURE__ */ new Date(),
47685
47685
  seen: $t.current,
47686
- nMessage: typeof fe == "string" ? 1 : fe.length
47686
+ nMessage: typeof he == "string" ? 1 : he.length
47687
47687
  }
47688
47688
  ]);
47689
- } catch (fe) {
47690
- console.error("Error sending message:", fe);
47689
+ } catch (he) {
47690
+ console.error("Error sending message:", he);
47691
47691
  } finally {
47692
47692
  Ee(!1);
47693
47693
  }
@@ -47698,8 +47698,8 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47698
47698
  }, 2e3), localStorage.setItem("webChatAuth", "true")));
47699
47699
  }, [an, e?.bot]), ye.useEffect(() => (Xe === "recording" ? be.current || (be.current = setInterval(() => {
47700
47700
  Me.current += 1;
47701
- const M = Math.floor(Me.current / 60).toString().padStart(2, "0"), fe = (Me.current % 60).toString().padStart(2, "0");
47702
- pe(`${M}:${fe}`);
47701
+ const M = Math.floor(Me.current / 60).toString().padStart(2, "0"), he = (Me.current % 60).toString().padStart(2, "0");
47702
+ pe(`${M}:${he}`);
47703
47703
  }, 1e3)) : be.current && (clearInterval(be.current), be.current = null), () => {
47704
47704
  be.current && (clearInterval(be.current), be.current = null);
47705
47705
  }), [Xe]), ye.useEffect(() => {
@@ -47712,17 +47712,17 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47712
47712
  if (Ga && Ga.current) {
47713
47713
  const M = Ga.current;
47714
47714
  M.style.height = "auto";
47715
- const fe = 120;
47716
- M.scrollHeight > fe ? (M.style.height = fe + "px", M.style.overflowY = "auto") : (M.style.height = M.scrollHeight + "px", M.style.overflowY = "hidden");
47715
+ const he = 120;
47716
+ M.scrollHeight > he ? (M.style.height = he + "px", M.style.overflowY = "auto") : (M.style.height = M.scrollHeight + "px", M.style.overflowY = "hidden");
47717
47717
  }
47718
47718
  }, [Et]), ye.useEffect(() => {
47719
- (He || ge) && t.current && (t.current.scrollTop = t.current.scrollHeight);
47720
- }, [ut, ge, He]);
47719
+ (He || fe) && t.current && (t.current.scrollTop = t.current.scrollHeight);
47720
+ }, [ut, fe, He]);
47721
47721
  const Ss = (M) => {
47722
- const fe = M.type.toLowerCase();
47723
- return fe.startsWith("image/") ? "image" : fe.startsWith("video/") ? "video" : fe.startsWith("audio/") ? "audio" : "document";
47724
- }, xn = ye.useCallback((M, fe) => {
47725
- const me = [];
47722
+ const he = M.type.toLowerCase();
47723
+ return he.startsWith("image/") ? "image" : he.startsWith("video/") ? "video" : he.startsWith("audio/") ? "audio" : "document";
47724
+ }, xn = ye.useCallback((M, he) => {
47725
+ const ge = [];
47726
47726
  Array.from(M).forEach((xe) => {
47727
47727
  if (xe.size > 10 * 1024 * 1024) {
47728
47728
  alert(`File ${xe.name} is too large. Maximum size is 10MB.`);
@@ -47736,13 +47736,13 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47736
47736
  name: xe.name,
47737
47737
  size: xe.size
47738
47738
  };
47739
- me.push(ht);
47740
- }), De((xe) => [...xe, ...me]), fe && fe.current && (fe.current.value = "");
47739
+ ge.push(ht);
47740
+ }), De((xe) => [...xe, ...ge]), he && he.current && (he.current.value = "");
47741
47741
  }, []), qi = ye.useCallback(
47742
47742
  (M) => {
47743
47743
  M.preventDefault(), Ze.current = 0, Le(!1);
47744
- const fe = M.dataTransfer.files;
47745
- fe.length > 0 && xn(fe);
47744
+ const he = M.dataTransfer.files;
47745
+ he.length > 0 && xn(he);
47746
47746
  },
47747
47747
  [xn]
47748
47748
  ), xr = ye.useCallback((M) => {
@@ -47752,24 +47752,24 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47752
47752
  }, []), ca = ye.useCallback((M) => {
47753
47753
  M.preventDefault(), Ze.current -= 1, Ze.current <= 0 && Le(!1);
47754
47754
  }, []), Nr = (M) => {
47755
- De((fe) => {
47756
- const me = fe.find((xe) => xe.id === M);
47757
- return me && URL.revokeObjectURL(me.url), fe.filter((xe) => xe.id !== M);
47755
+ De((he) => {
47756
+ const ge = he.find((xe) => xe.id === M);
47757
+ return ge && URL.revokeObjectURL(ge.url), he.filter((xe) => xe.id !== M);
47758
47758
  });
47759
47759
  }, Ct = (M) => {
47760
47760
  if (M === 0) return "0 Bytes";
47761
- const fe = 1024, me = ["Bytes", "KB", "MB", "GB"], xe = Math.floor(Math.log(M) / Math.log(fe));
47762
- return Number.parseFloat((M / Math.pow(fe, xe)).toFixed(2)) + " " + me[xe];
47761
+ const he = 1024, ge = ["Bytes", "KB", "MB", "GB"], xe = Math.floor(Math.log(M) / Math.log(he));
47762
+ return Number.parseFloat((M / Math.pow(he, xe)).toFixed(2)) + " " + ge[xe];
47763
47763
  }, or = async (M = Et) => {
47764
47764
  if (M.trim() || Oe.length !== 0) {
47765
- const me = {
47765
+ const ge = {
47766
47766
  id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
47767
47767
  sender: "user",
47768
47768
  content: M,
47769
47769
  attachments: [...Oe],
47770
47770
  timestamp: /* @__PURE__ */ new Date()
47771
47771
  };
47772
- if (ct((xe) => [...xe, me]), jt(""), De([]), Ee(!0), e?.bot)
47772
+ if (ct((xe) => [...xe, ge]), jt(""), De([]), Ee(!0), e?.bot)
47773
47773
  try {
47774
47774
  try {
47775
47775
  const xe = await Wn(M, e?.bot.botId);
@@ -47830,17 +47830,17 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47830
47830
  l.current?.click();
47831
47831
  break;
47832
47832
  }
47833
- }, Wn = async (M, fe) => {
47834
- const { data: me } = await At.post(e?.API_URL || dW, { messageText: M, botId: fe, conversation_id: Rr, isintern: !!e?.token, host: window.location.origin });
47835
- return me;
47836
- }, kr = ({ attachment: M, onRemove: fe }) => /* @__PURE__ */ F.jsxs("div", { className: "relative group w-24 h-24 rounded-xl overflow-hidden bg-gray-900 shadow-md border border-gray-700", children: [
47833
+ }, Wn = async (M, he) => {
47834
+ const { data: ge } = await At.post(e?.API_URL || dW, { messageText: M, botId: he, conversation_id: Rr, isintern: !!e?.token, host: window.location.origin });
47835
+ return ge;
47836
+ }, kr = ({ attachment: M, onRemove: he }) => /* @__PURE__ */ F.jsxs("div", { className: "relative group w-24 h-24 rounded-xl overflow-hidden bg-gray-900 shadow-md border border-gray-700", children: [
47837
47837
  M.type === "image" && M.url ? /* @__PURE__ */ F.jsx("img", { src: M.url, alt: M.name, className: "w-full h-full object-cover" }) : /* @__PURE__ */ F.jsxs("div", { className: "w-full h-full flex flex-col items-center justify-center text-gray-300 px-1 text-center text-xs", children: [
47838
47838
  M.type === "video" && /* @__PURE__ */ F.jsx(bT, { className: "w-5 h-5 mb-1 text-red-400" }),
47839
47839
  M.type === "audio" && /* @__PURE__ */ F.jsx(Sy, { className: "w-5 h-5 mb-1 text-green-400" }),
47840
47840
  M.type === "document" && /* @__PURE__ */ F.jsx(dq, { className: "w-5 h-5 mb-1 text-yellow-400" }),
47841
47841
  /* @__PURE__ */ F.jsx("span", { className: "w-full truncate", title: M.name, children: M.name })
47842
47842
  ] }),
47843
- /* @__PURE__ */ F.jsx("button", { onClick: fe, className: "absolute top-1 right-1 w-5 h-5 bg-black bg-opacity-50 rounded-full text-white flex items-center justify-center hover:bg-opacity-80", title: "Remove", children: /* @__PURE__ */ F.jsx(Bl, { className: "w-3 h-3" }) })
47843
+ /* @__PURE__ */ F.jsx("button", { onClick: he, className: "absolute top-1 right-1 w-5 h-5 bg-black bg-opacity-50 rounded-full text-white flex items-center justify-center hover:bg-opacity-80", title: "Remove", children: /* @__PURE__ */ F.jsx(Bl, { className: "w-3 h-3" }) })
47844
47844
  ] }), Fu = /^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u, As = /[\u0600-\u06FF\u0750-\u077F]/, Wt = (M) => Fu.test(M), Uu = (M) => As.test(M), Xn = {
47845
47845
  h1: ({ children: M }) => /* @__PURE__ */ F.jsx("h1", { className: "sm:text-2xl text-xl font-bold my-2", dir: Wt(M) ? "rtl" : "ltr", children: M }),
47846
47846
  h2: ({ children: M }) => /* @__PURE__ */ F.jsx("h2", { className: "sm:text-xl text-lg font-semibold my-2", dir: Wt(M) ? "rtl" : "ltr", children: M }),
@@ -47851,15 +47851,15 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47851
47851
  p: ({ children: M }) => /* @__PURE__ */ F.jsx("p", { className: "leading-relaxed text-xs sm:text-sm", dir: Wt(M) ? "rtl" : "ltr", children: M }),
47852
47852
  ul: ({ children: M }) => /* @__PURE__ */ F.jsx("ul", { className: "list-disc list-inside ml-4 my-2 text-gray-200", dir: Uu(M) ? "rtl" : "ltr", children: M }),
47853
47853
  ol: ({ children: M }) => {
47854
- let fe = !1;
47855
- return M.every((me) => me?.props?.node?.children[0].type === "text" && Wt(me?.props?.node?.children[0].value)) ? fe = !0 : fe = !1, /* @__PURE__ */ F.jsx("ol", { className: "list-decimal list-inside text-xs sm:text-sm ml-4 my-2 text-gray-200", dir: fe ? "rtl" : "ltr", children: M });
47854
+ let he = !1;
47855
+ return M.every((ge) => ge?.props?.node?.children[0].type === "text" && Wt(ge?.props?.node?.children[0].value)) ? he = !0 : he = !1, /* @__PURE__ */ F.jsx("ol", { className: "list-decimal list-inside text-xs sm:text-sm ml-4 my-2 text-gray-200", dir: he ? "rtl" : "ltr", children: M });
47856
47856
  },
47857
47857
  li: ({ children: M }) => /* @__PURE__ */ F.jsx("li", { className: "my-1", dir: Wt(M) ? "rtl" : "ltr", children: M }),
47858
- a: ({ href: M, children: fe }) => /* @__PURE__ */ F.jsx("a", { href: M, className: "text-blue-400 underline hover:text-blue-300", target: "_blank", rel: "noopener noreferrer", children: fe }),
47858
+ a: ({ href: M, children: he }) => /* @__PURE__ */ F.jsx("a", { href: M, className: "text-blue-400 underline hover:text-blue-300", target: "_blank", rel: "noopener noreferrer", children: he }),
47859
47859
  blockquote: ({ children: M }) => /* @__PURE__ */ F.jsx("blockquote", { className: "border-l-4 border-purple-500 pl-4 italic my-2", children: M }),
47860
- code({ node: M, className: fe, children: me, ...xe }) {
47861
- const ht = /language-(\w+)/.exec(fe || "");
47862
- return ht ? /* @__PURE__ */ F.jsx(LI, { ...xe, PreTag: "div", children: String(me).replace(/\n$/, ""), language: ht[1], style: tW }) : /* @__PURE__ */ F.jsx("code", { className: "bg-gray-800 px-1 rounded font-mono inline", ...xe, children: me });
47860
+ code({ node: M, className: he, children: ge, ...xe }) {
47861
+ const ht = /language-(\w+)/.exec(he || "");
47862
+ return ht ? /* @__PURE__ */ F.jsx(LI, { ...xe, PreTag: "div", children: String(ge).replace(/\n$/, ""), language: ht[1], style: tW }) : /* @__PURE__ */ F.jsx("code", { className: "bg-gray-800 px-1 rounded font-mono inline", ...xe, children: ge });
47863
47863
  },
47864
47864
  table: ({ children: M }) => /* @__PURE__ */ F.jsx("table", { className: "min-w-full my-2 border border-gray-700", children: M }),
47865
47865
  thead: ({ children: M }) => /* @__PURE__ */ F.jsx("thead", { className: "bg-gray-800", children: M }),
@@ -47872,8 +47872,10 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47872
47872
  hr: () => /* @__PURE__ */ F.jsx("hr", { className: "my-4 border-purple-700" })
47873
47873
  };
47874
47874
  ye.useEffect(() => {
47875
- const M = (fe) => {
47876
- at && fe.target instanceof Element && !fe.target.closest("#upload-button-toggle") && !fe.target.closest("#document-button") && !fe.target.closest("#image-button") && !fe.target.closest("#video-button") && !fe.target.closest("#audio-button") && qe(!1);
47875
+ const M = (he) => {
47876
+ at && he.target instanceof Element && !he.composedPath().some(
47877
+ (ge) => ge?.id === "upload-button-toggle" || ge?.id === "document-button" || ge?.id === "image-button" || ge?.id === "video-button" || ge?.id === "audio-button"
47878
+ ) && qe(!1);
47877
47879
  };
47878
47880
  return document.addEventListener("mousedown", M), () => {
47879
47881
  document.removeEventListener("mousedown", M);
@@ -47888,20 +47890,20 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47888
47890
  return /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
47889
47891
  /* @__PURE__ */ F.jsx(Vo, { remarkPlugins: [_o], components: Xn, children: M.text?.replace(/\n/g, `
47890
47892
  `) || "" }),
47891
- /* @__PURE__ */ F.jsx("div", { className: "flex flex-wrap", dir: Wt(M.text || "") ? "rtl" : "ltr", children: M.choices?.map((me, xe) => /* @__PURE__ */ F.jsx(
47893
+ /* @__PURE__ */ F.jsx("div", { className: "flex flex-wrap", dir: Wt(M.text || "") ? "rtl" : "ltr", children: M.choices?.map((ge, xe) => /* @__PURE__ */ F.jsx(
47892
47894
  "button",
47893
47895
  {
47894
- className: "mb-1 mr-1 text-xs sm:text-sm px-4 py-1 hover:scale-105 transition-all duration-100",
47896
+ className: "mb-1 mr-1 text-xs px-4 py-1 hover:scale-105 transition-all duration-100",
47895
47897
  onClick: () => {
47896
- or(me.title);
47898
+ or(ge.title);
47897
47899
  },
47898
47900
  style: {
47899
47901
  background: te,
47900
47902
  borderRadius: `${C}px`,
47901
47903
  color: G
47902
47904
  },
47903
- dir: Wt(me.title) ? "rtl" : "ltr",
47904
- children: me.title
47905
+ dir: Wt(ge.title) ? "rtl" : "ltr",
47906
+ children: ge.title
47905
47907
  },
47906
47908
  xe
47907
47909
  )) })
@@ -47921,12 +47923,12 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47921
47923
  `) || "" }),
47922
47924
  /* @__PURE__ */ F.jsxs("div", { className: "flex flex-wrap", dir: Wt(M.message || "") ? "rtl" : "ltr", children: [
47923
47925
  /* @__PURE__ */ F.jsx("p", { className: "mr-2", children: "ou" }),
47924
- M.options?.map((me, xe) => /* @__PURE__ */ F.jsx(
47926
+ M.options?.map((ge, xe) => /* @__PURE__ */ F.jsx(
47925
47927
  "button",
47926
47928
  {
47927
- className: "mb-1 mr-1 px-4 py-1 text-xs sm:text-sm hover:scale-105 transition-all duration-100",
47929
+ className: "mb-1 mr-1 px-4 py-1 text-xs hover:scale-105 transition-all duration-100",
47928
47930
  onClick: () => {
47929
- or(me.value);
47931
+ or(ge.value);
47930
47932
  },
47931
47933
  style: {
47932
47934
  background: te,
@@ -47934,31 +47936,31 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47934
47936
  color: G
47935
47937
  },
47936
47938
  dir: Wt(M.message || "") ? "rtl" : "ltr",
47937
- children: me.label
47939
+ children: ge.label
47938
47940
  },
47939
47941
  xe
47940
47942
  ))
47941
47943
  ] })
47942
47944
  ] });
47943
47945
  case "carousel":
47944
- const fe = (M.items?.length || 0) < 2 ? 1 : 2;
47945
- return /* @__PURE__ */ F.jsx("div", { className: "mt-2 w-full", children: /* @__PURE__ */ F.jsx("div", { className: `grid grid-cols-1 sm:grid-cols-${fe} gap-3`, children: M.items?.map((me, xe) => /* @__PURE__ */ F.jsxs("div", { className: "flex-shrink-0 border p-3 shadow-md", style: { background: ne, borderRadius: `${C}px` }, children: [
47946
- me.image && /* @__PURE__ */ F.jsx("img", { src: me.image, alt: me.title, className: "h-32 w-full object-cover rounded-md mb-2" }),
47947
- /* @__PURE__ */ F.jsx("h3", { className: "text-sm font-bold", title: me.title, children: me.title }),
47948
- /* @__PURE__ */ F.jsx("p", { className: "text-xs text-gray-300 mb-2 line-clamp-2", title: me.subtitle, children: me.subtitle }),
47949
- me.actions?.map((ht, Un) => {
47946
+ const he = (M.items?.length || 0) < 2 ? 1 : 2;
47947
+ return /* @__PURE__ */ F.jsx("div", { className: "mt-2 w-full", children: /* @__PURE__ */ F.jsx("div", { className: `grid grid-cols-1 sm:grid-cols-${he} gap-3`, children: M.items?.map((ge, xe) => /* @__PURE__ */ F.jsxs("div", { className: "flex-shrink-0 border p-3 shadow-md", style: { background: ne, borderRadius: `${C}px` }, children: [
47948
+ ge.image && /* @__PURE__ */ F.jsx("img", { src: ge.image, alt: ge.title, className: "h-32 w-full object-cover rounded-md mb-2" }),
47949
+ /* @__PURE__ */ F.jsx("h3", { className: "text-sm font-bold", title: ge.title, children: ge.title }),
47950
+ /* @__PURE__ */ F.jsx("p", { className: "text-xs text-gray-300 mb-2 line-clamp-2", title: ge.subtitle, children: ge.subtitle }),
47951
+ ge.actions?.map((ht, Un) => {
47950
47952
  let sr;
47951
47953
  try {
47952
47954
  sr = typeof ht.payload == "string" ? JSON.parse(ht.payload) : ht.payload;
47953
47955
  } catch {
47954
- sr = { productName: me.title };
47956
+ sr = { productName: ge.title };
47955
47957
  }
47956
47958
  return /* @__PURE__ */ F.jsx(
47957
47959
  "button",
47958
47960
  {
47959
47961
  className: "mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",
47960
47962
  onClick: () => {
47961
- ht.action === "Open URL" ? window.open(ht.url, "_blank") : ht.title === "scan" ? fetch(me.image).then((en) => en.blob()).then((en) => {
47963
+ ht.action === "Open URL" ? window.open(ht.url, "_blank") : ht.title === "scan" ? fetch(ge.image).then((en) => en.blob()).then((en) => {
47962
47964
  const Ts = URL.createObjectURL(en), Ut = document.createElement("a");
47963
47965
  Ut.href = Ts, Ut.download = "qrcode.png", document.body.appendChild(Ut), Ut.click(), document.body.removeChild(Ut), URL.revokeObjectURL(Ts);
47964
47966
  }).catch(() => {
@@ -47980,10 +47982,10 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47980
47982
  return /* @__PURE__ */ F.jsx("div", { className: "mt-2 w-full", children: /* @__PURE__ */ F.jsx("div", { className: "grid grid-cols-1 gap-3", children: /* @__PURE__ */ F.jsxs("div", { className: "flex-shrink-0 border rounded-lg p-3 shadow-md", style: { background: ne }, children: [
47981
47983
  M.image && /* @__PURE__ */ F.jsx("img", { src: M.image, alt: M.title, className: "h-32 w-full object-cover rounded-md mb-2" }),
47982
47984
  /* @__PURE__ */ F.jsx("h3", { className: "text-sm font-bold", children: M.title }),
47983
- M.actions?.map((me, xe) => {
47985
+ M.actions?.map((ge, xe) => {
47984
47986
  let ht;
47985
47987
  try {
47986
- ht = typeof me.payload == "string" ? JSON.parse(me.payload) : me.payload;
47988
+ ht = typeof ge.payload == "string" ? JSON.parse(ge.payload) : ge.payload;
47987
47989
  } catch {
47988
47990
  ht = { productName: M.title };
47989
47991
  }
@@ -47992,7 +47994,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
47992
47994
  {
47993
47995
  className: "mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",
47994
47996
  onClick: () => {
47995
- me.action === "Open URL" ? window.open(me.url, "_blank") : me.title === "scan" ? M.image && fetch(M.image).then((Un) => Un.blob()).then((Un) => {
47997
+ ge.action === "Open URL" ? window.open(ge.url, "_blank") : ge.title === "scan" ? M.image && fetch(M.image).then((Un) => Un.blob()).then((Un) => {
47996
47998
  const sr = URL.createObjectURL(Un), en = document.createElement("a");
47997
47999
  en.href = sr, en.download = "qrcode.png", document.body.appendChild(en), en.click(), document.body.removeChild(en), URL.revokeObjectURL(sr);
47998
48000
  }).catch(() => {
@@ -48004,7 +48006,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48004
48006
  borderRadius: `${C}px`,
48005
48007
  color: G
48006
48008
  },
48007
- children: me.title
48009
+ children: ge.title
48008
48010
  },
48009
48011
  xe
48010
48012
  );
@@ -48013,7 +48015,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48013
48015
  }
48014
48016
  }, Fn = async (M) => {
48015
48017
  if (!an) return;
48016
- const fe = await fetch(`${P0}/endusers/get-by-username`, {
48018
+ const he = await fetch(`${P0}/endusers/get-by-username`, {
48017
48019
  headers: {
48018
48020
  Authorization: `Bearer ${e?.token}`,
48019
48021
  "Content-Type": "application/json"
@@ -48021,40 +48023,40 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48021
48023
  method: "POST",
48022
48024
  body: JSON.stringify({ username: `web_user_${M}` })
48023
48025
  });
48024
- if (!fe.ok)
48025
- throw new Error(`HTTP error! status: ${fe.status}`);
48026
- return (await fe.json()).id;
48026
+ if (!he.ok)
48027
+ throw new Error(`HTTP error! status: ${he.status}`);
48028
+ return (await he.json()).id;
48027
48029
  }, ji = async (M) => {
48028
48030
  if (!an) return;
48029
- const fe = await Fn(M);
48030
- let me;
48031
- _n && (me = {
48031
+ const he = await Fn(M);
48032
+ let ge;
48033
+ _n && (ge = {
48032
48034
  last_name: _n.split(" ")[1] || _n.split(" ")[0] || `web_user_${M}`,
48033
48035
  first_name: _n.split(" ")[0] || `web_user_${M}`
48034
- }), Ha && (me = {
48035
- ...me,
48036
+ }), Ha && (ge = {
48037
+ ...ge,
48036
48038
  phone: Ha
48037
- }), wt && (me = {
48038
- ...me,
48039
+ }), wt && (ge = {
48040
+ ...ge,
48039
48041
  email: wt
48040
48042
  });
48041
- const xe = await fetch(`${P0}/endusers/${fe}`, {
48043
+ const xe = await fetch(`${P0}/endusers/${he}`, {
48042
48044
  headers: {
48043
48045
  Authorization: `Bearer ${e?.token}`,
48044
48046
  "Content-Type": "application/json"
48045
48047
  },
48046
48048
  method: "PUT",
48047
- body: JSON.stringify(me)
48049
+ body: JSON.stringify(ge)
48048
48050
  });
48049
48051
  if (!xe.ok)
48050
48052
  throw new Error(`HTTP error! status: ${xe.status}`);
48051
48053
  return await xe.json();
48052
48054
  }, ws = async (M) => {
48053
48055
  M.preventDefault();
48054
- const fe = new Uint8Array(16);
48055
- window.crypto.getRandomValues(fe);
48056
- const me = Array.from(fe).map((xe) => xe.toString(16).padStart(2, "0")).join("");
48057
- la(me), localStorage.setItem("conversationId", me), localStorage.setItem("webChatAuth", "true"), ir(!0);
48056
+ const he = new Uint8Array(16);
48057
+ window.crypto.getRandomValues(he);
48058
+ const ge = Array.from(he).map((xe) => xe.toString(16).padStart(2, "0")).join("");
48059
+ la(ge), localStorage.setItem("conversationId", ge), localStorage.setItem("webChatAuth", "true"), ir(!0);
48058
48060
  }, Or = `linear-gradient(to bottom right, ${y}, ${h}, ${y})`, Hi = `linear-gradient(to right, ${h}, ${m})`, Gi = `linear-gradient(to right, ${E}, ${v})`;
48059
48061
  return p || !u ? null : /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
48060
48062
  /* @__PURE__ */ F.jsxs(
@@ -48170,7 +48172,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48170
48172
  scrollbarColor: `${h} transparent`
48171
48173
  },
48172
48174
  children: [
48173
- ut.map((M) => /* @__PURE__ */ F.jsxs("div", { className: `flex items-start gap-3 ${M.sender === "user" ? "flex-row-reverse" : ""}`, children: [
48175
+ ut.map((M) => /* @__PURE__ */ F.jsxs("div", { className: `flex ${M.sender === "agent" ? "flex-col sm:flex-row" : ""} items-start gap-3 ${M.sender === "user" ? "flex-row-reverse" : ""}`, children: [
48174
48176
  /* @__PURE__ */ F.jsx(
48175
48177
  "div",
48176
48178
  {
@@ -48182,16 +48184,16 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48182
48184
  }
48183
48185
  ),
48184
48186
  /* @__PURE__ */ F.jsxs("div", { className: `flex flex-col flex-1 ${M.sender === "user" ? "items-end" : "items-start"}`, children: [
48185
- M.attachments && M.attachments.length > 0 && /* @__PURE__ */ F.jsx("div", { className: "flex flex-col items-end w-[88%] mb-2 space-y-2", children: M.attachments.map((fe) => /* @__PURE__ */ F.jsx(
48187
+ M.attachments && M.attachments.length > 0 && /* @__PURE__ */ F.jsx("div", { className: "flex flex-col items-end w-[88%] mb-2 space-y-2", children: M.attachments.map((he) => /* @__PURE__ */ F.jsx(
48186
48188
  fW,
48187
48189
  {
48188
- attachment: fe,
48190
+ attachment: he,
48189
48191
  formatFileSize: Ct,
48190
48192
  mainColor: h,
48191
48193
  secondaryColor: m,
48192
48194
  controlsColor: w
48193
48195
  },
48194
- fe.id
48196
+ he.id
48195
48197
  )) }),
48196
48198
  M.content && M.sender === "user" ? /* @__PURE__ */ F.jsx(
48197
48199
  "div",
@@ -48208,7 +48210,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48208
48210
  children: /* @__PURE__ */ F.jsx(Vo, { remarkPlugins: [_o], components: Xn, children: typeof M.content == "string" ? M.content.replace(/\n/g, `
48209
48211
  `) : "" })
48210
48212
  }
48211
- ) : typeof M.content == "object" ? M.content.map((fe, me) => /* @__PURE__ */ F.jsx(
48213
+ ) : typeof M.content == "object" ? M.content.map((he, ge) => /* @__PURE__ */ F.jsx(
48212
48214
  "div",
48213
48215
  {
48214
48216
  className: "mb-1 px-4 py-2 backdrop-blur-sm break-words w-fit",
@@ -48220,9 +48222,9 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48220
48222
  background: ne,
48221
48223
  color: $
48222
48224
  },
48223
- children: Va(fe)
48225
+ children: Va(he)
48224
48226
  },
48225
- me
48227
+ ge
48226
48228
  )) : /* @__PURE__ */ F.jsx(
48227
48229
  "div",
48228
48230
  {
@@ -48239,15 +48241,15 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48239
48241
  `) : "" })
48240
48242
  }
48241
48243
  ),
48242
- /* @__PURE__ */ F.jsx("span", { className: "text-[10px] sm:text-xs mt-1", style: { color: w }, children: M.timestamp.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) })
48244
+ /* @__PURE__ */ F.jsx("span", { className: "ml-1 text-[10px] sm:text-xs mt-1", style: { color: w }, children: M.timestamp.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) })
48243
48245
  ] })
48244
48246
  ] }, M.id)),
48245
- ge && /* @__PURE__ */ F.jsxs("div", { className: "flex items-start gap-3", children: [
48246
- /* @__PURE__ */ F.jsx("div", { className: "w-8 h-8 rounded-full bg-gradient-to-r flex items-center justify-center", style: { background: `linear-gradient(to right, ${m}, ${h})` }, children: /* @__PURE__ */ F.jsx(mT, { className: "w-4 h-4 text-white" }) }),
48247
- /* @__PURE__ */ F.jsx("div", { className: "px-4 py-3 rounded-2xl", style: { background: ne, color: $ }, children: /* @__PURE__ */ F.jsxs("div", { className: "flex space-x-1", children: [
48248
- /* @__PURE__ */ F.jsx("div", { className: "w-2 h-2 rounded-full animate-bounce", style: { background: $ } }),
48249
- /* @__PURE__ */ F.jsx("div", { className: "w-2 h-2 rounded-full animate-bounce", style: { background: $, animationDelay: "0.1s" } }),
48250
- /* @__PURE__ */ F.jsx("div", { className: "w-2 h-2 rounded-full animate-bounce", style: { background: $, animationDelay: "0.2s" } })
48247
+ fe && /* @__PURE__ */ F.jsxs("div", { className: "flex items-start gap-3", children: [
48248
+ /* @__PURE__ */ F.jsx("div", { className: "sm:size-8 size-7 rounded-full bg-gradient-to-r flex items-center justify-center", style: { background: re }, children: /* @__PURE__ */ F.jsx(mT, { className: "sm:size-4 size-3", style: { color: q } }) }),
48249
+ /* @__PURE__ */ F.jsx("div", { className: "px-4 py-2", style: { background: ne, color: $, borderRadius: `${C}px` }, children: /* @__PURE__ */ F.jsxs("div", { className: "flex space-x-1", children: [
48250
+ /* @__PURE__ */ F.jsx("div", { className: "size-1 sm:size-2 rounded-full animate-bounce", style: { background: $ } }),
48251
+ /* @__PURE__ */ F.jsx("div", { className: "size-1 sm:size-2 rounded-full animate-bounce", style: { background: $, animationDelay: "0.1s" } }),
48252
+ /* @__PURE__ */ F.jsx("div", { className: "size-1 sm:size-2 rounded-full animate-bounce", style: { background: $, animationDelay: "0.2s" } })
48251
48253
  ] }) })
48252
48254
  ] })
48253
48255
  ]
@@ -48323,13 +48325,13 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48323
48325
  id: "upload-button-toggle",
48324
48326
  type: "button",
48325
48327
  onClick: () => qe((M) => !M),
48326
- className: "absolute left-1 bottom-3 w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200 z-10 hover:bg-opacity-10",
48328
+ className: "absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10 hover:bg-opacity-10",
48327
48329
  style: {
48328
48330
  color: w
48329
48331
  },
48330
48332
  onMouseEnter: (M) => M.currentTarget.style.background = h,
48331
48333
  onMouseLeave: (M) => M.currentTarget.style.background = "",
48332
- children: /* @__PURE__ */ F.jsx(Tq, { className: `w-5 h-5 transition-transform duration-200 ${at ? "rotate-45" : ""}` })
48334
+ children: /* @__PURE__ */ F.jsx(Tq, { className: `size-4 sm:size-5 transition-transform duration-200 ${at ? "rotate-45" : ""}` })
48333
48335
  }
48334
48336
  ),
48335
48337
  /* @__PURE__ */ F.jsx(
@@ -48339,13 +48341,13 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48339
48341
  onClick: () => {
48340
48342
  dt();
48341
48343
  },
48342
- className: "absolute right-1 bottom-3 w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48344
+ className: "absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48343
48345
  style: {
48344
48346
  color: w
48345
48347
  },
48346
48348
  onMouseEnter: (M) => M.currentTarget.style.background = h,
48347
48349
  onMouseLeave: (M) => M.currentTarget.style.background = "",
48348
- children: /* @__PURE__ */ F.jsx(bq, { className: "w-5 h-5" })
48350
+ children: /* @__PURE__ */ F.jsx(bq, { className: "size-4 sm:size-5" })
48349
48351
  }
48350
48352
  )
48351
48353
  ] })
@@ -48359,8 +48361,8 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48359
48361
  onClick: () => {
48360
48362
  J.current = !0, gt();
48361
48363
  },
48362
- className: "absolute left-1 bottom-3 w-9 h-9 hover:bg-red-100 hover:bg-opacity-50 rounded-full flex items-center justify-center text-red-500 hover:text-red-600 z-10 after:w-2 after:h-2 after:bg-red-500 after:absolute after:rounded-full after:top-1/2 after:-right-3 after:-translate-y-1/2 after:animate-bounce",
48363
- children: /* @__PURE__ */ F.jsx(Dq, { className: "w-5 h-5" })
48364
+ className: "absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 hover:bg-red-100 hover:bg-opacity-50 rounded-full flex items-center justify-center text-red-500 hover:text-red-600 z-10 after:w-2 after:h-2 after:bg-red-500 after:absolute after:rounded-full after:top-1/2 after:-right-3 after:-translate-y-1/2 after:animate-bounce",
48365
+ children: /* @__PURE__ */ F.jsx(Dq, { className: "size-4 sm:size-5" })
48364
48366
  }
48365
48367
  ),
48366
48368
  /* @__PURE__ */ F.jsx(
@@ -48370,9 +48372,9 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48370
48372
  onClick: () => {
48371
48373
  Ie ? (Fe(!1), Ft()) : (Fe(!0), xt());
48372
48374
  },
48373
- className: "absolute right-11 bottom-3 w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48375
+ className: "absolute right-11 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48374
48376
  style: { color: w },
48375
- children: Ie ? /* @__PURE__ */ F.jsx(lq, { className: "w-7 h-7" }) : /* @__PURE__ */ F.jsx(oq, { className: "w-7 h-7" })
48377
+ children: Ie ? /* @__PURE__ */ F.jsx(lq, { className: "size-6 sm:size-7" }) : /* @__PURE__ */ F.jsx(oq, { className: "size-6 sm:size-7" })
48376
48378
  }
48377
48379
  ),
48378
48380
  /* @__PURE__ */ F.jsxs("div", { className: "absolute left-16 bottom-4 flex items-center gap-4 z-10 ", style: { color: w }, children: [
@@ -48386,9 +48388,9 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48386
48388
  onClick: () => {
48387
48389
  gt();
48388
48390
  },
48389
- className: "absolute right-1 bottom-3 w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48391
+ className: "absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
48390
48392
  style: { color: w, background: "green" },
48391
- children: /* @__PURE__ */ F.jsx(aq, { className: "w-5 h-5" })
48393
+ children: /* @__PURE__ */ F.jsx(aq, { className: "size-4 sm:size-5" })
48392
48394
  }
48393
48395
  )
48394
48396
  ] })
@@ -48460,7 +48462,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48460
48462
  {
48461
48463
  id: "message-input",
48462
48464
  ref: Ga,
48463
- className: `w-full pt-4 px-12 resize-none focus:outline-none backdrop-blur-sm ${Xe === "recording" || Xe === "paused" ? "cursor-default" : ""}`,
48465
+ className: `w-full pt-3 text-xs sm:text-sm sm:pt-4 px-12 resize-none min-h-10 sm:min-h-12 max-h-32 overflow-y-auto focus:outline-none backdrop-blur-sm ${Xe === "recording" || Xe === "paused" ? "cursor-default" : ""}`,
48464
48466
  value: Xe === "recording" || Xe === "paused" ? "" : Et,
48465
48467
  onChange: (M) => jt(M.target.value),
48466
48468
  placeholder: Xe === "recording" || Xe === "paused" ? "" : "Type your message...",
@@ -48469,9 +48471,6 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48469
48471
  M.key === "Enter" && !M.shiftKey && (M.preventDefault(), or());
48470
48472
  },
48471
48473
  style: {
48472
- minHeight: "48px",
48473
- maxHeight: "120px",
48474
- overflowY: "auto",
48475
48474
  borderRadius: `${R}px`,
48476
48475
  background: A,
48477
48476
  color: w,