@sudobility/components 2.0.12 → 2.0.14
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.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { clsx as Hn } from "clsx";
|
|
2
2
|
import { twMerge as Un } from "tailwind-merge";
|
|
3
3
|
import * as x from "react";
|
|
4
|
-
import P, { lazy as ve, Suspense as He, useEffect as V, useState as R, useCallback as re, useRef as
|
|
5
|
-
import { jsx as i, Fragment as
|
|
4
|
+
import P, { lazy as ve, Suspense as He, useEffect as V, useState as R, useCallback as re, useRef as q, useLayoutEffect as Nr, Component as Er, memo as Ue, useMemo as $t } from "react";
|
|
5
|
+
import { jsx as i, Fragment as H, jsxs as h } from "react/jsx-runtime";
|
|
6
6
|
import { onCLS as qn, onINP as Gn, onFCP as Kn, onLCP as Yn, onTTFB as Qn } from "web-vitals";
|
|
7
7
|
import { XCircleIcon as Ar, ExclamationTriangleIcon as Pr, CheckCircleIcon as Tr, InformationCircleIcon as Je, ArrowPathIcon as Xn, ChevronRightIcon as Lt, Cog6ToothIcon as Qt, CurrencyDollarIcon as Zn, AdjustmentsHorizontalIcon as Jn, LinkIcon as ea, FunnelIcon as ta, ChatBubbleLeftRightIcon as ra, ShieldCheckIcon as na, ArrowRightIcon as $r, ChevronUpIcon as aa, ChevronDownIcon as oa, ExclamationCircleIcon as ia, XMarkIcon as sa, CheckIcon as Lr, ClipboardDocumentIcon as la, ClipboardIcon as ca, EnvelopeIcon as da, LanguageIcon as ua } from "@heroicons/react/24/outline";
|
|
8
|
-
import { ArrowLeftIcon as
|
|
8
|
+
import { ArrowLeftIcon as O0, ArrowRightIcon as D0, Bars3Icon as z0, BellIcon as W0, BellSlashIcon as B0, ChartBarIcon as j0, CheckCircleIcon as F0, CheckIcon as _0, ChevronDownIcon as V0, ChevronLeftIcon as H0, ChevronRightIcon as U0, ChevronUpIcon as q0, ClockIcon as G0, CodeBracketIcon as K0, Cog6ToothIcon as Y0, CreditCardIcon as Q0, DocumentTextIcon as X0, EnvelopeIcon as Z0, ExclamationTriangleIcon as J0, EyeSlashIcon as eg, GlobeAltIcon as tg, HomeIcon as rg, InboxIcon as ng, InformationCircleIcon as ag, KeyIcon as og, MegaphoneIcon as ig, MinusIcon as sg, PaperAirplaneIcon as lg, PaperClipIcon as cg, PlusIcon as dg, RocketLaunchIcon as ug, ShieldCheckIcon as mg, SparklesIcon as gg, StarIcon as pg, TrashIcon as fg, UserGroupIcon as hg, XMarkIcon as yg } from "@heroicons/react/24/outline";
|
|
9
9
|
import { Slot as ma, createSlot as ga, createSlottable as pa } from "@radix-ui/react-slot";
|
|
10
10
|
import { cva as F } from "class-variance-authority";
|
|
11
11
|
import { Root as Ir } from "@radix-ui/react-label";
|
|
@@ -18,7 +18,7 @@ import xa, { createPortal as va } from "react-dom";
|
|
|
18
18
|
import { Link as st } from "react-router-dom";
|
|
19
19
|
import { TwitterIcon as wa, TwitterShareButton as ka, FacebookIcon as Ca, FacebookShareButton as Sa, LinkedinIcon as Na, LinkedinShareButton as Ea, RedditIcon as Aa, RedditShareButton as Pa, TelegramIcon as Ta, TelegramShareButton as $a, WhatsappIcon as La, WhatsappShareButton as Ia } from "react-share";
|
|
20
20
|
import { useTranslation as Br } from "react-i18next";
|
|
21
|
-
import { CheckCircleIcon as
|
|
21
|
+
import { CheckCircleIcon as xg, CheckIcon as vg, ExclamationTriangleIcon as wg, StarIcon as kg } from "@heroicons/react/24/solid";
|
|
22
22
|
import { Helmet as Ra } from "react-helmet-async";
|
|
23
23
|
function v(...e) {
|
|
24
24
|
return Un(Hn(e));
|
|
@@ -674,7 +674,7 @@ function fd(e, t = {}) {
|
|
|
674
674
|
d(!0);
|
|
675
675
|
}, a);
|
|
676
676
|
return () => clearTimeout(u);
|
|
677
|
-
}, []), c ? /* @__PURE__ */ i(
|
|
677
|
+
}, []), c ? /* @__PURE__ */ i(H, { children: r }) : null;
|
|
678
678
|
};
|
|
679
679
|
return P.forwardRef((c, d) => /* @__PURE__ */ i(He, { fallback: /* @__PURE__ */ i(l, {}), children: /* @__PURE__ */ i(s, { ...c, ref: d }) }));
|
|
680
680
|
}
|
|
@@ -1361,7 +1361,7 @@ const Ya = (e) => {
|
|
|
1361
1361
|
onError: r,
|
|
1362
1362
|
className: n = ""
|
|
1363
1363
|
}) => {
|
|
1364
|
-
const a =
|
|
1364
|
+
const a = q(null), o = q(null);
|
|
1365
1365
|
return V(() => {
|
|
1366
1366
|
if (!e)
|
|
1367
1367
|
return;
|
|
@@ -2076,7 +2076,7 @@ const Ya = (e) => {
|
|
|
2076
2076
|
className: o = "",
|
|
2077
2077
|
threshold: s = 0.1
|
|
2078
2078
|
}) => {
|
|
2079
|
-
const [l, c] = R(!1), [d, u] = R(!1), m =
|
|
2079
|
+
const [l, c] = R(!1), [d, u] = R(!1), m = q(null);
|
|
2080
2080
|
V(() => {
|
|
2081
2081
|
if (!Xt() || typeof IntersectionObserver > "u") {
|
|
2082
2082
|
c(!0), n && u(!0);
|
|
@@ -2722,7 +2722,7 @@ const so = {
|
|
|
2722
2722
|
emerald: "bg-emerald-100 dark:bg-emerald-900/20",
|
|
2723
2723
|
pink: "bg-pink-100 dark:bg-pink-900/20",
|
|
2724
2724
|
gray: "bg-gray-100 dark:bg-gray-900/20"
|
|
2725
|
-
}, w = g[o], k = typeof e == "string", C = () => /* @__PURE__ */ h(
|
|
2725
|
+
}, w = g[o], k = typeof e == "string", C = () => /* @__PURE__ */ h(H, { children: [
|
|
2726
2726
|
k ? (
|
|
2727
2727
|
// Emoji or text icon
|
|
2728
2728
|
/* @__PURE__ */ i("div", { className: "text-4xl mb-4", children: e })
|
|
@@ -3328,7 +3328,7 @@ const iu = ({
|
|
|
3328
3328
|
maxPullDistance: l = 120,
|
|
3329
3329
|
className: c = ""
|
|
3330
3330
|
}) => {
|
|
3331
|
-
const [d, u] = R(0), [m, p] = R(!1), [g, f] = R(!1), b =
|
|
3331
|
+
const [d, u] = R(0), [m, p] = R(!1), [g, f] = R(!1), b = q(0), w = q(null);
|
|
3332
3332
|
V(() => {
|
|
3333
3333
|
const N = w.current;
|
|
3334
3334
|
if (!N) return;
|
|
@@ -3339,8 +3339,8 @@ const iu = ({
|
|
|
3339
3339
|
if (!g) return;
|
|
3340
3340
|
const z = D.touches[0].clientY - b.current;
|
|
3341
3341
|
if (z > 0 && N.scrollTop <= 0) {
|
|
3342
|
-
const
|
|
3343
|
-
z * (1 -
|
|
3342
|
+
const U = Math.min(z / l, 1), W = Math.min(
|
|
3343
|
+
z * (1 - U * 0.5),
|
|
3344
3344
|
l
|
|
3345
3345
|
);
|
|
3346
3346
|
u(W), z > 10 && D.preventDefault();
|
|
@@ -3629,7 +3629,7 @@ const du = ({
|
|
|
3629
3629
|
parentSectionId: n,
|
|
3630
3630
|
onSubsectionSelect: a
|
|
3631
3631
|
}) => {
|
|
3632
|
-
const o =
|
|
3632
|
+
const o = q(null), [s, l] = R(void 0);
|
|
3633
3633
|
return V(() => {
|
|
3634
3634
|
if (o.current) {
|
|
3635
3635
|
const c = o.current.scrollHeight;
|
|
@@ -3800,7 +3800,7 @@ const du = ({
|
|
|
3800
3800
|
onAccountSelect: n,
|
|
3801
3801
|
onAccountSettings: a
|
|
3802
3802
|
}) => {
|
|
3803
|
-
const o =
|
|
3803
|
+
const o = q(null), [s, l] = R(void 0);
|
|
3804
3804
|
return V(() => {
|
|
3805
3805
|
if (o.current) {
|
|
3806
3806
|
const c = o.current.scrollHeight;
|
|
@@ -5102,7 +5102,7 @@ const xi = (e) => ({
|
|
|
5102
5102
|
}, g = zt(a), f = Dt(g), b = await s.getDimensions(d), w = g === "y", k = w ? "top" : "left", C = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", E = o.reference[f] + o.reference[g] - p[g] - o.floating[f], N = p[g] - o.reference[g], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
|
|
5103
5103
|
let A = $ ? $[S] : 0;
|
|
5104
5104
|
(!A || !await (s.isElement == null ? void 0 : s.isElement($))) && (A = l.floating[S] || o.floating[f]);
|
|
5105
|
-
const O = E / 2 - N / 2, D = A / 2 - b[f] / 2 - 1, M = pe(m[k], D), z = pe(m[C], D),
|
|
5105
|
+
const O = E / 2 - N / 2, D = A / 2 - b[f] / 2 - 1, M = pe(m[k], D), z = pe(m[C], D), U = M, W = A - b[f] - z, B = A / 2 - b[f] / 2 + O, G = Nt(U, B, W), j = !c.arrow && Te(a) != null && B !== G && o.reference[f] / 2 - (B < U ? M : z) - b[f] / 2 < 0, K = j ? B < U ? B - U : B - W : 0;
|
|
5106
5106
|
return {
|
|
5107
5107
|
[g]: p[g] + K,
|
|
5108
5108
|
data: {
|
|
@@ -5151,7 +5151,7 @@ const xi = (e) => ({
|
|
|
5151
5151
|
placement: a,
|
|
5152
5152
|
overflows: D
|
|
5153
5153
|
}], !D.every((B) => B <= 0)) {
|
|
5154
|
-
var z,
|
|
5154
|
+
var z, U;
|
|
5155
5155
|
const B = (((z = o.flip) == null ? void 0 : z.index) || 0) + 1, G = A[B];
|
|
5156
5156
|
if (G && (!(m === "alignment" ? C !== te(G) : !1) || // We leave the current main axis only if every placement on that axis
|
|
5157
5157
|
// overflows the main axis.
|
|
@@ -5165,7 +5165,7 @@ const xi = (e) => ({
|
|
|
5165
5165
|
placement: G
|
|
5166
5166
|
}
|
|
5167
5167
|
};
|
|
5168
|
-
let j = (
|
|
5168
|
+
let j = (U = M.filter((K) => K.overflows[0] <= 0).sort((K, L) => K.overflows[1] - L.overflows[1])[0]) == null ? void 0 : U.placement;
|
|
5169
5169
|
if (!j)
|
|
5170
5170
|
switch (g) {
|
|
5171
5171
|
case "bestFit": {
|
|
@@ -5421,8 +5421,8 @@ const Ci = function(e) {
|
|
|
5421
5421
|
const C = b - u.top - u.bottom, S = f - u.left - u.right, E = pe(b - u[w], C), N = pe(f - u[k], S), $ = !t.middlewareData.shift;
|
|
5422
5422
|
let A = E, O = N;
|
|
5423
5423
|
if ((r = t.middlewareData.shift) != null && r.enabled.x && (O = S), (n = t.middlewareData.shift) != null && n.enabled.y && (A = C), $ && !p) {
|
|
5424
|
-
const M = Q(u.left, 0), z = Q(u.right, 0),
|
|
5425
|
-
g ? O = f - 2 * (M !== 0 || z !== 0 ? M + z : Q(u.left, u.right)) : A = b - 2 * (
|
|
5424
|
+
const M = Q(u.left, 0), z = Q(u.right, 0), U = Q(u.top, 0), W = Q(u.bottom, 0);
|
|
5425
|
+
g ? O = f - 2 * (M !== 0 || z !== 0 ? M + z : Q(u.left, u.right)) : A = b - 2 * (U !== 0 || W !== 0 ? U + W : Q(u.top, u.bottom));
|
|
5426
5426
|
}
|
|
5427
5427
|
await c({
|
|
5428
5428
|
...t,
|
|
@@ -6010,7 +6010,7 @@ function ls(e) {
|
|
|
6010
6010
|
L !== $.current && ($.current = L, b(L));
|
|
6011
6011
|
}, []), S = x.useCallback((L) => {
|
|
6012
6012
|
L !== A.current && (A.current = L, k(L));
|
|
6013
|
-
}, []), E = o || f, N = s || w, $ = x.useRef(null), A = x.useRef(null), O = x.useRef(u), D = c != null, M = yt(c), z = yt(a),
|
|
6013
|
+
}, []), E = o || f, N = s || w, $ = x.useRef(null), A = x.useRef(null), O = x.useRef(u), D = c != null, M = yt(c), z = yt(a), U = yt(d), W = x.useCallback(() => {
|
|
6014
6014
|
if (!$.current || !A.current)
|
|
6015
6015
|
return;
|
|
6016
6016
|
const L = {
|
|
@@ -6025,13 +6025,13 @@ function ls(e) {
|
|
|
6025
6025
|
// but still mounted (such as when transitioning out). To ensure
|
|
6026
6026
|
// `isPositioned` will be `false` initially on the next open, avoid
|
|
6027
6027
|
// setting it to `true` when `open === false` (must be specified).
|
|
6028
|
-
isPositioned:
|
|
6028
|
+
isPositioned: U.current !== !1
|
|
6029
6029
|
};
|
|
6030
6030
|
B.current && !nt(O.current, ee) && (O.current = ee, Wr.flushSync(() => {
|
|
6031
6031
|
m(ee);
|
|
6032
6032
|
}));
|
|
6033
6033
|
});
|
|
6034
|
-
}, [p, t, r, z,
|
|
6034
|
+
}, [p, t, r, z, U]);
|
|
6035
6035
|
Ze(() => {
|
|
6036
6036
|
d === !1 && O.current.isPositioned && (O.current.isPositioned = !1, m((L) => ({
|
|
6037
6037
|
...L,
|
|
@@ -6199,11 +6199,11 @@ var _t = "PopperContent", [ws, ks] = dn(_t), hn = x.forwardRef(
|
|
|
6199
6199
|
updatePositionStrategy: g = "optimized",
|
|
6200
6200
|
onPlaced: f,
|
|
6201
6201
|
...b
|
|
6202
|
-
} = e, w = mn(_t, r), [k, C] = x.useState(null), S = we(t, (Le) => C(Le)), [E, N] = x.useState(null), $ = xs(E), A = $?.width ?? 0, O = $?.height ?? 0, D = n + (o !== "center" ? "-" + o : ""), M = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, z = Array.isArray(d) ? d : [d],
|
|
6202
|
+
} = e, w = mn(_t, r), [k, C] = x.useState(null), S = we(t, (Le) => C(Le)), [E, N] = x.useState(null), $ = xs(E), A = $?.width ?? 0, O = $?.height ?? 0, D = n + (o !== "center" ? "-" + o : ""), M = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, z = Array.isArray(d) ? d : [d], U = z.length > 0, W = {
|
|
6203
6203
|
padding: M,
|
|
6204
6204
|
boundary: z.filter(Ss),
|
|
6205
6205
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
6206
|
-
altBoundary:
|
|
6206
|
+
altBoundary: U
|
|
6207
6207
|
}, { refs: B, floatingStyles: G, placement: j, isPositioned: K, middlewareData: L } = ls({
|
|
6208
6208
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
6209
6209
|
strategy: "fixed",
|
|
@@ -6843,72 +6843,85 @@ const ll = {
|
|
|
6843
6843
|
size: n = "sm",
|
|
6844
6844
|
className: a,
|
|
6845
6845
|
version: o,
|
|
6846
|
-
onStatusChange: s
|
|
6846
|
+
onStatusChange: s,
|
|
6847
|
+
isNetworkOnline: l = !0
|
|
6847
6848
|
}) => {
|
|
6848
|
-
const [
|
|
6849
|
+
const [c, d] = R({
|
|
6849
6850
|
status: "operational",
|
|
6850
6851
|
version: o || "1.0.0",
|
|
6851
6852
|
message: "All systems operational"
|
|
6852
|
-
}), [
|
|
6853
|
+
}), [u, m] = R(!1);
|
|
6853
6854
|
V(() => {
|
|
6854
|
-
const
|
|
6855
|
+
const w = async () => {
|
|
6855
6856
|
if (t) {
|
|
6856
|
-
|
|
6857
|
+
m(!0);
|
|
6857
6858
|
try {
|
|
6858
|
-
const
|
|
6859
|
-
if (
|
|
6860
|
-
const
|
|
6861
|
-
let
|
|
6862
|
-
|
|
6859
|
+
const k = await fetch(t);
|
|
6860
|
+
if (k.ok) {
|
|
6861
|
+
const C = await k.json();
|
|
6862
|
+
let S;
|
|
6863
|
+
C.status?.indicator ? S = {
|
|
6863
6864
|
status: {
|
|
6864
6865
|
none: "operational",
|
|
6865
6866
|
minor: "degraded",
|
|
6866
6867
|
major: "major-outage",
|
|
6867
6868
|
critical: "major-outage"
|
|
6868
|
-
}[
|
|
6869
|
+
}[C.status.indicator] || "operational",
|
|
6869
6870
|
version: o,
|
|
6870
|
-
message:
|
|
6871
|
-
} :
|
|
6871
|
+
message: C.status.description
|
|
6872
|
+
} : S = C, d(S), s?.(S);
|
|
6872
6873
|
}
|
|
6873
6874
|
} catch {
|
|
6874
6875
|
} finally {
|
|
6875
|
-
|
|
6876
|
+
m(!1);
|
|
6876
6877
|
}
|
|
6877
6878
|
}
|
|
6878
6879
|
};
|
|
6879
|
-
if (
|
|
6880
|
-
const
|
|
6881
|
-
return () => clearInterval(
|
|
6880
|
+
if (w(), r > 0) {
|
|
6881
|
+
const k = setInterval(w, r);
|
|
6882
|
+
return () => clearInterval(k);
|
|
6882
6883
|
}
|
|
6883
6884
|
}, [t, r, s, o]);
|
|
6884
|
-
const
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6885
|
+
const p = l ? c.status : "major-outage", g = ll[p], f = (w) => {
|
|
6886
|
+
if (w.preventDefault(), !l) {
|
|
6887
|
+
window.alert(
|
|
6888
|
+
"Network is not available. Please check your internet connection and try again later."
|
|
6889
|
+
);
|
|
6890
|
+
return;
|
|
6891
|
+
}
|
|
6892
|
+
window.open(e, "_blank", "noopener,noreferrer");
|
|
6893
|
+
}, b = /* @__PURE__ */ i("div", { className: "text-xs", children: l ? (
|
|
6894
|
+
// Normal system status
|
|
6895
|
+
/* @__PURE__ */ h(H, { children: [
|
|
6896
|
+
c.version && /* @__PURE__ */ h("div", { className: "font-semibold mb-1", children: [
|
|
6897
|
+
"Version ",
|
|
6898
|
+
c.version
|
|
6899
|
+
] }),
|
|
6900
|
+
/* @__PURE__ */ i("div", { children: c.message || g.label }),
|
|
6901
|
+
c.incidents && c.incidents.length > 0 && /* @__PURE__ */ h("div", { className: "mt-2 text-[10px] opacity-90", children: [
|
|
6902
|
+
/* @__PURE__ */ i("div", { className: "font-medium", children: "Current incidents:" }),
|
|
6903
|
+
/* @__PURE__ */ i("ul", { className: "list-disc list-inside", children: c.incidents.map((w, k) => /* @__PURE__ */ i("li", { children: w }, k)) })
|
|
6904
|
+
] })
|
|
6895
6905
|
] })
|
|
6896
|
-
|
|
6906
|
+
) : (
|
|
6907
|
+
// Network offline message
|
|
6908
|
+
/* @__PURE__ */ i("div", { children: "Network unavailable" })
|
|
6909
|
+
) });
|
|
6897
6910
|
return /* @__PURE__ */ i(rl, { delayDuration: 200, children: /* @__PURE__ */ h(nl, { children: [
|
|
6898
6911
|
/* @__PURE__ */ i(al, { asChild: !0, children: /* @__PURE__ */ i(
|
|
6899
6912
|
"button",
|
|
6900
6913
|
{
|
|
6901
|
-
onClick:
|
|
6914
|
+
onClick: f,
|
|
6902
6915
|
className: v(
|
|
6903
6916
|
"rounded-full flex-shrink-0 transition-all duration-200 cursor-pointer",
|
|
6904
6917
|
"ring-offset-2 focus:outline-none focus:ring-2 focus:ring-offset-2",
|
|
6905
|
-
|
|
6906
|
-
|
|
6918
|
+
g.color,
|
|
6919
|
+
g.hoverColor,
|
|
6907
6920
|
cl[n],
|
|
6908
|
-
|
|
6921
|
+
(u || !l) && "animate-pulse",
|
|
6909
6922
|
a
|
|
6910
6923
|
),
|
|
6911
|
-
"aria-label": `System status: ${
|
|
6924
|
+
"aria-label": `System status: ${g.label}`
|
|
6912
6925
|
}
|
|
6913
6926
|
) }),
|
|
6914
6927
|
/* @__PURE__ */ i(ol, { children: /* @__PURE__ */ h(
|
|
@@ -6917,7 +6930,7 @@ const ll = {
|
|
|
6917
6930
|
className: "z-50 overflow-hidden rounded-md bg-gray-900 dark:bg-gray-800 px-3 py-2 text-white shadow-md animate-in fade-in-0 zoom-in-95",
|
|
6918
6931
|
sideOffset: 5,
|
|
6919
6932
|
children: [
|
|
6920
|
-
|
|
6933
|
+
b,
|
|
6921
6934
|
/* @__PURE__ */ i(sl, { className: "fill-gray-900 dark:fill-gray-800" })
|
|
6922
6935
|
]
|
|
6923
6936
|
}
|
|
@@ -7347,7 +7360,7 @@ const Ru = (e, t) => x.useMemo(() => {
|
|
|
7347
7360
|
"aria-describedby": p,
|
|
7348
7361
|
closeAriaLabel: g = "Close modal"
|
|
7349
7362
|
}) => {
|
|
7350
|
-
const f =
|
|
7363
|
+
const f = q(null), b = q(null);
|
|
7351
7364
|
if (V(() => {
|
|
7352
7365
|
if (!e || !c) return;
|
|
7353
7366
|
const S = (E) => {
|
|
@@ -7365,7 +7378,7 @@ const Ru = (e, t) => x.useMemo(() => {
|
|
|
7365
7378
|
return v(S, E);
|
|
7366
7379
|
}, k = (S) => {
|
|
7367
7380
|
l && S.target === S.currentTarget && t();
|
|
7368
|
-
}, C = /* @__PURE__ */ h(
|
|
7381
|
+
}, C = /* @__PURE__ */ h(H, { children: [
|
|
7369
7382
|
/* @__PURE__ */ i(
|
|
7370
7383
|
"div",
|
|
7371
7384
|
{
|
|
@@ -7971,7 +7984,7 @@ const Ru = (e, t) => x.useMemo(() => {
|
|
|
7971
7984
|
text: "text-2xl"
|
|
7972
7985
|
};
|
|
7973
7986
|
}
|
|
7974
|
-
})(), u = /* @__PURE__ */ h(
|
|
7987
|
+
})(), u = /* @__PURE__ */ h(H, { children: [
|
|
7975
7988
|
/* @__PURE__ */ i("img", { src: a, alt: o, className: d.image }),
|
|
7976
7989
|
r && /* @__PURE__ */ i(
|
|
7977
7990
|
"div",
|
|
@@ -8090,7 +8103,7 @@ ${e.description}`
|
|
|
8090
8103
|
)
|
|
8091
8104
|
}
|
|
8092
8105
|
),
|
|
8093
|
-
t && /* @__PURE__ */ h(
|
|
8106
|
+
t && /* @__PURE__ */ h(H, { children: [
|
|
8094
8107
|
/* @__PURE__ */ i(
|
|
8095
8108
|
"div",
|
|
8096
8109
|
{
|
|
@@ -8098,7 +8111,7 @@ ${e.description}`
|
|
|
8098
8111
|
onClick: () => r(!1)
|
|
8099
8112
|
}
|
|
8100
8113
|
),
|
|
8101
|
-
/* @__PURE__ */ i("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: o ? /* @__PURE__ */ i("div", { className: "flex items-center justify-center px-3 py-2", children: /* @__PURE__ */ i("div", { className: "w-4 h-4 border-2 border-blue-600 border-t-transparent rounded-full animate-spin" }) }) : /* @__PURE__ */ h(
|
|
8114
|
+
/* @__PURE__ */ i("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: o ? /* @__PURE__ */ i("div", { className: "flex items-center justify-center px-3 py-2", children: /* @__PURE__ */ i("div", { className: "w-4 h-4 border-2 border-blue-600 border-t-transparent rounded-full animate-spin" }) }) : /* @__PURE__ */ h(H, { children: [
|
|
8102
8115
|
c.map((u, m) => {
|
|
8103
8116
|
const p = u.component, g = u.icon;
|
|
8104
8117
|
return /* @__PURE__ */ i(
|
|
@@ -8315,10 +8328,10 @@ ${e.description}`
|
|
|
8315
8328
|
onClick: () => d(r, u),
|
|
8316
8329
|
className: "flex items-center space-x-1 text-gray-300 hover:text-white transition-colors text-sm",
|
|
8317
8330
|
"aria-label": m ? "Copied!" : "Copy code",
|
|
8318
|
-
children: m ? /* @__PURE__ */ h(
|
|
8331
|
+
children: m ? /* @__PURE__ */ h(H, { children: [
|
|
8319
8332
|
/* @__PURE__ */ i(Lr, { className: "h-4 w-4" }),
|
|
8320
8333
|
/* @__PURE__ */ i("span", { children: "Copied!" })
|
|
8321
|
-
] }) : /* @__PURE__ */ h(
|
|
8334
|
+
] }) : /* @__PURE__ */ h(H, { children: [
|
|
8322
8335
|
/* @__PURE__ */ i(ca, { className: "h-4 w-4" }),
|
|
8323
8336
|
/* @__PURE__ */ i("span", { children: "Copy" })
|
|
8324
8337
|
] })
|
|
@@ -8335,7 +8348,7 @@ ${e.description}`
|
|
|
8335
8348
|
parentSectionId: n,
|
|
8336
8349
|
onSubsectionSelect: a
|
|
8337
8350
|
}) => {
|
|
8338
|
-
const o =
|
|
8351
|
+
const o = q(null), [s, l] = R(void 0);
|
|
8339
8352
|
return Nr(() => {
|
|
8340
8353
|
if (o.current) {
|
|
8341
8354
|
const c = o.current.scrollHeight;
|
|
@@ -8346,15 +8359,17 @@ ${e.description}`
|
|
|
8346
8359
|
{
|
|
8347
8360
|
className: "overflow-hidden transition-all duration-300 ease-in-out",
|
|
8348
8361
|
style: { height: s !== void 0 ? `${s}px` : "auto" },
|
|
8349
|
-
children: /* @__PURE__ */ i("div", { ref: o, className: "ml-6 mt-2 space-y-1", children: e.map((c) => /* @__PURE__ */
|
|
8350
|
-
"
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8362
|
+
children: /* @__PURE__ */ i("div", { ref: o, className: "ml-6 mt-2 space-y-1", children: e.map((c) => /* @__PURE__ */ h("div", { className: "relative", children: [
|
|
8363
|
+
r === c.id && /* @__PURE__ */ i("div", { className: "absolute top-0 bottom-0 left-0 right-4 bg-blue-500/20 dark:bg-blue-400/20 rounded-lg pointer-events-none border-2 border-blue-500/30 dark:border-blue-400/30" }),
|
|
8364
|
+
/* @__PURE__ */ i(
|
|
8365
|
+
"button",
|
|
8366
|
+
{
|
|
8367
|
+
onClick: () => a?.(c.id, n),
|
|
8368
|
+
className: `relative z-10 block w-full text-left px-3 py-2 rounded-md text-sm transition-all duration-200 hover:scale-[1.02] ${r === c.id ? "text-blue-700 dark:text-blue-300" : "text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200"}`,
|
|
8369
|
+
children: c.title
|
|
8370
|
+
}
|
|
8371
|
+
)
|
|
8372
|
+
] }, c.id)) })
|
|
8358
8373
|
}
|
|
8359
8374
|
);
|
|
8360
8375
|
}, Ku = ({
|
|
@@ -8374,12 +8389,13 @@ ${e.description}`
|
|
|
8374
8389
|
s?.(e);
|
|
8375
8390
|
}, g = n && n.length > 0;
|
|
8376
8391
|
return /* @__PURE__ */ h("div", { className: c, children: [
|
|
8377
|
-
/* @__PURE__ */ h("div", { className: "flex items-center", children: [
|
|
8392
|
+
/* @__PURE__ */ h("div", { className: "relative flex items-center", children: [
|
|
8393
|
+
a && !o && /* @__PURE__ */ i("div", { className: "absolute top-1 bottom-1 left-3 right-4 bg-blue-500/20 dark:bg-blue-400/20 rounded-lg pointer-events-none border-2 border-blue-500/30 dark:border-blue-400/30" }),
|
|
8378
8394
|
/* @__PURE__ */ i(
|
|
8379
8395
|
"button",
|
|
8380
8396
|
{
|
|
8381
8397
|
onClick: p,
|
|
8382
|
-
className: `flex-1 text-left px-3 py-4 text-base font-medium transition-all duration-200
|
|
8398
|
+
className: `relative z-10 flex-1 text-left px-3 py-4 text-base font-medium transition-all duration-200 ${a && !o ? "text-blue-700 dark:text-blue-300" : "text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100"}`,
|
|
8383
8399
|
children: t
|
|
8384
8400
|
}
|
|
8385
8401
|
),
|
|
@@ -8818,7 +8834,7 @@ class tm extends Er {
|
|
|
8818
8834
|
] }) }) : t;
|
|
8819
8835
|
}
|
|
8820
8836
|
}
|
|
8821
|
-
const rm = ({ children: e }) => /* @__PURE__ */ i(
|
|
8837
|
+
const rm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), nm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), am = (e, t, r) => {
|
|
8822
8838
|
const n = Ue(e, t);
|
|
8823
8839
|
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (a) => ($t(() => {
|
|
8824
8840
|
let s = 0;
|
|
@@ -8834,13 +8850,13 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
8834
8850
|
}
|
|
8835
8851
|
return o.current;
|
|
8836
8852
|
}, [t, r]);
|
|
8837
|
-
return /* @__PURE__ */ i(
|
|
8853
|
+
return /* @__PURE__ */ i(H, { children: e(s) });
|
|
8838
8854
|
}
|
|
8839
8855
|
), sm = Ue(
|
|
8840
8856
|
({ item: e, index: t, style: r, renderItem: n }) => /* @__PURE__ */ i("div", { style: r, children: n(e, t) }),
|
|
8841
8857
|
(e, t) => e.index === t.index && e.item === t.item && e.style.height === t.style.height && e.style.top === t.style.top
|
|
8842
8858
|
), lm = Ue(
|
|
8843
|
-
({ condition: e, children: t, fallback: r = null }) => e ? /* @__PURE__ */ i(
|
|
8859
|
+
({ condition: e, children: t, fallback: r = null }) => e ? /* @__PURE__ */ i(H, { children: t }) : /* @__PURE__ */ i(H, { children: r })
|
|
8844
8860
|
), cm = ({
|
|
8845
8861
|
children: e,
|
|
8846
8862
|
threshold: t = 0.1,
|
|
@@ -8869,7 +8885,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
8869
8885
|
}), P.useEffect(() => {
|
|
8870
8886
|
const a = performance.now() - n.current;
|
|
8871
8887
|
a > t && r?.(a);
|
|
8872
|
-
}), /* @__PURE__ */ i(
|
|
8888
|
+
}), /* @__PURE__ */ i(H, { children: e });
|
|
8873
8889
|
}, um = ({
|
|
8874
8890
|
children: e,
|
|
8875
8891
|
batchSize: t = 5,
|
|
@@ -8883,7 +8899,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
8883
8899
|
}, r);
|
|
8884
8900
|
return () => clearTimeout(o);
|
|
8885
8901
|
}
|
|
8886
|
-
}, [n, e.length, t, r]), /* @__PURE__ */ i(
|
|
8902
|
+
}, [n, e.length, t, r]), /* @__PURE__ */ i(H, { children: e.slice(0, n) });
|
|
8887
8903
|
}, mm = ({
|
|
8888
8904
|
src: e,
|
|
8889
8905
|
alt: t,
|
|
@@ -8894,7 +8910,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
8894
8910
|
className: s = "",
|
|
8895
8911
|
...l
|
|
8896
8912
|
}) => {
|
|
8897
|
-
const [c, d] = R(!1), [u, m] = R(o), [p, g] = R(!1), f =
|
|
8913
|
+
const [c, d] = R(!1), [u, m] = R(o), [p, g] = R(!1), f = q(null), b = q(null);
|
|
8898
8914
|
V(() => {
|
|
8899
8915
|
if (o) {
|
|
8900
8916
|
m(!0);
|
|
@@ -9062,6 +9078,46 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9062
9078
|
/* @__PURE__ */ i("h1", { className: "text-3xl font-bold text-gray-900 dark:text-white", children: e }),
|
|
9063
9079
|
t && /* @__PURE__ */ i("p", { className: "mt-2 text-gray-600 dark:text-gray-400", children: t })
|
|
9064
9080
|
] }), hm = ({
|
|
9081
|
+
isSelected: e,
|
|
9082
|
+
onClick: t,
|
|
9083
|
+
icon: r,
|
|
9084
|
+
label: n,
|
|
9085
|
+
description: a,
|
|
9086
|
+
className: o = ""
|
|
9087
|
+
}) => /* @__PURE__ */ h(
|
|
9088
|
+
"div",
|
|
9089
|
+
{
|
|
9090
|
+
onClick: t,
|
|
9091
|
+
className: `relative flex items-start p-4 cursor-pointer transition-all border-b border-gray-200 dark:border-gray-700 last:border-b-0 group ${o}`,
|
|
9092
|
+
children: [
|
|
9093
|
+
e && /* @__PURE__ */ i("div", { className: "absolute inset-1 bg-blue-500/10 dark:bg-blue-400/10 rounded-lg pointer-events-none" }),
|
|
9094
|
+
/* @__PURE__ */ h("div", { className: "relative z-10 flex items-start w-full", children: [
|
|
9095
|
+
r && /* @__PURE__ */ i(
|
|
9096
|
+
r,
|
|
9097
|
+
{
|
|
9098
|
+
className: `h-5 w-5 mt-0.5 mr-3 flex-shrink-0 transition-colors ${e ? "text-blue-600 dark:text-blue-400" : "text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-300"}`
|
|
9099
|
+
}
|
|
9100
|
+
),
|
|
9101
|
+
/* @__PURE__ */ h("div", { className: "flex-1 min-w-0", children: [
|
|
9102
|
+
/* @__PURE__ */ i(
|
|
9103
|
+
"div",
|
|
9104
|
+
{
|
|
9105
|
+
className: `font-medium transition-colors ${e ? "text-blue-600 dark:text-blue-400" : "text-gray-900 dark:text-gray-100 group-hover:text-gray-700 dark:group-hover:text-gray-300"}`,
|
|
9106
|
+
children: n
|
|
9107
|
+
}
|
|
9108
|
+
),
|
|
9109
|
+
a && /* @__PURE__ */ i(
|
|
9110
|
+
"div",
|
|
9111
|
+
{
|
|
9112
|
+
className: `text-xs mt-0.5 transition-colors ${e ? "text-blue-500 dark:text-blue-300" : "text-gray-500 dark:text-gray-400"}`,
|
|
9113
|
+
children: a
|
|
9114
|
+
}
|
|
9115
|
+
)
|
|
9116
|
+
] })
|
|
9117
|
+
] })
|
|
9118
|
+
]
|
|
9119
|
+
}
|
|
9120
|
+
), ym = ({
|
|
9065
9121
|
masterTitle: e,
|
|
9066
9122
|
masterSubtitle: t,
|
|
9067
9123
|
backButtonText: r,
|
|
@@ -9082,7 +9138,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9082
9138
|
animationDuration: k = 300,
|
|
9083
9139
|
animationRef: C
|
|
9084
9140
|
}) => {
|
|
9085
|
-
const S = `gap-${Math.round(f / 4)}` || "gap-8", E = (G) => G ? G.split("-")[0].trim() : "Back", N = r ? E(r) : e ? E(e) : "Back", [$, A] = R(!1), [O, D] = R("auto"), M =
|
|
9141
|
+
const S = `gap-${Math.round(f / 4)}` || "gap-8", E = (G) => G ? G.split("-")[0].trim() : "Back", N = r ? E(r) : e ? E(e) : "Back", [$, A] = R(!1), [O, D] = R("auto"), M = q(null), z = q(
|
|
9086
9142
|
null
|
|
9087
9143
|
);
|
|
9088
9144
|
V(() => (C && (C.current = {
|
|
@@ -9109,7 +9165,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9109
9165
|
}), () => {
|
|
9110
9166
|
z.current && clearTimeout(z.current);
|
|
9111
9167
|
}), [w, k, C]);
|
|
9112
|
-
const
|
|
9168
|
+
const U = w ? {
|
|
9113
9169
|
height: O === "auto" ? "auto" : `${O}px`,
|
|
9114
9170
|
transition: `height ${k}ms cubic-bezier(0.4, 0, 0.2, 1)`,
|
|
9115
9171
|
width: "100%",
|
|
@@ -9117,7 +9173,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9117
9173
|
} : { width: "100%", maxWidth: "100%" }, W = w ? `${$ ? "opacity-0 transform translate-y-2" : "opacity-100 transform translate-y-0"}` : "", B = w ? {
|
|
9118
9174
|
transition: `opacity ${k}ms ease-in-out, transform ${k}ms ease-in-out`
|
|
9119
9175
|
} : {};
|
|
9120
|
-
return /* @__PURE__ */ h(
|
|
9176
|
+
return /* @__PURE__ */ h(H, { children: [
|
|
9121
9177
|
/* @__PURE__ */ i(
|
|
9122
9178
|
"div",
|
|
9123
9179
|
{
|
|
@@ -9159,7 +9215,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9159
9215
|
{
|
|
9160
9216
|
ref: M,
|
|
9161
9217
|
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-hidden ${d}`,
|
|
9162
|
-
style:
|
|
9218
|
+
style: U,
|
|
9163
9219
|
children: /* @__PURE__ */ h("div", { className: W, style: B, children: [
|
|
9164
9220
|
o && /* @__PURE__ */ i(
|
|
9165
9221
|
"h1",
|
|
@@ -9216,7 +9272,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9216
9272
|
{
|
|
9217
9273
|
ref: M,
|
|
9218
9274
|
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-hidden ${d}`,
|
|
9219
|
-
style:
|
|
9275
|
+
style: U,
|
|
9220
9276
|
children: /* @__PURE__ */ h("div", { className: W, style: B, children: [
|
|
9221
9277
|
o && /* @__PURE__ */ i(
|
|
9222
9278
|
"h1",
|
|
@@ -9236,7 +9292,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9236
9292
|
)
|
|
9237
9293
|
] })
|
|
9238
9294
|
] });
|
|
9239
|
-
},
|
|
9295
|
+
}, bm = ({
|
|
9240
9296
|
children: e
|
|
9241
9297
|
}) => (V(() => {
|
|
9242
9298
|
const t = () => {
|
|
@@ -9378,7 +9434,7 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9378
9434
|
};
|
|
9379
9435
|
return t(), r(), n(), a(), s(), l(), c(), d(), setTimeout(o, 2e3), () => {
|
|
9380
9436
|
};
|
|
9381
|
-
}, []), /* @__PURE__ */ i(
|
|
9437
|
+
}, []), /* @__PURE__ */ i(H, { children: e })), xm = () => (V(() => {
|
|
9382
9438
|
if (typeof window > "u" || typeof document > "u" || !document.documentElement)
|
|
9383
9439
|
return;
|
|
9384
9440
|
const e = () => {
|
|
@@ -9474,9 +9530,9 @@ const rm = ({ children: e }) => /* @__PURE__ */ i(q, { children: e }), nm = ({ c
|
|
|
9474
9530
|
} catch {
|
|
9475
9531
|
}
|
|
9476
9532
|
};
|
|
9477
|
-
}, []), null),
|
|
9533
|
+
}, []), null), vm = ({
|
|
9478
9534
|
children: e
|
|
9479
|
-
}) => /* @__PURE__ */ i(
|
|
9535
|
+
}) => /* @__PURE__ */ i(H, { children: e }), Wl = {
|
|
9480
9536
|
// Static/rarely changing data - longer cache durations
|
|
9481
9537
|
user: { duration: 300 * 1e3, maxSize: 100, staleWhileRevalidate: !0 },
|
|
9482
9538
|
// 5 minutes
|
|
@@ -9606,7 +9662,7 @@ class Fl {
|
|
|
9606
9662
|
}
|
|
9607
9663
|
}
|
|
9608
9664
|
const _l = new Fl();
|
|
9609
|
-
class
|
|
9665
|
+
class wm {
|
|
9610
9666
|
constructor(t, r = {}) {
|
|
9611
9667
|
this.requestInterceptors = [], this.responseInterceptors = [], this.baseURL = t, this.defaultHeaders = r;
|
|
9612
9668
|
}
|
|
@@ -9662,7 +9718,7 @@ class vm {
|
|
|
9662
9718
|
return this.request(t, { method: "DELETE" });
|
|
9663
9719
|
}
|
|
9664
9720
|
}
|
|
9665
|
-
const
|
|
9721
|
+
const km = async (e, t = 3, r = 1e3) => {
|
|
9666
9722
|
let n;
|
|
9667
9723
|
for (let a = 0; a <= t; a++)
|
|
9668
9724
|
try {
|
|
@@ -9675,7 +9731,7 @@ const wm = async (e, t = 3, r = 1e3) => {
|
|
|
9675
9731
|
}
|
|
9676
9732
|
throw n;
|
|
9677
9733
|
};
|
|
9678
|
-
class
|
|
9734
|
+
class Cm {
|
|
9679
9735
|
constructor() {
|
|
9680
9736
|
this.abortController = new AbortController();
|
|
9681
9737
|
}
|
|
@@ -9692,7 +9748,7 @@ class km {
|
|
|
9692
9748
|
this.abortController.abort();
|
|
9693
9749
|
}
|
|
9694
9750
|
}
|
|
9695
|
-
const
|
|
9751
|
+
const Sm = {
|
|
9696
9752
|
invalidate: (e) => Se.invalidate(e),
|
|
9697
9753
|
clear: () => Se.clear(),
|
|
9698
9754
|
getStats: () => Se.getStats(),
|
|
@@ -9736,19 +9792,19 @@ function Ul() {
|
|
|
9736
9792
|
function ql() {
|
|
9737
9793
|
return Hl() ? "localhost" : Vl() ? "wallet-browser" : Ul() ? "network" : "production";
|
|
9738
9794
|
}
|
|
9739
|
-
function
|
|
9795
|
+
function Nm() {
|
|
9740
9796
|
const e = ql();
|
|
9741
9797
|
return e === "localhost" || e === "wallet-browser";
|
|
9742
9798
|
}
|
|
9743
|
-
function
|
|
9799
|
+
function Em(e) {
|
|
9744
9800
|
}
|
|
9745
9801
|
function Gl() {
|
|
9746
9802
|
return typeof window < "u";
|
|
9747
9803
|
}
|
|
9748
|
-
function
|
|
9804
|
+
function Am() {
|
|
9749
9805
|
return typeof window < "u";
|
|
9750
9806
|
}
|
|
9751
|
-
function
|
|
9807
|
+
function Pm(e, t) {
|
|
9752
9808
|
if (Gl())
|
|
9753
9809
|
e();
|
|
9754
9810
|
else
|
|
@@ -9820,7 +9876,7 @@ const Kl = {
|
|
|
9820
9876
|
"object-src": ["'none'"],
|
|
9821
9877
|
"base-uri": ["'self'"],
|
|
9822
9878
|
"form-action": ["'self'"]
|
|
9823
|
-
}, Yl = () => Object.entries(Kl).map(([e, t]) => `${e} ${t.join(" ")}`).join("; "),
|
|
9879
|
+
}, Yl = () => Object.entries(Kl).map(([e, t]) => `${e} ${t.join(" ")}`).join("; "), Tm = {
|
|
9824
9880
|
"X-Frame-Options": "DENY",
|
|
9825
9881
|
"X-Content-Type-Options": "nosniff",
|
|
9826
9882
|
"X-XSS-Protection": "1; mode=block",
|
|
@@ -9831,7 +9887,7 @@ const Kl = {
|
|
|
9831
9887
|
"Cross-Origin-Opener-Policy": "same-origin-allow-popups",
|
|
9832
9888
|
"Cross-Origin-Resource-Policy": "cross-origin",
|
|
9833
9889
|
"Content-Security-Policy": Yl()
|
|
9834
|
-
},
|
|
9890
|
+
}, $m = {
|
|
9835
9891
|
fonts: "public, max-age=31536000, immutable",
|
|
9836
9892
|
images: "public, max-age=31536000, immutable",
|
|
9837
9893
|
js: "public, max-age=31536000, immutable",
|
|
@@ -9839,10 +9895,10 @@ const Kl = {
|
|
|
9839
9895
|
serviceWorker: "public, max-age=0, must-revalidate",
|
|
9840
9896
|
manifest: "public, max-age=86400",
|
|
9841
9897
|
api: "no-cache, no-store, must-revalidate"
|
|
9842
|
-
},
|
|
9898
|
+
}, Lm = () => {
|
|
9843
9899
|
typeof window < "u" && document.addEventListener("securitypolicyviolation", () => {
|
|
9844
9900
|
});
|
|
9845
|
-
},
|
|
9901
|
+
}, Im = {
|
|
9846
9902
|
walletConnections: "Always verify wallet signatures and never trust client-side data",
|
|
9847
9903
|
rpcEndpoints: "Use reputable RPC providers and consider rate limiting",
|
|
9848
9904
|
contractInteractions: "Validate all smart contract interactions on the backend",
|
|
@@ -9860,7 +9916,7 @@ function Ql() {
|
|
|
9860
9916
|
qt = e && e < 4 || t && t < 4;
|
|
9861
9917
|
}
|
|
9862
9918
|
Ql();
|
|
9863
|
-
function
|
|
9919
|
+
function Rm(e, t, r = {}) {
|
|
9864
9920
|
const {
|
|
9865
9921
|
retries: n = 3,
|
|
9866
9922
|
timeout: a = 1e4,
|
|
@@ -10023,7 +10079,7 @@ const ze = class ze {
|
|
|
10023
10079
|
};
|
|
10024
10080
|
ze.routeMap = /* @__PURE__ */ new Map(), ze.routeUsageStats = /* @__PURE__ */ new Map(), ze.currentRoute = "";
|
|
10025
10081
|
let br = ze;
|
|
10026
|
-
const
|
|
10082
|
+
const Mm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "medium" }) => {
|
|
10027
10083
|
const [o, s] = R(!1), [l, c] = R(!1), d = P.useRef(null);
|
|
10028
10084
|
V(() => {
|
|
10029
10085
|
if (!d.current) return;
|
|
@@ -10061,10 +10117,10 @@ const Rm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "mediu
|
|
|
10061
10117
|
!o && l && /* @__PURE__ */ i("div", { className: "absolute inset-0 bg-gray-200 animate-pulse rounded" })
|
|
10062
10118
|
] });
|
|
10063
10119
|
};
|
|
10064
|
-
function
|
|
10120
|
+
function Om() {
|
|
10065
10121
|
ce.clear(), at.clear();
|
|
10066
10122
|
}
|
|
10067
|
-
function
|
|
10123
|
+
function Dm() {
|
|
10068
10124
|
return {
|
|
10069
10125
|
cachedComponents: ce.size,
|
|
10070
10126
|
preloadQueue: at.size,
|
|
@@ -10109,17 +10165,17 @@ const Jl = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10109
10165
|
throw o;
|
|
10110
10166
|
}), a = ec(t);
|
|
10111
10167
|
return (o) => /* @__PURE__ */ i(He, { fallback: /* @__PURE__ */ i(a, {}), children: /* @__PURE__ */ i(n, { ...o }) });
|
|
10112
|
-
},
|
|
10168
|
+
}, zm = async (e) => {
|
|
10113
10169
|
try {
|
|
10114
10170
|
await e();
|
|
10115
10171
|
} catch {
|
|
10116
10172
|
}
|
|
10117
|
-
},
|
|
10173
|
+
}, Wm = (e) => {
|
|
10118
10174
|
const t = {};
|
|
10119
10175
|
return Object.entries(e).forEach(([r, n]) => {
|
|
10120
10176
|
t[r] = tc(n, "skeleton");
|
|
10121
10177
|
}), t;
|
|
10122
|
-
},
|
|
10178
|
+
}, Bm = (e) => e, rc = {
|
|
10123
10179
|
// Critical routes (preload immediately)
|
|
10124
10180
|
critical: ["/", "/connect", "/mail"],
|
|
10125
10181
|
// Secondary routes (preload on idle)
|
|
@@ -10158,7 +10214,7 @@ const Jl = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10158
10214
|
};
|
|
10159
10215
|
We.preloadedComponents = /* @__PURE__ */ new Set(), We.preloadQueue = [], We.isPreloading = !1;
|
|
10160
10216
|
let xr = We;
|
|
10161
|
-
const
|
|
10217
|
+
const jm = () => {
|
|
10162
10218
|
"requestIdleCallback" in window && window.requestIdleCallback(() => {
|
|
10163
10219
|
rc.secondary.forEach((e) => {
|
|
10164
10220
|
});
|
|
@@ -10167,7 +10223,7 @@ const Bm = () => {
|
|
|
10167
10223
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10168
10224
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10169
10225
|
] }), Ve = /* @__PURE__ */ new Map();
|
|
10170
|
-
function
|
|
10226
|
+
function Fm(e, t) {
|
|
10171
10227
|
const {
|
|
10172
10228
|
condition: r,
|
|
10173
10229
|
fallback: n,
|
|
@@ -10212,7 +10268,7 @@ function jm(e, t) {
|
|
|
10212
10268
|
};
|
|
10213
10269
|
return c.displayName = `ConditionalLazy(${l})`, c;
|
|
10214
10270
|
}
|
|
10215
|
-
const
|
|
10271
|
+
const _m = {
|
|
10216
10272
|
// Example: Premium features only for subscribed users
|
|
10217
10273
|
// PremiumEmailFeatures: createConditionalLazyComponent(
|
|
10218
10274
|
// () => import('../components/premium/PremiumEmailFeatures'),
|
|
@@ -10225,7 +10281,7 @@ const Fm = {
|
|
|
10225
10281
|
// priority: 'high'
|
|
10226
10282
|
// }
|
|
10227
10283
|
// ),
|
|
10228
|
-
},
|
|
10284
|
+
}, Vm = {
|
|
10229
10285
|
// Examples of platform-specific conditional loading
|
|
10230
10286
|
// These can be implemented as needed for specific platform optimizations
|
|
10231
10287
|
};
|
|
@@ -10245,10 +10301,10 @@ async function nc(e, t, r) {
|
|
|
10245
10301
|
}
|
|
10246
10302
|
throw n;
|
|
10247
10303
|
}
|
|
10248
|
-
function
|
|
10304
|
+
function Hm() {
|
|
10249
10305
|
Ve.clear();
|
|
10250
10306
|
}
|
|
10251
|
-
function
|
|
10307
|
+
function Um() {
|
|
10252
10308
|
return {
|
|
10253
10309
|
cachedComponents: Ve.size,
|
|
10254
10310
|
cacheEntries: Array.from(Ve.entries()).map(([e, t]) => ({
|
|
@@ -10469,15 +10525,15 @@ class ac {
|
|
|
10469
10525
|
}
|
|
10470
10526
|
}
|
|
10471
10527
|
let Re = null;
|
|
10472
|
-
function
|
|
10528
|
+
function qm() {
|
|
10473
10529
|
Re || (Re = new ac(), document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
10474
10530
|
Re?.initializePreloading();
|
|
10475
10531
|
}) : Re.initializePreloading());
|
|
10476
10532
|
}
|
|
10477
|
-
function
|
|
10533
|
+
function Gm() {
|
|
10478
10534
|
return Re?.getPreloadingStats();
|
|
10479
10535
|
}
|
|
10480
|
-
function
|
|
10536
|
+
function Km(e) {
|
|
10481
10537
|
const t = {
|
|
10482
10538
|
// Core AI Classification
|
|
10483
10539
|
"ai-content-type": e.contentType,
|
|
@@ -10548,7 +10604,7 @@ function oc(e) {
|
|
|
10548
10604
|
]
|
|
10549
10605
|
} : t;
|
|
10550
10606
|
}
|
|
10551
|
-
function
|
|
10607
|
+
function Ym(e, t) {
|
|
10552
10608
|
return t.map((r) => ({
|
|
10553
10609
|
type: "related-content",
|
|
10554
10610
|
target: r.url,
|
|
@@ -10591,7 +10647,7 @@ function sc(e) {
|
|
|
10591
10647
|
];
|
|
10592
10648
|
return e.contentType === "governance-page" ? [...t, ...r] : t;
|
|
10593
10649
|
}
|
|
10594
|
-
function
|
|
10650
|
+
function Qm(e, t) {
|
|
10595
10651
|
return {
|
|
10596
10652
|
contentClassification: {
|
|
10597
10653
|
type: e.contentType,
|
|
@@ -10617,7 +10673,7 @@ function lc(e) {
|
|
|
10617
10673
|
documentation: "TechArticle"
|
|
10618
10674
|
}[e] || "WebPage";
|
|
10619
10675
|
}
|
|
10620
|
-
function
|
|
10676
|
+
function Xm(e) {
|
|
10621
10677
|
return {
|
|
10622
10678
|
"@context": "https://schema.org",
|
|
10623
10679
|
"@type": "MonitorAction",
|
|
@@ -10639,7 +10695,7 @@ function Qm(e) {
|
|
|
10639
10695
|
}
|
|
10640
10696
|
};
|
|
10641
10697
|
}
|
|
10642
|
-
const
|
|
10698
|
+
const Zm = {
|
|
10643
10699
|
governancePage: {
|
|
10644
10700
|
contentType: "governance-page",
|
|
10645
10701
|
primaryTopic: "DAO Governance Communication Platform",
|
|
@@ -10775,14 +10831,14 @@ function Rn(e) {
|
|
|
10775
10831
|
);
|
|
10776
10832
|
return a.displayName = `Lazy${e}Provider`, xt.set(t, a), a;
|
|
10777
10833
|
}
|
|
10778
|
-
function
|
|
10834
|
+
function Jm({
|
|
10779
10835
|
children: e
|
|
10780
10836
|
}) {
|
|
10781
10837
|
const t = In();
|
|
10782
10838
|
return t.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
|
|
10783
10839
|
setTimeout(() => {
|
|
10784
10840
|
}, 1e3);
|
|
10785
|
-
}), /* @__PURE__ */ h(
|
|
10841
|
+
}), /* @__PURE__ */ h(H, { children: [
|
|
10786
10842
|
t.map((r) => {
|
|
10787
10843
|
const n = Rn(r.name);
|
|
10788
10844
|
return /* @__PURE__ */ i(n, {}, r.name);
|
|
@@ -10810,7 +10866,7 @@ const Gt = class Gt {
|
|
|
10810
10866
|
};
|
|
10811
10867
|
Gt.preloadedWallets = /* @__PURE__ */ new Set();
|
|
10812
10868
|
let ot = Gt;
|
|
10813
|
-
function
|
|
10869
|
+
function e0() {
|
|
10814
10870
|
return {
|
|
10815
10871
|
availableWallets: In(),
|
|
10816
10872
|
preloadWallet: (n) => {
|
|
@@ -10820,7 +10876,7 @@ function Jm() {
|
|
|
10820
10876
|
hasWallet: (n) => De.has(n.toLowerCase())
|
|
10821
10877
|
};
|
|
10822
10878
|
}
|
|
10823
|
-
function
|
|
10879
|
+
function t0({
|
|
10824
10880
|
walletName: e,
|
|
10825
10881
|
onConnect: t,
|
|
10826
10882
|
disabled: r = !1
|
|
@@ -10841,7 +10897,7 @@ function e0({
|
|
|
10841
10897
|
}
|
|
10842
10898
|
);
|
|
10843
10899
|
}
|
|
10844
|
-
class
|
|
10900
|
+
class r0 {
|
|
10845
10901
|
constructor() {
|
|
10846
10902
|
this.criticalResources = [], this.observedMetrics = {
|
|
10847
10903
|
fcp: 0,
|
|
@@ -11079,28 +11135,28 @@ const vt = {
|
|
|
11079
11135
|
clearEntries: (e) => {
|
|
11080
11136
|
typeof performance < "u" && (e ? (performance.clearMeasures?.(e), performance.clearMarks?.(e)) : (performance.clearMeasures?.(), performance.clearMarks?.()));
|
|
11081
11137
|
}
|
|
11082
|
-
},
|
|
11138
|
+
}, n0 = (e, t = []) => {
|
|
11083
11139
|
V(() => (vt.mark(`${e}-start`), () => {
|
|
11084
11140
|
vt.mark(`${e}-end`), vt.measure(e, `${e}-start`, `${e}-end`);
|
|
11085
11141
|
}), [e, t]);
|
|
11086
|
-
},
|
|
11087
|
-
const t =
|
|
11142
|
+
}, a0 = (e) => {
|
|
11143
|
+
const t = q(e);
|
|
11088
11144
|
return t.current = e, re(
|
|
11089
11145
|
(...r) => t.current(...r),
|
|
11090
11146
|
[]
|
|
11091
11147
|
);
|
|
11092
|
-
},
|
|
11093
|
-
const n =
|
|
11148
|
+
}, o0 = (e, t, r) => {
|
|
11149
|
+
const n = q(t), a = q(void 0);
|
|
11094
11150
|
return $t(() => (r && process.env.NODE_ENV === "development" && t.some(
|
|
11095
11151
|
(o, s) => o !== n.current[s]
|
|
11096
11152
|
), n.current = t, a.current = e(), a.current), [e, r, t]);
|
|
11097
|
-
}, it = /* @__PURE__ */ new Map(),
|
|
11153
|
+
}, it = /* @__PURE__ */ new Map(), i0 = (e) => {
|
|
11098
11154
|
const t = it.get(e) || 0;
|
|
11099
11155
|
it.set(e, t + 1), V(() => {
|
|
11100
11156
|
process.env.NODE_ENV;
|
|
11101
11157
|
});
|
|
11102
|
-
},
|
|
11103
|
-
const [t, r] = R(/* @__PURE__ */ new Set()), n =
|
|
11158
|
+
}, s0 = () => Object.fromEntries(it), l0 = () => it.clear(), c0 = (e) => P.lazy(e), d0 = (e = 0.1) => {
|
|
11159
|
+
const [t, r] = R(/* @__PURE__ */ new Set()), n = q(null);
|
|
11104
11160
|
V(() => (n.current = new IntersectionObserver(
|
|
11105
11161
|
(o) => {
|
|
11106
11162
|
o.forEach((s) => {
|
|
@@ -11118,7 +11174,7 @@ const vt = {
|
|
|
11118
11174
|
o && n.current && n.current.observe(o);
|
|
11119
11175
|
}, []);
|
|
11120
11176
|
return { loadedImages: t, observeImage: a };
|
|
11121
|
-
},
|
|
11177
|
+
}, u0 = (e) => {
|
|
11122
11178
|
typeof window < "u" && "requestIdleCallback" in window ? window.requestIdleCallback(() => {
|
|
11123
11179
|
e().catch(() => {
|
|
11124
11180
|
});
|
|
@@ -11126,20 +11182,20 @@ const vt = {
|
|
|
11126
11182
|
e().catch(() => {
|
|
11127
11183
|
});
|
|
11128
11184
|
}, 100);
|
|
11129
|
-
}, Mn = {},
|
|
11185
|
+
}, Mn = {}, m0 = (e) => {
|
|
11130
11186
|
Mn[e.name] = e.value, process.env.NODE_ENV;
|
|
11131
|
-
},
|
|
11187
|
+
}, g0 = () => Mn, p0 = (e, t = "script") => {
|
|
11132
11188
|
if (typeof document < "u") {
|
|
11133
11189
|
const r = document.createElement("link");
|
|
11134
11190
|
r.rel = "prefetch", r.href = e, r.as = t, document.head.appendChild(r);
|
|
11135
11191
|
}
|
|
11136
|
-
},
|
|
11192
|
+
}, f0 = (e, t = "script", r) => {
|
|
11137
11193
|
if (typeof document < "u") {
|
|
11138
11194
|
const n = document.createElement("link");
|
|
11139
11195
|
n.rel = "preload", n.href = e, n.as = t, r && (n.crossOrigin = "anonymous"), document.head.appendChild(n);
|
|
11140
11196
|
}
|
|
11141
|
-
},
|
|
11142
|
-
const t =
|
|
11197
|
+
}, h0 = (e) => {
|
|
11198
|
+
const t = q(/* @__PURE__ */ new Set()), r = q(/* @__PURE__ */ new Set()), n = re((o, s) => {
|
|
11143
11199
|
const l = setTimeout(() => {
|
|
11144
11200
|
t.current.delete(l), o();
|
|
11145
11201
|
}, s);
|
|
@@ -11180,7 +11236,7 @@ const vt = {
|
|
|
11180
11236
|
`CLS (${e.CLS}) exceeds budget (${me.maxCLS})`
|
|
11181
11237
|
), t;
|
|
11182
11238
|
}
|
|
11183
|
-
},
|
|
11239
|
+
}, y0 = ({
|
|
11184
11240
|
contentType: e,
|
|
11185
11241
|
aiSummary: t,
|
|
11186
11242
|
technicalComplexity: r = "intermediate"
|
|
@@ -11188,13 +11244,13 @@ const vt = {
|
|
|
11188
11244
|
/* @__PURE__ */ i("meta", { name: "ai:content-type", content: e }),
|
|
11189
11245
|
/* @__PURE__ */ i("meta", { name: "ai:summary", content: t }),
|
|
11190
11246
|
/* @__PURE__ */ i("meta", { name: "ai:complexity", content: r })
|
|
11191
|
-
] }),
|
|
11247
|
+
] }), b0 = ({
|
|
11192
11248
|
children: e,
|
|
11193
11249
|
className: t,
|
|
11194
11250
|
...r
|
|
11195
|
-
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }),
|
|
11251
|
+
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }), x0 = ({
|
|
11196
11252
|
children: e
|
|
11197
|
-
}) => /* @__PURE__ */ i(
|
|
11253
|
+
}) => /* @__PURE__ */ i(H, { children: e }), Pe = (e) => Array.isArray(e) ? e : typeof e == "string" ? e.split(",").map((t) => t.trim()).filter(Boolean) : [], kr = (e) => {
|
|
11198
11254
|
const t = Pe(e.audience);
|
|
11199
11255
|
return {
|
|
11200
11256
|
"@context": "https://schema.org",
|
|
@@ -11353,7 +11409,7 @@ const vt = {
|
|
|
11353
11409
|
"Smart contract integration"
|
|
11354
11410
|
]
|
|
11355
11411
|
};
|
|
11356
|
-
},
|
|
11412
|
+
}, v0 = (e) => ({
|
|
11357
11413
|
"@context": "https://schema.org",
|
|
11358
11414
|
"@type": "FAQPage",
|
|
11359
11415
|
mainEntity: e.map((t) => ({
|
|
@@ -11498,7 +11554,7 @@ const vt = {
|
|
|
11498
11554
|
"content:expertise": "technical",
|
|
11499
11555
|
"content:trustworthiness": "verified"
|
|
11500
11556
|
};
|
|
11501
|
-
},
|
|
11557
|
+
}, w0 = (e) => ({
|
|
11502
11558
|
structuredData: {
|
|
11503
11559
|
product: kr(e),
|
|
11504
11560
|
article: Cr(e),
|
|
@@ -11512,7 +11568,7 @@ const vt = {
|
|
|
11512
11568
|
Cr(e),
|
|
11513
11569
|
Sr(e)
|
|
11514
11570
|
]
|
|
11515
|
-
}),
|
|
11571
|
+
}), k0 = {
|
|
11516
11572
|
homepage: {
|
|
11517
11573
|
title: "0xmail.box - Revolutionary Web3 Email Platform | Wallet-Based Authentication",
|
|
11518
11574
|
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.",
|
|
@@ -11576,7 +11632,7 @@ const vt = {
|
|
|
11576
11632
|
readingTime: 8,
|
|
11577
11633
|
relatedTopics: ["Token economics", "Reward systems", "Referral marketing"]
|
|
11578
11634
|
}
|
|
11579
|
-
},
|
|
11635
|
+
}, C0 = (e) => {
|
|
11580
11636
|
const {
|
|
11581
11637
|
level: t,
|
|
11582
11638
|
text: r,
|
|
@@ -11654,7 +11710,7 @@ const vt = {
|
|
|
11654
11710
|
className: t,
|
|
11655
11711
|
semanticContext: "feature"
|
|
11656
11712
|
})
|
|
11657
|
-
},
|
|
11713
|
+
}, S0 = (e) => {
|
|
11658
11714
|
const t = [], r = [], n = e.filter((a) => a.level === 1).length;
|
|
11659
11715
|
n === 0 ? t.push("Missing H1 tag - every page should have exactly one H1") : n > 1 && t.push(
|
|
11660
11716
|
`Multiple H1 tags found (${n}) - use only one H1 per page`
|
|
@@ -11674,7 +11730,7 @@ const vt = {
|
|
|
11674
11730
|
errors: t,
|
|
11675
11731
|
suggestions: r
|
|
11676
11732
|
};
|
|
11677
|
-
},
|
|
11733
|
+
}, N0 = {
|
|
11678
11734
|
walletConnection: ie.pageTitle("Connect Your Web3 Wallet"),
|
|
11679
11735
|
emailBenefits: ie.majorSection("Why Choose Web3 Email?"),
|
|
11680
11736
|
securityFeature: ie.feature("Secure & Private"),
|
|
@@ -11684,7 +11740,7 @@ const vt = {
|
|
|
11684
11740
|
setupStep1: ie.step("Connect Your Wallet", 1),
|
|
11685
11741
|
setupStep2: ie.step("Verify Your Identity", 2),
|
|
11686
11742
|
setupStep3: ie.step("Access Your Emails", 3)
|
|
11687
|
-
},
|
|
11743
|
+
}, E0 = [
|
|
11688
11744
|
{
|
|
11689
11745
|
term: "Web3 Email",
|
|
11690
11746
|
definition: "Email system that uses blockchain wallet addresses as authentication instead of traditional passwords",
|
|
@@ -11769,7 +11825,7 @@ const vt = {
|
|
|
11769
11825
|
examples: ["Gmail to Web3 email", "Outlook integration"],
|
|
11770
11826
|
context: "Web2/Web3 bridge ensures compatibility with existing email infrastructure"
|
|
11771
11827
|
}
|
|
11772
|
-
],
|
|
11828
|
+
], A0 = (e) => ({
|
|
11773
11829
|
// Semantic markup for AI understanding
|
|
11774
11830
|
"@context": "https://schema.org",
|
|
11775
11831
|
"@type": "LearningResource",
|
|
@@ -11787,7 +11843,7 @@ const vt = {
|
|
|
11787
11843
|
keywords: e.concepts,
|
|
11788
11844
|
applicationExample: e.practicalApplications,
|
|
11789
11845
|
isRelatedTo: e.relatedConcepts
|
|
11790
|
-
}),
|
|
11846
|
+
}), P0 = (e) => {
|
|
11791
11847
|
const t = {
|
|
11792
11848
|
nodes: e.map((r) => ({
|
|
11793
11849
|
id: r.term,
|
|
@@ -11812,7 +11868,7 @@ const vt = {
|
|
|
11812
11868
|
});
|
|
11813
11869
|
});
|
|
11814
11870
|
}), t;
|
|
11815
|
-
},
|
|
11871
|
+
}, T0 = (e) => {
|
|
11816
11872
|
const t = [];
|
|
11817
11873
|
return e.examples?.forEach((r) => {
|
|
11818
11874
|
t.push({
|
|
@@ -11832,7 +11888,7 @@ const vt = {
|
|
|
11832
11888
|
type: "definition",
|
|
11833
11889
|
confidence: 1
|
|
11834
11890
|
}), t;
|
|
11835
|
-
},
|
|
11891
|
+
}, $0 = (e) => {
|
|
11836
11892
|
const t = [];
|
|
11837
11893
|
return e.forEach((r) => {
|
|
11838
11894
|
t.push({
|
|
@@ -11857,7 +11913,7 @@ const vt = {
|
|
|
11857
11913
|
difficulty: "intermediate"
|
|
11858
11914
|
});
|
|
11859
11915
|
}), t;
|
|
11860
|
-
},
|
|
11916
|
+
}, L0 = {
|
|
11861
11917
|
homepage: {
|
|
11862
11918
|
domain: "Web3 Email Platform",
|
|
11863
11919
|
category: "Web3 Communication",
|
|
@@ -11948,52 +12004,52 @@ const vt = {
|
|
|
11948
12004
|
* @author John Qiu Huang
|
|
11949
12005
|
* @license MIT
|
|
11950
12006
|
*/
|
|
11951
|
-
const
|
|
12007
|
+
const I0 = {
|
|
11952
12008
|
utils: {
|
|
11953
12009
|
cn: v
|
|
11954
12010
|
}
|
|
11955
12011
|
};
|
|
11956
12012
|
export {
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
12013
|
+
y0 as AIMeta,
|
|
12014
|
+
x0 as AITrainingEnhancer,
|
|
12015
|
+
L0 as AI_TRAINING_CONFIGS,
|
|
11960
12016
|
jd as AddressLink,
|
|
11961
12017
|
Vd as Alert,
|
|
11962
12018
|
_d as AlertDescription,
|
|
11963
12019
|
Fd as AlertTitle,
|
|
11964
12020
|
Ne as AnimatedSection,
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
12021
|
+
O0 as ArrowLeftIcon,
|
|
12022
|
+
D0 as ArrowRightIcon,
|
|
12023
|
+
z0 as Bars3Icon,
|
|
11968
12024
|
um as BatchRender,
|
|
11969
|
-
|
|
11970
|
-
|
|
12025
|
+
W0 as BellIcon,
|
|
12026
|
+
B0 as BellSlashIcon,
|
|
11971
12027
|
Lu as BodyText,
|
|
11972
12028
|
Dl as Breadcrumb,
|
|
11973
12029
|
Uu as BreadcrumbSection,
|
|
11974
12030
|
be as Button,
|
|
11975
12031
|
gm as CTASection,
|
|
11976
12032
|
Xd as CalloutBox,
|
|
11977
|
-
|
|
12033
|
+
Cm as CancellableRequest,
|
|
11978
12034
|
Fr as Card,
|
|
11979
12035
|
Kd as CardContent,
|
|
11980
12036
|
Yd as CardFooter,
|
|
11981
12037
|
Gd as CardHeader,
|
|
11982
12038
|
To as ChainBadge,
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
12039
|
+
j0 as ChartBarIcon,
|
|
12040
|
+
F0 as CheckCircleIcon,
|
|
12041
|
+
xg as CheckCircleIconSolid,
|
|
12042
|
+
_0 as CheckIcon,
|
|
12043
|
+
vg as CheckIconSolid,
|
|
12044
|
+
V0 as ChevronDownIcon,
|
|
12045
|
+
H0 as ChevronLeftIcon,
|
|
12046
|
+
U0 as ChevronRightIcon,
|
|
12047
|
+
q0 as ChevronUpIcon,
|
|
12048
|
+
G0 as ClockIcon,
|
|
11993
12049
|
qu as CodeBlock,
|
|
11994
|
-
|
|
12050
|
+
K0 as CodeBracketIcon,
|
|
11995
12051
|
Gu as CodeExampleBlock,
|
|
11996
|
-
|
|
12052
|
+
Y0 as Cog6ToothIcon,
|
|
11997
12053
|
Ku as CollapsibleDocumentationTopic,
|
|
11998
12054
|
rr as CollapsibleEmailField,
|
|
11999
12055
|
Zd as ComparisonSection,
|
|
@@ -12001,20 +12057,20 @@ export {
|
|
|
12001
12057
|
lm as ConditionalRender,
|
|
12002
12058
|
Du as ConfirmationDialog,
|
|
12003
12059
|
eu as ContentContainer,
|
|
12004
|
-
|
|
12005
|
-
|
|
12060
|
+
Q0 as CreditCardIcon,
|
|
12061
|
+
X0 as DocumentTextIcon,
|
|
12006
12062
|
tu as Dropdown,
|
|
12007
12063
|
gu as EmailAccountsList,
|
|
12008
12064
|
qr as EmailInputField,
|
|
12009
12065
|
ku as EmailInputGroup,
|
|
12010
12066
|
Vo as EmptyState,
|
|
12011
|
-
|
|
12067
|
+
Z0 as EnvelopeIcon,
|
|
12012
12068
|
em as ErrorBoundary,
|
|
12013
12069
|
tm as ErrorBoundaryLazy,
|
|
12014
|
-
|
|
12015
|
-
|
|
12070
|
+
J0 as ExclamationTriangleIcon,
|
|
12071
|
+
wg as ExclamationTriangleIconSolid,
|
|
12016
12072
|
im as ExpensiveComponent,
|
|
12017
|
-
|
|
12073
|
+
eg as EyeSlashIcon,
|
|
12018
12074
|
Ud as FadeInScale,
|
|
12019
12075
|
Hd as FadeInUp,
|
|
12020
12076
|
_u as FeatureBlock,
|
|
@@ -12025,55 +12081,56 @@ export {
|
|
|
12025
12081
|
Mt as FormFieldGroup,
|
|
12026
12082
|
Fu as FormSection,
|
|
12027
12083
|
Wu as FreeEmailBanner,
|
|
12028
|
-
|
|
12084
|
+
tg as GlobeAltIcon,
|
|
12029
12085
|
ou as HeroBannerWithBadge,
|
|
12030
|
-
|
|
12086
|
+
rg as HomeIcon,
|
|
12031
12087
|
zu as IconContainer,
|
|
12032
|
-
|
|
12088
|
+
ng as InboxIcon,
|
|
12033
12089
|
Qd as InfoCard,
|
|
12034
12090
|
Bu as InfoPanel,
|
|
12035
|
-
|
|
12091
|
+
ag as InformationCircleIcon,
|
|
12036
12092
|
vo as Input,
|
|
12037
12093
|
Bd as KYCLevelCard,
|
|
12038
12094
|
zd as KYCStatusBadge,
|
|
12039
|
-
|
|
12095
|
+
og as KeyIcon,
|
|
12040
12096
|
_r as Label,
|
|
12041
12097
|
Zu as LanguageSelector,
|
|
12042
12098
|
cm as LazyComponent,
|
|
12043
|
-
|
|
12099
|
+
Mm as LazyImage,
|
|
12044
12100
|
_a as LazyLoadQueue,
|
|
12045
|
-
|
|
12101
|
+
t0 as LazyWalletButton,
|
|
12046
12102
|
hd as LazyWrapper,
|
|
12047
12103
|
jr as LoadPriority,
|
|
12048
|
-
|
|
12104
|
+
xm as LoadingOptimizer,
|
|
12049
12105
|
vu as LoadingState,
|
|
12050
12106
|
Hu as Logo,
|
|
12051
|
-
|
|
12052
|
-
|
|
12107
|
+
ym as MasterDetailLayout,
|
|
12108
|
+
hm as MasterListItem,
|
|
12109
|
+
ig as MegaphoneIcon,
|
|
12053
12110
|
iu as MetricsGrid,
|
|
12054
|
-
|
|
12111
|
+
sg as MinusIcon,
|
|
12055
12112
|
yl as Modal,
|
|
12056
12113
|
bl as ModalContent,
|
|
12057
12114
|
xl as ModalFooter,
|
|
12058
12115
|
Ou as ModalHeader,
|
|
12059
12116
|
wu as NoContent,
|
|
12060
|
-
|
|
12117
|
+
wm as OptimizedAPIClient,
|
|
12061
12118
|
mm as OptimizedImage,
|
|
12062
|
-
|
|
12119
|
+
vm as OptimizedRoutePreloader,
|
|
12063
12120
|
bu as PageContainer,
|
|
12064
12121
|
fm as PageHeader,
|
|
12065
12122
|
Tu as PageTitle,
|
|
12066
|
-
|
|
12067
|
-
|
|
12123
|
+
lg as PaperAirplaneIcon,
|
|
12124
|
+
cg as PaperClipIcon,
|
|
12068
12125
|
dm as PerformanceBoundary,
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12126
|
+
bm as PerformanceOptimizer,
|
|
12127
|
+
Vm as PlatformSpecificComponents,
|
|
12128
|
+
dg as PlusIcon,
|
|
12072
12129
|
Va as PriorityLoader,
|
|
12073
12130
|
su as ProcessSteps,
|
|
12074
12131
|
Yu as PromotionalBanner,
|
|
12075
12132
|
lu as PullToRefresh,
|
|
12076
|
-
|
|
12133
|
+
ug as RocketLaunchIcon,
|
|
12077
12134
|
br as RouteBasedLazyLoader,
|
|
12078
12135
|
rm as SafeAppWrapper,
|
|
12079
12136
|
xu as Section,
|
|
@@ -12092,22 +12149,22 @@ export {
|
|
|
12092
12149
|
So as SelectSeparator,
|
|
12093
12150
|
wt as SelectTrigger,
|
|
12094
12151
|
ko as SelectValue,
|
|
12095
|
-
|
|
12152
|
+
b0 as SemanticHTML,
|
|
12096
12153
|
pu as SettingsList,
|
|
12097
|
-
|
|
12154
|
+
mg as ShieldCheckIcon,
|
|
12098
12155
|
Mu as SmartContent,
|
|
12099
12156
|
Ln as SmartLink,
|
|
12100
|
-
|
|
12101
|
-
|
|
12157
|
+
Jm as SmartWalletProviders,
|
|
12158
|
+
gg as SparklesIcon,
|
|
12102
12159
|
tr as Spinner,
|
|
12103
12160
|
pm as StandardPageLayout,
|
|
12104
|
-
|
|
12105
|
-
|
|
12161
|
+
pg as StarIcon,
|
|
12162
|
+
kg as StarIconSolid,
|
|
12106
12163
|
ju as StatCard,
|
|
12107
12164
|
mu as StatusBadge,
|
|
12108
12165
|
Eu as StatusIndicator,
|
|
12109
12166
|
Ju as StepList,
|
|
12110
|
-
|
|
12167
|
+
_m as SubscriptionGatedComponents,
|
|
12111
12168
|
Wd as SumsubWebSDK,
|
|
12112
12169
|
No as Switch,
|
|
12113
12170
|
Au as SystemStatusIndicator,
|
|
@@ -12121,105 +12178,105 @@ export {
|
|
|
12121
12178
|
Iu as TextLink,
|
|
12122
12179
|
Qu as TrackedButton,
|
|
12123
12180
|
Xu as TrackedLink,
|
|
12124
|
-
|
|
12181
|
+
fg as TrashIcon,
|
|
12125
12182
|
hu as UseCaseGrid,
|
|
12126
|
-
|
|
12183
|
+
hg as UserGroupIcon,
|
|
12127
12184
|
sm as VirtualListItem,
|
|
12128
|
-
|
|
12129
|
-
|
|
12185
|
+
E0 as WEB3_CONCEPTS,
|
|
12186
|
+
N0 as WEB3_EMAIL_HEADINGS,
|
|
12130
12187
|
ie as WEB3_HEADING_PATTERNS,
|
|
12131
12188
|
Vu as WalletIcon,
|
|
12132
12189
|
ot as WalletPreloader,
|
|
12133
|
-
|
|
12190
|
+
yg as XMarkIcon,
|
|
12134
12191
|
xd as addResourceHint,
|
|
12135
|
-
|
|
12192
|
+
Zm as aiOptimizationPresets,
|
|
12136
12193
|
kd as appStorage,
|
|
12137
12194
|
Ed as autoConnectWalletBrowser,
|
|
12138
12195
|
Wc as batchDOMUpdates,
|
|
12139
12196
|
Oe as bundleAnalysis,
|
|
12140
12197
|
io as buttonVariants,
|
|
12141
|
-
|
|
12142
|
-
|
|
12198
|
+
$m as cacheHeaders,
|
|
12199
|
+
Sm as cacheUtils,
|
|
12143
12200
|
$d as checkPerformanceBudget,
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12201
|
+
Om as clearComponentCache,
|
|
12202
|
+
Hm as clearConditionalCache,
|
|
12203
|
+
l0 as clearRenderCounts,
|
|
12147
12204
|
v as cn,
|
|
12148
12205
|
v as combineClassNames,
|
|
12149
|
-
|
|
12206
|
+
Pm as conditionalCSS,
|
|
12150
12207
|
Rd as convertFileSize,
|
|
12151
12208
|
mc as createAIMetaTags,
|
|
12152
12209
|
Sr as createAIOptimizedSchema,
|
|
12153
|
-
|
|
12210
|
+
Rm as createAdvancedLazyComponent,
|
|
12154
12211
|
ud as createBreadcrumb,
|
|
12155
12212
|
Rc as createCSSVariables,
|
|
12156
12213
|
Zt as createComparisonData,
|
|
12157
12214
|
ad as createConditionalImports,
|
|
12158
|
-
|
|
12215
|
+
Fm as createConditionalLazyComponent,
|
|
12159
12216
|
Jd as createEmailComparisonData,
|
|
12160
|
-
|
|
12217
|
+
v0 as createEnhancedFAQSchema,
|
|
12161
12218
|
dc as createEnhancedOpenGraph,
|
|
12162
12219
|
uc as createEnhancedTwitterCard,
|
|
12163
12220
|
Jt as createFeature,
|
|
12164
12221
|
tc as createLazyComponent,
|
|
12165
|
-
|
|
12222
|
+
c0 as createLazyComponentFactory,
|
|
12166
12223
|
yd as createLazyRoute,
|
|
12167
12224
|
Rn as createLazyWalletProvider,
|
|
12168
|
-
|
|
12225
|
+
Bm as createLibraryImports,
|
|
12169
12226
|
am as createMemoComponent,
|
|
12170
12227
|
$c as createOptimizedStyles,
|
|
12171
12228
|
fd as createProgressiveComponent,
|
|
12172
12229
|
au as createSecurityFeatures,
|
|
12173
12230
|
od as createSelectiveExports,
|
|
12174
12231
|
om as createSelectiveMemoComponent,
|
|
12175
|
-
|
|
12232
|
+
C0 as createSemanticHeading,
|
|
12176
12233
|
Nd as createSimpleStorage,
|
|
12177
12234
|
Cr as createTechnicalArticleSchema,
|
|
12178
12235
|
id as createTreeShakingConfig,
|
|
12179
|
-
|
|
12236
|
+
Wm as createUIComponents,
|
|
12180
12237
|
kr as createWeb3ProductSchema,
|
|
12181
|
-
|
|
12238
|
+
r0 as criticalPathOptimizer,
|
|
12182
12239
|
Kl as cspDirectives,
|
|
12183
12240
|
Ba as cssOptimization,
|
|
12184
12241
|
Me as deadCodeElimination,
|
|
12185
|
-
|
|
12242
|
+
I0 as default,
|
|
12186
12243
|
Ga as defaultPerformanceBudget,
|
|
12187
12244
|
In as detectAvailableWallets,
|
|
12188
12245
|
Ha as detectWalletBrowser,
|
|
12189
12246
|
Ld as exportPerformanceData,
|
|
12190
12247
|
Id as formatFileSize,
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12248
|
+
Km as generateAIMetaTags,
|
|
12249
|
+
A0 as generateAIMetadata,
|
|
12250
|
+
Qm as generateAIStructuredData,
|
|
12251
|
+
w0 as generateAdvancedSEO,
|
|
12195
12252
|
Yl as generateCSP,
|
|
12196
|
-
|
|
12197
|
-
|
|
12253
|
+
P0 as generateConceptGraph,
|
|
12254
|
+
Ym as generateContentRelationships,
|
|
12198
12255
|
ic as generateEntityRecognition,
|
|
12199
12256
|
qc as generateImageSEO,
|
|
12200
|
-
|
|
12257
|
+
Xm as generatePerformanceTrackingSchema,
|
|
12201
12258
|
Zc as generatePictureElement,
|
|
12202
12259
|
rd as generatePlaceholder,
|
|
12203
|
-
|
|
12260
|
+
$0 as generateQAPairs,
|
|
12204
12261
|
oc as generateSemanticMarkup,
|
|
12205
12262
|
Kc as generateSizes,
|
|
12206
12263
|
Yc as generateSocialImageMeta,
|
|
12207
12264
|
Gc as generateSrcSet,
|
|
12208
12265
|
sc as generateTopicClustering,
|
|
12209
|
-
|
|
12266
|
+
T0 as generateTrainingExamples,
|
|
12210
12267
|
dd as getActiveNavItem,
|
|
12211
|
-
|
|
12268
|
+
Um as getConditionalStats,
|
|
12212
12269
|
ql as getEnvironmentType,
|
|
12213
|
-
|
|
12270
|
+
Dm as getLazyLoadingStats,
|
|
12214
12271
|
Xc as getOptimalImageFormat,
|
|
12215
12272
|
Rt as getPerformanceMonitor,
|
|
12216
|
-
|
|
12217
|
-
|
|
12273
|
+
Gm as getPreloadingStats,
|
|
12274
|
+
s0 as getRenderCounts,
|
|
12218
12275
|
se as getUINavigationService,
|
|
12219
|
-
|
|
12220
|
-
|
|
12276
|
+
g0 as getWebVitals,
|
|
12277
|
+
qm as initializeAdvancedPreloading,
|
|
12221
12278
|
Ad as initializePerformanceMonitoring,
|
|
12222
|
-
|
|
12279
|
+
jm as initializePreloading,
|
|
12223
12280
|
jc as inlineCriticalStyles,
|
|
12224
12281
|
Hl as isLocalhost,
|
|
12225
12282
|
Ul as isNetworkAccess,
|
|
@@ -12228,7 +12285,7 @@ export {
|
|
|
12228
12285
|
vd as lazyLoadQueue,
|
|
12229
12286
|
pd as lazyWithPreload,
|
|
12230
12287
|
gd as lazyWithRetry,
|
|
12231
|
-
|
|
12288
|
+
Em as loadCSS,
|
|
12232
12289
|
Lc as loadCriticalCSS,
|
|
12233
12290
|
Ic as loadNonCriticalCSS,
|
|
12234
12291
|
Td as measureAsyncOperation,
|
|
@@ -12241,57 +12298,57 @@ export {
|
|
|
12241
12298
|
_c as optimizeGrid,
|
|
12242
12299
|
zc as optimizeWillChange,
|
|
12243
12300
|
jl as optimizedFetch,
|
|
12244
|
-
|
|
12301
|
+
k0 as pageSEOConfigs,
|
|
12245
12302
|
Md as parseFileSize,
|
|
12246
12303
|
me as performanceBudget,
|
|
12247
12304
|
vt as performanceUtils,
|
|
12248
12305
|
Oa as prefersReducedMotion,
|
|
12249
|
-
|
|
12250
|
-
|
|
12306
|
+
p0 as prefetchResource,
|
|
12307
|
+
zm as preloadComponent,
|
|
12251
12308
|
Jc as preloadImage,
|
|
12252
|
-
|
|
12253
|
-
|
|
12309
|
+
f0 as preloadResource,
|
|
12310
|
+
u0 as preloadRoute,
|
|
12254
12311
|
nd as preserveAspectRatio,
|
|
12255
12312
|
wd as priorityLoader,
|
|
12256
|
-
|
|
12313
|
+
m0 as reportWebVitals,
|
|
12257
12314
|
rc as routeConfig,
|
|
12258
|
-
|
|
12259
|
-
|
|
12315
|
+
Tm as securityHeaders,
|
|
12316
|
+
Lm as setupCSPReporting,
|
|
12260
12317
|
Qc as setupLazyLoading,
|
|
12261
12318
|
ed as setupProgressiveLoading,
|
|
12262
|
-
|
|
12319
|
+
Nm as shouldEnableWallet,
|
|
12263
12320
|
bt as smartLinkVariants,
|
|
12264
12321
|
za as supportsAVIF,
|
|
12265
|
-
|
|
12322
|
+
Am as supportsCSSImports,
|
|
12266
12323
|
Da as supportsWebP,
|
|
12267
12324
|
Cd as themeStorage,
|
|
12268
12325
|
Ka as useClickOutside,
|
|
12269
12326
|
Ya as useCodeLoader,
|
|
12270
12327
|
qa as useComponentPerformance,
|
|
12271
12328
|
Od as useCopyToClipboard,
|
|
12272
|
-
|
|
12329
|
+
o0 as useDebugMemo,
|
|
12273
12330
|
bd as useDynamicImport,
|
|
12274
|
-
|
|
12331
|
+
d0 as useImageLazyLoading,
|
|
12275
12332
|
Fa as useLazyLoad,
|
|
12276
12333
|
Fc as useLazyStyles,
|
|
12277
12334
|
ld as useLocation,
|
|
12278
12335
|
Hc as useMediaQuery,
|
|
12279
|
-
|
|
12336
|
+
h0 as useMemoryLeakDetection,
|
|
12280
12337
|
Dd as useMultipleCopyToClipboard,
|
|
12281
12338
|
sd as useNavigation,
|
|
12282
12339
|
Uc as useOptimizedTheme,
|
|
12283
|
-
|
|
12284
|
-
|
|
12340
|
+
e0 as useOptimizedWallets,
|
|
12341
|
+
n0 as usePerformanceMark,
|
|
12285
12342
|
Oc as useReducedMotion,
|
|
12286
|
-
|
|
12343
|
+
i0 as useRenderCount,
|
|
12287
12344
|
Mc as useResponsiveStyles,
|
|
12288
12345
|
cd as useSearchParams,
|
|
12289
12346
|
Ru as useSmartLinks,
|
|
12290
|
-
|
|
12347
|
+
a0 as useStableCallback,
|
|
12291
12348
|
Wa as utils,
|
|
12292
|
-
|
|
12349
|
+
S0 as validateHeadingStructure,
|
|
12293
12350
|
Sd as walletStorage,
|
|
12294
|
-
|
|
12351
|
+
Im as web3SecurityNotes,
|
|
12295
12352
|
Pd as withPerformanceTracking,
|
|
12296
|
-
|
|
12353
|
+
km as withRetry
|
|
12297
12354
|
};
|