diff --git a/dist/assets/index-uBePZDFz.js b/dist/assets/index-IUgKibMN.js similarity index 97% rename from dist/assets/index-uBePZDFz.js rename to dist/assets/index-IUgKibMN.js index fdd802c..07d836a 100644 --- a/dist/assets/index-uBePZDFz.js +++ b/dist/assets/index-IUgKibMN.js @@ -86,10 +86,10 @@ const ze = {}, const t = parseFloat(e) return isNaN(t) ? e : t } -let $o +let Eo const Mi = () => - $o || - ($o = + Eo || + (Eo = typeof globalThis < "u" ? globalThis : typeof self < "u" @@ -258,16 +258,16 @@ class Ha { let t = xn, n = On try { - return (xn = !0), (On = this), this._runnings++, Eo(this), this.fn() + return (xn = !0), (On = this), this._runnings++, So(this), this.fn() } finally { - So(this), this._runnings--, (On = n), (xn = t) + Po(this), this._runnings--, (On = n), (xn = t) } } stop() { var t this.active && - (Eo(this), - So(this), + (So(this), + Po(this), (t = this.onStop) == null || t.call(this), (this.active = !1)) } @@ -275,10 +275,10 @@ class Ha { function o0(e) { return e.value } -function Eo(e) { +function So(e) { e._trackId++, (e._depsLength = 0) } -function So(e) { +function Po(e) { if (e.deps && e.deps.length > e._depsLength) { for (let t = e._depsLength; t < e.deps.length; t++) Ii(e.deps[t], e) e.deps.length = e._depsLength @@ -378,7 +378,7 @@ const i0 = Fa("__proto__,__v_isRef,__isVue"), .map((e) => Symbol[e]) .filter(cr), ), - Po = u0() + Co = u0() function u0() { const e = {} return ( @@ -421,7 +421,7 @@ class ji { : void 0 const i = pe(t) if (!s) { - if (i && Me(Po, n)) return Reflect.get(Po, n, r) + if (i && Me(Co, n)) return Reflect.get(Co, n, r) if (n === "hasOwnProperty") return c0 } const u = Reflect.get(t, n, r) @@ -514,12 +514,12 @@ function Kr(e, t = !1) { (e = e.__v_raw), !t && Pt(Re(e), "iterate", In), Reflect.get(e, "size", e) ) } -function Co(e) { +function Mo(e) { e = Re(e) const t = Re(this) return ps(t).has.call(t, e) || (t.add(e), tn(t, "add", e, e)), this } -function Mo(e, t) { +function Ao(e, t) { t = Re(t) const n = Re(this), { has: r, get: s } = ps(n) @@ -530,7 +530,7 @@ function Mo(e, t) { n.set(e, t), a ? _n(t, i) && tn(n, "set", e, t) : tn(n, "add", e, t), this ) } -function Ao(e) { +function Oo(e) { const t = Re(this), { has: n, get: r } = ps(t) let s = n.call(t, e) @@ -538,7 +538,7 @@ function Ao(e) { const a = t.delete(e) return s && tn(t, "delete", e, void 0), a } -function Oo() { +function Io() { const e = Re(this), t = e.size !== 0, n = e.clear() @@ -594,10 +594,10 @@ function g0() { return Kr(this) }, has: Gr, - add: Co, - set: Mo, - delete: Ao, - clear: Oo, + add: Mo, + set: Ao, + delete: Oo, + clear: Io, forEach: Yr(!1, !1), }, t = { @@ -608,10 +608,10 @@ function g0() { return Kr(this) }, has: Gr, - add: Co, - set: Mo, - delete: Ao, - clear: Oo, + add: Mo, + set: Ao, + delete: Oo, + clear: Io, forEach: Yr(!1, !0), }, n = { @@ -921,7 +921,7 @@ function R0(e) { : (!Qt || !Qt.includes(e, e.allowRecurse ? Mn + 1 : Mn)) && rr.push(e), Qi() } -function Io(e, t, n = Pr ? Vt + 1 : 0) { +function Ro(e, t, n = Pr ? Vt + 1 : 0) { for (; n < gt.length; n++) { const r = gt[n] if (r && r.pre) { @@ -1031,13 +1031,13 @@ function Za() { function ct(e, t = Nt, n) { if (!t || e._n) return e const r = (...s) => { - r._d && qo(-1) + r._d && Wo(-1) const a = is(t) let i try { i = e(...s) } finally { - is(a), r._d && qo(1) + is(a), r._d && Wo(1) } return i } @@ -1110,7 +1110,7 @@ function j0(e, t, n) { if (t.dirs || t.transition) return !0 if (n && f >= 0) { if (f & 1024) return !0 - if (f & 16) return r ? Ro(r, i, d) : !!i + if (f & 16) return r ? To(r, i, d) : !!i if (f & 8) { const h = t.dynamicProps for (let y = 0; y < h.length; y++) { @@ -1125,12 +1125,12 @@ function j0(e, t, n) { ? !1 : r ? i - ? Ro(r, i, d) + ? To(r, i, d) : !0 : !!i return !1 } -function Ro(e, t, n) { +function To(e, t, n) { const r = Object.keys(t) if (r.length !== Object.keys(e).length) return !0 for (let s = 0; s < r.length; s++) { @@ -1167,11 +1167,11 @@ function au(e, t, n = !0, r = !1) { const u = Iv(a, !1) if (u && (u === t || u === Kt(t) || u === gs(Kt(t)))) return a } - const i = To(s[e] || a[e], t) || To(s.appContext[e], t) + const i = No(s[e] || a[e], t) || No(s.appContext[e], t) return !i && r ? a : i } } -function To(e, t) { +function No(e, t) { return e && (e[t] || e[Kt(t)] || e[gs(Kt(t))]) } const q0 = (e) => e.__isSuspense @@ -1533,7 +1533,7 @@ const _a = (e) => (e ? (_u(e) ? $s(e) || e.proxy : _a(e.parent)) : null), ) }, } -function No(e) { +function Fo(e) { return pe(e) ? e.reduce((t, n) => ((t[n] = null), t), {}) : e } let ka = !0 @@ -1541,7 +1541,7 @@ function rv(e) { const t = Qa(e), n = e.proxy, r = e.ctx - ;(ka = !1), t.beforeCreate && Fo(t.beforeCreate, e, "bc") + ;(ka = !1), t.beforeCreate && Lo(t.beforeCreate, e, "bc") const { data: s, computed: a, @@ -1600,7 +1600,7 @@ function rv(e) { Gt($e, J[$e]) }) } - h && Fo(h, e, "c") + h && Lo(h, e, "c") function ve(J, $e) { pe($e) ? $e.forEach((Be) => J(Be.bind(n))) : $e && J($e.bind(n)) } @@ -1653,7 +1653,7 @@ function sv(e, t, n = Tt) { : (t[r] = a) } } -function Fo(e, t, n) { +function Lo(e, t, n) { Ht(pe(e) ? e.map((r) => r.bind(t.proxy)) : e.bind(t.proxy), t, n) } function fu(e, t, n, r) { @@ -1702,9 +1702,9 @@ function us(e, t, n, r = !1) { return e } const av = { - data: Lo, - props: jo, - emits: jo, + data: jo, + props: Bo, + emits: Bo, methods: wr, computed: wr, beforeCreate: wt, @@ -1724,10 +1724,10 @@ const av = { components: wr, directives: wr, watch: ov, - provide: Lo, + provide: jo, inject: lv, } -function Lo(e, t) { +function jo(e, t) { return t ? e ? function () { @@ -1756,11 +1756,11 @@ function wt(e, t) { function wr(e, t) { return e ? ht(Object.create(null), e, t) : t } -function jo(e, t) { +function Bo(e, t) { return e ? pe(e) && pe(t) ? [...new Set([...e, ...t])] - : ht(Object.create(null), No(e), No(t ?? {})) + : ht(Object.create(null), Fo(e), Fo(t ?? {})) : t } function ov(e, t) { @@ -1990,17 +1990,17 @@ function vu(e, t, n = !1) { if (pe(a)) for (let h = 0; h < a.length; h++) { const y = Kt(a[h]) - Bo(y) && (i[y] = ze) + Do(y) && (i[y] = ze) } else if (a) for (const h in a) { const y = Kt(h) - if (Bo(y)) { + if (Do(y)) { const k = a[h], C = (i[y] = pe(k) || be(k) ? { type: k } : ht({}, k)) if (C) { - const j = zo(Boolean, C.type), - _ = zo(String, C.type) + const j = qo(Boolean, C.type), + _ = qo(String, C.type) ;(C[0] = j > -1), (C[1] = _ < 0 || j < _), (j > -1 || Me(C, "default")) && u.push(y) @@ -2010,18 +2010,18 @@ function vu(e, t, n = !1) { const d = [i, u] return qe(e) && r.set(e, d), d } -function Bo(e) { +function Do(e) { return e[0] !== "$" } -function Do(e) { +function Ho(e) { const t = e && e.toString().match(/^\s*(function|class) (\w+)/) return t ? t[2] : e === null ? "null" : "" } -function Ho(e, t) { - return Do(e) === Do(t) -} function zo(e, t) { - return pe(t) ? t.findIndex((n) => Ho(n, e)) : be(t) && Ho(t, e) ? 0 : -1 + return Ho(e) === Ho(t) +} +function qo(e, t) { + return pe(t) ? t.findIndex((n) => zo(n, e)) : be(t) && zo(t, e) ? 0 : -1 } const gu = (e) => e[0] === "_" || e === "$stable", el = (e) => (pe(e) ? e.map(Ut) : [Ut(e)]), @@ -2422,7 +2422,7 @@ function pv(e, t) { fv(g, m.props, A, E), vv(g, m.children, E), Ln(), - Io(g), + Ro(g), jn() }, $e = (g, m, E, A, T, F, K, W, G = !1) => { @@ -2663,7 +2663,7 @@ function pv(e, t) { g == null ? m._vnode && nt(m._vnode, null, null, !0) : _(m._vnode || null, g, m, null, null, null, E), - Io(), + Ro(), eu(), (m._vnode = g) }, @@ -2753,7 +2753,7 @@ function xv() { kr.pop(), (Dt = kr[kr.length - 1] || null) } let Mr = 1 -function qo(e) { +function Wo(e) { Mr += e } function xu(e) { @@ -3093,16 +3093,16 @@ function Mv(e, t) { if ((a.then(Rn, Rn), t)) return a .then((i) => { - Wo(e, i, t) + Uo(e, i, t) }) .catch((i) => { bs(i, e, 0) }) e.asyncDep = a - } else Wo(e, a, t) + } else Uo(e, a, t) } else ku(e, t) } -function Wo(e, t, n) { +function Uo(e, t, n) { be(t) ? e.type.__ssrInlineRender ? (e.ssrRender = t) @@ -3110,17 +3110,17 @@ function Wo(e, t, n) { : qe(t) && (e.setupState = Xi(t)), ku(e, n) } -let Uo +let Vo function ku(e, t, n) { const r = e.type if (!e.render) { - if (!t && Uo && !r.render) { + if (!t && Vo && !r.render) { const s = r.template || Qa(e).template if (s) { const { isCustomElement: a, compilerOptions: i } = e.appContext.config, { delimiters: u, compilerOptions: f } = r, d = ht(ht({ isCustomElement: a, delimiters: u }, i), f) - r.render = Uo(s, d) + r.render = Vo(s, d) } } e.render = r.render || Tt @@ -3198,7 +3198,7 @@ const Tv = Symbol.for("v-scx"), Lv = "http://www.w3.org/2000/svg", jv = "http://www.w3.org/1998/Math/MathML", bn = typeof document < "u" ? document : null, - Vo = bn && bn.createElement("template"), + Go = bn && bn.createElement("template"), Bv = { insert: (e, t, n) => { t.insertBefore(e, n || null) @@ -3246,13 +3246,13 @@ const Tv = Symbol.for("v-scx"), ); else { - Vo.innerHTML = + Go.innerHTML = r === "svg" ? `` : r === "mathml" ? `` : e - const u = Vo.content + const u = Go.content if (r === "svg" || r === "mathml") { const f = u.firstChild for (; f.firstChild; ) u.appendChild(f.firstChild) @@ -3295,18 +3295,18 @@ function Wv(e, t, n) { zv in e && (r.display = a) } } -const Go = /\s*!important$/ +const Ko = /\s*!important$/ function Ma(e, t, n) { if (pe(n)) n.forEach((r) => Ma(e, t, r)) else if ((n == null && (n = ""), t.startsWith("--"))) e.setProperty(t, n) else { const r = Uv(e, t) - Go.test(n) - ? e.setProperty(fr(r), n.replace(Go, ""), "important") + Ko.test(n) + ? e.setProperty(fr(r), n.replace(Ko, ""), "important") : (e[r] = n) } } -const Ko = ["Webkit", "Moz", "ms"], +const Yo = ["Webkit", "Moz", "ms"], la = {} function Uv(e, t) { const n = la[t] @@ -3314,18 +3314,18 @@ function Uv(e, t) { let r = Kt(t) if (r !== "filter" && r in e) return (la[t] = r) r = gs(r) - for (let s = 0; s < Ko.length; s++) { - const a = Ko[s] + r + for (let s = 0; s < Yo.length; s++) { + const a = Yo[s] + r if (a in e) return (la[t] = a) } return t } -const Yo = "http://www.w3.org/1999/xlink" +const Xo = "http://www.w3.org/1999/xlink" function Vv(e, t, n, r, s) { if (r && t.startsWith("xlink:")) n == null - ? e.removeAttributeNS(Yo, t.slice(6, t.length)) - : e.setAttributeNS(Yo, t, n) + ? e.removeAttributeNS(Xo, t.slice(6, t.length)) + : e.setAttributeNS(Xo, t, n) else { const a = r0(t) n == null || (a && !Ai(n)) @@ -3366,9 +3366,9 @@ function Zn(e, t, n, r) { function Kv(e, t, n, r) { e.removeEventListener(t, n, r) } -const Xo = Symbol("_vei") +const Zo = Symbol("_vei") function Yv(e, t, n, r, s = null) { - const a = e[Xo] || (e[Xo] = {}), + const a = e[Zo] || (e[Zo] = {}), i = a[t] if (r && i) i.value = r else { @@ -3379,13 +3379,13 @@ function Yv(e, t, n, r, s = null) { } else i && (Kv(e, u, i, f), (a[t] = void 0)) } } -const Zo = /(?:Once|Passive|Capture)$/ +const Jo = /(?:Once|Passive|Capture)$/ function Xv(e) { let t - if (Zo.test(e)) { + if (Jo.test(e)) { t = {} let r - for (; (r = e.match(Zo)); ) + for (; (r = e.match(Jo)); ) (e = e.slice(0, e.length - r[0].length)), (t[r[0].toLowerCase()] = !0) } return [e[2] === ":" ? e.slice(3) : fr(e.slice(2)), t] @@ -3412,7 +3412,7 @@ function eg(e, t) { ) } else return t } -const Jo = (e) => +const Qo = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) > 96 && @@ -3443,7 +3443,7 @@ function ng(e, t, n, r) { return !!( t === "innerHTML" || t === "textContent" || - (t in e && Jo(t) && be(n)) + (t in e && Qo(t) && be(n)) ) if ( t === "spellcheck" || @@ -3459,23 +3459,23 @@ function ng(e, t, n, r) { if (s === "IMG" || s === "VIDEO" || s === "CANVAS" || s === "SOURCE") return !1 } - return Jo(t) && tt(n) ? !1 : t in e + return Qo(t) && tt(n) ? !1 : t in e } -const Qo = (e) => { +const ei = (e) => { const t = e.props["onUpdate:modelValue"] || !1 return pe(t) ? (n) => ts(t, n) : t } function rg(e) { e.target.composing = !0 } -function ei(e) { +function ti(e) { const t = e.target t.composing && ((t.composing = !1), t.dispatchEvent(new Event("input"))) } const ia = Symbol("_assign"), sg = { created(e, { modifiers: { lazy: t, trim: n, number: r } }, s) { - e[ia] = Qo(s) + e[ia] = ei(s) const a = r || (s.props && s.props.type === "number") Zn(e, t ? "change" : "input", (i) => { if (i.target.composing) return @@ -3488,8 +3488,8 @@ const ia = Symbol("_assign"), }), t || (Zn(e, "compositionstart", rg), - Zn(e, "compositionend", ei), - Zn(e, "change", ei)) + Zn(e, "compositionend", ti), + Zn(e, "change", ti)) }, mounted(e, { value: t }) { e.value = t ?? "" @@ -3499,7 +3499,7 @@ const ia = Symbol("_assign"), { value: t, modifiers: { lazy: n, trim: r, number: s } }, a, ) { - if (((e[ia] = Qo(a)), e.composing)) return + if (((e[ia] = ei(a)), e.composing)) return const i = s || e.type === "number" ? va(e.value) : e.value, u = t ?? "" i !== u && @@ -3510,9 +3510,9 @@ const ia = Symbol("_assign"), }, }, ag = ht({ patchProp: tg }, Bv) -let ti +let ni function lg() { - return ti || (ti = gv(ag)) + return ni || (ni = gv(ag)) } const og = (...e) => { const t = lg().createApp(...e), @@ -3743,16 +3743,16 @@ function bg() { function mg(e) { Gt(Pu, e) } -function ni(e, t) { +function ri(e, t) { if (e) return e let n = t ?? "button" if (typeof n == "string" && n.toLowerCase() === "button") return "button" } function Cu(e, t) { - let n = _e(ni(e.value.type, e.value.as)) + let n = _e(ri(e.value.type, e.value.as)) return ( bt(() => { - n.value = ni(e.value.type, e.value.as) + n.value = ri(e.value.type, e.value.as) }), rn(() => { var r @@ -3770,10 +3770,10 @@ var yg = Object.defineProperty, t in e ? yg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n), - ri = (e, t, n) => (xg(e, typeof t != "symbol" ? t + "" : t, n), n) + si = (e, t, n) => (xg(e, typeof t != "symbol" ? t + "" : t, n), n) class wg { constructor() { - ri(this, "current", this.detect()), ri(this, "currentId", 0) + si(this, "current", this.detect()), si(this, "currentId", 0) } set(t) { this.current !== t && ((this.currentId = 0), (this.current = t)) @@ -4124,9 +4124,9 @@ function Cg(e, t, n, r) { s(() => e.removeEventListener(t, n, r)) }) } -let si = Symbol("PortalParentContext") +let ai = Symbol("PortalParentContext") function Mg() { - let e = dt(si, null), + let e = dt(ai, null), t = _e([]) function n(a) { return t.value.push(a), e && e.register(a), () => r(a) @@ -4142,7 +4142,7 @@ function Mg() { name: "PortalWrapper", setup(a, { slots: i }) { return ( - Gt(si, s), + Gt(ai, s), () => { var u return (u = i.default) == null ? void 0 : u.call(i) @@ -4350,7 +4350,7 @@ let Oa = Ot({ ) }, }), - ai = Ot({ + li = Ot({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, @@ -4501,7 +4501,7 @@ let Oa = Ot({ } }, }), - li = Ot({ + oi = Ot({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, @@ -5151,7 +5151,7 @@ let al = Symbol("TabsSSRContext"), * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */ const oi = Ze("CheckIcon", [ + */ const ii = Ze("CheckIcon", [ ["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }], ]) /** @@ -5567,7 +5567,7 @@ let al = Symbol("TabsSSRContext"), { default: ct(() => [ le( - ue(ai), + ue(li), { class: M([ "font-semibold flex hover:outline-none focus:outline-none", @@ -5591,7 +5591,7 @@ let al = Symbol("TabsSSRContext"), ["class"], ), le( - ue(li), + ue(oi), { class: M([ "absolute z-10 mt-1 w-56 rounded", @@ -5833,7 +5833,7 @@ let al = Symbol("TabsSSRContext"), le(ue(Oa), null, { default: ct(() => [ le( - ue(ai), + ue(li), { class: M([ "rounded mt-2 lg:mt-0 px-2", @@ -5881,7 +5881,7 @@ let al = Symbol("TabsSSRContext"), ["class"], ), le( - ue(li), + ue(oi), { class: "absolute w-full right-4 mt-2 origin-top-right", @@ -6653,7 +6653,7 @@ var Lu = { exports: {} } if (!o.length && xt(l) === "string" && gr.test(l)) return "css" }, }) - var cl = D, + var fl = D, Xu = he, Zu = P, Ju = _.unpack @@ -6665,11 +6665,11 @@ var Lu = { exports: {} } (Xu.gl = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - cl, + fl, [null].concat(l, ["gl"]), ))() }), - (cl.prototype.gl = function () { + (fl.prototype.gl = function () { var l = this._rgb return [l[0] / 255, l[1] / 255, l[2] / 255, l[3]] }) @@ -6751,21 +6751,21 @@ var Lu = { exports: {} } lc = _.unpack, oc = _.type, ic = he, - fl = D, - dl = P, + dl = D, + hl = P, uc = tc - ;(fl.prototype.hcg = function () { + ;(dl.prototype.hcg = function () { return uc(this._rgb) }), (ic.hcg = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - fl, + dl, [null].concat(l, ["hcg"]), ))() }), - (dl.format.hcg = ac), - dl.autodetect.push({ + (hl.format.hcg = ac), + hl.autodetect.push({ p: 1, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -6802,7 +6802,7 @@ var Lu = { exports: {} } return "#" + O } }, - hl = dc, + vl = dc, hc = /^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/, vc = /^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/, gc = function (l) { @@ -6830,24 +6830,24 @@ var Lu = { exports: {} } } throw new Error("unknown hex color: " + l) }, - vl = gc, + gl = gc, pc = he, - gl = D, + pl = D, bc = _.type, - pl = P, - mc = hl - ;(gl.prototype.hex = function (l) { + bl = P, + mc = vl + ;(pl.prototype.hex = function (l) { return mc(this._rgb, l) }), (pc.hex = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - gl, + pl, [null].concat(l, ["hex"]), ))() }), - (pl.format.hex = vl), - pl.autodetect.push({ + (bl.format.hex = gl), + bl.autodetect.push({ p: 4, test: function (l) { for (var o = [], c = arguments.length - 1; c-- > 0; ) @@ -6861,7 +6861,7 @@ var Lu = { exports: {} } }, }) var yc = _.unpack, - bl = _.TWOPI, + ml = _.TWOPI, xc = Math.min, wc = Math.sqrt, _c = Math.acos, @@ -6882,8 +6882,8 @@ var Lu = { exports: {} } : ((p = (v - x + (v - w)) / 2), (p /= wc((v - x) * (v - x) + (v - w) * (x - w))), (p = _c(p)), - w > x && (p = bl - p), - (p /= bl)), + w > x && (p = ml - p), + (p /= ml)), [p * 360, O, S] ) }, @@ -6931,21 +6931,21 @@ var Lu = { exports: {} } Cc = _.unpack, Mc = _.type, Ac = he, - ml = D, - yl = P, + yl = D, + xl = P, Oc = $c - ;(ml.prototype.hsi = function () { + ;(yl.prototype.hsi = function () { return Oc(this._rgb) }), (Ac.hsi = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - ml, + yl, [null].concat(l, ["hsi"]), ))() }), - (yl.format.hsi = Pc), - yl.autodetect.push({ + (xl.format.hsi = Pc), + xl.autodetect.push({ p: 2, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -6956,21 +6956,21 @@ var Lu = { exports: {} } var Ic = _.unpack, Rc = _.type, Tc = he, - xl = D, - wl = P, + wl = D, + _l = P, Nc = V - ;(xl.prototype.hsl = function () { + ;(wl.prototype.hsl = function () { return Nc(this._rgb) }), (Tc.hsl = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - xl, + wl, [null].concat(l, ["hsl"]), ))() }), - (wl.format.hsl = G), - wl.autodetect.push({ + (_l.format.hsl = G), + _l.autodetect.push({ p: 2, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7057,21 +7057,21 @@ var Lu = { exports: {} } Uc = _.unpack, Vc = _.type, Gc = he, - _l = D, - kl = P, + kl = D, + $l = P, Kc = Dc - ;(_l.prototype.hsv = function () { + ;(kl.prototype.hsv = function () { return Kc(this._rgb) }), (Gc.hsv = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - _l, + kl, [null].concat(l, ["hsv"]), ))() }), - (kl.format.hsv = Wc), - kl.autodetect.push({ + ($l.format.hsv = Wc), + $l.autodetect.push({ p: 2, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7091,7 +7091,7 @@ var Lu = { exports: {} } }, zn = jr, Yc = _.unpack, - $l = Math.pow, + El = Math.pow, Xc = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] var c = Yc(l, "rgb"), @@ -7106,10 +7106,10 @@ var Lu = { exports: {} } return [N < 0 ? 0 : N, 500 * ($ - S), 200 * (S - O)] }, As = function (l) { - return (l /= 255) <= 0.04045 ? l / 12.92 : $l((l + 0.055) / 1.055, 2.4) + return (l /= 255) <= 0.04045 ? l / 12.92 : El((l + 0.055) / 1.055, 2.4) }, Os = function (l) { - return l > zn.t3 ? $l(l, 1 / 3) : l / zn.t2 + zn.t0 + return l > zn.t3 ? El(l, 1 / 3) : l / zn.t2 + zn.t0 }, Zc = function (l, o, c) { ;(l = As(l)), (o = As(o)), (c = As(c)) @@ -7118,7 +7118,7 @@ var Lu = { exports: {} } w = Os((0.0193339 * l + 0.119192 * o + 0.9503041 * c) / zn.Zn) return [v, x, w] }, - El = Xc, + Sl = Xc, qn = jr, Jc = _.unpack, Qc = Math.pow, @@ -7153,25 +7153,25 @@ var Lu = { exports: {} } Rs = function (l) { return l > qn.t1 ? l * l * l : qn.t2 * (l - qn.t0) }, - Sl = ef, + Pl = ef, tf = _.unpack, nf = _.type, rf = he, - Pl = D, - Cl = P, - sf = El - ;(Pl.prototype.lab = function () { + Cl = D, + Ml = P, + sf = Sl + ;(Cl.prototype.lab = function () { return sf(this._rgb) }), (rf.lab = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - Pl, + Cl, [null].concat(l, ["lab"]), ))() }), - (Cl.format.lab = Sl), - Cl.autodetect.push({ + (Ml.format.lab = Pl), + Ml.autodetect.push({ p: 2, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7194,10 +7194,10 @@ var Lu = { exports: {} } $ = (uf(w, x) * lf + 360) % 360 return cf(p * 1e4) === 0 && ($ = Number.NaN), [v, p, $] }, - Ml = ff, + Al = ff, df = _.unpack, - hf = El, - vf = Ml, + hf = Sl, + vf = Al, gf = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] var c = df(l, "rgb"), @@ -7223,10 +7223,10 @@ var Lu = { exports: {} } w = c[2] return isNaN(w) && (w = 0), (w = w * mf), [v, xf(w) * x, yf(w) * x] }, - Al = wf, + Ol = wf, _f = _.unpack, - kf = Al, - $f = Sl, + kf = Ol, + $f = Pl, Ef = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] l = _f(l, "lch") @@ -7243,9 +7243,9 @@ var Lu = { exports: {} } H = O[2] return [N, Z, H, l.length > 3 ? l[3] : 1] }, - Ol = Ef, + Il = Ef, Sf = _.unpack, - Pf = Ol, + Pf = Il, Cf = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] var c = Sf(l, "hcl").reverse() @@ -7254,31 +7254,31 @@ var Lu = { exports: {} } Mf = Cf, Af = _.unpack, Of = _.type, - Il = he, + Rl = he, Br = D, Ts = P, - Rl = pf + Tl = pf ;(Br.prototype.lch = function () { - return Rl(this._rgb) + return Tl(this._rgb) }), (Br.prototype.hcl = function () { - return Rl(this._rgb).reverse() + return Tl(this._rgb).reverse() }), - (Il.lch = function () { + (Rl.lch = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( Br, [null].concat(l, ["lch"]), ))() }), - (Il.hcl = function () { + (Rl.hcl = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( Br, [null].concat(l, ["hcl"]), ))() }), - (Ts.format.lch = Ol), + (Ts.format.lch = Il), (Ts.format.hcl = Mf), ["lch", "hcl"].forEach(function (l) { return Ts.autodetect.push({ @@ -7446,13 +7446,13 @@ var Lu = { exports: {} } yellow: "#ffff00", yellowgreen: "#9acd32", }, - Tl = If, + Nl = If, Rf = D, - Nl = P, + Fl = P, Tf = _.type, - pr = Tl, - Nf = vl, - Ff = hl + pr = Nl, + Nf = gl, + Ff = vl ;(Rf.prototype.name = function () { for ( var l = Ff(this._rgb, "rgb"), o = 0, c = Object.keys(pr); @@ -7464,11 +7464,11 @@ var Lu = { exports: {} } } return l }), - (Nl.format.named = function (l) { + (Fl.format.named = function (l) { if (((l = l.toLowerCase()), pr[l])) return Nf(pr[l]) throw new Error("unknown color name: " + l) }), - Nl.autodetect.push({ + Fl.autodetect.push({ p: 5, test: function (l) { for (var o = [], c = arguments.length - 1; c-- > 0; ) @@ -7499,22 +7499,22 @@ var Lu = { exports: {} } }, zf = Hf, qf = he, - Fl = D, - Ll = P, + Ll = D, + jl = P, Wf = _.type, Uf = Bf - ;(Fl.prototype.num = function () { + ;(Ll.prototype.num = function () { return Uf(this._rgb) }), (qf.num = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - Fl, + Ll, [null].concat(l, ["num"]), ))() }), - (Ll.format.num = zf), - Ll.autodetect.push({ + (jl.format.num = zf), + jl.autodetect.push({ p: 5, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7529,21 +7529,21 @@ var Lu = { exports: {} } }) var Vf = he, Ns = D, - jl = P, - Bl = _.unpack, - Dl = _.type, - Hl = Math.round + Bl = P, + Dl = _.unpack, + Hl = _.type, + zl = Math.round ;(Ns.prototype.rgb = function (l) { return ( l === void 0 && (l = !0), - l === !1 ? this._rgb.slice(0, 3) : this._rgb.slice(0, 3).map(Hl) + l === !1 ? this._rgb.slice(0, 3) : this._rgb.slice(0, 3).map(zl) ) }), (Ns.prototype.rgba = function (l) { return ( l === void 0 && (l = !0), this._rgb.slice(0, 4).map(function (o, c) { - return c < 3 ? (l === !1 ? o : Hl(o)) : o + return c < 3 ? (l === !1 ? o : zl(o)) : o }) ) }), @@ -7554,21 +7554,21 @@ var Lu = { exports: {} } [null].concat(l, ["rgb"]), ))() }), - (jl.format.rgb = function () { + (Bl.format.rgb = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] - var c = Bl(l, "rgba") + var c = Dl(l, "rgba") return c[3] === void 0 && (c[3] = 1), c }), - jl.autodetect.push({ + Bl.autodetect.push({ p: 3, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] if ( - ((l = Bl(l, "rgba")), - Dl(l) === "array" && + ((l = Dl(l, "rgba")), + Hl(l) === "array" && (l.length === 3 || (l.length === 4 && - Dl(l[3]) == "number" && + Hl(l[3]) == "number" && l[3] >= 0 && l[3] <= 1))) ) @@ -7608,8 +7608,8 @@ var Lu = { exports: {} } [c, v, x, 1] ) }, - zl = Gf, - Kf = zl, + ql = Gf, + Kf = ql, Yf = _.unpack, Xf = Math.round, Zf = function () { @@ -7652,7 +7652,7 @@ var Lu = { exports: {} } [null].concat(l, ["temp"]), ))() }), - (Ls.format.temp = Ls.format.kelvin = Ls.format.temperature = zl) + (Ls.format.temp = Ls.format.kelvin = Ls.format.temperature = ql) var ed = _.unpack, js = Math.cbrt, td = Math.pow, @@ -7676,7 +7676,7 @@ var Lu = { exports: {} } 0.0259040371 * N + 0.7827717662 * Z - 0.808675766 * H, ] }, - ql = rd + Wl = rd function Bs(l) { var o = Math.abs(l) return o < 0.04045 @@ -7702,7 +7702,7 @@ var Lu = { exports: {} } l.length > 3 ? l[3] : 1, ] }, - Wl = ld + Ul = ld function Ds(l) { var o = Math.abs(l) return o > 0.0031308 @@ -7712,21 +7712,21 @@ var Lu = { exports: {} } var od = _.unpack, id = _.type, ud = he, - Ul = D, - Vl = P, - cd = ql - ;(Ul.prototype.oklab = function () { + Vl = D, + Gl = P, + cd = Wl + ;(Vl.prototype.oklab = function () { return cd(this._rgb) }), (ud.oklab = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - Ul, + Vl, [null].concat(l, ["oklab"]), ))() }), - (Vl.format.oklab = Wl), - Vl.autodetect.push({ + (Gl.format.oklab = Ul), + Gl.autodetect.push({ p: 3, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7735,8 +7735,8 @@ var Lu = { exports: {} } }, }) var fd = _.unpack, - dd = ql, - hd = Ml, + dd = Wl, + hd = Al, vd = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] var c = fd(l, "rgb"), @@ -7751,8 +7751,8 @@ var Lu = { exports: {} } }, gd = vd, pd = _.unpack, - bd = Al, - md = Wl, + bd = Ol, + md = Ul, yd = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] l = pd(l, "lch") @@ -7773,21 +7773,21 @@ var Lu = { exports: {} } wd = _.unpack, _d = _.type, kd = he, - Gl = D, - Kl = P, + Kl = D, + Yl = P, $d = gd - ;(Gl.prototype.oklch = function () { + ;(Kl.prototype.oklch = function () { return $d(this._rgb) }), (kd.oklch = function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] return new (Function.prototype.bind.apply( - Gl, + Kl, [null].concat(l, ["oklch"]), ))() }), - (Kl.format.oklch = xd), - Kl.autodetect.push({ + (Yl.format.oklch = xd), + Yl.autodetect.push({ p: 3, test: function () { for (var l = [], o = arguments.length; o--; ) l[o] = arguments[o] @@ -7795,15 +7795,15 @@ var Lu = { exports: {} } return "oklch" }, }) - var Yl = D, + var Xl = D, Ed = _.type - Yl.prototype.alpha = function (l, o) { + Xl.prototype.alpha = function (l, o) { return ( o === void 0 && (o = !1), l !== void 0 && Ed(l) === "number" ? o ? ((this._rgb[3] = l), this) - : new Yl([this._rgb[0], this._rgb[1], this._rgb[2], l], "rgb") + : new Xl([this._rgb[0], this._rgb[1], this._rgb[2], l], "rgb") : this._rgb[3] ) } @@ -7876,10 +7876,10 @@ var Lu = { exports: {} } ) }, Ct = {}, - Xl = D, - Zl = _.type, + Zl = D, + Jl = _.type, qr = Ct, - Jl = function (l, o, c) { + Ql = function (l, o, c) { c === void 0 && (c = 0.5) for (var v = [], x = arguments.length - 3; x-- > 0; ) v[x] = arguments[x + 3] @@ -7887,27 +7887,27 @@ var Lu = { exports: {} } if ((!qr[w] && !v.length && (w = Object.keys(qr)[0]), !qr[w])) throw new Error("interpolation mode " + w + " is not defined") return ( - Zl(l) !== "object" && (l = new Xl(l)), - Zl(o) !== "object" && (o = new Xl(o)), + Jl(l) !== "object" && (l = new Zl(l)), + Jl(o) !== "object" && (o = new Zl(o)), qr[w](l, o, c).alpha(l.alpha() + c * (o.alpha() - l.alpha())) ) }, - Ql = D, - Td = Jl - Ql.prototype.mix = Ql.prototype.interpolate = function (l, o) { + eo = D, + Td = Ql + eo.prototype.mix = eo.prototype.interpolate = function (l, o) { o === void 0 && (o = 0.5) for (var c = [], v = arguments.length - 2; v-- > 0; ) c[v] = arguments[v + 2] return Td.apply(void 0, [this, l, o].concat(c)) } - var eo = D - eo.prototype.premultiply = function (l) { + var to = D + to.prototype.premultiply = function (l) { l === void 0 && (l = !1) var o = this._rgb, c = o[3] return l ? ((this._rgb = [o[0] * c, o[1] * c, o[2] * c, c]), this) - : new eo([o[0] * c, o[1] * c, o[2] * c, c], "rgb") + : new to([o[0] * c, o[1] * c, o[2] * c, c], "rgb") } var zs = D, Nd = jr @@ -7924,9 +7924,9 @@ var Lu = { exports: {} } (zs.prototype.desaturate = function (l) { return l === void 0 && (l = 1), this.saturate(-l) }) - var to = D, - no = _.type - to.prototype.set = function (l, o, c) { + var no = D, + ro = _.type + no.prototype.set = function (l, o, c) { c === void 0 && (c = !1) var v = l.split("."), x = v[0], @@ -7935,7 +7935,7 @@ var Lu = { exports: {} } if (w) { var $ = x.indexOf(w) - (x.substr(0, 2) === "ok" ? 2 : 0) if ($ > -1) { - if (no(o) == "string") + if (ro(o) == "string") switch (o.charAt(0)) { case "+": p[$] += +o @@ -7952,9 +7952,9 @@ var Lu = { exports: {} } default: p[$] = +o } - else if (no(o) === "number") p[$] = o + else if (ro(o) === "number") p[$] = o else throw new Error("unsupported value for Color.set") - var S = new to(p, x) + var S = new no(p, x) return c ? ((this._rgb = S._rgb), this) : S } throw new Error("unknown channel " + w + " in mode " + x) @@ -8004,7 +8004,7 @@ var Lu = { exports: {} } ) } Ct.lab = Hd - var ro = D, + var so = D, Vn = function (l, o, c, v) { var x, w, p, $ v === "hsl" @@ -8045,14 +8045,14 @@ var Lu = { exports: {} } : ((ye = S), (ne == 1 || ne == 0) && v != "hsv" && (te = N)), te === void 0 && (te = N + c * (Z - N)), (Ee = H + c * (ne - H)), - v === "oklch" ? new ro([Ee, te, ye], v) : new ro([ye, te, Ee], v) + v === "oklch" ? new so([Ee, te, ye], v) : new so([ye, te, Ee], v) ) }, zd = Vn, - so = function (l, o, c) { + ao = function (l, o, c) { return zd(l, o, c, "lch") } - ;(Ct.lch = so), (Ct.hcl = so) + ;(Ct.lch = ao), (Ct.hcl = ao) var qd = D, Wd = function (l, o, c) { var v = l.num(), @@ -8102,8 +8102,8 @@ var Lu = { exports: {} } Us = Math.pow, Vs = Math.sqrt, Gs = Math.PI, - ao = Math.cos, - lo = Math.sin, + lo = Math.cos, + oo = Math.sin, sh = Math.atan2, ah = function (l, o, c) { o === void 0 && (o = "lrgb"), c === void 0 && (c = null) @@ -8138,7 +8138,7 @@ var Lu = { exports: {} } o.charAt(N) === "h" && !isNaN(p[N])) ) { var Z = (p[N] / 180) * Gs - ;(S += ao(Z) * c[0]), (O += lo(Z) * c[0]) + ;(S += lo(Z) * c[0]), (O += oo(Z) * c[0]) } var H = w.alpha() * c[0] l.forEach(function (ye, Ee) { @@ -8148,7 +8148,7 @@ var Lu = { exports: {} } if (!isNaN(Pe[Ie])) if ((($[Ie] += c[Ee + 1]), o.charAt(Ie) === "h")) { var it = (Pe[Ie] / 180) * Gs - ;(S += ao(it) * c[Ee + 1]), (O += lo(it) * c[Ee + 1]) + ;(S += lo(it) * c[Ee + 1]), (O += oo(it) * c[Ee + 1]) } else p[Ie] += Pe[Ie] * c[Ee + 1] }) for (var ne = 0; ne < p.length; ne++) @@ -8594,7 +8594,7 @@ var Lu = { exports: {} } $h = Math.pow, Eh = Math.sin, Sh = Math.cos, - oo = he, + io = he, Ph = function (l, o, c, v, x) { l === void 0 && (l = 300), o === void 0 && (o = -1.5), @@ -8614,7 +8614,7 @@ var Lu = { exports: {} } ye = N + H * (-0.14861 * ne + 1.78277 * te), Ee = N + H * (-0.29227 * ne - 0.90649 * te), Pe = N + H * (1.97294 * ne) - return oo(_h([ye * 255, Ee * 255, Pe * 255, 1])) + return io(_h([ye * 255, Ee * 255, Pe * 255, 1])) } return ( ($.start = function (S) { @@ -8644,7 +8644,7 @@ var Lu = { exports: {} } $) }), ($.scale = function () { - return oo.scale($) + return io.scale($) }), $.hue(c), $ @@ -8659,11 +8659,11 @@ var Lu = { exports: {} } return new Ch(l, "hex") }, Zs = d, - io = Math.log, + uo = Math.log, Rh = Math.pow, Th = Math.floor, Nh = Math.abs, - uo = function (l, o) { + co = function (l, o) { o === void 0 && (o = null) var c = { min: Number.MAX_VALUE, @@ -8686,15 +8686,15 @@ var Lu = { exports: {} } }), (c.domain = [c.min, c.max]), (c.limits = function (v, x) { - return co(c, v, x) + return fo(c, v, x) }), c ) }, - co = function (l, o, c) { + fo = function (l, o, c) { o === void 0 && (o = "equal"), c === void 0 && (c = 7), - Zs(l) == "array" && (l = uo(l)) + Zs(l) == "array" && (l = co(l)) var v = l.min, x = l.max, w = l.values.sort(function (Qs, ea) { @@ -8714,8 +8714,8 @@ var Lu = { exports: {} } throw new Error( "Logarithmic scales are only possible for values > 0", ) - var S = Math.LOG10E * io(v), - O = Math.LOG10E * io(x) + var S = Math.LOG10E * uo(v), + O = Math.LOG10E * uo(x) p.push(v) for (var N = 1; N < c; N++) p.push(Rh(10, S + (N / c) * (O - S))) p.push(x) @@ -8780,36 +8780,36 @@ var Lu = { exports: {} } } return p }, - fo = { analyze: uo, limits: co }, - ho = D, + ho = { analyze: co, limits: fo }, + vo = D, Fh = function (l, o) { - ;(l = new ho(l)), (o = new ho(o)) + ;(l = new vo(l)), (o = new vo(o)) var c = l.luminance(), v = o.luminance() return c > v ? (c + 0.05) / (v + 0.05) : (v + 0.05) / (c + 0.05) }, - vo = D, + go = D, Xt = Math.sqrt, Ke = Math.pow, Lh = Math.min, jh = Math.max, - go = Math.atan2, - po = Math.abs, + po = Math.atan2, + bo = Math.abs, Wr = Math.cos, - bo = Math.sin, + mo = Math.sin, Bh = Math.exp, - mo = Math.PI, + yo = Math.PI, Dh = function (l, o, c, v, x) { c === void 0 && (c = 1), v === void 0 && (v = 1), x === void 0 && (x = 1) var w = function (Sn) { - return (360 * Sn) / (2 * mo) + return (360 * Sn) / (2 * yo) }, p = function (Sn) { - return (2 * mo * Sn) / 360 + return (2 * yo * Sn) / 360 } - ;(l = new vo(l)), (o = new vo(o)) + ;(l = new go(l)), (o = new go(o)) var $ = Array.from(l.lab()), S = $[0], O = $[1], @@ -8828,11 +8828,11 @@ var Lu = { exports: {} } Se = Xt(Ke(at, 2) + Ke(N, 2)), z = Xt(Ke(Et, 2) + Ke(te, 2)), ce = (Se + z) / 2, - ke = w(go(N, at)), - xe = w(go(te, Et)), + ke = w(po(N, at)), + xe = w(po(te, Et)), ut = ke >= 0 ? ke : ke + 360, De = xe >= 0 ? xe : xe + 360, - Ce = po(ut - De) > 180 ? (ut + De + 360) / 2 : (ut + De) / 2, + Ce = bo(ut - De) > 180 ? (ut + De + 360) / 2 : (ut + De) / 2, Te = 1 - 0.17 * Wr(p(Ce - 30)) + @@ -8840,8 +8840,8 @@ var Lu = { exports: {} } 0.32 * Wr(p(3 * Ce + 6)) - 0.2 * Wr(p(4 * Ce - 63)), Ne = De - ut - ;(Ne = po(Ne) <= 180 ? Ne : De <= ut ? Ne + 360 : Ne - 360), - (Ne = 2 * Xt(Se * z) * bo(p(Ne) / 2)) + ;(Ne = bo(Ne) <= 180 ? Ne : De <= ut ? Ne + 360 : Ne - 360), + (Ne = 2 * Xt(Se * z) * mo(p(Ne) / 2)) var Fe = H - S, jt = z - Se, dn = 1 + (0.015 * Ke(ye - 50, 2)) / Xt(20 + Ke(ye - 50, 2)), @@ -8849,7 +8849,7 @@ var Lu = { exports: {} } Kn = 1 + 0.015 * ce * Te, Yn = 30 * Bh(-Ke((Ce - 275) / 25, 2)), Zt = 2 * Xt(Ke(ce, 7) / (Ke(ce, 7) + Ke(25, 7))), - En = -Zt * bo(2 * p(Yn)), + En = -Zt * mo(2 * p(Yn)), mr = Xt( Ke(Fe / (c * dn), 2) + Ke(jt / (v * hn), 2) + @@ -8858,9 +8858,9 @@ var Lu = { exports: {} } ) return jh(0, Lh(100, mr)) }, - yo = D, + xo = D, Hh = function (l, o, c) { - c === void 0 && (c = "lab"), (l = new yo(l)), (o = new yo(o)) + c === void 0 && (c = "lab"), (l = new xo(l)), (o = new xo(o)) var v = l.get(c), x = o.get(c), w = 0 @@ -8881,14 +8881,14 @@ var Lu = { exports: {} } return !1 } }, - xo = he, - wo = Ks, + wo = he, + _o = Ks, Wh = { cool: function () { - return wo([xo.hsl(180, 1, 0.9), xo.hsl(250, 0.7, 0.4)]) + return _o([wo.hsl(180, 1, 0.9), wo.hsl(250, 0.7, 0.4)]) }, hot: function () { - return wo(["#000", "#f00", "#ff0", "#fff"]).mode("rgb") + return _o(["#000", "#f00", "#ff0", "#fff"]).mode("rgb") }, }, Ur = { @@ -9310,12 +9310,12 @@ var Lu = { exports: {} } ], }, Js = 0, - _o = Object.keys(Ur); - Js < _o.length; + ko = Object.keys(Ur); + Js < ko.length; Js += 1 ) { - var ko = _o[Js] - Ur[ko.toLowerCase()] = Ur[ko] + var $o = ko[Js] + Ur[$o.toLowerCase()] = Ur[$o] } var Uh = Ur, st = he @@ -9323,17 +9323,17 @@ var Lu = { exports: {} } (st.bezier = dh), (st.blend = wh), (st.cubehelix = Ph), - (st.mix = st.interpolate = Jl), + (st.mix = st.interpolate = Ql), (st.random = Ih), (st.scale = Ks), - (st.analyze = fo.analyze), + (st.analyze = ho.analyze), (st.contrast = Fh), (st.deltaE = Dh), (st.distance = Hh), - (st.limits = fo.limits), + (st.limits = ho.limits), (st.valid = qh), (st.scales = Wh), - (st.colors = Tl), + (st.colors = Nl), (st.brewer = Uh) var Vh = st return Vh @@ -10492,7 +10492,7 @@ const Xe = Op(Ip), b( "button", { class: M(["rounded px-5 py-2 w-full", s.value]) }, - [r.value ? (ge(), Ye(ue(oi), { key: 0 })) : vt("", !0)], + [r.value ? (ge(), Ye(ue(ii), { key: 0 })) : vt("", !0)], 2, ), ]), @@ -10527,7 +10527,7 @@ const Xe = Op(Ip), ]), "aria-label": "Submit", }, - [we(" Submit "), le(ue(oi))], + [we(" Submit "), le(ue(ii))], 2, ), ]), @@ -11869,13 +11869,13 @@ const Xe = Op(Ip), ) }, }, - ii = Tr(Sm, [["__scopeId", "data-v-4de8631d"]]) + Pm = Tr(Sm, [["__scopeId", "data-v-4de8631d"]]) /*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT */ const Qn = typeof window < "u" -function Pm(e) { +function Cm(e) { return e.__esModule || e[Symbol.toStringTag] === "Module" } const Le = Object.assign @@ -11889,8 +11889,8 @@ function fa(e, t) { } const $r = () => {}, zt = Array.isArray, - Cm = /\/$/, - Mm = (e) => e.replace(Cm, "") + Mm = /\/$/, + Am = (e) => e.replace(Mm, "") function da(e, t, n = "/") { let r, s = {}, @@ -11905,11 +11905,11 @@ function da(e, t, n = "/") { (a = t.slice(f + 1, u > -1 ? u : t.length)), (s = e(a))), u > -1 && ((r = r || t.slice(0, u)), (i = t.slice(u, t.length))), - (r = Rm(r ?? t, n)), + (r = Tm(r ?? t, n)), { fullPath: r + (a && "?") + a + i, path: r, query: s, hash: i } ) } -function Am(e, t) { +function Om(e, t) { const n = t.query ? e(t.query) : "" return t.path + (n && "?") + n + (t.hash || "") } @@ -11918,7 +11918,7 @@ function ui(e, t) { ? e : e.slice(t.length) || "/" } -function Om(e, t, n) { +function Im(e, t, n) { const r = t.matched.length - 1, s = n.matched.length - 1 return ( @@ -11935,10 +11935,10 @@ function ir(e, t) { } function ju(e, t) { if (Object.keys(e).length !== Object.keys(t).length) return !1 - for (const n in e) if (!Im(e[n], t[n])) return !1 + for (const n in e) if (!Rm(e[n], t[n])) return !1 return !0 } -function Im(e, t) { +function Rm(e, t) { return zt(e) ? ci(e, t) : zt(t) ? ci(t, e) : e === t } function ci(e, t) { @@ -11946,7 +11946,7 @@ function ci(e, t) { ? e.length === t.length && e.every((n, r) => n === t[r]) : e.length === 1 && e[0] === t } -function Rm(e, t) { +function Tm(e, t) { if (e.startsWith("/")) return e if (!e) return t const n = t.split("/"), @@ -11974,20 +11974,20 @@ var Er ;(function (e) { ;(e.back = "back"), (e.forward = "forward"), (e.unknown = "") })(Er || (Er = {})) -function Tm(e) { +function Nm(e) { if (!e) if (Qn) { const t = document.querySelector("base") ;(e = (t && t.getAttribute("href")) || "/"), (e = e.replace(/^\w+:\/\/[^\/]+/, "")) } else e = "/" - return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), Mm(e) -} -const Nm = /^[^#]+#/ -function Fm(e, t) { - return e.replace(Nm, "#") + t + return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), Am(e) } +const Fm = /^[^#]+#/ function Lm(e, t) { + return e.replace(Fm, "#") + t +} +function jm(e, t) { const n = document.documentElement.getBoundingClientRect(), r = e.getBoundingClientRect() return { @@ -11997,7 +11997,7 @@ function Lm(e, t) { } } const Ps = () => ({ left: window.pageXOffset, top: window.pageYOffset }) -function jm(e) { +function Bm(e) { let t if ("el" in e) { const n = e.el, @@ -12009,7 +12009,7 @@ function jm(e) { : document.querySelector(n) : n if (!s) return - t = Lm(s, e) + t = jm(s, e) } else t = e "scrollBehavior" in document.documentElement.style ? window.scrollTo(t) @@ -12022,14 +12022,14 @@ function fi(e, t) { return (history.state ? history.state.position - t : -1) + e } const Ra = new Map() -function Bm(e, t) { +function Dm(e, t) { Ra.set(e, t) } -function Dm(e) { +function Hm(e) { const t = Ra.get(e) return Ra.delete(e), t } -let Hm = () => location.protocol + "//" + location.host +let zm = () => location.protocol + "//" + location.host function Bu(e, t) { const { pathname: n, search: r, hash: s } = t, a = e.indexOf("#") @@ -12040,7 +12040,7 @@ function Bu(e, t) { } return ui(n, e) + r + s } -function zm(e, t, n, r) { +function qm(e, t, n, r) { let s = [], a = [], i = null @@ -12101,7 +12101,7 @@ function di(e, t, n, r = !1, s = !1) { scroll: s ? Ps() : null, } } -function qm(e) { +function Wm(e) { const { history: t, location: n } = window, r = { value: Bu(e, n) }, s = { value: t.state } @@ -12123,7 +12123,7 @@ function qm(e) { k = y > -1 ? (n.host && document.querySelector("base") ? e : e.slice(y)) + f - : Hm() + e + f + : zm() + e + f try { t[h ? "replaceState" : "pushState"](d, "", k), (s.value = d) } catch (C) { @@ -12144,15 +12144,15 @@ function qm(e) { } return { location: r, state: s, push: u, replace: i } } -function Wm(e) { - e = Tm(e) - const t = qm(e), - n = zm(e, t.state, t.location, t.replace) +function Um(e) { + e = Nm(e) + const t = Wm(e), + n = qm(e, t.state, t.location, t.replace) function r(a, i = !0) { i || n.pauseListeners(), history.go(a) } const s = Le( - { location: "", base: e, go: r, createHref: Fm.bind(null, e) }, + { location: "", base: e, go: r, createHref: Lm.bind(null, e) }, t, n, ) @@ -12168,7 +12168,7 @@ function Wm(e) { s ) } -function Um(e) { +function Vm(e) { return typeof e == "string" || (e && typeof e == "object") } function Du(e) { @@ -12199,10 +12199,10 @@ function Jt(e, t) { return e instanceof Error && Hu in e && (t == null || !!(e.type & t)) } const vi = "[^/]+?", - Vm = { sensitive: !1, strict: !1, start: !0, end: !0 }, - Gm = /[.+*?^${}()[\]/\\]/g -function Km(e, t) { - const n = Le({}, Vm, t), + Gm = { sensitive: !1, strict: !1, start: !0, end: !0 }, + Km = /[.+*?^${}()[\]/\\]/g +function Ym(e, t) { + const n = Le({}, Gm, t), r = [] let s = n.start ? "^" : "" const a = [] @@ -12213,7 +12213,7 @@ function Km(e, t) { const k = d[y] let C = 40 + (n.sensitive ? 0.25 : 0) if (k.type === 0) - y || (s += "/"), (s += k.value.replace(Gm, "\\$&")), (C += 40) + y || (s += "/"), (s += k.value.replace(Km, "\\$&")), (C += 40) else if (k.type === 1) { const { value: j, repeatable: _, optional: P, regexp: R } = k a.push({ name: j, repeatable: _, optional: P }) @@ -12285,7 +12285,7 @@ function Km(e, t) { } return { re: i, score: r, keys: a, parse: u, stringify: f } } -function Ym(e, t) { +function Xm(e, t) { let n = 0 for (; n < e.length && n < t.length; ) { const r = t[n] - e[n] @@ -12302,12 +12302,12 @@ function Ym(e, t) { : -1 : 0 } -function Xm(e, t) { +function Zm(e, t) { let n = 0 const r = e.score, s = t.score for (; n < r.length && n < s.length; ) { - const a = Ym(r[n], s[n]) + const a = Xm(r[n], s[n]) if (a) return a n++ } @@ -12321,11 +12321,11 @@ function gi(e) { const t = e[e.length - 1] return e.length > 0 && t[t.length - 1] < 0 } -const Zm = { type: 0, value: "" }, - Jm = /[a-zA-Z0-9_]/ -function Qm(e) { +const Jm = { type: 0, value: "" }, + Qm = /[a-zA-Z0-9_]/ +function e1(e) { if (!e) return [[]] - if (e === "/") return [[Zm]] + if (e === "/") return [[Jm]] if (!e.startsWith("/")) throw new Error(`Invalid path "${e}"`) function t(C) { throw new Error(`ERR (${n})/"${d}": ${C}`) @@ -12379,7 +12379,7 @@ function Qm(e) { case 1: f === "(" ? (n = 2) - : Jm.test(f) + : Qm.test(f) ? k() : (y(), (n = 0), f !== "*" && f !== "?" && f !== "+" && u--) break @@ -12400,12 +12400,12 @@ function Qm(e) { } return n === 2 && t(`Unfinished custom RegExp for param "${d}"`), y(), i(), s } -function e1(e, t, n) { - const r = Km(Qm(e.path), n), +function t1(e, t, n) { + const r = Ym(e1(e.path), n), s = Le(r, { record: e, parent: t, children: [], alias: [] }) return t && !s.record.aliasOf == !t.record.aliasOf && t.children.push(s), s } -function t1(e, t) { +function n1(e, t) { const n = [], r = new Map() t = mi({ strict: !1, end: !0, sensitive: !1 }, t) @@ -12414,7 +12414,7 @@ function t1(e, t) { } function a(h, y, k) { const C = !k, - j = n1(h) + j = r1(h) j.aliasOf = k && k.record const _ = mi(t, h), P = [j] @@ -12438,7 +12438,7 @@ function t1(e, t) { q.path = y.record.path + (Y && D + Y) } if ( - ((R = e1(q, y, _)), + ((R = t1(q, y, _)), k ? k.alias.push(R) : ((U = U || R), @@ -12486,7 +12486,7 @@ function t1(e, t) { for ( ; y < n.length && - Xm(h, n[y]) >= 0 && + Zm(h, n[y]) >= 0 && (h.record.path !== n[y].record.path || !zu(h, n[y])); ) @@ -12527,7 +12527,7 @@ function t1(e, t) { const P = [] let R = k for (; R; ) P.unshift(R.record), (R = R.parent) - return { name: _, path: j, params: C, matched: P, meta: s1(P) } + return { name: _, path: j, params: C, matched: P, meta: a1(P) } } return ( e.forEach((h) => a(h)), @@ -12545,7 +12545,7 @@ function pi(e, t) { for (const r of t) r in e && (n[r] = e[r]) return n } -function n1(e) { +function r1(e) { return { path: e.path, redirect: e.redirect, @@ -12553,7 +12553,7 @@ function n1(e) { meta: e.meta || {}, aliasOf: void 0, beforeEnter: e.beforeEnter, - props: r1(e), + props: s1(e), children: e.children || [], instances: {}, leaveGuards: new Set(), @@ -12565,7 +12565,7 @@ function n1(e) { : e.component && { default: e.component }, } } -function r1(e) { +function s1(e) { const t = {}, n = e.props || !1 if ("component" in e) t.default = n @@ -12579,7 +12579,7 @@ function bi(e) { } return !1 } -function s1(e) { +function a1(e) { return e.reduce((t, n) => Le(t, n.meta), {}) } function mi(e, t) { @@ -12591,47 +12591,47 @@ function zu(e, t) { return t.children.some((n) => n === e || zu(e, n)) } const qu = /#/g, - a1 = /&/g, - l1 = /\//g, - o1 = /=/g, - i1 = /\?/g, + l1 = /&/g, + o1 = /\//g, + i1 = /=/g, + u1 = /\?/g, Wu = /\+/g, - u1 = /%5B/g, - c1 = /%5D/g, + c1 = /%5B/g, + f1 = /%5D/g, Uu = /%5E/g, - f1 = /%60/g, + d1 = /%60/g, Vu = /%7B/g, - d1 = /%7C/g, + h1 = /%7C/g, Gu = /%7D/g, - h1 = /%20/g + v1 = /%20/g function il(e) { return encodeURI("" + e) - .replace(d1, "|") - .replace(u1, "[") - .replace(c1, "]") + .replace(h1, "|") + .replace(c1, "[") + .replace(f1, "]") } -function v1(e) { +function g1(e) { return il(e).replace(Vu, "{").replace(Gu, "}").replace(Uu, "^") } function Ta(e) { return il(e) .replace(Wu, "%2B") - .replace(h1, "+") + .replace(v1, "+") .replace(qu, "%23") - .replace(a1, "%26") - .replace(f1, "`") + .replace(l1, "%26") + .replace(d1, "`") .replace(Vu, "{") .replace(Gu, "}") .replace(Uu, "^") } -function g1(e) { - return Ta(e).replace(o1, "%3D") -} function p1(e) { - return il(e).replace(qu, "%23").replace(i1, "%3F") + return Ta(e).replace(i1, "%3D") } function b1(e) { - return e == null ? "" : p1(e).replace(l1, "%2F") + return il(e).replace(qu, "%23").replace(u1, "%3F") +} +function m1(e) { + return e == null ? "" : b1(e).replace(o1, "%2F") } function fs(e) { try { @@ -12639,7 +12639,7 @@ function fs(e) { } catch {} return "" + e } -function m1(e) { +function y1(e) { const t = {} if (e === "" || e === "?") return t const r = (e[0] === "?" ? e.slice(1) : e).split("&") @@ -12659,7 +12659,7 @@ function yi(e) { let t = "" for (let n in e) { const r = e[n] - if (((n = g1(n)), r == null)) { + if (((n = p1(n)), r == null)) { r !== void 0 && (t += (t.length ? "&" : "") + n) continue } @@ -12670,7 +12670,7 @@ function yi(e) { } return t } -function y1(e) { +function x1(e) { const t = {} for (const n in e) { const r = e[n] @@ -12683,7 +12683,7 @@ function y1(e) { } return t } -const x1 = Symbol(""), +const w1 = Symbol(""), xi = Symbol(""), ul = Symbol(""), Ku = Symbol(""), @@ -12713,7 +12713,7 @@ function mn(e, t, n, r, s) { ? u(ur(4, { from: n, to: t })) : y instanceof Error ? u(y) - : Um(y) + : Vm(y) ? u(ur(2, { from: t, to: y })) : (a && r.enterCallbacks[s] === a && @@ -12732,7 +12732,7 @@ function ha(e, t, n, r) { for (const i in a.components) { let u = a.components[i] if (!(t !== "beforeRouteEnter" && !a.instances[i])) - if (w1(u)) { + if (_1(u)) { const d = (u.__vccOpts || u)[t] d && s.push(mn(d, n, r, a, i)) } else { @@ -12743,7 +12743,7 @@ function ha(e, t, n, r) { return Promise.reject( new Error(`Couldn't resolve component "${i}" at "${a.path}"`), ) - const h = Pm(d) ? d.default : d + const h = Cm(d) ? d.default : d a.components[i] = h const k = (h.__vccOpts || h)[t] return k && mn(k, n, r, a, i)() @@ -12753,7 +12753,7 @@ function ha(e, t, n, r) { } return s } -function w1(e) { +function _1(e) { return ( typeof e == "object" || "displayName" in e || @@ -12778,7 +12778,7 @@ function wi(e) { ? y.findIndex(ir.bind(null, f[d - 2])) : k }), - a = oe(() => s.value > -1 && E1(n.params, r.value.params)), + a = oe(() => s.value > -1 && S1(n.params, r.value.params)), i = oe( () => s.value > -1 && @@ -12786,7 +12786,7 @@ function wi(e) { ju(n.params, r.value.params), ) function u(f = {}) { - return $1(f) + return E1(f) ? t[ue(e.replace) ? "replace" : "push"](ue(e.to)).catch($r) : Promise.resolve() } @@ -12798,7 +12798,7 @@ function wi(e) { navigate: u, } } -const _1 = Ot({ +const k1 = Ot({ name: "RouterLink", compatConfig: { MODE: 3 }, props: { @@ -12839,8 +12839,8 @@ const _1 = Ot({ } }, }), - k1 = _1 -function $1(e) { + $1 = k1 +function E1(e) { if ( !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && @@ -12853,7 +12853,7 @@ function $1(e) { return e.preventDefault && e.preventDefault(), !0 } } -function E1(e, t) { +function S1(e, t) { for (const n in t) { const r = t[n], s = e[n] @@ -12868,7 +12868,7 @@ function _i(e) { return e ? (e.aliasOf ? e.aliasOf.path : e.path) : "" } const ki = (e, t, n) => e ?? t ?? n, - S1 = Ot({ + P1 = Ot({ name: "RouterView", inheritAttrs: !1, props: { name: { type: String, default: "default" }, route: Object }, @@ -12889,7 +12889,7 @@ const ki = (e, t, n) => e ?? t ?? n, xi, oe(() => i.value + 1), ), - Gt(x1, u), + Gt(w1, u), Gt(Na, s) const f = _e() return ( @@ -12944,10 +12944,10 @@ function $i(e, t) { const n = e(t) return n.length === 1 ? n[0] : n } -const P1 = S1 -function C1(e) { - const t = t1(e.routes, e), - n = e.parseQuery || m1, +const C1 = P1 +function M1(e) { + const t = n1(e.routes, e), + n = e.parseQuery || y1, r = e.stringifyQuery || yi, s = e.history, a = xr(), @@ -12960,7 +12960,7 @@ function C1(e) { "scrollRestoration" in history && (history.scrollRestoration = "manual") const h = fa.bind(null, (I) => "" + I), - y = fa.bind(null, b1), + y = fa.bind(null, m1), k = fa.bind(null, fs) function C(I, Q) { let V, se @@ -13001,10 +13001,10 @@ function C1(e) { const se = t.resolve(V, Q), Ae = I.hash || "" se.params = h(k(se.params)) - const g = Am(r, Le({}, I, { hash: v1(Ae), path: se.path })), + const g = Om(r, Le({}, I, { hash: g1(Ae), path: se.path })), m = s.createHref(g) return Le( - { fullPath: g, hash: Ae, query: r === yi ? y1(I.query) : I.query || {} }, + { fullPath: g, hash: Ae, query: r === yi ? x1(I.query) : I.query || {} }, se, { redirectedFrom: void 0, href: m }, ) @@ -13063,7 +13063,7 @@ function C1(e) { let T return ( !g && - Om(r, se, V) && + Im(r, se, V) && ((T = ur(16, { to: A, from: se })), yt(se, se, !0, !1)), (T ? Promise.resolve(T) : Ve(A, se)) .catch((F) => (Jt(F) ? (Jt(F, 2) ? F : kt(F)) : $e(F, A, se))) @@ -13094,7 +13094,7 @@ function C1(e) { } function Ve(I, Q) { let V - const [se, Ae, g] = M1(I, Q) + const [se, Ae, g] = A1(I, Q) V = ha(se.reverse(), "beforeRouteLeave", I, Q) for (const E of se) E.leaveGuards.forEach((A) => { @@ -13171,7 +13171,7 @@ function C1(e) { } d = se const g = f.value - Qn && Bm(fi(g.fullPath, V.delta), Ps()), + Qn && Dm(fi(g.fullPath, V.delta), Ps()), Ve(se, g) .catch((m) => Jt(m, 12) @@ -13231,12 +13231,12 @@ function C1(e) { const { scrollBehavior: Ae } = e if (!Qn || !Ae) return Promise.resolve() const g = - (!V && Dm(fi(I.fullPath, 0))) || + (!V && Hm(fi(I.fullPath, 0))) || ((se || !V) && history.state && history.state.scroll) || null return Ji() .then(() => Ae(I, Q, g)) - .then((m) => m && jm(m)) + .then((m) => m && Bm(m)) .catch((m) => $e(m, I, Q)) } const nt = (I) => s.go(I) @@ -13263,8 +13263,8 @@ function C1(e) { isReady: Be, install(I) { const Q = this - I.component("RouterLink", k1), - I.component("RouterView", P1), + I.component("RouterLink", $1), + I.component("RouterView", C1), (I.config.globalProperties.$router = Q), Object.defineProperty(I.config.globalProperties, "$route", { enumerable: !0, @@ -13301,7 +13301,7 @@ function C1(e) { } return ln } -function M1(e, t) { +function A1(e, t) { const n = [], r = [], s = [], @@ -13314,11 +13314,15 @@ function M1(e, t) { } return [n, r, s] } -const A1 = [ - { path: "/", component: ii, props: { component: "home" } }, - { path: "/pricing", component: ii, props: { component: "pricing" } }, - ], - O1 = C1({ history: Wm(), routes: A1 }), +const cl = [ + { path: "/", component: null, props: { component: "home" } }, + { path: "/pricing", component: null, props: { component: "pricing" } }, +] +cl.map((e) => e.path) +cl.forEach((e) => { + e.component = Pm +}) +const O1 = M1({ history: Um(), routes: cl }), Yu = og(dg) Yu.use(O1) Yu.mount("#app") diff --git a/dist/index.html b/dist/index.html index b92ba46..779a49a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -26,7 +26,7 @@