cosmic-ai-genius 0.3.69 → 0.3.71

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.
@@ -2319,14 +2319,14 @@ kr.prototype.property = "";
2319
2319
  kr.prototype.spaceSeparated = !1;
2320
2320
  kr.prototype.space = void 0;
2321
2321
  let M7 = 0;
2322
- const Mn = tp(), Oa = tp(), lw = tp(), Mt = tp(), zi = tp(), Rm = tp(), Xr = tp();
2322
+ const Mn = tp(), Da = tp(), lw = tp(), Mt = tp(), zi = tp(), Rm = tp(), Xr = tp();
2323
2323
  function tp() {
2324
2324
  return 2 ** ++M7;
2325
2325
  }
2326
2326
  const cw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2327
2327
  __proto__: null,
2328
2328
  boolean: Mn,
2329
- booleanish: Oa,
2329
+ booleanish: Da,
2330
2330
  commaOrSpaceSeparated: Xr,
2331
2331
  commaSeparated: Rm,
2332
2332
  number: Mt,
@@ -2379,10 +2379,10 @@ function $m(t) {
2379
2379
  const f4 = $m({
2380
2380
  properties: {
2381
2381
  ariaActiveDescendant: null,
2382
- ariaAtomic: Oa,
2382
+ ariaAtomic: Da,
2383
2383
  ariaAutoComplete: null,
2384
- ariaBusy: Oa,
2385
- ariaChecked: Oa,
2384
+ ariaBusy: Da,
2385
+ ariaChecked: Da,
2386
2386
  ariaColCount: Mt,
2387
2387
  ariaColIndex: Mt,
2388
2388
  ariaColSpan: Mt,
@@ -2390,36 +2390,36 @@ const f4 = $m({
2390
2390
  ariaCurrent: null,
2391
2391
  ariaDescribedBy: zi,
2392
2392
  ariaDetails: null,
2393
- ariaDisabled: Oa,
2393
+ ariaDisabled: Da,
2394
2394
  ariaDropEffect: zi,
2395
2395
  ariaErrorMessage: null,
2396
- ariaExpanded: Oa,
2396
+ ariaExpanded: Da,
2397
2397
  ariaFlowTo: zi,
2398
- ariaGrabbed: Oa,
2398
+ ariaGrabbed: Da,
2399
2399
  ariaHasPopup: null,
2400
- ariaHidden: Oa,
2400
+ ariaHidden: Da,
2401
2401
  ariaInvalid: null,
2402
2402
  ariaKeyShortcuts: null,
2403
2403
  ariaLabel: null,
2404
2404
  ariaLabelledBy: zi,
2405
2405
  ariaLevel: Mt,
2406
2406
  ariaLive: null,
2407
- ariaModal: Oa,
2408
- ariaMultiLine: Oa,
2409
- ariaMultiSelectable: Oa,
2407
+ ariaModal: Da,
2408
+ ariaMultiLine: Da,
2409
+ ariaMultiSelectable: Da,
2410
2410
  ariaOrientation: null,
2411
2411
  ariaOwns: zi,
2412
2412
  ariaPlaceholder: null,
2413
2413
  ariaPosInSet: Mt,
2414
- ariaPressed: Oa,
2415
- ariaReadOnly: Oa,
2414
+ ariaPressed: Da,
2415
+ ariaReadOnly: Da,
2416
2416
  ariaRelevant: null,
2417
- ariaRequired: Oa,
2417
+ ariaRequired: Da,
2418
2418
  ariaRoleDescription: zi,
2419
2419
  ariaRowCount: Mt,
2420
2420
  ariaRowIndex: Mt,
2421
2421
  ariaRowSpan: Mt,
2422
- ariaSelected: Oa,
2422
+ ariaSelected: Da,
2423
2423
  ariaSetSize: Mt,
2424
2424
  ariaSort: null,
2425
2425
  ariaValueMax: Mt,
@@ -2473,7 +2473,7 @@ const E7 = $m({
2473
2473
  cols: Mt,
2474
2474
  colSpan: null,
2475
2475
  content: null,
2476
- contentEditable: Oa,
2476
+ contentEditable: Da,
2477
2477
  controls: Mn,
2478
2478
  controlsList: zi,
2479
2479
  coords: Mt | Rm,
@@ -2487,7 +2487,7 @@ const E7 = $m({
2487
2487
  dirName: null,
2488
2488
  disabled: Mn,
2489
2489
  download: lw,
2490
- draggable: Oa,
2490
+ draggable: Da,
2491
2491
  encType: null,
2492
2492
  enterKeyHint: null,
2493
2493
  fetchPriority: null,
@@ -2658,7 +2658,7 @@ const E7 = $m({
2658
2658
  sizes: null,
2659
2659
  slot: null,
2660
2660
  span: Mt,
2661
- spellCheck: Oa,
2661
+ spellCheck: Da,
2662
2662
  src: null,
2663
2663
  srcDoc: null,
2664
2664
  srcLang: null,
@@ -2673,7 +2673,7 @@ const E7 = $m({
2673
2673
  type: null,
2674
2674
  typeMustMatch: Mn,
2675
2675
  useMap: null,
2676
- value: Oa,
2676
+ value: Da,
2677
2677
  width: Mt,
2678
2678
  wrap: null,
2679
2679
  writingSuggestions: null,
@@ -2765,7 +2765,7 @@ const E7 = $m({
2765
2765
  // `<table>`
2766
2766
  scheme: null,
2767
2767
  // `<meta>`
2768
- scrolling: Oa,
2768
+ scrolling: Da,
2769
2769
  // `<frame>`. Use overflow in the child context
2770
2770
  standby: null,
2771
2771
  // `<object>`
@@ -13518,20 +13518,20 @@ function sP() {
13518
13518
  let xe = E.slice(0, X.length + 1).reduce(function(De, ze, Ge) {
13519
13519
  if (ze !== !1 && ze !== "") {
13520
13520
  let Fe = X[Ge - 1] || { isHeader: !0, plotX: X[0].plotX, plotY: m, series: {} }, Ke = Fe.isHeader, dt = Ke ? J : Fe.series, ct = dt.tt = function(tn, cn, ci) {
13521
- let qn = tn, { isHeader: Xn, series: Sa } = cn;
13521
+ let qn = tn, { isHeader: Xn, series: Oa } = cn;
13522
13522
  if (!qn) {
13523
- let _a = { padding: se.padding, r: se.borderRadius };
13524
- $ || (_a.fill = se.backgroundColor, _a["stroke-width"] = se.borderWidth ?? 1), qn = pe.label("", 0, 0, se[Xn ? "headerShape" : "shape"], void 0, void 0, se.useHTML).addClass(J.getClassName(cn, !0, Xn)).attr(_a).add(de);
13523
+ let Sa = { padding: se.padding, r: se.borderRadius };
13524
+ $ || (Sa.fill = se.backgroundColor, Sa["stroke-width"] = se.borderWidth ?? 1), qn = pe.label("", 0, 0, se[Xn ? "headerShape" : "shape"], void 0, void 0, se.useHTML).addClass(J.getClassName(cn, !0, Xn)).attr(Sa).add(de);
13525
13525
  }
13526
- return qn.isActive = !0, qn.attr({ text: ci }), $ || qn.css(se.style).attr({ stroke: se.borderColor || cn.color || Sa.color || "#333333" }), qn;
13526
+ return qn.isActive = !0, qn.attr({ text: ci }), $ || qn.css(se.style).attr({ stroke: se.borderColor || cn.color || Oa.color || "#333333" }), qn;
13527
13527
  }(dt.tt, Fe, ze.toString()), et = ct.getBBox(), Ot = et.width + ct.strokeWidth();
13528
13528
  Ke && (Ce = et.height, me += Ce, ge && (ke -= Ce));
13529
13529
  let { anchorX: Nt, anchorY: Bt } = function(tn) {
13530
- let cn, ci, { isHeader: qn, plotX: Xn = 0, plotY: Sa = 0, series: _a } = tn;
13530
+ let cn, ci, { isHeader: qn, plotX: Xn = 0, plotY: Oa = 0, series: Sa } = tn;
13531
13531
  if (qn) cn = Math.max(F + Xn, F), ci = Q + m / 2;
13532
13532
  else {
13533
- let { xAxis: Ar, yAxis: pn } = _a;
13534
- cn = Ar.pos + v(Xn, -W, Ar.len + W), _a.shouldShowTooltip(0, pn.pos - Q + Sa, { ignoreX: !0 }) && (ci = pn.pos + Sa);
13533
+ let { xAxis: Ar, yAxis: pn } = Sa;
13534
+ cn = Ar.pos + v(Xn, -W, Ar.len + W), Sa.shouldShowTooltip(0, pn.pos - Q + Oa, { ignoreX: !0 }) && (ci = pn.pos + Oa);
13535
13535
  }
13536
13536
  return { anchorX: cn = v(cn, oe.left - W, oe.right + W), anchorY: ci };
13537
13537
  }(Fe);
@@ -15168,9 +15168,9 @@ function sP() {
15168
15168
  var Ke;
15169
15169
  let { axes: be = this.axes, event: xe, from: fe = {}, reset: we, selection: Te, to: Me = {}, trigger: Le } = me, { inverted: De } = this, ze = !1, Ge, Fe;
15170
15170
  for (let dt of ((Ke = this.hoverPoints) == null || Ke.forEach((ct) => ct.setState()), be)) {
15171
- let { horiz: ct, len: et, minPointOffset: Ot = 0, options: Nt, reversed: Bt } = dt, tn = ct ? "width" : "height", cn = ct ? "x" : "y", ci = ae(Me[tn], dt.len), qn = ae(fe[tn], dt.len), Xn = 10 > Math.abs(ci) ? 1 : ci / qn, Sa = (fe[cn] || 0) + qn / 2 - dt.pos, _a = Sa - ((Me[cn] ?? dt.pos) + ci / 2 - dt.pos) / Xn, Ar = Bt && !De || !Bt && De ? -1 : 1;
15172
- if (!we && (Sa < 0 || Sa > dt.len)) continue;
15173
- let pn = dt.toValue(_a, !0) + (Te || dt.isOrdinal ? 0 : Ot * Ar), En = dt.toValue(_a + et / Xn, !0) - (Te || dt.isOrdinal ? 0 : Ot * Ar || 0), ui = dt.allExtremes;
15171
+ let { horiz: ct, len: et, minPointOffset: Ot = 0, options: Nt, reversed: Bt } = dt, tn = ct ? "width" : "height", cn = ct ? "x" : "y", ci = ae(Me[tn], dt.len), qn = ae(fe[tn], dt.len), Xn = 10 > Math.abs(ci) ? 1 : ci / qn, Oa = (fe[cn] || 0) + qn / 2 - dt.pos, Sa = Oa - ((Me[cn] ?? dt.pos) + ci / 2 - dt.pos) / Xn, Ar = Bt && !De || !Bt && De ? -1 : 1;
15172
+ if (!we && (Oa < 0 || Oa > dt.len)) continue;
15173
+ let pn = dt.toValue(Sa, !0) + (Te || dt.isOrdinal ? 0 : Ot * Ar), En = dt.toValue(Sa + et / Xn, !0) - (Te || dt.isOrdinal ? 0 : Ot * Ar || 0), ui = dt.allExtremes;
15174
15174
  if (pn > En && ([pn, En] = [En, pn]), Xn === 1 && !we && dt.coll === "yAxis" && !ui) {
15175
15175
  for (let Lt of dt.series) {
15176
15176
  let Yt = Lt.getExtremes(Lt.getProcessedData(!0).yData, !0);
@@ -15179,7 +15179,7 @@ function sP() {
15179
15179
  dt.allExtremes = ui;
15180
15180
  }
15181
15181
  let { dataMin: ar, dataMax: Jr, min: Wo, max: je } = F(dt.getExtremes(), ui || {}), rt = ar ?? Nt.min, He = Jr ?? Nt.max, Be = En - pn, gt = dt.categories ? 0 : Math.min(Be, He - rt), ht = rt - gt * (J(Nt.min) ? 0 : Nt.minPadding), wt = He + gt * (J(Nt.max) ? 0 : Nt.maxPadding), Pt = dt.allowZoomOutside || Xn === 1 || Le !== "zoom" && Xn > 1, Ct = Math.min(Nt.min ?? ht, ht, Pt ? Wo : ht), qt = Math.max(Nt.max ?? wt, wt, Pt ? je : wt);
15182
- (!dt.isOrdinal || dt.options.overscroll || Xn !== 1 || we) && (pn < Ct && (pn = Ct, Xn >= 1 && (En = pn + Be)), En > qt && (En = qt, Xn >= 1 && (pn = En - Be)), (we || dt.series.length && (pn !== Wo || En !== je) && pn >= Ct && En <= qt) && (Te ? Te[dt.coll].push({ axis: dt, min: pn, max: En }) : (dt.isPanning = Le !== "zoom", dt.isPanning && (Fe = !0), dt.setExtremes(we ? void 0 : pn, we ? void 0 : En, !1, !1, { move: _a, trigger: Le, scale: Xn }), !we && (pn > Ct || En < qt) && Le !== "mousewheel" && (Ge = !0)), ze = !0), xe && (this[ct ? "mouseDownX" : "mouseDownY"] = xe[ct ? "chartX" : "chartY"]));
15182
+ (!dt.isOrdinal || dt.options.overscroll || Xn !== 1 || we) && (pn < Ct && (pn = Ct, Xn >= 1 && (En = pn + Be)), En > qt && (En = qt, Xn >= 1 && (pn = En - Be)), (we || dt.series.length && (pn !== Wo || En !== je) && pn >= Ct && En <= qt) && (Te ? Te[dt.coll].push({ axis: dt, min: pn, max: En }) : (dt.isPanning = Le !== "zoom", dt.isPanning && (Fe = !0), dt.setExtremes(we ? void 0 : pn, we ? void 0 : En, !1, !1, { move: Sa, trigger: Le, scale: Xn }), !we && (pn > Ct || En < qt) && Le !== "mousewheel" && (Ge = !0)), ze = !0), xe && (this[ct ? "mouseDownX" : "mouseDownY"] = xe[ct ? "chartX" : "chartY"]));
15183
15183
  }
15184
15184
  return ze && (Te ? H(this, "selection", Te, () => {
15185
15185
  delete me.selection, me.trigger = "zoom", this.transform(me);
@@ -18418,28 +18418,30 @@ const CP = ({
18418
18418
  }
18419
18419
  ),
18420
18420
  (O || w) && !t.isFromHistory && /* @__PURE__ */ le.jsxs("div", { className: $e["genius-dashboard-action-buttons"], children: [
18421
- /* @__PURE__ */ le.jsx(
18422
- "button",
18423
- {
18424
- className: `${$e["genius-dashboard-like-button-inline"]} ${Y ? $e.liked : ""}`,
18425
- onClick: M,
18426
- "aria-label": "Like",
18427
- title: Y ? "Liked" : "Like",
18428
- disabled: Y,
18429
- children: Y ? /* @__PURE__ */ le.jsx(m7, {}) : /* @__PURE__ */ le.jsx(p7, {})
18430
- }
18431
- ),
18432
- /* @__PURE__ */ le.jsx(
18433
- "button",
18434
- {
18435
- className: `${$e["genius-dashboard-dislike-button-inline"]} ${v ? $e.disliked : ""}`,
18436
- onClick: I,
18437
- "aria-label": "Dislike",
18438
- title: v ? "Disliked" : "Dislike",
18439
- disabled: v,
18440
- children: v ? /* @__PURE__ */ le.jsx(y7, {}) : /* @__PURE__ */ le.jsx(g7, {})
18441
- }
18442
- ),
18421
+ t.feedbackId && /* @__PURE__ */ le.jsxs(le.Fragment, { children: [
18422
+ /* @__PURE__ */ le.jsx(
18423
+ "button",
18424
+ {
18425
+ className: `${$e["genius-dashboard-like-button-inline"]} ${Y ? $e.liked : ""}`,
18426
+ onClick: M,
18427
+ "aria-label": "Like",
18428
+ title: Y ? "Liked" : "Like",
18429
+ disabled: Y,
18430
+ children: Y ? /* @__PURE__ */ le.jsx(m7, {}) : /* @__PURE__ */ le.jsx(p7, {})
18431
+ }
18432
+ ),
18433
+ /* @__PURE__ */ le.jsx(
18434
+ "button",
18435
+ {
18436
+ className: `${$e["genius-dashboard-dislike-button-inline"]} ${v ? $e.disliked : ""}`,
18437
+ onClick: I,
18438
+ "aria-label": "Dislike",
18439
+ title: v ? "Disliked" : "Dislike",
18440
+ disabled: v,
18441
+ children: v ? /* @__PURE__ */ le.jsx(y7, {}) : /* @__PURE__ */ le.jsx(g7, {})
18442
+ }
18443
+ )
18444
+ ] }),
18443
18445
  u && d && /* @__PURE__ */ le.jsx(
18444
18446
  "button",
18445
18447
  {
@@ -36431,7 +36433,7 @@ Please choose files smaller than 6MB.`);
36431
36433
  }
36432
36434
  }, Xn = () => {
36433
36435
  O([]), q(""), S(""), T(""), Bt(), G && (G.abort(), P(null)), B(!1), U(!1), R(!1);
36434
- }, Sa = () => {
36436
+ }, Oa = () => {
36435
36437
  if (G) {
36436
36438
  G.abort(), P(null), B(!1), U(!1);
36437
36439
  const je = {
@@ -36442,7 +36444,7 @@ Please choose files smaller than 6MB.`);
36442
36444
  };
36443
36445
  O((rt) => [...rt, je]);
36444
36446
  }
36445
- }, _a = (je) => {
36447
+ }, Sa = (je) => {
36446
36448
  const He = (/* @__PURE__ */ new Date()).getTime() - je.getTime(), Be = Math.floor(He / 6e4), gt = Math.floor(He / 36e5), ht = Math.floor(He / 864e5);
36447
36449
  return Be < 1 ? "Just now" : Be < 60 ? `${Be} min ago` : gt < 24 ? `${gt} hour${gt > 1 ? "s" : ""} ago` : ht < 7 ? `${ht} day${ht > 1 ? "s" : ""} ago` : je.toLocaleDateString();
36448
36450
  }, Ar = async () => {
@@ -36521,7 +36523,7 @@ Please choose files smaller than 6MB.`);
36521
36523
  if (!qt)
36522
36524
  throw new Error("Failed to get response reader");
36523
36525
  const Lt = new TextDecoder();
36524
- let Yt = null, wn = "", Cn = 0, In = "", wa = null;
36526
+ let Yt = null, wn = "", Cn = 0, In = "", _a = null;
36525
36527
  const Dn = {}, Ai = K, Zt = (Wt) => {
36526
36528
  var xt;
36527
36529
  if (!Wt.trim()) return;
@@ -36559,7 +36561,7 @@ Please choose files smaller than 6MB.`);
36559
36561
  };
36560
36562
  Yt = nt.id, O((qe) => [...qe, nt]);
36561
36563
  }
36562
- zt === "final_output" && (wn = pt, Dn.finalOutputData = st, st.message_id && J(st.message_id), wa && (m(wa), wa = null));
36564
+ zt === "final_output" && (wn = pt, Dn.finalOutputData = st, st.message_id && J(st.message_id), _a && (m(_a), _a = null));
36563
36565
  } else if (zt === "tool_output" && st.tool_name === "display_message")
36564
36566
  try {
36565
36567
  const pt = typeof st.output == "string" ? JSON.parse(st.output) : st.output, nt = st.input ? ca(st.input, st.tool_name) : "";
@@ -36594,7 +36596,7 @@ Please choose files smaller than 6MB.`);
36594
36596
  } catch {
36595
36597
  pt = {};
36596
36598
  }
36597
- pt.is_SR_drop === !0 && (wa = {
36599
+ pt.is_SR_drop === !0 && (_a = {
36598
36600
  srOutput: pt,
36599
36601
  srPayload: st.input ? typeof st.input == "string" ? JSON.parse(st.input) : st.input : {},
36600
36602
  userEmail: pt.parent_email || ""
@@ -36757,6 +36759,13 @@ Please choose files smaller than 6MB.`);
36757
36759
  }, pn = async () => {
36758
36760
  var ht;
36759
36761
  if (!b.trim() || w || z) return;
36762
+ t.onAnalyticsEvent && j.length === 0 && (console.log("Triggering input_submit analytics event for welcome screen input"), t.onAnalyticsEvent("input_submit", {
36763
+ action: "Submit",
36764
+ actionName: "Genius Input Submit",
36765
+ featureName: "Genius",
36766
+ component: "GeniusChatbotDashboard",
36767
+ inputType: "welcome_screen"
36768
+ }));
36760
36769
  const je = b.trim();
36761
36770
  T(je);
36762
36771
  const rt = /* @__PURE__ */ new Date(), He = Date.now(), Be = [];
@@ -36848,7 +36857,7 @@ Please choose files smaller than 6MB.`);
36848
36857
  if (!Yt)
36849
36858
  throw new Error("Failed to get response reader");
36850
36859
  const wn = new TextDecoder();
36851
- let Cn = null, In = "", wa = 0, Dn = "", Ai = null;
36860
+ let Cn = null, In = "", _a = 0, Dn = "", Ai = null;
36852
36861
  const Zt = {};
36853
36862
  let Wt = K;
36854
36863
  const Ln = (zt) => {
@@ -37211,7 +37220,7 @@ Please choose files smaller than 6MB.`);
37211
37220
  });
37212
37221
  break;
37213
37222
  }
37214
- wa++;
37223
+ _a++;
37215
37224
  const xt = wn.decode($t, { stream: !0 });
37216
37225
  Dn += xt;
37217
37226
  const st = Dn.split(`
@@ -37237,7 +37246,7 @@ Please choose files smaller than 6MB.`);
37237
37246
  B(!1), U(!1), P(null);
37238
37247
  }
37239
37248
  }, En = (je) => {
37240
- je.key === "Enter" && !je.shiftKey && (je.preventDefault(), w ? Sa() : pn());
37249
+ je.key === "Enter" && !je.shiftKey && (je.preventDefault(), w || pn());
37241
37250
  }, ui = /* @__PURE__ */ le.jsxs("div", { className: $e["genius-dashboard-input-area"], children: [
37242
37251
  $ && j.length > 0 && /* @__PURE__ */ le.jsx(
37243
37252
  "button",
@@ -37375,7 +37384,7 @@ Please choose files smaller than 6MB.`);
37375
37384
  {
37376
37385
  className: $e["genius-dashboard-cancel-button"],
37377
37386
  "aria-label": "Cancel",
37378
- onClick: Sa,
37387
+ onClick: Oa,
37379
37388
  children: /* @__PURE__ */ le.jsx(c4, {})
37380
37389
  }
37381
37390
  ) : /* @__PURE__ */ le.jsxs("div", { className: $e["genius-dashboard-send-retry-container"], children: [
@@ -37492,7 +37501,7 @@ Please choose files smaller than 6MB.`);
37492
37501
  /* @__PURE__ */ le.jsxs("div", { className: $e["genius-dashboard-history-item-content"], children: [
37493
37502
  /* @__PURE__ */ le.jsx("div", { className: $e["genius-dashboard-history-item-title"], children: je.title }),
37494
37503
  /* @__PURE__ */ le.jsxs("div", { className: $e["genius-dashboard-history-item-date"], children: [
37495
- _a(je.timestamp),
37504
+ Sa(je.timestamp),
37496
37505
  " • ",
37497
37506
  je.messageCount,
37498
37507
  " messages"
@@ -38697,7 +38706,7 @@ const VE = () => {
38697
38706
  metricColumns: [Cn],
38698
38707
  cardinality: "TOP_5",
38699
38708
  showCardinality: !0
38700
- }, wa = {
38709
+ }, _a = {
38701
38710
  metric_name_db: Cn,
38702
38711
  metric_label: Cn.replace(/_/g, " "),
38703
38712
  metric_type: ii(Cn) === "percentage" ? "Rate" : ii(Cn) === "volume" ? "Volume" : ii(Cn) === "latency" ? "Latency" : "Count"
@@ -38808,7 +38817,7 @@ const VE = () => {
38808
38817
  // Keep for backwards compatibility
38809
38818
  rawChartData: Pt,
38810
38819
  groupbyConfig: In,
38811
- selectedMetrics: wa,
38820
+ selectedMetrics: _a,
38812
38821
  isFromHistory: !0
38813
38822
  }), gt = !0;
38814
38823
  }
@@ -39037,7 +39046,7 @@ const VE = () => {
39037
39046
  };
39038
39047
  j((rt) => [...rt, je]);
39039
39048
  }
39040
- }, Sa = async () => {
39049
+ }, Oa = async () => {
39041
39050
  if (T && !B && !k) {
39042
39051
  const je = T;
39043
39052
  j((He) => {
@@ -39363,8 +39372,8 @@ const VE = () => {
39363
39372
  });
39364
39373
  break;
39365
39374
  }
39366
- const wa = qt.decode(In, { stream: !0 });
39367
- wn += wa;
39375
+ const _a = qt.decode(In, { stream: !0 });
39376
+ wn += _a;
39368
39377
  const Dn = wn.split(`
39369
39378
 
39370
39379
  `), Ai = Dn.slice(0, -1);
@@ -39644,8 +39653,15 @@ const VE = () => {
39644
39653
  Y(!1), v(!1), M(null);
39645
39654
  }
39646
39655
  }
39647
- }, _a = async () => {
39656
+ }, Sa = async () => {
39648
39657
  if (!O.trim() || B || k) return;
39658
+ t.onAnalyticsEvent && S.length === 0 && (console.log("Triggering input_submit analytics event for welcome screen input"), t.onAnalyticsEvent("input_submit", {
39659
+ action: "Submit",
39660
+ actionName: "Genius Input Submit",
39661
+ featureName: "Genius",
39662
+ component: "GeniusChatbotMobile",
39663
+ inputType: "welcome_screen"
39664
+ }));
39649
39665
  const je = O.trim();
39650
39666
  L(je);
39651
39667
  const rt = {
@@ -39931,10 +39947,10 @@ const VE = () => {
39931
39947
  }
39932
39948
  const In = qt.decode(Cn, { stream: !0 });
39933
39949
  Yt += In;
39934
- const wa = Yt.split(`
39950
+ const _a = Yt.split(`
39935
39951
 
39936
- `), Dn = wa.slice(0, -1);
39937
- Yt = wa[wa.length - 1], Dn.forEach((Ai) => {
39952
+ `), Dn = _a.slice(0, -1);
39953
+ Yt = _a[_a.length - 1], Dn.forEach((Ai) => {
39938
39954
  var Ln, zt;
39939
39955
  const Zt = (Ln = Ai.match(/event: (.*)/)) == null ? void 0 : Ln[1], Wt = Ai.match(/data: (.*)/);
39940
39956
  if (Wt)
@@ -40209,7 +40225,7 @@ const VE = () => {
40209
40225
  }, Ar = (je) => {
40210
40226
  w(je), qn();
40211
40227
  }, pn = (je) => {
40212
- je.key === "Enter" && !je.shiftKey && (je.preventDefault(), B ? Xn() : _a());
40228
+ je.key === "Enter" && !je.shiftKey && (je.preventDefault(), B ? Xn() : Sa());
40213
40229
  }, En = () => {
40214
40230
  Te.current && we.current && (clearTimeout(we.current), we.current = null, ee(!1), Te.current = !1, $("unknown")), X0 && lV(), g && g();
40215
40231
  }, ui = () => {
@@ -40575,7 +40591,7 @@ const VE = () => {
40575
40591
  onTypingStateChange: A,
40576
40592
  onTypingUpdate: ci,
40577
40593
  skipAnimation: je.isFromHistory || je.skipAnimation,
40578
- onRetry: Sa,
40594
+ onRetry: Oa,
40579
40595
  isLastMessage: !!je.content && rt === S.length - 1 && !U,
40580
40596
  onDislike: () => Jr(je.id),
40581
40597
  endpoint: b,
@@ -40675,7 +40691,7 @@ const VE = () => {
40675
40691
  "button",
40676
40692
  {
40677
40693
  className: Tt["genius-chatbot-mobile-send-button"],
40678
- onClick: _a,
40694
+ onClick: Sa,
40679
40695
  "aria-label": "Send message",
40680
40696
  type: "button",
40681
40697
  disabled: !O.trim() || k,
@@ -40806,6 +40822,13 @@ const VE = () => {
40806
40822
  }, H = async () => {
40807
40823
  var de, pe;
40808
40824
  if (!k.trim() || D) return;
40825
+ t.onAnalyticsEvent && U.length === 0 && t.onAnalyticsEvent("input_submit", {
40826
+ action: "Submit",
40827
+ actionName: "Genius Input Submit",
40828
+ featureName: "Genius",
40829
+ component: "GeniusChatbot",
40830
+ inputType: "welcome_screen"
40831
+ });
40809
40832
  const ae = {
40810
40833
  id: Date.now().toString(),
40811
40834
  content: k,
@@ -41155,7 +41178,7 @@ const VE = () => {
41155
41178
  const [r, o] = Dt(i), u = () => o(!0), d = () => o(!1), h = () => o(!r), g = () => {
41156
41179
  d(), n.onClose && n.onClose();
41157
41180
  };
41158
- return /* @__PURE__ */ le.jsxs(YE.Provider, { value: { isOpen: r, openChatbot: u, closeChatbot: d, toggleChatbot: h }, children: [
41181
+ return /* @__PURE__ */ le.jsxs(YE.Provider, { value: { isOpen: r, openChatbot: u, closeChatbot: d, toggleChatbot: h, config: n }, children: [
41159
41182
  t,
41160
41183
  r && /* @__PURE__ */ le.jsx(
41161
41184
  $E,
@@ -41193,18 +41216,28 @@ const VE = () => {
41193
41216
  offsetX: n = 20,
41194
41217
  offsetY: i = 20
41195
41218
  }) => {
41196
- const { openChatbot: r, isOpen: o } = gV(), u = {
41219
+ const { openChatbot: r, isOpen: o, config: u } = gV(), d = {
41197
41220
  position: "fixed",
41198
41221
  ...t.includes("bottom") ? { bottom: i } : { top: i },
41199
41222
  ...t.includes("right") ? { right: n } : { left: n }
41200
41223
  };
41201
- return o ? null : /* @__PURE__ */ le.jsx(th, { children: /* @__PURE__ */ le.jsxs(
41224
+ if (o)
41225
+ return null;
41226
+ const h = () => {
41227
+ u != null && u.onAnalyticsEvent && u.onAnalyticsEvent("button_click", {
41228
+ action: "Click",
41229
+ actionName: "Genius Button Click web",
41230
+ featureName: "Genius",
41231
+ component: "GeniusToggle"
41232
+ }), r();
41233
+ };
41234
+ return /* @__PURE__ */ le.jsx(th, { children: /* @__PURE__ */ le.jsxs(
41202
41235
  "button",
41203
41236
  {
41204
41237
  className: Z2["genius-toggle-button"],
41205
- onClick: r,
41238
+ onClick: h,
41206
41239
  "aria-label": "Open Genius chatbot",
41207
- style: u,
41240
+ style: d,
41208
41241
  children: [
41209
41242
  /* @__PURE__ */ le.jsx("span", { className: Z2["genius-toggle-text"], children: "Ask Genius" }),
41210
41243
  /* @__PURE__ */ le.jsx("div", { className: Z2["genius-toggle-logo"], children: /* @__PURE__ */ le.jsx(mV, {}) })
@@ -42092,10 +42125,10 @@ function vV() {
42092
42125
  }
42093
42126
  return s;
42094
42127
  }
42095
- function Sa(s) {
42128
+ function Oa(s) {
42096
42129
  return s &= -s, 2 < s ? 8 < s ? (s & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
42097
42130
  }
42098
- function _a() {
42131
+ function Sa() {
42099
42132
  var s = E.p;
42100
42133
  return s !== 0 ? s : (s = window.event, s === void 0 ? 32 : Yb(s.type));
42101
42134
  }
@@ -42157,9 +42190,9 @@ function vV() {
42157
42190
  }
42158
42191
  var Cn = RegExp(
42159
42192
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
42160
- ), In = {}, wa = {};
42193
+ ), In = {}, _a = {};
42161
42194
  function Dn(s) {
42162
- return ee.call(wa, s) ? !0 : ee.call(In, s) ? !1 : Cn.test(s) ? wa[s] = !0 : (In[s] = !0, !1);
42195
+ return ee.call(_a, s) ? !0 : ee.call(In, s) ? !1 : Cn.test(s) ? _a[s] = !0 : (In[s] = !0, !1);
42163
42196
  }
42164
42197
  function Ai(s, c, f) {
42165
42198
  if (Dn(c))
@@ -43547,7 +43580,7 @@ Error generating stack: ` + f.message + `
43547
43580
  function Vl(s) {
43548
43581
  il = s, Br = null, s = s.dependencies, s !== null && (s.firstContext = null);
43549
43582
  }
43550
- function Ca(s) {
43583
+ function wa(s) {
43551
43584
  return wy(il, s);
43552
43585
  }
43553
43586
  function xh(s, c) {
@@ -43852,7 +43885,7 @@ Error generating stack: ` + f.message + `
43852
43885
  Dp(f[s], c);
43853
43886
  }
43854
43887
  var Hc = ie(null), Th = ie(0);
43855
- function ka(s, c) {
43888
+ function Ca(s, c) {
43856
43889
  s = dl, m(Th, s), m(Hc, c), dl = s | c.baseLanes;
43857
43890
  }
43858
43891
  function Ku() {
@@ -43960,7 +43993,7 @@ Error generating stack: ` + f.message + `
43960
43993
  function sa(s) {
43961
43994
  if (s !== null && typeof s == "object") {
43962
43995
  if (typeof s.then == "function") return Eh(s);
43963
- if (s.$$typeof === k) return Ca(s);
43996
+ if (s.$$typeof === k) return wa(s);
43964
43997
  }
43965
43998
  throw Error(r(438, String(s)));
43966
43999
  }
@@ -44488,7 +44521,7 @@ Error generating stack: ` + f.message + `
44488
44521
  Fc(s, c, {}, Hs());
44489
44522
  }
44490
44523
  function pr() {
44491
- return Ca(Ds);
44524
+ return wa(Ds);
44492
44525
  }
44493
44526
  function Uy() {
44494
44527
  return qi().memoizedState;
@@ -44584,7 +44617,7 @@ Error generating stack: ` + f.message + `
44584
44617
  }
44585
44618
  }
44586
44619
  var Wp = {
44587
- readContext: Ca,
44620
+ readContext: wa,
44588
44621
  use: sa,
44589
44622
  useCallback: Vi,
44590
44623
  useContext: Vi,
@@ -44608,7 +44641,7 @@ Error generating stack: ` + f.message + `
44608
44641
  useMemoCache: Vi,
44609
44642
  useCacheRefresh: Vi
44610
44643
  }, Fy = {
44611
- readContext: Ca,
44644
+ readContext: wa,
44612
44645
  use: sa,
44613
44646
  useCallback: function(s, c) {
44614
44647
  return qa().memoizedState = [
@@ -44616,7 +44649,7 @@ Error generating stack: ` + f.message + `
44616
44649
  c === void 0 ? null : c
44617
44650
  ], s;
44618
44651
  },
44619
- useContext: Ca,
44652
+ useContext: wa,
44620
44653
  useEffect: N1,
44621
44654
  useImperativeHandle: function(s, c, f) {
44622
44655
  f = f != null ? f.concat([s]) : null, Xl(
@@ -44760,10 +44793,10 @@ Error generating stack: ` + f.message + `
44760
44793
  );
44761
44794
  }
44762
44795
  }, $y = {
44763
- readContext: Ca,
44796
+ readContext: wa,
44764
44797
  use: sa,
44765
44798
  useCallback: Vc,
44766
- useContext: Ca,
44799
+ useContext: wa,
44767
44800
  useEffect: P1,
44768
44801
  useImperativeHandle: qp,
44769
44802
  useInsertionEffect: Py,
@@ -44803,10 +44836,10 @@ Error generating stack: ` + f.message + `
44803
44836
  useMemoCache: Np,
44804
44837
  useCacheRefresh: I1
44805
44838
  }, ol = {
44806
- readContext: Ca,
44839
+ readContext: wa,
44807
44840
  use: sa,
44808
44841
  useCallback: Vc,
44809
- useContext: Ca,
44842
+ useContext: wa,
44810
44843
  useEffect: P1,
44811
44844
  useImperativeHandle: qp,
44812
44845
  useInsertionEffect: Py,
@@ -45049,8 +45082,8 @@ Error generating stack: ` + f.message + `
45049
45082
  return null;
45050
45083
  }
45051
45084
  function Qt(Ve, Ue, Ye, mt) {
45052
- for (var Gt = null, Tn = null, Xt = Ue, an = Ue = 0, Ma = null; Xt !== null && an < Ye.length; an++) {
45053
- Xt.index > an ? (Ma = Xt, Xt = null) : Ma = Xt.sibling;
45085
+ for (var Gt = null, Tn = null, Xt = Ue, an = Ue = 0, Aa = null; Xt !== null && an < Ye.length; an++) {
45086
+ Xt.index > an ? (Aa = Xt, Xt = null) : Aa = Xt.sibling;
45054
45087
  var Yn = Ze(
45055
45088
  Ve,
45056
45089
  Xt,
@@ -45058,10 +45091,10 @@ Error generating stack: ` + f.message + `
45058
45091
  mt
45059
45092
  );
45060
45093
  if (Yn === null) {
45061
- Xt === null && (Xt = Ma);
45094
+ Xt === null && (Xt = Aa);
45062
45095
  break;
45063
45096
  }
45064
- s && Xt && Yn.alternate === null && c(Ve, Xt), Ue = re(Yn, Ue, an), Tn === null ? Gt = Yn : Tn.sibling = Yn, Tn = Yn, Xt = Ma;
45097
+ s && Xt && Yn.alternate === null && c(Ve, Xt), Ue = re(Yn, Ue, an), Tn === null ? Gt = Yn : Tn.sibling = Yn, Tn = Yn, Xt = Aa;
45065
45098
  }
45066
45099
  if (an === Ye.length)
45067
45100
  return f(Ve, Xt), Wn && Hn(Ve, an), Gt;
@@ -45075,33 +45108,33 @@ Error generating stack: ` + f.message + `
45075
45108
  return Wn && Hn(Ve, an), Gt;
45076
45109
  }
45077
45110
  for (Xt = _(Xt); an < Ye.length; an++)
45078
- Ma = Je(
45111
+ Aa = Je(
45079
45112
  Xt,
45080
45113
  Ve,
45081
45114
  an,
45082
45115
  Ye[an],
45083
45116
  mt
45084
- ), Ma !== null && (s && Ma.alternate !== null && Xt.delete(
45085
- Ma.key === null ? an : Ma.key
45117
+ ), Aa !== null && (s && Aa.alternate !== null && Xt.delete(
45118
+ Aa.key === null ? an : Aa.key
45086
45119
  ), Ue = re(
45087
- Ma,
45120
+ Aa,
45088
45121
  Ue,
45089
45122
  an
45090
- ), Tn === null ? Gt = Ma : Tn.sibling = Ma, Tn = Ma);
45123
+ ), Tn === null ? Gt = Aa : Tn.sibling = Aa, Tn = Aa);
45091
45124
  return s && Xt.forEach(function(hc) {
45092
45125
  return c(Ve, hc);
45093
45126
  }), Wn && Hn(Ve, an), Gt;
45094
45127
  }
45095
45128
  function Jt(Ve, Ue, Ye, mt) {
45096
45129
  if (Ye == null) throw Error(r(151));
45097
- for (var Gt = null, Tn = null, Xt = Ue, an = Ue = 0, Ma = null, Yn = Ye.next(); Xt !== null && !Yn.done; an++, Yn = Ye.next()) {
45098
- Xt.index > an ? (Ma = Xt, Xt = null) : Ma = Xt.sibling;
45130
+ for (var Gt = null, Tn = null, Xt = Ue, an = Ue = 0, Aa = null, Yn = Ye.next(); Xt !== null && !Yn.done; an++, Yn = Ye.next()) {
45131
+ Xt.index > an ? (Aa = Xt, Xt = null) : Aa = Xt.sibling;
45099
45132
  var hc = Ze(Ve, Xt, Yn.value, mt);
45100
45133
  if (hc === null) {
45101
- Xt === null && (Xt = Ma);
45134
+ Xt === null && (Xt = Aa);
45102
45135
  break;
45103
45136
  }
45104
- s && Xt && hc.alternate === null && c(Ve, Xt), Ue = re(hc, Ue, an), Tn === null ? Gt = hc : Tn.sibling = hc, Tn = hc, Xt = Ma;
45137
+ s && Xt && hc.alternate === null && c(Ve, Xt), Ue = re(hc, Ue, an), Tn === null ? Gt = hc : Tn.sibling = hc, Tn = hc, Xt = Aa;
45105
45138
  }
45106
45139
  if (Yn.done)
45107
45140
  return f(Ve, Xt), Wn && Hn(Ve, an), Gt;
@@ -45449,7 +45482,7 @@ Error generating stack: ` + f.message + `
45449
45482
  return !1;
45450
45483
  }
45451
45484
  var Xi = Error(r(461)), ma = !1;
45452
- function Ta(s, c, f, _) {
45485
+ function ka(s, c, f, _) {
45453
45486
  c.child = s === null ? mo(c, null, f, _) : Xc(
45454
45487
  c,
45455
45488
  s.child,
@@ -45472,7 +45505,7 @@ Error generating stack: ` + f.message + `
45472
45505
  Se,
45473
45506
  re,
45474
45507
  Z
45475
- ), Ae = jp(), s !== null && !ma ? (Ju(s, c, Z), vo(s, c, Z)) : (Wn && Ae && Pc(c), c.flags |= 1, Ta(s, c, _, Z), c.child);
45508
+ ), Ae = jp(), s !== null && !ma ? (Ju(s, c, Z), vo(s, c, Z)) : (Wn && Ae && Pc(c), c.flags |= 1, ka(s, c, _, Z), c.child);
45476
45509
  }
45477
45510
  function cl(s, c, f, _, Z) {
45478
45511
  if (s === null) {
@@ -45536,7 +45569,7 @@ Error generating stack: ` + f.message + `
45536
45569
  c.memoizedState = { baseLanes: 0, cachePool: null }, s !== null && zc(
45537
45570
  c,
45538
45571
  re !== null ? re.cachePool : null
45539
- ), re !== null ? ka(c, re) : Ku(), yo(c);
45572
+ ), re !== null ? Ca(c, re) : Ku(), yo(c);
45540
45573
  else
45541
45574
  return c.lanes = c.childLanes = 536870912, Kc(
45542
45575
  s,
@@ -45545,8 +45578,8 @@ Error generating stack: ` + f.message + `
45545
45578
  f
45546
45579
  );
45547
45580
  } else
45548
- re !== null ? (zc(c, re.cachePool), ka(c, re), bo(), c.memoizedState = null) : (s !== null && zc(c, null), Ku(), bo());
45549
- return Ta(s, c, Z, f), c.child;
45581
+ re !== null ? (zc(c, re.cachePool), Ca(c, re), bo(), c.memoizedState = null) : (s !== null && zc(c, null), Ku(), bo());
45582
+ return ka(s, c, Z, f), c.child;
45550
45583
  }
45551
45584
  function Kc(s, c, f, _) {
45552
45585
  var Z = _h();
@@ -45573,7 +45606,7 @@ Error generating stack: ` + f.message + `
45573
45606
  _,
45574
45607
  void 0,
45575
45608
  Z
45576
- ), _ = jp(), s !== null && !ma ? (Ju(s, c, Z), vo(s, c, Z)) : (Wn && _ && Pc(c), c.flags |= 1, Ta(s, c, f, Z), c.child);
45609
+ ), _ = jp(), s !== null && !ma ? (Ju(s, c, Z), vo(s, c, Z)) : (Wn && _ && Pc(c), c.flags |= 1, ka(s, c, f, Z), c.child);
45577
45610
  }
45578
45611
  function Ky(s, c, f, _, Z, re) {
45579
45612
  return Vl(c), c.updateQueue = null, f = Dy(
@@ -45581,12 +45614,12 @@ Error generating stack: ` + f.message + `
45581
45614
  _,
45582
45615
  f,
45583
45616
  Z
45584
- ), ql(s), _ = jp(), s !== null && !ma ? (Ju(s, c, re), vo(s, c, re)) : (Wn && _ && Pc(c), c.flags |= 1, Ta(s, c, f, re), c.child);
45617
+ ), ql(s), _ = jp(), s !== null && !ma ? (Ju(s, c, re), vo(s, c, re)) : (Wn && _ && Pc(c), c.flags |= 1, ka(s, c, f, re), c.child);
45585
45618
  }
45586
45619
  function eg(s, c, f, _, Z) {
45587
45620
  if (Vl(c), c.stateNode === null) {
45588
45621
  var re = Hu, Se = f.contextType;
45589
- typeof Se == "object" && Se !== null && (re = Ca(Se)), re = new f(_, re), c.memoizedState = re.state !== null && re.state !== void 0 ? re.state : null, re.updater = Kp, c.stateNode = re, re._reactInternals = c, re = c.stateNode, re.props = _, re.state = c.memoizedState, re.refs = {}, Mp(c), Se = f.contextType, re.context = typeof Se == "object" && Se !== null ? Ca(Se) : Hu, re.state = c.memoizedState, Se = f.getDerivedStateFromProps, typeof Se == "function" && (Wl(
45622
+ typeof Se == "object" && Se !== null && (re = wa(Se)), re = new f(_, re), c.memoizedState = re.state !== null && re.state !== void 0 ? re.state : null, re.updater = Kp, c.stateNode = re, re._reactInternals = c, re = c.stateNode, re.props = _, re.state = c.memoizedState, re.refs = {}, Mp(c), Se = f.contextType, re.context = typeof Se == "object" && Se !== null ? wa(Se) : Hu, re.state = c.memoizedState, Se = f.getDerivedStateFromProps, typeof Se == "function" && (Wl(
45590
45623
  c,
45591
45624
  f,
45592
45625
  Se,
@@ -45597,7 +45630,7 @@ Error generating stack: ` + f.message + `
45597
45630
  var Ae = c.memoizedProps, Re = Zl(f, Ae);
45598
45631
  re.props = Re;
45599
45632
  var Xe = re.context, ft = f.contextType;
45600
- Se = Hu, typeof ft == "object" && ft !== null && (Se = Ca(ft));
45633
+ Se = Hu, typeof ft == "object" && ft !== null && (Se = wa(ft));
45601
45634
  var yt = f.getDerivedStateFromProps;
45602
45635
  ft = typeof yt == "function" || typeof re.getSnapshotBeforeUpdate == "function", Ae = c.pendingProps !== Ae, ft || typeof re.UNSAFE_componentWillReceiveProps != "function" && typeof re.componentWillReceiveProps != "function" || (Ae || Xe !== Se) && Wc(
45603
45636
  c,
@@ -45621,7 +45654,7 @@ Error generating stack: ` + f.message + `
45621
45654
  Se
45622
45655
  )) ? (ft || typeof re.UNSAFE_componentWillMount != "function" && typeof re.componentWillMount != "function" || (typeof re.componentWillMount == "function" && re.componentWillMount(), typeof re.UNSAFE_componentWillMount == "function" && re.UNSAFE_componentWillMount()), typeof re.componentDidMount == "function" && (c.flags |= 4194308)) : (typeof re.componentDidMount == "function" && (c.flags |= 4194308), c.memoizedProps = _, c.memoizedState = Xe), re.props = _, re.state = Xe, re.context = Se, _ = Re) : (typeof re.componentDidMount == "function" && (c.flags |= 4194308), _ = !1);
45623
45656
  } else {
45624
- re = c.stateNode, Ep(s, c), Se = c.memoizedProps, ft = Zl(f, Se), re.props = ft, yt = c.pendingProps, Ze = re.context, Xe = f.contextType, Re = Hu, typeof Xe == "object" && Xe !== null && (Re = Ca(Xe)), Ae = f.getDerivedStateFromProps, (Xe = typeof Ae == "function" || typeof re.getSnapshotBeforeUpdate == "function") || typeof re.UNSAFE_componentWillReceiveProps != "function" && typeof re.componentWillReceiveProps != "function" || (Se !== yt || Ze !== Re) && Wc(
45657
+ re = c.stateNode, Ep(s, c), Se = c.memoizedProps, ft = Zl(f, Se), re.props = ft, yt = c.pendingProps, Ze = re.context, Xe = f.contextType, Re = Hu, typeof Xe == "object" && Xe !== null && (Re = wa(Xe)), Ae = f.getDerivedStateFromProps, (Xe = typeof Ae == "function" || typeof re.getSnapshotBeforeUpdate == "function") || typeof re.UNSAFE_componentWillReceiveProps != "function" && typeof re.componentWillReceiveProps != "function" || (Se !== yt || Ze !== Re) && Wc(
45625
45658
  c,
45626
45659
  re,
45627
45660
  _,
@@ -45657,14 +45690,14 @@ Error generating stack: ` + f.message + `
45657
45690
  null,
45658
45691
  f,
45659
45692
  Z
45660
- )) : Ta(s, c, f, Z), c.memoizedState = re.state, s = c.child) : s = vo(
45693
+ )) : ka(s, c, f, Z), c.memoizedState = re.state, s = c.child) : s = vo(
45661
45694
  s,
45662
45695
  c,
45663
45696
  Z
45664
45697
  ), s;
45665
45698
  }
45666
45699
  function tg(s, c, f, _) {
45667
- return $u(), c.flags |= 256, Ta(s, c, f, _), c.child;
45700
+ return $u(), c.flags |= 256, ka(s, c, f, _), c.child;
45668
45701
  }
45669
45702
  var ng = {
45670
45703
  dehydrated: null,
@@ -45838,7 +45871,7 @@ Error generating stack: ` + f.message + `
45838
45871
  }
45839
45872
  function rg(s, c, f) {
45840
45873
  var _ = c.pendingProps, Z = _.revealOrder, re = _.tail;
45841
- if (Ta(s, c, _.children, f), _ = bi.current, (_ & 2) !== 0)
45874
+ if (ka(s, c, _.children, f), _ = bi.current, (_ & 2) !== 0)
45842
45875
  _ = _ & 1 | 2, c.flags |= 128;
45843
45876
  else {
45844
45877
  if (s !== null && (s.flags & 128) !== 0)
@@ -46118,7 +46151,7 @@ Error generating stack: ` + f.message + `
46118
46151
  );
46119
46152
  break e;
46120
46153
  }
46121
- Ta(
46154
+ ka(
46122
46155
  s,
46123
46156
  c,
46124
46157
  _,
@@ -46149,7 +46182,7 @@ Error generating stack: ` + f.message + `
46149
46182
  H.current
46150
46183
  ), na = c, dr = !0, Z = Qn, rc(c.type) ? (oc = Z, Qn = Gr(
46151
46184
  _.firstChild
46152
- )) : Qn = Z), Ta(
46185
+ )) : Qn = Z), ka(
46153
46186
  s,
46154
46187
  c,
46155
46188
  c.pendingProps.children,
@@ -46170,7 +46203,7 @@ Error generating stack: ` + f.message + `
46170
46203
  null,
46171
46204
  null,
46172
46205
  f
46173
- ), Ds._currentValue = Z), Gh(s, c), Ta(s, c, _, f), c.child;
46206
+ ), Ds._currentValue = Z), Gh(s, c), ka(s, c, _, f), c.child;
46174
46207
  case 6:
46175
46208
  return s === null && Wn && ((s = f = Qn) && (f = zS(
46176
46209
  f,
@@ -46188,7 +46221,7 @@ Error generating stack: ` + f.message + `
46188
46221
  null,
46189
46222
  _,
46190
46223
  f
46191
- ) : Ta(
46224
+ ) : ka(
46192
46225
  s,
46193
46226
  c,
46194
46227
  _,
@@ -46203,35 +46236,35 @@ Error generating stack: ` + f.message + `
46203
46236
  f
46204
46237
  );
46205
46238
  case 7:
46206
- return Ta(
46239
+ return ka(
46207
46240
  s,
46208
46241
  c,
46209
46242
  c.pendingProps,
46210
46243
  f
46211
46244
  ), c.child;
46212
46245
  case 8:
46213
- return Ta(
46246
+ return ka(
46214
46247
  s,
46215
46248
  c,
46216
46249
  c.pendingProps.children,
46217
46250
  f
46218
46251
  ), c.child;
46219
46252
  case 12:
46220
- return Ta(
46253
+ return ka(
46221
46254
  s,
46222
46255
  c,
46223
46256
  c.pendingProps.children,
46224
46257
  f
46225
46258
  ), c.child;
46226
46259
  case 10:
46227
- return _ = c.pendingProps, al(c, c.type, _.value), Ta(
46260
+ return _ = c.pendingProps, al(c, c.type, _.value), ka(
46228
46261
  s,
46229
46262
  c,
46230
46263
  _.children,
46231
46264
  f
46232
46265
  ), c.child;
46233
46266
  case 9:
46234
- return Z = c.type._context, _ = c.pendingProps.children, Vl(c), Z = Ca(Z), _ = _(Z), c.flags |= 1, Ta(s, c, _, f), c.child;
46267
+ return Z = c.type._context, _ = c.pendingProps.children, Vl(c), Z = wa(Z), _ = _(Z), c.flags |= 1, ka(s, c, _, f), c.child;
46235
46268
  case 14:
46236
46269
  return cl(
46237
46270
  s,
@@ -46261,7 +46294,7 @@ Error generating stack: ` + f.message + `
46261
46294
  case 22:
46262
46295
  return Qp(s, c, f);
46263
46296
  case 24:
46264
- return Vl(c), _ = Ca(pa), s === null ? (Z = _h(), Z === null && (Z = Si, re = Wu(), Z.pooledCache = re, re.refCount++, re !== null && (Z.pooledCacheLanes |= f), Z = re), c.memoizedState = {
46297
+ return Vl(c), _ = wa(pa), s === null ? (Z = _h(), Z === null && (Z = Si, re = Wu(), Z.pooledCache = re, re.refCount++, re !== null && (Z.pooledCacheLanes |= f), Z = re), c.memoizedState = {
46265
46298
  parent: _,
46266
46299
  cache: Z
46267
46300
  }, Mp(c), al(c, pa, Z)) : ((s.lanes & f) !== 0 && (Ep(s, c), sl(c, null, null, f), Zu()), Z = s.memoizedState, re = c.memoizedState, Z.parent !== _ ? (Z = { parent: _, cache: _ }, c.memoizedState = Z, c.lanes === 0 && (c.memoizedState = c.updateQueue.baseState = Z), al(c, pa, _)) : (_ = re.cache, al(c, pa, _), _ !== Z.cache && _y(
@@ -46269,7 +46302,7 @@ Error generating stack: ` + f.message + `
46269
46302
  [pa],
46270
46303
  f,
46271
46304
  !0
46272
- ))), Ta(
46305
+ ))), ka(
46273
46306
  s,
46274
46307
  c,
46275
46308
  c.pendingProps.children,
@@ -47145,14 +47178,14 @@ Error generating stack: ` + f.message + `
47145
47178
  case 11:
47146
47179
  case 14:
47147
47180
  case 15:
47148
- ss(c, s), Aa(s), _ & 4 && (Ql(3, s, s.return), $h(3, s), Ql(5, s, s.return));
47181
+ ss(c, s), Ta(s), _ & 4 && (Ql(3, s, s.return), $h(3, s), Ql(5, s, s.return));
47149
47182
  break;
47150
47183
  case 1:
47151
- ss(c, s), Aa(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), _ & 64 && So && (s = s.updateQueue, s !== null && (_ = s.callbacks, _ !== null && (f = s.shared.hiddenCallbacks, s.shared.hiddenCallbacks = f === null ? _ : f.concat(_))));
47184
+ ss(c, s), Ta(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), _ & 64 && So && (s = s.updateQueue, s !== null && (_ = s.callbacks, _ !== null && (f = s.shared.hiddenCallbacks, s.shared.hiddenCallbacks = f === null ? _ : f.concat(_))));
47152
47185
  break;
47153
47186
  case 26:
47154
47187
  var Z = rs;
47155
- if (ss(c, s), Aa(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), _ & 4) {
47188
+ if (ss(c, s), Ta(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), _ & 4) {
47156
47189
  var re = f !== null ? f.memoizedState : null;
47157
47190
  if (_ = s.memoizedState, f === null)
47158
47191
  if (_ === null)
@@ -47230,14 +47263,14 @@ Error generating stack: ` + f.message + `
47230
47263
  }
47231
47264
  break;
47232
47265
  case 27:
47233
- ss(c, s), Aa(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), f !== null && _ & 4 && ab(
47266
+ ss(c, s), Ta(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), f !== null && _ & 4 && ab(
47234
47267
  s,
47235
47268
  s.memoizedProps,
47236
47269
  f.memoizedProps
47237
47270
  );
47238
47271
  break;
47239
47272
  case 5:
47240
- if (ss(c, s), Aa(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), s.flags & 32) {
47273
+ if (ss(c, s), Ta(s), _ & 512 && (Wi || f === null || Hr(f, f.return)), s.flags & 32) {
47241
47274
  Z = s.stateNode;
47242
47275
  try {
47243
47276
  Un(Z, "");
@@ -47252,7 +47285,7 @@ Error generating stack: ` + f.message + `
47252
47285
  )), _ & 1024 && (dg = !0);
47253
47286
  break;
47254
47287
  case 6:
47255
- if (ss(c, s), Aa(s), _ & 4) {
47288
+ if (ss(c, s), Ta(s), _ & 4) {
47256
47289
  if (s.stateNode === null)
47257
47290
  throw Error(r(162));
47258
47291
  _ = s.memoizedProps, f = s.stateNode;
@@ -47264,7 +47297,7 @@ Error generating stack: ` + f.message + `
47264
47297
  }
47265
47298
  break;
47266
47299
  case 3:
47267
- if (uc = null, Z = rs, rs = Og(c.containerInfo), ss(c, s), rs = Z, Aa(s), _ & 4 && f !== null && f.memoizedState.isDehydrated)
47300
+ if (uc = null, Z = rs, rs = Og(c.containerInfo), ss(c, s), rs = Z, Ta(s), _ & 4 && f !== null && f.memoizedState.isDehydrated)
47268
47301
  try {
47269
47302
  Oo(c.containerInfo);
47270
47303
  } catch (Je) {
@@ -47275,18 +47308,18 @@ Error generating stack: ` + f.message + `
47275
47308
  case 4:
47276
47309
  _ = rs, rs = Og(
47277
47310
  s.stateNode.containerInfo
47278
- ), ss(c, s), Aa(s), rs = _;
47311
+ ), ss(c, s), Ta(s), rs = _;
47279
47312
  break;
47280
47313
  case 12:
47281
- ss(c, s), Aa(s);
47314
+ ss(c, s), Ta(s);
47282
47315
  break;
47283
47316
  case 13:
47284
- ss(c, s), Aa(s), s.child.flags & 8192 && s.memoizedState !== null != (f !== null && f.memoizedState !== null) && (yb = pe()), _ & 4 && (_ = s.updateQueue, _ !== null && (s.updateQueue = null, pg(s, _)));
47317
+ ss(c, s), Ta(s), s.child.flags & 8192 && s.memoizedState !== null != (f !== null && f.memoizedState !== null) && (yb = pe()), _ & 4 && (_ = s.updateQueue, _ !== null && (s.updateQueue = null, pg(s, _)));
47285
47318
  break;
47286
47319
  case 22:
47287
47320
  Z = s.memoizedState !== null;
47288
47321
  var Re = f !== null && f.memoizedState !== null, Xe = So, ft = Wi;
47289
- if (So = Xe || Z, Wi = ft || Re, ss(c, s), Wi = ft, So = Xe, Aa(s), _ & 8192)
47322
+ if (So = Xe || Z, Wi = ft || Re, ss(c, s), Wi = ft, So = Xe, Ta(s), _ & 8192)
47290
47323
  e: for (c = s.stateNode, c._visibility = Z ? c._visibility & -2 : c._visibility | 1, Z && (f === null || Re || So || Wi || Ni(s)), f = null, c = s; ; ) {
47291
47324
  if (c.tag === 5 || c.tag === 26) {
47292
47325
  if (f === null) {
@@ -47326,17 +47359,17 @@ Error generating stack: ` + f.message + `
47326
47359
  _ & 4 && (_ = s.updateQueue, _ !== null && (f = _.retryQueue, f !== null && (_.retryQueue = null, pg(s, f))));
47327
47360
  break;
47328
47361
  case 19:
47329
- ss(c, s), Aa(s), _ & 4 && (_ = s.updateQueue, _ !== null && (s.updateQueue = null, pg(s, _)));
47362
+ ss(c, s), Ta(s), _ & 4 && (_ = s.updateQueue, _ !== null && (s.updateQueue = null, pg(s, _)));
47330
47363
  break;
47331
47364
  case 30:
47332
47365
  break;
47333
47366
  case 21:
47334
47367
  break;
47335
47368
  default:
47336
- ss(c, s), Aa(s);
47369
+ ss(c, s), Ta(s);
47337
47370
  }
47338
47371
  }
47339
- function Aa(s) {
47372
+ function Ta(s) {
47340
47373
  var c = s.flags;
47341
47374
  if (c & 2) {
47342
47375
  try {
@@ -47850,7 +47883,7 @@ Error generating stack: ` + f.message + `
47850
47883
  }
47851
47884
  var pb = {
47852
47885
  getCacheForType: function(s) {
47853
- var c = Ca(pa), f = c.data.get(s);
47886
+ var c = wa(pa), f = c.data.get(s);
47854
47887
  return f === void 0 && (f = s(), c.data.set(s, f)), f;
47855
47888
  }
47856
47889
  }, X1 = typeof WeakMap == "function" ? WeakMap : Map, oi = 0, Si = null, Rn = null, Nn = 0, hi = 0, ks = null, Co = !1, ld = !1, gb = !1, dl = 0, Ki = 0, hl = 0, tu = 0, ko = 0, yr = 0, cd = 0, ud = null, Ts = null, mb = !1, yb = 0, mg = 1 / 0, dd = null, ec = null, Ba = 0, To = null, hd = null, za = 0, yg = 0, bg = null, bb = null, fd = 0, vb = null;
@@ -47861,7 +47894,7 @@ Error generating stack: ` + f.message + `
47861
47894
  var s = hr;
47862
47895
  return s !== 0 ? s : su();
47863
47896
  }
47864
- return _a();
47897
+ return Sa();
47865
47898
  }
47866
47899
  function xb() {
47867
47900
  yr === 0 && (yr = (Nn & 536870912) === 0 || Wn ? Ot() : 536870912);
@@ -48456,7 +48489,7 @@ Error generating stack: ` + f.message + `
48456
48489
  var s = To, c = hd, f = za, _ = bb;
48457
48490
  (c.subtreeFlags & 10256) !== 0 || (c.flags & 10256) !== 0 ? Ba = 5 : (Ba = 0, hd = To = null, ev(s, s.pendingLanes));
48458
48491
  var Z = s.pendingLanes;
48459
- if (Z === 0 && (ec = null), Sa(f), c = c.stateNode, we && typeof we.onCommitFiberRoot == "function")
48492
+ if (Z === 0 && (ec = null), Oa(f), c = c.stateNode, we && typeof we.onCommitFiberRoot == "function")
48460
48493
  try {
48461
48494
  we.onCommitFiberRoot(
48462
48495
  fe,
@@ -48492,7 +48525,7 @@ Error generating stack: ` + f.message + `
48492
48525
  if (Ba !== 5) return !1;
48493
48526
  var s = To, c = yg;
48494
48527
  yg = 0;
48495
- var f = Sa(za), _ = L.T, Z = E.p;
48528
+ var f = Oa(za), _ = L.T, Z = E.p;
48496
48529
  try {
48497
48530
  E.p = 32 > f ? 32 : f, L.T = null, f = bg, bg = null;
48498
48531
  var re = To, Se = za;
@@ -48640,7 +48673,7 @@ Error generating stack: ` + f.message + `
48640
48673
  return _ !== null && _ !== null && ae(_), s.callbackNode = null, s.callbackPriority = 0;
48641
48674
  if ((f & 3) === 0 || ct(s, f)) {
48642
48675
  if (c = f & -f, c === s.callbackPriority) return c;
48643
- switch (_ !== null && ae(_), Sa(f)) {
48676
+ switch (_ !== null && ae(_), Oa(f)) {
48644
48677
  case 2:
48645
48678
  case 8:
48646
48679
  f = _e;
@@ -51006,7 +51039,7 @@ Error generating stack: ` + f.message + `
51006
51039
  }
51007
51040
  Gg.prototype.unstable_scheduleHydration = function(s) {
51008
51041
  if (s) {
51009
- var c = _a();
51042
+ var c = Sa();
51010
51043
  s = { blockedOn: null, target: s, priority: c };
51011
51044
  for (var f = 0; f < dc.length && c !== 0 && c < dc[f].priority; f++) ;
51012
51045
  dc.splice(f, 0, s), f === 0 && qb(s);
@@ -51899,15 +51932,15 @@ function xV() {
51899
51932
  ce(p, l), e.setAttributeNS(a, l, "" + p);
51900
51933
  }
51901
51934
  }
51902
- function Sa() {
51935
+ function Oa() {
51903
51936
  }
51904
- function _a() {
51937
+ function Sa() {
51905
51938
  if (uc === 0) {
51906
51939
  Nb = console.log, Pb = console.info, uv = console.warn, Bb = console.error, Td = console.group, dv = console.groupCollapsed, hv = console.groupEnd;
51907
51940
  var e = {
51908
51941
  configurable: !0,
51909
51942
  enumerable: !0,
51910
- value: Sa,
51943
+ value: Oa,
51911
51944
  writable: !0
51912
51945
  };
51913
51946
  Object.defineProperties(console, {
@@ -51957,7 +51990,7 @@ function xV() {
51957
51990
  if (l !== void 0) return l;
51958
51991
  Ad = !0, l = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
51959
51992
  var p = null;
51960
- p = tt.H, tt.H = null, _a();
51993
+ p = tt.H, tt.H = null, Sa();
51961
51994
  try {
51962
51995
  var C = {
51963
51996
  DetermineComponentFrameRoot: function() {
@@ -52290,7 +52323,7 @@ Error generating stack: ` + he.message + `
52290
52323
  function In(e, a, l) {
52291
52324
  a === "number" && qt(e.ownerDocument) === e || e.defaultValue === "" + l || (e.defaultValue = "" + l);
52292
52325
  }
52293
- function wa(e, a) {
52326
+ function _a(e, a) {
52294
52327
  a.value == null && (typeof a.children == "object" && a.children !== null ? tf.Children.forEach(a.children, function(l) {
52295
52328
  l == null || typeof l == "string" || typeof l == "number" || typeof l == "bigint" || Gb || (Gb = !0, console.error(
52296
52329
  "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."
@@ -53895,7 +53928,7 @@ https://react.dev/link/hydration-mismatch` + a
53895
53928
  ), Pt(a);
53896
53929
  break;
53897
53930
  case "option":
53898
- wa(a, p);
53931
+ _a(a, p);
53899
53932
  break;
53900
53933
  case "select":
53901
53934
  Bt("select", p), On("invalid", a), Zt(a, p);
@@ -54610,7 +54643,7 @@ Incoming: %s`,
54610
54643
  _debugThenableState: gu
54611
54644
  }) : a.dependencies._debugThenableState = gu, tt.H = Dv;
54612
54645
  var l = Ci !== null && Ci.next !== null;
54613
- if (Ld = 0, Io = it = Ea = Ci = fn = null, mu = -1, e !== null && (e.flags & 65011712) !== (a.flags & 65011712) && console.error(
54646
+ if (Ld = 0, Io = it = Ma = Ci = fn = null, mu = -1, e !== null && (e.flags & 65011712) !== (a.flags & 65011712) && console.error(
54614
54647
  "Internal React error: Expected static flag was missing. Please notify the React team."
54615
54648
  ), Mv = !1, u0 = 0, gu = null, l)
54616
54649
  throw Error(
@@ -54628,7 +54661,7 @@ Incoming: %s`,
54628
54661
  throw Error(
54629
54662
  "Too many re-renders. React limits the number of renders to prevent an infinite loop."
54630
54663
  );
54631
- if (C += 1, d0 = !1, Ea = Ci = null, e.updateQueue != null) {
54664
+ if (C += 1, d0 = !1, Ma = Ci = null, e.updateQueue != null) {
54632
54665
  var V = e.updateQueue;
54633
54666
  V.lastEffect = null, V.events = null, V.stores = null, V.memoCache != null && (V.memoCache.index = 0);
54634
54667
  }
@@ -54655,7 +54688,7 @@ Incoming: %s`,
54655
54688
  }
54656
54689
  Mv = !1;
54657
54690
  }
54658
- Ld = 0, Io = Ea = Ci = fn = null, mu = -1, it = null, nm = !1, u0 = Ev = 0, gu = null;
54691
+ Ld = 0, Io = Ma = Ci = fn = null, mu = -1, it = null, nm = !1, u0 = Ev = 0, gu = null;
54659
54692
  }
54660
54693
  function Yi() {
54661
54694
  var e = {
@@ -54665,16 +54698,16 @@ Incoming: %s`,
54665
54698
  queue: null,
54666
54699
  next: null
54667
54700
  };
54668
- return Ea === null ? fn.memoizedState = Ea = e : Ea = Ea.next = e, Ea;
54701
+ return Ma === null ? fn.memoizedState = Ma = e : Ma = Ma.next = e, Ma;
54669
54702
  }
54670
54703
  function Hn() {
54671
54704
  if (Ci === null) {
54672
54705
  var e = fn.alternate;
54673
54706
  e = e !== null ? e.memoizedState : null;
54674
54707
  } else e = Ci.next;
54675
- var a = Ea === null ? fn.memoizedState : Ea.next;
54708
+ var a = Ma === null ? fn.memoizedState : Ma.next;
54676
54709
  if (a !== null)
54677
- Ea = a, Ci = e;
54710
+ Ma = a, Ci = e;
54678
54711
  else {
54679
54712
  if (e === null)
54680
54713
  throw fn.alternate === null ? Error(
@@ -54686,16 +54719,16 @@ Incoming: %s`,
54686
54719
  baseQueue: Ci.baseQueue,
54687
54720
  queue: Ci.queue,
54688
54721
  next: null
54689
- }, Ea === null ? fn.memoizedState = Ea = e : Ea = Ea.next = e;
54722
+ }, Ma === null ? fn.memoizedState = Ma = e : Ma = Ma.next = e;
54690
54723
  }
54691
- return Ea;
54724
+ return Ma;
54692
54725
  }
54693
54726
  function bp() {
54694
54727
  return { lastEffect: null, events: null, stores: null, memoCache: null };
54695
54728
  }
54696
54729
  function Pc(e) {
54697
54730
  var a = u0;
54698
- return u0 += 1, gu === null && (gu = yy()), e = or(gu, e, a), a = fn, (Ea === null ? a.memoizedState : Ea.next) === null && (a = a.alternate, tt.H = a !== null && a.memoizedState !== null ? s_ : a_), e;
54731
+ return u0 += 1, gu === null && (gu = yy()), e = or(gu, e, a), a = fn, (Ma === null ? a.memoizedState : Ma.next) === null && (a = a.alternate, tt.H = a !== null && a.memoizedState !== null ? s_ : a_), e;
54699
54732
  }
54700
54733
  function oo(e) {
54701
54734
  if (e !== null && typeof e == "object") {
@@ -54895,7 +54928,7 @@ Incoming: %s`,
54895
54928
  l
54896
54929
  )) && (C.memoizedState = l, Qa = !0), C = C.queue;
54897
54930
  var ve = $u.bind(null, p, C, e);
54898
- if (ga(2048, Ga, ve, [e]), C.getSnapshot !== a || he || Ea !== null && Ea.memoizedState.tag & zo) {
54931
+ if (ga(2048, Ga, ve, [e]), C.getSnapshot !== a || he || Ma !== null && Ma.memoizedState.tag & zo) {
54899
54932
  if (p.flags |= 2048, co(
54900
54933
  zo | Ga,
54901
54934
  Fl(),
@@ -55027,7 +55060,7 @@ Incoming: %s`,
55027
55060
  var ve = l(C, p), Ee = tt.S;
55028
55061
  Ee !== null && Ee(he, ve), vh(e, a, ve);
55029
55062
  } catch (Oe) {
55030
- Ca(e, a, Oe);
55063
+ wa(e, a, Oe);
55031
55064
  } finally {
55032
55065
  tt.T = V, V === null && he._updatedFibers && (e = he._updatedFibers.size, he._updatedFibers.clear(), 10 < e && console.warn(
55033
55066
  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
@@ -55037,7 +55070,7 @@ Incoming: %s`,
55037
55070
  try {
55038
55071
  he = l(C, p), vh(e, a, he);
55039
55072
  } catch (Oe) {
55040
- Ca(e, a, Oe);
55073
+ wa(e, a, Oe);
55041
55074
  }
55042
55075
  }
55043
55076
  function vh(e, a, l) {
@@ -55046,7 +55079,7 @@ Incoming: %s`,
55046
55079
  Vl(e, a, p);
55047
55080
  },
55048
55081
  function(p) {
55049
- return Ca(e, a, p);
55082
+ return wa(e, a, p);
55050
55083
  }
55051
55084
  ), a.isTransition || console.error(
55052
55085
  "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop."
@@ -55055,7 +55088,7 @@ Incoming: %s`,
55055
55088
  function Vl(e, a, l) {
55056
55089
  a.status = "fulfilled", a.value = l, xh(a), e.state = l, a = e.pending, a !== null && (l = a.next, l === a ? e.pending = null : (l = l.next, a.next = l, qu(e, l)));
55057
55090
  }
55058
- function Ca(e, a, l) {
55091
+ function wa(e, a, l) {
55059
55092
  var p = e.pending;
55060
55093
  if (e.pending = null, p !== null) {
55061
55094
  p = p.next;
@@ -55570,7 +55603,7 @@ Incoming: %s`,
55570
55603
  p &= e.pendingLanes, l |= p, a.lanes = l, fe(e, l);
55571
55604
  }
55572
55605
  }
55573
- function ka(e) {
55606
+ function Ca(e) {
55574
55607
  var a = An;
55575
55608
  return e != null && (An = a === null ? e : a.concat(e)), a;
55576
55609
  }
@@ -55710,7 +55743,7 @@ Incoming: %s`,
55710
55743
  Pe,
55711
55744
  Ne.mode,
55712
55745
  Ie
55713
- ), fr(Ie, Pe), Ie.return = Ne, Ne = ka(Pe._debugInfo), Ie._debugInfo = An, An = Ne, Ie;
55746
+ ), fr(Ie, Pe), Ie.return = Ne, Ne = Ca(Pe._debugInfo), Ie._debugInfo = An, An = Ne, Ie;
55714
55747
  case ru:
55715
55748
  return Pe = ry(
55716
55749
  Pe,
@@ -55718,7 +55751,7 @@ Incoming: %s`,
55718
55751
  Ie
55719
55752
  ), Pe.return = Ne, Pe._debugInfo = An, Pe;
55720
55753
  case Vs:
55721
- var lt = ka(Pe._debugInfo);
55754
+ var lt = Ca(Pe._debugInfo);
55722
55755
  return Pe = jd(Pe), Ne = at(Ne, Pe, Ie), An = lt, Ne;
55723
55756
  }
55724
55757
  if (hn(Pe) || M(Pe))
@@ -55727,9 +55760,9 @@ Incoming: %s`,
55727
55760
  Ne.mode,
55728
55761
  Ie,
55729
55762
  null
55730
- ), Ie.return = Ne, Ie._debugOwner = Ne, Ie._debugTask = Ne._debugTask, Ne = ka(Pe._debugInfo), Ie._debugInfo = An, An = Ne, Ie;
55763
+ ), Ie.return = Ne, Ie._debugOwner = Ne, Ie._debugTask = Ne._debugTask, Ne = Ca(Pe._debugInfo), Ie._debugInfo = An, An = Ne, Ie;
55731
55764
  if (typeof Pe.then == "function")
55732
- return lt = ka(Pe._debugInfo), Ne = at(
55765
+ return lt = Ca(Pe._debugInfo), Ne = at(
55733
55766
  Ne,
55734
55767
  Qu(Pe),
55735
55768
  Ie
@@ -55751,7 +55784,7 @@ Incoming: %s`,
55751
55784
  if (typeof Ie == "object" && Ie !== null) {
55752
55785
  switch (Ie.$$typeof) {
55753
55786
  case ac:
55754
- return Ie.key === Et ? (Et = ka(Ie._debugInfo), Ne = Ee(
55787
+ return Ie.key === Et ? (Et = Ca(Ie._debugInfo), Ne = Ee(
55755
55788
  Ne,
55756
55789
  Pe,
55757
55790
  Ie,
@@ -55760,7 +55793,7 @@ Incoming: %s`,
55760
55793
  case ru:
55761
55794
  return Ie.key === Et ? Oe(Ne, Pe, Ie, lt) : null;
55762
55795
  case Vs:
55763
- return Et = ka(Ie._debugInfo), Ie = jd(Ie), Ne = We(
55796
+ return Et = Ca(Ie._debugInfo), Ie = jd(Ie), Ne = We(
55764
55797
  Ne,
55765
55798
  Pe,
55766
55799
  Ie,
@@ -55768,7 +55801,7 @@ Incoming: %s`,
55768
55801
  ), An = Et, Ne;
55769
55802
  }
55770
55803
  if (hn(Ie) || M(Ie))
55771
- return Et !== null ? null : (Et = ka(Ie._debugInfo), Ne = Qe(
55804
+ return Et !== null ? null : (Et = Ca(Ie._debugInfo), Ne = Qe(
55772
55805
  Ne,
55773
55806
  Pe,
55774
55807
  Ie,
@@ -55776,7 +55809,7 @@ Incoming: %s`,
55776
55809
  null
55777
55810
  ), An = Et, Ne);
55778
55811
  if (typeof Ie.then == "function")
55779
- return Et = ka(Ie._debugInfo), Ne = We(
55812
+ return Et = Ca(Ie._debugInfo), Ne = We(
55780
55813
  Ne,
55781
55814
  Pe,
55782
55815
  Qu(Ie),
@@ -55801,7 +55834,7 @@ Incoming: %s`,
55801
55834
  case ac:
55802
55835
  return Ie = Ne.get(
55803
55836
  lt.key === null ? Ie : lt.key
55804
- ) || null, Ne = ka(lt._debugInfo), Pe = Ee(
55837
+ ) || null, Ne = Ca(lt._debugInfo), Pe = Ee(
55805
55838
  Pe,
55806
55839
  Ie,
55807
55840
  lt,
@@ -55812,7 +55845,7 @@ Incoming: %s`,
55812
55845
  lt.key === null ? Ie : lt.key
55813
55846
  ) || null, Oe(Pe, Ne, lt, Et);
55814
55847
  case Vs:
55815
- var yn = ka(lt._debugInfo);
55848
+ var yn = Ca(lt._debugInfo);
55816
55849
  return lt = jd(lt), Pe = ot(
55817
55850
  Ne,
55818
55851
  Pe,
@@ -55822,7 +55855,7 @@ Incoming: %s`,
55822
55855
  ), An = yn, Pe;
55823
55856
  }
55824
55857
  if (hn(lt) || M(lt))
55825
- return Ie = Ne.get(Ie) || null, Ne = ka(lt._debugInfo), Pe = Qe(
55858
+ return Ie = Ne.get(Ie) || null, Ne = Ca(lt._debugInfo), Pe = Qe(
55826
55859
  Pe,
55827
55860
  Ie,
55828
55861
  lt,
@@ -55830,7 +55863,7 @@ Incoming: %s`,
55830
55863
  null
55831
55864
  ), An = Ne, Pe;
55832
55865
  if (typeof lt.then == "function")
55833
- return yn = ka(lt._debugInfo), Pe = ot(
55866
+ return yn = Ca(lt._debugInfo), Pe = ot(
55834
55867
  Ne,
55835
55868
  Pe,
55836
55869
  Ie,
@@ -55996,7 +56029,7 @@ Incoming: %s`,
55996
56029
  if (typeof Ie == "object" && Ie !== null && Ie.type === mn && Ie.key === null && (Ku(Ie, null, Ne), Ie = Ie.props.children), typeof Ie == "object" && Ie !== null) {
55997
56030
  switch (Ie.$$typeof) {
55998
56031
  case ac:
55999
- var Et = ka(Ie._debugInfo);
56032
+ var Et = Ca(Ie._debugInfo);
56000
56033
  e: {
56001
56034
  for (var yn = Ie.key; Pe !== null; ) {
56002
56035
  if (Pe.key === yn) {
@@ -56066,7 +56099,7 @@ Incoming: %s`,
56066
56099
  }
56067
56100
  return he(Ne);
56068
56101
  case Vs:
56069
- return Et = ka(Ie._debugInfo), Ie = jd(Ie), Ne = Gn(
56102
+ return Et = Ca(Ie._debugInfo), Ie = jd(Ie), Ne = Gn(
56070
56103
  Ne,
56071
56104
  Pe,
56072
56105
  Ie,
@@ -56074,14 +56107,14 @@ Incoming: %s`,
56074
56107
  ), An = Et, Ne;
56075
56108
  }
56076
56109
  if (hn(Ie))
56077
- return Et = ka(Ie._debugInfo), Ne = ln(
56110
+ return Et = Ca(Ie._debugInfo), Ne = ln(
56078
56111
  Ne,
56079
56112
  Pe,
56080
56113
  Ie,
56081
56114
  lt
56082
56115
  ), An = Et, Ne;
56083
56116
  if (M(Ie)) {
56084
- if (Et = ka(Ie._debugInfo), yn = M(Ie), typeof yn != "function")
56117
+ if (Et = Ca(Ie._debugInfo), yn = M(Ie), typeof yn != "function")
56085
56118
  throw Error(
56086
56119
  "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."
56087
56120
  );
@@ -56098,7 +56131,7 @@ Incoming: %s`,
56098
56131
  ), An = Et, Ne;
56099
56132
  }
56100
56133
  if (typeof Ie.then == "function")
56101
- return Et = ka(Ie._debugInfo), Ne = Gn(
56134
+ return Et = Ca(Ie._debugInfo), Ne = Gn(
56102
56135
  Ne,
56103
56136
  Pe,
56104
56137
  Qu(Ie),
@@ -58728,8 +58761,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58728
58761
  break;
58729
58762
  case 27:
58730
58763
  ba || pr(l, a);
58731
- var p = Da, C = _r;
58732
- ko(l.type) && (Da = l.stateNode, _r = !1), ol(
58764
+ var p = Ea, C = _r;
58765
+ ko(l.type) && (Ea = l.stateNode, _r = !1), ol(
58733
58766
  e,
58734
58767
  a,
58735
58768
  l
@@ -58737,22 +58770,22 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58737
58770
  l,
58738
58771
  pd,
58739
58772
  l.stateNode
58740
- ), Da = p, _r = C;
58773
+ ), Ea = p, _r = C;
58741
58774
  break;
58742
58775
  case 5:
58743
58776
  ba || pr(l, a);
58744
58777
  case 6:
58745
- if (p = Da, C = _r, Da = null, ol(
58778
+ if (p = Ea, C = _r, Ea = null, ol(
58746
58779
  e,
58747
58780
  a,
58748
58781
  l
58749
- ), Da = p, _r = C, Da !== null)
58782
+ ), Ea = p, _r = C, Ea !== null)
58750
58783
  if (_r)
58751
58784
  try {
58752
58785
  He(
58753
58786
  l,
58754
58787
  cd,
58755
- Da,
58788
+ Ea,
58756
58789
  l.stateNode
58757
58790
  );
58758
58791
  } catch (V) {
@@ -58767,7 +58800,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58767
58800
  He(
58768
58801
  l,
58769
58802
  yr,
58770
- Da,
58803
+ Ea,
58771
58804
  l.stateNode
58772
58805
  );
58773
58806
  } catch (V) {
@@ -58779,17 +58812,17 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58779
58812
  }
58780
58813
  break;
58781
58814
  case 18:
58782
- Da !== null && (_r ? (e = Da, ud(
58815
+ Ea !== null && (_r ? (e = Ea, ud(
58783
58816
  e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e,
58784
58817
  l.stateNode
58785
- ), su(e)) : ud(Da, l.stateNode));
58818
+ ), su(e)) : ud(Ea, l.stateNode));
58786
58819
  break;
58787
58820
  case 4:
58788
- p = Da, C = _r, Da = l.stateNode.containerInfo, _r = !0, ol(
58821
+ p = Ea, C = _r, Ea = l.stateNode.containerInfo, _r = !0, ol(
58789
58822
  e,
58790
58823
  a,
58791
58824
  l
58792
- ), Da = p, _r = C;
58825
+ ), Ea = p, _r = C;
58793
58826
  break;
58794
58827
  case 0:
58795
58828
  case 11:
@@ -58893,25 +58926,25 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58893
58926
  switch (ve.tag) {
58894
58927
  case 27:
58895
58928
  if (ko(ve.type)) {
58896
- Da = ve.stateNode, _r = !1;
58929
+ Ea = ve.stateNode, _r = !1;
58897
58930
  break e;
58898
58931
  }
58899
58932
  break;
58900
58933
  case 5:
58901
- Da = ve.stateNode, _r = !1;
58934
+ Ea = ve.stateNode, _r = !1;
58902
58935
  break e;
58903
58936
  case 3:
58904
58937
  case 4:
58905
- Da = ve.stateNode.containerInfo, _r = !0;
58938
+ Ea = ve.stateNode.containerInfo, _r = !0;
58906
58939
  break e;
58907
58940
  }
58908
58941
  ve = ve.return;
58909
58942
  }
58910
- if (Da === null)
58943
+ if (Ea === null)
58911
58944
  throw Error(
58912
58945
  "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
58913
58946
  );
58914
- Yc(C, V, he), Da = null, _r = !1, C = he, V = C.alternate, V !== null && (V.return = null), C.return = null;
58947
+ Yc(C, V, he), Ea = null, _r = !1, C = he, V = C.alternate, V !== null && (V.return = null), C.return = null;
58915
58948
  }
58916
58949
  if (a.subtreeFlags & 13878)
58917
58950
  for (a = a.child; a !== null; )
@@ -59849,7 +59882,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59849
59882
  !Rd
59850
59883
  ), pe(p, 0, !0) !== 0) break e;
59851
59884
  p.timeoutHandle = k3(
59852
- Ta.bind(
59885
+ ka.bind(
59853
59886
  null,
59854
59887
  p,
59855
59888
  l,
@@ -59870,7 +59903,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59870
59903
  );
59871
59904
  break e;
59872
59905
  }
59873
- Ta(
59906
+ ka(
59874
59907
  p,
59875
59908
  l,
59876
59909
  Ws,
@@ -59893,7 +59926,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59893
59926
  } while (!0);
59894
59927
  gr(e);
59895
59928
  }
59896
- function Ta(e, a, l, p, C, V, he, ve, Ee, Oe, Qe, at, We, ot) {
59929
+ function ka(e, a, l, p, C, V, he, ve, Ee, Oe, Qe, at, We, ot) {
59897
59930
  if (e.timeoutHandle = Lf, at = a.subtreeFlags, (at & 8192 || (at & 16785408) === 16785408) && (A0 = { stylesheets: null, count: 0, unsuspend: K1 }, Zl(a), at = J1(), at !== null)) {
59898
59931
  e.cancelPendingCommit = at(
59899
59932
  rg.bind(
@@ -61164,18 +61197,18 @@ This ensures that you're testing the behavior the user would see in the browser.
61164
61197
  Qe
61165
61198
  ), ln.target = Pe, ln.relatedTarget = Di, Ie = ln), Di = Ie, ot && Vt)
61166
61199
  t: {
61167
- for (ln = ot, Gn = Vt, Ne = 0, Pe = ln; Pe; Pe = Aa(Pe))
61200
+ for (ln = ot, Gn = Vt, Ne = 0, Pe = ln; Pe; Pe = Ta(Pe))
61168
61201
  Ne++;
61169
- for (Pe = 0, Ie = Gn; Ie; Ie = Aa(Ie))
61202
+ for (Pe = 0, Ie = Gn; Ie; Ie = Ta(Ie))
61170
61203
  Pe++;
61171
61204
  for (; 0 < Ne - Pe; )
61172
- ln = Aa(ln), Ne--;
61205
+ ln = Ta(ln), Ne--;
61173
61206
  for (; 0 < Pe - Ne; )
61174
- Gn = Aa(Gn), Pe--;
61207
+ Gn = Ta(Gn), Pe--;
61175
61208
  for (; Ne--; ) {
61176
61209
  if (ln === Gn || Gn !== null && ln === Gn.alternate)
61177
61210
  break t;
61178
- ln = Aa(ln), Gn = Aa(Gn);
61211
+ ln = Ta(ln), Gn = Ta(Gn);
61179
61212
  }
61180
61213
  ln = null;
61181
61214
  }
@@ -61319,7 +61352,7 @@ This ensures that you're testing the behavior the user would see in the browser.
61319
61352
  }
61320
61353
  return [];
61321
61354
  }
61322
- function Aa(e) {
61355
+ function Ta(e) {
61323
61356
  if (e === null) return null;
61324
61357
  do
61325
61358
  e = e.return;
@@ -61891,7 +61924,7 @@ This ensures that you're testing the behavior the user would see in the browser.
61891
61924
  Wt(e, l), zt(e, p, C, V), Pt(e);
61892
61925
  return;
61893
61926
  case "option":
61894
- wa(e, l);
61927
+ _a(e, l);
61895
61928
  for (Ee in l)
61896
61929
  if (l.hasOwnProperty(Ee) && (p = l[Ee], p != null))
61897
61930
  switch (Ee) {
@@ -64049,7 +64082,7 @@ Check the render method of %s.`,
64049
64082
  }, Ng = RegExp(
64050
64083
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
64051
64084
  ), Pg = {}, Bg = {}, uc = 0, Nb, Pb, uv, Bb, Td, dv, hv;
64052
- Sa.__reactDisabledLog = !0;
64085
+ Oa.__reactDisabledLog = !0;
64053
64086
  var zb, cf, Ad = !1, uf = new (typeof WeakMap == "function" ? WeakMap : Map)(), Fs = null, Ds = !1, US = /[\n"\\]/g, Ib = !1, Ub = !1, Hb = !1, Gb = !1, zg = !1, Vb = !1, df = ["value", "defaultValue"], fv = !1, pv = /["'&<>\n\t]|^\s|\s$/, Fb = "address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(
64054
64087
  " "
64055
64088
  ), Ig = "applet caption html table td th marquee object template foreignObject desc title".split(
@@ -64873,7 +64906,7 @@ Check the render method of %s.`,
64873
64906
  movementY: function(e) {
64874
64907
  return "movementY" in e ? e.movementY : Ye;
64875
64908
  }
64876
- }), Tn = ja(Gt), Xt = _n({}, Gt, { dataTransfer: 0 }), an = ja(Xt), Ma = _n({}, ei, { relatedTarget: 0 }), Yn = ja(Ma), hc = _n({}, Qt, {
64909
+ }), Tn = ja(Gt), Xt = _n({}, Gt, { dataTransfer: 0 }), an = ja(Xt), Aa = _n({}, ei, { relatedTarget: 0 }), Yn = ja(Aa), hc = _n({}, Qt, {
64877
64910
  animationName: 0,
64878
64911
  elapsedTime: 0,
64879
64912
  pseudoElement: 0
@@ -65237,7 +65270,7 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,
65237
65270
  'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
65238
65271
  );
65239
65272
  }
65240
- }, c0 = null, Tv = !1, Bo = 0, zo = 1, qs = 2, us = 4, Ga = 8, mk = 0, yk = 1, bk = 2, e_ = 3, Od = !1, vk = !1, t_ = null, n_ = !1, em = z(null), Av = z(0), tm, xk = /* @__PURE__ */ new Set(), Sk = /* @__PURE__ */ new Set(), i_ = /* @__PURE__ */ new Set(), _k = /* @__PURE__ */ new Set(), Ld = 0, fn = null, Ci = null, Ea = null, Mv = !1, nm = !1, wf = !1, Ev = 0, u0 = 0, gu = null, OD = 0, LD = 25, it = null, Io = null, mu = -1, d0 = !1, Dv = {
65273
+ }, c0 = null, Tv = !1, Bo = 0, zo = 1, qs = 2, us = 4, Ga = 8, mk = 0, yk = 1, bk = 2, e_ = 3, Od = !1, vk = !1, t_ = null, n_ = !1, em = z(null), Av = z(0), tm, xk = /* @__PURE__ */ new Set(), Sk = /* @__PURE__ */ new Set(), i_ = /* @__PURE__ */ new Set(), _k = /* @__PURE__ */ new Set(), Ld = 0, fn = null, Ci = null, Ma = null, Mv = !1, nm = !1, wf = !1, Ev = 0, u0 = 0, gu = null, OD = 0, LD = 25, it = null, Io = null, mu = -1, d0 = !1, Dv = {
65241
65274
  readContext: Mi,
65242
65275
  use: oo,
65243
65276
  useCallback: Hi,
@@ -66040,7 +66073,7 @@ Check the top-level render call using <` + p + ">.");
66040
66073
  hydrationErrors: null
66041
66074
  }, s3 = !1, r3 = null;
66042
66075
  r3 = /* @__PURE__ */ new Set();
66043
- var yu = !1, ba = !1, p_ = !1, o3 = typeof WeakSet == "function" ? WeakSet : Set, Ja = null, lm = null, cm = null, Da = null, _r = !1, Cl = null, p0 = 8192, PD = {
66076
+ var yu = !1, ba = !1, p_ = !1, o3 = typeof WeakSet == "function" ? WeakSet : Set, Ja = null, lm = null, cm = null, Ea = null, _r = !1, Cl = null, p0 = 8192, PD = {
66044
66077
  getCacheForType: function(e) {
66045
66078
  var a = Mi(Ha), l = a.data.get(e);
66046
66079
  return l === void 0 && (l = e(), a.data.set(e, l)), l;