@eloquentai/chat-sdk 0.35.0-dev.6 → 0.35.1-dev.1

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.
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import { jsx as x, jsxs as Z, Fragment as zt } from "react/jsx-runtime";
3
3
  import * as R from "react";
4
- import { useState as Se, forwardRef as je, createContext as Ar, useContext as Er, createElement as Co, useRef as Xe, useEffect as bt, useMemo as qn, useCallback as wa } from "react";
4
+ import { useState as Ae, forwardRef as je, createContext as Ar, useContext as Er, createElement as Co, useRef as Xe, useEffect as vt, useMemo as qn, useCallback as wa } from "react";
5
5
  import * as vc from "react-dom";
6
6
  try {
7
7
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
8
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ac72e031-86e8-4cdc-8627-1b02e960b157", e._sentryDebugIdIdentifier = "sentry-dbid-ac72e031-86e8-4cdc-8627-1b02e960b157");
8
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "91d27ad9-e7fc-48a0-96bc-8974fdaba048", e._sentryDebugIdIdentifier = "sentry-dbid-91d27ad9-e7fc-48a0-96bc-8974fdaba048");
9
9
  } catch {
10
10
  }
11
11
  {
12
12
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
13
- e.SENTRY_RELEASE = { id: "a2b11eb14918d7a6bd525fcdc6606f5cbf7459a1" };
13
+ e.SENTRY_RELEASE = { id: "02689f61215289e984b5b58f766ab86cfad320bf" };
14
14
  }
15
15
  function ka(e) {
16
16
  var t, n, r = "";
@@ -112,7 +112,7 @@ const Ac = (e, t) => {
112
112
  const r = e === "" ? t : Ca(t, e);
113
113
  r.classGroupId = n;
114
114
  }, Pc = (e, t, n, r) => {
115
- if (Oc(e)) {
115
+ if (Mc(e)) {
116
116
  Go(e(r), t, n, r);
117
117
  return;
118
118
  }
@@ -132,7 +132,7 @@ const Ac = (e, t) => {
132
132
  a || (a = Sa(), n.nextPart.set(i, a)), n = a;
133
133
  }
134
134
  return n;
135
- }, Oc = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Mc = (e) => {
135
+ }, Mc = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Oc = (e) => {
136
136
  if (e < 1)
137
137
  return {
138
138
  get: () => {
@@ -223,7 +223,7 @@ const Ac = (e, t) => {
223
223
  return o.length > 0 && (o.sort(), r.push(...o)), r;
224
224
  };
225
225
  }, Uc = (e) => ({
226
- cache: Mc(e.cacheSize),
226
+ cache: Oc(e.cacheSize),
227
227
  parseClassName: Fc(e),
228
228
  sortModifiers: Bc(e),
229
229
  postfixLookupClassGroupIds: Hc(e),
@@ -274,14 +274,14 @@ const Ac = (e, t) => {
274
274
  }
275
275
  w = !1;
276
276
  }
277
- const _ = p.length === 0 ? "" : p.length === 1 ? p[0] : l(p).join(":"), z = g ? _ + Ao : _, M = z + E;
278
- if (a.indexOf(M) > -1)
277
+ const _ = p.length === 0 ? "" : p.length === 1 ? p[0] : l(p).join(":"), O = g ? _ + Ao : _, F = O + E;
278
+ if (a.indexOf(F) > -1)
279
279
  continue;
280
- a.push(M);
280
+ a.push(F);
281
281
  const C = o(E, w);
282
282
  for (let B = 0; B < C.length; ++B) {
283
283
  const N = C[B];
284
- a.push(z + N);
284
+ a.push(O + N);
285
285
  }
286
286
  u = c + (u.length > 0 ? " " + u : u);
287
287
  }
@@ -314,7 +314,7 @@ const Ac = (e, t) => {
314
314
  }, Wc = [], ke = (e) => {
315
315
  const t = (n) => n[e] || Wc;
316
316
  return t.isThemeGetter = !0, t;
317
- }, Ea = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ta = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Gc = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yc = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xc = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Kc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Lt = (e) => Gc.test(e), ee = (e) => !!e && !Number.isNaN(Number(e)), ht = (e) => !!e && Number.isInteger(Number(e)), Xr = (e) => e.endsWith("%") && ee(e.slice(0, -1)), wt = (e) => Yc.test(e), qa = () => !0, Zc = (e) => (
317
+ }, Ea = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ta = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Gc = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yc = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xc = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Kc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Lt = (e) => Gc.test(e), ee = (e) => !!e && !Number.isNaN(Number(e)), ht = (e) => !!e && Number.isInteger(Number(e)), Xr = (e) => e.endsWith("%") && ee(e.slice(0, -1)), xt = (e) => Yc.test(e), qa = () => !0, Zc = (e) => (
318
318
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
319
319
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
320
320
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -326,7 +326,7 @@ const Ac = (e, t) => {
326
326
  const r = Ta.exec(e);
327
327
  return r ? r[1] ? t(r[1]) : n : !1;
328
328
  }, _a = (e) => e === "position" || e === "percentage", Ia = (e) => e === "image" || e === "url", Ra = (e) => e === "length" || e === "size" || e === "bg-size", Na = (e) => e === "length", df = (e) => e === "number", La = (e) => e === "family-name", Pa = (e) => e === "number" || e === "weight", Da = (e) => e === "shadow", nl = () => {
329
- const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), l = ke("leading"), i = ke("breakpoint"), a = ke("container"), s = ke("spacing"), u = ke("radius"), f = ke("shadow"), c = ke("inset-shadow"), d = ke("text-shadow"), p = ke("drop-shadow"), g = ke("blur"), k = ke("perspective"), v = ke("aspect"), w = ke("ease"), E = ke("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
329
+ const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), l = ke("leading"), i = ke("breakpoint"), a = ke("container"), s = ke("spacing"), u = ke("radius"), f = ke("shadow"), c = ke("inset-shadow"), d = ke("text-shadow"), p = ke("drop-shadow"), g = ke("blur"), k = ke("perspective"), v = ke("aspect"), w = ke("ease"), E = ke("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
330
330
  "center",
331
331
  "top",
332
332
  "bottom",
@@ -344,9 +344,9 @@ const Ac = (e, t) => {
344
344
  "bottom-left",
345
345
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
346
346
  "left-bottom"
347
- ], M = () => [...z(), H, U], C = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], N = () => [H, U, s], W = () => [Lt, "full", "auto", ...N()], S = () => [ht, "none", "subgrid", H, U], P = () => ["auto", {
347
+ ], F = () => [...O(), H, U], C = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], N = () => [H, U, s], W = () => [Lt, "full", "auto", ...N()], S = () => [ht, "none", "subgrid", H, U], P = () => ["auto", {
348
348
  span: ["full", ht, H, U]
349
- }, ht, H, U], F = () => [ht, "auto", H, U], re = () => ["auto", "min", "max", "fr", H, U], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], J = () => ["auto", ...N()], ae = () => [Lt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...N()], Ee = () => [Lt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...N()], Le = () => [Lt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...N()], m = () => [e, H, U], ve = () => [...z(), tl, el, {
349
+ }, ht, H, U], z = () => [ht, "auto", H, U], re = () => ["auto", "min", "max", "fr", H, U], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], J = () => ["auto", ...N()], ae = () => [Lt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...N()], Ee = () => [Lt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...N()], Le = () => [Lt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...N()], m = () => [e, H, U], Se = () => [...O(), tl, el, {
350
350
  position: [H, U]
351
351
  }], Pe = () => ["no-repeat", {
352
352
  repeat: ["", "x", "y", "space", "round"]
@@ -373,22 +373,22 @@ const Ac = (e, t) => {
373
373
  theme: {
374
374
  animate: ["spin", "ping", "pulse", "bounce"],
375
375
  aspect: ["video"],
376
- blur: [wt],
377
- breakpoint: [wt],
376
+ blur: [xt],
377
+ breakpoint: [xt],
378
378
  color: [qa],
379
- container: [wt],
380
- "drop-shadow": [wt],
379
+ container: [xt],
380
+ "drop-shadow": [xt],
381
381
  ease: ["in", "out", "in-out"],
382
382
  font: [nf],
383
383
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
384
- "inset-shadow": [wt],
384
+ "inset-shadow": [xt],
385
385
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
386
386
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
387
- radius: [wt],
388
- shadow: [wt],
387
+ radius: [xt],
388
+ shadow: [xt],
389
389
  spacing: ["px", ee],
390
- text: [wt],
391
- "text-shadow": [wt],
390
+ text: [xt],
391
+ "text-shadow": [xt],
392
392
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
393
393
  },
394
394
  classGroups: {
@@ -503,7 +503,7 @@ const Ac = (e, t) => {
503
503
  * @see https://tailwindcss.com/docs/object-position
504
504
  */
505
505
  "object-position": [{
506
- object: M()
506
+ object: F()
507
507
  }],
508
508
  /**
509
509
  * Overflow
@@ -724,14 +724,14 @@ const Ac = (e, t) => {
724
724
  * @see https://tailwindcss.com/docs/grid-column
725
725
  */
726
726
  "col-start": [{
727
- "col-start": F()
727
+ "col-start": z()
728
728
  }],
729
729
  /**
730
730
  * Grid Column End
731
731
  * @see https://tailwindcss.com/docs/grid-column
732
732
  */
733
733
  "col-end": [{
734
- "col-end": F()
734
+ "col-end": z()
735
735
  }],
736
736
  /**
737
737
  * Grid Template Rows
@@ -752,14 +752,14 @@ const Ac = (e, t) => {
752
752
  * @see https://tailwindcss.com/docs/grid-row
753
753
  */
754
754
  "row-start": [{
755
- "row-start": F()
755
+ "row-start": z()
756
756
  }],
757
757
  /**
758
758
  * Grid Row End
759
759
  * @see https://tailwindcss.com/docs/grid-row
760
760
  */
761
761
  "row-end": [{
762
- "row-end": F()
762
+ "row-end": z()
763
763
  }],
764
764
  /**
765
765
  * Grid Auto Flow
@@ -1441,7 +1441,7 @@ const Ac = (e, t) => {
1441
1441
  * @see https://tailwindcss.com/docs/background-position
1442
1442
  */
1443
1443
  "bg-position": [{
1444
- bg: ve()
1444
+ bg: Se()
1445
1445
  }],
1446
1446
  /**
1447
1447
  * Background Repeat
@@ -2110,7 +2110,7 @@ const Ac = (e, t) => {
2110
2110
  }]
2111
2111
  }],
2112
2112
  "mask-image-radial-pos": [{
2113
- "mask-radial-at": z()
2113
+ "mask-radial-at": O()
2114
2114
  }],
2115
2115
  "mask-image-conic-pos": [{
2116
2116
  "mask-conic": [ee]
@@ -2146,7 +2146,7 @@ const Ac = (e, t) => {
2146
2146
  * @see https://tailwindcss.com/docs/mask-position
2147
2147
  */
2148
2148
  "mask-position": [{
2149
- mask: ve()
2149
+ mask: Se()
2150
2150
  }],
2151
2151
  /**
2152
2152
  * Mask Repeat
@@ -2457,7 +2457,7 @@ const Ac = (e, t) => {
2457
2457
  * @see https://tailwindcss.com/docs/perspective-origin
2458
2458
  */
2459
2459
  "perspective-origin": [{
2460
- "perspective-origin": M()
2460
+ "perspective-origin": F()
2461
2461
  }],
2462
2462
  /**
2463
2463
  * Rotate
@@ -2553,7 +2553,7 @@ const Ac = (e, t) => {
2553
2553
  * @see https://tailwindcss.com/docs/transform-origin
2554
2554
  */
2555
2555
  "transform-origin": [{
2556
- origin: M()
2556
+ origin: F()
2557
2557
  }],
2558
2558
  /**
2559
2559
  * Transform Style
@@ -3034,7 +3034,7 @@ function te(...e) {
3034
3034
  return gf(Cc(e));
3035
3035
  }
3036
3036
  function Xo(e) {
3037
- const { className: t, bgColor: n, fgColor: r, src: o, ...l } = e, [i, a] = Se(!1), [s, u] = Se(o);
3037
+ const { className: t, bgColor: n, fgColor: r, src: o, ...l } = e, [i, a] = Ae(!1), [s, u] = Ae(o);
3038
3038
  s !== o && (u(o), a(!1));
3039
3039
  const f = !o || i;
3040
3040
  return /* @__PURE__ */ x(
@@ -3151,11 +3151,11 @@ const Zo = je(
3151
3151
  )
3152
3152
  );
3153
3153
  Zo.displayName = "CardFooter";
3154
- const Oa = Ar(void 0);
3154
+ const Ma = Ar(void 0);
3155
3155
  function xf(e) {
3156
3156
  const t = e.mode || "light";
3157
3157
  return /* @__PURE__ */ x(
3158
- Oa.Provider,
3158
+ Ma.Provider,
3159
3159
  {
3160
3160
  value: {
3161
3161
  mode: t,
@@ -3175,7 +3175,7 @@ function xf(e) {
3175
3175
  );
3176
3176
  }
3177
3177
  const ei = () => {
3178
- const e = Er(Oa);
3178
+ const e = Er(Ma);
3179
3179
  if (!e)
3180
3180
  throw new Error("useTheme must be used within a ThemeProvider");
3181
3181
  return e;
@@ -3186,7 +3186,7 @@ const ei = () => {
3186
3186
  * This source code is licensed under the ISC license.
3187
3187
  * See the LICENSE file in the root directory of this source tree.
3188
3188
  */
3189
- const Ma = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
3189
+ const Oa = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
3190
3190
  /**
3191
3191
  * @license lucide-react v0.577.0 - ISC
3192
3192
  *
@@ -3268,7 +3268,7 @@ const Cf = je(
3268
3268
  height: t,
3269
3269
  stroke: e,
3270
3270
  strokeWidth: r ? Number(n) * 24 / Number(t) : n,
3271
- className: Ma("lucide", o),
3271
+ className: Oa("lucide", o),
3272
3272
  ...!l && !vf(a) && { "aria-hidden": "true" },
3273
3273
  ...a
3274
3274
  },
@@ -3289,7 +3289,7 @@ const Re = (e, t) => {
3289
3289
  ({ className: r, ...o }, l) => Co(Cf, {
3290
3290
  ref: l,
3291
3291
  iconNode: t,
3292
- className: Ma(
3292
+ className: Oa(
3293
3293
  `lucide-${wf(rl(e))}`,
3294
3294
  `lucide-${e}`,
3295
3295
  r
@@ -3357,14 +3357,14 @@ const Lf = [
3357
3357
  const Df = [
3358
3358
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
3359
3359
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
3360
- ], Of = Re("copy", Df);
3360
+ ], Mf = Re("copy", Df);
3361
3361
  /**
3362
3362
  * @license lucide-react v0.577.0 - ISC
3363
3363
  *
3364
3364
  * This source code is licensed under the ISC license.
3365
3365
  * See the LICENSE file in the root directory of this source tree.
3366
3366
  */
3367
- const Mf = [
3367
+ const Of = [
3368
3368
  [
3369
3369
  "path",
3370
3370
  {
@@ -3376,7 +3376,7 @@ const Mf = [
3376
3376
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
3377
3377
  ["path", { d: "M16 13H8", key: "t4e002" }],
3378
3378
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
3379
- ], za = Re("file-text", Mf);
3379
+ ], za = Re("file-text", Of);
3380
3380
  /**
3381
3381
  * @license lucide-react v0.577.0 - ISC
3382
3382
  *
@@ -3814,13 +3814,13 @@ function Qa(...e) {
3814
3814
  }
3815
3815
  rt(Qa, "composeContextScopes");
3816
3816
  var hp = Object.defineProperty, mp = (e, t) => hp(e, "name", { value: t, configurable: !0 });
3817
- function vt(e) {
3817
+ function St(e) {
3818
3818
  const t = R.useRef(e);
3819
3819
  return R.useEffect(() => {
3820
3820
  t.current = e;
3821
3821
  }), R.useMemo(() => ((...n) => t.current?.(...n)), []);
3822
3822
  }
3823
- mp(vt, "useCallbackRef");
3823
+ mp(St, "useCallbackRef");
3824
3824
  var gp = Object.defineProperty, bp = (e, t) => gp(e, "name", { value: t, configurable: !0 }), yp = R.createContext(void 0);
3825
3825
  function Za(e) {
3826
3826
  const t = R.useContext(yp);
@@ -3833,13 +3833,13 @@ function es(e, [t, n]) {
3833
3833
  }
3834
3834
  wp(es, "clamp");
3835
3835
  var kp = Object.defineProperty, wn = (e, t) => kp(e, "name", { value: t, configurable: !0 }), ts = !!(typeof window < "u" && window.document && window.document.createElement);
3836
- function Mt(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3836
+ function Ot(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3837
3837
  return /* @__PURE__ */ wn(function(o) {
3838
3838
  if (e?.(o), n === !1 || !o || !o.defaultPrevented)
3839
3839
  return t?.(o);
3840
3840
  }, "handleEvent");
3841
3841
  }
3842
- wn(Mt, "composeEventHandlers");
3842
+ wn(Ot, "composeEventHandlers");
3843
3843
  function Sp(e) {
3844
3844
  if (!ts)
3845
3845
  throw new Error("Cannot access window outside of the DOM");
@@ -3878,7 +3878,7 @@ function os(e, t) {
3878
3878
  return R.useReducer((n, r) => t[n][r] ?? n, e);
3879
3879
  }
3880
3880
  ie(os, "useStateMachine");
3881
- var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as = /* @__PURE__ */ R.forwardRef(
3881
+ var is = "ScrollArea", [ls, Sk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as = /* @__PURE__ */ R.forwardRef(
3882
3882
  /* @__PURE__ */ ie(function(t, n) {
3883
3883
  const {
3884
3884
  __scopeScrollArea: r,
@@ -3886,7 +3886,7 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
3886
3886
  dir: l,
3887
3887
  scrollHideDelay: i = 600,
3888
3888
  ...a
3889
- } = t, [s, u] = R.useState(null), [f, c] = R.useState(null), [d, p] = R.useState(null), [g, k] = R.useState(null), [v, w] = R.useState(null), [E, _] = R.useState(0), [z, M] = R.useState(0), [C, B] = R.useState(!1), [N, W] = R.useState(!1), S = Bt(n, u), P = Za(l);
3889
+ } = t, [s, u] = R.useState(null), [f, c] = R.useState(null), [d, p] = R.useState(null), [g, k] = R.useState(null), [v, w] = R.useState(null), [E, _] = R.useState(0), [O, F] = R.useState(0), [C, B] = R.useState(!1), [N, W] = R.useState(!1), S = Bt(n, u), P = Za(l);
3890
3890
  return /* @__PURE__ */ x(
3891
3891
  Cp,
3892
3892
  {
@@ -3908,7 +3908,7 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
3908
3908
  scrollbarYEnabled: N,
3909
3909
  onScrollbarYEnabledChange: W,
3910
3910
  onCornerWidthChange: _,
3911
- onCornerHeightChange: M,
3911
+ onCornerHeightChange: F,
3912
3912
  children: /* @__PURE__ */ x(
3913
3913
  Ut.div,
3914
3914
  {
@@ -3919,7 +3919,7 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
3919
3919
  position: "relative",
3920
3920
  // Pass corner sizes as CSS vars to reduce re-renders of context consumers
3921
3921
  "--radix-scroll-area-corner-width": E + "px",
3922
- "--radix-scroll-area-corner-height": z + "px",
3922
+ "--radix-scroll-area-corner-height": O + "px",
3923
3923
  ...t.style
3924
3924
  }
3925
3925
  }
@@ -4044,8 +4044,8 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
4044
4044
  "data-state": s === "hidden" ? "hidden" : "visible",
4045
4045
  ...o,
4046
4046
  ref: n,
4047
- onPointerEnter: Mt(t.onPointerEnter, () => u("POINTER_ENTER")),
4048
- onPointerLeave: Mt(t.onPointerLeave, () => u("POINTER_LEAVE"))
4047
+ onPointerEnter: Ot(t.onPointerEnter, () => u("POINTER_ENTER")),
4048
+ onPointerLeave: Ot(t.onPointerLeave, () => u("POINTER_LEAVE"))
4049
4049
  }
4050
4050
  ) });
4051
4051
  }, "ScrollAreaScrollbarScroll")), us = /* @__PURE__ */ R.forwardRef(/* @__PURE__ */ ie(function(t, n) {
@@ -4209,40 +4209,40 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
4209
4209
  onWheelScroll: c,
4210
4210
  onResize: d,
4211
4211
  ...p
4212
- } = t, g = ot(Et, r), [k, v] = R.useState(null), w = Bt(n, v), E = R.useRef(null), _ = R.useRef(""), z = g.viewport, M = o.content - o.viewport, C = vt(c), B = vt(u), N = Yn(d, 10);
4212
+ } = t, g = ot(Et, r), [k, v] = R.useState(null), w = Bt(n, v), E = R.useRef(null), _ = R.useRef(""), O = g.viewport, F = o.content - o.viewport, C = St(c), B = St(u), N = Yn(d, 10);
4213
4213
  function W(S) {
4214
4214
  if (E.current) {
4215
- const P = S.clientX - E.current.left, F = S.clientY - E.current.top;
4216
- f({ x: P, y: F });
4215
+ const P = S.clientX - E.current.left, z = S.clientY - E.current.top;
4216
+ f({ x: P, y: z });
4217
4217
  }
4218
4218
  }
4219
4219
  return ie(W, "handleDragScroll"), R.useEffect(() => {
4220
4220
  const S = /* @__PURE__ */ ie((P) => {
4221
- const F = P.target;
4222
- k?.contains(F) && C(P, M);
4221
+ const z = P.target;
4222
+ k?.contains(z) && C(P, F);
4223
4223
  }, "handleWheel");
4224
4224
  return document.addEventListener("wheel", S, { passive: !1 }), () => document.removeEventListener("wheel", S, { passive: !1 });
4225
- }, [z, k, M, C]), R.useEffect(B, [o, B]), Zt(k, N), Zt(g.content, N), /* @__PURE__ */ x(
4225
+ }, [O, k, F, C]), R.useEffect(B, [o, B]), Zt(k, N), Zt(g.content, N), /* @__PURE__ */ x(
4226
4226
  Np,
4227
4227
  {
4228
4228
  scope: r,
4229
4229
  scrollbar: k,
4230
4230
  hasThumb: l,
4231
- onThumbChange: vt(i),
4232
- onThumbPointerUp: vt(a),
4231
+ onThumbChange: St(i),
4232
+ onThumbPointerUp: St(a),
4233
4233
  onThumbPositionChange: B,
4234
- onThumbPointerDown: vt(s),
4234
+ onThumbPointerDown: St(s),
4235
4235
  children: /* @__PURE__ */ x(
4236
4236
  Ut.div,
4237
4237
  {
4238
4238
  ...p,
4239
4239
  ref: w,
4240
4240
  style: { position: "absolute", ...p.style },
4241
- onPointerDown: Mt(t.onPointerDown, (S) => {
4241
+ onPointerDown: Ot(t.onPointerDown, (S) => {
4242
4242
  S.button === 0 && (S.target.setPointerCapture(S.pointerId), E.current = k.getBoundingClientRect(), _.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", g.viewport && (g.viewport.style.scrollBehavior = "auto"), W(S));
4243
4243
  }),
4244
- onPointerMove: Mt(t.onPointerMove, W),
4245
- onPointerUp: Mt(t.onPointerUp, (S) => {
4244
+ onPointerMove: Ot(t.onPointerMove, W),
4245
+ onPointerUp: Ot(t.onPointerUp, (S) => {
4246
4246
  const P = S.target;
4247
4247
  P.hasPointerCapture(S.pointerId) && P.releasePointerCapture(S.pointerId), document.body.style.webkitUserSelect = _.current, g.viewport && (g.viewport.style.scrollBehavior = ""), E.current = null;
4248
4248
  })
@@ -4267,7 +4267,7 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
4267
4267
  if (d) {
4268
4268
  const p = /* @__PURE__ */ ie(() => {
4269
4269
  if (c(), !f.current) {
4270
- const g = Mp(d, s);
4270
+ const g = Op(d, s);
4271
4271
  f.current = g, s();
4272
4272
  }
4273
4273
  }, "handleScroll");
@@ -4284,11 +4284,11 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
4284
4284
  height: "var(--radix-scroll-area-thumb-height)",
4285
4285
  ...o
4286
4286
  },
4287
- onPointerDownCapture: Mt(t.onPointerDownCapture, (d) => {
4287
+ onPointerDownCapture: Ot(t.onPointerDownCapture, (d) => {
4288
4288
  const g = d.target.getBoundingClientRect(), k = d.clientX - g.left, v = d.clientY - g.top;
4289
4289
  a.onThumbPointerDown({ x: k, y: v });
4290
4290
  }),
4291
- onPointerUp: Mt(t.onPointerUp, a.onThumbPointerUp)
4291
+ onPointerUp: Ot(t.onPointerUp, a.onThumbPointerUp)
4292
4292
  }
4293
4293
  );
4294
4294
  }, "ScrollAreaThumbImpl")
@@ -4296,9 +4296,9 @@ var is = "ScrollArea", [ls, Ck] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
4296
4296
  // blank line to reduce diff noise
4297
4297
  /* @__PURE__ */ ie(function(t, n) {
4298
4298
  const r = ot(ps, t.__scopeScrollArea), o = !!(r.scrollbarX && r.scrollbarY);
4299
- return r.type !== "scroll" && o ? /* @__PURE__ */ x(Op, { ...t, ref: n }) : null;
4299
+ return r.type !== "scroll" && o ? /* @__PURE__ */ x(Mp, { ...t, ref: n }) : null;
4300
4300
  }, "ScrollAreaCorner")
4301
- ), Op = /* @__PURE__ */ R.forwardRef(/* @__PURE__ */ ie(function(t, n) {
4301
+ ), Mp = /* @__PURE__ */ R.forwardRef(/* @__PURE__ */ ie(function(t, n) {
4302
4302
  const { __scopeScrollArea: r, ...o } = t, l = ot(ps, r), [i, a] = R.useState(0), [s, u] = R.useState(0), f = !!(i && s), { onCornerWidthChange: c, onCornerHeightChange: d } = l;
4303
4303
  return Zt(l.scrollbarX, () => {
4304
4304
  const p = l.scrollbarX?.offsetHeight || 0;
@@ -4361,7 +4361,7 @@ function li(e, t) {
4361
4361
  return e > 0 && e < t;
4362
4362
  }
4363
4363
  ie(li, "isScrollingWithinScrollbarBounds");
4364
- var Mp = /* @__PURE__ */ ie((e, t = () => {
4364
+ var Op = /* @__PURE__ */ ie((e, t = () => {
4365
4365
  }) => {
4366
4366
  let n = { left: e.scrollLeft, top: e.scrollTop }, r = 0;
4367
4367
  return (/* @__PURE__ */ ie((function o() {
@@ -4370,14 +4370,14 @@ var Mp = /* @__PURE__ */ ie((e, t = () => {
4370
4370
  }), "loop"))(), () => window.cancelAnimationFrame(r);
4371
4371
  }, "addUnlinkedScrollListener");
4372
4372
  function Yn(e, t) {
4373
- const n = vt(e), r = R.useRef(0);
4373
+ const n = St(e), r = R.useRef(0);
4374
4374
  return R.useEffect(() => () => window.clearTimeout(r.current), []), R.useCallback(() => {
4375
4375
  window.clearTimeout(r.current), r.current = window.setTimeout(n, t);
4376
4376
  }, [n, t]);
4377
4377
  }
4378
4378
  ie(Yn, "useDebounceCallback");
4379
4379
  function Zt(e, t) {
4380
- const n = vt(t);
4380
+ const n = St(t);
4381
4381
  Un(() => {
4382
4382
  let r = 0;
4383
4383
  if (e) {
@@ -4448,9 +4448,9 @@ const Kr = "eloq:text-gray-400 eloq:dark:text-gray-500 eloq:hover:text-primary e
4448
4448
  function Up({
4449
4449
  messageData: e
4450
4450
  }) {
4451
- const [t, n] = Se(
4451
+ const [t, n] = Ae(
4452
4452
  null
4453
- ), [r, o] = Se(!1), l = nn(), { collectUserFeedback: i } = l, a = l.hasCopyButton ?? (l.hideCopyButton != null ? !l.hideCopyButton : !0);
4453
+ ), [r, o] = Ae(!1), l = nn(), { collectUserFeedback: i } = l, a = l.hasCopyButton ?? (l.hideCopyButton != null ? !l.hideCopyButton : !0);
4454
4454
  return /* @__PURE__ */ Z("div", { className: "eloq:inline-flex eloq:shrink-0 eloq:gap-2", children: [
4455
4455
  a && /* @__PURE__ */ x(
4456
4456
  "button",
@@ -4467,7 +4467,7 @@ function Up({
4467
4467
  className: te(Kr, r && "eloq:text-primary"),
4468
4468
  title: "Copy message",
4469
4469
  "aria-label": "Copy message",
4470
- children: /* @__PURE__ */ x(Of, { size: 16 })
4470
+ children: /* @__PURE__ */ x(Mf, { size: 16 })
4471
4471
  }
4472
4472
  ),
4473
4473
  !e.isWelcomeMessage && i && /* @__PURE__ */ Z(zt, { children: [
@@ -5713,13 +5713,13 @@ function ad() {
5713
5713
  if (!v) return [];
5714
5714
  w = w || {};
5715
5715
  var E = 1, _ = 1;
5716
- function z(V) {
5716
+ function O(V) {
5717
5717
  var D = V.match(t);
5718
5718
  D && (E += D.length);
5719
5719
  var J = V.lastIndexOf(s);
5720
5720
  _ = ~J ? V.length - J : _ + V.length;
5721
5721
  }
5722
- function M() {
5722
+ function F() {
5723
5723
  var V = { line: E, column: _ };
5724
5724
  return function(D) {
5725
5725
  return D.position = new C(V), W(), D;
@@ -5739,7 +5739,7 @@ function ad() {
5739
5739
  var D = V.exec(v);
5740
5740
  if (D) {
5741
5741
  var J = D[0];
5742
- return z(J), v = v.slice(J.length), D;
5742
+ return O(J), v = v.slice(J.length), D;
5743
5743
  }
5744
5744
  }
5745
5745
  function W() {
@@ -5752,21 +5752,21 @@ function ad() {
5752
5752
  return V;
5753
5753
  }
5754
5754
  function P() {
5755
- var V = M();
5755
+ var V = F();
5756
5756
  if (!(u != v.charAt(0) || f != v.charAt(1))) {
5757
5757
  for (var D = 2; c != v.charAt(D) && (f != v.charAt(D) || u != v.charAt(D + 1)); )
5758
5758
  ++D;
5759
5759
  if (D += 2, c === v.charAt(D - 1))
5760
5760
  return B("End of comment missing");
5761
5761
  var J = v.slice(2, D - 2);
5762
- return _ += 2, z(J), v = v.slice(D), _ += 2, V({
5762
+ return _ += 2, O(J), v = v.slice(D), _ += 2, V({
5763
5763
  type: d,
5764
5764
  comment: J
5765
5765
  });
5766
5766
  }
5767
5767
  }
5768
- function F() {
5769
- var V = M(), D = N(r);
5768
+ function z() {
5769
+ var V = F(), D = N(r);
5770
5770
  if (D) {
5771
5771
  if (P(), !N(o)) return B("property missing ':'");
5772
5772
  var J = N(l), ae = V({
@@ -5780,7 +5780,7 @@ function ad() {
5780
5780
  function re() {
5781
5781
  var V = [];
5782
5782
  S(V);
5783
- for (var D; D = F(); )
5783
+ for (var D; D = z(); )
5784
5784
  D !== !1 && (V.push(D), S(V));
5785
5785
  return V;
5786
5786
  }
@@ -5864,13 +5864,13 @@ function _s(e) {
5864
5864
  return { start: t, end: n };
5865
5865
  }
5866
5866
  function zn(e) {
5867
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? pl(e.position) : "start" in e || "end" in e ? pl(e) : "line" in e || "column" in e ? Oo(e) : "";
5867
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? pl(e.position) : "start" in e || "end" in e ? pl(e) : "line" in e || "column" in e ? Mo(e) : "";
5868
5868
  }
5869
- function Oo(e) {
5869
+ function Mo(e) {
5870
5870
  return dl(e && e.line) + ":" + dl(e && e.column);
5871
5871
  }
5872
5872
  function pl(e) {
5873
- return Oo(e && e.start) + "-" + Oo(e && e.end);
5873
+ return Mo(e && e.start) + "-" + Mo(e && e.end);
5874
5874
  }
5875
5875
  function dl(e) {
5876
5876
  return e && typeof e == "number" ? e : 1;
@@ -8446,10 +8446,10 @@ function Ds(e) {
8446
8446
  const t = {};
8447
8447
  let n = -1;
8448
8448
  for (; ++n < e.length; )
8449
- Od(t, e[n]);
8449
+ Md(t, e[n]);
8450
8450
  return t;
8451
8451
  }
8452
- function Od(e, t) {
8452
+ function Md(e, t) {
8453
8453
  let n;
8454
8454
  for (n in t) {
8455
8455
  const o = (gl.call(e, n) ? e[n] : void 0) || (e[n] = {}), l = t[n];
@@ -8458,7 +8458,7 @@ function Od(e, t) {
8458
8458
  for (i in l) {
8459
8459
  gl.call(o, i) || (o[i] = []);
8460
8460
  const a = l[i];
8461
- Md(
8461
+ Od(
8462
8462
  // @ts-expect-error Looks like a list.
8463
8463
  o[i],
8464
8464
  Array.isArray(a) ? a : a ? [a] : []
@@ -8466,14 +8466,14 @@ function Od(e, t) {
8466
8466
  }
8467
8467
  }
8468
8468
  }
8469
- function Md(e, t) {
8469
+ function Od(e, t) {
8470
8470
  let n = -1;
8471
8471
  const r = [];
8472
8472
  for (; ++n < t.length; )
8473
8473
  (t[n].add === "after" ? e : r).push(t[n]);
8474
8474
  Ke(e, 0, 0, r);
8475
8475
  }
8476
- function Os(e, t) {
8476
+ function Ms(e, t) {
8477
8477
  const n = Number.parseInt(e, t);
8478
8478
  return (
8479
8479
  // C0 except for HT, LF, FF, CR, space.
@@ -8489,7 +8489,7 @@ function Os(e, t) {
8489
8489
  function ut(e) {
8490
8490
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
8491
8491
  }
8492
- const Me = Ht(/[A-Za-z]/), Ie = Ht(/[\dA-Za-z]/), zd = Ht(/[#-'*+\--9=?A-Z^-~]/);
8492
+ const Oe = Ht(/[A-Za-z]/), Ie = Ht(/[\dA-Za-z]/), zd = Ht(/[#-'*+\--9=?A-Z^-~]/);
8493
8493
  function kr(e) {
8494
8494
  return (
8495
8495
  // Special whitespace codes (which have negative values), C0 and Control
@@ -8497,7 +8497,7 @@ function kr(e) {
8497
8497
  e !== null && (e < 32 || e === 127)
8498
8498
  );
8499
8499
  }
8500
- const Mo = Ht(/\d/), Fd = Ht(/[\dA-Fa-f]/), Bd = Ht(/[!-/:-@[-`{-~]/);
8500
+ const Oo = Ht(/\d/), Fd = Ht(/[\dA-Fa-f]/), Bd = Ht(/[!-/:-@[-`{-~]/);
8501
8501
  function Y(e) {
8502
8502
  return e !== null && e < -2;
8503
8503
  }
@@ -8587,28 +8587,28 @@ function Vd(e) {
8587
8587
  return a;
8588
8588
  function a(_) {
8589
8589
  if (r < n.length) {
8590
- const z = n[r];
8591
- return t.containerState = z[1], e.attempt(z[0].continuation, s, u)(_);
8590
+ const O = n[r];
8591
+ return t.containerState = O[1], e.attempt(O[0].continuation, s, u)(_);
8592
8592
  }
8593
8593
  return u(_);
8594
8594
  }
8595
8595
  function s(_) {
8596
8596
  if (r++, t.containerState._closeFlow) {
8597
8597
  t.containerState._closeFlow = void 0, o && E();
8598
- const z = t.events.length;
8599
- let M = z, C;
8600
- for (; M--; )
8601
- if (t.events[M][0] === "exit" && t.events[M][1].type === "chunkFlow") {
8602
- C = t.events[M][1].end;
8598
+ const O = t.events.length;
8599
+ let F = O, C;
8600
+ for (; F--; )
8601
+ if (t.events[F][0] === "exit" && t.events[F][1].type === "chunkFlow") {
8602
+ C = t.events[F][1].end;
8603
8603
  break;
8604
8604
  }
8605
8605
  w(r);
8606
- let B = z;
8606
+ let B = O;
8607
8607
  for (; B < t.events.length; )
8608
8608
  t.events[B][1].end = {
8609
8609
  ...C
8610
8610
  }, B++;
8611
- return Ke(t.events, M + 1, 0, t.events.slice(z)), t.events.length = B, u(_);
8611
+ return Ke(t.events, F + 1, 0, t.events.slice(O)), t.events.length = B, u(_);
8612
8612
  }
8613
8613
  return a(_);
8614
8614
  }
@@ -8652,9 +8652,9 @@ function Vd(e) {
8652
8652
  }
8653
8653
  return Y(_) ? (e.consume(_), v(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(_), k);
8654
8654
  }
8655
- function v(_, z) {
8656
- const M = t.sliceStream(_);
8657
- if (z && M.push(null), _.previous = l, l && (l.next = _), l = _, o.defineSkip(_.start), o.write(M), t.parser.lazy[_.start.line]) {
8655
+ function v(_, O) {
8656
+ const F = t.sliceStream(_);
8657
+ if (O && F.push(null), _.previous = l, l && (l.next = _), l = _, o.defineSkip(_.start), o.write(F), t.parser.lazy[_.start.line]) {
8658
8658
  let C = o.events.length;
8659
8659
  for (; C--; )
8660
8660
  if (
@@ -8682,10 +8682,10 @@ function Vd(e) {
8682
8682
  }
8683
8683
  }
8684
8684
  function w(_) {
8685
- let z = n.length;
8686
- for (; z-- > _; ) {
8687
- const M = n[z];
8688
- t.containerState = M[1], M[0].exit.call(t, e);
8685
+ let O = n.length;
8686
+ for (; O-- > _; ) {
8687
+ const F = n[O];
8688
+ t.containerState = F[1], F[0].exit.call(t, e);
8689
8689
  }
8690
8690
  n.length = _;
8691
8691
  }
@@ -8799,7 +8799,7 @@ function Xd(e, t, n) {
8799
8799
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), l;
8800
8800
  }
8801
8801
  function l(p) {
8802
- return Me(p) ? (e.consume(p), i) : p === 64 ? n(p) : u(p);
8802
+ return Oe(p) ? (e.consume(p), i) : p === 64 ? n(p) : u(p);
8803
8803
  }
8804
8804
  function i(p) {
8805
8805
  return p === 43 || p === 45 || p === 46 || Ie(p) ? (r = 1, a(p)) : u(p);
@@ -8840,7 +8840,7 @@ function Kd(e, t, n) {
8840
8840
  return l === null || Y(l) ? t(l) : n(l);
8841
8841
  }
8842
8842
  }
8843
- const Ms = {
8843
+ const Os = {
8844
8844
  continuation: {
8845
8845
  tokenize: Qd
8846
8846
  },
@@ -8871,7 +8871,7 @@ function Qd(e, t, n) {
8871
8871
  return oe(i) ? se(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i) : l(i);
8872
8872
  }
8873
8873
  function l(i) {
8874
- return e.attempt(Ms, t, n)(i);
8874
+ return e.attempt(Os, t, n)(i);
8875
8875
  }
8876
8876
  }
8877
8877
  function Zd(e) {
@@ -8905,7 +8905,7 @@ function th(e, t, n) {
8905
8905
  return c === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(c), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), l = 31, i = Ie, f(c));
8906
8906
  }
8907
8907
  function u(c) {
8908
- return c === 88 || c === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(c), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, i = Fd, f) : (e.enter("characterReferenceValue"), l = 7, i = Mo, f(c));
8908
+ return c === 88 || c === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(c), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, i = Fd, f) : (e.enter("characterReferenceValue"), l = 7, i = Oo, f(c));
8909
8909
  }
8910
8910
  function f(c) {
8911
8911
  if (c === 59 && o) {
@@ -8926,7 +8926,7 @@ const xl = {
8926
8926
  function nh(e, t, n) {
8927
8927
  const r = this, o = {
8928
8928
  partial: !0,
8929
- tokenize: M
8929
+ tokenize: F
8930
8930
  };
8931
8931
  let l = 0, i = 0, a;
8932
8932
  return s;
@@ -8941,7 +8941,7 @@ function nh(e, t, n) {
8941
8941
  return C === a ? (i++, e.consume(C), f) : i < 3 ? n(C) : (e.exit("codeFencedFenceSequence"), oe(C) ? se(e, c, "whitespace")(C) : c(C));
8942
8942
  }
8943
8943
  function c(C) {
8944
- return C === null || Y(C) ? (e.exit("codeFencedFence"), r.interrupt ? t(C) : e.check(xl, k, z)(C)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
8944
+ return C === null || Y(C) ? (e.exit("codeFencedFence"), r.interrupt ? t(C) : e.check(xl, k, O)(C)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
8945
8945
  contentType: "string"
8946
8946
  }), d(C));
8947
8947
  }
@@ -8957,7 +8957,7 @@ function nh(e, t, n) {
8957
8957
  return C === null || Y(C) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), c(C)) : C === 96 && C === a ? n(C) : (e.consume(C), g);
8958
8958
  }
8959
8959
  function k(C) {
8960
- return e.attempt(o, z, v)(C);
8960
+ return e.attempt(o, O, v)(C);
8961
8961
  }
8962
8962
  function v(C) {
8963
8963
  return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), w;
@@ -8966,24 +8966,24 @@ function nh(e, t, n) {
8966
8966
  return l > 0 && oe(C) ? se(e, E, "linePrefix", l + 1)(C) : E(C);
8967
8967
  }
8968
8968
  function E(C) {
8969
- return C === null || Y(C) ? e.check(xl, k, z)(C) : (e.enter("codeFlowValue"), _(C));
8969
+ return C === null || Y(C) ? e.check(xl, k, O)(C) : (e.enter("codeFlowValue"), _(C));
8970
8970
  }
8971
8971
  function _(C) {
8972
8972
  return C === null || Y(C) ? (e.exit("codeFlowValue"), E(C)) : (e.consume(C), _);
8973
8973
  }
8974
- function z(C) {
8974
+ function O(C) {
8975
8975
  return e.exit("codeFenced"), t(C);
8976
8976
  }
8977
- function M(C, B, N) {
8977
+ function F(C, B, N) {
8978
8978
  let W = 0;
8979
8979
  return S;
8980
8980
  function S(D) {
8981
8981
  return C.enter("lineEnding"), C.consume(D), C.exit("lineEnding"), P;
8982
8982
  }
8983
8983
  function P(D) {
8984
- return C.enter("codeFencedFence"), oe(D) ? se(C, F, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(D) : F(D);
8984
+ return C.enter("codeFencedFence"), oe(D) ? se(C, z, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(D) : z(D);
8985
8985
  }
8986
- function F(D) {
8986
+ function z(D) {
8987
8987
  return D === a ? (C.enter("codeFencedFenceSequence"), re(D)) : N(D);
8988
8988
  }
8989
8989
  function re(D) {
@@ -9642,42 +9642,42 @@ function Nh(e, t, n) {
9642
9642
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(b), c;
9643
9643
  }
9644
9644
  function c(b) {
9645
- return b === 33 ? (e.consume(b), d) : b === 47 ? (e.consume(b), l = !0, k) : b === 63 ? (e.consume(b), o = 3, r.interrupt ? t : m) : Me(b) ? (e.consume(b), i = String.fromCharCode(b), v) : n(b);
9645
+ return b === 33 ? (e.consume(b), d) : b === 47 ? (e.consume(b), l = !0, k) : b === 63 ? (e.consume(b), o = 3, r.interrupt ? t : m) : Oe(b) ? (e.consume(b), i = String.fromCharCode(b), v) : n(b);
9646
9646
  }
9647
9647
  function d(b) {
9648
- return b === 45 ? (e.consume(b), o = 2, p) : b === 91 ? (e.consume(b), o = 5, a = 0, g) : Me(b) ? (e.consume(b), o = 4, r.interrupt ? t : m) : n(b);
9648
+ return b === 45 ? (e.consume(b), o = 2, p) : b === 91 ? (e.consume(b), o = 5, a = 0, g) : Oe(b) ? (e.consume(b), o = 4, r.interrupt ? t : m) : n(b);
9649
9649
  }
9650
9650
  function p(b) {
9651
9651
  return b === 45 ? (e.consume(b), r.interrupt ? t : m) : n(b);
9652
9652
  }
9653
9653
  function g(b) {
9654
9654
  const Te = "CDATA[";
9655
- return b === Te.charCodeAt(a++) ? (e.consume(b), a === Te.length ? r.interrupt ? t : F : g) : n(b);
9655
+ return b === Te.charCodeAt(a++) ? (e.consume(b), a === Te.length ? r.interrupt ? t : z : g) : n(b);
9656
9656
  }
9657
9657
  function k(b) {
9658
- return Me(b) ? (e.consume(b), i = String.fromCharCode(b), v) : n(b);
9658
+ return Oe(b) ? (e.consume(b), i = String.fromCharCode(b), v) : n(b);
9659
9659
  }
9660
9660
  function v(b) {
9661
9661
  if (b === null || b === 47 || b === 62 || de(b)) {
9662
9662
  const Te = b === 47, me = i.toLowerCase();
9663
- return !Te && !l && kl.includes(me) ? (o = 1, r.interrupt ? t(b) : F(b)) : Th.includes(i.toLowerCase()) ? (o = 6, Te ? (e.consume(b), w) : r.interrupt ? t(b) : F(b)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : l ? E(b) : _(b));
9663
+ return !Te && !l && kl.includes(me) ? (o = 1, r.interrupt ? t(b) : z(b)) : Th.includes(i.toLowerCase()) ? (o = 6, Te ? (e.consume(b), w) : r.interrupt ? t(b) : z(b)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : l ? E(b) : _(b));
9664
9664
  }
9665
9665
  return b === 45 || Ie(b) ? (e.consume(b), i += String.fromCharCode(b), v) : n(b);
9666
9666
  }
9667
9667
  function w(b) {
9668
- return b === 62 ? (e.consume(b), r.interrupt ? t : F) : n(b);
9668
+ return b === 62 ? (e.consume(b), r.interrupt ? t : z) : n(b);
9669
9669
  }
9670
9670
  function E(b) {
9671
9671
  return oe(b) ? (e.consume(b), E) : S(b);
9672
9672
  }
9673
9673
  function _(b) {
9674
- return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 || Me(b) ? (e.consume(b), z) : oe(b) ? (e.consume(b), _) : S(b);
9674
+ return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 || Oe(b) ? (e.consume(b), O) : oe(b) ? (e.consume(b), _) : S(b);
9675
9675
  }
9676
- function z(b) {
9677
- return b === 45 || b === 46 || b === 58 || b === 95 || Ie(b) ? (e.consume(b), z) : M(b);
9676
+ function O(b) {
9677
+ return b === 45 || b === 46 || b === 58 || b === 95 || Ie(b) ? (e.consume(b), O) : F(b);
9678
9678
  }
9679
- function M(b) {
9680
- return b === 61 ? (e.consume(b), C) : oe(b) ? (e.consume(b), M) : _(b);
9679
+ function F(b) {
9680
+ return b === 61 ? (e.consume(b), C) : oe(b) ? (e.consume(b), F) : _(b);
9681
9681
  }
9682
9682
  function C(b) {
9683
9683
  return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), s = b, B) : oe(b) ? (e.consume(b), C) : N(b);
@@ -9686,7 +9686,7 @@ function Nh(e, t, n) {
9686
9686
  return b === s ? (e.consume(b), s = null, W) : b === null || Y(b) ? n(b) : (e.consume(b), B);
9687
9687
  }
9688
9688
  function N(b) {
9689
- return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || de(b) ? M(b) : (e.consume(b), N);
9689
+ return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || de(b) ? F(b) : (e.consume(b), N);
9690
9690
  }
9691
9691
  function W(b) {
9692
9692
  return b === 47 || b === 62 || oe(b) ? _(b) : n(b);
@@ -9695,10 +9695,10 @@ function Nh(e, t, n) {
9695
9695
  return b === 62 ? (e.consume(b), P) : n(b);
9696
9696
  }
9697
9697
  function P(b) {
9698
- return b === null || Y(b) ? F(b) : oe(b) ? (e.consume(b), P) : n(b);
9698
+ return b === null || Y(b) ? z(b) : oe(b) ? (e.consume(b), P) : n(b);
9699
9699
  }
9700
- function F(b) {
9701
- return b === 45 && o === 2 ? (e.consume(b), J) : b === 60 && o === 1 ? (e.consume(b), ae) : b === 62 && o === 4 ? (e.consume(b), ve) : b === 63 && o === 3 ? (e.consume(b), m) : b === 93 && o === 5 ? (e.consume(b), Le) : Y(b) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check(_h, Pe, re)(b)) : b === null || Y(b) ? (e.exit("htmlFlowData"), re(b)) : (e.consume(b), F);
9700
+ function z(b) {
9701
+ return b === 45 && o === 2 ? (e.consume(b), J) : b === 60 && o === 1 ? (e.consume(b), ae) : b === 62 && o === 4 ? (e.consume(b), Se) : b === 63 && o === 3 ? (e.consume(b), m) : b === 93 && o === 5 ? (e.consume(b), Le) : Y(b) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check(_h, Pe, re)(b)) : b === null || Y(b) ? (e.exit("htmlFlowData"), re(b)) : (e.consume(b), z);
9702
9702
  }
9703
9703
  function re(b) {
9704
9704
  return e.check(Ih, V, Pe)(b);
@@ -9707,29 +9707,29 @@ function Nh(e, t, n) {
9707
9707
  return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), D;
9708
9708
  }
9709
9709
  function D(b) {
9710
- return b === null || Y(b) ? re(b) : (e.enter("htmlFlowData"), F(b));
9710
+ return b === null || Y(b) ? re(b) : (e.enter("htmlFlowData"), z(b));
9711
9711
  }
9712
9712
  function J(b) {
9713
- return b === 45 ? (e.consume(b), m) : F(b);
9713
+ return b === 45 ? (e.consume(b), m) : z(b);
9714
9714
  }
9715
9715
  function ae(b) {
9716
- return b === 47 ? (e.consume(b), i = "", Ee) : F(b);
9716
+ return b === 47 ? (e.consume(b), i = "", Ee) : z(b);
9717
9717
  }
9718
9718
  function Ee(b) {
9719
9719
  if (b === 62) {
9720
9720
  const Te = i.toLowerCase();
9721
- return kl.includes(Te) ? (e.consume(b), ve) : F(b);
9721
+ return kl.includes(Te) ? (e.consume(b), Se) : z(b);
9722
9722
  }
9723
- return Me(b) && i.length < 8 ? (e.consume(b), i += String.fromCharCode(b), Ee) : F(b);
9723
+ return Oe(b) && i.length < 8 ? (e.consume(b), i += String.fromCharCode(b), Ee) : z(b);
9724
9724
  }
9725
9725
  function Le(b) {
9726
- return b === 93 ? (e.consume(b), m) : F(b);
9726
+ return b === 93 ? (e.consume(b), m) : z(b);
9727
9727
  }
9728
9728
  function m(b) {
9729
- return b === 62 ? (e.consume(b), ve) : b === 45 && o === 2 ? (e.consume(b), m) : F(b);
9729
+ return b === 62 ? (e.consume(b), Se) : b === 45 && o === 2 ? (e.consume(b), m) : z(b);
9730
9730
  }
9731
- function ve(b) {
9732
- return b === null || Y(b) ? (e.exit("htmlFlowData"), Pe(b)) : (e.consume(b), ve);
9731
+ function Se(b) {
9732
+ return b === null || Y(b) ? (e.exit("htmlFlowData"), Pe(b)) : (e.consume(b), Se);
9733
9733
  }
9734
9734
  function Pe(b) {
9735
9735
  return e.exit("htmlFlow"), t(b);
@@ -9753,9 +9753,9 @@ function Ph(e, t, n) {
9753
9753
  }
9754
9754
  const Dh = {
9755
9755
  name: "htmlText",
9756
- tokenize: Oh
9756
+ tokenize: Mh
9757
9757
  };
9758
- function Oh(e, t, n) {
9758
+ function Mh(e, t, n) {
9759
9759
  const r = this;
9760
9760
  let o, l, i;
9761
9761
  return a;
@@ -9763,10 +9763,10 @@ function Oh(e, t, n) {
9763
9763
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(m), s;
9764
9764
  }
9765
9765
  function s(m) {
9766
- return m === 33 ? (e.consume(m), u) : m === 47 ? (e.consume(m), M) : m === 63 ? (e.consume(m), _) : Me(m) ? (e.consume(m), N) : n(m);
9766
+ return m === 33 ? (e.consume(m), u) : m === 47 ? (e.consume(m), F) : m === 63 ? (e.consume(m), _) : Oe(m) ? (e.consume(m), N) : n(m);
9767
9767
  }
9768
9768
  function u(m) {
9769
- return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), l = 0, g) : Me(m) ? (e.consume(m), E) : n(m);
9769
+ return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), l = 0, g) : Oe(m) ? (e.consume(m), E) : n(m);
9770
9770
  }
9771
9771
  function f(m) {
9772
9772
  return m === 45 ? (e.consume(m), p) : n(m);
@@ -9781,8 +9781,8 @@ function Oh(e, t, n) {
9781
9781
  return m === 62 ? J(m) : m === 45 ? d(m) : c(m);
9782
9782
  }
9783
9783
  function g(m) {
9784
- const ve = "CDATA[";
9785
- return m === ve.charCodeAt(l++) ? (e.consume(m), l === ve.length ? k : g) : n(m);
9784
+ const Se = "CDATA[";
9785
+ return m === Se.charCodeAt(l++) ? (e.consume(m), l === Se.length ? k : g) : n(m);
9786
9786
  }
9787
9787
  function k(m) {
9788
9788
  return m === null ? n(m) : m === 93 ? (e.consume(m), v) : Y(m) ? (i = k, ae(m)) : (e.consume(m), k);
@@ -9797,13 +9797,13 @@ function Oh(e, t, n) {
9797
9797
  return m === null || m === 62 ? J(m) : Y(m) ? (i = E, ae(m)) : (e.consume(m), E);
9798
9798
  }
9799
9799
  function _(m) {
9800
- return m === null ? n(m) : m === 63 ? (e.consume(m), z) : Y(m) ? (i = _, ae(m)) : (e.consume(m), _);
9800
+ return m === null ? n(m) : m === 63 ? (e.consume(m), O) : Y(m) ? (i = _, ae(m)) : (e.consume(m), _);
9801
9801
  }
9802
- function z(m) {
9802
+ function O(m) {
9803
9803
  return m === 62 ? J(m) : _(m);
9804
9804
  }
9805
- function M(m) {
9806
- return Me(m) ? (e.consume(m), C) : n(m);
9805
+ function F(m) {
9806
+ return Oe(m) ? (e.consume(m), C) : n(m);
9807
9807
  }
9808
9808
  function C(m) {
9809
9809
  return m === 45 || Ie(m) ? (e.consume(m), C) : B(m);
@@ -9815,16 +9815,16 @@ function Oh(e, t, n) {
9815
9815
  return m === 45 || Ie(m) ? (e.consume(m), N) : m === 47 || m === 62 || de(m) ? W(m) : n(m);
9816
9816
  }
9817
9817
  function W(m) {
9818
- return m === 47 ? (e.consume(m), J) : m === 58 || m === 95 || Me(m) ? (e.consume(m), S) : Y(m) ? (i = W, ae(m)) : oe(m) ? (e.consume(m), W) : J(m);
9818
+ return m === 47 ? (e.consume(m), J) : m === 58 || m === 95 || Oe(m) ? (e.consume(m), S) : Y(m) ? (i = W, ae(m)) : oe(m) ? (e.consume(m), W) : J(m);
9819
9819
  }
9820
9820
  function S(m) {
9821
9821
  return m === 45 || m === 46 || m === 58 || m === 95 || Ie(m) ? (e.consume(m), S) : P(m);
9822
9822
  }
9823
9823
  function P(m) {
9824
- return m === 61 ? (e.consume(m), F) : Y(m) ? (i = P, ae(m)) : oe(m) ? (e.consume(m), P) : W(m);
9824
+ return m === 61 ? (e.consume(m), z) : Y(m) ? (i = P, ae(m)) : oe(m) ? (e.consume(m), P) : W(m);
9825
9825
  }
9826
- function F(m) {
9827
- return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? n(m) : m === 34 || m === 39 ? (e.consume(m), o = m, re) : Y(m) ? (i = F, ae(m)) : oe(m) ? (e.consume(m), F) : (e.consume(m), V);
9826
+ function z(m) {
9827
+ return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? n(m) : m === 34 || m === 39 ? (e.consume(m), o = m, re) : Y(m) ? (i = z, ae(m)) : oe(m) ? (e.consume(m), z) : (e.consume(m), V);
9828
9828
  }
9829
9829
  function re(m) {
9830
9830
  return m === o ? (e.consume(m), o = void 0, D) : m === null ? n(m) : Y(m) ? (i = re, ae(m)) : (e.consume(m), re);
@@ -9853,7 +9853,7 @@ const mi = {
9853
9853
  resolveAll: Bh,
9854
9854
  resolveTo: Uh,
9855
9855
  tokenize: Hh
9856
- }, Mh = {
9856
+ }, Oh = {
9857
9857
  tokenize: jh
9858
9858
  }, zh = {
9859
9859
  tokenize: Vh
@@ -9928,7 +9928,7 @@ function Hh(e, t, n) {
9928
9928
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(d);
9929
9929
  }
9930
9930
  function s(d) {
9931
- return d === 40 ? e.attempt(Mh, f, i ? f : c)(d) : d === 91 ? e.attempt(zh, f, i ? u : c)(d) : i ? f(d) : c(d);
9931
+ return d === 40 ? e.attempt(Oh, f, i ? f : c)(d) : d === 91 ? e.attempt(zh, f, i ? u : c)(d) : i ? f(d) : c(d);
9932
9932
  }
9933
9933
  function u(d) {
9934
9934
  return e.attempt(Fh, f, c)(d);
@@ -10072,7 +10072,7 @@ function em(e, t, n) {
10072
10072
  return a;
10073
10073
  function a(p) {
10074
10074
  const g = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
10075
- if (g === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Mo(p)) {
10075
+ if (g === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Oo(p)) {
10076
10076
  if (r.containerState.type || (r.containerState.type = g, e.enter(g, {
10077
10077
  _container: !0
10078
10078
  })), g === "listUnordered")
@@ -10083,7 +10083,7 @@ function em(e, t, n) {
10083
10083
  return n(p);
10084
10084
  }
10085
10085
  function s(p) {
10086
- return Mo(p) && ++i < 10 ? (e.consume(p), s) : (!r.interrupt || i < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), u(p)) : n(p);
10086
+ return Oo(p) && ++i < 10 ? (e.consume(p), s) : (!r.interrupt || i < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), u(p)) : n(p);
10087
10087
  }
10088
10088
  function u(p) {
10089
10089
  return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
@@ -10318,7 +10318,7 @@ const dm = {
10318
10318
  55: Ue,
10319
10319
  56: Ue,
10320
10320
  57: Ue,
10321
- 62: Ms
10321
+ 62: Os
10322
10322
  }, hm = {
10323
10323
  91: yh
10324
10324
  }, mm = {
@@ -10379,11 +10379,11 @@ function vm(e, t, n) {
10379
10379
  const o = {}, l = [];
10380
10380
  let i = [], a = [];
10381
10381
  const s = {
10382
- attempt: B(M),
10382
+ attempt: B(F),
10383
10383
  check: B(C),
10384
10384
  consume: E,
10385
10385
  enter: _,
10386
- exit: z,
10386
+ exit: O,
10387
10387
  interrupt: B(C, {
10388
10388
  interrupt: !0
10389
10389
  })
@@ -10404,8 +10404,8 @@ function vm(e, t, n) {
10404
10404
  function c(P) {
10405
10405
  return i = nt(i, P), v(), i[i.length - 1] !== null ? [] : (N(t, 0), u.events = _r(l, u.events, u), u.events);
10406
10406
  }
10407
- function d(P, F) {
10408
- return Am(p(P), F);
10407
+ function d(P, z) {
10408
+ return Am(p(P), z);
10409
10409
  }
10410
10410
  function p(P) {
10411
10411
  return Cm(i, P);
@@ -10413,14 +10413,14 @@ function vm(e, t, n) {
10413
10413
  function g() {
10414
10414
  const {
10415
10415
  _bufferIndex: P,
10416
- _index: F,
10416
+ _index: z,
10417
10417
  line: re,
10418
10418
  column: V,
10419
10419
  offset: D
10420
10420
  } = r;
10421
10421
  return {
10422
10422
  _bufferIndex: P,
10423
- _index: F,
10423
+ _index: z,
10424
10424
  line: re,
10425
10425
  column: V,
10426
10426
  offset: D
@@ -10432,12 +10432,12 @@ function vm(e, t, n) {
10432
10432
  function v() {
10433
10433
  let P;
10434
10434
  for (; r._index < i.length; ) {
10435
- const F = i[r._index];
10436
- if (typeof F == "string")
10437
- for (P = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === P && r._bufferIndex < F.length; )
10438
- w(F.charCodeAt(r._bufferIndex));
10435
+ const z = i[r._index];
10436
+ if (typeof z == "string")
10437
+ for (P = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === P && r._bufferIndex < z.length; )
10438
+ w(z.charCodeAt(r._bufferIndex));
10439
10439
  else
10440
- w(F);
10440
+ w(z);
10441
10441
  }
10442
10442
  }
10443
10443
  function w(P) {
@@ -10449,21 +10449,21 @@ function vm(e, t, n) {
10449
10449
  /** @type {string} */
10450
10450
  i[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = P;
10451
10451
  }
10452
- function _(P, F) {
10453
- const re = F || {};
10452
+ function _(P, z) {
10453
+ const re = z || {};
10454
10454
  return re.type = P, re.start = g(), u.events.push(["enter", re, u]), a.push(re), re;
10455
10455
  }
10456
- function z(P) {
10457
- const F = a.pop();
10458
- return F.end = g(), u.events.push(["exit", F, u]), F;
10456
+ function O(P) {
10457
+ const z = a.pop();
10458
+ return z.end = g(), u.events.push(["exit", z, u]), z;
10459
10459
  }
10460
- function M(P, F) {
10461
- N(P, F.from);
10460
+ function F(P, z) {
10461
+ N(P, z.from);
10462
10462
  }
10463
- function C(P, F) {
10464
- F.restore();
10463
+ function C(P, z) {
10464
+ z.restore();
10465
10465
  }
10466
- function B(P, F) {
10466
+ function B(P, z) {
10467
10467
  return re;
10468
10468
  function re(V, D, J) {
10469
10469
  let ae, Ee, Le, m;
@@ -10476,8 +10476,8 @@ function vm(e, t, n) {
10476
10476
  /** @type {Construct} */
10477
10477
  V
10478
10478
  ])
10479
- ) : ve(V);
10480
- function ve(j) {
10479
+ ) : Se(V);
10480
+ function Se(j) {
10481
10481
  return Je;
10482
10482
  function Je($e) {
10483
10483
  const ce = $e !== null && j[$e], it = $e !== null && j.null, lt = [
@@ -10499,7 +10499,7 @@ function vm(e, t, n) {
10499
10499
  // If we do have fields, create an object w/ `context` as its
10500
10500
  // prototype.
10501
10501
  // This allows a “live binding”, which is needed for `interrupt`.
10502
- F ? Object.assign(Object.create(u), F) : u,
10502
+ z ? Object.assign(Object.create(u), z) : u,
10503
10503
  s,
10504
10504
  Te,
10505
10505
  me
@@ -10514,17 +10514,17 @@ function vm(e, t, n) {
10514
10514
  }
10515
10515
  }
10516
10516
  }
10517
- function N(P, F) {
10518
- P.resolveAll && !l.includes(P) && l.push(P), P.resolve && Ke(u.events, F, u.events.length - F, P.resolve(u.events.slice(F), u)), P.resolveTo && (u.events = P.resolveTo(u.events, u));
10517
+ function N(P, z) {
10518
+ P.resolveAll && !l.includes(P) && l.push(P), P.resolve && Ke(u.events, z, u.events.length - z, P.resolve(u.events.slice(z), u)), P.resolveTo && (u.events = P.resolveTo(u.events, u));
10519
10519
  }
10520
10520
  function W() {
10521
- const P = g(), F = u.previous, re = u.currentConstruct, V = u.events.length, D = Array.from(a);
10521
+ const P = g(), z = u.previous, re = u.currentConstruct, V = u.events.length, D = Array.from(a);
10522
10522
  return {
10523
10523
  from: V,
10524
10524
  restore: J
10525
10525
  };
10526
10526
  function J() {
10527
- r = P, u.previous = F, u.currentConstruct = re, u.events.length = V, a = D, S();
10527
+ r = P, u.previous = z, u.currentConstruct = re, u.events.length = V, a = D, S();
10528
10528
  }
10529
10529
  }
10530
10530
  function S() {
@@ -10657,7 +10657,7 @@ function Rm(e, t, n) {
10657
10657
  return t;
10658
10658
  if (n.charCodeAt(0) === 35) {
10659
10659
  const o = n.charCodeAt(1), l = o === 120 || o === 88;
10660
- return Os(n.slice(l ? 2 : 1), l ? 16 : 10);
10660
+ return Ms(n.slice(l ? 2 : 1), l ? 16 : 10);
10661
10661
  }
10662
10662
  return hi(n) || e;
10663
10663
  }
@@ -10714,7 +10714,7 @@ function Lm(e) {
10714
10714
  },
10715
10715
  exit: {
10716
10716
  atxHeading: s(),
10717
- atxHeadingSequence: M,
10717
+ atxHeadingSequence: F,
10718
10718
  autolink: s(),
10719
10719
  autolinkEmail: ce,
10720
10720
  autolinkProtocol: $e,
@@ -10734,12 +10734,12 @@ function Lm(e) {
10734
10734
  codeTextData: S,
10735
10735
  data: S,
10736
10736
  definition: s(),
10737
- definitionDestinationString: z,
10737
+ definitionDestinationString: O,
10738
10738
  definitionLabelString: E,
10739
10739
  definitionTitleString: _,
10740
10740
  emphasis: s(),
10741
- hardBreakEscape: s(F),
10742
- hardBreakTrailing: s(F),
10741
+ hardBreakEscape: s(z),
10742
+ hardBreakTrailing: s(z),
10743
10743
  htmlFlow: s(re),
10744
10744
  htmlFlowData: S,
10745
10745
  htmlText: s(V),
@@ -10755,7 +10755,7 @@ function Lm(e) {
10755
10755
  paragraph: s(),
10756
10756
  referenceString: Te,
10757
10757
  resourceDestinationString: m,
10758
- resourceTitleString: ve,
10758
+ resourceTitleString: Se,
10759
10759
  resource: Pe,
10760
10760
  setextHeading: s(N),
10761
10761
  setextHeadingLineSequence: B,
@@ -10768,12 +10768,12 @@ function Lm(e) {
10768
10768
  const n = {};
10769
10769
  return r;
10770
10770
  function r(A) {
10771
- let O = {
10771
+ let M = {
10772
10772
  type: "root",
10773
10773
  children: []
10774
10774
  };
10775
10775
  const G = {
10776
- stack: [O],
10776
+ stack: [M],
10777
10777
  tokenStack: [],
10778
10778
  config: t,
10779
10779
  enter: a,
@@ -10801,7 +10801,7 @@ function Lm(e) {
10801
10801
  const De = G.tokenStack[G.tokenStack.length - 1];
10802
10802
  (De[1] || Cl).call(G, void 0, De[0]);
10803
10803
  }
10804
- for (O.position = {
10804
+ for (M.position = {
10805
10805
  start: Pt(A.length > 0 ? A[0][1].start : {
10806
10806
  line: 1,
10807
10807
  column: 1,
@@ -10813,22 +10813,22 @@ function Lm(e) {
10813
10813
  offset: 0
10814
10814
  })
10815
10815
  }, le = -1; ++le < t.transforms.length; )
10816
- O = t.transforms[le](O) || O;
10817
- return O;
10816
+ M = t.transforms[le](M) || M;
10817
+ return M;
10818
10818
  }
10819
- function o(A, O, G) {
10820
- let Q = O - 1, le = -1, De = !1, Qe, ze, xt, Ze;
10819
+ function o(A, M, G) {
10820
+ let Q = M - 1, le = -1, De = !1, Qe, ze, yt, Ze;
10821
10821
  for (; ++Q <= G; ) {
10822
- const Ce = A[Q];
10823
- switch (Ce[1].type) {
10822
+ const ve = A[Q];
10823
+ switch (ve[1].type) {
10824
10824
  case "listUnordered":
10825
10825
  case "listOrdered":
10826
10826
  case "blockQuote": {
10827
- Ce[0] === "enter" ? le++ : le--, Ze = void 0;
10827
+ ve[0] === "enter" ? le++ : le--, Ze = void 0;
10828
10828
  break;
10829
10829
  }
10830
10830
  case "lineEndingBlank": {
10831
- Ce[0] === "enter" && (Qe && !Ze && !le && !xt && (xt = Q), Ze = void 0);
10831
+ ve[0] === "enter" && (Qe && !Ze && !le && !yt && (yt = Q), Ze = void 0);
10832
10832
  break;
10833
10833
  }
10834
10834
  case "linePrefix":
@@ -10840,7 +10840,7 @@ function Lm(e) {
10840
10840
  default:
10841
10841
  Ze = void 0;
10842
10842
  }
10843
- if (!le && Ce[0] === "enter" && Ce[1].type === "listItemPrefix" || le === -1 && Ce[0] === "exit" && (Ce[1].type === "listUnordered" || Ce[1].type === "listOrdered")) {
10843
+ if (!le && ve[0] === "enter" && ve[1].type === "listItemPrefix" || le === -1 && ve[0] === "exit" && (ve[1].type === "listUnordered" || ve[1].type === "listOrdered")) {
10844
10844
  if (Qe) {
10845
10845
  let at = Q;
10846
10846
  for (ze = void 0; at--; ) {
@@ -10850,26 +10850,26 @@ function Lm(e) {
10850
10850
  ze && (A[ze][1].type = "lineEndingBlank", De = !0), et[1].type = "lineEnding", ze = at;
10851
10851
  } else if (!(et[1].type === "linePrefix" || et[1].type === "blockQuotePrefix" || et[1].type === "blockQuotePrefixWhitespace" || et[1].type === "blockQuoteMarker" || et[1].type === "listItemIndent")) break;
10852
10852
  }
10853
- xt && (!ze || xt < ze) && (Qe._spread = !0), Qe.end = Object.assign({}, ze ? A[ze][1].start : Ce[1].end), A.splice(ze || Q, 0, ["exit", Qe, Ce[2]]), Q++, G++;
10853
+ yt && (!ze || yt < ze) && (Qe._spread = !0), Qe.end = Object.assign({}, ze ? A[ze][1].start : ve[1].end), A.splice(ze || Q, 0, ["exit", Qe, ve[2]]), Q++, G++;
10854
10854
  }
10855
- if (Ce[1].type === "listItemPrefix") {
10855
+ if (ve[1].type === "listItemPrefix") {
10856
10856
  const at = {
10857
10857
  type: "listItem",
10858
10858
  _spread: !1,
10859
- start: Object.assign({}, Ce[1].start),
10859
+ start: Object.assign({}, ve[1].start),
10860
10860
  // @ts-expect-error: we’ll add `end` in a second.
10861
10861
  end: void 0
10862
10862
  };
10863
- Qe = at, A.splice(Q, 0, ["enter", at, Ce[2]]), Q++, G++, xt = void 0, Ze = !0;
10863
+ Qe = at, A.splice(Q, 0, ["enter", at, ve[2]]), Q++, G++, yt = void 0, Ze = !0;
10864
10864
  }
10865
10865
  }
10866
10866
  }
10867
- return A[O][1]._spread = De, G;
10867
+ return A[M][1]._spread = De, G;
10868
10868
  }
10869
- function l(A, O) {
10869
+ function l(A, M) {
10870
10870
  return G;
10871
10871
  function G(Q) {
10872
- a.call(this, A(Q), Q), O && O.call(this, Q);
10872
+ a.call(this, A(Q), Q), M && M.call(this, Q);
10873
10873
  }
10874
10874
  }
10875
10875
  function i() {
@@ -10878,23 +10878,23 @@ function Lm(e) {
10878
10878
  children: []
10879
10879
  });
10880
10880
  }
10881
- function a(A, O, G) {
10882
- this.stack[this.stack.length - 1].children.push(A), this.stack.push(A), this.tokenStack.push([O, G || void 0]), A.position = {
10883
- start: Pt(O.start),
10881
+ function a(A, M, G) {
10882
+ this.stack[this.stack.length - 1].children.push(A), this.stack.push(A), this.tokenStack.push([M, G || void 0]), A.position = {
10883
+ start: Pt(M.start),
10884
10884
  // @ts-expect-error: `end` will be patched later.
10885
10885
  end: void 0
10886
10886
  };
10887
10887
  }
10888
10888
  function s(A) {
10889
- return O;
10890
- function O(G) {
10889
+ return M;
10890
+ function M(G) {
10891
10891
  A && A.call(this, G), u.call(this, G);
10892
10892
  }
10893
10893
  }
10894
- function u(A, O) {
10894
+ function u(A, M) {
10895
10895
  const G = this.stack.pop(), Q = this.tokenStack.pop();
10896
10896
  if (Q)
10897
- Q[0].type !== A.type && (O ? O.call(this, A, Q[0]) : (Q[1] || Cl).call(this, A, Q[0]));
10897
+ Q[0].type !== A.type && (M ? M.call(this, A, Q[0]) : (Q[1] || Cl).call(this, A, Q[0]));
10898
10898
  else throw new Error("Cannot close `" + A.type + "` (" + zn({
10899
10899
  start: A.start,
10900
10900
  end: A.end
@@ -10909,54 +10909,54 @@ function Lm(e) {
10909
10909
  }
10910
10910
  function d(A) {
10911
10911
  if (this.data.expectingFirstListItemValue) {
10912
- const O = this.stack[this.stack.length - 2];
10913
- O.start = Number.parseInt(this.sliceSerialize(A), 10), this.data.expectingFirstListItemValue = void 0;
10912
+ const M = this.stack[this.stack.length - 2];
10913
+ M.start = Number.parseInt(this.sliceSerialize(A), 10), this.data.expectingFirstListItemValue = void 0;
10914
10914
  }
10915
10915
  }
10916
10916
  function p() {
10917
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10918
- O.lang = A;
10917
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10918
+ M.lang = A;
10919
10919
  }
10920
10920
  function g() {
10921
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10922
- O.meta = A;
10921
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10922
+ M.meta = A;
10923
10923
  }
10924
10924
  function k() {
10925
10925
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
10926
10926
  }
10927
10927
  function v() {
10928
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10929
- O.value = A.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
10928
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10929
+ M.value = A.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
10930
10930
  }
10931
10931
  function w() {
10932
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10933
- O.value = A.replace(/(\r?\n|\r)$/g, "");
10932
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10933
+ M.value = A.replace(/(\r?\n|\r)$/g, "");
10934
10934
  }
10935
10935
  function E(A) {
10936
- const O = this.resume(), G = this.stack[this.stack.length - 1];
10937
- G.label = O, G.identifier = ut(this.sliceSerialize(A)).toLowerCase();
10936
+ const M = this.resume(), G = this.stack[this.stack.length - 1];
10937
+ G.label = M, G.identifier = ut(this.sliceSerialize(A)).toLowerCase();
10938
10938
  }
10939
10939
  function _() {
10940
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10941
- O.title = A;
10940
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10941
+ M.title = A;
10942
10942
  }
10943
- function z() {
10944
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10945
- O.url = A;
10943
+ function O() {
10944
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10945
+ M.url = A;
10946
10946
  }
10947
- function M(A) {
10948
- const O = this.stack[this.stack.length - 1];
10949
- if (!O.depth) {
10947
+ function F(A) {
10948
+ const M = this.stack[this.stack.length - 1];
10949
+ if (!M.depth) {
10950
10950
  const G = this.sliceSerialize(A).length;
10951
- O.depth = G;
10951
+ M.depth = G;
10952
10952
  }
10953
10953
  }
10954
10954
  function C() {
10955
10955
  this.data.setextHeadingSlurpLineEnding = !0;
10956
10956
  }
10957
10957
  function B(A) {
10958
- const O = this.stack[this.stack.length - 1];
10959
- O.depth = this.sliceSerialize(A).codePointAt(0) === 61 ? 1 : 2;
10958
+ const M = this.stack[this.stack.length - 1];
10959
+ M.depth = this.sliceSerialize(A).codePointAt(0) === 61 ? 1 : 2;
10960
10960
  }
10961
10961
  function N() {
10962
10962
  this.data.setextHeadingSlurpLineEnding = void 0;
@@ -10971,38 +10971,38 @@ function Lm(e) {
10971
10971
  }, G.push(Q)), this.stack.push(Q);
10972
10972
  }
10973
10973
  function S(A) {
10974
- const O = this.stack.pop();
10975
- O.value += this.sliceSerialize(A), O.position.end = Pt(A.end);
10974
+ const M = this.stack.pop();
10975
+ M.value += this.sliceSerialize(A), M.position.end = Pt(A.end);
10976
10976
  }
10977
10977
  function P(A) {
10978
- const O = this.stack[this.stack.length - 1];
10978
+ const M = this.stack[this.stack.length - 1];
10979
10979
  if (this.data.atHardBreak) {
10980
- const G = O.children[O.children.length - 1];
10980
+ const G = M.children[M.children.length - 1];
10981
10981
  G.position.end = Pt(A.end), this.data.atHardBreak = void 0;
10982
10982
  return;
10983
10983
  }
10984
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(O.type) && (W.call(this, A), S.call(this, A));
10984
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(M.type) && (W.call(this, A), S.call(this, A));
10985
10985
  }
10986
- function F() {
10986
+ function z() {
10987
10987
  this.data.atHardBreak = !0;
10988
10988
  }
10989
10989
  function re() {
10990
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10991
- O.value = A;
10990
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10991
+ M.value = A;
10992
10992
  }
10993
10993
  function V() {
10994
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10995
- O.value = A;
10994
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10995
+ M.value = A;
10996
10996
  }
10997
10997
  function D() {
10998
- const A = this.resume(), O = this.stack[this.stack.length - 1];
10999
- O.value = A;
10998
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
10999
+ M.value = A;
11000
11000
  }
11001
11001
  function J() {
11002
11002
  const A = this.stack[this.stack.length - 1];
11003
11003
  if (this.data.inReference) {
11004
- const O = this.data.referenceType || "shortcut";
11005
- A.type += "Reference", A.referenceType = O, delete A.url, delete A.title;
11004
+ const M = this.data.referenceType || "shortcut";
11005
+ A.type += "Reference", A.referenceType = M, delete A.url, delete A.title;
11006
11006
  } else
11007
11007
  delete A.identifier, delete A.label;
11008
11008
  this.data.referenceType = void 0;
@@ -11010,31 +11010,31 @@ function Lm(e) {
11010
11010
  function ae() {
11011
11011
  const A = this.stack[this.stack.length - 1];
11012
11012
  if (this.data.inReference) {
11013
- const O = this.data.referenceType || "shortcut";
11014
- A.type += "Reference", A.referenceType = O, delete A.url, delete A.title;
11013
+ const M = this.data.referenceType || "shortcut";
11014
+ A.type += "Reference", A.referenceType = M, delete A.url, delete A.title;
11015
11015
  } else
11016
11016
  delete A.identifier, delete A.label;
11017
11017
  this.data.referenceType = void 0;
11018
11018
  }
11019
11019
  function Ee(A) {
11020
- const O = this.sliceSerialize(A), G = this.stack[this.stack.length - 2];
11021
- G.label = Im(O), G.identifier = ut(O).toLowerCase();
11020
+ const M = this.sliceSerialize(A), G = this.stack[this.stack.length - 2];
11021
+ G.label = Im(M), G.identifier = ut(M).toLowerCase();
11022
11022
  }
11023
11023
  function Le() {
11024
- const A = this.stack[this.stack.length - 1], O = this.resume(), G = this.stack[this.stack.length - 1];
11024
+ const A = this.stack[this.stack.length - 1], M = this.resume(), G = this.stack[this.stack.length - 1];
11025
11025
  if (this.data.inReference = !0, G.type === "link") {
11026
11026
  const Q = A.children;
11027
11027
  G.children = Q;
11028
11028
  } else
11029
- G.alt = O;
11029
+ G.alt = M;
11030
11030
  }
11031
11031
  function m() {
11032
- const A = this.resume(), O = this.stack[this.stack.length - 1];
11033
- O.url = A;
11032
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
11033
+ M.url = A;
11034
11034
  }
11035
- function ve() {
11036
- const A = this.resume(), O = this.stack[this.stack.length - 1];
11037
- O.title = A;
11035
+ function Se() {
11036
+ const A = this.resume(), M = this.stack[this.stack.length - 1];
11037
+ M.title = A;
11038
11038
  }
11039
11039
  function Pe() {
11040
11040
  this.data.inReference = void 0;
@@ -11043,32 +11043,32 @@ function Lm(e) {
11043
11043
  this.data.referenceType = "collapsed";
11044
11044
  }
11045
11045
  function Te(A) {
11046
- const O = this.resume(), G = this.stack[this.stack.length - 1];
11047
- G.label = O, G.identifier = ut(this.sliceSerialize(A)).toLowerCase(), this.data.referenceType = "full";
11046
+ const M = this.resume(), G = this.stack[this.stack.length - 1];
11047
+ G.label = M, G.identifier = ut(this.sliceSerialize(A)).toLowerCase(), this.data.referenceType = "full";
11048
11048
  }
11049
11049
  function me(A) {
11050
11050
  this.data.characterReferenceType = A.type;
11051
11051
  }
11052
11052
  function j(A) {
11053
- const O = this.sliceSerialize(A), G = this.data.characterReferenceType;
11053
+ const M = this.sliceSerialize(A), G = this.data.characterReferenceType;
11054
11054
  let Q;
11055
- G ? (Q = Os(O, G === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Q = hi(O);
11055
+ G ? (Q = Ms(M, G === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Q = hi(M);
11056
11056
  const le = this.stack[this.stack.length - 1];
11057
11057
  le.value += Q;
11058
11058
  }
11059
11059
  function Je(A) {
11060
- const O = this.stack.pop();
11061
- O.position.end = Pt(A.end);
11060
+ const M = this.stack.pop();
11061
+ M.position.end = Pt(A.end);
11062
11062
  }
11063
11063
  function $e(A) {
11064
11064
  S.call(this, A);
11065
- const O = this.stack[this.stack.length - 1];
11066
- O.url = this.sliceSerialize(A);
11065
+ const M = this.stack[this.stack.length - 1];
11066
+ M.url = this.sliceSerialize(A);
11067
11067
  }
11068
11068
  function ce(A) {
11069
11069
  S.call(this, A);
11070
- const O = this.stack[this.stack.length - 1];
11071
- O.url = "mailto:" + this.sliceSerialize(A);
11070
+ const M = this.stack[this.stack.length - 1];
11071
+ M.url = "mailto:" + this.sliceSerialize(A);
11072
11072
  }
11073
11073
  function it() {
11074
11074
  return {
@@ -11245,7 +11245,7 @@ function Dm(e) {
11245
11245
  });
11246
11246
  }
11247
11247
  }
11248
- function Om(e, t) {
11248
+ function Mm(e, t) {
11249
11249
  const n = {
11250
11250
  type: "element",
11251
11251
  tagName: "blockquote",
@@ -11254,7 +11254,7 @@ function Om(e, t) {
11254
11254
  };
11255
11255
  return e.patch(t, n), e.applyData(t, n);
11256
11256
  }
11257
- function Mm(e, t) {
11257
+ function Om(e, t) {
11258
11258
  const n = { type: "element", tagName: "br", properties: {}, children: [] };
11259
11259
  return e.patch(t, n), [e.applyData(t, n), { type: "text", value: `
11260
11260
  ` }];
@@ -11564,8 +11564,8 @@ function lg(e, t) {
11564
11564
  return e.patch(t, n), e.applyData(t, n);
11565
11565
  }
11566
11566
  const ag = {
11567
- blockquote: Om,
11568
- break: Mm,
11567
+ blockquote: Mm,
11568
+ break: Om,
11569
11569
  code: zm,
11570
11570
  delete: Fm,
11571
11571
  emphasis: Bm,
@@ -12221,7 +12221,7 @@ function Lg(e, t) {
12221
12221
  o(null, i);
12222
12222
  }
12223
12223
  }
12224
- const gt = { basename: Pg, dirname: Dg, extname: Og, join: Mg, sep: "/" };
12224
+ const gt = { basename: Pg, dirname: Dg, extname: Mg, join: Og, sep: "/" };
12225
12225
  function Pg(e, t) {
12226
12226
  if (t !== void 0 && typeof t != "string")
12227
12227
  throw new TypeError('"ext" argument must be a string');
@@ -12263,7 +12263,7 @@ function Dg(e) {
12263
12263
  } else r || (r = !0);
12264
12264
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
12265
12265
  }
12266
- function Og(e) {
12266
+ function Mg(e) {
12267
12267
  Jn(e);
12268
12268
  let t = e.length, n = -1, r = 0, o = -1, l = 0, i;
12269
12269
  for (; t--; ) {
@@ -12281,7 +12281,7 @@ function Og(e) {
12281
12281
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
12282
12282
  l === 1 && o === n - 1 && o === r + 1 ? "" : e.slice(o, n);
12283
12283
  }
12284
- function Mg(...e) {
12284
+ function Og(...e) {
12285
12285
  let t = -1, n;
12286
12286
  for (; ++t < e.length; )
12287
12287
  Jn(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
@@ -13043,7 +13043,7 @@ class ki extends $g {
13043
13043
  */
13044
13044
  processSync(t) {
13045
13045
  let n = !1, r;
13046
- return this.freeze(), ao("processSync", this.parser || this.Parser), so("processSync", this.compiler || this.Compiler), this.process(t, o), Ml("processSync", "process", n), r;
13046
+ return this.freeze(), ao("processSync", this.parser || this.Parser), so("processSync", this.compiler || this.Compiler), this.process(t, o), Ol("processSync", "process", n), r;
13047
13047
  function o(l, i) {
13048
13048
  n = !0, Ll(l), r = i;
13049
13049
  }
@@ -13087,7 +13087,7 @@ class ki extends $g {
13087
13087
  * transformed tree.
13088
13088
  */
13089
13089
  run(t, n, r) {
13090
- Ol(t), this.freeze();
13090
+ Ml(t), this.freeze();
13091
13091
  const o = this.transformers;
13092
13092
  return !r && typeof n == "function" && (r = n, n = void 0), r ? l(void 0, r) : new Promise(l);
13093
13093
  function l(i, a) {
@@ -13121,7 +13121,7 @@ class ki extends $g {
13121
13121
  */
13122
13122
  runSync(t, n) {
13123
13123
  let r = !1, o;
13124
- return this.run(t, n, l), Ml("runSync", "run", r), o;
13124
+ return this.run(t, n, l), Ol("runSync", "run", r), o;
13125
13125
  function l(i, a) {
13126
13126
  Ll(i), o = a, r = !0;
13127
13127
  }
@@ -13158,7 +13158,7 @@ class ki extends $g {
13158
13158
  stringify(t, n) {
13159
13159
  this.freeze();
13160
13160
  const r = dr(n), o = this.compiler || this.Compiler;
13161
- return so("stringify", o), Ol(t), o(t, r);
13161
+ return so("stringify", o), Ml(t), o(t, r);
13162
13162
  }
13163
13163
  /**
13164
13164
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -13290,11 +13290,11 @@ function uo(e, t) {
13290
13290
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
13291
13291
  );
13292
13292
  }
13293
- function Ol(e) {
13293
+ function Ml(e) {
13294
13294
  if (!Uo(e) || typeof e.type != "string")
13295
13295
  throw new TypeError("Expected node, got `" + e + "`");
13296
13296
  }
13297
- function Ml(e, t, n) {
13297
+ function Ol(e, t, n) {
13298
13298
  if (!n)
13299
13299
  throw new Error(
13300
13300
  "`" + e + "` finished async. Use `" + t + "` instead"
@@ -13592,7 +13592,7 @@ const Gt = ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy"], Bl = {
13592
13592
  "ul",
13593
13593
  "var"
13594
13594
  ]
13595
- }, Ot = {}.hasOwnProperty;
13595
+ }, Mt = {}.hasOwnProperty;
13596
13596
  function ib(e, t) {
13597
13597
  let n = { type: "root", children: [] };
13598
13598
  const r = {
@@ -13642,7 +13642,7 @@ function sb(e, t) {
13642
13642
  ), o = fb(e, t.properties);
13643
13643
  e.stack.pop();
13644
13644
  let l = !1;
13645
- if (n && n !== "*" && (!e.schema.tagNames || e.schema.tagNames.includes(n)) && (l = !0, e.schema.ancestors && Ot.call(e.schema.ancestors, n))) {
13645
+ if (n && n !== "*" && (!e.schema.tagNames || e.schema.tagNames.includes(n)) && (l = !0, e.schema.ancestors && Mt.call(e.schema.ancestors, n))) {
13646
13646
  const a = e.schema.ancestors[n];
13647
13647
  let s = -1;
13648
13648
  for (l = !1; ++s < a.length; )
@@ -13685,13 +13685,13 @@ function ou(e, t) {
13685
13685
  return n;
13686
13686
  }
13687
13687
  function fb(e, t) {
13688
- const n = e.stack[e.stack.length - 1], r = e.schema.attributes, o = e.schema.required, l = r && Ot.call(r, n) ? r[n] : void 0, i = r && Ot.call(r, "*") ? r["*"] : void 0, a = (
13688
+ const n = e.stack[e.stack.length - 1], r = e.schema.attributes, o = e.schema.required, l = r && Mt.call(r, n) ? r[n] : void 0, i = r && Mt.call(r, "*") ? r["*"] : void 0, a = (
13689
13689
  /** @type {Readonly<Record<string, Readonly<unknown>>>} */
13690
13690
  t && typeof t == "object" ? t : {}
13691
13691
  ), s = {};
13692
13692
  let u;
13693
13693
  for (u in a)
13694
- if (Ot.call(a, u)) {
13694
+ if (Mt.call(a, u)) {
13695
13695
  const f = a[u];
13696
13696
  let c = Ul(
13697
13697
  e,
@@ -13701,10 +13701,10 @@ function fb(e, t) {
13701
13701
  );
13702
13702
  c == null && (c = Ul(e, Hl(i, u), u, f)), c != null && (s[u] = c);
13703
13703
  }
13704
- if (o && Ot.call(o, n)) {
13704
+ if (o && Mt.call(o, n)) {
13705
13705
  const f = o[n];
13706
13706
  for (u in f)
13707
- Ot.call(f, u) && !Ot.call(s, u) && (s[u] = f[u]);
13707
+ Mt.call(f, u) && !Mt.call(s, u) && (s[u] = f[u]);
13708
13708
  }
13709
13709
  return s;
13710
13710
  }
@@ -13742,7 +13742,7 @@ function iu(e, t, n, r) {
13742
13742
  }
13743
13743
  }
13744
13744
  function db(e, t, n) {
13745
- const r = e.schema.protocols && Ot.call(e.schema.protocols, t) ? e.schema.protocols[t] : void 0;
13745
+ const r = e.schema.protocols && Mt.call(e.schema.protocols, t) ? e.schema.protocols[t] : void 0;
13746
13746
  if (!r || r.length === 0)
13747
13747
  return !0;
13748
13748
  const o = String(n), l = o.indexOf(":"), i = o.indexOf("?"), a = o.indexOf("#"), s = o.indexOf("/");
@@ -13817,16 +13817,16 @@ function lu(e, t, n) {
13817
13817
  d.lastIndex = 0;
13818
13818
  let _ = d.exec(u.value);
13819
13819
  for (; _; ) {
13820
- const z = _.index, M = {
13820
+ const O = _.index, F = {
13821
13821
  index: _.index,
13822
13822
  input: _.input,
13823
13823
  stack: [...f, u]
13824
13824
  };
13825
- let C = p(..._, M);
13826
- if (typeof C == "string" && (C = C.length > 0 ? { type: "text", value: C } : void 0), C === !1 ? d.lastIndex = z + 1 : (g !== z && E.push({
13825
+ let C = p(..._, F);
13826
+ if (typeof C == "string" && (C = C.length > 0 ? { type: "text", value: C } : void 0), C === !1 ? d.lastIndex = O + 1 : (g !== O && E.push({
13827
13827
  type: "text",
13828
- value: u.value.slice(g, z)
13829
- }), Array.isArray(C) ? E.push(...C) : C && E.push(C), g = z + _[0].length, w = !0), !d.global)
13828
+ value: u.value.slice(g, O)
13829
+ }), Array.isArray(C) ? E.push(...C) : C && E.push(C), g = O + _[0].length, w = !0), !d.global)
13830
13830
  break;
13831
13831
  _ = d.exec(u.value);
13832
13832
  }
@@ -14002,10 +14002,10 @@ function Pb() {
14002
14002
  function Db(e) {
14003
14003
  this.enter({ type: "footnoteReference", identifier: "", label: "" }, e);
14004
14004
  }
14005
- function Ob() {
14005
+ function Mb() {
14006
14006
  this.buffer();
14007
14007
  }
14008
- function Mb(e) {
14008
+ function Ob(e) {
14009
14009
  this.enter(
14010
14010
  { type: "footnoteDefinition", identifier: "", label: "", children: [] },
14011
14011
  e
@@ -14045,8 +14045,8 @@ function jb() {
14045
14045
  enter: {
14046
14046
  gfmFootnoteCallString: Pb,
14047
14047
  gfmFootnoteCall: Db,
14048
- gfmFootnoteDefinitionLabelString: Ob,
14049
- gfmFootnoteDefinition: Mb
14048
+ gfmFootnoteDefinitionLabelString: Mb,
14049
+ gfmFootnoteDefinition: Ob
14050
14050
  },
14051
14051
  exit: {
14052
14052
  gfmFootnoteCallString: zb,
@@ -14179,14 +14179,14 @@ function Zb(e, t) {
14179
14179
  const w = [];
14180
14180
  for (; ++c < u; ) {
14181
14181
  const E = k[c] || "";
14182
- let _ = "", z = "";
14182
+ let _ = "", O = "";
14183
14183
  if (n.alignDelimiters !== !1) {
14184
- const M = s[c] - (v[c] || 0), C = l[c];
14185
- C === 114 ? _ = " ".repeat(M) : C === 99 ? M % 2 ? (_ = " ".repeat(M / 2 + 0.5), z = " ".repeat(M / 2 - 0.5)) : (_ = " ".repeat(M / 2), z = _) : z = " ".repeat(M);
14184
+ const F = s[c] - (v[c] || 0), C = l[c];
14185
+ C === 114 ? _ = " ".repeat(F) : C === 99 ? F % 2 ? (_ = " ".repeat(F / 2 + 0.5), O = " ".repeat(F / 2 - 0.5)) : (_ = " ".repeat(F / 2), O = _) : O = " ".repeat(F);
14186
14186
  }
14187
14187
  n.delimiterStart !== !1 && !c && w.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
14188
14188
  // empty: there will be a closing space.
14189
- !(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || c) && w.push(" "), n.alignDelimiters !== !1 && w.push(_), w.push(E), n.alignDelimiters !== !1 && w.push(z), n.padding !== !1 && w.push(" "), (n.delimiterEnd !== !1 || c !== u - 1) && w.push("|");
14189
+ !(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || c) && w.push(" "), n.alignDelimiters !== !1 && w.push(_), w.push(E), n.alignDelimiters !== !1 && w.push(O), n.padding !== !1 && w.push(" "), (n.delimiterEnd !== !1 || c !== u - 1) && w.push("|");
14190
14190
  }
14191
14191
  g.push(
14192
14192
  n.delimiterEnd === !1 ? w.join("").replace(/ +$/, "") : w.join("")
@@ -14804,10 +14804,10 @@ function Ly() {
14804
14804
  table: Py,
14805
14805
  tableData: Gl,
14806
14806
  tableHeader: Gl,
14807
- tableRow: Oy
14807
+ tableRow: My
14808
14808
  },
14809
14809
  exit: {
14810
- codeText: My,
14810
+ codeText: Oy,
14811
14811
  table: Dy,
14812
14812
  tableData: ho,
14813
14813
  tableHeader: ho,
@@ -14831,7 +14831,7 @@ function Py(e) {
14831
14831
  function Dy(e) {
14832
14832
  this.exit(e), this.data.inTable = void 0;
14833
14833
  }
14834
- function Oy(e) {
14834
+ function My(e) {
14835
14835
  this.enter({ type: "tableRow", children: [] }, e);
14836
14836
  }
14837
14837
  function ho(e) {
@@ -14840,7 +14840,7 @@ function ho(e) {
14840
14840
  function Gl(e) {
14841
14841
  this.enter({ type: "tableCell", children: [] }, e);
14842
14842
  }
14843
- function My(e) {
14843
+ function Oy(e) {
14844
14844
  let t = this.resume();
14845
14845
  this.data.inTable && (t = t.replace(/\\([\\|])/g, zy));
14846
14846
  const n = this.stack[this.stack.length - 1];
@@ -15025,23 +15025,23 @@ const Wy = {
15025
15025
  name: "emailAutolink",
15026
15026
  tokenize: Xy,
15027
15027
  previous: _u
15028
- }, yt = {};
15028
+ }, bt = {};
15029
15029
  function Yy() {
15030
15030
  return {
15031
- text: yt
15031
+ text: bt
15032
15032
  };
15033
15033
  }
15034
15034
  let Yt = 48;
15035
15035
  for (; Yt < 123; )
15036
- yt[Yt] = Tt, Yt++, Yt === 58 ? Yt = 65 : Yt === 91 && (Yt = 97);
15037
- yt[43] = Tt;
15038
- yt[45] = Tt;
15039
- yt[46] = Tt;
15040
- yt[95] = Tt;
15041
- yt[72] = [Tt, Eu];
15042
- yt[104] = [Tt, Eu];
15043
- yt[87] = [Tt, Au];
15044
- yt[119] = [Tt, Au];
15036
+ bt[Yt] = Tt, Yt++, Yt === 58 ? Yt = 65 : Yt === 91 && (Yt = 97);
15037
+ bt[43] = Tt;
15038
+ bt[45] = Tt;
15039
+ bt[46] = Tt;
15040
+ bt[95] = Tt;
15041
+ bt[72] = [Tt, Eu];
15042
+ bt[104] = [Tt, Eu];
15043
+ bt[87] = [Tt, Au];
15044
+ bt[119] = [Tt, Au];
15045
15045
  function Xy(e, t, n) {
15046
15046
  const r = this;
15047
15047
  let o, l;
@@ -15059,7 +15059,7 @@ function Xy(e, t, n) {
15059
15059
  return e.consume(c), o = !0, s;
15060
15060
  }
15061
15061
  function f(c) {
15062
- return l && o && Me(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(c)) : n(c);
15062
+ return l && o && Oe(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(c)) : n(c);
15063
15063
  }
15064
15064
  }
15065
15065
  function Ky(e, t, n) {
@@ -15080,7 +15080,7 @@ function Jy(e, t, n) {
15080
15080
  return (c === 72 || c === 104) && qu.call(r, r.previous) && !Ci(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), o += String.fromCodePoint(c), e.consume(c), a) : n(c);
15081
15081
  }
15082
15082
  function a(c) {
15083
- if (Me(c) && o.length < 5)
15083
+ if (Oe(c) && o.length < 5)
15084
15084
  return o += String.fromCodePoint(c), e.consume(c), a;
15085
15085
  if (c === 58) {
15086
15086
  const d = o.toLowerCase();
@@ -15145,10 +15145,10 @@ function tx(e, t, n) {
15145
15145
  return a === null || a === 40 || a === 91 || de(a) || en(a) ? t(a) : r(a);
15146
15146
  }
15147
15147
  function l(a) {
15148
- return Me(a) ? i(a) : n(a);
15148
+ return Oe(a) ? i(a) : n(a);
15149
15149
  }
15150
15150
  function i(a) {
15151
- return a === 59 ? (e.consume(a), r) : Me(a) ? (e.consume(a), i) : n(a);
15151
+ return a === 59 ? (e.consume(a), r) : Oe(a) ? (e.consume(a), i) : n(a);
15152
15152
  }
15153
15153
  }
15154
15154
  function nx(e, t, n) {
@@ -15164,7 +15164,7 @@ function Tu(e) {
15164
15164
  return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || de(e);
15165
15165
  }
15166
15166
  function qu(e) {
15167
- return !Me(e);
15167
+ return !Oe(e);
15168
15168
  }
15169
15169
  function _u(e) {
15170
15170
  return !(e === 47 || jo(e));
@@ -15544,7 +15544,7 @@ function bx(e, t, n) {
15544
15544
  V === "linePrefix") P--;
15545
15545
  else break;
15546
15546
  }
15547
- const F = P > -1 ? r.events[P][1].type : null, re = F === "tableHead" || F === "tableRow" ? C : s;
15547
+ const z = P > -1 ? r.events[P][1].type : null, re = z === "tableHead" || z === "tableRow" ? C : s;
15548
15548
  return re === C && r.parser.lazy[r.now().line] ? n(S) : re(S);
15549
15549
  }
15550
15550
  function s(S) {
@@ -15566,27 +15566,27 @@ function bx(e, t, n) {
15566
15566
  return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(S) : (e.enter("tableDelimiterRow"), i = !1, oe(S) ? se(e, g, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(S) : g(S));
15567
15567
  }
15568
15568
  function g(S) {
15569
- return S === 45 || S === 58 ? v(S) : S === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(S), e.exit("tableCellDivider"), k) : M(S);
15569
+ return S === 45 || S === 58 ? v(S) : S === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(S), e.exit("tableCellDivider"), k) : F(S);
15570
15570
  }
15571
15571
  function k(S) {
15572
15572
  return oe(S) ? se(e, v, "whitespace")(S) : v(S);
15573
15573
  }
15574
15574
  function v(S) {
15575
- return S === 58 ? (l += 1, i = !0, e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"), w) : S === 45 ? (l += 1, w(S)) : S === null || Y(S) ? z(S) : M(S);
15575
+ return S === 58 ? (l += 1, i = !0, e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"), w) : S === 45 ? (l += 1, w(S)) : S === null || Y(S) ? O(S) : F(S);
15576
15576
  }
15577
15577
  function w(S) {
15578
- return S === 45 ? (e.enter("tableDelimiterFiller"), E(S)) : M(S);
15578
+ return S === 45 ? (e.enter("tableDelimiterFiller"), E(S)) : F(S);
15579
15579
  }
15580
15580
  function E(S) {
15581
15581
  return S === 45 ? (e.consume(S), E) : S === 58 ? (i = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"), _) : (e.exit("tableDelimiterFiller"), _(S));
15582
15582
  }
15583
15583
  function _(S) {
15584
- return oe(S) ? se(e, z, "whitespace")(S) : z(S);
15584
+ return oe(S) ? se(e, O, "whitespace")(S) : O(S);
15585
15585
  }
15586
- function z(S) {
15587
- return S === 124 ? g(S) : S === null || Y(S) ? !i || o !== l ? M(S) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(S)) : M(S);
15586
+ function O(S) {
15587
+ return S === 124 ? g(S) : S === null || Y(S) ? !i || o !== l ? F(S) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(S)) : F(S);
15588
15588
  }
15589
- function M(S) {
15589
+ function F(S) {
15590
15590
  return n(S);
15591
15591
  }
15592
15592
  function C(S) {
@@ -15753,8 +15753,8 @@ function qx() {
15753
15753
  return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
15754
15754
  }
15755
15755
  function _x(e, t = !0) {
15756
- const [n, r] = Se(0), o = Xe(qx());
15757
- return bt(() => {
15756
+ const [n, r] = Ae(0), o = Xe(qx());
15757
+ return vt(() => {
15758
15758
  if (!t || o.current) {
15759
15759
  r(e.length);
15760
15760
  return;
@@ -15818,8 +15818,8 @@ class Jt extends Error {
15818
15818
  super(n), this.name = "ServerError", this.status = t, this.response = r;
15819
15819
  }
15820
15820
  }
15821
- const Ox = "x-elo-chat-token", Ql = "x-elo-chat-token-renewed";
15822
- class Ak {
15821
+ const Mx = "x-elo-chat-token", Ql = "x-elo-chat-token-renewed";
15822
+ class vk {
15823
15823
  baseURL;
15824
15824
  appId;
15825
15825
  region = null;
@@ -15840,7 +15840,7 @@ class Ak {
15840
15840
  return {
15841
15841
  "ELO-APP-ID": this.appId,
15842
15842
  ...this.region ? { "X-Region": this.region } : {},
15843
- ...this.chatToken ? { [Ox]: this.chatToken } : {}
15843
+ ...this.chatToken ? { [Mx]: this.chatToken } : {}
15844
15844
  };
15845
15845
  }
15846
15846
  async request(t, n = {}) {
@@ -15934,7 +15934,7 @@ class Ak {
15934
15934
  return r;
15935
15935
  }
15936
15936
  }
15937
- async function Mx(e) {
15937
+ async function Ox(e) {
15938
15938
  try {
15939
15939
  return [await e, null];
15940
15940
  } catch (t) {
@@ -15944,7 +15944,7 @@ async function Mx(e) {
15944
15944
  class xr extends Error {
15945
15945
  name = "AttachmentUploadError";
15946
15946
  }
15947
- function Ek(e, t) {
15947
+ function Ck(e, t) {
15948
15948
  return e instanceof Jt ? e.status === 413 ? new xr(`${t} is too large.`) : e.status === 415 ? new xr(
15949
15949
  `${t} isn't a supported file type.`
15950
15950
  ) : e.status === 403 || e.status >= 500 ? new xr(Ru) : e : e;
@@ -15983,26 +15983,26 @@ function Fx(e, t) {
15983
15983
  function Bx(e, t) {
15984
15984
  return e instanceof xr ? e.message : t.length > 0 ? Ru : null;
15985
15985
  }
15986
- function Tk(e, t) {
15986
+ function Ak(e, t) {
15987
15987
  return e.map((n, r) => ({
15988
15988
  ...n,
15989
15989
  displayUrl: t[r].previewUrl
15990
15990
  }));
15991
15991
  }
15992
- function qk(e, t, n) {
15992
+ function Ek(e, t, n) {
15993
15993
  return Promise.all(
15994
15994
  n.map(
15995
15995
  (r) => Hx(e, t, r)
15996
15996
  )
15997
15997
  );
15998
15998
  }
15999
- function _k(e) {
15999
+ function Tk(e) {
16000
16000
  return Pu(e).length > 0;
16001
16001
  }
16002
16002
  function Ux(e) {
16003
16003
  return e.displayUrl ? e.displayUrl : Lu(e.url) ? void 0 : e.url;
16004
16004
  }
16005
- function Ik(e) {
16005
+ function qk(e) {
16006
16006
  for (const t of e)
16007
16007
  for (const n of t.attachments ?? [])
16008
16008
  n.displayUrl && URL.revokeObjectURL(n.displayUrl);
@@ -16016,7 +16016,7 @@ function Lu(e) {
16016
16016
  async function Hx(e, t, n) {
16017
16017
  const r = Pu(n);
16018
16018
  if (r.length === 0) return n;
16019
- const [o, l] = await Mx(
16019
+ const [o, l] = await Ox(
16020
16020
  e.getAttachmentUrls(t, r)
16021
16021
  );
16022
16022
  if (!o)
@@ -16086,8 +16086,8 @@ function $x({
16086
16086
  }
16087
16087
  ) : /* @__PURE__ */ x("span", { className: "eloq:h-full eloq:w-full eloq:bg-muted eloq:animate-pulse" });
16088
16088
  return /* @__PURE__ */ Z("li", { className: Du, title: e, children: [
16089
- t && n === null ? /* @__PURE__ */ x(Ou, { href: t, children: r }) : r,
16090
- n !== null && /* @__PURE__ */ x(Mu, { name: e, progress: n })
16089
+ t && n === null ? /* @__PURE__ */ x(Mu, { href: t, children: r }) : r,
16090
+ n !== null && /* @__PURE__ */ x(Ou, { name: e, progress: n })
16091
16091
  ] });
16092
16092
  }
16093
16093
  function Wx({
@@ -16100,11 +16100,11 @@ function Wx({
16100
16100
  /* @__PURE__ */ x("span", { className: "eloq:sr-only", children: e })
16101
16101
  ] });
16102
16102
  return /* @__PURE__ */ Z("li", { className: `${Du} eloq:bg-muted`, title: e, children: [
16103
- t && n === null ? /* @__PURE__ */ x(Ou, { href: t, children: r }) : r,
16104
- n !== null && /* @__PURE__ */ x(Mu, { name: e, progress: n })
16103
+ t && n === null ? /* @__PURE__ */ x(Mu, { href: t, children: r }) : r,
16104
+ n !== null && /* @__PURE__ */ x(Ou, { name: e, progress: n })
16105
16105
  ] });
16106
16106
  }
16107
- function Ou({ href: e, children: t }) {
16107
+ function Mu({ href: e, children: t }) {
16108
16108
  return /* @__PURE__ */ x(
16109
16109
  "a",
16110
16110
  {
@@ -16116,7 +16116,7 @@ function Ou({ href: e, children: t }) {
16116
16116
  }
16117
16117
  );
16118
16118
  }
16119
- function Mu({ name: e, progress: t }) {
16119
+ function Ou({ name: e, progress: t }) {
16120
16120
  const n = Math.round(t * 100);
16121
16121
  return /* @__PURE__ */ x(
16122
16122
  "div",
@@ -16137,8 +16137,8 @@ function Mu({ name: e, progress: t }) {
16137
16137
  }
16138
16138
  );
16139
16139
  }
16140
- const Gx = "eloq:h-[0.42em] eloq:w-[0.42em] eloq:rounded-full eloq:bg-gray-400 eloq:dark:bg-gray-200 eloq:animate-thinking-dot eloq:motion-reduce:animate-none eloq:motion-reduce:opacity-70", Yx = 2e3, Xx = /* @__PURE__ */ new Set(["Routing"]), Kx = /^Thinking\.+$/;
16141
- function Jx(e) {
16140
+ const Gx = "eloq:h-[0.42em] eloq:w-[0.42em] eloq:rounded-full eloq:bg-gray-400 eloq:dark:bg-gray-200 eloq:animate-thinking-dot eloq:motion-reduce:animate-none eloq:motion-reduce:opacity-70", Yx = /* @__PURE__ */ new Set(["Routing"]);
16141
+ function Xx(e) {
16142
16142
  let t = e.length;
16143
16143
  for (; t > 0 && e.charCodeAt(t - 1) === 46; )
16144
16144
  t--;
@@ -16150,56 +16150,44 @@ function Zl({
16150
16150
  isSibling: n
16151
16151
  }) {
16152
16152
  const r = ei(), { onMessageClick: o, highlightedMessageId: l } = nn(), i = l != null && l === e.id, a = Xe(null);
16153
- bt(() => {
16153
+ vt(() => {
16154
16154
  if (!i) return;
16155
- const M = window.matchMedia?.(
16155
+ const E = window.matchMedia?.(
16156
16156
  "(prefers-reduced-motion: reduce)"
16157
16157
  ).matches;
16158
16158
  a.current?.scrollIntoView?.({
16159
16159
  block: "nearest",
16160
- behavior: M ? "auto" : "smooth"
16160
+ behavior: E ? "auto" : "smooth"
16161
16161
  });
16162
16162
  }, [i]);
16163
16163
  const s = te({
16164
16164
  [r.botBubbleColor]: e.sender === "assistant",
16165
16165
  [r.userBubbleColor]: e.sender === "user"
16166
- }), f = (e.sender === "assistant" ? r.botBubbleTextColor : r.userBubbleTextColor) || Ai(s), c = e.content === "...", d = e.attachments ?? [], p = e.type === "image" || e.content !== "" || d.length === 0, [g, k] = Se(!c);
16167
- bt(() => {
16168
- if (!c) {
16169
- k(!0);
16170
- return;
16171
- }
16172
- const M = setTimeout(
16173
- () => k(!0),
16174
- Yx
16175
- );
16176
- return () => clearTimeout(M);
16177
- }, [c]);
16178
- const v = Xx.has(
16179
- Jx(e.content)
16180
- ), w = !!(t && e.isThinking), E = w && !c && !v, _ = _x(
16181
- E ? e.content.replace(Kx, "Thinking") : "",
16182
- E
16183
- ), z = () => w ? g ? /* @__PURE__ */ Z("div", { className: "eloq:ml-1 eloq:flex eloq:items-center eloq:gap-2 eloq:animate-message-in", children: [
16166
+ }), f = (e.sender === "assistant" ? r.botBubbleTextColor : r.userBubbleTextColor) || Ai(s), c = e.attachments ?? [], d = e.type === "image" || e.content !== "" || c.length === 0, p = Yx.has(
16167
+ Xx(e.content)
16168
+ ), g = !!(t && e.isThinking), k = g && !p, v = _x(
16169
+ k ? e.content : "",
16170
+ k
16171
+ ), w = () => g ? /* @__PURE__ */ Z("div", { className: "eloq:ml-1 eloq:flex eloq:items-center eloq:gap-2 eloq:animate-message-in", children: [
16184
16172
  /* @__PURE__ */ x(
16185
16173
  "span",
16186
16174
  {
16187
16175
  className: "eloq:flex eloq:h-5 eloq:items-center eloq:gap-[0.25em] eloq:rounded-2xl eloq:px-[12px] eloq:py-[8px] eloq:text-sm eloq:box-content",
16188
16176
  style: { backgroundColor: r.botBubbleColor },
16189
- children: [0, 150, 300].map((M) => /* @__PURE__ */ x(
16177
+ children: [0, 150, 300].map((E) => /* @__PURE__ */ x(
16190
16178
  "span",
16191
16179
  {
16192
16180
  className: Gx,
16193
- style: { animationDelay: `${M}ms` }
16181
+ style: { animationDelay: `${E}ms` }
16194
16182
  },
16195
- M
16183
+ E
16196
16184
  ))
16197
16185
  }
16198
16186
  ),
16199
- _ && // Outside the bubble, on the panel background. Same wave as the
16187
+ v && // Outside the bubble, on the panel background. Same wave as the
16200
16188
  // dots, swept through the glyphs.
16201
- /* @__PURE__ */ x("span", { className: "eloq-thinking-shimmer eloq:text-sm eloq:font-medium eloq:animate-thinking-shimmer eloq:motion-reduce:animate-none", children: _ })
16202
- ] }) : null : /* @__PURE__ */ Z(
16189
+ /* @__PURE__ */ x("span", { className: "eloq-thinking-shimmer eloq:text-sm eloq:font-medium eloq:animate-thinking-shimmer eloq:motion-reduce:animate-none", children: v })
16190
+ ] }) : /* @__PURE__ */ Z(
16203
16191
  "div",
16204
16192
  {
16205
16193
  className: te(
@@ -16210,7 +16198,7 @@ function Zl({
16210
16198
  role: o && !e.isWelcomeMessage ? "button" : void 0,
16211
16199
  tabIndex: 0,
16212
16200
  children: [
16213
- p && /* @__PURE__ */ x(
16201
+ d && /* @__PURE__ */ x(
16214
16202
  "div",
16215
16203
  {
16216
16204
  "data-highlighted": i || void 0,
@@ -16249,7 +16237,7 @@ function Zl({
16249
16237
  ) : /* @__PURE__ */ x("div", { className: "typewriter prose eloq:text-left eloq-wrap-anywhere", children: /* @__PURE__ */ x(Ex, { text: e.content }) })
16250
16238
  }
16251
16239
  ),
16252
- d.length > 0 && /* @__PURE__ */ x(jx, { attachments: d })
16240
+ c.length > 0 && /* @__PURE__ */ x(jx, { attachments: c })
16253
16241
  ]
16254
16242
  }
16255
16243
  );
@@ -16270,7 +16258,7 @@ function Zl({
16270
16258
  "eloq:max-w-[75%]": !t,
16271
16259
  "eloq:max-w-full": n
16272
16260
  }),
16273
- children: z()
16261
+ children: w()
16274
16262
  }
16275
16263
  )
16276
16264
  ]
@@ -16292,7 +16280,7 @@ const zu = "eloq:p-4 eloq:flex eloq:flex-row eloq:items-center eloq:justify-betw
16292
16280
  "eloq:rounded-2xl eloq:border": !t
16293
16281
  }
16294
16282
  );
16295
- function Qx({
16283
+ function Kx({
16296
16284
  className: e,
16297
16285
  message: t,
16298
16286
  nextMessage: n,
@@ -16382,12 +16370,12 @@ function Qx({
16382
16370
  o
16383
16371
  );
16384
16372
  }
16385
- function Zx({
16373
+ function Jx({
16386
16374
  value: e,
16387
16375
  onChange: t,
16388
16376
  disabled: n = !1
16389
16377
  }) {
16390
- const [r, o] = Se(0), l = r || e;
16378
+ const [r, o] = Ae(0), l = r || e;
16391
16379
  return /* @__PURE__ */ x(
16392
16380
  "div",
16393
16381
  {
@@ -16420,16 +16408,16 @@ function Zx({
16420
16408
  }
16421
16409
  );
16422
16410
  }
16423
- function ew({ onRate: e }) {
16424
- const [t, n] = Se(0), [r, o] = Se(!1);
16411
+ function Qx({ onRate: e }) {
16412
+ const [t, n] = Ae(0), [r, o] = Ae(!1);
16425
16413
  return /* @__PURE__ */ x("div", { className: "eloq:flex eloq:justify-center eloq:pt-2 eloq:pb-2", children: /* @__PURE__ */ Z("div", { className: "eloq:rounded-2xl eloq:bg-muted eloq:px-4 eloq:py-3 eloq:flex eloq:flex-col eloq:items-center eloq:gap-1.5", children: [
16426
16414
  /* @__PURE__ */ x("p", { className: "eloq:text-sm eloq:font-medium eloq:text-foreground", children: r ? "Thanks for your feedback!" : "How was your experience" }),
16427
- /* @__PURE__ */ x(Zx, { value: t, onChange: (i) => {
16415
+ /* @__PURE__ */ x(Jx, { value: t, onChange: (i) => {
16428
16416
  n(i), o(!0), e(i);
16429
16417
  } })
16430
16418
  ] }) });
16431
16419
  }
16432
- const tw = Ar(null), nw = {
16420
+ const Zx = Ar(null), ew = {
16433
16421
  isVisible: !1,
16434
16422
  content: null,
16435
16423
  showCognition: () => {
@@ -16437,11 +16425,11 @@ const tw = Ar(null), nw = {
16437
16425
  hideCognition: () => {
16438
16426
  }
16439
16427
  };
16440
- function rw() {
16441
- return Er(tw) ?? nw;
16428
+ function tw() {
16429
+ return Er(Zx) ?? ew;
16442
16430
  }
16443
- function ow() {
16444
- const e = nn(), t = rw(), n = Xe(null), r = Xe(!0), o = Xe(0), [l, i] = Se(!1), [a, s] = Se(!1), u = (p) => p.scrollHeight - p.scrollTop <= p.clientHeight + 60, f = (p) => {
16431
+ function nw() {
16432
+ const e = nn(), t = tw(), n = Xe(null), r = Xe(!0), o = Xe(0), [l, i] = Ae(!1), [a, s] = Ae(!1), u = (p) => p.scrollHeight - p.scrollTop <= p.clientHeight + 60, f = (p) => {
16445
16433
  const g = p.target;
16446
16434
  u(g) ? (i(!1), s(!1)) : (i(!0), s(!0));
16447
16435
  }, c = wa((p = "smooth") => {
@@ -16453,16 +16441,16 @@ function ow() {
16453
16441
  });
16454
16442
  }
16455
16443
  }, []);
16456
- bt(() => {
16444
+ vt(() => {
16457
16445
  const p = e.messages?.length ?? 0, g = p < o.current;
16458
16446
  o.current = p, r.current ? (c("instant"), r.current = !1) : g ? (i(!1), s(!1), c("instant")) : a || c();
16459
- }, [e.messages, a, c]), bt(() => {
16447
+ }, [e.messages, a, c]), vt(() => {
16460
16448
  if (!e.isChatClosed) return;
16461
16449
  const p = setTimeout(() => {
16462
16450
  c("smooth");
16463
16451
  }, 500);
16464
16452
  return () => clearTimeout(p);
16465
- }, [e.isChatClosed, c]), bt(() => {
16453
+ }, [e.isChatClosed, c]), vt(() => {
16466
16454
  const p = n.current?.querySelector(
16467
16455
  "div.chat-interface-body"
16468
16456
  );
@@ -16496,7 +16484,7 @@ function ow() {
16496
16484
  const v = Array.isArray(p) ? p.map((E) => E.id).join("-") : p.id;
16497
16485
  if (!Array.isArray(p) && p.isRatingRequest)
16498
16486
  return /* @__PURE__ */ x(
16499
- ew,
16487
+ Qx,
16500
16488
  {
16501
16489
  onRate: (E) => e.onRateChat?.(E)
16502
16490
  },
@@ -16504,7 +16492,7 @@ function ow() {
16504
16492
  );
16505
16493
  const w = e.suggestedMessages && !!e.suggestedMessageTexts?.length && !e.messages?.some((E) => E.sender === "user");
16506
16494
  return /* @__PURE__ */ x(
16507
- Qx,
16495
+ Kx,
16508
16496
  {
16509
16497
  message: p,
16510
16498
  nextMessage: k[g + 1],
@@ -16536,10 +16524,10 @@ function ea(e, t) {
16536
16524
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
16537
16525
  return r;
16538
16526
  }
16539
- function iw(e) {
16527
+ function rw(e) {
16540
16528
  if (Array.isArray(e)) return e;
16541
16529
  }
16542
- function lw(e, t) {
16530
+ function ow(e, t) {
16543
16531
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
16544
16532
  if (n != null) {
16545
16533
  var r, o, l, i, a = [], s = !0, u = !1;
@@ -16557,24 +16545,24 @@ function lw(e, t) {
16557
16545
  return a;
16558
16546
  }
16559
16547
  }
16560
- function aw() {
16548
+ function iw() {
16561
16549
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16562
16550
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
16563
16551
  }
16564
16552
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
16565
- function sw(e, t) {
16566
- return iw(e) || lw(e, t) || uw(e, t) || aw();
16553
+ function lw(e, t) {
16554
+ return rw(e) || ow(e, t) || aw(e, t) || iw();
16567
16555
  }
16568
- function uw(e, t) {
16556
+ function aw(e, t) {
16569
16557
  if (e) {
16570
16558
  if (typeof e == "string") return ea(e, t);
16571
16559
  var n = {}.toString.call(e).slice(8, -1);
16572
16560
  return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ea(e, t) : void 0;
16573
16561
  }
16574
16562
  }
16575
- const Hu = Object.entries, ta = Object.setPrototypeOf, cw = Object.isFrozen, ju = Object.getPrototypeOf, Vu = Object.getOwnPropertyDescriptor;
16576
- let Ae = Object.freeze, _e = Object.seal, bn = Object.create, $u = typeof Reflect < "u" && Reflect, Vo = $u.apply, $o = $u.construct;
16577
- Ae || (Ae = function(t) {
16563
+ const Hu = Object.entries, ta = Object.setPrototypeOf, sw = Object.isFrozen, ju = Object.getPrototypeOf, Vu = Object.getOwnPropertyDescriptor;
16564
+ let Ce = Object.freeze, _e = Object.seal, bn = Object.create, $u = typeof Reflect < "u" && Reflect, Vo = $u.apply, $o = $u.construct;
16565
+ Ce || (Ce = function(t) {
16578
16566
  return t;
16579
16567
  });
16580
16568
  _e || (_e = function(t) {
@@ -16588,7 +16576,7 @@ $o || ($o = function(t) {
16588
16576
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) r[o - 1] = arguments[o];
16589
16577
  return new t(...r);
16590
16578
  });
16591
- const kt = ge(Array.prototype.forEach), fw = ge(Array.prototype.lastIndexOf), na = ge(Array.prototype.pop), Pn = ge(Array.prototype.push), pw = ge(Array.prototype.slice), dw = ge(Array.prototype.splice), yn = Array.isArray, mo = Wu(Set), go = ge(Set.prototype.add), Dn = ge(Set.prototype.has), Kt = ge(String.prototype.toLowerCase), bo = ge(String.prototype.toString), ra = ge(String.prototype.match), On = ge(String.prototype.replace), oa = ge(String.prototype.indexOf), hw = ge(String.prototype.trim), mw = ge(Number.prototype.toString), gw = ge(Boolean.prototype.toString), ia = typeof BigInt > "u" ? null : ge(BigInt.prototype.toString), la = typeof Symbol > "u" ? null : ge(Symbol.prototype.toString), He = ge(Object.prototype.hasOwnProperty), Mn = ge(Object.prototype.toString), qe = ge(RegExp.prototype.test), St = Wu(TypeError);
16579
+ const wt = ge(Array.prototype.forEach), uw = ge(Array.prototype.lastIndexOf), na = ge(Array.prototype.pop), Pn = ge(Array.prototype.push), cw = ge(Array.prototype.slice), fw = ge(Array.prototype.splice), yn = Array.isArray, mo = Wu(Set), go = ge(Set.prototype.add), Dn = ge(Set.prototype.has), Kt = ge(String.prototype.toLowerCase), bo = ge(String.prototype.toString), ra = ge(String.prototype.match), Mn = ge(String.prototype.replace), oa = ge(String.prototype.indexOf), pw = ge(String.prototype.trim), dw = ge(Number.prototype.toString), hw = ge(Boolean.prototype.toString), ia = typeof BigInt > "u" ? null : ge(BigInt.prototype.toString), la = typeof Symbol > "u" ? null : ge(Symbol.prototype.toString), He = ge(Object.prototype.hasOwnProperty), On = ge(Object.prototype.toString), qe = ge(RegExp.prototype.test), kt = Wu(TypeError);
16592
16580
  function ge(e) {
16593
16581
  return function(t) {
16594
16582
  t instanceof RegExp && (t.lastIndex = 0);
@@ -16610,51 +16598,51 @@ function ue(e, t) {
16610
16598
  let o = t[r];
16611
16599
  if (typeof o == "string") {
16612
16600
  const l = n(o);
16613
- l !== o && (cw(t) || (t[r] = l), o = l);
16601
+ l !== o && (sw(t) || (t[r] = l), o = l);
16614
16602
  }
16615
16603
  e[o] = !0;
16616
16604
  }
16617
16605
  return e;
16618
16606
  }
16619
- function bw(e) {
16607
+ function mw(e) {
16620
16608
  for (let t = 0; t < e.length; t++) He(e, t) || (e[t] = null);
16621
16609
  return e;
16622
16610
  }
16623
16611
  function Ye(e) {
16624
16612
  const t = bn(null);
16625
16613
  for (const r of Hu(e)) {
16626
- var n = sw(r, 2);
16614
+ var n = lw(r, 2);
16627
16615
  const o = n[0], l = n[1];
16628
- He(e, o) && (yn(l) ? t[o] = bw(l) : l && typeof l == "object" && l.constructor === Object ? t[o] = Ye(l) : t[o] = l);
16616
+ He(e, o) && (yn(l) ? t[o] = mw(l) : l && typeof l == "object" && l.constructor === Object ? t[o] = Ye(l) : t[o] = l);
16629
16617
  }
16630
16618
  return t;
16631
16619
  }
16632
- function yw(e) {
16620
+ function gw(e) {
16633
16621
  switch (typeof e) {
16634
16622
  case "string":
16635
16623
  return e;
16636
16624
  case "number":
16637
- return mw(e);
16625
+ return dw(e);
16638
16626
  case "boolean":
16639
- return gw(e);
16627
+ return hw(e);
16640
16628
  case "bigint":
16641
16629
  return ia ? ia(e) : "0";
16642
16630
  case "symbol":
16643
16631
  return la ? la(e) : "Symbol()";
16644
16632
  case "undefined":
16645
- return Mn(e);
16633
+ return On(e);
16646
16634
  case "function":
16647
16635
  case "object": {
16648
- if (e === null) return Mn(e);
16636
+ if (e === null) return On(e);
16649
16637
  const t = e, n = tt(t, "toString");
16650
16638
  if (typeof n == "function") {
16651
16639
  const r = n(t);
16652
- return typeof r == "string" ? r : Mn(r);
16640
+ return typeof r == "string" ? r : On(r);
16653
16641
  }
16654
- return Mn(e);
16642
+ return On(e);
16655
16643
  }
16656
16644
  default:
16657
- return Mn(e);
16645
+ return On(e);
16658
16646
  }
16659
16647
  }
16660
16648
  function tt(e, t) {
@@ -16671,7 +16659,7 @@ function tt(e, t) {
16671
16659
  }
16672
16660
  return n;
16673
16661
  }
16674
- function xw(e, t) {
16662
+ function bw(e, t) {
16675
16663
  for (; e !== null; ) {
16676
16664
  const n = Vu(e, t);
16677
16665
  if (n) return n.get ? ge(n.get) : null;
@@ -16679,14 +16667,14 @@ function xw(e, t) {
16679
16667
  }
16680
16668
  return null;
16681
16669
  }
16682
- function ww(e) {
16670
+ function yw(e) {
16683
16671
  try {
16684
16672
  return qe(e, ""), !0;
16685
16673
  } catch {
16686
16674
  return !1;
16687
16675
  }
16688
16676
  }
16689
- const aa = Ae([
16677
+ const aa = Ce([
16690
16678
  "a",
16691
16679
  "abbr",
16692
16680
  "acronym",
@@ -16806,7 +16794,7 @@ const aa = Ae([
16806
16794
  "var",
16807
16795
  "video",
16808
16796
  "wbr"
16809
- ]), yo = Ae([
16797
+ ]), yo = Ce([
16810
16798
  "svg",
16811
16799
  "a",
16812
16800
  "altglyph",
@@ -16854,7 +16842,7 @@ const aa = Ae([
16854
16842
  "tspan",
16855
16843
  "view",
16856
16844
  "vkern"
16857
- ]), xo = Ae([
16845
+ ]), xo = Ce([
16858
16846
  "feBlend",
16859
16847
  "feColorMatrix",
16860
16848
  "feComponentTransfer",
@@ -16880,7 +16868,7 @@ const aa = Ae([
16880
16868
  "feSpotLight",
16881
16869
  "feTile",
16882
16870
  "feTurbulence"
16883
- ]), kw = Ae([
16871
+ ]), xw = Ce([
16884
16872
  "animate",
16885
16873
  "color-profile",
16886
16874
  "cursor",
@@ -16903,7 +16891,7 @@ const aa = Ae([
16903
16891
  "solidcolor",
16904
16892
  "unknown",
16905
16893
  "use"
16906
- ]), wo = Ae([
16894
+ ]), wo = Ce([
16907
16895
  "math",
16908
16896
  "menclose",
16909
16897
  "merror",
@@ -16934,7 +16922,7 @@ const aa = Ae([
16934
16922
  "munder",
16935
16923
  "munderover",
16936
16924
  "mprescripts"
16937
- ]), Sw = Ae([
16925
+ ]), ww = Ce([
16938
16926
  "maction",
16939
16927
  "maligngroup",
16940
16928
  "malignmark",
@@ -16950,7 +16938,7 @@ const aa = Ae([
16950
16938
  "annotation-xml",
16951
16939
  "mprescripts",
16952
16940
  "none"
16953
- ]), sa = Ae(["#text"]), ua = Ae([
16941
+ ]), sa = Ce(["#text"]), ua = Ce([
16954
16942
  "accept",
16955
16943
  "action",
16956
16944
  "align",
@@ -17069,7 +17057,7 @@ const aa = Ae([
17069
17057
  "width",
17070
17058
  "wrap",
17071
17059
  "xmlns"
17072
- ]), ko = Ae([
17060
+ ]), ko = Ce([
17073
17061
  "accent-height",
17074
17062
  "accumulate",
17075
17063
  "additive",
@@ -17262,7 +17250,7 @@ const aa = Ae([
17262
17250
  "y2",
17263
17251
  "z",
17264
17252
  "zoomandpan"
17265
- ]), ca = Ae([
17253
+ ]), ca = Ce([
17266
17254
  "accent",
17267
17255
  "accentunder",
17268
17256
  "align",
@@ -17317,13 +17305,13 @@ const aa = Ae([
17317
17305
  "voffset",
17318
17306
  "width",
17319
17307
  "xmlns"
17320
- ]), mr = Ae([
17308
+ ]), mr = Ce([
17321
17309
  "xlink:href",
17322
17310
  "xml:id",
17323
17311
  "xlink:title",
17324
17312
  "xml:space",
17325
17313
  "xmlns:xlink"
17326
- ]), vw = _e(/{{[\w\W]*|^[\w\W]*}}/g), Cw = _e(/<%[\w\W]*|^[\w\W]*%>/g), Aw = _e(/\${[\w\W]*/g), Ew = _e(/^data-[\-\w.\u00B7-\uFFFF]+$/), Tw = _e(/^aria-[\-\w]+$/), fa = _e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), qw = _e(/^(?:\w+script|data):/i), _w = _e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Iw = _e(/^html$/i), Rw = _e(/^[a-z][.\w]*(-[.\w]+)+$/i), So = _e(/<[/\w!]/g), pa = _e(/<[/\w]/g), Nw = _e(/<\/no(script|embed|frames)/i), da = _e(/\/>/i), ye = {
17314
+ ]), kw = _e(/{{[\w\W]*|^[\w\W]*}}/g), Sw = _e(/<%[\w\W]*|^[\w\W]*%>/g), vw = _e(/\${[\w\W]*/g), Cw = _e(/^data-[\-\w.\u00B7-\uFFFF]+$/), Aw = _e(/^aria-[\-\w]+$/), fa = _e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ew = _e(/^(?:\w+script|data):/i), Tw = _e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), qw = _e(/^html$/i), _w = _e(/^[a-z][.\w]*(-[.\w]+)+$/i), So = _e(/<[/\w!]/g), pa = _e(/<[/\w]/g), Iw = _e(/<\/no(script|embed|frames)/i), da = _e(/\/>/i), ye = {
17327
17315
  element: 1,
17328
17316
  attribute: 2,
17329
17317
  text: 3,
@@ -17336,7 +17324,7 @@ const aa = Ae([
17336
17324
  documentType: 10,
17337
17325
  documentFragment: 11,
17338
17326
  notation: 12
17339
- }, Lw = Ae(ue({}, [
17327
+ }, Rw = Ce(ue({}, [
17340
17328
  "style",
17341
17329
  "script",
17342
17330
  "xmp",
@@ -17345,9 +17333,9 @@ const aa = Ae([
17345
17333
  "noframes",
17346
17334
  "plaintext",
17347
17335
  "noscript"
17348
- ])), Pw = function() {
17336
+ ])), Nw = function() {
17349
17337
  return typeof window > "u" ? null : window;
17350
- }, Dw = function(t, n) {
17338
+ }, Lw = function(t, n) {
17351
17339
  if (typeof t != "object" || typeof t.createPolicy != "function") return null;
17352
17340
  let r = null;
17353
17341
  const o = "data-tt-policy-suffix";
@@ -17384,7 +17372,7 @@ const aa = Ae([
17384
17372
  return o && typeof o == "object" ? Ye(o) : r();
17385
17373
  };
17386
17374
  function Gu() {
17387
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pw();
17375
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Nw();
17388
17376
  const t = (I) => Gu(I);
17389
17377
  if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== ye.document || !e.Element)
17390
17378
  return t.isSupported = !1, t;
@@ -17393,20 +17381,20 @@ function Gu() {
17393
17381
  e.DocumentFragment;
17394
17382
  const l = e.HTMLTemplateElement, i = e.Node, a = e.Element, s = e.NodeFilter;
17395
17383
  e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
17396
- const u = e.DOMParser, f = e.trustedTypes, c = a.prototype, d = tt(c, "cloneNode"), p = tt(c, "remove"), g = tt(c, "removeAttributeNode"), k = tt(c, "nextSibling"), v = tt(c, "childNodes"), w = tt(c, "parentNode"), E = tt(c, "shadowRoot"), _ = tt(c, "attributes"), z = i && i.prototype ? tt(i.prototype, "nodeType") : null, M = i && i.prototype ? tt(i.prototype, "nodeName") : null, C = i && i.prototype ? tt(i.prototype, "ownerDocument") : null, B = function(h) {
17397
- return z ? z(h) : h.nodeType;
17384
+ const u = e.DOMParser, f = e.trustedTypes, c = a.prototype, d = tt(c, "cloneNode"), p = tt(c, "remove"), g = tt(c, "removeAttributeNode"), k = tt(c, "nextSibling"), v = tt(c, "childNodes"), w = tt(c, "parentNode"), E = tt(c, "shadowRoot"), _ = tt(c, "attributes"), O = i && i.prototype ? tt(i.prototype, "nodeType") : null, F = i && i.prototype ? tt(i.prototype, "nodeName") : null, C = i && i.prototype ? tt(i.prototype, "ownerDocument") : null, B = function(h) {
17385
+ return O ? O(h) : h.nodeType;
17398
17386
  }, N = function(h) {
17399
- return M ? M(h) : h.nodeName;
17400
- }, W = xw(c, "namespaceURI"), S = function(h) {
17387
+ return F ? F(h) : h.nodeName;
17388
+ }, W = bw(c, "namespaceURI"), S = function(h) {
17401
17389
  return W ? W(h) : h.namespaceURI;
17402
17390
  };
17403
17391
  if (typeof l == "function") {
17404
17392
  const I = n.createElement("template");
17405
17393
  I.content && I.content.ownerDocument && (n = I.content.ownerDocument);
17406
17394
  }
17407
- let P, F = "", re, V = !1, D = 0;
17395
+ let P, z = "", re, V = !1, D = 0;
17408
17396
  const J = function() {
17409
- if (D > 0) throw St('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
17397
+ if (D > 0) throw kt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
17410
17398
  }, ae = function(h) {
17411
17399
  J(), D++;
17412
17400
  try {
@@ -17422,11 +17410,11 @@ function Gu() {
17422
17410
  D--;
17423
17411
  }
17424
17412
  }, Le = function() {
17425
- return V || (re = Dw(f, o), V = !0), re;
17426
- }, m = n, ve = m.implementation, Pe = m.createNodeIterator, b = m.createDocumentFragment, Te = m.getElementsByTagName, me = r.importNode;
17413
+ return V || (re = Lw(f, o), V = !0), re;
17414
+ }, m = n, Se = m.implementation, Pe = m.createNodeIterator, b = m.createDocumentFragment, Te = m.getElementsByTagName, me = r.importNode;
17427
17415
  let j = ha();
17428
- t.isSupported = typeof Hu == "function" && typeof w == "function" && ve && ve.createHTMLDocument !== void 0;
17429
- const Je = vw, $e = Cw, ce = Aw, it = Ew, lt = Tw, qt = qw, _t = _w, It = Rw;
17416
+ t.isSupported = typeof Hu == "function" && typeof w == "function" && Se && Se.createHTMLDocument !== void 0;
17417
+ const Je = kw, $e = Sw, ce = vw, it = Cw, lt = Aw, qt = Ew, _t = Tw, It = _w;
17430
17418
  let vn = fa, fe = null;
17431
17419
  const on = ue({}, [
17432
17420
  ...aa,
@@ -17476,7 +17464,7 @@ function Gu() {
17476
17464
  value: null
17477
17465
  }
17478
17466
  }));
17479
- let er = !0, Cn = !0, A = !1, O = !0, G = !1, Q = !0, le = !1, De = !1, Qe = null, ze = null, xt = !1, Ze = !1, Ce = !1, at = !1, et = !0, Ei = !1;
17467
+ let er = !0, Cn = !0, A = !1, M = !0, G = !1, Q = !0, le = !1, De = !1, Qe = null, ze = null, yt = !1, Ze = !1, ve = !1, at = !1, et = !0, Ei = !1;
17480
17468
  const Ti = "user-content-";
17481
17469
  let Lr = !0, Pr = !1, Vt = null, an = {}, $t = null;
17482
17470
  const qi = ue({}, [
@@ -17533,20 +17521,20 @@ function Gu() {
17533
17521
  "style",
17534
17522
  "xmlns"
17535
17523
  ]), tr = "http://www.w3.org/1998/Math/MathML", nr = "http://www.w3.org/2000/svg", pt = "http://www.w3.org/1999/xhtml";
17536
- let sn = pt, Dr = !1, Or = null;
17524
+ let sn = pt, Dr = !1, Mr = null;
17537
17525
  const rc = ue({}, [
17538
17526
  tr,
17539
17527
  nr,
17540
17528
  pt
17541
- ], bo), Li = Ae([
17529
+ ], bo), Li = Ce([
17542
17530
  "mi",
17543
17531
  "mo",
17544
17532
  "mn",
17545
17533
  "ms",
17546
17534
  "mtext"
17547
17535
  ]);
17548
- let Mr = ue({}, Li);
17549
- const Pi = Ae(["annotation-xml"]);
17536
+ let Or = ue({}, Li);
17537
+ const Pi = Ce(["annotation-xml"]);
17550
17538
  let zr = ue({}, Pi);
17551
17539
  const oc = ue({}, [
17552
17540
  "title",
@@ -17563,50 +17551,50 @@ function Gu() {
17563
17551
  }, Fr = function() {
17564
17552
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
17565
17553
  if (un && un === h) return;
17566
- (!h || typeof h != "object") && (h = {}), h = Ye(h), An = ic.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? lc : h.PARSER_MEDIA_TYPE, be = An === "application/xhtml+xml" ? bo : Kt, fe = Dt(h, "ALLOWED_TAGS", on, { transform: be }), he = Dt(h, "ALLOWED_ATTR", ln, { transform: be }), Or = Dt(h, "ALLOWED_NAMESPACES", rc, { transform: bo }), Ri = Dt(h, "ADD_URI_SAFE_ATTR", Ni, {
17554
+ (!h || typeof h != "object") && (h = {}), h = Ye(h), An = ic.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? lc : h.PARSER_MEDIA_TYPE, be = An === "application/xhtml+xml" ? bo : Kt, fe = Dt(h, "ALLOWED_TAGS", on, { transform: be }), he = Dt(h, "ALLOWED_ATTR", ln, { transform: be }), Mr = Dt(h, "ALLOWED_NAMESPACES", rc, { transform: bo }), Ri = Dt(h, "ADD_URI_SAFE_ATTR", Ni, {
17567
17555
  transform: be,
17568
17556
  base: Ni
17569
17557
  }), _i = Dt(h, "ADD_DATA_URI_TAGS", Ii, {
17570
17558
  transform: be,
17571
17559
  base: Ii
17572
- }), $t = Dt(h, "FORBID_CONTENTS", qi, { transform: be }), jt = Dt(h, "FORBID_TAGS", Ye({}), { transform: be }), Zn = Dt(h, "FORBID_ATTR", Ye({}), { transform: be }), an = He(h, "USE_PROFILES") ? h.USE_PROFILES && typeof h.USE_PROFILES == "object" ? Ye(h.USE_PROFILES) : h.USE_PROFILES : !1, er = h.ALLOW_ARIA_ATTR !== !1, Cn = h.ALLOW_DATA_ATTR !== !1, A = h.ALLOW_UNKNOWN_PROTOCOLS || !1, O = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, G = h.SAFE_FOR_TEMPLATES || !1, Q = h.SAFE_FOR_XML !== !1, le = h.WHOLE_DOCUMENT || !1, Ze = h.RETURN_DOM || !1, Ce = h.RETURN_DOM_FRAGMENT || !1, at = h.RETURN_TRUSTED_TYPE || !1, xt = h.FORCE_BODY || !1, et = h.SANITIZE_DOM !== !1, Ei = h.SANITIZE_NAMED_PROPS || !1, Lr = h.KEEP_CONTENT !== !1, Pr = h.IN_PLACE || !1, vn = ww(h.ALLOWED_URI_REGEXP) ? h.ALLOWED_URI_REGEXP : fa, sn = typeof h.NAMESPACE == "string" ? h.NAMESPACE : pt, Mr = vo(h, "MATHML_TEXT_INTEGRATION_POINTS", () => ue({}, Li)), zr = vo(h, "HTML_INTEGRATION_POINTS", () => ue({}, Pi));
17560
+ }), $t = Dt(h, "FORBID_CONTENTS", qi, { transform: be }), jt = Dt(h, "FORBID_TAGS", Ye({}), { transform: be }), Zn = Dt(h, "FORBID_ATTR", Ye({}), { transform: be }), an = He(h, "USE_PROFILES") ? h.USE_PROFILES && typeof h.USE_PROFILES == "object" ? Ye(h.USE_PROFILES) : h.USE_PROFILES : !1, er = h.ALLOW_ARIA_ATTR !== !1, Cn = h.ALLOW_DATA_ATTR !== !1, A = h.ALLOW_UNKNOWN_PROTOCOLS || !1, M = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, G = h.SAFE_FOR_TEMPLATES || !1, Q = h.SAFE_FOR_XML !== !1, le = h.WHOLE_DOCUMENT || !1, Ze = h.RETURN_DOM || !1, ve = h.RETURN_DOM_FRAGMENT || !1, at = h.RETURN_TRUSTED_TYPE || !1, yt = h.FORCE_BODY || !1, et = h.SANITIZE_DOM !== !1, Ei = h.SANITIZE_NAMED_PROPS || !1, Lr = h.KEEP_CONTENT !== !1, Pr = h.IN_PLACE || !1, vn = yw(h.ALLOWED_URI_REGEXP) ? h.ALLOWED_URI_REGEXP : fa, sn = typeof h.NAMESPACE == "string" ? h.NAMESPACE : pt, Or = vo(h, "MATHML_TEXT_INTEGRATION_POINTS", () => ue({}, Li)), zr = vo(h, "HTML_INTEGRATION_POINTS", () => ue({}, Pi));
17573
17561
  const y = vo(h, "CUSTOM_ELEMENT_HANDLING", () => bn(null));
17574
- if (We = bn(null), He(y, "tagNameCheck") && Di(y.tagNameCheck) && (We.tagNameCheck = y.tagNameCheck), He(y, "attributeNameCheck") && Di(y.attributeNameCheck) && (We.attributeNameCheck = y.attributeNameCheck), He(y, "allowCustomizedBuiltInElements") && typeof y.allowCustomizedBuiltInElements == "boolean" && (We.allowCustomizedBuiltInElements = y.allowCustomizedBuiltInElements), _e(We), G && (Cn = !1), Ce && (Ze = !0), an && (fe = ue({}, sa), he = bn(null), an.html === !0 && (ue(fe, aa), ue(he, ua)), an.svg === !0 && (ue(fe, yo), ue(he, ko), ue(he, mr)), an.svgFilters === !0 && (ue(fe, xo), ue(he, ko), ue(he, mr)), an.mathMl === !0 && (ue(fe, wo), ue(he, ca), ue(he, mr))), ft.tagCheck = null, ft.attributeCheck = null, He(h, "ADD_TAGS") && (typeof h.ADD_TAGS == "function" ? ft.tagCheck = h.ADD_TAGS : yn(h.ADD_TAGS) && (fe === on && (fe = Ye(fe)), ue(fe, h.ADD_TAGS, be))), He(h, "ADD_ATTR") && (typeof h.ADD_ATTR == "function" ? ft.attributeCheck = h.ADD_ATTR : yn(h.ADD_ATTR) && (he === ln && (he = Ye(he)), ue(he, h.ADD_ATTR, be))), He(h, "ADD_FORBID_CONTENTS") && yn(h.ADD_FORBID_CONTENTS) && ($t === qi && ($t = Ye($t)), ue($t, h.ADD_FORBID_CONTENTS, be)), Lr && (fe["#text"] = !0), le && ue(fe, [
17562
+ if (We = bn(null), He(y, "tagNameCheck") && Di(y.tagNameCheck) && (We.tagNameCheck = y.tagNameCheck), He(y, "attributeNameCheck") && Di(y.attributeNameCheck) && (We.attributeNameCheck = y.attributeNameCheck), He(y, "allowCustomizedBuiltInElements") && typeof y.allowCustomizedBuiltInElements == "boolean" && (We.allowCustomizedBuiltInElements = y.allowCustomizedBuiltInElements), _e(We), G && (Cn = !1), ve && (Ze = !0), an && (fe = ue({}, sa), he = bn(null), an.html === !0 && (ue(fe, aa), ue(he, ua)), an.svg === !0 && (ue(fe, yo), ue(he, ko), ue(he, mr)), an.svgFilters === !0 && (ue(fe, xo), ue(he, ko), ue(he, mr)), an.mathMl === !0 && (ue(fe, wo), ue(he, ca), ue(he, mr))), ft.tagCheck = null, ft.attributeCheck = null, He(h, "ADD_TAGS") && (typeof h.ADD_TAGS == "function" ? ft.tagCheck = h.ADD_TAGS : yn(h.ADD_TAGS) && (fe === on && (fe = Ye(fe)), ue(fe, h.ADD_TAGS, be))), He(h, "ADD_ATTR") && (typeof h.ADD_ATTR == "function" ? ft.attributeCheck = h.ADD_ATTR : yn(h.ADD_ATTR) && (he === ln && (he = Ye(he)), ue(he, h.ADD_ATTR, be))), He(h, "ADD_FORBID_CONTENTS") && yn(h.ADD_FORBID_CONTENTS) && ($t === qi && ($t = Ye($t)), ue($t, h.ADD_FORBID_CONTENTS, be)), Lr && (fe["#text"] = !0), le && ue(fe, [
17575
17563
  "html",
17576
17564
  "head",
17577
17565
  "body"
17578
17566
  ]), fe.table && (ue(fe, ["tbody"]), delete jt.tbody), h.TRUSTED_TYPES_POLICY) {
17579
- if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function") throw St('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
17580
- if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw St('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
17567
+ if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function") throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
17568
+ if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
17581
17569
  const T = P;
17582
17570
  P = h.TRUSTED_TYPES_POLICY;
17583
17571
  try {
17584
- F = ae("");
17572
+ z = ae("");
17585
17573
  } catch (q) {
17586
17574
  throw P = T, q;
17587
17575
  }
17588
- } else h.TRUSTED_TYPES_POLICY === null ? (P = void 0, F = "") : (P === void 0 && (P = Le()), P && typeof F == "string" && (F = ae("")));
17589
- Ae && Ae(h), un = h;
17590
- }, Oi = ue({}, [
17576
+ } else h.TRUSTED_TYPES_POLICY === null ? (P = void 0, z = "") : (P === void 0 && (P = Le()), P && typeof z == "string" && (z = ae("")));
17577
+ Ce && Ce(h), un = h;
17578
+ }, Mi = ue({}, [
17591
17579
  ...yo,
17592
17580
  ...xo,
17593
- ...kw
17594
- ]), Mi = ue({}, [...wo, ...Sw]), sc = function(h, y, T) {
17595
- return y.namespaceURI === pt ? h === "svg" : y.namespaceURI === tr ? h === "svg" && (T === "annotation-xml" || Mr[T]) : !!Oi[h];
17581
+ ...xw
17582
+ ]), Oi = ue({}, [...wo, ...ww]), sc = function(h, y, T) {
17583
+ return y.namespaceURI === pt ? h === "svg" : y.namespaceURI === tr ? h === "svg" && (T === "annotation-xml" || Or[T]) : !!Mi[h];
17596
17584
  }, uc = function(h, y, T) {
17597
- return y.namespaceURI === pt ? h === "math" : y.namespaceURI === nr ? h === "math" && zr[T] : !!Mi[h];
17585
+ return y.namespaceURI === pt ? h === "math" : y.namespaceURI === nr ? h === "math" && zr[T] : !!Oi[h];
17598
17586
  }, cc = function(h, y, T) {
17599
- return y.namespaceURI === nr && !zr[T] || y.namespaceURI === tr && !Mr[T] ? !1 : !Mi[h] && (oc[h] || !Oi[h]);
17587
+ return y.namespaceURI === nr && !zr[T] || y.namespaceURI === tr && !Or[T] ? !1 : !Oi[h] && (oc[h] || !Mi[h]);
17600
17588
  }, fc = function(h) {
17601
17589
  const y = S(h), T = Kt(N(h)), q = w(h);
17602
17590
  let $, X;
17603
- return q && B(q) === ye.element ? ($ = { namespaceURI: S(q) }, X = Kt(N(q))) : ($ = { namespaceURI: sn }, X = "template"), Or[y] ? y === nr ? sc(T, $, X) : y === tr ? uc(T, $, X) : y === pt ? cc(T, $, X) : !!(An === "application/xhtml+xml" && Or[y]) : !1;
17591
+ return q && B(q) === ye.element ? ($ = { namespaceURI: S(q) }, X = Kt(N(q))) : ($ = { namespaceURI: sn }, X = "template"), Mr[y] ? y === nr ? sc(T, $, X) : y === tr ? uc(T, $, X) : y === pt ? cc(T, $, X) : !!(An === "application/xhtml+xml" && Mr[y]) : !1;
17604
17592
  }, Rt = function(h) {
17605
17593
  Pn(t.removed, { element: h });
17606
17594
  try {
17607
17595
  w(h).removeChild(h);
17608
17596
  } catch {
17609
- if (p(h), !w(h)) throw St("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
17597
+ if (p(h), !w(h)) throw kt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
17610
17598
  }
17611
17599
  }, zi = function(h, y, T) {
17612
17600
  try {
@@ -17620,7 +17608,7 @@ function Gu() {
17620
17608
  }, Br = function(h) {
17621
17609
  Hr(h);
17622
17610
  const y = v(h);
17623
- y && kt(pw(y), (q) => {
17611
+ y && wt(cw(y), (q) => {
17624
17612
  try {
17625
17613
  p(q);
17626
17614
  } catch {
@@ -17650,7 +17638,7 @@ function Gu() {
17650
17638
  }
17651
17639
  }
17652
17640
  if (h === "is")
17653
- if (Ze || Ce) try {
17641
+ if (Ze || ve) try {
17654
17642
  Rt(y);
17655
17643
  } catch {
17656
17644
  }
@@ -17689,31 +17677,31 @@ function Gu() {
17689
17677
  }, !0), y;
17690
17678
  }, pc = function(h, y) {
17691
17679
  const T = mo();
17692
- kt(jr(h), (q) => {
17680
+ wt(jr(h), (q) => {
17693
17681
  B(q) === ye.element && go(T, q);
17694
- }), kt(y, (q) => {
17682
+ }), wt(y, (q) => {
17695
17683
  B(q) === ye.element && !Dn(T, q) && Fi(q);
17696
17684
  });
17697
17685
  }, Bi = function(h, y) {
17698
17686
  let T = !1;
17699
- return kt(t.removed, (q) => {
17687
+ return wt(t.removed, (q) => {
17700
17688
  q.element && (T = T || q.element === h, Hr(q.element));
17701
17689
  }), pc(h, y), T;
17702
17690
  }, dc = 8, hc = function(h, y) {
17703
17691
  const T = Vt;
17704
17692
  let q = null;
17705
- const $ = () => (q || (q = mo(), kt(y, (X) => {
17693
+ const $ = () => (q || (q = mo(), wt(y, (X) => {
17706
17694
  go(q, X);
17707
17695
  })), q);
17708
17696
  for (let X = 0; ; X++) {
17709
17697
  const ne = jr(h), we = [h];
17710
17698
  let dt = !1;
17711
- if (kt(ne, (Oe) => {
17712
- B(Oe) === ye.documentFragment ? Pn(we, Oe) : !dt && !Dn(T, Oe) && (dt = Dn($(), Oe));
17699
+ if (wt(ne, (Me) => {
17700
+ B(Me) === ye.documentFragment ? Pn(we, Me) : !dt && !Dn(T, Me) && (dt = Dn($(), Me));
17713
17701
  }), !dt) return;
17714
- if (X >= dc) throw St("the tree kept changing during in-place sanitization; refusing to return it");
17715
- kt(we, (Oe, Fe) => {
17716
- mc(Oe, Fe > 0, h, $());
17702
+ if (X >= dc) throw kt("the tree kept changing during in-place sanitization; refusing to return it");
17703
+ wt(we, (Me, Fe) => {
17704
+ mc(Me, Fe > 0, h, $());
17717
17705
  });
17718
17706
  }
17719
17707
  }, mc = function(h, y, T, q) {
@@ -17746,7 +17734,7 @@ function Gu() {
17746
17734
  });
17747
17735
  }, Hi = function(h) {
17748
17736
  let y = null, T = null;
17749
- if (xt) h = "<remove></remove>" + h;
17737
+ if (yt) h = "<remove></remove>" + h;
17750
17738
  else {
17751
17739
  const X = ra(h, /^[\r\n\t ]+/);
17752
17740
  T = X && X[0];
@@ -17758,9 +17746,9 @@ function Gu() {
17758
17746
  } catch {
17759
17747
  }
17760
17748
  if (!y || !y.documentElement) {
17761
- y = ve.createDocument(sn, "template", null);
17749
+ y = Se.createDocument(sn, "template", null);
17762
17750
  try {
17763
- y.documentElement.innerHTML = Dr ? F : q;
17751
+ y.documentElement.innerHTML = Dr ? z : q;
17764
17752
  } catch {
17765
17753
  }
17766
17754
  }
@@ -17770,12 +17758,12 @@ function Gu() {
17770
17758
  const y = C ? C(h) : h.ownerDocument;
17771
17759
  return Pe.call(y || h, h, s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION, null);
17772
17760
  }, rr = function(h) {
17773
- return h = On(h, Je, " "), h = On(h, $e, " "), h = On(h, ce, " "), h;
17761
+ return h = Mn(h, Je, " "), h = Mn(h, $e, " "), h = Mn(h, ce, " "), h;
17774
17762
  }, $r = function(h) {
17775
17763
  var y;
17776
17764
  ji(h);
17777
17765
  const T = (y = h.querySelectorAll) === null || y === void 0 ? void 0 : y.call(h, "template");
17778
- T && kt(T, (q) => {
17766
+ T && wt(T, (q) => {
17779
17767
  Nt(q.content) && $r(q.content);
17780
17768
  });
17781
17769
  }, ji = function(h) {
@@ -17785,30 +17773,30 @@ function Gu() {
17785
17773
  for (; q; )
17786
17774
  q.data = rr(q.data), q = T.nextNode();
17787
17775
  }, or = function(h) {
17788
- const y = M ? M(h) : null;
17789
- return typeof y != "string" || be(y) !== "form" ? !1 : typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || h.attributes !== _(h) || typeof h.removeAttribute != "function" || typeof h.removeAttributeNode != "function" || typeof h.getAttributeNode != "function" || typeof h.setAttribute != "function" || typeof h.namespaceURI != "string" || typeof h.insertBefore != "function" || typeof h.hasChildNodes != "function" || h.nodeType !== z(h) || h.childNodes !== v(h);
17776
+ const y = F ? F(h) : null;
17777
+ return typeof y != "string" || be(y) !== "form" ? !1 : typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || h.attributes !== _(h) || typeof h.removeAttribute != "function" || typeof h.removeAttributeNode != "function" || typeof h.getAttributeNode != "function" || typeof h.setAttribute != "function" || typeof h.namespaceURI != "string" || typeof h.insertBefore != "function" || typeof h.hasChildNodes != "function" || h.nodeType !== O(h) || h.childNodes !== v(h);
17790
17778
  }, Nt = function(h) {
17791
- if (!z || typeof h != "object" || h === null) return !1;
17779
+ if (!O || typeof h != "object" || h === null) return !1;
17792
17780
  try {
17793
- return z(h) === ye.documentFragment;
17781
+ return O(h) === ye.documentFragment;
17794
17782
  } catch {
17795
17783
  return !1;
17796
17784
  }
17797
17785
  }, En = function(h) {
17798
- if (!z || typeof h != "object" || h === null) return !1;
17786
+ if (!O || typeof h != "object" || h === null) return !1;
17799
17787
  try {
17800
- return typeof z(h) == "number";
17788
+ return typeof O(h) == "number";
17801
17789
  } catch {
17802
17790
  return !1;
17803
17791
  }
17804
17792
  };
17805
17793
  function st(I, h, y) {
17806
- I.length !== 0 && kt(I, (T) => {
17794
+ I.length !== 0 && wt(I, (T) => {
17807
17795
  T.call(t, h, y, un);
17808
17796
  });
17809
17797
  }
17810
17798
  const yc = function(h, y) {
17811
- return !!(Q && h.hasChildNodes() && !En(h.firstElementChild) && qe(So, h.textContent) && qe(So, h.innerHTML) || Q && Lw[y] && B(h) === ye.element && S(h) === pt && (En(h.firstElementChild) || typeof h.textContent == "string" && qe(So, h.textContent)) || h.nodeType === ye.processingInstruction || Q && h.nodeType === ye.comment && qe(pa, h.data));
17799
+ return !!(Q && h.hasChildNodes() && !En(h.firstElementChild) && qe(So, h.textContent) && qe(So, h.innerHTML) || Q && Rw[y] && B(h) === ye.element && S(h) === pt && (En(h.firstElementChild) || typeof h.textContent == "string" && qe(So, h.textContent)) || h.nodeType === ye.processingInstruction || Q && h.nodeType === ye.comment && qe(pa, h.data));
17812
17800
  }, ir = function(h, y) {
17813
17801
  if (h instanceof RegExp) return qe(h, y);
17814
17802
  if (h instanceof Function) {
@@ -17848,7 +17836,7 @@ function Gu() {
17848
17836
  const q = xc(h, T, y);
17849
17837
  return q === !1 && (st(j.afterSanitizeElements, h, null), fn(h, y)) ? !0 : q;
17850
17838
  }
17851
- if (B(h) === ye.element && !fc(h) || (T === "noscript" || T === "noembed" || T === "noframes") && qe(Nw, h.innerHTML))
17839
+ if (B(h) === ye.element && !fc(h) || (T === "noscript" || T === "noembed" || T === "noframes") && qe(Iw, h.innerHTML))
17852
17840
  return Rt(h), !0;
17853
17841
  if (G && h.nodeType === ye.text) {
17854
17842
  const q = rr(h.textContent);
@@ -17858,7 +17846,7 @@ function Gu() {
17858
17846
  }, $i = function(h, y, T) {
17859
17847
  if (Zn[y] || Ui(y, h) || et && (y === "id" || y === "name") && (T in n || T in ac)) return !1;
17860
17848
  const q = he[y] || ft.attributeCheck instanceof Function && ft.attributeCheck(y, h);
17861
- return Cn && qe(it, y) || er && qe(lt, y) ? !0 : q ? Ri[y] || qe(vn, On(T, _t, "")) || (y === "src" || y === "xlink:href" || y === "href") && h !== "script" && oa(T, "data:") === 0 && _i[h] || A && !qe(qt, On(T, _t, "")) ? !0 : !T : Wi(h) && ir(We.tagNameCheck, h) && ir(We.attributeNameCheck, y, h) || y === "is" && We.allowCustomizedBuiltInElements && ir(We.tagNameCheck, T);
17849
+ return Cn && qe(it, y) || er && qe(lt, y) ? !0 : q ? Ri[y] || qe(vn, Mn(T, _t, "")) || (y === "src" || y === "xlink:href" || y === "href") && h !== "script" && oa(T, "data:") === 0 && _i[h] || A && !qe(qt, Mn(T, _t, "")) ? !0 : !T : Wi(h) && ir(We.tagNameCheck, h) && ir(We.attributeNameCheck, y, h) || y === "is" && We.allowCustomizedBuiltInElements && ir(We.tagNameCheck, T);
17862
17850
  }, wc = ue({}, [
17863
17851
  "annotation-xml",
17864
17852
  "color-profile",
@@ -17901,8 +17889,8 @@ function Gu() {
17901
17889
  let $ = T.length;
17902
17890
  const X = be(h.nodeName);
17903
17891
  for (; $--; ) {
17904
- const ne = T[$], we = ne.name, dt = ne.namespaceURI, Oe = ne.value, Fe = be(we), pn = Oe;
17905
- let Be = we === "value" ? pn : hw(pn), Yi = !1;
17892
+ const ne = T[$], we = ne.name, dt = ne.namespaceURI, Me = ne.value, Fe = be(we), pn = Me;
17893
+ let Be = we === "value" ? pn : pw(pn), Yi = !1;
17906
17894
  if (q.attrName = Fe, q.attrValue = Be, q.keepAttr = !0, q.forceKeepAttr = void 0, st(j.uponSanitizeAttribute, h, q), Be = q.attrValue, Ei && (Fe === "id" || Fe === "name") && oa(Be, Ti) !== 0 && (cn(we, h, ne), Be = Ti + Be, Yi = !0), Gi(we, Be)) {
17907
17895
  cn(we, h, ne);
17908
17896
  continue;
@@ -17912,7 +17900,7 @@ function Gu() {
17912
17900
  cn(we, h, ne);
17913
17901
  continue;
17914
17902
  }
17915
- if (!O && qe(da, Be)) {
17903
+ if (!M && qe(da, Be)) {
17916
17904
  cn(we, h, ne);
17917
17905
  continue;
17918
17906
  }
@@ -17950,7 +17938,7 @@ function Gu() {
17950
17938
  shadow: null
17951
17939
  });
17952
17940
  if ($) {
17953
- const ne = M ? M(q) : null;
17941
+ const ne = F ? F(q) : null;
17954
17942
  if (typeof ne == "string" && be(ne) === "template") {
17955
17943
  const we = q.content;
17956
17944
  Nt(we) && y.push({
@@ -17973,8 +17961,8 @@ function Gu() {
17973
17961
  };
17974
17962
  return t.sanitize = function(I) {
17975
17963
  let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = null, T = null, q = null, $ = null;
17976
- if (Dr = !I, Dr && (I = "<!-->"), typeof I != "string" && !En(I) && (I = yw(I), typeof I != "string"))
17977
- throw St("dirty is not a string, aborting");
17964
+ if (Dr = !I, Dr && (I = "<!-->"), typeof I != "string" && !En(I) && (I = gw(I), typeof I != "string"))
17965
+ throw kt("dirty is not a string, aborting");
17978
17966
  if (!t.isSupported) return I;
17979
17967
  De ? (fe = Qe, he = ze) : Fr(h), (j.uponSanitizeElement.length > 0 || j.uponSanitizeAttribute.length > 0) && (fe = Ye(fe)), j.uponSanitizeAttribute.length > 0 && (he = Ye(he)), t.removed = [];
17980
17968
  const X = Pr && typeof I != "string" && En(I);
@@ -17986,18 +17974,18 @@ function Gu() {
17986
17974
  if (typeof Fe == "string") {
17987
17975
  const pn = be(Fe);
17988
17976
  if (!fe[pn] || jt[pn])
17989
- throw Br(I), St("root node is forbidden and cannot be sanitized in-place");
17977
+ throw Br(I), kt("root node is forbidden and cannot be sanitized in-place");
17990
17978
  }
17991
17979
  if (or(I))
17992
- throw Br(I), St("root node is clobbered and cannot be sanitized in-place");
17980
+ throw Br(I), kt("root node is clobbered and cannot be sanitized in-place");
17993
17981
  ne = jr(I), Vt = mo();
17994
17982
  } else if (En(I))
17995
17983
  y = Hi("<!---->"), T = y.ownerDocument.importNode(I, !0), T.nodeType === ye.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? y = T : y.appendChild(T), Yr(y);
17996
17984
  else {
17997
17985
  if (!Ze && !G && !le && I.indexOf("<") === -1) return P && at ? ae(I) : I;
17998
- if (y = Hi(I), !y) return Ze ? null : at ? F : "";
17986
+ if (y = Hi(I), !y) return Ze ? null : at ? z : "";
17999
17987
  }
18000
- y && xt && Rt(y.firstChild);
17988
+ y && yt && Rt(y.firstChild);
18001
17989
  const dt = X ? I : y;
18002
17990
  try {
18003
17991
  X && Yr(I);
@@ -18011,34 +17999,34 @@ function Gu() {
18011
17999
  Vt = we;
18012
18000
  }
18013
18001
  if (X) {
18014
- if (Bi(I, ne)) throw St("a node selected for removal could not be safely returned; refusing to sanitize in place");
18002
+ if (Bi(I, ne)) throw kt("a node selected for removal could not be safely returned; refusing to sanitize in place");
18015
18003
  return G && $r(I), I;
18016
18004
  }
18017
18005
  if (Ze) {
18018
- if (G && $r(y), Ce)
18006
+ if (G && $r(y), ve)
18019
18007
  for ($ = b.call(y.ownerDocument); y.firstChild; ) $.appendChild(y.firstChild);
18020
18008
  else $ = y;
18021
18009
  return (he.shadowroot || he.shadowrootmode) && ($ = me.call(r, $, !0)), $;
18022
18010
  }
18023
- let Oe = le ? y.outerHTML : y.innerHTML;
18024
- return le && fe["!doctype"] && y.ownerDocument && y.ownerDocument.doctype && y.ownerDocument.doctype.name && qe(Iw, y.ownerDocument.doctype.name) && (Oe = "<!DOCTYPE " + y.ownerDocument.doctype.name + `>
18025
- ` + Oe), G && (Oe = rr(Oe)), P && at ? ae(Oe) : Oe;
18011
+ let Me = le ? y.outerHTML : y.innerHTML;
18012
+ return le && fe["!doctype"] && y.ownerDocument && y.ownerDocument.doctype && y.ownerDocument.doctype.name && qe(qw, y.ownerDocument.doctype.name) && (Me = "<!DOCTYPE " + y.ownerDocument.doctype.name + `>
18013
+ ` + Me), G && (Me = rr(Me)), P && at ? ae(Me) : Me;
18026
18014
  }, t.setConfig = function() {
18027
18015
  let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
18028
18016
  Fr(I), De = !0, Qe = fe, ze = he;
18029
18017
  }, t.clearConfig = function() {
18030
- un = null, De = !1, Qe = null, ze = null, P = re, F = "";
18018
+ un = null, De = !1, Qe = null, ze = null, P = re, z = "";
18031
18019
  }, t.isValidAttribute = function(I, h, y) {
18032
18020
  un || Fr({});
18033
18021
  const T = be(I), q = be(h);
18034
- return typeof y == "string" && (Gi(h, y) || !O && qe(da, y)) ? !1 : $i(T, q, y);
18022
+ return typeof y == "string" && (Gi(h, y) || !M && qe(da, y)) ? !1 : $i(T, q, y);
18035
18023
  }, t.addHook = function(I, h) {
18036
18024
  typeof h == "function" && He(j, I) && Pn(j[I], h);
18037
18025
  }, t.removeHook = function(I, h) {
18038
18026
  if (He(j, I)) {
18039
18027
  if (h !== void 0) {
18040
- const y = fw(j[I], h);
18041
- return y === -1 ? void 0 : dw(j[I], y, 1)[0];
18028
+ const y = uw(j[I], h);
18029
+ return y === -1 ? void 0 : fw(j[I], y, 1)[0];
18042
18030
  }
18043
18031
  return na(j[I]);
18044
18032
  }
@@ -18063,7 +18051,7 @@ const Yu = je(
18063
18051
  )
18064
18052
  );
18065
18053
  Yu.displayName = "Textarea";
18066
- function Ow({
18054
+ function Pw({
18067
18055
  isDisabled: e,
18068
18056
  onFiles: t
18069
18057
  }) {
@@ -18096,7 +18084,7 @@ function Ow({
18096
18084
  )
18097
18085
  ] });
18098
18086
  }
18099
- function Mw({
18087
+ function Dw({
18100
18088
  attachmentFiles: e,
18101
18089
  error: t,
18102
18090
  onRemove: n
@@ -18147,8 +18135,8 @@ function Mw({
18147
18135
  )
18148
18136
  ] });
18149
18137
  }
18150
- function zw(e) {
18151
- const [t, n] = Se([]), [r, o] = Se(null), l = e && t.length < Wn;
18138
+ function Mw(e) {
18139
+ const [t, n] = Ae([]), [r, o] = Ae(null), l = e && t.length < Wn;
18152
18140
  return {
18153
18141
  attachmentFiles: t,
18154
18142
  attachmentError: r,
@@ -18171,18 +18159,18 @@ function zw(e) {
18171
18159
  }
18172
18160
  };
18173
18161
  }
18174
- function Fw(e) {
18162
+ function Ow(e) {
18175
18163
  const t = Xe(e);
18176
- return bt(() => {
18164
+ return vt(() => {
18177
18165
  t.current = e;
18178
18166
  }), t;
18179
18167
  }
18180
- function Bw(e) {
18181
- const [t, n] = Se(!1), r = Fw(e), o = Xe(null), l = wa(
18168
+ function zw(e) {
18169
+ const [t, n] = Ae(!1), r = Ow(e), o = Xe(null), l = wa(
18182
18170
  (i) => {
18183
18171
  if (o.current?.abort(), o.current = null, !i) return;
18184
18172
  const a = new AbortController();
18185
- o.current = a, Uw(i.ownerDocument, a.signal, {
18173
+ o.current = a, Fw(i.ownerDocument, a.signal, {
18186
18174
  onDragChange: n,
18187
18175
  onFiles: (s) => r.current(s)
18188
18176
  });
@@ -18191,7 +18179,7 @@ function Bw(e) {
18191
18179
  );
18192
18180
  return { isDraggingFiles: t, listenForFiles: l };
18193
18181
  }
18194
- function Uw(e, t, { onDragChange: n, onFiles: r }) {
18182
+ function Fw(e, t, { onDragChange: n, onFiles: r }) {
18195
18183
  const o = { signal: t };
18196
18184
  let l = 0;
18197
18185
  e.addEventListener(
@@ -18221,7 +18209,7 @@ function Uw(e, t, { onDragChange: n, onFiles: r }) {
18221
18209
  ), e.addEventListener(
18222
18210
  "paste",
18223
18211
  (i) => {
18224
- const a = Hw(i);
18212
+ const a = Bw(i);
18225
18213
  a.length !== 0 && (i.preventDefault(), r(a));
18226
18214
  },
18227
18215
  o
@@ -18230,12 +18218,12 @@ function Uw(e, t, { onDragChange: n, onFiles: r }) {
18230
18218
  function gr(e) {
18231
18219
  return !!e.dataTransfer?.types.includes("Files");
18232
18220
  }
18233
- function Hw(e) {
18221
+ function Bw(e) {
18234
18222
  return Array.from(e.clipboardData?.files ?? []);
18235
18223
  }
18236
- const jw = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i;
18237
- function Vw(e) {
18238
- const t = jw.exec(e.trim());
18224
+ const Uw = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i;
18225
+ function Hw(e) {
18226
+ const t = Uw.exec(e.trim());
18239
18227
  if (!t) return null;
18240
18228
  let n = t[1];
18241
18229
  return n.length === 3 && (n = n.split("").map((r) => r + r).join("")), [
@@ -18244,7 +18232,7 @@ function Vw(e) {
18244
18232
  Number.parseInt(n.slice(4, 6), 16)
18245
18233
  ];
18246
18234
  }
18247
- function $w([e, t, n]) {
18235
+ function jw([e, t, n]) {
18248
18236
  const r = e / 255, o = t / 255, l = n / 255, i = Math.max(r, o, l), a = Math.min(r, o, l), s = i - a, u = (i + a) / 2;
18249
18237
  if (s === 0)
18250
18238
  return { hue: 0, saturation: 0, lightness: u };
@@ -18260,11 +18248,11 @@ function ma({ hue: e, saturation: t, lightness: n }) {
18260
18248
  n * 100
18261
18249
  )}%)`;
18262
18250
  }
18263
- function Ww(e) {
18264
- const t = e ? Vw(e) : null;
18251
+ function Vw(e) {
18252
+ const t = e ? Hw(e) : null;
18265
18253
  if (!t)
18266
18254
  return { strong: "hsl(0 0% 62%)", soft: "hsl(0 0% 82%)" };
18267
- const { hue: n, saturation: r, lightness: o } = $w(t), l = {
18255
+ const { hue: n, saturation: r, lightness: o } = jw(t), l = {
18268
18256
  hue: n,
18269
18257
  saturation: br(Math.max(r * 1.35, r + 0.25)),
18270
18258
  lightness: Math.min(br(o + 0.45), 0.95)
@@ -18275,7 +18263,7 @@ function Ww(e) {
18275
18263
  };
18276
18264
  return { strong: ma(l), soft: ma(i) };
18277
18265
  }
18278
- function Gw() {
18266
+ function $w() {
18279
18267
  const e = Xe(!1), t = Xe(0), n = Xe(0);
18280
18268
  return {
18281
18269
  onMouseDown: (a) => {
@@ -18297,18 +18285,18 @@ function Gw() {
18297
18285
  }
18298
18286
  };
18299
18287
  }
18300
- const Yw = 1100, ga = 4e3, Xw = 9e3;
18301
- function Kw(e) {
18302
- const [t, n] = Se(!1);
18303
- return bt(() => {
18288
+ const Ww = 1100, ga = 4e3, Gw = 9e3;
18289
+ function Yw(e) {
18290
+ const [t, n] = Ae(!1);
18291
+ return vt(() => {
18304
18292
  if (!e) return;
18305
18293
  let r, o = !1;
18306
18294
  const l = () => {
18307
- const i = ga + Math.random() * (Xw - ga);
18295
+ const i = ga + Math.random() * (Gw - ga);
18308
18296
  r = setTimeout(() => {
18309
18297
  o || (n(!0), r = setTimeout(() => {
18310
18298
  o || (n(!1), l());
18311
- }, Yw));
18299
+ }, Ww));
18312
18300
  }, i);
18313
18301
  };
18314
18302
  return l(), () => {
@@ -18316,8 +18304,8 @@ function Kw(e) {
18316
18304
  };
18317
18305
  }, [e]), t;
18318
18306
  }
18319
- function Jw() {
18320
- const [e, t] = Se(!1), n = Xe(null);
18307
+ function Xw() {
18308
+ const [e, t] = Ae(!1), n = Xe(null);
18321
18309
  return { scrollContainerRef: (o) => {
18322
18310
  if (n.current?.disconnect(), n.current = null, !o) return;
18323
18311
  const l = () => {
@@ -18331,12 +18319,12 @@ function Jw() {
18331
18319
  }
18332
18320
  }, hasOverflow: e };
18333
18321
  }
18334
- function Qw({ onSelect: e }) {
18335
- const t = nn(), n = ei(), r = Gw(), { scrollContainerRef: o, hasOverflow: l } = Jw(), i = !!t.messages?.some(
18322
+ function Kw({ onSelect: e }) {
18323
+ const t = nn(), n = ei(), r = $w(), { scrollContainerRef: o, hasOverflow: l } = Xw(), i = !!t.messages?.some(
18336
18324
  (k) => k.sender === "user"
18337
- ), a = t.suggestedMessageTexts ?? [], s = !!t.suggestedMessages && a.length > 0 && !i, u = !!t.hasSuggestedMessageAura && s, f = !!t.hasSuggestedMessageShine && s, c = Kw(f);
18325
+ ), a = t.suggestedMessageTexts ?? [], s = !!t.suggestedMessages && a.length > 0 && !i, u = !!t.hasSuggestedMessageAura && s, f = !!t.hasSuggestedMessageShine && s, c = Yw(f);
18338
18326
  if (!s) return null;
18339
- const d = u ? Ww(n.suggestedMessageBubbleColor || n.userBubbleColor) : null, p = n.suggestedMessageBubbleColor ? {
18327
+ const d = u ? Vw(n.suggestedMessageBubbleColor || n.userBubbleColor) : null, p = n.suggestedMessageBubbleColor ? {
18340
18328
  backgroundColor: n.suggestedMessageBubbleColor,
18341
18329
  color: n.suggestedMessageBubbleTextColor || Ai(n.suggestedMessageBubbleColor)
18342
18330
  } : void 0, g = (k, v = {
@@ -18427,7 +18415,7 @@ const ba = {
18427
18415
  5034: "Sorry we are unable to help right now, please try again later.",
18428
18416
  5001: "We are currently facing technical difficulties. Please try again later.",
18429
18417
  DEFAULT: "Something went wrong. Please try again later."
18430
- }, Zw = (e) => ba[e] || ba.DEFAULT, ek = Ar({
18418
+ }, Jw = (e) => ba[e] || ba.DEFAULT, Qw = Ar({
18431
18419
  error: null,
18432
18420
  hideSdk: !1,
18433
18421
  publishApiError: () => {
@@ -18438,13 +18426,13 @@ const ba = {
18438
18426
  },
18439
18427
  clearError: () => {
18440
18428
  }
18441
- }), tk = () => {
18442
- const e = Er(ek);
18429
+ }), Zw = () => {
18430
+ const e = Er(Qw);
18443
18431
  if (e === void 0)
18444
18432
  throw new Error("useError must be used within an ErrorProvider");
18445
18433
  return e;
18446
- }, Rk = (e) => (t) => {
18447
- const n = t instanceof Jt ? t.response?.errors?.[0] : void 0, r = Number(n?.error_code), o = Zw(r);
18434
+ }, _k = (e) => (t) => {
18435
+ const n = t instanceof Jt ? t.response?.errors?.[0] : void 0, r = Number(n?.error_code), o = Jw(r);
18448
18436
  e({ code: r, message: o });
18449
18437
  }, ya = {
18450
18438
  warning: {
@@ -18475,7 +18463,7 @@ const ba = {
18475
18463
  iconColor: "eloq:text-green-500 eloq:dark:text-green-400",
18476
18464
  icon: Nf
18477
18465
  }
18478
- }, nk = ({ message: e, type: t }) => {
18466
+ }, ek = ({ message: e, type: t }) => {
18479
18467
  const n = ya[t] || ya.warning, r = n.icon;
18480
18468
  return /* @__PURE__ */ Z(
18481
18469
  "div",
@@ -18491,24 +18479,24 @@ const ba = {
18491
18479
  Cr.isSupported && Cr.addHook("afterSanitizeAttributes", (e) => {
18492
18480
  e.tagName === "A" && (e.setAttribute("rel", "noopener noreferrer"), e.hasAttribute("target") && e.setAttribute("target", "_blank"));
18493
18481
  });
18494
- const rk = "eloq:bg-card eloq:rounded-3xl eloq:shadow-[0_0_4px_0_rgba(0,0,0,0.20)] eloq:dark:shadow-none eloq:dark:border eloq:dark:border-border", ok = "eloq:w-full eloq:rounded-t-2xl eloq:bg-cream eloq:border-t eloq:border-x eloq:border-border eloq:px-5 eloq:pt-5 eloq:pb-4 eloq:shadow-[0_-8px_24px_rgba(0,0,0,0.08)] eloq:dark:shadow-none", ik = "eloq:flex eloq:items-center eloq:justify-between eloq:w-[70%] eloq:m-auto eloq:rounded-full eloq:py-2 eloq:pl-4 eloq:pr-2 eloq:text-sm eloq:font-semibold eloq:transition-opacity eloq:hover:opacity-90 eloq:focus-visible:outline-none eloq:focus-visible:ring-2 eloq:focus-visible:ring-primary eloq:focus-visible:ring-offset-2", lk = "eloq:bg-cream", ak = "eloq:bg-muted-foreground eloq:dark:bg-muted eloq:dark:text-muted-foreground/50";
18495
- function sk() {
18496
- const [e, t] = Se(!1);
18497
- return bt(() => {
18482
+ const tk = "eloq:bg-card eloq:rounded-3xl eloq:shadow-[0_0_4px_0_rgba(0,0,0,0.20)] eloq:dark:shadow-none eloq:dark:border eloq:dark:border-border", nk = "eloq:w-full eloq:rounded-t-2xl eloq:bg-cream eloq:border-t eloq:border-x eloq:border-border eloq:px-5 eloq:pt-5 eloq:pb-4 eloq:shadow-[0_-8px_24px_rgba(0,0,0,0.08)] eloq:dark:shadow-none", rk = "eloq:flex eloq:items-center eloq:justify-between eloq:w-[70%] eloq:m-auto eloq:rounded-full eloq:py-2 eloq:pl-4 eloq:pr-2 eloq:text-sm eloq:font-semibold eloq:transition-opacity eloq:hover:opacity-90 eloq:focus-visible:outline-none eloq:focus-visible:ring-2 eloq:focus-visible:ring-primary eloq:focus-visible:ring-offset-2", ok = "eloq:bg-cream", ik = "eloq:bg-muted-foreground eloq:dark:bg-muted eloq:dark:text-muted-foreground/50";
18483
+ function lk() {
18484
+ const [e, t] = Ae(!1);
18485
+ return vt(() => {
18498
18486
  t(!0);
18499
18487
  }, []), e && Cr.isSupported;
18500
18488
  }
18501
- function uk() {
18502
- const { error: e } = tk(), t = !!e, n = nn(), r = Xe(null), [o, l] = Se(""), i = ei(), a = !!n.messages?.some((z) => z.isRatingRequest), s = n.keyboardInset ?? 0, u = sk(), f = !!n.hasAttachments, c = t || a, d = zw(
18489
+ function ak() {
18490
+ const { error: e } = Zw(), t = !!e, n = nn(), r = Xe(null), [o, l] = Ae(""), i = ei(), a = !!n.messages?.some((O) => O.isRatingRequest), s = n.keyboardInset ?? 0, u = lk(), f = !!n.hasAttachments, c = t || a, d = Mw(
18503
18491
  f && !c
18504
- ), p = Bw(d.addFiles), g = !!o.trim() || d.attachmentFiles.length > 0, k = i.userBubbleTextColor || Ai(i.userBubbleColor), v = () => g && !c ? {
18492
+ ), p = zw(d.addFiles), g = !!o.trim() || d.attachmentFiles.length > 0, k = i.userBubbleTextColor || Ai(i.userBubbleColor), v = () => g && !c ? {
18505
18493
  backgroundColor: i.userBubbleColor,
18506
18494
  color: k
18507
- } : {}, w = (z) => {
18508
- l(z), r.current && r.current.focus();
18509
- }, E = async (z) => {
18510
- z.preventDefault();
18511
- const M = o.trim();
18495
+ } : {}, w = (O) => {
18496
+ l(O), r.current && r.current.focus();
18497
+ }, E = async (O) => {
18498
+ O.preventDefault();
18499
+ const F = o.trim();
18512
18500
  if (!g || c) return;
18513
18501
  l("");
18514
18502
  const C = d.takeFiles();
@@ -18516,7 +18504,7 @@ function uk() {
18516
18504
  if (await n.onSendMessage?.(
18517
18505
  {
18518
18506
  id: crypto.randomUUID(),
18519
- content: M,
18507
+ content: F,
18520
18508
  sender: "user",
18521
18509
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
18522
18510
  },
@@ -18528,12 +18516,12 @@ function uk() {
18528
18516
  B.style.height = `${N}px`;
18529
18517
  }
18530
18518
  } catch (B) {
18531
- l(M), d.restoreFiles(C, B);
18519
+ l(F), d.restoreFiles(C, B);
18532
18520
  }
18533
18521
  }, _ = () => n.isChatClosed ? /* @__PURE__ */ x("div", { className: "eloq:w-full eloq:z-20 eloq:animate-slide-up-in", children: /* @__PURE__ */ Z(
18534
18522
  "div",
18535
18523
  {
18536
- className: ok,
18524
+ className: nk,
18537
18525
  role: "status",
18538
18526
  "aria-live": "polite",
18539
18527
  children: [
@@ -18543,7 +18531,7 @@ function uk() {
18543
18531
  {
18544
18532
  type: "button",
18545
18533
  onClick: () => n.onStartNewChat?.(),
18546
- className: ik,
18534
+ className: rk,
18547
18535
  style: {
18548
18536
  backgroundColor: i.userBubbleColor,
18549
18537
  color: k
@@ -18557,16 +18545,16 @@ function uk() {
18557
18545
  ]
18558
18546
  }
18559
18547
  ) }) : /* @__PURE__ */ Z(zt, { children: [
18560
- /* @__PURE__ */ x(Qw, { onSelect: w }),
18548
+ /* @__PURE__ */ x(Kw, { onSelect: w }),
18561
18549
  /* @__PURE__ */ Z(
18562
18550
  "div",
18563
18551
  {
18564
18552
  className: "eloq:flex eloq:flex-col eloq:w-full eloq:items-center eloq:px-4 eloq:mx-1 eloq:pb-4 eloq:-mt-6 eloq:z-20",
18565
18553
  style: s ? { transform: `translateY(-${s}px)` } : void 0,
18566
18554
  children: [
18567
- t && /* @__PURE__ */ x(nk, { message: e.message, type: "error" }),
18555
+ t && /* @__PURE__ */ x(ek, { message: e.message, type: "error" }),
18568
18556
  f && /* @__PURE__ */ x(
18569
- Mw,
18557
+ Dw,
18570
18558
  {
18571
18559
  attachmentFiles: d.attachmentFiles,
18572
18560
  error: d.attachmentError,
@@ -18579,7 +18567,7 @@ function uk() {
18579
18567
  className: "eloq:relative eloq:flex eloq:items-center eloq:w-full eloq:m-0",
18580
18568
  onSubmit: E,
18581
18569
  children: [
18582
- /* @__PURE__ */ x("div", { className: te("eloq:flex-1", rk), children: /* @__PURE__ */ x(
18570
+ /* @__PURE__ */ x("div", { className: te("eloq:flex-1", tk), children: /* @__PURE__ */ x(
18583
18571
  Yu,
18584
18572
  {
18585
18573
  ref: r,
@@ -18592,26 +18580,26 @@ function uk() {
18592
18580
  rows: 1,
18593
18581
  value: o,
18594
18582
  disabled: c,
18595
- onChange: (z) => l(z.target.value),
18596
- onKeyDown: (z) => {
18597
- if (z.key === "Enter" && !z.shiftKey) {
18598
- z.preventDefault();
18599
- const M = z.currentTarget.form;
18600
- M && M.dispatchEvent(
18583
+ onChange: (O) => l(O.target.value),
18584
+ onKeyDown: (O) => {
18585
+ if (O.key === "Enter" && !O.shiftKey) {
18586
+ O.preventDefault();
18587
+ const F = O.currentTarget.form;
18588
+ F && F.dispatchEvent(
18601
18589
  new Event("submit", { bubbles: !0 })
18602
18590
  );
18603
18591
  }
18604
18592
  },
18605
- onInput: (z) => {
18606
- const M = z.currentTarget;
18607
- M.style.height = "auto";
18608
- const C = Math.min(M.scrollHeight, 132);
18609
- M.style.height = `${C}px`, l(M.value);
18593
+ onInput: (O) => {
18594
+ const F = O.currentTarget;
18595
+ F.style.height = "auto";
18596
+ const C = Math.min(F.scrollHeight, 132);
18597
+ F.style.height = `${C}px`, l(F.value);
18610
18598
  }
18611
18599
  }
18612
18600
  ) }),
18613
18601
  f && /* @__PURE__ */ x(
18614
- Ow,
18602
+ Pw,
18615
18603
  {
18616
18604
  isDisabled: !d.canAddFiles,
18617
18605
  onFiles: d.addFiles
@@ -18624,7 +18612,7 @@ function uk() {
18624
18612
  disabled: !g || c,
18625
18613
  className: te(
18626
18614
  "eloq:absolute eloq:top-0 eloq:bottom-2 eloq:right-2 eloq:self-end eloq:p-2 eloq:text-muted eloq:rounded-full eloq:transition-colors",
18627
- g && !t ? "eloq:text-primary-foreground" : ak
18615
+ g && !t ? "eloq:text-primary-foreground" : ik
18628
18616
  ),
18629
18617
  style: v(),
18630
18618
  children: /* @__PURE__ */ x(Ef, { className: "eloq:h-4 eloq:w-4" })
@@ -18653,7 +18641,7 @@ function uk() {
18653
18641
  {
18654
18642
  className: te(
18655
18643
  "eloq:w-full eloq:flex eloq:flex-col eloq:items-center eloq:justify-center eloq:space-x-2 eloq:px-0",
18656
- lk
18644
+ ok
18657
18645
  ),
18658
18646
  children: [
18659
18647
  /* @__PURE__ */ Z("div", { className: "eloq:w-full eloq:flex eloq:items-center eloq:justify-center eloq:space-x-2 eloq:py-1", children: [
@@ -18686,16 +18674,16 @@ function uk() {
18686
18674
  }
18687
18675
  );
18688
18676
  }
18689
- var ck = Object.defineProperty, At = (e, t) => ck(e, "name", { value: t, configurable: !0 }), Xu = "Avatar", [fk, Nk] = /* @__PURE__ */ ni(Xu), pk = [
18677
+ var sk = Object.defineProperty, At = (e, t) => sk(e, "name", { value: t, configurable: !0 }), Xu = "Avatar", [uk, Ik] = /* @__PURE__ */ ni(Xu), ck = [
18690
18678
  0,
18691
18679
  () => {
18692
18680
  }
18693
- ], [dk, Ku] = fk(Xu), Ju = /* @__PURE__ */ R.forwardRef(
18681
+ ], [fk, Ku] = uk(Xu), Ju = /* @__PURE__ */ R.forwardRef(
18694
18682
  // blank line to reduce diff noise
18695
18683
  /* @__PURE__ */ At(function(t, n) {
18696
18684
  const { __scopeAvatar: r, ...o } = t, [l, i] = R.useState("idle"), [a, s] = tc();
18697
18685
  return /* @__PURE__ */ x(
18698
- dk,
18686
+ fk,
18699
18687
  {
18700
18688
  scope: r,
18701
18689
  imageLoadingStatus: l,
@@ -18706,16 +18694,16 @@ var ck = Object.defineProperty, At = (e, t) => ck(e, "name", { value: t, configu
18706
18694
  }
18707
18695
  );
18708
18696
  }, "Avatar")
18709
- ), hk = "AvatarImage", Qu = /* @__PURE__ */ R.forwardRef(
18697
+ ), pk = "AvatarImage", Qu = /* @__PURE__ */ R.forwardRef(
18710
18698
  /* @__PURE__ */ At(function(t, n) {
18711
- const { __scopeAvatar: r, src: o, onLoadingStatusChange: l, ...i } = t, a = Ku(hk, r);
18699
+ const { __scopeAvatar: r, src: o, onLoadingStatusChange: l, ...i } = t, a = Ku(pk, r);
18712
18700
  a.setImageCount;
18713
18701
  const s = ec(o, {
18714
18702
  referrerPolicy: i.referrerPolicy,
18715
18703
  crossOrigin: i.crossOrigin,
18716
18704
  loadingStatus: a.imageLoadingStatus,
18717
18705
  setLoadingStatus: a.setImageLoadingStatus
18718
- }), u = vt((c) => {
18706
+ }), u = St((c) => {
18719
18707
  l?.(c);
18720
18708
  }), f = R.useRef(s);
18721
18709
  return Un(() => {
@@ -18723,9 +18711,9 @@ var ck = Object.defineProperty, At = (e, t) => ck(e, "name", { value: t, configu
18723
18711
  f.current = s, s !== c && u(s);
18724
18712
  }, [s, u]), s === "loaded" ? /* @__PURE__ */ x(Ut.img, { ...i, ref: n, src: o }) : null;
18725
18713
  }, "AvatarImage")
18726
- ), mk = "AvatarFallback", Zu = /* @__PURE__ */ R.forwardRef(
18714
+ ), dk = "AvatarFallback", Zu = /* @__PURE__ */ R.forwardRef(
18727
18715
  /* @__PURE__ */ At(function(t, n) {
18728
- const { __scopeAvatar: r, delayMs: o, ...l } = t, i = Ku(mk, r), [a, s] = R.useState(o === void 0);
18716
+ const { __scopeAvatar: r, delayMs: o, ...l } = t, i = Ku(dk, r), [a, s] = R.useState(o === void 0);
18729
18717
  return R.useEffect(() => {
18730
18718
  if (o !== void 0) {
18731
18719
  const u = window.setTimeout(() => s(!0), o);
@@ -18760,12 +18748,12 @@ function Wo(e) {
18760
18748
  }
18761
18749
  At(Wo, "getImageLoadingStatus");
18762
18750
  function tc() {
18763
- return pk;
18751
+ return ck;
18764
18752
  }
18765
18753
  At(tc, "useImageCount");
18766
- function gk(e) {
18754
+ function hk(e) {
18767
18755
  }
18768
- At(gk, "useUpdateImageCount");
18756
+ At(hk, "useUpdateImageCount");
18769
18757
  const nc = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18770
18758
  Ju,
18771
18759
  {
@@ -18778,7 +18766,7 @@ const nc = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18778
18766
  }
18779
18767
  ));
18780
18768
  nc.displayName = Ju.displayName;
18781
- const bk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18769
+ const mk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18782
18770
  Qu,
18783
18771
  {
18784
18772
  ref: n,
@@ -18786,8 +18774,8 @@ const bk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18786
18774
  ...t
18787
18775
  }
18788
18776
  ));
18789
- bk.displayName = Qu.displayName;
18790
- const yk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18777
+ mk.displayName = Qu.displayName;
18778
+ const gk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18791
18779
  Zu,
18792
18780
  {
18793
18781
  ref: n,
@@ -18798,14 +18786,14 @@ const yk = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
18798
18786
  ...t
18799
18787
  }
18800
18788
  ));
18801
- yk.displayName = Zu.displayName;
18802
- const xk = "eloq:shadow-[0_3px_4px_-2px_rgba(0,0,0,0.04)] eloq:dark:shadow-none eloq:dark:border-b eloq:dark:border-border", xa = "eloq:text-gray-400 eloq:hover:text-gray-600 eloq:dark:hover:text-gray-300 eloq:p-2";
18803
- function wk({
18789
+ gk.displayName = Zu.displayName;
18790
+ const bk = "eloq:shadow-[0_3px_4px_-2px_rgba(0,0,0,0.04)] eloq:dark:shadow-none eloq:dark:border-b eloq:dark:border-border", xa = "eloq:text-gray-400 eloq:hover:text-gray-600 eloq:dark:hover:text-gray-300 eloq:p-2";
18791
+ function yk({
18804
18792
  onCleanChat: e,
18805
18793
  onClose: t
18806
18794
  }) {
18807
18795
  const n = nn(), r = n.hasCleanChatButton ?? n.cleanChatButton ?? !0, o = n.hasCloseButton ?? n.closeButton ?? !0;
18808
- return /* @__PURE__ */ Z(Jo, { className: te(zu, xk), children: [
18796
+ return /* @__PURE__ */ Z(Jo, { className: te(zu, bk), children: [
18809
18797
  /* @__PURE__ */ Z("div", { className: Fu, children: [
18810
18798
  /* @__PURE__ */ x(nc, { className: "eloq:h-10 eloq:w-10", children: /* @__PURE__ */ x(
18811
18799
  Xo,
@@ -18826,7 +18814,7 @@ function wk({
18826
18814
  ] })
18827
18815
  ] });
18828
18816
  }
18829
- function Lk(e) {
18817
+ function Rk(e) {
18830
18818
  const {
18831
18819
  isOpen: t = !1,
18832
18820
  isMobile: n,
@@ -18853,14 +18841,14 @@ function Lk(e) {
18853
18841
  }
18854
18842
  ),
18855
18843
  /* @__PURE__ */ x(
18856
- wk,
18844
+ yk,
18857
18845
  {
18858
18846
  onCleanChat: () => r?.(),
18859
18847
  onClose: () => o?.()
18860
18848
  }
18861
18849
  ),
18862
- /* @__PURE__ */ x(ow, {}),
18863
- /* @__PURE__ */ x(uk, {})
18850
+ /* @__PURE__ */ x(nw, {}),
18851
+ /* @__PURE__ */ x(ak, {})
18864
18852
  ] });
18865
18853
  return /* @__PURE__ */ x(xf, { ...l, children: /* @__PURE__ */ x(Bp, { ...e, children: /* @__PURE__ */ x(
18866
18854
  "main",
@@ -18887,9 +18875,9 @@ function mt({ className: e, ...t }) {
18887
18875
  }
18888
18876
  );
18889
18877
  }
18890
- function kk(e, t) {
18891
- const [n, r] = Se(e);
18892
- return bt(() => {
18878
+ function xk(e, t) {
18879
+ const [n, r] = Ae(e);
18880
+ return vt(() => {
18893
18881
  const o = setTimeout(() => {
18894
18882
  r(e);
18895
18883
  }, t);
@@ -18898,12 +18886,12 @@ function kk(e, t) {
18898
18886
  };
18899
18887
  }, [e, t]), n;
18900
18888
  }
18901
- function Pk({
18889
+ function Nk({
18902
18890
  isOpen: e = !1,
18903
18891
  isMobile: t,
18904
18892
  skipAnimation: n = !1
18905
18893
  }) {
18906
- const r = kk(e, 10), o = Uu({
18894
+ const r = xk(e, 10), o = Uu({
18907
18895
  isOpen: n ? e : r,
18908
18896
  isMobile: t,
18909
18897
  skipAnimation: n
@@ -18937,37 +18925,37 @@ function Pk({
18937
18925
  }
18938
18926
  export {
18939
18927
  Iu as A,
18940
- nk as B,
18941
- Lk as C,
18942
- ek as E,
18943
- Ak as H,
18928
+ ek as B,
18929
+ Rk as C,
18930
+ Qw as E,
18931
+ vk as H,
18944
18932
  Xo as L,
18945
18933
  Ex as M,
18946
18934
  Jl as N,
18947
- ew as R,
18948
- Pk as S,
18935
+ Qx as R,
18936
+ Nk as S,
18949
18937
  xf as T,
18950
18938
  Ba as X,
18951
18939
  Bp as a,
18952
- Qx as b,
18940
+ Kx as b,
18953
18941
  te as c,
18954
- Fw as d,
18955
- tk as e,
18956
- Zw as f,
18942
+ Ow as d,
18943
+ Zw as e,
18944
+ Jw as f,
18957
18945
  Ai as g,
18958
- rw as h,
18946
+ tw as h,
18959
18947
  Lu as i,
18960
18948
  xr as j,
18961
18949
  Jt as k,
18962
- Tk as l,
18963
- _k as m,
18964
- kk as n,
18965
- tw as o,
18966
- Rk as p,
18967
- Ik as r,
18968
- qk as s,
18969
- Ek as t,
18950
+ Ak as l,
18951
+ Tk as m,
18952
+ xk as n,
18953
+ Zx as o,
18954
+ _k as p,
18955
+ qk as r,
18956
+ Ek as s,
18957
+ Ck as t,
18970
18958
  ei as u,
18971
- Mx as w
18959
+ Ox as w
18972
18960
  };
18973
- //# sourceMappingURL=skeleton-Bjh-b-YT.js.map
18961
+ //# sourceMappingURL=skeleton-CaZqIWNc.js.map