bi-components-library 1.3.2-next.14 → 1.3.2-next.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -563,11 +563,11 @@ const { Option: Xb } = Il, Jb = ({
563
563
  const T = le(u);
564
564
  T.current = u;
565
565
  const A = le(!1), w = je(() => e.map((D) => {
566
- const { sortable: E, render: B, ...$ } = D;
566
+ const { sortable: E, render: B, ...q } = D;
567
567
  return {
568
- ...$,
568
+ ...q,
569
569
  sorter: E ? !0 : void 0,
570
- render: B || ((q) => q)
570
+ render: B || ((V) => V)
571
571
  };
572
572
  }), [e]), N = z(async (D = {}) => {
573
573
  if (t) {
@@ -581,10 +581,10 @@ const { Option: Xb } = Il, Jb = ({
581
581
  searchParams: { ...g, ...T.current },
582
582
  ...D
583
583
  }, B = await t(E);
584
- B.success && (d(B.data), b(($) => ({
585
- ...$,
584
+ B.success && (d(B.data), b((q) => ({
585
+ ...q,
586
586
  total: B.total,
587
- current: E.page || $.current
587
+ current: E.page || q.current
588
588
  })));
589
589
  } catch (E) {
590
590
  console.error("加载数据失败:", E);
@@ -598,16 +598,16 @@ const { Option: Xb } = Il, Jb = ({
598
598
  R.resetFields(), v({}), b((D) => ({ ...D, current: 1 }));
599
599
  }, [R]), F = z(() => {
600
600
  N();
601
- }, [N]), V = z((D, E, B) => {
602
- const $ = {
601
+ }, [N]), $ = z((D, E, B) => {
602
+ const q = {
603
603
  current: D.current || 1,
604
604
  pageSize: D.pageSize || a,
605
605
  total: D.total || 0
606
- }, q = {
606
+ }, V = {
607
607
  field: B?.field,
608
608
  order: B?.order
609
609
  };
610
- b($), k(q);
610
+ b(q), k(V);
611
611
  }, [a]);
612
612
  return Ee(() => {
613
613
  const D = Object.keys(u).length > 0;
@@ -658,7 +658,7 @@ const { Option: Xb } = Il, Jb = ({
658
658
  showTotal: (D, E) => `第 ${E[0]}-${E[1]} 条/共 ${D} 条`,
659
659
  pageSizeOptions: i
660
660
  },
661
- onChange: V,
661
+ onChange: $,
662
662
  scroll: { x: "max-content", y: "50vh" }
663
663
  }
664
664
  )
@@ -2086,22 +2086,22 @@ function g0() {
2086
2086
  var D = _(), E = w(r);
2087
2087
  if (E) {
2088
2088
  if (L(), !w(l)) return A("property missing ':'");
2089
- var B = w(a), $ = D({
2089
+ var B = w(a), q = D({
2090
2090
  type: h,
2091
2091
  property: b(E[0].replace(e, d)),
2092
2092
  value: B ? b(B[0].replace(e, d)) : d
2093
2093
  });
2094
- return w(i), $;
2094
+ return w(i), q;
2095
2095
  }
2096
2096
  }
2097
- function V() {
2097
+ function $() {
2098
2098
  var D = [];
2099
2099
  P(D);
2100
2100
  for (var E; E = F(); )
2101
2101
  E !== !1 && (D.push(E), P(D));
2102
2102
  return D;
2103
2103
  }
2104
- return N(), V();
2104
+ return N(), $();
2105
2105
  }
2106
2106
  function b(g) {
2107
2107
  return g ? g.replace(s, d) : d;
@@ -3177,10 +3177,10 @@ function hg(e, t, n) {
3177
3177
  return T.enter("codeFencedFence"), Ie(E) ? Oe(T, F, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(E) : F(E);
3178
3178
  }
3179
3179
  function F(E) {
3180
- return E === s ? (T.enter("codeFencedFenceSequence"), V(E)) : w(E);
3180
+ return E === s ? (T.enter("codeFencedFenceSequence"), $(E)) : w(E);
3181
3181
  }
3182
- function V(E) {
3183
- return E === s ? (N++, T.consume(E), V) : N >= i ? (T.exit("codeFencedFenceSequence"), Ie(E) ? Oe(T, D, "whitespace")(E) : D(E)) : w(E);
3182
+ function $(E) {
3183
+ return E === s ? (N++, T.consume(E), $) : N >= i ? (T.exit("codeFencedFenceSequence"), Ie(E) ? Oe(T, D, "whitespace")(E) : D(E)) : w(E);
3184
3184
  }
3185
3185
  function D(E) {
3186
3186
  return E === null || ae(E) ? (T.exit("codeFencedFence"), A(E)) : w(E);
@@ -3891,29 +3891,29 @@ function $g(e, t, n) {
3891
3891
  return M === null || ae(M) ? F(M) : Ie(M) ? (e.consume(M), L) : n(M);
3892
3892
  }
3893
3893
  function F(M) {
3894
- return M === 45 && l === 2 ? (e.consume(M), B) : M === 60 && l === 1 ? (e.consume(M), $) : M === 62 && l === 4 ? (e.consume(M), ne) : M === 63 && l === 3 ? (e.consume(M), x) : M === 93 && l === 5 ? (e.consume(M), ee) : ae(M) && (l === 6 || l === 7) ? (e.exit("htmlFlowData"), e.check(Ug, ie, V)(M)) : M === null || ae(M) ? (e.exit("htmlFlowData"), V(M)) : (e.consume(M), F);
3894
+ return M === 45 && l === 2 ? (e.consume(M), B) : M === 60 && l === 1 ? (e.consume(M), q) : M === 62 && l === 4 ? (e.consume(M), ne) : M === 63 && l === 3 ? (e.consume(M), x) : M === 93 && l === 5 ? (e.consume(M), ee) : ae(M) && (l === 6 || l === 7) ? (e.exit("htmlFlowData"), e.check(Ug, ie, $)(M)) : M === null || ae(M) ? (e.exit("htmlFlowData"), $(M)) : (e.consume(M), F);
3895
3895
  }
3896
- function V(M) {
3896
+ function $(M) {
3897
3897
  return e.check(zg, D, ie)(M);
3898
3898
  }
3899
3899
  function D(M) {
3900
3900
  return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), E;
3901
3901
  }
3902
3902
  function E(M) {
3903
- return M === null || ae(M) ? V(M) : (e.enter("htmlFlowData"), F(M));
3903
+ return M === null || ae(M) ? $(M) : (e.enter("htmlFlowData"), F(M));
3904
3904
  }
3905
3905
  function B(M) {
3906
3906
  return M === 45 ? (e.consume(M), x) : F(M);
3907
3907
  }
3908
- function $(M) {
3909
- return M === 47 ? (e.consume(M), i = "", q) : F(M);
3910
- }
3911
3908
  function q(M) {
3909
+ return M === 47 ? (e.consume(M), i = "", V) : F(M);
3910
+ }
3911
+ function V(M) {
3912
3912
  if (M === 62) {
3913
3913
  const fe = i.toLowerCase();
3914
3914
  return Do.includes(fe) ? (e.consume(M), ne) : F(M);
3915
3915
  }
3916
- return Yt(M) && i.length < 8 ? (e.consume(M), i += String.fromCharCode(M), q) : F(M);
3916
+ return Yt(M) && i.length < 8 ? (e.consume(M), i += String.fromCharCode(M), V) : F(M);
3917
3917
  }
3918
3918
  function ee(M) {
3919
3919
  return M === 93 ? (e.consume(M), x) : F(M);
@@ -3965,7 +3965,7 @@ function jg(e, t, n) {
3965
3965
  return x === 45 ? (e.consume(x), h) : n(x);
3966
3966
  }
3967
3967
  function d(x) {
3968
- return x === null ? n(x) : x === 45 ? (e.consume(x), f) : ae(x) ? (i = d, $(x)) : (e.consume(x), d);
3968
+ return x === null ? n(x) : x === 45 ? (e.consume(x), f) : ae(x) ? (i = d, q(x)) : (e.consume(x), d);
3969
3969
  }
3970
3970
  function f(x) {
3971
3971
  return x === 45 ? (e.consume(x), h) : d(x);
@@ -3978,7 +3978,7 @@ function jg(e, t, n) {
3978
3978
  return x === ne.charCodeAt(a++) ? (e.consume(x), a === ne.length ? b : m) : n(x);
3979
3979
  }
3980
3980
  function b(x) {
3981
- return x === null ? n(x) : x === 93 ? (e.consume(x), g) : ae(x) ? (i = b, $(x)) : (e.consume(x), b);
3981
+ return x === null ? n(x) : x === 93 ? (e.consume(x), g) : ae(x) ? (i = b, q(x)) : (e.consume(x), b);
3982
3982
  }
3983
3983
  function g(x) {
3984
3984
  return x === 93 ? (e.consume(x), v) : b(x);
@@ -3987,10 +3987,10 @@ function jg(e, t, n) {
3987
3987
  return x === 62 ? B(x) : x === 93 ? (e.consume(x), v) : b(x);
3988
3988
  }
3989
3989
  function I(x) {
3990
- return x === null || x === 62 ? B(x) : ae(x) ? (i = I, $(x)) : (e.consume(x), I);
3990
+ return x === null || x === 62 ? B(x) : ae(x) ? (i = I, q(x)) : (e.consume(x), I);
3991
3991
  }
3992
3992
  function k(x) {
3993
- return x === null ? n(x) : x === 63 ? (e.consume(x), R) : ae(x) ? (i = k, $(x)) : (e.consume(x), k);
3993
+ return x === null ? n(x) : x === 63 ? (e.consume(x), R) : ae(x) ? (i = k, q(x)) : (e.consume(x), k);
3994
3994
  }
3995
3995
  function R(x) {
3996
3996
  return x === 62 ? B(x) : k(x);
@@ -4002,25 +4002,25 @@ function jg(e, t, n) {
4002
4002
  return x === 45 || It(x) ? (e.consume(x), T) : A(x);
4003
4003
  }
4004
4004
  function A(x) {
4005
- return ae(x) ? (i = A, $(x)) : Ie(x) ? (e.consume(x), A) : B(x);
4005
+ return ae(x) ? (i = A, q(x)) : Ie(x) ? (e.consume(x), A) : B(x);
4006
4006
  }
4007
4007
  function w(x) {
4008
4008
  return x === 45 || It(x) ? (e.consume(x), w) : x === 47 || x === 62 || Ve(x) ? N(x) : n(x);
4009
4009
  }
4010
4010
  function N(x) {
4011
- return x === 47 ? (e.consume(x), B) : x === 58 || x === 95 || Yt(x) ? (e.consume(x), P) : ae(x) ? (i = N, $(x)) : Ie(x) ? (e.consume(x), N) : B(x);
4011
+ return x === 47 ? (e.consume(x), B) : x === 58 || x === 95 || Yt(x) ? (e.consume(x), P) : ae(x) ? (i = N, q(x)) : Ie(x) ? (e.consume(x), N) : B(x);
4012
4012
  }
4013
4013
  function P(x) {
4014
4014
  return x === 45 || x === 46 || x === 58 || x === 95 || It(x) ? (e.consume(x), P) : L(x);
4015
4015
  }
4016
4016
  function L(x) {
4017
- return x === 61 ? (e.consume(x), F) : ae(x) ? (i = L, $(x)) : Ie(x) ? (e.consume(x), L) : N(x);
4017
+ return x === 61 ? (e.consume(x), F) : ae(x) ? (i = L, q(x)) : Ie(x) ? (e.consume(x), L) : N(x);
4018
4018
  }
4019
4019
  function F(x) {
4020
- return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), l = x, V) : ae(x) ? (i = F, $(x)) : Ie(x) ? (e.consume(x), F) : (e.consume(x), D);
4020
+ return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), l = x, $) : ae(x) ? (i = F, q(x)) : Ie(x) ? (e.consume(x), F) : (e.consume(x), D);
4021
4021
  }
4022
- function V(x) {
4023
- return x === l ? (e.consume(x), l = void 0, E) : x === null ? n(x) : ae(x) ? (i = V, $(x)) : (e.consume(x), V);
4022
+ function $(x) {
4023
+ return x === l ? (e.consume(x), l = void 0, E) : x === null ? n(x) : ae(x) ? (i = $, q(x)) : (e.consume(x), $);
4024
4024
  }
4025
4025
  function D(x) {
4026
4026
  return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 96 ? n(x) : x === 47 || x === 62 || Ve(x) ? N(x) : (e.consume(x), D);
@@ -4031,10 +4031,10 @@ function jg(e, t, n) {
4031
4031
  function B(x) {
4032
4032
  return x === 62 ? (e.consume(x), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(x);
4033
4033
  }
4034
- function $(x) {
4035
- return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), q;
4036
- }
4037
4034
  function q(x) {
4035
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), V;
4036
+ }
4037
+ function V(x) {
4038
4038
  return Ie(x) ? Oe(e, ee, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(x) : ee(x);
4039
4039
  }
4040
4040
  function ee(x) {
@@ -4607,14 +4607,14 @@ function Dv(e, t, n) {
4607
4607
  const {
4608
4608
  _bufferIndex: L,
4609
4609
  _index: F,
4610
- line: V,
4610
+ line: $,
4611
4611
  column: D,
4612
4612
  offset: E
4613
4613
  } = r;
4614
4614
  return {
4615
4615
  _bufferIndex: L,
4616
4616
  _index: F,
4617
- line: V,
4617
+ line: $,
4618
4618
  column: D,
4619
4619
  offset: E
4620
4620
  };
@@ -4643,8 +4643,8 @@ function Dv(e, t, n) {
4643
4643
  i[r._index].length && (r._bufferIndex = -1, r._index++)), o.previous = L;
4644
4644
  }
4645
4645
  function k(L, F) {
4646
- const V = F || {};
4647
- return V.type = L, V.start = m(), o.events.push(["enter", V, o]), s.push(V), V;
4646
+ const $ = F || {};
4647
+ return $.type = L, $.start = m(), o.events.push(["enter", $, o]), s.push($), $;
4648
4648
  }
4649
4649
  function R(L) {
4650
4650
  const F = s.pop();
@@ -4657,9 +4657,9 @@ function Dv(e, t, n) {
4657
4657
  F.restore();
4658
4658
  }
4659
4659
  function A(L, F) {
4660
- return V;
4661
- function V(D, E, B) {
4662
- let $, q, ee, x;
4660
+ return $;
4661
+ function $(D, E, B) {
4662
+ let q, V, ee, x;
4663
4663
  return Array.isArray(D) ? (
4664
4664
  /* c8 ignore next 1 */
4665
4665
  ie(D)
@@ -4683,7 +4683,7 @@ function Dv(e, t, n) {
4683
4683
  }
4684
4684
  }
4685
4685
  function ie(Ae) {
4686
- return $ = Ae, q = 0, Ae.length === 0 ? B : M(Ae[q]);
4686
+ return q = Ae, V = 0, Ae.length === 0 ? B : M(Ae[V]);
4687
4687
  }
4688
4688
  function M(Ae) {
4689
4689
  return se;
@@ -4703,7 +4703,7 @@ function Dv(e, t, n) {
4703
4703
  return L(ee, x), E;
4704
4704
  }
4705
4705
  function ke(Ae) {
4706
- return x.restore(), ++q < $.length ? M($[q]) : B;
4706
+ return x.restore(), ++V < q.length ? M(q[V]) : B;
4707
4707
  }
4708
4708
  }
4709
4709
  }
@@ -4711,13 +4711,13 @@ function Dv(e, t, n) {
4711
4711
  L.resolveAll && !a.includes(L) && a.push(L), L.resolve && Gt(o.events, F, o.events.length - F, L.resolve(o.events.slice(F), o)), L.resolveTo && (o.events = L.resolveTo(o.events, o));
4712
4712
  }
4713
4713
  function N() {
4714
- const L = m(), F = o.previous, V = o.currentConstruct, D = o.events.length, E = Array.from(s);
4714
+ const L = m(), F = o.previous, $ = o.currentConstruct, D = o.events.length, E = Array.from(s);
4715
4715
  return {
4716
4716
  from: D,
4717
4717
  restore: B
4718
4718
  };
4719
4719
  function B() {
4720
- r = L, o.previous = F, o.currentConstruct = V, o.events.length = D, s = E, P();
4720
+ r = L, o.previous = F, o.currentConstruct = $, o.events.length = D, s = E, P();
4721
4721
  }
4722
4722
  }
4723
4723
  function P() {
@@ -4933,13 +4933,13 @@ function qv(e) {
4933
4933
  emphasis: u(),
4934
4934
  hardBreakEscape: u(F),
4935
4935
  hardBreakTrailing: u(F),
4936
- htmlFlow: u(V),
4936
+ htmlFlow: u($),
4937
4937
  htmlFlowData: P,
4938
4938
  htmlText: u(D),
4939
4939
  htmlTextData: P,
4940
- image: u($),
4940
+ image: u(q),
4941
4941
  label: ee,
4942
- labelText: q,
4942
+ labelText: V,
4943
4943
  lineEnding: L,
4944
4944
  link: u(B),
4945
4945
  listItem: u(),
@@ -5179,7 +5179,7 @@ function qv(e) {
5179
5179
  function F() {
5180
5180
  this.data.atHardBreak = !0;
5181
5181
  }
5182
- function V() {
5182
+ function $() {
5183
5183
  const W = this.resume(), J = this.stack[this.stack.length - 1];
5184
5184
  J.value = W;
5185
5185
  }
@@ -5200,7 +5200,7 @@ function qv(e) {
5200
5200
  delete W.identifier, delete W.label;
5201
5201
  this.data.referenceType = void 0;
5202
5202
  }
5203
- function $() {
5203
+ function q() {
5204
5204
  const W = this.stack[this.stack.length - 1];
5205
5205
  if (this.data.inReference) {
5206
5206
  const J = this.data.referenceType || "shortcut";
@@ -5209,7 +5209,7 @@ function qv(e) {
5209
5209
  delete W.identifier, delete W.label;
5210
5210
  this.data.referenceType = void 0;
5211
5211
  }
5212
- function q(W) {
5212
+ function V(W) {
5213
5213
  const J = this.sliceSerialize(W), pe = this.stack[this.stack.length - 2];
5214
5214
  pe.label = zv(J), pe.identifier = Tr(J).toLowerCase();
5215
5215
  }
@@ -14482,23 +14482,23 @@ function Su(e, t) {
14482
14482
  let k = I, R = I, _;
14483
14483
  if (v === 35) {
14484
14484
  R = ++k;
14485
- const V = e.charCodeAt(R);
14486
- V === 88 || V === 120 ? (_ = "hexadecimal", R = ++k) : _ = "decimal";
14485
+ const $ = e.charCodeAt(R);
14486
+ $ === 88 || $ === 120 ? (_ = "hexadecimal", R = ++k) : _ = "decimal";
14487
14487
  } else
14488
14488
  _ = "named";
14489
14489
  let T = "", A = "", w = "";
14490
14490
  const N = _ === "named" ? xc : _ === "decimal" ? Rh : Hx;
14491
14491
  for (R--; ++R <= e.length; ) {
14492
- const V = e.charCodeAt(R);
14493
- if (!N(V))
14492
+ const $ = e.charCodeAt(R);
14493
+ if (!N($))
14494
14494
  break;
14495
- w += String.fromCharCode(V), _ === "named" && Fx.includes(w) && (T = w, A = ml(w));
14495
+ w += String.fromCharCode($), _ === "named" && Fx.includes(w) && (T = w, A = ml(w));
14496
14496
  }
14497
14497
  let P = e.charCodeAt(R) === 59;
14498
14498
  if (P) {
14499
14499
  R++;
14500
- const V = _ === "named" ? ml(w) : !1;
14501
- V && (T = w, A = V);
14500
+ const $ = _ === "named" ? ml(w) : !1;
14501
+ $ && (T = w, A = $);
14502
14502
  }
14503
14503
  let L = 1 + R - I, F = "";
14504
14504
  if (!(!P && n.nonTerminated === !1)) if (!w)
@@ -14507,40 +14507,40 @@ function Su(e, t) {
14507
14507
  if (P && !A)
14508
14508
  b(5, 1);
14509
14509
  else if (T !== w && (R = k + T.length, L = 1 + R - k, P = !1), !P) {
14510
- const V = T ? 1 : 3;
14510
+ const $ = T ? 1 : 3;
14511
14511
  if (n.attribute) {
14512
14512
  const D = e.charCodeAt(R);
14513
- D === 61 ? (b(V, L), A = "") : xc(D) ? A = "" : b(V, L);
14513
+ D === 61 ? (b($, L), A = "") : xc(D) ? A = "" : b($, L);
14514
14514
  } else
14515
- b(V, L);
14515
+ b($, L);
14516
14516
  }
14517
14517
  F = A;
14518
14518
  } else {
14519
14519
  P || b(2, L);
14520
- let V = Number.parseInt(
14520
+ let $ = Number.parseInt(
14521
14521
  w,
14522
14522
  _ === "hexadecimal" ? 16 : 10
14523
14523
  );
14524
- if (Vx(V))
14524
+ if (Vx($))
14525
14525
  b(7, L), F = "�";
14526
- else if (V in Tc)
14527
- b(6, L), F = Tc[V];
14526
+ else if ($ in Tc)
14527
+ b(6, L), F = Tc[$];
14528
14528
  else {
14529
14529
  let D = "";
14530
- $x(V) && b(6, L), V > 65535 && (V -= 65536, D += String.fromCharCode(
14531
- V >>> 10 | 55296
14532
- ), V = 56320 | V & 1023), F = D + String.fromCharCode(V);
14530
+ $x($) && b(6, L), $ > 65535 && ($ -= 65536, D += String.fromCharCode(
14531
+ $ >>> 10 | 55296
14532
+ ), $ = 56320 | $ & 1023), F = D + String.fromCharCode($);
14533
14533
  }
14534
14534
  }
14535
14535
  if (F) {
14536
14536
  g(), f = m(), a = R - 1, d += R - I + 1, l.push(F);
14537
- const V = m();
14538
- V.offset++, n.reference && n.reference.call(
14537
+ const $ = m();
14538
+ $.offset++, n.reference && n.reference.call(
14539
14539
  n.referenceContext || void 0,
14540
14540
  F,
14541
- { start: f, end: V },
14541
+ { start: f, end: $ },
14542
14542
  e.slice(I - 1, R)
14543
- ), f = V;
14543
+ ), f = $;
14544
14544
  } else
14545
14545
  w = e.slice(I - 1, R), s += w, d += w.length, a = R - 1;
14546
14546
  } else
@@ -14873,7 +14873,7 @@ function ku(e, t, n, r, l, a, i, s, u, o, c, d, f, h, m) {
14873
14873
  return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 62 || E === 96 ? n(E) : E === 125 || Ve(E) ? (e.exit(h), e.exit(d), e.exit(a), I(E)) : (e.consume(E), N);
14874
14874
  }
14875
14875
  function P(E) {
14876
- return E === g ? (e.enter(f), e.consume(E), e.exit(f), e.exit(c), e.exit(a), V) : (e.enter(d), L(E));
14876
+ return E === g ? (e.enter(f), e.consume(E), e.exit(f), e.exit(c), e.exit(a), $) : (e.enter(d), L(E));
14877
14877
  }
14878
14878
  function L(E) {
14879
14879
  return E === g ? (e.exit(d), P(E)) : E === null ? n(E) : ae(E) ? m ? n(E) : sn(e, L)(E) : (e.enter(h), e.consume(E), F);
@@ -14881,7 +14881,7 @@ function ku(e, t, n, r, l, a, i, s, u, o, c, d, f, h, m) {
14881
14881
  function F(E) {
14882
14882
  return E === g || E === null || ae(E) ? (e.exit(h), L(E)) : (e.consume(E), F);
14883
14883
  }
14884
- function V(E) {
14884
+ function $(E) {
14885
14885
  return E === 125 || Ve(E) ? I(E) : D(E);
14886
14886
  }
14887
14887
  function D(E) {
@@ -15008,8 +15008,8 @@ function pS(e, t, n) {
15008
15008
  }
15009
15009
  function w(N, P, L) {
15010
15010
  let F = 0;
15011
- return Oe(N, V, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
15012
- function V(B) {
15011
+ return Oe(N, $, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
15012
+ function $(B) {
15013
15013
  return N.enter("directiveContainerFence"), N.enter("directiveContainerSequence"), D(B);
15014
15014
  }
15015
15015
  function D(B) {
@@ -15416,9 +15416,9 @@ const RS = {
15416
15416
  (N) => {
15417
15417
  const P = m.current;
15418
15418
  if (!P) return;
15419
- const L = window.getComputedStyle(P), F = Number.parseFloat(L.lineHeight) || 22, V = Number.parseFloat(L.paddingTop) || 0, D = Number.parseFloat(L.paddingBottom) || 0, E = F + V + D, B = P.offsetHeight > E + 1, $ = i.includes(`
15419
+ const L = window.getComputedStyle(P), F = Number.parseFloat(L.lineHeight) || 22, $ = Number.parseFloat(L.paddingTop) || 0, D = Number.parseFloat(L.paddingBottom) || 0, E = F + $ + D, B = P.offsetHeight > E + 1, q = i.includes(`
15420
15420
  `) || B;
15421
- N ? $ && v((q) => q || !0) : v((q) => q === $ ? q : $);
15421
+ N ? q && v((V) => V || !0) : v((V) => V === q ? V : q);
15422
15422
  },
15423
15423
  [i]
15424
15424
  );
@@ -15623,17 +15623,17 @@ const Fh = ge.memo(
15623
15623
  const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), b = h || m, g = (b?.textContent || "").trim() || s, v = f.querySelector(".ant-select-selector"), I = b || v || f, k = window.getComputedStyle(I), R = b ? k.fontSize : "16px", _ = k.fontFamily || "sans-serif", T = k.fontWeight || "400", w = `${k.fontStyle || "normal"} ${T} ${R} ${_}`, P = document.createElement("canvas").getContext("2d"), L = P ? Math.ceil((P.font = w, P.measureText(g).width || 0)) : 0;
15624
15624
  let F = 0;
15625
15625
  if (v) {
15626
- const q = window.getComputedStyle(v);
15627
- F = (Number.parseFloat(q.paddingLeft) || 0) + (Number.parseFloat(q.paddingRight) || 0);
15626
+ const V = window.getComputedStyle(v);
15627
+ F = (Number.parseFloat(V.paddingLeft) || 0) + (Number.parseFloat(V.paddingRight) || 0);
15628
15628
  }
15629
- const V = f.querySelector(".ant-select-arrow"), D = V ? Math.ceil(V.getBoundingClientRect().width) : 12, E = f.querySelector(".ant-select-clear");
15629
+ const $ = f.querySelector(".ant-select-arrow"), D = $ ? Math.ceil($.getBoundingClientRect().width) : 12, E = f.querySelector(".ant-select-clear");
15630
15630
  let B = 0;
15631
15631
  if (E) {
15632
- const q = window.getComputedStyle(E);
15633
- q.display !== "none" && q.visibility !== "hidden" && (B = Math.ceil(E.getBoundingClientRect().width));
15632
+ const V = window.getComputedStyle(E);
15633
+ V.display !== "none" && V.visibility !== "hidden" && (B = Math.ceil(E.getBoundingClientRect().width));
15634
15634
  }
15635
- const $ = Math.max(36, L + F + D + B + 6);
15636
- o((q) => q === $ ? q : $);
15635
+ const q = Math.max(36, L + F + D + B + 6);
15636
+ o((V) => V === q ? V : q);
15637
15637
  }, [s]);
15638
15638
  return st(() => {
15639
15639
  const f = window.requestAnimationFrame(() => d()), h = window.setTimeout(() => d(), 60);
@@ -15730,10 +15730,10 @@ const Hh = ge.memo(
15730
15730
  }, [s, o, a]), _ = z(() => {
15731
15731
  const w = m.current;
15732
15732
  if (!w) return;
15733
- const N = w.querySelector(".ant-select-selection-item"), P = w.querySelector(".ant-select-selection-placeholder"), L = N || P, F = (L?.textContent || "").trim() || R(), V = w.querySelector(".ant-select-selector"), D = L || V || w, E = window.getComputedStyle(D), B = L ? E.fontSize : "16px", $ = E.fontFamily || "sans-serif", q = E.fontWeight || "400", x = `${E.fontStyle || "normal"} ${q} ${B} ${$}`, ie = document.createElement("canvas").getContext("2d"), M = ie ? Math.ceil((ie.font = x, ie.measureText(F).width || 0)) : 0;
15733
+ const N = w.querySelector(".ant-select-selection-item"), P = w.querySelector(".ant-select-selection-placeholder"), L = N || P, F = (L?.textContent || "").trim() || R(), $ = w.querySelector(".ant-select-selector"), D = L || $ || w, E = window.getComputedStyle(D), B = L ? E.fontSize : "16px", q = E.fontFamily || "sans-serif", V = E.fontWeight || "400", x = `${E.fontStyle || "normal"} ${V} ${B} ${q}`, ie = document.createElement("canvas").getContext("2d"), M = ie ? Math.ceil((ie.font = x, ie.measureText(F).width || 0)) : 0;
15734
15734
  let fe = 0;
15735
- if (V) {
15736
- const he = window.getComputedStyle(V);
15735
+ if ($) {
15736
+ const he = window.getComputedStyle($);
15737
15737
  fe = (Number.parseFloat(he.paddingLeft) || 0) + (Number.parseFloat(he.paddingRight) || 0);
15738
15738
  }
15739
15739
  const ke = w.querySelector(".ant-select-arrow"), Ae = ke ? Math.ceil(ke.getBoundingClientRect().width) : 12, se = w.querySelector(".ant-select-clear");
@@ -15924,15 +15924,15 @@ function zh() {
15924
15924
  var E = ["th", "st", "nd", "rd"], B = D % 100;
15925
15925
  return "[" + D + (E[(B - 20) % 10] || E[B] || E[0]) + "]";
15926
15926
  } }, k = function(D, E, B) {
15927
- var $ = String(D);
15928
- return !$ || $.length >= E ? D : "" + Array(E + 1 - $.length).join(B) + D;
15927
+ var q = String(D);
15928
+ return !q || q.length >= E ? D : "" + Array(E + 1 - q.length).join(B) + D;
15929
15929
  }, R = { s: k, z: function(D) {
15930
- var E = -D.utcOffset(), B = Math.abs(E), $ = Math.floor(B / 60), q = B % 60;
15931
- return (E <= 0 ? "+" : "-") + k($, 2, "0") + ":" + k(q, 2, "0");
15930
+ var E = -D.utcOffset(), B = Math.abs(E), q = Math.floor(B / 60), V = B % 60;
15931
+ return (E <= 0 ? "+" : "-") + k(q, 2, "0") + ":" + k(V, 2, "0");
15932
15932
  }, m: function D(E, B) {
15933
15933
  if (E.date() < B.date()) return -D(B, E);
15934
- var $ = 12 * (B.year() - E.year()) + (B.month() - E.month()), q = E.clone().add($, d), ee = B - q < 0, x = E.clone().add($ + (ee ? -1 : 1), d);
15935
- return +(-($ + (B - q) / (ee ? q - x : x - q)) || 0);
15934
+ var q = 12 * (B.year() - E.year()) + (B.month() - E.month()), V = E.clone().add(q, d), ee = B - V < 0, x = E.clone().add(q + (ee ? -1 : 1), d);
15935
+ return +(-(q + (B - V) / (ee ? V - x : x - V)) || 0);
15936
15936
  }, a: function(D) {
15937
15937
  return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
15938
15938
  }, p: function(D) {
@@ -15943,19 +15943,19 @@ function zh() {
15943
15943
  T[_] = I;
15944
15944
  var A = "$isDayjsObject", w = function(D) {
15945
15945
  return D instanceof F || !(!D || !D[A]);
15946
- }, N = function D(E, B, $) {
15947
- var q;
15946
+ }, N = function D(E, B, q) {
15947
+ var V;
15948
15948
  if (!E) return _;
15949
15949
  if (typeof E == "string") {
15950
15950
  var ee = E.toLowerCase();
15951
- T[ee] && (q = ee), B && (T[ee] = B, q = ee);
15951
+ T[ee] && (V = ee), B && (T[ee] = B, V = ee);
15952
15952
  var x = E.split("-");
15953
- if (!q && x.length > 1) return D(x[0]);
15953
+ if (!V && x.length > 1) return D(x[0]);
15954
15954
  } else {
15955
15955
  var ne = E.name;
15956
- T[ne] = E, q = ne;
15956
+ T[ne] = E, V = ne;
15957
15957
  }
15958
- return !$ && q && (_ = q), q || !$ && _;
15958
+ return !q && V && (_ = V), V || !q && _;
15959
15959
  }, P = function(D, E) {
15960
15960
  if (w(D)) return D.clone();
15961
15961
  var B = typeof E == "object" ? E : {};
@@ -15970,19 +15970,19 @@ function zh() {
15970
15970
  }
15971
15971
  var E = D.prototype;
15972
15972
  return E.parse = function(B) {
15973
- this.$d = function($) {
15974
- var q = $.date, ee = $.utc;
15975
- if (q === null) return /* @__PURE__ */ new Date(NaN);
15976
- if (L.u(q)) return /* @__PURE__ */ new Date();
15977
- if (q instanceof Date) return new Date(q);
15978
- if (typeof q == "string" && !/Z$/i.test(q)) {
15979
- var x = q.match(g);
15973
+ this.$d = function(q) {
15974
+ var V = q.date, ee = q.utc;
15975
+ if (V === null) return /* @__PURE__ */ new Date(NaN);
15976
+ if (L.u(V)) return /* @__PURE__ */ new Date();
15977
+ if (V instanceof Date) return new Date(V);
15978
+ if (typeof V == "string" && !/Z$/i.test(V)) {
15979
+ var x = V.match(g);
15980
15980
  if (x) {
15981
15981
  var ne = x[2] - 1 || 0, ie = (x[7] || "0").substring(0, 3);
15982
15982
  return ee ? new Date(Date.UTC(x[1], ne, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, ie)) : new Date(x[1], ne, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, ie);
15983
15983
  }
15984
15984
  }
15985
- return new Date(q);
15985
+ return new Date(V);
15986
15986
  }(B), this.init();
15987
15987
  }, E.init = function() {
15988
15988
  var B = this.$d;
@@ -15991,25 +15991,25 @@ function zh() {
15991
15991
  return L;
15992
15992
  }, E.isValid = function() {
15993
15993
  return this.$d.toString() !== b;
15994
- }, E.isSame = function(B, $) {
15995
- var q = P(B);
15996
- return this.startOf($) <= q && q <= this.endOf($);
15997
- }, E.isAfter = function(B, $) {
15998
- return P(B) < this.startOf($);
15999
- }, E.isBefore = function(B, $) {
16000
- return this.endOf($) < P(B);
16001
- }, E.$g = function(B, $, q) {
16002
- return L.u(B) ? this[$] : this.set(q, B);
15994
+ }, E.isSame = function(B, q) {
15995
+ var V = P(B);
15996
+ return this.startOf(q) <= V && V <= this.endOf(q);
15997
+ }, E.isAfter = function(B, q) {
15998
+ return P(B) < this.startOf(q);
15999
+ }, E.isBefore = function(B, q) {
16000
+ return this.endOf(q) < P(B);
16001
+ }, E.$g = function(B, q, V) {
16002
+ return L.u(B) ? this[q] : this.set(V, B);
16003
16003
  }, E.unix = function() {
16004
16004
  return Math.floor(this.valueOf() / 1e3);
16005
16005
  }, E.valueOf = function() {
16006
16006
  return this.$d.getTime();
16007
- }, E.startOf = function(B, $) {
16008
- var q = this, ee = !!L.u($) || $, x = L.p(B), ne = function(Re, he) {
16009
- var oe = L.w(q.$u ? Date.UTC(q.$y, he, Re) : new Date(q.$y, he, Re), q);
16007
+ }, E.startOf = function(B, q) {
16008
+ var V = this, ee = !!L.u(q) || q, x = L.p(B), ne = function(Re, he) {
16009
+ var oe = L.w(V.$u ? Date.UTC(V.$y, he, Re) : new Date(V.$y, he, Re), V);
16010
16010
  return ee ? oe : oe.endOf(o);
16011
16011
  }, ie = function(Re, he) {
16012
- return L.w(q.toDate()[Re].apply(q.toDate("s"), (ee ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), q);
16012
+ return L.w(V.toDate()[Re].apply(V.toDate("s"), (ee ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), V);
16013
16013
  }, M = this.$W, fe = this.$M, ke = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
16014
16014
  switch (x) {
16015
16015
  case h:
@@ -16033,21 +16033,21 @@ function zh() {
16033
16033
  }
16034
16034
  }, E.endOf = function(B) {
16035
16035
  return this.startOf(B, !1);
16036
- }, E.$set = function(B, $) {
16037
- var q, ee = L.p(B), x = "set" + (this.$u ? "UTC" : ""), ne = (q = {}, q[o] = x + "Date", q[m] = x + "Date", q[d] = x + "Month", q[h] = x + "FullYear", q[u] = x + "Hours", q[s] = x + "Minutes", q[i] = x + "Seconds", q[a] = x + "Milliseconds", q)[ee], ie = ee === o ? this.$D + ($ - this.$W) : $;
16036
+ }, E.$set = function(B, q) {
16037
+ var V, ee = L.p(B), x = "set" + (this.$u ? "UTC" : ""), ne = (V = {}, V[o] = x + "Date", V[m] = x + "Date", V[d] = x + "Month", V[h] = x + "FullYear", V[u] = x + "Hours", V[s] = x + "Minutes", V[i] = x + "Seconds", V[a] = x + "Milliseconds", V)[ee], ie = ee === o ? this.$D + (q - this.$W) : q;
16038
16038
  if (ee === d || ee === h) {
16039
16039
  var M = this.clone().set(m, 1);
16040
16040
  M.$d[ne](ie), M.init(), this.$d = M.set(m, Math.min(this.$D, M.daysInMonth())).$d;
16041
16041
  } else ne && this.$d[ne](ie);
16042
16042
  return this.init(), this;
16043
- }, E.set = function(B, $) {
16044
- return this.clone().$set(B, $);
16043
+ }, E.set = function(B, q) {
16044
+ return this.clone().$set(B, q);
16045
16045
  }, E.get = function(B) {
16046
16046
  return this[L.p(B)]();
16047
- }, E.add = function(B, $) {
16048
- var q, ee = this;
16047
+ }, E.add = function(B, q) {
16048
+ var V, ee = this;
16049
16049
  B = Number(B);
16050
- var x = L.p($), ne = function(fe) {
16050
+ var x = L.p(q), ne = function(fe) {
16051
16051
  var ke = P(ee);
16052
16052
  return L.w(ke.date(ke.date() + Math.round(fe * B)), ee);
16053
16053
  };
@@ -16055,15 +16055,15 @@ function zh() {
16055
16055
  if (x === h) return this.set(h, this.$y + B);
16056
16056
  if (x === o) return ne(1);
16057
16057
  if (x === c) return ne(7);
16058
- var ie = (q = {}, q[s] = r, q[u] = l, q[i] = n, q)[x] || 1, M = this.$d.getTime() + B * ie;
16058
+ var ie = (V = {}, V[s] = r, V[u] = l, V[i] = n, V)[x] || 1, M = this.$d.getTime() + B * ie;
16059
16059
  return L.w(M, this);
16060
- }, E.subtract = function(B, $) {
16061
- return this.add(-1 * B, $);
16060
+ }, E.subtract = function(B, q) {
16061
+ return this.add(-1 * B, q);
16062
16062
  }, E.format = function(B) {
16063
- var $ = this, q = this.$locale();
16064
- if (!this.isValid()) return q.invalidDate || b;
16065
- var ee = B || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), ne = this.$H, ie = this.$m, M = this.$M, fe = q.weekdays, ke = q.months, Ae = q.meridiem, se = function(he, oe, we, et) {
16066
- return he && (he[oe] || he($, ee)) || we[oe].slice(0, et);
16063
+ var q = this, V = this.$locale();
16064
+ if (!this.isValid()) return V.invalidDate || b;
16065
+ var ee = B || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), ne = this.$H, ie = this.$m, M = this.$M, fe = V.weekdays, ke = V.months, Ae = V.meridiem, se = function(he, oe, we, et) {
16066
+ return he && (he[oe] || he(q, ee)) || we[oe].slice(0, et);
16067
16067
  }, Ne = function(he) {
16068
16068
  return L.s(ne % 12 || 12, he, "0");
16069
16069
  }, Re = Ae || function(he, oe, we) {
@@ -16074,29 +16074,29 @@ function zh() {
16074
16074
  return oe || function(we) {
16075
16075
  switch (we) {
16076
16076
  case "YY":
16077
- return String($.$y).slice(-2);
16077
+ return String(q.$y).slice(-2);
16078
16078
  case "YYYY":
16079
- return L.s($.$y, 4, "0");
16079
+ return L.s(q.$y, 4, "0");
16080
16080
  case "M":
16081
16081
  return M + 1;
16082
16082
  case "MM":
16083
16083
  return L.s(M + 1, 2, "0");
16084
16084
  case "MMM":
16085
- return se(q.monthsShort, M, ke, 3);
16085
+ return se(V.monthsShort, M, ke, 3);
16086
16086
  case "MMMM":
16087
16087
  return se(ke, M);
16088
16088
  case "D":
16089
- return $.$D;
16089
+ return q.$D;
16090
16090
  case "DD":
16091
- return L.s($.$D, 2, "0");
16091
+ return L.s(q.$D, 2, "0");
16092
16092
  case "d":
16093
- return String($.$W);
16093
+ return String(q.$W);
16094
16094
  case "dd":
16095
- return se(q.weekdaysMin, $.$W, fe, 2);
16095
+ return se(V.weekdaysMin, q.$W, fe, 2);
16096
16096
  case "ddd":
16097
- return se(q.weekdaysShort, $.$W, fe, 3);
16097
+ return se(V.weekdaysShort, q.$W, fe, 3);
16098
16098
  case "dddd":
16099
- return fe[$.$W];
16099
+ return fe[q.$W];
16100
16100
  case "H":
16101
16101
  return String(ne);
16102
16102
  case "HH":
@@ -16114,11 +16114,11 @@ function zh() {
16114
16114
  case "mm":
16115
16115
  return L.s(ie, 2, "0");
16116
16116
  case "s":
16117
- return String($.$s);
16117
+ return String(q.$s);
16118
16118
  case "ss":
16119
- return L.s($.$s, 2, "0");
16119
+ return L.s(q.$s, 2, "0");
16120
16120
  case "SSS":
16121
- return L.s($.$ms, 3, "0");
16121
+ return L.s(q.$ms, 3, "0");
16122
16122
  case "Z":
16123
16123
  return x;
16124
16124
  }
@@ -16127,8 +16127,8 @@ function zh() {
16127
16127
  });
16128
16128
  }, E.utcOffset = function() {
16129
16129
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
16130
- }, E.diff = function(B, $, q) {
16131
- var ee, x = this, ne = L.p($), ie = P(B), M = (ie.utcOffset() - this.utcOffset()) * r, fe = this - ie, ke = function() {
16130
+ }, E.diff = function(B, q, V) {
16131
+ var ee, x = this, ne = L.p(q), ie = P(B), M = (ie.utcOffset() - this.utcOffset()) * r, fe = this - ie, ke = function() {
16132
16132
  return L.m(x, ie);
16133
16133
  };
16134
16134
  switch (ne) {
@@ -16159,15 +16159,15 @@ function zh() {
16159
16159
  default:
16160
16160
  ee = fe;
16161
16161
  }
16162
- return q ? ee : L.a(ee);
16162
+ return V ? ee : L.a(ee);
16163
16163
  }, E.daysInMonth = function() {
16164
16164
  return this.endOf(d).$D;
16165
16165
  }, E.$locale = function() {
16166
16166
  return T[this.$L];
16167
- }, E.locale = function(B, $) {
16167
+ }, E.locale = function(B, q) {
16168
16168
  if (!B) return this.$L;
16169
- var q = this.clone(), ee = N(B, $, !0);
16170
- return ee && (q.$L = ee), q;
16169
+ var V = this.clone(), ee = N(B, q, !0);
16170
+ return ee && (V.$L = ee), V;
16171
16171
  }, E.clone = function() {
16172
16172
  return L.w(this.$d, this);
16173
16173
  }, E.toDate = function() {
@@ -16179,9 +16179,9 @@ function zh() {
16179
16179
  }, E.toString = function() {
16180
16180
  return this.$d.toUTCString();
16181
16181
  }, D;
16182
- }(), V = F.prototype;
16183
- return P.prototype = V, [["$ms", a], ["$s", i], ["$m", s], ["$H", u], ["$W", o], ["$M", d], ["$y", h], ["$D", m]].forEach(function(D) {
16184
- V[D[1]] = function(E) {
16182
+ }(), $ = F.prototype;
16183
+ return P.prototype = $, [["$ms", a], ["$s", i], ["$m", s], ["$H", u], ["$W", o], ["$M", d], ["$y", h], ["$D", m]].forEach(function(D) {
16184
+ $[D[1]] = function(E) {
16185
16185
  return this.$g(E, D[0], D[1]);
16186
16186
  };
16187
16187
  }), P.extend = function(D, E) {
@@ -22176,13 +22176,13 @@ const tC = [
22176
22176
  }, [u, a, i]), R = z(() => {
22177
22177
  const _ = m.current;
22178
22178
  if (!_) return;
22179
- const T = k(), A = _.querySelector(".ant-select-selector"), w = _.querySelector(".ant-select-selection-item") || _.querySelector(".ant-select-selection-placeholder"), N = w || A || _, P = window.getComputedStyle(N), L = w ? P.fontSize : "16px", F = P.fontFamily || "sans-serif", V = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${V} ${L} ${F}`, $ = document.createElement("canvas").getContext("2d"), q = $ ? Math.ceil(($.font = E, $.measureText(T).width || 0)) : 0;
22179
+ const T = k(), A = _.querySelector(".ant-select-selector"), w = _.querySelector(".ant-select-selection-item") || _.querySelector(".ant-select-selection-placeholder"), N = w || A || _, P = window.getComputedStyle(N), L = w ? P.fontSize : "16px", F = P.fontFamily || "sans-serif", $ = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${$} ${L} ${F}`, q = document.createElement("canvas").getContext("2d"), V = q ? Math.ceil((q.font = E, q.measureText(T).width || 0)) : 0;
22180
22180
  let ee = 0;
22181
22181
  if (A) {
22182
22182
  const ie = window.getComputedStyle(A);
22183
22183
  ee = (Number.parseFloat(ie.paddingLeft) || 0) + (Number.parseFloat(ie.paddingRight) || 0);
22184
22184
  }
22185
- const ne = Math.max(80, q + ee + 16 + 10);
22185
+ const ne = Math.max(80, V + ee + 16 + 10);
22186
22186
  h((ie) => ie === ne ? ie : ne);
22187
22187
  }, [k]);
22188
22188
  return st(() => {
@@ -22636,7 +22636,7 @@ const Yh = ({
22636
22636
  const D = document.fonts;
22637
22637
  D?.ready && D.ready.then(L);
22638
22638
  }, [w, L]);
22639
- const F = N > 0 ? Math.max(40, N + 2) : 40, V = [
22639
+ const F = N > 0 ? Math.max(40, N + 2) : 40, $ = [
22640
22640
  "variable-chip",
22641
22641
  R ? "rte-report-name-chip" : "",
22642
22642
  _ ? "rte-variable-with-icon" : ""
@@ -22645,7 +22645,7 @@ const Yh = ({
22645
22645
  "span",
22646
22646
  {
22647
22647
  ref: I,
22648
- className: V,
22648
+ className: $,
22649
22649
  "data-type": m === "multi-variable-select" ? "multi-variable-select" : "variable",
22650
22650
  "data-key": k,
22651
22651
  "data-multi-key": e,
@@ -22747,7 +22747,7 @@ const Yh = ({
22747
22747
  const N = [...k];
22748
22748
  if (N[A] = w, w.trim() === "") {
22749
22749
  const P = N.reduce(
22750
- (L, F, V) => F && F.trim() ? V : L,
22750
+ (L, F, $) => F && F.trim() ? $ : L,
22751
22751
  -1
22752
22752
  );
22753
22753
  A < P && N.splice(A, 1), N.length = P + 1;
@@ -22830,29 +22830,29 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22830
22830
  const f = le(null), h = le(null), m = Fl(), [b, g] = Z(!1), v = t != null, I = Gh(t), [k, R] = Z(!1), _ = z(() => {
22831
22831
  a || f.current?.click();
22832
22832
  }, [a]), T = z(
22833
- (q) => {
22834
- const ee = q.target.files;
22835
- ee && ee.length > 0 && o(e, ee), q.target.value = "";
22833
+ (V) => {
22834
+ const ee = V.target.files;
22835
+ ee && ee.length > 0 && o(e, ee), V.target.value = "";
22836
22836
  },
22837
22837
  [o, e]
22838
22838
  ), A = z(() => {
22839
22839
  a || h.current?.click();
22840
22840
  }, [a]), w = z(
22841
- (q) => {
22842
- const ee = q.target.files;
22843
- ee && ee.length > 0 && c(e, ee), q.target.value = "";
22841
+ (V) => {
22842
+ const ee = V.target.files;
22843
+ ee && ee.length > 0 && c(e, ee), V.target.value = "";
22844
22844
  },
22845
22845
  [c, e]
22846
22846
  ), N = z(() => {
22847
22847
  a || g(!0);
22848
22848
  }, [a]), P = z(
22849
- (q) => {
22850
- q.stopPropagation(), !a && d(e);
22849
+ (V) => {
22850
+ V.stopPropagation(), !a && d(e);
22851
22851
  },
22852
22852
  [d, e, a]
22853
- ), L = v ? typeof t == "string" ? decodeURIComponent(t.split("/").pop()?.split("?")[0] || "file") : t.name : null, F = (v ? L : n) ?? "", V = v && (typeof t == "string" && dC(t) || typeof t == "object" && t !== null && fC(t)), D = V ? /* @__PURE__ */ y("img", { className: "upload-icon-img upload-icon-preview", src: I, alt: "preview" }) : v ? /* @__PURE__ */ y("i", { className: "iconfont icon-exlwenjian" }) : /* @__PURE__ */ y("i", { className: "iconfont icon-shangchuan1" }), E = /* @__PURE__ */ y("span", { className: "upload-label", "data-file-name": F, children: F }), B = /* @__PURE__ */ Y("span", { className: `upload-inner-wrapper${v ? " has-file" : ""}`, children: [
22853
+ ), L = v ? typeof t == "string" ? decodeURIComponent(t.split("/").pop()?.split("?")[0] || "file") : t.name : null, F = (v ? L : n) ?? "", $ = v && (typeof t == "string" && dC(t) || typeof t == "object" && t !== null && fC(t)), D = $ ? /* @__PURE__ */ y("img", { className: "upload-icon-img upload-icon-preview", src: I, alt: "preview" }) : v ? /* @__PURE__ */ y("i", { className: "iconfont icon-exlwenjian" }) : /* @__PURE__ */ y("i", { className: "iconfont icon-shangchuan1" }), E = /* @__PURE__ */ y("span", { className: "upload-label", "data-file-name": F, children: F }), B = /* @__PURE__ */ Y("span", { className: `upload-inner-wrapper${v ? " has-file" : ""}`, children: [
22854
22854
  /* @__PURE__ */ y("span", { className: "upload-icon", children: D }),
22855
- v && F && !V ? /* @__PURE__ */ y(Ta, { title: F, children: E }) : E,
22855
+ v && F && !$ ? /* @__PURE__ */ y(Ta, { title: F, children: E }) : E,
22856
22856
  l && /* @__PURE__ */ y(
22857
22857
  "i",
22858
22858
  {
@@ -22861,7 +22861,10 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22861
22861
  "data-upload-key": e,
22862
22862
  "data-tooltip": l,
22863
22863
  onMouseEnter: () => R(!0),
22864
- onMouseLeave: () => R(!1)
22864
+ onMouseLeave: () => R(!1),
22865
+ onClick: (V) => {
22866
+ V.stopPropagation(), V.preventDefault();
22867
+ }
22865
22868
  }
22866
22869
  ),
22867
22870
  /* @__PURE__ */ y(
@@ -22875,8 +22878,8 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22875
22878
  )
22876
22879
  ] });
22877
22880
  if (v) {
22878
- if (V) {
22879
- const q = /* @__PURE__ */ Y(
22881
+ if ($) {
22882
+ const V = /* @__PURE__ */ Y(
22880
22883
  "span",
22881
22884
  {
22882
22885
  className: `upload-chip${s ? " upload-chip-batch" : ""}`,
@@ -22917,7 +22920,7 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22917
22920
  borderRadius: 4,
22918
22921
  boxShadow: "0 2px 12px 0 rgba(153, 153, 153, 0.25)"
22919
22922
  },
22920
- children: q
22923
+ children: V
22921
22924
  }
22922
22925
  );
22923
22926
  }
@@ -22947,7 +22950,7 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22947
22950
  }
22948
22951
  );
22949
22952
  }
22950
- const $ = /* @__PURE__ */ Y(
22953
+ const q = /* @__PURE__ */ Y(
22951
22954
  "button",
22952
22955
  {
22953
22956
  type: "button",
@@ -22974,7 +22977,7 @@ const cC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, dC = (e) => cC.test(e), fC
22974
22977
  ]
22975
22978
  }
22976
22979
  );
22977
- return l ? /* @__PURE__ */ y(Ta, { title: l, open: k, trigger: [], children: $ }) : $;
22980
+ return l ? /* @__PURE__ */ y(Ta, { title: l, open: k, trigger: [], children: q }) : q;
22978
22981
  }
22979
22982
  );
22980
22983
  ba.displayName = "UploadChip";
@@ -23007,10 +23010,10 @@ const gC = (e = Date.now()) => e - Mc < bC ? !1 : (Mc = e, !0), vC = 32, yC = (e
23007
23010
  ), m = z(
23008
23011
  (P) => {
23009
23012
  const L = Array.from(P), F = [];
23010
- let V = 0;
23013
+ let $ = 0;
23011
23014
  for (const D of L)
23012
- pC(D) ? V += 1 : F.push(D);
23013
- return V > 0 && gC() && h(mC), F;
23015
+ pC(D) ? $ += 1 : F.push(D);
23016
+ return $ > 0 && gC() && h(mC), F;
23014
23017
  },
23015
23018
  [h]
23016
23019
  ), b = z(
@@ -23023,15 +23026,15 @@ const gC = (e = Date.now()) => e - Mc < bC ? !1 : (Mc = e, !0), vC = 32, yC = (e
23023
23026
  (P, L) => {
23024
23027
  const F = m(L);
23025
23028
  if (F.length === 0) return;
23026
- const V = e.key, D = e.maxCount ?? 0, E = (() => {
23027
- const $ = P.match(/-(\d+)$/);
23028
- return $ ? Number.parseInt($[1], 10) : 0;
23029
+ const $ = e.key, D = e.maxCount ?? 0, E = (() => {
23030
+ const q = P.match(/-(\d+)$/);
23031
+ return q ? Number.parseInt(q[1], 10) : 0;
23029
23032
  })();
23030
23033
  let B = Math.max(0, Math.min(E, D - 1));
23031
- for (const $ of F) {
23032
- for (; B < D && t[`${V}-${B}`] != null; ) B += 1;
23034
+ for (const q of F) {
23035
+ for (; B < D && t[`${$}-${B}`] != null; ) B += 1;
23033
23036
  if (B >= D) break;
23034
- n(`${V}-${B}`, $), B += 1;
23037
+ n(`${$}-${B}`, q), B += 1;
23035
23038
  }
23036
23039
  },
23037
23040
  [t, e.key, e.maxCount, n, m]
@@ -23042,14 +23045,14 @@ const gC = (e = Date.now()) => e - Mc < bC ? !1 : (Mc = e, !0), vC = 32, yC = (e
23042
23045
  if (!i)
23043
23046
  return { filledEntries: [], emptyKeys: [] };
23044
23047
  const P = e.key, L = [], F = [];
23045
- for (let V = 0; V < (e.maxCount ?? 0); V += 1) {
23046
- const D = `${P}-${V}`, E = t[D];
23048
+ for (let $ = 0; $ < (e.maxCount ?? 0); $ += 1) {
23049
+ const D = `${P}-${$}`, E = t[D];
23047
23050
  E != null ? L.push({ key: D, file: E }) : F.push(D);
23048
23051
  }
23049
23052
  return { filledEntries: L, emptyKeys: F };
23050
23053
  }, [t, i, e.key, e.maxCount]), R = I.length;
23051
23054
  if (!i) {
23052
- const P = e.key, L = t[P] ?? null, F = L != null, V = (e.text || "").trim(), D = F && e.showHint === !0 && V.length >= xC, E = /* @__PURE__ */ y(
23055
+ const P = e.key, L = t[P] ?? null, F = L != null, $ = (e.text || "").trim(), D = F && e.showHint === !0 && $.length >= xC, E = /* @__PURE__ */ y(
23053
23056
  ba,
23054
23057
  {
23055
23058
  slotKey: P,
@@ -23068,9 +23071,9 @@ const gC = (e = Date.now()) => e - Mc < bC ? !1 : (Mc = e, !0), vC = 32, yC = (e
23068
23071
  {
23069
23072
  className: "exclusion-wrapper upload-hint",
23070
23073
  "data-group": e.exclusionGroup,
23071
- children: V
23074
+ children: $
23072
23075
  }
23073
- ) : null, $ = d && c ? /* @__PURE__ */ y(Yn, { data: c, hidden: F }) : null;
23076
+ ) : null, q = d && c ? /* @__PURE__ */ y(Yn, { data: c, hidden: F }) : null;
23074
23077
  return e.required ? /* @__PURE__ */ Y("span", { className: l ? "rte-upload-error" : void 0, children: [
23075
23078
  /* @__PURE__ */ Y(
23076
23079
  "span",
@@ -23083,11 +23086,11 @@ const gC = (e = Date.now()) => e - Mc < bC ? !1 : (Mc = e, !0), vC = 32, yC = (e
23083
23086
  ]
23084
23087
  }
23085
23088
  ),
23086
- $,
23089
+ q,
23087
23090
  B
23088
23091
  ] }) : /* @__PURE__ */ Y("span", { className: l ? "rte-upload-error" : void 0, children: [
23089
23092
  E,
23090
- $,
23093
+ q,
23091
23094
  B
23092
23095
  ] });
23093
23096
  }
@@ -23316,7 +23319,7 @@ const Rc = 2 * Math.PI * 6.5, Qh = "data:image/svg+xml,%3Csvg xmlns='http://www.
23316
23319
  }, [k, T]);
23317
23320
  const A = R > 0 ? Math.max(40, R + 2) : 40, w = Bl(e.tooltip), N = !!w, P = N ? "" : NC(e.tooltip), L = !!(t || n), F = z(() => {
23318
23321
  g.current && (window.clearInterval(g.current), g.current = null);
23319
- }, []), V = z(() => {
23322
+ }, []), $ = z(() => {
23320
23323
  F();
23321
23324
  let x = 0;
23322
23325
  g.current = window.setInterval(() => {
@@ -23330,7 +23333,7 @@ const Rc = 2 * Math.PI * 6.5, Qh = "data:image/svg+xml,%3Csvg xmlns='http://www.
23330
23333
  const ne = x.trim();
23331
23334
  if (!ne) return;
23332
23335
  const ie = Dc(ne), M = v.current += 1;
23333
- o("loading"), d(0), h(ie), b(""), V();
23336
+ o("loading"), d(0), h(ie), b(""), $();
23334
23337
  try {
23335
23338
  const fe = await a({ url: ie });
23336
23339
  if (F(), r(e.key, fe.videoUrl), l?.(e.key, fe.thumbnail || ""), o("success"), !fe.thumbnail && fe.videoUrl) {
@@ -23346,7 +23349,7 @@ const Rc = 2 * Math.PI * 6.5, Qh = "data:image/svg+xml,%3Csvg xmlns='http://www.
23346
23349
  e.key,
23347
23350
  r,
23348
23351
  l,
23349
- V,
23352
+ $,
23350
23353
  F
23351
23354
  ]
23352
23355
  ), E = z(() => {
@@ -23363,12 +23366,12 @@ const Rc = 2 * Math.PI * 6.5, Qh = "data:image/svg+xml,%3Csvg xmlns='http://www.
23363
23366
  r(e.key, ie), D(ie);
23364
23367
  },
23365
23368
  [a, e.key, r, D]
23366
- ), $ = z(
23369
+ ), q = z(
23367
23370
  (x) => {
23368
23371
  x.stopPropagation(), v.current += 1, r(e.key, ""), l?.(e.key, ""), h(""), o("idle");
23369
23372
  },
23370
23373
  [e.key, r, l]
23371
- ), q = (x) => {
23374
+ ), V = (x) => {
23372
23375
  const ne = N && w ? /* @__PURE__ */ y(Yn, { data: w, hidden: L }) : null;
23373
23376
  return e.required ? /* @__PURE__ */ Y(it, { children: [
23374
23377
  /* @__PURE__ */ Y(
@@ -23416,13 +23419,13 @@ const Rc = 2 * Math.PI * 6.5, Qh = "data:image/svg+xml,%3Csvg xmlns='http://www.
23416
23419
  /* @__PURE__ */ y(Xh, {})
23417
23420
  ] }),
23418
23421
  /* @__PURE__ */ y("span", { className: "video-label", "data-file-name": x, children: x }),
23419
- /* @__PURE__ */ y("span", { className: "video-remove-btn rte-video-remove", title: "移除视频", onClick: $, children: "×" })
23422
+ /* @__PURE__ */ y("span", { className: "video-remove-btn rte-video-remove", title: "移除视频", onClick: q, children: "×" })
23420
23423
  ] })
23421
23424
  }
23422
23425
  );
23423
- return q(/* @__PURE__ */ y(Zh, { videoUrl: ee, children: ne }));
23426
+ return V(/* @__PURE__ */ y(Zh, { videoUrl: ee, children: ne }));
23424
23427
  }
23425
- return q(
23428
+ return V(
23426
23429
  u === "loading" ? /* @__PURE__ */ y(
23427
23430
  "span",
23428
23431
  {
@@ -23539,17 +23542,17 @@ const wC = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", _C = 10
23539
23542
  i || A || !a || u.current?.click();
23540
23543
  }, [i, A, a]), N = z(
23541
23544
  async (F) => {
23542
- const V = F.target.files?.[0];
23543
- if (F.target.value = "", !V || !a) return;
23544
- if (V.size > _C) {
23545
+ const $ = F.target.files?.[0];
23546
+ if (F.target.value = "", !$ || !a) return;
23547
+ if ($.size > _C) {
23545
23548
  Cr.warning(IC);
23546
23549
  return;
23547
23550
  }
23548
- c("loading"), f(0), g(V.name), I(""), m("");
23549
- const D = await SC(V).catch(() => "");
23551
+ c("loading"), f(0), g($.name), I(""), m("");
23552
+ const D = await SC($).catch(() => "");
23550
23553
  D && m(D);
23551
23554
  try {
23552
- const E = await a(V, (B) => f(B));
23555
+ const E = await a($, (B) => f(B));
23553
23556
  r(e.key, E.videoUrl), l?.(e.key, E.thumbnail || D || ""), c("idle"), m("");
23554
23557
  } catch (E) {
23555
23558
  c("error"), I(E instanceof Error ? E.message : "上传失败"), m("");
@@ -23562,7 +23565,7 @@ const wC = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", _C = 10
23562
23565
  },
23563
23566
  [e.key, r, l]
23564
23567
  ), L = (F) => {
23565
- const V = R && k ? /* @__PURE__ */ y(Yn, { data: k, hidden: T }) : null;
23568
+ const $ = R && k ? /* @__PURE__ */ y(Yn, { data: k, hidden: T }) : null;
23566
23569
  return e.required ? /* @__PURE__ */ Y(it, { children: [
23567
23570
  /* @__PURE__ */ Y(
23568
23571
  "span",
@@ -23575,14 +23578,14 @@ const wC = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", _C = 10
23575
23578
  ]
23576
23579
  }
23577
23580
  ),
23578
- V
23579
- ] }) : V ? /* @__PURE__ */ Y(it, { children: [
23581
+ $
23582
+ ] }) : $ ? /* @__PURE__ */ Y(it, { children: [
23580
23583
  F,
23581
- V
23584
+ $
23582
23585
  ] }) : F;
23583
23586
  };
23584
23587
  if (T) {
23585
- const F = b || "视频文件", V = /* @__PURE__ */ Y(
23588
+ const F = b || "视频文件", $ = /* @__PURE__ */ Y(
23586
23589
  "span",
23587
23590
  {
23588
23591
  className: `video-chip ${s ? "rte-video-error" : ""}`,
@@ -23634,7 +23637,7 @@ const wC = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", _C = 10
23634
23637
  }
23635
23638
  );
23636
23639
  return L(
23637
- /* @__PURE__ */ y(Zh, { videoUrl: t, children: V })
23640
+ /* @__PURE__ */ y(Zh, { videoUrl: t, children: $ })
23638
23641
  );
23639
23642
  }
23640
23643
  return L(
@@ -23902,7 +23905,7 @@ const OC = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23902
23905
  }
23903
23906
  },
23904
23907
  [e.key, n, r]
23905
- ), V = z(
23908
+ ), $ = z(
23906
23909
  (oe) => {
23907
23910
  oe.preventDefault(), oe.stopPropagation(), e.key && n(e.key, ""), s?.();
23908
23911
  },
@@ -23920,7 +23923,7 @@ const OC = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23920
23923
  b ? "rte-report-name-chip" : "",
23921
23924
  d ? "rte-report-url-error" : "",
23922
23925
  R ? "rte-variable-with-icon" : ""
23923
- ].filter(Boolean).join(" "), E = le(null), B = le(null), $ = le(null), [q, ee] = Z(
23926
+ ].filter(Boolean).join(" "), E = le(null), B = le(null), q = le(null), [V, ee] = Z(
23924
23927
  null
23925
23928
  ), x = z(() => {
23926
23929
  const oe = B.current;
@@ -23949,7 +23952,7 @@ const OC = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23949
23952
  }, [A, x]), Ee(() => {
23950
23953
  if (!A) return;
23951
23954
  const oe = (we) => {
23952
- const et = B.current, Ue = $.current, Et = we.target;
23955
+ const et = B.current, Ue = q.current, Et = we.target;
23953
23956
  et?.contains(Et) || Ue?.contains(Et) || w(!1);
23954
23957
  };
23955
23958
  return document.addEventListener("mousedown", oe), () => document.removeEventListener("mousedown", oe);
@@ -23988,7 +23991,7 @@ const OC = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23988
23991
  {
23989
23992
  className: "rte-report-chip-clear-host",
23990
23993
  contentEditable: !1,
23991
- onMouseDown: V,
23994
+ onMouseDown: $,
23992
23995
  children: /* @__PURE__ */ y("span", { className: "rte-report-chip-clear-icon", title: "清除", children: /* @__PURE__ */ y(Pb, {}) })
23993
23996
  }
23994
23997
  ) : null, M = e.placeholder ?? "粘贴报告链接", fe = m || M, ke = R ? 24 : 0, Ae = Math.max(60, DC(fe) + 6) + ke, se = je(() => {
@@ -24033,13 +24036,13 @@ const OC = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24033
24036
  ie
24034
24037
  ]
24035
24038
  }
24036
- ), he = I && A && q ? lu(
24039
+ ), he = I && A && V ? lu(
24037
24040
  /* @__PURE__ */ y(
24038
24041
  "div",
24039
24042
  {
24040
- ref: $,
24043
+ ref: q,
24041
24044
  className: "rte-report-dropdown-overlay",
24042
- style: { position: "fixed", top: q.top, left: q.left },
24045
+ style: { position: "fixed", top: V.top, left: V.left },
24043
24046
  onClick: (oe) => oe.stopPropagation(),
24044
24047
  children: /* @__PURE__ */ y(
24045
24048
  LC,
@@ -36814,19 +36817,19 @@ function Xw() {
36814
36817
  var _ = !1, T, A, w = function(F) {
36815
36818
  if (!_) {
36816
36819
  _ = !0, T = F;
36817
- var V = h(F);
36820
+ var $ = h(F);
36818
36821
  if (m !== void 0 && g.hasValue) {
36819
36822
  var D = g.value;
36820
- if (m(D, V))
36823
+ if (m(D, $))
36821
36824
  return A = D, D;
36822
36825
  }
36823
- return A = V, V;
36826
+ return A = $, $;
36824
36827
  }
36825
36828
  var E = T, B = A;
36826
36829
  if (r(E, F))
36827
36830
  return B;
36828
- var $ = h(F);
36829
- return m !== void 0 && m(B, $) ? B : (T = F, A = $, $);
36831
+ var q = h(F);
36832
+ return m !== void 0 && m(B, q) ? B : (T = F, A = q, q);
36830
36833
  }, N = f === void 0 ? null : f, P = function() {
36831
36834
  return w(d());
36832
36835
  }, L = N === null ? void 0 : function() {
@@ -39224,19 +39227,19 @@ function AI(e, t, n = /* @__PURE__ */ new Set()) {
39224
39227
  const NI = {
39225
39228
  reportModules: {},
39226
39229
  markdownModules: {}
39227
- }, Jm = ge.memo(({ options: e, onSelect: t, disabled: n }) => {
39228
- const r = e.filter((l) => l.isShowNew !== 1).map((l) => ({
39229
- key: l.key,
39230
+ }, Jm = ge.memo(({ options: e, onSelect: t, disabled: n, currentAgent: r }) => {
39231
+ const l = e.filter((a) => a.isShowNew !== 1).map((a) => ({
39232
+ key: a.key,
39230
39233
  label: /* @__PURE__ */ Y("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
39231
- l.icon && /* @__PURE__ */ y("i", { className: l.icon }),
39232
- /* @__PURE__ */ y("span", { children: l.label })
39234
+ a.icon && /* @__PURE__ */ y("i", { className: a.icon }),
39235
+ /* @__PURE__ */ y("span", { children: a.label })
39233
39236
  ] }),
39234
- onClick: () => t?.(l)
39237
+ onClick: () => t?.(a)
39235
39238
  }));
39236
39239
  return /* @__PURE__ */ y(
39237
39240
  Nb,
39238
39241
  {
39239
- menu: { items: r },
39242
+ menu: { items: l, selectedKeys: r ? [String(r.key)] : [] },
39240
39243
  disabled: n,
39241
39244
  placement: "bottomLeft",
39242
39245
  autoAdjustOverflow: !0,
@@ -39370,7 +39373,8 @@ const nb = ge.memo(
39370
39373
  {
39371
39374
  options: s,
39372
39375
  onSelect: u,
39373
- disabled: n || e
39376
+ disabled: n || e,
39377
+ currentAgent: c
39374
39378
  }
39375
39379
  ) }),
39376
39380
  l && /* @__PURE__ */ y(
@@ -39507,12 +39511,12 @@ const rf = 9999, uO = (e) => {
39507
39511
  markdownAnalyze: P,
39508
39512
  markdownNameAnalyze: L,
39509
39513
  agentOptions: F,
39510
- onAgentSelect: V,
39514
+ onAgentSelect: $,
39511
39515
  onAgentExit: D,
39512
39516
  loading: E,
39513
39517
  hideButtons: B,
39514
- footerPadding: $,
39515
- showFooterUpload: q,
39518
+ footerPadding: q,
39519
+ showFooterUpload: V,
39516
39520
  // TODO(Phase 2+): lockStructure=false 模式(text 节点可编辑)暂未在 StructuredEditor 中实现。
39517
39521
  // 当前 Phase 1 仅接收该 prop 以保证类型兼容,不传给任何子组件、不影响行为。
39518
39522
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -39989,15 +39993,15 @@ const rf = 9999, uO = (e) => {
39989
39993
  loading: E,
39990
39994
  disabled: l,
39991
39995
  sendDisabled: !vb,
39992
- showFooterUpload: q,
39996
+ showFooterUpload: V,
39993
39997
  footerFiles: Ue,
39994
39998
  onFooterFilesChange: Et,
39995
39999
  agentOptions: F,
39996
- onAgentSelect: V,
40000
+ onAgentSelect: $,
39997
40001
  hideAgentButton: B === "hideAgent",
39998
40002
  currentAgent: ab,
39999
40003
  onSend: gi,
40000
- padding: $
40004
+ padding: q
40001
40005
  }
40002
40006
  )
40003
40007
  ]
@@ -40342,10 +40346,10 @@ const VI = ({
40342
40346
  const A = z((D, E) => {
40343
40347
  let B = 0;
40344
40348
  g(!0);
40345
- const $ = () => {
40346
- B < D.length ? (u(D.slice(0, B + 1)), B++, I.current = window.setTimeout($, n)) : (g(!1), E?.());
40349
+ const q = () => {
40350
+ B < D.length ? (u(D.slice(0, B + 1)), B++, I.current = window.setTimeout(q, n)) : (g(!1), E?.());
40347
40351
  };
40348
- $();
40352
+ q();
40349
40353
  }, [n]), w = z((D) => {
40350
40354
  let E = T.current.length;
40351
40355
  const B = () => {
@@ -40516,18 +40520,18 @@ const $I = ({
40516
40520
  ...h
40517
40521
  // 其他原生属性
40518
40522
  }) => {
40519
- const [m, b] = Z(""), [g, v] = Z(0), [I, k] = Z(!1), [R, _] = Z(!1), [T, A] = Z(!1), [w, N] = Z(l || ""), P = le(void 0), L = le(void 0), F = le(e), V = le(g), D = le(R), E = le(m), B = le(null);
40523
+ const [m, b] = Z(""), [g, v] = Z(0), [I, k] = Z(!1), [R, _] = Z(!1), [T, A] = Z(!1), [w, N] = Z(l || ""), P = le(void 0), L = le(void 0), F = le(e), $ = le(g), D = le(R), E = le(m), B = le(null);
40520
40524
  Ee(() => {
40521
- F.current = e, V.current = g, D.current = R, E.current = m;
40525
+ F.current = e, $.current = g, D.current = R, E.current = m;
40522
40526
  });
40523
- const $ = z((se, Ne) => {
40527
+ const q = z((se, Ne) => {
40524
40528
  let Re = 0;
40525
40529
  A(!0);
40526
40530
  const he = () => {
40527
40531
  Re < se.length ? (b(se.slice(0, Re + 1)), Re++, L.current = window.setTimeout(he, n)) : (A(!1), Ne?.());
40528
40532
  };
40529
40533
  he();
40530
- }, [n]), q = z((se) => {
40534
+ }, [n]), V = z((se) => {
40531
40535
  let Ne = E.current.length;
40532
40536
  const Re = () => {
40533
40537
  Ne > 0 ? (b(E.current.slice(0, Ne - 1)), Ne--, L.current = window.setTimeout(Re, n / 2)) : se?.();
@@ -40536,19 +40540,19 @@ const $I = ({
40536
40540
  }, [n]), ee = z(() => {
40537
40541
  if (F.current.length === 0 || D.current) return;
40538
40542
  k(!0);
40539
- const se = F.current[V.current];
40540
- E.current ? q(() => {
40541
- $(se, () => {
40543
+ const se = F.current[$.current];
40544
+ E.current ? V(() => {
40545
+ q(se, () => {
40542
40546
  P.current = window.setTimeout(() => {
40543
40547
  v((Ne) => (Ne + 1) % F.current.length), k(!1);
40544
40548
  }, 2e3);
40545
40549
  });
40546
- }) : $(se, () => {
40550
+ }) : q(se, () => {
40547
40551
  P.current = window.setTimeout(() => {
40548
40552
  v((Ne) => (Ne + 1) % F.current.length), k(!1);
40549
40553
  }, 2e3);
40550
40554
  });
40551
- }, [q, $]);
40555
+ }, [V, q]);
40552
40556
  Ee(() => (r && e.length > 0 && !R && ee(), () => {
40553
40557
  P.current && window.clearTimeout(P.current), L.current && window.clearTimeout(L.current);
40554
40558
  }), [g, R, r, e.length, ee]), Ee(() => {
@@ -40810,22 +40814,22 @@ const lb = ({
40810
40814
  g.current && (g.current.play(), I(!0), c?.());
40811
40815
  }, [c]), w = z(() => {
40812
40816
  g.current && (g.current.pause(), I(!1), d?.());
40813
- }, [d]), N = z(($) => {
40814
- $.stopPropagation(), v ? w() : A();
40817
+ }, [d]), N = z((q) => {
40818
+ q.stopPropagation(), v ? w() : A();
40815
40819
  }, [v, A, w]), P = z(() => {
40816
40820
  R(!0), s && !v && A();
40817
40821
  }, [s, v, A]), L = z(() => {
40818
40822
  R(!1), s && v && w();
40819
40823
  }, [s, v, w]), F = z(() => {
40820
40824
  T(!0), o?.();
40821
- }, [o]), V = z(() => {
40825
+ }, [o]), $ = z(() => {
40822
40826
  I(!0), c?.();
40823
40827
  }, [c]), D = z(() => {
40824
40828
  I(!1), d?.();
40825
40829
  }, [d]), E = z(() => {
40826
40830
  I(!1), f?.();
40827
- }, [f]), B = z(($) => {
40828
- u?.($);
40831
+ }, [f]), B = z((q) => {
40832
+ u?.(q);
40829
40833
  }, [u]);
40830
40834
  return /* @__PURE__ */ y(
40831
40835
  Zs,
@@ -40855,7 +40859,7 @@ const lb = ({
40855
40859
  poster: t,
40856
40860
  preload: "metadata",
40857
40861
  onLoadedData: F,
40858
- onPlay: V,
40862
+ onPlay: $,
40859
40863
  onPause: D,
40860
40864
  onEnded: E,
40861
40865
  muted: !0,
@@ -41004,8 +41008,8 @@ const qI = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
41004
41008
  e.forEach((T, A) => {
41005
41009
  const w = T.id || A, N = d.current.get(w);
41006
41010
  if (!N) return;
41007
- const P = Math.min(...R), L = R.indexOf(P), F = L * (k + n), V = R[L];
41008
- N.style.position = "absolute", N.style.left = `${F}px`, N.style.top = `${V}px`, N.style.width = `${k}px`, R[L] += N.offsetHeight + n;
41011
+ const P = Math.min(...R), L = R.indexOf(P), F = L * (k + n), $ = R[L];
41012
+ N.style.position = "absolute", N.style.left = `${F}px`, N.style.top = `${$}px`, N.style.width = `${k}px`, R[L] += N.offsetHeight + n;
41009
41013
  });
41010
41014
  const _ = Math.max(...R);
41011
41015
  v.style.height = `${_}px`;