@lazycatcloud/lzc-toolkit 0.0.192 → 0.0.193

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { shallowRef as dt, watchEffect as Ot, readonly as ft, getCurrentScope as bt, onScopeDispose as _t, onMounted as ce, nextTick as Me, ref as h, watch as G, customRef as kt, unref as A, isRef as Qt, getCurrentInstance as Be, onUpdated as Yt, computed as z, reactive as Te, onUnmounted as vt, inject as ee, provide as P, defineComponent as q, h as ue, render as ye, openBlock as B, createBlock as Ee, Transition as Ue, withCtx as Re, withDirectives as re, createElementBlock as H, normalizeClass as se, createElementVNode as R, withModifiers as me, renderSlot as Ie, createCommentVNode as de, useCssVars as $e, normalizeProps as _e, guardReactiveProps as ke, pushScopeId as Ae, popScopeId as ze, normalizeStyle as K, toDisplayString as He, vShow as Le, createVNode as ge, onBeforeUnmount as Mt, onActivated as gt, onBeforeMount as Bt, onDeactivated as Ut, useSlots as Rt, toRef as $t, Fragment as Qe, mergeProps as he, renderList as Ht, toRefs as ht, createTextVNode as Pt } from "vue";
1
+ import { shallowRef as ft, watchEffect as Ot, readonly as dt, getCurrentScope as bt, onScopeDispose as _t, onMounted as ce, nextTick as Me, ref as h, watch as G, customRef as kt, unref as A, isRef as Qt, getCurrentInstance as Be, onUpdated as Yt, computed as z, reactive as Te, onUnmounted as vt, inject as ee, provide as P, defineComponent as q, h as ue, render as ye, openBlock as B, createBlock as Ee, Transition as Ue, withCtx as Re, withDirectives as re, createElementBlock as H, normalizeClass as se, createElementVNode as R, withModifiers as me, renderSlot as Ie, createCommentVNode as fe, useCssVars as $e, normalizeProps as _e, guardReactiveProps as ke, pushScopeId as Ae, popScopeId as ze, normalizeStyle as K, toDisplayString as He, vShow as Le, createVNode as ge, onBeforeUnmount as Mt, onActivated as gt, onBeforeMount as Bt, onDeactivated as Ut, useSlots as Rt, toRef as $t, Fragment as Qe, mergeProps as he, renderList as Ht, toRefs as ht, createTextVNode as Pt } from "vue";
2
2
  const Ft = {
3
3
  created(e, t) {
4
4
  let n, o;
@@ -8,7 +8,7 @@ const Ft = {
8
8
  function s(a) {
9
9
  if (a.button != 0 || n === void 0)
10
10
  return;
11
- const d = a.clientX, i = a.clientY, r = Math.abs(d - n), v = Math.abs(i - o);
11
+ const f = a.clientX, i = a.clientY, r = Math.abs(f - n), v = Math.abs(i - o);
12
12
  r > 5 || v > 5 || t.value && t.value(a);
13
13
  }
14
14
  e.__mouse_down__ = l, e.__mouse_up__ = s, e.addEventListener("mousedown", l), e.addEventListener("mouseup", s);
@@ -34,13 +34,13 @@ const Ft = {
34
34
  };
35
35
  function Wt(e, t) {
36
36
  var n;
37
- const o = dt();
37
+ const o = ft();
38
38
  return Ot(() => {
39
39
  o.value = e();
40
40
  }, {
41
41
  ...t,
42
42
  flush: (n = t?.flush) != null ? n : "sync"
43
- }), ft(o);
43
+ }), dt(o);
44
44
  }
45
45
  function Xt(e, t) {
46
46
  let n, o, l;
@@ -48,9 +48,9 @@ function Xt(e, t) {
48
48
  s.value = !0, l();
49
49
  };
50
50
  G(e, a, { flush: "sync" });
51
- const d = typeof t == "function" ? t : t.get, i = typeof t == "function" ? void 0 : t.set, r = kt((v, c) => (o = v, l = c, {
51
+ const f = typeof t == "function" ? t : t.get, i = typeof t == "function" ? void 0 : t.set, r = kt((v, c) => (o = v, l = c, {
52
52
  get() {
53
- return s.value && (n = d(), s.value = !1), o(), n;
53
+ return s.value && (n = f(), s.value = !1), o(), n;
54
54
  },
55
55
  set(g) {
56
56
  i?.(g);
@@ -66,7 +66,7 @@ function te(e) {
66
66
  }
67
67
  const yt = typeof window < "u" && typeof document < "u";
68
68
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
69
- const Zt = Object.prototype.toString, Vt = (e) => Zt.call(e) === "[object Object]", fe = () => {
69
+ const Zt = Object.prototype.toString, Vt = (e) => Zt.call(e) === "[object Object]", de = () => {
70
70
  };
71
71
  function pt(e, t) {
72
72
  function n(...o) {
@@ -77,34 +77,34 @@ function pt(e, t) {
77
77
  return n;
78
78
  }
79
79
  function Kt(e, t = {}) {
80
- let n, o, l = fe;
81
- const s = (d) => {
82
- clearTimeout(d), l(), l = fe;
80
+ let n, o, l = de;
81
+ const s = (f) => {
82
+ clearTimeout(f), l(), l = de;
83
83
  };
84
- return (d) => {
84
+ return (f) => {
85
85
  const i = te(e), r = te(t.maxWait);
86
- return n && s(n), i <= 0 || r !== void 0 && r <= 0 ? (o && (s(o), o = null), Promise.resolve(d())) : new Promise((v, c) => {
86
+ return n && s(n), i <= 0 || r !== void 0 && r <= 0 ? (o && (s(o), o = null), Promise.resolve(f())) : new Promise((v, c) => {
87
87
  l = t.rejectOnCancel ? c : v, r && !o && (o = setTimeout(() => {
88
- n && s(n), o = null, v(d());
88
+ n && s(n), o = null, v(f());
89
89
  }, r)), n = setTimeout(() => {
90
- o && s(o), o = null, v(d());
90
+ o && s(o), o = null, v(f());
91
91
  }, i);
92
92
  });
93
93
  };
94
94
  }
95
95
  function Gt(...e) {
96
- let t = 0, n, o = !0, l = fe, s, a, d, i, r;
97
- !Qt(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: d = !0, leading: i = !0, rejectOnCancel: r = !1 } = e[0] : [a, d = !0, i = !0, r = !1] = e;
96
+ let t = 0, n, o = !0, l = de, s, a, f, i, r;
97
+ !Qt(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: f = !0, leading: i = !0, rejectOnCancel: r = !1 } = e[0] : [a, f = !0, i = !0, r = !1] = e;
98
98
  const v = () => {
99
- n && (clearTimeout(n), n = void 0, l(), l = fe);
99
+ n && (clearTimeout(n), n = void 0, l(), l = de);
100
100
  };
101
101
  return (g) => {
102
- const f = te(a), u = Date.now() - t, M = () => s = g();
103
- return v(), f <= 0 ? (t = Date.now(), M()) : (u > f && (i || !o) ? (t = Date.now(), M()) : d && (s = new Promise((m, I) => {
102
+ const d = te(a), u = Date.now() - t, M = () => s = g();
103
+ return v(), d <= 0 ? (t = Date.now(), M()) : (u > d && (i || !o) ? (t = Date.now(), M()) : f && (s = new Promise((m, I) => {
104
104
  l = r ? I : m, n = setTimeout(() => {
105
105
  t = Date.now(), o = !0, m(M()), v();
106
- }, Math.max(0, f - u));
107
- })), !i && !n && (n = setTimeout(() => o = !0, f)), o = !1, s);
106
+ }, Math.max(0, d - u));
107
+ })), !i && !n && (n = setTimeout(() => o = !0, d)), o = !1, s);
108
108
  };
109
109
  }
110
110
  function qt(e) {
@@ -134,18 +134,18 @@ const xe = yt ? window : void 0, Jt = yt ? window.document : void 0;
134
134
  function Ne(...e) {
135
135
  let t, n, o, l;
136
136
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t = xe) : [t, n, o, l] = e, !t)
137
- return fe;
137
+ return de;
138
138
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
139
139
  const s = [], a = () => {
140
140
  s.forEach((v) => v()), s.length = 0;
141
- }, d = (v, c, g, f) => (v.addEventListener(c, g, f), () => v.removeEventListener(c, g, f)), i = G(
141
+ }, f = (v, c, g, d) => (v.addEventListener(c, g, d), () => v.removeEventListener(c, g, d)), i = G(
142
142
  () => [ie(t), te(l)],
143
143
  ([v, c]) => {
144
144
  if (a(), !v)
145
145
  return;
146
146
  const g = Vt(c) ? { ...c } : c;
147
147
  s.push(
148
- ...n.flatMap((f) => o.map((u) => d(v, f, u, g)))
148
+ ...n.flatMap((d) => o.map((u) => f(v, d, u, g)))
149
149
  );
150
150
  },
151
151
  { immediate: !0, flush: "post" }
@@ -174,12 +174,12 @@ function nn(e) {
174
174
  function We(e, t, n = {}) {
175
175
  const { window: o = xe, ...l } = n;
176
176
  let s;
177
- const a = tn(() => o && "ResizeObserver" in o), d = () => {
177
+ const a = tn(() => o && "ResizeObserver" in o), f = () => {
178
178
  s && (s.disconnect(), s = void 0);
179
179
  }, i = z(() => Array.isArray(e) ? e.map((c) => ie(c)) : [ie(e)]), r = G(
180
180
  i,
181
181
  (c) => {
182
- if (d(), a.value && o) {
182
+ if (f(), a.value && o) {
183
183
  s = new ResizeObserver(t);
184
184
  for (const g of c)
185
185
  g && s.observe(g, l);
@@ -187,7 +187,7 @@ function We(e, t, n = {}) {
187
187
  },
188
188
  { immediate: !0, flush: "post" }
189
189
  ), v = () => {
190
- d(), r();
190
+ f(), r();
191
191
  };
192
192
  return Pe(v), {
193
193
  isSupported: a,
@@ -198,32 +198,32 @@ function on(e, t = { width: 0, height: 0 }, n = {}) {
198
198
  const { window: o = xe, box: l = "content-box" } = n, s = z(() => {
199
199
  var c, g;
200
200
  return (g = (c = ie(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : g.includes("svg");
201
- }), a = h(t.width), d = h(t.height), { stop: i } = We(
201
+ }), a = h(t.width), f = h(t.height), { stop: i } = We(
202
202
  e,
203
203
  ([c]) => {
204
204
  const g = l === "border-box" ? c.borderBoxSize : l === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
205
205
  if (o && s.value) {
206
- const f = ie(e);
207
- if (f) {
208
- const u = o.getComputedStyle(f);
209
- a.value = Number.parseFloat(u.width), d.value = Number.parseFloat(u.height);
206
+ const d = ie(e);
207
+ if (d) {
208
+ const u = o.getComputedStyle(d);
209
+ a.value = Number.parseFloat(u.width), f.value = Number.parseFloat(u.height);
210
210
  }
211
211
  } else if (g) {
212
- const f = Array.isArray(g) ? g : [g];
213
- a.value = f.reduce((u, { inlineSize: M }) => u + M, 0), d.value = f.reduce((u, { blockSize: M }) => u + M, 0);
212
+ const d = Array.isArray(g) ? g : [g];
213
+ a.value = d.reduce((u, { inlineSize: M }) => u + M, 0), f.value = d.reduce((u, { blockSize: M }) => u + M, 0);
214
214
  } else
215
- a.value = c.contentRect.width, d.value = c.contentRect.height;
215
+ a.value = c.contentRect.width, f.value = c.contentRect.height;
216
216
  },
217
217
  n
218
218
  );
219
219
  Fe(() => {
220
220
  const c = ie(e);
221
- c && (a.value = "offsetWidth" in c ? c.offsetWidth : t.width, d.value = "offsetHeight" in c ? c.offsetHeight : t.height);
221
+ c && (a.value = "offsetWidth" in c ? c.offsetWidth : t.width, f.value = "offsetHeight" in c ? c.offsetHeight : t.height);
222
222
  });
223
223
  const r = G(
224
224
  () => ie(e),
225
225
  (c) => {
226
- a.value = c ? t.width : 0, d.value = c ? t.height : 0;
226
+ a.value = c ? t.width : 0, f.value = c ? t.height : 0;
227
227
  }
228
228
  );
229
229
  function v() {
@@ -231,7 +231,7 @@ function on(e, t = { width: 0, height: 0 }, n = {}) {
231
231
  }
232
232
  return {
233
233
  width: a,
234
- height: d,
234
+ height: f,
235
235
  stop: v
236
236
  };
237
237
  }
@@ -240,15 +240,15 @@ function ln(e, t = {}) {
240
240
  const {
241
241
  throttle: n = 0,
242
242
  idle: o = 200,
243
- onStop: l = fe,
244
- onScroll: s = fe,
243
+ onStop: l = de,
244
+ onScroll: s = de,
245
245
  offset: a = {
246
246
  left: 0,
247
247
  right: 0,
248
248
  top: 0,
249
249
  bottom: 0
250
250
  },
251
- eventListenerOptions: d = {
251
+ eventListenerOptions: f = {
252
252
  capture: !1,
253
253
  passive: !0
254
254
  },
@@ -257,7 +257,7 @@ function ln(e, t = {}) {
257
257
  onError: v = (N) => {
258
258
  console.error(N);
259
259
  }
260
- } = t, c = h(0), g = h(0), f = z({
260
+ } = t, c = h(0), g = h(0), d = z({
261
261
  get() {
262
262
  return c.value;
263
263
  },
@@ -279,7 +279,7 @@ function ln(e, t = {}) {
279
279
  const E = te(e);
280
280
  !E || (p = E instanceof Document ? r.document.body : E) == null || p.scrollTo({
281
281
  top: (Y = te(C)) != null ? Y : u.value,
282
- left: (X = te(N)) != null ? X : f.value,
282
+ left: (X = te(N)) != null ? X : d.value,
283
283
  behavior: te(i)
284
284
  });
285
285
  }
@@ -318,7 +318,7 @@ function ln(e, t = {}) {
318
318
  e,
319
319
  "scroll",
320
320
  n ? Ye(O, n, !0, !1) : O,
321
- d
321
+ f
322
322
  ), Fe(() => {
323
323
  try {
324
324
  const N = te(e);
@@ -332,9 +332,9 @@ function ln(e, t = {}) {
332
332
  e,
333
333
  "scrollend",
334
334
  y,
335
- d
335
+ f
336
336
  ), {
337
- x: f,
337
+ x: d,
338
338
  y: u,
339
339
  isScrolling: m,
340
340
  arrivedState: I,
@@ -352,7 +352,7 @@ function Xe(e, t = {}) {
352
352
  immediate: l = !0,
353
353
  manual: s = !1,
354
354
  id: a = `vueuse_styletag_${++sn}`
355
- } = t, d = h(e);
355
+ } = t, f = h(e);
356
356
  let i = () => {
357
357
  };
358
358
  const r = () => {
@@ -360,7 +360,7 @@ function Xe(e, t = {}) {
360
360
  return;
361
361
  const c = o.getElementById(a) || o.createElement("style");
362
362
  c.isConnected || (c.id = a, t.media && (c.media = t.media), o.head.appendChild(c)), !n.value && (i = G(
363
- d,
363
+ f,
364
364
  (g) => {
365
365
  c.textContent = g;
366
366
  },
@@ -371,10 +371,10 @@ function Xe(e, t = {}) {
371
371
  };
372
372
  return l && !s && Fe(r), s || Pe(v), {
373
373
  id: a,
374
- css: d,
374
+ css: f,
375
375
  unload: v,
376
376
  load: r,
377
- isLoaded: ft(n)
377
+ isLoaded: dt(n)
378
378
  };
379
379
  }
380
380
  function an(e, t, n) {
@@ -386,15 +386,15 @@ function an(e, t, n) {
386
386
  };
387
387
  }
388
388
  function un(e, t) {
389
- const { scrollEndHook: n, itemHeight: o, overscan: l = 5 } = t, s = h(null), a = on(s), d = h(!0), i = je(j, 100);
389
+ const { scrollEndHook: n, itemHeight: o, overscan: l = 5 } = t, s = h(null), a = on(s), f = h(!0), i = je(j, 100);
390
390
  let r;
391
- const v = dt(e), c = h(0), g = h({ start: 0, end: 10 }), f = h({ start: 0, end: l });
391
+ const v = ft(e), c = h(0), g = h({ start: 0, end: 10 }), d = h({ start: 0, end: l });
392
392
  let u = 0;
393
393
  const M = h([]), m = z(() => {
394
394
  let { sum: w, height: L } = { sum: 0, height: 0 };
395
395
  return v.value.map((U, $) => (typeof o == "number" ? L = o : L = o($), w += L, { height: L, sum: w }));
396
396
  }), I = z(() => X(g.value.start)), T = z(() => typeof o == "number" ? m.value.length * o : m.value[m.value.length - 1]?.sum || 0), y = z(() => {
397
- const { start: w, end: L } = f.value;
397
+ const { start: w, end: L } = d.value;
398
398
  return M.value.slice(w, L);
399
399
  });
400
400
  ce(() => {
@@ -414,10 +414,10 @@ function un(e, t) {
414
414
  D(), i();
415
415
  });
416
416
  function D() {
417
- d.value = !1;
417
+ f.value = !1;
418
418
  }
419
419
  function j() {
420
- d.value = !0, n?.();
420
+ f.value = !0, n?.();
421
421
  }
422
422
  function O() {
423
423
  cancelAnimationFrame(r), r = requestAnimationFrame(N);
@@ -434,7 +434,7 @@ function un(e, t) {
434
434
  g.value = { start: L, end: U }, M.value = v.value.slice(L, U).map(($, b) => ({
435
435
  data: $,
436
436
  index: b + L
437
- })), f.value.start = w - L, f.value.end = f.value.start + u;
437
+ })), d.value.start = w - L, d.value.end = d.value.start + u;
438
438
  }
439
439
  }
440
440
  function C(w) {
@@ -478,7 +478,7 @@ function un(e, t) {
478
478
  style: {
479
479
  width: "100%",
480
480
  height: `${T.value}px`,
481
- pointerEvents: d.value ? void 0 : "none"
481
+ pointerEvents: f.value ? void 0 : "none"
482
482
  }
483
483
  })), Q = z(() => ({
484
484
  style: {
@@ -497,7 +497,7 @@ function un(e, t) {
497
497
  clientHeight: a.height,
498
498
  scrollTo: E,
499
499
  scrollTop: c,
500
- isScrollEnd: d,
500
+ isScrollEnd: f,
501
501
  containerProps: {
502
502
  ref: s,
503
503
  onScroll: () => {
@@ -518,22 +518,22 @@ function So() {
518
518
  boolRef: z(() => !1),
519
519
  numberRef: z(() => 0),
520
520
  arrayRef: z(() => [])
521
- }, s = ee(Dt, "id"), a = ee(Ge, l), d = ee(Ke, t), i = ee(tt, n), r = ee(Ve, e), v = ee(Ze, e), c = ee(qe, e), g = ee(Je, e), f = ee(et, e), u = ee(pe, e), M = ee(nt, o);
521
+ }, s = ee(Dt, "id"), a = ee(Ge, l), f = ee(Ke, t), i = ee(tt, n), r = ee(Ve, e), v = ee(Ze, e), c = ee(qe, e), g = ee(Je, e), d = ee(et, e), u = ee(pe, e), M = ee(nt, o);
522
522
  return {
523
523
  itemKey: s,
524
524
  selected: a,
525
- isSelected: d,
525
+ isSelected: f,
526
526
  isAllSelected: i,
527
527
  toggle: r,
528
528
  toggleAll: v,
529
529
  select: c,
530
530
  selectAll: g,
531
- unselect: f,
531
+ unselect: d,
532
532
  unselectAll: u,
533
533
  selectedCount: M
534
534
  };
535
535
  }
536
- function Oo(e, t, n = { deep: !0 }) {
536
+ function Oo(e, t, n = { deep: !0, useAllFlagOptimizatiofn: !0 }) {
537
537
  const o = h(!1), l = h(/* @__PURE__ */ new Set()), s = h(/* @__PURE__ */ new Map());
538
538
  G(
539
539
  e,
@@ -556,7 +556,7 @@ function Oo(e, t, n = { deep: !0 }) {
556
556
  });
557
557
  }
558
558
  return y;
559
- }), d = z(() => {
559
+ }), f = z(() => {
560
560
  let y = 0;
561
561
  return o.value != null ? o.value && (y = s.value.size) : y = l.value.size, y;
562
562
  }), i = z(() => {
@@ -585,7 +585,7 @@ function Oo(e, t, n = { deep: !0 }) {
585
585
  });
586
586
  });
587
587
  }
588
- function f(y) {
588
+ function d(y) {
589
589
  M(() => {
590
590
  y.forEach((D) => {
591
591
  l.value.delete(D[t]);
@@ -596,7 +596,7 @@ function Oo(e, t, n = { deep: !0 }) {
596
596
  return o.value != null ? o.value : l.value.has(y[t]);
597
597
  }
598
598
  function M(y) {
599
- o.value != null && (o.value ? l.value = new Set(Array.from(s.value.keys())) : l.value = /* @__PURE__ */ new Set()), y(), l.value.size == 0 ? o.value = !1 : l.value.size == s.value.size ? o.value = !0 : o.value = null;
599
+ o.value != null && (o.value ? l.value = new Set(Array.from(s.value.keys())) : l.value = /* @__PURE__ */ new Set()), y(), n.useAllFlagOptimizatiofn ? l.value.size == 0 ? o.value = !1 : l.value.size == s.value.size ? o.value = !0 : o.value = null : o.value = null;
600
600
  }
601
601
  function m(y) {
602
602
  M(() => {
@@ -615,17 +615,17 @@ function Oo(e, t, n = { deep: !0 }) {
615
615
  s.value.get(D) || y.push(D);
616
616
  }), y.forEach((D) => l.value.delete(D));
617
617
  }
618
- return P(Dt, t), P(Ze, I), P(Ve, m), P(Ke, u), P(Ge, a), P(qe, g), P(Je, r), P(et, f), P(tt, i), P(pe, v), P(pe, v), P(nt, d), {
618
+ return P(Dt, t), P(Ze, I), P(Ve, m), P(Ke, u), P(Ge, a), P(qe, g), P(Je, r), P(et, d), P(tt, i), P(pe, v), P(pe, v), P(nt, f), {
619
619
  selected: a,
620
620
  select: g,
621
621
  selectAll: r,
622
- unselect: f,
622
+ unselect: d,
623
623
  unselectAll: v,
624
624
  toggle: m,
625
625
  toggleAll: I,
626
626
  isSelected: u,
627
627
  isAllSelected: i,
628
- selectedCount: d
628
+ selectedCount: f
629
629
  };
630
630
  }
631
631
  function bo(e) {
@@ -648,7 +648,7 @@ function bo(e) {
648
648
  function a() {
649
649
  t.value = !0;
650
650
  }
651
- function d() {
651
+ function f() {
652
652
  t.value = !1;
653
653
  }
654
654
  function i(u) {
@@ -678,18 +678,18 @@ function bo(e) {
678
678
  });
679
679
  });
680
680
  }
681
- function f() {
681
+ function d() {
682
682
  const { value: u } = s;
683
- u ? d() : a();
683
+ u ? f() : a();
684
684
  }
685
- return P(Ze, f), P(Ve, g), P(Ke, v), P(Ge, o), P(qe, i), P(Je, a), P(et, r), P(tt, s), P(pe, d), P(pe, d), P(nt, l), {
685
+ return P(Ze, d), P(Ve, g), P(Ke, v), P(Ge, o), P(qe, i), P(Je, a), P(et, r), P(tt, s), P(pe, f), P(pe, f), P(nt, l), {
686
686
  selected: o,
687
687
  select: i,
688
688
  selectAll: a,
689
689
  unselect: r,
690
- unselectAll: d,
690
+ unselectAll: f,
691
691
  toggle: g,
692
- toggleAll: f,
692
+ toggleAll: d,
693
693
  isSelected: v,
694
694
  isAllSelected: s,
695
695
  selectedCount: l
@@ -710,13 +710,13 @@ function Tt({
710
710
  }) {
711
711
  const {
712
712
  select: a = Se("\u9009\u62E9"),
713
- unselect: d = Se("\u53D6\u6D88\u9009\u62E9"),
713
+ unselect: f = Se("\u53D6\u6D88\u9009\u62E9"),
714
714
  unselectAll: i = Se("\u53D6\u6D88\u5168\u9009")
715
715
  } = s();
716
716
  let r = {};
717
717
  const v = z(
718
718
  () => Ye(o === "colum" ? jt : xt, 50)
719
- ), c = z(() => e ?? n), g = (() => t ? (x) => t(x) : (x) => x)(), f = /* @__PURE__ */ new Set(), u = h(!0), M = h(), m = h(!1), I = h({ x: 0, y: 0 }), T = h({ x: 0, y: 0, scrollTop: 0 }), y = new ResizeObserver(
719
+ ), c = z(() => e ?? n), g = (() => t ? (x) => t(x) : (x) => x)(), d = /* @__PURE__ */ new Set(), u = h(!0), M = h(), m = h(!1), I = h({ x: 0, y: 0 }), T = h({ x: 0, y: 0, scrollTop: 0 }), y = new ResizeObserver(
720
720
  (x) => D.value = x[0].target.getBoundingClientRect()
721
721
  ), D = h({}), j = h({
722
722
  top: 0,
@@ -783,7 +783,7 @@ function Tt({
783
783
  function J(x, _) {
784
784
  u.value = !0, m.value = !0, j.value.sync(!0);
785
785
  const Z = _ + j.value.top;
786
- I.value.x = x, I.value.y = Z, T.value.x = x, T.value.y = Z, M.value?.classList.add("disable-scroll-behavior"), f.clear();
786
+ I.value.x = x, I.value.y = Z, T.value.x = x, T.value.y = Z, M.value?.classList.add("disable-scroll-behavior"), d.clear();
787
787
  }
788
788
  function V(x, _, Z) {
789
789
  !m.value || (u.value && o === "colum" && !De() && (N.value || i(), u.value = !1), Z?.(), L(_), T.value.x = Math.max(x, D.value.left), T.value.y = Math.min(
@@ -810,7 +810,7 @@ function Tt({
810
810
  De() || M.value?.querySelectorAll(`[${n}]`).forEach((x) => {
811
811
  r[c.value] = g(
812
812
  x.getAttribute(`${n}`)
813
- ), $(x.getBoundingClientRect()) ? a([r]) : N.value || d([r]);
813
+ ), $(x.getBoundingClientRect()) ? a([r]) : N.value || f([r]);
814
814
  });
815
815
  }
816
816
  function xt() {
@@ -818,10 +818,10 @@ function Tt({
818
818
  let _ = null, Z = 0;
819
819
  M.value?.querySelectorAll(`[${n}]`).forEach((W, le) => {
820
820
  const ve = g(W.getAttribute(`${n}`));
821
- x.push(ve), $(W.getBoundingClientRect()) ? (_ === null && (_ = le), _ = Math.min(_, le), Z = Math.max(Z, le)) : (r[c.value] = ve, f.has(ve) && d([r]));
821
+ x.push(ve), $(W.getBoundingClientRect()) ? (_ === null && (_ = le), _ = Math.min(_, le), Z = Math.max(Z, le)) : (r[c.value] = ve, d.has(ve) && f([r]));
822
822
  });
823
823
  for (let W = _; W < Z + 1; W++)
824
- r[c.value] = x[W], a([r]), f.add(x[W]);
824
+ r[c.value] = x[W], a([r]), d.add(x[W]);
825
825
  }
826
826
  function Ct(x) {
827
827
  return !x?.value || (M.value = x.value, !M?.value) ? !1 : (y.observe(M.value), F(".disable-scroll-behavior", "scroll-behavior: unset !important;"), !0);
@@ -847,7 +847,7 @@ function _o(e, t = !1) {
847
847
  const n = Tt(e), { observer: o, selectRange: l } = n, {
848
848
  onScroll: s,
849
849
  dragStart: a,
850
- dragMove: d,
850
+ dragMove: f,
851
851
  dragEnd: i,
852
852
  cancelSelectAllBySingleClick: r
853
853
  } = n, v = z(() => ({
@@ -872,11 +872,11 @@ function _o(e, t = !1) {
872
872
  });
873
873
  }
874
874
  });
875
- function f(T) {
875
+ function d(T) {
876
876
  T.button === 0 && (t && (T.ctrlKey || T.metaKey) && (n.incrementalSelect.value = !0), a(T.x, T.y), window.addEventListener("mousemove", u), window.addEventListener("mouseup", M));
877
877
  }
878
878
  function u(T) {
879
- d(T.x, T.y);
879
+ f(T.x, T.y);
880
880
  }
881
881
  function M(T) {
882
882
  window.removeEventListener("mousemove", u), window.removeEventListener("mouseup", M), T.composedPath().some(
@@ -891,13 +891,13 @@ function _o(e, t = !1) {
891
891
  throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
892
892
  if (!n.containerEl?.value)
893
893
  return !1;
894
- ye(ue(g), n.containerEl.value), c(), n.containerEl.value?.addEventListener("scroll", s), n.containerEl.value?.addEventListener("mousedown", f);
894
+ ye(ue(g), n.containerEl.value), c(), n.containerEl.value?.addEventListener("scroll", s), n.containerEl.value?.addEventListener("mousedown", d);
895
895
  } catch (y) {
896
896
  console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", y);
897
897
  }
898
898
  }
899
899
  function I() {
900
- o.disconnect(), n.containerEl.value?.removeEventListener("scroll", s), n.containerEl.value?.removeEventListener("mousedown", f);
900
+ o.disconnect(), n.containerEl.value?.removeEventListener("scroll", s), n.containerEl.value?.removeEventListener("mousedown", d);
901
901
  }
902
902
  return { init: m, unMount: I };
903
903
  }
@@ -909,7 +909,7 @@ function ko(e, t, n = 600) {
909
909
  startSpeed: 5,
910
910
  maxSpeed: 5
911
911
  }
912
- }), { observer: l } = o, { onScroll: s, dragStart: a, dragMove: d, dragEnd: i } = o;
912
+ }), { observer: l } = o, { onScroll: s, dragStart: a, dragMove: f, dragEnd: i } = o;
913
913
  let r;
914
914
  function v() {
915
915
  clearTimeout(r);
@@ -917,15 +917,15 @@ function ko(e, t, n = 600) {
917
917
  function c(m) {
918
918
  v(), m.composedPath().some((T) => !!T?.getAttribute?.(e.attribute)) && (r = setTimeout(() => {
919
919
  const { clientX: T, clientY: y } = m.targetTouches[0];
920
- a(T, y), t?.(), d(T, y, () => m.preventDefault()), m.preventDefault();
920
+ a(T, y), t?.(), f(T, y, () => m.preventDefault()), m.preventDefault();
921
921
  }, n));
922
922
  }
923
923
  function g(m) {
924
924
  v();
925
925
  const { clientX: I, clientY: T } = m.targetTouches[0];
926
- d(I, T, () => m.preventDefault());
926
+ f(I, T, () => m.preventDefault());
927
927
  }
928
- function f() {
928
+ function d() {
929
929
  v(), i();
930
930
  }
931
931
  function u(m) {
@@ -934,13 +934,13 @@ function ko(e, t, n = 600) {
934
934
  throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
935
935
  if (!o.containerEl?.value)
936
936
  return !1;
937
- o.containerEl.value?.addEventListener("scroll", s), o.containerEl.value?.addEventListener("touchstart", c), o.containerEl.value?.addEventListener("touchmove", g), window.addEventListener("touchcancel", f), window.addEventListener("touchend", f);
937
+ o.containerEl.value?.addEventListener("scroll", s), o.containerEl.value?.addEventListener("touchstart", c), o.containerEl.value?.addEventListener("touchmove", g), window.addEventListener("touchcancel", d), window.addEventListener("touchend", d);
938
938
  } catch (I) {
939
939
  console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", I);
940
940
  }
941
941
  }
942
942
  function M() {
943
- l.disconnect(), o.containerEl.value?.removeEventListener("scroll", s), o.containerEl.value?.removeEventListener("touchstart", c), o.containerEl.value?.removeEventListener("touchmove", g), window.removeEventListener("touchcancel", f), window.removeEventListener("touchEnd", f);
943
+ l.disconnect(), o.containerEl.value?.removeEventListener("scroll", s), o.containerEl.value?.removeEventListener("touchstart", c), o.containerEl.value?.removeEventListener("touchmove", g), window.removeEventListener("touchcancel", d), window.removeEventListener("touchEnd", d);
944
944
  }
945
945
  return { init: u, unMount: M };
946
946
  }
@@ -974,7 +974,7 @@ const rn = Symbol(), cn = /* @__PURE__ */ q({
974
974
  ], 34)
975
975
  ], 2)), [
976
976
  [A(Ft), () => o()]
977
- ]) : de("", !0)
977
+ ]) : fe("", !0)
978
978
  ]),
979
979
  _: 3
980
980
  }));
@@ -985,13 +985,13 @@ const ne = (e, t) => {
985
985
  for (const [o, l] of t)
986
986
  n[o] = l;
987
987
  return n;
988
- }, dn = /* @__PURE__ */ ne(cn, [["__scopeId", "data-v-3d61e60a"]]);
988
+ }, fn = /* @__PURE__ */ ne(cn, [["__scopeId", "data-v-3d61e60a"]]);
989
989
  function Qo(e) {
990
990
  function t(n, o) {
991
991
  const l = document.createElement("div"), s = {
992
992
  setup() {
993
993
  return () => ue(
994
- dn,
994
+ fn,
995
995
  {
996
996
  visiable: !0,
997
997
  "onUpdate:visiable": () => {
@@ -1031,9 +1031,9 @@ function Nt({
1031
1031
  }`
1032
1032
  ), { LoadingComp: q({
1033
1033
  setup() {
1034
- const d = nn();
1034
+ const f = nn();
1035
1035
  return ce(() => {
1036
- d.value?.classList?.add(l);
1036
+ f.value?.classList?.add(l);
1037
1037
  }), () => ue(e, t);
1038
1038
  }
1039
1039
  }) };
@@ -1056,7 +1056,7 @@ function Yo({
1056
1056
  }
1057
1057
  return { LoadingComp: o, loading: l, load: s, unload: a };
1058
1058
  }
1059
- const fn = (e) => (Ae("data-v-92a1804d"), e = e(), ze(), e), vn = /* @__PURE__ */ fn(() => /* @__PURE__ */ R("div", { class: "ldio-mm5gwljcryb" }, [
1059
+ const dn = (e) => (Ae("data-v-92a1804d"), e = e(), ze(), e), vn = /* @__PURE__ */ dn(() => /* @__PURE__ */ R("div", { class: "ldio-mm5gwljcryb" }, [
1060
1060
  /* @__PURE__ */ R("div")
1061
1061
  ], -1)), Mn = [
1062
1062
  vn
@@ -1135,7 +1135,7 @@ const Tn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1135
1135
  let r = {};
1136
1136
  return n.showClose && !n.icon && (r.paddingRight = "16px"), r;
1137
1137
  });
1138
- function d() {
1138
+ function f() {
1139
1139
  n.closeOnClickOverlay && t("close");
1140
1140
  }
1141
1141
  function i() {
@@ -1152,7 +1152,7 @@ const Tn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1152
1152
  }, [
1153
1153
  re(R("div", {
1154
1154
  class: se(`${o} ${e.className}`),
1155
- onClick: me(d, ["stop"])
1155
+ onClick: me(f, ["stop"])
1156
1156
  }, [
1157
1157
  R("div", {
1158
1158
  class: se(`${o}-wrap`),
@@ -1167,17 +1167,17 @@ const Tn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1167
1167
  onClick: v[0] || (v[0] = me((c) => t("close"), ["stop"])),
1168
1168
  src: A(Tn),
1169
1169
  class: se(`${o}-close`)
1170
- }, null, 10, In)) : de("", !0),
1170
+ }, null, 10, In)) : fe("", !0),
1171
1171
  e.showIcon ? (B(), H("img", {
1172
1172
  key: 1,
1173
1173
  src: e.icon || A(Nn),
1174
1174
  class: se(`${o}-icon`)
1175
- }, null, 10, An)) : de("", !0),
1175
+ }, null, 10, An)) : fe("", !0),
1176
1176
  e.message ? (B(), H("div", {
1177
1177
  key: 2,
1178
1178
  class: se(`${o}-message`),
1179
1179
  style: K(A(a))
1180
- }, He(e.message), 7)) : de("", !0)
1180
+ }, He(e.message), 7)) : fe("", !0)
1181
1181
  ], 6)
1182
1182
  ], 10, En)
1183
1183
  ], 10, wn), [
@@ -1223,7 +1223,7 @@ class jn {
1223
1223
  }
1224
1224
  }
1225
1225
  function Uo(e, t) {
1226
- const n = !!t?.debug, o = t?.printErrorLog !== !1, l = t?.loading !== !1, s = t?.autoClose !== !1, a = t?.delay !== void 0 ? t.delay : 300, d = t?.hook !== void 0 ? t.hook : !0, i = {
1226
+ const n = !!t?.debug, o = t?.printErrorLog !== !1, l = t?.loading !== !1, s = t?.autoClose !== !1, a = t?.delay !== void 0 ? t.delay : 300, f = t?.hook !== void 0 ? t.hook : !0, i = {
1227
1227
  ...t,
1228
1228
  showIcon: t?.showIcon !== !1,
1229
1229
  captureEventP: t?.captureEventP === !0
@@ -1250,35 +1250,35 @@ function Uo(e, t) {
1250
1250
  try {
1251
1251
  n && console.time("useDelayAsync - handler-execute-time");
1252
1252
  const M = await e(...u);
1253
- return n && console.log("useDelayAsync - execute res: ", M), n && console.timeEnd("useDelayAsync - handler-execute-time"), await f(s), await t?.onSuccess?.(M, [...u]), M;
1253
+ return n && console.log("useDelayAsync - execute res: ", M), n && console.timeEnd("useDelayAsync - handler-execute-time"), await d(s), await t?.onSuccess?.(M, [...u]), M;
1254
1254
  } catch (M) {
1255
- n && console.timeEnd("useDelayAsync - handler-execute-time"), o && console.error(M), await f(s), await t?.onError?.(M, [...u]);
1255
+ n && console.timeEnd("useDelayAsync - handler-execute-time"), o && console.error(M), await d(s), await t?.onError?.(M, [...u]);
1256
1256
  }
1257
1257
  }
1258
1258
  }
1259
- async function f(u = !0) {
1259
+ async function d(u = !0) {
1260
1260
  n && console.log("useDelayAsync - close - closeLoading: ", u), r.value = !1, v && clearTimeout(v), v = null, u && await c.destory();
1261
1261
  }
1262
- return d && Mt(() => {
1263
- n && console.log("useDelayAsync - onBeforeUnmount - close"), f();
1262
+ return f && Mt(() => {
1263
+ n && console.log("useDelayAsync - onBeforeUnmount - close"), d();
1264
1264
  }), {
1265
1265
  processing: r,
1266
1266
  handler: g,
1267
- close: f
1267
+ close: d
1268
1268
  };
1269
1269
  }
1270
1270
  function xn(e, t) {
1271
1271
  return e > t ? "horizontal" : t > e ? "vertical" : "";
1272
1272
  }
1273
1273
  function Cn() {
1274
- const e = h(0), t = h(0), n = h(0), o = h(0), l = h(0), s = h(0), a = h(""), d = () => a.value === "vertical", i = () => a.value === "horizontal", r = () => {
1274
+ const e = h(0), t = h(0), n = h(0), o = h(0), l = h(0), s = h(0), a = h(""), f = () => a.value === "vertical", i = () => a.value === "horizontal", r = () => {
1275
1275
  n.value = 0, o.value = 0, l.value = 0, s.value = 0, a.value = "";
1276
1276
  };
1277
- function v(g, f) {
1278
- r(), e.value = g, t.value = f;
1277
+ function v(g, d) {
1278
+ r(), e.value = g, t.value = d;
1279
1279
  }
1280
- function c(g, f) {
1281
- n.value = (g < 0 ? 0 : g) - e.value, o.value = f - t.value, l.value = Math.abs(n.value), s.value = Math.abs(o.value);
1280
+ function c(g, d) {
1281
+ n.value = (g < 0 ? 0 : g) - e.value, o.value = d - t.value, l.value = Math.abs(n.value), s.value = Math.abs(o.value);
1282
1282
  const u = 10;
1283
1283
  (!a.value || l.value < u && s.value < u) && (a.value = xn(l.value, s.value));
1284
1284
  }
@@ -1293,7 +1293,7 @@ function Cn() {
1293
1293
  offsetX: l,
1294
1294
  offsetY: s,
1295
1295
  direction: a,
1296
- isVertical: d,
1296
+ isVertical: f,
1297
1297
  isHorizontal: i
1298
1298
  };
1299
1299
  }
@@ -1304,9 +1304,9 @@ function On(e) {
1304
1304
  function l() {
1305
1305
  n = Date.now();
1306
1306
  }
1307
- async function s(a, d) {
1307
+ async function s(a, f) {
1308
1308
  const i = Date.now() - n;
1309
- a < ut && d < ut && (i < it ? t ? o ? (clearTimeout(o), o = null, e.onDoubleTap?.()) : o = setTimeout(async () => {
1309
+ a < ut && f < ut && (i < it ? t ? o ? (clearTimeout(o), o = null, e.onDoubleTap?.()) : o = setTimeout(async () => {
1310
1310
  e.onTap?.(), o = null;
1311
1311
  }, it) : e.onTap?.() : i > Sn && e.onLongPress?.());
1312
1312
  }
@@ -1356,7 +1356,7 @@ function Qn(e) {
1356
1356
  };
1357
1357
  }
1358
1358
  function wt(e) {
1359
- const t = h(!1), n = h(1), o = h(9), l = h(), s = h(), a = h({ width: 0, height: 0 }), d = h({ width: 0, height: 0 }), i = Te({
1359
+ const t = h(!1), n = h(1), o = h(9), l = h(), s = h(), a = h({ width: 0, height: 0 }), f = h({ width: 0, height: 0 }), i = Te({
1360
1360
  level: 1,
1361
1361
  offsetX: 0,
1362
1362
  offsetY: 0,
@@ -1378,16 +1378,16 @@ function wt(e) {
1378
1378
  e.onLongPress?.();
1379
1379
  }
1380
1380
  });
1381
- We(s, (p) => f(p)), G(
1381
+ We(s, (p) => d(p)), G(
1382
1382
  [l, s],
1383
1383
  ([p, E]) => {
1384
1384
  u(p, E);
1385
1385
  },
1386
1386
  { immediate: !0 }
1387
1387
  );
1388
- async function f(p) {
1388
+ async function d(p) {
1389
1389
  const [E] = p;
1390
- E.contentRect.width == d.value.width && E.contentRect.height == d.value.height || (await u(l.value), await m(i.level, !0));
1390
+ E.contentRect.width == f.value.width && E.contentRect.height == f.value.height || (await u(l.value), await m(i.level, !0));
1391
1391
  }
1392
1392
  async function u(p, E) {
1393
1393
  await C(p, E), p && Y();
@@ -1425,8 +1425,8 @@ function wt(e) {
1425
1425
  return;
1426
1426
  i.preview && await M(), E || (E = { x: v.startX.value, y: v.startY.value });
1427
1427
  const { value: Q } = r, { width: k, height: w } = a.value, { scaleW: L, scaleH: U } = O(p), { top: $, left: b } = N(L, U), F = p / i.level, J = {
1428
- left: Math.abs(k * p - d.value.width) * -1,
1429
- top: Math.abs(w * p - d.value.height) * -1,
1428
+ left: Math.abs(k * p - f.value.width) * -1,
1429
+ top: Math.abs(w * p - f.value.height) * -1,
1430
1430
  right: b,
1431
1431
  bottom: $
1432
1432
  };
@@ -1450,7 +1450,7 @@ function wt(e) {
1450
1450
  i.level >= n.value && i.level <= o.value ? i.zooming && await m() : i.level < n.value ? await I(n.value, void 0, !0) : i.level > o.value && await I(o.value, i.lastCenter, !0), i.zooming = !1;
1451
1451
  }
1452
1452
  function j() {
1453
- const { width: p, height: E } = a.value, { width: S, height: Q } = d.value, k = 2.5;
1453
+ const { width: p, height: E } = a.value, { width: S, height: Q } = f.value, k = 2.5;
1454
1454
  let w;
1455
1455
  return E == Q ? (w = S / p, w - 1 < 0.1 && (w = k)) : w = Math.max(k, S / p, Q / E), w;
1456
1456
  }
@@ -1462,7 +1462,7 @@ function wt(e) {
1462
1462
  };
1463
1463
  }
1464
1464
  function N(p, E) {
1465
- const { width: S, height: Q } = d.value, k = Math.max(0, (Q - E) * 0.5), w = Math.max(0, (S - p) * 0.5);
1465
+ const { width: S, height: Q } = f.value, k = Math.max(0, (Q - E) * 0.5), w = Math.max(0, (S - p) * 0.5);
1466
1466
  return { top: k, left: w };
1467
1467
  }
1468
1468
  async function C(p, E) {
@@ -1482,7 +1482,7 @@ function wt(e) {
1482
1482
  (Q === 0 || k === 0) && (Q = a.value.width || w, k = a.value.height || L), a.value = {
1483
1483
  width: Math.min(Q, w),
1484
1484
  height: Math.min(k, L)
1485
- }, d.value = { width: w, height: L }, m(void 0, !0);
1485
+ }, f.value = { width: w, height: L }, m(void 0, !0);
1486
1486
  }
1487
1487
  function Y() {
1488
1488
  const p = j();
@@ -1510,19 +1510,19 @@ function wt(e) {
1510
1510
  }
1511
1511
  function Et(e, t) {
1512
1512
  const { state: n, touch: o, transition: l, containerRef: s } = e, a = ln(s);
1513
- let d, i;
1513
+ let f, i;
1514
1514
  function r(g) {
1515
- d = g;
1515
+ f = g;
1516
1516
  }
1517
1517
  function v(g) {
1518
- return d == g;
1518
+ return f == g;
1519
1519
  }
1520
- function c(g, f, u, M) {
1520
+ function c(g, d, u, M) {
1521
1521
  a.measure();
1522
1522
  const { top: m, left: I, right: T, bottom: y } = a.arrivedState;
1523
1523
  if (g == "start")
1524
1524
  i = m || I || T || y;
1525
- else if (d == 2)
1525
+ else if (f == 2)
1526
1526
  i = !1;
1527
1527
  else if (i) {
1528
1528
  if (o.direction.value == "vertical")
@@ -1533,11 +1533,11 @@ function Et(e, t) {
1533
1533
  i = m && D || y && !D;
1534
1534
  }
1535
1535
  else if (o.direction.value == "horizontal") {
1536
- const D = o.startX.value < f;
1536
+ const D = o.startX.value < d;
1537
1537
  i = I && D || T && !D;
1538
1538
  }
1539
1539
  }
1540
- i && l.transitioning.value && (i = !1, M?.preventDefault()), g == "end" && !i && (f = o.startX.value, u = o.startY.value, i = !0), (g != "move" || i) && t?.(g, o.direction.value, f, u, M);
1540
+ i && l.transitioning.value && (i = !1, M?.preventDefault()), g == "end" && !i && (d = o.startX.value, u = o.startY.value, i = !0), (g != "move" || i) && t?.(g, o.direction.value, d, u, M);
1541
1541
  }
1542
1542
  return { onSwipeEdge: c, setFingerNum: r, isEqualFingerNum: v };
1543
1543
  }
@@ -1548,7 +1548,7 @@ function Ro(e) {
1548
1548
  },
1549
1549
  ...e
1550
1550
  }), { state: n, touch: o, gesture: l, transition: s } = t;
1551
- let a = !1, d = null;
1551
+ let a = !1, f = null;
1552
1552
  const i = { top: 0, left: 0 }, r = je(m, 150), { onSwipeEdge: v } = Et(t, e.onSwipeEdge), c = h({ top: 0, left: 0 });
1553
1553
  Ne("keyup", T), Ne("keydown", I);
1554
1554
  function g(y) {
@@ -1558,9 +1558,9 @@ function Ro(e) {
1558
1558
  const { left: j, top: O } = D.getBoundingClientRect();
1559
1559
  c.value.left = j, c.value.top = O, l.startTap();
1560
1560
  let N = y.clientX - j, C = y.clientY - O;
1561
- o.start(N, C), v("start", N, C, y), s.transitioning.value || (a = !0, i.left = j, i.top = O, n.offsetX = D.scrollLeft, n.offsetY = D.scrollTop), window.addEventListener("pointermove", f), window.addEventListener("pointerup", u);
1561
+ o.start(N, C), v("start", N, C, y), s.transitioning.value || (a = !0, i.left = j, i.top = O, n.offsetX = D.scrollLeft, n.offsetY = D.scrollTop), window.addEventListener("pointermove", d), window.addEventListener("pointerup", u);
1562
1562
  }
1563
- function f(y) {
1563
+ function d(y) {
1564
1564
  if (!a)
1565
1565
  return;
1566
1566
  let D = y.clientX, j = y.clientY;
@@ -1575,28 +1575,28 @@ function Ro(e) {
1575
1575
  );
1576
1576
  }
1577
1577
  function u(y) {
1578
- v("end", o.offsetX.value, o.offsetY.value, y), l.checkTap(o.offsetX.value, o.offsetY.value), o.reset(), a = !1, window.removeEventListener("pointermove", f), window.removeEventListener("pointerup", u);
1578
+ v("end", o.offsetX.value, o.offsetY.value, y), l.checkTap(o.offsetX.value, o.offsetY.value), o.reset(), a = !1, window.removeEventListener("pointermove", d), window.removeEventListener("pointerup", u);
1579
1579
  }
1580
1580
  function M(y) {
1581
1581
  if (!y.ctrlKey)
1582
1582
  return;
1583
- n.zooming || (n.zooming = !0, d == "Control" && window.addEventListener("keyup", m)), y.preventDefault();
1583
+ n.zooming || (n.zooming = !0, f == "Control" && window.addEventListener("keyup", m)), y.preventDefault();
1584
1584
  let D = -y.deltaY;
1585
- y.deltaMode === 1 ? D *= 0.05 : D *= y.deltaMode ? 1 : 2e-3, d != "Control" && (D *= 10), D = 2 ** D;
1585
+ y.deltaMode === 1 ? D *= 0.05 : D *= y.deltaMode ? 1 : 2e-3, f != "Control" && (D *= 10), D = 2 ** D;
1586
1586
  const j = n.level * D;
1587
1587
  n.lastCenter = {
1588
1588
  x: y.clientX - c.value.left,
1589
1589
  y: y.clientY - c.value.top
1590
- }, t.zoomTo(j, n.lastCenter), d != "Control" && r();
1590
+ }, t.zoomTo(j, n.lastCenter), f != "Control" && r();
1591
1591
  }
1592
1592
  function m() {
1593
1593
  t.zoomFinished(), window.removeEventListener("keyup", m);
1594
1594
  }
1595
1595
  function I(y) {
1596
- d = y.key;
1596
+ f = y.key;
1597
1597
  }
1598
1598
  function T() {
1599
- d = null;
1599
+ f = null;
1600
1600
  }
1601
1601
  return { core: t, onPointerDown: g, onWheel: M };
1602
1602
  }
@@ -1606,32 +1606,32 @@ function $o(e) {
1606
1606
  t.toggleZoom();
1607
1607
  },
1608
1608
  ...e
1609
- }), { state: n, touch: o, gesture: l } = t, { setFingerNum: s, onSwipeEdge: a, isEqualFingerNum: d } = Et(
1609
+ }), { state: n, touch: o, gesture: l } = t, { setFingerNum: s, onSwipeEdge: a, isEqualFingerNum: f } = Et(
1610
1610
  t,
1611
1611
  e.onSwipeEdge
1612
1612
  );
1613
1613
  let i, r;
1614
- async function v(f) {
1615
- const { touches: u } = f;
1616
- s(u.length), n.zooming = d(2), l.startTap();
1614
+ async function v(d) {
1615
+ const { touches: u } = d;
1616
+ s(u.length), n.zooming = f(2), l.startTap();
1617
1617
  const { clientX: M, clientY: m } = u[0];
1618
- o.start(M, m), a("start", M, m, f), n.zooming && (f.preventDefault(), i = n.level, r = rt(u), await t.switchToZoom(), n.lastCenter = Qn(u));
1618
+ o.start(M, m), a("start", M, m, d), n.zooming && (d.preventDefault(), i = n.level, r = rt(u), await t.switchToZoom(), n.lastCenter = Qn(u));
1619
1619
  }
1620
- async function c(f) {
1621
- const { touches: u } = f;
1620
+ async function c(d) {
1621
+ const { touches: u } = d;
1622
1622
  s(u.length);
1623
1623
  const { clientX: M, clientY: m } = u[0];
1624
- if (o.move(M, m), a("move", M, m, f), n.zooming && d(2)) {
1625
- f.preventDefault();
1624
+ if (o.move(M, m), a("move", M, m, d), n.zooming && f(2)) {
1625
+ d.preventDefault();
1626
1626
  const I = rt(u), T = i * I / r;
1627
1627
  t.zoomTo(T, n.lastCenter);
1628
1628
  }
1629
1629
  }
1630
- async function g(f) {
1631
- if (f.touches.length)
1630
+ async function g(d) {
1631
+ if (d.touches.length)
1632
1632
  return;
1633
- const { clientX: u, clientY: M } = f.changedTouches[0];
1634
- a("end", u, M, f), l.checkTap(o.offsetX.value, o.offsetY.value), t.zoomFinished(), o.reset();
1633
+ const { clientX: u, clientY: M } = d.changedTouches[0];
1634
+ a("end", u, M, d), l.checkTap(o.offsetX.value, o.offsetY.value), t.zoomFinished(), o.reset();
1635
1635
  }
1636
1636
  return { core: t, onTouchStart: v, onTouchMove: c, onTouchEnd: g };
1637
1637
  }
@@ -1717,7 +1717,7 @@ const Un = ["onClick"], Rn = /* @__PURE__ */ q({
1717
1717
  padding: "14px 19px",
1718
1718
  top: `calc(${s.value}% - ${l.value}px)`,
1719
1719
  left: `calc(50% - ${o.value}px)`
1720
- })), d = z(() => ({
1720
+ })), f = z(() => ({
1721
1721
  width: "fit-content",
1722
1722
  display: "flex",
1723
1723
  justifyContent: "center",
@@ -1739,7 +1739,7 @@ const Un = ["onClick"], Rn = /* @__PURE__ */ q({
1739
1739
  style: K([A(a), { zIndex: 9999999 }])
1740
1740
  }, [
1741
1741
  R("div", {
1742
- style: K(A(d))
1742
+ style: K(A(f))
1743
1743
  }, [
1744
1744
  R("span", null, He(e.message), 1)
1745
1745
  ], 4)
@@ -1817,9 +1817,9 @@ function Pn(e) {
1817
1817
  performance: l = {},
1818
1818
  maxHeightRatio: s = 0.9,
1819
1819
  observeMethod: a = "classList"
1820
- } = e, d = h(!0), i = je(X, 100);
1820
+ } = e, f = h(!0), i = je(X, 100);
1821
1821
  let r, v = "";
1822
- const c = h(0), g = h(0), f = h(0), u = h({
1822
+ const c = h(0), g = h(0), d = h(0), u = h({
1823
1823
  top: 0,
1824
1824
  scrollTop: 0,
1825
1825
  scrollHeight: 0,
@@ -1831,7 +1831,7 @@ function Pn(e) {
1831
1831
  0.05
1832
1832
  )), j = z(() => D.value > s ? 0 : D.value * u.value.clientHeight), O = z(() => ({
1833
1833
  willChange: "transform",
1834
- transform: `translate3d(0,${f.value}px,0)`,
1834
+ transform: `translate3d(0,${d.value}px,0)`,
1835
1835
  height: o ? `${j.value}px` : void 0
1836
1836
  }));
1837
1837
  We(t, () => L());
@@ -1842,17 +1842,17 @@ function Pn(e) {
1842
1842
  t.value.style.scrollBehavior = v, g.value = 0, i();
1843
1843
  }
1844
1844
  function Y() {
1845
- d.value = !1;
1845
+ f.value = !1;
1846
1846
  }
1847
1847
  function X() {
1848
- m.value || (d.value = !0);
1848
+ m.value || (f.value = !0);
1849
1849
  }
1850
1850
  function p(b) {
1851
1851
  if (!m.value)
1852
1852
  return;
1853
1853
  let F = b.clientY - u.value.top - g.value;
1854
- F < 0 ? f.value = 0 : F >= T.value ? f.value = T.value : f.value = F, t.value.scrollTo({
1855
- top: f.value / T.value * y.value
1854
+ F < 0 ? d.value = 0 : F >= T.value ? d.value = T.value : d.value = F, t.value.scrollTo({
1855
+ top: d.value / T.value * y.value
1856
1856
  });
1857
1857
  }
1858
1858
  function E() {
@@ -1862,7 +1862,7 @@ function Pn(e) {
1862
1862
  cancelAnimationFrame(r), r = requestAnimationFrame(Q);
1863
1863
  }
1864
1864
  function Q() {
1865
- t.value && (c.value = l.scrollTop?.value ?? t.value.scrollTop, f.value = c.value / y.value * T.value);
1865
+ t.value && (c.value = l.scrollTop?.value ?? t.value.scrollTop, d.value = c.value / y.value * T.value);
1866
1866
  }
1867
1867
  function k(b) {
1868
1868
  let F = "addEventListener";
@@ -1904,9 +1904,9 @@ function Pn(e) {
1904
1904
  return G(c, () => {
1905
1905
  Y(), i();
1906
1906
  }), {
1907
- isScrollEnd: d,
1907
+ isScrollEnd: f,
1908
1908
  isDragSlider: m,
1909
- offsetTop: f,
1909
+ offsetTop: d,
1910
1910
  scrollTop: c,
1911
1911
  scrollable: I,
1912
1912
  sliderPos: O,
@@ -1932,7 +1932,7 @@ const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ *
1932
1932
  autoHeight: o ? n.autoHeight : !0,
1933
1933
  performance: n.performance,
1934
1934
  observeMethod: n.observeMethod
1935
- }), { scrollable: d, isScrollEnd: i, sliderPos: r, heightRatio: v } = a, c = h(!1), g = n.autoHide ? z(() => n.maxHeightRatio < v.value ? !1 : c.value || !i.value) : z(() => n.maxHeightRatio < v.value ? !1 : d.value), { load: f } = Xe(
1935
+ }), { scrollable: f, isScrollEnd: i, sliderPos: r, heightRatio: v } = a, c = h(!1), g = n.autoHide ? z(() => n.maxHeightRatio < v.value ? !1 : c.value || !i.value) : z(() => n.maxHeightRatio < v.value ? !1 : f.value), { load: d } = Xe(
1936
1936
  `.hide-scrollbar {
1937
1937
  scrollbar-width: none;
1938
1938
  -ms-overflow-style: none;
@@ -1943,7 +1943,7 @@ const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ *
1943
1943
  { id: "styletag_lzc_scrollbar", manual: !0 }
1944
1944
  );
1945
1945
  ce(() => {
1946
- f(), Me(() => {
1946
+ d(), Me(() => {
1947
1947
  a.init();
1948
1948
  });
1949
1949
  }), vt(() => {
@@ -1991,40 +1991,40 @@ const Wo = /* @__PURE__ */ ne(Xn, [["__scopeId", "data-v-7fd39e51"]]), Zn = (e)
1991
1991
  pullRefreshContainer: null
1992
1992
  },
1993
1993
  setup(e) {
1994
- const t = e, n = 0.7, o = "#2EC1CC", l = h(-999), s = h(1), a = h(0), d = h(0.3), i = h(!1), r = h(0), v = h(0), c = h(0), g = h(0), f = h(0), u = h(), M = z(() => t.scrollTop), m = z(() => ({
1994
+ const t = e, n = 0.7, o = "#2EC1CC", l = h(-999), s = h(1), a = h(0), f = h(0.3), i = h(!1), r = h(0), v = h(0), c = h(0), g = h(0), d = h(0), u = h(), M = z(() => t.scrollTop), m = z(() => ({
1995
1995
  transition: `${g.value}ms`,
1996
1996
  transform: `translate3d(0,${l.value}px, 0) scale(${s.value})`
1997
1997
  })), I = z(() => ({
1998
1998
  borderColor: o,
1999
1999
  transition: g.value,
2000
2000
  transform: `rotate(${100 + a.value}deg)`,
2001
- opacity: d.value
2001
+ opacity: f.value
2002
2002
  }));
2003
- G(f, (N) => {
2004
- N === 0 && (l.value = -50, d.value = 0.3);
2003
+ G(d, (N) => {
2004
+ N === 0 && (l.value = -50, f.value = 0.3);
2005
2005
  }), G(v, (N) => {
2006
- if (f.value === 2)
2006
+ if (d.value === 2)
2007
2007
  return;
2008
2008
  const C = Math.pow(N, n);
2009
- C === 0 && (l.value = -50), C <= 50 && C > 0 && (l.value = C - 45, a.value = Math.pow(C, 1.5), C > 15 ? i.value = !0 : i.value = !1), C > 50 && (l.value = 5, d.value = 1, f.value);
2009
+ C === 0 && (l.value = -50), C <= 50 && C > 0 && (l.value = C - 45, a.value = Math.pow(C, 1.5), C > 15 ? i.value = !0 : i.value = !1), C > 50 && (l.value = 5, f.value = 1, d.value);
2010
2010
  });
2011
2011
  const T = h(0), y = (N) => {
2012
2012
  T.value = N.touches[0].pageY;
2013
2013
  }, D = (N) => {
2014
2014
  const C = N.touches[0].pageY - T.value;
2015
- T.value = N.touches[0].pageY, !t.refreshOff && (!t?.refresh || f.value !== 2 && M.value === 0 && (r.value === 0 && (r.value = N.touches[0].pageY), c.value = 0, O.value.style.transition = `${c.value}ms`, g.value = 0, v.value = N.touches[0].pageY - r.value, O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, C > 0 && N.preventDefault()));
2015
+ T.value = N.touches[0].pageY, !t.refreshOff && (!t?.refresh || d.value !== 2 && M.value === 0 && (r.value === 0 && (r.value = N.touches[0].pageY), c.value = 0, O.value.style.transition = `${c.value}ms`, g.value = 0, v.value = N.touches[0].pageY - r.value, O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, C > 0 && N.preventDefault()));
2016
2016
  }, j = () => {
2017
- if (t.refreshOff || !t?.refresh || f.value === 2)
2017
+ if (t.refreshOff || !t?.refresh || d.value === 2)
2018
2018
  return;
2019
2019
  r.value = 0, c.value = 300;
2020
2020
  const N = Math.pow(v.value, n);
2021
- O.value.style.transition = `${c.value}ms`, N > 50 ? (f.value = 2, v.value = Math.pow(50, 1 / n), O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, g.value = 300, t?.refresh && t?.refresh().then(() => {
2021
+ O.value.style.transition = `${c.value}ms`, N > 50 ? (d.value = 2, v.value = Math.pow(50, 1 / n), O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, g.value = 300, t?.refresh && t?.refresh().then(() => {
2022
2022
  u.value = "\u5237\u65B0\u6210\u529F";
2023
2023
  }).catch(() => {
2024
2024
  u.value = "\u5237\u65B0\u5931\u8D25";
2025
2025
  }).finally(() => {
2026
2026
  setTimeout(() => {
2027
- f.value = 0, v.value = 0, O.value.style.transform = `translate3d(0, ${Math.pow(
2027
+ d.value = 0, v.value = 0, O.value.style.transform = `translate3d(0, ${Math.pow(
2028
2028
  v.value,
2029
2029
  n
2030
2030
  )}px, 0)`, setTimeout(() => {
@@ -2043,7 +2043,7 @@ const Wo = /* @__PURE__ */ ne(Xn, [["__scopeId", "data-v-7fd39e51"]]), Zn = (e)
2043
2043
  style: K(A(m))
2044
2044
  }, [
2045
2045
  u.value ? (B(), H("div", no, He(u.value), 1)) : (B(), H("div", Kn, [
2046
- f.value == 2 ? (B(), H("div", Gn, [
2046
+ d.value == 2 ? (B(), H("div", Gn, [
2047
2047
  R("div", qn, [
2048
2048
  R("div", {
2049
2049
  class: "left-circle",
@@ -2090,7 +2090,7 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
2090
2090
  emits: ["scrollEnd"],
2091
2091
  setup(e, { expose: t, emit: n }) {
2092
2092
  const o = e, l = un($t(o, "data"), {
2093
- itemHeight: (f) => o.itemHeight(o.data[f]),
2093
+ itemHeight: (d) => o.itemHeight(o.data[d]),
2094
2094
  overscan: o.overscan,
2095
2095
  scrollEndHook: () => {
2096
2096
  n("scrollEnd");
@@ -2098,7 +2098,7 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
2098
2098
  }), {
2099
2099
  list: s,
2100
2100
  containerProps: a,
2101
- wrapperProps: d,
2101
+ wrapperProps: f,
2102
2102
  innerProps: i,
2103
2103
  getItemHeightData: r,
2104
2104
  scrollTop: v
@@ -2107,10 +2107,10 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
2107
2107
  vListReturn: l
2108
2108
  });
2109
2109
  const c = "virtualListWrapper" + new Date().getTime();
2110
- function g(f, u) {
2111
- return o.getItemKey ? o.getItemKey(f, u) : `${u}`;
2110
+ function g(d, u) {
2111
+ return o.getItemKey ? o.getItemKey(d, u) : `${u}`;
2112
2112
  }
2113
- return (f, u) => (B(), H(Qe, null, [
2113
+ return (d, u) => (B(), H(Qe, null, [
2114
2114
  ge(lo, {
2115
2115
  refresh: e.refresh,
2116
2116
  refreshOff: e.refreshOff,
@@ -2125,8 +2125,8 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
2125
2125
  onScrollPassive: u[0] || (u[0] = (...M) => A(a).onScroll && A(a).onScroll(...M)),
2126
2126
  ref: A(a).ref,
2127
2127
  class: "virtualList"
2128
- }, f.$attrs), [
2129
- R("div", _e(ke(A(d))), [
2128
+ }, d.$attrs), [
2129
+ R("div", _e(ke(A(f))), [
2130
2130
  R("div", _e(ke(A(i))), [
2131
2131
  (B(!0), H(Qe, null, Ht(A(s), ({ data: M, index: m }) => (B(), H("div", {
2132
2132
  key: g(M, m),
@@ -2136,7 +2136,7 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
2136
2136
  display: "flex"
2137
2137
  })
2138
2138
  }, [
2139
- Ie(f.$slots, "default", {
2139
+ Ie(d.$slots, "default", {
2140
2140
  data: M,
2141
2141
  index: m
2142
2142
  }, void 0, !0)
@@ -2209,7 +2209,7 @@ function It(e, t) {
2209
2209
  e && G(e, (i) => {
2210
2210
  n.value = i, l.value = !1;
2211
2211
  });
2212
- function d() {
2212
+ function f() {
2213
2213
  l.value = !0;
2214
2214
  }
2215
2215
  return {
@@ -2217,7 +2217,7 @@ function It(e, t) {
2217
2217
  isError: l,
2218
2218
  hasError: s,
2219
2219
  isSupport: a,
2220
- handleError: d
2220
+ handleError: f
2221
2221
  };
2222
2222
  }
2223
2223
  function At() {
@@ -2243,15 +2243,15 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
2243
2243
  },
2244
2244
  emits: ["load", "noSupport", "loadError"],
2245
2245
  setup(e, { emit: t }) {
2246
- const n = e, o = h(), l = h(), s = h(!1), a = h(!1), d = h(!1), { src: i, mime: r } = ht(n), { imgSrc: v, isSupport: c, hasError: g, handleError: f } = It(i, r), { vImageCancel: u } = At(), { LoadingComp: M } = Nt({
2246
+ const n = e, o = h(), l = h(), s = h(!1), a = h(!1), f = h(!1), { src: i, mime: r } = ht(n), { imgSrc: v, isSupport: c, hasError: g, handleError: d } = It(i, r), { vImageCancel: u } = At(), { LoadingComp: M } = Nt({
2247
2247
  component: hn,
2248
2248
  delay: 300
2249
- }), m = Wt(() => d.value && n.autoRemoveThumbnail ? !1 : n.thumbnail && !d.value);
2249
+ }), m = Wt(() => f.value && n.autoRemoveThumbnail ? !1 : n.thumbnail && !f.value);
2250
2250
  function I() {
2251
2251
  a.value = !0;
2252
2252
  }
2253
2253
  function T() {
2254
- a.value && (d.value = !0);
2254
+ a.value && (f.value = !0);
2255
2255
  }
2256
2256
  async function y() {
2257
2257
  I(), m.value ? (o.value?.addEventListener("animationend", D), o.value?.classList.add("showing"), await ot(10)) : o.value && t("load", o.value), o.value?.classList.remove("src-class");
@@ -2263,13 +2263,13 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
2263
2263
  C ? y() : l.value && t("load", l.value), s.value = !0;
2264
2264
  }
2265
2265
  function O(C) {
2266
- C ? (f(), t("loadError")) : I(), s.value = !0;
2266
+ C ? (d(), t("loadError")) : I(), s.value = !0;
2267
2267
  }
2268
2268
  function N() {
2269
2269
  t("noSupport");
2270
2270
  }
2271
2271
  return (C, Y) => (B(), H(Qe, null, [
2272
- A(c) && !s.value ? (B(), Ee(A(M), { key: 0 })) : de("", !0),
2272
+ A(c) && !s.value ? (B(), Ee(A(M), { key: 0 })) : fe("", !0),
2273
2273
  A(c) ? A(g) ? (B(), H("div", he({ key: 3 }, C.$attrs, {
2274
2274
  title: A(v),
2275
2275
  class: "tip-wrap"
@@ -2293,7 +2293,7 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
2293
2293
  src: e.thumbnail
2294
2294
  }), null, 16, To)), [
2295
2295
  [A(u)]
2296
- ]) : de("", !0),
2296
+ ]) : fe("", !0),
2297
2297
  e.isShowSrc || a.value ? re((B(), H("img", he({ key: 1 }, C.$attrs, {
2298
2298
  ref_key: "srcRef",
2299
2299
  ref: o,
@@ -2304,7 +2304,7 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
2304
2304
  }), null, 16, No)), [
2305
2305
  [A(u)],
2306
2306
  [Le, a.value]
2307
- ]) : de("", !0)
2307
+ ]) : fe("", !0)
2308
2308
  ], !0) : (B(), H("div", he({ key: 1 }, C.$attrs, {
2309
2309
  title: A(v),
2310
2310
  class: "tip-wrap"
@@ -2328,11 +2328,11 @@ const Vo = /* @__PURE__ */ ne(Io, [["__scopeId", "data-v-bfec1a6b"]]), Ao = ["ti
2328
2328
  },
2329
2329
  emits: ["noSupport"],
2330
2330
  setup(e, { emit: t }) {
2331
- const n = e, o = h(!1), { src: l, mime: s } = ht(n), { imgSrc: a, hasError: d, isSupport: i, handleError: r } = It(l, s), { vImageCancel: v } = At();
2331
+ const n = e, o = h(!1), { src: l, mime: s } = ht(n), { imgSrc: a, hasError: f, isSupport: i, handleError: r } = It(l, s), { vImageCancel: v } = At();
2332
2332
  function c() {
2333
2333
  t("noSupport");
2334
2334
  }
2335
- return (g, f) => A(i) ? A(d) ? (B(), H("div", {
2335
+ return (g, d) => A(i) ? A(f) ? (B(), H("div", {
2336
2336
  key: 2,
2337
2337
  title: A(a),
2338
2338
  class: "icon-wrap"
@@ -2344,8 +2344,8 @@ const Vo = /* @__PURE__ */ ne(Io, [["__scopeId", "data-v-bfec1a6b"]]), Ao = ["ti
2344
2344
  ], 8, Lo)) : re((B(), H("img", {
2345
2345
  key: 1,
2346
2346
  fetchpriority: "high",
2347
- onLoad: f[0] || (f[0] = (u) => o.value = !0),
2348
- onError: f[1] || (f[1] = (...u) => A(r) && A(r)(...u)),
2347
+ onLoad: d[0] || (d[0] = (u) => o.value = !0),
2348
+ onError: d[1] || (d[1] = (...u) => A(r) && A(r)(...u)),
2349
2349
  src: A(a)
2350
2350
  }, null, 40, zo)), [
2351
2351
  [A(v)],