@cimulate/copilot-widget 1.62.0 → 1.62.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.
@@ -7628,7 +7628,7 @@ const qe = new w_(), k_ = (e) => {
7628
7628
  }, z_ = {
7629
7629
  productId: dn.productId,
7630
7630
  pdpLink: dn.pdpLink
7631
- }, e0 = St(z_), q_ = ({ children: e }) => {
7631
+ }, em = St(z_), q_ = ({ children: e }) => {
7632
7632
  const [t, n] = Te(dn.productId), [r, i] = Te(dn.pdpLink);
7633
7633
  Oe(() => {
7634
7634
  const o = ({
@@ -7646,13 +7646,13 @@ const qe = new w_(), k_ = (e) => {
7646
7646
  };
7647
7647
  }, []);
7648
7648
  const s = ze(() => ({ productId: t, pdpLink: r }), [t, r]);
7649
- return /* @__PURE__ */ y(e0.Provider, { value: s, children: e });
7649
+ return /* @__PURE__ */ y(em.Provider, { value: s, children: e });
7650
7650
  }, V_ = () => {
7651
- const e = mt(e0);
7651
+ const e = mt(em);
7652
7652
  if (!e)
7653
7653
  throw new Error("usePdp must be used within a PdpProvider");
7654
7654
  return e;
7655
- }, t0 = St({
7655
+ }, tm = St({
7656
7656
  mode: Se.modeProxy.mode,
7657
7657
  entryType: Se.entryType,
7658
7658
  status: Se.statusProxy,
@@ -7755,19 +7755,19 @@ const qe = new w_(), k_ = (e) => {
7755
7755
  A
7756
7756
  ]
7757
7757
  );
7758
- return /* @__PURE__ */ y(t0.Provider, { value: k, children: r });
7758
+ return /* @__PURE__ */ y(tm.Provider, { value: k, children: r });
7759
7759
  }, Xt = () => {
7760
- const e = mt(t0);
7760
+ const e = mt(tm);
7761
7761
  if (!e)
7762
7762
  throw new Error("useUIState must be used within a UIStateProvider");
7763
7763
  return e;
7764
- }, n0 = St(null), r0 = St(null), Sc = () => {
7765
- const e = mt(r0);
7764
+ }, nm = St(null), rm = St(null), Sc = () => {
7765
+ const e = mt(rm);
7766
7766
  if (!e)
7767
7767
  throw new Error("usePromptsExtensionDispatch must be used within a PromptsExtensionProvider");
7768
7768
  return e || {};
7769
7769
  }, Yn = () => {
7770
- const e = mt(n0);
7770
+ const e = mt(nm);
7771
7771
  if (!e)
7772
7772
  throw new Error("usePromptsExtensionState must be used within a PromptsExtensionProvider");
7773
7773
  return e || {};
@@ -7940,7 +7940,7 @@ const qe = new w_(), k_ = (e) => {
7940
7940
  disconnectInput: b,
7941
7941
  disposeInput: k
7942
7942
  };
7943
- }, i0 = St({
7943
+ }, im = St({
7944
7944
  copilot: null,
7945
7945
  messages: [],
7946
7946
  groupedMessages: [],
@@ -8449,8 +8449,8 @@ const qe = new w_(), k_ = (e) => {
8449
8449
  pe,
8450
8450
  Nt
8451
8451
  ]);
8452
- return /* @__PURE__ */ y(i0.Provider, { value: Ot, children: c });
8453
- }, s0 = () => {
8452
+ return /* @__PURE__ */ y(im.Provider, { value: Ot, children: c });
8453
+ }, sm = () => {
8454
8454
  const { copilot: e } = Ht(), { addCopilotEvent: t } = Mr();
8455
8455
  return { getCopilotSuggestions: se(
8456
8456
  (r, i, s) => {
@@ -8485,7 +8485,7 @@ const qe = new w_(), k_ = (e) => {
8485
8485
  [e, t]
8486
8486
  ) };
8487
8487
  }, In = () => {
8488
- const e = mt(i0);
8488
+ const e = mt(im);
8489
8489
  if (!e)
8490
8490
  throw new Error("useCopilot must be used within a CopilotProvider");
8491
8491
  return e;
@@ -8497,7 +8497,7 @@ const qe = new w_(), k_ = (e) => {
8497
8497
  resetConversation: d,
8498
8498
  getSessionInformation: p,
8499
8499
  getConversationMessages: h
8500
- } = In(), { getCopilotSuggestions: m } = s0();
8500
+ } = In(), { getCopilotSuggestions: m } = sm();
8501
8501
  Oe(() => {
8502
8502
  !e || !i || !t || !r || n.requestId || i === "ask_cim" && m({}, i, (T) => {
8503
8503
  a({
@@ -8664,7 +8664,7 @@ const qe = new w_(), k_ = (e) => {
8664
8664
  function fd(e, t) {
8665
8665
  return t ? P(P({}, e), t) : e;
8666
8666
  }
8667
- function o0(e, t) {
8667
+ function om(e, t) {
8668
8668
  const n = S2;
8669
8669
  if (!e && !t) return n;
8670
8670
  const r = (i) => fd(fd(n[i], e == null ? void 0 : e[i]), t == null ? void 0 : t[i]);
@@ -8697,21 +8697,21 @@ function o0(e, t) {
8697
8697
  session: r("session")
8698
8698
  };
8699
8699
  }
8700
- const a0 = St(null), u0 = St(void 0), C2 = ({
8700
+ const am = St(null), um = St(void 0), C2 = ({
8701
8701
  locale: e,
8702
8702
  translations: t,
8703
8703
  translationOverrides: n,
8704
8704
  children: r
8705
8705
  }) => {
8706
8706
  const i = ze(
8707
- () => o0(t, n),
8707
+ () => om(t, n),
8708
8708
  [t, n]
8709
8709
  );
8710
- return /* @__PURE__ */ y(u0.Provider, { value: e, children: /* @__PURE__ */ y(a0.Provider, { value: i, children: r }) });
8710
+ return /* @__PURE__ */ y(um.Provider, { value: e, children: /* @__PURE__ */ y(am.Provider, { value: i, children: r }) });
8711
8711
  }, $t = () => {
8712
- const e = mt(a0);
8713
- return e || o0(void 0, void 0);
8714
- }, Cc = () => mt(u0);
8712
+ const e = mt(am);
8713
+ return e || om(void 0, void 0);
8714
+ }, Cc = () => mt(um);
8715
8715
  function x2(e, t) {
8716
8716
  return e.replace(/\{(\w+)\}/g, (n, r) => {
8717
8717
  const i = t[r];
@@ -8745,12 +8745,12 @@ function O2(e, t) {
8745
8745
  r(void 0);
8746
8746
  return;
8747
8747
  }
8748
- const s = `1.62.0:${e}`;
8748
+ const s = `1.62.1:${e}`;
8749
8749
  if ($s.has(s)) {
8750
8750
  r((u = $s.get(s)) != null ? u : void 0);
8751
8751
  return;
8752
8752
  }
8753
- const o = ++i.current, a = `${P2}/1.62.0/locales/${e}.json`;
8753
+ const o = ++i.current, a = `${P2}/1.62.1/locales/${e}.json`;
8754
8754
  fetch(a).then((c) => {
8755
8755
  if (!c.ok) throw new Error(`${c.status}`);
8756
8756
  return c.json();
@@ -8878,7 +8878,7 @@ const I2 = ({
8878
8878
  d,
8879
8879
  p
8880
8880
  ]);
8881
- return /* @__PURE__ */ y(r0.Provider, { value: h, children: e });
8881
+ return /* @__PURE__ */ y(rm.Provider, { value: h, children: e });
8882
8882
  }, w2 = (e, t) => {
8883
8883
  const { type: n, payload: r } = t;
8884
8884
  switch (n) {
@@ -8935,8 +8935,8 @@ const I2 = ({
8935
8935
  const [n, r] = zh(w2, V(P(P({}, Xh), e || {}), {
8936
8936
  staticQuestions: Dh((e == null ? void 0 : e.staticQuestions) || [])
8937
8937
  }));
8938
- return /* @__PURE__ */ y(n0.Provider, { value: n, children: /* @__PURE__ */ y(I2, { dispatch: r, children: t }) });
8939
- }, c0 = ({
8938
+ return /* @__PURE__ */ y(nm.Provider, { value: n, children: /* @__PURE__ */ y(I2, { dispatch: r, children: t }) });
8939
+ }, cm = ({
8940
8940
  mode: e,
8941
8941
  apiKey: t,
8942
8942
  apiToken: n,
@@ -9050,17 +9050,17 @@ const I2 = ({
9050
9050
  }
9051
9051
  );
9052
9052
  };
9053
- function l0(e) {
9053
+ function lm(e) {
9054
9054
  var t, n, r = "";
9055
9055
  if (typeof e == "string" || typeof e == "number") r += e;
9056
9056
  else if (typeof e == "object") if (Array.isArray(e)) {
9057
9057
  var i = e.length;
9058
- for (t = 0; t < i; t++) e[t] && (n = l0(e[t])) && (r && (r += " "), r += n);
9058
+ for (t = 0; t < i; t++) e[t] && (n = lm(e[t])) && (r && (r += " "), r += n);
9059
9059
  } else for (n in e) e[n] && (r && (r += " "), r += n);
9060
9060
  return r;
9061
9061
  }
9062
9062
  function D() {
9063
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = l0(e)) && (r && (r += " "), r += t);
9063
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = lm(e)) && (r && (r += " "), r += t);
9064
9064
  return r;
9065
9065
  }
9066
9066
  const R2 = () => document.querySelector(
@@ -9086,13 +9086,13 @@ const R2 = () => document.querySelector(
9086
9086
  });
9087
9087
  t.observe(document.body, { childList: !0, subtree: !0 }), setTimeout(() => t.disconnect(), 1e3);
9088
9088
  };
9089
- var d0 = {
9089
+ var dm = {
9090
9090
  color: void 0,
9091
9091
  size: void 0,
9092
9092
  className: void 0,
9093
9093
  style: void 0,
9094
9094
  attr: void 0
9095
- }, hd = Cr.createContext && /* @__PURE__ */ Cr.createContext(d0), v2 = ["attr", "size", "title"];
9095
+ }, hd = Cr.createContext && /* @__PURE__ */ Cr.createContext(dm), v2 = ["attr", "size", "title"];
9096
9096
  function D2(e, t) {
9097
9097
  if (e == null) return {};
9098
9098
  var n = M2(e, t), r, i;
@@ -9161,15 +9161,15 @@ function U2(e, t) {
9161
9161
  }
9162
9162
  return (t === "string" ? String : Number)(e);
9163
9163
  }
9164
- function f0(e) {
9164
+ function fm(e) {
9165
9165
  return e && e.map((t, n) => /* @__PURE__ */ Cr.createElement(t.tag, So({
9166
9166
  key: n
9167
- }, t.attr), f0(t.child)));
9167
+ }, t.attr), fm(t.child)));
9168
9168
  }
9169
9169
  function Fe(e) {
9170
9170
  return (t) => /* @__PURE__ */ Cr.createElement(H2, Ao({
9171
9171
  attr: So({}, e.attr)
9172
- }, t), f0(e.child));
9172
+ }, t), fm(e.child));
9173
9173
  }
9174
9174
  function H2(e) {
9175
9175
  var t = (n) => {
@@ -9192,7 +9192,7 @@ function H2(e) {
9192
9192
  xmlns: "http://www.w3.org/2000/svg"
9193
9193
  }), s && /* @__PURE__ */ Cr.createElement("title", null, s), e.children);
9194
9194
  };
9195
- return hd !== void 0 ? /* @__PURE__ */ Cr.createElement(hd.Consumer, null, (n) => t(n)) : t(d0);
9195
+ return hd !== void 0 ? /* @__PURE__ */ Cr.createElement(hd.Consumer, null, (n) => t(n)) : t(dm);
9196
9196
  }
9197
9197
  function $2(e) {
9198
9198
  return Fe({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }, child: [] }] })(e);
@@ -9393,7 +9393,7 @@ const z2 = (e) => Qu(e) ? gh(e, { "aria-hidden": !0 }) : e, jn = ({
9393
9393
  }
9394
9394
  );
9395
9395
  };
9396
- function h0(e) {
9396
+ function hm(e) {
9397
9397
  return Fe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" }, child: [] }] })(e);
9398
9398
  }
9399
9399
  function md(e) {
@@ -9408,7 +9408,7 @@ function W2(e) {
9408
9408
  function gd(e) {
9409
9409
  return Fe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z" }, child: [] }] })(e);
9410
9410
  }
9411
- function p0(e) {
9411
+ function pm(e) {
9412
9412
  return Fe({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }, child: [] }] })(e);
9413
9413
  }
9414
9414
  function X2(e) {
@@ -9520,7 +9520,7 @@ const tA = ({
9520
9520
  searchConfig: e,
9521
9521
  globalClassName: t
9522
9522
  }) => {
9523
- const n = e.buttonIconUrl, r = e.buttonIcon === "arrow" ? p0 : gi;
9523
+ const n = e.buttonIconUrl, r = e.buttonIcon === "arrow" ? pm : gi;
9524
9524
  return n ? /* @__PURE__ */ y(
9525
9525
  "img",
9526
9526
  {
@@ -9539,7 +9539,7 @@ const tA = ({
9539
9539
  }) => {
9540
9540
  const s = $t();
9541
9541
  if ((t == null ? void 0 : t.buttonType) === "icon") {
9542
- const a = t.buttonIcon === "arrow" ? p0 : gi;
9542
+ const a = t.buttonIcon === "arrow" ? pm : gi;
9543
9543
  return /* @__PURE__ */ y(
9544
9544
  jn,
9545
9545
  {
@@ -9611,7 +9611,7 @@ function Ed(e) {
9611
9611
  }
9612
9612
  return t;
9613
9613
  }
9614
- function m0(e, t) {
9614
+ function mm(e, t) {
9615
9615
  const n = {};
9616
9616
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
9617
9617
  (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
@@ -9646,7 +9646,7 @@ class Cs {
9646
9646
  Cs.prototype.normal = {};
9647
9647
  Cs.prototype.property = {};
9648
9648
  Cs.prototype.space = void 0;
9649
- function g0(e, t) {
9649
+ function gm(e, t) {
9650
9650
  const n = {}, r = {};
9651
9651
  for (const i of e)
9652
9652
  Object.assign(n, i.property), Object.assign(r, i.normal);
@@ -9738,7 +9738,7 @@ function Ei(e) {
9738
9738
  }
9739
9739
  return new Cs(t, n, e.space);
9740
9740
  }
9741
- const E0 = Ei({
9741
+ const Em = Ei({
9742
9742
  properties: {
9743
9743
  ariaActiveDescendant: null,
9744
9744
  ariaAtomic: et,
@@ -9794,11 +9794,11 @@ const E0 = Ei({
9794
9794
  return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
9795
9795
  }
9796
9796
  });
9797
- function b0(e, t) {
9797
+ function bm(e, t) {
9798
9798
  return t in e ? e[t] : t;
9799
9799
  }
9800
- function T0(e, t) {
9801
- return b0(e, t.toLowerCase());
9800
+ function Tm(e, t) {
9801
+ return bm(e, t.toLowerCase());
9802
9802
  }
9803
9803
  const hA = Ei({
9804
9804
  attributes: {
@@ -10170,7 +10170,7 @@ const hA = Ei({
10170
10170
  unselectable: null
10171
10171
  },
10172
10172
  space: "html",
10173
- transform: T0
10173
+ transform: Tm
10174
10174
  }), pA = Ei({
10175
10175
  attributes: {
10176
10176
  accentHeight: "accent-height",
@@ -10731,8 +10731,8 @@ const hA = Ei({
10731
10731
  zoomAndPan: null
10732
10732
  },
10733
10733
  space: "svg",
10734
- transform: b0
10735
- }), y0 = Ei({
10734
+ transform: bm
10735
+ }), ym = Ei({
10736
10736
  properties: {
10737
10737
  xLinkActuate: null,
10738
10738
  xLinkArcRole: null,
@@ -10746,12 +10746,12 @@ const hA = Ei({
10746
10746
  transform(e, t) {
10747
10747
  return "xlink:" + t.slice(5).toLowerCase();
10748
10748
  }
10749
- }), _0 = Ei({
10749
+ }), _m = Ei({
10750
10750
  attributes: { xmlnsxlink: "xmlns:xlink" },
10751
10751
  properties: { xmlnsXLink: null, xmlns: null },
10752
10752
  space: "xmlns",
10753
- transform: T0
10754
- }), A0 = Ei({
10753
+ transform: Tm
10754
+ }), Am = Ei({
10755
10755
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
10756
10756
  space: "xml",
10757
10757
  transform(e, t) {
@@ -10802,12 +10802,12 @@ function bA(e) {
10802
10802
  function TA(e) {
10803
10803
  return e.charAt(1).toUpperCase();
10804
10804
  }
10805
- const xs = g0([E0, hA, y0, _0, A0], "html"), lr = g0([E0, pA, y0, _0, A0], "svg");
10805
+ const xs = gm([Em, hA, ym, _m, Am], "html"), lr = gm([Em, pA, ym, _m, Am], "svg");
10806
10806
  function Ad(e) {
10807
10807
  const t = String(e || "").trim();
10808
10808
  return t ? t.split(/[ \t\n\r\f]+/g) : [];
10809
10809
  }
10810
- function S0(e) {
10810
+ function Sm(e) {
10811
10811
  return e.join(" ").trim();
10812
10812
  }
10813
10813
  var Vr = {}, La, Sd;
@@ -10954,8 +10954,8 @@ function SA() {
10954
10954
  return r.default = r, vi = r, vi;
10955
10955
  }
10956
10956
  var CA = SA();
10957
- const xA = /* @__PURE__ */ Op(CA), Go = C0("end"), wn = C0("start");
10958
- function C0(e) {
10957
+ const xA = /* @__PURE__ */ Op(CA), Go = Cm("end"), wn = Cm("start");
10958
+ function Cm(e) {
10959
10959
  return t;
10960
10960
  function t(n) {
10961
10961
  const r = n && n.position && n.position[e] || {};
@@ -10967,7 +10967,7 @@ function C0(e) {
10967
10967
  };
10968
10968
  }
10969
10969
  }
10970
- function x0(e) {
10970
+ function xm(e) {
10971
10971
  const t = wn(e), n = Go(e);
10972
10972
  if (t && n)
10973
10973
  return { start: t, end: n };
@@ -11071,7 +11071,7 @@ xt.prototype.fatal = void 0;
11071
11071
  xt.prototype.place = void 0;
11072
11072
  xt.prototype.ruleId = void 0;
11073
11073
  xt.prototype.source = void 0;
11074
- const Oc = {}.hasOwnProperty, PA = /* @__PURE__ */ new Map(), NA = /[A-Z]/g, OA = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), IA = /* @__PURE__ */ new Set(["td", "th"]), P0 = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
11074
+ const Oc = {}.hasOwnProperty, PA = /* @__PURE__ */ new Map(), NA = /[A-Z]/g, OA = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), IA = /* @__PURE__ */ new Set(["td", "th"]), Pm = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
11075
11075
  function wA(e, t) {
11076
11076
  if (!t || t.Fragment === void 0)
11077
11077
  throw new TypeError("Expected `Fragment` in options");
@@ -11104,7 +11104,7 @@ function wA(e, t) {
11104
11104
  schema: t.space === "svg" ? lr : xs,
11105
11105
  stylePropertyNameCase: t.stylePropertyNameCase || "dom",
11106
11106
  tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
11107
- }, s = N0(i, e, void 0);
11107
+ }, s = Nm(i, e, void 0);
11108
11108
  return s && typeof s != "string" ? s : i.create(
11109
11109
  e,
11110
11110
  i.Fragment,
@@ -11112,7 +11112,7 @@ function wA(e, t) {
11112
11112
  void 0
11113
11113
  );
11114
11114
  }
11115
- function N0(e, t, n) {
11115
+ function Nm(e, t, n) {
11116
11116
  if (t.type === "element")
11117
11117
  return kA(e, t, n);
11118
11118
  if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
@@ -11130,11 +11130,11 @@ function kA(e, t, n) {
11130
11130
  const r = e.schema;
11131
11131
  let i = r;
11132
11132
  t.tagName.toLowerCase() === "svg" && r.space === "html" && (i = lr, e.schema = i), e.ancestors.push(t);
11133
- const s = I0(e, t.tagName, !1), o = UA(e, t);
11133
+ const s = Im(e, t.tagName, !1), o = UA(e, t);
11134
11134
  let a = wc(e, t);
11135
11135
  return OA.has(t.tagName) && (a = a.filter(function(u) {
11136
11136
  return typeof u == "string" ? !dA(u) : !0;
11137
- })), O0(e, o, s, t), Ic(o, a), e.ancestors.pop(), e.schema = r, e.create(t, s, o, n);
11137
+ })), Om(e, o, s, t), Ic(o, a), e.ancestors.pop(), e.schema = r, e.create(t, s, o, n);
11138
11138
  }
11139
11139
  function RA(e, t) {
11140
11140
  if (t.data && t.data.estree && e.evaluater) {
@@ -11156,8 +11156,8 @@ function vA(e, t, n) {
11156
11156
  const r = e.schema;
11157
11157
  let i = r;
11158
11158
  t.name === "svg" && r.space === "html" && (i = lr, e.schema = i), e.ancestors.push(t);
11159
- const s = t.name === null ? e.Fragment : I0(e, t.name, !0), o = HA(e, t), a = wc(e, t);
11160
- return O0(e, o, s, t), Ic(o, a), e.ancestors.pop(), e.schema = r, e.create(t, s, o, n);
11159
+ const s = t.name === null ? e.Fragment : Im(e, t.name, !0), o = HA(e, t), a = wc(e, t);
11160
+ return Om(e, o, s, t), Ic(o, a), e.ancestors.pop(), e.schema = r, e.create(t, s, o, n);
11161
11161
  }
11162
11162
  function DA(e, t, n) {
11163
11163
  const r = {};
@@ -11166,7 +11166,7 @@ function DA(e, t, n) {
11166
11166
  function MA(e, t) {
11167
11167
  return t.value;
11168
11168
  }
11169
- function O0(e, t, n, r) {
11169
+ function Om(e, t, n, r) {
11170
11170
  typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
11171
11171
  }
11172
11172
  function Ic(e, t) {
@@ -11266,7 +11266,7 @@ function wc(e, t) {
11266
11266
  o = u + "-" + c, i.set(u, c + 1);
11267
11267
  }
11268
11268
  }
11269
- const a = N0(e, s, o);
11269
+ const a = Nm(e, s, o);
11270
11270
  a !== void 0 && n.push(a);
11271
11271
  }
11272
11272
  return n;
@@ -11274,7 +11274,7 @@ function wc(e, t) {
11274
11274
  function $A(e, t, n) {
11275
11275
  const r = jo(e.schema, t);
11276
11276
  if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
11277
- if (Array.isArray(n) && (n = r.commaSeparated ? m0(n) : S0(n)), r.property === "style") {
11277
+ if (Array.isArray(n) && (n = r.commaSeparated ? mm(n) : Sm(n)), r.property === "style") {
11278
11278
  let i = typeof n == "object" ? n : zA(e, String(n));
11279
11279
  return e.stylePropertyNameCase === "css" && (i = qA(i)), ["style", i];
11280
11280
  }
@@ -11299,10 +11299,10 @@ function zA(e, t) {
11299
11299
  ruleId: "style",
11300
11300
  source: "hast-util-to-jsx-runtime"
11301
11301
  });
11302
- throw i.file = e.filePath || void 0, i.url = P0 + "#cannot-parse-style-attribute", i;
11302
+ throw i.file = e.filePath || void 0, i.url = Pm + "#cannot-parse-style-attribute", i;
11303
11303
  }
11304
11304
  }
11305
- function I0(e, t, n) {
11305
+ function Im(e, t, n) {
11306
11306
  let r;
11307
11307
  if (!n)
11308
11308
  r = { type: "Literal", value: t };
@@ -11343,7 +11343,7 @@ function ds(e, t) {
11343
11343
  source: "hast-util-to-jsx-runtime"
11344
11344
  }
11345
11345
  );
11346
- throw n.file = e.filePath || void 0, n.url = P0 + "#cannot-handle-mdx-estrees-without-createevaluater", n;
11346
+ throw n.file = e.filePath || void 0, n.url = Pm + "#cannot-handle-mdx-estrees-without-createevaluater", n;
11347
11347
  }
11348
11348
  function qA(e) {
11349
11349
  const t = {};
@@ -11384,9 +11384,9 @@ const va = {
11384
11384
  }, jA = {};
11385
11385
  function kc(e, t) {
11386
11386
  const n = jA, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
11387
- return w0(e, r, i);
11387
+ return wm(e, r, i);
11388
11388
  }
11389
- function w0(e, t, n) {
11389
+ function wm(e, t, n) {
11390
11390
  if (GA(e)) {
11391
11391
  if ("value" in e)
11392
11392
  return e.type === "html" && !n ? "" : e.value;
@@ -11401,7 +11401,7 @@ function Id(e, t, n) {
11401
11401
  const r = [];
11402
11402
  let i = -1;
11403
11403
  for (; ++i < e.length; )
11404
- r[i] = w0(e[i], t, n);
11404
+ r[i] = wm(e[i], t, n);
11405
11405
  return r.join("");
11406
11406
  }
11407
11407
  function GA(e) {
@@ -11427,7 +11427,7 @@ function tn(e, t) {
11427
11427
  return e.length > 0 ? (Gt(e, e.length, 0, t), e) : t;
11428
11428
  }
11429
11429
  const kd = {}.hasOwnProperty;
11430
- function k0(e) {
11430
+ function km(e) {
11431
11431
  const t = {};
11432
11432
  let n = -1;
11433
11433
  for (; ++n < e.length; )
@@ -11458,7 +11458,7 @@ function XA(e, t) {
11458
11458
  (t[n].add === "after" ? e : r).push(t[n]);
11459
11459
  Gt(e, 0, 0, r);
11460
11460
  }
11461
- function R0(e, t) {
11461
+ function Rm(e, t) {
11462
11462
  const n = Number.parseInt(e, t);
11463
11463
  return (
11464
11464
  // C0 except for HT, LF, FF, CR, space.
@@ -11801,7 +11801,7 @@ function uS(e, t, n) {
11801
11801
  return s === null || he(s) ? t(s) : n(s);
11802
11802
  }
11803
11803
  }
11804
- const L0 = {
11804
+ const Lm = {
11805
11805
  continuation: {
11806
11806
  tokenize: lS
11807
11807
  },
@@ -11832,13 +11832,13 @@ function lS(e, t, n) {
11832
11832
  return Ce(o) ? we(e, s, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : s(o);
11833
11833
  }
11834
11834
  function s(o) {
11835
- return e.attempt(L0, t, n)(o);
11835
+ return e.attempt(Lm, t, n)(o);
11836
11836
  }
11837
11837
  }
11838
11838
  function dS(e) {
11839
11839
  e.exit("blockQuote");
11840
11840
  }
11841
- const v0 = {
11841
+ const vm = {
11842
11842
  name: "characterEscape",
11843
11843
  tokenize: fS
11844
11844
  };
@@ -11851,7 +11851,7 @@ function fS(e, t, n) {
11851
11851
  return JA(s) ? (e.enter("characterEscapeValue"), e.consume(s), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(s);
11852
11852
  }
11853
11853
  }
11854
- const D0 = {
11854
+ const Dm = {
11855
11855
  name: "characterReference",
11856
11856
  tokenize: hS
11857
11857
  };
@@ -12216,7 +12216,7 @@ function Di(e, t) {
12216
12216
  for (; n < t.length; )
12217
12217
  e.push(...t.slice(n, n + 1e4)), n += 1e4;
12218
12218
  }
12219
- function M0(e) {
12219
+ function Mm(e) {
12220
12220
  const t = {};
12221
12221
  let n = -1, r, i, s, o, a, u, c;
12222
12222
  const l = new SS(e);
@@ -12271,7 +12271,7 @@ const xS = {
12271
12271
  tokenize: IS
12272
12272
  };
12273
12273
  function NS(e) {
12274
- return M0(e), e;
12274
+ return Mm(e), e;
12275
12275
  }
12276
12276
  function OS(e, t) {
12277
12277
  let n;
@@ -12307,7 +12307,7 @@ function IS(e, t, n) {
12307
12307
  return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(o) : e.interrupt(r.parser.constructs.flow, n, t)(o);
12308
12308
  }
12309
12309
  }
12310
- function F0(e, t, n, r, i, s, o, a, u) {
12310
+ function Fm(e, t, n, r, i, s, o, a, u) {
12311
12311
  const c = u || Number.POSITIVE_INFINITY;
12312
12312
  let l = 0;
12313
12313
  return d;
@@ -12334,7 +12334,7 @@ function F0(e, t, n, r, i, s, o, a, u) {
12334
12334
  return g === 40 || g === 41 || g === 92 ? (e.consume(g), E) : E(g);
12335
12335
  }
12336
12336
  }
12337
- function B0(e, t, n, r, i, s) {
12337
+ function Bm(e, t, n, r, i, s) {
12338
12338
  const o = this;
12339
12339
  let a = 0, u;
12340
12340
  return c;
@@ -12358,7 +12358,7 @@ function B0(e, t, n, r, i, s) {
12358
12358
  return h === 91 || h === 92 || h === 93 ? (e.consume(h), a++, d) : d(h);
12359
12359
  }
12360
12360
  }
12361
- function U0(e, t, n, r, i, s) {
12361
+ function Um(e, t, n, r, i, s) {
12362
12362
  let o;
12363
12363
  return a;
12364
12364
  function a(p) {
@@ -12401,7 +12401,7 @@ function RS(e, t, n) {
12401
12401
  return e.enter("definition"), o(h);
12402
12402
  }
12403
12403
  function o(h) {
12404
- return B0.call(
12404
+ return Bm.call(
12405
12405
  r,
12406
12406
  e,
12407
12407
  a,
@@ -12419,7 +12419,7 @@ function RS(e, t, n) {
12419
12419
  return Ue(h) ? Xi(e, c)(h) : c(h);
12420
12420
  }
12421
12421
  function c(h) {
12422
- return F0(
12422
+ return Fm(
12423
12423
  e,
12424
12424
  l,
12425
12425
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -12447,7 +12447,7 @@ function LS(e, t, n) {
12447
12447
  return Ue(a) ? Xi(e, i)(a) : n(a);
12448
12448
  }
12449
12449
  function i(a) {
12450
- return U0(e, s, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
12450
+ return Um(e, s, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
12451
12451
  }
12452
12452
  function s(a) {
12453
12453
  return Ce(a) ? we(e, o, "whitespace")(a) : o(a);
@@ -12896,7 +12896,7 @@ function tC(e, t, n) {
12896
12896
  return Ue(d) ? Xi(e, s)(d) : s(d);
12897
12897
  }
12898
12898
  function s(d) {
12899
- return d === 41 ? l(d) : F0(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(d);
12899
+ return d === 41 ? l(d) : Fm(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(d);
12900
12900
  }
12901
12901
  function o(d) {
12902
12902
  return Ue(d) ? Xi(e, u)(d) : l(d);
@@ -12905,7 +12905,7 @@ function tC(e, t, n) {
12905
12905
  return n(d);
12906
12906
  }
12907
12907
  function u(d) {
12908
- return d === 34 || d === 39 || d === 40 ? U0(e, c, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(d) : l(d);
12908
+ return d === 34 || d === 39 || d === 40 ? Um(e, c, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(d) : l(d);
12909
12909
  }
12910
12910
  function c(d) {
12911
12911
  return Ue(d) ? Xi(e, l)(d) : l(d);
@@ -12918,7 +12918,7 @@ function nC(e, t, n) {
12918
12918
  const r = this;
12919
12919
  return i;
12920
12920
  function i(a) {
12921
- return B0.call(r, e, s, o, "reference", "referenceMarker", "referenceString")(a);
12921
+ return Bm.call(r, e, s, o, "reference", "referenceMarker", "referenceString")(a);
12922
12922
  }
12923
12923
  function s(a) {
12924
12924
  return r.parser.defined.includes(ln(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(a) : n(a);
@@ -13156,11 +13156,11 @@ function yC(e) {
13156
13156
  }
13157
13157
  }
13158
13158
  const _C = {
13159
- resolveAll: $0()
13160
- }, AC = H0("string"), SC = H0("text");
13161
- function H0(e) {
13159
+ resolveAll: $m()
13160
+ }, AC = Hm("string"), SC = Hm("text");
13161
+ function Hm(e) {
13162
13162
  return {
13163
- resolveAll: $0(e === "text" ? CC : void 0),
13163
+ resolveAll: $m(e === "text" ? CC : void 0),
13164
13164
  tokenize: t
13165
13165
  };
13166
13166
  function t(n) {
@@ -13194,7 +13194,7 @@ function H0(e) {
13194
13194
  }
13195
13195
  }
13196
13196
  }
13197
- function $0(e) {
13197
+ function $m(e) {
13198
13198
  return t;
13199
13199
  function t(n, r) {
13200
13200
  let i = -1, s;
@@ -13255,7 +13255,7 @@ const xC = {
13255
13255
  55: Mt,
13256
13256
  56: Mt,
13257
13257
  57: Mt,
13258
- 62: L0
13258
+ 62: Lm
13259
13259
  }, PC = {
13260
13260
  91: wS
13261
13261
  }, NC = {
@@ -13272,18 +13272,18 @@ const xC = {
13272
13272
  96: Dd,
13273
13273
  126: Dd
13274
13274
  }, IC = {
13275
- 38: D0,
13276
- 92: v0
13275
+ 38: Dm,
13276
+ 92: vm
13277
13277
  }, wC = {
13278
13278
  [-5]: Ma,
13279
13279
  [-4]: Ma,
13280
13280
  [-3]: Ma,
13281
13281
  33: iC,
13282
- 38: D0,
13282
+ 38: Dm,
13283
13283
  42: Ou,
13284
13284
  60: [oS, GS],
13285
13285
  91: oC,
13286
- 92: [vS, v0],
13286
+ 92: [vS, vm],
13287
13287
  93: Lc,
13288
13288
  95: Ou,
13289
13289
  96: TS
@@ -13526,7 +13526,7 @@ function BC(e) {
13526
13526
  const r = {
13527
13527
  constructs: (
13528
13528
  /** @type {FullNormalizedExtension} */
13529
- k0([vC, ...(e || {}).extensions || []])
13529
+ km([vC, ...(e || {}).extensions || []])
13530
13530
  ),
13531
13531
  content: i(ZA),
13532
13532
  defined: [],
@@ -13545,7 +13545,7 @@ function BC(e) {
13545
13545
  }
13546
13546
  }
13547
13547
  function UC(e) {
13548
- for (; !M0(e); )
13548
+ for (; !Mm(e); )
13549
13549
  ;
13550
13550
  return e;
13551
13551
  }
@@ -13594,11 +13594,11 @@ function qC(e, t, n) {
13594
13594
  return t;
13595
13595
  if (n.charCodeAt(0) === 35) {
13596
13596
  const i = n.charCodeAt(1), s = i === 120 || i === 88;
13597
- return R0(n.slice(s ? 2 : 1), s ? 16 : 10);
13597
+ return Rm(n.slice(s ? 2 : 1), s ? 16 : 10);
13598
13598
  }
13599
13599
  return Rc(n) || e;
13600
13600
  }
13601
- const z0 = {}.hasOwnProperty;
13601
+ const zm = {}.hasOwnProperty;
13602
13602
  function VC(e, t, n) {
13603
13603
  return t && typeof t == "object" && (n = t, t = void 0), YC(n)(UC(BC(n).document().write(HC()(e, t, !0))));
13604
13604
  }
@@ -13701,7 +13701,7 @@ function YC(e) {
13701
13701
  thematicBreak: u()
13702
13702
  }
13703
13703
  };
13704
- q0(t, (e || {}).mdastExtensions || []);
13704
+ qm(t, (e || {}).mdastExtensions || []);
13705
13705
  const n = {};
13706
13706
  return r;
13707
13707
  function r(H) {
@@ -13730,7 +13730,7 @@ function YC(e) {
13730
13730
  }
13731
13731
  for (Le = -1; ++Le < H.length; ) {
13732
13732
  const Tt = t[H[Le][0]];
13733
- z0.call(Tt, H[Le][1].type) && Tt[H[Le][1].type].call(Object.assign({
13733
+ zm.call(Tt, H[Le][1].type) && Tt[H[Le][1].type].call(Object.assign({
13734
13734
  sliceSerialize: H[Le][2].sliceSerialize
13735
13735
  }, ge), H[Le][1]);
13736
13736
  }
@@ -13989,7 +13989,7 @@ function YC(e) {
13989
13989
  function be(H) {
13990
13990
  const K = this.sliceSerialize(H), ge = this.data.characterReferenceType;
13991
13991
  let ye;
13992
- ge ? (ye = R0(K, ge === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ye = Rc(K);
13992
+ ge ? (ye = Rm(K, ge === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ye = Rc(K);
13993
13993
  const Le = this.stack[this.stack.length - 1];
13994
13994
  Le.value += ye;
13995
13995
  }
@@ -14125,17 +14125,17 @@ function Zn(e) {
14125
14125
  offset: e.offset
14126
14126
  };
14127
14127
  }
14128
- function q0(e, t) {
14128
+ function qm(e, t) {
14129
14129
  let n = -1;
14130
14130
  for (; ++n < t.length; ) {
14131
14131
  const r = t[n];
14132
- Array.isArray(r) ? q0(e, r) : jC(e, r);
14132
+ Array.isArray(r) ? qm(e, r) : jC(e, r);
14133
14133
  }
14134
14134
  }
14135
14135
  function jC(e, t) {
14136
14136
  let n;
14137
14137
  for (n in t)
14138
- if (z0.call(t, n))
14138
+ if (zm.call(t, n))
14139
14139
  switch (n) {
14140
14140
  case "canContainEols": {
14141
14141
  const r = t[n];
@@ -14263,7 +14263,7 @@ function tx(e, t) {
14263
14263
  return e.patch(t, n), e.applyData(t, n);
14264
14264
  }
14265
14265
  }
14266
- function V0(e, t) {
14266
+ function Vm(e, t) {
14267
14267
  const n = t.referenceType;
14268
14268
  let r = "]";
14269
14269
  if (n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference")
@@ -14276,7 +14276,7 @@ function V0(e, t) {
14276
14276
  function nx(e, t) {
14277
14277
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
14278
14278
  if (!r)
14279
- return V0(e, t);
14279
+ return Vm(e, t);
14280
14280
  const i = { src: bi(r.url || ""), alt: t.alt };
14281
14281
  r.title !== null && r.title !== void 0 && (i.title = r.title);
14282
14282
  const s = { type: "element", tagName: "img", properties: i, children: [] };
@@ -14302,7 +14302,7 @@ function ix(e, t) {
14302
14302
  function sx(e, t) {
14303
14303
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
14304
14304
  if (!r)
14305
- return V0(e, t);
14305
+ return Vm(e, t);
14306
14306
  const i = { href: bi(r.url || "") };
14307
14307
  r.title !== null && r.title !== void 0 && (i.title = r.title);
14308
14308
  const s = {
@@ -14325,7 +14325,7 @@ function ox(e, t) {
14325
14325
  return e.patch(t, r), e.applyData(t, r);
14326
14326
  }
14327
14327
  function ax(e, t, n) {
14328
- const r = e.all(t), i = n ? ux(n) : Y0(t), s = {}, o = [];
14328
+ const r = e.all(t), i = n ? ux(n) : Ym(t), s = {}, o = [];
14329
14329
  if (typeof t.checked == "boolean") {
14330
14330
  const l = r[0];
14331
14331
  let d;
@@ -14355,11 +14355,11 @@ function ux(e) {
14355
14355
  const n = e.children;
14356
14356
  let r = -1;
14357
14357
  for (; !t && ++r < n.length; )
14358
- t = Y0(n[r]);
14358
+ t = Ym(n[r]);
14359
14359
  }
14360
14360
  return t;
14361
14361
  }
14362
- function Y0(e) {
14362
+ function Ym(e) {
14363
14363
  const t = e.spread;
14364
14364
  return t == null ? e.children.length > 1 : t;
14365
14365
  }
@@ -14530,7 +14530,7 @@ const Tx = {
14530
14530
  };
14531
14531
  function zs() {
14532
14532
  }
14533
- const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W0 = 8, { defineProperty: yx } = Object, X0 = typeof self == "object" ? self : globalThis, qd = (e, t) => {
14533
+ const jm = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, Gm = 7, Wm = 8, { defineProperty: yx } = Object, Xm = typeof self == "object" ? self : globalThis, qd = (e, t) => {
14534
14534
  switch (e) {
14535
14535
  case "Function":
14536
14536
  case "SharedWorker":
@@ -14540,7 +14540,7 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14540
14540
  case "setTimeout":
14541
14541
  throw new TypeError("unable to deserialize " + e);
14542
14542
  }
14543
- return new X0[e](t);
14543
+ return new Xm[e](t);
14544
14544
  }, _x = (e, t) => {
14545
14545
  const n = (i, s) => (e.set(s, i), i), r = (i) => {
14546
14546
  if (e.has(i))
@@ -14548,7 +14548,7 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14548
14548
  const [s, o] = t[i];
14549
14549
  switch (s) {
14550
14550
  case Ko:
14551
- case j0:
14551
+ case jm:
14552
14552
  return n(o, i);
14553
14553
  case Ki: {
14554
14554
  const a = n([], i);
@@ -14587,14 +14587,14 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14587
14587
  a.add(r(u));
14588
14588
  return a;
14589
14589
  }
14590
- case G0: {
14590
+ case Gm: {
14591
14591
  const { name: a, message: u } = o;
14592
14592
  return n(
14593
- typeof X0[a] == "function" ? qd(a, u) : new Error(u),
14593
+ typeof Xm[a] == "function" ? qd(a, u) : new Error(u),
14594
14594
  i
14595
14595
  );
14596
14596
  }
14597
- case W0:
14597
+ case Wm:
14598
14598
  return n(BigInt(o), i);
14599
14599
  case "BigInt":
14600
14600
  return n(Object(BigInt(o)), i);
@@ -14631,7 +14631,7 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14631
14631
  case "DataView":
14632
14632
  return [Ki, n];
14633
14633
  }
14634
- return n.includes("Array") ? [Ki, n] : e instanceof Error ? [G0, e.name || "Error"] : [xo, n];
14634
+ return n.includes("Array") ? [Ki, n] : e instanceof Error ? [Gm, e.name || "Error"] : [xo, n];
14635
14635
  }, qs = ([e, t]) => e === Ko && (t === "function" || t === "symbol"), xx = (e, t, n, r) => {
14636
14636
  const i = (o, a) => {
14637
14637
  const u = r.push(o) - 1;
@@ -14645,7 +14645,7 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14645
14645
  let l = o;
14646
14646
  switch (u) {
14647
14647
  case "bigint":
14648
- a = W0, l = o.toString();
14648
+ a = Wm, l = o.toString();
14649
14649
  break;
14650
14650
  case "number":
14651
14651
  if (!o && Cx(o, -0))
@@ -14658,7 +14658,7 @@ const j0 = -1, Ko = 0, Ki = 1, xo = 2, vc = 3, Dc = 4, Mc = 5, Fc = 6, G0 = 7, W
14658
14658
  l = null;
14659
14659
  break;
14660
14660
  case "undefined":
14661
- return i([j0], o);
14661
+ return i([jm], o);
14662
14662
  }
14663
14663
  return i([a, l], o);
14664
14664
  }
@@ -14889,8 +14889,8 @@ function Rx() {
14889
14889
  function Lx(e) {
14890
14890
  return e !== null && typeof e == "object" && "type" in e;
14891
14891
  }
14892
- const K0 = [], vx = !0, Iu = !1, Dx = "skip";
14893
- function Q0(e, t, n, r) {
14892
+ const Km = [], vx = !0, Iu = !1, Dx = "skip";
14893
+ function Qm(e, t, n, r) {
14894
14894
  let i;
14895
14895
  typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
14896
14896
  const s = Qo(i), o = r ? -1 : 1;
@@ -14914,7 +14914,7 @@ function Q0(e, t, n, r) {
14914
14914
  }
14915
14915
  return p;
14916
14916
  function p() {
14917
- let h = K0, m, E, A;
14917
+ let h = Km, m, E, A;
14918
14918
  if ((!t || s(u, c, l[l.length - 1] || void 0)) && (h = Mx(n(u, l)), h[0] === Iu))
14919
14919
  return h;
14920
14920
  if ("children" in u && u.children) {
@@ -14935,11 +14935,11 @@ function Q0(e, t, n, r) {
14935
14935
  }
14936
14936
  }
14937
14937
  function Mx(e) {
14938
- return Array.isArray(e) ? e : typeof e == "number" ? [vx, e] : e == null ? K0 : [e];
14938
+ return Array.isArray(e) ? e : typeof e == "number" ? [vx, e] : e == null ? Km : [e];
14939
14939
  }
14940
14940
  function Zo(e, t, n, r) {
14941
14941
  let i, s, o;
14942
- typeof t == "function" && typeof n != "function" ? (s = void 0, o = t, i = n) : (s = t, o = n, i = r), Q0(e, s, a, i);
14942
+ typeof t == "function" && typeof n != "function" ? (s = void 0, o = t, i = n) : (s = t, o = n, i = r), Qm(e, s, a, i);
14943
14943
  function a(u, c) {
14944
14944
  const l = c[c.length - 1], d = l ? l.children.indexOf(u) : void 0;
14945
14945
  return o(u, d, l);
@@ -14999,7 +14999,7 @@ function Bx(e, t) {
14999
14999
  }
15000
15000
  }
15001
15001
  function Ux(e, t) {
15002
- e.position && (t.position = x0(e));
15002
+ e.position && (t.position = xm(e));
15003
15003
  }
15004
15004
  function Hx(e, t) {
15005
15005
  let n = t;
@@ -15334,7 +15334,7 @@ const Ua = (
15334
15334
  "dirname"
15335
15335
  ]
15336
15336
  );
15337
- class J0 {
15337
+ class Jm {
15338
15338
  /**
15339
15339
  * Create a new virtual file.
15340
15340
  *
@@ -16250,7 +16250,7 @@ function Jd(e, t, n) {
16250
16250
  );
16251
16251
  }
16252
16252
  function Vs(e) {
16253
- return uP(e) ? e : new J0(e);
16253
+ return uP(e) ? e : new Jm(e);
16254
16254
  }
16255
16255
  function uP(e) {
16256
16256
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
@@ -16295,7 +16295,7 @@ const dP = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
16295
16295
  { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
16296
16296
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
16297
16297
  ];
16298
- function Z0(e) {
16298
+ function Zm(e) {
16299
16299
  const t = pP(e), n = mP(e);
16300
16300
  return gP(t.runSync(t.parse(n), n), e);
16301
16301
  }
@@ -16304,11 +16304,11 @@ function pP(e) {
16304
16304
  return aP().use(GC).use(n).use(qx, r).use(t);
16305
16305
  }
16306
16306
  function mP(e) {
16307
- const t = e.children || "", n = new J0();
16307
+ const t = e.children || "", n = new Jm();
16308
16308
  return typeof t == "string" && (n.value = t), n;
16309
16309
  }
16310
16310
  function gP(e, t) {
16311
- const n = t.allowedElements, r = t.allowElement, i = t.components, s = t.disallowedElements, o = t.skipHtml, a = t.unwrapDisallowed, u = t.urlTransform || em;
16311
+ const n = t.allowedElements, r = t.allowElement, i = t.components, s = t.disallowedElements, o = t.skipHtml, a = t.unwrapDisallowed, u = t.urlTransform || e0;
16312
16312
  for (const l of hP)
16313
16313
  Object.hasOwn(t, l.from) && ("" + l.from + (l.to ? "use `" + l.to + "` instead" : "remove it") + dP + l.id, void 0);
16314
16314
  return Zo(e, c), wA(e, {
@@ -16338,7 +16338,7 @@ function gP(e, t) {
16338
16338
  }
16339
16339
  }
16340
16340
  }
16341
- function em(e) {
16341
+ function e0(e) {
16342
16342
  const t = e.indexOf(":"), n = e.indexOf("?"), r = e.indexOf("#"), i = e.indexOf("/");
16343
16343
  return (
16344
16344
  // If there is no protocol, it’s relative.
@@ -16364,7 +16364,7 @@ function EP(e, t) {
16364
16364
  children: []
16365
16365
  };
16366
16366
  }
16367
- function tm(e, t, n) {
16367
+ function t0(e, t, n) {
16368
16368
  const r = n ? _P(n) : void 0;
16369
16369
  function i(s, o, ...a) {
16370
16370
  let u;
@@ -16508,7 +16508,7 @@ const AP = [
16508
16508
  "solidColor",
16509
16509
  "textArea",
16510
16510
  "textPath"
16511
- ], SP = tm(xs, "div"), CP = tm(lr, "g", AP);
16511
+ ], SP = t0(xs, "div"), CP = t0(lr, "g", AP);
16512
16512
  function xP(e) {
16513
16513
  const t = String(e), n = [];
16514
16514
  return { toOffset: i, toPoint: r };
@@ -16555,7 +16555,7 @@ const _r = {
16555
16555
  xlink: "http://www.w3.org/1999/xlink",
16556
16556
  xml: "http://www.w3.org/XML/1998/namespace",
16557
16557
  xmlns: "http://www.w3.org/2000/xmlns/"
16558
- }, nm = {}.hasOwnProperty, PP = Object.prototype;
16558
+ }, n0 = {}.hasOwnProperty, PP = Object.prototype;
16559
16559
  function NP(e, t) {
16560
16560
  const n = t || {};
16561
16561
  return Uc(
@@ -16586,7 +16586,7 @@ function Uc(e, t) {
16586
16586
  ), i = "mode" in r ? r.mode === "quirks" || r.mode === "limited-quirks" : !1;
16587
16587
  if (n = {
16588
16588
  type: "root",
16589
- children: rm(e, t.childNodes),
16589
+ children: r0(e, t.childNodes),
16590
16590
  data: { quirksMode: i }
16591
16591
  }, e.file && e.location) {
16592
16592
  const s = String(e.file), o = xP(s), a = o.toPoint(0), u = o.toPoint(s.length);
@@ -16617,7 +16617,7 @@ function Uc(e, t) {
16617
16617
  ), n;
16618
16618
  }
16619
16619
  }
16620
- function rm(e, t) {
16620
+ function r0(e, t) {
16621
16621
  let n = -1;
16622
16622
  const r = [];
16623
16623
  for (; ++n < t.length; ) {
@@ -16636,9 +16636,9 @@ function OP(e, t) {
16636
16636
  const i = {};
16637
16637
  for (; ++r < t.attrs.length; ) {
16638
16638
  const a = t.attrs[r], u = (a.prefix ? a.prefix + ":" : "") + a.name;
16639
- nm.call(PP, u) || (i[u] = a.value);
16639
+ n0.call(PP, u) || (i[u] = a.value);
16640
16640
  }
16641
- const o = (e.schema.space === "svg" ? CP : SP)(t.tagName, i, rm(e, t.childNodes));
16641
+ const o = (e.schema.space === "svg" ? CP : SP)(t.tagName, i, r0(e, t.childNodes));
16642
16642
  if (co(e, t, o), o.tagName === "template") {
16643
16643
  const a = (
16644
16644
  /** @type {DefaultTreeAdapterMap['template']} */
@@ -16666,7 +16666,7 @@ function IP(e, t, n) {
16666
16666
  let o;
16667
16667
  if (n.attrs)
16668
16668
  for (o in n.attrs)
16669
- nm.call(n.attrs, o) && (s[jo(e.schema, o).property] = Jr(
16669
+ n0.call(n.attrs, o) && (s[jo(e.schema, o).property] = Jr(
16670
16670
  n.attrs[o]
16671
16671
  ));
16672
16672
  n.startTag;
@@ -16692,7 +16692,7 @@ function sf(e) {
16692
16692
  return e.line && e.column ? e : void 0;
16693
16693
  }
16694
16694
  const of = {}.hasOwnProperty;
16695
- function im(e, t) {
16695
+ function i0(e, t) {
16696
16696
  const n = t || {};
16697
16697
  function r(i, ...s) {
16698
16698
  let o = r.invalid;
@@ -16706,10 +16706,10 @@ function im(e, t) {
16706
16706
  }
16707
16707
  return r.handlers = n.handlers || {}, r.invalid = n.invalid, r.unknown = n.unknown, r;
16708
16708
  }
16709
- const wP = {}, kP = {}.hasOwnProperty, sm = im("type", { handlers: { root: LP, element: BP, text: MP, comment: FP, doctype: DP } });
16709
+ const wP = {}, kP = {}.hasOwnProperty, s0 = i0("type", { handlers: { root: LP, element: BP, text: MP, comment: FP, doctype: DP } });
16710
16710
  function RP(e, t) {
16711
16711
  const r = (t || wP).space;
16712
- return sm(e, r === "svg" ? lr : xs);
16712
+ return s0(e, r === "svg" ? lr : xs);
16713
16713
  }
16714
16714
  function LP(e, t) {
16715
16715
  const n = {
@@ -16782,7 +16782,7 @@ function UP(e, t, n) {
16782
16782
  const r = jo(e, t);
16783
16783
  if (n === !1 || n === null || n === void 0 || typeof n == "number" && Number.isNaN(n) || !n && r.boolean)
16784
16784
  return;
16785
- Array.isArray(n) && (n = r.commaSeparated ? m0(n) : S0(n));
16785
+ Array.isArray(n) && (n = r.commaSeparated ? mm(n) : Sm(n));
16786
16786
  const i = {
16787
16787
  name: r.attribute,
16788
16788
  value: n === !0 ? "" : String(n)
@@ -16798,7 +16798,7 @@ function Hc(e, t, n) {
16798
16798
  const i = [];
16799
16799
  if (e)
16800
16800
  for (; ++r < e.length; ) {
16801
- const s = sm(e[r], n);
16801
+ const s = s0(e[r], n);
16802
16802
  s.parentNode = t, i.push(s);
16803
16803
  }
16804
16804
  return i;
@@ -16883,7 +16883,7 @@ const Dt = {
16883
16883
  PUBLIC: "public",
16884
16884
  SYSTEM: "system"
16885
16885
  };
16886
- function om(e) {
16886
+ function o0(e) {
16887
16887
  return e >= 55296 && e <= 57343;
16888
16888
  }
16889
16889
  function zP(e) {
@@ -16892,10 +16892,10 @@ function zP(e) {
16892
16892
  function qP(e, t) {
16893
16893
  return (e - 55296) * 1024 + 9216 + t;
16894
16894
  }
16895
- function am(e) {
16895
+ function a0(e) {
16896
16896
  return e !== 32 && e !== 10 && e !== 13 && e !== 9 && e !== 12 && e >= 1 && e <= 31 || e >= 127 && e <= 159;
16897
16897
  }
16898
- function um(e) {
16898
+ function u0(e) {
16899
16899
  return e >= 64976 && e <= 65007 || $P.has(e);
16900
16900
  }
16901
16901
  var F;
@@ -16974,10 +16974,10 @@ class YP {
16974
16974
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
16975
16975
  return this.endOfChunkHit = !this.lastChunkWritten, _.EOF;
16976
16976
  let t = this.html.charCodeAt(this.pos);
16977
- return t === _.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, _.LINE_FEED) : t === _.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, om(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === _.LINE_FEED || t === _.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
16977
+ return t === _.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, _.LINE_FEED) : t === _.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, o0(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === _.LINE_FEED || t === _.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
16978
16978
  }
16979
16979
  _checkForProblematicCharacters(t) {
16980
- am(t) ? this._err(F.controlCharacterInInputStream) : um(t) && this._err(F.noncharacterInInputStream);
16980
+ a0(t) ? this._err(F.controlCharacterInInputStream) : u0(t) && this._err(F.noncharacterInInputStream);
16981
16981
  }
16982
16982
  retreat(t) {
16983
16983
  for (this.pos -= t; this.pos < this.lastGapPos; )
@@ -16989,7 +16989,7 @@ var _e;
16989
16989
  (function(e) {
16990
16990
  e[e.CHARACTER = 0] = "CHARACTER", e[e.NULL_CHARACTER = 1] = "NULL_CHARACTER", e[e.WHITESPACE_CHARACTER = 2] = "WHITESPACE_CHARACTER", e[e.START_TAG = 3] = "START_TAG", e[e.END_TAG = 4] = "END_TAG", e[e.COMMENT = 5] = "COMMENT", e[e.DOCTYPE = 6] = "DOCTYPE", e[e.EOF = 7] = "EOF", e[e.HIBERNATION = 8] = "HIBERNATION";
16991
16991
  })(_e || (_e = {}));
16992
- function cm(e, t) {
16992
+ function c0(e, t) {
16993
16993
  for (let n = e.attrs.length - 1; n >= 0; n--)
16994
16994
  if (e.attrs[n].name === t)
16995
16995
  return e.attrs[n].value;
@@ -17540,14 +17540,14 @@ function af(e) {
17540
17540
  function Ys(e) {
17541
17541
  return e + 32;
17542
17542
  }
17543
- function lm(e) {
17543
+ function l0(e) {
17544
17544
  return e === _.SPACE || e === _.LINE_FEED || e === _.TABULATION || e === _.FORM_FEED;
17545
17545
  }
17546
17546
  function uf(e) {
17547
- return lm(e) || e === _.SOLIDUS || e === _.GREATER_THAN_SIGN;
17547
+ return l0(e) || e === _.SOLIDUS || e === _.GREATER_THAN_SIGN;
17548
17548
  }
17549
17549
  function sN(e) {
17550
- return e === _.NULL ? F.nullCharacterReference : e > 1114111 ? F.characterReferenceOutsideUnicodeRange : om(e) ? F.surrogateCharacterReference : um(e) ? F.noncharacterCharacterReference : am(e) || e === _.CARRIAGE_RETURN ? F.controlCharacterReference : null;
17550
+ return e === _.NULL ? F.nullCharacterReference : e > 1114111 ? F.characterReferenceOutsideUnicodeRange : o0(e) ? F.surrogateCharacterReference : u0(e) ? F.noncharacterCharacterReference : a0(e) || e === _.CARRIAGE_RETURN ? F.controlCharacterReference : null;
17551
17551
  }
17552
17552
  class oN {
17553
17553
  constructor(t, n) {
@@ -17680,7 +17680,7 @@ class oN {
17680
17680
  _leaveAttrName() {
17681
17681
  var t, n;
17682
17682
  const r = this.currentToken;
17683
- if (cm(r, this.currentAttr.name) === null) {
17683
+ if (c0(r, this.currentAttr.name) === null) {
17684
17684
  if (r.attrs.push(this.currentAttr), r.location && this.currentLocation) {
17685
17685
  const i = (t = (n = r.location).attrs) !== null && t !== void 0 ? t : n.attrs = /* @__PURE__ */ Object.create(null);
17686
17686
  i[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
@@ -17747,7 +17747,7 @@ class oN {
17747
17747
  this._createCharacterToken(t, n);
17748
17748
  }
17749
17749
  _emitCodePoint(t) {
17750
- const n = lm(t) ? _e.WHITESPACE_CHARACTER : t === _.NULL ? _e.NULL_CHARACTER : _e.CHARACTER;
17750
+ const n = l0(t) ? _e.WHITESPACE_CHARACTER : t === _.NULL ? _e.NULL_CHARACTER : _e.CHARACTER;
17751
17751
  this._appendCharToCurrentCharacterToken(n, String.fromCodePoint(t));
17752
17752
  }
17753
17753
  //NOTE: used when we emit characters explicitly.
@@ -19439,8 +19439,8 @@ class oN {
19439
19439
  af(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === _.SEMICOLON && this._err(F.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
19440
19440
  }
19441
19441
  }
19442
- const dm = /* @__PURE__ */ new Set([f.DD, f.DT, f.LI, f.OPTGROUP, f.OPTION, f.P, f.RB, f.RP, f.RT, f.RTC]), cf = /* @__PURE__ */ new Set([
19443
- ...dm,
19442
+ const d0 = /* @__PURE__ */ new Set([f.DD, f.DT, f.LI, f.OPTGROUP, f.OPTION, f.P, f.RB, f.RP, f.RT, f.RTC]), cf = /* @__PURE__ */ new Set([
19443
+ ...d0,
19444
19444
  f.CAPTION,
19445
19445
  f.COLGROUP,
19446
19446
  f.TBODY,
@@ -19663,7 +19663,7 @@ class hN {
19663
19663
  }
19664
19664
  //Implied end tags
19665
19665
  generateImpliedEndTags() {
19666
- for (; this.currentTagId !== void 0 && dm.has(this.currentTagId); )
19666
+ for (; this.currentTagId !== void 0 && d0.has(this.currentTagId); )
19667
19667
  this.pop();
19668
19668
  }
19669
19669
  generateImpliedEndTagsThoroughly() {
@@ -19913,7 +19913,7 @@ const tr = {
19913
19913
  updateNodeSourceCodeLocation(e, t) {
19914
19914
  e.sourceCodeLocation = P(P({}, e.sourceCodeLocation), t);
19915
19915
  }
19916
- }, fm = "html", mN = "about:legacy-compat", gN = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", hm = [
19916
+ }, f0 = "html", mN = "about:legacy-compat", gN = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", h0 = [
19917
19917
  "+//silmaril//dtd html pro v0r11 19970101//",
19918
19918
  "-//as//dtd html 3.0 aswedit + extensions//",
19919
19919
  "-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
@@ -19970,15 +19970,15 @@ const tr = {
19970
19970
  "-//webtechs//dtd mozilla html 2.0//",
19971
19971
  "-//webtechs//dtd mozilla html//"
19972
19972
  ], EN = [
19973
- ...hm,
19973
+ ...h0,
19974
19974
  "-//w3c//dtd html 4.01 frameset//",
19975
19975
  "-//w3c//dtd html 4.01 transitional//"
19976
19976
  ], bN = /* @__PURE__ */ new Set([
19977
19977
  "-//w3o//dtd w3 html strict 3.0//en//",
19978
19978
  "-/w3c/dtd html 4.0 transitional/en",
19979
19979
  "html"
19980
- ]), pm = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], TN = [
19981
- ...pm,
19980
+ ]), p0 = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], TN = [
19981
+ ...p0,
19982
19982
  "-//w3c//dtd html 4.01 frameset//",
19983
19983
  "-//w3c//dtd html 4.01 transitional//"
19984
19984
  ];
@@ -19986,10 +19986,10 @@ function hf(e, t) {
19986
19986
  return t.some((n) => e.startsWith(n));
19987
19987
  }
19988
19988
  function yN(e) {
19989
- return e.name === fm && e.publicId === null && (e.systemId === null || e.systemId === mN);
19989
+ return e.name === f0 && e.publicId === null && (e.systemId === null || e.systemId === mN);
19990
19990
  }
19991
19991
  function _N(e) {
19992
- if (e.name !== fm)
19992
+ if (e.name !== f0)
19993
19993
  return nn.QUIRKS;
19994
19994
  const { systemId: t } = e;
19995
19995
  if (t && t.toLowerCase() === gN)
@@ -19998,10 +19998,10 @@ function _N(e) {
19998
19998
  if (n !== null) {
19999
19999
  if (n = n.toLowerCase(), bN.has(n))
20000
20000
  return nn.QUIRKS;
20001
- let r = t === null ? EN : hm;
20001
+ let r = t === null ? EN : h0;
20002
20002
  if (hf(n, r))
20003
20003
  return nn.QUIRKS;
20004
- if (r = t === null ? pm : TN, hf(n, r))
20004
+ if (r = t === null ? p0 : TN, hf(n, r))
20005
20005
  return nn.LIMITED_QUIRKS;
20006
20006
  }
20007
20007
  return nn.NO_QUIRKS;
@@ -20167,14 +20167,14 @@ function ON(e) {
20167
20167
  const t = e.tagID;
20168
20168
  return t === f.FONT && e.attrs.some(({ name: r }) => r === Nr.COLOR || r === Nr.SIZE || r === Nr.FACE) || NN.has(t);
20169
20169
  }
20170
- function mm(e) {
20170
+ function m0(e) {
20171
20171
  for (let t = 0; t < e.attrs.length; t++)
20172
20172
  if (e.attrs[t].name === AN) {
20173
20173
  e.attrs[t].name = SN;
20174
20174
  break;
20175
20175
  }
20176
20176
  }
20177
- function gm(e) {
20177
+ function g0(e) {
20178
20178
  for (let t = 0; t < e.attrs.length; t++) {
20179
20179
  const n = CN.get(e.attrs[t].name);
20180
20180
  n != null && (e.attrs[t].name = n);
@@ -20218,7 +20218,7 @@ const MN = {
20218
20218
  endLine: -1,
20219
20219
  endCol: -1,
20220
20220
  endOffset: -1
20221
- }, Em = /* @__PURE__ */ new Set([f.TABLE, f.TBODY, f.TFOOT, f.THEAD, f.TR]), mf = {
20221
+ }, E0 = /* @__PURE__ */ new Set([f.TABLE, f.TBODY, f.TFOOT, f.THEAD, f.TR]), mf = {
20222
20222
  scriptingEnabled: !0,
20223
20223
  sourceCodeLocationInfo: !1,
20224
20224
  treeAdapter: tr,
@@ -20580,7 +20580,7 @@ class gf {
20580
20580
  //Foster parenting
20581
20581
  /** @protected */
20582
20582
  _isElementCausesFosterParenting(t) {
20583
- return Em.has(t);
20583
+ return E0.has(t);
20584
20584
  }
20585
20585
  /** @protected */
20586
20586
  _shouldFosterParentOnInsertion() {
@@ -20650,7 +20650,7 @@ class gf {
20650
20650
  case N.IN_CAPTION:
20651
20651
  case N.IN_CELL:
20652
20652
  case N.IN_TEMPLATE: {
20653
- Tm(this, t);
20653
+ T0(this, t);
20654
20654
  break;
20655
20655
  }
20656
20656
  case N.TEXT:
@@ -20666,7 +20666,7 @@ class gf {
20666
20666
  break;
20667
20667
  }
20668
20668
  case N.IN_TABLE_TEXT: {
20669
- xm(this, t);
20669
+ x0(this, t);
20670
20670
  break;
20671
20671
  }
20672
20672
  case N.IN_COLUMN_GROUP: {
@@ -20879,7 +20879,7 @@ class gf {
20879
20879
  break;
20880
20880
  }
20881
20881
  case N.IN_SELECT: {
20882
- Om(this, t);
20882
+ O0(this, t);
20883
20883
  break;
20884
20884
  }
20885
20885
  case N.IN_SELECT_IN_TABLE: {
@@ -20972,7 +20972,7 @@ class gf {
20972
20972
  break;
20973
20973
  }
20974
20974
  case N.IN_ROW: {
20975
- Nm(this, t);
20975
+ N0(this, t);
20976
20976
  break;
20977
20977
  }
20978
20978
  case N.IN_CELL: {
@@ -20980,7 +20980,7 @@ class gf {
20980
20980
  break;
20981
20981
  }
20982
20982
  case N.IN_SELECT: {
20983
- Im(this, t);
20983
+ I0(this, t);
20984
20984
  break;
20985
20985
  }
20986
20986
  case N.IN_SELECT_IN_TABLE: {
@@ -20992,7 +20992,7 @@ class gf {
20992
20992
  break;
20993
20993
  }
20994
20994
  case N.AFTER_BODY: {
20995
- km(this, t);
20995
+ k0(this, t);
20996
20996
  break;
20997
20997
  }
20998
20998
  case N.IN_FRAMESET: {
@@ -21045,7 +21045,7 @@ class gf {
21045
21045
  case N.IN_CELL:
21046
21046
  case N.IN_SELECT:
21047
21047
  case N.IN_SELECT_IN_TABLE: {
21048
- Sm(this, t);
21048
+ S0(this, t);
21049
21049
  break;
21050
21050
  }
21051
21051
  case N.TEXT: {
@@ -21057,7 +21057,7 @@ class gf {
21057
21057
  break;
21058
21058
  }
21059
21059
  case N.IN_TEMPLATE: {
21060
- wm(this, t);
21060
+ w0(this, t);
21061
21061
  break;
21062
21062
  }
21063
21063
  case N.AFTER_BODY:
@@ -21101,7 +21101,7 @@ class gf {
21101
21101
  case N.AFTER_BODY:
21102
21102
  case N.AFTER_AFTER_BODY:
21103
21103
  case N.AFTER_AFTER_FRAMESET: {
21104
- bm(this, t);
21104
+ b0(this, t);
21105
21105
  break;
21106
21106
  }
21107
21107
  case N.IN_TABLE:
@@ -21111,7 +21111,7 @@ class gf {
21111
21111
  break;
21112
21112
  }
21113
21113
  case N.IN_TABLE_TEXT: {
21114
- Cm(this, t);
21114
+ C0(this, t);
21115
21115
  break;
21116
21116
  }
21117
21117
  }
@@ -21119,7 +21119,7 @@ class gf {
21119
21119
  }
21120
21120
  function FN(e, t) {
21121
21121
  let n = e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);
21122
- return n ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), n = null) : Am(e, t), n;
21122
+ return n ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), n = null) : A0(e, t), n;
21123
21123
  }
21124
21124
  function BN(e, t) {
21125
21125
  let n = null, r = e.openElements.stackTop;
@@ -21400,11 +21400,11 @@ function ts(e, t) {
21400
21400
  function ea(e, t) {
21401
21401
  switch (t.type) {
21402
21402
  case _e.CHARACTER: {
21403
- Tm(e, t);
21403
+ T0(e, t);
21404
21404
  break;
21405
21405
  }
21406
21406
  case _e.WHITESPACE_CHARACTER: {
21407
- bm(e, t);
21407
+ b0(e, t);
21408
21408
  break;
21409
21409
  }
21410
21410
  case _e.COMMENT: {
@@ -21420,15 +21420,15 @@ function ea(e, t) {
21420
21420
  break;
21421
21421
  }
21422
21422
  case _e.EOF: {
21423
- Sm(e, t);
21423
+ S0(e, t);
21424
21424
  break;
21425
21425
  }
21426
21426
  }
21427
21427
  }
21428
- function bm(e, t) {
21428
+ function b0(e, t) {
21429
21429
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
21430
21430
  }
21431
- function Tm(e, t) {
21431
+ function T0(e, t) {
21432
21432
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
21433
21433
  }
21434
21434
  function tO(e, t) {
@@ -21491,15 +21491,15 @@ function pO(e, t) {
21491
21491
  function mO(e, t) {
21492
21492
  e.treeAdapter.getDocumentMode(e.document) !== nn.QUIRKS && e.openElements.hasInButtonScope(f.P) && e._closePElement(), e._insertElement(t, q.HTML), e.framesetOk = !1, e.insertionMode = N.IN_TABLE;
21493
21493
  }
21494
- function ym(e, t) {
21494
+ function y0(e, t) {
21495
21495
  e._reconstructActiveFormattingElements(), e._appendElement(t, q.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
21496
21496
  }
21497
- function _m(e) {
21498
- const t = cm(e, Nr.TYPE);
21497
+ function _0(e) {
21498
+ const t = c0(e, Nr.TYPE);
21499
21499
  return t != null && t.toLowerCase() === LN;
21500
21500
  }
21501
21501
  function gO(e, t) {
21502
- e._reconstructActiveFormattingElements(), e._appendElement(t, q.HTML), _m(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
21502
+ e._reconstructActiveFormattingElements(), e._appendElement(t, q.HTML), _0(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
21503
21503
  }
21504
21504
  function EO(e, t) {
21505
21505
  e._appendElement(t, q.HTML), t.ackSelfClosing = !0;
@@ -21508,7 +21508,7 @@ function bO(e, t) {
21508
21508
  e.openElements.hasInButtonScope(f.P) && e._closePElement(), e._appendElement(t, q.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
21509
21509
  }
21510
21510
  function TO(e, t) {
21511
- t.tagName = M.IMG, t.tagID = f.IMG, ym(e, t);
21511
+ t.tagName = M.IMG, t.tagID = f.IMG, y0(e, t);
21512
21512
  }
21513
21513
  function yO(e, t) {
21514
21514
  e._insertElement(t, q.HTML), e.skipNextNewLine = !0, e.tokenizer.state = Qe.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = N.TEXT;
@@ -21535,10 +21535,10 @@ function PO(e, t) {
21535
21535
  e.openElements.hasInScope(f.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(f.RTC), e._insertElement(t, q.HTML);
21536
21536
  }
21537
21537
  function NO(e, t) {
21538
- e._reconstructActiveFormattingElements(), mm(t), $c(t), t.selfClosing ? e._appendElement(t, q.MATHML) : e._insertElement(t, q.MATHML), t.ackSelfClosing = !0;
21538
+ e._reconstructActiveFormattingElements(), m0(t), $c(t), t.selfClosing ? e._appendElement(t, q.MATHML) : e._insertElement(t, q.MATHML), t.ackSelfClosing = !0;
21539
21539
  }
21540
21540
  function OO(e, t) {
21541
- e._reconstructActiveFormattingElements(), gm(t), $c(t), t.selfClosing ? e._appendElement(t, q.SVG) : e._insertElement(t, q.SVG), t.ackSelfClosing = !0;
21541
+ e._reconstructActiveFormattingElements(), g0(t), $c(t), t.selfClosing ? e._appendElement(t, q.SVG) : e._insertElement(t, q.SVG), t.ackSelfClosing = !0;
21542
21542
  }
21543
21543
  function bf(e, t) {
21544
21544
  e._reconstructActiveFormattingElements(), e._insertElement(t, q.HTML);
@@ -21613,7 +21613,7 @@ function Pt(e, t) {
21613
21613
  case f.AREA:
21614
21614
  case f.EMBED:
21615
21615
  case f.KEYGEN: {
21616
- ym(e, t);
21616
+ y0(e, t);
21617
21617
  break;
21618
21618
  }
21619
21619
  case f.HR: {
@@ -21760,7 +21760,7 @@ function IO(e, t) {
21760
21760
  }
21761
21761
  }
21762
21762
  function wO(e, t) {
21763
- e.openElements.hasInScope(f.BODY) && (e.insertionMode = N.AFTER_BODY, km(e, t));
21763
+ e.openElements.hasInScope(f.BODY) && (e.insertionMode = N.AFTER_BODY, k0(e, t));
21764
21764
  }
21765
21765
  function kO(e, t) {
21766
21766
  const n = t.tagID;
@@ -21790,7 +21790,7 @@ function FO(e, t) {
21790
21790
  function BO(e) {
21791
21791
  e._reconstructActiveFormattingElements(), e._insertFakeElement(M.BR, f.BR), e.openElements.pop(), e.framesetOk = !1;
21792
21792
  }
21793
- function Am(e, t) {
21793
+ function A0(e, t) {
21794
21794
  const n = t.tagName, r = t.tagID;
21795
21795
  for (let i = e.openElements.stackTop; i > 0; i--) {
21796
21796
  const s = e.openElements.items[i], o = e.openElements.tagIDs[i];
@@ -21900,11 +21900,11 @@ function ta(e, t) {
21900
21900
  break;
21901
21901
  }
21902
21902
  default:
21903
- Am(e, t);
21903
+ A0(e, t);
21904
21904
  }
21905
21905
  }
21906
- function Sm(e, t) {
21907
- e.tmplInsertionModeStack.length > 0 ? wm(e, t) : qc(e, t);
21906
+ function S0(e, t) {
21907
+ e.tmplInsertionModeStack.length > 0 ? w0(e, t) : qc(e, t);
21908
21908
  }
21909
21909
  function UO(e, t) {
21910
21910
  var n;
@@ -21914,14 +21914,14 @@ function HO(e, t) {
21914
21914
  e._err(t, F.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
21915
21915
  }
21916
21916
  function ja(e, t) {
21917
- if (e.openElements.currentTagId !== void 0 && Em.has(e.openElements.currentTagId))
21917
+ if (e.openElements.currentTagId !== void 0 && E0.has(e.openElements.currentTagId))
21918
21918
  switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = N.IN_TABLE_TEXT, t.type) {
21919
21919
  case _e.CHARACTER: {
21920
- xm(e, t);
21920
+ x0(e, t);
21921
21921
  break;
21922
21922
  }
21923
21923
  case _e.WHITESPACE_CHARACTER: {
21924
- Cm(e, t);
21924
+ C0(e, t);
21925
21925
  break;
21926
21926
  }
21927
21927
  }
@@ -21947,7 +21947,7 @@ function jO(e, t) {
21947
21947
  e.openElements.hasInTableScope(f.TABLE) && (e.openElements.popUntilTagNamePopped(f.TABLE), e._resetInsertionMode(), e._processStartTag(t));
21948
21948
  }
21949
21949
  function GO(e, t) {
21950
- _m(t) ? e._appendElement(t, q.HTML) : Os(e, t), t.ackSelfClosing = !0;
21950
+ _0(t) ? e._appendElement(t, q.HTML) : Os(e, t), t.ackSelfClosing = !0;
21951
21951
  }
21952
21952
  function WO(e, t) {
21953
21953
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, q.HTML), e.formElement = e.openElements.current, e.openElements.pop());
@@ -22030,10 +22030,10 @@ function Os(e, t) {
22030
22030
  const n = e.fosterParentingEnabled;
22031
22031
  e.fosterParentingEnabled = !0, ea(e, t), e.fosterParentingEnabled = n;
22032
22032
  }
22033
- function Cm(e, t) {
22033
+ function C0(e, t) {
22034
22034
  e.pendingCharacterTokens.push(t);
22035
22035
  }
22036
- function xm(e, t) {
22036
+ function x0(e, t) {
22037
22037
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
22038
22038
  }
22039
22039
  function Bi(e, t) {
@@ -22046,10 +22046,10 @@ function Bi(e, t) {
22046
22046
  e._insertCharacters(e.pendingCharacterTokens[n]);
22047
22047
  e.insertionMode = e.originalInsertionMode, e._processToken(t);
22048
22048
  }
22049
- const Pm = /* @__PURE__ */ new Set([f.CAPTION, f.COL, f.COLGROUP, f.TBODY, f.TD, f.TFOOT, f.TH, f.THEAD, f.TR]);
22049
+ const P0 = /* @__PURE__ */ new Set([f.CAPTION, f.COL, f.COLGROUP, f.TBODY, f.TD, f.TFOOT, f.TH, f.THEAD, f.TR]);
22050
22050
  function XO(e, t) {
22051
22051
  const n = t.tagID;
22052
- Pm.has(n) ? e.openElements.hasInTableScope(f.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(f.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = N.IN_TABLE, ui(e, t)) : Pt(e, t);
22052
+ P0.has(n) ? e.openElements.hasInTableScope(f.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(f.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = N.IN_TABLE, ui(e, t)) : Pt(e, t);
22053
22053
  }
22054
22054
  function KO(e, t) {
22055
22055
  const n = t.tagID;
@@ -22182,7 +22182,7 @@ function ra(e, t) {
22182
22182
  ui(e, t);
22183
22183
  }
22184
22184
  }
22185
- function Nm(e, t) {
22185
+ function N0(e, t) {
22186
22186
  switch (t.tagID) {
22187
22187
  case f.TR: {
22188
22188
  e.openElements.hasInTableScope(f.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = N.IN_TABLE_BODY);
@@ -22212,7 +22212,7 @@ function Nm(e, t) {
22212
22212
  }
22213
22213
  function JO(e, t) {
22214
22214
  const n = t.tagID;
22215
- Pm.has(n) ? (e.openElements.hasInTableScope(f.TD) || e.openElements.hasInTableScope(f.TH)) && (e._closeTableCell(), ra(e, t)) : Pt(e, t);
22215
+ P0.has(n) ? (e.openElements.hasInTableScope(f.TD) || e.openElements.hasInTableScope(f.TH)) && (e._closeTableCell(), ra(e, t)) : Pt(e, t);
22216
22216
  }
22217
22217
  function ZO(e, t) {
22218
22218
  const n = t.tagID;
@@ -22227,7 +22227,7 @@ function ZO(e, t) {
22227
22227
  case f.TFOOT:
22228
22228
  case f.THEAD:
22229
22229
  case f.TR: {
22230
- e.openElements.hasInTableScope(n) && (e._closeTableCell(), Nm(e, t));
22230
+ e.openElements.hasInTableScope(n) && (e._closeTableCell(), N0(e, t));
22231
22231
  break;
22232
22232
  }
22233
22233
  case f.BODY:
@@ -22240,7 +22240,7 @@ function ZO(e, t) {
22240
22240
  ta(e, t);
22241
22241
  }
22242
22242
  }
22243
- function Om(e, t) {
22243
+ function O0(e, t) {
22244
22244
  switch (t.tagID) {
22245
22245
  case f.HTML: {
22246
22246
  Pt(e, t);
@@ -22272,7 +22272,7 @@ function Om(e, t) {
22272
22272
  }
22273
22273
  }
22274
22274
  }
22275
- function Im(e, t) {
22275
+ function I0(e, t) {
22276
22276
  switch (t.tagID) {
22277
22277
  case f.OPTGROUP: {
22278
22278
  e.openElements.stackTop > 0 && e.openElements.currentTagId === f.OPTION && e.openElements.tagIDs[e.openElements.stackTop - 1] === f.OPTGROUP && e.openElements.pop(), e.openElements.currentTagId === f.OPTGROUP && e.openElements.pop();
@@ -22294,11 +22294,11 @@ function Im(e, t) {
22294
22294
  }
22295
22295
  function eI(e, t) {
22296
22296
  const n = t.tagID;
22297
- n === f.CAPTION || n === f.TABLE || n === f.TBODY || n === f.TFOOT || n === f.THEAD || n === f.TR || n === f.TD || n === f.TH ? (e.openElements.popUntilTagNamePopped(f.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : Om(e, t);
22297
+ n === f.CAPTION || n === f.TABLE || n === f.TBODY || n === f.TFOOT || n === f.THEAD || n === f.TR || n === f.TD || n === f.TH ? (e.openElements.popUntilTagNamePopped(f.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : O0(e, t);
22298
22298
  }
22299
22299
  function tI(e, t) {
22300
22300
  const n = t.tagID;
22301
- n === f.CAPTION || n === f.TABLE || n === f.TBODY || n === f.TFOOT || n === f.THEAD || n === f.TR || n === f.TD || n === f.TH ? e.openElements.hasInTableScope(n) && (e.openElements.popUntilTagNamePopped(f.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : Im(e, t);
22301
+ n === f.CAPTION || n === f.TABLE || n === f.TBODY || n === f.TFOOT || n === f.THEAD || n === f.TR || n === f.TD || n === f.TH ? e.openElements.hasInTableScope(n) && (e.openElements.popUntilTagNamePopped(f.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : I0(e, t);
22302
22302
  }
22303
22303
  function nI(e, t) {
22304
22304
  switch (t.tagID) {
@@ -22345,13 +22345,13 @@ function nI(e, t) {
22345
22345
  function rI(e, t) {
22346
22346
  t.tagID === f.TEMPLATE && Br(e, t);
22347
22347
  }
22348
- function wm(e, t) {
22348
+ function w0(e, t) {
22349
22349
  e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(f.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : qc(e, t);
22350
22350
  }
22351
22351
  function iI(e, t) {
22352
22352
  t.tagID === f.HTML ? Pt(e, t) : Oo(e, t);
22353
22353
  }
22354
- function km(e, t) {
22354
+ function k0(e, t) {
22355
22355
  var n;
22356
22356
  if (t.tagID === f.HTML) {
22357
22357
  if (e.fragmentContext || (e.insertionMode = N.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === f.HTML) {
@@ -22427,21 +22427,21 @@ function dI(e, t) {
22427
22427
  function fI(e, t) {
22428
22428
  e._insertCharacters(t), e.framesetOk = !1;
22429
22429
  }
22430
- function Rm(e) {
22430
+ function R0(e) {
22431
22431
  for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== q.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
22432
22432
  e.openElements.pop();
22433
22433
  }
22434
22434
  function hI(e, t) {
22435
22435
  if (ON(t))
22436
- Rm(e), e._startTagOutsideForeignContent(t);
22436
+ R0(e), e._startTagOutsideForeignContent(t);
22437
22437
  else {
22438
22438
  const n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
22439
- r === q.MATHML ? mm(t) : r === q.SVG && (IN(t), gm(t)), $c(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
22439
+ r === q.MATHML ? m0(t) : r === q.SVG && (IN(t), g0(t)), $c(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
22440
22440
  }
22441
22441
  }
22442
22442
  function pI(e, t) {
22443
22443
  if (t.tagID === f.P || t.tagID === f.BR) {
22444
- Rm(e), e._endTagOutsideForeignContent(t);
22444
+ R0(e), e._endTagOutsideForeignContent(t);
22445
22445
  return;
22446
22446
  }
22447
22447
  for (let n = e.openElements.stackTop; n > 0; n--) {
@@ -22465,9 +22465,9 @@ const mI = /<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title
22465
22465
  "mdxTextExpression",
22466
22466
  "mdxjsEsm"
22467
22467
  ]), Tf = { sourceCodeLocationInfo: !0, scriptingEnabled: !1 };
22468
- function Lm(e, t) {
22469
- const n = PI(e), r = im("type", {
22470
- handlers: { root: EI, element: bI, text: TI, comment: Dm, doctype: yI, raw: AI },
22468
+ function L0(e, t) {
22469
+ const n = PI(e), r = i0("type", {
22470
+ handlers: { root: EI, element: bI, text: TI, comment: D0, doctype: yI, raw: AI },
22471
22471
  unknown: SI
22472
22472
  }), i = {
22473
22473
  parser: n ? new gf(Tf) : gf.getFragmentParser(void 0, Tf),
@@ -22494,17 +22494,17 @@ function Lm(e, t) {
22494
22494
  }
22495
22495
  }), o.type === "root" && o.children.length === 1 && o.children[0].type === e.type ? o.children[0] : o;
22496
22496
  }
22497
- function vm(e, t) {
22497
+ function v0(e, t) {
22498
22498
  let n = -1;
22499
22499
  if (e)
22500
22500
  for (; ++n < e.length; )
22501
22501
  t.handle(e[n]);
22502
22502
  }
22503
22503
  function EI(e, t) {
22504
- vm(e.children, t);
22504
+ v0(e.children, t);
22505
22505
  }
22506
22506
  function bI(e, t) {
22507
- CI(e, t), vm(e.children, t), xI(e, t);
22507
+ CI(e, t), v0(e.children, t), xI(e, t);
22508
22508
  }
22509
22509
  function TI(e, t) {
22510
22510
  t.parser.tokenizer.state > 4 && (t.parser.tokenizer.state = 0);
@@ -22532,13 +22532,13 @@ function _I(e, t) {
22532
22532
  if ("children" in e && "children" in n) {
22533
22533
  const r = (
22534
22534
  /** @type {Root} */
22535
- Lm({ type: "root", children: e.children }, t.options)
22535
+ L0({ type: "root", children: e.children }, t.options)
22536
22536
  );
22537
22537
  n.children = r.children;
22538
22538
  }
22539
- Dm({ type: "comment", value: { stitch: n } }, t);
22539
+ D0({ type: "comment", value: { stitch: n } }, t);
22540
22540
  }
22541
- function Dm(e, t) {
22541
+ function D0(e, t) {
22542
22542
  const n = e.value, r = {
22543
22543
  type: _e.COMMENT,
22544
22544
  data: n,
@@ -22547,7 +22547,7 @@ function Dm(e, t) {
22547
22547
  _i(t, wn(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
22548
22548
  }
22549
22549
  function AI(e, t) {
22550
- if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, Mm(t, wn(e)), t.parser.tokenizer.write(
22550
+ if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, M0(t, wn(e)), t.parser.tokenizer.write(
22551
22551
  t.options.tagfilter ? e.value.replace(mI, "&lt;$1$2") : e.value,
22552
22552
  !1
22553
22553
  ), t.parser.tokenizer._runParsingLoop(), t.parser.tokenizer.state === 72 || // @ts-expect-error: removed.
@@ -22570,11 +22570,11 @@ function SI(e, t) {
22570
22570
  }
22571
22571
  }
22572
22572
  function _i(e, t) {
22573
- Mm(e, t);
22573
+ M0(e, t);
22574
22574
  const n = e.parser.tokenizer.currentCharacterToken;
22575
22575
  n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = Qe.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
22576
22576
  }
22577
- function Mm(e, t) {
22577
+ function M0(e, t) {
22578
22578
  if (t && t.offset !== void 0) {
22579
22579
  const n = {
22580
22580
  startLine: t.line,
@@ -22657,11 +22657,11 @@ function Is(e) {
22657
22657
  function NI(e) {
22658
22658
  return "children" in e ? Lr(V(P({}, e), { children: [] })) : Lr(e);
22659
22659
  }
22660
- function Fm(e) {
22660
+ function F0(e) {
22661
22661
  return function(t, n) {
22662
22662
  return (
22663
22663
  /** @type {Root} */
22664
- Lm(t, V(P({}, e), { file: n }))
22664
+ L0(t, V(P({}, e), { file: n }))
22665
22665
  );
22666
22666
  };
22667
22667
  }
@@ -22865,10 +22865,10 @@ function OI(e, t) {
22865
22865
  const r = {
22866
22866
  schema: t ? P(P({}, yf), t) : yf,
22867
22867
  stack: []
22868
- }, i = Bm(r, e);
22868
+ }, i = B0(r, e);
22869
22869
  return i && (Array.isArray(i) ? i.length === 1 ? n = i[0] : n.children = i : n = i), n;
22870
22870
  }
22871
- function Bm(e, t) {
22871
+ function B0(e, t) {
22872
22872
  if (t && typeof t == "object") {
22873
22873
  const n = (
22874
22874
  /** @type {Record<string, Readonly<unknown>>} */
@@ -22905,7 +22905,7 @@ function kI(e, t) {
22905
22905
  e.stack.push(n);
22906
22906
  const r = (
22907
22907
  /** @type {Array<ElementContent>} */
22908
- Um(e, t.children)
22908
+ U0(e, t.children)
22909
22909
  ), i = vI(e, t.properties);
22910
22910
  e.stack.pop();
22911
22911
  let s = !1;
@@ -22928,7 +22928,7 @@ function kI(e, t) {
22928
22928
  function RI(e, t) {
22929
22929
  const r = { type: "root", children: (
22930
22930
  /** @type {Array<RootContent>} */
22931
- Um(e, t.children)
22931
+ U0(e, t.children)
22932
22932
  ) };
22933
22933
  return ws(r, t), r;
22934
22934
  }
@@ -22936,7 +22936,7 @@ function LI(e, t) {
22936
22936
  const r = { type: "text", value: typeof t.value == "string" ? t.value : "" };
22937
22937
  return ws(r, t), r;
22938
22938
  }
22939
- function Um(e, t) {
22939
+ function U0(e, t) {
22940
22940
  const n = [];
22941
22941
  if (Array.isArray(t)) {
22942
22942
  const r = (
@@ -22945,7 +22945,7 @@ function Um(e, t) {
22945
22945
  );
22946
22946
  let i = -1;
22947
22947
  for (; ++i < r.length; ) {
22948
- const s = Bm(e, r[i]);
22948
+ const s = B0(e, r[i]);
22949
22949
  s && (Array.isArray(s) ? n.push(...s) : n.push(s));
22950
22950
  }
22951
22951
  }
@@ -22976,18 +22976,18 @@ function vI(e, t) {
22976
22976
  return u;
22977
22977
  }
22978
22978
  function _f(e, t, n, r) {
22979
- return t ? Array.isArray(r) ? DI(e, t, n, r) : Hm(e, t, n, r) : void 0;
22979
+ return t ? Array.isArray(r) ? DI(e, t, n, r) : H0(e, t, n, r) : void 0;
22980
22980
  }
22981
22981
  function DI(e, t, n, r) {
22982
22982
  let i = -1;
22983
22983
  const s = [];
22984
22984
  for (; ++i < r.length; ) {
22985
- const o = Hm(e, t, n, r[i]);
22985
+ const o = H0(e, t, n, r[i]);
22986
22986
  (typeof o == "number" || typeof o == "string") && s.push(o);
22987
22987
  }
22988
22988
  return s;
22989
22989
  }
22990
- function Hm(e, t, n, r) {
22990
+ function H0(e, t, n, r) {
22991
22991
  if (!(typeof r != "boolean" && typeof r != "number" && typeof r != "string") && MI(e, n, r)) {
22992
22992
  if (typeof t == "object" && t.length > 1) {
22993
22993
  let i = !1, s = 0;
@@ -23025,7 +23025,7 @@ function MI(e, t, n) {
23025
23025
  return !1;
23026
23026
  }
23027
23027
  function ws(e, t) {
23028
- const n = x0(
23028
+ const n = xm(
23029
23029
  // @ts-expect-error: looks like a node.
23030
23030
  t
23031
23031
  );
@@ -23051,7 +23051,7 @@ function FI(e) {
23051
23051
  );
23052
23052
  };
23053
23053
  }
23054
- const $m = ({
23054
+ const $0 = ({
23055
23055
  globalClassName: e,
23056
23056
  openLinksInNewTab: t,
23057
23057
  href: n,
@@ -23072,15 +23072,15 @@ const $m = ({
23072
23072
  }, BI = () => {
23073
23073
  const { disclaimerText: e, disclaimerMarkdown: t, globalClassName: n } = xe();
23074
23074
  return !e && !t ? null : /* @__PURE__ */ y("div", { className: D(n, `${w}-disclaimer`), children: t ? /* @__PURE__ */ y(
23075
- Z0,
23075
+ Zm,
23076
23076
  {
23077
- rehypePlugins: [Fm, FI],
23077
+ rehypePlugins: [F0, FI],
23078
23078
  components: {
23079
23079
  ul: ({ children: r }) => /* @__PURE__ */ y("ul", { className: D(n, `${w}-ul`), children: r }),
23080
23080
  ol: ({ children: r }) => /* @__PURE__ */ y("ol", { className: D(n, `${w}-ol`), children: r }),
23081
23081
  li: ({ children: r }) => /* @__PURE__ */ y("li", { className: D(n, `${w}-li`), children: r }),
23082
23082
  a: ({ href: r, title: i, children: s }) => /* @__PURE__ */ y(
23083
- $m,
23083
+ $0,
23084
23084
  {
23085
23085
  globalClassName: n,
23086
23086
  openLinksInNewTab: !0,
@@ -23298,16 +23298,16 @@ function UI(e) {
23298
23298
  function HI(e) {
23299
23299
  return Fe({ attr: { version: "1.1", viewBox: "0 0 17 17" }, child: [{ tag: "g", attr: {}, child: [] }, { tag: "path", attr: { d: "M6 8h-6v-6h1v4.109c1.013-3.193 4.036-5.484 7.5-5.484 3.506 0 6.621 2.36 7.574 5.739l-0.963 0.271c-0.832-2.95-3.551-5.011-6.611-5.011-3.226 0.001-6.016 2.276-6.708 5.376h4.208v1zM11 9v1h4.208c-0.693 3.101-3.479 5.375-6.708 5.375-3.062 0-5.78-2.061-6.611-5.011l-0.963 0.271c0.952 3.379 4.067 5.739 7.574 5.739 3.459 0 6.475-2.28 7.5-5.482v4.108h1v-6h-6z" }, child: [] }] })(e);
23300
23300
  }
23301
- const zm = St({
23301
+ const z0 = St({
23302
23302
  isOpen: !1,
23303
23303
  panelId: "",
23304
23304
  triggerId: ""
23305
- }), jc = St(null), qm = St(null), Ur = () => {
23305
+ }), jc = St(null), q0 = St(null), Ur = () => {
23306
23306
  var n, r;
23307
- const e = mt(jc), t = mt(qm);
23307
+ const e = mt(jc), t = mt(q0);
23308
23308
  return (r = (n = e == null ? void 0 : e.closeMenu) != null ? n : t == null ? void 0 : t.closeMenu) != null ? r : (() => {
23309
23309
  });
23310
- }, Vm = ({
23310
+ }, V0 = ({
23311
23311
  onClearChat: e,
23312
23312
  componentType: t
23313
23313
  }) => {
@@ -23334,20 +23334,20 @@ function $I(e) {
23334
23334
  return e == null ? [] : Array.isArray(e) ? e : [e];
23335
23335
  }
23336
23336
  var zI = (e, ...t) => e.concat(t), qI = (e, ...t) => e.filter((n) => !t.includes(n)), VI = (e) => Array.from(new Set(e));
23337
- function Ym(e, t, n = {}) {
23337
+ function Y0(e, t, n = {}) {
23338
23338
  const { step: r = 1, loop: i = !0 } = n, s = t + r, o = e.length, a = o - 1;
23339
23339
  return t === -1 ? r > 0 ? 0 : a : s < 0 ? i ? a : 0 : s >= o ? i ? 0 : t > o ? o : t : s;
23340
23340
  }
23341
23341
  function YI(e, t, n = {}) {
23342
23342
  const { step: r = 1, loop: i = !0 } = n;
23343
- return Ym(e, t, { step: -r, loop: i });
23343
+ return Y0(e, t, { step: -r, loop: i });
23344
23344
  }
23345
- var jI = (e) => Array.isArray(e), jm = (e) => e != null && typeof e == "object", GI = (e) => jm(e) && !jI(e), fo = (e) => typeof e == "string", Zr = (e) => typeof e == "function", WI = (e) => e == null, XI = (e, t) => Object.prototype.hasOwnProperty.call(e, t), KI = (e) => Object.prototype.toString.call(e), Gm = Function.prototype.toString, QI = Gm.call(Object), JI = (e) => {
23346
- if (!jm(e) || KI(e) != "[object Object]" || tw(e)) return !1;
23345
+ var jI = (e) => Array.isArray(e), j0 = (e) => e != null && typeof e == "object", GI = (e) => j0(e) && !jI(e), fo = (e) => typeof e == "string", Zr = (e) => typeof e == "function", WI = (e) => e == null, XI = (e, t) => Object.prototype.hasOwnProperty.call(e, t), KI = (e) => Object.prototype.toString.call(e), G0 = Function.prototype.toString, QI = G0.call(Object), JI = (e) => {
23346
+ if (!j0(e) || KI(e) != "[object Object]" || tw(e)) return !1;
23347
23347
  const t = Object.getPrototypeOf(e);
23348
23348
  if (t === null) return !0;
23349
23349
  const n = XI(t, "constructor") && t.constructor;
23350
- return typeof n == "function" && n instanceof n && Gm.call(n) == QI;
23350
+ return typeof n == "function" && n instanceof n && G0.call(n) == QI;
23351
23351
  }, ZI = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, ew = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, tw = (e) => ZI(e) || ew(e), nw = (e) => e(), rw = () => {
23352
23352
  }, Bu = (...e) => (...t) => {
23353
23353
  e.forEach(function(n) {
@@ -23386,10 +23386,10 @@ function lw(e, t, n) {
23386
23386
  if (r.length > 0)
23387
23387
  throw new Error(`[zag-js${` > ${n}`}] missing required props: ${r.join(", ")}`);
23388
23388
  }
23389
- var dw = Object.defineProperty, fw = (e, t, n) => t in e ? dw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ga = (e, t, n) => fw(e, typeof t != "symbol" ? t + "" : t, n), Wm = () => {
23390
- }, ia = (e) => typeof e == "object" && e !== null, Xr = (e) => e ? "" : void 0, Xm = (e) => e ? "true" : void 0, hw = 1, pw = 9, mw = 11, dt = (e) => ia(e) && e.nodeType === hw && typeof e.nodeName == "string", sa = (e) => ia(e) && e.nodeType === pw, gw = (e) => ia(e) && e === e.window, Km = (e) => dt(e) ? e.localName || "" : "#document";
23389
+ var dw = Object.defineProperty, fw = (e, t, n) => t in e ? dw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ga = (e, t, n) => fw(e, typeof t != "symbol" ? t + "" : t, n), W0 = () => {
23390
+ }, ia = (e) => typeof e == "object" && e !== null, Xr = (e) => e ? "" : void 0, X0 = (e) => e ? "true" : void 0, hw = 1, pw = 9, mw = 11, dt = (e) => ia(e) && e.nodeType === hw && typeof e.nodeName == "string", sa = (e) => ia(e) && e.nodeType === pw, gw = (e) => ia(e) && e === e.window, K0 = (e) => dt(e) ? e.localName || "" : "#document";
23391
23391
  function Ew(e) {
23392
- return ["html", "body", "#document"].includes(Km(e));
23392
+ return ["html", "body", "#document"].includes(K0(e));
23393
23393
  }
23394
23394
  var bw = (e) => ia(e) && e.nodeType !== void 0, vr = (e) => bw(e) && e.nodeType === mw && "host" in e, Tw = (e) => dt(e) && e.localName === "input", yw = (e) => dt(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1;
23395
23395
  function Yi(e) {
@@ -23441,7 +23441,7 @@ function ni(e) {
23441
23441
  return t;
23442
23442
  }
23443
23443
  function Cw(e) {
23444
- if (Km(e) === "html") return e;
23444
+ if (K0(e) === "html") return e;
23445
23445
  const t = e.assignedSlot || e.parentNode || vr(e) && e.host || Sw(e);
23446
23446
  return vr(t) ? t.host : t;
23447
23447
  }
@@ -23458,16 +23458,16 @@ var Wa = /* @__PURE__ */ new WeakMap();
23458
23458
  function Si(e) {
23459
23459
  return Wa.has(e) || Wa.set(e, Ai(e).getComputedStyle(e)), Wa.get(e);
23460
23460
  }
23461
- var Xc = /* @__PURE__ */ new Set(["menu", "listbox", "dialog", "grid", "tree", "region"]), xw = (e) => Xc.has(e), Qm = (e) => {
23461
+ var Xc = /* @__PURE__ */ new Set(["menu", "listbox", "dialog", "grid", "tree", "region"]), xw = (e) => Xc.has(e), Q0 = (e) => {
23462
23462
  var t;
23463
23463
  return ((t = e.getAttribute("aria-controls")) == null ? void 0 : t.split(" ")) || [];
23464
23464
  };
23465
- function Jm(e, t) {
23465
+ function J0(e, t) {
23466
23466
  const n = /* @__PURE__ */ new Set(), r = Wc(e), i = (s) => {
23467
23467
  const o = s.querySelectorAll("[aria-controls]");
23468
23468
  for (const a of o) {
23469
23469
  if (a.getAttribute("aria-expanded") !== "true") continue;
23470
- const u = Qm(a);
23470
+ const u = Q0(a);
23471
23471
  for (const c of u) {
23472
23472
  if (!c || n.has(c)) continue;
23473
23473
  n.add(c);
@@ -23483,12 +23483,12 @@ function Jm(e, t) {
23483
23483
  };
23484
23484
  return i(e);
23485
23485
  }
23486
- function Zm(e, t) {
23486
+ function Z0(e, t) {
23487
23487
  const n = Wc(e), r = /* @__PURE__ */ new Set(), i = (s) => {
23488
23488
  const o = s.querySelectorAll("[aria-controls]");
23489
23489
  for (const a of o) {
23490
23490
  if (a.getAttribute("aria-expanded") !== "true") continue;
23491
- const u = Qm(a);
23491
+ const u = Q0(a);
23492
23492
  for (const c of u) {
23493
23493
  if (!c || r.has(c)) continue;
23494
23494
  r.add(c);
@@ -23504,7 +23504,7 @@ function Zm(e, t) {
23504
23504
  }
23505
23505
  function Pw(e) {
23506
23506
  const t = /* @__PURE__ */ new Set();
23507
- return Zm(e, (n) => {
23507
+ return Z0(e, (n) => {
23508
23508
  e.contains(n) || t.add(n);
23509
23509
  }), Array.from(t);
23510
23510
  }
@@ -23799,14 +23799,14 @@ function i3(e, t) {
23799
23799
  return Array.from((n = e == null ? void 0 : e.querySelectorAll(t)) != null ? n : []);
23800
23800
  }
23801
23801
  function Io(e, t) {
23802
- if (!e) return Wm;
23802
+ if (!e) return W0;
23803
23803
  const n = Object.keys(t).reduce((r, i) => (r[i] = e.style.getPropertyValue(i), r), {});
23804
23804
  return Object.assign(e.style, t), () => {
23805
23805
  Object.assign(e.style, n), e.style.length === 0 && e.removeAttribute("style");
23806
23806
  };
23807
23807
  }
23808
23808
  function s3(e, t, n) {
23809
- if (!e) return Wm;
23809
+ if (!e) return W0;
23810
23810
  const r = e.style.getPropertyValue(t);
23811
23811
  return e.style.setProperty(t, n), () => {
23812
23812
  e.style.setProperty(t, r), e.style.length === 0 && e.removeAttribute("style");
@@ -25863,7 +25863,7 @@ var jr = /* @__PURE__ */ new WeakMap(), Ws = /* @__PURE__ */ new WeakMap(), Xs =
25863
25863
  !h || c.has(h) || (c.add(h), d(h.parentNode));
25864
25864
  };
25865
25865
  o.forEach((h) => {
25866
- d(h), s && dt(h) && Zm(h, (m) => {
25866
+ d(h), s && dt(h) && Z0(h, (m) => {
25867
25867
  d(m);
25868
25868
  });
25869
25869
  });
@@ -26006,7 +26006,7 @@ function Kk(e, t) {
26006
26006
  if (!e) return;
26007
26007
  const u = kn(e), c = Ai(e), l = Yk(c), d = jk(c);
26008
26008
  function p(b, k) {
26009
- if (!dt(k) || !k.isConnected || ci(e, k) || Wk(e, b) || a && Jm(e, k)) return !1;
26009
+ if (!dt(k) || !k.isConnected || ci(e, k) || Wk(e, b) || a && J0(e, k)) return !1;
26010
26010
  const I = u.querySelector(`[aria-controls="${e.id}"]`);
26011
26011
  if (I) {
26012
26012
  const L = Hu(I);
@@ -26521,7 +26521,7 @@ var iR = Object.defineProperty, sR = (e, t, n) => t in e ? iR(e, t, { enumerable
26521
26521
  );
26522
26522
  }
26523
26523
  isControlledElement(e, t) {
26524
- return this.config.followControlledElements ? Jm(e, t) : !1;
26524
+ return this.config.followControlledElements ? J0(e, t) : !1;
26525
26525
  }
26526
26526
  updateTabbableNodes() {
26527
26527
  if (this.state.containerGroups = this.state.containers.map((e) => {
@@ -26768,7 +26768,7 @@ function gR(e, t) {
26768
26768
  id: Vu(a),
26769
26769
  tabIndex: -1,
26770
26770
  role: "dialog",
26771
- "aria-modal": Xm(o("modal")),
26771
+ "aria-modal": X0(o("modal")),
26772
26772
  hidden: !u,
26773
26773
  "data-state": u ? "open" : "closed",
26774
26774
  "data-expanded": Xr(u),
@@ -27147,7 +27147,7 @@ const PR = ({
27147
27147
  s,
27148
27148
  `cim-${t}-component`
27149
27149
  ),
27150
- children: /* @__PURE__ */ y(qm.Provider, { value: u, children: n })
27150
+ children: /* @__PURE__ */ y(q0.Provider, { value: u, children: n })
27151
27151
  }
27152
27152
  ) })
27153
27153
  ] });
@@ -27416,7 +27416,7 @@ function BR(e, t) {
27416
27416
  "aria-roledescription": "slide",
27417
27417
  "data-orientation": a("orientation"),
27418
27418
  "aria-label": g.item(T.index, a("slideCount")),
27419
- "aria-hidden": Xm(!b),
27419
+ "aria-hidden": X0(!b),
27420
27420
  style: {
27421
27421
  scrollSnapAlign: (() => {
27422
27422
  var B;
@@ -27830,7 +27830,7 @@ var UR = {
27830
27830
  s !== -1 && e.set("page", s);
27831
27831
  },
27832
27832
  setNextPage({ context: e, prop: t, state: n }) {
27833
- const r = n.matches("autoplay") || t("loop"), i = Ym(e.get("pageSnapPoints"), e.get("page"), { loop: r });
27833
+ const r = n.matches("autoplay") || t("loop"), i = Y0(e.get("pageSnapPoints"), e.get("page"), { loop: r });
27834
27834
  e.set("page", i);
27835
27835
  },
27836
27836
  setPrevPage({ context: e, prop: t, state: n }) {
@@ -28448,8 +28448,8 @@ const aL = ({ children: e }) => {
28448
28448
  }),
28449
28449
  [n, r]
28450
28450
  ), a = ze(() => ({ isOpen: i, panelId: n, triggerId: r }), [i, n, r]);
28451
- return /* @__PURE__ */ y(jc.Provider, { value: o, children: /* @__PURE__ */ y(zm.Provider, { value: a, children: e }) });
28452
- }, Zg = () => mt(zm), eE = () => {
28451
+ return /* @__PURE__ */ y(jc.Provider, { value: o, children: /* @__PURE__ */ y(z0.Provider, { value: a, children: e }) });
28452
+ }, Zg = () => mt(z0), eE = () => {
28453
28453
  const e = mt(jc);
28454
28454
  if (!e)
28455
28455
  throw new Error("useOverflowMenuDispatch must be used within an OverflowMenuProvider");
@@ -28672,7 +28672,7 @@ const aL = ({ children: e }) => {
28672
28672
  }) => t != null || !n ? null : /* @__PURE__ */ re(uL, { componentType: e, children: [
28673
28673
  r && /* @__PURE__ */ y(e === "modal" ? fL : hL, { componentType: e }),
28674
28674
  i && /* @__PURE__ */ y(TL, { componentType: e }),
28675
- s && /* @__PURE__ */ y(Vm, { componentType: e, onClearChat: u }),
28675
+ s && /* @__PURE__ */ y(V0, { componentType: e, onClearChat: u }),
28676
28676
  o && c && /* @__PURE__ */ y(
28677
28677
  gL,
28678
28678
  {
@@ -29306,7 +29306,7 @@ function OL(e, t, n) {
29306
29306
  const i = Qo((n || {}).ignore || []), s = IL(t);
29307
29307
  let o = -1;
29308
29308
  for (; ++o < s.length; )
29309
- Q0(e, "text", a);
29309
+ Qm(e, "text", a);
29310
29310
  function a(c, l) {
29311
29311
  let d = -1, p;
29312
29312
  for (; ++d < l.length; ) {
@@ -31169,7 +31169,7 @@ function Rv(e, t, n) {
31169
31169
  }
31170
31170
  }
31171
31171
  function Lv(e) {
31172
- return k0([
31172
+ return km([
31173
31173
  iv(),
31174
31174
  pv(),
31175
31175
  Av(e),
@@ -31187,7 +31187,7 @@ function Dv(e) {
31187
31187
  }
31188
31188
  const ga = () => /* @__PURE__ */ y("span", { className: `${w}-blinking-cursor`, children: /* @__PURE__ */ y("svg", { "aria-hidden": "true", height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ y("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) });
31189
31189
  function Mv(e) {
31190
- return /^tel:/i.test(e) ? e : em(e);
31190
+ return /^tel:/i.test(e) ? e : e0(e);
31191
31191
  }
31192
31192
  const Tl = ({
31193
31193
  globalClassName: e,
@@ -31196,10 +31196,10 @@ const Tl = ({
31196
31196
  text: r,
31197
31197
  onLinkClick: i
31198
31198
  }) => /* @__PURE__ */ y("div", { className: D(e, `${w}-markdown`), children: /* @__PURE__ */ y(
31199
- Z0,
31199
+ Zm,
31200
31200
  {
31201
31201
  remarkPlugins: [Dv],
31202
- rehypePlugins: [Fm],
31202
+ rehypePlugins: [F0],
31203
31203
  urlTransform: Mv,
31204
31204
  components: {
31205
31205
  h1: ({ children: s }) => /* @__PURE__ */ y("h1", { className: D(e, `${w}-header h1`), children: s }),
@@ -31209,7 +31209,7 @@ const Tl = ({
31209
31209
  ol: ({ children: s }) => /* @__PURE__ */ y("ol", { className: D(e, `${w}-ol`), children: s }),
31210
31210
  li: ({ children: s }) => /* @__PURE__ */ y("li", { className: D(e, `${w}-li`), children: s }),
31211
31211
  a: ({ href: s, children: o }) => /* @__PURE__ */ y(
31212
- $m,
31212
+ $0,
31213
31213
  {
31214
31214
  globalClassName: e,
31215
31215
  openLinksInNewTab: t,
@@ -31250,7 +31250,7 @@ const Tl = ({
31250
31250
  "progress-icon",
31251
31251
  "standalone"
31252
31252
  ),
31253
- children: /* @__PURE__ */ y(h0, { "aria-hidden": "true" })
31253
+ children: /* @__PURE__ */ y(hm, { "aria-hidden": "true" })
31254
31254
  }
31255
31255
  ),
31256
31256
  /* @__PURE__ */ y("p", { className: D(e, `${w}-progress-text`, "standalone"), children: t.message })
@@ -31294,7 +31294,7 @@ const Tl = ({
31294
31294
  "progress-icon",
31295
31295
  "embedded"
31296
31296
  ),
31297
- children: /* @__PURE__ */ y(h0, { "aria-hidden": "true" })
31297
+ children: /* @__PURE__ */ y(hm, { "aria-hidden": "true" })
31298
31298
  }
31299
31299
  ),
31300
31300
  /* @__PURE__ */ y("i", { className: D(e, `${w}-progress-text`, "embedded"), children: t.message })
@@ -31972,7 +31972,7 @@ const Tl = ({
31972
31972
  ),
31973
31973
  /* @__PURE__ */ y("div", { className: D(`${w}-embedded-chat-menu`), children: /* @__PURE__ */ re(PR, { componentType: "chat", children: [
31974
31974
  /* @__PURE__ */ y(nE, { componentType: "chat" }),
31975
- /* @__PURE__ */ y(Vm, { componentType: "chat", onClearChat: h })
31975
+ /* @__PURE__ */ y(V0, { componentType: "chat", onClearChat: h })
31976
31976
  ] }) })
31977
31977
  ]
31978
31978
  }
@@ -32254,7 +32254,7 @@ const Tl = ({
32254
32254
  setPromptsMessage: a,
32255
32255
  setResponseMessage: u,
32256
32256
  setIsResponseLoading: c
32257
- } = Sc(), { getCopilotSuggestions: l } = s0();
32257
+ } = Sc(), { getCopilotSuggestions: l } = sm();
32258
32258
  t4();
32259
32259
  const d = se(
32260
32260
  (E) => {
@@ -32556,10 +32556,10 @@ const Tl = ({
32556
32556
  }, l4 = () => /* @__PURE__ */ re(Bt, { children: [
32557
32557
  /* @__PURE__ */ y(n4, {}),
32558
32558
  /* @__PURE__ */ y(c4, {})
32559
- ] }), vE = (e) => /* @__PURE__ */ re(c0, V(P({}, e), { children: [
32559
+ ] }), vE = (e) => /* @__PURE__ */ re(cm, V(P({}, e), { children: [
32560
32560
  /* @__PURE__ */ y(e4, {}),
32561
32561
  /* @__PURE__ */ y(l4, {})
32562
- ] })), d4 = "1.62.0", mh = /* @__PURE__ */ new WeakMap(), DE = (e, t) => {
32562
+ ] })), d4 = "1.62.1", mh = /* @__PURE__ */ new WeakMap(), DE = (e, t) => {
32563
32563
  let n = mh.get(e);
32564
32564
  n || (n = VE(e), mh.set(e, n)), n.render(/* @__PURE__ */ y(vE, P({}, t)));
32565
32565
  }, f4 = (r) => {
@@ -32642,7 +32642,7 @@ const Tl = ({
32642
32642
  CopilotEmbed: OE,
32643
32643
  CopilotModal: kE,
32644
32644
  CopilotWidget: vE,
32645
- CopilotWidgetProvider: c0,
32645
+ CopilotWidgetProvider: cm,
32646
32646
  eventHandlers: p4,
32647
32647
  injectCopilotWidget: h4,
32648
32648
  resolveTheme: jh,