vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1,778 lines • 1.2 MB
JavaScript
var $f = Object.defineProperty;
var Ef = (t, r, l) => r in t ? $f(t, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[r] = l;
var Pt = (t, r, l) => Ef(t, typeof r != "symbol" ? r + "" : r, l);
import { inject as $t, computed as y, getCurrentInstance as Ol, unref as e, provide as nn, h as Jn, getCurrentScope as ar, markRaw as zr, shallowRef as ra, watchEffect as Fn, readonly as uc, watch as le, reactive as dt, defineComponent as Ue, createVNode as k, renderSlot as K, useSlots as kn, ref as E, createElementBlock as N, createBlock as He, openBlock as S, normalizeClass as x, Transition as Tn, withCtx as Y, createCommentVNode as ge, normalizeStyle as Qe, createElementVNode as se, mergeProps as je, createTextVNode as it, toDisplayString as Fe, render as al, nextTick as wt, onScopeDispose as ua, onMounted as sn, onBeforeUnmount as pn, isVNode as vl, Comment as Af, Fragment as at, isRef as Ua, customRef as Rf, toRef as Ge, resolveComponent as Gs, withModifiers as gt, renderList as ln, shallowReadonly as Sl, Teleport as Mf, withDirectives as rl, vShow as ol, toRefs as cc, normalizeProps as _t, guardReactiveProps as Gt, createSlots as el, withKeys as Wn, TransitionGroup as Pf, onBeforeUpdate as zf, createApp as Ma, resolveDynamicComponent as dc, onUpdated as Zs, defineAsyncComponent as Lf, onBeforeMount as Ff } from "vue";
const zt = typeof window < "u", If = Object.prototype.toString, Nf = Object.prototype.hasOwnProperty;
function Df(t, r) {
return If.call(t) === `[object ${r}]`;
}
function Js(t, r) {
return Nf.call(t, r);
}
function fn(t) {
return t != null;
}
function Ct(t) {
return t == null;
}
function Of(t) {
return Number.isNaN(t);
}
function fc(t) {
return t === !0;
}
function Vi(t) {
return t === !1;
}
function fl(t) {
return Df(t, "Object");
}
function wl(t) {
return !!t && typeof t.then == "function" && typeof t.catch == "function";
}
function on(t) {
return typeof t == "function";
}
function ks(t) {
return Array.isArray(t) || typeof t == "string" ? t.length === 0 : t instanceof Map || t instanceof Set ? t.size === 0 : fl(t) ? Object.keys(t).length === 0 : typeof t == "number" ? Of(t) : Ct(t);
}
function Al(t, r = !1) {
return !r && !zt ? !1 : !!(t && "nodeType" in t);
}
function bo(t) {
return fn(t) && typeof t[Symbol.iterator] == "function";
}
function Qt() {
}
function _f() {
return !0;
}
function oa() {
return !1;
}
function Tl(t, r = 1, l = 1) {
const a = [];
for (let n = 0; n < t; ++n)
a.push(r + n * l);
return a;
}
function Bf(t) {
return Object.prototype.toString.call(t).slice(8, -1);
}
function pc(t = 16) {
const r = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", l = r.length;
let a = "";
for (; t--; )
a += r.charAt(Math.floor(Math.random() * l));
return a;
}
async function Pa(t, r = {}) {
if (t.length) {
for (const [l, a] of t)
if (typeof l == "function" ? l() : l)
return typeof r.beforeMatchAny == "function" && await r.beforeMatchAny(), await a(), typeof r.afterMatchAny == "function" && await r.afterMatchAny(), !0;
}
return !1;
}
const Hf = "[-\\+]?\\d+%?", Vf = "[-\\+]?\\d*\\.\\d+%?", ba = `(?:${Vf})|(?:${Hf})`, jf = `[\\s|\\(]+(${ba})[,|\\s]+(${ba})[,|\\s]+(${ba})\\s*\\)?`, Lr = `[\\s|\\(]+(${ba})[,|\\s]+(${ba})[,|\\s]+(${ba})[,|\\s]+(${ba})\\s*\\)?`, vc = new RegExp(`rgb${jf}`), hc = new RegExp(`rgba${Lr}`), mc = new RegExp(`hsl${Lr}`), bc = new RegExp(`hsla${Lr}`), gc = new RegExp(`hsv${Lr}`), yc = new RegExp(`hsva${Lr}`), kc = /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, wc = /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, xc = /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, Sc = /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, go = Object.freeze({
aliceblue: "f0f8ff",
antiquewhite: "faebd7",
aqua: "0ff",
aquamarine: "7fffd4",
azure: "f0ffff",
beige: "f5f5dc",
bisque: "ffe4c4",
black: "000",
blanchedalmond: "ffebcd",
blue: "00f",
blueviolet: "8a2be2",
brown: "a52a2a",
burlywood: "deb887",
burntsienna: "ea7e5d",
cadetblue: "5f9ea0",
chartreuse: "7fff00",
chocolate: "d2691e",
coral: "ff7f50",
cornflowerblue: "6495ed",
cornsilk: "fff8dc",
crimson: "dc143c",
cyan: "0ff",
darkblue: "00008b",
darkcyan: "008b8b",
darkgoldenrod: "b8860b",
darkgray: "a9a9a9",
darkgreen: "006400",
darkgrey: "a9a9a9",
darkkhaki: "bdb76b",
darkmagenta: "8b008b",
darkolivegreen: "556b2f",
darkorange: "ff8c00",
darkorchid: "9932cc",
darkred: "8b0000",
darksalmon: "e9967a",
darkseagreen: "8fbc8f",
darkslateblue: "483d8b",
darkslategray: "2f4f4f",
darkslategrey: "2f4f4f",
darkturquoise: "00ced1",
darkviolet: "9400d3",
deeppink: "ff1493",
deepskyblue: "00bfff",
dimgray: "696969",
dimgrey: "696969",
dodgerblue: "1e90ff",
firebrick: "b22222",
floralwhite: "fffaf0",
forestgreen: "228b22",
fuchsia: "f0f",
gainsboro: "dcdcdc",
ghostwhite: "f8f8ff",
gold: "ffd700",
goldenrod: "daa520",
gray: "808080",
green: "008000",
greenyellow: "adff2f",
grey: "808080",
honeydew: "f0fff0",
hotpink: "ff69b4",
indianred: "cd5c5c",
indigo: "4b0082",
ivory: "fffff0",
khaki: "f0e68c",
lavender: "e6e6fa",
lavenderblush: "fff0f5",
lawngreen: "7cfc00",
lemonchiffon: "fffacd",
lightblue: "add8e6",
lightcoral: "f08080",
lightcyan: "e0ffff",
lightgoldenrodyellow: "fafad2",
lightgray: "d3d3d3",
lightgreen: "90ee90",
lightgrey: "d3d3d3",
lightpink: "ffb6c1",
lightsalmon: "ffa07a",
lightseagreen: "20b2aa",
lightskyblue: "87cefa",
lightslategray: "789",
lightslategrey: "789",
lightsteelblue: "b0c4de",
lightyellow: "ffffe0",
lime: "0f0",
limegreen: "32cd32",
linen: "faf0e6",
magenta: "f0f",
maroon: "800000",
mediumaquamarine: "66cdaa",
mediumblue: "0000cd",
mediumorchid: "ba55d3",
mediumpurple: "9370db",
mediumseagreen: "3cb371",
mediumslateblue: "7b68ee",
mediumspringgreen: "00fa9a",
mediumturquoise: "48d1cc",
mediumvioletred: "c71585",
midnightblue: "191970",
mintcream: "f5fffa",
mistyrose: "ffe4e1",
moccasin: "ffe4b5",
navajowhite: "ffdead",
navy: "000080",
oldlace: "fdf5e6",
olive: "808000",
olivedrab: "6b8e23",
orange: "ffa500",
orangered: "ff4500",
orchid: "da70d6",
palegoldenrod: "eee8aa",
palegreen: "98fb98",
paleturquoise: "afeeee",
palevioletred: "db7093",
papayawhip: "ffefd5",
peachpuff: "ffdab9",
peru: "cd853f",
pink: "ffc0cb",
plum: "dda0dd",
powderblue: "b0e0e6",
purple: "800080",
rebeccapurple: "663399",
red: "f00",
rosybrown: "bc8f8f",
royalblue: "4169e1",
saddlebrown: "8b4513",
salmon: "fa8072",
sandybrown: "f4a460",
seagreen: "2e8b57",
seashell: "fff5ee",
sienna: "a0522d",
silver: "c0c0c0",
skyblue: "87ceeb",
slateblue: "6a5acd",
slategray: "708090",
slategrey: "708090",
snow: "fffafa",
springgreen: "00ff7f",
steelblue: "4682b4",
tan: "d2b48c",
teal: "008080",
thistle: "d8bfd8",
tomato: "ff6347",
turquoise: "40e0d0",
violet: "ee82ee",
wheat: "f5deb3",
white: "fff",
whitesmoke: "f5f5f5",
yellow: "ff0",
yellowgreen: "9acd32"
}), Wf = Object.freeze(new Set(Object.keys(go)));
function Cc(t) {
return t = String(t).trim().toLowerCase(), t ? t === "transparent" || go[t] ? !0 : t === "transparent" || Wf.has(t) || vc.test(t) || hc.test(t) || mc.test(t) || bc.test(t) || gc.test(t) || yc.test(t) || kc.test(t) || wc.test(t) || xc.test(t) || Sc.test(t) : !1;
}
function Kf(t) {
if (t = t.toString().trim().toLowerCase(), t === "transparent")
return { r: 0, g: 0, b: 0, a: 0, format: "name", toString: Cl };
let r = !1;
go[t] && (t = go[t], r = !0);
let l;
if (l = vc.exec(t)) {
const { r: a, g: n, b: o } = Sr(l[1], l[2], l[3]);
return {
r: a * 255,
g: n * 255,
b: o * 255,
format: "rgb",
toString: Cl
};
}
if (l = hc.exec(t)) {
const { r: a, g: n, b: o } = Sr(l[1], l[2], l[3]);
return {
r: a * 255,
g: n * 255,
b: o * 255,
a: Xa(l[4]),
format: "rgba",
toString: Cl
};
}
if (l = mc.exec(t)) {
const { h: a, s: n, l: o } = yo(l[0], l[1], l[3]);
return { h: a * 360, s: n, l: o, format: "hsl", toString: wo };
}
if (l = bc.exec(t)) {
const { h: a, s: n, l: o } = yo(l[0], l[1], l[3]);
return {
h: a * 360,
s: n,
l: o,
a: Xa(l[4]),
format: "hsla",
toString: wo
};
}
if (l = gc.exec(t)) {
const { h: a, s: n, v: o } = ko(l[0], l[1], l[3]);
return { h: a * 360, s: n, v: o, format: "hsv", toString: xo };
}
if (l = yc.exec(t)) {
const { h: a, s: n, v: o } = ko(l[0], l[1], l[3]);
return {
h: a * 360,
s: n,
v: o,
a: Xa(l[4]),
format: "hsva",
toString: xo
};
}
return (l = kc.exec(t)) ? {
r: parseInt(`${l[1]}${l[1]}`, 16),
g: parseInt(`${l[2]}${l[2]}`, 16),
b: parseInt(`${l[3]}${l[3]}`, 16),
format: r ? "name" : "hex3",
toString: Cl
} : (l = wc.exec(t)) ? {
r: parseInt(`${l[1]}${l[1]}`, 16),
g: parseInt(`${l[2]}${l[2]}`, 16),
b: parseInt(`${l[3]}${l[3]}`, 16),
a: ji(`${l[4]}${l[4]}`),
format: r ? "name" : "hex4",
toString: Cl
} : (l = xc.exec(t)) ? {
r: parseInt(l[1], 16),
g: parseInt(l[2], 16),
b: parseInt(l[3], 16),
format: r ? "name" : "hex6",
toString: Cl
} : (l = Sc.exec(t)) ? {
r: parseInt(l[1], 16),
g: parseInt(l[2], 16),
b: parseInt(l[3], 16),
a: ji(l[4]),
format: r ? "name" : "hex8",
toString: Cl
} : null;
}
function Qn(t) {
let r = { r: 0, g: 0, b: 0 }, l = 1, a;
return typeof t == "string" ? a = Kf(t) : a = t, a !== null && typeof a == "object" && ("l" in a ? r = Tc(a.h, a.s, a.l) : "v" in a && (r = $c(a.h, a.s, a.v)), "a" in a && (l = Xa(a.a ?? 1), Number.isNaN(l) && (l = 1)), r = a), { ...r, a: l, format: "rgba", toString: Cl };
}
function yo(t, r, l) {
return {
h: Rl(t, 0, 360) / 360,
s: Rl(Cr(r) ? Tr(r) : r, 0, 1),
l: Rl(Cr(l) ? Tr(l) : l, 0, 1)
};
}
function Sr(t, r, l) {
return {
r: Rl(t, 0, 255) / 255,
g: Rl(r, 0, 255) / 255,
b: Rl(l, 0, 255) / 255
};
}
function ko(t, r, l) {
return {
h: Rl(t, 0, 360) / 360,
s: Rl(Cr(r) ? Tr(r) : r, 0, 1),
v: Rl(Cr(l) ? Tr(l) : l, 0, 1)
};
}
function Xa(t) {
return Rl(Cr(t) ? Tr(t) : t, 0, 1);
}
function Tc(t, r, l) {
let a, n, o;
if ({ h: t, s: r, l } = yo(t, r, l), r === 0)
a = n = o = l;
else {
const s = l < 0.5 ? 1 * (1 + r) : l + r - l * r, c = 2 * l - s;
a = ns(c, s, t + 1 / 3), n = ns(c, s, t), o = ns(c, s, t - 1 / 3);
}
return a *= 255, n *= 255, o *= 255, { r: a, g: n, b: o, toString: Cl };
}
function Uf(t, r, l) {
({ h: t, s: r, l } = yo(t, r, l));
const a = 0.5 * (2 * l + r * (1 - Math.abs(2 * l - 1)));
return r = 2 * (a - l) / a, { h: t * 360, s: r, v: a, toString: xo };
}
function Xf(t, r, l) {
({ h: t, s: r, v: l } = ko(t, r, l));
const a = 0.5 * l * (2 - r);
return r = l * r / (1 - Math.abs(2 * a - 1)), { h: t * 360, s: r, l: a, toString: wo };
}
function $c(t, r, l) {
({ h: t, s: r, v: l } = ko(t, r, l)), t *= 6;
const a = Math.floor(t), n = t - a, o = l * (1 - r), s = l * (1 - n * r), c = l * (1 - (1 - n) * r), d = a % 6;
let p = [l, s, o, o, c, l][d], m = [c, l, l, s, o, o][d], b = [o, o, c, l, l, s][d];
return p *= 255, m *= 255, b *= 255, { r: p, g: m, b, toString: Cl };
}
function no(t, r, l) {
({ r: t, g: r, b: l } = Sr(t, r, l));
const a = Math.max(t, r, l), n = Math.min(t, r, l);
let o;
const s = a, c = a - n, d = a === 0 ? 0 : c / a;
if (a === n)
o = 0;
else {
switch (a) {
case t: {
o = (r - l) / c + (r < l ? 6 : 0);
break;
}
case r: {
o = (l - t) / c + 2;
break;
}
case l: {
o = (t - r) / c + 4;
break;
}
default:
o = 0;
}
o *= 60;
}
return { h: o, s: d, v: s, toString: xo };
}
function ws(t, r, l, a = !1) {
({ r: t, g: r, b: l } = Sr(t, r, l));
const n = [
ga(Math.round(t * 255).toString(16)),
ga(Math.round(r * 255).toString(16)),
ga(Math.round(l * 255).toString(16))
];
return a && ya(n[0]) && ya(n[1]) && ya(n[2]) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : "#" + n.join("");
}
function xs(t, r, l, a, n = !1) {
({ r: t, g: r, b: l } = Sr(t, r, l));
const o = [
ga(Math.round(t * 255).toString(16)),
ga(Math.round(r * 255).toString(16)),
ga(Math.round(l * 255).toString(16)),
ga(Gf(Xa(a)))
];
return n && ya(o[0]) && ya(o[1]) && ya(o[2]) && ya(o[3]) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) + o[3].charAt(0) : "#" + o.join("");
}
function sa(t, r, l = 0.5) {
if (!t && !r) return { r: 0, g: 0, b: 0, a: 1 };
if (!t) return Qn(r);
if (!r) return Qn(t);
const a = Qn(t), n = Qn(r), o = Rl(l, 0, 1), s = o * 2 - 1, c = a.a - n.a, p = ((s * c === -1 ? s : (s + c) / (1 + s * c)) + 1) / 2, m = 1 - p;
return {
r: Math.round(a.r * p + n.r * m),
g: Math.round(a.g * p + n.g * m),
b: Math.round(a.b * p + n.b * m),
a: Math.round(a.a * o + n.a * (1 - o)),
format: "rgba",
toString: Cl
};
}
function hl(t, r) {
const l = Qn(t);
return l.a = Xa(r), l;
}
function Yf(t, r = !1, l = "hex") {
const a = Math.round(Math.random() * 360), n = Math.round(80 + Math.random() * 20) / 100, o = Math.round(40 + Math.random() * 20) / 100;
if (l === "hsl")
return wo.bind({ h: a, s: n, l: o })();
let s;
if (l === "hex" || l === "rgb") {
if (s = Tc(a, n, o), l === "hex") {
const { r: c, g: d, b: p } = s;
return r ? xs(c, d, p, Math.random()) : ws(c, d, p);
}
} else l === "hsv" && (s = Uf(a, n, o));
return r && (s.a = Math.random()), s.toString();
}
function qf(t = !1, r = "hex") {
return Yf("hard", t, r);
}
function ga(t) {
return t.length === 1 ? `0${t}` : t.toString();
}
function ya(t) {
return t.charAt(0) === t.charAt(1);
}
function Gf(t) {
return Math.round(parseFloat(t) * 255).toString(16);
}
function ji(t) {
return parseInt(t, 16) / 255;
}
function Rl(t, r, l) {
return Math.max(r, Math.min(l, parseFloat(t)));
}
function ns(t, r, l) {
return l < 0 && (l += 1), l > 1 && (l -= 1), l < 1 / 6 ? t + (r - t) * 6 * l : l < 1 / 2 ? r : l < 2 / 3 ? t + (r - t) * (2 / 3 - l) * 6 : t;
}
function Cr(t) {
return String(t).trim().includes("%");
}
function Tr(t) {
const r = parseFloat(t) / 100;
return Number.isNaN(r) ? 0 : r;
}
function Cl() {
return fn(this.a) && this.a >= 0 && this.a < 1 ? `rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})` : `rgb(${this.r}, ${this.g}, ${this.b})`;
}
function wo() {
const t = `${this.s * 100}%`, r = `${this.l * 100}%`;
return fn(this.a) && this.a >= 0 && this.a < 1 ? `hsla(${this.h}, ${t}, ${r}, ${this.a})` : `hsl(${this.h}, ${t}, ${r})`;
}
function xo() {
const t = `${this.s * 100}%`, r = `${this.v * 100}%`;
return fn(this.a) && this.a >= 0 && this.a < 1 ? `hsva(${this.h}, ${t}, ${r}, ${this.a})` : `hsv(${this.h}, ${t}, ${r})`;
}
let Zf = 0;
function Ec() {
return Zf++;
}
function Wi(t) {
return t & -t;
}
function Ac(t, r = 0) {
const l = new Array(t + 1).fill(0);
function a(c, d) {
if (!(!d || c >= t))
for (c += 1; c <= t; )
l[c] += d, c += Wi(c);
}
function n(c = t) {
if (c <= 0) return 0;
c > t && (c = t);
let d = c * r;
for (; c > 0; )
d += l[c], c -= Wi(c);
return d;
}
function o(c) {
return n(c + 1) - n(c);
}
function s(c) {
let d = 0, p = t;
for (; p > d; ) {
const m = Math.floor((d + p) / 2), b = n(m);
if (b > c) {
p = m;
continue;
} else if (b < c) {
if (d === m)
return n(d + 1) <= c ? d + 1 : d;
d = m;
} else
return m;
}
return d;
}
return { tree: l, add: a, sum: n, get: o, boundIndex: s };
}
const Jf = /^\s*[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?\s*$/;
function Qa(t, r = !1) {
return typeof t == "number" ? !Number.isNaN(t) : r ? Jf.test(String(t)) : !Number.isNaN(parseFloat(t)) || !Number.isNaN(Number(t));
}
function rn(t) {
let r = parseFloat(t);
return Number.isNaN(r) && (r = Number(t)), Number.isNaN(r) ? 0 : r;
}
function Qf(t, r) {
return `${t < 0 ? "-" : ""}${String(Math.abs(Math.round(t))).padStart(r, "0")}`;
}
function ll(t) {
return Qf(t, 2);
}
function _l(t) {
const r = t.toString().split(/[eE]/), l = (r[0].split(".")[1] || "").length - +(r[1] || 0);
return l > 0 ? l : 0;
}
function Bn(t, r) {
if (r === 0) return Math.round(t);
let l = t.toFixed(_l(t));
const a = l.indexOf(".");
if (a === -1) return t;
const n = l.replace(".", "").split(""), o = a + r;
return n[o] ? (l.charAt(o + 1) === "5" ? l = l.substring(0, o + 1) + "6" : l = l.substring(0, o + 2), parseFloat(Number(l).toFixed(r))) : t;
}
function pr(t, r, l) {
return Bn(t * r, l);
}
function dn(t, r, l) {
return Math.max(r, Math.min(l, parseFloat(t)));
}
function ep(t, r, l = 0) {
if (t <= 0 || r <= 1) return [t];
l < 1 && (l = 1 / 0);
const a = [];
let n = 0;
for (; t >= r && n < l; )
a.push(t % r), t = Math.floor(t / r), ++n;
return a.push(t), a.reverse();
}
function jr(t, r = 0) {
return r === t ? r : (r > t && ([r, t] = [t, r]), Math.random() * (t - r) + r);
}
function tp(t, r = 15) {
return +parseFloat(Number(t).toPrecision(r));
}
function Ki(t) {
const r = String(t);
if (!r.includes("e"))
return Number(r.replace(".", ""));
const l = _l(t);
return l > 0 ? tp(Number(t) * 10 ** l) : Number(t);
}
function Qs(t) {
return (...r) => {
let l = r[0];
for (let a = 1, n = r.length; a < n; ++a)
l = t(l, r[a]);
return l;
};
}
const So = Qs((t, r) => {
const l = Ki(t), a = Ki(r), n = _l(t) + _l(r);
return l * a / 10 ** n;
}), np = Qs((t, r) => {
const l = 10 ** Math.max(_l(t), _l(r));
return (So(t, l) + So(r, l)) / l;
}), lp = Qs((t, r) => {
const l = 10 ** Math.max(_l(t), _l(r));
return (So(t, l) - So(r, l)) / l;
}), $a = 1e3, No = 60, Ui = No * $a, ei = 60, ap = ei * No, Xi = ap * $a, Rc = 24, rp = Rc * ei, Mc = rp * No, op = Mc * $a, Na = Mc * $a, sp = 7, ip = sp * Rc, up = ip * ei, cp = up * No, dp = cp * $a, fp = {
y(t, r) {
const l = t.getFullYear();
return r.length === 4 ? l : l % 1e3 % 100;
},
M(t, r) {
const l = t.getMonth() + 1;
return r.length === 2 ? ll(l) : l;
},
d(t, r) {
const l = t.getDate();
return r.length === 2 ? ll(l) : l;
},
H(t, r) {
const l = t.getHours();
return r.length === 2 ? ll(l) : l;
},
m(t, r) {
const l = t.getMinutes();
return r.length === 2 ? ll(l) : l;
},
s(t, r) {
const l = t.getSeconds();
return r.length === 2 ? ll(l) : l;
},
q(t, r) {
const l = Math.ceil((t.getMonth() + 1) / 3);
return r.length === 2 ? ll(l) : l;
}
}, pp = /[yMdHmsq](\w)*|./g, vp = /'(.+?)'/g;
function bl(t, r = !1) {
const l = new Date(t);
if (r && Number.isNaN(+l))
throw new RangeError("Invalid date value");
return typeof t == "string" && !t.includes(":") && (l.setHours(0), l.setMinutes(0), l.setSeconds(0)), l;
}
function Pc(t, r = "yyyy-MM-dd HH:mm:ss") {
t = bl(t);
const l = r.match(pp), a = l == null ? void 0 : l.length;
if (!a)
return r;
let n = 0, o = "";
for (; n < a; ) {
const s = l[n], c = s[0], d = fp[c];
d ? o += d(t, s) : o += s, ++n;
}
return o.replace(vp, "$1");
}
function Wr(t) {
return t = bl(t), `${ll(t.getHours())}:${ll(t.getMinutes())}:${ll(
t.getSeconds()
)}`;
}
function hp(t, r) {
return t = bl(t), r = ~~r, t.setDate(t.getDate() + r), t;
}
function mp(t, r = 42, l = 1) {
t = bl(t);
const a = [];
for (let n = 0; n < r; ++n)
a.push(hp(t, n * l));
return a;
}
function Ss(t) {
return t = bl(t), t.setHours(0, 0, 0, 0), t;
}
function bp(t) {
return t = bl(t), t.setHours(23, 59, 59, 999), t;
}
function Cs(t, r = 0) {
r = r % 7, r < 0 && (r += 7), t = bl(t);
const l = t.getDay(), a = (l < r ? 7 : 0) + l - r;
return t.setDate(t.getDate() - a), t.setHours(0, 0, 0, 0), t;
}
function zc(t) {
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
}
function Lc(t, r) {
let l;
return r < 7 ? r !== 2 ? l = 30 + r % 2 : zc(t) ? l = 29 : l = 28 : l = 31 - r % 2, l;
}
function gp(t, r = 1) {
t = bl(t);
const l = t.getFullYear(), a = t.getMonth() + 1, n = t.getDate(), o = Lc(l, a);
return r = r % o, r < 0 && (r += o), n < r && t.setMonth(a - 1), t.setDate(r), t.setHours(0, 0, 0, 0), t;
}
function aa(t, r) {
return t = Ss(t), r = Ss(r), (r.getTime() - t.getTime()) / op;
}
function yp(t, r, l = 0) {
return t = Cs(t, l), r = Cs(r, l), (r.getTime() - t.getTime()) / dp;
}
function Fc(t, r = {}) {
if (t == null || typeof t != "object")
return t;
const { cloneObject: l = Qt } = r, a = /* @__PURE__ */ Object.create(null), n = [
{
parent: a,
prop: "root",
data: t
}
], o = /* @__PURE__ */ new WeakMap(), s = [], c = [];
for (; n.length; ) {
const { parent: d, prop: p, data: m } = n.pop();
if (!d) continue;
const b = Bf(m);
if (b === "Date") {
d[p] = new Date(m);
continue;
}
if (b !== "Array") {
const i = l(b, m);
if (i != null) {
d[p] = i;
continue;
}
}
const f = d[p] = b === "Array" || b === "Set" || b === "Map" ? [] : /* @__PURE__ */ Object.create(null);
if (b === "Set" || b === "Map") {
let i = 0;
if (b === "Set") {
for (const v of m)
o.has(v) ? f[i] = o.get(v) : v !== null && typeof v == "object" ? n.push({
parent: f,
prop: i,
data: v
}) : f[i] = v, ++i;
s.push({ parent: d, prop: p });
} else {
for (const v of m) {
const u = [];
i = 0;
for (const h of v)
o.has(h) ? u[i] = o.get(h) : h !== null && typeof h == "object" ? n.push({
parent: u,
prop: i,
data: h
}) : u[i] = h, ++i;
f.push(u);
}
c.push({ parent: d, prop: p });
}
} else
for (const i of Object.keys(m)) {
const v = m[i];
o.has(v) ? f[i] = o.get(v) : v !== null && typeof v == "object" ? n.push({
parent: f,
prop: i,
data: v
}) : f[i] = v;
}
o.set(m, f);
}
for (const { parent: d, prop: p } of s)
d[p] = new Set(d[p]);
for (const { parent: d, prop: p } of c)
d[p] = new Map(d[p]);
return a.root;
}
const kp = "This object was destroyed, do not use it anywhere", wp = () => !0;
function rr(t, r = kp) {
const l = () => {
throw new Error(r);
};
Object.keys(t).forEach((a) => {
typeof t[a] == "function" ? t[a] = l.bind(t) : t[a] = null;
}), Object.getOwnPropertyNames(t.constructor.prototype).forEach((a) => {
a !== "constructor" && typeof t[a] == "function" && (t[a] = l.bind(t));
}), t.isDestroyed = wp;
}
const yl = zt && ("ontouchstart" in window || Sp() > 0), xp = yl ? "pointerdown" : "click";
function Sp() {
return typeof navigator < "u" && (navigator.maxTouchPoints || navigator.msMaxTouchPoints) || 0;
}
function Cp(t, r, l = window.Event) {
const { type: a, bubbles: n = !1, cancelable: o = !1, ...s } = r;
if (!fn(a) || a === "") return !1;
let c;
return fn(l) ? c = new l(a, { bubbles: n, cancelable: o }) : (c = document.createEvent("HTMLEvents"), c.initEvent(a, n, o)), Object.assign(c, s), t.dispatchEvent(c);
}
const Tp = [
"button",
"[href]:not(.disabled)",
"input",
"select",
"textarea",
"[tabindex]",
"[contenteditable]"
].map((t) => `${t}:not(:disabled):not([disabled])`).join(", ");
function ti(t) {
return !!t && t.nodeType === 1;
}
function $p(t) {
return ti(t) ? t : document.body;
}
function Ic(t, r) {
return !zt || !t ? [] : Array.from($p(r).querySelectorAll(t));
}
function Ep(t, r) {
if (!t || !r) return !1;
const l = r.__transferElement;
return r.contains(t) || !!l && (l === t || l.contains(t));
}
function Ap(t) {
if (!zt || !ti(t) || !t.parentNode || !Ep(t, document.body) || t.style.display === "none")
return !0;
const r = t.getBoundingClientRect();
return !(r && r.width > 0 && r.height > 0);
}
function Rp(t) {
return !Ap(t);
}
function Mp(t) {
return !ti(t) || t.hasAttribute("disabled") && t.getAttribute("disabled") !== "false" || t.disabled;
}
function Pp(t, r = !1) {
const l = r ? () => !1 : Mp;
return Ic(Tp, t).filter(
(a) => Rp(a) && a.tabIndex > -1 && !l(a)
);
}
function zp(t) {
if (!zt || !t) return 0;
const r = getComputedStyle(t);
return parseFloat(r.paddingLeft) + parseFloat(r.paddingRight) || 0;
}
function Lp(t) {
if (!zt || !t) return 0;
const r = getComputedStyle(t);
return parseFloat(r.borderTopWidth) + parseFloat(r.borderBottomWidth) || 0;
}
function Do(t) {
if (!zt || !t) return 0;
const r = document.createRange();
r.setStart(t, 0), r.setEnd(t, t.childNodes.length);
const l = r.getBoundingClientRect().width, a = zp(t);
return l + a;
}
function $r(t) {
return Qa(t, !0) ? `${rn(t)}px` : String(t).trim();
}
function dl(t) {
return fn(t) && t !== !1 ? String(t) : void 0;
}
function ni() {
const t = /* @__PURE__ */ new Map();
return {
on(r, l) {
const a = t.get(r);
(a == null ? void 0 : a.add(l)) || t.set(r, /* @__PURE__ */ new Set([l]));
},
off(r, l) {
const a = t.get(r);
a && a.delete(l);
},
clear(r) {
const l = t.get(r);
l && l.clear();
},
clearAll() {
t.clear();
},
emit(r, ...l) {
const a = t.get(r);
a && a.forEach((n) => {
n(...l);
});
}
};
}
function Fp(t, r, l) {
r.has(t) || (l(t), r.add(t));
}
const Ip = /* @__PURE__ */ new Set();
function Np(t, r = console.warn) {
Fp(t, Ip, r);
}
const Nc = zt ? requestAnimationFrame : (t) => {
setTimeout(t, 16);
};
function xl(t, r = 16) {
if (typeof t != "function")
return Qt;
const l = (...o) => {
t(...o);
};
if (r <= 0)
return Ln(l);
let a = 0, n;
return function(...o) {
const s = Date.now(), c = s - a;
clearTimeout(n), c >= r ? (a = s, l(...o)) : n = setTimeout(
() => {
a = Date.now(), l(...o);
},
Math.max(0, r - c)
);
};
}
function ca(t, r = 100) {
if (typeof t != "function")
return Qt;
const l = (...n) => {
t(...n);
};
if (r <= 0)
return Ln(l);
let a;
return function(...n) {
clearTimeout(a), a = setTimeout(() => {
l(...n);
}, r);
};
}
function Ln(t) {
if (typeof t != "function")
return t;
let r = !1, l, a;
return function(...n) {
return l = n, r || (r = !0, a = Promise.resolve().then(() => (r = !1, a = void 0, t(...l)))), a;
};
}
const vr = /* @__PURE__ */ new Set(), Dc = /* @__PURE__ */ new WeakMap();
function Dp() {
vr.forEach((t) => {
t(...Dc.get(t));
}), vr.clear();
}
function Ya(t, ...r) {
if (typeof t != "function")
return t;
Dc.set(t, r), !vr.has(t) && (vr.add(t), vr.size === 1 && Nc(Dp));
}
let ls = null;
function Op() {
if (!zt)
return !0;
if (ls === null) {
const t = document.createElement("div");
t.style.display = "flex", t.style.flexDirection = "column", t.style.rowGap = "1px", t.appendChild(document.createElement("div")), t.appendChild(document.createElement("div")), document.body.appendChild(t), ls = t.scrollHeight === 1, document.body.removeChild(t);
}
return ls;
}
let as = null;
function _p() {
return zt ? (as === null && (as = "loading" in document.createElement("img")), as) : !1;
}
function or(t) {
return Array.isArray(t) ? t : [t];
}
function pl(t, ...r) {
return on(t) ? t(...r) : t;
}
function gn(t) {
return t[t.length - 1];
}
const Yi = (t) => t;
function Ts(t, r, l, a) {
let n;
a === void 0 && (a = !1), n = Yi;
const o = a ? /* @__PURE__ */ new Map() : {};
if (!fn(r)) return o;
const s = a ? (d, p) => o.set(d, p) : (d, p) => o[d] = p, c = on(r) ? r : (d) => d[r];
return t.forEach((d) => {
if (!fn(d)) return;
const p = c(d);
fn(p) && s(p, n(d));
}), o;
}
function Oo(t, r, l = !1) {
let a = -1;
return l || typeof r != "function" ? a = t.findIndex((n) => n === r) : a = t.findIndex(r), ~a ? t.splice(a, 1)[0] : null;
}
function Oc(t, r = {}) {
const {
keyField: l = "id",
childField: a = "children",
parentField: n = "parent",
rootId: o = null
} = r, s = fn(o) && o !== "", c = [], d = /* @__PURE__ */ new Map();
for (let p = 0, m = t.length; p < m; ++p) {
const b = t[p], f = b[l];
if (!(s ? f === o : !fn(f)))
if (d.has(f) ? b[a] = d.get(f) : (b[a] = [], d.set(f, b[a])), b[n] && (!s || b[n] !== o)) {
const i = b[n];
d.has(i) || d.set(i, []), d.get(i).push(b);
} else
c.push(b);
}
return c;
}
function $s(t, r = {}) {
const {
keyField: l = "id",
childField: a = "children",
parentField: n = "parent",
rootId: o = null,
depthFirst: s = !1,
injectId: c = !0,
buildId: d = (h) => h,
filter: p = _f,
cascaded: m = !1,
forceInject: b = !1
} = r;
let f = 1;
const i = fn(o) && o !== "", v = [], u = [...t];
for (; u.length; ) {
const h = u.shift(), g = h[a], w = Array.isArray(g) && g.length ? g : [];
c && (b || !h[l]) && (h[l] = d(f++));
const $ = h[l];
c && n && (i ? h[n] === o : !h[n]) && (h[n] = o);
const I = p(h);
if (I && v.push(h), I || !m) {
for (let T = 0, z = w.length; T < z; ++T) {
const C = w[T];
c && n && (C[n] = $), !s && u.push(C);
}
s && u.unshift(...w);
}
}
return v;
}
function lo(t, r, l = {}) {
const { childField: a = "children", depthFirst: n = !1 } = l, o = [...t.map((s) => ({ item: s, depth: 0, parent: null }))];
for (; o.length; ) {
const { item: s, depth: c, parent: d } = o.shift(), p = s[a];
r(s, c, d), bo(p) && o[n ? "unshift" : "push"](
...Array.from(p).map((m) => ({ item: m, depth: c + 1, parent: s }))
);
}
}
function _c(t, r, l = {}) {
const { childField: a = "children", depthFirst: n = !1, clearChildren: o = !0 } = l, s = [], c = [...t.map((d) => ({ item: d, depth: 0, parent: null, result: s }))];
for (; c.length; ) {
const { item: d, depth: p, parent: m, result: b } = c.shift(), f = d[a], i = r(d, p, m) ?? {};
o && (i[a] = []), b.push(i), bo(f) && Array.from(f).length && (i[a] = [], c[n ? "unshift" : "push"](
...Array.from(f).map((u) => ({
item: u,
depth: p + 1,
parent: d,
result: i[a]
}))
));
}
return s;
}
function Bp(t, r, l = {}) {
const {
childField: a = "children",
leafOnly: n = !1,
isLeaf: o = (c) => !bo(c[a])
} = l, s = (c, d, p) => c.map((m) => ({ ...m })).filter((m) => {
const b = m[a], f = o(m), i = bo(b) && Array.from(b);
if (n && !f) {
if (i && i.length) {
const u = s(i, d + 1, m);
return m[a] = u, !!u.length;
}
return !1;
}
const v = r(m, d, p);
if (f) return v;
if (!n && v) return !0;
if (i && i.length) {
const u = s(i, d + 1, m);
return m[a] = u, !!u.length;
}
return v;
});
return s(t, 0, null);
}
const qi = (t, r) => Number.isNaN(Number(t) - Number(r)) ? String(t).localeCompare(r) : t - r;
function Hp(t, r) {
if (!t.sort || fl(r) && !r.key || !r.length)
return t;
const l = Array.from(t);
Array.isArray(r) || (r = [r]);
const a = r.map(
(n) => typeof n == "string" ? {
key: n,
method: qi,
type: "asc"
} : n
).map((n) => (typeof n.accessor != "function" && (n.accessor = (o) => o[n.key]), typeof n.method != "function" && (n.method = qi), n.params = Array.isArray(n.params) ? n.params : [], n));
return l.sort((n, o) => {
let s = 0;
for (const c of a) {
const { method: d, type: p, accessor: m, params: b } = c, f = p === "desc", i = d(m(n, ...b), m(o, ...b));
if (s = f ? -i : i, s) break;
}
return s;
}), l;
}
function qa(t, r, l = !0) {
t = l ? Fc(t) : t;
const a = [
{
source: t,
target: r
}
];
for (; a.length; ) {
const { source: n, target: o } = a.pop();
Object.keys(o).forEach((s) => {
fl(o[s]) ? (fl(n[s]) || (n[s] = /* @__PURE__ */ Object.create(null)), a.push({
source: n[s],
target: o[s]
})) : Array.isArray(o[s]) ? (Array.isArray(n[s]) || (n[s] = []), a.push({
source: n[s],
target: o[s]
})) : n[s] = o[s];
});
}
return t;
}
function Vp(t) {
t = Array.from(t);
let r = !1;
const l = () => {
var a;
r || ((a = t.shift()) == null || a(), t.length && Nc(l));
};
return l(), () => r = !0;
}
function Bc(t) {
return t = t.trim().replace(/\s+/g, "-"), t = t.replace(/-+(\w)/g, (r, l) => l ? l.toUpperCase() : ""), (t.charAt(0).toLocaleUpperCase() + t.slice(1)).replace(
/[^\w]/g,
""
);
}
const ao = "___vxp-provided-hover-delay", hr = y(() => 100);
function rs(t, r) {
return fn(t) && !Number.isNaN(t) ? t : r;
}
function Hc(t, r) {
if (r) {
const l = y(() => {
const a = e(t);
return rs(a, hr.value);
});
r.provide(ao, l);
} else {
const l = $t(ao, null), a = y(() => {
const n = e(t);
return rs(
n,
l ? rs(l.value, hr.value) : hr.value
);
});
nn(ao, a);
}
}
function da() {
return Ol() ? $t(ao, hr) : hr;
}
function jp() {
return {
locale: "zh-CN",
wordSpace: !1,
calendar: {
year: "年",
month: "月",
month1: "01月",
month2: "02月",
month3: "03月",
month4: "04月",
month5: "05月",
month6: "06月",
month7: "07月",
month8: "08月",
month9: "09月",
month10: "10月",
month11: "11月",
month12: "12月",
week1: "一",
week2: "二",
week3: "三",
week4: "四",
week5: "五",
week6: "六",
week7: "日",
ariaLabel: {
year: "年",
month: "月",
month1: "一月",
month2: "二月",
month3: "三月",
month4: "四月",
month5: "五月",
month6: "六月",
month7: "七月",
month8: "八月",
month9: "九月",
month10: "十月",
month11: "十一月",
month12: "十二月",
week1: "星期一",
week2: "星期二",
week3: "星期三",
week4: "星期四",
week5: "星期五",
week6: "星期六",
week7: "星期日"
}
},
captcha: {
slideEnd: "请滑动到最后",
slide: "请滑动到适当的位置",
success: "验证成功",
fail: "验证失败,请重试",
doCaptcha: "请完成下面的验证",
pointInOrder: "请按顺序点击",
trigger: "点击进行验证",
completed: "已完成验证"
},
checkbox: {
all: "全选"
},
colorPicker: {
confirm: "确定",
cancel: "重置",
ariaLabel: {
clear: "清空颜色"
}
},
confirm: {
confirm: "确认",
cancel: "取消"
},
datePicker: {
confirm: "确认",
cancel: "取消",
placeholder: {
year: "年份",
month: "月份",
date: "日期",
datetime: "日期时间",
start: "开始",
end: "结束",
select: "请选择"
},
startTime: "开始时间",
endTime: "结束时间",
ariaLabel: {
clear: "清空日期",
quarter: "季度",
week: "周",
date: "日",
hour: "时",
minute: "分",
second: "秒"
}
},
drawer: {
confirm: "确认",
cancel: "取消"
},
form: {
submit: "提交",
reset: "重置",
notNullable: "不可为空",
validateFail: "验证未通过"
},
image: {
placeholder: "加载中...",
error: "加载失败"
},
input: {
placeholder: "请输入",
ariaLabel: {
clear: "清空文本"
}
},
layout: {
signOut: "注销",
signType: "导航模式",
majorColor: "主题颜色",
themeMode: "主题模式"
},
modal: {
confirm: "确认",
cancel: "取消"
},
numberInput: {
placeholder: "请输入数字",
outOfRange: "超出范围",
ariaLabel: {
clear: "清空数字",
increase: "增加",
decrease: "减少"
}
},
pagination: {
page: "页",
perPage: "条/页",
prevPage: "上一页",
nextPage: "下一页",
prev: "向前",
next: "向后",
total: "共",
jumpTo: "跳转",
itemUnit: "条"
},
select: {
placeholder: "请选择",
empty: "暂无数据",
search: "搜索选项",
ariaLabel: {
clear: "清空选项"
}
},
table: {
empty: "暂无数据",
filterConfirm: "筛选",
filterReset: "重置",
filterAll: "全部"
},
timeAgo: {
ago: "前",
late: "后",
justNow: "刚刚",
second: "秒",
minute: "分钟",
hour: "小时",
yesterday: "昨天",
days: "天",
lastMonth: "上个月",
months: "个月",
lastYear: "去年",
years: "年"
},
timePicker: {
confirm: "确认",
cancel: "取消",
placeholder: {
time: "时间",
start: "开始",
end: "结束",
select: "请选择"
},
ariaLabel: {
clear: "清空时间",
hour: "时",
minute: "分",
second: "秒"
}
},
tour: {
prev: "上一步",
next: "下一步",
done: "完成",
stepCount: "第 {n} 步"
},
transfer: {
source: "源",
target: "目标",
empty: "暂无数据",
reverse: "反选",
search: "搜索 (Ctrl + F)"
},
tree: {
empty: "暂无数据"
},
upload: {
upload: "上传文件",
uploading: "上传中",
dragOrClick: "将文件拖到此处, 或点击上传",
ariaLabel: {
preview: "预览文件",
delete: "删除文件"
}
},
video: {
play: "播放",
pause: "暂停",
playPrev: "上一个",
playNext: "下一个",
refresh: "刷新",
flip: "镜像翻转",
requestPip: "进入画中画",
exitPip: "退出画中画",
fullWindow: "进入网页全屏",
fullWindowExit: "退出网页全屏",
fullScreen: "进入全屏",
fullScreenExit: "退出全屏",
chapterCount: "第 {n} 章"
},
viewer: {
rotateRight: "向右旋转",
rotateLeft: "向左旋转",
flipHorizontal: "横向翻转",
flipVertical: "纵向翻转",
zoomIn: "放大",
zoomOut: "缩小",
fullScreen: "进入全屏",
fullScreenExit: "退出全屏",
reset: "重置"
}
};
}
const mr = "__vxp-provided-locale", Er = y(() => jp()), Wp = /* @__PURE__ */ new Map();
function Gi(t) {
return t && Wp.get(t) || Er.value;
}
function li(t, r) {
if (r) {
const l = y(() => {
const a = e(t);
return qa(Gi(a.locale), a);
});
r.provide(mr, l);
} else {
const l = $t(mr, null), a = y(() => {
const n = e(t);
return l != null && l.value ? qa(l.value, n) : qa(Gi(n.locale), n);
});
nn(mr, a);
}
}
function vn(t, r) {
const l = $t(mr, Er);
return t ? r ? y(() => {
var a;
return { ...((a = l.value) == null ? void 0 : a[t]) ?? {}, ...e(r) ?? {} };
}) : y(() => {
var a;
return ((a = l.value) == null ? void 0 : a[t]) ?? {};
}) : l;
}
function _o() {
const t = $t(mr, Er);
return y(() => t.value.wordSpace ?? !1);
}
function ro(t, r) {
const l = t.split("|");
return l.length === 1 ? `${r} ${t}` : `${r} ${r > 1 ? l[1].trim() : l[0].trim()}`;
}
function Kp(t, r) {
const l = t.split("|");
return l.length === 1 ? t : r > 1 ? l[1].trim() : l[0].trim();
}
function er(t, r = Er.value.wordSpace ?? !1) {
return r ? t : t.replace(/\s+/g, "");
}
function Vc(t, r) {
return t.replace(/{n}/g, `${r}`);
}
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Zi = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Up = (t) => t.replace(
/^([A-Z])|[\s-_]+(\w)/g,
(r, l, a) => a ? a.toUpperCase() : l.toLowerCase()
), Xp = (t) => {
const r = Up(t);
return r.charAt(0).toUpperCase() + r.slice(1);
}, Yp = (...t) => t.filter((r, l, a) => !!r && r.trim() !== "" && a.indexOf(r) === l).join(" ").trim();
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
var Kr = {
xmlns: "http://www.w3.org/2000/svg",
width: 24,
height: 24,
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
"stroke-width": 2,
"stroke-linecap": "round",
"stroke-linejoin": "round"
};
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const qp = ({ size: t, strokeWidth: r = 2, absoluteStrokeWidth: l, color: a, iconNode: n, name: o, class: s, ...c }, { slots: d }) => Jn(
"svg",
{
...Kr,
width: t || Kr.width,
height: t || Kr.height,
stroke: a || Kr.stroke,
"stroke-width": l ? Number(r) * 24 / Number(t) : r,
class: Yp(
"lucide",
...o ? [`lucide-${Zi(Xp(o))}-icon`, `lucide-${Zi(o)}`] : ["lucide-icon"]
),
...c
},
[...n.map((p) => Jn(...p)), ...d.default ? [d.default()] : []]
);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Dt = (t, r) => (l, { slots: a }) => Jn(
qp,
{
...l,
iconNode: r,
name: t
},
a
);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Gp = Dt("arrow-left-right", [
["path", { d: "M8 3 4 7l4 4", key: "9rb6wj" }],
["path", { d: "M4 7h16", key: "6tx8e3" }],
["path", { d: "m16 21 4-4-4-4", key: "siv7j2" }],
["path", { d: "M20 17H4", key: "h6l3hr" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Zp = Dt("calendar", [
["path", { d: "M8 2v4", key: "1cmpym" }],
["path", { d: "M16 2v4", key: "4m81vk" }],
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
["path", { d: "M3 10h18", key: "8toen8" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Jp = Dt("check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Qp = Dt("chevron-down", [
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const ev = Dt("chevron-left", [
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const tv = Dt("chevron-right", [
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const nv = Dt("chevron-up", [
["path", { d: "m18 15-6-6-6 6", key: "153udz" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const lv = Dt("chevrons-left", [
["path", { d: "m11 17-5-5 5-5", key: "13zhaf" }],
["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const av = Dt("chevrons-right", [
["path", { d: "m6 17 5-5-5-5", key: "xnjwq" }],
["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const rv = Dt("circle-alert", [
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const ov = Dt("circle-check", [
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const sv = Dt("circle-help", [
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
["path", { d: "M12 17h.01", key: "p32p05" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Ji = Dt("circle-x", [
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
["path", { d: "m9 9 6 6", key: "z0biqf" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const iv = Dt("clock", [
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const uv = Dt("cloud-upload", [
["path", { d: "M12 13v8", key: "1l5pq0" }],
["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", key: "1pljnt" }],
["path", { d: "m8 17 4-4 4 4", key: "1quai1" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const cv = Dt("ellipsis", [
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const dv = Dt("eye-off", [
[
"path",
{
d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
key: "ct8e1f"
}
],
["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }],
[
"path",
{
d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
key: "13bj9a"
}
],
["path", { d: "m2 2 20 20", key: "1ooewy" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const Qi = Dt("eye", [
[
"path",
{
d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
key: "1nclc0"
}
],
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const fv = Dt("file-archive", [
["path", { d: "M10 12v-1", key: "v7bkov" }],
["path", { d: "M10 18v-2", key: "1cjy8d" }],
["path", { d: "M10 7V6", key: "dljcrl" }],
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
[
"path",
{ d: "M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01", key: "gkbcor" }
],
["circle", { cx: "10", cy: "20", r: "2", key: "1xzdoj" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const pv = Dt("file-code", [
["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }],
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z", key: "1mlx9k" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const vv = Dt("file-image", [
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
["circle", { cx: "10", cy: "12", r: "2", key: "737tya" }],
["path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22", key: "wt3hpn" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const hv = Dt("file-music", [
["path", { d: "M10.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v8.4", key: "1d3kfm" }],
["path", { d: "M8 18v-7.7L16 9v7", key: "1oie6o" }],
["circle", { cx: "14", cy: "16", r: "2", key: "1bzzi3" }],
["circle", { cx: "6", cy: "18", r: "2", key: "1fncim" }]
]);
/**
* @license lucide-vue-next v0.511.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const mv = Dt("file-text", [
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
["path", { d: "M14 2