@gardenfi/garden-book 0.2.15 → 0.2.17
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/style.css +1 -1
- package/dist/ui.cjs.js +5 -5
- package/dist/ui.es.js +124 -108
- package/dist/ui.umd.js +10 -10
- package/package.json +1 -1
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 H1, forwardRef as p3, useMemo as ae, useLayoutEffect as j6, useRef as D1, createContext as Ue, useContext 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,7 +2386,7 @@ 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
2391
|
return H1(() => {
|
|
2392
2392
|
t(!0);
|
|
@@ -2841,7 +2841,7 @@ const h0 = /* @__PURE__ */ K9(f0), L1 = (...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), L1 = (...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), L1 = (...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
|
}
|
|
@@ -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
|
}
|
|
@@ -9203,7 +9203,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9203
9203
|
return /* @__PURE__ */ E(
|
|
9204
9204
|
"div",
|
|
9205
9205
|
{
|
|
9206
|
-
className:
|
|
9206
|
+
className: v1("gf-relative gf-flex gf-items-center gf-h-5 gf-w-[38px]", n),
|
|
9207
9207
|
style: c,
|
|
9208
9208
|
...o,
|
|
9209
9209
|
children: [
|
|
@@ -9211,7 +9211,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__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
9215
|
style: u
|
|
9216
9216
|
}
|
|
9217
9217
|
),
|
|
@@ -9219,7 +9219,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9219
9219
|
"img",
|
|
9220
9220
|
{
|
|
9221
9221
|
src: t,
|
|
9222
|
-
className:
|
|
9222
|
+
className: v1("gf-absolute gf-right-0 gf-z-20 gf-h-5", r),
|
|
9223
9223
|
style: u
|
|
9224
9224
|
}
|
|
9225
9225
|
)
|
|
@@ -9236,7 +9236,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9236
9236
|
}) => /* @__PURE__ */ a(
|
|
9237
9237
|
"div",
|
|
9238
9238
|
{
|
|
9239
|
-
className:
|
|
9239
|
+
className: v1(
|
|
9240
9240
|
"gf-flex gf-text-left gf-cursor-pointer gf-w-max",
|
|
9241
9241
|
r
|
|
9242
9242
|
),
|
|
@@ -9267,58 +9267,59 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
|
|
|
9267
9267
|
height: n,
|
|
9268
9268
|
gradientHeight: r = 24,
|
|
9269
9269
|
onClose: i = !1,
|
|
9270
|
-
|
|
9270
|
+
gradientClassName: o,
|
|
9271
|
+
...s
|
|
9271
9272
|
}) => {
|
|
9272
|
-
const [
|
|
9273
|
-
if (
|
|
9274
|
-
const { scrollTop:
|
|
9275
|
-
|
|
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);
|
|
9276
9277
|
}
|
|
9277
9278
|
};
|
|
9278
9279
|
return H1(() => {
|
|
9279
|
-
i &&
|
|
9280
|
+
i && f.current && (f.current.scrollTop = 0);
|
|
9280
9281
|
}, [i]), H1(() => {
|
|
9281
|
-
const
|
|
9282
|
-
if (!
|
|
9283
|
-
|
|
9284
|
-
const
|
|
9285
|
-
|
|
9282
|
+
const w = f.current, C = h.current;
|
|
9283
|
+
if (!w || !C) return;
|
|
9284
|
+
g();
|
|
9285
|
+
const y = new ResizeObserver(() => {
|
|
9286
|
+
g();
|
|
9286
9287
|
});
|
|
9287
|
-
return
|
|
9288
|
-
|
|
9288
|
+
return y.observe(w), y.observe(C), () => {
|
|
9289
|
+
y.disconnect();
|
|
9289
9290
|
};
|
|
9290
9291
|
}, []), /* @__PURE__ */ E(
|
|
9291
9292
|
"div",
|
|
9292
9293
|
{
|
|
9293
|
-
className:
|
|
9294
|
+
className: v1(
|
|
9294
9295
|
"gf-w-full gf-bg-white gf-relative gf-overflow-hidden",
|
|
9295
9296
|
t
|
|
9296
9297
|
),
|
|
9297
9298
|
style: { height: typeof n == "number" ? `${n}px` : n },
|
|
9298
|
-
...
|
|
9299
|
+
...s,
|
|
9299
9300
|
children: [
|
|
9300
9301
|
/* @__PURE__ */ a(
|
|
9301
9302
|
"div",
|
|
9302
9303
|
{
|
|
9303
9304
|
className: "gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",
|
|
9304
|
-
onScroll:
|
|
9305
|
-
ref:
|
|
9306
|
-
children: /* @__PURE__ */ a("div", { ref:
|
|
9305
|
+
onScroll: g,
|
|
9306
|
+
ref: f,
|
|
9307
|
+
children: /* @__PURE__ */ a("div", { ref: h, children: e })
|
|
9307
9308
|
}
|
|
9308
9309
|
),
|
|
9309
|
-
|
|
9310
|
+
u && /* @__PURE__ */ a(
|
|
9310
9311
|
"div",
|
|
9311
9312
|
{
|
|
9312
|
-
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),
|
|
9313
9314
|
style: {
|
|
9314
9315
|
height: typeof r == "number" ? `${r}px` : r
|
|
9315
9316
|
}
|
|
9316
9317
|
}
|
|
9317
9318
|
),
|
|
9318
|
-
|
|
9319
|
+
l && /* @__PURE__ */ a(
|
|
9319
9320
|
"div",
|
|
9320
9321
|
{
|
|
9321
|
-
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),
|
|
9322
9323
|
style: {
|
|
9323
9324
|
height: typeof r == "number" ? `${r}px` : r
|
|
9324
9325
|
}
|
|
@@ -9514,7 +9515,7 @@ function Wn(e, t) {
|
|
|
9514
9515
|
s[Nt[H]].cancel(m);
|
|
9515
9516
|
}, state: i, steps: s };
|
|
9516
9517
|
}
|
|
9517
|
-
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);
|
|
9518
9519
|
function y8(e) {
|
|
9519
9520
|
return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || zn(e) : !0;
|
|
9520
9521
|
}
|
|
@@ -9954,7 +9955,7 @@ function X8() {
|
|
|
9954
9955
|
Gt = void 0;
|
|
9955
9956
|
}
|
|
9956
9957
|
const W1 = {
|
|
9957
|
-
now: () => (Gt === void 0 && W1.set(
|
|
9958
|
+
now: () => (Gt === void 0 && W1.set(x1.isProcessing || p8.useManualTiming ? x1.timestamp : performance.now()), Gt),
|
|
9958
9959
|
set: (e) => {
|
|
9959
9960
|
Gt = e, queueMicrotask(X8);
|
|
9960
9961
|
}
|
|
@@ -10397,7 +10398,7 @@ const Ei = (e) => {
|
|
|
10397
10398
|
* If we're processing this frame we can use the
|
|
10398
10399
|
* framelocked timestamp to keep things in sync.
|
|
10399
10400
|
*/
|
|
10400
|
-
now: () =>
|
|
10401
|
+
now: () => x1.isProcessing ? x1.timestamp : W1.now()
|
|
10401
10402
|
};
|
|
10402
10403
|
}, ki = {
|
|
10403
10404
|
decay: O5,
|
|
@@ -11134,9 +11135,9 @@ class Gi extends P4 {
|
|
|
11134
11135
|
this.set(this.output.length ? this.output.join(", ") : "auto");
|
|
11135
11136
|
}
|
|
11136
11137
|
}
|
|
11137
|
-
const
|
|
11138
|
+
const y1 = (e) => !!(e && e.getVelocity);
|
|
11138
11139
|
function Ki(e) {
|
|
11139
|
-
return !!(
|
|
11140
|
+
return !!(y1(e) && e.add);
|
|
11140
11141
|
}
|
|
11141
11142
|
function l3(e, t) {
|
|
11142
11143
|
var n;
|
|
@@ -11443,7 +11444,7 @@ class R4 {
|
|
|
11443
11444
|
const f = N2(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, g = uo(f.offset, { x: 0, y: 0 }) >= 3;
|
|
11444
11445
|
if (!h && !g)
|
|
11445
11446
|
return;
|
|
11446
|
-
const { point: w } = f, { timestamp: C } =
|
|
11447
|
+
const { point: w } = f, { timestamp: C } = x1;
|
|
11447
11448
|
this.history.push({ ...w, timestamp: C });
|
|
11448
11449
|
const { onStart: y, onMove: m } = this.handlers;
|
|
11449
11450
|
h || (y && y(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), m && m(this.lastMoveEvent, f);
|
|
@@ -11459,7 +11460,7 @@ class R4 {
|
|
|
11459
11460
|
}, !D4(t))
|
|
11460
11461
|
return;
|
|
11461
11462
|
this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
|
|
11462
|
-
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;
|
|
11463
11464
|
this.history = [{ ...c, timestamp: u }];
|
|
11464
11465
|
const { onSessionStart: d } = n;
|
|
11465
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));
|
|
@@ -11996,7 +11997,7 @@ class Do extends fe {
|
|
|
11996
11997
|
}
|
|
11997
11998
|
const g2 = Ue(null);
|
|
11998
11999
|
function Ro() {
|
|
11999
|
-
const e =
|
|
12000
|
+
const e = L1(g2);
|
|
12000
12001
|
if (e === null)
|
|
12001
12002
|
return [!0, null];
|
|
12002
12003
|
const { isPresent: t, onExitComplete: n, register: r } = e, i = g3();
|
|
@@ -12087,8 +12088,8 @@ class Bo extends S9 {
|
|
|
12087
12088
|
}
|
|
12088
12089
|
}
|
|
12089
12090
|
function K4(e) {
|
|
12090
|
-
const [t, n] = Ro(), r =
|
|
12091
|
-
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 });
|
|
12092
12093
|
}
|
|
12093
12094
|
const Io = {
|
|
12094
12095
|
borderRadius: {
|
|
@@ -12258,7 +12259,7 @@ class qo {
|
|
|
12258
12259
|
}
|
|
12259
12260
|
}
|
|
12260
12261
|
function Yt(e) {
|
|
12261
|
-
const t =
|
|
12262
|
+
const t = y1(e) ? e.get() : e;
|
|
12262
12263
|
return Fi(t) ? t.toValue() : t;
|
|
12263
12264
|
}
|
|
12264
12265
|
function Qo(e, t) {
|
|
@@ -12272,7 +12273,7 @@ function J4(e) {
|
|
|
12272
12273
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
12273
12274
|
}
|
|
12274
12275
|
function $3(e, t, n) {
|
|
12275
|
-
const r =
|
|
12276
|
+
const r = y1(e) ? e : Fe(e);
|
|
12276
12277
|
return r.start(I3("", r, t, n)), r.animation;
|
|
12277
12278
|
}
|
|
12278
12279
|
const me = {
|
|
@@ -12407,7 +12408,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12407
12408
|
}
|
|
12408
12409
|
this.isUpdating || this.nodes.forEach(ss), this.isUpdating = !1, this.nodes.forEach(as), this.nodes.forEach(ts), this.nodes.forEach(ns), this.clearAllSnapshots();
|
|
12409
12410
|
const l = W1.now();
|
|
12410
|
-
|
|
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;
|
|
12411
12412
|
}
|
|
12412
12413
|
didUpdate() {
|
|
12413
12414
|
this.updateScheduled || (this.updateScheduled = !0, U3.read(this.scheduleUpdate));
|
|
@@ -12532,7 +12533,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12532
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;
|
|
12533
12534
|
}
|
|
12534
12535
|
forceRelativeParentToResolveTarget() {
|
|
12535
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !==
|
|
12536
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== x1.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
|
12536
12537
|
}
|
|
12537
12538
|
resolveTargetDelta(s = !1) {
|
|
12538
12539
|
var l;
|
|
@@ -12543,7 +12544,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12543
12544
|
return;
|
|
12544
12545
|
const { layout: f, layoutId: h } = this.options;
|
|
12545
12546
|
if (!(!this.layout || !(f || h))) {
|
|
12546
|
-
if (this.resolvedRelativeTargetAt =
|
|
12547
|
+
if (this.resolvedRelativeTargetAt = x1.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
12547
12548
|
const g = this.getClosestProjectingParent();
|
|
12548
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;
|
|
12549
12550
|
}
|
|
@@ -12568,7 +12569,7 @@ function t9({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
12568
12569
|
var s;
|
|
12569
12570
|
const l = this.getLead(), c = !!this.resumingFrom || this !== l;
|
|
12570
12571
|
let u = !0;
|
|
12571
|
-
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)
|
|
12572
12573
|
return;
|
|
12573
12574
|
const { layout: d, layoutId: f } = this.options;
|
|
12574
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))
|
|
@@ -13080,7 +13081,7 @@ const Ps = {
|
|
|
13080
13081
|
let k6 = !1;
|
|
13081
13082
|
function ks(e, t, n, r, i) {
|
|
13082
13083
|
var o;
|
|
13083
|
-
const { visualElement: s } =
|
|
13084
|
+
const { visualElement: s } = L1(v2), l = L1(o9), c = L1(g2), u = L1(m2).reducedMotion, d = D1();
|
|
13084
13085
|
r = r || l.renderer, !d.current && r && (d.current = r(e, {
|
|
13085
13086
|
visualState: t,
|
|
13086
13087
|
parent: s,
|
|
@@ -13089,7 +13090,7 @@ function ks(e, t, n, r, i) {
|
|
|
13089
13090
|
blockInitialAnimation: c ? c.initial === !1 : !1,
|
|
13090
13091
|
reducedMotionConfig: u
|
|
13091
13092
|
}));
|
|
13092
|
-
const f = d.current, h =
|
|
13093
|
+
const f = d.current, h = L1(G4);
|
|
13093
13094
|
f && !f.projection && i && (f.type === "html" || f.type === "svg") && As(d.current, n, i, h), $6(() => {
|
|
13094
13095
|
f && f.update(n, c);
|
|
13095
13096
|
});
|
|
@@ -13157,7 +13158,7 @@ function Rs(e, t) {
|
|
|
13157
13158
|
return e.inherit !== !1 ? t : {};
|
|
13158
13159
|
}
|
|
13159
13160
|
function Os(e) {
|
|
13160
|
-
const { initial: t, animate: n } = Rs(e,
|
|
13161
|
+
const { initial: t, animate: n } = Rs(e, L1(v2));
|
|
13161
13162
|
return ae(() => ({ initial: t, animate: n }), [Z6(t), Z6(n)]);
|
|
13162
13163
|
}
|
|
13163
13164
|
function Z6(e) {
|
|
@@ -13200,7 +13201,7 @@ function Is({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
13200
13201
|
function o(l, c) {
|
|
13201
13202
|
let u;
|
|
13202
13203
|
const d = {
|
|
13203
|
-
...
|
|
13204
|
+
...L1(m2),
|
|
13204
13205
|
...l,
|
|
13205
13206
|
layoutId: Ns(l)
|
|
13206
13207
|
}, { isStatic: f } = d, h = Os(l), g = r(l, f);
|
|
@@ -13215,11 +13216,11 @@ function Is({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
13215
13216
|
return s[Bs] = i, s;
|
|
13216
13217
|
}
|
|
13217
13218
|
function Ns({ layoutId: e }) {
|
|
13218
|
-
const t =
|
|
13219
|
+
const t = L1(j3).id;
|
|
13219
13220
|
return t && e !== void 0 ? t + "-" + e : e;
|
|
13220
13221
|
}
|
|
13221
13222
|
function Fs(e, t) {
|
|
13222
|
-
const n =
|
|
13223
|
+
const n = L1(o9).strict;
|
|
13223
13224
|
if (process.env.NODE_ENV !== "production" && t && n) {
|
|
13224
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.";
|
|
13225
13226
|
e.ignoreStrict ? Ge(!1, r) : B1(!1, r);
|
|
@@ -13324,13 +13325,13 @@ function K3(e, t, n) {
|
|
|
13324
13325
|
var r;
|
|
13325
13326
|
const { style: i } = e, o = {};
|
|
13326
13327
|
for (const s in i)
|
|
13327
|
-
(
|
|
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]);
|
|
13328
13329
|
return n && i && typeof i.willChange == "string" && (n.applyWillChange = !1), o;
|
|
13329
13330
|
}
|
|
13330
13331
|
function f9(e, t, n) {
|
|
13331
13332
|
const r = K3(e, t, n);
|
|
13332
13333
|
for (const i in e)
|
|
13333
|
-
if (
|
|
13334
|
+
if (y1(e[i]) || y1(t[i])) {
|
|
13334
13335
|
const o = wt.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
|
|
13335
13336
|
r[o] = e[i];
|
|
13336
13337
|
}
|
|
@@ -13348,7 +13349,7 @@ function $s({ applyWillChange: e = !1, scrapeMotionValuesFromProps: t, createRen
|
|
|
13348
13349
|
return r && (c.mount = (u) => r(i, u, c)), c;
|
|
13349
13350
|
}
|
|
13350
13351
|
const h9 = (e) => (t, n) => {
|
|
13351
|
-
const r =
|
|
13352
|
+
const r = L1(v2), i = L1(g2), o = () => $s(e, t, r, i, n);
|
|
13352
13353
|
return n ? o() : Le(o);
|
|
13353
13354
|
};
|
|
13354
13355
|
function Ws(e, t) {
|
|
@@ -13517,7 +13518,7 @@ const Q3 = (e) => typeof e == "string" && e.toLowerCase() === "svg", ea = {
|
|
|
13517
13518
|
};
|
|
13518
13519
|
function g9(e, t, n) {
|
|
13519
13520
|
for (const r in t)
|
|
13520
|
-
!
|
|
13521
|
+
!y1(t[r]) && !d9(r, n) && (e[r] = t[r]);
|
|
13521
13522
|
}
|
|
13522
13523
|
function na({ transformTemplate: e }, t) {
|
|
13523
13524
|
return ae(() => {
|
|
@@ -13599,7 +13600,7 @@ function la(e, t, n, r) {
|
|
|
13599
13600
|
}
|
|
13600
13601
|
function ca(e = !1) {
|
|
13601
13602
|
return (n, r, i, { latestValues: o }, s) => {
|
|
13602
|
-
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]);
|
|
13603
13604
|
return T9(n, {
|
|
13604
13605
|
...d,
|
|
13605
13606
|
children: h
|
|
@@ -13630,9 +13631,9 @@ function da() {
|
|
|
13630
13631
|
function fa(e, t, n) {
|
|
13631
13632
|
for (const r in t) {
|
|
13632
13633
|
const i = t[r], o = n[r];
|
|
13633
|
-
if (
|
|
13634
|
+
if (y1(i))
|
|
13634
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.`);
|
|
13635
|
-
else if (
|
|
13636
|
+
else if (y1(o))
|
|
13636
13637
|
e.addValue(r, Fe(i, { owner: e }));
|
|
13637
13638
|
else if (o !== i)
|
|
13638
13639
|
if (e.hasValue(r)) {
|
|
@@ -13679,7 +13680,7 @@ class pa {
|
|
|
13679
13680
|
const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
|
|
13680
13681
|
for (const h in f) {
|
|
13681
13682
|
const g = f[h];
|
|
13682
|
-
c[h] !== void 0 &&
|
|
13683
|
+
c[h] !== void 0 && y1(g) && g.set(c[h], !1);
|
|
13683
13684
|
}
|
|
13684
13685
|
}
|
|
13685
13686
|
mount(t) {
|
|
@@ -13816,7 +13817,7 @@ class pa {
|
|
|
13816
13817
|
readValue(t, n) {
|
|
13817
13818
|
var r;
|
|
13818
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);
|
|
13819
|
-
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;
|
|
13820
13821
|
}
|
|
13821
13822
|
/**
|
|
13822
13823
|
* Set the base target to later animate back to. This is currently
|
|
@@ -13840,7 +13841,7 @@ class pa {
|
|
|
13840
13841
|
if (r && i !== void 0)
|
|
13841
13842
|
return i;
|
|
13842
13843
|
const o = this.getBaseTargetFromProps(this.props, t);
|
|
13843
|
-
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];
|
|
13844
13845
|
}
|
|
13845
13846
|
on(t, n) {
|
|
13846
13847
|
return this.events[t] || (this.events[t] = new N3()), this.events[t].add(n);
|
|
@@ -13891,7 +13892,7 @@ class w9 extends y9 {
|
|
|
13891
13892
|
handleChildMotionValue() {
|
|
13892
13893
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
13893
13894
|
const { children: t } = this.props;
|
|
13894
|
-
|
|
13895
|
+
y1(t) && (this.childSubscription = t.on("change", (n) => {
|
|
13895
13896
|
this.current && (this.current.textContent = `${n}`);
|
|
13896
13897
|
}));
|
|
13897
13898
|
}
|
|
@@ -13955,7 +13956,7 @@ function wa({ children: e, isPresent: t }) {
|
|
|
13955
13956
|
height: 0,
|
|
13956
13957
|
top: 0,
|
|
13957
13958
|
left: 0
|
|
13958
|
-
}), { nonce: o } =
|
|
13959
|
+
}), { nonce: o } = L1(m2);
|
|
13959
13960
|
return $6(() => {
|
|
13960
13961
|
const { width: s, height: l, top: c, left: u } = i.current;
|
|
13961
13962
|
if (t || !r.current || !s || !l)
|
|
@@ -14035,7 +14036,7 @@ const La = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
|
|
|
14035
14036
|
return;
|
|
14036
14037
|
}
|
|
14037
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.`);
|
|
14038
|
-
const { forceRender: m } =
|
|
14039
|
+
const { forceRender: m } = L1(j3);
|
|
14039
14040
|
return a(be, { children: w.map((H) => {
|
|
14040
14041
|
const x = Ut(H), S = l === w || c.includes(x), k = () => {
|
|
14041
14042
|
if (f.has(x))
|
|
@@ -14051,7 +14052,7 @@ const La = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
|
|
|
14051
14052
|
}) });
|
|
14052
14053
|
};
|
|
14053
14054
|
function x9(e) {
|
|
14054
|
-
const t = Le(() => Fe(e)), { isStatic: n } =
|
|
14055
|
+
const t = Le(() => Fe(e)), { isStatic: n } = L1(m2);
|
|
14055
14056
|
if (n) {
|
|
14056
14057
|
const [, r] = S1(e);
|
|
14057
14058
|
H1(() => t.on("change", r), []);
|
|
@@ -14201,7 +14202,7 @@ function Ia(e, { defaultTransition: t = {}, ...n } = {}, r) {
|
|
|
14201
14202
|
const Q = N.length - P.length;
|
|
14202
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);
|
|
14203
14204
|
};
|
|
14204
|
-
if (
|
|
14205
|
+
if (y1(w)) {
|
|
14205
14206
|
const x = N6(w, s);
|
|
14206
14207
|
H(C, y, F6("default", x));
|
|
14207
14208
|
} else {
|
|
@@ -14272,7 +14273,7 @@ function Wa(e, t, n) {
|
|
|
14272
14273
|
const r = [];
|
|
14273
14274
|
return Ia(e, t, n).forEach(({ keyframes: o, transition: s }, l) => {
|
|
14274
14275
|
let c;
|
|
14275
|
-
|
|
14276
|
+
y1(l) ? c = $3(l, o.default, s.default) : c = M9(l, o, s), r.push(c);
|
|
14276
14277
|
}), new B3(r);
|
|
14277
14278
|
}
|
|
14278
14279
|
const za = (e) => {
|
|
@@ -14475,7 +14476,7 @@ const Ya = ({
|
|
|
14475
14476
|
}, [s, t]), /* @__PURE__ */ a("div", { ref: s, children: /* @__PURE__ */ a(
|
|
14476
14477
|
"span",
|
|
14477
14478
|
{
|
|
14478
|
-
className:
|
|
14479
|
+
className: v1(
|
|
14479
14480
|
"gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",
|
|
14480
14481
|
n
|
|
14481
14482
|
),
|
|
@@ -14608,6 +14609,11 @@ const ot = ({
|
|
|
14608
14609
|
link: `${f}/blog`,
|
|
14609
14610
|
isExternal: !0
|
|
14610
14611
|
},
|
|
14612
|
+
routes: {
|
|
14613
|
+
title: "Routes",
|
|
14614
|
+
link: `${f}/routes`,
|
|
14615
|
+
isExternal: !0
|
|
14616
|
+
},
|
|
14611
14617
|
faq: {
|
|
14612
14618
|
title: "FAQs",
|
|
14613
14619
|
link: `${f}/faq`,
|
|
@@ -14627,6 +14633,11 @@ const ot = ({
|
|
|
14627
14633
|
title: "Audits",
|
|
14628
14634
|
link: "https://github.com/gardenfi/audits",
|
|
14629
14635
|
isExternal: !0
|
|
14636
|
+
},
|
|
14637
|
+
Governance: {
|
|
14638
|
+
title: "Governance",
|
|
14639
|
+
link: "https://docs.garden.finance/home/governance",
|
|
14640
|
+
isExternal: !0
|
|
14630
14641
|
}
|
|
14631
14642
|
},
|
|
14632
14643
|
Developers: {
|
|
@@ -14644,6 +14655,11 @@ const ot = ({
|
|
|
14644
14655
|
title: "SDK",
|
|
14645
14656
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
14646
14657
|
isExternal: !0
|
|
14658
|
+
},
|
|
14659
|
+
security: {
|
|
14660
|
+
title: "Security",
|
|
14661
|
+
link: `${f}/security`,
|
|
14662
|
+
isExternal: !0
|
|
14647
14663
|
}
|
|
14648
14664
|
}
|
|
14649
14665
|
}, g = {
|
|
@@ -14765,7 +14781,7 @@ const ot = ({
|
|
|
14765
14781
|
return /* @__PURE__ */ E(
|
|
14766
14782
|
"footer",
|
|
14767
14783
|
{
|
|
14768
|
-
className:
|
|
14784
|
+
className: v1(
|
|
14769
14785
|
"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",
|
|
14770
14786
|
e,
|
|
14771
14787
|
i ? "gf-text-white" : "gf-text-dark-grey"
|
|
@@ -14958,8 +14974,8 @@ var H9 = { exports: {} };
|
|
|
14958
14974
|
var P, D, N, U, I, _, W = 0, e1 = !1, q = !1, j = !0;
|
|
14959
14975
|
if (typeof k != "function") throw new TypeError("Expected a function");
|
|
14960
14976
|
function Y(o1) {
|
|
14961
|
-
var s1 = P,
|
|
14962
|
-
return P = D = void 0, W = o1, U = k.apply(
|
|
14977
|
+
var s1 = P, w1 = D;
|
|
14978
|
+
return P = D = void 0, W = o1, U = k.apply(w1, s1);
|
|
14963
14979
|
}
|
|
14964
14980
|
function Q(o1) {
|
|
14965
14981
|
var s1 = o1 - _;
|
|
@@ -14969,8 +14985,8 @@ var H9 = { exports: {} };
|
|
|
14969
14985
|
var o1 = H();
|
|
14970
14986
|
if (Q(o1)) return c1(o1);
|
|
14971
14987
|
I = setTimeout(X, function(s1) {
|
|
14972
|
-
var
|
|
14973
|
-
return q ? m(
|
|
14988
|
+
var w1 = O - (s1 - _);
|
|
14989
|
+
return q ? m(w1, N - (s1 - W)) : w1;
|
|
14974
14990
|
}(o1));
|
|
14975
14991
|
}
|
|
14976
14992
|
function c1(o1) {
|
|
@@ -14979,8 +14995,8 @@ var H9 = { exports: {} };
|
|
|
14979
14995
|
function d1() {
|
|
14980
14996
|
var o1 = H(), s1 = Q(o1);
|
|
14981
14997
|
if (P = arguments, D = this, _ = o1, s1) {
|
|
14982
|
-
if (I === void 0) return function(
|
|
14983
|
-
return W =
|
|
14998
|
+
if (I === void 0) return function(w1) {
|
|
14999
|
+
return W = w1, I = setTimeout(X, O), e1 ? Y(w1) : U;
|
|
14984
15000
|
}(_);
|
|
14985
15001
|
if (q) return I = setTimeout(X, O), Y(_);
|
|
14986
15002
|
}
|
|
@@ -15020,11 +15036,11 @@ var H9 = { exports: {} };
|
|
|
15020
15036
|
var U = !0, I = !0;
|
|
15021
15037
|
if (typeof P != "function") throw new TypeError(l);
|
|
15022
15038
|
return O(N) && (U = "leading" in N ? !!N.leading : U, I = "trailing" in N ? !!N.trailing : I), function(_, W, e1) {
|
|
15023
|
-
var q, j, Y, Q, X, c1, d1 = 0, o1 = !1, s1 = !1,
|
|
15039
|
+
var q, j, Y, Q, X, c1, d1 = 0, o1 = !1, s1 = !1, w1 = !0;
|
|
15024
15040
|
if (typeof _ != "function") throw new TypeError(l);
|
|
15025
15041
|
function G1(h1) {
|
|
15026
|
-
var T1 = q,
|
|
15027
|
-
return q = j = void 0, d1 = h1, Q = _.apply(
|
|
15042
|
+
var T1 = q, b1 = j;
|
|
15043
|
+
return q = j = void 0, d1 = h1, Q = _.apply(b1, T1);
|
|
15028
15044
|
}
|
|
15029
15045
|
function N1(h1) {
|
|
15030
15046
|
var T1 = h1 - c1;
|
|
@@ -15034,24 +15050,24 @@ var H9 = { exports: {} };
|
|
|
15034
15050
|
var h1 = k();
|
|
15035
15051
|
if (N1(h1)) return R1(h1);
|
|
15036
15052
|
X = setTimeout(P1, function(T1) {
|
|
15037
|
-
var
|
|
15038
|
-
return s1 ? S(
|
|
15053
|
+
var b1 = W - (T1 - c1);
|
|
15054
|
+
return s1 ? S(b1, Y - (T1 - d1)) : b1;
|
|
15039
15055
|
}(h1));
|
|
15040
15056
|
}
|
|
15041
15057
|
function R1(h1) {
|
|
15042
|
-
return X = void 0,
|
|
15058
|
+
return X = void 0, w1 && q ? G1(h1) : (q = j = void 0, Q);
|
|
15043
15059
|
}
|
|
15044
15060
|
function O1() {
|
|
15045
15061
|
var h1 = k(), T1 = N1(h1);
|
|
15046
15062
|
if (q = arguments, j = this, c1 = h1, T1) {
|
|
15047
|
-
if (X === void 0) return function(
|
|
15048
|
-
return d1 =
|
|
15063
|
+
if (X === void 0) return function(b1) {
|
|
15064
|
+
return d1 = b1, X = setTimeout(P1, W), o1 ? G1(b1) : Q;
|
|
15049
15065
|
}(c1);
|
|
15050
15066
|
if (s1) return X = setTimeout(P1, W), G1(c1);
|
|
15051
15067
|
}
|
|
15052
15068
|
return X === void 0 && (X = setTimeout(P1, W)), Q;
|
|
15053
15069
|
}
|
|
15054
|
-
return W = Z(W) || 0, O(e1) && (o1 = !!e1.leading, Y = (s1 = "maxWait" in e1) ? x(Z(e1.maxWait) || 0, W) : Y,
|
|
15070
|
+
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() {
|
|
15055
15071
|
X !== void 0 && clearTimeout(X), d1 = 0, q = c1 = j = X = void 0;
|
|
15056
15072
|
}, O1.flush = function() {
|
|
15057
15073
|
return X === void 0 ? Q : R1(k());
|
|
@@ -15380,7 +15396,7 @@ var H9 = { exports: {} };
|
|
|
15380
15396
|
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
15381
15397
|
}, s1(T);
|
|
15382
15398
|
}
|
|
15383
|
-
function
|
|
15399
|
+
function w1(T, p) {
|
|
15384
15400
|
for (var V = 0; V < p.length; V++) {
|
|
15385
15401
|
var b = p[V];
|
|
15386
15402
|
b.enumerable = b.enumerable || !1, b.configurable = !0, "value" in b && (b.writable = !0), Object.defineProperty(T, G1(b.key), b);
|
|
@@ -15440,16 +15456,16 @@ var H9 = { exports: {} };
|
|
|
15440
15456
|
v.prototype = Object.create(L && L.prototype, { constructor: { value: v, writable: !0, configurable: !0 } }), Object.defineProperty(v, "prototype", { writable: !1 }), L && O1(v, L);
|
|
15441
15457
|
}(p, T), V = p, (b = [{ key: "render", value: function() {
|
|
15442
15458
|
return o().createElement(S, this.props);
|
|
15443
|
-
} }]) &&
|
|
15459
|
+
} }]) && w1(V.prototype, b), Object.defineProperty(V, "prototype", { writable: !1 }), V;
|
|
15444
15460
|
var V, b;
|
|
15445
15461
|
}(o().Component);
|
|
15446
15462
|
const T1 = o1(h1);
|
|
15447
|
-
function
|
|
15448
|
-
return
|
|
15463
|
+
function b1(T) {
|
|
15464
|
+
return b1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(p) {
|
|
15449
15465
|
return typeof p;
|
|
15450
15466
|
} : function(p) {
|
|
15451
15467
|
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
15452
|
-
},
|
|
15468
|
+
}, b1(T);
|
|
15453
15469
|
}
|
|
15454
15470
|
function G(T, p) {
|
|
15455
15471
|
for (var V = 0; V < p.length; V++) {
|
|
@@ -15459,20 +15475,20 @@ var H9 = { exports: {} };
|
|
|
15459
15475
|
}
|
|
15460
15476
|
function Vt(T) {
|
|
15461
15477
|
var p = function(V, b) {
|
|
15462
|
-
if (
|
|
15478
|
+
if (b1(V) != "object" || !V) return V;
|
|
15463
15479
|
var v = V[Symbol.toPrimitive];
|
|
15464
15480
|
if (v !== void 0) {
|
|
15465
15481
|
var L = v.call(V, "string");
|
|
15466
|
-
if (
|
|
15482
|
+
if (b1(L) != "object") return L;
|
|
15467
15483
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15468
15484
|
}
|
|
15469
15485
|
return String(V);
|
|
15470
15486
|
}(T);
|
|
15471
|
-
return
|
|
15487
|
+
return b1(p) == "symbol" ? p : p + "";
|
|
15472
15488
|
}
|
|
15473
15489
|
function Mt(T, p, V) {
|
|
15474
15490
|
return p = Me(p), function(b, v) {
|
|
15475
|
-
if (v && (
|
|
15491
|
+
if (v && (b1(v) == "object" || typeof v == "function")) return v;
|
|
15476
15492
|
if (v !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
15477
15493
|
return function(L) {
|
|
15478
15494
|
if (L === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -15690,11 +15706,11 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
|
|
|
15690
15706
|
const d = () => {
|
|
15691
15707
|
u(G2);
|
|
15692
15708
|
};
|
|
15693
|
-
return /* @__PURE__ */ a(o2, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ E("div", { className:
|
|
15709
|
+
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: [
|
|
15694
15710
|
/* @__PURE__ */ a(
|
|
15695
15711
|
"div",
|
|
15696
15712
|
{
|
|
15697
|
-
className:
|
|
15713
|
+
className: v1(o, `${s ? "" : "gf-filter gf-blur-md"}`),
|
|
15698
15714
|
children: /* @__PURE__ */ a(
|
|
15699
15715
|
qa.LazyLoadImage,
|
|
15700
15716
|
{
|
|
@@ -15742,7 +15758,7 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
|
|
|
15742
15758
|
description: n,
|
|
15743
15759
|
chipContent: r,
|
|
15744
15760
|
logo: i
|
|
15745
|
-
}) => /* @__PURE__ */ E("div", { className:
|
|
15761
|
+
}) => /* @__PURE__ */ E("div", { className: v1(Qa({ variant: e })), children: [
|
|
15746
15762
|
/* @__PURE__ */ E("div", { className: "gf-flex gf-justify-between gf-items-center gf-mb-4", children: [
|
|
15747
15763
|
/* @__PURE__ */ E(Y1, { className: "gf-cursor-pointer gf-px-2 gf-py-1", children: [
|
|
15748
15764
|
/* @__PURE__ */ a(Y1.Logo, { children: i }),
|