bi-components-library 1.1.79 → 1.1.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as Y, jsxs as he, Fragment as uo } from "react/jsx-runtime";
2
- import Ne, { useState as ie, useRef as Z, useMemo as Sn, useCallback as oe, useEffect as se, useLayoutEffect as tt, forwardRef as lo, createContext as co } from "react";
3
- import { Button as It, Card as qa, Modal as bl, Table as za, Flex as Pi, Spin as Tl, Empty as yl, Select as br, Form as Wn, Input as Va, Space as xl, Tooltip as Cl, Image as Mi, DatePicker as Al, message as Sl, Dropdown as _l, Progress as vl, Pagination as wl, theme as Nl } from "antd";
1
+ import { jsx as Y, jsxs as he, Fragment as ao } from "react/jsx-runtime";
2
+ import Ne, { useState as ie, useRef as Z, useMemo as Sn, useCallback as oe, useEffect as se, useLayoutEffect as tt, forwardRef as io, createContext as so } from "react";
3
+ import { Button as It, Card as qa, Modal as bl, Table as za, Flex as Ii, Spin as Tl, Empty as yl, Select as br, Form as Wn, Input as Va, Space as xl, Tooltip as Cl, Image as Li, DatePicker as Al, message as Sl, Dropdown as _l, Progress as vl, Pagination as wl, theme as Nl } from "antd";
4
4
  import { createFromIconfontCN as kl, LeftOutlined as Il, SearchOutlined as Ll, ReloadOutlined as Ol, InfoCircleOutlined as Dl, SendOutlined as Pl, PauseCircleOutlined as Ml, PlayCircleOutlined as Rl } from "@ant-design/icons";
5
5
  import { createPortal as Tr } from "react-dom";
6
6
  const Bl = ({
@@ -150,7 +150,7 @@ const Hl = ({
150
150
  showDefaultFooter: e = !0,
151
151
  ...t
152
152
  }) => {
153
- const n = t.footer !== void 0 ? t.footer : e ? (r, { OkBtn: a, CancelBtn: i }) => /* @__PURE__ */ he(uo, { children: [
153
+ const n = t.footer !== void 0 ? t.footer : e ? (r, { OkBtn: a, CancelBtn: i }) => /* @__PURE__ */ he(ao, { children: [
154
154
  /* @__PURE__ */ Y(a, {}),
155
155
  /* @__PURE__ */ Y(i, {})
156
156
  ] }) : null;
@@ -362,7 +362,7 @@ const zl = ({
362
362
  loadingText: a,
363
363
  emptyImage: i
364
364
  }) => e ? /* @__PURE__ */ he(
365
- Pi,
365
+ Ii,
366
366
  {
367
367
  className: `pt-10 w-full ${n || ""}`,
368
368
  align: "center",
@@ -374,7 +374,7 @@ const zl = ({
374
374
  ]
375
375
  }
376
376
  ) : /* @__PURE__ */ Y(
377
- Pi,
377
+ Ii,
378
378
  {
379
379
  className: `pt-10 w-full ${n || ""}`,
380
380
  align: "center",
@@ -765,8 +765,8 @@ const jl = ({ host: e, onChange: t }) => {
765
765
  const K = window.getComputedStyle(q);
766
766
  K.display !== "none" && K.visibility !== "hidden" && (w = Math.ceil(q.getBoundingClientRect().width));
767
767
  }
768
- const G = Math.max(36, x + F + H + w + 6);
769
- p((K) => K === G ? K : G);
768
+ const V = Math.max(36, x + F + H + w + 6);
769
+ p((K) => K === V ? K : V);
770
770
  }, [y]);
771
771
  return tt(() => {
772
772
  const m = window.requestAnimationFrame(() => {
@@ -1207,10 +1207,10 @@ const ue = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
1207
1207
  a > 19968 || a >= 65280 && a <= 65519 ? n += 16 : n += 8;
1208
1208
  }
1209
1209
  return Math.max(24, Math.min(600, n + 22));
1210
- }, fo = (e) => `\`\`\`
1210
+ }, oo = (e) => `\`\`\`
1211
1211
  ${(e || "").replace(/\r\n/g, `
1212
1212
  `)}
1213
- \`\`\``, po = (e) => {
1213
+ \`\`\``, uo = (e) => {
1214
1214
  const t = (e || "").replace(/\r\n/g, `
1215
1215
  `).trim(), n = t.match(/^```[a-zA-Z0-9_-]*\n([\s\S]*?)\n```$/);
1216
1216
  return n ? `<pre><code>${ue(n[1] || "")}</code></pre>` : `<div style="white-space:pre-wrap;">${ue(t)}</div>`;
@@ -1498,7 +1498,7 @@ const pc = (e) => {
1498
1498
  content: a.length > 0 ? a : `请补充:${r}`
1499
1499
  };
1500
1500
  }), $r = (e) => (e?.modules || []).map((t, n) => {
1501
- const r = (t?.title || `模块${n + 1}`).trim() || `模块${n + 1}`, a = (t?.markdown || "").trim(), i = (t?.content || "").trim() || (a ? po(a) : "");
1501
+ const r = (t?.title || `模块${n + 1}`).trim() || `模块${n + 1}`, a = (t?.markdown || "").trim(), i = (t?.content || "").trim() || (a ? uo(a) : "");
1502
1502
  return {
1503
1503
  title: r,
1504
1504
  content: i.length > 0 ? i : `请补充:${r}`,
@@ -1708,8 +1708,8 @@ const pc = (e) => {
1708
1708
  if (v?.lastParsedText && v.lastParsedText === _ && v.status === "success")
1709
1709
  return;
1710
1710
  if (!t) {
1711
- const I = fo(_), x = $r({
1712
- modules: [{ title: "内容", content: po(I), markdown: I }]
1711
+ const I = oo(_), x = $r({
1712
+ modules: [{ title: "内容", content: uo(I), markdown: I }]
1713
1713
  });
1714
1714
  if (l.current) {
1715
1715
  const F = h();
@@ -1735,8 +1735,8 @@ const pc = (e) => {
1735
1735
  setTimeout(() => {
1736
1736
  if (l.current) {
1737
1737
  const q = h();
1738
- F.forEach((w, G) => {
1739
- q[`${A}__module_${G}`] = w.content;
1738
+ F.forEach((w, V) => {
1739
+ q[`${A}__module_${V}`] = w.content;
1740
1740
  }), l.current.__tempVariableValues = q;
1741
1741
  }
1742
1742
  s((q) => ({
@@ -1791,8 +1791,8 @@ const pc = (e) => {
1791
1791
  setTimeout(() => {
1792
1792
  if (l.current) {
1793
1793
  const q = h();
1794
- F.forEach((w, G) => {
1795
- q[`${A}__module_${G}`] = w.content;
1794
+ F.forEach((w, V) => {
1795
+ q[`${A}__module_${V}`] = w.content;
1796
1796
  }), l.current.__tempVariableValues = q;
1797
1797
  }
1798
1798
  u((q) => ({
@@ -3127,11 +3127,11 @@ const Cc = ({
3127
3127
  }
3128
3128
  if (r.length === 0)
3129
3129
  return;
3130
- const N = (w, G) => {
3130
+ const N = (w, V) => {
3131
3131
  if (!i.current) return;
3132
3132
  Array.from(i.current.children).forEach((P) => {
3133
3133
  if (P !== w)
3134
- if (G)
3134
+ if (V)
3135
3135
  P.dataset.prevDisplay === void 0 && (P.dataset.prevDisplay = P.style.display || ""), P.dataset.rteForceHidden = "1", P.style.setProperty("display", "none", "important");
3136
3136
  else {
3137
3137
  if (P.dataset.prevDisplay !== void 0) {
@@ -3145,16 +3145,16 @@ const Cc = ({
3145
3145
  }, O = _.closest(".rte-textarea-toggle");
3146
3146
  if (O) {
3147
3147
  L.preventDefault(), L.stopPropagation();
3148
- const w = O.closest(".rte-textarea-wrapper"), G = w?.querySelector('[data-type="textarea"]'), P = !(O.getAttribute("data-expanded") === "true");
3148
+ const w = O.closest(".rte-textarea-wrapper"), V = w?.querySelector('[data-type="textarea"]'), P = !(O.getAttribute("data-expanded") === "true");
3149
3149
  O.setAttribute("data-expanded", String(P)), O.textContent = P ? "收起" : "展开", w && w.classList.toggle("rte-textarea-expanded", P);
3150
3150
  const ee = w?.closest(".rte-textarea-required");
3151
- if (ee ? ee.classList.toggle("rte-textarea-overlay", P) : w && w.classList.toggle("rte-textarea-overlay", P), G)
3151
+ if (ee ? ee.classList.toggle("rte-textarea-overlay", P) : w && w.classList.toggle("rte-textarea-overlay", P), V)
3152
3152
  if (P)
3153
- G.classList.add("rte-textarea-expanded"), G.style.maxHeight = "none", G.style.height = "100%";
3153
+ V.classList.add("rte-textarea-expanded"), V.style.maxHeight = "none", V.style.height = "100%";
3154
3154
  else {
3155
- G.classList.remove("rte-textarea-expanded");
3156
- const ae = G.dataset.maxHeight || "252";
3157
- G.style.maxHeight = `${ae}px`, G.style.height = "auto";
3155
+ V.classList.remove("rte-textarea-expanded");
3156
+ const ae = V.dataset.maxHeight || "252";
3157
+ V.style.maxHeight = `${ae}px`, V.style.height = "auto";
3158
3158
  }
3159
3159
  i.current && (P ? i.current.classList.add("rte-overlay-active") : i.current.classList.remove("rte-overlay-active"));
3160
3160
  return;
@@ -3162,14 +3162,14 @@ const Cc = ({
3162
3162
  const R = _.closest(".rte-richtext-toggle");
3163
3163
  if (R) {
3164
3164
  L.preventDefault(), L.stopPropagation();
3165
- const w = R.closest(".rte-richtext-wrapper"), G = w?.querySelector('[data-type="richtext"]'), P = !(R.getAttribute("data-expanded") === "true");
3165
+ const w = R.closest(".rte-richtext-wrapper"), V = w?.querySelector('[data-type="richtext"]'), P = !(R.getAttribute("data-expanded") === "true");
3166
3166
  ((Q, re) => {
3167
3167
  Q.setAttribute("data-expanded", String(re)), Q.innerHTML = re ? '<i class="iconfont icon-shouqi1"></i><span class="rte-richtext-toggle-label">收起</span>' : '<i class="iconfont icon-zhankai2"></i><span class="rte-richtext-toggle-label">展开</span>';
3168
3168
  })(R, P);
3169
3169
  const ae = w?.closest(".rte-richtext-required");
3170
3170
  ae ? ae.classList.toggle("rte-richtext-expanded", P) : w && w.classList.toggle("rte-richtext-expanded", P);
3171
3171
  const ne = w?.closest(".exclusion-wrapper") || w?.parentElement;
3172
- if (G && (P ? (G.style.height = "100%", G.style.overflow = "auto") : (G.style.height = "", G.style.overflow = "")), ne && (ne.classList.toggle("rte-richtext-host-expanded", P), N(ne, P)), i.current) {
3172
+ if (V && (P ? (V.style.height = "100%", V.style.overflow = "auto") : (V.style.height = "", V.style.overflow = "")), ne && (ne.classList.toggle("rte-richtext-host-expanded", P), N(ne, P)), i.current) {
3173
3173
  if (i.current.classList.toggle("rte-richtext-fullscreen-active", P), s.current?.classList.toggle("rte-richtext-container-expanded", P), s.current)
3174
3174
  if (P) {
3175
3175
  const Q = Math.ceil(s.current.getBoundingClientRect().height || 0);
@@ -3200,8 +3200,8 @@ const Cc = ({
3200
3200
  }
3201
3201
  if (a && _.closest(".tag-node")) {
3202
3202
  L.preventDefault(), L.stopPropagation();
3203
- const G = window.getSelection();
3204
- G && G.removeAllRanges();
3203
+ const V = window.getSelection();
3204
+ V && V.removeAllRanges();
3205
3205
  return;
3206
3206
  }
3207
3207
  const x = _.closest('[data-type="variable"]');
@@ -3209,14 +3209,14 @@ const Cc = ({
3209
3209
  if (h.current)
3210
3210
  return;
3211
3211
  if (x.dataset.variableRender !== "antd-textarea") {
3212
- const w = !!_.closest(".variable-info-icon"), G = x.classList.contains("show-placeholder") || (x.innerText || "").replace(/[\u200B\n]/g, "").trim().length === 0;
3212
+ const w = !!_.closest(".variable-info-icon"), V = x.classList.contains("show-placeholder") || (x.innerText || "").replace(/[\u200B\n]/g, "").trim().length === 0;
3213
3213
  if (S("v1 variable click", {
3214
3214
  key: x.dataset.key,
3215
- isPlaceholder: G,
3215
+ isPlaceholder: V,
3216
3216
  isOnIcon: w,
3217
3217
  classes: x.className,
3218
3218
  innerText: x.innerText
3219
- }), G && !w) {
3219
+ }), V && !w) {
3220
3220
  L.preventDefault();
3221
3221
  const K = () => {
3222
3222
  try {
@@ -3242,10 +3242,10 @@ const Cc = ({
3242
3242
  const F = _.closest(".video-remove-btn");
3243
3243
  if (F) {
3244
3244
  L.preventDefault(), L.stopPropagation();
3245
- const G = F.closest('[data-type="video-url"], [data-type="video-upload"]')?.dataset.key;
3246
- G && b && b((K) => {
3245
+ const V = F.closest('[data-type="video-url"], [data-type="video-upload"]')?.dataset.key;
3246
+ V && b && b((K) => {
3247
3247
  const P = { ...K };
3248
- return delete P[G], P;
3248
+ return delete P[V], P;
3249
3249
  });
3250
3250
  return;
3251
3251
  }
@@ -3259,8 +3259,8 @@ const Cc = ({
3259
3259
  const H = _.closest(".file-remove-btn");
3260
3260
  if (H) {
3261
3261
  L.preventDefault(), L.stopPropagation();
3262
- const w = H.closest('[data-type="upload"]'), G = w?.dataset.key, K = w?.dataset.batchKey;
3263
- if (G)
3262
+ const w = H.closest('[data-type="upload"]'), V = w?.dataset.key, K = w?.dataset.batchKey;
3263
+ if (V)
3264
3264
  if (K) {
3265
3265
  const P = r.find(
3266
3266
  (ee) => ee.type === "upload" && ee.key === K
@@ -3271,7 +3271,7 @@ const Cc = ({
3271
3271
  const ne = { ...ae }, Q = [];
3272
3272
  for (let re = 0; re < ee; re++) {
3273
3273
  const ge = `${K}-${re}`, Ee = ne[ge];
3274
- Ee != null && ge !== G && Q.push(Ee);
3274
+ Ee != null && ge !== V && Q.push(Ee);
3275
3275
  }
3276
3276
  for (let re = 0; re < ee; re++)
3277
3277
  delete ne[`${K}-${re}`];
@@ -3280,18 +3280,18 @@ const Cc = ({
3280
3280
  }), ne;
3281
3281
  });
3282
3282
  } else
3283
- p(G);
3283
+ p(V);
3284
3284
  } else
3285
- p(G);
3285
+ p(V);
3286
3286
  return;
3287
3287
  }
3288
3288
  const q = _.closest('[data-type="upload"]');
3289
3289
  if (q) {
3290
- const w = q.dataset.key, G = q.dataset.batchKey, K = q.dataset.batchIndex;
3290
+ const w = q.dataset.key, V = q.dataset.batchKey, K = q.dataset.batchIndex;
3291
3291
  if (w) {
3292
- const P = G || w, ee = r.find((ae) => ae.type === "upload" && ae.key === P);
3293
- if (o.current && (ee?.accept ? o.current.accept = ee.accept : ee?.acceptType === "image" ? o.current.accept = "image/*" : ee?.acceptType === "file" ? o.current.accept = ".csv,.xlsx,.xls,.txt,.pdf,.doc,.docx,.json" : o.current.accept = ""), G) {
3294
- const ae = r.find((ne) => ne.type === "upload" && ne.key === G);
3292
+ const P = V || w, ee = r.find((ae) => ae.type === "upload" && ae.key === P);
3293
+ if (o.current && (ee?.accept ? o.current.accept = ee.accept : ee?.acceptType === "image" ? o.current.accept = "image/*" : ee?.acceptType === "file" ? o.current.accept = ".csv,.xlsx,.xls,.txt,.pdf,.doc,.docx,.json" : o.current.accept = ""), V) {
3294
+ const ae = r.find((ne) => ne.type === "upload" && ne.key === V);
3295
3295
  if (ae && typeof ae.maxCount == "number" && typeof ae.minCount == "number") {
3296
3296
  const ne = ae.maxCount, Q = l[w] != null, re = K != null ? Number.parseInt(K, 10) : NaN;
3297
3297
  if (Q) {
@@ -3300,8 +3300,8 @@ const Cc = ({
3300
3300
  }
3301
3301
  let ge = 0;
3302
3302
  for (let Ee = 0; Ee < ne; Ee++)
3303
- l[`${G}-${Ee}`] != null && (ge += 1);
3304
- ge < ne && o.current ? (o.current.multiple = !0, g(G), f(Number.isFinite(re) ? re : null), y(null), u?.(), o.current.click()) : (o.current && (o.current.multiple = !1), g(null), f(null), y(w), u?.(), o.current?.click());
3303
+ l[`${V}-${Ee}`] != null && (ge += 1);
3304
+ ge < ne && o.current ? (o.current.multiple = !0, g(V), f(Number.isFinite(re) ? re : null), y(null), u?.(), o.current.click()) : (o.current && (o.current.multiple = !1), g(null), f(null), y(w), u?.(), o.current?.click());
3305
3305
  } else
3306
3306
  o.current && (o.current.multiple = !1), g(null), f(null), y(w), u?.(), o.current?.click();
3307
3307
  } else
@@ -3831,7 +3831,7 @@ const Cc = ({
3831
3831
  const v = /[、,,\s\n\r\t]+/, k = h.split(v).map((N) => N.trim()).filter((N) => N.length > 0);
3832
3832
  if (k.length > 1) {
3833
3833
  const N = parseInt(S.dataset.index || "0", 10), O = t.find(
3834
- (G) => G.type === "multi-variable" && G.key === A
3834
+ (V) => V.type === "multi-variable" && V.key === A
3835
3835
  )?.maxCount || 9, R = n[A] || 1, I = Math.min(N + k.length, O);
3836
3836
  I > R && r((w) => ({
3837
3837
  ...w,
@@ -3839,8 +3839,8 @@ const Cc = ({
3839
3839
  }));
3840
3840
  const x = [];
3841
3841
  for (let w = 0; w < R; w++) {
3842
- const G = `${A}_${w}`, K = a.current.querySelector(
3843
- `[data-type="variable"][data-key="${G}"][data-multi-key="${A}"]`
3842
+ const V = `${A}_${w}`, K = a.current.querySelector(
3843
+ `[data-type="variable"][data-key="${V}"][data-multi-key="${A}"]`
3844
3844
  );
3845
3845
  if (K) {
3846
3846
  const P = K.innerText.replace(/[\u200B\n]/g, "").trim();
@@ -3855,15 +3855,15 @@ const Cc = ({
3855
3855
  const F = x.slice(0, O);
3856
3856
  F.length > 0 && F[F.length - 1] !== "" && F.length < O && F.push("");
3857
3857
  const $ = Math.max(F.length, 1), H = {};
3858
- F.forEach((w, G) => {
3859
- w && (H[`${A}_${G}`] = w);
3858
+ F.forEach((w, V) => {
3859
+ w && (H[`${A}_${V}`] = w);
3860
3860
  }), a.current.querySelectorAll(
3861
3861
  '[data-type="variable"]'
3862
3862
  ).forEach((w) => {
3863
- const G = w.dataset.key, K = w.dataset.multiKey;
3864
- if (G && K !== A) {
3863
+ const V = w.dataset.key, K = w.dataset.multiKey;
3864
+ if (V && K !== A) {
3865
3865
  const P = w.innerText.replace(/[\u200B\n]/g, "").trim();
3866
- P && (H[G] = P);
3866
+ P && (H[V] = P);
3867
3867
  }
3868
3868
  }), a.current.__tempVariableValues = H, r((w) => ({
3869
3869
  ...w,
@@ -3960,7 +3960,7 @@ const Cc = ({
3960
3960
  r
3961
3961
  ]
3962
3962
  );
3963
- async function Ri(e) {
3963
+ async function Oi(e) {
3964
3964
  const t = e.split("/").pop()?.split("?")[0] || "file", n = decodeURIComponent(t), r = async (a) => {
3965
3965
  const i = await a.blob();
3966
3966
  return new File([i], n, { type: i.type || "application/octet-stream" });
@@ -4047,7 +4047,7 @@ const Nc = ({
4047
4047
  Array.isArray(k) ? k.push(A) : f[_] = [String(k), A];
4048
4048
  }
4049
4049
  const v = `${T}__markdown`;
4050
- f[v] === void 0 && (f[v] = [fo(A)]);
4050
+ f[v] === void 0 && (f[v] = [oo(A)]);
4051
4051
  }
4052
4052
  }
4053
4053
  } else if (b === "select" && T) {
@@ -4125,13 +4125,13 @@ const Nc = ({
4125
4125
  const b = f[E];
4126
4126
  if (typeof b == "string" && b.startsWith("http")) {
4127
4127
  if (e.find((C) => C.type === "upload" && C.key === E)) {
4128
- const C = await Ri(b);
4128
+ const C = await Oi(b);
4129
4129
  C && (f[E] = C);
4130
4130
  }
4131
4131
  } else if (Array.isArray(b) && e.find((C) => C.type === "upload" && C.key === E)) {
4132
4132
  for (let C = 0; C < b.length; C++)
4133
4133
  if (typeof b[C] == "string" && b[C].startsWith("http")) {
4134
- const S = await Ri(b[C]);
4134
+ const S = await Oi(b[C]);
4135
4135
  S && (b[C] = S);
4136
4136
  }
4137
4137
  }
@@ -4169,16 +4169,16 @@ const Nc = ({
4169
4169
  l,
4170
4170
  d
4171
4171
  ]);
4172
- function Bi(e) {
4172
+ function Di(e) {
4173
4173
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
4174
4174
  }
4175
4175
  function Wa(e = {}, t = {}) {
4176
4176
  const n = ["__proto__", "constructor", "prototype"];
4177
4177
  Object.keys(t).filter((r) => n.indexOf(r) < 0).forEach((r) => {
4178
- typeof e[r] > "u" ? e[r] = t[r] : Bi(t[r]) && Bi(e[r]) && Object.keys(t[r]).length > 0 && Wa(e[r], t[r]);
4178
+ typeof e[r] > "u" ? e[r] = t[r] : Di(t[r]) && Di(e[r]) && Object.keys(t[r]).length > 0 && Wa(e[r], t[r]);
4179
4179
  });
4180
4180
  }
4181
- const ho = {
4181
+ const lo = {
4182
4182
  body: {},
4183
4183
  addEventListener() {
4184
4184
  },
@@ -4235,10 +4235,10 @@ const ho = {
4235
4235
  };
4236
4236
  function Pt() {
4237
4237
  const e = typeof document < "u" ? document : {};
4238
- return Wa(e, ho), e;
4238
+ return Wa(e, lo), e;
4239
4239
  }
4240
4240
  const kc = {
4241
- document: ho,
4241
+ document: lo,
4242
4242
  navigator: {
4243
4243
  userAgent: ""
4244
4244
  },
@@ -4315,7 +4315,7 @@ function Lc(e) {
4315
4315
  }
4316
4316
  });
4317
4317
  }
4318
- function mo(e, t = 0) {
4318
+ function co(e, t = 0) {
4319
4319
  return setTimeout(e, t);
4320
4320
  }
4321
4321
  function lr() {
@@ -4338,7 +4338,7 @@ function jn(e) {
4338
4338
  function Pc(e) {
4339
4339
  return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
4340
4340
  }
4341
- function Ke(...e) {
4341
+ function Xe(...e) {
4342
4342
  const t = Object(e[0]), n = ["__proto__", "constructor", "prototype"];
4343
4343
  for (let r = 1; r < e.length; r += 1) {
4344
4344
  const a = e[r];
@@ -4346,7 +4346,7 @@ function Ke(...e) {
4346
4346
  const i = Object.keys(Object(a)).filter((s) => n.indexOf(s) < 0);
4347
4347
  for (let s = 0, o = i.length; s < o; s += 1) {
4348
4348
  const u = i[s], l = Object.getOwnPropertyDescriptor(a, u);
4349
- l !== void 0 && l.enumerable && (jn(t[u]) && jn(a[u]) ? a[u].__swiper__ ? t[u] = a[u] : Ke(t[u], a[u]) : !jn(t[u]) && jn(a[u]) ? (t[u] = {}, a[u].__swiper__ ? t[u] = a[u] : Ke(t[u], a[u])) : t[u] = a[u]);
4349
+ l !== void 0 && l.enumerable && (jn(t[u]) && jn(a[u]) ? a[u].__swiper__ ? t[u] = a[u] : Xe(t[u], a[u]) : !jn(t[u]) && jn(a[u]) ? (t[u] = {}, a[u].__swiper__ ? t[u] = a[u] : Xe(t[u], a[u])) : t[u] = a[u]);
4350
4350
  }
4351
4351
  }
4352
4352
  }
@@ -4355,7 +4355,7 @@ function Ke(...e) {
4355
4355
  function Ut(e, t, n) {
4356
4356
  e.style.setProperty(t, n);
4357
4357
  }
4358
- function go({
4358
+ function fo({
4359
4359
  swiper: e,
4360
4360
  targetPosition: t,
4361
4361
  side: n
@@ -4438,7 +4438,7 @@ function fr(e) {
4438
4438
  return n;
4439
4439
  }
4440
4440
  }
4441
- function Eo(e, t) {
4441
+ function po(e, t) {
4442
4442
  const n = [];
4443
4443
  let r = e.parentElement;
4444
4444
  for (; r; )
@@ -4465,14 +4465,14 @@ function Hc() {
4465
4465
  touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
4466
4466
  };
4467
4467
  }
4468
- function bo() {
4468
+ function ho() {
4469
4469
  return Ur || (Ur = Hc()), Ur;
4470
4470
  }
4471
4471
  let qr;
4472
4472
  function $c({
4473
4473
  userAgent: e
4474
4474
  } = {}) {
4475
- const t = bo(), n = Ue(), r = n.navigator.platform, a = e || n.navigator.userAgent, i = {
4475
+ const t = ho(), n = Ue(), r = n.navigator.platform, a = e || n.navigator.userAgent, i = {
4476
4476
  ios: !1,
4477
4477
  android: !1
4478
4478
  }, s = n.screen.width, o = n.screen.height, u = a.match(/(Android);?[\s\/]+([\d.]+)?/);
@@ -4482,12 +4482,12 @@ function $c({
4482
4482
  const y = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
4483
4483
  return !l && f && t.touch && y.indexOf(`${s}x${o}`) >= 0 && (l = a.match(/(Version)\/([\d.]+)/), l || (l = [0, 1, "13_0_0"]), f = !1), u && !g && (i.os = "android", i.android = !0), (l || p || d) && (i.os = "ios", i.ios = !0), i;
4484
4484
  }
4485
- function To(e = {}) {
4485
+ function mo(e = {}) {
4486
4486
  return qr || (qr = $c(e)), qr;
4487
4487
  }
4488
4488
  let zr;
4489
4489
  function Uc() {
4490
- const e = Ue(), t = To();
4490
+ const e = Ue(), t = mo();
4491
4491
  let n = !1;
4492
4492
  function r() {
4493
4493
  const o = e.navigator.userAgent.toLowerCase();
@@ -4508,7 +4508,7 @@ function Uc() {
4508
4508
  isWebView: a
4509
4509
  };
4510
4510
  }
4511
- function yo() {
4511
+ function go() {
4512
4512
  return zr || (zr = Uc()), zr;
4513
4513
  }
4514
4514
  function qc({
@@ -4578,7 +4578,7 @@ function zc({
4578
4578
  }, o = () => {
4579
4579
  if (e.params.observer) {
4580
4580
  if (e.params.observeParents) {
4581
- const l = Eo(e.hostEl);
4581
+ const l = po(e.hostEl);
4582
4582
  for (let d = 0; d < l.length; d += 1)
4583
4583
  s(l[d]);
4584
4584
  }
@@ -4704,10 +4704,10 @@ function Yc() {
4704
4704
  _ = x + H + q;
4705
4705
  else {
4706
4706
  const {
4707
- clientWidth: G,
4707
+ clientWidth: V,
4708
4708
  offsetWidth: K
4709
4709
  } = N;
4710
- _ = x + F + $ + H + q + (K - G);
4710
+ _ = x + F + $ + H + q + (K - V);
4711
4711
  }
4712
4712
  }
4713
4713
  R && (N.style.transform = R), I && (N.style.webkitTransform = I), n.roundLengths && (_ = Math.floor(_));
@@ -4821,7 +4821,7 @@ function jc() {
4821
4821
  for (let r = 0; r < t.length; r += 1)
4822
4822
  t[r].swiperSlideOffset = (e.isHorizontal() ? t[r].offsetLeft : t[r].offsetTop) - n - e.cssOverflowAdjustment();
4823
4823
  }
4824
- const Fi = (e, t, n) => {
4824
+ const Pi = (e, t, n) => {
4825
4825
  t && !e.classList.contains(n) ? e.classList.add(n) : !t && e.classList.contains(n) && e.classList.remove(n);
4826
4826
  };
4827
4827
  function Xc(e = this && this.translate || 0) {
@@ -4841,7 +4841,7 @@ function Xc(e = this && this.translate || 0) {
4841
4841
  let d = l.swiperSlideOffset;
4842
4842
  n.cssMode && n.centeredSlides && (d -= r[0].swiperSlideOffset);
4843
4843
  const p = (s + (n.centeredSlides ? t.minTranslate() : 0) - d) / (l.swiperSlideSize + o), g = (s - i[0] + (n.centeredSlides ? t.minTranslate() : 0) - d) / (l.swiperSlideSize + o), f = -(s - d), y = f + t.slidesSizesGrid[u], h = f >= 0 && f <= t.size - t.slidesSizesGrid[u], m = f >= 0 && f < t.size - 1 || y > 1 && y <= t.size || f <= 0 && y >= t.size;
4844
- m && (t.visibleSlides.push(l), t.visibleSlidesIndexes.push(u)), Fi(l, m, n.slideVisibleClass), Fi(l, h, n.slideFullyVisibleClass), l.progress = a ? -p : p, l.originalProgress = a ? -g : g;
4844
+ m && (t.visibleSlides.push(l), t.visibleSlidesIndexes.push(u)), Pi(l, m, n.slideVisibleClass), Pi(l, h, n.slideFullyVisibleClass), l.progress = a ? -p : p, l.originalProgress = a ? -g : g;
4845
4845
  }
4846
4846
  }
4847
4847
  function Kc(e) {
@@ -5079,7 +5079,7 @@ function sd(e = 0, t = this.params.speed, n = !0, r = !0, a) {
5079
5079
  o[p ? "scrollLeft" : "scrollTop"] = -d;
5080
5080
  else {
5081
5081
  if (!i.support.smoothScroll)
5082
- return go({
5082
+ return fo({
5083
5083
  swiper: i,
5084
5084
  targetPosition: -d,
5085
5085
  side: p ? "left" : "top"
@@ -5106,7 +5106,7 @@ function ud(e, t) {
5106
5106
  const n = this;
5107
5107
  n.params.cssMode || (n.wrapperEl.style.transitionDuration = `${e}ms`, n.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), n.emit("setTransition", e, t);
5108
5108
  }
5109
- function xo({
5109
+ function Eo({
5110
5110
  swiper: e,
5111
5111
  runCallbacks: t,
5112
5112
  direction: n,
@@ -5123,7 +5123,7 @@ function ld(e = !0, t) {
5123
5123
  const n = this, {
5124
5124
  params: r
5125
5125
  } = n;
5126
- r.cssMode || (r.autoHeight && n.updateAutoHeight(), xo({
5126
+ r.cssMode || (r.autoHeight && n.updateAutoHeight(), Eo({
5127
5127
  swiper: n,
5128
5128
  runCallbacks: e,
5129
5129
  direction: t,
@@ -5134,7 +5134,7 @@ function cd(e = !0, t) {
5134
5134
  const n = this, {
5135
5135
  params: r
5136
5136
  } = n;
5137
- n.animating = !1, !r.cssMode && (n.setTransition(0), xo({
5137
+ n.animating = !1, !r.cssMode && (n.setTransition(0), Eo({
5138
5138
  swiper: n,
5139
5139
  runCallbacks: e,
5140
5140
  direction: t,
@@ -5191,7 +5191,7 @@ function fd(e = 0, t, n = !0, r, a) {
5191
5191
  });
5192
5192
  else {
5193
5193
  if (!i.support.smoothScroll)
5194
- return go({
5194
+ return fo({
5195
5195
  swiper: i,
5196
5196
  targetPosition: _,
5197
5197
  side: L ? "left" : "top"
@@ -5203,7 +5203,7 @@ function fd(e = 0, t, n = !0, r, a) {
5203
5203
  }
5204
5204
  return !0;
5205
5205
  }
5206
- const A = yo().isSafari;
5206
+ const A = go().isSafari;
5207
5207
  return T && !a && A && i.isElement && i.virtual.update(!1, !1, s), i.setTransition(t), i.setTranslate(E), i.updateActiveIndex(s), i.updateSlidesClasses(), i.emit("beforeTransitionStart", t, r), i.transitionStart(n, b), t === 0 ? i.transitionEnd(n, b) : i.animating || (i.animating = !0, i.onSlideToWrapperTransitionEnd || (i.onSlideToWrapperTransitionEnd = function(_) {
5208
5208
  !i || i.destroyed || _.target === this && (i.wrapperEl.removeEventListener("transitionend", i.onSlideToWrapperTransitionEnd), i.onSlideToWrapperTransitionEnd = null, delete i.onSlideToWrapperTransitionEnd, i.transitionEnd(n, b));
5209
5209
  }), i.wrapperEl.addEventListener("transitionend", i.onSlideToWrapperTransitionEnd)), !0;
@@ -5345,7 +5345,7 @@ function bd() {
5345
5345
  const s = e.isElement ? "swiper-slide" : `.${t.slideClass}`, o = e.grid && e.params.grid && e.params.grid.rows > 1;
5346
5346
  if (t.loop) {
5347
5347
  if (e.animating) return;
5348
- i = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(i) : a > (o ? (e.slides.length - r) / 2 - (e.params.grid.rows - 1) : e.slides.length - r) ? (e.loopFix(), a = e.getSlideIndex(ct(n, `${s}[data-swiper-slide-index="${i}"]`)[0]), mo(() => {
5348
+ i = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(i) : a > (o ? (e.slides.length - r) / 2 - (e.params.grid.rows - 1) : e.slides.length - r) ? (e.loopFix(), a = e.getSlideIndex(ct(n, `${s}[data-swiper-slide-index="${i}"]`)[0]), co(() => {
5349
5349
  e.slideTo(a);
5350
5350
  })) : e.slideTo(a);
5351
5351
  } else
@@ -5454,8 +5454,8 @@ function xd({
5454
5454
  const q = H - Math.floor(H / v) * v;
5455
5455
  if (A) {
5456
5456
  const w = v - q - 1;
5457
- for (let G = l.length - 1; G >= 0; G -= 1)
5458
- l[G].column === w && L.push(G);
5457
+ for (let V = l.length - 1; V >= 0; V -= 1)
5458
+ l[V].column === w && L.push(V);
5459
5459
  } else
5460
5460
  L.push(v - q - 1);
5461
5461
  }
@@ -5463,8 +5463,8 @@ function xd({
5463
5463
  x = Math.max($ - (v - S * 2), C), k && (x = Math.max(x, T - v + E + 1));
5464
5464
  for (let H = 0; H < x; H += 1) {
5465
5465
  const q = H - Math.floor(H / v) * v;
5466
- A ? l.forEach((w, G) => {
5467
- w.column === q && _.push(G);
5466
+ A ? l.forEach((w, V) => {
5467
+ w.column === q && _.push(V);
5468
5468
  }) : _.push(q);
5469
5469
  }
5470
5470
  }
@@ -5563,7 +5563,7 @@ function wd(e, t = this) {
5563
5563
  }
5564
5564
  return n(t);
5565
5565
  }
5566
- function Hi(e, t, n) {
5566
+ function Mi(e, t, n) {
5567
5567
  const r = Ue(), {
5568
5568
  params: a
5569
5569
  } = e, i = a.edgeSwipeDetection, s = a.edgeSwipeThreshold;
@@ -5580,7 +5580,7 @@ function Nd(e) {
5580
5580
  a.pointerId = r.pointerId;
5581
5581
  } else r.type === "touchstart" && r.targetTouches.length === 1 && (a.touchId = r.targetTouches[0].identifier);
5582
5582
  if (r.type === "touchstart") {
5583
- Hi(t, r, r.targetTouches[0].pageX);
5583
+ Mi(t, r, r.targetTouches[0].pageX);
5584
5584
  return;
5585
5585
  }
5586
5586
  const {
@@ -5604,7 +5604,7 @@ function Nd(e) {
5604
5604
  return;
5605
5605
  s.currentX = r.pageX, s.currentY = r.pageY;
5606
5606
  const f = s.currentX, y = s.currentY;
5607
- if (!Hi(t, r, f))
5607
+ if (!Mi(t, r, f))
5608
5608
  return;
5609
5609
  Object.assign(a, {
5610
5610
  isTouched: !0,
@@ -5766,7 +5766,7 @@ function Id(e) {
5766
5766
  const S = r.path || r.composedPath && r.composedPath();
5767
5767
  t.updateClickedSlide(S && S[0] || r.target, S), t.emit("tap click", r), g < 300 && p - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", r);
5768
5768
  }
5769
- if (n.lastClickTime = lr(), mo(() => {
5769
+ if (n.lastClickTime = lr(), co(() => {
5770
5770
  t.destroyed || (t.allowClick = !0);
5771
5771
  }), !n.isTouched || !n.isMoved || !t.swipeDirection || o.diff === 0 && !n.loopSwapReset || n.currentTranslate === n.startTranslate && !n.loopSwapReset) {
5772
5772
  n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
@@ -5805,7 +5805,7 @@ function Id(e) {
5805
5805
  t.navigation && (r.target === t.navigation.nextEl || r.target === t.navigation.prevEl) ? r.target === t.navigation.nextEl ? t.slideTo(h + C) : t.slideTo(h) : (t.swipeDirection === "next" && t.slideTo(E !== null ? E : h + C), t.swipeDirection === "prev" && t.slideTo(b !== null ? b : h));
5806
5806
  }
5807
5807
  }
5808
- function $i() {
5808
+ function Ri() {
5809
5809
  const e = this, {
5810
5810
  params: t,
5811
5811
  el: n
@@ -5847,7 +5847,7 @@ function Pd() {
5847
5847
  const e = this;
5848
5848
  e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
5849
5849
  }
5850
- const Co = (e, t) => {
5850
+ const bo = (e, t) => {
5851
5851
  const n = Pt(), {
5852
5852
  params: r,
5853
5853
  el: a,
@@ -5881,7 +5881,7 @@ const Co = (e, t) => {
5881
5881
  passive: !0
5882
5882
  }), n[u]("contextmenu", e.onTouchEnd, {
5883
5883
  passive: !0
5884
- }), (r.preventClicks || r.preventClicksPropagation) && a[u]("click", e.onClick, !0), r.cssMode && i[u]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](s.ios || s.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", $i, !0) : e[l]("observerUpdate", $i, !0), a[u]("load", e.onLoad, {
5884
+ }), (r.preventClicks || r.preventClicksPropagation) && a[u]("click", e.onClick, !0), r.cssMode && i[u]("scroll", e.onScroll), r.updateOnWindowResize ? e[l](s.ios || s.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Ri, !0) : e[l]("observerUpdate", Ri, !0), a[u]("load", e.onLoad, {
5885
5885
  capture: !0
5886
5886
  }));
5887
5887
  };
@@ -5889,16 +5889,16 @@ function Md() {
5889
5889
  const e = this, {
5890
5890
  params: t
5891
5891
  } = e;
5892
- e.onTouchStart = Nd.bind(e), e.onTouchMove = kd.bind(e), e.onTouchEnd = Id.bind(e), e.onDocumentTouchStart = Pd.bind(e), t.cssMode && (e.onScroll = Od.bind(e)), e.onClick = Ld.bind(e), e.onLoad = Dd.bind(e), Co(e, "on");
5892
+ e.onTouchStart = Nd.bind(e), e.onTouchMove = kd.bind(e), e.onTouchEnd = Id.bind(e), e.onDocumentTouchStart = Pd.bind(e), t.cssMode && (e.onScroll = Od.bind(e)), e.onClick = Ld.bind(e), e.onLoad = Dd.bind(e), bo(e, "on");
5893
5893
  }
5894
5894
  function Rd() {
5895
- Co(this, "off");
5895
+ bo(this, "off");
5896
5896
  }
5897
5897
  var Bd = {
5898
5898
  attachEvents: Md,
5899
5899
  detachEvents: Rd
5900
5900
  };
5901
- const Ui = (e, t) => e.grid && t.grid && t.grid.rows > 1;
5901
+ const Bi = (e, t) => e.grid && t.grid && t.grid.rows > 1;
5902
5902
  function Fd() {
5903
5903
  const e = this, {
5904
5904
  realIndex: t,
@@ -5909,14 +5909,14 @@ function Fd() {
5909
5909
  if (!i || i && Object.keys(i).length === 0) return;
5910
5910
  const s = Pt(), o = r.breakpointsBase === "window" || !r.breakpointsBase ? r.breakpointsBase : "container", u = ["window", "container"].includes(r.breakpointsBase) || !r.breakpointsBase ? e.el : s.querySelector(r.breakpointsBase), l = e.getBreakpoint(i, o, u);
5911
5911
  if (!l || e.currentBreakpoint === l) return;
5912
- const p = (l in i ? i[l] : void 0) || e.originalParams, g = Ui(e, r), f = Ui(e, p), y = e.params.grabCursor, h = p.grabCursor, m = r.enabled;
5912
+ const p = (l in i ? i[l] : void 0) || e.originalParams, g = Bi(e, r), f = Bi(e, p), y = e.params.grabCursor, h = p.grabCursor, m = r.enabled;
5913
5913
  g && !f ? (a.classList.remove(`${r.containerModifierClass}grid`, `${r.containerModifierClass}grid-column`), e.emitContainerClasses()) : !g && f && (a.classList.add(`${r.containerModifierClass}grid`), (p.grid.fill && p.grid.fill === "column" || !p.grid.fill && r.grid.fill === "column") && a.classList.add(`${r.containerModifierClass}grid-column`), e.emitContainerClasses()), y && !h ? e.unsetGrabCursor() : !y && h && e.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((A) => {
5914
5914
  if (typeof p[A] > "u") return;
5915
5915
  const L = r[A] && r[A].enabled, _ = p[A] && p[A].enabled;
5916
5916
  L && !_ && e[A].disable(), !L && _ && e[A].enable();
5917
5917
  });
5918
5918
  const E = p.direction && p.direction !== r.direction, b = r.loop && (p.slidesPerView !== r.slidesPerView || E), T = r.loop;
5919
- E && n && e.changeDirection(), Ke(e.params, p);
5919
+ E && n && e.changeDirection(), Xe(e.params, p);
5920
5920
  const C = e.params.enabled, S = e.params.loop;
5921
5921
  Object.assign(e, {
5922
5922
  allowTouchMove: e.params.allowTouchMove,
@@ -6145,18 +6145,18 @@ function Wd(e, t) {
6145
6145
  return function(r = {}) {
6146
6146
  const a = Object.keys(r)[0], i = r[a];
6147
6147
  if (typeof i != "object" || i === null) {
6148
- Ke(t, r);
6148
+ Xe(t, r);
6149
6149
  return;
6150
6150
  }
6151
6151
  if (e[a] === !0 && (e[a] = {
6152
6152
  enabled: !0
6153
6153
  }), a === "navigation" && e[a] && e[a].enabled && !e[a].prevEl && !e[a].nextEl && (e[a].auto = !0), ["pagination", "scrollbar"].indexOf(a) >= 0 && e[a] && e[a].enabled && !e[a].el && (e[a].auto = !0), !(a in e && "enabled" in i)) {
6154
- Ke(t, r);
6154
+ Xe(t, r);
6155
6155
  return;
6156
6156
  }
6157
6157
  typeof e[a] == "object" && !("enabled" in e[a]) && (e[a].enabled = !0), e[a] || (e[a] = {
6158
6158
  enabled: !1
6159
- }), Ke(t, r);
6159
+ }), Xe(t, r);
6160
6160
  };
6161
6161
  }
6162
6162
  const Yr = {
@@ -6175,21 +6175,21 @@ const Yr = {
6175
6175
  let ja = class mt {
6176
6176
  constructor(...t) {
6177
6177
  let n, r;
6178
- t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r = Ke({}, r), n && !r.el && (r.el = n);
6178
+ t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r || (r = {}), r = Xe({}, r), n && !r.el && (r.el = n);
6179
6179
  const a = Pt();
6180
6180
  if (r.el && typeof r.el == "string" && a.querySelectorAll(r.el).length > 1) {
6181
6181
  const u = [];
6182
6182
  return a.querySelectorAll(r.el).forEach((l) => {
6183
- const d = Ke({}, r, {
6183
+ const d = Xe({}, r, {
6184
6184
  el: l
6185
6185
  });
6186
6186
  u.push(new mt(d));
6187
6187
  }), u;
6188
6188
  }
6189
6189
  const i = this;
6190
- i.__swiper__ = !0, i.support = bo(), i.device = To({
6190
+ i.__swiper__ = !0, i.support = ho(), i.device = mo({
6191
6191
  userAgent: r.userAgent
6192
- }), i.browser = yo(), i.eventsListeners = {}, i.eventsAnyListeners = [], i.modules = [...i.__modules__], r.modules && Array.isArray(r.modules) && i.modules.push(...r.modules);
6192
+ }), i.browser = go(), i.eventsListeners = {}, i.eventsAnyListeners = [], i.modules = [...i.__modules__], r.modules && Array.isArray(r.modules) && i.modules.push(...r.modules);
6193
6193
  const s = {};
6194
6194
  i.modules.forEach((u) => {
6195
6195
  u({
@@ -6202,8 +6202,8 @@ let ja = class mt {
6202
6202
  emit: i.emit.bind(i)
6203
6203
  });
6204
6204
  });
6205
- const o = Ke({}, _a, s);
6206
- return i.params = Ke({}, o, Wr, r), i.originalParams = Ke({}, i.params), i.passedParams = Ke({}, r), i.params && i.params.on && Object.keys(i.params.on).forEach((u) => {
6205
+ const o = Xe({}, _a, s);
6206
+ return i.params = Xe({}, o, Wr, r), i.originalParams = Xe({}, i.params), i.passedParams = Xe({}, r), i.params && i.params.on && Object.keys(i.params.on).forEach((u) => {
6207
6207
  i.on(u, i.params.on[u]);
6208
6208
  }), i.params && i.params.onAny && i.onAny(i.params.onAny), Object.assign(i, {
6209
6209
  enabled: i.params.enabled,
@@ -6456,7 +6456,7 @@ let ja = class mt {
6456
6456
  }), t !== !1 && (r.el && typeof r.el != "string" && (r.el.swiper = null), Lc(r)), r.destroyed = !0), null;
6457
6457
  }
6458
6458
  static extendDefaults(t) {
6459
- Ke(Wr, t);
6459
+ Xe(Wr, t);
6460
6460
  }
6461
6461
  static get extendedDefaults() {
6462
6462
  return Wr;
@@ -6479,7 +6479,7 @@ Object.keys(Yr).forEach((e) => {
6479
6479
  });
6480
6480
  });
6481
6481
  ja.use([qc, zc]);
6482
- const Ao = [
6482
+ const To = [
6483
6483
  "eventsPrefix",
6484
6484
  "injectStyles",
6485
6485
  "injectStylesUrls",
@@ -6608,16 +6608,16 @@ function Yt(e, t) {
6608
6608
  typeof e[r] > "u" ? e[r] = t[r] : Ot(t[r]) && Ot(e[r]) && Object.keys(t[r]).length > 0 ? t[r].__swiper__ ? e[r] = t[r] : Yt(e[r], t[r]) : e[r] = t[r];
6609
6609
  });
6610
6610
  }
6611
- function So(e = {}) {
6611
+ function yo(e = {}) {
6612
6612
  return e.navigation && typeof e.navigation.nextEl > "u" && typeof e.navigation.prevEl > "u";
6613
6613
  }
6614
- function _o(e = {}) {
6614
+ function xo(e = {}) {
6615
6615
  return e.pagination && typeof e.pagination.el > "u";
6616
6616
  }
6617
- function vo(e = {}) {
6617
+ function Co(e = {}) {
6618
6618
  return e.scrollbar && typeof e.scrollbar.el > "u";
6619
6619
  }
6620
- function wo(e = "") {
6620
+ function Ao(e = "") {
6621
6621
  const t = e.split(" ").map((r) => r.trim()).filter((r) => !!r), n = [];
6622
6622
  return t.forEach((r) => {
6623
6623
  n.indexOf(r) < 0 && n.push(r);
@@ -6663,7 +6663,7 @@ function Kd(e = {}, t = !0) {
6663
6663
  on: {}
6664
6664
  }, r = {}, a = {};
6665
6665
  Yt(n, _a), n._emitClasses = !0, n.init = !1;
6666
- const i = {}, s = Ao.map((u) => u.replace(/_/, "")), o = Object.assign({}, e);
6666
+ const i = {}, s = To.map((u) => u.replace(/_/, "")), o = Object.assign({}, e);
6667
6667
  return Object.keys(o).forEach((u) => {
6668
6668
  typeof e[u] > "u" || (s.indexOf(u) >= 0 ? Ot(e[u]) ? (n[u] = {}, a[u] = {}, Yt(n[u], e[u]), Yt(a[u], e[u])) : (n[u] = e[u], a[u] = e[u]) : u.search(/on[A-Z]/) === 0 && typeof e[u] == "function" ? t ? r[`${u[2].toLowerCase()}${u.substr(3)}`] = e[u] : n.on[`${u[2].toLowerCase()}${u.substr(3)}`] = e[u] : i[u] = e[u]);
6669
6669
  }), ["navigation", "pagination", "scrollbar"].forEach((u) => {
@@ -6683,7 +6683,7 @@ function Qd({
6683
6683
  scrollbarEl: a,
6684
6684
  swiper: i
6685
6685
  }, s) {
6686
- So(s) && t && n && (i.params.navigation.nextEl = t, i.originalParams.navigation.nextEl = t, i.params.navigation.prevEl = n, i.originalParams.navigation.prevEl = n), _o(s) && r && (i.params.pagination.el = r, i.originalParams.pagination.el = r), vo(s) && a && (i.params.scrollbar.el = a, i.originalParams.scrollbar.el = a), i.init(e);
6686
+ yo(s) && t && n && (i.params.navigation.nextEl = t, i.originalParams.navigation.nextEl = t, i.params.navigation.prevEl = n, i.originalParams.navigation.prevEl = n), xo(s) && r && (i.params.pagination.el = r, i.originalParams.pagination.el = r), Co(s) && a && (i.params.scrollbar.el = a, i.originalParams.scrollbar.el = a), i.init(e);
6687
6687
  }
6688
6688
  function Jd(e, t, n, r, a) {
6689
6689
  const i = [];
@@ -6695,7 +6695,7 @@ function Jd(e, t, n, r, a) {
6695
6695
  const u = r.map(a), l = n.map(a);
6696
6696
  u.join("") !== l.join("") && s("children"), r.length !== n.length && s("children");
6697
6697
  }
6698
- return Ao.filter((u) => u[0] === "_").map((u) => u.replace(/_/, "")).forEach((u) => {
6698
+ return To.filter((u) => u[0] === "_").map((u) => u.replace(/_/, "")).forEach((u) => {
6699
6699
  if (u in e && u in t)
6700
6700
  if (Ot(e[u]) && Ot(t[u])) {
6701
6701
  const l = Object.keys(e[u]), d = Object.keys(t[u]);
@@ -6720,13 +6720,13 @@ function pr() {
6720
6720
  return e;
6721
6721
  }, pr.apply(this, arguments);
6722
6722
  }
6723
- function No(e) {
6723
+ function So(e) {
6724
6724
  return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
6725
6725
  }
6726
- function ko(e) {
6726
+ function _o(e) {
6727
6727
  const t = [];
6728
6728
  return Ne.Children.toArray(e).forEach((n) => {
6729
- No(n) ? t.push(n) : n.props && n.props.children && ko(n.props.children).forEach((r) => t.push(r));
6729
+ So(n) ? t.push(n) : n.props && n.props.children && _o(n.props.children).forEach((r) => t.push(r));
6730
6730
  }), t;
6731
6731
  }
6732
6732
  function ef(e) {
@@ -6737,12 +6737,12 @@ function ef(e) {
6737
6737
  "wrapper-end": []
6738
6738
  };
6739
6739
  return Ne.Children.toArray(e).forEach((r) => {
6740
- if (No(r))
6740
+ if (So(r))
6741
6741
  t.push(r);
6742
6742
  else if (r.props && r.props.slot && n[r.props.slot])
6743
6743
  n[r.props.slot].push(r);
6744
6744
  else if (r.props && r.props.children) {
6745
- const a = ko(r.props.children);
6745
+ const a = _o(r.props.children);
6746
6746
  a.length > 0 ? a.forEach((i) => t.push(i)) : n["container-end"].push(r);
6747
6747
  } else
6748
6748
  n["container-end"].push(r);
@@ -6775,7 +6775,7 @@ function tf(e, t, n) {
6775
6775
  function mn(e, t) {
6776
6776
  return typeof window > "u" ? se(e, t) : tt(e, t);
6777
6777
  }
6778
- const qi = /* @__PURE__ */ co(null), nf = /* @__PURE__ */ co(null), Io = /* @__PURE__ */ lo(({
6778
+ const Fi = /* @__PURE__ */ so(null), nf = /* @__PURE__ */ so(null), vo = /* @__PURE__ */ io(({
6779
6779
  className: e,
6780
6780
  tag: t = "div",
6781
6781
  wrapperTag: n = "div",
@@ -6868,27 +6868,27 @@ const qi = /* @__PURE__ */ co(null), nf = /* @__PURE__ */ co(null), Io = /* @__P
6868
6868
  }
6869
6869
  return /* @__PURE__ */ Ne.createElement(t, pr({
6870
6870
  ref: h,
6871
- className: wo(`${u}${e ? ` ${e}` : ""}`)
6871
+ className: Ao(`${u}${e ? ` ${e}` : ""}`)
6872
6872
  }, v), /* @__PURE__ */ Ne.createElement(nf.Provider, {
6873
6873
  value: m.current
6874
6874
  }, O["container-start"], /* @__PURE__ */ Ne.createElement(n, {
6875
6875
  className: jd(L.wrapperClass)
6876
- }, O["wrapper-start"], $(), O["wrapper-end"]), So(L) && /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, /* @__PURE__ */ Ne.createElement("div", {
6876
+ }, O["wrapper-start"], $(), O["wrapper-end"]), yo(L) && /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, /* @__PURE__ */ Ne.createElement("div", {
6877
6877
  ref: C,
6878
6878
  className: "swiper-button-prev"
6879
6879
  }), /* @__PURE__ */ Ne.createElement("div", {
6880
6880
  ref: T,
6881
6881
  className: "swiper-button-next"
6882
- })), vo(L) && /* @__PURE__ */ Ne.createElement("div", {
6882
+ })), Co(L) && /* @__PURE__ */ Ne.createElement("div", {
6883
6883
  ref: A,
6884
6884
  className: "swiper-scrollbar"
6885
- }), _o(L) && /* @__PURE__ */ Ne.createElement("div", {
6885
+ }), xo(L) && /* @__PURE__ */ Ne.createElement("div", {
6886
6886
  ref: S,
6887
6887
  className: "swiper-pagination"
6888
6888
  }), O["container-end"]));
6889
6889
  });
6890
- Io.displayName = "Swiper";
6891
- const Lo = /* @__PURE__ */ lo(({
6890
+ vo.displayName = "Swiper";
6891
+ const wo = /* @__PURE__ */ io(({
6892
6892
  tag: e = "div",
6893
6893
  children: t,
6894
6894
  className: n = "",
@@ -6926,10 +6926,10 @@ const Lo = /* @__PURE__ */ lo(({
6926
6926
  };
6927
6927
  return /* @__PURE__ */ Ne.createElement(e, pr({
6928
6928
  ref: d,
6929
- className: wo(`${p}${n ? ` ${n}` : ""}`),
6929
+ className: Ao(`${p}${n ? ` ${n}` : ""}`),
6930
6930
  "data-swiper-slide-index": s,
6931
6931
  onLoad: b
6932
- }, u), a && /* @__PURE__ */ Ne.createElement(qi.Provider, {
6932
+ }, u), a && /* @__PURE__ */ Ne.createElement(Fi.Provider, {
6933
6933
  value: m
6934
6934
  }, /* @__PURE__ */ Ne.createElement("div", {
6935
6935
  className: "swiper-zoom-container",
@@ -6939,7 +6939,7 @@ const Lo = /* @__PURE__ */ lo(({
6939
6939
  ref: (T) => {
6940
6940
  T && (T.lazyPreloaderManaged = !0);
6941
6941
  }
6942
- }))), !a && /* @__PURE__ */ Ne.createElement(qi.Provider, {
6942
+ }))), !a && /* @__PURE__ */ Ne.createElement(Fi.Provider, {
6943
6943
  value: m
6944
6944
  }, E(), i && !f && /* @__PURE__ */ Ne.createElement("div", {
6945
6945
  className: "swiper-lazy-preloader",
@@ -6948,8 +6948,8 @@ const Lo = /* @__PURE__ */ lo(({
6948
6948
  }
6949
6949
  })));
6950
6950
  });
6951
- Lo.displayName = "SwiperSlide";
6952
- function Oo(e, t, n, r) {
6951
+ wo.displayName = "SwiperSlide";
6952
+ function No(e, t, n, r) {
6953
6953
  return e.params.createElements && Object.keys(r).forEach((a) => {
6954
6954
  if (!n[a] && n.auto === !0) {
6955
6955
  let i = ct(e.el, `.${r[a]}`)[0];
@@ -6957,7 +6957,7 @@ function Oo(e, t, n, r) {
6957
6957
  }
6958
6958
  }), n;
6959
6959
  }
6960
- const zi = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';
6960
+ const Hi = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';
6961
6961
  function rf({
6962
6962
  swiper: e,
6963
6963
  extendParams: t,
@@ -6978,7 +6978,7 @@ function rf({
6978
6978
  }), e.navigation = {
6979
6979
  nextEl: null,
6980
6980
  prevEl: null,
6981
- arrowSvg: zi
6981
+ arrowSvg: Hi
6982
6982
  };
6983
6983
  function a(f) {
6984
6984
  let y;
@@ -7009,7 +7009,7 @@ function rf({
7009
7009
  }
7010
7010
  function l() {
7011
7011
  const f = e.params.navigation;
7012
- if (e.params.navigation = Oo(e, e.originalParams.navigation, e.params.navigation, {
7012
+ if (e.params.navigation = No(e, e.originalParams.navigation, e.params.navigation, {
7013
7013
  nextEl: "swiper-button-next",
7014
7014
  prevEl: "swiper-button-prev"
7015
7015
  }), !(f.nextEl || f.prevEl)) return;
@@ -7022,7 +7022,7 @@ function rf({
7022
7022
  if (E) {
7023
7023
  if (f.addIcons && E.matches(".swiper-button-next,.swiper-button-prev") && !E.querySelector("svg")) {
7024
7024
  const T = document.createElement("div");
7025
- _n(T, zi), E.appendChild(T.querySelector("svg")), T.remove();
7025
+ _n(T, Hi), E.appendChild(T.querySelector("svg")), T.remove();
7026
7026
  }
7027
7027
  E.addEventListener("click", b === "next" ? u : o);
7028
7028
  }
@@ -7235,13 +7235,13 @@ function af({
7235
7235
  }), E.type !== "custom" && r("paginationRender", T[0]);
7236
7236
  }
7237
7237
  function f() {
7238
- e.params.pagination = Oo(e, e.originalParams.pagination, e.params.pagination, {
7238
+ e.params.pagination = No(e, e.originalParams.pagination, e.params.pagination, {
7239
7239
  el: "swiper-pagination"
7240
7240
  });
7241
7241
  const E = e.params.pagination;
7242
7242
  if (!E.el) return;
7243
7243
  let b;
7244
- typeof E.el == "string" && e.isElement && (b = e.el.querySelector(E.el)), !b && typeof E.el == "string" && (b = [...document.querySelectorAll(E.el)]), b || (b = E.el), !(!b || b.length === 0) && (e.params.uniqueNavElements && typeof E.el == "string" && Array.isArray(b) && b.length > 1 && (b = [...e.el.querySelectorAll(E.el)], b.length > 1 && (b = b.find((T) => Eo(T, ".swiper")[0] === e.el))), Array.isArray(b) && b.length === 1 && (b = b[0]), Object.assign(e.pagination, {
7244
+ typeof E.el == "string" && e.isElement && (b = e.el.querySelector(E.el)), !b && typeof E.el == "string" && (b = [...document.querySelectorAll(E.el)]), b || (b = E.el), !(!b || b.length === 0) && (e.params.uniqueNavElements && typeof E.el == "string" && Array.isArray(b) && b.length > 1 && (b = [...e.el.querySelectorAll(E.el)], b.length > 1 && (b = b.find((T) => po(T, ".swiper")[0] === e.el))), Array.isArray(b) && b.length === 1 && (b = b[0]), Object.assign(e.pagination, {
7245
7245
  el: b
7246
7246
  }), b = Re(b), b.forEach((T) => {
7247
7247
  E.type === "bullets" && E.clickable && T.classList.add(...(E.clickableClass || "").split(" ")), T.classList.add(E.modifierClass + E.type), T.classList.add(e.isHorizontal() ? E.horizontalClass : E.verticalClass), E.type === "bullets" && E.dynamicBullets && (T.classList.add(`${E.modifierClass}${E.type}-dynamic`), s = 0, E.dynamicMainBullets < 1 && (E.dynamicMainBullets = 1)), E.type === "progressbar" && E.progressbarOpposite && T.classList.add(E.progressbarOppositeClass), E.clickable && T.addEventListener("click", d), e.enabled || T.classList.add(E.lockClass);
@@ -7311,7 +7311,7 @@ function af({
7311
7311
  destroy: y
7312
7312
  });
7313
7313
  }
7314
- function Vi(e) {
7314
+ function $i(e) {
7315
7315
  const t = [], n = String(e || "");
7316
7316
  let r = n.indexOf(","), a = 0, i = !1;
7317
7317
  for (; !i; ) {
@@ -7321,21 +7321,21 @@ function Vi(e) {
7321
7321
  }
7322
7322
  return t;
7323
7323
  }
7324
- function Do(e, t) {
7324
+ function ko(e, t) {
7325
7325
  const n = {};
7326
7326
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
7327
7327
  (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
7328
7328
  ).trim();
7329
7329
  }
7330
7330
  const sf = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, of = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, uf = {};
7331
- function Gi(e, t) {
7331
+ function Ui(e, t) {
7332
7332
  return (uf.jsx ? of : sf).test(e);
7333
7333
  }
7334
7334
  const lf = /[ \t\n\f\r]/g;
7335
7335
  function cf(e) {
7336
- return typeof e == "object" ? e.type === "text" ? Yi(e.value) : !1 : Yi(e);
7336
+ return typeof e == "object" ? e.type === "text" ? qi(e.value) : !1 : qi(e);
7337
7337
  }
7338
- function Yi(e) {
7338
+ function qi(e) {
7339
7339
  return e.replace(lf, "") === "";
7340
7340
  }
7341
7341
  class Dn {
@@ -7356,7 +7356,7 @@ class Dn {
7356
7356
  Dn.prototype.normal = {};
7357
7357
  Dn.prototype.property = {};
7358
7358
  Dn.prototype.space = void 0;
7359
- function Po(e, t) {
7359
+ function Io(e, t) {
7360
7360
  const n = {}, r = {};
7361
7361
  for (const a of e)
7362
7362
  Object.assign(n, a.property), Object.assign(r, a.normal);
@@ -7391,7 +7391,7 @@ Ge.prototype.property = "";
7391
7391
  Ge.prototype.spaceSeparated = !1;
7392
7392
  Ge.prototype.space = void 0;
7393
7393
  let df = 0;
7394
- const de = Mt(), De = Mt(), va = Mt(), X = Mt(), Ce = Mt(), Wt = Mt(), Xe = Mt();
7394
+ const de = Mt(), De = Mt(), va = Mt(), X = Mt(), Ce = Mt(), Wt = Mt(), je = Mt();
7395
7395
  function Mt() {
7396
7396
  return 2 ** ++df;
7397
7397
  }
@@ -7399,7 +7399,7 @@ const wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7399
7399
  __proto__: null,
7400
7400
  boolean: de,
7401
7401
  booleanish: De,
7402
- commaOrSpaceSeparated: Xe,
7402
+ commaOrSpaceSeparated: je,
7403
7403
  commaSeparated: Wt,
7404
7404
  number: X,
7405
7405
  overloadedBoolean: va,
@@ -7424,15 +7424,15 @@ class Xa extends Ge {
7424
7424
  */
7425
7425
  constructor(t, n, r, a) {
7426
7426
  let i = -1;
7427
- if (super(t, n), Wi(this, "space", a), typeof r == "number")
7427
+ if (super(t, n), zi(this, "space", a), typeof r == "number")
7428
7428
  for (; ++i < jr.length; ) {
7429
7429
  const s = jr[i];
7430
- Wi(this, jr[i], (r & wa[s]) === wa[s]);
7430
+ zi(this, jr[i], (r & wa[s]) === wa[s]);
7431
7431
  }
7432
7432
  }
7433
7433
  }
7434
7434
  Xa.prototype.defined = !0;
7435
- function Wi(e, t, n) {
7435
+ function zi(e, t, n) {
7436
7436
  n && (e[t] = n);
7437
7437
  }
7438
7438
  function Kt(e) {
@@ -7448,7 +7448,7 @@ function Kt(e) {
7448
7448
  }
7449
7449
  return new Dn(t, n, e.space);
7450
7450
  }
7451
- const Mo = Kt({
7451
+ const Lo = Kt({
7452
7452
  properties: {
7453
7453
  ariaActiveDescendant: null,
7454
7454
  ariaAtomic: De,
@@ -7504,11 +7504,11 @@ const Mo = Kt({
7504
7504
  return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
7505
7505
  }
7506
7506
  });
7507
- function Ro(e, t) {
7507
+ function Oo(e, t) {
7508
7508
  return t in e ? e[t] : t;
7509
7509
  }
7510
- function Bo(e, t) {
7511
- return Ro(e, t.toLowerCase());
7510
+ function Do(e, t) {
7511
+ return Oo(e, t.toLowerCase());
7512
7512
  }
7513
7513
  const ff = Kt({
7514
7514
  attributes: {
@@ -7870,7 +7870,7 @@ const ff = Kt({
7870
7870
  unselectable: null
7871
7871
  },
7872
7872
  space: "html",
7873
- transform: Bo
7873
+ transform: Do
7874
7874
  }), pf = Kt({
7875
7875
  attributes: {
7876
7876
  accentHeight: "accent-height",
@@ -8048,7 +8048,7 @@ const ff = Kt({
8048
8048
  timelineBegin: "timelinebegin"
8049
8049
  },
8050
8050
  properties: {
8051
- about: Xe,
8051
+ about: je,
8052
8052
  accentHeight: X,
8053
8053
  accumulate: null,
8054
8054
  additive: null,
@@ -8160,7 +8160,7 @@ const ff = Kt({
8160
8160
  k2: X,
8161
8161
  k3: X,
8162
8162
  k4: X,
8163
- kernelMatrix: Xe,
8163
+ kernelMatrix: je,
8164
8164
  kernelUnitLength: null,
8165
8165
  keyPoints: null,
8166
8166
  // SEMI_COLON_SEPARATED
@@ -8317,21 +8317,21 @@ const ff = Kt({
8317
8317
  preserveAspectRatio: null,
8318
8318
  primitiveUnits: null,
8319
8319
  propagate: null,
8320
- property: Xe,
8320
+ property: je,
8321
8321
  r: null,
8322
8322
  radius: null,
8323
8323
  referrerPolicy: null,
8324
8324
  refX: null,
8325
8325
  refY: null,
8326
- rel: Xe,
8327
- rev: Xe,
8326
+ rel: je,
8327
+ rev: je,
8328
8328
  renderingIntent: null,
8329
8329
  repeatCount: null,
8330
8330
  repeatDur: null,
8331
- requiredExtensions: Xe,
8332
- requiredFeatures: Xe,
8333
- requiredFonts: Xe,
8334
- requiredFormats: Xe,
8331
+ requiredExtensions: je,
8332
+ requiredFeatures: je,
8333
+ requiredFonts: je,
8334
+ requiredFormats: je,
8335
8335
  resource: null,
8336
8336
  restart: null,
8337
8337
  result: null,
@@ -8359,7 +8359,7 @@ const ff = Kt({
8359
8359
  strikethroughThickness: X,
8360
8360
  string: null,
8361
8361
  stroke: null,
8362
- strokeDashArray: Xe,
8362
+ strokeDashArray: je,
8363
8363
  strokeDashOffset: null,
8364
8364
  strokeLineCap: null,
8365
8365
  strokeLineJoin: null,
@@ -8373,7 +8373,7 @@ const ff = Kt({
8373
8373
  syncMaster: null,
8374
8374
  syncTolerance: null,
8375
8375
  syncToleranceDefault: null,
8376
- systemLanguage: Xe,
8376
+ systemLanguage: je,
8377
8377
  tabIndex: X,
8378
8378
  tableValues: null,
8379
8379
  target: null,
@@ -8387,7 +8387,7 @@ const ff = Kt({
8387
8387
  title: null,
8388
8388
  transformBehavior: null,
8389
8389
  type: null,
8390
- typeOf: Xe,
8390
+ typeOf: je,
8391
8391
  to: null,
8392
8392
  transform: null,
8393
8393
  transformOrigin: null,
@@ -8429,8 +8429,8 @@ const ff = Kt({
8429
8429
  zoomAndPan: null
8430
8430
  },
8431
8431
  space: "svg",
8432
- transform: Ro
8433
- }), Fo = Kt({
8432
+ transform: Oo
8433
+ }), Po = Kt({
8434
8434
  properties: {
8435
8435
  xLinkActuate: null,
8436
8436
  xLinkArcRole: null,
@@ -8444,12 +8444,12 @@ const ff = Kt({
8444
8444
  transform(e, t) {
8445
8445
  return "xlink:" + t.slice(5).toLowerCase();
8446
8446
  }
8447
- }), Ho = Kt({
8447
+ }), Mo = Kt({
8448
8448
  attributes: { xmlnsxlink: "xmlns:xlink" },
8449
8449
  properties: { xmlnsXLink: null, xmlns: null },
8450
8450
  space: "xmlns",
8451
- transform: Bo
8452
- }), $o = Kt({
8451
+ transform: Do
8452
+ }), Ro = Kt({
8453
8453
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
8454
8454
  space: "xml",
8455
8455
  transform(e, t) {
@@ -8473,7 +8473,7 @@ const ff = Kt({
8473
8473
  xLinkTitle: "xlinkTitle",
8474
8474
  xLinkType: "xlinkType",
8475
8475
  xmlnsXLink: "xmlnsXlink"
8476
- }, mf = /[A-Z]/g, ji = /-[a-z]/g, gf = /^data[-\w.:]+$/i;
8476
+ }, mf = /[A-Z]/g, Vi = /-[a-z]/g, gf = /^data[-\w.:]+$/i;
8477
8477
  function xr(e, t) {
8478
8478
  const n = vn(t);
8479
8479
  let r = t, a = Ge;
@@ -8481,11 +8481,11 @@ function xr(e, t) {
8481
8481
  return e.property[e.normal[n]];
8482
8482
  if (n.length > 4 && n.slice(0, 4) === "data" && gf.test(t)) {
8483
8483
  if (t.charAt(4) === "-") {
8484
- const i = t.slice(5).replace(ji, bf);
8484
+ const i = t.slice(5).replace(Vi, bf);
8485
8485
  r = "data" + i.charAt(0).toUpperCase() + i.slice(1);
8486
8486
  } else {
8487
8487
  const i = t.slice(4);
8488
- if (!ji.test(i)) {
8488
+ if (!Vi.test(i)) {
8489
8489
  let s = i.replace(mf, Ef);
8490
8490
  s.charAt(0) !== "-" && (s = "-" + s), t = "data" + s;
8491
8491
  }
@@ -8500,21 +8500,21 @@ function Ef(e) {
8500
8500
  function bf(e) {
8501
8501
  return e.charAt(1).toUpperCase();
8502
8502
  }
8503
- const Pn = Po([Mo, ff, Fo, Ho, $o], "html"), vt = Po([Mo, pf, Fo, Ho, $o], "svg");
8504
- function Xi(e) {
8503
+ const Pn = Io([Lo, ff, Po, Mo, Ro], "html"), vt = Io([Lo, pf, Po, Mo, Ro], "svg");
8504
+ function Gi(e) {
8505
8505
  const t = String(e || "").trim();
8506
8506
  return t ? t.split(/[ \t\n\r\f]+/g) : [];
8507
8507
  }
8508
- function Uo(e) {
8508
+ function Bo(e) {
8509
8509
  return e.join(" ").trim();
8510
8510
  }
8511
8511
  function Ka(e) {
8512
8512
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8513
8513
  }
8514
- var qt = {}, Xr, Ki;
8514
+ var qt = {}, Xr, Yi;
8515
8515
  function Tf() {
8516
- if (Ki) return Xr;
8517
- Ki = 1;
8516
+ if (Yi) return Xr;
8517
+ Yi = 1;
8518
8518
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, a = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, s = /^[;\s]*/, o = /^\s+|\s+$/g, u = `
8519
8519
  `, l = "/", d = "*", p = "", g = "comment", f = "declaration";
8520
8520
  function y(m, E) {
@@ -8601,10 +8601,10 @@ function Tf() {
8601
8601
  }
8602
8602
  return Xr = y, Xr;
8603
8603
  }
8604
- var Qi;
8604
+ var Wi;
8605
8605
  function yf() {
8606
- if (Qi) return qt;
8607
- Qi = 1;
8606
+ if (Wi) return qt;
8607
+ Wi = 1;
8608
8608
  var e = qt && qt.__importDefault || function(r) {
8609
8609
  return r && r.__esModule ? r : { default: r };
8610
8610
  };
@@ -8624,10 +8624,10 @@ function yf() {
8624
8624
  }
8625
8625
  return qt;
8626
8626
  }
8627
- var on = {}, Ji;
8627
+ var on = {}, ji;
8628
8628
  function xf() {
8629
- if (Ji) return on;
8630
- Ji = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.camelCase = void 0;
8629
+ if (ji) return on;
8630
+ ji = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.camelCase = void 0;
8631
8631
  var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, n = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, i = function(l) {
8632
8632
  return !l || n.test(l) || e.test(l);
8633
8633
  }, s = function(l, d) {
@@ -8639,10 +8639,10 @@ function xf() {
8639
8639
  };
8640
8640
  return on.camelCase = u, on;
8641
8641
  }
8642
- var un, Zi;
8642
+ var un, Xi;
8643
8643
  function Cf() {
8644
- if (Zi) return un;
8645
- Zi = 1;
8644
+ if (Xi) return un;
8645
+ Xi = 1;
8646
8646
  var e = un && un.__importDefault || function(a) {
8647
8647
  return a && a.__esModule ? a : { default: a };
8648
8648
  }, t = e(yf()), n = xf();
@@ -8655,8 +8655,8 @@ function Cf() {
8655
8655
  return r.default = r, un = r, un;
8656
8656
  }
8657
8657
  var Af = Cf();
8658
- const Sf = /* @__PURE__ */ Ka(Af), Cr = qo("end"), ft = qo("start");
8659
- function qo(e) {
8658
+ const Sf = /* @__PURE__ */ Ka(Af), Cr = Fo("end"), ft = Fo("start");
8659
+ function Fo(e) {
8660
8660
  return t;
8661
8661
  function t(n) {
8662
8662
  const r = n && n.position && n.position[e] || {};
@@ -8668,21 +8668,21 @@ function qo(e) {
8668
8668
  };
8669
8669
  }
8670
8670
  }
8671
- function zo(e) {
8671
+ function Ho(e) {
8672
8672
  const t = ft(e), n = Cr(e);
8673
8673
  if (t && n)
8674
8674
  return { start: t, end: n };
8675
8675
  }
8676
8676
  function gn(e) {
8677
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? es(e.position) : "start" in e || "end" in e ? es(e) : "line" in e || "column" in e ? Na(e) : "";
8677
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Ki(e.position) : "start" in e || "end" in e ? Ki(e) : "line" in e || "column" in e ? Na(e) : "";
8678
8678
  }
8679
8679
  function Na(e) {
8680
- return ts(e && e.line) + ":" + ts(e && e.column);
8680
+ return Qi(e && e.line) + ":" + Qi(e && e.column);
8681
8681
  }
8682
- function es(e) {
8682
+ function Ki(e) {
8683
8683
  return Na(e && e.start) + "-" + Na(e && e.end);
8684
8684
  }
8685
- function ts(e) {
8685
+ function Qi(e) {
8686
8686
  return e && typeof e == "number" ? e : 1;
8687
8687
  }
8688
8688
  class He extends Error {
@@ -8772,7 +8772,7 @@ He.prototype.fatal = void 0;
8772
8772
  He.prototype.place = void 0;
8773
8773
  He.prototype.ruleId = void 0;
8774
8774
  He.prototype.source = void 0;
8775
- const Qa = {}.hasOwnProperty, _f = /* @__PURE__ */ new Map(), vf = /[A-Z]/g, wf = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Nf = /* @__PURE__ */ new Set(["td", "th"]), Vo = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
8775
+ const Qa = {}.hasOwnProperty, _f = /* @__PURE__ */ new Map(), vf = /[A-Z]/g, wf = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Nf = /* @__PURE__ */ new Set(["td", "th"]), $o = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
8776
8776
  function kf(e, t) {
8777
8777
  if (!t || t.Fragment === void 0)
8778
8778
  throw new TypeError("Expected `Fragment` in options");
@@ -8805,7 +8805,7 @@ function kf(e, t) {
8805
8805
  schema: t.space === "svg" ? vt : Pn,
8806
8806
  stylePropertyNameCase: t.stylePropertyNameCase || "dom",
8807
8807
  tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
8808
- }, i = Go(a, e, void 0);
8808
+ }, i = Uo(a, e, void 0);
8809
8809
  return i && typeof i != "string" ? i : a.create(
8810
8810
  e,
8811
8811
  a.Fragment,
@@ -8813,7 +8813,7 @@ function kf(e, t) {
8813
8813
  void 0
8814
8814
  );
8815
8815
  }
8816
- function Go(e, t, n) {
8816
+ function Uo(e, t, n) {
8817
8817
  if (t.type === "element")
8818
8818
  return If(e, t, n);
8819
8819
  if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
@@ -8831,11 +8831,11 @@ function If(e, t, n) {
8831
8831
  const r = e.schema;
8832
8832
  let a = r;
8833
8833
  t.tagName.toLowerCase() === "svg" && r.space === "html" && (a = vt, e.schema = a), e.ancestors.push(t);
8834
- const i = Wo(e, t.tagName, !1), s = Ff(e, t);
8834
+ const i = zo(e, t.tagName, !1), s = Ff(e, t);
8835
8835
  let o = Za(e, t);
8836
8836
  return wf.has(t.tagName) && (o = o.filter(function(u) {
8837
8837
  return typeof u == "string" ? !cf(u) : !0;
8838
- })), Yo(e, s, i, t), Ja(s, o), e.ancestors.pop(), e.schema = r, e.create(t, i, s, n);
8838
+ })), qo(e, s, i, t), Ja(s, o), e.ancestors.pop(), e.schema = r, e.create(t, i, s, n);
8839
8839
  }
8840
8840
  function Lf(e, t) {
8841
8841
  if (t.data && t.data.estree && e.evaluater) {
@@ -8857,8 +8857,8 @@ function Df(e, t, n) {
8857
8857
  const r = e.schema;
8858
8858
  let a = r;
8859
8859
  t.name === "svg" && r.space === "html" && (a = vt, e.schema = a), e.ancestors.push(t);
8860
- const i = t.name === null ? e.Fragment : Wo(e, t.name, !0), s = Hf(e, t), o = Za(e, t);
8861
- return Yo(e, s, i, t), Ja(s, o), e.ancestors.pop(), e.schema = r, e.create(t, i, s, n);
8860
+ const i = t.name === null ? e.Fragment : zo(e, t.name, !0), s = Hf(e, t), o = Za(e, t);
8861
+ return qo(e, s, i, t), Ja(s, o), e.ancestors.pop(), e.schema = r, e.create(t, i, s, n);
8862
8862
  }
8863
8863
  function Pf(e, t, n) {
8864
8864
  const r = {};
@@ -8867,7 +8867,7 @@ function Pf(e, t, n) {
8867
8867
  function Mf(e, t) {
8868
8868
  return t.value;
8869
8869
  }
8870
- function Yo(e, t, n, r) {
8870
+ function qo(e, t, n, r) {
8871
8871
  typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
8872
8872
  }
8873
8873
  function Ja(e, t) {
@@ -8967,7 +8967,7 @@ function Za(e, t) {
8967
8967
  s = u + "-" + l, a.set(u, l + 1);
8968
8968
  }
8969
8969
  }
8970
- const o = Go(e, i, s);
8970
+ const o = Uo(e, i, s);
8971
8971
  o !== void 0 && n.push(o);
8972
8972
  }
8973
8973
  return n;
@@ -8975,7 +8975,7 @@ function Za(e, t) {
8975
8975
  function $f(e, t, n) {
8976
8976
  const r = xr(e.schema, t);
8977
8977
  if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
8978
- if (Array.isArray(n) && (n = r.commaSeparated ? Do(n) : Uo(n)), r.property === "style") {
8978
+ if (Array.isArray(n) && (n = r.commaSeparated ? ko(n) : Bo(n)), r.property === "style") {
8979
8979
  let a = typeof n == "object" ? n : Uf(e, String(n));
8980
8980
  return e.stylePropertyNameCase === "css" && (a = qf(a)), ["style", a];
8981
8981
  }
@@ -9000,10 +9000,10 @@ function Uf(e, t) {
9000
9000
  ruleId: "style",
9001
9001
  source: "hast-util-to-jsx-runtime"
9002
9002
  });
9003
- throw a.file = e.filePath || void 0, a.url = Vo + "#cannot-parse-style-attribute", a;
9003
+ throw a.file = e.filePath || void 0, a.url = $o + "#cannot-parse-style-attribute", a;
9004
9004
  }
9005
9005
  }
9006
- function Wo(e, t, n) {
9006
+ function zo(e, t, n) {
9007
9007
  let r;
9008
9008
  if (!n)
9009
9009
  r = { type: "Literal", value: t };
@@ -9011,7 +9011,7 @@ function Wo(e, t, n) {
9011
9011
  const a = t.split(".");
9012
9012
  let i = -1, s;
9013
9013
  for (; ++i < a.length; ) {
9014
- const o = Gi(a[i]) ? { type: "Identifier", name: a[i] } : { type: "Literal", value: a[i] };
9014
+ const o = Ui(a[i]) ? { type: "Identifier", name: a[i] } : { type: "Literal", value: a[i] };
9015
9015
  s = s ? {
9016
9016
  type: "MemberExpression",
9017
9017
  object: s,
@@ -9022,7 +9022,7 @@ function Wo(e, t, n) {
9022
9022
  }
9023
9023
  r = s;
9024
9024
  } else
9025
- r = Gi(t) && !/^[a-z]/.test(t) ? { type: "Identifier", name: t } : { type: "Literal", value: t };
9025
+ r = Ui(t) && !/^[a-z]/.test(t) ? { type: "Identifier", name: t } : { type: "Literal", value: t };
9026
9026
  if (r.type === "Literal") {
9027
9027
  const a = (
9028
9028
  /** @type {string | number} */
@@ -9044,7 +9044,7 @@ function wn(e, t) {
9044
9044
  source: "hast-util-to-jsx-runtime"
9045
9045
  }
9046
9046
  );
9047
- throw n.file = e.filePath || void 0, n.url = Vo + "#cannot-handle-mdx-estrees-without-createevaluater", n;
9047
+ throw n.file = e.filePath || void 0, n.url = $o + "#cannot-handle-mdx-estrees-without-createevaluater", n;
9048
9048
  }
9049
9049
  function qf(e) {
9050
9050
  const t = {};
@@ -9085,34 +9085,34 @@ const Kr = {
9085
9085
  }, Gf = {};
9086
9086
  function Yf(e, t) {
9087
9087
  const n = Gf, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, a = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
9088
- return jo(e, r, a);
9088
+ return Vo(e, r, a);
9089
9089
  }
9090
- function jo(e, t, n) {
9090
+ function Vo(e, t, n) {
9091
9091
  if (Wf(e)) {
9092
9092
  if ("value" in e)
9093
9093
  return e.type === "html" && !n ? "" : e.value;
9094
9094
  if (t && "alt" in e && e.alt)
9095
9095
  return e.alt;
9096
9096
  if ("children" in e)
9097
- return ns(e.children, t, n);
9097
+ return Ji(e.children, t, n);
9098
9098
  }
9099
- return Array.isArray(e) ? ns(e, t, n) : "";
9099
+ return Array.isArray(e) ? Ji(e, t, n) : "";
9100
9100
  }
9101
- function ns(e, t, n) {
9101
+ function Ji(e, t, n) {
9102
9102
  const r = [];
9103
9103
  let a = -1;
9104
9104
  for (; ++a < e.length; )
9105
- r[a] = jo(e[a], t, n);
9105
+ r[a] = Vo(e[a], t, n);
9106
9106
  return r.join("");
9107
9107
  }
9108
9108
  function Wf(e) {
9109
9109
  return !!(e && typeof e == "object");
9110
9110
  }
9111
- const rs = document.createElement("i");
9111
+ const Zi = document.createElement("i");
9112
9112
  function Nn(e) {
9113
9113
  const t = "&" + e + ";";
9114
- rs.innerHTML = t;
9115
- const n = rs.textContent;
9114
+ Zi.innerHTML = t;
9115
+ const n = Zi.textContent;
9116
9116
  return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
9117
9117
  }
9118
9118
  function dt(e, t, n, r) {
@@ -9127,7 +9127,7 @@ function dt(e, t, n, r) {
9127
9127
  function Ze(e, t) {
9128
9128
  return e.length > 0 ? (dt(e, e.length, 0, t), e) : t;
9129
9129
  }
9130
- const as = {}.hasOwnProperty;
9130
+ const es = {}.hasOwnProperty;
9131
9131
  function jf(e) {
9132
9132
  const t = {};
9133
9133
  let n = -1;
@@ -9138,11 +9138,11 @@ function jf(e) {
9138
9138
  function Xf(e, t) {
9139
9139
  let n;
9140
9140
  for (n in t) {
9141
- const a = (as.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n];
9141
+ const a = (es.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n];
9142
9142
  let s;
9143
9143
  if (i)
9144
9144
  for (s in i) {
9145
- as.call(a, s) || (a[s] = []);
9145
+ es.call(a, s) || (a[s] = []);
9146
9146
  const o = i[s];
9147
9147
  Kf(
9148
9148
  // @ts-expect-error Looks like a list.
@@ -9159,7 +9159,7 @@ function Kf(e, t) {
9159
9159
  (t[n].add === "after" ? e : r).push(t[n]);
9160
9160
  dt(e, 0, 0, r);
9161
9161
  }
9162
- function Xo(e, t) {
9162
+ function Go(e, t) {
9163
9163
  const n = Number.parseInt(e, t);
9164
9164
  return (
9165
9165
  // C0 except for HT, LF, FF, CR, space.
@@ -9175,7 +9175,7 @@ function Xo(e, t) {
9175
9175
  function jt(e) {
9176
9176
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
9177
9177
  }
9178
- const lt = wt(/[A-Za-z]/), Qe = wt(/[\dA-Za-z]/), Qf = wt(/[#-'*+\--9=?A-Z^-~]/);
9178
+ const lt = wt(/[A-Za-z]/), Ke = wt(/[\dA-Za-z]/), Qf = wt(/[#-'*+\--9=?A-Z^-~]/);
9179
9179
  function ka(e) {
9180
9180
  return (
9181
9181
  // Special whitespace codes (which have negative values), C0 and Control
@@ -9206,7 +9206,7 @@ function Qt(e) {
9206
9206
  for (; ++n < e.length; ) {
9207
9207
  const i = e.charCodeAt(n);
9208
9208
  let s = "";
9209
- if (i === 37 && Qe(e.charCodeAt(n + 1)) && Qe(e.charCodeAt(n + 2)))
9209
+ if (i === 37 && Ke(e.charCodeAt(n + 1)) && Ke(e.charCodeAt(n + 2)))
9210
9210
  a = 2;
9211
9211
  else if (i < 128)
9212
9212
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i)) || (s = String.fromCharCode(i));
@@ -9264,7 +9264,7 @@ function tp(e) {
9264
9264
  }
9265
9265
  const np = {
9266
9266
  tokenize: rp
9267
- }, is = {
9267
+ }, ts = {
9268
9268
  tokenize: ap
9269
9269
  };
9270
9270
  function rp(e) {
@@ -9306,7 +9306,7 @@ function rp(e) {
9306
9306
  return y(T);
9307
9307
  t.interrupt = !!(a.currentConstruct && !a._gfmTableDynamicInterruptHack);
9308
9308
  }
9309
- return t.containerState = {}, e.check(is, d, p)(T);
9309
+ return t.containerState = {}, e.check(ts, d, p)(T);
9310
9310
  }
9311
9311
  function d(T) {
9312
9312
  return a && b(), E(r), g(T);
@@ -9315,7 +9315,7 @@ function rp(e) {
9315
9315
  return t.parser.lazy[t.now().line] = r !== n.length, s = t.now().offset, y(T);
9316
9316
  }
9317
9317
  function g(T) {
9318
- return t.containerState = {}, e.attempt(is, f, y)(T);
9318
+ return t.containerState = {}, e.attempt(ts, f, y)(T);
9319
9319
  }
9320
9320
  function f(T) {
9321
9321
  return r++, n.push([t.currentConstruct, t.containerState]), g(T);
@@ -9382,7 +9382,7 @@ function rp(e) {
9382
9382
  function ap(e, t, n) {
9383
9383
  return Te(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
9384
9384
  }
9385
- function ss(e) {
9385
+ function ns(e) {
9386
9386
  if (e === null || Le(e) || In(e))
9387
9387
  return 1;
9388
9388
  if (kn(e))
@@ -9417,7 +9417,7 @@ function ip(e, t) {
9417
9417
  }, g = {
9418
9418
  ...e[n][1].start
9419
9419
  };
9420
- os(p, -u), os(g, u), s = {
9420
+ rs(p, -u), rs(g, u), s = {
9421
9421
  type: u > 1 ? "strongSequence" : "emphasisSequence",
9422
9422
  start: p,
9423
9423
  end: {
@@ -9458,7 +9458,7 @@ function ip(e, t) {
9458
9458
  return e;
9459
9459
  }
9460
9460
  function sp(e, t) {
9461
- const n = this.parser.constructs.attentionMarkers.null, r = this.previous, a = ss(r);
9461
+ const n = this.parser.constructs.attentionMarkers.null, r = this.previous, a = ns(r);
9462
9462
  let i;
9463
9463
  return s;
9464
9464
  function s(u) {
@@ -9467,11 +9467,11 @@ function sp(e, t) {
9467
9467
  function o(u) {
9468
9468
  if (u === i)
9469
9469
  return e.consume(u), o;
9470
- const l = e.exit("attentionSequence"), d = ss(u), p = !d || d === 2 && a || n.includes(u), g = !a || a === 2 && d || n.includes(r);
9470
+ const l = e.exit("attentionSequence"), d = ns(u), p = !d || d === 2 && a || n.includes(u), g = !a || a === 2 && d || n.includes(r);
9471
9471
  return l._open = !!(i === 42 ? p : p && (a || !g)), l._close = !!(i === 42 ? g : g && (d || !p)), t(u);
9472
9472
  }
9473
9473
  }
9474
- function os(e, t) {
9474
+ function rs(e, t) {
9475
9475
  e.column += t, e.offset += t, e._bufferIndex += t;
9476
9476
  }
9477
9477
  const op = {
@@ -9488,10 +9488,10 @@ function up(e, t, n) {
9488
9488
  return lt(f) ? (e.consume(f), s) : f === 64 ? n(f) : l(f);
9489
9489
  }
9490
9490
  function s(f) {
9491
- return f === 43 || f === 45 || f === 46 || Qe(f) ? (r = 1, o(f)) : l(f);
9491
+ return f === 43 || f === 45 || f === 46 || Ke(f) ? (r = 1, o(f)) : l(f);
9492
9492
  }
9493
9493
  function o(f) {
9494
- return f === 58 ? (e.consume(f), r = 0, u) : (f === 43 || f === 45 || f === 46 || Qe(f)) && r++ < 32 ? (e.consume(f), o) : (r = 0, l(f));
9494
+ return f === 58 ? (e.consume(f), r = 0, u) : (f === 43 || f === 45 || f === 46 || Ke(f)) && r++ < 32 ? (e.consume(f), o) : (r = 0, l(f));
9495
9495
  }
9496
9496
  function u(f) {
9497
9497
  return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || ka(f) ? n(f) : (e.consume(f), u);
@@ -9500,13 +9500,13 @@ function up(e, t, n) {
9500
9500
  return f === 64 ? (e.consume(f), d) : Qf(f) ? (e.consume(f), l) : n(f);
9501
9501
  }
9502
9502
  function d(f) {
9503
- return Qe(f) ? p(f) : n(f);
9503
+ return Ke(f) ? p(f) : n(f);
9504
9504
  }
9505
9505
  function p(f) {
9506
9506
  return f === 46 ? (e.consume(f), r = 0, d) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : g(f);
9507
9507
  }
9508
9508
  function g(f) {
9509
- if ((f === 45 || Qe(f)) && r++ < 63) {
9509
+ if ((f === 45 || Ke(f)) && r++ < 63) {
9510
9510
  const y = f === 45 ? g : p;
9511
9511
  return e.consume(f), y;
9512
9512
  }
@@ -9526,7 +9526,7 @@ function lp(e, t, n) {
9526
9526
  return i === null || te(i) ? t(i) : n(i);
9527
9527
  }
9528
9528
  }
9529
- const Ko = {
9529
+ const Yo = {
9530
9530
  continuation: {
9531
9531
  tokenize: dp
9532
9532
  },
@@ -9557,13 +9557,13 @@ function dp(e, t, n) {
9557
9557
  return be(s) ? Te(e, i, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : i(s);
9558
9558
  }
9559
9559
  function i(s) {
9560
- return e.attempt(Ko, t, n)(s);
9560
+ return e.attempt(Yo, t, n)(s);
9561
9561
  }
9562
9562
  }
9563
9563
  function fp(e) {
9564
9564
  e.exit("blockQuote");
9565
9565
  }
9566
- const Qo = {
9566
+ const Wo = {
9567
9567
  name: "characterEscape",
9568
9568
  tokenize: pp
9569
9569
  };
@@ -9576,7 +9576,7 @@ function pp(e, t, n) {
9576
9576
  return Zf(i) ? (e.enter("characterEscapeValue"), e.consume(i), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(i);
9577
9577
  }
9578
9578
  }
9579
- const Jo = {
9579
+ const jo = {
9580
9580
  name: "characterReference",
9581
9581
  tokenize: hp
9582
9582
  };
@@ -9588,7 +9588,7 @@ function hp(e, t, n) {
9588
9588
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), u;
9589
9589
  }
9590
9590
  function u(p) {
9591
- return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, s = Qe, d(p));
9591
+ return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, s = Ke, d(p));
9592
9592
  }
9593
9593
  function l(p) {
9594
9594
  return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, s = Jf, d) : (e.enter("characterReferenceValue"), i = 7, s = Ia, d(p));
@@ -9596,15 +9596,15 @@ function hp(e, t, n) {
9596
9596
  function d(p) {
9597
9597
  if (p === 59 && a) {
9598
9598
  const g = e.exit("characterReferenceValue");
9599
- return s === Qe && !Nn(r.sliceSerialize(g)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
9599
+ return s === Ke && !Nn(r.sliceSerialize(g)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
9600
9600
  }
9601
9601
  return s(p) && a++ < i ? (e.consume(p), d) : n(p);
9602
9602
  }
9603
9603
  }
9604
- const us = {
9604
+ const as = {
9605
9605
  partial: !0,
9606
9606
  tokenize: gp
9607
- }, ls = {
9607
+ }, is = {
9608
9608
  concrete: !0,
9609
9609
  name: "codeFenced",
9610
9610
  tokenize: mp
@@ -9627,7 +9627,7 @@ function mp(e, t, n) {
9627
9627
  return A === o ? (s++, e.consume(A), d) : s < 3 ? n(A) : (e.exit("codeFencedFenceSequence"), be(A) ? Te(e, p, "whitespace")(A) : p(A));
9628
9628
  }
9629
9629
  function p(A) {
9630
- return A === null || te(A) ? (e.exit("codeFencedFence"), r.interrupt ? t(A) : e.check(us, h, C)(A)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
9630
+ return A === null || te(A) ? (e.exit("codeFencedFence"), r.interrupt ? t(A) : e.check(as, h, C)(A)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
9631
9631
  contentType: "string"
9632
9632
  }), g(A));
9633
9633
  }
@@ -9652,7 +9652,7 @@ function mp(e, t, n) {
9652
9652
  return i > 0 && be(A) ? Te(e, b, "linePrefix", i + 1)(A) : b(A);
9653
9653
  }
9654
9654
  function b(A) {
9655
- return A === null || te(A) ? e.check(us, h, C)(A) : (e.enter("codeFlowValue"), T(A));
9655
+ return A === null || te(A) ? e.check(as, h, C)(A) : (e.enter("codeFlowValue"), T(A));
9656
9656
  }
9657
9657
  function T(A) {
9658
9658
  return A === null || te(A) ? (e.exit("codeFlowValue"), b(A)) : (e.consume(A), T);
@@ -9941,7 +9941,7 @@ function ln(e, t) {
9941
9941
  for (; n < t.length; )
9942
9942
  e.push(...t.slice(n, n + 1e4)), n += 1e4;
9943
9943
  }
9944
- function Zo(e) {
9944
+ function Xo(e) {
9945
9945
  const t = {};
9946
9946
  let n = -1, r, a, i, s, o, u, l;
9947
9947
  const d = new Sp(e);
@@ -9998,7 +9998,7 @@ const vp = {
9998
9998
  tokenize: Ip
9999
9999
  };
10000
10000
  function Np(e) {
10001
- return Zo(e), e;
10001
+ return Xo(e), e;
10002
10002
  }
10003
10003
  function kp(e, t) {
10004
10004
  let n;
@@ -10034,7 +10034,7 @@ function Ip(e, t, n) {
10034
10034
  return !r.parser.constructs.disable.null.includes("codeIndented") && o && o[1].type === "linePrefix" && o[2].sliceSerialize(o[1], !0).length >= 4 ? t(s) : e.interrupt(r.parser.constructs.flow, n, t)(s);
10035
10035
  }
10036
10036
  }
10037
- function eu(e, t, n, r, a, i, s, o, u) {
10037
+ function Ko(e, t, n, r, a, i, s, o, u) {
10038
10038
  const l = u || Number.POSITIVE_INFINITY;
10039
10039
  let d = 0;
10040
10040
  return p;
@@ -10061,7 +10061,7 @@ function eu(e, t, n, r, a, i, s, o, u) {
10061
10061
  return E === 40 || E === 41 || E === 92 ? (e.consume(E), h) : h(E);
10062
10062
  }
10063
10063
  }
10064
- function tu(e, t, n, r, a, i) {
10064
+ function Qo(e, t, n, r, a, i) {
10065
10065
  const s = this;
10066
10066
  let o = 0, u;
10067
10067
  return l;
@@ -10085,7 +10085,7 @@ function tu(e, t, n, r, a, i) {
10085
10085
  return f === 91 || f === 92 || f === 93 ? (e.consume(f), o++, p) : p(f);
10086
10086
  }
10087
10087
  }
10088
- function nu(e, t, n, r, a, i) {
10088
+ function Jo(e, t, n, r, a, i) {
10089
10089
  let s;
10090
10090
  return o;
10091
10091
  function o(g) {
@@ -10128,7 +10128,7 @@ function Dp(e, t, n) {
10128
10128
  return e.enter("definition"), s(f);
10129
10129
  }
10130
10130
  function s(f) {
10131
- return tu.call(
10131
+ return Qo.call(
10132
10132
  r,
10133
10133
  e,
10134
10134
  o,
@@ -10146,7 +10146,7 @@ function Dp(e, t, n) {
10146
10146
  return Le(f) ? Et(e, l)(f) : l(f);
10147
10147
  }
10148
10148
  function l(f) {
10149
- return eu(
10149
+ return Ko(
10150
10150
  e,
10151
10151
  d,
10152
10152
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -10174,7 +10174,7 @@ function Pp(e, t, n) {
10174
10174
  return Le(o) ? Et(e, a)(o) : n(o);
10175
10175
  }
10176
10176
  function a(o) {
10177
- return nu(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(o);
10177
+ return Jo(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(o);
10178
10178
  }
10179
10179
  function i(o) {
10180
10180
  return be(o) ? Te(e, s, "whitespace")(o) : s(o);
@@ -10299,7 +10299,7 @@ const $p = [
10299
10299
  "tr",
10300
10300
  "track",
10301
10301
  "ul"
10302
- ], cs = ["pre", "script", "style", "textarea"], Up = {
10302
+ ], ss = ["pre", "script", "style", "textarea"], Up = {
10303
10303
  concrete: !0,
10304
10304
  name: "htmlFlow",
10305
10305
  resolveTo: Vp,
@@ -10346,9 +10346,9 @@ function Gp(e, t, n) {
10346
10346
  function m(P) {
10347
10347
  if (P === null || P === 47 || P === 62 || Le(P)) {
10348
10348
  const ee = P === 47, ae = s.toLowerCase();
10349
- return !ee && !i && cs.includes(ae) ? (a = 1, r.interrupt ? t(P) : O(P)) : $p.includes(s.toLowerCase()) ? (a = 6, ee ? (e.consume(P), E) : r.interrupt ? t(P) : O(P)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(P) : i ? b(P) : T(P));
10349
+ return !ee && !i && ss.includes(ae) ? (a = 1, r.interrupt ? t(P) : O(P)) : $p.includes(s.toLowerCase()) ? (a = 6, ee ? (e.consume(P), E) : r.interrupt ? t(P) : O(P)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(P) : i ? b(P) : T(P));
10350
10350
  }
10351
- return P === 45 || Qe(P) ? (e.consume(P), s += String.fromCharCode(P), m) : n(P);
10351
+ return P === 45 || Ke(P) ? (e.consume(P), s += String.fromCharCode(P), m) : n(P);
10352
10352
  }
10353
10353
  function E(P) {
10354
10354
  return P === 62 ? (e.consume(P), r.interrupt ? t : O) : n(P);
@@ -10360,7 +10360,7 @@ function Gp(e, t, n) {
10360
10360
  return P === 47 ? (e.consume(P), k) : P === 58 || P === 95 || lt(P) ? (e.consume(P), C) : be(P) ? (e.consume(P), T) : k(P);
10361
10361
  }
10362
10362
  function C(P) {
10363
- return P === 45 || P === 46 || P === 58 || P === 95 || Qe(P) ? (e.consume(P), C) : S(P);
10363
+ return P === 45 || P === 46 || P === 58 || P === 95 || Ke(P) ? (e.consume(P), C) : S(P);
10364
10364
  }
10365
10365
  function S(P) {
10366
10366
  return P === 61 ? (e.consume(P), A) : be(P) ? (e.consume(P), S) : T(P);
@@ -10384,7 +10384,7 @@ function Gp(e, t, n) {
10384
10384
  return P === null || te(P) ? O(P) : be(P) ? (e.consume(P), N) : n(P);
10385
10385
  }
10386
10386
  function O(P) {
10387
- return P === 45 && a === 2 ? (e.consume(P), F) : P === 60 && a === 1 ? (e.consume(P), $) : P === 62 && a === 4 ? (e.consume(P), G) : P === 63 && a === 3 ? (e.consume(P), w) : P === 93 && a === 5 ? (e.consume(P), q) : te(P) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(qp, K, R)(P)) : P === null || te(P) ? (e.exit("htmlFlowData"), R(P)) : (e.consume(P), O);
10387
+ return P === 45 && a === 2 ? (e.consume(P), F) : P === 60 && a === 1 ? (e.consume(P), $) : P === 62 && a === 4 ? (e.consume(P), V) : P === 63 && a === 3 ? (e.consume(P), w) : P === 93 && a === 5 ? (e.consume(P), q) : te(P) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(qp, K, R)(P)) : P === null || te(P) ? (e.exit("htmlFlowData"), R(P)) : (e.consume(P), O);
10388
10388
  }
10389
10389
  function R(P) {
10390
10390
  return e.check(zp, I, K)(P);
@@ -10404,7 +10404,7 @@ function Gp(e, t, n) {
10404
10404
  function H(P) {
10405
10405
  if (P === 62) {
10406
10406
  const ee = s.toLowerCase();
10407
- return cs.includes(ee) ? (e.consume(P), G) : O(P);
10407
+ return ss.includes(ee) ? (e.consume(P), V) : O(P);
10408
10408
  }
10409
10409
  return lt(P) && s.length < 8 ? (e.consume(P), s += String.fromCharCode(P), H) : O(P);
10410
10410
  }
@@ -10412,10 +10412,10 @@ function Gp(e, t, n) {
10412
10412
  return P === 93 ? (e.consume(P), w) : O(P);
10413
10413
  }
10414
10414
  function w(P) {
10415
- return P === 62 ? (e.consume(P), G) : P === 45 && a === 2 ? (e.consume(P), w) : O(P);
10415
+ return P === 62 ? (e.consume(P), V) : P === 45 && a === 2 ? (e.consume(P), w) : O(P);
10416
10416
  }
10417
- function G(P) {
10418
- return P === null || te(P) ? (e.exit("htmlFlowData"), K(P)) : (e.consume(P), G);
10417
+ function V(P) {
10418
+ return P === null || te(P) ? (e.exit("htmlFlowData"), K(P)) : (e.consume(P), V);
10419
10419
  }
10420
10420
  function K(P) {
10421
10421
  return e.exit("htmlFlow"), t(P);
@@ -10467,8 +10467,8 @@ function Xp(e, t, n) {
10467
10467
  return w === 62 ? F(w) : w === 45 ? g(w) : p(w);
10468
10468
  }
10469
10469
  function y(w) {
10470
- const G = "CDATA[";
10471
- return w === G.charCodeAt(i++) ? (e.consume(w), i === G.length ? h : y) : n(w);
10470
+ const V = "CDATA[";
10471
+ return w === V.charCodeAt(i++) ? (e.consume(w), i === V.length ? h : y) : n(w);
10472
10472
  }
10473
10473
  function h(w) {
10474
10474
  return w === null ? n(w) : w === 93 ? (e.consume(w), m) : te(w) ? (s = h, $(w)) : (e.consume(w), h);
@@ -10492,19 +10492,19 @@ function Xp(e, t, n) {
10492
10492
  return lt(w) ? (e.consume(w), A) : n(w);
10493
10493
  }
10494
10494
  function A(w) {
10495
- return w === 45 || Qe(w) ? (e.consume(w), A) : L(w);
10495
+ return w === 45 || Ke(w) ? (e.consume(w), A) : L(w);
10496
10496
  }
10497
10497
  function L(w) {
10498
10498
  return te(w) ? (s = L, $(w)) : be(w) ? (e.consume(w), L) : F(w);
10499
10499
  }
10500
10500
  function _(w) {
10501
- return w === 45 || Qe(w) ? (e.consume(w), _) : w === 47 || w === 62 || Le(w) ? v(w) : n(w);
10501
+ return w === 45 || Ke(w) ? (e.consume(w), _) : w === 47 || w === 62 || Le(w) ? v(w) : n(w);
10502
10502
  }
10503
10503
  function v(w) {
10504
10504
  return w === 47 ? (e.consume(w), F) : w === 58 || w === 95 || lt(w) ? (e.consume(w), k) : te(w) ? (s = v, $(w)) : be(w) ? (e.consume(w), v) : F(w);
10505
10505
  }
10506
10506
  function k(w) {
10507
- return w === 45 || w === 46 || w === 58 || w === 95 || Qe(w) ? (e.consume(w), k) : N(w);
10507
+ return w === 45 || w === 46 || w === 58 || w === 95 || Ke(w) ? (e.consume(w), k) : N(w);
10508
10508
  }
10509
10509
  function N(w) {
10510
10510
  return w === 61 ? (e.consume(w), O) : te(w) ? (s = N, $(w)) : be(w) ? (e.consume(w), N) : v(w);
@@ -10635,7 +10635,7 @@ function nh(e, t, n) {
10635
10635
  return Le(p) ? Et(e, i)(p) : i(p);
10636
10636
  }
10637
10637
  function i(p) {
10638
- return p === 41 ? d(p) : eu(e, s, o, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
10638
+ return p === 41 ? d(p) : Ko(e, s, o, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
10639
10639
  }
10640
10640
  function s(p) {
10641
10641
  return Le(p) ? Et(e, u)(p) : d(p);
@@ -10644,7 +10644,7 @@ function nh(e, t, n) {
10644
10644
  return n(p);
10645
10645
  }
10646
10646
  function u(p) {
10647
- return p === 34 || p === 39 || p === 40 ? nu(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : d(p);
10647
+ return p === 34 || p === 39 || p === 40 ? Jo(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : d(p);
10648
10648
  }
10649
10649
  function l(p) {
10650
10650
  return Le(p) ? Et(e, d)(p) : d(p);
@@ -10657,7 +10657,7 @@ function rh(e, t, n) {
10657
10657
  const r = this;
10658
10658
  return a;
10659
10659
  function a(o) {
10660
- return tu.call(r, e, i, s, "reference", "referenceMarker", "referenceString")(o);
10660
+ return Qo.call(r, e, i, s, "reference", "referenceMarker", "referenceString")(o);
10661
10661
  }
10662
10662
  function i(o) {
10663
10663
  return r.parser.defined.includes(jt(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(o) : n(o);
@@ -10821,7 +10821,7 @@ function Eh(e, t, n) {
10821
10821
  return !be(i) && s && s[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
10822
10822
  }
10823
10823
  }
10824
- const ds = {
10824
+ const os = {
10825
10825
  name: "setextUnderline",
10826
10826
  resolveTo: bh,
10827
10827
  tokenize: Th
@@ -10901,11 +10901,11 @@ function xh(e) {
10901
10901
  }
10902
10902
  }
10903
10903
  const Ch = {
10904
- resolveAll: au()
10905
- }, Ah = ru("string"), Sh = ru("text");
10906
- function ru(e) {
10904
+ resolveAll: eu()
10905
+ }, Ah = Zo("string"), Sh = Zo("text");
10906
+ function Zo(e) {
10907
10907
  return {
10908
- resolveAll: au(e === "text" ? _h : void 0),
10908
+ resolveAll: eu(e === "text" ? _h : void 0),
10909
10909
  tokenize: t
10910
10910
  };
10911
10911
  function t(n) {
@@ -10939,7 +10939,7 @@ function ru(e) {
10939
10939
  }
10940
10940
  }
10941
10941
  }
10942
- function au(e) {
10942
+ function eu(e) {
10943
10943
  return t;
10944
10944
  function t(n, r) {
10945
10945
  let a = -1, i;
@@ -11004,7 +11004,7 @@ const vh = {
11004
11004
  55: Ve,
11005
11005
  56: Ve,
11006
11006
  57: Ve,
11007
- 62: Ko
11007
+ 62: Yo
11008
11008
  }, wh = {
11009
11009
  91: Lp
11010
11010
  }, Nh = {
@@ -11014,25 +11014,25 @@ const vh = {
11014
11014
  }, kh = {
11015
11015
  35: Bp,
11016
11016
  42: nr,
11017
- 45: [ds, nr],
11017
+ 45: [os, nr],
11018
11018
  60: Up,
11019
- 61: ds,
11019
+ 61: os,
11020
11020
  95: nr,
11021
- 96: ls,
11022
- 126: ls
11021
+ 96: is,
11022
+ 126: is
11023
11023
  }, Ih = {
11024
- 38: Jo,
11025
- 92: Qo
11024
+ 38: jo,
11025
+ 92: Wo
11026
11026
  }, Lh = {
11027
11027
  [-5]: Jr,
11028
11028
  [-4]: Jr,
11029
11029
  [-3]: Jr,
11030
11030
  33: ih,
11031
- 38: Jo,
11031
+ 38: jo,
11032
11032
  42: La,
11033
11033
  60: [op, jp],
11034
11034
  91: oh,
11035
- 92: [Mp, Qo],
11035
+ 92: [Mp, Wo],
11036
11036
  93: ti,
11037
11037
  95: La,
11038
11038
  96: yp
@@ -11162,8 +11162,8 @@ function Rh(e, t, n) {
11162
11162
  /** @type {Construct} */
11163
11163
  I
11164
11164
  ])
11165
- ) : G(I);
11166
- function G(ne) {
11165
+ ) : V(I);
11166
+ function V(ne) {
11167
11167
  return Q;
11168
11168
  function Q(re) {
11169
11169
  const ge = re !== null && ne[re], Ee = re !== null && ne.null, ke = [
@@ -11294,11 +11294,11 @@ function Hh(e) {
11294
11294
  }
11295
11295
  }
11296
11296
  function $h(e) {
11297
- for (; !Zo(e); )
11297
+ for (; !Xo(e); )
11298
11298
  ;
11299
11299
  return e;
11300
11300
  }
11301
- const fs = /[\0\t\n\r]/g;
11301
+ const us = /[\0\t\n\r]/g;
11302
11302
  function Uh() {
11303
11303
  let e = 1, t = "", n = !0, r;
11304
11304
  return a;
@@ -11306,7 +11306,7 @@ function Uh() {
11306
11306
  const u = [];
11307
11307
  let l, d, p, g, f;
11308
11308
  for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(s || void 0).decode(i)), p = 0, t = "", n && (i.charCodeAt(0) === 65279 && p++, n = void 0); p < i.length; ) {
11309
- if (fs.lastIndex = p, l = fs.exec(i), g = l && l.index !== void 0 ? l.index : i.length, f = i.charCodeAt(g), !l) {
11309
+ if (us.lastIndex = p, l = us.exec(i), g = l && l.index !== void 0 ? l.index : i.length, f = i.charCodeAt(g), !l) {
11310
11310
  t = i.slice(p);
11311
11311
  break;
11312
11312
  }
@@ -11343,11 +11343,11 @@ function Vh(e, t, n) {
11343
11343
  return t;
11344
11344
  if (n.charCodeAt(0) === 35) {
11345
11345
  const a = n.charCodeAt(1), i = a === 120 || a === 88;
11346
- return Xo(n.slice(i ? 2 : 1), i ? 16 : 10);
11346
+ return Go(n.slice(i ? 2 : 1), i ? 16 : 10);
11347
11347
  }
11348
11348
  return Nn(n) || e;
11349
11349
  }
11350
- const iu = {}.hasOwnProperty;
11350
+ const tu = {}.hasOwnProperty;
11351
11351
  function Gh(e, t, n) {
11352
11352
  return typeof t != "string" && (n = t, t = void 0), Yh(n)($h(Hh(n).document().write(Uh()(e, t, !0))));
11353
11353
  }
@@ -11441,7 +11441,7 @@ function Yh(e) {
11441
11441
  paragraph: u(),
11442
11442
  referenceString: ee,
11443
11443
  resourceDestinationString: w,
11444
- resourceTitleString: G,
11444
+ resourceTitleString: V,
11445
11445
  resource: K,
11446
11446
  setextHeading: u(_),
11447
11447
  setextHeadingLineSequence: L,
@@ -11450,10 +11450,10 @@ function Yh(e) {
11450
11450
  thematicBreak: u()
11451
11451
  }
11452
11452
  };
11453
- su(t, (e || {}).mdastExtensions || []);
11453
+ nu(t, (e || {}).mdastExtensions || []);
11454
11454
  const n = {};
11455
11455
  return r;
11456
- function r(V) {
11456
+ function r(G) {
11457
11457
  let J = {
11458
11458
  type: "root",
11459
11459
  children: []
@@ -11469,31 +11469,31 @@ function Yh(e) {
11469
11469
  data: n
11470
11470
  }, me = [];
11471
11471
  let ye = -1;
11472
- for (; ++ye < V.length; )
11473
- if (V[ye][1].type === "listOrdered" || V[ye][1].type === "listUnordered")
11474
- if (V[ye][0] === "enter")
11472
+ for (; ++ye < G.length; )
11473
+ if (G[ye][1].type === "listOrdered" || G[ye][1].type === "listUnordered")
11474
+ if (G[ye][0] === "enter")
11475
11475
  me.push(ye);
11476
11476
  else {
11477
11477
  const Ye = me.pop();
11478
- ye = a(V, Ye, ye);
11478
+ ye = a(G, Ye, ye);
11479
11479
  }
11480
- for (ye = -1; ++ye < V.length; ) {
11481
- const Ye = t[V[ye][0]];
11482
- iu.call(Ye, V[ye][1].type) && Ye[V[ye][1].type].call(Object.assign({
11483
- sliceSerialize: V[ye][2].sliceSerialize
11484
- }, le), V[ye][1]);
11480
+ for (ye = -1; ++ye < G.length; ) {
11481
+ const Ye = t[G[ye][0]];
11482
+ tu.call(Ye, G[ye][1].type) && Ye[G[ye][1].type].call(Object.assign({
11483
+ sliceSerialize: G[ye][2].sliceSerialize
11484
+ }, le), G[ye][1]);
11485
11485
  }
11486
11486
  if (le.tokenStack.length > 0) {
11487
11487
  const Ye = le.tokenStack[le.tokenStack.length - 1];
11488
- (Ye[1] || ps).call(le, void 0, Ye[0]);
11488
+ (Ye[1] || ls).call(le, void 0, Ye[0]);
11489
11489
  }
11490
11490
  for (J.position = {
11491
- start: yt(V.length > 0 ? V[0][1].start : {
11491
+ start: yt(G.length > 0 ? G[0][1].start : {
11492
11492
  line: 1,
11493
11493
  column: 1,
11494
11494
  offset: 0
11495
11495
  }),
11496
- end: yt(V.length > 0 ? V[V.length - 2][1].end : {
11496
+ end: yt(G.length > 0 ? G[G.length - 2][1].end : {
11497
11497
  line: 1,
11498
11498
  column: 1,
11499
11499
  offset: 0
@@ -11502,10 +11502,10 @@ function Yh(e) {
11502
11502
  J = t.transforms[ye](J) || J;
11503
11503
  return J;
11504
11504
  }
11505
- function a(V, J, le) {
11506
- let me = J - 1, ye = -1, Ye = !1, We, je, rt, at;
11505
+ function a(G, J, le) {
11506
+ let me = J - 1, ye = -1, Ye = !1, Qe, We, rt, at;
11507
11507
  for (; ++me <= le; ) {
11508
- const Se = V[me];
11508
+ const Se = G[me];
11509
11509
  switch (Se[1].type) {
11510
11510
  case "listUnordered":
11511
11511
  case "listOrdered":
@@ -11514,7 +11514,7 @@ function Yh(e) {
11514
11514
  break;
11515
11515
  }
11516
11516
  case "lineEndingBlank": {
11517
- Se[0] === "enter" && (We && !at && !ye && !rt && (rt = me), at = void 0);
11517
+ Se[0] === "enter" && (Qe && !at && !ye && !rt && (rt = me), at = void 0);
11518
11518
  break;
11519
11519
  }
11520
11520
  case "linePrefix":
@@ -11527,16 +11527,16 @@ function Yh(e) {
11527
11527
  at = void 0;
11528
11528
  }
11529
11529
  if (!ye && Se[0] === "enter" && Se[1].type === "listItemPrefix" || ye === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) {
11530
- if (We) {
11530
+ if (Qe) {
11531
11531
  let ht = me;
11532
- for (je = void 0; ht--; ) {
11533
- const Je = V[ht];
11532
+ for (We = void 0; ht--; ) {
11533
+ const Je = G[ht];
11534
11534
  if (Je[1].type === "lineEnding" || Je[1].type === "lineEndingBlank") {
11535
11535
  if (Je[0] === "exit") continue;
11536
- je && (V[je][1].type = "lineEndingBlank", Ye = !0), Je[1].type = "lineEnding", je = ht;
11536
+ We && (G[We][1].type = "lineEndingBlank", Ye = !0), Je[1].type = "lineEnding", We = ht;
11537
11537
  } else if (!(Je[1].type === "linePrefix" || Je[1].type === "blockQuotePrefix" || Je[1].type === "blockQuotePrefixWhitespace" || Je[1].type === "blockQuoteMarker" || Je[1].type === "listItemIndent")) break;
11538
11538
  }
11539
- rt && (!je || rt < je) && (We._spread = !0), We.end = Object.assign({}, je ? V[je][1].start : Se[1].end), V.splice(je || me, 0, ["exit", We, Se[2]]), me++, le++;
11539
+ rt && (!We || rt < We) && (Qe._spread = !0), Qe.end = Object.assign({}, We ? G[We][1].start : Se[1].end), G.splice(We || me, 0, ["exit", Qe, Se[2]]), me++, le++;
11540
11540
  }
11541
11541
  if (Se[1].type === "listItemPrefix") {
11542
11542
  const ht = {
@@ -11546,16 +11546,16 @@ function Yh(e) {
11546
11546
  // @ts-expect-error: we’ll add `end` in a second.
11547
11547
  end: void 0
11548
11548
  };
11549
- We = ht, V.splice(me, 0, ["enter", ht, Se[2]]), me++, le++, rt = void 0, at = !0;
11549
+ Qe = ht, G.splice(me, 0, ["enter", ht, Se[2]]), me++, le++, rt = void 0, at = !0;
11550
11550
  }
11551
11551
  }
11552
11552
  }
11553
- return V[J][1]._spread = Ye, le;
11553
+ return G[J][1]._spread = Ye, le;
11554
11554
  }
11555
- function i(V, J) {
11555
+ function i(G, J) {
11556
11556
  return le;
11557
11557
  function le(me) {
11558
- o.call(this, V(me), me), J && J.call(this, me);
11558
+ o.call(this, G(me), me), J && J.call(this, me);
11559
11559
  }
11560
11560
  }
11561
11561
  function s() {
@@ -11564,28 +11564,28 @@ function Yh(e) {
11564
11564
  children: []
11565
11565
  });
11566
11566
  }
11567
- function o(V, J, le) {
11568
- this.stack[this.stack.length - 1].children.push(V), this.stack.push(V), this.tokenStack.push([J, le || void 0]), V.position = {
11567
+ function o(G, J, le) {
11568
+ this.stack[this.stack.length - 1].children.push(G), this.stack.push(G), this.tokenStack.push([J, le || void 0]), G.position = {
11569
11569
  start: yt(J.start),
11570
11570
  // @ts-expect-error: `end` will be patched later.
11571
11571
  end: void 0
11572
11572
  };
11573
11573
  }
11574
- function u(V) {
11574
+ function u(G) {
11575
11575
  return J;
11576
11576
  function J(le) {
11577
- V && V.call(this, le), l.call(this, le);
11577
+ G && G.call(this, le), l.call(this, le);
11578
11578
  }
11579
11579
  }
11580
- function l(V, J) {
11580
+ function l(G, J) {
11581
11581
  const le = this.stack.pop(), me = this.tokenStack.pop();
11582
11582
  if (me)
11583
- me[0].type !== V.type && (J ? J.call(this, V, me[0]) : (me[1] || ps).call(this, V, me[0]));
11584
- else throw new Error("Cannot close `" + V.type + "` (" + gn({
11585
- start: V.start,
11586
- end: V.end
11583
+ me[0].type !== G.type && (J ? J.call(this, G, me[0]) : (me[1] || ls).call(this, G, me[0]));
11584
+ else throw new Error("Cannot close `" + G.type + "` (" + gn({
11585
+ start: G.start,
11586
+ end: G.end
11587
11587
  }) + "): it’s not open");
11588
- le.position.end = yt(V.end);
11588
+ le.position.end = yt(G.end);
11589
11589
  }
11590
11590
  function d() {
11591
11591
  return Yf(this.stack.pop());
@@ -11593,134 +11593,134 @@ function Yh(e) {
11593
11593
  function p() {
11594
11594
  this.data.expectingFirstListItemValue = !0;
11595
11595
  }
11596
- function g(V) {
11596
+ function g(G) {
11597
11597
  if (this.data.expectingFirstListItemValue) {
11598
11598
  const J = this.stack[this.stack.length - 2];
11599
- J.start = Number.parseInt(this.sliceSerialize(V), 10), this.data.expectingFirstListItemValue = void 0;
11599
+ J.start = Number.parseInt(this.sliceSerialize(G), 10), this.data.expectingFirstListItemValue = void 0;
11600
11600
  }
11601
11601
  }
11602
11602
  function f() {
11603
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11604
- J.lang = V;
11603
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11604
+ J.lang = G;
11605
11605
  }
11606
11606
  function y() {
11607
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11608
- J.meta = V;
11607
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11608
+ J.meta = G;
11609
11609
  }
11610
11610
  function h() {
11611
11611
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
11612
11612
  }
11613
11613
  function m() {
11614
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11615
- J.value = V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
11614
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11615
+ J.value = G.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
11616
11616
  }
11617
11617
  function E() {
11618
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11619
- J.value = V.replace(/(\r?\n|\r)$/g, "");
11618
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11619
+ J.value = G.replace(/(\r?\n|\r)$/g, "");
11620
11620
  }
11621
- function b(V) {
11621
+ function b(G) {
11622
11622
  const J = this.resume(), le = this.stack[this.stack.length - 1];
11623
- le.label = J, le.identifier = jt(this.sliceSerialize(V)).toLowerCase();
11623
+ le.label = J, le.identifier = jt(this.sliceSerialize(G)).toLowerCase();
11624
11624
  }
11625
11625
  function T() {
11626
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11627
- J.title = V;
11626
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11627
+ J.title = G;
11628
11628
  }
11629
11629
  function C() {
11630
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11631
- J.url = V;
11630
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11631
+ J.url = G;
11632
11632
  }
11633
- function S(V) {
11633
+ function S(G) {
11634
11634
  const J = this.stack[this.stack.length - 1];
11635
11635
  if (!J.depth) {
11636
- const le = this.sliceSerialize(V).length;
11636
+ const le = this.sliceSerialize(G).length;
11637
11637
  J.depth = le;
11638
11638
  }
11639
11639
  }
11640
11640
  function A() {
11641
11641
  this.data.setextHeadingSlurpLineEnding = !0;
11642
11642
  }
11643
- function L(V) {
11643
+ function L(G) {
11644
11644
  const J = this.stack[this.stack.length - 1];
11645
- J.depth = this.sliceSerialize(V).codePointAt(0) === 61 ? 1 : 2;
11645
+ J.depth = this.sliceSerialize(G).codePointAt(0) === 61 ? 1 : 2;
11646
11646
  }
11647
11647
  function _() {
11648
11648
  this.data.setextHeadingSlurpLineEnding = void 0;
11649
11649
  }
11650
- function v(V) {
11650
+ function v(G) {
11651
11651
  const le = this.stack[this.stack.length - 1].children;
11652
11652
  let me = le[le.length - 1];
11653
11653
  (!me || me.type !== "text") && (me = Vn(), me.position = {
11654
- start: yt(V.start),
11654
+ start: yt(G.start),
11655
11655
  // @ts-expect-error: we’ll add `end` later.
11656
11656
  end: void 0
11657
11657
  }, le.push(me)), this.stack.push(me);
11658
11658
  }
11659
- function k(V) {
11659
+ function k(G) {
11660
11660
  const J = this.stack.pop();
11661
- J.value += this.sliceSerialize(V), J.position.end = yt(V.end);
11661
+ J.value += this.sliceSerialize(G), J.position.end = yt(G.end);
11662
11662
  }
11663
- function N(V) {
11663
+ function N(G) {
11664
11664
  const J = this.stack[this.stack.length - 1];
11665
11665
  if (this.data.atHardBreak) {
11666
11666
  const le = J.children[J.children.length - 1];
11667
- le.position.end = yt(V.end), this.data.atHardBreak = void 0;
11667
+ le.position.end = yt(G.end), this.data.atHardBreak = void 0;
11668
11668
  return;
11669
11669
  }
11670
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(J.type) && (v.call(this, V), k.call(this, V));
11670
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(J.type) && (v.call(this, G), k.call(this, G));
11671
11671
  }
11672
11672
  function O() {
11673
11673
  this.data.atHardBreak = !0;
11674
11674
  }
11675
11675
  function R() {
11676
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11677
- J.value = V;
11676
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11677
+ J.value = G;
11678
11678
  }
11679
11679
  function I() {
11680
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11681
- J.value = V;
11680
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11681
+ J.value = G;
11682
11682
  }
11683
11683
  function x() {
11684
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11685
- J.value = V;
11684
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11685
+ J.value = G;
11686
11686
  }
11687
11687
  function F() {
11688
- const V = this.stack[this.stack.length - 1];
11688
+ const G = this.stack[this.stack.length - 1];
11689
11689
  if (this.data.inReference) {
11690
11690
  const J = this.data.referenceType || "shortcut";
11691
- V.type += "Reference", V.referenceType = J, delete V.url, delete V.title;
11691
+ G.type += "Reference", G.referenceType = J, delete G.url, delete G.title;
11692
11692
  } else
11693
- delete V.identifier, delete V.label;
11693
+ delete G.identifier, delete G.label;
11694
11694
  this.data.referenceType = void 0;
11695
11695
  }
11696
11696
  function $() {
11697
- const V = this.stack[this.stack.length - 1];
11697
+ const G = this.stack[this.stack.length - 1];
11698
11698
  if (this.data.inReference) {
11699
11699
  const J = this.data.referenceType || "shortcut";
11700
- V.type += "Reference", V.referenceType = J, delete V.url, delete V.title;
11700
+ G.type += "Reference", G.referenceType = J, delete G.url, delete G.title;
11701
11701
  } else
11702
- delete V.identifier, delete V.label;
11702
+ delete G.identifier, delete G.label;
11703
11703
  this.data.referenceType = void 0;
11704
11704
  }
11705
- function H(V) {
11706
- const J = this.sliceSerialize(V), le = this.stack[this.stack.length - 2];
11705
+ function H(G) {
11706
+ const J = this.sliceSerialize(G), le = this.stack[this.stack.length - 2];
11707
11707
  le.label = zh(J), le.identifier = jt(J).toLowerCase();
11708
11708
  }
11709
11709
  function q() {
11710
- const V = this.stack[this.stack.length - 1], J = this.resume(), le = this.stack[this.stack.length - 1];
11710
+ const G = this.stack[this.stack.length - 1], J = this.resume(), le = this.stack[this.stack.length - 1];
11711
11711
  if (this.data.inReference = !0, le.type === "link") {
11712
- const me = V.children;
11712
+ const me = G.children;
11713
11713
  le.children = me;
11714
11714
  } else
11715
11715
  le.alt = J;
11716
11716
  }
11717
11717
  function w() {
11718
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11719
- J.url = V;
11718
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11719
+ J.url = G;
11720
11720
  }
11721
- function G() {
11722
- const V = this.resume(), J = this.stack[this.stack.length - 1];
11723
- J.title = V;
11721
+ function V() {
11722
+ const G = this.resume(), J = this.stack[this.stack.length - 1];
11723
+ J.title = G;
11724
11724
  }
11725
11725
  function K() {
11726
11726
  this.data.inReference = void 0;
@@ -11728,33 +11728,33 @@ function Yh(e) {
11728
11728
  function P() {
11729
11729
  this.data.referenceType = "collapsed";
11730
11730
  }
11731
- function ee(V) {
11731
+ function ee(G) {
11732
11732
  const J = this.resume(), le = this.stack[this.stack.length - 1];
11733
- le.label = J, le.identifier = jt(this.sliceSerialize(V)).toLowerCase(), this.data.referenceType = "full";
11733
+ le.label = J, le.identifier = jt(this.sliceSerialize(G)).toLowerCase(), this.data.referenceType = "full";
11734
11734
  }
11735
- function ae(V) {
11736
- this.data.characterReferenceType = V.type;
11735
+ function ae(G) {
11736
+ this.data.characterReferenceType = G.type;
11737
11737
  }
11738
- function ne(V) {
11739
- const J = this.sliceSerialize(V), le = this.data.characterReferenceType;
11738
+ function ne(G) {
11739
+ const J = this.sliceSerialize(G), le = this.data.characterReferenceType;
11740
11740
  let me;
11741
- le ? (me = Xo(J, le === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : me = Nn(J);
11741
+ le ? (me = Go(J, le === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : me = Nn(J);
11742
11742
  const ye = this.stack[this.stack.length - 1];
11743
11743
  ye.value += me;
11744
11744
  }
11745
- function Q(V) {
11745
+ function Q(G) {
11746
11746
  const J = this.stack.pop();
11747
- J.position.end = yt(V.end);
11747
+ J.position.end = yt(G.end);
11748
11748
  }
11749
- function re(V) {
11750
- k.call(this, V);
11749
+ function re(G) {
11750
+ k.call(this, G);
11751
11751
  const J = this.stack[this.stack.length - 1];
11752
- J.url = this.sliceSerialize(V);
11752
+ J.url = this.sliceSerialize(G);
11753
11753
  }
11754
- function ge(V) {
11755
- k.call(this, V);
11754
+ function ge(G) {
11755
+ k.call(this, G);
11756
11756
  const J = this.stack[this.stack.length - 1];
11757
- J.url = "mailto:" + this.sliceSerialize(V);
11757
+ J.url = "mailto:" + this.sliceSerialize(G);
11758
11758
  }
11759
11759
  function Ee() {
11760
11760
  return {
@@ -11826,19 +11826,19 @@ function Yh(e) {
11826
11826
  children: []
11827
11827
  };
11828
11828
  }
11829
- function nn(V) {
11829
+ function nn(G) {
11830
11830
  return {
11831
11831
  type: "list",
11832
- ordered: V.type === "listOrdered",
11832
+ ordered: G.type === "listOrdered",
11833
11833
  start: null,
11834
- spread: V._spread,
11834
+ spread: G._spread,
11835
11835
  children: []
11836
11836
  };
11837
11837
  }
11838
- function Bt(V) {
11838
+ function Bt(G) {
11839
11839
  return {
11840
11840
  type: "listItem",
11841
- spread: V._spread,
11841
+ spread: G._spread,
11842
11842
  checked: null,
11843
11843
  children: []
11844
11844
  };
@@ -11874,17 +11874,17 @@ function yt(e) {
11874
11874
  offset: e.offset
11875
11875
  };
11876
11876
  }
11877
- function su(e, t) {
11877
+ function nu(e, t) {
11878
11878
  let n = -1;
11879
11879
  for (; ++n < t.length; ) {
11880
11880
  const r = t[n];
11881
- Array.isArray(r) ? su(e, r) : Wh(e, r);
11881
+ Array.isArray(r) ? nu(e, r) : Wh(e, r);
11882
11882
  }
11883
11883
  }
11884
11884
  function Wh(e, t) {
11885
11885
  let n;
11886
11886
  for (n in t)
11887
- if (iu.call(t, n))
11887
+ if (tu.call(t, n))
11888
11888
  switch (n) {
11889
11889
  case "canContainEols": {
11890
11890
  const r = t[n];
@@ -11904,7 +11904,7 @@ function Wh(e, t) {
11904
11904
  }
11905
11905
  }
11906
11906
  }
11907
- function ps(e, t) {
11907
+ function ls(e, t) {
11908
11908
  throw e ? new Error("Cannot close `" + e.type + "` (" + gn({
11909
11909
  start: e.start,
11910
11910
  end: e.end
@@ -12014,7 +12014,7 @@ function n0(e, t) {
12014
12014
  return e.patch(t, n), e.applyData(t, n);
12015
12015
  }
12016
12016
  }
12017
- function ou(e, t) {
12017
+ function ru(e, t) {
12018
12018
  const n = t.referenceType;
12019
12019
  let r = "]";
12020
12020
  if (n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference")
@@ -12027,7 +12027,7 @@ function ou(e, t) {
12027
12027
  function r0(e, t) {
12028
12028
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
12029
12029
  if (!r)
12030
- return ou(e, t);
12030
+ return ru(e, t);
12031
12031
  const a = { src: Qt(r.url || ""), alt: t.alt };
12032
12032
  r.title !== null && r.title !== void 0 && (a.title = r.title);
12033
12033
  const i = { type: "element", tagName: "img", properties: a, children: [] };
@@ -12053,7 +12053,7 @@ function i0(e, t) {
12053
12053
  function s0(e, t) {
12054
12054
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
12055
12055
  if (!r)
12056
- return ou(e, t);
12056
+ return ru(e, t);
12057
12057
  const a = { href: Qt(r.url || "") };
12058
12058
  r.title !== null && r.title !== void 0 && (a.title = r.title);
12059
12059
  const i = {
@@ -12076,7 +12076,7 @@ function o0(e, t) {
12076
12076
  return e.patch(t, r), e.applyData(t, r);
12077
12077
  }
12078
12078
  function u0(e, t, n) {
12079
- const r = e.all(t), a = n ? l0(n) : uu(t), i = {}, s = [];
12079
+ const r = e.all(t), a = n ? l0(n) : au(t), i = {}, s = [];
12080
12080
  if (typeof t.checked == "boolean") {
12081
12081
  const d = r[0];
12082
12082
  let p;
@@ -12106,11 +12106,11 @@ function l0(e) {
12106
12106
  const n = e.children;
12107
12107
  let r = -1;
12108
12108
  for (; !t && ++r < n.length; )
12109
- t = uu(n[r]);
12109
+ t = au(n[r]);
12110
12110
  }
12111
12111
  return t;
12112
12112
  }
12113
- function uu(e) {
12113
+ function au(e) {
12114
12114
  const t = e.spread;
12115
12115
  return t ?? e.children.length > 1;
12116
12116
  }
@@ -12210,28 +12210,28 @@ function g0(e, t) {
12210
12210
  };
12211
12211
  return e.patch(t, n), e.applyData(t, n);
12212
12212
  }
12213
- const hs = 9, ms = 32;
12213
+ const cs = 9, ds = 32;
12214
12214
  function E0(e) {
12215
12215
  const t = String(e), n = /\r?\n|\r/g;
12216
12216
  let r = n.exec(t), a = 0;
12217
12217
  const i = [];
12218
12218
  for (; r; )
12219
12219
  i.push(
12220
- gs(t.slice(a, r.index), a > 0, !0),
12220
+ fs(t.slice(a, r.index), a > 0, !0),
12221
12221
  r[0]
12222
12222
  ), a = r.index + r[0].length, r = n.exec(t);
12223
- return i.push(gs(t.slice(a), a > 0, !1)), i.join("");
12223
+ return i.push(fs(t.slice(a), a > 0, !1)), i.join("");
12224
12224
  }
12225
- function gs(e, t, n) {
12225
+ function fs(e, t, n) {
12226
12226
  let r = 0, a = e.length;
12227
12227
  if (t) {
12228
12228
  let i = e.codePointAt(r);
12229
- for (; i === hs || i === ms; )
12229
+ for (; i === cs || i === ds; )
12230
12230
  r++, i = e.codePointAt(r);
12231
12231
  }
12232
12232
  if (n) {
12233
12233
  let i = e.codePointAt(a - 1);
12234
- for (; i === hs || i === ms; )
12234
+ for (; i === cs || i === ds; )
12235
12235
  a--, i = e.codePointAt(a - 1);
12236
12236
  }
12237
12237
  return a > r ? e.slice(r, a) : "";
@@ -12281,14 +12281,14 @@ const y0 = {
12281
12281
  };
12282
12282
  function Xn() {
12283
12283
  }
12284
- const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, du = 8, Es = typeof self == "object" ? self : globalThis, x0 = (e, t) => {
12284
+ const iu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, su = 7, ou = 8, ps = typeof self == "object" ? self : globalThis, x0 = (e, t) => {
12285
12285
  const n = (a, i) => (e.set(i, a), a), r = (a) => {
12286
12286
  if (e.has(a))
12287
12287
  return e.get(a);
12288
12288
  const [i, s] = t[a];
12289
12289
  switch (i) {
12290
12290
  case Sr:
12291
- case lu:
12291
+ case iu:
12292
12292
  return n(s, a);
12293
12293
  case En: {
12294
12294
  const o = n([], a);
@@ -12320,11 +12320,11 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12320
12320
  o.add(r(u));
12321
12321
  return o;
12322
12322
  }
12323
- case cu: {
12323
+ case su: {
12324
12324
  const { name: o, message: u } = s;
12325
- return n(new Es[o](u), a);
12325
+ return n(new ps[o](u), a);
12326
12326
  }
12327
- case du:
12327
+ case ou:
12328
12328
  return n(BigInt(s), a);
12329
12329
  case "BigInt":
12330
12330
  return n(Object(BigInt(s)), a);
@@ -12335,10 +12335,10 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12335
12335
  return n(new DataView(o), s);
12336
12336
  }
12337
12337
  }
12338
- return n(new Es[i](s), a);
12338
+ return n(new ps[i](s), a);
12339
12339
  };
12340
12340
  return r;
12341
- }, bs = (e) => x0(/* @__PURE__ */ new Map(), e)(0), zt = "", { toString: C0 } = {}, { keys: A0 } = Object, cn = (e) => {
12341
+ }, hs = (e) => x0(/* @__PURE__ */ new Map(), e)(0), zt = "", { toString: C0 } = {}, { keys: A0 } = Object, cn = (e) => {
12342
12342
  const t = typeof e;
12343
12343
  if (t !== "object" || !e)
12344
12344
  return [Sr, t];
@@ -12359,7 +12359,7 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12359
12359
  case "DataView":
12360
12360
  return [En, n];
12361
12361
  }
12362
- return n.includes("Array") ? [En, n] : n.includes("Error") ? [cu, n] : [hr, n];
12362
+ return n.includes("Array") ? [En, n] : n.includes("Error") ? [su, n] : [hr, n];
12363
12363
  }, Kn = ([e, t]) => e === Sr && (t === "function" || t === "symbol"), S0 = (e, t, n, r) => {
12364
12364
  const a = (s, o) => {
12365
12365
  const u = r.push(s) - 1;
@@ -12373,7 +12373,7 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12373
12373
  let d = s;
12374
12374
  switch (u) {
12375
12375
  case "bigint":
12376
- o = du, d = s.toString();
12376
+ o = ou, d = s.toString();
12377
12377
  break;
12378
12378
  case "function":
12379
12379
  case "symbol":
@@ -12382,7 +12382,7 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12382
12382
  d = null;
12383
12383
  break;
12384
12384
  case "undefined":
12385
- return a([lu], s);
12385
+ return a([iu], s);
12386
12386
  }
12387
12387
  return a([o, d], s);
12388
12388
  }
@@ -12436,13 +12436,13 @@ const lu = -1, Sr = 0, En = 1, hr = 2, ni = 3, ri = 4, ai = 5, ii = 6, cu = 7, d
12436
12436
  return a([o, { name: u, message: l }], s);
12437
12437
  };
12438
12438
  return i;
12439
- }, Ts = (e, { json: t, lossy: n } = {}) => {
12439
+ }, ms = (e, { json: t, lossy: n } = {}) => {
12440
12440
  const r = [];
12441
12441
  return S0(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
12442
12442
  }, Dt = typeof structuredClone == "function" ? (
12443
12443
  /* c8 ignore start */
12444
- (e, t) => t && ("json" in t || "lossy" in t) ? bs(Ts(e, t)) : structuredClone(e)
12445
- ) : (e, t) => bs(Ts(e, t));
12444
+ (e, t) => t && ("json" in t || "lossy" in t) ? hs(ms(e, t)) : structuredClone(e)
12445
+ ) : (e, t) => hs(ms(e, t));
12446
12446
  function _0(e, t) {
12447
12447
  const n = [{ type: "text", value: "↩" }];
12448
12448
  return t > 1 && n.push({
@@ -12526,7 +12526,7 @@ function w0(e) {
12526
12526
  ]
12527
12527
  };
12528
12528
  }
12529
- const fu = (
12529
+ const uu = (
12530
12530
  // Note: overloads in JSDoc can’t yet use different `@template`s.
12531
12531
  /**
12532
12532
  * @type {(
@@ -12564,7 +12564,7 @@ function N0(e) {
12564
12564
  const t = [];
12565
12565
  let n = -1;
12566
12566
  for (; ++n < e.length; )
12567
- t[n] = fu(e[n]);
12567
+ t[n] = uu(e[n]);
12568
12568
  return _r(r);
12569
12569
  function r(...a) {
12570
12570
  let i = -1;
@@ -12614,11 +12614,11 @@ function L0() {
12614
12614
  function O0(e) {
12615
12615
  return e !== null && typeof e == "object" && "type" in e;
12616
12616
  }
12617
- const pu = [], D0 = !0, ys = !1, P0 = "skip";
12618
- function hu(e, t, n, r) {
12617
+ const lu = [], D0 = !0, gs = !1, P0 = "skip";
12618
+ function cu(e, t, n, r) {
12619
12619
  let a;
12620
12620
  typeof t == "function" && typeof n != "function" ? (r = n, n = t) : a = t;
12621
- const i = fu(a), s = r ? -1 : 1;
12621
+ const i = uu(a), s = r ? -1 : 1;
12622
12622
  o(e, void 0, [])();
12623
12623
  function o(u, l, d) {
12624
12624
  const p = (
@@ -12639,8 +12639,8 @@ function hu(e, t, n, r) {
12639
12639
  }
12640
12640
  return g;
12641
12641
  function g() {
12642
- let f = pu, y, h, m;
12643
- if ((!t || i(u, l, d[d.length - 1] || void 0)) && (f = M0(n(u, d)), f[0] === ys))
12642
+ let f = lu, y, h, m;
12643
+ if ((!t || i(u, l, d[d.length - 1] || void 0)) && (f = M0(n(u, d)), f[0] === gs))
12644
12644
  return f;
12645
12645
  if ("children" in u && u.children) {
12646
12646
  const E = (
@@ -12650,7 +12650,7 @@ function hu(e, t, n, r) {
12650
12650
  if (E.children && f[0] !== P0)
12651
12651
  for (h = (r ? E.children.length : -1) + s, m = d.concat(E); h > -1 && h < E.children.length; ) {
12652
12652
  const b = E.children[h];
12653
- if (y = o(b, h, m)(), y[0] === ys)
12653
+ if (y = o(b, h, m)(), y[0] === gs)
12654
12654
  return y;
12655
12655
  h = typeof y[1] == "number" ? y[1] : h + s;
12656
12656
  }
@@ -12660,11 +12660,11 @@ function hu(e, t, n, r) {
12660
12660
  }
12661
12661
  }
12662
12662
  function M0(e) {
12663
- return Array.isArray(e) ? e : typeof e == "number" ? [D0, e] : e == null ? pu : [e];
12663
+ return Array.isArray(e) ? e : typeof e == "number" ? [D0, e] : e == null ? lu : [e];
12664
12664
  }
12665
12665
  function vr(e, t, n, r) {
12666
12666
  let a, i, s;
12667
- typeof t == "function" && typeof n != "function" ? (i = void 0, s = t, a = n) : (i = t, s = n, a = r), hu(e, i, o, a);
12667
+ typeof t == "function" && typeof n != "function" ? (i = void 0, s = t, a = n) : (i = t, s = n, a = r), cu(e, i, o, a);
12668
12668
  function o(u, l) {
12669
12669
  const d = l[l.length - 1], p = d ? d.children.indexOf(u) : void 0;
12670
12670
  return s(u, p, d);
@@ -12712,9 +12712,9 @@ function B0(e, t) {
12712
12712
  for (; ++f < g.length; ) {
12713
12713
  const y = o.one(g[f], d);
12714
12714
  if (y) {
12715
- if (f && g[f - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = xs(y.value)), !Array.isArray(y) && y.type === "element")) {
12715
+ if (f && g[f - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = Es(y.value)), !Array.isArray(y) && y.type === "element")) {
12716
12716
  const h = y.children[0];
12717
- h && h.type === "text" && (h.value = xs(h.value));
12717
+ h && h.type === "text" && (h.value = Es(h.value));
12718
12718
  }
12719
12719
  Array.isArray(y) ? p.push(...y) : p.push(y);
12720
12720
  }
@@ -12724,7 +12724,7 @@ function B0(e, t) {
12724
12724
  }
12725
12725
  }
12726
12726
  function F0(e, t) {
12727
- e.position && (t.position = zo(e));
12727
+ e.position && (t.position = Ho(e));
12728
12728
  }
12729
12729
  function H0(e, t) {
12730
12730
  let n = t;
@@ -12760,13 +12760,13 @@ function U0(e, t) {
12760
12760
  return t && e.length > 0 && n.push({ type: "text", value: `
12761
12761
  ` }), n;
12762
12762
  }
12763
- function xs(e) {
12763
+ function Es(e) {
12764
12764
  let t = 0, n = e.charCodeAt(t);
12765
12765
  for (; n === 9 || n === 32; )
12766
12766
  t++, n = e.charCodeAt(t);
12767
12767
  return e.slice(t);
12768
12768
  }
12769
- function Cs(e, t) {
12769
+ function bs(e, t) {
12770
12770
  const n = B0(e, t), r = n.one(e, void 0), a = w0(n), i = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
12771
12771
  return a && i.children.push({ type: "text", value: `
12772
12772
  ` }, a), i;
@@ -12775,24 +12775,24 @@ function q0(e, t) {
12775
12775
  return e && "run" in e ? async function(n, r) {
12776
12776
  const a = (
12777
12777
  /** @type {HastRoot} */
12778
- Cs(n, { file: r, ...t })
12778
+ bs(n, { file: r, ...t })
12779
12779
  );
12780
12780
  await e.run(a, r);
12781
12781
  } : function(n, r) {
12782
12782
  return (
12783
12783
  /** @type {HastRoot} */
12784
- Cs(n, { file: r, ...e || t })
12784
+ bs(n, { file: r, ...e || t })
12785
12785
  );
12786
12786
  };
12787
12787
  }
12788
- function As(e) {
12788
+ function Ts(e) {
12789
12789
  if (e)
12790
12790
  throw e;
12791
12791
  }
12792
- var Zr, Ss;
12792
+ var Zr, ys;
12793
12793
  function z0() {
12794
- if (Ss) return Zr;
12795
- Ss = 1;
12794
+ if (ys) return Zr;
12795
+ ys = 1;
12796
12796
  var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, a = function(l) {
12797
12797
  return typeof Array.isArray == "function" ? Array.isArray(l) : t.call(l) === "[object Array]";
12798
12798
  }, i = function(l) {
@@ -13057,7 +13057,7 @@ const ta = (
13057
13057
  "dirname"
13058
13058
  ]
13059
13059
  );
13060
- class mu {
13060
+ class du {
13061
13061
  /**
13062
13062
  * Create a new virtual file.
13063
13063
  *
@@ -13136,7 +13136,7 @@ class mu {
13136
13136
  * Nothing.
13137
13137
  */
13138
13138
  set dirname(t) {
13139
- _s(this.basename, "dirname"), this.path = ot.join(t || "", this.basename);
13139
+ xs(this.basename, "dirname"), this.path = ot.join(t || "", this.basename);
13140
13140
  }
13141
13141
  /**
13142
13142
  * Get the extname (including dot) (example: `'.js'`).
@@ -13160,7 +13160,7 @@ class mu {
13160
13160
  * Nothing.
13161
13161
  */
13162
13162
  set extname(t) {
13163
- if (na(t, "extname"), _s(this.dirname, "extname"), t) {
13163
+ if (na(t, "extname"), xs(this.dirname, "extname"), t) {
13164
13164
  if (t.codePointAt(0) !== 46)
13165
13165
  throw new Error("`extname` must start with `.`");
13166
13166
  if (t.includes(".", 1))
@@ -13437,7 +13437,7 @@ function ra(e, t) {
13437
13437
  if (!e)
13438
13438
  throw new Error("`" + t + "` cannot be empty");
13439
13439
  }
13440
- function _s(e, t) {
13440
+ function xs(e, t) {
13441
13441
  if (!e)
13442
13442
  throw new Error("Setting `" + t + "` requires `path` to be set too");
13443
13443
  }
@@ -13715,9 +13715,9 @@ class si extends am {
13715
13715
  */
13716
13716
  processSync(t) {
13717
13717
  let n = !1, r;
13718
- return this.freeze(), aa("processSync", this.parser || this.Parser), ia("processSync", this.compiler || this.Compiler), this.process(t, a), ws("processSync", "process", n), r;
13718
+ return this.freeze(), aa("processSync", this.parser || this.Parser), ia("processSync", this.compiler || this.Compiler), this.process(t, a), As("processSync", "process", n), r;
13719
13719
  function a(i, s) {
13720
- n = !0, As(i), r = s;
13720
+ n = !0, Ts(i), r = s;
13721
13721
  }
13722
13722
  }
13723
13723
  /**
@@ -13759,7 +13759,7 @@ class si extends am {
13759
13759
  * transformed tree.
13760
13760
  */
13761
13761
  run(t, n, r) {
13762
- vs(t), this.freeze();
13762
+ Cs(t), this.freeze();
13763
13763
  const a = this.transformers;
13764
13764
  return !r && typeof n == "function" && (r = n, n = void 0), r ? i(void 0, r) : new Promise(i);
13765
13765
  function i(s, o) {
@@ -13793,9 +13793,9 @@ class si extends am {
13793
13793
  */
13794
13794
  runSync(t, n) {
13795
13795
  let r = !1, a;
13796
- return this.run(t, n, i), ws("runSync", "run", r), a;
13796
+ return this.run(t, n, i), As("runSync", "run", r), a;
13797
13797
  function i(s, o) {
13798
- As(s), a = o, r = !0;
13798
+ Ts(s), a = o, r = !0;
13799
13799
  }
13800
13800
  }
13801
13801
  /**
@@ -13830,7 +13830,7 @@ class si extends am {
13830
13830
  stringify(t, n) {
13831
13831
  this.freeze();
13832
13832
  const r = Qn(n), a = this.compiler || this.Compiler;
13833
- return ia("stringify", a), vs(t), a(t, r);
13833
+ return ia("stringify", a), Cs(t), a(t, r);
13834
13834
  }
13835
13835
  /**
13836
13836
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -13962,18 +13962,18 @@ function sa(e, t) {
13962
13962
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
13963
13963
  );
13964
13964
  }
13965
- function vs(e) {
13965
+ function Cs(e) {
13966
13966
  if (!Da(e) || typeof e.type != "string")
13967
13967
  throw new TypeError("Expected node, got `" + e + "`");
13968
13968
  }
13969
- function ws(e, t, n) {
13969
+ function As(e, t, n) {
13970
13970
  if (!n)
13971
13971
  throw new Error(
13972
13972
  "`" + e + "` finished async. Use `" + t + "` instead"
13973
13973
  );
13974
13974
  }
13975
13975
  function Qn(e) {
13976
- return om(e) ? e : new mu(e);
13976
+ return om(e) ? e : new du(e);
13977
13977
  }
13978
13978
  function om(e) {
13979
13979
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
@@ -13984,7 +13984,7 @@ function um(e) {
13984
13984
  function lm(e) {
13985
13985
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
13986
13986
  }
13987
- const cm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Ns = [], ks = { allowDangerousHtml: !0 }, dm = /^(https?|ircs?|mailto|xmpp)$/i, fm = [
13987
+ const cm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Ss = [], _s = { allowDangerousHtml: !0 }, dm = /^(https?|ircs?|mailto|xmpp)$/i, fm = [
13988
13988
  { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
13989
13989
  { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
13990
13990
  {
@@ -14023,11 +14023,11 @@ function oa(e) {
14023
14023
  return mm(t.runSync(t.parse(n), n), e);
14024
14024
  }
14025
14025
  function pm(e) {
14026
- const t = e.rehypePlugins || Ns, n = e.remarkPlugins || Ns, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...ks } : ks;
14026
+ const t = e.rehypePlugins || Ss, n = e.remarkPlugins || Ss, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ..._s } : _s;
14027
14027
  return sm().use(jh).use(n).use(q0, r).use(t);
14028
14028
  }
14029
14029
  function hm(e) {
14030
- const t = e.children || "", n = new mu();
14030
+ const t = e.children || "", n = new du();
14031
14031
  return typeof t == "string" && (n.value = t), n;
14032
14032
  }
14033
14033
  function mm(e, t) {
@@ -14035,7 +14035,7 @@ function mm(e, t) {
14035
14035
  for (const d of fm)
14036
14036
  Object.hasOwn(t, d.from) && ("" + d.from + (d.to ? "use `" + d.to + "` instead" : "remove it") + cm + d.id, void 0);
14037
14037
  return vr(e, l), kf(e, {
14038
- Fragment: uo,
14038
+ Fragment: ao,
14039
14039
  components: a,
14040
14040
  ignoreInvalidStyle: !0,
14041
14041
  jsx: Y,
@@ -14070,13 +14070,13 @@ function gm(e) {
14070
14070
  dm.test(e.slice(0, t)) ? e : ""
14071
14071
  );
14072
14072
  }
14073
- const Is = /[#.]/g;
14073
+ const vs = /[#.]/g;
14074
14074
  function Em(e, t) {
14075
14075
  const n = e || "", r = {};
14076
14076
  let a = 0, i, s;
14077
14077
  for (; a < n.length; ) {
14078
- Is.lastIndex = a;
14079
- const o = Is.exec(n), u = n.slice(a, o ? o.index : n.length);
14078
+ vs.lastIndex = a;
14079
+ const o = vs.exec(n), u = n.slice(a, o ? o.index : n.length);
14080
14080
  u && (i ? i === "#" ? r.id = u : Array.isArray(r.className) ? r.className.push(u) : r.className = [u] : s = u, a += u.length), o && (i = o[0], a++);
14081
14081
  }
14082
14082
  return {
@@ -14087,7 +14087,7 @@ function Em(e, t) {
14087
14087
  children: []
14088
14088
  };
14089
14089
  }
14090
- function gu(e, t, n) {
14090
+ function fu(e, t, n) {
14091
14091
  const r = n ? xm(n) : void 0;
14092
14092
  function a(i, s, ...o) {
14093
14093
  let u;
@@ -14143,13 +14143,13 @@ function Tm(e, t, n, r) {
14143
14143
  if (typeof r == "number") {
14144
14144
  if (Number.isNaN(r)) return;
14145
14145
  i = r;
14146
- } else typeof r == "boolean" ? i = r : typeof r == "string" ? a.spaceSeparated ? i = Xi(r) : a.commaSeparated ? i = Vi(r) : a.commaOrSpaceSeparated ? i = Xi(Vi(r).join(" ")) : i = Ls(a, a.property, r) : Array.isArray(r) ? i = [...r] : i = a.property === "style" ? ym(r) : String(r);
14146
+ } else typeof r == "boolean" ? i = r : typeof r == "string" ? a.spaceSeparated ? i = Gi(r) : a.commaSeparated ? i = $i(r) : a.commaOrSpaceSeparated ? i = Gi($i(r).join(" ")) : i = ws(a, a.property, r) : Array.isArray(r) ? i = [...r] : i = a.property === "style" ? ym(r) : String(r);
14147
14147
  if (Array.isArray(i)) {
14148
14148
  const s = [];
14149
14149
  for (const o of i)
14150
14150
  s.push(
14151
14151
  /** @type {number | string} */
14152
- Ls(a, a.property, o)
14152
+ ws(a, a.property, o)
14153
14153
  );
14154
14154
  i = s;
14155
14155
  }
@@ -14170,7 +14170,7 @@ function Ma(e, t) {
14170
14170
  else
14171
14171
  throw new Error("Expected node, nodes, or string, got `" + t + "`");
14172
14172
  }
14173
- function Ls(e, t, n) {
14173
+ function ws(e, t, n) {
14174
14174
  if (typeof n == "string") {
14175
14175
  if (e.number && n && !Number.isNaN(Number(n)))
14176
14176
  return Number(n);
@@ -14231,7 +14231,7 @@ const Cm = [
14231
14231
  "solidColor",
14232
14232
  "textArea",
14233
14233
  "textPath"
14234
- ], Am = gu(Pn, "div"), Sm = gu(vt, "g", Cm);
14234
+ ], Am = fu(Pn, "div"), Sm = fu(vt, "g", Cm);
14235
14235
  function _m(e) {
14236
14236
  const t = String(e), n = [];
14237
14237
  return { toOffset: a, toPoint: r };
@@ -14241,7 +14241,7 @@ function _m(e) {
14241
14241
  for (; ; ) {
14242
14242
  let o = n[s];
14243
14243
  if (o === void 0) {
14244
- const u = Os(t, n[s - 1]);
14244
+ const u = Ns(t, n[s - 1]);
14245
14245
  o = u === -1 ? t.length + 1 : u + 1, n[s] = o;
14246
14246
  }
14247
14247
  if (o > i)
@@ -14257,7 +14257,7 @@ function _m(e) {
14257
14257
  function a(i) {
14258
14258
  if (i && typeof i.line == "number" && typeof i.column == "number" && !Number.isNaN(i.line) && !Number.isNaN(i.column)) {
14259
14259
  for (; n.length < i.line; ) {
14260
- const o = n[n.length - 1], u = Os(t, o), l = u === -1 ? t.length + 1 : u + 1;
14260
+ const o = n[n.length - 1], u = Ns(t, o), l = u === -1 ? t.length + 1 : u + 1;
14261
14261
  if (o === l) break;
14262
14262
  n.push(l);
14263
14263
  }
@@ -14266,7 +14266,7 @@ function _m(e) {
14266
14266
  }
14267
14267
  }
14268
14268
  }
14269
- function Os(e, t) {
14269
+ function Ns(e, t) {
14270
14270
  const n = e.indexOf("\r", t), r = e.indexOf(`
14271
14271
  `, t);
14272
14272
  return r === -1 ? n : n === -1 || n + 1 === r ? r : n < r ? n : r;
@@ -14278,7 +14278,7 @@ const kt = {
14278
14278
  xlink: "http://www.w3.org/1999/xlink",
14279
14279
  xml: "http://www.w3.org/XML/1998/namespace",
14280
14280
  xmlns: "http://www.w3.org/2000/xmlns/"
14281
- }, Eu = {}.hasOwnProperty, vm = Object.prototype;
14281
+ }, pu = {}.hasOwnProperty, vm = Object.prototype;
14282
14282
  function wm(e, t) {
14283
14283
  const n = t || {};
14284
14284
  return oi(
@@ -14309,7 +14309,7 @@ function oi(e, t) {
14309
14309
  ), a = "mode" in r ? r.mode === "quirks" || r.mode === "limited-quirks" : !1;
14310
14310
  if (n = {
14311
14311
  type: "root",
14312
- children: bu(e, t.childNodes),
14312
+ children: hu(e, t.childNodes),
14313
14313
  data: { quirksMode: a }
14314
14314
  }, e.file && e.location) {
14315
14315
  const i = String(e.file), s = _m(i), o = s.toPoint(0), u = s.toPoint(i.length);
@@ -14340,7 +14340,7 @@ function oi(e, t) {
14340
14340
  ), n;
14341
14341
  }
14342
14342
  }
14343
- function bu(e, t) {
14343
+ function hu(e, t) {
14344
14344
  let n = -1;
14345
14345
  const r = [];
14346
14346
  for (; ++n < t.length; ) {
@@ -14359,9 +14359,9 @@ function Nm(e, t) {
14359
14359
  const a = {};
14360
14360
  for (; ++r < t.attrs.length; ) {
14361
14361
  const o = t.attrs[r], u = (o.prefix ? o.prefix + ":" : "") + o.name;
14362
- Eu.call(vm, u) || (a[u] = o.value);
14362
+ pu.call(vm, u) || (a[u] = o.value);
14363
14363
  }
14364
- const s = (e.schema.space === "svg" ? Sm : Am)(t.tagName, a, bu(e, t.childNodes));
14364
+ const s = (e.schema.space === "svg" ? Sm : Am)(t.tagName, a, hu(e, t.childNodes));
14365
14365
  if (rr(e, t, s), s.tagName === "template") {
14366
14366
  const o = (
14367
14367
  /** @type {DefaultTreeAdapterMap['template']} */
@@ -14389,7 +14389,7 @@ function km(e, t, n) {
14389
14389
  let s;
14390
14390
  if (n.attrs)
14391
14391
  for (s in n.attrs)
14392
- Eu.call(n.attrs, s) && (i[xr(e.schema, s).property] = Vt(
14392
+ pu.call(n.attrs, s) && (i[xr(e.schema, s).property] = Vt(
14393
14393
  n.attrs[s]
14394
14394
  ));
14395
14395
  n.startTag;
@@ -14400,39 +14400,39 @@ function km(e, t, n) {
14400
14400
  return r;
14401
14401
  }
14402
14402
  function Vt(e) {
14403
- const t = Ds({
14403
+ const t = ks({
14404
14404
  line: e.startLine,
14405
14405
  column: e.startCol,
14406
14406
  offset: e.startOffset
14407
- }), n = Ds({
14407
+ }), n = ks({
14408
14408
  line: e.endLine,
14409
14409
  column: e.endCol,
14410
14410
  offset: e.endOffset
14411
14411
  });
14412
14412
  return t || n ? { start: t, end: n } : void 0;
14413
14413
  }
14414
- function Ds(e) {
14414
+ function ks(e) {
14415
14415
  return e.line && e.column ? e : void 0;
14416
14416
  }
14417
- const Ps = {}.hasOwnProperty;
14418
- function Tu(e, t) {
14417
+ const Is = {}.hasOwnProperty;
14418
+ function mu(e, t) {
14419
14419
  const n = t || {};
14420
14420
  function r(a, ...i) {
14421
14421
  let s = r.invalid;
14422
14422
  const o = r.handlers;
14423
- if (a && Ps.call(a, e)) {
14423
+ if (a && Is.call(a, e)) {
14424
14424
  const u = String(a[e]);
14425
- s = Ps.call(o, u) ? o[u] : r.unknown;
14425
+ s = Is.call(o, u) ? o[u] : r.unknown;
14426
14426
  }
14427
14427
  if (s)
14428
14428
  return s.call(this, a, ...i);
14429
14429
  }
14430
14430
  return r.handlers = n.handlers || {}, r.invalid = n.invalid, r.unknown = n.unknown, r;
14431
14431
  }
14432
- const Im = {}, Lm = {}.hasOwnProperty, yu = Tu("type", { handlers: { root: Dm, element: Fm, text: Rm, comment: Bm, doctype: Mm } });
14432
+ const Im = {}, Lm = {}.hasOwnProperty, gu = mu("type", { handlers: { root: Dm, element: Fm, text: Rm, comment: Bm, doctype: Mm } });
14433
14433
  function Om(e, t) {
14434
14434
  const r = (t || Im).space;
14435
- return yu(e, r === "svg" ? vt : Pn);
14435
+ return gu(e, r === "svg" ? vt : Pn);
14436
14436
  }
14437
14437
  function Dm(e, t) {
14438
14438
  const n = {
@@ -14505,7 +14505,7 @@ function Hm(e, t, n) {
14505
14505
  const r = xr(e, t);
14506
14506
  if (n === !1 || n === null || n === void 0 || typeof n == "number" && Number.isNaN(n) || !n && r.boolean)
14507
14507
  return;
14508
- Array.isArray(n) && (n = r.commaSeparated ? Do(n) : Uo(n));
14508
+ Array.isArray(n) && (n = r.commaSeparated ? ko(n) : Bo(n));
14509
14509
  const a = {
14510
14510
  name: r.attribute,
14511
14511
  value: n === !0 ? "" : String(n)
@@ -14521,7 +14521,7 @@ function ui(e, t, n) {
14521
14521
  const a = [];
14522
14522
  if (e)
14523
14523
  for (; ++r < e.length; ) {
14524
- const i = yu(e[r], n);
14524
+ const i = gu(e[r], n);
14525
14525
  i.parentNode = t, a.push(i);
14526
14526
  }
14527
14527
  return a;
@@ -14606,7 +14606,7 @@ const ze = {
14606
14606
  PUBLIC: "public",
14607
14607
  SYSTEM: "system"
14608
14608
  };
14609
- function xu(e) {
14609
+ function Eu(e) {
14610
14610
  return e >= 55296 && e <= 57343;
14611
14611
  }
14612
14612
  function qm(e) {
@@ -14615,10 +14615,10 @@ function qm(e) {
14615
14615
  function zm(e, t) {
14616
14616
  return (e - 55296) * 1024 + 9216 + t;
14617
14617
  }
14618
- function Cu(e) {
14618
+ function bu(e) {
14619
14619
  return e !== 32 && e !== 10 && e !== 13 && e !== 9 && e !== 12 && e >= 1 && e <= 31 || e >= 127 && e <= 159;
14620
14620
  }
14621
- function Au(e) {
14621
+ function Tu(e) {
14622
14622
  return e >= 64976 && e <= 65007 || Um.has(e);
14623
14623
  }
14624
14624
  var z;
@@ -14697,10 +14697,10 @@ class Gm {
14697
14697
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
14698
14698
  return this.endOfChunkHit = !this.lastChunkWritten, D.EOF;
14699
14699
  let t = this.html.charCodeAt(this.pos);
14700
- return t === D.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, D.LINE_FEED) : t === D.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, xu(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === D.LINE_FEED || t === D.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
14700
+ return t === D.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, D.LINE_FEED) : t === D.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Eu(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === D.LINE_FEED || t === D.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
14701
14701
  }
14702
14702
  _checkForProblematicCharacters(t) {
14703
- Cu(t) ? this._err(z.controlCharacterInInputStream) : Au(t) && this._err(z.noncharacterInInputStream);
14703
+ bu(t) ? this._err(z.controlCharacterInInputStream) : Tu(t) && this._err(z.noncharacterInInputStream);
14704
14704
  }
14705
14705
  retreat(t) {
14706
14706
  for (this.pos -= t; this.pos < this.lastGapPos; )
@@ -14712,7 +14712,7 @@ var pe;
14712
14712
  (function(e) {
14713
14713
  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";
14714
14714
  })(pe || (pe = {}));
14715
- function Su(e, t) {
14715
+ function yu(e, t) {
14716
14716
  for (let n = e.attrs.length - 1; n >= 0; n--)
14717
14717
  if (e.attrs[n].name === t)
14718
14718
  return e.attrs[n].value;
@@ -15257,20 +15257,20 @@ function ag(e) {
15257
15257
  function xt(e) {
15258
15258
  return ag(e) || pn(e);
15259
15259
  }
15260
- function Ms(e) {
15260
+ function Ls(e) {
15261
15261
  return xt(e) || rg(e);
15262
15262
  }
15263
15263
  function Jn(e) {
15264
15264
  return e + 32;
15265
15265
  }
15266
- function _u(e) {
15266
+ function xu(e) {
15267
15267
  return e === D.SPACE || e === D.LINE_FEED || e === D.TABULATION || e === D.FORM_FEED;
15268
15268
  }
15269
- function Rs(e) {
15270
- return _u(e) || e === D.SOLIDUS || e === D.GREATER_THAN_SIGN;
15269
+ function Os(e) {
15270
+ return xu(e) || e === D.SOLIDUS || e === D.GREATER_THAN_SIGN;
15271
15271
  }
15272
15272
  function ig(e) {
15273
- return e === D.NULL ? z.nullCharacterReference : e > 1114111 ? z.characterReferenceOutsideUnicodeRange : xu(e) ? z.surrogateCharacterReference : Au(e) ? z.noncharacterCharacterReference : Cu(e) || e === D.CARRIAGE_RETURN ? z.controlCharacterReference : null;
15273
+ return e === D.NULL ? z.nullCharacterReference : e > 1114111 ? z.characterReferenceOutsideUnicodeRange : Eu(e) ? z.surrogateCharacterReference : Tu(e) ? z.noncharacterCharacterReference : bu(e) || e === D.CARRIAGE_RETURN ? z.controlCharacterReference : null;
15274
15274
  }
15275
15275
  class sg {
15276
15276
  constructor(t, n) {
@@ -15403,7 +15403,7 @@ class sg {
15403
15403
  _leaveAttrName() {
15404
15404
  var t, n;
15405
15405
  const r = this.currentToken;
15406
- if (Su(r, this.currentAttr.name) === null) {
15406
+ if (yu(r, this.currentAttr.name) === null) {
15407
15407
  if (r.attrs.push(this.currentAttr), r.location && this.currentLocation) {
15408
15408
  const a = (t = (n = r.location).attrs) !== null && t !== void 0 ? t : n.attrs = /* @__PURE__ */ Object.create(null);
15409
15409
  a[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
@@ -15470,7 +15470,7 @@ class sg {
15470
15470
  this._createCharacterToken(t, n);
15471
15471
  }
15472
15472
  _emitCodePoint(t) {
15473
- const n = _u(t) ? pe.WHITESPACE_CHARACTER : t === D.NULL ? pe.NULL_CHARACTER : pe.CHARACTER;
15473
+ const n = xu(t) ? pe.WHITESPACE_CHARACTER : t === D.NULL ? pe.NULL_CHARACTER : pe.CHARACTER;
15474
15474
  this._appendCharToCurrentCharacterToken(n, String.fromCodePoint(t));
15475
15475
  }
15476
15476
  //NOTE: used when we emit characters explicitly.
@@ -16149,7 +16149,7 @@ class sg {
16149
16149
  // Script data double escape start state
16150
16150
  //------------------------------------------------------------------
16151
16151
  _stateScriptDataDoubleEscapeStart(t) {
16152
- if (this.preprocessor.startsWith(ze.SCRIPT, !1) && Rs(this.preprocessor.peek(ze.SCRIPT.length))) {
16152
+ if (this.preprocessor.startsWith(ze.SCRIPT, !1) && Os(this.preprocessor.peek(ze.SCRIPT.length))) {
16153
16153
  this._emitCodePoint(t);
16154
16154
  for (let n = 0; n < ze.SCRIPT.length; n++)
16155
16155
  this._emitCodePoint(this._consume());
@@ -16240,7 +16240,7 @@ class sg {
16240
16240
  // Script data double escape end state
16241
16241
  //------------------------------------------------------------------
16242
16242
  _stateScriptDataDoubleEscapeEnd(t) {
16243
- if (this.preprocessor.startsWith(ze.SCRIPT, !1) && Rs(this.preprocessor.peek(ze.SCRIPT.length))) {
16243
+ if (this.preprocessor.startsWith(ze.SCRIPT, !1) && Os(this.preprocessor.peek(ze.SCRIPT.length))) {
16244
16244
  this._emitCodePoint(t);
16245
16245
  for (let n = 0; n < ze.SCRIPT.length; n++)
16246
16246
  this._emitCodePoint(this._consume());
@@ -17154,16 +17154,16 @@ class sg {
17154
17154
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
17155
17155
  return;
17156
17156
  }
17157
- t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(D.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Ms(this.preprocessor.peek(1)) ? M.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
17157
+ t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(D.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Ls(this.preprocessor.peek(1)) ? M.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
17158
17158
  }
17159
17159
  // Ambiguos ampersand state
17160
17160
  //------------------------------------------------------------------
17161
17161
  _stateAmbiguousAmpersand(t) {
17162
- Ms(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === D.SEMICOLON && this._err(z.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
17162
+ Ls(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === D.SEMICOLON && this._err(z.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
17163
17163
  }
17164
17164
  }
17165
- const vu = /* @__PURE__ */ new Set([c.DD, c.DT, c.LI, c.OPTGROUP, c.OPTION, c.P, c.RB, c.RP, c.RT, c.RTC]), Bs = /* @__PURE__ */ new Set([
17166
- ...vu,
17165
+ const Cu = /* @__PURE__ */ new Set([c.DD, c.DT, c.LI, c.OPTGROUP, c.OPTION, c.P, c.RB, c.RP, c.RT, c.RTC]), Ds = /* @__PURE__ */ new Set([
17166
+ ...Cu,
17167
17167
  c.CAPTION,
17168
17168
  c.COLGROUP,
17169
17169
  c.TBODY,
@@ -17182,7 +17182,7 @@ const vu = /* @__PURE__ */ new Set([c.DD, c.DT, c.LI, c.OPTGROUP, c.OPTION, c.P,
17182
17182
  c.TD,
17183
17183
  c.TEMPLATE,
17184
17184
  c.TH
17185
- ]), og = /* @__PURE__ */ new Set([...mr, c.OL, c.UL]), ug = /* @__PURE__ */ new Set([...mr, c.BUTTON]), Fs = /* @__PURE__ */ new Set([c.ANNOTATION_XML, c.MI, c.MN, c.MO, c.MS, c.MTEXT]), Hs = /* @__PURE__ */ new Set([c.DESC, c.FOREIGN_OBJECT, c.TITLE]), lg = /* @__PURE__ */ new Set([c.TR, c.TEMPLATE, c.HTML]), cg = /* @__PURE__ */ new Set([c.TBODY, c.TFOOT, c.THEAD, c.TEMPLATE, c.HTML]), dg = /* @__PURE__ */ new Set([c.TABLE, c.TEMPLATE, c.HTML]), fg = /* @__PURE__ */ new Set([c.TD, c.TH]);
17185
+ ]), og = /* @__PURE__ */ new Set([...mr, c.OL, c.UL]), ug = /* @__PURE__ */ new Set([...mr, c.BUTTON]), Ps = /* @__PURE__ */ new Set([c.ANNOTATION_XML, c.MI, c.MN, c.MO, c.MS, c.MTEXT]), Ms = /* @__PURE__ */ new Set([c.DESC, c.FOREIGN_OBJECT, c.TITLE]), lg = /* @__PURE__ */ new Set([c.TR, c.TEMPLATE, c.HTML]), cg = /* @__PURE__ */ new Set([c.TBODY, c.TFOOT, c.THEAD, c.TEMPLATE, c.HTML]), dg = /* @__PURE__ */ new Set([c.TABLE, c.TEMPLATE, c.HTML]), fg = /* @__PURE__ */ new Set([c.TD, c.TH]);
17186
17186
  class pg {
17187
17187
  get currentTmplContentOrNode() {
17188
17188
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
@@ -17297,12 +17297,12 @@ class pg {
17297
17297
  break;
17298
17298
  }
17299
17299
  case W.SVG: {
17300
- if (Hs.has(a))
17300
+ if (Ms.has(a))
17301
17301
  return !1;
17302
17302
  break;
17303
17303
  }
17304
17304
  case W.MATHML: {
17305
- if (Fs.has(a))
17305
+ if (Ps.has(a))
17306
17306
  return !1;
17307
17307
  break;
17308
17308
  }
@@ -17331,12 +17331,12 @@ class pg {
17331
17331
  break;
17332
17332
  }
17333
17333
  case W.SVG: {
17334
- if (Hs.has(n))
17334
+ if (Ms.has(n))
17335
17335
  return !1;
17336
17336
  break;
17337
17337
  }
17338
17338
  case W.MATHML: {
17339
- if (Fs.has(n))
17339
+ if (Ps.has(n))
17340
17340
  return !1;
17341
17341
  break;
17342
17342
  }
@@ -17386,15 +17386,15 @@ class pg {
17386
17386
  }
17387
17387
  //Implied end tags
17388
17388
  generateImpliedEndTags() {
17389
- for (; this.currentTagId !== void 0 && vu.has(this.currentTagId); )
17389
+ for (; this.currentTagId !== void 0 && Cu.has(this.currentTagId); )
17390
17390
  this.pop();
17391
17391
  }
17392
17392
  generateImpliedEndTagsThoroughly() {
17393
- for (; this.currentTagId !== void 0 && Bs.has(this.currentTagId); )
17393
+ for (; this.currentTagId !== void 0 && Ds.has(this.currentTagId); )
17394
17394
  this.pop();
17395
17395
  }
17396
17396
  generateImpliedEndTagsWithExclusion(t) {
17397
- for (; this.currentTagId !== void 0 && this.currentTagId !== t && Bs.has(this.currentTagId); )
17397
+ for (; this.currentTagId !== void 0 && this.currentTagId !== t && Ds.has(this.currentTagId); )
17398
17398
  this.pop();
17399
17399
  }
17400
17400
  }
@@ -17403,7 +17403,7 @@ var ut;
17403
17403
  (function(e) {
17404
17404
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
17405
17405
  })(ut || (ut = {}));
17406
- const $s = { type: ut.Marker };
17406
+ const Rs = { type: ut.Marker };
17407
17407
  class hg {
17408
17408
  constructor(t) {
17409
17409
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -17440,7 +17440,7 @@ class hg {
17440
17440
  }
17441
17441
  //Mutations
17442
17442
  insertMarker() {
17443
- this.entries.unshift($s);
17443
+ this.entries.unshift(Rs);
17444
17444
  }
17445
17445
  pushElement(t, n) {
17446
17446
  this._ensureNoahArkCondition(t), this.entries.unshift({
@@ -17467,7 +17467,7 @@ class hg {
17467
17467
  * @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker
17468
17468
  */
17469
17469
  clearToLastMarker() {
17470
- const t = this.entries.indexOf($s);
17470
+ const t = this.entries.indexOf(Rs);
17471
17471
  t === -1 ? this.entries.length = 0 : this.entries.splice(0, t + 1);
17472
17472
  }
17473
17473
  //Search
@@ -17636,7 +17636,7 @@ const Ct = {
17636
17636
  updateNodeSourceCodeLocation(e, t) {
17637
17637
  e.sourceCodeLocation = { ...e.sourceCodeLocation, ...t };
17638
17638
  }
17639
- }, wu = "html", mg = "about:legacy-compat", gg = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", Nu = [
17639
+ }, Au = "html", mg = "about:legacy-compat", gg = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", Su = [
17640
17640
  "+//silmaril//dtd html pro v0r11 19970101//",
17641
17641
  "-//as//dtd html 3.0 aswedit + extensions//",
17642
17642
  "-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
@@ -17693,26 +17693,26 @@ const Ct = {
17693
17693
  "-//webtechs//dtd mozilla html 2.0//",
17694
17694
  "-//webtechs//dtd mozilla html//"
17695
17695
  ], Eg = [
17696
- ...Nu,
17696
+ ...Su,
17697
17697
  "-//w3c//dtd html 4.01 frameset//",
17698
17698
  "-//w3c//dtd html 4.01 transitional//"
17699
17699
  ], bg = /* @__PURE__ */ new Set([
17700
17700
  "-//w3o//dtd w3 html strict 3.0//en//",
17701
17701
  "-/w3c/dtd html 4.0 transitional/en",
17702
17702
  "html"
17703
- ]), ku = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], Tg = [
17704
- ...ku,
17703
+ ]), _u = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], Tg = [
17704
+ ..._u,
17705
17705
  "-//w3c//dtd html 4.01 frameset//",
17706
17706
  "-//w3c//dtd html 4.01 transitional//"
17707
17707
  ];
17708
- function Us(e, t) {
17708
+ function Bs(e, t) {
17709
17709
  return t.some((n) => e.startsWith(n));
17710
17710
  }
17711
17711
  function yg(e) {
17712
- return e.name === wu && e.publicId === null && (e.systemId === null || e.systemId === mg);
17712
+ return e.name === Au && e.publicId === null && (e.systemId === null || e.systemId === mg);
17713
17713
  }
17714
17714
  function xg(e) {
17715
- if (e.name !== wu)
17715
+ if (e.name !== Au)
17716
17716
  return et.QUIRKS;
17717
17717
  const { systemId: t } = e;
17718
17718
  if (t && t.toLowerCase() === gg)
@@ -17721,15 +17721,15 @@ function xg(e) {
17721
17721
  if (n !== null) {
17722
17722
  if (n = n.toLowerCase(), bg.has(n))
17723
17723
  return et.QUIRKS;
17724
- let r = t === null ? Eg : Nu;
17725
- if (Us(n, r))
17724
+ let r = t === null ? Eg : Su;
17725
+ if (Bs(n, r))
17726
17726
  return et.QUIRKS;
17727
- if (r = t === null ? ku : Tg, Us(n, r))
17727
+ if (r = t === null ? _u : Tg, Bs(n, r))
17728
17728
  return et.LIMITED_QUIRKS;
17729
17729
  }
17730
17730
  return et.NO_QUIRKS;
17731
17731
  }
17732
- const qs = {
17732
+ const Fs = {
17733
17733
  TEXT_HTML: "text/html",
17734
17734
  APPLICATION_XML: "application/xhtml+xml"
17735
17735
  }, Cg = "definitionurl", Ag = "definitionURL", Sg = new Map([
@@ -17890,14 +17890,14 @@ function Ng(e) {
17890
17890
  const t = e.tagID;
17891
17891
  return t === c.FONT && e.attrs.some(({ name: r }) => r === Lt.COLOR || r === Lt.SIZE || r === Lt.FACE) || wg.has(t);
17892
17892
  }
17893
- function Iu(e) {
17893
+ function vu(e) {
17894
17894
  for (let t = 0; t < e.attrs.length; t++)
17895
17895
  if (e.attrs[t].name === Cg) {
17896
17896
  e.attrs[t].name = Ag;
17897
17897
  break;
17898
17898
  }
17899
17899
  }
17900
- function Lu(e) {
17900
+ function wu(e) {
17901
17901
  for (let t = 0; t < e.attrs.length; t++) {
17902
17902
  const n = Sg.get(e.attrs[t].name);
17903
17903
  n != null && (e.attrs[t].name = n);
@@ -17921,7 +17921,7 @@ function Lg(e, t, n) {
17921
17921
  for (let r = 0; r < n.length; r++)
17922
17922
  if (n[r].name === Lt.ENCODING) {
17923
17923
  const a = n[r].value.toLowerCase();
17924
- return a === qs.TEXT_HTML || a === qs.APPLICATION_XML;
17924
+ return a === Fs.TEXT_HTML || a === Fs.APPLICATION_XML;
17925
17925
  }
17926
17926
  }
17927
17927
  return t === W.SVG && (e === c.FOREIGN_OBJECT || e === c.DESC || e === c.TITLE);
@@ -17941,16 +17941,16 @@ const Rg = {
17941
17941
  endLine: -1,
17942
17942
  endCol: -1,
17943
17943
  endOffset: -1
17944
- }, Ou = /* @__PURE__ */ new Set([c.TABLE, c.TBODY, c.TFOOT, c.THEAD, c.TR]), zs = {
17944
+ }, Nu = /* @__PURE__ */ new Set([c.TABLE, c.TBODY, c.TFOOT, c.THEAD, c.TR]), Hs = {
17945
17945
  scriptingEnabled: !0,
17946
17946
  sourceCodeLocationInfo: !1,
17947
17947
  treeAdapter: Ct,
17948
17948
  onParseError: null
17949
17949
  };
17950
- class Vs {
17950
+ class $s {
17951
17951
  constructor(t, n, r = null, a = null) {
17952
17952
  this.fragmentContext = r, this.scriptHandler = a, this.currentToken = null, this.stopped = !1, this.insertionMode = B.INITIAL, this.originalInsertionMode = B.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
17953
- ...zs,
17953
+ ...Hs,
17954
17954
  ...t
17955
17955
  }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new sg(this.options, this), this.activeFormattingElements = new hg(this.treeAdapter), this.fragmentContextID = r ? Zt(this.treeAdapter.getTagName(r)) : c.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new pg(this.document, this.treeAdapter, this);
17956
17956
  }
@@ -17961,7 +17961,7 @@ class Vs {
17961
17961
  }
17962
17962
  static getFragmentParser(t, n) {
17963
17963
  const r = {
17964
- ...zs,
17964
+ ...Hs,
17965
17965
  ...n
17966
17966
  };
17967
17967
  t ?? (t = r.treeAdapter.createElement(U.TEMPLATE, W.HTML, []));
@@ -18310,7 +18310,7 @@ class Vs {
18310
18310
  //Foster parenting
18311
18311
  /** @protected */
18312
18312
  _isElementCausesFosterParenting(t) {
18313
- return Ou.has(t);
18313
+ return Nu.has(t);
18314
18314
  }
18315
18315
  /** @protected */
18316
18316
  _shouldFosterParentOnInsertion() {
@@ -18380,7 +18380,7 @@ class Vs {
18380
18380
  case B.IN_CAPTION:
18381
18381
  case B.IN_CELL:
18382
18382
  case B.IN_TEMPLATE: {
18383
- Pu(this, t);
18383
+ Iu(this, t);
18384
18384
  break;
18385
18385
  }
18386
18386
  case B.TEXT:
@@ -18396,7 +18396,7 @@ class Vs {
18396
18396
  break;
18397
18397
  }
18398
18398
  case B.IN_TABLE_TEXT: {
18399
- $u(this, t);
18399
+ Ru(this, t);
18400
18400
  break;
18401
18401
  }
18402
18402
  case B.IN_COLUMN_GROUP: {
@@ -18609,7 +18609,7 @@ class Vs {
18609
18609
  break;
18610
18610
  }
18611
18611
  case B.IN_SELECT: {
18612
- zu(this, t);
18612
+ Hu(this, t);
18613
18613
  break;
18614
18614
  }
18615
18615
  case B.IN_SELECT_IN_TABLE: {
@@ -18702,7 +18702,7 @@ class Vs {
18702
18702
  break;
18703
18703
  }
18704
18704
  case B.IN_ROW: {
18705
- qu(this, t);
18705
+ Fu(this, t);
18706
18706
  break;
18707
18707
  }
18708
18708
  case B.IN_CELL: {
@@ -18710,7 +18710,7 @@ class Vs {
18710
18710
  break;
18711
18711
  }
18712
18712
  case B.IN_SELECT: {
18713
- Vu(this, t);
18713
+ $u(this, t);
18714
18714
  break;
18715
18715
  }
18716
18716
  case B.IN_SELECT_IN_TABLE: {
@@ -18722,7 +18722,7 @@ class Vs {
18722
18722
  break;
18723
18723
  }
18724
18724
  case B.AFTER_BODY: {
18725
- Yu(this, t);
18725
+ qu(this, t);
18726
18726
  break;
18727
18727
  }
18728
18728
  case B.IN_FRAMESET: {
@@ -18775,7 +18775,7 @@ class Vs {
18775
18775
  case B.IN_CELL:
18776
18776
  case B.IN_SELECT:
18777
18777
  case B.IN_SELECT_IN_TABLE: {
18778
- Fu(this, t);
18778
+ Pu(this, t);
18779
18779
  break;
18780
18780
  }
18781
18781
  case B.TEXT: {
@@ -18787,7 +18787,7 @@ class Vs {
18787
18787
  break;
18788
18788
  }
18789
18789
  case B.IN_TEMPLATE: {
18790
- Gu(this, t);
18790
+ Uu(this, t);
18791
18791
  break;
18792
18792
  }
18793
18793
  case B.AFTER_BODY:
@@ -18831,7 +18831,7 @@ class Vs {
18831
18831
  case B.AFTER_BODY:
18832
18832
  case B.AFTER_AFTER_BODY:
18833
18833
  case B.AFTER_AFTER_FRAMESET: {
18834
- Du(this, t);
18834
+ ku(this, t);
18835
18835
  break;
18836
18836
  }
18837
18837
  case B.IN_TABLE:
@@ -18841,7 +18841,7 @@ class Vs {
18841
18841
  break;
18842
18842
  }
18843
18843
  case B.IN_TABLE_TEXT: {
18844
- Hu(this, t);
18844
+ Mu(this, t);
18845
18845
  break;
18846
18846
  }
18847
18847
  }
@@ -18849,7 +18849,7 @@ class Vs {
18849
18849
  }
18850
18850
  function Bg(e, t) {
18851
18851
  let n = e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);
18852
- return n ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), n = null) : Bu(e, t), n;
18852
+ return n ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), n = null) : Du(e, t), n;
18853
18853
  }
18854
18854
  function Fg(e, t) {
18855
18855
  let n = null, r = e.openElements.stackTop;
@@ -19130,11 +19130,11 @@ function Cn(e, t) {
19130
19130
  function wr(e, t) {
19131
19131
  switch (t.type) {
19132
19132
  case pe.CHARACTER: {
19133
- Pu(e, t);
19133
+ Iu(e, t);
19134
19134
  break;
19135
19135
  }
19136
19136
  case pe.WHITESPACE_CHARACTER: {
19137
- Du(e, t);
19137
+ ku(e, t);
19138
19138
  break;
19139
19139
  }
19140
19140
  case pe.COMMENT: {
@@ -19150,15 +19150,15 @@ function wr(e, t) {
19150
19150
  break;
19151
19151
  }
19152
19152
  case pe.EOF: {
19153
- Fu(e, t);
19153
+ Pu(e, t);
19154
19154
  break;
19155
19155
  }
19156
19156
  }
19157
19157
  }
19158
- function Du(e, t) {
19158
+ function ku(e, t) {
19159
19159
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
19160
19160
  }
19161
- function Pu(e, t) {
19161
+ function Iu(e, t) {
19162
19162
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
19163
19163
  }
19164
19164
  function t1(e, t) {
@@ -19221,15 +19221,15 @@ function h1(e, t) {
19221
19221
  function m1(e, t) {
19222
19222
  e.treeAdapter.getDocumentMode(e.document) !== et.QUIRKS && e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._insertElement(t, W.HTML), e.framesetOk = !1, e.insertionMode = B.IN_TABLE;
19223
19223
  }
19224
- function Mu(e, t) {
19224
+ function Lu(e, t) {
19225
19225
  e._reconstructActiveFormattingElements(), e._appendElement(t, W.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
19226
19226
  }
19227
- function Ru(e) {
19228
- const t = Su(e, Lt.TYPE);
19227
+ function Ou(e) {
19228
+ const t = yu(e, Lt.TYPE);
19229
19229
  return t != null && t.toLowerCase() === Dg;
19230
19230
  }
19231
19231
  function g1(e, t) {
19232
- e._reconstructActiveFormattingElements(), e._appendElement(t, W.HTML), Ru(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
19232
+ e._reconstructActiveFormattingElements(), e._appendElement(t, W.HTML), Ou(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
19233
19233
  }
19234
19234
  function E1(e, t) {
19235
19235
  e._appendElement(t, W.HTML), t.ackSelfClosing = !0;
@@ -19238,7 +19238,7 @@ function b1(e, t) {
19238
19238
  e.openElements.hasInButtonScope(c.P) && e._closePElement(), e._appendElement(t, W.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
19239
19239
  }
19240
19240
  function T1(e, t) {
19241
- t.tagName = U.IMG, t.tagID = c.IMG, Mu(e, t);
19241
+ t.tagName = U.IMG, t.tagID = c.IMG, Lu(e, t);
19242
19242
  }
19243
19243
  function y1(e, t) {
19244
19244
  e._insertElement(t, W.HTML), e.skipNextNewLine = !0, e.tokenizer.state = Oe.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = B.TEXT;
@@ -19249,7 +19249,7 @@ function x1(e, t) {
19249
19249
  function C1(e, t) {
19250
19250
  e.framesetOk = !1, e._switchToTextParsing(t, Oe.RAWTEXT);
19251
19251
  }
19252
- function Gs(e, t) {
19252
+ function Us(e, t) {
19253
19253
  e._switchToTextParsing(t, Oe.RAWTEXT);
19254
19254
  }
19255
19255
  function A1(e, t) {
@@ -19265,12 +19265,12 @@ function v1(e, t) {
19265
19265
  e.openElements.hasInScope(c.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(c.RTC), e._insertElement(t, W.HTML);
19266
19266
  }
19267
19267
  function w1(e, t) {
19268
- e._reconstructActiveFormattingElements(), Iu(t), li(t), t.selfClosing ? e._appendElement(t, W.MATHML) : e._insertElement(t, W.MATHML), t.ackSelfClosing = !0;
19268
+ e._reconstructActiveFormattingElements(), vu(t), li(t), t.selfClosing ? e._appendElement(t, W.MATHML) : e._insertElement(t, W.MATHML), t.ackSelfClosing = !0;
19269
19269
  }
19270
19270
  function N1(e, t) {
19271
- e._reconstructActiveFormattingElements(), Lu(t), li(t), t.selfClosing ? e._appendElement(t, W.SVG) : e._insertElement(t, W.SVG), t.ackSelfClosing = !0;
19271
+ e._reconstructActiveFormattingElements(), wu(t), li(t), t.selfClosing ? e._appendElement(t, W.SVG) : e._insertElement(t, W.SVG), t.ackSelfClosing = !0;
19272
19272
  }
19273
- function Ys(e, t) {
19273
+ function qs(e, t) {
19274
19274
  e._reconstructActiveFormattingElements(), e._insertElement(t, W.HTML);
19275
19275
  }
19276
19276
  function $e(e, t) {
@@ -19343,7 +19343,7 @@ function $e(e, t) {
19343
19343
  case c.AREA:
19344
19344
  case c.EMBED:
19345
19345
  case c.KEYGEN: {
19346
- Mu(e, t);
19346
+ Lu(e, t);
19347
19347
  break;
19348
19348
  }
19349
19349
  case c.HR: {
@@ -19448,7 +19448,7 @@ function $e(e, t) {
19448
19448
  }
19449
19449
  case c.NOEMBED:
19450
19450
  case c.NOFRAMES: {
19451
- Gs(e, t);
19451
+ Us(e, t);
19452
19452
  break;
19453
19453
  }
19454
19454
  case c.FRAMESET: {
@@ -19460,7 +19460,7 @@ function $e(e, t) {
19460
19460
  break;
19461
19461
  }
19462
19462
  case c.NOSCRIPT: {
19463
- e.options.scriptingEnabled ? Gs(e, t) : Ys(e, t);
19463
+ e.options.scriptingEnabled ? Us(e, t) : qs(e, t);
19464
19464
  break;
19465
19465
  }
19466
19466
  case c.PLAINTEXT: {
@@ -19480,7 +19480,7 @@ function $e(e, t) {
19480
19480
  case c.COLGROUP:
19481
19481
  break;
19482
19482
  default:
19483
- Ys(e, t);
19483
+ qs(e, t);
19484
19484
  }
19485
19485
  }
19486
19486
  function k1(e, t) {
@@ -19490,7 +19490,7 @@ function k1(e, t) {
19490
19490
  }
19491
19491
  }
19492
19492
  function I1(e, t) {
19493
- e.openElements.hasInScope(c.BODY) && (e.insertionMode = B.AFTER_BODY, Yu(e, t));
19493
+ e.openElements.hasInScope(c.BODY) && (e.insertionMode = B.AFTER_BODY, qu(e, t));
19494
19494
  }
19495
19495
  function L1(e, t) {
19496
19496
  const n = t.tagID;
@@ -19520,7 +19520,7 @@ function B1(e, t) {
19520
19520
  function F1(e) {
19521
19521
  e._reconstructActiveFormattingElements(), e._insertFakeElement(U.BR, c.BR), e.openElements.pop(), e.framesetOk = !1;
19522
19522
  }
19523
- function Bu(e, t) {
19523
+ function Du(e, t) {
19524
19524
  const n = t.tagName, r = t.tagID;
19525
19525
  for (let a = e.openElements.stackTop; a > 0; a--) {
19526
19526
  const i = e.openElements.items[a], s = e.openElements.tagIDs[a];
@@ -19630,11 +19630,11 @@ function Nr(e, t) {
19630
19630
  break;
19631
19631
  }
19632
19632
  default:
19633
- Bu(e, t);
19633
+ Du(e, t);
19634
19634
  }
19635
19635
  }
19636
- function Fu(e, t) {
19637
- e.tmplInsertionModeStack.length > 0 ? Gu(e, t) : di(e, t);
19636
+ function Pu(e, t) {
19637
+ e.tmplInsertionModeStack.length > 0 ? Uu(e, t) : di(e, t);
19638
19638
  }
19639
19639
  function H1(e, t) {
19640
19640
  var n;
@@ -19644,14 +19644,14 @@ function $1(e, t) {
19644
19644
  e._err(t, z.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
19645
19645
  }
19646
19646
  function la(e, t) {
19647
- if (e.openElements.currentTagId !== void 0 && Ou.has(e.openElements.currentTagId))
19647
+ if (e.openElements.currentTagId !== void 0 && Nu.has(e.openElements.currentTagId))
19648
19648
  switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = B.IN_TABLE_TEXT, t.type) {
19649
19649
  case pe.CHARACTER: {
19650
- $u(e, t);
19650
+ Ru(e, t);
19651
19651
  break;
19652
19652
  }
19653
19653
  case pe.WHITESPACE_CHARACTER: {
19654
- Hu(e, t);
19654
+ Mu(e, t);
19655
19655
  break;
19656
19656
  }
19657
19657
  }
@@ -19677,7 +19677,7 @@ function Y1(e, t) {
19677
19677
  e.openElements.hasInTableScope(c.TABLE) && (e.openElements.popUntilTagNamePopped(c.TABLE), e._resetInsertionMode(), e._processStartTag(t));
19678
19678
  }
19679
19679
  function W1(e, t) {
19680
- Ru(t) ? e._appendElement(t, W.HTML) : Rn(e, t), t.ackSelfClosing = !0;
19680
+ Ou(t) ? e._appendElement(t, W.HTML) : Rn(e, t), t.ackSelfClosing = !0;
19681
19681
  }
19682
19682
  function j1(e, t) {
19683
19683
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, W.HTML), e.formElement = e.openElements.current, e.openElements.pop());
@@ -19760,10 +19760,10 @@ function Rn(e, t) {
19760
19760
  const n = e.fosterParentingEnabled;
19761
19761
  e.fosterParentingEnabled = !0, wr(e, t), e.fosterParentingEnabled = n;
19762
19762
  }
19763
- function Hu(e, t) {
19763
+ function Mu(e, t) {
19764
19764
  e.pendingCharacterTokens.push(t);
19765
19765
  }
19766
- function $u(e, t) {
19766
+ function Ru(e, t) {
19767
19767
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
19768
19768
  }
19769
19769
  function fn(e, t) {
@@ -19776,10 +19776,10 @@ function fn(e, t) {
19776
19776
  e._insertCharacters(e.pendingCharacterTokens[n]);
19777
19777
  e.insertionMode = e.originalInsertionMode, e._processToken(t);
19778
19778
  }
19779
- const Uu = /* @__PURE__ */ new Set([c.CAPTION, c.COL, c.COLGROUP, c.TBODY, c.TD, c.TFOOT, c.TH, c.THEAD, c.TR]);
19779
+ const Bu = /* @__PURE__ */ new Set([c.CAPTION, c.COL, c.COLGROUP, c.TBODY, c.TD, c.TFOOT, c.TH, c.THEAD, c.TR]);
19780
19780
  function X1(e, t) {
19781
19781
  const n = t.tagID;
19782
- Uu.has(n) ? e.openElements.hasInTableScope(c.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(c.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = B.IN_TABLE, Xt(e, t)) : $e(e, t);
19782
+ Bu.has(n) ? e.openElements.hasInTableScope(c.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(c.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = B.IN_TABLE, Xt(e, t)) : $e(e, t);
19783
19783
  }
19784
19784
  function K1(e, t) {
19785
19785
  const n = t.tagID;
@@ -19912,7 +19912,7 @@ function Ir(e, t) {
19912
19912
  Xt(e, t);
19913
19913
  }
19914
19914
  }
19915
- function qu(e, t) {
19915
+ function Fu(e, t) {
19916
19916
  switch (t.tagID) {
19917
19917
  case c.TR: {
19918
19918
  e.openElements.hasInTableScope(c.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = B.IN_TABLE_BODY);
@@ -19942,7 +19942,7 @@ function qu(e, t) {
19942
19942
  }
19943
19943
  function J1(e, t) {
19944
19944
  const n = t.tagID;
19945
- Uu.has(n) ? (e.openElements.hasInTableScope(c.TD) || e.openElements.hasInTableScope(c.TH)) && (e._closeTableCell(), Ir(e, t)) : $e(e, t);
19945
+ Bu.has(n) ? (e.openElements.hasInTableScope(c.TD) || e.openElements.hasInTableScope(c.TH)) && (e._closeTableCell(), Ir(e, t)) : $e(e, t);
19946
19946
  }
19947
19947
  function Z1(e, t) {
19948
19948
  const n = t.tagID;
@@ -19957,7 +19957,7 @@ function Z1(e, t) {
19957
19957
  case c.TFOOT:
19958
19958
  case c.THEAD:
19959
19959
  case c.TR: {
19960
- e.openElements.hasInTableScope(n) && (e._closeTableCell(), qu(e, t));
19960
+ e.openElements.hasInTableScope(n) && (e._closeTableCell(), Fu(e, t));
19961
19961
  break;
19962
19962
  }
19963
19963
  case c.BODY:
@@ -19970,7 +19970,7 @@ function Z1(e, t) {
19970
19970
  Nr(e, t);
19971
19971
  }
19972
19972
  }
19973
- function zu(e, t) {
19973
+ function Hu(e, t) {
19974
19974
  switch (t.tagID) {
19975
19975
  case c.HTML: {
19976
19976
  $e(e, t);
@@ -20002,7 +20002,7 @@ function zu(e, t) {
20002
20002
  }
20003
20003
  }
20004
20004
  }
20005
- function Vu(e, t) {
20005
+ function $u(e, t) {
20006
20006
  switch (t.tagID) {
20007
20007
  case c.OPTGROUP: {
20008
20008
  e.openElements.stackTop > 0 && e.openElements.currentTagId === c.OPTION && e.openElements.tagIDs[e.openElements.stackTop - 1] === c.OPTGROUP && e.openElements.pop(), e.openElements.currentTagId === c.OPTGROUP && e.openElements.pop();
@@ -20024,11 +20024,11 @@ function Vu(e, t) {
20024
20024
  }
20025
20025
  function eE(e, t) {
20026
20026
  const n = t.tagID;
20027
- n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : zu(e, t);
20027
+ n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e._processStartTag(t)) : Hu(e, t);
20028
20028
  }
20029
20029
  function tE(e, t) {
20030
20030
  const n = t.tagID;
20031
- n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? e.openElements.hasInTableScope(n) && (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : Vu(e, t);
20031
+ n === c.CAPTION || n === c.TABLE || n === c.TBODY || n === c.TFOOT || n === c.THEAD || n === c.TR || n === c.TD || n === c.TH ? e.openElements.hasInTableScope(n) && (e.openElements.popUntilTagNamePopped(c.SELECT), e._resetInsertionMode(), e.onEndTag(t)) : $u(e, t);
20032
20032
  }
20033
20033
  function nE(e, t) {
20034
20034
  switch (t.tagID) {
@@ -20075,13 +20075,13 @@ function nE(e, t) {
20075
20075
  function rE(e, t) {
20076
20076
  t.tagID === c.TEMPLATE && Rt(e, t);
20077
20077
  }
20078
- function Gu(e, t) {
20078
+ function Uu(e, t) {
20079
20079
  e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(c.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : di(e, t);
20080
20080
  }
20081
20081
  function aE(e, t) {
20082
20082
  t.tagID === c.HTML ? $e(e, t) : Er(e, t);
20083
20083
  }
20084
- function Yu(e, t) {
20084
+ function qu(e, t) {
20085
20085
  var n;
20086
20086
  if (t.tagID === c.HTML) {
20087
20087
  if (e.fragmentContext || (e.insertionMode = B.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === c.HTML) {
@@ -20157,21 +20157,21 @@ function dE(e, t) {
20157
20157
  function fE(e, t) {
20158
20158
  e._insertCharacters(t), e.framesetOk = !1;
20159
20159
  }
20160
- function Wu(e) {
20160
+ function zu(e) {
20161
20161
  for (; e.treeAdapter.getNamespaceURI(e.openElements.current) !== W.HTML && e.openElements.currentTagId !== void 0 && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); )
20162
20162
  e.openElements.pop();
20163
20163
  }
20164
20164
  function pE(e, t) {
20165
20165
  if (Ng(t))
20166
- Wu(e), e._startTagOutsideForeignContent(t);
20166
+ zu(e), e._startTagOutsideForeignContent(t);
20167
20167
  else {
20168
20168
  const n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
20169
- r === W.MATHML ? Iu(t) : r === W.SVG && (kg(t), Lu(t)), li(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
20169
+ r === W.MATHML ? vu(t) : r === W.SVG && (kg(t), wu(t)), li(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
20170
20170
  }
20171
20171
  }
20172
20172
  function hE(e, t) {
20173
20173
  if (t.tagID === c.P || t.tagID === c.BR) {
20174
- Wu(e), e._endTagOutsideForeignContent(t);
20174
+ zu(e), e._endTagOutsideForeignContent(t);
20175
20175
  return;
20176
20176
  }
20177
20177
  for (let n = e.openElements.stackTop; n > 0; n--) {
@@ -20194,13 +20194,13 @@ const mE = /<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title
20194
20194
  "mdxJsxTextElement",
20195
20195
  "mdxTextExpression",
20196
20196
  "mdxjsEsm"
20197
- ]), Ws = { sourceCodeLocationInfo: !0, scriptingEnabled: !1 };
20198
- function ju(e, t) {
20199
- const n = vE(e), r = Tu("type", {
20200
- handlers: { root: EE, element: bE, text: TE, comment: Ku, doctype: yE, raw: CE },
20197
+ ]), zs = { sourceCodeLocationInfo: !0, scriptingEnabled: !1 };
20198
+ function Vu(e, t) {
20199
+ const n = vE(e), r = mu("type", {
20200
+ handlers: { root: EE, element: bE, text: TE, comment: Yu, doctype: yE, raw: CE },
20201
20201
  unknown: AE
20202
20202
  }), a = {
20203
- parser: n ? new Vs(Ws) : Vs.getFragmentParser(void 0, Ws),
20203
+ parser: n ? new $s(zs) : $s.getFragmentParser(void 0, zs),
20204
20204
  handle(o) {
20205
20205
  r(o, a);
20206
20206
  },
@@ -20224,17 +20224,17 @@ function ju(e, t) {
20224
20224
  }
20225
20225
  }), s.type === "root" && s.children.length === 1 && s.children[0].type === e.type ? s.children[0] : s;
20226
20226
  }
20227
- function Xu(e, t) {
20227
+ function Gu(e, t) {
20228
20228
  let n = -1;
20229
20229
  if (e)
20230
20230
  for (; ++n < e.length; )
20231
20231
  t.handle(e[n]);
20232
20232
  }
20233
20233
  function EE(e, t) {
20234
- Xu(e.children, t);
20234
+ Gu(e.children, t);
20235
20235
  }
20236
20236
  function bE(e, t) {
20237
- SE(e, t), Xu(e.children, t), _E(e, t);
20237
+ SE(e, t), Gu(e.children, t), _E(e, t);
20238
20238
  }
20239
20239
  function TE(e, t) {
20240
20240
  t.parser.tokenizer.state > 4 && (t.parser.tokenizer.state = 0);
@@ -20262,13 +20262,13 @@ function xE(e, t) {
20262
20262
  if ("children" in e && "children" in n) {
20263
20263
  const r = (
20264
20264
  /** @type {Root} */
20265
- ju({ type: "root", children: e.children }, t.options)
20265
+ Vu({ type: "root", children: e.children }, t.options)
20266
20266
  );
20267
20267
  n.children = r.children;
20268
20268
  }
20269
- Ku({ type: "comment", value: { stitch: n } }, t);
20269
+ Yu({ type: "comment", value: { stitch: n } }, t);
20270
20270
  }
20271
- function Ku(e, t) {
20271
+ function Yu(e, t) {
20272
20272
  const n = e.value, r = {
20273
20273
  type: pe.COMMENT,
20274
20274
  data: n,
@@ -20277,7 +20277,7 @@ function Ku(e, t) {
20277
20277
  en(t, ft(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
20278
20278
  }
20279
20279
  function CE(e, t) {
20280
- 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, Qu(t, ft(e)), t.parser.tokenizer.write(
20280
+ 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, Wu(t, ft(e)), t.parser.tokenizer.write(
20281
20281
  t.options.tagfilter ? e.value.replace(mE, "&lt;$1$2") : e.value,
20282
20282
  !1
20283
20283
  ), t.parser.tokenizer._runParsingLoop(), t.parser.tokenizer.state === 72 || // @ts-expect-error: removed.
@@ -20300,11 +20300,11 @@ function AE(e, t) {
20300
20300
  }
20301
20301
  }
20302
20302
  function en(e, t) {
20303
- Qu(e, t);
20303
+ Wu(e, t);
20304
20304
  const n = e.parser.tokenizer.currentCharacterToken;
20305
20305
  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 = Oe.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: "" };
20306
20306
  }
20307
- function Qu(e, t) {
20307
+ function Wu(e, t) {
20308
20308
  if (t && t.offset !== void 0) {
20309
20309
  const n = {
20310
20310
  startLine: t.line,
@@ -20391,7 +20391,7 @@ function ca(e) {
20391
20391
  return function(t, n) {
20392
20392
  return (
20393
20393
  /** @type {Root} */
20394
- ju(t, { ...e, file: n })
20394
+ Vu(t, { ...e, file: n })
20395
20395
  );
20396
20396
  };
20397
20397
  }
@@ -20595,10 +20595,10 @@ function NE(e, t) {
20595
20595
  const r = {
20596
20596
  schema: t ? { ...Gt, ...t } : Gt,
20597
20597
  stack: []
20598
- }, a = Ju(r, e);
20598
+ }, a = ju(r, e);
20599
20599
  return a && (Array.isArray(a) ? a.length === 1 ? n = a[0] : n.children = a : n = a), n;
20600
20600
  }
20601
- function Ju(e, t) {
20601
+ function ju(e, t) {
20602
20602
  if (t && typeof t == "object") {
20603
20603
  const n = (
20604
20604
  /** @type {Record<string, Readonly<unknown>>} */
@@ -20635,7 +20635,7 @@ function LE(e, t) {
20635
20635
  e.stack.push(n);
20636
20636
  const r = (
20637
20637
  /** @type {Array<ElementContent>} */
20638
- Zu(e, t.children)
20638
+ Xu(e, t.children)
20639
20639
  ), a = PE(e, t.properties);
20640
20640
  e.stack.pop();
20641
20641
  let i = !1;
@@ -20658,7 +20658,7 @@ function LE(e, t) {
20658
20658
  function OE(e, t) {
20659
20659
  const r = { type: "root", children: (
20660
20660
  /** @type {Array<RootContent>} */
20661
- Zu(e, t.children)
20661
+ Xu(e, t.children)
20662
20662
  ) };
20663
20663
  return Fn(r, t), r;
20664
20664
  }
@@ -20666,7 +20666,7 @@ function DE(e, t) {
20666
20666
  const r = { type: "text", value: typeof t.value == "string" ? t.value : "" };
20667
20667
  return Fn(r, t), r;
20668
20668
  }
20669
- function Zu(e, t) {
20669
+ function Xu(e, t) {
20670
20670
  const n = [];
20671
20671
  if (Array.isArray(t)) {
20672
20672
  const r = (
@@ -20675,7 +20675,7 @@ function Zu(e, t) {
20675
20675
  );
20676
20676
  let a = -1;
20677
20677
  for (; ++a < r.length; ) {
20678
- const i = Ju(e, r[a]);
20678
+ const i = ju(e, r[a]);
20679
20679
  i && (Array.isArray(i) ? n.push(...i) : n.push(i));
20680
20680
  }
20681
20681
  }
@@ -20690,13 +20690,13 @@ function PE(e, t) {
20690
20690
  for (l in o)
20691
20691
  if (At.call(o, l)) {
20692
20692
  const d = o[l];
20693
- let p = js(
20693
+ let p = Vs(
20694
20694
  e,
20695
- Xs(i, l),
20695
+ Gs(i, l),
20696
20696
  l,
20697
20697
  d
20698
20698
  );
20699
- p == null && (p = js(e, Xs(s, l), l, d)), p != null && (u[l] = p);
20699
+ p == null && (p = Vs(e, Gs(s, l), l, d)), p != null && (u[l] = p);
20700
20700
  }
20701
20701
  if (a && At.call(a, n)) {
20702
20702
  const d = a[n];
@@ -20705,19 +20705,19 @@ function PE(e, t) {
20705
20705
  }
20706
20706
  return u;
20707
20707
  }
20708
- function js(e, t, n, r) {
20709
- return t ? Array.isArray(r) ? ME(e, t, n, r) : el(e, t, n, r) : void 0;
20708
+ function Vs(e, t, n, r) {
20709
+ return t ? Array.isArray(r) ? ME(e, t, n, r) : Ku(e, t, n, r) : void 0;
20710
20710
  }
20711
20711
  function ME(e, t, n, r) {
20712
20712
  let a = -1;
20713
20713
  const i = [];
20714
20714
  for (; ++a < r.length; ) {
20715
- const s = el(e, t, n, r[a]);
20715
+ const s = Ku(e, t, n, r[a]);
20716
20716
  (typeof s == "number" || typeof s == "string") && i.push(s);
20717
20717
  }
20718
20718
  return i;
20719
20719
  }
20720
- function el(e, t, n, r) {
20720
+ function Ku(e, t, n, r) {
20721
20721
  if (!(typeof r != "boolean" && typeof r != "number" && typeof r != "string") && RE(e, n, r)) {
20722
20722
  if (typeof t == "object" && t.length > 1) {
20723
20723
  let a = !1, i = 0;
@@ -20755,13 +20755,13 @@ function RE(e, t, n) {
20755
20755
  return !1;
20756
20756
  }
20757
20757
  function Fn(e, t) {
20758
- const n = zo(
20758
+ const n = Ho(
20759
20759
  // @ts-expect-error: looks like a node.
20760
20760
  t
20761
20761
  );
20762
20762
  t.data && (e.data = Dt(t.data)), n && (e.position = n);
20763
20763
  }
20764
- function Xs(e, t) {
20764
+ function Gs(e, t) {
20765
20765
  let n, r = -1;
20766
20766
  if (e)
20767
20767
  for (; ++r < e.length; ) {
@@ -20781,7 +20781,7 @@ function da(e) {
20781
20781
  );
20782
20782
  };
20783
20783
  }
20784
- function Ks(e, t) {
20784
+ function Ys(e, t) {
20785
20785
  const n = String(e);
20786
20786
  if (typeof t != "string")
20787
20787
  throw new TypeError("Expected character");
@@ -20897,7 +20897,7 @@ const BE = [
20897
20897
  "yacute",
20898
20898
  "yen",
20899
20899
  "yuml"
20900
- ], Qs = {
20900
+ ], Ws = {
20901
20901
  0: "�",
20902
20902
  128: "€",
20903
20903
  130: "‚",
@@ -20927,7 +20927,7 @@ const BE = [
20927
20927
  158: "ž",
20928
20928
  159: "Ÿ"
20929
20929
  };
20930
- function tl(e) {
20930
+ function Qu(e) {
20931
20931
  const t = typeof e == "string" ? e.charCodeAt(0) : e;
20932
20932
  return t >= 48 && t <= 57;
20933
20933
  }
@@ -20939,8 +20939,8 @@ function HE(e) {
20939
20939
  const t = typeof e == "string" ? e.charCodeAt(0) : e;
20940
20940
  return t >= 97 && t <= 122 || t >= 65 && t <= 90;
20941
20941
  }
20942
- function Js(e) {
20943
- return HE(e) || tl(e);
20942
+ function js(e) {
20943
+ return HE(e) || Qu(e);
20944
20944
  }
20945
20945
  const $E = [
20946
20946
  "",
@@ -20980,7 +20980,7 @@ function pi(e, t) {
20980
20980
  } else
20981
20981
  S = "named";
20982
20982
  let A = "", L = "", _ = "";
20983
- const v = S === "named" ? Js : S === "decimal" ? tl : FE;
20983
+ const v = S === "named" ? js : S === "decimal" ? Qu : FE;
20984
20984
  for (C--; ++C <= e.length; ) {
20985
20985
  const R = e.charCodeAt(C);
20986
20986
  if (!v(R))
@@ -21003,7 +21003,7 @@ function pi(e, t) {
21003
21003
  const R = A ? 1 : 3;
21004
21004
  if (n.attribute) {
21005
21005
  const I = e.charCodeAt(C);
21006
- I === 61 ? (h(R, N), L = "") : Js(I) ? L = "" : h(R, N);
21006
+ I === 61 ? (h(R, N), L = "") : js(I) ? L = "" : h(R, N);
21007
21007
  } else
21008
21008
  h(R, N);
21009
21009
  }
@@ -21016,8 +21016,8 @@ function pi(e, t) {
21016
21016
  );
21017
21017
  if (UE(R))
21018
21018
  h(7, N), O = "�";
21019
- else if (R in Qs)
21020
- h(6, N), O = Qs[R];
21019
+ else if (R in Ws)
21020
+ h(6, N), O = Ws[R];
21021
21021
  else {
21022
21022
  let I = "";
21023
21023
  qE(R) && h(6, N), R > 65535 && (R -= 65536, I += String.fromCharCode(
@@ -21071,7 +21071,7 @@ function qE(e) {
21071
21071
  const zE = /["&'<>`]/g, VE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, GE = (
21072
21072
  // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
21073
21073
  /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
21074
- ), YE = /[|\\{}()[\]^$+*?.]/g, Zs = /* @__PURE__ */ new WeakMap();
21074
+ ), YE = /[|\\{}()[\]^$+*?.]/g, Xs = /* @__PURE__ */ new WeakMap();
21075
21075
  function WE(e, t) {
21076
21076
  if (e = e.replace(
21077
21077
  t.subset ? jE(t.subset) : zE,
@@ -21095,8 +21095,8 @@ function WE(e, t) {
21095
21095
  }
21096
21096
  }
21097
21097
  function jE(e) {
21098
- let t = Zs.get(e);
21099
- return t || (t = XE(e), Zs.set(e, t)), t;
21098
+ let t = Xs.get(e);
21099
+ return t || (t = XE(e), Xs.set(e, t)), t;
21100
21100
  }
21101
21101
  function XE(e) {
21102
21102
  const t = [];
@@ -21111,7 +21111,7 @@ function KE(e) {
21111
21111
  function QE(e, t) {
21112
21112
  return WE(e, Object.assign({ format: KE }, t));
21113
21113
  }
21114
- const JE = {}.hasOwnProperty, ZE = {}, eo = /^[^\t\n\r "#'.<=>`}]+$/, eb = /^[^\t\n\r "'<=>`}]+$/;
21114
+ const JE = {}.hasOwnProperty, ZE = {}, Ks = /^[^\t\n\r "#'.<=>`}]+$/, eb = /^[^\t\n\r "'<=>`}]+$/;
21115
21115
  function tb() {
21116
21116
  return {
21117
21117
  canContainEols: ["textDirective"],
@@ -21186,7 +21186,7 @@ function nb(e) {
21186
21186
  let g = l.move(d + (i.name || "")), f;
21187
21187
  if (i.type === "containerDirective") {
21188
21188
  const y = (i.children || [])[0];
21189
- f = to(y) ? y : void 0;
21189
+ f = Qs(y) ? y : void 0;
21190
21190
  } else
21191
21191
  f = i;
21192
21192
  if (f && f.children && f.children.length > 0) {
@@ -21202,7 +21202,7 @@ function nb(e) {
21202
21202
  if (g += l.move(r(i, o)), i.type === "containerDirective") {
21203
21203
  const y = (i.children || [])[0];
21204
21204
  let h = i;
21205
- to(y) && (h = Object.assign({}, i, { children: i.children.slice(1) })), h && h.children && h.children.length > 0 && (g += l.move(`
21205
+ Qs(y) && (h = Object.assign({}, i, { children: i.children.slice(1) })), h && h.children && h.children.length > 0 && (g += l.move(`
21206
21206
  `), g += l.move(o.containerFlow(h, l.current()))), g += l.move(`
21207
21207
  ` + d);
21208
21208
  }
@@ -21215,12 +21215,12 @@ function nb(e) {
21215
21215
  if (JE.call(o, g) && o[g] !== void 0 && o[g] !== null) {
21216
21216
  const f = String(o[g]);
21217
21217
  if (g === "id")
21218
- p = t.preferShortcut !== !1 && eo.test(f) ? "#" + f : a("id", f, i, s);
21218
+ p = t.preferShortcut !== !1 && Ks.test(f) ? "#" + f : a("id", f, i, s);
21219
21219
  else if (g === "class") {
21220
21220
  const y = f.split(/[\t\n\r ]+/g), h = [], m = [];
21221
21221
  let E = -1;
21222
21222
  for (; ++E < y.length; )
21223
- (t.preferShortcut !== !1 && eo.test(y[E]) ? m : h).push(y[E]);
21223
+ (t.preferShortcut !== !1 && Ks.test(y[E]) ? m : h).push(y[E]);
21224
21224
  l = h.length > 0 ? a("class", h.join(" "), i, s) : "", d = m.length > 0 ? "." + m.join(".") : "";
21225
21225
  } else
21226
21226
  u.push(a(g, f, i, s));
@@ -21231,7 +21231,7 @@ function nb(e) {
21231
21231
  if (t.collapseEmptyAttributes !== !1 && !s) return i;
21232
21232
  if (t.preferUnquoted && eb.test(s))
21233
21233
  return i + "=" + s;
21234
- const l = t.quote || u.options.quote || '"', d = l === '"' ? "'" : '"', p = t.quoteSmart && Ks(s, l) > Ks(s, d) ? d : l, g = o.type === "textDirective" ? [p] : [p, `
21234
+ const l = t.quote || u.options.quote || '"', d = l === '"' ? "'" : '"', p = t.quoteSmart && Ys(s, l) > Ys(s, d) ? d : l, g = o.type === "textDirective" ? [p] : [p, `
21235
21235
  `, "\r"];
21236
21236
  return i + "=" + p + QE(s, { subset: g }) + p;
21237
21237
  }
@@ -21302,12 +21302,12 @@ function Ta(e) {
21302
21302
  function ub() {
21303
21303
  return ":";
21304
21304
  }
21305
- function to(e) {
21305
+ function Qs(e) {
21306
21306
  return !!(e && e.type === "paragraph" && e.data && e.data.directiveLabel);
21307
21307
  }
21308
21308
  function lb(e) {
21309
21309
  let t = 0;
21310
- return e.type === "containerDirective" ? (hu(e, function(n, r) {
21310
+ return e.type === "containerDirective" ? (cu(e, function(n, r) {
21311
21311
  if (n.type === "containerDirective") {
21312
21312
  let a = r.length, i = 0;
21313
21313
  for (; a--; )
@@ -21720,8 +21720,8 @@ const xa = {
21720
21720
  ".rte-steps-tooltip-step-badge"
21721
21721
  );
21722
21722
  if (!O || !R || !I) return;
21723
- const x = window.getComputedStyle(O), F = Number.parseFloat(x.paddingLeft) || 0, $ = Number.parseFloat(x.paddingRight) || 0, H = Math.ceil(R.getBoundingClientRect().width || 0), q = Math.ceil(I.getBoundingClientRect().width || 0), G = H + 16 + q + Math.ceil(F + $), K = 357, P = Math.max(240, Math.floor(window.innerWidth - 32));
21724
- L(Math.min(Math.max(G, K), P));
21723
+ const x = window.getComputedStyle(O), F = Number.parseFloat(x.paddingLeft) || 0, $ = Number.parseFloat(x.paddingRight) || 0, H = Math.ceil(R.getBoundingClientRect().width || 0), q = Math.ceil(I.getBoundingClientRect().width || 0), V = H + 16 + q + Math.ceil(F + $), K = 357, P = Math.max(240, Math.floor(window.innerWidth - 32));
21724
+ L(Math.min(Math.max(V, K), P));
21725
21725
  const ee = a?.anchorEl;
21726
21726
  if (ee) {
21727
21727
  const ae = ee.getBoundingClientRect(), ne = O.getBoundingClientRect(), Q = Math.ceil(ne.height || 0), re = Math.max(
@@ -21762,7 +21762,7 @@ const xa = {
21762
21762
  const q = H.data, w = Math.max(0, q.images?.length || 0);
21763
21763
  if (w <= 0)
21764
21764
  return { node: q.title, steps: !1 };
21765
- const G = Math.min(Math.max(m, 0), w - 1), K = Array.isArray(q.stepDescriptions) && q.stepDescriptions[G] || "", P = (q.disclaimer || "").trim(), ee = Array.isArray(q.images) ? q.images[G] : void 0, ae = typeof ee == "string" ? S.current.get(ee) : void 0;
21765
+ const V = Math.min(Math.max(m, 0), w - 1), K = Array.isArray(q.stepDescriptions) && q.stepDescriptions[V] || "", P = (q.disclaimer || "").trim(), ee = Array.isArray(q.images) ? q.images[V] : void 0, ae = typeof ee == "string" ? S.current.get(ee) : void 0;
21766
21766
  return { node: /* @__PURE__ */ he(
21767
21767
  "div",
21768
21768
  {
@@ -21780,7 +21780,7 @@ const xa = {
21780
21780
  /* @__PURE__ */ Y("div", { className: "rte-steps-tooltip-title", children: q.title }),
21781
21781
  /* @__PURE__ */ he("div", { className: "rte-steps-tooltip-step-badge", children: [
21782
21782
  "步骤 ",
21783
- G + 1,
21783
+ V + 1,
21784
21784
  "/",
21785
21785
  w
21786
21786
  ] })
@@ -21804,11 +21804,11 @@ const xa = {
21804
21804
  "--rte-steps-tooltip-aspect": ae
21805
21805
  } : void 0,
21806
21806
  children: /* @__PURE__ */ Y(
21807
- Mi.PreviewGroup,
21807
+ Li.PreviewGroup,
21808
21808
  {
21809
21809
  preview: {
21810
21810
  visible: T,
21811
- current: G,
21811
+ current: V,
21812
21812
  onVisibleChange: (Q) => C(Q),
21813
21813
  onChange: (Q) => {
21814
21814
  const re = Math.min(Math.max(Q, 0), w - 1);
@@ -21816,19 +21816,19 @@ const xa = {
21816
21816
  }
21817
21817
  },
21818
21818
  children: /* @__PURE__ */ Y(
21819
- Io,
21819
+ vo,
21820
21820
  {
21821
21821
  className: "rte-steps-tooltip-swiper",
21822
21822
  modules: [rf, af],
21823
21823
  navigation: !0,
21824
21824
  pagination: { clickable: !0 },
21825
- initialSlide: G,
21825
+ initialSlide: V,
21826
21826
  onSwiper: (Q) => {
21827
21827
  b.current = Q;
21828
21828
  },
21829
21829
  onSlideChange: (Q) => E(Q.activeIndex),
21830
- children: q.images.map((Q, re) => /* @__PURE__ */ Y(Lo, { children: /* @__PURE__ */ Y(
21831
- Mi,
21830
+ children: q.images.map((Q, re) => /* @__PURE__ */ Y(wo, { children: /* @__PURE__ */ Y(
21831
+ Li,
21832
21832
  {
21833
21833
  className: "rte-steps-tooltip-img",
21834
21834
  src: Q,
@@ -21889,7 +21889,7 @@ const xa = {
21889
21889
  N = H.node, R = H.steps;
21890
21890
  else {
21891
21891
  const q = e.find(
21892
- (G) => G.type === "upload" && G.key === a.key
21892
+ (V) => V.type === "upload" && V.key === a.key
21893
21893
  ), w = I(
21894
21894
  typeof q?.tooltip == "string" ? q?.tooltip : q?.tooltip ? JSON.stringify(q.tooltip) : ""
21895
21895
  );
@@ -22011,7 +22011,7 @@ const xa = {
22011
22011
  }, Pb = (e, t) => {
22012
22012
  const n = t ? ' data-locked="true" contenteditable="false"' : ' contenteditable="false"', a = (e.text ?? "").replace(/\n/g, "<br/>");
22013
22013
  return e.className ? `<span data-type="text" class="${e.className}"${n}>${a}</span>` : t ? `<span data-type="text"${n}>${a}</span>` : `<span data-type="text" contenteditable="false">${a}</span>`;
22014
- }, Mb = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, nl = (e, t) => {
22014
+ }, Mb = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Ju = (e, t) => {
22015
22015
  const r = (e.key ? t[e.key] : void 0) || e.text || "", a = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", i = nt(e.tooltip), s = i ? ` data-tooltip="${ue(i)}" data-variable-key="${e.key || ""}"` : "";
22016
22016
  if (e.useAntd === !0) {
22017
22017
  const g = r ? encodeURIComponent(r) : "", f = ue(e.placeholder || ""), y = e.allowNewline === !1 ? ' data-allow-newline="0"' : ' data-allow-newline="1"', h = ur(r || e.placeholder || ""), m = i && !r ? 18 : 0;
@@ -22023,9 +22023,9 @@ const xa = {
22023
22023
  const o = !r, u = o ? "​" : ue(r).replace(/\n/g, "<br/>"), l = o ? "show-placeholder" : "", d = i && o ? "rte-variable-with-icon" : "", p = i && o ? "" : "hidden";
22024
22024
  return `<span contenteditable="true" data-type="variable" data-key="${e.key}" data-placeholder="${e.placeholder || ""}"${a}${s} class="variable-chip ${l}${d ? ` ${d}` : ""}">${u}${i ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi variable-info-icon ${p}" data-variable-key="${e.key}" data-tooltip="${ue(i)}" ></i>` : ""}</span>`;
22025
22025
  }, Rb = (e, t) => {
22026
- const n = nl(e, t);
22026
+ const n = Ju(e, t);
22027
22027
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${Mb}${n}</span>` : n;
22028
- }, no = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Bb = (e) => /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i.test(e);
22028
+ }, Js = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Bb = (e) => /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i.test(e);
22029
22029
  function $a(e, t) {
22030
22030
  if (e == null)
22031
22031
  return { hasFile: !1, fileName: t, uploadIcon: "<i class='iconfont icon-shangchuan1'></i>" };
@@ -22051,13 +22051,13 @@ const Fb = (e, t) => {
22051
22051
  const L = Math.min(S, Math.max(C, A + (A < S ? 1 : 0)));
22052
22052
  let _ = "";
22053
22053
  for (let k = 0; k < L; k++) {
22054
- const N = `${e.key}-${k}`, { hasFile: O, fileName: R, uploadIcon: I } = $a(t[N], e.text), x = O ? "" : "hidden", F = b && !O ? "" : "hidden", $ = O ? "has-file" : "", H = O && R ? ` data-file-name="${R.replace(/"/g, "&quot;")}"` : "", q = ` data-batch-key="${e.key}"`, w = ` data-batch-index="${k}"`, G = `<span contenteditable="false" data-type="upload" data-key="${N}"${q}${w}${T} class="upload-chip upload-chip-batch"><span class="upload-inner-wrapper ${$}"><span class="upload-icon">${I}</span><span class="upload-label"${H}>${R || e.text}</span>${b ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${F}" data-upload-key="${N}" data-tooltip="${ue(b)}" ></i>` : ""}<span class="file-remove-btn ${x}" title="移除文件">×</span></span></span>`;
22055
- _ += G;
22054
+ const N = `${e.key}-${k}`, { hasFile: O, fileName: R, uploadIcon: I } = $a(t[N], e.text), x = O ? "" : "hidden", F = b && !O ? "" : "hidden", $ = O ? "has-file" : "", H = O && R ? ` data-file-name="${R.replace(/"/g, "&quot;")}"` : "", q = ` data-batch-key="${e.key}"`, w = ` data-batch-index="${k}"`, V = `<span contenteditable="false" data-type="upload" data-key="${N}"${q}${w}${T} class="upload-chip upload-chip-batch"><span class="upload-inner-wrapper ${$}"><span class="upload-icon">${I}</span><span class="upload-label"${H}>${R || e.text}</span>${b ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${F}" data-upload-key="${N}" data-tooltip="${ue(b)}" ></i>` : ""}<span class="file-remove-btn ${x}" title="移除文件">×</span></span></span>`;
22055
+ _ += V;
22056
22056
  }
22057
- return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group rte-required-upload-batch">${no}<span class="rte-upload-batch-chips">${_}${n}</span></span>` : `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper rte-upload-batch-chips">${_}${n}</span>`;
22057
+ return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group rte-required-upload-batch">${Js}<span class="rte-upload-batch-chips">${_}${n}</span></span>` : `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper rte-upload-batch-chips">${_}${n}</span>`;
22058
22058
  }
22059
22059
  const i = nt(e.tooltip), s = i ? ` data-tooltip="${ue(i)}"` : "", { hasFile: o, fileName: u, uploadIcon: l } = $a(t[e.key], e.text), d = o ? "" : "hidden", p = i && !o ? "" : "hidden", g = o ? "has-file" : "", f = o && u ? ` data-file-name="${u.replace(/"/g, "&quot;")}"` : "", y = (e.text || "").trim(), m = o && e.showHint === !0 && y.length >= 12 ? `<span ${r} contenteditable="false" class="exclusion-wrapper upload-hint">${y}</span>` : "", E = `<span contenteditable="false" data-type="upload" data-key="${e.key}"${s} class="upload-chip"><span class="upload-inner-wrapper ${g}"><span class="upload-icon">${l}</span><span class="upload-label"${f}>${u || e.text}</span>${i ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${p}" data-upload-key="${e.key}" data-tooltip="${ue(i)}" ></i>` : ""}<span class="file-remove-btn ${d}" title="移除文件">×</span></span></span>`;
22060
- return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${no}${E}${n}</span>${m}` : E + n + m;
22060
+ return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${Js}${E}${n}</span>${m}` : E + n + m;
22061
22061
  }, $b = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Ub = (e, t) => {
22062
22062
  const n = t[e.key] || e.defaultValue || "", r = encodeURIComponent(JSON.stringify(e.options || [])), a = e.placeholder ? ` data-placeholder="${e.placeholder}"` : "", i = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", s = e.required ? ' data-required="true"' : "", o = `<div data-type="select" data-key="${e.key}" data-value="${n}" data-options="${r}"${a}${i}${s} class="rte-select-host"></div>`;
22063
22063
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${$b}${o}</span>` : o;
@@ -22171,7 +22171,7 @@ function oT(e, t, n, r, a, i = {}, s, o, u) {
22171
22171
  const N = `<span ${h.exclusionGroup ? `data-group="${h.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">`, O = "</span>";
22172
22172
  let R = "";
22173
22173
  h.className ? R = `<span class="${h.className}">${h.text ?? ""}</span>` : R = h.text ?? "";
22174
- const x = nl(m, a);
22174
+ const x = Ju(m, a);
22175
22175
  f.push(N + R + x + O), y += 2;
22176
22176
  continue;
22177
22177
  }
@@ -22675,9 +22675,9 @@ function hT(e, t) {
22675
22675
  };
22676
22676
  }, [e, t]);
22677
22677
  }
22678
- var ir = { exports: {} }, mT = ir.exports, ro;
22679
- function rl() {
22680
- return ro || (ro = 1, function(e, t) {
22678
+ var ir = { exports: {} }, mT = ir.exports, Zs;
22679
+ function Zu() {
22680
+ return Zs || (Zs = 1, function(e, t) {
22681
22681
  (function(n, r) {
22682
22682
  e.exports = r();
22683
22683
  })(mT, function() {
@@ -22713,8 +22713,8 @@ function rl() {
22713
22713
  var w = x.split("-");
22714
22714
  if (!H && w.length > 1) return I(w[0]);
22715
22715
  } else {
22716
- var G = x.name;
22717
- A[G] = x, H = G;
22716
+ var V = x.name;
22717
+ A[V] = x, H = V;
22718
22718
  }
22719
22719
  return !$ && H && (S = H), H || !$ && S;
22720
22720
  }, k = function(I, x) {
@@ -22739,8 +22739,8 @@ function rl() {
22739
22739
  if (typeof H == "string" && !/Z$/i.test(H)) {
22740
22740
  var w = H.match(m);
22741
22741
  if (w) {
22742
- var G = w[2] - 1 || 0, K = (w[7] || "0").substring(0, 3);
22743
- return q ? new Date(Date.UTC(w[1], G, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, K)) : new Date(w[1], G, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, K);
22742
+ var V = w[2] - 1 || 0, K = (w[7] || "0").substring(0, 3);
22743
+ return q ? new Date(Date.UTC(w[1], V, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, K)) : new Date(w[1], V, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, K);
22744
22744
  }
22745
22745
  }
22746
22746
  return new Date(H);
@@ -22766,7 +22766,7 @@ function rl() {
22766
22766
  }, x.valueOf = function() {
22767
22767
  return this.$d.getTime();
22768
22768
  }, x.startOf = function(F, $) {
22769
- var H = this, q = !!N.u($) || $, w = N.p(F), G = function(ge, Ee) {
22769
+ var H = this, q = !!N.u($) || $, w = N.p(F), V = function(ge, Ee) {
22770
22770
  var ke = N.w(H.$u ? Date.UTC(H.$y, Ee, ge) : new Date(H.$y, Ee, ge), H);
22771
22771
  return q ? ke : ke.endOf(l);
22772
22772
  }, K = function(ge, Ee) {
@@ -22774,12 +22774,12 @@ function rl() {
22774
22774
  }, P = this.$W, ee = this.$M, ae = this.$D, ne = "set" + (this.$u ? "UTC" : "");
22775
22775
  switch (w) {
22776
22776
  case f:
22777
- return q ? G(1, 0) : G(31, 11);
22777
+ return q ? V(1, 0) : V(31, 11);
22778
22778
  case p:
22779
- return q ? G(1, ee) : G(0, ee + 1);
22779
+ return q ? V(1, ee) : V(0, ee + 1);
22780
22780
  case d:
22781
22781
  var Q = this.$locale().weekStart || 0, re = (P < Q ? P + 7 : P) - Q;
22782
- return G(q ? ae - re : ae + (6 - re), ee);
22782
+ return V(q ? ae - re : ae + (6 - re), ee);
22783
22783
  case l:
22784
22784
  case y:
22785
22785
  return K(ne + "Hours", 0);
@@ -22795,11 +22795,11 @@ function rl() {
22795
22795
  }, x.endOf = function(F) {
22796
22796
  return this.startOf(F, !1);
22797
22797
  }, x.$set = function(F, $) {
22798
- var H, q = N.p(F), w = "set" + (this.$u ? "UTC" : ""), G = (H = {}, H[l] = w + "Date", H[y] = w + "Date", H[p] = w + "Month", H[f] = w + "FullYear", H[u] = w + "Hours", H[o] = w + "Minutes", H[s] = w + "Seconds", H[i] = w + "Milliseconds", H)[q], K = q === l ? this.$D + ($ - this.$W) : $;
22798
+ var H, q = N.p(F), w = "set" + (this.$u ? "UTC" : ""), V = (H = {}, H[l] = w + "Date", H[y] = w + "Date", H[p] = w + "Month", H[f] = w + "FullYear", H[u] = w + "Hours", H[o] = w + "Minutes", H[s] = w + "Seconds", H[i] = w + "Milliseconds", H)[q], K = q === l ? this.$D + ($ - this.$W) : $;
22799
22799
  if (q === p || q === f) {
22800
22800
  var P = this.clone().set(y, 1);
22801
- P.$d[G](K), P.init(), this.$d = P.set(y, Math.min(this.$D, P.daysInMonth())).$d;
22802
- } else G && this.$d[G](K);
22801
+ P.$d[V](K), P.init(), this.$d = P.set(y, Math.min(this.$D, P.daysInMonth())).$d;
22802
+ } else V && this.$d[V](K);
22803
22803
  return this.init(), this;
22804
22804
  }, x.set = function(F, $) {
22805
22805
  return this.clone().$set(F, $);
@@ -22808,14 +22808,14 @@ function rl() {
22808
22808
  }, x.add = function(F, $) {
22809
22809
  var H, q = this;
22810
22810
  F = Number(F);
22811
- var w = N.p($), G = function(ee) {
22811
+ var w = N.p($), V = function(ee) {
22812
22812
  var ae = k(q);
22813
22813
  return N.w(ae.date(ae.date() + Math.round(ee * F)), q);
22814
22814
  };
22815
22815
  if (w === p) return this.set(p, this.$M + F);
22816
22816
  if (w === f) return this.set(f, this.$y + F);
22817
- if (w === l) return G(1);
22818
- if (w === d) return G(7);
22817
+ if (w === l) return V(1);
22818
+ if (w === d) return V(7);
22819
22819
  var K = (H = {}, H[o] = r, H[u] = a, H[s] = n, H)[w] || 1, P = this.$d.getTime() + F * K;
22820
22820
  return N.w(P, this);
22821
22821
  }, x.subtract = function(F, $) {
@@ -22823,10 +22823,10 @@ function rl() {
22823
22823
  }, x.format = function(F) {
22824
22824
  var $ = this, H = this.$locale();
22825
22825
  if (!this.isValid()) return H.invalidDate || h;
22826
- var q = F || "YYYY-MM-DDTHH:mm:ssZ", w = N.z(this), G = this.$H, K = this.$m, P = this.$M, ee = H.weekdays, ae = H.months, ne = H.meridiem, Q = function(Ee, ke, pt, bt) {
22826
+ var q = F || "YYYY-MM-DDTHH:mm:ssZ", w = N.z(this), V = this.$H, K = this.$m, P = this.$M, ee = H.weekdays, ae = H.months, ne = H.meridiem, Q = function(Ee, ke, pt, bt) {
22827
22827
  return Ee && (Ee[ke] || Ee($, q)) || pt[ke].slice(0, bt);
22828
22828
  }, re = function(Ee) {
22829
- return N.s(G % 12 || 12, Ee, "0");
22829
+ return N.s(V % 12 || 12, Ee, "0");
22830
22830
  }, ge = ne || function(Ee, ke, pt) {
22831
22831
  var bt = Ee < 12 ? "AM" : "PM";
22832
22832
  return pt ? bt.toLowerCase() : bt;
@@ -22859,17 +22859,17 @@ function rl() {
22859
22859
  case "dddd":
22860
22860
  return ee[$.$W];
22861
22861
  case "H":
22862
- return String(G);
22862
+ return String(V);
22863
22863
  case "HH":
22864
- return N.s(G, 2, "0");
22864
+ return N.s(V, 2, "0");
22865
22865
  case "h":
22866
22866
  return re(1);
22867
22867
  case "hh":
22868
22868
  return re(2);
22869
22869
  case "a":
22870
- return ge(G, K, !0);
22870
+ return ge(V, K, !0);
22871
22871
  case "A":
22872
- return ge(G, K, !1);
22872
+ return ge(V, K, !1);
22873
22873
  case "m":
22874
22874
  return String(K);
22875
22875
  case "mm":
@@ -22889,10 +22889,10 @@ function rl() {
22889
22889
  }, x.utcOffset = function() {
22890
22890
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
22891
22891
  }, x.diff = function(F, $, H) {
22892
- var q, w = this, G = N.p($), K = k(F), P = (K.utcOffset() - this.utcOffset()) * r, ee = this - K, ae = function() {
22892
+ var q, w = this, V = N.p($), K = k(F), P = (K.utcOffset() - this.utcOffset()) * r, ee = this - K, ae = function() {
22893
22893
  return N.m(w, K);
22894
22894
  };
22895
- switch (G) {
22895
+ switch (V) {
22896
22896
  case f:
22897
22897
  q = ae() / 12;
22898
22898
  break;
@@ -22953,13 +22953,13 @@ function rl() {
22953
22953
  });
22954
22954
  }(ir)), ir.exports;
22955
22955
  }
22956
- var gT = rl();
22956
+ var gT = Zu();
22957
22957
  const sr = /* @__PURE__ */ Ka(gT);
22958
- var or = { exports: {} }, ET = or.exports, ao;
22958
+ var or = { exports: {} }, ET = or.exports, eo;
22959
22959
  function bT() {
22960
- return ao || (ao = 1, function(e, t) {
22960
+ return eo || (eo = 1, function(e, t) {
22961
22961
  (function(n, r) {
22962
- e.exports = r(rl());
22962
+ e.exports = r(Zu());
22963
22963
  })(ET, function(n) {
22964
22964
  function r(s) {
22965
22965
  return s && typeof s == "object" && "default" in s ? s : { default: s };
@@ -23005,7 +23005,7 @@ function xT(e, t, n) {
23005
23005
  writable: !0
23006
23006
  }) : e[t] = n, e;
23007
23007
  }
23008
- function io(e, t) {
23008
+ function to(e, t) {
23009
23009
  var n = Object.keys(e);
23010
23010
  if (Object.getOwnPropertySymbols) {
23011
23011
  var r = Object.getOwnPropertySymbols(e);
@@ -23015,12 +23015,12 @@ function io(e, t) {
23015
23015
  }
23016
23016
  return n;
23017
23017
  }
23018
- function so(e) {
23018
+ function no(e) {
23019
23019
  for (var t = 1; t < arguments.length; t++) {
23020
23020
  var n = arguments[t] != null ? arguments[t] : {};
23021
- t % 2 ? io(Object(n), !0).forEach(function(r) {
23021
+ t % 2 ? to(Object(n), !0).forEach(function(r) {
23022
23022
  xT(e, r, n[r]);
23023
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : io(Object(n)).forEach(function(r) {
23023
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : to(Object(n)).forEach(function(r) {
23024
23024
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
23025
23025
  });
23026
23026
  }
@@ -23031,7 +23031,7 @@ var CT = {
23031
23031
  dayFormat: "D",
23032
23032
  cellMeridiemFormat: "A",
23033
23033
  monthBeforeYear: !0
23034
- }, AT = so(so({}, CT), {}, {
23034
+ }, AT = no(no({}, CT), {}, {
23035
23035
  locale: "zh_CN",
23036
23036
  today: "今天",
23037
23037
  now: "此刻",
@@ -23062,7 +23062,7 @@ var CT = {
23062
23062
  const ST = {
23063
23063
  placeholder: "请选择时间",
23064
23064
  rangePlaceholder: ["开始时间", "结束时间"]
23065
- }, al = {
23065
+ }, el = {
23066
23066
  lang: Object.assign({
23067
23067
  placeholder: "请选择日期",
23068
23068
  yearPlaceholder: "请选择年份",
@@ -23077,7 +23077,7 @@ const ST = {
23077
23077
  }, AT),
23078
23078
  timePickerLocale: Object.assign({}, ST)
23079
23079
  };
23080
- al.lang.ok = "确定";
23080
+ el.lang.ok = "确定";
23081
23081
  sr.locale("zh-cn");
23082
23082
  const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23083
23083
  const n = e.dataset.key, r = e.dataset.value, a = e.dataset.placeholder, i = e.dataset.limitRange ? parseInt(e.dataset.limitRange, 10) : void 0, s = e.dataset.disableFuture === "true", [o, u] = ie(() => {
@@ -23123,7 +23123,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23123
23123
  style: { width: "100%" },
23124
23124
  size: "small",
23125
23125
  allowClear: !0,
23126
- locale: al,
23126
+ locale: el,
23127
23127
  getPopupContainer: () => document.body,
23128
23128
  popupClassName: "rte-datepicker-dropdown"
23129
23129
  }
@@ -23216,7 +23216,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23216
23216
  const ce = Math.random().toString(36).slice(2, 8);
23217
23217
  $.current = `rte_${ce}`;
23218
23218
  }
23219
- const [H, q] = ie({}), [w, G] = ie(null), [K, P] = ie(null), [ee, ae] = ie(null), [ne, Q] = ie({}), re = Z(null), ge = Z(null), { tooltipPortal: Ee, setPopoverVisible: ke } = Ob({
23219
+ const [H, q] = ie({}), [w, V] = ie(null), [K, P] = ie(null), [ee, ae] = ie(null), [ne, Q] = ie({}), re = Z(null), ge = Z(null), { tooltipPortal: Ee, setPopoverVisible: ke } = Ob({
23220
23220
  config: e,
23221
23221
  files: H,
23222
23222
  debugTooltipSticky: A,
@@ -23227,7 +23227,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23227
23227
  activeBatchKey: K,
23228
23228
  activeFileKey: w,
23229
23229
  activeBatchStartIndex: ee,
23230
- setActiveFileKey: G,
23230
+ setActiveFileKey: V,
23231
23231
  setActiveBatchKey: P,
23232
23232
  setActiveBatchStartIndex: ae,
23233
23233
  setFiles: q
@@ -23243,9 +23243,9 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23243
23243
  setPopoverVisible: ke,
23244
23244
  isDraggingRef: tn,
23245
23245
  mouseDownPosRef: Hn
23246
- }), [nn, Bt] = ie(!1), zn = Z(null), [Or, Vn] = ie(!0), Dr = Z(0), [V, J] = ie(58), [le, me] = ie(58), [ye, Ye] = ie(!1), [We, je] = ie(null), rt = Z(!1), at = Z(!1), Se = Z(null), [ht, Je] = ie({}), Gn = Z(() => {
23246
+ }), [nn, Bt] = ie(!1), zn = Z(null), [Or, Vn] = ie(!0), Dr = Z(0), [G, J] = ie(58), [le, me] = ie(58), [ye, Ye] = ie(!1), [Qe, We] = ie(null), rt = Z(!1), at = Z(!1), Se = Z(null), [ht, Je] = ie({}), Gn = Z(() => {
23247
23247
  }), [Ft, Pr] = ie({}), bi = Z(() => {
23248
- }), sl = Z({}), Mr = Z(Ft);
23248
+ }), nl = Z({}), Mr = Z(Ft);
23249
23249
  se(() => {
23250
23250
  Mr.current = Ft;
23251
23251
  }, [Ft]);
@@ -23285,7 +23285,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23285
23285
  reportAnalyzeState: ht,
23286
23286
  markdownAnalyzeState: Ft,
23287
23287
  markdownNameAnalyzeState: Ht
23288
- }), { handleReportUrlBlur: ol, handleMarkdownBlur: ul, handleMarkdownNameBlur: ll } = Ec({
23288
+ }), { handleReportUrlBlur: rl, handleMarkdownBlur: al, handleMarkdownNameBlur: il } = Ec({
23289
23289
  reportAnalyze: E,
23290
23290
  markdownAnalyze: b,
23291
23291
  markdownNameAnalyze: T,
@@ -23302,7 +23302,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23302
23302
  markdownAnalyzeStateRef: Mr,
23303
23303
  markdownNameAnalyzeStateRef: xi
23304
23304
  });
23305
- nc(x, ol, [Ie]), rc(x, ll, [Ie]), ac(x, ul, [Ie]), tc(x, [Ie]), uT(x, Ie, H, i, $t, zn, void 0, f, void 0, L, ne);
23305
+ nc(x, rl, [Ie]), rc(x, il, [Ie]), ac(x, al, [Ie]), tc(x, [Ie]), uT(x, Ie, H, i, $t, zn, void 0, f, void 0, L, ne);
23306
23306
  const Rr = Z(/* @__PURE__ */ new Set()), Ci = Z(Ie), Ai = Z(L);
23307
23307
  (Ci.current !== Ie || Ai.current !== L) && (Ci.current = Ie, Ai.current = L, Rr.current = /* @__PURE__ */ new Set()), se(() => {
23308
23308
  if (!L || !Ie || Ie.length === 0) return;
@@ -23365,14 +23365,14 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23365
23365
  }
23366
23366
  return null;
23367
23367
  };
23368
- let Di = !1;
23368
+ let ki = !1;
23369
23369
  return Promise.all(
23370
23370
  it.map(async ([xe, Ae]) => {
23371
23371
  const we = await Yn(Ae);
23372
23372
  return we ? { key: xe, file: we } : null;
23373
23373
  })
23374
23374
  ).then((xe) => {
23375
- if (Di) return;
23375
+ if (ki) return;
23376
23376
  const Ae = {};
23377
23377
  for (const we of xe)
23378
23378
  we && (Ae[we.key] = we.file);
@@ -23384,7 +23384,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23384
23384
  return Pe ? Fe : we;
23385
23385
  });
23386
23386
  }), () => {
23387
- Di = !0;
23387
+ ki = !0;
23388
23388
  };
23389
23389
  }, [L, Ie]);
23390
23390
  const Br = Z(/* @__PURE__ */ new Set()), Si = Z(""), _i = (e || []).filter((ce) => ce.key && ce.type !== "report-module" && ce.type !== "markdown-module").map((ce) => `${ce.type}:${ce.key}`).join("|");
@@ -23403,7 +23403,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23403
23403
  }, 100));
23404
23404
  }
23405
23405
  }, [L, e, Gn]), lT(x, Ie, H, ke, A), cT(x, Ie, ke, f, A), fT(x, Ie, H, ke, A), dT(x, Ie, ke, A), pT(x, Ie, H, Bt, ne), cc(x, _, ne, Q, [Ie]);
23406
- const cl = dc(v, Q);
23406
+ const sl = dc(v, Q);
23407
23407
  fc(x, ne, ke, A), hT(x, tn);
23408
23408
  const vi = Xl(x), wi = ec(x);
23409
23409
  se(() => {
@@ -23429,24 +23429,24 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23429
23429
  selectPortalsLength: vi.length,
23430
23430
  datePickerPortalsLength: Ni.length,
23431
23431
  variablePortalsLength: wi.length
23432
- }), dl = () => {
23432
+ }), ol = () => {
23433
23433
  if (m) return;
23434
23434
  const ce = I.current;
23435
23435
  if (!ce) return;
23436
23436
  const fe = Math.ceil(ce.getBoundingClientRect().height || 0);
23437
- fe > 0 && je(fe), rt.current = !0, at.current = !1, Se.current && (window.clearTimeout(Se.current), Se.current = null);
23437
+ fe > 0 && We(fe), rt.current = !0, at.current = !1, Se.current && (window.clearTimeout(Se.current), Se.current = null);
23438
23438
  };
23439
23439
  se(() => {
23440
23440
  const ce = () => {
23441
23441
  rt.current && (at.current = !0, Se.current && window.clearTimeout(Se.current), Se.current = window.setTimeout(() => {
23442
- Se.current = null, rt.current = !1, at.current = !1, je(null), window.requestAnimationFrame(() => an());
23442
+ Se.current = null, rt.current = !1, at.current = !1, We(null), window.requestAnimationFrame(() => an());
23443
23443
  }, 450));
23444
23444
  };
23445
23445
  return window.addEventListener("focus", ce), () => window.removeEventListener("focus", ce);
23446
23446
  }, [an]), se(() => {
23447
23447
  !rt.current || !at.current || (Se.current && (window.clearTimeout(Se.current), Se.current = null), window.requestAnimationFrame(() => {
23448
23448
  window.requestAnimationFrame(() => {
23449
- je(null), an(), rt.current = !1, at.current = !1;
23449
+ We(null), an(), rt.current = !1, at.current = !1;
23450
23450
  });
23451
23451
  }));
23452
23452
  }, [H, an]), Tc({
@@ -23455,7 +23455,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23455
23455
  setIsEmpty: Vn,
23456
23456
  setIsFormValid: Bt
23457
23457
  });
23458
- const fl = Ac({
23458
+ const ul = Ac({
23459
23459
  disabled: r,
23460
23460
  collapsed: m,
23461
23461
  onCollapsedChange: C,
@@ -23464,13 +23464,13 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23464
23464
  editorRef: x,
23465
23465
  containerRef: O,
23466
23466
  fileInputRef: F,
23467
- onBeforeFilePickerOpen: dl,
23467
+ onBeforeFilePickerOpen: ol,
23468
23468
  files: H,
23469
23469
  setFiles: q,
23470
23470
  handleRemoveFile: bt,
23471
23471
  setActiveBatchKey: P,
23472
23472
  setActiveBatchStartIndex: ae,
23473
- setActiveFileKey: G,
23473
+ setActiveFileKey: V,
23474
23474
  isDraggingRef: tn,
23475
23475
  richtextPrevScrollTopRef: Dr,
23476
23476
  videoState: ne,
@@ -23493,7 +23493,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23493
23493
  setMultiVariableCounts: rn,
23494
23494
  savedCursorRef: zn,
23495
23495
  videoState: ne
23496
- }), pl = wc({
23496
+ }), ll = wc({
23497
23497
  disabled: r,
23498
23498
  config: e,
23499
23499
  multiVariableCounts: $t,
@@ -23504,7 +23504,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23504
23504
  reportAnalyzeRef: Gn,
23505
23505
  markdownNameAnalyzeRef: yi,
23506
23506
  markdownAnalyzeStateRef: Mr,
23507
- markdownRawTextRef: sl,
23507
+ markdownRawTextRef: nl,
23508
23508
  setMarkdownAnalyzeState: Pr
23509
23509
  });
23510
23510
  Cc({
@@ -23517,13 +23517,13 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23517
23517
  setMultiVariableCounts: rn,
23518
23518
  videoState: ne
23519
23519
  });
23520
- const hl = _c({
23520
+ const cl = _c({
23521
23521
  disabled: r,
23522
23522
  lockStructure: i,
23523
23523
  config: e,
23524
23524
  editorRef: x,
23525
23525
  handleInput: Fr
23526
- }), ml = Nc({
23526
+ }), dl = Nc({
23527
23527
  config: e,
23528
23528
  files: H,
23529
23529
  onSend: t,
@@ -23535,7 +23535,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23535
23535
  markdownAnalyzeState: Ft,
23536
23536
  markdownNameAnalyzeState: Ht,
23537
23537
  videoState: ne
23538
- }), gl = {
23538
+ }), fl = {
23539
23539
  ...a ? { width: typeof a == "number" ? `${a}px` : a } : {},
23540
23540
  ...p ? { border: p } : {},
23541
23541
  ...g ? { background: g } : {},
@@ -23544,27 +23544,14 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23544
23544
  ...y ? {
23545
23545
  "--rte-richtext-fullscreen-height": typeof y == "number" ? `${y}px` : y
23546
23546
  } : {}
23547
- }, ki = typeof S == "number" && Number.isFinite(S) && S >= 0 ? S : 260, El = {
23547
+ }, pl = typeof S == "number" && Number.isFinite(S) && S >= 0 ? S : 260, hl = {
23548
23548
  overflow: "hidden"
23549
- }, Ii = We != null ? `${We}px` : m ? `${V}px` : `${Math.max(le, V)}px`, Li = We != null || m || ye ? "hidden" : "auto", Oi = We != null ? "none" : `max-height ${ki}ms cubic-bezier(0.4, 0, 0.2, 1)`;
23550
- return console.log(
23551
- `[RTE style debug][${$.current}] contentBodyStyle`,
23552
- {
23553
- collapsed: m,
23554
- isCollapseAnimating: ye,
23555
- contentHeightLockPx: We,
23556
- collapsedContentMaxHeightPx: V,
23557
- expandedContentMaxHeightPx: le,
23558
- resolvedMaxHeight: Ii,
23559
- resolvedOverflow: Li,
23560
- resolvedTransition: Oi,
23561
- collapseMs: ki
23562
- }
23563
- ), /* @__PURE__ */ he(
23549
+ }, ml = Qe != null ? `${Qe}px` : m ? `${G}px` : `${Math.max(le, G)}px`, gl = Qe != null || m || ye ? "hidden" : "auto", El = Qe != null ? "none" : `max-height ${pl}ms cubic-bezier(0.4, 0, 0.2, 1)`;
23550
+ return /* @__PURE__ */ he(
23564
23551
  "div",
23565
23552
  {
23566
23553
  className: "rich-text-editor",
23567
- style: gl,
23554
+ style: fl,
23568
23555
  "data-disabled": r,
23569
23556
  ref: O,
23570
23557
  children: [
@@ -23574,18 +23561,18 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23574
23561
  {
23575
23562
  className: "rich-text-editor-content",
23576
23563
  ref: R,
23577
- style: El,
23564
+ style: hl,
23578
23565
  children: /* @__PURE__ */ he(
23579
23566
  "div",
23580
23567
  {
23581
23568
  ref: I,
23582
23569
  className: "rich-text-editor-content-body",
23583
23570
  style: {
23584
- maxHeight: Ii,
23571
+ maxHeight: ml,
23585
23572
  // 折叠时覆盖 CSS 的 min-height:58px,否则 min-height > max-height 时 min-height 优先,导致露出第二行
23586
23573
  minHeight: m ? 0 : void 0,
23587
- overflow: Li,
23588
- transition: Oi,
23574
+ overflow: gl,
23575
+ transition: El,
23589
23576
  willChange: "max-height"
23590
23577
  },
23591
23578
  children: [
@@ -23600,11 +23587,11 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23600
23587
  onMouseDown: $n,
23601
23588
  onMouseMove: Un,
23602
23589
  onMouseUp: Lr,
23603
- onClick: fl,
23590
+ onClick: ul,
23604
23591
  onDoubleClick: qn,
23605
23592
  onInput: Fr,
23606
- onKeyDown: hl,
23607
- onPaste: pl
23593
+ onKeyDown: cl,
23594
+ onPaste: ll
23608
23595
  }
23609
23596
  ),
23610
23597
  /* @__PURE__ */ Y(
@@ -23626,7 +23613,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23626
23613
  accept: "video/*",
23627
23614
  onChange: (ce) => {
23628
23615
  const fe = ce.target.files?.[0], ve = ge.current;
23629
- fe && ve && cl(ve, fe), ge.current = null, re.current && (re.current.value = "");
23616
+ fe && ve && sl(ve, fe), ge.current = null, re.current && (re.current.value = "");
23630
23617
  }
23631
23618
  }
23632
23619
  )
@@ -23685,7 +23672,7 @@ const { RangePicker: _T } = Al, vT = ({ host: e, onChange: t }) => {
23685
23672
  "button",
23686
23673
  {
23687
23674
  type: "button",
23688
- onClick: ml,
23675
+ onClick: dl,
23689
23676
  disabled: n || r || l || !nn,
23690
23677
  className: "rich-text-editor-send-button",
23691
23678
  children: n || l ? /* @__PURE__ */ Y("span", { className: "rte-send-spinner" }) : /* @__PURE__ */ Y("i", { className: "iconfont icon-fasong" })
@@ -23729,7 +23716,7 @@ NT.__docgenInfo = {
23729
23716
  }
23730
23717
  }
23731
23718
  };
23732
- const oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==", kT = [
23719
+ const ro = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==", kT = [
23733
23720
  { label: "5页", value: 5 },
23734
23721
  { label: "10页", value: 10 },
23735
23722
  { label: "15页", value: 15 },
@@ -23744,7 +23731,7 @@ const oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
23744
23731
  onStartAutoLoad: s,
23745
23732
  onStopLoad: o
23746
23733
  }) => e && n ? /* @__PURE__ */ he("div", { className: "auto_load_progress", children: [
23747
- r || /* @__PURE__ */ Y("img", { src: oo, alt: "自动加载", width: 14, height: 14 }),
23734
+ r || /* @__PURE__ */ Y("img", { src: ro, alt: "自动加载", width: 14, height: 14 }),
23748
23735
  /* @__PURE__ */ he("span", { children: [
23749
23736
  "正在加载第",
23750
23737
  n.currentPage,
@@ -23787,7 +23774,7 @@ const oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
23787
23774
  className: "auto_load_btn",
23788
23775
  onClick: e ? void 0 : s,
23789
23776
  children: [
23790
- r || /* @__PURE__ */ Y("img", { src: oo, alt: "自动加载", width: 14, height: 14 }),
23777
+ r || /* @__PURE__ */ Y("img", { src: ro, alt: "自动加载", width: 14, height: 14 }),
23791
23778
  /* @__PURE__ */ Y("span", { children: "自动加载" })
23792
23779
  ]
23793
23780
  }
@@ -24280,7 +24267,7 @@ const PT = ({
24280
24267
  }, [m, b, r, e.length, C, q]);
24281
24268
  const w = (Q) => {
24282
24269
  S(!0), k.current && window.clearTimeout(k.current), N.current && window.clearTimeout(N.current), T(!1), L(!1), f.onFocus?.(Q);
24283
- }, G = (Q) => {
24270
+ }, V = (Q) => {
24284
24271
  S(!1), !a && e.length > 0 && (h(""), E(0)), f.onBlur?.(Q);
24285
24272
  }, K = (Q) => {
24286
24273
  const re = Q.target.value;
@@ -24303,7 +24290,7 @@ const PT = ({
24303
24290
  Q.target.style.borderColor = "#1890ff", Q.target.style.boxShadow = "0 0 0 2px rgba(24, 144, 255, 0.2)", w(Q);
24304
24291
  },
24305
24292
  onBlur: (Q) => {
24306
- Q.target.style.borderColor = "#d9d9d9", Q.target.style.boxShadow = "none", G(Q);
24293
+ Q.target.style.borderColor = "#d9d9d9", Q.target.style.boxShadow = "none", V(Q);
24307
24294
  },
24308
24295
  onKeyDown: ee,
24309
24296
  placeholder: C || ae ? t : "",
@@ -24510,7 +24497,7 @@ PT.__docgenInfo = {
24510
24497
  }
24511
24498
  }
24512
24499
  };
24513
- const il = ({
24500
+ const tl = ({
24514
24501
  src: e,
24515
24502
  poster: t,
24516
24503
  width: n = 300,
@@ -24599,7 +24586,7 @@ const il = ({
24599
24586
  }
24600
24587
  );
24601
24588
  };
24602
- il.__docgenInfo = {
24589
+ tl.__docgenInfo = {
24603
24590
  displayName: "VideoCard",
24604
24591
  description: "视频卡片组件,支持鼠标悬浮播放控制",
24605
24592
  props: {
@@ -24777,7 +24764,7 @@ const MT = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
24777
24764
  paddingBottom: "56.25%",
24778
24765
  cursor: o || m.onClick ? "pointer" : "default"
24779
24766
  }, children: /* @__PURE__ */ Y("div", { style: { position: "absolute", top: 0, left: 0, width: "100%", height: "100%" }, children: /* @__PURE__ */ Y(
24780
- il,
24767
+ tl,
24781
24768
  {
24782
24769
  src: m.url,
24783
24770
  poster: m.poster,
@@ -25186,7 +25173,7 @@ export {
25186
25173
  Gl as LinkButton,
25187
25174
  $l as PageTable,
25188
25175
  NT as RichTextEditor,
25189
- il as VideoCard,
25176
+ tl as VideoCard,
25190
25177
  OT as VirtualTable,
25191
25178
  BT as Waterfall,
25192
25179
  ql as XcIcon,