@vis3/kit 1.2.4-alpha.1 → 1.2.4-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as q, jsxs as Re, Fragment as _i } from "react/jsx-runtime";
1
+ import { jsx as F, jsxs as Re, Fragment as _i } from "react/jsx-runtime";
2
2
  import * as G from "react";
3
3
  import A2, { createContext as Bi, useContext as cn, useEffect as Je, forwardRef as Fo, createElement as Cr, isValidElement as N7, cloneElement as mE, Children as bD, Fragment as SD, useCallback as Ot, useState as et, useRef as Nt, useMemo as _e, useLayoutEffect as gE, useImperativeHandle as OE } from "react";
4
4
  import { Tooltip as I1, Button as C1, Card as yE, Image as A6, Table as vE, Form as e4, Popover as YQ, Input as KQ, Radio as xE, List as Dl, Typography as ED, Avatar as HD, Tag as B7, Divider as LE, Dropdown as _D, Space as bE, message as wD, Spin as CD, Descriptions as AD } from "antd";
@@ -5525,7 +5525,7 @@ function Wce(t) {
5525
5525
  !0
5526
5526
  );
5527
5527
  });
5528
- }, [e]), /* @__PURE__ */ q(pN, { i18n: We, children: r });
5528
+ }, [e]), /* @__PURE__ */ F(pN, { i18n: We, children: r });
5529
5529
  }
5530
5530
  const Gce = (t) => {
5531
5531
  We.changeLanguage(t), localStorage.setItem("lang", t), document.dispatchEvent(
@@ -37173,7 +37173,7 @@ var O2e = ["className", "value", "selection", "extensions", "onChange", "onStati
37173
37173
  if (typeof n != "string")
37174
37174
  throw new Error("value must be typeof string but got " + typeof n);
37175
37175
  var I = typeof Q == "string" ? "cm-theme-" + Q : "cm-theme";
37176
- return /* @__PURE__ */ q("div", to({
37176
+ return /* @__PURE__ */ F("div", to({
37177
37177
  ref: P,
37178
37178
  className: "" + I + (r ? " " + r : "")
37179
37179
  }, S));
@@ -37434,7 +37434,7 @@ function Q8({ className: t }) {
37434
37434
  const o = [eC(), M2e, S2e];
37435
37435
  return e && o.push(ge.lineWrapping), o;
37436
37436
  }, [e]);
37437
- return typeof r > "u" ? null : /* @__PURE__ */ q(_f, { className: t, value: i ?? "", height: "auto", extensions: a, onChange: n });
37437
+ return typeof r > "u" ? null : /* @__PURE__ */ F(_f, { className: t, value: i ?? "", height: "auto", extensions: a, onChange: n });
37438
37438
  }
37439
37439
  function T8({ className: t }) {
37440
37440
  const { wrap: e, value: r, onChange: n } = wf(), { t: i } = p1(), a = _e(() => {
@@ -37452,7 +37452,7 @@ function T8({ className: t }) {
37452
37452
  }
37453
37453
  return r;
37454
37454
  }, [r, i]);
37455
- return typeof a == "object" ? /* @__PURE__ */ q(Q8, {}) : /* @__PURE__ */ q(_f, { className: t, value: o || void 0, height: "auto", extensions: e ? [ge.lineWrapping, ...cO] : cO, onChange: n });
37455
+ return typeof a == "object" ? /* @__PURE__ */ F(Q8, {}) : /* @__PURE__ */ F(_f, { className: t, value: o || void 0, height: "auto", extensions: e ? [ge.lineWrapping, ...cO] : cO, onChange: n });
37456
37456
  }
37457
37457
  const P2e = (t) => /* @__PURE__ */ G.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ G.createElement("path", { d: "M16.6667 17.4998H3.33333C2.87308 17.4998 2.5 17.1267 2.5 16.6664V3.33309C2.5 2.87285 2.87308 2.49976 3.33333 2.49976H16.6667C17.1269 2.49976 17.5 2.87285 17.5 3.33309V16.6664C17.5 17.1267 17.1269 17.4998 16.6667 17.4998Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.49919 3.33309C2.49919 2.87285 2.87227 2.49976 3.33252 2.49976H8.33252V8.33309H2.49919V3.33309Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M14.5825 14.5832L10.4159 10.4165M10.4159 10.4165V13.3332M10.4159 10.4165H13.3325", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), k2e = (t) => /* @__PURE__ */ G.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ G.createElement("path", { d: "M16.6667 17.4998H3.33333C2.87308 17.4998 2.5 17.1267 2.5 16.6664V3.33309C2.5 2.87285 2.87308 2.49976 3.33333 2.49976H16.6667C17.1269 2.49976 17.5 2.87285 17.5 3.33309V16.6664C17.5 17.1267 17.1269 17.4998 16.6667 17.4998Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.49919 3.33309C2.49919 2.87285 2.87227 2.49976 3.33252 2.49976H8.33252V8.33309H2.49919V3.33309Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M10.4159 10.4165L14.5825 14.5832M14.5825 14.5832V11.6665M14.5825 14.5832H11.6659", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
37458
37458
  function D2e({ btnRef: t, activated: e, onChange: r, title: n, onTitle: i, offTitle: a, icon: o, placement: s, onIcon: l, offIcon: u, className: c }) {
@@ -37465,7 +37465,7 @@ function D2e({ btnRef: t, activated: e, onChange: r, title: n, onTitle: i, offTi
37465
37465
  const f = Ot((g) => {
37466
37466
  T(g), r?.(g);
37467
37467
  }, [r]), h = _e(() => l && u ? Q ? l : u : o, [Q, l, u, o]), p = _e(() => i && a ? Q ? i : a : n, [Q, i, a, n]);
37468
- return /* @__PURE__ */ q(I1, { title: p, placement: s, children: /* @__PURE__ */ q(
37468
+ return /* @__PURE__ */ F(I1, { title: p, placement: s, children: /* @__PURE__ */ F(
37469
37469
  C1,
37470
37470
  {
37471
37471
  className: c,
@@ -37493,7 +37493,7 @@ function P2({ elementRef: t }) {
37493
37493
  console.error(`${n("fullscreen.enterFullscreenFailed")}:`, a), r(!1);
37494
37494
  }
37495
37495
  }, [e, t, n]);
37496
- return /* @__PURE__ */ q(n5, { activated: e, onTitle: n("renderer.exitFullscreen"), offTitle: n("renderer.fullscreen"), onIcon: /* @__PURE__ */ q(P2e, {}), offIcon: /* @__PURE__ */ q(k2e, {}), onChange: i });
37496
+ return /* @__PURE__ */ F(n5, { activated: e, onTitle: n("renderer.exitFullscreen"), offTitle: n("renderer.fullscreen"), onIcon: /* @__PURE__ */ F(P2e, {}), offIcon: /* @__PURE__ */ F(k2e, {}), onChange: i });
37497
37497
  }
37498
37498
  function V2e(t) {
37499
37499
  t && (t.requestFullscreen ? t.requestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.msRequestFullscreen && t.msRequestFullscreen());
@@ -37518,7 +37518,7 @@ const I2e = ve(yE)`
37518
37518
  `;
37519
37519
  function j2e({ className: t, name: e, title: r, titleExtra: n, extra: i, children: a, bodyStyle: o }, s) {
37520
37520
  const { renderer: l } = R2e();
37521
- return /* @__PURE__ */ q(
37521
+ return /* @__PURE__ */ F(
37522
37522
  I2e,
37523
37523
  {
37524
37524
  ref: s,
@@ -37528,7 +37528,7 @@ function j2e({ className: t, name: e, title: r, titleExtra: n, extra: i, childre
37528
37528
  },
37529
37529
  className: Vl(t, "field-renderer"),
37530
37530
  title: r ?? /* @__PURE__ */ Re(N2e, { children: [
37531
- /* @__PURE__ */ q(I1, { title: e, children: /* @__PURE__ */ q(B2e, { className: "field-name", children: e }) }),
37531
+ /* @__PURE__ */ F(I1, { title: e, children: /* @__PURE__ */ F(B2e, { className: "field-name", children: e }) }),
37532
37532
  l,
37533
37533
  n
37534
37534
  ] }),
@@ -37568,18 +37568,18 @@ function is(t) {
37568
37568
  n(e("copy"));
37569
37569
  }, 1e3);
37570
37570
  }, [t]);
37571
- return [_e(() => /* @__PURE__ */ q(I1, { title: r, children: /* @__PURE__ */ q(C1, { size: "small", type: "text", icon: /* @__PURE__ */ q(xM, {}), onClick: i }) }), [r, i])];
37571
+ return [_e(() => /* @__PURE__ */ F(I1, { title: r, children: /* @__PURE__ */ F(C1, { size: "small", type: "text", icon: /* @__PURE__ */ F(xM, {}), onClick: i }) }), [r, i])];
37572
37572
  }
37573
37573
  const F2e = (t) => /* @__PURE__ */ G.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ G.createElement("path", { d: "M2.5 6.6665C2.76447 7.17455 3.16519 7.64584 3.67615 8.06459C5.10875 9.23871 7.40792 9.99984 10 9.99984C12.5921 9.99984 14.8912 9.23871 16.3238 8.06459C16.8348 7.64584 17.2355 7.17455 17.5 6.6665", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M12.0742 10L12.9369 13.2197", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M15.5645 8.89746L17.9215 11.2545", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M2.08398 11.2545L4.44101 8.89746", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M7.05273 13.2198L7.91544 10", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), q2e = (t) => /* @__PURE__ */ G.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ G.createElement("path", { d: "M10.0013 15C14.6037 15 18.3346 10 18.3346 10C18.3346 10 14.6037 5 10.0013 5C5.39893 5 1.66797 10 1.66797 10C1.66797 10 5.39893 15 10.0013 15Z", stroke: "currentColor", strokeWidth: 2, strokeLinejoin: "round" }), /* @__PURE__ */ G.createElement("path", { d: "M10.0013 12.0832C11.1519 12.0832 12.0846 11.1504 12.0846 9.99984C12.0846 8.84925 11.1519 7.9165 10.0013 7.9165C8.85072 7.9165 7.91797 8.84925 7.91797 9.99984C7.91797 11.1504 8.85072 12.0832 10.0013 12.0832Z", stroke: "currentColor", strokeWidth: 2, strokeLinejoin: "round" }));
37574
37574
  function i5(t = !0, e) {
37575
37575
  const [r, n] = et(t), { t: i } = p1(), a = Ot((l) => {
37576
37576
  n(l), e?.(l);
37577
- }, [e]), o = _e(() => /* @__PURE__ */ q(n5, { activated: r, onTitle: i("renderer.closePreview"), offTitle: i("renderer.openPreview"), onIcon: /* @__PURE__ */ q(q2e, {}), offIcon: /* @__PURE__ */ q(F2e, {}), onChange: a }), [r, a, i]), s = _e(() => ({ preview: r }), [r]);
37577
+ }, [e]), o = _e(() => /* @__PURE__ */ F(n5, { activated: r, onTitle: i("renderer.closePreview"), offTitle: i("renderer.openPreview"), onIcon: /* @__PURE__ */ F(q2e, {}), offIcon: /* @__PURE__ */ F(F2e, {}), onChange: a }), [r, a, i]), s = _e(() => ({ preview: r }), [r]);
37578
37578
  return [o, s, a];
37579
37579
  }
37580
37580
  const QO = (t) => /* @__PURE__ */ G.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ G.createElement("path", { d: "M2.41797 3.53141C2.41797 3.02515 2.82837 2.61475 3.33464 2.61475H16.668C17.1742 2.61475 17.5846 3.02515 17.5846 3.53141C17.5846 4.03767 17.1742 4.44808 16.668 4.44808L3.33464 4.44808C2.82837 4.44808 2.41797 4.03767 2.41797 3.53141Z", fill: "currentColor" }), /* @__PURE__ */ G.createElement("path", { d: "M2.41797 9.36475C2.41797 8.85849 2.82837 8.44808 3.33464 8.44808L13.7212 8.44808C15.8549 8.44808 17.5846 10.1778 17.5846 12.3115C17.5846 14.4452 15.8549 16.1749 13.7212 16.1749H13.1571C13.0944 16.1749 13.0332 16.1686 12.974 16.1566V17.2032C12.974 17.3541 12.8008 17.4393 12.6813 17.3473L10.0723 15.3389C9.97775 15.2661 9.97775 15.1235 10.0723 15.0507L12.6813 13.0423C12.8008 12.9503 12.974 13.0355 12.974 13.1864V14.3598C13.0332 14.3478 13.0944 14.3415 13.1571 14.3415H13.7212C14.8424 14.3415 15.7513 13.4326 15.7513 12.3115C15.7513 11.1903 14.8424 10.2814 13.7212 10.2814L3.33464 10.2814C2.82837 10.2814 2.41797 9.87101 2.41797 9.36475Z", fill: "currentColor" }), /* @__PURE__ */ G.createElement("path", { d: "M2.41797 15.1948C2.41797 14.6886 2.82837 14.2782 3.33464 14.2782L7.48706 14.2782C7.99332 14.2782 8.40373 14.6886 8.40373 15.1948C8.40373 15.7011 7.99332 16.1115 7.48706 16.1115H3.33464C2.82837 16.1115 2.41797 15.7011 2.41797 15.1948Z", fill: "currentColor" }));
37581
37581
  function a5(t = !1) {
37582
- const [e, r] = et(t), { t: n } = p1(), i = e ?? !1, a = _e(() => /* @__PURE__ */ q(n5, { activated: i, onTitle: n("renderer.cancelLineWrap"), offTitle: n("renderer.lineWrap"), onIcon: /* @__PURE__ */ q(QO, {}), offIcon: /* @__PURE__ */ q(QO, {}), onChange: r }), [i, n]), o = _e(() => ({ wrap: i }), [i]);
37582
+ const [e, r] = et(t), { t: n } = p1(), i = e ?? !1, a = _e(() => /* @__PURE__ */ F(n5, { activated: i, onTitle: n("renderer.cancelLineWrap"), offTitle: n("renderer.lineWrap"), onIcon: /* @__PURE__ */ F(QO, {}), offIcon: /* @__PURE__ */ F(QO, {}), onChange: r }), [i, n]), o = _e(() => ({ wrap: i }), [i]);
37583
37583
  return [a, o, r];
37584
37584
  }
37585
37585
  const LM = Bi({
@@ -44320,7 +44320,7 @@ function J4e(t, e) {
44320
44320
  Fragment: _i,
44321
44321
  components: i,
44322
44322
  ignoreInvalidStyle: !0,
44323
- jsx: q,
44323
+ jsx: F,
44324
44324
  jsxs: Re,
44325
44325
  passKeys: !0,
44326
44326
  passNode: !0
@@ -79369,10 +79369,10 @@ const Mae = [
79369
79369
  1114110,
79370
79370
  1114111
79371
79371
  ]), bt = "�";
79372
- var F;
79372
+ var q;
79373
79373
  (function(t) {
79374
79374
  t[t.EOF = -1] = "EOF", t[t.NULL = 0] = "NULL", t[t.TABULATION = 9] = "TABULATION", t[t.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", t[t.LINE_FEED = 10] = "LINE_FEED", t[t.FORM_FEED = 12] = "FORM_FEED", t[t.SPACE = 32] = "SPACE", t[t.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", t[t.QUOTATION_MARK = 34] = "QUOTATION_MARK", t[t.AMPERSAND = 38] = "AMPERSAND", t[t.APOSTROPHE = 39] = "APOSTROPHE", t[t.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", t[t.SOLIDUS = 47] = "SOLIDUS", t[t.DIGIT_0 = 48] = "DIGIT_0", t[t.DIGIT_9 = 57] = "DIGIT_9", t[t.SEMICOLON = 59] = "SEMICOLON", t[t.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", t[t.EQUALS_SIGN = 61] = "EQUALS_SIGN", t[t.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", t[t.QUESTION_MARK = 63] = "QUESTION_MARK", t[t.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", t[t.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", t[t.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", t[t.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", t[t.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", t[t.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
79375
- })(F || (F = {}));
79375
+ })(q || (q = {}));
79376
79376
  const D1 = {
79377
79377
  DASH_DASH: "--",
79378
79378
  CDATA_START: "[CDATA[",
@@ -79436,7 +79436,7 @@ class Rae {
79436
79436
  if (kae(r))
79437
79437
  return this.pos++, this._addGap(), Dae(e, r);
79438
79438
  } else if (!this.lastChunkWritten)
79439
- return this.endOfChunkHit = !0, F.EOF;
79439
+ return this.endOfChunkHit = !0, q.EOF;
79440
79440
  return this._err(ie.surrogateInInputStream), e;
79441
79441
  }
79442
79442
  willDropParsedChunk() {
@@ -79464,15 +79464,15 @@ class Rae {
79464
79464
  peek(e) {
79465
79465
  const r = this.pos + e;
79466
79466
  if (r >= this.html.length)
79467
- return this.endOfChunkHit = !this.lastChunkWritten, F.EOF;
79467
+ return this.endOfChunkHit = !this.lastChunkWritten, q.EOF;
79468
79468
  const n = this.html.charCodeAt(r);
79469
- return n === F.CARRIAGE_RETURN ? F.LINE_FEED : n;
79469
+ return n === q.CARRIAGE_RETURN ? q.LINE_FEED : n;
79470
79470
  }
79471
79471
  advance() {
79472
79472
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
79473
- return this.endOfChunkHit = !this.lastChunkWritten, F.EOF;
79473
+ return this.endOfChunkHit = !this.lastChunkWritten, q.EOF;
79474
79474
  let e = this.html.charCodeAt(this.pos);
79475
- return e === F.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, F.LINE_FEED) : e === F.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, mk(e) && (e = this._processSurrogate(e)), this.handler.onParseError === null || e > 31 && e < 127 || e === F.LINE_FEED || e === F.CARRIAGE_RETURN || e > 159 && e < 64976 || this._checkForProblematicCharacters(e), e);
79475
+ return e === q.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, q.LINE_FEED) : e === q.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, mk(e) && (e = this._processSurrogate(e)), this.handler.onParseError === null || e > 31 && e < 127 || e === q.LINE_FEED || e === q.CARRIAGE_RETURN || e > 159 && e < 64976 || this._checkForProblematicCharacters(e), e);
79476
79476
  }
79477
79477
  _checkForProblematicCharacters(e) {
79478
79478
  gk(e) ? this._err(ie.controlCharacterInInputStream) : Ok(e) && this._err(ie.noncharacterInInputStream);
@@ -80021,13 +80021,13 @@ const Pt = {
80021
80021
  CDATA_SECTION: Z.CDATA_SECTION
80022
80022
  };
80023
80023
  function Wae(t) {
80024
- return t >= F.DIGIT_0 && t <= F.DIGIT_9;
80024
+ return t >= q.DIGIT_0 && t <= q.DIGIT_9;
80025
80025
  }
80026
80026
  function ka(t) {
80027
- return t >= F.LATIN_CAPITAL_A && t <= F.LATIN_CAPITAL_Z;
80027
+ return t >= q.LATIN_CAPITAL_A && t <= q.LATIN_CAPITAL_Z;
80028
80028
  }
80029
80029
  function Gae(t) {
80030
- return t >= F.LATIN_SMALL_A && t <= F.LATIN_SMALL_Z;
80030
+ return t >= q.LATIN_SMALL_A && t <= q.LATIN_SMALL_Z;
80031
80031
  }
80032
80032
  function Z3(t) {
80033
80033
  return Gae(t) || ka(t);
@@ -80039,13 +80039,13 @@ function l7(t) {
80039
80039
  return t + 32;
80040
80040
  }
80041
80041
  function vk(t) {
80042
- return t === F.SPACE || t === F.LINE_FEED || t === F.TABULATION || t === F.FORM_FEED;
80042
+ return t === q.SPACE || t === q.LINE_FEED || t === q.TABULATION || t === q.FORM_FEED;
80043
80043
  }
80044
80044
  function wS(t) {
80045
- return vk(t) || t === F.SOLIDUS || t === F.GREATER_THAN_SIGN;
80045
+ return vk(t) || t === q.SOLIDUS || t === q.GREATER_THAN_SIGN;
80046
80046
  }
80047
80047
  function Yae(t) {
80048
- return t === F.NULL ? ie.nullCharacterReference : t > 1114111 ? ie.characterReferenceOutsideUnicodeRange : mk(t) ? ie.surrogateCharacterReference : Ok(t) ? ie.noncharacterCharacterReference : gk(t) || t === F.CARRIAGE_RETURN ? ie.controlCharacterReference : null;
80048
+ return t === q.NULL ? ie.nullCharacterReference : t > 1114111 ? ie.characterReferenceOutsideUnicodeRange : mk(t) ? ie.surrogateCharacterReference : Ok(t) ? ie.noncharacterCharacterReference : gk(t) || t === q.CARRIAGE_RETURN ? ie.controlCharacterReference : null;
80049
80049
  }
80050
80050
  class Kae {
80051
80051
  constructor(e, r) {
@@ -80245,7 +80245,7 @@ class Kae {
80245
80245
  this._createCharacterToken(e, r);
80246
80246
  }
80247
80247
  _emitCodePoint(e) {
80248
- const r = vk(e) ? Be.WHITESPACE_CHARACTER : e === F.NULL ? Be.NULL_CHARACTER : Be.CHARACTER;
80248
+ const r = vk(e) ? Be.WHITESPACE_CHARACTER : e === q.NULL ? Be.NULL_CHARACTER : Be.CHARACTER;
80249
80249
  this._appendCharToCurrentCharacterToken(r, String.fromCodePoint(e));
80250
80250
  }
80251
80251
  //NOTE: used when we emit characters explicitly.
@@ -80567,19 +80567,19 @@ class Kae {
80567
80567
  //------------------------------------------------------------------
80568
80568
  _stateData(e) {
80569
80569
  switch (e) {
80570
- case F.LESS_THAN_SIGN: {
80570
+ case q.LESS_THAN_SIGN: {
80571
80571
  this.state = Z.TAG_OPEN;
80572
80572
  break;
80573
80573
  }
80574
- case F.AMPERSAND: {
80574
+ case q.AMPERSAND: {
80575
80575
  this._startCharacterReference();
80576
80576
  break;
80577
80577
  }
80578
- case F.NULL: {
80578
+ case q.NULL: {
80579
80579
  this._err(ie.unexpectedNullCharacter), this._emitCodePoint(e);
80580
80580
  break;
80581
80581
  }
80582
- case F.EOF: {
80582
+ case q.EOF: {
80583
80583
  this._emitEOFToken();
80584
80584
  break;
80585
80585
  }
@@ -80591,19 +80591,19 @@ class Kae {
80591
80591
  //------------------------------------------------------------------
80592
80592
  _stateRcdata(e) {
80593
80593
  switch (e) {
80594
- case F.AMPERSAND: {
80594
+ case q.AMPERSAND: {
80595
80595
  this._startCharacterReference();
80596
80596
  break;
80597
80597
  }
80598
- case F.LESS_THAN_SIGN: {
80598
+ case q.LESS_THAN_SIGN: {
80599
80599
  this.state = Z.RCDATA_LESS_THAN_SIGN;
80600
80600
  break;
80601
80601
  }
80602
- case F.NULL: {
80602
+ case q.NULL: {
80603
80603
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80604
80604
  break;
80605
80605
  }
80606
- case F.EOF: {
80606
+ case q.EOF: {
80607
80607
  this._emitEOFToken();
80608
80608
  break;
80609
80609
  }
@@ -80615,15 +80615,15 @@ class Kae {
80615
80615
  //------------------------------------------------------------------
80616
80616
  _stateRawtext(e) {
80617
80617
  switch (e) {
80618
- case F.LESS_THAN_SIGN: {
80618
+ case q.LESS_THAN_SIGN: {
80619
80619
  this.state = Z.RAWTEXT_LESS_THAN_SIGN;
80620
80620
  break;
80621
80621
  }
80622
- case F.NULL: {
80622
+ case q.NULL: {
80623
80623
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80624
80624
  break;
80625
80625
  }
80626
- case F.EOF: {
80626
+ case q.EOF: {
80627
80627
  this._emitEOFToken();
80628
80628
  break;
80629
80629
  }
@@ -80635,15 +80635,15 @@ class Kae {
80635
80635
  //------------------------------------------------------------------
80636
80636
  _stateScriptData(e) {
80637
80637
  switch (e) {
80638
- case F.LESS_THAN_SIGN: {
80638
+ case q.LESS_THAN_SIGN: {
80639
80639
  this.state = Z.SCRIPT_DATA_LESS_THAN_SIGN;
80640
80640
  break;
80641
80641
  }
80642
- case F.NULL: {
80642
+ case q.NULL: {
80643
80643
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80644
80644
  break;
80645
80645
  }
80646
- case F.EOF: {
80646
+ case q.EOF: {
80647
80647
  this._emitEOFToken();
80648
80648
  break;
80649
80649
  }
@@ -80655,11 +80655,11 @@ class Kae {
80655
80655
  //------------------------------------------------------------------
80656
80656
  _statePlaintext(e) {
80657
80657
  switch (e) {
80658
- case F.NULL: {
80658
+ case q.NULL: {
80659
80659
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80660
80660
  break;
80661
80661
  }
80662
- case F.EOF: {
80662
+ case q.EOF: {
80663
80663
  this._emitEOFToken();
80664
80664
  break;
80665
80665
  }
@@ -80674,19 +80674,19 @@ class Kae {
80674
80674
  this._createStartTagToken(), this.state = Z.TAG_NAME, this._stateTagName(e);
80675
80675
  else
80676
80676
  switch (e) {
80677
- case F.EXCLAMATION_MARK: {
80677
+ case q.EXCLAMATION_MARK: {
80678
80678
  this.state = Z.MARKUP_DECLARATION_OPEN;
80679
80679
  break;
80680
80680
  }
80681
- case F.SOLIDUS: {
80681
+ case q.SOLIDUS: {
80682
80682
  this.state = Z.END_TAG_OPEN;
80683
80683
  break;
80684
80684
  }
80685
- case F.QUESTION_MARK: {
80685
+ case q.QUESTION_MARK: {
80686
80686
  this._err(ie.unexpectedQuestionMarkInsteadOfTagName), this._createCommentToken(1), this.state = Z.BOGUS_COMMENT, this._stateBogusComment(e);
80687
80687
  break;
80688
80688
  }
80689
- case F.EOF: {
80689
+ case q.EOF: {
80690
80690
  this._err(ie.eofBeforeTagName), this._emitChars("<"), this._emitEOFToken();
80691
80691
  break;
80692
80692
  }
@@ -80701,11 +80701,11 @@ class Kae {
80701
80701
  this._createEndTagToken(), this.state = Z.TAG_NAME, this._stateTagName(e);
80702
80702
  else
80703
80703
  switch (e) {
80704
- case F.GREATER_THAN_SIGN: {
80704
+ case q.GREATER_THAN_SIGN: {
80705
80705
  this._err(ie.missingEndTagName), this.state = Z.DATA;
80706
80706
  break;
80707
80707
  }
80708
- case F.EOF: {
80708
+ case q.EOF: {
80709
80709
  this._err(ie.eofBeforeTagName), this._emitChars("</"), this._emitEOFToken();
80710
80710
  break;
80711
80711
  }
@@ -80718,26 +80718,26 @@ class Kae {
80718
80718
  _stateTagName(e) {
80719
80719
  const r = this.currentToken;
80720
80720
  switch (e) {
80721
- case F.SPACE:
80722
- case F.LINE_FEED:
80723
- case F.TABULATION:
80724
- case F.FORM_FEED: {
80721
+ case q.SPACE:
80722
+ case q.LINE_FEED:
80723
+ case q.TABULATION:
80724
+ case q.FORM_FEED: {
80725
80725
  this.state = Z.BEFORE_ATTRIBUTE_NAME;
80726
80726
  break;
80727
80727
  }
80728
- case F.SOLIDUS: {
80728
+ case q.SOLIDUS: {
80729
80729
  this.state = Z.SELF_CLOSING_START_TAG;
80730
80730
  break;
80731
80731
  }
80732
- case F.GREATER_THAN_SIGN: {
80732
+ case q.GREATER_THAN_SIGN: {
80733
80733
  this.state = Z.DATA, this.emitCurrentTagToken();
80734
80734
  break;
80735
80735
  }
80736
- case F.NULL: {
80736
+ case q.NULL: {
80737
80737
  this._err(ie.unexpectedNullCharacter), r.tagName += bt;
80738
80738
  break;
80739
80739
  }
80740
- case F.EOF: {
80740
+ case q.EOF: {
80741
80741
  this._err(ie.eofInTag), this._emitEOFToken();
80742
80742
  break;
80743
80743
  }
@@ -80748,7 +80748,7 @@ class Kae {
80748
80748
  // RCDATA less-than sign state
80749
80749
  //------------------------------------------------------------------
80750
80750
  _stateRcdataLessThanSign(e) {
80751
- e === F.SOLIDUS ? this.state = Z.RCDATA_END_TAG_OPEN : (this._emitChars("<"), this.state = Z.RCDATA, this._stateRcdata(e));
80751
+ e === q.SOLIDUS ? this.state = Z.RCDATA_END_TAG_OPEN : (this._emitChars("<"), this.state = Z.RCDATA, this._stateRcdata(e));
80752
80752
  }
80753
80753
  // RCDATA end tag open state
80754
80754
  //------------------------------------------------------------------
@@ -80761,14 +80761,14 @@ class Kae {
80761
80761
  this._createEndTagToken();
80762
80762
  const r = this.currentToken;
80763
80763
  switch (r.tagName = this.lastStartTagName, this.preprocessor.peek(this.lastStartTagName.length)) {
80764
- case F.SPACE:
80765
- case F.LINE_FEED:
80766
- case F.TABULATION:
80767
- case F.FORM_FEED:
80764
+ case q.SPACE:
80765
+ case q.LINE_FEED:
80766
+ case q.TABULATION:
80767
+ case q.FORM_FEED:
80768
80768
  return this._advanceBy(this.lastStartTagName.length), this.state = Z.BEFORE_ATTRIBUTE_NAME, !1;
80769
- case F.SOLIDUS:
80769
+ case q.SOLIDUS:
80770
80770
  return this._advanceBy(this.lastStartTagName.length), this.state = Z.SELF_CLOSING_START_TAG, !1;
80771
- case F.GREATER_THAN_SIGN:
80771
+ case q.GREATER_THAN_SIGN:
80772
80772
  return this._advanceBy(this.lastStartTagName.length), this.emitCurrentTagToken(), this.state = Z.DATA, !1;
80773
80773
  default:
80774
80774
  return !this._ensureHibernation();
@@ -80782,7 +80782,7 @@ class Kae {
80782
80782
  // RAWTEXT less-than sign state
80783
80783
  //------------------------------------------------------------------
80784
80784
  _stateRawtextLessThanSign(e) {
80785
- e === F.SOLIDUS ? this.state = Z.RAWTEXT_END_TAG_OPEN : (this._emitChars("<"), this.state = Z.RAWTEXT, this._stateRawtext(e));
80785
+ e === q.SOLIDUS ? this.state = Z.RAWTEXT_END_TAG_OPEN : (this._emitChars("<"), this.state = Z.RAWTEXT, this._stateRawtext(e));
80786
80786
  }
80787
80787
  // RAWTEXT end tag open state
80788
80788
  //------------------------------------------------------------------
@@ -80798,11 +80798,11 @@ class Kae {
80798
80798
  //------------------------------------------------------------------
80799
80799
  _stateScriptDataLessThanSign(e) {
80800
80800
  switch (e) {
80801
- case F.SOLIDUS: {
80801
+ case q.SOLIDUS: {
80802
80802
  this.state = Z.SCRIPT_DATA_END_TAG_OPEN;
80803
80803
  break;
80804
80804
  }
80805
- case F.EXCLAMATION_MARK: {
80805
+ case q.EXCLAMATION_MARK: {
80806
80806
  this.state = Z.SCRIPT_DATA_ESCAPE_START, this._emitChars("<!");
80807
80807
  break;
80808
80808
  }
@@ -80823,30 +80823,30 @@ class Kae {
80823
80823
  // Script data escape start state
80824
80824
  //------------------------------------------------------------------
80825
80825
  _stateScriptDataEscapeStart(e) {
80826
- e === F.HYPHEN_MINUS ? (this.state = Z.SCRIPT_DATA_ESCAPE_START_DASH, this._emitChars("-")) : (this.state = Z.SCRIPT_DATA, this._stateScriptData(e));
80826
+ e === q.HYPHEN_MINUS ? (this.state = Z.SCRIPT_DATA_ESCAPE_START_DASH, this._emitChars("-")) : (this.state = Z.SCRIPT_DATA, this._stateScriptData(e));
80827
80827
  }
80828
80828
  // Script data escape start dash state
80829
80829
  //------------------------------------------------------------------
80830
80830
  _stateScriptDataEscapeStartDash(e) {
80831
- e === F.HYPHEN_MINUS ? (this.state = Z.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-")) : (this.state = Z.SCRIPT_DATA, this._stateScriptData(e));
80831
+ e === q.HYPHEN_MINUS ? (this.state = Z.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-")) : (this.state = Z.SCRIPT_DATA, this._stateScriptData(e));
80832
80832
  }
80833
80833
  // Script data escaped state
80834
80834
  //------------------------------------------------------------------
80835
80835
  _stateScriptDataEscaped(e) {
80836
80836
  switch (e) {
80837
- case F.HYPHEN_MINUS: {
80837
+ case q.HYPHEN_MINUS: {
80838
80838
  this.state = Z.SCRIPT_DATA_ESCAPED_DASH, this._emitChars("-");
80839
80839
  break;
80840
80840
  }
80841
- case F.LESS_THAN_SIGN: {
80841
+ case q.LESS_THAN_SIGN: {
80842
80842
  this.state = Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
80843
80843
  break;
80844
80844
  }
80845
- case F.NULL: {
80845
+ case q.NULL: {
80846
80846
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80847
80847
  break;
80848
80848
  }
80849
- case F.EOF: {
80849
+ case q.EOF: {
80850
80850
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
80851
80851
  break;
80852
80852
  }
@@ -80858,19 +80858,19 @@ class Kae {
80858
80858
  //------------------------------------------------------------------
80859
80859
  _stateScriptDataEscapedDash(e) {
80860
80860
  switch (e) {
80861
- case F.HYPHEN_MINUS: {
80861
+ case q.HYPHEN_MINUS: {
80862
80862
  this.state = Z.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-");
80863
80863
  break;
80864
80864
  }
80865
- case F.LESS_THAN_SIGN: {
80865
+ case q.LESS_THAN_SIGN: {
80866
80866
  this.state = Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
80867
80867
  break;
80868
80868
  }
80869
- case F.NULL: {
80869
+ case q.NULL: {
80870
80870
  this._err(ie.unexpectedNullCharacter), this.state = Z.SCRIPT_DATA_ESCAPED, this._emitChars(bt);
80871
80871
  break;
80872
80872
  }
80873
- case F.EOF: {
80873
+ case q.EOF: {
80874
80874
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
80875
80875
  break;
80876
80876
  }
@@ -80882,23 +80882,23 @@ class Kae {
80882
80882
  //------------------------------------------------------------------
80883
80883
  _stateScriptDataEscapedDashDash(e) {
80884
80884
  switch (e) {
80885
- case F.HYPHEN_MINUS: {
80885
+ case q.HYPHEN_MINUS: {
80886
80886
  this._emitChars("-");
80887
80887
  break;
80888
80888
  }
80889
- case F.LESS_THAN_SIGN: {
80889
+ case q.LESS_THAN_SIGN: {
80890
80890
  this.state = Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
80891
80891
  break;
80892
80892
  }
80893
- case F.GREATER_THAN_SIGN: {
80893
+ case q.GREATER_THAN_SIGN: {
80894
80894
  this.state = Z.SCRIPT_DATA, this._emitChars(">");
80895
80895
  break;
80896
80896
  }
80897
- case F.NULL: {
80897
+ case q.NULL: {
80898
80898
  this._err(ie.unexpectedNullCharacter), this.state = Z.SCRIPT_DATA_ESCAPED, this._emitChars(bt);
80899
80899
  break;
80900
80900
  }
80901
- case F.EOF: {
80901
+ case q.EOF: {
80902
80902
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
80903
80903
  break;
80904
80904
  }
@@ -80909,7 +80909,7 @@ class Kae {
80909
80909
  // Script data escaped less-than sign state
80910
80910
  //------------------------------------------------------------------
80911
80911
  _stateScriptDataEscapedLessThanSign(e) {
80912
- e === F.SOLIDUS ? this.state = Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : Z3(e) ? (this._emitChars("<"), this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(e)) : (this._emitChars("<"), this.state = Z.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(e));
80912
+ e === q.SOLIDUS ? this.state = Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : Z3(e) ? (this._emitChars("<"), this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(e)) : (this._emitChars("<"), this.state = Z.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(e));
80913
80913
  }
80914
80914
  // Script data escaped end tag open state
80915
80915
  //------------------------------------------------------------------
@@ -80935,19 +80935,19 @@ class Kae {
80935
80935
  //------------------------------------------------------------------
80936
80936
  _stateScriptDataDoubleEscaped(e) {
80937
80937
  switch (e) {
80938
- case F.HYPHEN_MINUS: {
80938
+ case q.HYPHEN_MINUS: {
80939
80939
  this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH, this._emitChars("-");
80940
80940
  break;
80941
80941
  }
80942
- case F.LESS_THAN_SIGN: {
80942
+ case q.LESS_THAN_SIGN: {
80943
80943
  this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
80944
80944
  break;
80945
80945
  }
80946
- case F.NULL: {
80946
+ case q.NULL: {
80947
80947
  this._err(ie.unexpectedNullCharacter), this._emitChars(bt);
80948
80948
  break;
80949
80949
  }
80950
- case F.EOF: {
80950
+ case q.EOF: {
80951
80951
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
80952
80952
  break;
80953
80953
  }
@@ -80959,19 +80959,19 @@ class Kae {
80959
80959
  //------------------------------------------------------------------
80960
80960
  _stateScriptDataDoubleEscapedDash(e) {
80961
80961
  switch (e) {
80962
- case F.HYPHEN_MINUS: {
80962
+ case q.HYPHEN_MINUS: {
80963
80963
  this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH, this._emitChars("-");
80964
80964
  break;
80965
80965
  }
80966
- case F.LESS_THAN_SIGN: {
80966
+ case q.LESS_THAN_SIGN: {
80967
80967
  this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
80968
80968
  break;
80969
80969
  }
80970
- case F.NULL: {
80970
+ case q.NULL: {
80971
80971
  this._err(ie.unexpectedNullCharacter), this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(bt);
80972
80972
  break;
80973
80973
  }
80974
- case F.EOF: {
80974
+ case q.EOF: {
80975
80975
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
80976
80976
  break;
80977
80977
  }
@@ -80983,23 +80983,23 @@ class Kae {
80983
80983
  //------------------------------------------------------------------
80984
80984
  _stateScriptDataDoubleEscapedDashDash(e) {
80985
80985
  switch (e) {
80986
- case F.HYPHEN_MINUS: {
80986
+ case q.HYPHEN_MINUS: {
80987
80987
  this._emitChars("-");
80988
80988
  break;
80989
80989
  }
80990
- case F.LESS_THAN_SIGN: {
80990
+ case q.LESS_THAN_SIGN: {
80991
80991
  this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
80992
80992
  break;
80993
80993
  }
80994
- case F.GREATER_THAN_SIGN: {
80994
+ case q.GREATER_THAN_SIGN: {
80995
80995
  this.state = Z.SCRIPT_DATA, this._emitChars(">");
80996
80996
  break;
80997
80997
  }
80998
- case F.NULL: {
80998
+ case q.NULL: {
80999
80999
  this._err(ie.unexpectedNullCharacter), this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(bt);
81000
81000
  break;
81001
81001
  }
81002
- case F.EOF: {
81002
+ case q.EOF: {
81003
81003
  this._err(ie.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
81004
81004
  break;
81005
81005
  }
@@ -81010,7 +81010,7 @@ class Kae {
81010
81010
  // Script data double escaped less-than sign state
81011
81011
  //------------------------------------------------------------------
81012
81012
  _stateScriptDataDoubleEscapedLessThanSign(e) {
81013
- e === F.SOLIDUS ? (this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPE_END, this._emitChars("/")) : (this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(e));
81013
+ e === q.SOLIDUS ? (this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPE_END, this._emitChars("/")) : (this.state = Z.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(e));
81014
81014
  }
81015
81015
  // Script data double escape end state
81016
81016
  //------------------------------------------------------------------
@@ -81026,18 +81026,18 @@ class Kae {
81026
81026
  //------------------------------------------------------------------
81027
81027
  _stateBeforeAttributeName(e) {
81028
81028
  switch (e) {
81029
- case F.SPACE:
81030
- case F.LINE_FEED:
81031
- case F.TABULATION:
81032
- case F.FORM_FEED:
81029
+ case q.SPACE:
81030
+ case q.LINE_FEED:
81031
+ case q.TABULATION:
81032
+ case q.FORM_FEED:
81033
81033
  break;
81034
- case F.SOLIDUS:
81035
- case F.GREATER_THAN_SIGN:
81036
- case F.EOF: {
81034
+ case q.SOLIDUS:
81035
+ case q.GREATER_THAN_SIGN:
81036
+ case q.EOF: {
81037
81037
  this.state = Z.AFTER_ATTRIBUTE_NAME, this._stateAfterAttributeName(e);
81038
81038
  break;
81039
81039
  }
81040
- case F.EQUALS_SIGN: {
81040
+ case q.EQUALS_SIGN: {
81041
81041
  this._err(ie.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state = Z.ATTRIBUTE_NAME;
81042
81042
  break;
81043
81043
  }
@@ -81049,27 +81049,27 @@ class Kae {
81049
81049
  //------------------------------------------------------------------
81050
81050
  _stateAttributeName(e) {
81051
81051
  switch (e) {
81052
- case F.SPACE:
81053
- case F.LINE_FEED:
81054
- case F.TABULATION:
81055
- case F.FORM_FEED:
81056
- case F.SOLIDUS:
81057
- case F.GREATER_THAN_SIGN:
81058
- case F.EOF: {
81052
+ case q.SPACE:
81053
+ case q.LINE_FEED:
81054
+ case q.TABULATION:
81055
+ case q.FORM_FEED:
81056
+ case q.SOLIDUS:
81057
+ case q.GREATER_THAN_SIGN:
81058
+ case q.EOF: {
81059
81059
  this._leaveAttrName(), this.state = Z.AFTER_ATTRIBUTE_NAME, this._stateAfterAttributeName(e);
81060
81060
  break;
81061
81061
  }
81062
- case F.EQUALS_SIGN: {
81062
+ case q.EQUALS_SIGN: {
81063
81063
  this._leaveAttrName(), this.state = Z.BEFORE_ATTRIBUTE_VALUE;
81064
81064
  break;
81065
81065
  }
81066
- case F.QUOTATION_MARK:
81067
- case F.APOSTROPHE:
81068
- case F.LESS_THAN_SIGN: {
81066
+ case q.QUOTATION_MARK:
81067
+ case q.APOSTROPHE:
81068
+ case q.LESS_THAN_SIGN: {
81069
81069
  this._err(ie.unexpectedCharacterInAttributeName), this.currentAttr.name += String.fromCodePoint(e);
81070
81070
  break;
81071
81071
  }
81072
- case F.NULL: {
81072
+ case q.NULL: {
81073
81073
  this._err(ie.unexpectedNullCharacter), this.currentAttr.name += bt;
81074
81074
  break;
81075
81075
  }
@@ -81081,24 +81081,24 @@ class Kae {
81081
81081
  //------------------------------------------------------------------
81082
81082
  _stateAfterAttributeName(e) {
81083
81083
  switch (e) {
81084
- case F.SPACE:
81085
- case F.LINE_FEED:
81086
- case F.TABULATION:
81087
- case F.FORM_FEED:
81084
+ case q.SPACE:
81085
+ case q.LINE_FEED:
81086
+ case q.TABULATION:
81087
+ case q.FORM_FEED:
81088
81088
  break;
81089
- case F.SOLIDUS: {
81089
+ case q.SOLIDUS: {
81090
81090
  this.state = Z.SELF_CLOSING_START_TAG;
81091
81091
  break;
81092
81092
  }
81093
- case F.EQUALS_SIGN: {
81093
+ case q.EQUALS_SIGN: {
81094
81094
  this.state = Z.BEFORE_ATTRIBUTE_VALUE;
81095
81095
  break;
81096
81096
  }
81097
- case F.GREATER_THAN_SIGN: {
81097
+ case q.GREATER_THAN_SIGN: {
81098
81098
  this.state = Z.DATA, this.emitCurrentTagToken();
81099
81099
  break;
81100
81100
  }
81101
- case F.EOF: {
81101
+ case q.EOF: {
81102
81102
  this._err(ie.eofInTag), this._emitEOFToken();
81103
81103
  break;
81104
81104
  }
@@ -81110,20 +81110,20 @@ class Kae {
81110
81110
  //------------------------------------------------------------------
81111
81111
  _stateBeforeAttributeValue(e) {
81112
81112
  switch (e) {
81113
- case F.SPACE:
81114
- case F.LINE_FEED:
81115
- case F.TABULATION:
81116
- case F.FORM_FEED:
81113
+ case q.SPACE:
81114
+ case q.LINE_FEED:
81115
+ case q.TABULATION:
81116
+ case q.FORM_FEED:
81117
81117
  break;
81118
- case F.QUOTATION_MARK: {
81118
+ case q.QUOTATION_MARK: {
81119
81119
  this.state = Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED;
81120
81120
  break;
81121
81121
  }
81122
- case F.APOSTROPHE: {
81122
+ case q.APOSTROPHE: {
81123
81123
  this.state = Z.ATTRIBUTE_VALUE_SINGLE_QUOTED;
81124
81124
  break;
81125
81125
  }
81126
- case F.GREATER_THAN_SIGN: {
81126
+ case q.GREATER_THAN_SIGN: {
81127
81127
  this._err(ie.missingAttributeValue), this.state = Z.DATA, this.emitCurrentTagToken();
81128
81128
  break;
81129
81129
  }
@@ -81135,19 +81135,19 @@ class Kae {
81135
81135
  //------------------------------------------------------------------
81136
81136
  _stateAttributeValueDoubleQuoted(e) {
81137
81137
  switch (e) {
81138
- case F.QUOTATION_MARK: {
81138
+ case q.QUOTATION_MARK: {
81139
81139
  this.state = Z.AFTER_ATTRIBUTE_VALUE_QUOTED;
81140
81140
  break;
81141
81141
  }
81142
- case F.AMPERSAND: {
81142
+ case q.AMPERSAND: {
81143
81143
  this._startCharacterReference();
81144
81144
  break;
81145
81145
  }
81146
- case F.NULL: {
81146
+ case q.NULL: {
81147
81147
  this._err(ie.unexpectedNullCharacter), this.currentAttr.value += bt;
81148
81148
  break;
81149
81149
  }
81150
- case F.EOF: {
81150
+ case q.EOF: {
81151
81151
  this._err(ie.eofInTag), this._emitEOFToken();
81152
81152
  break;
81153
81153
  }
@@ -81159,19 +81159,19 @@ class Kae {
81159
81159
  //------------------------------------------------------------------
81160
81160
  _stateAttributeValueSingleQuoted(e) {
81161
81161
  switch (e) {
81162
- case F.APOSTROPHE: {
81162
+ case q.APOSTROPHE: {
81163
81163
  this.state = Z.AFTER_ATTRIBUTE_VALUE_QUOTED;
81164
81164
  break;
81165
81165
  }
81166
- case F.AMPERSAND: {
81166
+ case q.AMPERSAND: {
81167
81167
  this._startCharacterReference();
81168
81168
  break;
81169
81169
  }
81170
- case F.NULL: {
81170
+ case q.NULL: {
81171
81171
  this._err(ie.unexpectedNullCharacter), this.currentAttr.value += bt;
81172
81172
  break;
81173
81173
  }
81174
- case F.EOF: {
81174
+ case q.EOF: {
81175
81175
  this._err(ie.eofInTag), this._emitEOFToken();
81176
81176
  break;
81177
81177
  }
@@ -81183,34 +81183,34 @@ class Kae {
81183
81183
  //------------------------------------------------------------------
81184
81184
  _stateAttributeValueUnquoted(e) {
81185
81185
  switch (e) {
81186
- case F.SPACE:
81187
- case F.LINE_FEED:
81188
- case F.TABULATION:
81189
- case F.FORM_FEED: {
81186
+ case q.SPACE:
81187
+ case q.LINE_FEED:
81188
+ case q.TABULATION:
81189
+ case q.FORM_FEED: {
81190
81190
  this._leaveAttrValue(), this.state = Z.BEFORE_ATTRIBUTE_NAME;
81191
81191
  break;
81192
81192
  }
81193
- case F.AMPERSAND: {
81193
+ case q.AMPERSAND: {
81194
81194
  this._startCharacterReference();
81195
81195
  break;
81196
81196
  }
81197
- case F.GREATER_THAN_SIGN: {
81197
+ case q.GREATER_THAN_SIGN: {
81198
81198
  this._leaveAttrValue(), this.state = Z.DATA, this.emitCurrentTagToken();
81199
81199
  break;
81200
81200
  }
81201
- case F.NULL: {
81201
+ case q.NULL: {
81202
81202
  this._err(ie.unexpectedNullCharacter), this.currentAttr.value += bt;
81203
81203
  break;
81204
81204
  }
81205
- case F.QUOTATION_MARK:
81206
- case F.APOSTROPHE:
81207
- case F.LESS_THAN_SIGN:
81208
- case F.EQUALS_SIGN:
81209
- case F.GRAVE_ACCENT: {
81205
+ case q.QUOTATION_MARK:
81206
+ case q.APOSTROPHE:
81207
+ case q.LESS_THAN_SIGN:
81208
+ case q.EQUALS_SIGN:
81209
+ case q.GRAVE_ACCENT: {
81210
81210
  this._err(ie.unexpectedCharacterInUnquotedAttributeValue), this.currentAttr.value += String.fromCodePoint(e);
81211
81211
  break;
81212
81212
  }
81213
- case F.EOF: {
81213
+ case q.EOF: {
81214
81214
  this._err(ie.eofInTag), this._emitEOFToken();
81215
81215
  break;
81216
81216
  }
@@ -81222,22 +81222,22 @@ class Kae {
81222
81222
  //------------------------------------------------------------------
81223
81223
  _stateAfterAttributeValueQuoted(e) {
81224
81224
  switch (e) {
81225
- case F.SPACE:
81226
- case F.LINE_FEED:
81227
- case F.TABULATION:
81228
- case F.FORM_FEED: {
81225
+ case q.SPACE:
81226
+ case q.LINE_FEED:
81227
+ case q.TABULATION:
81228
+ case q.FORM_FEED: {
81229
81229
  this._leaveAttrValue(), this.state = Z.BEFORE_ATTRIBUTE_NAME;
81230
81230
  break;
81231
81231
  }
81232
- case F.SOLIDUS: {
81232
+ case q.SOLIDUS: {
81233
81233
  this._leaveAttrValue(), this.state = Z.SELF_CLOSING_START_TAG;
81234
81234
  break;
81235
81235
  }
81236
- case F.GREATER_THAN_SIGN: {
81236
+ case q.GREATER_THAN_SIGN: {
81237
81237
  this._leaveAttrValue(), this.state = Z.DATA, this.emitCurrentTagToken();
81238
81238
  break;
81239
81239
  }
81240
- case F.EOF: {
81240
+ case q.EOF: {
81241
81241
  this._err(ie.eofInTag), this._emitEOFToken();
81242
81242
  break;
81243
81243
  }
@@ -81249,12 +81249,12 @@ class Kae {
81249
81249
  //------------------------------------------------------------------
81250
81250
  _stateSelfClosingStartTag(e) {
81251
81251
  switch (e) {
81252
- case F.GREATER_THAN_SIGN: {
81252
+ case q.GREATER_THAN_SIGN: {
81253
81253
  const r = this.currentToken;
81254
81254
  r.selfClosing = !0, this.state = Z.DATA, this.emitCurrentTagToken();
81255
81255
  break;
81256
81256
  }
81257
- case F.EOF: {
81257
+ case q.EOF: {
81258
81258
  this._err(ie.eofInTag), this._emitEOFToken();
81259
81259
  break;
81260
81260
  }
@@ -81267,15 +81267,15 @@ class Kae {
81267
81267
  _stateBogusComment(e) {
81268
81268
  const r = this.currentToken;
81269
81269
  switch (e) {
81270
- case F.GREATER_THAN_SIGN: {
81270
+ case q.GREATER_THAN_SIGN: {
81271
81271
  this.state = Z.DATA, this.emitCurrentComment(r);
81272
81272
  break;
81273
81273
  }
81274
- case F.EOF: {
81274
+ case q.EOF: {
81275
81275
  this.emitCurrentComment(r), this._emitEOFToken();
81276
81276
  break;
81277
81277
  }
81278
- case F.NULL: {
81278
+ case q.NULL: {
81279
81279
  this._err(ie.unexpectedNullCharacter), r.data += bt;
81280
81280
  break;
81281
81281
  }
@@ -81292,11 +81292,11 @@ class Kae {
81292
81292
  //------------------------------------------------------------------
81293
81293
  _stateCommentStart(e) {
81294
81294
  switch (e) {
81295
- case F.HYPHEN_MINUS: {
81295
+ case q.HYPHEN_MINUS: {
81296
81296
  this.state = Z.COMMENT_START_DASH;
81297
81297
  break;
81298
81298
  }
81299
- case F.GREATER_THAN_SIGN: {
81299
+ case q.GREATER_THAN_SIGN: {
81300
81300
  this._err(ie.abruptClosingOfEmptyComment), this.state = Z.DATA;
81301
81301
  const r = this.currentToken;
81302
81302
  this.emitCurrentComment(r);
@@ -81311,15 +81311,15 @@ class Kae {
81311
81311
  _stateCommentStartDash(e) {
81312
81312
  const r = this.currentToken;
81313
81313
  switch (e) {
81314
- case F.HYPHEN_MINUS: {
81314
+ case q.HYPHEN_MINUS: {
81315
81315
  this.state = Z.COMMENT_END;
81316
81316
  break;
81317
81317
  }
81318
- case F.GREATER_THAN_SIGN: {
81318
+ case q.GREATER_THAN_SIGN: {
81319
81319
  this._err(ie.abruptClosingOfEmptyComment), this.state = Z.DATA, this.emitCurrentComment(r);
81320
81320
  break;
81321
81321
  }
81322
- case F.EOF: {
81322
+ case q.EOF: {
81323
81323
  this._err(ie.eofInComment), this.emitCurrentComment(r), this._emitEOFToken();
81324
81324
  break;
81325
81325
  }
@@ -81332,19 +81332,19 @@ class Kae {
81332
81332
  _stateComment(e) {
81333
81333
  const r = this.currentToken;
81334
81334
  switch (e) {
81335
- case F.HYPHEN_MINUS: {
81335
+ case q.HYPHEN_MINUS: {
81336
81336
  this.state = Z.COMMENT_END_DASH;
81337
81337
  break;
81338
81338
  }
81339
- case F.LESS_THAN_SIGN: {
81339
+ case q.LESS_THAN_SIGN: {
81340
81340
  r.data += "<", this.state = Z.COMMENT_LESS_THAN_SIGN;
81341
81341
  break;
81342
81342
  }
81343
- case F.NULL: {
81343
+ case q.NULL: {
81344
81344
  this._err(ie.unexpectedNullCharacter), r.data += bt;
81345
81345
  break;
81346
81346
  }
81347
- case F.EOF: {
81347
+ case q.EOF: {
81348
81348
  this._err(ie.eofInComment), this.emitCurrentComment(r), this._emitEOFToken();
81349
81349
  break;
81350
81350
  }
@@ -81357,11 +81357,11 @@ class Kae {
81357
81357
  _stateCommentLessThanSign(e) {
81358
81358
  const r = this.currentToken;
81359
81359
  switch (e) {
81360
- case F.EXCLAMATION_MARK: {
81360
+ case q.EXCLAMATION_MARK: {
81361
81361
  r.data += "!", this.state = Z.COMMENT_LESS_THAN_SIGN_BANG;
81362
81362
  break;
81363
81363
  }
81364
- case F.LESS_THAN_SIGN: {
81364
+ case q.LESS_THAN_SIGN: {
81365
81365
  r.data += "<";
81366
81366
  break;
81367
81367
  }
@@ -81372,28 +81372,28 @@ class Kae {
81372
81372
  // Comment less-than sign bang state
81373
81373
  //------------------------------------------------------------------
81374
81374
  _stateCommentLessThanSignBang(e) {
81375
- e === F.HYPHEN_MINUS ? this.state = Z.COMMENT_LESS_THAN_SIGN_BANG_DASH : (this.state = Z.COMMENT, this._stateComment(e));
81375
+ e === q.HYPHEN_MINUS ? this.state = Z.COMMENT_LESS_THAN_SIGN_BANG_DASH : (this.state = Z.COMMENT, this._stateComment(e));
81376
81376
  }
81377
81377
  // Comment less-than sign bang dash state
81378
81378
  //------------------------------------------------------------------
81379
81379
  _stateCommentLessThanSignBangDash(e) {
81380
- e === F.HYPHEN_MINUS ? this.state = Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH : (this.state = Z.COMMENT_END_DASH, this._stateCommentEndDash(e));
81380
+ e === q.HYPHEN_MINUS ? this.state = Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH : (this.state = Z.COMMENT_END_DASH, this._stateCommentEndDash(e));
81381
81381
  }
81382
81382
  // Comment less-than sign bang dash dash state
81383
81383
  //------------------------------------------------------------------
81384
81384
  _stateCommentLessThanSignBangDashDash(e) {
81385
- e !== F.GREATER_THAN_SIGN && e !== F.EOF && this._err(ie.nestedComment), this.state = Z.COMMENT_END, this._stateCommentEnd(e);
81385
+ e !== q.GREATER_THAN_SIGN && e !== q.EOF && this._err(ie.nestedComment), this.state = Z.COMMENT_END, this._stateCommentEnd(e);
81386
81386
  }
81387
81387
  // Comment end dash state
81388
81388
  //------------------------------------------------------------------
81389
81389
  _stateCommentEndDash(e) {
81390
81390
  const r = this.currentToken;
81391
81391
  switch (e) {
81392
- case F.HYPHEN_MINUS: {
81392
+ case q.HYPHEN_MINUS: {
81393
81393
  this.state = Z.COMMENT_END;
81394
81394
  break;
81395
81395
  }
81396
- case F.EOF: {
81396
+ case q.EOF: {
81397
81397
  this._err(ie.eofInComment), this.emitCurrentComment(r), this._emitEOFToken();
81398
81398
  break;
81399
81399
  }
@@ -81406,19 +81406,19 @@ class Kae {
81406
81406
  _stateCommentEnd(e) {
81407
81407
  const r = this.currentToken;
81408
81408
  switch (e) {
81409
- case F.GREATER_THAN_SIGN: {
81409
+ case q.GREATER_THAN_SIGN: {
81410
81410
  this.state = Z.DATA, this.emitCurrentComment(r);
81411
81411
  break;
81412
81412
  }
81413
- case F.EXCLAMATION_MARK: {
81413
+ case q.EXCLAMATION_MARK: {
81414
81414
  this.state = Z.COMMENT_END_BANG;
81415
81415
  break;
81416
81416
  }
81417
- case F.HYPHEN_MINUS: {
81417
+ case q.HYPHEN_MINUS: {
81418
81418
  r.data += "-";
81419
81419
  break;
81420
81420
  }
81421
- case F.EOF: {
81421
+ case q.EOF: {
81422
81422
  this._err(ie.eofInComment), this.emitCurrentComment(r), this._emitEOFToken();
81423
81423
  break;
81424
81424
  }
@@ -81431,15 +81431,15 @@ class Kae {
81431
81431
  _stateCommentEndBang(e) {
81432
81432
  const r = this.currentToken;
81433
81433
  switch (e) {
81434
- case F.HYPHEN_MINUS: {
81434
+ case q.HYPHEN_MINUS: {
81435
81435
  r.data += "--!", this.state = Z.COMMENT_END_DASH;
81436
81436
  break;
81437
81437
  }
81438
- case F.GREATER_THAN_SIGN: {
81438
+ case q.GREATER_THAN_SIGN: {
81439
81439
  this._err(ie.incorrectlyClosedComment), this.state = Z.DATA, this.emitCurrentComment(r);
81440
81440
  break;
81441
81441
  }
81442
- case F.EOF: {
81442
+ case q.EOF: {
81443
81443
  this._err(ie.eofInComment), this.emitCurrentComment(r), this._emitEOFToken();
81444
81444
  break;
81445
81445
  }
@@ -81451,18 +81451,18 @@ class Kae {
81451
81451
  //------------------------------------------------------------------
81452
81452
  _stateDoctype(e) {
81453
81453
  switch (e) {
81454
- case F.SPACE:
81455
- case F.LINE_FEED:
81456
- case F.TABULATION:
81457
- case F.FORM_FEED: {
81454
+ case q.SPACE:
81455
+ case q.LINE_FEED:
81456
+ case q.TABULATION:
81457
+ case q.FORM_FEED: {
81458
81458
  this.state = Z.BEFORE_DOCTYPE_NAME;
81459
81459
  break;
81460
81460
  }
81461
- case F.GREATER_THAN_SIGN: {
81461
+ case q.GREATER_THAN_SIGN: {
81462
81462
  this.state = Z.BEFORE_DOCTYPE_NAME, this._stateBeforeDoctypeName(e);
81463
81463
  break;
81464
81464
  }
81465
- case F.EOF: {
81465
+ case q.EOF: {
81466
81466
  this._err(ie.eofInDoctype), this._createDoctypeToken(null);
81467
81467
  const r = this.currentToken;
81468
81468
  r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
@@ -81479,22 +81479,22 @@ class Kae {
81479
81479
  this._createDoctypeToken(String.fromCharCode(l7(e))), this.state = Z.DOCTYPE_NAME;
81480
81480
  else
81481
81481
  switch (e) {
81482
- case F.SPACE:
81483
- case F.LINE_FEED:
81484
- case F.TABULATION:
81485
- case F.FORM_FEED:
81482
+ case q.SPACE:
81483
+ case q.LINE_FEED:
81484
+ case q.TABULATION:
81485
+ case q.FORM_FEED:
81486
81486
  break;
81487
- case F.NULL: {
81487
+ case q.NULL: {
81488
81488
  this._err(ie.unexpectedNullCharacter), this._createDoctypeToken(bt), this.state = Z.DOCTYPE_NAME;
81489
81489
  break;
81490
81490
  }
81491
- case F.GREATER_THAN_SIGN: {
81491
+ case q.GREATER_THAN_SIGN: {
81492
81492
  this._err(ie.missingDoctypeName), this._createDoctypeToken(null);
81493
81493
  const r = this.currentToken;
81494
81494
  r.forceQuirks = !0, this.emitCurrentDoctype(r), this.state = Z.DATA;
81495
81495
  break;
81496
81496
  }
81497
- case F.EOF: {
81497
+ case q.EOF: {
81498
81498
  this._err(ie.eofInDoctype), this._createDoctypeToken(null);
81499
81499
  const r = this.currentToken;
81500
81500
  r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
@@ -81509,22 +81509,22 @@ class Kae {
81509
81509
  _stateDoctypeName(e) {
81510
81510
  const r = this.currentToken;
81511
81511
  switch (e) {
81512
- case F.SPACE:
81513
- case F.LINE_FEED:
81514
- case F.TABULATION:
81515
- case F.FORM_FEED: {
81512
+ case q.SPACE:
81513
+ case q.LINE_FEED:
81514
+ case q.TABULATION:
81515
+ case q.FORM_FEED: {
81516
81516
  this.state = Z.AFTER_DOCTYPE_NAME;
81517
81517
  break;
81518
81518
  }
81519
- case F.GREATER_THAN_SIGN: {
81519
+ case q.GREATER_THAN_SIGN: {
81520
81520
  this.state = Z.DATA, this.emitCurrentDoctype(r);
81521
81521
  break;
81522
81522
  }
81523
- case F.NULL: {
81523
+ case q.NULL: {
81524
81524
  this._err(ie.unexpectedNullCharacter), r.name += bt;
81525
81525
  break;
81526
81526
  }
81527
- case F.EOF: {
81527
+ case q.EOF: {
81528
81528
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81529
81529
  break;
81530
81530
  }
@@ -81537,16 +81537,16 @@ class Kae {
81537
81537
  _stateAfterDoctypeName(e) {
81538
81538
  const r = this.currentToken;
81539
81539
  switch (e) {
81540
- case F.SPACE:
81541
- case F.LINE_FEED:
81542
- case F.TABULATION:
81543
- case F.FORM_FEED:
81540
+ case q.SPACE:
81541
+ case q.LINE_FEED:
81542
+ case q.TABULATION:
81543
+ case q.FORM_FEED:
81544
81544
  break;
81545
- case F.GREATER_THAN_SIGN: {
81545
+ case q.GREATER_THAN_SIGN: {
81546
81546
  this.state = Z.DATA, this.emitCurrentDoctype(r);
81547
81547
  break;
81548
81548
  }
81549
- case F.EOF: {
81549
+ case q.EOF: {
81550
81550
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81551
81551
  break;
81552
81552
  }
@@ -81559,26 +81559,26 @@ class Kae {
81559
81559
  _stateAfterDoctypePublicKeyword(e) {
81560
81560
  const r = this.currentToken;
81561
81561
  switch (e) {
81562
- case F.SPACE:
81563
- case F.LINE_FEED:
81564
- case F.TABULATION:
81565
- case F.FORM_FEED: {
81562
+ case q.SPACE:
81563
+ case q.LINE_FEED:
81564
+ case q.TABULATION:
81565
+ case q.FORM_FEED: {
81566
81566
  this.state = Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;
81567
81567
  break;
81568
81568
  }
81569
- case F.QUOTATION_MARK: {
81569
+ case q.QUOTATION_MARK: {
81570
81570
  this._err(ie.missingWhitespaceAfterDoctypePublicKeyword), r.publicId = "", this.state = Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
81571
81571
  break;
81572
81572
  }
81573
- case F.APOSTROPHE: {
81573
+ case q.APOSTROPHE: {
81574
81574
  this._err(ie.missingWhitespaceAfterDoctypePublicKeyword), r.publicId = "", this.state = Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
81575
81575
  break;
81576
81576
  }
81577
- case F.GREATER_THAN_SIGN: {
81577
+ case q.GREATER_THAN_SIGN: {
81578
81578
  this._err(ie.missingDoctypePublicIdentifier), r.forceQuirks = !0, this.state = Z.DATA, this.emitCurrentDoctype(r);
81579
81579
  break;
81580
81580
  }
81581
- case F.EOF: {
81581
+ case q.EOF: {
81582
81582
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81583
81583
  break;
81584
81584
  }
@@ -81591,24 +81591,24 @@ class Kae {
81591
81591
  _stateBeforeDoctypePublicIdentifier(e) {
81592
81592
  const r = this.currentToken;
81593
81593
  switch (e) {
81594
- case F.SPACE:
81595
- case F.LINE_FEED:
81596
- case F.TABULATION:
81597
- case F.FORM_FEED:
81594
+ case q.SPACE:
81595
+ case q.LINE_FEED:
81596
+ case q.TABULATION:
81597
+ case q.FORM_FEED:
81598
81598
  break;
81599
- case F.QUOTATION_MARK: {
81599
+ case q.QUOTATION_MARK: {
81600
81600
  r.publicId = "", this.state = Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
81601
81601
  break;
81602
81602
  }
81603
- case F.APOSTROPHE: {
81603
+ case q.APOSTROPHE: {
81604
81604
  r.publicId = "", this.state = Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
81605
81605
  break;
81606
81606
  }
81607
- case F.GREATER_THAN_SIGN: {
81607
+ case q.GREATER_THAN_SIGN: {
81608
81608
  this._err(ie.missingDoctypePublicIdentifier), r.forceQuirks = !0, this.state = Z.DATA, this.emitCurrentDoctype(r);
81609
81609
  break;
81610
81610
  }
81611
- case F.EOF: {
81611
+ case q.EOF: {
81612
81612
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81613
81613
  break;
81614
81614
  }
@@ -81621,19 +81621,19 @@ class Kae {
81621
81621
  _stateDoctypePublicIdentifierDoubleQuoted(e) {
81622
81622
  const r = this.currentToken;
81623
81623
  switch (e) {
81624
- case F.QUOTATION_MARK: {
81624
+ case q.QUOTATION_MARK: {
81625
81625
  this.state = Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
81626
81626
  break;
81627
81627
  }
81628
- case F.NULL: {
81628
+ case q.NULL: {
81629
81629
  this._err(ie.unexpectedNullCharacter), r.publicId += bt;
81630
81630
  break;
81631
81631
  }
81632
- case F.GREATER_THAN_SIGN: {
81632
+ case q.GREATER_THAN_SIGN: {
81633
81633
  this._err(ie.abruptDoctypePublicIdentifier), r.forceQuirks = !0, this.emitCurrentDoctype(r), this.state = Z.DATA;
81634
81634
  break;
81635
81635
  }
81636
- case F.EOF: {
81636
+ case q.EOF: {
81637
81637
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81638
81638
  break;
81639
81639
  }
@@ -81646,19 +81646,19 @@ class Kae {
81646
81646
  _stateDoctypePublicIdentifierSingleQuoted(e) {
81647
81647
  const r = this.currentToken;
81648
81648
  switch (e) {
81649
- case F.APOSTROPHE: {
81649
+ case q.APOSTROPHE: {
81650
81650
  this.state = Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
81651
81651
  break;
81652
81652
  }
81653
- case F.NULL: {
81653
+ case q.NULL: {
81654
81654
  this._err(ie.unexpectedNullCharacter), r.publicId += bt;
81655
81655
  break;
81656
81656
  }
81657
- case F.GREATER_THAN_SIGN: {
81657
+ case q.GREATER_THAN_SIGN: {
81658
81658
  this._err(ie.abruptDoctypePublicIdentifier), r.forceQuirks = !0, this.emitCurrentDoctype(r), this.state = Z.DATA;
81659
81659
  break;
81660
81660
  }
81661
- case F.EOF: {
81661
+ case q.EOF: {
81662
81662
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81663
81663
  break;
81664
81664
  }
@@ -81671,26 +81671,26 @@ class Kae {
81671
81671
  _stateAfterDoctypePublicIdentifier(e) {
81672
81672
  const r = this.currentToken;
81673
81673
  switch (e) {
81674
- case F.SPACE:
81675
- case F.LINE_FEED:
81676
- case F.TABULATION:
81677
- case F.FORM_FEED: {
81674
+ case q.SPACE:
81675
+ case q.LINE_FEED:
81676
+ case q.TABULATION:
81677
+ case q.FORM_FEED: {
81678
81678
  this.state = Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;
81679
81679
  break;
81680
81680
  }
81681
- case F.GREATER_THAN_SIGN: {
81681
+ case q.GREATER_THAN_SIGN: {
81682
81682
  this.state = Z.DATA, this.emitCurrentDoctype(r);
81683
81683
  break;
81684
81684
  }
81685
- case F.QUOTATION_MARK: {
81685
+ case q.QUOTATION_MARK: {
81686
81686
  this._err(ie.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
81687
81687
  break;
81688
81688
  }
81689
- case F.APOSTROPHE: {
81689
+ case q.APOSTROPHE: {
81690
81690
  this._err(ie.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
81691
81691
  break;
81692
81692
  }
81693
- case F.EOF: {
81693
+ case q.EOF: {
81694
81694
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81695
81695
  break;
81696
81696
  }
@@ -81703,24 +81703,24 @@ class Kae {
81703
81703
  _stateBetweenDoctypePublicAndSystemIdentifiers(e) {
81704
81704
  const r = this.currentToken;
81705
81705
  switch (e) {
81706
- case F.SPACE:
81707
- case F.LINE_FEED:
81708
- case F.TABULATION:
81709
- case F.FORM_FEED:
81706
+ case q.SPACE:
81707
+ case q.LINE_FEED:
81708
+ case q.TABULATION:
81709
+ case q.FORM_FEED:
81710
81710
  break;
81711
- case F.GREATER_THAN_SIGN: {
81711
+ case q.GREATER_THAN_SIGN: {
81712
81712
  this.emitCurrentDoctype(r), this.state = Z.DATA;
81713
81713
  break;
81714
81714
  }
81715
- case F.QUOTATION_MARK: {
81715
+ case q.QUOTATION_MARK: {
81716
81716
  r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
81717
81717
  break;
81718
81718
  }
81719
- case F.APOSTROPHE: {
81719
+ case q.APOSTROPHE: {
81720
81720
  r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
81721
81721
  break;
81722
81722
  }
81723
- case F.EOF: {
81723
+ case q.EOF: {
81724
81724
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81725
81725
  break;
81726
81726
  }
@@ -81733,26 +81733,26 @@ class Kae {
81733
81733
  _stateAfterDoctypeSystemKeyword(e) {
81734
81734
  const r = this.currentToken;
81735
81735
  switch (e) {
81736
- case F.SPACE:
81737
- case F.LINE_FEED:
81738
- case F.TABULATION:
81739
- case F.FORM_FEED: {
81736
+ case q.SPACE:
81737
+ case q.LINE_FEED:
81738
+ case q.TABULATION:
81739
+ case q.FORM_FEED: {
81740
81740
  this.state = Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;
81741
81741
  break;
81742
81742
  }
81743
- case F.QUOTATION_MARK: {
81743
+ case q.QUOTATION_MARK: {
81744
81744
  this._err(ie.missingWhitespaceAfterDoctypeSystemKeyword), r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
81745
81745
  break;
81746
81746
  }
81747
- case F.APOSTROPHE: {
81747
+ case q.APOSTROPHE: {
81748
81748
  this._err(ie.missingWhitespaceAfterDoctypeSystemKeyword), r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
81749
81749
  break;
81750
81750
  }
81751
- case F.GREATER_THAN_SIGN: {
81751
+ case q.GREATER_THAN_SIGN: {
81752
81752
  this._err(ie.missingDoctypeSystemIdentifier), r.forceQuirks = !0, this.state = Z.DATA, this.emitCurrentDoctype(r);
81753
81753
  break;
81754
81754
  }
81755
- case F.EOF: {
81755
+ case q.EOF: {
81756
81756
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81757
81757
  break;
81758
81758
  }
@@ -81765,24 +81765,24 @@ class Kae {
81765
81765
  _stateBeforeDoctypeSystemIdentifier(e) {
81766
81766
  const r = this.currentToken;
81767
81767
  switch (e) {
81768
- case F.SPACE:
81769
- case F.LINE_FEED:
81770
- case F.TABULATION:
81771
- case F.FORM_FEED:
81768
+ case q.SPACE:
81769
+ case q.LINE_FEED:
81770
+ case q.TABULATION:
81771
+ case q.FORM_FEED:
81772
81772
  break;
81773
- case F.QUOTATION_MARK: {
81773
+ case q.QUOTATION_MARK: {
81774
81774
  r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
81775
81775
  break;
81776
81776
  }
81777
- case F.APOSTROPHE: {
81777
+ case q.APOSTROPHE: {
81778
81778
  r.systemId = "", this.state = Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
81779
81779
  break;
81780
81780
  }
81781
- case F.GREATER_THAN_SIGN: {
81781
+ case q.GREATER_THAN_SIGN: {
81782
81782
  this._err(ie.missingDoctypeSystemIdentifier), r.forceQuirks = !0, this.state = Z.DATA, this.emitCurrentDoctype(r);
81783
81783
  break;
81784
81784
  }
81785
- case F.EOF: {
81785
+ case q.EOF: {
81786
81786
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81787
81787
  break;
81788
81788
  }
@@ -81795,19 +81795,19 @@ class Kae {
81795
81795
  _stateDoctypeSystemIdentifierDoubleQuoted(e) {
81796
81796
  const r = this.currentToken;
81797
81797
  switch (e) {
81798
- case F.QUOTATION_MARK: {
81798
+ case q.QUOTATION_MARK: {
81799
81799
  this.state = Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
81800
81800
  break;
81801
81801
  }
81802
- case F.NULL: {
81802
+ case q.NULL: {
81803
81803
  this._err(ie.unexpectedNullCharacter), r.systemId += bt;
81804
81804
  break;
81805
81805
  }
81806
- case F.GREATER_THAN_SIGN: {
81806
+ case q.GREATER_THAN_SIGN: {
81807
81807
  this._err(ie.abruptDoctypeSystemIdentifier), r.forceQuirks = !0, this.emitCurrentDoctype(r), this.state = Z.DATA;
81808
81808
  break;
81809
81809
  }
81810
- case F.EOF: {
81810
+ case q.EOF: {
81811
81811
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81812
81812
  break;
81813
81813
  }
@@ -81820,19 +81820,19 @@ class Kae {
81820
81820
  _stateDoctypeSystemIdentifierSingleQuoted(e) {
81821
81821
  const r = this.currentToken;
81822
81822
  switch (e) {
81823
- case F.APOSTROPHE: {
81823
+ case q.APOSTROPHE: {
81824
81824
  this.state = Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
81825
81825
  break;
81826
81826
  }
81827
- case F.NULL: {
81827
+ case q.NULL: {
81828
81828
  this._err(ie.unexpectedNullCharacter), r.systemId += bt;
81829
81829
  break;
81830
81830
  }
81831
- case F.GREATER_THAN_SIGN: {
81831
+ case q.GREATER_THAN_SIGN: {
81832
81832
  this._err(ie.abruptDoctypeSystemIdentifier), r.forceQuirks = !0, this.emitCurrentDoctype(r), this.state = Z.DATA;
81833
81833
  break;
81834
81834
  }
81835
- case F.EOF: {
81835
+ case q.EOF: {
81836
81836
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81837
81837
  break;
81838
81838
  }
@@ -81845,16 +81845,16 @@ class Kae {
81845
81845
  _stateAfterDoctypeSystemIdentifier(e) {
81846
81846
  const r = this.currentToken;
81847
81847
  switch (e) {
81848
- case F.SPACE:
81849
- case F.LINE_FEED:
81850
- case F.TABULATION:
81851
- case F.FORM_FEED:
81848
+ case q.SPACE:
81849
+ case q.LINE_FEED:
81850
+ case q.TABULATION:
81851
+ case q.FORM_FEED:
81852
81852
  break;
81853
- case F.GREATER_THAN_SIGN: {
81853
+ case q.GREATER_THAN_SIGN: {
81854
81854
  this.emitCurrentDoctype(r), this.state = Z.DATA;
81855
81855
  break;
81856
81856
  }
81857
- case F.EOF: {
81857
+ case q.EOF: {
81858
81858
  this._err(ie.eofInDoctype), r.forceQuirks = !0, this.emitCurrentDoctype(r), this._emitEOFToken();
81859
81859
  break;
81860
81860
  }
@@ -81867,15 +81867,15 @@ class Kae {
81867
81867
  _stateBogusDoctype(e) {
81868
81868
  const r = this.currentToken;
81869
81869
  switch (e) {
81870
- case F.GREATER_THAN_SIGN: {
81870
+ case q.GREATER_THAN_SIGN: {
81871
81871
  this.emitCurrentDoctype(r), this.state = Z.DATA;
81872
81872
  break;
81873
81873
  }
81874
- case F.NULL: {
81874
+ case q.NULL: {
81875
81875
  this._err(ie.unexpectedNullCharacter);
81876
81876
  break;
81877
81877
  }
81878
- case F.EOF: {
81878
+ case q.EOF: {
81879
81879
  this.emitCurrentDoctype(r), this._emitEOFToken();
81880
81880
  break;
81881
81881
  }
@@ -81885,11 +81885,11 @@ class Kae {
81885
81885
  //------------------------------------------------------------------
81886
81886
  _stateCdataSection(e) {
81887
81887
  switch (e) {
81888
- case F.RIGHT_SQUARE_BRACKET: {
81888
+ case q.RIGHT_SQUARE_BRACKET: {
81889
81889
  this.state = Z.CDATA_SECTION_BRACKET;
81890
81890
  break;
81891
81891
  }
81892
- case F.EOF: {
81892
+ case q.EOF: {
81893
81893
  this._err(ie.eofInCdata), this._emitEOFToken();
81894
81894
  break;
81895
81895
  }
@@ -81900,17 +81900,17 @@ class Kae {
81900
81900
  // CDATA section bracket state
81901
81901
  //------------------------------------------------------------------
81902
81902
  _stateCdataSectionBracket(e) {
81903
- e === F.RIGHT_SQUARE_BRACKET ? this.state = Z.CDATA_SECTION_END : (this._emitChars("]"), this.state = Z.CDATA_SECTION, this._stateCdataSection(e));
81903
+ e === q.RIGHT_SQUARE_BRACKET ? this.state = Z.CDATA_SECTION_END : (this._emitChars("]"), this.state = Z.CDATA_SECTION, this._stateCdataSection(e));
81904
81904
  }
81905
81905
  // CDATA section end state
81906
81906
  //------------------------------------------------------------------
81907
81907
  _stateCdataSectionEnd(e) {
81908
81908
  switch (e) {
81909
- case F.GREATER_THAN_SIGN: {
81909
+ case q.GREATER_THAN_SIGN: {
81910
81910
  this.state = Z.DATA;
81911
81911
  break;
81912
81912
  }
81913
- case F.RIGHT_SQUARE_BRACKET: {
81913
+ case q.RIGHT_SQUARE_BRACKET: {
81914
81914
  this._emitChars("]");
81915
81915
  break;
81916
81916
  }
@@ -81929,12 +81929,12 @@ class Kae {
81929
81929
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
81930
81930
  return;
81931
81931
  }
81932
- e === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(F.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && _S(this.preprocessor.peek(1)) ? Z.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
81932
+ e === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(q.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && _S(this.preprocessor.peek(1)) ? Z.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
81933
81933
  }
81934
81934
  // Ambiguos ampersand state
81935
81935
  //------------------------------------------------------------------
81936
81936
  _stateAmbiguousAmpersand(e) {
81937
- _S(e) ? this._flushCodePointConsumedAsCharacterReference(e) : (e === F.SEMICOLON && this._err(ie.unknownNamedCharacterReference), this.state = this.returnState, this._callState(e));
81937
+ _S(e) ? this._flushCodePointConsumedAsCharacterReference(e) : (e === q.SEMICOLON && this._err(ie.unknownNamedCharacterReference), this.state = this.returnState, this._callState(e));
81938
81938
  }
81939
81939
  }
81940
81940
  const xk = /* @__PURE__ */ new Set([H.DD, H.DT, H.LI, H.OPTGROUP, H.OPTION, H.P, H.RB, H.RP, H.RT, H.RTC]), CS = /* @__PURE__ */ new Set([
@@ -83577,7 +83577,7 @@ class RS {
83577
83577
  }
83578
83578
  /** @internal */
83579
83579
  onWhitespaceCharacter(e) {
83580
- if (this.skipNextNewLine && (this.skipNextNewLine = !1, e.chars.charCodeAt(0) === F.LINE_FEED)) {
83580
+ if (this.skipNextNewLine && (this.skipNextNewLine = !1, e.chars.charCodeAt(0) === q.LINE_FEED)) {
83581
83581
  if (e.chars.length === 1)
83582
83582
  return;
83583
83583
  e.chars = e.chars.substr(1);
@@ -87690,7 +87690,7 @@ const qe = {
87690
87690
  }),
87691
87691
  []
87692
87692
  );
87693
- return /* @__PURE__ */ q(OD.Provider, { value: e, children: /* @__PURE__ */ q(OR, { theme: e.tokens, children: t }) });
87693
+ return /* @__PURE__ */ F(OD.Provider, { value: e, children: /* @__PURE__ */ F(OR, { theme: e.tokens, children: t }) });
87694
87694
  }, q8e = () => cn(OD), $8e = ve.div`
87695
87695
  ${(t) => !t.$inline && `
87696
87696
  padding: 1.5rem;
@@ -87713,8 +87713,8 @@ function fh({ value: t, inline: e, className: r }) {
87713
87713
  }
87714
87714
  }, [t]);
87715
87715
  return /* @__PURE__ */ Re($8e, { $inline: e, className: Vl("markdown-body", r), children: [
87716
- /* @__PURE__ */ q(bR, { styles: Z8e }),
87717
- /* @__PURE__ */ q(
87716
+ /* @__PURE__ */ F(bR, { styles: Z8e }),
87717
+ /* @__PURE__ */ F(
87718
87718
  G4e,
87719
87719
  {
87720
87720
  remarkPlugins: [_8e, N8e],
@@ -87747,16 +87747,16 @@ function WS({ url: t, data: e }) {
87747
87747
  const u = e?.raw_path ?? "";
87748
87748
  return t ? r ? `${i}${a}path=${u}` : t.startsWith("s3://") ? `${i}${a}path=${t}` : !t.startsWith("http") && !t.startsWith("https") && u ? `${i}${a}path=${u}` : t : "";
87749
87749
  }, [e, r, t, i, a]);
87750
- return /* @__PURE__ */ q(A6, { src: l, alt: l, onError: o, onLoadedData: s });
87750
+ return /* @__PURE__ */ F(A6, { src: l, alt: l, onError: o, onLoadedData: s });
87751
87751
  }
87752
87752
  function U8e({ name: t, data: e }) {
87753
87753
  const { t: r } = p1();
87754
- return Array.isArray(e) ? /* @__PURE__ */ q(z8e, { children: e.map((n) => {
87754
+ return Array.isArray(e) ? /* @__PURE__ */ F(z8e, { children: e.map((n) => {
87755
87755
  if (typeof n == "string")
87756
- return /* @__PURE__ */ q(WS, { data: n, url: n }, n);
87756
+ return /* @__PURE__ */ F(WS, { data: n, url: n }, n);
87757
87757
  const i = n;
87758
- return /* @__PURE__ */ q(WS, { data: n, url: i.url }, i.url);
87759
- }) }) : /* @__PURE__ */ q(yD, { children: r("renderer.arrayTypeRequired") });
87758
+ return /* @__PURE__ */ F(WS, { data: n, url: i.url }, i.url);
87759
+ }) }) : /* @__PURE__ */ F(yD, { children: r("renderer.arrayTypeRequired") });
87760
87760
  }
87761
87761
  function W8e({ className: t, name: e, value: r, extraTail: n }) {
87762
87762
  const i = Nt(null), [a, { wrap: o }] = a5(), [s, l] = et(r), [u, { preview: c }] = i5(), [Q] = is(r ?? "");
@@ -87768,7 +87768,7 @@ function W8e({ className: t, name: e, value: r, extraTail: n }) {
87768
87768
  value: s,
87769
87769
  onChange: l
87770
87770
  }), [o, s]);
87771
- return /* @__PURE__ */ q(p4.Provider, { value: T, children: /* @__PURE__ */ q(
87771
+ return /* @__PURE__ */ F(p4.Provider, { value: T, children: /* @__PURE__ */ F(
87772
87772
  k2,
87773
87773
  {
87774
87774
  ref: i,
@@ -87777,11 +87777,11 @@ function W8e({ className: t, name: e, value: r, extraTail: n }) {
87777
87777
  extra: /* @__PURE__ */ Re(X8e, { children: [
87778
87778
  u,
87779
87779
  !c && a,
87780
- /* @__PURE__ */ q(P2, { elementRef: i }),
87780
+ /* @__PURE__ */ F(P2, { elementRef: i }),
87781
87781
  !c && Q,
87782
87782
  n
87783
87783
  ] }),
87784
- children: c ? /* @__PURE__ */ q(U8e, { name: e, data: s }) : /* @__PURE__ */ q(Q8, {})
87784
+ children: c ? /* @__PURE__ */ F(U8e, { name: e, data: s }) : /* @__PURE__ */ F(Q8, {})
87785
87785
  }
87786
87786
  ) });
87787
87787
  }
@@ -87810,23 +87810,23 @@ const G8e = "_contentList_1avch_1", Y8e = {
87810
87810
  function rue({ name: t, data: e }) {
87811
87811
  const { previewUrl: r } = ji(), { t: n } = p1(), i = Ot((a, o) => {
87812
87812
  if (a.text_format === "md")
87813
- return /* @__PURE__ */ q(fh, { inline: !0, value: a?.md ?? a?.text ?? "" }, `${t}-${o}`);
87813
+ return /* @__PURE__ */ F(fh, { inline: !0, value: a?.md ?? a?.text ?? "" }, `${t}-${o}`);
87814
87814
  if (a.type === "text")
87815
- return /* @__PURE__ */ q(GS, { children: a?.md ?? a?.text ?? "" }, `${t}-${o}`);
87815
+ return /* @__PURE__ */ F(GS, { children: a?.md ?? a?.text ?? "" }, `${t}-${o}`);
87816
87816
  if (a.type === "image") {
87817
87817
  if (a.img_urls?.length)
87818
- return a.img_urls.map((s) => /* @__PURE__ */ q(A6, { src: s, alt: a.img_alt }, `${t}-${s}`));
87818
+ return a.img_urls.map((s) => /* @__PURE__ */ F(A6, { src: s, alt: a.img_alt }, `${t}-${s}`));
87819
87819
  if (a.img_path) {
87820
87820
  let s = a.img_path;
87821
- return a.img_path.startsWith("s3://") && (s = `${r}${r?.includes("?") ? "&" : "?"}path=${a.img_path}`), /* @__PURE__ */ q(I1, { title: a.img_caption, children: /* @__PURE__ */ q(A6, { src: s, alt: a.img_alt }) });
87821
+ return a.img_path.startsWith("s3://") && (s = `${r}${r?.includes("?") ? "&" : "?"}path=${a.img_path}`), /* @__PURE__ */ F(I1, { title: a.img_caption, children: /* @__PURE__ */ F(A6, { src: s, alt: a.img_alt }) });
87822
87822
  }
87823
87823
  }
87824
- return /* @__PURE__ */ q(GS, { children: a.text ?? "" }, `${t}-${o}`);
87824
+ return /* @__PURE__ */ F(GS, { children: a.text ?? "" }, `${t}-${o}`);
87825
87825
  }, [t, r]);
87826
- return Array.isArray(e) ? /* @__PURE__ */ q(K8e, { className: Y8e.contentList, children: e.map((a, o) => /* @__PURE__ */ Re(J8e, { children: [
87827
- /* @__PURE__ */ q(eue, { children: o + 1 }),
87826
+ return Array.isArray(e) ? /* @__PURE__ */ F(K8e, { className: Y8e.contentList, children: e.map((a, o) => /* @__PURE__ */ Re(J8e, { children: [
87827
+ /* @__PURE__ */ F(eue, { children: o + 1 }),
87828
87828
  i(a, o)
87829
- ] }, o)) }) : /* @__PURE__ */ q(yD, { children: n("renderer.arrayTypeRequired") });
87829
+ ] }, o)) }) : /* @__PURE__ */ F(yD, { children: n("renderer.arrayTypeRequired") });
87830
87830
  }
87831
87831
  function nue({ className: t, name: e, value: r, extraTail: n }) {
87832
87832
  const i = Nt(null), [a, { wrap: o }] = a5(), [s, l] = et(r), [u, { preview: c }] = i5();
@@ -87838,7 +87838,7 @@ function nue({ className: t, name: e, value: r, extraTail: n }) {
87838
87838
  value: s,
87839
87839
  onChange: l
87840
87840
  }), [o, s, l]);
87841
- return /* @__PURE__ */ q(p4.Provider, { value: Q, children: /* @__PURE__ */ q(
87841
+ return /* @__PURE__ */ F(p4.Provider, { value: Q, children: /* @__PURE__ */ F(
87842
87842
  k2,
87843
87843
  {
87844
87844
  ref: i,
@@ -87847,10 +87847,10 @@ function nue({ className: t, name: e, value: r, extraTail: n }) {
87847
87847
  extra: /* @__PURE__ */ Re(tue, { children: [
87848
87848
  u,
87849
87849
  a,
87850
- /* @__PURE__ */ q(P2, { elementRef: i }),
87850
+ /* @__PURE__ */ F(P2, { elementRef: i }),
87851
87851
  n
87852
87852
  ] }),
87853
- children: c ? /* @__PURE__ */ q(rue, { name: e, data: s }) : /* @__PURE__ */ q(Q8, {})
87853
+ children: c ? /* @__PURE__ */ F(rue, { name: e, data: s }) : /* @__PURE__ */ F(Q8, {})
87854
87854
  }
87855
87855
  ) });
87856
87856
  }
@@ -87861,7 +87861,7 @@ const iue = ve.div`
87861
87861
  `;
87862
87862
  function aue({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
87863
87863
  const a = Nt(null), { headers: o, data: s } = _e(() => Gj(r ?? ""), [r]);
87864
- return /* @__PURE__ */ q(
87864
+ return /* @__PURE__ */ F(
87865
87865
  k2,
87866
87866
  {
87867
87867
  ref: a,
@@ -87869,10 +87869,10 @@ function aue({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
87869
87869
  titleExtra: i,
87870
87870
  name: e,
87871
87871
  extra: /* @__PURE__ */ Re(iue, { children: [
87872
- /* @__PURE__ */ q(P2, { elementRef: a }),
87872
+ /* @__PURE__ */ F(P2, { elementRef: a }),
87873
87873
  n
87874
87874
  ] }),
87875
- children: /* @__PURE__ */ q(
87875
+ children: /* @__PURE__ */ F(
87876
87876
  vE,
87877
87877
  {
87878
87878
  size: "small",
@@ -87915,11 +87915,11 @@ function lue(t) {
87915
87915
  a((h) => !h), o.current?.setActivated(!!e);
87916
87916
  }, [e]), Q = Ot(() => {
87917
87917
  n.resetFields(), r(""), a(!1);
87918
- }, [n]), T = _e(() => /* @__PURE__ */ q(
87918
+ }, [n]), T = _e(() => /* @__PURE__ */ F(
87919
87919
  YQ,
87920
87920
  {
87921
87921
  content: /* @__PURE__ */ Re(oue, { form: n, layout: "vertical", onFinish: l, children: [
87922
- /* @__PURE__ */ q(
87922
+ /* @__PURE__ */ F(
87923
87923
  e4.Item,
87924
87924
  {
87925
87925
  label: "Base URL",
@@ -87928,18 +87928,18 @@ function lue(t) {
87928
87928
  rules: [{
87929
87929
  type: "url"
87930
87930
  }],
87931
- children: /* @__PURE__ */ q(KQ, { placeholder: "https://example.com" })
87931
+ children: /* @__PURE__ */ F(KQ, { placeholder: "https://example.com" })
87932
87932
  }
87933
87933
  ),
87934
- /* @__PURE__ */ q(e4.Item, { noStyle: !0, children: /* @__PURE__ */ Re(sue, { children: [
87935
- /* @__PURE__ */ q(YS, { type: "primary", htmlType: "submit", children: s("renderer.confirm") }),
87936
- /* @__PURE__ */ q(YS, { onClick: Q, children: s("renderer.clear") })
87934
+ /* @__PURE__ */ F(e4.Item, { noStyle: !0, children: /* @__PURE__ */ Re(sue, { children: [
87935
+ /* @__PURE__ */ F(YS, { type: "primary", htmlType: "submit", children: s("renderer.confirm") }),
87936
+ /* @__PURE__ */ F(YS, { onClick: Q, children: s("renderer.clear") })
87937
87937
  ] }) })
87938
87938
  ] }),
87939
87939
  trigger: "click",
87940
87940
  open: i,
87941
87941
  onOpenChange: a,
87942
- children: /* @__PURE__ */ q(n5, { btnRef: o, activated: !!e, title: s("renderer.convertToFullUrl"), icon: /* @__PURE__ */ q(aT, {}), onChange: c })
87942
+ children: /* @__PURE__ */ F(n5, { btnRef: o, activated: !!e, title: s("renderer.convertToFullUrl"), icon: /* @__PURE__ */ F(aT, {}), onChange: c })
87943
87943
  }
87944
87944
  ), [e, n, c, Q, i, s]), f = _e(() => ({ open: i, base: e }), [i, e]);
87945
87945
  return [T, f, u, n];
@@ -87978,7 +87978,7 @@ function Tue({ className: t, name: e, value: r, extraTail: n }) {
87978
87978
  value: s,
87979
87979
  onChange: d
87980
87980
  }), [o, s, d]), y = _e(() => c ? s?.replace(/(href|src)=(["'])(\/(?!\/).*?)\2/gi, (x, O, v, L) => `${O}=${v}${c.replace(/\/+$/, "")}${L}${v}`) : s, [c, s]);
87981
- return /* @__PURE__ */ q(p4.Provider, { value: m, children: /* @__PURE__ */ q(
87981
+ return /* @__PURE__ */ F(p4.Provider, { value: m, children: /* @__PURE__ */ F(
87982
87982
  k2,
87983
87983
  {
87984
87984
  ref: i,
@@ -87992,17 +87992,17 @@ function Tue({ className: t, name: e, value: r, extraTail: n }) {
87992
87992
  !h && a,
87993
87993
  f,
87994
87994
  u,
87995
- /* @__PURE__ */ q(P2, { elementRef: i }),
87995
+ /* @__PURE__ */ F(P2, { elementRef: i }),
87996
87996
  !h && p,
87997
87997
  n
87998
87998
  ] }),
87999
- children: h ? /* @__PURE__ */ q(
87999
+ children: h ? /* @__PURE__ */ F(
88000
88000
  cue,
88001
88001
  {
88002
88002
  sandbox: "allow-same-origin",
88003
88003
  srcDoc: y
88004
88004
  }
88005
- ) : /* @__PURE__ */ q(T8, {})
88005
+ ) : /* @__PURE__ */ F(T8, {})
88006
88006
  }
88007
88007
  ) });
88008
88008
  }
@@ -88017,7 +88017,7 @@ const fue = ve.div`
88017
88017
  `;
88018
88018
  function due({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88019
88019
  const a = Nt(null);
88020
- return /* @__PURE__ */ q(
88020
+ return /* @__PURE__ */ F(
88021
88021
  k2,
88022
88022
  {
88023
88023
  ref: a,
@@ -88025,10 +88025,10 @@ function due({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88025
88025
  name: e,
88026
88026
  titleExtra: i,
88027
88027
  extra: /* @__PURE__ */ Re(fue, { children: [
88028
- /* @__PURE__ */ q(P2, { elementRef: a }),
88028
+ /* @__PURE__ */ F(P2, { elementRef: a }),
88029
88029
  n
88030
88030
  ] }),
88031
- children: /* @__PURE__ */ q(hue, { src: r, alt: r })
88031
+ children: /* @__PURE__ */ F(hue, { src: r, alt: r })
88032
88032
  }
88033
88033
  );
88034
88034
  }
@@ -88058,11 +88058,11 @@ function xue(t) {
88058
88058
  a((h) => !h), o.current?.setActivated(!!e);
88059
88059
  }, [e]), Q = Ot(() => {
88060
88060
  n.resetFields(), r(""), a(!1);
88061
- }, [n]), T = _e(() => /* @__PURE__ */ q(
88061
+ }, [n]), T = _e(() => /* @__PURE__ */ F(
88062
88062
  YQ,
88063
88063
  {
88064
88064
  content: /* @__PURE__ */ Re(Oue, { form: n, layout: "vertical", onFinish: l, children: [
88065
- /* @__PURE__ */ q(
88065
+ /* @__PURE__ */ F(
88066
88066
  e4.Item,
88067
88067
  {
88068
88068
  label: "Path prefix",
@@ -88071,18 +88071,18 @@ function xue(t) {
88071
88071
  rules: [{
88072
88072
  validator: async (h, p) => !p || vue.test(p) ? Promise.resolve() : Promise.reject(new Error(s("bucket.pathMustStartWithS3")))
88073
88073
  }],
88074
- children: /* @__PURE__ */ q(KQ, { placeholder: "s3://example-bucket/" })
88074
+ children: /* @__PURE__ */ F(KQ, { placeholder: "s3://example-bucket/" })
88075
88075
  }
88076
88076
  ),
88077
- /* @__PURE__ */ q(e4.Item, { noStyle: !0, children: /* @__PURE__ */ Re(yue, { children: [
88078
- /* @__PURE__ */ q(KS, { type: "primary", htmlType: "submit", children: s("renderer.confirm") }),
88079
- /* @__PURE__ */ q(KS, { onClick: Q, children: s("renderer.clear") })
88077
+ /* @__PURE__ */ F(e4.Item, { noStyle: !0, children: /* @__PURE__ */ Re(yue, { children: [
88078
+ /* @__PURE__ */ F(KS, { type: "primary", htmlType: "submit", children: s("renderer.confirm") }),
88079
+ /* @__PURE__ */ F(KS, { onClick: Q, children: s("renderer.clear") })
88080
88080
  ] }) })
88081
88081
  ] }),
88082
88082
  trigger: "click",
88083
88083
  open: i,
88084
88084
  onOpenChange: a,
88085
- children: /* @__PURE__ */ q(n5, { btnRef: o, activated: !!e, title: s("renderer.addS3Prefix"), icon: /* @__PURE__ */ q(aT, {}), onChange: c })
88085
+ children: /* @__PURE__ */ F(n5, { btnRef: o, activated: !!e, title: s("renderer.addS3Prefix"), icon: /* @__PURE__ */ F(aT, {}), onChange: c })
88086
88086
  }
88087
88087
  ), [e, n, c, Q, i, s]), f = _e(() => ({ open: i, prefix: e }), [i, e]);
88088
88088
  return [T, f, u, n];
@@ -88098,7 +88098,7 @@ function Sue(t, e) {
88098
88098
  const [r, n] = et(t), i = Ot((o) => {
88099
88099
  n(o.target.value);
88100
88100
  }, []);
88101
- return [_e(() => /* @__PURE__ */ q(bue, { defaultValue: t, buttonStyle: "solid", size: "small", value: r, onChange: i, children: e?.map((o) => /* @__PURE__ */ q(Lue, { value: o.value, children: o.label }, o.value)) }), [e, r, t, i]), r];
88101
+ return [_e(() => /* @__PURE__ */ F(bue, { defaultValue: t, buttonStyle: "solid", size: "small", value: r, onChange: i, children: e?.map((o) => /* @__PURE__ */ F(Lue, { value: o.value, children: o.label }, o.value)) }), [e, r, t, i]), r];
88102
88102
  }
88103
88103
  const Eue = ["image", "video", "audio"], Hue = /^[a-z][a-z\d+\-.]*:\/\//i, JS = /* @__PURE__ */ new Set(["image_url", "video_url", "audio_url"]);
88104
88104
  function _ue(t, e) {
@@ -88215,10 +88215,10 @@ const Cue = "_llmChatContent_187wa_1", Aue = "_llmChatMd_187wa_2", eE = {
88215
88215
  `;
88216
88216
  function $ue({ messageId: t, content: e }) {
88217
88217
  const { previewUrl: r } = ji();
88218
- return e.length ? /* @__PURE__ */ q(Mue, { className: eE.llmChatContent, children: e.map((n, i) => {
88218
+ return e.length ? /* @__PURE__ */ F(Mue, { className: eE.llmChatContent, children: e.map((n, i) => {
88219
88219
  const a = `${t}-${n.type}-${i}`, o = w8("markdown"), s = o.plain ?? o.renderer;
88220
88220
  if (n.type === "text")
88221
- return /* @__PURE__ */ q(
88221
+ return /* @__PURE__ */ F(
88222
88222
  s,
88223
88223
  {
88224
88224
  className: eE.llmChatMd,
@@ -88227,7 +88227,7 @@ function $ue({ messageId: t, content: e }) {
88227
88227
  a
88228
88228
  );
88229
88229
  const l = n.url ?? "", u = l.startsWith("s3://") ? `${r}${r?.includes("?") ? "&" : "?"}path=${encodeURIComponent(l)}` : l;
88230
- return n.type === "image" ? /* @__PURE__ */ q(
88230
+ return n.type === "image" ? /* @__PURE__ */ F(
88231
88231
  Pue,
88232
88232
  {
88233
88233
  src: u,
@@ -88240,7 +88240,7 @@ function $ue({ messageId: t, content: e }) {
88240
88240
  {
88241
88241
  controls: !0,
88242
88242
  children: [
88243
- /* @__PURE__ */ q("source", { src: u, type: n.mimeType ?? "video/mp4" }),
88243
+ /* @__PURE__ */ F("source", { src: u, type: n.mimeType ?? "video/mp4" }),
88244
88244
  "Your browser does not support the video tag."
88245
88245
  ]
88246
88246
  },
@@ -88250,12 +88250,12 @@ function $ue({ messageId: t, content: e }) {
88250
88250
  {
88251
88251
  controls: !0,
88252
88252
  children: [
88253
- /* @__PURE__ */ q("source", { src: u, type: n.mimeType ?? "audio/mpeg" }),
88253
+ /* @__PURE__ */ F("source", { src: u, type: n.mimeType ?? "audio/mpeg" }),
88254
88254
  "Your browser does not support the audio element."
88255
88255
  ]
88256
88256
  },
88257
88257
  a
88258
- ) : n.type === "json" ? /* @__PURE__ */ q(
88258
+ ) : n.type === "json" ? /* @__PURE__ */ F(
88259
88259
  Vue,
88260
88260
  {
88261
88261
  children: n.value
@@ -88267,48 +88267,48 @@ function $ue({ messageId: t, content: e }) {
88267
88267
  const Zue = {
88268
88268
  user: {
88269
88269
  label: "User",
88270
- icon: /* @__PURE__ */ q(jE, {}),
88270
+ icon: /* @__PURE__ */ F(jE, {}),
88271
88271
  avatarStyle: { backgroundColor: "#1890ff", color: "white" }
88272
88272
  },
88273
88273
  assistant: {
88274
88274
  label: "Assistant",
88275
- icon: /* @__PURE__ */ q(BE, {}),
88275
+ icon: /* @__PURE__ */ F(BE, {}),
88276
88276
  avatarStyle: { backgroundColor: "#722ed1", color: "white" }
88277
88277
  },
88278
88278
  system: {
88279
88279
  label: "System",
88280
- icon: /* @__PURE__ */ q(Nl, {}),
88280
+ icon: /* @__PURE__ */ F(Nl, {}),
88281
88281
  avatarStyle: { backgroundColor: "#faad14", color: "white" }
88282
88282
  },
88283
88283
  tool: {
88284
88284
  label: "Tool",
88285
- icon: /* @__PURE__ */ q(tc, {}),
88285
+ icon: /* @__PURE__ */ F(tc, {}),
88286
88286
  avatarStyle: { backgroundColor: "#13c2c2", color: "white" }
88287
88287
  },
88288
88288
  function: {
88289
88289
  label: "Function",
88290
- icon: /* @__PURE__ */ q(tc, {}),
88290
+ icon: /* @__PURE__ */ F(tc, {}),
88291
88291
  avatarStyle: { backgroundColor: "#13c2c2", color: "white" }
88292
88292
  }
88293
88293
  };
88294
88294
  function zue(t) {
88295
88295
  return Zue[t] ?? {
88296
88296
  label: t ? t.charAt(0).toUpperCase() + t.slice(1) : "Unknown",
88297
- icon: /* @__PURE__ */ q(Nl, {}),
88297
+ icon: /* @__PURE__ */ F(Nl, {}),
88298
88298
  avatarStyle: { backgroundColor: "#d9d9d9", color: "#111827" }
88299
88299
  };
88300
88300
  }
88301
88301
  function Xue({ message: t, layout: e }) {
88302
88302
  const r = zue(t.role), n = e === "split" ? t.role === "user" ? "flex-end" : "flex-start" : e === "right" ? "flex-end" : "flex-start", i = n === "flex-end", a = !i, o = i ? "user" : "assistant";
88303
- return /* @__PURE__ */ q(Rue, { children: /* @__PURE__ */ Re(Iue, { $align: n, children: [
88304
- a && /* @__PURE__ */ q(
88303
+ return /* @__PURE__ */ F(Rue, { children: /* @__PURE__ */ Re(Iue, { $align: n, children: [
88304
+ a && /* @__PURE__ */ F(
88305
88305
  tE,
88306
88306
  {
88307
88307
  icon: r.icon,
88308
88308
  style: r.avatarStyle
88309
88309
  }
88310
88310
  ),
88311
- /* @__PURE__ */ q(
88311
+ /* @__PURE__ */ F(
88312
88312
  Nue,
88313
88313
  {
88314
88314
  size: "small",
@@ -88319,11 +88319,11 @@ function Xue({ message: t, layout: e }) {
88319
88319
  r.label,
88320
88320
  t.name ? ` · ${t.name}` : ""
88321
88321
  ] }),
88322
- /* @__PURE__ */ q($ue, { messageId: t.id, content: t.content })
88322
+ /* @__PURE__ */ F($ue, { messageId: t.id, content: t.content })
88323
88323
  ] })
88324
88324
  }
88325
88325
  ),
88326
- i && /* @__PURE__ */ q(
88326
+ i && /* @__PURE__ */ F(
88327
88327
  tE,
88328
88328
  {
88329
88329
  icon: r.icon,
@@ -88544,32 +88544,32 @@ ${c || ""}`);
88544
88544
  }
88545
88545
  function Jue({ value: t, layout: e = "split" }) {
88546
88546
  const r = _e(() => Kue(t), [t]);
88547
- return r.length ? /* @__PURE__ */ q(Fue, { children: /* @__PURE__ */ q(
88547
+ return r.length ? /* @__PURE__ */ F(Fue, { children: /* @__PURE__ */ F(
88548
88548
  Dl,
88549
88549
  {
88550
88550
  dataSource: r,
88551
88551
  split: !1,
88552
- renderItem: (n) => /* @__PURE__ */ q(Xue, { message: n, layout: e })
88552
+ renderItem: (n) => /* @__PURE__ */ F(Xue, { message: n, layout: e })
88553
88553
  }
88554
- ) }) : /* @__PURE__ */ q("div", { children: "no chat content" });
88554
+ ) }) : /* @__PURE__ */ F("div", { children: "no chat content" });
88555
88555
  }
88556
88556
  const e9e = [
88557
88557
  {
88558
- label: /* @__PURE__ */ q(pue, {}),
88558
+ label: /* @__PURE__ */ F(pue, {}),
88559
88559
  value: "left"
88560
88560
  },
88561
88561
  {
88562
- label: /* @__PURE__ */ q(gue, {}),
88562
+ label: /* @__PURE__ */ F(gue, {}),
88563
88563
  value: "split"
88564
88564
  },
88565
88565
  {
88566
- label: /* @__PURE__ */ q(mue, {}),
88566
+ label: /* @__PURE__ */ F(mue, {}),
88567
88567
  value: "right"
88568
88568
  }
88569
88569
  ];
88570
88570
  function t9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88571
- const a = Nt(null), [o, { wrap: s }] = a5(), [l, { preview: u }] = i5(), [c, Q] = et(r), [T, { prefix: f }, , h] = xue(), [p, g] = Sue("split", e9e);
88572
- console.log("layout", g), Je(() => {
88571
+ const a = Nt(null), [o, { wrap: s }] = a5(), [l, { preview: u }] = i5(), [c, Q] = et(r), [T, { prefix: f }, h] = xue(), [p, g] = Sue("split", e9e);
88572
+ Je(() => {
88573
88573
  Q(r);
88574
88574
  }, [r]);
88575
88575
  const d = _e(() => {
@@ -88586,10 +88586,8 @@ function t9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88586
88586
  }
88587
88587
  }, [f, c]);
88588
88588
  Je(() => {
88589
- h.setFieldsValue({
88590
- baseUrl: d?.path_prefix
88591
- });
88592
- }, [d?.path_prefix, h]);
88589
+ h(d?.path_prefix);
88590
+ }, [d?.path_prefix]), console.log("prefixedValue:", f);
88593
88591
  const m = _e(() => ({
88594
88592
  wrap: s ?? !1,
88595
88593
  value: d,
@@ -88597,7 +88595,7 @@ function t9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88597
88595
  Q(y);
88598
88596
  }
88599
88597
  }), [s, d]);
88600
- return /* @__PURE__ */ q(p4.Provider, { value: m, children: /* @__PURE__ */ q(
88598
+ return /* @__PURE__ */ F(p4.Provider, { value: m, children: /* @__PURE__ */ F(
88601
88599
  k2,
88602
88600
  {
88603
88601
  ref: a,
@@ -88609,10 +88607,10 @@ function t9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88609
88607
  l,
88610
88608
  u && p,
88611
88609
  T,
88612
- /* @__PURE__ */ q(P2, { elementRef: a }),
88610
+ /* @__PURE__ */ F(P2, { elementRef: a }),
88613
88611
  n
88614
88612
  ] }),
88615
- children: u ? /* @__PURE__ */ q(Jue, { value: d, layout: g }) : /* @__PURE__ */ q(T8, {})
88613
+ children: u ? /* @__PURE__ */ F(Jue, { value: d, layout: g }) : /* @__PURE__ */ F(T8, {})
88616
88614
  }
88617
88615
  ) });
88618
88616
  }
@@ -88633,7 +88631,7 @@ function n9e({ className: t, name: e, value: r, extraTail: n }) {
88633
88631
  u(Q);
88634
88632
  }
88635
88633
  }), [l]);
88636
- return /* @__PURE__ */ q(p4.Provider, { value: c, children: /* @__PURE__ */ q(
88634
+ return /* @__PURE__ */ F(p4.Provider, { value: c, children: /* @__PURE__ */ F(
88637
88635
  k2,
88638
88636
  {
88639
88637
  name: e,
@@ -88641,11 +88639,11 @@ function n9e({ className: t, name: e, value: r, extraTail: n }) {
88641
88639
  className: t,
88642
88640
  extra: /* @__PURE__ */ Re(r9e, { children: [
88643
88641
  a,
88644
- /* @__PURE__ */ q(P2, { elementRef: i }),
88642
+ /* @__PURE__ */ F(P2, { elementRef: i }),
88645
88643
  s,
88646
88644
  n
88647
88645
  ] }),
88648
- children: o ? /* @__PURE__ */ q(fh, { value: l ?? "" }) : /* @__PURE__ */ q(T8, {})
88646
+ children: o ? /* @__PURE__ */ F(fh, { value: l ?? "" }) : /* @__PURE__ */ F(T8, {})
88649
88647
  }
88650
88648
  ) });
88651
88649
  }
@@ -88669,16 +88667,17 @@ function a9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88669
88667
  dataIndex: c.name,
88670
88668
  title: /* @__PURE__ */ Re("div", { children: [
88671
88669
  c.name,
88672
- /* @__PURE__ */ q("br", {}),
88673
- /* @__PURE__ */ q(B7, { children: c.type })
88670
+ /* @__PURE__ */ F("br", {}),
88671
+ /* @__PURE__ */ F(B7, { children: c.type })
88674
88672
  ] }),
88675
88673
  type: c.type,
88676
- key: c.name
88677
- })), [o]), l = _e(() => o.rows, [o]), u = _e(() => ({
88674
+ key: c.name,
88675
+ render: (Q) => typeof Q == "object" ? /* @__PURE__ */ F("code", { children: /* @__PURE__ */ F("pre", { children: JSON.stringify(Q, null, 2) }) }) : Q
88676
+ })), [o]), l = _e(() => o.rows ?? [], [o]), u = _e(() => ({
88678
88677
  pageSize: 20,
88679
88678
  hideOnSinglePage: !0
88680
88679
  }), [o]);
88681
- return /* @__PURE__ */ q(
88680
+ return /* @__PURE__ */ F(
88682
88681
  k2,
88683
88682
  {
88684
88683
  ref: a,
@@ -88686,21 +88685,21 @@ function a9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88686
88685
  titleExtra: i,
88687
88686
  name: e,
88688
88687
  extra: /* @__PURE__ */ Re(i9e, { children: [
88689
- /* @__PURE__ */ q(P2, { elementRef: a }),
88688
+ /* @__PURE__ */ F(P2, { elementRef: a }),
88690
88689
  n
88691
88690
  ] }),
88692
- children: /* @__PURE__ */ q(
88691
+ children: /* @__PURE__ */ F(
88693
88692
  vE,
88694
88693
  {
88695
88694
  size: "small",
88696
88695
  columns: s,
88697
88696
  pagination: u,
88698
88697
  dataSource: l,
88699
- footer: () => /* @__PURE__ */ Re("div", { children: [
88698
+ footer: o?.total_rows ? () => /* @__PURE__ */ Re("div", { children: [
88700
88699
  "共",
88701
88700
  o.total_rows,
88702
88701
  "行"
88703
- ] })
88702
+ ] }) : void 0
88704
88703
  }
88705
88704
  )
88706
88705
  }
@@ -88721,7 +88720,7 @@ function s9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88721
88720
  value: u,
88722
88721
  onChange: c
88723
88722
  }), [s, u]);
88724
- return /* @__PURE__ */ q(p4.Provider, { value: Q, children: /* @__PURE__ */ q(
88723
+ return /* @__PURE__ */ F(p4.Provider, { value: Q, children: /* @__PURE__ */ F(
88725
88724
  k2,
88726
88725
  {
88727
88726
  ref: a,
@@ -88729,12 +88728,12 @@ function s9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
88729
88728
  titleExtra: i,
88730
88729
  name: e,
88731
88730
  extra: /* @__PURE__ */ Re(o9e, { children: [
88732
- /* @__PURE__ */ q(P2, { elementRef: a }),
88731
+ /* @__PURE__ */ F(P2, { elementRef: a }),
88733
88732
  o,
88734
88733
  l,
88735
88734
  n
88736
88735
  ] }),
88737
- children: /* @__PURE__ */ q(T8, {})
88736
+ children: /* @__PURE__ */ F(T8, {})
88738
88737
  }
88739
88738
  ) });
88740
88739
  }
@@ -88844,10 +88843,10 @@ function xD(t = "raw", e) {
88844
88843
  },
88845
88844
  selectedKeys: [r ?? "raw"]
88846
88845
  }), [r]), s = _e(() => /* @__PURE__ */ Re(_i, { children: [
88847
- /* @__PURE__ */ q(LE, { type: "vertical" }),
88848
- /* @__PURE__ */ q(_D, { menu: o, children: /* @__PURE__ */ Re(u9e, { children: [
88846
+ /* @__PURE__ */ F(LE, { type: "vertical" }),
88847
+ /* @__PURE__ */ F(_D, { menu: o, children: /* @__PURE__ */ Re(u9e, { children: [
88849
88848
  a.find((u) => u.value === r)?.label,
88850
- /* @__PURE__ */ q(RE, {})
88849
+ /* @__PURE__ */ F(RE, {})
88851
88850
  ] }) })
88852
88851
  ] }), [o, r]), l = _e(() => ({
88853
88852
  renderType: r
@@ -88921,7 +88920,7 @@ function z9e({ renderAs: t, ...e }) {
88921
88920
  const [r, { renderType: n }] = xD(t), i = w8(n ?? t ?? "raw")?.renderer ?? Q4.raw.renderer, a = _e(() => ({
88922
88921
  renderer: r
88923
88922
  }), [r]);
88924
- return /* @__PURE__ */ q(Cf.Provider, { value: a, children: /* @__PURE__ */ q(i, { ...e }) });
88923
+ return /* @__PURE__ */ F(Cf.Provider, { value: a, children: /* @__PURE__ */ F(i, { ...e }) });
88925
88924
  }
88926
88925
  function X9e(t, e) {
88927
88926
  return t === "content" ? "markdown" : typeof e == "string" && e.replace(/\r|\n/g, "").startsWith("<!DOCTYPE html>") || t === "html" || t === "main_html" ? "html" : t === "content_list" || t === "img_list" ? t : (Array.isArray(e), "raw");
@@ -89024,7 +89023,7 @@ function LD({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
89024
89023
  value: g,
89025
89024
  path: u
89026
89025
  }), [g, u]);
89027
- return /* @__PURE__ */ q(LM.Provider, { value: D, children: /* @__PURE__ */ q(p4.Provider, { value: P, children: /* @__PURE__ */ q(Cf.Provider, { value: _, children: R === "json" ? /* @__PURE__ */ q(
89026
+ return /* @__PURE__ */ F(LM.Provider, { value: D, children: /* @__PURE__ */ F(p4.Provider, { value: P, children: /* @__PURE__ */ F(Cf.Provider, { value: _, children: R === "json" ? /* @__PURE__ */ F(
89028
89027
  k2,
89029
89028
  {
89030
89029
  className: t,
@@ -89035,19 +89034,19 @@ function LD({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
89035
89034
  !E && A,
89036
89035
  S,
89037
89036
  c,
89038
- /* @__PURE__ */ q(P2, { elementRef: T }),
89037
+ /* @__PURE__ */ F(P2, { elementRef: T }),
89039
89038
  n
89040
89039
  ] }),
89041
89040
  children: /* @__PURE__ */ Re("div", { ref: f, children: [
89042
- d && /* @__PURE__ */ q(B9e, { children: /* @__PURE__ */ q(j9e, { children: d }) }),
89043
- /* @__PURE__ */ q(
89041
+ d && /* @__PURE__ */ F(B9e, { children: /* @__PURE__ */ F(j9e, { children: d }) }),
89042
+ /* @__PURE__ */ F(
89044
89043
  F9e,
89045
89044
  {
89046
89045
  $preview: E,
89047
89046
  style: {
89048
89047
  minHeight: p.height
89049
89048
  },
89050
- children: /* @__PURE__ */ q(
89049
+ children: /* @__PURE__ */ F(
89051
89050
  BF,
89052
89051
  {
89053
89052
  layout: M,
@@ -89058,23 +89057,23 @@ function LD({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
89058
89057
  margin: [0, 0],
89059
89058
  className: "draggable-layout",
89060
89059
  resizeHandles: ["nw", "se", "ne", "sw"],
89061
- children: m.map(($) => /* @__PURE__ */ q($9e, { children: /* @__PURE__ */ q(
89060
+ children: m.map(($) => /* @__PURE__ */ F($9e, { children: /* @__PURE__ */ F(
89062
89061
  Z9e,
89063
89062
  {
89064
89063
  renderAs: $.renderAs,
89065
89064
  name: $.field,
89066
89065
  value: $.field === "__root__" ? g : ld(g, $.field),
89067
- extraTail: $.field !== "__root__" && /* @__PURE__ */ q(_i, { children: /* @__PURE__ */ q(I1, { title: Q("renderer.close"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", icon: /* @__PURE__ */ q(nT, {}), onClick: () => I?.($.id) }) }) })
89066
+ extraTail: $.field !== "__root__" && /* @__PURE__ */ F(_i, { children: /* @__PURE__ */ F(I1, { title: Q("renderer.close"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", icon: /* @__PURE__ */ F(nT, {}), onClick: () => I?.($.id) }) }) })
89068
89067
  }
89069
89068
  ) }, $.id))
89070
89069
  }
89071
89070
  )
89072
89071
  }
89073
89072
  ),
89074
- /* @__PURE__ */ q(q9e, { visible: E })
89073
+ /* @__PURE__ */ F(q9e, { visible: E })
89075
89074
  ] })
89076
89075
  }
89077
- ) : /* @__PURE__ */ q(
89076
+ ) : /* @__PURE__ */ F(
89078
89077
  V,
89079
89078
  {
89080
89079
  className: t,
@@ -89085,7 +89084,7 @@ function LD({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
89085
89084
  extra: /* @__PURE__ */ Re(rE, { children: [
89086
89085
  !E && A,
89087
89086
  S,
89088
- /* @__PURE__ */ q(P2, { elementRef: T }),
89087
+ /* @__PURE__ */ F(P2, { elementRef: T }),
89089
89088
  c,
89090
89089
  n
89091
89090
  ] })
@@ -89101,11 +89100,11 @@ function Y9e({ name: t, type: e, className: r, extraTail: n, titleExtra: i }) {
89101
89100
  T(a?.content);
89102
89101
  }, [a]);
89103
89102
  const h = c && ["jsonl", "json", "csv", "txt", "parquet"].includes(e) ? /* @__PURE__ */ Re(bE.Compact, { children: [
89104
- /* @__PURE__ */ q(I1, { title: f("textPreviewer.prevSection"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", disabled: !l, onClick: s, icon: /* @__PURE__ */ q(iT, {}) }) }),
89105
- /* @__PURE__ */ q(I1, { title: f("textPreviewer.nextSection"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", disabled: !u, onClick: o, icon: /* @__PURE__ */ q(oT, {}) }) })
89103
+ /* @__PURE__ */ F(I1, { title: f("textPreviewer.prevSection"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", disabled: !l, onClick: s, icon: /* @__PURE__ */ F(iT, {}) }) }),
89104
+ /* @__PURE__ */ F(I1, { title: f("textPreviewer.nextSection"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", disabled: !u, onClick: o, icon: /* @__PURE__ */ F(oT, {}) }) })
89106
89105
  ] }) : null;
89107
89106
  let p = null;
89108
- return e === "jsonl" ? p = LD : p = w8(e)?.renderer ?? Q4.raw.renderer, p ? /* @__PURE__ */ q(
89107
+ return e === "jsonl" ? p = LD : p = w8(e)?.renderer ?? Q4.raw.renderer, p ? /* @__PURE__ */ F(
89109
89108
  p,
89110
89109
  {
89111
89110
  name: t,
@@ -89153,100 +89152,100 @@ ve.div`
89153
89152
  `;
89154
89153
  const l6 = {
89155
89154
  // 基础文件类型
89156
- folder: /* @__PURE__ */ q(ece, {}),
89157
- file: /* @__PURE__ */ q(o6, {}),
89158
- bucket: /* @__PURE__ */ q(K9e, {}),
89155
+ folder: /* @__PURE__ */ F(ece, {}),
89156
+ file: /* @__PURE__ */ F(o6, {}),
89157
+ bucket: /* @__PURE__ */ F(K9e, {}),
89159
89158
  // 文本和文档
89160
- txt: /* @__PURE__ */ q(o6, {}),
89161
- md: /* @__PURE__ */ q(uE, {}),
89162
- markdown: /* @__PURE__ */ q(uE, {}),
89163
- pdf: /* @__PURE__ */ q(ace, {}),
89164
- doc: /* @__PURE__ */ q(D9, {}),
89165
- docx: /* @__PURE__ */ q(D9, {}),
89166
- rtf: /* @__PURE__ */ q(D9, {}),
89159
+ txt: /* @__PURE__ */ F(o6, {}),
89160
+ md: /* @__PURE__ */ F(uE, {}),
89161
+ markdown: /* @__PURE__ */ F(uE, {}),
89162
+ pdf: /* @__PURE__ */ F(ace, {}),
89163
+ doc: /* @__PURE__ */ F(D9, {}),
89164
+ docx: /* @__PURE__ */ F(D9, {}),
89165
+ rtf: /* @__PURE__ */ F(D9, {}),
89167
89166
  // 数据和配置文件
89168
- json: /* @__PURE__ */ q(lE, {}),
89169
- jsonl: /* @__PURE__ */ q(lE, {}),
89170
- yaml: /* @__PURE__ */ q(dE, {}),
89171
- yml: /* @__PURE__ */ q(dE, {}),
89172
- toml: /* @__PURE__ */ q(lce, {}),
89173
- xml: /* @__PURE__ */ q(fce, {}),
89174
- csv: /* @__PURE__ */ q(k9, {}),
89175
- xls: /* @__PURE__ */ q(k9, {}),
89176
- xlsx: /* @__PURE__ */ q(k9, {}),
89177
- sql: /* @__PURE__ */ q(aE, {}),
89178
- sqlite: /* @__PURE__ */ q(aE, {}),
89179
- graphql: /* @__PURE__ */ q(oE, {}),
89180
- gql: /* @__PURE__ */ q(oE, {}),
89167
+ json: /* @__PURE__ */ F(lE, {}),
89168
+ jsonl: /* @__PURE__ */ F(lE, {}),
89169
+ yaml: /* @__PURE__ */ F(dE, {}),
89170
+ yml: /* @__PURE__ */ F(dE, {}),
89171
+ toml: /* @__PURE__ */ F(lce, {}),
89172
+ xml: /* @__PURE__ */ F(fce, {}),
89173
+ csv: /* @__PURE__ */ F(k9, {}),
89174
+ xls: /* @__PURE__ */ F(k9, {}),
89175
+ xlsx: /* @__PURE__ */ F(k9, {}),
89176
+ sql: /* @__PURE__ */ F(aE, {}),
89177
+ sqlite: /* @__PURE__ */ F(aE, {}),
89178
+ graphql: /* @__PURE__ */ F(oE, {}),
89179
+ gql: /* @__PURE__ */ F(oE, {}),
89181
89180
  // Web 开发
89182
- ts: /* @__PURE__ */ q(cce, {}),
89183
- tsx: /* @__PURE__ */ q(TE, {}),
89184
- js: /* @__PURE__ */ q(nce, {}),
89185
- jsx: /* @__PURE__ */ q(TE, {}),
89186
- vue: /* @__PURE__ */ q(Qce, {}),
89181
+ ts: /* @__PURE__ */ F(cce, {}),
89182
+ tsx: /* @__PURE__ */ F(TE, {}),
89183
+ js: /* @__PURE__ */ F(nce, {}),
89184
+ jsx: /* @__PURE__ */ F(TE, {}),
89185
+ vue: /* @__PURE__ */ F(Qce, {}),
89187
89186
  // svelte: <SvelteIcon />,
89188
- html: /* @__PURE__ */ q(sE, {}),
89189
- htm: /* @__PURE__ */ q(sE, {}),
89190
- css: /* @__PURE__ */ q(J9e, {}),
89191
- less: /* @__PURE__ */ q(ice, {}),
89192
- sass: /* @__PURE__ */ q(fE, {}),
89193
- scss: /* @__PURE__ */ q(fE, {}),
89187
+ html: /* @__PURE__ */ F(sE, {}),
89188
+ htm: /* @__PURE__ */ F(sE, {}),
89189
+ css: /* @__PURE__ */ F(J9e, {}),
89190
+ less: /* @__PURE__ */ F(ice, {}),
89191
+ sass: /* @__PURE__ */ F(fE, {}),
89192
+ scss: /* @__PURE__ */ F(fE, {}),
89194
89193
  // 后端开发
89195
- py: /* @__PURE__ */ q(QE, {}),
89196
- pyc: /* @__PURE__ */ q(QE, {}),
89197
- java: /* @__PURE__ */ q(P9, {}),
89198
- class: /* @__PURE__ */ q(P9, {}),
89199
- jar: /* @__PURE__ */ q(P9, {}),
89200
- go: /* @__PURE__ */ q(rce, {}),
89201
- rs: /* @__PURE__ */ q(sce, {}),
89202
- php: /* @__PURE__ */ q(oce, {}),
89203
- sh: /* @__PURE__ */ q(o6, {}),
89204
- bash: /* @__PURE__ */ q(o6, {}),
89205
- zsh: /* @__PURE__ */ q(o6, {}),
89206
- fish: /* @__PURE__ */ q(o6, {}),
89194
+ py: /* @__PURE__ */ F(QE, {}),
89195
+ pyc: /* @__PURE__ */ F(QE, {}),
89196
+ java: /* @__PURE__ */ F(P9, {}),
89197
+ class: /* @__PURE__ */ F(P9, {}),
89198
+ jar: /* @__PURE__ */ F(P9, {}),
89199
+ go: /* @__PURE__ */ F(rce, {}),
89200
+ rs: /* @__PURE__ */ F(sce, {}),
89201
+ php: /* @__PURE__ */ F(oce, {}),
89202
+ sh: /* @__PURE__ */ F(o6, {}),
89203
+ bash: /* @__PURE__ */ F(o6, {}),
89204
+ zsh: /* @__PURE__ */ F(o6, {}),
89205
+ fish: /* @__PURE__ */ F(o6, {}),
89207
89206
  // 配置文件
89208
- "tsconfig.json": /* @__PURE__ */ q(uce, {}),
89209
- "package.json": /* @__PURE__ */ q(c7, {}),
89210
- "package-lock.json": /* @__PURE__ */ q(c7, {}),
89211
- "yarn.lock": /* @__PURE__ */ q(c7, {}),
89212
- "pnpm-lock.yaml": /* @__PURE__ */ q(c7, {}),
89213
- ".gitignore": /* @__PURE__ */ q(tce, {}),
89214
- ".eslintrc": /* @__PURE__ */ q(M9, {}),
89215
- ".eslintrc.js": /* @__PURE__ */ q(M9, {}),
89216
- ".eslintrc.json": /* @__PURE__ */ q(M9, {}),
89217
- ".prettierrc": /* @__PURE__ */ q(cE, {}),
89218
- ".prettierrc.js": /* @__PURE__ */ q(cE, {}),
89219
- ".babelrc": /* @__PURE__ */ q(iE, {}),
89220
- "babel.config.js": /* @__PURE__ */ q(iE, {}),
89221
- "vite.config.ts": /* @__PURE__ */ q(hE, {}),
89222
- "vite.config.js": /* @__PURE__ */ q(hE, {}),
89223
- "webpack.config.js": /* @__PURE__ */ q(Tce, {}),
89224
- Dockerfile: /* @__PURE__ */ q(A9, {}),
89225
- "docker-compose.yml": /* @__PURE__ */ q(A9, {}),
89226
- "docker-compose.yaml": /* @__PURE__ */ q(A9, {}),
89207
+ "tsconfig.json": /* @__PURE__ */ F(uce, {}),
89208
+ "package.json": /* @__PURE__ */ F(c7, {}),
89209
+ "package-lock.json": /* @__PURE__ */ F(c7, {}),
89210
+ "yarn.lock": /* @__PURE__ */ F(c7, {}),
89211
+ "pnpm-lock.yaml": /* @__PURE__ */ F(c7, {}),
89212
+ ".gitignore": /* @__PURE__ */ F(tce, {}),
89213
+ ".eslintrc": /* @__PURE__ */ F(M9, {}),
89214
+ ".eslintrc.js": /* @__PURE__ */ F(M9, {}),
89215
+ ".eslintrc.json": /* @__PURE__ */ F(M9, {}),
89216
+ ".prettierrc": /* @__PURE__ */ F(cE, {}),
89217
+ ".prettierrc.js": /* @__PURE__ */ F(cE, {}),
89218
+ ".babelrc": /* @__PURE__ */ F(iE, {}),
89219
+ "babel.config.js": /* @__PURE__ */ F(iE, {}),
89220
+ "vite.config.ts": /* @__PURE__ */ F(hE, {}),
89221
+ "vite.config.js": /* @__PURE__ */ F(hE, {}),
89222
+ "webpack.config.js": /* @__PURE__ */ F(Tce, {}),
89223
+ Dockerfile: /* @__PURE__ */ F(A9, {}),
89224
+ "docker-compose.yml": /* @__PURE__ */ F(A9, {}),
89225
+ "docker-compose.yaml": /* @__PURE__ */ F(A9, {}),
89227
89226
  // 媒体文件
89228
- mp3: /* @__PURE__ */ q(C9, {}),
89229
- wav: /* @__PURE__ */ q(C9, {}),
89230
- ogg: /* @__PURE__ */ q(C9, {}),
89231
- mp4: /* @__PURE__ */ q(Ha, {}),
89232
- avi: /* @__PURE__ */ q(Ha, {}),
89233
- mov: /* @__PURE__ */ q(Ha, {}),
89234
- mkv: /* @__PURE__ */ q(Ha, {}),
89235
- webm: /* @__PURE__ */ q(Ha, {}),
89236
- jpg: /* @__PURE__ */ q(gi, {}),
89237
- jpeg: /* @__PURE__ */ q(gi, {}),
89238
- png: /* @__PURE__ */ q(gi, {}),
89239
- gif: /* @__PURE__ */ q(gi, {}),
89240
- svg: /* @__PURE__ */ q(gi, {}),
89241
- webp: /* @__PURE__ */ q(gi, {}),
89242
- ico: /* @__PURE__ */ q(gi, {}),
89227
+ mp3: /* @__PURE__ */ F(C9, {}),
89228
+ wav: /* @__PURE__ */ F(C9, {}),
89229
+ ogg: /* @__PURE__ */ F(C9, {}),
89230
+ mp4: /* @__PURE__ */ F(Ha, {}),
89231
+ avi: /* @__PURE__ */ F(Ha, {}),
89232
+ mov: /* @__PURE__ */ F(Ha, {}),
89233
+ mkv: /* @__PURE__ */ F(Ha, {}),
89234
+ webm: /* @__PURE__ */ F(Ha, {}),
89235
+ jpg: /* @__PURE__ */ F(gi, {}),
89236
+ jpeg: /* @__PURE__ */ F(gi, {}),
89237
+ png: /* @__PURE__ */ F(gi, {}),
89238
+ gif: /* @__PURE__ */ F(gi, {}),
89239
+ svg: /* @__PURE__ */ F(gi, {}),
89240
+ webp: /* @__PURE__ */ F(gi, {}),
89241
+ ico: /* @__PURE__ */ F(gi, {}),
89243
89242
  // 压缩文件
89244
- zip: /* @__PURE__ */ q(s6, {}),
89245
- rar: /* @__PURE__ */ q(s6, {}),
89246
- "7z": /* @__PURE__ */ q(s6, {}),
89247
- tar: /* @__PURE__ */ q(s6, {}),
89248
- gz: /* @__PURE__ */ q(s6, {}),
89249
- tgz: /* @__PURE__ */ q(s6, {})
89243
+ zip: /* @__PURE__ */ F(s6, {}),
89244
+ rar: /* @__PURE__ */ F(s6, {}),
89245
+ "7z": /* @__PURE__ */ F(s6, {}),
89246
+ tar: /* @__PURE__ */ F(s6, {}),
89247
+ gz: /* @__PURE__ */ F(s6, {}),
89248
+ tgz: /* @__PURE__ */ F(s6, {})
89250
89249
  };
89251
89250
  function V9({ path: t, type: e }) {
89252
89251
  const r = (n) => {
@@ -89338,7 +89337,7 @@ function yce({ path: t, onPathChange: e, name: r, extraTail: n, titleExtra: i, v
89338
89337
  e?.(m), document.dispatchEvent(new CustomEvent("close-bucket-list"));
89339
89338
  }, [t, e, o]), p = Ot((d) => () => {
89340
89339
  navigator.clipboard.writeText(d.fullPath || d.path), wD.success(f("renderer.copied"));
89341
- }, [f]), g = _e(() => /* @__PURE__ */ q(
89340
+ }, [f]), g = _e(() => /* @__PURE__ */ F(
89342
89341
  Dl,
89343
89342
  {
89344
89343
  dataSource: a,
@@ -89351,7 +89350,7 @@ function yce({ path: t, onPathChange: e, name: r, extraTail: n, titleExtra: i, v
89351
89350
  if (typeof T == "function")
89352
89351
  return T(d);
89353
89352
  let m = null;
89354
- return d.type === "bucket" ? m = /* @__PURE__ */ q(V9, { type: "bucket", path: d.fullPath }) : d.type === "directory" ? m = /* @__PURE__ */ q(V9, { type: "folder" }) : m = /* @__PURE__ */ q(V9, { path: d.fullPath }), /* @__PURE__ */ Re(
89353
+ return d.type === "bucket" ? m = /* @__PURE__ */ F(V9, { type: "bucket", path: d.fullPath }) : d.type === "directory" ? m = /* @__PURE__ */ F(V9, { type: "folder" }) : m = /* @__PURE__ */ F(V9, { path: d.fullPath }), /* @__PURE__ */ Re(
89355
89354
  hce,
89356
89355
  {
89357
89356
  isHighlighted: o && d.fullPath === s,
@@ -89360,32 +89359,32 @@ function yce({ path: t, onPathChange: e, name: r, extraTail: n, titleExtra: i, v
89360
89359
  children: [
89361
89360
  /* @__PURE__ */ Re(GQ, { children: [
89362
89361
  /* @__PURE__ */ Re(GQ, { children: [
89363
- /* @__PURE__ */ q(dce, { children: m }),
89364
- /* @__PURE__ */ q(Oce, { href: "javascript:void(0)", onClick: h(d), rel: "noreferrer", children: d.path })
89362
+ /* @__PURE__ */ F(dce, { children: m }),
89363
+ /* @__PURE__ */ F(Oce, { href: "javascript:void(0)", onClick: h(d), rel: "noreferrer", children: d.path })
89365
89364
  ] }),
89366
- /* @__PURE__ */ q(I1, { title: f("renderer.copyFullPath"), children: /* @__PURE__ */ q(
89365
+ /* @__PURE__ */ F(I1, { title: f("renderer.copyFullPath"), children: /* @__PURE__ */ F(
89367
89366
  pE,
89368
89367
  {
89369
89368
  size: "small",
89370
89369
  type: "text",
89371
89370
  onClick: p(d),
89372
- icon: /* @__PURE__ */ q(xM, {})
89371
+ icon: /* @__PURE__ */ F(xM, {})
89373
89372
  }
89374
89373
  ) }),
89375
- d.created_by && /* @__PURE__ */ q(
89374
+ d.created_by && /* @__PURE__ */ F(
89376
89375
  pE,
89377
89376
  {
89378
89377
  size: "small",
89379
89378
  type: "text",
89380
89379
  onClick: () => Q?.(d.fullPath),
89381
- icon: /* @__PURE__ */ q(Il, { type: "text" })
89380
+ icon: /* @__PURE__ */ F(Il, { type: "text" })
89382
89381
  }
89383
89382
  )
89384
89383
  ] }),
89385
89384
  /* @__PURE__ */ Re(pce, { children: [
89386
- d.size !== null && /* @__PURE__ */ q(B7, { children: F7.format("fileSize", d.size) }),
89387
- d.created_by && /* @__PURE__ */ q(B7, { children: d.created_by }),
89388
- d.last_modified && /* @__PURE__ */ q(mce, { children: F7.format("dateTime", d.last_modified, {
89385
+ d.size !== null && /* @__PURE__ */ F(B7, { children: F7.format("fileSize", d.size) }),
89386
+ d.created_by && /* @__PURE__ */ F(B7, { children: d.created_by }),
89387
+ d.last_modified && /* @__PURE__ */ F(mce, { children: F7.format("dateTime", d.last_modified, {
89389
89388
  style: "YYYY-MM-DD HH:mm:ss"
89390
89389
  }) })
89391
89390
  ] })
@@ -89395,7 +89394,7 @@ function yce({ path: t, onPathChange: e, name: r, extraTail: n, titleExtra: i, v
89395
89394
  }
89396
89395
  }
89397
89396
  ), [p, h, c, o, s, l, a, f]);
89398
- return l ? g : /* @__PURE__ */ q(
89397
+ return l ? g : /* @__PURE__ */ F(
89399
89398
  k2,
89400
89399
  {
89401
89400
  ref: u,
@@ -89403,7 +89402,7 @@ function yce({ path: t, onPathChange: e, name: r, extraTail: n, titleExtra: i, v
89403
89402
  className: "h-full",
89404
89403
  titleExtra: i,
89405
89404
  extra: /* @__PURE__ */ Re(gce, { children: [
89406
- /* @__PURE__ */ q(P2, { elementRef: u }),
89405
+ /* @__PURE__ */ F(P2, { elementRef: u }),
89407
89406
  n
89408
89407
  ] }),
89409
89408
  children: g
@@ -89445,21 +89444,21 @@ function Ece({ type: t, className: e, name: r, value: n, extraTail: i, titleExtr
89445
89444
  }
89446
89445
  }, []), T = _e(() => {
89447
89446
  if (t === "image")
89448
- return /* @__PURE__ */ q(vce, { onLoad: Q, src: n, alt: n });
89447
+ return /* @__PURE__ */ F(vce, { onLoad: Q, src: n, alt: n });
89449
89448
  if (t === "video")
89450
- return /* @__PURE__ */ q(xce, { src: n, controls: !0 });
89449
+ return /* @__PURE__ */ F(xce, { src: n, controls: !0 });
89451
89450
  if (t === "audio")
89452
- return /* @__PURE__ */ q(Lce, { src: n, controls: !0 });
89451
+ return /* @__PURE__ */ F(Lce, { src: n, controls: !0 });
89453
89452
  if (t === "pdf")
89454
- return /* @__PURE__ */ q(R9, { src: n, title: "pdf" });
89453
+ return /* @__PURE__ */ F(R9, { src: n, title: "pdf" });
89455
89454
  if (t === "mobi")
89456
- return /* @__PURE__ */ q(R9, { src: n, title: "mobi" });
89455
+ return /* @__PURE__ */ F(R9, { src: n, title: "mobi" });
89457
89456
  if (t === "epub")
89458
- return /* @__PURE__ */ q(R9, { src: n, title: "epub" });
89457
+ return /* @__PURE__ */ F(R9, { src: n, title: "epub" });
89459
89458
  if (t === "zip")
89460
- return /* @__PURE__ */ q(bce, { icon: /* @__PURE__ */ q(Il, { type: "text" }), onClick: () => s?.(n ?? ""), children: l("renderer.downloadZipFile") });
89459
+ return /* @__PURE__ */ F(bce, { icon: /* @__PURE__ */ F(Il, { type: "text" }), onClick: () => s?.(n ?? ""), children: l("renderer.downloadZipFile") });
89461
89460
  }, [t, n, s, l, Q]);
89462
- return /* @__PURE__ */ q(
89461
+ return /* @__PURE__ */ F(
89463
89462
  k2,
89464
89463
  {
89465
89464
  ref: o,
@@ -89472,7 +89471,7 @@ function Ece({ type: t, className: e, name: r, value: n, extraTail: i, titleExtr
89472
89471
  alignItems: u ? "normal" : "center"
89473
89472
  },
89474
89473
  extra: /* @__PURE__ */ Re(Sce, { children: [
89475
- /* @__PURE__ */ q(P2, { elementRef: o }),
89474
+ /* @__PURE__ */ F(P2, { elementRef: o }),
89476
89475
  i
89477
89476
  ] }),
89478
89477
  children: T
@@ -89636,11 +89635,11 @@ function xQe({
89636
89635
  b,
89637
89636
  v
89638
89637
  ]), z = _e(() => /* @__PURE__ */ Re(_i, { children: [
89639
- O && re !== "folder" && !!r && /* @__PURE__ */ q(
89638
+ O && re !== "folder" && !!r && /* @__PURE__ */ F(
89640
89639
  YQ,
89641
89640
  {
89642
89641
  title: E("renderer.fileInfo"),
89643
- content: /* @__PURE__ */ q(
89642
+ content: /* @__PURE__ */ F(
89644
89643
  Cce,
89645
89644
  {
89646
89645
  size: "small",
@@ -89648,12 +89647,12 @@ function xQe({
89648
89647
  {
89649
89648
  label: E("renderer.fileSize"),
89650
89649
  span: 3,
89651
- children: /* @__PURE__ */ q("span", { children: F7.format("fileSize", $) })
89650
+ children: /* @__PURE__ */ F("span", { children: F7.format("fileSize", $) })
89652
89651
  },
89653
89652
  {
89654
89653
  label: E("renderer.author"),
89655
89654
  span: 3,
89656
- children: /* @__PURE__ */ q("span", { children: _?.created_by })
89655
+ children: /* @__PURE__ */ F("span", { children: _?.created_by })
89657
89656
  },
89658
89657
  {
89659
89658
  label: E("renderer.lastModified"),
@@ -89665,43 +89664,43 @@ function xQe({
89665
89664
  ]
89666
89665
  }
89667
89666
  ),
89668
- children: /* @__PURE__ */ q(Mce, {})
89667
+ children: /* @__PURE__ */ F(Mce, {})
89669
89668
  }
89670
89669
  ),
89671
- T && /* @__PURE__ */ q(I1, { title: E("renderer.returnToParent"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", icon: /* @__PURE__ */ q(VE, {}), onClick: oe }) }),
89670
+ T && /* @__PURE__ */ F(I1, { title: E("renderer.returnToParent"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", icon: /* @__PURE__ */ F(VE, {}), onClick: oe }) }),
89672
89671
  f && /* @__PURE__ */ Re(bE.Compact, { size: "small", children: [
89673
- /* @__PURE__ */ q(I1, { title: E("renderer.prevPage"), children: /* @__PURE__ */ q(
89672
+ /* @__PURE__ */ F(I1, { title: E("renderer.prevPage"), children: /* @__PURE__ */ F(
89674
89673
  C1,
89675
89674
  {
89676
89675
  disabled: c === 1,
89677
89676
  onClick: () => {
89678
89677
  h?.({ pageNo: c - 1 });
89679
89678
  },
89680
- icon: /* @__PURE__ */ q(iT, {})
89679
+ icon: /* @__PURE__ */ F(iT, {})
89681
89680
  }
89682
89681
  ) }),
89683
- /* @__PURE__ */ q(Ace, { min: 1, readOnly: !0, value: c }),
89684
- /* @__PURE__ */ q(I1, { title: E("renderer.nextPage"), children: /* @__PURE__ */ q(
89682
+ /* @__PURE__ */ F(Ace, { min: 1, readOnly: !0, value: c }),
89683
+ /* @__PURE__ */ F(I1, { title: E("renderer.nextPage"), children: /* @__PURE__ */ F(
89685
89684
  C1,
89686
89685
  {
89687
89686
  disabled: s || I.length < Number(u),
89688
89687
  onClick: () => {
89689
89688
  h?.({ pageNo: c + 1 });
89690
89689
  },
89691
- icon: /* @__PURE__ */ q(oT, {})
89690
+ icon: /* @__PURE__ */ F(oT, {})
89692
89691
  }
89693
89692
  ) })
89694
89693
  ] })
89695
89694
  ] }), [re, r, $, _, t, oe, c, s, I.length, u, ae, E, i, O]), Y = e ?? S, te = _e(() => /* @__PURE__ */ Re(_i, { children: [
89696
- g && /* @__PURE__ */ q(I1, { title: E("renderer.openInNewTab"), children: /* @__PURE__ */ q(C1, { type: "text", size: "small", icon: /* @__PURE__ */ q(IE, {}), onClick: () => d?.(r) }) }),
89697
- re !== "folder" && x && /* @__PURE__ */ q(I1, { title: E("renderer.downloadFile"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", icon: /* @__PURE__ */ q(Il, {}), onClick: () => l?.(P) }) }),
89695
+ g && /* @__PURE__ */ F(I1, { title: E("renderer.openInNewTab"), children: /* @__PURE__ */ F(C1, { type: "text", size: "small", icon: /* @__PURE__ */ F(IE, {}), onClick: () => d?.(r) }) }),
89696
+ re !== "folder" && x && /* @__PURE__ */ F(I1, { title: E("renderer.downloadFile"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", icon: /* @__PURE__ */ F(Il, {}), onClick: () => l?.(P) }) }),
89698
89697
  p && /* @__PURE__ */ Re(_i, { children: [
89699
- /* @__PURE__ */ q(LE, { type: "vertical" }),
89700
- /* @__PURE__ */ q(I1, { title: E("renderer.close"), children: /* @__PURE__ */ q(C1, { size: "small", type: "text", icon: /* @__PURE__ */ q(nT, {}), onClick: n }) })
89698
+ /* @__PURE__ */ F(LE, { type: "vertical" }),
89699
+ /* @__PURE__ */ F(I1, { title: E("renderer.close"), children: /* @__PURE__ */ F(C1, { size: "small", type: "text", icon: /* @__PURE__ */ F(nT, {}), onClick: n }) })
89701
89700
  ] })
89702
89701
  ] }), [re, t, n, c, u, r, P, E, l, x]), Qe = _e(() => {
89703
89702
  if (P.endsWith("/") || !r)
89704
- return /* @__PURE__ */ q(
89703
+ return /* @__PURE__ */ F(
89705
89704
  yce,
89706
89705
  {
89707
89706
  showBodyOnly: !T,
@@ -89715,17 +89714,17 @@ function xQe({
89715
89714
  }
89716
89715
  );
89717
89716
  if (W || ["jsonl"].includes(re))
89718
- return /* @__PURE__ */ q(Y9e, { name: Y, type: re || "txt", extraTail: te, titleExtra: z });
89717
+ return /* @__PURE__ */ F(Y9e, { name: Y, type: re || "txt", extraTail: te, titleExtra: z });
89719
89718
  let ue = `${y}${y?.includes("?") ? "&" : "?"}path=${encodeURIComponent(r)}`;
89720
- return re === "zip" && (ue = r), i && "content" in i && i.content && (ue = i.content), /* @__PURE__ */ q(Pce, { name: Y, value: ue, type: re, extraTail: te, titleExtra: z });
89719
+ return re === "zip" && (ue = r), i && "content" in i && i.content && (ue = i.content), /* @__PURE__ */ F(Pce, { name: Y, value: ue, type: re, extraTail: te, titleExtra: z });
89721
89720
  }, [Y, te, z, I, t, W, ne, r, P, re, i]);
89722
- return /* @__PURE__ */ q(dH.Provider, { value: B, children: /* @__PURE__ */ Re(_ce, { "data-block-id": t, style: a, className: o, ref: w, children: [
89721
+ return /* @__PURE__ */ F(dH.Provider, { value: B, children: /* @__PURE__ */ Re(_ce, { "data-block-id": t, style: a, className: o, ref: w, children: [
89723
89722
  Qe,
89724
- /* @__PURE__ */ q(
89723
+ /* @__PURE__ */ F(
89725
89724
  wce,
89726
89725
  {
89727
89726
  spinning: !0,
89728
- indicator: /* @__PURE__ */ q(NE, { spin: !0 }),
89727
+ indicator: /* @__PURE__ */ F(NE, { spin: !0 }),
89729
89728
  $visible: !!s
89730
89729
  }
89731
89730
  )