yc-component 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2198,7 +2198,7 @@ const Te = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Jn =
2198
2198
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Vr = (e) => e.startsWith("onUpdate:"), Re = Object.assign, Di = (e, t) => {
2199
2199
  const n = e.indexOf(t);
2200
2200
  n > -1 && e.splice(n, 1);
2201
- }, Vp = Object.prototype.hasOwnProperty, _e = (e, t) => Vp.call(e, t), ae = Array.isArray, xn = (e) => Zr(e) === "[object Map]", yc = (e) => Zr(e) === "[object Set]", Ea = (e) => Zr(e) === "[object Date]", ue = (e) => typeof e == "function", Oe = (e) => typeof e == "string", pt = (e) => typeof e == "symbol", ye = (e) => e !== null && typeof e == "object", Pi = (e) => (ye(e) || ue(e)) && ue(e.then) && ue(e.catch), wc = Object.prototype.toString, Zr = (e) => wc.call(e), $i = (e) => Zr(e).slice(8, -1), bc = (e) => Zr(e) === "[object Object]", ts = (e) => Oe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, xr = /* @__PURE__ */ ar(
2201
+ }, Vp = Object.prototype.hasOwnProperty, _e = (e, t) => Vp.call(e, t), ae = Array.isArray, xn = (e) => Zr(e) === "[object Map]", yc = (e) => Zr(e) === "[object Set]", Ea = (e) => Zr(e) === "[object Date]", ue = (e) => typeof e == "function", Ne = (e) => typeof e == "string", pt = (e) => typeof e == "symbol", ye = (e) => e !== null && typeof e == "object", Pi = (e) => (ye(e) || ue(e)) && ue(e.then) && ue(e.catch), wc = Object.prototype.toString, Zr = (e) => wc.call(e), $i = (e) => Zr(e).slice(8, -1), bc = (e) => Zr(e) === "[object Object]", ts = (e) => Ne(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, xr = /* @__PURE__ */ ar(
2202
2202
  // the leading comma is intentional so empty string "" is also included
2203
2203
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
2204
2204
  ), Rp = /* @__PURE__ */ ar(
@@ -2226,7 +2226,7 @@ const Te = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Jn =
2226
2226
  const t = parseFloat(e);
2227
2227
  return isNaN(t) ? e : t;
2228
2228
  }, jp = (e) => {
2229
- const t = Oe(e) ? Number(e) : NaN;
2229
+ const t = Ne(e) ? Number(e) : NaN;
2230
2230
  return isNaN(t) ? e : t;
2231
2231
  };
2232
2232
  let Oa;
@@ -2235,13 +2235,13 @@ function fn(e) {
2235
2235
  if (ae(e)) {
2236
2236
  const t = {};
2237
2237
  for (let n = 0; n < e.length; n++) {
2238
- const r = e[n], o = Oe(r) ? zp(r) : fn(r);
2238
+ const r = e[n], o = Ne(r) ? zp(r) : fn(r);
2239
2239
  if (o)
2240
2240
  for (const s in o)
2241
2241
  t[s] = o[s];
2242
2242
  }
2243
2243
  return t;
2244
- } else if (Oe(e) || ye(e))
2244
+ } else if (Ne(e) || ye(e))
2245
2245
  return e;
2246
2246
  }
2247
2247
  const Bp = /;(?![^(]*\))/g, Up = /:([^]+)/, Hp = /\/\*[^]*?\*\//g;
@@ -2256,7 +2256,7 @@ function zp(e) {
2256
2256
  }
2257
2257
  function Je(e) {
2258
2258
  let t = "";
2259
- if (Oe(e))
2259
+ if (Ne(e))
2260
2260
  t = e;
2261
2261
  else if (ae(e))
2262
2262
  for (let n = 0; n < e.length; n++) {
@@ -2271,7 +2271,7 @@ function Je(e) {
2271
2271
  function Ec(e) {
2272
2272
  if (!e) return null;
2273
2273
  let { class: t, style: n } = e;
2274
- return t && !Oe(t) && (e.class = Je(t)), n && (e.style = fn(n)), e;
2274
+ return t && !Ne(t) && (e.class = Je(t)), n && (e.style = fn(n)), e;
2275
2275
  }
2276
2276
  const Wp = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Kp = /* @__PURE__ */ ar(Wp);
2277
2277
  function Oc(e) {
@@ -2307,7 +2307,7 @@ function Mi(e, t) {
2307
2307
  }
2308
2308
  return String(e) === String(t);
2309
2309
  }
2310
- const Nc = (e) => !!(e && e.__v_isRef === !0), Ae = (e) => Oe(e) ? e : e == null ? "" : ae(e) || ye(e) && (e.toString === wc || !ue(e.toString)) ? Nc(e) ? Ae(e.value) : JSON.stringify(e, xc, 2) : String(e), xc = (e, t) => Nc(t) ? xc(e, t.value) : xn(t) ? {
2310
+ const Nc = (e) => !!(e && e.__v_isRef === !0), Ae = (e) => Ne(e) ? e : e == null ? "" : ae(e) || ye(e) && (e.toString === wc || !ue(e.toString)) ? Nc(e) ? Ae(e.value) : JSON.stringify(e, xc, 2) : String(e), xc = (e, t) => Nc(t) ? xc(e, t.value) : xn(t) ? {
2311
2311
  [`Map(${t.size})`]: [...t.entries()].reduce(
2312
2312
  (n, [r, o], s) => (n[_s(r, s) + " =>"] = o, n),
2313
2313
  {}
@@ -3558,7 +3558,7 @@ function Nh(e) {
3558
3558
  }), n.length > 3 && t.push(" ..."), t;
3559
3559
  }
3560
3560
  function Gc(e, t, n) {
3561
- return Oe(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ Se(t) ? (t = Gc(e, /* @__PURE__ */ pe(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : ue(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ pe(t), n ? t : [`${e}=`, t]);
3561
+ return Ne(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ Se(t) ? (t = Gc(e, /* @__PURE__ */ pe(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : ue(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ pe(t), n ? t : [`${e}=`, t]);
3562
3562
  }
3563
3563
  function xh(e, t) {
3564
3564
  process.env.NODE_ENV !== "production" && e !== void 0 && (typeof e != "number" ? U(`${t} is not a valid number - got ${JSON.stringify(e)}.`) : isNaN(e) && U(`${t} is NaN - the duration expression might be incorrect.`));
@@ -4023,7 +4023,7 @@ function su(e, t, n = Te) {
4023
4023
  return Ur && (u ? u.push(h) : l && h()), h;
4024
4024
  }
4025
4025
  function zh(e, t, n) {
4026
- const r = this.proxy, o = Oe(e) ? e.includes(".") ? iu(r, e) : () => r[e] : e.bind(r, r);
4026
+ const r = this.proxy, o = Ne(e) ? e.includes(".") ? iu(r, e) : () => r[e] : e.bind(r, r);
4027
4027
  let s;
4028
4028
  ue(t) ? s = t : (s = t.handler, n = t);
4029
4029
  const i = io(this), a = su(o, s.bind(r), n);
@@ -4040,7 +4040,7 @@ function iu(e, t) {
4040
4040
  }
4041
4041
  const cn = /* @__PURE__ */ new WeakMap(), au = /* @__PURE__ */ Symbol("_vte"), lu = (e) => e.__isTeleport, Zt = (e) => e && (e.disabled || e.disabled === ""), Wh = (e) => e && (e.defer || e.defer === ""), Pa = (e) => typeof SVGElement < "u" && e instanceof SVGElement, $a = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, Ys = (e, t) => {
4042
4042
  const n = e && e.to;
4043
- if (Oe(n))
4043
+ if (Ne(n))
4044
4044
  if (t) {
4045
4045
  const r = t(n);
4046
4046
  return process.env.NODE_ENV !== "production" && !r && !Zt(e) && U(
@@ -4309,7 +4309,7 @@ const wt = [Function, Array], cu = {
4309
4309
  const o = t.default && pu(t.default(), !0), s = o && o.length ? fu(o) : (
4310
4310
  // Keep explicit default-slot conditionals on the same transition path
4311
4311
  // as regular v-if branches, which render a comment placeholder.
4312
- n.subTree ? Ne() : void 0
4312
+ n.subTree ? Oe() : void 0
4313
4313
  );
4314
4314
  if (!s)
4315
4315
  return;
@@ -4545,7 +4545,7 @@ function Tr(e, t, n, r, o = !1) {
4545
4545
  `Template ref "${p}" used on a non-ref value. It will not work in the production build.`
4546
4546
  ), Ia.has(h[p])) || Va(c, p) ? !1 : _e(h, p), b = (p, v) => !(process.env.NODE_ENV !== "production" && Ia.has(p) || v && Va(c, v));
4547
4547
  if (u != null && u !== l) {
4548
- if (Ra(t), Oe(u))
4548
+ if (Ra(t), Ne(u))
4549
4549
  c[u] = null, g(u) && (f[u] = null);
4550
4550
  else if (/* @__PURE__ */ Se(u)) {
4551
4551
  const p = t;
@@ -4555,7 +4555,7 @@ function Tr(e, t, n, r, o = !1) {
4555
4555
  if (ue(l))
4556
4556
  cr(l, a, 12, [i, c]);
4557
4557
  else {
4558
- const p = Oe(l), v = /* @__PURE__ */ Se(l);
4558
+ const p = Ne(l), v = /* @__PURE__ */ Se(l);
4559
4559
  if (p || v) {
4560
4560
  const C = () => {
4561
4561
  if (e.f) {
@@ -4656,7 +4656,7 @@ function Me(e, t) {
4656
4656
  }
4657
4657
  const gu = /* @__PURE__ */ Symbol.for("v-ndc");
4658
4658
  function c0(e) {
4659
- return Oe(e) ? Wi(Lo, e, !1) || e : e || gu;
4659
+ return Ne(e) ? Wi(Lo, e, !1) || e : e || gu;
4660
4660
  }
4661
4661
  function vu(e) {
4662
4662
  return Wi(l0, e);
@@ -4697,7 +4697,7 @@ function La(e, t) {
4697
4697
  function Ar(e, t, n, r) {
4698
4698
  let o;
4699
4699
  const s = n, i = ae(e);
4700
- if (i || Oe(e)) {
4700
+ if (i || Ne(e)) {
4701
4701
  const a = i && /* @__PURE__ */ xt(e);
4702
4702
  let l = !1, u = !1;
4703
4703
  a && (l = !/* @__PURE__ */ nt(e), u = /* @__PURE__ */ It(e), e = rs(e)), o = new Array(e.length);
@@ -4836,7 +4836,7 @@ const Zs = (e) => e ? Bu(e) ? cs(e) : Zs(e.parent) : null, Tn = (
4836
4836
  f = l.config.globalProperties, _e(f, t)
4837
4837
  )
4838
4838
  return f[t];
4839
- process.env.NODE_ENV !== "production" && ze && (!Oe(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
4839
+ process.env.NODE_ENV !== "production" && ze && (!Ne(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
4840
4840
  // to infinite warning loop
4841
4841
  t.indexOf("__v") !== 0) && (o !== Te && Ki(t[0]) && _e(o, t) ? U(
4842
4842
  `Property ${JSON.stringify(
@@ -5014,7 +5014,7 @@ function h0(e) {
5014
5014
  U(
5015
5015
  `Write operation failed: computed property "${B}" is readonly.`
5016
5016
  );
5017
- } : Ge, H = se({
5017
+ } : Ge, H = oe({
5018
5018
  get: X,
5019
5019
  set: E
5020
5020
  });
@@ -5077,7 +5077,7 @@ function ka(e, t, n) {
5077
5077
  }
5078
5078
  function wu(e, t, n, r) {
5079
5079
  let o = r.includes(".") ? iu(n, r) : () => n[r];
5080
- if (Oe(e)) {
5080
+ if (Ne(e)) {
5081
5081
  const s = t[e];
5082
5082
  ue(s) ? Xe(o, s) : process.env.NODE_ENV !== "production" && U(`Invalid watch handler specified by key "${e}"`, s);
5083
5083
  } else if (ue(e))
@@ -5321,7 +5321,7 @@ function E0(e, t, ...n) {
5321
5321
  }
5322
5322
  let o = n;
5323
5323
  const s = t.startsWith("update:"), i = s && b0(r, t.slice(7));
5324
- if (i && (i.trim && (o = n.map((c) => Oe(c) ? c.trim() : c)), i.number && (o = n.map(kp))), process.env.NODE_ENV !== "production" && jh(e, t, o), process.env.NODE_ENV !== "production") {
5324
+ if (i && (i.trim && (o = n.map((c) => Ne(c) ? c.trim() : c)), i.number && (o = n.map(kp))), process.env.NODE_ENV !== "production" && jh(e, t, o), process.env.NODE_ENV !== "production") {
5325
5325
  const c = t.toLowerCase();
5326
5326
  c !== t && r[wn(c)] && U(
5327
5327
  `Event "${c}" is emitted in component ${ao(
@@ -5705,7 +5705,7 @@ function Du(e, t, n = !1) {
5705
5705
  return ye(e) && r.set(e, Jn), Jn;
5706
5706
  if (ae(s))
5707
5707
  for (let c = 0; c < s.length; c++) {
5708
- process.env.NODE_ENV !== "production" && !Oe(s[c]) && U("props must be strings when using array syntax.", s[c]);
5708
+ process.env.NODE_ENV !== "production" && !Ne(s[c]) && U("props must be strings when using array syntax.", s[c]);
5709
5709
  const f = Ze(s[c]);
5710
5710
  Wa(f) && (i[f] = Te);
5711
5711
  }
@@ -6821,7 +6821,7 @@ function Lu(e) {
6821
6821
  }
6822
6822
  function fe(e, t, n, r, o, s) {
6823
6823
  return Lu(
6824
- oe(
6824
+ se(
6825
6825
  e,
6826
6826
  t,
6827
6827
  n,
@@ -6861,8 +6861,8 @@ const G0 = (...e) => ku(
6861
6861
  ref: e,
6862
6862
  ref_key: t,
6863
6863
  ref_for: n
6864
- }) => (typeof e == "number" && (e = "" + e), e != null ? Oe(e) || /* @__PURE__ */ Se(e) || ue(e) ? { i: ze, r: e, k: t, f: !!n } : e : null);
6865
- function oe(e, t = null, n = null, r = 0, o = null, s = e === Ve ? 0 : 1, i = !1, a = !1) {
6864
+ }) => (typeof e == "number" && (e = "" + e), e != null ? Ne(e) || /* @__PURE__ */ Se(e) || ue(e) ? { i: ze, r: e, k: t, f: !!n } : e : null);
6865
+ function se(e, t = null, n = null, r = 0, o = null, s = e === Ve ? 0 : 1, i = !1, a = !1) {
6866
6866
  const l = {
6867
6867
  __v_isVNode: !0,
6868
6868
  __v_skip: !0,
@@ -6892,7 +6892,7 @@ function oe(e, t = null, n = null, r = 0, o = null, s = e === Ve ? 0 : 1, i = !1
6892
6892
  appContext: null,
6893
6893
  ctx: ze
6894
6894
  };
6895
- return a ? (Ji(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= Oe(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && U("VNode created with invalid key (NaN). VNode type:", l.type), Br > 0 && // avoid a block node from tracking itself
6895
+ return a ? (Ji(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= Ne(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && U("VNode created with invalid key (NaN). VNode type:", l.type), Br > 0 && // avoid a block node from tracking itself
6896
6896
  !i && // has current parent block
6897
6897
  ht && // presence of a patch flag indicates this node needs patching on updates.
6898
6898
  // component nodes also should always be patched, because even if the
@@ -6916,15 +6916,15 @@ function ku(e, t = null, n = null, r = 0, o = null, s = !1) {
6916
6916
  if (Hu(e) && (e = e.__vccOpts), t) {
6917
6917
  t = Y0(t);
6918
6918
  let { class: a, style: l } = t;
6919
- a && !Oe(a) && (t.class = Je(a)), ye(l) && (/* @__PURE__ */ tr(l) && !ae(l) && (l = Re({}, l)), t.style = fn(l));
6919
+ a && !Ne(a) && (t.class = Je(a)), ye(l) && (/* @__PURE__ */ tr(l) && !ae(l) && (l = Re({}, l)), t.style = fn(l));
6920
6920
  }
6921
- const i = Oe(e) ? 1 : Ru(e) ? 128 : lu(e) ? 64 : ye(e) ? 4 : ue(e) ? 2 : 0;
6921
+ const i = Ne(e) ? 1 : Ru(e) ? 128 : lu(e) ? 64 : ye(e) ? 4 : ue(e) ? 2 : 0;
6922
6922
  return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */ tr(e) && (e = /* @__PURE__ */ pe(e), U(
6923
6923
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
6924
6924
  `
6925
6925
  Component that was made reactive: `,
6926
6926
  e
6927
- )), oe(
6927
+ )), se(
6928
6928
  e,
6929
6929
  t,
6930
6930
  n,
@@ -6995,7 +6995,7 @@ function ju(e) {
6995
6995
  function Ye(e = " ", t = 0) {
6996
6996
  return ee(oo, null, e, t);
6997
6997
  }
6998
- function Ne(e = "", t = !1) {
6998
+ function Oe(e = "", t = !1) {
6999
6999
  return t ? (G(), Ee(je, null, e)) : ee(je, null, e);
7000
7000
  }
7001
7001
  function Ct(e) {
@@ -7340,7 +7340,7 @@ function ao(e, t, n = !1) {
7340
7340
  function Hu(e) {
7341
7341
  return ue(e) && "__vccOpts" in e;
7342
7342
  }
7343
- const se = (e, t) => {
7343
+ const oe = (e, t) => {
7344
7344
  const n = /* @__PURE__ */ _h(e, t, Ur);
7345
7345
  if (process.env.NODE_ENV !== "production") {
7346
7346
  const r = Rt();
@@ -7742,11 +7742,11 @@ function gr(e, t) {
7742
7742
  }
7743
7743
  const ym = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), wm = /(?:^|;)\s*display\s*:/;
7744
7744
  function bm(e, t, n) {
7745
- const r = e.style, o = Oe(n);
7745
+ const r = e.style, o = Ne(n);
7746
7746
  let s = !1;
7747
7747
  if (n && !o) {
7748
7748
  if (t)
7749
- if (Oe(t))
7749
+ if (Ne(t))
7750
7750
  for (const i of t.split(";")) {
7751
7751
  const a = i.slice(0, i.indexOf(":")).trim();
7752
7752
  n[a] == null && Er(r, a, "");
@@ -7760,7 +7760,7 @@ function bm(e, t, n) {
7760
7760
  a != null ? Nm(
7761
7761
  e,
7762
7762
  i,
7763
- !Oe(t) && t ? t[i] : void 0,
7763
+ !Ne(t) && t ? t[i] : void 0,
7764
7764
  a
7765
7765
  ) || Er(r, i, a) : Er(r, i, "");
7766
7766
  }
@@ -7806,7 +7806,7 @@ function Om(e, t) {
7806
7806
  return t;
7807
7807
  }
7808
7808
  function Nm(e, t, n, r) {
7809
- return e.tagName === "TEXTAREA" && (t === "width" || t === "height") && Oe(r) && n === r;
7809
+ return e.tagName === "TEXTAREA" && (t === "width" || t === "height") && Ne(r) && n === r;
7810
7810
  }
7811
7811
  const cl = "http://www.w3.org/1999/xlink";
7812
7812
  function ul(e, t, n, r, o, s = Kp(t)) {
@@ -7924,7 +7924,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, $m = (e, t, n, r, o, s) => {
7924
7924
  const i = o === "svg";
7925
7925
  t === "class" ? _m(e, r, i) : t === "style" ? bm(e, n, r) : Xr(t) ? Vr(t) || Cm(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Mm(e, t, r, i)) ? (fl(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && ul(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && // #12408 check if it's declared prop or it's async custom element
7926
7926
  (Im(e, t) || // @ts-expect-error _def is private
7927
- e._def.__asyncLoader && (/[A-Z]/.test(t) || !Oe(r))) ? fl(e, Ze(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), ul(e, t, r, i));
7927
+ e._def.__asyncLoader && (/[A-Z]/.test(t) || !Ne(r))) ? fl(e, Ze(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), ul(e, t, r, i));
7928
7928
  };
7929
7929
  function Mm(e, t, n, r) {
7930
7930
  if (r)
@@ -7936,7 +7936,7 @@ function Mm(e, t, n, r) {
7936
7936
  if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE")
7937
7937
  return !1;
7938
7938
  }
7939
- return ml(t) && Oe(n) ? !1 : t in e;
7939
+ return ml(t) && Ne(n) ? !1 : t in e;
7940
7940
  }
7941
7941
  function Im(e, t) {
7942
7942
  const n = (
@@ -8444,7 +8444,7 @@ function u_(e) {
8444
8444
  }
8445
8445
  const $s = (e) => typeof e == "boolean", In = (e) => typeof e == "number";
8446
8446
  const f_ = (e) => typeof Element > "u" ? !1 : e instanceof Element;
8447
- const d_ = (e) => Oe(e) ? !Number.isNaN(Number(e)) : !1;
8447
+ const d_ = (e) => Ne(e) ? !Number.isNaN(Number(e)) : !1;
8448
8448
  const Ml = (e) => Object.keys(e);
8449
8449
  const p_ = "__epPropKey", at = (e) => e, h_ = (e) => ye(e) && !!e.__epPropKey, of = (e, t) => {
8450
8450
  if (!ye(e) || h_(e)) return e;
@@ -8470,7 +8470,7 @@ var m_ = class extends Error {
8470
8470
  };
8471
8471
  function po(e, t) {
8472
8472
  {
8473
- const n = Oe(e) ? new m_(`[${e}] ${t}`) : e;
8473
+ const n = Ne(e) ? new m_(`[${e}] ${t}`) : e;
8474
8474
  console.warn(n);
8475
8475
  }
8476
8476
  }
@@ -8516,7 +8516,7 @@ function hi(e) {
8516
8516
  return (t = n == null ? void 0 : n.$el) !== null && t !== void 0 ? t : n;
8517
8517
  }
8518
8518
  function w_(...e) {
8519
- const t = (r, o, s, i) => (r.addEventListener(o, s, i), () => r.removeEventListener(o, s, i)), n = se(() => {
8519
+ const t = (r, o, s, i) => (r.addEventListener(o, s, i), () => r.removeEventListener(o, s, i)), n = oe(() => {
8520
8520
  const r = Ms(Xn(e[0])).filter((o) => o != null);
8521
8521
  return r.every((o) => typeof o != "string") ? r : void 0;
8522
8522
  });
@@ -8546,7 +8546,7 @@ function b_() {
8546
8546
  // @__NO_SIDE_EFFECTS__
8547
8547
  function E_(e) {
8548
8548
  const t = /* @__PURE__ */ b_();
8549
- return se(() => (t.value, !!e()));
8549
+ return oe(() => (t.value, !!e()));
8550
8550
  }
8551
8551
  const hw = Symbol("vueuse-ssr-width");
8552
8552
  function O_(e, t, n = {}) {
@@ -8554,7 +8554,7 @@ function O_(e, t, n = {}) {
8554
8554
  let s;
8555
8555
  const i = /* @__PURE__ */ E_(() => r && "ResizeObserver" in r), a = () => {
8556
8556
  s && (s.disconnect(), s = void 0);
8557
- }, l = Xe(se(() => {
8557
+ }, l = Xe(oe(() => {
8558
8558
  const c = Xn(e);
8559
8559
  return Array.isArray(c) ? c.map((f) => hi(f)) : [hi(c)];
8560
8560
  }), (c) => {
@@ -8577,7 +8577,7 @@ const N_ = () => Bn && /android/i.test(window.navigator.userAgent), x_ = "utils/
8577
8577
  function mi(e, t = "px") {
8578
8578
  if (!e && e !== 0) return "";
8579
8579
  if (In(e) || d_(e)) return `${e}${t}`;
8580
- if (Oe(e)) return e;
8580
+ if (Ne(e)) return e;
8581
8581
  po(x_, "binding value must be a string or number");
8582
8582
  }
8583
8583
  var S_ = {
@@ -8761,18 +8761,18 @@ var S_ = {
8761
8761
  }
8762
8762
  };
8763
8763
  const C_ = (e) => (t, n) => T_(t, n, Q(e)), T_ = (e, t, n) => Fv(n, e, e).replace(/\{(\w+)\}/g, (r, o) => `${(t == null ? void 0 : t[o]) ?? `{${o}}`}`), A_ = (e) => ({
8764
- lang: se(() => Q(e).name),
8764
+ lang: oe(() => Q(e).name),
8765
8765
  locale: /* @__PURE__ */ Se(e) ? e : /* @__PURE__ */ de(e),
8766
8766
  t: C_(e)
8767
8767
  }), lf = Symbol("localeContextKey"), D_ = (e) => {
8768
8768
  const t = e || dt(lf, /* @__PURE__ */ de());
8769
- return A_(se(() => t.value || S_));
8769
+ return A_(oe(() => t.value || S_));
8770
8770
  }, P_ = "is-", _n = (e, t, n, r, o) => {
8771
8771
  let s = `${e}-${t}`;
8772
8772
  return n && (s += `-${n}`), r && (s += `__${r}`), o && (s += `--${o}`), s;
8773
8773
  }, cf = Symbol("namespaceContextKey"), $_ = (e) => {
8774
8774
  const t = e || (Rt() ? dt(cf, /* @__PURE__ */ de("el")) : /* @__PURE__ */ de("el"));
8775
- return se(() => Q(t) || "el");
8775
+ return oe(() => Q(t) || "el");
8776
8776
  }, ta = (e, t) => {
8777
8777
  const n = $_(t);
8778
8778
  return {
@@ -8823,10 +8823,10 @@ const M_ = (e) => {
8823
8823
  }
8824
8824
  return t;
8825
8825
  }, Il = { current: 0 }, Vl = /* @__PURE__ */ de(0), uf = 2e3, Rl = Symbol("elZIndexContextKey"), ff = Symbol("zIndexContextKey"), V_ = (e) => {
8826
- const t = Rt() ? dt(Rl, Il) : Il, n = e || (Rt() ? dt(ff, void 0) : void 0), r = se(() => {
8826
+ const t = Rt() ? dt(Rl, Il) : Il, n = e || (Rt() ? dt(ff, void 0) : void 0), r = oe(() => {
8827
8827
  const i = Q(n);
8828
8828
  return In(i) ? i : uf;
8829
- }), o = se(() => r.value + Vl.value), s = () => (t.current++, Vl.value = t.current, o.value);
8829
+ }), o = oe(() => r.value + Vl.value), s = () => (t.current++, Vl.value = t.current, o.value);
8830
8830
  return !Bn && !dt(Rl) && po("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
8831
8831
  usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
8832
8832
  initialZIndex: r,
@@ -8898,7 +8898,7 @@ var U_ = /* @__PURE__ */ De({
8898
8898
  xmlns: "http://www.w3.org/2000/svg",
8899
8899
  viewBox: "0 0 1024 1024"
8900
8900
  }, [
8901
- oe("path", {
8901
+ se("path", {
8902
8902
  fill: "currentColor",
8903
8903
  d: "M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"
8904
8904
  })
@@ -8912,7 +8912,7 @@ var U_ = /* @__PURE__ */ De({
8912
8912
  xmlns: "http://www.w3.org/2000/svg",
8913
8913
  viewBox: "0 0 1024 1024"
8914
8914
  }, [
8915
- oe("path", {
8915
+ se("path", {
8916
8916
  fill: "currentColor",
8917
8917
  d: "M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"
8918
8918
  })
@@ -8926,7 +8926,7 @@ var U_ = /* @__PURE__ */ De({
8926
8926
  xmlns: "http://www.w3.org/2000/svg",
8927
8927
  viewBox: "0 0 1024 1024"
8928
8928
  }, [
8929
- oe("path", {
8929
+ se("path", {
8930
8930
  fill: "currentColor",
8931
8931
  d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"
8932
8932
  })
@@ -8941,7 +8941,7 @@ var G_ = /* @__PURE__ */ De({
8941
8941
  xmlns: "http://www.w3.org/2000/svg",
8942
8942
  viewBox: "0 0 1024 1024"
8943
8943
  }, [
8944
- oe("path", {
8944
+ se("path", {
8945
8945
  fill: "currentColor",
8946
8946
  d: "M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"
8947
8947
  })
@@ -8956,7 +8956,7 @@ var J_ = /* @__PURE__ */ De({
8956
8956
  xmlns: "http://www.w3.org/2000/svg",
8957
8957
  viewBox: "0 0 1024 1024"
8958
8958
  }, [
8959
- oe("path", {
8959
+ se("path", {
8960
8960
  fill: "currentColor",
8961
8961
  d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
8962
8962
  })
@@ -8971,11 +8971,11 @@ var X_ = /* @__PURE__ */ De({
8971
8971
  xmlns: "http://www.w3.org/2000/svg",
8972
8972
  viewBox: "0 0 1024 1024"
8973
8973
  }, [
8974
- oe("path", {
8974
+ se("path", {
8975
8975
  fill: "currentColor",
8976
8976
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
8977
8977
  }),
8978
- oe("path", {
8978
+ se("path", {
8979
8979
  fill: "currentColor",
8980
8980
  d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"
8981
8981
  })
@@ -8989,7 +8989,7 @@ var X_ = /* @__PURE__ */ De({
8989
8989
  xmlns: "http://www.w3.org/2000/svg",
8990
8990
  viewBox: "0 0 1024 1024"
8991
8991
  }, [
8992
- oe("path", {
8992
+ se("path", {
8993
8993
  fill: "currentColor",
8994
8994
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
8995
8995
  })
@@ -9003,11 +9003,11 @@ var X_ = /* @__PURE__ */ De({
9003
9003
  xmlns: "http://www.w3.org/2000/svg",
9004
9004
  viewBox: "0 0 1024 1024"
9005
9005
  }, [
9006
- oe("path", {
9006
+ se("path", {
9007
9007
  fill: "currentColor",
9008
9008
  d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
9009
9009
  }),
9010
- oe("path", {
9010
+ se("path", {
9011
9011
  fill: "currentColor",
9012
9012
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
9013
9013
  })
@@ -9022,7 +9022,7 @@ var n2 = /* @__PURE__ */ De({
9022
9022
  xmlns: "http://www.w3.org/2000/svg",
9023
9023
  viewBox: "0 0 1024 1024"
9024
9024
  }, [
9025
- oe("path", {
9025
+ se("path", {
9026
9026
  fill: "currentColor",
9027
9027
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
9028
9028
  })
@@ -9037,7 +9037,7 @@ var r2 = /* @__PURE__ */ De({
9037
9037
  xmlns: "http://www.w3.org/2000/svg",
9038
9038
  viewBox: "0 0 1024 1024"
9039
9039
  }, [
9040
- oe("path", {
9040
+ se("path", {
9041
9041
  fill: "currentColor",
9042
9042
  d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
9043
9043
  })
@@ -9052,7 +9052,7 @@ var o2 = /* @__PURE__ */ De({
9052
9052
  xmlns: "http://www.w3.org/2000/svg",
9053
9053
  viewBox: "0 0 1024 1024"
9054
9054
  }, [
9055
- oe("path", {
9055
+ se("path", {
9056
9056
  fill: "currentColor",
9057
9057
  d: "M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"
9058
9058
  })
@@ -9066,11 +9066,11 @@ var o2 = /* @__PURE__ */ De({
9066
9066
  xmlns: "http://www.w3.org/2000/svg",
9067
9067
  viewBox: "0 0 1024 1024"
9068
9068
  }, [
9069
- oe("path", {
9069
+ se("path", {
9070
9070
  fill: "currentColor",
9071
9071
  d: "M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"
9072
9072
  }),
9073
- oe("path", {
9073
+ se("path", {
9074
9074
  fill: "currentColor",
9075
9075
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
9076
9076
  })
@@ -9085,7 +9085,7 @@ var a2 = /* @__PURE__ */ De({
9085
9085
  xmlns: "http://www.w3.org/2000/svg",
9086
9086
  viewBox: "0 0 1024 1024"
9087
9087
  }, [
9088
- oe("path", {
9088
+ se("path", {
9089
9089
  fill: "currentColor",
9090
9090
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
9091
9091
  })
@@ -9100,7 +9100,7 @@ var c2 = /* @__PURE__ */ De({
9100
9100
  xmlns: "http://www.w3.org/2000/svg",
9101
9101
  viewBox: "0 0 1024 1024"
9102
9102
  }, [
9103
- oe("path", {
9103
+ se("path", {
9104
9104
  fill: "currentColor",
9105
9105
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
9106
9106
  })
@@ -9114,7 +9114,7 @@ var c2 = /* @__PURE__ */ De({
9114
9114
  xmlns: "http://www.w3.org/2000/svg",
9115
9115
  viewBox: "0 0 1024 1024"
9116
9116
  }, [
9117
- oe("path", {
9117
+ se("path", {
9118
9118
  fill: "currentColor",
9119
9119
  d: "M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"
9120
9120
  })
@@ -9128,7 +9128,7 @@ var c2 = /* @__PURE__ */ De({
9128
9128
  xmlns: "http://www.w3.org/2000/svg",
9129
9129
  viewBox: "0 0 1024 1024"
9130
9130
  }, [
9131
- oe("path", {
9131
+ se("path", {
9132
9132
  fill: "currentColor",
9133
9133
  d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
9134
9134
  })
@@ -9143,7 +9143,7 @@ var h2 = /* @__PURE__ */ De({
9143
9143
  xmlns: "http://www.w3.org/2000/svg",
9144
9144
  viewBox: "0 0 1024 1024"
9145
9145
  }, [
9146
- oe("path", {
9146
+ se("path", {
9147
9147
  fill: "currentColor",
9148
9148
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
9149
9149
  })
@@ -9184,7 +9184,7 @@ var _2 = /* @__PURE__ */ De({
9184
9184
  __name: "icon",
9185
9185
  props: v2,
9186
9186
  setup(e) {
9187
- const t = e, n = ta("icon"), r = se(() => {
9187
+ const t = e, n = ta("icon"), r = oe(() => {
9188
9188
  const { size: o, color: s } = t, i = mi(o);
9189
9189
  return !i && !s ? {} : {
9190
9190
  fontSize: i,
@@ -9274,7 +9274,7 @@ var E2 = /* @__PURE__ */ De({
9274
9274
  __name: "badge",
9275
9275
  props: b2,
9276
9276
  setup(e, { expose: t }) {
9277
- const n = e, r = ta("badge"), o = se(() => n.isDot ? "" : In(n.value) && In(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`), s = se(() => [{
9277
+ const n = e, r = ta("badge"), o = oe(() => n.isDot ? "" : In(n.value) && In(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`), s = oe(() => [{
9278
9278
  backgroundColor: n.color,
9279
9279
  marginRight: mi(-n.offset[0]),
9280
9280
  marginTop: mi(n.offset[1])
@@ -9294,7 +9294,7 @@ var E2 = /* @__PURE__ */ De({
9294
9294
  e.badgeClass
9295
9295
  ]),
9296
9296
  style: fn(s.value)
9297
- }, [en(i.$slots, "content", { value: o.value }, () => [Ye(Ae(o.value), 1)])], 6)) : Ne("v-if", !0)]),
9297
+ }, [en(i.$slots, "content", { value: o.value }, () => [Ye(Ae(o.value), 1)])], 6)) : Oe("v-if", !0)]),
9298
9298
  _: 3
9299
9299
  }, 8, ["name"])], 2));
9300
9300
  }
@@ -9302,27 +9302,27 @@ var E2 = /* @__PURE__ */ De({
9302
9302
  const N2 = df(O2), vf = Symbol(), Wo = /* @__PURE__ */ de();
9303
9303
  function _f(e, t = void 0) {
9304
9304
  const n = Rt() ? dt(vf, Wo) : Wo;
9305
- return e ? se(() => {
9305
+ return e ? oe(() => {
9306
9306
  var r;
9307
9307
  return ((r = n.value) == null ? void 0 : r[e]) ?? t;
9308
9308
  }) : n;
9309
9309
  }
9310
9310
  function x2(e, t) {
9311
- const n = _f(), r = ta(e, se(() => {
9311
+ const n = _f(), r = ta(e, oe(() => {
9312
9312
  var a;
9313
9313
  return ((a = n.value) == null ? void 0 : a.namespace) || "el";
9314
- })), o = D_(se(() => {
9314
+ })), o = D_(oe(() => {
9315
9315
  var a;
9316
9316
  return (a = n.value) == null ? void 0 : a.locale;
9317
- })), s = V_(se(() => {
9317
+ })), s = V_(oe(() => {
9318
9318
  var l;
9319
9319
  const a = (l = n.value) == null ? void 0 : l.zIndex;
9320
9320
  return u_(a) || Number.isNaN(a) ? uf : a;
9321
- })), i = se(() => {
9321
+ })), i = oe(() => {
9322
9322
  var a;
9323
9323
  return Q(t) || ((a = n.value) == null ? void 0 : a.size) || "";
9324
9324
  });
9325
- return S2(se(() => Q(n) || {})), {
9325
+ return S2(oe(() => Q(n) || {})), {
9326
9326
  ns: r,
9327
9327
  locale: o,
9328
9328
  zIndex: s,
@@ -9335,11 +9335,11 @@ const S2 = (e, t, n = !1) => {
9335
9335
  po("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
9336
9336
  return;
9337
9337
  }
9338
- const i = se(() => {
9338
+ const i = oe(() => {
9339
9339
  const a = Q(e);
9340
9340
  return o != null && o.value ? C2(o.value, a) : a;
9341
9341
  });
9342
- return s(vf, i), s(lf, se(() => i.value.locale)), s(cf, se(() => i.value.namespace)), s(ff, se(() => i.value.zIndex)), s(L_, { size: se(() => i.value.size || "") }), s(F_, se(() => ({
9342
+ return s(vf, i), s(lf, oe(() => i.value.locale)), s(cf, oe(() => i.value.namespace)), s(ff, oe(() => i.value.zIndex)), s(L_, { size: oe(() => i.value.size || "") }), s(F_, oe(() => ({
9343
9343
  emptyValues: i.value.emptyValues,
9344
9344
  valueOnClear: i.value.valueOnClear
9345
9345
  }))), (n || !Wo.value) && (Wo.value = i.value), i;
@@ -9850,10 +9850,10 @@ var L2 = /* @__PURE__ */ De({
9850
9850
  setup(e, { expose: t, emit: n }) {
9851
9851
  const { Close: r } = g2, o = e, s = n, i = /* @__PURE__ */ de(!1), { ns: a, zIndex: l } = x2("message"), { currentZIndex: u, nextZIndex: c } = l, f = /* @__PURE__ */ de(), h = /* @__PURE__ */ de(!1), g = /* @__PURE__ */ de(0);
9852
9852
  let b;
9853
- const p = se(() => o.type ? o.type === "error" ? "danger" : o.type : "info"), v = se(() => {
9853
+ const p = oe(() => o.type ? o.type === "error" ? "danger" : o.type : "info"), v = oe(() => {
9854
9854
  const te = o.type;
9855
9855
  return { [a.bm("icon", te)]: te && Fl[te] };
9856
- }), C = se(() => o.icon || Fl[o.type] || ""), T = se(() => o.placement || "top"), k = se(() => M2(o.id, T.value)), Y = se(() => Math.max(I2(o.id, o.offset, T.value) + k.value, o.offset)), N = se(() => g.value + Y.value), K = se(() => T.value.includes("left") ? a.is("left") : T.value.includes("right") ? a.is("right") : a.is("center")), $ = se(() => T.value.startsWith("top") ? "top" : "bottom"), ne = se(() => ({
9856
+ }), C = oe(() => o.icon || Fl[o.type] || ""), T = oe(() => o.placement || "top"), k = oe(() => M2(o.id, T.value)), Y = oe(() => Math.max(I2(o.id, o.offset, T.value) + k.value, o.offset)), N = oe(() => g.value + Y.value), K = oe(() => T.value.includes("left") ? a.is("left") : T.value.includes("right") ? a.is("right") : a.is("center")), $ = oe(() => T.value.startsWith("top") ? "top" : "bottom"), ne = oe(() => ({
9857
9857
  [$.value]: `${Y.value}px`,
9858
9858
  zIndex: u.value
9859
9859
  }));
@@ -9891,7 +9891,7 @@ var L2 = /* @__PURE__ */ De({
9891
9891
  onAfterLeave: j[1] || (j[1] = (M) => te.$emit("destroy")),
9892
9892
  persisted: ""
9893
9893
  }, {
9894
- default: le(() => [or(oe("div", {
9894
+ default: le(() => [or(se("div", {
9895
9895
  id: e.id,
9896
9896
  ref_key: "messageRef",
9897
9897
  ref: f,
@@ -9918,18 +9918,18 @@ var L2 = /* @__PURE__ */ De({
9918
9918
  "value",
9919
9919
  "type",
9920
9920
  "class"
9921
- ])) : Ne("v-if", !0),
9921
+ ])) : Oe("v-if", !0),
9922
9922
  C.value ? (G(), Ee(Q(kl), {
9923
9923
  key: 1,
9924
9924
  class: Je([Q(a).e("icon"), v.value])
9925
9925
  }, {
9926
9926
  default: le(() => [(G(), Ee(c0(C.value)))]),
9927
9927
  _: 1
9928
- }, 8, ["class"])) : Ne("v-if", !0),
9928
+ }, 8, ["class"])) : Oe("v-if", !0),
9929
9929
  !e.dangerouslyUseHTMLString || te.$slots.default ? (G(), fe("p", {
9930
9930
  key: 2,
9931
9931
  class: Je(Q(a).e("content"))
9932
- }, [en(te.$slots, "default", {}, () => [Ye(Ae(e.message), 1)])], 2)) : (G(), fe(Ve, { key: 3 }, [Ne(" Caution here, message could've been compromised, never use user's input as message "), oe("p", {
9932
+ }, [en(te.$slots, "default", {}, () => [Ye(Ae(e.message), 1)])], 2)) : (G(), fe(Ve, { key: 3 }, [Oe(" Caution here, message could've been compromised, never use user's input as message "), se("p", {
9933
9933
  class: Je(Q(a).e("content")),
9934
9934
  innerHTML: e.message
9935
9935
  }, null, 10, R2)], 2112)),
@@ -9940,7 +9940,7 @@ var L2 = /* @__PURE__ */ De({
9940
9940
  }, {
9941
9941
  default: le(() => [ee(Q(r))]),
9942
9942
  _: 1
9943
- }, 8, ["class"])) : Ne("v-if", !0)
9943
+ }, 8, ["class"])) : Oe("v-if", !0)
9944
9944
  ], 46, V2), [[zo, h.value]])]),
9945
9945
  _: 3
9946
9946
  }, 8, ["name", "onBeforeLeave"]));
@@ -9949,14 +9949,14 @@ var L2 = /* @__PURE__ */ De({
9949
9949
  let k2 = 1;
9950
9950
  const j2 = (e) => {
9951
9951
  if (!e.appendTo) e.appendTo = document.body;
9952
- else if (Oe(e.appendTo)) {
9952
+ else if (Ne(e.appendTo)) {
9953
9953
  let t = document.querySelector(e.appendTo);
9954
9954
  f_(t) || (po("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), t = document.body), e.appendTo = t;
9955
9955
  }
9956
9956
  }, B2 = (e) => {
9957
- !e.placement && Oe(it.placement) && it.placement && (e.placement = it.placement), e.placement || (e.placement = "top"), bf.includes(e.placement) || (po("ElMessage", `Invalid placement: ${e.placement}. Falling back to 'top'.`), e.placement = "top");
9957
+ !e.placement && Ne(it.placement) && it.placement && (e.placement = it.placement), e.placement || (e.placement = "top"), bf.includes(e.placement) || (po("ElMessage", `Invalid placement: ${e.placement}. Falling back to 'top'.`), e.placement = "top");
9958
9958
  }, Ef = (e) => {
9959
- const t = !e || Oe(e) || tn(e) || ue(e) ? { message: e } : e, n = {
9959
+ const t = !e || Ne(e) || tn(e) || ue(e) ? { message: e } : e, n = {
9960
9960
  ...et,
9961
9961
  ...t
9962
9962
  };
@@ -10078,7 +10078,10 @@ function xf(e = {}) {
10078
10078
  const t = K2();
10079
10079
  return Y2(e), t;
10080
10080
  }
10081
- const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__toolbar" }, Z2 = { class: "yc-image-selector__body" }, Q2 = {
10081
+ const J2 = { class: "yc-image-selector" }, X2 = {
10082
+ key: 0,
10083
+ class: "yc-image-selector__toolbar"
10084
+ }, Z2 = { class: "yc-image-selector__body" }, Q2 = {
10082
10085
  key: 0,
10083
10086
  class: "yc-image-selector__aside"
10084
10087
  }, e1 = ["onClick"], t1 = {
@@ -10091,10 +10094,10 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10091
10094
  key: 0,
10092
10095
  class: "yc-image-selector__order"
10093
10096
  }, l1 = ["title"], c1 = {
10094
- key: 0,
10097
+ key: 1,
10095
10098
  class: "yc-image-selector__selected-bar"
10096
10099
  }, u1 = { class: "yc-image-selector__selected-bar-label" }, f1 = { class: "yc-image-selector__selected-bar-list" }, d1 = ["onClick"], p1 = ["src", "alt"], h1 = {
10097
- key: 1,
10100
+ key: 2,
10098
10101
  class: "yc-image-selector__pagination"
10099
10102
  }, m1 = {
10100
10103
  key: 0,
@@ -10144,7 +10147,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10144
10147
  setup(w) {
10145
10148
  return () => w.render(w.ctx);
10146
10149
  }
10147
- }), r = e, o = t, s = se(() => r.modelValue != null), i = /* @__PURE__ */ de(!1), a = /* @__PURE__ */ de(null);
10150
+ }), r = e, o = t, s = oe(() => r.modelValue != null), i = /* @__PURE__ */ de(!1), a = /* @__PURE__ */ de(null);
10148
10151
  Xe(
10149
10152
  () => r.modelValue,
10150
10153
  (w) => {
@@ -10164,33 +10167,33 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10164
10167
  },
10165
10168
  { immediate: !0 }
10166
10169
  );
10167
- const l = se(
10170
+ const l = oe(
10168
10171
  () => (s.value ? void 0 : st.options.title) ?? r.title ?? "选择图片"
10169
- ), u = se(
10172
+ ), u = oe(
10170
10173
  () => (s.value ? void 0 : st.options.multiple) ?? r.multiple
10171
- ), c = se(
10174
+ ), c = oe(
10172
10175
  () => (s.value ? void 0 : st.options.maxCount) ?? r.maxCount
10173
- ), f = se(
10176
+ ), f = oe(
10174
10177
  () => (s.value ? void 0 : st.options.showModeSwitch) ?? r.showModeSwitch
10175
- ), h = se(
10178
+ ), h = oe(
10176
10179
  () => (s.value ? void 0 : st.options.showCategories) ?? r.showCategories
10177
- ), g = se(() => {
10180
+ ), g = oe(() => {
10178
10181
  var w, O;
10179
10182
  if ((w = r.categories) != null && w.length) return r.categories;
10180
10183
  if (!s.value && ((O = st.options.categories) != null && O.length))
10181
10184
  return st.options.categories;
10182
- }), b = se(() => h.value ? g.value ?? S.value : []), p = se(
10185
+ }), b = oe(() => h.value ? g.value ?? S.value : []), p = oe(
10183
10186
  () => (s.value ? void 0 : st.options.confirmOnSelect) ?? r.confirmOnSelect
10184
10187
  ), v = /* @__PURE__ */ de("single"), C = [
10185
10188
  { label: "单选", value: "single" },
10186
10189
  { label: "多选", value: "multiple" }
10187
- ], T = se(
10190
+ ], T = oe(
10188
10191
  () => f.value ? v.value === "multiple" : u.value
10189
- ), k = /* @__PURE__ */ de(""), Y = /* @__PURE__ */ de(""), N = /* @__PURE__ */ de(1), K = /* @__PURE__ */ de(0), $ = /* @__PURE__ */ de(!1), ne = /* @__PURE__ */ de(!1), R = /* @__PURE__ */ de([]), S = /* @__PURE__ */ de([]), y = /* @__PURE__ */ de(/* @__PURE__ */ new Map()), A = /* @__PURE__ */ de(/* @__PURE__ */ new Map()), te = /* @__PURE__ */ de(), j = /* @__PURE__ */ de(), M = /* @__PURE__ */ de(!1), D = se(() => [...y.value.values()]), B = se(() => !!a.value || R.value.length === 0), P = se(() => ({
10192
+ ), k = /* @__PURE__ */ de(""), Y = /* @__PURE__ */ de(""), N = /* @__PURE__ */ de(1), K = /* @__PURE__ */ de(0), $ = /* @__PURE__ */ de(!1), ne = /* @__PURE__ */ de(!1), R = /* @__PURE__ */ de([]), S = /* @__PURE__ */ de([]), y = /* @__PURE__ */ de(/* @__PURE__ */ new Map()), A = /* @__PURE__ */ de(/* @__PURE__ */ new Map()), te = /* @__PURE__ */ de(), j = /* @__PURE__ */ de(), M = /* @__PURE__ */ de(!1), D = oe(() => [...y.value.values()]), B = oe(() => !!a.value || R.value.length === 0), P = oe(() => ({
10190
10193
  authState: a.value,
10191
10194
  isEmpty: R.value.length === 0,
10192
10195
  reload: L
10193
- })), X = se(() => {
10196
+ })), X = oe(() => {
10194
10197
  var O, Z;
10195
10198
  const w = D.value.length;
10196
10199
  return p.value ? w ? `已选:${((O = D.value[0]) == null ? void 0 : O.name) || "1 张图片"}` : "单击图片即可完成选择" : w ? T.value ? `已选 ${w} / ${c.value} 张` : `已选:${((Z = D.value[0]) == null ? void 0 : Z.name) || "1 张图片"}` : T.value ? `多选模式:最多 ${c.value} 张` : "单选模式:请选择一张图片";
@@ -10405,7 +10408,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10405
10408
  }, {
10406
10409
  footer: le(() => [
10407
10410
  p.value ? (G(), fe("div", _1, [
10408
- oe("span", y1, Ae(X.value), 1),
10411
+ se("span", y1, Ae(X.value), 1),
10409
10412
  ee(be, {
10410
10413
  link: "",
10411
10414
  type: "primary",
@@ -10417,8 +10420,8 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10417
10420
  _: 1
10418
10421
  })
10419
10422
  ])) : (G(), fe("div", m1, [
10420
- oe("span", g1, Ae(X.value), 1),
10421
- oe("div", v1, [
10423
+ se("span", g1, Ae(X.value), 1),
10424
+ se("div", v1, [
10422
10425
  ee(be, { onClick: F }, {
10423
10426
  default: le(() => [
10424
10427
  Ye(Ae(e.cancelText), 1)
@@ -10439,8 +10442,8 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10439
10442
  ]))
10440
10443
  ]),
10441
10444
  default: le(() => [
10442
- oe("div", J2, [
10443
- oe("div", X2, [
10445
+ se("div", J2, [
10446
+ a.value ? Oe("", !0) : (G(), fe("div", X2, [
10444
10447
  ee(he, {
10445
10448
  modelValue: k.value,
10446
10449
  "onUpdate:modelValue": O[0] || (O[0] = (ve) => k.value = ve),
@@ -10467,7 +10470,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10467
10470
  options: C,
10468
10471
  class: "yc-image-selector__mode",
10469
10472
  onChange: H
10470
- }, null, 8, ["modelValue"])) : Ne("", !0),
10473
+ }, null, 8, ["modelValue"])) : Oe("", !0),
10471
10474
  e.showUpload && e.upload ? (G(), Ee(Le, {
10472
10475
  key: 1,
10473
10476
  "show-file-list": !1,
@@ -10494,11 +10497,11 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10494
10497
  }, 8, ["loading"])
10495
10498
  ]),
10496
10499
  _: 1
10497
- }, 8, ["accept", "disabled"])) : Ne("", !0)
10498
- ]),
10499
- oe("div", Z2, [
10500
- h.value ? (G(), fe("aside", Q2, [
10501
- oe("div", {
10500
+ }, 8, ["accept", "disabled"])) : Oe("", !0)
10501
+ ])),
10502
+ se("div", Z2, [
10503
+ h.value && !a.value ? (G(), fe("aside", Q2, [
10504
+ se("div", {
10502
10505
  class: Je(["yc-image-selector__category", { "is-active": Y.value === "" }]),
10503
10506
  onClick: O[2] || (O[2] = (ve) => V(""))
10504
10507
  }, Ae(e.categoryAllLabel), 3),
@@ -10507,10 +10510,10 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10507
10510
  class: Je(["yc-image-selector__category", { "is-active": Y.value === ve.id }]),
10508
10511
  onClick: (Ue) => V(ve.id)
10509
10512
  }, [
10510
- oe("span", null, Ae(ve.name), 1),
10511
- ve.count != null ? (G(), fe("span", t1, Ae(ve.count), 1)) : Ne("", !0)
10513
+ se("span", null, Ae(ve.name), 1),
10514
+ ve.count != null ? (G(), fe("span", t1, Ae(ve.count), 1)) : Oe("", !0)
10512
10515
  ], 10, e1))), 128))
10513
- ])) : Ne("", !0),
10516
+ ])) : Oe("", !0),
10514
10517
  or((G(), fe("div", n1, [
10515
10518
  !$.value && B.value ? en(w.$slots, "empty", Ec(so({ key: 0 }, P.value)), () => {
10516
10519
  var ve;
@@ -10524,7 +10527,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10524
10527
  description: ((ve = a.value) == null ? void 0 : ve.message) || e.emptyText
10525
10528
  }, null, 8, ["description"]))
10526
10529
  ];
10527
- }, !0) : B.value ? Ne("", !0) : (G(), fe("div", r1, [
10530
+ }, !0) : B.value ? Oe("", !0) : (G(), fe("div", r1, [
10528
10531
  (G(!0), fe(Ve, null, Ar(R.value, (ve) => (G(), fe("div", {
10529
10532
  key: String(ve.id),
10530
10533
  class: Je(["yc-image-selector__item", {
@@ -10534,15 +10537,15 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10534
10537
  }]),
10535
10538
  onClick: (Ue) => I(ve)
10536
10539
  }, [
10537
- oe("div", s1, [
10538
- oe("img", {
10540
+ se("div", s1, [
10541
+ se("img", {
10539
10542
  src: we(ve),
10540
10543
  alt: ve.name || "image",
10541
10544
  loading: "lazy",
10542
10545
  class: Je(Be(ve)),
10543
10546
  onLoad: (Ue) => Ie(Ue, ve)
10544
10547
  }, null, 42, i1),
10545
- oe("div", {
10548
+ se("div", {
10546
10549
  class: Je(["yc-image-selector__indicator", {
10547
10550
  "is-checked": Qe(ve),
10548
10551
  "is-radio": !T.value,
@@ -10554,10 +10557,10 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10554
10557
  ee(Q(pf))
10555
10558
  ]),
10556
10559
  _: 1
10557
- })) : Ne("", !0)
10560
+ })) : Oe("", !0)
10558
10561
  ], 2)
10559
10562
  ]),
10560
- oe("div", {
10563
+ se("div", {
10561
10564
  class: "yc-image-selector__meta",
10562
10565
  title: ve.name
10563
10566
  }, Ae(ve.name || "未命名"), 9, l1)
@@ -10568,18 +10571,18 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10568
10571
  ])
10569
10572
  ]),
10570
10573
  T.value && D.value.length ? (G(), fe("div", c1, [
10571
- oe("span", u1, "已选 " + Ae(D.value.length) + " 张", 1),
10572
- oe("div", f1, [
10574
+ se("span", u1, "已选 " + Ae(D.value.length) + " 张", 1),
10575
+ se("div", f1, [
10573
10576
  (G(!0), fe(Ve, null, Ar(D.value, (ve) => (G(), fe("div", {
10574
10577
  key: String(ve.id),
10575
10578
  class: "yc-image-selector__selected-chip",
10576
10579
  onClick: qu((Ue) => I(ve), ["stop"])
10577
10580
  }, [
10578
- oe("img", {
10581
+ se("img", {
10579
10582
  src: we(ve),
10580
10583
  alt: ve.name
10581
10584
  }, null, 8, p1),
10582
- O[6] || (O[6] = oe("span", { class: "yc-image-selector__selected-chip-remove" }, "×", -1))
10585
+ O[6] || (O[6] = se("span", { class: "yc-image-selector__selected-chip-remove" }, "×", -1))
10583
10586
  ], 8, d1))), 128))
10584
10587
  ]),
10585
10588
  ee(be, {
@@ -10592,7 +10595,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10592
10595
  ])]),
10593
10596
  _: 1
10594
10597
  })
10595
- ])) : Ne("", !0),
10598
+ ])) : Oe("", !0),
10596
10599
  K.value > 0 ? (G(), fe("div", h1, [
10597
10600
  ee(vt, {
10598
10601
  "current-page": N.value,
@@ -10603,7 +10606,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10603
10606
  total: K.value,
10604
10607
  onCurrentChange: x
10605
10608
  }, null, 8, ["current-page", "page-size", "total"])
10606
- ])) : Ne("", !0)
10609
+ ])) : Oe("", !0)
10607
10610
  ])
10608
10611
  ]),
10609
10612
  _: 3
@@ -10615,7 +10618,7 @@ const J2 = { class: "yc-image-selector" }, X2 = { class: "yc-image-selector__too
10615
10618
  for (const [r, o] of t)
10616
10619
  n[r] = o;
10617
10620
  return n;
10618
- }, Sf = /* @__PURE__ */ ps(w1, [["__scopeId", "data-v-30690802"]]);
10621
+ }, Sf = /* @__PURE__ */ ps(w1, [["__scopeId", "data-v-6d4e506a"]]);
10619
10622
  function Cf() {
10620
10623
  const { baseURL: e = "" } = es();
10621
10624
  return Fe.create({ baseURL: e, timeout: 3e4 });
@@ -10688,11 +10691,11 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10688
10691
  },
10689
10692
  emits: ["update:visible", "update:type", "confirm", "close", "opened", "changeType", "prev", "next", "checkRow"],
10690
10693
  setup(e, { expose: t, emit: n }) {
10691
- const r = e, o = n, s = /* @__PURE__ */ de(!1), i = se(() => r.loading || s.value), a = se(() => r.type === "detail" ? "详情" : r.type === "edit" ? "编辑" : r.type === "add" ? "新增" : ""), l = se(
10694
+ const r = e, o = n, s = /* @__PURE__ */ de(!1), i = oe(() => r.loading || s.value), a = oe(() => r.type === "detail" ? "详情" : r.type === "edit" ? "编辑" : r.type === "add" ? "新增" : ""), l = oe(
10692
10695
  () => r.list.length > 0 && r.row != null
10693
- ), u = se(
10696
+ ), u = oe(
10694
10697
  () => ["detail", "edit"].includes(r.type)
10695
- ), c = se(() => r.type !== "detail");
10698
+ ), c = oe(() => r.type !== "detail");
10696
10699
  function f() {
10697
10700
  if (!r.row) return -1;
10698
10701
  const T = r.rowKey, k = r.row[T];
@@ -10740,12 +10743,12 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10740
10743
  mode: "out-in"
10741
10744
  }, {
10742
10745
  default: le(() => [
10743
- or(oe("div", {
10746
+ or(se("div", {
10744
10747
  class: "yc-page-window",
10745
10748
  style: fn({ zIndex: e.zIndex })
10746
10749
  }, [
10747
- oe("div", S1, [
10748
- oe("div", C1, [
10750
+ se("div", S1, [
10751
+ se("div", C1, [
10749
10752
  ee(Y, {
10750
10753
  class: "yc-page-window__back",
10751
10754
  onClick: v
@@ -10755,7 +10758,7 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10755
10758
  ]),
10756
10759
  _: 1
10757
10760
  }),
10758
- oe("span", null, Ae(e.title) + Ae(a.value), 1),
10761
+ se("span", null, Ae(e.title) + Ae(a.value), 1),
10759
10762
  l.value ? (G(), fe("div", T1, [
10760
10763
  ee(K, {
10761
10764
  content: "上一条",
@@ -10805,7 +10808,7 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10805
10808
  ]),
10806
10809
  _: 1
10807
10810
  })
10808
- ])) : Ne("", !0),
10811
+ ])) : Oe("", !0),
10809
10812
  u.value ? (G(), Ee(N, {
10810
10813
  key: 1,
10811
10814
  text: "",
@@ -10823,9 +10826,9 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10823
10826
  Ye(" " + Ae(e.type === "detail" ? "切换编辑" : "切换详情"), 1)
10824
10827
  ]),
10825
10828
  _: 1
10826
- }, 8, ["type"])) : Ne("", !0)
10829
+ }, 8, ["type"])) : Oe("", !0)
10827
10830
  ]),
10828
- oe("div", A1, [
10831
+ se("div", A1, [
10829
10832
  en(T.$slots, "opera", {}, void 0, !0),
10830
10833
  e.showButtons && c.value ? (G(), fe(Ve, { key: 0 }, [
10831
10834
  ee(N, {
@@ -10861,8 +10864,8 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10861
10864
  Ye(" " + Ae(e.confirmText), 1)
10862
10865
  ]),
10863
10866
  _: 1
10864
- }, 8, ["loading", "disabled"])) : Ne("", !0)
10865
- ], 64)) : Ne("", !0)
10867
+ }, 8, ["loading", "disabled"])) : Oe("", !0)
10868
+ ], 64)) : Oe("", !0)
10866
10869
  ])
10867
10870
  ]),
10868
10871
  or((G(), fe("div", D1, [
@@ -10874,7 +10877,7 @@ const S1 = { class: "yc-page-window__header" }, C1 = { class: "yc-page-window__t
10874
10877
  style: fn({ minHeight: e.contentMinHeight })
10875
10878
  }, [
10876
10879
  en(T.$slots, "default", {}, void 0, !0)
10877
- ], 4)) : Ne("", !0)
10880
+ ], 4)) : Oe("", !0)
10878
10881
  ]),
10879
10882
  _: 3
10880
10883
  })
@@ -10988,7 +10991,7 @@ function ql(e, t, n, r) {
10988
10991
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
10989
10992
  /* @__PURE__ */ Ca((/* @__PURE__ */ de(o ? o() : {})).value)
10990
10993
  ) : /* @__PURE__ */ Ca(n.state.value[e]);
10991
- return bt(c, s, Object.keys(i || {}).reduce((f, h) => (process.env.NODE_ENV !== "production" && h in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${e}".`), f[h] = Yn(se(() => {
10994
+ return bt(c, s, Object.keys(i || {}).reduce((f, h) => (process.env.NODE_ENV !== "production" && h in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${e}".`), f[h] = Yn(oe(() => {
10992
10995
  qo(n);
10993
10996
  const g = n._s.get(e);
10994
10997
  return i[h].call(g, g);
@@ -11145,7 +11148,7 @@ function yi(e, t, n = {}, r, o, s) {
11145
11148
  for (const y in S._hmrPayload.getters) {
11146
11149
  const A = S._hmrPayload.getters[y], te = s ? (
11147
11150
  // special handling of options api
11148
- se(() => (qo(r), A.call($, $)))
11151
+ oe(() => (qo(r), A.call($, $)))
11149
11152
  ) : A;
11150
11153
  yo($, y, te);
11151
11154
  }
@@ -11223,7 +11226,7 @@ function j1(e) {
11223
11226
  for (const r in t) {
11224
11227
  const o = t[r];
11225
11228
  o.effect ? n[r] = // ...
11226
- se({
11229
+ oe({
11227
11230
  get: () => e[r],
11228
11231
  set(s) {
11229
11232
  e[r] = s;
@@ -11447,9 +11450,9 @@ const Lf = /* @__PURE__ */ k1("ycAiTask", () => {
11447
11450
  function f(E) {
11448
11451
  return l.add(E), () => l.delete(E);
11449
11452
  }
11450
- const h = se(
11453
+ const h = oe(
11451
11454
  () => e.value.filter((E) => ln(E.status)).length
11452
- ), g = se(() => e.value.filter((E) => E.status === "running").length), b = se(() => h.value > 0 ? "AI 处理中" : e.value.some((E) => E.status === "failed") ? "部分任务失败" : "AI 任务"), p = se(() => {
11455
+ ), g = oe(() => e.value.filter((E) => E.status === "running").length), b = oe(() => h.value > 0 ? "AI 处理中" : e.value.some((E) => E.status === "failed") ? "部分任务失败" : "AI 任务"), p = oe(() => {
11453
11456
  const E = e.value.length, H = h.value;
11454
11457
  return E === 0 ? "暂无任务" : H > 0 ? `${H}/${E} 项任务进行中` : `${E} 项任务已完成`;
11455
11458
  });
@@ -11669,7 +11672,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11669
11672
  },
11670
11673
  emits: ["update:modelValue", "submitted"],
11671
11674
  setup(e, { emit: t }) {
11672
- const n = e, r = t, o = oa(), s = se(() => n.modelValue !== void 0), i = /* @__PURE__ */ de(!1);
11675
+ const n = e, r = t, o = oa(), s = oe(() => n.modelValue !== void 0), i = /* @__PURE__ */ de(!1);
11673
11676
  Xe(
11674
11677
  () => n.modelValue,
11675
11678
  (N) => {
@@ -11699,7 +11702,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11699
11702
  }), ro(() => {
11700
11703
  globalThis.removeEventListener(wi, a);
11701
11704
  });
11702
- const l = se(
11705
+ const l = oe(
11703
11706
  () => (s.value ? void 0 : Bt.options.title) ?? n.title ?? "AI 生成"
11704
11707
  ), u = /* @__PURE__ */ de({
11705
11708
  freeText: n.freeText,
@@ -11782,7 +11785,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11782
11785
  onOpen: v
11783
11786
  }, {
11784
11787
  footer: le(() => [
11785
- oe("div", ay, [
11788
+ se("div", ay, [
11786
11789
  e.showTaskListButton ? (G(), Ee(te, {
11787
11790
  key: 0,
11788
11791
  link: "",
@@ -11793,8 +11796,8 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11793
11796
  Ye(Ae(e.taskListButtonText), 1)
11794
11797
  ]),
11795
11798
  _: 1
11796
- })) : Ne("", !0),
11797
- oe("div", ly, [
11799
+ })) : Oe("", !0),
11800
+ se("div", ly, [
11798
11801
  ee(te, {
11799
11802
  onClick: K[3] || (K[3] = (M) => i.value = !1)
11800
11803
  }, {
@@ -11833,7 +11836,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11833
11836
  }, null, 8, ["modelValue"])
11834
11837
  ]),
11835
11838
  _: 1
11836
- }, 8, ["label"])) : Ne("", !0),
11839
+ }, 8, ["label"])) : Oe("", !0),
11837
11840
  e.showPromptSelect ? (G(), Ee(ne, {
11838
11841
  key: 1,
11839
11842
  label: e.promptLabel,
@@ -11860,7 +11863,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11860
11863
  }, 8, ["modelValue", "placeholder", "loading"])
11861
11864
  ]),
11862
11865
  _: 1
11863
- }, 8, ["label", "required"])) : Ne("", !0),
11866
+ }, 8, ["label", "required"])) : Oe("", !0),
11864
11867
  ee(ne, {
11865
11868
  label: e.freeTextLabel,
11866
11869
  required: ""
@@ -11930,10 +11933,10 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11930
11933
  return G(), Ee(Gh, { to: "body" }, [
11931
11934
  ee(us, { name: "ai-panel-slide" }, {
11932
11935
  default: le(() => [
11933
- or(oe("div", fy, [
11934
- oe("div", dy, [
11935
- oe("div", py, [
11936
- oe("div", {
11936
+ or(se("div", fy, [
11937
+ se("div", dy, [
11938
+ se("div", py, [
11939
+ se("div", {
11937
11940
  class: Je(["ai-task-panel__icon", { spinning: Q(r).activeCount > 0 }])
11938
11941
  }, [
11939
11942
  ee(c, null, {
@@ -11943,12 +11946,12 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11943
11946
  _: 1
11944
11947
  })
11945
11948
  ], 2),
11946
- oe("div", hy, [
11947
- oe("div", my, Ae(Q(r).panelSubtitle), 1),
11948
- oe("div", gy, Ae(Q(r).panelTitle), 1)
11949
+ se("div", hy, [
11950
+ se("div", my, Ae(Q(r).panelSubtitle), 1),
11951
+ se("div", gy, Ae(Q(r).panelTitle), 1)
11949
11952
  ])
11950
11953
  ]),
11951
- oe("div", vy, [
11954
+ se("div", vy, [
11952
11955
  Q(r).runningCount > 0 ? (G(), Ee(f, {
11953
11956
  key: 0,
11954
11957
  link: "",
@@ -11959,7 +11962,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11959
11962
  Ye(" 取消全部 ", -1)
11960
11963
  ])]),
11961
11964
  _: 1
11962
- })) : Ne("", !0),
11965
+ })) : Oe("", !0),
11963
11966
  ee(f, {
11964
11967
  link: "",
11965
11968
  onClick: u[1] || (u[1] = (p) => Q(r).toggleMinimize())
@@ -11990,13 +11993,13 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
11990
11993
  })
11991
11994
  ])
11992
11995
  ]),
11993
- oe("div", _y, [
11996
+ se("div", _y, [
11994
11997
  Q(r).tasks.length ? (G(), fe("div", yy, [
11995
11998
  (G(!0), fe(Ve, null, Ar(Q(r).tasks, (p) => (G(), fe("div", {
11996
11999
  key: p.id,
11997
12000
  class: "ai-task-row"
11998
12001
  }, [
11999
- oe("div", wy, [
12002
+ se("div", wy, [
12000
12003
  p.status === "succeeded" ? (G(), Ee(c, {
12001
12004
  key: 0,
12002
12005
  class: "ok"
@@ -12029,15 +12032,15 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12029
12032
  _: 1
12030
12033
  }))
12031
12034
  ]),
12032
- oe("div", by, [
12033
- oe("div", Ey, Ae(p.title), 1),
12034
- oe("div", Oy, [
12035
- oe("span", null, Ae(i(p.status)), 1),
12036
- p.runId ? (G(), fe("span", Ny, " · #" + Ae(p.runId), 1)) : Ne("", !0)
12035
+ se("div", by, [
12036
+ se("div", Ey, Ae(p.title), 1),
12037
+ se("div", Oy, [
12038
+ se("span", null, Ae(i(p.status)), 1),
12039
+ p.runId ? (G(), fe("span", Ny, " · #" + Ae(p.runId), 1)) : Oe("", !0)
12037
12040
  ]),
12038
- p.summary ? (G(), fe("div", xy, Ae(p.summary), 1)) : Ne("", !0)
12041
+ p.summary ? (G(), fe("div", xy, Ae(p.summary), 1)) : Oe("", !0)
12039
12042
  ]),
12040
- oe("div", Sy, [
12043
+ se("div", Sy, [
12041
12044
  p.status === "running" || p.status === "pending" ? (G(), Ee(f, {
12042
12045
  key: 0,
12043
12046
  link: "",
@@ -12049,7 +12052,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12049
12052
  Ye(" 取消 ", -1)
12050
12053
  ])]),
12051
12054
  _: 1
12052
- }, 8, ["onClick"])) : Ne("", !0),
12055
+ }, 8, ["onClick"])) : Oe("", !0),
12053
12056
  p.status === "succeeded" && p.runId ? (G(), Ee(f, {
12054
12057
  key: 1,
12055
12058
  link: "",
@@ -12062,7 +12065,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12062
12065
  Ye(" 使用 ", -1)
12063
12066
  ])]),
12064
12067
  _: 1
12065
- }, 8, ["loading", "onClick"])) : Ne("", !0),
12068
+ }, 8, ["loading", "onClick"])) : Oe("", !0),
12066
12069
  p.status !== "running" && p.status !== "pending" ? (G(), Ee(f, {
12067
12070
  key: 2,
12068
12071
  link: "",
@@ -12073,7 +12076,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12073
12076
  Ye(" 移除 ", -1)
12074
12077
  ])]),
12075
12078
  _: 1
12076
- }, 8, ["onClick"])) : Ne("", !0)
12079
+ }, 8, ["onClick"])) : Oe("", !0)
12077
12080
  ])
12078
12081
  ]))), 128))
12079
12082
  ])) : (G(), Ee(h, {
@@ -12093,14 +12096,14 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12093
12096
  ])]),
12094
12097
  _: 1
12095
12098
  })
12096
- ])) : Ne("", !0)
12099
+ ])) : Oe("", !0)
12097
12100
  ], 512), [
12098
12101
  [zo, Q(r).panelVisible && !Q(r).panelMinimized]
12099
12102
  ])
12100
12103
  ]),
12101
12104
  _: 1
12102
12105
  }),
12103
- or(oe("div", {
12106
+ or(se("div", {
12104
12107
  class: "ai-task-panel-mini",
12105
12108
  onClick: u[4] || (u[4] = (p) => Q(r).toggleMinimize())
12106
12109
  }, [
@@ -12112,13 +12115,13 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12112
12115
  ee(Q(Ll))
12113
12116
  ]),
12114
12117
  _: 1
12115
- })) : Ne("", !0),
12116
- oe("span", null, Ae(Q(r).panelSubtitle), 1),
12118
+ })) : Oe("", !0),
12119
+ se("span", null, Ae(Q(r).panelSubtitle), 1),
12117
12120
  Q(r).runningCount > 0 ? (G(), Ee(b, {
12118
12121
  key: 1,
12119
12122
  value: Q(r).runningCount,
12120
12123
  class: "m-l-8"
12121
- }, null, 8, ["value"])) : Ne("", !0)
12124
+ }, null, 8, ["value"])) : Oe("", !0)
12122
12125
  ], 512), [
12123
12126
  [zo, Q(r).panelVisible && Q(r).panelMinimized]
12124
12127
  ])
@@ -12150,7 +12153,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12150
12153
  setup(e, { emit: t }) {
12151
12154
  const n = e, r = t, o = Lf();
12152
12155
  kr(If, o), kr(Mf, Pf(o));
12153
- const s = se(() => {
12156
+ const s = oe(() => {
12154
12157
  const l = {
12155
12158
  title: n.title,
12156
12159
  freeText: n.freeText,
@@ -12179,7 +12182,7 @@ const ay = { class: "ai-use-dialog__footer" }, ly = { class: "ai-use-dialog__foo
12179
12182
  }), ro(() => {
12180
12183
  i == null || i();
12181
12184
  }), (l, u) => (G(), fe(Ve, null, [
12182
- e.showDialog !== !1 ? (G(), Ee(uy, Ec(so({ key: 0 }, s.value)), null, 16)) : Ne("", !0),
12185
+ e.showDialog !== !1 ? (G(), Ee(uy, Ec(so({ key: 0 }, s.value)), null, 16)) : Oe("", !0),
12183
12186
  ee(Ay, { onUse: a }),
12184
12187
  en(l.$slots, "default")
12185
12188
  ], 64));
@@ -12261,7 +12264,7 @@ const Ff = $y(Py), bw = /* @__PURE__ */ De({
12261
12264
  function c(b, p) {
12262
12265
  return b in s.value ? s.value[b] : p;
12263
12266
  }
12264
- const f = se(() => ({
12267
+ const f = oe(() => ({
12265
12268
  title: c("title", n.title),
12266
12269
  multiple: c("multiple", n.multiple),
12267
12270
  maxCount: c("maxCount", n.maxCount),
@@ -12299,7 +12302,7 @@ const Ff = $y(Py), bw = /* @__PURE__ */ De({
12299
12302
  }, f.value, {
12300
12303
  onConfirm: h,
12301
12304
  onCancel: g
12302
- }), null, 16, ["modelValue"])) : Ne("", !0),
12305
+ }), null, 16, ["modelValue"])) : Oe("", !0),
12303
12306
  en(b.$slots, "default")
12304
12307
  ], 64));
12305
12308
  }