@mypatientspace/chatbot-widget 1.0.4 → 1.0.5

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.
@@ -44,7 +44,7 @@ var h0;
44
44
  function Dh() {
45
45
  return h0 || (h0 = 1, Lf.exports = Ch()), Lf.exports;
46
46
  }
47
- var k = Dh(), Zf = { exports: {} }, Qn = {}, Vf = { exports: {} }, wf = {};
47
+ var $ = Dh(), Zf = { exports: {} }, Qn = {}, Vf = { exports: {} }, wf = {};
48
48
  var v0;
49
49
  function Uh() {
50
50
  return v0 || (v0 = 1, (function(i) {
@@ -987,7 +987,7 @@ function jh() {
987
987
  var l = G.current, e = Yd(l, t.type);
988
988
  l !== e && (B(lt, t), B(G, e));
989
989
  }
990
- function $n(t) {
990
+ function kn(t) {
991
991
  lt.current === t && (C(G), C(lt)), vt.current === t && (C(vt), jn._currentValue = F);
992
992
  }
993
993
  var zi, dr;
@@ -1132,7 +1132,7 @@ Error generating stack: ` + a.message + `
1132
1132
  ` + a.stack;
1133
1133
  }
1134
1134
  }
1135
- var xi = Object.prototype.hasOwnProperty, Oi = i.unstable_scheduleCallback, Mi = i.unstable_cancelCallback, uy = i.unstable_shouldYield, iy = i.unstable_requestPaint, dl = i.unstable_now, cy = i.unstable_getCurrentPriorityLevel, mr = i.unstable_ImmediatePriority, hr = i.unstable_UserBlockingPriority, kn = i.unstable_NormalPriority, fy = i.unstable_LowPriority, vr = i.unstable_IdlePriority, ry = i.log, oy = i.unstable_setDisableYieldValue, Ja = null, yl = null;
1135
+ var xi = Object.prototype.hasOwnProperty, Oi = i.unstable_scheduleCallback, Mi = i.unstable_cancelCallback, uy = i.unstable_shouldYield, iy = i.unstable_requestPaint, dl = i.unstable_now, cy = i.unstable_getCurrentPriorityLevel, mr = i.unstable_ImmediatePriority, hr = i.unstable_UserBlockingPriority, $n = i.unstable_NormalPriority, fy = i.unstable_LowPriority, vr = i.unstable_IdlePriority, ry = i.log, oy = i.unstable_setDisableYieldValue, Ja = null, yl = null;
1136
1136
  function de(t) {
1137
1137
  if (typeof ry == "function" && oy(t), yl && typeof yl.setStrictMode == "function")
1138
1138
  try {
@@ -1208,7 +1208,7 @@ Error generating stack: ` + a.message + `
1208
1208
  var r = a & 134217727;
1209
1209
  return r !== 0 ? (a = r & ~u, a !== 0 ? n = Ge(a) : (c &= r, c !== 0 ? n = Ge(c) : e || (e = r & ~t, e !== 0 && (n = Ge(e))))) : (r = a & ~u, r !== 0 ? n = Ge(r) : c !== 0 ? n = Ge(c) : e || (e = a & ~t, e !== 0 && (n = Ge(e)))), n === 0 ? 0 : l !== 0 && l !== n && (l & u) === 0 && (u = n & -n, e = l & -l, u >= e || u === 32 && (e & 4194048) !== 0) ? l : n;
1210
1210
  }
1211
- function $a(t, l) {
1211
+ function ka(t, l) {
1212
1212
  return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & l) === 0;
1213
1213
  }
1214
1214
  function my(t, l) {
@@ -1260,7 +1260,7 @@ Error generating stack: ` + a.message + `
1260
1260
  for (var l = [], e = 0; 31 > e; e++) l.push(t);
1261
1261
  return l;
1262
1262
  }
1263
- function ka(t, l) {
1263
+ function $a(t, l) {
1264
1264
  t.pendingLanes |= l, l !== 268435456 && (t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0);
1265
1265
  }
1266
1266
  function hy(t, l, e, a, n, u) {
@@ -1818,8 +1818,8 @@ Error generating stack: ` + a.message + `
1818
1818
  );
1819
1819
  return e;
1820
1820
  }
1821
- var $l = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Qi = !1;
1822
- if ($l)
1821
+ var kl = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Qi = !1;
1822
+ if (kl)
1823
1823
  try {
1824
1824
  var Pa = {};
1825
1825
  Object.defineProperty(Pa, "passive", {
@@ -2036,13 +2036,13 @@ Error generating stack: ` + a.message + `
2036
2036
  }), Ky = ul(wy), Jy = D({}, Qe, {
2037
2037
  newState: 0,
2038
2038
  oldState: 0
2039
- }), $y = ul(Jy), ky = [9, 13, 27, 32], Ji = $l && "CompositionEvent" in window, en = null;
2040
- $l && "documentMode" in document && (en = document.documentMode);
2041
- var Wy = $l && "TextEvent" in window && !en, Lr = $l && (!Ji || en && 8 < en && 11 >= en), Zr = " ", Vr = !1;
2039
+ }), ky = ul(Jy), $y = [9, 13, 27, 32], Ji = kl && "CompositionEvent" in window, en = null;
2040
+ kl && "documentMode" in document && (en = document.documentMode);
2041
+ var Wy = kl && "TextEvent" in window && !en, Lr = kl && (!Ji || en && 8 < en && 11 >= en), Zr = " ", Vr = !1;
2042
2042
  function wr(t, l) {
2043
2043
  switch (t) {
2044
2044
  case "keyup":
2045
- return ky.indexOf(l.keyCode) !== -1;
2045
+ return $y.indexOf(l.keyCode) !== -1;
2046
2046
  case "keydown":
2047
2047
  return l.keyCode !== 229;
2048
2048
  case "keypress":
@@ -2109,7 +2109,7 @@ Error generating stack: ` + a.message + `
2109
2109
  var l = t && t.nodeName && t.nodeName.toLowerCase();
2110
2110
  return l === "input" ? !!Py[t.type] : l === "textarea";
2111
2111
  }
2112
- function $r(t, l, e, a) {
2112
+ function kr(t, l, e, a) {
2113
2113
  oa ? sa ? sa.push(a) : sa = [a] : oa = a, l = Fu(l, "onChange"), 0 < l.length && (e = new cu(
2114
2114
  "onChange",
2115
2115
  "change",
@@ -2126,21 +2126,21 @@ Error generating stack: ` + a.message + `
2126
2126
  var l = Fa(t);
2127
2127
  if (Cr(l)) return t;
2128
2128
  }
2129
- function kr(t, l) {
2129
+ function $r(t, l) {
2130
2130
  if (t === "change") return l;
2131
2131
  }
2132
2132
  var Wr = !1;
2133
- if ($l) {
2134
- var $i;
2135
- if ($l) {
2136
- var ki = "oninput" in document;
2137
- if (!ki) {
2133
+ if (kl) {
2134
+ var ki;
2135
+ if (kl) {
2136
+ var $i = "oninput" in document;
2137
+ if (!$i) {
2138
2138
  var Fr = document.createElement("div");
2139
- Fr.setAttribute("oninput", "return;"), ki = typeof Fr.oninput == "function";
2139
+ Fr.setAttribute("oninput", "return;"), $i = typeof Fr.oninput == "function";
2140
2140
  }
2141
- $i = ki;
2142
- } else $i = !1;
2143
- Wr = $i && (!document.documentMode || 9 < document.documentMode);
2141
+ ki = $i;
2142
+ } else ki = !1;
2143
+ Wr = ki && (!document.documentMode || 9 < document.documentMode);
2144
2144
  }
2145
2145
  function Ir() {
2146
2146
  an && (an.detachEvent("onpropertychange", Pr), nn = an = null);
@@ -2148,7 +2148,7 @@ Error generating stack: ` + a.message + `
2148
2148
  function Pr(t) {
2149
2149
  if (t.propertyName === "value" && ru(nn)) {
2150
2150
  var l = [];
2151
- $r(
2151
+ kr(
2152
2152
  l,
2153
2153
  nn,
2154
2154
  t,
@@ -2234,7 +2234,7 @@ Error generating stack: ` + a.message + `
2234
2234
  var l = t && t.nodeName && t.nodeName.toLowerCase();
2235
2235
  return l && (l === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || l === "textarea" || t.contentEditable === "true");
2236
2236
  }
2237
- var im = $l && "documentMode" in document && 11 >= document.documentMode, ya = null, Fi = null, cn = null, Ii = !1;
2237
+ var im = kl && "documentMode" in document && 11 >= document.documentMode, ya = null, Fi = null, cn = null, Ii = !1;
2238
2238
  function no(t, l, e) {
2239
2239
  var a = e.window === e ? e.document : e.nodeType === 9 ? e : e.ownerDocument;
2240
2240
  Ii || ya == null || ya !== eu(a) || (a = ya, "selectionStart" in a && Wi(a) ? a = { start: a.selectionStart, end: a.selectionEnd } : (a = (a.ownerDocument && a.ownerDocument.defaultView || window).getSelection(), a = {
@@ -2263,7 +2263,7 @@ Error generating stack: ` + a.message + `
2263
2263
  transitioncancel: Le("Transition", "TransitionCancel"),
2264
2264
  transitionend: Le("Transition", "TransitionEnd")
2265
2265
  }, Pi = {}, uo = {};
2266
- $l && (uo = document.createElement("div").style, "AnimationEvent" in window || (delete ma.animationend.animation, delete ma.animationiteration.animation, delete ma.animationstart.animation), "TransitionEvent" in window || delete ma.transitionend.transition);
2266
+ kl && (uo = document.createElement("div").style, "AnimationEvent" in window || (delete ma.animationend.animation, delete ma.animationiteration.animation, delete ma.animationstart.animation), "TransitionEvent" in window || delete ma.transitionend.transition);
2267
2267
  function Ze(t) {
2268
2268
  if (Pi[t]) return Pi[t];
2269
2269
  if (!ma[t]) return t;
@@ -2345,7 +2345,7 @@ Error generating stack: ` + a.message + `
2345
2345
  function ac(t) {
2346
2346
  return t = t.prototype, !(!t || !t.isReactComponent);
2347
2347
  }
2348
- function kl(t, l) {
2348
+ function $l(t, l) {
2349
2349
  var e = t.alternate;
2350
2350
  return e === null ? (e = vl(
2351
2351
  t.tag,
@@ -2672,14 +2672,14 @@ Error generating stack: ` + a.message + `
2672
2672
  }
2673
2673
  return !1;
2674
2674
  }
2675
- function $e(t) {
2675
+ function ke(t) {
2676
2676
  Je = t, Fl = null, t = t.dependencies, t !== null && (t.firstContext = null);
2677
2677
  }
2678
- function $t(t) {
2678
+ function kt(t) {
2679
2679
  return So(Je, t);
2680
2680
  }
2681
2681
  function gu(t, l) {
2682
- return Je === null && $e(t), So(t, l);
2682
+ return Je === null && ke(t), So(t, l);
2683
2683
  }
2684
2684
  function So(t, l) {
2685
2685
  var e = l._currentValue;
@@ -2767,13 +2767,13 @@ Error generating stack: ` + a.message + `
2767
2767
  A.S = function(t, l) {
2768
2768
  ud = dl(), typeof l == "object" && l !== null && typeof l.then == "function" && mm(t, l), Eo !== null && Eo(t, l);
2769
2769
  };
2770
- var ke = m(null);
2770
+ var $e = m(null);
2771
2771
  function hc() {
2772
- var t = ke.current;
2772
+ var t = $e.current;
2773
2773
  return t !== null ? t : Ot.pooledCache;
2774
2774
  }
2775
2775
  function bu(t, l) {
2776
- l === null ? B(ke, ke.current) : B(ke, l.pool);
2776
+ l === null ? B($e, $e.current) : B($e, l.pool);
2777
2777
  }
2778
2778
  function zo() {
2779
2779
  var t = hc();
@@ -2872,7 +2872,7 @@ Error generating stack: ` + a.message + `
2872
2872
  return y;
2873
2873
  }
2874
2874
  function n(v, y) {
2875
- return v = kl(v, y), v.index = 0, v.sibling = null, v;
2875
+ return v = $l(v, y), v.index = 0, v.sibling = null, v;
2876
2876
  }
2877
2877
  function u(v, y, b) {
2878
2878
  return v.index = b, t ? (b = v.alternate, b !== null ? (b = b.index, b < y ? (v.flags |= 67108866, y) : b) : (v.flags |= 67108866, y)) : (v.flags |= 1048576, y);
@@ -3078,7 +3078,7 @@ Error generating stack: ` + a.message + `
3078
3078
  return l(v, je);
3079
3079
  }), ot && Wl(v, at), K;
3080
3080
  }
3081
- function $(v, y, b, _) {
3081
+ function k(v, y, b, _) {
3082
3082
  if (b == null) throw Error(o(151));
3083
3083
  for (var K = null, st = null, X = y, at = y = 0, rt = null, dt = b.next(); X !== null && !dt.done; at++, dt = b.next()) {
3084
3084
  X.index > at ? (rt = X, X = null) : rt = X.sibling;
@@ -3184,7 +3184,7 @@ Error generating stack: ` + a.message + `
3184
3184
  );
3185
3185
  if (al(b)) {
3186
3186
  if (K = al(b), typeof K != "function") throw Error(o(150));
3187
- return b = K.call(b), $(
3187
+ return b = K.call(b), k(
3188
3188
  v,
3189
3189
  y,
3190
3190
  b,
@@ -3324,12 +3324,12 @@ Error generating stack: ` + a.message + `
3324
3324
  next: null
3325
3325
  });
3326
3326
  t: {
3327
- var Y = t, $ = r;
3327
+ var Y = t, k = r;
3328
3328
  S = l;
3329
3329
  var _t = e;
3330
- switch ($.tag) {
3330
+ switch (k.tag) {
3331
3331
  case 1:
3332
- if (Y = $.payload, typeof Y == "function") {
3332
+ if (Y = k.payload, typeof Y == "function") {
3333
3333
  M = Y.call(_t, M, S);
3334
3334
  break t;
3335
3335
  }
@@ -3338,7 +3338,7 @@ Error generating stack: ` + a.message + `
3338
3338
  case 3:
3339
3339
  Y.flags = Y.flags & -65537 | 128;
3340
3340
  case 0:
3341
- if (Y = $.payload, S = typeof Y == "function" ? Y.call(_t, M, S) : Y, S == null) break t;
3341
+ if (Y = k.payload, S = typeof Y == "function" ? Y.call(_t, M, S) : Y, S == null) break t;
3342
3342
  M = D({}, M, S);
3343
3343
  break t;
3344
3344
  case 2:
@@ -3522,7 +3522,7 @@ Error generating stack: ` + a.message + `
3522
3522
  function Mu(t) {
3523
3523
  if (t !== null && typeof t == "object") {
3524
3524
  if (typeof t.then == "function") return bn(t);
3525
- if (t.$$typeof === L) return $t(t);
3525
+ if (t.$$typeof === L) return kt(t);
3526
3526
  }
3527
3527
  throw Error(o(438, String(t)));
3528
3528
  }
@@ -3777,7 +3777,7 @@ Error generating stack: ` + a.message + `
3777
3777
  function Jo(t, l) {
3778
3778
  return l;
3779
3779
  }
3780
- function $o(t, l) {
3780
+ function ko(t, l) {
3781
3781
  if (ot) {
3782
3782
  var e = Ot.formState;
3783
3783
  if (e !== null) {
@@ -3842,7 +3842,7 @@ Error generating stack: ` + a.message + `
3842
3842
  e
3843
3843
  ), n.dispatch = e, a.memoizedState = t, [l, e, !1];
3844
3844
  }
3845
- function ko(t) {
3845
+ function $o(t) {
3846
3846
  var l = Bt();
3847
3847
  return Wo(l, zt, t);
3848
3848
  }
@@ -4072,7 +4072,7 @@ Error generating stack: ` + a.message + `
4072
4072
  );
4073
4073
  }
4074
4074
  function Yc() {
4075
- return $t(jn);
4075
+ return kt(jn);
4076
4076
  }
4077
4077
  function ss() {
4078
4078
  return Bt().memoizedState;
@@ -4170,7 +4170,7 @@ Error generating stack: ` + a.message + `
4170
4170
  }
4171
4171
  }
4172
4172
  var Sn = {
4173
- readContext: $t,
4173
+ readContext: kt,
4174
4174
  use: Mu,
4175
4175
  useCallback: Rt,
4176
4176
  useContext: Rt,
@@ -4196,7 +4196,7 @@ Error generating stack: ` + a.message + `
4196
4196
  };
4197
4197
  Sn.useEffectEvent = Rt;
4198
4198
  var vs = {
4199
- readContext: $t,
4199
+ readContext: kt,
4200
4200
  use: Mu,
4201
4201
  useCallback: function(t, l) {
4202
4202
  return ll().memoizedState = [
@@ -4204,7 +4204,7 @@ Error generating stack: ` + a.message + `
4204
4204
  l === void 0 ? null : l
4205
4205
  ], t;
4206
4206
  },
4207
- useContext: $t,
4207
+ useContext: kt,
4208
4208
  useEffect: Po,
4209
4209
  useImperativeHandle: function(t, l, e) {
4210
4210
  e = e != null ? e.concat([t]) : null, Du(
@@ -4321,8 +4321,8 @@ Error generating stack: ` + a.message + `
4321
4321
  return t.memoizedState = l;
4322
4322
  },
4323
4323
  useHostTransitionStatus: Yc,
4324
- useFormState: $o,
4325
- useActionState: $o,
4324
+ useFormState: ko,
4325
+ useActionState: ko,
4326
4326
  useOptimistic: function(t) {
4327
4327
  var l = ll();
4328
4328
  l.memoizedState = l.baseState = t;
@@ -4356,10 +4356,10 @@ Error generating stack: ` + a.message + `
4356
4356
  };
4357
4357
  }
4358
4358
  }, Xc = {
4359
- readContext: $t,
4359
+ readContext: kt,
4360
4360
  use: Mu,
4361
4361
  useCallback: us,
4362
- useContext: $t,
4362
+ useContext: kt,
4363
4363
  useEffect: Hc,
4364
4364
  useImperativeHandle: ns,
4365
4365
  useInsertionEffect: ls,
@@ -4390,8 +4390,8 @@ Error generating stack: ` + a.message + `
4390
4390
  useSyncExternalStore: jo,
4391
4391
  useId: ss,
4392
4392
  useHostTransitionStatus: Yc,
4393
- useFormState: ko,
4394
- useActionState: ko,
4393
+ useFormState: $o,
4394
+ useActionState: $o,
4395
4395
  useOptimistic: function(t, l) {
4396
4396
  var e = Bt();
4397
4397
  return Lo(e, zt, t, l);
@@ -4401,10 +4401,10 @@ Error generating stack: ` + a.message + `
4401
4401
  };
4402
4402
  Xc.useEffectEvent = ts;
4403
4403
  var gs = {
4404
- readContext: $t,
4404
+ readContext: kt,
4405
4405
  use: Mu,
4406
4406
  useCallback: us,
4407
- useContext: $t,
4407
+ useContext: kt,
4408
4408
  useEffect: Hc,
4409
4409
  useImperativeHandle: ns,
4410
4410
  useInsertionEffect: ls,
@@ -4598,7 +4598,7 @@ Error generating stack: ` + a.message + `
4598
4598
  return !1;
4599
4599
  }
4600
4600
  var Vc = Error(o(461)), Xt = !1;
4601
- function kt(t, l, e, a) {
4601
+ function $t(t, l, e, a) {
4602
4602
  l.child = t === null ? Co(l, null, e, a) : Ie(
4603
4603
  l,
4604
4604
  t.child,
@@ -4614,14 +4614,14 @@ Error generating stack: ` + a.message + `
4614
4614
  for (var r in a)
4615
4615
  r !== "ref" && (c[r] = a[r]);
4616
4616
  } else c = a;
4617
- return $e(l), a = _c(
4617
+ return ke(l), a = _c(
4618
4618
  t,
4619
4619
  l,
4620
4620
  e,
4621
4621
  c,
4622
4622
  u,
4623
4623
  n
4624
- ), r = xc(), t !== null && !Xt ? (Oc(t, l, n), le(t, l, n)) : (ot && r && ic(l), l.flags |= 1, kt(t, l, a, n), l.child);
4624
+ ), r = xc(), t !== null && !Xt ? (Oc(t, l, n), le(t, l, n)) : (ot && r && ic(l), l.flags |= 1, $t(t, l, a, n), l.child);
4625
4625
  }
4626
4626
  function Os(t, l, e, a, n) {
4627
4627
  if (t === null) {
@@ -4646,7 +4646,7 @@ Error generating stack: ` + a.message + `
4646
4646
  if (e = e.compare, e = e !== null ? e : un, e(c, a) && t.ref === l.ref)
4647
4647
  return le(t, l, n);
4648
4648
  }
4649
- return l.flags |= 1, t = kl(u, a), t.ref = l.ref, t.return = l, l.child = t;
4649
+ return l.flags |= 1, t = $l(u, a), t.ref = l.ref, t.return = l, l.child = t;
4650
4650
  }
4651
4651
  function Ms(t, l, e, a, n) {
4652
4652
  if (t !== null) {
@@ -4702,7 +4702,7 @@ Error generating stack: ` + a.message + `
4702
4702
  );
4703
4703
  } else
4704
4704
  u !== null ? (bu(l, u.cachePool), Ro(l, u), ze(), l.memoizedState = null) : (t !== null && bu(l, null), Tc(), ze());
4705
- return kt(t, l, n, e), l.child;
4705
+ return $t(t, l, n, e), l.child;
4706
4706
  }
4707
4707
  function Tn(t, l) {
4708
4708
  return t !== null && t.tag === 22 || l.stateNode !== null || (l.stateNode = {
@@ -4772,7 +4772,7 @@ Error generating stack: ` + a.message + `
4772
4772
  t = u.treeContext, Ct = Ul(c.nextSibling), Jt = l, ot = !0, ve = null, Cl = !1, t !== null && go(l, t), l = Hu(l, a), l.flags |= 4096;
4773
4773
  return l;
4774
4774
  }
4775
- return t = kl(t.child, {
4775
+ return t = $l(t.child, {
4776
4776
  mode: a.mode,
4777
4777
  children: a.children
4778
4778
  }), t.ref = l.ref, l.child = t, t.return = l, t;
@@ -4788,27 +4788,27 @@ Error generating stack: ` + a.message + `
4788
4788
  }
4789
4789
  }
4790
4790
  function wc(t, l, e, a, n) {
4791
- return $e(l), e = _c(
4791
+ return ke(l), e = _c(
4792
4792
  t,
4793
4793
  l,
4794
4794
  e,
4795
4795
  a,
4796
4796
  void 0,
4797
4797
  n
4798
- ), a = xc(), t !== null && !Xt ? (Oc(t, l, n), le(t, l, n)) : (ot && a && ic(l), l.flags |= 1, kt(t, l, e, n), l.child);
4798
+ ), a = xc(), t !== null && !Xt ? (Oc(t, l, n), le(t, l, n)) : (ot && a && ic(l), l.flags |= 1, $t(t, l, e, n), l.child);
4799
4799
  }
4800
4800
  function Rs(t, l, e, a, n, u) {
4801
- return $e(l), l.updateQueue = null, e = qo(
4801
+ return ke(l), l.updateQueue = null, e = qo(
4802
4802
  l,
4803
4803
  a,
4804
4804
  e,
4805
4805
  n
4806
- ), Ho(t), a = xc(), t !== null && !Xt ? (Oc(t, l, u), le(t, l, u)) : (ot && a && ic(l), l.flags |= 1, kt(t, l, e, u), l.child);
4806
+ ), Ho(t), a = xc(), t !== null && !Xt ? (Oc(t, l, u), le(t, l, u)) : (ot && a && ic(l), l.flags |= 1, $t(t, l, e, u), l.child);
4807
4807
  }
4808
4808
  function Ns(t, l, e, a, n) {
4809
- if ($e(l), l.stateNode === null) {
4809
+ if (ke(l), l.stateNode === null) {
4810
4810
  var u = va, c = e.contextType;
4811
- typeof c == "object" && c !== null && (u = $t(c)), u = new e(a, u), l.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null, u.updater = Lc, l.stateNode = u, u._reactInternals = l, u = l.stateNode, u.props = a, u.state = l.memoizedState, u.refs = {}, gc(l), c = e.contextType, u.context = typeof c == "object" && c !== null ? $t(c) : va, u.state = l.memoizedState, c = e.getDerivedStateFromProps, typeof c == "function" && (Qc(
4811
+ typeof c == "object" && c !== null && (u = kt(c)), u = new e(a, u), l.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null, u.updater = Lc, l.stateNode = u, u._reactInternals = l, u = l.stateNode, u.props = a, u.state = l.memoizedState, u.refs = {}, gc(l), c = e.contextType, u.context = typeof c == "object" && c !== null ? kt(c) : va, u.state = l.memoizedState, c = e.getDerivedStateFromProps, typeof c == "function" && (Qc(
4812
4812
  l,
4813
4813
  e,
4814
4814
  c,
@@ -4819,7 +4819,7 @@ Error generating stack: ` + a.message + `
4819
4819
  var r = l.memoizedProps, d = ta(e, r);
4820
4820
  u.props = d;
4821
4821
  var p = u.context, z = e.contextType;
4822
- c = va, typeof z == "object" && z !== null && (c = $t(z));
4822
+ c = va, typeof z == "object" && z !== null && (c = kt(z));
4823
4823
  var M = e.getDerivedStateFromProps;
4824
4824
  z = typeof M == "function" || typeof u.getSnapshotBeforeUpdate == "function", r = l.pendingProps !== r, z || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof u.componentWillReceiveProps != "function" || (r || p !== c) && ps(
4825
4825
  l,
@@ -4843,7 +4843,7 @@ Error generating stack: ` + a.message + `
4843
4843
  c
4844
4844
  )) ? (z || typeof u.UNSAFE_componentWillMount != "function" && typeof u.componentWillMount != "function" || (typeof u.componentWillMount == "function" && u.componentWillMount(), typeof u.UNSAFE_componentWillMount == "function" && u.UNSAFE_componentWillMount()), typeof u.componentDidMount == "function" && (l.flags |= 4194308)) : (typeof u.componentDidMount == "function" && (l.flags |= 4194308), l.memoizedProps = a, l.memoizedState = p), u.props = a, u.state = p, u.context = c, a = d) : (typeof u.componentDidMount == "function" && (l.flags |= 4194308), a = !1);
4845
4845
  } else {
4846
- u = l.stateNode, bc(t, l), c = l.memoizedProps, z = ta(e, c), u.props = z, M = l.pendingProps, S = u.context, p = e.contextType, d = va, typeof p == "object" && p !== null && (d = $t(p)), r = e.getDerivedStateFromProps, (p = typeof r == "function" || typeof u.getSnapshotBeforeUpdate == "function") || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof u.componentWillReceiveProps != "function" || (c !== M || S !== d) && ps(
4846
+ u = l.stateNode, bc(t, l), c = l.memoizedProps, z = ta(e, c), u.props = z, M = l.pendingProps, S = u.context, p = e.contextType, d = va, typeof p == "object" && p !== null && (d = kt(p)), r = e.getDerivedStateFromProps, (p = typeof r == "function" || typeof u.getSnapshotBeforeUpdate == "function") || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof u.componentWillReceiveProps != "function" || (c !== M || S !== d) && ps(
4847
4847
  l,
4848
4848
  u,
4849
4849
  a,
@@ -4879,14 +4879,14 @@ Error generating stack: ` + a.message + `
4879
4879
  null,
4880
4880
  e,
4881
4881
  n
4882
- )) : kt(t, l, e, n), l.memoizedState = u.state, t = l.child) : t = le(
4882
+ )) : $t(t, l, e, n), l.memoizedState = u.state, t = l.child) : t = le(
4883
4883
  t,
4884
4884
  l,
4885
4885
  n
4886
4886
  ), t;
4887
4887
  }
4888
4888
  function Hs(t, l, e, a) {
4889
- return Ke(), l.flags |= 256, kt(t, l, e, a), l.child;
4889
+ return Ke(), l.flags |= 256, $t(t, l, e, a), l.child;
4890
4890
  }
4891
4891
  var Kc = {
4892
4892
  dehydrated: null,
@@ -4897,7 +4897,7 @@ Error generating stack: ` + a.message + `
4897
4897
  function Jc(t) {
4898
4898
  return { baseLanes: t, cachePool: zo() };
4899
4899
  }
4900
- function $c(t, l, e) {
4900
+ function kc(t, l, e) {
4901
4901
  return t = t !== null ? t.childLanes & ~e : 0, l && (t |= Sl), t;
4902
4902
  }
4903
4903
  function qs(t, l, e) {
@@ -4924,11 +4924,11 @@ Error generating stack: ` + a.message + `
4924
4924
  n,
4925
4925
  e,
4926
4926
  null
4927
- ), r.return = l, a.return = l, r.sibling = a, l.child = r, a = l.child, a.memoizedState = Jc(e), a.childLanes = $c(
4927
+ ), r.return = l, a.return = l, r.sibling = a, l.child = r, a = l.child, a.memoizedState = Jc(e), a.childLanes = kc(
4928
4928
  t,
4929
4929
  c,
4930
4930
  e
4931
- ), l.memoizedState = Kc, Tn(null, a)) : (Ee(l), kc(l, r));
4931
+ ), l.memoizedState = Kc, Tn(null, a)) : (Ee(l), $c(l, r));
4932
4932
  }
4933
4933
  var d = t.memoizedState;
4934
4934
  if (d !== null && (r = d.dehydrated, r !== null)) {
@@ -4950,7 +4950,7 @@ Error generating stack: ` + a.message + `
4950
4950
  t.child,
4951
4951
  null,
4952
4952
  e
4953
- ), a = l.child, a.memoizedState = Jc(e), a.childLanes = $c(
4953
+ ), a = l.child, a.memoizedState = Jc(e), a.childLanes = kc(
4954
4954
  t,
4955
4955
  c,
4956
4956
  e
@@ -4973,16 +4973,16 @@ Error generating stack: ` + a.message + `
4973
4973
  } else
4974
4974
  Df(r) ? (l.flags |= 192, l.child = t.child, l = null) : (t = d.treeContext, Ct = Ul(
4975
4975
  r.nextSibling
4976
- ), Jt = l, ot = !0, ve = null, Cl = !1, t !== null && go(l, t), l = kc(
4976
+ ), Jt = l, ot = !0, ve = null, Cl = !1, t !== null && go(l, t), l = $c(
4977
4977
  l,
4978
4978
  a.children
4979
4979
  ), l.flags |= 4096);
4980
4980
  return l;
4981
4981
  }
4982
- return n ? (ze(), r = a.fallback, n = l.mode, d = t.child, p = d.sibling, a = kl(d, {
4982
+ return n ? (ze(), r = a.fallback, n = l.mode, d = t.child, p = d.sibling, a = $l(d, {
4983
4983
  mode: "hidden",
4984
4984
  children: a.children
4985
- }), a.subtreeFlags = d.subtreeFlags & 65011712, p !== null ? r = kl(
4985
+ }), a.subtreeFlags = d.subtreeFlags & 65011712, p !== null ? r = $l(
4986
4986
  p,
4987
4987
  r
4988
4988
  ) : (r = we(
@@ -4993,16 +4993,16 @@ Error generating stack: ` + a.message + `
4993
4993
  ), r.flags |= 2), r.return = l, a.return = l, a.sibling = r, l.child = a, Tn(null, a), a = l.child, r = t.child.memoizedState, r === null ? r = Jc(e) : (n = r.cachePool, n !== null ? (d = Yt._currentValue, n = n.parent !== d ? { parent: d, pool: d } : n) : n = zo(), r = {
4994
4994
  baseLanes: r.baseLanes | e,
4995
4995
  cachePool: n
4996
- }), a.memoizedState = r, a.childLanes = $c(
4996
+ }), a.memoizedState = r, a.childLanes = kc(
4997
4997
  t,
4998
4998
  c,
4999
4999
  e
5000
- ), l.memoizedState = Kc, Tn(t.child, a)) : (Ee(l), e = t.child, t = e.sibling, e = kl(e, {
5000
+ ), l.memoizedState = Kc, Tn(t.child, a)) : (Ee(l), e = t.child, t = e.sibling, e = $l(e, {
5001
5001
  mode: "visible",
5002
5002
  children: a.children
5003
5003
  }), e.return = l, e.sibling = null, t !== null && (c = l.deletions, c === null ? (l.deletions = [t], l.flags |= 16) : c.push(t)), l.child = e, l.memoizedState = null, e);
5004
5004
  }
5005
- function kc(t, l) {
5005
+ function $c(t, l) {
5006
5006
  return l = ju(
5007
5007
  { mode: "visible", children: l },
5008
5008
  t.mode
@@ -5012,7 +5012,7 @@ Error generating stack: ` + a.message + `
5012
5012
  return t = vl(22, t, null, l), t.lanes = 0, t;
5013
5013
  }
5014
5014
  function Wc(t, l, e) {
5015
- return Ie(l, t.child, null, e), t = kc(
5015
+ return Ie(l, t.child, null, e), t = $c(
5016
5016
  l,
5017
5017
  l.pendingProps.children
5018
5018
  ), t.flags |= 2, l.memoizedState = null, t;
@@ -5038,7 +5038,7 @@ Error generating stack: ` + a.message + `
5038
5038
  var a = l.pendingProps, n = a.revealOrder, u = a.tail;
5039
5039
  a = a.children;
5040
5040
  var c = jt.current, r = (c & 2) !== 0;
5041
- if (r ? (c = c & 1 | 2, l.flags |= 128) : c &= 1, B(jt, c), kt(t, l, a, e), a = ot ? fn : 0, !r && t !== null && (t.flags & 128) !== 0)
5041
+ if (r ? (c = c & 1 | 2, l.flags |= 128) : c &= 1, B(jt, c), $t(t, l, a, e), a = ot ? fn : 0, !r && t !== null && (t.flags & 128) !== 0)
5042
5042
  t: for (t = l.child; t !== null; ) {
5043
5043
  if (t.tag === 13)
5044
5044
  t.memoizedState !== null && js(t, e, l);
@@ -5116,8 +5116,8 @@ Error generating stack: ` + a.message + `
5116
5116
  if (t !== null && l.child !== t.child)
5117
5117
  throw Error(o(153));
5118
5118
  if (l.child !== null) {
5119
- for (t = l.child, e = kl(t, t.pendingProps), l.child = e, e.return = l; t.sibling !== null; )
5120
- t = t.sibling, e = e.sibling = kl(t, t.pendingProps), e.return = l;
5119
+ for (t = l.child, e = $l(t, t.pendingProps), l.child = e, e.return = l; t.sibling !== null; )
5120
+ t = t.sibling, e = e.sibling = $l(t, t.pendingProps), e.return = l;
5121
5121
  e.sibling = null;
5122
5122
  }
5123
5123
  return l.child;
@@ -5323,20 +5323,20 @@ Error generating stack: ` + a.message + `
5323
5323
  );
5324
5324
  break t;
5325
5325
  }
5326
- kt(t, l, a, e);
5326
+ $t(t, l, a, e);
5327
5327
  }
5328
5328
  l = l.child;
5329
5329
  }
5330
5330
  return l;
5331
5331
  case 26:
5332
- return qu(t, l), t === null ? (e = kd(
5332
+ return qu(t, l), t === null ? (e = $d(
5333
5333
  l.type,
5334
5334
  null,
5335
5335
  l.pendingProps,
5336
5336
  null
5337
5337
  )) ? l.memoizedState = e : ot || (e = l.type, t = l.pendingProps, a = Iu(
5338
5338
  ut.current
5339
- ).createElement(e), a[Kt] = l, a[nl] = t, Wt(a, e, t), Vt(a), l.stateNode = a) : l.memoizedState = kd(
5339
+ ).createElement(e), a[Kt] = l, a[nl] = t, Wt(a, e, t), Vt(a), l.stateNode = a) : l.memoizedState = $d(
5340
5340
  l.type,
5341
5341
  t.memoizedProps,
5342
5342
  l.pendingProps,
@@ -5347,7 +5347,7 @@ Error generating stack: ` + a.message + `
5347
5347
  l.type,
5348
5348
  l.pendingProps,
5349
5349
  ut.current
5350
- ), Jt = l, Cl = !0, n = Ct, Ue(l.type) ? (Rf = n, Ct = Ul(a.firstChild)) : Ct = n), kt(
5350
+ ), Jt = l, Cl = !0, n = Ct, Ue(l.type) ? (Rf = n, Ct = Ul(a.firstChild)) : Ct = n), $t(
5351
5351
  t,
5352
5352
  l,
5353
5353
  l.pendingProps.children,
@@ -5366,7 +5366,7 @@ Error generating stack: ` + a.message + `
5366
5366
  null,
5367
5367
  null,
5368
5368
  e
5369
- ), jn._currentValue = n), qu(t, l), kt(t, l, a, e), l.child;
5369
+ ), jn._currentValue = n), qu(t, l), $t(t, l, a, e), l.child;
5370
5370
  case 6:
5371
5371
  return t === null && ot && ((t = e = Ct) && (e = ah(
5372
5372
  e,
@@ -5384,7 +5384,7 @@ Error generating stack: ` + a.message + `
5384
5384
  null,
5385
5385
  a,
5386
5386
  e
5387
- ) : kt(t, l, a, e), l.child;
5387
+ ) : $t(t, l, a, e), l.child;
5388
5388
  case 11:
5389
5389
  return xs(
5390
5390
  t,
@@ -5394,30 +5394,30 @@ Error generating stack: ` + a.message + `
5394
5394
  e
5395
5395
  );
5396
5396
  case 7:
5397
- return kt(
5397
+ return $t(
5398
5398
  t,
5399
5399
  l,
5400
5400
  l.pendingProps,
5401
5401
  e
5402
5402
  ), l.child;
5403
5403
  case 8:
5404
- return kt(
5404
+ return $t(
5405
5405
  t,
5406
5406
  l,
5407
5407
  l.pendingProps.children,
5408
5408
  e
5409
5409
  ), l.child;
5410
5410
  case 12:
5411
- return kt(
5411
+ return $t(
5412
5412
  t,
5413
5413
  l,
5414
5414
  l.pendingProps.children,
5415
5415
  e
5416
5416
  ), l.child;
5417
5417
  case 10:
5418
- return a = l.pendingProps, be(l, l.type, a.value), kt(t, l, a.children, e), l.child;
5418
+ return a = l.pendingProps, be(l, l.type, a.value), $t(t, l, a.children, e), l.child;
5419
5419
  case 9:
5420
- return n = l.type._context, a = l.pendingProps.children, $e(l), n = $t(n), a = a(n), l.flags |= 1, kt(t, l, a, e), l.child;
5420
+ return n = l.type._context, a = l.pendingProps.children, ke(l), n = kt(n), a = a(n), l.flags |= 1, $t(t, l, a, e), l.child;
5421
5421
  case 14:
5422
5422
  return Os(
5423
5423
  t,
@@ -5446,12 +5446,12 @@ Error generating stack: ` + a.message + `
5446
5446
  l.pendingProps
5447
5447
  );
5448
5448
  case 24:
5449
- return $e(l), a = $t(Yt), t === null ? (n = hc(), n === null && (n = Ot, u = yc(), n.pooledCache = u, u.refCount++, u !== null && (n.pooledCacheLanes |= e), n = u), l.memoizedState = { parent: a, cache: n }, gc(l), be(l, Yt, n)) : ((t.lanes & e) !== 0 && (bc(t, l), vn(l, null, null, e), hn()), n = t.memoizedState, u = l.memoizedState, n.parent !== a ? (n = { parent: a, cache: a }, l.memoizedState = n, l.lanes === 0 && (l.memoizedState = l.updateQueue.baseState = n), be(l, Yt, a)) : (a = u.cache, be(l, Yt, a), a !== n.cache && dc(
5449
+ return ke(l), a = kt(Yt), t === null ? (n = hc(), n === null && (n = Ot, u = yc(), n.pooledCache = u, u.refCount++, u !== null && (n.pooledCacheLanes |= e), n = u), l.memoizedState = { parent: a, cache: n }, gc(l), be(l, Yt, n)) : ((t.lanes & e) !== 0 && (bc(t, l), vn(l, null, null, e), hn()), n = t.memoizedState, u = l.memoizedState, n.parent !== a ? (n = { parent: a, cache: a }, l.memoizedState = n, l.lanes === 0 && (l.memoizedState = l.updateQueue.baseState = n), be(l, Yt, a)) : (a = u.cache, be(l, Yt, a), a !== n.cache && dc(
5450
5450
  l,
5451
5451
  [Yt],
5452
5452
  e,
5453
5453
  !0
5454
- ))), kt(
5454
+ ))), $t(
5455
5455
  t,
5456
5456
  l,
5457
5457
  l.pendingProps.children,
@@ -5544,7 +5544,7 @@ Error generating stack: ` + a.message + `
5544
5544
  e
5545
5545
  )), null;
5546
5546
  case 27:
5547
- if ($n(l), e = ut.current, n = l.type, t !== null && l.stateNode != null)
5547
+ if (kn(l), e = ut.current, n = l.type, t !== null && l.stateNode != null)
5548
5548
  t.memoizedProps !== a && ee(l);
5549
5549
  else {
5550
5550
  if (!a) {
@@ -5556,7 +5556,7 @@ Error generating stack: ` + a.message + `
5556
5556
  }
5557
5557
  return Dt(l), null;
5558
5558
  case 5:
5559
- if ($n(l), n = l.type, t !== null && l.stateNode != null)
5559
+ if (kn(l), n = l.type, t !== null && l.stateNode != null)
5560
5560
  t.memoizedProps !== a && ee(l);
5561
5561
  else {
5562
5562
  if (!a) {
@@ -5743,7 +5743,7 @@ Error generating stack: ` + a.message + `
5743
5743
  ), ot && Wl(l, a.treeForkCount), t) : (Dt(l), null);
5744
5744
  case 22:
5745
5745
  case 23:
5746
- return bl(l), Ec(), a = l.memoizedState !== null, t !== null ? t.memoizedState !== null !== a && (l.flags |= 8192) : a && (l.flags |= 8192), a ? (e & 536870912) !== 0 && (l.flags & 128) === 0 && (Dt(l), l.subtreeFlags & 6 && (l.flags |= 8192)) : Dt(l), e = l.updateQueue, e !== null && Bu(l, e.retryQueue), e = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), a = null, l.memoizedState !== null && l.memoizedState.cachePool !== null && (a = l.memoizedState.cachePool.pool), a !== e && (l.flags |= 2048), t !== null && C(ke), null;
5746
+ return bl(l), Ec(), a = l.memoizedState !== null, t !== null ? t.memoizedState !== null !== a && (l.flags |= 8192) : a && (l.flags |= 8192), a ? (e & 536870912) !== 0 && (l.flags & 128) === 0 && (Dt(l), l.subtreeFlags & 6 && (l.flags |= 8192)) : Dt(l), e = l.updateQueue, e !== null && Bu(l, e.retryQueue), e = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), a = null, l.memoizedState !== null && l.memoizedState.cachePool !== null && (a = l.memoizedState.cachePool.pool), a !== e && (l.flags |= 2048), t !== null && C($e), null;
5747
5747
  case 24:
5748
5748
  return e = null, t !== null && (e = t.memoizedState.cache), l.memoizedState.cache !== e && (l.flags |= 2048), Il(Yt), Dt(l), null;
5749
5749
  case 25:
@@ -5762,7 +5762,7 @@ Error generating stack: ` + a.message + `
5762
5762
  case 26:
5763
5763
  case 27:
5764
5764
  case 5:
5765
- return $n(l), null;
5765
+ return kn(l), null;
5766
5766
  case 31:
5767
5767
  if (l.memoizedState !== null) {
5768
5768
  if (bl(l), l.alternate === null)
@@ -5785,7 +5785,7 @@ Error generating stack: ` + a.message + `
5785
5785
  return Il(l.type), null;
5786
5786
  case 22:
5787
5787
  case 23:
5788
- return bl(l), Ec(), t !== null && C(ke), t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
5788
+ return bl(l), Ec(), t !== null && C($e), t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
5789
5789
  case 24:
5790
5790
  return Il(Yt), null;
5791
5791
  case 25:
@@ -5802,7 +5802,7 @@ Error generating stack: ` + a.message + `
5802
5802
  case 26:
5803
5803
  case 27:
5804
5804
  case 5:
5805
- $n(l);
5805
+ kn(l);
5806
5806
  break;
5807
5807
  case 4:
5808
5808
  qt();
@@ -5821,7 +5821,7 @@ Error generating stack: ` + a.message + `
5821
5821
  break;
5822
5822
  case 22:
5823
5823
  case 23:
5824
- bl(l), Ec(), t !== null && C(ke);
5824
+ bl(l), Ec(), t !== null && C($e);
5825
5825
  break;
5826
5826
  case 24:
5827
5827
  Il(Yt);
@@ -6070,11 +6070,11 @@ Error generating stack: ` + a.message + `
6070
6070
  Y,
6071
6071
  u
6072
6072
  ), a.__reactInternalSnapshotBeforeUpdate = t;
6073
- } catch ($) {
6073
+ } catch (k) {
6074
6074
  St(
6075
6075
  e,
6076
6076
  e.return,
6077
- $
6077
+ k
6078
6078
  );
6079
6079
  }
6080
6080
  }
@@ -6203,16 +6203,16 @@ Error generating stack: ` + a.message + `
6203
6203
  ue(t, e);
6204
6204
  }
6205
6205
  }
6206
- function $s(t) {
6206
+ function ks(t) {
6207
6207
  var l = t.alternate;
6208
- l !== null && (t.alternate = null, $s(l)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (l = t.stateNode, l !== null && Ni(l)), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null;
6208
+ l !== null && (t.alternate = null, ks(l)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (l = t.stateNode, l !== null && Ni(l)), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null;
6209
6209
  }
6210
6210
  var Ut = null, il = !1;
6211
6211
  function ne(t, l, e) {
6212
6212
  for (e = e.child; e !== null; )
6213
- ks(t, l, e), e = e.sibling;
6213
+ $s(t, l, e), e = e.sibling;
6214
6214
  }
6215
- function ks(t, l, e) {
6215
+ function $s(t, l, e) {
6216
6216
  if (yl && typeof yl.onCommitFiberUnmount == "function")
6217
6217
  try {
6218
6218
  yl.onCommitFiberUnmount(Ja, e);
@@ -6385,7 +6385,7 @@ Error generating stack: ` + a.message + `
6385
6385
  r = r.return;
6386
6386
  }
6387
6387
  if (Ut === null) throw Error(o(160));
6388
- ks(u, c, n), Ut = null, il = !1, u = n.alternate, u !== null && (u.return = null), n.return = null;
6388
+ $s(u, c, n), Ut = null, il = !1, u = n.alternate, u !== null && (u.return = null), n.return = null;
6389
6389
  }
6390
6390
  if (l.subtreeFlags & 13886)
6391
6391
  for (l = l.child; l !== null; )
@@ -7147,7 +7147,7 @@ Error generating stack: ` + a.message + `
7147
7147
  t: for (e = t; wt !== null; ) {
7148
7148
  a = wt;
7149
7149
  var n = a.sibling, u = a.return;
7150
- if ($s(a), a === e) {
7150
+ if (ks(a), a === e) {
7151
7151
  wt = null;
7152
7152
  break t;
7153
7153
  }
@@ -7161,11 +7161,11 @@ Error generating stack: ` + a.message + `
7161
7161
  }
7162
7162
  var Um = {
7163
7163
  getCacheForType: function(t) {
7164
- var l = $t(Yt), e = l.data.get(t);
7164
+ var l = kt(Yt), e = l.data.get(t);
7165
7165
  return e === void 0 && (e = t(), l.data.set(t, e)), e;
7166
7166
  },
7167
7167
  cacheSignal: function() {
7168
- return $t(Yt).controller.signal;
7168
+ return kt(Yt).controller.signal;
7169
7169
  }
7170
7170
  }, Rm = typeof WeakMap == "function" ? WeakMap : Map, yt = 0, Ot = null, it = null, ft = 0, pt = 0, pl = null, _e = !1, Ua = !1, cf = !1, ce = 0, Nt = 0, xe = 0, ea = 0, ff = 0, Sl = 0, Ra = 0, Mn = null, rl = null, rf = !1, Qu = 0, ud = 0, Lu = 1 / 0, Zu = null, Oe = null, Zt = 0, Me = null, Na = null, fe = 0, of = 0, sf = null, id = null, Cn = 0, df = null;
7171
7171
  function Tl() {
@@ -7185,7 +7185,7 @@ Error generating stack: ` + a.message + `
7185
7185
  ft,
7186
7186
  Sl,
7187
7187
  !1
7188
- )), ka(t, e), ((yt & 2) === 0 || t !== Ot) && (t === Ot && ((yt & 2) === 0 && (ea |= e), Nt === 4 && Ce(
7188
+ )), $a(t, e), ((yt & 2) === 0 || t !== Ot) && (t === Ot && ((yt & 2) === 0 && (ea |= e), Nt === 4 && Ce(
7189
7189
  t,
7190
7190
  ft,
7191
7191
  Sl,
@@ -7194,7 +7194,7 @@ Error generating stack: ` + a.message + `
7194
7194
  }
7195
7195
  function fd(t, l, e) {
7196
7196
  if ((yt & 6) !== 0) throw Error(o(327));
7197
- var a = !e && (l & 127) === 0 && (l & t.expiredLanes) === 0 || $a(t, l), n = a ? qm(t, l) : mf(t, l, !0), u = a;
7197
+ var a = !e && (l & 127) === 0 && (l & t.expiredLanes) === 0 || ka(t, l), n = a ? qm(t, l) : mf(t, l, !0), u = a;
7198
7198
  do {
7199
7199
  if (n === 0) {
7200
7200
  Ua && !a && Ce(t, l, 0, !1);
@@ -7418,7 +7418,7 @@ Error generating stack: ` + a.message + `
7418
7418
  }
7419
7419
  function Ha(t, l) {
7420
7420
  var e = t.timeoutHandle;
7421
- e !== -1 && (t.timeoutHandle = -1, Pm(e)), e = t.cancelPendingCommit, e !== null && (t.cancelPendingCommit = null, e()), fe = 0, yf(), Ot = t, it = e = kl(t.current, null), ft = l, pt = 0, pl = null, _e = !1, Ua = $a(t, l), cf = !1, Ra = Sl = ff = ea = xe = Nt = 0, rl = Mn = null, rf = !1, (l & 8) !== 0 && (l |= l & 32);
7421
+ e !== -1 && (t.timeoutHandle = -1, Pm(e)), e = t.cancelPendingCommit, e !== null && (t.cancelPendingCommit = null, e()), fe = 0, yf(), Ot = t, it = e = $l(t.current, null), ft = l, pt = 0, pl = null, _e = !1, Ua = ka(t, l), cf = !1, Ra = Sl = ff = ea = xe = Nt = 0, rl = Mn = null, rf = !1, (l & 8) !== 0 && (l |= l & 32);
7422
7422
  var a = t.entangledLanes;
7423
7423
  if (a !== 0)
7424
7424
  for (t = t.entanglements, a &= l; 0 < a; ) {
@@ -7497,7 +7497,7 @@ Error generating stack: ` + a.message + `
7497
7497
  var e = yt;
7498
7498
  yt |= 2;
7499
7499
  var a = dd(), n = yd();
7500
- Ot !== t || ft !== l ? (Zu = null, Lu = dl() + 500, Ha(t, l)) : Ua = $a(
7500
+ Ot !== t || ft !== l ? (Zu = null, Lu = dl() + 500, Ha(t, l)) : Ua = ka(
7501
7501
  t,
7502
7502
  l
7503
7503
  );
@@ -7692,7 +7692,7 @@ Error generating stack: ` + a.message + `
7692
7692
  c,
7693
7693
  r,
7694
7694
  d
7695
- ), t === Ot && (it = Ot = null, ft = 0), Na = l, Me = t, fe = e, of = u, sf = n, id = a, (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, Xm(kn, function() {
7695
+ ), t === Ot && (it = Ot = null, ft = 0), Na = l, Me = t, fe = e, of = u, sf = n, id = a, (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, Xm($n, function() {
7696
7696
  return Ed(), null;
7697
7697
  })) : (t.callbackNode = null, t.callbackPriority = 0), a = (l.flags & 13878) !== 0, (l.subtreeFlags & 13878) !== 0 || a) {
7698
7698
  a = A.T, A.T = null, n = j.p, j.p = 2, c = yt, yt |= 4;
@@ -7732,18 +7732,18 @@ Error generating stack: ` + a.message + `
7732
7732
  else {
7733
7733
  var M = r.ownerDocument || document, S = M && M.defaultView || window;
7734
7734
  if (S.getSelection) {
7735
- var E = S.getSelection(), Y = r.textContent.length, $ = Math.min(d.start, Y), _t = d.end === void 0 ? $ : Math.min(d.end, Y);
7736
- !E.extend && $ > _t && (c = _t, _t = $, $ = c);
7735
+ var E = S.getSelection(), Y = r.textContent.length, k = Math.min(d.start, Y), _t = d.end === void 0 ? k : Math.min(d.end, Y);
7736
+ !E.extend && k > _t && (c = _t, _t = k, k = c);
7737
7737
  var v = lo(
7738
7738
  r,
7739
- $
7739
+ k
7740
7740
  ), y = lo(
7741
7741
  r,
7742
7742
  _t
7743
7743
  );
7744
7744
  if (v && y && (E.rangeCount !== 1 || E.anchorNode !== v.node || E.anchorOffset !== v.offset || E.focusNode !== y.node || E.focusOffset !== y.offset)) {
7745
7745
  var b = M.createRange();
7746
- b.setStart(v.node, v.offset), E.removeAllRanges(), $ > _t ? (E.addRange(b), E.extend(y.node, y.offset)) : (b.setEnd(y.node, y.offset), E.addRange(b));
7746
+ b.setStart(v.node, v.offset), E.removeAllRanges(), k > _t ? (E.addRange(b), E.extend(y.node, y.offset)) : (b.setEnd(y.node, y.offset), E.addRange(b));
7747
7747
  }
7748
7748
  }
7749
7749
  }
@@ -7850,7 +7850,7 @@ Error generating stack: ` + a.message + `
7850
7850
  }
7851
7851
  }
7852
7852
  function zd(t, l, e) {
7853
- l = xl(e, l), l = Zc(t.stateNode, l, 2), t = Te(t, l, 2), t !== null && (ka(t, 2), Xl(t));
7853
+ l = xl(e, l), l = Zc(t.stateNode, l, 2), t = Te(t, l, 2), t !== null && ($a(t, 2), Xl(t));
7854
7854
  }
7855
7855
  function St(t, l, e) {
7856
7856
  if (t.tag === 3)
@@ -7872,7 +7872,7 @@ Error generating stack: ` + a.message + `
7872
7872
  a,
7873
7873
  l,
7874
7874
  t
7875
- ), ka(a, 2), Xl(a));
7875
+ ), $a(a, 2), Xl(a));
7876
7876
  break;
7877
7877
  }
7878
7878
  }
@@ -7894,7 +7894,7 @@ Error generating stack: ` + a.message + `
7894
7894
  a !== null && a.delete(l), t.pingedLanes |= t.suspendedLanes & e, t.warmLanes &= ~e, Ot === t && (ft & e) === e && (Nt === 4 || Nt === 3 && (ft & 62914560) === ft && 300 > dl() - Qu ? (yt & 2) === 0 && Ha(t, 0) : ff |= e, Ra === ft && (Ra = 0)), Xl(t);
7895
7895
  }
7896
7896
  function Ad(t, l) {
7897
- l === 0 && (l = gr()), t = Ve(t, l), t !== null && (ka(t, l), Xl(t));
7897
+ l === 0 && (l = gr()), t = Ve(t, l), t !== null && ($a(t, l), Xl(t));
7898
7898
  }
7899
7899
  function Ym(t) {
7900
7900
  var l = t.memoizedState, e = 0;
@@ -7922,15 +7922,15 @@ Error generating stack: ` + a.message + `
7922
7922
  function Xm(t, l) {
7923
7923
  return Oi(t, l);
7924
7924
  }
7925
- var $u = null, ja = null, vf = !1, ku = !1, gf = !1, De = 0;
7925
+ var ku = null, ja = null, vf = !1, $u = !1, gf = !1, De = 0;
7926
7926
  function Xl(t) {
7927
- t !== ja && t.next === null && (ja === null ? $u = ja = t : ja = ja.next = t), ku = !0, vf || (vf = !0, Lm());
7927
+ t !== ja && t.next === null && (ja === null ? ku = ja = t : ja = ja.next = t), $u = !0, vf || (vf = !0, Lm());
7928
7928
  }
7929
7929
  function Dn(t, l) {
7930
- if (!gf && ku) {
7930
+ if (!gf && $u) {
7931
7931
  gf = !0;
7932
7932
  do
7933
- for (var e = !1, a = $u; a !== null; ) {
7933
+ for (var e = !1, a = ku; a !== null; ) {
7934
7934
  if (t !== 0) {
7935
7935
  var n = a.pendingLanes;
7936
7936
  if (n === 0) var u = 0;
@@ -7944,7 +7944,7 @@ Error generating stack: ` + a.message + `
7944
7944
  a,
7945
7945
  a === Ot ? u : 0,
7946
7946
  a.cancelPendingCommit !== null || a.timeoutHandle !== -1
7947
- ), (u & 3) === 0 || $a(a, u) || (e = !0, Md(a, u));
7947
+ ), (u & 3) === 0 || ka(a, u) || (e = !0, Md(a, u));
7948
7948
  a = a.next;
7949
7949
  }
7950
7950
  while (e);
@@ -7955,12 +7955,12 @@ Error generating stack: ` + a.message + `
7955
7955
  _d();
7956
7956
  }
7957
7957
  function _d() {
7958
- ku = vf = !1;
7958
+ $u = vf = !1;
7959
7959
  var t = 0;
7960
7960
  De !== 0 && Im() && (t = De);
7961
- for (var l = dl(), e = null, a = $u; a !== null; ) {
7961
+ for (var l = dl(), e = null, a = ku; a !== null; ) {
7962
7962
  var n = a.next, u = xd(a, l);
7963
- u === 0 ? (a.next = null, e === null ? $u = n : e.next = n, n === null && (ja = e)) : (e = a, (t !== 0 || (u & 3) !== 0) && (ku = !0)), a = n;
7963
+ u === 0 ? (a.next = null, e === null ? ku = n : e.next = n, n === null && (ja = e)) : (e = a, (t !== 0 || (u & 3) !== 0) && ($u = !0)), a = n;
7964
7964
  }
7965
7965
  Zt !== 0 && Zt !== 5 || Dn(t), De !== 0 && (De = 0);
7966
7966
  }
@@ -7975,7 +7975,7 @@ Error generating stack: ` + a.message + `
7975
7975
  t.cancelPendingCommit !== null || t.timeoutHandle !== -1
7976
7976
  ), a = t.callbackNode, e === 0 || t === l && (pt === 2 || pt === 9) || t.cancelPendingCommit !== null)
7977
7977
  return a !== null && a !== null && Mi(a), t.callbackNode = null, t.callbackPriority = 0;
7978
- if ((e & 3) === 0 || $a(t, e)) {
7978
+ if ((e & 3) === 0 || ka(t, e)) {
7979
7979
  if (l = e & -e, l === t.callbackPriority) return l;
7980
7980
  switch (a !== null && Mi(a), Ui(e)) {
7981
7981
  case 2:
@@ -7983,13 +7983,13 @@ Error generating stack: ` + a.message + `
7983
7983
  e = hr;
7984
7984
  break;
7985
7985
  case 32:
7986
- e = kn;
7986
+ e = $n;
7987
7987
  break;
7988
7988
  case 268435456:
7989
7989
  e = vr;
7990
7990
  break;
7991
7991
  default:
7992
- e = kn;
7992
+ e = $n;
7993
7993
  }
7994
7994
  return a = Od.bind(null, t), e = Oi(e, a), t.callbackPriority = l, t.callbackNode = e, l;
7995
7995
  }
@@ -8315,82 +8315,82 @@ Error generating stack: ` + a.message + `
8315
8315
  break;
8316
8316
  case "toggle":
8317
8317
  case "beforetoggle":
8318
- E = $y;
8318
+ E = ky;
8319
8319
  }
8320
- var $ = (l & 4) !== 0, _t = !$ && (t === "scroll" || t === "scrollend"), v = $ ? S !== null ? S + "Capture" : null : S;
8321
- $ = [];
8320
+ var k = (l & 4) !== 0, _t = !k && (t === "scroll" || t === "scrollend"), v = k ? S !== null ? S + "Capture" : null : S;
8321
+ k = [];
8322
8322
  for (var y = p, b; y !== null; ) {
8323
8323
  var _ = y;
8324
- if (b = _.stateNode, _ = _.tag, _ !== 5 && _ !== 26 && _ !== 27 || b === null || v === null || (_ = Ia(y, v), _ != null && $.push(
8324
+ if (b = _.stateNode, _ = _.tag, _ !== 5 && _ !== 26 && _ !== 27 || b === null || v === null || (_ = Ia(y, v), _ != null && k.push(
8325
8325
  Rn(y, _, b)
8326
8326
  )), _t) break;
8327
8327
  y = y.return;
8328
8328
  }
8329
- 0 < $.length && (S = new E(
8329
+ 0 < k.length && (S = new E(
8330
8330
  S,
8331
8331
  Y,
8332
8332
  null,
8333
8333
  e,
8334
8334
  z
8335
- ), M.push({ event: S, listeners: $ }));
8335
+ ), M.push({ event: S, listeners: k }));
8336
8336
  }
8337
8337
  }
8338
8338
  if ((l & 7) === 0) {
8339
8339
  t: {
8340
8340
  if (S = t === "mouseover" || t === "pointerover", E = t === "mouseout" || t === "pointerout", S && e !== Yi && (Y = e.relatedTarget || e.fromElement) && (na(Y) || Y[aa]))
8341
8341
  break t;
8342
- if ((E || S) && (S = z.window === z ? z : (S = z.ownerDocument) ? S.defaultView || S.parentWindow : window, E ? (Y = e.relatedTarget || e.toElement, E = p, Y = Y ? na(Y) : null, Y !== null && (_t = g(Y), $ = Y.tag, Y !== _t || $ !== 5 && $ !== 27 && $ !== 6) && (Y = null)) : (E = null, Y = p), E !== Y)) {
8343
- if ($ = Gr, _ = "onMouseLeave", v = "onMouseEnter", y = "mouse", (t === "pointerout" || t === "pointerover") && ($ = Qr, _ = "onPointerLeave", v = "onPointerEnter", y = "pointer"), _t = E == null ? S : Fa(E), b = Y == null ? S : Fa(Y), S = new $(
8342
+ if ((E || S) && (S = z.window === z ? z : (S = z.ownerDocument) ? S.defaultView || S.parentWindow : window, E ? (Y = e.relatedTarget || e.toElement, E = p, Y = Y ? na(Y) : null, Y !== null && (_t = g(Y), k = Y.tag, Y !== _t || k !== 5 && k !== 27 && k !== 6) && (Y = null)) : (E = null, Y = p), E !== Y)) {
8343
+ if (k = Gr, _ = "onMouseLeave", v = "onMouseEnter", y = "mouse", (t === "pointerout" || t === "pointerover") && (k = Qr, _ = "onPointerLeave", v = "onPointerEnter", y = "pointer"), _t = E == null ? S : Fa(E), b = Y == null ? S : Fa(Y), S = new k(
8344
8344
  _,
8345
8345
  y + "leave",
8346
8346
  E,
8347
8347
  e,
8348
8348
  z
8349
- ), S.target = _t, S.relatedTarget = b, _ = null, na(z) === p && ($ = new $(
8349
+ ), S.target = _t, S.relatedTarget = b, _ = null, na(z) === p && (k = new k(
8350
8350
  v,
8351
8351
  y + "enter",
8352
8352
  Y,
8353
8353
  e,
8354
8354
  z
8355
- ), $.target = b, $.relatedTarget = _t, _ = $), _t = _, E && Y)
8355
+ ), k.target = b, k.relatedTarget = _t, _ = k), _t = _, E && Y)
8356
8356
  l: {
8357
- for ($ = Jm, v = E, y = Y, b = 0, _ = v; _; _ = $(_))
8357
+ for (k = Jm, v = E, y = Y, b = 0, _ = v; _; _ = k(_))
8358
8358
  b++;
8359
8359
  _ = 0;
8360
- for (var K = y; K; K = $(K))
8360
+ for (var K = y; K; K = k(K))
8361
8361
  _++;
8362
8362
  for (; 0 < b - _; )
8363
- v = $(v), b--;
8363
+ v = k(v), b--;
8364
8364
  for (; 0 < _ - b; )
8365
- y = $(y), _--;
8365
+ y = k(y), _--;
8366
8366
  for (; b--; ) {
8367
8367
  if (v === y || y !== null && v === y.alternate) {
8368
- $ = v;
8368
+ k = v;
8369
8369
  break l;
8370
8370
  }
8371
- v = $(v), y = $(y);
8371
+ v = k(v), y = k(y);
8372
8372
  }
8373
- $ = null;
8373
+ k = null;
8374
8374
  }
8375
- else $ = null;
8375
+ else k = null;
8376
8376
  E !== null && Nd(
8377
8377
  M,
8378
8378
  S,
8379
8379
  E,
8380
- $,
8380
+ k,
8381
8381
  !1
8382
8382
  ), Y !== null && _t !== null && Nd(
8383
8383
  M,
8384
8384
  _t,
8385
8385
  Y,
8386
- $,
8386
+ k,
8387
8387
  !0
8388
8388
  );
8389
8389
  }
8390
8390
  }
8391
8391
  t: {
8392
8392
  if (S = p ? Fa(p) : window, E = S.nodeName && S.nodeName.toLowerCase(), E === "select" || E === "input" && S.type === "file")
8393
- var st = kr;
8393
+ var st = $r;
8394
8394
  else if (Jr(S))
8395
8395
  if (Wr)
8396
8396
  st = nm;
@@ -8399,9 +8399,9 @@ Error generating stack: ` + a.message + `
8399
8399
  var X = lm;
8400
8400
  }
8401
8401
  else
8402
- E = S.nodeName, !E || E.toLowerCase() !== "input" || S.type !== "checkbox" && S.type !== "radio" ? p && Bi(p.elementType) && (st = kr) : st = am;
8402
+ E = S.nodeName, !E || E.toLowerCase() !== "input" || S.type !== "checkbox" && S.type !== "radio" ? p && Bi(p.elementType) && (st = $r) : st = am;
8403
8403
  if (st && (st = st(t, p))) {
8404
- $r(
8404
+ kr(
8405
8405
  M,
8406
8406
  st,
8407
8407
  e,
@@ -8514,10 +8514,10 @@ Error generating stack: ` + a.message + `
8514
8514
  }
8515
8515
  c.length !== 0 && t.push({ event: l, listeners: c });
8516
8516
  }
8517
- var $m = /\r\n?/g, km = /\u0000|\uFFFD/g;
8517
+ var km = /\r\n?/g, $m = /\u0000|\uFFFD/g;
8518
8518
  function Hd(t) {
8519
- return (typeof t == "string" ? t : "" + t).replace($m, `
8520
- `).replace(km, "");
8519
+ return (typeof t == "string" ? t : "" + t).replace(km, `
8520
+ `).replace($m, "");
8521
8521
  }
8522
8522
  function qd(t, l) {
8523
8523
  return l = Hd(l), Hd(t) === l;
@@ -9190,8 +9190,8 @@ Error generating stack: ` + a.message + `
9190
9190
  case "track":
9191
9191
  case "wbr":
9192
9192
  case "menuitem":
9193
- for (var $ in e)
9194
- S = e[$], e.hasOwnProperty($) && S != null && !a.hasOwnProperty($) && At(t, l, $, null, a, S);
9193
+ for (var k in e)
9194
+ S = e[k], e.hasOwnProperty(k) && S != null && !a.hasOwnProperty(k) && At(t, l, k, null, a, S);
9195
9195
  for (p in a)
9196
9196
  if (S = a[p], E = e[p], a.hasOwnProperty(p) && S !== E && (S != null || E != null))
9197
9197
  switch (p) {
@@ -9530,7 +9530,7 @@ Error generating stack: ` + a.message + `
9530
9530
  l !== null && l.tag === 5 && l.type === "form" ? os(l) : re.r(t);
9531
9531
  }
9532
9532
  var Ba = typeof document > "u" ? null : document;
9533
- function $d(t, l, e) {
9533
+ function kd(t, l, e) {
9534
9534
  var a = Ba;
9535
9535
  if (a && typeof l == "string" && l) {
9536
9536
  var n = Al(l);
@@ -9538,10 +9538,10 @@ Error generating stack: ` + a.message + `
9538
9538
  }
9539
9539
  }
9540
9540
  function ch(t) {
9541
- re.D(t), $d("dns-prefetch", t, null);
9541
+ re.D(t), kd("dns-prefetch", t, null);
9542
9542
  }
9543
9543
  function fh(t, l) {
9544
- re.C(t, l), $d("preconnect", t, l);
9544
+ re.C(t, l), kd("preconnect", t, l);
9545
9545
  }
9546
9546
  function rh(t, l, e) {
9547
9547
  re.L(t, l, e);
@@ -9662,7 +9662,7 @@ Error generating stack: ` + a.message + `
9662
9662
  }, a.set(n, u));
9663
9663
  }
9664
9664
  }
9665
- function kd(t, l, e, a) {
9665
+ function $d(t, l, e, a) {
9666
9666
  var n = (n = ut.current) ? Pu(n) : null;
9667
9667
  if (!n) throw Error(o(446));
9668
9668
  switch (t) {
@@ -10175,7 +10175,7 @@ Error generating stack: ` + a.message + `
10175
10175
  return 2;
10176
10176
  case hr:
10177
10177
  return 8;
10178
- case kn:
10178
+ case $n:
10179
10179
  case fy:
10180
10180
  return 32;
10181
10181
  case vr:
@@ -10515,7 +10515,7 @@ Error generating stack: ` + a.message + `
10515
10515
  c,
10516
10516
  r,
10517
10517
  d0
10518
- ), l.context = e0(null), e = l.current, a = Tl(), a = Di(a), n = Se(a), n.callback = null, Te(e, n, a), e = a, l.current.lanes = e, ka(l, e), Xl(l), t[aa] = l.current, Ef(t), new oi(l);
10518
+ ), l.context = e0(null), e = l.current, a = Tl(), a = Di(a), n = Se(a), n.callback = null, Te(e, n, a), e = a, l.current.lanes = e, $a(l, e), Xl(l), t[aa] = l.current, Ef(t), new oi(l);
10519
10519
  }, Qn.version = "19.2.3", Qn;
10520
10520
  }
10521
10521
  var z0;
@@ -10536,7 +10536,7 @@ var Yh = Bh(), w = ar();
10536
10536
  const Gh = /* @__PURE__ */ Mh(w), A0 = /* @__PURE__ */ Oh({
10537
10537
  __proto__: null,
10538
10538
  default: Gh
10539
- }, [w]), $f = {
10539
+ }, [w]), kf = {
10540
10540
  colors: {
10541
10541
  primary: "#00c2d1",
10542
10542
  primaryDark: "#017992",
@@ -10563,13 +10563,13 @@ const Gh = /* @__PURE__ */ Mh(w), A0 = /* @__PURE__ */ Oh({
10563
10563
  borderRadius: "12px",
10564
10564
  shadow: "0 4px 24px rgba(60, 77, 115, 0.15)"
10565
10565
  }, Xh = (i) => i ? {
10566
- ...$f,
10566
+ ...kf,
10567
10567
  ...i,
10568
10568
  colors: {
10569
- ...$f.colors,
10569
+ ...kf.colors,
10570
10570
  ...i.colors
10571
10571
  }
10572
- } : $f, Q0 = (i) => i.token || i.apiKey, L0 = (i) => i.replace(/\/patient\b/gi, "").replace(/\/?$/, ""), Qh = async (i, f, s) => {
10572
+ } : kf, Q0 = (i) => i.token || i.apiKey, L0 = (i) => i.replace(/\/patient\b/gi, "").replace(/\/?$/, ""), Qh = async (i, f, s) => {
10573
10573
  const { apiEndpoint: o } = f, h = Q0(f), g = `${L0(o)}/stream`, x = {
10574
10574
  "Content-Type": "application/json",
10575
10575
  Accept: "text/event-stream"
@@ -10626,7 +10626,24 @@ const Gh = /* @__PURE__ */ Mh(w), A0 = /* @__PURE__ */ Oh({
10626
10626
  return null;
10627
10627
  try {
10628
10628
  const o = JSON.parse(s);
10629
- return o.content || o.text || o.chunk || o.delta?.content || s;
10629
+ if (o.type)
10630
+ switch (o.type) {
10631
+ case "token":
10632
+ return o.content || null;
10633
+ case "thinking":
10634
+ case "tool_start":
10635
+ case "tool_end":
10636
+ case "audio":
10637
+ case "canvas":
10638
+ return null;
10639
+ case "final":
10640
+ return null;
10641
+ case "close":
10642
+ return null;
10643
+ default:
10644
+ return o.content || null;
10645
+ }
10646
+ return o.content || o.text || o.chunk || o.delta?.content || null;
10630
10647
  } catch {
10631
10648
  return s;
10632
10649
  }
@@ -10759,7 +10776,7 @@ const Gh = /* @__PURE__ */ Mh(w), A0 = /* @__PURE__ */ Oh({
10759
10776
  close: H,
10760
10777
  toggle: Q
10761
10778
  };
10762
- return /* @__PURE__ */ k.jsx(Z0.Provider, { value: nt, children: f });
10779
+ return /* @__PURE__ */ $.jsx(Z0.Provider, { value: nt, children: f });
10763
10780
  };
10764
10781
  function Pf() {
10765
10782
  return Pf = Object.assign ? Object.assign.bind() : function(i) {
@@ -10810,7 +10827,7 @@ var Kh = /* @__PURE__ */ (function() {
10810
10827
  return (h = o.parentNode) == null ? void 0 : h.removeChild(o);
10811
10828
  }), this.tags = [], this.ctr = 0;
10812
10829
  }, i;
10813
- })(), Pt = "-ms-", gi = "-moz-", mt = "-webkit-", V0 = "comm", nr = "rule", ur = "decl", Jh = "@import", w0 = "@keyframes", $h = "@layer", kh = Math.abs, pi = String.fromCharCode, Wh = Object.assign;
10830
+ })(), Pt = "-ms-", gi = "-moz-", mt = "-webkit-", V0 = "comm", nr = "rule", ur = "decl", Jh = "@import", w0 = "@keyframes", kh = "@layer", $h = Math.abs, pi = String.fromCharCode, Wh = Object.assign;
10814
10831
  function Fh(i, f) {
10815
10832
  return Ft(i, 0) ^ 45 ? (((f << 2 ^ Ft(i, 0)) << 2 ^ Ft(i, 1)) << 2 ^ Ft(i, 2)) << 2 ^ Ft(i, 3) : 0;
10816
10833
  }
@@ -10907,10 +10924,10 @@ function Vn(i) {
10907
10924
  }
10908
10925
  return 0;
10909
10926
  }
10910
- function $0(i) {
10927
+ function k0(i) {
10911
10928
  return Si = Za = 1, J0 = Ql(Va = i), sl = 0, [];
10912
10929
  }
10913
- function k0(i) {
10930
+ function $0(i) {
10914
10931
  return Va = "", i;
10915
10932
  }
10916
10933
  function hi(i) {
@@ -10960,7 +10977,7 @@ function u1(i) {
10960
10977
  return Kn(i, sl);
10961
10978
  }
10962
10979
  function i1(i) {
10963
- return k0(vi("", null, null, null, [""], i = $0(i), 0, [0], i));
10980
+ return $0(vi("", null, null, null, [""], i = k0(i), 0, [0], i));
10964
10981
  }
10965
10982
  function vi(i, f, s, o, h, g, x, N, O) {
10966
10983
  for (var T = 0, U = 0, D = x, J = 0, tt = 0, Z = 0, H = 1, Q = 1, V = 1, nt = 0, L = "", I = h, R = g, W = o, q = L; Q; )
@@ -11070,7 +11087,7 @@ function vi(i, f, s, o, h, g, x, N, O) {
11070
11087
  }
11071
11088
  function x0(i, f, s, o, h, g, x, N, O, T, U) {
11072
11089
  for (var D = h - 1, J = h === 0 ? g : [""], tt = ir(J), Z = 0, H = 0, Q = 0; Z < o; ++Z)
11073
- for (var V = 0, nt = Zn(i, D + 1, D = kh(H = x[Z])), L = i; V < tt; ++V)
11090
+ for (var V = 0, nt = Zn(i, D + 1, D = $h(H = x[Z])), L = i; V < tt; ++V)
11074
11091
  (L = K0(H > 0 ? J[V] + " " + nt : ht(nt, /&\f/g, J[V]))) && (O[Q++] = L);
11075
11092
  return Ti(i, f, s, h === 0 ? nr : N, O, T, U);
11076
11093
  }
@@ -11087,7 +11104,7 @@ function La(i, f) {
11087
11104
  }
11088
11105
  function f1(i, f, s, o) {
11089
11106
  switch (i.type) {
11090
- case $h:
11107
+ case kh:
11091
11108
  if (i.children.length) break;
11092
11109
  case Jh:
11093
11110
  case ur:
@@ -11146,7 +11163,7 @@ var s1 = function(f, s, o) {
11146
11163
  while (h = El());
11147
11164
  return f;
11148
11165
  }, y1 = function(f, s) {
11149
- return k0(d1($0(f), s));
11166
+ return $0(d1(k0(f), s));
11150
11167
  }, M0 = /* @__PURE__ */ new WeakMap(), m1 = function(f) {
11151
11168
  if (!(f.type !== "rule" || !f.parent || // positive .length indicates that this rule contains pseudo
11152
11169
  // negative .length indicates that this rule has been already prefixed
@@ -11388,7 +11405,7 @@ var v1 = function(f, s, o, h) {
11388
11405
  insert: O
11389
11406
  };
11390
11407
  return Z.sheet.hydrate(N), Z;
11391
- }, kf = { exports: {} }, gt = {};
11408
+ }, $f = { exports: {} }, gt = {};
11392
11409
  var C0;
11393
11410
  function p1() {
11394
11411
  if (C0) return gt;
@@ -11457,7 +11474,7 @@ function p1() {
11457
11474
  }
11458
11475
  var D0;
11459
11476
  function S1() {
11460
- return D0 || (D0 = 1, kf.exports = p1()), kf.exports;
11477
+ return D0 || (D0 = 1, $f.exports = p1()), $f.exports;
11461
11478
  }
11462
11479
  var Wf, U0;
11463
11480
  function T1() {
@@ -12134,7 +12151,7 @@ const K1 = [
12134
12151
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
12135
12152
  ["path", { d: "M3 10h18", key: "8toen8" }]
12136
12153
  ], J1 = Vl("calendar", K1);
12137
- const $1 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], k1 = Vl("chevron-down", $1);
12154
+ const k1 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], $1 = Vl("chevron-down", k1);
12138
12155
  const W1 = [
12139
12156
  ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }],
12140
12157
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
@@ -12267,16 +12284,16 @@ const ov = [
12267
12284
  }
12268
12285
  `, Tv = () => {
12269
12286
  const { close: i, config: f, theme: s } = wa();
12270
- return /* @__PURE__ */ k.jsxs(dv, { theme: s, children: [
12271
- /* @__PURE__ */ k.jsxs(yv, { children: [
12272
- f.brandingLogo && /* @__PURE__ */ k.jsx(mv, { theme: s, hasCustomIcon: !0, children: /* @__PURE__ */ k.jsx(hv, { src: f.brandingLogo, alt: "" }) }),
12273
- /* @__PURE__ */ k.jsxs(vv, { children: [
12274
- /* @__PURE__ */ k.jsx(gv, { fontFamily: s.fontFamily, children: f.headerTitle || "Chat" }),
12275
- f.headerSubtitle && /* @__PURE__ */ k.jsx(bv, { fontFamily: s.fontFamily, children: f.headerSubtitle }),
12276
- f.brandingText && /* @__PURE__ */ k.jsx(pv, { fontFamily: s.fontFamily, children: f.brandingText })
12287
+ return /* @__PURE__ */ $.jsxs(dv, { theme: s, children: [
12288
+ /* @__PURE__ */ $.jsxs(yv, { children: [
12289
+ f.brandingLogo && /* @__PURE__ */ $.jsx(mv, { theme: s, hasCustomIcon: !0, children: /* @__PURE__ */ $.jsx(hv, { src: f.brandingLogo, alt: "" }) }),
12290
+ /* @__PURE__ */ $.jsxs(vv, { children: [
12291
+ /* @__PURE__ */ $.jsx(gv, { fontFamily: s.fontFamily, children: f.headerTitle || "Chat" }),
12292
+ f.headerSubtitle && /* @__PURE__ */ $.jsx(bv, { fontFamily: s.fontFamily, children: f.headerSubtitle }),
12293
+ f.brandingText && /* @__PURE__ */ $.jsx(pv, { fontFamily: s.fontFamily, children: f.brandingText })
12277
12294
  ] })
12278
12295
  ] }),
12279
- /* @__PURE__ */ k.jsx(Sv, { theme: s, onClick: i, "aria-label": "Minimize chat", children: /* @__PURE__ */ k.jsx(k1, { size: 20 }) })
12296
+ /* @__PURE__ */ $.jsx(Sv, { theme: s, onClick: i, "aria-label": "Minimize chat", children: /* @__PURE__ */ $.jsx($1, { size: 20 }) })
12280
12297
  ] });
12281
12298
  }, Ev = bt.div`
12282
12299
  display: flex;
@@ -12331,16 +12348,16 @@ const ov = [
12331
12348
  const h = (g) => {
12332
12349
  i && i(g), f.onQuickAction?.(g), g.message && o(g.message);
12333
12350
  };
12334
- return /* @__PURE__ */ k.jsx(Ev, { theme: s, children: f.quickActions.map((g) => {
12351
+ return /* @__PURE__ */ $.jsx(Ev, { theme: s, children: f.quickActions.map((g) => {
12335
12352
  const x = g.icon ? Av[g.icon] : null;
12336
- return /* @__PURE__ */ k.jsxs(
12353
+ return /* @__PURE__ */ $.jsxs(
12337
12354
  zv,
12338
12355
  {
12339
12356
  theme: s,
12340
12357
  onClick: () => h(g),
12341
12358
  "aria-label": g.label,
12342
12359
  children: [
12343
- x && /* @__PURE__ */ k.jsx(x, { size: 16 }),
12360
+ x && /* @__PURE__ */ $.jsx(x, { size: 16 }),
12344
12361
  g.label
12345
12362
  ]
12346
12363
  },
@@ -12399,11 +12416,11 @@ const ov = [
12399
12416
  }};
12400
12417
  `, Uv = (i) => i.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }), Rv = ({ message: i, theme: f }) => {
12401
12418
  const s = i.sender === "user";
12402
- return /* @__PURE__ */ k.jsxs(Ov, { isUser: s, children: [
12403
- /* @__PURE__ */ k.jsx(Mv, { isUser: s, theme: f, children: i.content }),
12404
- /* @__PURE__ */ k.jsxs(Cv, { theme: f, children: [
12419
+ return /* @__PURE__ */ $.jsxs(Ov, { isUser: s, children: [
12420
+ /* @__PURE__ */ $.jsx(Mv, { isUser: s, theme: f, children: i.content }),
12421
+ /* @__PURE__ */ $.jsxs(Cv, { theme: f, children: [
12405
12422
  Uv(i.timestamp),
12406
- s && i.status !== "sent" && /* @__PURE__ */ k.jsx(Dv, { status: i.status, theme: f, children: i.status === "sending" ? "Sending..." : "Failed" })
12423
+ s && i.status !== "sent" && /* @__PURE__ */ $.jsx(Dv, { status: i.status, theme: f, children: i.status === "sending" ? "Sending..." : "Failed" })
12407
12424
  ] })
12408
12425
  ] });
12409
12426
  }, Nv = Jn`
@@ -12441,10 +12458,10 @@ const ov = [
12441
12458
  animation: none;
12442
12459
  opacity: 0.6;
12443
12460
  }
12444
- `, jv = ({ theme: i }) => /* @__PURE__ */ k.jsx(Hv, { theme: i, children: /* @__PURE__ */ k.jsxs(qv, { theme: i, children: [
12445
- /* @__PURE__ */ k.jsx(If, { delay: 0, theme: i }),
12446
- /* @__PURE__ */ k.jsx(If, { delay: 200, theme: i }),
12447
- /* @__PURE__ */ k.jsx(If, { delay: 400, theme: i })
12461
+ `, jv = ({ theme: i }) => /* @__PURE__ */ $.jsx(Hv, { theme: i, children: /* @__PURE__ */ $.jsxs(qv, { theme: i, children: [
12462
+ /* @__PURE__ */ $.jsx(If, { delay: 0, theme: i }),
12463
+ /* @__PURE__ */ $.jsx(If, { delay: 200, theme: i }),
12464
+ /* @__PURE__ */ $.jsx(If, { delay: 400, theme: i })
12448
12465
  ] }) }), Bv = bt.div`
12449
12466
  flex: 1;
12450
12467
  overflow-y: auto;
@@ -12483,9 +12500,9 @@ const ov = [
12483
12500
  const { messages: i, isTyping: f, theme: s } = wa(), o = w.useRef(null);
12484
12501
  return w.useEffect(() => {
12485
12502
  o.current && (o.current.scrollTop = o.current.scrollHeight);
12486
- }, [i, f]), /* @__PURE__ */ k.jsx(Bv, { ref: o, fontFamily: s.fontFamily, children: i.length === 0 && !f ? /* @__PURE__ */ k.jsx(Yv, { color: s.colors.textLight, children: "Send a message to start the conversation" }) : /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
12487
- i.map((h) => /* @__PURE__ */ k.jsx(Rv, { message: h, theme: s }, h.id)),
12488
- f && /* @__PURE__ */ k.jsx(jv, { theme: s })
12503
+ }, [i, f]), /* @__PURE__ */ $.jsx(Bv, { ref: o, fontFamily: s.fontFamily, children: i.length === 0 && !f ? /* @__PURE__ */ $.jsx(Yv, { color: s.colors.textLight, children: "Send a message to start the conversation" }) : /* @__PURE__ */ $.jsxs($.Fragment, { children: [
12504
+ i.map((h) => /* @__PURE__ */ $.jsx(Rv, { message: h, theme: s }, h.id)),
12505
+ f && /* @__PURE__ */ $.jsx(jv, { theme: s })
12489
12506
  ] }) });
12490
12507
  }, Xv = (i = {}) => {
12491
12508
  const { onTranscript: f, onError: s, language: o = "en-US" } = i, [h, g] = w.useState(!1), [x, N] = w.useState(""), [O, T] = w.useState(!1), U = w.useRef(null);
@@ -12636,8 +12653,8 @@ const ov = [
12636
12653
  ), tt = w.useCallback(() => {
12637
12654
  T();
12638
12655
  }, [T]), Z = f || !h.trim();
12639
- return /* @__PURE__ */ k.jsxs(Qv, { theme: o, children: [
12640
- /* @__PURE__ */ k.jsx(
12656
+ return /* @__PURE__ */ $.jsxs(Qv, { theme: o, children: [
12657
+ /* @__PURE__ */ $.jsx(
12641
12658
  Lv,
12642
12659
  {
12643
12660
  theme: o,
@@ -12650,7 +12667,7 @@ const ov = [
12650
12667
  "aria-label": "Message input"
12651
12668
  }
12652
12669
  ),
12653
- N && /* @__PURE__ */ k.jsx(
12670
+ N && /* @__PURE__ */ $.jsx(
12654
12671
  wv,
12655
12672
  {
12656
12673
  theme: o,
@@ -12658,17 +12675,17 @@ const ov = [
12658
12675
  isRecording: x,
12659
12676
  "aria-label": x ? "Stop recording" : "Start voice recording",
12660
12677
  title: x ? "Stop recording" : "Start voice recording",
12661
- children: /* @__PURE__ */ k.jsx(uv, { size: 18 })
12678
+ children: /* @__PURE__ */ $.jsx(uv, { size: 18 })
12662
12679
  }
12663
12680
  ),
12664
- /* @__PURE__ */ k.jsx(
12681
+ /* @__PURE__ */ $.jsx(
12665
12682
  Zv,
12666
12683
  {
12667
12684
  theme: o,
12668
12685
  onClick: D,
12669
12686
  disabled: Z,
12670
12687
  "aria-label": "Send message",
12671
- children: /* @__PURE__ */ k.jsx(rv, { size: 18 })
12688
+ children: /* @__PURE__ */ $.jsx(rv, { size: 18 })
12672
12689
  }
12673
12690
  )
12674
12691
  ] });
@@ -12681,7 +12698,7 @@ const ov = [
12681
12698
  opacity: 1;
12682
12699
  transform: translateY(0) scale(1);
12683
12700
  }
12684
- `, $v = Jn`
12701
+ `, kv = Jn`
12685
12702
  from {
12686
12703
  opacity: 1;
12687
12704
  transform: translateY(0) scale(1);
@@ -12690,7 +12707,7 @@ const ov = [
12690
12707
  opacity: 0;
12691
12708
  transform: translateY(20px) scale(0.95);
12692
12709
  }
12693
- `, kv = bt.div`
12710
+ `, $v = bt.div`
12694
12711
  position: fixed;
12695
12712
  bottom: 20px;
12696
12713
  ${({ position: i }) => i === "bottom-right" ? "right: 20px;" : "left: 20px;"}
@@ -12733,7 +12750,7 @@ const ov = [
12733
12750
  border-radius: ${({ theme: i }) => i.borderRadius};
12734
12751
  box-shadow: ${({ theme: i }) => i.shadow};
12735
12752
  overflow: hidden;
12736
- animation: ${({ isClosing: i }) => i ? bi`${$v} 0.2s ease-out forwards` : bi`${Jv} 0.3s ease-out`};
12753
+ animation: ${({ isClosing: i }) => i ? bi`${kv} 0.2s ease-out forwards` : bi`${Jv} 0.3s ease-out`};
12737
12754
 
12738
12755
  @media (prefers-reduced-motion: reduce) {
12739
12756
  animation: none;
@@ -12765,15 +12782,15 @@ const ov = [
12765
12782
  }
12766
12783
  `, tg = () => {
12767
12784
  const { isOpen: i, toggle: f, config: s, theme: o } = wa();
12768
- return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
12769
- /* @__PURE__ */ k.jsx(N1, { styles: Pv(o) }),
12770
- /* @__PURE__ */ k.jsxs(
12771
- kv,
12785
+ return /* @__PURE__ */ $.jsxs($.Fragment, { children: [
12786
+ /* @__PURE__ */ $.jsx(N1, { styles: Pv(o) }),
12787
+ /* @__PURE__ */ $.jsxs(
12788
+ $v,
12772
12789
  {
12773
12790
  className: "chatbot-widget-container",
12774
12791
  position: s.position || "bottom-right",
12775
12792
  children: [
12776
- /* @__PURE__ */ k.jsx(
12793
+ /* @__PURE__ */ $.jsx(
12777
12794
  Wv,
12778
12795
  {
12779
12796
  theme: o,
@@ -12782,14 +12799,14 @@ const ov = [
12782
12799
  onClick: f,
12783
12800
  "aria-label": "Open chat",
12784
12801
  "aria-expanded": i,
12785
- children: s.fabIcon ? /* @__PURE__ */ k.jsx(Fv, { src: s.fabIcon, alt: "Chat" }) : /* @__PURE__ */ k.jsx(av, { size: 24 })
12802
+ children: s.fabIcon ? /* @__PURE__ */ $.jsx(Fv, { src: s.fabIcon, alt: "Chat" }) : /* @__PURE__ */ $.jsx(av, { size: 24 })
12786
12803
  }
12787
12804
  ),
12788
- /* @__PURE__ */ k.jsxs(Iv, { theme: o, isOpen: i, isClosing: !1, children: [
12789
- /* @__PURE__ */ k.jsx(Tv, {}),
12790
- /* @__PURE__ */ k.jsx(_v, {}),
12791
- /* @__PURE__ */ k.jsx(Gv, {}),
12792
- /* @__PURE__ */ k.jsx(Kv, {})
12805
+ /* @__PURE__ */ $.jsxs(Iv, { theme: o, isOpen: i, isClosing: !1, children: [
12806
+ /* @__PURE__ */ $.jsx(Tv, {}),
12807
+ /* @__PURE__ */ $.jsx(_v, {}),
12808
+ /* @__PURE__ */ $.jsx(Gv, {}),
12809
+ /* @__PURE__ */ $.jsx(Kv, {})
12793
12810
  ] })
12794
12811
  ]
12795
12812
  }
@@ -12824,13 +12841,13 @@ const se = {
12824
12841
  }, eg = ({
12825
12842
  config: i,
12826
12843
  onMount: f
12827
- }) => /* @__PURE__ */ k.jsx(Zh, { config: i, children: /* @__PURE__ */ k.jsx(ag, { onMount: f }) }), ag = ({
12844
+ }) => /* @__PURE__ */ $.jsx(Zh, { config: i, children: /* @__PURE__ */ $.jsx(ag, { onMount: f }) }), ag = ({
12828
12845
  onMount: i
12829
12846
  }) => {
12830
12847
  const { open: f, close: s, toggle: o } = wa();
12831
12848
  return w.useEffect(() => {
12832
12849
  i({ open: f, close: s, toggle: o });
12833
- }, [f, s, o, i]), /* @__PURE__ */ k.jsx(tg, {});
12850
+ }, [f, s, o, i]), /* @__PURE__ */ $.jsx(tg, {});
12834
12851
  }, ng = {
12835
12852
  init: (i) => {
12836
12853
  if (Qa) {
@@ -12848,7 +12865,7 @@ const se = {
12848
12865
  quickActions: i.quickActions ?? X0.quickActions
12849
12866
  };
12850
12867
  oe = document.createElement("div"), oe.id = "chatbot-widget-root", document.body.appendChild(oe), Qa = Yh.createRoot(oe), Qa.render(
12851
- /* @__PURE__ */ k.jsx(
12868
+ /* @__PURE__ */ $.jsx(
12852
12869
  eg,
12853
12870
  {
12854
12871
  config: f,