bi-components-library 1.2.92 → 1.2.93

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
1
  import { jsx as G, jsxs as pe, Fragment as ll } from "react/jsx-runtime";
2
2
  import Ie, { useState as re, useRef as Z, useMemo as Nt, useCallback as ue, useEffect as ne, useLayoutEffect as Ye, forwardRef as zu, createContext as Vu } from "react";
3
- import { Button as Xt, Card as br, Modal as Oc, Table as mr, Flex as fi, Spin as Gu, Empty as Dc, Select as nl, Form as gl, Input as vr, Space as Pc, Cascader as Mc, Popover as Rc, Tooltip as Bc, DatePicker as Fc, message as Hc, Dropdown as $c, Image as Uc, Progress as qc, Pagination as zc, theme as Vc } from "antd";
3
+ import { Button as Xt, Card as hr, Modal as Oc, Table as br, Flex as di, Spin as Gu, Empty as Dc, Select as nl, Form as gl, Input as mr, Space as Pc, Cascader as Mc, Popover as Rc, Tooltip as Bc, DatePicker as Fc, message as Hc, Dropdown as $c, Image as Uc, Progress as qc, Pagination as zc, theme as Vc } from "antd";
4
4
  import { createFromIconfontCN as Gc, LeftOutlined as Yc, SearchOutlined as Wc, ReloadOutlined as jc, CloseCircleFilled as Kc, InfoCircleOutlined as Xc, SendOutlined as Qc, PauseCircleOutlined as Jc, PlayCircleOutlined as Zc } from "@ant-design/icons";
5
5
  import { createPortal as It, flushSync as ed } from "react-dom";
6
6
  const td = ({
@@ -85,7 +85,7 @@ const ad = ({
85
85
  size: n = "default",
86
86
  ...r
87
87
  }) => /* @__PURE__ */ G(
88
- br,
88
+ hr,
89
89
  {
90
90
  ...r,
91
91
  title: e,
@@ -229,7 +229,7 @@ const nd = ({
229
229
  defaultPageSize: a = 10,
230
230
  ...l
231
231
  }) => /* @__PURE__ */ G(
232
- mr,
232
+ br,
233
233
  {
234
234
  ...l,
235
235
  scroll: {
@@ -362,7 +362,7 @@ const ud = ({
362
362
  loadingText: n,
363
363
  emptyImage: r
364
364
  }) => e ? /* @__PURE__ */ pe(
365
- fi,
365
+ di,
366
366
  {
367
367
  className: `pt-10 w-full ${a || ""}`,
368
368
  align: "center",
@@ -374,7 +374,7 @@ const ud = ({
374
374
  ]
375
375
  }
376
376
  ) : /* @__PURE__ */ G(
377
- fi,
377
+ di,
378
378
  {
379
379
  className: `pt-10 w-full ${a || ""}`,
380
380
  align: "center",
@@ -613,7 +613,7 @@ const { Option: cd } = nl, dd = ({
613
613
  const I = Object.keys(s).length > 0;
614
614
  (u && !_.current || I) && (w(), _.current = !0);
615
615
  }, [u, s, w]), /* @__PURE__ */ pe("div", { children: [
616
- l && a.length > 0 && /* @__PURE__ */ G(br, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ pe(
616
+ l && a.length > 0 && /* @__PURE__ */ G(hr, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ pe(
617
617
  gl,
618
618
  {
619
619
  form: A,
@@ -622,7 +622,7 @@ const { Option: cd } = nl, dd = ({
622
622
  initialValues: a.reduce((I, T) => (T.defaultValue !== void 0 && (I[T.key] = T.defaultValue), I), {}),
623
623
  children: [
624
624
  a.map((I) => /* @__PURE__ */ G(gl.Item, { name: I.key, label: I.label, children: I.type === "input" ? /* @__PURE__ */ G(
625
- vr,
625
+ mr,
626
626
  {
627
627
  placeholder: I.placeholder || `请输入${I.label}`,
628
628
  style: { width: 200 }
@@ -645,7 +645,7 @@ const { Option: cd } = nl, dd = ({
645
645
  }
646
646
  ) }),
647
647
  /* @__PURE__ */ G(
648
- mr,
648
+ br,
649
649
  {
650
650
  ...o,
651
651
  columns: k,
@@ -1288,7 +1288,7 @@ const Td = ({ host: e, onChange: t }) => {
1288
1288
  style: { verticalAlign: "middle", width: m ? "100%" : d, lineHeight: "30px" },
1289
1289
  children: [
1290
1290
  /* @__PURE__ */ G(
1291
- vr.TextArea,
1291
+ mr.TextArea,
1292
1292
  {
1293
1293
  value: u,
1294
1294
  onChange: b,
@@ -2137,19 +2137,19 @@ function Rd(e, t, a = []) {
2137
2137
  };
2138
2138
  }, [e, t, ...a]);
2139
2139
  }
2140
- const Bd = 10 * 1024 * 1024, Pl = (e) => e.size > Bd, pi = "文件大小不能超过 10MB", Fd = "rte-upload-file-size-limit", Hd = 1e3;
2141
- let hi = 0;
2142
- const Wn = (e, t = Date.now()) => {
2143
- if (!(t - hi < Hd)) {
2144
- if (hi = t, e.open) {
2140
+ const Bd = 10 * 1024 * 1024, Pl = (e) => e.size > Bd, fi = "文件大小不能超过 10MB", Fd = "rte-upload-file-size-limit", Hd = 1e3;
2141
+ let pi = 0;
2142
+ const hi = (e, t = Date.now()) => {
2143
+ if (!(t - pi < Hd)) {
2144
+ if (pi = t, e.open) {
2145
2145
  e.open({
2146
2146
  type: "error",
2147
- content: pi,
2147
+ content: fi,
2148
2148
  key: Fd
2149
2149
  });
2150
2150
  return;
2151
2151
  }
2152
- e.error(pi);
2152
+ e.error(fi);
2153
2153
  }
2154
2154
  }, $d = ({
2155
2155
  config: e,
@@ -2170,7 +2170,7 @@ const Wn = (e, t = Date.now()) => {
2170
2170
  }
2171
2171
  if (a && d.target.files && d.target.files.length > 0) {
2172
2172
  const h = a, f = e.find((y) => y.type === "upload" && y.key === h), E = Array.from(d.target.files), g = E.filter((y) => !Pl(y));
2173
- if (E.length - g.length > 0 && Wn(t), f && typeof f.maxCount == "number" && typeof f.minCount == "number") {
2173
+ if (E.length - g.length > 0 && hi(t), f && typeof f.maxCount == "number" && typeof f.minCount == "number") {
2174
2174
  const y = f.maxCount, v = typeof n == "number" ? n : 0;
2175
2175
  s((b) => {
2176
2176
  const A = { ...b };
@@ -2186,7 +2186,7 @@ const Wn = (e, t = Date.now()) => {
2186
2186
  }
2187
2187
  } else if (l && d.target.files[0]) {
2188
2188
  const h = d.target.files[0], f = l;
2189
- Pl(h) ? Wn(t) : s((E) => ({ ...E, [f]: h }));
2189
+ Pl(h) ? hi(t) : s((E) => ({ ...E, [f]: h }));
2190
2190
  }
2191
2191
  d.target && (d.target.value = ""), r(null), i(null), u(null);
2192
2192
  },
@@ -3421,7 +3421,7 @@ function Ka(e, t, a, l) {
3421
3421
  g.closest('[data-rte-force-hidden="1"]') || (h ? i(g) : g.style.setProperty("display", "inline-flex", "important"));
3422
3422
  });
3423
3423
  }
3424
- function gr(e, t, a, l, n, r) {
3424
+ function vr(e, t, a, l, n, r) {
3425
3425
  if (!e.current) {
3426
3426
  l(!1);
3427
3427
  return;
@@ -3868,7 +3868,7 @@ const Zd = ({
3868
3868
  n(v.length > 0);
3869
3869
  return;
3870
3870
  }
3871
- pa(l), Ka(l, t, a, u), gr(l, t, a, n, u, {
3871
+ pa(l), Ka(l, t, a, u), vr(l, t, a, n, u, {
3872
3872
  reportAnalyzeState: s,
3873
3873
  requireReportUrlAnalyze: o
3874
3874
  });
@@ -4367,7 +4367,7 @@ const Zd = ({
4367
4367
  }
4368
4368
  }), u || window.requestAnimationFrame(() => {
4369
4369
  s();
4370
- }), Ka(t, o, c, E), gr(t, o, c, l, E, {
4370
+ }), Ka(t, o, c, E), vr(t, o, c, l, E, {
4371
4371
  reportAnalyzeState: m,
4372
4372
  requireReportUrlAnalyze: y
4373
4373
  }), !t.current) return;
@@ -5341,10 +5341,10 @@ const rf = ({
5341
5341
  function mi(e) {
5342
5342
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
5343
5343
  }
5344
- function Er(e = {}, t = {}) {
5344
+ function gr(e = {}, t = {}) {
5345
5345
  const a = ["__proto__", "constructor", "prototype"];
5346
5346
  Object.keys(t).filter((l) => a.indexOf(l) < 0).forEach((l) => {
5347
- typeof e[l] > "u" ? e[l] = t[l] : mi(t[l]) && mi(e[l]) && Object.keys(t[l]).length > 0 && Er(e[l], t[l]);
5347
+ typeof e[l] > "u" ? e[l] = t[l] : mi(t[l]) && mi(e[l]) && Object.keys(t[l]).length > 0 && gr(e[l], t[l]);
5348
5348
  });
5349
5349
  }
5350
5350
  const Ku = {
@@ -5404,7 +5404,7 @@ const Ku = {
5404
5404
  };
5405
5405
  function ea() {
5406
5406
  const e = typeof document < "u" ? document : {};
5407
- return Er(e, Ku), e;
5407
+ return gr(e, Ku), e;
5408
5408
  }
5409
5409
  const uf = {
5410
5410
  document: Ku,
@@ -5466,7 +5466,7 @@ const uf = {
5466
5466
  };
5467
5467
  function Ze() {
5468
5468
  const e = typeof window < "u" ? window : {};
5469
- return Er(e, uf), e;
5469
+ return gr(e, uf), e;
5470
5470
  }
5471
5471
  function sf(e = "") {
5472
5472
  return e.trim().split(" ").filter((t) => !!t.trim());
@@ -5621,7 +5621,7 @@ function gi(e, t, a) {
5621
5621
  function Ct(e) {
5622
5622
  return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
5623
5623
  }
5624
- function jn(e, t = "") {
5624
+ function Wn(e, t = "") {
5625
5625
  typeof trustedTypes < "u" ? e.innerHTML = trustedTypes.createPolicy("html", {
5626
5626
  createHTML: (a) => a
5627
5627
  }).createHTML(t) : e.innerHTML = t;
@@ -6081,7 +6081,7 @@ const Sl = (e, t) => {
6081
6081
  if (!e.slides[t]) return;
6082
6082
  const a = e.slides[t].querySelector('[loading="lazy"]');
6083
6083
  a && a.removeAttribute("loading");
6084
- }, Kn = (e) => {
6084
+ }, jn = (e) => {
6085
6085
  if (!e || e.destroyed || !e.params) return;
6086
6086
  let t = e.params.lazyPreloadPrevNext;
6087
6087
  const a = e.slides.length;
@@ -6164,7 +6164,7 @@ function Of(e) {
6164
6164
  realIndex: h,
6165
6165
  previousIndex: r,
6166
6166
  activeIndex: s
6167
- }), t.initialized && Kn(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (i !== h && t.emit("realIndexChange"), t.emit("slideChange"));
6167
+ }), t.initialized && jn(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (i !== h && t.emit("realIndexChange"), t.emit("slideChange"));
6168
6168
  }
6169
6169
  function Df(e, t) {
6170
6170
  const a = this, l = a.params;
@@ -7188,7 +7188,7 @@ function wp() {
7188
7188
  }
7189
7189
  var Cp = {
7190
7190
  checkOverflow: wp
7191
- }, Xn = {
7191
+ }, Kn = {
7192
7192
  init: !0,
7193
7193
  direction: "horizontal",
7194
7194
  oneWayMovement: !1,
@@ -7341,7 +7341,7 @@ const gn = {
7341
7341
  checkOverflow: Cp,
7342
7342
  classes: Ap
7343
7343
  }, En = {};
7344
- let yr = class St {
7344
+ let Er = class St {
7345
7345
  constructor(...t) {
7346
7346
  let a, l;
7347
7347
  t.length === 1 && t[0].constructor && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? l = t[0] : [a, l] = t, l || (l = {}), l = rt({}, l), a && !l.el && (l.el = a);
@@ -7371,7 +7371,7 @@ let yr = class St {
7371
7371
  emit: r.emit.bind(r)
7372
7372
  });
7373
7373
  });
7374
- const u = rt({}, Xn, i);
7374
+ const u = rt({}, Kn, i);
7375
7375
  return r.params = rt({}, u, En, l), r.originalParams = rt({}, r.params), r.passedParams = rt({}, l), r.params && r.params.on && Object.keys(r.params.on).forEach((s) => {
7376
7376
  r.on(s, r.params.on[s]);
7377
7377
  }), r.params && r.params.onAny && r.onAny(r.params.onAny), Object.assign(r, {
@@ -7609,7 +7609,7 @@ let yr = class St {
7609
7609
  r.complete ? Sl(a, r) : r.addEventListener("load", (i) => {
7610
7610
  Sl(a, i.target);
7611
7611
  });
7612
- }), Kn(a), a.initialized = !0, Kn(a), a.emit("init"), a.emit("afterInit"), a;
7612
+ }), jn(a), a.initialized = !0, jn(a), a.emit("init"), a.emit("afterInit"), a;
7613
7613
  }
7614
7614
  destroy(t = !0, a = !0) {
7615
7615
  const l = this, {
@@ -7631,7 +7631,7 @@ let yr = class St {
7631
7631
  return En;
7632
7632
  }
7633
7633
  static get defaults() {
7634
- return Xn;
7634
+ return Kn;
7635
7635
  }
7636
7636
  static installModule(t) {
7637
7637
  St.prototype.__modules__ || (St.prototype.__modules__ = []);
@@ -7644,10 +7644,10 @@ let yr = class St {
7644
7644
  };
7645
7645
  Object.keys(gn).forEach((e) => {
7646
7646
  Object.keys(gn[e]).forEach((t) => {
7647
- yr.prototype[t] = gn[e][t];
7647
+ Er.prototype[t] = gn[e][t];
7648
7648
  });
7649
7649
  });
7650
- yr.use([Tf, xf]);
7650
+ Er.use([Tf, xf]);
7651
7651
  const ls = [
7652
7652
  "eventsPrefix",
7653
7653
  "injectStyles",
@@ -7825,13 +7825,13 @@ function kp({
7825
7825
  const w = a[k];
7826
7826
  (w === !0 || w === !1) && (k === "navigation" || k === "pagination" || k === "scrollbar") ? w === !1 && _(k) : o[k] = a[k];
7827
7827
  }
7828
- }), s.includes("controller") && !m && e.controller && e.controller.control && o.controller && o.controller.control && (e.controller.control = o.controller.control), l.includes("children") && t && f && o.virtual.enabled ? (f.slides = t, f.update(!0)) : l.includes("virtual") && f && o.virtual.enabled && (t && (f.slides = t), f.update(!0)), l.includes("children") && t && o.loop && (C = !0), g && E.init() && E.update(!0), m && (e.controller.control = o.controller.control), y && (e.isElement && (!u || typeof u == "string") && (u = document.createElement("div"), u.classList.add("swiper-pagination"), u.part.add("pagination"), e.el.appendChild(u)), u && (o.pagination.el = u), c.init(), c.render(), c.update()), v && (e.isElement && (!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-scrollbar"), i.part.add("scrollbar"), e.el.appendChild(i)), i && (o.scrollbar.el = i), h.init(), h.updateSize(), h.setTranslate()), b && (e.isElement && ((!n || typeof n == "string") && (n = document.createElement("div"), n.classList.add("swiper-button-next"), jn(n, e.navigation.arrowSvg), n.part.add("button-next"), e.el.appendChild(n)), (!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-prev"), jn(r, e.navigation.arrowSvg), r.part.add("button-prev"), e.el.appendChild(r))), n && (o.navigation.nextEl = n), r && (o.navigation.prevEl = r), d.init(), d.update()), l.includes("allowSlideNext") && (e.allowSlideNext = a.allowSlideNext), l.includes("allowSlidePrev") && (e.allowSlidePrev = a.allowSlidePrev), l.includes("direction") && e.changeDirection(a.direction, !1), (A || C) && e.loopDestroy(), (x || C) && e.loopCreate(), e.update();
7828
+ }), s.includes("controller") && !m && e.controller && e.controller.control && o.controller && o.controller.control && (e.controller.control = o.controller.control), l.includes("children") && t && f && o.virtual.enabled ? (f.slides = t, f.update(!0)) : l.includes("virtual") && f && o.virtual.enabled && (t && (f.slides = t), f.update(!0)), l.includes("children") && t && o.loop && (C = !0), g && E.init() && E.update(!0), m && (e.controller.control = o.controller.control), y && (e.isElement && (!u || typeof u == "string") && (u = document.createElement("div"), u.classList.add("swiper-pagination"), u.part.add("pagination"), e.el.appendChild(u)), u && (o.pagination.el = u), c.init(), c.render(), c.update()), v && (e.isElement && (!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-scrollbar"), i.part.add("scrollbar"), e.el.appendChild(i)), i && (o.scrollbar.el = i), h.init(), h.updateSize(), h.setTranslate()), b && (e.isElement && ((!n || typeof n == "string") && (n = document.createElement("div"), n.classList.add("swiper-button-next"), Wn(n, e.navigation.arrowSvg), n.part.add("button-next"), e.el.appendChild(n)), (!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-prev"), Wn(r, e.navigation.arrowSvg), r.part.add("button-prev"), e.el.appendChild(r))), n && (o.navigation.nextEl = n), r && (o.navigation.prevEl = r), d.init(), d.update()), l.includes("allowSlideNext") && (e.allowSlideNext = a.allowSlideNext), l.includes("allowSlidePrev") && (e.allowSlidePrev = a.allowSlidePrev), l.includes("direction") && e.changeDirection(a.direction, !1), (A || C) && e.loopDestroy(), (x || C) && e.loopCreate(), e.update();
7829
7829
  }
7830
7830
  function Np(e = {}, t = !0) {
7831
7831
  const a = {
7832
7832
  on: {}
7833
7833
  }, l = {}, n = {};
7834
- ca(a, Xn), a._emitClasses = !0, a.init = !1;
7834
+ ca(a, Kn), a._emitClasses = !0, a.init = !1;
7835
7835
  const r = {}, i = ls.map((s) => s.replace(/_/, "")), u = Object.assign({}, e);
7836
7836
  return Object.keys(u).forEach((s) => {
7837
7837
  typeof e[s] > "u" || (i.indexOf(s) >= 0 ? Jt(e[s]) ? (a[s] = {}, n[s] = {}, ca(a[s], e[s]), ca(n[s], e[s])) : (a[s] = e[s], n[s] = e[s]) : s.search(/on[A-Z]/) === 0 && typeof e[s] == "function" ? t ? l[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : a.on[`${s[2].toLowerCase()}${s.substr(3)}`] = e[s] : r[s] = e[s]);
@@ -7974,7 +7974,7 @@ const Ai = /* @__PURE__ */ Vu(null), Mp = /* @__PURE__ */ Vu(null), cs = /* @__P
7974
7974
  const B = {
7975
7975
  ..._
7976
7976
  };
7977
- if (delete B.wrapperClass, m.current = new yr(B), m.current.virtual && m.current.params.virtual.enabled) {
7977
+ if (delete B.wrapperClass, m.current = new Er(B), m.current.virtual && m.current.params.virtual.enabled) {
7978
7978
  m.current.virtual.slides = D;
7979
7979
  const H = {
7980
7980
  cache: !1,
@@ -8191,7 +8191,7 @@ function Bp({
8191
8191
  if (y) {
8192
8192
  if (f.addIcons && y.matches(".swiper-button-next,.swiper-button-prev") && !y.querySelector("svg")) {
8193
8193
  const b = document.createElement("div");
8194
- jn(b, wi), y.appendChild(b.querySelector("svg")), b.remove();
8194
+ Wn(b, wi), y.appendChild(b.querySelector("svg")), b.remove();
8195
8195
  }
8196
8196
  y.addEventListener("click", v === "next" ? s : u);
8197
8197
  }
@@ -8337,24 +8337,24 @@ lt.prototype.property = "";
8337
8337
  lt.prototype.spaceSeparated = !1;
8338
8338
  lt.prototype.space = void 0;
8339
8339
  let zp = 0;
8340
- const Ae = ta(), Ue = ta(), Qn = ta(), le = ta(), Me = ta(), da = ta(), nt = ta();
8340
+ const Ae = ta(), Ue = ta(), Xn = ta(), le = ta(), Me = ta(), da = ta(), nt = ta();
8341
8341
  function ta() {
8342
8342
  return 2 ** ++zp;
8343
8343
  }
8344
- const Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8344
+ const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8345
8345
  __proto__: null,
8346
8346
  boolean: Ae,
8347
8347
  booleanish: Ue,
8348
8348
  commaOrSpaceSeparated: nt,
8349
8349
  commaSeparated: da,
8350
8350
  number: le,
8351
- overloadedBoolean: Qn,
8351
+ overloadedBoolean: Xn,
8352
8352
  spaceSeparated: Me
8353
8353
  }, Symbol.toStringTag, { value: "Module" })), yn = (
8354
8354
  /** @type {ReadonlyArray<keyof typeof types>} */
8355
- Object.keys(Jn)
8355
+ Object.keys(Qn)
8356
8356
  );
8357
- class Tr extends lt {
8357
+ class yr extends lt {
8358
8358
  /**
8359
8359
  * @constructor
8360
8360
  * @param {string} property
@@ -8373,18 +8373,18 @@ class Tr extends lt {
8373
8373
  if (super(t, a), ki(this, "space", n), typeof l == "number")
8374
8374
  for (; ++r < yn.length; ) {
8375
8375
  const i = yn[r];
8376
- ki(this, yn[r], (l & Jn[i]) === Jn[i]);
8376
+ ki(this, yn[r], (l & Qn[i]) === Qn[i]);
8377
8377
  }
8378
8378
  }
8379
8379
  }
8380
- Tr.prototype.defined = !0;
8380
+ yr.prototype.defined = !0;
8381
8381
  function ki(e, t, a) {
8382
8382
  a && (e[t] = a);
8383
8383
  }
8384
8384
  function ba(e) {
8385
8385
  const t = {}, a = {};
8386
8386
  for (const [l, n] of Object.entries(e.properties)) {
8387
- const r = new Tr(
8387
+ const r = new yr(
8388
8388
  l,
8389
8389
  e.transform(e.attributes || {}, l),
8390
8390
  n,
@@ -8504,7 +8504,7 @@ const Vp = ba({
8504
8504
  dir: null,
8505
8505
  dirName: null,
8506
8506
  disabled: Ae,
8507
- download: Qn,
8507
+ download: Xn,
8508
8508
  draggable: Ue,
8509
8509
  encType: null,
8510
8510
  enterKeyHint: null,
@@ -8517,7 +8517,7 @@ const Vp = ba({
8517
8517
  formTarget: null,
8518
8518
  headers: Me,
8519
8519
  height: le,
8520
- hidden: Qn,
8520
+ hidden: Xn,
8521
8521
  high: le,
8522
8522
  href: null,
8523
8523
  hrefLang: null,
@@ -9436,7 +9436,7 @@ function zl(e, t) {
9436
9436
  i.charAt(0) !== "-" && (i = "-" + i), t = "data" + i;
9437
9437
  }
9438
9438
  }
9439
- n = Tr;
9439
+ n = yr;
9440
9440
  }
9441
9441
  return new n(l, t);
9442
9442
  }
@@ -9454,7 +9454,7 @@ function Ii(e) {
9454
9454
  function ys(e) {
9455
9455
  return e.join(" ").trim();
9456
9456
  }
9457
- function xr(e) {
9457
+ function Tr(e) {
9458
9458
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9459
9459
  }
9460
9460
  var ia = {}, Tn, Li;
@@ -9601,7 +9601,7 @@ function eh() {
9601
9601
  return l.default = l, Oa = l, Oa;
9602
9602
  }
9603
9603
  var th = eh();
9604
- const ah = /* @__PURE__ */ xr(th), Vl = Ts("end"), Tt = Ts("start");
9604
+ const ah = /* @__PURE__ */ Tr(th), Vl = Ts("end"), Tt = Ts("start");
9605
9605
  function Ts(e) {
9606
9606
  return t;
9607
9607
  function t(a) {
@@ -9620,13 +9620,13 @@ function xs(e) {
9620
9620
  return { start: t, end: a };
9621
9621
  }
9622
9622
  function Ua(e) {
9623
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Mi(e.position) : "start" in e || "end" in e ? Mi(e) : "line" in e || "column" in e ? Zn(e) : "";
9623
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Mi(e.position) : "start" in e || "end" in e ? Mi(e) : "line" in e || "column" in e ? Jn(e) : "";
9624
9624
  }
9625
- function Zn(e) {
9625
+ function Jn(e) {
9626
9626
  return Ri(e && e.line) + ":" + Ri(e && e.column);
9627
9627
  }
9628
9628
  function Mi(e) {
9629
- return Zn(e && e.start) + "-" + Zn(e && e.end);
9629
+ return Jn(e && e.start) + "-" + Jn(e && e.end);
9630
9630
  }
9631
9631
  function Ri(e) {
9632
9632
  return e && typeof e == "number" ? e : 1;
@@ -9718,7 +9718,7 @@ Xe.prototype.fatal = void 0;
9718
9718
  Xe.prototype.place = void 0;
9719
9719
  Xe.prototype.ruleId = void 0;
9720
9720
  Xe.prototype.source = void 0;
9721
- const Ar = {}.hasOwnProperty, lh = /* @__PURE__ */ new Map(), nh = /[A-Z]/g, rh = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), ih = /* @__PURE__ */ new Set(["td", "th"]), As = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
9721
+ const xr = {}.hasOwnProperty, lh = /* @__PURE__ */ new Map(), nh = /[A-Z]/g, rh = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), ih = /* @__PURE__ */ new Set(["td", "th"]), As = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
9722
9722
  function uh(e, t) {
9723
9723
  if (!t || t.Fragment === void 0)
9724
9724
  throw new TypeError("Expected `Fragment` in options");
@@ -9778,10 +9778,10 @@ function sh(e, t, a) {
9778
9778
  let n = l;
9779
9779
  t.tagName.toLowerCase() === "svg" && l.space === "html" && (n = $t, e.schema = n), e.ancestors.push(t);
9780
9780
  const r = Ss(e, t.tagName, !1), i = mh(e, t);
9781
- let u = Cr(e, t);
9781
+ let u = wr(e, t);
9782
9782
  return rh.has(t.tagName) && (u = u.filter(function(s) {
9783
9783
  return typeof s == "string" ? !qp(s) : !0;
9784
- })), Cs(e, i, r, t), wr(i, u), e.ancestors.pop(), e.schema = l, e.create(t, r, i, a);
9784
+ })), Cs(e, i, r, t), Ar(i, u), e.ancestors.pop(), e.schema = l, e.create(t, r, i, a);
9785
9785
  }
9786
9786
  function oh(e, t) {
9787
9787
  if (t.data && t.data.estree && e.evaluater) {
@@ -9803,12 +9803,12 @@ function dh(e, t, a) {
9803
9803
  const l = e.schema;
9804
9804
  let n = l;
9805
9805
  t.name === "svg" && l.space === "html" && (n = $t, e.schema = n), e.ancestors.push(t);
9806
- const r = t.name === null ? e.Fragment : Ss(e, t.name, !0), i = vh(e, t), u = Cr(e, t);
9807
- return Cs(e, i, r, t), wr(i, u), e.ancestors.pop(), e.schema = l, e.create(t, r, i, a);
9806
+ const r = t.name === null ? e.Fragment : Ss(e, t.name, !0), i = vh(e, t), u = wr(e, t);
9807
+ return Cs(e, i, r, t), Ar(i, u), e.ancestors.pop(), e.schema = l, e.create(t, r, i, a);
9808
9808
  }
9809
9809
  function fh(e, t, a) {
9810
9810
  const l = {};
9811
- return wr(l, Cr(e, t)), e.create(t, e.Fragment, l, a);
9811
+ return Ar(l, wr(e, t)), e.create(t, e.Fragment, l, a);
9812
9812
  }
9813
9813
  function ph(e, t) {
9814
9814
  return t.value;
@@ -9816,7 +9816,7 @@ function ph(e, t) {
9816
9816
  function Cs(e, t, a, l) {
9817
9817
  typeof a != "string" && a !== e.Fragment && e.passNode && (t.node = l);
9818
9818
  }
9819
- function wr(e, t) {
9819
+ function Ar(e, t) {
9820
9820
  if (t.length > 0) {
9821
9821
  const a = t.length > 1 ? t : t[0];
9822
9822
  a && (e.children = a);
@@ -9851,7 +9851,7 @@ function mh(e, t) {
9851
9851
  const a = {};
9852
9852
  let l, n;
9853
9853
  for (n in t.properties)
9854
- if (n !== "children" && Ar.call(t.properties, n)) {
9854
+ if (n !== "children" && xr.call(t.properties, n)) {
9855
9855
  const r = gh(e, n, t.properties[n]);
9856
9856
  if (r) {
9857
9857
  const [i, u] = r;
@@ -9899,7 +9899,7 @@ function vh(e, t) {
9899
9899
  }
9900
9900
  return a;
9901
9901
  }
9902
- function Cr(e, t) {
9902
+ function wr(e, t) {
9903
9903
  const a = [];
9904
9904
  let l = -1;
9905
9905
  const n = e.passKeys ? /* @__PURE__ */ new Map() : lh;
@@ -9974,7 +9974,7 @@ function Ss(e, t, a) {
9974
9974
  /** @type {string | number} */
9975
9975
  l.value
9976
9976
  );
9977
- return Ar.call(e.components, n) ? e.components[n] : n;
9977
+ return xr.call(e.components, n) ? e.components[n] : n;
9978
9978
  }
9979
9979
  if (e.evaluater)
9980
9980
  return e.evaluater.evaluateExpression(l);
@@ -9996,7 +9996,7 @@ function yh(e) {
9996
9996
  const t = {};
9997
9997
  let a;
9998
9998
  for (a in e)
9999
- Ar.call(e, a) && (t[Th(a)] = e[a]);
9999
+ xr.call(e, a) && (t[Th(a)] = e[a]);
10000
10000
  return t;
10001
10001
  }
10002
10002
  function Th(e) {
@@ -10122,14 +10122,14 @@ function fa(e) {
10122
10122
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
10123
10123
  }
10124
10124
  const gt = Ut(/[A-Za-z]/), it = Ut(/[\dA-Za-z]/), Nh = Ut(/[#-'*+\--9=?A-Z^-~]/);
10125
- function er(e) {
10125
+ function Zn(e) {
10126
10126
  return (
10127
10127
  // Special whitespace codes (which have negative values), C0 and Control
10128
10128
  // character DEL
10129
10129
  e !== null && (e < 32 || e === 127)
10130
10130
  );
10131
10131
  }
10132
- const tr = Ut(/\d/), Ih = Ut(/[\dA-Fa-f]/), Lh = Ut(/[!-/:-@[-`{-~]/);
10132
+ const er = Ut(/\d/), Ih = Ut(/[\dA-Fa-f]/), Lh = Ut(/[!-/:-@[-`{-~]/);
10133
10133
  function fe(e) {
10134
10134
  return e !== null && e < -2;
10135
10135
  }
@@ -10334,7 +10334,7 @@ function Ui(e) {
10334
10334
  if (Za(e))
10335
10335
  return 2;
10336
10336
  }
10337
- function Sr(e, t, a) {
10337
+ function Cr(e, t, a) {
10338
10338
  const l = [];
10339
10339
  let n = -1;
10340
10340
  for (; ++n < e.length; ) {
@@ -10343,7 +10343,7 @@ function Sr(e, t, a) {
10343
10343
  }
10344
10344
  return t;
10345
10345
  }
10346
- const ar = {
10346
+ const tr = {
10347
10347
  name: "attention",
10348
10348
  resolveAll: Bh,
10349
10349
  tokenize: Fh
@@ -10395,7 +10395,7 @@ function Bh(e, t) {
10395
10395
  ...i.start
10396
10396
  }, e[a][1].start = {
10397
10397
  ...u.end
10398
- }, o = [], e[l][1].end.offset - e[l][1].start.offset && (o = ut(o, [["enter", e[l][1], t], ["exit", e[l][1], t]])), o = ut(o, [["enter", n, t], ["enter", i, t], ["exit", i, t], ["enter", r, t]]), o = ut(o, Sr(t.parser.constructs.insideSpan.null, e.slice(l + 1, a), t)), o = ut(o, [["exit", r, t], ["enter", u, t], ["exit", u, t], ["exit", n, t]]), e[a][1].end.offset - e[a][1].start.offset ? (c = 2, o = ut(o, [["enter", e[a][1], t], ["exit", e[a][1], t]])) : c = 0, yt(e, l - 1, a - l + 3, o), a = l + o.length - c - 2;
10398
+ }, o = [], e[l][1].end.offset - e[l][1].start.offset && (o = ut(o, [["enter", e[l][1], t], ["exit", e[l][1], t]])), o = ut(o, [["enter", n, t], ["enter", i, t], ["exit", i, t], ["enter", r, t]]), o = ut(o, Cr(t.parser.constructs.insideSpan.null, e.slice(l + 1, a), t)), o = ut(o, [["exit", r, t], ["enter", u, t], ["exit", u, t], ["exit", n, t]]), e[a][1].end.offset - e[a][1].start.offset ? (c = 2, o = ut(o, [["enter", e[a][1], t], ["exit", e[a][1], t]])) : c = 0, yt(e, l - 1, a - l + 3, o), a = l + o.length - c - 2;
10399
10399
  break;
10400
10400
  }
10401
10401
  }
@@ -10440,7 +10440,7 @@ function $h(e, t, a) {
10440
10440
  return f === 58 ? (e.consume(f), l = 0, s) : (f === 43 || f === 45 || f === 46 || it(f)) && l++ < 32 ? (e.consume(f), u) : (l = 0, o(f));
10441
10441
  }
10442
10442
  function s(f) {
10443
- 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 || er(f) ? a(f) : (e.consume(f), s);
10443
+ 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 || Zn(f) ? a(f) : (e.consume(f), s);
10444
10444
  }
10445
10445
  function o(f) {
10446
10446
  return f === 64 ? (e.consume(f), c) : Nh(f) ? (e.consume(f), o) : a(f);
@@ -10537,7 +10537,7 @@ function Yh(e, t, a) {
10537
10537
  return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), o) : (e.enter("characterReferenceValue"), r = 31, i = it, c(d));
10538
10538
  }
10539
10539
  function o(d) {
10540
- return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), r = 6, i = Ih, c) : (e.enter("characterReferenceValue"), r = 7, i = tr, c(d));
10540
+ return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), r = 6, i = Ih, c) : (e.enter("characterReferenceValue"), r = 7, i = er, c(d));
10541
10541
  }
10542
10542
  function c(d) {
10543
10543
  if (d === 59 && n) {
@@ -10985,7 +10985,7 @@ function Ds(e, t, a, l, n, r, i, u, s) {
10985
10985
  let c = 0;
10986
10986
  return d;
10987
10987
  function d(y) {
10988
- return y === 60 ? (e.enter(l), e.enter(n), e.enter(r), e.consume(y), e.exit(r), h) : y === null || y === 32 || y === 41 || er(y) ? a(y) : (e.enter(l), e.enter(i), e.enter(u), e.enter("chunkString", {
10988
+ return y === 60 ? (e.enter(l), e.enter(n), e.enter(r), e.consume(y), e.exit(r), h) : y === null || y === 32 || y === 41 || Zn(y) ? a(y) : (e.enter(l), e.enter(i), e.enter(u), e.enter("chunkString", {
10989
10989
  contentType: "string"
10990
10990
  }), g(y));
10991
10991
  }
@@ -11001,7 +11001,7 @@ function Ds(e, t, a, l, n, r, i, u, s) {
11001
11001
  return y === 60 || y === 62 || y === 92 ? (e.consume(y), f) : f(y);
11002
11002
  }
11003
11003
  function g(y) {
11004
- return !c && (y === null || y === 41 || He(y)) ? (e.exit("chunkString"), e.exit(u), e.exit(i), e.exit(l), t(y)) : c < o && y === 40 ? (e.consume(y), c++, g) : y === 41 ? (e.consume(y), c--, g) : y === null || y === 32 || y === 40 || er(y) ? a(y) : (e.consume(y), y === 92 ? m : g);
11004
+ return !c && (y === null || y === 41 || He(y)) ? (e.exit("chunkString"), e.exit(u), e.exit(i), e.exit(l), t(y)) : c < o && y === 40 ? (e.consume(y), c++, g) : y === 41 ? (e.consume(y), c--, g) : y === null || y === 32 || y === 40 || Zn(y) ? a(y) : (e.consume(y), y === 92 ? m : g);
11005
11005
  }
11006
11006
  function m(y) {
11007
11007
  return y === 40 || y === 41 || y === 92 ? (e.consume(y), g) : g(y);
@@ -11480,7 +11480,7 @@ function _b(e, t, a) {
11480
11480
  return e.enter("htmlTextData"), i(N);
11481
11481
  }
11482
11482
  }
11483
- const _r = {
11483
+ const Sr = {
11484
11484
  name: "labelEnd",
11485
11485
  resolveAll: Lb,
11486
11486
  resolveTo: Ob,
@@ -11542,7 +11542,7 @@ function Ob(e, t) {
11542
11542
  ...e[i - 2][1].start
11543
11543
  }
11544
11544
  };
11545
- return u = [["enter", s, t], ["enter", o, t]], u = ut(u, e.slice(r + 1, r + l + 3)), u = ut(u, [["enter", c, t]]), u = ut(u, Sr(t.parser.constructs.insideSpan.null, e.slice(r + l + 4, i - 3), t)), u = ut(u, [["exit", c, t], e[i - 2], e[i - 1], ["exit", o, t]]), u = ut(u, e.slice(i + 1)), u = ut(u, [["exit", s, t]]), yt(e, r, e.length, u), e;
11545
+ return u = [["enter", s, t], ["enter", o, t]], u = ut(u, e.slice(r + 1, r + l + 3)), u = ut(u, [["enter", c, t]]), u = ut(u, Cr(t.parser.constructs.insideSpan.null, e.slice(r + l + 4, i - 3), t)), u = ut(u, [["exit", c, t], e[i - 2], e[i - 1], ["exit", o, t]]), u = ut(u, e.slice(i + 1)), u = ut(u, [["exit", s, t]]), yt(e, r, e.length, u), e;
11546
11546
  }
11547
11547
  function Db(e, t, a) {
11548
11548
  const l = this;
@@ -11623,7 +11623,7 @@ function Rb(e, t, a) {
11623
11623
  }
11624
11624
  const Bb = {
11625
11625
  name: "labelStartImage",
11626
- resolveAll: _r.resolveAll,
11626
+ resolveAll: Sr.resolveAll,
11627
11627
  tokenize: Fb
11628
11628
  };
11629
11629
  function Fb(e, t, a) {
@@ -11641,7 +11641,7 @@ function Fb(e, t, a) {
11641
11641
  }
11642
11642
  const Hb = {
11643
11643
  name: "labelStartLink",
11644
- resolveAll: _r.resolveAll,
11644
+ resolveAll: Sr.resolveAll,
11645
11645
  tokenize: $b
11646
11646
  };
11647
11647
  function $b(e, t, a) {
@@ -11704,7 +11704,7 @@ function Gb(e, t, a) {
11704
11704
  return u;
11705
11705
  function u(f) {
11706
11706
  const E = l.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
11707
- if (E === "listUnordered" ? !l.containerState.marker || f === l.containerState.marker : tr(f)) {
11707
+ if (E === "listUnordered" ? !l.containerState.marker || f === l.containerState.marker : er(f)) {
11708
11708
  if (l.containerState.type || (l.containerState.type = E, e.enter(E, {
11709
11709
  _container: !0
11710
11710
  })), E === "listUnordered")
@@ -11715,7 +11715,7 @@ function Gb(e, t, a) {
11715
11715
  return a(f);
11716
11716
  }
11717
11717
  function s(f) {
11718
- return tr(f) && ++i < 10 ? (e.consume(f), s) : (!l.interrupt || i < 2) && (l.containerState.marker ? f === l.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), o(f)) : a(f);
11718
+ return er(f) && ++i < 10 ? (e.consume(f), s) : (!l.interrupt || i < 2) && (l.containerState.marker ? f === l.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), o(f)) : a(f);
11719
11719
  }
11720
11720
  function o(f) {
11721
11721
  return e.enter("listItemMarker"), e.consume(f), e.exit("listItemMarker"), l.containerState.marker = l.containerState.marker || f, e.check(
@@ -11975,15 +11975,15 @@ const nm = {
11975
11975
  [-3]: wn,
11976
11976
  33: Bb,
11977
11977
  38: Ls,
11978
- 42: ar,
11978
+ 42: tr,
11979
11979
  60: [Hh, Sb],
11980
11980
  91: Hb,
11981
11981
  92: [pb, Is],
11982
- 93: _r,
11983
- 95: ar,
11982
+ 93: Sr,
11983
+ 95: tr,
11984
11984
  96: Jh
11985
11985
  }, cm = {
11986
- null: [ar, em]
11986
+ null: [tr, em]
11987
11987
  }, dm = {
11988
11988
  null: [42, 95]
11989
11989
  }, fm = {
@@ -12034,7 +12034,7 @@ function hm(e, t, a) {
12034
12034
  let c = t.tokenize.call(o, s);
12035
12035
  return t.resolveAll && r.push(t), o;
12036
12036
  function d(D) {
12037
- return i = ut(i, D), m(), i[i.length - 1] !== null ? [] : (k(t, 0), o.events = Sr(r, o.events, o), o.events);
12037
+ return i = ut(i, D), m(), i[i.length - 1] !== null ? [] : (k(t, 0), o.events = Cr(r, o.events, o), o.events);
12038
12038
  }
12039
12039
  function h(D, F) {
12040
12040
  return mm(f(D), F);
@@ -13227,7 +13227,7 @@ const Jm = {
13227
13227
  };
13228
13228
  function yl() {
13229
13229
  }
13230
- const qs = -1, Yl = 0, qa = 1, Hl = 2, kr = 3, Nr = 4, Ir = 5, Lr = 6, zs = 7, Vs = 8, Ji = typeof self == "object" ? self : globalThis, Zm = (e, t) => {
13230
+ const qs = -1, Yl = 0, qa = 1, Hl = 2, _r = 3, kr = 4, Nr = 5, Ir = 6, zs = 7, Vs = 8, Ji = typeof self == "object" ? self : globalThis, Zm = (e, t) => {
13231
13231
  const a = (n, r) => (e.set(r, n), n), l = (n) => {
13232
13232
  if (e.has(n))
13233
13233
  return e.get(n);
@@ -13248,19 +13248,19 @@ const qs = -1, Yl = 0, qa = 1, Hl = 2, kr = 3, Nr = 4, Ir = 5, Lr = 6, zs = 7, V
13248
13248
  u[l(s)] = l(o);
13249
13249
  return u;
13250
13250
  }
13251
- case kr:
13251
+ case _r:
13252
13252
  return a(new Date(i), n);
13253
- case Nr: {
13253
+ case kr: {
13254
13254
  const { source: u, flags: s } = i;
13255
13255
  return a(new RegExp(u, s), n);
13256
13256
  }
13257
- case Ir: {
13257
+ case Nr: {
13258
13258
  const u = a(/* @__PURE__ */ new Map(), n);
13259
13259
  for (const [s, o] of i)
13260
13260
  u.set(l(s), l(o));
13261
13261
  return u;
13262
13262
  }
13263
- case Lr: {
13263
+ case Ir: {
13264
13264
  const u = a(/* @__PURE__ */ new Set(), n);
13265
13265
  for (const s of i)
13266
13266
  u.add(l(s));
@@ -13295,13 +13295,13 @@ const qs = -1, Yl = 0, qa = 1, Hl = 2, kr = 3, Nr = 4, Ir = 5, Lr = 6, zs = 7, V
13295
13295
  case "Object":
13296
13296
  return [Hl, ua];
13297
13297
  case "Date":
13298
- return [kr, ua];
13298
+ return [_r, ua];
13299
13299
  case "RegExp":
13300
- return [Nr, ua];
13300
+ return [kr, ua];
13301
13301
  case "Map":
13302
- return [Ir, ua];
13302
+ return [Nr, ua];
13303
13303
  case "Set":
13304
- return [Lr, ua];
13304
+ return [Ir, ua];
13305
13305
  case "DataView":
13306
13306
  return [qa, a];
13307
13307
  }
@@ -13359,19 +13359,19 @@ const qs = -1, Yl = 0, qa = 1, Hl = 2, kr = 3, Nr = 4, Ir = 5, Lr = 6, zs = 7, V
13359
13359
  (e || !Tl(Pa(i[h]))) && c.push([r(h), r(i[h])]);
13360
13360
  return d;
13361
13361
  }
13362
- case kr:
13362
+ case _r:
13363
13363
  return n([u, i.toISOString()], i);
13364
- case Nr: {
13364
+ case kr: {
13365
13365
  const { source: c, flags: d } = i;
13366
13366
  return n([u, { source: c, flags: d }], i);
13367
13367
  }
13368
- case Ir: {
13368
+ case Nr: {
13369
13369
  const c = [], d = n([u, c], i);
13370
13370
  for (const [h, f] of i)
13371
13371
  (e || !(Tl(Pa(h)) || Tl(Pa(f)))) && c.push([r(h), r(f)]);
13372
13372
  return d;
13373
13373
  }
13374
- case Lr: {
13374
+ case Ir: {
13375
13375
  const c = [], d = n([u, c], i);
13376
13376
  for (const h of i)
13377
13377
  (e || !Tl(Pa(h))) && c.push(r(h));
@@ -13616,7 +13616,7 @@ function jl(e, t, a, l) {
13616
13616
  return i(s, d, c);
13617
13617
  }
13618
13618
  }
13619
- const lr = {}.hasOwnProperty, h0 = {};
13619
+ const ar = {}.hasOwnProperty, h0 = {};
13620
13620
  function b0(e, t) {
13621
13621
  const a = t || h0, l = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = { ...Jm, ...a.handlers }, u = {
13622
13622
  all: o,
@@ -13639,7 +13639,7 @@ function b0(e, t) {
13639
13639
  }), u;
13640
13640
  function s(c, d) {
13641
13641
  const h = c.type, f = u.handlers[h];
13642
- if (lr.call(u.handlers, h) && f)
13642
+ if (ar.call(u.handlers, h) && f)
13643
13643
  return f(u, c, d);
13644
13644
  if (u.options.passThrough && u.options.passThrough.includes(h)) {
13645
13645
  if ("children" in c) {
@@ -13688,7 +13688,7 @@ function v0(e, t) {
13688
13688
  return a;
13689
13689
  }
13690
13690
  function g0(e, t) {
13691
- const a = t.data || {}, l = "value" in t && !(lr.call(a, "hProperties") || lr.call(a, "hChildren")) ? { type: "text", value: t.value } : {
13691
+ const a = t.data || {}, l = "value" in t && !(ar.call(a, "hProperties") || ar.call(a, "hChildren")) ? { type: "text", value: t.value } : {
13692
13692
  type: "element",
13693
13693
  tagName: "div",
13694
13694
  properties: {},
@@ -13776,8 +13776,8 @@ function T0() {
13776
13776
  }, Cn;
13777
13777
  }
13778
13778
  var x0 = T0();
13779
- const Sn = /* @__PURE__ */ xr(x0);
13780
- function nr(e) {
13779
+ const Sn = /* @__PURE__ */ Tr(x0);
13780
+ function lr(e) {
13781
13781
  if (typeof e != "object" || e === null)
13782
13782
  return !1;
13783
13783
  const t = Object.getPrototypeOf(e);
@@ -13952,14 +13952,14 @@ const L0 = { cwd: O0 };
13952
13952
  function O0() {
13953
13953
  return "/";
13954
13954
  }
13955
- function rr(e) {
13955
+ function nr(e) {
13956
13956
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
13957
13957
  e.auth === void 0);
13958
13958
  }
13959
13959
  function D0(e) {
13960
13960
  if (typeof e == "string")
13961
13961
  e = new URL(e);
13962
- else if (!rr(e)) {
13962
+ else if (!nr(e)) {
13963
13963
  const t = new TypeError(
13964
13964
  'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
13965
13965
  );
@@ -14028,7 +14028,7 @@ class js {
14028
14028
  */
14029
14029
  constructor(t) {
14030
14030
  let a;
14031
- t ? rr(t) ? a = { path: t } : typeof t == "string" || M0(t) ? a = { value: t } : a = t : a = {}, this.cwd = "cwd" in a ? "" : L0.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
14031
+ t ? nr(t) ? a = { path: t } : typeof t == "string" || M0(t) ? a = { value: t } : a = t : a = {}, this.cwd = "cwd" in a ? "" : L0.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
14032
14032
  let l = -1;
14033
14033
  for (; ++l < _n.length; ) {
14034
14034
  const r = _n[l];
@@ -14136,7 +14136,7 @@ class js {
14136
14136
  * Nothing.
14137
14137
  */
14138
14138
  set path(t) {
14139
- rr(t) && (t = D0(t)), Nn(t, "path"), this.path !== t && this.history.push(t);
14139
+ nr(t) && (t = D0(t)), Nn(t, "path"), this.path !== t && this.history.push(t);
14140
14140
  }
14141
14141
  /**
14142
14142
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -14412,7 +14412,7 @@ const R0 = (
14412
14412
  return Object.setPrototypeOf(r, l), r;
14413
14413
  }
14414
14414
  ), B0 = {}.hasOwnProperty;
14415
- class Or extends R0 {
14415
+ class Lr extends R0 {
14416
14416
  /**
14417
14417
  * Create a processor.
14418
14418
  */
@@ -14433,7 +14433,7 @@ class Or extends R0 {
14433
14433
  copy() {
14434
14434
  const t = (
14435
14435
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
14436
- new Or()
14436
+ new Lr()
14437
14437
  );
14438
14438
  let a = -1;
14439
14439
  for (; ++a < this.attachers.length; ) {
@@ -14888,12 +14888,12 @@ class Or extends R0 {
14888
14888
  else if (c.length > 0) {
14889
14889
  let [f, ...E] = c;
14890
14890
  const g = l[h][1];
14891
- nr(g) && nr(f) && (f = Sn(!0, g, f)), l[h] = [o, f, ...E];
14891
+ lr(g) && lr(f) && (f = Sn(!0, g, f)), l[h] = [o, f, ...E];
14892
14892
  }
14893
14893
  }
14894
14894
  }
14895
14895
  }
14896
- const F0 = new Or().freeze();
14896
+ const F0 = new Lr().freeze();
14897
14897
  function In(e, t) {
14898
14898
  if (typeof t != "function")
14899
14899
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -14909,7 +14909,7 @@ function On(e, t) {
14909
14909
  );
14910
14910
  }
14911
14911
  function uu(e) {
14912
- if (!nr(e) || typeof e.type != "string")
14912
+ if (!lr(e) || typeof e.type != "string")
14913
14913
  throw new TypeError("Expected node, got `" + e + "`");
14914
14914
  }
14915
14915
  function su(e, t, a) {
@@ -15054,7 +15054,7 @@ function Ks(e, t, a) {
15054
15054
  J0(e, s.properties, d, h);
15055
15055
  }
15056
15056
  for (const o of u)
15057
- ir(s.children, o);
15057
+ rr(s.children, o);
15058
15058
  return s.type === "element" && s.tagName === "template" && (s.content = { type: "root", children: s.children }, s.children = []), s;
15059
15059
  }
15060
15060
  return n;
@@ -15105,14 +15105,14 @@ function J0(e, t, a, l) {
15105
15105
  )), t[n.property] = r;
15106
15106
  }
15107
15107
  }
15108
- function ir(e, t) {
15108
+ function rr(e, t) {
15109
15109
  if (t != null) if (typeof t == "number" || typeof t == "string")
15110
15110
  e.push({ type: "text", value: String(t) });
15111
15111
  else if (Array.isArray(t))
15112
15112
  for (const a of t)
15113
- ir(e, a);
15113
+ rr(e, a);
15114
15114
  else if (typeof t == "object" && "type" in t)
15115
- t.type === "root" ? ir(e, t.children) : e.push(t);
15115
+ t.type === "root" ? rr(e, t.children) : e.push(t);
15116
15116
  else
15117
15117
  throw new Error("Expected node, nodes, or string, got `" + t + "`");
15118
15118
  }
@@ -15227,7 +15227,7 @@ const Kt = {
15227
15227
  }, Xs = {}.hasOwnProperty, rv = Object.prototype;
15228
15228
  function iv(e, t) {
15229
15229
  const a = t || {};
15230
- return Dr(
15230
+ return Or(
15231
15231
  {
15232
15232
  file: a.file || void 0,
15233
15233
  location: !1,
@@ -15237,7 +15237,7 @@ function iv(e, t) {
15237
15237
  e
15238
15238
  );
15239
15239
  }
15240
- function Dr(e, t) {
15240
+ function Or(e, t) {
15241
15241
  let a;
15242
15242
  switch (t.nodeName) {
15243
15243
  case "#comment": {
@@ -15292,7 +15292,7 @@ function Qs(e, t) {
15292
15292
  for (; ++a < t.length; ) {
15293
15293
  const n = (
15294
15294
  /** @type {RootContent} */
15295
- Dr(e, t[a])
15295
+ Or(e, t[a])
15296
15296
  );
15297
15297
  l.push(n);
15298
15298
  }
@@ -15314,7 +15314,7 @@ function uv(e, t) {
15314
15314
  t
15315
15315
  ), s = u.sourceCodeLocation, o = s && s.startTag && sa(s.startTag), c = s && s.endTag && sa(s.endTag), d = (
15316
15316
  /** @type {Root} */
15317
- Dr(e, u.content)
15317
+ Or(e, u.content)
15318
15318
  );
15319
15319
  o && c && e.file && (d.position = { start: o.end, end: c.start }), i.content = d;
15320
15320
  }
@@ -15387,11 +15387,11 @@ function fv(e, t) {
15387
15387
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
15388
15388
  childNodes: []
15389
15389
  };
15390
- return a.childNodes = Pr(e.children, a, t), va(e, a), a;
15390
+ return a.childNodes = Dr(e.children, a, t), va(e, a), a;
15391
15391
  }
15392
15392
  function pv(e, t) {
15393
15393
  const a = { nodeName: "#document-fragment", childNodes: [] };
15394
- return a.childNodes = Pr(e.children, a, t), va(e, a), a;
15394
+ return a.childNodes = Dr(e.children, a, t), va(e, a), a;
15395
15395
  }
15396
15396
  function hv(e) {
15397
15397
  const t = {
@@ -15445,7 +15445,7 @@ function vv(e, t) {
15445
15445
  childNodes: [],
15446
15446
  parentNode: null
15447
15447
  };
15448
- return u.childNodes = Pr(e.children, u, l), va(e, u), e.tagName === "template" && e.content && (u.content = pv(e.content, l)), u;
15448
+ return u.childNodes = Dr(e.children, u, l), va(e, u), e.tagName === "template" && e.content && (u.content = pv(e.content, l)), u;
15449
15449
  }
15450
15450
  function gv(e, t, a) {
15451
15451
  const l = zl(e, t);
@@ -15462,7 +15462,7 @@ function gv(e, t, a) {
15462
15462
  }
15463
15463
  return n;
15464
15464
  }
15465
- function Pr(e, t, a) {
15465
+ function Dr(e, t, a) {
15466
15466
  let l = -1;
15467
15467
  const n = [];
15468
15468
  if (e)
@@ -15711,14 +15711,14 @@ var Ht;
15711
15711
  (function(e) {
15712
15712
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
15713
15713
  })(Ht || (Ht = {}));
15714
- function ur(e) {
15714
+ function ir(e) {
15715
15715
  return e >= Ve.ZERO && e <= Ve.NINE;
15716
15716
  }
15717
15717
  function Nv(e) {
15718
15718
  return e >= Ve.UPPER_A && e <= Ve.UPPER_F || e >= Ve.LOWER_A && e <= Ve.LOWER_F;
15719
15719
  }
15720
15720
  function Iv(e) {
15721
- return e >= Ve.UPPER_A && e <= Ve.UPPER_Z || e >= Ve.LOWER_A && e <= Ve.LOWER_Z || ur(e);
15721
+ return e >= Ve.UPPER_A && e <= Ve.UPPER_Z || e >= Ve.LOWER_A && e <= Ve.LOWER_Z || ir(e);
15722
15722
  }
15723
15723
  function Lv(e) {
15724
15724
  return e === Ve.EQUALS || Iv(e);
@@ -15795,7 +15795,7 @@ class Ov {
15795
15795
  const l = a;
15796
15796
  for (; a < t.length; ) {
15797
15797
  const n = t.charCodeAt(a);
15798
- if (ur(n) || Nv(n))
15798
+ if (ir(n) || Nv(n))
15799
15799
  a += 1;
15800
15800
  else
15801
15801
  return this.addToNumericResult(t, l, a, 16), this.emitNumericEntity(n, 3);
@@ -15815,7 +15815,7 @@ class Ov {
15815
15815
  const l = a;
15816
15816
  for (; a < t.length; ) {
15817
15817
  const n = t.charCodeAt(a);
15818
- if (ur(n))
15818
+ if (ir(n))
15819
15819
  a += 1;
15820
15820
  else
15821
15821
  return this.addToNumericResult(t, l, a, 10), this.emitNumericEntity(n, 2);
@@ -16177,7 +16177,7 @@ const ae = p, Mv = {
16177
16177
  [ee.XLINK]: /* @__PURE__ */ new Set(),
16178
16178
  [ee.XML]: /* @__PURE__ */ new Set(),
16179
16179
  [ee.XMLNS]: /* @__PURE__ */ new Set()
16180
- }, sr = /* @__PURE__ */ new Set([ae.H1, ae.H2, ae.H3, ae.H4, ae.H5, ae.H6]);
16180
+ }, ur = /* @__PURE__ */ new Set([ae.H1, ae.H2, ae.H3, ae.H4, ae.H5, ae.H6]);
16181
16181
  W.STYLE, W.SCRIPT, W.XMP, W.IFRAME, W.NOEMBED, W.NOFRAMES, W.PLAINTEXT;
16182
16182
  var R;
16183
16183
  (function(e) {
@@ -18185,7 +18185,7 @@ class Yv {
18185
18185
  this.shortenToLength(Math.max(l, 0));
18186
18186
  }
18187
18187
  popUntilNumberedHeaderPopped() {
18188
- this.popUntilPopped(sr, ee.HTML);
18188
+ this.popUntilPopped(ur, ee.HTML);
18189
18189
  }
18190
18190
  popUntilTableCellPopped() {
18191
18191
  this.popUntilPopped(Gv, ee.HTML);
@@ -18270,7 +18270,7 @@ class Yv {
18270
18270
  const a = this.tagIDs[t];
18271
18271
  switch (this.treeAdapter.getNamespaceURI(this.items[t])) {
18272
18272
  case ee.HTML: {
18273
- if (sr.has(a))
18273
+ if (ur.has(a))
18274
18274
  return !0;
18275
18275
  if ($l.has(a))
18276
18276
  return !1;
@@ -18849,7 +18849,7 @@ function co(e) {
18849
18849
  a != null && (e.attrs[t].name = a);
18850
18850
  }
18851
18851
  }
18852
- function Mr(e) {
18852
+ function Pr(e) {
18853
18853
  for (let t = 0; t < e.attrs.length; t++) {
18854
18854
  const a = ng.get(e.attrs[t].name);
18855
18855
  a && (e.attrs[t].prefix = a.prefix, e.attrs[t].name = a.name, e.attrs[t].namespace = a.namespace);
@@ -19417,7 +19417,7 @@ class Cu {
19417
19417
  /** @internal */
19418
19418
  onComment(t) {
19419
19419
  if (this.skipNextNewLine = !1, this.currentNotInHTML) {
19420
- or(this, t);
19420
+ sr(this, t);
19421
19421
  return;
19422
19422
  }
19423
19423
  switch (this.insertionMode) {
@@ -19439,7 +19439,7 @@ class Cu {
19439
19439
  case U.IN_TEMPLATE:
19440
19440
  case U.IN_FRAMESET:
19441
19441
  case U.AFTER_FRAMESET: {
19442
- or(this, t);
19442
+ sr(this, t);
19443
19443
  break;
19444
19444
  }
19445
19445
  case U.IN_TABLE_TEXT: {
@@ -19539,7 +19539,7 @@ class Cu {
19539
19539
  break;
19540
19540
  }
19541
19541
  case U.IN_COLUMN_GROUP: {
19542
- Fr(this, t);
19542
+ Br(this, t);
19543
19543
  break;
19544
19544
  }
19545
19545
  case U.IN_TABLE_BODY: {
@@ -19644,7 +19644,7 @@ class Cu {
19644
19644
  break;
19645
19645
  }
19646
19646
  case U.IN_TABLE_BODY: {
19647
- cr(this, t);
19647
+ or(this, t);
19648
19648
  break;
19649
19649
  }
19650
19650
  case U.IN_ROW: {
@@ -19741,7 +19741,7 @@ class Cu {
19741
19741
  case U.AFTER_FRAMESET:
19742
19742
  case U.AFTER_AFTER_BODY:
19743
19743
  case U.AFTER_AFTER_FRAMESET: {
19744
- Br(this, t);
19744
+ Rr(this, t);
19745
19745
  break;
19746
19746
  }
19747
19747
  }
@@ -19833,7 +19833,7 @@ function Tg(e, t, a) {
19833
19833
  const l = e.treeAdapter.getNamespaceURI(a.element), { token: n } = a, r = e.treeAdapter.createElement(n.tagName, l, n.attrs);
19834
19834
  e._adoptNodes(t, r), e.treeAdapter.appendChild(t, r), e.activeFormattingElements.insertElementAfterBookmark(r, n), e.activeFormattingElements.removeEntry(a), e.openElements.remove(a.element), e.openElements.insertAfter(t, r, n.tagID);
19835
19835
  }
19836
- function Rr(e, t) {
19836
+ function Mr(e, t) {
19837
19837
  for (let a = 0; a < pg; a++) {
19838
19838
  const l = mg(e, t);
19839
19839
  if (!l)
@@ -19846,7 +19846,7 @@ function Rr(e, t) {
19846
19846
  e.treeAdapter.detachNode(r), i && yg(e, i, r), Tg(e, n, l);
19847
19847
  }
19848
19848
  }
19849
- function or(e, t) {
19849
+ function sr(e, t) {
19850
19850
  e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
19851
19851
  }
19852
19852
  function xg(e, t) {
@@ -19855,7 +19855,7 @@ function xg(e, t) {
19855
19855
  function Ag(e, t) {
19856
19856
  e._appendCommentNode(t, e.document);
19857
19857
  }
19858
- function Br(e, t) {
19858
+ function Rr(e, t) {
19859
19859
  if (e.stopped = !0, t.location) {
19860
19860
  const a = e.fragmentContext ? 0 : 2;
19861
19861
  for (let l = e.openElements.stackTop; l >= a; l--)
@@ -20084,7 +20084,7 @@ function Kl(e, t) {
20084
20084
  break;
20085
20085
  }
20086
20086
  case Ce.COMMENT: {
20087
- or(e, t);
20087
+ sr(e, t);
20088
20088
  break;
20089
20089
  }
20090
20090
  case Ce.START_TAG: {
@@ -20122,7 +20122,7 @@ function Bg(e, t) {
20122
20122
  e.openElements.hasInButtonScope(p.P) && e._closePElement(), e._insertElement(t, ee.HTML);
20123
20123
  }
20124
20124
  function Fg(e, t) {
20125
- e.openElements.hasInButtonScope(p.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && sr.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, ee.HTML);
20125
+ e.openElements.hasInButtonScope(p.P) && e._closePElement(), e.openElements.currentTagId !== void 0 && ur.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, ee.HTML);
20126
20126
  }
20127
20127
  function Hg(e, t) {
20128
20128
  e.openElements.hasInButtonScope(p.P) && e._closePElement(), e._insertElement(t, ee.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
@@ -20153,13 +20153,13 @@ function zg(e, t) {
20153
20153
  }
20154
20154
  function Vg(e, t) {
20155
20155
  const a = e.activeFormattingElements.getElementEntryInScopeWithTagName(W.A);
20156
- a && (Rr(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, ee.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
20156
+ a && (Mr(e, t), e.openElements.remove(a.element), e.activeFormattingElements.removeEntry(a)), e._reconstructActiveFormattingElements(), e._insertElement(t, ee.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
20157
20157
  }
20158
20158
  function Gg(e, t) {
20159
20159
  e._reconstructActiveFormattingElements(), e._insertElement(t, ee.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
20160
20160
  }
20161
20161
  function Yg(e, t) {
20162
- e._reconstructActiveFormattingElements(), e.openElements.hasInScope(p.NOBR) && (Rr(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, ee.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
20162
+ e._reconstructActiveFormattingElements(), e.openElements.hasInScope(p.NOBR) && (Mr(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, ee.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
20163
20163
  }
20164
20164
  function Wg(e, t) {
20165
20165
  e._reconstructActiveFormattingElements(), e._insertElement(t, ee.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
@@ -20211,10 +20211,10 @@ function rE(e, t) {
20211
20211
  e.openElements.hasInScope(p.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(p.RTC), e._insertElement(t, ee.HTML);
20212
20212
  }
20213
20213
  function iE(e, t) {
20214
- e._reconstructActiveFormattingElements(), oo(t), Mr(t), t.selfClosing ? e._appendElement(t, ee.MATHML) : e._insertElement(t, ee.MATHML), t.ackSelfClosing = !0;
20214
+ e._reconstructActiveFormattingElements(), oo(t), Pr(t), t.selfClosing ? e._appendElement(t, ee.MATHML) : e._insertElement(t, ee.MATHML), t.ackSelfClosing = !0;
20215
20215
  }
20216
20216
  function uE(e, t) {
20217
- e._reconstructActiveFormattingElements(), co(t), Mr(t), t.selfClosing ? e._appendElement(t, ee.SVG) : e._insertElement(t, ee.SVG), t.ackSelfClosing = !0;
20217
+ e._reconstructActiveFormattingElements(), co(t), Pr(t), t.selfClosing ? e._appendElement(t, ee.SVG) : e._insertElement(t, ee.SVG), t.ackSelfClosing = !0;
20218
20218
  }
20219
20219
  function _u(e, t) {
20220
20220
  e._reconstructActiveFormattingElements(), e._insertElement(t, ee.HTML);
@@ -20494,7 +20494,7 @@ function Xl(e, t) {
20494
20494
  case p.SMALL:
20495
20495
  case p.STRIKE:
20496
20496
  case p.STRONG: {
20497
- Rr(e, t);
20497
+ Mr(e, t);
20498
20498
  break;
20499
20499
  }
20500
20500
  case p.P: {
@@ -20580,7 +20580,7 @@ function Xl(e, t) {
20580
20580
  }
20581
20581
  }
20582
20582
  function go(e, t) {
20583
- e.tmplInsertionModeStack.length > 0 ? Co(e, t) : Br(e, t);
20583
+ e.tmplInsertionModeStack.length > 0 ? Co(e, t) : Rr(e, t);
20584
20584
  }
20585
20585
  function gE(e, t) {
20586
20586
  var a;
@@ -20611,7 +20611,7 @@ function TE(e, t) {
20611
20611
  e.openElements.clearBackToTableContext(), e._insertElement(t, ee.HTML), e.insertionMode = U.IN_COLUMN_GROUP;
20612
20612
  }
20613
20613
  function xE(e, t) {
20614
- e.openElements.clearBackToTableContext(), e._insertFakeElement(W.COLGROUP, p.COLGROUP), e.insertionMode = U.IN_COLUMN_GROUP, Fr(e, t);
20614
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(W.COLGROUP, p.COLGROUP), e.insertionMode = U.IN_COLUMN_GROUP, Br(e, t);
20615
20615
  }
20616
20616
  function AE(e, t) {
20617
20617
  e.openElements.clearBackToTableContext(), e._insertElement(t, ee.HTML), e.insertionMode = U.IN_TABLE_BODY;
@@ -20750,7 +20750,7 @@ function NE(e, t) {
20750
20750
  Xl(e, t);
20751
20751
  }
20752
20752
  }
20753
- function Fr(e, t) {
20753
+ function Br(e, t) {
20754
20754
  switch (t.tagID) {
20755
20755
  case p.HTML: {
20756
20756
  Qe(e, t);
@@ -20811,7 +20811,7 @@ function Ql(e, t) {
20811
20811
  ha(e, t);
20812
20812
  }
20813
20813
  }
20814
- function cr(e, t) {
20814
+ function or(e, t) {
20815
20815
  const a = t.tagID;
20816
20816
  switch (t.tagID) {
20817
20817
  case p.TBODY:
@@ -20865,13 +20865,13 @@ function xo(e, t) {
20865
20865
  break;
20866
20866
  }
20867
20867
  case p.TABLE: {
20868
- e.openElements.hasInTableScope(p.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = U.IN_TABLE_BODY, cr(e, t));
20868
+ e.openElements.hasInTableScope(p.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = U.IN_TABLE_BODY, or(e, t));
20869
20869
  break;
20870
20870
  }
20871
20871
  case p.TBODY:
20872
20872
  case p.TFOOT:
20873
20873
  case p.THEAD: {
20874
- (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(p.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = U.IN_TABLE_BODY, cr(e, t));
20874
+ (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(p.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = U.IN_TABLE_BODY, or(e, t));
20875
20875
  break;
20876
20876
  }
20877
20877
  case p.BODY:
@@ -21002,7 +21002,7 @@ function ME(e, t) {
21002
21002
  break;
21003
21003
  }
21004
21004
  case p.COL: {
21005
- e.tmplInsertionModeStack[0] = U.IN_COLUMN_GROUP, e.insertionMode = U.IN_COLUMN_GROUP, Fr(e, t);
21005
+ e.tmplInsertionModeStack[0] = U.IN_COLUMN_GROUP, e.insertionMode = U.IN_COLUMN_GROUP, Br(e, t);
21006
21006
  break;
21007
21007
  }
21008
21008
  case p.TR: {
@@ -21022,7 +21022,7 @@ function RE(e, t) {
21022
21022
  t.tagID === p.TEMPLATE && aa(e, t);
21023
21023
  }
21024
21024
  function Co(e, t) {
21025
- e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(p.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Br(e, t);
21025
+ e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(p.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Rr(e, t);
21026
21026
  }
21027
21027
  function BE(e, t) {
21028
21028
  t.tagID === p.HTML ? Qe(e, t) : ql(e, t);
@@ -21112,7 +21112,7 @@ function YE(e, t) {
21112
21112
  _o(e), e._startTagOutsideForeignContent(t);
21113
21113
  else {
21114
21114
  const a = e._getAdjustedCurrentElement(), l = e.treeAdapter.getNamespaceURI(a);
21115
- l === ee.MATHML ? oo(t) : l === ee.SVG && (sg(t), co(t)), Mr(t), t.selfClosing ? e._appendElement(t, l) : e._insertElement(t, l), t.ackSelfClosing = !0;
21115
+ l === ee.MATHML ? oo(t) : l === ee.SVG && (sg(t), co(t)), Pr(t), t.selfClosing ? e._appendElement(t, l) : e._insertElement(t, l), t.ackSelfClosing = !0;
21116
21116
  }
21117
21117
  }
21118
21118
  function WE(e, t) {
@@ -21905,7 +21905,7 @@ const T1 = [
21905
21905
  /* 7: Prohibited (numeric) */
21906
21906
  "Numeric character references cannot be outside the permissible Unicode range"
21907
21907
  ];
21908
- function Hr(e, t) {
21908
+ function Fr(e, t) {
21909
21909
  const a = t || {}, l = typeof a.additional == "string" ? a.additional.charCodeAt(0) : a.additional, n = [];
21910
21910
  let r = 0, i = -1, u = "", s, o;
21911
21911
  a.position && ("start" in a.position || "indent" in a.position ? (o = a.position.indent, s = a.position.start) : s = a.position);
@@ -22183,15 +22183,15 @@ function B1(e) {
22183
22183
  }
22184
22184
  }
22185
22185
  function F1(e) {
22186
- $r.call(this, "containerDirective", e);
22186
+ Hr.call(this, "containerDirective", e);
22187
22187
  }
22188
22188
  function H1(e) {
22189
- $r.call(this, "leafDirective", e);
22189
+ Hr.call(this, "leafDirective", e);
22190
22190
  }
22191
22191
  function $1(e) {
22192
- $r.call(this, "textDirective", e);
22192
+ Hr.call(this, "textDirective", e);
22193
22193
  }
22194
- function $r(e, t) {
22194
+ function Hr(e, t) {
22195
22195
  this.enter({ type: e, name: "", attributes: {}, children: [] }, t);
22196
22196
  }
22197
22197
  function Mn(e) {
@@ -22213,18 +22213,18 @@ function Rn() {
22213
22213
  function Bn(e) {
22214
22214
  this.data.directiveAttributes.push([
22215
22215
  "id",
22216
- Hr(this.sliceSerialize(e), { attribute: !0 })
22216
+ Fr(this.sliceSerialize(e), { attribute: !0 })
22217
22217
  ]);
22218
22218
  }
22219
22219
  function Fn(e) {
22220
22220
  this.data.directiveAttributes.push([
22221
22221
  "class",
22222
- Hr(this.sliceSerialize(e), { attribute: !0 })
22222
+ Fr(this.sliceSerialize(e), { attribute: !0 })
22223
22223
  ]);
22224
22224
  }
22225
22225
  function Hn(e) {
22226
22226
  const t = this.data.directiveAttributes;
22227
- t[t.length - 1][1] = Hr(this.sliceSerialize(e), {
22227
+ t[t.length - 1][1] = Fr(this.sliceSerialize(e), {
22228
22228
  attribute: !0
22229
22229
  });
22230
22230
  }
@@ -22262,7 +22262,7 @@ function V1(e) {
22262
22262
  }
22263
22263
  }), t += 3) : e.type === "leafDirective" ? t = 2 : t = 1, ":".repeat(t);
22264
22264
  }
22265
- function Ur(e, t, a, l, n, r, i, u, s, o, c, d, h, f, E) {
22265
+ function $r(e, t, a, l, n, r, i, u, s, o, c, d, h, f, E) {
22266
22266
  let g, m;
22267
22267
  return y;
22268
22268
  function y(T) {
@@ -22327,7 +22327,7 @@ function Ur(e, t, a, l, n, r, i, u, s, o, c, d, h, f, E) {
22327
22327
  return T === 125 ? (e.enter(n), e.consume(T), e.exit(n), e.exit(l), t) : a(T);
22328
22328
  }
22329
22329
  }
22330
- function qr(e, t, a, l, n, r, i) {
22330
+ function Ur(e, t, a, l, n, r, i) {
22331
22331
  let u = 0, s = 0, o;
22332
22332
  return c;
22333
22333
  function c(m) {
@@ -22356,7 +22356,7 @@ function qr(e, t, a, l, n, r, i) {
22356
22356
  return e.exit(r), e.enter(n), e.consume(m), e.exit(n), e.exit(l), t;
22357
22357
  }
22358
22358
  }
22359
- function zr(e, t, a, l) {
22359
+ function qr(e, t, a, l) {
22360
22360
  const n = this;
22361
22361
  return r;
22362
22362
  function r(u) {
@@ -22387,7 +22387,7 @@ function j1(e, t, a) {
22387
22387
  return e.enter("directiveContainer"), e.enter("directiveContainerFence"), e.enter("directiveContainerSequence"), o(w);
22388
22388
  }
22389
22389
  function o(w) {
22390
- return w === 58 ? (e.consume(w), i++, o) : i < 3 ? a(w) : (e.exit("directiveContainerSequence"), zr.call(l, e, c, a, "directiveContainerName")(w));
22390
+ return w === 58 ? (e.consume(w), i++, o) : i < 3 ? a(w) : (e.exit("directiveContainerSequence"), qr.call(l, e, c, a, "directiveContainerName")(w));
22391
22391
  }
22392
22392
  function c(w) {
22393
22393
  return w === 91 ? e.attempt(Y1, d, d)(w) : d(w);
@@ -22460,10 +22460,10 @@ function j1(e, t, a) {
22460
22460
  }
22461
22461
  }
22462
22462
  function K1(e, t, a) {
22463
- return qr(e, t, a, "directiveContainerLabel", "directiveContainerLabelMarker", "directiveContainerLabelString", !0);
22463
+ return Ur(e, t, a, "directiveContainerLabel", "directiveContainerLabelMarker", "directiveContainerLabelString", !0);
22464
22464
  }
22465
22465
  function X1(e, t, a) {
22466
- return Ur(e, t, a, "directiveContainerAttributes", "directiveContainerAttributesMarker", "directiveContainerAttribute", "directiveContainerAttributeId", "directiveContainerAttributeClass", "directiveContainerAttributeName", "directiveContainerAttributeInitializerMarker", "directiveContainerAttributeValueLiteral", "directiveContainerAttributeValue", "directiveContainerAttributeValueMarker", "directiveContainerAttributeValueData", !0);
22466
+ return $r(e, t, a, "directiveContainerAttributes", "directiveContainerAttributesMarker", "directiveContainerAttribute", "directiveContainerAttributeId", "directiveContainerAttributeClass", "directiveContainerAttributeName", "directiveContainerAttributeInitializerMarker", "directiveContainerAttributeValueLiteral", "directiveContainerAttributeValue", "directiveContainerAttributeValueMarker", "directiveContainerAttributeValueData", !0);
22467
22467
  }
22468
22468
  function Q1(e, t, a) {
22469
22469
  const l = this;
@@ -22491,7 +22491,7 @@ function ty(e, t, a) {
22491
22491
  return e.enter("directiveLeaf"), e.enter("directiveLeafSequence"), e.consume(c), r;
22492
22492
  }
22493
22493
  function r(c) {
22494
- return c === 58 ? (e.consume(c), e.exit("directiveLeafSequence"), zr.call(l, e, i, a, "directiveLeafName")) : a(c);
22494
+ return c === 58 ? (e.consume(c), e.exit("directiveLeafSequence"), qr.call(l, e, i, a, "directiveLeafName")) : a(c);
22495
22495
  }
22496
22496
  function i(c) {
22497
22497
  return c === 91 ? e.attempt(Z1, u, u)(c) : u(c);
@@ -22507,10 +22507,10 @@ function ty(e, t, a) {
22507
22507
  }
22508
22508
  }
22509
22509
  function ay(e, t, a) {
22510
- return qr(e, t, a, "directiveLeafLabel", "directiveLeafLabelMarker", "directiveLeafLabelString", !0);
22510
+ return Ur(e, t, a, "directiveLeafLabel", "directiveLeafLabelMarker", "directiveLeafLabelString", !0);
22511
22511
  }
22512
22512
  function ly(e, t, a) {
22513
- return Ur(e, t, a, "directiveLeafAttributes", "directiveLeafAttributesMarker", "directiveLeafAttribute", "directiveLeafAttributeId", "directiveLeafAttributeClass", "directiveLeafAttributeName", "directiveLeafAttributeInitializerMarker", "directiveLeafAttributeValueLiteral", "directiveLeafAttributeValue", "directiveLeafAttributeValueMarker", "directiveLeafAttributeValueData", !0);
22513
+ return $r(e, t, a, "directiveLeafAttributes", "directiveLeafAttributesMarker", "directiveLeafAttribute", "directiveLeafAttributeId", "directiveLeafAttributeClass", "directiveLeafAttributeName", "directiveLeafAttributeInitializerMarker", "directiveLeafAttributeValueLiteral", "directiveLeafAttributeValue", "directiveLeafAttributeValueMarker", "directiveLeafAttributeValueData", !0);
22514
22514
  }
22515
22515
  const ny = {
22516
22516
  tokenize: sy,
@@ -22529,7 +22529,7 @@ function sy(e, t, a) {
22529
22529
  const l = this;
22530
22530
  return n;
22531
22531
  function n(s) {
22532
- return e.enter("directiveText"), e.enter("directiveTextMarker"), e.consume(s), e.exit("directiveTextMarker"), zr.call(l, e, r, a, "directiveTextName");
22532
+ return e.enter("directiveText"), e.enter("directiveTextMarker"), e.consume(s), e.exit("directiveTextMarker"), qr.call(l, e, r, a, "directiveTextName");
22533
22533
  }
22534
22534
  function r(s) {
22535
22535
  return s === 58 ? a(s) : s === 91 ? e.attempt(ry, i, i)(s) : i(s);
@@ -22542,10 +22542,10 @@ function sy(e, t, a) {
22542
22542
  }
22543
22543
  }
22544
22544
  function oy(e, t, a) {
22545
- return qr(e, t, a, "directiveTextLabel", "directiveTextLabelMarker", "directiveTextLabelString");
22545
+ return Ur(e, t, a, "directiveTextLabel", "directiveTextLabelMarker", "directiveTextLabelString");
22546
22546
  }
22547
22547
  function cy(e, t, a) {
22548
- return Ur(e, t, a, "directiveTextAttributes", "directiveTextAttributesMarker", "directiveTextAttribute", "directiveTextAttributeId", "directiveTextAttributeClass", "directiveTextAttributeName", "directiveTextAttributeInitializerMarker", "directiveTextAttributeValueLiteral", "directiveTextAttributeValue", "directiveTextAttributeValueMarker", "directiveTextAttributeValueData");
22548
+ return $r(e, t, a, "directiveTextAttributes", "directiveTextAttributesMarker", "directiveTextAttribute", "directiveTextAttributeId", "directiveTextAttributeClass", "directiveTextAttributeName", "directiveTextAttributeInitializerMarker", "directiveTextAttributeValueLiteral", "directiveTextAttributeValue", "directiveTextAttributeValueMarker", "directiveTextAttributeValueData");
22549
22549
  }
22550
22550
  function dy() {
22551
22551
  return {
@@ -23184,7 +23184,7 @@ const py = {
23184
23184
  }, ky = (e, t) => {
23185
23185
  const a = Ro(e, t);
23186
23186
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${_y}${a}</span>` : a;
23187
- }, Bu = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, dr = (e) => {
23187
+ }, Bu = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, cr = (e) => {
23188
23188
  const t = (e ?? "").trim();
23189
23189
  if (!t || !(t.startsWith("{") && t.endsWith("}"))) return !1;
23190
23190
  try {
@@ -23195,8 +23195,8 @@ const py = {
23195
23195
  } catch {
23196
23196
  return !1;
23197
23197
  }
23198
- }, fr = (e, t, a) => `<span contenteditable="false" class="rte-tutorial-btn${a ? " hidden" : ""}" data-upload-key="${e}" data-tooltip="${he(t)}"><i class="iconfont icon-tishi rte-tutorial-btn-icon"></i><span class="rte-tutorial-btn-text">查看教程</span></span>`, Ny = (e) => /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i.test(e);
23199
- function pr(e, t) {
23198
+ }, dr = (e, t, a) => `<span contenteditable="false" class="rte-tutorial-btn${a ? " hidden" : ""}" data-upload-key="${e}" data-tooltip="${he(t)}"><i class="iconfont icon-tishi rte-tutorial-btn-icon"></i><span class="rte-tutorial-btn-text">查看教程</span></span>`, Ny = (e) => /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i.test(e);
23199
+ function fr(e, t) {
23200
23200
  if (e == null)
23201
23201
  return { hasFile: !1, fileName: t, uploadIcon: "<i class='iconfont icon-shangchuan1'></i>" };
23202
23202
  if (typeof e == "string") {
@@ -23207,7 +23207,7 @@ function pr(e, t) {
23207
23207
  return { hasFile: !0, fileName: e.name, uploadIcon: a };
23208
23208
  }
23209
23209
  const Bo = (e, t) => {
23210
- const a = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", l = ot(e.tooltip), n = l ? ` data-tooltip="${he(l)}"` : "", { hasFile: r, fileName: i, uploadIcon: u } = pr(t[e.key], e.text), s = r ? "" : "hidden", o = l && !r ? "" : "hidden", c = r ? "has-file" : "", d = (r ? i : e.text || e.placeholder) || "", h = d ? ` data-file-name="${d.replace(/"/g, "&quot;")}"` : "", f = (e.text || "").trim(), g = r && f.length >= 12 ? `<span ${a} contenteditable="false" class="exclusion-wrapper upload-hint">${f}</span>` : "", m = dr(l), y = m ? fr(e.key, l, r) : "", v = l && !m ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${o}" data-upload-key="${e.key}" data-tooltip="${he(l)}" ></i>` : "";
23210
+ const a = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", l = ot(e.tooltip), n = l ? ` data-tooltip="${he(l)}"` : "", { hasFile: r, fileName: i, uploadIcon: u } = fr(t[e.key], e.text), s = r ? "" : "hidden", o = l && !r ? "" : "hidden", c = r ? "has-file" : "", d = (r ? i : e.text || e.placeholder) || "", h = d ? ` data-file-name="${d.replace(/"/g, "&quot;")}"` : "", f = (e.text || "").trim(), g = r && f.length >= 12 ? `<span ${a} contenteditable="false" class="exclusion-wrapper upload-hint">${f}</span>` : "", m = cr(l), y = m ? dr(e.key, l, r) : "", v = l && !m ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${o}" data-upload-key="${e.key}" data-tooltip="${he(l)}" ></i>` : "";
23211
23211
  return { uploadHtml: `<span contenteditable="false" data-type="upload" data-key="${e.key}"${n} class="upload-chip"><span class="upload-inner-wrapper ${c}"><span class="upload-icon">${u}</span><span class="upload-label"${h}>${i || e.text}</span>${y}${v}<span class="file-remove-btn ${s}" title="移除文件">×</span></span></span>`, hintHtml: g };
23212
23212
  }, Fo = (e, t, a) => {
23213
23213
  const l = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "";
@@ -23218,15 +23218,15 @@ const Bo = (e, t) => {
23218
23218
  const L = `${e.key}-${T}`;
23219
23219
  t[L] != null && (O += 1);
23220
23220
  }
23221
- const D = Math.min(w, Math.max(k, O + (O < w ? 1 : 0))), F = dr(C);
23221
+ const D = Math.min(w, Math.max(k, O + (O < w ? 1 : 0))), F = cr(C);
23222
23222
  let M = "";
23223
23223
  for (let T = 0; T < D; T++) {
23224
- const L = `${e.key}-${T}`, { hasFile: $, fileName: B, uploadIcon: H } = pr(t[L], e.text), N = $ ? "" : "hidden", Y = C && !$ ? "" : "hidden", z = $ ? "has-file" : "", S = ($ ? B : e.text || e.placeholder) || "", q = S ? ` data-file-name="${S.replace(/"/g, "&quot;")}"` : "", V = ` data-batch-key="${e.key}"`, K = ` data-batch-index="${T}"`, j = F ? fr(L, C, $) : "", te = C && !F ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${Y}" data-upload-key="${L}" data-tooltip="${he(C)}" ></i>` : "", de = `<span contenteditable="false" data-type="upload" data-key="${L}"${V}${K}${_} class="upload-chip upload-chip-batch"><span class="upload-inner-wrapper ${z}"><span class="upload-icon">${H}</span><span class="upload-label"${q}>${B || e.text}</span>${j}${te}<span class="file-remove-btn ${N}" title="移除文件">×</span></span></span>`;
23224
+ const L = `${e.key}-${T}`, { hasFile: $, fileName: B, uploadIcon: H } = fr(t[L], e.text), N = $ ? "" : "hidden", Y = C && !$ ? "" : "hidden", z = $ ? "has-file" : "", S = ($ ? B : e.text || e.placeholder) || "", q = S ? ` data-file-name="${S.replace(/"/g, "&quot;")}"` : "", V = ` data-batch-key="${e.key}"`, K = ` data-batch-index="${T}"`, j = F ? dr(L, C, $) : "", te = C && !F ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${Y}" data-upload-key="${L}" data-tooltip="${he(C)}" ></i>` : "", de = `<span contenteditable="false" data-type="upload" data-key="${L}"${V}${K}${_} class="upload-chip upload-chip-batch"><span class="upload-inner-wrapper ${z}"><span class="upload-icon">${H}</span><span class="upload-label"${q}>${B || e.text}</span>${j}${te}<span class="file-remove-btn ${N}" title="移除文件">×</span></span></span>`;
23225
23225
  M += de;
23226
23226
  }
23227
23227
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group rte-required-upload-batch">${Bu}<span class="rte-upload-batch-chips">${M}${a}</span></span>` : `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper rte-upload-batch-chips">${M}${a}</span>`;
23228
23228
  }
23229
- const r = ot(e.tooltip), i = r ? ` data-tooltip="${he(r)}"` : "", { hasFile: u, fileName: s, uploadIcon: o } = pr(t[e.key], e.text), c = u ? "" : "hidden", d = r && !u ? "" : "hidden", h = u ? "has-file" : "", f = (u ? s : e.text || e.placeholder) || "", E = f ? ` data-file-name="${f.replace(/"/g, "&quot;")}"` : "", g = (e.text || "").trim(), y = u && e.showHint === !0 && g.length >= 12 ? `<span ${l} contenteditable="false" class="exclusion-wrapper upload-hint">${g}</span>` : "", v = dr(r), b = v ? fr(e.key, r, u) : "", A = r && !v ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${d}" data-upload-key="${e.key}" data-tooltip="${he(r)}" ></i>` : "", x = `<span contenteditable="false" data-type="upload" data-key="${e.key}"${i} class="upload-chip"><span class="upload-inner-wrapper ${h}"><span class="upload-icon">${o}</span><span class="upload-label"${E}>${s || e.text}</span>${b}${A}<span class="file-remove-btn ${c}" title="移除文件">×</span></span></span>`;
23229
+ const r = ot(e.tooltip), i = r ? ` data-tooltip="${he(r)}"` : "", { hasFile: u, fileName: s, uploadIcon: o } = fr(t[e.key], e.text), c = u ? "" : "hidden", d = r && !u ? "" : "hidden", h = u ? "has-file" : "", f = (u ? s : e.text || e.placeholder) || "", E = f ? ` data-file-name="${f.replace(/"/g, "&quot;")}"` : "", g = (e.text || "").trim(), y = u && e.showHint === !0 && g.length >= 12 ? `<span ${l} contenteditable="false" class="exclusion-wrapper upload-hint">${g}</span>` : "", v = cr(r), b = v ? dr(e.key, r, u) : "", A = r && !v ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${d}" data-upload-key="${e.key}" data-tooltip="${he(r)}" ></i>` : "", x = `<span contenteditable="false" data-type="upload" data-key="${e.key}"${i} class="upload-chip"><span class="upload-inner-wrapper ${h}"><span class="upload-icon">${o}</span><span class="upload-label"${E}>${s || e.text}</span>${b}${A}<span class="file-remove-btn ${c}" title="移除文件">×</span></span></span>`;
23230
23230
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${Bu}${x}${a}</span>${y}` : x + a + y;
23231
23231
  }, Iy = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Ly = (e, t) => {
23232
23232
  const a = t[e.key] || e.defaultValue || "", l = encodeURIComponent(JSON.stringify(e.options || [])), n = e.placeholder ? ` data-placeholder="${e.placeholder}"` : "", r = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", i = e.required ? ' data-required="true"' : "", u = `<span data-type="select" data-key="${e.key}" data-value="${a}" data-options="${l}"${n}${r}${i} class="rte-select-host"></span>`;
@@ -23294,7 +23294,7 @@ const Bo = (e, t) => {
23294
23294
  }, jy = (e, t, a) => Ho(e, t, a, !0).replace(
23295
23295
  /data-node-type="multi-variable"/g,
23296
23296
  'data-node-type="multi-variable-select"'
23297
- ), hr = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Ky = (e) => {
23297
+ ), pr = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Ky = (e) => {
23298
23298
  const t = (e ?? "").trim();
23299
23299
  if (!t || !(t.startsWith("{") && t.endsWith("}"))) return !1;
23300
23300
  try {
@@ -23316,10 +23316,10 @@ const Bo = (e, t) => {
23316
23316
  u = `<span class="video-inner-wrapper video-url-inner has-video">${l.thumbnail ? `<span class="video-thumbnail-wrapper"><img class="video-thumbnail" src="${he(l.thumbnail)}" alt="thumbnail" />${c}</span>` : `<span class="video-thumbnail-wrapper"><span class="video-thumbnail video-thumbnail-placeholder"><i class="iconfont icon-shipin" style="font-size:20px;color:#8c8c8c;"></i></span>${c}</span>`}<span class="video-label" data-file-name="${he(o)}">${he(o)}</span><span class="video-remove-btn" title="移除视频">×</span></span>`;
23317
23317
  } else {
23318
23318
  const o = e.placeholder || "请粘贴想要分析的抖音视频链接", c = Ky(r), d = r ? "rte-variable-with-icon" : "", h = r ? c ? Xy(a, r) : `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi variable-info-icon" data-variable-key="${a}" data-tooltip="${he(r)}" ></i>` : "", f = `<span contenteditable="true" data-type="variable" data-key="${a}" data-node-type="video-url" data-placeholder="${he(o)}"${n}${i} class="variable-chip rte-video-url show-placeholder${d ? ` ${d}` : ""}">​${h}</span>`;
23319
- return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${hr}${f}</span>` : f;
23319
+ return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${pr}${f}</span>` : f;
23320
23320
  }
23321
23321
  const s = `<span contenteditable="false" data-type="video-url" data-key="${a}"${i}${n} class="video-chip">${u}</span>`;
23322
- return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${hr}${s}</span>` : s;
23322
+ return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${pr}${s}</span>` : s;
23323
23323
  }, Uo = (e, t) => {
23324
23324
  const a = e.key, l = t[a], n = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", r = ot(e.tooltip), i = r ? ` data-tooltip="${he(r)}"` : "";
23325
23325
  let u;
@@ -23334,7 +23334,7 @@ const Bo = (e, t) => {
23334
23334
  u = `<span class="video-inner-wrapper video-upload-inner"><i class="iconfont icon-shangchuan1" style="font-size:16px;"></i><span class="video-label"${` data-file-name="${he(o).replace(/"/g, "&quot;")}"`}>${he(o)}</span>${r ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${c}" data-upload-key="${a}" data-tooltip="${he(r)}" ></i>` : ""}</span>`;
23335
23335
  }
23336
23336
  const s = `<span contenteditable="false" data-type="video-upload" data-key="${a}"${i}${n} class="video-chip">${u}</span>`;
23337
- return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${hr}${s}</span>` : s;
23337
+ return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${pr}${s}</span>` : s;
23338
23338
  }, Qy = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Jy = (e, t) => {
23339
23339
  const a = t[e.key] || e.defaultValue || "", l = encodeURIComponent(JSON.stringify(e.options || [])), n = e.placeholder ? ` data-placeholder="${e.placeholder}"` : "", r = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", i = e.required ? ' data-required="true"' : "", u = `<span data-type="searchable-select" data-key="${e.key}" data-value="${a}" data-options="${l}"${n}${r}${i} class="rte-searchable-select-host"></span>`;
23340
23340
  return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${Qy}${u}</span>` : u;
@@ -29811,7 +29811,7 @@ function cT(e, t, a, l, n) {
29811
29811
  function dT(e, t, a, l, n, r, i, u) {
29812
29812
  ne(() => {
29813
29813
  const s = setTimeout(() => {
29814
- Ka(e, t, a, n), gr(e, t, a, l, n, {
29814
+ Ka(e, t, a, n), vr(e, t, a, l, n, {
29815
29815
  reportAnalyzeState: i,
29816
29816
  requireReportUrlAnalyze: u
29817
29817
  });
@@ -30168,7 +30168,7 @@ function Vo() {
30168
30168
  }(Il)), Il.exports;
30169
30169
  }
30170
30170
  var hT = Vo();
30171
- const Ll = /* @__PURE__ */ xr(hT);
30171
+ const Ll = /* @__PURE__ */ Tr(hT);
30172
30172
  var Ol = { exports: {} }, bT = Ol.exports, Hu;
30173
30173
  function mT() {
30174
30174
  return Hu || (Hu = 1, function(e, t) {
@@ -30514,7 +30514,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30514
30514
  }, []), Xo = ue(() => {
30515
30515
  const Q = qe.current;
30516
30516
  Q && Q.scrollBy({ left: -200, behavior: "smooth" });
30517
- }, []), Vr = ue(() => {
30517
+ }, []), zr = ue(() => {
30518
30518
  l || xe(!0);
30519
30519
  }, [l]);
30520
30520
  ne(() => {
@@ -30558,20 +30558,20 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30558
30558
  setPopoverVisible: je,
30559
30559
  isDraggingRef: en,
30560
30560
  mouseDownPosRef: Qo
30561
- }), [Gr, hl] = re(!1), tn = Z(null), [Yr, Wr] = re(!0), ac = Z(0), [jr, lc] = re(58), [nc, rc] = re(58), [an, ic] = re(!1), [uc, sc] = re(!1), [xa, ln] = re(null), Aa = Z(!1), wa = Z(!1), ht = Z(null), [la, Ca] = re({}), Ot = Z(() => {
30561
+ }), [Vr, hl] = re(!1), tn = Z(null), [Gr, Yr] = re(!0), ac = Z(0), [Wr, lc] = re(58), [nc, rc] = re(58), [an, ic] = re(!1), [uc, sc] = re(!1), [xa, ln] = re(null), Aa = Z(!1), wa = Z(!1), ht = Z(null), [la, Ca] = re({}), Ot = Z(() => {
30562
30562
  }), Vt = Z({}), nn = Z(!1), bl = Z(null), Sa = ue(() => {
30563
30563
  nn.current = !0, bl.current !== null && window.clearTimeout(bl.current), bl.current = window.setTimeout(() => {
30564
30564
  nn.current = !1, bl.current = null;
30565
30565
  }, 50);
30566
- }, []), [Gt, ml] = re({}), Kr = Z(() => {
30566
+ }, []), [Gt, ml] = re({}), jr = Z(() => {
30567
30567
  }), oc = Z({}), rn = Z(Gt);
30568
30568
  ne(() => {
30569
30569
  rn.current = Gt;
30570
30570
  }, [Gt]);
30571
- const [Yt, un] = re({}), Xr = Z(() => {
30572
- }), Qr = Z(Yt);
30571
+ const [Yt, un] = re({}), Kr = Z(() => {
30572
+ }), Xr = Z(Yt);
30573
30573
  ne(() => {
30574
- Qr.current = Yt;
30574
+ Xr.current = Yt;
30575
30575
  }, [Yt]);
30576
30576
  const [bt, _a] = re(() => {
30577
30577
  const Q = {};
@@ -30595,8 +30595,8 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30595
30595
  nodeValues: O,
30596
30596
  resolvedReportNamesRef: Vt
30597
30597
  });
30598
- const Jr = Z(O);
30599
- if (O !== Jr.current && (Jr.current = O, O)) {
30598
+ const Qr = Z(O);
30599
+ if (O !== Qr.current && (Qr.current = O, O)) {
30600
30600
  const Q = {};
30601
30601
  let oe = !1;
30602
30602
  e.forEach((se) => {
@@ -30615,7 +30615,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30615
30615
  markdownAnalyzeState: Gt,
30616
30616
  markdownNameAnalyzeState: Yt
30617
30617
  }), vl = Z(() => {
30618
- }), { handleReportUrlBlur: cc, handleMarkdownBlur: dc, handleMarkdownNameBlur: fc, handleMultiVariableNameResolve: Zr } = Kd({
30618
+ }), { handleReportUrlBlur: cc, handleMarkdownBlur: dc, handleMarkdownNameBlur: fc, handleMultiVariableNameResolve: Jr } = Kd({
30619
30619
  reportAnalyze: A,
30620
30620
  markdownAnalyze: x,
30621
30621
  markdownNameAnalyze: C,
@@ -30627,10 +30627,10 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30627
30627
  setMarkdownNameAnalyzeState: un,
30628
30628
  editorRef: j,
30629
30629
  reportAnalyzeRef: Ot,
30630
- markdownAnalyzeRef: Kr,
30631
- markdownNameAnalyzeRef: Xr,
30630
+ markdownAnalyzeRef: jr,
30631
+ markdownNameAnalyzeRef: Kr,
30632
30632
  markdownAnalyzeStateRef: rn,
30633
- markdownNameAnalyzeStateRef: Qr,
30633
+ markdownNameAnalyzeStateRef: Xr,
30634
30634
  reportNameResolve: Y,
30635
30635
  applyReportNameChipRef: vl
30636
30636
  });
@@ -30652,10 +30652,10 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30652
30652
  );
30653
30653
  if (!me || me.getAttribute("data-report-url")) return;
30654
30654
  const ve = (me.innerText || "").replace(/[\u200B\n]/g, "").trim(), Te = me.dataset.multiKey, Le = (Te ? Pe.find((Ge) => Ke(Ge.type) && Ge.key === Te) : void 0)?.type === "multi-variable-select" ? "multi-variable-select" : "multi-variable";
30655
- Zr(ce, ve, Le);
30655
+ Jr(ce, ve, Le);
30656
30656
  };
30657
30657
  return Q.addEventListener("focusout", oe), () => Q.removeEventListener("focusout", oe);
30658
- }, [j, Zr, Pe, Y]), Sd(j, [Pe]), vl.current = (Q, oe, se, ge) => {
30658
+ }, [j, Jr, Pe, Y]), Sd(j, [Pe]), vl.current = (Q, oe, se, ge) => {
30659
30659
  const Ee = j.current;
30660
30660
  if (!Ee) return;
30661
30661
  let ce = Ee.querySelector(
@@ -30713,8 +30713,8 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30713
30713
  N
30714
30714
  );
30715
30715
  iT(j, Pe, Ne, r, bt, tn, void 0, f, void 0, O, dt, !!$, Vt);
30716
- const sn = Z(/* @__PURE__ */ new Set()), ei = Z(Pe), ti = Z(O);
30717
- (ei.current !== Pe || ti.current !== O) && (ei.current = Pe, ti.current = O, sn.current = /* @__PURE__ */ new Set()), ne(() => {
30716
+ const sn = Z(/* @__PURE__ */ new Set()), Zr = Z(Pe), ei = Z(O);
30717
+ (Zr.current !== Pe || ei.current !== O) && (Zr.current = Pe, ei.current = O, sn.current = /* @__PURE__ */ new Set()), ne(() => {
30718
30718
  if (!O || !Pe || Pe.length === 0) return;
30719
30719
  const Q = Pe.filter((me) => me.type === "upload" && me.key);
30720
30720
  if (Q.length === 0) return;
@@ -30747,7 +30747,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30747
30747
  ge(Ge, Dt);
30748
30748
  }
30749
30749
  }
30750
- if (se.size > 0 && Wn(z), Object.keys(oe).length === 0 && se.size === 0) return;
30750
+ if (Object.keys(oe).length === 0 && se.size === 0) return;
30751
30751
  for (const me of Q) {
30752
30752
  const ve = me.key, Te = Object.prototype.hasOwnProperty.call(oe, ve) || Object.keys(oe).some((Le) => Le.startsWith(`${ve}-`)), Re = se.has(ve) || Array.from(se).some((Le) => Le.startsWith(`${ve}-`));
30753
30753
  (O[ve] !== void 0 || Te || Re) && sn.current.add(ve);
@@ -30807,8 +30807,8 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30807
30807
  De = !0;
30808
30808
  };
30809
30809
  }, [O, Pe]);
30810
- const ka = Z(/* @__PURE__ */ new Map()), ai = Z(""), li = ((e || []).find((Q) => Q.type === "tag")?.text || "") + "||" + (e || []).filter((Q) => Q.key && Q.type !== "report-module" && Q.type !== "markdown-module").map((Q) => `${Q.type}:${Q.key}`).join("|");
30811
- ai.current !== li && (ai.current = li, ka.current = /* @__PURE__ */ new Map()), ne(() => {
30810
+ const ka = Z(/* @__PURE__ */ new Map()), ti = Z(""), ai = ((e || []).find((Q) => Q.type === "tag")?.text || "") + "||" + (e || []).filter((Q) => Q.key && Q.type !== "report-module" && Q.type !== "markdown-module").map((Q) => `${Q.type}:${Q.key}`).join("|");
30811
+ ti.current !== ai && (ti.current = ai, ka.current = /* @__PURE__ */ new Map()), ne(() => {
30812
30812
  if (!O || !e || e.length === 0) return;
30813
30813
  const Q = e.filter((se) => se.type === "report-url" && se.key), oe = e.filter((se) => se.type === "multi-variable-select" && se.key);
30814
30814
  if (!(Q.length === 0 && oe.length === 0)) {
@@ -30846,7 +30846,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30846
30846
  ), Vd(j, T, dt, ya, [Pe]);
30847
30847
  const mc = Gd(L, ya, j);
30848
30848
  Yd(j, dt, je, w), fT(j, en);
30849
- const ni = pd(j), vc = bd(j), gc = vd(j), ri = xd(j);
30849
+ const li = pd(j), vc = bd(j), gc = vd(j), ni = xd(j);
30850
30850
  ne(() => {
30851
30851
  if (!j.current) return;
30852
30852
  j.current.querySelectorAll(".rte-richtext-toggle").forEach((oe) => {
@@ -30854,7 +30854,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30854
30854
  oe.innerHTML = se ? '<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>';
30855
30855
  });
30856
30856
  }, [Pe, j]);
30857
- const ii = CT(j), { measureExpandedContentHeight: Na } = Xd({
30857
+ const ri = CT(j), { measureExpandedContentHeight: Na } = Xd({
30858
30858
  collapsed: b,
30859
30859
  collapseTransitionMs: k,
30860
30860
  contentRef: V,
@@ -30867,9 +30867,9 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30867
30867
  effectiveConfig: Pe,
30868
30868
  files: Ne,
30869
30869
  multiVariableCounts: bt,
30870
- selectPortalsLength: ni.length,
30871
- datePickerPortalsLength: ii.length,
30872
- variablePortalsLength: ri.length
30870
+ selectPortalsLength: li.length,
30871
+ datePickerPortalsLength: ri.length,
30872
+ variablePortalsLength: ni.length
30873
30873
  }), Ec = () => {
30874
30874
  if (b) return;
30875
30875
  const Q = K.current;
@@ -30893,7 +30893,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30893
30893
  }, [Ne, Na]), Qd({
30894
30894
  config: e,
30895
30895
  editorRef: j,
30896
- setIsEmpty: Wr,
30896
+ setIsEmpty: Yr,
30897
30897
  setIsFormValid: hl
30898
30898
  });
30899
30899
  const yc = ef({
@@ -30924,7 +30924,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30924
30924
  }), Ia = tf({
30925
30925
  config: e,
30926
30926
  editorRef: j,
30927
- setIsEmpty: Wr,
30927
+ setIsEmpty: Yr,
30928
30928
  setIsFormValid: hl,
30929
30929
  setReportAnalyzeState: Ca,
30930
30930
  setMarkdownAnalyzeState: ml,
@@ -30949,9 +30949,9 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30949
30949
  setMultiVariableCounts: _a,
30950
30950
  editorRef: j,
30951
30951
  handleInput: Ia,
30952
- markdownAnalyzeRef: Kr,
30952
+ markdownAnalyzeRef: jr,
30953
30953
  reportAnalyzeRef: Ot,
30954
- markdownNameAnalyzeRef: Xr,
30954
+ markdownNameAnalyzeRef: Kr,
30955
30955
  markdownAnalyzeStateRef: rn,
30956
30956
  markdownRawTextRef: oc,
30957
30957
  setMarkdownAnalyzeState: ml,
@@ -30988,7 +30988,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30988
30988
  j,
30989
30989
  xc,
30990
30990
  bt
30991
- ), ui = rf({
30991
+ ), ii = rf({
30992
30992
  config: e,
30993
30993
  files: Ne,
30994
30994
  footerFiles: We,
@@ -30997,7 +30997,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
30997
30997
  isProcessing: a,
30998
30998
  disabled: l,
30999
30999
  loading: o,
31000
- isFormValid: Gr,
31000
+ isFormValid: Vr,
31001
31001
  editorRef: j,
31002
31002
  markdownAnalyzeState: Gt,
31003
31003
  markdownNameAnalyzeState: Yt,
@@ -31008,7 +31008,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31008
31008
  config: e,
31009
31009
  editorRef: j,
31010
31010
  handleInput: Ia,
31011
- onEnterSend: ui,
31011
+ onEnterSend: ii,
31012
31012
  onReportChipDeleted: dn
31013
31013
  }), Cc = {
31014
31014
  ...n ? { width: typeof n == "number" ? `${n}px` : n } : {},
@@ -31027,16 +31027,16 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31027
31027
  ...v ? { "--rte-footer-padding": v } : {}
31028
31028
  }, Sc = typeof k == "number" && Number.isFinite(k) && k >= 0 ? k : 260, _c = {
31029
31029
  overflow: "hidden"
31030
- }, si = xa != null ? `${xa}px` : b ? `${jr}px` : `${Math.max(nc, jr)}px`, kc = e.length === 0 && Yr && !b, Nc = xa != null || b || an || kc ? "hidden" : uc ? "auto" : "hidden", oi = Z(b), ci = oi.current !== b;
31031
- ci && (oi.current = b);
31032
- const Ic = xa != null ? "none" : ci || an ? `max-height ${Sc}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none";
31030
+ }, ui = xa != null ? `${xa}px` : b ? `${Wr}px` : `${Math.max(nc, Wr)}px`, kc = e.length === 0 && Gr && !b, Nc = xa != null || b || an || kc ? "hidden" : uc ? "auto" : "hidden", si = Z(b), oi = si.current !== b;
31031
+ oi && (si.current = b);
31032
+ const Ic = xa != null ? "none" : oi || an ? `max-height ${Sc}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none";
31033
31033
  Ye(() => {
31034
31034
  const Q = K.current;
31035
31035
  if (!Q) return;
31036
31036
  const oe = Q.scrollHeight > Q.clientHeight + 1;
31037
31037
  sc((se) => se === oe ? se : oe);
31038
31038
  }, [
31039
- si,
31039
+ ui,
31040
31040
  b,
31041
31041
  an,
31042
31042
  xa,
@@ -31046,14 +31046,14 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31046
31046
  We.length
31047
31047
  ]);
31048
31048
  const Lc = {
31049
- maxHeight: si,
31049
+ maxHeight: ui,
31050
31050
  // 折叠时覆盖 CSS 的 min-height:58px,否则 min-height > max-height 时 min-height 优先,导致露出第二行
31051
31051
  minHeight: b ? 0 : void 0,
31052
31052
  overflow: Nc,
31053
31053
  overscrollBehavior: be ? "contain" : "auto",
31054
31054
  transition: Ic,
31055
31055
  willChange: "max-height"
31056
- }, di = e.find((Q) => Q.type === "tag"), Wt = di?.text ? i.find((Q) => Q.label === di.text) : void 0;
31056
+ }, ci = e.find((Q) => Q.type === "tag"), Wt = ci?.text ? i.find((Q) => Q.label === ci.text) : void 0;
31057
31057
  return /* @__PURE__ */ pe(
31058
31058
  "div",
31059
31059
  {
@@ -31061,8 +31061,8 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31061
31061
  style: Cc,
31062
31062
  "data-disabled": l,
31063
31063
  ref: q,
31064
- onMouseDownCapture: Vr,
31065
- onFocusCapture: Vr,
31064
+ onMouseDownCapture: zr,
31065
+ onFocusCapture: zr,
31066
31066
  children: [
31067
31067
  S,
31068
31068
  /* @__PURE__ */ pe(
@@ -31177,7 +31177,7 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31177
31177
  "div",
31178
31178
  {
31179
31179
  ref: j,
31180
- className: `rte-editor ${e.length === 0 ? "rte-editor-default" : ""} ${Yr && c ? "rte-editor-empty" : ""} ${e.some((Q) => Q.type === "tag") ? "rte-editor-with-agent" : ""}`,
31180
+ className: `rte-editor ${e.length === 0 ? "rte-editor-default" : ""} ${Gr && c ? "rte-editor-empty" : ""} ${e.some((Q) => Q.type === "tag") ? "rte-editor-with-agent" : ""}`,
31181
31181
  contentEditable: e.length === 0,
31182
31182
  suppressContentEditableWarning: !0,
31183
31183
  "data-placeholder": c,
@@ -31292,8 +31292,8 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31292
31292
  "button",
31293
31293
  {
31294
31294
  type: "button",
31295
- onClick: ui,
31296
- disabled: a || l || o || !Gr,
31295
+ onClick: ii,
31296
+ disabled: a || l || o || !Vr,
31297
31297
  className: "rich-text-editor-send-button",
31298
31298
  children: a || o ? /* @__PURE__ */ G("span", { className: "rte-send-spinner" }) : /* @__PURE__ */ G("i", { className: "iconfont icon-fasong" })
31299
31299
  }
@@ -31312,11 +31312,11 @@ const { RangePicker: AT } = Fc, wT = ({ host: e, onChange: t }) => {
31312
31312
  }
31313
31313
  }
31314
31314
  ),
31315
- ii,
31316
- ni,
31315
+ ri,
31316
+ li,
31317
31317
  vc,
31318
31318
  gc,
31319
- ri,
31319
+ ni,
31320
31320
  bc,
31321
31321
  Ac
31322
31322
  ]
@@ -31536,7 +31536,7 @@ const qu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
31536
31536
  );
31537
31537
  return /* @__PURE__ */ pe("div", { className: "flex flex-col", children: [
31538
31538
  /* @__PURE__ */ G(
31539
- mr,
31539
+ br,
31540
31540
  {
31541
31541
  ref: g,
31542
31542
  ...E,
@@ -31720,7 +31720,7 @@ const LT = ({
31720
31720
  !d && l && e.length > 0 && !f && w();
31721
31721
  }, [o, d, l, e.length, f, w]), /* @__PURE__ */ pe("div", { style: { position: "relative" }, children: [
31722
31722
  /* @__PURE__ */ G(
31723
- vr,
31723
+ mr,
31724
31724
  {
31725
31725
  ...i,
31726
31726
  value: n,
@@ -32174,7 +32174,7 @@ const Yo = ({
32174
32174
  s?.($);
32175
32175
  }, [s]);
32176
32176
  return /* @__PURE__ */ G(
32177
- br,
32177
+ hr,
32178
32178
  {
32179
32179
  ...g,
32180
32180
  className: `video-card ${f || ""}`,