@chatsystem/client 1.1.28 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -59,7 +59,7 @@ var Ai;
59
59
  function Fl() {
60
60
  if (Ai) return be;
61
61
  Ai = 1;
62
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
62
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
63
63
  function N(x) {
64
64
  if (typeof x == "object" && x !== null) {
65
65
  var I = x.$$typeof;
@@ -78,7 +78,7 @@ function Fl() {
78
78
  case o:
79
79
  case f:
80
80
  case y:
81
- case h:
81
+ case m:
82
82
  case u:
83
83
  return x;
84
84
  default:
@@ -93,7 +93,7 @@ function Fl() {
93
93
  function D(x) {
94
94
  return N(x) === c;
95
95
  }
96
- return be.AsyncMode = l, be.ConcurrentMode = c, be.ContextConsumer = o, be.ContextProvider = u, be.Element = t, be.ForwardRef = f, be.Fragment = r, be.Lazy = y, be.Memo = h, be.Portal = n, be.Profiler = i, be.StrictMode = a, be.Suspense = d, be.isAsyncMode = function(x) {
96
+ return be.AsyncMode = l, be.ConcurrentMode = c, be.ContextConsumer = o, be.ContextProvider = u, be.Element = t, be.ForwardRef = f, be.Fragment = r, be.Lazy = y, be.Memo = m, be.Portal = n, be.Profiler = i, be.StrictMode = a, be.Suspense = d, be.isAsyncMode = function(x) {
97
97
  return D(x) || N(x) === l;
98
98
  }, be.isConcurrentMode = D, be.isContextConsumer = function(x) {
99
99
  return N(x) === o;
@@ -108,7 +108,7 @@ function Fl() {
108
108
  }, be.isLazy = function(x) {
109
109
  return N(x) === y;
110
110
  }, be.isMemo = function(x) {
111
- return N(x) === h;
111
+ return N(x) === m;
112
112
  }, be.isPortal = function(x) {
113
113
  return N(x) === n;
114
114
  }, be.isProfiler = function(x) {
@@ -118,7 +118,7 @@ function Fl() {
118
118
  }, be.isSuspense = function(x) {
119
119
  return N(x) === d;
120
120
  }, be.isValidElementType = function(x) {
121
- return typeof x == "string" || typeof x == "function" || x === r || x === c || x === i || x === a || x === d || x === m || typeof x == "object" && x !== null && (x.$$typeof === y || x.$$typeof === h || x.$$typeof === u || x.$$typeof === o || x.$$typeof === f || x.$$typeof === L || x.$$typeof === S || x.$$typeof === R || x.$$typeof === A);
121
+ return typeof x == "string" || typeof x == "function" || x === r || x === c || x === i || x === a || x === d || x === h || typeof x == "object" && x !== null && (x.$$typeof === y || x.$$typeof === m || x.$$typeof === u || x.$$typeof === o || x.$$typeof === f || x.$$typeof === L || x.$$typeof === S || x.$$typeof === R || x.$$typeof === A);
122
122
  }, be.typeOf = N, be;
123
123
  }
124
124
  var Te = {};
@@ -133,10 +133,10 @@ var Te = {};
133
133
  var _i;
134
134
  function Hl() {
135
135
  return _i || (_i = 1, process.env.NODE_ENV !== "production" && (function() {
136
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
136
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
137
137
  function N(U) {
138
138
  return typeof U == "string" || typeof U == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
139
- U === r || U === c || U === i || U === a || U === d || U === m || typeof U == "object" && U !== null && (U.$$typeof === y || U.$$typeof === h || U.$$typeof === u || U.$$typeof === o || U.$$typeof === f || U.$$typeof === L || U.$$typeof === S || U.$$typeof === R || U.$$typeof === A);
139
+ U === r || U === c || U === i || U === a || U === d || U === h || typeof U == "object" && U !== null && (U.$$typeof === y || U.$$typeof === m || U.$$typeof === u || U.$$typeof === o || U.$$typeof === f || U.$$typeof === L || U.$$typeof === S || U.$$typeof === R || U.$$typeof === A);
140
140
  }
141
141
  function D(U) {
142
142
  if (typeof U == "object" && U !== null) {
@@ -158,7 +158,7 @@ function Hl() {
158
158
  case o:
159
159
  case f:
160
160
  case y:
161
- case h:
161
+ case m:
162
162
  case u:
163
163
  return xe;
164
164
  default:
@@ -170,7 +170,7 @@ function Hl() {
170
170
  }
171
171
  }
172
172
  }
173
- var x = l, I = c, q = o, ue = u, te = t, Y = f, M = r, w = y, G = h, $ = n, W = i, se = a, me = d, ve = !1;
173
+ var x = l, I = c, q = o, ue = u, te = t, Y = f, M = r, w = y, G = m, $ = n, W = i, se = a, me = d, ve = !1;
174
174
  function Le(U) {
175
175
  return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(U) || D(U) === l;
176
176
  }
@@ -196,7 +196,7 @@ function Hl() {
196
196
  return D(U) === y;
197
197
  }
198
198
  function Q(U) {
199
- return D(U) === h;
199
+ return D(U) === m;
200
200
  }
201
201
  function ee(U) {
202
202
  return D(U) === n;
@@ -259,12 +259,12 @@ function Ul() {
259
259
  function u(y) {
260
260
  return e.isMemo(y) ? a : i[y.$$typeof] || t;
261
261
  }
262
- var o = Object.defineProperty, l = Object.getOwnPropertyNames, c = Object.getOwnPropertySymbols, f = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, m = Object.prototype;
263
- function h(y, A, L) {
262
+ var o = Object.defineProperty, l = Object.getOwnPropertyNames, c = Object.getOwnPropertySymbols, f = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, h = Object.prototype;
263
+ function m(y, A, L) {
264
264
  if (typeof A != "string") {
265
- if (m) {
265
+ if (h) {
266
266
  var S = d(A);
267
- S && S !== m && h(y, S, L);
267
+ S && S !== h && m(y, S, L);
268
268
  }
269
269
  var R = l(A);
270
270
  c && (R = R.concat(c(A)));
@@ -281,7 +281,7 @@ function Ul() {
281
281
  }
282
282
  return y;
283
283
  }
284
- return Mr = h, Mr;
284
+ return Mr = m, Mr;
285
285
  }
286
286
  Ul();
287
287
  function ls(e, t, n) {
@@ -446,8 +446,8 @@ var jl = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
446
446
  function Vl(e) {
447
447
  if (e.length === 0)
448
448
  throw new Error("Number skeleton cannot be empty");
449
- for (var t = e.split(jl).filter(function(m) {
450
- return m.length > 0;
449
+ for (var t = e.split(jl).filter(function(h) {
450
+ return h.length > 0;
451
451
  }), n = [], r = 0, a = t; r < a.length; r++) {
452
452
  var i = a[r], u = i.split("/");
453
453
  if (u.length === 0)
@@ -617,13 +617,13 @@ function Ql(e) {
617
617
  case "integer-width":
618
618
  if (a.options.length > 1)
619
619
  throw new RangeError("integer-width stems only accept a single optional option");
620
- a.options[0].replace(Wl, function(l, c, f, d, m, h) {
620
+ a.options[0].replace(Wl, function(l, c, f, d, h, m) {
621
621
  if (c)
622
622
  t.minimumIntegerDigits = f.length;
623
623
  else {
624
- if (d && m)
624
+ if (d && h)
625
625
  throw new Error("We currently do not support maximum integer digits");
626
- if (h)
626
+ if (m)
627
627
  throw new Error("We currently do not support exact integer digits");
628
628
  }
629
629
  return "";
@@ -637,8 +637,8 @@ function Ql(e) {
637
637
  if (xi.test(a.stem)) {
638
638
  if (a.options.length > 1)
639
639
  throw new RangeError("Fraction-precision stems only accept a single optional option");
640
- a.stem.replace(xi, function(l, c, f, d, m, h) {
641
- return f === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && h ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + h.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
640
+ a.stem.replace(xi, function(l, c, f, d, h, m) {
641
+ return f === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
642
642
  });
643
643
  var i = a.options[0];
644
644
  i === "w" ? t = j(j({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = j(j({}, t), Ii(i)));
@@ -2406,11 +2406,11 @@ var dc = (
2406
2406
  var f = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2407
2407
  if (d.err)
2408
2408
  return d;
2409
- var m = fc(d.val);
2410
- if (m.length === 0)
2409
+ var h = fc(d.val);
2410
+ if (h.length === 0)
2411
2411
  return this.error(fe.EXPECT_ARGUMENT_STYLE, de(this.clonePosition(), this.clonePosition()));
2412
- var h = de(f, this.clonePosition());
2413
- c = { style: m, styleLocation: h };
2412
+ var m = de(f, this.clonePosition());
2413
+ c = { style: h, styleLocation: m };
2414
2414
  }
2415
2415
  var y = this.tryParseArgumentClose(a);
2416
2416
  if (y.err)
@@ -2429,14 +2429,14 @@ var dc = (
2429
2429
  return this.error(fe.EXPECT_DATE_TIME_SKELETON, A);
2430
2430
  var S = L;
2431
2431
  this.locale && (S = Kl(L, this.locale));
2432
- var m = {
2432
+ var h = {
2433
2433
  type: an.dateTime,
2434
2434
  pattern: S,
2435
2435
  location: c.styleLocation,
2436
2436
  parsedOptions: this.shouldParseSkeletons ? zl(S) : {}
2437
2437
  }, R = o === "date" ? Oe.date : Oe.time;
2438
2438
  return {
2439
- val: { type: R, value: r, location: A, style: m },
2439
+ val: { type: R, value: r, location: A, style: h },
2440
2440
  err: null
2441
2441
  };
2442
2442
  }
@@ -2556,9 +2556,9 @@ var dc = (
2556
2556
  if (c.length === 0) {
2557
2557
  var d = this.clonePosition();
2558
2558
  if (n !== "select" && this.bumpIf("=")) {
2559
- var m = this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_SELECTOR, fe.INVALID_PLURAL_ARGUMENT_SELECTOR);
2560
- if (m.err)
2561
- return m;
2559
+ var h = this.tryParseDecimalInteger(fe.EXPECT_PLURAL_ARGUMENT_SELECTOR, fe.INVALID_PLURAL_ARGUMENT_SELECTOR);
2560
+ if (h.err)
2561
+ return h;
2562
2562
  f = de(d, this.clonePosition()), c = this.message.slice(d.offset, this.offset());
2563
2563
  } else
2564
2564
  break;
@@ -2566,20 +2566,20 @@ var dc = (
2566
2566
  if (l.has(c))
2567
2567
  return this.error(n === "select" ? fe.DUPLICATE_SELECT_ARGUMENT_SELECTOR : fe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2568
2568
  c === "other" && (u = !0), this.bumpSpace();
2569
- var h = this.clonePosition();
2569
+ var m = this.clonePosition();
2570
2570
  if (!this.bumpIf("{"))
2571
2571
  return this.error(n === "select" ? fe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : fe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, de(this.clonePosition(), this.clonePosition()));
2572
2572
  var y = this.parseMessage(t + 1, n, r);
2573
2573
  if (y.err)
2574
2574
  return y;
2575
- var A = this.tryParseArgumentClose(h);
2575
+ var A = this.tryParseArgumentClose(m);
2576
2576
  if (A.err)
2577
2577
  return A;
2578
2578
  o.push([
2579
2579
  c,
2580
2580
  {
2581
2581
  value: y.val,
2582
- location: de(h, this.clonePosition())
2582
+ location: de(m, this.clonePosition())
2583
2583
  }
2584
2584
  ]), l.add(c), this.bumpSpace(), i = this.parseIdentifierIfPossible(), c = i.value, f = i.location;
2585
2585
  }
@@ -2822,35 +2822,35 @@ function nr(e, t, n, r, a, i, u) {
2822
2822
  var d = f.value;
2823
2823
  if (!(a && d in a))
2824
2824
  throw new Cc(d, u);
2825
- var m = a[d];
2825
+ var h = a[d];
2826
2826
  if ($l(f)) {
2827
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
2828
- type: typeof m == "string" ? je.literal : je.object,
2829
- value: m
2827
+ (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), o.push({
2828
+ type: typeof h == "string" ? je.literal : je.object,
2829
+ value: h
2830
2830
  });
2831
2831
  continue;
2832
2832
  }
2833
2833
  if (fs(f)) {
2834
- var h = typeof f.style == "string" ? r.date[f.style] : Ea(f.style) ? f.style.parsedOptions : void 0;
2834
+ var m = typeof f.style == "string" ? r.date[f.style] : Ea(f.style) ? f.style.parsedOptions : void 0;
2835
2835
  o.push({
2836
2836
  type: je.literal,
2837
- value: n.getDateTimeFormat(t, h).format(m)
2837
+ value: n.getDateTimeFormat(t, m).format(h)
2838
2838
  });
2839
2839
  continue;
2840
2840
  }
2841
2841
  if (ds(f)) {
2842
- var h = typeof f.style == "string" ? r.time[f.style] : Ea(f.style) ? f.style.parsedOptions : r.time.medium;
2842
+ var m = typeof f.style == "string" ? r.time[f.style] : Ea(f.style) ? f.style.parsedOptions : r.time.medium;
2843
2843
  o.push({
2844
2844
  type: je.literal,
2845
- value: n.getDateTimeFormat(t, h).format(m)
2845
+ value: n.getDateTimeFormat(t, m).format(h)
2846
2846
  });
2847
2847
  continue;
2848
2848
  }
2849
2849
  if (cs(f)) {
2850
- var h = typeof f.style == "string" ? r.number[f.style] : Es(f.style) ? f.style.parsedOptions : void 0;
2851
- h && h.scale && (m = m * (h.scale || 1)), o.push({
2850
+ var m = typeof f.style == "string" ? r.number[f.style] : Es(f.style) ? f.style.parsedOptions : void 0;
2851
+ m && m.scale && (h = h * (m.scale || 1)), o.push({
2852
2852
  type: je.literal,
2853
- value: n.getNumberFormat(t, h).format(m)
2853
+ value: n.getNumberFormat(t, m).format(h)
2854
2854
  });
2855
2855
  continue;
2856
2856
  }
@@ -2869,25 +2869,25 @@ function nr(e, t, n, r, a, i, u) {
2869
2869
  }));
2870
2870
  }
2871
2871
  if (hs(f)) {
2872
- var N = f.options[m] || f.options.other;
2872
+ var N = f.options[h] || f.options.other;
2873
2873
  if (!N)
2874
- throw new vi(f.value, m, Object.keys(f.options), u);
2874
+ throw new vi(f.value, h, Object.keys(f.options), u);
2875
2875
  o.push.apply(o, nr(N.value, t, n, r, a));
2876
2876
  continue;
2877
2877
  }
2878
2878
  if (ms(f)) {
2879
- var N = f.options["=".concat(m)];
2879
+ var N = f.options["=".concat(h)];
2880
2880
  if (!N) {
2881
2881
  if (!Intl.PluralRules)
2882
2882
  throw new Lt(`Intl.PluralRules is not available in this environment.
2883
2883
  Try polyfilling it using "@formatjs/intl-pluralrules"
2884
2884
  `, bt.MISSING_INTL_API, u);
2885
- var D = n.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
2885
+ var D = n.getPluralRules(t, { type: f.pluralType }).select(h - (f.offset || 0));
2886
2886
  N = f.options[D] || f.options.other;
2887
2887
  }
2888
2888
  if (!N)
2889
- throw new vi(f.value, m, Object.keys(f.options), u);
2890
- o.push.apply(o, nr(N.value, t, n, r, a, m - (f.offset || 0)));
2889
+ throw new vi(f.value, h, Object.keys(f.options), u);
2890
+ o.push.apply(o, nr(N.value, t, n, r, a, h - (f.offset || 0)));
2891
2891
  continue;
2892
2892
  }
2893
2893
  }
@@ -2962,8 +2962,8 @@ var Ns = (
2962
2962
  var c = i.formatToParts(l);
2963
2963
  if (c.length === 1)
2964
2964
  return c[0].value;
2965
- var f = c.reduce(function(d, m) {
2966
- return !d.length || m.type !== je.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
2965
+ var f = c.reduce(function(d, h) {
2966
+ return !d.length || h.type !== je.literal || typeof d[d.length - 1] != "string" ? d.push(h.value) : d[d.length - 1] += h.value, d;
2967
2967
  }, []);
2968
2968
  return f.length <= 1 ? f[0] || "" : f;
2969
2969
  }, this.formatToParts = function(l) {
@@ -3275,7 +3275,7 @@ function ki(e, t) {
3275
3275
  return j(j(j({}, n), e), { date: Di(Wn(n.date, t), Wn(e.date || {}, t)), time: Di(Wn(n.time, t), Wn(e.time || {}, t)) });
3276
3276
  }
3277
3277
  var ya = function(e, t, n, r, a) {
3278
- var i = e.locale, u = e.formats, o = e.messages, l = e.defaultLocale, c = e.defaultFormats, f = e.fallbackOnEmptyString, d = e.onError, m = e.timeZone, h = e.defaultRichTextElements;
3278
+ var i = e.locale, u = e.formats, o = e.messages, l = e.defaultLocale, c = e.defaultFormats, f = e.fallbackOnEmptyString, d = e.onError, h = e.timeZone, m = e.defaultRichTextElements;
3279
3279
  n === void 0 && (n = { id: "" });
3280
3280
  var y = n.id, A = n.defaultMessage;
3281
3281
  ls(!!y, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
@@ -3287,9 +3287,9 @@ var ya = function(e, t, n, r, a) {
3287
3287
  );
3288
3288
  if (Array.isArray(S) && S.length === 1 && S[0].type === Oe.literal)
3289
3289
  return S[0].value;
3290
- if (!r && S && typeof S == "string" && !h)
3290
+ if (!r && S && typeof S == "string" && !m)
3291
3291
  return S.replace(/'\{(.*?)\}'/gi, "{$1}");
3292
- if (r = j(j({}, h), r || {}), u = ki(u, m), c = ki(c, m), !S) {
3292
+ if (r = j(j({}, m), r || {}), u = ki(u, h), c = ki(c, h), !S) {
3293
3293
  if (f === !1 && S === "")
3294
3294
  return S;
3295
3295
  if ((!A || i && i.toLowerCase() !== l.toLowerCase()) && d(new vc(n, i)), A)
@@ -3370,8 +3370,8 @@ function Bc(e, t) {
3370
3370
  var a = n[0], i = n[1], u = n[2], o = u === void 0 ? {} : u, l = e.timeZone, c = e.locale, f = e.onError, d = Gt(o, Rs, l ? { timeZone: l } : {});
3371
3371
  try {
3372
3372
  return t(c, d).formatRange(a, i);
3373
- } catch (m) {
3374
- f(new ut("Error formatting date time range.", e.locale, m));
3373
+ } catch (h) {
3374
+ f(new ut("Error formatting date time range.", e.locale, h));
3375
3375
  }
3376
3376
  return String(a);
3377
3377
  }
@@ -3441,8 +3441,8 @@ Try polyfilling it using "@formatjs/intl-listformat"
3441
3441
  try {
3442
3442
  var l = {}, c = n.map(function(f, d) {
3443
3443
  if (typeof f == "object") {
3444
- var m = Gc(d);
3445
- return l[m] = f, m;
3444
+ var h = Gc(d);
3445
+ return l[h] = f, h;
3446
3446
  }
3447
3447
  return String(f);
3448
3448
  });
@@ -4028,43 +4028,43 @@ const Af = ({
4028
4028
  contentType: "application/json"
4029
4029
  });
4030
4030
  fetch(`${c}/company/settings/${t}/${e}`, f).then(async (d) => {
4031
- const m = await d.json();
4032
- a(m), o([
4031
+ const h = await d.json();
4032
+ a(h), o([
4033
4033
  {
4034
4034
  userType: "assistant",
4035
- content: m.agent.text.initialText
4035
+ content: h.agent.text.initialText
4036
4036
  }
4037
4037
  ]), n?.();
4038
4038
  }).catch((d) => console.log("error in fetch", d));
4039
4039
  }, [t, e]), { contextCompanySettings: i, contextInitialChatbotStartingText: l };
4040
4040
  };
4041
- function _f(e, t = {}, n) {
4042
- const { id: r, nonce: a, target: i, disableConstructable: u } = t, o = i ?? document.head, l = we(null), c = we(null);
4041
+ function _f(e, t = {}, n, r) {
4042
+ const { id: a, nonce: i, target: u, disableConstructable: o } = t, l = u ?? document.head, c = we(null), f = we(null);
4043
4043
  Pe(() => {
4044
4044
  if (!e) {
4045
- n?.(), console.log("No custom css found.");
4045
+ n && (console.log("No custom css found."), r?.());
4046
4046
  return;
4047
4047
  }
4048
- if (!u && "adoptedStyleSheets" in o && typeof CSSStyleSheet < "u" && "replaceSync" in CSSStyleSheet.prototype)
4049
- return l.current || (l.current = new CSSStyleSheet(), o.adoptedStyleSheets = [
4050
- ...o.adoptedStyleSheets,
4051
- l.current
4052
- ]), l.current.replaceSync(e), console.log("Loading custom css via stylesheet."), n?.(), () => {
4053
- const d = o.adoptedStyleSheets || [], m = d.indexOf(l.current);
4048
+ if (!o && "adoptedStyleSheets" in l && typeof CSSStyleSheet < "u" && "replaceSync" in CSSStyleSheet.prototype)
4049
+ return c.current || (c.current = new CSSStyleSheet(), l.adoptedStyleSheets = [
4050
+ ...l.adoptedStyleSheets,
4051
+ c.current
4052
+ ]), c.current.replaceSync(e), console.log("Loading custom css via stylesheet."), r?.(), () => {
4053
+ const h = l.adoptedStyleSheets || [], m = h.indexOf(c.current);
4054
4054
  if (m >= 0) {
4055
- const h = d.slice();
4056
- h.splice(m, 1), o.adoptedStyleSheets = h;
4055
+ const y = h.slice();
4056
+ y.splice(m, 1), l.adoptedStyleSheets = y;
4057
4057
  }
4058
- l.current = null;
4058
+ c.current = null;
4059
4059
  };
4060
- if (!c.current) {
4061
- const d = document.createElement("style");
4062
- d.type = "text/css", r && (d.id = r), a && (d.nonce = a), (o instanceof Document && o.head || o).appendChild(d), c.current = d;
4060
+ if (!f.current) {
4061
+ const h = document.createElement("style");
4062
+ h.type = "text/css", a && (h.id = a), i && (h.nonce = i), (l instanceof Document && l.head || l).appendChild(h), f.current = h;
4063
4063
  }
4064
- return c.current.textContent = e, console.log("Loading custom css via style tag."), n?.(), () => {
4065
- c.current?.parentNode?.removeChild(c.current), c.current = null;
4064
+ return f.current.textContent = e, console.log("Loading custom css via style tag."), r?.(), () => {
4065
+ f.current?.parentNode?.removeChild(f.current), f.current = null;
4066
4066
  };
4067
- }, [e, r, a, i, u]);
4067
+ }, [e, a, i, u, o]);
4068
4068
  }
4069
4069
  const un = globalThis;
4070
4070
  un.__WIDGET_ASSET_CACHE__ || (un.__WIDGET_ASSET_CACHE__ = {
@@ -4145,13 +4145,13 @@ function zs(e) {
4145
4145
  i = null;
4146
4146
  }
4147
4147
  const { imgEl: u, width: o, height: l } = await new Promise((c, f) => {
4148
- const d = URL.createObjectURL(a), m = new Image();
4149
- m.crossOrigin = "anonymous", m.onload = () => {
4150
- const h = m.naturalWidth, y = m.naturalHeight;
4151
- c({ imgEl: m, width: h, height: y });
4152
- }, m.onerror = () => {
4148
+ const d = URL.createObjectURL(a), h = new Image();
4149
+ h.crossOrigin = "anonymous", h.onload = () => {
4150
+ const m = h.naturalWidth, y = h.naturalHeight;
4151
+ c({ imgEl: h, width: m, height: y });
4152
+ }, h.onerror = () => {
4153
4153
  URL.revokeObjectURL(d), f(new Error("Spritesheet image decode failed"));
4154
- }, m.src = d, m.decode?.().catch(() => {
4154
+ }, h.src = d, h.decode?.().catch(() => {
4155
4155
  });
4156
4156
  });
4157
4157
  return { imgEl: u, bitmap: i, width: o, height: l };
@@ -4297,6 +4297,7 @@ const Pf = ({
4297
4297
  return Nf(c.companySettings), _f(
4298
4298
  c.companySettings?.agent?.display?.CSSRules,
4299
4299
  { id: `${n}` },
4300
+ l.appInternalContext.hasFetchedSettings,
4300
4301
  l.setHasDisplayedCss
4301
4302
  ), /* @__PURE__ */ B(rn, { children: /* @__PURE__ */ B(
4302
4303
  of,
@@ -4341,18 +4342,18 @@ function Ff({
4341
4342
  }) {
4342
4343
  const [c, f] = ke.useState({ kind: "loading" });
4343
4344
  return Pe(() => {
4344
- let d = null, m = !1;
4345
- return f({ kind: "loading" }), Gs(e).then(async (h) => {
4346
- if (!m)
4347
- if (h.kind === "zip") {
4348
- const y = Bf(h) ? h.blob : await (await fetch(h.blobUrl)).blob();
4345
+ let d = null, h = !1;
4346
+ return f({ kind: "loading" }), Gs(e).then(async (m) => {
4347
+ if (!h)
4348
+ if (m.kind === "zip") {
4349
+ const y = Bf(m) ? m.blob : await (await fetch(m.blobUrl)).blob();
4349
4350
  d = URL.createObjectURL(y), f({ kind: "lottieZip", blobUrl: d }), o?.(d);
4350
4351
  } else
4351
- f({ kind: "json", data: h.data }), o?.(h.data);
4352
+ f({ kind: "json", data: m.data }), o?.(m.data);
4352
4353
  }).catch(
4353
- (h) => !m && (f({ kind: "error", err: h }), l?.(h))
4354
+ (m) => !h && (f({ kind: "error", err: m }), l?.(m))
4354
4355
  ), () => {
4355
- m = !0, d && URL.revokeObjectURL(d);
4356
+ h = !0, d && URL.revokeObjectURL(d);
4356
4357
  };
4357
4358
  }, [e]), c.kind === "loading" ? /* @__PURE__ */ B(
4358
4359
  "div",
@@ -4411,14 +4412,14 @@ async function Hf(e, t = {}) {
4411
4412
  d[M + w] = 0.299 * l[G] + 0.587 * l[G + 1] + 0.114 * l[G + 2] | 0;
4412
4413
  }
4413
4414
  }
4414
- const m = new Float32Array(c), h = new Float32Array(f);
4415
+ const h = new Float32Array(c), m = new Float32Array(f);
4415
4416
  for (let Y = 1; Y < c - 1; Y++) {
4416
4417
  let M = 0;
4417
4418
  for (let w = 0; w < f; w++) {
4418
4419
  const G = w * c + Y, $ = d[G + 1] - d[G - 1];
4419
4420
  M += Math.abs($);
4420
4421
  }
4421
- m[Y] = M;
4422
+ h[Y] = M;
4422
4423
  }
4423
4424
  for (let Y = 1; Y < f - 1; Y++) {
4424
4425
  let M = 0;
@@ -4426,28 +4427,28 @@ async function Hf(e, t = {}) {
4426
4427
  const G = Y * c + w, $ = d[G + c] - d[G - c];
4427
4428
  M += Math.abs($);
4428
4429
  }
4429
- h[Y] = M;
4430
+ m[Y] = M;
4430
4431
  }
4431
4432
  const y = Hi(
4432
- m,
4433
+ h,
4433
4434
  n,
4434
4435
  Math.min(r, c / 2)
4435
4436
  ), A = Hi(
4436
- h,
4437
+ m,
4437
4438
  n,
4438
4439
  Math.min(r, f / 2)
4439
4440
  );
4440
4441
  if (!y || !A)
4441
4442
  return i && console.warn("detectGrid: could not find periods"), null;
4442
4443
  const L = Math.max(1, Math.round(c / y)), S = Math.max(1, Math.round(f / A)), R = Ui(
4443
- m,
4444
+ h,
4444
4445
  y,
4445
4446
  L,
4446
4447
  a
4447
- ), N = Ui(h, A, S, a), D = Math.max(1, y - R), x = Math.max(1, A - N);
4448
+ ), N = Ui(m, A, S, a), D = Math.max(1, y - R), x = Math.max(1, A - N);
4448
4449
  if (D * L > c + 2 || x * S > f + 2)
4449
4450
  return i && console.warn("detectGrid: sanity check failed"), null;
4450
- const I = xa(m, 60), q = xa(h, 60), ue = Math.max(0, $i(m, I)), te = Math.max(0, $i(h, q));
4451
+ const I = xa(h, 60), q = xa(m, 60), ue = Math.max(0, $i(h, I)), te = Math.max(0, $i(m, q));
4451
4452
  return i && console.log({
4452
4453
  periodX: y,
4453
4454
  periodY: A,
@@ -4473,23 +4474,23 @@ async function Hf(e, t = {}) {
4473
4474
  function Hi(e, t, n) {
4474
4475
  const r = Vs(e);
4475
4476
  let a = 0;
4476
- for (let h = 0; h < e.length; h++) {
4477
- const y = e[h] - r;
4477
+ for (let m = 0; m < e.length; m++) {
4478
+ const y = e[m] - r;
4478
4479
  a += y * y;
4479
4480
  }
4480
4481
  if (a === 0) return null;
4481
4482
  const i = new Float32Array(n + 1);
4482
4483
  let u = 0, o = -1 / 0;
4483
- for (let h = t; h <= n; h++) {
4484
+ for (let m = t; m <= n; m++) {
4484
4485
  let y = 0;
4485
- for (let L = 0; L + h < e.length; L++)
4486
- y += (e[L] - r) * (e[L + h] - r);
4486
+ for (let L = 0; L + m < e.length; L++)
4487
+ y += (e[L] - r) * (e[L + m] - r);
4487
4488
  const A = y / a;
4488
- i[h] = A, A > o && (o = A, u = h);
4489
+ i[m] = A, A > o && (o = A, u = m);
4489
4490
  }
4490
4491
  if (u <= t || u >= n) return u || null;
4491
- const l = i[u - 1], c = i[u], f = i[u + 1], d = l - 2 * c + f, m = d === 0 ? 0 : 0.5 * (l - f) / d;
4492
- return u + m;
4492
+ const l = i[u - 1], c = i[u], f = i[u + 1], d = l - 2 * c + f, h = d === 0 ? 0 : 0.5 * (l - f) / d;
4493
+ return u + h;
4493
4494
  }
4494
4495
  function Ui(e, t, n, r) {
4495
4496
  const a = [];
@@ -4497,10 +4498,10 @@ function Ui(e, t, n, r) {
4497
4498
  const l = o * t;
4498
4499
  let c = 1 / 0, f = l;
4499
4500
  for (let d = -r; d <= r; d++) {
4500
- const m = l + d;
4501
- if (m <= 0 || m >= e.length) continue;
4502
- const h = e[m];
4503
- h < c && (c = h, f = m);
4501
+ const h = l + d;
4502
+ if (h <= 0 || h >= e.length) continue;
4503
+ const m = e[h];
4504
+ m < c && (c = m, f = h);
4504
4505
  }
4505
4506
  a.push(f);
4506
4507
  }
@@ -4553,8 +4554,8 @@ const $f = os(function({
4553
4554
  atlasFrames: c,
4554
4555
  fps: f = 12,
4555
4556
  autoplay: d = !0,
4556
- loop: m = !0,
4557
- startFrame: h = 0,
4557
+ loop: h = !0,
4558
+ startFrame: m = 0,
4558
4559
  direction: y = "forward",
4559
4560
  scale: A = 1,
4560
4561
  backgroundColor: L,
@@ -4565,7 +4566,7 @@ const $f = os(function({
4565
4566
  onEnd: x,
4566
4567
  onFrame: I
4567
4568
  }, q) {
4568
- const ue = we(null), te = we(null), [Y, M] = ge(null), [w, G] = ge(null), [$, W] = ge(null), [se, me] = ge(!1), [ve, Le] = ge(!!d), [p, F] = ge(h), X = we(1), [T, V] = ge(null), K = Math.max(
4569
+ const ue = we(null), te = we(null), [Y, M] = ge(null), [w, G] = ge(null), [$, W] = ge(null), [se, me] = ge(!1), [ve, Le] = ge(!!d), [p, F] = ge(m), X = we(1), [T, V] = ge(null), K = Math.max(
4569
4570
  1,
4570
4571
  Math.floor(typeof window < "u" && window.devicePixelRatio || 1)
4571
4572
  );
@@ -4703,13 +4704,13 @@ const $f = os(function({
4703
4704
  le = Ee - Ne % Ie, F((Ye) => {
4704
4705
  const He = Ce.length - 1;
4705
4706
  let Ke = Ye;
4706
- return y === "forward" ? Ke = Ye + 1 : y === "backward" ? Ke = Ye - 1 : ((Ye >= He && X.current === 1 || Ye <= 0 && X.current === -1) && (X.current *= -1), Ke = Ye + X.current), (Ke > He || Ke < 0) && (m ? Ke = y === "backward" ? He : 0 : (Ke = Math.max(0, Math.min(Ke, He)), Le(!1), x?.())), Ke;
4707
+ return y === "forward" ? Ke = Ye + 1 : y === "backward" ? Ke = Ye - 1 : ((Ye >= He && X.current === 1 || Ye <= 0 && X.current === -1) && (X.current *= -1), Ke = Ye + X.current), (Ke > He || Ke < 0) && (h ? Ke = y === "backward" ? He : 0 : (Ke = Math.max(0, Math.min(Ke, He)), Le(!1), x?.())), Ke;
4707
4708
  });
4708
4709
  };
4709
4710
  return te.current = requestAnimationFrame(pe), () => {
4710
4711
  te.current && cancelAnimationFrame(te.current);
4711
4712
  };
4712
- }, [se, f, ve, m, y, Ce.length, p]), Pe(() => {
4713
+ }, [se, f, ve, h, y, Ce.length, p]), Pe(() => {
4713
4714
  xe(p), I?.(p);
4714
4715
  }, [p, se, A, K]), Pe(() => {
4715
4716
  if (!N) return;
@@ -6000,7 +6001,7 @@ function a0() {
6000
6001
  if (Wi) return zr;
6001
6002
  Wi = 1;
6002
6003
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, a = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, u = /^[;\s]*/, o = /^\s+|\s+$/g, l = `
6003
- `, c = "/", f = "*", d = "", m = "comment", h = "declaration";
6004
+ `, c = "/", f = "*", d = "", h = "comment", m = "declaration";
6004
6005
  zr = function(A, L) {
6005
6006
  if (typeof A != "string")
6006
6007
  throw new TypeError("First argument must be a string");
@@ -6054,7 +6055,7 @@ function a0() {
6054
6055
  return I("End of comment missing");
6055
6056
  var W = A.slice(2, $ - 2);
6056
6057
  return R += 2, N(W), A = A.slice($), R += 2, G({
6057
- type: m,
6058
+ type: h,
6058
6059
  comment: W
6059
6060
  });
6060
6061
  }
@@ -6064,7 +6065,7 @@ function a0() {
6064
6065
  if ($) {
6065
6066
  if (Y(), !q(a)) return I("property missing ':'");
6066
6067
  var W = q(i), se = G({
6067
- type: h,
6068
+ type: m,
6068
6069
  property: y($[0].replace(e, d)),
6069
6070
  value: W ? y(W[0].replace(e, d)) : d
6070
6071
  });
@@ -6775,7 +6776,7 @@ function j0(e) {
6775
6776
  function c(N) {
6776
6777
  if (r === n.length) {
6777
6778
  if (!a)
6778
- return m(N);
6779
+ return h(N);
6779
6780
  if (a.currentConstruct && a.currentConstruct.concrete)
6780
6781
  return y(N);
6781
6782
  t.interrupt = !!(a.currentConstruct && !a._gfmTableDynamicInterruptHack);
@@ -6787,20 +6788,20 @@ function j0(e) {
6787
6788
  )(N);
6788
6789
  }
6789
6790
  function f(N) {
6790
- return a && R(), S(r), m(N);
6791
+ return a && R(), S(r), h(N);
6791
6792
  }
6792
6793
  function d(N) {
6793
6794
  return t.parser.lazy[t.now().line] = r !== n.length, u = t.now().offset, y(N);
6794
6795
  }
6795
- function m(N) {
6796
+ function h(N) {
6796
6797
  return t.containerState = {}, e.attempt(
6797
6798
  nu,
6798
- h,
6799
+ m,
6799
6800
  y
6800
6801
  )(N);
6801
6802
  }
6802
- function h(N) {
6803
- return r++, n.push([t.currentConstruct, t.containerState]), m(N);
6803
+ function m(N) {
6804
+ return r++, n.push([t.currentConstruct, t.containerState]), h(N);
6804
6805
  }
6805
6806
  function y(N) {
6806
6807
  if (N === null) {
@@ -6902,15 +6903,15 @@ function q0(e, t) {
6902
6903
  if ((e[r][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[r][1].end.offset - e[r][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3))
6903
6904
  continue;
6904
6905
  l = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
6905
- const d = Object.assign({}, e[r][1].end), m = Object.assign({}, e[n][1].start);
6906
- au(d, -l), au(m, l), u = {
6906
+ const d = Object.assign({}, e[r][1].end), h = Object.assign({}, e[n][1].start);
6907
+ au(d, -l), au(h, l), u = {
6907
6908
  type: l > 1 ? "strongSequence" : "emphasisSequence",
6908
6909
  start: d,
6909
6910
  end: Object.assign({}, e[r][1].end)
6910
6911
  }, o = {
6911
6912
  type: l > 1 ? "strongSequence" : "emphasisSequence",
6912
6913
  start: Object.assign({}, e[n][1].start),
6913
- end: m
6914
+ end: h
6914
6915
  }, i = {
6915
6916
  type: l > 1 ? "strongText" : "emphasisText",
6916
6917
  start: Object.assign({}, e[r][1].end),
@@ -6960,8 +6961,8 @@ function W0(e, t) {
6960
6961
  function o(l) {
6961
6962
  if (l === i)
6962
6963
  return e.consume(l), o;
6963
- const c = e.exit("attentionSequence"), f = ru(l), d = !f || f === 2 && a || n.includes(l), m = !a || a === 2 && f || n.includes(r);
6964
- return c._open = !!(i === 42 ? d : d && (a || !m)), c._close = !!(i === 42 ? m : m && (f || !d)), t(l);
6964
+ const c = e.exit("attentionSequence"), f = ru(l), d = !f || f === 2 && a || n.includes(l), h = !a || a === 2 && f || n.includes(r);
6965
+ return c._open = !!(i === 42 ? d : d && (a || !h)), c._close = !!(i === 42 ? h : h && (f || !d)), t(l);
6965
6966
  }
6966
6967
  }
6967
6968
  function au(e, t) {
@@ -6974,36 +6975,36 @@ const X0 = {
6974
6975
  function Q0(e, t, n) {
6975
6976
  let r = 0;
6976
6977
  return a;
6977
- function a(h) {
6978
- return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), i;
6978
+ function a(m) {
6979
+ return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(m), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), i;
6979
6980
  }
6980
- function i(h) {
6981
- return Et(h) ? (e.consume(h), u) : c(h);
6981
+ function i(m) {
6982
+ return Et(m) ? (e.consume(m), u) : c(m);
6982
6983
  }
6983
- function u(h) {
6984
- return h === 43 || h === 45 || h === 46 || et(h) ? (r = 1, o(h)) : c(h);
6984
+ function u(m) {
6985
+ return m === 43 || m === 45 || m === 46 || et(m) ? (r = 1, o(m)) : c(m);
6985
6986
  }
6986
- function o(h) {
6987
- return h === 58 ? (e.consume(h), r = 0, l) : (h === 43 || h === 45 || h === 46 || et(h)) && r++ < 32 ? (e.consume(h), o) : (r = 0, c(h));
6987
+ function o(m) {
6988
+ return m === 58 ? (e.consume(m), r = 0, l) : (m === 43 || m === 45 || m === 46 || et(m)) && r++ < 32 ? (e.consume(m), o) : (r = 0, c(m));
6988
6989
  }
6989
- function l(h) {
6990
- return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : h === null || h === 32 || h === 60 || Oa(h) ? n(h) : (e.consume(h), l);
6990
+ function l(m) {
6991
+ return m === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(m), e.exit("autolinkMarker"), e.exit("autolink"), t) : m === null || m === 32 || m === 60 || Oa(m) ? n(m) : (e.consume(m), l);
6991
6992
  }
6992
- function c(h) {
6993
- return h === 64 ? (e.consume(h), f) : B0(h) ? (e.consume(h), c) : n(h);
6993
+ function c(m) {
6994
+ return m === 64 ? (e.consume(m), f) : B0(m) ? (e.consume(m), c) : n(m);
6994
6995
  }
6995
- function f(h) {
6996
- return et(h) ? d(h) : n(h);
6996
+ function f(m) {
6997
+ return et(m) ? d(m) : n(m);
6997
6998
  }
6998
- function d(h) {
6999
- return h === 46 ? (e.consume(h), r = 0, f) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(h);
6999
+ function d(m) {
7000
+ return m === 46 ? (e.consume(m), r = 0, f) : m === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(m), e.exit("autolinkMarker"), e.exit("autolink"), t) : h(m);
7000
7001
  }
7001
- function m(h) {
7002
- if ((h === 45 || et(h)) && r++ < 63) {
7003
- const y = h === 45 ? m : d;
7004
- return e.consume(h), y;
7002
+ function h(m) {
7003
+ if ((m === 45 || et(m)) && r++ < 63) {
7004
+ const y = m === 45 ? h : d;
7005
+ return e.consume(m), y;
7005
7006
  }
7006
- return n(h);
7007
+ return n(m);
7007
7008
  }
7008
7009
  }
7009
7010
  const Nr = {
@@ -7093,8 +7094,8 @@ function nd(e, t, n) {
7093
7094
  }
7094
7095
  function f(d) {
7095
7096
  if (d === 59 && a) {
7096
- const m = e.exit("characterReferenceValue");
7097
- return u === et && !ni(r.sliceSerialize(m)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
7097
+ const h = e.exit("characterReferenceValue");
7098
+ return u === et && !ni(r.sliceSerialize(h)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
7098
7099
  }
7099
7100
  return u(d) && a++ < i ? (e.consume(d), f) : n(d);
7100
7101
  }
@@ -7127,12 +7128,12 @@ function rd(e, t, n) {
7127
7128
  function d(I) {
7128
7129
  return I === null || J(I) ? (e.exit("codeFencedFence"), r.interrupt ? t(I) : e.check(iu, A, D)(I)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
7129
7130
  contentType: "string"
7130
- }), m(I));
7131
- }
7132
- function m(I) {
7133
- return I === null || J(I) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(I)) : he(I) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Se(e, h, "whitespace")(I)) : I === 96 && I === o ? n(I) : (e.consume(I), m);
7131
+ }), h(I));
7134
7132
  }
7135
7133
  function h(I) {
7134
+ return I === null || J(I) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(I)) : he(I) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Se(e, m, "whitespace")(I)) : I === 96 && I === o ? n(I) : (e.consume(I), h);
7135
+ }
7136
+ function m(I) {
7136
7137
  return I === null || J(I) ? d(I) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
7137
7138
  contentType: "string"
7138
7139
  }), y(I));
@@ -7300,22 +7301,22 @@ function dd(e, t) {
7300
7301
  const n = e[t][1], r = e[t][2];
7301
7302
  let a = t - 1;
7302
7303
  const i = [], u = n._tokenizer || r.parser[n.contentType](n.start), o = u.events, l = [], c = {};
7303
- let f, d, m = -1, h = n, y = 0, A = 0;
7304
+ let f, d, h = -1, m = n, y = 0, A = 0;
7304
7305
  const L = [A];
7305
- for (; h; ) {
7306
- for (; e[++a][1] !== h; )
7306
+ for (; m; ) {
7307
+ for (; e[++a][1] !== m; )
7307
7308
  ;
7308
- i.push(a), h._tokenizer || (f = r.sliceStream(h), h.next || f.push(null), d && u.defineSkip(h.start), h._isInFirstContentOfListItem && (u._gfmTasklistFirstContentOfListItem = !0), u.write(f), h._isInFirstContentOfListItem && (u._gfmTasklistFirstContentOfListItem = void 0)), d = h, h = h.next;
7309
+ i.push(a), m._tokenizer || (f = r.sliceStream(m), m.next || f.push(null), d && u.defineSkip(m.start), m._isInFirstContentOfListItem && (u._gfmTasklistFirstContentOfListItem = !0), u.write(f), m._isInFirstContentOfListItem && (u._gfmTasklistFirstContentOfListItem = void 0)), d = m, m = m.next;
7309
7310
  }
7310
- for (h = n; ++m < o.length; )
7311
+ for (m = n; ++h < o.length; )
7311
7312
  // Find a void token that includes a break.
7312
- o[m][0] === "exit" && o[m - 1][0] === "enter" && o[m][1].type === o[m - 1][1].type && o[m][1].start.line !== o[m][1].end.line && (A = m + 1, L.push(A), h._tokenizer = void 0, h.previous = void 0, h = h.next);
7313
- for (u.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : L.pop(), m = L.length; m--; ) {
7314
- const S = o.slice(L[m], L[m + 1]), R = i.pop();
7313
+ o[h][0] === "exit" && o[h - 1][0] === "enter" && o[h][1].type === o[h - 1][1].type && o[h][1].start.line !== o[h][1].end.line && (A = h + 1, L.push(A), m._tokenizer = void 0, m.previous = void 0, m = m.next);
7314
+ for (u.events = [], m ? (m._tokenizer = void 0, m.previous = void 0) : L.pop(), h = L.length; h--; ) {
7315
+ const S = o.slice(L[h], L[h + 1]), R = i.pop();
7315
7316
  l.unshift([R, R + S.length - 1]), Tt(e, R, 2, S);
7316
7317
  }
7317
- for (m = -1; ++m < l.length; )
7318
- c[y + l[m][0]] = y + l[m][1], y += l[m][1] - l[m][0] - 1;
7318
+ for (h = -1; ++h < l.length; )
7319
+ c[y + l[h][0]] = y + l[h][1], y += l[h][1] - l[h][0] - 1;
7319
7320
  return c;
7320
7321
  }
7321
7322
  const hd = {
@@ -7371,20 +7372,20 @@ function po(e, t, n, r, a, i, u, o, l) {
7371
7372
  let f = 0;
7372
7373
  return d;
7373
7374
  function d(S) {
7374
- return S === 60 ? (e.enter(r), e.enter(a), e.enter(i), e.consume(S), e.exit(i), m) : S === null || S === 32 || S === 41 || Oa(S) ? n(S) : (e.enter(r), e.enter(u), e.enter(o), e.enter("chunkString", {
7375
+ return S === 60 ? (e.enter(r), e.enter(a), e.enter(i), e.consume(S), e.exit(i), h) : S === null || S === 32 || S === 41 || Oa(S) ? n(S) : (e.enter(r), e.enter(u), e.enter(o), e.enter("chunkString", {
7375
7376
  contentType: "string"
7376
7377
  }), A(S));
7377
7378
  }
7378
- function m(S) {
7379
+ function h(S) {
7379
7380
  return S === 62 ? (e.enter(i), e.consume(S), e.exit(i), e.exit(a), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
7380
7381
  contentType: "string"
7381
- }), h(S));
7382
+ }), m(S));
7382
7383
  }
7383
- function h(S) {
7384
- return S === 62 ? (e.exit("chunkString"), e.exit(o), m(S)) : S === null || S === 60 || J(S) ? n(S) : (e.consume(S), S === 92 ? y : h);
7384
+ function m(S) {
7385
+ return S === 62 ? (e.exit("chunkString"), e.exit(o), h(S)) : S === null || S === 60 || J(S) ? n(S) : (e.consume(S), S === 92 ? y : m);
7385
7386
  }
7386
7387
  function y(S) {
7387
- return S === 60 || S === 62 || S === 92 ? (e.consume(S), h) : h(S);
7388
+ return S === 60 || S === 62 || S === 92 ? (e.consume(S), m) : m(S);
7388
7389
  }
7389
7390
  function A(S) {
7390
7391
  return !f && (S === null || S === 41 || Xe(S)) ? (e.exit("chunkString"), e.exit(o), e.exit(u), e.exit(r), t(S)) : f < c && S === 40 ? (e.consume(S), f++, A) : S === 41 ? (e.consume(S), f--, A) : S === null || S === 32 || S === 40 || Oa(S) ? n(S) : (e.consume(S), S === 92 ? L : A);
@@ -7397,45 +7398,45 @@ function Eo(e, t, n, r, a, i) {
7397
7398
  const u = this;
7398
7399
  let o = 0, l;
7399
7400
  return c;
7400
- function c(h) {
7401
- return e.enter(r), e.enter(a), e.consume(h), e.exit(a), e.enter(i), f;
7401
+ function c(m) {
7402
+ return e.enter(r), e.enter(a), e.consume(m), e.exit(a), e.enter(i), f;
7402
7403
  }
7403
- function f(h) {
7404
- return o > 999 || h === null || h === 91 || h === 93 && !l || // To do: remove in the future once we’ve switched from
7404
+ function f(m) {
7405
+ return o > 999 || m === null || m === 91 || m === 93 && !l || // To do: remove in the future once we’ve switched from
7405
7406
  // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
7406
7407
  // which doesn’t need this.
7407
7408
  // Hidden footnotes hook.
7408
7409
  /* c8 ignore next 3 */
7409
- h === 94 && !o && "_hiddenFootnoteSupport" in u.parser.constructs ? n(h) : h === 93 ? (e.exit(i), e.enter(a), e.consume(h), e.exit(a), e.exit(r), t) : J(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), f) : (e.enter("chunkString", {
7410
+ m === 94 && !o && "_hiddenFootnoteSupport" in u.parser.constructs ? n(m) : m === 93 ? (e.exit(i), e.enter(a), e.consume(m), e.exit(a), e.exit(r), t) : J(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), f) : (e.enter("chunkString", {
7410
7411
  contentType: "string"
7411
- }), d(h));
7412
+ }), d(m));
7412
7413
  }
7413
- function d(h) {
7414
- return h === null || h === 91 || h === 93 || J(h) || o++ > 999 ? (e.exit("chunkString"), f(h)) : (e.consume(h), l || (l = !he(h)), h === 92 ? m : d);
7414
+ function d(m) {
7415
+ return m === null || m === 91 || m === 93 || J(m) || o++ > 999 ? (e.exit("chunkString"), f(m)) : (e.consume(m), l || (l = !he(m)), m === 92 ? h : d);
7415
7416
  }
7416
- function m(h) {
7417
- return h === 91 || h === 92 || h === 93 ? (e.consume(h), o++, d) : d(h);
7417
+ function h(m) {
7418
+ return m === 91 || m === 92 || m === 93 ? (e.consume(m), o++, d) : d(m);
7418
7419
  }
7419
7420
  }
7420
7421
  function bo(e, t, n, r, a, i) {
7421
7422
  let u;
7422
7423
  return o;
7423
- function o(m) {
7424
- return m === 34 || m === 39 || m === 40 ? (e.enter(r), e.enter(a), e.consume(m), e.exit(a), u = m === 40 ? 41 : m, l) : n(m);
7424
+ function o(h) {
7425
+ return h === 34 || h === 39 || h === 40 ? (e.enter(r), e.enter(a), e.consume(h), e.exit(a), u = h === 40 ? 41 : h, l) : n(h);
7425
7426
  }
7426
- function l(m) {
7427
- return m === u ? (e.enter(a), e.consume(m), e.exit(a), e.exit(r), t) : (e.enter(i), c(m));
7427
+ function l(h) {
7428
+ return h === u ? (e.enter(a), e.consume(h), e.exit(a), e.exit(r), t) : (e.enter(i), c(h));
7428
7429
  }
7429
- function c(m) {
7430
- return m === u ? (e.exit(i), l(u)) : m === null ? n(m) : J(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), Se(e, c, "linePrefix")) : (e.enter("chunkString", {
7430
+ function c(h) {
7431
+ return h === u ? (e.exit(i), l(u)) : h === null ? n(h) : J(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), Se(e, c, "linePrefix")) : (e.enter("chunkString", {
7431
7432
  contentType: "string"
7432
- }), f(m));
7433
+ }), f(h));
7433
7434
  }
7434
- function f(m) {
7435
- return m === u || m === null || J(m) ? (e.exit("chunkString"), c(m)) : (e.consume(m), m === 92 ? d : f);
7435
+ function f(h) {
7436
+ return h === u || h === null || J(h) ? (e.exit("chunkString"), c(h)) : (e.consume(h), h === 92 ? d : f);
7436
7437
  }
7437
- function d(m) {
7438
- return m === u || m === 92 ? (e.consume(m), f) : f(m);
7438
+ function d(h) {
7439
+ return h === u || h === 92 ? (e.consume(h), f) : f(h);
7439
7440
  }
7440
7441
  }
7441
7442
  function Nn(e, t) {
@@ -7460,10 +7461,10 @@ function Ad(e, t, n) {
7460
7461
  const r = this;
7461
7462
  let a;
7462
7463
  return i;
7463
- function i(h) {
7464
- return e.enter("definition"), u(h);
7464
+ function i(m) {
7465
+ return e.enter("definition"), u(m);
7465
7466
  }
7466
- function u(h) {
7467
+ function u(m) {
7467
7468
  return Eo.call(
7468
7469
  r,
7469
7470
  e,
@@ -7473,17 +7474,17 @@ function Ad(e, t, n) {
7473
7474
  "definitionLabel",
7474
7475
  "definitionLabelMarker",
7475
7476
  "definitionLabelString"
7476
- )(h);
7477
+ )(m);
7477
7478
  }
7478
- function o(h) {
7479
+ function o(m) {
7479
7480
  return a = nn(
7480
7481
  r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
7481
- ), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), l) : n(h);
7482
+ ), m === 58 ? (e.enter("definitionMarker"), e.consume(m), e.exit("definitionMarker"), l) : n(m);
7482
7483
  }
7483
- function l(h) {
7484
- return Xe(h) ? Nn(e, c)(h) : c(h);
7484
+ function l(m) {
7485
+ return Xe(m) ? Nn(e, c)(m) : c(m);
7485
7486
  }
7486
- function c(h) {
7487
+ function c(m) {
7487
7488
  return po(
7488
7489
  e,
7489
7490
  f,
@@ -7494,16 +7495,16 @@ function Ad(e, t, n) {
7494
7495
  "definitionDestinationLiteralMarker",
7495
7496
  "definitionDestinationRaw",
7496
7497
  "definitionDestinationString"
7497
- )(h);
7498
+ )(m);
7498
7499
  }
7499
- function f(h) {
7500
- return e.attempt(gd, d, d)(h);
7500
+ function f(m) {
7501
+ return e.attempt(gd, d, d)(m);
7501
7502
  }
7502
- function d(h) {
7503
- return he(h) ? Se(e, m, "whitespace")(h) : m(h);
7503
+ function d(m) {
7504
+ return he(m) ? Se(e, h, "whitespace")(m) : h(m);
7504
7505
  }
7505
- function m(h) {
7506
- return h === null || J(h) ? (e.exit("definition"), r.parser.defined.push(a), t(h)) : n(h);
7506
+ function h(m) {
7507
+ return m === null || J(m) ? (e.exit("definition"), r.parser.defined.push(a), t(m)) : n(m);
7507
7508
  }
7508
7509
  }
7509
7510
  function _d(e, t, n) {
@@ -7678,12 +7679,12 @@ function Pd(e, t, n) {
7678
7679
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(T), d;
7679
7680
  }
7680
7681
  function d(T) {
7681
- return T === 33 ? (e.consume(T), m) : T === 47 ? (e.consume(T), i = !0, A) : T === 63 ? (e.consume(T), a = 3, r.interrupt ? t : p) : Et(T) ? (e.consume(T), u = String.fromCharCode(T), L) : n(T);
7682
- }
7683
- function m(T) {
7684
- return T === 45 ? (e.consume(T), a = 2, h) : T === 91 ? (e.consume(T), a = 5, o = 0, y) : Et(T) ? (e.consume(T), a = 4, r.interrupt ? t : p) : n(T);
7682
+ return T === 33 ? (e.consume(T), h) : T === 47 ? (e.consume(T), i = !0, A) : T === 63 ? (e.consume(T), a = 3, r.interrupt ? t : p) : Et(T) ? (e.consume(T), u = String.fromCharCode(T), L) : n(T);
7685
7683
  }
7686
7684
  function h(T) {
7685
+ return T === 45 ? (e.consume(T), a = 2, m) : T === 91 ? (e.consume(T), a = 5, o = 0, y) : Et(T) ? (e.consume(T), a = 4, r.interrupt ? t : p) : n(T);
7686
+ }
7687
+ function m(T) {
7687
7688
  return T === 45 ? (e.consume(T), r.interrupt ? t : p) : n(T);
7688
7689
  }
7689
7690
  function y(T) {
@@ -7813,16 +7814,16 @@ function Md(e, t, n) {
7813
7814
  return p === 45 ? (e.consume(p), f) : p === 91 ? (e.consume(p), i = 0, y) : Et(p) ? (e.consume(p), R) : n(p);
7814
7815
  }
7815
7816
  function f(p) {
7816
- return p === 45 ? (e.consume(p), h) : n(p);
7817
+ return p === 45 ? (e.consume(p), m) : n(p);
7817
7818
  }
7818
7819
  function d(p) {
7819
- return p === null ? n(p) : p === 45 ? (e.consume(p), m) : J(p) ? (u = d, me(p)) : (e.consume(p), d);
7820
- }
7821
- function m(p) {
7822
- return p === 45 ? (e.consume(p), h) : d(p);
7820
+ return p === null ? n(p) : p === 45 ? (e.consume(p), h) : J(p) ? (u = d, me(p)) : (e.consume(p), d);
7823
7821
  }
7824
7822
  function h(p) {
7825
- return p === 62 ? se(p) : p === 45 ? m(p) : d(p);
7823
+ return p === 45 ? (e.consume(p), m) : d(p);
7824
+ }
7825
+ function m(p) {
7826
+ return p === 62 ? se(p) : p === 45 ? h(p) : d(p);
7826
7827
  }
7827
7828
  function y(p) {
7828
7829
  const F = "CDATA[";
@@ -7969,39 +7970,39 @@ function Yd(e, t, n) {
7969
7970
  break;
7970
7971
  }
7971
7972
  return o;
7972
- function o(m) {
7973
- return i ? i._inactive ? d(m) : (u = r.parser.defined.includes(
7973
+ function o(h) {
7974
+ return i ? i._inactive ? d(h) : (u = r.parser.defined.includes(
7974
7975
  nn(
7975
7976
  r.sliceSerialize({
7976
7977
  start: i.end,
7977
7978
  end: r.now()
7978
7979
  })
7979
7980
  )
7980
- ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(m), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(m);
7981
+ ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(h), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(h);
7981
7982
  }
7982
- function l(m) {
7983
- return m === 40 ? e.attempt(
7983
+ function l(h) {
7984
+ return h === 40 ? e.attempt(
7984
7985
  Bd,
7985
7986
  f,
7986
7987
  u ? f : d
7987
- )(m) : m === 91 ? e.attempt(
7988
+ )(h) : h === 91 ? e.attempt(
7988
7989
  Fd,
7989
7990
  f,
7990
7991
  u ? c : d
7991
- )(m) : u ? f(m) : d(m);
7992
+ )(h) : u ? f(h) : d(h);
7992
7993
  }
7993
- function c(m) {
7994
+ function c(h) {
7994
7995
  return e.attempt(
7995
7996
  Hd,
7996
7997
  f,
7997
7998
  d
7998
- )(m);
7999
+ )(h);
7999
8000
  }
8000
- function f(m) {
8001
- return t(m);
8001
+ function f(h) {
8002
+ return t(h);
8002
8003
  }
8003
- function d(m) {
8004
- return i._balanced = !0, n(m);
8004
+ function d(h) {
8005
+ return i._balanced = !0, n(h);
8005
8006
  }
8006
8007
  }
8007
8008
  function Gd(e, t, n) {
@@ -8163,41 +8164,41 @@ function eh(e, t, n) {
8163
8164
  const r = this, a = r.events[r.events.length - 1];
8164
8165
  let i = a && a[1].type === "linePrefix" ? a[2].sliceSerialize(a[1], !0).length : 0, u = 0;
8165
8166
  return o;
8166
- function o(h) {
8167
- const y = r.containerState.type || (h === 42 || h === 43 || h === 45 ? "listUnordered" : "listOrdered");
8168
- if (y === "listUnordered" ? !r.containerState.marker || h === r.containerState.marker : La(h)) {
8167
+ function o(m) {
8168
+ const y = r.containerState.type || (m === 42 || m === 43 || m === 45 ? "listUnordered" : "listOrdered");
8169
+ if (y === "listUnordered" ? !r.containerState.marker || m === r.containerState.marker : La(m)) {
8169
8170
  if (r.containerState.type || (r.containerState.type = y, e.enter(y, {
8170
8171
  _container: !0
8171
8172
  })), y === "listUnordered")
8172
- return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(rr, n, c)(h) : c(h);
8173
- if (!r.interrupt || h === 49)
8174
- return e.enter("listItemPrefix"), e.enter("listItemValue"), l(h);
8173
+ return e.enter("listItemPrefix"), m === 42 || m === 45 ? e.check(rr, n, c)(m) : c(m);
8174
+ if (!r.interrupt || m === 49)
8175
+ return e.enter("listItemPrefix"), e.enter("listItemValue"), l(m);
8175
8176
  }
8176
- return n(h);
8177
+ return n(m);
8177
8178
  }
8178
- function l(h) {
8179
- return La(h) && ++u < 10 ? (e.consume(h), l) : (!r.interrupt || u < 2) && (r.containerState.marker ? h === r.containerState.marker : h === 41 || h === 46) ? (e.exit("listItemValue"), c(h)) : n(h);
8179
+ function l(m) {
8180
+ return La(m) && ++u < 10 ? (e.consume(m), l) : (!r.interrupt || u < 2) && (r.containerState.marker ? m === r.containerState.marker : m === 41 || m === 46) ? (e.exit("listItemValue"), c(m)) : n(m);
8180
8181
  }
8181
- function c(h) {
8182
- return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || h, e.check(
8182
+ function c(m) {
8183
+ return e.enter("listItemMarker"), e.consume(m), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || m, e.check(
8183
8184
  Nr,
8184
8185
  // Can’t be empty when interrupting.
8185
8186
  r.interrupt ? n : f,
8186
8187
  e.attempt(
8187
8188
  Zd,
8188
- m,
8189
+ h,
8189
8190
  d
8190
8191
  )
8191
8192
  );
8192
8193
  }
8193
- function f(h) {
8194
- return r.containerState.initialBlankLine = !0, i++, m(h);
8194
+ function f(m) {
8195
+ return r.containerState.initialBlankLine = !0, i++, h(m);
8195
8196
  }
8196
- function d(h) {
8197
- return he(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), m) : n(h);
8197
+ function d(m) {
8198
+ return he(m) ? (e.enter("listItemPrefixWhitespace"), e.consume(m), e.exit("listItemPrefixWhitespace"), h) : n(m);
8198
8199
  }
8199
- function m(h) {
8200
- return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(h);
8200
+ function h(m) {
8201
+ return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(m);
8201
8202
  }
8202
8203
  }
8203
8204
  function th(e, t, n) {
@@ -8367,11 +8368,11 @@ function To(e) {
8367
8368
  if (f === null)
8368
8369
  return !0;
8369
8370
  const d = a[f];
8370
- let m = -1;
8371
+ let h = -1;
8371
8372
  if (d)
8372
- for (; ++m < d.length; ) {
8373
- const h = d[m];
8374
- if (!h.previous || h.previous.call(r, r.previous))
8373
+ for (; ++h < d.length; ) {
8374
+ const m = d[h];
8375
+ if (!m.previous || m.previous.call(r, r.previous))
8375
8376
  return !0;
8376
8377
  }
8377
8378
  return !1;
@@ -8459,8 +8460,8 @@ function hh(e, t, n) {
8459
8460
  containerState: {},
8460
8461
  events: [],
8461
8462
  parser: e,
8462
- sliceStream: h,
8463
- sliceSerialize: m,
8463
+ sliceStream: m,
8464
+ sliceSerialize: h,
8464
8465
  now: y,
8465
8466
  defineSkip: A,
8466
8467
  write: d
@@ -8470,10 +8471,10 @@ function hh(e, t, n) {
8470
8471
  function d(M) {
8471
8472
  return u = nt(u, M), L(), u[u.length - 1] !== null ? [] : (ue(t, 0), c.events = ri(i, c.events, c), c.events);
8472
8473
  }
8473
- function m(M, w) {
8474
- return ph(h(M), w);
8474
+ function h(M, w) {
8475
+ return ph(m(M), w);
8475
8476
  }
8476
- function h(M) {
8477
+ function m(M) {
8477
8478
  return mh(u, M);
8478
8479
  }
8479
8480
  function y() {
@@ -8739,16 +8740,16 @@ function Oh() {
8739
8740
  return a;
8740
8741
  function a(i, u, o) {
8741
8742
  const l = [];
8742
- let c, f, d, m, h;
8743
+ let c, f, d, h, m;
8743
8744
  for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(u || void 0).decode(i)), d = 0, t = "", n && (i.charCodeAt(0) === 65279 && d++, n = void 0); d < i.length; ) {
8744
- if (lu.lastIndex = d, c = lu.exec(i), m = c && c.index !== void 0 ? c.index : i.length, h = i.charCodeAt(m), !c) {
8745
+ if (lu.lastIndex = d, c = lu.exec(i), h = c && c.index !== void 0 ? c.index : i.length, m = i.charCodeAt(h), !c) {
8745
8746
  t = i.slice(d);
8746
8747
  break;
8747
8748
  }
8748
- if (h === 10 && d === m && r)
8749
+ if (m === 10 && d === h && r)
8749
8750
  l.push(-3), r = void 0;
8750
8751
  else
8751
- switch (r && (l.push(-5), r = void 0), d < m && (l.push(i.slice(d, m)), e += m - d), h) {
8752
+ switch (r && (l.push(-5), r = void 0), d < h && (l.push(i.slice(d, h)), e += h - d), m) {
8752
8753
  case 0: {
8753
8754
  l.push(65533), e++;
8754
8755
  break;
@@ -8764,7 +8765,7 @@ function Oh() {
8764
8765
  default:
8765
8766
  r = !0, e = 1;
8766
8767
  }
8767
- d = m + 1;
8768
+ d = h + 1;
8768
8769
  }
8769
8770
  return o && (r && l.push(-5), t && l.push(t), l.push(null)), l;
8770
8771
  }
@@ -8825,7 +8826,7 @@ function Dh(e) {
8825
8826
  label: u,
8826
8827
  link: i(pe),
8827
8828
  listItem: i(Ne),
8828
- listItemValue: m,
8829
+ listItemValue: h,
8829
8830
  listOrdered: i(Ee, d),
8830
8831
  listUnordered: i(Ee),
8831
8832
  paragraph: i(Ye),
@@ -8850,7 +8851,7 @@ function Dh(e) {
8850
8851
  characterReferenceValue: z,
8851
8852
  codeFenced: l(L),
8852
8853
  codeFencedFence: A,
8853
- codeFencedFenceInfo: h,
8854
+ codeFencedFenceInfo: m,
8854
8855
  codeFencedFenceMeta: y,
8855
8856
  codeFlowValue: Y,
8856
8857
  codeIndented: l(S),
@@ -9046,13 +9047,13 @@ function Dh(e) {
9046
9047
  function d() {
9047
9048
  this.data.expectingFirstListItemValue = !0;
9048
9049
  }
9049
- function m(O) {
9050
+ function h(O) {
9050
9051
  if (this.data.expectingFirstListItemValue) {
9051
9052
  const H = this.stack[this.stack.length - 2];
9052
9053
  H.start = Number.parseInt(this.sliceSerialize(O), 10), this.data.expectingFirstListItemValue = void 0;
9053
9054
  }
9054
9055
  }
9055
- function h() {
9056
+ function m() {
9056
9057
  const O = this.resume(), H = this.stack[this.stack.length - 1];
9057
9058
  H.lang = O;
9058
9059
  }
@@ -9647,9 +9648,9 @@ function nm(e, t, n) {
9647
9648
  let l = -1;
9648
9649
  const c = [];
9649
9650
  for (; ++l < o; ) {
9650
- const d = t.children[l], m = {}, h = u ? u[l] : void 0;
9651
- h && (m.align = h);
9652
- let y = { type: "element", tagName: i, properties: m, children: [] };
9651
+ const d = t.children[l], h = {}, m = u ? u[l] : void 0;
9652
+ m && (h.align = m);
9653
+ let y = { type: "element", tagName: i, properties: h, children: [] };
9653
9654
  d && (y.children = e.all(d), e.patch(d, y), y = e.applyData(d, y)), c.push(y);
9654
9655
  }
9655
9656
  const f = {
@@ -9842,8 +9843,8 @@ const Co = -1, Or = 0, sr = 1, or = 2, ii = 3, ui = 4, si = 5, oi = 6, xo = 7, I
9842
9843
  if (l)
9843
9844
  return a([l, [...u]], u);
9844
9845
  const f = [], d = a([o, f], u);
9845
- for (const m of u)
9846
- f.push(i(m));
9846
+ for (const h of u)
9847
+ f.push(i(h));
9847
9848
  return d;
9848
9849
  }
9849
9850
  case or: {
@@ -9859,8 +9860,8 @@ const Co = -1, Or = 0, sr = 1, or = 2, ii = 3, ui = 4, si = 5, oi = 6, xo = 7, I
9859
9860
  if (t && "toJSON" in u)
9860
9861
  return i(u.toJSON());
9861
9862
  const f = [], d = a([o, f], u);
9862
- for (const m of cm(u))
9863
- (e || !Kn(Tn(u[m]))) && f.push([i(m), i(u[m])]);
9863
+ for (const h of cm(u))
9864
+ (e || !Kn(Tn(u[h]))) && f.push([i(h), i(u[h])]);
9864
9865
  return d;
9865
9866
  }
9866
9867
  case ii:
@@ -9871,14 +9872,14 @@ const Co = -1, Or = 0, sr = 1, or = 2, ii = 3, ui = 4, si = 5, oi = 6, xo = 7, I
9871
9872
  }
9872
9873
  case si: {
9873
9874
  const f = [], d = a([o, f], u);
9874
- for (const [m, h] of u)
9875
- (e || !(Kn(Tn(m)) || Kn(Tn(h)))) && f.push([i(m), i(h)]);
9875
+ for (const [h, m] of u)
9876
+ (e || !(Kn(Tn(h)) || Kn(Tn(m)))) && f.push([i(h), i(m)]);
9876
9877
  return d;
9877
9878
  }
9878
9879
  case oi: {
9879
9880
  const f = [], d = a([o, f], u);
9880
- for (const m of u)
9881
- (e || !Kn(Tn(m))) && f.push(i(m));
9881
+ for (const h of u)
9882
+ (e || !Kn(Tn(h))) && f.push(i(h));
9882
9883
  return d;
9883
9884
  }
9884
9885
  }
@@ -9914,19 +9915,19 @@ function mm(e) {
9914
9915
  const c = e.footnoteById.get(e.footnoteOrder[l]);
9915
9916
  if (!c)
9916
9917
  continue;
9917
- const f = e.all(c), d = String(c.identifier).toUpperCase(), m = fn(d.toLowerCase());
9918
- let h = 0;
9918
+ const f = e.all(c), d = String(c.identifier).toUpperCase(), h = fn(d.toLowerCase());
9919
+ let m = 0;
9919
9920
  const y = [], A = e.footnoteCounts.get(d);
9920
- for (; A !== void 0 && ++h <= A; ) {
9921
+ for (; A !== void 0 && ++m <= A; ) {
9921
9922
  y.length > 0 && y.push({ type: "text", value: " " });
9922
- let R = typeof n == "string" ? n : n(l, h);
9923
+ let R = typeof n == "string" ? n : n(l, m);
9923
9924
  typeof R == "string" && (R = { type: "text", value: R }), y.push({
9924
9925
  type: "element",
9925
9926
  tagName: "a",
9926
9927
  properties: {
9927
- href: "#" + t + "fnref-" + m + (h > 1 ? "-" + h : ""),
9928
+ href: "#" + t + "fnref-" + h + (m > 1 ? "-" + m : ""),
9928
9929
  dataFootnoteBackref: "",
9929
- ariaLabel: typeof r == "string" ? r : r(l, h),
9930
+ ariaLabel: typeof r == "string" ? r : r(l, m),
9930
9931
  className: ["data-footnote-backref"]
9931
9932
  },
9932
9933
  children: Array.isArray(R) ? R : [R]
@@ -9941,7 +9942,7 @@ function mm(e) {
9941
9942
  const S = {
9942
9943
  type: "element",
9943
9944
  tagName: "li",
9944
- properties: { id: t + "fn-" + m },
9945
+ properties: { id: t + "fn-" + h },
9945
9946
  children: e.wrap(f, !0)
9946
9947
  };
9947
9948
  e.patch(c, S), o.push(S);
@@ -10067,28 +10068,28 @@ function ym(e, t, n, r) {
10067
10068
  l && typeof l == "object" ? l : {}
10068
10069
  );
10069
10070
  if (typeof d.type == "string") {
10070
- const h = (
10071
+ const m = (
10071
10072
  // `hast`
10072
10073
  typeof d.tagName == "string" ? d.tagName : (
10073
10074
  // `xast`
10074
10075
  typeof d.name == "string" ? d.name : void 0
10075
10076
  )
10076
10077
  );
10077
- Object.defineProperty(m, "name", {
10078
- value: "node (" + (l.type + (h ? "<" + h + ">" : "")) + ")"
10078
+ Object.defineProperty(h, "name", {
10079
+ value: "node (" + (l.type + (m ? "<" + m + ">" : "")) + ")"
10079
10080
  });
10080
10081
  }
10081
- return m;
10082
- function m() {
10083
- let h = Oo, y, A, L;
10084
- if ((!t || i(l, c, f[f.length - 1] || void 0)) && (h = Sm(n(l, f)), h[0] === bu))
10085
- return h;
10082
+ return h;
10083
+ function h() {
10084
+ let m = Oo, y, A, L;
10085
+ if ((!t || i(l, c, f[f.length - 1] || void 0)) && (m = Sm(n(l, f)), m[0] === bu))
10086
+ return m;
10086
10087
  if ("children" in l && l.children) {
10087
10088
  const S = (
10088
10089
  /** @type {UnistParent} */
10089
10090
  l
10090
10091
  );
10091
- if (S.children && h[0] !== _m)
10092
+ if (S.children && m[0] !== _m)
10092
10093
  for (A = (r ? S.children.length : -1) + u, L = f.concat(S); A > -1 && A < S.children.length; ) {
10093
10094
  const R = S.children[A];
10094
10095
  if (y = o(R, A, L)(), y[0] === bu)
@@ -10096,7 +10097,7 @@ function ym(e, t, n, r) {
10096
10097
  A = typeof y[1] == "number" ? y[1] : A + u;
10097
10098
  }
10098
10099
  }
10099
- return h;
10100
+ return m;
10100
10101
  }
10101
10102
  }
10102
10103
  }
@@ -10128,15 +10129,15 @@ function xm(e, t) {
10128
10129
  };
10129
10130
  return li(e, function(f) {
10130
10131
  if (f.type === "definition" || f.type === "footnoteDefinition") {
10131
- const d = f.type === "definition" ? r : a, m = String(f.identifier).toUpperCase();
10132
- d.has(m) || d.set(m, f);
10132
+ const d = f.type === "definition" ? r : a, h = String(f.identifier).toUpperCase();
10133
+ d.has(h) || d.set(h, f);
10133
10134
  }
10134
10135
  }), o;
10135
10136
  function l(f, d) {
10136
- const m = f.type, h = o.handlers[m];
10137
- if (va.call(o.handlers, m) && h)
10138
- return h(o, f, d);
10139
- if (o.options.passThrough && o.options.passThrough.includes(m)) {
10137
+ const h = f.type, m = o.handlers[h];
10138
+ if (va.call(o.handlers, h) && m)
10139
+ return m(o, f, d);
10140
+ if (o.options.passThrough && o.options.passThrough.includes(h)) {
10140
10141
  if ("children" in f) {
10141
10142
  const { children: A, ...L } = f, S = sn(L);
10142
10143
  return S.children = o.all(f), S;
@@ -10148,12 +10149,12 @@ function xm(e, t) {
10148
10149
  function c(f) {
10149
10150
  const d = [];
10150
10151
  if ("children" in f) {
10151
- const m = f.children;
10152
- let h = -1;
10153
- for (; ++h < m.length; ) {
10154
- const y = o.one(m[h], f);
10152
+ const h = f.children;
10153
+ let m = -1;
10154
+ for (; ++m < h.length; ) {
10155
+ const y = o.one(h[m], f);
10155
10156
  if (y) {
10156
- if (h && m[h - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = Tu(y.value)), !Array.isArray(y) && y.type === "element")) {
10157
+ if (m && h[m - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = Tu(y.value)), !Array.isArray(y) && y.type === "element")) {
10157
10158
  const A = y.children[0];
10158
10159
  A && A.type === "text" && (A.value = Tu(A.value));
10159
10160
  }
@@ -10242,10 +10243,10 @@ function vm() {
10242
10243
  var f = e.call(c, "constructor"), d = c.constructor && c.constructor.prototype && e.call(c.constructor.prototype, "isPrototypeOf");
10243
10244
  if (c.constructor && !f && !d)
10244
10245
  return !1;
10245
- var m;
10246
- for (m in c)
10246
+ var h;
10247
+ for (h in c)
10247
10248
  ;
10248
- return typeof m > "u" || e.call(c, m);
10249
+ return typeof h > "u" || e.call(c, h);
10249
10250
  }, u = function(c, f) {
10250
10251
  n && f.name === "__proto__" ? n(c, f.name, {
10251
10252
  enumerable: !0,
@@ -10262,11 +10263,11 @@ function vm() {
10262
10263
  return c[f];
10263
10264
  };
10264
10265
  return Wr = function l() {
10265
- var c, f, d, m, h, y, A = arguments[0], L = 1, S = arguments.length, R = !1;
10266
+ var c, f, d, h, m, y, A = arguments[0], L = 1, S = arguments.length, R = !1;
10266
10267
  for (typeof A == "boolean" && (R = A, A = arguments[1] || {}, L = 2), (A == null || typeof A != "object" && typeof A != "function") && (A = {}); L < S; ++L)
10267
10268
  if (c = arguments[L], c != null)
10268
10269
  for (f in c)
10269
- d = o(A, f), m = o(c, f), A !== m && (R && m && (i(m) || (h = a(m))) ? (h ? (h = !1, y = d && a(d) ? d : []) : y = d && i(d) ? d : {}, u(A, { name: f, newValue: l(R, y, m) })) : typeof m < "u" && u(A, { name: f, newValue: m }));
10270
+ d = o(A, f), h = o(c, f), A !== h && (R && h && (i(h) || (m = a(h))) ? (m ? (m = !1, y = d && a(d) ? d : []) : y = d && i(d) ? d : {}, u(A, { name: f, newValue: l(R, y, h) })) : typeof h < "u" && u(A, { name: f, newValue: h }));
10270
10271
  return A;
10271
10272
  }, Wr;
10272
10273
  }
@@ -11110,18 +11111,18 @@ class ci extends Vm {
11110
11111
  /** @type {unknown} */
11111
11112
  r.parse(o)
11112
11113
  );
11113
- r.run(l, o, function(f, d, m) {
11114
- if (f || !d || !m)
11114
+ r.run(l, o, function(f, d, h) {
11115
+ if (f || !d || !h)
11115
11116
  return c(f);
11116
- const h = (
11117
+ const m = (
11117
11118
  /** @type {CompileTree extends undefined ? Node : CompileTree} */
11118
11119
  /** @type {unknown} */
11119
11120
  d
11120
- ), y = r.stringify(h, m);
11121
- Qm(y) ? m.value = y : m.result = y, c(
11121
+ ), y = r.stringify(m, h);
11122
+ Qm(y) ? h.value = y : h.result = y, c(
11122
11123
  f,
11123
11124
  /** @type {VFileWithOutput<CompileResult>} */
11124
- m
11125
+ h
11125
11126
  );
11126
11127
  });
11127
11128
  function c(f, d) {
@@ -11212,12 +11213,12 @@ class ci extends Vm {
11212
11213
  function i(u, o) {
11213
11214
  const l = Zn(n);
11214
11215
  a.run(t, l, c);
11215
- function c(f, d, m) {
11216
- const h = (
11216
+ function c(f, d, h) {
11217
+ const m = (
11217
11218
  /** @type {TailTree extends undefined ? Node : TailTree} */
11218
11219
  d || t
11219
11220
  );
11220
- f ? o(f) : u ? u(h) : r(void 0, h, m);
11221
+ f ? o(f) : u ? u(m) : r(void 0, m, h);
11221
11222
  }
11222
11223
  }
11223
11224
  }
@@ -11378,18 +11379,18 @@ class ci extends Vm {
11378
11379
  throw new TypeError("Expected a list of plugins, not `" + c + "`");
11379
11380
  }
11380
11381
  function l(c, f) {
11381
- let d = -1, m = -1;
11382
+ let d = -1, h = -1;
11382
11383
  for (; ++d < r.length; )
11383
11384
  if (r[d][0] === c) {
11384
- m = d;
11385
+ h = d;
11385
11386
  break;
11386
11387
  }
11387
- if (m === -1)
11388
+ if (h === -1)
11388
11389
  r.push([c, ...f]);
11389
11390
  else if (f.length > 0) {
11390
- let [h, ...y] = f;
11391
- const A = r[m][1];
11392
- Pa(A) && Pa(h) && (h = Xr(!0, A, h)), r[m] = [c, h, ...y];
11391
+ let [m, ...y] = f;
11392
+ const A = r[h][1];
11393
+ Pa(A) && Pa(m) && (m = Xr(!0, A, m)), r[h] = [c, m, ...y];
11393
11394
  }
11394
11395
  }
11395
11396
  }
@@ -11465,12 +11466,12 @@ const Zm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
11465
11466
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
11466
11467
  ];
11467
11468
  function Ro(e) {
11468
- const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, i = e.components, u = e.disallowedElements, o = e.rehypePlugins || xu, l = e.remarkPlugins || xu, c = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Iu } : Iu, f = e.skipHtml, d = e.unwrapDisallowed, m = e.urlTransform || tp, h = Wm().use(wh).use(l).use(Rm, c).use(o), y = new Lo();
11469
+ const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, i = e.components, u = e.disallowedElements, o = e.rehypePlugins || xu, l = e.remarkPlugins || xu, c = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Iu } : Iu, f = e.skipHtml, d = e.unwrapDisallowed, h = e.urlTransform || tp, m = Wm().use(wh).use(l).use(Rm, c).use(o), y = new Lo();
11469
11470
  typeof r == "string" && (y.value = r);
11470
11471
  for (const R of ep)
11471
11472
  Object.hasOwn(e, R.from) && ("" + R.from + (R.to ? "use `" + R.to + "` instead" : "remove it") + Zm + R.id, void 0);
11472
- const A = h.parse(y);
11473
- let L = h.runSync(A, y);
11473
+ const A = m.parse(y);
11474
+ let L = m.runSync(A, y);
11474
11475
  return a && (L = {
11475
11476
  type: "element",
11476
11477
  tagName: "div",
@@ -11497,7 +11498,7 @@ function Ro(e) {
11497
11498
  for (x in jr)
11498
11499
  if (Object.hasOwn(jr, x) && Object.hasOwn(R.properties, x)) {
11499
11500
  const I = R.properties[x], q = jr[x];
11500
- (q === null || q.includes(R.tagName)) && (R.properties[x] = m(String(I || ""), x, R));
11501
+ (q === null || q.includes(R.tagName)) && (R.properties[x] = h(String(I || ""), x, R));
11501
11502
  }
11502
11503
  }
11503
11504
  if (R.type === "element") {
@@ -17931,12 +17932,12 @@ function Tb(e, t, n) {
17931
17932
  u
17932
17933
  ]);
17933
17934
  let o = u ? e : r, l = Ut((c, ...f) => {
17934
- let d = (m, ...h) => {
17935
- n && (Object.is(o, m) || n(m, ...h)), u || (o = m);
17935
+ let d = (h, ...m) => {
17936
+ n && (Object.is(o, h) || n(h, ...m)), u || (o = h);
17936
17937
  };
17937
- typeof c == "function" ? (console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"), a((h, ...y) => {
17938
- let A = c(u ? o : h, ...y);
17939
- return d(A, ...f), u ? h : A;
17938
+ typeof c == "function" ? (console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"), a((m, ...y) => {
17939
+ let A = c(u ? o : m, ...y);
17940
+ return d(A, ...f), u ? m : A;
17940
17941
  })) : (u || a(c), d(c, ...f));
17941
17942
  }, [
17942
17943
  u,
@@ -18629,8 +18630,8 @@ function TT(e) {
18629
18630
  let f = lt(ET), d = xn(() => r ? Array.isArray(r) ? r.flatMap((Y) => Ya(f[Y])) : Ya(f[r]) : [], [
18630
18631
  f,
18631
18632
  r
18632
- ]), [m, h] = ge(f), [y, A] = ge(!1);
18633
- f !== m && (h(f), A(!1));
18633
+ ]), [h, m] = ge(f), [y, A] = ge(!1);
18634
+ f !== h && (m(f), A(!1));
18634
18635
  let L = xn(() => Zu(y ? [] : d), [
18635
18636
  y,
18636
18637
  d
@@ -18729,10 +18730,10 @@ function yT(e, t) {
18729
18730
  let { inputElementType: n = "input", isDisabled: r = !1, isRequired: a = !1, isReadOnly: i = !1, type: u = "text", validationBehavior: o = "aria" } = e, [l, c] = Tb(e.value, e.defaultValue || "", e.onChange), { focusableProps: f } = fT(e, t), d = bT({
18730
18731
  ...e,
18731
18732
  value: l
18732
- }), { isInvalid: m, validationErrors: h, validationDetails: y } = d.displayValidation, { labelProps: A, fieldProps: L, descriptionProps: S, errorMessageProps: R } = _T({
18733
+ }), { isInvalid: h, validationErrors: m, validationDetails: y } = d.displayValidation, { labelProps: A, fieldProps: L, descriptionProps: S, errorMessageProps: R } = _T({
18733
18734
  ...e,
18734
- isInvalid: m,
18735
- errorMessage: e.errorMessage || h
18735
+ isInvalid: h,
18736
+ errorMessage: e.errorMessage || m
18736
18737
  }), N = Fb(e, {
18737
18738
  labelable: !0
18738
18739
  });
@@ -18759,7 +18760,7 @@ function yT(e, t) {
18759
18760
  readOnly: i,
18760
18761
  required: a && o === "native",
18761
18762
  "aria-required": a && o === "aria" || void 0,
18762
- "aria-invalid": m || void 0,
18763
+ "aria-invalid": h || void 0,
18763
18764
  "aria-errormessage": e["aria-errormessage"],
18764
18765
  "aria-activedescendant": e["aria-activedescendant"],
18765
18766
  "aria-autocomplete": e["aria-autocomplete"],
@@ -18791,16 +18792,16 @@ function yT(e, t) {
18791
18792
  }),
18792
18793
  descriptionProps: S,
18793
18794
  errorMessageProps: R,
18794
- isInvalid: m,
18795
- validationErrors: h,
18795
+ isInvalid: h,
18796
+ validationErrors: m,
18796
18797
  validationDetails: y
18797
18798
  };
18798
18799
  }
18799
18800
  const ST = (e) => e.charCodeAt(e.length - 1) === 10, CT = (e) => {
18800
18801
  const [t, n] = ge(""), r = () => {
18801
- m.current && (m.current.style.height = m.current.scrollHeight + "px");
18802
+ h.current && (h.current.style.height = h.current.scrollHeight + "px");
18802
18803
  }, a = () => {
18803
- m.current && (m.current.style.height = "48px");
18804
+ h.current && (h.current.style.height = "48px");
18804
18805
  }, i = (D) => {
18805
18806
  n(D);
18806
18807
  };
@@ -18812,12 +18813,12 @@ const ST = (e) => e.charCodeAt(e.length - 1) === 10, CT = (e) => {
18812
18813
  isLoadingStream: c,
18813
18814
  LoadingComponent: f,
18814
18815
  onPressLoadingButton: d
18815
- } = e, m = we(null), { labelProps: h, inputProps: y } = yT(
18816
+ } = e, h = we(null), { labelProps: m, inputProps: y } = yT(
18816
18817
  {
18817
18818
  ...e,
18818
18819
  inputElementType: "textarea"
18819
18820
  },
18820
- m
18821
+ h
18821
18822
  );
18822
18823
  const A = (D) => {
18823
18824
  ST(D.target.value) || i(D.target.value);
@@ -18839,12 +18840,12 @@ const ST = (e) => e.charCodeAt(e.length - 1) === 10, CT = (e) => {
18839
18840
  className: `${e.classNameContainer} w-fu`,
18840
18841
  children: [
18841
18842
  /* @__PURE__ */ De("div", { style: { display: "flex", flexDirection: "column" }, children: [
18842
- /* @__PURE__ */ B("label", { ...h, className: e.classNameLabel, children: u }),
18843
+ /* @__PURE__ */ B("label", { ...m, className: e.classNameLabel, children: u }),
18843
18844
  /* @__PURE__ */ B(
18844
18845
  "textarea",
18845
18846
  {
18846
18847
  ...y,
18847
- ref: m,
18848
+ ref: h,
18848
18849
  className: `${e.classNameTextarea} p-3`,
18849
18850
  onChange: A,
18850
18851
  value: t,
@@ -19080,19 +19081,19 @@ const Il = () => {
19080
19081
  const f = t.current, d = 4;
19081
19082
  if (f) {
19082
19083
  f.scrollTop < u.current - 1 && (i.current = !1);
19083
- const h = f.scrollHeight > f.clientHeight, y = f.scrollHeight - f.scrollTop <= f.clientHeight + d;
19084
- r(h && !y), a.current = y, u.current = f.scrollTop;
19084
+ const m = f.scrollHeight > f.clientHeight, y = f.scrollHeight - f.scrollTop <= f.clientHeight + d;
19085
+ r(m && !y), a.current = y, u.current = f.scrollTop;
19085
19086
  }
19086
19087
  }, l = ({
19087
19088
  smooth: f = !1,
19088
19089
  sticky: d = !1
19089
19090
  }) => {
19090
- const m = t.current;
19091
- d ? (i.current = !0, a.current = !0) : m && m.scrollTo({
19092
- top: m.scrollHeight,
19091
+ const h = t.current;
19092
+ d ? (i.current = !0, a.current = !0) : h && h.scrollTo({
19093
+ top: h.scrollHeight,
19093
19094
  behavior: f ? "smooth" : "auto"
19094
- }), m && i.current && m.scrollTo({
19095
- top: m.scrollHeight,
19095
+ }), h && i.current && h.scrollTo({
19096
+ top: h.scrollHeight,
19096
19097
  behavior: f ? "smooth" : "auto"
19097
19098
  });
19098
19099
  };
@@ -19123,9 +19124,9 @@ const Nl = ({
19123
19124
  e || console.log("Dev - Admin settings");
19124
19125
  const n = we(null), { placeholderTranslation: r } = Ka(), { conversation: a, setConversation: i } = lt(
19125
19126
  Fs
19126
- ), [u, o] = ge("notLoading"), [l, c] = ge(null), { defaultStartingStep: f } = Il(), [d, m] = ge(
19127
+ ), [u, o] = ge("notLoading"), [l, c] = ge(null), { defaultStartingStep: f } = Il(), [d, h] = ge(
19127
19128
  null
19128
- ), [h, y] = ge(
19129
+ ), [m, y] = ge(
19129
19130
  f
19130
19131
  ), [A, L] = ge(
19131
19132
  null
@@ -19220,7 +19221,7 @@ const Nl = ({
19220
19221
  Fe
19221
19222
  )) {
19222
19223
  const { content: xe } = Fe;
19223
- z.enqueue(xe), m(xe);
19224
+ z.enqueue(xe), h(xe);
19224
19225
  } else
19225
19226
  console.warn(`Object not handled - ${Fe}`);
19226
19227
  if (ae && X) {
@@ -19270,7 +19271,7 @@ const Nl = ({
19270
19271
  /* @__PURE__ */ B(
19271
19272
  vT,
19272
19273
  {
19273
- currentStepName: h,
19274
+ currentStepName: m,
19274
19275
  currentStepNumber: A,
19275
19276
  loadingStatus: u,
19276
19277
  numberOfSteps: d
@@ -19413,8 +19414,8 @@ function kT() {
19413
19414
  t.call(o, d) && (l[d] = o[d]);
19414
19415
  if (e) {
19415
19416
  c = e(o);
19416
- for (var m = 0; m < c.length; m++)
19417
- n.call(o, c[m]) && (l[c[m]] = o[c[m]]);
19417
+ for (var h = 0; h < c.length; h++)
19418
+ n.call(o, c[h]) && (l[c[h]] = o[c[h]]);
19418
19419
  }
19419
19420
  }
19420
19421
  return l;
@@ -19455,10 +19456,10 @@ function wT() {
19455
19456
  var d;
19456
19457
  try {
19457
19458
  if (typeof i[f] != "function") {
19458
- var m = Error(
19459
+ var h = Error(
19459
19460
  (l || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
19460
19461
  );
19461
- throw m.name = "Invariant Violation", m;
19462
+ throw h.name = "Invariant Violation", h;
19462
19463
  }
19463
19464
  d = i[f](u, f, l, o, null, t);
19464
19465
  } catch (y) {
@@ -19468,9 +19469,9 @@ function wT() {
19468
19469
  (l || "React class") + ": type specification of " + o + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
19469
19470
  ), d instanceof Error && !(d.message in n)) {
19470
19471
  n[d.message] = !0;
19471
- var h = c ? c() : "";
19472
+ var m = c ? c() : "";
19472
19473
  e(
19473
- "Failed " + o + " type: " + d.message + (h ?? "")
19474
+ "Failed " + o + " type: " + d.message + (m ?? "")
19474
19475
  );
19475
19476
  }
19476
19477
  }
@@ -19504,7 +19505,7 @@ function MT() {
19504
19505
  if (typeof F == "function")
19505
19506
  return F;
19506
19507
  }
19507
- var m = "<<anonymous>>", h = {
19508
+ var h = "<<anonymous>>", m = {
19508
19509
  array: S("array"),
19509
19510
  bigint: S("bigint"),
19510
19511
  bool: S("boolean"),
@@ -19536,7 +19537,7 @@ function MT() {
19536
19537
  if (process.env.NODE_ENV !== "production")
19537
19538
  var F = {}, X = 0;
19538
19539
  function T(K, z, Q, ee, ae, Z, _e) {
19539
- if (ee = ee || m, Z = Z || Q, _e !== n) {
19540
+ if (ee = ee || h, Z = Z || Q, _e !== n) {
19540
19541
  if (l) {
19541
19542
  var U = new Error(
19542
19543
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -19615,7 +19616,7 @@ function MT() {
19615
19616
  function I(p) {
19616
19617
  function F(X, T, V, K, z) {
19617
19618
  if (!(X[T] instanceof p)) {
19618
- var Q = p.name || m, ee = Le(X[T]);
19619
+ var Q = p.name || h, ee = Le(X[T]);
19619
19620
  return new A("Invalid " + K + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + V + "`, expected ") + ("instance of `" + Q + "`."));
19620
19621
  }
19621
19622
  return null;
@@ -19796,9 +19797,9 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
19796
19797
  }
19797
19798
  }
19798
19799
  function Le(p) {
19799
- return !p.constructor || !p.constructor.name ? m : p.constructor.name;
19800
+ return !p.constructor || !p.constructor.name ? h : p.constructor.name;
19800
19801
  }
19801
- return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
19802
+ return m.checkPropTypes = a, m.resetWarningCache = a.resetWarningCache, m.PropTypes = m, m;
19802
19803
  }, da;
19803
19804
  }
19804
19805
  var ha, as;
@@ -19813,10 +19814,10 @@ function BT() {
19813
19814
  return n.resetWarningCache = t, ha = function() {
19814
19815
  function r(u, o, l, c, f, d) {
19815
19816
  if (d !== e) {
19816
- var m = new Error(
19817
+ var h = new Error(
19817
19818
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
19818
19819
  );
19819
- throw m.name = "Invariant Violation", m;
19820
+ throw h.name = "Invariant Violation", h;
19820
19821
  }
19821
19822
  }
19822
19823
  r.isRequired = r;
@@ -19944,7 +19945,7 @@ var Pl = function(t) {
19944
19945
  status: Cn
19945
19946
  });
19946
19947
  }, n.performEnter = function(a) {
19947
- var i = this, u = this.props.enter, o = this.context ? this.context.isMounting : a, l = this.props.nodeRef ? [o] : [jn.findDOMNode(this), o], c = l[0], f = l[1], d = this.getTimeouts(), m = o ? d.appear : d.enter;
19948
+ var i = this, u = this.props.enter, o = this.context ? this.context.isMounting : a, l = this.props.nodeRef ? [o] : [jn.findDOMNode(this), o], c = l[0], f = l[1], d = this.getTimeouts(), h = o ? d.appear : d.enter;
19948
19949
  if (!a && !u || ss.disabled) {
19949
19950
  this.safeSetState({
19950
19951
  status: Jt
@@ -19956,7 +19957,7 @@ var Pl = function(t) {
19956
19957
  this.props.onEnter(c, f), this.safeSetState({
19957
19958
  status: Mt
19958
19959
  }, function() {
19959
- i.props.onEntering(c, f), i.onTransitionEnd(m, function() {
19960
+ i.props.onEntering(c, f), i.onTransitionEnd(h, function() {
19960
19961
  i.safeSetState({
19961
19962
  status: Jt
19962
19963
  }, function() {
@@ -20235,11 +20236,11 @@ var jT = function(t, n) {
20235
20236
  var c = r.resolveArguments(o, l), f = c[0], d = c[1];
20236
20237
  r.removeClasses(f, "exit"), r.addClass(f, d ? "appear" : "enter", "base"), r.props.onEnter && r.props.onEnter(o, l);
20237
20238
  }, r.onEntering = function(o, l) {
20238
- var c = r.resolveArguments(o, l), f = c[0], d = c[1], m = d ? "appear" : "enter";
20239
- r.addClass(f, m, "active"), r.props.onEntering && r.props.onEntering(o, l);
20239
+ var c = r.resolveArguments(o, l), f = c[0], d = c[1], h = d ? "appear" : "enter";
20240
+ r.addClass(f, h, "active"), r.props.onEntering && r.props.onEntering(o, l);
20240
20241
  }, r.onEntered = function(o, l) {
20241
- var c = r.resolveArguments(o, l), f = c[0], d = c[1], m = d ? "appear" : "enter";
20242
- r.removeClasses(f, m), r.addClass(f, m, "done"), r.props.onEntered && r.props.onEntered(o, l);
20242
+ var c = r.resolveArguments(o, l), f = c[0], d = c[1], h = d ? "appear" : "enter";
20243
+ r.removeClasses(f, h), r.addClass(f, h, "done"), r.props.onEntered && r.props.onEntered(o, l);
20243
20244
  }, r.onExit = function(o) {
20244
20245
  var l = r.resolveArguments(o), c = l[0];
20245
20246
  r.removeClasses(c, "appear"), r.removeClasses(c, "enter"), r.addClass(c, "exit", "base"), r.props.onExit && r.props.onExit(o);
@@ -20252,11 +20253,11 @@ var jT = function(t, n) {
20252
20253
  }, r.resolveArguments = function(o, l) {
20253
20254
  return r.props.nodeRef ? [r.props.nodeRef.current, o] : [o, l];
20254
20255
  }, r.getClassNames = function(o) {
20255
- var l = r.props.classNames, c = typeof l == "string", f = c && l ? l + "-" : "", d = c ? "" + f + o : l[o], m = c ? d + "-active" : l[o + "Active"], h = c ? d + "-done" : l[o + "Done"];
20256
+ var l = r.props.classNames, c = typeof l == "string", f = c && l ? l + "-" : "", d = c ? "" + f + o : l[o], h = c ? d + "-active" : l[o + "Active"], m = c ? d + "-done" : l[o + "Done"];
20256
20257
  return {
20257
20258
  baseClassName: d,
20258
- activeClassName: m,
20259
- doneClassName: h
20259
+ activeClassName: h,
20260
+ doneClassName: m
20260
20261
  };
20261
20262
  }, r;
20262
20263
  }