@gardenfi/garden-book 0.2.14 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, Fragment as be, jsxs as E } from "react/jsx-runtime";
|
|
2
2
|
import * as M from "react";
|
|
3
|
-
import B, { useState as S1, useEffect as
|
|
3
|
+
import B, { useState as S1, useEffect as H1, forwardRef as p3, useMemo as ae, useLayoutEffect as j6, useRef as D1, createContext as Ue, useContext as L1, useId as g3, useCallback as U6, Component as S9, useInsertionEffect as $6, Fragment as W6, createElement as T9, Children as P9, isValidElement as E9, useImperativeHandle as k9 } from "react";
|
|
4
4
|
import * as Z9 from "react-dom";
|
|
5
5
|
import A9 from "react-dom";
|
|
6
6
|
function z6(e) {
|
|
@@ -2386,9 +2386,9 @@ function f0() {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
};
|
|
2388
2388
|
}
|
|
2389
|
-
const h0 = /* @__PURE__ */ K9(f0),
|
|
2389
|
+
const h0 = /* @__PURE__ */ K9(f0), v1 = (...e) => h0(R9(e)), J6 = () => {
|
|
2390
2390
|
const [e, t] = S1(!1);
|
|
2391
|
-
return
|
|
2391
|
+
return H1(() => {
|
|
2392
2392
|
t(!0);
|
|
2393
2393
|
}, []), e;
|
|
2394
2394
|
}, i2 = ({ children: e, fallback: t = null }) => J6() ? /* @__PURE__ */ a(be, { children: e }) : /* @__PURE__ */ a(be, { children: t }), C0 = ({
|
|
@@ -2398,7 +2398,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
|
|
|
2398
2398
|
style: r
|
|
2399
2399
|
}) => {
|
|
2400
2400
|
const [i, o] = S1(null);
|
|
2401
|
-
return
|
|
2401
|
+
return H1(() => {
|
|
2402
2402
|
import("./index.es-BsweaPuE.js").then((s) => {
|
|
2403
2403
|
o(() => s.default);
|
|
2404
2404
|
});
|
|
@@ -2841,7 +2841,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
|
|
|
2841
2841
|
"button",
|
|
2842
2842
|
{
|
|
2843
2843
|
ref: c,
|
|
2844
|
-
className:
|
|
2844
|
+
className: v1(
|
|
2845
2845
|
"gf-transition-colors gf-duration-300",
|
|
2846
2846
|
i,
|
|
2847
2847
|
o5({
|
|
@@ -2940,7 +2940,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
|
|
|
2940
2940
|
return /* @__PURE__ */ a(
|
|
2941
2941
|
e,
|
|
2942
2942
|
{
|
|
2943
|
-
className:
|
|
2943
|
+
className: v1(
|
|
2944
2944
|
s5({
|
|
2945
2945
|
size: t,
|
|
2946
2946
|
weight: n,
|
|
@@ -2969,7 +2969,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
|
|
|
2969
2969
|
className: t,
|
|
2970
2970
|
children: n,
|
|
2971
2971
|
...r
|
|
2972
|
-
}) => /* @__PURE__ */ a("div", { ...r, className:
|
|
2972
|
+
}) => /* @__PURE__ */ a("div", { ...r, className: v1(S0({ level: e }), t), children: n });
|
|
2973
2973
|
var oe = function() {
|
|
2974
2974
|
return oe = Object.assign || function(t) {
|
|
2975
2975
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -3482,7 +3482,7 @@ const f7 = $e(
|
|
|
3482
3482
|
o2,
|
|
3483
3483
|
{
|
|
3484
3484
|
level: "medium",
|
|
3485
|
-
className:
|
|
3485
|
+
className: v1(f7({ open: e, size: t, className: r })),
|
|
3486
3486
|
...i,
|
|
3487
3487
|
children: n
|
|
3488
3488
|
}
|
|
@@ -3503,7 +3503,7 @@ const f7 = $e(
|
|
|
3503
3503
|
}
|
|
3504
3504
|
), C7 = ({ open: e, onClose: t, disableScrollLock: n, children: r }) => {
|
|
3505
3505
|
const [i, o] = S1(!1);
|
|
3506
|
-
|
|
3506
|
+
H1(() => {
|
|
3507
3507
|
e && o(!0);
|
|
3508
3508
|
}, [e]);
|
|
3509
3509
|
const s = (l) => {
|
|
@@ -4475,7 +4475,7 @@ function Zn() {
|
|
|
4475
4475
|
function b3(e) {
|
|
4476
4476
|
return typeof window < "u" && window.navigator != null ? e.test(window.navigator.platform) : void 0;
|
|
4477
4477
|
}
|
|
4478
|
-
const Mr = 24, Hr = typeof window < "u" ? j6 :
|
|
4478
|
+
const Mr = 24, Hr = typeof window < "u" ? j6 : H1;
|
|
4479
4479
|
function b5(...e) {
|
|
4480
4480
|
return (...t) => {
|
|
4481
4481
|
for (let n of e)
|
|
@@ -4962,7 +4962,7 @@ function Nn({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
4962
4962
|
document.body.style.pointerEvents = "auto";
|
|
4963
4963
|
}), b || (document.body.style.pointerEvents = "auto");
|
|
4964
4964
|
}
|
|
4965
|
-
}), [j, Y] = B.useState(!1), [Q, X] = B.useState(!1), [c1, d1] = B.useState(!1), o1 = B.useRef(null), s1 = B.useRef(null),
|
|
4965
|
+
}), [j, Y] = B.useState(!1), [Q, X] = B.useState(!1), [c1, d1] = B.useState(!1), o1 = B.useRef(null), s1 = B.useRef(null), w1 = B.useRef(null), G1 = B.useRef(null), N1 = B.useRef(null), P1 = B.useRef(!1), R1 = B.useRef(null), O1 = B.useRef(0), h1 = B.useRef(!1), T1 = B.useRef(!k), b1 = B.useRef(0), G = B.useRef(null), Vt = B.useRef(((_ = G.current) == null ? void 0 : _.getBoundingClientRect().height) || 0), Mt = B.useRef(((W = G.current) == null ? void 0 : W.getBoundingClientRect().width) || 0), Ve = B.useRef(0), Me = B.useCallback((b) => {
|
|
4966
4966
|
o && b === he.length - 1 && (s1.current = /* @__PURE__ */ new Date());
|
|
4967
4967
|
}, []), { activeSnapPoint: Xe, activeSnapPointIndex: F1, setActiveSnapPoint: qe, onRelease: ee, snapPointsOffset: he, onDrag: Ht, shouldFade: Qe, getPercentageDragged: w2 } = Ir({
|
|
4968
4968
|
snapPoints: o,
|
|
@@ -4992,7 +4992,7 @@ function Nn({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
4992
4992
|
}
|
|
4993
4993
|
function St(b) {
|
|
4994
4994
|
var v, L;
|
|
4995
|
-
!d && !o || G.current && !G.current.contains(b.target) || (Vt.current = ((v = G.current) == null ? void 0 : v.getBoundingClientRect().height) || 0, Mt.current = ((L = G.current) == null ? void 0 : L.getBoundingClientRect().width) || 0, X(!0),
|
|
4995
|
+
!d && !o || G.current && !G.current.contains(b.target) || (Vt.current = ((v = G.current) == null ? void 0 : v.getBoundingClientRect().height) || 0, Mt.current = ((L = G.current) == null ? void 0 : L.getBoundingClientRect().width) || 0, X(!0), w1.current = /* @__PURE__ */ new Date(), Zn() && window.addEventListener("touchend", () => P1.current = !1, {
|
|
4996
4996
|
once: !0
|
|
4997
4997
|
}), b.target.setPointerCapture(b.pointerId), O1.current = g1(S) ? b.pageY : b.pageX);
|
|
4998
4998
|
}
|
|
@@ -5080,11 +5080,11 @@ function Nn({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
5080
5080
|
const n1 = G.current.getBoundingClientRect().height || 0, J = n1 > F * 0.8;
|
|
5081
5081
|
Ve.current || (Ve.current = n1);
|
|
5082
5082
|
const t1 = G.current.getBoundingClientRect().top;
|
|
5083
|
-
if (Math.abs(
|
|
5083
|
+
if (Math.abs(b1.current - z) > 60 && (h1.current = !h1.current), o && o.length > 0 && he && F1) {
|
|
5084
5084
|
const a1 = he[F1] || 0;
|
|
5085
5085
|
z += a1;
|
|
5086
5086
|
}
|
|
5087
|
-
if (
|
|
5087
|
+
if (b1.current = z, n1 > R || h1.current) {
|
|
5088
5088
|
const a1 = G.current.getBoundingClientRect().height;
|
|
5089
5089
|
let i1 = a1;
|
|
5090
5090
|
a1 > R && (i1 = R - (J ? t1 : Q2)), C ? G.current.style.height = `${a1 - Math.max(z, 0)}px` : G.current.style.height = `${Math.max(i1, R - t1)}px`;
|
|
@@ -5137,8 +5137,8 @@ function Nn({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
5137
5137
|
if (!Q || !G.current) return;
|
|
5138
5138
|
G.current.classList.remove(A2), P1.current = !1, X(!1), G1.current = /* @__PURE__ */ new Date();
|
|
5139
5139
|
const v = Bt(G.current, S);
|
|
5140
|
-
if (!b || !Tt(b.target, !1) || !v || Number.isNaN(v) ||
|
|
5141
|
-
const L = G1.current.getTime() -
|
|
5140
|
+
if (!b || !Tt(b.target, !1) || !v || Number.isNaN(v) || w1.current === null) return;
|
|
5141
|
+
const L = G1.current.getTime() - w1.current.getTime(), A = O1.current - (g1(S) ? b.pageY : b.pageX), R = Math.abs(A) / L;
|
|
5142
5142
|
if (R > 0.05 && (d1(!0), setTimeout(() => {
|
|
5143
5143
|
d1(!1);
|
|
5144
5144
|
}, 200)), o) {
|
|
@@ -5452,7 +5452,7 @@ const It = {
|
|
|
5452
5452
|
/* @__PURE__ */ a("div", { className: "gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30" }),
|
|
5453
5453
|
/* @__PURE__ */ a("div", { className: "gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll", children: e })
|
|
5454
5454
|
] }) })
|
|
5455
|
-
] }) }), al = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a("div", { ...n, className:
|
|
5455
|
+
] }) }), al = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a("div", { ...n, className: v1("gf-p-6 gf-rounded-2xl gf-w-fit", t), children: e }), ll = (e) => /* @__PURE__ */ a(
|
|
5456
5456
|
"svg",
|
|
5457
5457
|
{
|
|
5458
5458
|
width: "12",
|
|
@@ -9173,7 +9173,7 @@ const It = {
|
|
|
9173
9173
|
), du = ({ checked: e, color: t, ...n }) => /* @__PURE__ */ a("div", { ...n, children: e ? /* @__PURE__ */ a(Qr, { className: "gf-cursor-pointer", color: t }) : /* @__PURE__ */ a(Jr, { className: "gf-cursor-pointer" }) }), Y1 = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
9174
9174
|
"div",
|
|
9175
9175
|
{
|
|
9176
|
-
className:
|
|
9176
|
+
className: v1(
|
|
9177
9177
|
"gf-flex gf-items-center gf-rounded-full gf-text-dark-grey gf-font-medium gf-w-max gf-bg-white gf-gap-x-2",
|
|
9178
9178
|
t
|
|
9179
9179
|
),
|
|
@@ -9187,7 +9187,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9187
9187
|
o2,
|
|
9188
9188
|
{
|
|
9189
9189
|
level: "medium",
|
|
9190
|
-
className:
|
|
9190
|
+
className: v1("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max", t),
|
|
9191
9191
|
...n,
|
|
9192
9192
|
children: /* @__PURE__ */ a(E1, { size: "h3", weight: "bold", children: e })
|
|
9193
9193
|
}
|
|
@@ -9199,26 +9199,28 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9199
9199
|
iconSize: i = 20,
|
|
9200
9200
|
...o
|
|
9201
9201
|
}) => {
|
|
9202
|
-
const l = t && t !== e ? Math.round(i * 1.9) : i;
|
|
9202
|
+
const l = t && t !== e ? Math.round(i * 1.9) : i, c = n ? void 0 : { width: l }, u = r ? void 0 : { width: i, height: i };
|
|
9203
9203
|
return /* @__PURE__ */ E(
|
|
9204
9204
|
"div",
|
|
9205
9205
|
{
|
|
9206
|
-
className:
|
|
9207
|
-
style:
|
|
9206
|
+
className: v1("gf-relative gf-flex gf-items-center gf-h-5 gf-w-[38px]", n),
|
|
9207
|
+
style: c,
|
|
9208
9208
|
...o,
|
|
9209
9209
|
children: [
|
|
9210
9210
|
/* @__PURE__ */ a(
|
|
9211
9211
|
"img",
|
|
9212
9212
|
{
|
|
9213
9213
|
src: e,
|
|
9214
|
-
className:
|
|
9214
|
+
className: v1("gf-absolute gf-left-0 gf-z-30 gf-h-5", r),
|
|
9215
|
+
style: u
|
|
9215
9216
|
}
|
|
9216
9217
|
),
|
|
9217
9218
|
t && t !== e && /* @__PURE__ */ a(
|
|
9218
9219
|
"img",
|
|
9219
9220
|
{
|
|
9220
9221
|
src: t,
|
|
9221
|
-
className:
|
|
9222
|
+
className: v1("gf-absolute gf-right-0 gf-z-20 gf-h-5", r),
|
|
9223
|
+
style: u
|
|
9222
9224
|
}
|
|
9223
9225
|
)
|
|
9224
9226
|
]
|
|
@@ -9234,7 +9236,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9234
9236
|
}) => /* @__PURE__ */ a(
|
|
9235
9237
|
"div",
|
|
9236
9238
|
{
|
|
9237
|
-
className:
|
|
9239
|
+
className: v1(
|
|
9238
9240
|
"gf-flex gf-text-left gf-cursor-pointer gf-w-max",
|
|
9239
9241
|
r
|
|
9240
9242
|
),
|
|
@@ -9265,58 +9267,59 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9265
9267
|
height: n,
|
|
9266
9268
|
gradientHeight: r = 24,
|
|
9267
9269
|
onClose: i = !1,
|
|
9268
|
-
|
|
9270
|
+
gradientClassName: o,
|
|
9271
|
+
...s
|
|
9269
9272
|
}) => {
|
|
9270
|
-
const [
|
|
9271
|
-
if (
|
|
9272
|
-
const { scrollTop:
|
|
9273
|
-
|
|
9273
|
+
const [l, c] = S1(!0), [u, d] = S1(!0), f = D1(null), h = D1(null), g = () => {
|
|
9274
|
+
if (f.current) {
|
|
9275
|
+
const { scrollTop: w, scrollHeight: C, clientHeight: y } = f.current;
|
|
9276
|
+
c(w + y < C), d(w > 0);
|
|
9274
9277
|
}
|
|
9275
9278
|
};
|
|
9276
|
-
return
|
|
9277
|
-
i &&
|
|
9278
|
-
}, [i]),
|
|
9279
|
-
const
|
|
9280
|
-
if (!
|
|
9281
|
-
|
|
9282
|
-
const
|
|
9283
|
-
|
|
9279
|
+
return H1(() => {
|
|
9280
|
+
i && f.current && (f.current.scrollTop = 0);
|
|
9281
|
+
}, [i]), H1(() => {
|
|
9282
|
+
const w = f.current, C = h.current;
|
|
9283
|
+
if (!w || !C) return;
|
|
9284
|
+
g();
|
|
9285
|
+
const y = new ResizeObserver(() => {
|
|
9286
|
+
g();
|
|
9284
9287
|
});
|
|
9285
|
-
return
|
|
9286
|
-
|
|
9288
|
+
return y.observe(w), y.observe(C), () => {
|
|
9289
|
+
y.disconnect();
|
|
9287
9290
|
};
|
|
9288
9291
|
}, []), /* @__PURE__ */ E(
|
|
9289
9292
|
"div",
|
|
9290
9293
|
{
|
|
9291
|
-
className:
|
|
9294
|
+
className: v1(
|
|
9292
9295
|
"gf-w-full gf-bg-white gf-relative gf-overflow-hidden",
|
|
9293
9296
|
t
|
|
9294
9297
|
),
|
|
9295
9298
|
style: { height: typeof n == "number" ? `${n}px` : n },
|
|
9296
|
-
...
|
|
9299
|
+
...s,
|
|
9297
9300
|
children: [
|
|
9298
9301
|
/* @__PURE__ */ a(
|
|
9299
9302
|
"div",
|
|
9300
9303
|
{
|
|
9301
9304
|
className: "gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",
|
|
9302
|
-
onScroll:
|
|
9303
|
-
ref:
|
|
9304
|
-
children: /* @__PURE__ */ a("div", { ref:
|
|
9305
|
+
onScroll: g,
|
|
9306
|
+
ref: f,
|
|
9307
|
+
children: /* @__PURE__ */ a("div", { ref: h, children: e })
|
|
9305
9308
|
}
|
|
9306
9309
|
),
|
|
9307
|
-
|
|
9310
|
+
u && /* @__PURE__ */ a(
|
|
9308
9311
|
"div",
|
|
9309
9312
|
{
|
|
9310
|
-
className: "
|
|
9313
|
+
className: v1("gf-w-full gf-absolute gf-top-0 gf-left-0 gf-z-40 gf-bg-gradient-to-b gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none", o),
|
|
9311
9314
|
style: {
|
|
9312
9315
|
height: typeof r == "number" ? `${r}px` : r
|
|
9313
9316
|
}
|
|
9314
9317
|
}
|
|
9315
9318
|
),
|
|
9316
|
-
|
|
9319
|
+
l && /* @__PURE__ */ a(
|
|
9317
9320
|
"div",
|
|
9318
9321
|
{
|
|
9319
|
-
className: "
|
|
9322
|
+
className: v1("gf-w-full gf-absolute gf-bottom-0 gf-left-0 gf-z-40 gf-bg-gradient-to-t gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none", o),
|
|
9320
9323
|
style: {
|
|
9321
9324
|
height: typeof r == "number" ? `${r}px` : r
|
|
9322
9325
|
}
|
|
@@ -9439,7 +9442,7 @@ function f2(e, { repeat: t, repeatType: n = "loop" }, r) {
|
|
|
9439
9442
|
const i = e.filter(g8), o = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
|
|
9440
9443
|
return !o || r === void 0 ? i[o] : r;
|
|
9441
9444
|
}
|
|
9442
|
-
const
|
|
9445
|
+
const V1 = (e) => e;
|
|
9443
9446
|
function m8(e) {
|
|
9444
9447
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1;
|
|
9445
9448
|
const o = /* @__PURE__ */ new WeakSet();
|
|
@@ -9512,11 +9515,11 @@ function Wn(e, t) {
|
|
|
9512
9515
|
s[Nt[H]].cancel(m);
|
|
9513
9516
|
}, state: i, steps: s };
|
|
9514
9517
|
}
|
|
9515
|
-
const { schedule: r1, cancel: z1, state:
|
|
9518
|
+
const { schedule: r1, cancel: z1, state: x1, steps: D2 } = Wn(typeof requestAnimationFrame < "u" ? requestAnimationFrame : V1, !0), zn = (e) => /^0[^.\s]+$/u.test(e);
|
|
9516
9519
|
function y8(e) {
|
|
9517
9520
|
return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || zn(e) : !0;
|
|
9518
9521
|
}
|
|
9519
|
-
let Ge =
|
|
9522
|
+
let Ge = V1, B1 = V1;
|
|
9520
9523
|
process.env.NODE_ENV !== "production" && (Ge = (e, t) => {
|
|
9521
9524
|
!e && typeof console < "u" && console.warn(t);
|
|
9522
9525
|
}, B1 = (e, t) => {
|
|
@@ -9723,7 +9726,7 @@ const n3 = {
|
|
|
9723
9726
|
test: /* @__PURE__ */ P3("hsl", "hue"),
|
|
9724
9727
|
parse: /* @__PURE__ */ t4("hue", "saturation", "lightness"),
|
|
9725
9728
|
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + $1.transform(ut(t)) + ", " + $1.transform(ut(n)) + ", " + ut(ct.transform(r)) + ")"
|
|
9726
|
-
},
|
|
9729
|
+
}, M1 = {
|
|
9727
9730
|
test: (e) => ye.test(e) || n3.test(e) || Ae.test(e),
|
|
9728
9731
|
parse: (e) => ye.test(e) ? ye.parse(e) : Ae.test(e) ? Ae.parse(e) : n3.parse(e),
|
|
9729
9732
|
transform: (e) => bt(e) ? e : e.hasOwnProperty("red") ? ye.transform(e) : Ae.transform(e)
|
|
@@ -9740,7 +9743,7 @@ function vt(e) {
|
|
|
9740
9743
|
var: []
|
|
9741
9744
|
}, i = [];
|
|
9742
9745
|
let o = 0;
|
|
9743
|
-
const l = t.replace(F8, (c) => (
|
|
9746
|
+
const l = t.replace(F8, (c) => (M1.test(c) ? (r.color.push(o), i.push(r4), n.push(M1.parse(c))) : c.startsWith(N8) ? (r.var.push(o), i.push(I8), n.push(c)) : (r.number.push(o), i.push(n4), n.push(parseFloat(c))), ++o, k5)).split(k5);
|
|
9744
9747
|
return { values: n, split: l, indexes: r, types: i };
|
|
9745
9748
|
}
|
|
9746
9749
|
function i4(e) {
|
|
@@ -9753,7 +9756,7 @@ function o4(e) {
|
|
|
9753
9756
|
for (let s = 0; s < r; s++)
|
|
9754
9757
|
if (o += t[s], i[s] !== void 0) {
|
|
9755
9758
|
const l = n[s];
|
|
9756
|
-
l === n4 ? o += ut(i[s]) : l === r4 ? o +=
|
|
9759
|
+
l === n4 ? o += ut(i[s]) : l === r4 ? o += M1.transform(i[s]) : o += i[s];
|
|
9757
9760
|
}
|
|
9758
9761
|
return o;
|
|
9759
9762
|
};
|
|
@@ -9859,17 +9862,17 @@ const z8 = /\b([a-z-]*)\(.*?\)/gu, r3 = {
|
|
|
9859
9862
|
}, G8 = {
|
|
9860
9863
|
...E3,
|
|
9861
9864
|
// Color props
|
|
9862
|
-
color:
|
|
9863
|
-
backgroundColor:
|
|
9864
|
-
outlineColor:
|
|
9865
|
-
fill:
|
|
9866
|
-
stroke:
|
|
9865
|
+
color: M1,
|
|
9866
|
+
backgroundColor: M1,
|
|
9867
|
+
outlineColor: M1,
|
|
9868
|
+
fill: M1,
|
|
9869
|
+
stroke: M1,
|
|
9867
9870
|
// Border props
|
|
9868
|
-
borderColor:
|
|
9869
|
-
borderTopColor:
|
|
9870
|
-
borderRightColor:
|
|
9871
|
-
borderBottomColor:
|
|
9872
|
-
borderLeftColor:
|
|
9871
|
+
borderColor: M1,
|
|
9872
|
+
borderTopColor: M1,
|
|
9873
|
+
borderRightColor: M1,
|
|
9874
|
+
borderBottomColor: M1,
|
|
9875
|
+
borderLeftColor: M1,
|
|
9873
9876
|
filter: r3,
|
|
9874
9877
|
WebkitFilter: r3
|
|
9875
9878
|
}, k3 = (e) => G8[e];
|
|
@@ -9952,7 +9955,7 @@ function X8() {
|
|
|
9952
9955
|
Gt = void 0;
|
|
9953
9956
|
}
|
|
9954
9957
|
const W1 = {
|
|
9955
|
-
now: () => (Gt === void 0 && W1.set(
|
|
9958
|
+
now: () => (Gt === void 0 && W1.set(x1.isProcessing || p8.useManualTiming ? x1.timestamp : performance.now()), Gt),
|
|
9956
9959
|
set: (e) => {
|
|
9957
9960
|
Gt = e, queueMicrotask(X8);
|
|
9958
9961
|
}
|
|
@@ -10203,12 +10206,12 @@ function fi(e, t, n, r, i) {
|
|
|
10203
10206
|
}
|
|
10204
10207
|
function Ye(e, t, n, r) {
|
|
10205
10208
|
if (e === t && n === r)
|
|
10206
|
-
return
|
|
10209
|
+
return V1;
|
|
10207
10210
|
const i = (o) => fi(o, 0, 1, e, n);
|
|
10208
10211
|
return (o) => o === 0 || o === 1 ? o : f4(i(o), t, r);
|
|
10209
10212
|
}
|
|
10210
10213
|
const hi = /* @__PURE__ */ Ye(0.42, 0, 1, 1), Ci = /* @__PURE__ */ Ye(0, 0, 0.58, 1), h4 = /* @__PURE__ */ Ye(0.42, 0, 0.58, 1), C4 = (e) => Array.isArray(e) && typeof e[0] != "number", p4 = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, g4 = (e) => (t) => 1 - e(1 - t), A3 = (e) => 1 - Math.sin(Math.acos(e)), m4 = g4(A3), pi = p4(A3), v4 = /* @__PURE__ */ Ye(0.33, 1.53, 0.69, 0.99), D3 = /* @__PURE__ */ g4(v4), gi = /* @__PURE__ */ p4(D3), mi = (e) => (e *= 2) < 1 ? 0.5 * D3(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), _5 = {
|
|
10211
|
-
linear:
|
|
10214
|
+
linear: V1,
|
|
10212
10215
|
easeIn: hi,
|
|
10213
10216
|
easeInOut: h4,
|
|
10214
10217
|
easeOut: Ci,
|
|
@@ -10278,7 +10281,7 @@ function Li(e, t) {
|
|
|
10278
10281
|
return (n) => u1(e, t, n);
|
|
10279
10282
|
}
|
|
10280
10283
|
function R3(e) {
|
|
10281
|
-
return typeof e == "number" ? Li : typeof e == "string" ? H3(e) ? Qt :
|
|
10284
|
+
return typeof e == "number" ? Li : typeof e == "string" ? H3(e) ? Qt : M1.test(e) ? I5 : Hi : Array.isArray(e) ? y4 : typeof e == "object" ? M1.test(e) ? I5 : Vi : Qt;
|
|
10282
10285
|
}
|
|
10283
10286
|
function y4(e, t) {
|
|
10284
10287
|
const n = [...e], r = n.length, i = e.map((o, s) => R3(o)(o, t[s]));
|
|
@@ -10319,7 +10322,7 @@ function Si(e, t, n) {
|
|
|
10319
10322
|
for (let s = 0; s < o; s++) {
|
|
10320
10323
|
let l = i(e[s], e[s + 1]);
|
|
10321
10324
|
if (t) {
|
|
10322
|
-
const c = Array.isArray(t) ? t[s] ||
|
|
10325
|
+
const c = Array.isArray(t) ? t[s] || V1 : t;
|
|
10323
10326
|
l = q1(c, l);
|
|
10324
10327
|
}
|
|
10325
10328
|
r.push(l);
|
|
@@ -10395,7 +10398,7 @@ const Ei = (e) => {
|
|
|
10395
10398
|
* If we're processing this frame we can use the
|
|
10396
10399
|
* framelocked timestamp to keep things in sync.
|
|
10397
10400
|
*/
|
|
10398
|
-
now: () =>
|
|
10401
|
+
now: () => x1.isProcessing ? x1.timestamp : W1.now()
|
|
10399
10402
|
};
|
|
10400
10403
|
}, ki = {
|
|
10401
10404
|
decay: O5,
|
|
@@ -10678,11 +10681,11 @@ class N5 extends c4 {
|
|
|
10678
10681
|
else {
|
|
10679
10682
|
const { resolved: n } = this;
|
|
10680
10683
|
if (!n)
|
|
10681
|
-
return
|
|
10684
|
+
return V1;
|
|
10682
10685
|
const { animation: r } = n;
|
|
10683
10686
|
r.timeline = t, r.onfinish = null;
|
|
10684
10687
|
}
|
|
10685
|
-
return
|
|
10688
|
+
return V1;
|
|
10686
10689
|
}
|
|
10687
10690
|
play() {
|
|
10688
10691
|
if (this.isStopped)
|
|
@@ -11132,9 +11135,9 @@ class Gi extends P4 {
|
|
|
11132
11135
|
this.set(this.output.length ? this.output.join(", ") : "auto");
|
|
11133
11136
|
}
|
|
11134
11137
|
}
|
|
11135
|
-
const
|
|
11138
|
+
const y1 = (e) => !!(e && e.getVelocity);
|
|
11136
11139
|
function Ki(e) {
|
|
11137
|
-
return !!(
|
|
11140
|
+
return !!(y1(e) && e.add);
|
|
11138
11141
|
}
|
|
11139
11142
|
function l3(e, t) {
|
|
11140
11143
|
var n;
|
|
@@ -11441,7 +11444,7 @@ class R4 {
|
|
|
11441
11444
|
const f = N2(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, g = uo(f.offset, { x: 0, y: 0 }) >= 3;
|
|
11442
11445
|
if (!h && !g)
|
|
11443
11446
|
return;
|
|
11444
|
-
const { point: w } = f, { timestamp: C } =
|
|
11447
|
+
const { point: w } = f, { timestamp: C } = x1;
|
|
11445
11448
|
this.history.push({ ...w, timestamp: C });
|
|
11446
11449
|
const { onStart: y, onMove: m } = this.handlers;
|
|
11447
11450
|
h || (y && y(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), m && m(this.lastMoveEvent, f);
|
|
@@ -11457,7 +11460,7 @@ class R4 {
|
|
|
11457
11460
|
}, !D4(t))
|
|
11458
11461
|
return;
|
|
11459
11462
|
this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
|
|
11460
|
-
const s = p2(t), l = I2(s, this.transformPagePoint), { point: c } = l, { timestamp: u } =
|
|
11463
|
+
const s = p2(t), l = I2(s, this.transformPagePoint), { point: c } = l, { timestamp: u } = x1;
|
|
11461
11464
|
this.history = [{ ...c, timestamp: u }];
|
|
11462
11465
|
const { onSessionStart: d } = n;
|
|
11463
11466
|
d && d(t, N2(l, this.history)), this.removeListeners = q1(Q1(this.contextWindow, "pointermove", this.handlePointerMove), Q1(this.contextWindow, "pointerup", this.handlePointerUp), Q1(this.contextWindow, "pointercancel", this.handlePointerUp));
|
|
@@ -11948,11 +11951,11 @@ function Zo(e, t = 10) {
|
|
|
11948
11951
|
}
|
|
11949
11952
|
class Ao extends fe {
|
|
11950
11953
|
constructor(t) {
|
|
11951
|
-
super(t), this.removeGroupControls =
|
|
11954
|
+
super(t), this.removeGroupControls = V1, this.removeListeners = V1, this.controls = new ko(t);
|
|
11952
11955
|
}
|
|
11953
11956
|
mount() {
|
|
11954
11957
|
const { dragControls: t } = this.node.getProps();
|
|
11955
|
-
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() ||
|
|
11958
|
+
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || V1;
|
|
11956
11959
|
}
|
|
11957
11960
|
unmount() {
|
|
11958
11961
|
this.removeGroupControls(), this.removeListeners();
|
|
@@ -11963,7 +11966,7 @@ const a6 = (e) => (t, n) => {
|
|
|
11963
11966
|
};
|
|
11964
11967
|
class Do extends fe {
|
|
11965
11968
|
constructor() {
|
|
11966
|
-
super(...arguments), this.removePointerDownListener =
|
|
11969
|
+
super(...arguments), this.removePointerDownListener = V1;
|
|
11967
11970
|
}
|
|
11968
11971
|
onPointerDown(t) {
|
|
11969
11972
|
this.session = new R4(t, this.createPanHandlers(), {
|
|
@@ -11994,11 +11997,11 @@ class Do extends fe {
|
|
|
11994
11997
|
}
|
|
11995
11998
|
const g2 = Ue(null);
|
|
11996
11999
|
function Ro() {
|
|
11997
|
-
const e =
|
|
12000
|
+
const e = L1(g2);
|
|
11998
12001
|
if (e === null)
|
|
11999
12002
|
return [!0, null];
|
|
12000
12003
|
const { isPresent: t, onExitComplete: n, register: r } = e, i = g3();
|
|
12001
|
-
|
|
12004
|
+
H1(() => r(i), []);
|
|
12002
12005
|
const o = U6(() => n && n(i), [i, n]);
|
|
12003
12006
|
return !t && n ? [!1, o] : [!0];
|
|
12004
12007
|
}
|
|
@@ -12085,8 +12088,8 @@ class Bo extends S9 {
|
|
|
12085
12088
|
}
|
|
12086
12089
|
}
|
|
12087
12090
|
function K4(e) {
|
|
12088
|
-
const [t, n] = Ro(), r =
|
|
12089
|
-
return a(Bo, { ...e, layoutGroup: r, switchLayoutGroup:
|
|
12091
|
+
const [t, n] = Ro(), r = L1(j3);
|
|
12092
|
+
return a(Bo, { ...e, layoutGroup: r, switchLayoutGroup: L1(G4), isPresent: t, safeToRemove: n });
|
|
12090
12093
|
}
|
|
12091
12094
|
const Io = {
|
|
12092
12095
|
borderRadius: {
|
|
@@ -12123,7 +12126,7 @@ function Fo(e, t, n, r, i, o) {
|
|
|
12123
12126
|
function d6(e, t) {
|
|
12124
12127
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
12125
12128
|
}
|
|
12126
|
-
const jo = /* @__PURE__ */ X4(0, 0.5, m4), Uo = /* @__PURE__ */ X4(0.5, 0.95,
|
|
12129
|
+
const jo = /* @__PURE__ */ X4(0, 0.5, m4), Uo = /* @__PURE__ */ X4(0.5, 0.95, V1);
|
|
12127
12130
|
function X4(e, t, n) {
|
|
12128
12131
|
return (r) => r < e ? 0 : r > t ? 1 : n(Ne(e, t, r));
|
|
12129
12132
|
}
|
|
@@ -12256,7 +12259,7 @@ class qo {
|
|
|
12256
12259
|
}
|
|
12257
12260
|
}
|
|
12258
12261
|
function Yt(e) {
|
|
12259
|
-
const t =
|
|
12262
|
+
const t = y1(e) ? e.get() : e;
|
|
12260
12263
|
return Fi(t) ? t.toValue() : t;
|
|
12261
12264
|
}
|
|
12262
12265
|
function Qo(e, t) {
|
|
@@ -12270,7 +12273,7 @@ function J4(e) {
|
|
|
12270
12273
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
12271
12274
|
}
|
|
12272
12275
|
function $3(e, t, n) {
|
|
12273
|
-
const r =
|
|
12276
|
+
const r = y1(e) ? e : Fe(e);
|
|
12274
12277
|
return r.start(I3("", r, t, n)), r.animation;
|
|
12275
12278
|
}
|
|
12276
12279
|
const me = {
|
|
@@ -12405,7 +12408,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12405
12408
|
}
|
|
12406
12409
|
this.isUpdating || this.nodes.forEach(ss), this.isUpdating = !1, this.nodes.forEach(as), this.nodes.forEach(ts), this.nodes.forEach(ns), this.clearAllSnapshots();
|
|
12407
12410
|
const l = W1.now();
|
|
12408
|
-
|
|
12411
|
+
x1.delta = le(0, 1e3 / 60, l - x1.timestamp), x1.timestamp = l, x1.isProcessing = !0, D2.update.process(x1), D2.preRender.process(x1), D2.render.process(x1), x1.isProcessing = !1;
|
|
12409
12412
|
}
|
|
12410
12413
|
didUpdate() {
|
|
12411
12414
|
this.updateScheduled || (this.updateScheduled = !0, U3.read(this.scheduleUpdate));
|
|
@@ -12530,7 +12533,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12530
12533
|
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
|
12531
12534
|
}
|
|
12532
12535
|
forceRelativeParentToResolveTarget() {
|
|
12533
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !==
|
|
12536
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== x1.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
|
12534
12537
|
}
|
|
12535
12538
|
resolveTargetDelta(s = !1) {
|
|
12536
12539
|
var l;
|
|
@@ -12541,7 +12544,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12541
12544
|
return;
|
|
12542
12545
|
const { layout: f, layoutId: h } = this.options;
|
|
12543
12546
|
if (!(!this.layout || !(f || h))) {
|
|
12544
|
-
if (this.resolvedRelativeTargetAt =
|
|
12547
|
+
if (this.resolvedRelativeTargetAt = x1.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
12545
12548
|
const g = this.getClosestProjectingParent();
|
|
12546
12549
|
g && g.layout && this.animationProgress !== 1 ? (this.relativeParent = g, this.forceRelativeParentToResolveTarget(), this.relativeTarget = p1(), this.relativeTargetOrigin = p1(), ht(this.relativeTargetOrigin, this.layout.layoutBox, g.layout.layoutBox), Z1(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
12547
12550
|
}
|
|
@@ -12566,7 +12569,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12566
12569
|
var s;
|
|
12567
12570
|
const l = this.getLead(), c = !!this.resumingFrom || this !== l;
|
|
12568
12571
|
let u = !0;
|
|
12569
|
-
if ((this.isProjectionDirty || !((s = this.parent) === null || s === void 0) && s.isProjectionDirty) && (u = !1), c && (this.isSharedProjectionDirty || this.isTransformDirty) && (u = !1), this.resolvedRelativeTargetAt ===
|
|
12572
|
+
if ((this.isProjectionDirty || !((s = this.parent) === null || s === void 0) && s.isProjectionDirty) && (u = !1), c && (this.isSharedProjectionDirty || this.isTransformDirty) && (u = !1), this.resolvedRelativeTargetAt === x1.timestamp && (u = !1), u)
|
|
12570
12573
|
return;
|
|
12571
12574
|
const { layout: d, layoutId: f } = this.options;
|
|
12572
12575
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(d || f))
|
|
@@ -12837,7 +12840,7 @@ function hs(e) {
|
|
|
12837
12840
|
const Cs = {
|
|
12838
12841
|
duration: 0.45,
|
|
12839
12842
|
ease: [0.4, 0, 0.1, 1]
|
|
12840
|
-
}, S6 = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), T6 = S6("applewebkit/") && !S6("chrome/") ? Math.round :
|
|
12843
|
+
}, S6 = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), T6 = S6("applewebkit/") && !S6("chrome/") ? Math.round : V1;
|
|
12841
12844
|
function P6(e) {
|
|
12842
12845
|
e.min = T6(e.min), e.max = T6(e.max);
|
|
12843
12846
|
}
|
|
@@ -12937,7 +12940,7 @@ function W2(e, t) {
|
|
|
12937
12940
|
}
|
|
12938
12941
|
class bs extends fe {
|
|
12939
12942
|
constructor() {
|
|
12940
|
-
super(...arguments), this.removeStartListeners =
|
|
12943
|
+
super(...arguments), this.removeStartListeners = V1, this.removeEndListeners = V1, this.removeAccessibleListeners = V1, this.startPointerPress = (t, n) => {
|
|
12941
12944
|
if (this.isPressing)
|
|
12942
12945
|
return;
|
|
12943
12946
|
this.removeEndListeners();
|
|
@@ -13074,11 +13077,11 @@ const Ps = {
|
|
|
13074
13077
|
transformPagePoint: (e) => e,
|
|
13075
13078
|
isStatic: !1,
|
|
13076
13079
|
reducedMotion: "never"
|
|
13077
|
-
}), v2 = Ue({}), W3 = typeof window < "u", z3 = W3 ? j6 :
|
|
13080
|
+
}), v2 = Ue({}), W3 = typeof window < "u", z3 = W3 ? j6 : H1, o9 = Ue({ strict: !1 });
|
|
13078
13081
|
let k6 = !1;
|
|
13079
13082
|
function ks(e, t, n, r, i) {
|
|
13080
13083
|
var o;
|
|
13081
|
-
const { visualElement: s } =
|
|
13084
|
+
const { visualElement: s } = L1(v2), l = L1(o9), c = L1(g2), u = L1(m2).reducedMotion, d = D1();
|
|
13082
13085
|
r = r || l.renderer, !d.current && r && (d.current = r(e, {
|
|
13083
13086
|
visualState: t,
|
|
13084
13087
|
parent: s,
|
|
@@ -13087,14 +13090,14 @@ function ks(e, t, n, r, i) {
|
|
|
13087
13090
|
blockInitialAnimation: c ? c.initial === !1 : !1,
|
|
13088
13091
|
reducedMotionConfig: u
|
|
13089
13092
|
}));
|
|
13090
|
-
const f = d.current, h =
|
|
13093
|
+
const f = d.current, h = L1(G4);
|
|
13091
13094
|
f && !f.projection && i && (f.type === "html" || f.type === "svg") && As(d.current, n, i, h), $6(() => {
|
|
13092
13095
|
f && f.update(n, c);
|
|
13093
13096
|
});
|
|
13094
13097
|
const g = n[E4], w = D1(!!g && !window.MotionHandoffIsComplete && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, g)));
|
|
13095
13098
|
return z3(() => {
|
|
13096
13099
|
f && (f.updateFeatures(), U3.render(f.render), w.current && f.animationState && f.animationState.animateChanges());
|
|
13097
|
-
}),
|
|
13100
|
+
}), H1(() => {
|
|
13098
13101
|
f && (!w.current && f.animationState && f.animationState.animateChanges(), w.current = !1, k6 || (k6 = !0, queueMicrotask(Zs)));
|
|
13099
13102
|
}), f;
|
|
13100
13103
|
}
|
|
@@ -13155,7 +13158,7 @@ function Rs(e, t) {
|
|
|
13155
13158
|
return e.inherit !== !1 ? t : {};
|
|
13156
13159
|
}
|
|
13157
13160
|
function Os(e) {
|
|
13158
|
-
const { initial: t, animate: n } = Rs(e,
|
|
13161
|
+
const { initial: t, animate: n } = Rs(e, L1(v2));
|
|
13159
13162
|
return ae(() => ({ initial: t, animate: n }), [Z6(t), Z6(n)]);
|
|
13160
13163
|
}
|
|
13161
13164
|
function Z6(e) {
|
|
@@ -13198,7 +13201,7 @@ function Is({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
13198
13201
|
function o(l, c) {
|
|
13199
13202
|
let u;
|
|
13200
13203
|
const d = {
|
|
13201
|
-
...
|
|
13204
|
+
...L1(m2),
|
|
13202
13205
|
...l,
|
|
13203
13206
|
layoutId: Ns(l)
|
|
13204
13207
|
}, { isStatic: f } = d, h = Os(l), g = r(l, f);
|
|
@@ -13213,11 +13216,11 @@ function Is({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
13213
13216
|
return s[Bs] = i, s;
|
|
13214
13217
|
}
|
|
13215
13218
|
function Ns({ layoutId: e }) {
|
|
13216
|
-
const t =
|
|
13219
|
+
const t = L1(j3).id;
|
|
13217
13220
|
return t && e !== void 0 ? t + "-" + e : e;
|
|
13218
13221
|
}
|
|
13219
13222
|
function Fs(e, t) {
|
|
13220
|
-
const n =
|
|
13223
|
+
const n = L1(o9).strict;
|
|
13221
13224
|
if (process.env.NODE_ENV !== "production" && t && n) {
|
|
13222
13225
|
const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
13223
13226
|
e.ignoreStrict ? Ge(!1, r) : B1(!1, r);
|
|
@@ -13322,13 +13325,13 @@ function K3(e, t, n) {
|
|
|
13322
13325
|
var r;
|
|
13323
13326
|
const { style: i } = e, o = {};
|
|
13324
13327
|
for (const s in i)
|
|
13325
|
-
(
|
|
13328
|
+
(y1(i[s]) || t.style && y1(t.style[s]) || d9(s, e) || ((r = n == null ? void 0 : n.getValue(s)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[s] = i[s]);
|
|
13326
13329
|
return n && i && typeof i.willChange == "string" && (n.applyWillChange = !1), o;
|
|
13327
13330
|
}
|
|
13328
13331
|
function f9(e, t, n) {
|
|
13329
13332
|
const r = K3(e, t, n);
|
|
13330
13333
|
for (const i in e)
|
|
13331
|
-
if (
|
|
13334
|
+
if (y1(e[i]) || y1(t[i])) {
|
|
13332
13335
|
const o = wt.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
|
|
13333
13336
|
r[o] = e[i];
|
|
13334
13337
|
}
|
|
@@ -13346,7 +13349,7 @@ function $s({ applyWillChange: e = !1, scrapeMotionValuesFromProps: t, createRen
|
|
|
13346
13349
|
return r && (c.mount = (u) => r(i, u, c)), c;
|
|
13347
13350
|
}
|
|
13348
13351
|
const h9 = (e) => (t, n) => {
|
|
13349
|
-
const r =
|
|
13352
|
+
const r = L1(v2), i = L1(g2), o = () => $s(e, t, r, i, n);
|
|
13350
13353
|
return n ? o() : Le(o);
|
|
13351
13354
|
};
|
|
13352
13355
|
function Ws(e, t) {
|
|
@@ -13515,7 +13518,7 @@ const Q3 = (e) => typeof e == "string" && e.toLowerCase() === "svg", ea = {
|
|
|
13515
13518
|
};
|
|
13516
13519
|
function g9(e, t, n) {
|
|
13517
13520
|
for (const r in t)
|
|
13518
|
-
!
|
|
13521
|
+
!y1(t[r]) && !d9(r, n) && (e[r] = t[r]);
|
|
13519
13522
|
}
|
|
13520
13523
|
function na({ transformTemplate: e }, t) {
|
|
13521
13524
|
return ae(() => {
|
|
@@ -13597,7 +13600,7 @@ function la(e, t, n, r) {
|
|
|
13597
13600
|
}
|
|
13598
13601
|
function ca(e = !1) {
|
|
13599
13602
|
return (n, r, i, { latestValues: o }, s) => {
|
|
13600
|
-
const c = (G3(n) ? la : ia)(r, o, s, n), u = aa(r, typeof n == "string", e), d = n !== W6 ? { ...u, ...c, ref: i } : {}, { children: f } = r, h = ae(() =>
|
|
13603
|
+
const c = (G3(n) ? la : ia)(r, o, s, n), u = aa(r, typeof n == "string", e), d = n !== W6 ? { ...u, ...c, ref: i } : {}, { children: f } = r, h = ae(() => y1(f) ? f.get() : f, [f]);
|
|
13601
13604
|
return T9(n, {
|
|
13602
13605
|
...d,
|
|
13603
13606
|
children: h
|
|
@@ -13628,9 +13631,9 @@ function da() {
|
|
|
13628
13631
|
function fa(e, t, n) {
|
|
13629
13632
|
for (const r in t) {
|
|
13630
13633
|
const i = t[r], o = n[r];
|
|
13631
|
-
if (
|
|
13634
|
+
if (y1(i))
|
|
13632
13635
|
e.addValue(r, i), process.env.NODE_ENV === "development" && u2(i.version === "11.5.6", `Attempting to mix Framer Motion versions ${i.version} with 11.5.6 may not work as expected.`);
|
|
13633
|
-
else if (
|
|
13636
|
+
else if (y1(o))
|
|
13634
13637
|
e.addValue(r, Fe(i, { owner: e }));
|
|
13635
13638
|
else if (o !== i)
|
|
13636
13639
|
if (e.hasValue(r)) {
|
|
@@ -13645,7 +13648,7 @@ function fa(e, t, n) {
|
|
|
13645
13648
|
t[r] === void 0 && e.removeValue(r);
|
|
13646
13649
|
return t;
|
|
13647
13650
|
}
|
|
13648
|
-
const yt = /* @__PURE__ */ new WeakMap(), ha = [...Qn,
|
|
13651
|
+
const yt = /* @__PURE__ */ new WeakMap(), ha = [...Qn, M1, ce], Ca = (e) => ha.find(qn(e)), O6 = [
|
|
13649
13652
|
"AnimationStart",
|
|
13650
13653
|
"AnimationComplete",
|
|
13651
13654
|
"Update",
|
|
@@ -13677,7 +13680,7 @@ class pa {
|
|
|
13677
13680
|
const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
|
|
13678
13681
|
for (const h in f) {
|
|
13679
13682
|
const g = f[h];
|
|
13680
|
-
c[h] !== void 0 &&
|
|
13683
|
+
c[h] !== void 0 && y1(g) && g.set(c[h], !1);
|
|
13681
13684
|
}
|
|
13682
13685
|
}
|
|
13683
13686
|
mount(t) {
|
|
@@ -13814,7 +13817,7 @@ class pa {
|
|
|
13814
13817
|
readValue(t, n) {
|
|
13815
13818
|
var r;
|
|
13816
13819
|
let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (r = this.getBaseTargetFromProps(this.props, t)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, t, this.options);
|
|
13817
|
-
return i != null && (typeof i == "string" && (Gn(i) || zn(i)) ? i = parseFloat(i) : !Ca(i) && ce.test(n) && (i = s4(t, n)), this.setBaseTarget(t,
|
|
13820
|
+
return i != null && (typeof i == "string" && (Gn(i) || zn(i)) ? i = parseFloat(i) : !Ca(i) && ce.test(n) && (i = s4(t, n)), this.setBaseTarget(t, y1(i) ? i.get() : i)), y1(i) ? i.get() : i;
|
|
13818
13821
|
}
|
|
13819
13822
|
/**
|
|
13820
13823
|
* Set the base target to later animate back to. This is currently
|
|
@@ -13838,7 +13841,7 @@ class pa {
|
|
|
13838
13841
|
if (r && i !== void 0)
|
|
13839
13842
|
return i;
|
|
13840
13843
|
const o = this.getBaseTargetFromProps(this.props, t);
|
|
13841
|
-
return o !== void 0 && !
|
|
13844
|
+
return o !== void 0 && !y1(o) ? o : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
|
|
13842
13845
|
}
|
|
13843
13846
|
on(t, n) {
|
|
13844
13847
|
return this.events[t] || (this.events[t] = new N3()), this.events[t].add(n);
|
|
@@ -13889,7 +13892,7 @@ class w9 extends y9 {
|
|
|
13889
13892
|
handleChildMotionValue() {
|
|
13890
13893
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
13891
13894
|
const { children: t } = this.props;
|
|
13892
|
-
|
|
13895
|
+
y1(t) && (this.childSubscription = t.on("change", (n) => {
|
|
13893
13896
|
this.current && (this.current.textContent = `${n}`);
|
|
13894
13897
|
}));
|
|
13895
13898
|
}
|
|
@@ -13953,7 +13956,7 @@ function wa({ children: e, isPresent: t }) {
|
|
|
13953
13956
|
height: 0,
|
|
13954
13957
|
top: 0,
|
|
13955
13958
|
left: 0
|
|
13956
|
-
}), { nonce: o } =
|
|
13959
|
+
}), { nonce: o } = L1(m2);
|
|
13957
13960
|
return $6(() => {
|
|
13958
13961
|
const { width: s, height: l, top: c, left: u } = i.current;
|
|
13959
13962
|
if (t || !r.current || !s || !l)
|
|
@@ -14033,7 +14036,7 @@ const La = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
|
|
|
14033
14036
|
return;
|
|
14034
14037
|
}
|
|
14035
14038
|
process.env.NODE_ENV !== "production" && s === "wait" && w.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.`);
|
|
14036
|
-
const { forceRender: m } =
|
|
14039
|
+
const { forceRender: m } = L1(j3);
|
|
14037
14040
|
return a(be, { children: w.map((H) => {
|
|
14038
14041
|
const x = Ut(H), S = l === w || c.includes(x), k = () => {
|
|
14039
14042
|
if (f.has(x))
|
|
@@ -14049,10 +14052,10 @@ const La = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
|
|
|
14049
14052
|
}) });
|
|
14050
14053
|
};
|
|
14051
14054
|
function x9(e) {
|
|
14052
|
-
const t = Le(() => Fe(e)), { isStatic: n } =
|
|
14055
|
+
const t = Le(() => Fe(e)), { isStatic: n } = L1(m2);
|
|
14053
14056
|
if (n) {
|
|
14054
14057
|
const [, r] = S1(e);
|
|
14055
|
-
|
|
14058
|
+
H1(() => t.on("change", r), []);
|
|
14056
14059
|
}
|
|
14057
14060
|
return t;
|
|
14058
14061
|
}
|
|
@@ -14103,7 +14106,7 @@ function V9(e, t, n) {
|
|
|
14103
14106
|
return Array.from(e || []);
|
|
14104
14107
|
}
|
|
14105
14108
|
function Pa(e) {
|
|
14106
|
-
return
|
|
14109
|
+
return H1(() => () => e(), []);
|
|
14107
14110
|
}
|
|
14108
14111
|
function Ea(e) {
|
|
14109
14112
|
return typeof e == "object" && !Array.isArray(e);
|
|
@@ -14199,7 +14202,7 @@ function Ia(e, { defaultTransition: t = {}, ...n } = {}, r) {
|
|
|
14199
14202
|
const Q = N.length - P.length;
|
|
14200
14203
|
Q > 0 && x4(N, Q), P.length === 1 && P.unshift(null), Oa(k, P, _, N, j, Y), m = Math.max(e1 + W, m), f = Math.max(Y, f);
|
|
14201
14204
|
};
|
|
14202
|
-
if (
|
|
14205
|
+
if (y1(w)) {
|
|
14203
14206
|
const x = N6(w, s);
|
|
14204
14207
|
H(C, y, F6("default", x));
|
|
14205
14208
|
} else {
|
|
@@ -14270,7 +14273,7 @@ function Wa(e, t, n) {
|
|
|
14270
14273
|
const r = [];
|
|
14271
14274
|
return Ia(e, t, n).forEach(({ keyframes: o, transition: s }, l) => {
|
|
14272
14275
|
let c;
|
|
14273
|
-
|
|
14276
|
+
y1(l) ? c = $3(l, o.default, s.default) : c = M9(l, o, s), r.push(c);
|
|
14274
14277
|
}), new B3(r);
|
|
14275
14278
|
}
|
|
14276
14279
|
const za = (e) => {
|
|
@@ -14317,7 +14320,7 @@ const Ya = ({
|
|
|
14317
14320
|
const [r] = S1(
|
|
14318
14321
|
"https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"
|
|
14319
14322
|
), [i, o] = S1("initial"), s = D1(null), l = D1(null), c = x9(45), u = Ta(c, (d) => `${d}% center`);
|
|
14320
|
-
return
|
|
14323
|
+
return H1(() => {
|
|
14321
14324
|
if (t)
|
|
14322
14325
|
o("visible");
|
|
14323
14326
|
else {
|
|
@@ -14458,9 +14461,9 @@ const Ya = ({
|
|
|
14458
14461
|
return k9(i, () => ({
|
|
14459
14462
|
startAnimation: c,
|
|
14460
14463
|
stopAnimation: u
|
|
14461
|
-
})),
|
|
14464
|
+
})), H1(() => {
|
|
14462
14465
|
t ? c() : u();
|
|
14463
|
-
}, [t]),
|
|
14466
|
+
}, [t]), H1(() => {
|
|
14464
14467
|
const d = () => {
|
|
14465
14468
|
t || c();
|
|
14466
14469
|
}, f = () => {
|
|
@@ -14473,7 +14476,7 @@ const Ya = ({
|
|
|
14473
14476
|
}, [s, t]), /* @__PURE__ */ a("div", { ref: s, children: /* @__PURE__ */ a(
|
|
14474
14477
|
"span",
|
|
14475
14478
|
{
|
|
14476
|
-
className:
|
|
14479
|
+
className: v1(
|
|
14477
14480
|
"gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",
|
|
14478
14481
|
n
|
|
14479
14482
|
),
|
|
@@ -14579,7 +14582,7 @@ const ot = ({
|
|
|
14579
14582
|
const [i, o] = S1(!1), [s, l] = S1(
|
|
14580
14583
|
null
|
|
14581
14584
|
), c = J6(), u = D1(null);
|
|
14582
|
-
|
|
14585
|
+
H1(() => () => {
|
|
14583
14586
|
u.current && clearTimeout(u.current);
|
|
14584
14587
|
}, []);
|
|
14585
14588
|
const d = t && t === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", f = "https://garden.finance", h = {
|
|
@@ -14676,7 +14679,7 @@ const ot = ({
|
|
|
14676
14679
|
isExternal: !0
|
|
14677
14680
|
},
|
|
14678
14681
|
btcTocbBtc: {
|
|
14679
|
-
title: "BTC to
|
|
14682
|
+
title: "BTC to cbBTC",
|
|
14680
14683
|
link: f + "/routes/bridge-btc-to-cbbtc-base",
|
|
14681
14684
|
chain: "Base",
|
|
14682
14685
|
isExternal: !0
|
|
@@ -14706,9 +14709,9 @@ const ot = ({
|
|
|
14706
14709
|
isExternal: !0
|
|
14707
14710
|
},
|
|
14708
14711
|
cbBtcBaseTocbBtcSolana: {
|
|
14709
|
-
title: " to
|
|
14712
|
+
title: " to cbBTC",
|
|
14710
14713
|
link: f + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
14711
|
-
inputAsset: "
|
|
14714
|
+
inputAsset: "cbBTC",
|
|
14712
14715
|
inputChain: "Base",
|
|
14713
14716
|
chain: "Solana",
|
|
14714
14717
|
isExternal: !0
|
|
@@ -14763,7 +14766,7 @@ const ot = ({
|
|
|
14763
14766
|
return /* @__PURE__ */ E(
|
|
14764
14767
|
"footer",
|
|
14765
14768
|
{
|
|
14766
|
-
className:
|
|
14769
|
+
className: v1(
|
|
14767
14770
|
"gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",
|
|
14768
14771
|
e,
|
|
14769
14772
|
i ? "gf-text-white" : "gf-text-dark-grey"
|
|
@@ -14956,8 +14959,8 @@ var H9 = { exports: {} };
|
|
|
14956
14959
|
var P, D, N, U, I, _, W = 0, e1 = !1, q = !1, j = !0;
|
|
14957
14960
|
if (typeof k != "function") throw new TypeError("Expected a function");
|
|
14958
14961
|
function Y(o1) {
|
|
14959
|
-
var s1 = P,
|
|
14960
|
-
return P = D = void 0, W = o1, U = k.apply(
|
|
14962
|
+
var s1 = P, w1 = D;
|
|
14963
|
+
return P = D = void 0, W = o1, U = k.apply(w1, s1);
|
|
14961
14964
|
}
|
|
14962
14965
|
function Q(o1) {
|
|
14963
14966
|
var s1 = o1 - _;
|
|
@@ -14967,8 +14970,8 @@ var H9 = { exports: {} };
|
|
|
14967
14970
|
var o1 = H();
|
|
14968
14971
|
if (Q(o1)) return c1(o1);
|
|
14969
14972
|
I = setTimeout(X, function(s1) {
|
|
14970
|
-
var
|
|
14971
|
-
return q ? m(
|
|
14973
|
+
var w1 = O - (s1 - _);
|
|
14974
|
+
return q ? m(w1, N - (s1 - W)) : w1;
|
|
14972
14975
|
}(o1));
|
|
14973
14976
|
}
|
|
14974
14977
|
function c1(o1) {
|
|
@@ -14977,8 +14980,8 @@ var H9 = { exports: {} };
|
|
|
14977
14980
|
function d1() {
|
|
14978
14981
|
var o1 = H(), s1 = Q(o1);
|
|
14979
14982
|
if (P = arguments, D = this, _ = o1, s1) {
|
|
14980
|
-
if (I === void 0) return function(
|
|
14981
|
-
return W =
|
|
14983
|
+
if (I === void 0) return function(w1) {
|
|
14984
|
+
return W = w1, I = setTimeout(X, O), e1 ? Y(w1) : U;
|
|
14982
14985
|
}(_);
|
|
14983
14986
|
if (q) return I = setTimeout(X, O), Y(_);
|
|
14984
14987
|
}
|
|
@@ -15018,11 +15021,11 @@ var H9 = { exports: {} };
|
|
|
15018
15021
|
var U = !0, I = !0;
|
|
15019
15022
|
if (typeof P != "function") throw new TypeError(l);
|
|
15020
15023
|
return O(N) && (U = "leading" in N ? !!N.leading : U, I = "trailing" in N ? !!N.trailing : I), function(_, W, e1) {
|
|
15021
|
-
var q, j, Y, Q, X, c1, d1 = 0, o1 = !1, s1 = !1,
|
|
15024
|
+
var q, j, Y, Q, X, c1, d1 = 0, o1 = !1, s1 = !1, w1 = !0;
|
|
15022
15025
|
if (typeof _ != "function") throw new TypeError(l);
|
|
15023
15026
|
function G1(h1) {
|
|
15024
|
-
var T1 = q,
|
|
15025
|
-
return q = j = void 0, d1 = h1, Q = _.apply(
|
|
15027
|
+
var T1 = q, b1 = j;
|
|
15028
|
+
return q = j = void 0, d1 = h1, Q = _.apply(b1, T1);
|
|
15026
15029
|
}
|
|
15027
15030
|
function N1(h1) {
|
|
15028
15031
|
var T1 = h1 - c1;
|
|
@@ -15032,24 +15035,24 @@ var H9 = { exports: {} };
|
|
|
15032
15035
|
var h1 = k();
|
|
15033
15036
|
if (N1(h1)) return R1(h1);
|
|
15034
15037
|
X = setTimeout(P1, function(T1) {
|
|
15035
|
-
var
|
|
15036
|
-
return s1 ? S(
|
|
15038
|
+
var b1 = W - (T1 - c1);
|
|
15039
|
+
return s1 ? S(b1, Y - (T1 - d1)) : b1;
|
|
15037
15040
|
}(h1));
|
|
15038
15041
|
}
|
|
15039
15042
|
function R1(h1) {
|
|
15040
|
-
return X = void 0,
|
|
15043
|
+
return X = void 0, w1 && q ? G1(h1) : (q = j = void 0, Q);
|
|
15041
15044
|
}
|
|
15042
15045
|
function O1() {
|
|
15043
15046
|
var h1 = k(), T1 = N1(h1);
|
|
15044
15047
|
if (q = arguments, j = this, c1 = h1, T1) {
|
|
15045
|
-
if (X === void 0) return function(
|
|
15046
|
-
return d1 =
|
|
15048
|
+
if (X === void 0) return function(b1) {
|
|
15049
|
+
return d1 = b1, X = setTimeout(P1, W), o1 ? G1(b1) : Q;
|
|
15047
15050
|
}(c1);
|
|
15048
15051
|
if (s1) return X = setTimeout(P1, W), G1(c1);
|
|
15049
15052
|
}
|
|
15050
15053
|
return X === void 0 && (X = setTimeout(P1, W)), Q;
|
|
15051
15054
|
}
|
|
15052
|
-
return W = Z(W) || 0, O(e1) && (o1 = !!e1.leading, Y = (s1 = "maxWait" in e1) ? x(Z(e1.maxWait) || 0, W) : Y,
|
|
15055
|
+
return W = Z(W) || 0, O(e1) && (o1 = !!e1.leading, Y = (s1 = "maxWait" in e1) ? x(Z(e1.maxWait) || 0, W) : Y, w1 = "trailing" in e1 ? !!e1.trailing : w1), O1.cancel = function() {
|
|
15053
15056
|
X !== void 0 && clearTimeout(X), d1 = 0, q = c1 = j = X = void 0;
|
|
15054
15057
|
}, O1.flush = function() {
|
|
15055
15058
|
return X === void 0 ? Q : R1(k());
|
|
@@ -15378,7 +15381,7 @@ var H9 = { exports: {} };
|
|
|
15378
15381
|
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
15379
15382
|
}, s1(T);
|
|
15380
15383
|
}
|
|
15381
|
-
function
|
|
15384
|
+
function w1(T, p) {
|
|
15382
15385
|
for (var V = 0; V < p.length; V++) {
|
|
15383
15386
|
var b = p[V];
|
|
15384
15387
|
b.enumerable = b.enumerable || !1, b.configurable = !0, "value" in b && (b.writable = !0), Object.defineProperty(T, G1(b.key), b);
|
|
@@ -15438,16 +15441,16 @@ var H9 = { exports: {} };
|
|
|
15438
15441
|
v.prototype = Object.create(L && L.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), L && O1(v, L);
|
|
15439
15442
|
}(p, T), V = p, (b = [{ key: "render", value: function() {
|
|
15440
15443
|
return o().createElement(S, this.props);
|
|
15441
|
-
} }]) &&
|
|
15444
|
+
} }]) && w1(V.prototype, b), Object.defineProperty(V, "prototype", { writable: !1 }), V;
|
|
15442
15445
|
var V, b;
|
|
15443
15446
|
}(o().Component);
|
|
15444
15447
|
const T1 = o1(h1);
|
|
15445
|
-
function
|
|
15446
|
-
return
|
|
15448
|
+
function b1(T) {
|
|
15449
|
+
return b1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(p) {
|
|
15447
15450
|
return typeof p;
|
|
15448
15451
|
} : function(p) {
|
|
15449
15452
|
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
15450
|
-
},
|
|
15453
|
+
}, b1(T);
|
|
15451
15454
|
}
|
|
15452
15455
|
function G(T, p) {
|
|
15453
15456
|
for (var V = 0; V < p.length; V++) {
|
|
@@ -15457,20 +15460,20 @@ var H9 = { exports: {} };
|
|
|
15457
15460
|
}
|
|
15458
15461
|
function Vt(T) {
|
|
15459
15462
|
var p = function(V, b) {
|
|
15460
|
-
if (
|
|
15463
|
+
if (b1(V) != "object" || !V) return V;
|
|
15461
15464
|
var v = V[Symbol.toPrimitive];
|
|
15462
15465
|
if (v !== void 0) {
|
|
15463
15466
|
var L = v.call(V, "string");
|
|
15464
|
-
if (
|
|
15467
|
+
if (b1(L) != "object") return L;
|
|
15465
15468
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15466
15469
|
}
|
|
15467
15470
|
return String(V);
|
|
15468
15471
|
}(T);
|
|
15469
|
-
return
|
|
15472
|
+
return b1(p) == "symbol" ? p : p + "";
|
|
15470
15473
|
}
|
|
15471
15474
|
function Mt(T, p, V) {
|
|
15472
15475
|
return p = Me(p), function(b, v) {
|
|
15473
|
-
if (v && (
|
|
15476
|
+
if (v && (b1(v) == "object" || typeof v == "function")) return v;
|
|
15474
15477
|
if (v !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
15475
15478
|
return function(L) {
|
|
15476
15479
|
if (L === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -15682,17 +15685,17 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
|
|
|
15682
15685
|
thumbnailClassName: o
|
|
15683
15686
|
}) => {
|
|
15684
15687
|
const [s, l] = S1(!1), [c, u] = S1(e ?? G2);
|
|
15685
|
-
|
|
15688
|
+
H1(() => {
|
|
15686
15689
|
u(e ?? G2);
|
|
15687
15690
|
}, [e]);
|
|
15688
15691
|
const d = () => {
|
|
15689
15692
|
u(G2);
|
|
15690
15693
|
};
|
|
15691
|
-
return /* @__PURE__ */ a(o2, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ E("div", { className:
|
|
15694
|
+
return /* @__PURE__ */ a(o2, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ E("div", { className: v1(i, "gf-overflow-hidden gf-rounded-2xl"), children: [
|
|
15692
15695
|
/* @__PURE__ */ a(
|
|
15693
15696
|
"div",
|
|
15694
15697
|
{
|
|
15695
|
-
className:
|
|
15698
|
+
className: v1(o, `${s ? "" : "gf-filter gf-blur-md"}`),
|
|
15696
15699
|
children: /* @__PURE__ */ a(
|
|
15697
15700
|
qa.LazyLoadImage,
|
|
15698
15701
|
{
|
|
@@ -15740,7 +15743,7 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
|
|
|
15740
15743
|
description: n,
|
|
15741
15744
|
chipContent: r,
|
|
15742
15745
|
logo: i
|
|
15743
|
-
}) => /* @__PURE__ */ E("div", { className:
|
|
15746
|
+
}) => /* @__PURE__ */ E("div", { className: v1(Qa({ variant: e })), children: [
|
|
15744
15747
|
/* @__PURE__ */ E("div", { className: "gf-flex gf-justify-between gf-items-center gf-mb-4", children: [
|
|
15745
15748
|
/* @__PURE__ */ E(Y1, { className: "gf-cursor-pointer gf-px-2 gf-py-1", children: [
|
|
15746
15749
|
/* @__PURE__ */ a(Y1.Logo, { children: i }),
|