@abi-software/gallery 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gallery.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as R, createElementBlock as B, Fragment as rn, renderList as Po, normalizeClass as ee, getCurrentScope as na, onScopeDispose as ra, unref as v, watch as D, defineComponent as F, createElementVNode as oe, warn as oa, inject as z, ref as x, computed as w, isRef as ko, getCurrentInstance as ze, onMounted as Ne, shallowRef as sa, onBeforeUnmount as Te, onBeforeMount as aa, provide as ge, mergeProps as ot, renderSlot as U, normalizeStyle as Me, withDirectives as Ge, cloneVNode as ia, Text as No, Comment as la, createVNode as ke, createBlock as Z, withCtx as K, createCommentVNode as G, nextTick as Je, toRef as Le, Teleport as ca, Transition as Io, vShow as qt, readonly as ua, onDeactivated as fa, toDisplayString as Pe, useSlots as da, resolveDynamicComponent as bn, reactive as Fo, createTextVNode as Kt, h as ft, createApp as pa, toRefs as ha, onUpdated as ma, withModifiers as Gt, pushScopeId as va, popScopeId as ga } from "vue";
1
+ import { openBlock as R, createElementBlock as M, Fragment as rn, renderList as Po, normalizeClass as ee, getCurrentScope as na, onScopeDispose as ra, unref as v, watch as D, defineComponent as $, createElementVNode as oe, warn as oa, inject as z, ref as x, computed as w, isRef as ko, getCurrentInstance as ze, onMounted as Ne, shallowRef as sa, onBeforeUnmount as Te, onBeforeMount as aa, provide as ge, mergeProps as ot, renderSlot as U, normalizeStyle as Me, withDirectives as Ge, cloneVNode as ia, Text as No, Comment as la, createVNode as ke, createBlock as Z, withCtx as K, createCommentVNode as G, nextTick as Je, toRef as Le, Teleport as ca, Transition as Io, vShow as qt, readonly as ua, onDeactivated as fa, toDisplayString as Pe, useSlots as da, resolveDynamicComponent as bn, reactive as Fo, createTextVNode as Kt, h as ft, createApp as pa, toRefs as ha, onUpdated as ma, withModifiers as Gt, pushScopeId as va, popScopeId as ga } from "vue";
2
2
  const Wn = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [r, o] of t)
@@ -19,8 +19,8 @@ const Wn = (e, t) => {
19
19
  emits: ["clicked"],
20
20
  setup(e, { emit: t }) {
21
21
  const n = t;
22
- return (r, o) => (R(), B("div", ya, [
23
- (R(!0), B(rn, null, Po(e.count, (s, a) => (R(), B("div", {
22
+ return (r, o) => (R(), M("div", ya, [
23
+ (R(!0), M(rn, null, Po(e.count, (s, a) => (R(), M("div", {
24
24
  key: "indicator_" + s,
25
25
  class: ee(["indicator", { active: e.current === a }]),
26
26
  onClick: (i) => n("clicked", a)
@@ -484,11 +484,11 @@ function qo(e, t = "px") {
484
484
  Ye(al, "binding value must be a string or number");
485
485
  }
486
486
  /*! Element Plus Icons Vue v2.3.1 */
487
- var il = /* @__PURE__ */ F({
487
+ var il = /* @__PURE__ */ $({
488
488
  name: "Loading",
489
489
  __name: "loading",
490
490
  setup(e) {
491
- return (t, n) => (R(), B("svg", {
491
+ return (t, n) => (R(), M("svg", {
492
492
  xmlns: "http://www.w3.org/2000/svg",
493
493
  viewBox: "0 0 1024 1024"
494
494
  }, [
@@ -499,7 +499,7 @@ var il = /* @__PURE__ */ F({
499
499
  ]));
500
500
  }
501
501
  }), ll = il;
502
- const Ko = "__epPropKey", I = (e) => e, cl = (e) => _t(e) && !!e[Ko], an = (e, t) => {
502
+ const Ko = "__epPropKey", F = (e) => e, cl = (e) => _t(e) && !!e[Ko], an = (e, t) => {
503
503
  if (!_t(e) || cl(e))
504
504
  return e;
505
505
  const { values: n, required: r, default: o, type: s, validator: a } = e, l = {
@@ -519,7 +519,7 @@ const Ko = "__epPropKey", I = (e) => e, cl = (e) => _t(e) && !!e[Ko], an = (e, t
519
519
  }, J = (e) => In(Object.entries(e).map(([t, n]) => [
520
520
  t,
521
521
  an(n, t)
522
- ])), Fn = I([
522
+ ])), Fn = F([
523
523
  String,
524
524
  Object,
525
525
  Function
@@ -770,10 +770,10 @@ const ml = (e) => (t, n) => vl(t, n, v(e)), vl = (e, t, n) => tl(n, e, e).replac
770
770
  cssVarBlockName: (p) => `--${n.value}-${e}-${p}`
771
771
  };
772
772
  }, wl = an({
773
- type: I(Boolean),
773
+ type: F(Boolean),
774
774
  default: null
775
775
  }), El = an({
776
- type: I(Function)
776
+ type: F(Function)
777
777
  }), Zo = (e) => {
778
778
  const t = `update:${e}`, n = `onUpdate:${e}`, r = [t], o = {
779
779
  [e]: wl,
@@ -788,24 +788,24 @@ const ml = (e) => (t, n) => vl(t, n, v(e)), vl = (e, t, n) => tl(n, e, e).replac
788
788
  onShow: u,
789
789
  onHide: f
790
790
  }) => {
791
- const m = ze(), { emit: y } = m, d = m.props, p = w(() => It(d[n])), g = w(() => d[e] === null), h = (O) => {
792
- a.value !== !0 && (a.value = !0, i && (i.value = O), It(u) && u(O));
793
- }, E = (O) => {
794
- a.value !== !1 && (a.value = !1, i && (i.value = O), It(f) && f(O));
795
- }, _ = (O) => {
791
+ const m = ze(), { emit: y } = m, d = m.props, p = w(() => It(d[n])), g = w(() => d[e] === null), h = (C) => {
792
+ a.value !== !0 && (a.value = !0, i && (i.value = C), It(u) && u(C));
793
+ }, E = (C) => {
794
+ a.value !== !1 && (a.value = !1, i && (i.value = C), It(f) && f(C));
795
+ }, O = (C) => {
796
796
  if (d.disabled === !0 || It(c) && !c())
797
797
  return;
798
- const C = p.value && ae;
799
- C && y(t, !0), (g.value || !C) && h(O);
800
- }, S = (O) => {
798
+ const _ = p.value && ae;
799
+ _ && y(t, !0), (g.value || !_) && h(C);
800
+ }, S = (C) => {
801
801
  if (d.disabled === !0 || !ae)
802
802
  return;
803
- const C = p.value && ae;
804
- C && y(t, !1), (g.value || !C) && E(O);
805
- }, A = (O) => {
806
- Yn(O) && (d.disabled && O ? p.value && y(t, !1) : a.value !== O && (O ? h() : E()));
803
+ const _ = p.value && ae;
804
+ _ && y(t, !1), (g.value || !_) && E(C);
805
+ }, A = (C) => {
806
+ Yn(C) && (d.disabled && C ? p.value && y(t, !1) : a.value !== C && (C ? h() : E()));
807
807
  }, P = () => {
808
- a.value ? S() : _();
808
+ a.value ? S() : O();
809
809
  };
810
810
  return D(() => d[e], A), l && m.appContext.config.globalProperties.$route !== void 0 && D(() => ({
811
811
  ...m.proxy.$route
@@ -815,7 +815,7 @@ const ml = (e) => (t, n) => vl(t, n, v(e)), vl = (e, t, n) => tl(n, e, e).replac
815
815
  A(d[e]);
816
816
  }), {
817
817
  hide: S,
818
- show: _,
818
+ show: O,
819
819
  toggle: P,
820
820
  hasUpdateHandler: p
821
821
  };
@@ -981,8 +981,8 @@ var jl = function(e, t) {
981
981
  function Dl(e) {
982
982
  var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ve(n.placement), l = rr(i), c = [ne, ue].indexOf(i) >= 0, u = c ? "height" : "width";
983
983
  if (!(!s || !a)) {
984
- var f = jl(o.padding, n), m = nr(s), y = l === "y" ? te : ne, d = l === "y" ? ce : ue, p = n.rects.reference[u] + n.rects.reference[l] - a[l] - n.rects.popper[u], g = a[l] - n.rects.reference[l], h = Ct(s), E = h ? l === "y" ? h.clientHeight || 0 : h.clientWidth || 0 : 0, _ = p / 2 - g / 2, S = f[y], A = E - m[u] - f[d], P = E / 2 - m[u] / 2 + _, O = vt(S, P, A), C = l;
985
- n.modifiersData[r] = (t = {}, t[C] = O, t.centerOffset = O - P, t);
984
+ var f = jl(o.padding, n), m = nr(s), y = l === "y" ? te : ne, d = l === "y" ? ce : ue, p = n.rects.reference[u] + n.rects.reference[l] - a[l] - n.rects.popper[u], g = a[l] - n.rects.reference[l], h = Ct(s), E = h ? l === "y" ? h.clientHeight || 0 : h.clientWidth || 0 : 0, O = p / 2 - g / 2, S = f[y], A = E - m[u] - f[d], P = E / 2 - m[u] / 2 + O, C = vt(S, P, A), _ = l;
985
+ n.modifiersData[r] = (t = {}, t[_] = C, t.centerOffset = C - P, t);
986
986
  }
987
987
  }
988
988
  function Hl(e) {
@@ -1001,26 +1001,26 @@ function Vl(e) {
1001
1001
  function Wr(e) {
1002
1002
  var t, n = e.popper, r = e.popperRect, o = e.placement, s = e.variation, a = e.offsets, i = e.position, l = e.gpuAcceleration, c = e.adaptive, u = e.roundOffsets, f = e.isFixed, m = a.x, y = m === void 0 ? 0 : m, d = a.y, p = d === void 0 ? 0 : d, g = typeof u == "function" ? u({ x: y, y: p }) : { x: y, y: p };
1003
1003
  y = g.x, p = g.y;
1004
- var h = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), _ = ne, S = te, A = window;
1004
+ var h = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), O = ne, S = te, A = window;
1005
1005
  if (c) {
1006
- var P = Ct(n), O = "clientHeight", C = "clientWidth";
1007
- if (P === pe(n) && (P = Ie(n), _e(P).position !== "static" && i === "absolute" && (O = "scrollHeight", C = "scrollWidth")), P = P, o === te || (o === ne || o === ue) && s === wt) {
1006
+ var P = Ct(n), C = "clientHeight", _ = "clientWidth";
1007
+ if (P === pe(n) && (P = Ie(n), _e(P).position !== "static" && i === "absolute" && (C = "scrollHeight", _ = "scrollWidth")), P = P, o === te || (o === ne || o === ue) && s === wt) {
1008
1008
  S = ce;
1009
- var $ = f && P === A && A.visualViewport ? A.visualViewport.height : P[O];
1010
- p -= $ - r.height, p *= l ? 1 : -1;
1009
+ var k = f && P === A && A.visualViewport ? A.visualViewport.height : P[C];
1010
+ p -= k - r.height, p *= l ? 1 : -1;
1011
1011
  }
1012
1012
  if (o === ne || (o === te || o === ce) && s === wt) {
1013
- _ = ue;
1014
- var N = f && P === A && A.visualViewport ? A.visualViewport.width : P[C];
1015
- y -= N - r.width, y *= l ? 1 : -1;
1013
+ O = ue;
1014
+ var I = f && P === A && A.visualViewport ? A.visualViewport.width : P[_];
1015
+ y -= I - r.width, y *= l ? 1 : -1;
1016
1016
  }
1017
1017
  }
1018
- var L = Object.assign({ position: i }, c && zl), M = u === !0 ? Vl({ x: y, y: p }) : { x: y, y: p };
1019
- if (y = M.x, p = M.y, l) {
1018
+ var B = Object.assign({ position: i }, c && zl), L = u === !0 ? Vl({ x: y, y: p }) : { x: y, y: p };
1019
+ if (y = L.x, p = L.y, l) {
1020
1020
  var j;
1021
- return Object.assign({}, L, (j = {}, j[S] = E ? "0" : "", j[_] = h ? "0" : "", j.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", j));
1021
+ return Object.assign({}, B, (j = {}, j[S] = E ? "0" : "", j[O] = h ? "0" : "", j.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", j));
1022
1022
  }
1023
- return Object.assign({}, L, (t = {}, t[S] = E ? p + "px" : "", t[_] = h ? y + "px" : "", t.transform = "", t));
1023
+ return Object.assign({}, B, (t = {}, t[S] = E ? p + "px" : "", t[O] = h ? y + "px" : "", t.transform = "", t));
1024
1024
  }
1025
1025
  function Wl(e) {
1026
1026
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, s = n.adaptive, a = s === void 0 ? !0 : s, i = n.roundOffsets, l = i === void 0 ? !0 : i, c = { placement: ve(t.placement), variation: nt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: o, isFixed: t.options.strategy === "fixed" };
@@ -1135,15 +1135,15 @@ function is(e) {
1135
1135
  }
1136
1136
  function Et(e, t) {
1137
1137
  t === void 0 && (t = {});
1138
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.boundary, a = s === void 0 ? Sl : s, i = n.rootBoundary, l = i === void 0 ? Xo : i, c = n.elementContext, u = c === void 0 ? ht : c, f = n.altBoundary, m = f === void 0 ? !1 : f, y = n.padding, d = y === void 0 ? 0 : y, p = ns(typeof d != "number" ? d : rs(d, Tt)), g = u === ht ? Ol : ht, h = e.rects.popper, E = e.elements[m ? g : u], _ = Ql(Qe(E) ? E : E.contextElement || Ie(e.elements.popper), a, l), S = tt(e.elements.reference), A = is({ reference: S, element: h, strategy: "absolute", placement: o }), P = $n(Object.assign({}, h, A)), O = u === ht ? P : S, C = { top: _.top - O.top + p.top, bottom: O.bottom - _.bottom + p.bottom, left: _.left - O.left + p.left, right: O.right - _.right + p.right }, $ = e.modifiersData.offset;
1139
- if (u === ht && $) {
1140
- var N = $[o];
1141
- Object.keys(C).forEach(function(L) {
1142
- var M = [ue, ce].indexOf(L) >= 0 ? 1 : -1, j = [te, ce].indexOf(L) >= 0 ? "y" : "x";
1143
- C[L] += N[j] * M;
1138
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.boundary, a = s === void 0 ? Sl : s, i = n.rootBoundary, l = i === void 0 ? Xo : i, c = n.elementContext, u = c === void 0 ? ht : c, f = n.altBoundary, m = f === void 0 ? !1 : f, y = n.padding, d = y === void 0 ? 0 : y, p = ns(typeof d != "number" ? d : rs(d, Tt)), g = u === ht ? Ol : ht, h = e.rects.popper, E = e.elements[m ? g : u], O = Ql(Qe(E) ? E : E.contextElement || Ie(e.elements.popper), a, l), S = tt(e.elements.reference), A = is({ reference: S, element: h, strategy: "absolute", placement: o }), P = $n(Object.assign({}, h, A)), C = u === ht ? P : S, _ = { top: O.top - C.top + p.top, bottom: C.bottom - O.bottom + p.bottom, left: O.left - C.left + p.left, right: C.right - O.right + p.right }, k = e.modifiersData.offset;
1139
+ if (u === ht && k) {
1140
+ var I = k[o];
1141
+ Object.keys(_).forEach(function(B) {
1142
+ var L = [ue, ce].indexOf(B) >= 0 ? 1 : -1, j = [te, ce].indexOf(B) >= 0 ? "y" : "x";
1143
+ _[B] += I[j] * L;
1144
1144
  });
1145
1145
  }
1146
- return C;
1146
+ return _;
1147
1147
  }
1148
1148
  function ec(e, t) {
1149
1149
  t === void 0 && (t = {});
@@ -1169,37 +1169,37 @@ function tc(e) {
1169
1169
  function nc(e) {
1170
1170
  var t = e.state, n = e.options, r = e.name;
1171
1171
  if (!t.modifiersData[r]._skip) {
1172
- for (var o = n.mainAxis, s = o === void 0 ? !0 : o, a = n.altAxis, i = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, f = n.rootBoundary, m = n.altBoundary, y = n.flipVariations, d = y === void 0 ? !0 : y, p = n.allowedAutoPlacements, g = t.options.placement, h = ve(g), E = h === g, _ = l || (E || !d ? [Ut(g)] : tc(g)), S = [g].concat(_).reduce(function(Fe, we) {
1172
+ for (var o = n.mainAxis, s = o === void 0 ? !0 : o, a = n.altAxis, i = a === void 0 ? !0 : a, l = n.fallbackPlacements, c = n.padding, u = n.boundary, f = n.rootBoundary, m = n.altBoundary, y = n.flipVariations, d = y === void 0 ? !0 : y, p = n.allowedAutoPlacements, g = t.options.placement, h = ve(g), E = h === g, O = l || (E || !d ? [Ut(g)] : tc(g)), S = [g].concat(O).reduce(function(Fe, we) {
1173
1173
  return Fe.concat(ve(we) === Qn ? ec(t, { placement: we, boundary: u, rootBoundary: f, padding: c, flipVariations: d, allowedAutoPlacements: p }) : we);
1174
- }, []), A = t.rects.reference, P = t.rects.popper, O = /* @__PURE__ */ new Map(), C = !0, $ = S[0], N = 0; N < S.length; N++) {
1175
- var L = S[N], M = ve(L), j = nt(L) === Xe, X = [te, ce].indexOf(M) >= 0, q = X ? "width" : "height", H = Et(t, { placement: L, boundary: u, rootBoundary: f, altBoundary: m, padding: c }), T = X ? j ? ue : ne : j ? ce : te;
1174
+ }, []), A = t.rects.reference, P = t.rects.popper, C = /* @__PURE__ */ new Map(), _ = !0, k = S[0], I = 0; I < S.length; I++) {
1175
+ var B = S[I], L = ve(B), j = nt(B) === Xe, X = [te, ce].indexOf(L) >= 0, q = X ? "width" : "height", H = Et(t, { placement: B, boundary: u, rootBoundary: f, altBoundary: m, padding: c }), T = X ? j ? ue : ne : j ? ce : te;
1176
1176
  A[q] > P[q] && (T = Ut(T));
1177
1177
  var Q = Ut(T), he = [];
1178
- if (s && he.push(H[M] <= 0), i && he.push(H[T] <= 0, H[Q] <= 0), he.every(function(Fe) {
1178
+ if (s && he.push(H[L] <= 0), i && he.push(H[T] <= 0, H[Q] <= 0), he.every(function(Fe) {
1179
1179
  return Fe;
1180
1180
  })) {
1181
- $ = L, C = !1;
1181
+ k = B, _ = !1;
1182
1182
  break;
1183
1183
  }
1184
- O.set(L, he);
1184
+ C.set(B, he);
1185
1185
  }
1186
- if (C)
1186
+ if (_)
1187
1187
  for (var Rt = d ? 3 : 1, vn = function(Fe) {
1188
1188
  var we = S.find(function(kt) {
1189
- var ut = O.get(kt);
1189
+ var ut = C.get(kt);
1190
1190
  if (ut)
1191
1191
  return ut.slice(0, Fe).every(function(We) {
1192
1192
  return We;
1193
1193
  });
1194
1194
  });
1195
1195
  if (we)
1196
- return $ = we, "break";
1196
+ return k = we, "break";
1197
1197
  }, ct = Rt; ct > 0; ct--) {
1198
1198
  var Pt = vn(ct);
1199
1199
  if (Pt === "break")
1200
1200
  break;
1201
1201
  }
1202
- t.placement !== $ && (t.modifiersData[r]._skip = !0, t.placement = $, t.reset = !0);
1202
+ t.placement !== k && (t.modifiersData[r]._skip = !0, t.placement = k, t.reset = !0);
1203
1203
  }
1204
1204
  }
1205
1205
  var rc = { name: "flip", enabled: !0, phase: "main", fn: nc, requiresIfExists: ["offset"], data: { _skip: !1 } };
@@ -1236,17 +1236,17 @@ function uc(e) {
1236
1236
  return e === "x" ? "y" : "x";
1237
1237
  }
1238
1238
  function fc(e) {
1239
- var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, a = n.altAxis, i = a === void 0 ? !1 : a, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, m = n.tether, y = m === void 0 ? !0 : m, d = n.tetherOffset, p = d === void 0 ? 0 : d, g = Et(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), h = ve(t.placement), E = nt(t.placement), _ = !E, S = rr(h), A = uc(S), P = t.modifiersData.popperOffsets, O = t.rects.reference, C = t.rects.popper, $ = typeof p == "function" ? p(Object.assign({}, t.rects, { placement: t.placement })) : p, N = typeof $ == "number" ? { mainAxis: $, altAxis: $ } : Object.assign({ mainAxis: 0, altAxis: 0 }, $), L = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = { x: 0, y: 0 };
1239
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, a = n.altAxis, i = a === void 0 ? !1 : a, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, f = n.padding, m = n.tether, y = m === void 0 ? !0 : m, d = n.tetherOffset, p = d === void 0 ? 0 : d, g = Et(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: u }), h = ve(t.placement), E = nt(t.placement), O = !E, S = rr(h), A = uc(S), P = t.modifiersData.popperOffsets, C = t.rects.reference, _ = t.rects.popper, k = typeof p == "function" ? p(Object.assign({}, t.rects, { placement: t.placement })) : p, I = typeof k == "number" ? { mainAxis: k, altAxis: k } : Object.assign({ mainAxis: 0, altAxis: 0 }, k), B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = { x: 0, y: 0 };
1240
1240
  if (P) {
1241
1241
  if (s) {
1242
- var j, X = S === "y" ? te : ne, q = S === "y" ? ce : ue, H = S === "y" ? "height" : "width", T = P[S], Q = T + g[X], he = T - g[q], Rt = y ? -C[H] / 2 : 0, vn = E === Xe ? O[H] : C[H], ct = E === Xe ? -C[H] : -O[H], Pt = t.elements.arrow, Fe = y && Pt ? nr(Pt) : { width: 0, height: 0 }, we = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ts(), kt = we[X], ut = we[q], We = vt(0, O[H], Fe[H]), Js = _ ? O[H] / 2 - Rt - We - kt - N.mainAxis : vn - We - kt - N.mainAxis, Zs = _ ? -O[H] / 2 + Rt + We + ut + N.mainAxis : ct + We + ut + N.mainAxis, gn = t.elements.arrow && Ct(t.elements.arrow), Ys = gn ? S === "y" ? gn.clientTop || 0 : gn.clientLeft || 0 : 0, wr = (j = L == null ? void 0 : L[S]) != null ? j : 0, Xs = T + Js - wr - Ys, Qs = T + Zs - wr, Er = vt(y ? Qt(Q, Xs) : Q, T, y ? He(he, Qs) : he);
1243
- P[S] = Er, M[S] = Er - T;
1242
+ var j, X = S === "y" ? te : ne, q = S === "y" ? ce : ue, H = S === "y" ? "height" : "width", T = P[S], Q = T + g[X], he = T - g[q], Rt = y ? -_[H] / 2 : 0, vn = E === Xe ? C[H] : _[H], ct = E === Xe ? -_[H] : -C[H], Pt = t.elements.arrow, Fe = y && Pt ? nr(Pt) : { width: 0, height: 0 }, we = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ts(), kt = we[X], ut = we[q], We = vt(0, C[H], Fe[H]), Js = O ? C[H] / 2 - Rt - We - kt - I.mainAxis : vn - We - kt - I.mainAxis, Zs = O ? -C[H] / 2 + Rt + We + ut + I.mainAxis : ct + We + ut + I.mainAxis, gn = t.elements.arrow && Ct(t.elements.arrow), Ys = gn ? S === "y" ? gn.clientTop || 0 : gn.clientLeft || 0 : 0, wr = (j = B == null ? void 0 : B[S]) != null ? j : 0, Xs = T + Js - wr - Ys, Qs = T + Zs - wr, Er = vt(y ? Qt(Q, Xs) : Q, T, y ? He(he, Qs) : he);
1243
+ P[S] = Er, L[S] = Er - T;
1244
1244
  }
1245
1245
  if (i) {
1246
- var Sr, ea = S === "x" ? te : ne, ta = S === "x" ? ce : ue, $e = P[A], Nt = A === "y" ? "height" : "width", Or = $e + g[ea], _r = $e - g[ta], yn = [te, ne].indexOf(h) !== -1, Tr = (Sr = L == null ? void 0 : L[A]) != null ? Sr : 0, Cr = yn ? Or : $e - O[Nt] - C[Nt] - Tr + N.altAxis, xr = yn ? $e + O[Nt] + C[Nt] - Tr - N.altAxis : _r, Ar = y && yn ? Ll(Cr, $e, xr) : vt(y ? Cr : Or, $e, y ? xr : _r);
1247
- P[A] = Ar, M[A] = Ar - $e;
1246
+ var Sr, ea = S === "x" ? te : ne, ta = S === "x" ? ce : ue, $e = P[A], Nt = A === "y" ? "height" : "width", Or = $e + g[ea], _r = $e - g[ta], yn = [te, ne].indexOf(h) !== -1, Tr = (Sr = B == null ? void 0 : B[A]) != null ? Sr : 0, Cr = yn ? Or : $e - C[Nt] - _[Nt] - Tr + I.altAxis, xr = yn ? $e + C[Nt] + _[Nt] - Tr - I.altAxis : _r, Ar = y && yn ? Ll(Cr, $e, xr) : vt(y ? Cr : Or, $e, y ? xr : _r);
1247
+ P[A] = Ar, L[A] = Ar - $e;
1248
1248
  }
1249
- t.modifiersData[r] = M;
1249
+ t.modifiersData[r] = L;
1250
1250
  }
1251
1251
  }
1252
1252
  var dc = { name: "preventOverflow", enabled: !0, phase: "main", fn: fc, requiresIfExists: ["offset"] };
@@ -1335,16 +1335,16 @@ function ir(e) {
1335
1335
  if (!f) {
1336
1336
  var p = c.elements, g = p.reference, h = p.popper;
1337
1337
  if (Yr(g, h)) {
1338
- c.rects = { reference: vc(g, Ct(h), c.options.strategy === "fixed"), popper: nr(h) }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(C) {
1339
- return c.modifiersData[C.name] = Object.assign({}, C.data);
1338
+ c.rects = { reference: vc(g, Ct(h), c.options.strategy === "fixed"), popper: nr(h) }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(_) {
1339
+ return c.modifiersData[_.name] = Object.assign({}, _.data);
1340
1340
  });
1341
1341
  for (var E = 0; E < c.orderedModifiers.length; E++) {
1342
1342
  if (c.reset === !0) {
1343
1343
  c.reset = !1, E = -1;
1344
1344
  continue;
1345
1345
  }
1346
- var _ = c.orderedModifiers[E], S = _.fn, A = _.options, P = A === void 0 ? {} : A, O = _.name;
1347
- typeof S == "function" && (c = S({ state: c, options: P, name: O, instance: m }) || c);
1346
+ var O = c.orderedModifiers[E], S = O.fn, A = O.options, P = A === void 0 ? {} : A, C = O.name;
1347
+ typeof S == "function" && (c = S({ state: c, options: P, name: C, instance: m }) || c);
1348
1348
  }
1349
1349
  }
1350
1350
  }
@@ -1362,9 +1362,9 @@ function ir(e) {
1362
1362
  });
1363
1363
  function y() {
1364
1364
  c.orderedModifiers.forEach(function(p) {
1365
- var g = p.name, h = p.options, E = h === void 0 ? {} : h, _ = p.effect;
1366
- if (typeof _ == "function") {
1367
- var S = _({ state: c, name: g, instance: m, options: E }), A = function() {
1365
+ var g = p.name, h = p.options, E = h === void 0 ? {} : h, O = p.effect;
1366
+ if (typeof O == "function") {
1367
+ var S = O({ state: c, name: g, instance: m, options: E }), A = function() {
1368
1368
  };
1369
1369
  u.push(S || A);
1370
1370
  }
@@ -1636,15 +1636,15 @@ var Y = (e, t) => {
1636
1636
  };
1637
1637
  const Dc = J({
1638
1638
  size: {
1639
- type: I([Number, String])
1639
+ type: F([Number, String])
1640
1640
  },
1641
1641
  color: {
1642
1642
  type: String
1643
1643
  }
1644
- }), Hc = F({
1644
+ }), Hc = $({
1645
1645
  name: "ElIcon",
1646
1646
  inheritAttrs: !1
1647
- }), Uc = /* @__PURE__ */ F({
1647
+ }), Uc = /* @__PURE__ */ $({
1648
1648
  ...Hc,
1649
1649
  props: Dc,
1650
1650
  setup(e) {
@@ -1655,7 +1655,7 @@ const Dc = J({
1655
1655
  "--color": s
1656
1656
  };
1657
1657
  });
1658
- return (o, s) => (R(), B("i", ot({
1658
+ return (o, s) => (R(), M("i", ot({
1659
1659
  class: v(n).b(),
1660
1660
  style: v(r)
1661
1661
  }, o.$attrs), [
@@ -1691,10 +1691,10 @@ const no = it(zc), cr = Symbol("formContextKey"), tn = Symbol("formItemContextKe
1691
1691
  values: qc,
1692
1692
  default: "tooltip"
1693
1693
  }
1694
- }), Kc = F({
1694
+ }), Kc = $({
1695
1695
  name: "ElPopper",
1696
1696
  inheritAttrs: !1
1697
- }), Gc = /* @__PURE__ */ F({
1697
+ }), Gc = /* @__PURE__ */ $({
1698
1698
  ...Kc,
1699
1699
  props: bs,
1700
1700
  setup(e, { expose: t }) {
@@ -1714,10 +1714,10 @@ const ws = J({
1714
1714
  type: Number,
1715
1715
  default: 5
1716
1716
  }
1717
- }), Zc = F({
1717
+ }), Zc = $({
1718
1718
  name: "ElPopperArrow",
1719
1719
  inheritAttrs: !1
1720
- }), Yc = /* @__PURE__ */ F({
1720
+ }), Yc = /* @__PURE__ */ $({
1721
1721
  ...Zc,
1722
1722
  props: ws,
1723
1723
  setup(e, { expose: t }) {
@@ -1728,7 +1728,7 @@ const ws = J({
1728
1728
  s.value = void 0;
1729
1729
  }), t({
1730
1730
  arrowRef: s
1731
- }), (i, l) => (R(), B("span", {
1731
+ }), (i, l) => (R(), M("span", {
1732
1732
  ref_key: "arrowRef",
1733
1733
  ref: s,
1734
1734
  class: ee(v(r).e("arrow")),
@@ -1738,7 +1738,7 @@ const ws = J({
1738
1738
  }
1739
1739
  });
1740
1740
  var Xc = /* @__PURE__ */ Y(Yc, [["__file", "arrow.vue"]]);
1741
- const Sn = "ElOnlyChild", Qc = F({
1741
+ const Sn = "ElOnlyChild", Qc = $({
1742
1742
  name: Sn,
1743
1743
  setup(e, {
1744
1744
  slots: t,
@@ -1787,36 +1787,36 @@ function ro(e) {
1787
1787
  }
1788
1788
  const Ss = J({
1789
1789
  virtualRef: {
1790
- type: I(Object)
1790
+ type: F(Object)
1791
1791
  },
1792
1792
  virtualTriggering: Boolean,
1793
1793
  onMouseenter: {
1794
- type: I(Function)
1794
+ type: F(Function)
1795
1795
  },
1796
1796
  onMouseleave: {
1797
- type: I(Function)
1797
+ type: F(Function)
1798
1798
  },
1799
1799
  onClick: {
1800
- type: I(Function)
1800
+ type: F(Function)
1801
1801
  },
1802
1802
  onKeydown: {
1803
- type: I(Function)
1803
+ type: F(Function)
1804
1804
  },
1805
1805
  onFocus: {
1806
- type: I(Function)
1806
+ type: F(Function)
1807
1807
  },
1808
1808
  onBlur: {
1809
- type: I(Function)
1809
+ type: F(Function)
1810
1810
  },
1811
1811
  onContextmenu: {
1812
- type: I(Function)
1812
+ type: F(Function)
1813
1813
  },
1814
1814
  id: String,
1815
1815
  open: Boolean
1816
- }), eu = F({
1816
+ }), eu = $({
1817
1817
  name: "ElPopperTrigger",
1818
1818
  inheritAttrs: !1
1819
- }), tu = /* @__PURE__ */ F({
1819
+ }), tu = /* @__PURE__ */ $({
1820
1820
  ...eu,
1821
1821
  props: Ss,
1822
1822
  setup(e, { expose: t }) {
@@ -1964,7 +1964,7 @@ const cu = () => {
1964
1964
  }), Mt = (e) => new CustomEvent(ru, {
1965
1965
  ...ou,
1966
1966
  detail: e
1967
- }), pu = F({
1967
+ }), pu = $({
1968
1968
  name: "ElFocusTrap",
1969
1969
  inheritAttrs: !1,
1970
1970
  props: {
@@ -2002,26 +2002,26 @@ const cu = () => {
2002
2002
  }, i = (d) => {
2003
2003
  if (!e.loop && !e.trapped || a.paused)
2004
2004
  return;
2005
- const { key: p, altKey: g, ctrlKey: h, metaKey: E, currentTarget: _, shiftKey: S } = d, { loop: A } = e, P = p === Xt.tab && !g && !h && !E, O = document.activeElement;
2006
- if (P && O) {
2007
- const C = _, [$, N] = iu(C);
2008
- if ($ && N) {
2009
- if (!S && O === N) {
2010
- const M = Mt({
2005
+ const { key: p, altKey: g, ctrlKey: h, metaKey: E, currentTarget: O, shiftKey: S } = d, { loop: A } = e, P = p === Xt.tab && !g && !h && !E, C = document.activeElement;
2006
+ if (P && C) {
2007
+ const _ = O, [k, I] = iu(_);
2008
+ if (k && I) {
2009
+ if (!S && C === I) {
2010
+ const L = Mt({
2011
2011
  focusReason: s.value
2012
2012
  });
2013
- t("focusout-prevented", M), M.defaultPrevented || (d.preventDefault(), A && Ae($, !0));
2014
- } else if (S && [$, C].includes(O)) {
2015
- const M = Mt({
2013
+ t("focusout-prevented", L), L.defaultPrevented || (d.preventDefault(), A && Ae(k, !0));
2014
+ } else if (S && [k, _].includes(C)) {
2015
+ const L = Mt({
2016
2016
  focusReason: s.value
2017
2017
  });
2018
- t("focusout-prevented", M), M.defaultPrevented || (d.preventDefault(), A && Ae(N, !0));
2018
+ t("focusout-prevented", L), L.defaultPrevented || (d.preventDefault(), A && Ae(I, !0));
2019
2019
  }
2020
- } else if (O === C) {
2021
- const M = Mt({
2020
+ } else if (C === _) {
2021
+ const L = Mt({
2022
2022
  focusReason: s.value
2023
2023
  });
2024
- t("focusout-prevented", M), M.defaultPrevented || d.preventDefault();
2024
+ t("focusout-prevented", L), L.defaultPrevented || d.preventDefault();
2025
2025
  }
2026
2026
  }
2027
2027
  };
@@ -2108,7 +2108,7 @@ const vu = ["fixed", "absolute"], gu = J({
2108
2108
  default: 0
2109
2109
  },
2110
2110
  fallbackPlacements: {
2111
- type: I(Array),
2111
+ type: F(Array),
2112
2112
  default: void 0
2113
2113
  },
2114
2114
  gpuAcceleration: {
@@ -2125,7 +2125,7 @@ const vu = ["fixed", "absolute"], gu = J({
2125
2125
  default: "bottom"
2126
2126
  },
2127
2127
  popperOptions: {
2128
- type: I(Object),
2128
+ type: F(Object),
2129
2129
  default: () => ({})
2130
2130
  },
2131
2131
  strategy: {
@@ -2137,10 +2137,10 @@ const vu = ["fixed", "absolute"], gu = J({
2137
2137
  ...gu,
2138
2138
  id: String,
2139
2139
  style: {
2140
- type: I([String, Array, Object])
2140
+ type: F([String, Array, Object])
2141
2141
  },
2142
2142
  className: {
2143
- type: I([String, Array, Object])
2143
+ type: F([String, Array, Object])
2144
2144
  },
2145
2145
  effect: {
2146
2146
  type: String,
@@ -2161,16 +2161,16 @@ const vu = ["fixed", "absolute"], gu = J({
2161
2161
  default: !1
2162
2162
  },
2163
2163
  popperClass: {
2164
- type: I([String, Array, Object])
2164
+ type: F([String, Array, Object])
2165
2165
  },
2166
2166
  popperStyle: {
2167
- type: I([String, Array, Object])
2167
+ type: F([String, Array, Object])
2168
2168
  },
2169
2169
  referenceEl: {
2170
- type: I(Object)
2170
+ type: F(Object)
2171
2171
  },
2172
2172
  triggerTargetEl: {
2173
- type: I(Object)
2173
+ type: F(Object)
2174
2174
  },
2175
2175
  stopPopperMouseEvent: {
2176
2176
  type: Boolean,
@@ -2244,13 +2244,13 @@ const Ou = 0, _u = (e) => {
2244
2244
  enabled: !!e.visible
2245
2245
  })), l = w(() => {
2246
2246
  var h;
2247
- const E = v(s), _ = (h = v(a)) != null ? h : Ou;
2247
+ const E = v(s), O = (h = v(a)) != null ? h : Ou;
2248
2248
  return {
2249
2249
  name: "arrow",
2250
2250
  enabled: !nl(E),
2251
2251
  options: {
2252
2252
  element: E,
2253
- padding: _
2253
+ padding: O
2254
2254
  }
2255
2255
  };
2256
2256
  }), c = w(() => ({
@@ -2328,9 +2328,9 @@ const Ou = 0, _u = (e) => {
2328
2328
  n.value = !1, t("close");
2329
2329
  }
2330
2330
  };
2331
- }, xu = F({
2331
+ }, xu = $({
2332
2332
  name: "ElPopperContent"
2333
- }), Au = /* @__PURE__ */ F({
2333
+ }), Au = /* @__PURE__ */ $({
2334
2334
  ...xu,
2335
2335
  props: _s,
2336
2336
  emits: yu,
@@ -2345,51 +2345,51 @@ const Ou = 0, _u = (e) => {
2345
2345
  onReleaseRequested: u
2346
2346
  } = Cu(r, n), { attributes: f, arrowRef: m, contentRef: y, styles: d, instanceRef: p, role: g, update: h } = _u(r), {
2347
2347
  ariaModal: E,
2348
- arrowStyle: _,
2348
+ arrowStyle: O,
2349
2349
  contentAttrs: S,
2350
2350
  contentClass: A,
2351
2351
  contentStyle: P,
2352
- updateZIndex: O
2352
+ updateZIndex: C
2353
2353
  } = Tu(r, {
2354
2354
  styles: d,
2355
2355
  attributes: f,
2356
2356
  role: g
2357
- }), C = z(tn, void 0), $ = x();
2357
+ }), _ = z(tn, void 0), k = x();
2358
2358
  ge(ys, {
2359
- arrowStyle: _,
2359
+ arrowStyle: O,
2360
2360
  arrowRef: m,
2361
- arrowOffset: $
2362
- }), C && (C.addInputId || C.removeInputId) && ge(tn, {
2363
- ...C,
2361
+ arrowOffset: k
2362
+ }), _ && (_.addInputId || _.removeInputId) && ge(tn, {
2363
+ ..._,
2364
2364
  addInputId: Jt,
2365
2365
  removeInputId: Jt
2366
2366
  });
2367
- let N;
2368
- const L = (j = !0) => {
2369
- h(), j && O();
2370
- }, M = () => {
2371
- L(!1), r.visible && r.focusOnShow ? s.value = !0 : r.visible === !1 && (s.value = !1);
2367
+ let I;
2368
+ const B = (j = !0) => {
2369
+ h(), j && C();
2370
+ }, L = () => {
2371
+ B(!1), r.visible && r.focusOnShow ? s.value = !0 : r.visible === !1 && (s.value = !1);
2372
2372
  };
2373
2373
  return Ne(() => {
2374
2374
  D(() => r.triggerTargetEl, (j, X) => {
2375
- N == null || N(), N = void 0;
2375
+ I == null || I(), I = void 0;
2376
2376
  const q = v(j || y.value), H = v(X || y.value);
2377
- Zt(q) && (N = D([g, () => r.ariaLabel, E, () => r.id], (T) => {
2377
+ Zt(q) && (I = D([g, () => r.ariaLabel, E, () => r.id], (T) => {
2378
2378
  ["role", "aria-label", "aria-modal", "id"].forEach((Q, he) => {
2379
2379
  Zn(T[he]) ? q.removeAttribute(Q) : q.setAttribute(Q, T[he]);
2380
2380
  });
2381
2381
  }, { immediate: !0 })), H !== q && Zt(H) && ["role", "aria-label", "aria-modal", "id"].forEach((T) => {
2382
2382
  H.removeAttribute(T);
2383
2383
  });
2384
- }, { immediate: !0 }), D(() => r.visible, M, { immediate: !0 });
2384
+ }, { immediate: !0 }), D(() => r.visible, L, { immediate: !0 });
2385
2385
  }), Te(() => {
2386
- N == null || N(), N = void 0;
2386
+ I == null || I(), I = void 0;
2387
2387
  }), t({
2388
2388
  popperContentRef: y,
2389
2389
  popperInstanceRef: p,
2390
- updatePopper: L,
2390
+ updatePopper: B,
2391
2391
  contentStyle: P
2392
- }), (j, X) => (R(), B("div", ot({
2392
+ }), (j, X) => (R(), M("div", ot({
2393
2393
  ref_key: "contentRef",
2394
2394
  ref: y
2395
2395
  }, v(S), {
@@ -2423,7 +2423,7 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2423
2423
  ...kc,
2424
2424
  ..._s,
2425
2425
  appendTo: {
2426
- type: I([String, Object])
2426
+ type: F([String, Object])
2427
2427
  },
2428
2428
  content: {
2429
2429
  type: String,
@@ -2436,7 +2436,7 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2436
2436
  persistent: Boolean,
2437
2437
  ariaLabel: String,
2438
2438
  visible: {
2439
- type: I(Boolean),
2439
+ type: F(Boolean),
2440
2440
  default: null
2441
2441
  },
2442
2442
  transition: String,
@@ -2449,11 +2449,11 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2449
2449
  ...Ss,
2450
2450
  disabled: Boolean,
2451
2451
  trigger: {
2452
- type: I([String, Array]),
2452
+ type: F([String, Array]),
2453
2453
  default: "hover"
2454
2454
  },
2455
2455
  triggerKeys: {
2456
- type: I(Array),
2456
+ type: F(Array),
2457
2457
  default: () => [Xt.enter, Xt.space]
2458
2458
  }
2459
2459
  }), {
@@ -2480,9 +2480,9 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2480
2480
  "close"
2481
2481
  ], Bu = (e, t) => Na(e) ? e.includes(t) : e === t, qe = (e, t, n) => (r) => {
2482
2482
  Bu(v(e), t) && n(r);
2483
- }, Mu = F({
2483
+ }, Mu = $({
2484
2484
  name: "ElTooltipTrigger"
2485
- }), Lu = /* @__PURE__ */ F({
2485
+ }), Lu = /* @__PURE__ */ $({
2486
2486
  ...Mu,
2487
2487
  props: St,
2488
2488
  setup(e, { expose: t }) {
@@ -2493,7 +2493,7 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2493
2493
  S.button === 0 && c(S);
2494
2494
  })), g = Se(f, qe(m, "focus", i)), h = Se(f, qe(m, "focus", l)), E = Se(f, qe(m, "contextmenu", (S) => {
2495
2495
  S.preventDefault(), c(S);
2496
- })), _ = Se(f, (S) => {
2496
+ })), O = Se(f, (S) => {
2497
2497
  const { code: A } = S;
2498
2498
  n.triggerKeys.includes(A) && (S.preventDefault(), c(S));
2499
2499
  });
@@ -2511,7 +2511,7 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2511
2511
  onFocus: v(g),
2512
2512
  onMouseenter: v(y),
2513
2513
  onMouseleave: v(d),
2514
- onKeydown: v(_)
2514
+ onKeydown: v(O)
2515
2515
  }, {
2516
2516
  default: K(() => [
2517
2517
  U(S.$slots, "default")
@@ -2521,10 +2521,10 @@ const Pu = it(Jc), pr = Symbol("elTooltip"), se = J({
2521
2521
  }
2522
2522
  });
2523
2523
  var ju = /* @__PURE__ */ Y(Lu, [["__file", "trigger.vue"]]);
2524
- const Du = F({
2524
+ const Du = $({
2525
2525
  name: "ElTooltipContent",
2526
2526
  inheritAttrs: !1
2527
- }), Hu = /* @__PURE__ */ F({
2527
+ }), Hu = /* @__PURE__ */ $({
2528
2528
  ...Du,
2529
2529
  props: se,
2530
2530
  setup(e, { expose: t }) {
@@ -2543,19 +2543,19 @@ const Du = F({
2543
2543
  Te(() => {
2544
2544
  a.value = !0;
2545
2545
  });
2546
- const _ = w(() => v(E) ? !0 : v(c)), S = w(() => n.disabled ? !1 : v(c)), A = w(() => n.appendTo || r.value), P = w(() => {
2546
+ const O = w(() => v(E) ? !0 : v(c)), S = w(() => n.disabled ? !1 : v(c)), A = w(() => n.appendTo || r.value), P = w(() => {
2547
2547
  var T;
2548
2548
  return (T = n.style) != null ? T : {};
2549
- }), O = w(() => !v(c)), C = () => {
2549
+ }), C = w(() => !v(c)), _ = () => {
2550
2550
  d();
2551
- }, $ = () => {
2551
+ }, k = () => {
2552
2552
  if (v(i))
2553
2553
  return !0;
2554
- }, N = Se($, () => {
2554
+ }, I = Se(k, () => {
2555
2555
  n.enterable && v(u) === "hover" && m();
2556
- }), L = Se($, () => {
2556
+ }), B = Se(k, () => {
2557
2557
  v(u) === "hover" && f();
2558
- }), M = () => {
2558
+ }), L = () => {
2559
2559
  var T, Q;
2560
2560
  (Q = (T = s.value) == null ? void 0 : T.updatePopper) == null || Q.call(T), p == null || p();
2561
2561
  }, j = () => {
@@ -2588,20 +2588,20 @@ const Du = F({
2588
2588
  }, [
2589
2589
  ke(Io, {
2590
2590
  name: v(h),
2591
- onAfterLeave: C,
2592
- onBeforeEnter: M,
2591
+ onAfterLeave: _,
2592
+ onBeforeEnter: L,
2593
2593
  onAfterEnter: X,
2594
2594
  onBeforeLeave: j
2595
2595
  }, {
2596
2596
  default: K(() => [
2597
- v(_) ? Ge((R(), Z(v(Ru), ot({
2597
+ v(O) ? Ge((R(), Z(v(Ru), ot({
2598
2598
  key: 0,
2599
2599
  id: v(l),
2600
2600
  ref_key: "contentRef",
2601
2601
  ref: s
2602
2602
  }, T.$attrs, {
2603
2603
  "aria-label": T.ariaLabel,
2604
- "aria-hidden": v(O),
2604
+ "aria-hidden": v(C),
2605
2605
  "boundaries-padding": T.boundariesPadding,
2606
2606
  "fallback-placements": T.fallbackPlacements,
2607
2607
  "gpu-acceleration": T.gpuAcceleration,
@@ -2618,8 +2618,8 @@ const Du = F({
2618
2618
  "trigger-target-el": T.triggerTargetEl,
2619
2619
  visible: v(S),
2620
2620
  "z-index": T.zIndex,
2621
- onMouseenter: v(N),
2622
- onMouseleave: v(L),
2621
+ onMouseenter: v(I),
2622
+ onMouseleave: v(B),
2623
2623
  onBlur: q,
2624
2624
  onClose: v(f)
2625
2625
  }), {
@@ -2637,9 +2637,9 @@ const Du = F({
2637
2637
  }
2638
2638
  });
2639
2639
  var Uu = /* @__PURE__ */ Y(Hu, [["__file", "content.vue"]]);
2640
- const zu = ["innerHTML"], Vu = { key: 1 }, Wu = F({
2640
+ const zu = ["innerHTML"], Vu = { key: 1 }, Wu = $({
2641
2641
  name: "ElTooltip"
2642
- }), qu = /* @__PURE__ */ F({
2642
+ }), qu = /* @__PURE__ */ $({
2643
2643
  ...Wu,
2644
2644
  props: Fu,
2645
2645
  emits: $u,
@@ -2691,8 +2691,8 @@ const zu = ["innerHTML"], Vu = { key: 1 }, Wu = F({
2691
2691
  h && l.value && (l.value = !1);
2692
2692
  });
2693
2693
  const g = (h) => {
2694
- var E, _;
2695
- const S = (_ = (E = a.value) == null ? void 0 : E.contentRef) == null ? void 0 : _.popperContentRef, A = (h == null ? void 0 : h.relatedTarget) || document.activeElement;
2694
+ var E, O;
2695
+ const S = (O = (E = a.value) == null ? void 0 : E.contentRef) == null ? void 0 : O.popperContentRef, A = (h == null ? void 0 : h.relatedTarget) || document.activeElement;
2696
2696
  return S && S.contains(A);
2697
2697
  };
2698
2698
  return fa(() => l.value && f()), t({
@@ -2753,10 +2753,10 @@ const zu = ["innerHTML"], Vu = { key: 1 }, Wu = F({
2753
2753
  }, {
2754
2754
  default: K(() => [
2755
2755
  U(h.$slots, "content", {}, () => [
2756
- h.rawContent ? (R(), B("span", {
2756
+ h.rawContent ? (R(), M("span", {
2757
2757
  key: 0,
2758
2758
  innerHTML: h.content
2759
- }, null, 8, zu)) : (R(), B("span", Vu, Pe(h.content), 1))
2759
+ }, null, 8, zu)) : (R(), M("span", Vu, Pe(h.content), 1))
2760
2760
  ]),
2761
2761
  h.showArrow ? (R(), Z(v(Xc), {
2762
2762
  key: 0,
@@ -2854,7 +2854,7 @@ const Gu = it(Ku), Ts = Symbol("buttonGroupContextKey"), Ju = (e, t) => {
2854
2854
  default: void 0
2855
2855
  },
2856
2856
  tag: {
2857
- type: I([String, Object]),
2857
+ type: F([String, Object]),
2858
2858
  default: "button"
2859
2859
  }
2860
2860
  }), Xu = {
@@ -3412,9 +3412,9 @@ function pf(e) {
3412
3412
  return r;
3413
3413
  });
3414
3414
  }
3415
- const hf = F({
3415
+ const hf = $({
3416
3416
  name: "ElButton"
3417
- }), mf = /* @__PURE__ */ F({
3417
+ }), mf = /* @__PURE__ */ $({
3418
3418
  ...hf,
3419
3419
  props: Mn,
3420
3420
  emits: Xu,
@@ -3447,7 +3447,7 @@ const hf = F({
3447
3447
  onClick: v(m)
3448
3448
  }), {
3449
3449
  default: K(() => [
3450
- y.loading ? (R(), B(rn, { key: 0 }, [
3450
+ y.loading ? (R(), M(rn, { key: 0 }, [
3451
3451
  y.$slots.loading ? U(y.$slots, "loading", { key: 0 }) : (R(), Z(v(no), {
3452
3452
  key: 1,
3453
3453
  class: ee(v(s).is("loading"))
@@ -3463,7 +3463,7 @@ const hf = F({
3463
3463
  ]),
3464
3464
  _: 3
3465
3465
  })) : G("v-if", !0),
3466
- y.$slots.default ? (R(), B("span", {
3466
+ y.$slots.default ? (R(), M("span", {
3467
3467
  key: 2,
3468
3468
  class: ee({ [v(s).em("text", "expand")]: v(f) })
3469
3469
  }, [
@@ -3478,9 +3478,9 @@ var vf = /* @__PURE__ */ Y(mf, [["__file", "button.vue"]]);
3478
3478
  const gf = {
3479
3479
  size: Mn.size,
3480
3480
  type: Mn.type
3481
- }, yf = F({
3481
+ }, yf = $({
3482
3482
  name: "ElButtonGroup"
3483
- }), bf = /* @__PURE__ */ F({
3483
+ }), bf = /* @__PURE__ */ $({
3484
3484
  ...yf,
3485
3485
  props: gf,
3486
3486
  setup(e) {
@@ -3490,7 +3490,7 @@ const gf = {
3490
3490
  type: Le(t, "type")
3491
3491
  }));
3492
3492
  const n = fe("button");
3493
- return (r, o) => (R(), B("div", {
3493
+ return (r, o) => (R(), M("div", {
3494
3494
  class: ee(`${v(n).b("group")}`)
3495
3495
  }, [
3496
3496
  U(r.$slots, "default")
@@ -3512,7 +3512,7 @@ const Ef = J({
3512
3512
  default: ""
3513
3513
  },
3514
3514
  bodyStyle: {
3515
- type: I([String, Object, Array]),
3515
+ type: F([String, Object, Array]),
3516
3516
  default: ""
3517
3517
  },
3518
3518
  bodyClass: String,
@@ -3521,17 +3521,17 @@ const Ef = J({
3521
3521
  values: ["always", "hover", "never"],
3522
3522
  default: "always"
3523
3523
  }
3524
- }), Sf = F({
3524
+ }), Sf = $({
3525
3525
  name: "ElCard"
3526
- }), Of = /* @__PURE__ */ F({
3526
+ }), Of = /* @__PURE__ */ $({
3527
3527
  ...Sf,
3528
3528
  props: Ef,
3529
3529
  setup(e) {
3530
3530
  const t = fe("card");
3531
- return (n, r) => (R(), B("div", {
3531
+ return (n, r) => (R(), M("div", {
3532
3532
  class: ee([v(t).b(), v(t).is(`${n.shadow}-shadow`)])
3533
3533
  }, [
3534
- n.$slots.header || n.header ? (R(), B("div", {
3534
+ n.$slots.header || n.header ? (R(), M("div", {
3535
3535
  key: 0,
3536
3536
  class: ee(v(t).e("header"))
3537
3537
  }, [
@@ -3545,7 +3545,7 @@ const Ef = J({
3545
3545
  }, [
3546
3546
  U(n.$slots, "default")
3547
3547
  ], 6),
3548
- n.$slots.footer || n.footer ? (R(), B("div", {
3548
+ n.$slots.footer || n.footer ? (R(), M("div", {
3549
3549
  key: 1,
3550
3550
  class: ee(v(t).e("footer"))
3551
3551
  }, [
@@ -3557,14 +3557,14 @@ const Ef = J({
3557
3557
  }
3558
3558
  });
3559
3559
  var _f = /* @__PURE__ */ Y(Of, [["__file", "card.vue"]]);
3560
- const Tf = it(_f), Cf = /* @__PURE__ */ F({
3560
+ const Tf = it(_f), Cf = /* @__PURE__ */ $({
3561
3561
  inheritAttrs: !1
3562
3562
  });
3563
3563
  function xf(e, t, n, r, o, s) {
3564
3564
  return U(e.$slots, "default");
3565
3565
  }
3566
3566
  var Af = /* @__PURE__ */ Y(Cf, [["render", xf], ["__file", "collection.vue"]]);
3567
- const Rf = /* @__PURE__ */ F({
3567
+ const Rf = /* @__PURE__ */ $({
3568
3568
  name: "ElCollectionItem",
3569
3569
  inheritAttrs: !1
3570
3570
  });
@@ -3622,14 +3622,14 @@ const Nf = "data-el-collection-item", If = (e) => {
3622
3622
  default: "light"
3623
3623
  },
3624
3624
  type: {
3625
- type: I(String)
3625
+ type: F(String)
3626
3626
  },
3627
3627
  placement: {
3628
- type: I(String),
3628
+ type: F(String),
3629
3629
  default: "bottom"
3630
3630
  },
3631
3631
  popperOptions: {
3632
- type: I(Object),
3632
+ type: F(Object),
3633
3633
  default: () => ({})
3634
3634
  },
3635
3635
  id: String,
@@ -3655,11 +3655,11 @@ const Nf = "data-el-collection-item", If = (e) => {
3655
3655
  default: 150
3656
3656
  },
3657
3657
  tabindex: {
3658
- type: I([Number, String]),
3658
+ type: F([Number, String]),
3659
3659
  default: 0
3660
3660
  },
3661
3661
  maxHeight: {
3662
- type: I([Number, String]),
3662
+ type: F([Number, String]),
3663
3663
  default: ""
3664
3664
  },
3665
3665
  popperClass: {
@@ -3675,7 +3675,7 @@ const Nf = "data-el-collection-item", If = (e) => {
3675
3675
  default: "menu"
3676
3676
  },
3677
3677
  buttonProps: {
3678
- type: I(Object)
3678
+ type: F(Object)
3679
3679
  },
3680
3680
  teleported: se.teleported
3681
3681
  });
@@ -3692,7 +3692,7 @@ J({
3692
3692
  }
3693
3693
  });
3694
3694
  J({
3695
- onKeydown: { type: I(Function) }
3695
+ onKeydown: { type: F(Function) }
3696
3696
  });
3697
3697
  If("Dropdown");
3698
3698
  const Ff = J({
@@ -3753,9 +3753,9 @@ const Ff = J({
3753
3753
  "before-leave": () => !0,
3754
3754
  "after-enter": () => !0,
3755
3755
  "after-leave": () => !0
3756
- }, Bf = "onUpdate:visible", Mf = F({
3756
+ }, Bf = "onUpdate:visible", Mf = $({
3757
3757
  name: "ElPopover"
3758
- }), Lf = /* @__PURE__ */ F({
3758
+ }), Lf = /* @__PURE__ */ $({
3759
3759
  ...Mf,
3760
3760
  props: Ff,
3761
3761
  emits: $f,
@@ -3815,7 +3815,7 @@ const Ff = J({
3815
3815
  onHide: p
3816
3816
  }), {
3817
3817
  content: K(() => [
3818
- g.title ? (R(), B("div", {
3818
+ g.title ? (R(), M("div", {
3819
3819
  key: 0,
3820
3820
  class: ee(v(s).e("title")),
3821
3821
  role: "title"
@@ -3880,7 +3880,7 @@ function Vf(e) {
3880
3880
  const m = r.parent;
3881
3881
  n.value = !1, m.vLoadingAddClassList = void 0, s();
3882
3882
  }
3883
- const c = F({
3883
+ const c = $({
3884
3884
  name: "ElLoading",
3885
3885
  setup(m, { expose: y }) {
3886
3886
  const { ns: d, zIndex: p } = Mc("loading");
@@ -4251,10 +4251,10 @@ const xd = (e) => {
4251
4251
  isAsyncFn: Ad,
4252
4252
  isThenable: Rd
4253
4253
  };
4254
- function k(e, t, n, r, o) {
4254
+ function N(e, t, n, r, o) {
4255
4255
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o);
4256
4256
  }
4257
- b.inherits(k, Error, {
4257
+ b.inherits(N, Error, {
4258
4258
  toJSON: function() {
4259
4259
  return {
4260
4260
  // Standard
@@ -4275,7 +4275,7 @@ b.inherits(k, Error, {
4275
4275
  };
4276
4276
  }
4277
4277
  });
4278
- const Bs = k.prototype, Ms = {};
4278
+ const Bs = N.prototype, Ms = {};
4279
4279
  [
4280
4280
  "ERR_BAD_OPTION_VALUE",
4281
4281
  "ERR_BAD_OPTION",
@@ -4293,13 +4293,13 @@ const Bs = k.prototype, Ms = {};
4293
4293
  ].forEach((e) => {
4294
4294
  Ms[e] = { value: e };
4295
4295
  });
4296
- Object.defineProperties(k, Ms);
4296
+ Object.defineProperties(N, Ms);
4297
4297
  Object.defineProperty(Bs, "isAxiosError", { value: !0 });
4298
- k.from = (e, t, n, r, o, s) => {
4298
+ N.from = (e, t, n, r, o, s) => {
4299
4299
  const a = Object.create(Bs);
4300
4300
  return b.toFlatObject(e, a, function(l) {
4301
4301
  return l !== Error.prototype;
4302
- }, (i) => i !== "isAxiosError"), k.call(a, e.message, t, n, r, o), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
4302
+ }, (i) => i !== "isAxiosError"), N.call(a, e.message, t, n, r, o), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
4303
4303
  };
4304
4304
  const Pd = null;
4305
4305
  function Hn(e) {
@@ -4338,7 +4338,7 @@ function pn(e, t, n) {
4338
4338
  if (b.isDate(d))
4339
4339
  return d.toISOString();
4340
4340
  if (!l && b.isBlob(d))
4341
- throw new k("Blob is not supported. Use a Buffer instead.");
4341
+ throw new N("Blob is not supported. Use a Buffer instead.");
4342
4342
  return b.isArrayBuffer(d) || b.isTypedArray(d) ? l && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
4343
4343
  }
4344
4344
  function u(d, p, g) {
@@ -4347,11 +4347,11 @@ function pn(e, t, n) {
4347
4347
  if (b.endsWith(p, "{}"))
4348
4348
  p = r ? p : p.slice(0, -2), d = JSON.stringify(d);
4349
4349
  else if (b.isArray(d) && kd(d) || (b.isFileList(d) || b.endsWith(p, "[]")) && (h = b.toArray(d)))
4350
- return p = Ls(p), h.forEach(function(_, S) {
4351
- !(b.isUndefined(_) || _ === null) && t.append(
4350
+ return p = Ls(p), h.forEach(function(O, S) {
4351
+ !(b.isUndefined(O) || O === null) && t.append(
4352
4352
  // eslint-disable-next-line no-nested-ternary
4353
4353
  a === !0 ? Eo([p], S, s) : a === null ? p : p + "[]",
4354
- c(_)
4354
+ c(O)
4355
4355
  );
4356
4356
  }), !1;
4357
4357
  }
@@ -4581,7 +4581,7 @@ const vr = {
4581
4581
  return JSON.parse(t);
4582
4582
  } catch (i) {
4583
4583
  if (a)
4584
- throw i.name === "SyntaxError" ? k.from(i, k.ERR_BAD_RESPONSE, this, null, this.response) : i;
4584
+ throw i.name === "SyntaxError" ? N.from(i, N.ERR_BAD_RESPONSE, this, null, this.response) : i;
4585
4585
  }
4586
4586
  }
4587
4587
  return t;
@@ -4808,16 +4808,16 @@ function Vs(e) {
4808
4808
  return !!(e && e.__CANCEL__);
4809
4809
  }
4810
4810
  function At(e, t, n) {
4811
- k.call(this, e ?? "canceled", k.ERR_CANCELED, t, n), this.name = "CanceledError";
4811
+ N.call(this, e ?? "canceled", N.ERR_CANCELED, t, n), this.name = "CanceledError";
4812
4812
  }
4813
- b.inherits(At, k, {
4813
+ b.inherits(At, N, {
4814
4814
  __CANCEL__: !0
4815
4815
  });
4816
4816
  function Yd(e, t, n) {
4817
4817
  const r = n.config.validateStatus;
4818
- !n.status || !r || r(n.status) ? e(n) : t(new k(
4818
+ !n.status || !r || r(n.status) ? e(n) : t(new N(
4819
4819
  "Request failed with status code " + n.status,
4820
- [k.ERR_BAD_REQUEST, k.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
4820
+ [N.ERR_BAD_REQUEST, N.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
4821
4821
  n.config,
4822
4822
  n.request,
4823
4823
  n
@@ -4966,24 +4966,24 @@ const op = typeof XMLHttpRequest < "u", sp = op && function(e) {
4966
4966
  config: e,
4967
4967
  request: f
4968
4968
  };
4969
- Yd(function(_) {
4970
- n(_), c();
4971
- }, function(_) {
4972
- r(_), c();
4969
+ Yd(function(O) {
4970
+ n(O), c();
4971
+ }, function(O) {
4972
+ r(O), c();
4973
4973
  }, h), f = null;
4974
4974
  }
4975
4975
  if ("onloadend" in f ? f.onloadend = y : f.onreadystatechange = function() {
4976
4976
  !f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(y);
4977
4977
  }, f.onabort = function() {
4978
- f && (r(new k("Request aborted", k.ECONNABORTED, e, f)), f = null);
4978
+ f && (r(new N("Request aborted", N.ECONNABORTED, e, f)), f = null);
4979
4979
  }, f.onerror = function() {
4980
- r(new k("Network Error", k.ERR_NETWORK, e, f)), f = null;
4980
+ r(new N("Network Error", N.ERR_NETWORK, e, f)), f = null;
4981
4981
  }, f.ontimeout = function() {
4982
4982
  let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
4983
4983
  const h = e.transitional || Hs;
4984
- e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new k(
4984
+ e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new N(
4985
4985
  g,
4986
- h.clarifyTimeoutError ? k.ETIMEDOUT : k.ECONNABORTED,
4986
+ h.clarifyTimeoutError ? N.ETIMEDOUT : N.ECONNABORTED,
4987
4987
  e,
4988
4988
  f
4989
4989
  )), f = null;
@@ -4998,7 +4998,7 @@ const op = typeof XMLHttpRequest < "u", sp = op && function(e) {
4998
4998
  }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
4999
4999
  const d = np(m);
5000
5000
  if (d && me.protocols.indexOf(d) === -1) {
5001
- r(new k("Unsupported protocol " + d + ":", k.ERR_BAD_REQUEST, e));
5001
+ r(new N("Unsupported protocol " + d + ":", N.ERR_BAD_REQUEST, e));
5002
5002
  return;
5003
5003
  }
5004
5004
  f.send(o || null);
@@ -5026,7 +5026,7 @@ const Co = (e) => `- ${e}`, ap = (e) => b.isFunction(e) || e === null || e === !
5026
5026
  n = e[s];
5027
5027
  let a;
5028
5028
  if (r = n, !ap(n) && (r = Un[(a = String(n)).toLowerCase()], r === void 0))
5029
- throw new k(`Unknown adapter '${a}'`);
5029
+ throw new N(`Unknown adapter '${a}'`);
5030
5030
  if (r)
5031
5031
  break;
5032
5032
  o[a || "#" + s] = r;
@@ -5038,7 +5038,7 @@ const Co = (e) => `- ${e}`, ap = (e) => b.isFunction(e) || e === null || e === !
5038
5038
  let a = t ? s.length > 1 ? `since :
5039
5039
  ` + s.map(Co).join(`
5040
5040
  `) : " " + Co(s[0]) : "as no adapter specified";
5041
- throw new k(
5041
+ throw new N(
5042
5042
  "There is no suitable adapter to dispatch the request " + a,
5043
5043
  "ERR_NOT_SUPPORT"
5044
5044
  );
@@ -5149,9 +5149,9 @@ yr.transitional = function(t, n, r) {
5149
5149
  }
5150
5150
  return (s, a, i) => {
5151
5151
  if (t === !1)
5152
- throw new k(
5152
+ throw new N(
5153
5153
  o(a, " has been removed" + (n ? " in " + n : "")),
5154
- k.ERR_DEPRECATED
5154
+ N.ERR_DEPRECATED
5155
5155
  );
5156
5156
  return n && !Ro[a] && (Ro[a] = !0, console.warn(
5157
5157
  o(
@@ -5163,7 +5163,7 @@ yr.transitional = function(t, n, r) {
5163
5163
  };
5164
5164
  function ip(e, t, n) {
5165
5165
  if (typeof e != "object")
5166
- throw new k("options must be an object", k.ERR_BAD_OPTION_VALUE);
5166
+ throw new N("options must be an object", N.ERR_BAD_OPTION_VALUE);
5167
5167
  const r = Object.keys(e);
5168
5168
  let o = r.length;
5169
5169
  for (; o-- > 0; ) {
@@ -5171,11 +5171,11 @@ function ip(e, t, n) {
5171
5171
  if (a) {
5172
5172
  const i = e[s], l = i === void 0 || a(i, s, e);
5173
5173
  if (l !== !0)
5174
- throw new k("option " + s + " must be " + l, k.ERR_BAD_OPTION_VALUE);
5174
+ throw new N("option " + s + " must be " + l, N.ERR_BAD_OPTION_VALUE);
5175
5175
  continue;
5176
5176
  }
5177
5177
  if (n !== !0)
5178
- throw new k("Unknown option " + s, k.ERR_BAD_OPTION);
5178
+ throw new N("Unknown option " + s, N.ERR_BAD_OPTION);
5179
5179
  }
5180
5180
  }
5181
5181
  const zn = {
@@ -5446,7 +5446,7 @@ V.CancelToken = lp;
5446
5446
  V.isCancel = Vs;
5447
5447
  V.VERSION = Ks;
5448
5448
  V.toFormData = pn;
5449
- V.AxiosError = k;
5449
+ V.AxiosError = N;
5450
5450
  V.Cancel = V.CanceledError;
5451
5451
  V.all = function(t) {
5452
5452
  return Promise.all(t);
@@ -5513,7 +5513,7 @@ const hp = ["src"], mp = ["src"], vp = {
5513
5513
  default: "always"
5514
5514
  }
5515
5515
  },
5516
- emits: ["card-clicked"],
5516
+ emits: ["card-clicked", "datalink-clicked"],
5517
5517
  setup(e, { emit: t }) {
5518
5518
  function n(h) {
5519
5519
  let E;
@@ -5545,18 +5545,18 @@ const hp = ["src"], mp = ["src"], vp = {
5545
5545
  function d() {
5546
5546
  if (u.data.link) {
5547
5547
  const h = document.createElement("a");
5548
- h.href = u.data.link, h.target = "_blank", document.body.appendChild(h), h.click(), h.remove();
5548
+ h.href = u.data.link, h.target = "_blank", document.body.appendChild(h), h.click(), f("datalink-clicked", u.data.link), h.remove();
5549
5549
  }
5550
5550
  u.data.userData && f("card-clicked", u.data.userData);
5551
5551
  }
5552
5552
  function p(h, E) {
5553
5553
  o(h, {}, 11e3).then(
5554
- (_) => {
5555
- let S = _.data;
5556
- typeof S == "string" && S.startsWith("data:") ? a.value = _.data : u.data.mimetype ? a.value = `data:${u.data.mimetype};base64,${_.data}` : a.value = _.data;
5554
+ (O) => {
5555
+ let S = O.data;
5556
+ typeof S == "string" && S.startsWith("data:") ? a.value = O.data : u.data.mimetype ? a.value = `data:${u.data.mimetype};base64,${O.data}` : a.value = O.data;
5557
5557
  },
5558
- (_) => {
5559
- _.message.includes("timeout") && _.message.includes("exceeded") && E.fetchAttempts < 3 ? (E.fetchAttempts += 1, p(h, E)) : i.value = !0;
5558
+ (O) => {
5559
+ O.message.includes("timeout") && O.message.includes("exceeded") && E.fetchAttempts < 3 ? (E.fetchAttempts += 1, p(h, E)) : i.value = !0;
5560
5560
  }
5561
5561
  );
5562
5562
  }
@@ -5569,7 +5569,7 @@ const hp = ["src"], mp = ["src"], vp = {
5569
5569
  }
5570
5570
  }
5571
5571
  return (h, E) => {
5572
- const _ = zf, S = wf, A = Tf, P = Jf;
5572
+ const O = zf, S = wf, A = Tf, P = Jf;
5573
5573
  return R(), Z(A, {
5574
5574
  shadow: e.shadow,
5575
5575
  "body-style": e.bodyStyle,
@@ -5577,17 +5577,17 @@ const hp = ["src"], mp = ["src"], vp = {
5577
5577
  class: "card"
5578
5578
  }, {
5579
5579
  default: K(() => [
5580
- Ge((R(), B("div", null, [
5580
+ Ge((R(), M("div", null, [
5581
5581
  oe("div", {
5582
5582
  class: "cursor-pointer",
5583
5583
  style: Me(e.imageContainerStyle),
5584
5584
  onClick: Gt(d, ["prevent"])
5585
5585
  }, [
5586
- i.value ? (R(), B("img", {
5586
+ i.value ? (R(), M("img", {
5587
5587
  key: 0,
5588
5588
  src: v(r),
5589
5589
  style: Me(e.imageStyle)
5590
- }, null, 12, hp)) : (R(), B("img", {
5590
+ }, null, 12, hp)) : (R(), M("img", {
5591
5591
  key: 1,
5592
5592
  src: a.value,
5593
5593
  alt: "thumbnail loading ...",
@@ -5595,11 +5595,11 @@ const hp = ["src"], mp = ["src"], vp = {
5595
5595
  }, null, 12, mp))
5596
5596
  ], 4),
5597
5597
  G("", !0),
5598
- e.showCardDetails ? (R(), B("div", vp, [
5599
- e.data.hideType ? G("", !0) : (R(), B("p", gp, [
5598
+ e.showCardDetails ? (R(), M("div", vp, [
5599
+ e.data.hideType ? G("", !0) : (R(), M("p", gp, [
5600
5600
  oe("b", null, Pe(e.data.type), 1)
5601
5601
  ])),
5602
- ke(_, {
5602
+ ke(O, {
5603
5603
  "virtual-ref": s.value,
5604
5604
  disabled: l.value,
5605
5605
  content: e.data.title,
@@ -5637,7 +5637,7 @@ const hp = ["src"], mp = ["src"], vp = {
5637
5637
  }, 8, ["shadow", "body-style", "style"]);
5638
5638
  };
5639
5639
  }
5640
- }, wp = /* @__PURE__ */ Wn(bp, [["__scopeId", "data-v-ee363250"]]), mn = (e) => (va("data-v-1004a4da"), e = e(), ga(), e), Ep = {
5640
+ }, wp = /* @__PURE__ */ Wn(bp, [["__scopeId", "data-v-cb0c992e"]]), mn = (e) => (va("data-v-e745b327"), e = e(), ga(), e), Ep = {
5641
5641
  ref: "myButton",
5642
5642
  class: "gallery"
5643
5643
  }, Sp = { class: "gallery-strip" }, Op = /* @__PURE__ */ mn(() => /* @__PURE__ */ oe("span", { class: "progress-button" }, "‹", -1)), _p = [
@@ -5744,43 +5744,46 @@ const hp = ["src"], mp = ["src"], vp = {
5744
5744
  default: "always"
5745
5745
  }
5746
5746
  },
5747
- emits: ["card-clicked"],
5747
+ emits: ["card-clicked", "datalink-clicked"],
5748
5748
  setup(e, { expose: t, emit: n }) {
5749
- function r(O) {
5750
- return typeof window < "u" ? O * parseFloat(window.getComputedStyle(document.documentElement).fontSize) : O * 16;
5749
+ function r(_) {
5750
+ return typeof window < "u" ? _ * parseFloat(window.getComputedStyle(document.documentElement).fontSize) : _ * 16;
5751
5751
  }
5752
5752
  const o = e, s = n, a = x(0), i = x(0), l = x(2), c = x(2), u = w(() => o.items.length), f = w(() => i.value > 0), m = w(() => i.value < u.value - 1), y = w(() => 0.78 * o.cardWidth);
5753
5753
  w(() => u.value * (o.cardWidth + 0.25) - 0.25);
5754
5754
  const d = w(() => {
5755
- const O = r(0.5), C = r(2), $ = r(o.cardWidth), N = (o.maxWidth - 2 * C - 2 * O) / (1.1 * $);
5756
- return Math.max(1, Math.floor(N));
5755
+ const _ = r(0.5), k = r(2), I = r(o.cardWidth), B = (o.maxWidth - 2 * k - 2 * _) / (1.1 * I);
5756
+ return Math.max(1, Math.floor(B));
5757
5757
  }), p = w(() => {
5758
- const O = r(1), C = o.maxWidth / (O * u.value);
5759
- return o.showIndicatorBar && C > 0.1 && u.value > 1;
5758
+ const _ = r(1), k = o.maxWidth / (_ * u.value);
5759
+ return o.showIndicatorBar && k > 0.1 && u.value > 1;
5760
5760
  }), g = w(() => {
5761
- const O = Math.floor(d.value / 2);
5762
- let C = i.value - O;
5763
- return C < 0 ? C = 0 : C + d.value > u.value && (C = u.value - d.value), C;
5761
+ const _ = Math.floor(d.value / 2);
5762
+ let k = i.value - _;
5763
+ return k < 0 ? k = 0 : k + d.value > u.value && (k = u.value - d.value), k;
5764
5764
  }), h = w(() => {
5765
- let O = [];
5766
- for (let C = 0; C < d.value; C++)
5767
- O.push(o.items[C + g.value]);
5768
- return O;
5765
+ let _ = [];
5766
+ for (let k = 0; k < d.value; k++)
5767
+ _.push(o.items[k + g.value]);
5768
+ return _;
5769
5769
  });
5770
- function E(O) {
5771
- s("card-clicked", O);
5770
+ function E(_) {
5771
+ s("card-clicked", _);
5772
5772
  }
5773
- function _(O) {
5774
- return i.value - g.value === O && o.highlightActive;
5773
+ function O(_) {
5774
+ s("datalink-clicked", _);
5775
5775
  }
5776
- function S() {
5777
- i.value += 1;
5776
+ function S(_) {
5777
+ return i.value - g.value === _ && o.highlightActive;
5778
5778
  }
5779
5779
  function A() {
5780
+ i.value += 1;
5781
+ }
5782
+ function P() {
5780
5783
  i.value -= 1;
5781
5784
  }
5782
- function P(O) {
5783
- i.value !== O && (i.value = O);
5785
+ function C(_) {
5786
+ i.value !== _ && (i.value = _);
5784
5787
  }
5785
5788
  return t({
5786
5789
  count: a,
@@ -5788,27 +5791,27 @@ const hp = ["src"], mp = ["src"], vp = {
5788
5791
  controlHeight: l,
5789
5792
  controlWidth: c,
5790
5793
  cardClicked: E,
5791
- isActive: _,
5792
- goNext: S,
5793
- goPrev: A,
5794
- indicatorClicked: P
5795
- }), (O, C) => (R(), B("div", Ep, [
5794
+ isActive: S,
5795
+ goNext: A,
5796
+ goPrev: P,
5797
+ indicatorClicked: C
5798
+ }), (_, k) => (R(), M("div", Ep, [
5796
5799
  oe("div", Sp, [
5797
- e.items.length > 1 ? (R(), B("a", {
5800
+ e.items.length > 1 ? (R(), M("a", {
5798
5801
  key: 0,
5799
5802
  href: "#",
5800
5803
  class: ee(["oval", "prev", { disabled: !f.value }]),
5801
- onClick: Gt(A, ["prevent"])
5802
- }, _p, 2)) : (R(), B("div", Tp)),
5804
+ onClick: Gt(P, ["prevent"])
5805
+ }, _p, 2)) : (R(), M("div", Tp)),
5803
5806
  Cp,
5804
5807
  oe("div", xp, [
5805
- (R(!0), B(rn, null, Po(h.value, ($, N) => (R(), B("span", {
5806
- key: "card_" + N,
5807
- class: ee(["key-image-span", { active: _(N) }])
5808
+ (R(!0), M(rn, null, Po(h.value, (I, B) => (R(), M("span", {
5809
+ key: "card_" + B,
5810
+ class: ee(["key-image-span", { active: S(B) }])
5808
5811
  }, [
5809
- $ ? (R(), Z(wp, {
5812
+ I ? (R(), Z(wp, {
5810
5813
  key: 0,
5811
- data: $,
5814
+ data: I,
5812
5815
  "body-style": e.bodyStyle,
5813
5816
  "image-container-style": e.imageContainerStyle,
5814
5817
  "image-style": e.imageStyle,
@@ -5816,17 +5819,18 @@ const hp = ["src"], mp = ["src"], vp = {
5816
5819
  height: y.value,
5817
5820
  shadow: e.shadow,
5818
5821
  "show-card-details": e.showCardDetails,
5819
- onCardClicked: E
5822
+ onCardClicked: E,
5823
+ onDatalinkClicked: O
5820
5824
  }, null, 8, ["data", "body-style", "image-container-style", "image-style", "width", "height", "shadow", "show-card-details"])) : G("", !0)
5821
5825
  ], 2))), 128))
5822
5826
  ]),
5823
5827
  Ap,
5824
- e.items.length > 1 ? (R(), B("a", {
5828
+ e.items.length > 1 ? (R(), M("a", {
5825
5829
  key: 2,
5826
5830
  href: "#",
5827
5831
  class: ee(["oval", "next", { disabled: !m.value }]),
5828
- onClick: Gt(S, ["prevent"])
5829
- }, Pp, 2)) : (R(), B("div", kp))
5832
+ onClick: Gt(A, ["prevent"])
5833
+ }, Pp, 2)) : (R(), M("div", kp))
5830
5834
  ]),
5831
5835
  oe("div", {
5832
5836
  style: Me(e.bottomSpacer)
@@ -5835,11 +5839,11 @@ const hp = ["src"], mp = ["src"], vp = {
5835
5839
  key: 0,
5836
5840
  count: u.value,
5837
5841
  current: i.value,
5838
- onClicked: P
5842
+ onClicked: C
5839
5843
  }, null, 8, ["count", "current"])) : G("", !0)
5840
5844
  ], 512));
5841
5845
  }
5842
- }, Fp = /* @__PURE__ */ Wn(Np, [["__scopeId", "data-v-1004a4da"]]);
5846
+ }, Fp = /* @__PURE__ */ Wn(Np, [["__scopeId", "data-v-e745b327"]]);
5843
5847
  export {
5844
5848
  Fp as default
5845
5849
  };