@apform-ui/core 1.10.5 → 1.10.6

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/apform-ui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var El = Object.defineProperty;
2
2
  var Pl = (I, g, C) => g in I ? El(I, g, { enumerable: !0, configurable: !0, writable: !0, value: C }) : I[g] = C;
3
3
  var GI = (I, g, C) => Pl(I, typeof g != "symbol" ? g + "" : g, C);
4
- import { defineComponent as j, openBlock as m, createElementBlock as W, createElementVNode as Y, ref as t, resolveComponent as _, createBlock as x, normalizeStyle as dI, withCtx as O, normalizeClass as n, renderSlot as CI, createVNode as II, createTextVNode as gI, toDisplayString as h, unref as $, createCommentVNode as R, shallowRef as jC, onMounted as tg, watch as NI, onUnmounted as mg, h as kI, nextTick as $I, computed as u, Fragment as Q, renderList as q, Teleport as UZ, TransitionGroup as rl, onErrorCaptured as fl, createSlots as vZ, resolveDynamicComponent as OZ, withKeys as QC, withModifiers as UI, resolveDirective as EZ, withDirectives as Gg, reactive as PZ, useAttrs as ql, vShow as _l, onBeforeUnmount as rZ, normalizeProps as OA, guardReactiveProps as EA, useSlots as IA, vModelText as UC, vModelSelect as $l, inject as Id, toValue as gd } from "vue";
4
+ import { defineComponent as j, openBlock as m, createElementBlock as W, createElementVNode as Y, ref as t, resolveComponent as _, createBlock as T, normalizeStyle as dI, withCtx as O, normalizeClass as u, renderSlot as CI, createVNode as II, createTextVNode as gI, toDisplayString as h, unref as $, createCommentVNode as a, shallowRef as jC, onMounted as tg, watch as NI, onUnmounted as mg, h as kI, nextTick as $I, computed as n, Fragment as Q, renderList as q, Teleport as UZ, TransitionGroup as rl, onErrorCaptured as fl, createSlots as vZ, resolveDynamicComponent as OZ, withKeys as QC, withModifiers as UI, resolveDirective as EZ, withDirectives as Gg, reactive as PZ, useAttrs as ql, vShow as _l, onBeforeUnmount as rZ, normalizeProps as OA, guardReactiveProps as EA, useSlots as IA, vModelText as UC, vModelSelect as $l, inject as Id, toValue as gd } from "vue";
5
5
  import { ElButton as Cd, ElImageViewer as Ad, ElMessageBox as Zd, ElMessage as IC } from "element-plus";
6
6
  /*! Element Plus Icons Vue v2.3.2 */
7
7
  var ld = /* @__PURE__ */ j({
@@ -79,7 +79,7 @@ const id = /* @__PURE__ */ j({
79
79
  }
80
80
  return (G, b) => {
81
81
  const i = _("el-button"), w = _("el-dialog");
82
- return m(), x(w, {
82
+ return m(), T(w, {
83
83
  "model-value": I.modelValue,
84
84
  width: Z.value ? "100vw" : I.width,
85
85
  fullscreen: Z.value,
@@ -94,23 +94,23 @@ const id = /* @__PURE__ */ j({
94
94
  }, {
95
95
  header: O(() => [
96
96
  Y("div", {
97
- class: n(G.$style.header)
97
+ class: u(G.$style.header)
98
98
  }, [
99
99
  Y("span", {
100
- class: n(G.$style.title)
100
+ class: u(G.$style.title)
101
101
  }, h(I.title), 3),
102
102
  Y("div", {
103
- class: n(G.$style.headerRight)
103
+ class: u(G.$style.headerRight)
104
104
  }, [
105
- I.showFullscreenBtn ? (m(), x(i, {
105
+ I.showFullscreenBtn ? (m(), T(i, {
106
106
  key: 0,
107
- class: n(G.$style.headerBtn),
107
+ class: u(G.$style.headerBtn),
108
108
  icon: Z.value ? $(md) : $(cd),
109
109
  text: "",
110
110
  onClick: A
111
- }, null, 8, ["class", "icon"])) : R("", !0),
111
+ }, null, 8, ["class", "icon"])) : a("", !0),
112
112
  II(i, {
113
- class: n(G.$style.headerBtn),
113
+ class: u(G.$style.headerBtn),
114
114
  icon: $(dd),
115
115
  text: "",
116
116
  onClick: b[0] || (b[0] = (s) => C("update:modelValue", !1))
@@ -120,7 +120,7 @@ const id = /* @__PURE__ */ j({
120
120
  ]),
121
121
  footer: O(() => [
122
122
  Y("div", {
123
- class: n(G.$style.footer)
123
+ class: u(G.$style.footer)
124
124
  }, [
125
125
  CI(G.$slots, "footer", {}, () => [
126
126
  II(i, { onClick: l }, {
@@ -144,7 +144,7 @@ const id = /* @__PURE__ */ j({
144
144
  ]),
145
145
  default: O(() => [
146
146
  Y("div", {
147
- class: n(G.$style.body)
147
+ class: u(G.$style.body)
148
148
  }, [
149
149
  CI(G.$slots, "default")
150
150
  ], 2)
@@ -428,10 +428,10 @@ function zd(I, g) {
428
428
  const l = Z.width, c = Z.height, G = A.width, b = A.height;
429
429
  let i, w;
430
430
  l === null ? (w = c === null ? "1em" : c === "auto" ? b : c, i = fA(w, G / b)) : (i = l === "auto" ? G : l, w = c === null ? fA(i, b / G) : c === "auto" ? b : c);
431
- const s = {}, a = (X, o) => {
431
+ const s = {}, R = (X, o) => {
432
432
  Jd(o) || (s[X] = o.toString());
433
433
  };
434
- a("width", i), a("height", w);
434
+ R("width", i), R("height", w);
435
435
  const V = [
436
436
  A.left,
437
437
  A.top,
@@ -693,8 +693,8 @@ function IG(I, g, C, Z) {
693
693
  l = l.concat(y);
694
694
  } else l = I.resources.slice(d).concat(I.resources.slice(0, d));
695
695
  const c = Date.now();
696
- let G = "pending", b = 0, i, w = null, s = [], a = [];
697
- typeof Z == "function" && a.push(Z);
696
+ let G = "pending", b = 0, i, w = null, s = [], R = [];
697
+ typeof Z == "function" && R.push(Z);
698
698
  function V() {
699
699
  w && (clearTimeout(w), w = null);
700
700
  }
@@ -704,7 +704,7 @@ function IG(I, g, C, Z) {
704
704
  }), s = [];
705
705
  }
706
706
  function o(y, p) {
707
- p && (a = []), typeof y == "function" && a.push(y);
707
+ p && (R = []), typeof y == "function" && R.push(y);
708
708
  }
709
709
  function S() {
710
710
  return {
@@ -718,7 +718,7 @@ function IG(I, g, C, Z) {
718
718
  };
719
719
  }
720
720
  function k() {
721
- G = "failed", a.forEach((y) => {
721
+ G = "failed", R.forEach((y) => {
722
722
  y(void 0, i);
723
723
  });
724
724
  }
@@ -750,7 +750,7 @@ function IG(I, g, C, Z) {
750
750
  const z = I.resources.indexOf(y.resource);
751
751
  z !== -1 && z !== I.index && (I.index = z);
752
752
  }
753
- G = "completed", a.forEach((z) => {
753
+ G = "completed", R.forEach((z) => {
754
754
  z(J);
755
755
  });
756
756
  }
@@ -1088,7 +1088,7 @@ const dZ = (I, g) => {
1088
1088
  ...d,
1089
1089
  ...c
1090
1090
  }, Object.assign(Z, b), Z.innerHTML = Ld(G.body), kI("svg", Z);
1091
- const { body: i, width: w, height: s } = I, a = A === "mask" || (A === "bg" ? !1 : i.indexOf("currentColor") !== -1), V = iG(i, {
1091
+ const { body: i, width: w, height: s } = I, R = A === "mask" || (A === "bg" ? !1 : i.indexOf("currentColor") !== -1), V = iG(i, {
1092
1092
  ...b,
1093
1093
  width: w + "",
1094
1094
  height: s + ""
@@ -1099,7 +1099,7 @@ const dZ = (I, g) => {
1099
1099
  width: lZ(b.width),
1100
1100
  height: lZ(b.height),
1101
1101
  ...wG,
1102
- ...a ? PC : dl,
1102
+ ...R ? PC : dl,
1103
1103
  ...c
1104
1104
  }, kI("span", Z);
1105
1105
  };
@@ -1174,8 +1174,8 @@ const VG = {
1174
1174
  const V = s(w.body, i.name, i.prefix, i.provider);
1175
1175
  typeof V == "string" && (w.body = V);
1176
1176
  }
1177
- const a = ["iconify"];
1178
- return i.prefix !== "" && a.push("iconify--" + i.prefix), i.provider !== "" && a.push("iconify--" + i.provider), { data: w, classes: a };
1177
+ const R = ["iconify"];
1178
+ return i.prefix !== "" && R.push("iconify--" + i.prefix), i.provider !== "" && R.push("iconify--" + i.provider), { data: w, classes: R };
1179
1179
  }
1180
1180
  function G() {
1181
1181
  var i;
@@ -1811,11 +1811,11 @@ const VG = {
1811
1811
  "data-analysis": Rb,
1812
1812
  reading: Hb,
1813
1813
  flag: yb
1814
- }, sV = Object.keys(lA).sort();
1815
- function wV(I) {
1814
+ }, hV = Object.keys(lA).sort();
1815
+ function aV(I) {
1816
1816
  return I in lA;
1817
1817
  }
1818
- const RI = /* @__PURE__ */ j({
1818
+ const XI = /* @__PURE__ */ j({
1819
1819
  __name: "AppIcon",
1820
1820
  props: {
1821
1821
  name: {},
@@ -1823,8 +1823,8 @@ const RI = /* @__PURE__ */ j({
1823
1823
  color: {}
1824
1824
  },
1825
1825
  setup(I) {
1826
- const g = I, C = u(() => lA[g.name] ?? null), Z = u(() => typeof g.size == "number" ? `${g.size}px` : g.size ?? "1em");
1827
- return (A, d) => C.value ? (m(), x($(NG), {
1826
+ const g = I, C = n(() => lA[g.name] ?? null), Z = n(() => typeof g.size == "number" ? `${g.size}px` : g.size ?? "1em");
1827
+ return (A, d) => C.value ? (m(), T($(NG), {
1828
1828
  key: 0,
1829
1829
  icon: C.value,
1830
1830
  width: Z.value,
@@ -1858,7 +1858,7 @@ const RI = /* @__PURE__ */ j({
1858
1858
  const G = _("el-pagination");
1859
1859
  return C.total > 0 ? (m(), W("div", {
1860
1860
  key: 0,
1861
- class: n(l.$style.pagination),
1861
+ class: u(l.$style.pagination),
1862
1862
  "data-testid": "app-pagination"
1863
1863
  }, [
1864
1864
  II(G, {
@@ -1872,14 +1872,14 @@ const RI = /* @__PURE__ */ j({
1872
1872
  onCurrentChange: A,
1873
1873
  onSizeChange: d
1874
1874
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout", "size"])
1875
- ], 2)) : R("", !0);
1875
+ ], 2)) : a("", !0);
1876
1876
  };
1877
1877
  }
1878
1878
  }), Kb = "_pagination_d8k9z_2", Sb = {
1879
1879
  pagination: Kb
1880
1880
  }, Db = {
1881
1881
  $style: Sb
1882
- }, VV = /* @__PURE__ */ U(Mb, [["__cssModules", Db]]), Fb = /* @__PURE__ */ j({
1882
+ }, RV = /* @__PURE__ */ U(Mb, [["__cssModules", Db]]), Fb = /* @__PURE__ */ j({
1883
1883
  __name: "ConfirmDialog",
1884
1884
  props: {
1885
1885
  modelValue: { type: Boolean },
@@ -1897,7 +1897,7 @@ const RI = /* @__PURE__ */ j({
1897
1897
  function Z() {
1898
1898
  C("confirm"), C("update:modelValue", !1);
1899
1899
  }
1900
- return (A, d) => (m(), x(gA, {
1900
+ return (A, d) => (m(), T(gA, {
1901
1901
  "model-value": I.modelValue,
1902
1902
  title: I.title,
1903
1903
  width: I.width,
@@ -1909,26 +1909,26 @@ const RI = /* @__PURE__ */ j({
1909
1909
  }, {
1910
1910
  default: O(() => [
1911
1911
  Y("div", {
1912
- class: n(A.$style.content)
1912
+ class: u(A.$style.content)
1913
1913
  }, [
1914
- I.type === "warning" ? (m(), x(RI, {
1914
+ I.type === "warning" ? (m(), T(XI, {
1915
1915
  key: 0,
1916
1916
  name: "warning",
1917
- class: n(A.$style.icon),
1917
+ class: u(A.$style.icon),
1918
1918
  style: { color: "var(--el-color-warning)" }
1919
- }, null, 8, ["class"])) : I.type === "danger" ? (m(), x(RI, {
1919
+ }, null, 8, ["class"])) : I.type === "danger" ? (m(), T(XI, {
1920
1920
  key: 1,
1921
1921
  name: "circle-close-filled",
1922
- class: n(A.$style.icon),
1922
+ class: u(A.$style.icon),
1923
1923
  style: { color: "var(--el-color-danger)" }
1924
- }, null, 8, ["class"])) : (m(), x(RI, {
1924
+ }, null, 8, ["class"])) : (m(), T(XI, {
1925
1925
  key: 2,
1926
1926
  name: "info-filled",
1927
- class: n(A.$style.icon),
1927
+ class: u(A.$style.icon),
1928
1928
  style: { color: "var(--el-color-primary)" }
1929
1929
  }, null, 8, ["class"])),
1930
1930
  Y("p", {
1931
- class: n(A.$style.message)
1931
+ class: u(A.$style.message)
1932
1932
  }, h(I.message), 3)
1933
1933
  ], 2)
1934
1934
  ]),
@@ -1941,7 +1941,7 @@ const RI = /* @__PURE__ */ j({
1941
1941
  message: zb
1942
1942
  }, eb = {
1943
1943
  $style: kb
1944
- }, NV = /* @__PURE__ */ U(Fb, [["__cssModules", eb]]), XV = /* @__PURE__ */ j({
1944
+ }, HV = /* @__PURE__ */ U(Fb, [["__cssModules", eb]]), yV = /* @__PURE__ */ j({
1945
1945
  __name: "FormDialog",
1946
1946
  props: {
1947
1947
  modelValue: { type: Boolean },
@@ -1973,7 +1973,7 @@ const RI = /* @__PURE__ */ j({
1973
1973
  c && ((G = A.value) == null || G.clearValidate());
1974
1974
  }), (c, G) => {
1975
1975
  const b = _("el-form");
1976
- return m(), x(gA, {
1976
+ return m(), T(gA, {
1977
1977
  "model-value": I.modelValue,
1978
1978
  title: I.title,
1979
1979
  width: I.width,
@@ -2013,18 +2013,18 @@ const RI = /* @__PURE__ */ j({
2013
2013
  setup(I, { emit: g }) {
2014
2014
  const C = g;
2015
2015
  return (Z, A) => (m(), W("div", {
2016
- class: n(Z.$style.tabs)
2016
+ class: u(Z.$style.tabs)
2017
2017
  }, [
2018
2018
  (m(!0), W(Q, null, q(I.options, (d) => (m(), W("button", {
2019
2019
  key: d.value,
2020
- class: n([Z.$style.tab, { [Z.$style.tabActive]: I.modelValue === d.value }]),
2020
+ class: u([Z.$style.tab, { [Z.$style.tabActive]: I.modelValue === d.value }]),
2021
2021
  onClick: (l) => C("update:modelValue", d.value)
2022
2022
  }, [
2023
2023
  gI(h(d.label) + " ", 1),
2024
2024
  d.count != null ? (m(), W("span", {
2025
2025
  key: 0,
2026
- class: n(Z.$style.count)
2027
- }, h(d.count), 3)) : R("", !0)
2026
+ class: u(Z.$style.count)
2027
+ }, h(d.count), 3)) : a("", !0)
2028
2028
  ], 10, Lb))), 128))
2029
2029
  ], 2));
2030
2030
  }
@@ -2035,7 +2035,7 @@ const RI = /* @__PURE__ */ j({
2035
2035
  count: Qb
2036
2036
  }, vb = {
2037
2037
  $style: Ub
2038
- }, oV = /* @__PURE__ */ U(tb, [["__cssModules", vb]]), Ob = ["onClick"], Eb = /* @__PURE__ */ j({
2038
+ }, uV = /* @__PURE__ */ U(tb, [["__cssModules", vb]]), Ob = ["onClick"], Eb = /* @__PURE__ */ j({
2039
2039
  __name: "Toast",
2040
2040
  setup(I, { expose: g }) {
2041
2041
  const C = t([]);
@@ -2053,19 +2053,19 @@ const RI = /* @__PURE__ */ j({
2053
2053
  function l(c, G = "info", b) {
2054
2054
  A(c, G, b);
2055
2055
  }
2056
- return g({ show: l }), (c, G) => (m(), x(UZ, { to: "body" }, [
2056
+ return g({ show: l }), (c, G) => (m(), T(UZ, { to: "body" }, [
2057
2057
  Y("div", {
2058
- class: n(c.$style.container)
2058
+ class: u(c.$style.container)
2059
2059
  }, [
2060
2060
  II(rl, { name: "toast" }, {
2061
2061
  default: O(() => [
2062
2062
  (m(!0), W(Q, null, q(C.value, (b) => (m(), W("div", {
2063
2063
  key: b.id,
2064
- class: n([c.$style.item, c.$style[b.type], { [c.$style.removing]: b.removing }]),
2064
+ class: u([c.$style.item, c.$style[b.type], { [c.$style.removing]: b.removing }]),
2065
2065
  onClick: (i) => d(b.id)
2066
2066
  }, [
2067
2067
  Y("span", {
2068
- class: n(c.$style.icon)
2068
+ class: u(c.$style.icon)
2069
2069
  }, [
2070
2070
  b.type === "success" ? (m(), W(Q, { key: 0 }, [
2071
2071
  gI("✓")
@@ -2078,7 +2078,7 @@ const RI = /* @__PURE__ */ j({
2078
2078
  ], 64))
2079
2079
  ], 2),
2080
2080
  Y("span", {
2081
- class: n(c.$style.msg)
2081
+ class: u(c.$style.msg)
2082
2082
  }, h(b.message), 3)
2083
2083
  ], 10, Ob))), 128))
2084
2084
  ]),
@@ -2099,7 +2099,7 @@ const RI = /* @__PURE__ */ j({
2099
2099
  msg: Cm
2100
2100
  }, Zm = {
2101
2101
  $style: Am
2102
- }, hV = /* @__PURE__ */ U(Eb, [["__cssModules", Zm]]), lm = /* @__PURE__ */ j({
2102
+ }, nV = /* @__PURE__ */ U(Eb, [["__cssModules", Zm]]), lm = /* @__PURE__ */ j({
2103
2103
  __name: "EmptyState",
2104
2104
  props: {
2105
2105
  icon: {},
@@ -2115,31 +2115,31 @@ const RI = /* @__PURE__ */ j({
2115
2115
  return (Z, A) => {
2116
2116
  const d = _("el-button");
2117
2117
  return m(), W("div", {
2118
- class: n([Z.$style.empty, I.compact && Z.$style.compact])
2118
+ class: u([Z.$style.empty, I.compact && Z.$style.compact])
2119
2119
  }, [
2120
2120
  I.icon ? (m(), W("div", {
2121
2121
  key: 0,
2122
- class: n(Z.$style.icon)
2122
+ class: u(Z.$style.icon)
2123
2123
  }, [
2124
- II(RI, {
2124
+ II(XI, {
2125
2125
  name: I.icon,
2126
2126
  size: I.iconSize ?? (I.compact ? 48 : 64)
2127
2127
  }, null, 8, ["name", "size"])
2128
- ], 2)) : R("", !0),
2128
+ ], 2)) : a("", !0),
2129
2129
  I.title ? (m(), W("h2", {
2130
2130
  key: 1,
2131
- class: n(Z.$style.title)
2132
- }, h(I.title), 3)) : R("", !0),
2131
+ class: u(Z.$style.title)
2132
+ }, h(I.title), 3)) : a("", !0),
2133
2133
  I.description ? (m(), W("p", {
2134
2134
  key: 2,
2135
- class: n(Z.$style.desc)
2136
- }, h(I.description), 3)) : R("", !0),
2135
+ class: u(Z.$style.desc)
2136
+ }, h(I.description), 3)) : a("", !0),
2137
2137
  Z.$slots.default || I.actionText ? (m(), W("div", {
2138
2138
  key: 3,
2139
- class: n(Z.$style.actions)
2139
+ class: u(Z.$style.actions)
2140
2140
  }, [
2141
2141
  CI(Z.$slots, "default", {}, () => [
2142
- I.actionText ? (m(), x(d, {
2142
+ I.actionText ? (m(), T(d, {
2143
2143
  key: 0,
2144
2144
  type: "primary",
2145
2145
  onClick: A[0] || (A[0] = (l) => C("action"))
@@ -2148,9 +2148,9 @@ const RI = /* @__PURE__ */ j({
2148
2148
  gI(h(I.actionText), 1)
2149
2149
  ]),
2150
2150
  _: 1
2151
- })) : R("", !0)
2151
+ })) : a("", !0)
2152
2152
  ])
2153
- ], 2)) : R("", !0)
2153
+ ], 2)) : a("", !0)
2154
2154
  ], 2);
2155
2155
  };
2156
2156
  }
@@ -2163,7 +2163,7 @@ const RI = /* @__PURE__ */ j({
2163
2163
  actions: im
2164
2164
  }, Bm = {
2165
2165
  $style: Wm
2166
- }, cg = /* @__PURE__ */ U(lm, [["__cssModules", Bm]]), aV = j({
2166
+ }, cg = /* @__PURE__ */ U(lm, [["__cssModules", Bm]]), MV = j({
2167
2167
  name: "ErrorBoundary",
2168
2168
  props: {
2169
2169
  /** 自定义上下文信息,用于错误日志 */
@@ -2198,7 +2198,7 @@ const RI = /* @__PURE__ */ j({
2198
2198
  return c ? kI("div", { key: d.value, style: { display: "contents" } }, c) : null;
2199
2199
  };
2200
2200
  }
2201
- }), RV = /* @__PURE__ */ j({
2201
+ }), KV = /* @__PURE__ */ j({
2202
2202
  __name: "StatusTag",
2203
2203
  props: {
2204
2204
  status: {},
@@ -2226,10 +2226,10 @@ const RI = /* @__PURE__ */ j({
2226
2226
  failed: { label: "失败", type: "danger", effect: "light" },
2227
2227
  cancelled: { label: "已取消", type: "info", effect: "light" },
2228
2228
  waiting: { label: "等待中", type: "warning", effect: "light" }
2229
- }, C = I, Z = u(() => ({ ...g, ...C.statusMap })[C.status] ?? { label: C.status, type: "info", effect: "light" });
2229
+ }, C = I, Z = n(() => ({ ...g, ...C.statusMap })[C.status] ?? { label: C.status, type: "info", effect: "light" });
2230
2230
  return (A, d) => {
2231
2231
  const l = _("el-tag");
2232
- return m(), x(l, {
2232
+ return m(), T(l, {
2233
2233
  type: Z.value.type,
2234
2234
  effect: Z.value.effect ?? "light",
2235
2235
  round: I.round,
@@ -2254,52 +2254,52 @@ const RI = /* @__PURE__ */ j({
2254
2254
  return (g, C) => {
2255
2255
  const Z = _("el-skeleton");
2256
2256
  return m(), W("div", {
2257
- class: n([g.$style.skeleton, { [g.$style.animated]: I.animated }])
2257
+ class: u([g.$style.skeleton, { [g.$style.animated]: I.animated }])
2258
2258
  }, [
2259
2259
  I.variant === "card" ? (m(!0), W(Q, { key: 0 }, q(I.count, (A) => (m(), W("div", {
2260
2260
  key: A,
2261
- class: n(g.$style.card)
2261
+ class: u(g.$style.card)
2262
2262
  }, [
2263
2263
  Y("div", {
2264
- class: n(g.$style.cardImage)
2264
+ class: u(g.$style.cardImage)
2265
2265
  }, null, 2),
2266
2266
  Y("div", {
2267
- class: n(g.$style.cardBody)
2267
+ class: u(g.$style.cardBody)
2268
2268
  }, [
2269
2269
  Y("div", {
2270
- class: n([g.$style.line, g.$style.lineTitle])
2270
+ class: u([g.$style.line, g.$style.lineTitle])
2271
2271
  }, null, 2),
2272
2272
  Y("div", {
2273
- class: n([g.$style.line, g.$style.lineText])
2273
+ class: u([g.$style.line, g.$style.lineText])
2274
2274
  }, null, 2),
2275
2275
  Y("div", {
2276
- class: n([g.$style.line, g.$style.lineTextShort])
2276
+ class: u([g.$style.line, g.$style.lineTextShort])
2277
2277
  }, null, 2)
2278
2278
  ], 2)
2279
- ], 2))), 128)) : R("", !0),
2279
+ ], 2))), 128)) : a("", !0),
2280
2280
  I.variant === "list" ? (m(!0), W(Q, { key: 1 }, q(I.count, (A) => (m(), W("div", {
2281
2281
  key: A,
2282
- class: n(g.$style.listItem)
2282
+ class: u(g.$style.listItem)
2283
2283
  }, [
2284
2284
  Y("div", {
2285
- class: n(g.$style.avatar)
2285
+ class: u(g.$style.avatar)
2286
2286
  }, null, 2),
2287
2287
  Y("div", {
2288
- class: n(g.$style.listContent)
2288
+ class: u(g.$style.listContent)
2289
2289
  }, [
2290
2290
  Y("div", {
2291
- class: n([g.$style.line, g.$style.lineTitle])
2291
+ class: u([g.$style.line, g.$style.lineTitle])
2292
2292
  }, null, 2),
2293
2293
  Y("div", {
2294
- class: n([g.$style.line, g.$style.lineText])
2294
+ class: u([g.$style.line, g.$style.lineText])
2295
2295
  }, null, 2)
2296
2296
  ], 2)
2297
- ], 2))), 128)) : R("", !0),
2298
- I.variant === "table" ? (m(), x(Z, {
2297
+ ], 2))), 128)) : a("", !0),
2298
+ I.variant === "table" ? (m(), T(Z, {
2299
2299
  key: 2,
2300
2300
  rows: I.rows,
2301
2301
  animated: ""
2302
- }, null, 8, ["rows"])) : R("", !0)
2302
+ }, null, 8, ["rows"])) : a("", !0)
2303
2303
  ], 2);
2304
2304
  };
2305
2305
  }
@@ -2319,7 +2319,7 @@ const RI = /* @__PURE__ */ j({
2319
2319
  lineTextShort: um
2320
2320
  }, Mm = {
2321
2321
  $style: nm
2322
- }, HV = /* @__PURE__ */ U(Ym, [["__cssModules", Mm]]), Km = /* @__PURE__ */ j({
2322
+ }, SV = /* @__PURE__ */ U(Ym, [["__cssModules", Mm]]), Km = /* @__PURE__ */ j({
2323
2323
  __name: "CardGridSkeleton",
2324
2324
  props: {
2325
2325
  count: { default: 6 },
@@ -2328,27 +2328,27 @@ const RI = /* @__PURE__ */ j({
2328
2328
  },
2329
2329
  setup(I) {
2330
2330
  return (g, C) => (m(), W("div", {
2331
- class: n([g.$style.grid, { [g.$style.animated]: I.animated }])
2331
+ class: u([g.$style.grid, { [g.$style.animated]: I.animated }])
2332
2332
  }, [
2333
2333
  (m(!0), W(Q, null, q(I.count, (Z) => (m(), W("div", {
2334
2334
  key: Z,
2335
- class: n(g.$style.card)
2335
+ class: u(g.$style.card)
2336
2336
  }, [
2337
2337
  I.showThumb ? (m(), W("div", {
2338
2338
  key: 0,
2339
- class: n(g.$style.thumb)
2340
- }, null, 2)) : R("", !0),
2339
+ class: u(g.$style.thumb)
2340
+ }, null, 2)) : a("", !0),
2341
2341
  Y("div", {
2342
- class: n(g.$style.body)
2342
+ class: u(g.$style.body)
2343
2343
  }, [
2344
2344
  Y("div", {
2345
- class: n([g.$style.line, g.$style.title])
2345
+ class: u([g.$style.line, g.$style.title])
2346
2346
  }, null, 2),
2347
2347
  Y("div", {
2348
- class: n([g.$style.line, g.$style.text])
2348
+ class: u([g.$style.line, g.$style.text])
2349
2349
  }, null, 2),
2350
2350
  Y("div", {
2351
- class: n([g.$style.line, g.$style.textShort])
2351
+ class: u([g.$style.line, g.$style.textShort])
2352
2352
  }, null, 2)
2353
2353
  ], 2)
2354
2354
  ], 2))), 128))
@@ -2367,7 +2367,7 @@ const RI = /* @__PURE__ */ j({
2367
2367
  textShort: Lm
2368
2368
  }, Tm = {
2369
2369
  $style: tm
2370
- }, yV = /* @__PURE__ */ U(Km, [["__cssModules", Tm]]), xm = ["src", "alt"], jm = { name: "UserAvatar" }, Qm = /* @__PURE__ */ j({
2370
+ }, DV = /* @__PURE__ */ U(Km, [["__cssModules", Tm]]), xm = ["src", "alt"], jm = { name: "UserAvatar" }, Qm = /* @__PURE__ */ j({
2371
2371
  ...jm,
2372
2372
  props: {
2373
2373
  name: { default: "" },
@@ -2376,7 +2376,7 @@ const RI = /* @__PURE__ */ j({
2376
2376
  shape: { default: "circle" }
2377
2377
  },
2378
2378
  setup(I) {
2379
- const g = I, C = u(() => g.name ? g.name.charAt(0).toUpperCase() : "?"), Z = u(() => !!g.src), A = u(() => {
2379
+ const g = I, C = n(() => g.name ? g.name.charAt(0).toUpperCase() : "?"), Z = n(() => !!g.src), A = n(() => {
2380
2380
  const d = g.size === 24 ? "var(--avatar-size-sm, 24px)" : g.size === 32 ? "var(--avatar-size-md, 32px)" : g.size === 40 ? "var(--avatar-size-lg, 40px)" : g.size === 48 ? "var(--avatar-size-xl, 48px)" : `${g.size}px`;
2381
2381
  return {
2382
2382
  width: d,
@@ -2385,18 +2385,18 @@ const RI = /* @__PURE__ */ j({
2385
2385
  };
2386
2386
  });
2387
2387
  return (d, l) => (m(), W("div", {
2388
- class: n([d.$style.avatar, I.shape === "square" ? d.$style.square : d.$style.circle]),
2388
+ class: u([d.$style.avatar, I.shape === "square" ? d.$style.square : d.$style.circle]),
2389
2389
  style: dI(A.value)
2390
2390
  }, [
2391
2391
  Z.value ? (m(), W("img", {
2392
2392
  key: 0,
2393
2393
  src: I.src,
2394
2394
  alt: I.name,
2395
- class: n(d.$style.img),
2395
+ class: u(d.$style.img),
2396
2396
  onError: l[0] || (l[0] = (c) => d.$emit("error", c))
2397
2397
  }, null, 42, xm)) : (m(), W("span", {
2398
2398
  key: 1,
2399
- class: n(d.$style.initial)
2399
+ class: u(d.$style.initial)
2400
2400
  }, h(C.value), 3))
2401
2401
  ], 6));
2402
2402
  }
@@ -2408,7 +2408,7 @@ const RI = /* @__PURE__ */ j({
2408
2408
  initial: Pm
2409
2409
  }, fm = {
2410
2410
  $style: rm
2411
- }, uV = /* @__PURE__ */ U(Qm, [["__cssModules", fm]]), qm = ["aria-label"], _m = {
2411
+ }, FV = /* @__PURE__ */ U(Qm, [["__cssModules", fm]]), qm = ["aria-label"], _m = {
2412
2412
  class: "apf-user-panel__avatar",
2413
2413
  "aria-hidden": "true"
2414
2414
  }, $m = { class: "apf-user-panel__name" }, I0 = { class: "apf-user-panel__body" }, g0 = { class: "apf-user-panel__header" }, C0 = {
@@ -2430,15 +2430,15 @@ const RI = /* @__PURE__ */ j({
2430
2430
  },
2431
2431
  emits: ["logout"],
2432
2432
  setup(I, { emit: g }) {
2433
- const C = I, Z = g, A = u(
2433
+ const C = I, Z = g, A = n(
2434
2434
  () => {
2435
2435
  var c, G;
2436
2436
  return ((c = C.user) == null ? void 0 : c.displayName) || ((G = C.user) == null ? void 0 : G.username) || "用户";
2437
2437
  }
2438
- ), d = u(() => {
2438
+ ), d = n(() => {
2439
2439
  const c = A.value.trim();
2440
2440
  return c ? c.charAt(0).toUpperCase() : "?";
2441
- }), l = u(() => {
2441
+ }), l = n(() => {
2442
2442
  const c = C.user;
2443
2443
  if (!c) return [];
2444
2444
  const G = [
@@ -2449,7 +2449,7 @@ const RI = /* @__PURE__ */ j({
2449
2449
  return (c, G) => {
2450
2450
  const b = _("el-popover");
2451
2451
  return m(), W("div", {
2452
- class: n(["apf-user-panel", { "apf-user-panel--block": I.block }])
2452
+ class: u(["apf-user-panel", { "apf-user-panel--block": I.block }])
2453
2453
  }, [
2454
2454
  II(b, {
2455
2455
  placement: I.placement,
@@ -2464,7 +2464,7 @@ const RI = /* @__PURE__ */ j({
2464
2464
  reference: O(() => [
2465
2465
  Y("button", {
2466
2466
  type: "button",
2467
- class: n(["apf-user-panel__trigger", { "apf-user-panel__trigger--block": I.block }]),
2467
+ class: u(["apf-user-panel__trigger", { "apf-user-panel__trigger--block": I.block }]),
2468
2468
  "aria-label": A.value
2469
2469
  }, [
2470
2470
  Y("span", _m, h(d.value), 1),
@@ -2479,7 +2479,7 @@ const RI = /* @__PURE__ */ j({
2479
2479
  Y("span", C0, h(d.value), 1),
2480
2480
  Y("div", A0, [
2481
2481
  Y("div", Z0, h(A.value), 1),
2482
- (i = I.user) != null && i.username ? (m(), W("div", l0, "@" + h(I.user.username), 1)) : R("", !0)
2482
+ (i = I.user) != null && i.username ? (m(), W("div", l0, "@" + h(I.user.username), 1)) : a("", !0)
2483
2483
  ])
2484
2484
  ]),
2485
2485
  l.value.length > 0 ? (m(), W("dl", d0, [
@@ -2490,14 +2490,14 @@ const RI = /* @__PURE__ */ j({
2490
2490
  Y("dt", null, h(w.label), 1),
2491
2491
  Y("dd", null, h(w.value), 1)
2492
2492
  ]))), 128))
2493
- ])) : R("", !0),
2493
+ ])) : a("", !0),
2494
2494
  G[1] || (G[1] = Y("div", { class: "apf-user-panel__divider" }, null, -1)),
2495
2495
  Y("button", {
2496
2496
  type: "button",
2497
2497
  class: "apf-user-panel__logout",
2498
2498
  onClick: G[0] || (G[0] = (w) => Z("logout"))
2499
2499
  }, [
2500
- II($(RI), {
2500
+ II($(XI), {
2501
2501
  name: "switch-button",
2502
2502
  size: 14
2503
2503
  }),
@@ -2511,7 +2511,7 @@ const RI = /* @__PURE__ */ j({
2511
2511
  ], 2);
2512
2512
  };
2513
2513
  }
2514
- }), nV = /* @__PURE__ */ U(G0, [["__scopeId", "data-v-1bb71f74"]]), c0 = { class: "apf-slider-captcha__panel" }, b0 = {
2514
+ }), pV = /* @__PURE__ */ U(G0, [["__scopeId", "data-v-1bb71f74"]]), c0 = { class: "apf-slider-captcha__panel" }, b0 = {
2515
2515
  key: 0,
2516
2516
  class: "apf-slider-captcha__placeholder"
2517
2517
  }, m0 = {
@@ -2531,7 +2531,7 @@ const RI = /* @__PURE__ */ j({
2531
2531
  },
2532
2532
  emits: ["update:modelValue"],
2533
2533
  setup(I, { expose: g, emit: C }) {
2534
- const Z = I, A = C, d = t(!1), l = t(null), c = t(null), G = t(0), b = t(!1), i = t(!1), w = t(!1), s = t(0), a = t(0), V = u(() => bZ - mZ);
2534
+ const Z = I, A = C, d = t(!1), l = t(null), c = t(null), G = t(0), b = t(!1), i = t(!1), w = t(!1), s = t(0), R = t(0), V = n(() => bZ - mZ);
2535
2535
  function X(y) {
2536
2536
  var p;
2537
2537
  A("update:modelValue", {
@@ -2556,10 +2556,10 @@ const RI = /* @__PURE__ */ j({
2556
2556
  return Math.max(0, Math.min(V.value, y));
2557
2557
  }
2558
2558
  function k(y) {
2559
- i.value || !c.value || d.value || (b.value = !0, s.value = y.clientX, a.value = G.value, y.currentTarget.setPointerCapture(y.pointerId));
2559
+ i.value || !c.value || d.value || (b.value = !0, s.value = y.clientX, R.value = G.value, y.currentTarget.setPointerCapture(y.pointerId));
2560
2560
  }
2561
2561
  function L(y) {
2562
- b.value && (G.value = S(a.value + (y.clientX - s.value)));
2562
+ b.value && (G.value = S(R.value + (y.clientX - s.value)));
2563
2563
  }
2564
2564
  function K() {
2565
2565
  var y;
@@ -2590,7 +2590,7 @@ const RI = /* @__PURE__ */ j({
2590
2590
  };
2591
2591
  }
2592
2592
  }), (y, p) => (m(), W("div", {
2593
- class: n(["apf-slider-captcha", { "apf-slider-captcha--shake": w.value }])
2593
+ class: u(["apf-slider-captcha", { "apf-slider-captcha--shake": w.value }])
2594
2594
  }, [
2595
2595
  Y("div", c0, [
2596
2596
  d.value ? (m(), W("div", b0, "加载验证码…")) : l.value ? (m(), W("div", m0, [
@@ -2625,15 +2625,15 @@ const RI = /* @__PURE__ */ j({
2625
2625
  "aria-label": "刷新验证码",
2626
2626
  onClick: o
2627
2627
  }, [
2628
- II($(RI), {
2628
+ II($(XI), {
2629
2629
  name: "refresh-right",
2630
2630
  size: 14
2631
2631
  })
2632
2632
  ])
2633
- ], 4)) : R("", !0)
2633
+ ], 4)) : a("", !0)
2634
2634
  ]),
2635
2635
  Y("div", {
2636
- class: n(["apf-slider-captcha__track", {
2636
+ class: u(["apf-slider-captcha__track", {
2637
2637
  "apf-slider-captcha__track--ok": i.value,
2638
2638
  "apf-slider-captcha__track--active": b.value
2639
2639
  }])
@@ -2642,16 +2642,16 @@ const RI = /* @__PURE__ */ j({
2642
2642
  class: "apf-slider-captcha__fill",
2643
2643
  style: dI({ width: `${G.value + mZ / 2}px` })
2644
2644
  }, null, 4),
2645
- !i.value && G.value < 8 ? (m(), W("span", B0, "向右拖动滑块完成验证")) : i.value ? (m(), W("span", Y0, "已完成,提交时校验")) : R("", !0),
2645
+ !i.value && G.value < 8 ? (m(), W("span", B0, "向右拖动滑块完成验证")) : i.value ? (m(), W("span", Y0, "已完成,提交时校验")) : a("", !0),
2646
2646
  Y("div", {
2647
- class: n(["apf-slider-captcha__knob", { "apf-slider-captcha__knob--ok": i.value }]),
2647
+ class: u(["apf-slider-captcha__knob", { "apf-slider-captcha__knob--ok": i.value }]),
2648
2648
  style: dI({ left: `${G.value}px` }),
2649
2649
  onPointerdown: k,
2650
2650
  onPointermove: L,
2651
2651
  onPointerup: K,
2652
2652
  onPointercancel: K
2653
2653
  }, [
2654
- II($(RI), {
2654
+ II($(XI), {
2655
2655
  name: i.value ? "check" : "arrow-right",
2656
2656
  size: 14
2657
2657
  }, null, 8, ["name"])
@@ -2659,7 +2659,7 @@ const RI = /* @__PURE__ */ j({
2659
2659
  ], 2)
2660
2660
  ], 2));
2661
2661
  }
2662
- }), MV = /* @__PURE__ */ U(s0, [["__scopeId", "data-v-c7d9d170"]]), w0 = { class: "apf-time-range-picker__panel" }, V0 = { class: "apf-time-range-picker__actions" }, N0 = /* @__PURE__ */ j({
2662
+ }), JV = /* @__PURE__ */ U(s0, [["__scopeId", "data-v-c7d9d170"]]), w0 = { class: "apf-time-range-picker__panel" }, V0 = { class: "apf-time-range-picker__actions" }, N0 = /* @__PURE__ */ j({
2663
2663
  __name: "TimeRangePicker",
2664
2664
  props: {
2665
2665
  modelValue: {},
@@ -2688,28 +2688,28 @@ const RI = /* @__PURE__ */ j({
2688
2688
  "7d": 10080 * 60 * 1e3,
2689
2689
  "30d": 720 * 60 * 60 * 1e3
2690
2690
  }, A = I, d = g, l = t(!1), c = t(null);
2691
- NI(l, (a) => {
2692
- if (!a) return;
2691
+ NI(l, (R) => {
2692
+ if (!R) return;
2693
2693
  const { preset: V, start: X, end: o } = A.modelValue;
2694
2694
  V === "custom" && X && o && (c.value = [new Date(X), new Date(o)]);
2695
2695
  });
2696
- const G = u(
2697
- () => A.presets.filter((a) => a !== "custom")
2696
+ const G = n(
2697
+ () => A.presets.filter((R) => R !== "custom")
2698
2698
  );
2699
- function b(a) {
2700
- if (!a.start || !a.end) return "自定义";
2699
+ function b(R) {
2700
+ if (!R.start || !R.end) return "自定义";
2701
2701
  const V = (X) => {
2702
2702
  const o = new Date(X), S = String(o.getMonth() + 1).padStart(2, "0"), k = String(o.getDate()).padStart(2, "0"), L = String(o.getHours()).padStart(2, "0"), K = String(o.getMinutes()).padStart(2, "0");
2703
2703
  return `${S}-${k} ${L}:${K}`;
2704
2704
  };
2705
- return `自定义 ${V(a.start)} ~ ${V(a.end)}`;
2705
+ return `自定义 ${V(R.start)} ~ ${V(R.end)}`;
2706
2706
  }
2707
- const i = u(
2707
+ const i = n(
2708
2708
  () => A.modelValue.preset === "custom" ? b(A.modelValue) : "自定义"
2709
2709
  );
2710
- function w(a) {
2711
- const V = Date.now(), X = V - Z[a], o = {
2712
- preset: a,
2710
+ function w(R) {
2711
+ const V = Date.now(), X = V - Z[R], o = {
2712
+ preset: R,
2713
2713
  start: new Date(X).toISOString(),
2714
2714
  end: new Date(V).toISOString()
2715
2715
  };
@@ -2717,21 +2717,21 @@ const RI = /* @__PURE__ */ j({
2717
2717
  }
2718
2718
  function s() {
2719
2719
  if (!c.value) return;
2720
- const [a, V] = c.value, X = {
2720
+ const [R, V] = c.value, X = {
2721
2721
  preset: "custom",
2722
- start: a.toISOString(),
2722
+ start: R.toISOString(),
2723
2723
  end: V.toISOString()
2724
2724
  };
2725
2725
  d("update:modelValue", X), d("change", X), l.value = !1;
2726
2726
  }
2727
- return (a, V) => {
2727
+ return (R, V) => {
2728
2728
  const X = _("el-button"), o = _("el-button-group"), S = _("el-date-picker"), k = _("el-popover");
2729
2729
  return m(), W("div", {
2730
- class: n(["apf-time-range-picker", [`apf-time-range-picker--${I.size}`]])
2730
+ class: u(["apf-time-range-picker", [`apf-time-range-picker--${I.size}`]])
2731
2731
  }, [
2732
- I.showPresets ? (m(), x(o, { key: 0 }, {
2732
+ I.showPresets ? (m(), T(o, { key: 0 }, {
2733
2733
  default: O(() => [
2734
- (m(!0), W(Q, null, q(G.value, (L) => (m(), x(X, {
2734
+ (m(!0), W(Q, null, q(G.value, (L) => (m(), T(X, {
2735
2735
  key: L,
2736
2736
  size: I.size,
2737
2737
  disabled: I.disabled,
@@ -2745,8 +2745,8 @@ const RI = /* @__PURE__ */ j({
2745
2745
  }, 1032, ["size", "disabled", "type", "onClick"]))), 128))
2746
2746
  ]),
2747
2747
  _: 1
2748
- })) : R("", !0),
2749
- I.allowCustom ? (m(), x(k, {
2748
+ })) : a("", !0),
2749
+ I.allowCustom ? (m(), T(k, {
2750
2750
  key: 1,
2751
2751
  visible: l.value,
2752
2752
  "onUpdate:visible": V[2] || (V[2] = (L) => l.value = L),
@@ -2805,11 +2805,11 @@ const RI = /* @__PURE__ */ j({
2805
2805
  ])
2806
2806
  ]),
2807
2807
  _: 1
2808
- }, 8, ["visible", "disabled"])) : R("", !0)
2808
+ }, 8, ["visible", "disabled"])) : a("", !0)
2809
2809
  ], 2);
2810
2810
  };
2811
2811
  }
2812
- }), KV = /* @__PURE__ */ U(N0, [["__scopeId", "data-v-cb3adbf3"]]), X0 = {
2812
+ }), zV = /* @__PURE__ */ U(N0, [["__scopeId", "data-v-cb3adbf3"]]), X0 = {
2813
2813
  key: 0,
2814
2814
  class: "apf-content-panel__head"
2815
2815
  }, o0 = {
@@ -2827,17 +2827,17 @@ const RI = /* @__PURE__ */ j({
2827
2827
  },
2828
2828
  setup(I) {
2829
2829
  return (g, C) => (m(), W("section", {
2830
- class: n(["apf-content-panel", {
2830
+ class: u(["apf-content-panel", {
2831
2831
  "apf-content-panel--flush": I.flush,
2832
2832
  "apf-content-panel--fill": I.fill
2833
2833
  }])
2834
2834
  }, [
2835
2835
  I.title || g.$slots.extra ? (m(), W("header", X0, [
2836
- I.title ? (m(), W("span", o0, h(I.title), 1)) : R("", !0),
2836
+ I.title ? (m(), W("span", o0, h(I.title), 1)) : a("", !0),
2837
2837
  g.$slots.extra ? (m(), W("div", h0, [
2838
2838
  CI(g.$slots, "extra", {}, void 0, !0)
2839
- ])) : R("", !0)
2840
- ])) : R("", !0),
2839
+ ])) : a("", !0)
2840
+ ])) : a("", !0),
2841
2841
  Y("div", a0, [
2842
2842
  CI(g.$slots, "default", {}, void 0, !0)
2843
2843
  ])
@@ -2873,7 +2873,7 @@ const RI = /* @__PURE__ */ j({
2873
2873
  splitLine: "#EBEDF3",
2874
2874
  tooltipBg: "#FFFFFF",
2875
2875
  tooltipText: "#303133"
2876
- }, SV = {
2876
+ }, kV = {
2877
2877
  title: "#303133",
2878
2878
  primary: "#333333",
2879
2879
  regular: "#606266",
@@ -2882,7 +2882,7 @@ const RI = /* @__PURE__ */ j({
2882
2882
  placeholder: "#969FA8",
2883
2883
  disabled: "#C0C4CC",
2884
2884
  inverse: "#FFFFFF"
2885
- }, DV = {
2885
+ }, eV = {
2886
2886
  10: "10px",
2887
2887
  11: "11px",
2888
2888
  12: "12px",
@@ -2895,7 +2895,7 @@ const RI = /* @__PURE__ */ j({
2895
2895
  22: "22px",
2896
2896
  24: "24px",
2897
2897
  28: "28px"
2898
- }, FV = {
2898
+ }, LV = {
2899
2899
  xs: "4px",
2900
2900
  sm: "8px",
2901
2901
  md: "16px",
@@ -2906,32 +2906,32 @@ const RI = /* @__PURE__ */ j({
2906
2906
  10: "10px",
2907
2907
  12: "12px",
2908
2908
  20: "20px"
2909
- }, pV = {
2909
+ }, tV = {
2910
2910
  xs: "24px",
2911
2911
  sm: "28px",
2912
2912
  md: "32px",
2913
2913
  lg: "40px",
2914
2914
  xl: "44px"
2915
- }, JV = {
2915
+ }, TV = {
2916
2916
  header: "56px",
2917
2917
  conversationHeader: "68px",
2918
2918
  dialogFooter: "60px",
2919
2919
  toolbar: "48px",
2920
2920
  tabs: "40px",
2921
2921
  listRow: "48px"
2922
- }, zV = {
2922
+ }, xV = {
2923
2923
  xs: "12px",
2924
2924
  sm: "14px",
2925
2925
  md: "16px",
2926
2926
  lg: "20px",
2927
2927
  xl: "24px"
2928
- }, kV = {
2928
+ }, jV = {
2929
2929
  paddingX: "24px",
2930
2930
  paddingY: "24px",
2931
2931
  headerPaddingTop: "28px",
2932
2932
  sidebarWidth: "240px",
2933
2933
  sidebarWidthCollapsed: "64px"
2934
- }, eV = {
2934
+ }, QV = {
2935
2935
  sm: "2px",
2936
2936
  md: "4px",
2937
2937
  6: "6px",
@@ -2939,11 +2939,11 @@ const RI = /* @__PURE__ */ j({
2939
2939
  lg: "10px",
2940
2940
  xl: "12px",
2941
2941
  full: "999px"
2942
- }, LV = {
2942
+ }, UV = {
2943
2943
  fieldWidth: "220px",
2944
2944
  labelWidth: "96px",
2945
2945
  fieldGap: "6px"
2946
- }, tV = {
2946
+ }, vV = {
2947
2947
  sm: "24px",
2948
2948
  md: "32px",
2949
2949
  lg: "40px",
@@ -2952,11 +2952,11 @@ const RI = /* @__PURE__ */ j({
2952
2952
  sm: "0 1px 2px rgba(0, 0, 0, 0.05)",
2953
2953
  md: "0 4px 12px rgba(0, 0, 0, 0.08)",
2954
2954
  lg: "0 8px 24px rgba(0, 0, 0, 0.12)"
2955
- }, TV = {
2955
+ }, OV = {
2956
2956
  fast: "0.15s",
2957
2957
  normal: "0.25s",
2958
2958
  slow: "0.35s"
2959
- }, xV = {
2959
+ }, EV = {
2960
2960
  dropdown: 1e3,
2961
2961
  sticky: 1020,
2962
2962
  fixed: 1030,
@@ -3063,12 +3063,12 @@ const D0 = {
3063
3063
  setup(I, { emit: g }) {
3064
3064
  const C = I, Z = g, A = t(null), d = t(!1);
3065
3065
  let l = null, c = null, G = null, b = null;
3066
- const i = u(
3066
+ const i = n(
3067
3067
  () => C.height ?? (C.variant === "spark" ? 32 : 280)
3068
- ), w = u(() => C.series.some((k) => k.data.length > 0)), s = u(
3068
+ ), w = n(() => C.series.some((k) => k.data.length > 0)), s = n(
3069
3069
  () => !C.loading && !d.value && w.value
3070
3070
  );
3071
- function a() {
3071
+ function R() {
3072
3072
  const k = C.variant === "spark", L = C.type === "area" ? "line" : C.type, K = C.series.flatMap((J) => J.data.map((H) => H[0])), e = K.length ? Math.max(...K) - Math.min(...K) : 0, y = C.series.map((J, H) => {
3073
3073
  const z = J.color ?? JI.series[H % JI.series.length], D = C.type === "area" || J.area;
3074
3074
  return {
@@ -3155,10 +3155,10 @@ const D0 = {
3155
3155
  d.value = !0;
3156
3156
  return;
3157
3157
  }
3158
- d.value = !1, await $I(), !(!A.value || !s.value) && (V(), l = c.init(A.value), b = (k) => Z("chart-click", k), l.on("click", b), l.setOption(a(), { notMerge: !0 }), G = new ResizeObserver(() => l == null ? void 0 : l.resize()), G.observe(A.value));
3158
+ d.value = !1, await $I(), !(!A.value || !s.value) && (V(), l = c.init(A.value), b = (k) => Z("chart-click", k), l.on("click", b), l.setOption(R(), { notMerge: !0 }), G = new ResizeObserver(() => l == null ? void 0 : l.resize()), G.observe(A.value));
3159
3159
  }
3160
3160
  function o() {
3161
- !l || d.value || !s.value || l.setOption(a(), {
3161
+ !l || d.value || !s.value || l.setOption(R(), {
3162
3162
  notMerge: !1,
3163
3163
  replaceMerge: ["series"]
3164
3164
  });
@@ -3194,7 +3194,7 @@ const D0 = {
3194
3194
  S();
3195
3195
  }), mg(() => {
3196
3196
  V();
3197
- }), (k, L) => I.variant === "full" ? (m(), x($(H0), {
3197
+ }), (k, L) => I.variant === "full" ? (m(), T($(H0), {
3198
3198
  key: 0,
3199
3199
  title: I.title,
3200
3200
  class: "apf-metric-chart"
@@ -3204,7 +3204,7 @@ const D0 = {
3204
3204
  key: 0,
3205
3205
  class: "apf-metric-chart__loading",
3206
3206
  style: dI({ height: `${i.value}px` })
3207
- }, " 加载中… ", 4)) : d.value ? (m(), x($(cg), {
3207
+ }, " 加载中… ", 4)) : d.value ? (m(), T($(cg), {
3208
3208
  key: 1,
3209
3209
  title: "需要安装 echarts",
3210
3210
  description: "pnpm add echarts"
@@ -3237,7 +3237,7 @@ const D0 = {
3237
3237
  key: 0,
3238
3238
  class: "apf-metric-chart__loading",
3239
3239
  style: dI({ height: `${i.value}px` })
3240
- }, " … ", 4)) : d.value ? (m(), x($(cg), {
3240
+ }, " … ", 4)) : d.value ? (m(), T($(cg), {
3241
3241
  key: 1,
3242
3242
  title: "需要 echarts",
3243
3243
  description: ""
@@ -3254,7 +3254,7 @@ const D0 = {
3254
3254
  }, null, 4))
3255
3255
  ]));
3256
3256
  }
3257
- }), jV = /* @__PURE__ */ U(F0, [["__scopeId", "data-v-a72b4e2b"]]), p0 = {
3257
+ }), PV = /* @__PURE__ */ U(F0, [["__scopeId", "data-v-a72b4e2b"]]), p0 = {
3258
3258
  key: 0,
3259
3259
  class: "apf-stat-card__bar"
3260
3260
  }, J0 = {
@@ -3286,16 +3286,16 @@ const D0 = {
3286
3286
  },
3287
3287
  emits: ["click"],
3288
3288
  setup(I, { emit: g }) {
3289
- const C = I, Z = g, A = u(() => {
3289
+ const C = I, Z = g, A = n(() => {
3290
3290
  const b = C.trend;
3291
3291
  if (!b || b.direction === "flat") return "var(--text-color-muted)";
3292
3292
  const i = b.positiveIsGood !== !1;
3293
3293
  return (b.direction === "up" ? i : !i) ? "var(--color-success)" : "var(--color-danger)";
3294
- }), d = u(() => {
3294
+ }), d = n(() => {
3295
3295
  var i;
3296
3296
  const b = (i = C.trend) == null ? void 0 : i.direction;
3297
3297
  return b === "up" ? "↑" : b === "down" ? "↓" : "→";
3298
- }), l = u(() => {
3298
+ }), l = n(() => {
3299
3299
  const b = C.sparkline;
3300
3300
  if (!(b != null && b.length)) return "";
3301
3301
  const i = 80, w = 32, s = Math.min(...b), V = Math.max(...b) - s || 1;
@@ -3303,12 +3303,12 @@ const D0 = {
3303
3303
  const S = o / Math.max(b.length - 1, 1) * i, k = w - (X - s) / V * (w - 4) - 2;
3304
3304
  return `${o === 0 ? "M" : "L"}${S.toFixed(1)},${k.toFixed(1)}`;
3305
3305
  }).join(" ");
3306
- }), c = u(() => C.status === "healthy" ? "var(--color-success)" : C.status === "warning" ? "var(--color-warning)" : C.status === "error" ? "var(--color-danger)" : "var(--color-primary)");
3306
+ }), c = n(() => C.status === "healthy" ? "var(--color-success)" : C.status === "warning" ? "var(--color-warning)" : C.status === "error" ? "var(--color-danger)" : "var(--color-primary)");
3307
3307
  function G(b) {
3308
3308
  C.to || Z("click", b);
3309
3309
  }
3310
- return (b, i) => (m(), x(OZ(I.to ? "a" : "div"), {
3311
- class: n(["apf-stat-card", [
3310
+ return (b, i) => (m(), T(OZ(I.to ? "a" : "div"), {
3311
+ class: u(["apf-stat-card", [
3312
3312
  I.status ? `apf-stat-card--${I.status}` : "",
3313
3313
  { "apf-stat-card--clickable": !!I.to }
3314
3314
  ]]),
@@ -3321,7 +3321,7 @@ const D0 = {
3321
3321
  default: O(() => {
3322
3322
  var w;
3323
3323
  return [
3324
- I.status ? (m(), W("div", p0)) : R("", !0),
3324
+ I.status ? (m(), W("div", p0)) : a("", !0),
3325
3325
  I.loading ? (m(), W("div", J0, [...i[1] || (i[1] = [
3326
3326
  Y("div", { class: "apf-stat-card__skel apf-stat-card__skel--label" }, null, -1),
3327
3327
  Y("div", { class: "apf-stat-card__skel apf-stat-card__skel--value" }, null, -1),
@@ -3330,7 +3330,7 @@ const D0 = {
3330
3330
  Y("div", k0, h(I.label), 1),
3331
3331
  Y("div", e0, [
3332
3332
  Y("span", L0, h(I.value), 1),
3333
- I.unit ? (m(), W("span", t0, h(I.unit), 1)) : R("", !0),
3333
+ I.unit ? (m(), W("span", t0, h(I.unit), 1)) : a("", !0),
3334
3334
  I.trend ? (m(), W("span", {
3335
3335
  key: 1,
3336
3336
  class: "apf-stat-card__trend",
@@ -3339,8 +3339,8 @@ const D0 = {
3339
3339
  gI(h(d.value) + " ", 1),
3340
3340
  I.trend.percent != null ? (m(), W(Q, { key: 0 }, [
3341
3341
  gI(h(I.trend.percent) + "%", 1)
3342
- ], 64)) : R("", !0)
3343
- ], 4)) : R("", !0)
3342
+ ], 64)) : a("", !0)
3343
+ ], 4)) : a("", !0)
3344
3344
  ]),
3345
3345
  (w = I.sparkline) != null && w.length ? (m(), W("svg", T0, [
3346
3346
  Y("path", {
@@ -3351,14 +3351,14 @@ const D0 = {
3351
3351
  "stroke-linecap": "round",
3352
3352
  "stroke-linejoin": "round"
3353
3353
  }, null, 8, x0)
3354
- ])) : R("", !0)
3354
+ ])) : a("", !0)
3355
3355
  ]))
3356
3356
  ];
3357
3357
  }),
3358
3358
  _: 1
3359
3359
  }, 40, ["class", "href", "role", "tabindex"]));
3360
3360
  }
3361
- }), QV = /* @__PURE__ */ U(j0, [["__scopeId", "data-v-3e48d232"]]), Q0 = /* @__PURE__ */ j({
3361
+ }), rV = /* @__PURE__ */ U(j0, [["__scopeId", "data-v-3e48d232"]]), Q0 = /* @__PURE__ */ j({
3362
3362
  __name: "SeverityBadge",
3363
3363
  props: {
3364
3364
  severity: {},
@@ -3366,7 +3366,7 @@ const D0 = {
3366
3366
  size: { default: "default" }
3367
3367
  },
3368
3368
  setup(I) {
3369
- const g = I, C = u(
3369
+ const g = I, C = n(
3370
3370
  () => g.pulse ?? g.severity === "critical"
3371
3371
  ), Z = {
3372
3372
  critical: "严重",
@@ -3374,7 +3374,7 @@ const D0 = {
3374
3374
  info: "信息"
3375
3375
  };
3376
3376
  return (A, d) => (m(), W("span", {
3377
- class: n(["apf-severity-badge", [
3377
+ class: u(["apf-severity-badge", [
3378
3378
  `apf-severity-badge--${I.severity}`,
3379
3379
  `apf-severity-badge--${I.size}`,
3380
3380
  { "apf-severity-badge--pulse": C.value }
@@ -3387,7 +3387,7 @@ const D0 = {
3387
3387
  Y("span", null, h(Z[I.severity]), 1)
3388
3388
  ], 2));
3389
3389
  }
3390
- }), UV = /* @__PURE__ */ U(Q0, [["__scopeId", "data-v-e6c92ddb"]]), U0 = ["onClick"], v0 = { class: "apf-service-grid__body" }, O0 = { class: "apf-service-grid__name" }, E0 = {
3390
+ }), fV = /* @__PURE__ */ U(Q0, [["__scopeId", "data-v-e6c92ddb"]]), U0 = ["onClick"], v0 = { class: "apf-service-grid__body" }, O0 = { class: "apf-service-grid__name" }, E0 = {
3391
3391
  key: 0,
3392
3392
  class: "apf-service-grid__metrics"
3393
3393
  }, P0 = { key: 0 }, r0 = { key: 1 }, f0 = { key: 2 }, q0 = /* @__PURE__ */ j({
@@ -3404,7 +3404,7 @@ const D0 = {
3404
3404
  warning: "告警",
3405
3405
  error: "故障",
3406
3406
  unknown: "未知"
3407
- }, Z = I, A = g, d = u(() => Z.columns && Z.columns > 0 ? {
3407
+ }, Z = I, A = g, d = n(() => Z.columns && Z.columns > 0 ? {
3408
3408
  gridTemplateColumns: `repeat(${Z.columns}, minmax(0, 1fr))`
3409
3409
  } : {
3410
3410
  gridTemplateColumns: "repeat(auto-fill, minmax(200px, 1fr))"
@@ -3431,33 +3431,33 @@ const D0 = {
3431
3431
  (m(!0), W(Q, null, q(I.services, (b) => (m(), W("button", {
3432
3432
  key: b.id,
3433
3433
  type: "button",
3434
- class: n(["apf-service-grid__item", `apf-service-grid__item--${b.status}`]),
3434
+ class: u(["apf-service-grid__item", `apf-service-grid__item--${b.status}`]),
3435
3435
  onClick: (i) => A("service-click", b)
3436
3436
  }, [
3437
3437
  G[0] || (G[0] = Y("div", { class: "apf-service-grid__bar" }, null, -1)),
3438
3438
  Y("div", v0, [
3439
3439
  Y("div", O0, h(b.name), 1),
3440
3440
  Y("div", {
3441
- class: n(["apf-service-grid__status", `apf-service-grid__status--${b.status}`])
3441
+ class: u(["apf-service-grid__status", `apf-service-grid__status--${b.status}`])
3442
3442
  }, h(C[b.status]), 3),
3443
3443
  b.metrics ? (m(), W("div", E0, [
3444
- b.metrics.errorRate != null ? (m(), W("span", P0, " err " + h(b.metrics.errorRate.toFixed(1)) + "% ", 1)) : R("", !0),
3445
- b.metrics.latencyP95 != null ? (m(), W("span", r0, " p95 " + h(Math.round(b.metrics.latencyP95)) + "ms ", 1)) : R("", !0),
3446
- b.metrics.eventCount != null ? (m(), W("span", f0, " n " + h(b.metrics.eventCount.toLocaleString()), 1)) : R("", !0),
3444
+ b.metrics.errorRate != null ? (m(), W("span", P0, " err " + h(b.metrics.errorRate.toFixed(1)) + "% ", 1)) : a("", !0),
3445
+ b.metrics.latencyP95 != null ? (m(), W("span", r0, " p95 " + h(Math.round(b.metrics.latencyP95)) + "ms ", 1)) : a("", !0),
3446
+ b.metrics.eventCount != null ? (m(), W("span", f0, " n " + h(b.metrics.eventCount.toLocaleString()), 1)) : a("", !0),
3447
3447
  b.metrics.lastSeen ? (m(), W("span", {
3448
3448
  key: 3,
3449
- class: n({ "is-stale": l(b.metrics.lastSeen) })
3450
- }, h($(u0)(b.metrics.lastSeen)), 3)) : R("", !0)
3451
- ])) : R("", !0)
3449
+ class: u({ "is-stale": l(b.metrics.lastSeen) })
3450
+ }, h($(u0)(b.metrics.lastSeen)), 3)) : a("", !0)
3451
+ ])) : a("", !0)
3452
3452
  ])
3453
3453
  ], 10, U0))), 128))
3454
- ], 4)) : (m(), x($(cg), {
3454
+ ], 4)) : (m(), T($(cg), {
3455
3455
  key: 1,
3456
3456
  title: "暂无服务",
3457
3457
  description: "等待上报或检查筛选条件"
3458
3458
  }));
3459
3459
  }
3460
- }), vV = /* @__PURE__ */ U(q0, [["__scopeId", "data-v-7e1890bc"]]), _0 = { class: "apf-status-timeline" }, $0 = { class: "apf-status-timeline__ticks" }, Ii = /* @__PURE__ */ j({
3460
+ }), qV = /* @__PURE__ */ U(q0, [["__scopeId", "data-v-7e1890bc"]]), _0 = { class: "apf-status-timeline" }, $0 = { class: "apf-status-timeline__ticks" }, Ii = /* @__PURE__ */ j({
3461
3461
  __name: "StatusTimeline",
3462
3462
  props: {
3463
3463
  segments: {},
@@ -3471,7 +3471,7 @@ const D0 = {
3471
3471
  warning: "告警",
3472
3472
  error: "故障",
3473
3473
  unknown: "未知"
3474
- }, C = I, Z = u(() => {
3474
+ }, C = I, Z = n(() => {
3475
3475
  if (C.range) return C.range;
3476
3476
  if (!C.segments.length) {
3477
3477
  const G = (/* @__PURE__ */ new Date()).toISOString();
@@ -3481,24 +3481,24 @@ const D0 = {
3481
3481
  start: C.segments[0].start,
3482
3482
  end: C.segments[C.segments.length - 1].end
3483
3483
  };
3484
- }), A = u(() => {
3484
+ }), A = n(() => {
3485
3485
  const G = Date.parse(Z.value.start), b = Date.parse(Z.value.end);
3486
3486
  return Math.max(b - G, 1);
3487
- }), d = u(() => {
3487
+ }), d = n(() => {
3488
3488
  const G = Date.parse(Z.value.start);
3489
3489
  return C.segments.map((b) => {
3490
- const i = Date.parse(b.start), w = Date.parse(b.end), s = (i - G) / A.value * 100, a = (w - i) / A.value * 100;
3490
+ const i = Date.parse(b.start), w = Date.parse(b.end), s = (i - G) / A.value * 100, R = (w - i) / A.value * 100;
3491
3491
  return {
3492
3492
  ...b,
3493
3493
  left: Math.max(0, s),
3494
- width: Math.max(0.2, a),
3494
+ width: Math.max(0.2, R),
3495
3495
  durationMs: Math.max(0, w - i)
3496
3496
  };
3497
3497
  });
3498
3498
  });
3499
3499
  function l(G) {
3500
- const b = new Date(G), i = String(b.getMonth() + 1).padStart(2, "0"), w = String(b.getDate()).padStart(2, "0"), s = String(b.getHours()).padStart(2, "0"), a = String(b.getMinutes()).padStart(2, "0");
3501
- return `${i}-${w} ${s}:${a}`;
3500
+ const b = new Date(G), i = String(b.getMonth() + 1).padStart(2, "0"), w = String(b.getDate()).padStart(2, "0"), s = String(b.getHours()).padStart(2, "0"), R = String(b.getMinutes()).padStart(2, "0");
3501
+ return `${i}-${w} ${s}:${R}`;
3502
3502
  }
3503
3503
  function c(G) {
3504
3504
  return `${g[G.status]} · ${l(G.start)} ~ ${l(G.end)} · ${n0(G.durationMs)}`;
@@ -3510,7 +3510,7 @@ const D0 = {
3510
3510
  class: "apf-status-timeline__track",
3511
3511
  style: dI({ height: `${I.height}px` })
3512
3512
  }, [
3513
- (m(!0), W(Q, null, q(d.value, (w, s) => (m(), x(i, {
3513
+ (m(!0), W(Q, null, q(d.value, (w, s) => (m(), T(i, {
3514
3514
  key: `${w.start}-${s}`,
3515
3515
  disabled: !I.showTooltip,
3516
3516
  content: c(w),
@@ -3518,7 +3518,7 @@ const D0 = {
3518
3518
  }, {
3519
3519
  default: O(() => [
3520
3520
  Y("div", {
3521
- class: n(["apf-status-timeline__seg", `apf-status-timeline__seg--${w.status}`]),
3521
+ class: u(["apf-status-timeline__seg", `apf-status-timeline__seg--${w.status}`]),
3522
3522
  style: dI({ left: `${w.left}%`, width: `${w.width}%` })
3523
3523
  }, null, 6)
3524
3524
  ]),
@@ -3532,7 +3532,7 @@ const D0 = {
3532
3532
  ]);
3533
3533
  };
3534
3534
  }
3535
- }), OV = /* @__PURE__ */ U(Ii, [["__scopeId", "data-v-97b528a0"]]), gi = {
3535
+ }), _V = /* @__PURE__ */ U(Ii, [["__scopeId", "data-v-97b528a0"]]), gi = {
3536
3536
  key: 0,
3537
3537
  class: "apf-log-stream__loading"
3538
3538
  }, Ci = ["onClick"], Ai = { class: "apf-log-stream__ts" }, Zi = { class: "apf-log-stream__service" }, li = ["innerHTML"], di = {
@@ -3558,17 +3558,17 @@ const D0 = {
3558
3558
  setup(I, { emit: g }) {
3559
3559
  const C = I, Z = g, A = t(null), d = t(0), l = t(null);
3560
3560
  let c = !0, G = null;
3561
- const b = u(
3561
+ const b = n(
3562
3562
  () => Math.ceil(C.height / C.rowHeight) + WZ * 2
3563
- ), i = u(
3563
+ ), i = n(
3564
3564
  () => Math.max(0, Math.floor(d.value / C.rowHeight) - WZ)
3565
- ), w = u(
3565
+ ), w = n(
3566
3566
  () => Math.min(C.logs.length, i.value + b.value)
3567
- ), s = u(
3567
+ ), s = n(
3568
3568
  () => C.logs.slice(i.value, w.value)
3569
- ), a = u(() => C.logs.length * C.rowHeight), V = u(() => i.value * C.rowHeight), X = u(
3569
+ ), R = n(() => C.logs.length * C.rowHeight), V = n(() => i.value * C.rowHeight), X = n(
3570
3570
  () => C.logs.find((H) => H.id === l.value) ?? null
3571
- ), o = u(() => {
3571
+ ), o = n(() => {
3572
3572
  var H;
3573
3573
  if (!((H = X.value) != null && H.payload)) return "";
3574
3574
  try {
@@ -3646,12 +3646,12 @@ const D0 = {
3646
3646
  Y("div", {
3647
3647
  ref_key: "scrollerRef",
3648
3648
  ref: A,
3649
- class: n(["apf-log-stream", { "apf-log-stream--with-panel": !!X.value }])
3649
+ class: u(["apf-log-stream", { "apf-log-stream--with-panel": !!X.value }])
3650
3650
  }, [
3651
3651
  I.loading ? (m(), W("div", gi, "加载中…")) : I.logs.length ? (m(), W("div", {
3652
3652
  key: 2,
3653
3653
  class: "apf-log-stream__phantom",
3654
- style: dI({ height: `${a.value}px` })
3654
+ style: dI({ height: `${R.value}px` })
3655
3655
  }, [
3656
3656
  Y("div", {
3657
3657
  class: "apf-log-stream__window",
@@ -3659,17 +3659,17 @@ const D0 = {
3659
3659
  }, [
3660
3660
  (m(!0), W(Q, null, q(s.value, (D) => (m(), W("div", {
3661
3661
  key: D.id,
3662
- class: n(["apf-log-stream__row", { "is-active": l.value === D.id }]),
3662
+ class: u(["apf-log-stream__row", { "is-active": l.value === D.id }]),
3663
3663
  style: dI({ height: `${I.rowHeight}px` }),
3664
3664
  onClick: (f) => p(D)
3665
3665
  }, [
3666
3666
  Y("i", {
3667
- class: n(["apf-log-stream__bar", `apf-log-stream__bar--${D.level}`]),
3667
+ class: u(["apf-log-stream__bar", `apf-log-stream__bar--${D.level}`]),
3668
3668
  "aria-hidden": "true"
3669
3669
  }, null, 2),
3670
3670
  Y("span", Ai, h(S(D.timestamp)), 1),
3671
3671
  Y("span", {
3672
- class: n(["apf-log-stream__level", `apf-log-stream__level--${D.level}`])
3672
+ class: u(["apf-log-stream__level", `apf-log-stream__level--${D.level}`])
3673
3673
  }, h(D.level), 3),
3674
3674
  Y("span", Zi, h(D.service), 1),
3675
3675
  Y("span", {
@@ -3678,7 +3678,7 @@ const D0 = {
3678
3678
  }, null, 8, li)
3679
3679
  ], 14, Ci))), 128))
3680
3680
  ], 4)
3681
- ], 4)) : (m(), x($(cg), {
3681
+ ], 4)) : (m(), T($(cg), {
3682
3682
  key: 1,
3683
3683
  title: "暂无日志",
3684
3684
  description: "等待事件推送或调整筛选"
@@ -3694,10 +3694,10 @@ const D0 = {
3694
3694
  }, " 关闭 ")
3695
3695
  ]),
3696
3696
  o.value ? (m(), W("pre", ci, h(o.value), 1)) : (m(), W("div", bi, "无 payload"))
3697
- ])) : R("", !0)
3697
+ ])) : a("", !0)
3698
3698
  ], 4));
3699
3699
  }
3700
- }), EV = /* @__PURE__ */ U(mi, [["__scopeId", "data-v-1766eb79"]]), ii = { class: "apf-threshold-slider__meta" }, Wi = { class: "apf-threshold-slider__unit" }, Bi = { class: "apf-threshold-slider__hint" }, Yi = { class: "apf-threshold-slider__row" }, si = /* @__PURE__ */ j({
3700
+ }), $V = /* @__PURE__ */ U(mi, [["__scopeId", "data-v-1766eb79"]]), ii = { class: "apf-threshold-slider__meta" }, Wi = { class: "apf-threshold-slider__unit" }, Bi = { class: "apf-threshold-slider__hint" }, Yi = { class: "apf-threshold-slider__row" }, si = /* @__PURE__ */ j({
3701
3701
  __name: "ThresholdSlider",
3702
3702
  props: {
3703
3703
  type: {},
@@ -3712,7 +3712,7 @@ const D0 = {
3712
3712
  latency: { unit: "ms", min: 100, max: 3e4, step: 100, suggest: 2e3 },
3713
3713
  eventCount: { unit: "次/5分钟", min: 10, max: 1e4, step: 10, suggest: 100 },
3714
3714
  timeout: { unit: "分钟", min: 1, max: 60, step: 1, suggest: 3 }
3715
- }, Z = I, A = g, d = u(() => C[Z.type]);
3715
+ }, Z = I, A = g, d = n(() => C[Z.type]);
3716
3716
  function l(G) {
3717
3717
  if (G == null || Number.isNaN(G)) return;
3718
3718
  const b = Math.min(d.value.max, Math.max(d.value.min, G));
@@ -3725,7 +3725,7 @@ const D0 = {
3725
3725
  return (G, b) => {
3726
3726
  const i = _("el-slider"), w = _("el-input-number");
3727
3727
  return m(), W("div", {
3728
- class: n(["apf-threshold-slider", { "is-disabled": I.disabled }])
3728
+ class: u(["apf-threshold-slider", { "is-disabled": I.disabled }])
3729
3729
  }, [
3730
3730
  Y("div", ii, [
3731
3731
  Y("span", Wi, h(d.value.unit), 1),
@@ -3742,7 +3742,7 @@ const D0 = {
3742
3742
  "onUpdate:modelValue": b[0] || (b[0] = (s) => l(s)),
3743
3743
  onChange: c
3744
3744
  }, null, 8, ["model-value", "min", "max", "step", "disabled"]),
3745
- I.showInput ? (m(), x(w, {
3745
+ I.showInput ? (m(), T(w, {
3746
3746
  key: 0,
3747
3747
  "model-value": I.modelValue,
3748
3748
  min: d.value.min,
@@ -3754,19 +3754,19 @@ const D0 = {
3754
3754
  class: "apf-threshold-slider__input",
3755
3755
  "onUpdate:modelValue": l,
3756
3756
  onChange: b[1] || (b[1] = (s) => s != null && A("change", s))
3757
- }, null, 8, ["model-value", "min", "max", "step", "disabled"])) : R("", !0)
3757
+ }, null, 8, ["model-value", "min", "max", "step", "disabled"])) : a("", !0)
3758
3758
  ])
3759
3759
  ], 2);
3760
3760
  };
3761
3761
  }
3762
- }), PV = /* @__PURE__ */ U(si, [["__scopeId", "data-v-7098971c"]]), wi = /* @__PURE__ */ j({
3762
+ }), IN = /* @__PURE__ */ U(si, [["__scopeId", "data-v-7098971c"]]), wi = /* @__PURE__ */ j({
3763
3763
  __name: "PageShell",
3764
3764
  props: {
3765
3765
  fill: { type: Boolean, default: !1 }
3766
3766
  },
3767
3767
  setup(I) {
3768
3768
  return (g, C) => (m(), W("div", {
3769
- class: n([g.$style.shell, I.fill && g.$style.shellFill])
3769
+ class: u([g.$style.shell, I.fill && g.$style.shellFill])
3770
3770
  }, [
3771
3771
  CI(g.$slots, "default")
3772
3772
  ], 2));
@@ -3776,7 +3776,7 @@ const D0 = {
3776
3776
  shellFill: Ni
3777
3777
  }, oi = {
3778
3778
  $style: Xi
3779
- }, rV = /* @__PURE__ */ U(wi, [["__cssModules", oi]]), hi = /* @__PURE__ */ j({
3779
+ }, gN = /* @__PURE__ */ U(wi, [["__cssModules", oi]]), hi = /* @__PURE__ */ j({
3780
3780
  __name: "PageHeader",
3781
3781
  props: {
3782
3782
  title: {},
@@ -3784,30 +3784,30 @@ const D0 = {
3784
3784
  },
3785
3785
  setup(I) {
3786
3786
  return (g, C) => (m(), W("header", {
3787
- class: n(g.$style.header)
3787
+ class: u(g.$style.header)
3788
3788
  }, [
3789
3789
  Y("div", {
3790
- class: n(g.$style.titleRow)
3790
+ class: u(g.$style.titleRow)
3791
3791
  }, [
3792
3792
  Y("div", {
3793
- class: n(g.$style.titleLeft)
3793
+ class: u(g.$style.titleLeft)
3794
3794
  }, [
3795
3795
  Y("h1", {
3796
- class: n(g.$style.title)
3796
+ class: u(g.$style.title)
3797
3797
  }, h(I.title), 3),
3798
3798
  I.subtitle ? (m(), W("p", {
3799
3799
  key: 0,
3800
- class: n(g.$style.subtitle)
3801
- }, h(I.subtitle), 3)) : R("", !0),
3800
+ class: u(g.$style.subtitle)
3801
+ }, h(I.subtitle), 3)) : a("", !0),
3802
3802
  CI(g.$slots, "default")
3803
3803
  ], 2),
3804
3804
  g.$slots.actions || g.$slots.extra ? (m(), W("div", {
3805
3805
  key: 0,
3806
- class: n(g.$style.actions)
3806
+ class: u(g.$style.actions)
3807
3807
  }, [
3808
3808
  CI(g.$slots, "actions"),
3809
3809
  CI(g.$slots, "extra")
3810
- ], 2)) : R("", !0)
3810
+ ], 2)) : a("", !0)
3811
3811
  ], 2)
3812
3812
  ], 2));
3813
3813
  }
@@ -3820,7 +3820,7 @@ const D0 = {
3820
3820
  actions: ni
3821
3821
  }, Ki = {
3822
3822
  $style: Mi
3823
- }, fV = /* @__PURE__ */ U(hi, [["__cssModules", Ki]]), Si = ["onClick"], Di = /* @__PURE__ */ j({
3823
+ }, CN = /* @__PURE__ */ U(hi, [["__cssModules", Ki]]), Si = ["onClick"], Di = /* @__PURE__ */ j({
3824
3824
  __name: "BreadcrumbNav",
3825
3825
  props: {
3826
3826
  items: {}
@@ -3830,7 +3830,7 @@ const D0 = {
3830
3830
  const C = g;
3831
3831
  return (Z, A) => I.items.length > 0 ? (m(), W("nav", {
3832
3832
  key: 0,
3833
- class: n(Z.$style.breadcrumb),
3833
+ class: u(Z.$style.breadcrumb),
3834
3834
  "aria-label": "面包屑"
3835
3835
  }, [
3836
3836
  (m(!0), W(Q, null, q(I.items, (d, l) => (m(), W(Q, {
@@ -3838,20 +3838,20 @@ const D0 = {
3838
3838
  }, [
3839
3839
  l > 0 ? (m(), W("span", {
3840
3840
  key: 0,
3841
- class: n(Z.$style.separator),
3841
+ class: u(Z.$style.separator),
3842
3842
  "aria-hidden": "true"
3843
- }, "/", 2)) : R("", !0),
3843
+ }, "/", 2)) : a("", !0),
3844
3844
  d.to && l < I.items.length - 1 ? (m(), W("button", {
3845
3845
  key: 1,
3846
3846
  type: "button",
3847
- class: n(Z.$style.link),
3847
+ class: u(Z.$style.link),
3848
3848
  onClick: (c) => C("navigate", d.to)
3849
3849
  }, h(d.label), 11, Si)) : (m(), W("span", {
3850
3850
  key: 2,
3851
- class: n(Z.$style.current)
3851
+ class: u(Z.$style.current)
3852
3852
  }, h(d.label), 3))
3853
3853
  ], 64))), 128))
3854
- ], 2)) : R("", !0);
3854
+ ], 2)) : a("", !0);
3855
3855
  }
3856
3856
  }), Fi = "_breadcrumb_vy5ij_2", pi = "_separator_vy5ij_11", Ji = "_link_vy5ij_16", zi = "_current_vy5ij_30", ki = {
3857
3857
  breadcrumb: Fi,
@@ -3860,7 +3860,7 @@ const D0 = {
3860
3860
  current: zi
3861
3861
  }, ei = {
3862
3862
  $style: ki
3863
- }, qV = /* @__PURE__ */ U(Di, [["__cssModules", ei]]), Li = { class: "apf-filter-bar" }, ti = {
3863
+ }, AN = /* @__PURE__ */ U(Di, [["__cssModules", ei]]), Li = { class: "apf-filter-bar" }, ti = {
3864
3864
  key: 0,
3865
3865
  class: "apf-filter-bar__title"
3866
3866
  }, Ti = { class: "apf-filter-bar__fields" }, xi = { class: "apf-filter-bar__actions" }, ji = /* @__PURE__ */ j({
@@ -3874,7 +3874,7 @@ const D0 = {
3874
3874
  return (Z, A) => {
3875
3875
  const d = _("el-button");
3876
3876
  return m(), W("div", Li, [
3877
- I.title ? (m(), W("div", ti, h(I.title), 1)) : R("", !0),
3877
+ I.title ? (m(), W("div", ti, h(I.title), 1)) : a("", !0),
3878
3878
  Y("div", Ti, [
3879
3879
  CI(Z.$slots, "default", {}, void 0, !0)
3880
3880
  ]),
@@ -3902,7 +3902,7 @@ const D0 = {
3902
3902
  ]);
3903
3903
  };
3904
3904
  }
3905
- }), _V = /* @__PURE__ */ U(ji, [["__scopeId", "data-v-86218301"]]), Qi = /* @__PURE__ */ j({
3905
+ }), ZN = /* @__PURE__ */ U(ji, [["__scopeId", "data-v-86218301"]]), Qi = /* @__PURE__ */ j({
3906
3906
  __name: "CardTable",
3907
3907
  props: {
3908
3908
  loading: { type: Boolean, default: !1 },
@@ -3913,7 +3913,7 @@ const D0 = {
3913
3913
  return (g, C) => {
3914
3914
  const Z = EZ("loading");
3915
3915
  return Gg((m(), W("div", {
3916
- class: n(["apf-card-table", { "apf-card-table--borderless": I.borderless }]),
3916
+ class: u(["apf-card-table", { "apf-card-table--borderless": I.borderless }]),
3917
3917
  style: dI({ padding: I.padding })
3918
3918
  }, [
3919
3919
  CI(g.$slots, "default", {}, void 0, !0)
@@ -3922,7 +3922,7 @@ const D0 = {
3922
3922
  ]);
3923
3923
  };
3924
3924
  }
3925
- }), $V = /* @__PURE__ */ U(Qi, [["__scopeId", "data-v-fbd06971"]]), Ui = { class: "apf-table-row-actions" }, vi = /* @__PURE__ */ j({
3925
+ }), lN = /* @__PURE__ */ U(Qi, [["__scopeId", "data-v-fbd06971"]]), Ui = { class: "apf-table-row-actions" }, vi = /* @__PURE__ */ j({
3926
3926
  __name: "TableRowActions",
3927
3927
  props: {
3928
3928
  actions: {},
@@ -3930,9 +3930,9 @@ const D0 = {
3930
3930
  visibleCount: { default: 2 }
3931
3931
  },
3932
3932
  setup(I) {
3933
- const g = I, C = u(() => g.actions.length >= g.collapseAt), Z = u(
3933
+ const g = I, C = n(() => g.actions.length >= g.collapseAt), Z = n(
3934
3934
  () => C.value ? g.actions.slice(0, g.visibleCount) : g.actions
3935
- ), A = u(
3935
+ ), A = n(
3936
3936
  () => C.value ? g.actions.slice(g.visibleCount) : []
3937
3937
  );
3938
3938
  function d(l) {
@@ -3942,7 +3942,7 @@ const D0 = {
3942
3942
  return (l, c) => {
3943
3943
  const G = _("el-button"), b = _("el-dropdown-item"), i = _("el-dropdown-menu"), w = _("el-dropdown");
3944
3944
  return m(), W("div", Ui, [
3945
- (m(!0), W(Q, null, q(Z.value, (s) => (m(), x(G, {
3945
+ (m(!0), W(Q, null, q(Z.value, (s) => (m(), T(G, {
3946
3946
  key: s.key,
3947
3947
  link: "",
3948
3948
  type: s.type ?? "primary",
@@ -3955,7 +3955,7 @@ const D0 = {
3955
3955
  ]),
3956
3956
  _: 2
3957
3957
  }, 1032, ["type", "loading", "onClick"]))), 128)),
3958
- A.value.length ? (m(), x(w, {
3958
+ A.value.length ? (m(), T(w, {
3959
3959
  key: 0,
3960
3960
  trigger: "click",
3961
3961
  onCommand: d
@@ -3963,18 +3963,18 @@ const D0 = {
3963
3963
  dropdown: O(() => [
3964
3964
  II(i, null, {
3965
3965
  default: O(() => [
3966
- (m(!0), W(Q, null, q(A.value, (s) => (m(), x(b, {
3966
+ (m(!0), W(Q, null, q(A.value, (s) => (m(), T(b, {
3967
3967
  key: s.key,
3968
3968
  command: s.key,
3969
3969
  style: dI(s.type === "danger" ? { color: "var(--el-color-danger)" } : void 0)
3970
3970
  }, {
3971
3971
  default: O(() => [
3972
- s.icon ? (m(), x($(RI), {
3972
+ s.icon ? (m(), T($(XI), {
3973
3973
  key: 0,
3974
3974
  name: s.icon,
3975
3975
  size: 14,
3976
3976
  style: { "margin-right": "6px" }
3977
- }, null, 8, ["name"])) : R("", !0),
3977
+ }, null, 8, ["name"])) : a("", !0),
3978
3978
  gI(" " + h(s.label), 1)
3979
3979
  ]),
3980
3980
  _: 2
@@ -3991,7 +3991,7 @@ const D0 = {
3991
3991
  }, {
3992
3992
  default: O(() => [
3993
3993
  c[0] || (c[0] = gI(" 更多 ", -1)),
3994
- II($(RI), {
3994
+ II($(XI), {
3995
3995
  name: "arrow-down",
3996
3996
  size: 12,
3997
3997
  style: { "margin-left": "2px" }
@@ -4001,11 +4001,11 @@ const D0 = {
4001
4001
  })
4002
4002
  ]),
4003
4003
  _: 1
4004
- })) : R("", !0)
4004
+ })) : a("", !0)
4005
4005
  ]);
4006
4006
  };
4007
4007
  }
4008
- }), IN = /* @__PURE__ */ U(vi, [["__scopeId", "data-v-06e2a9ce"]]), Oi = { class: "apf-search-form" }, Ei = { class: "apf-search-form__row" }, Pi = { class: "apf-search-form__label" }, ri = { class: "apf-search-form__actions" }, fi = /* @__PURE__ */ j({
4008
+ }), dN = /* @__PURE__ */ U(vi, [["__scopeId", "data-v-06e2a9ce"]]), Oi = { class: "apf-search-form" }, Ei = { class: "apf-search-form__row" }, Pi = { class: "apf-search-form__label" }, ri = { class: "apf-search-form__actions" }, fi = /* @__PURE__ */ j({
4009
4009
  __name: "SearchForm",
4010
4010
  props: {
4011
4011
  fields: {},
@@ -4018,33 +4018,33 @@ const D0 = {
4018
4018
  setup(I, { expose: g, emit: C }) {
4019
4019
  const Z = I, A = C, d = t(Z.defaultCollapsed), l = PZ({});
4020
4020
  function c() {
4021
- var a;
4021
+ var R;
4022
4022
  for (const V of Object.keys(l))
4023
4023
  Z.fields.some((X) => X.key === V) || delete l[V];
4024
4024
  for (const V of Z.fields)
4025
- l[V.key] = ((a = Z.modelValue) == null ? void 0 : a[V.key]) ?? (V.type === "daterange" ? [] : "");
4025
+ l[V.key] = ((R = Z.modelValue) == null ? void 0 : R[V.key]) ?? (V.type === "daterange" ? [] : "");
4026
4026
  }
4027
4027
  NI(() => [Z.fields, Z.modelValue], c, { immediate: !0, deep: !0 });
4028
- const G = u(
4028
+ const G = n(
4029
4029
  () => Z.collapsible && Z.fields.length > Z.defaultVisibleCount
4030
- ), b = u(() => !G.value || !d.value ? Z.fields : Z.fields.slice(0, Z.defaultVisibleCount));
4030
+ ), b = n(() => !G.value || !d.value ? Z.fields : Z.fields.slice(0, Z.defaultVisibleCount));
4031
4031
  function i() {
4032
4032
  return { ...l };
4033
4033
  }
4034
4034
  function w() {
4035
- const a = i();
4036
- A("update:modelValue", a), A("search", a);
4035
+ const R = i();
4036
+ A("update:modelValue", R), A("search", R);
4037
4037
  }
4038
4038
  function s() {
4039
4039
  for (const V of Z.fields)
4040
4040
  l[V.key] = V.type === "daterange" ? [] : "";
4041
- const a = i();
4042
- A("update:modelValue", a), A("reset");
4041
+ const R = i();
4042
+ A("update:modelValue", R), A("reset");
4043
4043
  }
4044
4044
  return g({
4045
4045
  getValues: i,
4046
4046
  reset: s
4047
- }), (a, V) => {
4047
+ }), (R, V) => {
4048
4048
  const X = _("el-input"), o = _("el-option"), S = _("el-select"), k = _("el-date-picker"), L = _("el-button");
4049
4049
  return m(), W("div", Oi, [
4050
4050
  Y("div", Ei, [
@@ -4053,13 +4053,13 @@ const D0 = {
4053
4053
  class: "apf-search-form__field"
4054
4054
  }, [
4055
4055
  Y("label", Pi, h(K.label), 1),
4056
- K.type === "input" ? (m(), x(X, {
4056
+ K.type === "input" ? (m(), T(X, {
4057
4057
  key: 0,
4058
4058
  modelValue: l[K.key],
4059
4059
  "onUpdate:modelValue": (e) => l[K.key] = e,
4060
4060
  clearable: "",
4061
4061
  placeholder: K.placeholder || `请输入${K.label}`
4062
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : K.type === "select" ? (m(), x(S, {
4062
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : K.type === "select" ? (m(), T(S, {
4063
4063
  key: 1,
4064
4064
  modelValue: l[K.key],
4065
4065
  "onUpdate:modelValue": (e) => l[K.key] = e,
@@ -4068,14 +4068,14 @@ const D0 = {
4068
4068
  style: { width: "100%" }
4069
4069
  }, {
4070
4070
  default: O(() => [
4071
- (m(!0), W(Q, null, q(K.options || [], (e) => (m(), x(o, {
4071
+ (m(!0), W(Q, null, q(K.options || [], (e) => (m(), T(o, {
4072
4072
  key: String(e.value),
4073
4073
  label: e.label,
4074
4074
  value: e.value
4075
4075
  }, null, 8, ["label", "value"]))), 128))
4076
4076
  ]),
4077
4077
  _: 2
4078
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : K.type === "date" ? (m(), x(k, {
4078
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : K.type === "date" ? (m(), T(k, {
4079
4079
  key: 2,
4080
4080
  modelValue: l[K.key],
4081
4081
  "onUpdate:modelValue": (e) => l[K.key] = e,
@@ -4083,7 +4083,7 @@ const D0 = {
4083
4083
  "value-format": "YYYY-MM-DD",
4084
4084
  placeholder: K.placeholder || `请选择${K.label}`,
4085
4085
  style: { width: "100%" }
4086
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : (m(), x(k, {
4086
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : (m(), T(k, {
4087
4087
  key: 3,
4088
4088
  modelValue: l[K.key],
4089
4089
  "onUpdate:modelValue": (e) => l[K.key] = e,
@@ -4100,7 +4100,7 @@ const D0 = {
4100
4100
  onClick: w
4101
4101
  }, {
4102
4102
  default: O(() => [
4103
- II($(RI), {
4103
+ II($(XI), {
4104
4104
  name: "search",
4105
4105
  size: 14,
4106
4106
  style: { "margin-right": "var(--spacing-xs, 4px)" }
@@ -4115,7 +4115,7 @@ const D0 = {
4115
4115
  ])]),
4116
4116
  _: 1
4117
4117
  }),
4118
- G.value ? (m(), x(L, {
4118
+ G.value ? (m(), T(L, {
4119
4119
  key: 0,
4120
4120
  link: "",
4121
4121
  type: "primary",
@@ -4125,13 +4125,13 @@ const D0 = {
4125
4125
  gI(h(d.value ? "展开" : "收起"), 1)
4126
4126
  ]),
4127
4127
  _: 1
4128
- })) : R("", !0)
4128
+ })) : a("", !0)
4129
4129
  ])
4130
4130
  ])
4131
4131
  ]);
4132
4132
  };
4133
4133
  }
4134
- }), gN = /* @__PURE__ */ U(fi, [["__scopeId", "data-v-8a00c2b6"]]), qi = /* @__PURE__ */ j({
4134
+ }), GN = /* @__PURE__ */ U(fi, [["__scopeId", "data-v-8a00c2b6"]]), qi = /* @__PURE__ */ j({
4135
4135
  inheritAttrs: !1,
4136
4136
  __name: "TruncatedTooltipText",
4137
4137
  props: {
@@ -4143,7 +4143,7 @@ const D0 = {
4143
4143
  const g = ql();
4144
4144
  return (C, Z) => {
4145
4145
  const A = _("el-tooltip");
4146
- return m(), x(A, {
4146
+ return m(), T(A, {
4147
4147
  content: I.content,
4148
4148
  placement: I.placement,
4149
4149
  "show-after": 200,
@@ -4151,7 +4151,7 @@ const D0 = {
4151
4151
  }, {
4152
4152
  default: O(() => [
4153
4153
  Y("span", {
4154
- class: n(["apf-truncated-text", $(g).class]),
4154
+ class: u(["apf-truncated-text", $(g).class]),
4155
4155
  style: dI($(g).style)
4156
4156
  }, [
4157
4157
  CI(C.$slots, "default", {}, () => [
@@ -4175,16 +4175,16 @@ const D0 = {
4175
4175
  required: { type: Boolean }
4176
4176
  },
4177
4177
  setup(I) {
4178
- const g = I, C = u(() => {
4178
+ const g = I, C = n(() => {
4179
4179
  var Z;
4180
4180
  return (Z = g.hint) != null && Z.trim() ? `${g.label}
4181
4181
  ${g.hint.trim()}` : g.label;
4182
4182
  });
4183
4183
  return (Z, A) => (m(), W("div", {
4184
- class: n(["apf-field-row", { "apf-field-row--textarea": I.textarea }])
4184
+ class: u(["apf-field-row", { "apf-field-row--textarea": I.textarea }])
4185
4185
  }, [
4186
4186
  Y("div", $i, [
4187
- I.required ? (m(), W("span", IW, "*")) : R("", !0),
4187
+ I.required ? (m(), W("span", IW, "*")) : a("", !0),
4188
4188
  II($(_i), {
4189
4189
  content: C.value,
4190
4190
  class: "apf-field-row__label-text"
@@ -4196,13 +4196,13 @@ ${g.hint.trim()}` : g.label;
4196
4196
  }, 8, ["content"])
4197
4197
  ]),
4198
4198
  Y("div", {
4199
- class: n(["apf-field-row__control", { "apf-field-row__control--textarea": I.textarea }])
4199
+ class: u(["apf-field-row__control", { "apf-field-row__control--textarea": I.textarea }])
4200
4200
  }, [
4201
4201
  CI(Z.$slots, "default", {}, void 0, !0)
4202
4202
  ], 2)
4203
4203
  ], 2));
4204
4204
  }
4205
- }), CN = /* @__PURE__ */ U(gW, [["__scopeId", "data-v-84b9f50d"]]), CW = ["aria-label"], AW = {
4205
+ }), cN = /* @__PURE__ */ U(gW, [["__scopeId", "data-v-84b9f50d"]]), CW = ["aria-label"], AW = {
4206
4206
  class: "apf-hint-trigger",
4207
4207
  "aria-label": "提示"
4208
4208
  }, ZW = { class: "apf-hint-content" }, lW = /* @__PURE__ */ j({
@@ -4214,7 +4214,7 @@ ${g.hint.trim()}` : g.label;
4214
4214
  setup(I) {
4215
4215
  return (g, C) => {
4216
4216
  const Z = _("el-tooltip"), A = _("el-popover");
4217
- return I.content ? (m(), x(Z, {
4217
+ return I.content ? (m(), T(Z, {
4218
4218
  key: 0,
4219
4219
  content: I.content,
4220
4220
  placement: "top",
@@ -4226,14 +4226,14 @@ ${g.hint.trim()}` : g.label;
4226
4226
  tabindex: "0",
4227
4227
  "aria-label": I.content
4228
4228
  }, [
4229
- II($(RI), {
4229
+ II($(XI), {
4230
4230
  name: "question-filled",
4231
4231
  size: 14
4232
4232
  })
4233
4233
  ], 8, CW)
4234
4234
  ]),
4235
4235
  _: 1
4236
- }, 8, ["content"])) : (m(), x(A, {
4236
+ }, 8, ["content"])) : (m(), T(A, {
4237
4237
  key: 1,
4238
4238
  placement: "top",
4239
4239
  width: I.width,
@@ -4243,7 +4243,7 @@ ${g.hint.trim()}` : g.label;
4243
4243
  }, {
4244
4244
  reference: O(() => [
4245
4245
  Y("span", AW, [
4246
- II($(RI), {
4246
+ II($(XI), {
4247
4247
  name: "question-filled",
4248
4248
  size: 14
4249
4249
  })
@@ -4258,7 +4258,7 @@ ${g.hint.trim()}` : g.label;
4258
4258
  }, 8, ["width"]));
4259
4259
  };
4260
4260
  }
4261
- }), AN = /* @__PURE__ */ U(lW, [["__scopeId", "data-v-38245bc2"]]), dW = { class: "apf-section-toggle" }, GW = { class: "apf-section-toggle__label" }, cW = {
4261
+ }), bN = /* @__PURE__ */ U(lW, [["__scopeId", "data-v-38245bc2"]]), dW = { class: "apf-section-toggle" }, GW = { class: "apf-section-toggle__label" }, cW = {
4262
4262
  key: 0,
4263
4263
  class: "apf-section-toggle__count"
4264
4264
  }, bW = { class: "apf-section-toggle__body" }, mW = /* @__PURE__ */ j({
@@ -4279,13 +4279,13 @@ ${g.hint.trim()}` : g.label;
4279
4279
  class: "apf-section-toggle__header",
4280
4280
  onClick: Z
4281
4281
  }, [
4282
- II($(RI), {
4282
+ II($(XI), {
4283
4283
  name: C.value ? "arrow-down" : "arrow-right",
4284
4284
  size: 11,
4285
4285
  class: "apf-section-toggle__arrow"
4286
4286
  }, null, 8, ["name"]),
4287
4287
  Y("span", GW, h(I.title), 1),
4288
- I.count !== void 0 ? (m(), W("span", cW, h(I.count), 1)) : R("", !0)
4288
+ I.count !== void 0 ? (m(), W("span", cW, h(I.count), 1)) : a("", !0)
4289
4289
  ]),
4290
4290
  Gg(Y("div", bW, [
4291
4291
  CI(A.$slots, "default", {}, void 0, !0)
@@ -4294,7 +4294,7 @@ ${g.hint.trim()}` : g.label;
4294
4294
  ])
4295
4295
  ]));
4296
4296
  }
4297
- }), ZN = /* @__PURE__ */ U(mW, [["__scopeId", "data-v-64b3dfe8"]]), iW = {
4297
+ }), mN = /* @__PURE__ */ U(mW, [["__scopeId", "data-v-64b3dfe8"]]), iW = {
4298
4298
  class: "apf-loading-dots",
4299
4299
  "aria-label": "加载中",
4300
4300
  role: "status"
@@ -4312,7 +4312,7 @@ ${g.hint.trim()}` : g.label;
4312
4312
  }, null, 4)), 64))
4313
4313
  ]));
4314
4314
  }
4315
- }), lN = /* @__PURE__ */ U(WW, [["__scopeId", "data-v-df891291"]]), BW = { class: "apf-json-card__body" }, YW = { class: "apf-json-card__title" }, sW = { class: "apf-json-card__summary" }, wW = /* @__PURE__ */ j({
4315
+ }), iN = /* @__PURE__ */ U(WW, [["__scopeId", "data-v-df891291"]]), BW = { class: "apf-json-card__body" }, YW = { class: "apf-json-card__title" }, sW = { class: "apf-json-card__summary" }, wW = /* @__PURE__ */ j({
4316
4316
  __name: "JsonCard",
4317
4317
  props: {
4318
4318
  title: {},
@@ -4322,7 +4322,7 @@ ${g.hint.trim()}` : g.label;
4322
4322
  },
4323
4323
  emits: ["click", "openDetail"],
4324
4324
  setup(I, { emit: g }) {
4325
- const C = I, Z = g, A = u(() => {
4325
+ const C = I, Z = g, A = n(() => {
4326
4326
  if (C.data !== void 0) return C.data;
4327
4327
  if (!C.content) return null;
4328
4328
  try {
@@ -4330,7 +4330,7 @@ ${g.hint.trim()}` : g.label;
4330
4330
  } catch {
4331
4331
  return null;
4332
4332
  }
4333
- }), d = u(() => {
4333
+ }), d = n(() => {
4334
4334
  const G = A.value;
4335
4335
  if (G == null) return "JSON 数据";
4336
4336
  if (Array.isArray(G))
@@ -4345,7 +4345,7 @@ ${g.hint.trim()}` : g.label;
4345
4345
  return `${i.length} 个字段${i.length ? ` (${i.slice(0, 3).join(", ")}${i.length > 3 ? "..." : ""})` : ""}`;
4346
4346
  }
4347
4347
  return String(G);
4348
- }), l = u(() => C.type === "schema" ? "document" : C.type === "flow" ? "connection" : "files");
4348
+ }), l = n(() => C.type === "schema" ? "document" : C.type === "flow" ? "connection" : "files");
4349
4349
  function c() {
4350
4350
  Z("click"), Z("openDetail");
4351
4351
  }
@@ -4354,7 +4354,7 @@ ${g.hint.trim()}` : g.label;
4354
4354
  class: "apf-json-card",
4355
4355
  onClick: c
4356
4356
  }, [
4357
- II($(RI), {
4357
+ II($(XI), {
4358
4358
  name: l.value,
4359
4359
  size: 20,
4360
4360
  class: "apf-json-card__icon"
@@ -4375,7 +4375,7 @@ ${g.hint.trim()}` : g.label;
4375
4375
  },
4376
4376
  emits: ["update:modelValue"],
4377
4377
  setup(I, { emit: g }) {
4378
- const C = I, Z = g, A = u(() => {
4378
+ const C = I, Z = g, A = n(() => {
4379
4379
  if (C.content)
4380
4380
  try {
4381
4381
  return JSON.stringify(JSON.parse(C.content), null, 2);
@@ -4390,7 +4390,7 @@ ${g.hint.trim()}` : g.label;
4390
4390
  });
4391
4391
  return (d, l) => {
4392
4392
  const c = _("el-button");
4393
- return m(), x($(gA), {
4393
+ return m(), T($(gA), {
4394
4394
  "model-value": I.modelValue,
4395
4395
  title: I.title || "JSON 详情",
4396
4396
  width: "720px",
@@ -4439,7 +4439,7 @@ ${g.hint.trim()}` : g.label;
4439
4439
  Z("update:modelValue", { ...A });
4440
4440
  }
4441
4441
  return (c, G) => {
4442
- const b = _("el-input"), i = _("el-input-number"), w = _("el-option"), s = _("el-select"), a = _("el-switch"), V = _("el-date-picker"), X = _("el-form-item"), o = _("el-form");
4442
+ const b = _("el-input"), i = _("el-input-number"), w = _("el-option"), s = _("el-select"), R = _("el-switch"), V = _("el-date-picker"), X = _("el-form-item"), o = _("el-form");
4443
4443
  return m(), W("div", hW, [
4444
4444
  II(o, {
4445
4445
  model: A,
@@ -4447,19 +4447,19 @@ ${g.hint.trim()}` : g.label;
4447
4447
  onChange: l
4448
4448
  }, {
4449
4449
  default: O(() => [
4450
- (m(!0), W(Q, null, q(I.fields, (S) => (m(), x(X, {
4450
+ (m(!0), W(Q, null, q(I.fields, (S) => (m(), T(X, {
4451
4451
  key: S.key,
4452
4452
  label: S.label
4453
4453
  }, {
4454
4454
  default: O(() => [
4455
- S.type === "input" ? (m(), x(b, {
4455
+ S.type === "input" ? (m(), T(b, {
4456
4456
  key: 0,
4457
4457
  modelValue: A[S.key],
4458
4458
  "onUpdate:modelValue": (k) => A[S.key] = k,
4459
4459
  placeholder: S.placeholder,
4460
4460
  disabled: S.disabled,
4461
4461
  onChange: l
4462
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "textarea" ? (m(), x(b, {
4462
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "textarea" ? (m(), T(b, {
4463
4463
  key: 1,
4464
4464
  modelValue: A[S.key],
4465
4465
  "onUpdate:modelValue": (k) => A[S.key] = k,
@@ -4468,13 +4468,13 @@ ${g.hint.trim()}` : g.label;
4468
4468
  placeholder: S.placeholder,
4469
4469
  disabled: S.disabled,
4470
4470
  onChange: l
4471
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "number" ? (m(), x(i, {
4471
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "number" ? (m(), T(i, {
4472
4472
  key: 2,
4473
4473
  modelValue: A[S.key],
4474
4474
  "onUpdate:modelValue": (k) => A[S.key] = k,
4475
4475
  disabled: S.disabled,
4476
4476
  onChange: l
4477
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : S.type === "select" ? (m(), x(s, {
4477
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : S.type === "select" ? (m(), T(s, {
4478
4478
  key: 3,
4479
4479
  modelValue: A[S.key],
4480
4480
  "onUpdate:modelValue": (k) => A[S.key] = k,
@@ -4484,20 +4484,20 @@ ${g.hint.trim()}` : g.label;
4484
4484
  onChange: l
4485
4485
  }, {
4486
4486
  default: O(() => [
4487
- (m(!0), W(Q, null, q(S.options || [], (k) => (m(), x(w, {
4487
+ (m(!0), W(Q, null, q(S.options || [], (k) => (m(), T(w, {
4488
4488
  key: String(k.value),
4489
4489
  label: k.label,
4490
4490
  value: k.value
4491
4491
  }, null, 8, ["label", "value"]))), 128))
4492
4492
  ]),
4493
4493
  _: 2
4494
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "switch" ? (m(), x(a, {
4494
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : S.type === "switch" ? (m(), T(R, {
4495
4495
  key: 4,
4496
4496
  modelValue: A[S.key],
4497
4497
  "onUpdate:modelValue": (k) => A[S.key] = k,
4498
4498
  disabled: S.disabled,
4499
4499
  onChange: l
4500
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : (m(), x(V, {
4500
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])) : (m(), T(V, {
4501
4501
  key: 5,
4502
4502
  modelValue: A[S.key],
4503
4503
  "onUpdate:modelValue": (k) => A[S.key] = k,
@@ -4517,7 +4517,7 @@ ${g.hint.trim()}` : g.label;
4517
4517
  ]);
4518
4518
  };
4519
4519
  }
4520
- }), dN = /* @__PURE__ */ U(aW, [["__scopeId", "data-v-1d125a82"]]);
4520
+ }), WN = /* @__PURE__ */ U(aW, [["__scopeId", "data-v-1d125a82"]]);
4521
4521
  function Rg(I) {
4522
4522
  const g = (I.mimetype || "").toLowerCase(), C = (I.filename || "").toLowerCase();
4523
4523
  return g.startsWith("image/") || /\.(png|jpe?g|gif|webp|bmp)$/.test(C);
@@ -4530,7 +4530,7 @@ function BZ(I) {
4530
4530
  const g = (I.mimetype || "").toLowerCase(), C = (I.filename || "").toLowerCase();
4531
4531
  return C.endsWith(".docx") || C.endsWith(".doc") || C.endsWith(".xlsx") || C.endsWith(".xls") || g.includes("word") || g.includes("sheet") || g.includes("excel");
4532
4532
  }
4533
- function GN(I) {
4533
+ function BN(I) {
4534
4534
  return Rg(I) || Lg(I);
4535
4535
  }
4536
4536
  function dA(I) {
@@ -4566,9 +4566,9 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4566
4566
  forceIframe: { type: Boolean, default: !1 }
4567
4567
  },
4568
4568
  setup(I) {
4569
- const g = I, C = t(!1), Z = t(!1), A = t(null), d = t(1), l = t(0), c = t(1.2), G = t(null), b = jC(null), i = jC(null), w = u(() => C.value && !g.forceIframe), s = u(
4569
+ const g = I, C = t(!1), Z = t(!1), A = t(null), d = t(1), l = t(0), c = t(1.2), G = t(null), b = jC(null), i = jC(null), w = n(() => C.value && !g.forceIframe), s = n(
4570
4570
  () => w.value ? Z.value : g.loading
4571
- ), a = u(
4571
+ ), R = n(
4572
4572
  () => w.value ? A.value : g.error
4573
4573
  );
4574
4574
  async function V(e) {
@@ -4667,7 +4667,7 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4667
4667
  }, "+", 8, DW)
4668
4668
  ])
4669
4669
  ]),
4670
- s.value ? (m(), W("div", FW, "加载中...")) : a.value ? (m(), W("div", pW, h(a.value), 1)) : (m(), W("div", {
4670
+ s.value ? (m(), W("div", FW, "加载中...")) : R.value ? (m(), W("div", pW, h(R.value), 1)) : (m(), W("div", {
4671
4671
  key: 2,
4672
4672
  class: "apf-pdf-preview__canvas-wrap",
4673
4673
  style: dI({ minHeight: I.minHeight })
@@ -4679,7 +4679,7 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4679
4679
  }, null, 8, JW)
4680
4680
  ], 4))
4681
4681
  ], 64)) : (m(), W(Q, { key: 1 }, [
4682
- s.value ? (m(), W("div", zW, "加载中...")) : a.value ? (m(), W("div", kW, h(a.value), 1)) : I.url ? CI(e.$slots, "default", { url: I.url }, () => [
4682
+ s.value ? (m(), W("div", zW, "加载中...")) : R.value ? (m(), W("div", kW, h(R.value), 1)) : I.url ? CI(e.$slots, "default", { url: I.url }, () => [
4683
4683
  Y("iframe", {
4684
4684
  class: "apf-pdf-preview__frame",
4685
4685
  src: I.url,
@@ -4725,12 +4725,12 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4725
4725
  emits: ["update:modelValue"],
4726
4726
  setup(I, { emit: g }) {
4727
4727
  const C = I, Z = g, A = t(!1), d = t(null), l = t([]), c = t([]), G = t([]), b = t(0), i = t(""), w = t(!1);
4728
- let s = null, a = null;
4728
+ let s = null, R = null;
4729
4729
  function V(J) {
4730
- if (!s || !a) return;
4730
+ if (!s || !R) return;
4731
4731
  const H = s.Sheets[J];
4732
4732
  if (!H) return;
4733
- const z = a.sheet_to_json(H, {
4733
+ const z = R.sheet_to_json(H, {
4734
4734
  header: 1,
4735
4735
  defval: ""
4736
4736
  });
@@ -4748,7 +4748,7 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4748
4748
  }
4749
4749
  A.value = !0, d.value = null;
4750
4750
  try {
4751
- s = H.read(J, { type: "array" }), a = H.utils, l.value = s.SheetNames, w.value = !0, s.SheetNames.length && (i.value = s.SheetNames[0], Z("update:modelValue", i.value), V(i.value));
4751
+ s = H.read(J, { type: "array" }), R = H.utils, l.value = s.SheetNames, w.value = !0, s.SheetNames.length && (i.value = s.SheetNames[0], Z("update:modelValue", i.value), V(i.value));
4752
4752
  } catch (z) {
4753
4753
  w.value = !1, d.value = z instanceof Error ? z.message : "Excel 解析失败";
4754
4754
  } finally {
@@ -4780,17 +4780,17 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4780
4780
  function o(J) {
4781
4781
  Z("update:modelValue", J), w.value && (i.value = J, V(J));
4782
4782
  }
4783
- const S = u(
4783
+ const S = n(
4784
4784
  () => w.value ? l.value : C.sheetNames
4785
- ), k = u(
4785
+ ), k = n(
4786
4786
  () => w.value ? i.value : C.modelValue
4787
- ), L = u(
4787
+ ), L = n(
4788
4788
  () => w.value ? c.value : C.headers
4789
- ), K = u(() => w.value ? G.value : C.rows), e = u(
4789
+ ), K = n(() => w.value ? G.value : C.rows), e = n(
4790
4790
  () => w.value ? b.value : C.totalRows
4791
- ), y = u(
4791
+ ), y = n(
4792
4792
  () => w.value || C.src || C.arrayBuffer ? A.value : C.loading
4793
- ), p = u(
4793
+ ), p = n(
4794
4794
  () => w.value || C.src || C.arrayBuffer ? d.value : C.error
4795
4795
  );
4796
4796
  return (J, H) => (m(), W("div", TW, [
@@ -4799,15 +4799,15 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4799
4799
  (m(!0), W(Q, null, q(S.value, (z) => (m(), W("button", {
4800
4800
  key: z,
4801
4801
  type: "button",
4802
- class: n(["apf-excel-preview__tab", { "apf-excel-preview__tab--active": k.value === z }]),
4802
+ class: u(["apf-excel-preview__tab", { "apf-excel-preview__tab--active": k.value === z }]),
4803
4803
  onClick: (D) => o(z)
4804
4804
  }, h(z), 11, QW))), 128))
4805
4805
  ]),
4806
4806
  e.value > 0 ? (m(), W("div", UW, [
4807
4807
  gI(h(e.value) + " 行 ", 1),
4808
- e.value > I.maxPreviewRows ? (m(), W("span", vW, "(显示前 " + h(I.maxPreviewRows) + " 行)", 1)) : R("", !0)
4809
- ])) : R("", !0)
4810
- ])) : R("", !0),
4808
+ e.value > I.maxPreviewRows ? (m(), W("span", vW, "(显示前 " + h(I.maxPreviewRows) + " 行)", 1)) : a("", !0)
4809
+ ])) : a("", !0)
4810
+ ])) : a("", !0),
4811
4811
  y.value ? (m(), W("div", OW, "加载中...")) : p.value ? (m(), W("div", EW, h(p.value), 1)) : L.value.length ? (m(), W("div", PW, [
4812
4812
  Y("table", rW, [
4813
4813
  Y("thead", null, [
@@ -4860,30 +4860,30 @@ const RW = { class: "apf-pdf-preview" }, HW = { class: "apf-pdf-preview__toolbar
4860
4860
  },
4861
4861
  emits: ["download", "close"],
4862
4862
  setup(I, { emit: g }) {
4863
- const C = I, Z = g, A = u(() => {
4863
+ const C = I, Z = g, A = n(() => {
4864
4864
  const w = (C.mimetype || "").toLowerCase(), s = C.filename.toLowerCase();
4865
4865
  return w.includes("pdf") || s.endsWith(".pdf") || !!C.pdfUrl;
4866
- }), d = u(() => {
4866
+ }), d = n(() => {
4867
4867
  const w = (C.mimetype || "").toLowerCase(), s = C.filename.toLowerCase();
4868
4868
  return !!C.excelUrl || w.includes("sheet") || w.includes("excel") || s.endsWith(".xls") || s.endsWith(".xlsx");
4869
- }), l = u(() => {
4869
+ }), l = n(() => {
4870
4870
  var s;
4871
4871
  const w = [];
4872
4872
  return C.mimetype && w.push(C.mimetype), C.size != null && w.push(GA(C.size) || `${C.size} bytes`), (s = C.chunks) != null && s.length && w.push(`${C.chunks.length} 块`), C.extractionMethod && w.push(C.extractionMethod), w.join(" · ");
4873
- }), c = u(() => {
4873
+ }), c = n(() => {
4874
4874
  var w;
4875
- return (w = C.chunks) != null && w.length ? C.chunks.map((s, a) => `${s.index != null ? `[${s.index}]` : `[${a + 1}]`}
4875
+ return (w = C.chunks) != null && w.length ? C.chunks.map((s, R) => `${s.index != null ? `[${s.index}]` : `[${R + 1}]`}
4876
4876
  ${s.text}`).join(`
4877
4877
 
4878
4878
  `) : "";
4879
- }), G = u(() => !!C.pdfUrl && A.value), b = u(() => !!C.excelUrl && d.value && !G.value), i = u(() => !G.value && !b.value);
4879
+ }), G = n(() => !!C.pdfUrl && A.value), b = n(() => !!C.excelUrl && d.value && !G.value), i = n(() => !G.value && !b.value);
4880
4880
  return (w, s) => {
4881
- const a = _("el-button"), V = _("el-scrollbar");
4881
+ const R = _("el-button"), V = _("el-scrollbar");
4882
4882
  return m(), W("div", IB, [
4883
4883
  I.loading ? (m(), W("div", gB, "加载中...")) : I.error ? (m(), W("div", CB, h(I.error), 1)) : (m(), W(Q, { key: 2 }, [
4884
- l.value ? (m(), W("div", AB, h(l.value), 1)) : R("", !0),
4884
+ l.value ? (m(), W("div", AB, h(l.value), 1)) : a("", !0),
4885
4885
  I.hasOriginalFile ? (m(), W("div", ZB, [
4886
- II(a, {
4886
+ II(R, {
4887
4887
  size: "small",
4888
4888
  type: "primary",
4889
4889
  plain: "",
@@ -4894,7 +4894,7 @@ ${s.text}`).join(`
4894
4894
  ])]),
4895
4895
  _: 1
4896
4896
  })
4897
- ])) : R("", !0),
4897
+ ])) : a("", !0),
4898
4898
  G.value ? (m(), W("div", lB, [
4899
4899
  CI(w.$slots, "pdf", { url: I.pdfUrl }, () => [
4900
4900
  II(cl, {
@@ -4907,7 +4907,7 @@ ${s.text}`).join(`
4907
4907
  CI(w.$slots, "excel", { url: I.excelUrl }, () => [
4908
4908
  II($W, { src: I.excelUrl }, null, 8, ["src"])
4909
4909
  ], !0)
4910
- ])) : i.value ? (m(), x(V, {
4910
+ ])) : i.value ? (m(), T(V, {
4911
4911
  key: 4,
4912
4912
  class: "apf-doc-preview__scroll"
4913
4913
  }, {
@@ -4915,12 +4915,12 @@ ${s.text}`).join(`
4915
4915
  Y("pre", GB, h(c.value || "暂无预览内容"), 1)
4916
4916
  ]),
4917
4917
  _: 1
4918
- })) : R("", !0)
4918
+ })) : a("", !0)
4919
4919
  ], 64))
4920
4920
  ]);
4921
4921
  };
4922
4922
  }
4923
- }), bB = /* @__PURE__ */ U(cB, [["__scopeId", "data-v-83366d94"]]), cN = /* @__PURE__ */ j({
4923
+ }), bB = /* @__PURE__ */ U(cB, [["__scopeId", "data-v-83366d94"]]), YN = /* @__PURE__ */ j({
4924
4924
  __name: "DocumentPreviewDrawer",
4925
4925
  props: {
4926
4926
  modelValue: { type: Boolean },
@@ -4944,7 +4944,7 @@ ${s.text}`).join(`
4944
4944
  }
4945
4945
  return (A, d) => {
4946
4946
  const l = _("el-drawer");
4947
- return m(), x(l, {
4947
+ return m(), T(l, {
4948
4948
  "model-value": I.modelValue,
4949
4949
  title: I.filename || "文档预览",
4950
4950
  size: I.sizeDrawer,
@@ -4996,7 +4996,7 @@ ${s.text}`).join(`
4996
4996
  alt: { default: "预览图" }
4997
4997
  },
4998
4998
  setup(I) {
4999
- const g = I, C = t(!1), Z = t(0), A = u(() => {
4999
+ const g = I, C = t(!1), Z = t(0), A = n(() => {
5000
5000
  var l;
5001
5001
  return (l = g.urls) != null && l.length ? g.urls.filter(Boolean) : g.url ? [g.url] : [];
5002
5002
  });
@@ -5005,7 +5005,7 @@ ${s.text}`).join(`
5005
5005
  }
5006
5006
  return (l, c) => A.value.length ? (m(), W("div", {
5007
5007
  key: 0,
5008
- class: n(["apf-image-preview", `apf-image-preview--${I.size}`])
5008
+ class: u(["apf-image-preview", `apf-image-preview--${I.size}`])
5009
5009
  }, [
5010
5010
  (m(!0), W(Q, null, q(A.value, (G, b) => (m(), W("button", {
5011
5011
  key: `${G}-${b}`,
@@ -5019,14 +5019,14 @@ ${s.text}`).join(`
5019
5019
  loading: "lazy"
5020
5020
  }, null, 8, iB)
5021
5021
  ], 8, mB))), 128)),
5022
- C.value && A.value.length ? (m(), x($(Ad), {
5022
+ C.value && A.value.length ? (m(), T($(Ad), {
5023
5023
  key: 0,
5024
5024
  "url-list": A.value,
5025
5025
  "initial-index": Z.value,
5026
5026
  teleported: "",
5027
5027
  onClose: c[0] || (c[0] = (G) => C.value = !1)
5028
- }, null, 8, ["url-list", "initial-index"])) : R("", !0)
5029
- ], 2)) : R("", !0);
5028
+ }, null, 8, ["url-list", "initial-index"])) : a("", !0)
5029
+ ], 2)) : a("", !0);
5030
5030
  }
5031
5031
  }), BB = /* @__PURE__ */ U(WB, [["__scopeId", "data-v-40f66176"]]), YB = ["src"], sB = /* @__PURE__ */ j({
5032
5032
  __name: "VideoPreviewCard",
@@ -5036,7 +5036,7 @@ ${s.text}`).join(`
5036
5036
  },
5037
5037
  setup(I) {
5038
5038
  return (g, C) => (m(), W("video", {
5039
- class: n(["apf-video-preview", `apf-video-preview--${I.size}`]),
5039
+ class: u(["apf-video-preview", `apf-video-preview--${I.size}`]),
5040
5040
  src: I.url,
5041
5041
  controls: "",
5042
5042
  preload: "metadata",
@@ -5089,7 +5089,7 @@ const NB = {
5089
5089
  maxHeight: { default: "240px" }
5090
5090
  },
5091
5091
  setup(I) {
5092
- const g = I, { copy: C } = VB(), Z = u(() => g.text.replace(/\s+/g, " ").trim().slice(0, 64));
5092
+ const g = I, { copy: C } = VB(), Z = n(() => g.text.replace(/\s+/g, " ").trim().slice(0, 64));
5093
5093
  async function A() {
5094
5094
  await C(g.text);
5095
5095
  }
@@ -5115,17 +5115,17 @@ const NB = {
5115
5115
  },
5116
5116
  emits: ["preview"],
5117
5117
  setup(I, { emit: g }) {
5118
- const C = I, Z = g, A = u(() => C.item.kind === "pdf" ? "PDF" : C.item.kind === "office" ? dA({
5118
+ const C = I, Z = g, A = n(() => C.item.kind === "pdf" ? "PDF" : C.item.kind === "office" ? dA({
5119
5119
  id: C.item.id,
5120
5120
  filename: C.item.filename || C.item.label || "file",
5121
5121
  mimetype: C.item.mimetype || ""
5122
- }) : "文件"), d = u(() => C.item.filename || C.item.label || A.value);
5122
+ }) : "文件"), d = n(() => C.item.filename || C.item.label || A.value);
5123
5123
  return (l, c) => (m(), W("button", {
5124
5124
  type: "button",
5125
5125
  class: "apf-file-chip",
5126
5126
  onClick: c[0] || (c[0] = UI((G) => Z("preview", I.item), ["stop"]))
5127
5127
  }, [
5128
- II($(RI), {
5128
+ II($(XI), {
5129
5129
  name: "document",
5130
5130
  size: 14
5131
5131
  }),
@@ -5154,22 +5154,22 @@ const NB = {
5154
5154
  },
5155
5155
  emits: ["preview"],
5156
5156
  setup(I, { emit: g }) {
5157
- const C = I, Z = g, A = t(!1), d = t(null), l = u(() => C.items.slice(0, C.max)), c = u(
5157
+ const C = I, Z = g, A = t(!1), d = t(null), l = n(() => C.items.slice(0, C.max)), c = n(
5158
5158
  () => l.value.filter((X) => X.kind === "image" && X.url).map((X) => X.url)
5159
- ), G = u(() => l.value.filter((X) => X.kind === "video" && X.url)), b = u(() => l.value.filter((X) => {
5159
+ ), G = n(() => l.value.filter((X) => X.kind === "video" && X.url)), b = n(() => l.value.filter((X) => {
5160
5160
  var o;
5161
5161
  return X.kind === "json" && ((o = X.text) == null ? void 0 : o.trim());
5162
- })), i = u(() => l.value.filter((X) => {
5162
+ })), i = n(() => l.value.filter((X) => {
5163
5163
  var o;
5164
5164
  return X.kind === "text" && ((o = X.text) == null ? void 0 : o.trim());
5165
- })), w = u(
5165
+ })), w = n(
5166
5166
  () => l.value.filter(
5167
5167
  (X) => X.kind === "pdf" || X.kind === "office" || X.kind === "file" || X.kind === "image" && !X.url && X.documentId
5168
5168
  )
5169
- ), s = u(
5169
+ ), s = n(
5170
5170
  () => c.value.length > 0 || G.value.length > 0 || b.value.length > 0 || i.value.length > 0 || w.value.length > 0
5171
5171
  );
5172
- function a(X) {
5172
+ function R(X) {
5173
5173
  Z("preview", X);
5174
5174
  }
5175
5175
  function V(X) {
@@ -5179,50 +5179,50 @@ const NB = {
5179
5179
  var S, k;
5180
5180
  return s.value ? (m(), W("div", {
5181
5181
  key: 0,
5182
- class: n(["apf-artifact-gallery", `apf-artifact-gallery--${I.size}`])
5182
+ class: u(["apf-artifact-gallery", `apf-artifact-gallery--${I.size}`])
5183
5183
  }, [
5184
- c.value.length ? (m(), x(BB, {
5184
+ c.value.length ? (m(), T(BB, {
5185
5185
  key: 0,
5186
5186
  urls: c.value,
5187
5187
  size: I.size
5188
- }, null, 8, ["urls", "size"])) : R("", !0),
5188
+ }, null, 8, ["urls", "size"])) : a("", !0),
5189
5189
  G.value.length ? (m(), W("div", MB, [
5190
- (m(!0), W(Q, null, q(G.value, (L) => (m(), x(wB, {
5190
+ (m(!0), W(Q, null, q(G.value, (L) => (m(), T(wB, {
5191
5191
  key: L.id,
5192
5192
  url: L.url,
5193
5193
  size: I.size
5194
5194
  }, null, 8, ["url", "size"]))), 128))
5195
- ])) : R("", !0),
5195
+ ])) : a("", !0),
5196
5196
  b.value.length ? (m(), W("div", KB, [
5197
- (m(!0), W(Q, null, q(b.value, (L) => (m(), x($(VW), {
5197
+ (m(!0), W(Q, null, q(b.value, (L) => (m(), T($(VW), {
5198
5198
  key: L.id,
5199
5199
  title: L.label || "JSON 输出",
5200
5200
  content: L.text,
5201
5201
  onOpenDetail: (K) => V(L)
5202
5202
  }, null, 8, ["title", "content", "onOpenDetail"]))), 128))
5203
- ])) : R("", !0),
5203
+ ])) : a("", !0),
5204
5204
  w.value.length ? (m(), W("div", SB, [
5205
- (m(!0), W(Q, null, q(w.value, (L) => (m(), x(nB, {
5205
+ (m(!0), W(Q, null, q(w.value, (L) => (m(), T(nB, {
5206
5206
  key: L.id,
5207
5207
  item: L,
5208
- onPreview: a
5208
+ onPreview: R
5209
5209
  }, null, 8, ["item"]))), 128))
5210
- ])) : R("", !0),
5210
+ ])) : a("", !0),
5211
5211
  i.value.length ? (m(), W("div", DB, [
5212
- (m(!0), W(Q, null, q(i.value, (L) => (m(), x(RB, {
5212
+ (m(!0), W(Q, null, q(i.value, (L) => (m(), T(RB, {
5213
5213
  key: L.id,
5214
5214
  text: L.text,
5215
5215
  label: L.label,
5216
5216
  size: I.size
5217
5217
  }, null, 8, ["text", "label", "size"]))), 128))
5218
- ])) : R("", !0),
5218
+ ])) : a("", !0),
5219
5219
  II($(oW), {
5220
5220
  modelValue: A.value,
5221
5221
  "onUpdate:modelValue": o[0] || (o[0] = (L) => A.value = L),
5222
5222
  title: ((S = d.value) == null ? void 0 : S.label) || "JSON 详情",
5223
5223
  content: (k = d.value) == null ? void 0 : k.text
5224
5224
  }, null, 8, ["modelValue", "title", "content"])
5225
- ], 2)) : R("", !0);
5225
+ ], 2)) : a("", !0);
5226
5226
  };
5227
5227
  }
5228
5228
  }), cA = /* @__PURE__ */ U(FB, [["__scopeId", "data-v-9949695b"]]), pB = /* @__PURE__ */ j({
@@ -5234,7 +5234,7 @@ const NB = {
5234
5234
  emits: ["preview"],
5235
5235
  setup(I, { emit: g }) {
5236
5236
  const C = g;
5237
- return (Z, A) => (m(), x(cA, {
5237
+ return (Z, A) => (m(), T(cA, {
5238
5238
  class: "apf-node-artifact-strip",
5239
5239
  items: I.items,
5240
5240
  size: "compact",
@@ -5242,7 +5242,7 @@ const NB = {
5242
5242
  onPreview: A[0] || (A[0] = (d) => C("preview", d))
5243
5243
  }, null, 8, ["items", "max"]));
5244
5244
  }
5245
- }), bN = /* @__PURE__ */ U(pB, [["__scopeId", "data-v-27af4171"]]), JB = {
5245
+ }), sN = /* @__PURE__ */ U(pB, [["__scopeId", "data-v-27af4171"]]), JB = {
5246
5246
  key: 0,
5247
5247
  class: "apf-hitl-artifact-panel"
5248
5248
  }, zB = {
@@ -5259,16 +5259,16 @@ const NB = {
5259
5259
  setup(I, { emit: g }) {
5260
5260
  const C = g;
5261
5261
  return (Z, A) => I.items.length ? (m(), W("section", JB, [
5262
- I.title ? (m(), W("header", zB, h(I.title), 1)) : R("", !0),
5262
+ I.title ? (m(), W("header", zB, h(I.title), 1)) : a("", !0),
5263
5263
  II(cA, {
5264
5264
  items: I.items,
5265
5265
  size: "default",
5266
5266
  max: I.max,
5267
5267
  onPreview: A[0] || (A[0] = (d) => C("preview", d))
5268
5268
  }, null, 8, ["items", "max"])
5269
- ])) : R("", !0);
5269
+ ])) : a("", !0);
5270
5270
  }
5271
- }), mN = /* @__PURE__ */ U(kB, [["__scopeId", "data-v-8c940624"]]), eB = { class: "apf-execution-artifact-panel" }, LB = { class: "apf-execution-artifact-panel__head" }, tB = { class: "apf-execution-artifact-panel__title-row" }, TB = { class: "apf-execution-artifact-panel__title" }, xB = {
5271
+ }), wN = /* @__PURE__ */ U(kB, [["__scopeId", "data-v-8c940624"]]), eB = { class: "apf-execution-artifact-panel" }, LB = { class: "apf-execution-artifact-panel__head" }, tB = { class: "apf-execution-artifact-panel__title-row" }, TB = { class: "apf-execution-artifact-panel__title" }, xB = {
5272
5272
  key: 0,
5273
5273
  class: "apf-execution-artifact-panel__count"
5274
5274
  }, jB = {
@@ -5303,10 +5303,10 @@ const NB = {
5303
5303
  (o) => d.includes(o.kind) || o.kind === "image" && !o.url && !!o.documentId
5304
5304
  ) : X === "image" ? V.filter((o) => o.kind === "image" && !!o.url) : V.filter((o) => l(o.kind, X));
5305
5305
  }
5306
- const G = u(() => {
5306
+ const G = n(() => {
5307
5307
  var V;
5308
5308
  return (V = C.groups) != null && V.length ? C.groups.flatMap((X) => X.items) : C.items ?? [];
5309
- }), b = u(() => {
5309
+ }), b = n(() => {
5310
5310
  const V = G.value;
5311
5311
  return {
5312
5312
  all: V.length,
@@ -5324,7 +5324,7 @@ const NB = {
5324
5324
  (X) => d.includes(X.kind) || X.kind === "image" && !X.url && !!X.documentId
5325
5325
  ).length
5326
5326
  };
5327
- }), i = u(() => {
5327
+ }), i = n(() => {
5328
5328
  const V = b.value;
5329
5329
  return [
5330
5330
  { value: "all", label: "全部", count: V.all },
@@ -5334,7 +5334,7 @@ const NB = {
5334
5334
  { value: "json", label: "JSON", count: V.json },
5335
5335
  { value: "file", label: "文件", count: V.file }
5336
5336
  ].filter((X) => X.value === "all" || X.count > 0);
5337
- }), w = u(() => {
5337
+ }), w = n(() => {
5338
5338
  var X;
5339
5339
  if ((X = C.groups) != null && X.length)
5340
5340
  return C.groups.map((o) => ({
@@ -5343,28 +5343,28 @@ const NB = {
5343
5343
  })).filter((o) => o.items.length > 0);
5344
5344
  const V = c(C.items ?? []);
5345
5345
  return V.length ? [{ key: "_all", label: "", items: V }] : [];
5346
- }), s = u(() => G.value.length > 0), a = u(() => w.value.some((V) => V.items.length > 0));
5346
+ }), s = n(() => G.value.length > 0), R = n(() => w.value.some((V) => V.items.length > 0));
5347
5347
  return (V, X) => (m(), W("section", eB, [
5348
5348
  Y("header", LB, [
5349
5349
  Y("div", tB, [
5350
5350
  Y("h3", TB, h(I.title), 1),
5351
- s.value ? (m(), W("span", xB, h(b.value.all) + " 项 ", 1)) : R("", !0)
5351
+ s.value ? (m(), W("span", xB, h(b.value.all) + " 项 ", 1)) : a("", !0)
5352
5352
  ]),
5353
5353
  I.showFilters && s.value && i.value.length > 1 ? (m(), W("div", jB, [
5354
5354
  (m(!0), W(Q, null, q(i.value, (o) => (m(), W("button", {
5355
5355
  key: o.value,
5356
5356
  type: "button",
5357
5357
  role: "tab",
5358
- class: n(["apf-execution-artifact-panel__chip", { "is-active": A.value === o.value }]),
5358
+ class: u(["apf-execution-artifact-panel__chip", { "is-active": A.value === o.value }]),
5359
5359
  "aria-selected": A.value === o.value,
5360
5360
  onClick: (S) => A.value = o.value
5361
5361
  }, [
5362
5362
  gI(h(o.label) + " ", 1),
5363
5363
  Y("em", null, h(o.count), 1)
5364
5364
  ], 10, QB))), 128))
5365
- ])) : R("", !0)
5365
+ ])) : a("", !0)
5366
5366
  ]),
5367
- s.value ? a.value ? (m(), W("div", UB, [
5367
+ s.value ? R.value ? (m(), W("div", UB, [
5368
5368
  (m(!0), W(Q, null, q(w.value, (o) => (m(), W("div", {
5369
5369
  key: o.key,
5370
5370
  class: "apf-execution-artifact-panel__group"
@@ -5372,7 +5372,7 @@ const NB = {
5372
5372
  o.label ? (m(), W("div", vB, [
5373
5373
  gI(h(o.label) + " ", 1),
5374
5374
  Y("em", null, h(o.items.length), 1)
5375
- ])) : R("", !0),
5375
+ ])) : a("", !0),
5376
5376
  II(cA, {
5377
5377
  items: o.items,
5378
5378
  size: "default",
@@ -5380,13 +5380,13 @@ const NB = {
5380
5380
  onPreview: X[0] || (X[0] = (S) => Z("preview", S))
5381
5381
  }, null, 8, ["items", "max"])
5382
5382
  ]))), 128))
5383
- ])) : (m(), x(cg, {
5383
+ ])) : (m(), T(cg, {
5384
5384
  key: 1,
5385
5385
  compact: "",
5386
5386
  icon: "search",
5387
5387
  title: "无匹配产物",
5388
5388
  description: "换一个类型筛选试试。"
5389
- })) : (m(), x(cg, {
5389
+ })) : (m(), T(cg, {
5390
5390
  key: 0,
5391
5391
  compact: "",
5392
5392
  icon: "folder",
@@ -5395,7 +5395,7 @@ const NB = {
5395
5395
  }))
5396
5396
  ]));
5397
5397
  }
5398
- }), iN = /* @__PURE__ */ U(OB, [["__scopeId", "data-v-704305fc"]]);
5398
+ }), VN = /* @__PURE__ */ U(OB, [["__scopeId", "data-v-704305fc"]]);
5399
5399
  function bA() {
5400
5400
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
5401
5401
  }
@@ -5414,7 +5414,7 @@ function Ng(I) {
5414
5414
  function AI(I, g = "") {
5415
5415
  let C = typeof I == "string" ? I : I.source, Z = { replace: (A, d) => {
5416
5416
  let l = typeof d == "string" ? d : d.source;
5417
- return l = l.replace(aI.caret, "$1"), C = C.replace(A, l), Z;
5417
+ return l = l.replace(RI.caret, "$1"), C = C.replace(A, l), Z;
5418
5418
  }, getRegex: () => new RegExp(C, g) };
5419
5419
  return Z;
5420
5420
  }
@@ -5424,17 +5424,17 @@ var EB = ((I = "") => {
5424
5424
  } catch {
5425
5425
  return !1;
5426
5426
  }
5427
- })(), aI = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (I) => new RegExp(`^( {0,3}${I})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: Ng((I) => new RegExp(`^ {0,${I}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)), hrRegex: Ng((I) => new RegExp(`^ {0,${I}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)), fencesBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}(?:\`\`\`|~~~)`)), headingBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}#`)), htmlBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}<(?:[a-z].*>|!--)`, "i")), blockquoteBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}>`)) }, PB = /^(?:[ \t]*(?:\n|$))+/, rB = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, fB = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Tg = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, qB = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, mA = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ml = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, il = AI(ml).replace(/bull/g, mA).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), _B = AI(ml).replace(/bull/g, mA).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), iA = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/, $B = /^[^\n]+/, WA = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, IY = AI(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", WA).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), gY = AI(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, mA).getRegex(), YC = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", BA = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, CY = AI("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", BA).replace("tag", YC).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Wl = (I) => AI(iA).replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", I).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex(), AY = Wl(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), ZY = Wl(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/), lY = AI(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ZY).getRegex(), YA = { blockquote: lY, code: rB, def: IY, fences: fB, heading: qB, hr: Tg, html: CY, lheading: il, list: gY, newline: PB, paragraph: AY, table: dg, text: $B }, VZ = AI("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex(), dY = { ...YA, lheading: _B, table: VZ, paragraph: AI(iA).replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", VZ).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex() }, GY = { ...YA, html: AI(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", BA).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: dg, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: AI(iA).replace("hr", Tg).replace("heading", ` *#{1,6} *[^
5427
+ })(), RI = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (I) => new RegExp(`^( {0,3}${I})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: Ng((I) => new RegExp(`^ {0,${I}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)), hrRegex: Ng((I) => new RegExp(`^ {0,${I}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)), fencesBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}(?:\`\`\`|~~~)`)), headingBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}#`)), htmlBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}<(?:[a-z].*>|!--)`, "i")), blockquoteBeginRegex: Ng((I) => new RegExp(`^ {0,${I}}>`)) }, PB = /^(?:[ \t]*(?:\n|$))+/, rB = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, fB = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Tg = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, qB = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, mA = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ml = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, il = AI(ml).replace(/bull/g, mA).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), _B = AI(ml).replace(/bull/g, mA).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), iA = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/, $B = /^[^\n]+/, WA = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, IY = AI(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", WA).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), gY = AI(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, mA).getRegex(), YC = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", BA = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, CY = AI("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", BA).replace("tag", YC).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Wl = (I) => AI(iA).replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", I).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex(), AY = Wl(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), ZY = Wl(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/), lY = AI(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ZY).getRegex(), YA = { blockquote: lY, code: rB, def: IY, fences: fB, heading: qB, hr: Tg, html: CY, lheading: il, list: gY, newline: PB, paragraph: AY, table: dg, text: $B }, VZ = AI("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex(), dY = { ...YA, lheading: _B, table: VZ, paragraph: AI(iA).replace("hr", Tg).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", VZ).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", YC).getRegex() }, GY = { ...YA, html: AI(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", BA).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: dg, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: AI(iA).replace("hr", Tg).replace("heading", ` *#{1,6} *[^
5428
5428
  ]`).replace("lheading", il).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, cY = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, bY = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Bl = /^( {2,}|\\)\n(?!\s*$)/, mY = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, vI = /[\p{P}\p{S}]/u, Hg = /[\s\p{P}\p{S}]/u, xg = /[^\s\p{P}\p{S}]/u, iY = AI(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Hg).getRegex(), WY = /[\p{Pi}\p{Ps}"']/u, Yl = /(?!~)[\p{P}\p{S}]/u, BY = /(?!~)[\s\p{P}\p{S}]/u, YY = /(?:[^\s\p{P}\p{S}]|~)/u, sY = AI(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", EB ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), sl = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, wY = AI(sl, "u").replace(/punct/g, vI).getRegex(), VY = AI(sl, "u").replace(/punct/g, Yl).getRegex(), NY = /^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/, XY = AI(NY, "u").replace(/openQuote/g, WY).replace(/punct/g, vI).getRegex(), wl = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", oY = AI(wl, "gu").replace(/notPunctSpace/g, xg).replace(/punctSpace/g, Hg).replace(/punct/g, vI).getRegex(), hY = AI(wl, "gu").replace(/notPunctSpace/g, YY).replace(/punctSpace/g, BY).replace(/punct/g, Yl).getRegex(), aY = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)", RY = AI(aY, "gu").replace(/notPunctSpace/g, xg).replace(/punctSpace/g, Hg).replace(/punct/g, vI).getRegex(), HY = AI("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, xg).replace(/punctSpace/g, Hg).replace(/punct/g, vI).getRegex(), yY = "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)", uY = AI(yY, "gu").replace(/notPunctSpace/g, xg).replace(/punctSpace/g, Hg).replace(/punct/g, vI).getRegex(), nY = AI(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, vI).getRegex(), MY = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", KY = AI(MY, "gu").replace(/notPunctSpace/g, xg).replace(/punctSpace/g, Hg).replace(/punct/g, vI).getRegex(), SY = AI(/\\(punct)/, "gu").replace(/punct/g, vI).getRegex(), DY = AI(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), FY = AI(BA).replace("(?:-->|$)", "-->").getRegex(), pY = AI("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", FY).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bC = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, JY = AI(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", bC).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Vl = AI(/^!?\[(label)\]\[(ref)\]/).replace("label", bC).replace("ref", WA).getRegex(), Nl = AI(/^!?\[(ref)\](?:\[\])?/).replace("ref", WA).getRegex(), zY = AI("reflink|nolink(?!\\()", "g").replace("reflink", Vl).replace("nolink", Nl).getRegex(), NZ = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, sA = { _backpedal: dg, anyPunctuation: SY, autolink: DY, blockSkip: sY, br: Bl, code: bY, del: dg, delLDelim: dg, delRDelim: dg, emStrongLDelim: wY, emStrongRDelimAst: oY, emStrongRDelimUnd: HY, escape: cY, link: JY, nolink: Nl, punctuation: iY, reflink: Vl, reflinkSearch: zY, tag: pY, text: mY, url: dg }, kY = { ...sA, emStrongLDelim: XY, emStrongRDelimAst: RY, emStrongRDelimUnd: uY, link: AI(/^!?\[(label)\]\((.*?)\)/).replace("label", bC).getRegex(), reflink: AI(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", bC).getRegex() }, rC = { ...sA, emStrongRDelimAst: hY, emStrongLDelim: VY, delLDelim: nY, delRDelim: KY, url: AI(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", NZ).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: AI(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", NZ).getRegex() }, eY = { ...rC, br: AI(Bl).replace("{2,}", "*").getRegex(), text: AI(rC.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, gC = { normal: YA, gfm: dY, pedantic: GY }, Sg = { normal: sA, gfm: rC, breaks: eY, pedantic: kY }, LY = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, XZ = (I) => LY[I];
5429
5429
  function jI(I, g) {
5430
5430
  if (g) {
5431
- if (aI.escapeTest.test(I)) return I.replace(aI.escapeReplace, XZ);
5432
- } else if (aI.escapeTestNoEncode.test(I)) return I.replace(aI.escapeReplaceNoEncode, XZ);
5431
+ if (RI.escapeTest.test(I)) return I.replace(RI.escapeReplace, XZ);
5432
+ } else if (RI.escapeTestNoEncode.test(I)) return I.replace(RI.escapeReplaceNoEncode, XZ);
5433
5433
  return I;
5434
5434
  }
5435
5435
  function oZ(I) {
5436
5436
  try {
5437
- I = encodeURI(I).replace(aI.percentDecode, "%");
5437
+ I = encodeURI(I).replace(RI.percentDecode, "%");
5438
5438
  } catch {
5439
5439
  return null;
5440
5440
  }
@@ -5442,14 +5442,14 @@ function oZ(I) {
5442
5442
  }
5443
5443
  function hZ(I, g) {
5444
5444
  var d;
5445
- let C = I.replace(aI.findPipe, (l, c, G) => {
5445
+ let C = I.replace(RI.findPipe, (l, c, G) => {
5446
5446
  let b = !1, i = c;
5447
5447
  for (; --i >= 0 && G[i] === "\\"; ) b = !b;
5448
5448
  return b ? "|" : " |";
5449
- }), Z = C.split(aI.splitPipe), A = 0;
5449
+ }), Z = C.split(RI.splitPipe), A = 0;
5450
5450
  if (Z[0].trim() || Z.shift(), Z.length > 0 && !((d = Z.at(-1)) != null && d.trim()) && Z.pop(), g) if (Z.length > g) Z.splice(g);
5451
5451
  else for (; Z.length < g; ) Z.push("");
5452
- for (; A < Z.length; A++) Z[A] = Z[A].trim().replace(aI.slashPipe, "|");
5452
+ for (; A < Z.length; A++) Z[A] = Z[A].trim().replace(RI.slashPipe, "|");
5453
5453
  return Z;
5454
5454
  }
5455
5455
  function fI(I, g, C) {
@@ -5463,7 +5463,7 @@ function fI(I, g, C) {
5463
5463
  function aZ(I) {
5464
5464
  let g = I.split(`
5465
5465
  `), C = g.length - 1;
5466
- for (; C >= 0 && aI.blankLine.test(g[C]); ) C--;
5466
+ for (; C >= 0 && RI.blankLine.test(g[C]); ) C--;
5467
5467
  return g.length - C <= 2 ? I : g.slice(0, C + 1).join(`
5468
5468
  `);
5469
5469
  }
@@ -5576,17 +5576,17 @@ ${i}` : i;
5576
5576
  let s = d.at(-1);
5577
5577
  if ((s == null ? void 0 : s.type) === "code") break;
5578
5578
  if ((s == null ? void 0 : s.type) === "blockquote") {
5579
- let a = s, V = C.join(`
5580
- `), X = a.raw + `
5579
+ let R = s, V = C.join(`
5580
+ `), X = R.raw + `
5581
5581
  ` + V.replace(this.rules.other.blockquoteSetextReplace2, ""), o = this.blockquote(X);
5582
5582
  d[d.length - 1] = o, Z = `${Z}
5583
- ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5583
+ ${V}`, A = A.substring(0, A.length - R.text.length) + o.text;
5584
5584
  break;
5585
5585
  } else if ((s == null ? void 0 : s.type) === "list") {
5586
- let a = s, V = a.raw + `
5586
+ let R = s, V = R.raw + `
5587
5587
  ` + C.join(`
5588
5588
  `), X = this.list(V);
5589
- d[d.length - 1] = X, Z = Z.substring(0, Z.length - s.raw.length) + X.raw, A = A.substring(0, A.length - a.raw.length) + X.raw, C = V.substring(d.at(-1).raw.length).split(`
5589
+ d[d.length - 1] = X, Z = Z.substring(0, Z.length - s.raw.length) + X.raw, A = A.substring(0, A.length - R.raw.length) + X.raw, C = V.substring(d.at(-1).raw.length).split(`
5590
5590
  `);
5591
5591
  continue;
5592
5592
  }
@@ -5606,8 +5606,8 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5606
5606
  b = g[0], I = I.substring(b.length);
5607
5607
  let w = TY(g[2].split(`
5608
5608
  `, 1)[0], g[1].length), s = I.split(`
5609
- `, 1)[0], a = !w.trim(), V = 0;
5610
- if (this.options.pedantic ? (V = 2, i = w.trimStart()) : a ? V = g[1].length + 1 : (V = w.search(this.rules.other.nonSpaceChar), V = V > 4 ? 1 : V, i = w.slice(V), V += g[1].length), a && this.rules.other.blankLine.test(s) && (b += s + `
5609
+ `, 1)[0], R = !w.trim(), V = 0;
5610
+ if (this.options.pedantic ? (V = 2, i = w.trimStart()) : R ? V = g[1].length + 1 : (V = w.search(this.rules.other.nonSpaceChar), V = V > 4 ? 1 : V, i = w.slice(V), V += g[1].length), R && this.rules.other.blankLine.test(s) && (b += s + `
5611
5611
  `, I = I.substring(s.length + 1), G = !0), !G) {
5612
5612
  let X = this.rules.other.nextBulletRegex(V), o = this.rules.other.hrRegex(V), S = this.rules.other.fencesBeginRegex(V), k = this.rules.other.headingBeginRegex(V), L = this.rules.other.htmlBeginRegex(V), K = this.rules.other.blockquoteBeginRegex(V);
5613
5613
  for (; I; ) {
@@ -5617,11 +5617,11 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5617
5617
  if (y.search(this.rules.other.nonSpaceChar) >= V || !s.trim()) i += `
5618
5618
  ` + y.slice(V);
5619
5619
  else {
5620
- if (a || w.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || S.test(w) || k.test(w) || o.test(w)) break;
5620
+ if (R || w.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || S.test(w) || k.test(w) || o.test(w)) break;
5621
5621
  i += `
5622
5622
  ` + s;
5623
5623
  }
5624
- a = !s.trim(), b += e + `
5624
+ R = !s.trim(), b += e + `
5625
5625
  `, I = I.substring(e.length + 1), w = y.slice(V);
5626
5626
  }
5627
5627
  }
@@ -5767,13 +5767,13 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5767
5767
  }
5768
5768
  if (c -= l, c > 0) continue;
5769
5769
  l = Math.min(l, l + c + G);
5770
- let s = [...Z[0]][0].length, a = I.slice(0, A + Z.index + s + l);
5770
+ let s = [...Z[0]][0].length, R = I.slice(0, A + Z.index + s + l);
5771
5771
  if (Math.min(A, l) % 2) {
5772
- let X = a.slice(1, -1);
5773
- return { type: "em", raw: a, text: X, tokens: this.lexer.inlineTokens(X) };
5772
+ let X = R.slice(1, -1);
5773
+ return { type: "em", raw: R, text: X, tokens: this.lexer.inlineTokens(X) };
5774
5774
  }
5775
- let V = a.slice(2, -2);
5776
- return { type: "strong", raw: a, text: V, tokens: this.lexer.inlineTokens(V) };
5775
+ let V = R.slice(2, -2);
5776
+ return { type: "strong", raw: R, text: V, tokens: this.lexer.inlineTokens(V) };
5777
5777
  }
5778
5778
  }
5779
5779
  }
@@ -5843,7 +5843,7 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5843
5843
  GI(this, "inlineQueue");
5844
5844
  GI(this, "tokenizer");
5845
5845
  this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = g || ig, this.options.tokenizer = this.options.tokenizer || new mC(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, linkEmitted: !1, top: !0 };
5846
- let C = { other: aI, block: gC.normal, inline: Sg.normal };
5846
+ let C = { other: RI, block: gC.normal, inline: Sg.normal };
5847
5847
  this.options.pedantic ? (C.block = gC.pedantic, C.inline = Sg.pedantic) : this.options.gfm && (C.block = gC.gfm, this.options.breaks ? C.inline = Sg.breaks : C.inline = Sg.gfm), this.tokenizer.rules = C;
5848
5848
  }
5849
5849
  static get rules() {
@@ -5856,7 +5856,7 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5856
5856
  return new fC(C).inlineTokens(g);
5857
5857
  }
5858
5858
  lex(g) {
5859
- g = g.replace(aI.carriageReturn, `
5859
+ g = g.replace(RI.carriageReturn, `
5860
5860
  `), this.blockTokens(g, this.tokens);
5861
5861
  for (let C = 0; C < this.inlineQueue.length; C++) {
5862
5862
  let Z = this.inlineQueue[C];
@@ -5866,7 +5866,7 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5866
5866
  }
5867
5867
  blockTokens(g, C = [], Z = !1) {
5868
5868
  var d, l, c;
5869
- this.tokenizer.lexer = this, this.options.pedantic && (g = g.replace(aI.tabCharGlobal, " ").replace(aI.spaceLine, ""));
5869
+ this.tokenizer.lexer = this, this.options.pedantic && (g = g.replace(RI.tabCharGlobal, " ").replace(RI.spaceLine, ""));
5870
5870
  let A = 1 / 0;
5871
5871
  for (; g; ) {
5872
5872
  if (g.length < A) A = g.length;
@@ -5936,8 +5936,8 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5936
5936
  let b = g;
5937
5937
  if ((c = this.options.extensions) != null && c.startBlock) {
5938
5938
  let i = 1 / 0, w = g.slice(1), s;
5939
- this.options.extensions.startBlock.forEach((a) => {
5940
- s = a.call({ lexer: this }, w), typeof s == "number" && s >= 0 && (i = Math.min(i, s));
5939
+ this.options.extensions.startBlock.forEach((R) => {
5940
+ s = R.call({ lexer: this }, w), typeof s == "number" && s >= 0 && (i = Math.min(i, s));
5941
5941
  }), i < 1 / 0 && i >= 0 && (b = g.substring(0, i + 1));
5942
5942
  }
5943
5943
  if (this.state.top && (G = this.tokenizer.paragraph(b))) {
@@ -5982,18 +5982,18 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
5982
5982
  this.tokenizer.lexer = this;
5983
5983
  let Z = g;
5984
5984
  if (this.tokens.links && g.includes("[")) {
5985
- let s = this.tokenizer.rules.inline.reflinkSearch, a = (V) => {
5985
+ let s = this.tokenizer.rules.inline.reflinkSearch, R = (V) => {
5986
5986
  let X = V.lastIndexOf("[");
5987
5987
  if (!Object.hasOwn(this.tokens.links, V.slice(X + 1, -1))) return V;
5988
5988
  if (X > 1 && V.charAt(0) !== "!") {
5989
5989
  let o = V.slice(1, X - 1);
5990
- if (this.linkInText(o)) return "[" + o.replace(s, a) + "][" + "a".repeat(V.length - X - 2) + "]";
5990
+ if (this.linkInText(o)) return "[" + o.replace(s, R) + "][" + "a".repeat(V.length - X - 2) + "]";
5991
5991
  }
5992
5992
  return "[" + "a".repeat(V.length - 2) + "]";
5993
5993
  };
5994
- Z = Z.replace(s, a);
5994
+ Z = Z.replace(s, R);
5995
5995
  }
5996
- Z = Z.replace(this.tokenizer.rules.inline.anyPunctuation, (s) => "+".repeat(s.length)), Z = Z.replace(this.tokenizer.rules.inline.blockSkip, (s, a, V) => {
5996
+ Z = Z.replace(this.tokenizer.rules.inline.anyPunctuation, (s) => "+".repeat(s.length)), Z = Z.replace(this.tokenizer.rules.inline.blockSkip, (s, R, V) => {
5997
5997
  let X = V ? V.length : 0;
5998
5998
  return s.slice(0, X) + "[" + "a".repeat(s.length - X - 2) + "]";
5999
5999
  }), Z = ((G = (c = this.options.hooks) == null ? void 0 : c.emStrongMask) == null ? void 0 : G.call({ lexer: this }, Z)) ?? Z;
@@ -6049,14 +6049,14 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
6049
6049
  g = g.substring(s.raw.length), C.push(s);
6050
6050
  continue;
6051
6051
  }
6052
- let a = g;
6052
+ let R = g;
6053
6053
  if ((w = this.options.extensions) != null && w.startInline) {
6054
6054
  let V = 1 / 0, X = g.slice(1), o;
6055
6055
  this.options.extensions.startInline.forEach((S) => {
6056
6056
  o = S.call({ lexer: this }, X), typeof o == "number" && o >= 0 && (V = Math.min(V, o));
6057
- }), V < 1 / 0 && V >= 0 && (a = g.substring(0, V + 1));
6057
+ }), V < 1 / 0 && V >= 0 && (R = g.substring(0, V + 1));
6058
6058
  }
6059
- if (s = this.tokenizer.inlineText(a)) {
6059
+ if (s = this.tokenizer.inlineText(R)) {
6060
6060
  g = g.substring(s.raw.length), s.raw.slice(-1) !== "_" && (d = s.raw.slice(-1)), A = !0;
6061
6061
  let V = C.at(-1);
6062
6062
  (V == null ? void 0 : V.type) === "text" ? (V.raw += s.raw, V.text += s.text) : C.push(s);
@@ -6085,7 +6085,7 @@ ${V}`, A = A.substring(0, A.length - a.text.length) + o.text;
6085
6085
  }
6086
6086
  code({ text: I, lang: g, escaped: C }) {
6087
6087
  var d;
6088
- let Z = (d = (g || "").match(aI.notSpaceStart)) == null ? void 0 : d[0], A = I.replace(aI.endingNewline, "") + `
6088
+ let Z = (d = (g || "").match(RI.notSpaceStart)) == null ? void 0 : d[0], A = I.replace(RI.endingNewline, "") + `
6089
6089
  `;
6090
6090
  return Z ? '<pre><code class="language-' + jI(Z) + '">' + (C ? A : jI(A, !0)) + `</code></pre>
6091
6091
  ` : "<pre><code>" + (C ? A : jI(A, !0)) + `</code></pre>
@@ -6635,11 +6635,11 @@ function PY(I, g) {
6635
6635
  }
6636
6636
  }
6637
6637
  const Xl = Object.entries, yZ = Object.setPrototypeOf, rY = Object.isFrozen, fY = Object.getPrototypeOf, qY = Object.getOwnPropertyDescriptor;
6638
- let VI = Object.freeze, XI = Object.seal, Xg = Object.create, ol = typeof Reflect < "u" && Reflect, _C = ol.apply, $C = ol.construct;
6638
+ let VI = Object.freeze, oI = Object.seal, Xg = Object.create, ol = typeof Reflect < "u" && Reflect, _C = ol.apply, $C = ol.construct;
6639
6639
  VI || (VI = function(g) {
6640
6640
  return g;
6641
6641
  });
6642
- XI || (XI = function(g) {
6642
+ oI || (oI = function(g) {
6643
6643
  return g;
6644
6644
  });
6645
6645
  _C || (_C = function(g, C) {
@@ -6652,7 +6652,7 @@ $C || ($C = function(g) {
6652
6652
  Z[A - 1] = arguments[A];
6653
6653
  return new g(...Z);
6654
6654
  });
6655
- const lg = wI(Array.prototype.forEach), _Y = wI(Array.prototype.lastIndexOf), uZ = wI(Array.prototype.pop), Dg = wI(Array.prototype.push), $Y = wI(Array.prototype.splice), hg = Array.isArray, zg = wI(String.prototype.toLowerCase), FC = wI(String.prototype.toString), nZ = wI(String.prototype.match), Fg = wI(String.prototype.replace), MZ = wI(String.prototype.indexOf), Is = wI(String.prototype.trim), gs = wI(Number.prototype.toString), Cs = wI(Boolean.prototype.toString), KZ = typeof BigInt > "u" ? null : wI(BigInt.prototype.toString), SZ = typeof Symbol > "u" ? null : wI(Symbol.prototype.toString), MI = wI(Object.prototype.hasOwnProperty), pg = wI(Object.prototype.toString), hI = wI(RegExp.prototype.test), Zg = As(TypeError);
6655
+ const lg = wI(Array.prototype.forEach), _Y = wI(Array.prototype.lastIndexOf), uZ = wI(Array.prototype.pop), Dg = wI(Array.prototype.push), $Y = wI(Array.prototype.splice), hg = Array.isArray, zg = wI(String.prototype.toLowerCase), FC = wI(String.prototype.toString), nZ = wI(String.prototype.match), Fg = wI(String.prototype.replace), MZ = wI(String.prototype.indexOf), Is = wI(String.prototype.trim), gs = wI(Number.prototype.toString), Cs = wI(Boolean.prototype.toString), KZ = typeof BigInt > "u" ? null : wI(BigInt.prototype.toString), SZ = typeof Symbol > "u" ? null : wI(Symbol.prototype.toString), MI = wI(Object.prototype.hasOwnProperty), pg = wI(Object.prototype.toString), aI = wI(RegExp.prototype.test), Zg = As(TypeError);
6656
6656
  function wI(I) {
6657
6657
  return function(g) {
6658
6658
  g instanceof RegExp && (g.lastIndex = 0);
@@ -6744,18 +6744,18 @@ function zI(I, g) {
6744
6744
  }
6745
6745
  function ds(I) {
6746
6746
  try {
6747
- return hI(I, ""), !0;
6747
+ return aI(I, ""), !0;
6748
6748
  } catch {
6749
6749
  return !1;
6750
6750
  }
6751
6751
  }
6752
- const DZ = VI(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pC = VI(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), JC = VI(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Gs = VI(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), zC = VI(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), cs = VI(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), FZ = VI(["#text"]), pZ = VI(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), kC = VI(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), JZ = VI(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), CC = VI(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), bs = XI(/{{[\w\W]*|^[\w\W]*}}/g), ms = XI(/<%[\w\W]*|^[\w\W]*%>/g), is = XI(/\${[\w\W]*/g), Ws = XI(/^data-[\-\w.\u00B7-\uFFFF]+$/), Bs = XI(/^aria-[\-\w]+$/), zZ = XI(
6752
+ const DZ = VI(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pC = VI(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), JC = VI(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Gs = VI(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), zC = VI(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), cs = VI(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), FZ = VI(["#text"]), pZ = VI(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), kC = VI(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), JZ = VI(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), CC = VI(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), bs = oI(/{{[\w\W]*|^[\w\W]*}}/g), ms = oI(/<%[\w\W]*|^[\w\W]*%>/g), is = oI(/\${[\w\W]*/g), Ws = oI(/^data-[\-\w.\u00B7-\uFFFF]+$/), Bs = oI(/^aria-[\-\w]+$/), zZ = oI(
6753
6753
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
6754
6754
  // eslint-disable-line no-useless-escape
6755
- ), Ys = XI(/^(?:\w+script|data):/i), ss = XI(
6755
+ ), Ys = oI(/^(?:\w+script|data):/i), ss = oI(
6756
6756
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
6757
6757
  // eslint-disable-line no-control-regex
6758
- ), ws = XI(/^html$/i), Vs = XI(/^[a-z][.\w]*(-[.\w]+)+$/i), kZ = XI(/<[/\w!]/g), eZ = XI(/<[/\w]/g), Ns = XI(/<\/no(script|embed|frames)/i), Xs = XI(/\/>/i), KI = {
6758
+ ), ws = oI(/^html$/i), Vs = oI(/^[a-z][.\w]*(-[.\w]+)+$/i), kZ = oI(/<[/\w!]/g), eZ = oI(/<[/\w]/g), Ns = oI(/<\/no(script|embed|frames)/i), Xs = oI(/\/>/i), KI = {
6759
6759
  element: 1,
6760
6760
  attribute: 2,
6761
6761
  text: 3,
@@ -6774,7 +6774,7 @@ const DZ = VI(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
6774
6774
  }, hl = ["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"], os = VI(lI({}, hl)), hs = (function() {
6775
6775
  const I = {};
6776
6776
  return lg(hl, (g) => {
6777
- I[g] = XI(new RegExp("</" + g + "(?=[\\t\\n\\f\\r />])", "i"));
6777
+ I[g] = oI(new RegExp("</" + g + "(?=[\\t\\n\\f\\r />])", "i"));
6778
6778
  }), VI(I);
6779
6779
  })(), as = function() {
6780
6780
  return typeof window > "u" ? null : window;
@@ -6825,7 +6825,7 @@ function al() {
6825
6825
  I.DocumentFragment;
6826
6826
  const d = I.HTMLTemplateElement, l = I.Node, c = I.Element, G = I.NodeFilter, b = I.NamedNodeMap;
6827
6827
  b === void 0 && (I.NamedNodeMap || I.MozNamedAttrMap), I.HTMLFormElement;
6828
- const i = I.DOMParser, w = I.trustedTypes, s = c.prototype, a = zI(s, "cloneNode"), V = zI(s, "remove"), X = zI(s, "nextSibling"), o = zI(s, "childNodes"), S = zI(s, "parentNode"), k = zI(s, "shadowRoot"), L = zI(s, "attributes"), K = l && l.prototype ? zI(l.prototype, "nodeType") : null, e = l && l.prototype ? zI(l.prototype, "nodeName") : null, y = l && l.prototype ? zI(l.prototype, "ownerDocument") : null, p = function(B) {
6828
+ const i = I.DOMParser, w = I.trustedTypes, s = c.prototype, R = zI(s, "cloneNode"), V = zI(s, "remove"), X = zI(s, "nextSibling"), o = zI(s, "childNodes"), S = zI(s, "parentNode"), k = zI(s, "shadowRoot"), L = zI(s, "attributes"), K = l && l.prototype ? zI(l.prototype, "nodeType") : null, e = l && l.prototype ? zI(l.prototype, "nodeName") : null, y = l && l.prototype ? zI(l.prototype, "ownerDocument") : null, p = function(B) {
6829
6829
  return K ? K(B) : B.nodeType;
6830
6830
  }, J = function(B) {
6831
6831
  return e ? e(B) : B.nodeName;
@@ -6854,7 +6854,7 @@ function al() {
6854
6854
  }
6855
6855
  }, r = function() {
6856
6856
  return f || (D = Rs(w, A), f = !0), D;
6857
- }, oI = C, HI = oI.implementation, pI = oI.createNodeIterator, OI = oI.createDocumentFragment, Ig = oI.getElementsByTagName, sI = Z.importNode;
6857
+ }, hI = C, HI = hI.implementation, pI = hI.createNodeIterator, OI = hI.createDocumentFragment, Ig = hI.getElementsByTagName, sI = Z.importNode;
6858
6858
  let mI = LZ();
6859
6859
  g.isSupported = typeof Xl == "function" && typeof S == "function" && HI && HI.createHTMLDocument !== void 0;
6860
6860
  const Hl = bs, yl = ms, ul = is, nl = Ws, Ml = Bs, Kl = Ys, VA = ss, Sl = Vs;
@@ -6986,7 +6986,7 @@ function al() {
6986
6986
  // Default built-in map
6987
6987
  );
6988
6988
  const N = eC(B, "CUSTOM_ELEMENT_HANDLING", () => Xg(null));
6989
- if (tI = Xg(null), MI(N, "tagNameCheck") && pA(N.tagNameCheck) && (tI.tagNameCheck = N.tagNameCheck), MI(N, "attributeNameCheck") && pA(N.attributeNameCheck) && (tI.attributeNameCheck = N.attributeNameCheck), MI(N, "allowCustomizedBuiltInElements") && typeof N.allowCustomizedBuiltInElements == "boolean" && (tI.allowCustomizedBuiltInElements = N.allowCustomizedBuiltInElements), XI(tI), PI && (VC = !1), Ug && (Wg = !0), Bg && (iI = lI({}, FZ), WI = Xg(null), Bg.html === !0 && (lI(iI, DZ), lI(WI, pZ)), Bg.svg === !0 && (lI(iI, pC), lI(WI, kC), lI(WI, CC)), Bg.svgFilters === !0 && (lI(iI, JC), lI(WI, kC), lI(WI, CC)), Bg.mathMl === !0 && (lI(iI, zC), lI(WI, JZ), lI(WI, CC))), EI.tagCheck = null, EI.attributeCheck = null, MI(B, "ADD_TAGS") && (typeof B.ADD_TAGS == "function" ? EI.tagCheck = B.ADD_TAGS : hg(B.ADD_TAGS) && (iI === sC && (iI = SI(iI)), lI(iI, B.ADD_TAGS, YI))), MI(B, "ADD_ATTR") && (typeof B.ADD_ATTR == "function" ? EI.attributeCheck = B.ADD_ATTR : hg(B.ADD_ATTR) && (WI === wC && (WI = SI(WI)), lI(WI, B.ADD_ATTR, YI))), MI(B, "ADD_FORBID_CONTENTS") && hg(B.ADD_FORBID_CONTENTS) && (Yg === uA && (Yg = SI(Yg)), lI(Yg, B.ADD_FORBID_CONTENTS, YI)), oC && (iI["#text"] = !0), Cg && lI(iI, ["html", "head", "body"]), iI.table && (lI(iI, ["tbody"]), delete yg.tbody), B.TRUSTED_TYPES_POLICY) {
6989
+ if (tI = Xg(null), MI(N, "tagNameCheck") && pA(N.tagNameCheck) && (tI.tagNameCheck = N.tagNameCheck), MI(N, "attributeNameCheck") && pA(N.attributeNameCheck) && (tI.attributeNameCheck = N.attributeNameCheck), MI(N, "allowCustomizedBuiltInElements") && typeof N.allowCustomizedBuiltInElements == "boolean" && (tI.allowCustomizedBuiltInElements = N.allowCustomizedBuiltInElements), oI(tI), PI && (VC = !1), Ug && (Wg = !0), Bg && (iI = lI({}, FZ), WI = Xg(null), Bg.html === !0 && (lI(iI, DZ), lI(WI, pZ)), Bg.svg === !0 && (lI(iI, pC), lI(WI, kC), lI(WI, CC)), Bg.svgFilters === !0 && (lI(iI, JC), lI(WI, kC), lI(WI, CC)), Bg.mathMl === !0 && (lI(iI, zC), lI(WI, JZ), lI(WI, CC))), EI.tagCheck = null, EI.attributeCheck = null, MI(B, "ADD_TAGS") && (typeof B.ADD_TAGS == "function" ? EI.tagCheck = B.ADD_TAGS : hg(B.ADD_TAGS) && (iI === sC && (iI = SI(iI)), lI(iI, B.ADD_TAGS, YI))), MI(B, "ADD_ATTR") && (typeof B.ADD_ATTR == "function" ? EI.attributeCheck = B.ADD_ATTR : hg(B.ADD_ATTR) && (WI === wC && (WI = SI(WI)), lI(WI, B.ADD_ATTR, YI))), MI(B, "ADD_FORBID_CONTENTS") && hg(B.ADD_FORBID_CONTENTS) && (Yg === uA && (Yg = SI(Yg)), lI(Yg, B.ADD_FORBID_CONTENTS, YI)), oC && (iI["#text"] = !0), Cg && lI(iI, ["html", "head", "body"]), iI.table && (lI(iI, ["tbody"]), delete yg.tbody), B.TRUSTED_TYPES_POLICY) {
6990
6990
  if (typeof B.TRUSTED_TYPES_POLICY.createHTML != "function")
6991
6991
  throw Zg('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
6992
6992
  if (typeof B.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -6995,8 +6995,8 @@ function al() {
6995
6995
  H = B.TRUSTED_TYPES_POLICY;
6996
6996
  try {
6997
6997
  z = FI("");
6998
- } catch (T) {
6999
- throw H = M, T;
6998
+ } catch (x) {
6999
+ throw H = M, x;
7000
7000
  }
7001
7001
  } else B.TRUSTED_TYPES_POLICY === null ? (H = void 0, z = "") : (H === void 0 && (H = r()), H && typeof z == "string" && (z = FI("")));
7002
7002
  VI && VI(B), wg = B;
@@ -7012,8 +7012,8 @@ function al() {
7012
7012
  namespaceURI: sg,
7013
7013
  tagName: "template"
7014
7014
  });
7015
- const M = zg(B.tagName), T = zg(N.tagName);
7016
- return RC[B.namespaceURI] ? B.namespaceURI === Eg ? kl(M, N, T) : B.namespaceURI === Og ? el(M, N, T) : B.namespaceURI === TI ? Ll(M, N, T) : !!(ug === "application/xhtml+xml" && RC[B.namespaceURI]) : !1;
7015
+ const M = zg(B.tagName), x = zg(N.tagName);
7016
+ return RC[B.namespaceURI] ? B.namespaceURI === Eg ? kl(M, N, x) : B.namespaceURI === Og ? el(M, N, x) : B.namespaceURI === TI ? Ll(M, N, x) : !!(ug === "application/xhtml+xml" && RC[B.namespaceURI]) : !1;
7017
7017
  }, rI = function(B) {
7018
7018
  Dg(g.removed, {
7019
7019
  element: B
@@ -7037,10 +7037,10 @@ function al() {
7037
7037
  rg(B);
7038
7038
  const N = o(B);
7039
7039
  if (N) {
7040
- const T = [];
7040
+ const x = [];
7041
7041
  lg(N, (v) => {
7042
- Dg(T, v);
7043
- }), lg(T, (v) => {
7042
+ Dg(x, v);
7043
+ }), lg(x, (v) => {
7044
7044
  try {
7045
7045
  V(v);
7046
7046
  } catch {
@@ -7049,8 +7049,8 @@ function al() {
7049
7049
  }
7050
7050
  const M = L(B);
7051
7051
  if (M)
7052
- for (let T = M.length - 1; T >= 0; --T) {
7053
- const v = M[T], P = v && v.name;
7052
+ for (let x = M.length - 1; x >= 0; --x) {
7053
+ const v = M[x], P = v && v.name;
7054
7054
  typeof P == "string" && kA(B, v, P);
7055
7055
  }
7056
7056
  }, Ag = function(B, N, M) {
@@ -7087,8 +7087,8 @@ function al() {
7087
7087
  const N = L(B);
7088
7088
  if (N)
7089
7089
  for (let M = N.length - 1; M >= 0; --M) {
7090
- const T = N[M], v = T && T.name;
7091
- typeof v != "string" || WI[YI(v)] || kA(B, T, v);
7090
+ const x = N[M], v = x && x.name;
7091
+ typeof v != "string" || WI[YI(v)] || kA(B, x, v);
7092
7092
  }
7093
7093
  }, rg = function(B) {
7094
7094
  const N = [B];
@@ -7107,15 +7107,15 @@ function al() {
7107
7107
  return;
7108
7108
  const N = [B];
7109
7109
  for (; N.length > 0; ) {
7110
- const M = N.pop(), T = p(M);
7111
- if (T === KI.processingInstruction || T === KI.comment && hI(eZ, M.data)) {
7110
+ const M = N.pop(), x = p(M);
7111
+ if (x === KI.processingInstruction || x === KI.comment && aI(eZ, M.data)) {
7112
7112
  try {
7113
7113
  V(M);
7114
7114
  } catch {
7115
7115
  }
7116
7116
  continue;
7117
7117
  }
7118
- if (T === KI.element) {
7118
+ if (x === KI.element) {
7119
7119
  const P = M, bI = YI(J(M));
7120
7120
  try {
7121
7121
  P.hasAttribute && P.hasAttribute("patchsrc") && P.removeAttribute("patchsrc"), P.hasAttribute && P.hasAttribute("for") && eA("for", bI) && P.removeAttribute("for");
@@ -7136,16 +7136,16 @@ function al() {
7136
7136
  M = P && P[0];
7137
7137
  }
7138
7138
  ug === "application/xhtml+xml" && sg === TI && (B = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + B + "</body></html>");
7139
- const T = H ? FI(B) : B;
7139
+ const x = H ? FI(B) : B;
7140
7140
  if (sg === TI)
7141
7141
  try {
7142
- N = new i().parseFromString(T, ug);
7142
+ N = new i().parseFromString(x, ug);
7143
7143
  } catch {
7144
7144
  }
7145
7145
  if (!N || !N.documentElement) {
7146
7146
  N = HI.createDocument(sg, "template", null);
7147
7147
  try {
7148
- N.documentElement.innerHTML = aC ? z : T;
7148
+ N.documentElement.innerHTML = aC ? z : x;
7149
7149
  } catch {
7150
7150
  }
7151
7151
  }
@@ -7165,16 +7165,16 @@ function al() {
7165
7165
  }, nC = function(B) {
7166
7166
  var N;
7167
7167
  B.normalize();
7168
- const M = y ? y(B) : B.ownerDocument, T = pI.call(
7168
+ const M = y ? y(B) : B.ownerDocument, x = pI.call(
7169
7169
  M || B,
7170
7170
  B,
7171
7171
  // eslint-disable-next-line no-bitwise
7172
7172
  G.SHOW_TEXT | G.SHOW_COMMENT | G.SHOW_CDATA_SECTION | G.SHOW_PROCESSING_INSTRUCTION,
7173
7173
  null
7174
7174
  );
7175
- let v = T.nextNode();
7175
+ let v = x.nextNode();
7176
7176
  for (; v; )
7177
- v.data = fg(v.data), v = T.nextNode();
7177
+ v.data = fg(v.data), v = x.nextNode();
7178
7178
  const P = (N = B.querySelectorAll) === null || N === void 0 ? void 0 : N.call(B, "template");
7179
7179
  P && lg(P, (bI) => {
7180
7180
  Vg(bI.content) && nC(bI.content);
@@ -7228,32 +7228,32 @@ function al() {
7228
7228
  });
7229
7229
  }
7230
7230
  const jl = function(B, N) {
7231
- return !!(gg && B.hasChildNodes() && !ng(B.firstElementChild) && hI(kZ, B.textContent) && hI(kZ, B.innerHTML) || gg && B.namespaceURI === TI && os[N] && (ng(B.firstElementChild) || typeof B.textContent == "string" && hI(hs[N], B.textContent)) || B.nodeType === KI.processingInstruction || gg && B.nodeType === KI.comment && hI(eZ, B.data));
7231
+ return !!(gg && B.hasChildNodes() && !ng(B.firstElementChild) && aI(kZ, B.textContent) && aI(kZ, B.innerHTML) || gg && B.namespaceURI === TI && os[N] && (ng(B.firstElementChild) || typeof B.textContent == "string" && aI(hs[N], B.textContent)) || B.nodeType === KI.processingInstruction || gg && B.nodeType === KI.comment && aI(eZ, B.data));
7232
7232
  }, _g = function(B, N) {
7233
7233
  if (B instanceof RegExp)
7234
- return hI(B, N);
7234
+ return aI(B, N);
7235
7235
  if (B instanceof Function) {
7236
- for (var M = arguments.length, T = new Array(M > 2 ? M - 2 : 0), v = 2; v < M; v++)
7237
- T[v - 2] = arguments[v];
7238
- return !!B(N, ...T);
7236
+ for (var M = arguments.length, x = new Array(M > 2 ? M - 2 : 0), v = 2; v < M; v++)
7237
+ x[v - 2] = arguments[v];
7238
+ return !!B(N, ...x);
7239
7239
  }
7240
7240
  return !1;
7241
7241
  }, Ql = function(B, N, M) {
7242
7242
  if (!yg[N] && UA(N) && _g(tI.tagNameCheck, N))
7243
7243
  return !1;
7244
7244
  if (oC && !Yg[N]) {
7245
- const T = S(B), v = o(B);
7246
- if (v && T) {
7245
+ const x = S(B), v = o(B);
7246
+ if (v && x) {
7247
7247
  const P = v.length;
7248
7248
  for (let bI = P - 1; bI >= 0; --bI) {
7249
- const BI = B === M ? a(v[bI], !0) : v[bI];
7250
- T.insertBefore(BI, X(B));
7249
+ const BI = B === M ? R(v[bI], !0) : v[bI];
7250
+ x.insertBefore(BI, X(B));
7251
7251
  }
7252
7252
  }
7253
7253
  }
7254
7254
  return rI(B), !0;
7255
- }, TA = function(B, N, M, T) {
7256
- return B.length === 0 ? N : N === M || N === T ? SI(N) : N;
7255
+ }, TA = function(B, N, M, x) {
7256
+ return B.length === 0 ? N : N === M || N === x ? SI(N) : N;
7257
7257
  }, xA = function(B, N) {
7258
7258
  return B === N || S(B) !== null ? !1 : (hC && rg(B), !0);
7259
7259
  }, jA = function(B, N) {
@@ -7273,7 +7273,7 @@ function al() {
7273
7273
  const v = Ql(B, M, N);
7274
7274
  return v === !1 && xI(mI.afterSanitizeElements, B, null), v;
7275
7275
  }
7276
- if (p(B) === KI.element && !tl(B) || (M === "noscript" || M === "noembed" || M === "noframes") && hI(Ns, B.innerHTML))
7276
+ if (p(B) === KI.element && !tl(B) || (M === "noscript" || M === "noembed" || M === "noframes") && aI(Ns, B.innerHTML))
7277
7277
  return rI(B), !0;
7278
7278
  if (PI && B.nodeType === KI.text) {
7279
7279
  const v = fg(B.textContent);
@@ -7285,8 +7285,8 @@ function al() {
7285
7285
  }, QA = function(B, N, M) {
7286
7286
  if (XA[N] || eA(N, B) || RA && (N === "id" || N === "name") && (M in C || M in zl))
7287
7287
  return !1;
7288
- const T = WI[N] || EI.attributeCheck instanceof Function && EI.attributeCheck(N, B);
7289
- return VC && hI(nl, N) || oA && hI(Ml, N) ? !0 : T ? KA[N] || hI(NA, Fg(M, VA, "")) || (N === "src" || N === "xlink:href" || N === "href") && B !== "script" && MZ(M, "data:") === 0 && nA[B] || hA && !hI(Kl, Fg(M, VA, "")) ? !0 : !M : (
7288
+ const x = WI[N] || EI.attributeCheck instanceof Function && EI.attributeCheck(N, B);
7289
+ return VC && aI(nl, N) || oA && aI(Ml, N) ? !0 : x ? KA[N] || aI(NA, Fg(M, VA, "")) || (N === "src" || N === "xlink:href" || N === "href") && B !== "script" && MZ(M, "data:") === 0 && nA[B] || hA && !aI(Kl, Fg(M, VA, "")) ? !0 : !M : (
7290
7290
  // Condition a) covers a basically valid custom element tag name whose
7291
7291
  // tag passes the configured tagNameCheck and whose attribute name
7292
7292
  // passes the configured attributeNameCheck ...
@@ -7296,19 +7296,19 @@ function al() {
7296
7296
  N === "is" && tI.allowCustomizedBuiltInElements && _g(tI.tagNameCheck, M)
7297
7297
  );
7298
7298
  }, Ul = lI({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), UA = function(B) {
7299
- return !Ul[zg(B)] && hI(Sl, B);
7300
- }, vl = function(B, N, M, T) {
7299
+ return !Ul[zg(B)] && aI(Sl, B);
7300
+ }, vl = function(B, N, M, x) {
7301
7301
  if (H && typeof w == "object" && typeof w.getAttributeType == "function" && !M)
7302
7302
  switch (w.getAttributeType(B, N)) {
7303
7303
  case "TrustedHTML":
7304
- return FI(T);
7304
+ return FI(x);
7305
7305
  case "TrustedScriptURL":
7306
- return E(T);
7306
+ return E(x);
7307
7307
  }
7308
- return T;
7309
- }, Ol = function(B, N, M, T) {
7308
+ return x;
7309
+ }, Ol = function(B, N, M, x) {
7310
7310
  try {
7311
- M ? B.setAttributeNS(M, N, T) : B.setAttribute(N, T), qg(B) ? rI(B) : uZ(g.removed);
7311
+ M ? B.setAttributeNS(M, N, x) : B.setAttribute(N, x), qg(B) ? rI(B) : uZ(g.removed);
7312
7312
  } catch {
7313
7313
  Ag(N, B);
7314
7314
  }
@@ -7325,12 +7325,12 @@ function al() {
7325
7325
  allowedAttributes: WI,
7326
7326
  forceKeepAttr: void 0
7327
7327
  };
7328
- let T = N.length;
7328
+ let x = N.length;
7329
7329
  const v = YI(B.nodeName);
7330
- for (; T--; ) {
7331
- const P = N[T], bI = P.name, BI = P.namespaceURI, uI = P.value, nI = YI(bI), KC = uI;
7330
+ for (; x--; ) {
7331
+ const P = N[x], bI = P.name, BI = P.namespaceURI, uI = P.value, nI = YI(bI), KC = uI;
7332
7332
  let yI = bI === "value" ? KC : Is(KC);
7333
- if (M.attrName = nI, M.attrValue = yI, M.keepAttr = !0, M.forceKeepAttr = void 0, xI(mI.uponSanitizeAttribute, B, M), yI = M.attrValue, HA && (nI === "id" || nI === "name") && MZ(yI, yA) !== 0 && (Ag(bI, B, P), yI = yA + yI), gg && hI(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, yI)) {
7333
+ if (M.attrName = nI, M.attrValue = yI, M.keepAttr = !0, M.forceKeepAttr = void 0, xI(mI.uponSanitizeAttribute, B, M), yI = M.attrValue, HA && (nI === "id" || nI === "name") && MZ(yI, yA) !== 0 && (Ag(bI, B, P), yI = yA + yI), gg && aI(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, yI)) {
7334
7334
  Ag(bI, B, P);
7335
7335
  continue;
7336
7336
  }
@@ -7343,7 +7343,7 @@ function al() {
7343
7343
  Ag(bI, B, P);
7344
7344
  continue;
7345
7345
  }
7346
- if (!aA && hI(Xs, yI)) {
7346
+ if (!aA && aI(Xs, yI)) {
7347
7347
  Ag(bI, B, P);
7348
7348
  continue;
7349
7349
  }
@@ -7360,8 +7360,8 @@ function al() {
7360
7360
  const M = tA(B);
7361
7361
  for (xI(mI.beforeSanitizeShadowDOM, B, null); N = M.nextNode(); )
7362
7362
  if (xI(mI.uponSanitizeShadowNode, N, null), jA(N, B), vA(N), Vg(N.content) && $g(N.content), p(N) === KI.element) {
7363
- const T = k(N);
7364
- Vg(T) && (MC(T), $g(T));
7363
+ const x = k(N);
7364
+ Vg(x) && (MC(x), $g(x));
7365
7365
  }
7366
7366
  xI(mI.afterSanitizeShadowDOM, B, null);
7367
7367
  }, MC = function(B) {
@@ -7375,7 +7375,7 @@ function al() {
7375
7375
  $g(M.shadow);
7376
7376
  continue;
7377
7377
  }
7378
- const T = M.node, P = p(T) === KI.element, bI = o(T);
7378
+ const x = M.node, P = p(x) === KI.element, bI = o(x);
7379
7379
  if (bI)
7380
7380
  for (let BI = bI.length - 1; BI >= 0; --BI)
7381
7381
  N.push({
@@ -7383,9 +7383,9 @@ function al() {
7383
7383
  shadow: null
7384
7384
  });
7385
7385
  if (P) {
7386
- const BI = e ? e(T) : null;
7386
+ const BI = e ? e(x) : null;
7387
7387
  if (typeof BI == "string" && YI(BI) === "template") {
7388
- const uI = T.content;
7388
+ const uI = x.content;
7389
7389
  Vg(uI) && N.push({
7390
7390
  node: uI,
7391
7391
  shadow: null
@@ -7393,7 +7393,7 @@ function al() {
7393
7393
  }
7394
7394
  }
7395
7395
  if (P) {
7396
- const BI = k(T);
7396
+ const BI = k(x);
7397
7397
  Vg(BI) && N.push({
7398
7398
  node: null,
7399
7399
  shadow: BI
@@ -7405,7 +7405,7 @@ function al() {
7405
7405
  }
7406
7406
  };
7407
7407
  return g.sanitize = function(F) {
7408
- let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = null, M = null, T = null, v = null;
7408
+ let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = null, M = null, x = null, v = null;
7409
7409
  if (aC = !F, aC && (F = "<!-->"), typeof F != "string" && !ng(F) && (F = ls(F), typeof F != "string"))
7410
7410
  throw Zg("dirty is not a string, aborting");
7411
7411
  if (!g.isSupported)
@@ -7440,8 +7440,8 @@ function al() {
7440
7440
  const bI = P ? F : N;
7441
7441
  try {
7442
7442
  const uI = tA(bI);
7443
- for (; T = uI.nextNode(); )
7444
- jA(T, bI), vA(T), Vg(T.content) && $g(T.content);
7443
+ for (; x = uI.nextNode(); )
7444
+ jA(x, bI), vA(x), Vg(x.content) && $g(x.content);
7445
7445
  } catch (uI) {
7446
7446
  throw P && (Pg(F), lg(g.removed, (nI) => {
7447
7447
  nI.element && rg(nI.element);
@@ -7460,7 +7460,7 @@ function al() {
7460
7460
  return (WI.shadowroot || WI.shadowrootmode) && (v = sI.call(Z, v, !0)), v;
7461
7461
  }
7462
7462
  let BI = Cg ? N.outerHTML : N.innerHTML;
7463
- return Cg && iI["!doctype"] && N.ownerDocument && N.ownerDocument.doctype && N.ownerDocument.doctype.name && hI(ws, N.ownerDocument.doctype.name) && (BI = "<!DOCTYPE " + N.ownerDocument.doctype.name + `>
7463
+ return Cg && iI["!doctype"] && N.ownerDocument && N.ownerDocument.doctype && N.ownerDocument.doctype.name && aI(ws, N.ownerDocument.doctype.name) && (BI = "<!DOCTYPE " + N.ownerDocument.doctype.name + `>
7464
7464
  ` + BI), PI && (BI = fg(BI)), H && vg ? FI(BI) : BI;
7465
7465
  }, g.setConfig = function() {
7466
7466
  let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -7469,8 +7469,8 @@ function al() {
7469
7469
  wg = null, NC = !1, jg = null, Qg = null, H = D, z = "";
7470
7470
  }, g.isValidAttribute = function(F, B, N) {
7471
7471
  wg || uC({});
7472
- const M = YI(F), T = YI(B);
7473
- return QA(M, T, N);
7472
+ const M = YI(F), x = YI(B);
7473
+ return QA(M, x, N);
7474
7474
  }, g.addHook = function(F, B) {
7475
7475
  typeof B == "function" && MI(mI, F) && Dg(mI[F], B);
7476
7476
  }, g.removeHook = function(F, B) {
@@ -7545,7 +7545,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7545
7545
  content: {}
7546
7546
  },
7547
7547
  setup(I) {
7548
- const g = I, C = u(() => ys(g.content || "").map(Z));
7548
+ const g = I, C = n(() => ys(g.content || "").map(Z));
7549
7549
  function Z(G) {
7550
7550
  if (!((G.language || "").toLowerCase() === "json" || G.artifactType === "json" || A(G.content))) return { ...G, display: G.content, isJson: !1 };
7551
7551
  try {
@@ -7578,7 +7578,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7578
7578
  innerHTML: $(us)(i.content)
7579
7579
  }, null, 8, Ms)) : i.type === "artifact" ? (m(), W("div", {
7580
7580
  key: 1,
7581
- class: n(["apf-artifact-card", { "apf-json": i.isJson }])
7581
+ class: u(["apf-artifact-card", { "apf-json": i.isJson }])
7582
7582
  }, [
7583
7583
  Y("div", Ks, [
7584
7584
  Y("span", Ss, "工件 · " + h(d(i)), 1),
@@ -7641,7 +7641,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7641
7641
  ])
7642
7642
  ], 2)) : (m(), W("div", {
7643
7643
  key: 2,
7644
- class: n(["apf-code-wrap", { "apf-json": i.isJson }])
7644
+ class: u(["apf-code-wrap", { "apf-json": i.isJson }])
7645
7645
  }, [
7646
7646
  Y("div", zs, [
7647
7647
  Y("span", ks, h(d(i)), 1),
@@ -7719,7 +7719,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7719
7719
  },
7720
7720
  emits: ["preview"],
7721
7721
  setup(I, { emit: g }) {
7722
- const C = I, Z = g, A = u(() => C.attachments.filter(Rg)), d = u(() => C.attachments.filter((c) => !Rg(c)));
7722
+ const C = I, Z = g, A = n(() => C.attachments.filter(Rg)), d = n(() => C.attachments.filter((c) => !Rg(c)));
7723
7723
  function l(c) {
7724
7724
  Z("preview", c);
7725
7725
  }
@@ -7728,7 +7728,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7728
7728
  return (b = I.attachments) != null && b.length ? (m(), W("div", Qs, [
7729
7729
  A.value.length ? (m(), W("div", {
7730
7730
  key: 0,
7731
- class: n(["apf-image-grid", { "apf-multi": A.value.length > 1 }])
7731
+ class: u(["apf-image-grid", { "apf-multi": A.value.length > 1 }])
7732
7732
  }, [
7733
7733
  (m(!0), W(Q, null, q(A.value, (i) => (m(), W("button", {
7734
7734
  key: i.id,
@@ -7743,7 +7743,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7743
7743
  loading: "lazy"
7744
7744
  }, null, 8, vs)
7745
7745
  ], 8, Us))), 128))
7746
- ], 2)) : R("", !0),
7746
+ ], 2)) : a("", !0),
7747
7747
  (m(!0), W(Q, null, q(d.value, (i) => (m(), W("button", {
7748
7748
  key: i.id,
7749
7749
  type: "button",
@@ -7757,7 +7757,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7757
7757
  Y("small", null, [
7758
7758
  i.size ? (m(), W(Q, { key: 0 }, [
7759
7759
  gI(h($(GA)(i.size)), 1)
7760
- ], 64)) : R("", !0),
7760
+ ], 64)) : a("", !0),
7761
7761
  $(Lg)(i) ? (m(), W(Q, { key: 1 }, [
7762
7762
  gI(" · 点击预览")
7763
7763
  ], 64)) : $(BZ)(i) ? (m(), W(Q, { key: 2 }, [
@@ -7766,10 +7766,10 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7766
7766
  gI(" · 点击打开")
7767
7767
  ], 64))
7768
7768
  ]),
7769
- i.excerpt ? (m(), W("em", rs, h(i.excerpt), 1)) : R("", !0)
7769
+ i.excerpt ? (m(), W("em", rs, h(i.excerpt), 1)) : a("", !0)
7770
7770
  ])
7771
7771
  ], 8, Os))), 128))
7772
- ])) : R("", !0);
7772
+ ])) : a("", !0);
7773
7773
  };
7774
7774
  }
7775
7775
  }), qs = /* @__PURE__ */ U(fs, [["__scopeId", "data-v-a604161c"]]), _s = {
@@ -7812,7 +7812,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7812
7812
  return (b = I.summaries) != null && b.length ? (m(), W("div", _s, [
7813
7813
  (m(!0), W(Q, null, q(I.summaries, (i) => (m(), W("article", {
7814
7814
  key: i.documentId,
7815
- class: n(["apf-doc-card", { "apf-clickable": l(i) }]),
7815
+ class: u(["apf-doc-card", { "apf-clickable": l(i) }]),
7816
7816
  role: l(i) ? "button" : void 0,
7817
7817
  tabindex: l(i) ? 0 : void 0,
7818
7818
  "aria-label": l(i) ? `预览 ${i.filename}` : void 0,
@@ -7850,11 +7850,11 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7850
7850
  Y("div", I2, [
7851
7851
  Y("strong", g2, h(i.filename), 1),
7852
7852
  Y("p", C2, h(i.summary), 1),
7853
- i.pageCount ? (m(), W("span", A2, h(i.pageCount) + " 页", 1)) : R("", !0),
7854
- l(i) ? R("", !0) : (m(), W("span", Z2, "无对应附件,请从附件列表打开"))
7853
+ i.pageCount ? (m(), W("span", A2, h(i.pageCount) + " 页", 1)) : a("", !0),
7854
+ l(i) ? a("", !0) : (m(), W("span", Z2, "无对应附件,请从附件列表打开"))
7855
7855
  ])
7856
7856
  ], 42, $s))), 128))
7857
- ])) : R("", !0);
7857
+ ])) : a("", !0);
7858
7858
  };
7859
7859
  }
7860
7860
  }), d2 = /* @__PURE__ */ U(l2, [["__scopeId", "data-v-a91771a4"]]), G2 = ["aria-label"], c2 = { class: "apf-preview-head" }, b2 = { class: "apf-preview-title" }, m2 = { class: "apf-preview-actions" }, i2 = ["href"], W2 = ["src", "alt"], B2 = {
@@ -7878,22 +7878,22 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7878
7878
  },
7879
7879
  emits: ["update:modelValue", "update:attachment"],
7880
7880
  setup(I, { emit: g }) {
7881
- const C = I, Z = g, A = u({
7881
+ const C = I, Z = g, A = n({
7882
7882
  get: () => C.modelValue,
7883
7883
  set: (D) => Z("update:modelValue", D)
7884
7884
  });
7885
7885
  function d(D) {
7886
7886
  return D.url || "";
7887
7887
  }
7888
- const l = u(() => C.attachment ? Rg(C.attachment) : !1), c = u(() => C.attachment ? Lg(C.attachment) : !1), G = u(() => {
7888
+ const l = n(() => C.attachment ? Rg(C.attachment) : !1), c = n(() => C.attachment ? Lg(C.attachment) : !1), G = n(() => {
7889
7889
  var f;
7890
7890
  return ((f = C.gallery) != null && f.length ? C.gallery : C.attachment ? [C.attachment] : []).filter(Rg);
7891
- }), b = u(() => !G.value.length || !C.attachment ? -1 : G.value.findIndex((D) => {
7891
+ }), b = n(() => !G.value.length || !C.attachment ? -1 : G.value.findIndex((D) => {
7892
7892
  var f;
7893
7893
  return D.id === ((f = C.attachment) == null ? void 0 : f.id);
7894
- })), i = u(() => b.value > 0), w = u(
7894
+ })), i = n(() => b.value > 0), w = n(
7895
7895
  () => b.value >= 0 && b.value < G.value.length - 1
7896
- ), s = t(1), a = t(null), V = t(null), X = t(null);
7896
+ ), s = t(1), R = t(null), V = t(null), X = t(null);
7897
7897
  function o() {
7898
7898
  A.value = !1;
7899
7899
  }
@@ -7953,8 +7953,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7953
7953
  D.preventDefault(), e();
7954
7954
  return;
7955
7955
  }
7956
- if (D.key === "Tab" && a.value) {
7957
- const f = a.value.querySelectorAll(
7956
+ if (D.key === "Tab" && R.value) {
7957
+ const f = R.value.querySelectorAll(
7958
7958
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
7959
7959
  );
7960
7960
  if (f.length === 0) return;
@@ -7986,7 +7986,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7986
7986
  function z(D) {
7987
7987
  l.value && (D.preventDefault(), D.deltaY < 0 ? L() : K());
7988
7988
  }
7989
- return (D, f) => (m(), x(UZ, { to: "body" }, [
7989
+ return (D, f) => (m(), T(UZ, { to: "body" }, [
7990
7990
  A.value && I.attachment ? (m(), W("div", {
7991
7991
  key: 0,
7992
7992
  class: "apf-preview-mask",
@@ -7997,8 +7997,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
7997
7997
  }, [
7998
7998
  Y("div", {
7999
7999
  ref_key: "panelRef",
8000
- ref: a,
8001
- class: n(["apf-preview-panel", {
8000
+ ref: R,
8001
+ class: u(["apf-preview-panel", {
8002
8002
  "apf-preview-image": l.value,
8003
8003
  "apf-preview-pdf": c.value,
8004
8004
  "apf-preview-degraded": !l.value && !c.value
@@ -8027,20 +8027,20 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8027
8027
  "aria-label": "放大",
8028
8028
  onClick: L
8029
8029
  }, "+")
8030
- ], 64)) : R("", !0),
8030
+ ], 64)) : a("", !0),
8031
8031
  d(I.attachment) ? (m(), W("a", {
8032
8032
  key: 1,
8033
8033
  href: d(I.attachment),
8034
8034
  target: "_blank",
8035
8035
  rel: "noopener",
8036
8036
  class: "apf-preview-action-btn"
8037
- }, h(c.value ? "新窗口打开" : l.value ? "打开原图" : "打开原文件"), 9, i2)) : R("", !0),
8037
+ }, h(c.value ? "新窗口打开" : l.value ? "打开原图" : "打开原文件"), 9, i2)) : a("", !0),
8038
8038
  d(I.attachment) ? (m(), W("button", {
8039
8039
  key: 2,
8040
8040
  type: "button",
8041
8041
  class: "apf-preview-action-btn",
8042
8042
  onClick: f[0] || (f[0] = (ZI) => y(I.attachment))
8043
- }, " 下载 ")) : R("", !0),
8043
+ }, " 下载 ")) : a("", !0),
8044
8044
  Y("button", {
8045
8045
  ref_key: "closeBtnRef",
8046
8046
  ref: V,
@@ -8062,34 +8062,34 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8062
8062
  class: "apf-gallery-btn apf-gallery-prev",
8063
8063
  "aria-label": "上一张图片",
8064
8064
  onClick: S
8065
- }, " ‹ ")) : R("", !0),
8065
+ }, " ‹ ")) : a("", !0),
8066
8066
  d(I.attachment) ? (m(), W("img", {
8067
8067
  key: 1,
8068
8068
  src: d(I.attachment),
8069
8069
  alt: I.attachment.filename,
8070
8070
  class: "apf-preview-img",
8071
8071
  style: dI({ transform: `scale(${s.value})` })
8072
- }, null, 12, W2)) : R("", !0),
8072
+ }, null, 12, W2)) : a("", !0),
8073
8073
  w.value ? (m(), W("button", {
8074
8074
  key: 2,
8075
8075
  type: "button",
8076
8076
  class: "apf-gallery-btn apf-gallery-next",
8077
8077
  "aria-label": "下一张图片",
8078
8078
  onClick: k
8079
- }, " › ")) : R("", !0),
8080
- G.value.length > 1 ? (m(), W("div", B2, h(b.value + 1) + " / " + h(G.value.length), 1)) : R("", !0)
8079
+ }, " › ")) : a("", !0),
8080
+ G.value.length > 1 ? (m(), W("div", B2, h(b.value + 1) + " / " + h(G.value.length), 1)) : a("", !0)
8081
8081
  ], 32)) : c.value ? (m(), W("div", Y2, [
8082
- d(I.attachment) ? (m(), x(cl, {
8082
+ d(I.attachment) ? (m(), T(cl, {
8083
8083
  key: 0,
8084
8084
  url: d(I.attachment),
8085
8085
  title: I.attachment.filename,
8086
8086
  "min-height": "70vh"
8087
- }, null, 8, ["url", "title"])) : R("", !0)
8087
+ }, null, 8, ["url", "title"])) : a("", !0)
8088
8088
  ])) : (m(), W("div", s2, [
8089
8089
  Y("div", w2, [
8090
8090
  Y("span", V2, h($(dA)(I.attachment)), 1),
8091
8091
  Y("strong", N2, h(I.attachment.filename), 1),
8092
- I.attachment.size ? (m(), W("p", X2, h($(GA)(I.attachment.size)), 1)) : R("", !0),
8092
+ I.attachment.size ? (m(), W("p", X2, h($(GA)(I.attachment.size)), 1)) : a("", !0),
8093
8093
  f[2] || (f[2] = Y("p", { class: "apf-degraded-hint" }, "此格式暂不支持应用内预览", -1)),
8094
8094
  Y("div", o2, [
8095
8095
  d(I.attachment) ? (m(), W("a", {
@@ -8098,18 +8098,18 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8098
8098
  target: "_blank",
8099
8099
  rel: "noopener",
8100
8100
  class: "apf-preview-action-btn apf-preview-action-primary"
8101
- }, " 打开原文件 ", 8, h2)) : R("", !0),
8101
+ }, " 打开原文件 ", 8, h2)) : a("", !0),
8102
8102
  d(I.attachment) ? (m(), W("button", {
8103
8103
  key: 1,
8104
8104
  type: "button",
8105
8105
  class: "apf-preview-action-btn apf-preview-action-primary",
8106
8106
  onClick: f[1] || (f[1] = (ZI) => y(I.attachment))
8107
- }, " 下载 ")) : R("", !0)
8107
+ }, " 下载 ")) : a("", !0)
8108
8108
  ])
8109
8109
  ])
8110
8110
  ]))
8111
8111
  ], 2)
8112
- ], 8, G2)) : R("", !0)
8112
+ ], 8, G2)) : a("", !0)
8113
8113
  ]));
8114
8114
  }
8115
8115
  }), y2 = /* @__PURE__ */ U(H2, [["__scopeId", "data-v-13cf1e3e"]]), u2 = { class: "apf-bubble-wrap" }, n2 = {
@@ -8159,10 +8159,10 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8159
8159
  },
8160
8160
  emits: ["resume", "cancel", "retry", "open-process", "preview"],
8161
8161
  setup(I, { emit: g }) {
8162
- const C = I, Z = g, A = IA(), d = u(() => !!(A.content || A.default)), l = t(!1), c = t(null), G = u(() => {
8163
- var oI, HI;
8162
+ const C = I, Z = g, A = IA(), d = n(() => !!(A.content || A.default)), l = t(!1), c = t(null), G = n(() => {
8163
+ var hI, HI;
8164
8164
  const E = [...C.message.attachments || []];
8165
- if (!((oI = C.sessionMessages) != null && oI.length)) return E;
8165
+ if (!((hI = C.sessionMessages) != null && hI.length)) return E;
8166
8166
  const r = C.sessionMessages.findIndex((pI) => pI.id === C.message.id);
8167
8167
  if (r <= 0) return E;
8168
8168
  for (let pI = r - 1; pI >= 0; pI--) {
@@ -8174,12 +8174,12 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8174
8174
  }
8175
8175
  }
8176
8176
  return E;
8177
- }), b = u(() => G.value.filter(Rg));
8177
+ }), b = n(() => G.value.filter(Rg));
8178
8178
  function i(E) {
8179
8179
  c.value = E, l.value = !0, Z("preview", E);
8180
8180
  }
8181
- const w = u(() => C.message.role === "user"), s = u(() => C.message.role === "assistant");
8182
- function a(E) {
8181
+ const w = n(() => C.message.role === "user"), s = n(() => C.message.role === "assistant");
8182
+ function R(E) {
8183
8183
  return {
8184
8184
  PENDING: "排队中",
8185
8185
  RUNNING: "正在处理",
@@ -8201,26 +8201,26 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8201
8201
  const X = [
8202
8202
  { action: "approve", label: "确认继续", style: "primary" },
8203
8203
  { action: "reject", label: "需要修改", style: "danger" }
8204
- ], o = u(() => {
8205
- var r, oI;
8204
+ ], o = n(() => {
8205
+ var r, hI;
8206
8206
  if (C.message.status !== "WAITING_INPUT") return null;
8207
8207
  const E = (r = C.run) == null ? void 0 : r.waiting;
8208
8208
  if (E) {
8209
- const HI = (oI = E.actions) != null && oI.length ? E.actions : X;
8209
+ const HI = (hI = E.actions) != null && hI.length ? E.actions : X;
8210
8210
  return { prompt: E.prompt || "请确认后继续。", fields: E.fields || [], actions: HI, dangerous: !!E.dangerous };
8211
8211
  }
8212
8212
  return { prompt: "请确认后继续。", fields: [], actions: X, dangerous: !1 };
8213
- }), S = u(() => C.message.content || ""), k = u(
8213
+ }), S = n(() => C.message.content || ""), k = n(
8214
8214
  () => {
8215
8215
  var E;
8216
8216
  return !d.value && s.value && C.message.status === "RUNNING" && !S.value && !((E = C.message.attachments) != null && E.length);
8217
8217
  }
8218
- ), L = u(
8218
+ ), L = n(
8219
8219
  () => {
8220
8220
  var E, r;
8221
8221
  return d.value || !!S.value || !!((E = C.message.documentSummaries) != null && E.length) || !!((r = C.message.attachments) != null && r.length);
8222
8222
  }
8223
- ), K = u(() => w.value ? "apf-user" : C.message.status === "WAITING_INPUT" ? "apf-waiting" : C.message.status === "FAILED" ? "apf-failed" : ""), e = t("");
8223
+ ), K = n(() => w.value ? "apf-user" : C.message.status === "WAITING_INPUT" ? "apf-waiting" : C.message.status === "FAILED" ? "apf-failed" : ""), e = t("");
8224
8224
  function y(E) {
8225
8225
  Z("resume", E, e.value || void 0), e.value = "";
8226
8226
  }
@@ -8232,13 +8232,13 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8232
8232
  function J() {
8233
8233
  const E = S.value || C.message.content;
8234
8234
  if (!E) return;
8235
- const r = new Blob([E], { type: "text/markdown;charset=utf-8" }), oI = URL.createObjectURL(r), HI = document.createElement("a");
8236
- HI.href = oI, HI.download = "reply.md", HI.click(), URL.revokeObjectURL(oI);
8235
+ const r = new Blob([E], { type: "text/markdown;charset=utf-8" }), hI = URL.createObjectURL(r), HI = document.createElement("a");
8236
+ HI.href = hI, HI.download = "reply.md", HI.click(), URL.revokeObjectURL(hI);
8237
8237
  }
8238
8238
  function H(E) {
8239
8239
  return E.error ? "失败" : E.result !== void 0 ? "已完成" : "处理中";
8240
8240
  }
8241
- const z = t(!1), D = t(!1), f = t(!1), ZI = u(
8241
+ const z = t(!1), D = t(!1), f = t(!1), ZI = n(
8242
8242
  () => s.value && C.message.status === "RUNNING" && !!C.message.thinking
8243
8243
  );
8244
8244
  NI(
@@ -8266,17 +8266,17 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8266
8266
  f.value = !f.value;
8267
8267
  }
8268
8268
  return (E, r) => {
8269
- var oI, HI, pI, OI, Ig;
8269
+ var hI, HI, pI, OI, Ig;
8270
8270
  return m(), W("div", {
8271
- class: n(["apf-message", [I.message.role, I.message.status && s.value ? `apf-st-${I.message.status}` : ""]])
8271
+ class: u(["apf-message", [I.message.role, I.message.status && s.value ? `apf-st-${I.message.status}` : ""]])
8272
8272
  }, [
8273
- s.value && I.brandMark ? (m(), x(OZ(I.brandMark), {
8273
+ s.value && I.brandMark ? (m(), T(OZ(I.brandMark), {
8274
8274
  key: 0,
8275
8275
  variant: "ai",
8276
8276
  size: "sm"
8277
- })) : R("", !0),
8277
+ })) : a("", !0),
8278
8278
  Y("div", u2, [
8279
- !d.value && s.value && I.message.tip ? (m(), W("p", n2, h(I.message.tip), 1)) : R("", !0),
8279
+ !d.value && s.value && I.message.tip ? (m(), W("p", n2, h(I.message.tip), 1)) : a("", !0),
8280
8280
  k.value ? (m(), W("div", M2, [...r[4] || (r[4] = [
8281
8281
  Y("span", { class: "apf-status-text" }, "正在处理", -1),
8282
8282
  Y("span", { class: "apf-dots" }, [
@@ -8286,28 +8286,28 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8286
8286
  ], -1)
8287
8287
  ])])) : L.value ? (m(), W("div", K2, [
8288
8288
  Y("div", {
8289
- class: n(["apf-bubble apf-message-content", K.value])
8289
+ class: u(["apf-bubble apf-message-content", K.value])
8290
8290
  }, [
8291
- !d.value && ((oI = I.message.attachments) != null && oI.length) ? (m(), x(qs, {
8291
+ !d.value && ((hI = I.message.attachments) != null && hI.length) ? (m(), T(qs, {
8292
8292
  key: 0,
8293
8293
  attachments: I.message.attachments,
8294
8294
  onPreview: i
8295
- }, null, 8, ["attachments"])) : R("", !0),
8295
+ }, null, 8, ["attachments"])) : a("", !0),
8296
8296
  CI(E.$slots, "content", {}, () => [
8297
8297
  CI(E.$slots, "default", {}, () => [
8298
- S.value ? (m(), x(js, {
8298
+ S.value ? (m(), T(js, {
8299
8299
  key: 0,
8300
8300
  content: S.value
8301
- }, null, 8, ["content"])) : R("", !0)
8301
+ }, null, 8, ["content"])) : a("", !0)
8302
8302
  ], !0)
8303
8303
  ], !0),
8304
- !d.value && ((HI = I.message.documentSummaries) != null && HI.length) ? (m(), x(d2, {
8304
+ !d.value && ((HI = I.message.documentSummaries) != null && HI.length) ? (m(), T(d2, {
8305
8305
  key: 1,
8306
8306
  summaries: I.message.documentSummaries,
8307
8307
  attachments: G.value,
8308
8308
  onPreview: i
8309
- }, null, 8, ["summaries", "attachments"])) : R("", !0),
8310
- !d.value && s.value && I.message.status === "RUNNING" && S.value ? (m(), W("p", S2, "仍在处理…")) : R("", !0)
8309
+ }, null, 8, ["summaries", "attachments"])) : a("", !0),
8310
+ !d.value && s.value && I.message.status === "RUNNING" && S.value ? (m(), W("p", S2, "仍在处理…")) : a("", !0)
8311
8311
  ], 2),
8312
8312
  !d.value && s.value && I.message.status === "COMPLETED" ? (m(), W("div", D2, [
8313
8313
  Y("button", {
@@ -8366,8 +8366,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8366
8366
  class: "apf-text-link",
8367
8367
  type: "button",
8368
8368
  onClick: r[0] || (r[0] = (sI) => Z("open-process"))
8369
- }, "处理信息")) : R("", !0)
8370
- ])) : R("", !0),
8369
+ }, "处理信息")) : a("", !0)
8370
+ ])) : a("", !0),
8371
8371
  !d.value && s.value && I.message.status === "FAILED" ? (m(), W("div", F2, [
8372
8372
  Y("button", {
8373
8373
  class: "apf-icon-btn",
@@ -8404,9 +8404,9 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8404
8404
  })
8405
8405
  ], -1)
8406
8406
  ])])
8407
- ])) : R("", !0)
8408
- ])) : !d.value && s.value && I.message.status === "WAITING_INPUT" && !L.value ? (m(), W("div", p2, "请在下方确认后继续。")) : !d.value && s.value && I.message.status === "FAILED" && !L.value ? (m(), W("div", J2, "处理失败")) : !d.value && s.value && I.message.status === "CANCELLED" && !L.value ? (m(), W("div", z2, "已取消")) : R("", !0),
8409
- d.value ? R("", !0) : (m(), x(y2, {
8407
+ ])) : a("", !0)
8408
+ ])) : !d.value && s.value && I.message.status === "WAITING_INPUT" && !L.value ? (m(), W("div", p2, "请在下方确认后继续。")) : !d.value && s.value && I.message.status === "FAILED" && !L.value ? (m(), W("div", J2, "处理失败")) : !d.value && s.value && I.message.status === "CANCELLED" && !L.value ? (m(), W("div", z2, "已取消")) : a("", !0),
8409
+ d.value ? a("", !0) : (m(), T(y2, {
8410
8410
  key: 6,
8411
8411
  modelValue: l.value,
8412
8412
  "onUpdate:modelValue": r[2] || (r[2] = (sI) => l.value = sI),
@@ -8416,7 +8416,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8416
8416
  }, null, 8, ["modelValue", "attachment", "gallery"])),
8417
8417
  !d.value && s.value && ((OI = I.message.thinking) != null && OI.trim()) ? (m(), W("div", {
8418
8418
  key: 7,
8419
- class: n(["apf-detail-block", { open: z.value, streaming: ZI.value }])
8419
+ class: u(["apf-detail-block", { open: z.value, streaming: ZI.value }])
8420
8420
  }, [
8421
8421
  Y("button", {
8422
8422
  type: "button",
@@ -8426,19 +8426,19 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8426
8426
  }, [
8427
8427
  r[8] || (r[8] = Y("span", { class: "apf-chevron" }, null, -1)),
8428
8428
  r[9] || (r[9] = Y("span", null, "思考过程", -1)),
8429
- ZI.value ? (m(), W("span", e2)) : R("", !0)
8429
+ ZI.value ? (m(), W("span", e2)) : a("", !0)
8430
8430
  ], 8, k2),
8431
8431
  Y("div", L2, [
8432
8432
  Y("div", t2, [
8433
8433
  Y("div", {
8434
- class: n(["apf-detail-content", { streaming: ZI.value }])
8434
+ class: u(["apf-detail-content", { streaming: ZI.value }])
8435
8435
  }, h(I.message.thinking), 3)
8436
8436
  ])
8437
8437
  ])
8438
- ], 2)) : R("", !0),
8438
+ ], 2)) : a("", !0),
8439
8439
  !d.value && s.value && ((Ig = I.message.toolCalls) != null && Ig.length) ? (m(), W("div", {
8440
8440
  key: 8,
8441
- class: n(["apf-detail-block", { open: f.value }])
8441
+ class: u(["apf-detail-block", { open: f.value }])
8442
8442
  }, [
8443
8443
  Y("button", {
8444
8444
  type: "button",
@@ -8457,43 +8457,43 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8457
8457
  }, [
8458
8458
  Y("strong", null, h(sI.name), 1),
8459
8459
  Y("span", {
8460
- class: n({ "apf-err": !!sI.error })
8460
+ class: u({ "apf-err": !!sI.error })
8461
8461
  }, h(H(sI)), 3)
8462
8462
  ]))), 128))
8463
8463
  ])
8464
8464
  ])
8465
- ], 2)) : R("", !0),
8466
- d.value ? R("", !0) : (m(), W(Q, { key: 9 }, [
8465
+ ], 2)) : a("", !0),
8466
+ d.value ? a("", !0) : (m(), W(Q, { key: 9 }, [
8467
8467
  s.value && I.message.status !== "COMPLETED" && I.message.status !== "CANCELLED" ? (m(), W("span", {
8468
8468
  key: 0,
8469
- class: n(["apf-chip", V(I.message.status)])
8469
+ class: u(["apf-chip", V(I.message.status)])
8470
8470
  }, [
8471
8471
  r[11] || (r[11] = Y("i", null, null, -1)),
8472
- gI(h(a(I.message.status)), 1)
8472
+ gI(h(R(I.message.status)), 1)
8473
8473
  ], 2)) : s.value && I.message.status === "COMPLETED" ? (m(), W("span", Q2, [...r[12] || (r[12] = [
8474
8474
  Y("i", null, null, -1),
8475
8475
  gI("已完成", -1)
8476
- ])])) : R("", !0)
8476
+ ])])) : a("", !0)
8477
8477
  ], 64)),
8478
8478
  !d.value && o.value ? (m(), W("div", {
8479
8479
  key: 10,
8480
- class: n(["apf-inline-approval", { "apf-dangerous-approval": o.value.dangerous }])
8480
+ class: u(["apf-inline-approval", { "apf-dangerous-approval": o.value.dangerous }])
8481
8481
  }, [
8482
8482
  Y("div", U2, [
8483
8483
  r[13] || (r[13] = Y("span", { class: "apf-approval-title" }, "需要你的确认", -1)),
8484
- o.value.dangerous ? (m(), W("span", v2, "需谨慎")) : R("", !0)
8484
+ o.value.dangerous ? (m(), W("span", v2, "需谨慎")) : a("", !0)
8485
8485
  ]),
8486
8486
  Y("p", O2, h(o.value.prompt), 1),
8487
8487
  Y("div", E2, [
8488
8488
  (m(!0), W(Q, null, q(o.value.actions, (sI) => (m(), W("button", {
8489
8489
  key: sI.action,
8490
8490
  type: "button",
8491
- class: n(["apf-approval-btn", sI.style === "danger" ? "apf-approval-btn-danger" : "apf-approval-btn-primary"]),
8491
+ class: u(["apf-approval-btn", sI.style === "danger" ? "apf-approval-btn-danger" : "apf-approval-btn-primary"]),
8492
8492
  disabled: I.sending,
8493
8493
  onClick: (mI) => y(sI.action)
8494
8494
  }, h(sI.label), 11, P2))), 128))
8495
8495
  ])
8496
- ], 2)) : R("", !0)
8496
+ ], 2)) : a("", !0)
8497
8497
  ])
8498
8498
  ], 2);
8499
8499
  };
@@ -8539,8 +8539,8 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8539
8539
  class: "apf-skeleton",
8540
8540
  style: { height: "var(--icon-size-sm, 14px)", width: "45%", "margin-top": "var(--spacing-sm, 8px)" }
8541
8541
  }, null, -1)
8542
- ])])) : R("", !0),
8543
- (m(!0), W(Q, null, q(I.messages, (G) => (m(), x(f2, {
8542
+ ])])) : a("", !0),
8543
+ (m(!0), W(Q, null, q(I.messages, (G) => (m(), T(f2, {
8544
8544
  key: G.id,
8545
8545
  message: G,
8546
8546
  run: d(G),
@@ -8555,7 +8555,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8555
8555
  }, null, 8, ["message", "run", "sending", "brand-mark", "session-messages", "onOpenProcess"]))), 128))
8556
8556
  ], 512));
8557
8557
  }
8558
- }), WN = /* @__PURE__ */ U(_2, [["__scopeId", "data-v-0957f79a"]]), $2 = {
8558
+ }), NN = /* @__PURE__ */ U(_2, [["__scopeId", "data-v-0957f79a"]]), $2 = {
8559
8559
  key: 0,
8560
8560
  class: "apf-pending-list"
8561
8561
  }, Iw = ["src"], gw = { class: "apf-pending-name" }, Cw = {
@@ -8590,7 +8590,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8590
8590
  },
8591
8591
  emits: ["send", "upload", "remove-attachment", "ws-click"],
8592
8592
  setup(I, { emit: g }) {
8593
- const C = I, Z = g, A = t(""), d = t(null), l = t(null), c = t([]), G = t(!1), b = IA(), i = u(() => C.supportedInputs || ["text"]), w = u(() => i.value.some((p) => p === "file" || p === "image" || p === "document")), s = u(() => !!b.input), a = u(() => !C.hideDefaultInput && !s.value), V = u(() => !C.hideSend), X = u(() => w.value && !C.hideFileButton), o = u(() => {
8593
+ const C = I, Z = g, A = t(""), d = t(null), l = t(null), c = t([]), G = t(!1), b = IA(), i = n(() => C.supportedInputs || ["text"]), w = n(() => i.value.some((p) => p === "file" || p === "image" || p === "document")), s = n(() => !!b.input), R = n(() => !C.hideDefaultInput && !s.value), V = n(() => !C.hideSend), X = n(() => w.value && !C.hideFileButton), o = n(() => {
8594
8594
  if (C.disabled || G.value) return !1;
8595
8595
  const p = !!A.value.trim(), J = c.value.some((z) => z.status === "done"), H = c.value.some((z) => z.status === "uploading");
8596
8596
  return (p || J) && !H;
@@ -8630,36 +8630,36 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8630
8630
  p.previewUrl && URL.revokeObjectURL(p.previewUrl);
8631
8631
  });
8632
8632
  }), (p, J) => (m(), W("form", {
8633
- class: n(["apf-composer", { "apf-composer-stretch": I.stretch }]),
8633
+ class: u(["apf-composer", { "apf-composer-stretch": I.stretch }]),
8634
8634
  onSubmit: UI(K, ["prevent"])
8635
8635
  }, [
8636
8636
  Y("div", {
8637
- class: n(["apf-composer-field", { "apf-disabled": I.disabled }])
8637
+ class: u(["apf-composer-field", { "apf-disabled": I.disabled }])
8638
8638
  }, [
8639
8639
  CI(p.$slots, "pending", {}, () => [
8640
8640
  c.value.length ? (m(), W("div", $2, [
8641
8641
  (m(!0), W(Q, null, q(c.value, (H) => (m(), W("div", {
8642
8642
  key: H.id,
8643
- class: n(["apf-pending-chip", H.status])
8643
+ class: u(["apf-pending-chip", H.status])
8644
8644
  }, [
8645
8645
  H.previewUrl ? (m(), W("img", {
8646
8646
  key: 0,
8647
8647
  src: H.previewUrl,
8648
8648
  alt: "",
8649
8649
  class: "apf-pending-thumb"
8650
- }, null, 8, Iw)) : R("", !0),
8650
+ }, null, 8, Iw)) : a("", !0),
8651
8651
  Y("span", gw, h(H.filename), 1),
8652
- H.status === "uploading" ? (m(), W("span", Cw, "上传中")) : H.status === "error" ? (m(), W("span", Aw, h(H.error || "失败"), 1)) : R("", !0),
8652
+ H.status === "uploading" ? (m(), W("span", Cw, "上传中")) : H.status === "error" ? (m(), W("span", Aw, h(H.error || "失败"), 1)) : a("", !0),
8653
8653
  Y("button", {
8654
8654
  type: "button",
8655
8655
  class: "apf-pending-remove",
8656
8656
  onClick: (z) => L(H.id)
8657
8657
  }, "×", 8, Zw)
8658
8658
  ], 2))), 128))
8659
- ])) : R("", !0)
8659
+ ])) : a("", !0)
8660
8660
  ], !0),
8661
8661
  CI(p.$slots, "input", {}, () => [
8662
- a.value ? Gg((m(), W("textarea", {
8662
+ R.value ? Gg((m(), W("textarea", {
8663
8663
  key: 0,
8664
8664
  ref_key: "textareaRef",
8665
8665
  ref: d,
@@ -8670,7 +8670,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8670
8670
  onKeydown: y
8671
8671
  }, null, 40, lw)), [
8672
8672
  [UC, A.value]
8673
- ]) : R("", !0)
8673
+ ]) : a("", !0)
8674
8674
  ], !0),
8675
8675
  Y("div", dw, [
8676
8676
  Y("div", Gw, [
@@ -8706,7 +8706,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8706
8706
  "stroke-linejoin": "round"
8707
8707
  })
8708
8708
  ], -1)
8709
- ])], 8, cw)) : R("", !0)
8709
+ ])], 8, cw)) : a("", !0)
8710
8710
  ]),
8711
8711
  CI(p.$slots, "actions", {}, () => [
8712
8712
  V.value ? (m(), W("button", {
@@ -8715,31 +8715,31 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8715
8715
  class: "apf-send-btn",
8716
8716
  disabled: !o.value,
8717
8717
  title: "发送"
8718
- }, "↗", 8, bw)) : R("", !0)
8718
+ }, "↗", 8, bw)) : a("", !0)
8719
8719
  ], !0)
8720
8720
  ])
8721
8721
  ], 2),
8722
- I.hideMeta ? R("", !0) : (m(), W("div", mw, [
8722
+ I.hideMeta ? a("", !0) : (m(), W("div", mw, [
8723
8723
  Y("div", iw, [
8724
8724
  J[3] || (J[3] = Y("span", { class: "apf-cap-chip" }, "文本", -1)),
8725
- w.value ? (m(), W("span", Ww, "文件")) : R("", !0),
8726
- I.hitlCapable ? (m(), W("span", Bw, "需要确认")) : R("", !0)
8725
+ w.value ? (m(), W("span", Ww, "文件")) : a("", !0),
8726
+ I.hitlCapable ? (m(), W("span", Bw, "需要确认")) : a("", !0)
8727
8727
  ]),
8728
8728
  Y("div", Yw, [
8729
8729
  I.wsStatus ? (m(), W("button", {
8730
8730
  key: 0,
8731
8731
  type: "button",
8732
- class: n(["apf-ws-status", I.wsStatus]),
8732
+ class: u(["apf-ws-status", I.wsStatus]),
8733
8733
  onClick: J[1] || (J[1] = (H) => Z("ws-click"))
8734
8734
  }, [...J[4] || (J[4] = [
8735
8735
  Y("i", { class: "apf-ws-dot" }, null, -1)
8736
- ])], 2)) : R("", !0),
8736
+ ])], 2)) : a("", !0),
8737
8737
  J[5] || (J[5] = Y("small", { class: "apf-hint" }, "Enter 发送 · Shift+Enter 换行", -1))
8738
8738
  ])
8739
8739
  ]))
8740
8740
  ], 34));
8741
8741
  }
8742
- }), BN = /* @__PURE__ */ U(sw, [["__scopeId", "data-v-e996c32a"]]), ww = {
8742
+ }), XN = /* @__PURE__ */ U(sw, [["__scopeId", "data-v-e996c32a"]]), ww = {
8743
8743
  key: 0,
8744
8744
  class: "apf-run-bar"
8745
8745
  }, Vw = { class: "apf-row" }, Nw = {
@@ -8756,7 +8756,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8756
8756
  },
8757
8757
  emits: ["cancel"],
8758
8758
  setup(I, { emit: g }) {
8759
- const C = I, Z = g, A = u(() => {
8759
+ const C = I, Z = g, A = n(() => {
8760
8760
  var G;
8761
8761
  return ((G = C.run) == null ? void 0 : G.status) || null;
8762
8762
  });
@@ -8774,20 +8774,20 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8774
8774
  return (G, b) => I.run ? (m(), W("div", ww, [
8775
8775
  Y("div", Vw, [
8776
8776
  Y("span", {
8777
- class: n(["apf-chip", l(A.value || "")])
8777
+ class: u(["apf-chip", l(A.value || "")])
8778
8778
  }, [
8779
8779
  b[1] || (b[1] = Y("i", null, null, -1)),
8780
8780
  gI(h(d(A.value || "")), 1)
8781
8781
  ], 2),
8782
- A.value === "RUNNING" || A.value === "WAITING_INPUT" ? (m(), W("span", Nw, h(c()), 1)) : R("", !0),
8782
+ A.value === "RUNNING" || A.value === "WAITING_INPUT" ? (m(), W("span", Nw, h(c()), 1)) : a("", !0),
8783
8783
  A.value === "RUNNING" ? (m(), W("button", {
8784
8784
  key: 1,
8785
8785
  class: "apf-btn-cancel",
8786
8786
  onClick: b[0] || (b[0] = (i) => Z("cancel"))
8787
- }, "停止")) : R("", !0)
8787
+ }, "停止")) : a("", !0)
8788
8788
  ]),
8789
- I.run.errorMessage ? (m(), W("p", Xw, h(I.run.errorMessage), 1)) : R("", !0)
8790
- ])) : R("", !0);
8789
+ I.run.errorMessage ? (m(), W("p", Xw, h(I.run.errorMessage), 1)) : a("", !0)
8790
+ ])) : a("", !0);
8791
8791
  }
8792
8792
  }), hw = /* @__PURE__ */ U(ow, [["__scopeId", "data-v-33963f1d"]]), aw = { class: "apf-header" }, Rw = {
8793
8793
  key: 0,
@@ -8806,11 +8806,11 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8806
8806
  }
8807
8807
  return (d, l) => I.waiting ? (m(), W("div", {
8808
8808
  key: 0,
8809
- class: n(["apf-approval-card", { "apf-dangerous": I.waiting.dangerous }])
8809
+ class: u(["apf-approval-card", { "apf-dangerous": I.waiting.dangerous }])
8810
8810
  }, [
8811
8811
  Y("div", aw, [
8812
8812
  l[3] || (l[3] = Y("span", { class: "apf-title" }, "需要你的操作", -1)),
8813
- I.waiting.dangerous ? (m(), W("span", Rw, "危险操作")) : R("", !0)
8813
+ I.waiting.dangerous ? (m(), W("span", Rw, "危险操作")) : a("", !0)
8814
8814
  ]),
8815
8815
  Y("p", Hw, h(I.waiting.prompt), 1),
8816
8816
  (m(!0), W(Q, null, q(I.waiting.fields, (c) => (m(), W("div", {
@@ -8846,14 +8846,14 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8846
8846
  Y("div", Mw, [
8847
8847
  (m(!0), W(Q, null, q(I.waiting.actions, (c) => (m(), W("button", {
8848
8848
  key: c.action,
8849
- class: n(["apf-btn", c.style === "danger" ? "apf-btn-danger" : "apf-btn-primary"]),
8849
+ class: u(["apf-btn", c.style === "danger" ? "apf-btn-danger" : "apf-btn-primary"]),
8850
8850
  disabled: I.disabled,
8851
8851
  onClick: (G) => A(c.action)
8852
8852
  }, h(c.label), 11, Kw))), 128))
8853
8853
  ])
8854
- ], 2)) : R("", !0);
8854
+ ], 2)) : a("", !0);
8855
8855
  }
8856
- }), YN = /* @__PURE__ */ U(Sw, [["__scopeId", "data-v-ca69b479"]]), Dw = {
8856
+ }), oN = /* @__PURE__ */ U(Sw, [["__scopeId", "data-v-ca69b479"]]), Dw = {
8857
8857
  class: "apf-session-sidebar",
8858
8858
  "aria-label": "会话列表"
8859
8859
  }, Fw = { class: "apf-session-sidebar__head" }, pw = { class: "apf-session-sidebar__head-actions" }, Jw = {
@@ -8891,7 +8891,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8891
8891
  Y("strong", null, h(I.title || "会话"), 1),
8892
8892
  Y("div", pw, [
8893
8893
  CI(A.$slots, "toolbar", {}, void 0, !0),
8894
- I.hideCreate ? R("", !0) : (m(), x(l, {
8894
+ I.hideCreate ? a("", !0) : (m(), T(l, {
8895
8895
  key: 0,
8896
8896
  type: "primary",
8897
8897
  size: "small",
@@ -8906,12 +8906,12 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8906
8906
  ]),
8907
8907
  A.$slots["below-head"] ? (m(), W("div", Jw, [
8908
8908
  CI(A.$slots, "below-head", {}, void 0, !0)
8909
- ])) : R("", !0),
8909
+ ])) : a("", !0),
8910
8910
  Gg((m(), W("div", zw, [
8911
8911
  (m(!0), W(Q, null, q(I.sessions, (G) => (m(), W("button", {
8912
8912
  key: G.id,
8913
8913
  type: "button",
8914
- class: n(["apf-session-sidebar__item", { "is-active": G.id === I.activeId }]),
8914
+ class: u(["apf-session-sidebar__item", { "is-active": G.id === I.activeId }]),
8915
8915
  onClick: (b) => C("select", G.id)
8916
8916
  }, [
8917
8917
  Y("span", ew, h(G.title || "未命名会话"), 1),
@@ -8926,7 +8926,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8926
8926
  }, ["stop"]))
8927
8927
  }, [
8928
8928
  CI(A.$slots, "item-actions", { session: G }, () => [
8929
- I.hideDelete ? R("", !0) : (m(), x(l, {
8929
+ I.hideDelete ? a("", !0) : (m(), T(l, {
8930
8930
  key: 0,
8931
8931
  class: "apf-session-sidebar__delete",
8932
8932
  link: "",
@@ -8942,14 +8942,14 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8942
8942
  ], !0)
8943
8943
  ])
8944
8944
  ], 10, kw))), 128)),
8945
- !I.loading && !I.sessions.length ? (m(), W("div", tw, h(I.emptyText || "暂无会话"), 1)) : R("", !0)
8945
+ !I.loading && !I.sessions.length ? (m(), W("div", tw, h(I.emptyText || "暂无会话"), 1)) : a("", !0)
8946
8946
  ])), [
8947
8947
  [c, I.loading]
8948
8948
  ])
8949
8949
  ]);
8950
8950
  };
8951
8951
  }
8952
- }), sN = /* @__PURE__ */ U(Tw, [["__scopeId", "data-v-b00284f7"]]), xw = {
8952
+ }), hN = /* @__PURE__ */ U(Tw, [["__scopeId", "data-v-b00284f7"]]), xw = {
8953
8953
  key: 0,
8954
8954
  class: "apf-processing-drawer__subtitle"
8955
8955
  }, jw = { class: "apf-processing-drawer__body" }, Qw = /* @__PURE__ */ j({
@@ -8966,7 +8966,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8966
8966
  const C = g;
8967
8967
  return (Z, A) => {
8968
8968
  const d = _("el-drawer");
8969
- return m(), x(d, {
8969
+ return m(), T(d, {
8970
8970
  "model-value": I.modelValue,
8971
8971
  title: I.title || "处理详情",
8972
8972
  size: "380px",
@@ -8974,13 +8974,13 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8974
8974
  "onUpdate:modelValue": A[1] || (A[1] = (l) => C("update:modelValue", l))
8975
8975
  }, {
8976
8976
  default: O(() => [
8977
- I.subtitle ? (m(), W("p", xw, h(I.subtitle), 1)) : R("", !0),
8978
- I.run ? (m(), x($(hw), {
8977
+ I.subtitle ? (m(), W("p", xw, h(I.subtitle), 1)) : a("", !0),
8978
+ I.run ? (m(), T($(hw), {
8979
8979
  key: 1,
8980
8980
  run: I.run,
8981
8981
  sending: I.sending ?? !1,
8982
8982
  onCancel: A[0] || (A[0] = (l) => C("cancel"))
8983
- }, null, 8, ["run", "sending"])) : R("", !0),
8983
+ }, null, 8, ["run", "sending"])) : a("", !0),
8984
8984
  Y("div", jw, [
8985
8985
  CI(Z.$slots, "default", {}, void 0, !0)
8986
8986
  ])
@@ -8989,7 +8989,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
8989
8989
  }, 8, ["model-value", "title"]);
8990
8990
  };
8991
8991
  }
8992
- }), wN = /* @__PURE__ */ U(Qw, [["__scopeId", "data-v-6036074a"]]), Uw = { class: "apf-conversation-header" }, vw = { class: "apf-conversation-header__identity" }, Ow = { class: "apf-conversation-header__copy" }, Ew = { class: "apf-conversation-header__meta-row" }, Pw = {
8992
+ }), aN = /* @__PURE__ */ U(Qw, [["__scopeId", "data-v-6036074a"]]), Uw = { class: "apf-conversation-header" }, vw = { class: "apf-conversation-header__identity" }, Ow = { class: "apf-conversation-header__copy" }, Ew = { class: "apf-conversation-header__meta-row" }, Pw = {
8993
8993
  key: 0,
8994
8994
  class: "apf-conversation-header__label"
8995
8995
  }, rw = { class: "apf-conversation-header__actions" }, fw = {
@@ -9006,13 +9006,13 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9006
9006
  },
9007
9007
  emits: ["changeAssistant", "toggleDetails", "create"],
9008
9008
  setup(I, { emit: g }) {
9009
- const C = I, Z = g, A = IA(), d = u(() => !C.hideDefaultActions && !A.actions);
9009
+ const C = I, Z = g, A = IA(), d = n(() => !C.hideDefaultActions && !A.actions);
9010
9010
  return (l, c) => (m(), W("header", Uw, [
9011
9011
  Y("div", vw, [
9012
9012
  CI(l.$slots, "identity", {}, () => [
9013
9013
  Y("div", Ow, [
9014
9014
  Y("div", Ew, [
9015
- I.label ? (m(), W("span", Pw, h(I.label), 1)) : R("", !0),
9015
+ I.label ? (m(), W("span", Pw, h(I.label), 1)) : a("", !0),
9016
9016
  CI(l.$slots, "meta", {}, void 0, !0)
9017
9017
  ]),
9018
9018
  Y("strong", null, h(I.title || "选择一个智能体开始"), 1)
@@ -9023,7 +9023,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9023
9023
  I.processing ? (m(), W("span", fw, [...c[2] || (c[2] = [
9024
9024
  Y("i", null, null, -1),
9025
9025
  Y("span", null, "正在处理", -1)
9026
- ])])) : R("", !0),
9026
+ ])])) : a("", !0),
9027
9027
  CI(l.$slots, "actions", {}, () => [
9028
9028
  d.value ? (m(), W(Q, { key: 0 }, [
9029
9029
  Y("button", {
@@ -9036,22 +9036,78 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9036
9036
  type: "button",
9037
9037
  class: "apf-conversation-header__btn",
9038
9038
  onClick: c[1] || (c[1] = (G) => Z("toggleDetails"))
9039
- }, " 处理详情 ")) : R("", !0)
9040
- ], 64)) : R("", !0)
9039
+ }, " 处理详情 ")) : a("", !0)
9040
+ ], 64)) : a("", !0)
9041
9041
  ], !0)
9042
9042
  ])
9043
9043
  ]));
9044
9044
  }
9045
- }), VN = /* @__PURE__ */ U(qw, [["__scopeId", "data-v-127a684e"]]), _w = { class: "apf-assistant-picker" }, $w = {
9045
+ }), RN = /* @__PURE__ */ U(qw, [["__scopeId", "data-v-127a684e"]]), _w = ["title"], $w = {
9046
+ key: 0,
9047
+ class: "apf-pending-chip__spinner"
9048
+ }, IV = ["disabled"], gV = {
9049
+ key: 2,
9050
+ class: "apf-pending-chip__status"
9051
+ }, CV = {
9052
+ key: 3,
9053
+ class: "apf-pending-chip__status is-error"
9054
+ }, AV = /* @__PURE__ */ j({
9055
+ __name: "PendingAttachmentChip",
9056
+ props: {
9057
+ attachment: {}
9058
+ },
9059
+ emits: ["preview", "remove"],
9060
+ setup(I, { emit: g }) {
9061
+ const C = I, Z = g;
9062
+ function A(l) {
9063
+ return l != null && l.startsWith("image/") ? "picture" : "document";
9064
+ }
9065
+ function d() {
9066
+ C.attachment.status === "done" && Z("preview", C.attachment);
9067
+ }
9068
+ return (l, c) => (m(), W("div", {
9069
+ class: u(["apf-pending-chip", {
9070
+ "is-error": I.attachment.status === "error",
9071
+ "is-clickable": I.attachment.status === "done"
9072
+ }]),
9073
+ title: I.attachment.status === "error" && I.attachment.error || I.attachment.filename
9074
+ }, [
9075
+ I.attachment.status === "uploading" ? (m(), W("span", $w)) : (m(), T($(XI), {
9076
+ key: 1,
9077
+ name: A(I.attachment.mimetype),
9078
+ size: 14,
9079
+ class: "apf-pending-chip__icon"
9080
+ }, null, 8, ["name"])),
9081
+ Y("button", {
9082
+ type: "button",
9083
+ class: "apf-pending-chip__name",
9084
+ disabled: I.attachment.status !== "done",
9085
+ onClick: d
9086
+ }, h(I.attachment.filename), 9, IV),
9087
+ I.attachment.status === "uploading" ? (m(), W("span", gV, "上传中")) : I.attachment.status === "error" ? (m(), W("span", CV, h(I.attachment.error || "失败"), 1)) : a("", !0),
9088
+ Y("button", {
9089
+ type: "button",
9090
+ class: "apf-pending-chip__remove",
9091
+ "aria-label": "移除",
9092
+ onClick: c[0] || (c[0] = (G) => Z("remove", I.attachment.id))
9093
+ }, [
9094
+ II($(XI), {
9095
+ name: "close",
9096
+ size: 12
9097
+ })
9098
+ ])
9099
+ ], 10, _w));
9100
+ }
9101
+ }), HN = /* @__PURE__ */ U(AV, [["__scopeId", "data-v-d95f9eb6"]]), ZV = { class: "apf-assistant-picker" }, lV = {
9046
9102
  key: 0,
9047
9103
  class: "apf-assistant-picker__state"
9048
- }, IV = {
9104
+ }, dV = {
9049
9105
  key: 1,
9050
9106
  class: "apf-assistant-picker__state apf-assistant-picker__state--error"
9051
- }, gV = {
9107
+ }, GV = {
9052
9108
  key: 2,
9053
9109
  class: "apf-assistant-picker__state"
9054
- }, CV = ["onClick"], AV = { class: "apf-assistant-picker__main" }, ZV = { class: "apf-assistant-picker__icon-wrap" }, lV = { class: "apf-assistant-picker__info" }, dV = { class: "apf-assistant-picker__caps" }, GV = /* @__PURE__ */ j({
9110
+ }, cV = ["onClick"], bV = { class: "apf-assistant-picker__main" }, mV = { class: "apf-assistant-picker__icon-wrap" }, iV = { class: "apf-assistant-picker__info" }, WV = { class: "apf-assistant-picker__caps" }, BV = /* @__PURE__ */ j({
9055
9111
  __name: "AssistantPicker",
9056
9112
  props: {
9057
9113
  items: {},
@@ -9073,46 +9129,46 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9073
9129
  function l(G) {
9074
9130
  Z("update:modelValue", G.id), Z("select", G);
9075
9131
  }
9076
- const c = u(() => !C.loading && !C.error && !C.items.length);
9077
- return (G, b) => (m(), W("div", _w, [
9078
- I.loading ? (m(), W("div", $w, [...b[0] || (b[0] = [
9132
+ const c = n(() => !C.loading && !C.error && !C.items.length);
9133
+ return (G, b) => (m(), W("div", ZV, [
9134
+ I.loading ? (m(), W("div", lV, [...b[0] || (b[0] = [
9079
9135
  Y("p", null, "正在加载智能体…", -1)
9080
- ])])) : I.error ? (m(), W("div", IV, [
9136
+ ])])) : I.error ? (m(), W("div", dV, [
9081
9137
  Y("p", null, h(I.error), 1)
9082
- ])) : c.value ? (m(), W("div", gV, [...b[1] || (b[1] = [
9138
+ ])) : c.value ? (m(), W("div", GV, [...b[1] || (b[1] = [
9083
9139
  Y("p", null, "暂无可用智能体", -1)
9084
- ])])) : R("", !0),
9140
+ ])])) : a("", !0),
9085
9141
  (m(!0), W(Q, null, q(I.items, (i) => (m(), W("button", {
9086
9142
  key: i.id,
9087
9143
  type: "button",
9088
- class: n(["apf-assistant-picker__item", { "is-active": I.modelValue === i.id }]),
9144
+ class: u(["apf-assistant-picker__item", { "is-active": I.modelValue === i.id }]),
9089
9145
  onClick: (w) => l(i)
9090
9146
  }, [
9091
- Y("div", AV, [
9092
- Y("span", ZV, [
9093
- II($(RI), {
9147
+ Y("div", bV, [
9148
+ Y("span", mV, [
9149
+ II($(XI), {
9094
9150
  name: d(i),
9095
9151
  size: 22
9096
9152
  }, null, 8, ["name"])
9097
9153
  ]),
9098
- Y("span", lV, [
9154
+ Y("span", iV, [
9099
9155
  Y("b", null, h(i.name), 1),
9100
9156
  Y("small", null, h(i.description || "适合处理一类明确任务"), 1),
9101
- Y("span", dV, [
9157
+ Y("span", WV, [
9102
9158
  (m(!0), W(Q, null, q(A(i), (w) => (m(), W("span", {
9103
9159
  key: w,
9104
- class: n(["apf-assistant-picker__cap", { "is-confirm": w === "需要确认" }])
9160
+ class: u(["apf-assistant-picker__cap", { "is-confirm": w === "需要确认" }])
9105
9161
  }, h(w), 3))), 128))
9106
9162
  ])
9107
9163
  ])
9108
9164
  ]),
9109
9165
  Y("span", {
9110
- class: n(["apf-assistant-picker__choose", { "is-selected": I.modelValue === i.id }])
9166
+ class: u(["apf-assistant-picker__choose", { "is-selected": I.modelValue === i.id }])
9111
9167
  }, h(I.modelValue === i.id ? "已选择" : "开始使用"), 3)
9112
- ], 10, CV))), 128))
9168
+ ], 10, cV))), 128))
9113
9169
  ]));
9114
9170
  }
9115
- }), NN = /* @__PURE__ */ U(GV, [["__scopeId", "data-v-f05e69c0"]]), cV = { class: "apf-model-picker" }, bV = /* @__PURE__ */ j({
9171
+ }), yN = /* @__PURE__ */ U(BV, [["__scopeId", "data-v-f05e69c0"]]), YV = { class: "apf-model-picker" }, sV = /* @__PURE__ */ j({
9116
9172
  __name: "ModelPicker",
9117
9173
  props: {
9118
9174
  models: {},
@@ -9124,7 +9180,7 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9124
9180
  const C = g;
9125
9181
  return (Z, A) => {
9126
9182
  const d = _("el-option"), l = _("el-select");
9127
- return m(), W("label", cV, [
9183
+ return m(), W("label", YV, [
9128
9184
  II(l, {
9129
9185
  "model-value": I.modelValue || void 0,
9130
9186
  disabled: I.loading || !I.models.length,
@@ -9132,18 +9188,18 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9132
9188
  "onUpdate:modelValue": A[0] || (A[0] = (c) => C("update:modelValue", c))
9133
9189
  }, {
9134
9190
  default: O(() => [
9135
- I.loading ? (m(), x(d, {
9191
+ I.loading ? (m(), T(d, {
9136
9192
  key: 0,
9137
9193
  label: "正在加载模型…",
9138
9194
  value: "",
9139
9195
  disabled: ""
9140
- })) : I.models.length ? R("", !0) : (m(), x(d, {
9196
+ })) : I.models.length ? a("", !0) : (m(), T(d, {
9141
9197
  key: 1,
9142
9198
  label: "暂无可用模型",
9143
9199
  value: "",
9144
9200
  disabled: ""
9145
9201
  })),
9146
- (m(!0), W(Q, null, q(I.models, (c) => (m(), x(d, {
9202
+ (m(!0), W(Q, null, q(I.models, (c) => (m(), T(d, {
9147
9203
  key: c.id,
9148
9204
  label: `${c.name} · ${c.provider}`,
9149
9205
  value: c.id
@@ -9154,11 +9210,11 @@ const ns = { class: "apf-message-parts" }, Ms = ["innerHTML"], Ks = { class: "ap
9154
9210
  ]);
9155
9211
  };
9156
9212
  }
9157
- }), XN = /* @__PURE__ */ U(bV, [["__scopeId", "data-v-483ae73d"]]), Rl = Symbol("fg-toast");
9158
- function oN(I) {
9213
+ }), uN = /* @__PURE__ */ U(sV, [["__scopeId", "data-v-483ae73d"]]), Rl = Symbol("fg-toast");
9214
+ function nN(I) {
9159
9215
  return { [Rl]: I };
9160
9216
  }
9161
- function hN() {
9217
+ function MN() {
9162
9218
  const I = Id(Rl);
9163
9219
  return {
9164
9220
  show(g, C = "info", Z) {
@@ -9183,7 +9239,7 @@ function hN() {
9183
9239
  }
9184
9240
  };
9185
9241
  }
9186
- function aN() {
9242
+ function KN() {
9187
9243
  async function I(Z, A = {}) {
9188
9244
  const {
9189
9245
  title: d = "确认操作",
@@ -9224,7 +9280,7 @@ function aN() {
9224
9280
  confirmDanger: C
9225
9281
  };
9226
9282
  }
9227
- function RN() {
9283
+ function SN() {
9228
9284
  return {
9229
9285
  success(I, g = {}) {
9230
9286
  IC({ message: I, type: "success", ...g });
@@ -9240,7 +9296,7 @@ function RN() {
9240
9296
  }
9241
9297
  };
9242
9298
  }
9243
- function HN(I, g = 300) {
9299
+ function DN(I, g = 300) {
9244
9300
  const C = t(null);
9245
9301
  function Z(...A) {
9246
9302
  C.value && clearTimeout(C.value), C.value = setTimeout(() => {
@@ -9251,12 +9307,12 @@ function HN(I, g = 300) {
9251
9307
  C.value && clearTimeout(C.value);
9252
9308
  }), Z;
9253
9309
  }
9254
- function yN(I, g) {
9310
+ function FN(I, g) {
9255
9311
  var c;
9256
- const C = t(1), Z = t((g == null ? void 0 : g.initialPageSize) ?? Gl), A = u(() => {
9312
+ const C = t(1), Z = t((g == null ? void 0 : g.initialPageSize) ?? Gl), A = n(() => {
9257
9313
  const G = I.value, b = (C.value - 1) * Z.value;
9258
9314
  return G.slice(b, b + Z.value);
9259
- }), d = u(() => I.value.length);
9315
+ }), d = n(() => I.value.length);
9260
9316
  function l() {
9261
9317
  C.value = 1;
9262
9318
  }
@@ -9275,8 +9331,8 @@ function yN(I, g) {
9275
9331
  resetPage: l
9276
9332
  };
9277
9333
  }
9278
- function uN(I = {}) {
9279
- const { timeout: g = 15e3, silentError: C = !1 } = I, Z = t(!1), A = t(null), d = t(!1), l = u(() => A.value !== null);
9334
+ function pN(I = {}) {
9335
+ const { timeout: g = 15e3, silentError: C = !1 } = I, Z = t(!1), A = t(null), d = t(!1), l = n(() => A.value !== null);
9280
9336
  let c = null, G = 0;
9281
9337
  function b() {
9282
9338
  G++, G === 1 && (Z.value = !0, A.value = null, d.value = !1, c = setTimeout(() => {
@@ -9286,10 +9342,10 @@ function uN(I = {}) {
9286
9342
  function i() {
9287
9343
  G = Math.max(0, G - 1), G === 0 && (Z.value = !1, d.value = !1, c && (clearTimeout(c), c = null));
9288
9344
  }
9289
- async function w(a) {
9345
+ async function w(R) {
9290
9346
  b();
9291
9347
  try {
9292
- return await a();
9348
+ return await R();
9293
9349
  } catch (V) {
9294
9350
  return C || (A.value = V instanceof Error ? V.message : "加载失败"), null;
9295
9351
  } finally {
@@ -9308,7 +9364,7 @@ function uN(I = {}) {
9308
9364
  reset: s
9309
9365
  };
9310
9366
  }
9311
- function nN(I) {
9367
+ function JN(I) {
9312
9368
  const {
9313
9369
  containerRef: g,
9314
9370
  autoScroll: C = !0,
@@ -9316,13 +9372,13 @@ function nN(I) {
9316
9372
  offset: A = 50
9317
9373
  } = I, d = t(!0), l = t(C);
9318
9374
  function c() {
9319
- const a = g.value;
9320
- if (!a) return !0;
9321
- const { scrollTop: V, scrollHeight: X, clientHeight: o } = a;
9375
+ const R = g.value;
9376
+ if (!R) return !0;
9377
+ const { scrollTop: V, scrollHeight: X, clientHeight: o } = R;
9322
9378
  return X - V - o < A;
9323
9379
  }
9324
- async function G(a = !0) {
9325
- if (!a && !l.value) return;
9380
+ async function G(R = !0) {
9381
+ if (!R && !l.value) return;
9326
9382
  await $I();
9327
9383
  const V = g.value;
9328
9384
  V && V.scrollTo({
@@ -9330,10 +9386,10 @@ function nN(I) {
9330
9386
  behavior: Z
9331
9387
  });
9332
9388
  }
9333
- function b(a) {
9389
+ function b(R) {
9334
9390
  const V = g.value;
9335
9391
  V && V.scrollTo({
9336
- top: a,
9392
+ top: R,
9337
9393
  behavior: Z
9338
9394
  });
9339
9395
  }
@@ -9347,11 +9403,11 @@ function nN(I) {
9347
9403
  d.value = c(), d.value && (l.value = !0);
9348
9404
  }
9349
9405
  return tg(() => {
9350
- const a = g.value;
9351
- a && (a.addEventListener("scroll", s), d.value = c());
9406
+ const R = g.value;
9407
+ R && (R.addEventListener("scroll", s), d.value = c());
9352
9408
  }), mg(() => {
9353
- const a = g.value;
9354
- a && a.removeEventListener("scroll", s);
9409
+ const R = g.value;
9410
+ R && R.removeEventListener("scroll", s);
9355
9411
  }), {
9356
9412
  scrollToBottom: G,
9357
9413
  scrollTo: b,
@@ -9363,7 +9419,7 @@ function nN(I) {
9363
9419
  };
9364
9420
  }
9365
9421
  const tC = /* @__PURE__ */ new Map();
9366
- function MN(I) {
9422
+ function zN(I) {
9367
9423
  const {
9368
9424
  url: g,
9369
9425
  token: C,
@@ -9413,7 +9469,7 @@ function MN(I) {
9413
9469
  o();
9414
9470
  }, K);
9415
9471
  }
9416
- function a(K) {
9472
+ function R(K) {
9417
9473
  if (!(l != null && l.ws) || l.ws.readyState !== WebSocket.OPEN) return;
9418
9474
  const e = {
9419
9475
  action: "subscribe",
@@ -9438,8 +9494,8 @@ function MN(I) {
9438
9494
  H == null ? e = !0 : K.add(H);
9439
9495
  }
9440
9496
  const y = b();
9441
- y == null ? e = !0 : K.add(y), e && a(void 0);
9442
- for (const p of K) a(p);
9497
+ y == null ? e = !0 : K.add(y), e && R(void 0);
9498
+ for (const p of K) R(p);
9443
9499
  }
9444
9500
  function X(K) {
9445
9501
  if (!l) return;
@@ -9453,7 +9509,7 @@ function MN(I) {
9453
9509
  function o() {
9454
9510
  if (!l) return;
9455
9511
  if (l.ws && (l.ws.readyState === WebSocket.OPEN || l.ws.readyState === WebSocket.CONNECTING)) {
9456
- l.ws.readyState === WebSocket.OPEN && a(b());
9512
+ l.ws.readyState === WebSocket.OPEN && R(b());
9457
9513
  return;
9458
9514
  }
9459
9515
  l.intentionalClose = !1, l.status.value = "connecting";
@@ -9499,7 +9555,7 @@ function MN(I) {
9499
9555
  getProjectId: b,
9500
9556
  handler: e
9501
9557
  };
9502
- return y.add(p), c.push(p), ((J = l.ws) == null ? void 0 : J.readyState) === WebSocket.OPEN && a(b()), () => {
9558
+ return y.add(p), c.push(p), ((J = l.ws) == null ? void 0 : J.readyState) === WebSocket.OPEN && R(b()), () => {
9503
9559
  y == null || y.delete(p);
9504
9560
  const H = c.indexOf(p);
9505
9561
  H >= 0 && c.splice(H, 1);
@@ -9507,12 +9563,12 @@ function MN(I) {
9507
9563
  }
9508
9564
  return o(), NI(b, (K) => {
9509
9565
  var e;
9510
- ((e = l == null ? void 0 : l.ws) == null ? void 0 : e.readyState) === WebSocket.OPEN && a(K);
9566
+ ((e = l == null ? void 0 : l.ws) == null ? void 0 : e.readyState) === WebSocket.OPEN && R(K);
9511
9567
  }), mg(() => {
9512
9568
  k();
9513
9569
  }), { status: G, connect: o, disconnect: k, on: L };
9514
9570
  }
9515
- function KN(I) {
9571
+ function kN(I) {
9516
9572
  if (!I) return "操作失败";
9517
9573
  if (typeof I == "string") return I;
9518
9574
  if (I instanceof Error) return I.message || "操作失败";
@@ -9529,9 +9585,9 @@ function KN(I) {
9529
9585
  }
9530
9586
  return "操作失败";
9531
9587
  }
9532
- const mV = /\/(?:schema-platform\/)?api\/ai\/documents\/([^/?#]+)\/file/i, xZ = /\.(mp4|webm|mov|m4v)(?:\?|#|$|\s)/i, iV = /\.(png|jpe?g|gif|webp|bmp|svg)(?:\?|#|$|\s)/i, TC = /\.pdf(?:\?|#|$|\s)/i, xC = /\.(docx?|xlsx?|csv|txt|md)(?:\?|#|$|\s)/i, jZ = /(?:https?:\/\/[^\s"'<>\]]+|\/(?:schema-platform\/)?api\/ai\/documents\/[^/\s"'<>\]]+\/file)/gi;
9588
+ const wV = /\/(?:schema-platform\/)?api\/ai\/documents\/([^/?#]+)\/file/i, xZ = /\.(mp4|webm|mov|m4v)(?:\?|#|$|\s)/i, VV = /\.(png|jpe?g|gif|webp|bmp|svg)(?:\?|#|$|\s)/i, TC = /\.pdf(?:\?|#|$|\s)/i, xC = /\.(docx?|xlsx?|csv|txt|md)(?:\?|#|$|\s)/i, jZ = /(?:https?:\/\/[^\s"'<>\]]+|\/(?:schema-platform\/)?api\/ai\/documents\/[^/\s"'<>\]]+\/file)/gi;
9533
9589
  function kg(I) {
9534
- const g = I.trim().match(mV);
9590
+ const g = I.trim().match(wV);
9535
9591
  if (g != null && g[1]) return g[1];
9536
9592
  if (/^[0-9a-f]{24}$/i.test(I.trim())) return I.trim();
9537
9593
  }
@@ -9546,7 +9602,7 @@ function og(I) {
9546
9602
  return TC.test(c) || Z.includes("pdf") ? "pdf" : xC.test(c) || /word|sheet|excel|csv|text/.test(Z) ? "office" : "file";
9547
9603
  }
9548
9604
  const d = [g, C].filter(Boolean).join(" ").toLowerCase(), l = Z.toLowerCase();
9549
- return l.startsWith("video/") || xZ.test(d) ? "video" : l.startsWith("image/") || iV.test(d) ? "image" : l.includes("pdf") || TC.test(d) ? "pdf" : xC.test(d) || l.includes("word") || l.includes("sheet") || l.includes("excel") || l.includes("csv") || l.startsWith("text/") ? "office" : kg(g) && !TC.test(g) && !xC.test(g) && !xZ.test(g) ? "image" : "file";
9605
+ return l.startsWith("video/") || xZ.test(d) ? "video" : l.startsWith("image/") || VV.test(d) ? "image" : l.includes("pdf") || TC.test(d) ? "pdf" : xC.test(d) || l.includes("word") || l.includes("sheet") || l.includes("excel") || l.includes("csv") || l.startsWith("text/") ? "office" : kg(g) && !TC.test(g) && !xC.test(g) && !xZ.test(g) ? "image" : "file";
9550
9606
  }
9551
9607
  function _I(I, g, C) {
9552
9608
  var A;
@@ -9568,7 +9624,7 @@ function QZ(I) {
9568
9624
  }
9569
9625
  return null;
9570
9626
  }
9571
- function SN(I, g = "art") {
9627
+ function eN(I, g = "art") {
9572
9628
  if (I == null) return [];
9573
9629
  const C = [], Z = /* @__PURE__ */ new Set();
9574
9630
  let A = 0;
@@ -9611,10 +9667,10 @@ function SN(I, g = "art") {
9611
9667
  for (const w of G) {
9612
9668
  let s = "";
9613
9669
  if (typeof w == "string" ? s = w : w && typeof w == "object" && "url" in w && (s = String(w.url ?? "")), !s.trim()) continue;
9614
- const a = og({ url: s, hint: i });
9670
+ const R = og({ url: s, hint: i });
9615
9671
  _I(C, Z, {
9616
9672
  id: d(),
9617
- kind: a,
9673
+ kind: R,
9618
9674
  url: s,
9619
9675
  documentId: kg(s),
9620
9676
  source: b
@@ -9663,7 +9719,7 @@ function SN(I, g = "art") {
9663
9719
  }
9664
9720
  return C;
9665
9721
  }
9666
- function DN(I) {
9722
+ function LN(I) {
9667
9723
  return I.map((g, C) => {
9668
9724
  const Z = og({
9669
9725
  url: g.url,
@@ -9682,96 +9738,97 @@ function DN(I) {
9682
9738
  };
9683
9739
  });
9684
9740
  }
9685
- const FN = "1.10.1", pN = "2.14.2", JN = "2026-08-27";
9741
+ const tN = "1.10.1", TN = "2.14.2", xN = "2026-08-27";
9686
9742
  export {
9687
- sV as APP_ICON_NAMES,
9688
- tV as AVATAR_SIZE,
9743
+ hV as APP_ICON_NAMES,
9744
+ vV as AVATAR_SIZE,
9689
9745
  gA as AppDialog,
9690
- RI as AppIcon,
9691
- VV as AppPagination,
9692
- nV as AppUserPanel,
9693
- YN as ApprovalCard,
9746
+ XI as AppIcon,
9747
+ RV as AppPagination,
9748
+ pV as AppUserPanel,
9749
+ oN as ApprovalCard,
9694
9750
  cA as ArtifactGallery,
9695
- NN as AssistantPicker,
9751
+ yN as AssistantPicker,
9696
9752
  y2 as AttachmentPreviewModal,
9697
- eV as BORDER_RADIUS,
9698
- qV as BreadcrumbNav,
9753
+ QV as BORDER_RADIUS,
9754
+ AN as BreadcrumbNav,
9699
9755
  JI as CHART_COLORS,
9700
9756
  QI as COLORS,
9701
- pV as CONTROL_HEIGHT,
9702
- yV as CardGridSkeleton,
9703
- $V as CardTable,
9704
- BN as Composer,
9705
- NV as ConfirmDialog,
9757
+ tV as CONTROL_HEIGHT,
9758
+ DV as CardGridSkeleton,
9759
+ lN as CardTable,
9760
+ XN as Composer,
9761
+ HV as ConfirmDialog,
9706
9762
  H0 as ContentPanel,
9707
- VN as ConversationHeader,
9763
+ RN as ConversationHeader,
9708
9764
  Gl as DEFAULT_PAGE_SIZE,
9709
- TV as DURATION,
9710
- cN as DocumentPreviewDrawer,
9765
+ OV as DURATION,
9766
+ YN as DocumentPreviewDrawer,
9711
9767
  bB as DocumentPreviewPanel,
9712
9768
  d2 as DocumentSummaryList,
9713
- pN as EP_FORK_BASE,
9714
- JN as EP_FORK_DATE,
9769
+ TN as EP_FORK_BASE,
9770
+ xN as EP_FORK_DATE,
9715
9771
  cg as EmptyState,
9716
- aV as ErrorBoundary,
9772
+ MV as ErrorBoundary,
9717
9773
  $W as ExcelPreviewCard,
9718
- iN as ExecutionArtifactPanel,
9719
- DV as FONT_SIZE,
9720
- LV as FORM,
9721
- CN as FieldRow,
9774
+ VN as ExecutionArtifactPanel,
9775
+ eV as FONT_SIZE,
9776
+ UV as FORM,
9777
+ cN as FieldRow,
9722
9778
  nB as FileChip,
9723
- _V as FilterBar,
9724
- oV as FilterTabs,
9725
- XV as FormDialog,
9726
- AN as HintText,
9727
- mN as HitlArtifactPanel,
9779
+ ZN as FilterBar,
9780
+ uV as FilterTabs,
9781
+ yV as FormDialog,
9782
+ bN as HintText,
9783
+ wN as HitlArtifactPanel,
9728
9784
  lA as ICON_MAP,
9729
- zV as ICON_SIZE,
9785
+ xV as ICON_SIZE,
9730
9786
  BB as ImagePreviewCard,
9731
9787
  VW as JsonCard,
9732
9788
  oW as JsonDetailDialog,
9733
- JV as LAYOUT_HEIGHT,
9734
- lN as LoadingDots,
9735
- EV as LogStream,
9789
+ TV as LAYOUT_HEIGHT,
9790
+ iN as LoadingDots,
9791
+ $V as LogStream,
9736
9792
  qs as MessageAttachmentList,
9737
9793
  f2 as MessageBubble,
9738
- WN as MessageList,
9794
+ NN as MessageList,
9739
9795
  js as MessageParts,
9740
- jV as MetricChart,
9741
- XN as ModelPicker,
9742
- bN as NodeArtifactStrip,
9743
- kV as PAGE,
9796
+ PV as MetricChart,
9797
+ uN as ModelPicker,
9798
+ sN as NodeArtifactStrip,
9799
+ jV as PAGE,
9744
9800
  ub as PAGE_SIZE_OPTIONS,
9745
9801
  nb as PAGINATION_LAYOUT,
9746
- fV as PageHeader,
9747
- rV as PageShell,
9802
+ CN as PageHeader,
9803
+ gN as PageShell,
9748
9804
  cl as PdfPreviewCard,
9749
- wN as ProcessingDrawer,
9805
+ HN as PendingAttachmentChip,
9806
+ aN as ProcessingDrawer,
9750
9807
  hw as RunStatusBar,
9751
- FN as SCHEMA_UI_VERSION,
9808
+ tN as SCHEMA_UI_VERSION,
9752
9809
  y0 as SHADOWS,
9753
- FV as SPACING,
9754
- dN as SchemaLitePreview,
9755
- gN as SearchForm,
9756
- ZN as SectionToggle,
9757
- vV as ServiceGrid,
9758
- sN as SessionSidebar,
9759
- UV as SeverityBadge,
9760
- HV as Skeleton,
9761
- MV as SliderCaptcha,
9762
- QV as StatCard,
9763
- RV as StatusTag,
9764
- OV as StatusTimeline,
9765
- SV as TEXT_COLORS,
9766
- IN as TableRowActions,
9810
+ LV as SPACING,
9811
+ WN as SchemaLitePreview,
9812
+ GN as SearchForm,
9813
+ mN as SectionToggle,
9814
+ qV as ServiceGrid,
9815
+ hN as SessionSidebar,
9816
+ fV as SeverityBadge,
9817
+ SV as Skeleton,
9818
+ JV as SliderCaptcha,
9819
+ rV as StatCard,
9820
+ KV as StatusTag,
9821
+ _V as StatusTimeline,
9822
+ kV as TEXT_COLORS,
9823
+ dN as TableRowActions,
9767
9824
  RB as TextPreviewCard,
9768
- PV as ThresholdSlider,
9769
- KV as TimeRangePicker,
9770
- hV as Toast,
9825
+ IN as ThresholdSlider,
9826
+ zV as TimeRangePicker,
9827
+ nV as Toast,
9771
9828
  _i as TruncatedTooltipText,
9772
- uV as UserAvatar,
9829
+ FV as UserAvatar,
9773
9830
  wB as VideoPreviewCard,
9774
- xV as Z_INDEX,
9831
+ EV as Z_INDEX,
9775
9832
  og as detectArtifactKind,
9776
9833
  kg as extractDocumentId,
9777
9834
  dA as fileKind,
@@ -9779,22 +9836,22 @@ export {
9779
9836
  Rg as isImage,
9780
9837
  BZ as isOffice,
9781
9838
  Lg as isPdf,
9782
- GN as isPreviewable,
9783
- wV as isRegisteredAppIcon,
9784
- DN as normalizeAttachments,
9785
- SN as normalizeNodeOutput,
9786
- oN as provideToast,
9839
+ BN as isPreviewable,
9840
+ aV as isRegisteredAppIcon,
9841
+ LN as normalizeAttachments,
9842
+ eN as normalizeNodeOutput,
9843
+ nN as provideToast,
9787
9844
  us as renderMarkdown,
9788
- KN as resolveApiErrorMessage,
9845
+ kN as resolveApiErrorMessage,
9789
9846
  ys as splitTextAndCodeBlocks,
9790
9847
  QZ as tryParseJsonText,
9791
- nN as useChatScroll,
9792
- yN as useClientPagination,
9848
+ JN as useChatScroll,
9849
+ FN as useClientPagination,
9793
9850
  VB as useClipboard,
9794
- aN as useConfirm,
9795
- uN as useDataLoading,
9796
- HN as useDebounceFn,
9797
- RN as useMessage,
9798
- MN as useRealtime,
9799
- hN as useToast
9851
+ KN as useConfirm,
9852
+ pN as useDataLoading,
9853
+ DN as useDebounceFn,
9854
+ SN as useMessage,
9855
+ zN as useRealtime,
9856
+ MN as useToast
9800
9857
  };