@ddrinnova/agentsgt-widget 0.1.17 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.es.js CHANGED
@@ -54,9 +54,9 @@ function hS() {
54
54
  var te = Z.length;
55
55
  Z.push(F);
56
56
  e: for (; 0 < te; ) {
57
- var me = te - 1 >>> 1, z = Z[me];
57
+ var he = te - 1 >>> 1, z = Z[he];
58
58
  if (0 < o(z, F))
59
- Z[me] = F, Z[te] = z, te = me;
59
+ Z[he] = F, Z[te] = z, te = he;
60
60
  else break e;
61
61
  }
62
62
  }
@@ -68,12 +68,12 @@ function hS() {
68
68
  var F = Z[0], te = Z.pop();
69
69
  if (te !== F) {
70
70
  Z[0] = te;
71
- e: for (var me = 0, z = Z.length, A = z >>> 1; me < A; ) {
72
- var H = 2 * (me + 1) - 1, x = Z[H], ne = H + 1, be = Z[ne];
71
+ e: for (var he = 0, z = Z.length, A = z >>> 1; he < A; ) {
72
+ var H = 2 * (he + 1) - 1, x = Z[H], ne = H + 1, be = Z[ne];
73
73
  if (0 > o(x, te))
74
- ne < z && 0 > o(be, x) ? (Z[me] = be, Z[ne] = te, me = ne) : (Z[me] = x, Z[H] = te, me = H);
74
+ ne < z && 0 > o(be, x) ? (Z[he] = be, Z[ne] = te, he = ne) : (Z[he] = x, Z[H] = te, he = H);
75
75
  else if (ne < z && 0 > o(be, te))
76
- Z[me] = be, Z[ne] = te, me = ne;
76
+ Z[he] = be, Z[ne] = te, he = ne;
77
77
  else break e;
78
78
  }
79
79
  }
@@ -94,8 +94,8 @@ function hS() {
94
94
  return c.now() - h;
95
95
  };
96
96
  }
97
- var m = [], d = [], y = 1, g = null, _ = 3, b = !1, E = !1, T = !1, j = !1, C = typeof setTimeout == "function" ? setTimeout : null, B = typeof clearTimeout == "function" ? clearTimeout : null, w = typeof setImmediate < "u" ? setImmediate : null;
98
- function K(Z) {
97
+ var m = [], d = [], y = 1, g = null, _ = 3, b = !1, E = !1, T = !1, M = !1, O = typeof setTimeout == "function" ? setTimeout : null, B = typeof clearTimeout == "function" ? clearTimeout : null, w = typeof setImmediate < "u" ? setImmediate : null;
98
+ function J(Z) {
99
99
  for (var F = i(d); F !== null; ) {
100
100
  if (F.callback === null) l(d);
101
101
  else if (F.startTime <= Z)
@@ -104,23 +104,23 @@ function hS() {
104
104
  F = i(d);
105
105
  }
106
106
  }
107
- function J(Z) {
108
- if (T = !1, K(Z), !E)
107
+ function K(Z) {
108
+ if (T = !1, J(Z), !E)
109
109
  if (i(m) !== null)
110
110
  E = !0, D || (D = !0, re());
111
111
  else {
112
112
  var F = i(d);
113
- F !== null && fe(J, F.startTime - Z);
113
+ F !== null && fe(K, F.startTime - Z);
114
114
  }
115
115
  }
116
- var D = !1, X = -1, ce = 5, he = -1;
116
+ var D = !1, X = -1, ce = 5, pe = -1;
117
117
  function L() {
118
- return j ? !0 : !(e.unstable_now() - he < ce);
118
+ return M ? !0 : !(e.unstable_now() - pe < ce);
119
119
  }
120
120
  function ie() {
121
- if (j = !1, D) {
121
+ if (M = !1, D) {
122
122
  var Z = e.unstable_now();
123
- he = Z;
123
+ pe = Z;
124
124
  var F = !0;
125
125
  try {
126
126
  e: {
@@ -128,18 +128,18 @@ function hS() {
128
128
  var te = _;
129
129
  try {
130
130
  t: {
131
- for (K(Z), g = i(m); g !== null && !(g.expirationTime > Z && L()); ) {
132
- var me = g.callback;
133
- if (typeof me == "function") {
131
+ for (J(Z), g = i(m); g !== null && !(g.expirationTime > Z && L()); ) {
132
+ var he = g.callback;
133
+ if (typeof he == "function") {
134
134
  g.callback = null, _ = g.priorityLevel;
135
- var z = me(
135
+ var z = he(
136
136
  g.expirationTime <= Z
137
137
  );
138
138
  if (Z = e.unstable_now(), typeof z == "function") {
139
- g.callback = z, K(Z), F = !0;
139
+ g.callback = z, J(Z), F = !0;
140
140
  break t;
141
141
  }
142
- g === i(m) && l(m), K(Z);
142
+ g === i(m) && l(m), J(Z);
143
143
  } else l(m);
144
144
  g = i(m);
145
145
  }
@@ -147,7 +147,7 @@ function hS() {
147
147
  else {
148
148
  var A = i(d);
149
149
  A !== null && fe(
150
- J,
150
+ K,
151
151
  A.startTime - Z
152
152
  ), F = !1;
153
153
  }
@@ -175,10 +175,10 @@ function hS() {
175
175
  };
176
176
  } else
177
177
  re = function() {
178
- C(ie, 0);
178
+ O(ie, 0);
179
179
  };
180
180
  function fe(Z, F) {
181
- X = C(function() {
181
+ X = O(function() {
182
182
  Z(e.unstable_now());
183
183
  }, F);
184
184
  }
@@ -208,7 +208,7 @@ function hS() {
208
208
  _ = te;
209
209
  }
210
210
  }, e.unstable_requestPaint = function() {
211
- j = !0;
211
+ M = !0;
212
212
  }, e.unstable_runWithPriority = function(Z, F) {
213
213
  switch (Z) {
214
214
  case 1:
@@ -228,8 +228,8 @@ function hS() {
228
228
  _ = te;
229
229
  }
230
230
  }, e.unstable_scheduleCallback = function(Z, F, te) {
231
- var me = e.unstable_now();
232
- switch (typeof te == "object" && te !== null ? (te = te.delay, te = typeof te == "number" && 0 < te ? me + te : me) : te = me, Z) {
231
+ var he = e.unstable_now();
232
+ switch (typeof te == "object" && te !== null ? (te = te.delay, te = typeof te == "number" && 0 < te ? he + te : he) : te = he, Z) {
233
233
  case 1:
234
234
  var z = -1;
235
235
  break;
@@ -252,7 +252,7 @@ function hS() {
252
252
  startTime: te,
253
253
  expirationTime: z,
254
254
  sortIndex: -1
255
- }, te > me ? (Z.sortIndex = te, n(d, Z), i(m) === null && Z === i(d) && (T ? (B(X), X = -1) : T = !0, fe(J, te - me))) : (Z.sortIndex = z, n(m, Z), E || b || (E = !0, D || (D = !0, re()))), Z;
255
+ }, te > he ? (Z.sortIndex = te, n(d, Z), i(m) === null && Z === i(d) && (T ? (B(X), X = -1) : T = !0, fe(K, te - he))) : (Z.sortIndex = z, n(m, Z), E || b || (E = !0, D || (D = !0, re()))), Z;
256
256
  }, e.unstable_shouldYield = L, e.unstable_wrapCallback = function(Z) {
257
257
  var F = _;
258
258
  return function() {
@@ -299,32 +299,32 @@ function dS() {
299
299
  },
300
300
  enqueueSetState: function() {
301
301
  }
302
- }, T = Object.assign, j = {};
303
- function C(A, H, x) {
304
- this.props = A, this.context = H, this.refs = j, this.updater = x || E;
302
+ }, T = Object.assign, M = {};
303
+ function O(A, H, x) {
304
+ this.props = A, this.context = H, this.refs = M, this.updater = x || E;
305
305
  }
306
- C.prototype.isReactComponent = {}, C.prototype.setState = function(A, H) {
306
+ O.prototype.isReactComponent = {}, O.prototype.setState = function(A, H) {
307
307
  if (typeof A != "object" && typeof A != "function" && A != null)
308
308
  throw Error(
309
309
  "takes an object of state variables to update or a function which returns an object of state variables."
310
310
  );
311
311
  this.updater.enqueueSetState(this, A, H, "setState");
312
- }, C.prototype.forceUpdate = function(A) {
312
+ }, O.prototype.forceUpdate = function(A) {
313
313
  this.updater.enqueueForceUpdate(this, A, "forceUpdate");
314
314
  };
315
315
  function B() {
316
316
  }
317
- B.prototype = C.prototype;
317
+ B.prototype = O.prototype;
318
318
  function w(A, H, x) {
319
- this.props = A, this.context = H, this.refs = j, this.updater = x || E;
319
+ this.props = A, this.context = H, this.refs = M, this.updater = x || E;
320
320
  }
321
- var K = w.prototype = new B();
322
- K.constructor = w, T(K, C.prototype), K.isPureReactComponent = !0;
323
- var J = Array.isArray;
321
+ var J = w.prototype = new B();
322
+ J.constructor = w, T(J, O.prototype), J.isPureReactComponent = !0;
323
+ var K = Array.isArray;
324
324
  function D() {
325
325
  }
326
326
  var X = { H: null, A: null, T: null, S: null }, ce = Object.prototype.hasOwnProperty;
327
- function he(A, H, x) {
327
+ function pe(A, H, x) {
328
328
  var ne = x.ref;
329
329
  return {
330
330
  $$typeof: e,
@@ -335,7 +335,7 @@ function dS() {
335
335
  };
336
336
  }
337
337
  function L(A, H) {
338
- return he(A.type, H, A.props);
338
+ return pe(A.type, H, A.props);
339
339
  }
340
340
  function ie(A) {
341
341
  return typeof A == "object" && A !== null && A.$$typeof === e;
@@ -374,12 +374,12 @@ function dS() {
374
374
  throw A;
375
375
  }
376
376
  function Z(A, H, x, ne, be) {
377
- var pe = typeof A;
378
- (pe === "undefined" || pe === "boolean") && (A = null);
377
+ var de = typeof A;
378
+ (de === "undefined" || de === "boolean") && (A = null);
379
379
  var Ne = !1;
380
380
  if (A === null) Ne = !0;
381
381
  else
382
- switch (pe) {
382
+ switch (de) {
383
383
  case "bigint":
384
384
  case "string":
385
385
  case "number":
@@ -402,7 +402,7 @@ function dS() {
402
402
  }
403
403
  }
404
404
  if (Ne)
405
- return be = be(A), Ne = ne === "" ? "." + ae(A, 0) : ne, J(be) ? (x = "", Ne != null && (x = Ne.replace(le, "$&/") + "/"), Z(be, H, x, "", function(sn) {
405
+ return be = be(A), Ne = ne === "" ? "." + ae(A, 0) : ne, K(be) ? (x = "", Ne != null && (x = Ne.replace(le, "$&/") + "/"), Z(be, H, x, "", function(sn) {
406
406
  return sn;
407
407
  })) : be != null && (ie(be) && (be = L(
408
408
  be,
@@ -413,25 +413,25 @@ function dS() {
413
413
  )), H.push(be)), 1;
414
414
  Ne = 0;
415
415
  var ut = ne === "" ? "." : ne + ":";
416
- if (J(A))
416
+ if (K(A))
417
417
  for (var Ye = 0; Ye < A.length; Ye++)
418
- ne = A[Ye], pe = ut + ae(ne, Ye), Ne += Z(
418
+ ne = A[Ye], de = ut + ae(ne, Ye), Ne += Z(
419
419
  ne,
420
420
  H,
421
421
  x,
422
- pe,
422
+ de,
423
423
  be
424
424
  );
425
425
  else if (Ye = b(A), typeof Ye == "function")
426
426
  for (A = Ye.call(A), Ye = 0; !(ne = A.next()).done; )
427
- ne = ne.value, pe = ut + ae(ne, Ye++), Ne += Z(
427
+ ne = ne.value, de = ut + ae(ne, Ye++), Ne += Z(
428
428
  ne,
429
429
  H,
430
430
  x,
431
- pe,
431
+ de,
432
432
  be
433
433
  );
434
- else if (pe === "object") {
434
+ else if (de === "object") {
435
435
  if (typeof A.then == "function")
436
436
  return Z(
437
437
  fe(A),
@@ -449,8 +449,8 @@ function dS() {
449
449
  function F(A, H, x) {
450
450
  if (A == null) return A;
451
451
  var ne = [], be = 0;
452
- return Z(A, ne, "", "", function(pe) {
453
- return H.call(x, pe, be++);
452
+ return Z(A, ne, "", "", function(de) {
453
+ return H.call(x, de, be++);
454
454
  }), ne;
455
455
  }
456
456
  function te(A) {
@@ -468,7 +468,7 @@ function dS() {
468
468
  if (A._status === 1) return A._result.default;
469
469
  throw A._result;
470
470
  }
471
- var me = typeof reportError == "function" ? reportError : function(A) {
471
+ var he = typeof reportError == "function" ? reportError : function(A) {
472
472
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
473
473
  var H = new window.ErrorEvent("error", {
474
474
  bubbles: !0,
@@ -512,7 +512,7 @@ function dS() {
512
512
  return A;
513
513
  }
514
514
  };
515
- return Se.Activity = g, Se.Children = z, Se.Component = C, Se.Fragment = i, Se.Profiler = o, Se.PureComponent = w, Se.StrictMode = l, Se.Suspense = m, Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X, Se.__COMPILER_RUNTIME = {
515
+ return Se.Activity = g, Se.Children = z, Se.Component = O, Se.Fragment = i, Se.Profiler = o, Se.PureComponent = w, Se.StrictMode = l, Se.Suspense = m, Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X, Se.__COMPILER_RUNTIME = {
516
516
  __proto__: null,
517
517
  c: function(A) {
518
518
  return X.H.useMemoCache(A);
@@ -530,16 +530,16 @@ function dS() {
530
530
  );
531
531
  var ne = T({}, A.props), be = A.key;
532
532
  if (H != null)
533
- for (pe in H.key !== void 0 && (be = "" + H.key), H)
534
- !ce.call(H, pe) || pe === "key" || pe === "__self" || pe === "__source" || pe === "ref" && H.ref === void 0 || (ne[pe] = H[pe]);
535
- var pe = arguments.length - 2;
536
- if (pe === 1) ne.children = x;
537
- else if (1 < pe) {
538
- for (var Ne = Array(pe), ut = 0; ut < pe; ut++)
533
+ for (de in H.key !== void 0 && (be = "" + H.key), H)
534
+ !ce.call(H, de) || de === "key" || de === "__self" || de === "__source" || de === "ref" && H.ref === void 0 || (ne[de] = H[de]);
535
+ var de = arguments.length - 2;
536
+ if (de === 1) ne.children = x;
537
+ else if (1 < de) {
538
+ for (var Ne = Array(de), ut = 0; ut < de; ut++)
539
539
  Ne[ut] = arguments[ut + 2];
540
540
  ne.children = Ne;
541
541
  }
542
- return he(A.type, be, ne);
542
+ return pe(A.type, be, ne);
543
543
  }, Se.createContext = function(A) {
544
544
  return A = {
545
545
  $$typeof: c,
@@ -553,9 +553,9 @@ function dS() {
553
553
  _context: A
554
554
  }, A;
555
555
  }, Se.createElement = function(A, H, x) {
556
- var ne, be = {}, pe = null;
556
+ var ne, be = {}, de = null;
557
557
  if (H != null)
558
- for (ne in H.key !== void 0 && (pe = "" + H.key), H)
558
+ for (ne in H.key !== void 0 && (de = "" + H.key), H)
559
559
  ce.call(H, ne) && ne !== "key" && ne !== "__self" && ne !== "__source" && (be[ne] = H[ne]);
560
560
  var Ne = arguments.length - 2;
561
561
  if (Ne === 1) be.children = x;
@@ -567,7 +567,7 @@ function dS() {
567
567
  if (A && A.defaultProps)
568
568
  for (ne in Ne = A.defaultProps, Ne)
569
569
  be[ne] === void 0 && (be[ne] = Ne[ne]);
570
- return he(A, pe, be);
570
+ return pe(A, de, be);
571
571
  }, Se.createRef = function() {
572
572
  return { current: null };
573
573
  }, Se.forwardRef = function(A) {
@@ -589,9 +589,9 @@ function dS() {
589
589
  X.T = x;
590
590
  try {
591
591
  var ne = A(), be = X.S;
592
- be !== null && be(x, ne), typeof ne == "object" && ne !== null && typeof ne.then == "function" && ne.then(D, me);
593
- } catch (pe) {
594
- me(pe);
592
+ be !== null && be(x, ne), typeof ne == "object" && ne !== null && typeof ne.then == "function" && ne.then(D, he);
593
+ } catch (de) {
594
+ he(de);
595
595
  } finally {
596
596
  H !== null && x.types !== null && (H.types = x.types), X.T = H;
597
597
  }
@@ -923,7 +923,7 @@ function yS() {
923
923
  }
924
924
  return null;
925
925
  }
926
- var g = Object.assign, _ = Symbol.for("react.element"), b = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), w = Symbol.for("react.context"), K = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), L = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.iterator;
926
+ var g = Object.assign, _ = Symbol.for("react.element"), b = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), w = Symbol.for("react.context"), J = Symbol.for("react.forward_ref"), K = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), pe = Symbol.for("react.activity"), L = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.iterator;
927
927
  function re(t) {
928
928
  return t === null || typeof t != "object" ? null : (t = ie && t[ie] || t["@@iterator"], typeof t == "function" ? t : null);
929
929
  }
@@ -936,15 +936,15 @@ function yS() {
936
936
  switch (t) {
937
937
  case T:
938
938
  return "Fragment";
939
- case C:
939
+ case O:
940
940
  return "Profiler";
941
- case j:
941
+ case M:
942
942
  return "StrictMode";
943
- case J:
943
+ case K:
944
944
  return "Suspense";
945
945
  case D:
946
946
  return "SuspenseList";
947
- case he:
947
+ case pe:
948
948
  return "Activity";
949
949
  }
950
950
  if (typeof t == "object")
@@ -955,7 +955,7 @@ function yS() {
955
955
  return t.displayName || "Context";
956
956
  case B:
957
957
  return (t._context.displayName || "Context") + ".Consumer";
958
- case K:
958
+ case J:
959
959
  var r = t.render;
960
960
  return t = t.displayName, t || (t = r.displayName || r.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
961
961
  case X:
@@ -974,19 +974,19 @@ function yS() {
974
974
  data: null,
975
975
  method: null,
976
976
  action: null
977
- }, me = [], z = -1;
977
+ }, he = [], z = -1;
978
978
  function A(t) {
979
979
  return { current: t };
980
980
  }
981
981
  function H(t) {
982
- 0 > z || (t.current = me[z], me[z] = null, z--);
982
+ 0 > z || (t.current = he[z], he[z] = null, z--);
983
983
  }
984
984
  function x(t, r) {
985
- z++, me[z] = t.current, t.current = r;
985
+ z++, he[z] = t.current, t.current = r;
986
986
  }
987
- var ne = A(null), be = A(null), pe = A(null), Ne = A(null);
987
+ var ne = A(null), be = A(null), de = A(null), Ne = A(null);
988
988
  function ut(t, r) {
989
- switch (x(pe, r), x(be, t), x(ne, null), r.nodeType) {
989
+ switch (x(de, r), x(be, t), x(ne, null), r.nodeType) {
990
990
  case 9:
991
991
  case 11:
992
992
  t = (t = r.documentElement) && (t = t.namespaceURI) ? Ym(t) : 0;
@@ -1009,7 +1009,7 @@ function yS() {
1009
1009
  H(ne), x(ne, t);
1010
1010
  }
1011
1011
  function Ye() {
1012
- H(ne), H(be), H(pe);
1012
+ H(ne), H(be), H(de);
1013
1013
  }
1014
1014
  function sn(t) {
1015
1015
  t.memoizedState !== null && x(Ne, t);
@@ -1094,22 +1094,22 @@ function yS() {
1094
1094
  var p = u.DetermineComponentFrameRoot(), v = p[0], S = p[1];
1095
1095
  if (v && S) {
1096
1096
  var k = v.split(`
1097
- `), R = S.split(`
1097
+ `), j = S.split(`
1098
1098
  `);
1099
1099
  for (f = u = 0; u < k.length && !k[u].includes("DetermineComponentFrameRoot"); )
1100
1100
  u++;
1101
- for (; f < R.length && !R[f].includes(
1101
+ for (; f < j.length && !j[f].includes(
1102
1102
  "DetermineComponentFrameRoot"
1103
1103
  ); )
1104
1104
  f++;
1105
- if (u === k.length || f === R.length)
1106
- for (u = k.length - 1, f = R.length - 1; 1 <= u && 0 <= f && k[u] !== R[f]; )
1105
+ if (u === k.length || f === j.length)
1106
+ for (u = k.length - 1, f = j.length - 1; 1 <= u && 0 <= f && k[u] !== j[f]; )
1107
1107
  f--;
1108
1108
  for (; 1 <= u && 0 <= f; u--, f--)
1109
- if (k[u] !== R[f]) {
1109
+ if (k[u] !== j[f]) {
1110
1110
  if (u !== 1 || f !== 1)
1111
1111
  do
1112
- if (u--, f--, 0 > f || k[u] !== R[f]) {
1112
+ if (u--, f--, 0 > f || k[u] !== j[f]) {
1113
1113
  var q = `
1114
1114
  ` + k[u].replace(" at new ", " at ");
1115
1115
  return t.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", t.displayName)), q;
@@ -1295,13 +1295,13 @@ Error generating stack: ` + u.message + `
1295
1295
  function K0(t, r, a, u, f, p) {
1296
1296
  var v = t.pendingLanes;
1297
1297
  t.pendingLanes = a, t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0, t.expiredLanes &= a, t.entangledLanes &= a, t.errorRecoveryDisabledLanes &= a, t.shellSuspendCounter = 0;
1298
- var S = t.entanglements, k = t.expirationTimes, R = t.hiddenUpdates;
1298
+ var S = t.entanglements, k = t.expirationTimes, j = t.hiddenUpdates;
1299
1299
  for (a = v & ~a; 0 < a; ) {
1300
1300
  var q = 31 - Je(a), G = 1 << q;
1301
1301
  S[q] = 0, k[q] = -1;
1302
- var U = R[q];
1302
+ var U = j[q];
1303
1303
  if (U !== null)
1304
- for (R[q] = null, q = 0; q < U.length; q++) {
1304
+ for (j[q] = null, q = 0; q < U.length; q++) {
1305
1305
  var I = U[q];
1306
1306
  I !== null && (I.lane &= -536870913);
1307
1307
  }
@@ -2402,17 +2402,17 @@ Error generating stack: ` + u.message + `
2402
2402
  ) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
2403
2403
  else
2404
2404
  e: switch (t) {
2405
- case he:
2406
- return t = Wt(31, a, r, f), t.elementType = he, t.lanes = p, t;
2405
+ case pe:
2406
+ return t = Wt(31, a, r, f), t.elementType = pe, t.lanes = p, t;
2407
2407
  case T:
2408
2408
  return Xr(a.children, f, p, r);
2409
- case j:
2409
+ case M:
2410
2410
  v = 8, f |= 24;
2411
2411
  break;
2412
- case C:
2413
- return t = Wt(12, a, r, f | 2), t.elementType = C, t.lanes = p, t;
2414
- case J:
2415
- return t = Wt(13, a, r, f), t.elementType = J, t.lanes = p, t;
2412
+ case O:
2413
+ return t = Wt(12, a, r, f | 2), t.elementType = O, t.lanes = p, t;
2414
+ case K:
2415
+ return t = Wt(13, a, r, f), t.elementType = K, t.lanes = p, t;
2416
2416
  case D:
2417
2417
  return t = Wt(19, a, r, f), t.elementType = D, t.lanes = p, t;
2418
2418
  default:
@@ -2424,7 +2424,7 @@ Error generating stack: ` + u.message + `
2424
2424
  case B:
2425
2425
  v = 9;
2426
2426
  break e;
2427
- case K:
2427
+ case J:
2428
2428
  v = 11;
2429
2429
  break e;
2430
2430
  case X:
@@ -2883,371 +2883,371 @@ Error generating stack: ` + u.message + `
2883
2883
  ));
2884
2884
  }
2885
2885
  function Up(t) {
2886
- function r(N, O) {
2886
+ function r(N, C) {
2887
2887
  if (t) {
2888
- var M = N.deletions;
2889
- M === null ? (N.deletions = [O], N.flags |= 16) : M.push(O);
2888
+ var R = N.deletions;
2889
+ R === null ? (N.deletions = [C], N.flags |= 16) : R.push(C);
2890
2890
  }
2891
2891
  }
2892
- function a(N, O) {
2892
+ function a(N, C) {
2893
2893
  if (!t) return null;
2894
- for (; O !== null; )
2895
- r(N, O), O = O.sibling;
2894
+ for (; C !== null; )
2895
+ r(N, C), C = C.sibling;
2896
2896
  return null;
2897
2897
  }
2898
2898
  function u(N) {
2899
- for (var O = /* @__PURE__ */ new Map(); N !== null; )
2900
- N.key !== null ? O.set(N.key, N) : O.set(N.index, N), N = N.sibling;
2901
- return O;
2899
+ for (var C = /* @__PURE__ */ new Map(); N !== null; )
2900
+ N.key !== null ? C.set(N.key, N) : C.set(N.index, N), N = N.sibling;
2901
+ return C;
2902
2902
  }
2903
- function f(N, O) {
2904
- return N = Yn(N, O), N.index = 0, N.sibling = null, N;
2903
+ function f(N, C) {
2904
+ return N = Yn(N, C), N.index = 0, N.sibling = null, N;
2905
2905
  }
2906
- function p(N, O, M) {
2907
- return N.index = M, t ? (M = N.alternate, M !== null ? (M = M.index, M < O ? (N.flags |= 67108866, O) : M) : (N.flags |= 67108866, O)) : (N.flags |= 1048576, O);
2906
+ function p(N, C, R) {
2907
+ return N.index = R, t ? (R = N.alternate, R !== null ? (R = R.index, R < C ? (N.flags |= 67108866, C) : R) : (N.flags |= 67108866, C)) : (N.flags |= 1048576, C);
2908
2908
  }
2909
2909
  function v(N) {
2910
2910
  return t && N.alternate === null && (N.flags |= 67108866), N;
2911
2911
  }
2912
- function S(N, O, M, Y) {
2913
- return O === null || O.tag !== 6 ? (O = gs(M, N.mode, Y), O.return = N, O) : (O = f(O, M), O.return = N, O);
2912
+ function S(N, C, R, Y) {
2913
+ return C === null || C.tag !== 6 ? (C = gs(R, N.mode, Y), C.return = N, C) : (C = f(C, R), C.return = N, C);
2914
2914
  }
2915
- function k(N, O, M, Y) {
2916
- var de = M.type;
2917
- return de === T ? q(
2915
+ function k(N, C, R, Y) {
2916
+ var me = R.type;
2917
+ return me === T ? q(
2918
2918
  N,
2919
- O,
2920
- M.props.children,
2919
+ C,
2920
+ R.props.children,
2921
2921
  Y,
2922
- M.key
2923
- ) : O !== null && (O.elementType === de || typeof de == "object" && de !== null && de.$$typeof === ce && Kr(de) === O.type) ? (O = f(O, M.props), Ba(O, M), O.return = N, O) : (O = lu(
2924
- M.type,
2925
- M.key,
2926
- M.props,
2922
+ R.key
2923
+ ) : C !== null && (C.elementType === me || typeof me == "object" && me !== null && me.$$typeof === ce && Kr(me) === C.type) ? (C = f(C, R.props), Ba(C, R), C.return = N, C) : (C = lu(
2924
+ R.type,
2925
+ R.key,
2926
+ R.props,
2927
2927
  null,
2928
2928
  N.mode,
2929
2929
  Y
2930
- ), Ba(O, M), O.return = N, O);
2930
+ ), Ba(C, R), C.return = N, C);
2931
2931
  }
2932
- function R(N, O, M, Y) {
2933
- return O === null || O.tag !== 4 || O.stateNode.containerInfo !== M.containerInfo || O.stateNode.implementation !== M.implementation ? (O = ys(M, N.mode, Y), O.return = N, O) : (O = f(O, M.children || []), O.return = N, O);
2932
+ function j(N, C, R, Y) {
2933
+ return C === null || C.tag !== 4 || C.stateNode.containerInfo !== R.containerInfo || C.stateNode.implementation !== R.implementation ? (C = ys(R, N.mode, Y), C.return = N, C) : (C = f(C, R.children || []), C.return = N, C);
2934
2934
  }
2935
- function q(N, O, M, Y, de) {
2936
- return O === null || O.tag !== 7 ? (O = Xr(
2937
- M,
2935
+ function q(N, C, R, Y, me) {
2936
+ return C === null || C.tag !== 7 ? (C = Xr(
2937
+ R,
2938
2938
  N.mode,
2939
2939
  Y,
2940
- de
2941
- ), O.return = N, O) : (O = f(O, M), O.return = N, O);
2940
+ me
2941
+ ), C.return = N, C) : (C = f(C, R), C.return = N, C);
2942
2942
  }
2943
- function G(N, O, M) {
2944
- if (typeof O == "string" && O !== "" || typeof O == "number" || typeof O == "bigint")
2945
- return O = gs(
2946
- "" + O,
2943
+ function G(N, C, R) {
2944
+ if (typeof C == "string" && C !== "" || typeof C == "number" || typeof C == "bigint")
2945
+ return C = gs(
2946
+ "" + C,
2947
2947
  N.mode,
2948
- M
2949
- ), O.return = N, O;
2950
- if (typeof O == "object" && O !== null) {
2951
- switch (O.$$typeof) {
2948
+ R
2949
+ ), C.return = N, C;
2950
+ if (typeof C == "object" && C !== null) {
2951
+ switch (C.$$typeof) {
2952
2952
  case b:
2953
- return M = lu(
2954
- O.type,
2955
- O.key,
2956
- O.props,
2953
+ return R = lu(
2954
+ C.type,
2955
+ C.key,
2956
+ C.props,
2957
2957
  null,
2958
2958
  N.mode,
2959
- M
2960
- ), Ba(M, O), M.return = N, M;
2959
+ R
2960
+ ), Ba(R, C), R.return = N, R;
2961
2961
  case E:
2962
- return O = ys(
2963
- O,
2962
+ return C = ys(
2963
+ C,
2964
2964
  N.mode,
2965
- M
2966
- ), O.return = N, O;
2965
+ R
2966
+ ), C.return = N, C;
2967
2967
  case ce:
2968
- return O = Kr(O), G(N, O, M);
2968
+ return C = Kr(C), G(N, C, R);
2969
2969
  }
2970
- if (fe(O) || re(O))
2971
- return O = Xr(
2972
- O,
2970
+ if (fe(C) || re(C))
2971
+ return C = Xr(
2972
+ C,
2973
2973
  N.mode,
2974
- M,
2974
+ R,
2975
2975
  null
2976
- ), O.return = N, O;
2977
- if (typeof O.then == "function")
2978
- return G(N, pu(O), M);
2979
- if (O.$$typeof === w)
2976
+ ), C.return = N, C;
2977
+ if (typeof C.then == "function")
2978
+ return G(N, pu(C), R);
2979
+ if (C.$$typeof === w)
2980
2980
  return G(
2981
2981
  N,
2982
- su(N, O),
2983
- M
2982
+ su(N, C),
2983
+ R
2984
2984
  );
2985
- du(N, O);
2985
+ du(N, C);
2986
2986
  }
2987
2987
  return null;
2988
2988
  }
2989
- function U(N, O, M, Y) {
2990
- var de = O !== null ? O.key : null;
2991
- if (typeof M == "string" && M !== "" || typeof M == "number" || typeof M == "bigint")
2992
- return de !== null ? null : S(N, O, "" + M, Y);
2993
- if (typeof M == "object" && M !== null) {
2994
- switch (M.$$typeof) {
2989
+ function U(N, C, R, Y) {
2990
+ var me = C !== null ? C.key : null;
2991
+ if (typeof R == "string" && R !== "" || typeof R == "number" || typeof R == "bigint")
2992
+ return me !== null ? null : S(N, C, "" + R, Y);
2993
+ if (typeof R == "object" && R !== null) {
2994
+ switch (R.$$typeof) {
2995
2995
  case b:
2996
- return M.key === de ? k(N, O, M, Y) : null;
2996
+ return R.key === me ? k(N, C, R, Y) : null;
2997
2997
  case E:
2998
- return M.key === de ? R(N, O, M, Y) : null;
2998
+ return R.key === me ? j(N, C, R, Y) : null;
2999
2999
  case ce:
3000
- return M = Kr(M), U(N, O, M, Y);
3000
+ return R = Kr(R), U(N, C, R, Y);
3001
3001
  }
3002
- if (fe(M) || re(M))
3003
- return de !== null ? null : q(N, O, M, Y, null);
3004
- if (typeof M.then == "function")
3002
+ if (fe(R) || re(R))
3003
+ return me !== null ? null : q(N, C, R, Y, null);
3004
+ if (typeof R.then == "function")
3005
3005
  return U(
3006
3006
  N,
3007
- O,
3008
- pu(M),
3007
+ C,
3008
+ pu(R),
3009
3009
  Y
3010
3010
  );
3011
- if (M.$$typeof === w)
3011
+ if (R.$$typeof === w)
3012
3012
  return U(
3013
3013
  N,
3014
- O,
3015
- su(N, M),
3014
+ C,
3015
+ su(N, R),
3016
3016
  Y
3017
3017
  );
3018
- du(N, M);
3018
+ du(N, R);
3019
3019
  }
3020
3020
  return null;
3021
3021
  }
3022
- function I(N, O, M, Y, de) {
3022
+ function I(N, C, R, Y, me) {
3023
3023
  if (typeof Y == "string" && Y !== "" || typeof Y == "number" || typeof Y == "bigint")
3024
- return N = N.get(M) || null, S(O, N, "" + Y, de);
3024
+ return N = N.get(R) || null, S(C, N, "" + Y, me);
3025
3025
  if (typeof Y == "object" && Y !== null) {
3026
3026
  switch (Y.$$typeof) {
3027
3027
  case b:
3028
3028
  return N = N.get(
3029
- Y.key === null ? M : Y.key
3030
- ) || null, k(O, N, Y, de);
3029
+ Y.key === null ? R : Y.key
3030
+ ) || null, k(C, N, Y, me);
3031
3031
  case E:
3032
3032
  return N = N.get(
3033
- Y.key === null ? M : Y.key
3034
- ) || null, R(O, N, Y, de);
3033
+ Y.key === null ? R : Y.key
3034
+ ) || null, j(C, N, Y, me);
3035
3035
  case ce:
3036
3036
  return Y = Kr(Y), I(
3037
3037
  N,
3038
- O,
3039
- M,
3038
+ C,
3039
+ R,
3040
3040
  Y,
3041
- de
3041
+ me
3042
3042
  );
3043
3043
  }
3044
3044
  if (fe(Y) || re(Y))
3045
- return N = N.get(M) || null, q(O, N, Y, de, null);
3045
+ return N = N.get(R) || null, q(C, N, Y, me, null);
3046
3046
  if (typeof Y.then == "function")
3047
3047
  return I(
3048
3048
  N,
3049
- O,
3050
- M,
3049
+ C,
3050
+ R,
3051
3051
  pu(Y),
3052
- de
3052
+ me
3053
3053
  );
3054
3054
  if (Y.$$typeof === w)
3055
3055
  return I(
3056
3056
  N,
3057
- O,
3058
- M,
3059
- su(O, Y),
3060
- de
3057
+ C,
3058
+ R,
3059
+ su(C, Y),
3060
+ me
3061
3061
  );
3062
- du(O, Y);
3062
+ du(C, Y);
3063
3063
  }
3064
3064
  return null;
3065
3065
  }
3066
- function ue(N, O, M, Y) {
3067
- for (var de = null, Le = null, oe = O, ze = O = 0, Me = null; oe !== null && ze < M.length; ze++) {
3066
+ function ue(N, C, R, Y) {
3067
+ for (var me = null, Le = null, oe = C, ze = C = 0, Me = null; oe !== null && ze < R.length; ze++) {
3068
3068
  oe.index > ze ? (Me = oe, oe = null) : Me = oe.sibling;
3069
3069
  var Ie = U(
3070
3070
  N,
3071
3071
  oe,
3072
- M[ze],
3072
+ R[ze],
3073
3073
  Y
3074
3074
  );
3075
3075
  if (Ie === null) {
3076
3076
  oe === null && (oe = Me);
3077
3077
  break;
3078
3078
  }
3079
- t && oe && Ie.alternate === null && r(N, oe), O = p(Ie, O, ze), Le === null ? de = Ie : Le.sibling = Ie, Le = Ie, oe = Me;
3079
+ t && oe && Ie.alternate === null && r(N, oe), C = p(Ie, C, ze), Le === null ? me = Ie : Le.sibling = Ie, Le = Ie, oe = Me;
3080
3080
  }
3081
- if (ze === M.length)
3082
- return a(N, oe), Re && Gn(N, ze), de;
3081
+ if (ze === R.length)
3082
+ return a(N, oe), Re && Gn(N, ze), me;
3083
3083
  if (oe === null) {
3084
- for (; ze < M.length; ze++)
3085
- oe = G(N, M[ze], Y), oe !== null && (O = p(
3084
+ for (; ze < R.length; ze++)
3085
+ oe = G(N, R[ze], Y), oe !== null && (C = p(
3086
3086
  oe,
3087
- O,
3087
+ C,
3088
3088
  ze
3089
- ), Le === null ? de = oe : Le.sibling = oe, Le = oe);
3090
- return Re && Gn(N, ze), de;
3089
+ ), Le === null ? me = oe : Le.sibling = oe, Le = oe);
3090
+ return Re && Gn(N, ze), me;
3091
3091
  }
3092
- for (oe = u(oe); ze < M.length; ze++)
3092
+ for (oe = u(oe); ze < R.length; ze++)
3093
3093
  Me = I(
3094
3094
  oe,
3095
3095
  N,
3096
3096
  ze,
3097
- M[ze],
3097
+ R[ze],
3098
3098
  Y
3099
3099
  ), Me !== null && (t && Me.alternate !== null && oe.delete(
3100
3100
  Me.key === null ? ze : Me.key
3101
- ), O = p(
3101
+ ), C = p(
3102
3102
  Me,
3103
- O,
3103
+ C,
3104
3104
  ze
3105
- ), Le === null ? de = Me : Le.sibling = Me, Le = Me);
3105
+ ), Le === null ? me = Me : Le.sibling = Me, Le = Me);
3106
3106
  return t && oe.forEach(function(Nr) {
3107
3107
  return r(N, Nr);
3108
- }), Re && Gn(N, ze), de;
3108
+ }), Re && Gn(N, ze), me;
3109
3109
  }
3110
- function ye(N, O, M, Y) {
3111
- if (M == null) throw Error(l(151));
3112
- for (var de = null, Le = null, oe = O, ze = O = 0, Me = null, Ie = M.next(); oe !== null && !Ie.done; ze++, Ie = M.next()) {
3110
+ function ye(N, C, R, Y) {
3111
+ if (R == null) throw Error(l(151));
3112
+ for (var me = null, Le = null, oe = C, ze = C = 0, Me = null, Ie = R.next(); oe !== null && !Ie.done; ze++, Ie = R.next()) {
3113
3113
  oe.index > ze ? (Me = oe, oe = null) : Me = oe.sibling;
3114
3114
  var Nr = U(N, oe, Ie.value, Y);
3115
3115
  if (Nr === null) {
3116
3116
  oe === null && (oe = Me);
3117
3117
  break;
3118
3118
  }
3119
- t && oe && Nr.alternate === null && r(N, oe), O = p(Nr, O, ze), Le === null ? de = Nr : Le.sibling = Nr, Le = Nr, oe = Me;
3119
+ t && oe && Nr.alternate === null && r(N, oe), C = p(Nr, C, ze), Le === null ? me = Nr : Le.sibling = Nr, Le = Nr, oe = Me;
3120
3120
  }
3121
3121
  if (Ie.done)
3122
- return a(N, oe), Re && Gn(N, ze), de;
3122
+ return a(N, oe), Re && Gn(N, ze), me;
3123
3123
  if (oe === null) {
3124
- for (; !Ie.done; ze++, Ie = M.next())
3125
- Ie = G(N, Ie.value, Y), Ie !== null && (O = p(Ie, O, ze), Le === null ? de = Ie : Le.sibling = Ie, Le = Ie);
3126
- return Re && Gn(N, ze), de;
3124
+ for (; !Ie.done; ze++, Ie = R.next())
3125
+ Ie = G(N, Ie.value, Y), Ie !== null && (C = p(Ie, C, ze), Le === null ? me = Ie : Le.sibling = Ie, Le = Ie);
3126
+ return Re && Gn(N, ze), me;
3127
3127
  }
3128
- for (oe = u(oe); !Ie.done; ze++, Ie = M.next())
3129
- Ie = I(oe, N, ze, Ie.value, Y), Ie !== null && (t && Ie.alternate !== null && oe.delete(Ie.key === null ? ze : Ie.key), O = p(Ie, O, ze), Le === null ? de = Ie : Le.sibling = Ie, Le = Ie);
3128
+ for (oe = u(oe); !Ie.done; ze++, Ie = R.next())
3129
+ Ie = I(oe, N, ze, Ie.value, Y), Ie !== null && (t && Ie.alternate !== null && oe.delete(Ie.key === null ? ze : Ie.key), C = p(Ie, C, ze), Le === null ? me = Ie : Le.sibling = Ie, Le = Ie);
3130
3130
  return t && oe.forEach(function(sS) {
3131
3131
  return r(N, sS);
3132
- }), Re && Gn(N, ze), de;
3132
+ }), Re && Gn(N, ze), me;
3133
3133
  }
3134
- function Fe(N, O, M, Y) {
3135
- if (typeof M == "object" && M !== null && M.type === T && M.key === null && (M = M.props.children), typeof M == "object" && M !== null) {
3136
- switch (M.$$typeof) {
3134
+ function Fe(N, C, R, Y) {
3135
+ if (typeof R == "object" && R !== null && R.type === T && R.key === null && (R = R.props.children), typeof R == "object" && R !== null) {
3136
+ switch (R.$$typeof) {
3137
3137
  case b:
3138
3138
  e: {
3139
- for (var de = M.key; O !== null; ) {
3140
- if (O.key === de) {
3141
- if (de = M.type, de === T) {
3142
- if (O.tag === 7) {
3139
+ for (var me = R.key; C !== null; ) {
3140
+ if (C.key === me) {
3141
+ if (me = R.type, me === T) {
3142
+ if (C.tag === 7) {
3143
3143
  a(
3144
3144
  N,
3145
- O.sibling
3145
+ C.sibling
3146
3146
  ), Y = f(
3147
- O,
3148
- M.props.children
3147
+ C,
3148
+ R.props.children
3149
3149
  ), Y.return = N, N = Y;
3150
3150
  break e;
3151
3151
  }
3152
- } else if (O.elementType === de || typeof de == "object" && de !== null && de.$$typeof === ce && Kr(de) === O.type) {
3152
+ } else if (C.elementType === me || typeof me == "object" && me !== null && me.$$typeof === ce && Kr(me) === C.type) {
3153
3153
  a(
3154
3154
  N,
3155
- O.sibling
3156
- ), Y = f(O, M.props), Ba(Y, M), Y.return = N, N = Y;
3155
+ C.sibling
3156
+ ), Y = f(C, R.props), Ba(Y, R), Y.return = N, N = Y;
3157
3157
  break e;
3158
3158
  }
3159
- a(N, O);
3159
+ a(N, C);
3160
3160
  break;
3161
- } else r(N, O);
3162
- O = O.sibling;
3161
+ } else r(N, C);
3162
+ C = C.sibling;
3163
3163
  }
3164
- M.type === T ? (Y = Xr(
3165
- M.props.children,
3164
+ R.type === T ? (Y = Xr(
3165
+ R.props.children,
3166
3166
  N.mode,
3167
3167
  Y,
3168
- M.key
3168
+ R.key
3169
3169
  ), Y.return = N, N = Y) : (Y = lu(
3170
- M.type,
3171
- M.key,
3172
- M.props,
3170
+ R.type,
3171
+ R.key,
3172
+ R.props,
3173
3173
  null,
3174
3174
  N.mode,
3175
3175
  Y
3176
- ), Ba(Y, M), Y.return = N, N = Y);
3176
+ ), Ba(Y, R), Y.return = N, N = Y);
3177
3177
  }
3178
3178
  return v(N);
3179
3179
  case E:
3180
3180
  e: {
3181
- for (de = M.key; O !== null; ) {
3182
- if (O.key === de)
3183
- if (O.tag === 4 && O.stateNode.containerInfo === M.containerInfo && O.stateNode.implementation === M.implementation) {
3181
+ for (me = R.key; C !== null; ) {
3182
+ if (C.key === me)
3183
+ if (C.tag === 4 && C.stateNode.containerInfo === R.containerInfo && C.stateNode.implementation === R.implementation) {
3184
3184
  a(
3185
3185
  N,
3186
- O.sibling
3187
- ), Y = f(O, M.children || []), Y.return = N, N = Y;
3186
+ C.sibling
3187
+ ), Y = f(C, R.children || []), Y.return = N, N = Y;
3188
3188
  break e;
3189
3189
  } else {
3190
- a(N, O);
3190
+ a(N, C);
3191
3191
  break;
3192
3192
  }
3193
- else r(N, O);
3194
- O = O.sibling;
3193
+ else r(N, C);
3194
+ C = C.sibling;
3195
3195
  }
3196
- Y = ys(M, N.mode, Y), Y.return = N, N = Y;
3196
+ Y = ys(R, N.mode, Y), Y.return = N, N = Y;
3197
3197
  }
3198
3198
  return v(N);
3199
3199
  case ce:
3200
- return M = Kr(M), Fe(
3200
+ return R = Kr(R), Fe(
3201
3201
  N,
3202
- O,
3203
- M,
3202
+ C,
3203
+ R,
3204
3204
  Y
3205
3205
  );
3206
3206
  }
3207
- if (fe(M))
3207
+ if (fe(R))
3208
3208
  return ue(
3209
3209
  N,
3210
- O,
3211
- M,
3210
+ C,
3211
+ R,
3212
3212
  Y
3213
3213
  );
3214
- if (re(M)) {
3215
- if (de = re(M), typeof de != "function") throw Error(l(150));
3216
- return M = de.call(M), ye(
3214
+ if (re(R)) {
3215
+ if (me = re(R), typeof me != "function") throw Error(l(150));
3216
+ return R = me.call(R), ye(
3217
3217
  N,
3218
- O,
3219
- M,
3218
+ C,
3219
+ R,
3220
3220
  Y
3221
3221
  );
3222
3222
  }
3223
- if (typeof M.then == "function")
3223
+ if (typeof R.then == "function")
3224
3224
  return Fe(
3225
3225
  N,
3226
- O,
3227
- pu(M),
3226
+ C,
3227
+ pu(R),
3228
3228
  Y
3229
3229
  );
3230
- if (M.$$typeof === w)
3230
+ if (R.$$typeof === w)
3231
3231
  return Fe(
3232
3232
  N,
3233
- O,
3234
- su(N, M),
3233
+ C,
3234
+ su(N, R),
3235
3235
  Y
3236
3236
  );
3237
- du(N, M);
3237
+ du(N, R);
3238
3238
  }
3239
- return typeof M == "string" && M !== "" || typeof M == "number" || typeof M == "bigint" ? (M = "" + M, O !== null && O.tag === 6 ? (a(N, O.sibling), Y = f(O, M), Y.return = N, N = Y) : (a(N, O), Y = gs(M, N.mode, Y), Y.return = N, N = Y), v(N)) : a(N, O);
3239
+ return typeof R == "string" && R !== "" || typeof R == "number" || typeof R == "bigint" ? (R = "" + R, C !== null && C.tag === 6 ? (a(N, C.sibling), Y = f(C, R), Y.return = N, N = Y) : (a(N, C), Y = gs(R, N.mode, Y), Y.return = N, N = Y), v(N)) : a(N, C);
3240
3240
  }
3241
- return function(N, O, M, Y) {
3241
+ return function(N, C, R, Y) {
3242
3242
  try {
3243
3243
  Ia = 0;
3244
- var de = Fe(
3244
+ var me = Fe(
3245
3245
  N,
3246
- O,
3247
- M,
3246
+ C,
3247
+ R,
3248
3248
  Y
3249
3249
  );
3250
- return Zi = null, de;
3250
+ return Zi = null, me;
3251
3251
  } catch (oe) {
3252
3252
  if (oe === Ui || oe === fu) throw oe;
3253
3253
  var Le = Wt(29, oe, null, N.mode);
@@ -3335,14 +3335,14 @@ Error generating stack: ` + u.message + `
3335
3335
  var p = f.firstBaseUpdate, v = f.lastBaseUpdate, S = f.shared.pending;
3336
3336
  if (S !== null) {
3337
3337
  f.shared.pending = null;
3338
- var k = S, R = k.next;
3339
- k.next = null, v === null ? p = R : v.next = R, v = k;
3338
+ var k = S, j = k.next;
3339
+ k.next = null, v === null ? p = j : v.next = j, v = k;
3340
3340
  var q = t.alternate;
3341
- q !== null && (q = q.updateQueue, S = q.lastBaseUpdate, S !== v && (S === null ? q.firstBaseUpdate = R : S.next = R, q.lastBaseUpdate = k));
3341
+ q !== null && (q = q.updateQueue, S = q.lastBaseUpdate, S !== v && (S === null ? q.firstBaseUpdate = j : S.next = j, q.lastBaseUpdate = k));
3342
3342
  }
3343
3343
  if (p !== null) {
3344
3344
  var G = f.baseState;
3345
- v = 0, q = R = k = null, S = p;
3345
+ v = 0, q = j = k = null, S = p;
3346
3346
  do {
3347
3347
  var U = S.lane & -536870913, I = U !== S.lane;
3348
3348
  if (I ? (De & U) === U : (u & U) === U) {
@@ -3383,14 +3383,14 @@ Error generating stack: ` + u.message + `
3383
3383
  payload: S.payload,
3384
3384
  callback: S.callback,
3385
3385
  next: null
3386
- }, q === null ? (R = q = I, k = G) : q = q.next = I, v |= U;
3386
+ }, q === null ? (j = q = I, k = G) : q = q.next = I, v |= U;
3387
3387
  if (S = S.next, S === null) {
3388
3388
  if (S = f.shared.pending, S === null)
3389
3389
  break;
3390
3390
  I = S, S = I.next, I.next = null, f.lastBaseUpdate = I, f.shared.pending = null;
3391
3391
  }
3392
3392
  } while (!0);
3393
- q === null && (k = G), f.baseState = k, f.firstBaseUpdate = R, f.lastBaseUpdate = q, p === null && (f.shared.lanes = 0), Sr |= v, t.lanes = v, t.memoizedState = G;
3393
+ q === null && (k = G), f.baseState = k, f.firstBaseUpdate = j, f.lastBaseUpdate = q, p === null && (f.shared.lanes = 0), Sr |= v, t.lanes = v, t.memoizedState = G;
3394
3394
  }
3395
3395
  }
3396
3396
  function Lp(t, r) {
@@ -3594,47 +3594,47 @@ Error generating stack: ` + u.message + `
3594
3594
  if (p = t.baseState, f === null) t.memoizedState = p;
3595
3595
  else {
3596
3596
  r = f.next;
3597
- var S = v = null, k = null, R = r, q = !1;
3597
+ var S = v = null, k = null, j = r, q = !1;
3598
3598
  do {
3599
- var G = R.lane & -536870913;
3600
- if (G !== R.lane ? (De & G) === G : (Jn & G) === G) {
3601
- var U = R.revertLane;
3599
+ var G = j.lane & -536870913;
3600
+ if (G !== j.lane ? (De & G) === G : (Jn & G) === G) {
3601
+ var U = j.revertLane;
3602
3602
  if (U === 0)
3603
3603
  k !== null && (k = k.next = {
3604
3604
  lane: 0,
3605
3605
  revertLane: 0,
3606
3606
  gesture: null,
3607
- action: R.action,
3608
- hasEagerState: R.hasEagerState,
3609
- eagerState: R.eagerState,
3607
+ action: j.action,
3608
+ hasEagerState: j.hasEagerState,
3609
+ eagerState: j.eagerState,
3610
3610
  next: null
3611
3611
  }), G === Ri && (q = !0);
3612
3612
  else if ((Jn & U) === U) {
3613
- R = R.next, U === Ri && (q = !0);
3613
+ j = j.next, U === Ri && (q = !0);
3614
3614
  continue;
3615
3615
  } else
3616
3616
  G = {
3617
3617
  lane: 0,
3618
- revertLane: R.revertLane,
3618
+ revertLane: j.revertLane,
3619
3619
  gesture: null,
3620
- action: R.action,
3621
- hasEagerState: R.hasEagerState,
3622
- eagerState: R.eagerState,
3620
+ action: j.action,
3621
+ hasEagerState: j.hasEagerState,
3622
+ eagerState: j.eagerState,
3623
3623
  next: null
3624
3624
  }, k === null ? (S = k = G, v = p) : k = k.next = G, Ee.lanes |= U, Sr |= U;
3625
- G = R.action, ti && a(p, G), p = R.hasEagerState ? R.eagerState : a(p, G);
3625
+ G = j.action, ti && a(p, G), p = j.hasEagerState ? j.eagerState : a(p, G);
3626
3626
  } else
3627
3627
  U = {
3628
3628
  lane: G,
3629
- revertLane: R.revertLane,
3630
- gesture: R.gesture,
3631
- action: R.action,
3632
- hasEagerState: R.hasEagerState,
3633
- eagerState: R.eagerState,
3629
+ revertLane: j.revertLane,
3630
+ gesture: j.gesture,
3631
+ action: j.action,
3632
+ hasEagerState: j.hasEagerState,
3633
+ eagerState: j.eagerState,
3634
3634
  next: null
3635
3635
  }, k === null ? (S = k = U, v = p) : k = k.next = U, Ee.lanes |= G, Sr |= G;
3636
- R = R.next;
3637
- } while (R !== null && R !== r);
3636
+ j = j.next;
3637
+ } while (j !== null && j !== r);
3638
3638
  if (k === null ? v = p : k.next = S, !Kt(p, t.memoizedState) && (yt = !0, q && (a = ji, a !== null)))
3639
3639
  throw a;
3640
3640
  t.memoizedState = p, t.baseState = v, t.baseQueue = k, u.lastRenderedState = p;
@@ -3765,16 +3765,16 @@ Error generating stack: ` + u.message + `
3765
3765
  try {
3766
3766
  var S = a(f, u), k = Z.S;
3767
3767
  k !== null && k(v, S), Kp(t, r, S);
3768
- } catch (R) {
3769
- Ys(t, r, R);
3768
+ } catch (j) {
3769
+ Ys(t, r, j);
3770
3770
  } finally {
3771
3771
  p !== null && v.types !== null && (p.types = v.types), Z.T = p;
3772
3772
  }
3773
3773
  } else
3774
3774
  try {
3775
3775
  p = a(f, u), Kp(t, r, p);
3776
- } catch (R) {
3777
- Ys(t, r, R);
3776
+ } catch (j) {
3777
+ Ys(t, r, j);
3778
3778
  }
3779
3779
  }
3780
3780
  function Kp(t, r, a) {
@@ -4015,8 +4015,8 @@ Error generating stack: ` + u.message + `
4015
4015
  var v = Z.T, S = {};
4016
4016
  Z.T = S, Ps(t, !1, r, a);
4017
4017
  try {
4018
- var k = f(), R = Z.S;
4019
- if (R !== null && R(S, k), k !== null && typeof k == "object" && typeof k.then == "function") {
4018
+ var k = f(), j = Z.S;
4019
+ if (j !== null && j(S, k), k !== null && typeof k == "object" && typeof k.then == "function") {
4020
4020
  var q = K1(
4021
4021
  k,
4022
4022
  u
@@ -4849,32 +4849,32 @@ Error generating stack: ` + u.message + `
4849
4849
  p = r.stateNode;
4850
4850
  var S = r.memoizedProps, k = ni(a, S);
4851
4851
  p.props = k;
4852
- var R = p.context, q = a.contextType;
4852
+ var j = p.context, q = a.contextType;
4853
4853
  v = Oi, typeof q == "object" && q !== null && (v = wt(q));
4854
4854
  var G = a.getDerivedStateFromProps;
4855
- q = typeof G == "function" || typeof p.getSnapshotBeforeUpdate == "function", S = r.pendingProps !== S, q || typeof p.UNSAFE_componentWillReceiveProps != "function" && typeof p.componentWillReceiveProps != "function" || (S || R !== v) && Td(
4855
+ q = typeof G == "function" || typeof p.getSnapshotBeforeUpdate == "function", S = r.pendingProps !== S, q || typeof p.UNSAFE_componentWillReceiveProps != "function" && typeof p.componentWillReceiveProps != "function" || (S || j !== v) && Td(
4856
4856
  r,
4857
4857
  p,
4858
4858
  u,
4859
4859
  v
4860
4860
  ), dr = !1;
4861
4861
  var U = r.memoizedState;
4862
- p.state = U, $a(r, u, p, f), qa(), R = r.memoizedState, S || U !== R || dr ? (typeof G == "function" && (Ws(
4862
+ p.state = U, $a(r, u, p, f), qa(), j = r.memoizedState, S || U !== j || dr ? (typeof G == "function" && (Ws(
4863
4863
  r,
4864
4864
  a,
4865
4865
  G,
4866
4866
  u
4867
- ), R = r.memoizedState), (k = dr || wd(
4867
+ ), j = r.memoizedState), (k = dr || wd(
4868
4868
  r,
4869
4869
  a,
4870
4870
  k,
4871
4871
  u,
4872
4872
  U,
4873
- R,
4873
+ j,
4874
4874
  v
4875
- )) ? (q || typeof p.UNSAFE_componentWillMount != "function" && typeof p.componentWillMount != "function" || (typeof p.componentWillMount == "function" && p.componentWillMount(), typeof p.UNSAFE_componentWillMount == "function" && p.UNSAFE_componentWillMount()), typeof p.componentDidMount == "function" && (r.flags |= 4194308)) : (typeof p.componentDidMount == "function" && (r.flags |= 4194308), r.memoizedProps = u, r.memoizedState = R), p.props = u, p.state = R, p.context = v, u = k) : (typeof p.componentDidMount == "function" && (r.flags |= 4194308), u = !1);
4875
+ )) ? (q || typeof p.UNSAFE_componentWillMount != "function" && typeof p.componentWillMount != "function" || (typeof p.componentWillMount == "function" && p.componentWillMount(), typeof p.UNSAFE_componentWillMount == "function" && p.UNSAFE_componentWillMount()), typeof p.componentDidMount == "function" && (r.flags |= 4194308)) : (typeof p.componentDidMount == "function" && (r.flags |= 4194308), r.memoizedProps = u, r.memoizedState = j), p.props = u, p.state = j, p.context = v, u = k) : (typeof p.componentDidMount == "function" && (r.flags |= 4194308), u = !1);
4876
4876
  } else {
4877
- p = r.stateNode, Cs(t, r), v = r.memoizedProps, q = ni(a, v), p.props = q, G = r.pendingProps, U = p.context, R = a.contextType, k = Oi, typeof R == "object" && R !== null && (k = wt(R)), S = a.getDerivedStateFromProps, (R = typeof S == "function" || typeof p.getSnapshotBeforeUpdate == "function") || typeof p.UNSAFE_componentWillReceiveProps != "function" && typeof p.componentWillReceiveProps != "function" || (v !== G || U !== k) && Td(
4877
+ p = r.stateNode, Cs(t, r), v = r.memoizedProps, q = ni(a, v), p.props = q, G = r.pendingProps, U = p.context, j = a.contextType, k = Oi, typeof j == "object" && j !== null && (k = wt(j)), S = a.getDerivedStateFromProps, (j = typeof S == "function" || typeof p.getSnapshotBeforeUpdate == "function") || typeof p.UNSAFE_componentWillReceiveProps != "function" && typeof p.componentWillReceiveProps != "function" || (v !== G || U !== k) && Td(
4878
4878
  r,
4879
4879
  p,
4880
4880
  u,
@@ -4894,7 +4894,7 @@ Error generating stack: ` + u.message + `
4894
4894
  U,
4895
4895
  I,
4896
4896
  k
4897
- ) || t !== null && t.dependencies !== null && ou(t.dependencies)) ? (R || typeof p.UNSAFE_componentWillUpdate != "function" && typeof p.componentWillUpdate != "function" || (typeof p.componentWillUpdate == "function" && p.componentWillUpdate(u, I, k), typeof p.UNSAFE_componentWillUpdate == "function" && p.UNSAFE_componentWillUpdate(
4897
+ ) || t !== null && t.dependencies !== null && ou(t.dependencies)) ? (j || typeof p.UNSAFE_componentWillUpdate != "function" && typeof p.componentWillUpdate != "function" || (typeof p.componentWillUpdate == "function" && p.componentWillUpdate(u, I, k), typeof p.UNSAFE_componentWillUpdate == "function" && p.UNSAFE_componentWillUpdate(
4898
4898
  u,
4899
4899
  I,
4900
4900
  k
@@ -4987,8 +4987,8 @@ Error generating stack: ` + u.message + `
4987
4987
  a
4988
4988
  ), r.memoizedState = ic, r = Fa(null, u));
4989
4989
  else if (yr(r), qc(S)) {
4990
- if (v = S.nextSibling && S.nextSibling.dataset, v) var R = v.dgst;
4991
- v = R, u = Error(l(419)), u.stack = "", u.digest = v, Ua({ value: u, source: null, stack: null }), r = oc(
4990
+ if (v = S.nextSibling && S.nextSibling.dataset, v) var j = v.dgst;
4991
+ v = j, u = Error(l(419)), u.stack = "", u.digest = v, Ua({ value: u, source: null, stack: null }), r = oc(
4992
4992
  t,
4993
4993
  r,
4994
4994
  a
@@ -5010,11 +5010,11 @@ Error generating stack: ` + u.message + `
5010
5010
  ), r.flags |= 4096);
5011
5011
  return r;
5012
5012
  }
5013
- return f ? (vr(), S = u.fallback, f = r.mode, k = t.child, R = k.sibling, u = Yn(k, {
5013
+ return f ? (vr(), S = u.fallback, f = r.mode, k = t.child, j = k.sibling, u = Yn(k, {
5014
5014
  mode: "hidden",
5015
5015
  children: u.children
5016
- }), u.subtreeFlags = k.subtreeFlags & 65011712, R !== null ? S = Yn(
5017
- R,
5016
+ }), u.subtreeFlags = k.subtreeFlags & 65011712, j !== null ? S = Yn(
5017
+ j,
5018
5018
  S
5019
5019
  ) : (S = Xr(
5020
5020
  S,
@@ -5255,7 +5255,7 @@ Error generating stack: ` + u.message + `
5255
5255
  else {
5256
5256
  if (t != null) {
5257
5257
  var f = t.$$typeof;
5258
- if (f === K) {
5258
+ if (f === J) {
5259
5259
  r.tag = 11, r = Rd(
5260
5260
  null,
5261
5261
  r,
@@ -5374,7 +5374,7 @@ Error generating stack: ` + u.message + `
5374
5374
  r.pendingProps,
5375
5375
  null
5376
5376
  )) ? r.memoizedState = a : Re || (a = r.type, t = r.pendingProps, u = Vu(
5377
- pe.current
5377
+ de.current
5378
5378
  ).createElement(a), u[zt] = r, u[Ht] = t, At(u, a, t), xt(u), r.stateNode = u) : r.memoizedState = rg(
5379
5379
  r.type,
5380
5380
  t.memoizedProps,
@@ -5385,7 +5385,7 @@ Error generating stack: ` + u.message + `
5385
5385
  return sn(r), t === null && Re && (u = r.stateNode = eg(
5386
5386
  r.type,
5387
5387
  r.pendingProps,
5388
- pe.current
5388
+ de.current
5389
5389
  ), kt = r, gn = !0, f = tt, wr(r.type) ? ($c = f, tt = vn(u.firstChild)) : tt = f), Tt(
5390
5390
  t,
5391
5391
  r,
@@ -5583,7 +5583,7 @@ Error generating stack: ` + u.message + `
5583
5583
  a
5584
5584
  )), null;
5585
5585
  case 27:
5586
- if (In(r), a = pe.current, f = r.type, t !== null && r.stateNode != null)
5586
+ if (In(r), a = de.current, f = r.type, t !== null && r.stateNode != null)
5587
5587
  t.memoizedProps !== u && Kn(r);
5588
5588
  else {
5589
5589
  if (!u) {
@@ -5607,7 +5607,7 @@ Error generating stack: ` + u.message + `
5607
5607
  wp(r);
5608
5608
  else {
5609
5609
  var v = Vu(
5610
- pe.current
5610
+ de.current
5611
5611
  );
5612
5612
  switch (p) {
5613
5613
  case 1:
@@ -5696,7 +5696,7 @@ Error generating stack: ` + u.message + `
5696
5696
  else {
5697
5697
  if (typeof u != "string" && r.stateNode === null)
5698
5698
  throw Error(l(166));
5699
- if (t = pe.current, Di(r)) {
5699
+ if (t = de.current, Di(r)) {
5700
5700
  if (t = r.stateNode, a = r.memoizedProps, u = null, f = kt, f !== null)
5701
5701
  switch (f.tag) {
5702
5702
  case 27:
@@ -5896,9 +5896,9 @@ Error generating stack: ` + u.message + `
5896
5896
  var v = u.inst, S = v.destroy;
5897
5897
  if (S !== void 0) {
5898
5898
  v.destroy = void 0, f = r;
5899
- var k = a, R = S;
5899
+ var k = a, j = S;
5900
5900
  try {
5901
- R();
5901
+ j();
5902
5902
  } catch (q) {
5903
5903
  $e(
5904
5904
  f,
@@ -6067,13 +6067,13 @@ Error generating stack: ` + u.message + `
6067
6067
  a = null;
6068
6068
  break e;
6069
6069
  }
6070
- var v = 0, S = -1, k = -1, R = 0, q = 0, G = t, U = null;
6070
+ var v = 0, S = -1, k = -1, j = 0, q = 0, G = t, U = null;
6071
6071
  t: for (; ; ) {
6072
6072
  for (var I; G !== a || f !== 0 && G.nodeType !== 3 || (S = v + f), G !== p || u !== 0 && G.nodeType !== 3 || (k = v + u), G.nodeType === 3 && (v += G.nodeValue.length), (I = G.firstChild) !== null; )
6073
6073
  U = G, G = I;
6074
6074
  for (; ; ) {
6075
6075
  if (G === t) break t;
6076
- if (U === a && ++R === f && (S = v), U === p && ++q === u && (k = v), (I = G.nextSibling) !== null) break;
6076
+ if (U === a && ++j === f && (S = v), U === p && ++q === u && (k = v), (I = G.nextSibling) !== null) break;
6077
6077
  G = U, U = G.parentNode;
6078
6078
  }
6079
6079
  G = I;
@@ -6581,8 +6581,8 @@ Error generating stack: ` + u.message + `
6581
6581
  break;
6582
6582
  case 22:
6583
6583
  f = t.memoizedState !== null;
6584
- var k = a !== null && a.memoizedState !== null, R = Wn, q = vt;
6585
- if (Wn = R || f, vt = q || k, Vt(r, t), vt = q, Wn = R, Yt(t), u & 8192)
6584
+ var k = a !== null && a.memoizedState !== null, j = Wn, q = vt;
6585
+ if (Wn = j || f, vt = q || k, Vt(r, t), vt = q, Wn = j, Yt(t), u & 8192)
6586
6586
  e: for (r = t.stateNode, r._visibility = f ? r._visibility & -2 : r._visibility | 1, f && (a === null || k || Wn || vt || ri(t)), a = null, r = t; ; ) {
6587
6587
  if (r.tag === 5 || r.tag === 26) {
6588
6588
  if (a === null) {
@@ -6667,10 +6667,10 @@ Error generating stack: ` + u.message + `
6667
6667
  break;
6668
6668
  case 3:
6669
6669
  case 4:
6670
- var k = a.stateNode.containerInfo, R = pc(t);
6670
+ var k = a.stateNode.containerInfo, j = pc(t);
6671
6671
  dc(
6672
6672
  t,
6673
- R,
6673
+ j,
6674
6674
  k
6675
6675
  );
6676
6676
  break;
@@ -6754,8 +6754,8 @@ Error generating stack: ` + u.message + `
6754
6754
  ), u = p, f = u.stateNode, typeof f.componentDidMount == "function")
6755
6755
  try {
6756
6756
  f.componentDidMount();
6757
- } catch (R) {
6758
- $e(u, u.return, R);
6757
+ } catch (j) {
6758
+ $e(u, u.return, j);
6759
6759
  }
6760
6760
  if (u = p, f = u.updateQueue, f !== null) {
6761
6761
  var S = u.stateNode;
@@ -6764,8 +6764,8 @@ Error generating stack: ` + u.message + `
6764
6764
  if (k !== null)
6765
6765
  for (f.shared.hiddenCallbacks = null, f = 0; f < k.length; f++)
6766
6766
  Lp(k[f], S);
6767
- } catch (R) {
6768
- $e(u, u.return, R);
6767
+ } catch (j) {
6768
+ $e(u, u.return, j);
6769
6769
  }
6770
6770
  }
6771
6771
  a && v & 64 && Jd(p), Pa(p, p.return);
@@ -6949,7 +6949,7 @@ Error generating stack: ` + u.message + `
6949
6949
  }
6950
6950
  function qi(t, r, a, u, f) {
6951
6951
  for (f = f && ((r.subtreeFlags & 10256) !== 0 || !1), r = r.child; r !== null; ) {
6952
- var p = t, v = r, S = a, k = u, R = v.flags;
6952
+ var p = t, v = r, S = a, k = u, j = v.flags;
6953
6953
  switch (v.tag) {
6954
6954
  case 0:
6955
6955
  case 11:
@@ -6981,7 +6981,7 @@ Error generating stack: ` + u.message + `
6981
6981
  S,
6982
6982
  k,
6983
6983
  f
6984
- )), f && R & 2048 && gc(
6984
+ )), f && j & 2048 && gc(
6985
6985
  v.alternate,
6986
6986
  v
6987
6987
  );
@@ -6993,7 +6993,7 @@ Error generating stack: ` + u.message + `
6993
6993
  S,
6994
6994
  k,
6995
6995
  f
6996
- ), f && R & 2048 && yc(v.alternate, v);
6996
+ ), f && j & 2048 && yc(v.alternate, v);
6997
6997
  break;
6998
6998
  default:
6999
6999
  qi(
@@ -7352,7 +7352,7 @@ Error generating stack: ` + u.message + `
7352
7352
  } while (!0);
7353
7353
  Mn(t);
7354
7354
  }
7355
- function ym(t, r, a, u, f, p, v, S, k, R, q, G, U, I) {
7355
+ function ym(t, r, a, u, f, p, v, S, k, j, q, G, U, I) {
7356
7356
  if (t.timeoutHandle = -1, G = r.subtreeFlags, G & 8192 || (G & 16785408) === 16785408) {
7357
7357
  G = {
7358
7358
  stylesheets: null,
@@ -7391,7 +7391,7 @@ Error generating stack: ` + u.message + `
7391
7391
  U,
7392
7392
  I
7393
7393
  )
7394
- ), zr(t, p, v, !R);
7394
+ ), zr(t, p, v, !j);
7395
7395
  return;
7396
7396
  }
7397
7397
  }
@@ -7511,14 +7511,14 @@ Error generating stack: ` + u.message + `
7511
7511
  case 9:
7512
7512
  case 6:
7513
7513
  en.current === null && (r = !0);
7514
- var R = qe;
7515
- if (qe = 0, nn = null, Fi(t, S, k, R), a && Vi) {
7514
+ var j = qe;
7515
+ if (qe = 0, nn = null, Fi(t, S, k, j), a && Vi) {
7516
7516
  v = 0;
7517
7517
  break e;
7518
7518
  }
7519
7519
  break;
7520
7520
  default:
7521
- R = qe, qe = 0, nn = null, Fi(t, S, k, R);
7521
+ j = qe, qe = 0, nn = null, Fi(t, S, k, j);
7522
7522
  }
7523
7523
  }
7524
7524
  y_(), v = ht;
@@ -7581,8 +7581,8 @@ Error generating stack: ` + u.message + `
7581
7581
  var k = S.sibling;
7582
7582
  if (k !== null) Ae = k;
7583
7583
  else {
7584
- var R = S.return;
7585
- R !== null ? (Ae = R, Lu(R)) : Ae = null;
7584
+ var j = S.return;
7585
+ j !== null ? (Ae = j, Lu(j)) : Ae = null;
7586
7586
  }
7587
7587
  break t;
7588
7588
  }
@@ -7762,9 +7762,9 @@ Error generating stack: ` + u.message + `
7762
7762
  S
7763
7763
  )) {
7764
7764
  if (k !== null && os(S)) {
7765
- var R = k.start, q = k.end;
7766
- if (q === void 0 && (q = R), "selectionStart" in S)
7767
- S.selectionStart = R, S.selectionEnd = Math.min(
7765
+ var j = k.start, q = k.end;
7766
+ if (q === void 0 && (q = j), "selectionStart" in S)
7767
+ S.selectionStart = j, S.selectionEnd = Math.min(
7768
7768
  q,
7769
7769
  S.value.length
7770
7770
  );
@@ -7776,13 +7776,13 @@ Error generating stack: ` + u.message + `
7776
7776
  var N = cp(
7777
7777
  S,
7778
7778
  ye
7779
- ), O = cp(
7779
+ ), C = cp(
7780
7780
  S,
7781
7781
  Fe
7782
7782
  );
7783
- if (N && O && (I.rangeCount !== 1 || I.anchorNode !== N.node || I.anchorOffset !== N.offset || I.focusNode !== O.node || I.focusOffset !== O.offset)) {
7784
- var M = G.createRange();
7785
- M.setStart(N.node, N.offset), I.removeAllRanges(), ye > Fe ? (I.addRange(M), I.extend(O.node, O.offset)) : (M.setEnd(O.node, O.offset), I.addRange(M));
7783
+ if (N && C && (I.rangeCount !== 1 || I.anchorNode !== N.node || I.anchorOffset !== N.offset || I.focusNode !== C.node || I.focusOffset !== C.offset)) {
7784
+ var R = G.createRange();
7785
+ R.setStart(N.node, N.offset), I.removeAllRanges(), ye > Fe ? (I.addRange(R), I.extend(C.node, C.offset)) : (R.setEnd(C.node, C.offset), I.addRange(R));
7786
7786
  }
7787
7787
  }
7788
7788
  }
@@ -8170,10 +8170,10 @@ Error generating stack: ` + u.message + `
8170
8170
  var p = void 0;
8171
8171
  if (r)
8172
8172
  for (var v = u.length - 1; 0 <= v; v--) {
8173
- var S = u[v], k = S.instance, R = S.currentTarget;
8173
+ var S = u[v], k = S.instance, j = S.currentTarget;
8174
8174
  if (S = S.listener, k !== p && f.isPropagationStopped())
8175
8175
  break e;
8176
- p = S, f.currentTarget = R;
8176
+ p = S, f.currentTarget = j;
8177
8177
  try {
8178
8178
  p(f);
8179
8179
  } catch (q) {
@@ -8183,9 +8183,9 @@ Error generating stack: ` + u.message + `
8183
8183
  }
8184
8184
  else
8185
8185
  for (v = 0; v < u.length; v++) {
8186
- if (S = u[v], k = S.instance, R = S.currentTarget, S = S.listener, k !== p && f.isPropagationStopped())
8186
+ if (S = u[v], k = S.instance, j = S.currentTarget, S = S.listener, k !== p && f.isPropagationStopped())
8187
8187
  break e;
8188
- p = S, f.currentTarget = R;
8188
+ p = S, f.currentTarget = j;
8189
8189
  try {
8190
8190
  p(f);
8191
8191
  } catch (q) {
@@ -8272,7 +8272,7 @@ Error generating stack: ` + u.message + `
8272
8272
  u = u.return;
8273
8273
  }
8274
8274
  Yh(function() {
8275
- var R = p, q = Po(a), G = [];
8275
+ var j = p, q = Po(a), G = [];
8276
8276
  e: {
8277
8277
  var U = bp.get(t);
8278
8278
  if (U !== void 0) {
@@ -8358,12 +8358,12 @@ Error generating stack: ` + u.message + `
8358
8358
  }
8359
8359
  var ye = (r & 4) !== 0, Fe = !ye && (t === "scroll" || t === "scrollend"), N = ye ? U !== null ? U + "Capture" : null : U;
8360
8360
  ye = [];
8361
- for (var O = R, M; O !== null; ) {
8362
- var Y = O;
8363
- if (M = Y.stateNode, Y = Y.tag, Y !== 5 && Y !== 26 && Y !== 27 || M === null || N === null || (Y = wa(O, N), Y != null && ye.push(
8364
- al(O, Y, M)
8361
+ for (var C = j, R; C !== null; ) {
8362
+ var Y = C;
8363
+ if (R = Y.stateNode, Y = Y.tag, Y !== 5 && Y !== 26 && Y !== 27 || R === null || N === null || (Y = wa(C, N), Y != null && ye.push(
8364
+ al(C, Y, R)
8365
8365
  )), Fe) break;
8366
- O = O.return;
8366
+ C = C.return;
8367
8367
  }
8368
8368
  0 < ye.length && (U = new I(
8369
8369
  U,
@@ -8378,36 +8378,36 @@ Error generating stack: ` + u.message + `
8378
8378
  e: {
8379
8379
  if (U = t === "mouseover" || t === "pointerover", I = t === "mouseout" || t === "pointerout", U && a !== Qo && (ue = a.relatedTarget || a.fromElement) && (yi(ue) || ue[gi]))
8380
8380
  break e;
8381
- if ((I || U) && (U = q.window === q ? q : (U = q.ownerDocument) ? U.defaultView || U.parentWindow : window, I ? (ue = a.relatedTarget || a.toElement, I = R, ue = ue ? yi(ue) : null, ue !== null && (Fe = s(ue), ye = ue.tag, ue !== Fe || ye !== 5 && ye !== 27 && ye !== 6) && (ue = null)) : (I = null, ue = R), I !== ue)) {
8382
- if (ye = Fh, Y = "onMouseLeave", N = "onMouseEnter", O = "mouse", (t === "pointerout" || t === "pointerover") && (ye = Qh, Y = "onPointerLeave", N = "onPointerEnter", O = "pointer"), Fe = I == null ? U : ka(I), M = ue == null ? U : ka(ue), U = new ye(
8381
+ if ((I || U) && (U = q.window === q ? q : (U = q.ownerDocument) ? U.defaultView || U.parentWindow : window, I ? (ue = a.relatedTarget || a.toElement, I = j, ue = ue ? yi(ue) : null, ue !== null && (Fe = s(ue), ye = ue.tag, ue !== Fe || ye !== 5 && ye !== 27 && ye !== 6) && (ue = null)) : (I = null, ue = j), I !== ue)) {
8382
+ if (ye = Fh, Y = "onMouseLeave", N = "onMouseEnter", C = "mouse", (t === "pointerout" || t === "pointerover") && (ye = Qh, Y = "onPointerLeave", N = "onPointerEnter", C = "pointer"), Fe = I == null ? U : ka(I), R = ue == null ? U : ka(ue), U = new ye(
8383
8383
  Y,
8384
- O + "leave",
8384
+ C + "leave",
8385
8385
  I,
8386
8386
  a,
8387
8387
  q
8388
- ), U.target = Fe, U.relatedTarget = M, Y = null, yi(q) === R && (ye = new ye(
8388
+ ), U.target = Fe, U.relatedTarget = R, Y = null, yi(q) === j && (ye = new ye(
8389
8389
  N,
8390
- O + "enter",
8390
+ C + "enter",
8391
8391
  ue,
8392
8392
  a,
8393
8393
  q
8394
- ), ye.target = M, ye.relatedTarget = Fe, Y = ye), Fe = Y, I && ue)
8394
+ ), ye.target = R, ye.relatedTarget = Fe, Y = ye), Fe = Y, I && ue)
8395
8395
  t: {
8396
- for (ye = C_, N = I, O = ue, M = 0, Y = N; Y; Y = ye(Y))
8397
- M++;
8396
+ for (ye = C_, N = I, C = ue, R = 0, Y = N; Y; Y = ye(Y))
8397
+ R++;
8398
8398
  Y = 0;
8399
- for (var de = O; de; de = ye(de))
8399
+ for (var me = C; me; me = ye(me))
8400
8400
  Y++;
8401
- for (; 0 < M - Y; )
8402
- N = ye(N), M--;
8403
- for (; 0 < Y - M; )
8404
- O = ye(O), Y--;
8405
- for (; M--; ) {
8406
- if (N === O || O !== null && N === O.alternate) {
8401
+ for (; 0 < R - Y; )
8402
+ N = ye(N), R--;
8403
+ for (; 0 < Y - R; )
8404
+ C = ye(C), Y--;
8405
+ for (; R--; ) {
8406
+ if (N === C || C !== null && N === C.alternate) {
8407
8407
  ye = N;
8408
8408
  break t;
8409
8409
  }
8410
- N = ye(N), O = ye(O);
8410
+ N = ye(N), C = ye(C);
8411
8411
  }
8412
8412
  ye = null;
8413
8413
  }
@@ -8428,7 +8428,7 @@ Error generating stack: ` + u.message + `
8428
8428
  }
8429
8429
  }
8430
8430
  e: {
8431
- if (U = R ? ka(R) : window, I = U.nodeName && U.nodeName.toLowerCase(), I === "select" || I === "input" && U.type === "file")
8431
+ if (U = j ? ka(j) : window, I = U.nodeName && U.nodeName.toLowerCase(), I === "select" || I === "input" && U.type === "file")
8432
8432
  var Le = ip;
8433
8433
  else if (np(U))
8434
8434
  if (ap)
@@ -8438,8 +8438,8 @@ Error generating stack: ` + u.message + `
8438
8438
  var oe = L1;
8439
8439
  }
8440
8440
  else
8441
- I = U.nodeName, !I || I.toLowerCase() !== "input" || U.type !== "checkbox" && U.type !== "radio" ? R && Jo(R.elementType) && (Le = ip) : Le = B1;
8442
- if (Le && (Le = Le(t, R))) {
8441
+ I = U.nodeName, !I || I.toLowerCase() !== "input" || U.type !== "checkbox" && U.type !== "radio" ? j && Jo(j.elementType) && (Le = ip) : Le = B1;
8442
+ if (Le && (Le = Le(t, j))) {
8443
8443
  rp(
8444
8444
  G,
8445
8445
  Le,
@@ -8448,11 +8448,11 @@ Error generating stack: ` + u.message + `
8448
8448
  );
8449
8449
  break e;
8450
8450
  }
8451
- oe && oe(t, U, R), t === "focusout" && R && U.type === "number" && R.memoizedProps.value != null && Fo(U, "number", U.value);
8451
+ oe && oe(t, U, j), t === "focusout" && j && U.type === "number" && j.memoizedProps.value != null && Fo(U, "number", U.value);
8452
8452
  }
8453
- switch (oe = R ? ka(R) : window, t) {
8453
+ switch (oe = j ? ka(j) : window, t) {
8454
8454
  case "focusin":
8455
- (np(oe) || oe.contentEditable === "true") && (wi = oe, ss = R, Ra = null);
8455
+ (np(oe) || oe.contentEditable === "true") && (wi = oe, ss = j, Ra = null);
8456
8456
  break;
8457
8457
  case "focusout":
8458
8458
  Ra = ss = wi = null;
@@ -8489,13 +8489,13 @@ Error generating stack: ` + u.message + `
8489
8489
  }
8490
8490
  else
8491
8491
  ki ? ep(t, a) && (Me = "onCompositionEnd") : t === "keydown" && a.keyCode === 229 && (Me = "onCompositionStart");
8492
- Me && (Ph && a.locale !== "ko" && (ki || Me !== "onCompositionStart" ? Me === "onCompositionEnd" && ki && (ze = Gh()) : (sr = q, es = "value" in sr ? sr.value : sr.textContent, ki = !0)), oe = $u(R, Me), 0 < oe.length && (Me = new Jh(
8492
+ Me && (Ph && a.locale !== "ko" && (ki || Me !== "onCompositionStart" ? Me === "onCompositionEnd" && ki && (ze = Gh()) : (sr = q, es = "value" in sr ? sr.value : sr.textContent, ki = !0)), oe = $u(j, Me), 0 < oe.length && (Me = new Jh(
8493
8493
  Me,
8494
8494
  t,
8495
8495
  null,
8496
8496
  a,
8497
8497
  q
8498
- ), G.push({ event: Me, listeners: oe }), ze ? Me.data = ze : (ze = tp(a), ze !== null && (Me.data = ze)))), (ze = M1 ? R1(t, a) : j1(t, a)) && (Me = $u(R, "onBeforeInput"), 0 < Me.length && (oe = new Jh(
8498
+ ), G.push({ event: Me, listeners: oe }), ze ? Me.data = ze : (ze = tp(a), ze !== null && (Me.data = ze)))), (ze = M1 ? R1(t, a) : j1(t, a)) && (Me = $u(j, "onBeforeInput"), 0 < Me.length && (oe = new Jh(
8499
8499
  "onBeforeInput",
8500
8500
  "beforeinput",
8501
8501
  null,
@@ -8507,7 +8507,7 @@ Error generating stack: ` + u.message + `
8507
8507
  }), oe.data = ze)), w_(
8508
8508
  G,
8509
8509
  t,
8510
- R,
8510
+ j,
8511
8511
  a,
8512
8512
  q
8513
8513
  );
@@ -8543,12 +8543,12 @@ Error generating stack: ` + u.message + `
8543
8543
  }
8544
8544
  function Hm(t, r, a, u, f) {
8545
8545
  for (var p = r._reactName, v = []; a !== null && a !== u; ) {
8546
- var S = a, k = S.alternate, R = S.stateNode;
8546
+ var S = a, k = S.alternate, j = S.stateNode;
8547
8547
  if (S = S.tag, k !== null && k === u) break;
8548
- S !== 5 && S !== 26 && S !== 27 || R === null || (k = R, f ? (R = wa(a, p), R != null && v.unshift(
8549
- al(a, R, k)
8550
- )) : f || (R = wa(a, p), R != null && v.push(
8551
- al(a, R, k)
8548
+ S !== 5 && S !== 26 && S !== 27 || j === null || (k = j, f ? (j = wa(a, p), j != null && v.unshift(
8549
+ al(a, j, k)
8550
+ )) : f || (j = wa(a, p), j != null && v.push(
8551
+ al(a, j, k)
8552
8552
  ))), a = a.return;
8553
8553
  }
8554
8554
  v.length !== 0 && t.push({ event: r, listeners: v });
@@ -8897,7 +8897,7 @@ Error generating stack: ` + u.message + `
8897
8897
  return;
8898
8898
  case "input":
8899
8899
  Oe("invalid", t);
8900
- var S = p = v = f = null, k = null, R = null;
8900
+ var S = p = v = f = null, k = null, j = null;
8901
8901
  for (u in a)
8902
8902
  if (a.hasOwnProperty(u)) {
8903
8903
  var q = a[u];
@@ -8913,7 +8913,7 @@ Error generating stack: ` + u.message + `
8913
8913
  k = q;
8914
8914
  break;
8915
8915
  case "defaultChecked":
8916
- R = q;
8916
+ j = q;
8917
8917
  break;
8918
8918
  case "value":
8919
8919
  p = q;
@@ -8935,7 +8935,7 @@ Error generating stack: ` + u.message + `
8935
8935
  p,
8936
8936
  S,
8937
8937
  k,
8938
- R,
8938
+ j,
8939
8939
  v,
8940
8940
  f,
8941
8941
  !1
@@ -9025,14 +9025,14 @@ Error generating stack: ` + u.message + `
9025
9025
  case "track":
9026
9026
  case "wbr":
9027
9027
  case "menuitem":
9028
- for (R in a)
9029
- if (a.hasOwnProperty(R) && (u = a[R], u != null))
9030
- switch (R) {
9028
+ for (j in a)
9029
+ if (a.hasOwnProperty(j) && (u = a[j], u != null))
9030
+ switch (j) {
9031
9031
  case "children":
9032
9032
  case "dangerouslySetInnerHTML":
9033
9033
  throw Error(l(137, r));
9034
9034
  default:
9035
- Xe(t, r, R, u, a, null);
9035
+ Xe(t, r, j, u, a, null);
9036
9036
  }
9037
9037
  return;
9038
9038
  default:
@@ -9064,7 +9064,7 @@ Error generating stack: ` + u.message + `
9064
9064
  case "li":
9065
9065
  break;
9066
9066
  case "input":
9067
- var f = null, p = null, v = null, S = null, k = null, R = null, q = null;
9067
+ var f = null, p = null, v = null, S = null, k = null, j = null, q = null;
9068
9068
  for (I in a) {
9069
9069
  var G = a[I];
9070
9070
  if (a.hasOwnProperty(I) && G != null)
@@ -9090,7 +9090,7 @@ Error generating stack: ` + u.message + `
9090
9090
  f = I;
9091
9091
  break;
9092
9092
  case "checked":
9093
- R = I;
9093
+ j = I;
9094
9094
  break;
9095
9095
  case "defaultChecked":
9096
9096
  q = I;
@@ -9122,7 +9122,7 @@ Error generating stack: ` + u.message + `
9122
9122
  v,
9123
9123
  S,
9124
9124
  k,
9125
- R,
9125
+ j,
9126
9126
  q,
9127
9127
  p,
9128
9128
  f
@@ -9252,9 +9252,9 @@ Error generating stack: ` + u.message + `
9252
9252
  case "menuitem":
9253
9253
  for (var ye in a)
9254
9254
  U = a[ye], a.hasOwnProperty(ye) && U != null && !u.hasOwnProperty(ye) && Xe(t, r, ye, null, u, U);
9255
- for (R in u)
9256
- if (U = u[R], I = a[R], u.hasOwnProperty(R) && U !== I && (U != null || I != null))
9257
- switch (R) {
9255
+ for (j in u)
9256
+ if (U = u[j], I = a[j], u.hasOwnProperty(j) && U !== I && (U != null || I != null))
9257
+ switch (j) {
9258
9258
  case "children":
9259
9259
  case "dangerouslySetInnerHTML":
9260
9260
  if (U != null)
@@ -9264,7 +9264,7 @@ Error generating stack: ` + u.message + `
9264
9264
  Xe(
9265
9265
  t,
9266
9266
  r,
9267
- R,
9267
+ j,
9268
9268
  U,
9269
9269
  u,
9270
9270
  I
@@ -9319,10 +9319,10 @@ Error generating stack: ` + u.message + `
9319
9319
  var f = a[u], p = f.transferSize, v = f.initiatorType, S = f.duration;
9320
9320
  if (p && S && Vm(v)) {
9321
9321
  for (v = 0, S = f.responseEnd, u += 1; u < a.length; u++) {
9322
- var k = a[u], R = k.startTime;
9323
- if (R > S) break;
9322
+ var k = a[u], j = k.startTime;
9323
+ if (j > S) break;
9324
9324
  var q = k.transferSize, G = k.initiatorType;
9325
- q && Vm(G) && (k = k.responseEnd, v += q * (k < S ? 1 : (S - R) / (k - R)));
9325
+ q && Vm(G) && (k = k.responseEnd, v += q * (k < S ? 1 : (S - j) / (k - j)));
9326
9326
  }
9327
9327
  if (--u, r += 8 * (p + v) / (f.duration / 1e3), t++, 10 < t) break;
9328
9328
  }
@@ -9679,8 +9679,8 @@ Error generating stack: ` + u.message + `
9679
9679
  a
9680
9680
  ), (a = bn.get(p)) && Vc(t, a);
9681
9681
  var k = v = u.createElement("link");
9682
- xt(k), At(k, "link", t), k._p = new Promise(function(R, q) {
9683
- k.onload = R, k.onerror = q;
9682
+ xt(k), At(k, "link", t), k._p = new Promise(function(j, q) {
9683
+ k.onload = j, k.onerror = q;
9684
9684
  }), k.addEventListener("load", function() {
9685
9685
  S.loading |= 1;
9686
9686
  }), k.addEventListener("error", function() {
@@ -9723,7 +9723,7 @@ Error generating stack: ` + u.message + `
9723
9723
  }
9724
9724
  }
9725
9725
  function rg(t, r, a, u) {
9726
- var f = (f = pe.current) ? Yu(f) : null;
9726
+ var f = (f = de.current) ? Yu(f) : null;
9727
9727
  if (!f) throw Error(l(446));
9728
9728
  switch (t) {
9729
9729
  case "meta":
@@ -10006,14 +10006,14 @@ Error generating stack: ` + u.message + `
10006
10006
  function nS(t, r, a, u, f, p, v, S, k) {
10007
10007
  this.tag = 1, this.containerInfo = t, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = Ho(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Ho(0), this.hiddenUpdates = Ho(null), this.identifierPrefix = u, this.onUncaughtError = f, this.onCaughtError = p, this.onRecoverableError = v, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = k, this.incompleteTransitions = /* @__PURE__ */ new Map();
10008
10008
  }
10009
- function sg(t, r, a, u, f, p, v, S, k, R, q, G) {
10009
+ function sg(t, r, a, u, f, p, v, S, k, j, q, G) {
10010
10010
  return t = new nS(
10011
10011
  t,
10012
10012
  r,
10013
10013
  a,
10014
10014
  v,
10015
10015
  k,
10016
- R,
10016
+ j,
10017
10017
  q,
10018
10018
  G,
10019
10019
  S
@@ -11902,7 +11902,7 @@ const hE = /* @__PURE__ */ $("$ZodObject", (e, n) => {
11902
11902
  const y = [], g = c.shape;
11903
11903
  for (const _ of c.keys) {
11904
11904
  const b = g[_], E = b._zod.optout === "optional", T = b._zod.run({ value: d[_], issues: [] }, m);
11905
- T instanceof Promise ? y.push(T.then((j) => mo(j, h, _, d, E))) : mo(T, h, _, d, E);
11905
+ T instanceof Promise ? y.push(T.then((M) => mo(M, h, _, d, E))) : mo(T, h, _, d, E);
11906
11906
  }
11907
11907
  return s ? Hv(y, d, h, m, l.value, e) : y.length ? Promise.all(y).then(() => h) : h;
11908
11908
  };
@@ -11910,57 +11910,57 @@ const hE = /* @__PURE__ */ $("$ZodObject", (e, n) => {
11910
11910
  hE.init(e, n);
11911
11911
  const i = e._zod.parse, l = Ao(() => Bv(n)), o = (_) => {
11912
11912
  var w;
11913
- const b = new Mx(["shape", "payload", "ctx"]), E = l.value, T = (K) => {
11914
- const J = qg(K);
11915
- return `shape[${J}]._zod.run({ value: input[${J}], issues: [] }, ctx)`;
11913
+ const b = new Mx(["shape", "payload", "ctx"]), E = l.value, T = (J) => {
11914
+ const K = qg(J);
11915
+ return `shape[${K}]._zod.run({ value: input[${K}], issues: [] }, ctx)`;
11916
11916
  };
11917
11917
  b.write("const input = payload.value;");
11918
- const j = /* @__PURE__ */ Object.create(null);
11919
- let C = 0;
11920
- for (const K of E.keys)
11921
- j[K] = `key_${C++}`;
11918
+ const M = /* @__PURE__ */ Object.create(null);
11919
+ let O = 0;
11920
+ for (const J of E.keys)
11921
+ M[J] = `key_${O++}`;
11922
11922
  b.write("const newResult = {};");
11923
- for (const K of E.keys) {
11924
- const J = j[K], D = qg(K), X = _[K], ce = ((w = X == null ? void 0 : X._zod) == null ? void 0 : w.optout) === "optional";
11925
- b.write(`const ${J} = ${T(K)};`), ce ? b.write(`
11926
- if (${J}.issues.length) {
11923
+ for (const J of E.keys) {
11924
+ const K = M[J], D = qg(J), X = _[J], ce = ((w = X == null ? void 0 : X._zod) == null ? void 0 : w.optout) === "optional";
11925
+ b.write(`const ${K} = ${T(J)};`), ce ? b.write(`
11926
+ if (${K}.issues.length) {
11927
11927
  if (${D} in input) {
11928
- payload.issues = payload.issues.concat(${J}.issues.map(iss => ({
11928
+ payload.issues = payload.issues.concat(${K}.issues.map(iss => ({
11929
11929
  ...iss,
11930
11930
  path: iss.path ? [${D}, ...iss.path] : [${D}]
11931
11931
  })));
11932
11932
  }
11933
11933
  }
11934
11934
 
11935
- if (${J}.value === undefined) {
11935
+ if (${K}.value === undefined) {
11936
11936
  if (${D} in input) {
11937
11937
  newResult[${D}] = undefined;
11938
11938
  }
11939
11939
  } else {
11940
- newResult[${D}] = ${J}.value;
11940
+ newResult[${D}] = ${K}.value;
11941
11941
  }
11942
11942
 
11943
11943
  `) : b.write(`
11944
- if (${J}.issues.length) {
11945
- payload.issues = payload.issues.concat(${J}.issues.map(iss => ({
11944
+ if (${K}.issues.length) {
11945
+ payload.issues = payload.issues.concat(${K}.issues.map(iss => ({
11946
11946
  ...iss,
11947
11947
  path: iss.path ? [${D}, ...iss.path] : [${D}]
11948
11948
  })));
11949
11949
  }
11950
11950
 
11951
- if (${J}.value === undefined) {
11951
+ if (${K}.value === undefined) {
11952
11952
  if (${D} in input) {
11953
11953
  newResult[${D}] = undefined;
11954
11954
  }
11955
11955
  } else {
11956
- newResult[${D}] = ${J}.value;
11956
+ newResult[${D}] = ${K}.value;
11957
11957
  }
11958
11958
 
11959
11959
  `);
11960
11960
  }
11961
11961
  b.write("payload.value = newResult;"), b.write("return payload;");
11962
11962
  const B = b.compile();
11963
- return (K, J) => B(_, K, J);
11963
+ return (J, K) => B(_, J, K);
11964
11964
  };
11965
11965
  let s;
11966
11966
  const c = wl, h = !zv.jitless, d = h && wS.value, y = n.catchall;
@@ -12990,11 +12990,11 @@ function vo(e, n) {
12990
12990
  var T;
12991
12991
  const g = e.target === "draft-2020-12" ? "$defs" : "definitions";
12992
12992
  if (e.external) {
12993
- const j = (T = e.external.registry.get(y[0])) == null ? void 0 : T.id, C = e.external.uri ?? ((w) => w);
12994
- if (j)
12995
- return { ref: C(j) };
12993
+ const M = (T = e.external.registry.get(y[0])) == null ? void 0 : T.id, O = e.external.uri ?? ((w) => w);
12994
+ if (M)
12995
+ return { ref: O(M) };
12996
12996
  const B = y[1].defId ?? y[1].schema.id ?? `schema${e.counter++}`;
12997
- return y[1].defId = B, { defId: B, ref: `${C("__shared")}#/${g}/${B}` };
12997
+ return y[1].defId = B, { defId: B, ref: `${O("__shared")}#/${g}/${B}` };
12998
12998
  }
12999
12999
  if (y[1] === i)
13000
13000
  return { ref: "#" };
@@ -13057,11 +13057,11 @@ function bo(e, n) {
13057
13057
  const g = y.def ?? y.schema, _ = { ...g }, b = y.ref;
13058
13058
  if (y.ref = null, b) {
13059
13059
  l(b);
13060
- const T = e.seen.get(b), j = T.schema;
13061
- if (j.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (g.allOf = g.allOf ?? [], g.allOf.push(j)) : Object.assign(g, j), Object.assign(g, _), d._zod.parent === b)
13060
+ const T = e.seen.get(b), M = T.schema;
13061
+ if (M.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (g.allOf = g.allOf ?? [], g.allOf.push(M)) : Object.assign(g, M), Object.assign(g, _), d._zod.parent === b)
13062
13062
  for (const B in g)
13063
13063
  B === "$ref" || B === "allOf" || B in _ || delete g[B];
13064
- if (j.$ref && T.def)
13064
+ if (M.$ref && T.def)
13065
13065
  for (const B in g)
13066
13066
  B === "$ref" || B === "allOf" || B in T.def && JSON.stringify(g[B]) === JSON.stringify(T.def[B]) && delete g[B];
13067
13067
  }
@@ -13070,8 +13070,8 @@ function bo(e, n) {
13070
13070
  l(E);
13071
13071
  const T = e.seen.get(E);
13072
13072
  if (T != null && T.schema.$ref && (g.$ref = T.schema.$ref, T.def))
13073
- for (const j in g)
13074
- j === "$ref" || j === "allOf" || j in T.def && JSON.stringify(g[j]) === JSON.stringify(T.def[j]) && delete g[j];
13073
+ for (const M in g)
13074
+ M === "$ref" || M === "allOf" || M in T.def && JSON.stringify(g[M]) === JSON.stringify(T.def[M]) && delete g[M];
13075
13075
  }
13076
13076
  e.override({
13077
13077
  zodSchema: d,
@@ -14076,8 +14076,8 @@ function uw(e) {
14076
14076
  const { onEvent: n = of, onError: i = of, onRetry: l = of, onComment: o } = e;
14077
14077
  let s = "", c = !0, h, m = "", d = "";
14078
14078
  function y(T) {
14079
- const j = c ? T.replace(/^\xEF\xBB\xBF/, "") : T, [C, B] = ow(`${s}${j}`);
14080
- for (const w of C)
14079
+ const M = c ? T.replace(/^\xEF\xBB\xBF/, "") : T, [O, B] = ow(`${s}${M}`);
14080
+ for (const w of O)
14081
14081
  g(w);
14082
14082
  s = B, c = !1;
14083
14083
  }
@@ -14090,32 +14090,32 @@ function uw(e) {
14090
14090
  o && o(T.slice(T.startsWith(": ") ? 2 : 1));
14091
14091
  return;
14092
14092
  }
14093
- const j = T.indexOf(":");
14094
- if (j !== -1) {
14095
- const C = T.slice(0, j), B = T[j + 1] === " " ? 2 : 1, w = T.slice(j + B);
14096
- _(C, w, T);
14093
+ const M = T.indexOf(":");
14094
+ if (M !== -1) {
14095
+ const O = T.slice(0, M), B = T[M + 1] === " " ? 2 : 1, w = T.slice(M + B);
14096
+ _(O, w, T);
14097
14097
  return;
14098
14098
  }
14099
14099
  _(T, "", T);
14100
14100
  }
14101
- function _(T, j, C) {
14101
+ function _(T, M, O) {
14102
14102
  switch (T) {
14103
14103
  case "event":
14104
- d = j;
14104
+ d = M;
14105
14105
  break;
14106
14106
  case "data":
14107
- m = `${m}${j}
14107
+ m = `${m}${M}
14108
14108
  `;
14109
14109
  break;
14110
14110
  case "id":
14111
- h = j.includes("\0") ? void 0 : j;
14111
+ h = M.includes("\0") ? void 0 : M;
14112
14112
  break;
14113
14113
  case "retry":
14114
- /^\d+$/.test(j) ? l(parseInt(j, 10)) : i(
14115
- new fy(`Invalid \`retry\` value: "${j}"`, {
14114
+ /^\d+$/.test(M) ? l(parseInt(M, 10)) : i(
14115
+ new fy(`Invalid \`retry\` value: "${M}"`, {
14116
14116
  type: "invalid-retry",
14117
- value: j,
14118
- line: C
14117
+ value: M,
14118
+ line: O
14119
14119
  })
14120
14120
  );
14121
14121
  break;
@@ -14123,7 +14123,7 @@ function uw(e) {
14123
14123
  i(
14124
14124
  new fy(
14125
14125
  `Unknown field "${T.length > 20 ? `${T.slice(0, 20)}…` : T}"`,
14126
- { type: "unknown-field", field: T, value: j, line: C }
14126
+ { type: "unknown-field", field: T, value: M, line: O }
14127
14127
  )
14128
14128
  );
14129
14129
  break;
@@ -16345,23 +16345,23 @@ function MT({
16345
16345
  await l(async ({ state: d, write: y }) => {
16346
16346
  var g, _, b, E;
16347
16347
  function T(w) {
16348
- const J = d.message.parts.filter(Eo).find(
16348
+ const K = d.message.parts.filter(Eo).find(
16349
16349
  (D) => D.toolCallId === w
16350
16350
  );
16351
- if (J == null)
16351
+ if (K == null)
16352
16352
  throw new ea({
16353
16353
  chunkType: "tool-invocation",
16354
16354
  chunkId: w,
16355
16355
  message: `No tool invocation found for tool call ID "${w}".`
16356
16356
  });
16357
- return J;
16357
+ return K;
16358
16358
  }
16359
- function j(w) {
16360
- var K;
16361
- const J = d.message.parts.find(
16359
+ function M(w) {
16360
+ var J;
16361
+ const K = d.message.parts.find(
16362
16362
  (ce) => Uf(ce) && ce.toolCallId === w.toolCallId
16363
- ), D = w, X = J;
16364
- J != null ? (J.state = w.state, X.input = D.input, X.output = D.output, X.errorText = D.errorText, X.rawInput = D.rawInput, X.preliminary = D.preliminary, w.title !== void 0 && (X.title = w.title), X.providerExecuted = (K = D.providerExecuted) != null ? K : J.providerExecuted, D.providerMetadata != null && (J.callProviderMetadata = D.providerMetadata)) : d.message.parts.push({
16363
+ ), D = w, X = K;
16364
+ K != null ? (K.state = w.state, X.input = D.input, X.output = D.output, X.errorText = D.errorText, X.rawInput = D.rawInput, X.preliminary = D.preliminary, w.title !== void 0 && (X.title = w.title), X.providerExecuted = (J = D.providerExecuted) != null ? J : K.providerExecuted, D.providerMetadata != null && (K.callProviderMetadata = D.providerMetadata)) : d.message.parts.push({
16365
16365
  type: `tool-${w.toolName}`,
16366
16366
  toolCallId: w.toolCallId,
16367
16367
  state: w.state,
@@ -16375,12 +16375,12 @@ function MT({
16375
16375
  ...D.providerMetadata != null ? { callProviderMetadata: D.providerMetadata } : {}
16376
16376
  });
16377
16377
  }
16378
- function C(w) {
16379
- var K, J;
16378
+ function O(w) {
16379
+ var J, K;
16380
16380
  const D = d.message.parts.find(
16381
- (he) => he.type === "dynamic-tool" && he.toolCallId === w.toolCallId
16381
+ (pe) => pe.type === "dynamic-tool" && pe.toolCallId === w.toolCallId
16382
16382
  ), X = w, ce = D;
16383
- D != null ? (D.state = w.state, ce.toolName = w.toolName, ce.input = X.input, ce.output = X.output, ce.errorText = X.errorText, ce.rawInput = (K = X.rawInput) != null ? K : ce.rawInput, ce.preliminary = X.preliminary, w.title !== void 0 && (ce.title = w.title), ce.providerExecuted = (J = X.providerExecuted) != null ? J : D.providerExecuted, X.providerMetadata != null && (D.callProviderMetadata = X.providerMetadata)) : d.message.parts.push({
16383
+ D != null ? (D.state = w.state, ce.toolName = w.toolName, ce.input = X.input, ce.output = X.output, ce.errorText = X.errorText, ce.rawInput = (J = X.rawInput) != null ? J : ce.rawInput, ce.preliminary = X.preliminary, w.title !== void 0 && (ce.title = w.title), ce.providerExecuted = (K = X.providerExecuted) != null ? K : D.providerExecuted, X.providerMetadata != null && (D.callProviderMetadata = X.providerMetadata)) : d.message.parts.push({
16384
16384
  type: "dynamic-tool",
16385
16385
  toolName: w.toolName,
16386
16386
  toolCallId: w.toolCallId,
@@ -16396,15 +16396,15 @@ function MT({
16396
16396
  }
16397
16397
  async function B(w) {
16398
16398
  if (w != null) {
16399
- const K = d.message.metadata != null ? Bb(d.message.metadata, w) : w;
16399
+ const J = d.message.metadata != null ? Bb(d.message.metadata, w) : w;
16400
16400
  n != null && await yy({
16401
- value: K,
16401
+ value: J,
16402
16402
  schema: n,
16403
16403
  context: {
16404
16404
  field: "message.metadata",
16405
16405
  entityId: d.message.id
16406
16406
  }
16407
- }), d.message.metadata = K;
16407
+ }), d.message.metadata = J;
16408
16408
  }
16409
16409
  }
16410
16410
  switch (h.type) {
@@ -16510,7 +16510,7 @@ function MT({
16510
16510
  index: w.length,
16511
16511
  dynamic: h.dynamic,
16512
16512
  title: h.title
16513
- }, h.dynamic ? C({
16513
+ }, h.dynamic ? O({
16514
16514
  toolCallId: h.toolCallId,
16515
16515
  toolName: h.toolName,
16516
16516
  state: "input-streaming",
@@ -16518,7 +16518,7 @@ function MT({
16518
16518
  providerExecuted: h.providerExecuted,
16519
16519
  title: h.title,
16520
16520
  providerMetadata: h.providerMetadata
16521
- }) : j({
16521
+ }) : M({
16522
16522
  toolCallId: h.toolCallId,
16523
16523
  toolName: h.toolName,
16524
16524
  state: "input-streaming",
@@ -16538,26 +16538,26 @@ function MT({
16538
16538
  message: `Received tool-input-delta for missing tool call with ID "${h.toolCallId}". Ensure a "tool-input-start" chunk is sent before any "tool-input-delta" chunks.`
16539
16539
  });
16540
16540
  w.text += h.inputTextDelta;
16541
- const { value: K } = await jl(
16541
+ const { value: J } = await jl(
16542
16542
  w.text
16543
16543
  );
16544
- w.dynamic ? C({
16544
+ w.dynamic ? O({
16545
16545
  toolCallId: h.toolCallId,
16546
16546
  toolName: w.toolName,
16547
16547
  state: "input-streaming",
16548
- input: K,
16548
+ input: J,
16549
16549
  title: w.title
16550
- }) : j({
16550
+ }) : M({
16551
16551
  toolCallId: h.toolCallId,
16552
16552
  toolName: w.toolName,
16553
16553
  state: "input-streaming",
16554
- input: K,
16554
+ input: J,
16555
16555
  title: w.title
16556
16556
  }), y();
16557
16557
  break;
16558
16558
  }
16559
16559
  case "tool-input-available": {
16560
- h.dynamic ? C({
16560
+ h.dynamic ? O({
16561
16561
  toolCallId: h.toolCallId,
16562
16562
  toolName: h.toolName,
16563
16563
  state: "input-available",
@@ -16565,7 +16565,7 @@ function MT({
16565
16565
  providerExecuted: h.providerExecuted,
16566
16566
  providerMetadata: h.providerMetadata,
16567
16567
  title: h.title
16568
- }) : j({
16568
+ }) : M({
16569
16569
  toolCallId: h.toolCallId,
16570
16570
  toolName: h.toolName,
16571
16571
  state: "input-available",
@@ -16579,8 +16579,8 @@ function MT({
16579
16579
  break;
16580
16580
  }
16581
16581
  case "tool-input-error": {
16582
- const w = d.message.parts.filter(Eo).find((J) => J.toolCallId === h.toolCallId);
16583
- (w != null ? w.type === "dynamic-tool" : !!h.dynamic) ? C({
16582
+ const w = d.message.parts.filter(Eo).find((K) => K.toolCallId === h.toolCallId);
16583
+ (w != null ? w.type === "dynamic-tool" : !!h.dynamic) ? O({
16584
16584
  toolCallId: h.toolCallId,
16585
16585
  toolName: h.toolName,
16586
16586
  state: "output-error",
@@ -16588,7 +16588,7 @@ function MT({
16588
16588
  errorText: h.errorText,
16589
16589
  providerExecuted: h.providerExecuted,
16590
16590
  providerMetadata: h.providerMetadata
16591
- }) : j({
16591
+ }) : M({
16592
16592
  toolCallId: h.toolCallId,
16593
16593
  toolName: h.toolName,
16594
16594
  state: "output-error",
@@ -16612,7 +16612,7 @@ function MT({
16612
16612
  }
16613
16613
  case "tool-output-available": {
16614
16614
  const w = T(h.toolCallId);
16615
- w.type === "dynamic-tool" ? C({
16615
+ w.type === "dynamic-tool" ? O({
16616
16616
  toolCallId: h.toolCallId,
16617
16617
  toolName: w.toolName,
16618
16618
  state: "output-available",
@@ -16621,7 +16621,7 @@ function MT({
16621
16621
  preliminary: h.preliminary,
16622
16622
  providerExecuted: h.providerExecuted,
16623
16623
  title: w.title
16624
- }) : j({
16624
+ }) : M({
16625
16625
  toolCallId: h.toolCallId,
16626
16626
  toolName: by(w),
16627
16627
  state: "output-available",
@@ -16635,7 +16635,7 @@ function MT({
16635
16635
  }
16636
16636
  case "tool-output-error": {
16637
16637
  const w = T(h.toolCallId);
16638
- w.type === "dynamic-tool" ? C({
16638
+ w.type === "dynamic-tool" ? O({
16639
16639
  toolCallId: h.toolCallId,
16640
16640
  toolName: w.toolName,
16641
16641
  state: "output-error",
@@ -16643,7 +16643,7 @@ function MT({
16643
16643
  errorText: h.errorText,
16644
16644
  providerExecuted: h.providerExecuted,
16645
16645
  title: w.title
16646
- }) : j({
16646
+ }) : M({
16647
16647
  toolCallId: h.toolCallId,
16648
16648
  toolName: by(w),
16649
16649
  state: "output-error",
@@ -16682,9 +16682,9 @@ function MT({
16682
16682
  default:
16683
16683
  if (CT(h)) {
16684
16684
  if ((i == null ? void 0 : i[h.type]) != null) {
16685
- const J = d.message.parts.findIndex(
16685
+ const K = d.message.parts.findIndex(
16686
16686
  (X) => "id" in X && "data" in X && X.id === h.id && X.type === h.type
16687
- ), D = J >= 0 ? J : d.message.parts.length;
16687
+ ), D = K >= 0 ? K : d.message.parts.length;
16688
16688
  await yy({
16689
16689
  value: h.data,
16690
16690
  schema: i[h.type],
@@ -16700,10 +16700,10 @@ function MT({
16700
16700
  c == null || c(w);
16701
16701
  break;
16702
16702
  }
16703
- const K = w.id != null ? d.message.parts.find(
16704
- (J) => w.type === J.type && w.id === J.id
16703
+ const J = w.id != null ? d.message.parts.find(
16704
+ (K) => w.type === K.type && w.id === K.id
16705
16705
  ) : void 0;
16706
- K != null ? K.data = w.data : d.message.parts.push(w), c == null || c(w), y();
16706
+ J != null ? J.data = w.data : d.message.parts.push(w), c == null || c(w), y();
16707
16707
  }
16708
16708
  }
16709
16709
  m.enqueue(h);
@@ -16818,7 +16818,7 @@ var ZT = class {
16818
16818
  messages: n.messages,
16819
16819
  trigger: n.trigger,
16820
16820
  messageId: n.messageId
16821
- }, T = (o = g == null ? void 0 : g.credentials) != null ? o : d, C = await ((s = this.fetch) != null ? s : globalThis.fetch)(_, {
16821
+ }, T = (o = g == null ? void 0 : g.credentials) != null ? o : d, O = await ((s = this.fetch) != null ? s : globalThis.fetch)(_, {
16822
16822
  method: "POST",
16823
16823
  headers: py(
16824
16824
  {
@@ -16832,13 +16832,13 @@ var ZT = class {
16832
16832
  credentials: T,
16833
16833
  signal: e
16834
16834
  });
16835
- if (!C.ok)
16835
+ if (!O.ok)
16836
16836
  throw new Error(
16837
- (c = await C.text()) != null ? c : "Failed to fetch the chat response."
16837
+ (c = await O.text()) != null ? c : "Failed to fetch the chat response."
16838
16838
  );
16839
- if (!C.body)
16839
+ if (!O.body)
16840
16840
  throw new Error("The response body is empty.");
16841
- return this.processResponseStream(C.body);
16841
+ return this.processResponseStream(O.body);
16842
16842
  }
16843
16843
  async reconnectToStream(e) {
16844
16844
  var n, i, l, o, s;
@@ -16904,7 +16904,7 @@ var ZT = class {
16904
16904
  sendAutomaticallyWhen: y
16905
16905
  }) {
16906
16906
  this.activeResponse = void 0, this.jobExecutor = new jT(), this.sendMessage = async (g, _) => {
16907
- var b, E, T, j;
16907
+ var b, E, T, M;
16908
16908
  if (g == null) {
16909
16909
  await this.makeRequest({
16910
16910
  trigger: "submit-message",
@@ -16913,13 +16913,13 @@ var ZT = class {
16913
16913
  });
16914
16914
  return;
16915
16915
  }
16916
- let C;
16917
- if ("text" in g || "files" in g ? C = {
16916
+ let O;
16917
+ if ("text" in g || "files" in g ? O = {
16918
16918
  parts: [
16919
16919
  ...Array.isArray(g.files) ? g.files : await UT(g.files),
16920
16920
  ..."text" in g && g.text != null ? [{ type: "text", text: g.text }] : []
16921
16921
  ]
16922
- } : C = g, g.messageId != null) {
16922
+ } : O = g, g.messageId != null) {
16923
16923
  const B = this.state.messages.findIndex(
16924
16924
  (w) => w.id === g.messageId
16925
16925
  );
@@ -16930,16 +16930,16 @@ var ZT = class {
16930
16930
  `message with id ${g.messageId} is not a user message`
16931
16931
  );
16932
16932
  this.state.messages = this.state.messages.slice(0, B + 1), this.state.replaceMessage(B, {
16933
- ...C,
16933
+ ...O,
16934
16934
  id: g.messageId,
16935
- role: (E = C.role) != null ? E : "user",
16935
+ role: (E = O.role) != null ? E : "user",
16936
16936
  metadata: g.metadata
16937
16937
  });
16938
16938
  } else
16939
16939
  this.state.pushMessage({
16940
- ...C,
16941
- id: (T = C.id) != null ? T : this.generateId(),
16942
- role: (j = C.role) != null ? j : "user",
16940
+ ...O,
16941
+ id: (T = O.id) != null ? T : this.generateId(),
16942
+ role: (M = O.role) != null ? M : "user",
16943
16943
  metadata: g.metadata
16944
16944
  });
16945
16945
  await this.makeRequest({
@@ -16972,17 +16972,17 @@ var ZT = class {
16972
16972
  approved: _,
16973
16973
  reason: b
16974
16974
  }) => this.jobExecutor.run(async () => {
16975
- const E = this.state.messages, T = E[E.length - 1], j = (C) => Eo(C) && C.state === "approval-requested" && C.approval.id === g ? {
16976
- ...C,
16975
+ const E = this.state.messages, T = E[E.length - 1], M = (O) => Eo(O) && O.state === "approval-requested" && O.approval.id === g ? {
16976
+ ...O,
16977
16977
  state: "approval-responded",
16978
16978
  approval: { id: g, approved: _, reason: b }
16979
- } : C;
16979
+ } : O;
16980
16980
  this.state.replaceMessage(E.length - 1, {
16981
16981
  ...T,
16982
- parts: T.parts.map(j)
16983
- }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(j)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((C) => {
16982
+ parts: T.parts.map(M)
16983
+ }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(M)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((O) => {
16984
16984
  var B;
16985
- C && this.makeRequest({
16985
+ O && this.makeRequest({
16986
16986
  trigger: "submit-message",
16987
16987
  messageId: (B = this.lastMessage) == null ? void 0 : B.id
16988
16988
  });
@@ -16994,15 +16994,15 @@ var ZT = class {
16994
16994
  output: E,
16995
16995
  errorText: T
16996
16996
  }) => this.jobExecutor.run(async () => {
16997
- const j = this.state.messages, C = j[j.length - 1], B = (w) => Eo(w) && w.toolCallId === b ? { ...w, state: g, output: E, errorText: T } : w;
16998
- this.state.replaceMessage(j.length - 1, {
16999
- ...C,
17000
- parts: C.parts.map(B)
16997
+ const M = this.state.messages, O = M[M.length - 1], B = (w) => Eo(w) && w.toolCallId === b ? { ...w, state: g, output: E, errorText: T } : w;
16998
+ this.state.replaceMessage(M.length - 1, {
16999
+ ...O,
17000
+ parts: O.parts.map(B)
17001
17001
  }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(B)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((w) => {
17002
- var K;
17002
+ var J;
17003
17003
  w && this.makeRequest({
17004
17004
  trigger: "submit-message",
17005
- messageId: (K = this.lastMessage) == null ? void 0 : K.id
17005
+ messageId: (J = this.lastMessage) == null ? void 0 : J.id
17006
17006
  });
17007
17007
  });
17008
17008
  }), this.addToolResult = this.addToolOutput, this.stop = async () => {
@@ -17096,14 +17096,14 @@ var ZT = class {
17096
17096
  trigger: e,
17097
17097
  messageId: o
17098
17098
  });
17099
- const T = (j) => (
17099
+ const T = (M) => (
17100
17100
  // serialize the job execution to avoid race conditions:
17101
17101
  this.jobExecutor.run(
17102
- () => j({
17102
+ () => M({
17103
17103
  state: b.state,
17104
17104
  write: () => {
17105
- var C;
17106
- this.setStatus({ status: "streaming" }), b.state.message.id === ((C = this.lastMessage) == null ? void 0 : C.id) ? this.state.replaceMessage(
17105
+ var O;
17106
+ this.setStatus({ status: "streaming" }), b.state.message.id === ((O = this.lastMessage) == null ? void 0 : O.id) ? this.state.replaceMessage(
17107
17107
  this.state.messages.length - 1,
17108
17108
  b.state.message
17109
17109
  ) : this.state.pushMessage(b.state.message);
@@ -17119,12 +17119,12 @@ var ZT = class {
17119
17119
  messageMetadataSchema: this.messageMetadataSchema,
17120
17120
  dataPartSchemas: this.dataPartSchemas,
17121
17121
  runUpdateMessageJob: T,
17122
- onError: (j) => {
17123
- throw j;
17122
+ onError: (M) => {
17123
+ throw M;
17124
17124
  }
17125
17125
  }),
17126
- onError: (j) => {
17127
- throw j;
17126
+ onError: (M) => {
17127
+ throw M;
17128
17128
  }
17129
17129
  }), this.setStatus({ status: "ready" });
17130
17130
  } catch (b) {
@@ -18668,33 +18668,33 @@ function SA() {
18668
18668
  Ay = 1;
18669
18669
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, i = /^\s*/, l = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, c = /^[;\s]*/, h = /^\s+|\s+$/g, m = `
18670
18670
  `, d = "/", y = "*", g = "", _ = "comment", b = "declaration";
18671
- df = function(T, j) {
18671
+ df = function(T, M) {
18672
18672
  if (typeof T != "string")
18673
18673
  throw new TypeError("First argument must be a string");
18674
18674
  if (!T) return [];
18675
- j = j || {};
18676
- var C = 1, B = 1;
18675
+ M = M || {};
18676
+ var O = 1, B = 1;
18677
18677
  function w(le) {
18678
18678
  var ae = le.match(n);
18679
- ae && (C += ae.length);
18679
+ ae && (O += ae.length);
18680
18680
  var fe = le.lastIndexOf(m);
18681
18681
  B = ~fe ? le.length - fe : B + le.length;
18682
18682
  }
18683
- function K() {
18684
- var le = { line: C, column: B };
18683
+ function J() {
18684
+ var le = { line: O, column: B };
18685
18685
  return function(ae) {
18686
- return ae.position = new J(le), ce(), ae;
18686
+ return ae.position = new K(le), ce(), ae;
18687
18687
  };
18688
18688
  }
18689
- function J(le) {
18690
- this.start = le, this.end = { line: C, column: B }, this.source = j.source;
18689
+ function K(le) {
18690
+ this.start = le, this.end = { line: O, column: B }, this.source = M.source;
18691
18691
  }
18692
- J.prototype.content = T;
18692
+ K.prototype.content = T;
18693
18693
  function D(le) {
18694
18694
  var ae = new Error(
18695
- j.source + ":" + C + ":" + B + ": " + le
18695
+ M.source + ":" + O + ":" + B + ": " + le
18696
18696
  );
18697
- if (ae.reason = le, ae.filename = j.source, ae.line = C, ae.column = B, ae.source = T, !j.silent) throw ae;
18697
+ if (ae.reason = le, ae.filename = M.source, ae.line = O, ae.column = B, ae.source = T, !M.silent) throw ae;
18698
18698
  }
18699
18699
  function X(le) {
18700
18700
  var ae = le.exec(T);
@@ -18706,14 +18706,14 @@ function SA() {
18706
18706
  function ce() {
18707
18707
  X(i);
18708
18708
  }
18709
- function he(le) {
18709
+ function pe(le) {
18710
18710
  var ae;
18711
18711
  for (le = le || []; ae = L(); )
18712
18712
  ae !== !1 && le.push(ae);
18713
18713
  return le;
18714
18714
  }
18715
18715
  function L() {
18716
- var le = K();
18716
+ var le = J();
18717
18717
  if (!(d != T.charAt(0) || y != T.charAt(1))) {
18718
18718
  for (var ae = 2; g != T.charAt(ae) && (y != T.charAt(ae) || d != T.charAt(ae + 1)); )
18719
18719
  ++ae;
@@ -18727,7 +18727,7 @@ function SA() {
18727
18727
  }
18728
18728
  }
18729
18729
  function ie() {
18730
- var le = K(), ae = X(l);
18730
+ var le = J(), ae = X(l);
18731
18731
  if (ae) {
18732
18732
  if (L(), !X(o)) return D("property missing ':'");
18733
18733
  var fe = X(s), Z = le({
@@ -18740,9 +18740,9 @@ function SA() {
18740
18740
  }
18741
18741
  function re() {
18742
18742
  var le = [];
18743
- he(le);
18743
+ pe(le);
18744
18744
  for (var ae; ae = ie(); )
18745
- ae !== !1 && (le.push(ae), he(le));
18745
+ ae !== !1 && (le.push(ae), pe(le));
18746
18746
  return le;
18747
18747
  }
18748
18748
  return ce(), re();
@@ -19428,28 +19428,28 @@ function i2(e) {
19428
19428
  return h;
19429
19429
  function h(w) {
19430
19430
  if (l < i.length) {
19431
- const K = i[l];
19432
- return n.containerState = K[1], e.attempt(K[0].continuation, m, d)(w);
19431
+ const J = i[l];
19432
+ return n.containerState = J[1], e.attempt(J[0].continuation, m, d)(w);
19433
19433
  }
19434
19434
  return d(w);
19435
19435
  }
19436
19436
  function m(w) {
19437
19437
  if (l++, n.containerState._closeFlow) {
19438
19438
  n.containerState._closeFlow = void 0, o && B();
19439
- const K = n.events.length;
19440
- let J = K, D;
19441
- for (; J--; )
19442
- if (n.events[J][0] === "exit" && n.events[J][1].type === "chunkFlow") {
19443
- D = n.events[J][1].end;
19439
+ const J = n.events.length;
19440
+ let K = J, D;
19441
+ for (; K--; )
19442
+ if (n.events[K][0] === "exit" && n.events[K][1].type === "chunkFlow") {
19443
+ D = n.events[K][1].end;
19444
19444
  break;
19445
19445
  }
19446
- C(l);
19447
- let X = K;
19446
+ O(l);
19447
+ let X = J;
19448
19448
  for (; X < n.events.length; )
19449
19449
  n.events[X][1].end = {
19450
19450
  ...D
19451
19451
  }, X++;
19452
- return un(n.events, J + 1, 0, n.events.slice(K)), n.events.length = X, d(w);
19452
+ return un(n.events, K + 1, 0, n.events.slice(J)), n.events.length = X, d(w);
19453
19453
  }
19454
19454
  return h(w);
19455
19455
  }
@@ -19464,7 +19464,7 @@ function i2(e) {
19464
19464
  return n.containerState = {}, e.check(Zy, y, g)(w);
19465
19465
  }
19466
19466
  function y(w) {
19467
- return o && B(), C(l), _(w);
19467
+ return o && B(), O(l), _(w);
19468
19468
  }
19469
19469
  function g(w) {
19470
19470
  return n.parser.lazy[n.now().line] = l !== i.length, c = n.now().offset, E(w);
@@ -19477,7 +19477,7 @@ function i2(e) {
19477
19477
  }
19478
19478
  function E(w) {
19479
19479
  if (w === null) {
19480
- o && B(), C(0), e.consume(w);
19480
+ o && B(), O(0), e.consume(w);
19481
19481
  return;
19482
19482
  }
19483
19483
  return o = o || n.parser.flow(n.now()), e.enter("chunkFlow", {
@@ -19488,14 +19488,14 @@ function i2(e) {
19488
19488
  }
19489
19489
  function T(w) {
19490
19490
  if (w === null) {
19491
- j(e.exit("chunkFlow"), !0), C(0), e.consume(w);
19491
+ M(e.exit("chunkFlow"), !0), O(0), e.consume(w);
19492
19492
  return;
19493
19493
  }
19494
- return ge(w) ? (e.consume(w), j(e.exit("chunkFlow")), l = 0, n.interrupt = void 0, h) : (e.consume(w), T);
19494
+ return ge(w) ? (e.consume(w), M(e.exit("chunkFlow")), l = 0, n.interrupt = void 0, h) : (e.consume(w), T);
19495
19495
  }
19496
- function j(w, K) {
19497
- const J = n.sliceStream(w);
19498
- if (K && J.push(null), w.previous = s, s && (s.next = w), s = w, o.defineSkip(w.start), o.write(J), n.parser.lazy[w.start.line]) {
19496
+ function M(w, J) {
19497
+ const K = n.sliceStream(w);
19498
+ if (J && K.push(null), w.previous = s, s && (s.next = w), s = w, o.defineSkip(w.start), o.write(K), n.parser.lazy[w.start.line]) {
19499
19499
  let D = o.events.length;
19500
19500
  for (; D--; )
19501
19501
  if (
@@ -19506,27 +19506,27 @@ function i2(e) {
19506
19506
  )
19507
19507
  return;
19508
19508
  const X = n.events.length;
19509
- let ce = X, he, L;
19509
+ let ce = X, pe, L;
19510
19510
  for (; ce--; )
19511
19511
  if (n.events[ce][0] === "exit" && n.events[ce][1].type === "chunkFlow") {
19512
- if (he) {
19512
+ if (pe) {
19513
19513
  L = n.events[ce][1].end;
19514
19514
  break;
19515
19515
  }
19516
- he = !0;
19516
+ pe = !0;
19517
19517
  }
19518
- for (C(l), D = X; D < n.events.length; )
19518
+ for (O(l), D = X; D < n.events.length; )
19519
19519
  n.events[D][1].end = {
19520
19520
  ...L
19521
19521
  }, D++;
19522
19522
  un(n.events, ce + 1, 0, n.events.slice(X)), n.events.length = D;
19523
19523
  }
19524
19524
  }
19525
- function C(w) {
19526
- let K = i.length;
19527
- for (; K-- > w; ) {
19528
- const J = i[K];
19529
- n.containerState = J[1], J[0].exit.call(n, e);
19525
+ function O(w) {
19526
+ let J = i.length;
19527
+ for (; J-- > w; ) {
19528
+ const K = i[J];
19529
+ n.containerState = K[1], K[0].exit.call(n, e);
19530
19530
  }
19531
19531
  i.length = w;
19532
19532
  }
@@ -19767,7 +19767,7 @@ const Iy = {
19767
19767
  function g2(e, n, i) {
19768
19768
  const l = this, o = {
19769
19769
  partial: !0,
19770
- tokenize: J
19770
+ tokenize: K
19771
19771
  };
19772
19772
  let s = 0, c = 0, h;
19773
19773
  return m;
@@ -19782,7 +19782,7 @@ function g2(e, n, i) {
19782
19782
  return D === h ? (c++, e.consume(D), y) : c < 3 ? i(D) : (e.exit("codeFencedFenceSequence"), Ce(D) ? Ze(e, g, "whitespace")(D) : g(D));
19783
19783
  }
19784
19784
  function g(D) {
19785
- return D === null || ge(D) ? (e.exit("codeFencedFence"), l.interrupt ? n(D) : e.check(Iy, T, K)(D)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
19785
+ return D === null || ge(D) ? (e.exit("codeFencedFence"), l.interrupt ? n(D) : e.check(Iy, T, J)(D)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
19786
19786
  contentType: "string"
19787
19787
  }), _(D));
19788
19788
  }
@@ -19798,25 +19798,25 @@ function g2(e, n, i) {
19798
19798
  return D === null || ge(D) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), g(D)) : D === 96 && D === h ? i(D) : (e.consume(D), E);
19799
19799
  }
19800
19800
  function T(D) {
19801
- return e.attempt(o, K, j)(D);
19801
+ return e.attempt(o, J, M)(D);
19802
19802
  }
19803
- function j(D) {
19804
- return e.enter("lineEnding"), e.consume(D), e.exit("lineEnding"), C;
19803
+ function M(D) {
19804
+ return e.enter("lineEnding"), e.consume(D), e.exit("lineEnding"), O;
19805
19805
  }
19806
- function C(D) {
19806
+ function O(D) {
19807
19807
  return s > 0 && Ce(D) ? Ze(e, B, "linePrefix", s + 1)(D) : B(D);
19808
19808
  }
19809
19809
  function B(D) {
19810
- return D === null || ge(D) ? e.check(Iy, T, K)(D) : (e.enter("codeFlowValue"), w(D));
19810
+ return D === null || ge(D) ? e.check(Iy, T, J)(D) : (e.enter("codeFlowValue"), w(D));
19811
19811
  }
19812
19812
  function w(D) {
19813
19813
  return D === null || ge(D) ? (e.exit("codeFlowValue"), B(D)) : (e.consume(D), w);
19814
19814
  }
19815
- function K(D) {
19815
+ function J(D) {
19816
19816
  return e.exit("codeFenced"), n(D);
19817
19817
  }
19818
- function J(D, X, ce) {
19819
- let he = 0;
19818
+ function K(D, X, ce) {
19819
+ let pe = 0;
19820
19820
  return L;
19821
19821
  function L(fe) {
19822
19822
  return D.enter("lineEnding"), D.consume(fe), D.exit("lineEnding"), ie;
@@ -19828,7 +19828,7 @@ function g2(e, n, i) {
19828
19828
  return fe === h ? (D.enter("codeFencedFenceSequence"), le(fe)) : ce(fe);
19829
19829
  }
19830
19830
  function le(fe) {
19831
- return fe === h ? (he++, D.consume(fe), le) : he >= c ? (D.exit("codeFencedFenceSequence"), Ce(fe) ? Ze(D, ae, "whitespace")(fe) : ae(fe)) : ce(fe);
19831
+ return fe === h ? (pe++, D.consume(fe), le) : pe >= c ? (D.exit("codeFencedFenceSequence"), Ce(fe) ? Ze(D, ae, "whitespace")(fe) : ae(fe)) : ce(fe);
19832
19832
  }
19833
19833
  function ae(fe) {
19834
19834
  return fe === null || ge(fe) ? (D.exit("codeFencedFence"), X(fe)) : ce(fe);
@@ -20128,7 +20128,7 @@ function w2(e, n) {
20128
20128
  c || (c = l.parser[i.contentType](i.start), i._contentTypeTextTrailing && (c._contentTypeTextTrailing = !0));
20129
20129
  const h = c.events, m = [], d = {};
20130
20130
  let y, g, _ = -1, b = i, E = 0, T = 0;
20131
- const j = [T];
20131
+ const M = [T];
20132
20132
  for (; b; ) {
20133
20133
  for (; e.get(++o)[1] !== b; )
20134
20134
  ;
@@ -20136,10 +20136,10 @@ function w2(e, n) {
20136
20136
  }
20137
20137
  for (b = i; ++_ < h.length; )
20138
20138
  // Find a void token that includes a break.
20139
- h[_][0] === "exit" && h[_ - 1][0] === "enter" && h[_][1].type === h[_ - 1][1].type && h[_][1].start.line !== h[_][1].end.line && (T = _ + 1, j.push(T), b._tokenizer = void 0, b.previous = void 0, b = b.next);
20140
- for (c.events = [], b ? (b._tokenizer = void 0, b.previous = void 0) : j.pop(), _ = j.length; _--; ) {
20141
- const C = h.slice(j[_], j[_ + 1]), B = s.pop();
20142
- m.push([B, B + C.length - 1]), e.splice(B, 2, C);
20139
+ h[_][0] === "exit" && h[_ - 1][0] === "enter" && h[_][1].type === h[_ - 1][1].type && h[_][1].start.line !== h[_][1].end.line && (T = _ + 1, M.push(T), b._tokenizer = void 0, b.previous = void 0, b = b.next);
20140
+ for (c.events = [], b ? (b._tokenizer = void 0, b.previous = void 0) : M.pop(), _ = M.length; _--; ) {
20141
+ const O = h.slice(M[_], M[_ + 1]), B = s.pop();
20142
+ m.push([B, B + O.length - 1]), e.splice(B, 2, O);
20143
20143
  }
20144
20144
  for (m.reverse(), _ = -1; ++_ < m.length; )
20145
20145
  d[E + m[_][0]] = E + m[_][1], E += m[_][1] - m[_][0] - 1;
@@ -20193,27 +20193,27 @@ function c0(e, n, i, l, o, s, c, h, m) {
20193
20193
  const d = m || Number.POSITIVE_INFINITY;
20194
20194
  let y = 0;
20195
20195
  return g;
20196
- function g(C) {
20197
- return C === 60 ? (e.enter(l), e.enter(o), e.enter(s), e.consume(C), e.exit(s), _) : C === null || C === 32 || C === 41 || zo(C) ? i(C) : (e.enter(l), e.enter(c), e.enter(h), e.enter("chunkString", {
20196
+ function g(O) {
20197
+ return O === 60 ? (e.enter(l), e.enter(o), e.enter(s), e.consume(O), e.exit(s), _) : O === null || O === 32 || O === 41 || zo(O) ? i(O) : (e.enter(l), e.enter(c), e.enter(h), e.enter("chunkString", {
20198
20198
  contentType: "string"
20199
- }), T(C));
20199
+ }), T(O));
20200
20200
  }
20201
- function _(C) {
20202
- return C === 62 ? (e.enter(s), e.consume(C), e.exit(s), e.exit(o), e.exit(l), n) : (e.enter(h), e.enter("chunkString", {
20201
+ function _(O) {
20202
+ return O === 62 ? (e.enter(s), e.consume(O), e.exit(s), e.exit(o), e.exit(l), n) : (e.enter(h), e.enter("chunkString", {
20203
20203
  contentType: "string"
20204
- }), b(C));
20204
+ }), b(O));
20205
20205
  }
20206
- function b(C) {
20207
- return C === 62 ? (e.exit("chunkString"), e.exit(h), _(C)) : C === null || C === 60 || ge(C) ? i(C) : (e.consume(C), C === 92 ? E : b);
20206
+ function b(O) {
20207
+ return O === 62 ? (e.exit("chunkString"), e.exit(h), _(O)) : O === null || O === 60 || ge(O) ? i(O) : (e.consume(O), O === 92 ? E : b);
20208
20208
  }
20209
- function E(C) {
20210
- return C === 60 || C === 62 || C === 92 ? (e.consume(C), b) : b(C);
20209
+ function E(O) {
20210
+ return O === 60 || O === 62 || O === 92 ? (e.consume(O), b) : b(O);
20211
20211
  }
20212
- function T(C) {
20213
- return !y && (C === null || C === 41 || Ke(C)) ? (e.exit("chunkString"), e.exit(h), e.exit(c), e.exit(l), n(C)) : y < d && C === 40 ? (e.consume(C), y++, T) : C === 41 ? (e.consume(C), y--, T) : C === null || C === 32 || C === 40 || zo(C) ? i(C) : (e.consume(C), C === 92 ? j : T);
20212
+ function T(O) {
20213
+ return !y && (O === null || O === 41 || Ke(O)) ? (e.exit("chunkString"), e.exit(h), e.exit(c), e.exit(l), n(O)) : y < d && O === 40 ? (e.consume(O), y++, T) : O === 41 ? (e.consume(O), y--, T) : O === null || O === 32 || O === 40 || zo(O) ? i(O) : (e.consume(O), O === 92 ? M : T);
20214
20214
  }
20215
- function j(C) {
20216
- return C === 40 || C === 41 || C === 92 ? (e.consume(C), T) : T(C);
20215
+ function M(O) {
20216
+ return O === 40 || O === 41 || O === 92 ? (e.consume(O), T) : T(O);
20217
20217
  }
20218
20218
  }
20219
20219
  function f0(e, n, i, l, o, s) {
@@ -20483,7 +20483,7 @@ function G2(e, n, i) {
20483
20483
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(x), g;
20484
20484
  }
20485
20485
  function g(x) {
20486
- return x === 33 ? (e.consume(x), _) : x === 47 ? (e.consume(x), s = !0, T) : x === 63 ? (e.consume(x), o = 3, l.interrupt ? n : z) : Lt(x) ? (e.consume(x), c = String.fromCharCode(x), j) : i(x);
20486
+ return x === 33 ? (e.consume(x), _) : x === 47 ? (e.consume(x), s = !0, T) : x === 63 ? (e.consume(x), o = 3, l.interrupt ? n : z) : Lt(x) ? (e.consume(x), c = String.fromCharCode(x), M) : i(x);
20487
20487
  }
20488
20488
  function _(x) {
20489
20489
  return x === 45 ? (e.consume(x), o = 2, b) : x === 91 ? (e.consume(x), o = 5, h = 0, E) : Lt(x) ? (e.consume(x), o = 4, l.interrupt ? n : z) : i(x);
@@ -20496,40 +20496,40 @@ function G2(e, n, i) {
20496
20496
  return x === ne.charCodeAt(h++) ? (e.consume(x), h === ne.length ? l.interrupt ? n : re : E) : i(x);
20497
20497
  }
20498
20498
  function T(x) {
20499
- return Lt(x) ? (e.consume(x), c = String.fromCharCode(x), j) : i(x);
20499
+ return Lt(x) ? (e.consume(x), c = String.fromCharCode(x), M) : i(x);
20500
20500
  }
20501
- function j(x) {
20501
+ function M(x) {
20502
20502
  if (x === null || x === 47 || x === 62 || Ke(x)) {
20503
20503
  const ne = x === 47, be = c.toLowerCase();
20504
- return !ne && !s && Hy.includes(be) ? (o = 1, l.interrupt ? n(x) : re(x)) : H2.includes(c.toLowerCase()) ? (o = 6, ne ? (e.consume(x), C) : l.interrupt ? n(x) : re(x)) : (o = 7, l.interrupt && !l.parser.lazy[l.now().line] ? i(x) : s ? B(x) : w(x));
20504
+ return !ne && !s && Hy.includes(be) ? (o = 1, l.interrupt ? n(x) : re(x)) : H2.includes(c.toLowerCase()) ? (o = 6, ne ? (e.consume(x), O) : l.interrupt ? n(x) : re(x)) : (o = 7, l.interrupt && !l.parser.lazy[l.now().line] ? i(x) : s ? B(x) : w(x));
20505
20505
  }
20506
- return x === 45 || Ct(x) ? (e.consume(x), c += String.fromCharCode(x), j) : i(x);
20506
+ return x === 45 || Ct(x) ? (e.consume(x), c += String.fromCharCode(x), M) : i(x);
20507
20507
  }
20508
- function C(x) {
20508
+ function O(x) {
20509
20509
  return x === 62 ? (e.consume(x), l.interrupt ? n : re) : i(x);
20510
20510
  }
20511
20511
  function B(x) {
20512
20512
  return Ce(x) ? (e.consume(x), B) : L(x);
20513
20513
  }
20514
20514
  function w(x) {
20515
- return x === 47 ? (e.consume(x), L) : x === 58 || x === 95 || Lt(x) ? (e.consume(x), K) : Ce(x) ? (e.consume(x), w) : L(x);
20516
- }
20517
- function K(x) {
20518
- return x === 45 || x === 46 || x === 58 || x === 95 || Ct(x) ? (e.consume(x), K) : J(x);
20515
+ return x === 47 ? (e.consume(x), L) : x === 58 || x === 95 || Lt(x) ? (e.consume(x), J) : Ce(x) ? (e.consume(x), w) : L(x);
20519
20516
  }
20520
20517
  function J(x) {
20521
- return x === 61 ? (e.consume(x), D) : Ce(x) ? (e.consume(x), J) : w(x);
20518
+ return x === 45 || x === 46 || x === 58 || x === 95 || Ct(x) ? (e.consume(x), J) : K(x);
20519
+ }
20520
+ function K(x) {
20521
+ return x === 61 ? (e.consume(x), D) : Ce(x) ? (e.consume(x), K) : w(x);
20522
20522
  }
20523
20523
  function D(x) {
20524
20524
  return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? i(x) : x === 34 || x === 39 ? (e.consume(x), m = x, X) : Ce(x) ? (e.consume(x), D) : ce(x);
20525
20525
  }
20526
20526
  function X(x) {
20527
- return x === m ? (e.consume(x), m = null, he) : x === null || ge(x) ? i(x) : (e.consume(x), X);
20527
+ return x === m ? (e.consume(x), m = null, pe) : x === null || ge(x) ? i(x) : (e.consume(x), X);
20528
20528
  }
20529
20529
  function ce(x) {
20530
- return x === null || x === 34 || x === 39 || x === 47 || x === 60 || x === 61 || x === 62 || x === 96 || Ke(x) ? J(x) : (e.consume(x), ce);
20530
+ return x === null || x === 34 || x === 39 || x === 47 || x === 60 || x === 61 || x === 62 || x === 96 || Ke(x) ? K(x) : (e.consume(x), ce);
20531
20531
  }
20532
- function he(x) {
20532
+ function pe(x) {
20533
20533
  return x === 47 || x === 62 || Ce(x) ? w(x) : i(x);
20534
20534
  }
20535
20535
  function L(x) {
@@ -20539,7 +20539,7 @@ function G2(e, n, i) {
20539
20539
  return x === null || ge(x) ? re(x) : Ce(x) ? (e.consume(x), ie) : i(x);
20540
20540
  }
20541
20541
  function re(x) {
20542
- return x === 45 && o === 2 ? (e.consume(x), Z) : x === 60 && o === 1 ? (e.consume(x), F) : x === 62 && o === 4 ? (e.consume(x), A) : x === 63 && o === 3 ? (e.consume(x), z) : x === 93 && o === 5 ? (e.consume(x), me) : ge(x) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check($2, H, le)(x)) : x === null || ge(x) ? (e.exit("htmlFlowData"), le(x)) : (e.consume(x), re);
20542
+ return x === 45 && o === 2 ? (e.consume(x), Z) : x === 60 && o === 1 ? (e.consume(x), F) : x === 62 && o === 4 ? (e.consume(x), A) : x === 63 && o === 3 ? (e.consume(x), z) : x === 93 && o === 5 ? (e.consume(x), he) : ge(x) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check($2, H, le)(x)) : x === null || ge(x) ? (e.exit("htmlFlowData"), le(x)) : (e.consume(x), re);
20543
20543
  }
20544
20544
  function le(x) {
20545
20545
  return e.check(V2, ae, H)(x);
@@ -20563,7 +20563,7 @@ function G2(e, n, i) {
20563
20563
  }
20564
20564
  return Lt(x) && c.length < 8 ? (e.consume(x), c += String.fromCharCode(x), te) : re(x);
20565
20565
  }
20566
- function me(x) {
20566
+ function he(x) {
20567
20567
  return x === 93 ? (e.consume(x), z) : re(x);
20568
20568
  }
20569
20569
  function z(x) {
@@ -20604,7 +20604,7 @@ function Q2(e, n, i) {
20604
20604
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(z), m;
20605
20605
  }
20606
20606
  function m(z) {
20607
- return z === 33 ? (e.consume(z), d) : z === 47 ? (e.consume(z), J) : z === 63 ? (e.consume(z), w) : Lt(z) ? (e.consume(z), ce) : i(z);
20607
+ return z === 33 ? (e.consume(z), d) : z === 47 ? (e.consume(z), K) : z === 63 ? (e.consume(z), w) : Lt(z) ? (e.consume(z), ce) : i(z);
20608
20608
  }
20609
20609
  function d(z) {
20610
20610
  return z === 45 ? (e.consume(z), y) : z === 91 ? (e.consume(z), s = 0, E) : Lt(z) ? (e.consume(z), B) : i(z);
@@ -20626,24 +20626,24 @@ function Q2(e, n, i) {
20626
20626
  return z === A.charCodeAt(s++) ? (e.consume(z), s === A.length ? T : E) : i(z);
20627
20627
  }
20628
20628
  function T(z) {
20629
- return z === null ? i(z) : z === 93 ? (e.consume(z), j) : ge(z) ? (c = T, F(z)) : (e.consume(z), T);
20629
+ return z === null ? i(z) : z === 93 ? (e.consume(z), M) : ge(z) ? (c = T, F(z)) : (e.consume(z), T);
20630
20630
  }
20631
- function j(z) {
20632
- return z === 93 ? (e.consume(z), C) : T(z);
20631
+ function M(z) {
20632
+ return z === 93 ? (e.consume(z), O) : T(z);
20633
20633
  }
20634
- function C(z) {
20635
- return z === 62 ? Z(z) : z === 93 ? (e.consume(z), C) : T(z);
20634
+ function O(z) {
20635
+ return z === 62 ? Z(z) : z === 93 ? (e.consume(z), O) : T(z);
20636
20636
  }
20637
20637
  function B(z) {
20638
20638
  return z === null || z === 62 ? Z(z) : ge(z) ? (c = B, F(z)) : (e.consume(z), B);
20639
20639
  }
20640
20640
  function w(z) {
20641
- return z === null ? i(z) : z === 63 ? (e.consume(z), K) : ge(z) ? (c = w, F(z)) : (e.consume(z), w);
20641
+ return z === null ? i(z) : z === 63 ? (e.consume(z), J) : ge(z) ? (c = w, F(z)) : (e.consume(z), w);
20642
20642
  }
20643
- function K(z) {
20643
+ function J(z) {
20644
20644
  return z === 62 ? Z(z) : w(z);
20645
20645
  }
20646
- function J(z) {
20646
+ function K(z) {
20647
20647
  return Lt(z) ? (e.consume(z), D) : i(z);
20648
20648
  }
20649
20649
  function D(z) {
@@ -20653,16 +20653,16 @@ function Q2(e, n, i) {
20653
20653
  return ge(z) ? (c = X, F(z)) : Ce(z) ? (e.consume(z), X) : Z(z);
20654
20654
  }
20655
20655
  function ce(z) {
20656
- return z === 45 || Ct(z) ? (e.consume(z), ce) : z === 47 || z === 62 || Ke(z) ? he(z) : i(z);
20656
+ return z === 45 || Ct(z) ? (e.consume(z), ce) : z === 47 || z === 62 || Ke(z) ? pe(z) : i(z);
20657
20657
  }
20658
- function he(z) {
20659
- return z === 47 ? (e.consume(z), Z) : z === 58 || z === 95 || Lt(z) ? (e.consume(z), L) : ge(z) ? (c = he, F(z)) : Ce(z) ? (e.consume(z), he) : Z(z);
20658
+ function pe(z) {
20659
+ return z === 47 ? (e.consume(z), Z) : z === 58 || z === 95 || Lt(z) ? (e.consume(z), L) : ge(z) ? (c = pe, F(z)) : Ce(z) ? (e.consume(z), pe) : Z(z);
20660
20660
  }
20661
20661
  function L(z) {
20662
20662
  return z === 45 || z === 46 || z === 58 || z === 95 || Ct(z) ? (e.consume(z), L) : ie(z);
20663
20663
  }
20664
20664
  function ie(z) {
20665
- return z === 61 ? (e.consume(z), re) : ge(z) ? (c = ie, F(z)) : Ce(z) ? (e.consume(z), ie) : he(z);
20665
+ return z === 61 ? (e.consume(z), re) : ge(z) ? (c = ie, F(z)) : Ce(z) ? (e.consume(z), ie) : pe(z);
20666
20666
  }
20667
20667
  function re(z) {
20668
20668
  return z === null || z === 60 || z === 61 || z === 62 || z === 96 ? i(z) : z === 34 || z === 39 ? (e.consume(z), o = z, le) : ge(z) ? (c = re, F(z)) : Ce(z) ? (e.consume(z), re) : (e.consume(z), ae);
@@ -20671,10 +20671,10 @@ function Q2(e, n, i) {
20671
20671
  return z === o ? (e.consume(z), o = void 0, fe) : z === null ? i(z) : ge(z) ? (c = le, F(z)) : (e.consume(z), le);
20672
20672
  }
20673
20673
  function ae(z) {
20674
- return z === null || z === 34 || z === 39 || z === 60 || z === 61 || z === 96 ? i(z) : z === 47 || z === 62 || Ke(z) ? he(z) : (e.consume(z), ae);
20674
+ return z === null || z === 34 || z === 39 || z === 60 || z === 61 || z === 96 ? i(z) : z === 47 || z === 62 || Ke(z) ? pe(z) : (e.consume(z), ae);
20675
20675
  }
20676
20676
  function fe(z) {
20677
- return z === 47 || z === 62 || Ke(z) ? he(z) : i(z);
20677
+ return z === 47 || z === 62 || Ke(z) ? pe(z) : i(z);
20678
20678
  }
20679
20679
  function Z(z) {
20680
20680
  return z === 62 ? (e.consume(z), e.exit("htmlTextData"), e.exit("htmlText"), n) : i(z);
@@ -20683,9 +20683,9 @@ function Q2(e, n, i) {
20683
20683
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(z), e.exit("lineEnding"), te;
20684
20684
  }
20685
20685
  function te(z) {
20686
- return Ce(z) ? Ze(e, me, "linePrefix", l.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(z) : me(z);
20686
+ return Ce(z) ? Ze(e, he, "linePrefix", l.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(z) : he(z);
20687
20687
  }
20688
- function me(z) {
20688
+ function he(z) {
20689
20689
  return e.enter("htmlTextData"), c(z);
20690
20690
  }
20691
20691
  }
@@ -21220,11 +21220,11 @@ function ZO(e, n, i) {
21220
21220
  const o = {}, s = [];
21221
21221
  let c = [], h = [];
21222
21222
  const m = {
21223
- attempt: X(J),
21223
+ attempt: X(K),
21224
21224
  check: X(D),
21225
21225
  consume: B,
21226
21226
  enter: w,
21227
- exit: K,
21227
+ exit: J,
21228
21228
  interrupt: X(D, {
21229
21229
  interrupt: !0
21230
21230
  })
@@ -21243,7 +21243,7 @@ function ZO(e, n, i) {
21243
21243
  let y = n.tokenize.call(d, m);
21244
21244
  return n.resolveAll && s.push(n), d;
21245
21245
  function g(ie) {
21246
- return c = Sn(c, ie), j(), c[c.length - 1] !== null ? [] : (ce(n, 0), d.events = Ro(s, d.events, d), d.events);
21246
+ return c = Sn(c, ie), M(), c[c.length - 1] !== null ? [] : (ce(n, 0), d.events = Ro(s, d.events, d), d.events);
21247
21247
  }
21248
21248
  function _(ie, re) {
21249
21249
  return IO(b(ie), re);
@@ -21270,18 +21270,18 @@ function ZO(e, n, i) {
21270
21270
  function T(ie) {
21271
21271
  o[ie.line] = ie.column, L();
21272
21272
  }
21273
- function j() {
21273
+ function M() {
21274
21274
  let ie;
21275
21275
  for (; l._index < c.length; ) {
21276
21276
  const re = c[l._index];
21277
21277
  if (typeof re == "string")
21278
21278
  for (ie = l._index, l._bufferIndex < 0 && (l._bufferIndex = 0); l._index === ie && l._bufferIndex < re.length; )
21279
- C(re.charCodeAt(l._bufferIndex));
21279
+ O(re.charCodeAt(l._bufferIndex));
21280
21280
  else
21281
- C(re);
21281
+ O(re);
21282
21282
  }
21283
21283
  }
21284
- function C(ie) {
21284
+ function O(ie) {
21285
21285
  y = y(ie);
21286
21286
  }
21287
21287
  function B(ie) {
@@ -21294,11 +21294,11 @@ function ZO(e, n, i) {
21294
21294
  const le = re || {};
21295
21295
  return le.type = ie, le.start = E(), d.events.push(["enter", le, d]), h.push(le), le;
21296
21296
  }
21297
- function K(ie) {
21297
+ function J(ie) {
21298
21298
  const re = h.pop();
21299
21299
  return re.end = E(), d.events.push(["exit", re, d]), re;
21300
21300
  }
21301
- function J(ie, re) {
21301
+ function K(ie, re) {
21302
21302
  ce(ie, re.from);
21303
21303
  }
21304
21304
  function D(ie, re) {
@@ -21307,7 +21307,7 @@ function ZO(e, n, i) {
21307
21307
  function X(ie, re) {
21308
21308
  return le;
21309
21309
  function le(ae, fe, Z) {
21310
- let F, te, me, z;
21310
+ let F, te, he, z;
21311
21311
  return Array.isArray(ae) ? (
21312
21312
  /* c8 ignore next 1 */
21313
21313
  H(ae)
@@ -21318,10 +21318,10 @@ function ZO(e, n, i) {
21318
21318
  ae
21319
21319
  ])
21320
21320
  ) : A(ae);
21321
- function A(pe) {
21321
+ function A(de) {
21322
21322
  return Ne;
21323
21323
  function Ne(ut) {
21324
- const Ye = ut !== null && pe[ut], sn = ut !== null && pe.null, In = [
21324
+ const Ye = ut !== null && de[ut], sn = ut !== null && de.null, In = [
21325
21325
  // To do: add more extension tests.
21326
21326
  /* c8 ignore next 2 */
21327
21327
  ...Array.isArray(Ye) ? Ye : Ye ? [Ye] : [],
@@ -21330,13 +21330,13 @@ function ZO(e, n, i) {
21330
21330
  return H(In)(ut);
21331
21331
  }
21332
21332
  }
21333
- function H(pe) {
21334
- return F = pe, te = 0, pe.length === 0 ? Z : x(pe[te]);
21333
+ function H(de) {
21334
+ return F = de, te = 0, de.length === 0 ? Z : x(de[te]);
21335
21335
  }
21336
- function x(pe) {
21336
+ function x(de) {
21337
21337
  return Ne;
21338
21338
  function Ne(ut) {
21339
- return z = he(), me = pe, pe.partial || (d.currentConstruct = pe), pe.name && d.parser.constructs.disable.null.includes(pe.name) ? be() : pe.tokenize.call(
21339
+ return z = pe(), he = de, de.partial || (d.currentConstruct = de), de.name && d.parser.constructs.disable.null.includes(de.name) ? be() : de.tokenize.call(
21340
21340
  // If we do have fields, create an object w/ `context` as its
21341
21341
  // prototype.
21342
21342
  // This allows a “live binding”, which is needed for `interrupt`.
@@ -21347,10 +21347,10 @@ function ZO(e, n, i) {
21347
21347
  )(ut);
21348
21348
  }
21349
21349
  }
21350
- function ne(pe) {
21351
- return ie(me, z), fe;
21350
+ function ne(de) {
21351
+ return ie(he, z), fe;
21352
21352
  }
21353
- function be(pe) {
21353
+ function be(de) {
21354
21354
  return z.restore(), ++te < F.length ? x(F[te]) : Z;
21355
21355
  }
21356
21356
  }
@@ -21358,7 +21358,7 @@ function ZO(e, n, i) {
21358
21358
  function ce(ie, re) {
21359
21359
  ie.resolveAll && !s.includes(ie) && s.push(ie), ie.resolve && un(d.events, re, d.events.length - re, ie.resolve(d.events.slice(re), d)), ie.resolveTo && (d.events = ie.resolveTo(d.events, d));
21360
21360
  }
21361
- function he() {
21361
+ function pe() {
21362
21362
  const ie = E(), re = d.previous, le = d.currentConstruct, ae = d.events.length, fe = Array.from(h);
21363
21363
  return {
21364
21364
  from: ae,
@@ -21512,20 +21512,20 @@ function XO(e) {
21512
21512
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
21513
21513
  enter: {
21514
21514
  autolink: s(di),
21515
- autolinkProtocol: he,
21516
- autolinkEmail: he,
21515
+ autolinkProtocol: pe,
21516
+ autolinkEmail: pe,
21517
21517
  atxHeading: s(hi),
21518
21518
  blockQuote: s(sn),
21519
- characterEscape: he,
21520
- characterReference: he,
21519
+ characterEscape: pe,
21520
+ characterReference: pe,
21521
21521
  codeFenced: s(In),
21522
21522
  codeFencedFenceInfo: c,
21523
21523
  codeFencedFenceMeta: c,
21524
21524
  codeIndented: s(In, c),
21525
21525
  codeText: s(_a, c),
21526
- codeTextData: he,
21527
- data: he,
21528
- codeFlowValue: he,
21526
+ codeTextData: pe,
21527
+ data: pe,
21528
+ codeFlowValue: pe,
21529
21529
  definition: s(Il),
21530
21530
  definitionDestinationString: c,
21531
21531
  definitionLabelString: c,
@@ -21534,9 +21534,9 @@ function XO(e) {
21534
21534
  hardBreakEscape: s(pi),
21535
21535
  hardBreakTrailing: s(pi),
21536
21536
  htmlFlow: s(Bl, c),
21537
- htmlFlowData: he,
21537
+ htmlFlowData: pe,
21538
21538
  htmlText: s(Bl, c),
21539
- htmlTextData: he,
21539
+ htmlTextData: pe,
21540
21540
  image: s(Hl),
21541
21541
  label: c,
21542
21542
  link: s(di),
@@ -21555,7 +21555,7 @@ function XO(e) {
21555
21555
  },
21556
21556
  exit: {
21557
21557
  atxHeading: m(),
21558
- atxHeadingSequence: J,
21558
+ atxHeadingSequence: K,
21559
21559
  autolink: m(),
21560
21560
  autolinkEmail: Ye,
21561
21561
  autolinkProtocol: ut,
@@ -21563,19 +21563,19 @@ function XO(e) {
21563
21563
  characterEscapeValue: L,
21564
21564
  characterReferenceMarkerHexadecimal: be,
21565
21565
  characterReferenceMarkerNumeric: be,
21566
- characterReferenceValue: pe,
21566
+ characterReferenceValue: de,
21567
21567
  characterReference: Ne,
21568
- codeFenced: m(j),
21568
+ codeFenced: m(M),
21569
21569
  codeFencedFence: T,
21570
21570
  codeFencedFenceInfo: b,
21571
21571
  codeFencedFenceMeta: E,
21572
21572
  codeFlowValue: L,
21573
- codeIndented: m(C),
21573
+ codeIndented: m(O),
21574
21574
  codeText: m(fe),
21575
21575
  codeTextData: L,
21576
21576
  data: L,
21577
21577
  definition: m(),
21578
- definitionDestinationString: K,
21578
+ definitionDestinationString: J,
21579
21579
  definitionLabelString: B,
21580
21580
  definitionTitleString: w,
21581
21581
  emphasis: m(),
@@ -21586,7 +21586,7 @@ function XO(e) {
21586
21586
  htmlText: m(ae),
21587
21587
  htmlTextData: L,
21588
21588
  image: m(F),
21589
- label: me,
21589
+ label: he,
21590
21590
  labelText: te,
21591
21591
  lineEnding: ie,
21592
21592
  link: m(Z),
@@ -21765,11 +21765,11 @@ function XO(e) {
21765
21765
  function T() {
21766
21766
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
21767
21767
  }
21768
- function j() {
21768
+ function M() {
21769
21769
  const V = this.resume(), W = this.stack[this.stack.length - 1];
21770
21770
  W.value = V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
21771
21771
  }
21772
- function C() {
21772
+ function O() {
21773
21773
  const V = this.resume(), W = this.stack[this.stack.length - 1];
21774
21774
  W.value = V.replace(/(\r?\n|\r)$/g, "");
21775
21775
  }
@@ -21781,11 +21781,11 @@ function XO(e) {
21781
21781
  const V = this.resume(), W = this.stack[this.stack.length - 1];
21782
21782
  W.title = V;
21783
21783
  }
21784
- function K() {
21784
+ function J() {
21785
21785
  const V = this.resume(), W = this.stack[this.stack.length - 1];
21786
21786
  W.url = V;
21787
21787
  }
21788
- function J(V) {
21788
+ function K(V) {
21789
21789
  const W = this.stack[this.stack.length - 1];
21790
21790
  if (!W.depth) {
21791
21791
  const _e = this.sliceSerialize(V).length;
@@ -21802,7 +21802,7 @@ function XO(e) {
21802
21802
  function ce() {
21803
21803
  this.data.setextHeadingSlurpLineEnding = void 0;
21804
21804
  }
21805
- function he(V) {
21805
+ function pe(V) {
21806
21806
  const _e = this.stack[this.stack.length - 1].children;
21807
21807
  let Te = _e[_e.length - 1];
21808
21808
  (!Te || Te.type !== "text") && (Te = Dt(), Te.position = {
@@ -21822,7 +21822,7 @@ function XO(e) {
21822
21822
  _e.position.end = Dr(V.end), this.data.atHardBreak = void 0;
21823
21823
  return;
21824
21824
  }
21825
- !this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(W.type) && (he.call(this, V), L.call(this, V));
21825
+ !this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(W.type) && (pe.call(this, V), L.call(this, V));
21826
21826
  }
21827
21827
  function re() {
21828
21828
  this.data.atHardBreak = !0;
@@ -21861,7 +21861,7 @@ function XO(e) {
21861
21861
  const W = this.sliceSerialize(V), _e = this.stack[this.stack.length - 2];
21862
21862
  _e.label = VO(W), _e.identifier = On(W).toLowerCase();
21863
21863
  }
21864
- function me() {
21864
+ function he() {
21865
21865
  const V = this.stack[this.stack.length - 1], W = this.resume(), _e = this.stack[this.stack.length - 1];
21866
21866
  if (this.data.inReference = !0, _e.type === "link") {
21867
21867
  const Te = V.children;
@@ -21890,7 +21890,7 @@ function XO(e) {
21890
21890
  function be(V) {
21891
21891
  this.data.characterReferenceType = V.type;
21892
21892
  }
21893
- function pe(V) {
21893
+ function de(V) {
21894
21894
  const W = this.sliceSerialize(V), _e = this.data.characterReferenceType;
21895
21895
  let Te;
21896
21896
  _e ? (Te = a0(W, _e === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Te = mh(W);
@@ -22639,19 +22639,19 @@ function AC(e) {
22639
22639
  children: Array.isArray(B) ? B : [B]
22640
22640
  });
22641
22641
  }
22642
- const j = y[y.length - 1];
22643
- if (j && j.type === "element" && j.tagName === "p") {
22644
- const B = j.children[j.children.length - 1];
22645
- B && B.type === "text" ? B.value += " " : j.children.push({ type: "text", value: " " }), j.children.push(...E);
22642
+ const M = y[y.length - 1];
22643
+ if (M && M.type === "element" && M.tagName === "p") {
22644
+ const B = M.children[M.children.length - 1];
22645
+ B && B.type === "text" ? B.value += " " : M.children.push({ type: "text", value: " " }), M.children.push(...E);
22646
22646
  } else
22647
22647
  y.push(...E);
22648
- const C = {
22648
+ const O = {
22649
22649
  type: "element",
22650
22650
  tagName: "li",
22651
22651
  properties: { id: n + "fn-" + _ },
22652
22652
  children: e.wrap(y, !0)
22653
22653
  };
22654
- e.patch(d, C), h.push(C);
22654
+ e.patch(d, O), h.push(O);
22655
22655
  }
22656
22656
  if (h.length !== 0)
22657
22657
  return {
@@ -22794,18 +22794,18 @@ function E0(e, n, i, l) {
22794
22794
  }
22795
22795
  return _;
22796
22796
  function _() {
22797
- let b = x0, E, T, j;
22797
+ let b = x0, E, T, M;
22798
22798
  if ((!n || s(m, d, y[y.length - 1] || void 0)) && (b = UC(i(m, y)), b[0] === Yf))
22799
22799
  return b;
22800
22800
  if ("children" in m && m.children) {
22801
- const C = (
22801
+ const O = (
22802
22802
  /** @type {UnistParent} */
22803
22803
  m
22804
22804
  );
22805
- if (C.children && b[0] !== jC)
22806
- for (T = (l ? C.children.length : -1) + c, j = y.concat(C); T > -1 && T < C.children.length; ) {
22807
- const B = C.children[T];
22808
- if (E = h(B, T, j)(), E[0] === Yf)
22805
+ if (O.children && b[0] !== jC)
22806
+ for (T = (l ? O.children.length : -1) + c, M = y.concat(O); T > -1 && T < O.children.length; ) {
22807
+ const B = O.children[T];
22808
+ if (E = h(B, T, M)(), E[0] === Yf)
22809
22809
  return E;
22810
22810
  T = typeof E[1] == "number" ? E[1] : T + c;
22811
22811
  }
@@ -22852,8 +22852,8 @@ function LC(e, n) {
22852
22852
  return b(h, y, g);
22853
22853
  if (h.options.passThrough && h.options.passThrough.includes(_)) {
22854
22854
  if ("children" in y) {
22855
- const { children: T, ...j } = y, C = wo(j);
22856
- return C.children = h.all(y), C;
22855
+ const { children: T, ...M } = y, O = wo(M);
22856
+ return O.children = h.all(y), O;
22857
22857
  }
22858
22858
  return wo(y);
22859
22859
  }
@@ -22976,9 +22976,9 @@ function VC() {
22976
22976
  return d[y];
22977
22977
  };
22978
22978
  return vf = function m() {
22979
- var d, y, g, _, b, E, T = arguments[0], j = 1, C = arguments.length, B = !1;
22980
- for (typeof T == "boolean" && (B = T, T = arguments[1] || {}, j = 2), (T == null || typeof T != "object" && typeof T != "function") && (T = {}); j < C; ++j)
22981
- if (d = arguments[j], d != null)
22979
+ var d, y, g, _, b, E, T = arguments[0], M = 1, O = arguments.length, B = !1;
22980
+ for (typeof T == "boolean" && (B = T, T = arguments[1] || {}, M = 2), (T == null || typeof T != "object" && typeof T != "function") && (T = {}); M < O; ++M)
22981
+ if (d = arguments[M], d != null)
22982
22982
  for (y in d)
22983
22983
  g = h(T, y), _ = h(d, y), T !== _ && (B && _ && (s(_) || (b = o(_))) ? (b ? (b = !1, E = g && o(g) ? g : []) : E = g && s(g) ? g : {}, c(T, { name: y, newValue: m(B, E, _) })) : typeof _ < "u" && c(T, { name: y, newValue: _ }));
22984
22984
  return T;
@@ -24273,25 +24273,25 @@ function _4(e, n, i) {
24273
24273
  function m(d, y) {
24274
24274
  const g = y[y.length - 1], _ = s[c][0], b = s[c][1];
24275
24275
  let E = 0;
24276
- const j = g.children.indexOf(d);
24277
- let C = !1, B = [];
24276
+ const M = g.children.indexOf(d);
24277
+ let O = !1, B = [];
24278
24278
  _.lastIndex = 0;
24279
24279
  let w = _.exec(d.value);
24280
24280
  for (; w; ) {
24281
- const K = w.index, J = {
24281
+ const J = w.index, K = {
24282
24282
  index: w.index,
24283
24283
  input: w.input,
24284
24284
  stack: [...y, d]
24285
24285
  };
24286
- let D = b(...w, J);
24287
- if (typeof D == "string" && (D = D.length > 0 ? { type: "text", value: D } : void 0), D === !1 ? _.lastIndex = K + 1 : (E !== K && B.push({
24286
+ let D = b(...w, K);
24287
+ if (typeof D == "string" && (D = D.length > 0 ? { type: "text", value: D } : void 0), D === !1 ? _.lastIndex = J + 1 : (E !== J && B.push({
24288
24288
  type: "text",
24289
- value: d.value.slice(E, K)
24290
- }), Array.isArray(D) ? B.push(...D) : D && B.push(D), E = K + w[0].length, C = !0), !_.global)
24289
+ value: d.value.slice(E, J)
24290
+ }), Array.isArray(D) ? B.push(...D) : D && B.push(D), E = J + w[0].length, O = !0), !_.global)
24291
24291
  break;
24292
24292
  w = _.exec(d.value);
24293
24293
  }
24294
- return C ? (E < d.value.length && B.push({ type: "text", value: d.value.slice(E) }), g.children.splice(j, 1, ...B)) : B = [d], j + B.length;
24294
+ return O ? (E < d.value.length && B.push({ type: "text", value: d.value.slice(E) }), g.children.splice(M, 1, ...B)) : B = [d], M + B.length;
24295
24295
  }
24296
24296
  }
24297
24297
  function S4(e) {
@@ -24578,17 +24578,17 @@ function tN(e, n) {
24578
24578
  const i = n || {}, l = (i.align || []).concat(), o = i.stringLength || eN, s = [], c = [], h = [], m = [];
24579
24579
  let d = 0, y = -1;
24580
24580
  for (; ++y < e.length; ) {
24581
- const T = [], j = [];
24582
- let C = -1;
24583
- for (e[y].length > d && (d = e[y].length); ++C < e[y].length; ) {
24584
- const B = nN(e[y][C]);
24581
+ const T = [], M = [];
24582
+ let O = -1;
24583
+ for (e[y].length > d && (d = e[y].length); ++O < e[y].length; ) {
24584
+ const B = nN(e[y][O]);
24585
24585
  if (i.alignDelimiters !== !1) {
24586
24586
  const w = o(B);
24587
- j[C] = w, (m[C] === void 0 || w > m[C]) && (m[C] = w);
24587
+ M[O] = w, (m[O] === void 0 || w > m[O]) && (m[O] = w);
24588
24588
  }
24589
24589
  T.push(B);
24590
24590
  }
24591
- c[y] = T, h[y] = j;
24591
+ c[y] = T, h[y] = M;
24592
24592
  }
24593
24593
  let g = -1;
24594
24594
  if (typeof l == "object" && "length" in l)
@@ -24603,34 +24603,34 @@ function tN(e, n) {
24603
24603
  const _ = [], b = [];
24604
24604
  for (; ++g < d; ) {
24605
24605
  const T = s[g];
24606
- let j = "", C = "";
24607
- T === 99 ? (j = ":", C = ":") : T === 108 ? j = ":" : T === 114 && (C = ":");
24606
+ let M = "", O = "";
24607
+ T === 99 ? (M = ":", O = ":") : T === 108 ? M = ":" : T === 114 && (O = ":");
24608
24608
  let B = i.alignDelimiters === !1 ? 1 : Math.max(
24609
24609
  1,
24610
- m[g] - j.length - C.length
24610
+ m[g] - M.length - O.length
24611
24611
  );
24612
- const w = j + "-".repeat(B) + C;
24613
- i.alignDelimiters !== !1 && (B = j.length + B + C.length, B > m[g] && (m[g] = B), b[g] = B), _[g] = w;
24612
+ const w = M + "-".repeat(B) + O;
24613
+ i.alignDelimiters !== !1 && (B = M.length + B + O.length, B > m[g] && (m[g] = B), b[g] = B), _[g] = w;
24614
24614
  }
24615
24615
  c.splice(1, 0, _), h.splice(1, 0, b), y = -1;
24616
24616
  const E = [];
24617
24617
  for (; ++y < c.length; ) {
24618
- const T = c[y], j = h[y];
24618
+ const T = c[y], M = h[y];
24619
24619
  g = -1;
24620
- const C = [];
24620
+ const O = [];
24621
24621
  for (; ++g < d; ) {
24622
24622
  const B = T[g] || "";
24623
- let w = "", K = "";
24623
+ let w = "", J = "";
24624
24624
  if (i.alignDelimiters !== !1) {
24625
- const J = m[g] - (j[g] || 0), D = s[g];
24626
- D === 114 ? w = " ".repeat(J) : D === 99 ? J % 2 ? (w = " ".repeat(J / 2 + 0.5), K = " ".repeat(J / 2 - 0.5)) : (w = " ".repeat(J / 2), K = w) : K = " ".repeat(J);
24625
+ const K = m[g] - (M[g] || 0), D = s[g];
24626
+ D === 114 ? w = " ".repeat(K) : D === 99 ? K % 2 ? (w = " ".repeat(K / 2 + 0.5), J = " ".repeat(K / 2 - 0.5)) : (w = " ".repeat(K / 2), J = w) : J = " ".repeat(K);
24627
24627
  }
24628
- i.delimiterStart !== !1 && !g && C.push("|"), i.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
24628
+ i.delimiterStart !== !1 && !g && O.push("|"), i.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
24629
24629
  // empty: there will be a closing space.
24630
- !(i.alignDelimiters === !1 && B === "") && (i.delimiterStart !== !1 || g) && C.push(" "), i.alignDelimiters !== !1 && C.push(w), C.push(B), i.alignDelimiters !== !1 && C.push(K), i.padding !== !1 && C.push(" "), (i.delimiterEnd !== !1 || g !== d - 1) && C.push("|");
24630
+ !(i.alignDelimiters === !1 && B === "") && (i.delimiterStart !== !1 || g) && O.push(" "), i.alignDelimiters !== !1 && O.push(w), O.push(B), i.alignDelimiters !== !1 && O.push(J), i.padding !== !1 && O.push(" "), (i.delimiterEnd !== !1 || g !== d - 1) && O.push("|");
24631
24631
  }
24632
24632
  E.push(
24633
- i.delimiterEnd === !1 ? C.join("").replace(/ +$/, "") : C.join("")
24633
+ i.delimiterEnd === !1 ? O.join("").replace(/ +$/, "") : O.join("")
24634
24634
  );
24635
24635
  }
24636
24636
  return E.join(`
@@ -25319,21 +25319,21 @@ function HN(e) {
25319
25319
  tableRow: h
25320
25320
  }
25321
25321
  };
25322
- function c(b, E, T, j) {
25323
- return d(y(b, T, j), b.align);
25322
+ function c(b, E, T, M) {
25323
+ return d(y(b, T, M), b.align);
25324
25324
  }
25325
- function h(b, E, T, j) {
25326
- const C = g(b, T, j), B = d([C]);
25325
+ function h(b, E, T, M) {
25326
+ const O = g(b, T, M), B = d([O]);
25327
25327
  return B.slice(0, B.indexOf(`
25328
25328
  `));
25329
25329
  }
25330
- function m(b, E, T, j) {
25331
- const C = T.enter("tableCell"), B = T.enter("phrasing"), w = T.containerPhrasing(b, {
25332
- ...j,
25330
+ function m(b, E, T, M) {
25331
+ const O = T.enter("tableCell"), B = T.enter("phrasing"), w = T.containerPhrasing(b, {
25332
+ ...M,
25333
25333
  before: s,
25334
25334
  after: s
25335
25335
  });
25336
- return B(), C(), w;
25336
+ return B(), O(), w;
25337
25337
  }
25338
25338
  function d(b, E) {
25339
25339
  return tN(b, {
@@ -25347,24 +25347,24 @@ function HN(e) {
25347
25347
  });
25348
25348
  }
25349
25349
  function y(b, E, T) {
25350
- const j = b.children;
25351
- let C = -1;
25350
+ const M = b.children;
25351
+ let O = -1;
25352
25352
  const B = [], w = E.enter("table");
25353
- for (; ++C < j.length; )
25354
- B[C] = g(j[C], E, T);
25353
+ for (; ++O < M.length; )
25354
+ B[O] = g(M[O], E, T);
25355
25355
  return w(), B;
25356
25356
  }
25357
25357
  function g(b, E, T) {
25358
- const j = b.children;
25359
- let C = -1;
25358
+ const M = b.children;
25359
+ let O = -1;
25360
25360
  const B = [], w = E.enter("tableRow");
25361
- for (; ++C < j.length; )
25362
- B[C] = m(j[C], b, E, T);
25361
+ for (; ++O < M.length; )
25362
+ B[O] = m(M[O], b, E, T);
25363
25363
  return w(), B;
25364
25364
  }
25365
25365
  function _(b, E, T) {
25366
- let j = I0.inlineCode(b, E, T);
25367
- return T.stack.includes("tableCell") && (j = j.replace(/\|/g, "\\$&")), j;
25366
+ let M = I0.inlineCode(b, E, T);
25367
+ return T.stack.includes("tableCell") && (M = M.replace(/\|/g, "\\$&")), M;
25368
25368
  }
25369
25369
  }
25370
25370
  function qN() {
@@ -25869,8 +25869,8 @@ function dD(e) {
25869
25869
  if (E === 126)
25870
25870
  return g > 1 ? m(E) : (c.consume(E), g++, b);
25871
25871
  if (g < 2 && !i) return m(E);
25872
- const j = c.exit("strikethroughSequenceTemporary"), C = da(E);
25873
- return j._open = !C || C === 2 && !!T, j._close = !T || T === 2 && !!C, h(E);
25872
+ const M = c.exit("strikethroughSequenceTemporary"), O = da(E);
25873
+ return M._open = !O || O === 2 && !!T, M._close = !T || T === 2 && !!O, h(E);
25874
25874
  }
25875
25875
  }
25876
25876
  }
@@ -26007,27 +26007,27 @@ function bD(e, n, i) {
26007
26007
  return l.interrupt = !1, l.parser.lazy[l.now().line] ? i(L) : (e.enter("tableDelimiterRow"), c = !1, Ce(L) ? Ze(e, E, "linePrefix", l.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : E(L));
26008
26008
  }
26009
26009
  function E(L) {
26010
- return L === 45 || L === 58 ? j(L) : L === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(L), e.exit("tableCellDivider"), T) : J(L);
26010
+ return L === 45 || L === 58 ? M(L) : L === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(L), e.exit("tableCellDivider"), T) : K(L);
26011
26011
  }
26012
26012
  function T(L) {
26013
- return Ce(L) ? Ze(e, j, "whitespace")(L) : j(L);
26013
+ return Ce(L) ? Ze(e, M, "whitespace")(L) : M(L);
26014
26014
  }
26015
- function j(L) {
26016
- return L === 58 ? (s += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(L), e.exit("tableDelimiterMarker"), C) : L === 45 ? (s += 1, C(L)) : L === null || ge(L) ? K(L) : J(L);
26015
+ function M(L) {
26016
+ return L === 58 ? (s += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(L), e.exit("tableDelimiterMarker"), O) : L === 45 ? (s += 1, O(L)) : L === null || ge(L) ? J(L) : K(L);
26017
26017
  }
26018
- function C(L) {
26019
- return L === 45 ? (e.enter("tableDelimiterFiller"), B(L)) : J(L);
26018
+ function O(L) {
26019
+ return L === 45 ? (e.enter("tableDelimiterFiller"), B(L)) : K(L);
26020
26020
  }
26021
26021
  function B(L) {
26022
26022
  return L === 45 ? (e.consume(L), B) : L === 58 ? (c = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(L), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(L));
26023
26023
  }
26024
26024
  function w(L) {
26025
- return Ce(L) ? Ze(e, K, "whitespace")(L) : K(L);
26026
- }
26027
- function K(L) {
26028
- return L === 124 ? E(L) : L === null || ge(L) ? !c || o !== s ? J(L) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(L)) : J(L);
26025
+ return Ce(L) ? Ze(e, J, "whitespace")(L) : J(L);
26029
26026
  }
26030
26027
  function J(L) {
26028
+ return L === 124 ? E(L) : L === null || ge(L) ? !c || o !== s ? K(L) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(L)) : K(L);
26029
+ }
26030
+ function K(L) {
26031
26031
  return i(L);
26032
26032
  }
26033
26033
  function D(L) {
@@ -26037,9 +26037,9 @@ function bD(e, n, i) {
26037
26037
  return L === 124 ? (e.enter("tableCellDivider"), e.consume(L), e.exit("tableCellDivider"), X) : L === null || ge(L) ? (e.exit("tableRow"), n(L)) : Ce(L) ? Ze(e, X, "whitespace")(L) : (e.enter("data"), ce(L));
26038
26038
  }
26039
26039
  function ce(L) {
26040
- return L === null || L === 124 || Ke(L) ? (e.exit("data"), X(L)) : (e.consume(L), L === 92 ? he : ce);
26040
+ return L === null || L === 124 || Ke(L) ? (e.exit("data"), X(L)) : (e.consume(L), L === 92 ? pe : ce);
26041
26041
  }
26042
- function he(L) {
26042
+ function pe(L) {
26043
26043
  return L === 92 || L === 124 ? (e.consume(L), ce) : ce(L);
26044
26044
  }
26045
26045
  }
@@ -26389,22 +26389,26 @@ function J0({
26389
26389
  actions: h,
26390
26390
  theme: m
26391
26391
  }) {
26392
- const [d, y] = we.useState(o === "chat"), g = we.useRef(/* @__PURE__ */ new Set()), [_, b] = we.useState(null), [E, T] = we.useState("english"), [j, C] = we.useState(null), B = we.useMemo(() => MD(i), [i]), w = we.useMemo(() => RD(i), [i]), K = B ? `messages-${B}` : "messages", J = hf[E] || hf.english, D = n || "Need any help?", [X] = we.useState(() => {
26393
- const te = sessionStorage.getItem(K);
26392
+ const [d, y] = we.useState(o === "chat"), [g, _] = we.useState(null), [b, E] = we.useState("english"), [T, M] = we.useState(null), O = we.useMemo(() => MD(i), [i]), B = we.useMemo(() => RD(i), [i]), w = O ? `messages-${O}` : "messages", J = hf[b] || hf.english, K = n || "Need any help?", [D] = we.useState(() => {
26393
+ const te = sessionStorage.getItem(w);
26394
26394
  if (te)
26395
26395
  try {
26396
- const me = JSON.parse(te);
26397
- if (Array.isArray(me) && me.length > 0) return me;
26396
+ const he = JSON.parse(te);
26397
+ if (Array.isArray(he) && he.length > 0) return he;
26398
26398
  } catch {
26399
26399
  }
26400
26400
  return [
26401
26401
  {
26402
26402
  id: "greeting",
26403
26403
  role: "assistant",
26404
- parts: [{ type: "text", text: D }]
26404
+ parts: [{ type: "text", text: K }]
26405
26405
  }
26406
26406
  ];
26407
- }), ce = we.useMemo(
26407
+ }), X = we.useRef(new Set(
26408
+ D.flatMap(
26409
+ (te) => te.parts.filter((he) => he.type.startsWith("tool-")).map((he) => he.toolCallId).filter(Boolean)
26410
+ )
26411
+ )), ce = we.useMemo(
26408
26412
  () => new Hb({
26409
26413
  api: i,
26410
26414
  headers: {
@@ -26414,46 +26418,46 @@ function J0({
26414
26418
  body: {
26415
26419
  ...c ? { context: c } : {},
26416
26420
  ...h ? {
26417
- actions: h.map(({ name: te, description: me, parameters: z }) => ({
26421
+ actions: h.map(({ name: te, description: he, parameters: z }) => ({
26418
26422
  name: te,
26419
- description: me,
26423
+ description: he,
26420
26424
  parameters: z
26421
26425
  }))
26422
26426
  } : {}
26423
26427
  }
26424
26428
  }),
26425
26429
  [i, l, s, c, h]
26426
- ), { messages: he, sendMessage: L, status: ie, stop: re } = VT({
26427
- id: B || "widget",
26428
- messages: X,
26430
+ ), { messages: pe, sendMessage: L, status: ie, stop: re } = VT({
26431
+ id: O || "widget",
26432
+ messages: D,
26429
26433
  transport: ce,
26430
26434
  onError: () => {
26431
- C("Agent not available. Please try again.");
26435
+ M("Agent not available. Please try again.");
26432
26436
  }
26433
26437
  });
26434
26438
  we.useEffect(() => {
26435
- he.length > 0 && sessionStorage.setItem(
26436
- K,
26439
+ pe.length > 0 && sessionStorage.setItem(
26440
+ w,
26437
26441
  JSON.stringify(
26438
- he.map((te) => ({ id: te.id, role: te.role, parts: te.parts }))
26442
+ pe.map((te) => ({ id: te.id, role: te.role, parts: te.parts }))
26439
26443
  )
26440
26444
  );
26441
- }, [he, K]), we.useEffect(() => {
26445
+ }, [pe, w]), we.useEffect(() => {
26442
26446
  if (!(!h || h.length === 0)) {
26443
- for (const te of he)
26444
- for (const me of te.parts)
26445
- if (me.type.startsWith("tool-")) {
26446
- const z = me, A = z.toolName || me.type.slice(5);
26447
+ for (const te of pe)
26448
+ for (const he of te.parts)
26449
+ if (he.type.startsWith("tool-")) {
26450
+ const z = he, A = z.toolName || he.type.slice(5);
26447
26451
  if (console.log("[agentsgt-widget] Tool part detected:", {
26448
- type: me.type,
26452
+ type: he.type,
26449
26453
  toolName: A,
26450
26454
  state: z.state,
26451
26455
  toolCallId: z.toolCallId,
26452
26456
  input: z.input
26453
- }), z.state === "output-available" && !g.current.has(z.toolCallId)) {
26457
+ }), z.state === "output-available" && !X.current.has(z.toolCallId)) {
26454
26458
  const H = h.find((x) => x.name === A);
26455
26459
  if (H) {
26456
- console.log(`[agentsgt-widget] Executing action "${A}"`, z.input), g.current.add(z.toolCallId);
26460
+ console.log(`[agentsgt-widget] Executing action "${A}"`, z.input), X.current.add(z.toolCallId);
26457
26461
  try {
26458
26462
  H.handler(z.input);
26459
26463
  } catch (x) {
@@ -26464,14 +26468,14 @@ function J0({
26464
26468
  }
26465
26469
  }
26466
26470
  }
26467
- }, [he, h]), we.useEffect(() => {
26468
- he.length > 1 && C(null);
26469
- }, [he.length]), we.useEffect(() => {
26470
- B && (async () => {
26471
+ }, [pe, h]), we.useEffect(() => {
26472
+ pe.length > 1 && M(null);
26473
+ }, [pe.length]), we.useEffect(() => {
26474
+ O && (async () => {
26471
26475
  var te;
26472
26476
  try {
26473
- const me = await fetch(
26474
- `${w}/api/v1/agents/agent/${B}`,
26477
+ const he = await fetch(
26478
+ `${B}/api/v1/agents/agent/${O}`,
26475
26479
  {
26476
26480
  headers: {
26477
26481
  Authorization: `Bearer ${l}`,
@@ -26479,19 +26483,19 @@ function J0({
26479
26483
  }
26480
26484
  }
26481
26485
  );
26482
- if (me.ok) {
26483
- const z = await me.json();
26484
- b(z.data);
26486
+ if (he.ok) {
26487
+ const z = await he.json();
26488
+ _(z.data);
26485
26489
  const A = ((te = z.data.language) == null ? void 0 : te.toLowerCase()) || "english", H = Object.keys(hf);
26486
- T(
26490
+ E(
26487
26491
  H.includes(A) ? A : "english"
26488
26492
  );
26489
26493
  }
26490
26494
  } catch {
26491
- T("english");
26495
+ E("english");
26492
26496
  }
26493
26497
  })();
26494
- }, [B, w, l]), we.useEffect(() => {
26498
+ }, [O, B, l]), we.useEffect(() => {
26495
26499
  m != null && m.primaryColor && document.documentElement.style.setProperty(
26496
26500
  "--agt-primary",
26497
26501
  m.primaryColor
@@ -26499,17 +26503,17 @@ function J0({
26499
26503
  }, [m]);
26500
26504
  const le = ie === "streaming" || ie === "submitted", ae = we.useCallback(
26501
26505
  (te) => {
26502
- C(null), L({ text: te });
26506
+ M(null), L({ text: te });
26503
26507
  },
26504
26508
  [L]
26505
- ), fe = e || (_ == null ? void 0 : _.name) || (J == null ? void 0 : J.title) || "Assistant", Z = (J == null ? void 0 : J.placeholder) || "Type your message...", F = /* @__PURE__ */ P.jsxs("div", { className: "agt-widget", children: [
26509
+ ), fe = e || (g == null ? void 0 : g.name) || (J == null ? void 0 : J.title) || "Assistant", Z = (J == null ? void 0 : J.placeholder) || "Type your message...", F = /* @__PURE__ */ P.jsxs("div", { className: "agt-widget", children: [
26506
26510
  /* @__PURE__ */ P.jsx(
26507
26511
  ND,
26508
26512
  {
26509
- messages: he,
26513
+ messages: pe,
26510
26514
  status: ie,
26511
26515
  isLoading: le,
26512
- errorMessage: j
26516
+ errorMessage: T
26513
26517
  }
26514
26518
  ),
26515
26519
  /* @__PURE__ */ P.jsx(