@farris/x-ui 0.4.5 → 0.4.7

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.
@@ -13,7 +13,7 @@ var ji = (e, t, r, n) => ({
13
13
  return H(e, t, n);
14
14
  }
15
15
  });
16
- import { defineComponent as Xe, ref as ye, createVNode as y, h as ua, watch as et, onMounted as w0, reactive as U6, computed as le, onUnmounted as _n, createTextVNode as nt, Fragment as M0, nextTick as Wt, onBeforeUnmount as pu, Teleport as so, withDirectives as qs, vShow as of, resolveDirective as Jd, mergeProps as lf, shallowRef as oi, resolveComponent as e2, provide as Lr, inject as Ft, useId as W6, toRef as G6, createApp as V6, isVNode as cf } from "vue";
16
+ import { defineComponent as Xe, ref as ye, createVNode as y, h as ua, watch as et, onMounted as w0, reactive as U6, computed as le, onUnmounted as _n, createTextVNode as it, Fragment as M0, nextTick as Wt, onBeforeUnmount as pu, Teleport as so, withDirectives as qs, vShow as of, resolveDirective as Jd, mergeProps as lf, shallowRef as oi, resolveComponent as e2, provide as Lr, inject as Ft, useId as W6, toRef as G6, createApp as V6, isVNode as cf } from "vue";
17
17
  const X6 = {
18
18
  content: {
19
19
  type: Object,
@@ -687,7 +687,7 @@ const pf = /* @__PURE__ */ Xe({
687
687
  class: "file-type"
688
688
  }, [k(T.type)])]), T.size && y(M0, null, [y("div", {
689
689
  class: "file-info-divider"
690
- }, null), nt(" "), y("span", {
690
+ }, null), it(" "), y("span", {
691
691
  class: "file-size"
692
692
  }, [u(T.size)])])])]);
693
693
  }
@@ -712,11 +712,11 @@ const pf = /* @__PURE__ */ Xe({
712
712
  }, [y(Mu, {
713
713
  status: "Working",
714
714
  variant: "attachment"
715
- }, null), nt(" 生成中")]), T.timestamp ? y("span", {
715
+ }, null), it(" 生成中")]), T.timestamp ? y("span", {
716
716
  class: "f-chat-bubble-attachment-text"
717
- }, [nt("创建时间:"), o(T.timestamp)]) : T.size ? y("span", {
717
+ }, [it("创建时间:"), o(T.timestamp)]) : T.size ? y("span", {
718
718
  class: "f-chat-bubble-attachment-size"
719
- }, [nt("文件大小:"), u(T.size)]) : null])]), e.showDownloadButton !== !1 && F ? y("button", {
719
+ }, [it("文件大小:"), u(T.size)]) : null])]), e.showDownloadButton !== !1 && F ? y("button", {
720
720
  type: "button",
721
721
  class: "f-chat-bubble-attachment-download-btn",
722
722
  "aria-label": "下载附件",
@@ -743,7 +743,7 @@ const pf = /* @__PURE__ */ Xe({
743
743
  onClick: x
744
744
  }, [y("span", {
745
745
  class: "f-chat-bubble-attachment-preview-btn-text"
746
- }, [nt("查看全部文件")]), y("i", {
746
+ }, [it("查看全部文件")]), y("i", {
747
747
  class: "fx-icon fx-icon-sort-asc-sm",
748
748
  style: {
749
749
  transform: "rotate(90deg)"
@@ -1333,7 +1333,7 @@ function Sf() {
1333
1333
  } = c2, X = null;
1334
1334
  const Z = ht({}, [...i2, ...ml, ...pl, ...gl, ...s2]);
1335
1335
  let Q = null;
1336
- const ie = ht({}, [...o2, ...bl, ...l2, ...Ui]);
1336
+ const ae = ht({}, [...o2, ...bl, ...l2, ...Ui]);
1337
1337
  let fe = Object.seal(os(null, {
1338
1338
  tagNameCheck: {
1339
1339
  writable: !0,
@@ -1353,7 +1353,7 @@ function Sf() {
1353
1353
  enumerable: !0,
1354
1354
  value: !1
1355
1355
  }
1356
- })), ke = null, ae = null;
1356
+ })), ke = null, ie = null;
1357
1357
  const me = Object.seal(os(null, {
1358
1358
  tagCheck: {
1359
1359
  writable: !0,
@@ -1389,7 +1389,7 @@ function Sf() {
1389
1389
  let K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1390
1390
  if (!(Tt && Tt === K)) {
1391
1391
  if ((!K || typeof K != "object") && (K = {}), K = rn(K), vu = // eslint-disable-next-line unicorn/prefer-includes
1392
- Mo.indexOf(K.PARSER_MEDIA_TYPE) === -1 ? zo : K.PARSER_MEDIA_TYPE, jt = vu === "application/xhtml+xml" ? fl : ls, X = cr(K, "ALLOWED_TAGS") ? ht({}, K.ALLOWED_TAGS, jt) : Z, Q = cr(K, "ALLOWED_ATTR") ? ht({}, K.ALLOWED_ATTR, jt) : ie, qn = cr(K, "ALLOWED_NAMESPACES") ? ht({}, K.ALLOWED_NAMESPACES, fl) : bi, sr = cr(K, "ADD_URI_SAFE_ATTR") ? ht(rn(_r), K.ADD_URI_SAFE_ATTR, jt) : _r, vn = cr(K, "ADD_DATA_URI_TAGS") ? ht(rn(_0), K.ADD_DATA_URI_TAGS, jt) : _0, T0 = cr(K, "FORBID_CONTENTS") ? ht({}, K.FORBID_CONTENTS, jt) : Kr, ke = cr(K, "FORBID_TAGS") ? ht({}, K.FORBID_TAGS, jt) : rn({}), ae = cr(K, "FORBID_ATTR") ? ht({}, K.FORBID_ATTR, jt) : rn({}), q0 = cr(K, "USE_PROFILES") ? K.USE_PROFILES : !1, ge = K.ALLOW_ARIA_ATTR !== !1, Ne = K.ALLOW_DATA_ATTR !== !1, Ke = K.ALLOW_UNKNOWN_PROTOCOLS || !1, Qe = K.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = K.SAFE_FOR_TEMPLATES || !1, ct = K.SAFE_FOR_XML !== !1, dt = K.WHOLE_DOCUMENT || !1, r0 = K.RETURN_DOM || !1, pt = K.RETURN_DOM_FRAGMENT || !1, Ee = K.RETURN_TRUSTED_TYPE || !1, H0 = K.FORCE_BODY || !1, ir = K.SANITIZE_DOM !== !1, bu = K.SANITIZE_NAMED_PROPS || !1, Nn = K.KEEP_CONTENT !== !1, zr = K.IN_PLACE || !1, Ve = K.ALLOWED_URI_REGEXP || Cf, Hn = K.NAMESPACE || Ir, Iu = K.MATHML_TEXT_INTEGRATION_POINTS || Iu, jn = K.HTML_INTEGRATION_POINTS || jn, fe = K.CUSTOM_ELEMENT_HANDLING || {}, K.CUSTOM_ELEMENT_HANDLING && w(K.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (fe.tagNameCheck = K.CUSTOM_ELEMENT_HANDLING.tagNameCheck), K.CUSTOM_ELEMENT_HANDLING && w(K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (fe.attributeNameCheck = K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), K.CUSTOM_ELEMENT_HANDLING && typeof K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (Ne = !1), pt && (r0 = !0), q0 && (X = ht({}, s2), Q = os(null), q0.html === !0 && (ht(X, i2), ht(Q, o2)), q0.svg === !0 && (ht(X, ml), ht(Q, bl), ht(Q, Ui)), q0.svgFilters === !0 && (ht(X, pl), ht(Q, bl), ht(Q, Ui)), q0.mathMl === !0 && (ht(X, gl), ht(Q, l2), ht(Q, Ui))), cr(K, "ADD_TAGS") || (me.tagCheck = null), cr(K, "ADD_ATTR") || (me.attributeCheck = null), K.ADD_TAGS && (typeof K.ADD_TAGS == "function" ? me.tagCheck = K.ADD_TAGS : (X === Z && (X = rn(X)), ht(X, K.ADD_TAGS, jt))), K.ADD_ATTR && (typeof K.ADD_ATTR == "function" ? me.attributeCheck = K.ADD_ATTR : (Q === ie && (Q = rn(Q)), ht(Q, K.ADD_ATTR, jt))), K.ADD_URI_SAFE_ATTR && ht(sr, K.ADD_URI_SAFE_ATTR, jt), K.FORBID_CONTENTS && (T0 === Kr && (T0 = rn(T0)), ht(T0, K.FORBID_CONTENTS, jt)), K.ADD_FORBID_CONTENTS && (T0 === Kr && (T0 = rn(T0)), ht(T0, K.ADD_FORBID_CONTENTS, jt)), Nn && (X["#text"] = !0), dt && ht(X, ["html", "head", "body"]), X.table && (ht(X, ["tbody"]), delete ke.tbody), K.TRUSTED_TYPES_POLICY) {
1392
+ Mo.indexOf(K.PARSER_MEDIA_TYPE) === -1 ? zo : K.PARSER_MEDIA_TYPE, jt = vu === "application/xhtml+xml" ? fl : ls, X = cr(K, "ALLOWED_TAGS") ? ht({}, K.ALLOWED_TAGS, jt) : Z, Q = cr(K, "ALLOWED_ATTR") ? ht({}, K.ALLOWED_ATTR, jt) : ae, qn = cr(K, "ALLOWED_NAMESPACES") ? ht({}, K.ALLOWED_NAMESPACES, fl) : bi, sr = cr(K, "ADD_URI_SAFE_ATTR") ? ht(rn(_r), K.ADD_URI_SAFE_ATTR, jt) : _r, vn = cr(K, "ADD_DATA_URI_TAGS") ? ht(rn(_0), K.ADD_DATA_URI_TAGS, jt) : _0, T0 = cr(K, "FORBID_CONTENTS") ? ht({}, K.FORBID_CONTENTS, jt) : Kr, ke = cr(K, "FORBID_TAGS") ? ht({}, K.FORBID_TAGS, jt) : rn({}), ie = cr(K, "FORBID_ATTR") ? ht({}, K.FORBID_ATTR, jt) : rn({}), q0 = cr(K, "USE_PROFILES") ? K.USE_PROFILES : !1, ge = K.ALLOW_ARIA_ATTR !== !1, Ne = K.ALLOW_DATA_ATTR !== !1, Ke = K.ALLOW_UNKNOWN_PROTOCOLS || !1, Qe = K.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = K.SAFE_FOR_TEMPLATES || !1, ct = K.SAFE_FOR_XML !== !1, dt = K.WHOLE_DOCUMENT || !1, r0 = K.RETURN_DOM || !1, pt = K.RETURN_DOM_FRAGMENT || !1, Ee = K.RETURN_TRUSTED_TYPE || !1, H0 = K.FORCE_BODY || !1, ir = K.SANITIZE_DOM !== !1, bu = K.SANITIZE_NAMED_PROPS || !1, Nn = K.KEEP_CONTENT !== !1, zr = K.IN_PLACE || !1, Ve = K.ALLOWED_URI_REGEXP || Cf, Hn = K.NAMESPACE || Ir, Iu = K.MATHML_TEXT_INTEGRATION_POINTS || Iu, jn = K.HTML_INTEGRATION_POINTS || jn, fe = K.CUSTOM_ELEMENT_HANDLING || {}, K.CUSTOM_ELEMENT_HANDLING && w(K.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (fe.tagNameCheck = K.CUSTOM_ELEMENT_HANDLING.tagNameCheck), K.CUSTOM_ELEMENT_HANDLING && w(K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (fe.attributeNameCheck = K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), K.CUSTOM_ELEMENT_HANDLING && typeof K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (Ne = !1), pt && (r0 = !0), q0 && (X = ht({}, s2), Q = os(null), q0.html === !0 && (ht(X, i2), ht(Q, o2)), q0.svg === !0 && (ht(X, ml), ht(Q, bl), ht(Q, Ui)), q0.svgFilters === !0 && (ht(X, pl), ht(Q, bl), ht(Q, Ui)), q0.mathMl === !0 && (ht(X, gl), ht(Q, l2), ht(Q, Ui))), cr(K, "ADD_TAGS") || (me.tagCheck = null), cr(K, "ADD_ATTR") || (me.attributeCheck = null), K.ADD_TAGS && (typeof K.ADD_TAGS == "function" ? me.tagCheck = K.ADD_TAGS : (X === Z && (X = rn(X)), ht(X, K.ADD_TAGS, jt))), K.ADD_ATTR && (typeof K.ADD_ATTR == "function" ? me.attributeCheck = K.ADD_ATTR : (Q === ae && (Q = rn(Q)), ht(Q, K.ADD_ATTR, jt))), K.ADD_URI_SAFE_ATTR && ht(sr, K.ADD_URI_SAFE_ATTR, jt), K.FORBID_CONTENTS && (T0 === Kr && (T0 = rn(T0)), ht(T0, K.FORBID_CONTENTS, jt)), K.ADD_FORBID_CONTENTS && (T0 === Kr && (T0 = rn(T0)), ht(T0, K.ADD_FORBID_CONTENTS, jt)), Nn && (X["#text"] = !0), dt && ht(X, ["html", "head", "body"]), X.table && (ht(X, ["tbody"]), delete ke.tbody), K.TRUSTED_TYPES_POLICY) {
1393
1393
  if (typeof K.TRUSTED_TYPES_POLICY.createHTML != "function")
1394
1394
  throw Sa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1395
1395
  if (typeof K.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -1512,12 +1512,12 @@ function Sf() {
1512
1512
  element: K.cloneNode()
1513
1513
  }), K.textContent = de)), j0(ce.afterSanitizeElements, K, null), !1);
1514
1514
  }, Ar = function(K, de, $e) {
1515
- if (ae[de] || ir && (de === "id" || de === "name") && ($e in r || $e in b))
1515
+ if (ie[de] || ir && (de === "id" || de === "name") && ($e in r || $e in b))
1516
1516
  return !1;
1517
- if (!(Ne && !ae[de] && U0(Se, de))) {
1517
+ if (!(Ne && !ie[de] && U0(Se, de))) {
1518
1518
  if (!(ge && U0(te, de))) {
1519
1519
  if (!(me.attributeCheck instanceof Function && me.attributeCheck(de, K))) {
1520
- if (!Q[de] || ae[de]) {
1520
+ if (!Q[de] || ie[de]) {
1521
1521
  if (
1522
1522
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1523
1523
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -1921,7 +1921,7 @@ class Vn {
1921
1921
  return this.size >= 2;
1922
1922
  }
1923
1923
  }
1924
- var l1 = 0, js = 1, Gu = 2, Bn = 3, Za = 4, Tr = 5, aa = 6, K0 = 7, nn = [new Vn(l1, 0, !1), new Vn(js, 0, !0), new Vn(Gu, 1, !1), new Vn(Bn, 1, !0), new Vn(Za, 2, !1), new Vn(Tr, 2, !0), new Vn(aa, 3, !1), new Vn(K0, 3, !0)], hm = [Za, Tr, Za, Tr, aa, K0, aa, K0], mm = [Tr, Tr, Tr, Tr, K0, K0, K0, K0], pm = [Gu, Bn, Za, Tr, aa, K0, aa, K0], gm = [Bn, Bn, Tr, Tr, K0, K0, K0, K0], bm = [js, js, Bn, Bn, Tr, Tr, K0, K0], vm = [l1, js, Gu, Bn, Gu, Bn, Gu, Bn], ut = {
1924
+ var l1 = 0, js = 1, Gu = 2, Bn = 3, Za = 4, Tr = 5, aa = 6, K0 = 7, nn = [new Vn(l1, 0, !1), new Vn(js, 0, !0), new Vn(Gu, 1, !1), new Vn(Bn, 1, !0), new Vn(Za, 2, !1), new Vn(Tr, 2, !0), new Vn(aa, 3, !1), new Vn(K0, 3, !0)], hm = [Za, Tr, Za, Tr, aa, K0, aa, K0], mm = [Tr, Tr, Tr, Tr, K0, K0, K0, K0], pm = [Gu, Bn, Za, Tr, aa, K0, aa, K0], gm = [Bn, Bn, Tr, Tr, K0, K0, K0, K0], bm = [js, js, Bn, Bn, Tr, Tr, K0, K0], vm = [l1, js, Gu, Bn, Gu, Bn, Gu, Bn], nt = {
1925
1925
  DISPLAY: nn[l1],
1926
1926
  TEXT: nn[Gu],
1927
1927
  SCRIPT: nn[Za],
@@ -6126,10 +6126,10 @@ var Gs = function(t) {
6126
6126
  }, f0 = function(t) {
6127
6127
  return t.type === "ordgroup" ? t.body : [t];
6128
6128
  }, Xm = /* @__PURE__ */ new Set(["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"]), Ym = /* @__PURE__ */ new Set(["rightmost", "mrel", "mclose", "mpunct"]), Zm = {
6129
- display: ut.DISPLAY,
6130
- text: ut.TEXT,
6131
- script: ut.SCRIPT,
6132
- scriptscript: ut.SCRIPTSCRIPT
6129
+ display: nt.DISPLAY,
6130
+ text: nt.TEXT,
6131
+ script: nt.SCRIPT,
6132
+ scriptscript: nt.SCRIPTSCRIPT
6133
6133
  }, Km = {
6134
6134
  mord: "mord",
6135
6135
  mop: "mop",
@@ -6684,7 +6684,7 @@ class Sn {
6684
6684
  Sn.BASESIZE = 6;
6685
6685
  var jf = function(t) {
6686
6686
  return new Sn({
6687
- style: t.displayMode ? ut.DISPLAY : ut.TEXT,
6687
+ style: t.displayMode ? nt.DISPLAY : nt.TEXT,
6688
6688
  maxSize: t.maxSize,
6689
6689
  minRuleThickness: t.minRuleThickness
6690
6690
  });
@@ -7741,8 +7741,8 @@ var Ma = function(t, r, n) {
7741
7741
  }, m7 = function(t, r, n, a) {
7742
7742
  return X0(t, "Size" + r + "-Regular", n, a);
7743
7743
  }, Jf = function(t, r, n, a, u, o) {
7744
- var c = m7(t, r, u, a), d = g1(Te(["delimsizing", "size" + r], [c], a), ut.TEXT, a, o);
7745
- return n && Qf(d, a, ut.TEXT), d;
7744
+ var c = m7(t, r, u, a), d = g1(Te(["delimsizing", "size" + r], [c], a), nt.TEXT, a, o);
7745
+ return n && Qf(d, a, nt.TEXT), d;
7746
7746
  }, kl = function(t, r, n) {
7747
7747
  var a;
7748
7748
  r === "Size1-Regular" ? a = "delim-size1" : a = "delim-size4";
@@ -7800,12 +7800,12 @@ var Ma = function(t, r, n) {
7800
7800
  }
7801
7801
  be.push(Qi), be.push(kl(c, k, u));
7802
7802
  }
7803
- var Q = a.havingBaseStyle(ut.TEXT), ie = kt({
7803
+ var Q = a.havingBaseStyle(nt.TEXT), ae = kt({
7804
7804
  positionType: "bottom",
7805
7805
  positionData: ce,
7806
7806
  children: be
7807
7807
  });
7808
- return g1(Te(["delimsizing", "mult"], [ie], Q), ut.TEXT, a, o);
7808
+ return g1(Te(["delimsizing", "mult"], [ae], Q), nt.TEXT, a, o);
7809
7809
  }, El = 80, Sl = 0.08, Fl = function(t, r, n, a, u) {
7810
7810
  var o = Sm(t, a, n), c = new lu(t, o), d = new zn([c], {
7811
7811
  // Note: 1000:1 ratio of viewBox to document em width.
@@ -7834,13 +7834,13 @@ var Ma = function(t, r, n) {
7834
7834
  throw new Be("Illegal delimiter: '" + t + "'");
7835
7835
  }, y7 = [{
7836
7836
  type: "small",
7837
- style: ut.SCRIPTSCRIPT
7837
+ style: nt.SCRIPTSCRIPT
7838
7838
  }, {
7839
7839
  type: "small",
7840
- style: ut.SCRIPT
7840
+ style: nt.SCRIPT
7841
7841
  }, {
7842
7842
  type: "small",
7843
- style: ut.TEXT
7843
+ style: nt.TEXT
7844
7844
  }, {
7845
7845
  type: "large",
7846
7846
  size: 1
@@ -7855,24 +7855,24 @@ var Ma = function(t, r, n) {
7855
7855
  size: 4
7856
7856
  }], x7 = [{
7857
7857
  type: "small",
7858
- style: ut.SCRIPTSCRIPT
7858
+ style: nt.SCRIPTSCRIPT
7859
7859
  }, {
7860
7860
  type: "small",
7861
- style: ut.SCRIPT
7861
+ style: nt.SCRIPT
7862
7862
  }, {
7863
7863
  type: "small",
7864
- style: ut.TEXT
7864
+ style: nt.TEXT
7865
7865
  }, {
7866
7866
  type: "stack"
7867
7867
  }], uh = [{
7868
7868
  type: "small",
7869
- style: ut.SCRIPTSCRIPT
7869
+ style: nt.SCRIPTSCRIPT
7870
7870
  }, {
7871
7871
  type: "small",
7872
- style: ut.SCRIPT
7872
+ style: nt.SCRIPT
7873
7873
  }, {
7874
7874
  type: "small",
7875
- style: ut.TEXT
7875
+ style: nt.TEXT
7876
7876
  }, {
7877
7877
  type: "large",
7878
7878
  size: 1
@@ -8547,7 +8547,7 @@ var mn = function(t, r) {
8547
8547
  r.minRuleThickness
8548
8548
  ), h = 1 / r.fontMetrics().ptPerEm, x = 5 * h;
8549
8549
  if (t.colSeparationType && t.colSeparationType === "small") {
8550
- var k = r.havingStyle(ut.SCRIPT).sizeMultiplier;
8550
+ var k = r.havingStyle(nt.SCRIPT).sizeMultiplier;
8551
8551
  x = 0.2778 * (k / r.sizeMultiplier);
8552
8552
  }
8553
8553
  var C = t.colSeparationType === "CD" ? Kt({
@@ -8589,16 +8589,16 @@ var mn = function(t, r) {
8589
8589
  a < c || te < ue.length;
8590
8590
  ++a, ++te
8591
8591
  ) {
8592
- for (var Z, Q = ue[te], ie = !0; ((fe = Q) == null ? void 0 : fe.type) === "separator"; ) {
8592
+ for (var Z, Q = ue[te], ae = !0; ((fe = Q) == null ? void 0 : fe.type) === "separator"; ) {
8593
8593
  var fe;
8594
- if (ie || (Se = Te(["arraycolsep"], []), Se.style.width = Ie(r.fontMetrics().doubleRuleSep), Ae.push(Se)), Q.separator === "|" || Q.separator === ":") {
8595
- var ke = Q.separator === "|" ? "solid" : "dashed", ae = Te(["vertical-separator"], [], r);
8596
- ae.style.height = Ie(F), ae.style.borderRightWidth = Ie(p), ae.style.borderRightStyle = ke, ae.style.margin = "0 " + Ie(-p / 2);
8594
+ if (ae || (Se = Te(["arraycolsep"], []), Se.style.width = Ie(r.fontMetrics().doubleRuleSep), Ae.push(Se)), Q.separator === "|" || Q.separator === ":") {
8595
+ var ke = Q.separator === "|" ? "solid" : "dashed", ie = Te(["vertical-separator"], [], r);
8596
+ ie.style.height = Ie(F), ie.style.borderRightWidth = Ie(p), ie.style.borderRightStyle = ke, ie.style.margin = "0 " + Ie(-p / 2);
8597
8597
  var me = F - be;
8598
- me && (ae.style.verticalAlign = Ie(-me)), Ae.push(ae);
8598
+ me && (ie.style.verticalAlign = Ie(-me)), Ae.push(ie);
8599
8599
  } else
8600
8600
  throw new Be("Invalid separator type: " + Q.separator);
8601
- te++, Q = ue[te], ie = !1;
8601
+ te++, Q = ue[te], ae = !1;
8602
8602
  }
8603
8603
  if (!(a >= c)) {
8604
8604
  var ge = void 0;
@@ -9155,7 +9155,7 @@ var C7 = (e, t) => {
9155
9155
  var m = Ct(e.denom, u, t), p, h, x;
9156
9156
  e.hasBarLine ? (e.barSize ? (h = Kt(e.barSize, t), p = ia("frac-line", t, h)) : p = ia("frac-line", t), h = p.height, x = p.height) : (p = null, h = 0, x = t.fontMetrics().defaultRuleThickness);
9157
9157
  var k, C, B;
9158
- r.size === ut.DISPLAY.size ? (k = t.fontMetrics().num1, h > 0 ? C = 3 * x : C = 7 * x, B = t.fontMetrics().denom1) : (h > 0 ? (k = t.fontMetrics().num2, C = x) : (k = t.fontMetrics().num3, C = 3 * x), B = t.fontMetrics().denom2);
9158
+ r.size === nt.DISPLAY.size ? (k = t.fontMetrics().num1, h > 0 ? C = 3 * x : C = 7 * x, B = t.fontMetrics().denom1) : (h > 0 ? (k = t.fontMetrics().num2, C = x) : (k = t.fontMetrics().num3, C = 3 * x), B = t.fontMetrics().denom2);
9159
9159
  var _;
9160
9160
  if (p) {
9161
9161
  var E = t.fontMetrics().axisHeight;
@@ -9194,7 +9194,7 @@ var C7 = (e, t) => {
9194
9194
  }
9195
9195
  u = t.havingStyle(r), _.height *= u.sizeMultiplier / t.sizeMultiplier, _.depth *= u.sizeMultiplier / t.sizeMultiplier;
9196
9196
  var I;
9197
- r.size === ut.DISPLAY.size ? I = t.fontMetrics().delim1 : r.size === ut.SCRIPTSCRIPT.size ? I = t.havingStyle(ut.SCRIPT).fontMetrics().delim2 : I = t.fontMetrics().delim2;
9197
+ r.size === nt.DISPLAY.size ? I = t.fontMetrics().delim1 : r.size === nt.SCRIPTSCRIPT.size ? I = t.havingStyle(nt.SCRIPT).fontMetrics().delim2 : I = t.fontMetrics().delim2;
9198
9198
  var N, U;
9199
9199
  return e.leftDelim == null ? N = Ka(t, ["mopen"]) : N = Fc(e.leftDelim, I, !0, t.havingStyle(r), e.mode, ["mopen"]), e.continued ? U = Te([]) : e.rightDelim == null ? U = Ka(t, ["mclose"]) : U = Fc(e.rightDelim, I, !0, t.havingStyle(r), e.mode, ["mclose"]), Te(["mord"].concat(u.sizingClasses(t)), [N, Te(["mfrac"], [_]), U], t);
9200
9200
  }, E7 = (e, t) => {
@@ -9426,7 +9426,7 @@ qe({
9426
9426
  var hh = (e, t) => {
9427
9427
  var r = t.style, n, a;
9428
9428
  e.type === "supsub" ? (n = e.sup ? Ct(e.sup, t.havingStyle(r.sup()), t) : Ct(e.sub, t.havingStyle(r.sub()), t), a = ot(e.base, "horizBrace")) : a = ot(e, "horizBrace");
9429
- var u = Ct(a.base, t.havingBaseStyle(ut.DISPLAY)), o = mo(a, t), c;
9429
+ var u = Ct(a.base, t.havingBaseStyle(nt.DISPLAY)), o = mo(a, t), c;
9430
9430
  if (a.isOver ? (c = kt({
9431
9431
  positionType: "firstBaseline",
9432
9432
  children: [{
@@ -9903,13 +9903,13 @@ qe({
9903
9903
  });
9904
9904
  var M2 = (e, t) => {
9905
9905
  switch (t.style.size) {
9906
- case ut.DISPLAY.size:
9906
+ case nt.DISPLAY.size:
9907
9907
  return e.display;
9908
- case ut.TEXT.size:
9908
+ case nt.TEXT.size:
9909
9909
  return e.text;
9910
- case ut.SCRIPT.size:
9910
+ case nt.SCRIPT.size:
9911
9911
  return e.script;
9912
- case ut.SCRIPTSCRIPT.size:
9912
+ case nt.SCRIPTSCRIPT.size:
9913
9913
  return e.scriptscript;
9914
9914
  default:
9915
9915
  return e.text;
@@ -10044,7 +10044,7 @@ var mh = (e, t, r, n, a, u, o) => {
10044
10044
  var r, n, a = !1, u;
10045
10045
  e.type === "supsub" ? (r = e.sup, n = e.sub, u = ot(e.base, "op"), a = !0) : u = ot(e, "op");
10046
10046
  var o = t.style, c = !1;
10047
- o.size === ut.DISPLAY.size && u.symbol && !ph.has(u.name) && (c = !0);
10047
+ o.size === nt.DISPLAY.size && u.symbol && !ph.has(u.name) && (c = !0);
10048
10048
  var d;
10049
10049
  if (u.symbol) {
10050
10050
  var m = c ? "Size2-Regular" : "Size1-Regular", p = "";
@@ -10605,7 +10605,7 @@ qe({
10605
10605
  var r = Ct(e.body, t.havingCrampedStyle());
10606
10606
  r.height === 0 && (r.height = t.fontMetrics().xHeight), r = sa(r, t);
10607
10607
  var n = t.fontMetrics(), a = n.defaultRuleThickness, u = a;
10608
- t.style.id < ut.TEXT.id && (u = t.fontMetrics().xHeight);
10608
+ t.style.id < nt.TEXT.id && (u = t.fontMetrics().xHeight);
10609
10609
  var o = a + u / 4, c = r.height + r.depth + o + a, {
10610
10610
  span: d,
10611
10611
  ruleWidth: m,
@@ -10632,7 +10632,7 @@ qe({
10632
10632
  }]
10633
10633
  });
10634
10634
  if (e.index) {
10635
- var C = t.havingStyle(ut.SCRIPTSCRIPT), B = Ct(e.index, C, t), _ = 0.6 * (k.height - k.depth), T = kt({
10635
+ var C = t.havingStyle(nt.SCRIPTSCRIPT), B = Ct(e.index, C, t), _ = 0.6 * (k.height - k.depth), T = kt({
10636
10636
  positionType: "shift",
10637
10637
  positionData: -_,
10638
10638
  children: [{
@@ -10653,10 +10653,10 @@ qe({
10653
10653
  }
10654
10654
  });
10655
10655
  var _2 = {
10656
- display: ut.DISPLAY,
10657
- text: ut.TEXT,
10658
- script: ut.SCRIPT,
10659
- scriptscript: ut.SCRIPTSCRIPT
10656
+ display: nt.DISPLAY,
10657
+ text: nt.TEXT,
10658
+ script: nt.SCRIPT,
10659
+ scriptscript: nt.SCRIPTSCRIPT
10660
10660
  };
10661
10661
  qe({
10662
10662
  type: "styling",
@@ -10699,10 +10699,10 @@ var z7 = function(t, r) {
10699
10699
  var n = t.base;
10700
10700
  if (n)
10701
10701
  if (n.type === "op") {
10702
- var a = n.limits && (r.style.size === ut.DISPLAY.size || n.alwaysHandleSupSub);
10702
+ var a = n.limits && (r.style.size === nt.DISPLAY.size || n.alwaysHandleSupSub);
10703
10703
  return a ? ma : null;
10704
10704
  } else if (n.type === "operatorname") {
10705
- var u = n.alwaysHandleSupSub && (r.style.size === ut.DISPLAY.size || n.limits);
10705
+ var u = n.alwaysHandleSupSub && (r.style.size === nt.DISPLAY.size || n.limits);
10706
10706
  return u ? gh : null;
10707
10707
  } else {
10708
10708
  if (n.type === "accent")
@@ -10735,7 +10735,7 @@ zu({
10735
10735
  d = Ct(u, C, t), x || (h = o.depth + C.fontMetrics().subDrop * C.sizeMultiplier / t.sizeMultiplier);
10736
10736
  }
10737
10737
  var B;
10738
- t.style === ut.DISPLAY ? B = m.sup1 : t.style.cramped ? B = m.sup3 : B = m.sup2;
10738
+ t.style === nt.DISPLAY ? B = m.sup1 : t.style.cramped ? B = m.sup3 : B = m.sup2;
10739
10739
  var _ = t.sizeMultiplier, T = Ie(0.5 / m.ptPerEm / _), E = null;
10740
10740
  if (d) {
10741
10741
  var F = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
@@ -10805,14 +10805,14 @@ zu({
10805
10805
  else if (e.sub)
10806
10806
  if (e.sup) {
10807
10807
  var m = e.base;
10808
- m && m.type === "op" && m.limits && t.style === ut.DISPLAY || m && m.type === "operatorname" && m.alwaysHandleSupSub && (t.style === ut.DISPLAY || m.limits) ? o = "munderover" : o = "msubsup";
10808
+ m && m.type === "op" && m.limits && t.style === nt.DISPLAY || m && m.type === "operatorname" && m.alwaysHandleSupSub && (t.style === nt.DISPLAY || m.limits) ? o = "munderover" : o = "msubsup";
10809
10809
  } else {
10810
10810
  var d = e.base;
10811
- d && d.type === "op" && d.limits && (t.style === ut.DISPLAY || d.alwaysHandleSupSub) || d && d.type === "operatorname" && d.alwaysHandleSupSub && (d.limits || t.style === ut.DISPLAY) ? o = "munder" : o = "msub";
10811
+ d && d.type === "op" && d.limits && (t.style === nt.DISPLAY || d.alwaysHandleSupSub) || d && d.type === "operatorname" && d.alwaysHandleSupSub && (d.limits || t.style === nt.DISPLAY) ? o = "munder" : o = "msub";
10812
10812
  }
10813
10813
  else {
10814
10814
  var c = e.base;
10815
- c && c.type === "op" && c.limits && (t.style === ut.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || t.style === ut.DISPLAY) ? o = "mover" : o = "msup";
10815
+ c && c.type === "op" && c.limits && (t.style === nt.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || t.style === nt.DISPLAY) ? o = "mover" : o = "msup";
10816
10816
  }
10817
10817
  return new ze(o, u);
10818
10818
  }
@@ -16728,7 +16728,7 @@ function O9() {
16728
16728
  return !0;
16729
16729
  return !1;
16730
16730
  }
16731
- const Q = 80, ie = function(s, i) {
16731
+ const Q = 80, ae = function(s, i) {
16732
16732
  return "M95," + (622 + s + i) + `
16733
16733
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
16734
16734
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
@@ -16764,7 +16764,7 @@ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
16764
16764
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
16765
16765
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
16766
16766
  M` + (1001 + s) + " " + i + "h400000v" + (40 + s) + "h-400000z";
16767
- }, ae = function(s, i) {
16767
+ }, ie = function(s, i) {
16768
16768
  return "M424," + (2398 + s + i) + `
16769
16769
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
16770
16770
  c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
@@ -16800,7 +16800,7 @@ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
16800
16800
  let f = "";
16801
16801
  switch (s) {
16802
16802
  case "sqrtMain":
16803
- f = ie(i, Q);
16803
+ f = ae(i, Q);
16804
16804
  break;
16805
16805
  case "sqrtSize1":
16806
16806
  f = fe(i, Q);
@@ -16809,7 +16809,7 @@ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
16809
16809
  f = ke(i, Q);
16810
16810
  break;
16811
16811
  case "sqrtSize3":
16812
- f = ae(i, Q);
16812
+ f = ie(i, Q);
16813
16813
  break;
16814
16814
  case "sqrtSize4":
16815
16815
  f = me(i, Q);
@@ -28483,70 +28483,70 @@ var Oc = { exports: {} };
28483
28483
  (function(r, n) {
28484
28484
  n(t);
28485
28485
  })(Zh, function(r) {
28486
- var n = Object.defineProperty, a = Object.defineProperties, u = Object.getOwnPropertyDescriptors, o = Object.getOwnPropertySymbols, c = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable, m = (Z, Q, ie) => Q in Z ? n(Z, Q, { enumerable: !0, configurable: !0, writable: !0, value: ie }) : Z[Q] = ie, p = (Z, Q) => {
28487
- for (var ie in Q || (Q = {})) c.call(Q, ie) && m(Z, ie, Q[ie]);
28488
- if (o) for (var ie of o(Q)) d.call(Q, ie) && m(Z, ie, Q[ie]);
28486
+ var n = Object.defineProperty, a = Object.defineProperties, u = Object.getOwnPropertyDescriptors, o = Object.getOwnPropertySymbols, c = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable, m = (Z, Q, ae) => Q in Z ? n(Z, Q, { enumerable: !0, configurable: !0, writable: !0, value: ae }) : Z[Q] = ae, p = (Z, Q) => {
28487
+ for (var ae in Q || (Q = {})) c.call(Q, ae) && m(Z, ae, Q[ae]);
28488
+ if (o) for (var ae of o(Q)) d.call(Q, ae) && m(Z, ae, Q[ae]);
28489
28489
  return Z;
28490
- }, h = (Z, Q) => a(Z, u(Q)), x = (Z, Q, ie) => new Promise((fe, ke) => {
28491
- var ae = (Ne) => {
28490
+ }, h = (Z, Q) => a(Z, u(Q)), x = (Z, Q, ae) => new Promise((fe, ke) => {
28491
+ var ie = (Ne) => {
28492
28492
  try {
28493
- ge(ie.next(Ne));
28493
+ ge(ae.next(Ne));
28494
28494
  } catch (Ke) {
28495
28495
  ke(Ke);
28496
28496
  }
28497
28497
  }, me = (Ne) => {
28498
28498
  try {
28499
- ge(ie.throw(Ne));
28499
+ ge(ae.throw(Ne));
28500
28500
  } catch (Ke) {
28501
28501
  ke(Ke);
28502
28502
  }
28503
- }, ge = (Ne) => Ne.done ? fe(Ne.value) : Promise.resolve(Ne.value).then(ae, me);
28504
- ge((ie = ie.apply(Z, Q)).next());
28503
+ }, ge = (Ne) => Ne.done ? fe(Ne.value) : Promise.resolve(Ne.value).then(ie, me);
28504
+ ge((ae = ae.apply(Z, Q)).next());
28505
28505
  }), k = ((Z) => (Z[Z.NONE = 0] = "NONE", Z[Z.LOADING = 1] = "LOADING", Z[Z.LOADED = 2] = "LOADED", Z[Z.ERROR = 3] = "ERROR", Z))(k || {});
28506
28506
  class C {
28507
28507
  constructor(Q) {
28508
28508
  this.items = {}, this.factory = Q;
28509
28509
  }
28510
28510
  getOrCreateItemByURL(Q) {
28511
- let ie = this.items[Q];
28512
- return ie || (ie = this.items[Q] = this.factory(Q)), ie;
28511
+ let ae = this.items[Q];
28512
+ return ae || (ae = this.items[Q] = this.factory(Q)), ae;
28513
28513
  }
28514
28514
  tryGetItemByURL(Q) {
28515
- var ie;
28516
- return (ie = this.items[Q]) != null ? ie : null;
28515
+ var ae;
28516
+ return (ae = this.items[Q]) != null ? ae : null;
28517
28517
  }
28518
28518
  removeItemByURL(Q) {
28519
- const ie = this.items[Q];
28520
- return ie && (this.items[Q] = null, ie);
28519
+ const ae = this.items[Q];
28520
+ return ae && (this.items[Q] = null, ae);
28521
28521
  }
28522
28522
  }
28523
28523
  const B = "__RUNTIME_IMPORT__";
28524
28524
  function _(Z, Q) {
28525
- var ie, fe;
28526
- const ke = globalThis, ae = (ie = ke[B]) != null ? ie : ke[B] = {};
28527
- return (fe = ae[Z]) != null ? fe : ae[Z] = Q();
28525
+ var ae, fe;
28526
+ const ke = globalThis, ie = (ae = ke[B]) != null ? ae : ke[B] = {};
28527
+ return (fe = ie[Z]) != null ? fe : ie[Z] = Q();
28528
28528
  }
28529
28529
  const T = _("cssCache", () => new C((Z) => ({ url: Z, status: k.NONE, el: null, error: null, reject: null })));
28530
- function E(Z, Q, ie) {
28530
+ function E(Z, Q, ae) {
28531
28531
  const fe = { handleLoad() {
28532
28532
  Z.removeEventListener("load", fe.handleLoad), Z.removeEventListener("error", fe.handleError), Q();
28533
28533
  }, handleError(ke) {
28534
- Z.removeEventListener("load", fe.handleLoad), Z.removeEventListener("error", fe.handleError), ie(ke);
28534
+ Z.removeEventListener("load", fe.handleLoad), Z.removeEventListener("error", fe.handleError), ae(ke);
28535
28535
  } };
28536
28536
  Z.addEventListener("load", fe.handleLoad), Z.addEventListener("error", fe.handleError);
28537
28537
  }
28538
28538
  function F(Z) {
28539
- const Q = T.getOrCreateItemByURL(Z), { status: ie, error: fe } = Q;
28540
- return ie === k.LOADED ? Promise.resolve() : ie === k.ERROR ? Promise.reject(fe) : ie === k.LOADING ? new Promise((ke, ae) => {
28539
+ const Q = T.getOrCreateItemByURL(Z), { status: ae, error: fe } = Q;
28540
+ return ae === k.LOADED ? Promise.resolve() : ae === k.ERROR ? Promise.reject(fe) : ae === k.LOADING ? new Promise((ke, ie) => {
28541
28541
  const { el: me } = Q;
28542
- E(me, () => ke(), (ge) => ae(ge.error));
28543
- }) : (Q.status = k.LOADING, new Promise((ke, ae) => {
28542
+ E(me, () => ke(), (ge) => ie(ge.error));
28543
+ }) : (Q.status = k.LOADING, new Promise((ke, ie) => {
28544
28544
  const me = document.createElement("link");
28545
28545
  me.rel = "stylesheet", me.href = Z, E(me, () => {
28546
28546
  Q.status = k.LOADED, ke();
28547
28547
  }, (ge) => {
28548
28548
  const Ne = ge.error || new Error(`Load css failed. href=${Z}`);
28549
- Q.status = k.ERROR, Q.error = Ne, ae(Ne);
28549
+ Q.status = k.ERROR, Q.error = Ne, ie(Ne);
28550
28550
  }), Q.el = me, me.setAttribute("data-runtime-import-type", "css"), document.head.appendChild(me);
28551
28551
  }));
28552
28552
  }
@@ -28557,23 +28557,23 @@ var Oc = { exports: {} };
28557
28557
  let pe = !1;
28558
28558
  typeof Y < "u" && !Y.runtime_import && (console.warn("runtime-import should NOT coexist with requiesjs or seajs or any other AMD/CMD loader."), pe = !0);
28559
28559
  const he = _("pendingItemMap", () => ({})), ce = function(...Z) {
28560
- const Q = Z.pop(), { currentScript: ie } = document;
28561
- if (!ie) throw new Error("currentScript is null.");
28562
- const { src: fe } = ie, ke = he[fe];
28560
+ const Q = Z.pop(), { currentScript: ae } = document;
28561
+ if (!ae) throw new Error("currentScript is null.");
28562
+ const { src: fe } = ae, ke = he[fe];
28563
28563
  if (!ke) throw new Error(`Can NOT find item, src=${fe}`);
28564
28564
  he[fe] = null;
28565
28565
  try {
28566
- let ae = Z[0] || [], me = null;
28567
- typeof ae == "string" && (me = ae, ae = Z[1] || []);
28566
+ let ie = Z[0] || [], me = null;
28567
+ typeof ie == "string" && (me = ie, ie = Z[1] || []);
28568
28568
  const ge = ke.exportThing = (() => {
28569
28569
  let Ne = !1;
28570
28570
  const Ke = {};
28571
- let Qe = Q(...ae.map((lt) => lt === "exports" ? (Ne = !0, Ke) : U[lt]));
28571
+ let Qe = Q(...ie.map((lt) => lt === "exports" ? (Ne = !0, Ke) : U[lt]));
28572
28572
  return !Qe && Ne && (Qe = Ke), Qe;
28573
28573
  })();
28574
28574
  me && (U[me] = ge), ge && j(ge).length === 1 && ge.default && (ke.exportThing = ge.default, ke.exportThing.default = ge.default);
28575
- } catch (ae) {
28576
- ke.status = k.ERROR, ae instanceof Error && (ke.error = ae), ke.reject(ae);
28575
+ } catch (ie) {
28576
+ ke.status = k.ERROR, ie instanceof Error && (ke.error = ie), ke.reject(ie);
28577
28577
  }
28578
28578
  }, be = () => {
28579
28579
  const { currentScript: Z } = document;
@@ -28591,16 +28591,16 @@ var Oc = { exports: {} };
28591
28591
  U.define || (U.define = ce), he[Z] = Q;
28592
28592
  }
28593
28593
  function Ae(Z) {
28594
- const Q = /legao-comp\/(.*)\/[\d.]+\/web.js$/.exec(Z), ie = window;
28594
+ const Q = /legao-comp\/(.*)\/[\d.]+\/web.js$/.exec(Z), ae = window;
28595
28595
  if (Q && Q.length > 0) {
28596
28596
  const fe = Q[1];
28597
- ie.g_config = ie.g_config || {}, ie.g_config.appKey = fe;
28597
+ ae.g_config = ae.g_config || {}, ae.g_config.appKey = fe;
28598
28598
  }
28599
28599
  }
28600
- function Se(Z, Q, ie) {
28600
+ function Se(Z, Q, ae) {
28601
28601
  Z.status = k.LOADING, Ae(Q);
28602
- const { umd: fe, crossOrigin: ke } = ie;
28603
- return new Promise((ae, me) => {
28602
+ const { umd: fe, crossOrigin: ke } = ae;
28603
+ return new Promise((ie, me) => {
28604
28604
  const ge = document.createElement("script");
28605
28605
  if (ge.src = Q, ge.async = !1, ge.crossOrigin = ke, fe) {
28606
28606
  ge.setAttribute("data-runtime-import-type", "javascript-umd"), Z.reject = me;
@@ -28608,7 +28608,7 @@ var Oc = { exports: {} };
28608
28608
  ue(Ne, Z);
28609
28609
  } else ge.setAttribute("data-runtime-import-type", "javascript");
28610
28610
  E(ge, () => {
28611
- Z.status = k.LOADED, Z.el = null, ae(Z.exportThing);
28611
+ Z.status = k.LOADED, Z.el = null, ie(Z.exportThing);
28612
28612
  }, (Ne) => {
28613
28613
  const Ke = Ne.error || new Error(`Load javascript failed. src=${Q}`);
28614
28614
  Z.status = k.ERROR, Z.error = Ke, Z.el = null, me(Ke);
@@ -28616,40 +28616,40 @@ var Oc = { exports: {} };
28616
28616
  });
28617
28617
  }
28618
28618
  function te(Z, Q) {
28619
- const ie = N.getOrCreateItemByURL(Z), { status: fe, exportThing: ke, error: ae } = ie;
28619
+ const ae = N.getOrCreateItemByURL(Z), { status: fe, exportThing: ke, error: ie } = ae;
28620
28620
  if (fe === k.LOADED) return Promise.resolve(ke);
28621
- if (fe === k.ERROR) return Promise.reject(ae);
28621
+ if (fe === k.ERROR) return Promise.reject(ie);
28622
28622
  if (fe === k.LOADING) {
28623
- const { el: me } = ie;
28623
+ const { el: me } = ae;
28624
28624
  return new Promise((ge, Ne) => {
28625
- E(me, () => ge(ie.exportThing), (Ke) => Ne(Ke.error));
28625
+ E(me, () => ge(ae.exportThing), (Ke) => Ne(Ke.error));
28626
28626
  });
28627
28627
  }
28628
- return Se(ie, Z, Q);
28628
+ return Se(ae, Z, Q);
28629
28629
  }
28630
28630
  function ve(Z, Q) {
28631
- let ie = Promise.resolve();
28631
+ let ae = Promise.resolve();
28632
28632
  const fe = Z.length - 1, { umd: ke } = Q;
28633
- return Z.forEach((ae, me) => {
28633
+ return Z.forEach((ie, me) => {
28634
28634
  const ge = ke && me === fe;
28635
- ie = ie.then(() => te(ae, h(p({}, Q), { umd: ge })));
28636
- }), ie;
28635
+ ae = ae.then(() => te(ie, h(p({}, Q), { umd: ge })));
28636
+ }), ae;
28637
28637
  }
28638
28638
  function ne(Z) {
28639
28639
  return x(this, null, function* () {
28640
- const { scripts: Q, styles: ie } = Z;
28641
- if (ie) {
28642
- const { urls: ge } = ie;
28640
+ const { scripts: Q, styles: ae } = Z;
28641
+ if (ae) {
28642
+ const { urls: ge } = ae;
28643
28643
  yield I(ge);
28644
28644
  }
28645
- const { dependencies: fe = [], entry: ke, umd: ae = !0, crossOrigin: me = "anonymous" } = Q;
28646
- if ((ke ? fe.concat([ke]) : fe).length) return yield ve(fe.concat([ke]), { umd: ae, crossOrigin: me });
28645
+ const { dependencies: fe = [], entry: ke, umd: ie = !0, crossOrigin: me = "anonymous" } = Q;
28646
+ if ((ke ? fe.concat([ke]) : fe).length) return yield ve(fe.concat([ke]), { umd: ie, crossOrigin: me });
28647
28647
  });
28648
28648
  }
28649
28649
  function _e(Z, Q) {
28650
28650
  return x(this, null, function* () {
28651
- const ie = Q ?? {};
28652
- return yield ne({ scripts: { dependencies: [], entry: Z, umd: ie.umd, crossOrigin: ie.crossOrigin } });
28651
+ const ae = Q ?? {};
28652
+ return yield ne({ scripts: { dependencies: [], entry: Z, umd: ae.umd, crossOrigin: ae.crossOrigin } });
28653
28653
  });
28654
28654
  }
28655
28655
  function Ve(Z) {
@@ -28783,7 +28783,7 @@ const Pa = /* @__PURE__ */ Xe({
28783
28783
  class: "f-chat-todo-status-icon f-chat-todo-status-working"
28784
28784
  }, null), y("span", {
28785
28785
  class: "f-chat-bubble-widget-pending-text"
28786
- }, [nt("数据生成中......")])]) : null;
28786
+ }, [it("数据生成中......")])]) : null;
28787
28787
  }, Hg = 6e4, v4 = 8e3, Y0 = /* @__PURE__ */ new Map(), Vr = /* @__PURE__ */ new Map(), ui = /* @__PURE__ */ new Map(), fn = [];
28788
28788
  function z0(e) {
28789
28789
  return String(e ?? "").replace(/^\ufeff/, "").replace(/[\u200b\u200c\u200d]/g, "").replace(/\u00a0/g, " ").trim();
@@ -28802,7 +28802,7 @@ function gs(e) {
28802
28802
  const t = window;
28803
28803
  t.__fluens_dynamic_component_bootstrap_instance_id === e && delete t.__fluens_dynamic_component_bootstrap_instance_id;
28804
28804
  }
28805
- function cw() {
28805
+ function lw() {
28806
28806
  return fn[fn.length - 1] || void 0;
28807
28807
  }
28808
28808
  function Qs(e, t) {
@@ -28896,7 +28896,7 @@ function c3(e) {
28896
28896
  `[DynamicComponent] assistant post id "${t}" resolved to instanceId "${a[0].config.instanceId}" (alias match)`
28897
28897
  ), a[0]) : (a.length > 1 && console.warn(`[DynamicComponent] assistant post id "${t}" is ambiguous (${a.length} active matches)`), null);
28898
28898
  }
28899
- function dw(e) {
28899
+ function cw(e) {
28900
28900
  const t = z0(e);
28901
28901
  if (!t) return null;
28902
28902
  const r = Vr.get(t);
@@ -28990,7 +28990,7 @@ function Vg(e) {
28990
28990
  const n = document.getElementById(`fluens-dynamic-component-${e}`);
28991
28991
  n && n.remove();
28992
28992
  }
28993
- function fw(e, t) {
28993
+ function dw(e, t) {
28994
28994
  const r = z0(e);
28995
28995
  if (!r) return !1;
28996
28996
  const n = c3(r);
@@ -29079,11 +29079,11 @@ const Ha = /* @__PURE__ */ Xe({
29079
29079
  class: "f-chat-dynamic-component-loading"
29080
29080
  }, [y("span", {
29081
29081
  class: "f-chat-dynamic-component-loading-spinner"
29082
- }, null), y("span", null, [nt("加载中......")])]), t.value === "error" && y("div", {
29082
+ }, null), y("span", null, [it("加载中......")])]), t.value === "error" && y("div", {
29083
29083
  class: "f-chat-dynamic-component-error"
29084
29084
  }, [y("span", {
29085
29085
  class: "f-chat-dynamic-component-error-icon"
29086
- }, [nt("!")]), y("span", null, [r.value])])]);
29086
+ }, [it("!")]), y("span", null, [r.value])])]);
29087
29087
  }
29088
29088
  }), x4 = (e, t, r) => {
29089
29089
  if (e.type === N0.DynamicComponentComplete) {
@@ -29118,7 +29118,7 @@ const Ha = /* @__PURE__ */ Xe({
29118
29118
  class: "f-chat-todo-status-icon f-chat-todo-status-working"
29119
29119
  }, null), y("span", {
29120
29120
  class: "f-chat-bubble-widget-pending-text"
29121
- }, [nt("组件加载中......")])]) : null;
29121
+ }, [it("组件加载中......")])]) : null;
29122
29122
  };
29123
29123
  function Xg() {
29124
29124
  return {
@@ -29385,84 +29385,84 @@ function eb(e) {
29385
29385
  }
29386
29386
  function tb(e, t, r, n) {
29387
29387
  const a = ye(e.offsetX || 0), u = ye(e.offsetY || 0), o = ye(-1), c = ye(-1), d = ye(-1), m = ye(-1), p = ye(e.placement), h = ye(0), x = ye(0), k = ye(0), C = le(() => document.documentElement.scrollLeft), B = le(() => document.documentElement.scrollTop), { hostLeft: _, hostTop: T, hostWidth: E, hostHeight: F, hostBottom: I } = n;
29388
- et(() => e.offsetX, (ae) => {
29389
- a.value = ae;
29388
+ et(() => e.offsetX, (ie) => {
29389
+ a.value = ie;
29390
29390
  });
29391
29391
  const N = le(() => {
29392
- const ae = {
29392
+ const ie = {
29393
29393
  left: `${x.value}px`,
29394
29394
  top: `${k.value}px`,
29395
29395
  transform: `translate(${a.value}px, ${u.value}px)`
29396
29396
  };
29397
- return e.zIndex !== -1 && (ae["z-index"] = e.zIndex), e.fitContent ? e.keepWidthWithReference && r.value && o.value >= r.value.getBoundingClientRect().width && (ae.width = `${o.value}px`) : o.value !== -1 && (ae.width = `${o.value}px`), e.minWidth !== -1 && (ae.minWidth = `${e.minWidth}px`), e.customStyles && Object.assign(ae, e.customStyles), c.value > 0 && (ae.maxHeight = c.value + "px"), ae;
29397
+ return e.zIndex !== -1 && (ie["z-index"] = e.zIndex), e.fitContent ? e.keepWidthWithReference && r.value && o.value >= r.value.getBoundingClientRect().width && (ie.width = `${o.value}px`) : o.value !== -1 && (ie.width = `${o.value}px`), e.minWidth !== -1 && (ie.minWidth = `${e.minWidth}px`), e.customStyles && Object.assign(ie, e.customStyles), c.value > 0 && (ie.maxHeight = c.value + "px"), ie;
29398
29398
  }), U = le(() => ({
29399
29399
  left: `${h.value}px`,
29400
29400
  transform: `translateX(${e.arrowOffsetX}px)`
29401
29401
  }));
29402
- function Y(ae) {
29403
- if (ae && e.keepWidthWithReference) {
29404
- const me = ae.getBoundingClientRect();
29402
+ function Y(ie) {
29403
+ if (ie && e.keepWidthWithReference) {
29404
+ const me = ie.getBoundingClientRect();
29405
29405
  o.value = Math.max(e.minWidth, me.width);
29406
29406
  }
29407
29407
  }
29408
- function j(ae, me) {
29409
- const ge = E.value - ae.width - 4;
29408
+ function j(ie, me) {
29409
+ const ge = E.value - ie.width - 4;
29410
29410
  return ge > 0 ? ge : me;
29411
29411
  }
29412
- function pe(ae, me) {
29413
- const ge = F.value - ae.height - 12;
29412
+ function pe(ie, me) {
29413
+ const ge = F.value - ie.height - 12;
29414
29414
  return ge > 0 ? ge : me;
29415
29415
  }
29416
- function he(ae, me, ge) {
29417
- const Ne = h.value, Ke = me.left - _.value + me.width / 2 + C.value, Qe = me.top - T.value - (ae.height + ge.height) + B.value;
29416
+ function he(ie, me, ge) {
29417
+ const Ne = h.value, Ke = me.left - _.value + me.width / 2 + C.value, Qe = me.top - T.value - (ie.height + ge.height) + B.value;
29418
29418
  return { popoverLeft: Ke, popoverTop: Qe, arrowLeft: Ne };
29419
29419
  }
29420
- function ce(ae, me, ge) {
29421
- const Ne = me.top - T.value + (me.height + ge.height) + B.value, Ke = pe(ae, Ne);
29420
+ function ce(ie, me, ge) {
29421
+ const Ne = me.top - T.value + (me.height + ge.height) + B.value, Ke = pe(ie, Ne);
29422
29422
  return Math.min(Ne, Ke);
29423
29423
  }
29424
- function be(ae, me) {
29425
- const ge = j(me, ae), Ne = ae <= ge ? h.value : ae - ge;
29426
- return { popoverLeft: Math.min(ae, ge), arrowLeft: Ne, maxHeight: 0 };
29424
+ function be(ie, me) {
29425
+ const ge = j(me, ie), Ne = ie <= ge ? h.value : ie - ge;
29426
+ return { popoverLeft: Math.min(ie, ge), arrowLeft: Ne, maxHeight: 0 };
29427
29427
  }
29428
- function ue(ae, me) {
29429
- const ge = j(me, ae), Ne = ae <= ge ? h.value : ae - ge;
29430
- return { popoverLeft: ae, arrowLeft: Ne, maxHeight: 0 };
29428
+ function ue(ie, me) {
29429
+ const ge = j(me, ie), Ne = ie <= ge ? h.value : ie - ge;
29430
+ return { popoverLeft: ie, arrowLeft: Ne, maxHeight: 0 };
29431
29431
  }
29432
- function Ae(ae, me, ge) {
29433
- const Ne = me.left - _.value + C.value, { arrowLeft: Ke, popoverLeft: Qe } = ue(Ne, ae), { popoverTop: lt } = he(ae, me, ge);
29432
+ function Ae(ie, me, ge) {
29433
+ const Ne = me.left - _.value + C.value, { arrowLeft: Ke, popoverLeft: Qe } = ue(Ne, ie), { popoverTop: lt } = he(ie, me, ge);
29434
29434
  return { popoverLeft: Qe, popoverTop: lt, arrowLeft: Ke, maxHeight: 0 };
29435
29435
  }
29436
- function Se(ae, me, ge) {
29437
- const Ne = me.left - _.value + me.width / 2 - (ge.width / 2 - (ae.left - _.value)) + C.value, { arrowLeft: Ke, popoverLeft: Qe } = be(Ne, ae), lt = ce(ae, me, ge);
29436
+ function Se(ie, me, ge) {
29437
+ const Ne = me.left - _.value + me.width / 2 - (ge.width / 2 - (ie.left - _.value)) + C.value, { arrowLeft: Ke, popoverLeft: Qe } = be(Ne, ie), lt = ce(ie, me, ge);
29438
29438
  return { popoverLeft: Qe, popoverTop: lt, arrowLeft: Ke, maxHeight: 0 };
29439
29439
  }
29440
- function te(ae, me, ge) {
29441
- const Ne = me.left - _.value + C.value, { arrowLeft: Ke, popoverLeft: Qe } = be(Ne, ae), lt = ce(ae, me, ge);
29440
+ function te(ie, me, ge) {
29441
+ const Ne = me.left - _.value + C.value, { arrowLeft: Ke, popoverLeft: Qe } = be(Ne, ie), lt = ce(ie, me, ge);
29442
29442
  return { popoverLeft: Qe, popoverTop: lt, arrowLeft: Ke, maxHeight: 0 };
29443
29443
  }
29444
- function ve(ae, me, ge) {
29445
- const Ne = me.right - _.value - ae.width + C.value, Qe = Math.max(Ne, 4), lt = Qe - Ne, ct = ae.width - ge.width - 20 - lt, dt = ce(ae, me, ge);
29444
+ function ve(ie, me, ge) {
29445
+ const Ne = me.right - _.value - ie.width + C.value, Qe = Math.max(Ne, 4), lt = Qe - Ne, ct = ie.width - ge.width - 20 - lt, dt = ce(ie, me, ge);
29446
29446
  return { popoverLeft: Qe, popoverTop: dt, arrowLeft: ct, maxHeight: 0 };
29447
29447
  }
29448
- function ne(ae, me, ge) {
29448
+ function ne(ie, me, ge) {
29449
29449
  const Ne = me.left - _.value;
29450
29450
  let Ke = 0, Qe = 0, lt = 0, ct = 0, dt = "bottom-left";
29451
- window.innerWidth - Ne > ae.width ? Ke = Ne + C.value : (Ke = me.right - ae.width + C.value, lt = ae.width - ge.width - 20);
29451
+ window.innerWidth - Ne > ie.width ? Ke = Ne + C.value : (Ke = me.right - ie.width + C.value, lt = ie.width - ge.width - 20);
29452
29452
  let Qt = 0;
29453
29453
  if (e.limitContentBySpace) {
29454
29454
  const Ee = { topHeight: me.top - T.value - ge.height - 8, bottomHeight: I.value - me.bottom - ge.height - 8 };
29455
- Qt = Math.max(Ee.topHeight, Ee.bottomHeight), ae.height > Qt && (ct = Qt, r.value.classList.add("popover-limitmax"));
29455
+ Qt = Math.max(Ee.topHeight, Ee.bottomHeight), ie.height > Qt && (ct = Qt, r.value.classList.add("popover-limitmax"));
29456
29456
  }
29457
- const H0 = ct ? Math.floor(ct) : ae.height, r0 = me.top - T.value + (me.height + ge.height);
29457
+ const H0 = ct ? Math.floor(ct) : ie.height, r0 = me.top - T.value + (me.height + ge.height);
29458
29458
  return I.value - r0 > H0 ? Qe = r0 + B.value : (Qe = me.top - H0 - ge.height + B.value, I.value - r0 > me.top ? (Qe = r0 + B.value, H0 > me.top && (Qe = I.value - H0)) : (Qe = Qe < 0 ? 0 : Qe, dt = "top")), r.value.classList.add("popover-" + dt, "bs-popover-" + dt), { popoverLeft: Ke < 0 ? 5 : Ke, popoverTop: Qe, arrowLeft: lt, maxHeight: ct };
29459
29459
  }
29460
- function _e(ae, me, ge) {
29460
+ function _e(ie, me, ge) {
29461
29461
  const Ne = me.left + me.width, Ke = 0;
29462
- let Qe = 0, lt = ae.height;
29462
+ let Qe = 0, lt = ie.height;
29463
29463
  if (e.limitContentBySpace) {
29464
29464
  const pt = F.value - 16 - Math.abs(u.value);
29465
- ae.height > pt ? (Qe = pt, lt = pt, r.value.classList.add("popover-limitmax")) : r.value.classList.remove("popover-limitmax");
29465
+ ie.height > pt ? (Qe = pt, lt = pt, r.value.classList.add("popover-limitmax")) : r.value.classList.remove("popover-limitmax");
29466
29466
  }
29467
29467
  const ct = Math.max(me.top - (lt / 2 - me.height / 2), T.value);
29468
29468
  let dt = T.value + F.value - lt - u.value;
@@ -29470,19 +29470,19 @@ function tb(e, t, r, n) {
29470
29470
  const Qt = Math.min(ct, dt);
29471
29471
  return { popoverLeft: Ne, popoverTop: Qt, arrowLeft: Ke, maxHeight: Qe };
29472
29472
  }
29473
- function Ve(ae, me, ge) {
29473
+ function Ve(ie, me, ge) {
29474
29474
  const Ne = me.left + me.width, Ke = Math.max(me.top - me.height, T.value);
29475
- let Qe = T.value + F.value - ae.height;
29475
+ let Qe = T.value + F.value - ie.height;
29476
29476
  Qe < 0 && (Qe = Ke);
29477
29477
  const lt = Math.min(Ke, Qe);
29478
29478
  return { popoverLeft: Ne, popoverTop: lt, arrowLeft: 0, maxHeight: 0 };
29479
29479
  }
29480
- function X(ae, me, ge) {
29481
- const Ne = me.left - _.value + me.width / 2 - ae.width / 2 + C.value, Ke = me.top - T.value - (ae.height + ge.height) + B.value, Qe = ae.width / 2 - ge.width / 2;
29480
+ function X(ie, me, ge) {
29481
+ const Ne = me.left - _.value + me.width / 2 - ie.width / 2 + C.value, Ke = me.top - T.value - (ie.height + ge.height) + B.value, Qe = ie.width / 2 - ge.width / 2;
29482
29482
  return { popoverLeft: Ne, popoverTop: Ke, arrowLeft: Qe, maxHeight: 0 };
29483
29483
  }
29484
- function Z(ae, me, ge) {
29485
- const Ne = me.left - _.value + me.width / 2 - ae.width / 2 + C.value, Ke = ce(ae, me, ge), Qe = ae.width / 2 - ge.width / 2;
29484
+ function Z(ie, me, ge) {
29485
+ const Ne = me.left - _.value + me.width / 2 - ie.width / 2 + C.value, Ke = ce(ie, me, ge), Qe = ie.width / 2 - ge.width / 2;
29486
29486
  return { popoverLeft: Ne, popoverTop: Ke, arrowLeft: Qe, maxHeight: 0 };
29487
29487
  }
29488
29488
  const Q = /* @__PURE__ */ new Map([
@@ -29497,10 +29497,10 @@ function tb(e, t, r, n) {
29497
29497
  ["right-top", Ve],
29498
29498
  ["auto", ne]
29499
29499
  ]);
29500
- function ie(ae) {
29500
+ function ae(ie) {
29501
29501
  var Qe;
29502
- e.keepWidthWithReference && Y(ae);
29503
- const me = ae.getBoundingClientRect();
29502
+ e.keepWidthWithReference && Y(ie);
29503
+ const me = ie.getBoundingClientRect();
29504
29504
  d.value = me.top, m.value = me.left;
29505
29505
  const ge = t.value ? t.value.getBoundingClientRect() : { height: 4, width: 4 }, Ne = (Qe = r.value) == null ? void 0 : Qe.getBoundingClientRect();
29506
29506
  o.value = Ne.width;
@@ -29510,10 +29510,10 @@ function tb(e, t, r, n) {
29510
29510
  h.value = lt, x.value = ct, k.value = dt, c.value = Qt || -1;
29511
29511
  }
29512
29512
  }
29513
- function fe(ae) {
29514
- if (ae) {
29515
- const me = ae.getBoundingClientRect();
29516
- (me.left !== m.value || me.top !== d.value) && ie(ae);
29513
+ function fe(ie) {
29514
+ if (ie) {
29515
+ const me = ie.getBoundingClientRect();
29516
+ (me.left !== m.value || me.top !== d.value) && ae(ie);
29517
29517
  }
29518
29518
  }
29519
29519
  function ke() {
@@ -29526,7 +29526,7 @@ function tb(e, t, r, n) {
29526
29526
  popoverWidth: o,
29527
29527
  fitToReference: Y,
29528
29528
  followToReferencePosition: fe,
29529
- locateToReference: ie,
29529
+ locateToReference: ae,
29530
29530
  resetPosition: ke
29531
29531
  };
29532
29532
  }
@@ -31520,9 +31520,9 @@ function Wc(e, t, r) {
31520
31520
  }
31521
31521
  return r.call(e, t, n);
31522
31522
  }
31523
- let ft, it, _a, En, gt;
31523
+ let ft, at, _a, En, gt;
31524
31524
  function Wb() {
31525
- for (ft = "default", it = "", _a = !1, En = 1; ; ) {
31525
+ for (ft = "default", at = "", _a = !1, En = 1; ; ) {
31526
31526
  gt = Mn();
31527
31527
  const e = m3[ft]();
31528
31528
  if (e)
@@ -31630,10 +31630,10 @@ const m3 = {
31630
31630
  xe() === "-" && (En = -1), ft = "sign";
31631
31631
  return;
31632
31632
  case ".":
31633
- it = xe(), ft = "decimalPointLeading";
31633
+ at = xe(), ft = "decimalPointLeading";
31634
31634
  return;
31635
31635
  case "0":
31636
- it = xe(), ft = "zero";
31636
+ at = xe(), ft = "zero";
31637
31637
  return;
31638
31638
  case "1":
31639
31639
  case "2":
@@ -31644,7 +31644,7 @@ const m3 = {
31644
31644
  case "7":
31645
31645
  case "8":
31646
31646
  case "9":
31647
- it = xe(), ft = "decimalInteger";
31647
+ at = xe(), ft = "decimalInteger";
31648
31648
  return;
31649
31649
  case "I":
31650
31650
  return xe(), Du("nfinity"), Nt("numeric", 1 / 0);
@@ -31652,7 +31652,7 @@ const m3 = {
31652
31652
  return xe(), Du("aN"), Nt("numeric", NaN);
31653
31653
  case '"':
31654
31654
  case "'":
31655
- _a = xe() === '"', it = "", ft = "string";
31655
+ _a = xe() === '"', at = "", ft = "string";
31656
31656
  return;
31657
31657
  }
31658
31658
  throw qt(xe());
@@ -31671,7 +31671,7 @@ const m3 = {
31671
31671
  throw C4();
31672
31672
  break;
31673
31673
  }
31674
- it += e, ft = "identifierName";
31674
+ at += e, ft = "identifierName";
31675
31675
  },
31676
31676
  identifierName() {
31677
31677
  switch (gt) {
@@ -31679,17 +31679,17 @@ const m3 = {
31679
31679
  case "_":
31680
31680
  case "‌":
31681
31681
  case "‍":
31682
- it += xe();
31682
+ at += xe();
31683
31683
  return;
31684
31684
  case "\\":
31685
31685
  xe(), ft = "identifierNameEscape";
31686
31686
  return;
31687
31687
  }
31688
31688
  if (u0.isIdContinueChar(gt)) {
31689
- it += xe();
31689
+ at += xe();
31690
31690
  return;
31691
31691
  }
31692
- return Nt("identifier", it);
31692
+ return Nt("identifier", at);
31693
31693
  },
31694
31694
  identifierNameEscape() {
31695
31695
  if (gt !== "u")
@@ -31707,15 +31707,15 @@ const m3 = {
31707
31707
  throw C4();
31708
31708
  break;
31709
31709
  }
31710
- it += e, ft = "identifierName";
31710
+ at += e, ft = "identifierName";
31711
31711
  },
31712
31712
  sign() {
31713
31713
  switch (gt) {
31714
31714
  case ".":
31715
- it = xe(), ft = "decimalPointLeading";
31715
+ at = xe(), ft = "decimalPointLeading";
31716
31716
  return;
31717
31717
  case "0":
31718
- it = xe(), ft = "zero";
31718
+ at = xe(), ft = "zero";
31719
31719
  return;
31720
31720
  case "1":
31721
31721
  case "2":
@@ -31726,7 +31726,7 @@ const m3 = {
31726
31726
  case "7":
31727
31727
  case "8":
31728
31728
  case "9":
31729
- it = xe(), ft = "decimalInteger";
31729
+ at = xe(), ft = "decimalInteger";
31730
31730
  return;
31731
31731
  case "I":
31732
31732
  return xe(), Du("nfinity"), Nt("numeric", En * (1 / 0));
@@ -31738,15 +31738,15 @@ const m3 = {
31738
31738
  zero() {
31739
31739
  switch (gt) {
31740
31740
  case ".":
31741
- it += xe(), ft = "decimalPoint";
31741
+ at += xe(), ft = "decimalPoint";
31742
31742
  return;
31743
31743
  case "e":
31744
31744
  case "E":
31745
- it += xe(), ft = "decimalExponent";
31745
+ at += xe(), ft = "decimalExponent";
31746
31746
  return;
31747
31747
  case "x":
31748
31748
  case "X":
31749
- it += xe(), ft = "hexadecimal";
31749
+ at += xe(), ft = "hexadecimal";
31750
31750
  return;
31751
31751
  }
31752
31752
  return Nt("numeric", En * 0);
@@ -31754,22 +31754,22 @@ const m3 = {
31754
31754
  decimalInteger() {
31755
31755
  switch (gt) {
31756
31756
  case ".":
31757
- it += xe(), ft = "decimalPoint";
31757
+ at += xe(), ft = "decimalPoint";
31758
31758
  return;
31759
31759
  case "e":
31760
31760
  case "E":
31761
- it += xe(), ft = "decimalExponent";
31761
+ at += xe(), ft = "decimalExponent";
31762
31762
  return;
31763
31763
  }
31764
31764
  if (u0.isDigit(gt)) {
31765
- it += xe();
31765
+ at += xe();
31766
31766
  return;
31767
31767
  }
31768
- return Nt("numeric", En * Number(it));
31768
+ return Nt("numeric", En * Number(at));
31769
31769
  },
31770
31770
  decimalPointLeading() {
31771
31771
  if (u0.isDigit(gt)) {
31772
- it += xe(), ft = "decimalFraction";
31772
+ at += xe(), ft = "decimalFraction";
31773
31773
  return;
31774
31774
  }
31775
31775
  throw qt(xe());
@@ -31778,83 +31778,83 @@ const m3 = {
31778
31778
  switch (gt) {
31779
31779
  case "e":
31780
31780
  case "E":
31781
- it += xe(), ft = "decimalExponent";
31781
+ at += xe(), ft = "decimalExponent";
31782
31782
  return;
31783
31783
  }
31784
31784
  if (u0.isDigit(gt)) {
31785
- it += xe(), ft = "decimalFraction";
31785
+ at += xe(), ft = "decimalFraction";
31786
31786
  return;
31787
31787
  }
31788
- return Nt("numeric", En * Number(it));
31788
+ return Nt("numeric", En * Number(at));
31789
31789
  },
31790
31790
  decimalFraction() {
31791
31791
  switch (gt) {
31792
31792
  case "e":
31793
31793
  case "E":
31794
- it += xe(), ft = "decimalExponent";
31794
+ at += xe(), ft = "decimalExponent";
31795
31795
  return;
31796
31796
  }
31797
31797
  if (u0.isDigit(gt)) {
31798
- it += xe();
31798
+ at += xe();
31799
31799
  return;
31800
31800
  }
31801
- return Nt("numeric", En * Number(it));
31801
+ return Nt("numeric", En * Number(at));
31802
31802
  },
31803
31803
  decimalExponent() {
31804
31804
  switch (gt) {
31805
31805
  case "+":
31806
31806
  case "-":
31807
- it += xe(), ft = "decimalExponentSign";
31807
+ at += xe(), ft = "decimalExponentSign";
31808
31808
  return;
31809
31809
  }
31810
31810
  if (u0.isDigit(gt)) {
31811
- it += xe(), ft = "decimalExponentInteger";
31811
+ at += xe(), ft = "decimalExponentInteger";
31812
31812
  return;
31813
31813
  }
31814
31814
  throw qt(xe());
31815
31815
  },
31816
31816
  decimalExponentSign() {
31817
31817
  if (u0.isDigit(gt)) {
31818
- it += xe(), ft = "decimalExponentInteger";
31818
+ at += xe(), ft = "decimalExponentInteger";
31819
31819
  return;
31820
31820
  }
31821
31821
  throw qt(xe());
31822
31822
  },
31823
31823
  decimalExponentInteger() {
31824
31824
  if (u0.isDigit(gt)) {
31825
- it += xe();
31825
+ at += xe();
31826
31826
  return;
31827
31827
  }
31828
- return Nt("numeric", En * Number(it));
31828
+ return Nt("numeric", En * Number(at));
31829
31829
  },
31830
31830
  hexadecimal() {
31831
31831
  if (u0.isHexDigit(gt)) {
31832
- it += xe(), ft = "hexadecimalInteger";
31832
+ at += xe(), ft = "hexadecimalInteger";
31833
31833
  return;
31834
31834
  }
31835
31835
  throw qt(xe());
31836
31836
  },
31837
31837
  hexadecimalInteger() {
31838
31838
  if (u0.isHexDigit(gt)) {
31839
- it += xe();
31839
+ at += xe();
31840
31840
  return;
31841
31841
  }
31842
- return Nt("numeric", En * Number(it));
31842
+ return Nt("numeric", En * Number(at));
31843
31843
  },
31844
31844
  string() {
31845
31845
  switch (gt) {
31846
31846
  case "\\":
31847
- xe(), it += Gb();
31847
+ xe(), at += Gb();
31848
31848
  return;
31849
31849
  case '"':
31850
31850
  if (_a)
31851
- return xe(), Nt("string", it);
31852
- it += xe();
31851
+ return xe(), Nt("string", at);
31852
+ at += xe();
31853
31853
  return;
31854
31854
  case "'":
31855
31855
  if (!_a)
31856
- return xe(), Nt("string", it);
31857
- it += xe();
31856
+ return xe(), Nt("string", at);
31857
+ at += xe();
31858
31858
  return;
31859
31859
  case `
31860
31860
  `:
@@ -31867,7 +31867,7 @@ const m3 = {
31867
31867
  case void 0:
31868
31868
  throw qt(xe());
31869
31869
  }
31870
- it += xe();
31870
+ at += xe();
31871
31871
  },
31872
31872
  start() {
31873
31873
  switch (gt) {
@@ -31881,7 +31881,7 @@ const m3 = {
31881
31881
  switch (gt) {
31882
31882
  case "$":
31883
31883
  case "_":
31884
- it = xe(), ft = "identifierName";
31884
+ at = xe(), ft = "identifierName";
31885
31885
  return;
31886
31886
  case "\\":
31887
31887
  xe(), ft = "identifierNameStartEscape";
@@ -31894,7 +31894,7 @@ const m3 = {
31894
31894
  return;
31895
31895
  }
31896
31896
  if (u0.isIdStartChar(gt)) {
31897
- it += xe(), ft = "identifierName";
31897
+ at += xe(), ft = "identifierName";
31898
31898
  return;
31899
31899
  }
31900
31900
  throw qt(xe());
@@ -32624,7 +32624,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32624
32624
  pop() {
32625
32625
  return this.heap[--this.length];
32626
32626
  }
32627
- }, Qu = new WeakMap(), mt(cn, Qu, !1), cn), af, sf, Sr, dr, Rr, Fu, Nr, Ju, ea, Pr, x0, Hr, l0, Ht, at, G0, fr, R0, k0, qr, C0, jr, $r, hr, mr, Ur, ru, V0, ta, Re, Xc, Tu, Fn, ii, pr, A3, Bu, ra, si, Kn, Qn, Yc, ws, As, Pt, Zc, Ia, Jn, Kc, na, pv = (na = class {
32627
+ }, Qu = new WeakMap(), mt(cn, Qu, !1), cn), af, sf, Sr, dr, Rr, Fu, Nr, Ju, ea, Pr, x0, Hr, l0, Ht, ut, G0, fr, R0, k0, qr, C0, jr, $r, hr, mr, Ur, ru, V0, ta, Re, Xc, Tu, Fn, ii, pr, A3, Bu, ra, si, Kn, Qn, Yc, ws, As, Pt, Zc, Ia, Jn, Kc, na, pv = (na = class {
32628
32628
  constructor(t) {
32629
32629
  mt(this, Re);
32630
32630
  mt(this, Sr);
@@ -32654,7 +32654,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32654
32654
  mt(this, Hr);
32655
32655
  mt(this, l0);
32656
32656
  mt(this, Ht);
32657
- mt(this, at);
32657
+ mt(this, ut);
32658
32658
  mt(this, G0);
32659
32659
  mt(this, fr);
32660
32660
  mt(this, R0);
@@ -32696,7 +32696,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32696
32696
  }
32697
32697
  if (E !== void 0 && typeof E != "function") throw new TypeError("memoMethod must be a function if defined");
32698
32698
  if (Ze(this, ea, E), T !== void 0 && typeof T != "function") throw new TypeError("fetchMethod must be a function if specified");
32699
- if (Ze(this, Ju, T), Ze(this, ru, !!T), Ze(this, l0, /* @__PURE__ */ new Map()), Ze(this, Ht, new Array(r).fill(void 0)), Ze(this, at, new Array(r).fill(void 0)), Ze(this, G0, new pe(r)), Ze(this, fr, new pe(r)), Ze(this, R0, 0), Ze(this, k0, 0), Ze(this, qr, mv.create(r)), Ze(this, x0, 0), Ze(this, Hr, 0), typeof m == "function" && Ze(this, Rr, m), typeof p == "function" && Ze(this, Fu, p), typeof h == "function" ? (Ze(this, Nr, h), Ze(this, C0, [])) : (Ze(this, Nr, void 0), Ze(this, C0, void 0)), Ze(this, Ur, !!H(this, Rr)), Ze(this, ta, !!H(this, Fu)), Ze(this, V0, !!H(this, Nr)), this.noDisposeOnSet = !!x, this.noUpdateTTL = !!k, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!N, this.allowStaleOnFetchAbort = !!U, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
32699
+ if (Ze(this, Ju, T), Ze(this, ru, !!T), Ze(this, l0, /* @__PURE__ */ new Map()), Ze(this, Ht, new Array(r).fill(void 0)), Ze(this, ut, new Array(r).fill(void 0)), Ze(this, G0, new pe(r)), Ze(this, fr, new pe(r)), Ze(this, R0, 0), Ze(this, k0, 0), Ze(this, qr, mv.create(r)), Ze(this, x0, 0), Ze(this, Hr, 0), typeof m == "function" && Ze(this, Rr, m), typeof p == "function" && Ze(this, Fu, p), typeof h == "function" ? (Ze(this, Nr, h), Ze(this, C0, [])) : (Ze(this, Nr, void 0), Ze(this, C0, void 0)), Ze(this, Ur, !!H(this, Rr)), Ze(this, ta, !!H(this, Fu)), Ze(this, V0, !!H(this, Nr)), this.noDisposeOnSet = !!x, this.noUpdateTTL = !!k, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!N, this.allowStaleOnFetchAbort = !!U, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
32700
32700
  if (H(this, dr) !== 0 && !Zn(H(this, dr))) throw new TypeError("maxSize must be a positive integer if specified");
32701
32701
  if (!Zn(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
32702
32702
  Ue(this, Re, A3).call(this);
@@ -32715,7 +32715,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32715
32715
  return H(this, Pr);
32716
32716
  }
32717
32717
  static unsafeExposeInternals(t) {
32718
- return { starts: H(t, $r), ttls: H(t, hr), autopurgeTimers: H(t, mr), sizes: H(t, jr), keyMap: H(t, l0), keyList: H(t, Ht), valList: H(t, at), next: H(t, G0), prev: H(t, fr), get head() {
32718
+ return { starts: H(t, $r), ttls: H(t, hr), autopurgeTimers: H(t, mr), sizes: H(t, jr), keyMap: H(t, l0), keyList: H(t, Ht), valList: H(t, ut), next: H(t, G0), prev: H(t, fr), get head() {
32719
32719
  return H(t, R0);
32720
32720
  }, get tail() {
32721
32721
  return H(t, k0);
@@ -32770,47 +32770,47 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32770
32770
  return H(this, l0).has(t) ? 1 / 0 : 0;
32771
32771
  }
32772
32772
  *entries() {
32773
- for (let t of Ue(this, Re, Kn).call(this)) H(this, at)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield [H(this, Ht)[t], H(this, at)[t]]);
32773
+ for (let t of Ue(this, Re, Kn).call(this)) H(this, ut)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield [H(this, Ht)[t], H(this, ut)[t]]);
32774
32774
  }
32775
32775
  *rentries() {
32776
- for (let t of Ue(this, Re, Qn).call(this)) H(this, at)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield [H(this, Ht)[t], H(this, at)[t]]);
32776
+ for (let t of Ue(this, Re, Qn).call(this)) H(this, ut)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield [H(this, Ht)[t], H(this, ut)[t]]);
32777
32777
  }
32778
32778
  *keys() {
32779
32779
  for (let t of Ue(this, Re, Kn).call(this)) {
32780
32780
  let r = H(this, Ht)[t];
32781
- r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield r);
32781
+ r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield r);
32782
32782
  }
32783
32783
  }
32784
32784
  *rkeys() {
32785
32785
  for (let t of Ue(this, Re, Qn).call(this)) {
32786
32786
  let r = H(this, Ht)[t];
32787
- r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield r);
32787
+ r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield r);
32788
32788
  }
32789
32789
  }
32790
32790
  *values() {
32791
- for (let t of Ue(this, Re, Kn).call(this)) H(this, at)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield H(this, at)[t]);
32791
+ for (let t of Ue(this, Re, Kn).call(this)) H(this, ut)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield H(this, ut)[t]);
32792
32792
  }
32793
32793
  *rvalues() {
32794
- for (let t of Ue(this, Re, Qn).call(this)) H(this, at)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield H(this, at)[t]);
32794
+ for (let t of Ue(this, Re, Qn).call(this)) H(this, ut)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield H(this, ut)[t]);
32795
32795
  }
32796
32796
  [(sf = Symbol.iterator, af = Symbol.toStringTag, sf)]() {
32797
32797
  return this.entries();
32798
32798
  }
32799
32799
  find(t, r = {}) {
32800
32800
  for (let n of Ue(this, Re, Kn).call(this)) {
32801
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32801
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32802
32802
  if (u !== void 0 && t(u, H(this, Ht)[n], this)) return this.get(H(this, Ht)[n], r);
32803
32803
  }
32804
32804
  }
32805
32805
  forEach(t, r = this) {
32806
32806
  for (let n of Ue(this, Re, Kn).call(this)) {
32807
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32807
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32808
32808
  u !== void 0 && t.call(r, u, H(this, Ht)[n], this);
32809
32809
  }
32810
32810
  }
32811
32811
  rforEach(t, r = this) {
32812
32812
  for (let n of Ue(this, Re, Qn).call(this)) {
32813
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32813
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32814
32814
  u !== void 0 && t.call(r, u, H(this, Ht)[n], this);
32815
32815
  }
32816
32816
  }
@@ -32822,7 +32822,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32822
32822
  info(t) {
32823
32823
  let r = H(this, l0).get(t);
32824
32824
  if (r === void 0) return;
32825
- let n = H(this, at)[r], a = Ue(this, Re, Pt).call(this, n) ? n.__staleWhileFetching : n;
32825
+ let n = H(this, ut)[r], a = Ue(this, Re, Pt).call(this, n) ? n.__staleWhileFetching : n;
32826
32826
  if (a === void 0) return;
32827
32827
  let u = { value: a };
32828
32828
  if (H(this, hr) && H(this, $r)) {
@@ -32837,7 +32837,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32837
32837
  dump() {
32838
32838
  let t = [];
32839
32839
  for (let r of Ue(this, Re, Kn).call(this, { allowStale: !0 })) {
32840
- let n = H(this, Ht)[r], a = H(this, at)[r], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32840
+ let n = H(this, Ht)[r], a = H(this, ut)[r], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32841
32841
  if (u === void 0 || n === void 0) continue;
32842
32842
  let o = { value: u };
32843
32843
  if (H(this, hr) && H(this, $r)) {
@@ -32865,17 +32865,17 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32865
32865
  let { ttl: a = this.ttl, start: u, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: c = this.sizeCalculation, status: d } = n, { noUpdateTTL: m = this.noUpdateTTL } = n, p = H(this, si).call(this, t, r, n.size || 0, c);
32866
32866
  if (this.maxEntrySize && p > this.maxEntrySize) return d && (d.set = "miss", d.maxEntrySizeExceeded = !0), Ue(this, Re, Jn).call(this, t, "set"), this;
32867
32867
  let h = H(this, x0) === 0 ? void 0 : H(this, l0).get(t);
32868
- if (h === void 0) h = H(this, x0) === 0 ? H(this, k0) : H(this, qr).length !== 0 ? H(this, qr).pop() : H(this, x0) === H(this, Sr) ? Ue(this, Re, ws).call(this, !1) : H(this, x0), H(this, Ht)[h] = t, H(this, at)[h] = r, H(this, l0).set(t, h), H(this, G0)[H(this, k0)] = h, H(this, fr)[h] = H(this, k0), Ze(this, k0, h), ji(this, x0)._++, H(this, ra).call(this, h, p, d), d && (d.set = "add"), m = !1, H(this, ta) && ((x = H(this, Fu)) == null || x.call(this, r, t, "add"));
32868
+ if (h === void 0) h = H(this, x0) === 0 ? H(this, k0) : H(this, qr).length !== 0 ? H(this, qr).pop() : H(this, x0) === H(this, Sr) ? Ue(this, Re, ws).call(this, !1) : H(this, x0), H(this, Ht)[h] = t, H(this, ut)[h] = r, H(this, l0).set(t, h), H(this, G0)[H(this, k0)] = h, H(this, fr)[h] = H(this, k0), Ze(this, k0, h), ji(this, x0)._++, H(this, ra).call(this, h, p, d), d && (d.set = "add"), m = !1, H(this, ta) && ((x = H(this, Fu)) == null || x.call(this, r, t, "add"));
32869
32869
  else {
32870
32870
  Ue(this, Re, Ia).call(this, h);
32871
- let F = H(this, at)[h];
32871
+ let F = H(this, ut)[h];
32872
32872
  if (r !== F) {
32873
32873
  if (H(this, ru) && Ue(this, Re, Pt).call(this, F)) {
32874
32874
  F.__abortController.abort(new Error("replaced"));
32875
32875
  let { __staleWhileFetching: I } = F;
32876
32876
  I !== void 0 && !o && (H(this, Ur) && ((k = H(this, Rr)) == null || k.call(this, I, t, "set")), H(this, V0) && ((C = H(this, C0)) == null || C.push([I, t, "set"])));
32877
32877
  } else o || (H(this, Ur) && ((B = H(this, Rr)) == null || B.call(this, F, t, "set")), H(this, V0) && ((_ = H(this, C0)) == null || _.push([F, t, "set"])));
32878
- if (H(this, Bu).call(this, h), H(this, ra).call(this, h, p, d), H(this, at)[h] = r, d) {
32878
+ if (H(this, Bu).call(this, h), H(this, ra).call(this, h, p, d), H(this, ut)[h] = r, d) {
32879
32879
  d.set = "replace";
32880
32880
  let I = F && Ue(this, Re, Pt).call(this, F) ? F.__staleWhileFetching : F;
32881
32881
  I !== void 0 && (d.oldValue = I);
@@ -32893,7 +32893,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32893
32893
  var t;
32894
32894
  try {
32895
32895
  for (; H(this, x0); ) {
32896
- let r = H(this, at)[H(this, R0)];
32896
+ let r = H(this, ut)[H(this, R0)];
32897
32897
  if (Ue(this, Re, ws).call(this, !0), Ue(this, Re, Pt).call(this, r)) {
32898
32898
  if (r.__staleWhileFetching) return r.__staleWhileFetching;
32899
32899
  } else if (r !== void 0) return r;
@@ -32908,7 +32908,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32908
32908
  has(t, r = {}) {
32909
32909
  let { updateAgeOnHas: n = this.updateAgeOnHas, status: a } = r, u = H(this, l0).get(t);
32910
32910
  if (u !== void 0) {
32911
- let o = H(this, at)[u];
32911
+ let o = H(this, ut)[u];
32912
32912
  if (Ue(this, Re, Pt).call(this, o) && o.__staleWhileFetching === void 0) return !1;
32913
32913
  if (H(this, pr).call(this, u)) a && (a.has = "stale", H(this, Fn).call(this, a, u));
32914
32914
  else return n && H(this, Tu).call(this, u), a && (a.has = "hit", H(this, Fn).call(this, a, u)), !0;
@@ -32918,7 +32918,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32918
32918
  peek(t, r = {}) {
32919
32919
  let { allowStale: n = this.allowStale } = r, a = H(this, l0).get(t);
32920
32920
  if (a === void 0 || !n && H(this, pr).call(this, a)) return;
32921
- let u = H(this, at)[a];
32921
+ let u = H(this, ut)[a];
32922
32922
  return Ue(this, Re, Pt).call(this, u) ? u.__staleWhileFetching : u;
32923
32923
  }
32924
32924
  async fetch(t, r = {}) {
@@ -32930,7 +32930,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32930
32930
  let N = Ue(this, Re, As).call(this, t, I, F, B);
32931
32931
  return N.__returned = N;
32932
32932
  } else {
32933
- let N = H(this, at)[I];
32933
+ let N = H(this, ut)[I];
32934
32934
  if (Ue(this, Re, Pt).call(this, N)) {
32935
32935
  let pe = n && N.__staleWhileFetching !== void 0;
32936
32936
  return T && (T.fetch = "inflight", pe && (T.returnedStale = !0)), pe ? N.__staleWhileFetching : N.__returned = N;
@@ -32957,7 +32957,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32957
32957
  get(t, r = {}) {
32958
32958
  let { allowStale: n = this.allowStale, updateAgeOnGet: a = this.updateAgeOnGet, noDeleteOnStaleGet: u = this.noDeleteOnStaleGet, status: o } = r, c = H(this, l0).get(t);
32959
32959
  if (c !== void 0) {
32960
- let d = H(this, at)[c], m = Ue(this, Re, Pt).call(this, d);
32960
+ let d = H(this, ut)[c], m = Ue(this, Re, Pt).call(this, d);
32961
32961
  return o && H(this, Fn).call(this, o, c), H(this, pr).call(this, c) ? (o && (o.get = "stale"), m ? (o && n && d.__staleWhileFetching !== void 0 && (o.returnedStale = !0), n ? d.__staleWhileFetching : void 0) : (u || Ue(this, Re, Jn).call(this, t, "expire"), o && n && (o.returnedStale = !0), n ? d : void 0)) : (o && (o.get = "hit"), m ? d.__staleWhileFetching : (Ue(this, Re, Ia).call(this, c), a && H(this, Tu).call(this, c), d));
32962
32962
  } else o && (o.get = "miss");
32963
32963
  }
@@ -32967,7 +32967,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32967
32967
  clear() {
32968
32968
  return Ue(this, Re, Kc).call(this, "delete");
32969
32969
  }
32970
- }, Sr = new WeakMap(), dr = new WeakMap(), Rr = new WeakMap(), Fu = new WeakMap(), Nr = new WeakMap(), Ju = new WeakMap(), ea = new WeakMap(), Pr = new WeakMap(), x0 = new WeakMap(), Hr = new WeakMap(), l0 = new WeakMap(), Ht = new WeakMap(), at = new WeakMap(), G0 = new WeakMap(), fr = new WeakMap(), R0 = new WeakMap(), k0 = new WeakMap(), qr = new WeakMap(), C0 = new WeakMap(), jr = new WeakMap(), $r = new WeakMap(), hr = new WeakMap(), mr = new WeakMap(), Ur = new WeakMap(), ru = new WeakMap(), V0 = new WeakMap(), ta = new WeakMap(), Re = new WeakSet(), Xc = function() {
32970
+ }, Sr = new WeakMap(), dr = new WeakMap(), Rr = new WeakMap(), Fu = new WeakMap(), Nr = new WeakMap(), Ju = new WeakMap(), ea = new WeakMap(), Pr = new WeakMap(), x0 = new WeakMap(), Hr = new WeakMap(), l0 = new WeakMap(), Ht = new WeakMap(), ut = new WeakMap(), G0 = new WeakMap(), fr = new WeakMap(), R0 = new WeakMap(), k0 = new WeakMap(), qr = new WeakMap(), C0 = new WeakMap(), jr = new WeakMap(), $r = new WeakMap(), hr = new WeakMap(), mr = new WeakMap(), Ur = new WeakMap(), ru = new WeakMap(), V0 = new WeakMap(), ta = new WeakMap(), Re = new WeakSet(), Xc = function() {
32971
32971
  let t = new xs(H(this, Sr)), r = new xs(H(this, Sr));
32972
32972
  Ze(this, hr, t), Ze(this, $r, r);
32973
32973
  let n = this.ttlAutopurge ? new Array(H(this, Sr)) : void 0;
@@ -33040,21 +33040,21 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33040
33040
  return t !== void 0 && H(this, l0).get(H(this, Ht)[t]) === t;
33041
33041
  }, ws = function(t) {
33042
33042
  var u, o, c;
33043
- let r = H(this, R0), n = H(this, Ht)[r], a = H(this, at)[r];
33044
- return H(this, ru) && Ue(this, Re, Pt).call(this, a) ? a.__abortController.abort(new Error("evicted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((u = H(this, Rr)) == null || u.call(this, a, n, "evict")), H(this, V0) && ((o = H(this, C0)) == null || o.push([a, n, "evict"]))), H(this, Bu).call(this, r), (c = H(this, mr)) != null && c[r] && (clearTimeout(H(this, mr)[r]), H(this, mr)[r] = void 0), t && (H(this, Ht)[r] = void 0, H(this, at)[r] = void 0, H(this, qr).push(r)), H(this, x0) === 1 ? (Ze(this, R0, Ze(this, k0, 0)), H(this, qr).length = 0) : Ze(this, R0, H(this, G0)[r]), H(this, l0).delete(n), ji(this, x0)._--, r;
33043
+ let r = H(this, R0), n = H(this, Ht)[r], a = H(this, ut)[r];
33044
+ return H(this, ru) && Ue(this, Re, Pt).call(this, a) ? a.__abortController.abort(new Error("evicted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((u = H(this, Rr)) == null || u.call(this, a, n, "evict")), H(this, V0) && ((o = H(this, C0)) == null || o.push([a, n, "evict"]))), H(this, Bu).call(this, r), (c = H(this, mr)) != null && c[r] && (clearTimeout(H(this, mr)[r]), H(this, mr)[r] = void 0), t && (H(this, Ht)[r] = void 0, H(this, ut)[r] = void 0, H(this, qr).push(r)), H(this, x0) === 1 ? (Ze(this, R0, Ze(this, k0, 0)), H(this, qr).length = 0) : Ze(this, R0, H(this, G0)[r]), H(this, l0).delete(n), ji(this, x0)._--, r;
33045
33045
  }, As = function(t, r, n, a) {
33046
- let u = r === void 0 ? void 0 : H(this, at)[r];
33046
+ let u = r === void 0 ? void 0 : H(this, ut)[r];
33047
33047
  if (Ue(this, Re, Pt).call(this, u)) return u;
33048
33048
  let o = new ao(), { signal: c } = n;
33049
33049
  c == null || c.addEventListener("abort", () => o.abort(c.reason), { signal: o.signal });
33050
33050
  let d = { signal: o.signal, options: n, context: a }, m = (B, _ = !1) => {
33051
33051
  let { aborted: T } = o.signal, E = n.ignoreFetchAbort && B !== void 0, F = n.ignoreFetchAbort || !!(n.allowStaleOnFetchAbort && B !== void 0);
33052
33052
  if (n.status && (T && !_ ? (n.status.fetchAborted = !0, n.status.fetchError = o.signal.reason, E && (n.status.fetchAbortIgnored = !0)) : n.status.fetchResolved = !0), T && !E && !_) return h(o.signal.reason, F);
33053
- let I = k, N = H(this, at)[r];
33054
- return (N === k || E && _ && N === void 0) && (B === void 0 ? I.__staleWhileFetching !== void 0 ? H(this, at)[r] = I.__staleWhileFetching : Ue(this, Re, Jn).call(this, t, "fetch") : (n.status && (n.status.fetchUpdated = !0), this.set(t, B, d.options))), B;
33053
+ let I = k, N = H(this, ut)[r];
33054
+ return (N === k || E && _ && N === void 0) && (B === void 0 ? I.__staleWhileFetching !== void 0 ? H(this, ut)[r] = I.__staleWhileFetching : Ue(this, Re, Jn).call(this, t, "fetch") : (n.status && (n.status.fetchUpdated = !0), this.set(t, B, d.options))), B;
33055
33055
  }, p = (B) => (n.status && (n.status.fetchRejected = !0, n.status.fetchError = B), h(B, !1)), h = (B, _) => {
33056
33056
  let { aborted: T } = o.signal, E = T && n.allowStaleOnFetchAbort, F = E || n.allowStaleOnFetchRejection, I = F || n.noDeleteOnFetchRejection, N = k;
33057
- if (H(this, at)[r] === k && (!I || !_ && N.__staleWhileFetching === void 0 ? Ue(this, Re, Jn).call(this, t, "fetch") : E || (H(this, at)[r] = N.__staleWhileFetching)), F) return n.status && N.__staleWhileFetching !== void 0 && (n.status.returnedStale = !0), N.__staleWhileFetching;
33057
+ if (H(this, ut)[r] === k && (!I || !_ && N.__staleWhileFetching === void 0 ? Ue(this, Re, Jn).call(this, t, "fetch") : E || (H(this, ut)[r] = N.__staleWhileFetching)), F) return n.status && N.__staleWhileFetching !== void 0 && (n.status.returnedStale = !0), N.__staleWhileFetching;
33058
33058
  if (N.__returned === N) throw B;
33059
33059
  }, x = (B, _) => {
33060
33060
  var E;
@@ -33065,7 +33065,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33065
33065
  };
33066
33066
  n.status && (n.status.fetchDispatched = !0);
33067
33067
  let k = new Promise(x).then(m, p), C = Object.assign(k, { __abortController: o, __staleWhileFetching: u, __returned: void 0 });
33068
- return r === void 0 ? (this.set(t, C, { ...d.options, status: void 0 }), r = H(this, l0).get(t)) : H(this, at)[r] = C, C;
33068
+ return r === void 0 ? (this.set(t, C, { ...d.options, status: void 0 }), r = H(this, l0).get(t)) : H(this, ut)[r] = C, C;
33069
33069
  }, Pt = function(t) {
33070
33070
  if (!H(this, ru)) return !1;
33071
33071
  let r = t;
@@ -33082,8 +33082,8 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33082
33082
  if (p !== void 0) if ((a = H(this, mr)) != null && a[p] && (clearTimeout((u = H(this, mr)) == null ? void 0 : u[p]), H(this, mr)[p] = void 0), n = !0, H(this, x0) === 1) Ue(this, Re, Kc).call(this, r);
33083
33083
  else {
33084
33084
  H(this, Bu).call(this, p);
33085
- let h = H(this, at)[p];
33086
- if (Ue(this, Re, Pt).call(this, h) ? h.__abortController.abort(new Error("deleted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((o = H(this, Rr)) == null || o.call(this, h, t, r)), H(this, V0) && ((c = H(this, C0)) == null || c.push([h, t, r]))), H(this, l0).delete(t), H(this, Ht)[p] = void 0, H(this, at)[p] = void 0, p === H(this, k0)) Ze(this, k0, H(this, fr)[p]);
33085
+ let h = H(this, ut)[p];
33086
+ if (Ue(this, Re, Pt).call(this, h) ? h.__abortController.abort(new Error("deleted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((o = H(this, Rr)) == null || o.call(this, h, t, r)), H(this, V0) && ((c = H(this, C0)) == null || c.push([h, t, r]))), H(this, l0).delete(t), H(this, Ht)[p] = void 0, H(this, ut)[p] = void 0, p === H(this, k0)) Ze(this, k0, H(this, fr)[p]);
33087
33087
  else if (p === H(this, R0)) Ze(this, R0, H(this, G0)[p]);
33088
33088
  else {
33089
33089
  let x = H(this, fr)[p];
@@ -33102,14 +33102,14 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33102
33102
  }, Kc = function(t) {
33103
33103
  var r, n, a, u;
33104
33104
  for (let o of Ue(this, Re, Qn).call(this, { allowStale: !0 })) {
33105
- let c = H(this, at)[o];
33105
+ let c = H(this, ut)[o];
33106
33106
  if (Ue(this, Re, Pt).call(this, c)) c.__abortController.abort(new Error("deleted"));
33107
33107
  else {
33108
33108
  let d = H(this, Ht)[o];
33109
33109
  H(this, Ur) && ((r = H(this, Rr)) == null || r.call(this, c, d, t)), H(this, V0) && ((n = H(this, C0)) == null || n.push([c, d, t]));
33110
33110
  }
33111
33111
  }
33112
- if (H(this, l0).clear(), H(this, at).fill(void 0), H(this, Ht).fill(void 0), H(this, hr) && H(this, $r)) {
33112
+ if (H(this, l0).clear(), H(this, ut).fill(void 0), H(this, Ht).fill(void 0), H(this, hr) && H(this, $r)) {
33113
33113
  H(this, hr).fill(0), H(this, $r).fill(0);
33114
33114
  for (let o of H(this, mr) ?? []) o !== void 0 && clearTimeout(o);
33115
33115
  (a = H(this, mr)) == null || a.fill(void 0);
@@ -33250,16 +33250,16 @@ See: https://github.com/francoischalifour/medium-zoom`);
33250
33250
  if (Y.container instanceof Object)
33251
33251
  te = Su({}, te, Y.container), ve = te.width - te.left - te.right - Y.margin * 2, ne = te.height - te.top - te.bottom - Y.margin * 2;
33252
33252
  else {
33253
- var _e = Ds(Y.container) ? Y.container : document.querySelector(Y.container), Ve = _e.getBoundingClientRect(), X = Ve.width, Z = Ve.height, Q = Ve.left, ie = Ve.top;
33253
+ var _e = Ds(Y.container) ? Y.container : document.querySelector(Y.container), Ve = _e.getBoundingClientRect(), X = Ve.width, Z = Ve.height, Q = Ve.left, ae = Ve.top;
33254
33254
  te = Su({}, te, {
33255
33255
  width: X,
33256
33256
  height: Z,
33257
33257
  left: Q,
33258
- top: ie
33258
+ top: ae
33259
33259
  });
33260
33260
  }
33261
33261
  ve = ve || te.width - Y.margin * 2, ne = ne || te.height - Y.margin * 2;
33262
- var fe = j.zoomedHd || j.original, ke = F4(fe) ? ve : fe.naturalWidth || ve, ae = F4(fe) ? ne : fe.naturalHeight || ne, me = fe.getBoundingClientRect(), ge = me.top, Ne = me.left, Ke = me.width, Qe = me.height, lt = Math.min(Math.max(Ke, ke), ve) / Ke, ct = Math.min(Math.max(Qe, ae), ne) / Qe, dt = Math.min(lt, ct), Qt = (-Ne + (ve - Ke) / 2 + Y.margin + te.left) / dt, H0 = (-ge + (ne - Qe) / 2 + Y.margin + te.top) / dt, r0 = "scale(" + dt + ") translate3d(" + Qt + "px, " + H0 + "px, 0)";
33262
+ var fe = j.zoomedHd || j.original, ke = F4(fe) ? ve : fe.naturalWidth || ve, ie = F4(fe) ? ne : fe.naturalHeight || ne, me = fe.getBoundingClientRect(), ge = me.top, Ne = me.left, Ke = me.width, Qe = me.height, lt = Math.min(Math.max(Ke, ke), ve) / Ke, ct = Math.min(Math.max(Qe, ie), ne) / Qe, dt = Math.min(lt, ct), Qt = (-Ne + (ve - Ke) / 2 + Y.margin + te.left) / dt, H0 = (-ge + (ne - Qe) / 2 + Y.margin + te.top) / dt, r0 = "scale(" + dt + ") translate3d(" + Qt + "px, " + H0 + "px, 0)";
33263
33263
  j.zoomed.style.transform = r0, j.zoomedHd && (j.zoomedHd.style.transform = r0);
33264
33264
  };
33265
33265
  return new n(function(Se) {
@@ -35131,24 +35131,24 @@ function F3() {
35131
35131
  }
35132
35132
  var Ve = [], X = !1;
35133
35133
  return {
35134
- onIgnoreTag: function(Z, Q, ie) {
35134
+ onIgnoreTag: function(Z, Q, ae) {
35135
35135
  if (_e(Z))
35136
- if (ie.isClosing) {
35137
- var fe = "[/removed]", ke = ie.position + fe.length;
35136
+ if (ae.isClosing) {
35137
+ var fe = "[/removed]", ke = ae.position + fe.length;
35138
35138
  return Ve.push([
35139
- X !== !1 ? X : ie.position,
35139
+ X !== !1 ? X : ae.position,
35140
35140
  ke
35141
35141
  ]), X = !1, fe;
35142
35142
  } else
35143
- return X || (X = ie.position), "[removed]";
35143
+ return X || (X = ae.position), "[removed]";
35144
35144
  else
35145
- return ve(Z, Q, ie);
35145
+ return ve(Z, Q, ae);
35146
35146
  },
35147
35147
  remove: function(Z) {
35148
- var Q = "", ie = 0;
35148
+ var Q = "", ae = 0;
35149
35149
  return r.forEach(Ve, function(fe) {
35150
- Q += Z.slice(ie, fe[0]), ie = fe[1];
35151
- }), Q += Z.slice(ie), Q;
35150
+ Q += Z.slice(ae, fe[0]), ae = fe[1];
35151
+ }), Q += Z.slice(ae), Q;
35152
35152
  }
35153
35153
  };
35154
35154
  }
@@ -35489,28 +35489,28 @@ const Es = /* @__PURE__ */ Xe({
35489
35489
  Q = window.setTimeout(() => {
35490
35490
  Q = null, X || (u.value = !0);
35491
35491
  }, ne);
35492
- const ie = () => {
35492
+ const ae = () => {
35493
35493
  if (X) return;
35494
35494
  if (X = !0, Z && (window.clearTimeout(Z), Z = null), Q && (window.clearTimeout(Q), Q = null), x.value = !0, ue(te), u.value) {
35495
- const ae = Date.now() - ve, me = Math.max(0, _e - ae);
35495
+ const ie = Date.now() - ve, me = Math.max(0, _e - ie);
35496
35496
  setTimeout(() => {
35497
35497
  a.value = !0;
35498
35498
  }, me);
35499
35499
  } else
35500
35500
  a.value = !0;
35501
35501
  const ke = () => {
35502
- var ae;
35503
- return (ae = e.onIframeLoad) == null ? void 0 : ae.call(e);
35502
+ var ie;
35503
+ return (ie = e.onIframeLoad) == null ? void 0 : ie.call(e);
35504
35504
  };
35505
35505
  ke(), window.setTimeout(ke, 0), window.setTimeout(ke, 120);
35506
35506
  }, fe = () => {
35507
35507
  var ke;
35508
35508
  X || (X = !0, Q && (window.clearTimeout(Q), Q = null), console.warn("ChatPreview: iframe load timeout"), x.value = !0, a.value = !0, (ke = e.onIframeLoad) == null || ke.call(e));
35509
35509
  };
35510
- te.addEventListener("load", ie, {
35510
+ te.addEventListener("load", ae, {
35511
35511
  once: !0
35512
35512
  }), Z = window.setTimeout(fe, Ve), k = () => {
35513
- te.removeEventListener("load", ie), Z && (window.clearTimeout(Z), Z = null), Q && (window.clearTimeout(Q), Q = null);
35513
+ te.removeEventListener("load", ae), Z && (window.clearTimeout(Z), Z = null), Q && (window.clearTimeout(Q), Q = null);
35514
35514
  };
35515
35515
  }, {
35516
35516
  flush: "post"
@@ -35700,7 +35700,7 @@ const Es = /* @__PURE__ */ Xe({
35700
35700
  class: "f-chat-preview-content-nav"
35701
35701
  }, [y("div", {
35702
35702
  class: "f-chat-preview-content-nav-title"
35703
- }, [nt("全部文件")]), y("div", {
35703
+ }, [it("全部文件")]), y("div", {
35704
35704
  class: "f-chat-preview-content-nav-content"
35705
35705
  }, [d.value.map((ve, ne) => y("div", {
35706
35706
  key: ne,
@@ -35770,7 +35770,7 @@ const Es = /* @__PURE__ */ Xe({
35770
35770
  }, null)])])]);
35771
35771
  }
35772
35772
  });
35773
- function pw(e, t) {
35773
+ function mw(e, t) {
35774
35774
  const r = typeof window < "u" ? window.AgentWorkbenchSDK : void 0;
35775
35775
  if (!r) {
35776
35776
  console.warn("[AgentWorkbenchSDK] invoke: window.AgentWorkbenchSDK is not available");
@@ -35788,7 +35788,7 @@ function pw(e, t) {
35788
35788
  return;
35789
35789
  }
35790
35790
  }
35791
- function gw(e) {
35791
+ function pw(e) {
35792
35792
  return my(e);
35793
35793
  }
35794
35794
  let xy = 0;
@@ -35797,14 +35797,14 @@ function Eu() {
35797
35797
  var e;
35798
35798
  return ((e = Ua[Ua.length - 1]) == null ? void 0 : e.h) ?? {};
35799
35799
  }
35800
- function bw(e) {
35800
+ function gw(e) {
35801
35801
  const t = ++xy;
35802
35802
  return Ua.push({ id: t, h: e }), () => {
35803
35803
  const r = Ua.findIndex((n) => n.id === t);
35804
35804
  r >= 0 && Ua.splice(r, 1);
35805
35805
  };
35806
35806
  }
35807
- const vw = {
35807
+ const bw = {
35808
35808
  /**
35809
35809
  * 打开或更新预览:右侧空 → 单栏右侧;仅右侧已有 → 双栏(旧右→左,新→右);**左右已有 → 只替换右侧 iframe**。
35810
35810
  */
@@ -35911,7 +35911,7 @@ function Dy() {
35911
35911
  function ky() {
35912
35912
  return y("span", {
35913
35913
  class: "f-chat-confirm-dialog-icon-letter"
35914
- }, [nt("i")]);
35914
+ }, [it("i")]);
35915
35915
  }
35916
35916
  function Cy() {
35917
35917
  return y("svg", {
@@ -35995,7 +35995,7 @@ let Ga = null, Ss = null;
35995
35995
  function e1() {
35996
35996
  Ga && (Ga.unmount(), Ga = null), Ss && (Ss.remove(), Ss = null);
35997
35997
  }
35998
- function yw(e) {
35998
+ function vw(e) {
35999
35999
  return new Promise((t) => {
36000
36000
  e1();
36001
36001
  const r = document.createElement("div");
@@ -36025,7 +36025,7 @@ function yw(e) {
36025
36025
  }), Ga.mount(r);
36026
36026
  });
36027
36027
  }
36028
- function xw() {
36028
+ function yw() {
36029
36029
  e1();
36030
36030
  }
36031
36031
  Wa.install = (e) => {
@@ -36605,7 +36605,7 @@ const Fs = /* @__PURE__ */ Xe({
36605
36605
  }
36606
36606
  }, null), y("span", {
36607
36607
  class: "f-chat-coding-header-icon-fallback"
36608
- }, [nt("📄")])]), y("span", {
36608
+ }, [it("📄")])]), y("span", {
36609
36609
  class: "f-chat-coding-header-expand"
36610
36610
  }, [y("i", {
36611
36611
  class: t.value ? "fx-icon fx-icon-foldup" : "fx-icon fx-icon-expanddown"
@@ -36615,9 +36615,9 @@ const Fs = /* @__PURE__ */ Xe({
36615
36615
  class: "f-chat-coding-header-stats"
36616
36616
  }, [y("span", {
36617
36617
  class: "f-chat-coding-stat-add"
36618
- }, [nt("+"), E.addedLines]), y("span", {
36618
+ }, [it("+"), E.addedLines]), y("span", {
36619
36619
  class: "f-chat-coding-stat-del"
36620
- }, [nt("-"), E.deletedLines])])]), y("div", {
36620
+ }, [it("-"), E.deletedLines])])]), y("div", {
36621
36621
  style: {
36622
36622
  display: t.value ? "block" : "none"
36623
36623
  }
@@ -36755,7 +36755,7 @@ const Ts = /* @__PURE__ */ Xe({
36755
36755
  }
36756
36756
  }, null), y("span", {
36757
36757
  class: "f-chat-file-op-file-icon-fallback"
36758
- }, [nt("📄")])]), y("span", {
36758
+ }, [it("📄")])]), y("span", {
36759
36759
  class: "f-chat-file-op-file-name"
36760
36760
  }, [E.file]), y("span", {
36761
36761
  class: "f-chat-file-op-file-path",
@@ -36849,7 +36849,7 @@ const wx = {
36849
36849
  return e.progress > 0 && y("div", {
36850
36850
  class: ["fx-generate-process--progress-text", (m = e.classNames) == null ? void 0 : m["progress-text"]],
36851
36851
  style: (p = e.styles) == null ? void 0 : p["progress-text"]
36852
- }, [e.progress, nt("%")]);
36852
+ }, [e.progress, it("%")]);
36853
36853
  }
36854
36854
  function c() {
36855
36855
  return y("div", {
@@ -36884,7 +36884,7 @@ const wx = {
36884
36884
  }
36885
36885
  }, null), !e.description && o()]), e.description && e.progress > 0 && y("div", {
36886
36886
  class: "fx-generate-process--progress"
36887
- }, [u(), nt(" "), o()])])]);
36887
+ }, [u(), it(" "), o()])])]);
36888
36888
  };
36889
36889
  }
36890
36890
  });
@@ -37468,7 +37468,7 @@ const Fx = {
37468
37468
  class: t.value ? "fx-icon fx-icon-foldup" : "fx-icon fx-icon-expanddown"
37469
37469
  }, null)])]), y("span", {
37470
37470
  class: "f-chat-todo-header-label"
37471
- }, [nt("待办任务")]), y("span", {
37471
+ }, [it("待办任务")]), y("span", {
37472
37472
  class: "f-chat-todo-header-count"
37473
37473
  }, [r.value])]), t.value && y("div", {
37474
37474
  class: "f-chat-todo-content"
@@ -37854,7 +37854,7 @@ const Ox = {
37854
37854
  class: "tag-text"
37855
37855
  }, [h[e.valueField]]), h[e.valueField] > e.maxNum && y("span", {
37856
37856
  class: "tag-text"
37857
- }, [e.maxNum, nt("+")])])]), y("div", {
37857
+ }, [e.maxNum, it("+")])])]), y("div", {
37858
37858
  class: "farris-nav-item-bottom-line"
37859
37859
  }, null)])]))]);
37860
37860
  };
@@ -37968,7 +37968,7 @@ const Lx = {
37968
37968
  onClick: () => o(p)
37969
37969
  }, [d(p)])), !e.loading && a.value.length === 0 && y("li", {
37970
37970
  class: "search-box-empty"
37971
- }, [nt("无匹配结果")])])]);
37971
+ }, [it("无匹配结果")])])]);
37972
37972
  }
37973
37973
  }), Ns = /* @__PURE__ */ Xe({
37974
37974
  name: "FXSearchBox",
@@ -38448,7 +38448,7 @@ const uc = /* @__PURE__ */ Xe({
38448
38448
  }, [y("span", {
38449
38449
  class: "f-ec-attach-icon",
38450
38450
  "aria-hidden": !0
38451
- }, [nt("📎")]), y("span", {
38451
+ }, [it("📎")]), y("span", {
38452
38452
  class: "f-ec-attach-body"
38453
38453
  }, [y("span", {
38454
38454
  class: "f-ec-attach-name"
@@ -38517,14 +38517,14 @@ const Wx = {
38517
38517
  class: "f-ec-error-badge"
38518
38518
  }, [Wx[t]]), y("span", {
38519
38519
  class: "f-ec-error-label"
38520
- }, [nt("错误提醒")])]), y("div", {
38520
+ }, [it("错误提醒")])]), y("div", {
38521
38521
  class: "f-ec-error-text"
38522
38522
  }, [e.content.errorText]), e.content.errorLink ? y("a", {
38523
38523
  class: "f-ec-error-link",
38524
38524
  href: e.content.errorLink,
38525
38525
  target: "_blank",
38526
38526
  rel: "noopener noreferrer"
38527
- }, [nt("查看详情")]) : null]);
38527
+ }, [it("查看详情")]) : null]);
38528
38528
  };
38529
38529
  }
38530
38530
  });
@@ -38604,19 +38604,19 @@ const Hs = /* @__PURE__ */ Xe({
38604
38604
  "data-testid": "auth-per-access",
38605
38605
  disabled: e.disabled,
38606
38606
  onClick: () => r("PER_ACCESS_YES")
38607
- }, [nt("临时授权一次")]), y("button", {
38607
+ }, [it("临时授权一次")]), y("button", {
38608
38608
  type: "button",
38609
38609
  class: "f-credential-auth-dialog__btn f-credential-auth-dialog__btn--outline",
38610
38610
  "data-testid": "auth-session",
38611
38611
  disabled: e.disabled,
38612
38612
  onClick: () => r("SESSION_YES")
38613
- }, [nt("授权整个会话")]), y("button", {
38613
+ }, [it("授权整个会话")]), y("button", {
38614
38614
  type: "button",
38615
38615
  class: "f-credential-auth-dialog__btn f-credential-auth-dialog__btn--outline",
38616
38616
  "data-testid": "auth-no",
38617
38617
  disabled: e.disabled,
38618
38618
  onClick: () => r("NO")
38619
- }, [nt("拒绝")])])])]);
38619
+ }, [it("拒绝")])])])]);
38620
38620
  return n.value ? y(so, {
38621
38621
  to: n.value
38622
38622
  }, Gx(a) ? a : {
@@ -38697,8 +38697,8 @@ const sc = /* @__PURE__ */ Xe({
38697
38697
  var X;
38698
38698
  return e.content.questions.length === 1 && Yn((X = e.content.questions[0]) == null ? void 0 : X.ui_type) === "authorize" && !!e.content.credentialAuth;
38699
38699
  }), c = ye(!1);
38700
- et(() => [o.value, t.value, e.disabled], ([X, Z, Q]) => {
38701
- c.value = X && !Z && !Q;
38700
+ et(() => [o.value, t.value], ([X, Z]) => {
38701
+ c.value = X && !Z;
38702
38702
  }, {
38703
38703
  immediate: !0
38704
38704
  });
@@ -38714,24 +38714,24 @@ const sc = /* @__PURE__ */ Xe({
38714
38714
  }
38715
38715
  function m(X) {
38716
38716
  const Z = {}, Q = {};
38717
- for (const ie of X) {
38718
- const fe = Yn(ie.ui_type);
38717
+ for (const ae of X) {
38718
+ const fe = Yn(ae.ui_type);
38719
38719
  if (fe === "confirm")
38720
- Z[ie.id] = void 0;
38720
+ Z[ae.id] = void 0;
38721
38721
  else if (fe === "authorize")
38722
- Z[ie.id] = void 0;
38722
+ Z[ae.id] = void 0;
38723
38723
  else if (fe === "text" || fe === "select")
38724
- Z[ie.id] = ie.default_value ?? "";
38724
+ Z[ae.id] = ae.default_value ?? "";
38725
38725
  else if (fe === "multi_select")
38726
- Z[ie.id] = ie.default_value ? JSON.parse(ie.default_value) : [];
38726
+ Z[ae.id] = ae.default_value ? JSON.parse(ae.default_value) : [];
38727
38727
  else if (fe === "form") {
38728
38728
  const ke = {};
38729
- if (Array.isArray(ie.fields))
38730
- for (const ae of ie.fields)
38731
- ke[ae.name] = ae.default_value ?? "";
38732
- Z[ie.id] = ke;
38733
- } else Z[ie.id] = ie.default_value ?? "";
38734
- Q[ie.id] = {
38729
+ if (Array.isArray(ae.fields))
38730
+ for (const ie of ae.fields)
38731
+ ke[ie.name] = ie.default_value ?? "";
38732
+ Z[ae.id] = ke;
38733
+ } else Z[ae.id] = ae.default_value ?? "";
38734
+ Q[ae.id] = {
38735
38735
  active: !1,
38736
38736
  text: ""
38737
38737
  };
@@ -38749,13 +38749,13 @@ const sc = /* @__PURE__ */ Xe({
38749
38749
  }, Q = {
38750
38750
  ...a.value
38751
38751
  };
38752
- for (const ie of X) {
38753
- Z[ie.id] = ie.answer;
38754
- const fe = e.content.questions.find((ke) => ke.id === ie.id);
38755
- fe && Yn(fe.ui_type) === "select" && typeof ie.answer == "string" && !(fe.options ?? []).some((me) => me.label === ie.answer) && ie.answer !== "" && (Q[ie.id] = {
38752
+ for (const ae of X) {
38753
+ Z[ae.id] = ae.answer;
38754
+ const fe = e.content.questions.find((ke) => ke.id === ae.id);
38755
+ fe && Yn(fe.ui_type) === "select" && typeof ae.answer == "string" && !(fe.options ?? []).some((me) => me.label === ae.answer) && ae.answer !== "" && (Q[ae.id] = {
38756
38756
  active: !0,
38757
- text: ie.answer
38758
- }, Z[ie.id] = Cn);
38757
+ text: ae.answer
38758
+ }, Z[ae.id] = Cn);
38759
38759
  }
38760
38760
  n.value = Z, a.value = Q, t.value = !0;
38761
38761
  }, {
@@ -38777,15 +38777,15 @@ const sc = /* @__PURE__ */ Xe({
38777
38777
  x.value || (r.value -= 1);
38778
38778
  }
38779
38779
  function T(X) {
38780
- var ie, fe;
38780
+ var ae, fe;
38781
38781
  const Z = Yn(X.ui_type), Q = n.value[X.id];
38782
- if (Z === "text" && (typeof Q != "string" || Q.trim() === "") || Z === "select" && (typeof Q != "string" || Q.trim() === "" || Q === Cn && (((fe = (ie = a.value[X.id]) == null ? void 0 : ie.text) == null ? void 0 : fe.trim()) ?? "") === "") || Z === "confirm" && typeof Q != "boolean" || Z === "multi_select" && (!Array.isArray(Q) || Q.length === 0))
38782
+ if (Z === "text" && (typeof Q != "string" || Q.trim() === "") || Z === "select" && (typeof Q != "string" || Q.trim() === "" || Q === Cn && (((fe = (ae = a.value[X.id]) == null ? void 0 : ae.text) == null ? void 0 : fe.trim()) ?? "") === "") || Z === "confirm" && typeof Q != "boolean" || Z === "multi_select" && (!Array.isArray(Q) || Q.length === 0))
38783
38783
  return !1;
38784
38784
  if (Z === "form") {
38785
- const ke = X.fields ?? [], ae = Q;
38785
+ const ke = X.fields ?? [], ie = Q;
38786
38786
  for (const me of ke)
38787
38787
  if (me.required) {
38788
- const ge = ae[me.name];
38788
+ const ge = ie[me.name];
38789
38789
  if (typeof ge != "string" || ge.trim() === "") return !1;
38790
38790
  }
38791
38791
  }
@@ -38799,9 +38799,9 @@ const sc = /* @__PURE__ */ Xe({
38799
38799
  };
38800
38800
  }
38801
38801
  function I(X, Z, Q) {
38802
- const ie = n.value[X] ?? {};
38802
+ const ae = n.value[X] ?? {};
38803
38803
  F(X, {
38804
- ...ie,
38804
+ ...ae,
38805
38805
  [Z]: Q
38806
38806
  });
38807
38807
  }
@@ -38828,21 +38828,21 @@ const sc = /* @__PURE__ */ Xe({
38828
38828
  }
38829
38829
  function Y(X, Z) {
38830
38830
  const Q = n.value[X.id] ?? [];
38831
- Q.includes(Z) ? F(X.id, Q.filter((ie) => ie !== Z)) : F(X.id, [...Q, Z]);
38831
+ Q.includes(Z) ? F(X.id, Q.filter((ae) => ae !== Z)) : F(X.id, [...Q, Z]);
38832
38832
  }
38833
38833
  function j() {
38834
- var Z, Q, ie;
38834
+ var Z, Q, ae;
38835
38835
  if (!E.value) return;
38836
38836
  const X = [];
38837
38837
  for (const fe of e.content.questions) {
38838
38838
  const ke = Yn(fe.ui_type);
38839
- let ae = n.value[fe.id];
38840
- ke === "select" && ae === Cn && (ae = ((Q = (Z = a.value[fe.id]) == null ? void 0 : Z.text) == null ? void 0 : Q.trim()) ?? ""), ke === "number" && (ae = Number(ae)), X.push({
38839
+ let ie = n.value[fe.id];
38840
+ ke === "select" && ie === Cn && (ie = ((Q = (Z = a.value[fe.id]) == null ? void 0 : Z.text) == null ? void 0 : Q.trim()) ?? ""), ke === "number" && (ie = Number(ie)), X.push({
38841
38841
  id: fe.id,
38842
- answer: ae
38842
+ answer: ie
38843
38843
  });
38844
38844
  }
38845
- t.value = !0, (ie = e.onSubmitAnswers) == null || ie.call(e, X);
38845
+ t.value = !0, (ae = e.onSubmitAnswers) == null || ae.call(e, X);
38846
38846
  }
38847
38847
  function pe(X, Z, Q) {
38848
38848
  return y("div", {
@@ -38852,21 +38852,21 @@ const sc = /* @__PURE__ */ Xe({
38852
38852
  type: "date",
38853
38853
  value: X,
38854
38854
  disabled: Z,
38855
- onInput: (ie) => Q(ie.target.value)
38855
+ onInput: (ae) => Q(ae.target.value)
38856
38856
  }, null)]);
38857
38857
  }
38858
- function he(X, Z, Q, ie, fe) {
38858
+ function he(X, Z, Q, ae, fe) {
38859
38859
  const ke = (ge) => {
38860
38860
  let Ne = Number(X) || 0;
38861
- Ne += ge, ie !== void 0 && (Ne = Math.max(ie, Ne)), fe !== void 0 && (Ne = Math.min(fe, Ne)), Q(String(Ne));
38862
- }, ae = fe !== void 0 && Number(X || 0) >= fe, me = ie !== void 0 && Number(X || 0) <= ie;
38861
+ Ne += ge, ae !== void 0 && (Ne = Math.max(ae, Ne)), fe !== void 0 && (Ne = Math.min(fe, Ne)), Q(String(Ne));
38862
+ }, ie = fe !== void 0 && Number(X || 0) >= fe, me = ae !== void 0 && Number(X || 0) <= ae;
38863
38863
  return y("div", {
38864
38864
  class: "f-hitl-num-wrap"
38865
38865
  }, [y("input", {
38866
38866
  class: "f-hitl-input f-hitl-num-input",
38867
38867
  type: "number",
38868
38868
  value: X,
38869
- min: ie,
38869
+ min: ae,
38870
38870
  max: fe,
38871
38871
  disabled: Z,
38872
38872
  onInput: (ge) => Q(ge.target.value)
@@ -38875,7 +38875,7 @@ const sc = /* @__PURE__ */ Xe({
38875
38875
  }, [y("button", {
38876
38876
  type: "button",
38877
38877
  class: "f-hitl-num-btn",
38878
- disabled: Z || ae,
38878
+ disabled: Z || ie,
38879
38879
  onClick: () => ke(1)
38880
38880
  }, [y("span", {
38881
38881
  class: "fx-icon fx-icon-foldup"
@@ -38888,13 +38888,13 @@ const sc = /* @__PURE__ */ Xe({
38888
38888
  class: "fx-icon fx-icon-expanddown"
38889
38889
  }, null)])])]);
38890
38890
  }
38891
- function ce(X, Z, Q, ie) {
38891
+ function ce(X, Z, Q, ae) {
38892
38892
  return y("div", {
38893
38893
  key: X.label,
38894
38894
  class: ["f-hitl-opt-row", {
38895
38895
  "f-hitl-opt-row--active": Q
38896
38896
  }],
38897
- onClick: ie
38897
+ onClick: ae
38898
38898
  }, [y("span", {
38899
38899
  class: "f-hitl-opt-row__index"
38900
38900
  }, [Z + 1]), y("div", {
@@ -38918,14 +38918,14 @@ const sc = /* @__PURE__ */ Xe({
38918
38918
  }, [X.label]), Z]);
38919
38919
  }
38920
38920
  function ue(X, Z, Q) {
38921
- const ie = n.value[X.id] ?? "", fe = n.value[X.id] ?? [], ke = a.value[X.id] ?? {
38921
+ const ae = n.value[X.id] ?? "", fe = n.value[X.id] ?? [], ke = a.value[X.id] ?? {
38922
38922
  active: !1,
38923
38923
  text: ""
38924
- }, ae = Q === "single", me = ae && ie === Cn || ke.active, ge = X.allow_other && me, Ne = (ct) => ae ? ie === ct.label && !ke.active : fe.includes(ct.label), Ke = (ct) => () => {
38925
- u.value || (ae ? U(X, ct.label) : Y(X, ct.label));
38924
+ }, ie = Q === "single", me = ie && ae === Cn || ke.active, ge = X.allow_other && me, Ne = (ct) => ie ? ae === ct.label && !ke.active : fe.includes(ct.label), Ke = (ct) => () => {
38925
+ u.value || (ie ? U(X, ct.label) : Y(X, ct.label));
38926
38926
  }, Qe = () => {
38927
38927
  if (!u.value)
38928
- if (ae)
38928
+ if (ie)
38929
38929
  U(X, Cn);
38930
38930
  else {
38931
38931
  const ct = ke.text;
@@ -38951,7 +38951,7 @@ const sc = /* @__PURE__ */ Xe({
38951
38951
  active: !0,
38952
38952
  text: dt
38953
38953
  }
38954
- }, ae ? F(X.id, Cn) : F(X.id, [...fe.filter((Qt) => Qt !== ke.text), dt]);
38954
+ }, ie ? F(X.id, Cn) : F(X.id, [...fe.filter((Qt) => Qt !== ke.text), dt]);
38955
38955
  };
38956
38956
  return y("div", {
38957
38957
  key: X.id
@@ -38964,9 +38964,9 @@ const sc = /* @__PURE__ */ Xe({
38964
38964
  onClick: Qe
38965
38965
  }, [y("span", {
38966
38966
  class: "f-hitl-opt-row__index"
38967
- }, [nt("...")]), y("span", {
38967
+ }, [it("...")]), y("span", {
38968
38968
  class: "f-hitl-opt-row__label"
38969
- }, [nt("其他")]), y("span", {
38969
+ }, [it("其他")]), y("span", {
38970
38970
  class: "f-hitl-opt-row__check"
38971
38971
  }, [me ? y("span", {
38972
38972
  class: "fx-icon fx-icon-sender_choose",
@@ -38987,28 +38987,28 @@ const sc = /* @__PURE__ */ Xe({
38987
38987
  key: X.id
38988
38988
  }, [y("div", {
38989
38989
  class: "f-hitl-form-group"
38990
- }, [Q.map((ie) => {
38991
- const fe = Z[ie.name] ?? "";
38992
- return ie.type === "select" ? be(ie, y("div", {
38990
+ }, [Q.map((ae) => {
38991
+ const fe = Z[ae.name] ?? "";
38992
+ return ae.type === "select" ? be(ae, y("div", {
38993
38993
  class: "f-hitl-select-group"
38994
- }, [(ie.options ?? []).map((ke) => {
38995
- const ae = typeof ke == "string" ? ke : ke.label ?? "";
38994
+ }, [(ae.options ?? []).map((ke) => {
38995
+ const ie = typeof ke == "string" ? ke : ke.label ?? "";
38996
38996
  return y("button", {
38997
- key: ae,
38997
+ key: ie,
38998
38998
  type: "button",
38999
38999
  class: ["f-hitl-opt", {
39000
- "f-hitl-opt--active": fe === ae
39000
+ "f-hitl-opt--active": fe === ie
39001
39001
  }],
39002
39002
  disabled: u.value,
39003
- onClick: () => I(X.id, ie.name, ae)
39004
- }, [ae]);
39005
- })])) : ie.type === "number" ? be(ie, he(fe, u.value, (ke) => I(X.id, ie.name, ke), ie.min, ie.max)) : ie.type === "date" ? be(ie, pe(fe, u.value, (ke) => I(X.id, ie.name, ke))) : be(ie, y("input", {
39003
+ onClick: () => I(X.id, ae.name, ie)
39004
+ }, [ie]);
39005
+ })])) : ae.type === "number" ? be(ae, he(fe, u.value, (ke) => I(X.id, ae.name, ke), ae.min, ae.max)) : ae.type === "date" ? be(ae, pe(fe, u.value, (ke) => I(X.id, ae.name, ke))) : be(ae, y("input", {
39006
39006
  class: "f-hitl-input",
39007
39007
  type: "text",
39008
39008
  value: fe,
39009
- placeholder: ie.default_value ?? "请输入",
39009
+ placeholder: ae.default_value ?? "请输入",
39010
39010
  disabled: u.value,
39011
- onInput: (ke) => I(X.id, ie.name, ke.target.value)
39011
+ onInput: (ke) => I(X.id, ae.name, ke.target.value)
39012
39012
  }, null));
39013
39013
  })])]);
39014
39014
  }
@@ -39025,7 +39025,7 @@ const sc = /* @__PURE__ */ Xe({
39025
39025
  value: Q,
39026
39026
  placeholder: X.placeholder ?? "请输入",
39027
39027
  disabled: u.value,
39028
- onInput: (ie) => F(X.id, ie.target.value)
39028
+ onInput: (ae) => F(X.id, ae.target.value)
39029
39029
  }, null)]);
39030
39030
  }
39031
39031
  if (Z === "multi_select") {
@@ -39059,14 +39059,14 @@ const sc = /* @__PURE__ */ Xe({
39059
39059
  }],
39060
39060
  disabled: u.value,
39061
39061
  onClick: () => F(X.id, !0)
39062
- }, [nt("是")]), y("button", {
39062
+ }, [it("是")]), y("button", {
39063
39063
  type: "button",
39064
39064
  class: ["f-hitl-cbtn", {
39065
39065
  "f-hitl-cbtn--primary": Q === !1
39066
39066
  }],
39067
39067
  disabled: u.value,
39068
39068
  onClick: () => F(X.id, !1)
39069
- }, [nt("否")])])]);
39069
+ }, [it("否")])])]);
39070
39070
  }
39071
39071
  if (Z === "authorize")
39072
39072
  return y("div", {
@@ -39080,30 +39080,30 @@ const sc = /* @__PURE__ */ Xe({
39080
39080
  return y("div", {
39081
39081
  class: "f-hitl-field",
39082
39082
  key: X.id
39083
- }, [pe(Q, u.value, (ie) => F(X.id, ie))]);
39083
+ }, [pe(Q, u.value, (ae) => F(X.id, ae))]);
39084
39084
  }
39085
39085
  if (Z === "number") {
39086
39086
  const Q = n.value[X.id] ?? "";
39087
39087
  return y("div", {
39088
39088
  class: "f-hitl-field",
39089
39089
  key: X.id
39090
- }, [he(Q, u.value, (ie) => F(X.id, ie), X.min, X.max)]);
39090
+ }, [he(Q, u.value, (ae) => F(X.id, ae), X.min, X.max)]);
39091
39091
  }
39092
39092
  return y("div", {
39093
39093
  class: "f-hitl-field f-hitl-field--unsupported",
39094
39094
  key: X.id
39095
39095
  }, [y("div", {
39096
39096
  class: "f-hitl-unsupported"
39097
- }, [nt("暂不支持 ui_type「"), String(X.ui_type), nt("」,请升级前端。")])]);
39097
+ }, [it("暂不支持 ui_type「"), String(X.ui_type), it("」,请升级前端。")])]);
39098
39098
  }
39099
39099
  function te(X) {
39100
- const Z = Yn(X.ui_type), Q = (fe, ke, ae) => y("input", {
39100
+ const Z = Yn(X.ui_type), Q = (fe, ke, ie) => y("input", {
39101
39101
  class: "f-hitl-input",
39102
39102
  type: fe,
39103
39103
  value: ke,
39104
39104
  readonly: !0,
39105
- min: ae == null ? void 0 : ae.min,
39106
- max: ae == null ? void 0 : ae.max
39105
+ min: ie == null ? void 0 : ie.min,
39106
+ max: ie == null ? void 0 : ie.max
39107
39107
  }, null);
39108
39108
  if (Z === "text") {
39109
39109
  const fe = n.value[X.id] ?? "";
@@ -39113,7 +39113,7 @@ const sc = /* @__PURE__ */ Xe({
39113
39113
  }, [Q("text", fe)]);
39114
39114
  }
39115
39115
  if (Z === "multi_select") {
39116
- const fe = n.value[X.id] ?? [], ke = Array.isArray(X.options) ? X.options : [], ae = new Set(ke.map((ge) => ge.label)), me = fe.filter((ge) => !ae.has(ge));
39116
+ const fe = n.value[X.id] ?? [], ke = Array.isArray(X.options) ? X.options : [], ie = new Set(ke.map((ge) => ge.label)), me = fe.filter((ge) => !ie.has(ge));
39117
39117
  return y("div", {
39118
39118
  key: X.id
39119
39119
  }, [y("div", {
@@ -39137,7 +39137,7 @@ const sc = /* @__PURE__ */ Xe({
39137
39137
  const fe = n.value[X.id] ?? "", ke = a.value[X.id] ?? {
39138
39138
  active: !1,
39139
39139
  text: ""
39140
- }, ae = Array.isArray(X.options) ? X.options : [], me = fe === Cn || ke.active;
39140
+ }, ie = Array.isArray(X.options) ? X.options : [], me = fe === Cn || ke.active;
39141
39141
  return y("div", {
39142
39142
  key: X.id
39143
39143
  }, [y("div", {
@@ -39146,7 +39146,7 @@ const sc = /* @__PURE__ */ Xe({
39146
39146
  class: "f-hitl-opt-row"
39147
39147
  }, [y("div", {
39148
39148
  class: "f-hitl-opt-row__label"
39149
- }, [y("span", null, [ke.text || "其他"])])]) : ae.filter((ge) => ge.label === fe).map((ge) => y("div", {
39149
+ }, [y("span", null, [ke.text || "其他"])])]) : ie.filter((ge) => ge.label === fe).map((ge) => y("div", {
39150
39150
  class: "f-hitl-opt-row",
39151
39151
  key: ge.label
39152
39152
  }, [y("div", {
@@ -39182,13 +39182,13 @@ const sc = /* @__PURE__ */ Xe({
39182
39182
  key: X.id
39183
39183
  }, [y("div", {
39184
39184
  class: "f-hitl-form-group"
39185
- }, [ke.map((ae) => {
39186
- const me = fe[ae.name] ?? "";
39185
+ }, [ke.map((ie) => {
39186
+ const me = fe[ie.name] ?? "";
39187
39187
  let ge;
39188
- return ae.type === "number" ? ge = Q("number", me, {
39189
- min: ae.min,
39190
- max: ae.max
39191
- }) : ae.type === "date" ? ge = Q("date", me) : ge = Q("text", me), be(ae, ge);
39188
+ return ie.type === "number" ? ge = Q("number", me, {
39189
+ min: ie.min,
39190
+ max: ie.max
39191
+ }) : ie.type === "date" ? ge = Q("date", me) : ge = Q("text", me), be(ie, ge);
39192
39192
  })])]);
39193
39193
  }
39194
39194
  if (Z === "date") {
@@ -39205,13 +39205,13 @@ const sc = /* @__PURE__ */ Xe({
39205
39205
  key: X.id
39206
39206
  }, [Q("number", fe)]);
39207
39207
  }
39208
- const ie = n.value[X.id];
39208
+ const ae = n.value[X.id];
39209
39209
  return y("div", {
39210
39210
  class: "f-hitl-field",
39211
39211
  key: X.id
39212
39212
  }, [y("span", {
39213
39213
  class: "f-hitl-submitted-value"
39214
- }, [String(ie ?? "")])]);
39214
+ }, [String(ae ?? "")])]);
39215
39215
  }
39216
39216
  function ve(X) {
39217
39217
  return y("div", {
@@ -39234,7 +39234,7 @@ const sc = /* @__PURE__ */ Xe({
39234
39234
  class: "fx-icon fx-icon-arrow-left"
39235
39235
  }, null)]), y("span", {
39236
39236
  class: "f-hitl-pagination__text"
39237
- }, [r.value + 1, nt("/"), p.value]), y("button", {
39237
+ }, [r.value + 1, it("/"), p.value]), y("button", {
39238
39238
  type: "button",
39239
39239
  class: "f-hitl-pagination__btn",
39240
39240
  disabled: k.value,
@@ -39270,7 +39270,7 @@ const sc = /* @__PURE__ */ Xe({
39270
39270
  if (!X) return null;
39271
39271
  const Z = e.pinned ? "f-hitl-card--pinned" : "", Q = e.pinned && e.pinnedWidth ? {
39272
39272
  width: e.pinnedWidth
39273
- } : void 0, ie = e.pinnedInputHeight ?? 0, fe = e.pinnedBottom ?? 36, ke = () => y(M0, null, [y("div", {
39273
+ } : void 0, ae = e.pinnedInputHeight ?? 0, fe = e.pinnedBottom ?? 36, ke = () => y(M0, null, [y("div", {
39274
39274
  class: "f-hitl-card__header"
39275
39275
  }, [ve(X), ne()]), y("div", {
39276
39276
  class: ["f-hitl-card__body", {
@@ -39283,21 +39283,21 @@ const sc = /* @__PURE__ */ Xe({
39283
39283
  class: "f-hitl-btn",
39284
39284
  disabled: e.required && !C.value,
39285
39285
  onClick: B
39286
- }, [nt("下一条")]), k.value && y("button", {
39286
+ }, [it("下一条")]), k.value && y("button", {
39287
39287
  type: "button",
39288
39288
  class: "f-hitl-btn",
39289
39289
  disabled: !E.value,
39290
39290
  onClick: j
39291
- }, [nt("提交")])])]);
39291
+ }, [it("提交")])])]);
39292
39292
  if (e.pinned) {
39293
- const ae = y("div", {
39293
+ const ie = y("div", {
39294
39294
  class: "f-hitl-pinned-spacer",
39295
39295
  "aria-hidden": "true"
39296
39296
  }, [y("div", {
39297
39297
  class: "f-hitl-card",
39298
39298
  style: {
39299
39299
  ...Q,
39300
- marginBottom: `-${ie}px`
39300
+ marginBottom: `-${ae}px`
39301
39301
  }
39302
39302
  }, [ke()])]);
39303
39303
  if (e.teleportTo) {
@@ -39308,7 +39308,7 @@ const sc = /* @__PURE__ */ Xe({
39308
39308
  class: ["f-hitl-card", Z],
39309
39309
  style: ge
39310
39310
  }, [ke()]);
39311
- return y(M0, null, [ae, y(so, {
39311
+ return y(M0, null, [ie, y(so, {
39312
39312
  to: e.teleportTo
39313
39313
  }, Xx(Ne) ? Ne : {
39314
39314
  default: () => [Ne]
@@ -39318,7 +39318,7 @@ const sc = /* @__PURE__ */ Xe({
39318
39318
  class: ["f-hitl-card", Z],
39319
39319
  style: Q
39320
39320
  }, [ke()]);
39321
- return y(M0, null, [ae, me]);
39321
+ return y(M0, null, [ie, me]);
39322
39322
  }
39323
39323
  return y("div", {
39324
39324
  class: ["f-hitl-card", Z],
@@ -39329,15 +39329,17 @@ const sc = /* @__PURE__ */ Xe({
39329
39329
  var X;
39330
39330
  if (o.value) {
39331
39331
  const Z = e.content.questions[0];
39332
- return Z ? y(M0, null, [y(Hs, {
39332
+ if (!Z) return null;
39333
+ const ae = `${e.teleportTo ?? ".f-chat-panel-chat"} .f-chat-content-input-section`;
39334
+ return y(M0, null, [y(Hs, {
39333
39335
  visible: c.value,
39334
39336
  title: Z.header ?? "凭证授权请求",
39335
39337
  question: Z.question,
39336
39338
  systemName: ((X = e.content.credentialAuth) == null ? void 0 : X.systemName) ?? "",
39337
39339
  disabled: u.value,
39338
- teleportTo: ".f-chat-content-input-section",
39340
+ teleportTo: ae,
39339
39341
  onSelect: d
39340
- }, null)]) : null;
39342
+ }, null)]);
39341
39343
  }
39342
39344
  return u.value ? _e() : Ve();
39343
39345
  };
@@ -39416,7 +39418,7 @@ const lc = /* @__PURE__ */ Xe({
39416
39418
  class: "f-ec-linkcard-related"
39417
39419
  }, [y("div", {
39418
39420
  class: "f-ec-linkcard-related-label"
39419
- }, [nt("相关阅读")]), y("ul", null, [t.relatedLinks.map((r, n) => y("li", {
39421
+ }, [it("相关阅读")]), y("ul", null, [t.relatedLinks.map((r, n) => y("li", {
39420
39422
  key: n
39421
39423
  }, [y("a", {
39422
39424
  href: r.url,
@@ -39442,7 +39444,7 @@ const cc = /* @__PURE__ */ Xe({
39442
39444
  class: "f-ec-sources"
39443
39445
  }, [y("div", {
39444
39446
  class: "f-ec-sources-title"
39445
- }, [nt("引用来源")]), y("ul", {
39447
+ }, [it("引用来源")]), y("ul", {
39446
39448
  class: "f-ec-sources-list"
39447
39449
  }, [e.content.items.map((t, r) => y("li", {
39448
39450
  key: r
@@ -39456,20 +39458,6 @@ const cc = /* @__PURE__ */ Xe({
39456
39458
  cc.install = (e) => {
39457
39459
  e.component(cc.name, cc);
39458
39460
  };
39459
- function Zx(e) {
39460
- const t = /* @__PURE__ */ new Map();
39461
- for (const r of e) {
39462
- const n = t.get(r.docId), a = typeof r.url == "string" && r.url.trim() !== "" ? r.url.trim() : void 0;
39463
- n ? (n.chunkCount += 1, n.contentIds.push(r.contentId), !n.url && a && (n.url = a)) : t.set(r.docId, {
39464
- key: r.docId,
39465
- docName: r.docName,
39466
- chunkCount: 1,
39467
- contentIds: [r.contentId],
39468
- ...a ? { url: a } : {}
39469
- });
39470
- }
39471
- return [...t.values()];
39472
- }
39473
39461
  const dc = /* @__PURE__ */ Xe({
39474
39462
  name: "FXKnowledgeTraceStrip",
39475
39463
  props: {
@@ -39482,68 +39470,44 @@ const dc = /* @__PURE__ */ Xe({
39482
39470
  setup(e, {
39483
39471
  emit: t
39484
39472
  }) {
39485
- const r = ye(!1), n = le(() => Zx(e.content.chunks ?? [])), a = le(() => {
39486
- var d;
39487
- return ((d = e.content.chunks) == null ? void 0 : d.length) ?? 0;
39488
- }), u = () => {
39473
+ const r = le(() => {
39474
+ var a;
39475
+ return ((a = e.content.chunks) == null ? void 0 : a.length) ?? 0;
39476
+ }), n = () => {
39489
39477
  t("open");
39490
- }, o = (d) => {
39491
- d.stopPropagation(), r.value = !r.value;
39492
- }, c = (d, m) => {
39493
- d.stopPropagation();
39494
- const p = typeof m == "string" ? m.trim() : "";
39495
- !p || typeof window > "u" || window.open(p, "_blank", "noopener,noreferrer");
39496
39478
  };
39497
- return () => a.value ? y("div", {
39498
- class: "f-ec-knowledge-trace"
39499
- }, [y("div", {
39500
- class: "f-ec-knowledge-trace__header",
39501
- onClick: u
39502
- }, [y("span", {
39503
- class: "f-ec-knowledge-trace__main"
39479
+ return () => r.value ? y("button", {
39480
+ type: "button",
39481
+ class: "f-ec-knowledge-trace",
39482
+ "data-testid": "knowledge-trace-chip",
39483
+ "aria-label": `${r.value}条参考来源`,
39484
+ onClick: n
39504
39485
  }, [y("svg", {
39505
39486
  class: "f-ec-knowledge-trace__icon",
39506
39487
  width: "16",
39507
39488
  height: "16",
39508
- viewBox: "0 0 24 24",
39489
+ viewBox: "0 0 16 16",
39509
39490
  fill: "none",
39510
- stroke: "currentColor",
39511
- "stroke-width": "2",
39512
39491
  "aria-hidden": "true"
39513
- }, [y("circle", {
39514
- cx: "12",
39515
- cy: "12",
39516
- r: "10"
39492
+ }, [y("path", {
39493
+ d: "M4.5 2.5h5.086L12.5 5.414V13.5a.5.5 0 0 1-.5.5h-7.5a.5.5 0 0 1-.5-.5v-10.5a.5.5 0 0 1 .5-.5Z",
39494
+ stroke: "currentColor",
39495
+ "stroke-width": "1.2",
39496
+ "stroke-linejoin": "round"
39517
39497
  }, null), y("path", {
39518
- d: "M12 16v-4M12 8h.01"
39519
- }, null)]), y("span", null, [nt("知识溯源 · "), a.value, nt(" 条参考来源")])]), y("button", {
39520
- type: "button",
39521
- class: "f-ec-knowledge-trace__toggle",
39522
- "aria-label": r.value ? "收起原始文档" : "展开原始文档",
39523
- title: r.value ? "收起原始文档" : "展开原始文档",
39524
- "data-testid": "knowledge-trace-files-toggle",
39525
- onClick: o
39526
- }, [y("span", {
39527
- class: ["f-ec-knowledge-trace__toggle-icon", r.value && "f-ec-knowledge-trace__toggle-icon--open"]
39528
- }, [nt("▼")])])]), r.value && n.value.length > 0 ? y("div", {
39529
- class: "f-ec-knowledge-trace__files"
39530
- }, [n.value.map((d) => y("div", {
39531
- key: d.key,
39532
- class: "f-ec-knowledge-trace__file",
39533
- "data-testid": "knowledge-trace-source-file"
39534
- }, [y("button", {
39535
- type: "button",
39536
- class: ["f-ec-knowledge-trace__file-name", !d.url && "f-ec-knowledge-trace__file-name--disabled"],
39537
- title: d.docName,
39538
- disabled: !d.url,
39539
- "data-testid": "knowledge-trace-source-file-preview",
39540
- onClick: (m) => c(m, d.url)
39541
- }, [d.docName]), y("span", {
39542
- class: "f-ec-knowledge-trace__file-meta"
39543
- }, [d.chunkCount, nt(" 条切片")])]))]) : null]) : null;
39498
+ d: "M9.5 2.5V5.5H12.5",
39499
+ stroke: "currentColor",
39500
+ "stroke-width": "1.2",
39501
+ "stroke-linejoin": "round"
39502
+ }, null), y("path", {
39503
+ d: "M5.5 8.5h5M5.5 11h3.5",
39504
+ stroke: "currentColor",
39505
+ "stroke-width": "1.2",
39506
+ "stroke-linecap": "round"
39507
+ }, null)]), y("span", null, [r.value, it("条参考来源")])]) : null;
39544
39508
  }
39545
39509
  });
39546
- function Kx(e) {
39510
+ function Zx(e) {
39547
39511
  return Number.isFinite(e) ? Number(e).toFixed(4) : "";
39548
39512
  }
39549
39513
  const nf = /* @__PURE__ */ Xe({
@@ -39603,20 +39567,20 @@ const nf = /* @__PURE__ */ Xe({
39603
39567
  class: "f-ec-knowledge-trace-panel__header"
39604
39568
  }, [y("span", {
39605
39569
  class: "f-ec-knowledge-trace-panel__title"
39606
- }, [nt("参考来源 · "), d.length]), y("button", {
39570
+ }, [it("参考来源 · "), d.length]), y("button", {
39607
39571
  type: "button",
39608
39572
  class: "f-ec-knowledge-trace-panel__close",
39609
39573
  "aria-label": "关闭",
39610
39574
  title: "关闭",
39611
39575
  "data-testid": "knowledge-trace-panel-close",
39612
39576
  onClick: a
39613
- }, [nt("×")])]), y("div", {
39577
+ }, [it("×")])]), y("div", {
39614
39578
  class: "f-ec-knowledge-trace-panel__body",
39615
39579
  ref: n
39616
39580
  }, [d.length === 0 ? y("div", {
39617
39581
  class: "f-ec-knowledge-trace-panel__empty"
39618
- }, [nt("暂无参考来源")]) : d.map((m, p) => {
39619
- const h = m.contentId === e.selectedContentId, x = !!r.value[m.contentId], k = typeof m.score == "number" ? Kx(m.score) : "", C = String(p + 1), B = typeof m.url == "string" && m.url.trim() !== "" ? m.url.trim() : "";
39582
+ }, [it("暂无参考来源")]) : d.map((m, p) => {
39583
+ const h = m.contentId === e.selectedContentId, x = !!r.value[m.contentId], k = typeof m.score == "number" ? Zx(m.score) : "", C = String(p + 1), B = typeof m.url == "string" && m.url.trim() !== "" ? m.url.trim() : "";
39620
39584
  return y("div", {
39621
39585
  key: m.contentId,
39622
39586
  class: ["f-ec-knowledge-trace-panel__card", h && "f-ec-knowledge-trace-panel__card--selected", x && "f-ec-knowledge-trace-panel__card--expanded"],
@@ -39648,6 +39612,20 @@ const nf = /* @__PURE__ */ Xe({
39648
39612
  };
39649
39613
  }
39650
39614
  });
39615
+ function xw(e) {
39616
+ const t = /* @__PURE__ */ new Map();
39617
+ for (const r of e) {
39618
+ const n = t.get(r.docId), a = typeof r.url == "string" && r.url.trim() !== "" ? r.url.trim() : void 0;
39619
+ n ? (n.chunkCount += 1, n.contentIds.push(r.contentId), !n.url && a && (n.url = a)) : t.set(r.docId, {
39620
+ key: r.docId,
39621
+ docName: r.docName,
39622
+ chunkCount: 1,
39623
+ contentIds: [r.contentId],
39624
+ ...a ? { url: a } : {}
39625
+ });
39626
+ }
39627
+ return [...t.values()];
39628
+ }
39651
39629
  dc.install = (e) => {
39652
39630
  e.component(dc.name, dc), e.component(nf.name, nf);
39653
39631
  };
@@ -39664,9 +39642,9 @@ const fc = /* @__PURE__ */ Xe({
39664
39642
  class: "f-ec-unknown"
39665
39643
  }, [y("div", {
39666
39644
  class: "f-ec-unknown-title"
39667
- }, [nt("未知类型消息")]), e.content.wireType ? y("div", {
39645
+ }, [it("未知类型消息")]), e.content.wireType ? y("div", {
39668
39646
  class: "f-ec-unknown-wire"
39669
- }, [nt("wire type: "), e.content.wireType]) : null, y("div", {
39647
+ }, [it("wire type: "), e.content.wireType]) : null, y("div", {
39670
39648
  class: "f-ec-unknown-desc"
39671
39649
  }, [e.content.hint ?? "客户端无法识别此消息类型,已按占位展示。"])]);
39672
39650
  }
@@ -39734,7 +39712,7 @@ export {
39734
39712
  B3 as PREVIEW_BRIDGE_SOURCE,
39735
39713
  M3 as PREVIEW_BRIDGE_VERSION,
39736
39714
  qx as agentThinkingProps,
39737
- Zx as aggregateKnowledgeTraceByDoc,
39715
+ xw as aggregateKnowledgeTraceByDoc,
39738
39716
  X6 as appPreviewMessageProps,
39739
39717
  Bx as attachmentPreviewProps,
39740
39718
  mb as bubbleActionProps,
@@ -39744,10 +39722,10 @@ export {
39744
39722
  Dx as chatHistoryProps,
39745
39723
  Ab as chatPreviewProps,
39746
39724
  cy as clonePreviewPayloadForPostMessage,
39747
- xw as closeFXConfirmDialog,
39725
+ yw as closeFXConfirmDialog,
39748
39726
  gx as codingMessageProps,
39749
39727
  wy as confirmDialogProps,
39750
- gw as createPreviewIframeSdk,
39728
+ pw as createPreviewIframeSdk,
39751
39729
  ww as default,
39752
39730
  e5 as extractFileIdFromRuntimeDownloadUrl,
39753
39731
  f5 as fileEmbeddedContentProps,
@@ -39755,9 +39733,9 @@ export {
39755
39733
  wx as generateProcessProps,
39756
39734
  d0 as getCustomClass,
39757
39735
  F0 as getCustomStyle,
39758
- dw as getDynamicCompState,
39736
+ cw as getDynamicCompState,
39759
39737
  l3 as getDynamicComponentRegistryDebugSnapshot,
39760
- pw as invokeAgentWorkbenchSdkApi,
39738
+ mw as invokeAgentWorkbenchSdkApi,
39761
39739
  u5 as isImageUrl,
39762
39740
  dy as isPreviewBridgeAssistantMessage,
39763
39741
  P3 as listViewProps,
@@ -39766,16 +39744,16 @@ export {
39766
39744
  Db as markdownPreviewProps,
39767
39745
  Ox as navProps,
39768
39746
  z0 as normalizeDynamicComponentRegisterClaim,
39769
- yw as openFXConfirmDialog,
39747
+ vw as openFXConfirmDialog,
39770
39748
  l5 as overflowTooltipDirective,
39771
- cw as peekDynamicComponentRegisterBootstrapId,
39749
+ lw as peekDynamicComponentRegisterBootstrapId,
39772
39750
  Jg as popoverProps,
39773
39751
  hy as postAssistantToPreviewIframe,
39774
- fw as postDynamicComponentAssistantMessage,
39775
- vw as previewLayoutBridge,
39752
+ dw as postDynamicComponentAssistantMessage,
39753
+ bw as previewLayoutBridge,
39776
39754
  Ex as promptProps,
39777
39755
  Cx as promptsProps,
39778
- bw as registerPreviewChromeSdk,
39756
+ gw as registerPreviewChromeSdk,
39779
39757
  u1 as renderIconNode,
39780
39758
  ss as renderNode,
39781
39759
  Xa as resolveHrefForAttachmentDownload,