diff --git a/dist/lib.es.js b/dist/lib.es.js index 9b9aeb4..df55dfb 100644 --- a/dist/lib.es.js +++ b/dist/lib.es.js @@ -1,5 +1,5 @@ import * as V from "react"; -import N, { useContext as F, forwardRef as ve, Children as me, isValidElement as Te, createElement as Y, cloneElement as lt, Fragment as Zr, createContext as be, useLayoutEffect as Kr, useEffect as ct, useRef as H, useInsertionEffect as Ht, useCallback as et, useMemo as he, useState as Xr, useId as Yt } from "react"; +import N, { useContext as F, forwardRef as ve, Children as me, isValidElement as Te, createElement as q, cloneElement as lt, Fragment as Ur, createContext as be, useLayoutEffect as Zr, useEffect as ct, useRef as H, useInsertionEffect as Ht, useCallback as et, useMemo as he, useState as Kr, useId as qt } from "react"; var tt = { exports: {} }, Ee = {}; /** * @license React @@ -11,20 +11,20 @@ var tt = { exports: {} }, Ee = {}; * LICENSE file in the root directory of this source tree. */ var _t; -function qr() { +function Xr() { if (_t) return Ee; _t = 1; - var e = N, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; + var e = N, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 }; function s(l, p, f) { var d, c = {}, g = null, b = null; f !== void 0 && (g = "" + f), p.key !== void 0 && (g = "" + p.key), p.ref !== void 0 && (b = p.ref); for (d in p) - n.call(p, d) && !a.hasOwnProperty(d) && (c[d] = p[d]); + n.call(p, d) && !i.hasOwnProperty(d) && (c[d] = p[d]); if (l && l.defaultProps) for (d in p = l.defaultProps, p) c[d] === void 0 && (c[d] = p[d]); - return { $$typeof: t, type: l, key: g, ref: b, props: c, _owner: i.current }; + return { $$typeof: t, type: l, key: g, ref: b, props: c, _owner: a.current }; } return Ee.Fragment = r, Ee.jsx = s, Ee.jsxs = s, Ee; } @@ -41,7 +41,7 @@ var Re = {}; var Ot; function Jr() { return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() { - var e = N, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), C = Symbol.iterator, E = "@@iterator"; + var e = N, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), C = Symbol.iterator, E = "@@iterator"; function A(o) { if (o === null || typeof o != "object") return null; @@ -66,14 +66,14 @@ function Jr() { T.unshift("Warning: " + u), Function.prototype.apply.call(console[o], console, T); } } - var D = !1, se = !1, U = !1, le = !1, ce = !1, K; - K = Symbol.for("react.module.reference"); + var D = !1, se = !1, Y = !1, le = !1, ce = !1, Z; + Z = Symbol.for("react.module.reference"); function ye(o) { - return !!(typeof o == "string" || typeof o == "function" || o === n || o === a || ce || o === i || o === f || o === d || le || o === b || D || se || U || typeof o == "object" && o !== null && (o.$$typeof === g || o.$$typeof === c || o.$$typeof === s || o.$$typeof === l || o.$$typeof === p || // This needs to include all possible module reference object + return !!(typeof o == "string" || typeof o == "function" || o === n || o === i || ce || o === a || o === f || o === d || le || o === b || D || se || Y || typeof o == "object" && o !== null && (o.$$typeof === g || o.$$typeof === c || o.$$typeof === s || o.$$typeof === l || o.$$typeof === p || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - o.$$typeof === K || o.getModuleId !== void 0)); + o.$$typeof === Z || o.getModuleId !== void 0)); } function xe(o, u, m) { var v = o.displayName; @@ -97,9 +97,9 @@ function Jr() { return "Fragment"; case r: return "Portal"; - case a: - return "Profiler"; case i: + return "Profiler"; + case a: return "StrictMode"; case f: return "Suspense"; @@ -130,14 +130,14 @@ function Jr() { } return null; } - var W = Object.assign, X = 0, ee, we, ue, q, Ce, J, te; + var W = Object.assign, K = 0, ee, we, ue, X, Ce, J, te; function L() { } L.__reactDisabledLog = !0; function Sr() { { - if (X === 0) { - ee = console.log, we = console.info, ue = console.warn, q = console.error, Ce = console.group, J = console.groupCollapsed, te = console.groupEnd; + if (K === 0) { + ee = console.log, we = console.info, ue = console.warn, X = console.error, Ce = console.group, J = console.groupCollapsed, te = console.groupEnd; var o = { configurable: !0, enumerable: !0, @@ -154,12 +154,12 @@ function Jr() { groupEnd: o }); } - X++; + K++; } } function Er() { { - if (X--, X === 0) { + if (K--, K === 0) { var o = { configurable: !0, enumerable: !0, @@ -176,7 +176,7 @@ function Jr() { value: ue }), error: W({}, o, { - value: q + value: X }), group: W({}, o, { value: Ce @@ -189,7 +189,7 @@ function Jr() { }) }); } - X < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + K < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var Ge = O.ReactCurrentDispatcher, De; @@ -237,29 +237,29 @@ function Jr() { }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(S, []); - } catch (Z) { - v = Z; + } catch (U) { + v = U; } Reflect.construct(o, [], S); } else { try { S.call(); - } catch (Z) { - v = Z; + } catch (U) { + v = U; } o.call(S.prototype); } } else { try { throw Error(); - } catch (Z) { - v = Z; + } catch (U) { + v = U; } o(); } - } catch (Z) { - if (Z && v && typeof Z.stack == "string") { - for (var x = Z.stack.split(` + } catch (U) { + if (U && v && typeof U.stack == "string") { + for (var x = U.stack.split(` `), $ = v.stack.split(` `), _ = x.length - 1, I = $.length - 1; _ >= 1 && I >= 0 && x[_] !== $[I]; ) I--; @@ -374,8 +374,8 @@ function Jr() { ref: !0, __self: !0, __source: !0 - }, St, Et, Ye; - Ye = {}; + }, St, Et, qe; + qe = {}; function Or(o) { if (_e.call(o, "ref")) { var u = Object.getOwnPropertyDescriptor(o, "ref").get; @@ -395,7 +395,7 @@ function Jr() { function Vr(o, u) { if (typeof o.ref == "string" && Se.current && u && Se.current.stateNode !== u) { var m = z(Se.current.type); - Ye[m] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', z(Se.current.type), o.ref), Ye[m] = !0); + qe[m] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', z(Se.current.type), o.ref), qe[m] = !0); } } function Lr(o, u) { @@ -467,7 +467,7 @@ function Jr() { return Nr(o, x, $, R, v, Se.current, S); } } - var Ue = O.ReactCurrentOwner, Rt = O.ReactDebugCurrentFrame; + var Ye = O.ReactCurrentOwner, Rt = O.ReactDebugCurrentFrame; function de(o) { if (o) { var u = o._owner, m = Ae(o.type, o._source, u ? u.type : null); @@ -475,15 +475,15 @@ function Jr() { } else Rt.setExtraStackFrame(null); } - var Ze; - Ze = !1; - function Ke(o) { + var Ue; + Ue = !1; + function Ze(o) { return typeof o == "object" && o !== null && o.$$typeof === t; } function Pt() { { - if (Ue.current) { - var o = z(Ue.current.type); + if (Ye.current) { + var o = z(Ye.current.type); if (o) return ` @@ -526,7 +526,7 @@ Check the top-level render call using <` + m + ">."); return; kt[m] = !0; var v = ""; - o && o._owner && o._owner !== Ue.current && (v = " It was passed a child from " + z(o._owner.type) + "."), de(o), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, v), de(null); + o && o._owner && o._owner !== Ye.current && (v = " It was passed a child from " + z(o._owner.type) + "."), de(o), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, v), de(null); } } function Mt(o, u) { @@ -536,15 +536,15 @@ Check the top-level render call using <` + m + ">."); if (He(o)) for (var m = 0; m < o.length; m++) { var v = o[m]; - Ke(v) && Tt(v, u); + Ze(v) && Tt(v, u); } - else if (Ke(o)) + else if (Ze(o)) o._store && (o._store.validated = !0); else if (o) { var R = A(o); if (typeof R == "function" && R !== o.entries) for (var T = R.call(o), S; !(S = T.next()).done; ) - Ke(S.value) && Tt(S.value, u); + Ze(S.value) && Tt(S.value, u); } } } @@ -565,8 +565,8 @@ Check the top-level render call using <` + m + ">."); if (m) { var v = z(u); Tr(m, o.props, "prop", v, o); - } else if (u.PropTypes !== void 0 && !Ze) { - Ze = !0; + } else if (u.PropTypes !== void 0 && !Ue) { + Ue = !0; var R = z(u); h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown"); } @@ -621,14 +621,14 @@ Check the top-level render call using <` + m + ">."); function Hr(o, u, m) { return jt(o, u, m, !1); } - var Yr = Hr, Ur = Br; - Re.Fragment = n, Re.jsx = Yr, Re.jsxs = Ur; + var qr = Hr, Yr = Br; + Re.Fragment = n, Re.jsx = qr, Re.jsxs = Yr; }()), Re; } -process.env.NODE_ENV === "production" ? tt.exports = qr() : tt.exports = Jr(); +process.env.NODE_ENV === "production" ? tt.exports = Xr() : tt.exports = Jr(); var P = tt.exports; const Qr = N.createContext(void 0); -function ii() { +function aa() { const e = F(Qr); if (!e) throw new Error("useLume must be used within a LumeProvider"); @@ -653,19 +653,19 @@ function tn(...e) { (r) => en(r, t) ); } -const Ut = /* @__PURE__ */ ve((e, t) => { - const { children: r, ...n } = e, i = me.toArray(r), a = i.find(nn); - if (a) { - const s = a.props.children, l = i.map((p) => p === a ? me.count(s) > 1 ? me.only(null) : /* @__PURE__ */ Te(s) ? s.props.children : null : p); - return /* @__PURE__ */ Y(rt, $e({}, n, { +const Yt = /* @__PURE__ */ ve((e, t) => { + const { children: r, ...n } = e, a = me.toArray(r), i = a.find(nn); + if (i) { + const s = i.props.children, l = a.map((p) => p === i ? me.count(s) > 1 ? me.only(null) : /* @__PURE__ */ Te(s) ? s.props.children : null : p); + return /* @__PURE__ */ q(rt, $e({}, n, { ref: t }), /* @__PURE__ */ Te(s) ? /* @__PURE__ */ lt(s, void 0, l) : null); } - return /* @__PURE__ */ Y(rt, $e({}, n, { + return /* @__PURE__ */ q(rt, $e({}, n, { ref: t }), r); }); -Ut.displayName = "Slot"; +Yt.displayName = "Slot"; const rt = /* @__PURE__ */ ve((e, t) => { const { children: r, ...n } = e; return /* @__PURE__ */ Te(r) ? /* @__PURE__ */ lt(r, { @@ -674,7 +674,7 @@ const rt = /* @__PURE__ */ ve((e, t) => { }) : me.count(r) > 1 ? me.only(null) : null; }); rt.displayName = "SlotClone"; -const rn = ({ children: e }) => /* @__PURE__ */ Y(Zr, null, e); +const rn = ({ children: e }) => /* @__PURE__ */ q(Ur, null, e); function nn(e) { return /* @__PURE__ */ Te(e) && e.type === rn; } @@ -683,15 +683,15 @@ function on(e, t) { ...t }; for (const n in t) { - const i = e[n], a = t[n]; - /^on[A-Z]/.test(n) ? i && a ? r[n] = (...l) => { - a(...l), i(...l); - } : i && (r[n] = i) : n === "style" ? r[n] = { - ...i, - ...a + const a = e[n], i = t[n]; + /^on[A-Z]/.test(n) ? a && i ? r[n] = (...l) => { + i(...l), a(...l); + } : a && (r[n] = a) : n === "style" ? r[n] = { + ...a, + ...i } : n === "className" && (r[n] = [ - i, - a + a, + i ].filter(Boolean).join(" ")); } return { @@ -699,34 +699,34 @@ function on(e, t) { ...r }; } -function Zt(e) { +function Ut(e) { var t, r, n = ""; if (typeof e == "string" || typeof e == "number") n += e; else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) - e[t] && (r = Zt(e[t])) && (n && (n += " "), n += r); + e[t] && (r = Ut(e[t])) && (n && (n += " "), n += r); else for (t in e) e[t] && (n && (n += " "), n += t); return n; } -function Kt() { +function Zt() { for (var e, t, r = 0, n = ""; r < arguments.length; ) - (e = arguments[r++]) && (t = Zt(e)) && (n && (n += " "), n += t); + (e = arguments[r++]) && (t = Ut(e)) && (n && (n += " "), n += t); return n; } -const It = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Vt = Kt, an = (e, t) => (r) => { +const It = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Vt = Zt, an = (e, t) => (r) => { var n; if ((t == null ? void 0 : t.variants) == null) return Vt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className); - const { variants: i, defaultVariants: a } = t, s = Object.keys(i).map((f) => { - const d = r == null ? void 0 : r[f], c = a == null ? void 0 : a[f]; + const { variants: a, defaultVariants: i } = t, s = Object.keys(a).map((f) => { + const d = r == null ? void 0 : r[f], c = i == null ? void 0 : i[f]; if (d === null) return null; const g = It(d) || It(c); - return i[f][g]; + return a[f][g]; }), l = r && Object.entries(r).reduce((f, d) => { let [c, g] = d; return g === void 0 || (f[c] = g), f; @@ -735,10 +735,10 @@ const It = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Vt = return Object.entries(b).every((C) => { let [E, A] = C; return Array.isArray(A) ? A.includes({ - ...a, + ...i, ...l }[E]) : { - ...a, + ...i, ...l }[E] === A; }) ? [ @@ -751,44 +751,44 @@ const It = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Vt = }; function sn() { for (var e = 0, t, r, n = ""; e < arguments.length; ) - (t = arguments[e++]) && (r = Xt(t)) && (n && (n += " "), n += r); + (t = arguments[e++]) && (r = Kt(t)) && (n && (n += " "), n += r); return n; } -function Xt(e) { +function Kt(e) { if (typeof e == "string") return e; for (var t, r = "", n = 0; n < e.length; n++) - e[n] && (t = Xt(e[n])) && (r && (r += " "), r += t); + e[n] && (t = Kt(e[n])) && (r && (r += " "), r += t); return r; } var ut = "-"; function ln(e) { - var t = un(e), r = e.conflictingClassGroups, n = e.conflictingClassGroupModifiers, i = n === void 0 ? {} : n; - function a(l) { + var t = un(e), r = e.conflictingClassGroups, n = e.conflictingClassGroupModifiers, a = n === void 0 ? {} : n; + function i(l) { var p = l.split(ut); - return p[0] === "" && p.length !== 1 && p.shift(), qt(p, t) || cn(l); + return p[0] === "" && p.length !== 1 && p.shift(), Xt(p, t) || cn(l); } function s(l, p) { var f = r[l] || []; - return p && i[l] ? [].concat(f, i[l]) : f; + return p && a[l] ? [].concat(f, a[l]) : f; } return { - getClassGroupId: a, + getClassGroupId: i, getConflictingClassGroupIds: s }; } -function qt(e, t) { +function Xt(e, t) { var s; if (e.length === 0) return t.classGroupId; - var r = e[0], n = t.nextPart.get(r), i = n ? qt(e.slice(1), n) : void 0; - if (i) - return i; + var r = e[0], n = t.nextPart.get(r), a = n ? Xt(e.slice(1), n) : void 0; + if (a) + return a; if (t.validators.length !== 0) { - var a = e.join(ut); + var i = e.join(ut); return (s = t.validators.find(function(l) { var p = l.validator; - return p(a); + return p(i); })) == null ? void 0 : s.classGroupId; } } @@ -804,31 +804,31 @@ function un(e) { var t = e.theme, r = e.prefix, n = { nextPart: /* @__PURE__ */ new Map(), validators: [] - }, i = fn(Object.entries(e.classGroups), r); - return i.forEach(function(a) { - var s = a[0], l = a[1]; + }, a = fn(Object.entries(e.classGroups), r); + return a.forEach(function(i) { + var s = i[0], l = i[1]; nt(l, n, s, t); }), n; } function nt(e, t, r, n) { - e.forEach(function(i) { - if (typeof i == "string") { - var a = i === "" ? t : $t(t, i); - a.classGroupId = r; + e.forEach(function(a) { + if (typeof a == "string") { + var i = a === "" ? t : $t(t, a); + i.classGroupId = r; return; } - if (typeof i == "function") { - if (dn(i)) { - nt(i(n), t, r, n); + if (typeof a == "function") { + if (dn(a)) { + nt(a(n), t, r, n); return; } t.validators.push({ - validator: i, + validator: a, classGroupId: r }); return; } - Object.entries(i).forEach(function(s) { + Object.entries(a).forEach(function(s) { var l = s[0], p = s[1]; nt(p, $t(t, l), r, n); }); @@ -848,13 +848,13 @@ function dn(e) { } function fn(e, t) { return t ? e.map(function(r) { - var n = r[0], i = r[1], a = i.map(function(s) { + var n = r[0], a = r[1], i = a.map(function(s) { return typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(function(l) { var p = l[0], f = l[1]; return [t + p, f]; })) : s; }); - return [n, a]; + return [n, i]; }) : e; } function pn(e) { @@ -866,8 +866,8 @@ function pn(e) { } }; var t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(); - function i(a, s) { - r.set(a, s), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map()); + function a(i, s) { + r.set(i, s), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map()); } return { get: function(s) { @@ -875,22 +875,22 @@ function pn(e) { if (l !== void 0) return l; if ((l = n.get(s)) !== void 0) - return i(s, l), l; + return a(s, l), l; }, set: function(s, l) { - r.has(s) ? r.set(s, l) : i(s, l); + r.has(s) ? r.set(s, l) : a(s, l); } }; } var Jt = "!"; function mn(e) { - var t = e.separator || ":", r = t.length === 1, n = t[0], i = t.length; + var t = e.separator || ":", r = t.length === 1, n = t[0], a = t.length; return function(s) { for (var l = [], p = 0, f = 0, d, c = 0; c < s.length; c++) { var g = s[c]; if (p === 0) { - if (g === n && (r || s.slice(c, c + i) === t)) { - l.push(s.slice(f, c)), f = c + i; + if (g === n && (r || s.slice(c, c + a) === t)) { + l.push(s.slice(f, c)), f = c + a; continue; } if (g === "/") { @@ -914,8 +914,8 @@ function gn(e) { return e; var t = [], r = []; return e.forEach(function(n) { - var i = n[0] === "["; - i ? (t.push.apply(t, r.sort().concat([n])), r = []) : r.push(n); + var a = n[0] === "["; + a ? (t.push.apply(t, r.sort().concat([n])), r = []) : r.push(n); }), t.push.apply(t, r.sort()), t; } function hn(e) { @@ -927,7 +927,7 @@ function hn(e) { } var vn = /\s+/; function bn(e, t) { - var r = t.splitModifiers, n = t.getClassGroupId, i = t.getConflictingClassGroupIds, a = /* @__PURE__ */ new Set(); + var r = t.splitModifiers, n = t.getClassGroupId, a = t.getConflictingClassGroupIds, i = /* @__PURE__ */ new Set(); return e.trim().split(vn).map(function(s) { var l = r(s), p = l.modifiers, f = l.hasImportantModifier, d = l.baseClassName, c = l.maybePostfixModifierPosition, g = n(c ? d.substring(0, c) : d), b = !!c; if (!g) { @@ -955,8 +955,8 @@ function bn(e, t) { if (!s.isTailwindClass) return !0; var l = s.modifierId, p = s.classGroupId, f = s.hasPostfixModifier, d = l + p; - return a.has(d) ? !1 : (a.add(d), i(p, f).forEach(function(c) { - return a.add(l + c); + return i.has(d) ? !1 : (i.add(d), a(p, f).forEach(function(c) { + return i.add(l + c); }), !0); }).reverse().map(function(s) { return s.originalClassName; @@ -965,19 +965,19 @@ function bn(e, t) { function yn() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; - var n, i, a, s = l; + var n, a, i, s = l; function l(f) { var d = t[0], c = t.slice(1), g = c.reduce(function(b, C) { return C(b); }, d()); - return n = hn(g), i = n.cache.get, a = n.cache.set, s = p, p(f); + return n = hn(g), a = n.cache.get, i = n.cache.set, s = p, p(f); } function p(f) { - var d = i(f); + var d = a(f); if (d) return d; var c = bn(f, n); - return a(f, c), c; + return i(f, c), c; } return function() { return s(sn.apply(null, arguments)); @@ -994,19 +994,19 @@ function B(e) { return ne(e) || wn.has(e) || xn.test(e) || ot(e); } function ot(e) { - return ae(e, "length", jn); + return ie(e, "length", jn); } function Rn(e) { - return ae(e, "size", er); + return ie(e, "size", er); } function Pn(e) { - return ae(e, "position", er); + return ie(e, "position", er); } function kn(e) { - return ae(e, "url", An); + return ie(e, "url", An); } function Ie(e) { - return ae(e, "number", ne); + return ie(e, "number", ne); } function ne(e) { return !Number.isNaN(Number(e)); @@ -1015,7 +1015,7 @@ function Tn(e) { return e.endsWith("%") && ne(e.slice(0, -1)); } function Pe(e) { - return Nt(e) || ae(e, "number", Nt); + return Nt(e) || ie(e, "number", Nt); } function w(e) { return Qt.test(e); @@ -1027,9 +1027,9 @@ function Q(e) { return Cn.test(e); } function Mn(e) { - return ae(e, "", _n); + return ie(e, "", _n); } -function ae(e, t, r) { +function ie(e, t, r) { var n = Qt.exec(e); return n ? n[1] ? n[1] === t : r(n[2]) : !1; } @@ -1049,7 +1049,7 @@ function _n(e) { return En.test(e); } function On() { - var e = j("colors"), t = j("spacing"), r = j("blur"), n = j("brightness"), i = j("borderColor"), a = j("borderRadius"), s = j("borderSpacing"), l = j("borderWidth"), p = j("contrast"), f = j("grayscale"), d = j("hueRotate"), c = j("invert"), g = j("gap"), b = j("gradientColorStops"), C = j("gradientColorStopPositions"), E = j("inset"), A = j("margin"), O = j("opacity"), h = j("padding"), M = j("saturate"), D = j("scale"), se = j("sepia"), U = j("skew"), le = j("space"), ce = j("translate"), K = function() { + var e = j("colors"), t = j("spacing"), r = j("blur"), n = j("brightness"), a = j("borderColor"), i = j("borderRadius"), s = j("borderSpacing"), l = j("borderWidth"), p = j("contrast"), f = j("grayscale"), d = j("hueRotate"), c = j("invert"), g = j("gap"), b = j("gradientColorStops"), C = j("gradientColorStopPositions"), E = j("inset"), A = j("margin"), O = j("opacity"), h = j("padding"), M = j("saturate"), D = j("scale"), se = j("sepia"), Y = j("skew"), le = j("space"), ce = j("translate"), Z = function() { return ["auto", "contain", "none"]; }, ye = function() { return ["auto", "hidden", "clip", "visible", "scroll"]; @@ -1061,7 +1061,7 @@ function On() { return ["", B]; }, W = function() { return ["auto", ne, w]; - }, X = function() { + }, K = function() { return ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"]; }, ee = function() { return ["solid", "dashed", "dotted", "double", "none"]; @@ -1069,7 +1069,7 @@ function On() { return ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"]; }, ue = function() { return ["start", "end", "center", "between", "around", "evenly", "stretch"]; - }, q = function() { + }, X = function() { return ["", "0", w]; }, Ce = function() { return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"]; @@ -1090,9 +1090,9 @@ function On() { borderSpacing: k(), borderWidth: z(), contrast: J(), - grayscale: q(), + grayscale: X(), hueRotate: te(), - invert: q(), + invert: X(), gap: k(), gradientColorStops: [e], gradientColorStopPositions: [Tn, ot], @@ -1102,7 +1102,7 @@ function On() { padding: k(), saturate: J(), scale: J(), - sepia: q(), + sepia: X(), skew: te(), space: k(), translate: k() @@ -1199,7 +1199,7 @@ function On() { * @see https://tailwindcss.com/docs/object-position */ "object-position": [{ - object: [].concat(X(), [w]) + object: [].concat(K(), [w]) }], /** * Overflow @@ -1227,21 +1227,21 @@ function On() { * @see https://tailwindcss.com/docs/overscroll-behavior */ overscroll: [{ - overscroll: K() + overscroll: Z() }], /** * Overscroll Behavior X * @see https://tailwindcss.com/docs/overscroll-behavior */ "overscroll-x": [{ - "overscroll-x": K() + "overscroll-x": Z() }], /** * Overscroll Behavior Y * @see https://tailwindcss.com/docs/overscroll-behavior */ "overscroll-y": [{ - "overscroll-y": K() + "overscroll-y": Z() }], /** * Position @@ -1357,14 +1357,14 @@ function On() { * @see https://tailwindcss.com/docs/flex-grow */ grow: [{ - grow: q() + grow: X() }], /** * Flex Shrink * @see https://tailwindcss.com/docs/flex-shrink */ shrink: [{ - shrink: q() + shrink: X() }], /** * Order @@ -1994,7 +1994,7 @@ function On() { * @see https://tailwindcss.com/docs/background-position */ "bg-position": [{ - bg: [].concat(X(), [Pn]) + bg: [].concat(K(), [Pn]) }], /** * Background Repeat @@ -2076,105 +2076,105 @@ function On() { * @see https://tailwindcss.com/docs/border-radius */ rounded: [{ - rounded: [a] + rounded: [i] }], /** * Border Radius Start * @see https://tailwindcss.com/docs/border-radius */ "rounded-s": [{ - "rounded-s": [a] + "rounded-s": [i] }], /** * Border Radius End * @see https://tailwindcss.com/docs/border-radius */ "rounded-e": [{ - "rounded-e": [a] + "rounded-e": [i] }], /** * Border Radius Top * @see https://tailwindcss.com/docs/border-radius */ "rounded-t": [{ - "rounded-t": [a] + "rounded-t": [i] }], /** * Border Radius Right * @see https://tailwindcss.com/docs/border-radius */ "rounded-r": [{ - "rounded-r": [a] + "rounded-r": [i] }], /** * Border Radius Bottom * @see https://tailwindcss.com/docs/border-radius */ "rounded-b": [{ - "rounded-b": [a] + "rounded-b": [i] }], /** * Border Radius Left * @see https://tailwindcss.com/docs/border-radius */ "rounded-l": [{ - "rounded-l": [a] + "rounded-l": [i] }], /** * Border Radius Start Start * @see https://tailwindcss.com/docs/border-radius */ "rounded-ss": [{ - "rounded-ss": [a] + "rounded-ss": [i] }], /** * Border Radius Start End * @see https://tailwindcss.com/docs/border-radius */ "rounded-se": [{ - "rounded-se": [a] + "rounded-se": [i] }], /** * Border Radius End End * @see https://tailwindcss.com/docs/border-radius */ "rounded-ee": [{ - "rounded-ee": [a] + "rounded-ee": [i] }], /** * Border Radius End Start * @see https://tailwindcss.com/docs/border-radius */ "rounded-es": [{ - "rounded-es": [a] + "rounded-es": [i] }], /** * Border Radius Top Left * @see https://tailwindcss.com/docs/border-radius */ "rounded-tl": [{ - "rounded-tl": [a] + "rounded-tl": [i] }], /** * Border Radius Top Right * @see https://tailwindcss.com/docs/border-radius */ "rounded-tr": [{ - "rounded-tr": [a] + "rounded-tr": [i] }], /** * Border Radius Bottom Right * @see https://tailwindcss.com/docs/border-radius */ "rounded-br": [{ - "rounded-br": [a] + "rounded-br": [i] }], /** * Border Radius Bottom Left * @see https://tailwindcss.com/docs/border-radius */ "rounded-bl": [{ - "rounded-bl": [a] + "rounded-bl": [i] }], /** * Border Width @@ -2296,56 +2296,56 @@ function On() { * @see https://tailwindcss.com/docs/border-color */ "border-color": [{ - border: [i] + border: [a] }], /** * Border Color X * @see https://tailwindcss.com/docs/border-color */ "border-color-x": [{ - "border-x": [i] + "border-x": [a] }], /** * Border Color Y * @see https://tailwindcss.com/docs/border-color */ "border-color-y": [{ - "border-y": [i] + "border-y": [a] }], /** * Border Color Top * @see https://tailwindcss.com/docs/border-color */ "border-color-t": [{ - "border-t": [i] + "border-t": [a] }], /** * Border Color Right * @see https://tailwindcss.com/docs/border-color */ "border-color-r": [{ - "border-r": [i] + "border-r": [a] }], /** * Border Color Bottom * @see https://tailwindcss.com/docs/border-color */ "border-color-b": [{ - "border-b": [i] + "border-b": [a] }], /** * Border Color Left * @see https://tailwindcss.com/docs/border-color */ "border-color-l": [{ - "border-l": [i] + "border-l": [a] }], /** * Divide Color * @see https://tailwindcss.com/docs/divide-color */ "divide-color": [{ - divide: [i] + divide: [a] }], /** * Outline Style @@ -2728,14 +2728,14 @@ function On() { * @see https://tailwindcss.com/docs/skew */ "skew-x": [{ - "skew-x": [U] + "skew-x": [Y] }], /** * Skew Y * @see https://tailwindcss.com/docs/skew */ "skew-y": [{ - "skew-y": [U] + "skew-y": [Y] }], /** * Transform Origin @@ -3047,7 +3047,7 @@ function On() { } var In = /* @__PURE__ */ yn(On); function tr(...e) { - return In(Kt(e)); + return In(Zt(e)); } const Vn = an( "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", @@ -3074,14 +3074,14 @@ const Vn = an( } } ), oe = V.forwardRef( - ({ className: e, variant: t, size: r, asChild: n = !1, ...i }, a) => { - const s = n ? Ut : "button"; + ({ className: e, variant: t, size: r, asChild: n = !1, ...a }, i) => { + const s = n ? Yt : "button"; return /* @__PURE__ */ P.jsx( s, { - className: "d411x418fllnhlf1di " + tr(Vn({ variant: t, size: r, className: e })), - ref: a, - ...i + className: "d411x41bq1lnhm670n " + tr(Vn({ variant: t, size: r, className: e })), + ref: i, + ...a } ); } @@ -3091,12 +3091,12 @@ const rr = be({ transformPagePoint: (e) => e, isStatic: !1, reducedMotion: "never" -}), Fe = be({}), dt = be(null), nr = typeof document < "u", ft = nr ? Kr : ct, or = be({ strict: !1 }); +}), Fe = be({}), dt = be(null), nr = typeof document < "u", ft = nr ? Zr : ct, or = be({ strict: !1 }); function Ln(e, t, r, n) { - const { visualElement: i } = F(Fe), a = F(or), s = F(dt), l = F(rr).reducedMotion, p = H(); - n = n || a.renderer, !p.current && n && (p.current = n(e, { + const { visualElement: a } = F(Fe), i = F(or), s = F(dt), l = F(rr).reducedMotion, p = H(); + n = n || i.renderer, !p.current && n && (p.current = n(e, { visualState: t, - parent: i, + parent: a, props: r, presenceContext: s, blockInitialAnimation: s ? s.initial === !1 : !1, @@ -3129,10 +3129,10 @@ function Nn(e, t, r) { [t] ); } -function it(e) { +function at(e) { return typeof e == "string" || Array.isArray(e); } -function ir(e) { +function ar(e) { return typeof e == "object" && typeof e.start == "function"; } const Fn = [ @@ -3145,7 +3145,7 @@ const Fn = [ "exit" ], zn = ["initial", ...Fn]; function pt(e) { - return ir(e.animate) || zn.some((t) => it(e[t])); + return ar(e.animate) || zn.some((t) => at(e[t])); } function Wn(e) { return !!(pt(e) || e.variants); @@ -3154,8 +3154,8 @@ function Gn(e, t) { if (pt(e)) { const { initial: r, animate: n } = e; return { - initial: r === !1 || it(r) ? r : void 0, - animate: it(n) ? n : void 0 + initial: r === !1 || at(r) ? r : void 0, + animate: at(n) ? n : void 0 }; } return e.inherit !== !1 ? t : {}; @@ -3186,30 +3186,30 @@ const zt = { pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"], inView: ["whileInView", "onViewportEnter", "onViewportLeave"], layout: ["layout", "layoutId"] -}, at = {}; +}, it = {}; for (const e in zt) - at[e] = { + it[e] = { isEnabled: (t) => zt[e].some((r) => !!t[r]) }; function Bn(e) { for (const t in e) - at[t] = { - ...at[t], + it[t] = { + ...it[t], ...e[t] }; } -const ar = be({}), Hn = be({}), Yn = Symbol.for("motionComponentSymbol"); -function Un({ preloadedFeatures: e, createVisualElement: t, useRender: r, useVisualState: n, Component: i }) { +const ir = be({}), Hn = be({}), qn = Symbol.for("motionComponentSymbol"); +function Yn({ preloadedFeatures: e, createVisualElement: t, useRender: r, useVisualState: n, Component: a }) { e && Bn(e); - function a(l, p) { + function i(l, p) { let f; const d = { ...F(rr), ...l, - layoutId: Zn(l) + layoutId: Un(l) }, { isStatic: c } = d, g = Dn(l), b = n(l, c); if (!c && nr) { - g.visualElement = Ln(i, b, d, t); + g.visualElement = Ln(a, b, d, t); const C = F(Hn), E = F(or).strict; g.visualElement && (f = g.visualElement.loadFeatures( // Note: Pass the full new combined props to correctly re-render dynamic feature components. @@ -3223,19 +3223,19 @@ function Un({ preloadedFeatures: e, createVisualElement: t, useRender: r, useVis Fe.Provider, { value: g }, f && g.visualElement ? V.createElement(f, { visualElement: g.visualElement, ...d }) : null, - r(i, l, Nn(b, g.visualElement, p), b, c, g.visualElement) + r(a, l, Nn(b, g.visualElement, p), b, c, g.visualElement) ); } - const s = ve(a); - return s[Yn] = i, s; + const s = ve(i); + return s[qn] = a, s; } -function Zn({ layoutId: e }) { - const t = F(ar).id; +function Un({ layoutId: e }) { + const t = F(ir).id; return t && e !== void 0 ? t + "-" + e : e; } -function Kn(e) { - function t(n, i = {}) { - return Un(e(n, i)); +function Zn(e) { + function t(n, a = {}) { + return Yn(e(n, a)); } if (typeof Proxy > "u") return t; @@ -3246,10 +3246,10 @@ function Kn(e) { * The prop name is passed through as `key` and we can use that to generate a `motion` * DOM component with that name. */ - get: (n, i) => (r.has(i) || r.set(i, t(i)), r.get(i)) + get: (n, a) => (r.has(a) || r.set(a, t(a)), r.get(a)) }); } -const Xn = [ +const Kn = [ "animate", "circle", "defs", @@ -3289,14 +3289,14 @@ function sr(e) { /** * If it's in our list of lowercase SVG tags, it's an SVG component */ - !!(Xn.indexOf(e) > -1 || /** + !!(Kn.indexOf(e) > -1 || /** * If it contains a capital letter, it's an SVG component */ /[A-Z]/.test(e)) ) ); } -const qn = {}, ze = [ +const Xn = {}, ze = [ "transformPerspective", "x", "y", @@ -3316,51 +3316,51 @@ const qn = {}, ze = [ "skewY" ], lr = new Set(ze); function cr(e, { layout: t, layoutId: r }) { - return lr.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!qn[e] || e === "opacity"); + return lr.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!Xn[e] || e === "opacity"); } -const ie = (e) => !!(e && e.getVelocity), Jn = { +const ae = (e) => !!(e && e.getVelocity), Jn = { x: "translateX", y: "translateY", z: "translateZ", transformPerspective: "perspective" }, Qn = ze.length; -function eo(e, { enableHardwareAcceleration: t = !0, allowTransformNone: r = !0 }, n, i) { - let a = ""; +function eo(e, { enableHardwareAcceleration: t = !0, allowTransformNone: r = !0 }, n, a) { + let i = ""; for (let s = 0; s < Qn; s++) { const l = ze[s]; if (e[l] !== void 0) { const p = Jn[l] || l; - a += `${p}(${e[l]}) `; + i += `${p}(${e[l]}) `; } } - return t && !e.z && (a += "translateZ(0)"), a = a.trim(), i ? a = i(e, n ? "" : a) : r && n && (a = "none"), a; + return t && !e.z && (i += "translateZ(0)"), i = i.trim(), a ? i = a(e, n ? "" : i) : r && n && (i = "none"), i; } const to = (e) => (t) => typeof t == "string" && t.startsWith(e), ro = to("--"), no = (e, t) => t && typeof e == "number" ? t.transform(e) : e, oo = (e, t, r) => Math.min(Math.max(r, e), t), mt = { test: (e) => typeof e == "number", parse: parseFloat, transform: (e) => e -}, Xe = { +}, Ke = { ...mt, transform: (e) => oo(0, 1, e) }, Ve = { ...mt, default: 1 }; -function io(e) { +function ao(e) { return typeof e == "string"; } const gt = (e) => ({ - test: (t) => io(t) && t.endsWith(e) && t.split(" ").length === 1, + test: (t) => ao(t) && t.endsWith(e) && t.split(" ").length === 1, parse: parseFloat, transform: (t) => `${t}${e}` -}), re = gt("deg"), qe = gt("%"), y = gt("px"), Wt = { - ...qe, - parse: (e) => qe.parse(e) / 100, - transform: (e) => qe.transform(e * 100) +}), re = gt("deg"), Xe = gt("%"), y = gt("px"), Wt = { + ...Xe, + parse: (e) => Xe.parse(e) / 100, + transform: (e) => Xe.transform(e * 100) }, Gt = { ...mt, transform: Math.round -}, ao = { +}, io = { // Border props borderWidth: y, borderTopWidth: y, @@ -3415,37 +3415,37 @@ const gt = (e) => ({ z: y, perspective: y, transformPerspective: y, - opacity: Xe, + opacity: Ke, originX: Wt, originY: Wt, originZ: y, // Misc zIndex: Gt, // SVG - fillOpacity: Xe, - strokeOpacity: Xe, + fillOpacity: Ke, + strokeOpacity: Ke, numOctaves: Gt }; function ur(e, t, r, n) { - const { style: i, vars: a, transform: s, transformOrigin: l } = e; + const { style: a, vars: i, transform: s, transformOrigin: l } = e; let p = !1, f = !1, d = !0; for (const c in t) { const g = t[c]; if (ro(c)) { - a[c] = g; + i[c] = g; continue; } - const b = ao[c], C = no(g, b); + const b = io[c], C = no(g, b); if (lr.has(c)) { if (p = !0, s[c] = C, !d) continue; g !== (b.default || 0) && (d = !1); } else - c.startsWith("origin") ? (f = !0, l[c] = C) : i[c] = C; + c.startsWith("origin") ? (f = !0, l[c] = C) : a[c] = C; } - if (t.transform || (p || n ? i.transform = eo(e.transform, r, d, n) : i.transform && (i.transform = "none")), f) { + if (t.transform || (p || n ? a.transform = eo(e.transform, r, d, n) : a.transform && (a.transform = "none")), f) { const { originX: c = "50%", originY: g = "50%", originZ: b = 0 } = l; - i.transformOrigin = `${c} ${g} ${b}`; + a.transformOrigin = `${c} ${g} ${b}`; } } const ht = () => ({ @@ -3456,7 +3456,7 @@ const ht = () => ({ }); function dr(e, t, r) { for (const n in t) - !ie(t[n]) && !cr(n, r) && (e[n] = t[n]); + !ae(t[n]) && !cr(n, r) && (e[n] = t[n]); } function so({ transformTemplate: e }, t, r) { return he(() => { @@ -3465,12 +3465,12 @@ function so({ transformTemplate: e }, t, r) { }, [t]); } function lo(e, t, r) { - const n = e.style || {}, i = {}; - return dr(i, n, e), Object.assign(i, so(e, t, r)), e.transformValues ? e.transformValues(i) : i; + const n = e.style || {}, a = {}; + return dr(a, n, e), Object.assign(a, so(e, t, r)), e.transformValues ? e.transformValues(a) : a; } function co(e, t, r) { - const n = {}, i = lo(e, t, r); - return e.drag && e.dragListener !== !1 && (n.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = i, n; + const n = {}, a = lo(e, t, r); + return e.drag && e.dragListener !== !1 && (n.draggable = !1, a.userSelect = a.WebkitUserSelect = a.WebkitTouchCallout = "none", a.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = a, n; } const uo = /* @__PURE__ */ new Set([ "animate", @@ -3520,17 +3520,17 @@ try { } function po(e, t, r) { const n = {}; - for (const i in e) - i === "values" && typeof e.values == "object" || (fr(i) || r === !0 && Ne(i) || !t && !Ne(i) || // If trying to use native HTML drag events, forward drag listeners - e.draggable && i.startsWith("onDrag")) && (n[i] = e[i]); + for (const a in e) + a === "values" && typeof e.values == "object" || (fr(a) || r === !0 && Ne(a) || !t && !Ne(a) || // If trying to use native HTML drag events, forward drag listeners + e.draggable && a.startsWith("onDrag")) && (n[a] = e[a]); return n; } function Dt(e, t, r) { return typeof e == "string" ? e : y.transform(t + r * e); } function mo(e, t, r) { - const n = Dt(t, e.x, e.width), i = Dt(r, e.y, e.height); - return `${n} ${i}`; + const n = Dt(t, e.x, e.width), a = Dt(r, e.y, e.height); + return `${n} ${a}`; } const go = { offset: "stroke-dashoffset", @@ -3539,19 +3539,19 @@ const go = { offset: "strokeDashoffset", array: "strokeDasharray" }; -function vo(e, t, r = 1, n = 0, i = !0) { +function vo(e, t, r = 1, n = 0, a = !0) { e.pathLength = 1; - const a = i ? go : ho; - e[a.offset] = y.transform(-n); + const i = a ? go : ho; + e[i.offset] = y.transform(-n); const s = y.transform(t), l = y.transform(r); - e[a.array] = `${s} ${l}`; + e[i.array] = `${s} ${l}`; } function pr(e, { attrX: t, attrY: r, attrScale: n, - originX: i, - originY: a, + originX: a, + originY: i, pathLength: s, pathSpacing: l = 1, pathOffset: p = 0, @@ -3564,44 +3564,44 @@ function pr(e, { } e.attrs = e.style, e.style = {}; const { attrs: b, style: C, dimensions: E } = e; - b.transform && (E && (C.transform = b.transform), delete b.transform), E && (i !== void 0 || a !== void 0 || C.transform) && (C.transformOrigin = mo(E, i !== void 0 ? i : 0.5, a !== void 0 ? a : 0.5)), t !== void 0 && (b.x = t), r !== void 0 && (b.y = r), n !== void 0 && (b.scale = n), s !== void 0 && vo(b, s, l, p, !1); + b.transform && (E && (C.transform = b.transform), delete b.transform), E && (a !== void 0 || i !== void 0 || C.transform) && (C.transformOrigin = mo(E, a !== void 0 ? a : 0.5, i !== void 0 ? i : 0.5)), t !== void 0 && (b.x = t), r !== void 0 && (b.y = r), n !== void 0 && (b.scale = n), s !== void 0 && vo(b, s, l, p, !1); } const mr = () => ({ ...ht(), attrs: {} }), gr = (e) => typeof e == "string" && e.toLowerCase() === "svg"; function bo(e, t, r, n) { - const i = he(() => { - const a = mr(); - return pr(a, t, { enableHardwareAcceleration: !1 }, gr(n), e.transformTemplate), { - ...a.attrs, - style: { ...a.style } + const a = he(() => { + const i = mr(); + return pr(i, t, { enableHardwareAcceleration: !1 }, gr(n), e.transformTemplate), { + ...i.attrs, + style: { ...i.style } }; }, [t]); if (e.style) { - const a = {}; - dr(a, e.style, e), i.style = { ...a, ...i.style }; + const i = {}; + dr(i, e.style, e), a.style = { ...i, ...a.style }; } - return i; + return a; } function yo(e = !1) { - return (r, n, i, { latestValues: a }, s) => { - const p = (sr(r) ? bo : co)(n, a, s, r), d = { + return (r, n, a, { latestValues: i }, s) => { + const p = (sr(r) ? bo : co)(n, i, s, r), d = { ...po(n, typeof r == "string", e), ...p, - ref: i - }, { children: c } = n, g = he(() => ie(c) ? c.get() : c, [c]); - return Y(r, { + ref: a + }, { children: c } = n, g = he(() => ae(c) ? c.get() : c, [c]); + return q(r, { ...d, children: g }); }; } const xo = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); -function wo(e, { style: t, vars: r }, n, i) { - Object.assign(e.style, t, i && i.getProjectionStyles(n)); - for (const a in r) - e.style.setProperty(a, r[a]); +function wo(e, { style: t, vars: r }, n, a) { + Object.assign(e.style, t, a && a.getProjectionStyles(n)); + for (const i in r) + e.style.setProperty(i, r[i]); } const Co = /* @__PURE__ */ new Set([ "baseFrequency", @@ -3630,26 +3630,26 @@ const Co = /* @__PURE__ */ new Set([ ]); function So(e, t, r, n) { wo(e, t, void 0, n); - for (const i in t.attrs) - e.setAttribute(Co.has(i) ? i : xo(i), t.attrs[i]); + for (const a in t.attrs) + e.setAttribute(Co.has(a) ? a : xo(a), t.attrs[a]); } function hr(e, t) { const { style: r } = e, n = {}; - for (const i in r) - (ie(r[i]) || t.style && ie(t.style[i]) || cr(i, e)) && (n[i] = r[i]); + for (const a in r) + (ae(r[a]) || t.style && ae(t.style[a]) || cr(a, e)) && (n[a] = r[a]); return n; } function Eo(e, t) { const r = hr(e, t); for (const n in e) - if (ie(e[n]) || ie(t[n])) { - const i = ze.indexOf(n) !== -1 ? "attr" + n.charAt(0).toUpperCase() + n.substring(1) : n; - r[i] = e[n]; + if (ae(e[n]) || ae(t[n])) { + const a = ze.indexOf(n) !== -1 ? "attr" + n.charAt(0).toUpperCase() + n.substring(1) : n; + r[a] = e[n]; } return r; } -function Ro(e, t, r, n = {}, i = {}) { - return typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, i)), typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, i)), t; +function Ro(e, t, r, n = {}, a = {}) { + return typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, a)), typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, a)), t; } function vr(e) { const t = H(null); @@ -3657,31 +3657,31 @@ function vr(e) { } const Po = (e) => !!(e && typeof e == "object" && e.mix && e.toValue); function ko(e) { - const t = ie(e) ? e.get() : e; + const t = ae(e) ? e.get() : e; return Po(t) ? t.toValue() : t; } -function To({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: r }, n, i, a) { +function To({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: r }, n, a, i) { const s = { - latestValues: Mo(n, i, a, e), + latestValues: Mo(n, a, i, e), renderState: t() }; return r && (s.mount = (l) => r(n, l, s)), s; } const br = (e) => (t, r) => { - const n = F(Fe), i = F(dt), a = () => To(e, t, n, i); - return r ? a() : vr(a); + const n = F(Fe), a = F(dt), i = () => To(e, t, n, a); + return r ? i() : vr(i); }; function Mo(e, t, r, n) { - const i = {}, a = n(e, {}); - for (const g in a) - i[g] = ko(a[g]); + const a = {}, i = n(e, {}); + for (const g in i) + a[g] = ko(i[g]); let { initial: s, animate: l } = e; const p = pt(e), f = Wn(e); t && f && !p && e.inherit !== !1 && (s === void 0 && (s = t.initial), l === void 0 && (l = t.animate)); let d = r ? r.initial === !1 : !1; d = d || s === !1; const c = d ? l : s; - return c && typeof c != "boolean" && !ir(c) && (Array.isArray(c) ? c : [c]).forEach((b) => { + return c && typeof c != "boolean" && !ar(c) && (Array.isArray(c) ? c : [c]).forEach((b) => { const C = Ro(e, b); if (!C) return; @@ -3692,11 +3692,11 @@ function Mo(e, t, r, n) { const D = d ? M.length - 1 : 0; M = M[D]; } - M !== null && (i[h] = M); + M !== null && (a[h] = M); } for (const h in E) - i[h] = E[h]; - }), i; + a[h] = E[h]; + }), a; } const jo = (e) => e; class Bt { @@ -3716,14 +3716,14 @@ class Bt { } } function Ao(e) { - let t = new Bt(), r = new Bt(), n = 0, i = !1, a = !1; + let t = new Bt(), r = new Bt(), n = 0, a = !1, i = !1; const s = /* @__PURE__ */ new WeakSet(), l = { /** * Schedule a process to run on the next frame. */ schedule: (p, f = !1, d = !1) => { - const c = d && i, g = c ? t : r; - return f && s.add(p), g.add(p) && c && i && (n = t.order.length), p; + const c = d && a, g = c ? t : r; + return f && s.add(p), g.add(p) && c && a && (n = t.order.length), p; }, /** * Cancel the provided callback from running on the next frame. @@ -3735,16 +3735,16 @@ function Ao(e) { * Execute all schedule callbacks. */ process: (p) => { - if (i) { - a = !0; + if (a) { + i = !0; return; } - if (i = !0, [t, r] = [r, t], r.clear(), n = t.order.length, n) + if (a = !0, [t, r] = [r, t], r.clear(), n = t.order.length, n) for (let f = 0; f < n; f++) { const d = t.order[f]; d(p), s.has(d) && (l.schedule(d), e()); } - i = !1, a && (a = !1, l.process(p)); + a = !1, i && (i = !1, l.process(p)); } }; return l; @@ -3759,22 +3759,22 @@ const Le = [ ], _o = 40; function Oo(e, t) { let r = !1, n = !0; - const i = { + const a = { delta: 0, timestamp: 0, isProcessing: !1 - }, a = Le.reduce((c, g) => (c[g] = Ao(() => r = !0), c), {}), s = (c) => a[c].process(i), l = () => { + }, i = Le.reduce((c, g) => (c[g] = Ao(() => r = !0), c), {}), s = (c) => i[c].process(a), l = () => { const c = performance.now(); - r = !1, i.delta = n ? 1e3 / 60 : Math.max(Math.min(c - i.timestamp, _o), 1), i.timestamp = c, i.isProcessing = !0, Le.forEach(s), i.isProcessing = !1, r && t && (n = !1, e(l)); + r = !1, a.delta = n ? 1e3 / 60 : Math.max(Math.min(c - a.timestamp, _o), 1), a.timestamp = c, a.isProcessing = !0, Le.forEach(s), a.isProcessing = !1, r && t && (n = !1, e(l)); }, p = () => { - r = !0, n = !0, i.isProcessing || e(l); + r = !0, n = !0, a.isProcessing || e(l); }; return { schedule: Le.reduce((c, g) => { - const b = a[g]; + const b = i[g]; return c[g] = (C, E = !1, A = !1) => (r || p(), b.schedule(C, E, A)), c; - }, {}), cancel: (c) => Le.forEach((g) => a[g].cancel(c)), state: i, steps: a }; + }, {}), cancel: (c) => Le.forEach((g) => i[g].cancel(c)), state: a, steps: i }; } -const { schedule: st, cancel: ai, state: si, steps: li } = Oo(typeof requestAnimationFrame < "u" ? requestAnimationFrame : jo, !0), Io = { +const { schedule: st, cancel: ia, state: sa, steps: la } = Oo(typeof requestAnimationFrame < "u" ? requestAnimationFrame : jo, !0), Io = { useVisualState: br({ scrapeMotionValuesFromProps: Eo, createRenderState: mr, @@ -3810,7 +3810,7 @@ function Lo(e, { forwardMotionProps: t = !1 }, r, n) { Component: e }; } -const ge = Kn(Lo); +const ge = Zn(Lo); function yr() { const e = H(!1); return ft(() => (e.current = !0, () => { @@ -3818,7 +3818,7 @@ function yr() { }), []), e; } function $o() { - const e = yr(), [t, r] = Xr(0), n = et(() => { + const e = yr(), [t, r] = Kr(0), n = et(() => { e.current && r(t + 1); }, [t]); return [et(() => st.postRender(n), [n]), t]; @@ -3842,22 +3842,22 @@ class No extends V.Component { } } function Fo({ children: e, isPresent: t }) { - const r = Yt(), n = H(null), i = H({ + const r = qt(), n = H(null), a = H({ width: 0, height: 0, top: 0, left: 0 }); return Ht(() => { - const { width: a, height: s, top: l, left: p } = i.current; - if (t || !n.current || !a || !s) + const { width: i, height: s, top: l, left: p } = a.current; + if (t || !n.current || !i || !s) return; n.current.dataset.motionPopId = r; const f = document.createElement("style"); return document.head.appendChild(f), f.sheet && f.sheet.insertRule(` [data-motion-pop-id="${r}"] { position: absolute !important; - width: ${a}px !important; + width: ${i}px !important; height: ${s}px !important; top: ${l}px !important; left: ${p}px !important; @@ -3865,15 +3865,15 @@ function Fo({ children: e, isPresent: t }) { `), () => { document.head.removeChild(f); }; - }, [t]), V.createElement(No, { isPresent: t, childRef: n, sizeRef: i }, V.cloneElement(e, { ref: n })); + }, [t]), V.createElement(No, { isPresent: t, childRef: n, sizeRef: a }, V.cloneElement(e, { ref: n })); } -const Je = ({ children: e, initial: t, isPresent: r, onExitComplete: n, custom: i, presenceAffectsLayout: a, mode: s }) => { - const l = vr(zo), p = Yt(), f = he( +const Je = ({ children: e, initial: t, isPresent: r, onExitComplete: n, custom: a, presenceAffectsLayout: i, mode: s }) => { + const l = vr(zo), p = qt(), f = he( () => ({ id: p, initial: t, isPresent: r, - custom: i, + custom: a, onExitComplete: (d) => { l.set(d, !0); for (const c of l.values()) @@ -3888,7 +3888,7 @@ const Je = ({ children: e, initial: t, isPresent: r, onExitComplete: n, custom: * we want to make a new context value to ensure they get re-rendered * so they can detect that layout change. */ - a ? void 0 : [r] + i ? void 0 : [r] ); return he(() => { l.forEach((d, c) => l.set(c, !1)); @@ -3915,8 +3915,8 @@ function Do(e) { Te(r) && t.push(r); }), t; } -const Qe = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBeforeEnter: i, presenceAffectsLayout: a = !0, mode: s = "sync" }) => { - const l = F(ar).forceRender || $o()[0], p = yr(), f = Do(e); +const Qe = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBeforeEnter: a, presenceAffectsLayout: i = !0, mode: s = "sync" }) => { + const l = F(ir).forceRender || $o()[0], p = yr(), f = Do(e); let d = f; const c = H(/* @__PURE__ */ new Map()).current, g = H(d), b = H(/* @__PURE__ */ new Map()).current, C = H(!0); if (ft(() => { @@ -3924,7 +3924,7 @@ const Qe = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBe }), Wo(() => { C.current = !0, b.clear(), c.clear(); }), C.current) - return V.createElement(V.Fragment, null, d.map((h) => V.createElement(Je, { key: pe(h), isPresent: !0, initial: r ? void 0 : !1, presenceAffectsLayout: a, mode: s }, h))); + return V.createElement(V.Fragment, null, d.map((h) => V.createElement(Je, { key: pe(h), isPresent: !0, initial: r ? void 0 : !1, presenceAffectsLayout: i, mode: s }, h))); d = [...d]; const E = g.current.map(pe), A = f.map(pe), O = E.length; for (let h = 0; h < O; h++) { @@ -3938,23 +3938,23 @@ const Qe = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBe if (!D) return; const se = E.indexOf(M); - let U = h; - if (!U) { + let Y = h; + if (!Y) { const le = () => { b.delete(M), c.delete(M); - const ce = g.current.findIndex((K) => K.key === M); + const ce = g.current.findIndex((Z) => Z.key === M); if (g.current.splice(ce, 1), !c.size) { if (g.current = f, p.current === !1) return; l(), n && n(); } }; - U = V.createElement(Je, { key: pe(D), isPresent: !1, onExitComplete: le, custom: t, presenceAffectsLayout: a, mode: s }, D), c.set(M, U); + Y = V.createElement(Je, { key: pe(D), isPresent: !1, onExitComplete: le, custom: t, presenceAffectsLayout: i, mode: s }, D), c.set(M, Y); } - d.splice(se, 0, U); + d.splice(se, 0, Y); }), d = d.map((h) => { const M = h.key; - return c.has(M) ? h : V.createElement(Je, { key: pe(h), isPresent: !0, presenceAffectsLayout: a, mode: s }, h); + return c.has(M) ? h : V.createElement(Je, { key: pe(h), isPresent: !0, presenceAffectsLayout: i, mode: s }, h); }), process.env.NODE_ENV !== "production" && s === "wait" && d.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`), V.createElement(V.Fragment, null, c.size ? d : d.map((h) => lt(h))); }, Bo = N.createContext(void 0); function xr(e) { @@ -3979,7 +3979,7 @@ const wr = V.forwardRef( "input", { type: t, - className: "d411x418fllnhlf1di " + tr( + className: "d411x41bq1lnhm670n " + tr( "flex h-9 w-full text-white rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 focus:border-white", e ), @@ -3992,63 +3992,63 @@ wr.displayName = "Input"; function vt(e, t) { if (e == null) return {}; - var r = {}, n = Object.keys(e), i, a; - for (a = 0; a < n.length; a++) - i = n[a], !(t.indexOf(i) >= 0) && (r[i] = e[i]); + var r = {}, n = Object.keys(e), a, i; + for (i = 0; i < n.length; i++) + a = n[i], !(t.indexOf(a) >= 0) && (r[a] = e[a]); return r; } -var Ho = ["color"], Yo = /* @__PURE__ */ ve(function(e, t) { - var r = e.color, n = r === void 0 ? "currentColor" : r, i = vt(e, Ho); - return Y("svg", Object.assign({ +var Ho = ["color"], qo = /* @__PURE__ */ ve(function(e, t) { + var r = e.color, n = r === void 0 ? "currentColor" : r, a = vt(e, Ho); + return q("svg", Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" - }, i, { + }, a, { ref: t - }), Y("path", { + }), q("path", { d: "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z", fill: n, fillRule: "evenodd", clipRule: "evenodd" })); -}), Uo = ["color"], Zo = /* @__PURE__ */ ve(function(e, t) { - var r = e.color, n = r === void 0 ? "currentColor" : r, i = vt(e, Uo); - return Y("svg", Object.assign({ +}), Yo = ["color"], Uo = /* @__PURE__ */ ve(function(e, t) { + var r = e.color, n = r === void 0 ? "currentColor" : r, a = vt(e, Yo); + return q("svg", Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" - }, i, { + }, a, { ref: t - }), Y("path", { + }), q("path", { d: "M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H7V13H3.5C3.22386 13 3 12.7761 3 12.5V2.5C3 2.22386 3.22386 2 3.5 2H4V2.25C4 2.66421 4.33579 3 4.75 3H10.25C10.6642 3 11 2.66421 11 2.25V2H11.5C11.7761 2 12 2.22386 12 2.5V7H13V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM9 8.5C9 8.77614 8.77614 9 8.5 9C8.22386 9 8 8.77614 8 8.5C8 8.22386 8.22386 8 8.5 8C8.77614 8 9 8.22386 9 8.5ZM10.5 9C10.7761 9 11 8.77614 11 8.5C11 8.22386 10.7761 8 10.5 8C10.2239 8 10 8.22386 10 8.5C10 8.77614 10.2239 9 10.5 9ZM13 8.5C13 8.77614 12.7761 9 12.5 9C12.2239 9 12 8.77614 12 8.5C12 8.22386 12.2239 8 12.5 8C12.7761 8 13 8.22386 13 8.5ZM14.5 9C14.7761 9 15 8.77614 15 8.5C15 8.22386 14.7761 8 14.5 8C14.2239 8 14 8.22386 14 8.5C14 8.77614 14.2239 9 14.5 9ZM15 10.5C15 10.7761 14.7761 11 14.5 11C14.2239 11 14 10.7761 14 10.5C14 10.2239 14.2239 10 14.5 10C14.7761 10 15 10.2239 15 10.5ZM14.5 13C14.7761 13 15 12.7761 15 12.5C15 12.2239 14.7761 12 14.5 12C14.2239 12 14 12.2239 14 12.5C14 12.7761 14.2239 13 14.5 13ZM14.5 15C14.7761 15 15 14.7761 15 14.5C15 14.2239 14.7761 14 14.5 14C14.2239 14 14 14.2239 14 14.5C14 14.7761 14.2239 15 14.5 15ZM8.5 11C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11ZM9 12.5C9 12.7761 8.77614 13 8.5 13C8.22386 13 8 12.7761 8 12.5C8 12.2239 8.22386 12 8.5 12C8.77614 12 9 12.2239 9 12.5ZM8.5 15C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14C8.22386 14 8 14.2239 8 14.5C8 14.7761 8.22386 15 8.5 15ZM11 14.5C11 14.7761 10.7761 15 10.5 15C10.2239 15 10 14.7761 10 14.5C10 14.2239 10.2239 14 10.5 14C10.7761 14 11 14.2239 11 14.5ZM12.5 15C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5C12 14.7761 12.2239 15 12.5 15Z", fill: n, fillRule: "evenodd", clipRule: "evenodd" })); -}), Ko = ["color"], Xo = /* @__PURE__ */ ve(function(e, t) { - var r = e.color, n = r === void 0 ? "currentColor" : r, i = vt(e, Ko); - return Y("svg", Object.assign({ +}), Zo = ["color"], Ko = /* @__PURE__ */ ve(function(e, t) { + var r = e.color, n = r === void 0 ? "currentColor" : r, a = vt(e, Zo); + return q("svg", Object.assign({ width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" - }, i, { + }, a, { ref: t - }), Y("path", { + }), q("path", { d: "M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z", fill: n, fillRule: "evenodd", clipRule: "evenodd" })); }); -const qo = N.createContext(void 0); +const Xo = N.createContext(void 0); function Cr() { - const e = N.useContext(qo); + const e = N.useContext(Xo); if (N.useEffect(() => { e != null && e.session ? localStorage.setItem("lume-session", e.session) : localStorage.removeItem("lume-session"); }, [e == null ? void 0 : e.session]), N.useEffect(() => { @@ -4068,15 +4068,15 @@ function Cr() { } const Jo = () => { const { setVisibleComponent: e } = xr(); - return /* @__PURE__ */ P.jsx(oe, { className: "d411x418fllnhlf1di w-full h-12", variant: "outline", onClick: () => e(ri), children: /* @__PURE__ */ P.jsx("span", { className: "d411x418fllnhlf1di text-center text-lg font-normal leading-normal", children: "Sign in with Account Key" }) }); + return /* @__PURE__ */ P.jsx(oe, { className: "d411x41bq1lnhm670n w-full h-12", variant: "outline", onClick: () => e(ra), children: /* @__PURE__ */ P.jsx("span", { className: "d411x41bq1lnhm670n text-center text-lg font-normal leading-normal", children: "Sign in with Account Key" }) }); }, Qo = () => { const { signIn: e } = Cr(); - return /* @__PURE__ */ P.jsxs(ge.form, { className: "d411x418fllnhlf1di flex-col flex gap-y-4", onSubmit: (t) => { + return /* @__PURE__ */ P.jsxs(ge.form, { className: "d411x41bq1lnhm670n flex-col flex gap-y-4", onSubmit: (t) => { t.preventDefault(); const n = t.target.elements.seedPhrase.value; e(n); }, children: [ - /* @__PURE__ */ P.jsx(wr, { className: "d411x418fllnhlf1di h-12 w-full text-lg", name: "seedPhrase" }), + /* @__PURE__ */ P.jsx(wr, { className: "d411x41bq1lnhm670n h-12 w-full text-lg", name: "seedPhrase" }), /* @__PURE__ */ P.jsx( ge.div, { @@ -4084,12 +4084,12 @@ const Jo = () => { animate: { y: 0 }, exit: { y: -50 }, transition: { type: "just", delay: 0.1 }, - className: "d411x418fllnhlf1di h-12", - children: /* @__PURE__ */ P.jsx(oe, { className: "d411x418fllnhlf1di w-full h-full", role: "submit", children: /* @__PURE__ */ P.jsx("span", { className: "d411x418fllnhlf1di text-center text-lg font-normal leading-normal", children: "Sign in" }) }) + className: "d411x41bq1lnhm670n h-12", + children: /* @__PURE__ */ P.jsx(oe, { className: "d411x41bq1lnhm670n w-full h-full", role: "submit", children: /* @__PURE__ */ P.jsx("span", { className: "d411x41bq1lnhm670n text-center text-lg font-normal leading-normal", children: "Sign in" }) }) } ) ] }); -}, ei = () => { +}, ea = () => { const { setVisibleComponent: e } = xr(), [t, r] = N.useState(); return /* @__PURE__ */ P.jsx( ge.div, @@ -4098,17 +4098,17 @@ const Jo = () => { animate: { y: 0 }, exit: { y: -50, height: "auto" }, transition: { type: "just", delay: 0.1 }, - className: "d411x418fllnhlf1di min-h-12 h-full max-w-full", + className: "d411x41bq1lnhm670n min-h-12 h-full max-w-full", style: { maxWidth: t ?? "auto" }, ref: (n) => setTimeout(() => r(n.getBoundingClientRect().width), 0), - children: /* @__PURE__ */ P.jsx(oe, { className: "d411x418fllnhlf1di w-full h-full", onClick: () => e(ni), children: /* @__PURE__ */ P.jsx("span", { className: "d411x418fllnhlf1di text-center text-lg font-normal leading-normal", children: "I get it, I'll keep it safe. Let's see the key." }) }) + children: /* @__PURE__ */ P.jsx(oe, { className: "d411x41bq1lnhm670n w-full h-full", onClick: () => e(na), children: /* @__PURE__ */ P.jsx("span", { className: "d411x41bq1lnhm670n text-center text-lg font-normal leading-normal", children: "I get it, I'll keep it safe. Let's see the key." }) }) } ); -}, ti = ({ phraseLength: e = 12 }) => { - const [t, r] = N.useState("idle"), [n, i] = N.useState(0), { signIn: a } = Cr(), s = N.useMemo(() => Array(e).fill("a phrase"), [e]), l = N.useMemo(() => s.join(" "), [s]), p = () => { +}, ta = ({ phraseLength: e = 12 }) => { + const [t, r] = N.useState("idle"), [n, a] = N.useState(0), { signIn: i } = Cr(), s = N.useMemo(() => Array(e).fill("a phrase"), [e]), l = N.useMemo(() => s.join(" "), [s]), p = () => { navigator.clipboard.writeText(s.join(" ")), r("clicked"), setTimeout(() => r("idle"), 1e3); }; - return /* @__PURE__ */ P.jsxs("div", { className: "d411x418fllnhlf1di relative", children: [ + return /* @__PURE__ */ P.jsxs("div", { className: "d411x41bq1lnhm670n relative", children: [ /* @__PURE__ */ P.jsx(Qe, { children: n === 1 ? /* @__PURE__ */ P.jsx( ge.div, { @@ -4118,49 +4118,49 @@ const Jo = () => { transition: { type: "tween", duration: 0.1 } } ) : null }), - /* @__PURE__ */ P.jsxs("div", { className: "d411x418fllnhlf1di z-20 relative mb-2.5 w-full h-full flex-wrap justify-center items-center gap-2.5 inline-flex", children: [ + /* @__PURE__ */ P.jsxs("div", { className: "d411x41bq1lnhm670n z-20 relative mb-2.5 w-full h-full flex-wrap justify-center items-center gap-2.5 inline-flex", children: [ s.map((f, d) => /* @__PURE__ */ P.jsxs("div", { className: "justify-center items-center gap-2.5 flex w-[calc(33%-10px)] h-10 rounded border border-current relative ring-current text-neutral-700", children: [ - /* @__PURE__ */ P.jsx("span", { className: "d411x418fllnhlf1di text-white text-md font-normal leading-normal w-full h-fit px-2.5 bg-transparent text-center", children: f }), - /* @__PURE__ */ P.jsx("span", { className: "d411x418fllnhlf1di left-[6px] top-0 absolute text-current text-xs font-normal leading-normal", children: d + 1 }) + /* @__PURE__ */ P.jsx("span", { className: "d411x41bq1lnhm670n text-white text-md font-normal leading-normal w-full h-fit px-2.5 bg-transparent text-center", children: f }), + /* @__PURE__ */ P.jsx("span", { className: "d411x41bq1lnhm670n left-[6px] top-0 absolute text-current text-xs font-normal leading-normal", children: d + 1 }) ] }, `SeedPhrase_${d}`)), /* @__PURE__ */ P.jsx(Qe, { children: n === 1 ? /* @__PURE__ */ P.jsxs( ge.div, { - className: "d411x418fllnhlf1di text-red-400 flex flex-row gap-5 py-8", + className: "d411x41bq1lnhm670n text-red-400 flex flex-row gap-5 py-8", initial: { opacity: 0, y: 50 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: 50 }, transition: { type: "linear", delay: 0.2, duration: 0.5 }, children: [ - /* @__PURE__ */ P.jsx(Xo, { className: "d411x418fllnhlf1di w-14 h-14" }), + /* @__PURE__ */ P.jsx(Ko, { className: "d411x41bq1lnhm670n w-14 h-14" }), /* @__PURE__ */ P.jsx("span", { children: "Make sure to write this down for safe keeping." }) ] } ) : null }), /* @__PURE__ */ P.jsxs(oe, { className: `w-full h-12 ${t === "clicked" ? "!text-primary !border-primary" : ""}`, variant: "outline", onClick: p, children: [ - t === "clicked" ? /* @__PURE__ */ P.jsx(Yo, { className: "d411x418fllnhlf1di w-5 h-5 mr-2.5" }) : /* @__PURE__ */ P.jsx(Zo, { className: "d411x418fllnhlf1di w-5 h-5 mr-2.5" }), + t === "clicked" ? /* @__PURE__ */ P.jsx(qo, { className: "d411x41bq1lnhm670n w-5 h-5 mr-2.5" }) : /* @__PURE__ */ P.jsx(Uo, { className: "d411x41bq1lnhm670n w-5 h-5 mr-2.5" }), t === "clicked" ? "Copied!" : "Copy Account Key" ] }) ] }), - n === 0 ? /* @__PURE__ */ P.jsx(oe, { className: "d411x418fllnhlf1di z-20 w-full h-12 text-white bg-neutral-700 hover:bg-neutral-800", variant: "secondary", onClick: () => i(1), children: "Continue" }) : null, + n === 0 ? /* @__PURE__ */ P.jsx(oe, { className: "d411x41bq1lnhm670n z-20 w-full h-12 text-white bg-neutral-700 hover:bg-neutral-800", variant: "secondary", onClick: () => a(1), children: "Continue" }) : null, /* @__PURE__ */ P.jsx(Qe, { children: n === 1 ? /* @__PURE__ */ P.jsx( ge.div, { - className: "d411x418fllnhlf1di z-20 w-full h-12", + className: "d411x41bq1lnhm670n z-20 w-full h-12", initial: { opacity: 0, y: -50 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: 50 }, transition: { type: "linear", delay: 2, duration: 0.5 }, - children: /* @__PURE__ */ P.jsx(oe, { className: "d411x418fllnhlf1di w-full h-full", onClick: () => a(l), children: "Sign In" }) + children: /* @__PURE__ */ P.jsx(oe, { className: "d411x41bq1lnhm670n w-full h-full", onClick: () => i(l), children: "Sign In" }) } ) : null }) ] }); }; We(Jo, "submit-button"); -const ri = We(Qo, "seed-phrase-input"); -We(ei, "setup-account-key"); -const ni = We(ti, "seed-phrase-form"); +const ra = We(Qo, "seed-phrase-input"); +We(ea, "setup-account-key"); +const na = We(ta, "seed-phrase-form"); export { - ii as useLume + aa as useLume }; //# sourceMappingURL=lib.es.js.map diff --git a/dist/lib.umd.js b/dist/lib.umd.js index 1fa62a6..4700cd9 100644 --- a/dist/lib.umd.js +++ b/dist/lib.umd.js @@ -14,8 +14,8 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ut;function pr(){return ut||(ut=1,process.env.NODE_ENV!=="production"&&function(){var e=c,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),E=Symbol.iterator,P="@@iterator";function _(o){if(o===null||typeof o!="object")return null;var d=E&&o[E]||o[P];return typeof d=="function"?d:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(o){{for(var d=arguments.length,g=new Array(d>1?d-1:0),b=1;b1?d-1:0),b=1;b=1&&V>=0&&C[I]!==N[V];)V--;for(;I>=1&&V>=0;I--,V--)if(C[I]!==N[V]){if(I!==1||V!==1)do if(I--,V--,V<0||C[I]!==N[V]){var W=` `+C[I].replace(" at new "," at ");return o.displayName&&W.includes("")&&(W=W.replace("",o.displayName)),typeof o=="function"&&Ae.set(o,W),W}while(I>=1&&V>=0);break}}}finally{rt=!1,et.current=j,yo(),Error.prepareStackTrace=T}var fe=o?o.displayName||o.name:"",cr=fe?Oe(fe):"";return typeof o=="function"&&Ae.set(o,cr),cr}function wo(o,d,g){return Xt(o,!1)}function Co(o){var d=o.prototype;return!!(d&&d.isReactComponent)}function _e(o,d,g){if(o==null)return"";if(typeof o=="function")return Xt(o,Co(o));if(typeof o=="string")return Oe(o);switch(o){case p:return Oe("Suspense");case f:return Oe("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case m:return wo(o.render);case u:return _e(o.type,d,g);case h:{var b=o,T=b._payload,j=b._init;try{return _e(j(T),d,g)}catch{}}}return""}var Ie=Object.prototype.hasOwnProperty,Jt={},Qt=R.ReactDebugCurrentFrame;function Re(o){if(o){var d=o._owner,g=_e(o.type,o._source,d?d.type:null);Qt.setExtraStackFrame(g)}else Qt.setExtraStackFrame(null)}function Eo(o,d,g,b,T){{var j=Function.call.bind(Ie);for(var S in o)if(j(o,S)){var C=void 0;try{if(typeof o[S]!="function"){var N=Error((b||"React class")+": "+g+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}C=o[S](d,S,b,g,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(I){C=I}C&&!(C instanceof Error)&&(Re(T),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",b||"React class",g,S,typeof C),Re(null)),C instanceof Error&&!(C.message in Jt)&&(Jt[C.message]=!0,Re(T),v("Failed %s type: %s",g,C.message),Re(null))}}}var So=Array.isArray;function nt(o){return So(o)}function Po(o){{var d=typeof Symbol=="function"&&Symbol.toStringTag,g=d&&o[Symbol.toStringTag]||o.constructor.name||"Object";return g}}function ko(o){try{return er(o),!1}catch{return!0}}function er(o){return""+o}function tr(o){if(ko(o))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Po(o)),er(o)}var we=R.ReactCurrentOwner,To={key:!0,ref:!0,__self:!0,__source:!0},rr,nr,ot;ot={};function Mo(o){if(Ie.call(o,"ref")){var d=Object.getOwnPropertyDescriptor(o,"ref").get;if(d&&d.isReactWarning)return!1}return o.ref!==void 0}function jo(o){if(Ie.call(o,"key")){var d=Object.getOwnPropertyDescriptor(o,"key").get;if(d&&d.isReactWarning)return!1}return o.key!==void 0}function Oo(o,d){if(typeof o.ref=="string"&&we.current&&d&&we.current.stateNode!==d){var g=F(we.current.type);ot[g]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',F(we.current.type),o.ref),ot[g]=!0)}}function Ao(o,d){{var g=function(){rr||(rr=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};g.isReactWarning=!0,Object.defineProperty(o,"key",{get:g,configurable:!0})}}function _o(o,d){{var g=function(){nr||(nr=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};g.isReactWarning=!0,Object.defineProperty(o,"ref",{get:g,configurable:!0})}}var Io=function(o,d,g,b,T,j,S){var C={$$typeof:t,type:o,key:d,ref:g,props:S,_owner:j};return C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(C,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(C,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C};function Ro(o,d,g,b,T){{var j,S={},C=null,N=null;g!==void 0&&(tr(g),C=""+g),jo(d)&&(tr(d.key),C=""+d.key),Mo(d)&&(N=d.ref,Oo(d,T));for(j in d)Ie.call(d,j)&&!To.hasOwnProperty(j)&&(S[j]=d[j]);if(o&&o.defaultProps){var I=o.defaultProps;for(j in I)S[j]===void 0&&(S[j]=I[j])}if(C||N){var V=typeof o=="function"?o.displayName||o.name||"Unknown":o;C&&Ao(S,V),N&&_o(S,V)}return Io(o,C,N,T,b,we.current,S)}}var it=R.ReactCurrentOwner,or=R.ReactDebugCurrentFrame;function de(o){if(o){var d=o._owner,g=_e(o.type,o._source,d?d.type:null);or.setExtraStackFrame(g)}else or.setExtraStackFrame(null)}var at;at=!1;function st(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function ir(){{if(it.current){var o=F(it.current.type);if(o)return` @@ -24,7 +24,7 @@ Check the render method of \``+o+"`."}return""}}function Vo(o){{if(o!==void 0){v Check your code at `+d+":"+g+"."}return""}}var ar={};function Lo(o){{var d=ir();if(!d){var g=typeof o=="string"?o:o.displayName||o.name;g&&(d=` -Check the top-level render call using <`+g+">.")}return d}}function sr(o,d){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var g=Lo(d);if(ar[g])return;ar[g]=!0;var b="";o&&o._owner&&o._owner!==it.current&&(b=" It was passed a child from "+F(o._owner.type)+"."),de(o),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',g,b),de(null)}}function lr(o,d){{if(typeof o!="object")return;if(nt(o))for(var g=0;g",C=" Did you accidentally export a JSX literal instead of a component?"):I=typeof o,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",I,C)}var V=Ro(o,d,g,T,j);if(V==null)return V;if(S){var W=d.children;if(W!==void 0)if(b)if(nt(W)){for(var fe=0;fee.forEach(r=>hr(r,t))}const ct=c.forwardRef((e,t)=>{const{children:r,...n}=e,i=c.Children.toArray(r),a=i.find(yr);if(a){const s=a.props.children,l=i.map(m=>m===a?c.Children.count(s)>1?c.Children.only(null):c.isValidElement(s)?s.props.children:null:m);return c.createElement(Le,Ce({},n,{ref:t}),c.isValidElement(s)?c.cloneElement(s,void 0,l):null)}return c.createElement(Le,Ce({},n,{ref:t}),r)});ct.displayName="Slot";const Le=c.forwardRef((e,t)=>{const{children:r,...n}=e;return c.isValidElement(r)?c.cloneElement(r,{...xr(n,r.props),ref:t?vr(t,r.ref):r.ref}):c.Children.count(r)>1?c.Children.only(null):null});Le.displayName="SlotClone";const br=({children:e})=>c.createElement(c.Fragment,null,e);function yr(e){return c.isValidElement(e)&&e.type===br}function xr(e,t){const r={...t};for(const n in t){const i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...l)=>{a(...l),i(...l)}:i&&(r[n]=i):n==="style"?r[n]={...i,...a}:n==="className"&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}function dt(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,mt=ft,wr=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return mt(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(p=>{const f=r==null?void 0:r[p],u=a==null?void 0:a[p];if(f===null)return null;const h=pt(f)||pt(u);return i[p][h]}),l=r&&Object.entries(r).reduce((p,f)=>{let[u,h]=f;return h===void 0||(p[u]=h),p},{}),m=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((p,f)=>{let{class:u,className:h,...y}=f;return Object.entries(y).every(E=>{let[P,_]=E;return Array.isArray(_)?_.includes({...a,...l}[P]):{...a,...l}[P]===_})?[...p,u,h]:p},[]);return mt(e,s,m,r==null?void 0:r.class,r==null?void 0:r.className)};function Cr(){for(var e=0,t,r,n="";ee&&(t=0,n=r,r=new Map)}return{get:function(s){var l=r.get(s);if(l!==void 0)return l;if((l=n.get(s))!==void 0)return i(s,l),l},set:function(s,l){r.has(s)?r.set(s,l):i(s,l)}}}var yt="!";function jr(e){var t=e.separator||":",r=t.length===1,n=t[0],i=t.length;return function(s){for(var l=[],m=0,p=0,f,u=0;up?f-p:void 0;return{modifiers:l,hasImportantModifier:E,baseClassName:P,maybePostfixModifierPosition:_}}}function Or(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var i=n[0]==="[";i?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function Ar(e){return{cache:Mr(e.cacheSize),splitModifiers:jr(e),...Er(e)}}var _r=/\s+/;function Ir(e,t){var r=t.splitModifiers,n=t.getClassGroupId,i=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(_r).map(function(s){var l=r(s),m=l.modifiers,p=l.hasImportantModifier,f=l.baseClassName,u=l.maybePostfixModifierPosition,h=n(u?f.substring(0,u):f),y=!!u;if(!h){if(!u)return{isTailwindClass:!1,originalClassName:s};if(h=n(f),!h)return{isTailwindClass:!1,originalClassName:s};y=!1}var E=Or(m).join(":"),P=p?E+yt:E;return{isTailwindClass:!0,modifierId:P,classGroupId:h,originalClassName:s,hasPostfixModifier:y}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var l=s.modifierId,m=s.classGroupId,p=s.hasPostfixModifier,f=l+m;return a.has(f)?!1:(a.add(f),i(m,p).forEach(function(u){return a.add(l+u)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function Rr(){for(var e=arguments.length,t=new Array(e),r=0;r{const s=n?ct:"button";return k.jsx(s,{className:"d411x418fllnhlf1di "+Et(qr({variant:t,size:r,className:e})),ref:a,...i})});ee.displayName="Button";const St=c.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Se=c.createContext({}),ze=c.createContext(null),Pt=typeof document<"u",We=Pt?c.useLayoutEffect:c.useEffect,kt=c.createContext({strict:!1});function Xr(e,t,r,n){const{visualElement:i}=c.useContext(Se),a=c.useContext(kt),s=c.useContext(ze),l=c.useContext(St).reducedMotion,m=c.useRef();n=n||a.renderer,!m.current&&n&&(m.current=n(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const p=m.current;c.useInsertionEffect(()=>{p&&p.update(r,s)});const f=c.useRef(!!window.HandoffAppearAnimations);return We(()=>{p&&(p.render(),f.current&&p.animationState&&p.animationState.animateChanges())}),c.useEffect(()=>{p&&(p.updateFeatures(),!f.current&&p.animationState&&p.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,f.current=!1)}),p}function Jr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Qr(e,t,r){return c.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Jr(r)&&(r.current=n))},[t])}function Ge(e){return typeof e=="string"||Array.isArray(e)}function Tt(e){return typeof e=="object"&&typeof e.start=="function"}const en=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function De(e){return Tt(e.animate)||en.some(t=>Ge(e[t]))}function tn(e){return!!(De(e)||e.variants)}function rn(e,t){if(De(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Ge(r)?r:void 0,animate:Ge(n)?n:void 0}}return e.inherit!==!1?t:{}}function nn(e){const{initial:t,animate:r}=rn(e,c.useContext(Se));return c.useMemo(()=>({initial:t,animate:r}),[Mt(t),Mt(r)])}function Mt(e){return Array.isArray(e)?e.join(" "):e}const jt={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Be={};for(const e in jt)Be[e]={isEnabled:t=>jt[e].some(r=>!!t[r])};function on(e){for(const t in e)Be[t]={...Be[t],...e[t]}}const Ot=c.createContext({}),an=c.createContext({}),sn=Symbol.for("motionComponentSymbol");function ln({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&on(e);function a(l,m){let p;const f={...c.useContext(St),...l,layoutId:un(l)},{isStatic:u}=f,h=nn(l),y=n(l,u);if(!u&&Pt){h.visualElement=Xr(i,y,f,t);const E=c.useContext(an),P=c.useContext(kt).strict;h.visualElement&&(p=h.visualElement.loadFeatures(f,P,e,E))}return L.createElement(Se.Provider,{value:h},p&&h.visualElement?L.createElement(p,{visualElement:h.visualElement,...f}):null,r(i,l,Qr(y,h.visualElement,m),y,u,h.visualElement))}const s=c.forwardRef(a);return s[sn]=i,s}function un({layoutId:e}){const t=c.useContext(Ot).id;return t&&e!==void 0?t+"-"+e:e}function cn(e){function t(n,i={}){return ln(e(n,i))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}const dn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function At(e){return typeof e!="string"||e.includes("-")?!1:!!(dn.indexOf(e)>-1||/[A-Z]/.test(e))}const fn={},Pe=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_t=new Set(Pe);function It(e,{layout:t,layoutId:r}){return _t.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!fn[e]||e==="opacity")}const te=e=>!!(e&&e.getVelocity),pn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mn=Pe.length;function gn(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let a="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e))("--"),vn=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bn=(e,t,r)=>Math.min(Math.max(r,e),t),He={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ye={...He,transform:e=>bn(0,1,e)},ke={...He,default:1};function yn(e){return typeof e=="string"}const Ue=e=>({test:t=>yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),re=Ue("deg"),Ze=Ue("%"),x=Ue("px"),Rt={...Ze,parse:e=>Ze.parse(e)/100,transform:e=>Ze.transform(e*100)},Vt={...He,transform:Math.round},xn={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,size:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,rotate:re,rotateX:re,rotateY:re,rotateZ:re,scale:ke,scaleX:ke,scaleY:ke,scaleZ:ke,skew:re,skewX:re,skewY:re,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:Ye,originX:Rt,originY:Rt,originZ:x,zIndex:Vt,fillOpacity:Ye,strokeOpacity:Ye,numOctaves:Vt};function Lt(e,t,r,n){const{style:i,vars:a,transform:s,transformOrigin:l}=e;let m=!1,p=!1,f=!0;for(const u in t){const h=t[u];if(hn(u)){a[u]=h;continue}const y=xn[u],E=vn(h,y);if(_t.has(u)){if(m=!0,s[u]=E,!f)continue;h!==(y.default||0)&&(f=!1)}else u.startsWith("origin")?(p=!0,l[u]=E):i[u]=E}if(t.transform||(m||n?i.transform=gn(e.transform,r,f,n):i.transform&&(i.transform="none")),p){const{originX:u="50%",originY:h="50%",originZ:y=0}=l;i.transformOrigin=`${u} ${h} ${y}`}}const Ke=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $t(e,t,r){for(const n in t)!te(t[n])&&!It(n,r)&&(e[n]=t[n])}function wn({transformTemplate:e},t,r){return c.useMemo(()=>{const n=Ke();return Lt(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Cn(e,t,r){const n=e.style||{},i={};return $t(i,n,e),Object.assign(i,wn(e,t,r)),e.transformValues?e.transformValues(i):i}function En(e,t,r){const n={},i=Cn(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Sn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Te(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Sn.has(e)}let Nt=e=>!Te(e);function Pn(e){e&&(Nt=t=>t.startsWith("on")?!Te(t):e(t))}try{Pn(require("@emotion/is-prop-valid").default)}catch{}function kn(e,t,r){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||(Nt(i)||r===!0&&Te(i)||!t&&!Te(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function Ft(e,t,r){return typeof e=="string"?e:x.transform(t+r*e)}function Tn(e,t,r){const n=Ft(t,e.x,e.width),i=Ft(r,e.y,e.height);return`${n} ${i}`}const Mn={offset:"stroke-dashoffset",array:"stroke-dasharray"},jn={offset:"strokeDashoffset",array:"strokeDasharray"};function On(e,t,r=1,n=0,i=!0){e.pathLength=1;const a=i?Mn:jn;e[a.offset]=x.transform(-n);const s=x.transform(t),l=x.transform(r);e[a.array]=`${s} ${l}`}function zt(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:a,pathLength:s,pathSpacing:l=1,pathOffset:m=0,...p},f,u,h){if(Lt(e,p,f,h),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:E,dimensions:P}=e;y.transform&&(P&&(E.transform=y.transform),delete y.transform),P&&(i!==void 0||a!==void 0||E.transform)&&(E.transformOrigin=Tn(P,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(y.x=t),r!==void 0&&(y.y=r),n!==void 0&&(y.scale=n),s!==void 0&&On(y,s,l,m,!1)}const Wt=()=>({...Ke(),attrs:{}}),Gt=e=>typeof e=="string"&&e.toLowerCase()==="svg";function An(e,t,r,n){const i=c.useMemo(()=>{const a=Wt();return zt(a,t,{enableHardwareAcceleration:!1},Gt(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};$t(a,e.style,e),i.style={...a,...i.style}}return i}function _n(e=!1){return(r,n,i,{latestValues:a},s)=>{const m=(At(r)?An:En)(n,a,s,r),f={...kn(n,typeof r=="string",e),...m,ref:i},{children:u}=n,h=c.useMemo(()=>te(u)?u.get():u,[u]);return c.createElement(r,{...f,children:h})}}const In=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Rn(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(const a in r)e.style.setProperty(a,r[a])}const Vn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ln(e,t,r,n){Rn(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(Vn.has(i)?i:In(i),t.attrs[i])}function Dt(e,t){const{style:r}=e,n={};for(const i in r)(te(r[i])||t.style&&te(t.style[i])||It(i,e))&&(n[i]=r[i]);return n}function $n(e,t){const r=Dt(e,t);for(const n in e)if(te(e[n])||te(t[n])){const i=Pe.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[i]=e[n]}return r}function Nn(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function Bt(e){const t=c.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fn=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue);function zn(e){const t=te(e)?e.get():e;return Fn(t)?t.toValue():t}function Wn({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,a){const s={latestValues:Gn(n,i,a,e),renderState:t()};return r&&(s.mount=l=>r(n,l,s)),s}const Ht=e=>(t,r)=>{const n=c.useContext(Se),i=c.useContext(ze),a=()=>Wn(e,t,n,i);return r?a():Bt(a)};function Gn(e,t,r,n){const i={},a=n(e,{});for(const h in a)i[h]=zn(a[h]);let{initial:s,animate:l}=e;const m=De(e),p=tn(e);t&&p&&!m&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let f=r?r.initial===!1:!1;f=f||s===!1;const u=f?l:s;return u&&typeof u!="boolean"&&!Tt(u)&&(Array.isArray(u)?u:[u]).forEach(y=>{const E=Nn(e,y);if(!E)return;const{transitionEnd:P,transition:_,...R}=E;for(const v in R){let A=R[v];if(Array.isArray(A)){const D=f?A.length-1:0;A=A[D]}A!==null&&(i[v]=A)}for(const v in P)i[v]=P[v]}),i}const Dn=e=>e;class Yt{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Bn(e){let t=new Yt,r=new Yt,n=0,i=!1,a=!1;const s=new WeakSet,l={schedule:(m,p=!1,f=!1)=>{const u=f&&i,h=u?t:r;return p&&s.add(m),h.add(m)&&u&&i&&(n=t.order.length),m},cancel:m=>{r.remove(m),s.delete(m)},process:m=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let p=0;p(u[h]=Bn(()=>r=!0),u),{}),s=u=>a[u].process(i),l=()=>{const u=performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(u-i.timestamp,Hn),1),i.timestamp=u,i.isProcessing=!0,Me.forEach(s),i.isProcessing=!1,r&&t&&(n=!1,e(l))},m=()=>{r=!0,n=!0,i.isProcessing||e(l)};return{schedule:Me.reduce((u,h)=>{const y=a[h];return u[h]=(E,P=!1,_=!1)=>(r||m(),y.schedule(E,P,_)),u},{}),cancel:u=>Me.forEach(h=>a[h].cancel(u)),state:i,steps:a}}const{schedule:qe,cancel:Ho,state:Yo,steps:Uo}=Yn(typeof requestAnimationFrame<"u"?requestAnimationFrame:Dn,!0),Un={useVisualState:Ht({scrapeMotionValuesFromProps:$n,createRenderState:Wt,onMount:(e,t,{renderState:r,latestValues:n})=>{qe.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),qe.render(()=>{zt(r,n,{enableHardwareAcceleration:!1},Gt(t.tagName),e.transformTemplate),Ln(t,r)})}})},Zn={useVisualState:Ht({scrapeMotionValuesFromProps:Dt,createRenderState:Ke})};function Kn(e,{forwardMotionProps:t=!1},r,n){return{...At(e)?Un:Zn,preloadedFeatures:r,useRender:_n(t),createVisualElement:n,Component:e}}const ie=cn(Kn);function Ut(){const e=c.useRef(!1);return We(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function qn(){const e=Ut(),[t,r]=c.useState(0),n=c.useCallback(()=>{e.current&&r(t+1)},[t]);return[c.useCallback(()=>qe.postRender(n),[n]),t]}class Xn extends L.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Jn({children:e,isPresent:t}){const r=c.useId(),n=c.useRef(null),i=c.useRef({width:0,height:0,top:0,left:0});return c.useInsertionEffect(()=>{const{width:a,height:s,top:l,left:m}=i.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const p=document.createElement("style");return document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` +Check the top-level render call using <`+g+">.")}return d}}function sr(o,d){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var g=Lo(d);if(ar[g])return;ar[g]=!0;var b="";o&&o._owner&&o._owner!==it.current&&(b=" It was passed a child from "+F(o._owner.type)+"."),de(o),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',g,b),de(null)}}function lr(o,d){{if(typeof o!="object")return;if(nt(o))for(var g=0;g",C=" Did you accidentally export a JSX literal instead of a component?"):I=typeof o,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",I,C)}var V=Ro(o,d,g,T,j);if(V==null)return V;if(S){var W=d.children;if(W!==void 0)if(b)if(nt(W)){for(var fe=0;fee.forEach(r=>hr(r,t))}const ct=c.forwardRef((e,t)=>{const{children:r,...n}=e,i=c.Children.toArray(r),a=i.find(yr);if(a){const s=a.props.children,l=i.map(m=>m===a?c.Children.count(s)>1?c.Children.only(null):c.isValidElement(s)?s.props.children:null:m);return c.createElement(Le,Ce({},n,{ref:t}),c.isValidElement(s)?c.cloneElement(s,void 0,l):null)}return c.createElement(Le,Ce({},n,{ref:t}),r)});ct.displayName="Slot";const Le=c.forwardRef((e,t)=>{const{children:r,...n}=e;return c.isValidElement(r)?c.cloneElement(r,{...xr(n,r.props),ref:t?vr(t,r.ref):r.ref}):c.Children.count(r)>1?c.Children.only(null):null});Le.displayName="SlotClone";const br=({children:e})=>c.createElement(c.Fragment,null,e);function yr(e){return c.isValidElement(e)&&e.type===br}function xr(e,t){const r={...t};for(const n in t){const i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...l)=>{a(...l),i(...l)}:i&&(r[n]=i):n==="style"?r[n]={...i,...a}:n==="className"&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}function dt(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,mt=ft,wr=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return mt(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(p=>{const f=r==null?void 0:r[p],u=a==null?void 0:a[p];if(f===null)return null;const h=pt(f)||pt(u);return i[p][h]}),l=r&&Object.entries(r).reduce((p,f)=>{let[u,h]=f;return h===void 0||(p[u]=h),p},{}),m=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((p,f)=>{let{class:u,className:h,...y}=f;return Object.entries(y).every(E=>{let[P,_]=E;return Array.isArray(_)?_.includes({...a,...l}[P]):{...a,...l}[P]===_})?[...p,u,h]:p},[]);return mt(e,s,m,r==null?void 0:r.class,r==null?void 0:r.className)};function Cr(){for(var e=0,t,r,n="";ee&&(t=0,n=r,r=new Map)}return{get:function(s){var l=r.get(s);if(l!==void 0)return l;if((l=n.get(s))!==void 0)return i(s,l),l},set:function(s,l){r.has(s)?r.set(s,l):i(s,l)}}}var yt="!";function jr(e){var t=e.separator||":",r=t.length===1,n=t[0],i=t.length;return function(s){for(var l=[],m=0,p=0,f,u=0;up?f-p:void 0;return{modifiers:l,hasImportantModifier:E,baseClassName:P,maybePostfixModifierPosition:_}}}function Or(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(n){var i=n[0]==="[";i?(t.push.apply(t,r.sort().concat([n])),r=[]):r.push(n)}),t.push.apply(t,r.sort()),t}function Ar(e){return{cache:Mr(e.cacheSize),splitModifiers:jr(e),...Er(e)}}var _r=/\s+/;function Ir(e,t){var r=t.splitModifiers,n=t.getClassGroupId,i=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(_r).map(function(s){var l=r(s),m=l.modifiers,p=l.hasImportantModifier,f=l.baseClassName,u=l.maybePostfixModifierPosition,h=n(u?f.substring(0,u):f),y=!!u;if(!h){if(!u)return{isTailwindClass:!1,originalClassName:s};if(h=n(f),!h)return{isTailwindClass:!1,originalClassName:s};y=!1}var E=Or(m).join(":"),P=p?E+yt:E;return{isTailwindClass:!0,modifierId:P,classGroupId:h,originalClassName:s,hasPostfixModifier:y}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var l=s.modifierId,m=s.classGroupId,p=s.hasPostfixModifier,f=l+m;return a.has(f)?!1:(a.add(f),i(m,p).forEach(function(u){return a.add(l+u)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function Rr(){for(var e=arguments.length,t=new Array(e),r=0;r{const s=n?ct:"button";return k.jsx(s,{className:"d411x41bq1lnhm670n "+Et(Kr({variant:t,size:r,className:e})),ref:a,...i})});ee.displayName="Button";const St=c.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Se=c.createContext({}),ze=c.createContext(null),Pt=typeof document<"u",We=Pt?c.useLayoutEffect:c.useEffect,kt=c.createContext({strict:!1});function Xr(e,t,r,n){const{visualElement:i}=c.useContext(Se),a=c.useContext(kt),s=c.useContext(ze),l=c.useContext(St).reducedMotion,m=c.useRef();n=n||a.renderer,!m.current&&n&&(m.current=n(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const p=m.current;c.useInsertionEffect(()=>{p&&p.update(r,s)});const f=c.useRef(!!window.HandoffAppearAnimations);return We(()=>{p&&(p.render(),f.current&&p.animationState&&p.animationState.animateChanges())}),c.useEffect(()=>{p&&(p.updateFeatures(),!f.current&&p.animationState&&p.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,f.current=!1)}),p}function Jr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Qr(e,t,r){return c.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Jr(r)&&(r.current=n))},[t])}function Ge(e){return typeof e=="string"||Array.isArray(e)}function Tt(e){return typeof e=="object"&&typeof e.start=="function"}const en=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function De(e){return Tt(e.animate)||en.some(t=>Ge(e[t]))}function tn(e){return!!(De(e)||e.variants)}function rn(e,t){if(De(e)){const{initial:r,animate:n}=e;return{initial:r===!1||Ge(r)?r:void 0,animate:Ge(n)?n:void 0}}return e.inherit!==!1?t:{}}function nn(e){const{initial:t,animate:r}=rn(e,c.useContext(Se));return c.useMemo(()=>({initial:t,animate:r}),[Mt(t),Mt(r)])}function Mt(e){return Array.isArray(e)?e.join(" "):e}const jt={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Be={};for(const e in jt)Be[e]={isEnabled:t=>jt[e].some(r=>!!t[r])};function on(e){for(const t in e)Be[t]={...Be[t],...e[t]}}const Ot=c.createContext({}),an=c.createContext({}),sn=Symbol.for("motionComponentSymbol");function ln({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&on(e);function a(l,m){let p;const f={...c.useContext(St),...l,layoutId:un(l)},{isStatic:u}=f,h=nn(l),y=n(l,u);if(!u&&Pt){h.visualElement=Xr(i,y,f,t);const E=c.useContext(an),P=c.useContext(kt).strict;h.visualElement&&(p=h.visualElement.loadFeatures(f,P,e,E))}return L.createElement(Se.Provider,{value:h},p&&h.visualElement?L.createElement(p,{visualElement:h.visualElement,...f}):null,r(i,l,Qr(y,h.visualElement,m),y,u,h.visualElement))}const s=c.forwardRef(a);return s[sn]=i,s}function un({layoutId:e}){const t=c.useContext(Ot).id;return t&&e!==void 0?t+"-"+e:e}function cn(e){function t(n,i={}){return ln(e(n,i))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}const dn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function At(e){return typeof e!="string"||e.includes("-")?!1:!!(dn.indexOf(e)>-1||/[A-Z]/.test(e))}const fn={},Pe=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_t=new Set(Pe);function It(e,{layout:t,layoutId:r}){return _t.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!fn[e]||e==="opacity")}const te=e=>!!(e&&e.getVelocity),pn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mn=Pe.length;function gn(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let a="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e))("--"),vn=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bn=(e,t,r)=>Math.min(Math.max(r,e),t),qe={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},He={...qe,transform:e=>bn(0,1,e)},ke={...qe,default:1};function yn(e){return typeof e=="string"}const Ye=e=>({test:t=>yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),re=Ye("deg"),Ue=Ye("%"),x=Ye("px"),Rt={...Ue,parse:e=>Ue.parse(e)/100,transform:e=>Ue.transform(e*100)},Vt={...qe,transform:Math.round},xn={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,size:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,rotate:re,rotateX:re,rotateY:re,rotateZ:re,scale:ke,scaleX:ke,scaleY:ke,scaleZ:ke,skew:re,skewX:re,skewY:re,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:He,originX:Rt,originY:Rt,originZ:x,zIndex:Vt,fillOpacity:He,strokeOpacity:He,numOctaves:Vt};function Lt(e,t,r,n){const{style:i,vars:a,transform:s,transformOrigin:l}=e;let m=!1,p=!1,f=!0;for(const u in t){const h=t[u];if(hn(u)){a[u]=h;continue}const y=xn[u],E=vn(h,y);if(_t.has(u)){if(m=!0,s[u]=E,!f)continue;h!==(y.default||0)&&(f=!1)}else u.startsWith("origin")?(p=!0,l[u]=E):i[u]=E}if(t.transform||(m||n?i.transform=gn(e.transform,r,f,n):i.transform&&(i.transform="none")),p){const{originX:u="50%",originY:h="50%",originZ:y=0}=l;i.transformOrigin=`${u} ${h} ${y}`}}const Ze=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $t(e,t,r){for(const n in t)!te(t[n])&&!It(n,r)&&(e[n]=t[n])}function wn({transformTemplate:e},t,r){return c.useMemo(()=>{const n=Ze();return Lt(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Cn(e,t,r){const n=e.style||{},i={};return $t(i,n,e),Object.assign(i,wn(e,t,r)),e.transformValues?e.transformValues(i):i}function En(e,t,r){const n={},i=Cn(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Sn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Te(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Sn.has(e)}let Nt=e=>!Te(e);function Pn(e){e&&(Nt=t=>t.startsWith("on")?!Te(t):e(t))}try{Pn(require("@emotion/is-prop-valid").default)}catch{}function kn(e,t,r){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||(Nt(i)||r===!0&&Te(i)||!t&&!Te(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function Ft(e,t,r){return typeof e=="string"?e:x.transform(t+r*e)}function Tn(e,t,r){const n=Ft(t,e.x,e.width),i=Ft(r,e.y,e.height);return`${n} ${i}`}const Mn={offset:"stroke-dashoffset",array:"stroke-dasharray"},jn={offset:"strokeDashoffset",array:"strokeDasharray"};function On(e,t,r=1,n=0,i=!0){e.pathLength=1;const a=i?Mn:jn;e[a.offset]=x.transform(-n);const s=x.transform(t),l=x.transform(r);e[a.array]=`${s} ${l}`}function zt(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:a,pathLength:s,pathSpacing:l=1,pathOffset:m=0,...p},f,u,h){if(Lt(e,p,f,h),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:E,dimensions:P}=e;y.transform&&(P&&(E.transform=y.transform),delete y.transform),P&&(i!==void 0||a!==void 0||E.transform)&&(E.transformOrigin=Tn(P,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(y.x=t),r!==void 0&&(y.y=r),n!==void 0&&(y.scale=n),s!==void 0&&On(y,s,l,m,!1)}const Wt=()=>({...Ze(),attrs:{}}),Gt=e=>typeof e=="string"&&e.toLowerCase()==="svg";function An(e,t,r,n){const i=c.useMemo(()=>{const a=Wt();return zt(a,t,{enableHardwareAcceleration:!1},Gt(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};$t(a,e.style,e),i.style={...a,...i.style}}return i}function _n(e=!1){return(r,n,i,{latestValues:a},s)=>{const m=(At(r)?An:En)(n,a,s,r),f={...kn(n,typeof r=="string",e),...m,ref:i},{children:u}=n,h=c.useMemo(()=>te(u)?u.get():u,[u]);return c.createElement(r,{...f,children:h})}}const In=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Rn(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(const a in r)e.style.setProperty(a,r[a])}const Vn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ln(e,t,r,n){Rn(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(Vn.has(i)?i:In(i),t.attrs[i])}function Dt(e,t){const{style:r}=e,n={};for(const i in r)(te(r[i])||t.style&&te(t.style[i])||It(i,e))&&(n[i]=r[i]);return n}function $n(e,t){const r=Dt(e,t);for(const n in e)if(te(e[n])||te(t[n])){const i=Pe.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[i]=e[n]}return r}function Nn(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function Bt(e){const t=c.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fn=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue);function zn(e){const t=te(e)?e.get():e;return Fn(t)?t.toValue():t}function Wn({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,a){const s={latestValues:Gn(n,i,a,e),renderState:t()};return r&&(s.mount=l=>r(n,l,s)),s}const qt=e=>(t,r)=>{const n=c.useContext(Se),i=c.useContext(ze),a=()=>Wn(e,t,n,i);return r?a():Bt(a)};function Gn(e,t,r,n){const i={},a=n(e,{});for(const h in a)i[h]=zn(a[h]);let{initial:s,animate:l}=e;const m=De(e),p=tn(e);t&&p&&!m&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let f=r?r.initial===!1:!1;f=f||s===!1;const u=f?l:s;return u&&typeof u!="boolean"&&!Tt(u)&&(Array.isArray(u)?u:[u]).forEach(y=>{const E=Nn(e,y);if(!E)return;const{transitionEnd:P,transition:_,...R}=E;for(const v in R){let A=R[v];if(Array.isArray(A)){const D=f?A.length-1:0;A=A[D]}A!==null&&(i[v]=A)}for(const v in P)i[v]=P[v]}),i}const Dn=e=>e;class Ht{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Bn(e){let t=new Ht,r=new Ht,n=0,i=!1,a=!1;const s=new WeakSet,l={schedule:(m,p=!1,f=!1)=>{const u=f&&i,h=u?t:r;return p&&s.add(m),h.add(m)&&u&&i&&(n=t.order.length),m},cancel:m=>{r.remove(m),s.delete(m)},process:m=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let p=0;p(u[h]=Bn(()=>r=!0),u),{}),s=u=>a[u].process(i),l=()=>{const u=performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(u-i.timestamp,qn),1),i.timestamp=u,i.isProcessing=!0,Me.forEach(s),i.isProcessing=!1,r&&t&&(n=!1,e(l))},m=()=>{r=!0,n=!0,i.isProcessing||e(l)};return{schedule:Me.reduce((u,h)=>{const y=a[h];return u[h]=(E,P=!1,_=!1)=>(r||m(),y.schedule(E,P,_)),u},{}),cancel:u=>Me.forEach(h=>a[h].cancel(u)),state:i,steps:a}}const{schedule:Ke,cancel:qo,state:Ho,steps:Yo}=Hn(typeof requestAnimationFrame<"u"?requestAnimationFrame:Dn,!0),Yn={useVisualState:qt({scrapeMotionValuesFromProps:$n,createRenderState:Wt,onMount:(e,t,{renderState:r,latestValues:n})=>{Ke.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ke.render(()=>{zt(r,n,{enableHardwareAcceleration:!1},Gt(t.tagName),e.transformTemplate),Ln(t,r)})}})},Un={useVisualState:qt({scrapeMotionValuesFromProps:Dt,createRenderState:Ze})};function Zn(e,{forwardMotionProps:t=!1},r,n){return{...At(e)?Yn:Un,preloadedFeatures:r,useRender:_n(t),createVisualElement:n,Component:e}}const ie=cn(Zn);function Yt(){const e=c.useRef(!1);return We(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Kn(){const e=Yt(),[t,r]=c.useState(0),n=c.useCallback(()=>{e.current&&r(t+1)},[t]);return[c.useCallback(()=>Ke.postRender(n),[n]),t]}class Xn extends L.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Jn({children:e,isPresent:t}){const r=c.useId(),n=c.useRef(null),i=c.useRef({width:0,height:0,top:0,left:0});return c.useInsertionEffect(()=>{const{width:a,height:s,top:l,left:m}=i.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const p=document.createElement("style");return document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` [data-motion-pop-id="${r}"] { position: absolute !important; width: ${a}px !important; @@ -32,5 +32,5 @@ Check the top-level render call using <`+g+">.")}return d}}function sr(o,d){{if( top: ${l}px !important; left: ${m}px !important; } - `),()=>{document.head.removeChild(p)}},[t]),L.createElement(Xn,{isPresent:t,childRef:n,sizeRef:i},L.cloneElement(e,{ref:n}))}const Xe=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:a,mode:s})=>{const l=Bt(Qn),m=c.useId(),p=c.useMemo(()=>({id:m,initial:t,isPresent:r,custom:i,onExitComplete:f=>{l.set(f,!0);for(const u of l.values())if(!u)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?void 0:[r]);return c.useMemo(()=>{l.forEach((f,u)=>l.set(u,!1))},[r]),L.useEffect(()=>{!r&&!l.size&&n&&n()},[r]),s==="popLayout"&&(e=L.createElement(Jn,{isPresent:r},e)),L.createElement(ze.Provider,{value:p},e)};function Qn(){return new Map}function eo(e){return c.useEffect(()=>()=>e(),[])}const ae=e=>e.key||"";function to(e,t){e.forEach(r=>{const n=ae(r);t.set(n,r)})}function ro(e){const t=[];return c.Children.forEach(e,r=>{c.isValidElement(r)&&t.push(r)}),t}const Je=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{const l=c.useContext(Ot).forceRender||qn()[0],m=Ut(),p=ro(e);let f=p;const u=c.useRef(new Map).current,h=c.useRef(f),y=c.useRef(new Map).current,E=c.useRef(!0);if(We(()=>{E.current=!1,to(p,y),h.current=f}),eo(()=>{E.current=!0,y.clear(),u.clear()}),E.current)return L.createElement(L.Fragment,null,f.map(v=>L.createElement(Xe,{key:ae(v),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:a,mode:s},v)));f=[...f];const P=h.current.map(ae),_=p.map(ae),R=P.length;for(let v=0;v{if(_.indexOf(A)!==-1)return;const D=y.get(A);if(!D)return;const se=P.indexOf(A);let B=v;if(!B){const le=()=>{y.delete(A),u.delete(A);const ue=h.current.findIndex(U=>U.key===A);if(h.current.splice(ue,1),!u.size){if(h.current=p,m.current===!1)return;l(),n&&n()}};B=L.createElement(Xe,{key:ae(D),isPresent:!1,onExitComplete:le,custom:t,presenceAffectsLayout:a,mode:s},D),u.set(A,B)}f.splice(se,0,B)}),f=f.map(v=>{const A=v.key;return u.has(A)?v:L.createElement(Xe,{key:ae(v),isPresent:!0,presenceAffectsLayout:a,mode:s},v)}),process.env.NODE_ENV!=="production"&&s==="wait"&&f.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),L.createElement(L.Fragment,null,u.size?f:f.map(v=>c.cloneElement(v)))},no=c.createContext(void 0);function Zt(e){const t=c.useContext(no);if(t===void 0)throw new Error("useSwitchableComponent hook is being used outside of its context. Please ensure that it is wrapped within a .");return c.useEffect(()=>{e&&t.visibleComponent&&t.setVisibleComponent(e)},[e]),t}Symbol("DEFAULT_COMPONENT").toString();function je(e,t){return{render(r){return k.jsx(e,{...r})},index:t||Symbol(e.name).toString()}}const Kt=L.forwardRef(({className:e,type:t,...r},n)=>k.jsx("input",{type:t,className:"d411x418fllnhlf1di "+Et("flex h-9 w-full text-white rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 focus:border-white",e),ref:n,...r}));Kt.displayName="Input";function Qe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var oo=["color"],io=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,oo);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),ao=["color"],so=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,ao);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H7V13H3.5C3.22386 13 3 12.7761 3 12.5V2.5C3 2.22386 3.22386 2 3.5 2H4V2.25C4 2.66421 4.33579 3 4.75 3H10.25C10.6642 3 11 2.66421 11 2.25V2H11.5C11.7761 2 12 2.22386 12 2.5V7H13V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM9 8.5C9 8.77614 8.77614 9 8.5 9C8.22386 9 8 8.77614 8 8.5C8 8.22386 8.22386 8 8.5 8C8.77614 8 9 8.22386 9 8.5ZM10.5 9C10.7761 9 11 8.77614 11 8.5C11 8.22386 10.7761 8 10.5 8C10.2239 8 10 8.22386 10 8.5C10 8.77614 10.2239 9 10.5 9ZM13 8.5C13 8.77614 12.7761 9 12.5 9C12.2239 9 12 8.77614 12 8.5C12 8.22386 12.2239 8 12.5 8C12.7761 8 13 8.22386 13 8.5ZM14.5 9C14.7761 9 15 8.77614 15 8.5C15 8.22386 14.7761 8 14.5 8C14.2239 8 14 8.22386 14 8.5C14 8.77614 14.2239 9 14.5 9ZM15 10.5C15 10.7761 14.7761 11 14.5 11C14.2239 11 14 10.7761 14 10.5C14 10.2239 14.2239 10 14.5 10C14.7761 10 15 10.2239 15 10.5ZM14.5 13C14.7761 13 15 12.7761 15 12.5C15 12.2239 14.7761 12 14.5 12C14.2239 12 14 12.2239 14 12.5C14 12.7761 14.2239 13 14.5 13ZM14.5 15C14.7761 15 15 14.7761 15 14.5C15 14.2239 14.7761 14 14.5 14C14.2239 14 14 14.2239 14 14.5C14 14.7761 14.2239 15 14.5 15ZM8.5 11C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11ZM9 12.5C9 12.7761 8.77614 13 8.5 13C8.22386 13 8 12.7761 8 12.5C8 12.2239 8.22386 12 8.5 12C8.77614 12 9 12.2239 9 12.5ZM8.5 15C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14C8.22386 14 8 14.2239 8 14.5C8 14.7761 8.22386 15 8.5 15ZM11 14.5C11 14.7761 10.7761 15 10.5 15C10.2239 15 10 14.7761 10 14.5C10 14.2239 10.2239 14 10.5 14C10.7761 14 11 14.2239 11 14.5ZM12.5 15C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5C12 14.7761 12.2239 15 12.5 15Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),lo=["color"],uo=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,lo);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const co=c.createContext(void 0);function qt(){const e=c.useContext(co);if(c.useEffect(()=>{e!=null&&e.session?localStorage.setItem("lume-session",e.session):localStorage.removeItem("lume-session")},[e==null?void 0:e.session]),c.useEffect(()=>{const t=localStorage.getItem("lume-session");t&&(e==null||e.setSession(t))},[]),e===void 0)throw new Error("useLumeIndentity hook is being used outside of its context. Please ensure that it is wrapped within a .");return{isSignedIn:!!e.session,signIn:t=>{console.log("signing in with key",t),e.setSession("session")},signOut:()=>{e.setSession(void 0)}}}const fo=()=>{const{setVisibleComponent:e}=Zt();return k.jsx(ee,{className:"d411x418fllnhlf1di w-full h-12",variant:"outline",onClick:()=>e(ho),children:k.jsx("span",{className:"d411x418fllnhlf1di text-center text-lg font-normal leading-normal",children:"Sign in with Account Key"})})},po=()=>{const{signIn:e}=qt();return k.jsxs(ie.form,{className:"d411x418fllnhlf1di flex-col flex gap-y-4",onSubmit:t=>{t.preventDefault();const n=t.target.elements.seedPhrase.value;e(n)},children:[k.jsx(Kt,{className:"d411x418fllnhlf1di h-12 w-full text-lg",name:"seedPhrase"}),k.jsx(ie.div,{initial:{y:50},animate:{y:0},exit:{y:-50},transition:{type:"just",delay:.1},className:"d411x418fllnhlf1di h-12",children:k.jsx(ee,{className:"d411x418fllnhlf1di w-full h-full",role:"submit",children:k.jsx("span",{className:"d411x418fllnhlf1di text-center text-lg font-normal leading-normal",children:"Sign in"})})})]})},mo=()=>{const{setVisibleComponent:e}=Zt(),[t,r]=c.useState();return k.jsx(ie.div,{initial:{y:50},animate:{y:0},exit:{y:-50,height:"auto"},transition:{type:"just",delay:.1},className:"d411x418fllnhlf1di min-h-12 h-full max-w-full",style:{maxWidth:t??"auto"},ref:n=>setTimeout(()=>r(n.getBoundingClientRect().width),0),children:k.jsx(ee,{className:"d411x418fllnhlf1di w-full h-full",onClick:()=>e(vo),children:k.jsx("span",{className:"d411x418fllnhlf1di text-center text-lg font-normal leading-normal",children:"I get it, I'll keep it safe. Let's see the key."})})})},go=({phraseLength:e=12})=>{const[t,r]=c.useState("idle"),[n,i]=c.useState(0),{signIn:a}=qt(),s=c.useMemo(()=>Array(e).fill("a phrase"),[e]),l=c.useMemo(()=>s.join(" "),[s]),m=()=>{navigator.clipboard.writeText(s.join(" ")),r("clicked"),setTimeout(()=>r("idle"),1e3)};return k.jsxs("div",{className:"d411x418fllnhlf1di relative",children:[k.jsx(Je,{children:n===1?k.jsx(ie.div,{className:"z-10 absolute top-0 bottom-0 left-0 right-0 bg-black pointer-events-none",initial:{opacity:0},animate:{opacity:.75,top:-200,left:-20,right:-20,bottom:120},transition:{type:"tween",duration:.1}}):null}),k.jsxs("div",{className:"d411x418fllnhlf1di z-20 relative mb-2.5 w-full h-full flex-wrap justify-center items-center gap-2.5 inline-flex",children:[s.map((p,f)=>k.jsxs("div",{className:"justify-center items-center gap-2.5 flex w-[calc(33%-10px)] h-10 rounded border border-current relative ring-current text-neutral-700",children:[k.jsx("span",{className:"d411x418fllnhlf1di text-white text-md font-normal leading-normal w-full h-fit px-2.5 bg-transparent text-center",children:p}),k.jsx("span",{className:"d411x418fllnhlf1di left-[6px] top-0 absolute text-current text-xs font-normal leading-normal",children:f+1})]},`SeedPhrase_${f}`)),k.jsx(Je,{children:n===1?k.jsxs(ie.div,{className:"d411x418fllnhlf1di text-red-400 flex flex-row gap-5 py-8",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{type:"linear",delay:.2,duration:.5},children:[k.jsx(uo,{className:"d411x418fllnhlf1di w-14 h-14"}),k.jsx("span",{children:"Make sure to write this down for safe keeping."})]}):null}),k.jsxs(ee,{className:`w-full h-12 ${t==="clicked"?"!text-primary !border-primary":""}`,variant:"outline",onClick:m,children:[t==="clicked"?k.jsx(io,{className:"d411x418fllnhlf1di w-5 h-5 mr-2.5"}):k.jsx(so,{className:"d411x418fllnhlf1di w-5 h-5 mr-2.5"}),t==="clicked"?"Copied!":"Copy Account Key"]})]}),n===0?k.jsx(ee,{className:"d411x418fllnhlf1di z-20 w-full h-12 text-white bg-neutral-700 hover:bg-neutral-800",variant:"secondary",onClick:()=>i(1),children:"Continue"}):null,k.jsx(Je,{children:n===1?k.jsx(ie.div,{className:"d411x418fllnhlf1di z-20 w-full h-12",initial:{opacity:0,y:-50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{type:"linear",delay:2,duration:.5},children:k.jsx(ee,{className:"d411x418fllnhlf1di w-full h-full",onClick:()=>a(l),children:"Sign In"})}):null})]})};je(fo,"submit-button");const ho=je(po,"seed-phrase-input");je(mo,"setup-account-key");const vo=je(go,"seed-phrase-form"),Zo="";X.useLume=gr,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}); + `),()=>{document.head.removeChild(p)}},[t]),L.createElement(Xn,{isPresent:t,childRef:n,sizeRef:i},L.cloneElement(e,{ref:n}))}const Xe=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:a,mode:s})=>{const l=Bt(Qn),m=c.useId(),p=c.useMemo(()=>({id:m,initial:t,isPresent:r,custom:i,onExitComplete:f=>{l.set(f,!0);for(const u of l.values())if(!u)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?void 0:[r]);return c.useMemo(()=>{l.forEach((f,u)=>l.set(u,!1))},[r]),L.useEffect(()=>{!r&&!l.size&&n&&n()},[r]),s==="popLayout"&&(e=L.createElement(Jn,{isPresent:r},e)),L.createElement(ze.Provider,{value:p},e)};function Qn(){return new Map}function eo(e){return c.useEffect(()=>()=>e(),[])}const ae=e=>e.key||"";function to(e,t){e.forEach(r=>{const n=ae(r);t.set(n,r)})}function ro(e){const t=[];return c.Children.forEach(e,r=>{c.isValidElement(r)&&t.push(r)}),t}const Je=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{const l=c.useContext(Ot).forceRender||Kn()[0],m=Yt(),p=ro(e);let f=p;const u=c.useRef(new Map).current,h=c.useRef(f),y=c.useRef(new Map).current,E=c.useRef(!0);if(We(()=>{E.current=!1,to(p,y),h.current=f}),eo(()=>{E.current=!0,y.clear(),u.clear()}),E.current)return L.createElement(L.Fragment,null,f.map(v=>L.createElement(Xe,{key:ae(v),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:a,mode:s},v)));f=[...f];const P=h.current.map(ae),_=p.map(ae),R=P.length;for(let v=0;v{if(_.indexOf(A)!==-1)return;const D=y.get(A);if(!D)return;const se=P.indexOf(A);let B=v;if(!B){const le=()=>{y.delete(A),u.delete(A);const ue=h.current.findIndex(Y=>Y.key===A);if(h.current.splice(ue,1),!u.size){if(h.current=p,m.current===!1)return;l(),n&&n()}};B=L.createElement(Xe,{key:ae(D),isPresent:!1,onExitComplete:le,custom:t,presenceAffectsLayout:a,mode:s},D),u.set(A,B)}f.splice(se,0,B)}),f=f.map(v=>{const A=v.key;return u.has(A)?v:L.createElement(Xe,{key:ae(v),isPresent:!0,presenceAffectsLayout:a,mode:s},v)}),process.env.NODE_ENV!=="production"&&s==="wait"&&f.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),L.createElement(L.Fragment,null,u.size?f:f.map(v=>c.cloneElement(v)))},no=c.createContext(void 0);function Ut(e){const t=c.useContext(no);if(t===void 0)throw new Error("useSwitchableComponent hook is being used outside of its context. Please ensure that it is wrapped within a .");return c.useEffect(()=>{e&&t.visibleComponent&&t.setVisibleComponent(e)},[e]),t}Symbol("DEFAULT_COMPONENT").toString();function je(e,t){return{render(r){return k.jsx(e,{...r})},index:t||Symbol(e.name).toString()}}const Zt=L.forwardRef(({className:e,type:t,...r},n)=>k.jsx("input",{type:t,className:"d411x41bq1lnhm670n "+Et("flex h-9 w-full text-white rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 focus:border-white",e),ref:n,...r}));Zt.displayName="Input";function Qe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}var oo=["color"],io=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,oo);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),ao=["color"],so=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,ao);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H7V13H3.5C3.22386 13 3 12.7761 3 12.5V2.5C3 2.22386 3.22386 2 3.5 2H4V2.25C4 2.66421 4.33579 3 4.75 3H10.25C10.6642 3 11 2.66421 11 2.25V2H11.5C11.7761 2 12 2.22386 12 2.5V7H13V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM9 8.5C9 8.77614 8.77614 9 8.5 9C8.22386 9 8 8.77614 8 8.5C8 8.22386 8.22386 8 8.5 8C8.77614 8 9 8.22386 9 8.5ZM10.5 9C10.7761 9 11 8.77614 11 8.5C11 8.22386 10.7761 8 10.5 8C10.2239 8 10 8.22386 10 8.5C10 8.77614 10.2239 9 10.5 9ZM13 8.5C13 8.77614 12.7761 9 12.5 9C12.2239 9 12 8.77614 12 8.5C12 8.22386 12.2239 8 12.5 8C12.7761 8 13 8.22386 13 8.5ZM14.5 9C14.7761 9 15 8.77614 15 8.5C15 8.22386 14.7761 8 14.5 8C14.2239 8 14 8.22386 14 8.5C14 8.77614 14.2239 9 14.5 9ZM15 10.5C15 10.7761 14.7761 11 14.5 11C14.2239 11 14 10.7761 14 10.5C14 10.2239 14.2239 10 14.5 10C14.7761 10 15 10.2239 15 10.5ZM14.5 13C14.7761 13 15 12.7761 15 12.5C15 12.2239 14.7761 12 14.5 12C14.2239 12 14 12.2239 14 12.5C14 12.7761 14.2239 13 14.5 13ZM14.5 15C14.7761 15 15 14.7761 15 14.5C15 14.2239 14.7761 14 14.5 14C14.2239 14 14 14.2239 14 14.5C14 14.7761 14.2239 15 14.5 15ZM8.5 11C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11ZM9 12.5C9 12.7761 8.77614 13 8.5 13C8.22386 13 8 12.7761 8 12.5C8 12.2239 8.22386 12 8.5 12C8.77614 12 9 12.2239 9 12.5ZM8.5 15C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14C8.22386 14 8 14.2239 8 14.5C8 14.7761 8.22386 15 8.5 15ZM11 14.5C11 14.7761 10.7761 15 10.5 15C10.2239 15 10 14.7761 10 14.5C10 14.2239 10.2239 14 10.5 14C10.7761 14 11 14.2239 11 14.5ZM12.5 15C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5C12 14.7761 12.2239 15 12.5 15Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),lo=["color"],uo=c.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=Qe(e,lo);return c.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),c.createElement("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const co=c.createContext(void 0);function Kt(){const e=c.useContext(co);if(c.useEffect(()=>{e!=null&&e.session?localStorage.setItem("lume-session",e.session):localStorage.removeItem("lume-session")},[e==null?void 0:e.session]),c.useEffect(()=>{const t=localStorage.getItem("lume-session");t&&(e==null||e.setSession(t))},[]),e===void 0)throw new Error("useLumeIndentity hook is being used outside of its context. Please ensure that it is wrapped within a .");return{isSignedIn:!!e.session,signIn:t=>{console.log("signing in with key",t),e.setSession("session")},signOut:()=>{e.setSession(void 0)}}}const fo=()=>{const{setVisibleComponent:e}=Ut();return k.jsx(ee,{className:"d411x41bq1lnhm670n w-full h-12",variant:"outline",onClick:()=>e(ho),children:k.jsx("span",{className:"d411x41bq1lnhm670n text-center text-lg font-normal leading-normal",children:"Sign in with Account Key"})})},po=()=>{const{signIn:e}=Kt();return k.jsxs(ie.form,{className:"d411x41bq1lnhm670n flex-col flex gap-y-4",onSubmit:t=>{t.preventDefault();const n=t.target.elements.seedPhrase.value;e(n)},children:[k.jsx(Zt,{className:"d411x41bq1lnhm670n h-12 w-full text-lg",name:"seedPhrase"}),k.jsx(ie.div,{initial:{y:50},animate:{y:0},exit:{y:-50},transition:{type:"just",delay:.1},className:"d411x41bq1lnhm670n h-12",children:k.jsx(ee,{className:"d411x41bq1lnhm670n w-full h-full",role:"submit",children:k.jsx("span",{className:"d411x41bq1lnhm670n text-center text-lg font-normal leading-normal",children:"Sign in"})})})]})},mo=()=>{const{setVisibleComponent:e}=Ut(),[t,r]=c.useState();return k.jsx(ie.div,{initial:{y:50},animate:{y:0},exit:{y:-50,height:"auto"},transition:{type:"just",delay:.1},className:"d411x41bq1lnhm670n min-h-12 h-full max-w-full",style:{maxWidth:t??"auto"},ref:n=>setTimeout(()=>r(n.getBoundingClientRect().width),0),children:k.jsx(ee,{className:"d411x41bq1lnhm670n w-full h-full",onClick:()=>e(vo),children:k.jsx("span",{className:"d411x41bq1lnhm670n text-center text-lg font-normal leading-normal",children:"I get it, I'll keep it safe. Let's see the key."})})})},go=({phraseLength:e=12})=>{const[t,r]=c.useState("idle"),[n,i]=c.useState(0),{signIn:a}=Kt(),s=c.useMemo(()=>Array(e).fill("a phrase"),[e]),l=c.useMemo(()=>s.join(" "),[s]),m=()=>{navigator.clipboard.writeText(s.join(" ")),r("clicked"),setTimeout(()=>r("idle"),1e3)};return k.jsxs("div",{className:"d411x41bq1lnhm670n relative",children:[k.jsx(Je,{children:n===1?k.jsx(ie.div,{className:"z-10 absolute top-0 bottom-0 left-0 right-0 bg-black pointer-events-none",initial:{opacity:0},animate:{opacity:.75,top:-200,left:-20,right:-20,bottom:120},transition:{type:"tween",duration:.1}}):null}),k.jsxs("div",{className:"d411x41bq1lnhm670n z-20 relative mb-2.5 w-full h-full flex-wrap justify-center items-center gap-2.5 inline-flex",children:[s.map((p,f)=>k.jsxs("div",{className:"justify-center items-center gap-2.5 flex w-[calc(33%-10px)] h-10 rounded border border-current relative ring-current text-neutral-700",children:[k.jsx("span",{className:"d411x41bq1lnhm670n text-white text-md font-normal leading-normal w-full h-fit px-2.5 bg-transparent text-center",children:p}),k.jsx("span",{className:"d411x41bq1lnhm670n left-[6px] top-0 absolute text-current text-xs font-normal leading-normal",children:f+1})]},`SeedPhrase_${f}`)),k.jsx(Je,{children:n===1?k.jsxs(ie.div,{className:"d411x41bq1lnhm670n text-red-400 flex flex-row gap-5 py-8",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{type:"linear",delay:.2,duration:.5},children:[k.jsx(uo,{className:"d411x41bq1lnhm670n w-14 h-14"}),k.jsx("span",{children:"Make sure to write this down for safe keeping."})]}):null}),k.jsxs(ee,{className:`w-full h-12 ${t==="clicked"?"!text-primary !border-primary":""}`,variant:"outline",onClick:m,children:[t==="clicked"?k.jsx(io,{className:"d411x41bq1lnhm670n w-5 h-5 mr-2.5"}):k.jsx(so,{className:"d411x41bq1lnhm670n w-5 h-5 mr-2.5"}),t==="clicked"?"Copied!":"Copy Account Key"]})]}),n===0?k.jsx(ee,{className:"d411x41bq1lnhm670n z-20 w-full h-12 text-white bg-neutral-700 hover:bg-neutral-800",variant:"secondary",onClick:()=>i(1),children:"Continue"}):null,k.jsx(Je,{children:n===1?k.jsx(ie.div,{className:"d411x41bq1lnhm670n z-20 w-full h-12",initial:{opacity:0,y:-50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{type:"linear",delay:2,duration:.5},children:k.jsx(ee,{className:"d411x41bq1lnhm670n w-full h-full",onClick:()=>a(l),children:"Sign In"})}):null})]})};je(fo,"submit-button");const ho=je(po,"seed-phrase-input");je(mo,"setup-account-key");const vo=je(go,"seed-phrase-form"),Uo="";X.useLume=gr,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}); //# sourceMappingURL=lib.umd.js.map diff --git a/dist/style.css b/dist/style.css index 8d99a0e..f641bf8 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 113 49% 55%;--primary-foreground: black;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 0 0% 32%;--muted-foreground: 0 0% 32%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 0 0% 32%;--input: 0 0% 32%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.d411x418fllnhlf1di.pointer-events-none{pointer-events:none}.d411x418fllnhlf1di.fixed{position:fixed}.d411x418fllnhlf1di.absolute{position:absolute}.d411x418fllnhlf1di.relative{position:relative}.d411x418fllnhlf1di.inset-0{top:0;right:0;bottom:0;left:0}.d411x418fllnhlf1di.-left-1\/2{left:-50%}.d411x418fllnhlf1di.bottom-0{bottom:0}.d411x418fllnhlf1di.left-0{left:0}.d411x418fllnhlf1di.left-\[168px\]{left:168px}.d411x418fllnhlf1di.left-\[6px\]{left:6px}.d411x418fllnhlf1di.right-0{right:0}.d411x418fllnhlf1di.top-0{top:0}.d411x418fllnhlf1di.top-\[-8px\]{top:-8px}.d411x418fllnhlf1di.z-10{z-index:10}.d411x418fllnhlf1di.z-20{z-index:20}.d411x418fllnhlf1di.z-40{z-index:40}.d411x418fllnhlf1di.z-50{z-index:50}.d411x418fllnhlf1di.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.d411x418fllnhlf1di.-mt-1{margin-top:-.25rem}.d411x418fllnhlf1di.mb-2{margin-bottom:.5rem}.d411x418fllnhlf1di.mb-2\.d411x418fllnhlf1di.5{margin-bottom:.625rem}.d411x418fllnhlf1di.mb-4{margin-bottom:1rem}.d411x418fllnhlf1di.mb-8{margin-bottom:2rem}.d411x418fllnhlf1di.mr-2{margin-right:.5rem}.d411x418fllnhlf1di.mr-2\.d411x418fllnhlf1di.5{margin-right:.625rem}.d411x418fllnhlf1di.mt-4{margin-top:1rem}.d411x418fllnhlf1di.flex{display:flex}.d411x418fllnhlf1di.inline-flex{display:inline-flex}.d411x418fllnhlf1di.grid{display:grid}.d411x418fllnhlf1di.hidden{display:none}.d411x418fllnhlf1di.h-10{height:2.5rem}.d411x418fllnhlf1di.h-12{height:3rem}.d411x418fllnhlf1di.h-14{height:3.5rem}.d411x418fllnhlf1di.h-5{height:1.25rem}.d411x418fllnhlf1di.h-64{height:16rem}.d411x418fllnhlf1di.h-7{height:1.75rem}.d411x418fllnhlf1di.h-8{height:2rem}.d411x418fllnhlf1di.h-9{height:2.25rem}.d411x418fllnhlf1di.h-fit{height:-moz-fit-content;height:fit-content}.d411x418fllnhlf1di.h-full{height:100%}.d411x418fllnhlf1di.w-14{width:3.5rem}.d411x418fllnhlf1di.w-24{width:6rem}.d411x418fllnhlf1di.w-5{width:1.25rem}.d411x418fllnhlf1di.w-9{width:2.25rem}.d411x418fllnhlf1di.w-96{width:24rem}.d411x418fllnhlf1di.w-\[280px\]{width:280px}.d411x418fllnhlf1di.w-\[300px\]{width:300px}.d411x418fllnhlf1di.w-\[calc\(100\%\+38px\)\]{width:calc(100% + 38px)}.d411x418fllnhlf1di.w-\[calc\(33\%-10px\)\]{width:calc(33% - 10px)}.d411x418fllnhlf1di.w-full{width:100%}.d411x418fllnhlf1di.max-w-full{max-width:100%}.d411x418fllnhlf1di.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.d411x418fllnhlf1di.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.d411x418fllnhlf1di.flex-row{flex-direction:row}.d411x418fllnhlf1di.flex-col{flex-direction:column}.d411x418fllnhlf1di.flex-wrap{flex-wrap:wrap}.d411x418fllnhlf1di.items-start{align-items:flex-start}.d411x418fllnhlf1di.items-center{align-items:center}.d411x418fllnhlf1di.justify-start{justify-content:flex-start}.d411x418fllnhlf1di.justify-center{justify-content:center}.d411x418fllnhlf1di.gap-10{gap:2.5rem}.d411x418fllnhlf1di.gap-2{gap:.5rem}.d411x418fllnhlf1di.gap-2\.d411x418fllnhlf1di.5{gap:.625rem}.d411x418fllnhlf1di.gap-5{gap:1.25rem}.d411x418fllnhlf1di.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.d411x418fllnhlf1di.gap-y-4{row-gap:1rem}.d411x418fllnhlf1di.overflow-hidden{overflow:hidden}.d411x418fllnhlf1di.rounded{border-radius:.25rem}.d411x418fllnhlf1di.rounded-md{border-radius:calc(var(--radius) - 2px)}.d411x418fllnhlf1di.border{border-width:1px}.d411x418fllnhlf1di.border-b{border-bottom-width:1px}.d411x418fllnhlf1di.border-l{border-left-width:1px}.d411x418fllnhlf1di.\!border-primary{border-color:hsl(var(--primary))!important}.d411x418fllnhlf1di.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.d411x418fllnhlf1di.border-current{border-color:currentColor}.d411x418fllnhlf1di.border-input{border-color:hsl(var(--input))}.d411x418fllnhlf1di.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.d411x418fllnhlf1di.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.d411x418fllnhlf1di.bg-black\/90{background-color:#000000e6}.d411x418fllnhlf1di.bg-destructive{background-color:hsl(var(--destructive))}.d411x418fllnhlf1di.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.d411x418fllnhlf1di.bg-neutral-950{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.d411x418fllnhlf1di.bg-primary{background-color:hsl(var(--primary))}.d411x418fllnhlf1di.bg-secondary{background-color:hsl(var(--secondary))}.d411x418fllnhlf1di.bg-transparent{background-color:transparent}.d411x418fllnhlf1di.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.d411x418fllnhlf1di.bg-opacity-50{--tw-bg-opacity: .5}.d411x418fllnhlf1di.p-2{padding:.5rem}.d411x418fllnhlf1di.p-5{padding:1.25rem}.d411x418fllnhlf1di.px-2{padding-left:.5rem;padding-right:.5rem}.d411x418fllnhlf1di.px-2\.d411x418fllnhlf1di.5{padding-left:.625rem;padding-right:.625rem}.d411x418fllnhlf1di.px-3{padding-left:.75rem;padding-right:.75rem}.d411x418fllnhlf1di.px-4{padding-left:1rem;padding-right:1rem}.d411x418fllnhlf1di.px-5{padding-left:1.25rem;padding-right:1.25rem}.d411x418fllnhlf1di.px-8{padding-left:2rem;padding-right:2rem}.d411x418fllnhlf1di.py-1{padding-top:.25rem;padding-bottom:.25rem}.d411x418fllnhlf1di.py-11{padding-top:2.75rem;padding-bottom:2.75rem}.d411x418fllnhlf1di.py-2{padding-top:.5rem;padding-bottom:.5rem}.d411x418fllnhlf1di.py-8{padding-top:2rem;padding-bottom:2rem}.d411x418fllnhlf1di.pb-3{padding-bottom:.75rem}.d411x418fllnhlf1di.text-center{text-align:center}.d411x418fllnhlf1di.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.d411x418fllnhlf1di.text-5xl{font-size:3rem;line-height:1}.d411x418fllnhlf1di.text-\[12px\]{font-size:12px}.d411x418fllnhlf1di.text-lg{font-size:1.125rem;line-height:1.75rem}.d411x418fllnhlf1di.text-sm{font-size:.875rem;line-height:1.25rem}.d411x418fllnhlf1di.text-xl{font-size:1.25rem;line-height:1.75rem}.d411x418fllnhlf1di.text-xs{font-size:.75rem;line-height:1rem}.d411x418fllnhlf1di.font-medium{font-weight:500}.d411x418fllnhlf1di.font-normal{font-weight:400}.d411x418fllnhlf1di.font-semibold{font-weight:600}.d411x418fllnhlf1di.leading-normal{line-height:1.5}.d411x418fllnhlf1di.\!text-primary{color:hsl(var(--primary))!important}.d411x418fllnhlf1di.text-border{color:hsl(var(--border))}.d411x418fllnhlf1di.text-current{color:currentColor}.d411x418fllnhlf1di.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.d411x418fllnhlf1di.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}.d411x418fllnhlf1di.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}.d411x418fllnhlf1di.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.d411x418fllnhlf1di.text-primary{color:hsl(var(--primary))}.d411x418fllnhlf1di.text-primary-foreground{color:hsl(var(--primary-foreground))}.d411x418fllnhlf1di.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.d411x418fllnhlf1di.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.d411x418fllnhlf1di.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.d411x418fllnhlf1di.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.d411x418fllnhlf1di.underline-offset-4{text-underline-offset:4px}.d411x418fllnhlf1di.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.d411x418fllnhlf1di.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.d411x418fllnhlf1di.outline{outline-style:solid}.d411x418fllnhlf1di.ring-current{--tw-ring-color: currentColor}.d411x418fllnhlf1di.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.d411x418fllnhlf1di.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.d411x418fllnhlf1di.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x418fllnhlf1di.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x418fllnhlf1di.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x418fllnhlf1di.duration-100{transition-duration:.1s}.d411x418fllnhlf1di.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.d411x418fllnhlf1di.duration-100{animation-duration:.1s}.d411x418fllnhlf1di.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.d411x418fllnhlf1di.file\:border-0::file-selector-button{border-width:0px}.d411x418fllnhlf1di.file\:bg-transparent::file-selector-button{background-color:transparent}.d411x418fllnhlf1di.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.d411x418fllnhlf1di.file\:font-medium::file-selector-button{font-weight:500}.d411x418fllnhlf1di.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.d411x418fllnhlf1di.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.d411x418fllnhlf1di.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.d411x418fllnhlf1di.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.d411x418fllnhlf1di.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.d411x418fllnhlf1di.hover\:bg-neutral-800:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.d411x418fllnhlf1di.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.d411x418fllnhlf1di.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.d411x418fllnhlf1di.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.d411x418fllnhlf1di.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.d411x418fllnhlf1di.hover\:underline:hover{text-decoration-line:underline}.d411x418fllnhlf1di.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.d411x418fllnhlf1di.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.d411x418fllnhlf1di.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.d411x418fllnhlf1di.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.d411x418fllnhlf1di.disabled\:pointer-events-none:disabled{pointer-events:none}.d411x418fllnhlf1di.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.d411x418fllnhlf1di.disabled\:opacity-50:disabled{opacity:.5}.d411x418fllnhlf1di.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.d411x418fllnhlf1di.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.d411x418fllnhlf1di.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.d411x418fllnhlf1di.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.d411x418fllnhlf1di.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.d411x418fllnhlf1di.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.d411x418fllnhlf1di.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.d411x418fllnhlf1di.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.d411x418fllnhlf1di.\[\&\>\*\]\:transition-all>*{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x418fllnhlf1di.\[\&\>\*\]\:duration-100>*{transition-duration:.1s;animation-duration:.1s} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 113 49% 55%;--primary-foreground: black;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 0 0% 32%;--muted-foreground: 0 0% 32%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 0 0% 32%;--input: 0 0% 32%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.d411x41bq1lnhm670n.pointer-events-none{pointer-events:none}.d411x41bq1lnhm670n.fixed{position:fixed}.d411x41bq1lnhm670n.absolute{position:absolute}.d411x41bq1lnhm670n.relative{position:relative}.d411x41bq1lnhm670n.inset-0{top:0;right:0;bottom:0;left:0}.d411x41bq1lnhm670n.-left-1\/2{left:-50%}.d411x41bq1lnhm670n.bottom-0{bottom:0}.d411x41bq1lnhm670n.left-0{left:0}.d411x41bq1lnhm670n.left-\[168px\]{left:168px}.d411x41bq1lnhm670n.left-\[6px\]{left:6px}.d411x41bq1lnhm670n.right-0{right:0}.d411x41bq1lnhm670n.top-0{top:0}.d411x41bq1lnhm670n.top-\[-8px\]{top:-8px}.d411x41bq1lnhm670n.z-10{z-index:10}.d411x41bq1lnhm670n.z-20{z-index:20}.d411x41bq1lnhm670n.z-40{z-index:40}.d411x41bq1lnhm670n.z-50{z-index:50}.d411x41bq1lnhm670n.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.d411x41bq1lnhm670n.-mt-1{margin-top:-.25rem}.d411x41bq1lnhm670n.mb-2{margin-bottom:.5rem}.d411x41bq1lnhm670n.mb-2\.d411x41bq1lnhm670n.5{margin-bottom:.625rem}.d411x41bq1lnhm670n.mb-4{margin-bottom:1rem}.d411x41bq1lnhm670n.mb-8{margin-bottom:2rem}.d411x41bq1lnhm670n.mr-2{margin-right:.5rem}.d411x41bq1lnhm670n.mr-2\.d411x41bq1lnhm670n.5{margin-right:.625rem}.d411x41bq1lnhm670n.mt-4{margin-top:1rem}.d411x41bq1lnhm670n.flex{display:flex}.d411x41bq1lnhm670n.inline-flex{display:inline-flex}.d411x41bq1lnhm670n.grid{display:grid}.d411x41bq1lnhm670n.hidden{display:none}.d411x41bq1lnhm670n.h-10{height:2.5rem}.d411x41bq1lnhm670n.h-12{height:3rem}.d411x41bq1lnhm670n.h-14{height:3.5rem}.d411x41bq1lnhm670n.h-5{height:1.25rem}.d411x41bq1lnhm670n.h-64{height:16rem}.d411x41bq1lnhm670n.h-7{height:1.75rem}.d411x41bq1lnhm670n.h-8{height:2rem}.d411x41bq1lnhm670n.h-9{height:2.25rem}.d411x41bq1lnhm670n.h-fit{height:-moz-fit-content;height:fit-content}.d411x41bq1lnhm670n.h-full{height:100%}.d411x41bq1lnhm670n.w-14{width:3.5rem}.d411x41bq1lnhm670n.w-24{width:6rem}.d411x41bq1lnhm670n.w-5{width:1.25rem}.d411x41bq1lnhm670n.w-9{width:2.25rem}.d411x41bq1lnhm670n.w-96{width:24rem}.d411x41bq1lnhm670n.w-\[280px\]{width:280px}.d411x41bq1lnhm670n.w-\[300px\]{width:300px}.d411x41bq1lnhm670n.w-\[calc\(100\%\+38px\)\]{width:calc(100% + 38px)}.d411x41bq1lnhm670n.w-\[calc\(33\%-10px\)\]{width:calc(33% - 10px)}.d411x41bq1lnhm670n.w-full{width:100%}.d411x41bq1lnhm670n.max-w-full{max-width:100%}.d411x41bq1lnhm670n.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.d411x41bq1lnhm670n.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.d411x41bq1lnhm670n.flex-row{flex-direction:row}.d411x41bq1lnhm670n.flex-col{flex-direction:column}.d411x41bq1lnhm670n.flex-wrap{flex-wrap:wrap}.d411x41bq1lnhm670n.items-start{align-items:flex-start}.d411x41bq1lnhm670n.items-center{align-items:center}.d411x41bq1lnhm670n.justify-start{justify-content:flex-start}.d411x41bq1lnhm670n.justify-center{justify-content:center}.d411x41bq1lnhm670n.gap-10{gap:2.5rem}.d411x41bq1lnhm670n.gap-2{gap:.5rem}.d411x41bq1lnhm670n.gap-2\.d411x41bq1lnhm670n.5{gap:.625rem}.d411x41bq1lnhm670n.gap-5{gap:1.25rem}.d411x41bq1lnhm670n.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.d411x41bq1lnhm670n.gap-y-4{row-gap:1rem}.d411x41bq1lnhm670n.overflow-hidden{overflow:hidden}.d411x41bq1lnhm670n.rounded{border-radius:.25rem}.d411x41bq1lnhm670n.rounded-md{border-radius:calc(var(--radius) - 2px)}.d411x41bq1lnhm670n.border{border-width:1px}.d411x41bq1lnhm670n.border-b{border-bottom-width:1px}.d411x41bq1lnhm670n.border-l{border-left-width:1px}.d411x41bq1lnhm670n.\!border-primary{border-color:hsl(var(--primary))!important}.d411x41bq1lnhm670n.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.d411x41bq1lnhm670n.border-current{border-color:currentColor}.d411x41bq1lnhm670n.border-input{border-color:hsl(var(--input))}.d411x41bq1lnhm670n.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.d411x41bq1lnhm670n.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.d411x41bq1lnhm670n.bg-black\/90{background-color:#000000e6}.d411x41bq1lnhm670n.bg-destructive{background-color:hsl(var(--destructive))}.d411x41bq1lnhm670n.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.d411x41bq1lnhm670n.bg-neutral-950{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.d411x41bq1lnhm670n.bg-primary{background-color:hsl(var(--primary))}.d411x41bq1lnhm670n.bg-secondary{background-color:hsl(var(--secondary))}.d411x41bq1lnhm670n.bg-transparent{background-color:transparent}.d411x41bq1lnhm670n.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.d411x41bq1lnhm670n.bg-opacity-50{--tw-bg-opacity: .5}.d411x41bq1lnhm670n.p-2{padding:.5rem}.d411x41bq1lnhm670n.p-5{padding:1.25rem}.d411x41bq1lnhm670n.px-2{padding-left:.5rem;padding-right:.5rem}.d411x41bq1lnhm670n.px-2\.d411x41bq1lnhm670n.5{padding-left:.625rem;padding-right:.625rem}.d411x41bq1lnhm670n.px-3{padding-left:.75rem;padding-right:.75rem}.d411x41bq1lnhm670n.px-4{padding-left:1rem;padding-right:1rem}.d411x41bq1lnhm670n.px-5{padding-left:1.25rem;padding-right:1.25rem}.d411x41bq1lnhm670n.px-8{padding-left:2rem;padding-right:2rem}.d411x41bq1lnhm670n.py-1{padding-top:.25rem;padding-bottom:.25rem}.d411x41bq1lnhm670n.py-11{padding-top:2.75rem;padding-bottom:2.75rem}.d411x41bq1lnhm670n.py-2{padding-top:.5rem;padding-bottom:.5rem}.d411x41bq1lnhm670n.py-8{padding-top:2rem;padding-bottom:2rem}.d411x41bq1lnhm670n.pb-3{padding-bottom:.75rem}.d411x41bq1lnhm670n.text-center{text-align:center}.d411x41bq1lnhm670n.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.d411x41bq1lnhm670n.text-5xl{font-size:3rem;line-height:1}.d411x41bq1lnhm670n.text-\[12px\]{font-size:12px}.d411x41bq1lnhm670n.text-lg{font-size:1.125rem;line-height:1.75rem}.d411x41bq1lnhm670n.text-sm{font-size:.875rem;line-height:1.25rem}.d411x41bq1lnhm670n.text-xl{font-size:1.25rem;line-height:1.75rem}.d411x41bq1lnhm670n.text-xs{font-size:.75rem;line-height:1rem}.d411x41bq1lnhm670n.font-medium{font-weight:500}.d411x41bq1lnhm670n.font-normal{font-weight:400}.d411x41bq1lnhm670n.font-semibold{font-weight:600}.d411x41bq1lnhm670n.leading-normal{line-height:1.5}.d411x41bq1lnhm670n.\!text-primary{color:hsl(var(--primary))!important}.d411x41bq1lnhm670n.text-border{color:hsl(var(--border))}.d411x41bq1lnhm670n.text-current{color:currentColor}.d411x41bq1lnhm670n.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.d411x41bq1lnhm670n.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.text-primary{color:hsl(var(--primary))}.d411x41bq1lnhm670n.text-primary-foreground{color:hsl(var(--primary-foreground))}.d411x41bq1lnhm670n.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.d411x41bq1lnhm670n.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.underline-offset-4{text-underline-offset:4px}.d411x41bq1lnhm670n.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.d411x41bq1lnhm670n.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.d411x41bq1lnhm670n.outline{outline-style:solid}.d411x41bq1lnhm670n.ring-current{--tw-ring-color: currentColor}.d411x41bq1lnhm670n.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.d411x41bq1lnhm670n.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.d411x41bq1lnhm670n.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x41bq1lnhm670n.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x41bq1lnhm670n.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x41bq1lnhm670n.duration-100{transition-duration:.1s}.d411x41bq1lnhm670n.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.d411x41bq1lnhm670n.duration-100{animation-duration:.1s}.d411x41bq1lnhm670n.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.d411x41bq1lnhm670n.file\:border-0::file-selector-button{border-width:0px}.d411x41bq1lnhm670n.file\:bg-transparent::file-selector-button{background-color:transparent}.d411x41bq1lnhm670n.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.d411x41bq1lnhm670n.file\:font-medium::file-selector-button{font-weight:500}.d411x41bq1lnhm670n.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.d411x41bq1lnhm670n.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.d411x41bq1lnhm670n.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.d411x41bq1lnhm670n.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.d411x41bq1lnhm670n.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.d411x41bq1lnhm670n.hover\:bg-neutral-800:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.d411x41bq1lnhm670n.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.d411x41bq1lnhm670n.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.d411x41bq1lnhm670n.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.d411x41bq1lnhm670n.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.d411x41bq1lnhm670n.hover\:underline:hover{text-decoration-line:underline}.d411x41bq1lnhm670n.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.d411x41bq1lnhm670n.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.d411x41bq1lnhm670n.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.d411x41bq1lnhm670n.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.d411x41bq1lnhm670n.disabled\:pointer-events-none:disabled{pointer-events:none}.d411x41bq1lnhm670n.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.d411x41bq1lnhm670n.disabled\:opacity-50:disabled{opacity:.5}.d411x41bq1lnhm670n.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.d411x41bq1lnhm670n.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.d411x41bq1lnhm670n.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.d411x41bq1lnhm670n.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.d411x41bq1lnhm670n.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.d411x41bq1lnhm670n.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.d411x41bq1lnhm670n.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.d411x41bq1lnhm670n.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.d411x41bq1lnhm670n.\[\&\>\*\]\:transition-all>*{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.d411x41bq1lnhm670n.\[\&\>\*\]\:duration-100>*{transition-duration:.1s;animation-duration:.1s} diff --git a/package.json b/package.json index 7cbdd52..98d5099 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,11 @@ { + "$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/package.json", "name": "sdk", "private": true, "version": "0.0.0", "type": "module", + "main": "./src/main.ts", + "types": "./src/main.ts", "scripts": { "dev": "vite", "build-pkg": "tsc -p ./tsconfig.build.json && vite build", diff --git a/tsconfig.build.json b/tsconfig.build.json index 743dab2..9a8e25e 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,7 +2,11 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], "composite": true, "module": "ESNext", "skipLibCheck": true, @@ -15,6 +19,7 @@ "jsx": "react-jsx", /* Linting */ "strict": true, + "outDir": "./dist", "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, @@ -23,13 +28,17 @@ // "@/*": ["src/*"], // "@/styles/*": ["styles/*"], // }, - "typeRoots": ["src/vite-env.d.ts"] + "typeRoots": [ + "src/vite-env.d.ts" + ] }, "include": [ "./src/**/*", // "./src/components/lume/LumeDashboard/LumeDashboard." ], - "exclude": ["**/*.stories.tsx"], + "exclude": [ + "**/*.stories.tsx" + ], "references": [ { "path": "./tsconfig.node.json"