@sudobility/components 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1129 -1020
- package/dist/index.umd.js +10 -10
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/pull-to-refresh.d.ts +14 -0
- package/dist/ui/pull-to-refresh.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { clsx as xt } from "clsx";
|
|
2
2
|
import { twMerge as vt } from "tailwind-merge";
|
|
3
|
-
import * as
|
|
4
|
-
import v, { lazy as
|
|
5
|
-
import { jsx as o, Fragment as
|
|
3
|
+
import * as R from "react";
|
|
4
|
+
import v, { lazy as K, Suspense as de, useEffect as P, useState as $, useCallback as D, useRef as L, useLayoutEffect as wt, Component as Qe, memo as ue, useMemo as Ae } from "react";
|
|
5
|
+
import { jsx as o, Fragment as M, jsxs as m } from "react/jsx-runtime";
|
|
6
6
|
import { onCLS as kt, onINP as Ct, onFCP as St, onLCP as Nt, onTTFB as Et } from "web-vitals";
|
|
7
|
-
import { XCircleIcon as Ze, ExclamationTriangleIcon as Je, CheckCircleIcon as Xe, InformationCircleIcon as
|
|
8
|
-
import { ArrowLeftIcon as
|
|
9
|
-
import { Slot as
|
|
10
|
-
import { cva as
|
|
7
|
+
import { XCircleIcon as Ze, ExclamationTriangleIcon as Je, CheckCircleIcon as Xe, InformationCircleIcon as he, ArrowPathIcon as $t, ChevronRightIcon as Ie, ChevronUpIcon as At, ChevronDownIcon as It, ExclamationCircleIcon as Tt, XMarkIcon as Pt, CheckIcon as et, ClipboardDocumentIcon as Lt, ClipboardIcon as Mt, EnvelopeIcon as zt, ArrowRightIcon as Rt, LanguageIcon as Wt } from "@heroicons/react/24/outline";
|
|
8
|
+
import { ArrowLeftIcon as Ml, ArrowRightIcon as zl, Bars3Icon as Rl, BellIcon as Wl, BellSlashIcon as jl, ChartBarIcon as Dl, CheckCircleIcon as Bl, CheckIcon as Ol, ChevronDownIcon as Fl, ChevronLeftIcon as Vl, ChevronRightIcon as _l, ChevronUpIcon as ql, ClockIcon as Hl, CodeBracketIcon as Ul, Cog6ToothIcon as Gl, CreditCardIcon as Kl, DocumentTextIcon as Yl, EnvelopeIcon as Ql, ExclamationTriangleIcon as Zl, EyeSlashIcon as Jl, GlobeAltIcon as Xl, HomeIcon as ec, InboxIcon as tc, InformationCircleIcon as rc, KeyIcon as ac, MegaphoneIcon as nc, MinusIcon as oc, PaperAirplaneIcon as ic, PaperClipIcon as sc, PlusIcon as lc, RocketLaunchIcon as cc, ShieldCheckIcon as dc, SparklesIcon as uc, StarIcon as mc, TrashIcon as gc, UserGroupIcon as pc, XMarkIcon as hc } from "@heroicons/react/24/outline";
|
|
9
|
+
import { Slot as jt } from "@radix-ui/react-slot";
|
|
10
|
+
import { cva as I } from "class-variance-authority";
|
|
11
11
|
import { Root as tt } from "@radix-ui/react-label";
|
|
12
|
-
import * as
|
|
13
|
-
import { ChevronDown as rt, ChevronUp as
|
|
14
|
-
import { Root as at, Thumb as
|
|
15
|
-
import { List as nt, Trigger as ot, Content as it, Root as
|
|
16
|
-
import { Link as
|
|
17
|
-
import { createPortal as
|
|
18
|
-
import { TwitterIcon as
|
|
12
|
+
import * as T from "@radix-ui/react-select";
|
|
13
|
+
import { ChevronDown as rt, ChevronUp as Dt, Check as Bt } from "lucide-react";
|
|
14
|
+
import { Root as at, Thumb as Ot } from "@radix-ui/react-switch";
|
|
15
|
+
import { List as nt, Trigger as ot, Content as it, Root as Ft } from "@radix-ui/react-tabs";
|
|
16
|
+
import { Link as xe } from "react-router-dom";
|
|
17
|
+
import { createPortal as Vt } from "react-dom";
|
|
18
|
+
import { TwitterIcon as _t, TwitterShareButton as qt, FacebookIcon as Ht, FacebookShareButton as Ut, LinkedinIcon as Gt, LinkedinShareButton as Kt, RedditIcon as Yt, RedditShareButton as Qt, TelegramIcon as Zt, TelegramShareButton as Jt, WhatsappIcon as Xt, WhatsappShareButton as er } from "react-share";
|
|
19
19
|
import { useTranslation as st } from "react-i18next";
|
|
20
|
-
import { CheckCircleIcon as
|
|
21
|
-
import { Helmet as
|
|
20
|
+
import { CheckCircleIcon as bc, CheckIcon as yc, ExclamationTriangleIcon as xc, StarIcon as vc } from "@heroicons/react/24/solid";
|
|
21
|
+
import { Helmet as tr } from "react-helmet-async";
|
|
22
22
|
function h(...t) {
|
|
23
23
|
return vt(xt(t));
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const Pn = (t) => t, Ln = (t) => {
|
|
26
26
|
if (typeof document > "u") return;
|
|
27
27
|
const e = document.createElement("style");
|
|
28
28
|
e.textContent = t, e.setAttribute("data-critical", "true"), document.head.appendChild(e);
|
|
29
|
-
},
|
|
29
|
+
}, Mn = (t) => {
|
|
30
30
|
if (typeof document > "u") return;
|
|
31
31
|
const e = document.createElement("link");
|
|
32
32
|
e.rel = "preload", e.as = "style", e.href = t, e.onload = () => {
|
|
@@ -34,19 +34,19 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
34
34
|
}, document.head.appendChild(e);
|
|
35
35
|
const r = document.createElement("noscript");
|
|
36
36
|
r.innerHTML = `<link rel="stylesheet" href="${t}">`, document.head.appendChild(r);
|
|
37
|
-
},
|
|
37
|
+
}, zn = (t) => {
|
|
38
38
|
const e = {};
|
|
39
39
|
return Object.entries(t).forEach(([r, a]) => {
|
|
40
40
|
e[`--${r}`] = typeof a == "number" ? `${a}px` : a;
|
|
41
41
|
}), e;
|
|
42
|
-
},
|
|
42
|
+
}, rr = {
|
|
43
43
|
xs: 475,
|
|
44
44
|
sm: 640,
|
|
45
45
|
md: 768,
|
|
46
46
|
lg: 1024,
|
|
47
47
|
xl: 1280,
|
|
48
48
|
"2xl": 1536
|
|
49
|
-
},
|
|
49
|
+
}, Rn = (t, e = rr) => {
|
|
50
50
|
const [r, a] = v.useState("base");
|
|
51
51
|
return v.useEffect(() => {
|
|
52
52
|
const n = () => {
|
|
@@ -55,8 +55,8 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
55
55
|
};
|
|
56
56
|
return n(), window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
|
|
57
57
|
}, [e]), t[r] || t.base || {};
|
|
58
|
-
},
|
|
59
|
-
const [t, e] = v.useState(
|
|
58
|
+
}, ar = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches, Wn = () => {
|
|
59
|
+
const [t, e] = v.useState(ar);
|
|
60
60
|
return v.useEffect(() => {
|
|
61
61
|
const r = window.matchMedia("(prefers-reduced-motion: reduce)"), a = () => {
|
|
62
62
|
e(r.matches);
|
|
@@ -65,18 +65,18 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
65
65
|
r.removeEventListener ? r.removeEventListener("change", a) : r.removeListener(a);
|
|
66
66
|
};
|
|
67
67
|
}, []), t;
|
|
68
|
-
},
|
|
68
|
+
}, jn = (t, e = [
|
|
69
69
|
"layout",
|
|
70
70
|
"paint"
|
|
71
71
|
]) => {
|
|
72
72
|
t && (t.style.contain = e.join(" "));
|
|
73
|
-
},
|
|
73
|
+
}, Dn = (t, e) => t ? (t.style.willChange = e.join(", "), () => {
|
|
74
74
|
t.style.willChange = "auto";
|
|
75
75
|
}) : void 0, Bn = (t) => {
|
|
76
76
|
typeof window > "u" || requestAnimationFrame(() => {
|
|
77
77
|
t.forEach((e) => e());
|
|
78
78
|
});
|
|
79
|
-
},
|
|
79
|
+
}, On = (...t) => t.filter(Boolean).join(" "), Fn = (t) => {
|
|
80
80
|
const e = {}, r = [
|
|
81
81
|
"display",
|
|
82
82
|
"position",
|
|
@@ -92,7 +92,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
92
92
|
return Object.entries(t).forEach(([a, n]) => {
|
|
93
93
|
r.includes(a) && (e[a] = n);
|
|
94
94
|
}), e;
|
|
95
|
-
},
|
|
95
|
+
}, Vn = (t, e = []) => {
|
|
96
96
|
const [r, a] = v.useState(null), [n, i] = v.useState(!0);
|
|
97
97
|
return v.useEffect(() => {
|
|
98
98
|
let l = !0;
|
|
@@ -102,21 +102,21 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
102
102
|
l = !1;
|
|
103
103
|
};
|
|
104
104
|
}, [t, ...e]), { styles: r, loading: n };
|
|
105
|
-
},
|
|
105
|
+
}, _n = (t, e = "1rem") => ({
|
|
106
106
|
display: "grid",
|
|
107
107
|
gridTemplateColumns: `repeat(${t}, minmax(0, 1fr))`,
|
|
108
108
|
gap: e,
|
|
109
109
|
// Optimize for performance
|
|
110
110
|
contain: "layout",
|
|
111
111
|
willChange: "transform"
|
|
112
|
-
}),
|
|
112
|
+
}), qn = (t = "row", e = "center", r = "flex-start") => ({
|
|
113
113
|
display: "flex",
|
|
114
114
|
flexDirection: t,
|
|
115
115
|
alignItems: e,
|
|
116
116
|
justifyContent: r,
|
|
117
117
|
// Optimize for performance
|
|
118
118
|
contain: "layout"
|
|
119
|
-
}),
|
|
119
|
+
}), Hn = (t) => {
|
|
120
120
|
const [e, r] = v.useState(!1);
|
|
121
121
|
return v.useEffect(() => {
|
|
122
122
|
const a = window.matchMedia(t);
|
|
@@ -126,7 +126,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
126
126
|
a.removeEventListener ? a.removeEventListener("change", n) : a.removeListener(n);
|
|
127
127
|
};
|
|
128
128
|
}, [t]), e;
|
|
129
|
-
},
|
|
129
|
+
}, Un = (t, e) => {
|
|
130
130
|
const [r, a] = v.useState("light");
|
|
131
131
|
return v.useEffect(() => {
|
|
132
132
|
const n = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -138,17 +138,17 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
138
138
|
n.removeEventListener ? n.removeEventListener("change", i) : n.removeListener(i);
|
|
139
139
|
};
|
|
140
140
|
}, []), r === "dark" ? e : t;
|
|
141
|
-
},
|
|
141
|
+
}, Gn = (t) => {
|
|
142
142
|
const e = {
|
|
143
143
|
src: t.src,
|
|
144
144
|
alt: t.alt,
|
|
145
145
|
loading: t.loading || "lazy"
|
|
146
146
|
};
|
|
147
147
|
return t.title && (e.title = t.title), t.width && (e.width = t.width), t.height && (e.height = t.height), t.sizes && (e.sizes = t.sizes), t.srcSet && (e.srcSet = t.srcSet), e.itemProp = "image", e;
|
|
148
|
-
},
|
|
148
|
+
}, Kn = (t, e = [320, 640, 768, 1024, 1280, 1920]) => e.map((r) => `${t.replace(/\{width\}/g, r.toString())} ${r}w`).join(", "), Yn = (t) => t.map((e) => e.maxWidth ? `(max-width: ${e.maxWidth}px) ${e.size}` : e.size).join(", "), Qn = (t, e = "openGraph") => {
|
|
149
149
|
const r = {};
|
|
150
150
|
return e === "openGraph" ? (r["og:image"] = t.url, t.width && (r["og:image:width"] = t.width.toString()), t.height && (r["og:image:height"] = t.height.toString()), t.alt && (r["og:image:alt"] = t.alt), t.type && (r["og:image:type"] = t.type)) : (r["twitter:image"] = t.url, t.alt && (r["twitter:image:alt"] = t.alt)), r;
|
|
151
|
-
},
|
|
151
|
+
}, Zn = (t = 'img[loading="lazy"]') => {
|
|
152
152
|
if (typeof window > "u" || !("IntersectionObserver" in window))
|
|
153
153
|
return;
|
|
154
154
|
const e = document.querySelectorAll(t);
|
|
@@ -175,21 +175,21 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
175
175
|
return e.forEach((a) => r.observe(a)), () => {
|
|
176
176
|
e.forEach((a) => r.unobserve(a));
|
|
177
177
|
};
|
|
178
|
-
},
|
|
178
|
+
}, nr = () => typeof window > "u" ? Promise.resolve(!1) : new Promise((t) => {
|
|
179
179
|
const e = new Image();
|
|
180
180
|
e.onload = e.onerror = function() {
|
|
181
181
|
t(e.height === 2);
|
|
182
182
|
}, e.src = "data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA";
|
|
183
|
-
}),
|
|
183
|
+
}), or = () => typeof window > "u" ? Promise.resolve(!1) : new Promise((t) => {
|
|
184
184
|
const e = new Image();
|
|
185
185
|
e.onload = () => t(!0), e.onerror = () => t(!1), e.src = "data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=";
|
|
186
|
-
}),
|
|
186
|
+
}), Jn = async (t = "jpg") => {
|
|
187
187
|
const [e, r] = await Promise.all([
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
nr(),
|
|
189
|
+
or()
|
|
190
190
|
]);
|
|
191
191
|
return r ? "avif" : e ? "webp" : t;
|
|
192
|
-
},
|
|
192
|
+
}, Xn = (t, e, r, a) => `
|
|
193
193
|
<picture>
|
|
194
194
|
${t.map((i) => {
|
|
195
195
|
const l = [`srcset="${i.srcSet}"`];
|
|
@@ -197,11 +197,11 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
197
197
|
}).join(`
|
|
198
198
|
`)}
|
|
199
199
|
<img src="${e}" alt="${r}"${a ? ` class="${a}"` : ""} loading="lazy">
|
|
200
|
-
</picture>`.trim(),
|
|
200
|
+
</picture>`.trim(), eo = (t, e = "image") => {
|
|
201
201
|
if (typeof document > "u") return;
|
|
202
202
|
const r = document.createElement("link");
|
|
203
203
|
r.rel = "preload", r.as = e, r.href = t, t.includes(".webp") ? r.type = "image/webp" : t.includes(".avif") && (r.type = "image/avif"), document.head.appendChild(r);
|
|
204
|
-
},
|
|
204
|
+
}, to = (t, e, r) => {
|
|
205
205
|
if (typeof window > "u") return;
|
|
206
206
|
const a = new Image();
|
|
207
207
|
a.src = t, a.classList.add("progressive-image-placeholder"), r.appendChild(a);
|
|
@@ -213,7 +213,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
213
213
|
}, 300);
|
|
214
214
|
});
|
|
215
215
|
};
|
|
216
|
-
},
|
|
216
|
+
}, ro = (t) => new Promise((e) => {
|
|
217
217
|
const r = performance.now();
|
|
218
218
|
t.complete ? e({
|
|
219
219
|
loadTime: 0,
|
|
@@ -241,19 +241,19 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
241
241
|
isOptimized: t.srcset !== "" || t.sizes !== ""
|
|
242
242
|
});
|
|
243
243
|
});
|
|
244
|
-
}),
|
|
244
|
+
}), ao = (t, e, r = "#e0e0e0") => {
|
|
245
245
|
const a = `
|
|
246
246
|
<svg width="${t}" height="${e}" xmlns="http://www.w3.org/2000/svg">
|
|
247
247
|
<rect width="100%" height="100%" fill="${r}"/>
|
|
248
248
|
</svg>
|
|
249
249
|
`;
|
|
250
250
|
return `data:image/svg+xml;base64,${btoa(a)}`;
|
|
251
|
-
},
|
|
251
|
+
}, no = (t, e) => {
|
|
252
252
|
const r = 1 / e * 100;
|
|
253
253
|
t.style.position = "relative", t.style.paddingTop = `${r}%`;
|
|
254
254
|
const a = t.querySelector("img");
|
|
255
255
|
a && (a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.objectFit = "cover");
|
|
256
|
-
},
|
|
256
|
+
}, ae = {
|
|
257
257
|
// Mark functions as pure for better tree-shaking
|
|
258
258
|
createPureFunction: (t) => t,
|
|
259
259
|
// Environment-based code elimination
|
|
@@ -267,7 +267,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
267
267
|
enablePerformanceMonitoring: process.env.VITE_ENABLE_PERF_MONITORING !== "false",
|
|
268
268
|
...t
|
|
269
269
|
})
|
|
270
|
-
},
|
|
270
|
+
}, oo = (t) => {
|
|
271
271
|
const e = {};
|
|
272
272
|
return Object.entries(t).forEach(([r, a]) => {
|
|
273
273
|
e[r] = () => {
|
|
@@ -278,7 +278,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
}), e;
|
|
281
|
-
},
|
|
281
|
+
}, ir = {
|
|
282
282
|
// Lightweight debounce (instead of importing lodash)
|
|
283
283
|
createDebounce: (t) => (e) => {
|
|
284
284
|
let r;
|
|
@@ -304,7 +304,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
304
304
|
const r = Object.keys(t), a = Object.keys(e);
|
|
305
305
|
if (r.length !== a.length) return !1;
|
|
306
306
|
for (const n of r)
|
|
307
|
-
if (!a.includes(n) || !
|
|
307
|
+
if (!a.includes(n) || !ir.isDeepEqual(t[n], e[n])) return !1;
|
|
308
308
|
return !0;
|
|
309
309
|
},
|
|
310
310
|
// Lightweight throttle
|
|
@@ -316,7 +316,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
316
316
|
return r = n, e(...a);
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
},
|
|
319
|
+
}, io = (t) => {
|
|
320
320
|
const e = {};
|
|
321
321
|
return Object.entries(t).forEach(([r, a]) => {
|
|
322
322
|
e[r] = {}, Object.entries(a).forEach(([n, i]) => {
|
|
@@ -328,7 +328,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
328
328
|
}));
|
|
329
329
|
});
|
|
330
330
|
}), e;
|
|
331
|
-
},
|
|
331
|
+
}, ne = {
|
|
332
332
|
// Calculate approximate module size
|
|
333
333
|
getModuleSize: (t) => new Promise((e) => {
|
|
334
334
|
if (typeof window < "u" && "performance" in window) {
|
|
@@ -344,13 +344,13 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
344
344
|
// Track which modules are actually used
|
|
345
345
|
usageTracker: /* @__PURE__ */ new Set(),
|
|
346
346
|
trackUsage: (t) => {
|
|
347
|
-
|
|
347
|
+
ae.isDevelopment && ne.usageTracker.add(t);
|
|
348
348
|
},
|
|
349
|
-
getUsageReport: () =>
|
|
349
|
+
getUsageReport: () => ae.isDevelopment ? Array.from(ne.usageTracker).sort() : [],
|
|
350
350
|
// Estimate bundle impact
|
|
351
351
|
estimateImpact: (t) => {
|
|
352
352
|
const e = t.map(
|
|
353
|
-
(r) =>
|
|
353
|
+
(r) => ne.getModuleSize(r).then((a) => [r, a])
|
|
354
354
|
);
|
|
355
355
|
return Promise.all(e).then((r) => {
|
|
356
356
|
const a = {};
|
|
@@ -360,7 +360,7 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
360
360
|
}), { total: n, modules: a };
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
|
-
},
|
|
363
|
+
}, sr = {
|
|
364
364
|
// Critical CSS utilities
|
|
365
365
|
inlineCriticalCSS: (t) => {
|
|
366
366
|
if (typeof document < "u") {
|
|
@@ -391,37 +391,37 @@ const Tn = (t) => t, Pn = (t) => {
|
|
|
391
391
|
unused: t.filter((r) => !e.has(r))
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, so = (t = {}) => {
|
|
395
395
|
const {
|
|
396
396
|
features: e = {},
|
|
397
397
|
criticalCSS: r = "",
|
|
398
|
-
enableUsageTracking: a =
|
|
398
|
+
enableUsageTracking: a = ae.isDevelopment
|
|
399
399
|
} = t;
|
|
400
400
|
return {
|
|
401
|
-
features:
|
|
401
|
+
features: ae.createFeatureFlags(e),
|
|
402
402
|
initialize: () => {
|
|
403
|
-
r && typeof document < "u" &&
|
|
403
|
+
r && typeof document < "u" && sr.inlineCriticalCSS(r);
|
|
404
404
|
},
|
|
405
405
|
cleanup: () => {
|
|
406
|
-
|
|
406
|
+
ne.usageTracker.clear();
|
|
407
407
|
},
|
|
408
408
|
getReport: () => ({
|
|
409
|
-
usage:
|
|
410
|
-
features:
|
|
409
|
+
usage: ne.getUsageReport(),
|
|
410
|
+
features: ae.createFeatureFlags(e)
|
|
411
411
|
})
|
|
412
412
|
};
|
|
413
413
|
};
|
|
414
|
-
let
|
|
415
|
-
function
|
|
414
|
+
let we;
|
|
415
|
+
function lr(t) {
|
|
416
416
|
throw typeof window < "u" ? new Error("Web navigation service not implemented in shared library") : new Error(
|
|
417
417
|
"React Native navigation service not implemented in shared library"
|
|
418
418
|
);
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
return
|
|
420
|
+
function O(t) {
|
|
421
|
+
return we || (we = lr()), we;
|
|
422
422
|
}
|
|
423
|
-
function
|
|
424
|
-
const t =
|
|
423
|
+
function lo() {
|
|
424
|
+
const t = O(), e = t.getCurrentState();
|
|
425
425
|
return {
|
|
426
426
|
navigate: (r, a) => {
|
|
427
427
|
t.navigate(r, a);
|
|
@@ -439,8 +439,8 @@ function so() {
|
|
|
439
439
|
isSupported: t.isSupported()
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
443
|
-
const e =
|
|
442
|
+
function co() {
|
|
443
|
+
const e = O().getCurrentState(), r = Object.keys(e.searchParams).length > 0 ? "?" + new URLSearchParams(e.searchParams).toString() : "";
|
|
444
444
|
return {
|
|
445
445
|
pathname: e.currentPath,
|
|
446
446
|
search: r,
|
|
@@ -453,28 +453,28 @@ function lo() {
|
|
|
453
453
|
// Simplified key generation
|
|
454
454
|
};
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
const t =
|
|
456
|
+
function uo() {
|
|
457
|
+
const t = O(), e = t.getCurrentState();
|
|
458
458
|
return [new URLSearchParams(e.searchParams), (n) => {
|
|
459
459
|
const i = n instanceof URLSearchParams ? Object.fromEntries(n.entries()) : n, l = new URLSearchParams(i).toString(), s = e.currentPath + (l ? `?${l}` : "");
|
|
460
460
|
t.replace(s);
|
|
461
461
|
}];
|
|
462
462
|
}
|
|
463
|
-
const
|
|
463
|
+
const Y = {
|
|
464
464
|
/**
|
|
465
465
|
* Navigate to a path
|
|
466
466
|
* @param path Target path
|
|
467
467
|
* @param options Navigation options
|
|
468
468
|
*/
|
|
469
469
|
navigate: (t, e) => {
|
|
470
|
-
|
|
470
|
+
O().navigate(t, e);
|
|
471
471
|
},
|
|
472
472
|
/**
|
|
473
473
|
* Go back to previous screen
|
|
474
474
|
* @param fallbackPath Fallback path if no history
|
|
475
475
|
*/
|
|
476
476
|
goBack: (t) => {
|
|
477
|
-
|
|
477
|
+
O().goBack(t);
|
|
478
478
|
},
|
|
479
479
|
/**
|
|
480
480
|
* Replace current route
|
|
@@ -482,27 +482,27 @@ const H = {
|
|
|
482
482
|
* @param options Navigation options
|
|
483
483
|
*/
|
|
484
484
|
replace: (t, e) => {
|
|
485
|
-
|
|
485
|
+
O().replace(t, e);
|
|
486
486
|
},
|
|
487
487
|
/**
|
|
488
488
|
* Get current path
|
|
489
489
|
*/
|
|
490
|
-
getCurrentPath: () =>
|
|
490
|
+
getCurrentPath: () => O().getCurrentPath(),
|
|
491
491
|
/**
|
|
492
492
|
* Get search parameters
|
|
493
493
|
*/
|
|
494
|
-
getSearchParams: () =>
|
|
494
|
+
getSearchParams: () => O().getSearchParams(),
|
|
495
495
|
/**
|
|
496
496
|
* Navigate to mail app
|
|
497
497
|
*/
|
|
498
498
|
goToMail: () => {
|
|
499
|
-
|
|
499
|
+
Y.navigate("/mail");
|
|
500
500
|
},
|
|
501
501
|
/**
|
|
502
502
|
* Navigate to preferences
|
|
503
503
|
*/
|
|
504
504
|
goToPreferences: () => {
|
|
505
|
-
|
|
505
|
+
Y.navigate("/preferences");
|
|
506
506
|
},
|
|
507
507
|
/**
|
|
508
508
|
* Navigate to compose page
|
|
@@ -515,31 +515,31 @@ const H = {
|
|
|
515
515
|
r.set(n, i);
|
|
516
516
|
});
|
|
517
517
|
const a = r.toString();
|
|
518
|
-
|
|
518
|
+
Y.navigate(`/mail/compose${a ? `?${a}` : ""}`);
|
|
519
519
|
},
|
|
520
520
|
/**
|
|
521
521
|
* Navigate to connect wallet page
|
|
522
522
|
*/
|
|
523
523
|
goToConnect: () => {
|
|
524
|
-
|
|
524
|
+
Y.navigate("/connect");
|
|
525
525
|
},
|
|
526
526
|
/**
|
|
527
527
|
* Navigate to delegate page
|
|
528
528
|
*/
|
|
529
529
|
goToDelegate: () => {
|
|
530
|
-
|
|
530
|
+
Y.navigate("/admin/delegate");
|
|
531
531
|
},
|
|
532
532
|
/**
|
|
533
533
|
* Navigate to home page
|
|
534
534
|
*/
|
|
535
535
|
goToHome: () => {
|
|
536
|
-
|
|
536
|
+
Y.navigate("/");
|
|
537
537
|
},
|
|
538
538
|
/**
|
|
539
539
|
* Check if can go back
|
|
540
540
|
*/
|
|
541
|
-
canGoBack: () =>
|
|
542
|
-
},
|
|
541
|
+
canGoBack: () => O().canGoBack()
|
|
542
|
+
}, mo = (t, e) => e.find((r) => r.href === t) || null, go = (t, e, r) => {
|
|
543
543
|
const a = t.split("/").filter(Boolean);
|
|
544
544
|
if (a.length === 0)
|
|
545
545
|
return [{ label: "Home", current: !0 }];
|
|
@@ -564,7 +564,7 @@ const H = {
|
|
|
564
564
|
current: d
|
|
565
565
|
});
|
|
566
566
|
}), n;
|
|
567
|
-
},
|
|
567
|
+
}, po = {
|
|
568
568
|
/**
|
|
569
569
|
* Check if a path is currently active
|
|
570
570
|
*/
|
|
@@ -630,8 +630,8 @@ const H = {
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
function
|
|
634
|
-
return
|
|
633
|
+
function ho(t, e = 3, r = 1e3) {
|
|
634
|
+
return K(() => new Promise((a, n) => {
|
|
635
635
|
const i = (l) => {
|
|
636
636
|
t().then(a).catch((s) => {
|
|
637
637
|
l > 0 ? setTimeout(() => {
|
|
@@ -642,19 +642,19 @@ function po(t, e = 3, r = 1e3) {
|
|
|
642
642
|
i(e);
|
|
643
643
|
}));
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function fo(t) {
|
|
646
646
|
let e = null;
|
|
647
647
|
const r = () => (e || (e = t()), e.then(() => {
|
|
648
648
|
}));
|
|
649
|
-
return { Component:
|
|
649
|
+
return { Component: K(() => e || t()), preload: r };
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function bo(t, e = {}) {
|
|
652
652
|
const {
|
|
653
653
|
fallback: r = /* @__PURE__ */ o("div", { children: "Loading..." }),
|
|
654
654
|
errorFallback: a = /* @__PURE__ */ o("div", { children: "Failed to load component" }),
|
|
655
655
|
loadingDelay: n = 200,
|
|
656
656
|
minimumLoadingTime: i = 500
|
|
657
|
-
} = e, l =
|
|
657
|
+
} = e, l = K(async () => {
|
|
658
658
|
const c = Date.now();
|
|
659
659
|
try {
|
|
660
660
|
const d = await t(), g = Date.now() - c;
|
|
@@ -673,11 +673,11 @@ function fo(t, e = {}) {
|
|
|
673
673
|
d(!0);
|
|
674
674
|
}, n);
|
|
675
675
|
return () => clearTimeout(g);
|
|
676
|
-
}, []), c ? /* @__PURE__ */ o(
|
|
676
|
+
}, []), c ? /* @__PURE__ */ o(M, { children: r }) : null;
|
|
677
677
|
};
|
|
678
|
-
return v.forwardRef((c, d) => /* @__PURE__ */ o(
|
|
678
|
+
return v.forwardRef((c, d) => /* @__PURE__ */ o(de, { fallback: /* @__PURE__ */ o(s, {}), children: /* @__PURE__ */ o(l, { ...c, ref: d }) }));
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function cr(t, e = {}) {
|
|
681
681
|
const [r, a] = v.useState(!1), [n, i] = v.useState(!1);
|
|
682
682
|
return v.useEffect(() => {
|
|
683
683
|
const l = t.current;
|
|
@@ -697,20 +697,20 @@ function lr(t, e = {}) {
|
|
|
697
697
|
};
|
|
698
698
|
}, [t, e, n]), r;
|
|
699
699
|
}
|
|
700
|
-
const
|
|
700
|
+
const yo = ({
|
|
701
701
|
children: t,
|
|
702
702
|
fallback: e = /* @__PURE__ */ o("div", { children: "Loading..." }),
|
|
703
703
|
threshold: r = 0.01,
|
|
704
704
|
rootMargin: a = "50px",
|
|
705
705
|
placeholder: n
|
|
706
706
|
}) => {
|
|
707
|
-
const i = v.useRef(null), l =
|
|
707
|
+
const i = v.useRef(null), l = cr(i, {
|
|
708
708
|
threshold: r,
|
|
709
709
|
rootMargin: a
|
|
710
710
|
});
|
|
711
711
|
return /* @__PURE__ */ o("div", { ref: i, children: l ? t : n || e });
|
|
712
712
|
};
|
|
713
|
-
function
|
|
713
|
+
function xo(t) {
|
|
714
714
|
const {
|
|
715
715
|
importFn: e,
|
|
716
716
|
preloadOnHover: r = !0,
|
|
@@ -724,7 +724,7 @@ function yo(t) {
|
|
|
724
724
|
}, n);
|
|
725
725
|
};
|
|
726
726
|
return {
|
|
727
|
-
Component:
|
|
727
|
+
Component: K(() => l || e()),
|
|
728
728
|
preload: s,
|
|
729
729
|
linkProps: {
|
|
730
730
|
...r && {
|
|
@@ -739,7 +739,7 @@ function yo(t) {
|
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function vo(t, e = []) {
|
|
743
743
|
const [r, a] = v.useState(null), [n, i] = v.useState(!0), [l, s] = v.useState(null);
|
|
744
744
|
return v.useEffect(() => {
|
|
745
745
|
let c = !0;
|
|
@@ -752,7 +752,7 @@ function xo(t, e = []) {
|
|
|
752
752
|
};
|
|
753
753
|
}, [t, ...e]), { module: r, loading: n, error: l };
|
|
754
754
|
}
|
|
755
|
-
class
|
|
755
|
+
class dr {
|
|
756
756
|
constructor(e = 3, r = 100) {
|
|
757
757
|
this.queue = /* @__PURE__ */ new Set(), this.isProcessing = !1, this.batchSize = e, this.delay = r;
|
|
758
758
|
}
|
|
@@ -766,13 +766,13 @@ class cr {
|
|
|
766
766
|
e.forEach((r) => this.queue.delete(r)), await Promise.all(e.map((r) => r().catch(console.error))), this.queue.size > 0 && await new Promise((r) => setTimeout(r, this.delay)), this.isProcessing = !1, this.queue.size > 0 && this.process();
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function wo(t, e, r) {
|
|
770
770
|
if (typeof document > "u") return;
|
|
771
771
|
const a = document.createElement("link");
|
|
772
772
|
a.rel = e, a.href = t, r && (e === "preload" || e === "prefetch") && (a.as = r), document.head.appendChild(a);
|
|
773
773
|
}
|
|
774
774
|
var lt = /* @__PURE__ */ ((t) => (t[t.HIGH = 0] = "HIGH", t[t.MEDIUM = 1] = "MEDIUM", t[t.LOW = 2] = "LOW", t[t.IDLE = 3] = "IDLE", t))(lt || {});
|
|
775
|
-
class
|
|
775
|
+
class ur {
|
|
776
776
|
constructor() {
|
|
777
777
|
this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(lt).filter((e) => typeof e == "number").forEach((e) => {
|
|
778
778
|
this.queues.set(e, []);
|
|
@@ -803,8 +803,8 @@ class dr {
|
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
const
|
|
807
|
-
class
|
|
806
|
+
const ko = new dr(), Co = new ur();
|
|
807
|
+
class Te {
|
|
808
808
|
constructor(e = {}) {
|
|
809
809
|
this.prefix = e.prefix || "mailbox", this.defaultTTL = e.ttl, this.platformStorage = e.platformStorage || this.createFallbackStorage();
|
|
810
810
|
}
|
|
@@ -945,11 +945,11 @@ class $e {
|
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
const
|
|
948
|
+
const So = new Te(), No = new Te({ prefix: "mailbox-theme" }), Eo = new Te({
|
|
949
949
|
prefix: "walletUser",
|
|
950
950
|
ttl: 10080 * 60 * 1e3
|
|
951
951
|
// 7 days in milliseconds
|
|
952
|
-
}),
|
|
952
|
+
}), $o = (t) => {
|
|
953
953
|
if (!t)
|
|
954
954
|
throw new Error("PlatformStorage must be provided to createSimpleStorage");
|
|
955
955
|
return {
|
|
@@ -976,7 +976,7 @@ const Co = new $e(), So = new $e({ prefix: "mailbox-theme" }), No = new $e({
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
};
|
|
979
|
-
function
|
|
979
|
+
function mr() {
|
|
980
980
|
const t = {
|
|
981
981
|
isWalletBrowser: !1,
|
|
982
982
|
walletType: "unknown",
|
|
@@ -1003,8 +1003,8 @@ function ur() {
|
|
|
1003
1003
|
return console.warn("Error detecting wallet browser:", e), t;
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
async function
|
|
1007
|
-
const t =
|
|
1006
|
+
async function Ao() {
|
|
1007
|
+
const t = mr();
|
|
1008
1008
|
if (!t.isWalletBrowser)
|
|
1009
1009
|
return { success: !1, error: "Not running in a wallet browser" };
|
|
1010
1010
|
try {
|
|
@@ -1034,7 +1034,7 @@ async function $o() {
|
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
|
-
class
|
|
1037
|
+
class gr {
|
|
1038
1038
|
constructor(e) {
|
|
1039
1039
|
this.metrics = { timestamp: Date.now() }, this.observers = [], this.performanceMarks = /* @__PURE__ */ new Map(), this.reportCallback = e, this.initializeWebVitals(), this.initializeCustomObservers(), this.collectDeviceInfo();
|
|
1040
1040
|
}
|
|
@@ -1155,17 +1155,17 @@ class mr {
|
|
|
1155
1155
|
this.observers.forEach((e) => e.disconnect()), this.observers = [];
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
|
-
let
|
|
1159
|
-
const
|
|
1158
|
+
let pe = null;
|
|
1159
|
+
const Io = (t) => (pe || (pe = new gr(t)), pe), Pe = () => pe, pr = (t) => {
|
|
1160
1160
|
const e = v.useRef(performance.now());
|
|
1161
1161
|
v.useEffect(() => {
|
|
1162
|
-
const r = performance.now() - e.current, a =
|
|
1162
|
+
const r = performance.now() - e.current, a = Pe();
|
|
1163
1163
|
a && a.measureComponentRender(t, r);
|
|
1164
1164
|
}, [t]);
|
|
1165
|
-
},
|
|
1165
|
+
}, To = (t, e) => v.forwardRef((r, a) => (pr(e), v.createElement(t, { ...r, ref: a }))), Po = async (t, e) => {
|
|
1166
1166
|
const r = performance.now();
|
|
1167
1167
|
try {
|
|
1168
|
-
const a = await t(), n = performance.now() - r, i =
|
|
1168
|
+
const a = await t(), n = performance.now() - r, i = Pe();
|
|
1169
1169
|
return i && i.measureAPICall(e, n), a;
|
|
1170
1170
|
} catch (a) {
|
|
1171
1171
|
const n = performance.now() - r;
|
|
@@ -1173,7 +1173,7 @@ const Ao = (t) => (de || (de = new mr(t)), de), Ae = () => de, gr = (t) => {
|
|
|
1173
1173
|
`[Performance] ${e} failed after ${n.toFixed(2)}ms`
|
|
1174
1174
|
), a;
|
|
1175
1175
|
}
|
|
1176
|
-
},
|
|
1176
|
+
}, hr = {
|
|
1177
1177
|
LCP: 2500,
|
|
1178
1178
|
// 2.5s
|
|
1179
1179
|
INP: 200,
|
|
@@ -1186,7 +1186,7 @@ const Ao = (t) => (de || (de = new mr(t)), de), Ae = () => de, gr = (t) => {
|
|
|
1186
1186
|
// 800ms
|
|
1187
1187
|
bundleSize: 17e4
|
|
1188
1188
|
// 170KB
|
|
1189
|
-
},
|
|
1189
|
+
}, Lo = (t, e = hr) => {
|
|
1190
1190
|
const r = [];
|
|
1191
1191
|
return e.LCP && t.LCP && t.LCP > e.LCP && r.push(
|
|
1192
1192
|
`LCP: ${t.LCP.toFixed(0)}ms (budget: ${e.LCP}ms)`
|
|
@@ -1200,8 +1200,8 @@ const Ao = (t) => (de || (de = new mr(t)), de), Ae = () => de, gr = (t) => {
|
|
|
1200
1200
|
passed: r.length === 0,
|
|
1201
1201
|
violations: r
|
|
1202
1202
|
};
|
|
1203
|
-
},
|
|
1204
|
-
const e = t ||
|
|
1203
|
+
}, Mo = (t) => {
|
|
1204
|
+
const e = t || Pe()?.getMetrics() || { timestamp: Date.now() }, r = {
|
|
1205
1205
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1206
1206
|
metrics: e,
|
|
1207
1207
|
environment: {
|
|
@@ -1215,14 +1215,14 @@ const Ao = (t) => (de || (de = new mr(t)), de), Ae = () => de, gr = (t) => {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
};
|
|
1217
1217
|
return JSON.stringify(r, null, 2);
|
|
1218
|
-
},
|
|
1218
|
+
}, zo = (t) => {
|
|
1219
1219
|
if (t === 0) return "0 Bytes";
|
|
1220
1220
|
const e = 1024, r = ["Bytes", "KB", "MB", "GB", "TB"], a = Math.floor(Math.log(t) / Math.log(e)), n = Math.min(a, r.length - 1);
|
|
1221
1221
|
return parseFloat((t / Math.pow(e, n)).toFixed(2)) + " " + r[n];
|
|
1222
|
-
},
|
|
1222
|
+
}, Ro = (t, e, r) => {
|
|
1223
1223
|
const a = { bytes: 0, kb: 1, mb: 2, gb: 3, tb: 4 }, n = 1024, l = t * Math.pow(n, a[e]) / Math.pow(n, a[r]);
|
|
1224
1224
|
return Math.round(l * 100) / 100;
|
|
1225
|
-
},
|
|
1225
|
+
}, Wo = (t) => {
|
|
1226
1226
|
const e = t.match(/^(\d+(?:\.\d+)?)\s*(bytes?|kb|mb|gb|tb)$/i);
|
|
1227
1227
|
if (!e) return null;
|
|
1228
1228
|
const r = parseFloat(e[1]), a = e[2].toLowerCase(), i = {
|
|
@@ -1235,7 +1235,7 @@ const Ao = (t) => (de || (de = new mr(t)), de), Ae = () => de, gr = (t) => {
|
|
|
1235
1235
|
}[a];
|
|
1236
1236
|
return i ? Math.round(r * i) : null;
|
|
1237
1237
|
};
|
|
1238
|
-
function
|
|
1238
|
+
function fr(t, e) {
|
|
1239
1239
|
P(() => {
|
|
1240
1240
|
const r = (a) => {
|
|
1241
1241
|
const n = t?.current;
|
|
@@ -1246,7 +1246,7 @@ function hr(t, e) {
|
|
|
1246
1246
|
};
|
|
1247
1247
|
}, [t, e]);
|
|
1248
1248
|
}
|
|
1249
|
-
const
|
|
1249
|
+
const br = (t) => {
|
|
1250
1250
|
const [e, r] = $(""), [a, n] = $(!0), [i, l] = $(null);
|
|
1251
1251
|
return P(() => {
|
|
1252
1252
|
t && (async () => {
|
|
@@ -1264,8 +1264,8 @@ const fr = (t) => {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
})();
|
|
1266
1266
|
}, [t]), { code: e, loading: a, error: i };
|
|
1267
|
-
},
|
|
1268
|
-
const { successDuration: e = 2e3, onSuccess: r, onError: a } = t, [n, i] = $(null), l =
|
|
1267
|
+
}, jo = (t = {}) => {
|
|
1268
|
+
const { successDuration: e = 2e3, onSuccess: r, onError: a } = t, [n, i] = $(null), l = D(
|
|
1269
1269
|
async (d) => {
|
|
1270
1270
|
try {
|
|
1271
1271
|
if (navigator.clipboard && window.isSecureContext)
|
|
@@ -1286,10 +1286,10 @@ const fr = (t) => {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
},
|
|
1288
1288
|
[e, r, a]
|
|
1289
|
-
), s =
|
|
1289
|
+
), s = D(
|
|
1290
1290
|
(d) => n === d,
|
|
1291
1291
|
[n]
|
|
1292
|
-
), c =
|
|
1292
|
+
), c = D(() => {
|
|
1293
1293
|
i(null);
|
|
1294
1294
|
}, []);
|
|
1295
1295
|
return {
|
|
@@ -1298,8 +1298,8 @@ const fr = (t) => {
|
|
|
1298
1298
|
isCopied: s,
|
|
1299
1299
|
resetCopiedState: c
|
|
1300
1300
|
};
|
|
1301
|
-
},
|
|
1302
|
-
const { successDuration: e = 2e3, onSuccess: r, onError: a } = t, [n, i] = $({}), l =
|
|
1301
|
+
}, Do = (t = {}) => {
|
|
1302
|
+
const { successDuration: e = 2e3, onSuccess: r, onError: a } = t, [n, i] = $({}), l = D(
|
|
1303
1303
|
async (d, g) => {
|
|
1304
1304
|
try {
|
|
1305
1305
|
if (navigator.clipboard && window.isSecureContext)
|
|
@@ -1320,10 +1320,10 @@ const fr = (t) => {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
},
|
|
1322
1322
|
[e, r, a]
|
|
1323
|
-
), s =
|
|
1323
|
+
), s = D(
|
|
1324
1324
|
(d) => n[d] || !1,
|
|
1325
1325
|
[n]
|
|
1326
|
-
), c =
|
|
1326
|
+
), c = D((d) => {
|
|
1327
1327
|
i(d ? (g) => ({ ...g, [d]: !1 }) : {});
|
|
1328
1328
|
}, []);
|
|
1329
1329
|
return {
|
|
@@ -1332,7 +1332,7 @@ const fr = (t) => {
|
|
|
1332
1332
|
isCopied: s,
|
|
1333
1333
|
resetCopiedState: c
|
|
1334
1334
|
};
|
|
1335
|
-
},
|
|
1335
|
+
}, yr = {
|
|
1336
1336
|
pending: {
|
|
1337
1337
|
label: "Pending",
|
|
1338
1338
|
color: "bg-gray-500",
|
|
@@ -1353,7 +1353,7 @@ const fr = (t) => {
|
|
|
1353
1353
|
color: "bg-red-500",
|
|
1354
1354
|
textColor: "text-white"
|
|
1355
1355
|
}
|
|
1356
|
-
},
|
|
1356
|
+
}, xr = {
|
|
1357
1357
|
basic: "Basic KYC",
|
|
1358
1358
|
enhanced: "Enhanced KYC",
|
|
1359
1359
|
accredited: "Accredited Investor"
|
|
@@ -1362,7 +1362,7 @@ const fr = (t) => {
|
|
|
1362
1362
|
level: e,
|
|
1363
1363
|
className: r = ""
|
|
1364
1364
|
}) => {
|
|
1365
|
-
const a =
|
|
1365
|
+
const a = yr[t], n = xr[e];
|
|
1366
1366
|
return /* @__PURE__ */ o("div", { className: `inline-flex items-center gap-2 ${r}`, children: /* @__PURE__ */ m(
|
|
1367
1367
|
"span",
|
|
1368
1368
|
{
|
|
@@ -1374,7 +1374,7 @@ const fr = (t) => {
|
|
|
1374
1374
|
]
|
|
1375
1375
|
}
|
|
1376
1376
|
) });
|
|
1377
|
-
},
|
|
1377
|
+
}, Oo = ({
|
|
1378
1378
|
accessToken: t,
|
|
1379
1379
|
onComplete: e,
|
|
1380
1380
|
onError: r,
|
|
@@ -1419,7 +1419,7 @@ const fr = (t) => {
|
|
|
1419
1419
|
document.body.contains(l) && document.body.removeChild(l), i.current && typeof i.current.destroy == "function" && i.current.destroy();
|
|
1420
1420
|
};
|
|
1421
1421
|
}, [t, e, r]), /* @__PURE__ */ o("div", { className: `sumsub-sdk-container ${a}`, children: /* @__PURE__ */ o("div", { ref: n, id: "sumsub-websdk-container" }) });
|
|
1422
|
-
},
|
|
1422
|
+
}, vr = {
|
|
1423
1423
|
basic: {
|
|
1424
1424
|
title: "Basic KYC",
|
|
1425
1425
|
description: "Age & Identity Verification",
|
|
@@ -1438,7 +1438,7 @@ const fr = (t) => {
|
|
|
1438
1438
|
color: "border-gold-200",
|
|
1439
1439
|
activeColor: "border-gold-500 bg-gold-50"
|
|
1440
1440
|
}
|
|
1441
|
-
},
|
|
1441
|
+
}, Fo = ({
|
|
1442
1442
|
level: t,
|
|
1443
1443
|
price: e,
|
|
1444
1444
|
features: r,
|
|
@@ -1447,7 +1447,7 @@ const fr = (t) => {
|
|
|
1447
1447
|
onSelect: i,
|
|
1448
1448
|
className: l = ""
|
|
1449
1449
|
}) => {
|
|
1450
|
-
const s =
|
|
1450
|
+
const s = vr[t];
|
|
1451
1451
|
return /* @__PURE__ */ m(
|
|
1452
1452
|
"div",
|
|
1453
1453
|
{
|
|
@@ -1901,18 +1901,18 @@ const fr = (t) => {
|
|
|
1901
1901
|
itemIconRight: () => "ml-auto h-4 w-4 flex-shrink-0"
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
|
-
},
|
|
1904
|
+
}, wr = {
|
|
1905
1905
|
// Section styles with backgrounds
|
|
1906
1906
|
section: {
|
|
1907
1907
|
// Gradient sections with dark mode support
|
|
1908
1908
|
gradient: "py-20 bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900 dark:to-blue-900"
|
|
1909
1909
|
}
|
|
1910
|
-
},
|
|
1911
|
-
info:
|
|
1910
|
+
}, kr = {
|
|
1911
|
+
info: he,
|
|
1912
1912
|
success: Xe,
|
|
1913
1913
|
warning: Je,
|
|
1914
1914
|
error: Ze
|
|
1915
|
-
},
|
|
1915
|
+
}, Vo = ({ children: t, className: e }) => /* @__PURE__ */ o("div", { className: h("font-medium mb-1", e), children: t }), _o = ({ children: t, className: e }) => /* @__PURE__ */ o("div", { className: h("text-sm", e), children: t }), qo = ({
|
|
1916
1916
|
variant: t = "info",
|
|
1917
1917
|
title: e,
|
|
1918
1918
|
description: r,
|
|
@@ -1920,7 +1920,7 @@ const fr = (t) => {
|
|
|
1920
1920
|
children: n,
|
|
1921
1921
|
className: i
|
|
1922
1922
|
}) => {
|
|
1923
|
-
const l =
|
|
1923
|
+
const l = kr[t], s = a || /* @__PURE__ */ o(l, { className: "h-5 w-5" }), c = typeof w.alert[t] == "function" ? w.alert[t]() : "";
|
|
1924
1924
|
return /* @__PURE__ */ m("div", { role: "alert", className: h(c, i), children: [
|
|
1925
1925
|
s && /* @__PURE__ */ o("div", { className: "flex-shrink-0", children: s }),
|
|
1926
1926
|
/* @__PURE__ */ m("div", { className: "flex-1", children: [
|
|
@@ -1929,7 +1929,7 @@ const fr = (t) => {
|
|
|
1929
1929
|
n
|
|
1930
1930
|
] })
|
|
1931
1931
|
] });
|
|
1932
|
-
}, We = () => typeof document < "u" && typeof document.createElement == "function" && typeof document.getElementById == "function",
|
|
1932
|
+
}, We = () => typeof document < "u" && typeof document.createElement == "function" && typeof document.getElementById == "function", Cr = (t) => {
|
|
1933
1933
|
if (typeof document < "u" && document.getElementById)
|
|
1934
1934
|
try {
|
|
1935
1935
|
return document.getElementById(t);
|
|
@@ -1937,7 +1937,7 @@ const fr = (t) => {
|
|
|
1937
1937
|
console.warn("Failed to get element by ID:", e);
|
|
1938
1938
|
}
|
|
1939
1939
|
return null;
|
|
1940
|
-
},
|
|
1940
|
+
}, Sr = (t) => {
|
|
1941
1941
|
if (typeof document < "u" && document.createElement)
|
|
1942
1942
|
try {
|
|
1943
1943
|
return document.createElement(t);
|
|
@@ -1945,7 +1945,7 @@ const fr = (t) => {
|
|
|
1945
1945
|
console.warn("Failed to create element:", e);
|
|
1946
1946
|
}
|
|
1947
1947
|
return null;
|
|
1948
|
-
},
|
|
1948
|
+
}, Nr = (t) => {
|
|
1949
1949
|
const e = typeof document < "u" ? document.head : null;
|
|
1950
1950
|
if (e && t)
|
|
1951
1951
|
try {
|
|
@@ -1954,7 +1954,7 @@ const fr = (t) => {
|
|
|
1954
1954
|
console.warn("Failed to append to document head:", r);
|
|
1955
1955
|
}
|
|
1956
1956
|
return !1;
|
|
1957
|
-
},
|
|
1957
|
+
}, Z = ({
|
|
1958
1958
|
animation: t = "fade-in-up",
|
|
1959
1959
|
delay: e = 0,
|
|
1960
1960
|
duration: r = 600,
|
|
@@ -1998,8 +1998,8 @@ const fr = (t) => {
|
|
|
1998
1998
|
return P(() => {
|
|
1999
1999
|
if (We() && (t === "float" || t === "bounce-slow")) {
|
|
2000
2000
|
const b = "animated-section-keyframes";
|
|
2001
|
-
if (!
|
|
2002
|
-
const y =
|
|
2001
|
+
if (!Cr(b)) {
|
|
2002
|
+
const y = Sr("style");
|
|
2003
2003
|
y && (y.id = b, y.textContent = `
|
|
2004
2004
|
@keyframes float {
|
|
2005
2005
|
0%, 100% { transform: translateY(0px); }
|
|
@@ -2015,19 +2015,19 @@ const fr = (t) => {
|
|
|
2015
2015
|
.animate-bounce-slow {
|
|
2016
2016
|
animation: bounce-slow 4s ease-in-out infinite;
|
|
2017
2017
|
}
|
|
2018
|
-
`,
|
|
2018
|
+
`, Nr(y));
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
}, [t]), /* @__PURE__ */ o("div", { ref: p, className: `${f()} ${i}`, children: n });
|
|
2022
|
-
},
|
|
2023
|
-
|
|
2022
|
+
}, Ho = ({ children: t, delay: e = 0, className: r = "" }) => /* @__PURE__ */ o(Z, { animation: "fade-in-up", delay: e, className: r, children: t }), Uo = ({ children: t, delay: e = 0, className: r = "" }) => /* @__PURE__ */ o(
|
|
2023
|
+
Z,
|
|
2024
2024
|
{
|
|
2025
2025
|
animation: "fade-in-scale",
|
|
2026
2026
|
delay: e,
|
|
2027
2027
|
className: r,
|
|
2028
2028
|
children: t
|
|
2029
2029
|
}
|
|
2030
|
-
),
|
|
2030
|
+
), Go = ({ children: t, className: e = "" }) => /* @__PURE__ */ o(Z, { animation: "float", className: e, children: t }), Er = I("min-h-[44px] touch-manipulation", {
|
|
2031
2031
|
variants: {
|
|
2032
2032
|
variant: {
|
|
2033
2033
|
// Clean variant definitions - let the variant system handle the classes
|
|
@@ -2075,9 +2075,9 @@ const fr = (t) => {
|
|
|
2075
2075
|
size: "default",
|
|
2076
2076
|
animation: "hover"
|
|
2077
2077
|
}
|
|
2078
|
-
}),
|
|
2078
|
+
}), G = R.forwardRef(
|
|
2079
2079
|
({ className: t, variant: e, size: r, animation: a, asChild: n = !1, ...i }, l) => {
|
|
2080
|
-
const s = n ?
|
|
2080
|
+
const s = n ? jt : "button", c = e || "default", d = r && r !== "default" && r !== "icon" ? r : void 0, g = (b) => b ? {
|
|
2081
2081
|
sm: "small",
|
|
2082
2082
|
lg: "large",
|
|
2083
2083
|
default: "default"
|
|
@@ -2098,7 +2098,7 @@ const fr = (t) => {
|
|
|
2098
2098
|
s,
|
|
2099
2099
|
{
|
|
2100
2100
|
className: h(
|
|
2101
|
-
|
|
2101
|
+
Er({ size: r, animation: a }),
|
|
2102
2102
|
// Base styles and layout
|
|
2103
2103
|
f,
|
|
2104
2104
|
// Design system variant styles
|
|
@@ -2111,8 +2111,8 @@ const fr = (t) => {
|
|
|
2111
2111
|
);
|
|
2112
2112
|
}
|
|
2113
2113
|
);
|
|
2114
|
-
|
|
2115
|
-
const
|
|
2114
|
+
G.displayName = "Button";
|
|
2115
|
+
const $r = {
|
|
2116
2116
|
default: "bg-white dark:bg-gray-800",
|
|
2117
2117
|
bordered: "bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",
|
|
2118
2118
|
elevated: "bg-white dark:bg-gray-800 shadow-md",
|
|
@@ -2123,7 +2123,7 @@ const Er = {
|
|
|
2123
2123
|
error: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 text-red-900 dark:text-red-300",
|
|
2124
2124
|
// Callout variant (consolidates CalloutBox)
|
|
2125
2125
|
callout: "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 border border-blue-200 dark:border-blue-800"
|
|
2126
|
-
},
|
|
2126
|
+
}, Ar = {
|
|
2127
2127
|
none: "",
|
|
2128
2128
|
sm: "p-3",
|
|
2129
2129
|
md: "p-6",
|
|
@@ -2145,8 +2145,8 @@ const Er = {
|
|
|
2145
2145
|
{
|
|
2146
2146
|
className: h(
|
|
2147
2147
|
"rounded-lg",
|
|
2148
|
-
|
|
2149
|
-
|
|
2148
|
+
$r[t],
|
|
2149
|
+
Ar[e],
|
|
2150
2150
|
n
|
|
2151
2151
|
),
|
|
2152
2152
|
...l,
|
|
@@ -2182,7 +2182,7 @@ const Er = {
|
|
|
2182
2182
|
] }) : i
|
|
2183
2183
|
}
|
|
2184
2184
|
);
|
|
2185
|
-
},
|
|
2185
|
+
}, Ko = ({
|
|
2186
2186
|
title: t,
|
|
2187
2187
|
description: e,
|
|
2188
2188
|
className: r,
|
|
@@ -2192,7 +2192,7 @@ const Er = {
|
|
|
2192
2192
|
t && /* @__PURE__ */ o("h3", { className: N.heading.h4(), children: t }),
|
|
2193
2193
|
e && /* @__PURE__ */ o("p", { className: N.body.sm(), children: e }),
|
|
2194
2194
|
a
|
|
2195
|
-
] }),
|
|
2195
|
+
] }), Yo = ({
|
|
2196
2196
|
className: t,
|
|
2197
2197
|
children: e,
|
|
2198
2198
|
...r
|
|
@@ -2200,7 +2200,7 @@ const Er = {
|
|
|
2200
2200
|
className: t,
|
|
2201
2201
|
children: e,
|
|
2202
2202
|
...r
|
|
2203
|
-
}) => /* @__PURE__ */ o("div", { className: h("flex items-center pt-4", t), ...r, children: e }),
|
|
2203
|
+
}) => /* @__PURE__ */ o("div", { className: h("flex items-center pt-4", t), ...r, children: e }), Zo = ({
|
|
2204
2204
|
title: t,
|
|
2205
2205
|
children: e,
|
|
2206
2206
|
variant: r = "info",
|
|
@@ -2226,7 +2226,7 @@ const Er = {
|
|
|
2226
2226
|
e
|
|
2227
2227
|
]
|
|
2228
2228
|
}
|
|
2229
|
-
),
|
|
2229
|
+
), Jo = ({
|
|
2230
2230
|
title: t,
|
|
2231
2231
|
icon: e,
|
|
2232
2232
|
children: r,
|
|
@@ -2274,7 +2274,7 @@ const Er = {
|
|
|
2274
2274
|
)
|
|
2275
2275
|
] })
|
|
2276
2276
|
}
|
|
2277
|
-
),
|
|
2277
|
+
), Ir = I("grid gap-8", {
|
|
2278
2278
|
variants: {
|
|
2279
2279
|
layout: {
|
|
2280
2280
|
grid: "grid-cols-1 md:grid-cols-2",
|
|
@@ -2291,7 +2291,7 @@ const Er = {
|
|
|
2291
2291
|
layout: "grid",
|
|
2292
2292
|
spacing: "md"
|
|
2293
2293
|
}
|
|
2294
|
-
}),
|
|
2294
|
+
}), Tr = I("rounded-xl p-6 transition-all duration-300", {
|
|
2295
2295
|
variants: {
|
|
2296
2296
|
variant: {
|
|
2297
2297
|
traditional: "bg-red-50 dark:bg-red-900/20 border-2 border-red-100 dark:border-red-800/30 hover:border-red-200 dark:hover:border-red-700/50",
|
|
@@ -2309,7 +2309,7 @@ const Er = {
|
|
|
2309
2309
|
variant: "traditional",
|
|
2310
2310
|
animation: "hover"
|
|
2311
2311
|
}
|
|
2312
|
-
}),
|
|
2312
|
+
}), Pr = I("text-lg font-bold mb-4 flex items-center gap-3", {
|
|
2313
2313
|
variants: {
|
|
2314
2314
|
variant: {
|
|
2315
2315
|
traditional: "text-red-600 dark:text-red-400",
|
|
@@ -2321,17 +2321,17 @@ const Er = {
|
|
|
2321
2321
|
defaultVariants: {
|
|
2322
2322
|
variant: "traditional"
|
|
2323
2323
|
}
|
|
2324
|
-
}),
|
|
2324
|
+
}), Lr = {
|
|
2325
2325
|
traditional: "❌",
|
|
2326
2326
|
web3: "✅",
|
|
2327
2327
|
neutral: "ℹ️",
|
|
2328
2328
|
elevated: "⭐"
|
|
2329
|
-
},
|
|
2329
|
+
}, Mr = {
|
|
2330
2330
|
red: "bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300",
|
|
2331
2331
|
green: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",
|
|
2332
2332
|
blue: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2333
2333
|
gray: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2334
|
-
},
|
|
2334
|
+
}, Xo = ({
|
|
2335
2335
|
className: t,
|
|
2336
2336
|
layout: e = "grid",
|
|
2337
2337
|
spacing: r = "md",
|
|
@@ -2350,11 +2350,11 @@ const Er = {
|
|
|
2350
2350
|
"div",
|
|
2351
2351
|
{
|
|
2352
2352
|
className: h(
|
|
2353
|
-
|
|
2353
|
+
Tr({ variant: y.variant, animation: s })
|
|
2354
2354
|
),
|
|
2355
2355
|
children: [
|
|
2356
|
-
/* @__PURE__ */ m("div", { className: h(
|
|
2357
|
-
/* @__PURE__ */ o("span", { className: "text-2xl", children: y.icon || (x === 0 ? g : p) ||
|
|
2356
|
+
/* @__PURE__ */ m("div", { className: h(Pr({ variant: y.variant })), children: [
|
|
2357
|
+
/* @__PURE__ */ o("span", { className: "text-2xl", children: y.icon || (x === 0 ? g : p) || Lr[y.variant] }),
|
|
2358
2358
|
/* @__PURE__ */ o("div", { className: "flex-1", children: /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: [
|
|
2359
2359
|
/* @__PURE__ */ o("span", { children: y.title }),
|
|
2360
2360
|
y.badge && /* @__PURE__ */ o(
|
|
@@ -2362,7 +2362,7 @@ const Er = {
|
|
|
2362
2362
|
{
|
|
2363
2363
|
className: h(
|
|
2364
2364
|
"text-xs font-medium px-2 py-1 rounded-full",
|
|
2365
|
-
|
|
2365
|
+
Mr[y.badge.color || "gray"]
|
|
2366
2366
|
),
|
|
2367
2367
|
children: y.badge.text
|
|
2368
2368
|
}
|
|
@@ -2398,7 +2398,7 @@ const Er = {
|
|
|
2398
2398
|
}
|
|
2399
2399
|
);
|
|
2400
2400
|
return c ? /* @__PURE__ */ o(
|
|
2401
|
-
|
|
2401
|
+
Z,
|
|
2402
2402
|
{
|
|
2403
2403
|
animation: "fade-in-up",
|
|
2404
2404
|
delay: d + x * 200,
|
|
@@ -2411,18 +2411,18 @@ const Er = {
|
|
|
2411
2411
|
a && /* @__PURE__ */ o("h2", { className: "text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white", children: a }),
|
|
2412
2412
|
n && /* @__PURE__ */ o("p", { className: "text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto", children: n })
|
|
2413
2413
|
] }),
|
|
2414
|
-
/* @__PURE__ */ m("div", { className: h(
|
|
2414
|
+
/* @__PURE__ */ m("div", { className: h(Ir({ layout: e, spacing: r })), children: [
|
|
2415
2415
|
f(i, 0),
|
|
2416
2416
|
f(l, 1)
|
|
2417
2417
|
] })
|
|
2418
2418
|
] });
|
|
2419
|
-
return c ? /* @__PURE__ */ o(
|
|
2419
|
+
return c ? /* @__PURE__ */ o(Z, { animation: "fade-in-up", delay: d, children: b }) : b;
|
|
2420
2420
|
}, je = (t, e, r, a) => ({
|
|
2421
2421
|
title: t,
|
|
2422
2422
|
variant: r,
|
|
2423
2423
|
items: e.map((n) => typeof n == "string" ? { text: n } : n),
|
|
2424
2424
|
...a
|
|
2425
|
-
}),
|
|
2425
|
+
}), ei = (t) => {
|
|
2426
2426
|
const e = [
|
|
2427
2427
|
{ text: "Create account with email/password", icon: "🔑" },
|
|
2428
2428
|
{ text: "Remember multiple passwords", icon: "🧠" },
|
|
@@ -2452,7 +2452,7 @@ const Er = {
|
|
|
2452
2452
|
{ badge: { text: t?.web3Badge || "New Way", color: "green" } }
|
|
2453
2453
|
)
|
|
2454
2454
|
};
|
|
2455
|
-
},
|
|
2455
|
+
}, zr = I("mx-auto px-4 sm:px-6", {
|
|
2456
2456
|
variants: {
|
|
2457
2457
|
size: {
|
|
2458
2458
|
sm: "max-w-2xl",
|
|
@@ -2490,7 +2490,7 @@ const Er = {
|
|
|
2490
2490
|
spacing: "md",
|
|
2491
2491
|
align: "left"
|
|
2492
2492
|
}
|
|
2493
|
-
}),
|
|
2493
|
+
}), ti = ({
|
|
2494
2494
|
children: t,
|
|
2495
2495
|
size: e = "xl",
|
|
2496
2496
|
spacing: r = "md",
|
|
@@ -2501,12 +2501,12 @@ const Er = {
|
|
|
2501
2501
|
i,
|
|
2502
2502
|
{
|
|
2503
2503
|
className: h(
|
|
2504
|
-
|
|
2504
|
+
zr({ size: e, spacing: r, align: a }),
|
|
2505
2505
|
n
|
|
2506
2506
|
)
|
|
2507
2507
|
},
|
|
2508
2508
|
t
|
|
2509
|
-
),
|
|
2509
|
+
), ri = ({
|
|
2510
2510
|
trigger: t,
|
|
2511
2511
|
items: e,
|
|
2512
2512
|
align: r = "right",
|
|
@@ -2514,7 +2514,7 @@ const Er = {
|
|
|
2514
2514
|
variant: n = "default"
|
|
2515
2515
|
}) => {
|
|
2516
2516
|
const [i, l] = $(!1), s = v.useRef(null);
|
|
2517
|
-
|
|
2517
|
+
fr(s, () => l(!1));
|
|
2518
2518
|
const c = (p) => {
|
|
2519
2519
|
p.disabled || (p.onClick(), l(!1));
|
|
2520
2520
|
}, d = r === "left" ? w.overlays.dropdown.menuRight() : w.overlays.dropdown.menuLeft(), g = n === "bordered" ? w.overlays.dropdown.triggerBordered() : w.overlays.dropdown.trigger();
|
|
@@ -2561,7 +2561,7 @@ const Er = {
|
|
|
2561
2561
|
]
|
|
2562
2562
|
}
|
|
2563
2563
|
);
|
|
2564
|
-
},
|
|
2564
|
+
}, ai = ({
|
|
2565
2565
|
icon: t,
|
|
2566
2566
|
title: e,
|
|
2567
2567
|
description: r,
|
|
@@ -2609,7 +2609,7 @@ const Er = {
|
|
|
2609
2609
|
emerald: "bg-emerald-100 dark:bg-emerald-900/20",
|
|
2610
2610
|
pink: "bg-pink-100 dark:bg-pink-900/20",
|
|
2611
2611
|
gray: "bg-gray-100 dark:bg-gray-900/20"
|
|
2612
|
-
}, S = b[i], C = typeof t == "string", k = () => /* @__PURE__ */ m(
|
|
2612
|
+
}, S = b[i], C = typeof t == "string", k = () => /* @__PURE__ */ m(M, { children: [
|
|
2613
2613
|
C ? (
|
|
2614
2614
|
// Emoji or text icon
|
|
2615
2615
|
/* @__PURE__ */ o("div", { className: "text-4xl mb-4", children: t })
|
|
@@ -2637,7 +2637,7 @@ const Er = {
|
|
|
2637
2637
|
/* @__PURE__ */ o("h3", { className: "text-xl font-semibold text-gray-900 dark:text-white mb-3", children: e }),
|
|
2638
2638
|
/* @__PURE__ */ o("p", { className: "text-gray-600 dark:text-gray-300 mb-4 leading-relaxed", children: r }),
|
|
2639
2639
|
c && /* @__PURE__ */ o("div", { className: "mt-3 mb-4", children: c }),
|
|
2640
|
-
a && a.length > 0 && /* @__PURE__ */ o("ul", { className: "space-y-2 mb-4", children: a.map((
|
|
2640
|
+
a && a.length > 0 && /* @__PURE__ */ o("ul", { className: "space-y-2 mb-4", children: a.map((A, V) => /* @__PURE__ */ m("li", { className: "flex items-start", children: [
|
|
2641
2641
|
/* @__PURE__ */ o(
|
|
2642
2642
|
"div",
|
|
2643
2643
|
{
|
|
@@ -2647,18 +2647,18 @@ const Er = {
|
|
|
2647
2647
|
)
|
|
2648
2648
|
}
|
|
2649
2649
|
),
|
|
2650
|
-
/* @__PURE__ */ o("span", { className: "text-sm text-gray-600 dark:text-gray-400", children:
|
|
2651
|
-
] },
|
|
2652
|
-
n && Object.keys(n).length > 0 && /* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-4 mt-4", children: Object.entries(n).map(([
|
|
2650
|
+
/* @__PURE__ */ o("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: A })
|
|
2651
|
+
] }, V)) }),
|
|
2652
|
+
n && Object.keys(n).length > 0 && /* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-4 mt-4", children: Object.entries(n).map(([A, V], H) => /* @__PURE__ */ m(
|
|
2653
2653
|
"div",
|
|
2654
2654
|
{
|
|
2655
2655
|
className: "text-center p-3 bg-gray-50 dark:bg-gray-700/50 rounded-lg",
|
|
2656
2656
|
children: [
|
|
2657
|
-
/* @__PURE__ */ o("div", { className: h("text-lg font-bold", S), children:
|
|
2658
|
-
/* @__PURE__ */ o("div", { className: "text-xs text-gray-500 dark:text-gray-400 mt-1", children:
|
|
2657
|
+
/* @__PURE__ */ o("div", { className: h("text-lg font-bold", S), children: V }),
|
|
2658
|
+
/* @__PURE__ */ o("div", { className: "text-xs text-gray-500 dark:text-gray-400 mt-1", children: A })
|
|
2659
2659
|
]
|
|
2660
2660
|
},
|
|
2661
|
-
|
|
2661
|
+
H
|
|
2662
2662
|
)) })
|
|
2663
2663
|
] })
|
|
2664
2664
|
] }), E = h(
|
|
@@ -2667,16 +2667,16 @@ const Er = {
|
|
|
2667
2667
|
(g || d) && "cursor-pointer hover:scale-[1.02]",
|
|
2668
2668
|
l ? "bg-gradient-to-br from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 border-blue-200 dark:border-blue-800 border" : "bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700 border",
|
|
2669
2669
|
f
|
|
2670
|
-
), z = (
|
|
2671
|
-
d && ("key" in
|
|
2670
|
+
), z = (A) => {
|
|
2671
|
+
d && ("key" in A ? (A.key === "Enter" || A.key === " ") && (A.preventDefault(), d()) : d());
|
|
2672
2672
|
};
|
|
2673
2673
|
return s ? /* @__PURE__ */ o(
|
|
2674
2674
|
"a",
|
|
2675
2675
|
{
|
|
2676
2676
|
href: s,
|
|
2677
2677
|
className: h(E, "block group"),
|
|
2678
|
-
onClick: d ? (
|
|
2679
|
-
|
|
2678
|
+
onClick: d ? (A) => {
|
|
2679
|
+
A.preventDefault(), z(A);
|
|
2680
2680
|
} : void 0,
|
|
2681
2681
|
children: /* @__PURE__ */ o(k, {})
|
|
2682
2682
|
}
|
|
@@ -2692,7 +2692,7 @@ const Er = {
|
|
|
2692
2692
|
children: /* @__PURE__ */ o(k, {})
|
|
2693
2693
|
}
|
|
2694
2694
|
) : /* @__PURE__ */ o("div", { className: E, children: /* @__PURE__ */ o(k, {}) });
|
|
2695
|
-
},
|
|
2695
|
+
}, Rr = I("grid gap-8", {
|
|
2696
2696
|
variants: {
|
|
2697
2697
|
columns: {
|
|
2698
2698
|
1: "grid-cols-1",
|
|
@@ -2710,7 +2710,7 @@ const Er = {
|
|
|
2710
2710
|
columns: 3,
|
|
2711
2711
|
spacing: "md"
|
|
2712
2712
|
}
|
|
2713
|
-
}),
|
|
2713
|
+
}), Wr = I("group transition-all duration-300", {
|
|
2714
2714
|
variants: {
|
|
2715
2715
|
variant: {
|
|
2716
2716
|
default: "text-center",
|
|
@@ -2729,7 +2729,7 @@ const Er = {
|
|
|
2729
2729
|
variant: "default",
|
|
2730
2730
|
animation: "hover"
|
|
2731
2731
|
}
|
|
2732
|
-
}),
|
|
2732
|
+
}), jr = I(
|
|
2733
2733
|
"flex items-center justify-center rounded-2xl mb-6 transition-all duration-300",
|
|
2734
2734
|
{
|
|
2735
2735
|
variants: {
|
|
@@ -2756,12 +2756,12 @@ const Er = {
|
|
|
2756
2756
|
position: "center"
|
|
2757
2757
|
}
|
|
2758
2758
|
}
|
|
2759
|
-
),
|
|
2759
|
+
), Dr = {
|
|
2760
2760
|
success: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",
|
|
2761
2761
|
info: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2762
2762
|
warning: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",
|
|
2763
2763
|
default: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2764
|
-
},
|
|
2764
|
+
}, ni = ({
|
|
2765
2765
|
className: t,
|
|
2766
2766
|
features: e,
|
|
2767
2767
|
columns: r = 3,
|
|
@@ -2798,9 +2798,9 @@ const Er = {
|
|
|
2798
2798
|
// red
|
|
2799
2799
|
{ from: "#06B6D4", to: "#0891B2" }
|
|
2800
2800
|
// cyan
|
|
2801
|
-
],
|
|
2801
|
+
], A = z[E % z.length];
|
|
2802
2802
|
return {
|
|
2803
|
-
background: `linear-gradient(135deg, ${
|
|
2803
|
+
background: `linear-gradient(135deg, ${A.from}, ${A.to})`
|
|
2804
2804
|
};
|
|
2805
2805
|
}
|
|
2806
2806
|
}, C = (k, E) => {
|
|
@@ -2808,7 +2808,7 @@ const Er = {
|
|
|
2808
2808
|
"div",
|
|
2809
2809
|
{
|
|
2810
2810
|
className: h(
|
|
2811
|
-
|
|
2811
|
+
Wr({ variant: n, animation: i })
|
|
2812
2812
|
),
|
|
2813
2813
|
onClick: () => y?.(k),
|
|
2814
2814
|
role: y ? "button" : void 0,
|
|
@@ -2819,7 +2819,7 @@ const Er = {
|
|
|
2819
2819
|
{
|
|
2820
2820
|
className: h(
|
|
2821
2821
|
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
|
|
2822
|
-
|
|
2822
|
+
Dr[k.badge.variant || "default"]
|
|
2823
2823
|
),
|
|
2824
2824
|
children: k.badge.text
|
|
2825
2825
|
}
|
|
@@ -2828,7 +2828,7 @@ const Er = {
|
|
|
2828
2828
|
"div",
|
|
2829
2829
|
{
|
|
2830
2830
|
className: h(
|
|
2831
|
-
|
|
2831
|
+
jr({
|
|
2832
2832
|
size: l,
|
|
2833
2833
|
style: s,
|
|
2834
2834
|
position: c
|
|
@@ -2899,7 +2899,7 @@ const Er = {
|
|
|
2899
2899
|
}
|
|
2900
2900
|
);
|
|
2901
2901
|
return p ? /* @__PURE__ */ o(
|
|
2902
|
-
|
|
2902
|
+
Z,
|
|
2903
2903
|
{
|
|
2904
2904
|
animation: "fade-in-up",
|
|
2905
2905
|
delay: f + E * b,
|
|
@@ -2908,14 +2908,14 @@ const Er = {
|
|
|
2908
2908
|
k.id || E
|
|
2909
2909
|
) : /* @__PURE__ */ o("div", { children: z }, k.id || E);
|
|
2910
2910
|
};
|
|
2911
|
-
return /* @__PURE__ */ o("div", { className: h(
|
|
2912
|
-
},
|
|
2911
|
+
return /* @__PURE__ */ o("div", { className: h(Rr({ columns: r, spacing: a }), t), children: e.map(C) });
|
|
2912
|
+
}, De = (t, e, r, a) => ({
|
|
2913
2913
|
icon: t,
|
|
2914
2914
|
title: e,
|
|
2915
2915
|
description: r,
|
|
2916
2916
|
...a
|
|
2917
|
-
}),
|
|
2918
|
-
|
|
2917
|
+
}), oi = (t) => [
|
|
2918
|
+
De(
|
|
2919
2919
|
/* @__PURE__ */ o(
|
|
2920
2920
|
"svg",
|
|
2921
2921
|
{
|
|
@@ -2937,7 +2937,7 @@ const Er = {
|
|
|
2937
2937
|
t?.passwordlessTitle || "Passwordless Security",
|
|
2938
2938
|
t?.passwordlessDescription || "Authenticate using your Web3 wallet - no passwords to remember or lose."
|
|
2939
2939
|
),
|
|
2940
|
-
|
|
2940
|
+
De(
|
|
2941
2941
|
/* @__PURE__ */ o(
|
|
2942
2942
|
"svg",
|
|
2943
2943
|
{
|
|
@@ -2959,7 +2959,7 @@ const Er = {
|
|
|
2959
2959
|
t?.encryptionTitle || "End-to-End Encryption",
|
|
2960
2960
|
t?.encryptionDescription || "Your emails are encrypted and only you can read them."
|
|
2961
2961
|
)
|
|
2962
|
-
],
|
|
2962
|
+
], ii = ({
|
|
2963
2963
|
badgeIcon: t,
|
|
2964
2964
|
badgeText: e,
|
|
2965
2965
|
badgeColor: r = "blue",
|
|
@@ -3000,7 +3000,7 @@ const Er = {
|
|
|
3000
3000
|
/* @__PURE__ */ o("p", { className: "text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-4xl mx-auto leading-relaxed", children: i }),
|
|
3001
3001
|
(l || s) && /* @__PURE__ */ m("div", { className: "flex flex-col sm:flex-row gap-4 justify-center mb-8", children: [
|
|
3002
3002
|
l && /* @__PURE__ */ o(
|
|
3003
|
-
|
|
3003
|
+
G,
|
|
3004
3004
|
{
|
|
3005
3005
|
size: "lg",
|
|
3006
3006
|
...l,
|
|
@@ -3009,7 +3009,7 @@ const Er = {
|
|
|
3009
3009
|
}
|
|
3010
3010
|
),
|
|
3011
3011
|
s && /* @__PURE__ */ o(
|
|
3012
|
-
|
|
3012
|
+
G,
|
|
3013
3013
|
{
|
|
3014
3014
|
variant: "outline",
|
|
3015
3015
|
size: "lg",
|
|
@@ -3021,7 +3021,7 @@ const Er = {
|
|
|
3021
3021
|
] }),
|
|
3022
3022
|
d
|
|
3023
3023
|
] }) });
|
|
3024
|
-
}, Br =
|
|
3024
|
+
}, Br = R.forwardRef(
|
|
3025
3025
|
({ className: t, type: e, ...r }, a) => /* @__PURE__ */ o(
|
|
3026
3026
|
"input",
|
|
3027
3027
|
{
|
|
@@ -3033,11 +3033,11 @@ const Er = {
|
|
|
3033
3033
|
)
|
|
3034
3034
|
);
|
|
3035
3035
|
Br.displayName = "Input";
|
|
3036
|
-
const
|
|
3036
|
+
const Or = I(
|
|
3037
3037
|
`${N.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
|
|
3038
|
-
), dt =
|
|
3038
|
+
), dt = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(tt, { ref: r, className: h(Or(), t), ...e }));
|
|
3039
3039
|
dt.displayName = tt.displayName;
|
|
3040
|
-
const
|
|
3040
|
+
const si = ({
|
|
3041
3041
|
title: t,
|
|
3042
3042
|
description: e,
|
|
3043
3043
|
metrics: r,
|
|
@@ -3093,7 +3093,7 @@ const ii = ({
|
|
|
3093
3093
|
);
|
|
3094
3094
|
}) })
|
|
3095
3095
|
] }) });
|
|
3096
|
-
},
|
|
3096
|
+
}, li = ({
|
|
3097
3097
|
title: t,
|
|
3098
3098
|
description: e,
|
|
3099
3099
|
steps: r,
|
|
@@ -3204,8 +3204,116 @@ const ii = ({
|
|
|
3204
3204
|
}
|
|
3205
3205
|
)
|
|
3206
3206
|
] }) });
|
|
3207
|
-
},
|
|
3208
|
-
|
|
3207
|
+
}, ci = ({
|
|
3208
|
+
children: t,
|
|
3209
|
+
onRefresh: e,
|
|
3210
|
+
disabled: r = !1,
|
|
3211
|
+
refreshingText: a = "Refreshing...",
|
|
3212
|
+
pullDownText: n = "Pull down to refresh",
|
|
3213
|
+
releaseText: i = "Release to refresh",
|
|
3214
|
+
threshold: l = 80,
|
|
3215
|
+
maxPullDistance: s = 120,
|
|
3216
|
+
className: c = ""
|
|
3217
|
+
}) => {
|
|
3218
|
+
const [d, g] = $(0), [p, f] = $(!1), [b, y] = $(!1), x = L(0), S = L(null);
|
|
3219
|
+
P(() => {
|
|
3220
|
+
const A = S.current;
|
|
3221
|
+
if (!A) return;
|
|
3222
|
+
const V = (W) => {
|
|
3223
|
+
if (r || p) return;
|
|
3224
|
+
A.scrollTop <= 0 && (x.current = W.touches[0].clientY, y(!0));
|
|
3225
|
+
}, H = (W) => {
|
|
3226
|
+
if (!b) return;
|
|
3227
|
+
const j = W.touches[0].clientY - x.current;
|
|
3228
|
+
if (j > 0 && A.scrollTop <= 0) {
|
|
3229
|
+
const me = Math.min(j / s, 1), ge = Math.min(
|
|
3230
|
+
j * (1 - me * 0.5),
|
|
3231
|
+
s
|
|
3232
|
+
);
|
|
3233
|
+
g(ge), j > 10 && W.preventDefault();
|
|
3234
|
+
}
|
|
3235
|
+
}, X = async () => {
|
|
3236
|
+
if (b)
|
|
3237
|
+
if (y(!1), d >= l && !p) {
|
|
3238
|
+
f(!0);
|
|
3239
|
+
try {
|
|
3240
|
+
await e();
|
|
3241
|
+
} catch (W) {
|
|
3242
|
+
console.error("Refresh error:", W);
|
|
3243
|
+
} finally {
|
|
3244
|
+
f(!1), g(0);
|
|
3245
|
+
}
|
|
3246
|
+
} else
|
|
3247
|
+
g(0);
|
|
3248
|
+
};
|
|
3249
|
+
return A.addEventListener("touchstart", V, {
|
|
3250
|
+
passive: !0
|
|
3251
|
+
}), A.addEventListener("touchmove", H, {
|
|
3252
|
+
passive: !1
|
|
3253
|
+
}), A.addEventListener("touchend", X), () => {
|
|
3254
|
+
A.removeEventListener("touchstart", V), A.removeEventListener("touchmove", H), A.removeEventListener("touchend", X);
|
|
3255
|
+
};
|
|
3256
|
+
}, [
|
|
3257
|
+
r,
|
|
3258
|
+
p,
|
|
3259
|
+
b,
|
|
3260
|
+
d,
|
|
3261
|
+
l,
|
|
3262
|
+
s,
|
|
3263
|
+
e
|
|
3264
|
+
]);
|
|
3265
|
+
const C = Math.min(d / l, 1), k = b || p, E = b ? d : p ? l : 0, z = () => p ? a : d >= l ? i : n;
|
|
3266
|
+
return /* @__PURE__ */ m(
|
|
3267
|
+
"div",
|
|
3268
|
+
{
|
|
3269
|
+
ref: S,
|
|
3270
|
+
className: `relative ${c}`,
|
|
3271
|
+
style: {
|
|
3272
|
+
height: "100%",
|
|
3273
|
+
overflowY: "auto",
|
|
3274
|
+
WebkitOverflowScrolling: "touch"
|
|
3275
|
+
// Smooth scrolling on iOS
|
|
3276
|
+
},
|
|
3277
|
+
children: [
|
|
3278
|
+
/* @__PURE__ */ o(
|
|
3279
|
+
"div",
|
|
3280
|
+
{
|
|
3281
|
+
className: "sticky top-0 left-0 right-0 flex items-center justify-center bg-gradient-to-b from-blue-50/90 to-transparent dark:from-blue-900/20 dark:to-transparent backdrop-blur-sm z-10 transition-all duration-300 ease-out",
|
|
3282
|
+
style: {
|
|
3283
|
+
height: `${E}px`,
|
|
3284
|
+
marginTop: b ? 0 : `-${E}px`,
|
|
3285
|
+
opacity: k ? 1 : 0,
|
|
3286
|
+
pointerEvents: "none"
|
|
3287
|
+
},
|
|
3288
|
+
children: /* @__PURE__ */ m("div", { className: "flex flex-col items-center justify-center gap-2", children: [
|
|
3289
|
+
/* @__PURE__ */ o(
|
|
3290
|
+
$t,
|
|
3291
|
+
{
|
|
3292
|
+
className: `w-6 h-6 text-blue-600 dark:text-blue-400 transition-transform duration-200 ${p ? "animate-spin" : ""}`,
|
|
3293
|
+
style: {
|
|
3294
|
+
transform: `rotate(${C * 360}deg)`
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
),
|
|
3298
|
+
d > 20 && /* @__PURE__ */ o("span", { className: "text-xs font-medium text-blue-600 dark:text-blue-400", children: z() })
|
|
3299
|
+
] })
|
|
3300
|
+
}
|
|
3301
|
+
),
|
|
3302
|
+
/* @__PURE__ */ o(
|
|
3303
|
+
"div",
|
|
3304
|
+
{
|
|
3305
|
+
style: {
|
|
3306
|
+
paddingTop: b ? `${d}px` : 0,
|
|
3307
|
+
transition: b ? "none" : "padding-top 200ms ease-out"
|
|
3308
|
+
},
|
|
3309
|
+
children: t
|
|
3310
|
+
}
|
|
3311
|
+
)
|
|
3312
|
+
]
|
|
3313
|
+
}
|
|
3314
|
+
);
|
|
3315
|
+
}, Be = T.Root, di = T.Group, Fr = T.Value, Ne = R.forwardRef(({ className: t, children: e, ...r }, a) => /* @__PURE__ */ m(
|
|
3316
|
+
T.Trigger,
|
|
3209
3317
|
{
|
|
3210
3318
|
ref: a,
|
|
3211
3319
|
className: h(
|
|
@@ -3215,13 +3323,13 @@ const ii = ({
|
|
|
3215
3323
|
...r,
|
|
3216
3324
|
children: [
|
|
3217
3325
|
e,
|
|
3218
|
-
/* @__PURE__ */ o(
|
|
3326
|
+
/* @__PURE__ */ o(T.Icon, { asChild: !0, children: /* @__PURE__ */ o(rt, { className: "h-4 w-4 opacity-50 ml-2 flex-shrink-0" }) })
|
|
3219
3327
|
]
|
|
3220
3328
|
}
|
|
3221
3329
|
));
|
|
3222
|
-
|
|
3223
|
-
const ut =
|
|
3224
|
-
|
|
3330
|
+
Ne.displayName = T.Trigger.displayName;
|
|
3331
|
+
const ut = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3332
|
+
T.ScrollUpButton,
|
|
3225
3333
|
{
|
|
3226
3334
|
ref: r,
|
|
3227
3335
|
className: h(
|
|
@@ -3229,12 +3337,12 @@ const ut = M.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
|
3229
3337
|
t
|
|
3230
3338
|
),
|
|
3231
3339
|
...e,
|
|
3232
|
-
children: /* @__PURE__ */ o(
|
|
3340
|
+
children: /* @__PURE__ */ o(Dt, { className: "h-4 w-4" })
|
|
3233
3341
|
}
|
|
3234
3342
|
));
|
|
3235
|
-
ut.displayName =
|
|
3236
|
-
const mt =
|
|
3237
|
-
|
|
3343
|
+
ut.displayName = T.ScrollUpButton.displayName;
|
|
3344
|
+
const mt = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3345
|
+
T.ScrollDownButton,
|
|
3238
3346
|
{
|
|
3239
3347
|
ref: r,
|
|
3240
3348
|
className: h(
|
|
@@ -3245,9 +3353,9 @@ const mt = M.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
|
3245
3353
|
children: /* @__PURE__ */ o(rt, { className: "h-4 w-4" })
|
|
3246
3354
|
}
|
|
3247
3355
|
));
|
|
3248
|
-
mt.displayName =
|
|
3249
|
-
const
|
|
3250
|
-
|
|
3356
|
+
mt.displayName = T.ScrollDownButton.displayName;
|
|
3357
|
+
const Ee = R.forwardRef(({ className: t, children: e, position: r = "popper", ...a }, n) => /* @__PURE__ */ o(T.Portal, { children: /* @__PURE__ */ m(
|
|
3358
|
+
T.Content,
|
|
3251
3359
|
{
|
|
3252
3360
|
ref: n,
|
|
3253
3361
|
className: h(
|
|
@@ -3261,7 +3369,7 @@ const Ce = M.forwardRef(({ className: t, children: e, position: r = "popper", ..
|
|
|
3261
3369
|
children: [
|
|
3262
3370
|
/* @__PURE__ */ o(ut, {}),
|
|
3263
3371
|
/* @__PURE__ */ o(
|
|
3264
|
-
|
|
3372
|
+
T.Viewport,
|
|
3265
3373
|
{
|
|
3266
3374
|
className: h(
|
|
3267
3375
|
w.overlays.dropdown.itemContainer(),
|
|
@@ -3274,18 +3382,18 @@ const Ce = M.forwardRef(({ className: t, children: e, position: r = "popper", ..
|
|
|
3274
3382
|
]
|
|
3275
3383
|
}
|
|
3276
3384
|
) }));
|
|
3277
|
-
|
|
3278
|
-
const
|
|
3279
|
-
|
|
3385
|
+
Ee.displayName = T.Content.displayName;
|
|
3386
|
+
const Vr = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3387
|
+
T.Label,
|
|
3280
3388
|
{
|
|
3281
3389
|
ref: r,
|
|
3282
3390
|
className: h(w.overlays.dropdown.header(), "py-1.5", t),
|
|
3283
3391
|
...e
|
|
3284
3392
|
}
|
|
3285
3393
|
));
|
|
3286
|
-
|
|
3287
|
-
const
|
|
3288
|
-
|
|
3394
|
+
Vr.displayName = T.Label.displayName;
|
|
3395
|
+
const $e = R.forwardRef(({ className: t, children: e, ...r }, a) => /* @__PURE__ */ m(
|
|
3396
|
+
T.Item,
|
|
3289
3397
|
{
|
|
3290
3398
|
ref: a,
|
|
3291
3399
|
className: h(
|
|
@@ -3295,21 +3403,21 @@ const Se = M.forwardRef(({ className: t, children: e, ...r }, a) => /* @__PURE__
|
|
|
3295
3403
|
),
|
|
3296
3404
|
...r,
|
|
3297
3405
|
children: [
|
|
3298
|
-
/* @__PURE__ */ o(
|
|
3299
|
-
/* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
3406
|
+
/* @__PURE__ */ o(T.ItemText, { children: e }),
|
|
3407
|
+
/* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(T.ItemIndicator, { children: /* @__PURE__ */ o(Bt, { className: "h-4 w-4" }) }) })
|
|
3300
3408
|
]
|
|
3301
3409
|
}
|
|
3302
3410
|
));
|
|
3303
|
-
|
|
3304
|
-
const
|
|
3305
|
-
|
|
3411
|
+
$e.displayName = T.Item.displayName;
|
|
3412
|
+
const _r = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3413
|
+
T.Separator,
|
|
3306
3414
|
{
|
|
3307
3415
|
ref: r,
|
|
3308
3416
|
className: h("my-1 h-px bg-gray-200 dark:bg-gray-700", t),
|
|
3309
3417
|
...e
|
|
3310
3418
|
}
|
|
3311
3419
|
));
|
|
3312
|
-
|
|
3420
|
+
_r.displayName = T.Separator.displayName;
|
|
3313
3421
|
const Oe = ({
|
|
3314
3422
|
size: t = "default",
|
|
3315
3423
|
variant: e = "default",
|
|
@@ -3338,7 +3446,7 @@ const Oe = ({
|
|
|
3338
3446
|
"aria-label": a,
|
|
3339
3447
|
children: /* @__PURE__ */ o("span", { className: "sr-only", children: n })
|
|
3340
3448
|
}
|
|
3341
|
-
),
|
|
3449
|
+
), qr = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3342
3450
|
at,
|
|
3343
3451
|
{
|
|
3344
3452
|
className: h(
|
|
@@ -3348,7 +3456,7 @@ const Oe = ({
|
|
|
3348
3456
|
...e,
|
|
3349
3457
|
ref: r,
|
|
3350
3458
|
children: /* @__PURE__ */ o(
|
|
3351
|
-
|
|
3459
|
+
Ot,
|
|
3352
3460
|
{
|
|
3353
3461
|
className: h(
|
|
3354
3462
|
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
@@ -3357,8 +3465,8 @@ const Oe = ({
|
|
|
3357
3465
|
)
|
|
3358
3466
|
}
|
|
3359
3467
|
));
|
|
3360
|
-
|
|
3361
|
-
const
|
|
3468
|
+
qr.displayName = at.displayName;
|
|
3469
|
+
const ui = ({
|
|
3362
3470
|
title: t,
|
|
3363
3471
|
onAdd: e,
|
|
3364
3472
|
addButtonTooltip: r,
|
|
@@ -3402,7 +3510,7 @@ const ci = ({
|
|
|
3402
3510
|
] })
|
|
3403
3511
|
] })
|
|
3404
3512
|
}
|
|
3405
|
-
),
|
|
3513
|
+
), Hr = ({
|
|
3406
3514
|
subsections: t,
|
|
3407
3515
|
isExpanded: e,
|
|
3408
3516
|
selectedSubsection: r,
|
|
@@ -3431,7 +3539,7 @@ const ci = ({
|
|
|
3431
3539
|
)) })
|
|
3432
3540
|
}
|
|
3433
3541
|
);
|
|
3434
|
-
},
|
|
3542
|
+
}, mi = ({
|
|
3435
3543
|
sections: t,
|
|
3436
3544
|
selectedSection: e,
|
|
3437
3545
|
selectedSubsection: r,
|
|
@@ -3456,7 +3564,7 @@ const ci = ({
|
|
|
3456
3564
|
onClick: () => l(c.id),
|
|
3457
3565
|
className: "p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
3458
3566
|
children: /* @__PURE__ */ o(
|
|
3459
|
-
|
|
3567
|
+
Ie,
|
|
3460
3568
|
{
|
|
3461
3569
|
className: `h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out ${a.includes(c.id) ? "rotate-90" : "rotate-0"}`
|
|
3462
3570
|
}
|
|
@@ -3465,7 +3573,7 @@ const ci = ({
|
|
|
3465
3573
|
)
|
|
3466
3574
|
] }),
|
|
3467
3575
|
c.subsections && /* @__PURE__ */ o(
|
|
3468
|
-
|
|
3576
|
+
Hr,
|
|
3469
3577
|
{
|
|
3470
3578
|
subsections: c.subsections,
|
|
3471
3579
|
isExpanded: a.includes(c.id),
|
|
@@ -3474,7 +3582,7 @@ const ci = ({
|
|
|
3474
3582
|
onSubsectionSelect: i
|
|
3475
3583
|
}
|
|
3476
3584
|
)
|
|
3477
|
-
] }, c.id)) }),
|
|
3585
|
+
] }, c.id)) }), Ur = (t) => {
|
|
3478
3586
|
switch (t) {
|
|
3479
3587
|
case "verified":
|
|
3480
3588
|
case "success":
|
|
@@ -3490,7 +3598,7 @@ const ci = ({
|
|
|
3490
3598
|
default:
|
|
3491
3599
|
return "bg-gray-500";
|
|
3492
3600
|
}
|
|
3493
|
-
},
|
|
3601
|
+
}, Gr = (t) => {
|
|
3494
3602
|
switch (t) {
|
|
3495
3603
|
case "sm":
|
|
3496
3604
|
return "w-1.5 h-1.5";
|
|
@@ -3499,7 +3607,7 @@ const ci = ({
|
|
|
3499
3607
|
default:
|
|
3500
3608
|
return "w-2 h-2";
|
|
3501
3609
|
}
|
|
3502
|
-
},
|
|
3610
|
+
}, gi = ({
|
|
3503
3611
|
status: t,
|
|
3504
3612
|
label: e,
|
|
3505
3613
|
showDot: r = !0,
|
|
@@ -3524,7 +3632,7 @@ const ci = ({
|
|
|
3524
3632
|
pending: "primary"
|
|
3525
3633
|
}[g] || "default", x = f[p];
|
|
3526
3634
|
return x === "default" ? w.badge[y]() : w.badge[x](y);
|
|
3527
|
-
})(t, a), c =
|
|
3635
|
+
})(t, a), c = Ur(t), d = Gr(a);
|
|
3528
3636
|
return /* @__PURE__ */ m("span", { className: s, children: [
|
|
3529
3637
|
r && /* @__PURE__ */ o(
|
|
3530
3638
|
"span",
|
|
@@ -3534,7 +3642,7 @@ const ci = ({
|
|
|
3534
3642
|
),
|
|
3535
3643
|
i
|
|
3536
3644
|
] });
|
|
3537
|
-
},
|
|
3645
|
+
}, Kr = ({
|
|
3538
3646
|
chainType: t,
|
|
3539
3647
|
size: e = "md"
|
|
3540
3648
|
}) => {
|
|
@@ -3544,10 +3652,10 @@ const ci = ({
|
|
|
3544
3652
|
const l = t === "solana" ? "solana" : "ethereum";
|
|
3545
3653
|
return n === "default" ? w.badge[l]() : w.badge[n](l);
|
|
3546
3654
|
})(), children: r });
|
|
3547
|
-
},
|
|
3655
|
+
}, Yr = (t) => t ? t.length <= 10 ? t : `${t.slice(0, 6)}...${t.slice(-4)}` : "", gt = ({ type: t, addressType: e }) => {
|
|
3548
3656
|
if (t === "primary")
|
|
3549
3657
|
return /* @__PURE__ */ o(
|
|
3550
|
-
|
|
3658
|
+
Kr,
|
|
3551
3659
|
{
|
|
3552
3660
|
chainType: e === "solana" ? "solana" : "evm",
|
|
3553
3661
|
size: "sm"
|
|
@@ -3609,7 +3717,7 @@ const ci = ({
|
|
|
3609
3717
|
)) })
|
|
3610
3718
|
}
|
|
3611
3719
|
);
|
|
3612
|
-
},
|
|
3720
|
+
}, pi = ({
|
|
3613
3721
|
walletGroups: t,
|
|
3614
3722
|
selectedAccount: e,
|
|
3615
3723
|
expandedWallets: r,
|
|
@@ -3630,7 +3738,7 @@ const ci = ({
|
|
|
3630
3738
|
style: s.customColor ? { backgroundColor: s.customColor } : void 0,
|
|
3631
3739
|
children: [
|
|
3632
3740
|
/* @__PURE__ */ m("div", { className: "flex items-center flex-1 min-w-0", children: [
|
|
3633
|
-
/* @__PURE__ */ o("span", { className: "truncate flex-1", children:
|
|
3741
|
+
/* @__PURE__ */ o("span", { className: "truncate flex-1", children: Yr(s.walletAddress) }),
|
|
3634
3742
|
/* @__PURE__ */ o(
|
|
3635
3743
|
gt,
|
|
3636
3744
|
{
|
|
@@ -3652,7 +3760,7 @@ const ci = ({
|
|
|
3652
3760
|
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), c.stopPropagation(), n(s.walletAddress));
|
|
3653
3761
|
},
|
|
3654
3762
|
children: /* @__PURE__ */ o(
|
|
3655
|
-
|
|
3763
|
+
Ie,
|
|
3656
3764
|
{
|
|
3657
3765
|
className: h(
|
|
3658
3766
|
"h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out",
|
|
@@ -3675,7 +3783,7 @@ const ci = ({
|
|
|
3675
3783
|
onAccountSettings: i
|
|
3676
3784
|
}
|
|
3677
3785
|
)
|
|
3678
|
-
] }, s.walletAddress)) }),
|
|
3786
|
+
] }, s.walletAddress)) }), hi = Ft, Zr = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3679
3787
|
nt,
|
|
3680
3788
|
{
|
|
3681
3789
|
ref: r,
|
|
@@ -3683,8 +3791,8 @@ const ci = ({
|
|
|
3683
3791
|
...e
|
|
3684
3792
|
}
|
|
3685
3793
|
));
|
|
3686
|
-
|
|
3687
|
-
const
|
|
3794
|
+
Zr.displayName = nt.displayName;
|
|
3795
|
+
const Jr = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3688
3796
|
ot,
|
|
3689
3797
|
{
|
|
3690
3798
|
ref: r,
|
|
@@ -3692,8 +3800,8 @@ const Zr = M.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
|
3692
3800
|
...e
|
|
3693
3801
|
}
|
|
3694
3802
|
));
|
|
3695
|
-
|
|
3696
|
-
const
|
|
3803
|
+
Jr.displayName = ot.displayName;
|
|
3804
|
+
const Xr = R.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
3697
3805
|
it,
|
|
3698
3806
|
{
|
|
3699
3807
|
ref: r,
|
|
@@ -3701,8 +3809,8 @@ const Jr = M.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
|
3701
3809
|
...e
|
|
3702
3810
|
}
|
|
3703
3811
|
));
|
|
3704
|
-
|
|
3705
|
-
const
|
|
3812
|
+
Xr.displayName = it.displayName;
|
|
3813
|
+
const fi = ({
|
|
3706
3814
|
title: t,
|
|
3707
3815
|
description: e,
|
|
3708
3816
|
useCases: r,
|
|
@@ -3721,7 +3829,7 @@ const pi = ({
|
|
|
3721
3829
|
3: "grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
|
|
3722
3830
|
4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
|
|
3723
3831
|
};
|
|
3724
|
-
return /* @__PURE__ */ o("section", { className: h(
|
|
3832
|
+
return /* @__PURE__ */ o("section", { className: h(wr.section.gradient, n), children: /* @__PURE__ */ m("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
3725
3833
|
(t || e) && /* @__PURE__ */ m("div", { className: "text-center mb-12", children: [
|
|
3726
3834
|
t && /* @__PURE__ */ o("h2", { className: "text-3xl font-bold text-gray-900 dark:text-white mb-4", children: t }),
|
|
3727
3835
|
e && /* @__PURE__ */ o("p", { className: "text-xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto", children: e })
|
|
@@ -3757,29 +3865,29 @@ const pi = ({
|
|
|
3757
3865
|
);
|
|
3758
3866
|
}) })
|
|
3759
3867
|
] }) });
|
|
3760
|
-
},
|
|
3868
|
+
}, ea = {
|
|
3761
3869
|
row: "flex-row",
|
|
3762
3870
|
"row-reverse": "flex-row-reverse",
|
|
3763
3871
|
col: "flex-col",
|
|
3764
3872
|
"col-reverse": "flex-col-reverse"
|
|
3765
|
-
},
|
|
3873
|
+
}, ta = {
|
|
3766
3874
|
start: "items-start",
|
|
3767
3875
|
center: "items-center",
|
|
3768
3876
|
end: "items-end",
|
|
3769
3877
|
stretch: "items-stretch",
|
|
3770
3878
|
baseline: "items-baseline"
|
|
3771
|
-
},
|
|
3879
|
+
}, ra = {
|
|
3772
3880
|
start: "justify-start",
|
|
3773
3881
|
center: "justify-center",
|
|
3774
3882
|
end: "justify-end",
|
|
3775
3883
|
between: "justify-between",
|
|
3776
3884
|
around: "justify-around",
|
|
3777
3885
|
evenly: "justify-evenly"
|
|
3778
|
-
},
|
|
3886
|
+
}, aa = {
|
|
3779
3887
|
wrap: "flex-wrap",
|
|
3780
3888
|
"wrap-reverse": "flex-wrap-reverse",
|
|
3781
3889
|
nowrap: "flex-nowrap"
|
|
3782
|
-
},
|
|
3890
|
+
}, na = {
|
|
3783
3891
|
0: "gap-0",
|
|
3784
3892
|
1: "gap-1",
|
|
3785
3893
|
2: "gap-2",
|
|
@@ -3790,7 +3898,7 @@ const pi = ({
|
|
|
3790
3898
|
8: "gap-8",
|
|
3791
3899
|
10: "gap-10",
|
|
3792
3900
|
12: "gap-12"
|
|
3793
|
-
},
|
|
3901
|
+
}, bi = ({
|
|
3794
3902
|
children: t,
|
|
3795
3903
|
direction: e = "row",
|
|
3796
3904
|
align: r = "start",
|
|
@@ -3803,16 +3911,16 @@ const pi = ({
|
|
|
3803
3911
|
{
|
|
3804
3912
|
className: h(
|
|
3805
3913
|
"flex",
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3914
|
+
ea[e],
|
|
3915
|
+
ta[r],
|
|
3916
|
+
ra[a],
|
|
3917
|
+
aa[n],
|
|
3918
|
+
na[i],
|
|
3811
3919
|
l
|
|
3812
3920
|
),
|
|
3813
3921
|
children: t
|
|
3814
3922
|
}
|
|
3815
|
-
),
|
|
3923
|
+
), oa = I("min-h-screen flex flex-col", {
|
|
3816
3924
|
variants: {
|
|
3817
3925
|
background: {
|
|
3818
3926
|
default: "bg-gray-50 dark:bg-gray-900",
|
|
@@ -3830,7 +3938,7 @@ const pi = ({
|
|
|
3830
3938
|
background: "default",
|
|
3831
3939
|
overflow: "visible"
|
|
3832
3940
|
}
|
|
3833
|
-
}),
|
|
3941
|
+
}), yi = ({
|
|
3834
3942
|
children: t,
|
|
3835
3943
|
background: e = "default",
|
|
3836
3944
|
overflow: r = "visible",
|
|
@@ -3838,10 +3946,10 @@ const pi = ({
|
|
|
3838
3946
|
}) => /* @__PURE__ */ o(
|
|
3839
3947
|
"div",
|
|
3840
3948
|
{
|
|
3841
|
-
className: h(
|
|
3949
|
+
className: h(oa({ background: e, overflow: r }), a),
|
|
3842
3950
|
children: t
|
|
3843
3951
|
}
|
|
3844
|
-
),
|
|
3952
|
+
), ia = I("", {
|
|
3845
3953
|
variants: {
|
|
3846
3954
|
variant: {
|
|
3847
3955
|
default: "",
|
|
@@ -3888,7 +3996,7 @@ const pi = ({
|
|
|
3888
3996
|
spacing: "3xl",
|
|
3889
3997
|
background: "none"
|
|
3890
3998
|
}
|
|
3891
|
-
}),
|
|
3999
|
+
}), xi = ({
|
|
3892
4000
|
children: t,
|
|
3893
4001
|
variant: e = "default",
|
|
3894
4002
|
spacing: r = "3xl",
|
|
@@ -3901,12 +4009,12 @@ const pi = ({
|
|
|
3901
4009
|
{
|
|
3902
4010
|
id: l,
|
|
3903
4011
|
className: h(
|
|
3904
|
-
|
|
4012
|
+
ia({ variant: e, spacing: r, background: a }),
|
|
3905
4013
|
n
|
|
3906
4014
|
)
|
|
3907
4015
|
},
|
|
3908
4016
|
t
|
|
3909
|
-
),
|
|
4017
|
+
), sa = ({
|
|
3910
4018
|
icon: t,
|
|
3911
4019
|
title: e = "No data",
|
|
3912
4020
|
description: r,
|
|
@@ -3935,7 +4043,7 @@ const pi = ({
|
|
|
3935
4043
|
a && /* @__PURE__ */ o("div", { className: "mt-4", children: a })
|
|
3936
4044
|
]
|
|
3937
4045
|
}
|
|
3938
|
-
),
|
|
4046
|
+
), vi = ({
|
|
3939
4047
|
message: t = "Loading...",
|
|
3940
4048
|
size: e = "default",
|
|
3941
4049
|
fullScreen: r = !1,
|
|
@@ -3963,11 +4071,11 @@ const pi = ({
|
|
|
3963
4071
|
/* @__PURE__ */ o(Oe, { size: l.spinner, variant: a, className: "mb-4" }),
|
|
3964
4072
|
t && /* @__PURE__ */ o("p", { className: "text-center text-gray-600 dark:text-gray-400 max-w-sm", children: t })
|
|
3965
4073
|
] }) }) : c;
|
|
3966
|
-
},
|
|
4074
|
+
}, wi = ({
|
|
3967
4075
|
title: t,
|
|
3968
4076
|
subtext: e,
|
|
3969
4077
|
className: r
|
|
3970
|
-
}) => /* @__PURE__ */ o(
|
|
4078
|
+
}) => /* @__PURE__ */ o(sa, { title: t, description: e, className: r }), pt = ({
|
|
3971
4079
|
label: t,
|
|
3972
4080
|
value: e,
|
|
3973
4081
|
onChange: r,
|
|
@@ -4019,13 +4127,13 @@ const pi = ({
|
|
|
4019
4127
|
onClick: e,
|
|
4020
4128
|
className: "flex items-center text-sm text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 mb-2",
|
|
4021
4129
|
children: [
|
|
4022
|
-
t ? /* @__PURE__ */ o(
|
|
4130
|
+
t ? /* @__PURE__ */ o(At, { className: "h-4 w-4 mr-1" }) : /* @__PURE__ */ o(It, { className: "h-4 w-4 mr-1" }),
|
|
4023
4131
|
t ? a : r
|
|
4024
4132
|
]
|
|
4025
4133
|
}
|
|
4026
4134
|
),
|
|
4027
4135
|
t && /* @__PURE__ */ o(pt, { ...n })
|
|
4028
|
-
] }),
|
|
4136
|
+
] }), ki = ({
|
|
4029
4137
|
to: t,
|
|
4030
4138
|
onToChange: e,
|
|
4031
4139
|
cc: r = "",
|
|
@@ -4095,7 +4203,7 @@ const pi = ({
|
|
|
4095
4203
|
}
|
|
4096
4204
|
)
|
|
4097
4205
|
] });
|
|
4098
|
-
},
|
|
4206
|
+
}, Le = ({
|
|
4099
4207
|
label: t,
|
|
4100
4208
|
required: e = !1,
|
|
4101
4209
|
error: r,
|
|
@@ -4124,7 +4232,7 @@ const pi = ({
|
|
|
4124
4232
|
}
|
|
4125
4233
|
),
|
|
4126
4234
|
a && !r && /* @__PURE__ */ m("div", { className: "mt-1 flex items-start", children: [
|
|
4127
|
-
/* @__PURE__ */ o(
|
|
4235
|
+
/* @__PURE__ */ o(he, { className: "h-4 w-4 text-gray-400 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4128
4236
|
/* @__PURE__ */ o("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: a })
|
|
4129
4237
|
] })
|
|
4130
4238
|
] }),
|
|
@@ -4135,7 +4243,7 @@ const pi = ({
|
|
|
4135
4243
|
children: [
|
|
4136
4244
|
/* @__PURE__ */ o("div", { className: r ? "relative" : "", children: n }),
|
|
4137
4245
|
r && /* @__PURE__ */ m("div", { className: "mt-1 flex items-start", children: [
|
|
4138
|
-
/* @__PURE__ */ o(
|
|
4246
|
+
/* @__PURE__ */ o(Tt, { className: "h-4 w-4 text-red-500 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4139
4247
|
/* @__PURE__ */ o("p", { className: "text-xs text-red-600 dark:text-red-400", children: r })
|
|
4140
4248
|
] })
|
|
4141
4249
|
]
|
|
@@ -4144,7 +4252,7 @@ const pi = ({
|
|
|
4144
4252
|
]
|
|
4145
4253
|
}
|
|
4146
4254
|
);
|
|
4147
|
-
},
|
|
4255
|
+
}, Ci = ({
|
|
4148
4256
|
label: t,
|
|
4149
4257
|
value: e,
|
|
4150
4258
|
onChange: r,
|
|
@@ -4156,7 +4264,7 @@ const pi = ({
|
|
|
4156
4264
|
layout: c = "vertical",
|
|
4157
4265
|
className: d = ""
|
|
4158
4266
|
}) => /* @__PURE__ */ o(
|
|
4159
|
-
|
|
4267
|
+
Le,
|
|
4160
4268
|
{
|
|
4161
4269
|
label: t,
|
|
4162
4270
|
required: n,
|
|
@@ -4181,7 +4289,7 @@ const pi = ({
|
|
|
4181
4289
|
}
|
|
4182
4290
|
)
|
|
4183
4291
|
}
|
|
4184
|
-
),
|
|
4292
|
+
), Si = ({
|
|
4185
4293
|
label: t,
|
|
4186
4294
|
value: e,
|
|
4187
4295
|
onChange: r,
|
|
@@ -4193,7 +4301,7 @@ const pi = ({
|
|
|
4193
4301
|
layout: c = "vertical",
|
|
4194
4302
|
className: d = ""
|
|
4195
4303
|
}) => /* @__PURE__ */ o(
|
|
4196
|
-
|
|
4304
|
+
Le,
|
|
4197
4305
|
{
|
|
4198
4306
|
label: t,
|
|
4199
4307
|
required: n,
|
|
@@ -4218,7 +4326,7 @@ const pi = ({
|
|
|
4218
4326
|
}
|
|
4219
4327
|
)
|
|
4220
4328
|
}
|
|
4221
|
-
),
|
|
4329
|
+
), Ni = ({
|
|
4222
4330
|
label: t,
|
|
4223
4331
|
value: e,
|
|
4224
4332
|
onChange: r,
|
|
@@ -4230,7 +4338,7 @@ const pi = ({
|
|
|
4230
4338
|
layout: c = "vertical",
|
|
4231
4339
|
className: d = ""
|
|
4232
4340
|
}) => /* @__PURE__ */ o(
|
|
4233
|
-
|
|
4341
|
+
Le,
|
|
4234
4342
|
{
|
|
4235
4343
|
label: t,
|
|
4236
4344
|
required: n,
|
|
@@ -4265,18 +4373,18 @@ const pi = ({
|
|
|
4265
4373
|
}
|
|
4266
4374
|
)
|
|
4267
4375
|
}
|
|
4268
|
-
),
|
|
4376
|
+
), la = {
|
|
4269
4377
|
success: "bg-green-500",
|
|
4270
4378
|
error: "bg-red-500",
|
|
4271
4379
|
warning: "bg-yellow-500",
|
|
4272
4380
|
info: "bg-blue-500",
|
|
4273
4381
|
neutral: "bg-gray-500"
|
|
4274
|
-
},
|
|
4382
|
+
}, ca = {
|
|
4275
4383
|
xs: "w-1.5 h-1.5",
|
|
4276
4384
|
sm: "w-2 h-2",
|
|
4277
4385
|
md: "w-3 h-3",
|
|
4278
4386
|
lg: "w-4 h-4"
|
|
4279
|
-
},
|
|
4387
|
+
}, Ei = ({
|
|
4280
4388
|
status: t,
|
|
4281
4389
|
size: e = "sm",
|
|
4282
4390
|
pulse: r = !1,
|
|
@@ -4286,13 +4394,13 @@ const pi = ({
|
|
|
4286
4394
|
{
|
|
4287
4395
|
className: h(
|
|
4288
4396
|
"rounded-full flex-shrink-0",
|
|
4289
|
-
|
|
4290
|
-
|
|
4397
|
+
la[t],
|
|
4398
|
+
ca[e],
|
|
4291
4399
|
r && "animate-pulse",
|
|
4292
4400
|
a
|
|
4293
4401
|
)
|
|
4294
4402
|
}
|
|
4295
|
-
),
|
|
4403
|
+
), da = {
|
|
4296
4404
|
default: {
|
|
4297
4405
|
container: "bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",
|
|
4298
4406
|
icon: "text-blue-600"
|
|
@@ -4309,7 +4417,7 @@ const pi = ({
|
|
|
4309
4417
|
container: "bg-white/20 border border-white/30 text-white backdrop-blur-sm",
|
|
4310
4418
|
icon: "text-white"
|
|
4311
4419
|
}
|
|
4312
|
-
},
|
|
4420
|
+
}, ua = {
|
|
4313
4421
|
sm: {
|
|
4314
4422
|
container: "px-6 py-3",
|
|
4315
4423
|
icon: "h-5 w-5 mr-2",
|
|
@@ -4325,14 +4433,14 @@ const pi = ({
|
|
|
4325
4433
|
icon: "h-5 w-5 mr-2",
|
|
4326
4434
|
text: "font-semibold"
|
|
4327
4435
|
}
|
|
4328
|
-
},
|
|
4436
|
+
}, $i = ({
|
|
4329
4437
|
icon: t,
|
|
4330
4438
|
text: e,
|
|
4331
4439
|
variant: r = "default",
|
|
4332
4440
|
size: a = "md",
|
|
4333
4441
|
className: n
|
|
4334
4442
|
}) => {
|
|
4335
|
-
const i =
|
|
4443
|
+
const i = da[r], l = ua[a];
|
|
4336
4444
|
return /* @__PURE__ */ m(
|
|
4337
4445
|
"div",
|
|
4338
4446
|
{
|
|
@@ -4354,7 +4462,7 @@ const pi = ({
|
|
|
4354
4462
|
]
|
|
4355
4463
|
}
|
|
4356
4464
|
);
|
|
4357
|
-
},
|
|
4465
|
+
}, ma = I("", {
|
|
4358
4466
|
variants: {
|
|
4359
4467
|
variant: {
|
|
4360
4468
|
hero: N.heading.display.hero(),
|
|
@@ -4386,7 +4494,7 @@ const pi = ({
|
|
|
4386
4494
|
align: "left",
|
|
4387
4495
|
color: "default"
|
|
4388
4496
|
}
|
|
4389
|
-
}),
|
|
4497
|
+
}), Ai = ({
|
|
4390
4498
|
children: t,
|
|
4391
4499
|
variant: e = "h1",
|
|
4392
4500
|
responsive: r = !0,
|
|
@@ -4398,12 +4506,12 @@ const pi = ({
|
|
|
4398
4506
|
l || (e === "hero" || e === "display" || e === "h1" ? "h1" : e === "h2" ? "h2" : "h3"),
|
|
4399
4507
|
{
|
|
4400
4508
|
className: h(
|
|
4401
|
-
|
|
4509
|
+
ma({ variant: e, responsive: r, align: a, color: n }),
|
|
4402
4510
|
i
|
|
4403
4511
|
),
|
|
4404
4512
|
children: t
|
|
4405
4513
|
}
|
|
4406
|
-
),
|
|
4514
|
+
), ga = I("", {
|
|
4407
4515
|
variants: {
|
|
4408
4516
|
variant: {
|
|
4409
4517
|
h2: N.heading.h2(),
|
|
@@ -4430,7 +4538,7 @@ const pi = ({
|
|
|
4430
4538
|
spacing: "md",
|
|
4431
4539
|
align: "left"
|
|
4432
4540
|
}
|
|
4433
|
-
}),
|
|
4541
|
+
}), Ii = ({
|
|
4434
4542
|
children: t,
|
|
4435
4543
|
variant: e = "h2",
|
|
4436
4544
|
spacing: r = "md",
|
|
@@ -4443,13 +4551,13 @@ const pi = ({
|
|
|
4443
4551
|
l,
|
|
4444
4552
|
{
|
|
4445
4553
|
className: h(
|
|
4446
|
-
|
|
4554
|
+
ga({ variant: e, spacing: r, align: a }),
|
|
4447
4555
|
n
|
|
4448
4556
|
)
|
|
4449
4557
|
},
|
|
4450
4558
|
t
|
|
4451
4559
|
);
|
|
4452
|
-
},
|
|
4560
|
+
}, pa = I("", {
|
|
4453
4561
|
variants: {
|
|
4454
4562
|
variant: {
|
|
4455
4563
|
body: N.body.md(),
|
|
@@ -4475,7 +4583,7 @@ const pi = ({
|
|
|
4475
4583
|
color: "default",
|
|
4476
4584
|
align: "left"
|
|
4477
4585
|
}
|
|
4478
|
-
}),
|
|
4586
|
+
}), Ti = ({
|
|
4479
4587
|
children: t,
|
|
4480
4588
|
variant: e = "body",
|
|
4481
4589
|
color: r = "default",
|
|
@@ -4484,9 +4592,9 @@ const pi = ({
|
|
|
4484
4592
|
as: i = "p"
|
|
4485
4593
|
}) => v.createElement(
|
|
4486
4594
|
i,
|
|
4487
|
-
{ className: h(
|
|
4595
|
+
{ className: h(pa({ variant: e, color: r, align: a }), n) },
|
|
4488
4596
|
t
|
|
4489
|
-
),
|
|
4597
|
+
), ha = I(N.link.default(), {
|
|
4490
4598
|
variants: {
|
|
4491
4599
|
variant: {
|
|
4492
4600
|
default: N.link.default(),
|
|
@@ -4503,7 +4611,7 @@ const pi = ({
|
|
|
4503
4611
|
variant: "default",
|
|
4504
4612
|
external: !1
|
|
4505
4613
|
}
|
|
4506
|
-
}),
|
|
4614
|
+
}), Pi = ({
|
|
4507
4615
|
children: t,
|
|
4508
4616
|
href: e,
|
|
4509
4617
|
variant: r = "default",
|
|
@@ -4517,7 +4625,7 @@ const pi = ({
|
|
|
4517
4625
|
href: e,
|
|
4518
4626
|
target: i || (a ? "_blank" : void 0),
|
|
4519
4627
|
rel: l || (a ? "noopener noreferrer" : void 0),
|
|
4520
|
-
className: h(
|
|
4628
|
+
className: h(ha({ variant: r, external: a }), n),
|
|
4521
4629
|
children: [
|
|
4522
4630
|
t,
|
|
4523
4631
|
a && /* @__PURE__ */ o(
|
|
@@ -4540,7 +4648,7 @@ const pi = ({
|
|
|
4540
4648
|
)
|
|
4541
4649
|
]
|
|
4542
4650
|
}
|
|
4543
|
-
),
|
|
4651
|
+
), ke = I(
|
|
4544
4652
|
"transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 rounded-sm",
|
|
4545
4653
|
{
|
|
4546
4654
|
variants: {
|
|
@@ -4567,14 +4675,14 @@ const pi = ({
|
|
|
4567
4675
|
size: "default"
|
|
4568
4676
|
}
|
|
4569
4677
|
}
|
|
4570
|
-
), ht =
|
|
4678
|
+
), ht = R.forwardRef(
|
|
4571
4679
|
({ className: t, variant: e, size: r, to: a, href: n, external: i, children: l, ...s }, c) => {
|
|
4572
4680
|
const d = a || n;
|
|
4573
4681
|
return d ? i || d.startsWith("http") || d.startsWith("mailto:") ? /* @__PURE__ */ o(
|
|
4574
4682
|
"a",
|
|
4575
4683
|
{
|
|
4576
4684
|
className: h(
|
|
4577
|
-
|
|
4685
|
+
ke({
|
|
4578
4686
|
variant: e === "subtle" ? "external" : e,
|
|
4579
4687
|
size: r,
|
|
4580
4688
|
className: t
|
|
@@ -4588,9 +4696,9 @@ const pi = ({
|
|
|
4588
4696
|
children: l
|
|
4589
4697
|
}
|
|
4590
4698
|
) : /* @__PURE__ */ o(
|
|
4591
|
-
|
|
4699
|
+
xe,
|
|
4592
4700
|
{
|
|
4593
|
-
className: h(
|
|
4701
|
+
className: h(ke({ variant: e, size: r, className: t })),
|
|
4594
4702
|
to: d,
|
|
4595
4703
|
ref: c,
|
|
4596
4704
|
...s,
|
|
@@ -4599,7 +4707,7 @@ const pi = ({
|
|
|
4599
4707
|
) : /* @__PURE__ */ o(
|
|
4600
4708
|
"span",
|
|
4601
4709
|
{
|
|
4602
|
-
className: h(
|
|
4710
|
+
className: h(ke({ variant: e, size: r, className: t })),
|
|
4603
4711
|
...s,
|
|
4604
4712
|
children: l
|
|
4605
4713
|
}
|
|
@@ -4607,7 +4715,7 @@ const pi = ({
|
|
|
4607
4715
|
}
|
|
4608
4716
|
);
|
|
4609
4717
|
ht.displayName = "SmartLink";
|
|
4610
|
-
const
|
|
4718
|
+
const Li = (t, e) => R.useMemo(() => {
|
|
4611
4719
|
let r = t;
|
|
4612
4720
|
return Object.entries(e).forEach(([a, n]) => {
|
|
4613
4721
|
const i = new RegExp(
|
|
@@ -4619,7 +4727,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4619
4727
|
(l) => `<SmartLink to="${n}" variant="subtle">${l}</SmartLink>`
|
|
4620
4728
|
);
|
|
4621
4729
|
}), r;
|
|
4622
|
-
}, [t, e]),
|
|
4730
|
+
}, [t, e]), fa = {
|
|
4623
4731
|
documentation: "/document",
|
|
4624
4732
|
settings: "/settings",
|
|
4625
4733
|
about: "/about",
|
|
@@ -4662,13 +4770,13 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4662
4770
|
support: "/contact",
|
|
4663
4771
|
help: "/document",
|
|
4664
4772
|
"contact us": "/contact"
|
|
4665
|
-
},
|
|
4773
|
+
}, Mi = ({
|
|
4666
4774
|
children: t,
|
|
4667
|
-
mappings: e =
|
|
4775
|
+
mappings: e = fa,
|
|
4668
4776
|
className: r,
|
|
4669
4777
|
variant: a = "subtle"
|
|
4670
4778
|
}) => {
|
|
4671
|
-
const n =
|
|
4779
|
+
const n = R.useMemo(() => {
|
|
4672
4780
|
if (!t || typeof t != "string")
|
|
4673
4781
|
return t || "";
|
|
4674
4782
|
let l = t;
|
|
@@ -4700,7 +4808,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4700
4808
|
}
|
|
4701
4809
|
return l;
|
|
4702
4810
|
}) });
|
|
4703
|
-
},
|
|
4811
|
+
}, ba = ({
|
|
4704
4812
|
isOpen: t,
|
|
4705
4813
|
onClose: e,
|
|
4706
4814
|
title: r,
|
|
@@ -4734,7 +4842,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4734
4842
|
return h(E, z);
|
|
4735
4843
|
}, C = (E) => {
|
|
4736
4844
|
s && E.target === E.currentTarget && e();
|
|
4737
|
-
}, k = /* @__PURE__ */ m(
|
|
4845
|
+
}, k = /* @__PURE__ */ m(M, { children: [
|
|
4738
4846
|
/* @__PURE__ */ o(
|
|
4739
4847
|
"div",
|
|
4740
4848
|
{
|
|
@@ -4774,7 +4882,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4774
4882
|
onClick: e,
|
|
4775
4883
|
className: w.overlays.modal.closeButton(),
|
|
4776
4884
|
"aria-label": b,
|
|
4777
|
-
children: /* @__PURE__ */ o(
|
|
4885
|
+
children: /* @__PURE__ */ o(Pt, { className: w.icon.variant.muted.md() })
|
|
4778
4886
|
}
|
|
4779
4887
|
)
|
|
4780
4888
|
] }),
|
|
@@ -4785,8 +4893,8 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4785
4893
|
}
|
|
4786
4894
|
)
|
|
4787
4895
|
] });
|
|
4788
|
-
return
|
|
4789
|
-
},
|
|
4896
|
+
return Vt(k, document.body);
|
|
4897
|
+
}, zi = ({
|
|
4790
4898
|
children: t,
|
|
4791
4899
|
variant: e = "default",
|
|
4792
4900
|
className: r
|
|
@@ -4797,7 +4905,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4797
4905
|
className: h(w.overlays.modal.header(), r),
|
|
4798
4906
|
children: t
|
|
4799
4907
|
}
|
|
4800
|
-
),
|
|
4908
|
+
), ya = ({
|
|
4801
4909
|
children: t,
|
|
4802
4910
|
variant: e = "default",
|
|
4803
4911
|
className: r
|
|
@@ -4808,7 +4916,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4808
4916
|
className: h(w.overlays.modal.body(), r),
|
|
4809
4917
|
children: t
|
|
4810
4918
|
}
|
|
4811
|
-
),
|
|
4919
|
+
), xa = ({
|
|
4812
4920
|
children: t,
|
|
4813
4921
|
variant: e = "default",
|
|
4814
4922
|
className: r
|
|
@@ -4819,25 +4927,25 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4819
4927
|
className: h(w.overlays.modal.footer(), r),
|
|
4820
4928
|
children: t
|
|
4821
4929
|
}
|
|
4822
|
-
),
|
|
4823
|
-
default:
|
|
4930
|
+
), va = {
|
|
4931
|
+
default: he,
|
|
4824
4932
|
warning: Je,
|
|
4825
4933
|
danger: Ze,
|
|
4826
4934
|
success: Xe,
|
|
4827
|
-
info:
|
|
4828
|
-
},
|
|
4935
|
+
info: he
|
|
4936
|
+
}, wa = {
|
|
4829
4937
|
default: () => w.icon.variant.default.lg(),
|
|
4830
4938
|
warning: () => w.icon.variant.warning.lg(),
|
|
4831
4939
|
danger: () => w.icon.variant.error.lg(),
|
|
4832
4940
|
success: () => w.icon.variant.success.lg(),
|
|
4833
4941
|
info: () => w.icon.variant.default.lg()
|
|
4834
|
-
},
|
|
4942
|
+
}, ka = {
|
|
4835
4943
|
default: "default",
|
|
4836
4944
|
warning: "default",
|
|
4837
4945
|
danger: "destructive",
|
|
4838
4946
|
success: "default",
|
|
4839
4947
|
info: "default"
|
|
4840
|
-
},
|
|
4948
|
+
}, Ri = ({
|
|
4841
4949
|
isOpen: t,
|
|
4842
4950
|
onClose: e,
|
|
4843
4951
|
onConfirm: r,
|
|
@@ -4849,9 +4957,9 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4849
4957
|
variant: c = "default",
|
|
4850
4958
|
isLoading: d = !1
|
|
4851
4959
|
}) => {
|
|
4852
|
-
const g =
|
|
4960
|
+
const g = va[c], p = wa[c], f = ka[c];
|
|
4853
4961
|
return /* @__PURE__ */ m(
|
|
4854
|
-
|
|
4962
|
+
ba,
|
|
4855
4963
|
{
|
|
4856
4964
|
isOpen: t,
|
|
4857
4965
|
onClose: e,
|
|
@@ -4860,7 +4968,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4860
4968
|
"aria-labelledby": "confirmation-dialog-title",
|
|
4861
4969
|
"aria-describedby": "confirmation-dialog-description",
|
|
4862
4970
|
children: [
|
|
4863
|
-
/* @__PURE__ */ m(
|
|
4971
|
+
/* @__PURE__ */ m(ya, { variant: "padded", children: [
|
|
4864
4972
|
/* @__PURE__ */ m("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
4865
4973
|
/* @__PURE__ */ o(g, { className: p() }),
|
|
4866
4974
|
/* @__PURE__ */ o(
|
|
@@ -4881,10 +4989,10 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4881
4989
|
}
|
|
4882
4990
|
)
|
|
4883
4991
|
] }),
|
|
4884
|
-
/* @__PURE__ */ m(
|
|
4885
|
-
/* @__PURE__ */ o(
|
|
4992
|
+
/* @__PURE__ */ m(xa, { children: [
|
|
4993
|
+
/* @__PURE__ */ o(G, { variant: "outline", onClick: e, disabled: d, children: l }),
|
|
4886
4994
|
/* @__PURE__ */ o(
|
|
4887
|
-
|
|
4995
|
+
G,
|
|
4888
4996
|
{
|
|
4889
4997
|
variant: f,
|
|
4890
4998
|
onClick: r,
|
|
@@ -4896,33 +5004,33 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4896
5004
|
]
|
|
4897
5005
|
}
|
|
4898
5006
|
);
|
|
4899
|
-
},
|
|
5007
|
+
}, Ca = {
|
|
4900
5008
|
sm: "w-12 h-12",
|
|
4901
5009
|
md: "w-16 h-16",
|
|
4902
5010
|
lg: "w-20 h-20",
|
|
4903
5011
|
xl: "w-24 h-24"
|
|
4904
|
-
},
|
|
5012
|
+
}, Sa = {
|
|
4905
5013
|
sm: "h-6 w-6",
|
|
4906
5014
|
md: "h-8 w-8",
|
|
4907
5015
|
lg: "h-10 w-10",
|
|
4908
5016
|
xl: "h-12 w-12"
|
|
4909
|
-
},
|
|
5017
|
+
}, Na = {
|
|
4910
5018
|
primary: "bg-gradient-to-br from-blue-100 to-blue-200 text-blue-600 shadow-lg hover:shadow-blue-200",
|
|
4911
5019
|
secondary: "bg-gradient-to-br from-purple-100 to-purple-200 text-purple-600 shadow-lg hover:shadow-purple-200",
|
|
4912
5020
|
success: "bg-gradient-to-br from-green-100 to-green-200 text-green-600 shadow-lg hover:shadow-green-200",
|
|
4913
5021
|
warning: "bg-gradient-to-br from-yellow-100 to-yellow-200 text-yellow-600 shadow-lg hover:shadow-yellow-200",
|
|
4914
5022
|
error: "bg-gradient-to-br from-red-100 to-red-200 text-red-600 shadow-lg hover:shadow-red-200",
|
|
4915
5023
|
neutral: "bg-gradient-to-br from-gray-100 to-gray-200 text-gray-600 shadow-lg hover:shadow-gray-200"
|
|
4916
|
-
},
|
|
5024
|
+
}, Ea = {
|
|
4917
5025
|
square: "rounded-none",
|
|
4918
5026
|
rounded: "rounded-2xl",
|
|
4919
5027
|
circle: "rounded-full"
|
|
4920
|
-
},
|
|
5028
|
+
}, $a = {
|
|
4921
5029
|
none: "",
|
|
4922
5030
|
float: "animate-float",
|
|
4923
5031
|
pulse: "animate-pulse",
|
|
4924
5032
|
bounce: "animate-bounce-slow"
|
|
4925
|
-
},
|
|
5033
|
+
}, Wi = ({
|
|
4926
5034
|
children: t,
|
|
4927
5035
|
size: e = "lg",
|
|
4928
5036
|
variant: r = "primary",
|
|
@@ -4934,15 +5042,15 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4934
5042
|
{
|
|
4935
5043
|
className: h(
|
|
4936
5044
|
"flex items-center justify-center mx-auto mb-6 transition-all duration-300 group-hover:scale-105",
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
5045
|
+
Ca[e],
|
|
5046
|
+
Na[r],
|
|
5047
|
+
Ea[a],
|
|
5048
|
+
$a[n],
|
|
4941
5049
|
i
|
|
4942
5050
|
),
|
|
4943
|
-
children: /* @__PURE__ */ o("div", { className: h(
|
|
5051
|
+
children: /* @__PURE__ */ o("div", { className: h(Sa[e]), children: t })
|
|
4944
5052
|
}
|
|
4945
|
-
),
|
|
5053
|
+
), Aa = I("border-b transition-all duration-200", {
|
|
4946
5054
|
variants: {
|
|
4947
5055
|
variant: {
|
|
4948
5056
|
default: "bg-gradient-to-r from-green-100 to-blue-100 dark:from-green-900/20 dark:to-blue-900/20 border-green-200 dark:border-green-700",
|
|
@@ -4960,7 +5068,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4960
5068
|
variant: "default",
|
|
4961
5069
|
size: "default"
|
|
4962
5070
|
}
|
|
4963
|
-
}),
|
|
5071
|
+
}), Ia = I("font-semibold", {
|
|
4964
5072
|
variants: {
|
|
4965
5073
|
variant: {
|
|
4966
5074
|
default: "text-green-800 dark:text-green-200",
|
|
@@ -4972,7 +5080,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4972
5080
|
defaultVariants: {
|
|
4973
5081
|
variant: "default"
|
|
4974
5082
|
}
|
|
4975
|
-
}),
|
|
5083
|
+
}), Ta = I(
|
|
4976
5084
|
"inline-flex items-center justify-center px-6 py-2 rounded-lg font-medium transition-all duration-200 hover:transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-offset-2",
|
|
4977
5085
|
{
|
|
4978
5086
|
variants: {
|
|
@@ -4987,7 +5095,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4987
5095
|
variant: "default"
|
|
4988
5096
|
}
|
|
4989
5097
|
}
|
|
4990
|
-
),
|
|
5098
|
+
), ji = ({
|
|
4991
5099
|
className: t,
|
|
4992
5100
|
variant: e = "default",
|
|
4993
5101
|
size: r = "default",
|
|
@@ -4999,7 +5107,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
4999
5107
|
onDismiss: c,
|
|
5000
5108
|
isDismissible: d = !1,
|
|
5001
5109
|
dismissAriaLabel: g = "Dismiss banner"
|
|
5002
|
-
}) => /* @__PURE__ */ o("div", { className: h(
|
|
5110
|
+
}) => /* @__PURE__ */ o("div", { className: h(Aa({ variant: e, size: r }), t), children: /* @__PURE__ */ o("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ m("div", { className: "flex flex-col sm:flex-row items-center justify-center gap-4 text-center relative", children: [
|
|
5003
5111
|
d && c && /* @__PURE__ */ o(
|
|
5004
5112
|
"button",
|
|
5005
5113
|
{
|
|
@@ -5037,10 +5145,10 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5037
5145
|
children: s
|
|
5038
5146
|
}
|
|
5039
5147
|
),
|
|
5040
|
-
/* @__PURE__ */ o("span", { className: h(
|
|
5148
|
+
/* @__PURE__ */ o("span", { className: h(Ia({ variant: e })), children: a })
|
|
5041
5149
|
] }),
|
|
5042
|
-
/* @__PURE__ */ o(
|
|
5043
|
-
] }) }) }),
|
|
5150
|
+
/* @__PURE__ */ o(xe, { to: i, className: h(Ta({ variant: e })), children: n })
|
|
5151
|
+
] }) }) }), Pa = I("rounded-lg border p-4 flex items-start gap-3", {
|
|
5044
5152
|
variants: {
|
|
5045
5153
|
variant: {
|
|
5046
5154
|
info: "bg-blue-50 border-blue-200 text-blue-800 dark:bg-blue-900/20 dark:border-blue-800/50 dark:text-blue-200",
|
|
@@ -5059,7 +5167,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5059
5167
|
variant: "info",
|
|
5060
5168
|
size: "md"
|
|
5061
5169
|
}
|
|
5062
|
-
}),
|
|
5170
|
+
}), Di = ({
|
|
5063
5171
|
title: t,
|
|
5064
5172
|
icon: e,
|
|
5065
5173
|
children: r,
|
|
@@ -5075,7 +5183,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5075
5183
|
error: "✗",
|
|
5076
5184
|
neutral: "💡"
|
|
5077
5185
|
};
|
|
5078
|
-
return /* @__PURE__ */ m("div", { className: h(
|
|
5186
|
+
return /* @__PURE__ */ m("div", { className: h(Pa({ variant: a, size: n }), i), children: [
|
|
5079
5187
|
/* @__PURE__ */ o("div", { className: "flex-shrink-0 text-lg", children: e || s[a || "info"] }),
|
|
5080
5188
|
/* @__PURE__ */ m("div", { className: "flex-1 min-w-0", children: [
|
|
5081
5189
|
t && /* @__PURE__ */ o("h4", { className: "font-semibold mb-2", children: t }),
|
|
@@ -5107,7 +5215,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5107
5215
|
}
|
|
5108
5216
|
)
|
|
5109
5217
|
] });
|
|
5110
|
-
},
|
|
5218
|
+
}, La = I(
|
|
5111
5219
|
"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 transition-all duration-200",
|
|
5112
5220
|
{
|
|
5113
5221
|
variants: {
|
|
@@ -5128,7 +5236,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5128
5236
|
trend: "none"
|
|
5129
5237
|
}
|
|
5130
5238
|
}
|
|
5131
|
-
),
|
|
5239
|
+
), Bi = ({
|
|
5132
5240
|
label: t,
|
|
5133
5241
|
value: e,
|
|
5134
5242
|
change: r,
|
|
@@ -5148,7 +5256,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5148
5256
|
neutral: "→",
|
|
5149
5257
|
none: ""
|
|
5150
5258
|
};
|
|
5151
|
-
return /* @__PURE__ */ o("div", { className: h(
|
|
5259
|
+
return /* @__PURE__ */ o("div", { className: h(La({ variant: i, trend: a }), l), children: /* @__PURE__ */ m("div", { className: "flex items-center justify-between", children: [
|
|
5152
5260
|
/* @__PURE__ */ m("div", { children: [
|
|
5153
5261
|
/* @__PURE__ */ o("p", { className: "text-sm font-medium text-gray-600 dark:text-gray-400 mb-1", children: t }),
|
|
5154
5262
|
/* @__PURE__ */ o("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: e }),
|
|
@@ -5168,7 +5276,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5168
5276
|
] }),
|
|
5169
5277
|
n && /* @__PURE__ */ o("div", { className: "text-3xl opacity-80", children: n })
|
|
5170
5278
|
] }) });
|
|
5171
|
-
},
|
|
5279
|
+
}, Ma = I("space-y-6", {
|
|
5172
5280
|
variants: {
|
|
5173
5281
|
variant: {
|
|
5174
5282
|
default: "",
|
|
@@ -5186,20 +5294,20 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5186
5294
|
variant: "default",
|
|
5187
5295
|
spacing: "normal"
|
|
5188
5296
|
}
|
|
5189
|
-
}),
|
|
5297
|
+
}), Oi = ({
|
|
5190
5298
|
title: t,
|
|
5191
5299
|
description: e,
|
|
5192
5300
|
children: r,
|
|
5193
5301
|
variant: a = "default",
|
|
5194
5302
|
spacing: n = "normal",
|
|
5195
5303
|
className: i
|
|
5196
|
-
}) => /* @__PURE__ */ m("div", { className: h(
|
|
5304
|
+
}) => /* @__PURE__ */ m("div", { className: h(Ma({ variant: a, spacing: n }), i), children: [
|
|
5197
5305
|
(t || e) && /* @__PURE__ */ m("div", { className: "space-y-1", children: [
|
|
5198
5306
|
t && /* @__PURE__ */ o("h3", { className: "text-lg font-medium text-gray-900 dark:text-white", children: t }),
|
|
5199
5307
|
e && /* @__PURE__ */ o("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: e })
|
|
5200
5308
|
] }),
|
|
5201
5309
|
r
|
|
5202
|
-
] }),
|
|
5310
|
+
] }), za = I(
|
|
5203
5311
|
"flex flex-col items-center text-center space-y-4",
|
|
5204
5312
|
{
|
|
5205
5313
|
variants: {
|
|
@@ -5224,7 +5332,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5224
5332
|
interactive: !1
|
|
5225
5333
|
}
|
|
5226
5334
|
}
|
|
5227
|
-
),
|
|
5335
|
+
), Fi = ({
|
|
5228
5336
|
icon: t,
|
|
5229
5337
|
title: e,
|
|
5230
5338
|
description: r,
|
|
@@ -5237,7 +5345,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5237
5345
|
"div",
|
|
5238
5346
|
{
|
|
5239
5347
|
className: h(
|
|
5240
|
-
|
|
5348
|
+
za({ layout: a, spacing: n, interactive: i }),
|
|
5241
5349
|
l
|
|
5242
5350
|
),
|
|
5243
5351
|
onClick: s,
|
|
@@ -5249,7 +5357,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5249
5357
|
] })
|
|
5250
5358
|
]
|
|
5251
5359
|
}
|
|
5252
|
-
),
|
|
5360
|
+
), Vi = ({
|
|
5253
5361
|
wallet: t,
|
|
5254
5362
|
connector: e,
|
|
5255
5363
|
className: r = "w-8 h-8",
|
|
@@ -5297,7 +5405,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5297
5405
|
}
|
|
5298
5406
|
}
|
|
5299
5407
|
);
|
|
5300
|
-
},
|
|
5408
|
+
}, _i = ({
|
|
5301
5409
|
size: t = "md",
|
|
5302
5410
|
className: e = "",
|
|
5303
5411
|
showText: r = !0,
|
|
@@ -5340,7 +5448,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5340
5448
|
text: "text-2xl"
|
|
5341
5449
|
};
|
|
5342
5450
|
}
|
|
5343
|
-
})(), g = /* @__PURE__ */ m(
|
|
5451
|
+
})(), g = /* @__PURE__ */ m(M, { children: [
|
|
5344
5452
|
/* @__PURE__ */ o("img", { src: n, alt: i, className: d.image }),
|
|
5345
5453
|
r && /* @__PURE__ */ o(
|
|
5346
5454
|
"div",
|
|
@@ -5359,7 +5467,7 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5359
5467
|
children: g
|
|
5360
5468
|
}
|
|
5361
5469
|
) : /* @__PURE__ */ o("div", { className: `flex items-center ${d.container} ${e}`, children: g });
|
|
5362
|
-
},
|
|
5470
|
+
}, Ra = ({
|
|
5363
5471
|
shareConfig: t
|
|
5364
5472
|
}) => {
|
|
5365
5473
|
const [e, r] = $(!1), [a, n] = $(""), [i, l] = $(!1);
|
|
@@ -5381,14 +5489,14 @@ const Ti = (t, e) => M.useMemo(() => {
|
|
|
5381
5489
|
}, [t, a]);
|
|
5382
5490
|
const s = a || (typeof window < "u" ? window.location.href : ""), c = [
|
|
5383
5491
|
{
|
|
5384
|
-
component:
|
|
5385
|
-
icon:
|
|
5492
|
+
component: qt,
|
|
5493
|
+
icon: _t,
|
|
5386
5494
|
props: { url: s, title: t.title, hashtags: t.hashtags },
|
|
5387
5495
|
label: "Twitter"
|
|
5388
5496
|
},
|
|
5389
5497
|
{
|
|
5390
|
-
component:
|
|
5391
|
-
icon:
|
|
5498
|
+
component: Ut,
|
|
5499
|
+
icon: Ht,
|
|
5392
5500
|
props: {
|
|
5393
5501
|
url: s,
|
|
5394
5502
|
quote: `${t.title}
|
|
@@ -5398,8 +5506,8 @@ ${t.description}`
|
|
|
5398
5506
|
label: "Facebook"
|
|
5399
5507
|
},
|
|
5400
5508
|
{
|
|
5401
|
-
component:
|
|
5402
|
-
icon:
|
|
5509
|
+
component: Kt,
|
|
5510
|
+
icon: Gt,
|
|
5403
5511
|
props: {
|
|
5404
5512
|
url: s,
|
|
5405
5513
|
title: t.title,
|
|
@@ -5409,19 +5517,19 @@ ${t.description}`
|
|
|
5409
5517
|
},
|
|
5410
5518
|
{
|
|
5411
5519
|
component: Qt,
|
|
5412
|
-
icon:
|
|
5520
|
+
icon: Yt,
|
|
5413
5521
|
props: { url: s, title: t.title },
|
|
5414
5522
|
label: "Reddit"
|
|
5415
5523
|
},
|
|
5416
5524
|
{
|
|
5417
|
-
component:
|
|
5418
|
-
icon:
|
|
5525
|
+
component: Jt,
|
|
5526
|
+
icon: Zt,
|
|
5419
5527
|
props: { url: s, title: t.title },
|
|
5420
5528
|
label: "Telegram"
|
|
5421
5529
|
},
|
|
5422
5530
|
{
|
|
5423
|
-
component:
|
|
5424
|
-
icon:
|
|
5531
|
+
component: er,
|
|
5532
|
+
icon: Xt,
|
|
5425
5533
|
props: { url: s, title: t.title, separator: `
|
|
5426
5534
|
|
|
5427
5535
|
` },
|
|
@@ -5461,7 +5569,7 @@ ${t.description}`
|
|
|
5461
5569
|
)
|
|
5462
5570
|
}
|
|
5463
5571
|
),
|
|
5464
|
-
e && /* @__PURE__ */ m(
|
|
5572
|
+
e && /* @__PURE__ */ m(M, { children: [
|
|
5465
5573
|
/* @__PURE__ */ o(
|
|
5466
5574
|
"div",
|
|
5467
5575
|
{
|
|
@@ -5469,7 +5577,7 @@ ${t.description}`
|
|
|
5469
5577
|
onClick: () => r(!1)
|
|
5470
5578
|
}
|
|
5471
5579
|
),
|
|
5472
|
-
/* @__PURE__ */ o("div", { className: "absolute right-0 top-10 z-[999999] w-32 bg-white dark:bg-gray-800 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 py-1", children: i ? /* @__PURE__ */ o("div", { className: "flex items-center justify-center px-3 py-2", children: /* @__PURE__ */ o("div", { className: "w-4 h-4 border-2 border-blue-600 border-t-transparent rounded-full animate-spin" }) }) : /* @__PURE__ */ m(
|
|
5580
|
+
/* @__PURE__ */ o("div", { className: "absolute right-0 top-10 z-[999999] w-32 bg-white dark:bg-gray-800 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 py-1", children: i ? /* @__PURE__ */ o("div", { className: "flex items-center justify-center px-3 py-2", children: /* @__PURE__ */ o("div", { className: "w-4 h-4 border-2 border-blue-600 border-t-transparent rounded-full animate-spin" }) }) : /* @__PURE__ */ m(M, { children: [
|
|
5473
5581
|
c.map((g, p) => {
|
|
5474
5582
|
const f = g.component, b = g.icon;
|
|
5475
5583
|
return /* @__PURE__ */ o(
|
|
@@ -5516,7 +5624,7 @@ ${t.description}`
|
|
|
5516
5624
|
] }) })
|
|
5517
5625
|
] })
|
|
5518
5626
|
] });
|
|
5519
|
-
},
|
|
5627
|
+
}, Wa = ({
|
|
5520
5628
|
items: t,
|
|
5521
5629
|
shareConfig: e,
|
|
5522
5630
|
className: r,
|
|
@@ -5524,7 +5632,7 @@ ${t.description}`
|
|
|
5524
5632
|
}) => /* @__PURE__ */ m("div", { className: "flex items-center justify-between", children: [
|
|
5525
5633
|
/* @__PURE__ */ o("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ o("ol", { className: "flex items-center text-sm space-x-2", children: t.map((n, i) => /* @__PURE__ */ m(v.Fragment, { children: [
|
|
5526
5634
|
/* @__PURE__ */ o("li", { children: n.current ? /* @__PURE__ */ o("span", { className: "text-gray-700 dark:text-gray-300 font-medium", children: n.label }) : /* @__PURE__ */ o(
|
|
5527
|
-
|
|
5635
|
+
xe,
|
|
5528
5636
|
{
|
|
5529
5637
|
to: n.href || "#",
|
|
5530
5638
|
className: "text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 transition-colors",
|
|
@@ -5533,11 +5641,11 @@ ${t.description}`
|
|
|
5533
5641
|
) }),
|
|
5534
5642
|
i < t.length - 1 && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("span", { className: "text-gray-400 dark:text-gray-500", children: "/" }) })
|
|
5535
5643
|
] }, i)) }) }),
|
|
5536
|
-
e && /* @__PURE__ */ o(
|
|
5537
|
-
] }),
|
|
5644
|
+
e && /* @__PURE__ */ o(Ra, { shareConfig: e })
|
|
5645
|
+
] }), qi = ({
|
|
5538
5646
|
items: t,
|
|
5539
5647
|
shareConfig: e
|
|
5540
|
-
}) => /* @__PURE__ */ o("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ o("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 relative", children: /* @__PURE__ */ o(
|
|
5648
|
+
}) => /* @__PURE__ */ o("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ o("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 relative", children: /* @__PURE__ */ o(Wa, { items: t, shareConfig: e }) }) }), Hi = ({
|
|
5541
5649
|
filename: t,
|
|
5542
5650
|
code: e,
|
|
5543
5651
|
language: r,
|
|
@@ -5546,7 +5654,7 @@ ${t.description}`
|
|
|
5546
5654
|
showCopy: i = !0,
|
|
5547
5655
|
showHeader: l = !0
|
|
5548
5656
|
}) => {
|
|
5549
|
-
const { t: s } = st("codeBlock"), { code: c, loading: d, error: g } =
|
|
5657
|
+
const { t: s } = st("codeBlock"), { code: c, loading: d, error: g } = br(t || ""), [p, f] = $(!1), b = e || c, x = r || (t ? ((C) => {
|
|
5550
5658
|
switch (C.split(".").pop()?.toLowerCase()) {
|
|
5551
5659
|
case "sol":
|
|
5552
5660
|
return "solidity";
|
|
@@ -5624,7 +5732,7 @@ ${t.description}`
|
|
|
5624
5732
|
onClick: S,
|
|
5625
5733
|
className: "p-2 text-gray-400 hover:text-green-400 hover:bg-gray-800 rounded-lg transition-all duration-200 group",
|
|
5626
5734
|
title: s("copyCode", "Copy code"),
|
|
5627
|
-
children: p ? /* @__PURE__ */ o(et, { className: "h-4 w-4 text-green-400" }) : /* @__PURE__ */ o(
|
|
5735
|
+
children: p ? /* @__PURE__ */ o(et, { className: "h-4 w-4 text-green-400" }) : /* @__PURE__ */ o(Lt, { className: "h-4 w-4 group-hover:scale-110 transition-transform" })
|
|
5628
5736
|
}
|
|
5629
5737
|
)
|
|
5630
5738
|
] }),
|
|
@@ -5638,7 +5746,7 @@ ${t.description}`
|
|
|
5638
5746
|
children: s("noCode", "No code to display")
|
|
5639
5747
|
}
|
|
5640
5748
|
);
|
|
5641
|
-
},
|
|
5749
|
+
}, Ui = ({
|
|
5642
5750
|
title: t,
|
|
5643
5751
|
description: e,
|
|
5644
5752
|
code: r,
|
|
@@ -5687,11 +5795,11 @@ ${t.description}`
|
|
|
5687
5795
|
onClick: () => d(r, g),
|
|
5688
5796
|
className: "flex items-center space-x-1 text-gray-300 hover:text-white transition-colors text-sm",
|
|
5689
5797
|
"aria-label": p ? "Copied!" : "Copy code",
|
|
5690
|
-
children: p ? /* @__PURE__ */ m(
|
|
5798
|
+
children: p ? /* @__PURE__ */ m(M, { children: [
|
|
5691
5799
|
/* @__PURE__ */ o(et, { className: "h-4 w-4" }),
|
|
5692
5800
|
/* @__PURE__ */ o("span", { children: "Copied!" })
|
|
5693
|
-
] }) : /* @__PURE__ */ m(
|
|
5694
|
-
/* @__PURE__ */ o(
|
|
5801
|
+
] }) : /* @__PURE__ */ m(M, { children: [
|
|
5802
|
+
/* @__PURE__ */ o(Mt, { className: "h-4 w-4" }),
|
|
5695
5803
|
/* @__PURE__ */ o("span", { children: "Copy" })
|
|
5696
5804
|
] })
|
|
5697
5805
|
}
|
|
@@ -5700,7 +5808,7 @@ ${t.description}`
|
|
|
5700
5808
|
/* @__PURE__ */ o("div", { className: "p-4 overflow-x-auto", children: /* @__PURE__ */ o("pre", { className: "text-gray-100 text-sm leading-relaxed", children: /* @__PURE__ */ o("code", { children: r }) }) })
|
|
5701
5809
|
] }) })
|
|
5702
5810
|
] });
|
|
5703
|
-
},
|
|
5811
|
+
}, ja = ({
|
|
5704
5812
|
subsections: t,
|
|
5705
5813
|
isExpanded: e,
|
|
5706
5814
|
selectedSubsection: r,
|
|
@@ -5729,7 +5837,7 @@ ${t.description}`
|
|
|
5729
5837
|
)) })
|
|
5730
5838
|
}
|
|
5731
5839
|
);
|
|
5732
|
-
},
|
|
5840
|
+
}, Gi = ({
|
|
5733
5841
|
id: t,
|
|
5734
5842
|
title: e,
|
|
5735
5843
|
content: r,
|
|
@@ -5762,7 +5870,7 @@ ${t.description}`
|
|
|
5762
5870
|
className: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
5763
5871
|
"aria-label": d ? "Collapse section" : "Expand section",
|
|
5764
5872
|
children: /* @__PURE__ */ o(
|
|
5765
|
-
|
|
5873
|
+
Ie,
|
|
5766
5874
|
{
|
|
5767
5875
|
className: `h-5 w-5 text-gray-500 transition-transform duration-300 ease-in-out ${d ? "rotate-90" : "rotate-0"}`
|
|
5768
5876
|
}
|
|
@@ -5771,7 +5879,7 @@ ${t.description}`
|
|
|
5771
5879
|
)
|
|
5772
5880
|
] }),
|
|
5773
5881
|
b && /* @__PURE__ */ o(
|
|
5774
|
-
|
|
5882
|
+
ja,
|
|
5775
5883
|
{
|
|
5776
5884
|
subsections: a,
|
|
5777
5885
|
isExpanded: d,
|
|
@@ -5781,7 +5889,7 @@ ${t.description}`
|
|
|
5781
5889
|
}
|
|
5782
5890
|
)
|
|
5783
5891
|
] });
|
|
5784
|
-
},
|
|
5892
|
+
}, Ki = ({
|
|
5785
5893
|
title: t,
|
|
5786
5894
|
subtitle: e,
|
|
5787
5895
|
buttonText: r,
|
|
@@ -5793,7 +5901,7 @@ ${t.description}`
|
|
|
5793
5901
|
className: c = ""
|
|
5794
5902
|
}) => {
|
|
5795
5903
|
const d = () => a === "envelope" || a === "both" ? /* @__PURE__ */ o(
|
|
5796
|
-
|
|
5904
|
+
zt,
|
|
5797
5905
|
{
|
|
5798
5906
|
className: n === "prominent" ? "h-5 w-5 mr-2" : "h-4 w-4 mr-1"
|
|
5799
5907
|
}
|
|
@@ -5814,7 +5922,7 @@ ${t.description}`
|
|
|
5814
5922
|
}
|
|
5815
5923
|
)
|
|
5816
5924
|
}
|
|
5817
|
-
), g = () => a === "arrow" || a === "both" ? /* @__PURE__ */ o(
|
|
5925
|
+
), g = () => a === "arrow" || a === "both" ? /* @__PURE__ */ o(Rt, { className: "h-4 w-4 ml-2" }) : null, p = () => n === "prominent" ? "border-b-2 border-green-200 dark:border-green-700" : "border-b border-green-200 dark:border-green-700", f = () => {
|
|
5818
5926
|
const x = "bg-gradient-to-r from-green-600 to-blue-600 hover:from-green-700 hover:to-blue-700 text-white rounded-lg font-bold transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-green-500/25 inline-flex items-center whitespace-nowrap cursor-pointer";
|
|
5819
5927
|
return n === "prominent" ? `${x} px-8 py-3 text-base` : `${x} px-6 py-2 text-sm`;
|
|
5820
5928
|
}, b = () => n === "prominent" ? "text-green-800 dark:text-green-200 font-semibold text-lg" : "text-green-800 dark:text-green-200 font-semibold", y = n === "prominent" ? l : i;
|
|
@@ -5844,7 +5952,7 @@ ${t.description}`
|
|
|
5844
5952
|
] }) })
|
|
5845
5953
|
}
|
|
5846
5954
|
);
|
|
5847
|
-
},
|
|
5955
|
+
}, Yi = ({
|
|
5848
5956
|
children: t,
|
|
5849
5957
|
onClick: e,
|
|
5850
5958
|
variant: r,
|
|
@@ -5859,7 +5967,7 @@ ${t.description}`
|
|
|
5859
5967
|
trackingParams: p = {},
|
|
5860
5968
|
...f
|
|
5861
5969
|
}) => /* @__PURE__ */ o(
|
|
5862
|
-
|
|
5970
|
+
G,
|
|
5863
5971
|
{
|
|
5864
5972
|
...f,
|
|
5865
5973
|
variant: r,
|
|
@@ -5891,7 +5999,7 @@ ${t.description}`
|
|
|
5891
5999
|
},
|
|
5892
6000
|
children: t
|
|
5893
6001
|
}
|
|
5894
|
-
),
|
|
6002
|
+
), Qi = ({
|
|
5895
6003
|
children: t,
|
|
5896
6004
|
onClick: e,
|
|
5897
6005
|
to: r,
|
|
@@ -5939,7 +6047,7 @@ ${t.description}`
|
|
|
5939
6047
|
uk: { name: "Українська", flag: "🇺🇦" },
|
|
5940
6048
|
vi: { name: "Tiếng Việt", flag: "🇻🇳" },
|
|
5941
6049
|
zh: { name: "简体中文", flag: "🇨🇳" }
|
|
5942
|
-
},
|
|
6050
|
+
}, Zi = ({
|
|
5943
6051
|
variant: t = "compact",
|
|
5944
6052
|
className: e = ""
|
|
5945
6053
|
}) => {
|
|
@@ -5964,14 +6072,14 @@ ${t.description}`
|
|
|
5964
6072
|
console.error("Failed to change language:", g);
|
|
5965
6073
|
});
|
|
5966
6074
|
};
|
|
5967
|
-
return t === "compact" ? /* @__PURE__ */ o("div", { className: `relative ${e}`, children: /* @__PURE__ */ m(
|
|
5968
|
-
/* @__PURE__ */ o(
|
|
6075
|
+
return t === "compact" ? /* @__PURE__ */ o("div", { className: `relative ${e}`, children: /* @__PURE__ */ m(Be, { value: n, onValueChange: c, children: [
|
|
6076
|
+
/* @__PURE__ */ o(Ne, { className: "h-10 w-auto px-3 border-0 bg-transparent hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-0 focus:ring-offset-0", children: /* @__PURE__ */ m("div", { className: "flex items-center space-x-2", children: [
|
|
5969
6077
|
/* @__PURE__ */ o("span", { className: "text-lg leading-none", children: s?.flag }),
|
|
5970
6078
|
/* @__PURE__ */ o("span", { className: "hidden sm:block text-sm font-medium text-gray-700 dark:text-gray-300", children: s?.name })
|
|
5971
6079
|
] }) }),
|
|
5972
|
-
/* @__PURE__ */ o(
|
|
6080
|
+
/* @__PURE__ */ o(Ee, { children: l.map(
|
|
5973
6081
|
(d) => /* @__PURE__ */ o(
|
|
5974
|
-
|
|
6082
|
+
$e,
|
|
5975
6083
|
{
|
|
5976
6084
|
value: d.code,
|
|
5977
6085
|
className: "cursor-pointer",
|
|
@@ -5985,14 +6093,14 @@ ${t.description}`
|
|
|
5985
6093
|
) })
|
|
5986
6094
|
] }) }) : /* @__PURE__ */ m("div", { className: `space-y-2 ${e}`, children: [
|
|
5987
6095
|
/* @__PURE__ */ m("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300 flex items-center space-x-2", children: [
|
|
5988
|
-
/* @__PURE__ */ o(
|
|
6096
|
+
/* @__PURE__ */ o(Wt, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
|
|
5989
6097
|
/* @__PURE__ */ o("span", { children: a("language", "Language") })
|
|
5990
6098
|
] }),
|
|
5991
|
-
/* @__PURE__ */ m(
|
|
5992
|
-
/* @__PURE__ */ o(
|
|
5993
|
-
/* @__PURE__ */ o(
|
|
6099
|
+
/* @__PURE__ */ m(Be, { value: n, onValueChange: c, children: [
|
|
6100
|
+
/* @__PURE__ */ o(Ne, { children: /* @__PURE__ */ o(Fr, { placeholder: a("selectLanguage", "Select language") }) }),
|
|
6101
|
+
/* @__PURE__ */ o(Ee, { children: l.map(
|
|
5994
6102
|
(d) => /* @__PURE__ */ o(
|
|
5995
|
-
|
|
6103
|
+
$e,
|
|
5996
6104
|
{
|
|
5997
6105
|
value: d.code,
|
|
5998
6106
|
className: "cursor-pointer",
|
|
@@ -6007,7 +6115,7 @@ ${t.description}`
|
|
|
6007
6115
|
] }),
|
|
6008
6116
|
/* @__PURE__ */ o("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: a("selectPreferredLanguage", "Select your preferred language") })
|
|
6009
6117
|
] });
|
|
6010
|
-
},
|
|
6118
|
+
}, Ji = ({
|
|
6011
6119
|
items: t,
|
|
6012
6120
|
type: e = "ordered",
|
|
6013
6121
|
variant: r = "default",
|
|
@@ -6049,7 +6157,7 @@ ${t.description}`
|
|
|
6049
6157
|
};
|
|
6050
6158
|
return /* @__PURE__ */ o("ul", { className: h(i(), a), children: t.map(c) });
|
|
6051
6159
|
};
|
|
6052
|
-
class
|
|
6160
|
+
class Xi extends Qe {
|
|
6053
6161
|
constructor() {
|
|
6054
6162
|
super(...arguments), this.state = {
|
|
6055
6163
|
hasError: !1
|
|
@@ -6078,7 +6186,7 @@ class Zi extends Ye {
|
|
|
6078
6186
|
) : this.props.children;
|
|
6079
6187
|
}
|
|
6080
6188
|
}
|
|
6081
|
-
class
|
|
6189
|
+
class es extends Qe {
|
|
6082
6190
|
constructor(e) {
|
|
6083
6191
|
super(e), this.retryTimer = null, this.sendErrorToMonitoring = (r, a) => {
|
|
6084
6192
|
try {
|
|
@@ -6196,15 +6304,15 @@ class Ji extends Ye {
|
|
|
6196
6304
|
] }) }) : e;
|
|
6197
6305
|
}
|
|
6198
6306
|
}
|
|
6199
|
-
const
|
|
6200
|
-
const a =
|
|
6201
|
-
return r && (a.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (n) => (
|
|
6307
|
+
const ts = ({ children: t }) => /* @__PURE__ */ o(M, { children: t }), rs = ({ children: t }) => /* @__PURE__ */ o(M, { children: t }), as = (t, e, r) => {
|
|
6308
|
+
const a = ue(t, e);
|
|
6309
|
+
return r && (a.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (n) => (Ae(() => {
|
|
6202
6310
|
let l = 0;
|
|
6203
6311
|
return () => ++l;
|
|
6204
6312
|
}, [])(), /* @__PURE__ */ o(a, { ...n })) : a;
|
|
6205
|
-
},
|
|
6313
|
+
}, ns = (t, e) => ue(t, (r, a) => e.every((n) => r[n] === a[n])), os = ue(
|
|
6206
6314
|
({ children: t, compute: e, deps: r }) => {
|
|
6207
|
-
const a = v.useRef(r), n = v.useRef(e), i = v.useRef(void 0), l =
|
|
6315
|
+
const a = v.useRef(r), n = v.useRef(e), i = v.useRef(void 0), l = Ae(() => {
|
|
6208
6316
|
const s = r.length !== a.current.length || r.some((d, g) => d !== a.current[g]), c = e !== n.current;
|
|
6209
6317
|
if (s || c || i.current === void 0) {
|
|
6210
6318
|
let d;
|
|
@@ -6219,14 +6327,14 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6219
6327
|
}
|
|
6220
6328
|
return i.current;
|
|
6221
6329
|
}, [e, r]);
|
|
6222
|
-
return /* @__PURE__ */ o(
|
|
6330
|
+
return /* @__PURE__ */ o(M, { children: t(l) });
|
|
6223
6331
|
}
|
|
6224
|
-
),
|
|
6332
|
+
), is = ue(
|
|
6225
6333
|
({ item: t, index: e, style: r, renderItem: a }) => /* @__PURE__ */ o("div", { style: r, children: a(t, e) }),
|
|
6226
6334
|
(t, e) => t.index === e.index && t.item === e.item && t.style.height === e.style.height && t.style.top === e.style.top
|
|
6227
|
-
),
|
|
6228
|
-
({ condition: t, children: e, fallback: r = null }) => t ? /* @__PURE__ */ o(
|
|
6229
|
-
),
|
|
6335
|
+
), ss = ue(
|
|
6336
|
+
({ condition: t, children: e, fallback: r = null }) => t ? /* @__PURE__ */ o(M, { children: e }) : /* @__PURE__ */ o(M, { children: r })
|
|
6337
|
+
), ls = ({
|
|
6230
6338
|
children: t,
|
|
6231
6339
|
threshold: e = 0.1,
|
|
6232
6340
|
rootMargin: r = "50px",
|
|
@@ -6242,7 +6350,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6242
6350
|
);
|
|
6243
6351
|
return l.current && s.observe(l.current), () => s.disconnect();
|
|
6244
6352
|
}, [e, r]), /* @__PURE__ */ o("div", { ref: l, children: n ? t : a });
|
|
6245
|
-
},
|
|
6353
|
+
}, cs = ({
|
|
6246
6354
|
children: t,
|
|
6247
6355
|
maxRenderTime: e = 16,
|
|
6248
6356
|
// 16ms = 60fps
|
|
@@ -6256,8 +6364,8 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6256
6364
|
n > e && (r?.(n), process.env.NODE_ENV === "development" && console.warn(
|
|
6257
6365
|
`Slow render detected: ${n}ms (threshold: ${e}ms)`
|
|
6258
6366
|
));
|
|
6259
|
-
}), /* @__PURE__ */ o(
|
|
6260
|
-
},
|
|
6367
|
+
}), /* @__PURE__ */ o(M, { children: t });
|
|
6368
|
+
}, ds = ({
|
|
6261
6369
|
children: t,
|
|
6262
6370
|
batchSize: e = 5,
|
|
6263
6371
|
delay: r = 0
|
|
@@ -6270,8 +6378,8 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6270
6378
|
}, r);
|
|
6271
6379
|
return () => clearTimeout(i);
|
|
6272
6380
|
}
|
|
6273
|
-
}, [a, t.length, e, r]), /* @__PURE__ */ o(
|
|
6274
|
-
},
|
|
6381
|
+
}, [a, t.length, e, r]), /* @__PURE__ */ o(M, { children: t.slice(0, a) });
|
|
6382
|
+
}, us = ({
|
|
6275
6383
|
src: t,
|
|
6276
6384
|
alt: e,
|
|
6277
6385
|
placeholder: r,
|
|
@@ -6366,7 +6474,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6366
6474
|
]
|
|
6367
6475
|
}
|
|
6368
6476
|
);
|
|
6369
|
-
},
|
|
6477
|
+
}, ms = ({
|
|
6370
6478
|
title: t,
|
|
6371
6479
|
description: e,
|
|
6372
6480
|
primaryButton: r,
|
|
@@ -6398,7 +6506,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6398
6506
|
lg: "text-xl md:text-2xl"
|
|
6399
6507
|
}, y = (x, S = !1) => {
|
|
6400
6508
|
const k = /* @__PURE__ */ o(
|
|
6401
|
-
|
|
6509
|
+
G,
|
|
6402
6510
|
{
|
|
6403
6511
|
variant: x.variant === "primary" || S ? "gradient" : (x.variant === "secondary", "outline"),
|
|
6404
6512
|
size: "lg",
|
|
@@ -6406,7 +6514,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6406
6514
|
children: x.label
|
|
6407
6515
|
}
|
|
6408
6516
|
);
|
|
6409
|
-
return x.external ? /* @__PURE__ */ o("a", { href: x.href, target: "_blank", rel: "noopener noreferrer", children: k }) : /* @__PURE__ */ o(
|
|
6517
|
+
return x.external ? /* @__PURE__ */ o("a", { href: x.href, target: "_blank", rel: "noopener noreferrer", children: k }) : /* @__PURE__ */ o(xe, { to: x.href, children: k });
|
|
6410
6518
|
};
|
|
6411
6519
|
return /* @__PURE__ */ m(
|
|
6412
6520
|
"section",
|
|
@@ -6441,14 +6549,14 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6441
6549
|
]
|
|
6442
6550
|
}
|
|
6443
6551
|
);
|
|
6444
|
-
},
|
|
6552
|
+
}, gs = ({
|
|
6445
6553
|
children: t,
|
|
6446
6554
|
backgroundClassName: e = "",
|
|
6447
6555
|
contentClassName: r = ""
|
|
6448
|
-
}) => /* @__PURE__ */ o("div", { className: e, children: /* @__PURE__ */ o("div", { className: r, children: t }) }),
|
|
6556
|
+
}) => /* @__PURE__ */ o("div", { className: e, children: /* @__PURE__ */ o("div", { className: r, children: t }) }), ps = ({ title: t, description: e }) => /* @__PURE__ */ m("div", { className: "mb-8", children: [
|
|
6449
6557
|
/* @__PURE__ */ o("h1", { className: "text-3xl font-bold text-gray-900 dark:text-white", children: t }),
|
|
6450
6558
|
e && /* @__PURE__ */ o("p", { className: "mt-2 text-gray-600 dark:text-gray-400", children: e })
|
|
6451
|
-
] }),
|
|
6559
|
+
] }), hs = ({
|
|
6452
6560
|
masterTitle: t,
|
|
6453
6561
|
masterSubtitle: e,
|
|
6454
6562
|
backButtonText: r,
|
|
@@ -6469,42 +6577,42 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6469
6577
|
animationDuration: C = 300,
|
|
6470
6578
|
animationRef: k
|
|
6471
6579
|
}) => {
|
|
6472
|
-
const E = `gap-${Math.round(y / 4)}` || "gap-8", z = (
|
|
6580
|
+
const E = `gap-${Math.round(y / 4)}` || "gap-8", z = (ee) => ee ? ee.split("-")[0].trim() : "Back", A = r ? z(r) : t ? z(t) : "Back", [V, H] = $(!1), [X, W] = $("auto"), _ = L(null), j = L(
|
|
6473
6581
|
null
|
|
6474
6582
|
);
|
|
6475
6583
|
P(() => (k && (k.current = {
|
|
6476
|
-
triggerTransition: (
|
|
6584
|
+
triggerTransition: (ee) => {
|
|
6477
6585
|
if (!S) {
|
|
6478
|
-
|
|
6586
|
+
ee();
|
|
6479
6587
|
return;
|
|
6480
6588
|
}
|
|
6481
|
-
if (
|
|
6482
|
-
const
|
|
6483
|
-
|
|
6589
|
+
if (_.current) {
|
|
6590
|
+
const ve = _.current.scrollHeight;
|
|
6591
|
+
W(ve);
|
|
6484
6592
|
}
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
if (
|
|
6488
|
-
const
|
|
6489
|
-
|
|
6490
|
-
|
|
6593
|
+
H(!0), j.current && clearTimeout(j.current), j.current = setTimeout(() => {
|
|
6594
|
+
ee(), setTimeout(() => {
|
|
6595
|
+
if (_.current) {
|
|
6596
|
+
const ve = _.current.scrollHeight;
|
|
6597
|
+
W(ve), setTimeout(() => {
|
|
6598
|
+
W("auto"), H(!1);
|
|
6491
6599
|
}, C);
|
|
6492
6600
|
}
|
|
6493
6601
|
}, 50);
|
|
6494
6602
|
}, C / 2);
|
|
6495
6603
|
}
|
|
6496
6604
|
}), () => {
|
|
6497
|
-
|
|
6605
|
+
j.current && clearTimeout(j.current);
|
|
6498
6606
|
}), [S, C, k]);
|
|
6499
|
-
const
|
|
6500
|
-
height:
|
|
6607
|
+
const me = S ? {
|
|
6608
|
+
height: X === "auto" ? "auto" : `${X}px`,
|
|
6501
6609
|
transition: `height ${C}ms cubic-bezier(0.4, 0, 0.2, 1)`,
|
|
6502
6610
|
width: "100%",
|
|
6503
6611
|
maxWidth: "100%"
|
|
6504
|
-
} : { width: "100%", maxWidth: "100%" },
|
|
6612
|
+
} : { width: "100%", maxWidth: "100%" }, ge = S ? `${V ? "opacity-0 transform translate-y-2" : "opacity-100 transform translate-y-0"}` : "", Re = S ? {
|
|
6505
6613
|
transition: `opacity ${C}ms ease-in-out, transform ${C}ms ease-in-out`
|
|
6506
6614
|
} : {};
|
|
6507
|
-
return /* @__PURE__ */ m(
|
|
6615
|
+
return /* @__PURE__ */ m(M, { children: [
|
|
6508
6616
|
/* @__PURE__ */ o(
|
|
6509
6617
|
"div",
|
|
6510
6618
|
{
|
|
@@ -6537,17 +6645,17 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6537
6645
|
className: "mb-4 px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md text-sm font-medium text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors",
|
|
6538
6646
|
children: [
|
|
6539
6647
|
"← ",
|
|
6540
|
-
|
|
6648
|
+
A
|
|
6541
6649
|
]
|
|
6542
6650
|
}
|
|
6543
6651
|
),
|
|
6544
6652
|
/* @__PURE__ */ o(
|
|
6545
6653
|
"div",
|
|
6546
6654
|
{
|
|
6547
|
-
ref:
|
|
6655
|
+
ref: _,
|
|
6548
6656
|
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-hidden ${d}`,
|
|
6549
|
-
style:
|
|
6550
|
-
children: /* @__PURE__ */ m("div", { className:
|
|
6657
|
+
style: me,
|
|
6658
|
+
children: /* @__PURE__ */ m("div", { className: ge, style: Re, children: [
|
|
6551
6659
|
i && /* @__PURE__ */ o(
|
|
6552
6660
|
"h1",
|
|
6553
6661
|
{
|
|
@@ -6601,10 +6709,10 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6601
6709
|
children: /* @__PURE__ */ o(
|
|
6602
6710
|
"div",
|
|
6603
6711
|
{
|
|
6604
|
-
ref:
|
|
6712
|
+
ref: _,
|
|
6605
6713
|
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-hidden ${d}`,
|
|
6606
|
-
style:
|
|
6607
|
-
children: /* @__PURE__ */ m("div", { className:
|
|
6714
|
+
style: me,
|
|
6715
|
+
children: /* @__PURE__ */ m("div", { className: ge, style: Re, children: [
|
|
6608
6716
|
i && /* @__PURE__ */ o(
|
|
6609
6717
|
"h1",
|
|
6610
6718
|
{
|
|
@@ -6623,7 +6731,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6623
6731
|
)
|
|
6624
6732
|
] })
|
|
6625
6733
|
] });
|
|
6626
|
-
},
|
|
6734
|
+
}, fs = ({
|
|
6627
6735
|
children: t
|
|
6628
6736
|
}) => (P(() => {
|
|
6629
6737
|
const e = () => {
|
|
@@ -6773,7 +6881,7 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6773
6881
|
};
|
|
6774
6882
|
return e(), r(), a(), n(), l(), s(), c(), d(), setTimeout(i, 2e3), () => {
|
|
6775
6883
|
};
|
|
6776
|
-
}, []), /* @__PURE__ */ o(
|
|
6884
|
+
}, []), /* @__PURE__ */ o(M, { children: t })), bs = () => (P(() => {
|
|
6777
6885
|
if (typeof window > "u" || typeof document > "u" || !document.documentElement)
|
|
6778
6886
|
return;
|
|
6779
6887
|
const t = () => {
|
|
@@ -6871,9 +6979,9 @@ const Xi = ({ children: t }) => /* @__PURE__ */ o(T, { children: t }), es = ({ c
|
|
|
6871
6979
|
} catch {
|
|
6872
6980
|
}
|
|
6873
6981
|
};
|
|
6874
|
-
}, []), null),
|
|
6982
|
+
}, []), null), ys = ({
|
|
6875
6983
|
children: t
|
|
6876
|
-
}) => /* @__PURE__ */ o(
|
|
6984
|
+
}) => /* @__PURE__ */ o(M, { children: t }), Da = {
|
|
6877
6985
|
// Static/rarely changing data - longer cache durations
|
|
6878
6986
|
user: { duration: 300 * 1e3, maxSize: 100, staleWhileRevalidate: !0 },
|
|
6879
6987
|
// 5 minutes
|
|
@@ -6949,25 +7057,25 @@ class Ba {
|
|
|
6949
7057
|
return Array.from(this.cache.values()).reduce((e, r) => e + JSON.stringify(r).length * 2, 0);
|
|
6950
7058
|
}
|
|
6951
7059
|
}
|
|
6952
|
-
const
|
|
6953
|
-
const a =
|
|
7060
|
+
const Q = new Ba(), U = /* @__PURE__ */ new Map(), Oa = async (t, e, r = "messages") => {
|
|
7061
|
+
const a = Da[r], n = Q.get(t, a);
|
|
6954
7062
|
if (n && !n.isStale)
|
|
6955
7063
|
return n.data;
|
|
6956
|
-
const i =
|
|
7064
|
+
const i = U.get(t);
|
|
6957
7065
|
if (i)
|
|
6958
7066
|
return i;
|
|
6959
7067
|
if (n && n.isStale && a.staleWhileRevalidate) {
|
|
6960
|
-
const s = e().then((c) => (
|
|
6961
|
-
throw
|
|
7068
|
+
const s = e().then((c) => (Q.set(t, c, a), U.delete(t), c)).catch((c) => {
|
|
7069
|
+
throw U.delete(t), c;
|
|
6962
7070
|
});
|
|
6963
|
-
return
|
|
7071
|
+
return U.set(t, s), n.data;
|
|
6964
7072
|
}
|
|
6965
|
-
const l = e().then((s) => (
|
|
6966
|
-
throw
|
|
7073
|
+
const l = e().then((s) => (Q.set(t, s, a), U.delete(t), s)).catch((s) => {
|
|
7074
|
+
throw U.delete(t), s;
|
|
6967
7075
|
});
|
|
6968
|
-
return
|
|
7076
|
+
return U.set(t, l), l;
|
|
6969
7077
|
};
|
|
6970
|
-
class
|
|
7078
|
+
class Fa {
|
|
6971
7079
|
constructor() {
|
|
6972
7080
|
this.queue = [], this.timer = null, this.batchDelay = 10;
|
|
6973
7081
|
}
|
|
@@ -7002,8 +7110,8 @@ class Oa {
|
|
|
7002
7110
|
return r;
|
|
7003
7111
|
}
|
|
7004
7112
|
}
|
|
7005
|
-
const
|
|
7006
|
-
class
|
|
7113
|
+
const Va = new Fa();
|
|
7114
|
+
class xs {
|
|
7007
7115
|
constructor(e, r = {}) {
|
|
7008
7116
|
this.requestInterceptors = [], this.responseInterceptors = [], this.baseURL = e, this.defaultHeaders = r;
|
|
7009
7117
|
}
|
|
@@ -7036,7 +7144,7 @@ class bs {
|
|
|
7036
7144
|
throw new Error(`API Error: ${g.status} ${g.statusText}`);
|
|
7037
7145
|
return g.json();
|
|
7038
7146
|
};
|
|
7039
|
-
return r.method === "GET" && this.shouldBatch(e) ?
|
|
7147
|
+
return r.method === "GET" && this.shouldBatch(e) ? Va.add(l, s) : Oa(l, s, n);
|
|
7040
7148
|
}
|
|
7041
7149
|
shouldBatch(e) {
|
|
7042
7150
|
return e.includes("/messages/") && !e.includes("/messages?");
|
|
@@ -7061,7 +7169,7 @@ class bs {
|
|
|
7061
7169
|
return this.request(e, { method: "DELETE" });
|
|
7062
7170
|
}
|
|
7063
7171
|
}
|
|
7064
|
-
const
|
|
7172
|
+
const vs = async (t, e = 3, r = 1e3) => {
|
|
7065
7173
|
let a;
|
|
7066
7174
|
for (let n = 0; n <= e; n++)
|
|
7067
7175
|
try {
|
|
@@ -7074,7 +7182,7 @@ const ys = async (t, e = 3, r = 1e3) => {
|
|
|
7074
7182
|
}
|
|
7075
7183
|
throw a;
|
|
7076
7184
|
};
|
|
7077
|
-
class
|
|
7185
|
+
class ws {
|
|
7078
7186
|
constructor() {
|
|
7079
7187
|
this.abortController = new AbortController();
|
|
7080
7188
|
}
|
|
@@ -7091,10 +7199,10 @@ class xs {
|
|
|
7091
7199
|
this.abortController.abort();
|
|
7092
7200
|
}
|
|
7093
7201
|
}
|
|
7094
|
-
const
|
|
7095
|
-
invalidate: (t) =>
|
|
7096
|
-
clear: () =>
|
|
7097
|
-
getStats: () =>
|
|
7202
|
+
const ks = {
|
|
7203
|
+
invalidate: (t) => Q.invalidate(t),
|
|
7204
|
+
clear: () => Q.clear(),
|
|
7205
|
+
getStats: () => Q.getStats(),
|
|
7098
7206
|
// Warm up cache with commonly accessed data
|
|
7099
7207
|
warmUp: async (t) => {
|
|
7100
7208
|
await Promise.allSettled(t.map((e) => e()));
|
|
@@ -7108,7 +7216,7 @@ const vs = {
|
|
|
7108
7216
|
}, 100);
|
|
7109
7217
|
}
|
|
7110
7218
|
};
|
|
7111
|
-
function
|
|
7219
|
+
function _a() {
|
|
7112
7220
|
if (typeof window > "u") return !1;
|
|
7113
7221
|
const t = window.navigator.userAgent.toLowerCase();
|
|
7114
7222
|
return [
|
|
@@ -7124,36 +7232,36 @@ function Va() {
|
|
|
7124
7232
|
"okx"
|
|
7125
7233
|
].some((r) => t.includes(r));
|
|
7126
7234
|
}
|
|
7127
|
-
function
|
|
7235
|
+
function qa() {
|
|
7128
7236
|
return typeof window > "u" ? !1 : window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1";
|
|
7129
7237
|
}
|
|
7130
|
-
function
|
|
7238
|
+
function Ha() {
|
|
7131
7239
|
if (typeof window > "u") return !1;
|
|
7132
7240
|
const t = window.location.hostname;
|
|
7133
7241
|
return /^\d+\.\d+\.\d+\.\d+$/.test(t);
|
|
7134
7242
|
}
|
|
7135
|
-
function
|
|
7136
|
-
return
|
|
7243
|
+
function Ua() {
|
|
7244
|
+
return qa() ? "localhost" : _a() ? "wallet-browser" : Ha() ? "network" : "production";
|
|
7137
7245
|
}
|
|
7138
|
-
function
|
|
7139
|
-
const t =
|
|
7246
|
+
function Cs() {
|
|
7247
|
+
const t = Ua();
|
|
7140
7248
|
return t === "localhost" || t === "wallet-browser";
|
|
7141
7249
|
}
|
|
7142
|
-
function
|
|
7250
|
+
function Ss(t) {
|
|
7143
7251
|
}
|
|
7144
|
-
function
|
|
7252
|
+
function Ga() {
|
|
7145
7253
|
return typeof window < "u";
|
|
7146
7254
|
}
|
|
7147
|
-
function
|
|
7255
|
+
function Ns() {
|
|
7148
7256
|
return typeof window < "u";
|
|
7149
7257
|
}
|
|
7150
|
-
function
|
|
7151
|
-
if (
|
|
7258
|
+
function Es(t, e) {
|
|
7259
|
+
if (Ga())
|
|
7152
7260
|
t();
|
|
7153
7261
|
else
|
|
7154
7262
|
return e;
|
|
7155
7263
|
}
|
|
7156
|
-
const
|
|
7264
|
+
const Ka = {
|
|
7157
7265
|
"default-src": ["'self'"],
|
|
7158
7266
|
"script-src": [
|
|
7159
7267
|
"'self'",
|
|
@@ -7219,7 +7327,7 @@ const Ga = {
|
|
|
7219
7327
|
"object-src": ["'none'"],
|
|
7220
7328
|
"base-uri": ["'self'"],
|
|
7221
7329
|
"form-action": ["'self'"]
|
|
7222
|
-
},
|
|
7330
|
+
}, Ya = () => Object.entries(Ka).map(([t, e]) => `${t} ${e.join(" ")}`).join("; "), $s = {
|
|
7223
7331
|
"X-Frame-Options": "DENY",
|
|
7224
7332
|
"X-Content-Type-Options": "nosniff",
|
|
7225
7333
|
"X-XSS-Protection": "1; mode=block",
|
|
@@ -7229,8 +7337,8 @@ const Ga = {
|
|
|
7229
7337
|
"Cross-Origin-Embedder-Policy": "credentialless",
|
|
7230
7338
|
"Cross-Origin-Opener-Policy": "same-origin-allow-popups",
|
|
7231
7339
|
"Cross-Origin-Resource-Policy": "cross-origin",
|
|
7232
|
-
"Content-Security-Policy":
|
|
7233
|
-
},
|
|
7340
|
+
"Content-Security-Policy": Ya()
|
|
7341
|
+
}, As = {
|
|
7234
7342
|
fonts: "public, max-age=31536000, immutable",
|
|
7235
7343
|
images: "public, max-age=31536000, immutable",
|
|
7236
7344
|
js: "public, max-age=31536000, immutable",
|
|
@@ -7238,7 +7346,7 @@ const Ga = {
|
|
|
7238
7346
|
serviceWorker: "public, max-age=0, must-revalidate",
|
|
7239
7347
|
manifest: "public, max-age=86400",
|
|
7240
7348
|
api: "no-cache, no-store, must-revalidate"
|
|
7241
|
-
},
|
|
7349
|
+
}, Is = () => {
|
|
7242
7350
|
typeof window < "u" && document.addEventListener("securitypolicyviolation", (t) => {
|
|
7243
7351
|
console.warn("CSP Violation:", {
|
|
7244
7352
|
blockedURI: t.blockedURI,
|
|
@@ -7248,25 +7356,25 @@ const Ga = {
|
|
|
7248
7356
|
lineNumber: t.lineNumber
|
|
7249
7357
|
});
|
|
7250
7358
|
});
|
|
7251
|
-
},
|
|
7359
|
+
}, Ts = {
|
|
7252
7360
|
walletConnections: "Always verify wallet signatures and never trust client-side data",
|
|
7253
7361
|
rpcEndpoints: "Use reputable RPC providers and consider rate limiting",
|
|
7254
7362
|
contractInteractions: "Validate all smart contract interactions on the backend",
|
|
7255
7363
|
userInput: "Sanitize all user inputs, especially wallet addresses and transaction data",
|
|
7256
7364
|
privateKeys: "Never log, store, or transmit private keys - they should remain in wallets only",
|
|
7257
7365
|
phishing: "Implement strict CSP to prevent injection of malicious scripts that could steal wallet access"
|
|
7258
|
-
},
|
|
7259
|
-
let
|
|
7366
|
+
}, F = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Set();
|
|
7367
|
+
let le = "medium", Me = !1;
|
|
7260
7368
|
function Qa() {
|
|
7261
7369
|
if ("connection" in navigator) {
|
|
7262
7370
|
const r = navigator.connection;
|
|
7263
|
-
r && (
|
|
7371
|
+
r && (le = r.effectiveType === "4g" ? "fast" : r.effectiveType === "3g" ? "medium" : "slow");
|
|
7264
7372
|
}
|
|
7265
7373
|
const t = navigator.deviceMemory, e = navigator.hardwareConcurrency;
|
|
7266
|
-
|
|
7374
|
+
Me = t && t < 4 || e && e < 4;
|
|
7267
7375
|
}
|
|
7268
7376
|
Qa();
|
|
7269
|
-
function
|
|
7377
|
+
function Ps(t, e, r = {}) {
|
|
7270
7378
|
const {
|
|
7271
7379
|
retries: a = 3,
|
|
7272
7380
|
timeout: n = 1e4,
|
|
@@ -7277,14 +7385,14 @@ function Is(t, e, r = {}) {
|
|
|
7277
7385
|
onLoad: d,
|
|
7278
7386
|
onError: g
|
|
7279
7387
|
} = r;
|
|
7280
|
-
if (
|
|
7281
|
-
return
|
|
7282
|
-
const p =
|
|
7388
|
+
if (F.has(e))
|
|
7389
|
+
return F.get(e).component;
|
|
7390
|
+
const p = K(async () => {
|
|
7283
7391
|
const b = performance.now();
|
|
7284
|
-
if (
|
|
7285
|
-
return
|
|
7286
|
-
const y =
|
|
7287
|
-
|
|
7392
|
+
if (te.has(e))
|
|
7393
|
+
return te.get(e).then((x) => ({ default: x }));
|
|
7394
|
+
const y = Za(t, a, n);
|
|
7395
|
+
te.set(
|
|
7288
7396
|
e,
|
|
7289
7397
|
y.then((x) => x.default)
|
|
7290
7398
|
);
|
|
@@ -7296,7 +7404,7 @@ function Is(t, e, r = {}) {
|
|
|
7296
7404
|
timestamp: Date.now(),
|
|
7297
7405
|
loadTime: S
|
|
7298
7406
|
};
|
|
7299
|
-
if (
|
|
7407
|
+
if (F.set(e, C), s === "session")
|
|
7300
7408
|
try {
|
|
7301
7409
|
sessionStorage.setItem(
|
|
7302
7410
|
`lazy_${e}`,
|
|
@@ -7309,16 +7417,16 @@ function Is(t, e, r = {}) {
|
|
|
7309
7417
|
console.warn("Session storage failed for lazy component cache");
|
|
7310
7418
|
}
|
|
7311
7419
|
}
|
|
7312
|
-
return
|
|
7420
|
+
return te.delete(e), d?.(x.default), x;
|
|
7313
7421
|
} catch (x) {
|
|
7314
|
-
throw
|
|
7422
|
+
throw te.delete(e), g?.(x), x;
|
|
7315
7423
|
}
|
|
7316
7424
|
}), f = (b) => {
|
|
7317
7425
|
const [y, x] = $(!0);
|
|
7318
7426
|
P(() => {
|
|
7319
|
-
if (l && !
|
|
7320
|
-
|
|
7321
|
-
const k =
|
|
7427
|
+
if (l && !F.has(e) && l() && !fe.has(e)) {
|
|
7428
|
+
fe.add(e);
|
|
7429
|
+
const k = Ja(c, le);
|
|
7322
7430
|
setTimeout(() => {
|
|
7323
7431
|
t().catch(console.warn);
|
|
7324
7432
|
}, k);
|
|
@@ -7332,7 +7440,7 @@ function Is(t, e, r = {}) {
|
|
|
7332
7440
|
"..."
|
|
7333
7441
|
] })
|
|
7334
7442
|
] });
|
|
7335
|
-
return !y &&
|
|
7443
|
+
return !y && Me && le === "slow" ? /* @__PURE__ */ o("div", { className: "lazy-placeholder", children: /* @__PURE__ */ m(
|
|
7336
7444
|
"button",
|
|
7337
7445
|
{
|
|
7338
7446
|
onClick: () => x(!0),
|
|
@@ -7342,11 +7450,11 @@ function Is(t, e, r = {}) {
|
|
|
7342
7450
|
e
|
|
7343
7451
|
]
|
|
7344
7452
|
}
|
|
7345
|
-
) }) : /* @__PURE__ */ o(
|
|
7453
|
+
) }) : /* @__PURE__ */ o(de, { fallback: S, children: /* @__PURE__ */ o(p, { ...b }) });
|
|
7346
7454
|
};
|
|
7347
7455
|
return f.displayName = `AdvancedLazy(${e})`, f;
|
|
7348
7456
|
}
|
|
7349
|
-
async function
|
|
7457
|
+
async function Za(t, e, r) {
|
|
7350
7458
|
let a;
|
|
7351
7459
|
for (let n = 0; n < e; n++)
|
|
7352
7460
|
try {
|
|
@@ -7365,7 +7473,7 @@ async function Ya(t, e, r) {
|
|
|
7365
7473
|
}
|
|
7366
7474
|
throw a;
|
|
7367
7475
|
}
|
|
7368
|
-
function
|
|
7476
|
+
function Ja(t, e) {
|
|
7369
7477
|
const r = {
|
|
7370
7478
|
critical: 0,
|
|
7371
7479
|
high: 500,
|
|
@@ -7378,7 +7486,7 @@ function Za(t, e) {
|
|
|
7378
7486
|
}, n = r[t] || 2e3, i = a[e] || 1;
|
|
7379
7487
|
return n * i;
|
|
7380
7488
|
}
|
|
7381
|
-
const
|
|
7489
|
+
const ie = class ie {
|
|
7382
7490
|
static registerRoute(e, r) {
|
|
7383
7491
|
this.routeMap.set(e, r), this.routeUsageStats.set(e, 0);
|
|
7384
7492
|
}
|
|
@@ -7389,9 +7497,9 @@ const ae = class ae {
|
|
|
7389
7497
|
}
|
|
7390
7498
|
static preloadLikelyRoutes(e) {
|
|
7391
7499
|
this.getRouteTransitionProbability(e).forEach(({ route: a, probability: n }) => {
|
|
7392
|
-
n > 0.3 && !
|
|
7500
|
+
n > 0.3 && !F.has(a) && setTimeout(() => {
|
|
7393
7501
|
this.routeMap.get(a);
|
|
7394
|
-
},
|
|
7502
|
+
}, le === "fast" ? 1e3 : 3e3);
|
|
7395
7503
|
});
|
|
7396
7504
|
}
|
|
7397
7505
|
static getRouteTransitionProbability(e) {
|
|
@@ -7424,15 +7532,15 @@ const ae = class ae {
|
|
|
7424
7532
|
static getStats() {
|
|
7425
7533
|
return {
|
|
7426
7534
|
routeCount: this.routeMap.size,
|
|
7427
|
-
cacheSize:
|
|
7535
|
+
cacheSize: F.size,
|
|
7428
7536
|
currentRoute: this.currentRoute,
|
|
7429
7537
|
usageStats: Object.fromEntries(this.routeUsageStats)
|
|
7430
7538
|
};
|
|
7431
7539
|
}
|
|
7432
7540
|
};
|
|
7433
|
-
|
|
7434
|
-
let _e =
|
|
7435
|
-
const
|
|
7541
|
+
ie.routeMap = /* @__PURE__ */ new Map(), ie.routeUsageStats = /* @__PURE__ */ new Map(), ie.currentRoute = "";
|
|
7542
|
+
let _e = ie;
|
|
7543
|
+
const Ls = ({ src: t, alt: e, className: r, placeholder: a, priority: n = "medium" }) => {
|
|
7436
7544
|
const [i, l] = $(!1), [s, c] = $(!1), d = v.useRef(null);
|
|
7437
7545
|
P(() => {
|
|
7438
7546
|
if (!d.current) return;
|
|
@@ -7470,26 +7578,26 @@ const Ts = ({ src: t, alt: e, className: r, placeholder: a, priority: n = "mediu
|
|
|
7470
7578
|
!i && s && /* @__PURE__ */ o("div", { className: "absolute inset-0 bg-gray-200 animate-pulse rounded" })
|
|
7471
7579
|
] });
|
|
7472
7580
|
};
|
|
7473
|
-
function
|
|
7474
|
-
|
|
7581
|
+
function Ms() {
|
|
7582
|
+
F.clear(), fe.clear();
|
|
7475
7583
|
}
|
|
7476
|
-
function
|
|
7584
|
+
function zs() {
|
|
7477
7585
|
return {
|
|
7478
|
-
cachedComponents:
|
|
7479
|
-
preloadQueue:
|
|
7480
|
-
networkSpeed:
|
|
7481
|
-
isLowEndDevice:
|
|
7482
|
-
cacheEntries: Array.from(
|
|
7586
|
+
cachedComponents: F.size,
|
|
7587
|
+
preloadQueue: fe.size,
|
|
7588
|
+
networkSpeed: le,
|
|
7589
|
+
isLowEndDevice: Me,
|
|
7590
|
+
cacheEntries: Array.from(F.entries()).map(([t, e]) => ({
|
|
7483
7591
|
name: t,
|
|
7484
7592
|
loadTime: e.loadTime,
|
|
7485
7593
|
age: Date.now() - e.timestamp
|
|
7486
7594
|
}))
|
|
7487
7595
|
};
|
|
7488
7596
|
}
|
|
7489
|
-
const
|
|
7597
|
+
const Xa = ({ message: t }) => /* @__PURE__ */ m("div", { className: "flex items-center justify-center p-4", children: [
|
|
7490
7598
|
/* @__PURE__ */ o("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
7491
7599
|
/* @__PURE__ */ o("span", { className: "ml-2 text-sm text-gray-600", children: t })
|
|
7492
|
-
] }),
|
|
7600
|
+
] }), en = (t) => {
|
|
7493
7601
|
if (typeof t == "function" || typeof t == "object")
|
|
7494
7602
|
return t;
|
|
7495
7603
|
switch (t) {
|
|
@@ -7502,10 +7610,10 @@ const Ja = ({ message: t }) => /* @__PURE__ */ m("div", { className: "flex items
|
|
|
7502
7610
|
] });
|
|
7503
7611
|
case "default":
|
|
7504
7612
|
default:
|
|
7505
|
-
return () => /* @__PURE__ */ o(
|
|
7613
|
+
return () => /* @__PURE__ */ o(Xa, { message: "Loading component..." });
|
|
7506
7614
|
}
|
|
7507
|
-
},
|
|
7508
|
-
const a =
|
|
7615
|
+
}, tn = (t, e = "default", r = 3) => {
|
|
7616
|
+
const a = K(async () => {
|
|
7509
7617
|
let i = null;
|
|
7510
7618
|
for (let l = 0; l < r; l++)
|
|
7511
7619
|
try {
|
|
@@ -7519,27 +7627,27 @@ const Ja = ({ message: t }) => /* @__PURE__ */ m("div", { className: "flex items
|
|
|
7519
7627
|
);
|
|
7520
7628
|
}
|
|
7521
7629
|
throw i;
|
|
7522
|
-
}), n =
|
|
7523
|
-
return (i) => /* @__PURE__ */ o(
|
|
7524
|
-
},
|
|
7630
|
+
}), n = en(e);
|
|
7631
|
+
return (i) => /* @__PURE__ */ o(de, { fallback: /* @__PURE__ */ o(n, {}), children: /* @__PURE__ */ o(a, { ...i }) });
|
|
7632
|
+
}, Rs = async (t) => {
|
|
7525
7633
|
try {
|
|
7526
7634
|
await t();
|
|
7527
7635
|
} catch (e) {
|
|
7528
7636
|
console.warn("Failed to preload component:", e);
|
|
7529
7637
|
}
|
|
7530
|
-
},
|
|
7638
|
+
}, Ws = (t) => {
|
|
7531
7639
|
const e = {};
|
|
7532
7640
|
return Object.entries(t).forEach(([r, a]) => {
|
|
7533
|
-
e[r] =
|
|
7641
|
+
e[r] = tn(a, "skeleton");
|
|
7534
7642
|
}), e;
|
|
7535
|
-
},
|
|
7643
|
+
}, js = (t) => t, rn = {
|
|
7536
7644
|
// Critical routes (preload immediately)
|
|
7537
7645
|
critical: ["/", "/connect", "/mail"],
|
|
7538
7646
|
// Secondary routes (preload on idle)
|
|
7539
7647
|
secondary: ["/settings", "/compose", "/points"],
|
|
7540
7648
|
// Optional routes (load on demand)
|
|
7541
7649
|
optional: ["/document", "/about", "/terms", "/privacy"]
|
|
7542
|
-
},
|
|
7650
|
+
}, se = class se {
|
|
7543
7651
|
static add(e, r) {
|
|
7544
7652
|
this.preloadedComponents.has(e) || (this.preloadQueue.push({ name: e, loader: r }), this.processQueue());
|
|
7545
7653
|
}
|
|
@@ -7571,18 +7679,18 @@ const Ja = ({ message: t }) => /* @__PURE__ */ m("div", { className: "flex items
|
|
|
7571
7679
|
this.preloadedComponents.clear(), this.preloadQueue = [], this.isPreloading = !1;
|
|
7572
7680
|
}
|
|
7573
7681
|
};
|
|
7574
|
-
|
|
7575
|
-
let qe =
|
|
7576
|
-
const
|
|
7682
|
+
se.preloadedComponents = /* @__PURE__ */ new Set(), se.preloadQueue = [], se.isPreloading = !1;
|
|
7683
|
+
let qe = se;
|
|
7684
|
+
const Ds = () => {
|
|
7577
7685
|
"requestIdleCallback" in window && window.requestIdleCallback(() => {
|
|
7578
|
-
|
|
7686
|
+
rn.secondary.forEach((t) => {
|
|
7579
7687
|
});
|
|
7580
7688
|
});
|
|
7581
7689
|
}, He = ({ message: t }) => /* @__PURE__ */ m("div", { className: "flex items-center justify-center p-4", children: [
|
|
7582
7690
|
/* @__PURE__ */ o("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
7583
7691
|
/* @__PURE__ */ o("span", { className: "ml-2 text-sm text-gray-600", children: t })
|
|
7584
|
-
] }),
|
|
7585
|
-
function
|
|
7692
|
+
] }), ce = /* @__PURE__ */ new Map();
|
|
7693
|
+
function Bs(t, e) {
|
|
7586
7694
|
const {
|
|
7587
7695
|
condition: r,
|
|
7588
7696
|
fallback: a,
|
|
@@ -7594,7 +7702,7 @@ function js(t, e) {
|
|
|
7594
7702
|
const [g, p] = v.useState(!1), [f, b] = v.useState(null);
|
|
7595
7703
|
return v.useEffect(() => {
|
|
7596
7704
|
const S = setTimeout(async () => {
|
|
7597
|
-
const C =
|
|
7705
|
+
const C = ce.get(s);
|
|
7598
7706
|
if (C && C.isValid && Date.now() - C.lastCheck < 3e5)
|
|
7599
7707
|
try {
|
|
7600
7708
|
if (await C.condition()) {
|
|
@@ -7606,8 +7714,8 @@ function js(t, e) {
|
|
|
7606
7714
|
}
|
|
7607
7715
|
try {
|
|
7608
7716
|
if (await r()) {
|
|
7609
|
-
const E = await
|
|
7610
|
-
|
|
7717
|
+
const E = await an(t, n, i);
|
|
7718
|
+
ce.set(s, {
|
|
7611
7719
|
component: E.default,
|
|
7612
7720
|
condition: r,
|
|
7613
7721
|
lastCheck: Date.now(),
|
|
@@ -7620,7 +7728,7 @@ function js(t, e) {
|
|
|
7620
7728
|
}, l === "high" ? 0 : l === "medium" ? 100 : 500);
|
|
7621
7729
|
return () => clearTimeout(S);
|
|
7622
7730
|
}, []), g ? f ? /* @__PURE__ */ o(
|
|
7623
|
-
|
|
7731
|
+
de,
|
|
7624
7732
|
{
|
|
7625
7733
|
fallback: a || /* @__PURE__ */ o(He, { message: "Loading component..." }),
|
|
7626
7734
|
children: /* @__PURE__ */ o(f, { ...d })
|
|
@@ -7629,7 +7737,7 @@ function js(t, e) {
|
|
|
7629
7737
|
};
|
|
7630
7738
|
return c.displayName = `ConditionalLazy(${s})`, c;
|
|
7631
7739
|
}
|
|
7632
|
-
const
|
|
7740
|
+
const Os = {
|
|
7633
7741
|
// Example: Premium features only for subscribed users
|
|
7634
7742
|
// PremiumEmailFeatures: createConditionalLazyComponent(
|
|
7635
7743
|
// () => import('../components/premium/PremiumEmailFeatures'),
|
|
@@ -7642,11 +7750,11 @@ const Bs = {
|
|
|
7642
7750
|
// priority: 'high'
|
|
7643
7751
|
// }
|
|
7644
7752
|
// ),
|
|
7645
|
-
},
|
|
7753
|
+
}, Fs = {
|
|
7646
7754
|
// Examples of platform-specific conditional loading
|
|
7647
7755
|
// These can be implemented as needed for specific platform optimizations
|
|
7648
7756
|
};
|
|
7649
|
-
async function
|
|
7757
|
+
async function an(t, e, r) {
|
|
7650
7758
|
let a;
|
|
7651
7759
|
for (let n = 0; n < e; n++)
|
|
7652
7760
|
try {
|
|
@@ -7662,13 +7770,13 @@ async function rn(t, e, r) {
|
|
|
7662
7770
|
}
|
|
7663
7771
|
throw a;
|
|
7664
7772
|
}
|
|
7665
|
-
function
|
|
7666
|
-
|
|
7773
|
+
function Vs() {
|
|
7774
|
+
ce.clear();
|
|
7667
7775
|
}
|
|
7668
|
-
function
|
|
7776
|
+
function _s() {
|
|
7669
7777
|
return {
|
|
7670
|
-
cachedComponents:
|
|
7671
|
-
cacheEntries: Array.from(
|
|
7778
|
+
cachedComponents: ce.size,
|
|
7779
|
+
cacheEntries: Array.from(ce.entries()).map(([t, e]) => ({
|
|
7672
7780
|
key: t,
|
|
7673
7781
|
lastCheck: e.lastCheck,
|
|
7674
7782
|
isValid: e.isValid,
|
|
@@ -7763,7 +7871,7 @@ const Ue = [
|
|
|
7763
7871
|
}
|
|
7764
7872
|
}
|
|
7765
7873
|
];
|
|
7766
|
-
class
|
|
7874
|
+
class nn {
|
|
7767
7875
|
constructor() {
|
|
7768
7876
|
this.preloaded = /* @__PURE__ */ new Set(), this.networkSpeedEstimate = "medium", this.isLowEndDevice = !1, this.userActivityScore = 0, this.detectNetworkSpeed(), this.detectDeviceCapability(), this.startUserActivityTracking();
|
|
7769
7877
|
}
|
|
@@ -7886,16 +7994,16 @@ class an {
|
|
|
7886
7994
|
};
|
|
7887
7995
|
}
|
|
7888
7996
|
}
|
|
7889
|
-
let
|
|
7890
|
-
function
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
}) :
|
|
7997
|
+
let re = null;
|
|
7998
|
+
function qs() {
|
|
7999
|
+
re || (re = new nn(), document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
8000
|
+
re?.initializePreloading();
|
|
8001
|
+
}) : re.initializePreloading());
|
|
7894
8002
|
}
|
|
7895
|
-
function
|
|
7896
|
-
return
|
|
8003
|
+
function Hs() {
|
|
8004
|
+
return re?.getPreloadingStats();
|
|
7897
8005
|
}
|
|
7898
|
-
function
|
|
8006
|
+
function Us(t) {
|
|
7899
8007
|
const e = {
|
|
7900
8008
|
// Core AI Classification
|
|
7901
8009
|
"ai-content-type": t.contentType,
|
|
@@ -7928,10 +8036,10 @@ function qs(t) {
|
|
|
7928
8036
|
};
|
|
7929
8037
|
return t.contentType === "governance-page" && (e["ai-governance-features"] = "voting-notifications,multi-sig-coordination,proposal-tracking", e["ai-dao-platforms"] = "snapshot,tally,aragon,safe,decentdao", e["ai-participation-boost"] = "85%", e["ai-treasury-management"] = "enabled"), e;
|
|
7930
8038
|
}
|
|
7931
|
-
function
|
|
8039
|
+
function on(t) {
|
|
7932
8040
|
const e = {
|
|
7933
8041
|
"@context": "https://schema.org",
|
|
7934
|
-
"@type":
|
|
8042
|
+
"@type": cn(t.contentType),
|
|
7935
8043
|
name: t.primaryTopic,
|
|
7936
8044
|
description: `Comprehensive ${t.primaryTopic} resource for ${t.targetAudience.join(", ")}`,
|
|
7937
8045
|
about: t.semanticKeywords.map((r) => ({
|
|
@@ -7966,14 +8074,14 @@ function nn(t) {
|
|
|
7966
8074
|
]
|
|
7967
8075
|
} : e;
|
|
7968
8076
|
}
|
|
7969
|
-
function
|
|
8077
|
+
function Gs(t, e) {
|
|
7970
8078
|
return e.map((r) => ({
|
|
7971
8079
|
type: "related-content",
|
|
7972
8080
|
target: r.url,
|
|
7973
8081
|
strength: r.relevance
|
|
7974
8082
|
}));
|
|
7975
8083
|
}
|
|
7976
|
-
function
|
|
8084
|
+
function sn(t) {
|
|
7977
8085
|
const e = [
|
|
7978
8086
|
"0xmail.box",
|
|
7979
8087
|
"Web3",
|
|
@@ -7995,7 +8103,7 @@ function on(t) {
|
|
|
7995
8103
|
];
|
|
7996
8104
|
return t.contentType === "governance-page" ? [...e, ...r] : e;
|
|
7997
8105
|
}
|
|
7998
|
-
function
|
|
8106
|
+
function ln(t) {
|
|
7999
8107
|
const e = [
|
|
8000
8108
|
"web3-infrastructure",
|
|
8001
8109
|
"email-technology",
|
|
@@ -8009,7 +8117,7 @@ function sn(t) {
|
|
|
8009
8117
|
];
|
|
8010
8118
|
return t.contentType === "governance-page" ? [...e, ...r] : e;
|
|
8011
8119
|
}
|
|
8012
|
-
function
|
|
8120
|
+
function Ks(t, e) {
|
|
8013
8121
|
return {
|
|
8014
8122
|
contentClassification: {
|
|
8015
8123
|
type: t.contentType,
|
|
@@ -8019,14 +8127,14 @@ function Us(t, e) {
|
|
|
8019
8127
|
purpose: t.contentPurpose,
|
|
8020
8128
|
vertical: t.industryVertical
|
|
8021
8129
|
},
|
|
8022
|
-
semanticMarkup:
|
|
8023
|
-
entityRecognition:
|
|
8024
|
-
topicClustering:
|
|
8130
|
+
semanticMarkup: on(t),
|
|
8131
|
+
entityRecognition: sn(t),
|
|
8132
|
+
topicClustering: ln(t),
|
|
8025
8133
|
contentRelationships: e?.contentRelationships || [],
|
|
8026
8134
|
...e
|
|
8027
8135
|
};
|
|
8028
8136
|
}
|
|
8029
|
-
function
|
|
8137
|
+
function cn(t) {
|
|
8030
8138
|
return {
|
|
8031
8139
|
article: "Article",
|
|
8032
8140
|
"landing-page": "WebPage",
|
|
@@ -8035,7 +8143,7 @@ function ln(t) {
|
|
|
8035
8143
|
documentation: "TechArticle"
|
|
8036
8144
|
}[t] || "WebPage";
|
|
8037
8145
|
}
|
|
8038
|
-
function
|
|
8146
|
+
function Ys(t) {
|
|
8039
8147
|
return {
|
|
8040
8148
|
"@context": "https://schema.org",
|
|
8041
8149
|
"@type": "MonitorAction",
|
|
@@ -8057,7 +8165,7 @@ function Gs(t) {
|
|
|
8057
8165
|
}
|
|
8058
8166
|
};
|
|
8059
8167
|
}
|
|
8060
|
-
const
|
|
8168
|
+
const Qs = {
|
|
8061
8169
|
governancePage: {
|
|
8062
8170
|
contentType: "governance-page",
|
|
8063
8171
|
primaryTopic: "DAO Governance Communication Platform",
|
|
@@ -8145,24 +8253,24 @@ const Ks = {
|
|
|
8145
8253
|
"premium-upgrade"
|
|
8146
8254
|
]
|
|
8147
8255
|
}
|
|
8148
|
-
},
|
|
8256
|
+
}, dn = ({
|
|
8149
8257
|
message: t,
|
|
8150
8258
|
className: e
|
|
8151
8259
|
}) => /* @__PURE__ */ m("div", { className: `flex items-center justify-center p-4 ${e || ""}`, children: [
|
|
8152
8260
|
/* @__PURE__ */ o("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
8153
8261
|
/* @__PURE__ */ o("span", { className: "ml-2 text-sm text-gray-600", children: t })
|
|
8154
|
-
] }),
|
|
8262
|
+
] }), Ce = /* @__PURE__ */ new Map(), oe = /* @__PURE__ */ new Set();
|
|
8155
8263
|
function ft() {
|
|
8156
8264
|
const t = [];
|
|
8157
|
-
return !!window.ethereum?.isMetaMask && (
|
|
8265
|
+
return !!window.ethereum?.isMetaMask && (oe.add("metamask"), t.push({
|
|
8158
8266
|
name: "MetaMask",
|
|
8159
8267
|
detected: !0,
|
|
8160
8268
|
priority: 1
|
|
8161
|
-
})), !!window.ethereum?.isCoinbaseWallet && (
|
|
8269
|
+
})), !!window.ethereum?.isCoinbaseWallet && (oe.add("coinbase"), t.push({
|
|
8162
8270
|
name: "Coinbase Wallet",
|
|
8163
8271
|
detected: !0,
|
|
8164
8272
|
priority: 2
|
|
8165
|
-
})), !!window.solana?.isPhantom && (
|
|
8273
|
+
})), !!window.solana?.isPhantom && (oe.add("phantom"), t.push({
|
|
8166
8274
|
name: "Phantom",
|
|
8167
8275
|
detected: !0,
|
|
8168
8276
|
priority: 3
|
|
@@ -8174,15 +8282,15 @@ function ft() {
|
|
|
8174
8282
|
}
|
|
8175
8283
|
function bt(t) {
|
|
8176
8284
|
const e = `wallet-${t.toLowerCase()}`;
|
|
8177
|
-
if (
|
|
8178
|
-
return
|
|
8179
|
-
const a =
|
|
8285
|
+
if (Ce.has(e))
|
|
8286
|
+
return Ce.get(e);
|
|
8287
|
+
const a = K(() => Promise.resolve({
|
|
8180
8288
|
default: () => v.createElement("div", {}, `${t} Provider Placeholder`)
|
|
8181
8289
|
})), n = (i) => /* @__PURE__ */ o(
|
|
8182
|
-
|
|
8290
|
+
de,
|
|
8183
8291
|
{
|
|
8184
8292
|
fallback: /* @__PURE__ */ o(
|
|
8185
|
-
|
|
8293
|
+
dn,
|
|
8186
8294
|
{
|
|
8187
8295
|
message: `Loading ${t} wallet...`,
|
|
8188
8296
|
className: "wallet-loading"
|
|
@@ -8191,16 +8299,16 @@ function bt(t) {
|
|
|
8191
8299
|
children: /* @__PURE__ */ o(a, { ...i })
|
|
8192
8300
|
}
|
|
8193
8301
|
);
|
|
8194
|
-
return n.displayName = `Lazy${t}Provider`,
|
|
8302
|
+
return n.displayName = `Lazy${t}Provider`, Ce.set(e, n), n;
|
|
8195
8303
|
}
|
|
8196
|
-
function
|
|
8304
|
+
function Zs({
|
|
8197
8305
|
children: t
|
|
8198
8306
|
}) {
|
|
8199
8307
|
const e = ft();
|
|
8200
8308
|
return e.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
|
|
8201
8309
|
setTimeout(() => {
|
|
8202
8310
|
}, 1e3);
|
|
8203
|
-
}), /* @__PURE__ */ m(
|
|
8311
|
+
}), /* @__PURE__ */ m(M, { children: [
|
|
8204
8312
|
e.map((r) => {
|
|
8205
8313
|
const a = bt(r.name);
|
|
8206
8314
|
return /* @__PURE__ */ o(a, {}, r.name);
|
|
@@ -8208,7 +8316,7 @@ function Qs({
|
|
|
8208
8316
|
t
|
|
8209
8317
|
] });
|
|
8210
8318
|
}
|
|
8211
|
-
const
|
|
8319
|
+
const ze = class ze {
|
|
8212
8320
|
static preloadWallet(e) {
|
|
8213
8321
|
const r = e.toLowerCase();
|
|
8214
8322
|
this.preloadedWallets.has(r) || (this.preloadedWallets.add(r), setTimeout(() => {
|
|
@@ -8226,19 +8334,19 @@ const Pe = class Pe {
|
|
|
8226
8334
|
return Array.from(this.preloadedWallets);
|
|
8227
8335
|
}
|
|
8228
8336
|
};
|
|
8229
|
-
|
|
8230
|
-
let
|
|
8231
|
-
function
|
|
8337
|
+
ze.preloadedWallets = /* @__PURE__ */ new Set();
|
|
8338
|
+
let be = ze;
|
|
8339
|
+
function Js() {
|
|
8232
8340
|
return {
|
|
8233
8341
|
availableWallets: ft(),
|
|
8234
8342
|
preloadWallet: (a) => {
|
|
8235
|
-
|
|
8343
|
+
be.preloadWallet(a);
|
|
8236
8344
|
},
|
|
8237
|
-
getDetectedWallets: () => Array.from(
|
|
8238
|
-
hasWallet: (a) =>
|
|
8345
|
+
getDetectedWallets: () => Array.from(oe),
|
|
8346
|
+
hasWallet: (a) => oe.has(a.toLowerCase())
|
|
8239
8347
|
};
|
|
8240
8348
|
}
|
|
8241
|
-
function
|
|
8349
|
+
function Xs({
|
|
8242
8350
|
walletName: t,
|
|
8243
8351
|
onConnect: e,
|
|
8244
8352
|
disabled: r = !1
|
|
@@ -8247,7 +8355,7 @@ function Zs({
|
|
|
8247
8355
|
"button",
|
|
8248
8356
|
{
|
|
8249
8357
|
onClick: () => {
|
|
8250
|
-
|
|
8358
|
+
be.preloadWallet(t), setTimeout(e, 100);
|
|
8251
8359
|
},
|
|
8252
8360
|
disabled: r,
|
|
8253
8361
|
className: "wallet-connect-btn",
|
|
@@ -8259,7 +8367,7 @@ function Zs({
|
|
|
8259
8367
|
}
|
|
8260
8368
|
);
|
|
8261
8369
|
}
|
|
8262
|
-
class
|
|
8370
|
+
class el {
|
|
8263
8371
|
constructor() {
|
|
8264
8372
|
this.criticalResources = [], this.observedMetrics = {
|
|
8265
8373
|
fcp: 0,
|
|
@@ -8474,7 +8582,7 @@ class Js {
|
|
|
8474
8582
|
return this.observedMetrics.fcp > 2e3 ? e -= 20 : this.observedMetrics.fcp > 1500 && (e -= 10), this.observedMetrics.lcp > 2500 ? e -= 25 : this.observedMetrics.lcp > 2e3 && (e -= 15), this.observedMetrics.cls > 0.1 ? e -= 15 : this.observedMetrics.cls > 0.05 && (e -= 8), this.observedMetrics.ttfb > 600 ? e -= 10 : this.observedMetrics.ttfb > 400 && (e -= 5), Math.max(e, 0);
|
|
8475
8583
|
}
|
|
8476
8584
|
}
|
|
8477
|
-
const
|
|
8585
|
+
const Se = {
|
|
8478
8586
|
// Mark performance milestones
|
|
8479
8587
|
mark: (t) => {
|
|
8480
8588
|
typeof performance < "u" && performance.mark && performance.mark(t);
|
|
@@ -8497,27 +8605,27 @@ const we = {
|
|
|
8497
8605
|
clearEntries: (t) => {
|
|
8498
8606
|
typeof performance < "u" && (t ? (performance.clearMeasures?.(t), performance.clearMarks?.(t)) : (performance.clearMeasures?.(), performance.clearMarks?.()));
|
|
8499
8607
|
}
|
|
8500
|
-
},
|
|
8501
|
-
P(() => (
|
|
8502
|
-
|
|
8608
|
+
}, tl = (t, e = []) => {
|
|
8609
|
+
P(() => (Se.mark(`${t}-start`), () => {
|
|
8610
|
+
Se.mark(`${t}-end`), Se.measure(t, `${t}-start`, `${t}-end`);
|
|
8503
8611
|
}), [t, e]);
|
|
8504
|
-
},
|
|
8612
|
+
}, rl = (t) => {
|
|
8505
8613
|
const e = L(t);
|
|
8506
|
-
return e.current = t,
|
|
8614
|
+
return e.current = t, D(
|
|
8507
8615
|
(...r) => e.current(...r),
|
|
8508
8616
|
[]
|
|
8509
8617
|
);
|
|
8510
|
-
},
|
|
8618
|
+
}, al = (t, e, r) => {
|
|
8511
8619
|
const a = L(e), n = L(void 0);
|
|
8512
|
-
return
|
|
8620
|
+
return Ae(() => (r && process.env.NODE_ENV === "development" && e.some(
|
|
8513
8621
|
(i, l) => i !== a.current[l]
|
|
8514
8622
|
), a.current = e, n.current = t(), n.current), [t, r, e]);
|
|
8515
|
-
},
|
|
8516
|
-
const e =
|
|
8517
|
-
|
|
8623
|
+
}, ye = /* @__PURE__ */ new Map(), nl = (t) => {
|
|
8624
|
+
const e = ye.get(t) || 0;
|
|
8625
|
+
ye.set(t, e + 1), P(() => {
|
|
8518
8626
|
process.env.NODE_ENV;
|
|
8519
8627
|
});
|
|
8520
|
-
},
|
|
8628
|
+
}, ol = () => Object.fromEntries(ye), il = () => ye.clear(), sl = (t) => v.lazy(t), ll = (t = 0.1) => {
|
|
8521
8629
|
const [e, r] = $(/* @__PURE__ */ new Set()), a = L(null);
|
|
8522
8630
|
P(() => (a.current = new IntersectionObserver(
|
|
8523
8631
|
(i) => {
|
|
@@ -8532,11 +8640,11 @@ const we = {
|
|
|
8532
8640
|
},
|
|
8533
8641
|
{ threshold: t }
|
|
8534
8642
|
), () => a.current?.disconnect()), [t]);
|
|
8535
|
-
const n =
|
|
8643
|
+
const n = D((i) => {
|
|
8536
8644
|
i && a.current && a.current.observe(i);
|
|
8537
8645
|
}, []);
|
|
8538
8646
|
return { loadedImages: e, observeImage: n };
|
|
8539
|
-
},
|
|
8647
|
+
}, cl = (t) => {
|
|
8540
8648
|
typeof window < "u" && "requestIdleCallback" in window ? window.requestIdleCallback(() => {
|
|
8541
8649
|
t().catch(() => {
|
|
8542
8650
|
});
|
|
@@ -8544,25 +8652,25 @@ const we = {
|
|
|
8544
8652
|
t().catch(() => {
|
|
8545
8653
|
});
|
|
8546
8654
|
}, 100);
|
|
8547
|
-
}, yt = {},
|
|
8655
|
+
}, yt = {}, dl = (t) => {
|
|
8548
8656
|
yt[t.name] = t.value, process.env.NODE_ENV;
|
|
8549
|
-
},
|
|
8657
|
+
}, ul = () => yt, ml = (t, e = "script") => {
|
|
8550
8658
|
if (typeof document < "u") {
|
|
8551
8659
|
const r = document.createElement("link");
|
|
8552
8660
|
r.rel = "prefetch", r.href = t, r.as = e, document.head.appendChild(r);
|
|
8553
8661
|
}
|
|
8554
|
-
},
|
|
8662
|
+
}, gl = (t, e = "script", r) => {
|
|
8555
8663
|
if (typeof document < "u") {
|
|
8556
8664
|
const a = document.createElement("link");
|
|
8557
8665
|
a.rel = "preload", a.href = t, a.as = e, r && (a.crossOrigin = "anonymous"), document.head.appendChild(a);
|
|
8558
8666
|
}
|
|
8559
|
-
},
|
|
8560
|
-
const e = L(/* @__PURE__ */ new Set()), r = L(/* @__PURE__ */ new Set()), a =
|
|
8667
|
+
}, pl = (t) => {
|
|
8668
|
+
const e = L(/* @__PURE__ */ new Set()), r = L(/* @__PURE__ */ new Set()), a = D((i, l) => {
|
|
8561
8669
|
const s = setTimeout(() => {
|
|
8562
8670
|
e.current.delete(s), i();
|
|
8563
8671
|
}, l);
|
|
8564
8672
|
return e.current.add(s), s;
|
|
8565
|
-
}, []), n =
|
|
8673
|
+
}, []), n = D((i, l) => {
|
|
8566
8674
|
const s = setInterval(i, l);
|
|
8567
8675
|
return r.current.add(s), s;
|
|
8568
8676
|
}, []);
|
|
@@ -8572,7 +8680,7 @@ const we = {
|
|
|
8572
8680
|
i.forEach((s) => clearTimeout(s)), l.forEach((s) => clearInterval(s)), process.env.NODE_ENV;
|
|
8573
8681
|
};
|
|
8574
8682
|
}, [t]), { createTimer: a, createInterval: n };
|
|
8575
|
-
},
|
|
8683
|
+
}, q = {
|
|
8576
8684
|
// Bundle size limits (in KB)
|
|
8577
8685
|
maxBundleSize: 500,
|
|
8578
8686
|
maxChunkSize: 200,
|
|
@@ -8588,32 +8696,32 @@ const we = {
|
|
|
8588
8696
|
// 0.1
|
|
8589
8697
|
check: (t) => {
|
|
8590
8698
|
const e = [];
|
|
8591
|
-
return t.FCP && t.FCP >
|
|
8592
|
-
`FCP (${t.FCP}ms) exceeds budget (${
|
|
8593
|
-
), t.LCP && t.LCP >
|
|
8594
|
-
`LCP (${t.LCP}ms) exceeds budget (${
|
|
8595
|
-
), t.FID && t.FID >
|
|
8596
|
-
`FID (${t.FID}ms) exceeds budget (${
|
|
8597
|
-
), t.CLS && t.CLS >
|
|
8598
|
-
`CLS (${t.CLS}) exceeds budget (${
|
|
8699
|
+
return t.FCP && t.FCP > q.maxFCP && e.push(
|
|
8700
|
+
`FCP (${t.FCP}ms) exceeds budget (${q.maxFCP}ms)`
|
|
8701
|
+
), t.LCP && t.LCP > q.maxLCP && e.push(
|
|
8702
|
+
`LCP (${t.LCP}ms) exceeds budget (${q.maxLCP}ms)`
|
|
8703
|
+
), t.FID && t.FID > q.maxFID && e.push(
|
|
8704
|
+
`FID (${t.FID}ms) exceeds budget (${q.maxFID}ms)`
|
|
8705
|
+
), t.CLS && t.CLS > q.maxCLS && e.push(
|
|
8706
|
+
`CLS (${t.CLS}) exceeds budget (${q.maxCLS})`
|
|
8599
8707
|
), e;
|
|
8600
8708
|
}
|
|
8601
|
-
},
|
|
8709
|
+
}, hl = ({
|
|
8602
8710
|
contentType: t,
|
|
8603
8711
|
aiSummary: e,
|
|
8604
8712
|
technicalComplexity: r = "intermediate"
|
|
8605
|
-
}) => /* @__PURE__ */ m(
|
|
8713
|
+
}) => /* @__PURE__ */ m(tr, { children: [
|
|
8606
8714
|
/* @__PURE__ */ o("meta", { name: "ai:content-type", content: t }),
|
|
8607
8715
|
/* @__PURE__ */ o("meta", { name: "ai:summary", content: e }),
|
|
8608
8716
|
/* @__PURE__ */ o("meta", { name: "ai:complexity", content: r })
|
|
8609
|
-
] }),
|
|
8717
|
+
] }), fl = ({
|
|
8610
8718
|
children: t,
|
|
8611
8719
|
className: e,
|
|
8612
8720
|
...r
|
|
8613
|
-
}) => /* @__PURE__ */ o("main", { className: e, ...r, role: "main", children: t }),
|
|
8721
|
+
}) => /* @__PURE__ */ o("main", { className: e, ...r, role: "main", children: t }), bl = ({
|
|
8614
8722
|
children: t
|
|
8615
|
-
}) => /* @__PURE__ */ o(
|
|
8616
|
-
const e =
|
|
8723
|
+
}) => /* @__PURE__ */ o(M, { children: t }), J = (t) => Array.isArray(t) ? t : typeof t == "string" ? t.split(",").map((e) => e.trim()).filter(Boolean) : [], Ge = (t) => {
|
|
8724
|
+
const e = J(t.audience);
|
|
8617
8725
|
return {
|
|
8618
8726
|
"@context": "https://schema.org",
|
|
8619
8727
|
"@type": "SoftwareApplication",
|
|
@@ -8700,7 +8808,7 @@ const we = {
|
|
|
8700
8808
|
}
|
|
8701
8809
|
};
|
|
8702
8810
|
}, Ke = (t) => {
|
|
8703
|
-
const e =
|
|
8811
|
+
const e = J(t.keywords), r = J(t.audience);
|
|
8704
8812
|
return {
|
|
8705
8813
|
"@context": "https://schema.org",
|
|
8706
8814
|
"@type": "TechnicalArticle",
|
|
@@ -8771,7 +8879,7 @@ const we = {
|
|
|
8771
8879
|
"Smart contract integration"
|
|
8772
8880
|
]
|
|
8773
8881
|
};
|
|
8774
|
-
},
|
|
8882
|
+
}, yl = (t) => ({
|
|
8775
8883
|
"@context": "https://schema.org",
|
|
8776
8884
|
"@type": "FAQPage",
|
|
8777
8885
|
mainEntity: t.map((e) => ({
|
|
@@ -8792,7 +8900,7 @@ const we = {
|
|
|
8792
8900
|
dateCreated: "2024-01-01T00:00:00Z",
|
|
8793
8901
|
category: e.category || "Web3 Email"
|
|
8794
8902
|
}))
|
|
8795
|
-
}),
|
|
8903
|
+
}), Ye = (t) => ({
|
|
8796
8904
|
"@context": "https://schema.org",
|
|
8797
8905
|
"@type": "WebPage",
|
|
8798
8906
|
name: t.title,
|
|
@@ -8856,8 +8964,8 @@ const we = {
|
|
|
8856
8964
|
},
|
|
8857
8965
|
name: "Connect Web3 Wallet"
|
|
8858
8966
|
}
|
|
8859
|
-
}),
|
|
8860
|
-
const e =
|
|
8967
|
+
}), un = (t) => {
|
|
8968
|
+
const e = J(t.keywords);
|
|
8861
8969
|
return {
|
|
8862
8970
|
"og:title": t.title,
|
|
8863
8971
|
"og:description": t.description,
|
|
@@ -8875,7 +8983,7 @@ const we = {
|
|
|
8875
8983
|
"article:published_time": "2024-01-01T00:00:00Z",
|
|
8876
8984
|
"article:modified_time": t.lastUpdated?.toISOString() || (/* @__PURE__ */ new Date()).toISOString()
|
|
8877
8985
|
};
|
|
8878
|
-
},
|
|
8986
|
+
}, mn = (t) => ({
|
|
8879
8987
|
"twitter:card": "summary_large_image",
|
|
8880
8988
|
"twitter:site": "@0xmailbox",
|
|
8881
8989
|
"twitter:creator": "@0xmailbox",
|
|
@@ -8887,8 +8995,8 @@ const we = {
|
|
|
8887
8995
|
"twitter:data1": t.category,
|
|
8888
8996
|
"twitter:label2": "Reading Time",
|
|
8889
8997
|
"twitter:data2": t.readingTime ? `${t.readingTime} min` : "5 min"
|
|
8890
|
-
}),
|
|
8891
|
-
const e =
|
|
8998
|
+
}), gn = (t) => {
|
|
8999
|
+
const e = J(t.keywords), r = J(t.audience);
|
|
8892
9000
|
return {
|
|
8893
9001
|
// General AI optimization
|
|
8894
9002
|
"ai:content-type": t.contentType,
|
|
@@ -8916,21 +9024,21 @@ const we = {
|
|
|
8916
9024
|
"content:expertise": "technical",
|
|
8917
9025
|
"content:trustworthiness": "verified"
|
|
8918
9026
|
};
|
|
8919
|
-
},
|
|
9027
|
+
}, xl = (t) => ({
|
|
8920
9028
|
structuredData: {
|
|
8921
9029
|
product: Ge(t),
|
|
8922
9030
|
article: Ke(t),
|
|
8923
|
-
aiOptimized:
|
|
9031
|
+
aiOptimized: Ye(t)
|
|
8924
9032
|
},
|
|
8925
|
-
openGraph:
|
|
8926
|
-
twitterCard:
|
|
8927
|
-
aiMetaTags:
|
|
9033
|
+
openGraph: un(t),
|
|
9034
|
+
twitterCard: mn(t),
|
|
9035
|
+
aiMetaTags: gn(t),
|
|
8928
9036
|
jsonLD: [
|
|
8929
9037
|
Ge(t),
|
|
8930
9038
|
Ke(t),
|
|
8931
|
-
|
|
9039
|
+
Ye(t)
|
|
8932
9040
|
]
|
|
8933
|
-
}),
|
|
9041
|
+
}), vl = {
|
|
8934
9042
|
homepage: {
|
|
8935
9043
|
title: "0xmail.box - Revolutionary Web3 Email Platform | Wallet-Based Authentication",
|
|
8936
9044
|
description: "Transform your email experience with 0xmail.box - the first Web3 email platform using wallet authentication. No passwords, enhanced security, ENS/SNS domain support, and smart contract integration.",
|
|
@@ -8994,7 +9102,7 @@ const we = {
|
|
|
8994
9102
|
readingTime: 8,
|
|
8995
9103
|
relatedTopics: ["Token economics", "Reward systems", "Referral marketing"]
|
|
8996
9104
|
}
|
|
8997
|
-
},
|
|
9105
|
+
}, wl = (t) => {
|
|
8998
9106
|
const {
|
|
8999
9107
|
level: e,
|
|
9000
9108
|
text: r,
|
|
@@ -9035,7 +9143,7 @@ const we = {
|
|
|
9035
9143
|
},
|
|
9036
9144
|
r
|
|
9037
9145
|
);
|
|
9038
|
-
},
|
|
9146
|
+
}, B = {
|
|
9039
9147
|
pageTitle: (t, e) => ({
|
|
9040
9148
|
level: 1,
|
|
9041
9149
|
text: t,
|
|
@@ -9072,7 +9180,7 @@ const we = {
|
|
|
9072
9180
|
className: e,
|
|
9073
9181
|
semanticContext: "feature"
|
|
9074
9182
|
})
|
|
9075
|
-
},
|
|
9183
|
+
}, kl = (t) => {
|
|
9076
9184
|
const e = [], r = [], a = t.filter((n) => n.level === 1).length;
|
|
9077
9185
|
a === 0 ? e.push("Missing H1 tag - every page should have exactly one H1") : a > 1 && e.push(
|
|
9078
9186
|
`Multiple H1 tags found (${a}) - use only one H1 per page`
|
|
@@ -9092,17 +9200,17 @@ const we = {
|
|
|
9092
9200
|
errors: e,
|
|
9093
9201
|
suggestions: r
|
|
9094
9202
|
};
|
|
9095
|
-
},
|
|
9096
|
-
walletConnection:
|
|
9097
|
-
emailBenefits:
|
|
9098
|
-
securityFeature:
|
|
9099
|
-
ensIntegration:
|
|
9100
|
-
multiChain:
|
|
9101
|
-
passwordless:
|
|
9102
|
-
setupStep1:
|
|
9103
|
-
setupStep2:
|
|
9104
|
-
setupStep3:
|
|
9105
|
-
},
|
|
9203
|
+
}, Cl = {
|
|
9204
|
+
walletConnection: B.pageTitle("Connect Your Web3 Wallet"),
|
|
9205
|
+
emailBenefits: B.majorSection("Why Choose Web3 Email?"),
|
|
9206
|
+
securityFeature: B.feature("Secure & Private"),
|
|
9207
|
+
ensIntegration: B.feature("ENS Domain Support"),
|
|
9208
|
+
multiChain: B.feature("Multi-Chain Compatibility"),
|
|
9209
|
+
passwordless: B.benefit("No Passwords Required"),
|
|
9210
|
+
setupStep1: B.step("Connect Your Wallet", 1),
|
|
9211
|
+
setupStep2: B.step("Verify Your Identity", 2),
|
|
9212
|
+
setupStep3: B.step("Access Your Emails", 3)
|
|
9213
|
+
}, Sl = [
|
|
9106
9214
|
{
|
|
9107
9215
|
term: "Web3 Email",
|
|
9108
9216
|
definition: "Email system that uses blockchain wallet addresses as authentication instead of traditional passwords",
|
|
@@ -9187,7 +9295,7 @@ const we = {
|
|
|
9187
9295
|
examples: ["Gmail to Web3 email", "Outlook integration"],
|
|
9188
9296
|
context: "Web2/Web3 bridge ensures compatibility with existing email infrastructure"
|
|
9189
9297
|
}
|
|
9190
|
-
],
|
|
9298
|
+
], Nl = (t) => ({
|
|
9191
9299
|
// Semantic markup for AI understanding
|
|
9192
9300
|
"@context": "https://schema.org",
|
|
9193
9301
|
"@type": "LearningResource",
|
|
@@ -9205,7 +9313,7 @@ const we = {
|
|
|
9205
9313
|
keywords: t.concepts,
|
|
9206
9314
|
applicationExample: t.practicalApplications,
|
|
9207
9315
|
isRelatedTo: t.relatedConcepts
|
|
9208
|
-
}),
|
|
9316
|
+
}), El = (t) => {
|
|
9209
9317
|
const e = {
|
|
9210
9318
|
nodes: t.map((r) => ({
|
|
9211
9319
|
id: r.term,
|
|
@@ -9230,7 +9338,7 @@ const we = {
|
|
|
9230
9338
|
});
|
|
9231
9339
|
});
|
|
9232
9340
|
}), e;
|
|
9233
|
-
},
|
|
9341
|
+
}, $l = (t) => {
|
|
9234
9342
|
const e = [];
|
|
9235
9343
|
return t.examples?.forEach((r) => {
|
|
9236
9344
|
e.push({
|
|
@@ -9250,7 +9358,7 @@ const we = {
|
|
|
9250
9358
|
type: "definition",
|
|
9251
9359
|
confidence: 1
|
|
9252
9360
|
}), e;
|
|
9253
|
-
},
|
|
9361
|
+
}, Al = (t) => {
|
|
9254
9362
|
const e = [];
|
|
9255
9363
|
return t.forEach((r) => {
|
|
9256
9364
|
e.push({
|
|
@@ -9275,7 +9383,7 @@ const we = {
|
|
|
9275
9383
|
difficulty: "intermediate"
|
|
9276
9384
|
});
|
|
9277
9385
|
}), e;
|
|
9278
|
-
},
|
|
9386
|
+
}, Il = {
|
|
9279
9387
|
homepage: {
|
|
9280
9388
|
domain: "Web3 Email Platform",
|
|
9281
9389
|
category: "Web3 Communication",
|
|
@@ -9366,346 +9474,347 @@ const we = {
|
|
|
9366
9474
|
* @author John Qiu Huang
|
|
9367
9475
|
* @license MIT
|
|
9368
9476
|
*/
|
|
9369
|
-
const
|
|
9477
|
+
const Tl = {
|
|
9370
9478
|
utils: {
|
|
9371
9479
|
cn: h
|
|
9372
9480
|
}
|
|
9373
9481
|
};
|
|
9374
9482
|
export {
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9483
|
+
hl as AIMeta,
|
|
9484
|
+
bl as AITrainingEnhancer,
|
|
9485
|
+
Il as AI_TRAINING_CONFIGS,
|
|
9486
|
+
qo as Alert,
|
|
9487
|
+
_o as AlertDescription,
|
|
9488
|
+
Vo as AlertTitle,
|
|
9489
|
+
Z as AnimatedSection,
|
|
9490
|
+
Ml as ArrowLeftIcon,
|
|
9491
|
+
zl as ArrowRightIcon,
|
|
9492
|
+
Rl as Bars3Icon,
|
|
9493
|
+
ds as BatchRender,
|
|
9494
|
+
Wl as BellIcon,
|
|
9495
|
+
jl as BellSlashIcon,
|
|
9496
|
+
Ti as BodyText,
|
|
9497
|
+
Wa as Breadcrumb,
|
|
9498
|
+
qi as BreadcrumbSection,
|
|
9499
|
+
G as Button,
|
|
9500
|
+
ms as CTASection,
|
|
9501
|
+
Jo as CalloutBox,
|
|
9502
|
+
ws as CancellableRequest,
|
|
9395
9503
|
ct as Card,
|
|
9396
|
-
|
|
9504
|
+
Yo as CardContent,
|
|
9397
9505
|
Qo as CardFooter,
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9506
|
+
Ko as CardHeader,
|
|
9507
|
+
Kr as ChainBadge,
|
|
9508
|
+
Dl as ChartBarIcon,
|
|
9509
|
+
Bl as CheckCircleIcon,
|
|
9510
|
+
bc as CheckCircleIconSolid,
|
|
9511
|
+
Ol as CheckIcon,
|
|
9512
|
+
yc as CheckIconSolid,
|
|
9513
|
+
Fl as ChevronDownIcon,
|
|
9514
|
+
Vl as ChevronLeftIcon,
|
|
9515
|
+
_l as ChevronRightIcon,
|
|
9516
|
+
ql as ChevronUpIcon,
|
|
9517
|
+
Hl as ClockIcon,
|
|
9518
|
+
Hi as CodeBlock,
|
|
9519
|
+
Ul as CodeBracketIcon,
|
|
9520
|
+
Ui as CodeExampleBlock,
|
|
9521
|
+
Gl as Cog6ToothIcon,
|
|
9522
|
+
Gi as CollapsibleDocumentationTopic,
|
|
9415
9523
|
Fe as CollapsibleEmailField,
|
|
9416
|
-
|
|
9524
|
+
Xo as ComparisonSection,
|
|
9417
9525
|
qe as ComponentPreloader,
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9526
|
+
ss as ConditionalRender,
|
|
9527
|
+
Ri as ConfirmationDialog,
|
|
9528
|
+
ti as ContentContainer,
|
|
9529
|
+
Kl as CreditCardIcon,
|
|
9530
|
+
Yl as DocumentTextIcon,
|
|
9531
|
+
ri as Dropdown,
|
|
9532
|
+
pi as EmailAccountsList,
|
|
9425
9533
|
pt as EmailInputField,
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9534
|
+
ki as EmailInputGroup,
|
|
9535
|
+
sa as EmptyState,
|
|
9536
|
+
Ql as EnvelopeIcon,
|
|
9537
|
+
Xi as ErrorBoundary,
|
|
9538
|
+
es as ErrorBoundaryLazy,
|
|
9539
|
+
Zl as ExclamationTriangleIcon,
|
|
9540
|
+
xc as ExclamationTriangleIconSolid,
|
|
9541
|
+
os as ExpensiveComponent,
|
|
9542
|
+
Jl as EyeSlashIcon,
|
|
9543
|
+
Uo as FadeInScale,
|
|
9544
|
+
Ho as FadeInUp,
|
|
9545
|
+
Fi as FeatureBlock,
|
|
9546
|
+
ai as FeatureCard,
|
|
9547
|
+
ni as FeatureGrid,
|
|
9548
|
+
bi as FlexContainer,
|
|
9549
|
+
Go as FloatingElement,
|
|
9550
|
+
Le as FormFieldGroup,
|
|
9551
|
+
Oi as FormSection,
|
|
9552
|
+
ji as FreeEmailBanner,
|
|
9553
|
+
Xl as GlobeAltIcon,
|
|
9554
|
+
ii as HeroBannerWithBadge,
|
|
9555
|
+
ec as HomeIcon,
|
|
9556
|
+
Wi as IconContainer,
|
|
9557
|
+
tc as InboxIcon,
|
|
9558
|
+
Zo as InfoCard,
|
|
9559
|
+
Di as InfoPanel,
|
|
9560
|
+
rc as InformationCircleIcon,
|
|
9453
9561
|
Br as Input,
|
|
9454
|
-
|
|
9562
|
+
Fo as KYCLevelCard,
|
|
9455
9563
|
Bo as KYCStatusBadge,
|
|
9456
|
-
|
|
9564
|
+
ac as KeyIcon,
|
|
9457
9565
|
dt as Label,
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9566
|
+
Zi as LanguageSelector,
|
|
9567
|
+
ls as LazyComponent,
|
|
9568
|
+
Ls as LazyImage,
|
|
9569
|
+
dr as LazyLoadQueue,
|
|
9570
|
+
Xs as LazyWalletButton,
|
|
9571
|
+
yo as LazyWrapper,
|
|
9464
9572
|
lt as LoadPriority,
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9573
|
+
bs as LoadingOptimizer,
|
|
9574
|
+
vi as LoadingState,
|
|
9575
|
+
_i as Logo,
|
|
9576
|
+
hs as MasterDetailLayout,
|
|
9577
|
+
nc as MegaphoneIcon,
|
|
9578
|
+
si as MetricsGrid,
|
|
9579
|
+
oc as MinusIcon,
|
|
9580
|
+
ba as Modal,
|
|
9581
|
+
ya as ModalContent,
|
|
9582
|
+
xa as ModalFooter,
|
|
9583
|
+
zi as ModalHeader,
|
|
9584
|
+
wi as NoContent,
|
|
9585
|
+
xs as OptimizedAPIClient,
|
|
9586
|
+
us as OptimizedImage,
|
|
9587
|
+
ys as OptimizedRoutePreloader,
|
|
9588
|
+
yi as PageContainer,
|
|
9589
|
+
ps as PageHeader,
|
|
9590
|
+
Ai as PageTitle,
|
|
9591
|
+
ic as PaperAirplaneIcon,
|
|
9592
|
+
sc as PaperClipIcon,
|
|
9593
|
+
cs as PerformanceBoundary,
|
|
9594
|
+
fs as PerformanceOptimizer,
|
|
9595
|
+
Fs as PlatformSpecificComponents,
|
|
9596
|
+
lc as PlusIcon,
|
|
9597
|
+
ur as PriorityLoader,
|
|
9598
|
+
li as ProcessSteps,
|
|
9599
|
+
Ki as PromotionalBanner,
|
|
9600
|
+
ci as PullToRefresh,
|
|
9601
|
+
cc as RocketLaunchIcon,
|
|
9493
9602
|
_e as RouteBasedLazyLoader,
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9603
|
+
ts as SafeAppWrapper,
|
|
9604
|
+
xi as Section,
|
|
9605
|
+
$i as SectionBadge,
|
|
9606
|
+
ui as SectionHeader,
|
|
9607
|
+
Ii as SectionTitle,
|
|
9608
|
+
rs as SecurityProvider,
|
|
9609
|
+
Be as Select,
|
|
9610
|
+
Ee as SelectContent,
|
|
9611
|
+
Ni as SelectField,
|
|
9612
|
+
di as SelectGroup,
|
|
9613
|
+
$e as SelectItem,
|
|
9614
|
+
Vr as SelectLabel,
|
|
9506
9615
|
mt as SelectScrollDownButton,
|
|
9507
9616
|
ut as SelectScrollUpButton,
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9617
|
+
_r as SelectSeparator,
|
|
9618
|
+
Ne as SelectTrigger,
|
|
9619
|
+
Fr as SelectValue,
|
|
9620
|
+
fl as SemanticHTML,
|
|
9621
|
+
dc as ShieldCheckIcon,
|
|
9622
|
+
Mi as SmartContent,
|
|
9514
9623
|
ht as SmartLink,
|
|
9515
|
-
|
|
9516
|
-
|
|
9624
|
+
Zs as SmartWalletProviders,
|
|
9625
|
+
uc as SparklesIcon,
|
|
9517
9626
|
Oe as Spinner,
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9627
|
+
gs as StandardPageLayout,
|
|
9628
|
+
mc as StarIcon,
|
|
9629
|
+
vc as StarIconSolid,
|
|
9630
|
+
Bi as StatCard,
|
|
9631
|
+
gi as StatusBadge,
|
|
9632
|
+
Ei as StatusIndicator,
|
|
9633
|
+
Ji as StepList,
|
|
9634
|
+
Os as SubscriptionGatedComponents,
|
|
9635
|
+
Oo as SumsubWebSDK,
|
|
9636
|
+
qr as Switch,
|
|
9637
|
+
mi as TableOfContents,
|
|
9638
|
+
hi as Tabs,
|
|
9639
|
+
Xr as TabsContent,
|
|
9640
|
+
Zr as TabsList,
|
|
9641
|
+
Jr as TabsTrigger,
|
|
9642
|
+
Si as TextAreaField,
|
|
9643
|
+
Ci as TextField,
|
|
9644
|
+
Pi as TextLink,
|
|
9645
|
+
Yi as TrackedButton,
|
|
9646
|
+
Qi as TrackedLink,
|
|
9647
|
+
gc as TrashIcon,
|
|
9648
|
+
fi as UseCaseGrid,
|
|
9649
|
+
pc as UserGroupIcon,
|
|
9650
|
+
is as VirtualListItem,
|
|
9651
|
+
Sl as WEB3_CONCEPTS,
|
|
9652
|
+
Cl as WEB3_EMAIL_HEADINGS,
|
|
9653
|
+
B as WEB3_HEADING_PATTERNS,
|
|
9654
|
+
Vi as WalletIcon,
|
|
9655
|
+
be as WalletPreloader,
|
|
9656
|
+
hc as XMarkIcon,
|
|
9657
|
+
wo as addResourceHint,
|
|
9658
|
+
Qs as aiOptimizationPresets,
|
|
9659
|
+
So as appStorage,
|
|
9660
|
+
Ao as autoConnectWalletBrowser,
|
|
9552
9661
|
Bn as batchDOMUpdates,
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9662
|
+
ne as bundleAnalysis,
|
|
9663
|
+
Er as buttonVariants,
|
|
9664
|
+
As as cacheHeaders,
|
|
9665
|
+
ks as cacheUtils,
|
|
9666
|
+
Lo as checkPerformanceBudget,
|
|
9667
|
+
Ms as clearComponentCache,
|
|
9668
|
+
Vs as clearConditionalCache,
|
|
9669
|
+
il as clearRenderCounts,
|
|
9561
9670
|
h as cn,
|
|
9562
9671
|
h as combineClassNames,
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9672
|
+
Es as conditionalCSS,
|
|
9673
|
+
Ro as convertFileSize,
|
|
9674
|
+
gn as createAIMetaTags,
|
|
9675
|
+
Ye as createAIOptimizedSchema,
|
|
9676
|
+
Ps as createAdvancedLazyComponent,
|
|
9677
|
+
go as createBreadcrumb,
|
|
9678
|
+
zn as createCSSVariables,
|
|
9570
9679
|
je as createComparisonData,
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9680
|
+
oo as createConditionalImports,
|
|
9681
|
+
Bs as createConditionalLazyComponent,
|
|
9682
|
+
ei as createEmailComparisonData,
|
|
9683
|
+
yl as createEnhancedFAQSchema,
|
|
9684
|
+
un as createEnhancedOpenGraph,
|
|
9685
|
+
mn as createEnhancedTwitterCard,
|
|
9686
|
+
De as createFeature,
|
|
9687
|
+
tn as createLazyComponent,
|
|
9688
|
+
sl as createLazyComponentFactory,
|
|
9689
|
+
xo as createLazyRoute,
|
|
9581
9690
|
bt as createLazyWalletProvider,
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9691
|
+
js as createLibraryImports,
|
|
9692
|
+
as as createMemoComponent,
|
|
9693
|
+
Pn as createOptimizedStyles,
|
|
9694
|
+
bo as createProgressiveComponent,
|
|
9695
|
+
oi as createSecurityFeatures,
|
|
9696
|
+
io as createSelectiveExports,
|
|
9697
|
+
ns as createSelectiveMemoComponent,
|
|
9698
|
+
wl as createSemanticHeading,
|
|
9699
|
+
$o as createSimpleStorage,
|
|
9591
9700
|
Ke as createTechnicalArticleSchema,
|
|
9592
|
-
|
|
9593
|
-
|
|
9701
|
+
so as createTreeShakingConfig,
|
|
9702
|
+
Ws as createUIComponents,
|
|
9594
9703
|
Ge as createWeb3ProductSchema,
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9704
|
+
el as criticalPathOptimizer,
|
|
9705
|
+
Ka as cspDirectives,
|
|
9706
|
+
sr as cssOptimization,
|
|
9707
|
+
ae as deadCodeElimination,
|
|
9708
|
+
Tl as default,
|
|
9709
|
+
hr as defaultPerformanceBudget,
|
|
9601
9710
|
ft as detectAvailableWallets,
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9711
|
+
mr as detectWalletBrowser,
|
|
9712
|
+
Mo as exportPerformanceData,
|
|
9713
|
+
zo as formatFileSize,
|
|
9714
|
+
Us as generateAIMetaTags,
|
|
9715
|
+
Nl as generateAIMetadata,
|
|
9716
|
+
Ks as generateAIStructuredData,
|
|
9717
|
+
xl as generateAdvancedSEO,
|
|
9718
|
+
Ya as generateCSP,
|
|
9719
|
+
El as generateConceptGraph,
|
|
9720
|
+
Gs as generateContentRelationships,
|
|
9721
|
+
sn as generateEntityRecognition,
|
|
9722
|
+
Gn as generateImageSEO,
|
|
9723
|
+
Ys as generatePerformanceTrackingSchema,
|
|
9724
|
+
Xn as generatePictureElement,
|
|
9725
|
+
ao as generatePlaceholder,
|
|
9726
|
+
Al as generateQAPairs,
|
|
9727
|
+
on as generateSemanticMarkup,
|
|
9728
|
+
Yn as generateSizes,
|
|
9620
9729
|
Qn as generateSocialImageMeta,
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
|
|
9691
|
-
|
|
9692
|
-
|
|
9693
|
-
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9730
|
+
Kn as generateSrcSet,
|
|
9731
|
+
ln as generateTopicClustering,
|
|
9732
|
+
$l as generateTrainingExamples,
|
|
9733
|
+
mo as getActiveNavItem,
|
|
9734
|
+
_s as getConditionalStats,
|
|
9735
|
+
Ua as getEnvironmentType,
|
|
9736
|
+
zs as getLazyLoadingStats,
|
|
9737
|
+
Jn as getOptimalImageFormat,
|
|
9738
|
+
Pe as getPerformanceMonitor,
|
|
9739
|
+
Hs as getPreloadingStats,
|
|
9740
|
+
ol as getRenderCounts,
|
|
9741
|
+
O as getUINavigationService,
|
|
9742
|
+
ul as getWebVitals,
|
|
9743
|
+
qs as initializeAdvancedPreloading,
|
|
9744
|
+
Io as initializePerformanceMonitoring,
|
|
9745
|
+
Ds as initializePreloading,
|
|
9746
|
+
Fn as inlineCriticalStyles,
|
|
9747
|
+
qa as isLocalhost,
|
|
9748
|
+
Ha as isNetworkAccess,
|
|
9749
|
+
_a as isWalletBrowser,
|
|
9750
|
+
Ga as isWebEnvironment,
|
|
9751
|
+
ko as lazyLoadQueue,
|
|
9752
|
+
fo as lazyWithPreload,
|
|
9753
|
+
ho as lazyWithRetry,
|
|
9754
|
+
Ss as loadCSS,
|
|
9755
|
+
Ln as loadCriticalCSS,
|
|
9756
|
+
Mn as loadNonCriticalCSS,
|
|
9757
|
+
Po as measureAsyncOperation,
|
|
9758
|
+
ro as measureImagePerformance,
|
|
9759
|
+
Y as navigationHelper,
|
|
9760
|
+
po as navigationUtils,
|
|
9761
|
+
On as optimizeClassNames,
|
|
9762
|
+
jn as optimizeContainment,
|
|
9763
|
+
qn as optimizeFlex,
|
|
9764
|
+
_n as optimizeGrid,
|
|
9765
|
+
Dn as optimizeWillChange,
|
|
9766
|
+
Oa as optimizedFetch,
|
|
9767
|
+
vl as pageSEOConfigs,
|
|
9768
|
+
Wo as parseFileSize,
|
|
9769
|
+
q as performanceBudget,
|
|
9770
|
+
Se as performanceUtils,
|
|
9771
|
+
ar as prefersReducedMotion,
|
|
9772
|
+
ml as prefetchResource,
|
|
9773
|
+
Rs as preloadComponent,
|
|
9774
|
+
eo as preloadImage,
|
|
9775
|
+
gl as preloadResource,
|
|
9776
|
+
cl as preloadRoute,
|
|
9777
|
+
no as preserveAspectRatio,
|
|
9778
|
+
Co as priorityLoader,
|
|
9779
|
+
dl as reportWebVitals,
|
|
9780
|
+
rn as routeConfig,
|
|
9781
|
+
$s as securityHeaders,
|
|
9782
|
+
Is as setupCSPReporting,
|
|
9783
|
+
Zn as setupLazyLoading,
|
|
9784
|
+
to as setupProgressiveLoading,
|
|
9785
|
+
Cs as shouldEnableWallet,
|
|
9786
|
+
ke as smartLinkVariants,
|
|
9787
|
+
or as supportsAVIF,
|
|
9788
|
+
Ns as supportsCSSImports,
|
|
9789
|
+
nr as supportsWebP,
|
|
9790
|
+
No as themeStorage,
|
|
9791
|
+
fr as useClickOutside,
|
|
9792
|
+
br as useCodeLoader,
|
|
9793
|
+
pr as useComponentPerformance,
|
|
9794
|
+
jo as useCopyToClipboard,
|
|
9795
|
+
al as useDebugMemo,
|
|
9796
|
+
vo as useDynamicImport,
|
|
9797
|
+
ll as useImageLazyLoading,
|
|
9798
|
+
cr as useLazyLoad,
|
|
9799
|
+
Vn as useLazyStyles,
|
|
9800
|
+
co as useLocation,
|
|
9801
|
+
Hn as useMediaQuery,
|
|
9802
|
+
pl as useMemoryLeakDetection,
|
|
9803
|
+
Do as useMultipleCopyToClipboard,
|
|
9804
|
+
lo as useNavigation,
|
|
9805
|
+
Un as useOptimizedTheme,
|
|
9806
|
+
Js as useOptimizedWallets,
|
|
9807
|
+
tl as usePerformanceMark,
|
|
9808
|
+
Wn as useReducedMotion,
|
|
9809
|
+
nl as useRenderCount,
|
|
9810
|
+
Rn as useResponsiveStyles,
|
|
9811
|
+
uo as useSearchParams,
|
|
9812
|
+
Li as useSmartLinks,
|
|
9813
|
+
rl as useStableCallback,
|
|
9814
|
+
ir as utils,
|
|
9815
|
+
kl as validateHeadingStructure,
|
|
9816
|
+
Eo as walletStorage,
|
|
9817
|
+
Ts as web3SecurityNotes,
|
|
9818
|
+
To as withPerformanceTracking,
|
|
9819
|
+
vs as withRetry
|
|
9711
9820
|
};
|