@blueking/ai-blueking 1.2.3 → 1.2.4-beta.2

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.
Files changed (85) hide show
  1. package/dist/vue2/{arc-CoITCIeg.mjs → arc-BbjP-KpD.mjs} +1 -1
  2. package/dist/vue2/{blockDiagram-38ab4fdb-B79ALQFr.mjs → blockDiagram-38ab4fdb-BNqXW3w7.mjs} +5 -5
  3. package/dist/{vue3/c4Diagram-3d4e48cf-DBY6dYfi.mjs → vue2/c4Diagram-3d4e48cf-qiOfT5h-.mjs} +2 -2
  4. package/dist/{vue3/channel-B_u2Kbah.mjs → vue2/channel-KvtvS4xZ.mjs} +1 -1
  5. package/dist/vue2/{classDiagram-70f12bd4-TUGX41Hr.mjs → classDiagram-70f12bd4-Ci9LEt-e.mjs} +5 -5
  6. package/dist/vue2/{classDiagram-v2-f2320105-DD7zTzsZ.mjs → classDiagram-v2-f2320105-CqZ_yFMp.mjs} +5 -5
  7. package/dist/vue2/{clone-kSlC3ZuF.mjs → clone-Bl0_l-uy.mjs} +1 -1
  8. package/dist/vue2/{createText-2e5e7dd3-Bs4zLwec.mjs → createText-2e5e7dd3-CJ0oTZoL.mjs} +1 -1
  9. package/dist/{vue3/edges-e0da2a9e-cskaPHoA.mjs → vue2/edges-e0da2a9e-TMIwnL_w.mjs} +3 -3
  10. package/dist/{vue3/erDiagram-9861fffd-cZK-bNAM.mjs → vue2/erDiagram-9861fffd-CUqKaKZb.mjs} +4 -4
  11. package/dist/vue2/{flowDb-956e92f1-DqLnUF-k.mjs → flowDb-956e92f1-B5takIrS.mjs} +1 -1
  12. package/dist/{vue3/flowDiagram-66a62f08-DalCgmrg.mjs → vue2/flowDiagram-66a62f08-BtbGNMiV.mjs} +6 -6
  13. package/dist/vue2/{flowDiagram-v2-96b9c2cf-CIEmz0g3.mjs → flowDiagram-v2-96b9c2cf-DPDLUOdj.mjs} +5 -5
  14. package/dist/vue2/{flowchart-elk-definition-4a651766-j2EoWTmc.mjs → flowchart-elk-definition-4a651766-DQ3w6ATQ.mjs} +4 -4
  15. package/dist/{vue3/ganttDiagram-c361ad54-Cs4P9X7B.mjs → vue2/ganttDiagram-c361ad54-DcYTPxzW.mjs} +2 -2
  16. package/dist/vue2/{gitGraphDiagram-72cf32ee-BCTVjY7p.mjs → gitGraphDiagram-72cf32ee-Bi18eBqf.mjs} +1 -1
  17. package/dist/vue2/{graph-Dcxz709E.mjs → graph-D9-3Aixt.mjs} +1 -1
  18. package/dist/{vue3/index-3862675e-C7lJNnnh.mjs → vue2/index-3862675e-7EZxZuav.mjs} +6 -6
  19. package/dist/vue2/index.es.min.js +1 -1
  20. package/dist/vue2/index.iife.min.js +3 -3
  21. package/dist/vue2/index.umd.min.js +3 -3
  22. package/dist/vue2/{infoDiagram-f8f76790-hj8k-SBv.mjs → infoDiagram-f8f76790-DtS9jx2g.mjs} +1 -1
  23. package/dist/vue2/{journeyDiagram-49397b02-C0DCZid3.mjs → journeyDiagram-49397b02-DTtQfO6V.mjs} +3 -3
  24. package/dist/vue2/{layout-DH8CMw1a.mjs → layout-C1ctolBY.mjs} +2 -2
  25. package/dist/vue2/{line-yLO7kdd0.mjs → line-BalR2WKF.mjs} +1 -1
  26. package/dist/vue2/{linear-B17g9H1-.mjs → linear-CE0XD8vE.mjs} +1 -1
  27. package/dist/vue2/{mindmap-definition-fc14e90a-Bz_gLosq.mjs → mindmap-definition-fc14e90a-jOQSGoZX.mjs} +2 -2
  28. package/dist/vue2/{pieDiagram-8a3498a8-Dv-vMRyC.mjs → pieDiagram-8a3498a8-B1V2RtrX.mjs} +2 -2
  29. package/dist/vue2/{quadrantDiagram-120e2f19-fuR7zO_t.mjs → quadrantDiagram-120e2f19-B3WaiiRD.mjs} +2 -2
  30. package/dist/vue2/{requirementDiagram-deff3bca-LC2xsHoX.mjs → requirementDiagram-deff3bca-BURD3DSL.mjs} +4 -4
  31. package/dist/vue2/{sankeyDiagram-04a897e0-BZuuDL9W.mjs → sankeyDiagram-04a897e0-dmECM0pe.mjs} +1 -1
  32. package/dist/vue2/{sequenceDiagram-704730f1-DZ7wY6si.mjs → sequenceDiagram-704730f1-bZRTVN9M.mjs} +2 -2
  33. package/dist/{vue3/stateDiagram-587899a1-JBSELOt8.mjs → vue2/stateDiagram-587899a1-DKVn_6ZA.mjs} +5 -5
  34. package/dist/vue2/{stateDiagram-v2-d93cdb3a-DflkHVal.mjs → stateDiagram-v2-d93cdb3a-YkBXMt-D.mjs} +5 -5
  35. package/dist/vue2/style.css +1 -1
  36. package/dist/{vue3/styles-6aaf32cf-DaAE-dN6.mjs → vue2/styles-6aaf32cf-DCRogc-n.mjs} +1 -1
  37. package/dist/vue2/{styles-9a916d00-DbQ5RQXR.mjs → styles-9a916d00-BitAVXpd.mjs} +1 -1
  38. package/dist/{vue3/styles-c10674c1-C8cDBA3I.mjs → vue2/styles-c10674c1-DECxoTvs.mjs} +4 -4
  39. package/dist/vue2/{svgDrawCommon-08f97a94-Dl3rEnvk.mjs → svgDrawCommon-08f97a94-DNPf_mK8.mjs} +1 -1
  40. package/dist/vue2/{timeline-definition-85554ec2-BX7myD6R.mjs → timeline-definition-85554ec2-B1jShlXM.mjs} +2 -2
  41. package/dist/vue2/{vue2-BDVsNVVl.mjs → vue2-Bo_RgFqf.mjs} +617 -603
  42. package/dist/{vue3/xychartDiagram-e933f94c-BR8JWdpv.mjs → vue2/xychartDiagram-e933f94c-DOfdgZJD.mjs} +4 -4
  43. package/dist/vue3/{arc-JbBswLsk.mjs → arc-BnyRmQmM.mjs} +1 -1
  44. package/dist/vue3/{blockDiagram-38ab4fdb-B11c8tmJ.mjs → blockDiagram-38ab4fdb-CG_wgnbL.mjs} +5 -5
  45. package/dist/{vue2/c4Diagram-3d4e48cf-ZjBKDmcG.mjs → vue3/c4Diagram-3d4e48cf-BYdAU8HJ.mjs} +2 -2
  46. package/dist/{vue2/channel-CHAr-DS3.mjs → vue3/channel-8OxsQkdL.mjs} +1 -1
  47. package/dist/vue3/{classDiagram-70f12bd4-RpyKqv0B.mjs → classDiagram-70f12bd4-DMQVDgIL.mjs} +5 -5
  48. package/dist/vue3/{classDiagram-v2-f2320105-SdFoPeNM.mjs → classDiagram-v2-f2320105--5aQo4eJ.mjs} +5 -5
  49. package/dist/vue3/{clone-DF0Wb5-s.mjs → clone-BahwDtHP.mjs} +1 -1
  50. package/dist/vue3/{createText-2e5e7dd3-CUjkXu6x.mjs → createText-2e5e7dd3-BQyymDt_.mjs} +1 -1
  51. package/dist/{vue2/edges-e0da2a9e-BhabJjR5.mjs → vue3/edges-e0da2a9e-ediFQQXk.mjs} +3 -3
  52. package/dist/{vue2/erDiagram-9861fffd-DDxJjunn.mjs → vue3/erDiagram-9861fffd-BmlT4hhx.mjs} +4 -4
  53. package/dist/vue3/{flowDb-956e92f1-C-nhzbo8.mjs → flowDb-956e92f1-D_3qNkr-.mjs} +1 -1
  54. package/dist/{vue2/flowDiagram-66a62f08-YLZEfNd-.mjs → vue3/flowDiagram-66a62f08-DyFcnq2X.mjs} +6 -6
  55. package/dist/vue3/{flowDiagram-v2-96b9c2cf-CsX812_d.mjs → flowDiagram-v2-96b9c2cf-ChJHWwBC.mjs} +5 -5
  56. package/dist/vue3/{flowchart-elk-definition-4a651766-CC21tNNF.mjs → flowchart-elk-definition-4a651766-BnM0pBy5.mjs} +4 -4
  57. package/dist/{vue2/ganttDiagram-c361ad54-CuLDPZ5c.mjs → vue3/ganttDiagram-c361ad54-C5u4iyvj.mjs} +2 -2
  58. package/dist/vue3/{gitGraphDiagram-72cf32ee-er7l1Vwu.mjs → gitGraphDiagram-72cf32ee-CW2uFSsY.mjs} +1 -1
  59. package/dist/vue3/{graph-BkdYTwQY.mjs → graph-C2CIl_GE.mjs} +1 -1
  60. package/dist/{vue2/index-3862675e-D0ly-ftk.mjs → vue3/index-3862675e-DJ8cBuN-.mjs} +6 -6
  61. package/dist/vue3/index.es.min.js +1 -1
  62. package/dist/vue3/index.iife.min.js +3 -3
  63. package/dist/vue3/index.umd.min.js +3 -3
  64. package/dist/vue3/{infoDiagram-f8f76790-CfS0AerJ.mjs → infoDiagram-f8f76790-BGCDrqeA.mjs} +1 -1
  65. package/dist/vue3/{journeyDiagram-49397b02-C7AiQpxY.mjs → journeyDiagram-49397b02-Tl8gHApt.mjs} +3 -3
  66. package/dist/vue3/{layout-DuPGw-d8.mjs → layout-DCU3XBFk.mjs} +2 -2
  67. package/dist/vue3/{line-BeJeAfJl.mjs → line-BPvQZJk_.mjs} +1 -1
  68. package/dist/vue3/{linear-BOacLYWl.mjs → linear-CvyK5FxU.mjs} +1 -1
  69. package/dist/vue3/{mindmap-definition-fc14e90a-Dhd4NZUr.mjs → mindmap-definition-fc14e90a-B1XNoCc4.mjs} +2 -2
  70. package/dist/vue3/{pieDiagram-8a3498a8-zT5CvSpw.mjs → pieDiagram-8a3498a8-CmeE8uvK.mjs} +2 -2
  71. package/dist/vue3/{quadrantDiagram-120e2f19-DPJcxru3.mjs → quadrantDiagram-120e2f19-CJzo-Yw6.mjs} +2 -2
  72. package/dist/vue3/{requirementDiagram-deff3bca-CP6G_Zoz.mjs → requirementDiagram-deff3bca-B_5dzDDR.mjs} +4 -4
  73. package/dist/vue3/{sankeyDiagram-04a897e0-DcJ7vqUs.mjs → sankeyDiagram-04a897e0-DdfwAWbC.mjs} +1 -1
  74. package/dist/vue3/{sequenceDiagram-704730f1-Czk1oC0y.mjs → sequenceDiagram-704730f1-C_RcLhgs.mjs} +2 -2
  75. package/dist/{vue2/stateDiagram-587899a1-5fbTvUa3.mjs → vue3/stateDiagram-587899a1-y4PvcJUy.mjs} +5 -5
  76. package/dist/vue3/{stateDiagram-v2-d93cdb3a-DcDRwvpk.mjs → stateDiagram-v2-d93cdb3a-BlIvnHWv.mjs} +5 -5
  77. package/dist/vue3/style.css +1 -1
  78. package/dist/{vue2/styles-6aaf32cf-Dzah28hh.mjs → vue3/styles-6aaf32cf-C549doGw.mjs} +1 -1
  79. package/dist/vue3/{styles-9a916d00-DypTgbKt.mjs → styles-9a916d00-BMRdNh8L.mjs} +1 -1
  80. package/dist/{vue2/styles-c10674c1-B0tAwQC_.mjs → vue3/styles-c10674c1-DxCgAgGc.mjs} +4 -4
  81. package/dist/vue3/{svgDrawCommon-08f97a94-BLrA7RFB.mjs → svgDrawCommon-08f97a94-1IsizEWZ.mjs} +1 -1
  82. package/dist/vue3/{timeline-definition-85554ec2-YAY6t41S.mjs → timeline-definition-85554ec2-B7WhqOGh.mjs} +2 -2
  83. package/dist/vue3/{vue3-DlNXJSWb.mjs → vue3-DOsius-r.mjs} +783 -769
  84. package/dist/{vue2/xychartDiagram-e933f94c-BjK8nBCp.mjs → vue3/xychartDiagram-e933f94c-DAhUsssY.mjs} +4 -4
  85. package/package.json +1 -1
@@ -261,11 +261,11 @@ function hy(e) {
261
261
  var x = Zc(n), T = "clientHeight", M = "clientWidth";
262
262
  if (x === Hn(n) && (x = go(n), Ni(x).position !== "static" && s === "absolute" && (T = "scrollHeight", M = "scrollWidth")), x = x, i === zn || (i === Bn || i === dr) && o === Sl) {
263
263
  y = ur;
264
- var O = d && x === w && w.visualViewport ? w.visualViewport.height : (
264
+ var j = d && x === w && w.visualViewport ? w.visualViewport.height : (
265
265
  // $FlowFixMe[prop-missing]
266
266
  x[T]
267
267
  );
268
- m -= O - r.height, m *= l ? 1 : -1;
268
+ m -= j - r.height, m *= l ? 1 : -1;
269
269
  }
270
270
  if (i === Bn || (i === zn || i === ur) && o === Sl) {
271
271
  C = dr;
@@ -276,7 +276,7 @@ function hy(e) {
276
276
  f -= F - r.width, f *= l ? 1 : -1;
277
277
  }
278
278
  }
279
- var Z = Object.assign({
279
+ var U = Object.assign({
280
280
  position: s
281
281
  }, c && cL), V = u === !0 ? uL({
282
282
  x: f,
@@ -287,9 +287,9 @@ function hy(e) {
287
287
  };
288
288
  if (f = V.x, m = V.y, l) {
289
289
  var H;
290
- return Object.assign({}, Z, (H = {}, H[y] = b ? "0" : "", H[C] = v ? "0" : "", H.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + m + "px)" : "translate3d(" + f + "px, " + m + "px, 0)", H));
290
+ return Object.assign({}, U, (H = {}, H[y] = b ? "0" : "", H[C] = v ? "0" : "", H.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + m + "px)" : "translate3d(" + f + "px, " + m + "px, 0)", H));
291
291
  }
292
- return Object.assign({}, Z, (t = {}, t[y] = b ? m + "px" : "", t[C] = v ? f + "px" : "", t.transform = "", t));
292
+ return Object.assign({}, U, (t = {}, t[y] = b ? m + "px" : "", t[C] = v ? f + "px" : "", t.transform = "", t));
293
293
  }
294
294
  function dL(e) {
295
295
  var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, o = n.adaptive, a = o === void 0 ? !0 : o, s = n.roundOffsets, l = s === void 0 ? !0 : s, c = {
@@ -493,14 +493,14 @@ function Ll(e, t) {
493
493
  reference: x,
494
494
  element: C,
495
495
  placement: i
496
- }), M = lm(Object.assign({}, C, T)), O = h === $s ? M : x, F = {
497
- top: w.top - O.top + v.top,
498
- bottom: O.bottom - w.bottom + v.bottom,
499
- left: w.left - O.left + v.left,
500
- right: O.right - w.right + v.right
501
- }, Z = e.modifiersData.offset;
502
- if (h === $s && Z) {
503
- var V = Z[i];
496
+ }), M = lm(Object.assign({}, C, T)), j = h === $s ? M : x, F = {
497
+ top: w.top - j.top + v.top,
498
+ bottom: j.bottom - w.bottom + v.bottom,
499
+ left: w.left - j.left + v.left,
500
+ right: j.right - w.right + v.right
501
+ }, U = e.modifiersData.offset;
502
+ if (h === $s && U) {
503
+ var V = U[i];
504
504
  Object.keys(F).forEach(function(H) {
505
505
  var E = [dr, ur].indexOf(H) >= 0 ? 1 : -1, _ = [zn, ur].indexOf(H) >= 0 ? "y" : "x";
506
506
  F[H] += V[_] * E;
@@ -537,8 +537,8 @@ function TL(e) {
537
537
  function ML(e) {
538
538
  var t = e.state, n = e.options, r = e.name;
539
539
  if (!t.modifiersData[r]._skip) {
540
- for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, h = n.altBoundary, f = n.flipVariations, p = f === void 0 ? !0 : f, m = n.allowedAutoPlacements, g = t.options.placement, v = Wr(g), b = v === g, C = l || (b || !p ? [qu(g)] : TL(g)), y = [g].concat(C).reduce(function(U, $) {
541
- return U.concat(Wr($) === P0 ? xL(t, {
540
+ for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, h = n.altBoundary, f = n.flipVariations, p = f === void 0 ? !0 : f, m = n.allowedAutoPlacements, g = t.options.placement, v = Wr(g), b = v === g, C = l || (b || !p ? [qu(g)] : TL(g)), y = [g].concat(C).reduce(function(Y, $) {
541
+ return Y.concat(Wr($) === P0 ? xL(t, {
542
542
  placement: $,
543
543
  boundary: u,
544
544
  rootBoundary: d,
@@ -546,9 +546,9 @@ function ML(e) {
546
546
  flipVariations: p,
547
547
  allowedAutoPlacements: m
548
548
  }) : $);
549
- }, []), w = t.rects.reference, x = t.rects.popper, T = /* @__PURE__ */ new Map(), M = !0, O = y[0], F = 0; F < y.length; F++) {
550
- var Z = y[F], V = Wr(Z), H = is(Z) === ts, E = [zn, ur].indexOf(V) >= 0, _ = E ? "width" : "height", B = Ll(t, {
551
- placement: Z,
549
+ }, []), w = t.rects.reference, x = t.rects.popper, T = /* @__PURE__ */ new Map(), M = !0, j = y[0], F = 0; F < y.length; F++) {
550
+ var U = y[F], V = Wr(U), H = is(U) === ts, E = [zn, ur].indexOf(V) >= 0, _ = E ? "width" : "height", B = Ll(t, {
551
+ placement: U,
552
552
  boundary: u,
553
553
  rootBoundary: d,
554
554
  altBoundary: h,
@@ -556,30 +556,30 @@ function ML(e) {
556
556
  }), X = E ? H ? dr : Bn : H ? ur : zn;
557
557
  w[_] > x[_] && (X = qu(X));
558
558
  var ae = qu(X), ue = [];
559
- if (o && ue.push(B[V] <= 0), s && ue.push(B[X] <= 0, B[ae] <= 0), ue.every(function(U) {
560
- return U;
559
+ if (o && ue.push(B[V] <= 0), s && ue.push(B[X] <= 0, B[ae] <= 0), ue.every(function(Y) {
560
+ return Y;
561
561
  })) {
562
- O = Z, M = !1;
562
+ j = U, M = !1;
563
563
  break;
564
564
  }
565
- T.set(Z, ue);
565
+ T.set(U, ue);
566
566
  }
567
567
  if (M)
568
- for (var be = p ? 3 : 1, j = function($) {
568
+ for (var be = p ? 3 : 1, O = function($) {
569
569
  var ee = y.find(function(re) {
570
- var Y = T.get(re);
571
- if (Y)
572
- return Y.slice(0, $).every(function(D) {
570
+ var Z = T.get(re);
571
+ if (Z)
572
+ return Z.slice(0, $).every(function(D) {
573
573
  return D;
574
574
  });
575
575
  });
576
576
  if (ee)
577
- return O = ee, "break";
577
+ return j = ee, "break";
578
578
  }, S = be; S > 0; S--) {
579
- var L = j(S);
579
+ var L = O(S);
580
580
  if (L === "break") break;
581
581
  }
582
- t.placement !== O && (t.modifiersData[r]._skip = !0, t.placement = O, t.reset = !0);
582
+ t.placement !== j && (t.modifiersData[r]._skip = !0, t.placement = j, t.reset = !0);
583
583
  }
584
584
  }
585
585
  const IL = {
@@ -680,28 +680,28 @@ function AL(e) {
680
680
  rootBoundary: c,
681
681
  padding: d,
682
682
  altBoundary: u
683
- }), v = Wr(t.placement), b = is(t.placement), C = !b, y = D0(v), w = PL(y), x = t.modifiersData.popperOffsets, T = t.rects.reference, M = t.rects.popper, O = typeof m == "function" ? m(Object.assign({}, t.rects, {
683
+ }), v = Wr(t.placement), b = is(t.placement), C = !b, y = D0(v), w = PL(y), x = t.modifiersData.popperOffsets, T = t.rects.reference, M = t.rects.popper, j = typeof m == "function" ? m(Object.assign({}, t.rects, {
684
684
  placement: t.placement
685
- })) : m, F = typeof O == "number" ? {
686
- mainAxis: O,
687
- altAxis: O
685
+ })) : m, F = typeof j == "number" ? {
686
+ mainAxis: j,
687
+ altAxis: j
688
688
  } : Object.assign({
689
689
  mainAxis: 0,
690
690
  altAxis: 0
691
- }, O), Z = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, V = {
691
+ }, j), U = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, V = {
692
692
  x: 0,
693
693
  y: 0
694
694
  };
695
695
  if (x) {
696
696
  if (o) {
697
- var H, E = y === "y" ? zn : Bn, _ = y === "y" ? ur : dr, B = y === "y" ? "height" : "width", X = x[y], ae = X + g[E], ue = X - g[_], be = f ? -M[B] / 2 : 0, j = b === ts ? T[B] : M[B], S = b === ts ? -M[B] : -T[B], L = t.elements.arrow, U = f && L ? E0(L) : {
697
+ var H, E = y === "y" ? zn : Bn, _ = y === "y" ? ur : dr, B = y === "y" ? "height" : "width", X = x[y], ae = X + g[E], ue = X - g[_], be = f ? -M[B] / 2 : 0, O = b === ts ? T[B] : M[B], S = b === ts ? -M[B] : -T[B], L = t.elements.arrow, Y = f && L ? E0(L) : {
698
698
  width: 0,
699
699
  height: 0
700
- }, $ = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : fw(), ee = $[E], re = $[_], Y = ul(0, T[B], U[B]), D = C ? T[B] / 2 - be - Y - ee - F.mainAxis : j - Y - ee - F.mainAxis, A = C ? -T[B] / 2 + be + Y + re + F.mainAxis : S + Y + re + F.mainAxis, J = t.elements.arrow && Zc(t.elements.arrow), Q = J ? y === "y" ? J.clientTop || 0 : J.clientLeft || 0 : 0, te = (H = Z == null ? void 0 : Z[y]) != null ? H : 0, oe = X + D - te - Q, Me = X + A - te, Ie = ul(f ? wd(ae, oe) : ae, X, f ? Ro(ue, Me) : ue);
700
+ }, $ = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : fw(), ee = $[E], re = $[_], Z = ul(0, T[B], Y[B]), D = C ? T[B] / 2 - be - Z - ee - F.mainAxis : O - Z - ee - F.mainAxis, A = C ? -T[B] / 2 + be + Z + re + F.mainAxis : S + Z + re + F.mainAxis, J = t.elements.arrow && Zc(t.elements.arrow), Q = J ? y === "y" ? J.clientTop || 0 : J.clientLeft || 0 : 0, te = (H = U == null ? void 0 : U[y]) != null ? H : 0, oe = X + D - te - Q, Me = X + A - te, Ie = ul(f ? wd(ae, oe) : ae, X, f ? Ro(ue, Me) : ue);
701
701
  x[y] = Ie, V[y] = Ie - X;
702
702
  }
703
703
  if (s) {
704
- var Ae, Le = y === "x" ? zn : Bn, xe = y === "x" ? ur : dr, Ee = x[w], N = w === "y" ? "height" : "width", ne = Ee + g[Le], R = Ee - g[xe], W = [zn, Bn].indexOf(v) !== -1, G = (Ae = Z == null ? void 0 : Z[w]) != null ? Ae : 0, _e = W ? ne : Ee - T[N] - M[N] - G + F.altAxis, Fe = W ? Ee + T[N] + M[N] - G - F.altAxis : R, qe = f && W ? iL(_e, Ee, Fe) : ul(f ? _e : ne, Ee, f ? Fe : R);
704
+ var Ae, Le = y === "x" ? zn : Bn, xe = y === "x" ? ur : dr, Ee = x[w], N = w === "y" ? "height" : "width", ne = Ee + g[Le], R = Ee - g[xe], W = [zn, Bn].indexOf(v) !== -1, G = (Ae = U == null ? void 0 : U[w]) != null ? Ae : 0, _e = W ? ne : Ee - T[N] - M[N] - G + F.altAxis, Fe = W ? Ee + T[N] + M[N] - G - F.altAxis : R, qe = f && W ? iL(_e, Ee, Fe) : ul(f ? _e : ne, Ee, f ? Fe : R);
705
705
  x[w] = qe, V[w] = qe - Ee;
706
706
  }
707
707
  t.modifiersData[r] = V;
@@ -854,11 +854,11 @@ function VL(e) {
854
854
  u.reset = !1, y = -1;
855
855
  continue;
856
856
  }
857
- var w = u.orderedModifiers[y], x = w.fn, T = w.options, M = T === void 0 ? {} : T, O = w.name;
857
+ var w = u.orderedModifiers[y], x = w.fn, T = w.options, M = T === void 0 ? {} : T, j = w.name;
858
858
  typeof x == "function" && (u = x({
859
859
  state: u,
860
860
  options: M,
861
- name: O,
861
+ name: j,
862
862
  instance: f
863
863
  }) || u);
864
864
  }
@@ -983,8 +983,8 @@ function Bk(e, t, n) {
983
983
  return c = x, s = setTimeout(v, t), u ? f(x) : a;
984
984
  }
985
985
  function m(x) {
986
- var T = x - l, M = x - c, O = t - T;
987
- return d ? zk(O, o - M) : O;
986
+ var T = x - l, M = x - c, j = t - T;
987
+ return d ? zk(j, o - M) : j;
988
988
  }
989
989
  function g(x) {
990
990
  var T = x - l, M = x - c;
@@ -8368,7 +8368,7 @@ const eJ = (e) => ({
8368
8368
  }, f = Qg(i), p = Jg(f), m = await a.getDimensions(c), g = f === "y", v = g ? "top" : "left", b = g ? "bottom" : "right", C = g ? "clientHeight" : "clientWidth", y = o.reference[p] + o.reference[f] - h[f] - o.floating[p], w = h[f] - o.reference[f], x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
8369
8369
  let T = x ? x[C] : 0;
8370
8370
  (!T || !await (a.isElement == null ? void 0 : a.isElement(x))) && (T = s.floating[C] || o.floating[p]);
8371
- const M = y / 2 - w / 2, O = T / 2 - m[p] / 2 - 1, F = Ai(d[v], O), Z = Ai(d[b], O), V = F, H = T - m[p] - Z, E = T / 2 - m[p] / 2 + M, _ = wm(V, E, H), B = !l.arrow && Zr(i) != null && E !== _ && o.reference[p] / 2 - (E < V ? F : Z) - m[p] / 2 < 0, X = B ? E < V ? E - V : E - H : 0;
8371
+ const M = y / 2 - w / 2, j = T / 2 - m[p] / 2 - 1, F = Ai(d[v], j), U = Ai(d[b], j), V = F, H = T - m[p] - U, E = T / 2 - m[p] / 2 + M, _ = wm(V, E, H), B = !l.arrow && Zr(i) != null && E !== _ && o.reference[p] / 2 - (E < V ? F : U) - m[p] / 2 < 0, X = B ? E < V ? E - V : E - H : 0;
8372
8372
  return {
8373
8373
  [f]: h[f] + X,
8374
8374
  data: {
@@ -8428,27 +8428,27 @@ const nJ = function(e) {
8428
8428
  }
8429
8429
  };
8430
8430
  const T = w.map((F) => {
8431
- const Z = Zr(F.placement);
8432
- return [F.placement, Z && u ? (
8431
+ const U = Zr(F.placement);
8432
+ return [F.placement, U && u ? (
8433
8433
  // Check along the mainAxis and main crossAxis side.
8434
8434
  F.overflows.slice(0, 2).reduce((V, H) => V + H, 0)
8435
8435
  ) : (
8436
8436
  // Check only the mainAxis.
8437
8437
  F.overflows[0]
8438
8438
  ), F.overflows];
8439
- }).sort((F, Z) => F[1] - Z[1]), O = ((i = T.filter((F) => F[2].slice(
8439
+ }).sort((F, U) => F[1] - U[1]), j = ((i = T.filter((F) => F[2].slice(
8440
8440
  0,
8441
8441
  // Aligned placements should not check their opposite crossAxis
8442
8442
  // side.
8443
8443
  Zr(F[0]) ? 2 : 3
8444
- ).every((Z) => Z <= 0))[0]) == null ? void 0 : i[0]) || T[0][0];
8445
- return O !== s ? {
8444
+ ).every((U) => U <= 0))[0]) == null ? void 0 : i[0]) || T[0][0];
8445
+ return j !== s ? {
8446
8446
  data: {
8447
8447
  index: v + 1,
8448
8448
  overflows: w
8449
8449
  },
8450
8450
  reset: {
8451
- placement: O
8451
+ placement: j
8452
8452
  }
8453
8453
  } : {};
8454
8454
  }
@@ -8489,8 +8489,8 @@ const nJ = function(e) {
8489
8489
  placement: i,
8490
8490
  overflows: T
8491
8491
  }], !T.every((V) => V <= 0)) {
8492
- var O, F;
8493
- const V = (((O = o.flip) == null ? void 0 : O.index) || 0) + 1, H = w[V];
8492
+ var j, F;
8493
+ const V = (((j = o.flip) == null ? void 0 : j.index) || 0) + 1, H = w[V];
8494
8494
  if (H)
8495
8495
  return {
8496
8496
  data: {
@@ -8505,8 +8505,8 @@ const nJ = function(e) {
8505
8505
  if (!E)
8506
8506
  switch (f) {
8507
8507
  case "bestFit": {
8508
- var Z;
8509
- const _ = (Z = M.map((B) => [B.placement, B.overflows.filter((X) => X > 0).reduce((X, ae) => X + ae, 0)]).sort((B, X) => B[1] - X[1])[0]) == null ? void 0 : Z[0];
8508
+ var U;
8509
+ const _ = (U = M.map((B) => [B.placement, B.overflows.filter((X) => X > 0).reduce((X, ae) => X + ae, 0)]).sort((B, X) => B[1] - X[1])[0]) == null ? void 0 : U[0];
8510
8510
  _ && (E = _);
8511
8511
  break;
8512
8512
  }
@@ -8617,7 +8617,7 @@ const aJ = function(e) {
8617
8617
  return d.find((g) => l > g.left - f.left && l < g.right + f.right && c > g.top - f.top && c < g.bottom + f.bottom) || h;
8618
8618
  if (d.length >= 2) {
8619
8619
  if (tu(n) === "y") {
8620
- const F = d[0], Z = d[d.length - 1], V = Or(n) === "top", H = F.top, E = Z.bottom, _ = V ? F.left : Z.left, B = V ? F.right : Z.right, X = B - _, ae = E - H;
8620
+ const F = d[0], U = d[d.length - 1], V = Or(n) === "top", H = F.top, E = U.bottom, _ = V ? F.left : U.left, B = V ? F.right : U.right, X = B - _, ae = E - H;
8621
8621
  return {
8622
8622
  top: H,
8623
8623
  bottom: E,
@@ -8629,14 +8629,14 @@ const aJ = function(e) {
8629
8629
  y: H
8630
8630
  };
8631
8631
  }
8632
- const g = Or(n) === "left", v = Yr(...d.map((F) => F.right)), b = Ai(...d.map((F) => F.left)), C = d.filter((F) => g ? F.left === b : F.right === v), y = C[0].top, w = C[C.length - 1].bottom, x = b, T = v, M = T - x, O = w - y;
8632
+ const g = Or(n) === "left", v = Yr(...d.map((F) => F.right)), b = Ai(...d.map((F) => F.left)), C = d.filter((F) => g ? F.left === b : F.right === v), y = C[0].top, w = C[C.length - 1].bottom, x = b, T = v, M = T - x, j = w - y;
8633
8633
  return {
8634
8634
  top: y,
8635
8635
  bottom: w,
8636
8636
  left: x,
8637
8637
  right: T,
8638
8638
  width: M,
8639
- height: O,
8639
+ height: j,
8640
8640
  x,
8641
8641
  y
8642
8642
  };
@@ -9290,7 +9290,7 @@ const WJ = function(e, t, n) {
9290
9290
  }, u = function(D) {
9291
9291
  return c() ? document.fullscreenElement.shadowRoot ? document.fullscreenElement.shadowRoot.querySelector(D) : document.fullscreenElement.querySelector(D) : document.body;
9292
9292
  }, d = ["dark", "light"], h = (0, De.computed)(function() {
9293
- var Y, D, A = (Y = (D = e.theme) === null || D === void 0 ? void 0 : D.split(/\s+/)) !== null && Y !== void 0 ? Y : [];
9293
+ var Z, D, A = (Z = (D = e.theme) === null || D === void 0 ? void 0 : D.split(/\s+/)) !== null && Z !== void 0 ? Z : [];
9294
9294
  A.sort(function(te, oe) {
9295
9295
  return Number(d.includes(oe)) - Number(d.includes(te));
9296
9296
  });
@@ -9348,24 +9348,24 @@ const WJ = function(e, t, n) {
9348
9348
  return A.arrow && Q.push(NJ({
9349
9349
  element: D
9350
9350
  })), p() && Q.push(LJ()), Q.unshift(PJ()), Q.push(jJ()), f() && te.middleware.push(OJ()), te;
9351
- }, C = function Y(D) {
9351
+ }, C = function Z(D) {
9352
9352
  if (D instanceof HTMLElement)
9353
9353
  return D;
9354
9354
  if (D instanceof Text)
9355
- return Y(D.nextElementSibling);
9355
+ return Z(D.nextElementSibling);
9356
9356
  if (typeof (D == null ? void 0 : D.getBoundingClientRect) == "function")
9357
9357
  return D;
9358
9358
  if (typeof D == "string") {
9359
9359
  var A = document.querySelector(D);
9360
9360
  return (0, DJ.default)(A) ? A : null;
9361
9361
  }
9362
- return D instanceof PointerEvent ? Y(D.target) : null;
9363
- }, y = h.value.customThemes.join(" "), w = h.value.customThemes.reduce(function(Y, D) {
9364
- return HJ(Vr({}, "data-".concat(D, "-theme"), !0), Y);
9362
+ return D instanceof PointerEvent ? Z(D.target) : null;
9363
+ }, y = h.value.customThemes.join(" "), w = h.value.customThemes.reduce(function(Z, D) {
9364
+ return HJ(Vr({}, "data-".concat(D, "-theme"), !0), Z);
9365
9365
  }, {}), x = "".concat(y), T = null, M = function(D) {
9366
9366
  var A = window.devicePixelRatio || 1;
9367
9367
  return Math.round(D * A) / A || 0;
9368
- }, O = function(D, A, J, Q) {
9368
+ }, j = function(D, A, J, Q) {
9369
9369
  var te;
9370
9370
  e.disableTransform ? Object.assign(D.style, {
9371
9371
  left: "".concat(M(A), "px"),
@@ -9401,7 +9401,7 @@ const WJ = function(e, t, n) {
9401
9401
  top: Me !== null ? "".concat(Me, "px") : ""
9402
9402
  }, Ae, "-4px"));
9403
9403
  }
9404
- }, Z = function() {
9404
+ }, U = function() {
9405
9405
  var D = m(), A = D.elReference, J = D.elContent;
9406
9406
  T = SJ(A, J, function() {
9407
9407
  s.value && V(null, e);
@@ -9416,7 +9416,7 @@ const WJ = function(e, t, n) {
9416
9416
  oe.setAttribute(_e, w[_e]);
9417
9417
  });
9418
9418
  var W = N.split("-")[0], G = W;
9419
- ["left", "right", "top", "bottom"].includes(W) || (G = "top"), O(oe, xe, Ee, ne), F(Me, G, ne), typeof J == "function" && J();
9419
+ ["left", "right", "top", "bottom"].includes(W) || (G = "top"), j(oe, xe, Ee, ne), F(Me, G, ne), typeof J == "function" && J();
9420
9420
  });
9421
9421
  }
9422
9422
  }, H = void 0, E = void 0, _ = function() {
@@ -9443,7 +9443,7 @@ const WJ = function(e, t, n) {
9443
9443
  });
9444
9444
  }, be = function() {
9445
9445
  s.value ? X() : B();
9446
- }, j = function(D) {
9446
+ }, O = function(D) {
9447
9447
  if (e.trigger === "hover") {
9448
9448
  var A = _()[1];
9449
9449
  H && (clearTimeout(H), setTimeout(function() {
@@ -9451,20 +9451,20 @@ const WJ = function(e, t, n) {
9451
9451
  }, A)), L(D);
9452
9452
  }
9453
9453
  }, S = function(D) {
9454
- E && !H && X(), U(D);
9454
+ E && !H && X(), Y(D);
9455
9455
  }, L = function(D) {
9456
9456
  t.emit(sr.CONTENT_MOUSEENTER, D);
9457
- }, U = function(D) {
9457
+ }, Y = function(D) {
9458
9458
  t.emit(sr.CONTENT_MOUSELEAVE, D);
9459
9459
  }, $ = function() {
9460
9460
  var D, A = {
9461
9461
  hover: [{
9462
- content: [["mouseenter", j], ["mouseleave", S]],
9462
+ content: [["mouseenter", O], ["mouseleave", S]],
9463
9463
  reference: [["mouseenter", B], ["mouseleave", X], ["focus", B], ["blur", X]]
9464
9464
  }],
9465
9465
  click: [[["click", B]]],
9466
9466
  manual: [{
9467
- content: [["mouseenter", L], ["mouseleave", U]],
9467
+ content: [["mouseenter", L], ["mouseleave", Y]],
9468
9468
  reference: [[]]
9469
9469
  }]
9470
9470
  };
@@ -9474,10 +9474,10 @@ const WJ = function(e, t, n) {
9474
9474
  };
9475
9475
  (0, De.watch)(function() {
9476
9476
  return e.isShow;
9477
- }, function(Y) {
9478
- s.value = Y;
9479
- }), (0, De.watch)(s, function(Y) {
9480
- Y ? ae() : ue();
9477
+ }, function(Z) {
9478
+ s.value = Z;
9479
+ }), (0, De.watch)(s, function(Z) {
9480
+ Z ? ae() : ue();
9481
9481
  });
9482
9482
  var re = function() {
9483
9483
  H && (clearTimeout(H), H = void 0);
@@ -9491,7 +9491,7 @@ const WJ = function(e, t, n) {
9491
9491
  resolvePopElements: m,
9492
9492
  isElementFullScreen: c,
9493
9493
  resolveTargetElement: C,
9494
- createPopInstance: Z,
9494
+ createPopInstance: U,
9495
9495
  updateFullscreenTarget: ee,
9496
9496
  getFullscreenRoot: u,
9497
9497
  stopHide: re,
@@ -9546,11 +9546,11 @@ const GJ = function(e) {
9546
9546
  refContent: i,
9547
9547
  refArrow: o,
9548
9548
  refRoot: a
9549
- }), f = h.localIsShow, p = h.showPopover, m = h.hidePopover, g = h.updatePopover, v = h.cleanup, b = h.resolveTriggerEvents, C = h.resolvePopElements, y = h.isElementFullScreen, w = h.updateFullscreenTarget, x = h.createPopInstance, T = h.getFullscreenRoot, M = h.stopHide, O = function() {
9549
+ }), f = h.localIsShow, p = h.showPopover, m = h.hidePopover, g = h.updatePopover, v = h.cleanup, b = h.resolveTriggerEvents, C = h.resolvePopElements, y = h.isElementFullScreen, w = h.updateFullscreenTarget, x = h.createPopInstance, T = h.getFullscreenRoot, M = h.stopHide, j = function() {
9550
9550
  v == null || v(), x();
9551
9551
  }, F = function() {
9552
9552
  p();
9553
- }, Z = function() {
9553
+ }, U = function() {
9554
9554
  m();
9555
9555
  }, V = function() {
9556
9556
  x(), e.always ? p() : H();
@@ -9605,35 +9605,35 @@ const GJ = function(e) {
9605
9605
  }, ae = GJ(e, "#"), ue = ae.getPrefixId, be = function() {
9606
9606
  var A;
9607
9607
  d == null || (A = d.value) === null || A === void 0 || A.setAttribute("data-fllsrn-id", u);
9608
- }, j = function() {
9608
+ }, O = function() {
9609
9609
  var A, J, Q = "[data-fllsrn-id=".concat(u, "]");
9610
9610
  ((A = d == null || (J = d.value) === null || J === void 0 ? void 0 : J.querySelectorAll(Q)) !== null && A !== void 0 ? A : []).forEach(function(te) {
9611
9611
  te == null || te.removeAttribute("data-fllsrn-id");
9612
9612
  });
9613
9613
  }, S = (0, De.ref)(), L = function() {
9614
9614
  _();
9615
- }, U = function(A) {
9615
+ }, Y = function(A) {
9616
9616
  d.value = A, w(A), c.value = y(), be();
9617
9617
  }, $ = function(A) {
9618
- document.fullscreenElement || j(), U(A.target), X(), g(null, e);
9618
+ document.fullscreenElement || O(), Y(A.target), X(), g(null, e);
9619
9619
  }, ee = function() {
9620
9620
  if (!e.disabled) {
9621
9621
  if (V(), y()) {
9622
9622
  var A = "[data-fllsrn-id=".concat(u, "]"), J = T(A);
9623
- U(J);
9623
+ Y(J);
9624
9624
  }
9625
9625
  X(), document.body.addEventListener("fullscreenchange", $);
9626
9626
  }
9627
9627
  }, re = function() {
9628
9628
  L(), document.body.removeEventListener("fullscreenchange", $);
9629
- }, Y = function(A) {
9629
+ }, Z = function(A) {
9630
9630
  var J = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, Q = function() {
9631
9631
  t.emit(sr.CLICK_OUTSIDE, {
9632
9632
  isShow: f.value,
9633
9633
  event: A
9634
9634
  });
9635
9635
  var oe = e.disableOutsideClick || e.always || e.disabled || e.trigger === "manual";
9636
- !e.forceClickoutside && oe || f.value && Z();
9636
+ !e.forceClickoutside && oe || f.value && U();
9637
9637
  };
9638
9638
  if (J)
9639
9639
  setTimeout(function() {
@@ -9649,16 +9649,16 @@ const GJ = function(e) {
9649
9649
  return {
9650
9650
  onMountedFn: ee,
9651
9651
  onUnmountedFn: re,
9652
- handleClickOutside: Y,
9652
+ handleClickOutside: Z,
9653
9653
  beforeInstanceUnmount: L,
9654
9654
  updateBoundary: X,
9655
9655
  initPopInstance: V,
9656
9656
  updatePopover: g,
9657
- resetPopover: O,
9657
+ resetPopover: j,
9658
9658
  showPopover: p,
9659
9659
  hidePopover: m,
9660
9660
  showFn: F,
9661
- hideFn: Z,
9661
+ hideFn: U,
9662
9662
  stopHide: M,
9663
9663
  isFullscreen: c,
9664
9664
  boundary: S,
@@ -9689,7 +9689,7 @@ const qx = (0, De.defineComponent)({
9689
9689
  refContent: a,
9690
9690
  refArrow: s,
9691
9691
  refRoot: l
9692
- }), d = u.onMountedFn, h = u.onUnmountedFn, f = u.handleClickOutside, p = u.beforeInstanceUnmount, m = u.updateBoundary, g = u.initPopInstance, v = u.showFn, b = u.hideFn, C = u.showPopover, y = u.hidePopover, w = u.updatePopover, x = u.resetPopover, T = u.stopHide, M = u.localIsShow, O = u.boundary, F = u.uniqKey;
9692
+ }), d = u.onMountedFn, h = u.onUnmountedFn, f = u.handleClickOutside, p = u.beforeInstanceUnmount, m = u.updateBoundary, g = u.initPopInstance, v = u.showFn, b = u.hideFn, C = u.showPopover, y = u.hidePopover, w = u.updatePopover, x = u.resetPopover, T = u.stopHide, M = u.localIsShow, j = u.boundary, F = u.uniqKey;
9693
9693
  !t.always && !t.disabled && (0, De.watch)(function() {
9694
9694
  return t.isShow;
9695
9695
  }, function() {
@@ -9701,10 +9701,10 @@ const qx = (0, De.defineComponent)({
9701
9701
  }, function(ue) {
9702
9702
  ue[0] ? p() : g();
9703
9703
  }), m(), (0, De.onMounted)(d), (0, De.onBeforeUnmount)(h);
9704
- var Z = (0, De.computed)(function() {
9704
+ var U = (0, De.computed)(function() {
9705
9705
  return t.renderDirective === "show";
9706
9706
  }), V = (0, De.computed)(function() {
9707
- return Z.value || M.value && !t.disableTeleport;
9707
+ return U.value || M.value && !t.disableTeleport;
9708
9708
  }), H = (0, De.computed)(function() {
9709
9709
  return t.renderType === ye.RenderType.AUTO ? !0 : M.value;
9710
9710
  }), E = function() {
@@ -9717,20 +9717,20 @@ const qx = (0, De.defineComponent)({
9717
9717
  t.trigger !== "manual" && !t.always && t.clickContentAutoHide && (M.value = !1);
9718
9718
  }, ae = function() {
9719
9719
  if (t.allowHtml) {
9720
- var be = Kx(t.content), j = be.vNode;
9721
- return j;
9720
+ var be = Kx(t.content), O = be.vNode;
9721
+ return O;
9722
9722
  }
9723
9723
  return t.content;
9724
9724
  };
9725
9725
  return {
9726
- boundary: O,
9726
+ boundary: j,
9727
9727
  arrow: t.arrow,
9728
9728
  refDefaultReference: o,
9729
9729
  refContent: a,
9730
9730
  refArrow: s,
9731
9731
  content: t.content,
9732
9732
  theme: t.theme,
9733
- isRenderModeShow: Z,
9733
+ isRenderModeShow: U,
9734
9734
  transBoundary: V,
9735
9735
  handleClickContent: X,
9736
9736
  handleClickOutside: f,
@@ -9861,13 +9861,13 @@ function YJ(e) {
9861
9861
  }, M = function() {
9862
9862
  var _, B;
9863
9863
  (_ = w.value) === null || _ === void 0 || (B = _.stopHide) === null || B === void 0 || B.call(_);
9864
- }, O = function(_) {
9864
+ }, j = function(_) {
9865
9865
  var B, X;
9866
9866
  y.target = _, (B = w.value) === null || B === void 0 || (X = B.resetPopover) === null || X === void 0 || X.call(B);
9867
9867
  }, F = function() {
9868
9868
  var _;
9869
9869
  (_ = a.onContentMouseenter) === null || _ === void 0 || _.call(a);
9870
- }, Z = function() {
9870
+ }, U = function() {
9871
9871
  var _;
9872
9872
  (_ = a.onContentMouseleave) === null || _ === void 0 || _.call(a);
9873
9873
  }, V = function() {
@@ -9880,7 +9880,7 @@ function YJ(e) {
9880
9880
  return b({
9881
9881
  show: x,
9882
9882
  hide: T,
9883
- updateTarget: O,
9883
+ updateTarget: j,
9884
9884
  stopHide: M
9885
9885
  }), function() {
9886
9886
  return (0, De.createVNode)(qx, (0, De.mergeProps)(y, {
@@ -9888,7 +9888,7 @@ function YJ(e) {
9888
9888
  onAfterHidden: V,
9889
9889
  onAfterShow: H,
9890
9890
  onContentMouseenter: F,
9891
- onContentMouseleave: Z
9891
+ onContentMouseleave: U
9892
9892
  }), null);
9893
9893
  };
9894
9894
  }
@@ -10741,13 +10741,13 @@ const PQ = (0, Pe.defineComponent)({
10741
10741
  }), T = (0, Pe.computed)(function() {
10742
10742
  var R, W;
10743
10743
  return Math.floor((R = (W = t.maxlength) !== null && W !== void 0 ? W : t.maxcharacter) !== null && R !== void 0 ? R : 0);
10744
- }), M = (0, Pe.ref)(!1), O = (0, Pe.computed)(function() {
10744
+ }), M = (0, Pe.ref)(!1), j = (0, Pe.computed)(function() {
10745
10745
  return (0, Ze.classes)(Ct({
10746
10746
  "show-clear-only-hover": t.showClearOnlyHover
10747
10747
  }, "".concat(u.value, "--clear-icon"), !0), C);
10748
10748
  }), F = (0, Pe.computed)(function() {
10749
10749
  return (0, Ze.classes)(Ct(Ct({}, xe("max-length"), !0), "is-over-limit", T.value - V.value < 0));
10750
- }), Z = function(W) {
10750
+ }), U = function(W) {
10751
10751
  return typeof t.maxcharacter == "number" ? W.split("").reduce(function(G, _e, Fe) {
10752
10752
  return G.len += _e.charCodeAt(0) > 255 ? 2 : 1, G.len > t.maxcharacter && G.pos === -1 && (G.pos = Fe), G;
10753
10753
  }, {
@@ -10759,7 +10759,7 @@ const PQ = (0, Pe.defineComponent)({
10759
10759
  };
10760
10760
  }, V = (0, Pe.computed)(function() {
10761
10761
  var R, W = (R = t.modelValue) !== null && R !== void 0 ? R : "";
10762
- return Z(W).len;
10762
+ return U(W).len;
10763
10763
  }), H = (0, Pe.computed)(function() {
10764
10764
  return (0, Ze.classes)({
10765
10765
  "is-disabled": t.disabled || t.modelValue >= t.max
@@ -10807,7 +10807,7 @@ const PQ = (0, Pe.defineComponent)({
10807
10807
  blur: function() {
10808
10808
  p.value.blur(), s.value = !1;
10809
10809
  },
10810
- clear: j
10810
+ clear: O
10811
10811
  });
10812
10812
  function X() {
10813
10813
  ae(), be();
@@ -10836,7 +10836,7 @@ const PQ = (0, Pe.defineComponent)({
10836
10836
  v.value = ue();
10837
10837
  });
10838
10838
  }
10839
- function j() {
10839
+ function O() {
10840
10840
  if (!t.disabled) {
10841
10841
  var R = x.value ? t.min : "";
10842
10842
  n.emit(Ye.UPDATE, R, null), n.emit(Ye.CHANGE, R, null), n.emit(Ye.CLEAR);
@@ -10851,10 +10851,10 @@ const PQ = (0, Pe.defineComponent)({
10851
10851
  o == null || (W = o.validate) === null || W === void 0 || W.call(o, "blur");
10852
10852
  }
10853
10853
  }
10854
- function U(R) {
10854
+ function Y(R) {
10855
10855
  return function(W) {
10856
10856
  if (t.stopPropagation && W.stopPropagation(), B.value && !t.overMaxLengthLimit) {
10857
- var G = Z(W.target.value);
10857
+ var G = U(W.target.value);
10858
10858
  if (G.len >= T.value && (R === Ye.KEYDOWN || R === Ye.INPUT) && !l.value) {
10859
10859
  var _e = G.pos > 0 ? W.target.value.slice(0, G.pos) : W.target.value;
10860
10860
  m.value = {
@@ -10877,7 +10877,7 @@ const PQ = (0, Pe.defineComponent)({
10877
10877
  }
10878
10878
  };
10879
10879
  }
10880
- var $ = [Ye.KEYUP, Ye.KEYDOWN, Ye.KEYPRESS, Ye.PASTE, Ye.CHANGE, Ye.INPUT].map(U), ee = rQ($, 6), re = ee[0], Y = ee[1], D = ee[2], A = ee[3], J = ee[4], Q = ee[5];
10880
+ var $ = [Ye.KEYUP, Ye.KEYDOWN, Ye.KEYPRESS, Ye.PASTE, Ye.CHANGE, Ye.INPUT].map(Y), ee = rQ($, 6), re = ee[0], Z = ee[1], D = ee[2], A = ee[3], J = ee[4], Q = ee[5];
10881
10881
  function te() {
10882
10882
  l.value = !0;
10883
10883
  }
@@ -10926,7 +10926,7 @@ const PQ = (0, Pe.defineComponent)({
10926
10926
  onPaste: A,
10927
10927
  onChange: J,
10928
10928
  onKeypress: D,
10929
- onKeydown: Y,
10929
+ onKeydown: Z,
10930
10930
  onKeyup: re,
10931
10931
  onCompositionstart: te,
10932
10932
  onCompositionend: oe
@@ -10956,8 +10956,8 @@ const PQ = (0, Pe.defineComponent)({
10956
10956
  step: t.step,
10957
10957
  type: M.value && t.type === "password" ? "text" : t.type
10958
10958
  }, ne, N.value, m.value), null), t.clearable && !!t.modelValue && (0, Pe.createVNode)("span", {
10959
- class: O.value,
10960
- onClick: j
10959
+ class: j.value,
10960
+ onClick: O
10961
10961
  }, [(0, Pe.createVNode)(da.Close, null, null)]), w.value, B.value && (t.showWordLimit || c.value) && (0, Pe.createVNode)("p", {
10962
10962
  class: F.value
10963
10963
  }, [t.overMaxLengthLimit ? T.value - V.value : (0, Pe.createVNode)(Pe.Fragment, null, [V.value, (0, Pe.createTextVNode)(" / "), (0, Pe.createVNode)("span", null, [T.value])])]), x.value && t.showControl && (0, Pe.createVNode)("div", {
@@ -12805,7 +12805,7 @@ const sG = function(e, t) {
12805
12805
  });
12806
12806
  return {
12807
12807
  rendAsTag: function() {
12808
- var g, v, b, C, y, w, x, T, M, O, F, Z;
12808
+ var g, v, b, C, y, w, x, T, M, j, F, U;
12809
12809
  return (0, ht.h)(
12810
12810
  // @ts-ignore:next-line
12811
12811
  n,
@@ -12816,7 +12816,7 @@ const sG = function(e, t) {
12816
12816
  },
12817
12817
  [(g = (v = (b = t.slots).beforeContent) === null || v === void 0 ? void 0 : v.call(b)) !== null && g !== void 0 ? g : "", (C = (y = (w = t.slots).default) === null || y === void 0 ? void 0 : y.call(w, {
12818
12818
  data: e.list
12819
- })) !== null && C !== void 0 ? C : "", (x = (T = (M = t.slots).afterContent) === null || T === void 0 ? void 0 : T.call(M)) !== null && x !== void 0 ? x : "", (O = (F = (Z = t.slots).afterSection) === null || F === void 0 ? void 0 : F.call(Z)) !== null && O !== void 0 ? O : ""]
12819
+ })) !== null && C !== void 0 ? C : "", (x = (T = (M = t.slots).afterContent) === null || T === void 0 ? void 0 : T.call(M)) !== null && x !== void 0 ? x : "", (j = (F = (U = t.slots).afterSection) === null || F === void 0 ? void 0 : F.call(U)) !== null && j !== void 0 ? j : ""]
12820
12820
  );
12821
12821
  }
12822
12822
  };
@@ -12851,15 +12851,15 @@ const lG = (0, ht.defineComponent)({
12851
12851
  emits: ["content-scroll"],
12852
12852
  slots: Object,
12853
12853
  setup: function(t, n) {
12854
- var r = this, i = t.renderAs, o = function(Y) {
12855
- return typeof Y == "string" ? [Y] : fs(Y) === "object" && !Array.isArray(Y) ? [Y] : Y;
12854
+ var r = this, i = t.renderAs, o = function(Z) {
12855
+ return typeof Z == "string" ? [Z] : fs(Z) === "object" && !Array.isArray(Z) ? [Z] : Z;
12856
12856
  };
12857
12857
  if (!t.enabled) {
12858
12858
  var a = sG(t, n), s = a.rendAsTag;
12859
12859
  return s;
12860
12860
  }
12861
- var l = (0, ht.ref)(null), c = (0, ht.ref)(0), u = (0, ht.ref)(0), d = (0, ht.ref)(0), h = (0, ht.ref)(null), f = function(Y) {
12862
- var D = Y * t.groupItemCount, A = (Y + 1) * t.groupItemCount;
12861
+ var l = (0, ht.ref)(null), c = (0, ht.ref)(0), u = (0, ht.ref)(0), d = (0, ht.ref)(0), h = (0, ht.ref)(null), f = function(Z) {
12862
+ var D = Z * t.groupItemCount, A = (Z + 1) * t.groupItemCount;
12863
12863
  if (A > c.value) {
12864
12864
  var J = A - D;
12865
12865
  A = c.value, D = A - J;
@@ -12871,8 +12871,8 @@ const lG = (0, ht.defineComponent)({
12871
12871
  type: "virtual"
12872
12872
  };
12873
12873
  }, p = function() {
12874
- return typeof t.lineHeight == "function" ? function(Y) {
12875
- var D = Y.index;
12874
+ return typeof t.lineHeight == "function" ? function(Z) {
12875
+ var D = Z.index;
12876
12876
  return t.lineHeight(f(D));
12877
12877
  } : t.lineHeight;
12878
12878
  }, m = (0, ht.computed)(function() {
@@ -12895,17 +12895,17 @@ const lG = (0, ht.defineComponent)({
12895
12895
  groupItemCount: t.groupItemCount
12896
12896
  }), T = (0, ht.ref)([]), M = function() {
12897
12897
  return typeof t.height == "number" ? t.height : h.value.offsetHeight;
12898
- }, O = function() {
12899
- for (var Y = M(), D = Math.ceil(c.value / t.groupItemCount), A = 0, J = 0, Q = 0; D > 0; D--)
12900
- if (J = t.lineHeight(f(D)), A = A + J, A > Y) {
12901
- Q = A - Y;
12898
+ }, j = function() {
12899
+ for (var Z = M(), D = Math.ceil(c.value / t.groupItemCount), A = 0, J = 0, Q = 0; D > 0; D--)
12900
+ if (J = t.lineHeight(f(D)), A = A + J, A > Z) {
12901
+ Q = A - Z;
12902
12902
  break;
12903
12903
  }
12904
12904
  return {
12905
12905
  diffHeight: Q,
12906
12906
  startIndex: D
12907
12907
  };
12908
- }, F = function(Y, D, A, J, Q, te, oe) {
12908
+ }, F = function(Z, D, A, J, Q, te, oe) {
12909
12909
  var Me = te;
12910
12910
  Object.assign(x, {
12911
12911
  startIndex: D,
@@ -12917,9 +12917,9 @@ const lG = (0, ht.defineComponent)({
12917
12917
  pos: oe
12918
12918
  });
12919
12919
  var Ie = x.startIndex * t.groupItemCount, Ae = x.endIndex * t.groupItemCount, Le = E.value.length;
12920
- Le < Ae && (Ae = Le, typeof t.lineHeight == "function" ? Ie = O().startIndex : (Ie = Ae - Math.floor(l.value.offsetHeight / t.lineHeight), Ie = Ie < 0 ? 0 : Ie));
12920
+ Le < Ae && (Ae = Le, typeof t.lineHeight == "function" ? Ie = j().startIndex : (Ie = Ae - Math.floor(l.value.offsetHeight / t.lineHeight), Ie = Ie < 0 ? 0 : Ie));
12921
12921
  var xe = E.value.slice(Ie, Ae);
12922
- T.value = xe, Y && n.emit("content-scroll", [Y, x, xe]);
12922
+ T.value = xe, Z && n.emit("content-scroll", [Z, x, xe]);
12923
12923
  };
12924
12924
  (0, ht.onMounted)(function() {
12925
12925
  var re;
@@ -12941,10 +12941,10 @@ const lG = (0, ht.defineComponent)({
12941
12941
  var re;
12942
12942
  (re = w) === null || re === void 0 || re.uninstall();
12943
12943
  });
12944
- var Z = function() {
12944
+ var U = function() {
12945
12945
  V(t.list);
12946
- }, V = function(Y) {
12947
- c.value = Math.ceil((Y || []).length / t.groupItemCount), x.count = c.value;
12946
+ }, V = function(Z) {
12947
+ c.value = Math.ceil((Z || []).length / t.groupItemCount), x.count = c.value;
12948
12948
  var D = typeof t.abosuteHeight == "string" && t.abosuteHeight === "auto";
12949
12949
  if (D)
12950
12950
  if (typeof t.lineHeight == "function") {
@@ -12960,17 +12960,17 @@ const lG = (0, ht.defineComponent)({
12960
12960
  u.value = t.abosuteHeight;
12961
12961
  X();
12962
12962
  }, H = function() {
12963
- var Y = l.value, D = typeof t.height == "number" ? {
12963
+ var Z = l.value, D = typeof t.height == "number" ? {
12964
12964
  scrollHeight: u.value,
12965
12965
  offsetHeight: t.height
12966
- } : Y;
12966
+ } : Z;
12967
12967
  TT(t.lineHeight, F, x, D, {
12968
- target: Y
12968
+ target: Z
12969
12969
  });
12970
12970
  }, E = (0, ht.computed)(function() {
12971
- return t.rowKey !== void 0 || !t.autoIndex ? t.list : (t.list || []).map(function(re, Y) {
12971
+ return t.rowKey !== void 0 || !t.autoIndex ? t.list : (t.list || []).map(function(re, Z) {
12972
12972
  return Au(Au({}, re), {}, {
12973
- $index: Y
12973
+ $index: Z
12974
12974
  });
12975
12975
  });
12976
12976
  }), _ = (0, ht.computed)(function() {
@@ -12988,23 +12988,23 @@ const lG = (0, ht.defineComponent)({
12988
12988
  d.value = u.value < t.minHeight ? t.minHeight : u.value;
12989
12989
  }, ae = (0, GW.usePrefix)(), ue = ae.resolveClassName, be = (0, ht.computed)(function() {
12990
12990
  return [ue("virtual-render")].concat(f2(o(t.className)), [t.scrollPosition === "container" ? ue("virtual-content") : ""]);
12991
- }), j = function() {
12992
- var Y;
12993
- Z(), H(), (Y = w) === null || Y === void 0 || Y.executeThrottledRender.call(w, {
12991
+ }), O = function() {
12992
+ var Z;
12993
+ U(), H(), (Z = w) === null || Z === void 0 || Z.executeThrottledRender.call(w, {
12994
12994
  offset: {
12995
12995
  x: 0,
12996
12996
  y: 0
12997
12997
  }
12998
12998
  });
12999
- }, S = wT(t, b), L = S.fixToTop, U = function() {
13000
- var Y, D = l.value, A = typeof t.height == "number" ? {
12999
+ }, S = wT(t, b), L = S.fixToTop, Y = function() {
13000
+ var Z, D = l.value, A = typeof t.height == "number" ? {
13001
13001
  scrollHeight: u.value,
13002
13002
  offsetHeight: t.height
13003
13003
  } : D;
13004
- (Y = w) === null || Y === void 0 || Y.setDelegateWrapper(A);
13004
+ (Z = w) === null || Z === void 0 || Z.setDelegateWrapper(A);
13005
13005
  }, $ = function() {
13006
- var Y;
13007
- (Y = w) === null || Y === void 0 || Y.setBinding(m), Z(), C(d.value), U(), y(), H(), (0, ht.nextTick)(function() {
13006
+ var Z;
13007
+ (Z = w) === null || Z === void 0 || Z.setBinding(m), U(), C(d.value), Y(), y(), H(), (0, ht.nextTick)(function() {
13008
13008
  var D;
13009
13009
  (D = w) === null || D === void 0 || D.executeThrottledRender.call(w, {
13010
13010
  offset: {
@@ -13025,18 +13025,18 @@ const lG = (0, ht.defineComponent)({
13025
13025
  }, {
13026
13026
  immediate: !0
13027
13027
  }), n.expose({
13028
- reset: j,
13028
+ reset: O,
13029
13029
  scrollTo: b,
13030
13030
  fixToTop: L,
13031
13031
  updateScroll: y,
13032
13032
  refRoot: l,
13033
13033
  refContent: l
13034
13034
  });
13035
- var ee = function(Y) {
13036
- w.executeThrottledRender.call(w, Y);
13035
+ var ee = function(Z) {
13036
+ w.executeThrottledRender.call(w, Z);
13037
13037
  };
13038
13038
  return function() {
13039
- var re, Y, D, A, J, Q, te, oe, Me, Ie, Ae, Le;
13039
+ var re, Z, D, A, J, Q, te, oe, Me, Ie, Ae, Le;
13040
13040
  return (0, ht.h)(
13041
13041
  // @ts-ignore:next-line
13042
13042
  i || "div",
@@ -13045,7 +13045,7 @@ const lG = (0, ht.defineComponent)({
13045
13045
  class: f2(be.value),
13046
13046
  style: B.value
13047
13047
  },
13048
- [(re = (Y = (D = n.slots).beforeContent) === null || Y === void 0 ? void 0 : Y.call(D)) !== null && re !== void 0 ? re : "", (A = (J = (Q = n.slots).default) === null || J === void 0 ? void 0 : J.call(Q, {
13048
+ [(re = (Z = (D = n.slots).beforeContent) === null || Z === void 0 ? void 0 : Z.call(D)) !== null && re !== void 0 ? re : "", (A = (J = (Q = n.slots).default) === null || J === void 0 ? void 0 : J.call(Q, {
13049
13049
  data: T.value
13050
13050
  })) !== null && A !== void 0 ? A : "", (te = (oe = (Me = n.slots).afterContent) === null || oe === void 0 ? void 0 : oe.call(Me)) !== null && te !== void 0 ? te : "", (Ie = (Ae = (Le = n.slots).afterSection) === null || Ae === void 0 ? void 0 : Ae.call(Le)) !== null && Ie !== void 0 ? Ie : ""]
13051
13051
  );
@@ -13281,40 +13281,40 @@ var IG = MT.default, _G = {
13281
13281
  e.exports = i = function() {
13282
13282
  return a;
13283
13283
  }, e.exports.__esModule = !0, e.exports.default = e.exports;
13284
- var o, a = {}, s = Object.prototype, l = s.hasOwnProperty, c = Object.defineProperty || function(j, S, L) {
13285
- j[S] = L.value;
13284
+ var o, a = {}, s = Object.prototype, l = s.hasOwnProperty, c = Object.defineProperty || function(O, S, L) {
13285
+ O[S] = L.value;
13286
13286
  }, u = typeof Symbol == "function" ? Symbol : {}, d = u.iterator || "@@iterator", h = u.asyncIterator || "@@asyncIterator", f = u.toStringTag || "@@toStringTag";
13287
- function p(j, S, L) {
13288
- return Object.defineProperty(j, S, {
13287
+ function p(O, S, L) {
13288
+ return Object.defineProperty(O, S, {
13289
13289
  value: L,
13290
13290
  enumerable: !0,
13291
13291
  configurable: !0,
13292
13292
  writable: !0
13293
- }), j[S];
13293
+ }), O[S];
13294
13294
  }
13295
13295
  try {
13296
13296
  p({}, "");
13297
13297
  } catch {
13298
- p = function(L, U, $) {
13299
- return L[U] = $;
13298
+ p = function(L, Y, $) {
13299
+ return L[Y] = $;
13300
13300
  };
13301
13301
  }
13302
- function m(j, S, L, U) {
13303
- var $ = S && S.prototype instanceof x ? S : x, ee = Object.create($.prototype), re = new ue(U || []);
13302
+ function m(O, S, L, Y) {
13303
+ var $ = S && S.prototype instanceof x ? S : x, ee = Object.create($.prototype), re = new ue(Y || []);
13304
13304
  return c(ee, "_invoke", {
13305
- value: _(j, L, re)
13305
+ value: _(O, L, re)
13306
13306
  }), ee;
13307
13307
  }
13308
- function g(j, S, L) {
13308
+ function g(O, S, L) {
13309
13309
  try {
13310
13310
  return {
13311
13311
  type: "normal",
13312
- arg: j.call(S, L)
13312
+ arg: O.call(S, L)
13313
13313
  };
13314
- } catch (U) {
13314
+ } catch (Y) {
13315
13315
  return {
13316
13316
  type: "throw",
13317
- arg: U
13317
+ arg: Y
13318
13318
  };
13319
13319
  }
13320
13320
  }
@@ -13326,54 +13326,54 @@ var IG = MT.default, _G = {
13326
13326
  }
13327
13327
  function M() {
13328
13328
  }
13329
- var O = {};
13330
- p(O, d, function() {
13329
+ var j = {};
13330
+ p(j, d, function() {
13331
13331
  return this;
13332
13332
  });
13333
- var F = Object.getPrototypeOf, Z = F && F(F(be([])));
13334
- Z && Z !== s && l.call(Z, d) && (O = Z);
13335
- var V = M.prototype = x.prototype = Object.create(O);
13336
- function H(j) {
13333
+ var F = Object.getPrototypeOf, U = F && F(F(be([])));
13334
+ U && U !== s && l.call(U, d) && (j = U);
13335
+ var V = M.prototype = x.prototype = Object.create(j);
13336
+ function H(O) {
13337
13337
  ["next", "throw", "return"].forEach(function(S) {
13338
- p(j, S, function(L) {
13338
+ p(O, S, function(L) {
13339
13339
  return this._invoke(S, L);
13340
13340
  });
13341
13341
  });
13342
13342
  }
13343
- function E(j, S) {
13344
- function L($, ee, re, Y) {
13345
- var D = g(j[$], j, ee);
13343
+ function E(O, S) {
13344
+ function L($, ee, re, Z) {
13345
+ var D = g(O[$], O, ee);
13346
13346
  if (D.type !== "throw") {
13347
13347
  var A = D.arg, J = A.value;
13348
13348
  return J && r(J) == "object" && l.call(J, "__await") ? S.resolve(J.__await).then(function(Q) {
13349
- L("next", Q, re, Y);
13349
+ L("next", Q, re, Z);
13350
13350
  }, function(Q) {
13351
- L("throw", Q, re, Y);
13351
+ L("throw", Q, re, Z);
13352
13352
  }) : S.resolve(J).then(function(Q) {
13353
13353
  A.value = Q, re(A);
13354
13354
  }, function(Q) {
13355
- return L("throw", Q, re, Y);
13355
+ return L("throw", Q, re, Z);
13356
13356
  });
13357
13357
  }
13358
- Y(D.arg);
13358
+ Z(D.arg);
13359
13359
  }
13360
- var U;
13360
+ var Y;
13361
13361
  c(this, "_invoke", {
13362
13362
  value: function(ee, re) {
13363
- function Y() {
13363
+ function Z() {
13364
13364
  return new S(function(D, A) {
13365
13365
  L(ee, re, D, A);
13366
13366
  });
13367
13367
  }
13368
- return U = U ? U.then(Y, Y) : Y();
13368
+ return Y = Y ? Y.then(Z, Z) : Z();
13369
13369
  }
13370
13370
  });
13371
13371
  }
13372
- function _(j, S, L) {
13373
- var U = v;
13372
+ function _(O, S, L) {
13373
+ var Y = v;
13374
13374
  return function($, ee) {
13375
- if (U === C) throw new Error("Generator is already running");
13376
- if (U === y) {
13375
+ if (Y === C) throw new Error("Generator is already running");
13376
+ if (Y === y) {
13377
13377
  if ($ === "throw") throw ee;
13378
13378
  return {
13379
13379
  value: o,
@@ -13383,67 +13383,67 @@ var IG = MT.default, _G = {
13383
13383
  for (L.method = $, L.arg = ee; ; ) {
13384
13384
  var re = L.delegate;
13385
13385
  if (re) {
13386
- var Y = B(re, L);
13387
- if (Y) {
13388
- if (Y === w) continue;
13389
- return Y;
13386
+ var Z = B(re, L);
13387
+ if (Z) {
13388
+ if (Z === w) continue;
13389
+ return Z;
13390
13390
  }
13391
13391
  }
13392
13392
  if (L.method === "next") L.sent = L._sent = L.arg;
13393
13393
  else if (L.method === "throw") {
13394
- if (U === v) throw U = y, L.arg;
13394
+ if (Y === v) throw Y = y, L.arg;
13395
13395
  L.dispatchException(L.arg);
13396
13396
  } else L.method === "return" && L.abrupt("return", L.arg);
13397
- U = C;
13398
- var D = g(j, S, L);
13397
+ Y = C;
13398
+ var D = g(O, S, L);
13399
13399
  if (D.type === "normal") {
13400
- if (U = L.done ? y : b, D.arg === w) continue;
13400
+ if (Y = L.done ? y : b, D.arg === w) continue;
13401
13401
  return {
13402
13402
  value: D.arg,
13403
13403
  done: L.done
13404
13404
  };
13405
13405
  }
13406
- D.type === "throw" && (U = y, L.method = "throw", L.arg = D.arg);
13406
+ D.type === "throw" && (Y = y, L.method = "throw", L.arg = D.arg);
13407
13407
  }
13408
13408
  };
13409
13409
  }
13410
- function B(j, S) {
13411
- var L = S.method, U = j.iterator[L];
13412
- if (U === o) return S.delegate = null, L === "throw" && j.iterator.return && (S.method = "return", S.arg = o, B(j, S), S.method === "throw") || L !== "return" && (S.method = "throw", S.arg = new TypeError("The iterator does not provide a '" + L + "' method")), w;
13413
- var $ = g(U, j.iterator, S.arg);
13410
+ function B(O, S) {
13411
+ var L = S.method, Y = O.iterator[L];
13412
+ if (Y === o) return S.delegate = null, L === "throw" && O.iterator.return && (S.method = "return", S.arg = o, B(O, S), S.method === "throw") || L !== "return" && (S.method = "throw", S.arg = new TypeError("The iterator does not provide a '" + L + "' method")), w;
13413
+ var $ = g(Y, O.iterator, S.arg);
13414
13414
  if ($.type === "throw") return S.method = "throw", S.arg = $.arg, S.delegate = null, w;
13415
13415
  var ee = $.arg;
13416
- return ee ? ee.done ? (S[j.resultName] = ee.value, S.next = j.nextLoc, S.method !== "return" && (S.method = "next", S.arg = o), S.delegate = null, w) : ee : (S.method = "throw", S.arg = new TypeError("iterator result is not an object"), S.delegate = null, w);
13416
+ return ee ? ee.done ? (S[O.resultName] = ee.value, S.next = O.nextLoc, S.method !== "return" && (S.method = "next", S.arg = o), S.delegate = null, w) : ee : (S.method = "throw", S.arg = new TypeError("iterator result is not an object"), S.delegate = null, w);
13417
13417
  }
13418
- function X(j) {
13418
+ function X(O) {
13419
13419
  var S = {
13420
- tryLoc: j[0]
13420
+ tryLoc: O[0]
13421
13421
  };
13422
- 1 in j && (S.catchLoc = j[1]), 2 in j && (S.finallyLoc = j[2], S.afterLoc = j[3]), this.tryEntries.push(S);
13422
+ 1 in O && (S.catchLoc = O[1]), 2 in O && (S.finallyLoc = O[2], S.afterLoc = O[3]), this.tryEntries.push(S);
13423
13423
  }
13424
- function ae(j) {
13425
- var S = j.completion || {};
13426
- S.type = "normal", delete S.arg, j.completion = S;
13424
+ function ae(O) {
13425
+ var S = O.completion || {};
13426
+ S.type = "normal", delete S.arg, O.completion = S;
13427
13427
  }
13428
- function ue(j) {
13428
+ function ue(O) {
13429
13429
  this.tryEntries = [{
13430
13430
  tryLoc: "root"
13431
- }], j.forEach(X, this), this.reset(!0);
13431
+ }], O.forEach(X, this), this.reset(!0);
13432
13432
  }
13433
- function be(j) {
13434
- if (j || j === "") {
13435
- var S = j[d];
13436
- if (S) return S.call(j);
13437
- if (typeof j.next == "function") return j;
13438
- if (!isNaN(j.length)) {
13439
- var L = -1, U = function $() {
13440
- for (; ++L < j.length; ) if (l.call(j, L)) return $.value = j[L], $.done = !1, $;
13433
+ function be(O) {
13434
+ if (O || O === "") {
13435
+ var S = O[d];
13436
+ if (S) return S.call(O);
13437
+ if (typeof O.next == "function") return O;
13438
+ if (!isNaN(O.length)) {
13439
+ var L = -1, Y = function $() {
13440
+ for (; ++L < O.length; ) if (l.call(O, L)) return $.value = O[L], $.done = !1, $;
13441
13441
  return $.value = o, $.done = !0, $;
13442
13442
  };
13443
- return U.next = U;
13443
+ return Y.next = Y;
13444
13444
  }
13445
13445
  }
13446
- throw new TypeError(r(j) + " is not iterable");
13446
+ throw new TypeError(r(O) + " is not iterable");
13447
13447
  }
13448
13448
  return T.prototype = M, c(V, "constructor", {
13449
13449
  value: M,
@@ -13451,20 +13451,20 @@ var IG = MT.default, _G = {
13451
13451
  }), c(M, "constructor", {
13452
13452
  value: T,
13453
13453
  configurable: !0
13454
- }), T.displayName = p(M, f, "GeneratorFunction"), a.isGeneratorFunction = function(j) {
13455
- var S = typeof j == "function" && j.constructor;
13454
+ }), T.displayName = p(M, f, "GeneratorFunction"), a.isGeneratorFunction = function(O) {
13455
+ var S = typeof O == "function" && O.constructor;
13456
13456
  return !!S && (S === T || (S.displayName || S.name) === "GeneratorFunction");
13457
- }, a.mark = function(j) {
13458
- return Object.setPrototypeOf ? Object.setPrototypeOf(j, M) : (j.__proto__ = M, p(j, f, "GeneratorFunction")), j.prototype = Object.create(V), j;
13459
- }, a.awrap = function(j) {
13457
+ }, a.mark = function(O) {
13458
+ return Object.setPrototypeOf ? Object.setPrototypeOf(O, M) : (O.__proto__ = M, p(O, f, "GeneratorFunction")), O.prototype = Object.create(V), O;
13459
+ }, a.awrap = function(O) {
13460
13460
  return {
13461
- __await: j
13461
+ __await: O
13462
13462
  };
13463
13463
  }, H(E.prototype), p(E.prototype, h, function() {
13464
13464
  return this;
13465
- }), a.AsyncIterator = E, a.async = function(j, S, L, U, $) {
13465
+ }), a.AsyncIterator = E, a.async = function(O, S, L, Y, $) {
13466
13466
  $ === void 0 && ($ = Promise);
13467
- var ee = new E(m(j, S, L, U), $);
13467
+ var ee = new E(m(O, S, L, Y), $);
13468
13468
  return a.isGeneratorFunction(S) ? ee : ee.next().then(function(re) {
13469
13469
  return re.done ? re.value : ee.next();
13470
13470
  });
@@ -13472,9 +13472,9 @@ var IG = MT.default, _G = {
13472
13472
  return this;
13473
13473
  }), p(V, "toString", function() {
13474
13474
  return "[object Generator]";
13475
- }), a.keys = function(j) {
13476
- var S = Object(j), L = [];
13477
- for (var U in S) L.push(U);
13475
+ }), a.keys = function(O) {
13476
+ var S = Object(O), L = [];
13477
+ for (var Y in S) L.push(Y);
13478
13478
  return L.reverse(), function $() {
13479
13479
  for (; L.length; ) {
13480
13480
  var ee = L.pop();
@@ -13496,29 +13496,29 @@ var IG = MT.default, _G = {
13496
13496
  dispatchException: function(S) {
13497
13497
  if (this.done) throw S;
13498
13498
  var L = this;
13499
- function U(A, J) {
13499
+ function Y(A, J) {
13500
13500
  return re.type = "throw", re.arg = S, L.next = A, J && (L.method = "next", L.arg = o), !!J;
13501
13501
  }
13502
13502
  for (var $ = this.tryEntries.length - 1; $ >= 0; --$) {
13503
13503
  var ee = this.tryEntries[$], re = ee.completion;
13504
- if (ee.tryLoc === "root") return U("end");
13504
+ if (ee.tryLoc === "root") return Y("end");
13505
13505
  if (ee.tryLoc <= this.prev) {
13506
- var Y = l.call(ee, "catchLoc"), D = l.call(ee, "finallyLoc");
13507
- if (Y && D) {
13508
- if (this.prev < ee.catchLoc) return U(ee.catchLoc, !0);
13509
- if (this.prev < ee.finallyLoc) return U(ee.finallyLoc);
13510
- } else if (Y) {
13511
- if (this.prev < ee.catchLoc) return U(ee.catchLoc, !0);
13506
+ var Z = l.call(ee, "catchLoc"), D = l.call(ee, "finallyLoc");
13507
+ if (Z && D) {
13508
+ if (this.prev < ee.catchLoc) return Y(ee.catchLoc, !0);
13509
+ if (this.prev < ee.finallyLoc) return Y(ee.finallyLoc);
13510
+ } else if (Z) {
13511
+ if (this.prev < ee.catchLoc) return Y(ee.catchLoc, !0);
13512
13512
  } else {
13513
13513
  if (!D) throw new Error("try statement without catch or finally");
13514
- if (this.prev < ee.finallyLoc) return U(ee.finallyLoc);
13514
+ if (this.prev < ee.finallyLoc) return Y(ee.finallyLoc);
13515
13515
  }
13516
13516
  }
13517
13517
  }
13518
13518
  },
13519
13519
  abrupt: function(S, L) {
13520
- for (var U = this.tryEntries.length - 1; U >= 0; --U) {
13521
- var $ = this.tryEntries[U];
13520
+ for (var Y = this.tryEntries.length - 1; Y >= 0; --Y) {
13521
+ var $ = this.tryEntries[Y];
13522
13522
  if ($.tryLoc <= this.prev && l.call($, "finallyLoc") && this.prev < $.finallyLoc) {
13523
13523
  var ee = $;
13524
13524
  break;
@@ -13534,29 +13534,29 @@ var IG = MT.default, _G = {
13534
13534
  },
13535
13535
  finish: function(S) {
13536
13536
  for (var L = this.tryEntries.length - 1; L >= 0; --L) {
13537
- var U = this.tryEntries[L];
13538
- if (U.finallyLoc === S) return this.complete(U.completion, U.afterLoc), ae(U), w;
13537
+ var Y = this.tryEntries[L];
13538
+ if (Y.finallyLoc === S) return this.complete(Y.completion, Y.afterLoc), ae(Y), w;
13539
13539
  }
13540
13540
  },
13541
13541
  catch: function(S) {
13542
13542
  for (var L = this.tryEntries.length - 1; L >= 0; --L) {
13543
- var U = this.tryEntries[L];
13544
- if (U.tryLoc === S) {
13545
- var $ = U.completion;
13543
+ var Y = this.tryEntries[L];
13544
+ if (Y.tryLoc === S) {
13545
+ var $ = Y.completion;
13546
13546
  if ($.type === "throw") {
13547
13547
  var ee = $.arg;
13548
- ae(U);
13548
+ ae(Y);
13549
13549
  }
13550
13550
  return ee;
13551
13551
  }
13552
13552
  }
13553
13553
  throw new Error("illegal catch attempt");
13554
13554
  },
13555
- delegateYield: function(S, L, U) {
13555
+ delegateYield: function(S, L, Y) {
13556
13556
  return this.delegate = {
13557
13557
  iterator: be(S),
13558
13558
  resultName: L,
13559
- nextLoc: U
13559
+ nextLoc: Y
13560
13560
  }, this.method === "next" && (this.arg = o), w;
13561
13561
  }
13562
13562
  }, a;
@@ -14029,7 +14029,7 @@ const pf = (0, P.defineComponent)({
14029
14029
  f.activeOptionValue = h.value;
14030
14030
  }, M = function() {
14031
14031
  f.activeOptionValue = "";
14032
- }, O = function(H) {
14032
+ }, j = function(H) {
14033
14033
  var E;
14034
14034
  if (!H) return H;
14035
14035
  var _ = y.value, B = _.length;
@@ -14046,7 +14046,7 @@ const pf = (0, P.defineComponent)({
14046
14046
  }), (0, P.onBeforeUnmount)(function() {
14047
14047
  f == null || f.unregister(h.value, o), p == null || p.unregister(h.value, o);
14048
14048
  });
14049
- var F = (0, Oc.usePrefix)(), Z = F.resolveClassName;
14049
+ var F = (0, Oc.usePrefix)(), U = F.resolveClassName;
14050
14050
  return x2(x2({}, (0, P.toRefs)(a)), {}, {
14051
14051
  selected: m,
14052
14052
  multiple: g,
@@ -14059,8 +14059,8 @@ const pf = (0, P.defineComponent)({
14059
14059
  handleOptionClick: x,
14060
14060
  handleMouseEnter: T,
14061
14061
  handleMouseLeave: M,
14062
- resolveClassName: Z,
14063
- transformNode: O
14062
+ resolveClassName: U,
14063
+ transformNode: j
14064
14064
  });
14065
14065
  },
14066
14066
  render: function() {
@@ -15591,13 +15591,13 @@ const OU = jU({ default: () => Rk }), NU = (0, P.defineComponent)({
15591
15591
  });
15592
15592
  f.value = B > 0 ? B : null, ((H = _[f.value]) === null || H === void 0 ? void 0 : H.offsetTop) !== ((E = x.value) === null || E === void 0 ? void 0 : E.offsetTop) && f.value > 1 && (f.value -= 1);
15593
15593
  }));
15594
- }, O = (0, OU.default)(M, 150), F = (0, P.ref)(), Z = new ResizeObserver(function() {
15595
- O();
15594
+ }, j = (0, OU.default)(M, 150), F = (0, P.ref)(), U = new ResizeObserver(function() {
15595
+ j();
15596
15596
  });
15597
15597
  return (0, P.onMounted)(function() {
15598
- F.value && Z.observe(F.value);
15598
+ F.value && U.observe(F.value);
15599
15599
  }), (0, P.onBeforeUnmount)(function() {
15600
- F.value && Z.unobserve(F.value);
15600
+ F.value && U.unobserve(F.value);
15601
15601
  }), {
15602
15602
  collapseTagRef: x,
15603
15603
  tagWrapperRef: F,
@@ -15815,9 +15815,9 @@ const EU = (0, P.defineComponent)({
15815
15815
  },
15816
15816
  emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur", "tag-remove", "select", "deselect", "search-change"],
15817
15817
  setup: function(t, n) {
15818
- var r = n.emit, i = (0, Oc.useLocale)("select"), o = (0, Oc.usePrefix)(), a = o.resolveClassName, s = (0, P.toRefs)(t), l = s.modelValue, c = s.disabled, u = s.filterable, d = s.multiple, h = s.remoteMethod, f = s.loading, p = s.popoverMinWidth, m = s.showOnInit, g = s.multipleMode, v = s.allowCreate, b = s.customContent, C = s.showSelectedIcon, y = s.inputSearch, w = s.enableVirtualRender, x = s.showSelectAll, T = s.showAll, M = s.allOptionId, O = s.scrollHeight, F = s.list, Z = s.displayKey, V = s.idKey, H = s.collapseTags, E = s.autoHeight, _ = s.popoverOptions, B = s.allowEmptyValues, X = s.autoFocus, ae = s.keepSearchValue, ue = s.selectedStyle, be = s.filterOption, j = s.searchWithPinyin, S = s.highlightKeyword, L = s.disableFocusBehavior, U = s.trigger, $ = s.disableScrollToSelectedOption, ee = (0, P.ref)(null), re = (0, P.computed)(function() {
15818
+ var r = n.emit, i = (0, Oc.useLocale)("select"), o = (0, Oc.usePrefix)(), a = o.resolveClassName, s = (0, P.toRefs)(t), l = s.modelValue, c = s.disabled, u = s.filterable, d = s.multiple, h = s.remoteMethod, f = s.loading, p = s.popoverMinWidth, m = s.showOnInit, g = s.multipleMode, v = s.allowCreate, b = s.customContent, C = s.showSelectedIcon, y = s.inputSearch, w = s.enableVirtualRender, x = s.showSelectAll, T = s.showAll, M = s.allOptionId, j = s.scrollHeight, F = s.list, U = s.displayKey, V = s.idKey, H = s.collapseTags, E = s.autoHeight, _ = s.popoverOptions, B = s.allowEmptyValues, X = s.autoFocus, ae = s.keepSearchValue, ue = s.selectedStyle, be = s.filterOption, O = s.searchWithPinyin, S = s.highlightKeyword, L = s.disableFocusBehavior, Y = s.trigger, $ = s.disableScrollToSelectedOption, ee = (0, P.ref)(null), re = (0, P.computed)(function() {
15819
15819
  return t.allOptionText;
15820
- }), Y = (0, P.computed)(function() {
15820
+ }), Z = (0, P.computed)(function() {
15821
15821
  return t.noDataText === void 0 ? i.value.noData : t.noDataText;
15822
15822
  }), D = (0, P.computed)(function() {
15823
15823
  return t.noMatchText === void 0 ? i.value.noMatchedData : t.noMatchText;
@@ -15839,7 +15839,7 @@ const EU = (0, P.defineComponent)({
15839
15839
  }, It({}, "".concat(M.value), i.value.all));
15840
15840
  }), Fe = (0, P.ref)(), qe = (0, P.computed)(function() {
15841
15841
  return F.value.reduce(function(Oe, ie) {
15842
- return Oe[ie[V.value]] = ie[Z.value], Oe;
15842
+ return Oe[ie[V.value]] = ie[U.value], Oe;
15843
15843
  }, {});
15844
15844
  });
15845
15845
  (0, P.watch)([ne, F], function() {
@@ -15857,7 +15857,7 @@ const EU = (0, P.defineComponent)({
15857
15857
  });
15858
15858
  var vt = (0, P.computed)(function() {
15859
15859
  return et.value ? F.value : F.value.filter(function(Oe) {
15860
- return qn(Io.value, String(Oe[Z.value]), Oe);
15860
+ return qn(Io.value, String(Oe[U.value]), Oe);
15861
15861
  });
15862
15862
  }), We = (0, P.computed)(function() {
15863
15863
  return c.value || f.value;
@@ -15897,13 +15897,13 @@ const EU = (0, P.defineComponent)({
15897
15897
  }), Fn = (0, P.computed)(function() {
15898
15898
  return d.value && T.value;
15899
15899
  }), Sn = (0, P.computed)(function() {
15900
- return O.value - 12 - (kt.value ? 32 : 0);
15900
+ return j.value - 12 - (kt.value ? 32 : 0);
15901
15901
  }), yn = (0, P.ref)(32), Yn = (0, P.computed)(function() {
15902
15902
  return w.value ? vt.value.length * yn.value > Sn.value : !1;
15903
15903
  }), lt = (0, P.computed)(function() {
15904
15904
  return Math.ceil(Sn.value / yn.value);
15905
15905
  }), qt = (0, P.computed)(function() {
15906
- return Zh.value ? A.value : Ne.value || F.value.length && !vt.value.length ? D.value : me.value ? Y.value : "";
15906
+ return Zh.value ? A.value : Ne.value || F.value.length && !vt.value.length ? D.value : me.value ? Z.value : "";
15907
15907
  }), xo = (0, P.computed)(function() {
15908
15908
  return E.value ? H.value && !Kn.value : H.value;
15909
15909
  }), Zn = (0, P.computed)(function() {
@@ -15927,9 +15927,9 @@ const EU = (0, P.defineComponent)({
15927
15927
  }, yr = OG({
15928
15928
  popoverMinWidth: p.value
15929
15929
  }, Ie), Vi = yr.popperWidth, Kn = yr.isPopoverShow, je = yr.hidePopover, k = yr.showPopover, le = yr.togglePopover, we = function() {
15930
- U.value !== "manual" && je();
15930
+ Y.value !== "manual" && je();
15931
15931
  }, bt = function() {
15932
- U.value !== "manual" && k();
15932
+ Y.value !== "manual" && k();
15933
15933
  }, Wt = (0, P.computed)(function() {
15934
15934
  return u.value && y.value && Kn.value || v.value;
15935
15935
  });
@@ -15960,7 +15960,7 @@ const EU = (0, P.defineComponent)({
15960
15960
  var Te, it = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
15961
15961
  if (Ue.value)
15962
15962
  return !!be.value(ie, Hs({}, it));
15963
- if (j.value) {
15963
+ if (O.value) {
15964
15964
  var kn, Cn = IU.parse(ve).map(function(_o) {
15965
15965
  return _o.type === 2 ? _o.target.toLowerCase() : _o.target;
15966
15966
  }), zr = Cn.reduce(function(_o, Kh) {
@@ -15982,7 +15982,7 @@ const EU = (0, P.defineComponent)({
15982
15982
  var Dr = function(ie) {
15983
15983
  ie !== l.value && (r("update:modelValue", ie, l.value), r("change", ie, l.value), bu());
15984
15984
  }, v8 = function() {
15985
- We.value || U.value === "manual" || (vr(), le());
15985
+ We.value || Y.value === "manual" || (vr(), le());
15986
15986
  }, y8 = function(ie) {
15987
15987
  u.value && (fi.value = ie);
15988
15988
  }, b8 = function(ie, ve) {
@@ -16070,7 +16070,7 @@ const EU = (0, P.defineComponent)({
16070
16070
  R.value.forEach(function(Te) {
16071
16071
  Te.disabled || ve.has(Te.optionID) || ve.set(Te.optionID, Te.optionName || Te.optionID);
16072
16072
  }), (ie = F.value) === null || ie === void 0 || ie.forEach(function(Te) {
16073
- Te.disabled || ve.has(Te[V.value]) || ve.set(Te[V.value], Te[Z.value]);
16073
+ Te.disabled || ve.has(Te[V.value]) || ve.set(Te[V.value], Te[U.value]);
16074
16074
  }), G.value = Array.from(ve.keys()).map(function(Te) {
16075
16075
  return {
16076
16076
  value: Te,
@@ -16137,7 +16137,7 @@ const EU = (0, P.defineComponent)({
16137
16137
  }, S8 = function(ie) {
16138
16138
  G.value = ie.map(function(ve) {
16139
16139
  return {
16140
- label: ve[Z.value],
16140
+ label: ve[U.value],
16141
16141
  value: ve[V.value]
16142
16142
  };
16143
16143
  });
@@ -16987,7 +16987,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16987
16987
  n.d(t, {
16988
16988
  bkTooltips: () => (
16989
16989
  /* reexport */
16990
- Z
16990
+ U
16991
16991
  )
16992
16992
  });
16993
16993
  function r(E, _) {
@@ -17006,19 +17006,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17006
17006
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
17007
17007
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
17008
17008
  }
17009
- var ue = !0, be = !1, j;
17009
+ var ue = !0, be = !1, O;
17010
17010
  return { s: function() {
17011
17011
  B = B.call(E);
17012
17012
  }, n: function() {
17013
17013
  var L = B.next();
17014
17014
  return ue = L.done, L;
17015
17015
  }, e: function(L) {
17016
- be = !0, j = L;
17016
+ be = !0, O = L;
17017
17017
  }, f: function() {
17018
17018
  try {
17019
17019
  !ue && B.return != null && B.return();
17020
17020
  } finally {
17021
- if (be) throw j;
17021
+ if (be) throw O;
17022
17022
  }
17023
17023
  } };
17024
17024
  }
@@ -17048,14 +17048,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17048
17048
  var be = ue.value.documentHandler;
17049
17049
  be(E, s);
17050
17050
  }
17051
- } catch (j) {
17052
- ae.e(j);
17051
+ } catch (O) {
17052
+ ae.e(O);
17053
17053
  } finally {
17054
17054
  ae.f();
17055
17055
  }
17056
17056
  }
17057
- } catch (j) {
17058
- _.e(j);
17057
+ } catch (O) {
17058
+ _.e(O);
17059
17059
  } finally {
17060
17060
  _.f();
17061
17061
  }
@@ -17090,29 +17090,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17090
17090
  }
17091
17091
  var v = /* @__PURE__ */ new WeakMap(), b = {
17092
17092
  beforeMount: function(_, B) {
17093
- var X = y(B), ae = X.trigger, ue = X.showOnInit, be = x(X), j = null;
17093
+ var X = y(B), ae = X.trigger, ue = X.showOnInit, be = x(X), O = null;
17094
17094
  if (ue && (0, d.nextTick)(function() {
17095
- O(_);
17095
+ j(_);
17096
17096
  }), ae === "hover") {
17097
17097
  var S = null;
17098
17098
  _.addEventListener("mouseenter", function() {
17099
- j = setTimeout(function() {
17100
- O(_), clearTimeout(S), clearTimeout(j);
17099
+ O = setTimeout(function() {
17100
+ j(_), clearTimeout(S), clearTimeout(O);
17101
17101
  }, X.delay);
17102
17102
  }), be.addEventListener("mouseenter", function() {
17103
17103
  clearTimeout(S);
17104
17104
  }), _.addEventListener("mouseleave", function() {
17105
- clearTimeout(j), S = setTimeout(function() {
17105
+ clearTimeout(O), S = setTimeout(function() {
17106
17106
  F(_);
17107
17107
  }, 100);
17108
17108
  }), be.addEventListener("mouseleave", function() {
17109
- clearTimeout(j), S = setTimeout(function() {
17109
+ clearTimeout(O), S = setTimeout(function() {
17110
17110
  F(_);
17111
17111
  }, 100);
17112
17112
  });
17113
17113
  } else ae === "click" && document.body.addEventListener("click", function(L) {
17114
- _.contains(L.target) && !be.hasAttribute("data-show") ? j = setTimeout(function() {
17115
- O(_), clearTimeout(j);
17114
+ _.contains(L.target) && !be.hasAttribute("data-show") ? O = setTimeout(function() {
17115
+ j(_), clearTimeout(O);
17116
17116
  }, X.delay) : !_.contains(L.target) && be.hasAttribute("data-show") && F(_);
17117
17117
  });
17118
17118
  v.set(_, {
@@ -17161,19 +17161,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17161
17161
  }
17162
17162
  }
17163
17163
  function x(E) {
17164
- var _ = E.content, B = E.arrow, X = E.theme, ae = E.extCls, ue = X === "light", be = h.bkZIndexManager.getPopperIndex(), j = document.createElement("div"), S = document.documentElement.style.getPropertyValue("--bk-prefix") || "bk";
17165
- if (j.className = "".concat((0, h.resolveClassName)("popper", S), " ").concat(ue ? "light" : "dark", " ").concat(ae), j.innerText = _, j.style.zIndex = String(be), w(_, j), B) {
17164
+ var _ = E.content, B = E.arrow, X = E.theme, ae = E.extCls, ue = X === "light", be = h.bkZIndexManager.getPopperIndex(), O = document.createElement("div"), S = document.documentElement.style.getPropertyValue("--bk-prefix") || "bk";
17165
+ if (O.className = "".concat((0, h.resolveClassName)("popper", S), " ").concat(ue ? "light" : "dark", " ").concat(ae), O.innerText = _, O.style.zIndex = String(be), w(_, O), B) {
17166
17166
  var L = T();
17167
- j.appendChild(L);
17167
+ O.appendChild(L);
17168
17168
  }
17169
- return j;
17169
+ return O;
17170
17170
  }
17171
17171
  function T() {
17172
17172
  var E = document.createElement("div"), _ = document.documentElement.style.getPropertyValue("--bk-prefix") || "bk";
17173
17173
  return E.className = (0, h.resolveClassName)("popper-arrow", _), E.setAttribute("data-popper-arrow", ""), E;
17174
17174
  }
17175
17175
  function M(E, _) {
17176
- var B = v.get(E), X = B.opts, ae = X.placement, ue = X.distance, be = X.sameWidth, j = (0, p.createPopper)(E, _, {
17176
+ var B = v.get(E), X = B.opts, ae = X.placement, ue = X.distance, be = X.sameWidth, O = (0, p.createPopper)(E, _, {
17177
17177
  placement: ae,
17178
17178
  modifiers: [{
17179
17179
  name: "offset",
@@ -17191,19 +17191,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17191
17191
  phase: "beforeWrite",
17192
17192
  requires: ["computeStyles"],
17193
17193
  fn: function(L) {
17194
- var U = L.state;
17195
- U.styles.popper.width = "".concat(U.rects.reference.width, "px");
17194
+ var Y = L.state;
17195
+ Y.styles.popper.width = "".concat(Y.rects.reference.width, "px");
17196
17196
  },
17197
17197
  effect: function(L) {
17198
- var U = L.state;
17199
- U.elements.popper.style.overflowWrap = "break-word", U.elements.popper.style.width = "".concat(U.elements.reference.offsetWidth, "px");
17198
+ var Y = L.state;
17199
+ Y.elements.popper.style.overflowWrap = "break-word", Y.elements.popper.style.width = "".concat(Y.elements.reference.offsetWidth, "px");
17200
17200
  }
17201
17201
  }] : []))
17202
17202
  });
17203
- return j;
17203
+ return O;
17204
17204
  }
17205
- function O(E) {
17206
- var _ = v.get(E), B = _.popper, X = _.opts, ae = X.disabled, ue = X.content, be = X.arrow, j = X.onShow, S = X.boundary, L = X.modifiers, U = L === void 0 ? [] : L;
17205
+ function j(E) {
17206
+ var _ = v.get(E), B = _.popper, X = _.opts, ae = X.disabled, ue = X.content, be = X.arrow, O = X.onShow, S = X.boundary, L = X.modifiers, Y = L === void 0 ? [] : L;
17207
17207
  if (!ae) {
17208
17208
  if (w(ue, B), be) {
17209
17209
  var $ = T();
@@ -17212,9 +17212,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17212
17212
  var ee = document.body;
17213
17213
  S && (S === "parent" ? ee = E.parentElement : S instanceof HTMLElement && (ee = S)), ee.appendChild(B);
17214
17214
  var re = M(E, B);
17215
- j(), B.setAttribute("data-show", ""), re.setOptions(function(Y) {
17216
- return g(g({}, Y), {}, {
17217
- modifiers: [].concat((0, u.default)(Y.modifiers), (0, u.default)(U), [{
17215
+ O(), B.setAttribute("data-show", ""), re.setOptions(function(Z) {
17216
+ return g(g({}, Z), {}, {
17217
+ modifiers: [].concat((0, u.default)(Z.modifiers), (0, u.default)(Y), [{
17218
17218
  name: "eventListeners",
17219
17219
  enabled: !0
17220
17220
  }])
@@ -17231,7 +17231,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17231
17231
  }
17232
17232
  }
17233
17233
  }
17234
- const Z = b;
17234
+ const U = b;
17235
17235
  var V = (E) => {
17236
17236
  var _ = {};
17237
17237
  return n.d(_, E), _;
@@ -18023,13 +18023,13 @@ const FT = (0, ct.defineComponent)({
18023
18023
  return function() {
18024
18024
  if (M = M + 1, M >= w.length)
18025
18025
  return i.emit("validate", t.property, !0, ""), Promise.resolve(!0);
18026
- var O = w[M];
18026
+ var j = w[M];
18027
18027
  return Promise.resolve().then(function() {
18028
- var F = O.validator(x);
18028
+ var F = j.validator(x);
18029
18029
  if (typeof F != "boolean" && typeof F != "string" && typeof F.then == "function")
18030
18030
  return F.then(function(V) {
18031
18031
  if (V === !1)
18032
- return Promise.reject(Y2(O));
18032
+ return Promise.reject(Y2(j));
18033
18033
  if (typeof V == "string")
18034
18034
  return Promise.reject(V);
18035
18035
  }).then(function() {
@@ -18038,8 +18038,8 @@ const FT = (0, ct.defineComponent)({
18038
18038
  return y && (c.isError = !0, c.errorMessage = V), i.emit("validate", t.property, !1, V), Promise.reject(c.errorMessage);
18039
18039
  });
18040
18040
  if (F === !1) {
18041
- var Z = Y2(O);
18042
- return y && (c.isError = !0, c.errorMessage = typeof F == "string" ? F : Z), i.emit("validate", t.property, !1, Z), Promise.reject(c.errorMessage);
18041
+ var U = Y2(j);
18042
+ return y && (c.isError = !0, c.errorMessage = typeof F == "string" ? F : U), i.emit("validate", t.property, !1, U), Promise.reject(c.errorMessage);
18043
18043
  }
18044
18044
  return T();
18045
18045
  });
@@ -18139,9 +18139,9 @@ var cX = {
18139
18139
  }
18140
18140
  });
18141
18141
  var s = a(279), l = /* @__PURE__ */ a.n(s), c = a(370), u = /* @__PURE__ */ a.n(c), d = a(817), h = /* @__PURE__ */ a.n(d);
18142
- function f(j) {
18142
+ function f(O) {
18143
18143
  try {
18144
- return document.execCommand(j);
18144
+ return document.execCommand(O);
18145
18145
  } catch {
18146
18146
  return !1;
18147
18147
  }
@@ -18150,40 +18150,40 @@ var cX = {
18150
18150
  var L = h()(S);
18151
18151
  return f("cut"), L;
18152
18152
  }, m = p;
18153
- function g(j) {
18153
+ function g(O) {
18154
18154
  var S = document.documentElement.getAttribute("dir") === "rtl", L = document.createElement("textarea");
18155
18155
  L.style.fontSize = "12pt", L.style.border = "0", L.style.padding = "0", L.style.margin = "0", L.style.position = "absolute", L.style[S ? "right" : "left"] = "-9999px";
18156
- var U = window.pageYOffset || document.documentElement.scrollTop;
18157
- return L.style.top = "".concat(U, "px"), L.setAttribute("readonly", ""), L.value = j, L;
18156
+ var Y = window.pageYOffset || document.documentElement.scrollTop;
18157
+ return L.style.top = "".concat(Y, "px"), L.setAttribute("readonly", ""), L.value = O, L;
18158
18158
  }
18159
18159
  var v = function(S, L) {
18160
- var U = g(S);
18161
- L.container.appendChild(U);
18162
- var $ = h()(U);
18163
- return f("copy"), U.remove(), $;
18160
+ var Y = g(S);
18161
+ L.container.appendChild(Y);
18162
+ var $ = h()(Y);
18163
+ return f("copy"), Y.remove(), $;
18164
18164
  }, b = function(S) {
18165
18165
  var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
18166
18166
  container: document.body
18167
- }, U = "";
18168
- return typeof S == "string" ? U = v(S, L) : S instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(S == null ? void 0 : S.type) ? U = v(S.value, L) : (U = h()(S), f("copy")), U;
18167
+ }, Y = "";
18168
+ return typeof S == "string" ? Y = v(S, L) : S instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(S == null ? void 0 : S.type) ? Y = v(S.value, L) : (Y = h()(S), f("copy")), Y;
18169
18169
  }, C = b;
18170
- function y(j) {
18170
+ function y(O) {
18171
18171
  "@babel/helpers - typeof";
18172
18172
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? y = function(L) {
18173
18173
  return typeof L;
18174
18174
  } : y = function(L) {
18175
18175
  return L && typeof Symbol == "function" && L.constructor === Symbol && L !== Symbol.prototype ? "symbol" : typeof L;
18176
- }, y(j);
18176
+ }, y(O);
18177
18177
  }
18178
18178
  var w = function() {
18179
- var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = S.action, U = L === void 0 ? "copy" : L, $ = S.container, ee = S.target, re = S.text;
18180
- if (U !== "copy" && U !== "cut")
18179
+ var S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = S.action, Y = L === void 0 ? "copy" : L, $ = S.container, ee = S.target, re = S.text;
18180
+ if (Y !== "copy" && Y !== "cut")
18181
18181
  throw new Error('Invalid "action" value, use either "copy" or "cut"');
18182
18182
  if (ee !== void 0)
18183
18183
  if (ee && y(ee) === "object" && ee.nodeType === 1) {
18184
- if (U === "copy" && ee.hasAttribute("disabled"))
18184
+ if (Y === "copy" && ee.hasAttribute("disabled"))
18185
18185
  throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
18186
- if (U === "cut" && (ee.hasAttribute("readonly") || ee.hasAttribute("disabled")))
18186
+ if (Y === "cut" && (ee.hasAttribute("readonly") || ee.hasAttribute("disabled")))
18187
18187
  throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
18188
18188
  } else
18189
18189
  throw new Error('Invalid "target" value, use a valid Element');
@@ -18192,60 +18192,60 @@ var cX = {
18192
18192
  container: $
18193
18193
  });
18194
18194
  if (ee)
18195
- return U === "cut" ? m(ee) : C(ee, {
18195
+ return Y === "cut" ? m(ee) : C(ee, {
18196
18196
  container: $
18197
18197
  });
18198
18198
  }, x = w;
18199
- function T(j) {
18199
+ function T(O) {
18200
18200
  "@babel/helpers - typeof";
18201
18201
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? T = function(L) {
18202
18202
  return typeof L;
18203
18203
  } : T = function(L) {
18204
18204
  return L && typeof Symbol == "function" && L.constructor === Symbol && L !== Symbol.prototype ? "symbol" : typeof L;
18205
- }, T(j);
18205
+ }, T(O);
18206
18206
  }
18207
- function M(j, S) {
18208
- if (!(j instanceof S))
18207
+ function M(O, S) {
18208
+ if (!(O instanceof S))
18209
18209
  throw new TypeError("Cannot call a class as a function");
18210
18210
  }
18211
- function O(j, S) {
18211
+ function j(O, S) {
18212
18212
  for (var L = 0; L < S.length; L++) {
18213
- var U = S[L];
18214
- U.enumerable = U.enumerable || !1, U.configurable = !0, "value" in U && (U.writable = !0), Object.defineProperty(j, U.key, U);
18213
+ var Y = S[L];
18214
+ Y.enumerable = Y.enumerable || !1, Y.configurable = !0, "value" in Y && (Y.writable = !0), Object.defineProperty(O, Y.key, Y);
18215
18215
  }
18216
18216
  }
18217
- function F(j, S, L) {
18218
- return S && O(j.prototype, S), L && O(j, L), j;
18217
+ function F(O, S, L) {
18218
+ return S && j(O.prototype, S), L && j(O, L), O;
18219
18219
  }
18220
- function Z(j, S) {
18220
+ function U(O, S) {
18221
18221
  if (typeof S != "function" && S !== null)
18222
18222
  throw new TypeError("Super expression must either be null or a function");
18223
- j.prototype = Object.create(S && S.prototype, { constructor: { value: j, writable: !0, configurable: !0 } }), S && V(j, S);
18223
+ O.prototype = Object.create(S && S.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), S && V(O, S);
18224
18224
  }
18225
- function V(j, S) {
18226
- return V = Object.setPrototypeOf || function(U, $) {
18227
- return U.__proto__ = $, U;
18228
- }, V(j, S);
18225
+ function V(O, S) {
18226
+ return V = Object.setPrototypeOf || function(Y, $) {
18227
+ return Y.__proto__ = $, Y;
18228
+ }, V(O, S);
18229
18229
  }
18230
- function H(j) {
18230
+ function H(O) {
18231
18231
  var S = B();
18232
18232
  return function() {
18233
- var U = X(j), $;
18233
+ var Y = X(O), $;
18234
18234
  if (S) {
18235
18235
  var ee = X(this).constructor;
18236
- $ = Reflect.construct(U, arguments, ee);
18236
+ $ = Reflect.construct(Y, arguments, ee);
18237
18237
  } else
18238
- $ = U.apply(this, arguments);
18238
+ $ = Y.apply(this, arguments);
18239
18239
  return E(this, $);
18240
18240
  };
18241
18241
  }
18242
- function E(j, S) {
18243
- return S && (T(S) === "object" || typeof S == "function") ? S : _(j);
18242
+ function E(O, S) {
18243
+ return S && (T(S) === "object" || typeof S == "function") ? S : _(O);
18244
18244
  }
18245
- function _(j) {
18246
- if (j === void 0)
18245
+ function _(O) {
18246
+ if (O === void 0)
18247
18247
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
18248
- return j;
18248
+ return O;
18249
18249
  }
18250
18250
  function B() {
18251
18251
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
@@ -18257,22 +18257,22 @@ var cX = {
18257
18257
  return !1;
18258
18258
  }
18259
18259
  }
18260
- function X(j) {
18260
+ function X(O) {
18261
18261
  return X = Object.setPrototypeOf ? Object.getPrototypeOf : function(L) {
18262
18262
  return L.__proto__ || Object.getPrototypeOf(L);
18263
- }, X(j);
18263
+ }, X(O);
18264
18264
  }
18265
- function ae(j, S) {
18266
- var L = "data-clipboard-".concat(j);
18265
+ function ae(O, S) {
18266
+ var L = "data-clipboard-".concat(O);
18267
18267
  if (S.hasAttribute(L))
18268
18268
  return S.getAttribute(L);
18269
18269
  }
18270
- var ue = /* @__PURE__ */ function(j) {
18271
- Z(L, j);
18270
+ var ue = /* @__PURE__ */ function(O) {
18271
+ U(L, O);
18272
18272
  var S = H(L);
18273
- function L(U, $) {
18273
+ function L(Y, $) {
18274
18274
  var ee;
18275
- return M(this, L), ee = S.call(this), ee.resolveOptions($), ee.listenClick(U), ee;
18275
+ return M(this, L), ee = S.call(this), ee.resolveOptions($), ee.listenClick(Y), ee;
18276
18276
  }
18277
18277
  return F(L, [{
18278
18278
  key: "resolveOptions",
@@ -18299,15 +18299,15 @@ var cX = {
18299
18299
  }, {
18300
18300
  key: "onClick",
18301
18301
  value: function($) {
18302
- var ee = $.delegateTarget || $.currentTarget, re = this.action(ee) || "copy", Y = x({
18302
+ var ee = $.delegateTarget || $.currentTarget, re = this.action(ee) || "copy", Z = x({
18303
18303
  action: re,
18304
18304
  container: this.container,
18305
18305
  target: this.target(ee),
18306
18306
  text: this.text(ee)
18307
18307
  });
18308
- this.emit(Y ? "success" : "error", {
18308
+ this.emit(Z ? "success" : "error", {
18309
18309
  action: re,
18310
- text: Y,
18310
+ text: Z,
18311
18311
  trigger: ee,
18312
18312
  clearSelection: function() {
18313
18313
  ee && ee.focus(), window.getSelection().removeAllRanges();
@@ -18384,8 +18384,8 @@ var cX = {
18384
18384
  key: "isSupported",
18385
18385
  value: function() {
18386
18386
  var $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], ee = typeof $ == "string" ? [$] : $, re = !!document.queryCommandSupported;
18387
- return ee.forEach(function(Y) {
18388
- re = re && !!document.queryCommandSupported(Y);
18387
+ return ee.forEach(function(Z) {
18388
+ re = re && !!document.queryCommandSupported(Z);
18389
18389
  }), re;
18390
18390
  }
18391
18391
  }]), L;
@@ -19205,12 +19205,12 @@ const LX = (0, Se.defineComponent)({
19205
19205
  zIndex: d,
19206
19206
  position: C.value ? "absolute" : "fixed"
19207
19207
  }, b.value);
19208
- }), w = (0, Se.ref)(null), x = (0, Se.ref)(null), T = (0, Se.ref)(null), M = (0, Se.ref)(!1), O = (0, Se.reactive)({
19208
+ }), w = (0, Se.ref)(null), x = (0, Se.ref)(null), T = (0, Se.ref)(null), M = (0, Se.ref)(!1), j = (0, Se.reactive)({
19209
19209
  isFix: !1,
19210
19210
  isDetailShow: !1
19211
- }), F = null, Z = function() {
19211
+ }), F = null, U = function() {
19212
19212
  F = setTimeout(function() {
19213
- O.isFix || (M.value = !1);
19213
+ j.isFix || (M.value = !1);
19214
19214
  }, g.value);
19215
19215
  }, V = function(Q) {
19216
19216
  Q.preventDefault(), Q.stopPropagation(), M.value = !1;
@@ -19262,7 +19262,7 @@ const LX = (0, Se.defineComponent)({
19262
19262
  }
19263
19263
  return te;
19264
19264
  }, be = function(Q, te) {
19265
- if (O.isDetailShow = te ?? !O.isDetailShow, j(Q, O.isDetailShow), O.isDetailShow && ar(t.message) === "object" && !(0, Se.isVNode)(t.message)) {
19265
+ if (j.isDetailShow = te ?? !j.isDetailShow, O(Q, j.isDetailShow), j.isDetailShow && ar(t.message) === "object" && !(0, Se.isVNode)(t.message)) {
19266
19266
  if (t.message.type === ml.JSON || !t.message.type) {
19267
19267
  var oe = ue(t.message.details), Me = new (_X())(oe);
19268
19268
  setTimeout(function() {
@@ -19271,10 +19271,10 @@ const LX = (0, Se.defineComponent)({
19271
19271
  }
19272
19272
  t.message.type === ml.KEY_VALUE && setTimeout(function() {
19273
19273
  B(), ae();
19274
- }), i("detail", O.isDetailShow, t.id);
19274
+ }), i("detail", j.isDetailShow, t.id);
19275
19275
  }
19276
- }, j = function(Q, te) {
19277
- O.isFix = te ?? !O.isFix;
19276
+ }, O = function(Q, te) {
19277
+ j.isFix = te ?? !j.isFix;
19278
19278
  }, S = function() {
19279
19279
  var Q = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, te = ar(t.message) === "object" && !(0, Se.isVNode)(t.message);
19280
19280
  if (te) {
@@ -19285,19 +19285,19 @@ const LX = (0, Se.defineComponent)({
19285
19285
  document.addEventListener("keydown", L);
19286
19286
  }
19287
19287
  }, L = function(Q) {
19288
- Q.altKey && Q.keyCode === 80 && j();
19288
+ Q.altKey && Q.keyCode === 80 && O();
19289
19289
  };
19290
19290
  (0, Se.onMounted)(function() {
19291
- g.value && Z(), M.value = !0, S();
19291
+ g.value && U(), M.value = !0, S();
19292
19292
  }), (0, Se.onUnmounted)(function() {
19293
19293
  clearTimeout(F), S(!0);
19294
19294
  }), (0, Se.watch)(M, function() {
19295
19295
  M.value || i("destroy", t.id);
19296
19296
  });
19297
- var U = function(Q) {
19297
+ var Y = function(Q) {
19298
19298
  clearTimeout(F);
19299
19299
  }, $ = function(Q) {
19300
- g.value && Z();
19300
+ g.value && U();
19301
19301
  }, ee = function(Q) {
19302
19302
  t.message.assistant && window.open(t.message.assistant, "_blank");
19303
19303
  }, re = (0, Se.computed)(function() {
@@ -19315,7 +19315,7 @@ const LX = (0, Se.defineComponent)({
19315
19315
  }), jn.DETAILS, {
19316
19316
  id: jn.DETAILS,
19317
19317
  icon: function() {
19318
- return O.isDetailShow ? (0, Se.createVNode)(tr.AngleDoubleUpLine, null, null) : (0, Se.createVNode)(tr.AngleDoubleDownLine, null, null);
19318
+ return j.isDetailShow ? (0, Se.createVNode)(tr.AngleDoubleUpLine, null, null) : (0, Se.createVNode)(tr.AngleDoubleDownLine, null, null);
19319
19319
  },
19320
19320
  text: function() {
19321
19321
  return s.value.details;
@@ -19326,11 +19326,11 @@ const LX = (0, Se.defineComponent)({
19326
19326
  }), jn.FIX, {
19327
19327
  id: jn.FIX,
19328
19328
  icon: function() {
19329
- return O.isFix ? (0, Se.createVNode)(tr.FixShape, null, null) : (0, Se.createVNode)(tr.FixLine, null, null);
19329
+ return j.isFix ? (0, Se.createVNode)(tr.FixShape, null, null) : (0, Se.createVNode)(tr.FixLine, null, null);
19330
19330
  },
19331
- classList: O.isFix ? "fixed" : "",
19331
+ classList: j.isFix ? "fixed" : "",
19332
19332
  onClick: function(Q) {
19333
- return j();
19333
+ return O();
19334
19334
  }
19335
19335
  }), jn.CLOSE, {
19336
19336
  id: jn.CLOSE,
@@ -19343,7 +19343,7 @@ const LX = (0, Se.defineComponent)({
19343
19343
  },
19344
19344
  onClick: V
19345
19345
  });
19346
- }), Y = [jn.ASSISTANT, jn.DETAILS, jn.FIX, jn.CLOSE], D = (0, Se.computed)(function() {
19346
+ }), Z = [jn.ASSISTANT, jn.DETAILS, jn.FIX, jn.CLOSE], D = (0, Se.computed)(function() {
19347
19347
  var J;
19348
19348
  if (((J = t.actions) === null || J === void 0 ? void 0 : J.length) > 0) {
19349
19349
  var Q = t.actions.map(function(oe) {
@@ -19356,7 +19356,7 @@ const LX = (0, Se.defineComponent)({
19356
19356
  var N = Reflect.apply(oe.onClick, r, []);
19357
19357
  (ar(N) === void 0 || N) && typeof Ae == "function" && Reflect.apply(Ae, r, []);
19358
19358
  }, Le) : (Le.onClick = Ae, Le);
19359
- }), te = Y.filter(function(oe) {
19359
+ }), te = Z.filter(function(oe) {
19360
19360
  return !Q.some(function(Me) {
19361
19361
  return Me.id === oe;
19362
19362
  });
@@ -19365,7 +19365,7 @@ const LX = (0, Se.defineComponent)({
19365
19365
  });
19366
19366
  return Q.push.apply(Q, fp(te)), Q;
19367
19367
  }
19368
- return Y.map(function(oe) {
19368
+ return Z.map(function(oe) {
19369
19369
  return re.value[oe];
19370
19370
  });
19371
19371
  }), A = function() {
@@ -19407,16 +19407,16 @@ const LX = (0, Se.defineComponent)({
19407
19407
  visible: M,
19408
19408
  close: V,
19409
19409
  setDetailsShow: be,
19410
- fixMesage: j,
19410
+ fixMesage: O,
19411
19411
  copyMessage: B,
19412
19412
  parseToJson: ue,
19413
- handleMouseenter: U,
19413
+ handleMouseenter: Y,
19414
19414
  handleMouseleave: $,
19415
19415
  renderMessageActions: A,
19416
19416
  refJsonContent: w,
19417
19417
  refCopyStatus: x,
19418
19418
  refCopyMsgDiv: T,
19419
- toolOperation: O,
19419
+ toolOperation: j,
19420
19420
  copyStatus: E,
19421
19421
  t: s,
19422
19422
  resolveClassName: c,
@@ -20829,9 +20829,9 @@ class _K {
20829
20829
  `).forEach((g) => {
20830
20830
  const v = g.replace("data:", "").trim();
20831
20831
  if (bK(v)) {
20832
- const { event: x, content: T, cover: M, documents: O, result: F, code: Z, elapsed_time: V, message: H } = JSON.parse(v);
20832
+ const { event: x, content: T, cover: M, documents: j, result: F, code: U, elapsed_time: V, message: H } = JSON.parse(v);
20833
20833
  if (F === !1 || u.status !== 200) {
20834
- o.handleError(t, H || "模型调用失败", Z);
20834
+ o.handleError(t, H || "模型调用失败", U);
20835
20835
  return;
20836
20836
  }
20837
20837
  switch (x) {
@@ -20840,7 +20840,7 @@ class _K {
20840
20840
  break;
20841
20841
  case "reference_doc":
20842
20842
  var b, C;
20843
- (b = (C = o).handleReferenceDoc) === null || b === void 0 || b.call(C, t, O, M);
20843
+ (b = (C = o).handleReferenceDoc) === null || b === void 0 || b.call(C, t, j, M);
20844
20844
  break;
20845
20845
  case "think":
20846
20846
  var y, w;
@@ -20850,7 +20850,7 @@ class _K {
20850
20850
  o.handleEnd(t, M ? T : "");
20851
20851
  break;
20852
20852
  case "error":
20853
- o.handleError(t, H || "模型调用失败", Z);
20853
+ o.handleError(t, H || "模型调用失败", U);
20854
20854
  break;
20855
20855
  }
20856
20856
  h = "";
@@ -21986,8 +21986,8 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
21986
21986
  handleStart: be,
21987
21987
  handleText: ee,
21988
21988
  handleReferenceDoc: S,
21989
- handleThink: U,
21990
- handleEnd: Y,
21989
+ handleThink: Y,
21990
+ handleEnd: Z,
21991
21991
  handleError: A
21992
21992
  });
21993
21993
  function w(N) {
@@ -22000,14 +22000,14 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22000
22000
  function M(N) {
22001
22001
  d.value = N, N != null && N.sessionCode && (p[N.sessionCode] || (p[N.sessionCode] = []), f.value = p[N.sessionCode]);
22002
22002
  }
22003
- function O(N) {
22003
+ function j(N) {
22004
22004
  d.value && (p[d.value.sessionCode] = N, f.value = N);
22005
22005
  }
22006
22006
  function F(N) {
22007
- return Z.apply(this, arguments);
22007
+ return U.apply(this, arguments);
22008
22008
  }
22009
- function Z() {
22010
- return Z = // 自动设置 currentSession 以及当然 sessionConetnts内容
22009
+ function U() {
22010
+ return U = // 自动设置 currentSession 以及当然 sessionConetnts内容
22011
22011
  hi(function* (N) {
22012
22012
  d.value = N;
22013
22013
  try {
@@ -22017,7 +22017,7 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22017
22017
  } catch {
22018
22018
  g.value = !1;
22019
22019
  }
22020
- }), Z.apply(this, arguments);
22020
+ }), U.apply(this, arguments);
22021
22021
  }
22022
22022
  function V(N, ne) {
22023
22023
  return E(ne).find((W) => W.id === N);
@@ -22081,10 +22081,10 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22081
22081
  return l.batchDeleteSessionContents(R);
22082
22082
  }
22083
22083
  function be(N) {
22084
- return j.apply(this, arguments);
22084
+ return O.apply(this, arguments);
22085
22085
  }
22086
- function j() {
22087
- return j = // 聊天开始
22086
+ function O() {
22087
+ return O = // 聊天开始
22088
22088
  hi(function* (N) {
22089
22089
  h.value[N] = !0;
22090
22090
  const ne = {
@@ -22094,7 +22094,7 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22094
22094
  content: c
22095
22095
  };
22096
22096
  return yield _(N, ne), e == null ? void 0 : e(N, ne);
22097
- }), j.apply(this, arguments);
22097
+ }), O.apply(this, arguments);
22098
22098
  }
22099
22099
  function S(N, ne, R) {
22100
22100
  return L.apply(this, arguments);
@@ -22106,7 +22106,7 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22106
22106
  W.content = R ? G : W.content + G, yield T(W.id, W), yield n == null ? void 0 : n(N, W);
22107
22107
  }), L.apply(this, arguments);
22108
22108
  }
22109
- function U(N, ne, R, W) {
22109
+ function Y(N, ne, R, W) {
22110
22110
  return $.apply(this, arguments);
22111
22111
  }
22112
22112
  function $() {
@@ -22132,7 +22132,7 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22132
22132
  yield T(W.id, W), yield t == null ? void 0 : t(N, W);
22133
22133
  }), re.apply(this, arguments);
22134
22134
  }
22135
- function Y(N, ne) {
22135
+ function Z(N, ne) {
22136
22136
  return D.apply(this, arguments);
22137
22137
  }
22138
22138
  function D() {
@@ -22265,7 +22265,7 @@ const uq = ({ handleStart: e, handleText: t, handleReferenceDoc: n, handleThink:
22265
22265
  getSessionContentsBySessionCode: E,
22266
22266
  setCurrentSession: M,
22267
22267
  setCurrentSessionChain: F,
22268
- setSessionContents: O,
22268
+ setSessionContents: j,
22269
22269
  deleteSessionContent: ae,
22270
22270
  deleteSessionContents: ue,
22271
22271
  handleStartChat: be,
@@ -24317,8 +24317,8 @@ function yv(e = Ot.visualDuration, t = Ot.bounce) {
24317
24317
  else {
24318
24318
  let T = 0;
24319
24319
  m < 1 && (T = w === 0 ? /* @__PURE__ */ ki(p) : YM(C, w, x));
24320
- const M = Math.abs(T) <= r, O = Math.abs(a - x) <= i;
24321
- s.done = M && O;
24320
+ const M = Math.abs(T) <= r, j = Math.abs(a - x) <= i;
24321
+ s.done = M && j;
24322
24322
  }
24323
24323
  return s.value = s.done ? a : x, s;
24324
24324
  },
@@ -24338,8 +24338,8 @@ function m3({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
24338
24338
  const g = d + m, v = a === void 0 ? g : a(g);
24339
24339
  v !== g && (m = v - d);
24340
24340
  const b = (M) => -m * Math.exp(-M / r), C = (M) => v + b(M), y = (M) => {
24341
- const O = b(M), F = C(M);
24342
- h.done = Math.abs(O) <= c, h.value = h.done ? v : F;
24341
+ const j = b(M), F = C(M);
24342
+ h.done = Math.abs(j) <= c, h.value = h.done ? v : F;
24343
24343
  };
24344
24344
  let w, x;
24345
24345
  const T = (M) => {
@@ -24356,8 +24356,8 @@ function m3({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
24356
24356
  return T(0), {
24357
24357
  calculatedDuration: null,
24358
24358
  next: (M) => {
24359
- let O = !1;
24360
- return !x && w === void 0 && (O = !0, y(M), T(M)), w !== void 0 && M >= w ? x.next(M - w) : (!O && y(M), h);
24359
+ let j = !1;
24360
+ return !x && w === void 0 && (j = !0, y(M), T(M)), w !== void 0 && M >= w ? x.next(M - w) : (!j && y(M), h);
24361
24361
  }
24362
24362
  };
24363
24363
  }
@@ -24521,8 +24521,8 @@ class bv extends WM {
24521
24521
  let C = this.currentTime, y = o;
24522
24522
  if (f) {
24523
24523
  const M = Math.min(this.currentTime, u) / d;
24524
- let O = Math.floor(M), F = M % 1;
24525
- !F && M >= 1 && (F = 1), F === 1 && O--, O = Math.min(O, f + 1), !!(O % 2) && (p === "reverse" ? (F = 1 - F, m && (F -= m / d)) : p === "mirror" && (y = a)), C = fo(0, 1, F) * d;
24524
+ let j = Math.floor(M), F = M % 1;
24525
+ !F && M >= 1 && (F = 1), F === 1 && j--, j = Math.min(j, f + 1), !!(j % 2) && (p === "reverse" ? (F = 1 - F, m && (F -= m / d)) : p === "mirror" && (y = a)), C = fo(0, 1, F) * d;
24526
24526
  }
24527
24527
  const w = b ? { done: !1, value: l[0] } : y.next(C);
24528
24528
  s && (w.value = s(w.value));
@@ -27165,38 +27165,38 @@ function Vre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
27165
27165
  v.at !== void 0 && (d = bC(d, v.at, u, c));
27166
27166
  let b = 0;
27167
27167
  const C = (y, w, x, T = 0, M = 0) => {
27168
- const O = Hre(y), { delay: F = 0, times: Z = qM(O), type: V = "keyframes", repeat: H, repeatType: E, repeatDelay: _ = 0, ...B } = w;
27168
+ const j = Hre(y), { delay: F = 0, times: U = qM(j), type: V = "keyframes", repeat: H, repeatType: E, repeatDelay: _ = 0, ...B } = w;
27169
27169
  let { ease: X = t.ease || "easeOut", duration: ae } = w;
27170
- const ue = typeof F == "function" ? F(T, M) : F, be = O.length, j = kh(V) ? V : i == null ? void 0 : i[V];
27171
- if (be <= 2 && j) {
27170
+ const ue = typeof F == "function" ? F(T, M) : F, be = j.length, O = kh(V) ? V : i == null ? void 0 : i[V];
27171
+ if (be <= 2 && O) {
27172
27172
  let $ = 100;
27173
- if (be === 2 && Ure(O)) {
27174
- const Y = O[1] - O[0];
27175
- $ = Math.abs(Y);
27173
+ if (be === 2 && Ure(j)) {
27174
+ const Z = j[1] - j[0];
27175
+ $ = Math.abs(Z);
27176
27176
  }
27177
27177
  const ee = { ...B };
27178
27178
  ae !== void 0 && (ee.duration = /* @__PURE__ */ ki(ae));
27179
- const re = Dre(ee, $, j);
27179
+ const re = Dre(ee, $, O);
27180
27180
  X = re.ease, ae = re.duration;
27181
27181
  }
27182
27182
  ae ?? (ae = o);
27183
27183
  const S = d + ue;
27184
- Z.length === 1 && Z[0] === 0 && (Z[1] = 1);
27185
- const L = Z.length - O.length;
27186
- if (L > 0 && KM(Z, L), O.length === 1 && O.unshift(null), H) {
27184
+ U.length === 1 && U[0] === 0 && (U[1] = 1);
27185
+ const L = U.length - j.length;
27186
+ if (L > 0 && KM(U, L), j.length === 1 && j.unshift(null), H) {
27187
27187
  ae = Bre(ae, H);
27188
- const $ = [...O], ee = [...Z];
27188
+ const $ = [...j], ee = [...U];
27189
27189
  X = Array.isArray(X) ? [...X] : [X];
27190
27190
  const re = [...X];
27191
- for (let Y = 0; Y < H; Y++) {
27192
- O.push(...$);
27191
+ for (let Z = 0; Z < H; Z++) {
27192
+ j.push(...$);
27193
27193
  for (let D = 0; D < $.length; D++)
27194
- Z.push(ee[D] + (Y + 1)), X.push(D === 0 ? "linear" : PI(re, D - 1));
27194
+ U.push(ee[D] + (Z + 1)), X.push(D === 0 ? "linear" : PI(re, D - 1));
27195
27195
  }
27196
- $re(Z, H);
27196
+ $re(U, H);
27197
27197
  }
27198
- const U = S + ae;
27199
- Fre(x, O, X, Z, S, U), b = Math.max(ue + ae, b), h = Math.max(U, h);
27198
+ const Y = S + ae;
27199
+ Fre(x, j, X, U, S, Y), b = Math.max(ue + ae, b), h = Math.max(Y, h);
27200
27200
  };
27201
27201
  if (pn(m)) {
27202
27202
  const y = CC(m, s);
@@ -27206,8 +27206,8 @@ function Vre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
27206
27206
  for (let x = 0; x < w; x++) {
27207
27207
  g = g, v = v;
27208
27208
  const T = y[x], M = CC(T, s);
27209
- for (const O in g)
27210
- C(g[O], Wre(v, O), wC(O, M), x, w);
27209
+ for (const j in g)
27210
+ C(g[j], Wre(v, j), wC(j, M), x, w);
27211
27211
  }
27212
27212
  }
27213
27213
  u = d, d += b;
@@ -28719,7 +28719,7 @@ function noe(e, t) {
28719
28719
  x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + y.id, y.popper = x, e._tippy = y, x._tippy = y;
28720
28720
  var M = b.map(function(K) {
28721
28721
  return K.fn(y);
28722
- }), O = e.hasAttribute("aria-expanded");
28722
+ }), j = e.hasAttribute("aria-expanded");
28723
28723
  return J(), be(), X(), ae("onCreate", [y]), n.showOnCreate && ne(), x.addEventListener("mouseenter", function() {
28724
28724
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
28725
28725
  }), x.addEventListener("mouseleave", function() {
@@ -28729,7 +28729,7 @@ function noe(e, t) {
28729
28729
  var K = y.props.touch;
28730
28730
  return Array.isArray(K) ? K : [K, 0];
28731
28731
  }
28732
- function Z() {
28732
+ function U() {
28733
28733
  return F()[0] === "hold";
28734
28734
  }
28735
28735
  function V() {
@@ -28776,14 +28776,14 @@ function noe(e, t) {
28776
28776
  }
28777
28777
  }
28778
28778
  function be() {
28779
- if (!(O || !y.props.aria.expanded)) {
28779
+ if (!(j || !y.props.aria.expanded)) {
28780
28780
  var K = ba(y.props.triggerTarget || e);
28781
28781
  K.forEach(function(me) {
28782
28782
  y.props.interactive ? me.setAttribute("aria-expanded", y.state.isVisible && me === H() ? "true" : "false") : me.removeAttribute("aria-expanded");
28783
28783
  });
28784
28784
  }
28785
28785
  }
28786
- function j() {
28786
+ function O() {
28787
28787
  E().removeEventListener("mousemove", p), Hu = Hu.filter(function(K) {
28788
28788
  return K !== p;
28789
28789
  });
@@ -28808,23 +28808,23 @@ function noe(e, t) {
28808
28808
  function L() {
28809
28809
  l = !0;
28810
28810
  }
28811
- function U() {
28811
+ function Y() {
28812
28812
  l = !1;
28813
28813
  }
28814
28814
  function $() {
28815
28815
  var K = E();
28816
- K.addEventListener("mousedown", S, !0), K.addEventListener("touchend", S, Po), K.addEventListener("touchstart", U, Po), K.addEventListener("touchmove", L, Po);
28816
+ K.addEventListener("mousedown", S, !0), K.addEventListener("touchend", S, Po), K.addEventListener("touchstart", Y, Po), K.addEventListener("touchmove", L, Po);
28817
28817
  }
28818
28818
  function ee() {
28819
28819
  var K = E();
28820
- K.removeEventListener("mousedown", S, !0), K.removeEventListener("touchend", S, Po), K.removeEventListener("touchstart", U, Po), K.removeEventListener("touchmove", L, Po);
28820
+ K.removeEventListener("mousedown", S, !0), K.removeEventListener("touchend", S, Po), K.removeEventListener("touchstart", Y, Po), K.removeEventListener("touchmove", L, Po);
28821
28821
  }
28822
28822
  function re(K, me) {
28823
28823
  D(K, function() {
28824
28824
  !y.state.isVisible && x.parentNode && x.parentNode.contains(x) && me();
28825
28825
  });
28826
28826
  }
28827
- function Y(K, me) {
28827
+ function Z(K, me) {
28828
28828
  D(K, me);
28829
28829
  }
28830
28830
  function D(K, me) {
@@ -28849,7 +28849,7 @@ function noe(e, t) {
28849
28849
  });
28850
28850
  }
28851
28851
  function J() {
28852
- Z() && (A("touchstart", te, {
28852
+ U() && (A("touchstart", te, {
28853
28853
  passive: !0
28854
28854
  }), A("touchend", Me, {
28855
28855
  passive: !0
@@ -28894,7 +28894,7 @@ function noe(e, t) {
28894
28894
  props: n
28895
28895
  } : null;
28896
28896
  }).filter(Boolean);
28897
- Qie(et, K) && (j(), R(K));
28897
+ Qie(et, K) && (O(), R(K));
28898
28898
  }
28899
28899
  }
28900
28900
  function Me(K) {
@@ -28911,7 +28911,7 @@ function noe(e, t) {
28911
28911
  y.props.trigger.indexOf("focusin") < 0 && K.target !== H() || y.props.interactive && K.relatedTarget && x.contains(K.relatedTarget) || R(K);
28912
28912
  }
28913
28913
  function Ae(K) {
28914
- return Qr.isTouch ? Z() !== K.type.indexOf("touch") >= 0 : !1;
28914
+ return Qr.isTouch ? U() !== K.type.indexOf("touch") >= 0 : !1;
28915
28915
  }
28916
28916
  function Le() {
28917
28917
  xe();
@@ -29016,7 +29016,7 @@ function noe(e, t) {
29016
29016
  var me = y.props, Ne = NC(e, Object.assign({}, me, LC(K), {
29017
29017
  ignoreAttributes: !0
29018
29018
  }));
29019
- y.props = Ne, J(), me.interactiveDebounce !== Ne.interactiveDebounce && (j(), p = _C(oe, Ne.interactiveDebounce)), me.triggerTarget && !Ne.triggerTarget ? ba(me.triggerTarget).forEach(function(et) {
29019
+ y.props = Ne, J(), me.interactiveDebounce !== Ne.interactiveDebounce && (O(), p = _C(oe, Ne.interactiveDebounce)), me.triggerTarget && !Ne.triggerTarget ? ba(me.triggerTarget).forEach(function(et) {
29020
29020
  et.removeAttribute("aria-expanded");
29021
29021
  }) : Ne.triggerTarget && e.removeAttribute("aria-expanded"), be(), X(), T && T(me, Ne), y.popperInstance && (Le(), N().forEach(function(et) {
29022
29022
  requestAnimationFrame(et._tippy.popperInstance.forceUpdate);
@@ -29042,7 +29042,7 @@ function noe(e, t) {
29042
29042
  var Yn = _(), lt = Yn.box, qt = Yn.content;
29043
29043
  zp([lt, qt], Ue), kC([lt, qt], "visible");
29044
29044
  }
29045
- ue(), be(), SC(Rp, y), (yn = y.popperInstance) == null || yn.forceUpdate(), ae("onMount", [y]), y.props.animation && V() && Y(Ue, function() {
29045
+ ue(), be(), SC(Rp, y), (yn = y.popperInstance) == null || yn.forceUpdate(), ae("onMount", [y]), y.props.animation && V() && Z(Ue, function() {
29046
29046
  y.state.isShown = !0, ae("onShown", [y]);
29047
29047
  });
29048
29048
  }
@@ -29052,7 +29052,7 @@ function noe(e, t) {
29052
29052
  function We() {
29053
29053
  var K = !y.state.isVisible, me = y.state.isDestroyed, Ne = !y.state.isEnabled, et = Dp(y.props.duration, 1, Ir.duration);
29054
29054
  if (!(K || me || Ne) && (ae("onHide", [y], !1), y.props.onHide(y) !== !1)) {
29055
- if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, a = !1, V() && (x.style.visibility = "hidden"), j(), ee(), X(!0), V()) {
29055
+ if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, a = !1, V() && (x.style.visibility = "hidden"), O(), ee(), X(!0), V()) {
29056
29056
  var Ue = _(), yt = Ue.box, kt = Ue.content;
29057
29057
  y.props.animation && (zp([yt, kt], et), kC([yt, kt], "hidden"));
29058
29058
  }
@@ -29339,38 +29339,38 @@ function uoe() {
29339
29339
  const x = o.value[y];
29340
29340
  if (!x)
29341
29341
  return null;
29342
- const T = Object.entries(w).some(([O, F]) => O === "isEdit" ? !1 : x[O] !== F), M = await p(
29342
+ const T = Object.entries(w).some(([j, F]) => j === "isEdit" ? !1 : x[j] !== F), M = await p(
29343
29343
  y,
29344
29344
  { ...w, isEdit: !1 },
29345
29345
  { syncBackend: T }
29346
29346
  );
29347
29347
  return delete o.value[y], M;
29348
29348
  }, p = async (y, w, x = {}) => {
29349
- const { syncBackend: T = !0, forceSync: M = !1 } = x, O = e.value.findIndex((V) => V.sessionCode === y);
29350
- if (O === -1)
29349
+ const { syncBackend: T = !0, forceSync: M = !1 } = x, j = e.value.findIndex((V) => V.sessionCode === y);
29350
+ if (j === -1)
29351
29351
  return null;
29352
- const F = e.value[O], Z = { ...F, ...w };
29353
- if (e.value[O] = Z, e.value = [...e.value], r.value[y] || (r.value[y] = 0), r.value[y]++, t.value && t.value.sessionCode === y && (t.value = { ...t.value, ...w }), T && !w.isEdit || M)
29352
+ const F = e.value[j], U = { ...F, ...w };
29353
+ if (e.value[j] = U, e.value = [...e.value], r.value[y] || (r.value[y] = 0), r.value[y]++, t.value && t.value.sessionCode === y && (t.value = { ...t.value, ...w }), T && !w.isEdit || M)
29354
29354
  try {
29355
- const V = s("modifySessionApi"), H = { ...Z, isEdit: !1 };
29355
+ const V = s("modifySessionApi"), H = { ...U, isEdit: !1 };
29356
29356
  await V(H);
29357
29357
  } catch (V) {
29358
- console.error("Failed to sync session to backend:", V), e.value[O] = F, e.value = [...e.value], t.value && t.value.sessionCode === y && (t.value = F);
29358
+ console.error("Failed to sync session to backend:", V), e.value[j] = F, e.value = [...e.value], t.value && t.value.sessionCode === y && (t.value = F);
29359
29359
  }
29360
- return Z;
29360
+ return U;
29361
29361
  }, m = async (y) => {
29362
29362
  var M;
29363
29363
  await s("deleteSessionApi")(y);
29364
- const x = e.value.findIndex((O) => O.sessionCode === y);
29364
+ const x = e.value.findIndex((j) => j.sessionCode === y);
29365
29365
  if (x === -1)
29366
29366
  return null;
29367
29367
  const T = ((M = t.value) == null ? void 0 : M.sessionCode) === y;
29368
29368
  if (e.value.splice(x, 1), T) {
29369
29369
  if (e.value.length > 0) {
29370
- const O = (/* @__PURE__ */ new Date()).toDateString(), F = e.value.filter(
29371
- (V) => new Date(V.createdAt || "").toDateString() === O
29372
- ), Z = F.length > 0 ? F[0] : e.value[0];
29373
- return await l(Z), Z;
29370
+ const j = (/* @__PURE__ */ new Date()).toDateString(), F = e.value.filter(
29371
+ (V) => new Date(V.createdAt || "").toDateString() === j
29372
+ ), U = F.length > 0 ? F[0] : e.value[0];
29373
+ return await l(U), U;
29374
29374
  }
29375
29375
  return await b(!1), null;
29376
29376
  }
@@ -29386,7 +29386,7 @@ function uoe() {
29386
29386
  }, v = (y) => {
29387
29387
  i = y;
29388
29388
  }, b = async (y = !0) => {
29389
- var M, O, F, Z;
29389
+ var M, j, F, U;
29390
29390
  let w = e.value;
29391
29391
  if (y) {
29392
29392
  const H = await s("getSessionsApi")();
@@ -29407,8 +29407,8 @@ function uoe() {
29407
29407
  agentName: _
29408
29408
  });
29409
29409
  }
29410
- return (F = (O = (M = a.value) == null ? void 0 : M.promptSetting) == null ? void 0 : O.content) != null && F.length && await s("handleCompleteRole")(x.sessionCode, a.value.promptSetting.content), {
29411
- conversationSettings: (Z = a.value) == null ? void 0 : Z.conversationSettings
29410
+ return (F = (j = (M = a.value) == null ? void 0 : M.promptSetting) == null ? void 0 : j.content) != null && F.length && await s("handleCompleteRole")(x.sessionCode, a.value.promptSetting.content), {
29411
+ conversationSettings: (U = a.value) == null ? void 0 : U.conversationSettings
29412
29412
  };
29413
29413
  };
29414
29414
  return {
@@ -29442,7 +29442,9 @@ function uoe() {
29442
29442
  isEdit: t.value.isEdit
29443
29443
  });
29444
29444
  }
29445
- return e.value;
29445
+ return w.forEach((x) => {
29446
+ r.value[x.sessionCode] || (r.value[x.sessionCode] = 0), r.value[x.sessionCode]++;
29447
+ }), e.value;
29446
29448
  },
29447
29449
  sessionUpdateCounter: r
29448
29450
  };
@@ -30008,20 +30010,20 @@ function du(e) {
30008
30010
  ) > 5), s = null;
30009
30011
  }, u = (C, y) => {
30010
30012
  const w = window.innerWidth, { width: x, height: T, offset: M } = $p;
30011
- let O = C + window.scrollX - x / 2;
30012
- O = Math.max(M, Math.min(O, w - x - M));
30013
+ let j = C + window.scrollX - x / 2;
30014
+ j = Math.max(M, Math.min(j, w - x - M));
30013
30015
  let F = y + window.scrollY - T - M;
30014
30016
  return y <= T + M && (F = y + window.scrollY + M), {
30015
30017
  top: `${F}px`,
30016
- left: `${O}px`
30018
+ left: `${j}px`
30017
30019
  };
30018
30020
  }, d = (C) => {
30019
30021
  const y = window.innerWidth, { width: w, height: x, offset: T } = $p;
30020
30022
  let M = C.left + window.scrollX + C.width / 2 - w / 2;
30021
30023
  M = Math.max(T, Math.min(M, y - w - T));
30022
- let O = C.top + window.scrollY - x - T;
30023
- return C.top <= x + T && (O = C.bottom + window.scrollY + T), {
30024
- top: `${O}px`,
30024
+ let j = C.top + window.scrollY - x - T;
30025
+ return C.top <= x + T && (j = C.bottom + window.scrollY + T), {
30026
+ top: `${j}px`,
30025
30027
  left: `${M}px`
30026
30028
  };
30027
30029
  }, h = (C, y) => {
@@ -30057,22 +30059,22 @@ function du(e) {
30057
30059
  p();
30058
30060
  return;
30059
30061
  }
30060
- const { clientX: O, clientY: F } = i;
30061
- n.value = u(O, F), t.value = !0, i = null;
30062
+ const { clientX: j, clientY: F } = i;
30063
+ n.value = u(j, F), t.value = !0, i = null;
30062
30064
  } else {
30063
- const O = y.getBoundingClientRect();
30064
- if (!O.width || !O.height) {
30065
+ const j = y.getBoundingClientRect();
30066
+ if (!j.width || !j.height) {
30065
30067
  p();
30066
30068
  return;
30067
30069
  }
30068
- n.value = d(O), t.value = !0;
30070
+ n.value = d(j), t.value = !0;
30069
30071
  }
30070
30072
  }, $p.debounceTime);
30071
30073
  }, p = () => {
30072
30074
  t.value = !1, Fp.value || (Gs.value = "");
30073
30075
  }, m = (C) => {
30074
- var T, M, O;
30075
- const y = C.target, w = ((T = y.classList) == null ? void 0 : T.contains("ai-blueking-tag-text")) || ((M = y.classList) == null ? void 0 : M.contains("shortcut-btn")), x = (O = o.value) == null ? void 0 : O.contains(y);
30076
+ var T, M, j;
30077
+ const y = C.target, w = ((T = y.classList) == null ? void 0 : T.contains("ai-blueking-tag-text")) || ((M = y.classList) == null ? void 0 : M.contains("shortcut-btn")), x = (j = o.value) == null ? void 0 : j.contains(y);
30076
30078
  if (!(w || !a)) {
30077
30079
  if (a) {
30078
30080
  C.preventDefault(), C.stopPropagation(), a = !1;
@@ -30153,16 +30155,16 @@ function UI(e, t, n = se(null), r = {}) {
30153
30155
  if (!y) return;
30154
30156
  i.value = [...t.value], o.value = [], await Xt();
30155
30157
  const w = y.clientWidth, x = Array.from(y.children), T = window.getComputedStyle(y), M = parseFloat(T.gap) || 0;
30156
- let O = 0;
30158
+ let j = 0;
30157
30159
  if (x.forEach((_, B) => {
30158
- O += _.getBoundingClientRect().width, B < x.length - 1 && (O += M);
30159
- }), O <= w)
30160
+ j += _.getBoundingClientRect().width, B < x.length - 1 && (j += M);
30161
+ }), j <= w)
30160
30162
  return;
30161
- const F = ((E = n.value) == null ? void 0 : E.offsetWidth) || 70, Z = w - F;
30163
+ const F = ((E = n.value) == null ? void 0 : E.offsetWidth) || 70, U = w - F;
30162
30164
  let V = 0, H = -1;
30163
30165
  for (let _ = 0; _ < x.length; _++) {
30164
30166
  const B = x[_];
30165
- if (V += B.getBoundingClientRect().width, _ < x.length - 1 && (V += M), V > Z) {
30167
+ if (V += B.getBoundingClientRect().width, _ < x.length - 1 && (V += M), V > U) {
30166
30168
  H = _;
30167
30169
  break;
30168
30170
  }
@@ -30554,14 +30556,14 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30554
30556
  arrow: !0,
30555
30557
  delay: [0, 0]
30556
30558
  }), M = () => {
30557
- u.disabled || (u.loading ? j() : U());
30558
- }, O = () => {
30559
+ u.disabled || (u.loading ? O() : Y());
30560
+ }, j = () => {
30559
30561
  b.value && (C.value = T(b.value, w.value, {
30560
30562
  appendTo: document.querySelector(".ai-blueking-container-wrapper")
30561
30563
  })), F();
30562
30564
  }, F = () => {
30563
30565
  C.value && (C.value.setContent(w.value), x.value ? C.value.disable() : C.value.enable());
30564
- }, { textareaHeight: Z, updateHeight: V, resetHeight: H, bindTextarea: E } = zoe({
30566
+ }, { textareaHeight: U, updateHeight: V, resetHeight: H, bindTextarea: E } = zoe({
30565
30567
  minHeight: 68,
30566
30568
  maxHeight: 248,
30567
30569
  defaultHeight: 68
@@ -30574,7 +30576,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30574
30576
  handleCompositionStart: ae,
30575
30577
  handleCompositionEnd: ue,
30576
30578
  handleSend: be,
30577
- handleStop: j
30579
+ handleStop: O
30578
30580
  } = WI({
30579
30581
  isLoading: Ke(() => u.loading),
30580
30582
  getInputValue: () => h.value,
@@ -30588,7 +30590,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30588
30590
  var A;
30589
30591
  a.value.length > 0 && ((A = d.value) == null || A.focus());
30590
30592
  }), Ut(
30591
- () => Z.value,
30593
+ () => U.value,
30592
30594
  (A) => {
30593
30595
  r("height-change", A);
30594
30596
  }
@@ -30599,7 +30601,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30599
30601
  X.value || V(), (h.value.trim() || X.value) && o.value && (o.value = ""), h.value.includes("/") && u.prompts.length > 0 ? g.value = !0 : g.value = !1, r("update:modelValue", h.value);
30600
30602
  }, L = () => {
30601
30603
  o.value && (c.value = !0);
30602
- }, U = () => {
30604
+ }, Y = () => {
30603
30605
  h.value.trim() && be();
30604
30606
  }, $ = (A) => {
30605
30607
  var J;
@@ -30609,7 +30611,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30609
30611
  }
30610
30612
  };
30611
30613
  vn(() => {
30612
- d.value && (E(d.value), r("height-change", Z.value)), O(), document.addEventListener("click", $);
30614
+ d.value && (E(d.value), r("height-change", U.value)), j(), document.addEventListener("click", $);
30613
30615
  }), gn(() => {
30614
30616
  document.removeEventListener("click", $);
30615
30617
  }), t({
@@ -30620,7 +30622,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30620
30622
  });
30621
30623
  const re = (A) => {
30622
30624
  p.value = A;
30623
- }, Y = (A) => {
30625
+ }, Z = (A) => {
30624
30626
  if (g.value && ["ArrowDown", "ArrowUp", "Enter"].includes(A.key)) {
30625
30627
  const J = f.value;
30626
30628
  if (!J) return;
@@ -30633,7 +30635,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30633
30635
  D();
30634
30636
  }
30635
30637
  }, D = () => {
30636
- !h.value.trim() || u.loading || u.disabled || U();
30638
+ !h.value.trim() || u.loading || u.disabled || Y();
30637
30639
  };
30638
30640
  return (A, J) => {
30639
30641
  var Q, te;
@@ -30679,7 +30681,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30679
30681
  ref_key: "textareaRef",
30680
30682
  ref: d,
30681
30683
  "onUpdate:modelValue": J[3] || (J[3] = (oe) => h.value = oe),
30682
- style: es({ height: q(Z) + "px" }),
30684
+ style: es({ height: q(U) + "px" }),
30683
30685
  class: "input-area",
30684
30686
  disabled: u.disabled,
30685
30687
  placeholder: u.placeholder,
@@ -30689,7 +30691,7 @@ const Boe = { class: "ai-selected-box" }, Roe = { class: "ai-selected-tip" }, Fo
30689
30691
  (...oe) => q(ae) && q(ae)(...oe)),
30690
30692
  onFocus: L,
30691
30693
  onInput: S,
30692
- onKeydown: Y
30694
+ onKeydown: Z
30693
30695
  }, null, 44, rae), [
30694
30696
  [iw, h.value]
30695
30697
  ]),
@@ -31285,11 +31287,11 @@ function qI() {
31285
31287
  implementation: x,
31286
31288
  createNodeIterator: T,
31287
31289
  createDocumentFragment: M,
31288
- getElementsByTagName: O
31290
+ getElementsByTagName: j
31289
31291
  } = n, {
31290
31292
  importNode: F
31291
31293
  } = r;
31292
- let Z = WC();
31294
+ let U = WC();
31293
31295
  t.isSupported = typeof YI == "function" && typeof C == "function" && x && x.createHTMLDocument !== void 0;
31294
31296
  const {
31295
31297
  MUSTACHE_EXPR: V,
@@ -31303,10 +31305,10 @@ function qI() {
31303
31305
  } = HC;
31304
31306
  let {
31305
31307
  IS_ALLOWED_URI: be
31306
- } = HC, j = null;
31308
+ } = HC, O = null;
31307
31309
  const S = nt({}, [...$C, ...Vp, ...Hp, ...Wp, ...JC]);
31308
31310
  let L = null;
31309
- const U = nt({}, [...QC, ...Gp, ...VC, ...Gu]);
31311
+ const Y = nt({}, [...QC, ...Gp, ...VC, ...Gu]);
31310
31312
  let $ = Object.seal(ZI(null, {
31311
31313
  tagNameCheck: {
31312
31314
  writable: !0,
@@ -31326,7 +31328,7 @@ function qI() {
31326
31328
  enumerable: !0,
31327
31329
  value: !1
31328
31330
  }
31329
- })), ee = null, re = null, Y = !0, D = !0, A = !1, J = !0, Q = !1, te = !0, oe = !1, Me = !1, Ie = !1, Ae = !1, Le = !1, xe = !1, Ee = !0, N = !1;
31331
+ })), ee = null, re = null, Z = !0, D = !0, A = !1, J = !0, Q = !1, te = !0, oe = !1, Me = !1, Ie = !1, Ae = !1, Le = !1, xe = !1, Ee = !0, N = !1;
31330
31332
  const ne = "user-content-";
31331
31333
  let R = !0, W = !1, G = {}, _e = null;
31332
31334
  const Fe = nt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -31347,7 +31349,7 @@ function qI() {
31347
31349
  let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
31348
31350
  if (!(qt && qt === k)) {
31349
31351
  if ((!k || typeof k != "object") && (k = {}), k = bi(k), Sn = // eslint-disable-next-line unicorn/prefer-includes
31350
- yn.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? Yn : k.PARSER_MEDIA_TYPE, lt = Sn === "application/xhtml+xml" ? Qp : ud, j = wr(k, "ALLOWED_TAGS") ? nt({}, k.ALLOWED_TAGS, lt) : S, L = wr(k, "ALLOWED_ATTR") ? nt({}, k.ALLOWED_ATTR, lt) : U, et = wr(k, "ALLOWED_NAMESPACES") ? nt({}, k.ALLOWED_NAMESPACES, Qp) : Ue, We = wr(k, "ADD_URI_SAFE_ATTR") ? nt(bi(at), k.ADD_URI_SAFE_ATTR, lt) : at, qe = wr(k, "ADD_DATA_URI_TAGS") ? nt(bi(vt), k.ADD_DATA_URI_TAGS, lt) : vt, _e = wr(k, "FORBID_CONTENTS") ? nt({}, k.FORBID_CONTENTS, lt) : Fe, ee = wr(k, "FORBID_TAGS") ? nt({}, k.FORBID_TAGS, lt) : bi({}), re = wr(k, "FORBID_ATTR") ? nt({}, k.FORBID_ATTR, lt) : bi({}), G = wr(k, "USE_PROFILES") ? k.USE_PROFILES : !1, Y = k.ALLOW_ARIA_ATTR !== !1, D = k.ALLOW_DATA_ATTR !== !1, A = k.ALLOW_UNKNOWN_PROTOCOLS || !1, J = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = k.SAFE_FOR_TEMPLATES || !1, te = k.SAFE_FOR_XML !== !1, oe = k.WHOLE_DOCUMENT || !1, Ae = k.RETURN_DOM || !1, Le = k.RETURN_DOM_FRAGMENT || !1, xe = k.RETURN_TRUSTED_TYPE || !1, Ie = k.FORCE_BODY || !1, Ee = k.SANITIZE_DOM !== !1, N = k.SANITIZE_NAMED_PROPS || !1, R = k.KEEP_CONTENT !== !1, W = k.IN_PLACE || !1, be = k.ALLOWED_URI_REGEXP || XI, me = k.NAMESPACE || K, yt = k.MATHML_TEXT_INTEGRATION_POINTS || yt, kt = k.HTML_INTEGRATION_POINTS || kt, $ = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING && Zn(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = k.CUSTOM_ELEMENT_HANDLING.tagNameCheck), k.CUSTOM_ELEMENT_HANDLING && Zn(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), k.CUSTOM_ELEMENT_HANDLING && typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (D = !1), Le && (Ae = !0), G && (j = nt({}, JC), L = [], G.html === !0 && (nt(j, $C), nt(L, QC)), G.svg === !0 && (nt(j, Vp), nt(L, Gp), nt(L, Gu)), G.svgFilters === !0 && (nt(j, Hp), nt(L, Gp), nt(L, Gu)), G.mathMl === !0 && (nt(j, Wp), nt(L, VC), nt(L, Gu))), k.ADD_TAGS && (j === S && (j = bi(j)), nt(j, k.ADD_TAGS, lt)), k.ADD_ATTR && (L === U && (L = bi(L)), nt(L, k.ADD_ATTR, lt)), k.ADD_URI_SAFE_ATTR && nt(We, k.ADD_URI_SAFE_ATTR, lt), k.FORBID_CONTENTS && (_e === Fe && (_e = bi(_e)), nt(_e, k.FORBID_CONTENTS, lt)), R && (j["#text"] = !0), oe && nt(j, ["html", "head", "body"]), j.table && (nt(j, ["tbody"]), delete ee.tbody), k.TRUSTED_TYPES_POLICY) {
31352
+ yn.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? Yn : k.PARSER_MEDIA_TYPE, lt = Sn === "application/xhtml+xml" ? Qp : ud, O = wr(k, "ALLOWED_TAGS") ? nt({}, k.ALLOWED_TAGS, lt) : S, L = wr(k, "ALLOWED_ATTR") ? nt({}, k.ALLOWED_ATTR, lt) : Y, et = wr(k, "ALLOWED_NAMESPACES") ? nt({}, k.ALLOWED_NAMESPACES, Qp) : Ue, We = wr(k, "ADD_URI_SAFE_ATTR") ? nt(bi(at), k.ADD_URI_SAFE_ATTR, lt) : at, qe = wr(k, "ADD_DATA_URI_TAGS") ? nt(bi(vt), k.ADD_DATA_URI_TAGS, lt) : vt, _e = wr(k, "FORBID_CONTENTS") ? nt({}, k.FORBID_CONTENTS, lt) : Fe, ee = wr(k, "FORBID_TAGS") ? nt({}, k.FORBID_TAGS, lt) : bi({}), re = wr(k, "FORBID_ATTR") ? nt({}, k.FORBID_ATTR, lt) : bi({}), G = wr(k, "USE_PROFILES") ? k.USE_PROFILES : !1, Z = k.ALLOW_ARIA_ATTR !== !1, D = k.ALLOW_DATA_ATTR !== !1, A = k.ALLOW_UNKNOWN_PROTOCOLS || !1, J = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = k.SAFE_FOR_TEMPLATES || !1, te = k.SAFE_FOR_XML !== !1, oe = k.WHOLE_DOCUMENT || !1, Ae = k.RETURN_DOM || !1, Le = k.RETURN_DOM_FRAGMENT || !1, xe = k.RETURN_TRUSTED_TYPE || !1, Ie = k.FORCE_BODY || !1, Ee = k.SANITIZE_DOM !== !1, N = k.SANITIZE_NAMED_PROPS || !1, R = k.KEEP_CONTENT !== !1, W = k.IN_PLACE || !1, be = k.ALLOWED_URI_REGEXP || XI, me = k.NAMESPACE || K, yt = k.MATHML_TEXT_INTEGRATION_POINTS || yt, kt = k.HTML_INTEGRATION_POINTS || kt, $ = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING && Zn(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = k.CUSTOM_ELEMENT_HANDLING.tagNameCheck), k.CUSTOM_ELEMENT_HANDLING && Zn(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), k.CUSTOM_ELEMENT_HANDLING && typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (D = !1), Le && (Ae = !0), G && (O = nt({}, JC), L = [], G.html === !0 && (nt(O, $C), nt(L, QC)), G.svg === !0 && (nt(O, Vp), nt(L, Gp), nt(L, Gu)), G.svgFilters === !0 && (nt(O, Hp), nt(L, Gp), nt(L, Gu)), G.mathMl === !0 && (nt(O, Wp), nt(L, VC), nt(L, Gu))), k.ADD_TAGS && (O === S && (O = bi(O)), nt(O, k.ADD_TAGS, lt)), k.ADD_ATTR && (L === Y && (L = bi(L)), nt(L, k.ADD_ATTR, lt)), k.ADD_URI_SAFE_ATTR && nt(We, k.ADD_URI_SAFE_ATTR, lt), k.FORBID_CONTENTS && (_e === Fe && (_e = bi(_e)), nt(_e, k.FORBID_CONTENTS, lt)), R && (O["#text"] = !0), oe && nt(O, ["html", "head", "body"]), O.table && (nt(O, ["tbody"]), delete ee.tbody), k.TRUSTED_TYPES_POLICY) {
31351
31353
  if (typeof k.TRUSTED_TYPES_POLICY.createHTML != "function")
31352
31354
  throw Zs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
31353
31355
  if (typeof k.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -31420,7 +31422,7 @@ function qI() {
31420
31422
  }
31421
31423
  }
31422
31424
  const Wt = le.body || le.documentElement;
31423
- return k && we && Wt.insertBefore(n.createTextNode(we), Wt.childNodes[0] || null), me === K ? O.call(le, oe ? "html" : "body")[0] : oe ? le.documentElement : Wt;
31425
+ return k && we && Wt.insertBefore(n.createTextNode(we), Wt.childNodes[0] || null), me === K ? j.call(le, oe ? "html" : "body")[0] : oe ? le.documentElement : Wt;
31424
31426
  }, Ge = function(k) {
31425
31427
  return T.call(
31426
31428
  k.ownerDocument || k,
@@ -31441,15 +31443,15 @@ function qI() {
31441
31443
  }
31442
31444
  const vr = function(k) {
31443
31445
  let le = null;
31444
- if (jt(Z.beforeSanitizeElements, k, null), Et(k))
31446
+ if (jt(U.beforeSanitizeElements, k, null), Et(k))
31445
31447
  return bn(k), !0;
31446
31448
  const we = lt(k.nodeName);
31447
- if (jt(Z.uponSanitizeElement, k, {
31449
+ if (jt(U.uponSanitizeElement, k, {
31448
31450
  tagName: we,
31449
- allowedTags: j
31451
+ allowedTags: O
31450
31452
  }), te && k.hasChildNodes() && !en(k.firstElementChild) && wn(/<[/\w!]/g, k.innerHTML) && wn(/<[/\w!]/g, k.textContent) || k.nodeType === Ks.progressingInstruction || te && k.nodeType === Ks.comment && wn(/<[/\w]/g, k.data))
31451
31453
  return bn(k), !0;
31452
- if (!j[we] || ee[we]) {
31454
+ if (!O[we] || ee[we]) {
31453
31455
  if (!ee[we] && yr(we) && ($.tagNameCheck instanceof RegExp && wn($.tagNameCheck, we) || $.tagNameCheck instanceof Function && $.tagNameCheck(we)))
31454
31456
  return !1;
31455
31457
  if (R && !_e[we]) {
@@ -31468,12 +31470,12 @@ function qI() {
31468
31470
  le = Ys(le, bt, " ");
31469
31471
  }), k.textContent !== le && (Us(t.removed, {
31470
31472
  element: k.cloneNode()
31471
- }), k.textContent = le)), jt(Z.afterSanitizeElements, k, null), !1);
31473
+ }), k.textContent = le)), jt(U.afterSanitizeElements, k, null), !1);
31472
31474
  }, Xn = function(k, le, we) {
31473
31475
  if (Ee && (le === "id" || le === "name") && (we in n || we in xo))
31474
31476
  return !1;
31475
31477
  if (!(D && !re[le] && wn(_, le))) {
31476
- if (!(Y && wn(B, le))) {
31478
+ if (!(Z && wn(B, le))) {
31477
31479
  if (!L[le] || re[le]) {
31478
31480
  if (
31479
31481
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -31499,7 +31501,7 @@ function qI() {
31499
31501
  }, yr = function(k) {
31500
31502
  return k !== "annotation-xml" && FC(k, ue);
31501
31503
  }, Vi = function(k) {
31502
- jt(Z.beforeSanitizeAttributes, k, null);
31504
+ jt(U.beforeSanitizeAttributes, k, null);
31503
31505
  const {
31504
31506
  attributes: le
31505
31507
  } = k;
@@ -31520,7 +31522,7 @@ function qI() {
31520
31522
  value: qn
31521
31523
  } = Wt, Mo = lt(Dt), Hi = qn;
31522
31524
  let zt = Dt === "value" ? Hi : kae(Hi);
31523
- if (we.attrName = Mo, we.attrValue = zt, we.keepAttr = !0, we.forceKeepAttr = void 0, jt(Z.uponSanitizeAttribute, k, we), zt = we.attrValue, N && (Mo === "id" || Mo === "name") && (Er(Dt, k), zt = ne + zt), te && wn(/((--!?|])>)|<\/(style|title)/i, zt)) {
31525
+ if (we.attrName = Mo, we.attrValue = zt, we.keepAttr = !0, we.forceKeepAttr = void 0, jt(U.uponSanitizeAttribute, k, we), zt = we.attrValue, N && (Mo === "id" || Mo === "name") && (Er(Dt, k), zt = ne + zt), te && wn(/((--!?|])>)|<\/(style|title)/i, zt)) {
31524
31526
  Er(Dt, k);
31525
31527
  continue;
31526
31528
  }
@@ -31560,13 +31562,13 @@ function qI() {
31560
31562
  Er(Dt, k);
31561
31563
  }
31562
31564
  }
31563
- jt(Z.afterSanitizeAttributes, k, null);
31565
+ jt(U.afterSanitizeAttributes, k, null);
31564
31566
  }, Kn = function je(k) {
31565
31567
  let le = null;
31566
31568
  const we = Ge(k);
31567
- for (jt(Z.beforeSanitizeShadowDOM, k, null); le = we.nextNode(); )
31568
- jt(Z.uponSanitizeShadowNode, le, null), vr(le), Vi(le), le.content instanceof o && je(le.content);
31569
- jt(Z.afterSanitizeShadowDOM, k, null);
31569
+ for (jt(U.beforeSanitizeShadowDOM, k, null); le = we.nextNode(); )
31570
+ jt(U.uponSanitizeShadowNode, le, null), vr(le), Vi(le), le.content instanceof o && je(le.content);
31571
+ jt(U.afterSanitizeShadowDOM, k, null);
31570
31572
  };
31571
31573
  return t.sanitize = function(je) {
31572
31574
  let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, le = null, we = null, bt = null, Wt = null;
@@ -31581,7 +31583,7 @@ function qI() {
31581
31583
  if (Me || Ln(k), t.removed = [], typeof je == "string" && (W = !1), W) {
31582
31584
  if (je.nodeName) {
31583
31585
  const qn = lt(je.nodeName);
31584
- if (!j[qn] || ee[qn])
31586
+ if (!O[qn] || ee[qn])
31585
31587
  throw Zs("root node is forbidden and cannot be sanitized in-place");
31586
31588
  }
31587
31589
  } else if (je instanceof s)
@@ -31608,7 +31610,7 @@ function qI() {
31608
31610
  return (L.shadowroot || L.shadowrootmode) && (Wt = F.call(r, Wt, !0)), Wt;
31609
31611
  }
31610
31612
  let tn = oe ? le.outerHTML : le.innerHTML;
31611
- return oe && j["!doctype"] && le.ownerDocument && le.ownerDocument.doctype && le.ownerDocument.doctype.name && wn(KI, le.ownerDocument.doctype.name) && (tn = "<!DOCTYPE " + le.ownerDocument.doctype.name + `>
31613
+ return oe && O["!doctype"] && le.ownerDocument && le.ownerDocument.doctype && le.ownerDocument.doctype.name && wn(KI, le.ownerDocument.doctype.name) && (tn = "<!DOCTYPE " + le.ownerDocument.doctype.name + `>
31612
31614
  ` + tn), Q && Wu([V, H, E], (qn) => {
31613
31615
  tn = Ys(tn, qn, " ");
31614
31616
  }), y && xe ? y.createHTML(tn) : tn;
@@ -31622,17 +31624,17 @@ function qI() {
31622
31624
  const we = lt(je), bt = lt(k);
31623
31625
  return Xn(we, bt, le);
31624
31626
  }, t.addHook = function(je, k) {
31625
- typeof k == "function" && Us(Z[je], k);
31627
+ typeof k == "function" && Us(U[je], k);
31626
31628
  }, t.removeHook = function(je, k) {
31627
31629
  if (k !== void 0) {
31628
- const le = _ae(Z[je], k);
31629
- return le === -1 ? void 0 : Sae(Z[je], le, 1)[0];
31630
+ const le = _ae(U[je], k);
31631
+ return le === -1 ? void 0 : Sae(U[je], le, 1)[0];
31630
31632
  }
31631
- return RC(Z[je]);
31633
+ return RC(U[je]);
31632
31634
  }, t.removeHooks = function(je) {
31633
- Z[je] = [];
31635
+ U[je] = [];
31634
31636
  }, t.removeAllHooks = function() {
31635
- Z = WC();
31637
+ U = WC();
31636
31638
  }, t;
31637
31639
  }
31638
31640
  var zi = qI();
@@ -36898,7 +36900,7 @@ const Uh = (e, t) => {
36898
36900
  }, MS = (e) => {
36899
36901
  e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Vpe("LAZY_LOAD_DEPRECATED");
36900
36902
  }, IS = "c4", Hpe = (e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), Wpe = async () => {
36901
- const { diagram: e } = await import("./c4Diagram-3d4e48cf-ZjBKDmcG.mjs");
36903
+ const { diagram: e } = await import("./c4Diagram-3d4e48cf-qiOfT5h-.mjs");
36902
36904
  return { id: IS, diagram: e };
36903
36905
  }, Gpe = {
36904
36906
  id: IS,
@@ -36908,7 +36910,7 @@ const Uh = (e, t) => {
36908
36910
  var n, r;
36909
36911
  return ((n = t == null ? void 0 : t.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" || ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(e);
36910
36912
  }, Zpe = async () => {
36911
- const { diagram: e } = await import("./flowDiagram-66a62f08-YLZEfNd-.mjs");
36913
+ const { diagram: e } = await import("./flowDiagram-66a62f08-BtbGNMiV.mjs");
36912
36914
  return { id: _S, diagram: e };
36913
36915
  }, Xpe = {
36914
36916
  id: _S,
@@ -36918,70 +36920,70 @@ const Uh = (e, t) => {
36918
36920
  var n, r, i;
36919
36921
  return ((n = t == null ? void 0 : t.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-d3" || ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(e) && ((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e);
36920
36922
  }, eme = async () => {
36921
- const { diagram: e } = await import("./flowDiagram-v2-96b9c2cf-CIEmz0g3.mjs");
36923
+ const { diagram: e } = await import("./flowDiagram-v2-96b9c2cf-DPDLUOdj.mjs");
36922
36924
  return { id: SS, diagram: e };
36923
36925
  }, tme = {
36924
36926
  id: SS,
36925
36927
  detector: qpe,
36926
36928
  loader: eme
36927
36929
  }, nme = tme, LS = "er", rme = (e) => /^\s*erDiagram/.test(e), ime = async () => {
36928
- const { diagram: e } = await import("./erDiagram-9861fffd-DDxJjunn.mjs");
36930
+ const { diagram: e } = await import("./erDiagram-9861fffd-CUqKaKZb.mjs");
36929
36931
  return { id: LS, diagram: e };
36930
36932
  }, ome = {
36931
36933
  id: LS,
36932
36934
  detector: rme,
36933
36935
  loader: ime
36934
36936
  }, ame = ome, kS = "gitGraph", sme = (e) => /^\s*gitGraph/.test(e), lme = async () => {
36935
- const { diagram: e } = await import("./gitGraphDiagram-72cf32ee-BCTVjY7p.mjs");
36937
+ const { diagram: e } = await import("./gitGraphDiagram-72cf32ee-Bi18eBqf.mjs");
36936
36938
  return { id: kS, diagram: e };
36937
36939
  }, cme = {
36938
36940
  id: kS,
36939
36941
  detector: sme,
36940
36942
  loader: lme
36941
36943
  }, ume = cme, jS = "gantt", dme = (e) => /^\s*gantt/.test(e), fme = async () => {
36942
- const { diagram: e } = await import("./ganttDiagram-c361ad54-CuLDPZ5c.mjs");
36944
+ const { diagram: e } = await import("./ganttDiagram-c361ad54-DcYTPxzW.mjs");
36943
36945
  return { id: jS, diagram: e };
36944
36946
  }, hme = {
36945
36947
  id: jS,
36946
36948
  detector: dme,
36947
36949
  loader: fme
36948
36950
  }, pme = hme, OS = "info", mme = (e) => /^\s*info/.test(e), gme = async () => {
36949
- const { diagram: e } = await import("./infoDiagram-f8f76790-hj8k-SBv.mjs");
36951
+ const { diagram: e } = await import("./infoDiagram-f8f76790-DtS9jx2g.mjs");
36950
36952
  return { id: OS, diagram: e };
36951
36953
  }, vme = {
36952
36954
  id: OS,
36953
36955
  detector: mme,
36954
36956
  loader: gme
36955
36957
  }, NS = "pie", yme = (e) => /^\s*pie/.test(e), bme = async () => {
36956
- const { diagram: e } = await import("./pieDiagram-8a3498a8-Dv-vMRyC.mjs");
36958
+ const { diagram: e } = await import("./pieDiagram-8a3498a8-B1V2RtrX.mjs");
36957
36959
  return { id: NS, diagram: e };
36958
36960
  }, Cme = {
36959
36961
  id: NS,
36960
36962
  detector: yme,
36961
36963
  loader: bme
36962
36964
  }, PS = "quadrantChart", wme = (e) => /^\s*quadrantChart/.test(e), xme = async () => {
36963
- const { diagram: e } = await import("./quadrantDiagram-120e2f19-fuR7zO_t.mjs");
36965
+ const { diagram: e } = await import("./quadrantDiagram-120e2f19-B3WaiiRD.mjs");
36964
36966
  return { id: PS, diagram: e };
36965
36967
  }, Tme = {
36966
36968
  id: PS,
36967
36969
  detector: wme,
36968
36970
  loader: xme
36969
36971
  }, Mme = Tme, AS = "xychart", Ime = (e) => /^\s*xychart-beta/.test(e), _me = async () => {
36970
- const { diagram: e } = await import("./xychartDiagram-e933f94c-BjK8nBCp.mjs");
36972
+ const { diagram: e } = await import("./xychartDiagram-e933f94c-DOfdgZJD.mjs");
36971
36973
  return { id: AS, diagram: e };
36972
36974
  }, Sme = {
36973
36975
  id: AS,
36974
36976
  detector: Ime,
36975
36977
  loader: _me
36976
36978
  }, Lme = Sme, ES = "requirement", kme = (e) => /^\s*requirement(Diagram)?/.test(e), jme = async () => {
36977
- const { diagram: e } = await import("./requirementDiagram-deff3bca-LC2xsHoX.mjs");
36979
+ const { diagram: e } = await import("./requirementDiagram-deff3bca-BURD3DSL.mjs");
36978
36980
  return { id: ES, diagram: e };
36979
36981
  }, Ome = {
36980
36982
  id: ES,
36981
36983
  detector: kme,
36982
36984
  loader: jme
36983
36985
  }, Nme = Ome, DS = "sequence", Pme = (e) => /^\s*sequenceDiagram/.test(e), Ame = async () => {
36984
- const { diagram: e } = await import("./sequenceDiagram-704730f1-DZ7wY6si.mjs");
36986
+ const { diagram: e } = await import("./sequenceDiagram-704730f1-bZRTVN9M.mjs");
36985
36987
  return { id: DS, diagram: e };
36986
36988
  }, Eme = {
36987
36989
  id: DS,
@@ -36991,7 +36993,7 @@ const Uh = (e, t) => {
36991
36993
  var n;
36992
36994
  return ((n = t == null ? void 0 : t.class) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e);
36993
36995
  }, Bme = async () => {
36994
- const { diagram: e } = await import("./classDiagram-70f12bd4-TUGX41Hr.mjs");
36996
+ const { diagram: e } = await import("./classDiagram-70f12bd4-Ci9LEt-e.mjs");
36995
36997
  return { id: zS, diagram: e };
36996
36998
  }, Rme = {
36997
36999
  id: zS,
@@ -37001,7 +37003,7 @@ const Uh = (e, t) => {
37001
37003
  var n;
37002
37004
  return /^\s*classDiagram/.test(e) && ((n = t == null ? void 0 : t.class) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e);
37003
37005
  }, Jme = async () => {
37004
- const { diagram: e } = await import("./classDiagram-v2-f2320105-DD7zTzsZ.mjs");
37006
+ const { diagram: e } = await import("./classDiagram-v2-f2320105-CqZ_yFMp.mjs");
37005
37007
  return { id: BS, diagram: e };
37006
37008
  }, Qme = {
37007
37009
  id: BS,
@@ -37011,7 +37013,7 @@ const Uh = (e, t) => {
37011
37013
  var n;
37012
37014
  return ((n = t == null ? void 0 : t.state) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e);
37013
37015
  }, Wme = async () => {
37014
- const { diagram: e } = await import("./stateDiagram-587899a1-5fbTvUa3.mjs");
37016
+ const { diagram: e } = await import("./stateDiagram-587899a1-DKVn_6ZA.mjs");
37015
37017
  return { id: RS, diagram: e };
37016
37018
  }, Gme = {
37017
37019
  id: RS,
@@ -37021,14 +37023,14 @@ const Uh = (e, t) => {
37021
37023
  var n;
37022
37024
  return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((n = t == null ? void 0 : t.state) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper");
37023
37025
  }, Zme = async () => {
37024
- const { diagram: e } = await import("./stateDiagram-v2-d93cdb3a-DflkHVal.mjs");
37026
+ const { diagram: e } = await import("./stateDiagram-v2-d93cdb3a-YkBXMt-D.mjs");
37025
37027
  return { id: FS, diagram: e };
37026
37028
  }, Xme = {
37027
37029
  id: FS,
37028
37030
  detector: Yme,
37029
37031
  loader: Zme
37030
37032
  }, Kme = Xme, $S = "journey", qme = (e) => /^\s*journey/.test(e), e0e = async () => {
37031
- const { diagram: e } = await import("./journeyDiagram-49397b02-C0DCZid3.mjs");
37033
+ const { diagram: e } = await import("./journeyDiagram-49397b02-DTtQfO6V.mjs");
37032
37034
  return { id: $S, diagram: e };
37033
37035
  }, t0e = {
37034
37036
  id: $S,
@@ -37197,35 +37199,35 @@ const T0e = (e) => {
37197
37199
  /^\s*flowchart|graph/.test(e) && ((n = t == null ? void 0 : t.flowchart) == null ? void 0 : n.defaultRenderer) === "elk")
37198
37200
  );
37199
37201
  }, k0e = async () => {
37200
- const { diagram: e } = await import("./flowchart-elk-definition-4a651766-j2EoWTmc.mjs");
37202
+ const { diagram: e } = await import("./flowchart-elk-definition-4a651766-DQ3w6ATQ.mjs");
37201
37203
  return { id: VS, diagram: e };
37202
37204
  }, j0e = {
37203
37205
  id: VS,
37204
37206
  detector: L0e,
37205
37207
  loader: k0e
37206
37208
  }, O0e = j0e, HS = "timeline", N0e = (e) => /^\s*timeline/.test(e), P0e = async () => {
37207
- const { diagram: e } = await import("./timeline-definition-85554ec2-BX7myD6R.mjs");
37209
+ const { diagram: e } = await import("./timeline-definition-85554ec2-B1jShlXM.mjs");
37208
37210
  return { id: HS, diagram: e };
37209
37211
  }, A0e = {
37210
37212
  id: HS,
37211
37213
  detector: N0e,
37212
37214
  loader: P0e
37213
37215
  }, E0e = A0e, WS = "mindmap", D0e = (e) => /^\s*mindmap/.test(e), z0e = async () => {
37214
- const { diagram: e } = await import("./mindmap-definition-fc14e90a-Bz_gLosq.mjs");
37216
+ const { diagram: e } = await import("./mindmap-definition-fc14e90a-jOQSGoZX.mjs");
37215
37217
  return { id: WS, diagram: e };
37216
37218
  }, B0e = {
37217
37219
  id: WS,
37218
37220
  detector: D0e,
37219
37221
  loader: z0e
37220
37222
  }, R0e = B0e, GS = "sankey", F0e = (e) => /^\s*sankey-beta/.test(e), $0e = async () => {
37221
- const { diagram: e } = await import("./sankeyDiagram-04a897e0-BZuuDL9W.mjs");
37223
+ const { diagram: e } = await import("./sankeyDiagram-04a897e0-dmECM0pe.mjs");
37222
37224
  return { id: GS, diagram: e };
37223
37225
  }, J0e = {
37224
37226
  id: GS,
37225
37227
  detector: F0e,
37226
37228
  loader: $0e
37227
37229
  }, Q0e = J0e, US = "block", V0e = (e) => /^\s*block-beta/.test(e), H0e = async () => {
37228
- const { diagram: e } = await import("./blockDiagram-38ab4fdb-B79ALQFr.mjs");
37230
+ const { diagram: e } = await import("./blockDiagram-38ab4fdb-BNqXW3w7.mjs");
37229
37231
  return { id: US, diagram: e };
37230
37232
  }, W0e = {
37231
37233
  id: US,
@@ -38498,8 +38500,8 @@ const fye = (e, t, n, r) => {
38498
38500
  } catch (ue) {
38499
38501
  y = new YS("error"), w = ue;
38500
38502
  }
38501
- const x = g.select(m).node(), T = y.type, M = x.firstChild, O = M.firstChild, F = (i = (r = y.renderer).getClasses) == null ? void 0 : i.call(r, t, y), Z = cye(u, T, F, d), V = document.createElement("style");
38502
- V.innerHTML = Z, M.insertBefore(V, O);
38503
+ const x = g.select(m).node(), T = y.type, M = x.firstChild, j = M.firstChild, F = (i = (r = y.renderer).getClasses) == null ? void 0 : i.call(r, t, y), U = cye(u, T, F, d), V = document.createElement("style");
38504
+ V.innerHTML = U, M.insertBefore(V, j);
38503
38505
  try {
38504
38506
  await y.renderer.draw(t, e, F6, y);
38505
38507
  } catch (ue) {
@@ -39102,9 +39104,9 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39102
39104
  });
39103
39105
  return Xt(() => {
39104
39106
  o.value && d(o.value, () => {
39105
- var O;
39107
+ var j;
39106
39108
  const M = new CustomEvent("mermaid-rendered", { bubbles: !0 });
39107
- (O = o.value) == null || O.dispatchEvent(M);
39109
+ (j = o.value) == null || j.dispatchEvent(M);
39108
39110
  });
39109
39111
  }), T.replace(/\s*<\/p>\s*$/, "</p>");
39110
39112
  }), g = Ke(() => {
@@ -39154,7 +39156,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39154
39156
  }), gn(() => {
39155
39157
  Oye(), h();
39156
39158
  }), (x, T) => {
39157
- var M, O, F;
39159
+ var M, j, F;
39158
39160
  return q(Pf).includes(x.message.role) ? tt("v-if", !0) : (he(), ke(
39159
39161
  "li",
39160
39162
  {
@@ -39164,7 +39166,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39164
39166
  class: wt([x.message.role, "message-main"])
39165
39167
  },
39166
39168
  [
39167
- (F = (O = (M = x.message) == null ? void 0 : M.property) == null ? void 0 : O.extra) != null && F.cite ? (he(), ke("div", Bye, [
39169
+ (F = (j = (M = x.message) == null ? void 0 : M.property) == null ? void 0 : j.extra) != null && F.cite ? (he(), ke("div", Bye, [
39168
39170
  ut(HI, {
39169
39171
  text: x.message.property.extra.cite
39170
39172
  }, null, 8, ["text"])
@@ -39183,7 +39185,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39183
39185
  key: 0,
39184
39186
  "auto-focus": !0,
39185
39187
  "model-value": x.message.content,
39186
- onCancel: T[0] || (T[0] = (Z) => i.value = !1),
39188
+ onCancel: T[0] || (T[0] = (U) => i.value = !1),
39187
39189
  onSubmit: v
39188
39190
  }, null, 8, ["model-value"])) : (he(), ke("p", Rye, [
39189
39191
  g.value && r.showTime ? (he(), ke(
@@ -39250,7 +39252,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39250
39252
  }),
39251
39253
  pe("i", {
39252
39254
  class: "bkai-icon bkai-yinyong",
39253
- onClick: T[1] || (T[1] = (Z) => q(s)(x.message.content))
39255
+ onClick: T[1] || (T[1] = (U) => q(s)(x.message.content))
39254
39256
  }),
39255
39257
  x.message.role === q(fe).Ai ? (he(), ke("i", {
39256
39258
  key: 0,
@@ -39260,7 +39262,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39260
39262
  x.message.role === q(fe).User ? (he(), ke("i", {
39261
39263
  key: 1,
39262
39264
  class: "bkai-icon bkai-bianji",
39263
- onClick: T[2] || (T[2] = (Z) => i.value = !0)
39265
+ onClick: T[2] || (T[2] = (U) => i.value = !0)
39264
39266
  })) : tt("v-if", !0),
39265
39267
  pe("i", {
39266
39268
  class: "bkai-icon bkai-shanchu",
@@ -39368,37 +39370,49 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39368
39370
  },
39369
39371
  emits: ["click", "shortcut-click"],
39370
39372
  setup(e, { emit: t }) {
39371
- const n = e, { enablePopup: r } = Lv(), { isIconVisible: i, iconPosition: o, popupRef: a, clearSelection: s } = du(r), l = Ke(() => {
39372
- var x;
39373
- const w = n.shortcuts.length > 0 ? n.shortcuts : ((x = n.conversationSettings) == null ? void 0 : x.commands) || [];
39374
- return n.shortcutFilter ? w.filter(n.shortcutFilter) : w;
39375
- }), c = Ke(() => l.value.slice(0, n.shortcutLimit)), u = Ke(() => l.value.slice(n.shortcutLimit)), d = se(!1);
39376
- let h = null, f = null;
39377
- const p = t, m = () => {
39378
- p("click"), i.value = !1;
39379
- }, g = () => {
39380
- f && (clearTimeout(f), f = null), d.value = !0;
39373
+ const n = e, { enablePopup: r } = Lv(), { isIconVisible: i, iconPosition: o, popupRef: a, clearSelection: s, selectedText: l } = du(r), c = Ke(() => {
39374
+ var T;
39375
+ const x = n.shortcuts.length > 0 ? n.shortcuts : ((T = n.conversationSettings) == null ? void 0 : T.commands) || [];
39376
+ return n.shortcutFilter ? x.map((j) => {
39377
+ if (j.components && l.value) {
39378
+ const F = j.components.map((U) => ({
39379
+ ...U,
39380
+ selectedText: l.value
39381
+ }));
39382
+ return {
39383
+ ...j,
39384
+ components: F
39385
+ };
39386
+ }
39387
+ return j;
39388
+ }).filter(n.shortcutFilter) : x;
39389
+ }), u = Ke(() => c.value.slice(0, n.shortcutLimit)), d = Ke(() => c.value.slice(n.shortcutLimit)), h = se(!1);
39390
+ let f = null, p = null;
39391
+ const m = t, g = () => {
39392
+ m("click"), i.value = !1;
39381
39393
  }, v = () => {
39382
- f && (window.clearTimeout(f), f = null), f = window.setTimeout(() => {
39383
- h || (d.value = !1);
39384
- }, 100);
39394
+ p && (clearTimeout(p), p = null), h.value = !0;
39385
39395
  }, b = () => {
39386
- h && (clearTimeout(h), h = null);
39396
+ p && (window.clearTimeout(p), p = null), p = window.setTimeout(() => {
39397
+ f || (h.value = !1);
39398
+ }, 100);
39387
39399
  }, C = () => {
39388
- h && (window.clearTimeout(h), h = null), h = window.setTimeout(() => {
39389
- d.value = !1;
39400
+ f && (clearTimeout(f), f = null);
39401
+ }, y = () => {
39402
+ f && (window.clearTimeout(f), f = null), f = window.setTimeout(() => {
39403
+ h.value = !1;
39390
39404
  }, 100);
39391
- }, y = (w) => {
39405
+ }, w = (x) => {
39392
39406
  try {
39393
- p("shortcut-click", {
39394
- shortcut: w,
39407
+ m("shortcut-click", {
39408
+ shortcut: x,
39395
39409
  source: "popup"
39396
39410
  }), s(), i.value = !1;
39397
- } catch (x) {
39398
- console.error("处理快捷按钮点击事件时出错:", x);
39411
+ } catch (T) {
39412
+ console.error("处理快捷按钮点击事件时出错:", T);
39399
39413
  }
39400
39414
  };
39401
- return (w, x) => q(i) ? (he(), ke(
39415
+ return (x, T) => q(i) ? (he(), ke(
39402
39416
  "div",
39403
39417
  {
39404
39418
  key: 0,
@@ -39406,7 +39420,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39406
39420
  ref: a,
39407
39421
  style: es(q(o)),
39408
39422
  class: "ai-blueking-render-popup",
39409
- onMousedown: x[0] || (x[0] = oo(() => {
39423
+ onMousedown: T[0] || (T[0] = oo(() => {
39410
39424
  }, ["prevent"]))
39411
39425
  },
39412
39426
  [
@@ -39414,7 +39428,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39414
39428
  tt(" AI图标按钮 "),
39415
39429
  pe("div", {
39416
39430
  class: "popup-bkai-btn",
39417
- onClick: m
39431
+ onClick: g
39418
39432
  }, [
39419
39433
  pe("img", {
39420
39434
  class: "avatar",
@@ -39434,16 +39448,16 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39434
39448
  (he(!0), ke(
39435
39449
  Dn,
39436
39450
  null,
39437
- jr(c.value, (T, M) => (he(), ke("div", {
39438
- key: M,
39451
+ jr(u.value, (M, j) => (he(), ke("div", {
39452
+ key: j,
39439
39453
  class: "shortcut-btn",
39440
- onClick: (O) => y(T)
39454
+ onClick: (F) => w(M)
39441
39455
  }, [
39442
- T.icon ? (he(), ke(
39456
+ M.icon ? (he(), ke(
39443
39457
  "i",
39444
39458
  {
39445
39459
  key: 0,
39446
- class: wt(T.icon)
39460
+ class: wt(M.icon)
39447
39461
  },
39448
39462
  null,
39449
39463
  2
@@ -39452,7 +39466,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39452
39466
  pe(
39453
39467
  "span",
39454
39468
  t1e,
39455
- dt(T.name),
39469
+ dt(M.name),
39456
39470
  1
39457
39471
  /* TEXT */
39458
39472
  )
@@ -39461,23 +39475,23 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39461
39475
  /* KEYED_FRAGMENT */
39462
39476
  )),
39463
39477
  tt(" 更多按钮 "),
39464
- u.value.length > 0 ? (he(), ke(
39478
+ d.value.length > 0 ? (he(), ke(
39465
39479
  "div",
39466
39480
  {
39467
39481
  key: 0,
39468
39482
  class: "shortcut-btn more-btn",
39469
- onMouseenter: g,
39470
- onMouseleave: v
39483
+ onMouseenter: v,
39484
+ onMouseleave: b
39471
39485
  },
39472
39486
  [
39473
- x[1] || (x[1] = pe(
39487
+ T[1] || (T[1] = pe(
39474
39488
  "span",
39475
39489
  { class: "btn-text" },
39476
39490
  "更多",
39477
39491
  -1
39478
39492
  /* CACHED */
39479
39493
  )),
39480
- x[2] || (x[2] = pe(
39494
+ T[2] || (T[2] = pe(
39481
39495
  "i",
39482
39496
  { class: "bkai-icon bkai-angle-down" },
39483
39497
  null,
@@ -39485,28 +39499,28 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39485
39499
  /* CACHED */
39486
39500
  )),
39487
39501
  tt(" 更多菜单 "),
39488
- d.value ? (he(), ke(
39502
+ h.value ? (he(), ke(
39489
39503
  "div",
39490
39504
  {
39491
39505
  key: 0,
39492
39506
  class: "more-menu",
39493
- onMouseenter: b,
39494
- onMouseleave: C
39507
+ onMouseenter: C,
39508
+ onMouseleave: y
39495
39509
  },
39496
39510
  [
39497
39511
  (he(!0), ke(
39498
39512
  Dn,
39499
39513
  null,
39500
- jr(u.value, (T, M) => (he(), ke("div", {
39501
- key: M,
39514
+ jr(d.value, (M, j) => (he(), ke("div", {
39515
+ key: j,
39502
39516
  class: "more-menu-item",
39503
- onClick: (O) => y(T)
39517
+ onClick: (F) => w(M)
39504
39518
  }, [
39505
- T.icon ? (he(), ke(
39519
+ M.icon ? (he(), ke(
39506
39520
  "i",
39507
39521
  {
39508
39522
  key: 0,
39509
- class: wt(T.icon)
39523
+ class: wt(M.icon)
39510
39524
  },
39511
39525
  null,
39512
39526
  2
@@ -39515,7 +39529,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39515
39529
  pe(
39516
39530
  "span",
39517
39531
  null,
39518
- dt(T.name),
39532
+ dt(M.name),
39519
39533
  1
39520
39534
  /* TEXT */
39521
39535
  )
@@ -39538,7 +39552,7 @@ const Nye = { class: "bk-text-editor" }, Pye = ["placeholder"], Aye = { class: "
39538
39552
  /* STYLE, NEED_HYDRATION */
39539
39553
  )) : tt("v-if", !0);
39540
39554
  }
39541
- }), i1e = /* @__PURE__ */ Kt(r1e, [["__scopeId", "data-v-1dffefe6"]]);
39555
+ }), i1e = /* @__PURE__ */ Kt(r1e, [["__scopeId", "data-v-945fbb5c"]]);
39542
39556
  function o1e(e) {
39543
39557
  const { greetingMaxHeight: t } = e, n = se(0), r = se();
39544
39558
  return {
@@ -39615,8 +39629,8 @@ function l1e(e = {}) {
39615
39629
  e.defaultHeight !== void 0 ? e.defaultHeight : window.innerHeight - (e.defaultTop !== void 0 ? e.defaultTop : 0)
39616
39630
  ), u = se(t), d = se(l.value), h = se(s.value), f = se(u.value), p = se(c.value), m = se(Math.max(window.innerWidth * (i / 100), f.value)), g = se(!1), v = se(0), b = (x, T) => {
39617
39631
  h.value = x, d.value = T, v.value = x - (window.innerWidth - f.value);
39618
- }, C = (x, T, M, O) => {
39619
- h.value = x, d.value = T, f.value = Math.min(M, m.value), p.value = O;
39632
+ }, C = (x, T, M, j) => {
39633
+ h.value = x, d.value = T, f.value = Math.min(M, m.value), p.value = j;
39620
39634
  }, y = () => {
39621
39635
  m.value = Math.max(window.innerWidth * (i / 100), f.value), Xt(() => {
39622
39636
  if (g.value)
@@ -39857,15 +39871,15 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39857
39871
  ref: a,
39858
39872
  class: wt(["nimbus-container", { "is-minimize": q(u) }]),
39859
39873
  onClick: M[1] || (M[1] = //@ts-ignore
39860
- (...O) => q(d) && q(d)(...O)),
39874
+ (...j) => q(d) && q(d)(...j)),
39861
39875
  onMousedown: M[2] || (M[2] = //@ts-ignore
39862
- (...O) => q(g) && q(g)(...O)),
39876
+ (...j) => q(g) && q(g)(...j)),
39863
39877
  onMouseenter: M[3] || (M[3] = //@ts-ignore
39864
- (...O) => q(p) && q(p)(...O)),
39878
+ (...j) => q(p) && q(p)(...j)),
39865
39879
  onMouseleave: M[4] || (M[4] = //@ts-ignore
39866
- (...O) => q(m) && q(m)(...O)),
39880
+ (...j) => q(m) && q(m)(...j)),
39867
39881
  onMouseup: M[5] || (M[5] = //@ts-ignore
39868
- (...O) => q(v) && q(v)(...O))
39882
+ (...j) => q(v) && q(v)(...j))
39869
39883
  },
39870
39884
  [
39871
39885
  pe("div", d1e, [
@@ -39884,7 +39898,7 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39884
39898
  class: wt(["nimbus-mini bkai-icon", q(u) ? "bkai-yinyong" : "bkai-minus-line"]),
39885
39899
  onClick: M[0] || (M[0] = oo(
39886
39900
  //@ts-ignore
39887
- (...O) => q(h) && q(h)(...O),
39901
+ (...j) => q(h) && q(h)(...j),
39888
39902
  ["stop"]
39889
39903
  ))
39890
39904
  },
@@ -39942,7 +39956,7 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39942
39956
  N0(GI, r.enablePopup);
39943
39957
  const o = se(), a = se(), s = se(), l = se(!1), c = se(r.defaultMinimize), u = se(""), d = se(!1), h = se(!1);
39944
39958
  let f = null;
39945
- const p = se(""), m = se([]), g = se(window.innerHeight), v = se(68), b = doe(), { renderMarkdown: C } = a1e(), { selectedText: y, citeText: w, setCiteText: x } = du(r.enablePopup), { messageListRef: T, scrollMainToBottom: M, scrollToBottomIfNeeded: O, resetUserScrolling: F } = s1e(), { currentShortcut: Z, handleShortcutClick: V, handleCancelShortcut: H } = c1e({
39959
+ const p = se(""), m = se([]), g = se(window.innerHeight), v = se(68), b = doe(), { renderMarkdown: C } = a1e(), { selectedText: y, citeText: w, setCiteText: x } = du(r.enablePopup), { messageListRef: T, scrollMainToBottom: M, scrollToBottomIfNeeded: j, resetUserScrolling: F } = s1e(), { currentShortcut: U, handleShortcutClick: V, handleCancelShortcut: H } = c1e({
39946
39960
  selectedText: y,
39947
39961
  isShow: l,
39948
39962
  handleShow: () => {
@@ -39958,10 +39972,10 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39958
39972
  left: ae,
39959
39973
  width: ue,
39960
39974
  height: be,
39961
- isCompressionHeight: j,
39975
+ isCompressionHeight: O,
39962
39976
  handleDragging: S,
39963
39977
  handleResizing: L,
39964
- toggleCompression: U
39978
+ toggleCompression: Y
39965
39979
  } = l1e({
39966
39980
  maxWidthPercent: 80,
39967
39981
  initWidth: r.defaultWidth,
@@ -39969,9 +39983,9 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39969
39983
  defaultTop: r.defaultTop,
39970
39984
  defaultLeft: r.defaultLeft,
39971
39985
  miniPadding: r.miniPadding
39972
- }), $ = Ke(() => g.value - 367), { greetingSectionRef: ee, updateGreetingTextHeight: re, getInputContainerStyle: Y } = o1e({
39986
+ }), $ = Ke(() => g.value - 367), { greetingSectionRef: ee, updateGreetingTextHeight: re, getInputContainerStyle: Z } = o1e({
39973
39987
  greetingMaxHeight: $.value
39974
- }), D = Ke(() => Y(me.value)), A = Ke(() => {
39988
+ }), D = Ke(() => Z(me.value)), A = Ke(() => {
39975
39989
  const Ge = y.value ? 100 : 70;
39976
39990
  return v.value + 40 + Ge;
39977
39991
  }), J = Ke(() => aoe(r.url)), {
@@ -39999,13 +40013,13 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
39999
40013
  handleCompleteRole: At
40000
40014
  } = uq({
40001
40015
  handleStart: () => {
40002
- O(), i("receive-start");
40016
+ j(), i("receive-start");
40003
40017
  },
40004
40018
  handleText: () => {
40005
- O(), i("receive-text");
40019
+ j(), i("receive-text");
40006
40020
  },
40007
40021
  handleEnd: () => {
40008
- O(), i("receive-end");
40022
+ j(), i("receive-end");
40009
40023
  },
40010
40024
  requestOptions: {
40011
40025
  url: J.value,
@@ -40068,7 +40082,7 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
40068
40082
  ), Ut(
40069
40083
  te,
40070
40084
  () => {
40071
- Xt(O);
40085
+ Xt(j);
40072
40086
  },
40073
40087
  { deep: !0 }
40074
40088
  ), Ut(
@@ -40254,13 +40268,13 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
40254
40268
  r.hideHeader ? tt("v-if", !0) : (he(), Nt(Ooe, {
40255
40269
  key: 0,
40256
40270
  title: r.title,
40257
- "is-compression-height": q(j),
40271
+ "is-compression-height": q(O),
40258
40272
  draggable: r.draggable,
40259
40273
  "show-history-icon": r.showHistoryIcon,
40260
40274
  "show-new-chat-icon": r.showNewChatIcon,
40261
40275
  "enable-chat-session": Ne.value,
40262
40276
  onClose: Yn,
40263
- onToggleCompression: q(U),
40277
+ onToggleCompression: q(Y),
40264
40278
  onNewChat: Er
40265
40279
  }, null, 8, ["title", "is-compression-height", "draggable", "show-history-icon", "show-new-chat-icon", "enable-chat-session", "onToggleCompression"])),
40266
40280
  pe("div", m1e, [
@@ -40321,9 +40335,9 @@ const d1e = { class: "nimbus-bkai-wrapper" }, f1e = ["width", "height", "src"],
40321
40335
  onClick: xo
40322
40336
  }, null, 8, ["text"])) : tt("v-if", !0)
40323
40337
  ])) : tt("v-if", !0),
40324
- q(Z) ? (he(), Nt(pae, {
40325
- key: q(Z).id,
40326
- shortcut: q(Z),
40338
+ q(U) ? (he(), Nt(pae, {
40339
+ key: q(U).id,
40340
+ shortcut: q(U),
40327
40341
  "root-node": s.value,
40328
40342
  onCancel: q(H),
40329
40343
  onSubmit: la