@blueking/ai-blueking 0.0.0 → 0.0.1

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.
@@ -1,5 +1,5 @@
1
1
  import * as U from "@blueking/bkui-library";
2
- import { defineComponent as Mo, computed as fi, openBlock as Qe, createElementBlock as He, normalizeClass as $s, Fragment as di, createElementVNode as Ne, createCommentVNode as Xs, toDisplayString as Vi, ref as $n, watch as uf, onMounted as Hp, createBlock as pi, unref as ze, withCtx as gi, withDirectives as Dn, createVNode as Yr, renderList as ff, normalizeStyle as mi, createTextVNode as df, nextTick as Up, pushScopeId as Vp, popScopeId as $p, onBeforeMount as Xp, onBeforeUnmount as qp, withModifiers as $t, renderSlot as Kp, createApp as eg, h as tg } from "@blueking/bkui-library";
2
+ import { defineComponent as Mo, computed as fi, openBlock as Qe, createElementBlock as He, normalizeClass as $s, Fragment as di, createElementVNode as Ne, createCommentVNode as Xs, toDisplayString as Vi, ref as $n, watch as uf, onMounted as Hp, createBlock as pi, unref as Ae, withCtx as gi, withDirectives as Dn, createVNode as Yr, renderList as ff, normalizeStyle as mi, createTextVNode as df, nextTick as Up, pushScopeId as Vp, popScopeId as $p, onBeforeMount as Xp, onBeforeUnmount as qp, withModifiers as $t, renderSlot as Kp, createApp as eg, h as tg } from "@blueking/bkui-library";
3
3
  var tt = "top", ht = "bottom", vt = "right", nt = "left", Ta = "auto", Co = [tt, ht, vt, nt], sr = "start", Hr = "end", ng = "clippingParents", pf = "viewport", Or = "popper", rg = "reference", Tc = /* @__PURE__ */ Co.reduce(function(t, e) {
4
4
  return t.concat([e + "-" + sr, e + "-" + Hr]);
5
5
  }, []), gf = /* @__PURE__ */ [].concat(Co, [Ta]).reduce(function(t, e) {
@@ -125,7 +125,7 @@ function hf(t, e) {
125
125
  }
126
126
  return !1;
127
127
  }
128
- function en(t) {
128
+ function tn(t) {
129
129
  return at(t).getComputedStyle(t);
130
130
  }
131
131
  function vg(t) {
@@ -151,18 +151,18 @@ function $i(t) {
151
151
  }
152
152
  function xc(t) {
153
153
  return !mt(t) || // https://github.com/popperjs/popper-core/issues/837
154
- en(t).position === "fixed" ? null : t.offsetParent;
154
+ tn(t).position === "fixed" ? null : t.offsetParent;
155
155
  }
156
156
  function yg(t) {
157
157
  var e = /firefox/i.test(qs()), n = /Trident/i.test(qs());
158
158
  if (n && mt(t)) {
159
- var r = en(t);
159
+ var r = tn(t);
160
160
  if (r.position === "fixed")
161
161
  return null;
162
162
  }
163
163
  var o = $i(t);
164
164
  for (xa(o) && (o = o.host); mt(o) && ["html", "body"].indexOf(Wt(o)) < 0; ) {
165
- var i = en(o);
165
+ var i = tn(o);
166
166
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
167
167
  return o;
168
168
  o = o.parentNode;
@@ -170,9 +170,9 @@ function yg(t) {
170
170
  return null;
171
171
  }
172
172
  function wo(t) {
173
- for (var e = at(t), n = xc(t); n && vg(n) && en(n).position === "static"; )
173
+ for (var e = at(t), n = xc(t); n && vg(n) && tn(n).position === "static"; )
174
174
  n = xc(n);
175
- return n && (Wt(n) === "html" || Wt(n) === "body" && en(n).position === "static") ? e : n || yg(t) || e;
175
+ return n && (Wt(n) === "html" || Wt(n) === "body" && tn(n).position === "static") ? e : n || yg(t) || e;
176
176
  }
177
177
  function Na(t) {
178
178
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
@@ -208,7 +208,7 @@ var Ig = function(e, n) {
208
208
  function Mg(t) {
209
209
  var e, n = t.state, r = t.name, o = t.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, a = Ot(n.placement), c = Na(a), l = [nt, vt].indexOf(a) >= 0, u = l ? "height" : "width";
210
210
  if (!(!i || !s)) {
211
- var f = Ig(o.padding, n), p = ka(i), d = c === "y" ? tt : nt, h = c === "y" ? ht : vt, g = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], b = s[c] - n.rects.reference[c], m = wo(i), M = m ? c === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, I = g / 2 - b / 2, k = f[d], N = M - p[u] - f[h], T = M / 2 - p[u] / 2 + I, z = Gr(k, T, N), Z = c;
211
+ var f = Ig(o.padding, n), p = ka(i), d = c === "y" ? tt : nt, h = c === "y" ? ht : vt, g = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], b = s[c] - n.rects.reference[c], m = wo(i), M = m ? c === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, I = g / 2 - b / 2, N = f[d], k = M - p[u] - f[h], T = M / 2 - p[u] / 2 + I, z = Gr(N, T, k), Z = c;
212
212
  n.modifiersData[r] = (e = {}, e[Z] = z, e.centerOffset = z - T, e);
213
213
  }
214
214
  }
@@ -250,12 +250,12 @@ function kc(t) {
250
250
  y: g
251
251
  };
252
252
  d = b.x, g = b.y;
253
- var m = s.hasOwnProperty("x"), M = s.hasOwnProperty("y"), I = nt, k = tt, N = window;
253
+ var m = s.hasOwnProperty("x"), M = s.hasOwnProperty("y"), I = nt, N = tt, k = window;
254
254
  if (l) {
255
255
  var T = wo(n), z = "clientHeight", Z = "clientWidth";
256
- if (T === at(n) && (T = Tn(n), en(T).position !== "static" && a === "absolute" && (z = "scrollHeight", Z = "scrollWidth")), T = T, o === tt || (o === nt || o === vt) && i === Hr) {
257
- k = ht;
258
- var K = f && T === N && N.visualViewport ? N.visualViewport.height : (
256
+ if (T === at(n) && (T = Tn(n), tn(T).position !== "static" && a === "absolute" && (z = "scrollHeight", Z = "scrollWidth")), T = T, o === tt || (o === nt || o === vt) && i === Hr) {
257
+ N = ht;
258
+ var K = f && T === k && k.visualViewport ? k.visualViewport.height : (
259
259
  // $FlowFixMe[prop-missing]
260
260
  T[z]
261
261
  );
@@ -263,7 +263,7 @@ function kc(t) {
263
263
  }
264
264
  if (o === nt || (o === tt || o === ht) && i === Hr) {
265
265
  I = vt;
266
- var O = f && T === N && N.visualViewport ? N.visualViewport.width : (
266
+ var O = f && T === k && k.visualViewport ? k.visualViewport.width : (
267
267
  // $FlowFixMe[prop-missing]
268
268
  T[Z]
269
269
  );
@@ -281,9 +281,9 @@ function kc(t) {
281
281
  };
282
282
  if (d = F.x, g = F.y, c) {
283
283
  var Y;
284
- return Object.assign({}, _, (Y = {}, Y[k] = M ? "0" : "", Y[I] = m ? "0" : "", Y.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", Y));
284
+ return Object.assign({}, _, (Y = {}, Y[N] = M ? "0" : "", Y[I] = m ? "0" : "", Y.transform = (k.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", Y));
285
285
  }
286
- return Object.assign({}, _, (e = {}, e[k] = M ? g + "px" : "", e[I] = m ? d + "px" : "", e.transform = "", e));
286
+ return Object.assign({}, _, (e = {}, e[N] = M ? g + "px" : "", e[I] = m ? d + "px" : "", e.transform = "", e));
287
287
  }
288
288
  function xg(t) {
289
289
  var e = t.state, n = t.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, s = i === void 0 ? !0 : i, a = n.roundOffsets, c = a === void 0 ? !0 : a, l = {
@@ -383,7 +383,7 @@ function Eg(t, e) {
383
383
  }
384
384
  function Pg(t) {
385
385
  var e, n = Tn(t), r = ja(t), o = (e = t.ownerDocument) == null ? void 0 : e.body, i = Pn(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = Pn(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), a = -r.scrollLeft + Sa(t), c = -r.scrollTop;
386
- return en(o || n).direction === "rtl" && (a += Pn(n.clientWidth, o ? o.clientWidth : 0) - i), {
386
+ return tn(o || n).direction === "rtl" && (a += Pn(n.clientWidth, o ? o.clientWidth : 0) - i), {
387
387
  width: i,
388
388
  height: s,
389
389
  x: a,
@@ -391,7 +391,7 @@ function Pg(t) {
391
391
  };
392
392
  }
393
393
  function Da(t) {
394
- var e = en(t), n = e.overflow, r = e.overflowX, o = e.overflowY;
394
+ var e = tn(t), n = e.overflow, r = e.overflowX, o = e.overflowY;
395
395
  return /auto|scroll|overlay|hidden/.test(n + o + r);
396
396
  }
397
397
  function If(t) {
@@ -422,7 +422,7 @@ function jc(t, e, n) {
422
422
  return e === pf ? Ks(Eg(t, n)) : On(e) ? Og(e, n) : Ks(Pg(Tn(t)));
423
423
  }
424
424
  function Ag(t) {
425
- var e = Zr($i(t)), n = ["absolute", "fixed"].indexOf(en(t).position) >= 0, r = n && mt(t) ? wo(t) : t;
425
+ var e = Zr($i(t)), n = ["absolute", "fixed"].indexOf(tn(t).position) >= 0, r = n && mt(t) ? wo(t) : t;
426
426
  return On(r) ? e.filter(function(o) {
427
427
  return On(o) && hf(o, r) && Wt(o) !== "body";
428
428
  }) : [];
@@ -483,16 +483,16 @@ function Mf(t) {
483
483
  }
484
484
  function Ur(t, e) {
485
485
  e === void 0 && (e = {});
486
- var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, c = a === void 0 ? ng : a, l = n.rootBoundary, u = l === void 0 ? pf : l, f = n.elementContext, p = f === void 0 ? Or : f, d = n.altBoundary, h = d === void 0 ? !1 : d, g = n.padding, b = g === void 0 ? 0 : g, m = yf(typeof b != "number" ? b : bf(b, Co)), M = p === Or ? rg : Or, I = t.rects.popper, k = t.elements[h ? M : p], N = _g(On(k) ? k : k.contextElement || Tn(t.elements.popper), c, u, s), T = cr(t.elements.reference), z = Mf({
486
+ var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, c = a === void 0 ? ng : a, l = n.rootBoundary, u = l === void 0 ? pf : l, f = n.elementContext, p = f === void 0 ? Or : f, d = n.altBoundary, h = d === void 0 ? !1 : d, g = n.padding, b = g === void 0 ? 0 : g, m = yf(typeof b != "number" ? b : bf(b, Co)), M = p === Or ? rg : Or, I = t.rects.popper, N = t.elements[h ? M : p], k = _g(On(N) ? N : N.contextElement || Tn(t.elements.popper), c, u, s), T = cr(t.elements.reference), z = Mf({
487
487
  reference: T,
488
488
  element: I,
489
489
  strategy: "absolute",
490
490
  placement: o
491
491
  }), Z = Ks(Object.assign({}, I, z)), K = p === Or ? Z : T, O = {
492
- top: N.top - K.top + m.top,
493
- bottom: K.bottom - N.bottom + m.bottom,
494
- left: N.left - K.left + m.left,
495
- right: K.right - N.right + m.right
492
+ top: k.top - K.top + m.top,
493
+ bottom: K.bottom - k.bottom + m.bottom,
494
+ left: k.left - K.left + m.left,
495
+ right: K.right - k.right + m.right
496
496
  }, _ = t.modifiersData.offset;
497
497
  if (p === Or && _) {
498
498
  var F = _[o];
@@ -532,7 +532,7 @@ function Qg(t) {
532
532
  function Jg(t) {
533
533
  var e = t.state, n = t.options, r = t.name;
534
534
  if (!e.modifiersData[r]._skip) {
535
- for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, c = n.fallbackPlacements, l = n.padding, u = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, h = d === void 0 ? !0 : d, g = n.allowedAutoPlacements, b = e.options.placement, m = Ot(b), M = m === b, I = c || (M || !h ? [si(b)] : Qg(b)), k = [b].concat(I).reduce(function($, ie) {
535
+ for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, c = n.fallbackPlacements, l = n.padding, u = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, h = d === void 0 ? !0 : d, g = n.allowedAutoPlacements, b = e.options.placement, m = Ot(b), M = m === b, I = c || (M || !h ? [si(b)] : Qg(b)), N = [b].concat(I).reduce(function($, ie) {
536
536
  return $.concat(Ot(ie) === Ta ? zg(e, {
537
537
  placement: ie,
538
538
  boundary: u,
@@ -541,15 +541,15 @@ function Jg(t) {
541
541
  flipVariations: h,
542
542
  allowedAutoPlacements: g
543
543
  }) : ie);
544
- }, []), N = e.rects.reference, T = e.rects.popper, z = /* @__PURE__ */ new Map(), Z = !0, K = k[0], O = 0; O < k.length; O++) {
545
- var _ = k[O], F = Ot(_), Y = lr(_) === sr, P = [tt, ht].indexOf(F) >= 0, S = P ? "width" : "height", D = Ur(e, {
544
+ }, []), k = e.rects.reference, T = e.rects.popper, z = /* @__PURE__ */ new Map(), Z = !0, K = N[0], O = 0; O < N.length; O++) {
545
+ var _ = N[O], F = Ot(_), Y = lr(_) === sr, P = [tt, ht].indexOf(F) >= 0, S = P ? "width" : "height", D = Ur(e, {
546
546
  placement: _,
547
547
  boundary: u,
548
548
  rootBoundary: f,
549
549
  altBoundary: p,
550
550
  padding: l
551
551
  }), J = P ? Y ? vt : nt : Y ? ht : tt;
552
- N[S] > T[S] && (J = si(J));
552
+ k[S] > T[S] && (J = si(J));
553
553
  var ne = si(J), ye = [];
554
554
  if (i && ye.push(D[F] <= 0), a && ye.push(D[J] <= 0, D[ne] <= 0), ye.every(function($) {
555
555
  return $;
@@ -561,7 +561,7 @@ function Jg(t) {
561
561
  }
562
562
  if (Z)
563
563
  for (var V = h ? 3 : 1, W = function(ie) {
564
- var se = k.find(function(he) {
564
+ var se = N.find(function(he) {
565
565
  var j = z.get(he);
566
566
  if (j)
567
567
  return j.slice(0, ie).every(function(v) {
@@ -677,7 +677,7 @@ function Vg(t) {
677
677
  rootBoundary: l,
678
678
  padding: f,
679
679
  altBoundary: u
680
- }), m = Ot(e.placement), M = lr(e.placement), I = !M, k = Na(m), N = Ug(k), T = e.modifiersData.popperOffsets, z = e.rects.reference, Z = e.rects.popper, K = typeof g == "function" ? g(Object.assign({}, e.rects, {
680
+ }), m = Ot(e.placement), M = lr(e.placement), I = !M, N = Na(m), k = Ug(N), T = e.modifiersData.popperOffsets, z = e.rects.reference, Z = e.rects.popper, K = typeof g == "function" ? g(Object.assign({}, e.rects, {
681
681
  placement: e.placement
682
682
  })) : g, O = typeof K == "number" ? {
683
683
  mainAxis: K,
@@ -691,15 +691,15 @@ function Vg(t) {
691
691
  };
692
692
  if (T) {
693
693
  if (i) {
694
- var Y, P = k === "y" ? tt : nt, S = k === "y" ? ht : vt, D = k === "y" ? "height" : "width", J = T[k], ne = J + b[P], ye = J - b[S], V = d ? -Z[D] / 2 : 0, W = M === sr ? z[D] : Z[D], Q = M === sr ? -Z[D] : -z[D], G = e.elements.arrow, $ = d && G ? ka(G) : {
694
+ var Y, P = N === "y" ? tt : nt, S = N === "y" ? ht : vt, D = N === "y" ? "height" : "width", J = T[N], ne = J + b[P], ye = J - b[S], V = d ? -Z[D] / 2 : 0, W = M === sr ? z[D] : Z[D], Q = M === sr ? -Z[D] : -z[D], G = e.elements.arrow, $ = d && G ? ka(G) : {
695
695
  width: 0,
696
696
  height: 0
697
- }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vf(), se = ie[P], he = ie[S], j = Gr(0, z[D], $[D]), v = I ? z[D] / 2 - V - j - se - O.mainAxis : W - j - se - O.mainAxis, C = I ? -z[D] / 2 + V + j + he + O.mainAxis : Q + j + he + O.mainAxis, y = e.elements.arrow && wo(e.elements.arrow), E = y ? k === "y" ? y.clientTop || 0 : y.clientLeft || 0 : 0, R = (Y = _ == null ? void 0 : _[k]) != null ? Y : 0, H = J + v - R - E, ee = J + C - R, w = Gr(d ? hi(ne, H) : ne, J, d ? Pn(ye, ee) : ye);
698
- T[k] = w, F[k] = w - J;
697
+ }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vf(), se = ie[P], he = ie[S], j = Gr(0, z[D], $[D]), v = I ? z[D] / 2 - V - j - se - O.mainAxis : W - j - se - O.mainAxis, C = I ? -z[D] / 2 + V + j + he + O.mainAxis : Q + j + he + O.mainAxis, y = e.elements.arrow && wo(e.elements.arrow), E = y ? N === "y" ? y.clientTop || 0 : y.clientLeft || 0 : 0, R = (Y = _ == null ? void 0 : _[N]) != null ? Y : 0, H = J + v - R - E, ee = J + C - R, w = Gr(d ? hi(ne, H) : ne, J, d ? Pn(ye, ee) : ye);
698
+ T[N] = w, F[N] = w - J;
699
699
  }
700
700
  if (a) {
701
- var L, A = k === "x" ? tt : nt, B = k === "x" ? ht : vt, oe = T[N], fe = N === "y" ? "height" : "width", ge = oe + b[A], me = oe - b[B], be = [tt, nt].indexOf(m) !== -1, we = (L = _ == null ? void 0 : _[N]) != null ? L : 0, xe = be ? ge : oe - z[fe] - Z[fe] - we + O.altAxis, Me = be ? oe + z[fe] + Z[fe] - we - O.altAxis : me, Ae = d && be ? bg(xe, oe, Me) : Gr(d ? xe : ge, oe, d ? Me : me);
702
- T[N] = Ae, F[N] = Ae - oe;
701
+ var L, A = N === "x" ? tt : nt, B = N === "x" ? ht : vt, oe = T[k], fe = k === "y" ? "height" : "width", ge = oe + b[A], me = oe - b[B], be = [tt, nt].indexOf(m) !== -1, we = (L = _ == null ? void 0 : _[k]) != null ? L : 0, xe = be ? ge : oe - z[fe] - Z[fe] - we + O.altAxis, Me = be ? oe + z[fe] + Z[fe] - we - O.altAxis : me, _e = d && be ? bg(xe, oe, Me) : Gr(d ? xe : ge, oe, d ? Me : me);
702
+ T[k] = _e, F[k] = _e - oe;
703
703
  }
704
704
  e.modifiersData[r] = F;
705
705
  }
@@ -827,8 +827,8 @@ function im(t) {
827
827
  popper: Zr(c)
828
828
  };
829
829
  var I = nm(om([].concat(r, u.options.modifiers)));
830
- return u.orderedModifiers = I.filter(function(k) {
831
- return k.enabled;
830
+ return u.orderedModifiers = I.filter(function(N) {
831
+ return N.enabled;
832
832
  }), h(), d.update();
833
833
  },
834
834
  // Sync update – it will always be executed, even if not necessary. This
@@ -846,12 +846,12 @@ function im(t) {
846
846
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
847
847
  return u.modifiersData[O.name] = Object.assign({}, O.data);
848
848
  });
849
- for (var k = 0; k < u.orderedModifiers.length; k++) {
849
+ for (var N = 0; N < u.orderedModifiers.length; N++) {
850
850
  if (u.reset === !0) {
851
- u.reset = !1, k = -1;
851
+ u.reset = !1, N = -1;
852
852
  continue;
853
853
  }
854
- var N = u.orderedModifiers[k], T = N.fn, z = N.options, Z = z === void 0 ? {} : z, K = N.name;
854
+ var k = u.orderedModifiers[N], T = k.fn, z = k.options, Z = z === void 0 ? {} : z, K = k.name;
855
855
  typeof T == "function" && (u = T({
856
856
  state: u,
857
857
  options: Z,
@@ -880,16 +880,16 @@ function im(t) {
880
880
  });
881
881
  function h() {
882
882
  u.orderedModifiers.forEach(function(b) {
883
- var m = b.name, M = b.options, I = M === void 0 ? {} : M, k = b.effect;
884
- if (typeof k == "function") {
885
- var N = k({
883
+ var m = b.name, M = b.options, I = M === void 0 ? {} : M, N = b.effect;
884
+ if (typeof N == "function") {
885
+ var k = N({
886
886
  state: u,
887
887
  name: m,
888
888
  instance: d,
889
889
  options: I
890
890
  }), T = function() {
891
891
  };
892
- f.push(N || T);
892
+ f.push(k || T);
893
893
  }
894
894
  });
895
895
  }
@@ -1020,10 +1020,10 @@ function nh(t, e, n) {
1020
1020
  function I() {
1021
1021
  a !== void 0 && clearTimeout(a), l = 0, r = c = o = a = void 0;
1022
1022
  }
1023
- function k() {
1023
+ function N() {
1024
1024
  return a === void 0 ? s : M(ks());
1025
1025
  }
1026
- function N() {
1026
+ function k() {
1027
1027
  var T = ks(), z = b(T);
1028
1028
  if (r = arguments, o = this, c = T, z) {
1029
1029
  if (a === void 0)
@@ -1033,7 +1033,7 @@ function nh(t, e, n) {
1033
1033
  }
1034
1034
  return a === void 0 && (a = setTimeout(m, e)), s;
1035
1035
  }
1036
- return N.cancel = I, N.flush = k, N;
1036
+ return k.cancel = I, k.flush = N, k;
1037
1037
  }
1038
1038
  var rh = nh, oh = rh, ih = Ht, sh = "Expected a function";
1039
1039
  function ah(t, e, n) {
@@ -1332,14 +1332,14 @@ function Df(t = { func: () => {
1332
1332
  }
1333
1333
  class Ace extends Df() {
1334
1334
  }
1335
- var qt = {};
1336
- qt.d = (t, e) => {
1335
+ var Kt = {};
1336
+ Kt.d = (t, e) => {
1337
1337
  for (var n in e)
1338
- qt.o(e, n) && !qt.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
1338
+ Kt.o(e, n) && !Kt.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
1339
1339
  };
1340
- qt.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
1340
+ Kt.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
1341
1341
  var te = {};
1342
- qt.d(te, {
1342
+ Kt.d(te, {
1343
1343
  AlignEnum: () => (
1344
1344
  /* reexport */
1345
1345
  Ii
@@ -1562,7 +1562,7 @@ qt.d(te, {
1562
1562
  ),
1563
1563
  isObject: () => (
1564
1564
  /* reexport */
1565
- tn
1565
+ nn
1566
1566
  ),
1567
1567
  isPromise: () => (
1568
1568
  /* reexport */
@@ -1729,7 +1729,7 @@ function Oa(t) {
1729
1729
  var e = Object.prototype.toString.call(t);
1730
1730
  return e.substr(0, 7) === "[object" && e.substr(-6) === "Array]";
1731
1731
  }
1732
- function tn(t) {
1732
+ function nn(t) {
1733
1733
  return t !== null && /^\[object (Object|Module|Promise)\]/.test(Object.prototype.toString.call(t));
1734
1734
  }
1735
1735
  var Pf = function(e) {
@@ -1753,7 +1753,7 @@ function Jh(t, e) {
1753
1753
  function Vr(t) {
1754
1754
  if (Oa(t))
1755
1755
  return t.map(Vr);
1756
- if (tn(t)) {
1756
+ if (nn(t)) {
1757
1757
  for (var e = /* @__PURE__ */ Object.create(null), n = Object.keys(t), r = n.length, o = 0; o < r; ++o)
1758
1758
  e[n[o]] = Vr(t[n[o]]);
1759
1759
  return e;
@@ -1766,16 +1766,16 @@ function Of(t) {
1766
1766
  function Af(t, e, n, r) {
1767
1767
  if (Of(t)) {
1768
1768
  var o = e[t], i = n[t];
1769
- tn(o) && tn(i) ? qi(o, i, r) : e[t] = Vr(i);
1769
+ nn(o) && nn(i) ? qi(o, i, r) : e[t] = Vr(i);
1770
1770
  }
1771
1771
  }
1772
1772
  function qi(t, e, n) {
1773
1773
  var r = Oa(e) ? e : [e], o = r.length;
1774
- if (!tn(t))
1774
+ if (!nn(t))
1775
1775
  return t;
1776
1776
  n = n || {};
1777
1777
  for (var i = n.merger || Af, s = 0; s < o; ++s)
1778
- if (e = r[s], !!tn(e))
1778
+ if (e = r[s], !!nn(e))
1779
1779
  for (var a = Object.keys(e), c = 0, l = a.length; c < l; ++c)
1780
1780
  i(a[c], t, e, n);
1781
1781
  return t;
@@ -1788,7 +1788,7 @@ function _f(t, e) {
1788
1788
  function zf(t, e, n) {
1789
1789
  if (Of(t)) {
1790
1790
  var r = e[t], o = n[t];
1791
- tn(r) && tn(o) ? _f(r, o) : Object.prototype.hasOwnProperty.call(e, t) || (e[t] = Vr(o));
1791
+ nn(r) && nn(o) ? _f(r, o) : Object.prototype.hasOwnProperty.call(e, t) || (e[t] = Vr(o));
1792
1792
  }
1793
1793
  }
1794
1794
  function Xn(t) {
@@ -1811,10 +1811,10 @@ var ea = function(e) {
1811
1811
  }, Zh = function(e) {
1812
1812
  return Lt(e) === "symbol";
1813
1813
  }, Fh = function(e) {
1814
- return tn(e) && ea(e.then) && ea(e.catch);
1814
+ return nn(e) && ea(e.then) && ea(e.catch);
1815
1815
  }, Wh = (t) => {
1816
1816
  var e = {};
1817
- return qt.d(e, t), e;
1817
+ return Kt.d(e, t), e;
1818
1818
  };
1819
1819
  const Jf = Wh({ inject: () => U.inject });
1820
1820
  var Rf = Symbol("form"), Gf = Symbol("formItem"), Bh = function() {
@@ -1925,7 +1925,7 @@ function nv(t, e, n) {
1925
1925
  const rv = nv;
1926
1926
  var ov = (t) => {
1927
1927
  var e = {};
1928
- return qt.d(e, t), e;
1928
+ return Kt.d(e, t), e;
1929
1929
  };
1930
1930
  const iv = ov({ createPopper: () => Cf });
1931
1931
  var sv = /* @__PURE__ */ function() {
@@ -2182,7 +2182,7 @@ function cv() {
2182
2182
  }
2183
2183
  var lv = (t) => {
2184
2184
  var e = {};
2185
- return qt.d(e, t), e;
2185
+ return Kt.d(e, t), e;
2186
2186
  };
2187
2187
  const uv = lv({ default: () => lh });
2188
2188
  var fv = "abcdefghijklmnopqrstuvwxyz0123456789", dv = function(e) {
@@ -2292,7 +2292,7 @@ function bv(t, e) {
2292
2292
  }
2293
2293
  var Iv = (t) => {
2294
2294
  var e = {};
2295
- return qt.d(e, t), e;
2295
+ return Kt.d(e, t), e;
2296
2296
  };
2297
2297
  const Pe = Iv({ createTypes: () => Df, string: () => Pa, toType: () => Ye });
2298
2298
  function Mv(t, e, n) {
@@ -3718,14 +3718,14 @@ var Tw = {
3718
3718
  };
3719
3719
  const xw = Tw;
3720
3720
  Ga.en;
3721
- var kw = Ga.zhCn, Kt = {};
3722
- Kt.d = (t, e) => {
3721
+ var kw = Ga.zhCn, en = {};
3722
+ en.d = (t, e) => {
3723
3723
  for (var n in e)
3724
- Kt.o(e, n) && !Kt.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
3724
+ en.o(e, n) && !en.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
3725
3725
  };
3726
- Kt.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
3727
- var an = {};
3728
- Kt.d(an, {
3726
+ en.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
3727
+ var cn = {};
3728
+ en.d(cn, {
3729
3729
  default: () => (
3730
3730
  /* binding */
3731
3731
  Bw
@@ -3761,12 +3761,12 @@ Kt.d(an, {
3761
3761
  });
3762
3762
  var Nw = (t) => {
3763
3763
  var e = {};
3764
- return Kt.d(e, t), e;
3764
+ return en.d(e, t), e;
3765
3765
  };
3766
3766
  const jw = Nw({ withInstall: () => xo });
3767
3767
  var Sw = (t) => {
3768
3768
  var e = {};
3769
- return Kt.d(e, t), e;
3769
+ return en.d(e, t), e;
3770
3770
  };
3771
3771
  const wt = Sw({ computed: () => U.computed, defineComponent: () => U.defineComponent, getCurrentInstance: () => U.getCurrentInstance, inject: () => U.inject, provide: () => U.provide, reactive: () => U.reactive, watch: () => U.watch });
3772
3772
  function $r(t) {
@@ -3803,12 +3803,12 @@ function Pw(t, e, n) {
3803
3803
  }
3804
3804
  var Ow = (t) => {
3805
3805
  var e = {};
3806
- return Kt.d(e, t), e;
3806
+ return en.d(e, t), e;
3807
3807
  };
3808
3808
  const Aw = Ow({ default: () => Cw });
3809
3809
  var _w = (t) => {
3810
3810
  var e = {};
3811
- return Kt.d(e, t), e;
3811
+ return en.d(e, t), e;
3812
3812
  };
3813
3813
  const zw = _w({ zhCn: () => kw });
3814
3814
  var gr = Symbol("rootProviderData"), _n = {
@@ -3900,13 +3900,13 @@ function Fw() {
3900
3900
  }
3901
3901
  var Ww = (0, jw.withInstall)(Gw);
3902
3902
  const Bw = Ww;
3903
- an.default;
3904
- an.defaultRootConfig;
3905
- var Yw = an.provideGlobalConfig;
3906
- an.rootProviderKey;
3907
- an.setPrefixVariable;
3908
- an.useGlobalConfig;
3909
- var Hw = an.useLocale, wr = an.usePrefix, qn = {};
3903
+ cn.default;
3904
+ cn.defaultRootConfig;
3905
+ var Yw = cn.provideGlobalConfig;
3906
+ cn.rootProviderKey;
3907
+ cn.setPrefixVariable;
3908
+ cn.useGlobalConfig;
3909
+ var Hw = cn.useLocale, wr = cn.usePrefix, qn = {};
3910
3910
  qn.d = (t, e) => {
3911
3911
  for (var n in e)
3912
3912
  qn.o(e, n) && !qn.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
@@ -4988,14 +4988,14 @@ const dT = (0, ot.defineComponent)({
4988
4988
  var r, o = n.slots, i = n.emit, s = (0, ot.ref)(!1), a = (r = o.default) !== null && r !== void 0 ? r : !1, c = (0, _d.usePrefix)(), l = c.resolveClassName, u = l("button"), f = (0, ot.computed)(function() {
4989
4989
  return e.text && !e.hoverTheme;
4990
4990
  }), p = (0, ot.computed)(function() {
4991
- var M = e.hoverTheme ? "".concat(u, "-hover-").concat(e.hoverTheme) : "", I = e.theme ? "".concat(u, "-").concat(e.theme) : "", k = e.hoverTheme ? "" : I;
4991
+ var M = e.hoverTheme ? "".concat(u, "-hover-").concat(e.hoverTheme) : "", I = e.theme ? "".concat(u, "-").concat(e.theme) : "", N = e.hoverTheme ? "" : I;
4992
4992
  return (0, et.classes)(ua(ua({
4993
4993
  "is-disabled": e.disabled,
4994
4994
  "is-outline": e.outline,
4995
4995
  "is-text": f.value,
4996
4996
  "is-loading": e.loading,
4997
4997
  "is-selected": e.selected
4998
- }, "".concat(u, "-").concat(e.size), e.size && zd.includes(e.size)), "no-slot", !a), "".concat(k, " ").concat(u, " ").concat(M));
4998
+ }, "".concat(u, "-").concat(e.size), e.size && zd.includes(e.size)), "no-slot", !a), "".concat(N, " ").concat(u, " ").concat(M));
4999
4999
  }), d = (0, ot.computed)(function() {
5000
5000
  return e.text || e.outline || e.hoverTheme ? s.value && !e.text ? "white" : e.text && e.disabled ? void 0 : e.hoverTheme || e.theme : e.theme ? "white" : void 0;
5001
5001
  }), h = (0, ot.computed)(function() {
@@ -5141,12 +5141,12 @@ function kl(t, e) {
5141
5141
  }
5142
5142
  var CT = function(e) {
5143
5143
  return typeof Element > "u" ? !1 : e instanceof Element;
5144
- }, hn = /* @__PURE__ */ new Map(), Gd;
5144
+ }, vn = /* @__PURE__ */ new Map(), Gd;
5145
5145
  document.addEventListener("mousedown", function(t) {
5146
5146
  return Gd = t;
5147
5147
  });
5148
5148
  document.addEventListener("mouseup", function(t) {
5149
- var e = xl(hn.values()), n;
5149
+ var e = xl(vn.values()), n;
5150
5150
  try {
5151
5151
  for (e.s(); !(n = e.n()).done; ) {
5152
5152
  var r = n.value, o = xl(r), i;
@@ -5178,14 +5178,14 @@ function Nl(t, e) {
5178
5178
  }
5179
5179
  var fa = {
5180
5180
  beforeMount: function(e, n) {
5181
- hn.has(e) || hn.set(e, []), hn.get(e).push({
5181
+ vn.has(e) || vn.set(e, []), vn.get(e).push({
5182
5182
  documentHandler: Nl(e, n),
5183
5183
  bindingFn: n.value
5184
5184
  });
5185
5185
  },
5186
5186
  updated: function(e, n) {
5187
- hn.has(e) || hn.set(e, []);
5188
- var r = hn.get(e), o = r.findIndex(function(s) {
5187
+ vn.has(e) || vn.set(e, []);
5188
+ var r = vn.get(e), o = r.findIndex(function(s) {
5189
5189
  return s.bindingFn === n.oldValue;
5190
5190
  }), i = {
5191
5191
  documentHandler: Nl(e, n),
@@ -5194,7 +5194,7 @@ var fa = {
5194
5194
  o >= 0 ? r.splice(o, 1, i) : r.push(i);
5195
5195
  },
5196
5196
  unmounted: function(e) {
5197
- hn.delete(e);
5197
+ vn.delete(e);
5198
5198
  }
5199
5199
  };
5200
5200
  fa.install = function(t) {
@@ -5473,7 +5473,7 @@ var _T = (t) => {
5473
5473
  var e = {};
5474
5474
  return zt.d(e, t), e;
5475
5475
  };
5476
- const zT = _T({ default: () => Rd }), Fd = ["top", "right", "bottom", "left"], Al = ["start", "end"], _l = /* @__PURE__ */ Fd.reduce((t, e) => t.concat(e, e + "-" + Al[0], e + "-" + Al[1]), []), nn = Math.min, Qt = Math.max, Ri = Math.round, Uo = Math.floor, Mn = (t) => ({
5476
+ const zT = _T({ default: () => Rd }), Fd = ["top", "right", "bottom", "left"], Al = ["start", "end"], _l = /* @__PURE__ */ Fd.reduce((t, e) => t.concat(e, e + "-" + Al[0], e + "-" + Al[1]), []), rn = Math.min, Qt = Math.max, Ri = Math.round, Uo = Math.floor, Mn = (t) => ({
5477
5477
  x: t,
5478
5478
  y: t
5479
5479
  }), QT = {
@@ -5486,7 +5486,7 @@ const zT = _T({ default: () => Rd }), Fd = ["top", "right", "bottom", "left"], A
5486
5486
  end: "start"
5487
5487
  };
5488
5488
  function pa(t, e, n) {
5489
- return Qt(t, nn(e, n));
5489
+ return Qt(t, rn(e, n));
5490
5490
  }
5491
5491
  function xn(t, e) {
5492
5492
  return typeof t == "function" ? t(e) : t;
@@ -5639,8 +5639,8 @@ const WT = async (t, e, n) => {
5639
5639
  } = a[g], {
5640
5640
  x: M,
5641
5641
  y: I,
5642
- data: k,
5643
- reset: N
5642
+ data: N,
5643
+ reset: k
5644
5644
  } = await m({
5645
5645
  x: u,
5646
5646
  y: f,
@@ -5659,13 +5659,13 @@ const WT = async (t, e, n) => {
5659
5659
  ...d,
5660
5660
  [b]: {
5661
5661
  ...d[b],
5662
- ...k
5662
+ ...N
5663
5663
  }
5664
- }, N && h <= 50 && (h++, typeof N == "object" && (N.placement && (p = N.placement), N.rects && (l = N.rects === !0 ? await s.getElementRects({
5664
+ }, k && h <= 50 && (h++, typeof k == "object" && (k.placement && (p = k.placement), k.rects && (l = k.rects === !0 ? await s.getElementRects({
5665
5665
  reference: t,
5666
5666
  floating: e,
5667
5667
  strategy: o
5668
- }) : N.rects), {
5668
+ }) : k.rects), {
5669
5669
  x: u,
5670
5670
  y: f
5671
5671
  } = zl(l, p, c)), g = -1);
@@ -5703,23 +5703,23 @@ async function po(t, e) {
5703
5703
  ...s.floating,
5704
5704
  x: r,
5705
5705
  y: o
5706
- } : s.reference, I = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(a.floating)), k = await (i.isElement == null ? void 0 : i.isElement(I)) ? await (i.getScale == null ? void 0 : i.getScale(I)) || {
5706
+ } : s.reference, I = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(a.floating)), N = await (i.isElement == null ? void 0 : i.isElement(I)) ? await (i.getScale == null ? void 0 : i.getScale(I)) || {
5707
5707
  x: 1,
5708
5708
  y: 1
5709
5709
  } : {
5710
5710
  x: 1,
5711
5711
  y: 1
5712
- }, N = mr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
5712
+ }, k = mr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
5713
5713
  elements: a,
5714
5714
  rect: M,
5715
5715
  offsetParent: I,
5716
5716
  strategy: c
5717
5717
  }) : M);
5718
5718
  return {
5719
- top: (m.top - N.top + h.top) / k.y,
5720
- bottom: (N.bottom - m.bottom + h.bottom) / k.y,
5721
- left: (m.left - N.left + h.left) / k.x,
5722
- right: (N.right - m.right + h.right) / k.x
5719
+ top: (m.top - k.top + h.top) / N.y,
5720
+ bottom: (k.bottom - m.bottom + h.bottom) / N.y,
5721
+ left: (m.left - k.left + h.left) / N.x,
5722
+ right: (k.right - m.right + h.right) / N.x
5723
5723
  };
5724
5724
  }
5725
5725
  const BT = (t) => ({
@@ -5743,10 +5743,10 @@ const BT = (t) => ({
5743
5743
  const f = tc(u), p = {
5744
5744
  x: n,
5745
5745
  y: r
5746
- }, d = ec(o), h = Ka(d), g = await s.getDimensions(l), b = d === "y", m = b ? "top" : "left", M = b ? "bottom" : "right", I = b ? "clientHeight" : "clientWidth", k = i.reference[h] + i.reference[d] - p[d] - i.floating[h], N = p[d] - i.reference[d], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
5746
+ }, d = ec(o), h = Ka(d), g = await s.getDimensions(l), b = d === "y", m = b ? "top" : "left", M = b ? "bottom" : "right", I = b ? "clientHeight" : "clientWidth", N = i.reference[h] + i.reference[d] - p[d] - i.floating[h], k = p[d] - i.reference[d], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
5747
5747
  let z = T ? T[I] : 0;
5748
5748
  (!z || !await (s.isElement == null ? void 0 : s.isElement(T))) && (z = a.floating[I] || i.floating[h]);
5749
- const Z = k / 2 - N / 2, K = z / 2 - g[h] / 2 - 1, O = nn(f[m], K), _ = nn(f[M], K), F = O, Y = z - g[h] - _, P = z / 2 - g[h] / 2 + Z, S = pa(F, P, Y), D = !c.arrow && Jt(o) != null && P !== S && i.reference[h] / 2 - (P < F ? O : _) - g[h] / 2 < 0, J = D ? P < F ? P - F : P - Y : 0;
5749
+ const Z = N / 2 - k / 2, K = z / 2 - g[h] / 2 - 1, O = rn(f[m], K), _ = rn(f[M], K), F = O, Y = z - g[h] - _, P = z / 2 - g[h] / 2 + Z, S = pa(F, P, Y), D = !c.arrow && Jt(o) != null && P !== S && i.reference[h] / 2 - (P < F ? O : _) - g[h] / 2 < 0, J = D ? P < F ? P - F : P - Y : 0;
5750
5750
  return {
5751
5751
  [d]: p[d] + J,
5752
5752
  data: {
@@ -5791,21 +5791,21 @@ const HT = function(t) {
5791
5791
  placement: g[0]
5792
5792
  }
5793
5793
  };
5794
- const k = [b[Tt(M)], b[I[0]], b[I[1]]], N = [...((r = s.autoPlacement) == null ? void 0 : r.overflows) || [], {
5794
+ const N = [b[Tt(M)], b[I[0]], b[I[1]]], k = [...((r = s.autoPlacement) == null ? void 0 : r.overflows) || [], {
5795
5795
  placement: M,
5796
- overflows: k
5796
+ overflows: N
5797
5797
  }], T = g[m + 1];
5798
5798
  if (T)
5799
5799
  return {
5800
5800
  data: {
5801
5801
  index: m + 1,
5802
- overflows: N
5802
+ overflows: k
5803
5803
  },
5804
5804
  reset: {
5805
5805
  placement: T
5806
5806
  }
5807
5807
  };
5808
- const z = N.map((O) => {
5808
+ const z = k.map((O) => {
5809
5809
  const _ = Jt(O.placement);
5810
5810
  return [O.placement, _ && u ? (
5811
5811
  // Check along the mainAxis and main crossAxis side.
@@ -5823,7 +5823,7 @@ const HT = function(t) {
5823
5823
  return K !== a ? {
5824
5824
  data: {
5825
5825
  index: m + 1,
5826
- overflows: N
5826
+ overflows: k
5827
5827
  },
5828
5828
  reset: {
5829
5829
  placement: K
@@ -5855,9 +5855,9 @@ const HT = function(t) {
5855
5855
  } = xn(t, e);
5856
5856
  if ((n = i.arrow) != null && n.alignmentOffset)
5857
5857
  return {};
5858
- const m = Tt(o), M = Tt(a) === a, I = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), k = p || (M || !g ? [Zi(a)] : RT(a));
5859
- !p && h !== "none" && k.push(...ZT(a, g, h, I));
5860
- const N = [a, ...k], T = await po(e, b), z = [];
5858
+ const m = Tt(o), M = Tt(a) === a, I = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), N = p || (M || !g ? [Zi(a)] : RT(a));
5859
+ !p && h !== "none" && N.push(...ZT(a, g, h, I));
5860
+ const k = [a, ...N], T = await po(e, b), z = [];
5861
5861
  let Z = ((r = i.flip) == null ? void 0 : r.overflows) || [];
5862
5862
  if (u && z.push(T[m]), f) {
5863
5863
  const F = Bd(o, s, I);
@@ -5868,7 +5868,7 @@ const HT = function(t) {
5868
5868
  overflows: z
5869
5869
  }], !z.every((F) => F <= 0)) {
5870
5870
  var K, O;
5871
- const F = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, Y = N[F];
5871
+ const F = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, Y = k[F];
5872
5872
  if (Y)
5873
5873
  return {
5874
5874
  data: {
@@ -5957,7 +5957,7 @@ const VT = function(t) {
5957
5957
  };
5958
5958
  };
5959
5959
  function Yd(t) {
5960
- const e = nn(...t.map((i) => i.left)), n = nn(...t.map((i) => i.top)), r = Qt(...t.map((i) => i.right)), o = Qt(...t.map((i) => i.bottom));
5960
+ const e = rn(...t.map((i) => i.left)), n = rn(...t.map((i) => i.top)), r = Qt(...t.map((i) => i.right)), o = Qt(...t.map((i) => i.bottom));
5961
5961
  return {
5962
5962
  x: e,
5963
5963
  y: n,
@@ -6007,16 +6007,16 @@ const XT = function(t) {
6007
6007
  y: Y
6008
6008
  };
6009
6009
  }
6010
- const b = Tt(n) === "left", m = Qt(...f.map((O) => O.right)), M = nn(...f.map((O) => O.left)), I = f.filter((O) => b ? O.left === M : O.right === m), k = I[0].top, N = I[I.length - 1].bottom, T = M, z = m, Z = z - T, K = N - k;
6010
+ const b = Tt(n) === "left", m = Qt(...f.map((O) => O.right)), M = rn(...f.map((O) => O.left)), I = f.filter((O) => b ? O.left === M : O.right === m), N = I[0].top, k = I[I.length - 1].bottom, T = M, z = m, Z = z - T, K = k - N;
6011
6011
  return {
6012
- top: k,
6013
- bottom: N,
6012
+ top: N,
6013
+ bottom: k,
6014
6014
  left: T,
6015
6015
  right: z,
6016
6016
  width: Z,
6017
6017
  height: K,
6018
6018
  x: T,
6019
- y: k
6019
+ y: N
6020
6020
  };
6021
6021
  }
6022
6022
  return p;
@@ -6146,14 +6146,14 @@ function it(t) {
6146
6146
  var e;
6147
6147
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
6148
6148
  }
6149
- function cn(t) {
6149
+ function ln(t) {
6150
6150
  var e;
6151
6151
  return (e = (Hd(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
6152
6152
  }
6153
6153
  function Hd(t) {
6154
6154
  return t instanceof Node || t instanceof it(t).Node;
6155
6155
  }
6156
- function rn(t) {
6156
+ function on(t) {
6157
6157
  return t instanceof Element || t instanceof it(t).Element;
6158
6158
  }
6159
6159
  function Bt(t) {
@@ -6197,7 +6197,7 @@ function yt(t) {
6197
6197
  return it(t).getComputedStyle(t);
6198
6198
  }
6199
6199
  function ls(t) {
6200
- return rn(t) ? {
6200
+ return on(t) ? {
6201
6201
  scrollLeft: t.scrollLeft,
6202
6202
  scrollTop: t.scrollTop
6203
6203
  } : {
@@ -6213,7 +6213,7 @@ function hr(t) {
6213
6213
  t.assignedSlot || // DOM Element detected.
6214
6214
  t.parentNode || // ShadowRoot detected.
6215
6215
  Rl(t) && t.host || // Fallback.
6216
- cn(t)
6216
+ ln(t)
6217
6217
  );
6218
6218
  return Rl(e) ? e.host : e;
6219
6219
  }
@@ -6238,7 +6238,7 @@ function Vd(t) {
6238
6238
  };
6239
6239
  }
6240
6240
  function oc(t) {
6241
- return rn(t) ? t : t.contextElement;
6241
+ return on(t) ? t : t.contextElement;
6242
6242
  }
6243
6243
  function rr(t) {
6244
6244
  const e = oc(t);
@@ -6270,11 +6270,11 @@ function zn(t, e, n, r) {
6270
6270
  e === void 0 && (e = !1), n === void 0 && (n = !1);
6271
6271
  const o = t.getBoundingClientRect(), i = oc(t);
6272
6272
  let s = Mn(1);
6273
- e && (r ? rn(r) && (s = rr(r)) : s = rr(t));
6273
+ e && (r ? on(r) && (s = rr(r)) : s = rr(t));
6274
6274
  const a = ox(i, n, r) ? $d(i) : Mn(0);
6275
6275
  let c = (o.left + a.x) / s.x, l = (o.top + a.y) / s.y, u = o.width / s.x, f = o.height / s.y;
6276
6276
  if (i) {
6277
- const p = it(i), d = r && rn(r) ? it(r) : r;
6277
+ const p = it(i), d = r && on(r) ? it(r) : r;
6278
6278
  let h = p.frameElement;
6279
6279
  for (; h && r && d !== p; ) {
6280
6280
  const g = rr(h), b = h.getBoundingClientRect(), m = yt(h), M = b.left + (h.clientLeft + parseFloat(m.paddingLeft)) * g.x, I = b.top + (h.clientTop + parseFloat(m.paddingTop)) * g.y;
@@ -6294,7 +6294,7 @@ function ix(t) {
6294
6294
  offsetParent: n,
6295
6295
  strategy: r
6296
6296
  } = t;
6297
- const o = Bt(n), i = cn(n);
6297
+ const o = Bt(n), i = ln(n);
6298
6298
  if (n === i)
6299
6299
  return e;
6300
6300
  let s = {
@@ -6317,10 +6317,10 @@ function sx(t) {
6317
6317
  return Array.from(t.getClientRects());
6318
6318
  }
6319
6319
  function Xd(t) {
6320
- return zn(cn(t)).left + ls(t).scrollLeft;
6320
+ return zn(ln(t)).left + ls(t).scrollLeft;
6321
6321
  }
6322
6322
  function ax(t) {
6323
- const e = cn(t), n = ls(t), r = t.ownerDocument.body, o = Qt(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = Qt(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
6323
+ const e = ln(t), n = ls(t), r = t.ownerDocument.body, o = Qt(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = Qt(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
6324
6324
  let s = -n.scrollLeft + Xd(t);
6325
6325
  const a = -n.scrollTop;
6326
6326
  return yt(r).direction === "rtl" && (s += Qt(e.clientWidth, r.clientWidth) - o), {
@@ -6331,7 +6331,7 @@ function ax(t) {
6331
6331
  };
6332
6332
  }
6333
6333
  function cx(t, e) {
6334
- const n = it(t), r = cn(t), o = n.visualViewport;
6334
+ const n = it(t), r = ln(t), o = n.visualViewport;
6335
6335
  let i = r.clientWidth, s = r.clientHeight, a = 0, c = 0;
6336
6336
  if (o) {
6337
6337
  i = o.width, s = o.height;
@@ -6359,8 +6359,8 @@ function Gl(t, e, n) {
6359
6359
  if (e === "viewport")
6360
6360
  r = cx(t, n);
6361
6361
  else if (e === "document")
6362
- r = ax(cn(t));
6363
- else if (rn(e))
6362
+ r = ax(ln(t));
6363
+ else if (on(e))
6364
6364
  r = lx(e, n);
6365
6365
  else {
6366
6366
  const o = $d(t);
@@ -6374,16 +6374,16 @@ function Gl(t, e, n) {
6374
6374
  }
6375
6375
  function qd(t, e) {
6376
6376
  const n = hr(t);
6377
- return n === e || !rn(n) || cs(n) ? !1 : yt(n).position === "fixed" || qd(n, e);
6377
+ return n === e || !on(n) || cs(n) ? !1 : yt(n).position === "fixed" || qd(n, e);
6378
6378
  }
6379
6379
  function ux(t, e) {
6380
6380
  const n = e.get(t);
6381
6381
  if (n)
6382
6382
  return n;
6383
- let r = go(t, [], !1).filter((a) => rn(a) && Cn(a) !== "body"), o = null;
6383
+ let r = go(t, [], !1).filter((a) => on(a) && Cn(a) !== "body"), o = null;
6384
6384
  const i = yt(t).position === "fixed";
6385
6385
  let s = i ? hr(t) : t;
6386
- for (; rn(s) && !cs(s); ) {
6386
+ for (; on(s) && !cs(s); ) {
6387
6387
  const a = yt(s), c = nc(s);
6388
6388
  !c && a.position === "fixed" && (o = null), (i ? !c && !o : !c && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || No(s) && !c && qd(t, s)) ? r = r.filter((u) => u !== s) : o = a, s = hr(s);
6389
6389
  }
@@ -6398,7 +6398,7 @@ function fx(t) {
6398
6398
  } = t;
6399
6399
  const s = [...n === "clippingAncestors" ? ux(e, this._c) : [].concat(n), r], a = s[0], c = s.reduce((l, u) => {
6400
6400
  const f = Gl(e, u, o);
6401
- return l.top = Qt(f.top, l.top), l.right = nn(f.right, l.right), l.bottom = nn(f.bottom, l.bottom), l.left = Qt(f.left, l.left), l;
6401
+ return l.top = Qt(f.top, l.top), l.right = rn(f.right, l.right), l.bottom = rn(f.bottom, l.bottom), l.left = Qt(f.left, l.left), l;
6402
6402
  }, Gl(e, a, o));
6403
6403
  return {
6404
6404
  width: c.right - c.left,
@@ -6418,7 +6418,7 @@ function dx(t) {
6418
6418
  };
6419
6419
  }
6420
6420
  function px(t, e, n) {
6421
- const r = Bt(e), o = cn(e), i = n === "fixed", s = zn(t, !0, i, e);
6421
+ const r = Bt(e), o = ln(e), i = n === "fixed", s = zn(t, !0, i, e);
6422
6422
  let a = {
6423
6423
  scrollLeft: 0,
6424
6424
  scrollTop: 0
@@ -6470,19 +6470,19 @@ function mx(t) {
6470
6470
  }
6471
6471
  const hx = {
6472
6472
  convertOffsetParentRelativeRectToViewportRelativeRect: ix,
6473
- getDocumentElement: cn,
6473
+ getDocumentElement: ln,
6474
6474
  getClippingRect: fx,
6475
6475
  getOffsetParent: Kd,
6476
6476
  getElementRects: gx,
6477
6477
  getClientRects: sx,
6478
6478
  getDimensions: dx,
6479
6479
  getScale: rr,
6480
- isElement: rn,
6480
+ isElement: on,
6481
6481
  isRTL: mx
6482
6482
  };
6483
6483
  function vx(t, e) {
6484
6484
  let n = null, r;
6485
- const o = cn(t);
6485
+ const o = ln(t);
6486
6486
  function i() {
6487
6487
  clearTimeout(r), n && n.disconnect(), n = null;
6488
6488
  }
@@ -6498,11 +6498,11 @@ function vx(t, e) {
6498
6498
  return;
6499
6499
  const d = Uo(u), h = Uo(o.clientWidth - (l + f)), g = Uo(o.clientHeight - (u + p)), b = Uo(l), M = {
6500
6500
  rootMargin: -d + "px " + -h + "px " + -g + "px " + -b + "px",
6501
- threshold: Qt(0, nn(1, c)) || 1
6501
+ threshold: Qt(0, rn(1, c)) || 1
6502
6502
  };
6503
6503
  let I = !0;
6504
- function k(N) {
6505
- const T = N[0].intersectionRatio;
6504
+ function N(k) {
6505
+ const T = k[0].intersectionRatio;
6506
6506
  if (T !== c) {
6507
6507
  if (!I)
6508
6508
  return s();
@@ -6513,13 +6513,13 @@ function vx(t, e) {
6513
6513
  I = !1;
6514
6514
  }
6515
6515
  try {
6516
- n = new IntersectionObserver(k, {
6516
+ n = new IntersectionObserver(N, {
6517
6517
  ...M,
6518
6518
  // Handle <iframe>s
6519
6519
  root: o.ownerDocument
6520
6520
  });
6521
6521
  } catch {
6522
- n = new IntersectionObserver(k, M);
6522
+ n = new IntersectionObserver(N, M);
6523
6523
  }
6524
6524
  n.observe(t);
6525
6525
  }
@@ -6727,9 +6727,9 @@ const Px = function(t, e, n) {
6727
6727
  return (0, zT.default)(E) ? E : null;
6728
6728
  }
6729
6729
  return y instanceof PointerEvent ? C(y.target) : null;
6730
- }, k = p.value.customThemes.join(" "), N = p.value.customThemes.reduce(function(C, y) {
6730
+ }, N = p.value.customThemes.join(" "), k = p.value.customThemes.reduce(function(C, y) {
6731
6731
  return Ex(St({}, "data-".concat(y, "-theme"), !0), C);
6732
- }, {}), T = "".concat(k), z = null, Z = function(y) {
6732
+ }, {}), T = "".concat(N), z = null, Z = function(y) {
6733
6733
  var E = window.devicePixelRatio || 1;
6734
6734
  return Math.round(y * E) / E || 0;
6735
6735
  }, K = function(y, E, R, H) {
@@ -6779,8 +6779,8 @@ const Px = function(t, e, n) {
6779
6779
  var B = M(L, E);
6780
6780
  Tx(A, w, B).then(function(oe) {
6781
6781
  var fe = oe.x, ge = oe.y, me = oe.placement, be = oe.middlewareData, we = w.className;
6782
- w.className = "".concat(we.replace(T, ""), " ").concat(T).replace(/\s+/gm, " ").replace(/^\s+|\s+$/g, ""), Object.keys(N).forEach(function(Ae) {
6783
- w.setAttribute(Ae, N[Ae]);
6782
+ w.className = "".concat(we.replace(T, ""), " ").concat(T).replace(/\s+/gm, " ").replace(/^\s+|\s+$/g, ""), Object.keys(k).forEach(function(_e) {
6783
+ w.setAttribute(_e, k[_e]);
6784
6784
  });
6785
6785
  var xe = me.split("-")[0], Me = xe;
6786
6786
  ["left", "right", "top", "bottom"].includes(xe) || (Me = "top"), K(w, fe, ge, be), O(L, Me, be), typeof R == "function" && R();
@@ -6863,14 +6863,14 @@ const Px = function(t, e, n) {
6863
6863
  cleanup: z
6864
6864
  };
6865
6865
  };
6866
- var gn = null, $o = null;
6866
+ var mn = null, $o = null;
6867
6867
  const Ox = function(t) {
6868
6868
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "#", n = function(i) {
6869
6869
  var s = null, a = function(f) {
6870
6870
  s === null && f();
6871
6871
  }, c = function() {
6872
6872
  if (/^parent$/i.test(t.boundary)) {
6873
- s = "".concat(e).concat(gn);
6873
+ s = "".concat(e).concat(mn);
6874
6874
  var f = i || {}, p = f.parentNode;
6875
6875
  p != null && p.parentNode && (p.parentNode.setAttribute("data-pnode-id", $o), s = "[data-pnode-id=".concat($o, "]"));
6876
6876
  }
@@ -6891,16 +6891,16 @@ const Ox = function(t) {
6891
6891
  }
6892
6892
  };
6893
6893
  return a(c), a(l), a(function() {
6894
- s = typeof t.boundary == "string" ? t.boundary : "".concat(e).concat(gn);
6894
+ s = typeof t.boundary == "string" ? t.boundary : "".concat(e).concat(mn);
6895
6895
  }), s;
6896
6896
  };
6897
- if (gn === null || !ma("#".concat(gn))) {
6898
- gn = "id_".concat(ga());
6897
+ if (mn === null || !ma("#".concat(mn))) {
6898
+ mn = "id_".concat(ga());
6899
6899
  var r = document.createElement("div");
6900
- r.setAttribute("id", gn), r.setAttribute("data-popper-id", gn), document.body.append(r);
6900
+ r.setAttribute("id", mn), r.setAttribute("data-popper-id", mn), document.body.append(r);
6901
6901
  }
6902
6902
  return $o === null && ($o = "id_".concat(ga())), {
6903
- popContainerId: gn,
6903
+ popContainerId: mn,
6904
6904
  prefixId: n(),
6905
6905
  getPrefixId: n
6906
6906
  };
@@ -6910,14 +6910,14 @@ const Ox = function(t) {
6910
6910
  refContent: o,
6911
6911
  refArrow: i,
6912
6912
  refRoot: s
6913
- }), p = f.localIsShow, d = f.showPopover, h = f.hidePopover, g = f.updatePopover, b = f.cleanup, m = f.resolveTriggerEvents, M = f.resolvePopElements, I = f.isElementFullScreen, k = f.updateFullscreenTarget, N = f.createPopInstance, T = f.getFullscreenRoot, z = f.stopHide, Z = function() {
6914
- b == null || b(), N();
6913
+ }), p = f.localIsShow, d = f.showPopover, h = f.hidePopover, g = f.updatePopover, b = f.cleanup, m = f.resolveTriggerEvents, M = f.resolvePopElements, I = f.isElementFullScreen, N = f.updateFullscreenTarget, k = f.createPopInstance, T = f.getFullscreenRoot, z = f.stopHide, Z = function() {
6914
+ b == null || b(), k();
6915
6915
  }, K = function() {
6916
6916
  d();
6917
6917
  }, O = function() {
6918
6918
  h();
6919
6919
  }, _ = function() {
6920
- N(), t.always ? d() : F();
6920
+ k(), t.always ? d() : F();
6921
6921
  }, F = function() {
6922
6922
  var v = M(), C = v.elReference, y = v.elContent;
6923
6923
  if (a = m(), Array.isArray(a))
@@ -6962,7 +6962,7 @@ const Ox = function(t) {
6962
6962
  }, W = (0, de.ref)(), Q = function() {
6963
6963
  P();
6964
6964
  }, G = function(v) {
6965
- u.value = v, k(v), c.value = I(), ye();
6965
+ u.value = v, N(v), c.value = I(), ye();
6966
6966
  }, $ = function(v) {
6967
6967
  document.fullscreenElement || V(), G(v.target), D(), g(null, t);
6968
6968
  }, ie = function() {
@@ -7026,11 +7026,11 @@ const tp = (0, de.defineComponent)({
7026
7026
  refContent: s,
7027
7027
  refArrow: a,
7028
7028
  refRoot: c
7029
- }), f = u.onMountedFn, p = u.onUnmountedFn, d = u.handleClickOutside, h = u.beforeInstanceUnmount, g = u.updateBoundary, b = u.initPopInstance, m = u.showFn, M = u.hideFn, I = u.showPopover, k = u.hidePopover, N = u.updatePopover, T = u.resetPopover, z = u.stopHide, Z = u.localIsShow, K = u.boundary;
7029
+ }), f = u.onMountedFn, p = u.onUnmountedFn, d = u.handleClickOutside, h = u.beforeInstanceUnmount, g = u.updateBoundary, b = u.initPopInstance, m = u.showFn, M = u.hideFn, I = u.showPopover, N = u.hidePopover, k = u.updatePopover, T = u.resetPopover, z = u.stopHide, Z = u.localIsShow, K = u.boundary;
7030
7030
  !e.always && !e.disabled && (0, de.watch)(function() {
7031
7031
  return e.isShow;
7032
7032
  }, function() {
7033
- e.isShow ? I() : k();
7033
+ e.isShow ? I() : N();
7034
7034
  }, {
7035
7035
  immediate: !0
7036
7036
  }), (0, de.watch)(function() {
@@ -7063,7 +7063,7 @@ const tp = (0, de.defineComponent)({
7063
7063
  theme: e.theme,
7064
7064
  transBoundary: O,
7065
7065
  handleClickOutside: d,
7066
- updatePopover: N,
7066
+ updatePopover: k,
7067
7067
  resetPopover: T,
7068
7068
  hide: F,
7069
7069
  show: _,
@@ -7167,18 +7167,18 @@ function zx(t) {
7167
7167
  }, {
7168
7168
  target: s.target
7169
7169
  });
7170
- }, k = (0, de.reactive)(I()), N = (0, de.ref)(), T = function() {
7170
+ }, N = (0, de.reactive)(I()), k = (0, de.ref)(), T = function() {
7171
7171
  var S, D;
7172
- (S = N.value) === null || S === void 0 || (D = S.show) === null || D === void 0 || D.call(S);
7172
+ (S = k.value) === null || S === void 0 || (D = S.show) === null || D === void 0 || D.call(S);
7173
7173
  }, z = function() {
7174
7174
  var S, D;
7175
- (S = N.value) === null || S === void 0 || (D = S.hide) === null || D === void 0 || D.call(S);
7175
+ (S = k.value) === null || S === void 0 || (D = S.hide) === null || D === void 0 || D.call(S);
7176
7176
  }, Z = function() {
7177
7177
  var S, D;
7178
- (S = N.value) === null || S === void 0 || (D = S.stopHide) === null || D === void 0 || D.call(S);
7178
+ (S = k.value) === null || S === void 0 || (D = S.stopHide) === null || D === void 0 || D.call(S);
7179
7179
  }, K = function(S) {
7180
7180
  var D, J;
7181
- k.target = S, (D = N.value) === null || D === void 0 || (J = D.resetPopover) === null || J === void 0 || J.call(D);
7181
+ N.target = S, (D = k.value) === null || D === void 0 || (J = D.resetPopover) === null || J === void 0 || J.call(D);
7182
7182
  }, O = function() {
7183
7183
  var S;
7184
7184
  (S = s.onContentMouseenter) === null || S === void 0 || S.call(s);
@@ -7198,8 +7198,8 @@ function zx(t) {
7198
7198
  updateTarget: K,
7199
7199
  stopHide: Z
7200
7200
  }), function() {
7201
- return (0, de.createVNode)(tp, (0, de.mergeProps)(k, {
7202
- ref: N,
7201
+ return (0, de.createVNode)(tp, (0, de.mergeProps)(N, {
7202
+ ref: k,
7203
7203
  onContentMouseenter: O,
7204
7204
  onContentMouseleave: _,
7205
7205
  onAfterHidden: F,
@@ -7544,12 +7544,12 @@ function Vl(t, e) {
7544
7544
  }
7545
7545
  var sk = function(e) {
7546
7546
  return typeof Element > "u" ? !1 : e instanceof Element;
7547
- }, vn = /* @__PURE__ */ new Map(), ip;
7547
+ }, yn = /* @__PURE__ */ new Map(), ip;
7548
7548
  document.addEventListener("mousedown", function(t) {
7549
7549
  return ip = t;
7550
7550
  });
7551
7551
  document.addEventListener("mouseup", function(t) {
7552
- var e = Ul(vn.values()), n;
7552
+ var e = Ul(yn.values()), n;
7553
7553
  try {
7554
7554
  for (e.s(); !(n = e.n()).done; ) {
7555
7555
  var r = n.value, o = Ul(r), i;
@@ -7581,14 +7581,14 @@ function $l(t, e) {
7581
7581
  }
7582
7582
  var ha = {
7583
7583
  beforeMount: function(e, n) {
7584
- vn.has(e) || vn.set(e, []), vn.get(e).push({
7584
+ yn.has(e) || yn.set(e, []), yn.get(e).push({
7585
7585
  documentHandler: $l(e, n),
7586
7586
  bindingFn: n.value
7587
7587
  });
7588
7588
  },
7589
7589
  updated: function(e, n) {
7590
- vn.has(e) || vn.set(e, []);
7591
- var r = vn.get(e), o = r.findIndex(function(s) {
7590
+ yn.has(e) || yn.set(e, []);
7591
+ var r = yn.get(e), o = r.findIndex(function(s) {
7592
7592
  return s.bindingFn === n.oldValue;
7593
7593
  }), i = {
7594
7594
  documentHandler: $l(e, n),
@@ -7597,7 +7597,7 @@ var ha = {
7597
7597
  o >= 0 ? r.splice(o, 1, i) : r.push(i);
7598
7598
  },
7599
7599
  unmounted: function(e) {
7600
- vn.delete(e);
7600
+ yn.delete(e);
7601
7601
  }
7602
7602
  };
7603
7603
  ha.install = function(t) {
@@ -7844,7 +7844,7 @@ var yk = (t) => {
7844
7844
  var e = {};
7845
7845
  return Gt.d(e, t), e;
7846
7846
  };
7847
- const bk = yk({ default: () => Rd }), cp = ["top", "right", "bottom", "left"], ru = ["start", "end"], ou = /* @__PURE__ */ cp.reduce((t, e) => t.concat(e, e + "-" + ru[0], e + "-" + ru[1]), []), on = Math.min, Zt = Math.max, Wi = Math.round, Xo = Math.floor, wn = (t) => ({
7847
+ const bk = yk({ default: () => Rd }), cp = ["top", "right", "bottom", "left"], ru = ["start", "end"], ou = /* @__PURE__ */ cp.reduce((t, e) => t.concat(e, e + "-" + ru[0], e + "-" + ru[1]), []), sn = Math.min, Zt = Math.max, Wi = Math.round, Xo = Math.floor, wn = (t) => ({
7848
7848
  x: t,
7849
7849
  y: t
7850
7850
  }), Ik = {
@@ -7857,7 +7857,7 @@ const bk = yk({ default: () => Rd }), cp = ["top", "right", "bottom", "left"], r
7857
7857
  end: "start"
7858
7858
  };
7859
7859
  function ya(t, e, n) {
7860
- return Zt(t, on(e, n));
7860
+ return Zt(t, sn(e, n));
7861
7861
  }
7862
7862
  function kn(t, e) {
7863
7863
  return typeof t == "function" ? t(e) : t;
@@ -8010,8 +8010,8 @@ const xk = async (t, e, n) => {
8010
8010
  } = a[g], {
8011
8011
  x: M,
8012
8012
  y: I,
8013
- data: k,
8014
- reset: N
8013
+ data: N,
8014
+ reset: k
8015
8015
  } = await m({
8016
8016
  x: u,
8017
8017
  y: f,
@@ -8030,13 +8030,13 @@ const xk = async (t, e, n) => {
8030
8030
  ...d,
8031
8031
  [b]: {
8032
8032
  ...d[b],
8033
- ...k
8033
+ ...N
8034
8034
  }
8035
- }, N && h <= 50 && (h++, typeof N == "object" && (N.placement && (p = N.placement), N.rects && (l = N.rects === !0 ? await s.getElementRects({
8035
+ }, k && h <= 50 && (h++, typeof k == "object" && (k.placement && (p = k.placement), k.rects && (l = k.rects === !0 ? await s.getElementRects({
8036
8036
  reference: t,
8037
8037
  floating: e,
8038
8038
  strategy: o
8039
- }) : N.rects), {
8039
+ }) : k.rects), {
8040
8040
  x: u,
8041
8041
  y: f
8042
8042
  } = iu(l, p, c)), g = -1);
@@ -8074,23 +8074,23 @@ async function vo(t, e) {
8074
8074
  ...s.floating,
8075
8075
  x: r,
8076
8076
  y: o
8077
- } : s.reference, I = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(a.floating)), k = await (i.isElement == null ? void 0 : i.isElement(I)) ? await (i.getScale == null ? void 0 : i.getScale(I)) || {
8077
+ } : s.reference, I = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(a.floating)), N = await (i.isElement == null ? void 0 : i.isElement(I)) ? await (i.getScale == null ? void 0 : i.getScale(I)) || {
8078
8078
  x: 1,
8079
8079
  y: 1
8080
8080
  } : {
8081
8081
  x: 1,
8082
8082
  y: 1
8083
- }, N = vr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
8083
+ }, k = vr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
8084
8084
  elements: a,
8085
8085
  rect: M,
8086
8086
  offsetParent: I,
8087
8087
  strategy: c
8088
8088
  }) : M);
8089
8089
  return {
8090
- top: (m.top - N.top + h.top) / k.y,
8091
- bottom: (N.bottom - m.bottom + h.bottom) / k.y,
8092
- left: (m.left - N.left + h.left) / k.x,
8093
- right: (N.right - m.right + h.right) / k.x
8090
+ top: (m.top - k.top + h.top) / N.y,
8091
+ bottom: (k.bottom - m.bottom + h.bottom) / N.y,
8092
+ left: (m.left - k.left + h.left) / N.x,
8093
+ right: (k.right - m.right + h.right) / N.x
8094
8094
  };
8095
8095
  }
8096
8096
  const kk = (t) => ({
@@ -8114,10 +8114,10 @@ const kk = (t) => ({
8114
8114
  const f = lc(u), p = {
8115
8115
  x: n,
8116
8116
  y: r
8117
- }, d = cc(o), h = ac(d), g = await s.getDimensions(l), b = d === "y", m = b ? "top" : "left", M = b ? "bottom" : "right", I = b ? "clientHeight" : "clientWidth", k = i.reference[h] + i.reference[d] - p[d] - i.floating[h], N = p[d] - i.reference[d], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
8117
+ }, d = cc(o), h = ac(d), g = await s.getDimensions(l), b = d === "y", m = b ? "top" : "left", M = b ? "bottom" : "right", I = b ? "clientHeight" : "clientWidth", N = i.reference[h] + i.reference[d] - p[d] - i.floating[h], k = p[d] - i.reference[d], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
8118
8118
  let z = T ? T[I] : 0;
8119
8119
  (!z || !await (s.isElement == null ? void 0 : s.isElement(T))) && (z = a.floating[I] || i.floating[h]);
8120
- const Z = k / 2 - N / 2, K = z / 2 - g[h] / 2 - 1, O = on(f[m], K), _ = on(f[M], K), F = O, Y = z - g[h] - _, P = z / 2 - g[h] / 2 + Z, S = ya(F, P, Y), D = !c.arrow && Ft(o) != null && P !== S && i.reference[h] / 2 - (P < F ? O : _) - g[h] / 2 < 0, J = D ? P < F ? P - F : P - Y : 0;
8120
+ const Z = N / 2 - k / 2, K = z / 2 - g[h] / 2 - 1, O = sn(f[m], K), _ = sn(f[M], K), F = O, Y = z - g[h] - _, P = z / 2 - g[h] / 2 + Z, S = ya(F, P, Y), D = !c.arrow && Ft(o) != null && P !== S && i.reference[h] / 2 - (P < F ? O : _) - g[h] / 2 < 0, J = D ? P < F ? P - F : P - Y : 0;
8121
8121
  return {
8122
8122
  [d]: p[d] + J,
8123
8123
  data: {
@@ -8162,21 +8162,21 @@ const jk = function(t) {
8162
8162
  placement: g[0]
8163
8163
  }
8164
8164
  };
8165
- const k = [b[xt(M)], b[I[0]], b[I[1]]], N = [...((r = s.autoPlacement) == null ? void 0 : r.overflows) || [], {
8165
+ const N = [b[xt(M)], b[I[0]], b[I[1]]], k = [...((r = s.autoPlacement) == null ? void 0 : r.overflows) || [], {
8166
8166
  placement: M,
8167
- overflows: k
8167
+ overflows: N
8168
8168
  }], T = g[m + 1];
8169
8169
  if (T)
8170
8170
  return {
8171
8171
  data: {
8172
8172
  index: m + 1,
8173
- overflows: N
8173
+ overflows: k
8174
8174
  },
8175
8175
  reset: {
8176
8176
  placement: T
8177
8177
  }
8178
8178
  };
8179
- const z = N.map((O) => {
8179
+ const z = k.map((O) => {
8180
8180
  const _ = Ft(O.placement);
8181
8181
  return [O.placement, _ && u ? (
8182
8182
  // Check along the mainAxis and main crossAxis side.
@@ -8194,7 +8194,7 @@ const jk = function(t) {
8194
8194
  return K !== a ? {
8195
8195
  data: {
8196
8196
  index: m + 1,
8197
- overflows: N
8197
+ overflows: k
8198
8198
  },
8199
8199
  reset: {
8200
8200
  placement: K
@@ -8226,9 +8226,9 @@ const jk = function(t) {
8226
8226
  } = kn(t, e);
8227
8227
  if ((n = i.arrow) != null && n.alignmentOffset)
8228
8228
  return {};
8229
- const m = xt(o), M = xt(a) === a, I = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), k = p || (M || !g ? [Yi(a)] : Ck(a));
8230
- !p && h !== "none" && k.push(...Lk(a, g, h, I));
8231
- const N = [a, ...k], T = await vo(e, b), z = [];
8229
+ const m = xt(o), M = xt(a) === a, I = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), N = p || (M || !g ? [Yi(a)] : Ck(a));
8230
+ !p && h !== "none" && N.push(...Lk(a, g, h, I));
8231
+ const k = [a, ...N], T = await vo(e, b), z = [];
8232
8232
  let Z = ((r = i.flip) == null ? void 0 : r.overflows) || [];
8233
8233
  if (u && z.push(T[m]), f) {
8234
8234
  const F = up(o, s, I);
@@ -8239,7 +8239,7 @@ const jk = function(t) {
8239
8239
  overflows: z
8240
8240
  }], !z.every((F) => F <= 0)) {
8241
8241
  var K, O;
8242
- const F = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, Y = N[F];
8242
+ const F = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, Y = k[F];
8243
8243
  if (Y)
8244
8244
  return {
8245
8245
  data: {
@@ -8328,7 +8328,7 @@ const Dk = function(t) {
8328
8328
  };
8329
8329
  };
8330
8330
  function fp(t) {
8331
- const e = on(...t.map((i) => i.left)), n = on(...t.map((i) => i.top)), r = Zt(...t.map((i) => i.right)), o = Zt(...t.map((i) => i.bottom));
8331
+ const e = sn(...t.map((i) => i.left)), n = sn(...t.map((i) => i.top)), r = Zt(...t.map((i) => i.right)), o = Zt(...t.map((i) => i.bottom));
8332
8332
  return {
8333
8333
  x: e,
8334
8334
  y: n,
@@ -8378,16 +8378,16 @@ const Pk = function(t) {
8378
8378
  y: Y
8379
8379
  };
8380
8380
  }
8381
- const b = xt(n) === "left", m = Zt(...f.map((O) => O.right)), M = on(...f.map((O) => O.left)), I = f.filter((O) => b ? O.left === M : O.right === m), k = I[0].top, N = I[I.length - 1].bottom, T = M, z = m, Z = z - T, K = N - k;
8381
+ const b = xt(n) === "left", m = Zt(...f.map((O) => O.right)), M = sn(...f.map((O) => O.left)), I = f.filter((O) => b ? O.left === M : O.right === m), N = I[0].top, k = I[I.length - 1].bottom, T = M, z = m, Z = z - T, K = k - N;
8382
8382
  return {
8383
- top: k,
8384
- bottom: N,
8383
+ top: N,
8384
+ bottom: k,
8385
8385
  left: T,
8386
8386
  right: z,
8387
8387
  width: Z,
8388
8388
  height: K,
8389
8389
  x: T,
8390
- y: k
8390
+ y: N
8391
8391
  };
8392
8392
  }
8393
8393
  return p;
@@ -8517,14 +8517,14 @@ function st(t) {
8517
8517
  var e;
8518
8518
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
8519
8519
  }
8520
- function ln(t) {
8520
+ function un(t) {
8521
8521
  var e;
8522
8522
  return (e = (dp(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
8523
8523
  }
8524
8524
  function dp(t) {
8525
8525
  return t instanceof Node || t instanceof st(t).Node;
8526
8526
  }
8527
- function sn(t) {
8527
+ function an(t) {
8528
8528
  return t instanceof Element || t instanceof st(t).Element;
8529
8529
  }
8530
8530
  function Yt(t) {
@@ -8568,7 +8568,7 @@ function bt(t) {
8568
8568
  return st(t).getComputedStyle(t);
8569
8569
  }
8570
8570
  function fs(t) {
8571
- return sn(t) ? {
8571
+ return an(t) ? {
8572
8572
  scrollLeft: t.scrollLeft,
8573
8573
  scrollTop: t.scrollTop
8574
8574
  } : {
@@ -8584,7 +8584,7 @@ function yr(t) {
8584
8584
  t.assignedSlot || // DOM Element detected.
8585
8585
  t.parentNode || // ShadowRoot detected.
8586
8586
  cu(t) && t.host || // Fallback.
8587
- ln(t)
8587
+ un(t)
8588
8588
  );
8589
8589
  return cu(e) ? e.host : e;
8590
8590
  }
@@ -8609,7 +8609,7 @@ function gp(t) {
8609
8609
  };
8610
8610
  }
8611
8611
  function dc(t) {
8612
- return sn(t) ? t : t.contextElement;
8612
+ return an(t) ? t : t.contextElement;
8613
8613
  }
8614
8614
  function or(t) {
8615
8615
  const e = dc(t);
@@ -8641,11 +8641,11 @@ function Qn(t, e, n, r) {
8641
8641
  e === void 0 && (e = !1), n === void 0 && (n = !1);
8642
8642
  const o = t.getBoundingClientRect(), i = dc(t);
8643
8643
  let s = wn(1);
8644
- e && (r ? sn(r) && (s = or(r)) : s = or(t));
8644
+ e && (r ? an(r) && (s = or(r)) : s = or(t));
8645
8645
  const a = Rk(i, n, r) ? mp(i) : wn(0);
8646
8646
  let c = (o.left + a.x) / s.x, l = (o.top + a.y) / s.y, u = o.width / s.x, f = o.height / s.y;
8647
8647
  if (i) {
8648
- const p = st(i), d = r && sn(r) ? st(r) : r;
8648
+ const p = st(i), d = r && an(r) ? st(r) : r;
8649
8649
  let h = p.frameElement;
8650
8650
  for (; h && r && d !== p; ) {
8651
8651
  const g = or(h), b = h.getBoundingClientRect(), m = bt(h), M = b.left + (h.clientLeft + parseFloat(m.paddingLeft)) * g.x, I = b.top + (h.clientTop + parseFloat(m.paddingTop)) * g.y;
@@ -8665,7 +8665,7 @@ function Gk(t) {
8665
8665
  offsetParent: n,
8666
8666
  strategy: r
8667
8667
  } = t;
8668
- const o = Yt(n), i = ln(n);
8668
+ const o = Yt(n), i = un(n);
8669
8669
  if (n === i)
8670
8670
  return e;
8671
8671
  let s = {
@@ -8688,10 +8688,10 @@ function Zk(t) {
8688
8688
  return Array.from(t.getClientRects());
8689
8689
  }
8690
8690
  function hp(t) {
8691
- return Qn(ln(t)).left + fs(t).scrollLeft;
8691
+ return Qn(un(t)).left + fs(t).scrollLeft;
8692
8692
  }
8693
8693
  function Fk(t) {
8694
- const e = ln(t), n = fs(t), r = t.ownerDocument.body, o = Zt(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = Zt(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
8694
+ const e = un(t), n = fs(t), r = t.ownerDocument.body, o = Zt(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = Zt(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
8695
8695
  let s = -n.scrollLeft + hp(t);
8696
8696
  const a = -n.scrollTop;
8697
8697
  return bt(r).direction === "rtl" && (s += Zt(e.clientWidth, r.clientWidth) - o), {
@@ -8702,7 +8702,7 @@ function Fk(t) {
8702
8702
  };
8703
8703
  }
8704
8704
  function Wk(t, e) {
8705
- const n = st(t), r = ln(t), o = n.visualViewport;
8705
+ const n = st(t), r = un(t), o = n.visualViewport;
8706
8706
  let i = r.clientWidth, s = r.clientHeight, a = 0, c = 0;
8707
8707
  if (o) {
8708
8708
  i = o.width, s = o.height;
@@ -8730,8 +8730,8 @@ function lu(t, e, n) {
8730
8730
  if (e === "viewport")
8731
8731
  r = Wk(t, n);
8732
8732
  else if (e === "document")
8733
- r = Fk(ln(t));
8734
- else if (sn(e))
8733
+ r = Fk(un(t));
8734
+ else if (an(e))
8735
8735
  r = Bk(e, n);
8736
8736
  else {
8737
8737
  const o = mp(t);
@@ -8745,16 +8745,16 @@ function lu(t, e, n) {
8745
8745
  }
8746
8746
  function vp(t, e) {
8747
8747
  const n = yr(t);
8748
- return n === e || !sn(n) || us(n) ? !1 : bt(n).position === "fixed" || vp(n, e);
8748
+ return n === e || !an(n) || us(n) ? !1 : bt(n).position === "fixed" || vp(n, e);
8749
8749
  }
8750
8750
  function Yk(t, e) {
8751
8751
  const n = e.get(t);
8752
8752
  if (n)
8753
8753
  return n;
8754
- let r = yo(t, [], !1).filter((a) => sn(a) && Ln(a) !== "body"), o = null;
8754
+ let r = yo(t, [], !1).filter((a) => an(a) && Ln(a) !== "body"), o = null;
8755
8755
  const i = bt(t).position === "fixed";
8756
8756
  let s = i ? yr(t) : t;
8757
- for (; sn(s) && !us(s); ) {
8757
+ for (; an(s) && !us(s); ) {
8758
8758
  const a = bt(s), c = uc(s);
8759
8759
  !c && a.position === "fixed" && (o = null), (i ? !c && !o : !c && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || So(s) && !c && vp(t, s)) ? r = r.filter((u) => u !== s) : o = a, s = yr(s);
8760
8760
  }
@@ -8769,7 +8769,7 @@ function Hk(t) {
8769
8769
  } = t;
8770
8770
  const s = [...n === "clippingAncestors" ? Yk(e, this._c) : [].concat(n), r], a = s[0], c = s.reduce((l, u) => {
8771
8771
  const f = lu(e, u, o);
8772
- return l.top = Zt(f.top, l.top), l.right = on(f.right, l.right), l.bottom = on(f.bottom, l.bottom), l.left = Zt(f.left, l.left), l;
8772
+ return l.top = Zt(f.top, l.top), l.right = sn(f.right, l.right), l.bottom = sn(f.bottom, l.bottom), l.left = Zt(f.left, l.left), l;
8773
8773
  }, lu(e, a, o));
8774
8774
  return {
8775
8775
  width: c.right - c.left,
@@ -8789,7 +8789,7 @@ function Uk(t) {
8789
8789
  };
8790
8790
  }
8791
8791
  function Vk(t, e, n) {
8792
- const r = Yt(e), o = ln(e), i = n === "fixed", s = Qn(t, !0, i, e);
8792
+ const r = Yt(e), o = un(e), i = n === "fixed", s = Qn(t, !0, i, e);
8793
8793
  let a = {
8794
8794
  scrollLeft: 0,
8795
8795
  scrollTop: 0
@@ -8841,19 +8841,19 @@ function Xk(t) {
8841
8841
  }
8842
8842
  const qk = {
8843
8843
  convertOffsetParentRelativeRectToViewportRelativeRect: Gk,
8844
- getDocumentElement: ln,
8844
+ getDocumentElement: un,
8845
8845
  getClippingRect: Hk,
8846
8846
  getOffsetParent: yp,
8847
8847
  getElementRects: $k,
8848
8848
  getClientRects: Zk,
8849
8849
  getDimensions: Uk,
8850
8850
  getScale: or,
8851
- isElement: sn,
8851
+ isElement: an,
8852
8852
  isRTL: Xk
8853
8853
  };
8854
8854
  function Kk(t, e) {
8855
8855
  let n = null, r;
8856
- const o = ln(t);
8856
+ const o = un(t);
8857
8857
  function i() {
8858
8858
  clearTimeout(r), n && n.disconnect(), n = null;
8859
8859
  }
@@ -8869,11 +8869,11 @@ function Kk(t, e) {
8869
8869
  return;
8870
8870
  const d = Xo(u), h = Xo(o.clientWidth - (l + f)), g = Xo(o.clientHeight - (u + p)), b = Xo(l), M = {
8871
8871
  rootMargin: -d + "px " + -h + "px " + -g + "px " + -b + "px",
8872
- threshold: Zt(0, on(1, c)) || 1
8872
+ threshold: Zt(0, sn(1, c)) || 1
8873
8873
  };
8874
8874
  let I = !0;
8875
- function k(N) {
8876
- const T = N[0].intersectionRatio;
8875
+ function N(k) {
8876
+ const T = k[0].intersectionRatio;
8877
8877
  if (T !== c) {
8878
8878
  if (!I)
8879
8879
  return s();
@@ -8884,13 +8884,13 @@ function Kk(t, e) {
8884
8884
  I = !1;
8885
8885
  }
8886
8886
  try {
8887
- n = new IntersectionObserver(k, {
8887
+ n = new IntersectionObserver(N, {
8888
8888
  ...M,
8889
8889
  // Handle <iframe>s
8890
8890
  root: o.ownerDocument
8891
8891
  });
8892
8892
  } catch {
8893
- n = new IntersectionObserver(k, M);
8893
+ n = new IntersectionObserver(N, M);
8894
8894
  }
8895
8895
  n.observe(t);
8896
8896
  }
@@ -9098,9 +9098,9 @@ const mN = function(t, e, n) {
9098
9098
  return (0, bk.default)(E) ? E : null;
9099
9099
  }
9100
9100
  return y instanceof PointerEvent ? C(y.target) : null;
9101
- }, k = p.value.customThemes.join(" "), N = p.value.customThemes.reduce(function(C, y) {
9101
+ }, N = p.value.customThemes.join(" "), k = p.value.customThemes.reduce(function(C, y) {
9102
9102
  return gN(Dt({}, "data-".concat(y, "-theme"), !0), C);
9103
- }, {}), T = "".concat(k), z = null, Z = function(y) {
9103
+ }, {}), T = "".concat(N), z = null, Z = function(y) {
9104
9104
  var E = window.devicePixelRatio || 1;
9105
9105
  return Math.round(y * E) / E || 0;
9106
9106
  }, K = function(y, E, R, H) {
@@ -9150,8 +9150,8 @@ const mN = function(t, e, n) {
9150
9150
  var B = M(L, E);
9151
9151
  aN(A, w, B).then(function(oe) {
9152
9152
  var fe = oe.x, ge = oe.y, me = oe.placement, be = oe.middlewareData, we = w.className;
9153
- w.className = "".concat(we.replace(T, ""), " ").concat(T).replace(/\s+/gm, " ").replace(/^\s+|\s+$/g, ""), Object.keys(N).forEach(function(Ae) {
9154
- w.setAttribute(Ae, N[Ae]);
9153
+ w.className = "".concat(we.replace(T, ""), " ").concat(T).replace(/\s+/gm, " ").replace(/^\s+|\s+$/g, ""), Object.keys(k).forEach(function(_e) {
9154
+ w.setAttribute(_e, k[_e]);
9155
9155
  });
9156
9156
  var xe = me.split("-")[0], Me = xe;
9157
9157
  ["left", "right", "top", "bottom"].includes(xe) || (Me = "top"), K(w, fe, ge, be), O(L, Me, be), typeof R == "function" && R();
@@ -9234,14 +9234,14 @@ const mN = function(t, e, n) {
9234
9234
  cleanup: z
9235
9235
  };
9236
9236
  };
9237
- var mn = null, Ko = null;
9237
+ var hn = null, Ko = null;
9238
9238
  const hN = function(t) {
9239
9239
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "#", n = function(i) {
9240
9240
  var s = null, a = function(f) {
9241
9241
  s === null && f();
9242
9242
  }, c = function() {
9243
9243
  if (/^parent$/i.test(t.boundary)) {
9244
- s = "".concat(e).concat(mn);
9244
+ s = "".concat(e).concat(hn);
9245
9245
  var f = i || {}, p = f.parentNode;
9246
9246
  p != null && p.parentNode && (p.parentNode.setAttribute("data-pnode-id", Ko), s = "[data-pnode-id=".concat(Ko, "]"));
9247
9247
  }
@@ -9262,16 +9262,16 @@ const hN = function(t) {
9262
9262
  }
9263
9263
  };
9264
9264
  return a(c), a(l), a(function() {
9265
- s = typeof t.boundary == "string" ? t.boundary : "".concat(e).concat(mn);
9265
+ s = typeof t.boundary == "string" ? t.boundary : "".concat(e).concat(hn);
9266
9266
  }), s;
9267
9267
  };
9268
- if (mn === null || !Ia("#".concat(mn))) {
9269
- mn = "id_".concat(ba());
9268
+ if (hn === null || !Ia("#".concat(hn))) {
9269
+ hn = "id_".concat(ba());
9270
9270
  var r = document.createElement("div");
9271
- r.setAttribute("id", mn), r.setAttribute("data-popper-id", mn), document.body.append(r);
9271
+ r.setAttribute("id", hn), r.setAttribute("data-popper-id", hn), document.body.append(r);
9272
9272
  }
9273
9273
  return Ko === null && (Ko = "id_".concat(ba())), {
9274
- popContainerId: mn,
9274
+ popContainerId: hn,
9275
9275
  prefixId: n(),
9276
9276
  getPrefixId: n
9277
9277
  };
@@ -9281,14 +9281,14 @@ const hN = function(t) {
9281
9281
  refContent: o,
9282
9282
  refArrow: i,
9283
9283
  refRoot: s
9284
- }), p = f.localIsShow, d = f.showPopover, h = f.hidePopover, g = f.updatePopover, b = f.cleanup, m = f.resolveTriggerEvents, M = f.resolvePopElements, I = f.isElementFullScreen, k = f.updateFullscreenTarget, N = f.createPopInstance, T = f.getFullscreenRoot, z = f.stopHide, Z = function() {
9285
- b == null || b(), N();
9284
+ }), p = f.localIsShow, d = f.showPopover, h = f.hidePopover, g = f.updatePopover, b = f.cleanup, m = f.resolveTriggerEvents, M = f.resolvePopElements, I = f.isElementFullScreen, N = f.updateFullscreenTarget, k = f.createPopInstance, T = f.getFullscreenRoot, z = f.stopHide, Z = function() {
9285
+ b == null || b(), k();
9286
9286
  }, K = function() {
9287
9287
  d();
9288
9288
  }, O = function() {
9289
9289
  h();
9290
9290
  }, _ = function() {
9291
- N(), t.always ? d() : F();
9291
+ k(), t.always ? d() : F();
9292
9292
  }, F = function() {
9293
9293
  var v = M(), C = v.elReference, y = v.elContent;
9294
9294
  if (a = m(), Array.isArray(a))
@@ -9333,7 +9333,7 @@ const hN = function(t) {
9333
9333
  }, W = (0, pe.ref)(), Q = function() {
9334
9334
  P();
9335
9335
  }, G = function(v) {
9336
- u.value = v, k(v), c.value = I(), ye();
9336
+ u.value = v, N(v), c.value = I(), ye();
9337
9337
  }, $ = function(v) {
9338
9338
  document.fullscreenElement || V(), G(v.target), D(), g(null, t);
9339
9339
  }, ie = function() {
@@ -9397,11 +9397,11 @@ const bN = (0, pe.defineComponent)({
9397
9397
  refContent: s,
9398
9398
  refArrow: a,
9399
9399
  refRoot: c
9400
- }), f = u.onMountedFn, p = u.onUnmountedFn, d = u.handleClickOutside, h = u.beforeInstanceUnmount, g = u.updateBoundary, b = u.initPopInstance, m = u.showFn, M = u.hideFn, I = u.showPopover, k = u.hidePopover, N = u.updatePopover, T = u.resetPopover, z = u.stopHide, Z = u.localIsShow, K = u.boundary;
9400
+ }), f = u.onMountedFn, p = u.onUnmountedFn, d = u.handleClickOutside, h = u.beforeInstanceUnmount, g = u.updateBoundary, b = u.initPopInstance, m = u.showFn, M = u.hideFn, I = u.showPopover, N = u.hidePopover, k = u.updatePopover, T = u.resetPopover, z = u.stopHide, Z = u.localIsShow, K = u.boundary;
9401
9401
  !e.always && !e.disabled && (0, pe.watch)(function() {
9402
9402
  return e.isShow;
9403
9403
  }, function() {
9404
- e.isShow ? I() : k();
9404
+ e.isShow ? I() : N();
9405
9405
  }, {
9406
9406
  immediate: !0
9407
9407
  }), (0, pe.watch)(function() {
@@ -9434,7 +9434,7 @@ const bN = (0, pe.defineComponent)({
9434
9434
  theme: e.theme,
9435
9435
  transBoundary: O,
9436
9436
  handleClickOutside: d,
9437
- updatePopover: N,
9437
+ updatePopover: k,
9438
9438
  resetPopover: T,
9439
9439
  hide: F,
9440
9440
  show: _,
@@ -9538,18 +9538,18 @@ function IN(t) {
9538
9538
  }, {
9539
9539
  target: s.target
9540
9540
  });
9541
- }, k = (0, pe.reactive)(I()), N = (0, pe.ref)(), T = function() {
9541
+ }, N = (0, pe.reactive)(I()), k = (0, pe.ref)(), T = function() {
9542
9542
  var S, D;
9543
- (S = N.value) === null || S === void 0 || (D = S.show) === null || D === void 0 || D.call(S);
9543
+ (S = k.value) === null || S === void 0 || (D = S.show) === null || D === void 0 || D.call(S);
9544
9544
  }, z = function() {
9545
9545
  var S, D;
9546
- (S = N.value) === null || S === void 0 || (D = S.hide) === null || D === void 0 || D.call(S);
9546
+ (S = k.value) === null || S === void 0 || (D = S.hide) === null || D === void 0 || D.call(S);
9547
9547
  }, Z = function() {
9548
9548
  var S, D;
9549
- (S = N.value) === null || S === void 0 || (D = S.stopHide) === null || D === void 0 || D.call(S);
9549
+ (S = k.value) === null || S === void 0 || (D = S.stopHide) === null || D === void 0 || D.call(S);
9550
9550
  }, K = function(S) {
9551
9551
  var D, J;
9552
- k.target = S, (D = N.value) === null || D === void 0 || (J = D.resetPopover) === null || J === void 0 || J.call(D);
9552
+ N.target = S, (D = k.value) === null || D === void 0 || (J = D.resetPopover) === null || J === void 0 || J.call(D);
9553
9553
  }, O = function() {
9554
9554
  var S;
9555
9555
  (S = s.onContentMouseenter) === null || S === void 0 || S.call(s);
@@ -9569,8 +9569,8 @@ function IN(t) {
9569
9569
  updateTarget: K,
9570
9570
  stopHide: Z
9571
9571
  }), function() {
9572
- return (0, pe.createVNode)(bN, (0, pe.mergeProps)(k, {
9573
- ref: N,
9572
+ return (0, pe.createVNode)(bN, (0, pe.mergeProps)(N, {
9573
+ ref: k,
9574
9574
  onContentMouseenter: O,
9575
9575
  onContentMouseleave: _,
9576
9576
  onAfterHidden: F,
@@ -9654,20 +9654,20 @@ var CN = op.default, wN = {
9654
9654
  function m() {
9655
9655
  if (!e) {
9656
9656
  e = !0;
9657
- var I = navigator.userAgent, k = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(I), N = /(Mac OS X)|(Windows)|(Linux)/.exec(I);
9658
- if (d = /\b(iPhone|iP[ao]d)/.exec(I), h = /\b(iP[ao]d)/.exec(I), f = /Android/i.exec(I), g = /FBAN\/\w+;/i.exec(I), b = /Mobile/i.exec(I), p = !!/Win64/.exec(I), k) {
9659
- n = k[1] ? parseFloat(k[1]) : k[5] ? parseFloat(k[5]) : NaN, n && document && document.documentMode && (n = document.documentMode);
9657
+ var I = navigator.userAgent, N = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(I), k = /(Mac OS X)|(Windows)|(Linux)/.exec(I);
9658
+ if (d = /\b(iPhone|iP[ao]d)/.exec(I), h = /\b(iP[ao]d)/.exec(I), f = /Android/i.exec(I), g = /FBAN\/\w+;/i.exec(I), b = /Mobile/i.exec(I), p = !!/Win64/.exec(I), N) {
9659
+ n = N[1] ? parseFloat(N[1]) : N[5] ? parseFloat(N[5]) : NaN, n && document && document.documentMode && (n = document.documentMode);
9660
9660
  var T = /(?:Trident\/(\d+.\d+))/.exec(I);
9661
- a = T ? parseFloat(T[1]) + 4 : n, r = k[2] ? parseFloat(k[2]) : NaN, o = k[3] ? parseFloat(k[3]) : NaN, i = k[4] ? parseFloat(k[4]) : NaN, i ? (k = /(?:Chrome\/(\d+\.\d+))/.exec(I), s = k && k[1] ? parseFloat(k[1]) : NaN) : s = NaN;
9661
+ a = T ? parseFloat(T[1]) + 4 : n, r = N[2] ? parseFloat(N[2]) : NaN, o = N[3] ? parseFloat(N[3]) : NaN, i = N[4] ? parseFloat(N[4]) : NaN, i ? (N = /(?:Chrome\/(\d+\.\d+))/.exec(I), s = N && N[1] ? parseFloat(N[1]) : NaN) : s = NaN;
9662
9662
  } else
9663
9663
  n = r = o = s = i = NaN;
9664
- if (N) {
9665
- if (N[1]) {
9664
+ if (k) {
9665
+ if (k[1]) {
9666
9666
  var z = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(I);
9667
9667
  c = z ? parseFloat(z[1].replace("_", ".")) : !0;
9668
9668
  } else
9669
9669
  c = !1;
9670
- l = !!N[2], u = !!N[3];
9670
+ l = !!k[2], u = !!k[3];
9671
9671
  } else
9672
9672
  c = l = u = !1;
9673
9673
  }
@@ -10002,10 +10002,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10002
10002
  function h(w, L) {
10003
10003
  var A = [];
10004
10004
  return Array.isArray(L.arg) ? A = L.arg : f(L.arg) && A.push(L.arg), function(B, oe) {
10005
- var fe = L.instance.popperRef, ge = B.target, me = oe == null ? void 0 : oe.target, be = !L || !L.instance, we = !ge || !me, xe = w.contains(ge) || w.contains(me), Me = w === ge, Ae = A.length && A.some(function(Te) {
10005
+ var fe = L.instance.popperRef, ge = B.target, me = oe == null ? void 0 : oe.target, be = !L || !L.instance, we = !ge || !me, xe = w.contains(ge) || w.contains(me), Me = w === ge, _e = A.length && A.some(function(Te) {
10006
10006
  return Te == null ? void 0 : Te.contains(ge);
10007
10007
  }) || A.length && A.includes(me), ut = fe && (fe.contains(ge) || fe.contains(me));
10008
- be || we || xe || Me || Ae || ut || L.value(B, oe);
10008
+ be || we || xe || Me || _e || ut || L.value(B, oe);
10009
10009
  };
10010
10010
  }
10011
10011
  var g = {
@@ -10057,7 +10057,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10057
10057
  var L = M(w, "string");
10058
10058
  return m(L) == "symbol" ? L : String(L);
10059
10059
  }
10060
- function k(w, L, A) {
10060
+ function N(w, L, A) {
10061
10061
  return L = I(L), L in w ? Object.defineProperty(w, L, {
10062
10062
  value: A,
10063
10063
  enumerable: !0,
@@ -10065,7 +10065,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10065
10065
  writable: !0
10066
10066
  }) : w[L] = A, w;
10067
10067
  }
10068
- function N(w, L) {
10068
+ function k(w, L) {
10069
10069
  (L == null || L > w.length) && (L = w.length);
10070
10070
  for (var A = 0, B = new Array(L); A < L; A++)
10071
10071
  B[A] = w[A];
@@ -10073,7 +10073,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10073
10073
  }
10074
10074
  function T(w) {
10075
10075
  if (Array.isArray(w))
10076
- return N(w);
10076
+ return k(w);
10077
10077
  }
10078
10078
  function z(w) {
10079
10079
  if (typeof Symbol < "u" && w[Symbol.iterator] != null || w["@@iterator"] != null)
@@ -10082,12 +10082,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10082
10082
  function Z(w, L) {
10083
10083
  if (w) {
10084
10084
  if (typeof w == "string")
10085
- return N(w, L);
10085
+ return k(w, L);
10086
10086
  var A = Object.prototype.toString.call(w).slice(8, -1);
10087
10087
  if (A === "Object" && w.constructor && (A = w.constructor.name), A === "Map" || A === "Set")
10088
10088
  return Array.from(w);
10089
10089
  if (A === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))
10090
- return N(w, L);
10090
+ return k(w, L);
10091
10091
  }
10092
10092
  }
10093
10093
  function K() {
@@ -10126,7 +10126,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10126
10126
  for (var L = 1; L < arguments.length; L++) {
10127
10127
  var A = arguments[L] != null ? arguments[L] : {};
10128
10128
  L % 2 ? J(Object(A), !0).forEach(function(B) {
10129
- k(w, B, A[B]);
10129
+ N(w, B, A[B]);
10130
10130
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(w, Object.getOwnPropertyDescriptors(A)) : J(Object(A)).forEach(function(B) {
10131
10131
  Object.defineProperty(w, B, Object.getOwnPropertyDescriptor(A, B));
10132
10132
  });
@@ -10253,9 +10253,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10253
10253
  var xe = document.body;
10254
10254
  be && (be === "parent" ? xe = w.parentElement : be instanceof HTMLElement && (xe = be)), xe.appendChild(A);
10255
10255
  var Me = se(w, A);
10256
- me(), A.setAttribute("data-show", ""), Me.setOptions(function(Ae) {
10257
- return ne(ne({}, Ae), {}, {
10258
- modifiers: [].concat(O(Ae.modifiers), [{
10256
+ me(), A.setAttribute("data-show", ""), Me.setOptions(function(_e) {
10257
+ return ne(ne({}, _e), {}, {
10258
+ modifiers: [].concat(O(_e.modifiers), [{
10259
10259
  name: "eventListeners",
10260
10260
  enabled: !0
10261
10261
  }])
@@ -10304,12 +10304,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10304
10304
  }, 120);
10305
10305
  };
10306
10306
  L.addEventListener("mouseenter", xe), L.addEventListener("mouseleave", Me);
10307
- var Ae = function(Te) {
10307
+ var _e = function(Te) {
10308
10308
  var je, Nt;
10309
10309
  Me(), (je = Te ?? L) === null || je === void 0 || je.removeEventListener("mouseenter", xe), (Nt = Te ?? L) === null || Nt === void 0 || Nt.removeEventListener("mouseleave", Me);
10310
10310
  };
10311
10311
  return {
10312
- destroyInstance: Ae,
10312
+ destroyInstance: _e,
10313
10313
  instance: B
10314
10314
  };
10315
10315
  }
@@ -10373,7 +10373,7 @@ var TN = {
10373
10373
  }
10374
10374
  }
10375
10375
  s.wrap = g;
10376
- var m = "suspendedStart", M = "suspendedYield", I = "executing", k = "completed", N = {};
10376
+ var m = "suspendedStart", M = "suspendedYield", I = "executing", N = "completed", k = {};
10377
10377
  function T() {
10378
10378
  }
10379
10379
  function z() {
@@ -10428,7 +10428,7 @@ var TN = {
10428
10428
  return function(ie, se) {
10429
10429
  if ($ === I)
10430
10430
  throw new Error("Generator is already running");
10431
- if ($ === k) {
10431
+ if ($ === N) {
10432
10432
  if (ie === "throw")
10433
10433
  throw se;
10434
10434
  return {
@@ -10441,7 +10441,7 @@ var TN = {
10441
10441
  if (he) {
10442
10442
  var j = D(he, G);
10443
10443
  if (j) {
10444
- if (j === N)
10444
+ if (j === k)
10445
10445
  continue;
10446
10446
  return j;
10447
10447
  }
@@ -10450,33 +10450,33 @@ var TN = {
10450
10450
  G.sent = G._sent = G.arg;
10451
10451
  else if (G.method === "throw") {
10452
10452
  if ($ === m)
10453
- throw $ = k, G.arg;
10453
+ throw $ = N, G.arg;
10454
10454
  G.dispatchException(G.arg);
10455
10455
  } else
10456
10456
  G.method === "return" && G.abrupt("return", G.arg);
10457
10457
  $ = I;
10458
10458
  var v = b(W, Q, G);
10459
10459
  if (v.type === "normal") {
10460
- if ($ = G.done ? k : M, v.arg === N)
10460
+ if ($ = G.done ? N : M, v.arg === k)
10461
10461
  continue;
10462
10462
  return {
10463
10463
  value: v.arg,
10464
10464
  done: G.done
10465
10465
  };
10466
10466
  }
10467
- v.type === "throw" && ($ = k, G.method = "throw", G.arg = v.arg);
10467
+ v.type === "throw" && ($ = N, G.method = "throw", G.arg = v.arg);
10468
10468
  }
10469
10469
  };
10470
10470
  }
10471
10471
  function D(W, Q) {
10472
10472
  var G = Q.method, $ = W.iterator[G];
10473
10473
  if ($ === i)
10474
- return Q.delegate = null, G === "throw" && W.iterator.return && (Q.method = "return", Q.arg = i, D(W, Q), Q.method === "throw") || G !== "return" && (Q.method = "throw", Q.arg = new TypeError("The iterator does not provide a '" + G + "' method")), N;
10474
+ return Q.delegate = null, G === "throw" && W.iterator.return && (Q.method = "return", Q.arg = i, D(W, Q), Q.method === "throw") || G !== "return" && (Q.method = "throw", Q.arg = new TypeError("The iterator does not provide a '" + G + "' method")), k;
10475
10475
  var ie = b($, W.iterator, Q.arg);
10476
10476
  if (ie.type === "throw")
10477
- return Q.method = "throw", Q.arg = ie.arg, Q.delegate = null, N;
10477
+ return Q.method = "throw", Q.arg = ie.arg, Q.delegate = null, k;
10478
10478
  var se = ie.arg;
10479
- return se ? se.done ? (Q[W.resultName] = se.value, Q.next = W.nextLoc, Q.method !== "return" && (Q.method = "next", Q.arg = i), Q.delegate = null, N) : se : (Q.method = "throw", Q.arg = new TypeError("iterator result is not an object"), Q.delegate = null, N);
10479
+ return se ? se.done ? (Q[W.resultName] = se.value, Q.next = W.nextLoc, Q.method !== "return" && (Q.method = "next", Q.arg = i), Q.delegate = null, k) : se : (Q.method = "throw", Q.arg = new TypeError("iterator result is not an object"), Q.delegate = null, k);
10480
10480
  }
10481
10481
  function J(W) {
10482
10482
  var Q = {
@@ -10605,18 +10605,18 @@ var TN = {
10605
10605
  }
10606
10606
  se && (Q === "break" || Q === "continue") && se.tryLoc <= G && G <= se.finallyLoc && (se = null);
10607
10607
  var he = se ? se.completion : {};
10608
- return he.type = Q, he.arg = G, se ? (this.method = "next", this.next = se.finallyLoc, N) : this.complete(he);
10608
+ return he.type = Q, he.arg = G, se ? (this.method = "next", this.next = se.finallyLoc, k) : this.complete(he);
10609
10609
  },
10610
10610
  complete: function(Q, G) {
10611
10611
  if (Q.type === "throw")
10612
10612
  throw Q.arg;
10613
- return Q.type === "break" || Q.type === "continue" ? this.next = Q.arg : Q.type === "return" ? (this.rval = this.arg = Q.arg, this.method = "return", this.next = "end") : Q.type === "normal" && G && (this.next = G), N;
10613
+ return Q.type === "break" || Q.type === "continue" ? this.next = Q.arg : Q.type === "return" ? (this.rval = this.arg = Q.arg, this.method = "return", this.next = "end") : Q.type === "normal" && G && (this.next = G), k;
10614
10614
  },
10615
10615
  finish: function(Q) {
10616
10616
  for (var G = this.tryEntries.length - 1; G >= 0; --G) {
10617
10617
  var $ = this.tryEntries[G];
10618
10618
  if ($.finallyLoc === Q)
10619
- return this.complete($.completion, $.afterLoc), ne($), N;
10619
+ return this.complete($.completion, $.afterLoc), ne($), k;
10620
10620
  }
10621
10621
  },
10622
10622
  catch: function(Q) {
@@ -10638,7 +10638,7 @@ var TN = {
10638
10638
  iterator: V(Q),
10639
10639
  resultName: G,
10640
10640
  nextLoc: $
10641
- }, this.method === "next" && (this.arg = i), N;
10641
+ }, this.method === "next" && (this.arg = i), k;
10642
10642
  }
10643
10643
  }, s;
10644
10644
  }
@@ -10848,11 +10848,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10848
10848
  return Xe.d(v, j), v;
10849
10849
  };
10850
10850
  const m = b({ Fragment: () => U.Fragment, computed: () => U.computed, createTextVNode: () => U.createTextVNode, createVNode: () => U.createVNode, defineComponent: () => U.defineComponent, mergeProps: () => U.mergeProps, nextTick: () => U.nextTick, onBeforeUnmount: () => U.onBeforeUnmount, onMounted: () => U.onMounted, ref: () => U.ref, resolveDirective: () => U.resolveDirective, watch: () => U.watch, withDirectives: () => U.withDirectives });
10851
- var M = Xe(2841), I = /* @__PURE__ */ Xe.n(M), k = (j) => {
10851
+ var M = Xe(2841), I = /* @__PURE__ */ Xe.n(M), N = (j) => {
10852
10852
  var v = {};
10853
10853
  return Xe.d(v, j), v;
10854
10854
  };
10855
- const N = k({ useLocale: () => Hw, usePrefix: () => wr });
10855
+ const k = N({ useLocale: () => Hw, usePrefix: () => wr });
10856
10856
  var T = (j) => {
10857
10857
  var v = {};
10858
10858
  return Xe.d(v, j), v;
@@ -10985,7 +10985,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10985
10985
  props: ye,
10986
10986
  emits: $,
10987
10987
  setup: function(v, C) {
10988
- var y = (0, N.usePrefix)(), E = y.resolveClassName, R = (0, e.useFormItem)(), H = (0, N.useLocale)("input"), ee = (0, m.ref)(!1), w = (0, m.ref)(!1), L = (0, m.computed)(function() {
10988
+ var y = (0, k.usePrefix)(), E = y.resolveClassName, R = (0, e.useFormItem)(), H = (0, k.useLocale)("input"), ee = (0, m.ref)(!1), w = (0, m.ref)(!1), L = (0, m.computed)(function() {
10989
10989
  return v.type === "textarea";
10990
10990
  }), A = (0, m.computed)(function() {
10991
10991
  return L.value ? E("textarea") : E("input");
@@ -11008,7 +11008,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11008
11008
  xe.value = {
11009
11009
  minHeight: P(ge.value).minHeight
11010
11010
  };
11011
- }, Ae = function(re) {
11011
+ }, _e = function(re) {
11012
11012
  var ve = !1;
11013
11013
  return function() {
11014
11014
  var Ce;
@@ -11017,7 +11017,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11017
11017
  De || (re(), ve = !0);
11018
11018
  }
11019
11019
  };
11020
- }, ut = Ae(Me), Te = le("suffix-icon"), je = {
11020
+ }, ut = _e(Me), Te = le("suffix-icon"), je = {
11021
11021
  search: function() {
11022
11022
  return (0, m.createVNode)(K.Search, null, null);
11023
11023
  },
@@ -11029,7 +11029,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11029
11029
  }
11030
11030
  }, Nt = (0, m.computed)(function() {
11031
11031
  var q = je[v.type];
11032
- return un.value ? (0, m.createVNode)(K.Eye, {
11032
+ return fn.value ? (0, m.createVNode)(K.Eye, {
11033
11033
  class: Te,
11034
11034
  onClick: x
11035
11035
  }, null) : q ? (0, m.createVNode)(q, {
@@ -11040,13 +11040,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11040
11040
  }), ft = (0, m.computed)(function() {
11041
11041
  var q, re;
11042
11042
  return Math.floor((q = (re = v.maxlength) !== null && re !== void 0 ? re : v.maxcharacter) !== null && q !== void 0 ? q : 0);
11043
- }), un = (0, m.ref)(!1), jr = (0, m.computed)(function() {
11043
+ }), fn = (0, m.ref)(!1), jr = (0, m.computed)(function() {
11044
11044
  return (0, e.classes)(g({
11045
11045
  "show-clear-only-hover": v.showClearOnlyHover
11046
11046
  }, "".concat(A.value, "--clear-icon"), !0), Te);
11047
11047
  }), Cs = (0, m.computed)(function() {
11048
11048
  return (0, e.classes)(g(g({}, le("max-length"), !0), "is-over-limit", ft.value - Bn.value < 0));
11049
- }), fn = function(re) {
11049
+ }), dn = function(re) {
11050
11050
  return typeof v.maxcharacter == "number" ? re.split("").reduce(function(ve, Ce, De) {
11051
11051
  return ve.len += Ce.charCodeAt(0) > 255 ? 2 : 1, ve.len > v.maxcharacter && ve.pos === -1 && (ve.pos = De), ve;
11052
11052
  }, {
@@ -11058,16 +11058,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11058
11058
  };
11059
11059
  }, Bn = (0, m.computed)(function() {
11060
11060
  var q, re = (q = v.modelValue) !== null && q !== void 0 ? q : "";
11061
- return fn(re).len;
11061
+ return dn(re).len;
11062
11062
  }), ws = (0, m.computed)(function() {
11063
11063
  return (0, e.classes)({
11064
11064
  "is-disabled": v.disabled || v.modelValue >= v.max
11065
11065
  });
11066
- }), _e = (0, m.computed)(function() {
11066
+ }), ze = (0, m.computed)(function() {
11067
11067
  return (0, e.classes)({
11068
11068
  "is-disabled": v.disabled || v.modelValue <= v.min
11069
11069
  });
11070
- }), dn = (0, m.computed)(function() {
11070
+ }), pn = (0, m.computed)(function() {
11071
11071
  return Sr.value && ft.value - Bn.value === 0 ? {
11072
11072
  content: H.value.maxlengthLimitTips
11073
11073
  } : v.showOverflowTooltips && we.value && v.modelValue ? {
@@ -11153,7 +11153,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11153
11153
  function Ao(q) {
11154
11154
  return function(re) {
11155
11155
  if (v.stopPropagation && re.stopPropagation(), Sr.value && !v.overMaxLengthLimit) {
11156
- var ve = fn(re.target.value);
11156
+ var ve = dn(re.target.value);
11157
11157
  if (ve.len >= ft.value && (q === V.KEYDOWN || q === V.INPUT) && !w.value) {
11158
11158
  var Ce = ve.pos > 0 ? re.target.value.slice(0, ve.pos) : re.target.value;
11159
11159
  me.value = {
@@ -11187,8 +11187,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11187
11187
  var ve = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, Ce = Number(re), De = Number.isInteger(v.precision) ? v.precision : 0, Ge = Number(q), Je = Number.isInteger(Ce) ? Ce : 1;
11188
11188
  if (Number.isNaN(Ge))
11189
11189
  return Number.isInteger(v.min) ? v.min : 0;
11190
- var pn = Ge + (ve ? Je : -1 * Je);
11191
- return Number.isInteger(v.max) && (pn = Math.min(pn, v.max)), Number.isInteger(v.min) && (pn = Math.max(pn, v.min)), +pn.toFixed(De);
11190
+ var gn = Ge + (ve ? Je : -1 * Je);
11191
+ return Number.isInteger(v.max) && (gn = Math.min(gn, v.max)), Number.isInteger(v.min) && (gn = Math.max(gn, v.min)), +gn.toFixed(De);
11192
11192
  }
11193
11193
  function Zo(q) {
11194
11194
  if (!v.disabled) {
@@ -11206,7 +11206,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11206
11206
  return "".concat(A.value, "--").concat(q);
11207
11207
  }
11208
11208
  function x() {
11209
- un.value = !un.value;
11209
+ fn.value = !fn.value;
11210
11210
  }
11211
11211
  var X = (0, m.computed)(function() {
11212
11212
  return {
@@ -11247,7 +11247,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11247
11247
  }, fe, {
11248
11248
  ref: ge,
11249
11249
  class: "".concat(A.value, "--text"),
11250
- type: un.value && v.type === "password" ? "text" : v.type,
11250
+ type: fn.value && v.type === "password" ? "text" : v.type,
11251
11251
  step: v.step,
11252
11252
  max: v.max,
11253
11253
  min: v.min
@@ -11262,13 +11262,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11262
11262
  class: ws.value,
11263
11263
  onClick: Zo
11264
11264
  }, null), (0, m.createVNode)(K.DownSmall, {
11265
- class: _e.value,
11265
+ class: ze.value,
11266
11266
  onClick: xs
11267
11267
  }, null)]), (Ce = (De = C.slots) === null || De === void 0 || (Ge = De.suffix) === null || Ge === void 0 ? void 0 : Ge.call(De)) !== null && Ce !== void 0 ? Ce : v.suffix && (0, m.createVNode)("div", {
11268
11268
  class: le("suffix-area")
11269
11269
  }, [(0, m.createVNode)("span", {
11270
11270
  class: le("suffix-area--text")
11271
- }, [v.suffix])])]), [[(0, m.resolveDirective)("bk-tooltips"), dn.value]]);
11271
+ }, [v.suffix])])]), [[(0, m.resolveDirective)("bk-tooltips"), pn.value]]);
11272
11272
  };
11273
11273
  }
11274
11274
  });
@@ -11434,7 +11434,7 @@ var Do = {};
11434
11434
  return Se.d(ne, J), ne;
11435
11435
  };
11436
11436
  const d = p({ usePrefix: () => wr });
11437
- var h = Se(3760), g = /* @__PURE__ */ Se.n(h), b = Se(825), m = /* @__PURE__ */ Se.n(b), M = Se(3752), I = /* @__PURE__ */ Se.n(M), k = Se(2267), N = /* @__PURE__ */ Se.n(k), T = Se(2729), z = /* @__PURE__ */ Se.n(T), Z = Se(3975), K = /* @__PURE__ */ Se.n(Z), O = Se(3196), _ = /* @__PURE__ */ Se.n(O), F;
11437
+ var h = Se(3760), g = /* @__PURE__ */ Se.n(h), b = Se(825), m = /* @__PURE__ */ Se.n(b), M = Se(3752), I = /* @__PURE__ */ Se.n(M), N = Se(2267), k = /* @__PURE__ */ Se.n(N), T = Se(2729), z = /* @__PURE__ */ Se.n(T), Z = Se(3975), K = /* @__PURE__ */ Se.n(Z), O = Se(3196), _ = /* @__PURE__ */ Se.n(O), F;
11438
11438
  (function(J) {
11439
11439
  J.CODE_404 = "404", J.CODE_403 = "403", J.CODE_500 = "500", J.BUILDING = "building", J.EMPTY = "empty", J.SEARCH = "search-empty", J.LOGIN = "login";
11440
11440
  })(F || (F = {}));
@@ -11457,7 +11457,7 @@ var Do = {};
11457
11457
  403: g(),
11458
11458
  404: m(),
11459
11459
  500: I(),
11460
- building: N(),
11460
+ building: k(),
11461
11461
  empty: z(),
11462
11462
  "search-empty": _(),
11463
11463
  login: K()
@@ -11517,8 +11517,9 @@ const NN = (t) => {
11517
11517
  关闭: "close",
11518
11518
  "内容正在执行中,请执行完成后再输入": "The content is being executed, please enter it again after the execution is completed.",
11519
11519
  发送: "Send",
11520
- "您可以键入 “/” 查看更多Prompt": 'You can type "/" to see more Prompts'
11521
- }, bn = (t) => jN !== "en" ? t : SN[t] || t;
11520
+ "您可以键入 “/” 查看更多Prompt": 'You can type "/" to see more Prompts',
11521
+ 请输入: "Please input"
11522
+ }, qt = (t) => jN !== "en" ? t : SN[t] || t;
11522
11523
  /*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
11523
11524
  const {
11524
11525
  entries: Mp,
@@ -11684,9 +11685,9 @@ function Tp() {
11684
11685
  const le = n.createElement("template");
11685
11686
  le.content && le.content.ownerDocument && (n = le.content.ownerDocument);
11686
11687
  }
11687
- let I, k = "";
11688
+ let I, N = "";
11688
11689
  const {
11689
- implementation: N,
11690
+ implementation: k,
11690
11691
  createNodeIterator: T,
11691
11692
  createDocumentFragment: z,
11692
11693
  getElementsByTagName: Z
@@ -11694,7 +11695,7 @@ function Tp() {
11694
11695
  importNode: K
11695
11696
  } = r;
11696
11697
  let O = {};
11697
- e.isSupported = typeof Mp == "function" && typeof M == "function" && N && N.createHTMLDocument !== void 0;
11698
+ e.isSupported = typeof Mp == "function" && typeof M == "function" && k && k.createHTMLDocument !== void 0;
11698
11699
  const {
11699
11700
  MUSTACHE_EXPR: _,
11700
11701
  ERB_EXPR: F,
@@ -11735,43 +11736,43 @@ function Tp() {
11735
11736
  let ge = !0, me = !1, be = {}, we = null;
11736
11737
  const xe = Ie({}, ["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"]);
11737
11738
  let Me = null;
11738
- const Ae = Ie({}, ["audio", "video", "img", "source", "image", "track"]);
11739
+ const _e = Ie({}, ["audio", "video", "img", "source", "image", "track"]);
11739
11740
  let ut = null;
11740
11741
  const Te = Ie({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), je = "http://www.w3.org/1998/Math/MathML", Nt = "http://www.w3.org/2000/svg", Ke = "http://www.w3.org/1999/xhtml";
11741
- let ft = Ke, un = !1, jr = null;
11742
+ let ft = Ke, fn = !1, jr = null;
11742
11743
  const Cs = Ie({}, [je, Nt, Ke], Ds);
11743
- let fn = null;
11744
+ let dn = null;
11744
11745
  const Bn = ["application/xhtml+xml", "text/html"], ws = "text/html";
11745
- let _e = null, dn = null;
11746
+ let ze = null, pn = null;
11746
11747
  const Sr = n.createElement("form"), Dr = function(x) {
11747
11748
  return x instanceof RegExp || x instanceof Function;
11748
11749
  }, Er = function() {
11749
11750
  let x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11750
- if (!(dn && dn === x)) {
11751
- if ((!x || typeof x != "object") && (x = {}), x = Sn(x), fn = // eslint-disable-next-line unicorn/prefer-includes
11752
- Bn.indexOf(x.PARSER_MEDIA_TYPE) === -1 ? ws : x.PARSER_MEDIA_TYPE, _e = fn === "application/xhtml+xml" ? Ds : ui, V = Ct(x, "ALLOWED_TAGS") ? Ie({}, x.ALLOWED_TAGS, _e) : W, Q = Ct(x, "ALLOWED_ATTR") ? Ie({}, x.ALLOWED_ATTR, _e) : G, jr = Ct(x, "ALLOWED_NAMESPACES") ? Ie({}, x.ALLOWED_NAMESPACES, Ds) : Cs, ut = Ct(x, "ADD_URI_SAFE_ATTR") ? Ie(
11751
+ if (!(pn && pn === x)) {
11752
+ if ((!x || typeof x != "object") && (x = {}), x = Sn(x), dn = // eslint-disable-next-line unicorn/prefer-includes
11753
+ Bn.indexOf(x.PARSER_MEDIA_TYPE) === -1 ? ws : x.PARSER_MEDIA_TYPE, ze = dn === "application/xhtml+xml" ? Ds : ui, V = Ct(x, "ALLOWED_TAGS") ? Ie({}, x.ALLOWED_TAGS, ze) : W, Q = Ct(x, "ALLOWED_ATTR") ? Ie({}, x.ALLOWED_ATTR, ze) : G, jr = Ct(x, "ALLOWED_NAMESPACES") ? Ie({}, x.ALLOWED_NAMESPACES, Ds) : Cs, ut = Ct(x, "ADD_URI_SAFE_ATTR") ? Ie(
11753
11754
  Sn(Te),
11754
11755
  // eslint-disable-line indent
11755
11756
  x.ADD_URI_SAFE_ATTR,
11756
11757
  // eslint-disable-line indent
11757
- _e
11758
+ ze
11758
11759
  // eslint-disable-line indent
11759
11760
  ) : Te, Me = Ct(x, "ADD_DATA_URI_TAGS") ? Ie(
11760
- Sn(Ae),
11761
+ Sn(_e),
11761
11762
  // eslint-disable-line indent
11762
11763
  x.ADD_DATA_URI_TAGS,
11763
11764
  // eslint-disable-line indent
11764
- _e
11765
+ ze
11765
11766
  // eslint-disable-line indent
11766
- ) : Ae, we = Ct(x, "FORBID_CONTENTS") ? Ie({}, x.FORBID_CONTENTS, _e) : xe, ie = Ct(x, "FORBID_TAGS") ? Ie({}, x.FORBID_TAGS, _e) : {}, se = Ct(x, "FORBID_ATTR") ? Ie({}, x.FORBID_ATTR, _e) : {}, be = Ct(x, "USE_PROFILES") ? x.USE_PROFILES : !1, he = x.ALLOW_ARIA_ATTR !== !1, j = x.ALLOW_DATA_ATTR !== !1, v = x.ALLOW_UNKNOWN_PROTOCOLS || !1, C = x.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = x.SAFE_FOR_TEMPLATES || !1, E = x.SAFE_FOR_XML !== !1, R = x.WHOLE_DOCUMENT || !1, w = x.RETURN_DOM || !1, L = x.RETURN_DOM_FRAGMENT || !1, A = x.RETURN_TRUSTED_TYPE || !1, ee = x.FORCE_BODY || !1, B = x.SANITIZE_DOM !== !1, oe = x.SANITIZE_NAMED_PROPS || !1, ge = x.KEEP_CONTENT !== !1, me = x.IN_PLACE || !1, ye = x.ALLOWED_URI_REGEXP || wp, ft = x.NAMESPACE || Ke, $ = x.CUSTOM_ELEMENT_HANDLING || {}, x.CUSTOM_ELEMENT_HANDLING && Dr(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = x.CUSTOM_ELEMENT_HANDLING.tagNameCheck), x.CUSTOM_ELEMENT_HANDLING && Dr(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), x.CUSTOM_ELEMENT_HANDLING && typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (j = !1), L && (w = !0), be && (V = Ie({}, wu), Q = [], be.html === !0 && (Ie(V, Cu), Ie(Q, Lu)), be.svg === !0 && (Ie(V, Es), Ie(Q, As), Ie(Q, ni)), be.svgFilters === !0 && (Ie(V, Ps), Ie(Q, As), Ie(Q, ni)), be.mathMl === !0 && (Ie(V, Os), Ie(Q, Tu), Ie(Q, ni))), x.ADD_TAGS && (V === W && (V = Sn(V)), Ie(V, x.ADD_TAGS, _e)), x.ADD_ATTR && (Q === G && (Q = Sn(Q)), Ie(Q, x.ADD_ATTR, _e)), x.ADD_URI_SAFE_ATTR && Ie(ut, x.ADD_URI_SAFE_ATTR, _e), x.FORBID_CONTENTS && (we === xe && (we = Sn(we)), Ie(we, x.FORBID_CONTENTS, _e)), ge && (V["#text"] = !0), R && Ie(V, ["html", "head", "body"]), V.table && (Ie(V, ["tbody"]), delete ie.tbody), x.TRUSTED_TYPES_POLICY) {
11767
+ ) : _e, we = Ct(x, "FORBID_CONTENTS") ? Ie({}, x.FORBID_CONTENTS, ze) : xe, ie = Ct(x, "FORBID_TAGS") ? Ie({}, x.FORBID_TAGS, ze) : {}, se = Ct(x, "FORBID_ATTR") ? Ie({}, x.FORBID_ATTR, ze) : {}, be = Ct(x, "USE_PROFILES") ? x.USE_PROFILES : !1, he = x.ALLOW_ARIA_ATTR !== !1, j = x.ALLOW_DATA_ATTR !== !1, v = x.ALLOW_UNKNOWN_PROTOCOLS || !1, C = x.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = x.SAFE_FOR_TEMPLATES || !1, E = x.SAFE_FOR_XML !== !1, R = x.WHOLE_DOCUMENT || !1, w = x.RETURN_DOM || !1, L = x.RETURN_DOM_FRAGMENT || !1, A = x.RETURN_TRUSTED_TYPE || !1, ee = x.FORCE_BODY || !1, B = x.SANITIZE_DOM !== !1, oe = x.SANITIZE_NAMED_PROPS || !1, ge = x.KEEP_CONTENT !== !1, me = x.IN_PLACE || !1, ye = x.ALLOWED_URI_REGEXP || wp, ft = x.NAMESPACE || Ke, $ = x.CUSTOM_ELEMENT_HANDLING || {}, x.CUSTOM_ELEMENT_HANDLING && Dr(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = x.CUSTOM_ELEMENT_HANDLING.tagNameCheck), x.CUSTOM_ELEMENT_HANDLING && Dr(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), x.CUSTOM_ELEMENT_HANDLING && typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (j = !1), L && (w = !0), be && (V = Ie({}, wu), Q = [], be.html === !0 && (Ie(V, Cu), Ie(Q, Lu)), be.svg === !0 && (Ie(V, Es), Ie(Q, As), Ie(Q, ni)), be.svgFilters === !0 && (Ie(V, Ps), Ie(Q, As), Ie(Q, ni)), be.mathMl === !0 && (Ie(V, Os), Ie(Q, Tu), Ie(Q, ni))), x.ADD_TAGS && (V === W && (V = Sn(V)), Ie(V, x.ADD_TAGS, ze)), x.ADD_ATTR && (Q === G && (Q = Sn(Q)), Ie(Q, x.ADD_ATTR, ze)), x.ADD_URI_SAFE_ATTR && Ie(ut, x.ADD_URI_SAFE_ATTR, ze), x.FORBID_CONTENTS && (we === xe && (we = Sn(we)), Ie(we, x.FORBID_CONTENTS, ze)), ge && (V["#text"] = !0), R && Ie(V, ["html", "head", "body"]), V.table && (Ie(V, ["tbody"]), delete ie.tbody), x.TRUSTED_TYPES_POLICY) {
11767
11768
  if (typeof x.TRUSTED_TYPES_POLICY.createHTML != "function")
11768
11769
  throw Jr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
11769
11770
  if (typeof x.TRUSTED_TYPES_POLICY.createScriptURL != "function")
11770
11771
  throw Jr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
11771
- I = x.TRUSTED_TYPES_POLICY, k = I.createHTML("");
11772
+ I = x.TRUSTED_TYPES_POLICY, N = I.createHTML("");
11772
11773
  } else
11773
- I === void 0 && (I = VN(d, o)), I !== null && typeof k == "string" && (k = I.createHTML(""));
11774
- qe && qe(x), dn = x;
11774
+ I === void 0 && (I = VN(d, o)), I !== null && typeof N == "string" && (N = I.createHTML(""));
11775
+ qe && qe(x), pn = x;
11775
11776
  }
11776
11777
  }, Yn = Ie({}, ["mi", "mo", "mn", "ms", "mtext"]), Pr = Ie({}, ["foreignobject", "annotation-xml"]), Ls = Ie({}, ["title", "style", "font", "a", "script"]), Oo = Ie({}, [...Es, ...Ps, ...QN]), Ao = Ie({}, [...Os, ...JN]), Ts = function(x) {
11777
11778
  let X = M(x);
@@ -11780,7 +11781,7 @@ function Tp() {
11780
11781
  tagName: "template"
11781
11782
  });
11782
11783
  const ue = ui(x.tagName), q = ui(X.tagName);
11783
- return jr[x.namespaceURI] ? x.namespaceURI === Nt ? X.namespaceURI === Ke ? ue === "svg" : X.namespaceURI === je ? ue === "svg" && (q === "annotation-xml" || Yn[q]) : !!Oo[ue] : x.namespaceURI === je ? X.namespaceURI === Ke ? ue === "math" : X.namespaceURI === Nt ? ue === "math" && Pr[q] : !!Ao[ue] : x.namespaceURI === Ke ? X.namespaceURI === Nt && !Pr[q] || X.namespaceURI === je && !Yn[q] ? !1 : !Ao[ue] && (Ls[ue] || !Oo[ue]) : !!(fn === "application/xhtml+xml" && jr[x.namespaceURI]) : !1;
11784
+ return jr[x.namespaceURI] ? x.namespaceURI === Nt ? X.namespaceURI === Ke ? ue === "svg" : X.namespaceURI === je ? ue === "svg" && (q === "annotation-xml" || Yn[q]) : !!Oo[ue] : x.namespaceURI === je ? X.namespaceURI === Ke ? ue === "math" : X.namespaceURI === Nt ? ue === "math" && Pr[q] : !!Ao[ue] : x.namespaceURI === Ke ? X.namespaceURI === Nt && !Pr[q] || X.namespaceURI === je && !Yn[q] ? !1 : !Ao[ue] && (Ls[ue] || !Oo[ue]) : !!(dn === "application/xhtml+xml" && jr[x.namespaceURI]) : !1;
11784
11785
  }, Re = function(x) {
11785
11786
  zr(e.removed, {
11786
11787
  element: x
@@ -11821,17 +11822,17 @@ function Tp() {
11821
11822
  const ve = Mu(x, /^[\r\n\t ]+/);
11822
11823
  ue = ve && ve[0];
11823
11824
  }
11824
- fn === "application/xhtml+xml" && ft === Ke && (x = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + x + "</body></html>");
11825
+ dn === "application/xhtml+xml" && ft === Ke && (x = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + x + "</body></html>");
11825
11826
  const q = I ? I.createHTML(x) : x;
11826
11827
  if (ft === Ke)
11827
11828
  try {
11828
- X = new p().parseFromString(q, fn);
11829
+ X = new p().parseFromString(q, dn);
11829
11830
  } catch {
11830
11831
  }
11831
11832
  if (!X || !X.documentElement) {
11832
- X = N.createDocument(ft, "template", null);
11833
+ X = k.createDocument(ft, "template", null);
11833
11834
  try {
11834
- X.documentElement.innerHTML = un ? k : q;
11835
+ X.documentElement.innerHTML = fn ? N : q;
11835
11836
  } catch {
11836
11837
  }
11837
11838
  }
@@ -11851,13 +11852,13 @@ function Tp() {
11851
11852
  return typeof a == "function" && x instanceof a;
11852
11853
  }, dt = function(x, X, ue) {
11853
11854
  O[x] && ei(O[x], (q) => {
11854
- q.call(e, X, ue, dn);
11855
+ q.call(e, X, ue, pn);
11855
11856
  });
11856
11857
  }, Ro = function(x) {
11857
11858
  let X = null;
11858
11859
  if (dt("beforeSanitizeElements", x, null), Qo(x))
11859
11860
  return Re(x), !0;
11860
- const ue = _e(x.nodeName);
11861
+ const ue = ze(x.nodeName);
11861
11862
  if (dt("uponSanitizeElement", x, {
11862
11863
  tagName: ue,
11863
11864
  allowedTags: V
@@ -11932,7 +11933,7 @@ function Tp() {
11932
11933
  name: ve,
11933
11934
  namespaceURI: Ce,
11934
11935
  value: De
11935
- } = re, Ge = _e(ve);
11936
+ } = re, Ge = ze(ve);
11936
11937
  let Je = ve === "value" ? De : AN(De);
11937
11938
  if (ue.attrName = Ge, ue.attrValue = Je, ue.keepAttr = !0, ue.forceKeepAttr = void 0, dt("uponSanitizeAttribute", x, ue), Je = ue.attrValue, ue.forceKeepAttr || (Hn(ve, x), !ue.keepAttr))
11938
11939
  continue;
@@ -11947,10 +11948,10 @@ function Tp() {
11947
11948
  y && ei([_, F, Y], (Lc) => {
11948
11949
  Je = Qr(Je, Lc, " ");
11949
11950
  });
11950
- const pn = _e(x.nodeName);
11951
- if (Go(pn, Ge, Je)) {
11951
+ const gn = ze(x.nodeName);
11952
+ if (Go(gn, Ge, Je)) {
11952
11953
  if (oe && (Ge === "id" || Ge === "name") && (Hn(ve, x), Je = fe + Je), I && typeof d == "object" && typeof d.getAttributeType == "function" && !Ce)
11953
- switch (d.getAttributeType(pn, Ge)) {
11954
+ switch (d.getAttributeType(gn, Ge)) {
11954
11955
  case "TrustedHTML": {
11955
11956
  Je = I.createHTML(Je);
11956
11957
  break;
@@ -11976,7 +11977,7 @@ function Tp() {
11976
11977
  };
11977
11978
  return e.sanitize = function(le) {
11978
11979
  let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, X = null, ue = null, q = null, re = null;
11979
- if (un = !le, un && (le = "<!-->"), typeof le != "string" && !Jo(le))
11980
+ if (fn = !le, fn && (le = "<!-->"), typeof le != "string" && !Jo(le))
11980
11981
  if (typeof le.toString == "function") {
11981
11982
  if (le = le.toString(), typeof le != "string")
11982
11983
  throw Jr("dirty is not a string, aborting");
@@ -11986,7 +11987,7 @@ function Tp() {
11986
11987
  return le;
11987
11988
  if (H || Er(x), e.removed = [], typeof le == "string" && (me = !1), me) {
11988
11989
  if (le.nodeName) {
11989
- const De = _e(le.nodeName);
11990
+ const De = ze(le.nodeName);
11990
11991
  if (!V[De] || ie[De])
11991
11992
  throw Jr("root node is forbidden and cannot be sanitized in-place");
11992
11993
  }
@@ -11997,7 +11998,7 @@ function Tp() {
11997
11998
  le.indexOf("<") === -1)
11998
11999
  return I && A ? I.createHTML(le) : le;
11999
12000
  if (X = _o(le), !X)
12000
- return w ? null : A ? k : "";
12001
+ return w ? null : A ? N : "";
12001
12002
  }
12002
12003
  X && ee && Re(X.firstChild);
12003
12004
  const ve = zo(me ? le : X);
@@ -12022,10 +12023,10 @@ function Tp() {
12022
12023
  let le = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
12023
12024
  Er(le), H = !0;
12024
12025
  }, e.clearConfig = function() {
12025
- dn = null, H = !1;
12026
+ pn = null, H = !1;
12026
12027
  }, e.isValidAttribute = function(le, x, X) {
12027
- dn || Er({});
12028
- const ue = _e(le), q = _e(x);
12028
+ pn || Er({});
12029
+ const ue = ze(le), q = ze(x);
12029
12030
  return Go(ue, q, X);
12030
12031
  }, e.addHook = function(le, x) {
12031
12032
  typeof x == "function" && (O[le] = O[le] || [], zr(O[le], x));
@@ -14298,8 +14299,8 @@ Hi.prototype.parse = function(t, e) {
14298
14299
  for (var m = "", M = 0, I = b.length; M < I; M++)
14299
14300
  b.charCodeAt(M) > 127 ? m += "x" : m += b[M];
14300
14301
  if (!m.match(Du)) {
14301
- var k = g.slice(0, n), N = g.slice(n + 1), T = b.match(kie);
14302
- T && (k.push(T[1]), N.unshift(T[2])), N.length && (a = N.join(".") + a), this.hostname = k.join(".");
14302
+ var N = g.slice(0, n), k = g.slice(n + 1), T = b.match(kie);
14303
+ T && (N.push(T[1]), k.unshift(T[2])), k.length && (a = k.join(".") + a), this.hostname = N.join(".");
14303
14304
  break;
14304
14305
  }
14305
14306
  }
@@ -14397,11 +14398,11 @@ function Die() {
14397
14398
  ">": "&gt;",
14398
14399
  '"': "&quot;"
14399
14400
  };
14400
- function k(P) {
14401
+ function N(P) {
14401
14402
  return I[P];
14402
14403
  }
14403
- function N(P) {
14404
- return m.test(P) ? P.replace(M, k) : P;
14404
+ function k(P) {
14405
+ return m.test(P) ? P.replace(M, N) : P;
14405
14406
  }
14406
14407
  var T = /[.?*+^$[\]\\(){}|-]/g;
14407
14408
  function z(P) {
@@ -14480,7 +14481,7 @@ function Die() {
14480
14481
  function Y(P) {
14481
14482
  return P = P.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (P = P.replace(/ẞ/g, "ß")), P.toLowerCase().toUpperCase();
14482
14483
  }
14483
- t.lib = {}, t.lib.mdurl = xr, t.lib.ucmicro = Die(), t.assign = i, t.isString = n, t.has = o, t.unescapeMd = g, t.unescapeAll = b, t.isValidEntityCode = a, t.fromCodePoint = c, t.escapeHtml = N, t.arrayReplaceAt = s, t.isSpace = Z, t.isWhiteSpace = K, t.isMdAsciiPunct = F, t.isPunctChar = _, t.escapeRE = z, t.normalizeReference = Y;
14484
+ t.lib = {}, t.lib.mdurl = xr, t.lib.ucmicro = Die(), t.assign = i, t.isString = n, t.has = o, t.unescapeMd = g, t.unescapeAll = b, t.isValidEntityCode = a, t.fromCodePoint = c, t.escapeHtml = k, t.arrayReplaceAt = s, t.isSpace = Z, t.isWhiteSpace = K, t.isMdAsciiPunct = F, t.isPunctChar = _, t.escapeRE = z, t.normalizeReference = Y;
14484
14485
  })(Le);
14485
14486
  var ms = {}, Eie = function(e, n, r) {
14486
14487
  var o, i, s, a, c = -1, l = e.posMax, u = e.pos;
@@ -14790,11 +14791,11 @@ function ri(t, e, n) {
14790
14791
  return t.slice(0, e) + n + t.slice(e + 1);
14791
14792
  }
14792
14793
  function nse(t, e) {
14793
- var n, r, o, i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, k, N, T;
14794
- for (k = [], n = 0; n < t.length; n++) {
14795
- for (r = t[n], c = t[n].level, M = k.length - 1; M >= 0 && !(k[M].level <= c); M--)
14794
+ var n, r, o, i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, N, k, T;
14795
+ for (N = [], n = 0; n < t.length; n++) {
14796
+ for (r = t[n], c = t[n].level, M = N.length - 1; M >= 0 && !(N[M].level <= c); M--)
14796
14797
  ;
14797
- if (k.length = M + 1, r.type === "text") {
14798
+ if (N.length = M + 1, r.type === "text") {
14798
14799
  o = r.content, s = 0, a = o.length;
14799
14800
  e:
14800
14801
  for (; s < a && (Fu.lastIndex = s, i = Fu.exec(o), !!i); ) {
@@ -14819,17 +14820,17 @@ function nse(t, e) {
14819
14820
  continue;
14820
14821
  }
14821
14822
  if (m) {
14822
- for (M = k.length - 1; M >= 0 && (l = k[M], !(k[M].level < c)); M--)
14823
- if (l.single === I && k[M].level === c) {
14824
- l = k[M], I ? (N = e.md.options.quotes[2], T = e.md.options.quotes[3]) : (N = e.md.options.quotes[0], T = e.md.options.quotes[1]), r.content = ri(r.content, i.index, T), t[l.token].content = ri(
14823
+ for (M = N.length - 1; M >= 0 && (l = N[M], !(N[M].level < c)); M--)
14824
+ if (l.single === I && N[M].level === c) {
14825
+ l = N[M], I ? (k = e.md.options.quotes[2], T = e.md.options.quotes[3]) : (k = e.md.options.quotes[0], T = e.md.options.quotes[1]), r.content = ri(r.content, i.index, T), t[l.token].content = ri(
14825
14826
  t[l.token].content,
14826
14827
  l.pos,
14827
- N
14828
- ), s += T.length - 1, l.token === n && (s += N.length - 1), o = r.content, a = o.length, k.length = M;
14828
+ k
14829
+ ), s += T.length - 1, l.token === n && (s += k.length - 1), o = r.content, a = o.length, N.length = M;
14829
14830
  continue e;
14830
14831
  }
14831
14832
  }
14832
- b ? k.push({
14833
+ b ? N.push({
14833
14834
  token: n,
14834
14835
  pos: i.index,
14835
14836
  single: I,
@@ -14921,8 +14922,8 @@ function Bu(t) {
14921
14922
  return e.push(a + t.substring(s)), e;
14922
14923
  }
14923
14924
  var lse = function(e, n, r, o) {
14924
- var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, k, N, T;
14925
- if (n + 2 > r || (u = n + 1, e.sCount[u] < e.blkIndent) || e.sCount[u] - e.blkIndent >= 4 || (a = e.bMarks[u] + e.tShift[u], a >= e.eMarks[u]) || (N = e.src.charCodeAt(a++), N !== 124 && N !== 45 && N !== 58) || a >= e.eMarks[u] || (T = e.src.charCodeAt(a++), T !== 124 && T !== 45 && T !== 58 && !Gs(T)) || N === 45 && Gs(T))
14925
+ var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, N, k, T;
14926
+ if (n + 2 > r || (u = n + 1, e.sCount[u] < e.blkIndent) || e.sCount[u] - e.blkIndent >= 4 || (a = e.bMarks[u] + e.tShift[u], a >= e.eMarks[u]) || (k = e.src.charCodeAt(a++), k !== 124 && k !== 45 && k !== 58) || a >= e.eMarks[u] || (T = e.src.charCodeAt(a++), T !== 124 && T !== 45 && T !== 58 && !Gs(T)) || k === 45 && Gs(T))
14926
14927
  return !1;
14927
14928
  for (; a < e.eMarks[u]; ) {
14928
14929
  if (i = e.src.charCodeAt(a), i !== 124 && i !== 45 && i !== 58 && !Gs(i))
@@ -14943,11 +14944,11 @@ var lse = function(e, n, r, o) {
14943
14944
  return !1;
14944
14945
  if (o)
14945
14946
  return !0;
14946
- for (M = e.parentType, e.parentType = "table", k = e.md.block.ruler.getRules("blockquote"), d = e.push("table_open", "table", 1), d.map = b = [n, 0], d = e.push("thead_open", "thead", 1), d.map = [n, n + 1], d = e.push("tr_open", "tr", 1), d.map = [n, n + 1], c = 0; c < f.length; c++)
14947
+ for (M = e.parentType, e.parentType = "table", N = e.md.block.ruler.getRules("blockquote"), d = e.push("table_open", "table", 1), d.map = b = [n, 0], d = e.push("thead_open", "thead", 1), d.map = [n, n + 1], d = e.push("tr_open", "tr", 1), d.map = [n, n + 1], c = 0; c < f.length; c++)
14947
14948
  d = e.push("th_open", "th", 1), h[c] && (d.attrs = [["style", "text-align:" + h[c]]]), d = e.push("inline", "", 0), d.content = f[c].trim(), d.children = [], d = e.push("th_close", "th", -1);
14948
14949
  for (d = e.push("tr_close", "tr", -1), d = e.push("thead_close", "thead", -1), u = n + 2; u < r && !(e.sCount[u] < e.blkIndent); u++) {
14949
- for (I = !1, c = 0, l = k.length; c < l; c++)
14950
- if (k[c](e, u, r, !0)) {
14950
+ for (I = !1, c = 0, l = N.length; c < l; c++)
14951
+ if (N[c](e, u, r, !0)) {
14951
14952
  I = !0;
14952
14953
  break;
14953
14954
  }
@@ -14988,28 +14989,28 @@ var lse = function(e, n, r, o) {
14988
14989
  }
14989
14990
  return s = e.sCount[n], e.line = c + (p ? 1 : 0), u = e.push("fence", "code", 0), u.info = a, u.content = e.getLines(n + 1, c, s, !0), u.markup = f, u.map = [n, e.line], !0;
14990
14991
  }, dse = Le.isSpace, pse = function(e, n, r, o) {
14991
- var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, k, N, T, z, Z, K = e.lineMax, O = e.bMarks[n] + e.tShift[n], _ = e.eMarks[n];
14992
+ var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, N, k, T, z, Z, K = e.lineMax, O = e.bMarks[n] + e.tShift[n], _ = e.eMarks[n];
14992
14993
  if (e.sCount[n] - e.blkIndent >= 4 || e.src.charCodeAt(O) !== 62)
14993
14994
  return !1;
14994
14995
  if (o)
14995
14996
  return !0;
14996
14997
  for (h = [], g = [], M = [], I = [], T = e.md.block.ruler.getRules("blockquote"), m = e.parentType, e.parentType = "blockquote", p = n; p < r && (Z = e.sCount[p] < e.blkIndent, O = e.bMarks[p] + e.tShift[p], _ = e.eMarks[p], !(O >= _)); p++) {
14997
14998
  if (e.src.charCodeAt(O++) === 62 && !Z) {
14998
- for (c = e.sCount[p] + 1, e.src.charCodeAt(O) === 32 ? (O++, c++, i = !1, k = !0) : e.src.charCodeAt(O) === 9 ? (k = !0, (e.bsCount[p] + c) % 4 === 3 ? (O++, c++, i = !1) : i = !0) : k = !1, d = c, h.push(e.bMarks[p]), e.bMarks[p] = O; O < _ && (s = e.src.charCodeAt(O), dse(s)); ) {
14999
+ for (c = e.sCount[p] + 1, e.src.charCodeAt(O) === 32 ? (O++, c++, i = !1, N = !0) : e.src.charCodeAt(O) === 9 ? (N = !0, (e.bsCount[p] + c) % 4 === 3 ? (O++, c++, i = !1) : i = !0) : N = !1, d = c, h.push(e.bMarks[p]), e.bMarks[p] = O; O < _ && (s = e.src.charCodeAt(O), dse(s)); ) {
14999
15000
  s === 9 ? d += 4 - (d + e.bsCount[p] + (i ? 1 : 0)) % 4 : d++;
15000
15001
  O++;
15001
15002
  }
15002
- u = O >= _, g.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (k ? 1 : 0), M.push(e.sCount[p]), e.sCount[p] = d - c, I.push(e.tShift[p]), e.tShift[p] = O - e.bMarks[p];
15003
+ u = O >= _, g.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (N ? 1 : 0), M.push(e.sCount[p]), e.sCount[p] = d - c, I.push(e.tShift[p]), e.tShift[p] = O - e.bMarks[p];
15003
15004
  continue;
15004
15005
  }
15005
15006
  if (u)
15006
15007
  break;
15007
- for (N = !1, a = 0, l = T.length; a < l; a++)
15008
+ for (k = !1, a = 0, l = T.length; a < l; a++)
15008
15009
  if (T[a](e, p, r, !0)) {
15009
- N = !0;
15010
+ k = !0;
15010
15011
  break;
15011
15012
  }
15012
- if (N) {
15013
+ if (k) {
15013
15014
  e.lineMax = p, e.blkIndent !== 0 && (h.push(e.bMarks[p]), g.push(e.bsCount[p]), I.push(e.tShift[p]), M.push(e.sCount[p]), e.sCount[p] -= e.blkIndent);
15014
15015
  break;
15015
15016
  }
@@ -15057,7 +15058,7 @@ function hse(t, e) {
15057
15058
  t.tokens[n].level === o && t.tokens[n].type === "paragraph_open" && (t.tokens[n + 2].hidden = !0, t.tokens[n].hidden = !0, n += 2);
15058
15059
  }
15059
15060
  var vse = function(e, n, r, o) {
15060
- var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, k, N, T, z, Z, K, O, _, F, Y, P, S, D = n, J = !1, ne = !0;
15061
+ var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, N, k, T, z, Z, K, O, _, F, Y, P, S, D = n, J = !1, ne = !0;
15061
15062
  if (e.sCount[D] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[D] - e.listIndent >= 4 && e.sCount[D] < e.blkIndent)
15062
15063
  return !1;
15063
15064
  if (o && e.parentType === "paragraph" && e.sCount[D] >= e.blkIndent && (J = !0), (O = Hu(e, D)) >= 0) {
@@ -15071,7 +15072,7 @@ var vse = function(e, n, r, o) {
15071
15072
  return !1;
15072
15073
  if (o)
15073
15074
  return !0;
15074
- for (b = e.src.charCodeAt(O - 1), g = e.tokens.length, f ? (S = e.push("ordered_list_open", "ol", 1), m !== 1 && (S.attrs = [["start", m]])) : S = e.push("bullet_list_open", "ul", 1), S.map = h = [D, 0], S.markup = String.fromCharCode(b), _ = !1, P = e.md.block.ruler.getRules("list"), N = e.parentType, e.parentType = "list"; D < r; ) {
15075
+ for (b = e.src.charCodeAt(O - 1), g = e.tokens.length, f ? (S = e.push("ordered_list_open", "ol", 1), m !== 1 && (S.attrs = [["start", m]])) : S = e.push("bullet_list_open", "ul", 1), S.map = h = [D, 0], S.markup = String.fromCharCode(b), _ = !1, P = e.md.block.ruler.getRules("list"), k = e.parentType, e.parentType = "list"; D < r; ) {
15075
15076
  for (K = O, M = e.eMarks[D], u = I = e.sCount[D] + O - (e.bMarks[D] + e.tShift[D]); K < M; ) {
15076
15077
  if (i = e.src.charCodeAt(K), i === 9)
15077
15078
  I += 4 - (I + e.bsCount[D]) % 4;
@@ -15081,7 +15082,7 @@ var vse = function(e, n, r, o) {
15081
15082
  break;
15082
15083
  K++;
15083
15084
  }
15084
- if (s = K, s >= M ? l = 1 : l = I - u, l > 4 && (l = 1), c = u + l, S = e.push("list_item_open", "li", 1), S.markup = String.fromCharCode(b), S.map = p = [D, 0], f && (S.info = e.src.slice(F, O - 1)), Z = e.tight, z = e.tShift[D], T = e.sCount[D], k = e.listIndent, e.listIndent = e.blkIndent, e.blkIndent = c, e.tight = !0, e.tShift[D] = s - e.bMarks[D], e.sCount[D] = I, s >= M && e.isEmpty(D + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, D, r, !0), (!e.tight || _) && (ne = !1), _ = e.line - D > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = k, e.tShift[D] = z, e.sCount[D] = T, e.tight = Z, S = e.push("list_item_close", "li", -1), S.markup = String.fromCharCode(b), D = e.line, p[1] = D, D >= r || e.sCount[D] < e.blkIndent || e.sCount[D] - e.blkIndent >= 4)
15085
+ if (s = K, s >= M ? l = 1 : l = I - u, l > 4 && (l = 1), c = u + l, S = e.push("list_item_open", "li", 1), S.markup = String.fromCharCode(b), S.map = p = [D, 0], f && (S.info = e.src.slice(F, O - 1)), Z = e.tight, z = e.tShift[D], T = e.sCount[D], N = e.listIndent, e.listIndent = e.blkIndent, e.blkIndent = c, e.tight = !0, e.tShift[D] = s - e.bMarks[D], e.sCount[D] = I, s >= M && e.isEmpty(D + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, D, r, !0), (!e.tight || _) && (ne = !1), _ = e.line - D > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = N, e.tShift[D] = z, e.sCount[D] = T, e.tight = Z, S = e.push("list_item_close", "li", -1), S.markup = String.fromCharCode(b), D = e.line, p[1] = D, D >= r || e.sCount[D] < e.blkIndent || e.sCount[D] - e.blkIndent >= 4)
15085
15086
  break;
15086
15087
  for (Y = !1, a = 0, d = P.length; a < d; a++)
15087
15088
  if (P[a](e, D, r, !0)) {
@@ -15099,9 +15100,9 @@ var vse = function(e, n, r, o) {
15099
15100
  if (b !== e.src.charCodeAt(O - 1))
15100
15101
  break;
15101
15102
  }
15102
- return f ? S = e.push("ordered_list_close", "ol", -1) : S = e.push("bullet_list_close", "ul", -1), S.markup = String.fromCharCode(b), h[1] = D, e.line = D, e.parentType = N, ne && hse(e, g), !0;
15103
+ return f ? S = e.push("ordered_list_close", "ol", -1) : S = e.push("bullet_list_close", "ul", -1), S.markup = String.fromCharCode(b), h[1] = D, e.line = D, e.parentType = k, ne && hse(e, g), !0;
15103
15104
  }, yse = Le.normalizeReference, oi = Le.isSpace, bse = function(e, n, r, o) {
15104
- var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, k, N = 0, T = e.bMarks[n] + e.tShift[n], z = e.eMarks[n], Z = n + 1;
15105
+ var i, s, a, c, l, u, f, p, d, h, g, b, m, M, I, N, k = 0, T = e.bMarks[n] + e.tShift[n], z = e.eMarks[n], Z = n + 1;
15105
15106
  if (e.sCount[n] - e.blkIndent >= 4 || e.src.charCodeAt(T) !== 91)
15106
15107
  return !1;
15107
15108
  for (; ++T < z; )
@@ -15127,28 +15128,28 @@ var vse = function(e, n, r, o) {
15127
15128
  d = T;
15128
15129
  break;
15129
15130
  } else
15130
- i === 10 ? N++ : i === 92 && (T++, T < z && m.charCodeAt(T) === 10 && N++);
15131
+ i === 10 ? k++ : i === 92 && (T++, T < z && m.charCodeAt(T) === 10 && k++);
15131
15132
  }
15132
15133
  if (d < 0 || m.charCodeAt(d + 1) !== 58)
15133
15134
  return !1;
15134
15135
  for (T = d + 2; T < z; T++)
15135
15136
  if (i = m.charCodeAt(T), i === 10)
15136
- N++;
15137
+ k++;
15137
15138
  else if (!oi(i))
15138
15139
  break;
15139
15140
  if (g = e.md.helpers.parseLinkDestination(m, T, z), !g.ok || (l = e.md.normalizeLink(g.str), !e.md.validateLink(l)))
15140
15141
  return !1;
15141
- for (T = g.pos, N += g.lines, s = T, a = N, b = T; T < z; T++)
15142
+ for (T = g.pos, k += g.lines, s = T, a = k, b = T; T < z; T++)
15142
15143
  if (i = m.charCodeAt(T), i === 10)
15143
- N++;
15144
+ k++;
15144
15145
  else if (!oi(i))
15145
15146
  break;
15146
- for (g = e.md.helpers.parseLinkTitle(m, T, z), T < z && b !== T && g.ok ? (k = g.str, T = g.pos, N += g.lines) : (k = "", T = s, N = a); T < z && (i = m.charCodeAt(T), !!oi(i)); )
15147
+ for (g = e.md.helpers.parseLinkTitle(m, T, z), T < z && b !== T && g.ok ? (N = g.str, T = g.pos, k += g.lines) : (N = "", T = s, k = a); T < z && (i = m.charCodeAt(T), !!oi(i)); )
15147
15148
  T++;
15148
- if (T < z && m.charCodeAt(T) !== 10 && k)
15149
- for (k = "", T = s, N = a; T < z && (i = m.charCodeAt(T), !!oi(i)); )
15149
+ if (T < z && m.charCodeAt(T) !== 10 && N)
15150
+ for (N = "", T = s, k = a; T < z && (i = m.charCodeAt(T), !!oi(i)); )
15150
15151
  T++;
15151
- return T < z && m.charCodeAt(T) !== 10 || (p = yse(m.slice(1, d)), !p) ? !1 : (o || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[p] > "u" && (e.env.references[p] = { title: k, href: l }), e.parentType = h, e.line = n + N + 1), !0);
15152
+ return T < z && m.charCodeAt(T) !== 10 || (p = yse(m.slice(1, d)), !p) ? !1 : (o || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[p] > "u" && (e.env.references[p] = { title: N, href: l }), e.parentType = h, e.line = n + k + 1), !0);
15152
15153
  }, Ise = [
15153
15154
  "address",
15154
15155
  "article",
@@ -15970,7 +15971,7 @@ const ir = 2147483647, Et = 36, bc = 1, Io = 26, Dae = 38, Eae = 700, zp = 72, Q
15970
15971
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
15971
15972
  "invalid-input": "Invalid input"
15972
15973
  }, Us = Et - bc, Pt = Math.floor, Vs = String.fromCharCode;
15973
- function yn(t) {
15974
+ function bn(t) {
15974
15975
  throw new RangeError(_ae[t]);
15975
15976
  }
15976
15977
  function zae(t, e) {
@@ -16015,21 +16016,21 @@ const Gp = (t) => String.fromCodePoint(...t), Qae = function(t) {
16015
16016
  let r = 0, o = Qp, i = zp, s = t.lastIndexOf(Jp);
16016
16017
  s < 0 && (s = 0);
16017
16018
  for (let a = 0; a < s; ++a)
16018
- t.charCodeAt(a) >= 128 && yn("not-basic"), e.push(t.charCodeAt(a));
16019
+ t.charCodeAt(a) >= 128 && bn("not-basic"), e.push(t.charCodeAt(a));
16019
16020
  for (let a = s > 0 ? s + 1 : 0; a < n; ) {
16020
16021
  const c = r;
16021
16022
  for (let u = 1, f = Et; ; f += Et) {
16022
- a >= n && yn("invalid-input");
16023
+ a >= n && bn("invalid-input");
16023
16024
  const p = Qae(t.charCodeAt(a++));
16024
- p >= Et && yn("invalid-input"), p > Pt((ir - r) / u) && yn("overflow"), r += p * u;
16025
+ p >= Et && bn("invalid-input"), p > Pt((ir - r) / u) && bn("overflow"), r += p * u;
16025
16026
  const d = f <= i ? bc : f >= i + Io ? Io : f - i;
16026
16027
  if (p < d)
16027
16028
  break;
16028
16029
  const h = Et - d;
16029
- u > Pt(ir / h) && yn("overflow"), u *= h;
16030
+ u > Pt(ir / h) && bn("overflow"), u *= h;
16030
16031
  }
16031
16032
  const l = e.length + 1;
16032
- i = Zp(r - c, l, c == 0), Pt(r / l) > ir - o && yn("overflow"), o += Pt(r / l), r %= l, e.splice(r++, 0, o);
16033
+ i = Zp(r - c, l, c == 0), Pt(r / l) > ir - o && bn("overflow"), o += Pt(r / l), r %= l, e.splice(r++, 0, o);
16033
16034
  }
16034
16035
  return String.fromCodePoint(...e);
16035
16036
  }, Cc = function(t) {
@@ -16046,9 +16047,9 @@ const Gp = (t) => String.fromCodePoint(...t), Qae = function(t) {
16046
16047
  for (const u of t)
16047
16048
  u >= r && u < c && (c = u);
16048
16049
  const l = a + 1;
16049
- c - r > Pt((ir - o) / l) && yn("overflow"), o += (c - r) * l, r = c;
16050
+ c - r > Pt((ir - o) / l) && bn("overflow"), o += (c - r) * l, r = c;
16050
16051
  for (const u of t)
16051
- if (u < r && ++o > ir && yn("overflow"), u === r) {
16052
+ if (u < r && ++o > ir && bn("overflow"), u === r) {
16052
16053
  let f = o;
16053
16054
  for (let p = Et; ; p += Et) {
16054
16055
  const d = p <= i ? bc : p >= i + Io ? Io : p - i;
@@ -16476,21 +16477,22 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16476
16477
  setup(t, { emit: e }) {
16477
16478
  const n = t, r = e, o = LN, i = ds, s = $n(""), a = $n(40), c = $n(), l = $n(!1), u = fi(() => {
16478
16479
  var I;
16479
- return ((I = n.prompts) == null ? void 0 : I.filter((k) => k.content.includes(s.value))) || [];
16480
+ return ((I = n.prompts) == null ? void 0 : I.filter((N) => N.content.includes(s.value))) || [];
16480
16481
  }), f = (I) => {
16481
16482
  r("update:value", I);
16482
16483
  }, p = () => {
16483
- n.value === "/" ? m() : M();
16484
+ var I;
16485
+ n.value === "/" && ((I = n.prompts) != null && I.length) ? m() : M();
16484
16486
  }, d = () => {
16485
- let k = 24 + n.value.split(/\r?\n/).length * 16;
16486
- k >= 200 && (k = 200), a.value = k;
16487
+ let N = 24 + n.value.split(/\r?\n/).length * 16;
16488
+ N >= 200 && (N = 200), a.value = N;
16487
16489
  }, h = (I) => {
16488
16490
  r("update:value", I.content), r("choose-prompt", I), M(), b();
16489
- }, g = (I, k) => {
16490
- k.key === "Enter" && !k.shiftKey && (k.preventDefault(), r("enter"));
16491
+ }, g = (I, N) => {
16492
+ N.key === "Enter" && !N.shiftKey && (N.preventDefault(), r("enter"));
16491
16493
  }, b = () => {
16492
- var k;
16493
- const I = (k = c.value) == null ? void 0 : k.$el.querySelector("textarea");
16494
+ var N;
16495
+ const I = (N = c.value) == null ? void 0 : N.$el.querySelector("textarea");
16494
16496
  I == null || I.focus();
16495
16497
  }, m = () => {
16496
16498
  l.value = !0;
@@ -16502,7 +16504,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16502
16504
  () => {
16503
16505
  d(), p();
16504
16506
  }
16505
- ), Hp(b), (I, k) => (Qe(), pi(ze(np), {
16507
+ ), Hp(b), (I, N) => (Qe(), pi(Ae(np), {
16506
16508
  width: "calc(100% - 118px)",
16507
16509
  "ext-cls": "empty-padding",
16508
16510
  arrow: !1,
@@ -16514,14 +16516,14 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16514
16516
  trigger: "manual"
16515
16517
  }, {
16516
16518
  content: gi(() => {
16517
- var N;
16519
+ var k;
16518
16520
  return [
16519
16521
  Ne("div", null, [
16520
16522
  Dn((Qe(), He("section", bce, [
16521
- Yr(ze(vu), {
16523
+ Yr(Ae(vu), {
16522
16524
  class: "input-search",
16523
16525
  modelValue: s.value,
16524
- "onUpdate:modelValue": k[0] || (k[0] = (T) => s.value = T),
16526
+ "onUpdate:modelValue": N[0] || (N[0] = (T) => s.value = T),
16525
16527
  behavior: "simplicity",
16526
16528
  clearable: ""
16527
16529
  }, null, 8, ["modelValue"]),
@@ -16542,7 +16544,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16542
16544
  /* TEXT */
16543
16545
  )
16544
16546
  ], 8, Mce)), [
16545
- [ze(i), {
16547
+ [Ae(i), {
16546
16548
  content: T.content,
16547
16549
  placement: "right",
16548
16550
  theme: "light",
@@ -16554,7 +16556,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16554
16556
  128
16555
16557
  /* KEYED_FRAGMENT */
16556
16558
  )),
16557
- (N = u.value) != null && N.length ? Xs("v-if", !0) : (Qe(), pi(ze(kN), {
16559
+ (k = u.value) != null && k.length ? Xs("v-if", !0) : (Qe(), pi(Ae(kN), {
16558
16560
  key: 0,
16559
16561
  class: "exception-wrap-item exception-part",
16560
16562
  scene: "part",
@@ -16562,40 +16564,43 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16562
16564
  }))
16563
16565
  ])
16564
16566
  ])), [
16565
- [ze(o), M]
16567
+ [Ae(o), M]
16566
16568
  ])
16567
16569
  ])
16568
16570
  ];
16569
16571
  }),
16570
- default: gi(() => [
16571
- Ne(
16572
- "section",
16573
- {
16574
- style: mi({
16575
- width: "calc(100% - 84px)",
16576
- "margin-right": "7px",
16577
- "--text-height": a.value + "px"
16578
- })
16579
- },
16580
- [
16581
- Yr(ze(vu), {
16582
- ref_key: "inputRef",
16583
- ref: c,
16584
- class: "send-prompt",
16585
- clearable: !0,
16586
- "model-value": I.value,
16587
- "native-attributes": { autofocus: "autofocus" },
16588
- placeholder: ze(bn)("您可以键入 “/” 查看更多Prompt"),
16589
- row: "1",
16590
- type: "textarea",
16591
- onInput: f,
16592
- onKeydown: g
16593
- }, null, 8, ["model-value", "placeholder"])
16594
- ],
16595
- 4
16596
- /* STYLE */
16597
- )
16598
- ]),
16572
+ default: gi(() => {
16573
+ var k;
16574
+ return [
16575
+ Ne(
16576
+ "section",
16577
+ {
16578
+ style: mi({
16579
+ width: "calc(100% - 84px)",
16580
+ "margin-right": "7px",
16581
+ "--text-height": a.value + "px"
16582
+ })
16583
+ },
16584
+ [
16585
+ Yr(Ae(vu), {
16586
+ ref_key: "inputRef",
16587
+ ref: c,
16588
+ class: "send-prompt",
16589
+ clearable: !0,
16590
+ "model-value": I.value,
16591
+ "native-attributes": { autofocus: "autofocus" },
16592
+ placeholder: (k = I.prompts) != null && k.length ? Ae(qt)("您可以键入 “/” 查看更多Prompt") : Ae(qt)("请输入"),
16593
+ row: "1",
16594
+ type: "textarea",
16595
+ onInput: f,
16596
+ onKeydown: g
16597
+ }, null, 8, ["model-value", "placeholder"])
16598
+ ],
16599
+ 4
16600
+ /* STYLE */
16601
+ )
16602
+ ];
16603
+ }),
16599
16604
  _: 1
16600
16605
  /* STABLE */
16601
16606
  }, 8, ["is-show"]));
@@ -16605,7 +16610,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16605
16610
  for (const [r, o] of e)
16606
16611
  n[r] = o;
16607
16612
  return n;
16608
- }, Lce = /* @__PURE__ */ wc(wce, [["__scopeId", "data-v-46f6b8b6"]]), Tce = (t) => (Vp("data-v-661dffcc"), t = t(), $p(), t), xce = { class: "ai-messages" }, kce = { class: "ai-operation" }, Nce = /* @__PURE__ */ Tce(() => /* @__PURE__ */ Ne(
16613
+ }, Lce = /* @__PURE__ */ wc(wce, [["__scopeId", "data-v-accee441"]]), Tce = (t) => (Vp("data-v-fa72e9f6"), t = t(), $p(), t), xce = { class: "ai-messages" }, kce = { class: "ai-operation" }, Nce = /* @__PURE__ */ Tce(() => /* @__PURE__ */ Ne(
16609
16614
  "i",
16610
16615
  { class: "ai-blueking-icon ai-blueking-fasong" },
16611
16616
  null,
@@ -16628,7 +16633,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16628
16633
  l.scrollTop = l.scrollHeight;
16629
16634
  });
16630
16635
  }, a = () => {
16631
- n.loading || r("send", i.value);
16636
+ n.loading || (r("send", i.value), i.value = "");
16632
16637
  }, c = (l) => {
16633
16638
  r("choose-prompt", l);
16634
16639
  };
@@ -16665,7 +16670,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16665
16670
  onChoosePrompt: c,
16666
16671
  onEnter: a
16667
16672
  }, null, 8, ["value", "prompts"]),
16668
- Yr(ze(gT), {
16673
+ Yr(Ae(gT), {
16669
16674
  class: "ai-operation-button",
16670
16675
  disabled: l.loading || !i.value,
16671
16676
  size: "large",
@@ -16675,7 +16680,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16675
16680
  default: gi(() => [
16676
16681
  Nce,
16677
16682
  df(
16678
- " " + Vi(ze(bn)("发送")),
16683
+ " " + Vi(Ae(qt)("发送")),
16679
16684
  1
16680
16685
  /* TEXT */
16681
16686
  )
@@ -16684,8 +16689,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16684
16689
  /* STABLE */
16685
16690
  }, 8, ["disabled"])
16686
16691
  ])), [
16687
- [ze(o), {
16688
- content: ze(bn)("内容正在执行中,请执行完成后再输入"),
16692
+ [Ae(o), {
16693
+ content: Ae(qt)("内容正在执行中,请执行完成后再输入"),
16689
16694
  disabled: !l.loading,
16690
16695
  extCls: "ai-tooltips ai-blueking-popover ai-blueking-pop2-content"
16691
16696
  }]
@@ -16695,7 +16700,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16695
16700
  /* STYLE */
16696
16701
  ));
16697
16702
  }
16698
- }), Sce = /* @__PURE__ */ wc(jce, [["__scopeId", "data-v-661dffcc"]]), Dce = /* @__PURE__ */ Mo({
16703
+ }), Sce = /* @__PURE__ */ wc(jce, [["__scopeId", "data-v-fa72e9f6"]]), Dce = /* @__PURE__ */ Mo({
16699
16704
  __name: "render-modal",
16700
16705
  props: {
16701
16706
  headBackground: { default: "linear-gradient(267deg, #2dd1f4 0%, #1482ff 95%)" },
@@ -16709,7 +16714,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16709
16714
  height: 500,
16710
16715
  width: 294
16711
16716
  }) },
16712
- logo: { default: "ai-blueking-icon ai-blueking-ai" }
16717
+ logo: { default: "ai-blueking-icon ai-blueking-ai" },
16718
+ startPosition: {}
16713
16719
  },
16714
16720
  emits: ["clear", "close"],
16715
16721
  setup(t, { emit: e }) {
@@ -16721,12 +16727,14 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16721
16727
  type: "",
16722
16728
  clientX: 0,
16723
16729
  clientY: 0
16724
- }, a = $n({
16725
- top: i.height - n.sizeLimit.height - 100,
16726
- bottom: 0,
16727
- left: 102,
16728
- right: i.width - n.sizeLimit.width - 270
16729
- }), c = fi(() => a.value.top <= n.positionLimit.top && a.value.bottom <= n.positionLimit.bottom), l = (_) => {
16730
+ }, a = $n(
16731
+ n.startPosition || {
16732
+ top: i.height - n.sizeLimit.height - 100,
16733
+ bottom: 0,
16734
+ left: 102,
16735
+ right: i.width - n.sizeLimit.width - 270
16736
+ }
16737
+ ), c = fi(() => a.value.top <= n.positionLimit.top && a.value.bottom <= n.positionLimit.bottom), l = (_) => {
16730
16738
  s.isMove = !0, s.type = "move", s.clientX = _.clientX, s.clientY = _.clientY;
16731
16739
  }, u = (_) => {
16732
16740
  s.isMove = !0, s.type = "rightDrag", s.clientX = _.clientX;
@@ -16748,17 +16756,17 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16748
16756
  s.isMove = !1;
16749
16757
  }, I = (_, F) => {
16750
16758
  ["move", "leftDrag"].includes(s.type) && (a.value.left += _), ["move", "rightDrag"].includes(s.type) && (a.value.right -= _), ["move", "topDrag"].includes(s.type) && (a.value.top += F), ["move", "bottomDrag"].includes(s.type) && (a.value.bottom -= F), ["topLeftDrag"].includes(s.type) && (a.value.left += _, a.value.top += F), ["topRightDrag"].includes(s.type) && (a.value.right -= _, a.value.top += F), ["bottomLeftDrag"].includes(s.type) && (a.value.left += _, a.value.bottom -= F), ["bottomRightDrag"].includes(s.type) && (a.value.right -= _, a.value.bottom -= F);
16751
- }, k = (_, F) => {
16759
+ }, N = (_, F) => {
16752
16760
  const { top: Y, bottom: P, left: S, right: D } = a.value;
16753
16761
  (i.width - S - D < n.sizeLimit.width || S < n.positionLimit.left || D < n.positionLimit.right) && (["move", "leftDrag", "topLeftDrag", "bottomLeftDrag"].includes(s.type) && (a.value.left -= _), ["move", "rightDrag", "topRightDrag", "bottomRightDrag"].includes(s.type) && (a.value.right += _)), (i.height - Y - P < n.sizeLimit.height || Y < n.positionLimit.top || P < n.positionLimit.bottom) && (["move", "topDrag", "topRightDrag", "topLeftDrag"].includes(s.type) && (a.value.top -= F), ["move", "bottomDrag", "bottomLeftDrag", "bottomRightDrag"].includes(s.type) && (a.value.bottom += F));
16754
- }, N = (_) => {
16762
+ }, k = (_) => {
16755
16763
  if (!s.isMove)
16756
16764
  return;
16757
16765
  _.preventDefault();
16758
16766
  const F = _.clientX - s.clientX, Y = _.clientY - s.clientY;
16759
- I(F, Y), k(F, Y), s.clientX = _.clientX, s.clientY = _.clientY;
16767
+ I(F, Y), N(F, Y), s.clientX = _.clientX, s.clientY = _.clientY;
16760
16768
  }, T = () => {
16761
- i.height = window.innerHeight, i.width = window.innerWidth, a.value = {
16769
+ i.height = window.innerHeight, i.width = window.innerWidth, a.value = n.startPosition || {
16762
16770
  top: i.height - n.sizeLimit.height - 100,
16763
16771
  bottom: 0,
16764
16772
  left: 102,
@@ -16774,9 +16782,9 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16774
16782
  r("close");
16775
16783
  };
16776
16784
  return Xp(() => {
16777
- window.addEventListener("mousemove", N, !0), window.addEventListener("mouseup", M), window.addEventListener("resize", T);
16785
+ window.addEventListener("mousemove", k, !0), window.addEventListener("mouseup", M), window.addEventListener("resize", T);
16778
16786
  }), qp(() => {
16779
- window.removeEventListener("mousemove", N, !0), window.removeEventListener("mouseup", M), window.removeEventListener("resize", T);
16787
+ window.removeEventListener("mousemove", k, !0), window.removeEventListener("mouseup", M), window.removeEventListener("resize", T);
16780
16788
  }), (_, F) => (Qe(), He(
16781
16789
  "section",
16782
16790
  {
@@ -16810,7 +16818,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16810
16818
  /* CLASS */
16811
16819
  ),
16812
16820
  df(
16813
- " " + Vi(ze(bn)("小鲸")),
16821
+ " " + Vi(Ae(qt)("小鲸")),
16814
16822
  1
16815
16823
  /* TEXT */
16816
16824
  )
@@ -16827,8 +16835,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16827
16835
  512
16828
16836
  /* NEED_PATCH */
16829
16837
  )), [
16830
- [ze(o), {
16831
- content: ze(bn)("向下收缩"),
16838
+ [Ae(o), {
16839
+ content: Ae(qt)("向下收缩"),
16832
16840
  distance: 20,
16833
16841
  extCls: "ai-tooltips ai-blueking-popover ai-blueking-pop2-content"
16834
16842
  }]
@@ -16843,8 +16851,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16843
16851
  512
16844
16852
  /* NEED_PATCH */
16845
16853
  )), [
16846
- [ze(o), {
16847
- content: ze(bn)("向上扩展"),
16854
+ [Ae(o), {
16855
+ content: Ae(qt)("向上扩展"),
16848
16856
  distance: 20,
16849
16857
  extCls: "ai-tooltips ai-blueking-popover ai-blueking-pop2-content"
16850
16858
  }]
@@ -16859,8 +16867,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16859
16867
  512
16860
16868
  /* NEED_PATCH */
16861
16869
  ), [
16862
- [ze(o), {
16863
- content: ze(bn)("清空聊天记录"),
16870
+ [Ae(o), {
16871
+ content: Ae(qt)("清空聊天记录"),
16864
16872
  distance: 20,
16865
16873
  extCls: "ai-tooltips ai-blueking-popover ai-blueking-pop2-content"
16866
16874
  }]
@@ -16875,8 +16883,8 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16875
16883
  512
16876
16884
  /* NEED_PATCH */
16877
16885
  ), [
16878
- [ze(o), {
16879
- content: ze(bn)("关闭"),
16886
+ [Ae(o), {
16887
+ content: Ae(qt)("关闭"),
16880
16888
  distance: 20,
16881
16889
  extCls: "ai-tooltips ai-blueking-popover ai-blueking-pop2-content"
16882
16890
  }]
@@ -16972,7 +16980,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16972
16980
  /* STYLE */
16973
16981
  ));
16974
16982
  }
16975
- }), Ece = /* @__PURE__ */ wc(Dce, [["__scopeId", "data-v-b96029d0"]]), Pce = /* @__PURE__ */ Mo({
16983
+ }), Ece = /* @__PURE__ */ wc(Dce, [["__scopeId", "data-v-d8380d5c"]]), Pce = /* @__PURE__ */ Mo({
16976
16984
  __name: "ai-blueking",
16977
16985
  props: {
16978
16986
  messages: {},
@@ -16982,6 +16990,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
16982
16990
  background: {},
16983
16991
  positionLimit: {},
16984
16992
  sizeLimit: {},
16993
+ startPosition: {},
16985
16994
  userPhoto: {},
16986
16995
  logo: {}
16987
16996
  },
@@ -17001,6 +17010,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
17001
17010
  logo: a.logo,
17002
17011
  "position-limit": a.positionLimit,
17003
17012
  "size-limit": a.sizeLimit,
17013
+ "start-position": a.startPosition,
17004
17014
  onClear: r,
17005
17015
  onClose: o
17006
17016
  }, {
@@ -17017,7 +17027,7 @@ const ice = /* @__PURE__ */ Lo(oce), sce = "data:image/png;base64,iVBORw0KGgoAAA
17017
17027
  ]),
17018
17028
  _: 1
17019
17029
  /* STABLE */
17020
- }, 8, ["head-background", "logo", "position-limit", "size-limit"]));
17030
+ }, 8, ["head-background", "logo", "position-limit", "size-limit", "start-position"]));
17021
17031
  }
17022
17032
  });
17023
17033
  (function() {
@@ -17039,16 +17049,11 @@ const _ce = {
17039
17049
  let n = null;
17040
17050
  this.app = eg({
17041
17051
  render() {
17042
- return n = this, tg(Pce, {
17052
+ n = this;
17053
+ const r = {
17043
17054
  messages: this.messages || t.messages,
17044
17055
  prompts: this.prompts || t.prompts,
17045
17056
  loading: this.loading || t.loading,
17046
- headBackground: this.headBackground || t.headBackground,
17047
- background: this.background || t.background,
17048
- positionLimit: this.positionLimit || t.positionLimit,
17049
- sizeLimit: this.sizeLimit || t.sizeLimit,
17050
- userPhoto: this.userPhoto || t.userPhoto,
17051
- logo: this.logo || t.logo,
17052
17057
  onClear() {
17053
17058
  e("clear", ...arguments);
17054
17059
  },
@@ -17062,7 +17067,8 @@ const _ce = {
17062
17067
  e("choose-prompt", ...arguments);
17063
17068
  },
17064
17069
  ...this.$attrs
17065
- });
17070
+ };
17071
+ return (this.headBackground || t.headBackground) && (r.headBackground = this.headBackground || t.headBackground), (this.background || t.background) && (r.background = this.background || t.background), (this.positionLimit || t.positionLimit) && (r.positionLimit = this.positionLimit || t.positionLimit), (this.sizeLimit || t.sizeLimit) && (r.sizeLimit = this.sizeLimit || t.sizeLimit), (this.userPhoto || t.userPhoto) && (r.userPhoto = this.userPhoto || t.userPhoto), (this.logo || t.logo) && (r.logo = this.logo || t.logo), tg(Pce, r);
17066
17072
  }
17067
17073
  }), this.unWatchStack = Object.keys(this.$props).map((r) => this.$watch(r, (o) => {
17068
17074
  n[r] = o, n.$forceUpdate();