@levo-so/studio 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +327 -288
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,11 +5,11 @@ var _t = (e, t, n) => pl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
5
5
|
import { rgb as cs, oklch as nn, parse as sn, formatRgb as ji } from "culori";
|
|
6
6
|
import { jsxs as R, jsx as m, Fragment as Je } from "react/jsx-runtime";
|
|
7
7
|
import * as ie from "react";
|
|
8
|
-
import M, { createContext as xe, useRef as Ne, useLayoutEffect as ml, useEffect as
|
|
9
|
-
import { useLevo as wl, cn as
|
|
8
|
+
import M, { createContext as xe, useRef as Ne, useLayoutEffect as ml, useEffect as L, useContext as K, useId as gl, useCallback as us, useMemo as te, Fragment as ds, createElement as yl, useInsertionEffect as vl, forwardRef as ue, Component as bl, useState as O, memo as rn, lazy as Mt, Suspense as Fi } from "react";
|
|
9
|
+
import { useLevo as wl, cn as _ } from "@levo-so/react";
|
|
10
10
|
import xl from "fast-deep-equal";
|
|
11
11
|
import Sl from "embla-carousel-react";
|
|
12
|
-
import { ArrowLeft as
|
|
12
|
+
import { ArrowLeft as Tl, ArrowRight as Cl, ChevronDown as El } from "lucide-react";
|
|
13
13
|
import Ml from "embla-carousel-auto-scroll";
|
|
14
14
|
import Pl from "embla-carousel-autoplay";
|
|
15
15
|
import { WheelGesturesPlugin as Al } from "embla-carousel-wheel-gestures";
|
|
@@ -28,7 +28,7 @@ function Nl(e) {
|
|
|
28
28
|
const t = Ne(null);
|
|
29
29
|
return t.current === null && (t.current = e()), t.current;
|
|
30
30
|
}
|
|
31
|
-
const hs = typeof window < "u", Bl = hs ? ml :
|
|
31
|
+
const hs = typeof window < "u", Bl = hs ? ml : L, ps = /* @__PURE__ */ xe(null);
|
|
32
32
|
function ms(e, t) {
|
|
33
33
|
e.indexOf(t) === -1 && e.push(t);
|
|
34
34
|
}
|
|
@@ -193,18 +193,18 @@ function no(e, t) {
|
|
|
193
193
|
delta: 0,
|
|
194
194
|
timestamp: 0,
|
|
195
195
|
isProcessing: !1
|
|
196
|
-
}, o = () => n = !0, i = Vt.reduce((b,
|
|
196
|
+
}, o = () => n = !0, i = Vt.reduce((b, C) => (b[C] = Kl(o), b), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: u, update: d, preRender: f, render: h, postRender: p } = i, g = () => {
|
|
197
197
|
const b = we.useManualTiming ? r.timestamp : performance.now();
|
|
198
198
|
n = !1, we.useManualTiming || (r.delta = s ? 1e3 / 60 : Math.max(Math.min(b - r.timestamp, Gl), 1)), r.timestamp = b, r.isProcessing = !0, a.process(r), l.process(r), c.process(r), u.process(r), d.process(r), f.process(r), h.process(r), p.process(r), r.isProcessing = !1, n && t && (s = !1, e(g));
|
|
199
199
|
}, w = () => {
|
|
200
200
|
n = !0, s = !0, r.isProcessing || e(g);
|
|
201
201
|
};
|
|
202
|
-
return { schedule: Vt.reduce((b,
|
|
203
|
-
const S = i[
|
|
204
|
-
return b[
|
|
202
|
+
return { schedule: Vt.reduce((b, C) => {
|
|
203
|
+
const S = i[C];
|
|
204
|
+
return b[C] = (T, A = !1, E = !1) => (n || w(), S.schedule(T, A, E)), b;
|
|
205
205
|
}, {}), cancel: (b) => {
|
|
206
|
-
for (let
|
|
207
|
-
i[Vt[
|
|
206
|
+
for (let C = 0; C < Vt.length; C++)
|
|
207
|
+
i[Vt[C]].cancel(b);
|
|
208
208
|
}, state: r, steps: i };
|
|
209
209
|
}
|
|
210
210
|
const { schedule: N, cancel: Ee, state: H, steps: gn } = /* @__PURE__ */ no(typeof requestAnimationFrame < "u" ? requestAnimationFrame : oe, !0);
|
|
@@ -217,7 +217,7 @@ const Q = {
|
|
|
217
217
|
set: (e) => {
|
|
218
218
|
zt = e, queueMicrotask(Xl);
|
|
219
219
|
}
|
|
220
|
-
}, so = (e) => (t) => typeof t == "string" && t.startsWith(e), Ss = /* @__PURE__ */ so("--"), Yl = /* @__PURE__ */ so("var(--"),
|
|
220
|
+
}, so = (e) => (t) => typeof t == "string" && t.startsWith(e), Ss = /* @__PURE__ */ so("--"), Yl = /* @__PURE__ */ so("var(--"), Ts = (e) => Yl(e) ? ql.test(e.split("/*")[0].trim()) : !1, ql = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, nt = {
|
|
221
221
|
test: (e) => typeof e == "number",
|
|
222
222
|
parse: parseFloat,
|
|
223
223
|
transform: (e) => e
|
|
@@ -227,14 +227,14 @@ const Q = {
|
|
|
227
227
|
}, Ot = {
|
|
228
228
|
...nt,
|
|
229
229
|
default: 1
|
|
230
|
-
}, ht = (e) => Math.round(e * 1e5) / 1e5,
|
|
230
|
+
}, ht = (e) => Math.round(e * 1e5) / 1e5, Cs = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
231
231
|
function Zl(e) {
|
|
232
232
|
return e == null;
|
|
233
233
|
}
|
|
234
234
|
const Jl = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Es = (e, t) => (n) => !!(typeof n == "string" && Jl.test(n) && n.startsWith(e) || t && !Zl(n) && Object.prototype.hasOwnProperty.call(n, t)), ro = (e, t, n) => (s) => {
|
|
235
235
|
if (typeof s != "string")
|
|
236
236
|
return s;
|
|
237
|
-
const [r, o, i, a] = s.match(
|
|
237
|
+
const [r, o, i, a] = s.match(Cs);
|
|
238
238
|
return {
|
|
239
239
|
[e]: parseFloat(r),
|
|
240
240
|
[t]: parseFloat(o),
|
|
@@ -266,7 +266,7 @@ const $n = {
|
|
|
266
266
|
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
267
267
|
parse: parseFloat,
|
|
268
268
|
transform: (t) => `${t}${e}`
|
|
269
|
-
}),
|
|
269
|
+
}), Ce = /* @__PURE__ */ kt("deg"), he = /* @__PURE__ */ kt("%"), P = /* @__PURE__ */ kt("px"), tc = /* @__PURE__ */ kt("vh"), nc = /* @__PURE__ */ kt("vw"), er = {
|
|
270
270
|
...he,
|
|
271
271
|
parse: (e) => he.parse(e) / 100,
|
|
272
272
|
transform: (e) => he.transform(e * 100)
|
|
@@ -285,7 +285,7 @@ const $n = {
|
|
|
285
285
|
}, sc = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
286
286
|
function rc(e) {
|
|
287
287
|
var t, n;
|
|
288
|
-
return isNaN(e) && typeof e == "string" && (((t = e.match(
|
|
288
|
+
return isNaN(e) && typeof e == "string" && (((t = e.match(Cs)) == null ? void 0 : t.length) || 0) + (((n = e.match(sc)) == null ? void 0 : n.length) || 0) > 0;
|
|
289
289
|
}
|
|
290
290
|
const io = "number", oo = "color", ic = "var", oc = "var(", tr = "${}", ac = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
291
291
|
function wt(e) {
|
|
@@ -371,7 +371,7 @@ function pc(e, t) {
|
|
|
371
371
|
return (n) => $(e, t, n);
|
|
372
372
|
}
|
|
373
373
|
function Ms(e) {
|
|
374
|
-
return typeof e == "number" ? pc : typeof e == "string" ?
|
|
374
|
+
return typeof e == "number" ? pc : typeof e == "string" ? Ts(e) ? Kt : D.test(e) ? sr : yc : Array.isArray(e) ? co : typeof e == "object" ? D.test(e) ? sr : mc : Kt;
|
|
375
375
|
}
|
|
376
376
|
function co(e, t) {
|
|
377
377
|
const n = [...e], s = n.length, r = e.map((o, i) => Ms(o)(o, t[i]));
|
|
@@ -491,7 +491,7 @@ function xc({ duration: e = B.duration, bounce: t = B.bounce, velocity: n = B.ve
|
|
|
491
491
|
const u = Math.exp(-c * e), d = (n - c) * (e * e);
|
|
492
492
|
return u * d;
|
|
493
493
|
});
|
|
494
|
-
const a = 5 / e, l =
|
|
494
|
+
const a = 5 / e, l = Tc(r, o, a);
|
|
495
495
|
if (e = /* @__PURE__ */ ce(e), isNaN(l))
|
|
496
496
|
return {
|
|
497
497
|
stiffness: B.stiffness,
|
|
@@ -508,7 +508,7 @@ function xc({ duration: e = B.duration, bounce: t = B.bounce, velocity: n = B.ve
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
const Sc = 12;
|
|
511
|
-
function
|
|
511
|
+
function Tc(e, t, n) {
|
|
512
512
|
let s = n;
|
|
513
513
|
for (let r = 1; r < Sc; r++)
|
|
514
514
|
s = s - e(s) / t(s);
|
|
@@ -517,7 +517,7 @@ function Cc(e, t, n) {
|
|
|
517
517
|
function Fn(e, t) {
|
|
518
518
|
return e * Math.sqrt(1 - t * t);
|
|
519
519
|
}
|
|
520
|
-
const
|
|
520
|
+
const Cc = ["duration", "bounce"], Ec = ["stiffness", "damping", "mass"];
|
|
521
521
|
function ir(e, t) {
|
|
522
522
|
return t.some((n) => e[n] !== void 0);
|
|
523
523
|
}
|
|
@@ -530,7 +530,7 @@ function Mc(e) {
|
|
|
530
530
|
isResolvedFromDuration: !1,
|
|
531
531
|
...e
|
|
532
532
|
};
|
|
533
|
-
if (!ir(e, Ec) && ir(e,
|
|
533
|
+
if (!ir(e, Ec) && ir(e, Cc))
|
|
534
534
|
if (e.visualDuration) {
|
|
535
535
|
const n = e.visualDuration, s = 2 * Math.PI / (n * 1.2), r = s * s, o = 2 * ve(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(r);
|
|
536
536
|
t = {
|
|
@@ -564,41 +564,41 @@ function Xt(e = B.visualDuration, t = B.bounce) {
|
|
|
564
564
|
let b;
|
|
565
565
|
if (g < 1) {
|
|
566
566
|
const S = Fn(v, g);
|
|
567
|
-
b = (
|
|
568
|
-
const A = Math.exp(-g * v *
|
|
569
|
-
return i - A * ((p + g * v * w) / S * Math.sin(S *
|
|
567
|
+
b = (T) => {
|
|
568
|
+
const A = Math.exp(-g * v * T);
|
|
569
|
+
return i - A * ((p + g * v * w) / S * Math.sin(S * T) + w * Math.cos(S * T));
|
|
570
570
|
};
|
|
571
571
|
} else if (g === 1)
|
|
572
572
|
b = (S) => i - Math.exp(-v * S) * (w + (p + v * w) * S);
|
|
573
573
|
else {
|
|
574
574
|
const S = v * Math.sqrt(g * g - 1);
|
|
575
|
-
b = (
|
|
576
|
-
const A = Math.exp(-g * v *
|
|
575
|
+
b = (T) => {
|
|
576
|
+
const A = Math.exp(-g * v * T), E = Math.min(S * T, 300);
|
|
577
577
|
return i - A * ((p + g * v * w) * Math.sinh(E) + S * w * Math.cosh(E)) / S;
|
|
578
578
|
};
|
|
579
579
|
}
|
|
580
|
-
const
|
|
580
|
+
const C = {
|
|
581
581
|
calculatedDuration: h && d || null,
|
|
582
582
|
next: (S) => {
|
|
583
|
-
const
|
|
583
|
+
const T = b(S);
|
|
584
584
|
if (h)
|
|
585
585
|
a.done = S >= d;
|
|
586
586
|
else {
|
|
587
587
|
let A = S === 0 ? p : 0;
|
|
588
|
-
g < 1 && (A = S === 0 ? /* @__PURE__ */ ce(p) : ho(b, S,
|
|
589
|
-
const E = Math.abs(A) <= s, V = Math.abs(i -
|
|
588
|
+
g < 1 && (A = S === 0 ? /* @__PURE__ */ ce(p) : ho(b, S, T));
|
|
589
|
+
const E = Math.abs(A) <= s, V = Math.abs(i - T) <= r;
|
|
590
590
|
a.done = E && V;
|
|
591
591
|
}
|
|
592
|
-
return a.value = a.done ? i :
|
|
592
|
+
return a.value = a.done ? i : T, a;
|
|
593
593
|
},
|
|
594
594
|
toString: () => {
|
|
595
|
-
const S = Math.min(Ps(
|
|
596
|
-
return S + "ms " +
|
|
595
|
+
const S = Math.min(Ps(C), Gt), T = fo((A) => C.next(S * A).value, S, 30);
|
|
596
|
+
return S + "ms " + T;
|
|
597
597
|
},
|
|
598
598
|
toTransition: () => {
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
|
-
return
|
|
601
|
+
return C;
|
|
602
602
|
}
|
|
603
603
|
Xt.applyToOptions = (e) => {
|
|
604
604
|
const t = bc(e, 100, Xt);
|
|
@@ -612,13 +612,13 @@ function Dn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
612
612
|
let g = n * t;
|
|
613
613
|
const w = d + g, v = i === void 0 ? w : i(w);
|
|
614
614
|
v !== w && (g = v - d);
|
|
615
|
-
const y = (E) => -g * Math.exp(-E / s), b = (E) => v + y(E),
|
|
615
|
+
const y = (E) => -g * Math.exp(-E / s), b = (E) => v + y(E), C = (E) => {
|
|
616
616
|
const V = y(E), U = b(E);
|
|
617
617
|
f.done = Math.abs(V) <= c, f.value = f.done ? v : U;
|
|
618
618
|
};
|
|
619
|
-
let S,
|
|
619
|
+
let S, T;
|
|
620
620
|
const A = (E) => {
|
|
621
|
-
h(f.value) && (S = E,
|
|
621
|
+
h(f.value) && (S = E, T = Xt({
|
|
622
622
|
keyframes: [f.value, p(f.value)],
|
|
623
623
|
velocity: ho(b, E, f.value),
|
|
624
624
|
// TODO: This should be passing * 1000
|
|
@@ -632,7 +632,7 @@ function Dn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
632
632
|
calculatedDuration: null,
|
|
633
633
|
next: (E) => {
|
|
634
634
|
let V = !1;
|
|
635
|
-
return !
|
|
635
|
+
return !T && S === void 0 && (V = !0, C(E), A(E)), S !== void 0 && E >= S ? T.next(E - S) : (!V && C(E), f);
|
|
636
636
|
}
|
|
637
637
|
};
|
|
638
638
|
}
|
|
@@ -778,17 +778,17 @@ class Ls extends ks {
|
|
|
778
778
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - r / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
|
|
779
779
|
const v = this.currentTime - c * (this.playbackSpeed >= 0 ? 1 : -1), y = this.playbackSpeed >= 0 ? v < 0 : v > r;
|
|
780
780
|
this.currentTime = Math.max(v, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
|
|
781
|
-
let b = this.currentTime,
|
|
781
|
+
let b = this.currentTime, C = s;
|
|
782
782
|
if (d) {
|
|
783
783
|
const E = Math.min(this.currentTime, r) / a;
|
|
784
784
|
let V = Math.floor(E), U = E % 1;
|
|
785
|
-
!U && E >= 1 && (U = 1), U === 1 && V--, V = Math.min(V, d + 1), !!(V % 2) && (f === "reverse" ? (U = 1 - U, h && (U -= h / a)) : f === "mirror" && (
|
|
785
|
+
!U && E >= 1 && (U = 1), U === 1 && V--, V = Math.min(V, d + 1), !!(V % 2) && (f === "reverse" ? (U = 1 - U, h && (U -= h / a)) : f === "mirror" && (C = i)), b = ve(0, 1, U) * a;
|
|
786
786
|
}
|
|
787
|
-
const S = y ? { done: !1, value: u[0] } :
|
|
787
|
+
const S = y ? { done: !1, value: u[0] } : C.next(b);
|
|
788
788
|
o && (S.value = o(S.value));
|
|
789
|
-
let { done:
|
|
790
|
-
!y && l !== null && (
|
|
791
|
-
const A = this.holdTime === null && (this.state === "finished" || this.state === "running" &&
|
|
789
|
+
let { done: T } = S;
|
|
790
|
+
!y && l !== null && (T = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
|
|
791
|
+
const A = this.holdTime === null && (this.state === "finished" || this.state === "running" && T);
|
|
792
792
|
return A && p !== Dn && (S.value = As(u, this.options, w, this.speed)), g && g(S.value), A && this.finish(), S;
|
|
793
793
|
}
|
|
794
794
|
/**
|
|
@@ -1359,7 +1359,7 @@ function xo(e, t, n = 1) {
|
|
|
1359
1359
|
const i = o.trim();
|
|
1360
1360
|
return zi(i) ? parseFloat(i) : i;
|
|
1361
1361
|
}
|
|
1362
|
-
return
|
|
1362
|
+
return Ts(r) ? xo(r, t, n + 1) : r;
|
|
1363
1363
|
}
|
|
1364
1364
|
function Vs(e, t) {
|
|
1365
1365
|
return (e == null ? void 0 : e[t]) ?? (e == null ? void 0 : e.default) ?? e;
|
|
@@ -1375,7 +1375,7 @@ const So = /* @__PURE__ */ new Set([
|
|
|
1375
1375
|
]), fu = {
|
|
1376
1376
|
test: (e) => e === "auto",
|
|
1377
1377
|
parse: (e) => e
|
|
1378
|
-
},
|
|
1378
|
+
}, To = (e) => (t) => t.test(e), Co = [nt, P, he, Ce, nc, tc, fu], hr = (e) => Co.find(To(e));
|
|
1379
1379
|
function hu(e) {
|
|
1380
1380
|
return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Ui(e) : !0;
|
|
1381
1381
|
}
|
|
@@ -1384,7 +1384,7 @@ function mu(e) {
|
|
|
1384
1384
|
const [t, n] = e.slice(0, -1).split("(");
|
|
1385
1385
|
if (t === "drop-shadow")
|
|
1386
1386
|
return e;
|
|
1387
|
-
const [s] = n.match(
|
|
1387
|
+
const [s] = n.match(Cs) || [];
|
|
1388
1388
|
if (!s)
|
|
1389
1389
|
return e;
|
|
1390
1390
|
const r = n.replace(s, "");
|
|
@@ -1401,17 +1401,17 @@ const gu = /\b([a-z-]*)\(.*?\)/gu, Yn = {
|
|
|
1401
1401
|
...nt,
|
|
1402
1402
|
transform: Math.round
|
|
1403
1403
|
}, yu = {
|
|
1404
|
-
rotate:
|
|
1405
|
-
rotateX:
|
|
1406
|
-
rotateY:
|
|
1407
|
-
rotateZ:
|
|
1404
|
+
rotate: Ce,
|
|
1405
|
+
rotateX: Ce,
|
|
1406
|
+
rotateY: Ce,
|
|
1407
|
+
rotateZ: Ce,
|
|
1408
1408
|
scale: Ot,
|
|
1409
1409
|
scaleX: Ot,
|
|
1410
1410
|
scaleY: Ot,
|
|
1411
1411
|
scaleZ: Ot,
|
|
1412
|
-
skew:
|
|
1413
|
-
skewX:
|
|
1414
|
-
skewY:
|
|
1412
|
+
skew: Ce,
|
|
1413
|
+
skewX: Ce,
|
|
1414
|
+
skewY: Ce,
|
|
1415
1415
|
distance: P,
|
|
1416
1416
|
translateX: P,
|
|
1417
1417
|
translateY: P,
|
|
@@ -1510,7 +1510,7 @@ class xu extends _s {
|
|
|
1510
1510
|
super.readKeyframes();
|
|
1511
1511
|
for (let l = 0; l < t.length; l++) {
|
|
1512
1512
|
let c = t[l];
|
|
1513
|
-
if (typeof c == "string" && (c = c.trim(),
|
|
1513
|
+
if (typeof c == "string" && (c = c.trim(), Ts(c))) {
|
|
1514
1514
|
const u = xo(c, n.current);
|
|
1515
1515
|
u !== void 0 && (t[l] = u), l === t.length - 1 && (this.finalKeyframe = c);
|
|
1516
1516
|
}
|
|
@@ -1566,8 +1566,8 @@ const Ao = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
|
|
|
1566
1566
|
function Su(e) {
|
|
1567
1567
|
return Wi(e) && "offsetHeight" in e;
|
|
1568
1568
|
}
|
|
1569
|
-
const mr = 30,
|
|
1570
|
-
class
|
|
1569
|
+
const mr = 30, Tu = (e) => !isNaN(parseFloat(e));
|
|
1570
|
+
class Cu {
|
|
1571
1571
|
/**
|
|
1572
1572
|
* @param init - The initiating value
|
|
1573
1573
|
* @param config - Optional configuration options
|
|
@@ -1585,7 +1585,7 @@ class Tu {
|
|
|
1585
1585
|
}, this.hasAnimated = !1, this.setCurrent(t), this.owner = n.owner;
|
|
1586
1586
|
}
|
|
1587
1587
|
setCurrent(t) {
|
|
1588
|
-
this.current = t, this.updatedAt = Q.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity =
|
|
1588
|
+
this.current = t, this.updatedAt = Q.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = Tu(this.current));
|
|
1589
1589
|
}
|
|
1590
1590
|
setPrevFrameValue(t = this.current) {
|
|
1591
1591
|
this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -1771,7 +1771,7 @@ class Tu {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
1773
|
function Qe(e, t) {
|
|
1774
|
-
return new
|
|
1774
|
+
return new Cu(e, t);
|
|
1775
1775
|
}
|
|
1776
1776
|
const { schedule: Rs, cancel: Wg } = /* @__PURE__ */ no(queueMicrotask, !1), ae = {
|
|
1777
1777
|
x: !1,
|
|
@@ -1876,7 +1876,7 @@ function Vo(e) {
|
|
|
1876
1876
|
function _u(e) {
|
|
1877
1877
|
return Vo(e) && e.tagName === "svg";
|
|
1878
1878
|
}
|
|
1879
|
-
const q = (e) => !!(e && e.getVelocity), Vu = [...
|
|
1879
|
+
const q = (e) => !!(e && e.getVelocity), Vu = [...Co, D, Me], Ou = (e) => Vu.find(To(e)), Oo = xe({
|
|
1880
1880
|
transformPagePoint: (e) => e,
|
|
1881
1881
|
isStatic: !1,
|
|
1882
1882
|
reducedMotion: "never"
|
|
@@ -1886,7 +1886,7 @@ function Ru(e = !0) {
|
|
|
1886
1886
|
if (t === null)
|
|
1887
1887
|
return [!0, null];
|
|
1888
1888
|
const { isPresent: n, onExitComplete: s, register: r } = t, o = gl();
|
|
1889
|
-
|
|
1889
|
+
L(() => {
|
|
1890
1890
|
if (e)
|
|
1891
1891
|
return r(o);
|
|
1892
1892
|
}, [e]);
|
|
@@ -2240,8 +2240,8 @@ function td(e, t, n, s) {
|
|
|
2240
2240
|
for (const y in v) {
|
|
2241
2241
|
let b = v[y];
|
|
2242
2242
|
if (Array.isArray(b)) {
|
|
2243
|
-
const
|
|
2244
|
-
b = b[
|
|
2243
|
+
const C = u ? b.length - 1 : 0;
|
|
2244
|
+
b = b[C];
|
|
2245
2245
|
}
|
|
2246
2246
|
b !== null && (r[y] = b);
|
|
2247
2247
|
}
|
|
@@ -2317,7 +2317,7 @@ function ad(e, t, n, s, r) {
|
|
|
2317
2317
|
const h = n[Uo], p = Ne(!!h && !((g = window.MotionHandoffIsComplete) != null && g.call(window, h)) && ((w = window.MotionHasOptimisedAnimation) == null ? void 0 : w.call(window, h)));
|
|
2318
2318
|
return Bl(() => {
|
|
2319
2319
|
u && (f.current = !0, window.MotionIsMounted = !0, u.updateFeatures(), u.scheduleRenderMicrotask(), p.current && u.animationState && u.animationState.animateChanges());
|
|
2320
|
-
}),
|
|
2320
|
+
}), L(() => {
|
|
2321
2321
|
u && (!p.current && u.animationState && u.animationState.animateChanges(), p.current && (queueMicrotask(() => {
|
|
2322
2322
|
var v;
|
|
2323
2323
|
(v = window.MotionHandoffMarkAsComplete) == null || v.call(window, h);
|
|
@@ -2443,16 +2443,16 @@ function qt(e, t, n) {
|
|
|
2443
2443
|
const s = e - n, r = t * s;
|
|
2444
2444
|
return n + r;
|
|
2445
2445
|
}
|
|
2446
|
-
function
|
|
2446
|
+
function Tr(e, t, n, s, r) {
|
|
2447
2447
|
return r !== void 0 && (e = qt(e, r, s)), qt(e, n, s) + t;
|
|
2448
2448
|
}
|
|
2449
2449
|
function Zn(e, t = 0, n = 1, s, r) {
|
|
2450
|
-
e.min =
|
|
2450
|
+
e.min = Tr(e.min, t, n, s, r), e.max = Tr(e.max, t, n, s, r);
|
|
2451
2451
|
}
|
|
2452
2452
|
function Yo(e, { x: t, y: n }) {
|
|
2453
2453
|
Zn(e.x, t.translate, t.scale, t.originPoint), Zn(e.y, n.translate, n.scale, n.originPoint);
|
|
2454
2454
|
}
|
|
2455
|
-
const
|
|
2455
|
+
const Cr = 0.999999999999, Er = 1.0000000000001;
|
|
2456
2456
|
function md(e, t, n, s = !1) {
|
|
2457
2457
|
const r = n.length;
|
|
2458
2458
|
if (!r)
|
|
@@ -2467,7 +2467,7 @@ function md(e, t, n, s = !1) {
|
|
|
2467
2467
|
y: -o.scroll.offset.y
|
|
2468
2468
|
}), i && (t.x *= i.x.scale, t.y *= i.y.scale, Yo(e, i)), s && _e(o.latestValues) && Ye(e, o.latestValues));
|
|
2469
2469
|
}
|
|
2470
|
-
t.x < Er && t.x >
|
|
2470
|
+
t.x < Er && t.x > Cr && (t.x = 1), t.y < Er && t.y > Cr && (t.y = 1);
|
|
2471
2471
|
}
|
|
2472
2472
|
function Xe(e, t) {
|
|
2473
2473
|
e.min = e.min + t, e.max = e.max + t;
|
|
@@ -2814,12 +2814,12 @@ const ea = /* @__PURE__ */ new Set([
|
|
|
2814
2814
|
"textLength",
|
|
2815
2815
|
"lengthAdjust"
|
|
2816
2816
|
]);
|
|
2817
|
-
function
|
|
2817
|
+
function Td(e, t, n, s) {
|
|
2818
2818
|
Qo(e, t, void 0, s);
|
|
2819
2819
|
for (const r in t.attrs)
|
|
2820
2820
|
e.setAttribute(ea.has(r) ? r : Ws(r), t.attrs[r]);
|
|
2821
2821
|
}
|
|
2822
|
-
class
|
|
2822
|
+
class Cd extends Jo {
|
|
2823
2823
|
constructor() {
|
|
2824
2824
|
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = F;
|
|
2825
2825
|
}
|
|
@@ -2840,16 +2840,16 @@ class Td extends Jo {
|
|
|
2840
2840
|
jo(t, n, this.isSVGTag, s.transformTemplate, s.style);
|
|
2841
2841
|
}
|
|
2842
2842
|
renderInstance(t, n, s, r) {
|
|
2843
|
-
|
|
2843
|
+
Td(t, n, s, r);
|
|
2844
2844
|
}
|
|
2845
2845
|
mount(t) {
|
|
2846
2846
|
this.isSVGTag = Do(t.tagName), super.mount(t);
|
|
2847
2847
|
}
|
|
2848
2848
|
}
|
|
2849
|
-
const Ed = (e, t) => Fs(e) ? new
|
|
2849
|
+
const Ed = (e, t) => Fs(e) ? new Cd(t) : new Sd(t, {
|
|
2850
2850
|
allowProjection: e !== ds
|
|
2851
2851
|
});
|
|
2852
|
-
function
|
|
2852
|
+
function Tt(e, t, n) {
|
|
2853
2853
|
const s = e.getProps();
|
|
2854
2854
|
return Ds(s, t, n !== void 0 ? n : s.custom, e);
|
|
2855
2855
|
}
|
|
@@ -2861,7 +2861,7 @@ function Pd(e) {
|
|
|
2861
2861
|
return Qn(e) ? e[e.length - 1] || 0 : e;
|
|
2862
2862
|
}
|
|
2863
2863
|
function Ad(e, t) {
|
|
2864
|
-
const n =
|
|
2864
|
+
const n = Tt(e, t);
|
|
2865
2865
|
let { transitionEnd: s = {}, transition: r = {}, ...o } = n || {};
|
|
2866
2866
|
o = { ...o, ...s };
|
|
2867
2867
|
for (const i in o) {
|
|
@@ -2981,7 +2981,7 @@ function na(e, t, { delay: n = 0, transitionOverride: s, type: r } = {}) {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
function ts(e, t, n = {}) {
|
|
2983
2983
|
var l;
|
|
2984
|
-
const s =
|
|
2984
|
+
const s = Tt(e, t, n.type === "exit" ? (l = e.presenceContext) == null ? void 0 : l.custom : void 0);
|
|
2985
2985
|
let { transition: r = e.getDefaultTransition() || {} } = s || {};
|
|
2986
2986
|
n.transitionOverride && (r = n.transitionOverride);
|
|
2987
2987
|
const o = s ? () => Promise.all(na(e, s, n)) : () => Promise.resolve(), i = e.variantChildren && e.variantChildren.size ? (c = 0) => {
|
|
@@ -3018,7 +3018,7 @@ function Dd(e, t, n = {}) {
|
|
|
3018
3018
|
} else if (typeof t == "string")
|
|
3019
3019
|
s = ts(e, t, n);
|
|
3020
3020
|
else {
|
|
3021
|
-
const r = typeof t == "function" ?
|
|
3021
|
+
const r = typeof t == "function" ? Tt(e, t, n.custom) : t;
|
|
3022
3022
|
s = Promise.all(na(e, r, n));
|
|
3023
3023
|
}
|
|
3024
3024
|
return s.then(() => {
|
|
@@ -3059,7 +3059,7 @@ function Kd(e) {
|
|
|
3059
3059
|
let t = Hd(e), n = Lr(), s = !0;
|
|
3060
3060
|
const r = (l) => (c, u) => {
|
|
3061
3061
|
var f;
|
|
3062
|
-
const d =
|
|
3062
|
+
const d = Tt(e, u, l === "exit" ? (f = e.presenceContext) == null ? void 0 : f.custom : void 0);
|
|
3063
3063
|
if (d) {
|
|
3064
3064
|
const { transition: h, transitionEnd: p, ...g } = d;
|
|
3065
3065
|
c = { ...c, ...g, ...p };
|
|
@@ -3073,23 +3073,23 @@ function Kd(e) {
|
|
|
3073
3073
|
const { props: c } = e, u = ra(e.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
|
3074
3074
|
let h = {}, p = 1 / 0;
|
|
3075
3075
|
for (let w = 0; w < Ud; w++) {
|
|
3076
|
-
const v = Wd[w], y = n[v], b = c[v] !== void 0 ? c[v] : u[v],
|
|
3076
|
+
const v = Wd[w], y = n[v], b = c[v] !== void 0 ? c[v] : u[v], C = xt(b), S = v === l ? y.isActive : null;
|
|
3077
3077
|
S === !1 && (p = w);
|
|
3078
|
-
let
|
|
3079
|
-
if (
|
|
3078
|
+
let T = b === u[v] && b !== c[v] && C;
|
|
3079
|
+
if (T && s && e.manuallyAnimateOnMount && (T = !1), y.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
|
|
3080
3080
|
!y.isActive && S === null || // If we didn't and don't have any defined prop for this animation type
|
|
3081
3081
|
!b && !y.prevProp || // Or if the prop doesn't define an animation
|
|
3082
3082
|
an(b) || typeof b == "boolean")
|
|
3083
3083
|
continue;
|
|
3084
3084
|
const A = Gd(y.prevProp, b);
|
|
3085
3085
|
let E = A || // If we're making this variant active, we want to always make it active
|
|
3086
|
-
v === l && y.isActive && !
|
|
3087
|
-
w > p &&
|
|
3086
|
+
v === l && y.isActive && !T && C || // If we removed a higher-priority variant (i is in reverse order)
|
|
3087
|
+
w > p && C, V = !1;
|
|
3088
3088
|
const U = Array.isArray(b) ? b : [b];
|
|
3089
3089
|
let ee = U.reduce(r(v), {});
|
|
3090
3090
|
S === !1 && (ee = {});
|
|
3091
|
-
const { prevResolvedValues:
|
|
3092
|
-
...
|
|
3091
|
+
const { prevResolvedValues: Te = {} } = y, je = {
|
|
3092
|
+
...Te,
|
|
3093
3093
|
...ee
|
|
3094
3094
|
}, me = (W) => {
|
|
3095
3095
|
E = !0, f.has(W) && (V = !0, f.delete(W)), y.needsAnimating[W] = !0;
|
|
@@ -3097,13 +3097,13 @@ function Kd(e) {
|
|
|
3097
3097
|
ne && (ne.liveStyle = !1);
|
|
3098
3098
|
};
|
|
3099
3099
|
for (const W in je) {
|
|
3100
|
-
const ne = ee[W], ze =
|
|
3100
|
+
const ne = ee[W], ze = Te[W];
|
|
3101
3101
|
if (h.hasOwnProperty(W))
|
|
3102
3102
|
continue;
|
|
3103
3103
|
let x = !1;
|
|
3104
3104
|
Qn(ne) && Qn(ze) ? x = !sa(ne, ze) : x = ne !== ze, x ? ne != null ? me(W) : f.add(W) : ne !== void 0 && f.has(W) ? me(W) : y.protectedKeys[W] = !0;
|
|
3105
3105
|
}
|
|
3106
|
-
y.prevProp = b, y.prevResolvedValues = ee, y.isActive && (h = { ...h, ...ee }), s && e.blockInitialAnimation && (E = !1), E && (!(
|
|
3106
|
+
y.prevProp = b, y.prevResolvedValues = ee, y.isActive && (h = { ...h, ...ee }), s && e.blockInitialAnimation && (E = !1), E && (!(T && A) || V) && d.push(...U.map((W) => ({
|
|
3107
3107
|
animation: W,
|
|
3108
3108
|
options: { type: v }
|
|
3109
3109
|
})));
|
|
@@ -3111,7 +3111,7 @@ function Kd(e) {
|
|
|
3111
3111
|
if (f.size) {
|
|
3112
3112
|
const w = {};
|
|
3113
3113
|
if (typeof c.initial != "boolean") {
|
|
3114
|
-
const v =
|
|
3114
|
+
const v = Tt(e, Array.isArray(c.initial) ? c.initial[0] : c.initial);
|
|
3115
3115
|
v && v.transition && (w.transition = v.transition);
|
|
3116
3116
|
}
|
|
3117
3117
|
f.forEach((v) => {
|
|
@@ -3233,7 +3233,7 @@ const Zd = {
|
|
|
3233
3233
|
Feature: qd
|
|
3234
3234
|
}
|
|
3235
3235
|
};
|
|
3236
|
-
function
|
|
3236
|
+
function Ct(e, t, n, s = { passive: !0 }) {
|
|
3237
3237
|
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n);
|
|
3238
3238
|
}
|
|
3239
3239
|
function Lt(e) {
|
|
@@ -3246,7 +3246,7 @@ function Lt(e) {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
const Jd = (e) => (t) => Is(t) && e(t, Lt(t));
|
|
3248
3248
|
function pt(e, t, n, s) {
|
|
3249
|
-
return
|
|
3249
|
+
return Ct(e, t, Jd(n), s);
|
|
3250
3250
|
}
|
|
3251
3251
|
const ia = 1e-4, Qd = 1 - ia, ef = 1 + ia, oa = 0.01, tf = 0 - oa, nf = 0 + oa;
|
|
3252
3252
|
function J(e) {
|
|
@@ -3286,7 +3286,7 @@ class la {
|
|
|
3286
3286
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
|
|
3287
3287
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
3288
3288
|
return;
|
|
3289
|
-
const f =
|
|
3289
|
+
const f = Cn(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, p = of(f.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
3290
3290
|
if (!h && !p)
|
|
3291
3291
|
return;
|
|
3292
3292
|
const { point: g } = f, { timestamp: w } = H;
|
|
@@ -3294,21 +3294,21 @@ class la {
|
|
|
3294
3294
|
const { onStart: v, onMove: y } = this.handlers;
|
|
3295
3295
|
h || (v && v(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, f);
|
|
3296
3296
|
}, this.handlePointerMove = (f, h) => {
|
|
3297
|
-
this.lastMoveEvent = f, this.lastMoveEventInfo =
|
|
3297
|
+
this.lastMoveEvent = f, this.lastMoveEventInfo = Tn(h, this.transformPagePoint), N.update(this.updatePoint, !0);
|
|
3298
3298
|
}, this.handlePointerUp = (f, h) => {
|
|
3299
3299
|
this.end();
|
|
3300
3300
|
const { onEnd: p, onSessionEnd: g, resumeAnimation: w } = this.handlers;
|
|
3301
3301
|
if (this.dragSnapToOrigin && w && w(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
3302
3302
|
return;
|
|
3303
|
-
const v =
|
|
3303
|
+
const v = Cn(f.type === "pointercancel" ? this.lastMoveEventInfo : Tn(h, this.transformPagePoint), this.history);
|
|
3304
3304
|
this.startEvent && p && p(f, v), g && g(f, v);
|
|
3305
3305
|
}, !Is(t))
|
|
3306
3306
|
return;
|
|
3307
3307
|
this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = s, this.distanceThreshold = i, this.contextWindow = r || window;
|
|
3308
|
-
const a = Lt(t), l =
|
|
3308
|
+
const a = Lt(t), l = Tn(a, this.transformPagePoint), { point: c } = l, { timestamp: u } = H;
|
|
3309
3309
|
this.history = [{ ...c, timestamp: u }];
|
|
3310
3310
|
const { onSessionStart: d } = n;
|
|
3311
|
-
d && d(t,
|
|
3311
|
+
d && d(t, Cn(l, this.history)), this.removeListeners = Pt(pt(this.contextWindow, "pointermove", this.handlePointerMove), pt(this.contextWindow, "pointerup", this.handlePointerUp), pt(this.contextWindow, "pointercancel", this.handlePointerUp));
|
|
3312
3312
|
}
|
|
3313
3313
|
updateHandlers(t) {
|
|
3314
3314
|
this.handlers = t;
|
|
@@ -3317,13 +3317,13 @@ class la {
|
|
|
3317
3317
|
this.removeListeners && this.removeListeners(), Ee(this.updatePoint);
|
|
3318
3318
|
}
|
|
3319
3319
|
}
|
|
3320
|
-
function
|
|
3320
|
+
function Tn(e, t) {
|
|
3321
3321
|
return t ? { point: t(e.point) } : e;
|
|
3322
3322
|
}
|
|
3323
3323
|
function Ir(e, t) {
|
|
3324
3324
|
return { x: e.x - t.x, y: e.y - t.y };
|
|
3325
3325
|
}
|
|
3326
|
-
function
|
|
3326
|
+
function Cn({ point: e }, t) {
|
|
3327
3327
|
return {
|
|
3328
3328
|
point: e,
|
|
3329
3329
|
delta: Ir(e, ca(t)),
|
|
@@ -3426,8 +3426,8 @@ class gf {
|
|
|
3426
3426
|
if (he.test(y)) {
|
|
3427
3427
|
const { projection: b } = this.visualElement;
|
|
3428
3428
|
if (b && b.layout) {
|
|
3429
|
-
const
|
|
3430
|
-
|
|
3429
|
+
const C = b.layout.layoutBox[v];
|
|
3430
|
+
C && (y = J(C) * (parseFloat(y) / 100));
|
|
3431
3431
|
}
|
|
3432
3432
|
}
|
|
3433
3433
|
this.originPoint[v] = y;
|
|
@@ -3618,7 +3618,7 @@ class gf {
|
|
|
3618
3618
|
Ge(l) && l.current && (this.constraints = this.resolveRefConstraints());
|
|
3619
3619
|
}, { projection: r } = this.visualElement, o = r.addEventListener("measure", s);
|
|
3620
3620
|
r && !r.layout && (r.root && r.root.updateScroll(), r.updateLayout()), N.read(s);
|
|
3621
|
-
const i =
|
|
3621
|
+
const i = Ct(window, "resize", () => this.scalePositionWithinConstraints()), a = r.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
|
|
3622
3622
|
this.isDragging && c && (re((u) => {
|
|
3623
3623
|
const d = this.getAxisMotionValue(u);
|
|
3624
3624
|
d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
|
|
@@ -3793,11 +3793,11 @@ const Sf = {
|
|
|
3793
3793
|
borderBottomRightRadius: it,
|
|
3794
3794
|
boxShadow: wf
|
|
3795
3795
|
};
|
|
3796
|
-
function
|
|
3796
|
+
function Tf(e, t, n) {
|
|
3797
3797
|
const s = q(e) ? e : Qe(e);
|
|
3798
3798
|
return s.start(Us("", s, t, n)), s.animation;
|
|
3799
3799
|
}
|
|
3800
|
-
const
|
|
3800
|
+
const Cf = (e, t) => e.depth - t.depth;
|
|
3801
3801
|
class Ef {
|
|
3802
3802
|
constructor() {
|
|
3803
3803
|
this.children = [], this.isDirty = !1;
|
|
@@ -3809,7 +3809,7 @@ class Ef {
|
|
|
3809
3809
|
gs(this.children, t), this.isDirty = !0;
|
|
3810
3810
|
}
|
|
3811
3811
|
forEach(t) {
|
|
3812
|
-
this.isDirty && this.children.sort(
|
|
3812
|
+
this.isDirty && this.children.sort(Cf), this.isDirty = !1, this.children.forEach(t);
|
|
3813
3813
|
}
|
|
3814
3814
|
}
|
|
3815
3815
|
function Mf(e, t) {
|
|
@@ -4281,15 +4281,15 @@ function ga({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4281
4281
|
const f = F(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, w = this.getStack(), v = !w || w.members.length <= 1, y = !!(g && !v && this.options.crossfade === !0 && !this.path.some(qf));
|
|
4282
4282
|
this.animationProgress = 0;
|
|
4283
4283
|
let b;
|
|
4284
|
-
this.mixTargetDelta = (
|
|
4285
|
-
const S =
|
|
4284
|
+
this.mixTargetDelta = (C) => {
|
|
4285
|
+
const S = C / 1e3;
|
|
4286
4286
|
ii(d.x, i.x, S), ii(d.y, i.y, S), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (gt(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Yf(this.relativeTarget, this.relativeTargetOrigin, f, S), b && Rf(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = F()), se(b, this.relativeTarget)), g && (this.animationValues = u, Af(u, c, this.latestValues, S, y, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
|
|
4287
4287
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
4288
4288
|
}
|
|
4289
4289
|
startAnimation(i) {
|
|
4290
4290
|
var a, l, c;
|
|
4291
4291
|
this.notifyListeners("animationStart"), (a = this.currentAnimation) == null || a.stop(), (c = (l = this.resumingFrom) == null ? void 0 : l.currentAnimation) == null || c.stop(), this.pendingAnimation && (Ee(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = N.update(() => {
|
|
4292
|
-
Ht.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Qe(0)), this.currentAnimation =
|
|
4292
|
+
Ht.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Qe(0)), this.currentAnimation = Tf(this.motionValue, [0, 1e3], {
|
|
4293
4293
|
...i,
|
|
4294
4294
|
velocity: 0,
|
|
4295
4295
|
isSync: !0,
|
|
@@ -4408,8 +4408,8 @@ function ga({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4408
4408
|
const { correct: g, applyTo: w, isCSSVariable: v } = St[p], y = d === "none" ? u[p] : g(u[p], c);
|
|
4409
4409
|
if (w) {
|
|
4410
4410
|
const b = w.length;
|
|
4411
|
-
for (let
|
|
4412
|
-
i[w[
|
|
4411
|
+
for (let C = 0; C < b; C++)
|
|
4412
|
+
i[w[C]] = y;
|
|
4413
4413
|
} else
|
|
4414
4414
|
v ? this.options.visualElement.renderState.vars[p] = y : i[p] = y;
|
|
4415
4415
|
}
|
|
@@ -4538,7 +4538,7 @@ function Qf(e) {
|
|
|
4538
4538
|
return e !== e.root && ((t = e.scroll) == null ? void 0 : t.wasRoot);
|
|
4539
4539
|
}
|
|
4540
4540
|
const eh = ga({
|
|
4541
|
-
attachResizeListener: (e, t) =>
|
|
4541
|
+
attachResizeListener: (e, t) => Ct(e, "resize", t),
|
|
4542
4542
|
measureScroll: () => ({
|
|
4543
4543
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
4544
4544
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
@@ -4603,7 +4603,7 @@ class sh extends Pe {
|
|
|
4603
4603
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
|
|
4604
4604
|
}
|
|
4605
4605
|
mount() {
|
|
4606
|
-
this.unmount = Pt(
|
|
4606
|
+
this.unmount = Pt(Ct(this.node.current, "focus", () => this.onFocus()), Ct(this.node.current, "blur", () => this.onBlur()));
|
|
4607
4607
|
}
|
|
4608
4608
|
unmount() {
|
|
4609
4609
|
}
|
|
@@ -4727,7 +4727,7 @@ function gh(e, t, { root: n, margin: s, amount: r = "some" } = {}) {
|
|
|
4727
4727
|
}
|
|
4728
4728
|
function yh(e, { root: t, margin: n, amount: s, once: r = !1, initial: o = !1 } = {}) {
|
|
4729
4729
|
const [i, a] = O(o);
|
|
4730
|
-
return
|
|
4730
|
+
return L(() => {
|
|
4731
4731
|
if (!e.current || r && i)
|
|
4732
4732
|
return;
|
|
4733
4733
|
const l = () => (a(!0), r ? void 0 : () => a(!1)), c = {
|
|
@@ -4797,7 +4797,7 @@ function bh() {
|
|
|
4797
4797
|
return "StrictMode";
|
|
4798
4798
|
case S:
|
|
4799
4799
|
return "Suspense";
|
|
4800
|
-
case
|
|
4800
|
+
case T:
|
|
4801
4801
|
return "SuspenseList";
|
|
4802
4802
|
case V:
|
|
4803
4803
|
return "Activity";
|
|
@@ -4812,7 +4812,7 @@ function bh() {
|
|
|
4812
4812
|
return (x.displayName || "Context") + ".Provider";
|
|
4813
4813
|
case y:
|
|
4814
4814
|
return (x._context.displayName || "Context") + ".Consumer";
|
|
4815
|
-
case
|
|
4815
|
+
case C:
|
|
4816
4816
|
var k = x.render;
|
|
4817
4817
|
return x = x.displayName, x || (x = k.displayName || k.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
4818
4818
|
case A:
|
|
@@ -4865,7 +4865,7 @@ function bh() {
|
|
|
4865
4865
|
return Error("react-stack-top-frame");
|
|
4866
4866
|
}
|
|
4867
4867
|
function i(x) {
|
|
4868
|
-
if (
|
|
4868
|
+
if (Te.call(x, "key")) {
|
|
4869
4869
|
var k = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
4870
4870
|
if (k && k.isReactWarning) return !1;
|
|
4871
4871
|
}
|
|
@@ -4934,7 +4934,7 @@ function bh() {
|
|
|
4934
4934
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
4935
4935
|
);
|
|
4936
4936
|
else d(X);
|
|
4937
|
-
if (
|
|
4937
|
+
if (Te.call(k, "key")) {
|
|
4938
4938
|
X = e(x);
|
|
4939
4939
|
var We = Object.keys(k).filter(function(fl) {
|
|
4940
4940
|
return fl !== "key";
|
|
@@ -4974,7 +4974,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4974
4974
|
function d(x) {
|
|
4975
4975
|
typeof x == "object" && x !== null && x.$$typeof === h && x._store && (x._store.validated = 1);
|
|
4976
4976
|
}
|
|
4977
|
-
var f = M, h = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), b = Symbol.for("react.context"),
|
|
4977
|
+
var f = M, h = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), b = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), U = Symbol.for("react.client.reference"), ee = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Te = Object.prototype.hasOwnProperty, je = Array.isArray, me = console.createTask ? console.createTask : function() {
|
|
4978
4978
|
return null;
|
|
4979
4979
|
};
|
|
4980
4980
|
f = {
|
|
@@ -5044,7 +5044,7 @@ var rs = 1, Sh = class {
|
|
|
5044
5044
|
n.loading !== void 0 && (s = this.create({ ...n, promise: t, type: "loading", message: n.loading, description: typeof n.description != "function" ? n.description : void 0 }));
|
|
5045
5045
|
let r = t instanceof Promise ? t : t(), o = s !== void 0;
|
|
5046
5046
|
return r.then(async (i) => {
|
|
5047
|
-
if (
|
|
5047
|
+
if (Ch(i) && !i.ok) {
|
|
5048
5048
|
o = !1;
|
|
5049
5049
|
let a = typeof n.error == "function" ? await n.error(`HTTP error! status: ${i.status}`) : n.error, l = typeof n.description == "function" ? await n.description(`HTTP error! status: ${i.status}`) : n.description;
|
|
5050
5050
|
this.create({ id: s, type: "error", message: a, description: l });
|
|
@@ -5068,10 +5068,10 @@ var rs = 1, Sh = class {
|
|
|
5068
5068
|
return this.create({ jsx: t(s), id: s, ...n }), s;
|
|
5069
5069
|
}, this.subscribers = [], this.toasts = [];
|
|
5070
5070
|
}
|
|
5071
|
-
}, le = new Sh(),
|
|
5071
|
+
}, le = new Sh(), Th = (e, t) => {
|
|
5072
5072
|
let n = (t == null ? void 0 : t.id) || rs++;
|
|
5073
5073
|
return le.addToast({ title: e, ...t, id: n }), n;
|
|
5074
|
-
},
|
|
5074
|
+
}, Ch = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Eh = Th, Mh = () => le.toasts, Zt = Object.assign(Eh, { success: le.success, info: le.info, warning: le.warning, error: le.error, custom: le.custom, message: le.message, promise: le.promise, dismiss: le.dismiss, loading: le.loading }, { getHistory: Mh });
|
|
5075
5075
|
function Ph(e, { insertAt: t } = {}) {
|
|
5076
5076
|
if (typeof document > "u") return;
|
|
5077
5077
|
let n = document.head || document.getElementsByTagName("head")[0], s = document.createElement("style");
|
|
@@ -5112,36 +5112,36 @@ const Ln = (e, t = "Error", n = {}) => {
|
|
|
5112
5112
|
}
|
|
5113
5113
|
}), Kg = ({ children: e, workspace: t }) => {
|
|
5114
5114
|
const n = wl(), [s, r] = O(!1), [o, i] = O(!1), [a, l] = O(!1), [c, u] = O(!1), [d, f] = O(!1), [h, p] = O(null);
|
|
5115
|
-
|
|
5116
|
-
var y, b,
|
|
5117
|
-
n != null && n.apiUrl && c === !1 && (r(!0), (
|
|
5115
|
+
L(() => {
|
|
5116
|
+
var y, b, C;
|
|
5117
|
+
n != null && n.apiUrl && c === !1 && (r(!0), (C = (b = (y = n.membership) == null ? void 0 : y.getMe()) == null ? void 0 : b.then((S) => {
|
|
5118
5118
|
S ? (p(S), u(!0), r(!1), f(!0)) : (p(null), u(!0), r(!1), f(!1));
|
|
5119
|
-
})) == null ||
|
|
5119
|
+
})) == null || C.catch((S) => {
|
|
5120
5120
|
console.error("Error: ", qs(S)), p(null), u(!0), r(!1), f(!1);
|
|
5121
5121
|
}));
|
|
5122
5122
|
}, [n == null ? void 0 : n.apiUrl, c]);
|
|
5123
5123
|
const g = (y) => {
|
|
5124
|
-
var b,
|
|
5125
|
-
r(!0), (S = (
|
|
5126
|
-
|
|
5127
|
-
})) == null || S.catch((
|
|
5128
|
-
console.error("Error: ",
|
|
5124
|
+
var b, C, S;
|
|
5125
|
+
r(!0), (S = (C = (b = n.membership) == null ? void 0 : b.getMe()) == null ? void 0 : C.then((T) => {
|
|
5126
|
+
T ? (p(T), r(!1), f(!0), y == null || y(T)) : (p(null), r(!1), f(!1));
|
|
5127
|
+
})) == null || S.catch((T) => {
|
|
5128
|
+
console.error("Error: ", T), p(null), r(!1), f(!1);
|
|
5129
5129
|
});
|
|
5130
5130
|
}, w = (y) => {
|
|
5131
5131
|
var b;
|
|
5132
5132
|
r(!0), l(!0), (b = n.membership) == null || b.signInWithOtp({
|
|
5133
5133
|
content: y == null ? void 0 : y.email,
|
|
5134
5134
|
code: y == null ? void 0 : y.otp
|
|
5135
|
-
}).then((
|
|
5136
|
-
var S,
|
|
5137
|
-
(
|
|
5135
|
+
}).then((C) => {
|
|
5136
|
+
var S, T;
|
|
5137
|
+
(T = (S = n.membership) == null ? void 0 : S.isLoggedIn()) == null || T.then(() => {
|
|
5138
5138
|
var A;
|
|
5139
|
-
y != null && y.onVerifySuccess && (y == null || y.onVerifySuccess(
|
|
5139
|
+
y != null && y.onVerifySuccess && (y == null || y.onVerifySuccess(C)), p(C), r(!1), l(!1), f(!0), Ah("You are logged in successfully", "Login Successful", {
|
|
5140
5140
|
position: "top-right"
|
|
5141
5141
|
}), (A = n.audience) == null || A.identify();
|
|
5142
5142
|
});
|
|
5143
|
-
}).catch((
|
|
5144
|
-
const S = qs(
|
|
5143
|
+
}).catch((C) => {
|
|
5144
|
+
const S = qs(C);
|
|
5145
5145
|
y != null && y.onVerifyError && (y == null || y.onVerifyError()), (S == null ? void 0 : S.code) === "membership.otp.INVALID_OTP" ? Ln(
|
|
5146
5146
|
Ue == null ? void 0 : Ue.description,
|
|
5147
5147
|
Ue == null ? void 0 : Ue.title,
|
|
@@ -5157,21 +5157,21 @@ const Ln = (e, t = "Error", n = {}) => {
|
|
|
5157
5157
|
), p(null), r(!1), l(!1), f(!1);
|
|
5158
5158
|
});
|
|
5159
5159
|
}, v = (y) => {
|
|
5160
|
-
var b,
|
|
5161
|
-
i(!0), (S = (
|
|
5162
|
-
var
|
|
5163
|
-
y && y(), g(), i(!1), (
|
|
5164
|
-
})) == null || S.catch((
|
|
5160
|
+
var b, C, S;
|
|
5161
|
+
i(!0), (S = (C = (b = n.membership) == null ? void 0 : b.signOut()) == null ? void 0 : C.then(() => {
|
|
5162
|
+
var T;
|
|
5163
|
+
y && y(), g(), i(!1), (T = n.audience) == null || T.identify();
|
|
5164
|
+
})) == null || S.catch((T) => {
|
|
5165
5165
|
Ln(
|
|
5166
|
-
(
|
|
5167
|
-
(
|
|
5166
|
+
(T == null ? void 0 : T.message) || "Error while trying to sign out",
|
|
5167
|
+
(T == null ? void 0 : T.code) || "Network Error",
|
|
5168
5168
|
{
|
|
5169
5169
|
position: "top-right"
|
|
5170
5170
|
}
|
|
5171
5171
|
), i(!1);
|
|
5172
5172
|
});
|
|
5173
5173
|
};
|
|
5174
|
-
return
|
|
5174
|
+
return L(() => {
|
|
5175
5175
|
(t == null ? void 0 : t.slug) === "go-insta-care" && d && dispatchEvent(
|
|
5176
5176
|
new CustomEvent("levoIsLoggedIn", {
|
|
5177
5177
|
detail: {
|
|
@@ -5203,7 +5203,7 @@ const Ln = (e, t = "Error", n = {}) => {
|
|
|
5203
5203
|
);
|
|
5204
5204
|
}, Gg = () => K(ba), wa = xe({}), kh = ({ children: e, value: t }) => {
|
|
5205
5205
|
const [n, s] = O(t.parsedBlockData);
|
|
5206
|
-
|
|
5206
|
+
L(() => {
|
|
5207
5207
|
t.parsedBlockData !== n && s(t.parsedBlockData);
|
|
5208
5208
|
}, [t.parsedBlockData, n]);
|
|
5209
5209
|
const r = te(
|
|
@@ -5414,7 +5414,7 @@ const Xg = (e) => {
|
|
|
5414
5414
|
ref: l,
|
|
5415
5415
|
"data-levo_element_key": n,
|
|
5416
5416
|
"data-levo_element_type": "Box",
|
|
5417
|
-
className:
|
|
5417
|
+
className: _(t, s),
|
|
5418
5418
|
...a,
|
|
5419
5419
|
children: [
|
|
5420
5420
|
/* @__PURE__ */ m(Hs, { backgroundVideo: o == null ? void 0 : o.backgroundVideo }),
|
|
@@ -5425,13 +5425,13 @@ const Xg = (e) => {
|
|
|
5425
5425
|
);
|
|
5426
5426
|
Sa.displayName = "BaseBox";
|
|
5427
5427
|
const Yg = z(Sa);
|
|
5428
|
-
var
|
|
5428
|
+
var Ta = {
|
|
5429
5429
|
color: void 0,
|
|
5430
5430
|
size: void 0,
|
|
5431
5431
|
className: void 0,
|
|
5432
5432
|
style: void 0,
|
|
5433
5433
|
attr: void 0
|
|
5434
|
-
}, mi = M.createContext && /* @__PURE__ */ M.createContext(
|
|
5434
|
+
}, mi = M.createContext && /* @__PURE__ */ M.createContext(Ta), zh = ["attr", "size", "title"];
|
|
5435
5435
|
function Wh(e, t) {
|
|
5436
5436
|
if (e == null) return {};
|
|
5437
5437
|
var n = Uh(e, t), s, r;
|
|
@@ -5500,15 +5500,15 @@ function Gh(e, t) {
|
|
|
5500
5500
|
}
|
|
5501
5501
|
return (t === "string" ? String : Number)(e);
|
|
5502
5502
|
}
|
|
5503
|
-
function
|
|
5503
|
+
function Ca(e) {
|
|
5504
5504
|
return e && e.map((t, n) => /* @__PURE__ */ M.createElement(t.tag, Qt({
|
|
5505
5505
|
key: n
|
|
5506
|
-
}, t.attr),
|
|
5506
|
+
}, t.attr), Ca(t.child)));
|
|
5507
5507
|
}
|
|
5508
5508
|
function Xh(e) {
|
|
5509
5509
|
return (t) => /* @__PURE__ */ M.createElement(Yh, Jt({
|
|
5510
5510
|
attr: Qt({}, e.attr)
|
|
5511
|
-
}, t),
|
|
5511
|
+
}, t), Ca(e.child));
|
|
5512
5512
|
}
|
|
5513
5513
|
function Yh(e) {
|
|
5514
5514
|
var t = (n) => {
|
|
@@ -5531,7 +5531,7 @@ function Yh(e) {
|
|
|
5531
5531
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5532
5532
|
}), o && /* @__PURE__ */ M.createElement("title", null, o), e.children);
|
|
5533
5533
|
};
|
|
5534
|
-
return mi !== void 0 ? /* @__PURE__ */ M.createElement(mi.Consumer, null, (n) => t(n)) : t(
|
|
5534
|
+
return mi !== void 0 ? /* @__PURE__ */ M.createElement(mi.Consumer, null, (n) => t(n)) : t(Ta);
|
|
5535
5535
|
}
|
|
5536
5536
|
function qh(e) {
|
|
5537
5537
|
return Xh({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 22c5.421 0 10-4.579 10-10h-2c0 4.337-3.663 8-8 8s-8-3.663-8-8c0-4.336 3.663-8 8-8V2C6.579 2 2 6.58 2 12c0 5.421 4.579 10 10 10z" }, child: [] }] })(e);
|
|
@@ -5548,7 +5548,7 @@ const Ea = ue(
|
|
|
5548
5548
|
...a
|
|
5549
5549
|
}, l) => {
|
|
5550
5550
|
if (!n) return null;
|
|
5551
|
-
const { kind: c, data: u } = n, d =
|
|
5551
|
+
const { kind: c, data: u } = n, d = _(e, r), f = {
|
|
5552
5552
|
"data-levo_element_key": i ? void 0 : s,
|
|
5553
5553
|
"data-levo_element_type": "Icon",
|
|
5554
5554
|
className: d,
|
|
@@ -5636,7 +5636,7 @@ const Zh = z(Ea), cn = ie.forwardRef(
|
|
|
5636
5636
|
"data-levo_element_key": a,
|
|
5637
5637
|
"data-levo_element_type": "Button",
|
|
5638
5638
|
type: "button",
|
|
5639
|
-
className:
|
|
5639
|
+
className: _(
|
|
5640
5640
|
"inline-flex items-center justify-center",
|
|
5641
5641
|
e,
|
|
5642
5642
|
l
|
|
@@ -5647,7 +5647,7 @@ const Zh = z(Ea), cn = ie.forwardRef(
|
|
|
5647
5647
|
/* @__PURE__ */ m(
|
|
5648
5648
|
qh,
|
|
5649
5649
|
{
|
|
5650
|
-
className:
|
|
5650
|
+
className: _("h-4 w-4 animate-spin", n ? "mr-2" : "")
|
|
5651
5651
|
}
|
|
5652
5652
|
),
|
|
5653
5653
|
n
|
|
@@ -5677,7 +5677,7 @@ const qg = z(cn), Ma = ue(
|
|
|
5677
5677
|
ref: l,
|
|
5678
5678
|
"data-levo_element_key": n,
|
|
5679
5679
|
"data-levo_element_type": "Container",
|
|
5680
|
-
className:
|
|
5680
|
+
className: _(t, s),
|
|
5681
5681
|
...a,
|
|
5682
5682
|
children: [
|
|
5683
5683
|
/* @__PURE__ */ m(Hs, { backgroundVideo: o == null ? void 0 : o.backgroundVideo }),
|
|
@@ -5707,9 +5707,9 @@ const Aa = M.forwardRef(
|
|
|
5707
5707
|
generatedClassName: l,
|
|
5708
5708
|
...c
|
|
5709
5709
|
}, u) => {
|
|
5710
|
-
var
|
|
5710
|
+
var T, A, E;
|
|
5711
5711
|
const d = [Al()];
|
|
5712
|
-
(
|
|
5712
|
+
(T = i == null ? void 0 : i.carousel) != null && T.autoScroll && d.push(
|
|
5713
5713
|
Ml({
|
|
5714
5714
|
speed: i.carousel.speed ?? 2,
|
|
5715
5715
|
startDelay: 0,
|
|
@@ -5736,13 +5736,13 @@ const Aa = M.forwardRef(
|
|
|
5736
5736
|
V && (g(V.canScrollPrev()), v(V.canScrollNext()));
|
|
5737
5737
|
}, []), b = M.useCallback(() => {
|
|
5738
5738
|
h == null || h.scrollPrev();
|
|
5739
|
-
}, [h]),
|
|
5739
|
+
}, [h]), C = M.useCallback(() => {
|
|
5740
5740
|
h == null || h.scrollNext();
|
|
5741
5741
|
}, [h]), S = M.useCallback(
|
|
5742
5742
|
(V) => {
|
|
5743
|
-
V.key === "ArrowLeft" ? (V.preventDefault(), b()) : V.key === "ArrowRight" && (V.preventDefault(),
|
|
5743
|
+
V.key === "ArrowLeft" ? (V.preventDefault(), b()) : V.key === "ArrowRight" && (V.preventDefault(), C());
|
|
5744
5744
|
},
|
|
5745
|
-
[b,
|
|
5745
|
+
[b, C]
|
|
5746
5746
|
);
|
|
5747
5747
|
return M.useEffect(() => {
|
|
5748
5748
|
!h || !n || n(h);
|
|
@@ -5760,7 +5760,7 @@ const Aa = M.forwardRef(
|
|
|
5760
5760
|
opts: t,
|
|
5761
5761
|
orientation: e || ((t == null ? void 0 : t.axis) === "y" ? "vertical" : "horizontal"),
|
|
5762
5762
|
scrollPrev: b,
|
|
5763
|
-
scrollNext:
|
|
5763
|
+
scrollNext: C,
|
|
5764
5764
|
canScrollPrev: p,
|
|
5765
5765
|
canScrollNext: w,
|
|
5766
5766
|
elementKey: o,
|
|
@@ -5773,7 +5773,7 @@ const Aa = M.forwardRef(
|
|
|
5773
5773
|
ref: u,
|
|
5774
5774
|
"data-levo_element_key": o,
|
|
5775
5775
|
onKeyDownCapture: S,
|
|
5776
|
-
className:
|
|
5776
|
+
className: _("relative", l, s),
|
|
5777
5777
|
role: "region",
|
|
5778
5778
|
"aria-roledescription": "carousel",
|
|
5779
5779
|
...c,
|
|
@@ -5791,7 +5791,7 @@ const Jh = M.forwardRef(({ className: e, ...t }, n) => {
|
|
|
5791
5791
|
"div",
|
|
5792
5792
|
{
|
|
5793
5793
|
ref: n,
|
|
5794
|
-
className:
|
|
5794
|
+
className: _(
|
|
5795
5795
|
"flex",
|
|
5796
5796
|
r === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
5797
5797
|
e
|
|
@@ -5809,7 +5809,7 @@ const Qh = M.forwardRef(({ className: e, ...t }, n) => {
|
|
|
5809
5809
|
ref: n,
|
|
5810
5810
|
role: "group",
|
|
5811
5811
|
"aria-roledescription": "slide",
|
|
5812
|
-
className:
|
|
5812
|
+
className: _(
|
|
5813
5813
|
"carousel-item min-w-0 shrink-0 grow-0",
|
|
5814
5814
|
s === "horizontal" ? "pl-4" : "pt-4",
|
|
5815
5815
|
e
|
|
@@ -5826,7 +5826,7 @@ const ep = M.forwardRef(
|
|
|
5826
5826
|
cn,
|
|
5827
5827
|
{
|
|
5828
5828
|
ref: n,
|
|
5829
|
-
className:
|
|
5829
|
+
className: _(
|
|
5830
5830
|
"absolute h-8 w-8 rounded-full",
|
|
5831
5831
|
s === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
5832
5832
|
e
|
|
@@ -5835,7 +5835,7 @@ const ep = M.forwardRef(
|
|
|
5835
5835
|
onClick: r,
|
|
5836
5836
|
...t,
|
|
5837
5837
|
children: [
|
|
5838
|
-
/* @__PURE__ */ m(
|
|
5838
|
+
/* @__PURE__ */ m(Tl, { className: "h-4 w-4" }),
|
|
5839
5839
|
/* @__PURE__ */ m("span", { className: "sr-only", children: "Previous slide" })
|
|
5840
5840
|
]
|
|
5841
5841
|
}
|
|
@@ -5850,7 +5850,7 @@ const tp = M.forwardRef(
|
|
|
5850
5850
|
cn,
|
|
5851
5851
|
{
|
|
5852
5852
|
ref: n,
|
|
5853
|
-
className:
|
|
5853
|
+
className: _(
|
|
5854
5854
|
"absolute h-8 w-8 rounded-full",
|
|
5855
5855
|
s === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
5856
5856
|
e
|
|
@@ -5859,7 +5859,7 @@ const tp = M.forwardRef(
|
|
|
5859
5859
|
onClick: r,
|
|
5860
5860
|
...t,
|
|
5861
5861
|
children: [
|
|
5862
|
-
/* @__PURE__ */ m(
|
|
5862
|
+
/* @__PURE__ */ m(Cl, { className: "h-4 w-4" }),
|
|
5863
5863
|
/* @__PURE__ */ m("span", { className: "sr-only", children: "Next slide" })
|
|
5864
5864
|
]
|
|
5865
5865
|
}
|
|
@@ -5889,7 +5889,7 @@ const Jg = z(Aa), ka = ue(
|
|
|
5889
5889
|
ref: l,
|
|
5890
5890
|
"data-levo_element_key": o,
|
|
5891
5891
|
"data-levo_element_type": "Heading",
|
|
5892
|
-
className:
|
|
5892
|
+
className: _(
|
|
5893
5893
|
t,
|
|
5894
5894
|
i,
|
|
5895
5895
|
!c && "text-muted-foreground"
|
|
@@ -5908,7 +5908,7 @@ const Qg = z(ka), La = ue(
|
|
|
5908
5908
|
ref: o,
|
|
5909
5909
|
"data-levo_element_key": t,
|
|
5910
5910
|
"data-levo_element_type": "Iframe",
|
|
5911
|
-
className:
|
|
5911
|
+
className: _(e, n),
|
|
5912
5912
|
...r,
|
|
5913
5913
|
children: typeof s == "string" ? fs(s) : ""
|
|
5914
5914
|
}
|
|
@@ -5937,7 +5937,7 @@ const ey = z(La), _a = ue(
|
|
|
5937
5937
|
ref: d,
|
|
5938
5938
|
"data-levo_element_key": l,
|
|
5939
5939
|
"data-levo_element_type": "Image",
|
|
5940
|
-
className:
|
|
5940
|
+
className: _(e, c),
|
|
5941
5941
|
alt: n,
|
|
5942
5942
|
src: f == null ? void 0 : f.location,
|
|
5943
5943
|
srcSet: (h = f == null ? void 0 : f.srcset) == null ? void 0 : h.path,
|
|
@@ -6148,7 +6148,7 @@ const rp = (e) => sp.get(e) || null, ip = (e) => {
|
|
|
6148
6148
|
default: e.BackgroundGradient
|
|
6149
6149
|
}))
|
|
6150
6150
|
), fp = Mt(
|
|
6151
|
-
() => Promise.resolve().then(() =>
|
|
6151
|
+
() => Promise.resolve().then(() => Tg).then((e) => ({ default: e.BackgroundWaves }))
|
|
6152
6152
|
), Oa = rn(() => /* @__PURE__ */ m("div", { className: "absolute inset-0 z-[-1] bg-transparent" }));
|
|
6153
6153
|
Oa.displayName = "EffectFallback";
|
|
6154
6154
|
const Ra = rn(
|
|
@@ -6247,7 +6247,7 @@ const Na = ue(
|
|
|
6247
6247
|
ref: l,
|
|
6248
6248
|
"data-levo_element_key": n,
|
|
6249
6249
|
"data-levo_element_type": "Section",
|
|
6250
|
-
className:
|
|
6250
|
+
className: _(t, s),
|
|
6251
6251
|
...a,
|
|
6252
6252
|
children: [
|
|
6253
6253
|
/* @__PURE__ */ m(Hs, { backgroundVideo: o == null ? void 0 : o.backgroundVideo }),
|
|
@@ -6276,7 +6276,7 @@ const iy = z(Na), Ba = ue(
|
|
|
6276
6276
|
ref: l,
|
|
6277
6277
|
"data-levo_element_key": o,
|
|
6278
6278
|
"data-levo_element_type": "Typography",
|
|
6279
|
-
className:
|
|
6279
|
+
className: _(
|
|
6280
6280
|
t,
|
|
6281
6281
|
"levo-paragraph",
|
|
6282
6282
|
i,
|
|
@@ -6304,7 +6304,7 @@ const oy = z(Ba), $a = ue(
|
|
|
6304
6304
|
isVideo: u,
|
|
6305
6305
|
...d
|
|
6306
6306
|
}, f) => {
|
|
6307
|
-
var g, w, v, y, b,
|
|
6307
|
+
var g, w, v, y, b, C, S, T, A, E;
|
|
6308
6308
|
const h = t ?? o;
|
|
6309
6309
|
return h != null && h.location ? u || h.type === "video" || h.location.match(/\.(mp4|webm|ogg|mov)$/i) ? /* @__PURE__ */ R(
|
|
6310
6310
|
"video",
|
|
@@ -6312,14 +6312,14 @@ const oy = z(Ba), $a = ue(
|
|
|
6312
6312
|
ref: f,
|
|
6313
6313
|
"data-levo_element_key": l,
|
|
6314
6314
|
"data-levo_element_type": "Media",
|
|
6315
|
-
className:
|
|
6315
|
+
className: _(e, c),
|
|
6316
6316
|
width: s,
|
|
6317
6317
|
height: r,
|
|
6318
6318
|
autoPlay: (g = i == null ? void 0 : i.media) == null ? void 0 : g.autoPlay,
|
|
6319
6319
|
loop: (w = i == null ? void 0 : i.media) == null ? void 0 : w.loop,
|
|
6320
6320
|
muted: ((v = i == null ? void 0 : i.media) == null ? void 0 : v.muted) !== !1,
|
|
6321
6321
|
controls: (y = i == null ? void 0 : i.media) == null ? void 0 : y.controls,
|
|
6322
|
-
poster: (
|
|
6322
|
+
poster: (C = (b = i == null ? void 0 : i.media) == null ? void 0 : b.poster) == null ? void 0 : C.location,
|
|
6323
6323
|
preload: (S = i == null ? void 0 : i.media) != null && S.high_priority ? "auto" : "metadata",
|
|
6324
6324
|
playsInline: !0,
|
|
6325
6325
|
...d,
|
|
@@ -6340,10 +6340,10 @@ const oy = z(Ba), $a = ue(
|
|
|
6340
6340
|
ref: f,
|
|
6341
6341
|
"data-levo_element_key": l,
|
|
6342
6342
|
"data-levo_element_type": "Media",
|
|
6343
|
-
className:
|
|
6343
|
+
className: _(e, c),
|
|
6344
6344
|
alt: n,
|
|
6345
6345
|
src: h.location,
|
|
6346
|
-
srcSet: (
|
|
6346
|
+
srcSet: (T = h.srcset) == null ? void 0 : T.path,
|
|
6347
6347
|
width: s,
|
|
6348
6348
|
height: r,
|
|
6349
6349
|
decoding: "async",
|
|
@@ -6379,7 +6379,7 @@ const ay = z($a), hp = "_accordionItem_ol1j4_1", pp = "_accordionHeader_ol1j4_10
|
|
|
6379
6379
|
ref: a,
|
|
6380
6380
|
"data-levo_element_key": t,
|
|
6381
6381
|
"data-levo_element_type": "AccordionRoot",
|
|
6382
|
-
className:
|
|
6382
|
+
className: _("AccordionRoot", e, n),
|
|
6383
6383
|
...i
|
|
6384
6384
|
}
|
|
6385
6385
|
)
|
|
@@ -6400,7 +6400,7 @@ const Fa = ie.forwardRef(
|
|
|
6400
6400
|
ref: a,
|
|
6401
6401
|
"data-levo_element_key": t,
|
|
6402
6402
|
"data-levo_element_type": "AccordionItem",
|
|
6403
|
-
className:
|
|
6403
|
+
className: _(Ze.accordionItem, e, n),
|
|
6404
6404
|
...i
|
|
6405
6405
|
}
|
|
6406
6406
|
)
|
|
@@ -6422,7 +6422,7 @@ const Da = ie.forwardRef(
|
|
|
6422
6422
|
ref: l,
|
|
6423
6423
|
"data-levo_element_key": n,
|
|
6424
6424
|
"data-levo_element_type": "AccordionTrigger",
|
|
6425
|
-
className:
|
|
6425
|
+
className: _(Ze.accordionTrigger, e, s),
|
|
6426
6426
|
...a,
|
|
6427
6427
|
children: [
|
|
6428
6428
|
t,
|
|
@@ -6447,7 +6447,7 @@ const za = ie.forwardRef(
|
|
|
6447
6447
|
yt.Content,
|
|
6448
6448
|
{
|
|
6449
6449
|
ref: c,
|
|
6450
|
-
className:
|
|
6450
|
+
className: _(Ze.accordionContent, e),
|
|
6451
6451
|
style: a,
|
|
6452
6452
|
...l,
|
|
6453
6453
|
children: /* @__PURE__ */ m(
|
|
@@ -6455,7 +6455,7 @@ const za = ie.forwardRef(
|
|
|
6455
6455
|
{
|
|
6456
6456
|
"data-levo_element_key": n,
|
|
6457
6457
|
"data-levo_element_type": "AccordionContent",
|
|
6458
|
-
className:
|
|
6458
|
+
className: _(Ze.accordionContentText, s),
|
|
6459
6459
|
children: t
|
|
6460
6460
|
}
|
|
6461
6461
|
)
|
|
@@ -6463,11 +6463,11 @@ const za = ie.forwardRef(
|
|
|
6463
6463
|
)
|
|
6464
6464
|
);
|
|
6465
6465
|
za.displayName = "BaseAccordionContent";
|
|
6466
|
-
const ly = z(ja), cy = z(Fa), uy = z(Da), dy = z(za), xp = "_popoverContent_e5njk_1", Sp = "_fadeIn_e5njk_1",
|
|
6466
|
+
const ly = z(ja), cy = z(Fa), uy = z(Da), dy = z(za), xp = "_popoverContent_e5njk_1", Sp = "_fadeIn_e5njk_1", Tp = "_zoomIn_e5njk_1", Cp = "_fadeOut_e5njk_1", Ep = "_zoomOut_e5njk_1", Mp = "_slideFromTop_e5njk_1", Pp = "_slideFromRight_e5njk_1", Ap = "_slideFromLeft_e5njk_1", kp = "_slideFromBottom_e5njk_1", yi = {
|
|
6467
6467
|
popoverContent: xp,
|
|
6468
6468
|
fadeIn: Sp,
|
|
6469
|
-
zoomIn:
|
|
6470
|
-
fadeOut:
|
|
6469
|
+
zoomIn: Tp,
|
|
6470
|
+
fadeOut: Cp,
|
|
6471
6471
|
zoomOut: Ep,
|
|
6472
6472
|
slideFromTop: Mp,
|
|
6473
6473
|
slideFromRight: Pp,
|
|
@@ -6488,7 +6488,7 @@ const ly = z(ja), cy = z(Fa), uy = z(Da), dy = z(za), xp = "_popoverContent_e5nj
|
|
|
6488
6488
|
ref: a,
|
|
6489
6489
|
"data-levo_element_key": t,
|
|
6490
6490
|
"data-levo_element_type": "PopoverTrigger",
|
|
6491
|
-
className:
|
|
6491
|
+
className: _("PopoverTrigger", e, n),
|
|
6492
6492
|
...i
|
|
6493
6493
|
}
|
|
6494
6494
|
)
|
|
@@ -6515,7 +6515,7 @@ const Ua = ie.forwardRef(
|
|
|
6515
6515
|
sideOffset: c,
|
|
6516
6516
|
"data-levo_element_key": t,
|
|
6517
6517
|
"data-levo_element_type": "PopoverContent",
|
|
6518
|
-
className:
|
|
6518
|
+
className: _(yi.popoverContent, e, n),
|
|
6519
6519
|
...u
|
|
6520
6520
|
}
|
|
6521
6521
|
) }) : /* @__PURE__ */ m(
|
|
@@ -6526,7 +6526,7 @@ const Ua = ie.forwardRef(
|
|
|
6526
6526
|
sideOffset: c,
|
|
6527
6527
|
"data-levo_element_key": t,
|
|
6528
6528
|
"data-levo_element_type": "PopoverContent",
|
|
6529
|
-
className:
|
|
6529
|
+
className: _(yi.popoverContent, e, n),
|
|
6530
6530
|
...u
|
|
6531
6531
|
}
|
|
6532
6532
|
) })
|
|
@@ -6550,7 +6550,7 @@ const hy = z(Wa), py = z(Ua), Ha = ue(
|
|
|
6550
6550
|
ref: l,
|
|
6551
6551
|
"data-levo_element_key": o,
|
|
6552
6552
|
"data-levo_element_type": "Link",
|
|
6553
|
-
className:
|
|
6553
|
+
className: _(t, i),
|
|
6554
6554
|
href: c,
|
|
6555
6555
|
...a,
|
|
6556
6556
|
children: e
|
|
@@ -6565,7 +6565,7 @@ const my = z(Ha), Lp = ({ elementKey: e, generatedClassName: t, config: n, class
|
|
|
6565
6565
|
"div",
|
|
6566
6566
|
{
|
|
6567
6567
|
"data-levo_element_key": e,
|
|
6568
|
-
className:
|
|
6568
|
+
className: _(s, t),
|
|
6569
6569
|
children: /* @__PURE__ */ m(
|
|
6570
6570
|
Ll,
|
|
6571
6571
|
{
|
|
@@ -6734,7 +6734,7 @@ const my = z(Ha), Lp = ({ elementKey: e, generatedClassName: t, config: n, class
|
|
|
6734
6734
|
} catch (n) {
|
|
6735
6735
|
return console.log("Error converting OKLCH to RGBA:", n), t;
|
|
6736
6736
|
}
|
|
6737
|
-
},
|
|
6737
|
+
}, Ty = (e) => {
|
|
6738
6738
|
let { l: t, c: n, h: s, alpha: r = 1 } = e;
|
|
6739
6739
|
t = Math.max(0, Math.min(1, t)), n = Math.max(0, Math.min(0.4, n)), s = (s % 360 + 360) % 360;
|
|
6740
6740
|
let o = n;
|
|
@@ -6751,7 +6751,7 @@ const my = z(Ha), Lp = ({ elementKey: e, generatedClassName: t, config: n, class
|
|
|
6751
6751
|
oklch: a,
|
|
6752
6752
|
hex: Y(a)
|
|
6753
6753
|
};
|
|
6754
|
-
},
|
|
6754
|
+
}, Cy = ["element", "group"], Vp = [
|
|
6755
6755
|
// Elements
|
|
6756
6756
|
"BoxWidget",
|
|
6757
6757
|
"ButtonWidget",
|
|
@@ -7020,11 +7020,11 @@ function Fp({
|
|
|
7020
7020
|
let b;
|
|
7021
7021
|
return b = jp(
|
|
7022
7022
|
d,
|
|
7023
|
-
(
|
|
7023
|
+
(C, S) => {
|
|
7024
7024
|
g({
|
|
7025
|
-
inView:
|
|
7025
|
+
inView: C,
|
|
7026
7026
|
entry: S
|
|
7027
|
-
}), h.current && h.current(
|
|
7027
|
+
}), h.current && h.current(C, S), S.isIntersecting && o && b && (b(), b = void 0);
|
|
7028
7028
|
},
|
|
7029
7029
|
{
|
|
7030
7030
|
root: r,
|
|
@@ -7116,10 +7116,10 @@ function zp() {
|
|
|
7116
7116
|
e.getLegalStateTransitionPath = o, e.isBrowser = typeof window < "u";
|
|
7117
7117
|
}(On)), On;
|
|
7118
7118
|
}
|
|
7119
|
-
var
|
|
7119
|
+
var Ti;
|
|
7120
7120
|
function Wp() {
|
|
7121
|
-
if (
|
|
7122
|
-
|
|
7121
|
+
if (Ti) return lt;
|
|
7122
|
+
Ti = 1, Object.defineProperty(lt, "__esModule", { value: !0 }), lt.usePageLifecycle = void 0;
|
|
7123
7123
|
const e = M, t = /* @__PURE__ */ Xa(), n = /* @__PURE__ */ dn(), s = /* @__PURE__ */ zp(), r = () => {
|
|
7124
7124
|
const [o, i] = (0, e.useState)((0, s.getCurrentState)()), a = (0, e.useRef)(o), l = (0, e.useCallback)((d) => {
|
|
7125
7125
|
const f = a.current;
|
|
@@ -7171,9 +7171,9 @@ function Wp() {
|
|
|
7171
7171
|
};
|
|
7172
7172
|
return lt.usePageLifecycle = r, lt;
|
|
7173
7173
|
}
|
|
7174
|
-
var
|
|
7174
|
+
var Ci;
|
|
7175
7175
|
function Up() {
|
|
7176
|
-
return
|
|
7176
|
+
return Ci || (Ci = 1, function(e) {
|
|
7177
7177
|
var t = at.__createBinding || (Object.create ? function(s, r, o, i) {
|
|
7178
7178
|
i === void 0 && (i = o);
|
|
7179
7179
|
var a = Object.getOwnPropertyDescriptor(r, o);
|
|
@@ -7193,7 +7193,7 @@ const Xp = ({ id: e, properties: t = {} }) => {
|
|
|
7193
7193
|
const { audience: n } = Se(), { ref: s, inView: r } = Fp({
|
|
7194
7194
|
triggerOnce: !0
|
|
7195
7195
|
});
|
|
7196
|
-
return
|
|
7196
|
+
return L(() => {
|
|
7197
7197
|
n != null && n.instance && r && (n == null || n.track("block.view", {
|
|
7198
7198
|
...t,
|
|
7199
7199
|
resource: "block",
|
|
@@ -7265,39 +7265,39 @@ function wm(e, t, n) {
|
|
|
7265
7265
|
if (typeof e != "function")
|
|
7266
7266
|
throw new TypeError(ym);
|
|
7267
7267
|
t = Pi(t) || 0, os(n) && (u = !!n.leading, d = "maxWait" in n, o = d ? vm(Pi(n.maxWait) || 0, t) : o, f = "trailing" in n ? !!n.trailing : f);
|
|
7268
|
-
function h(
|
|
7268
|
+
function h(T) {
|
|
7269
7269
|
var A = s, E = r;
|
|
7270
|
-
return s = r = void 0, c =
|
|
7270
|
+
return s = r = void 0, c = T, i = e.apply(E, A), i;
|
|
7271
7271
|
}
|
|
7272
|
-
function p(
|
|
7273
|
-
return c =
|
|
7272
|
+
function p(T) {
|
|
7273
|
+
return c = T, a = setTimeout(v, t), u ? h(T) : i;
|
|
7274
7274
|
}
|
|
7275
|
-
function g(
|
|
7276
|
-
var A =
|
|
7275
|
+
function g(T) {
|
|
7276
|
+
var A = T - l, E = T - c, V = t - A;
|
|
7277
7277
|
return d ? bm(V, o - E) : V;
|
|
7278
7278
|
}
|
|
7279
|
-
function w(
|
|
7280
|
-
var A =
|
|
7279
|
+
function w(T) {
|
|
7280
|
+
var A = T - l, E = T - c;
|
|
7281
7281
|
return l === void 0 || A >= t || A < 0 || d && E >= o;
|
|
7282
7282
|
}
|
|
7283
7283
|
function v() {
|
|
7284
|
-
var
|
|
7285
|
-
if (w(
|
|
7286
|
-
return y(
|
|
7287
|
-
a = setTimeout(v, g(
|
|
7284
|
+
var T = Rn();
|
|
7285
|
+
if (w(T))
|
|
7286
|
+
return y(T);
|
|
7287
|
+
a = setTimeout(v, g(T));
|
|
7288
7288
|
}
|
|
7289
|
-
function y(
|
|
7290
|
-
return a = void 0, f && s ? h(
|
|
7289
|
+
function y(T) {
|
|
7290
|
+
return a = void 0, f && s ? h(T) : (s = r = void 0, i);
|
|
7291
7291
|
}
|
|
7292
7292
|
function b() {
|
|
7293
7293
|
a !== void 0 && clearTimeout(a), c = 0, s = l = r = a = void 0;
|
|
7294
7294
|
}
|
|
7295
|
-
function
|
|
7295
|
+
function C() {
|
|
7296
7296
|
return a === void 0 ? i : y(Rn());
|
|
7297
7297
|
}
|
|
7298
7298
|
function S() {
|
|
7299
|
-
var
|
|
7300
|
-
if (s = arguments, r = this, l =
|
|
7299
|
+
var T = Rn(), A = w(T);
|
|
7300
|
+
if (s = arguments, r = this, l = T, A) {
|
|
7301
7301
|
if (a === void 0)
|
|
7302
7302
|
return p(l);
|
|
7303
7303
|
if (d)
|
|
@@ -7305,7 +7305,7 @@ function wm(e, t, n) {
|
|
|
7305
7305
|
}
|
|
7306
7306
|
return a === void 0 && (a = setTimeout(v, t)), i;
|
|
7307
7307
|
}
|
|
7308
|
-
return S.cancel = b, S.flush =
|
|
7308
|
+
return S.cancel = b, S.flush = C, S;
|
|
7309
7309
|
}
|
|
7310
7310
|
const xm = () => {
|
|
7311
7311
|
const [e, t] = O(0), [n, s] = O(0), [r, o] = O(0), [i, a] = O(Date.now()), [l, c] = O("read"), u = wm(() => {
|
|
@@ -7317,10 +7317,10 @@ const xm = () => {
|
|
|
7317
7317
|
const w = Date.now(), v = (w - i) / 1e3, y = Math.abs(d - r) / v;
|
|
7318
7318
|
c(y > 300 ? "scan" : "read"), o(d), a(w), s(g), t(g);
|
|
7319
7319
|
}, 250);
|
|
7320
|
-
return
|
|
7320
|
+
return L(() => (window.addEventListener("scroll", u), () => window.removeEventListener("scroll", u)), []), { depth: e, speedCategory: l };
|
|
7321
7321
|
}, Sm = () => {
|
|
7322
7322
|
const e = Se(), [t, n] = O(0);
|
|
7323
|
-
return
|
|
7323
|
+
return L(() => {
|
|
7324
7324
|
const s = Number(localStorage.getItem(e.audience.storage_keys.open_tabs)) || 0;
|
|
7325
7325
|
n(s), localStorage.setItem(
|
|
7326
7326
|
e.audience.storage_keys.open_tabs,
|
|
@@ -7341,9 +7341,9 @@ const xm = () => {
|
|
|
7341
7341
|
window.removeEventListener("storage", r), window.removeEventListener("beforeunload", o);
|
|
7342
7342
|
};
|
|
7343
7343
|
}, []), t;
|
|
7344
|
-
},
|
|
7344
|
+
}, Tm = () => {
|
|
7345
7345
|
const e = Se(), [t, n] = O(null);
|
|
7346
|
-
return
|
|
7346
|
+
return L(() => {
|
|
7347
7347
|
let s = sessionStorage.getItem(
|
|
7348
7348
|
e.audience.storage_keys.current_tab
|
|
7349
7349
|
);
|
|
@@ -7370,7 +7370,7 @@ const xm = () => {
|
|
|
7370
7370
|
window.removeEventListener("beforeunload", o);
|
|
7371
7371
|
};
|
|
7372
7372
|
}, []), t;
|
|
7373
|
-
}, tn = (e) => Object.prototype.toString.call(e) == "[object String]",
|
|
7373
|
+
}, tn = (e) => Object.prototype.toString.call(e) == "[object String]", Cm = (e, t) => e.indexOf(t) !== -1, fn = (e) => e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""), Za = (e) => e === void 0, Em = (e) => e === null, Ja = (e) => Za(e) || Em(e), Qa = (e) => !!e && (e == null ? void 0 : e.nodeType) === 3;
|
|
7374
7374
|
function Mm(e) {
|
|
7375
7375
|
return !!e && (e == null ? void 0 : e.nodeType) === 1;
|
|
7376
7376
|
}
|
|
@@ -7425,7 +7425,7 @@ const Ie = (e, t = 255) => Ja(e) ? "" : fn(e).split(/(\s+)/).filter((n) => Gs(n)
|
|
|
7425
7425
|
}
|
|
7426
7426
|
};
|
|
7427
7427
|
function Vm(e) {
|
|
7428
|
-
if (
|
|
7428
|
+
if (Cm(km(e), "ph-include"))
|
|
7429
7429
|
return !0;
|
|
7430
7430
|
const t = e.type || "";
|
|
7431
7431
|
if (tn(t))
|
|
@@ -7515,7 +7515,7 @@ class Um {
|
|
|
7515
7515
|
}
|
|
7516
7516
|
const Ai = new Um(), Hm = () => {
|
|
7517
7517
|
const { audience: e } = Se();
|
|
7518
|
-
|
|
7518
|
+
L(() => {
|
|
7519
7519
|
let t = null;
|
|
7520
7520
|
const n = (o) => {
|
|
7521
7521
|
if (t) {
|
|
@@ -7584,7 +7584,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7584
7584
|
value: null,
|
|
7585
7585
|
timestamp: null
|
|
7586
7586
|
});
|
|
7587
|
-
return
|
|
7587
|
+
return L(() => {
|
|
7588
7588
|
let a = !0;
|
|
7589
7589
|
const l = (d, f) => {
|
|
7590
7590
|
a && d({ value: Ft(f), timestamp: Ft(Date.now()) });
|
|
@@ -7597,19 +7597,19 @@ const Ai = new Um(), Hm = () => {
|
|
|
7597
7597
|
return document.readyState === "complete" ? l(i, performance.now()) : window.addEventListener("load", u), () => {
|
|
7598
7598
|
a = !1, c.disconnect(), window.removeEventListener("load", u);
|
|
7599
7599
|
};
|
|
7600
|
-
}, []),
|
|
7600
|
+
}, []), L(() => {
|
|
7601
7601
|
n && t && (t == null || t.track("page.metrics", {
|
|
7602
7602
|
script_load: n.value,
|
|
7603
7603
|
script_load_at: n.timestamp,
|
|
7604
7604
|
version: 2
|
|
7605
7605
|
}));
|
|
7606
|
-
}, [n, t]),
|
|
7606
|
+
}, [n, t]), L(() => {
|
|
7607
7607
|
s.value !== null && t && (t == null || t.track("page.metrics", {
|
|
7608
7608
|
first_contentful_paint: s.value,
|
|
7609
7609
|
first_contentful_paint_at: s.timestamp,
|
|
7610
7610
|
version: 2
|
|
7611
7611
|
}));
|
|
7612
|
-
}, [s, t]),
|
|
7612
|
+
}, [s, t]), L(() => {
|
|
7613
7613
|
o.value !== null && t && (t == null || t.track("page.metrics", {
|
|
7614
7614
|
window_onload: o.value,
|
|
7615
7615
|
window_onload_at: o.timestamp,
|
|
@@ -7618,7 +7618,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7618
7618
|
}, [o, t]), { script: n, fcp: s, window_onload: o };
|
|
7619
7619
|
}, Gm = () => {
|
|
7620
7620
|
const { audience: e } = Se();
|
|
7621
|
-
|
|
7621
|
+
L(() => {
|
|
7622
7622
|
let t;
|
|
7623
7623
|
const n = () => {
|
|
7624
7624
|
clearTimeout(t), t = setTimeout(() => {
|
|
@@ -7637,7 +7637,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7637
7637
|
}, []);
|
|
7638
7638
|
}, ki = "lv_insights_st", Xm = 15 * 60 * 1e3, Ym = (e = "https://cachefly.cachefly.net/1mb.test") => {
|
|
7639
7639
|
const [t, n] = O(null);
|
|
7640
|
-
return
|
|
7640
|
+
return L(() => {
|
|
7641
7641
|
const s = localStorage.getItem(ki);
|
|
7642
7642
|
if (s) {
|
|
7643
7643
|
const { speed: a, timestamp: l } = JSON.parse(s);
|
|
@@ -7675,7 +7675,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7675
7675
|
href: n
|
|
7676
7676
|
}) => {
|
|
7677
7677
|
const s = Se();
|
|
7678
|
-
|
|
7678
|
+
L(() => {
|
|
7679
7679
|
(() => {
|
|
7680
7680
|
var r, o;
|
|
7681
7681
|
s != null && s.insightsUrl && s.workspace && n && ((r = s == null ? void 0 : s.audience) != null && r.instance ? s == null || s.audience.instance.page({
|
|
@@ -7687,7 +7687,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7687
7687
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
7688
7688
|
}));
|
|
7689
7689
|
})();
|
|
7690
|
-
}, [s == null ? void 0 : s.insightsUrl, s == null ? void 0 : s.workspace, n]),
|
|
7690
|
+
}, [s == null ? void 0 : s.insightsUrl, s == null ? void 0 : s.workspace, n]), L(() => {
|
|
7691
7691
|
const r = (o) => {
|
|
7692
7692
|
var i;
|
|
7693
7693
|
const a = localStorage.getItem(
|
|
@@ -7703,7 +7703,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7703
7703
|
}, []);
|
|
7704
7704
|
}, Zm = ({ id: e }) => {
|
|
7705
7705
|
const t = Se();
|
|
7706
|
-
|
|
7706
|
+
L(() => {
|
|
7707
7707
|
const s = () => {
|
|
7708
7708
|
var r, o;
|
|
7709
7709
|
const i = (r = performance.getEntriesByType(
|
|
@@ -7730,7 +7730,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7730
7730
|
};
|
|
7731
7731
|
}, [t == null ? void 0 : t.audience, e]);
|
|
7732
7732
|
const [n] = jt.usePageLifecycle();
|
|
7733
|
-
|
|
7733
|
+
L(() => {
|
|
7734
7734
|
var s;
|
|
7735
7735
|
(n === jt.LifecycleState.HIDDEN || n === jt.LifecycleState.UNKNOWN || n === jt.LifecycleState.FROZEN) && ((s = t == null ? void 0 : t.audience) == null || s.bounce({
|
|
7736
7736
|
resource: "page",
|
|
@@ -7741,13 +7741,13 @@ const Ai = new Um(), Hm = () => {
|
|
|
7741
7741
|
}, Jm = ({ id: e, properties: t = {} }) => {
|
|
7742
7742
|
var n;
|
|
7743
7743
|
const s = typeof window < "u" ? window.location.href : "", r = Se();
|
|
7744
|
-
|
|
7744
|
+
L(() => {
|
|
7745
7745
|
r && typeof window < "u" && (window.levo_client = r);
|
|
7746
|
-
}, [r]),
|
|
7746
|
+
}, [r]), L(() => {
|
|
7747
7747
|
r != null && r.audience && typeof window < "u" && (window.levo_audience = r == null ? void 0 : r.audience);
|
|
7748
|
-
}, []), Sm(),
|
|
7748
|
+
}, []), Sm(), Tm(), Hm();
|
|
7749
7749
|
const o = Ym();
|
|
7750
|
-
|
|
7750
|
+
L(() => {
|
|
7751
7751
|
var a;
|
|
7752
7752
|
(a = r == null ? void 0 : r.audience) != null && a.instance && o && (r == null || r.audience.track("user.speedtest", {
|
|
7753
7753
|
speed: o,
|
|
@@ -7755,7 +7755,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7755
7755
|
}));
|
|
7756
7756
|
}, [o]);
|
|
7757
7757
|
const i = xm();
|
|
7758
|
-
return
|
|
7758
|
+
return L(() => {
|
|
7759
7759
|
var a;
|
|
7760
7760
|
(a = r == null ? void 0 : r.audience) != null && a.instance && (r == null || r.audience.track("page.scroll", {
|
|
7761
7761
|
resource: "page",
|
|
@@ -7772,7 +7772,7 @@ const Ai = new Um(), Hm = () => {
|
|
|
7772
7772
|
href: s,
|
|
7773
7773
|
id: e,
|
|
7774
7774
|
properties: t
|
|
7775
|
-
}), Zm({ id: e }),
|
|
7775
|
+
}), Zm({ id: e }), L(() => {
|
|
7776
7776
|
const a = {
|
|
7777
7777
|
change: "form.change",
|
|
7778
7778
|
submit: "form.submit",
|
|
@@ -8382,30 +8382,48 @@ const _y = as.getInstance(), eg = {
|
|
|
8382
8382
|
}
|
|
8383
8383
|
}, Li = {
|
|
8384
8384
|
block: {
|
|
8385
|
-
hover:
|
|
8386
|
-
selected:
|
|
8385
|
+
hover: { border: "1px solid black" },
|
|
8386
|
+
selected: { border: "1px solid black" }
|
|
8387
8387
|
},
|
|
8388
8388
|
element: {
|
|
8389
|
-
hover:
|
|
8390
|
-
selected:
|
|
8389
|
+
hover: { border: "1px solid black" },
|
|
8390
|
+
selected: { border: "2px solid black" }
|
|
8391
8391
|
},
|
|
8392
8392
|
repeatable: {
|
|
8393
|
-
hover:
|
|
8394
|
-
selected:
|
|
8393
|
+
hover: { outline: "1px solid #60a5fa" },
|
|
8394
|
+
selected: { outline: "1px solid #60a5fa" }
|
|
8395
8395
|
},
|
|
8396
8396
|
repeatableParent: {
|
|
8397
|
-
hover:
|
|
8398
|
-
selected:
|
|
8397
|
+
hover: { outline: "1px solid #d8b4fe" },
|
|
8398
|
+
selected: { outline: "1px solid #d8b4fe" }
|
|
8399
8399
|
}
|
|
8400
8400
|
}, sg = {
|
|
8401
8401
|
repeatable: {
|
|
8402
|
-
container:
|
|
8403
|
-
|
|
8402
|
+
container: {
|
|
8403
|
+
width: "max-content",
|
|
8404
|
+
borderTopRightRadius: "6px",
|
|
8405
|
+
backgroundColor: "#dbeafe",
|
|
8406
|
+
padding: "4px"
|
|
8407
|
+
},
|
|
8408
|
+
text: {
|
|
8409
|
+
fontSize: "12px",
|
|
8410
|
+
fontWeight: 500,
|
|
8411
|
+
color: "#3b82f6"
|
|
8412
|
+
},
|
|
8404
8413
|
label: "Group Item"
|
|
8405
8414
|
},
|
|
8406
8415
|
repeatableParent: {
|
|
8407
|
-
container:
|
|
8408
|
-
|
|
8416
|
+
container: {
|
|
8417
|
+
width: "min-content",
|
|
8418
|
+
borderTopRightRadius: "6px",
|
|
8419
|
+
backgroundColor: "#f3e8ff",
|
|
8420
|
+
padding: "4px"
|
|
8421
|
+
},
|
|
8422
|
+
text: {
|
|
8423
|
+
fontSize: "12px",
|
|
8424
|
+
fontWeight: 500,
|
|
8425
|
+
color: "#8b5cf6"
|
|
8426
|
+
},
|
|
8409
8427
|
label: "Group"
|
|
8410
8428
|
}
|
|
8411
8429
|
}, rg = ({
|
|
@@ -8418,32 +8436,45 @@ const _y = as.getInstance(), eg = {
|
|
|
8418
8436
|
return /* @__PURE__ */ m(
|
|
8419
8437
|
"div",
|
|
8420
8438
|
{
|
|
8421
|
-
className: `pointer-events-none absolute transition-opacity duration-200 ${Li[s][o ? "selected" : "hover"]}`,
|
|
8422
8439
|
style: {
|
|
8440
|
+
pointerEvents: "none",
|
|
8441
|
+
position: "absolute",
|
|
8442
|
+
transition: "opacity 200ms",
|
|
8423
8443
|
top: 0,
|
|
8424
8444
|
left: 0,
|
|
8425
8445
|
transform: `translate3d(${r.rect.left}px, ${r.rect.top}px, 0)`,
|
|
8426
8446
|
width: r.rect.width,
|
|
8427
8447
|
height: r.rect.height,
|
|
8428
8448
|
opacity: t ? 0 : 1,
|
|
8429
|
-
zIndex: ig(s)
|
|
8449
|
+
zIndex: ig(s),
|
|
8450
|
+
...Li[s][o ? "selected" : "hover"]
|
|
8430
8451
|
},
|
|
8431
8452
|
children: i && a && /* @__PURE__ */ m(
|
|
8432
8453
|
"div",
|
|
8433
8454
|
{
|
|
8434
|
-
className: L("hover:hidden", a.container),
|
|
8435
8455
|
style: {
|
|
8436
8456
|
position: "absolute",
|
|
8437
8457
|
top: "-33px",
|
|
8438
|
-
left: "-4px"
|
|
8458
|
+
left: "-4px",
|
|
8459
|
+
...a.container
|
|
8439
8460
|
},
|
|
8440
|
-
|
|
8461
|
+
onMouseEnter: (l) => l.currentTarget.style.display = "none",
|
|
8462
|
+
onMouseLeave: (l) => l.currentTarget.style.display = "block",
|
|
8463
|
+
children: /* @__PURE__ */ m("span", { style: a.text, children: a.label })
|
|
8441
8464
|
}
|
|
8442
8465
|
)
|
|
8443
8466
|
}
|
|
8444
8467
|
);
|
|
8445
8468
|
};
|
|
8446
|
-
return /* @__PURE__ */ m("div", {
|
|
8469
|
+
return /* @__PURE__ */ m("div", { style: {
|
|
8470
|
+
pointerEvents: "none",
|
|
8471
|
+
position: "fixed",
|
|
8472
|
+
top: 0,
|
|
8473
|
+
right: 0,
|
|
8474
|
+
bottom: 0,
|
|
8475
|
+
left: 0,
|
|
8476
|
+
zIndex: 50
|
|
8477
|
+
}, children: Object.entries(Li).map(([s]) => /* @__PURE__ */ R(ds, { children: [
|
|
8447
8478
|
n(
|
|
8448
8479
|
s,
|
|
8449
8480
|
e.hovered[s],
|
|
@@ -8637,14 +8668,14 @@ const og = () => {
|
|
|
8637
8668
|
}, c = Ol(() => {
|
|
8638
8669
|
s(!1), t((u) => Oi(u));
|
|
8639
8670
|
}, 200);
|
|
8640
|
-
return
|
|
8671
|
+
return L(() => {
|
|
8641
8672
|
const u = setInterval(() => {
|
|
8642
8673
|
t((d) => Oi(d));
|
|
8643
8674
|
}, 2e3);
|
|
8644
8675
|
return () => {
|
|
8645
8676
|
clearInterval(u);
|
|
8646
8677
|
};
|
|
8647
|
-
}, []),
|
|
8678
|
+
}, []), L(() => (document.addEventListener("mouseover", r), document.addEventListener("mouseleave", o), document.addEventListener("click", i), document.addEventListener("scroll", l), window.addEventListener("message", a), window.parent.postMessage({ type: "PREVIEW_READY" }, "*"), () => {
|
|
8648
8679
|
document.removeEventListener("mouseover", r), document.removeEventListener("mouseleave", o), document.removeEventListener("click", i), document.removeEventListener("scroll", l), window.removeEventListener("message", a), c.cancel();
|
|
8649
8680
|
}), [n]), /* @__PURE__ */ m(rg, { selections: e, isScrolling: n });
|
|
8650
8681
|
}, Ri = "levoContent_", Ii = {
|
|
@@ -9219,7 +9250,7 @@ const og = () => {
|
|
|
9219
9250
|
fontUrl: t.length ? `https://fonts.googleapis.com/css2?${t.map((r) => `family=${r}:wght@300;400;500;600;700;900`).join("&")}&display=swap` : ""
|
|
9220
9251
|
};
|
|
9221
9252
|
}, dg = (e) => {
|
|
9222
|
-
var t, n, s, r, o, i, a, l, c, u, d, f, h, p, g, w, v, y, b,
|
|
9253
|
+
var t, n, s, r, o, i, a, l, c, u, d, f, h, p, g, w, v, y, b, C, S, T, A, E;
|
|
9223
9254
|
return {
|
|
9224
9255
|
"--color-brand": Y((n = (t = e.colors) == null ? void 0 : t.brand) == null ? void 0 : n.main),
|
|
9225
9256
|
"--color-brand-foreground": Y((r = (s = e.colors) == null ? void 0 : s.brand) == null ? void 0 : r.foreground),
|
|
@@ -9238,9 +9269,9 @@ const og = () => {
|
|
|
9238
9269
|
"--color-icon-primary": Y((v = e.colors) == null ? void 0 : v.iconPrimary),
|
|
9239
9270
|
"--color-icon-secondary": Y((y = e.colors) == null ? void 0 : y.iconSecondary),
|
|
9240
9271
|
"--font-heading": ((b = e.fonts) == null ? void 0 : b.heading) || "",
|
|
9241
|
-
"--font-body": ((
|
|
9272
|
+
"--font-body": ((C = e.fonts) == null ? void 0 : C.body) || "",
|
|
9242
9273
|
"--base-radius": `${((S = e.sizes) == null ? void 0 : S.radius) || "4px"}`,
|
|
9243
|
-
"--base-spacing": `${((
|
|
9274
|
+
"--base-spacing": `${((T = e.sizes) == null ? void 0 : T.spacing) || "4px"}`,
|
|
9244
9275
|
"--base-font-size": `${((A = e.sizes) == null ? void 0 : A.fontSize) || "1rem"}`,
|
|
9245
9276
|
"--default-shadow": ((E = e.effects) == null ? void 0 : E.shadow) || "0 2px 4px rgba(0, 0, 0, 0.1)"
|
|
9246
9277
|
};
|
|
@@ -9310,10 +9341,8 @@ ${a}}
|
|
|
9310
9341
|
}
|
|
9311
9342
|
`;
|
|
9312
9343
|
let t = `
|
|
9313
|
-
[data-levo-element='page']{
|
|
9314
9344
|
background-color: var(--color-page);
|
|
9315
|
-
|
|
9316
|
-
`;
|
|
9345
|
+
`;
|
|
9317
9346
|
return Object.entries(e.components).forEach(
|
|
9318
9347
|
([n, s]) => {
|
|
9319
9348
|
if (!s) return;
|
|
@@ -9367,12 +9396,12 @@ ${a}}
|
|
|
9367
9396
|
html: `${c}${u}`
|
|
9368
9397
|
};
|
|
9369
9398
|
}, pg = (e, t) => {
|
|
9370
|
-
var b,
|
|
9399
|
+
var b, C, S, T, A, E, V, U, ee, Te, je, me, Fe, De;
|
|
9371
9400
|
const n = e == null ? void 0 : e.meta, s = (b = e == null ? void 0 : e.site) == null ? void 0 : b.theme, r = (n == null ? void 0 : n.og_url) || t, o = Ys({
|
|
9372
9401
|
pageTheme: s,
|
|
9373
9402
|
blocks: e == null ? void 0 : e.blocks,
|
|
9374
9403
|
pageID: e == null ? void 0 : e.id
|
|
9375
|
-
}).html, i = (n == null ? void 0 : n.meta_title) || `${e == null ? void 0 : e.title} | ${(
|
|
9404
|
+
}).html, i = (n == null ? void 0 : n.meta_title) || `${e == null ? void 0 : e.title} | ${(C = e == null ? void 0 : e.site) == null ? void 0 : C.name}`, a = (n == null ? void 0 : n.meta_description) || (e == null ? void 0 : e.description), l = (S = e == null ? void 0 : e.site) != null && S.domain ? `https://${(T = e == null ? void 0 : e.site) == null ? void 0 : T.domain}${t}` : t, c = (n == null ? void 0 : n.og_title) || (n == null ? void 0 : n.meta_title) || `${e == null ? void 0 : e.title} | ${(A = e.site) == null ? void 0 : A.name}`, u = (n == null ? void 0 : n.og_description) || (n == null ? void 0 : n.meta_description) || (e == null ? void 0 : e.description), d = (E = e == null ? void 0 : e.site) != null && E.domain ? `https://${(V = e == null ? void 0 : e.site) == null ? void 0 : V.domain}${r}` : r, f = (U = e.site) == null ? void 0 : U.name, h = (ee = n == null ? void 0 : n.og_image) == null ? void 0 : ee.location, p = n != null && n.disable_indexing ? "noindex, nofollow" : "all", g = ((je = (Te = e == null ? void 0 : e.site) == null ? void 0 : Te.icon) == null ? void 0 : je.location) ?? "https://app.levo.so/favicon.ico", w = (Fe = (me = e == null ? void 0 : e.site) == null ? void 0 : me.settings) == null ? void 0 : Fe.head_code, v = (De = e == null ? void 0 : e.settings) == null ? void 0 : De.structured_data_json;
|
|
9376
9405
|
let y = `
|
|
9377
9406
|
<title>${i}</title>
|
|
9378
9407
|
<meta name="description" content="${a}" />
|
|
@@ -9608,21 +9637,21 @@ const ye = ({
|
|
|
9608
9637
|
page: 1,
|
|
9609
9638
|
...(v = i == null ? void 0 : i.params) == null ? void 0 : v.query
|
|
9610
9639
|
}, [l, c] = O(a), [u, d] = O(!1), [f, h] = O(o == null ? void 0 : o[e]), p = (b) => {
|
|
9611
|
-
c((
|
|
9640
|
+
c((C) => ({ ...C, ...b }));
|
|
9612
9641
|
}, g = async () => {
|
|
9613
9642
|
if (l && t && i && l !== a) {
|
|
9614
9643
|
d(!0);
|
|
9615
|
-
const [b,
|
|
9644
|
+
const [b, C] = await ol(
|
|
9616
9645
|
t,
|
|
9617
9646
|
{ ...i == null ? void 0 : i.params, query: l },
|
|
9618
9647
|
i,
|
|
9619
9648
|
r
|
|
9620
9649
|
);
|
|
9621
|
-
s == null || s(b),
|
|
9650
|
+
s == null || s(b), C && h(C), d(!1);
|
|
9622
9651
|
} else
|
|
9623
9652
|
h(o == null ? void 0 : o[e]), d(!1);
|
|
9624
9653
|
};
|
|
9625
|
-
return
|
|
9654
|
+
return L(() => {
|
|
9626
9655
|
g();
|
|
9627
9656
|
}, [l]), {
|
|
9628
9657
|
query: l,
|
|
@@ -9665,7 +9694,7 @@ const ye = ({
|
|
|
9665
9694
|
i
|
|
9666
9695
|
), null;
|
|
9667
9696
|
}
|
|
9668
|
-
}, $i = ({ blocks: e, renderHighlights: t = !0, studioData: n }) => (
|
|
9697
|
+
}, $i = ({ blocks: e, renderHighlights: t = !0, studioData: n }) => (L(() => {
|
|
9669
9698
|
var a, l, c, u;
|
|
9670
9699
|
if (!n)
|
|
9671
9700
|
return;
|
|
@@ -9698,7 +9727,7 @@ const ye = ({
|
|
|
9698
9727
|
)
|
|
9699
9728
|
] }) : null), vg = ({ blocks: e, studioData: t }) => {
|
|
9700
9729
|
const n = te(() => crypto.randomUUID(), []);
|
|
9701
|
-
return
|
|
9730
|
+
return L(() => {
|
|
9702
9731
|
if (!(t != null && t.theme))
|
|
9703
9732
|
return;
|
|
9704
9733
|
const s = Ys({
|
|
@@ -9716,7 +9745,7 @@ const ye = ({
|
|
|
9716
9745
|
const l = a.cloneNode(!0);
|
|
9717
9746
|
l.setAttribute("data-levo-head-element", "true"), document.head.appendChild(l);
|
|
9718
9747
|
});
|
|
9719
|
-
}, [t]), t != null && t.parsedBlockData ? /* @__PURE__ */ m("div", { "data-levo-page-id": n, children: /* @__PURE__ */ m(
|
|
9748
|
+
}, [t]), t != null && t.parsedBlockData ? /* @__PURE__ */ m("div", { "data-levo-element": "page", "data-levo-page-id": n, children: /* @__PURE__ */ m(
|
|
9720
9749
|
Xs,
|
|
9721
9750
|
{
|
|
9722
9751
|
isBuilder: !0,
|
|
@@ -9745,9 +9774,19 @@ const ye = ({
|
|
|
9745
9774
|
},
|
|
9746
9775
|
[s]
|
|
9747
9776
|
);
|
|
9748
|
-
return
|
|
9777
|
+
return L(() => (window.addEventListener("message", o, !1), () => {
|
|
9749
9778
|
window.removeEventListener("message", o, !1);
|
|
9750
|
-
}), [o]),
|
|
9779
|
+
}), [o]), L(() => {
|
|
9780
|
+
let i = null;
|
|
9781
|
+
return typeof document < "u" && (i = setInterval(() => {
|
|
9782
|
+
window.parent.postMessage(
|
|
9783
|
+
{ type: "FRAME_HEIGHT", payload: document.body.scrollHeight },
|
|
9784
|
+
"*"
|
|
9785
|
+
);
|
|
9786
|
+
}, 1e3)), () => {
|
|
9787
|
+
i && clearInterval(i);
|
|
9788
|
+
};
|
|
9789
|
+
}, []), /* @__PURE__ */ m(Je, { children: t === "block" ? /* @__PURE__ */ m(vg, { blocks: e, studioData: s.blockData }) : t === "page" ? /* @__PURE__ */ m($i, { blocks: e, studioData: s.pageData }) : t === "theme" ? /* @__PURE__ */ m(
|
|
9751
9790
|
$i,
|
|
9752
9791
|
{
|
|
9753
9792
|
renderHighlights: !1,
|
|
@@ -9827,7 +9866,7 @@ const ye = ({
|
|
|
9827
9866
|
return /* @__PURE__ */ m(
|
|
9828
9867
|
"div",
|
|
9829
9868
|
{
|
|
9830
|
-
className:
|
|
9869
|
+
className: _(
|
|
9831
9870
|
"absolute inset-0 flex h-full w-full items-center justify-center [mask-repeat:no-repeat] [mask-size:40px]",
|
|
9832
9871
|
"z-[-1]",
|
|
9833
9872
|
e
|
|
@@ -9971,7 +10010,7 @@ const bg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9971
10010
|
return r ? /* @__PURE__ */ m(
|
|
9972
10011
|
"div",
|
|
9973
10012
|
{
|
|
9974
|
-
className:
|
|
10013
|
+
className: _(
|
|
9975
10014
|
"absolute inset-0 flex h-full w-full items-center justify-center overflow-hidden",
|
|
9976
10015
|
"z-[-1]",
|
|
9977
10016
|
e
|
|
@@ -10021,7 +10060,7 @@ const bg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10021
10060
|
) : /* @__PURE__ */ m(
|
|
10022
10061
|
"div",
|
|
10023
10062
|
{
|
|
10024
|
-
className:
|
|
10063
|
+
className: _(
|
|
10025
10064
|
"absolute inset-0 flex h-full w-full items-center justify-center",
|
|
10026
10065
|
"z-[-1]",
|
|
10027
10066
|
e
|
|
@@ -10115,7 +10154,7 @@ const wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10115
10154
|
return r ? /* @__PURE__ */ m(
|
|
10116
10155
|
"div",
|
|
10117
10156
|
{
|
|
10118
|
-
className:
|
|
10157
|
+
className: _(
|
|
10119
10158
|
"absolute inset-0 flex h-full w-full items-center justify-center overflow-hidden",
|
|
10120
10159
|
"z-[-1]",
|
|
10121
10160
|
e
|
|
@@ -10171,7 +10210,7 @@ const wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10171
10210
|
) : /* @__PURE__ */ m(
|
|
10172
10211
|
"div",
|
|
10173
10212
|
{
|
|
10174
|
-
className:
|
|
10213
|
+
className: _(
|
|
10175
10214
|
"absolute inset-0 flex h-full w-full items-center justify-center",
|
|
10176
10215
|
"z-[-1]",
|
|
10177
10216
|
e
|
|
@@ -10234,7 +10273,7 @@ const xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10234
10273
|
}) => /* @__PURE__ */ m(
|
|
10235
10274
|
"div",
|
|
10236
10275
|
{
|
|
10237
|
-
className:
|
|
10276
|
+
className: _(
|
|
10238
10277
|
"absolute inset-0 flex h-full w-full items-center justify-center",
|
|
10239
10278
|
"z-[-1]",
|
|
10240
10279
|
e
|
|
@@ -10282,7 +10321,7 @@ const Sg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10282
10321
|
return /* @__PURE__ */ m(
|
|
10283
10322
|
"div",
|
|
10284
10323
|
{
|
|
10285
|
-
className:
|
|
10324
|
+
className: _(
|
|
10286
10325
|
"absolute inset-0 flex h-full w-full items-center justify-center overflow-hidden",
|
|
10287
10326
|
"z-[-1]",
|
|
10288
10327
|
e
|
|
@@ -10381,7 +10420,7 @@ const Sg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10381
10420
|
}
|
|
10382
10421
|
);
|
|
10383
10422
|
dl.displayName = "BackgroundWaves";
|
|
10384
|
-
const
|
|
10423
|
+
const Tg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10385
10424
|
__proto__: null,
|
|
10386
10425
|
BackgroundWaves: dl
|
|
10387
10426
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -10420,7 +10459,7 @@ export {
|
|
|
10420
10459
|
Zh as Icon,
|
|
10421
10460
|
ey as Iframe,
|
|
10422
10461
|
ty as Image,
|
|
10423
|
-
|
|
10462
|
+
Cy as KindList,
|
|
10424
10463
|
Xs as LevoBlock,
|
|
10425
10464
|
Qm as LevoPage,
|
|
10426
10465
|
my as Link,
|
|
@@ -10443,7 +10482,7 @@ export {
|
|
|
10443
10482
|
ng as cssOptionsMap,
|
|
10444
10483
|
lg as fetchCollectionSchema,
|
|
10445
10484
|
il as fetchSource,
|
|
10446
|
-
|
|
10485
|
+
Ty as generateAccentColor,
|
|
10447
10486
|
Oh as generateAnimationProps,
|
|
10448
10487
|
Ly as generateDefaultContent,
|
|
10449
10488
|
Nh as generateElementClassName,
|