@blockscout/ui-toolkit 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +217 -216
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as f, jsxs as q, Fragment as ze } from "react/jsx-runtime";
|
|
2
2
|
import { Accordion as Be, Icon as ge, defineRecipe as ke, Circle as Fi, Skeleton as br, Stack as Mi, Button as Da, ButtonGroup as ji, AbsoluteCenter as Dt, Spinner as fr, Span as Ba, useRecipe as za, Alert as je, Avatar as nt, Group as mr, useBreakpointValue as Ua, Tooltip as He, Portal as Fe, useDisclosure as Fa, chakra as Me, Badge as Ma, Checkbox as Ye, CheckboxGroup as ja, Link as Lr, LinkOverlay as Nr, LinkBox as Ha, Flex as Rt, Dialog as he, Drawer as Ce, Field as we, Heading as Wa, Image as $a, InputElement as Dr, Input as Va, Menu as de, PinInput as lt, Popover as me, ProgressCircle as rt, defineSlotRecipe as ce, defineConfig as Xa, createSystem as Ga, defaultConfig as qa, ChakraProvider as Ka, RadioGroup as tt, useRatingGroup as Ya, RatingGroup as We, useSelectContext as Hi, Select as fe, createListCollection as Za, Box as Ue, Slider as ye, HStack as Qa, For as Ja, Switch as Le, Table as qe, Tabs as Bt, Tag as Ne, Textarea as el, createToaster as tl, Toaster as rl, Toast as Ze, Center as nl, VisuallyHidden as ol, Text as Br } from "@chakra-ui/react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as L from "react";
|
|
4
4
|
import U, { useState as vr, useEffect as Wi, useCallback as zr } from "react";
|
|
5
5
|
import il from "react-dom";
|
|
6
6
|
import $i from "next/link";
|
|
7
7
|
import { ThemeProvider as al, useTheme as ll } from "next-themes";
|
|
8
8
|
import { useRouter as Vi } from "next/router";
|
|
9
9
|
import { useFormContext as Ke, useWatch as sl, useController as it } from "react-hook-form";
|
|
10
|
-
const Xi = (e) => /* @__PURE__ */
|
|
10
|
+
const Xi = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M11.535 11.293a1 1 0 0 0 0 1.414l3.536 3.536a1 1 0 1 1-1.414 1.414l-4.95-4.95a1 1 0 0 1 0-1.414l4.95-4.95a1 1 0 1 1 1.414 1.414l-3.536 3.536Z", fill: "currentColor" })), e0 = L.forwardRef(function(t, r) {
|
|
11
11
|
const { children: n, indicatorPlacement: o, variant: i, noIndicator: s, ...l } = t, p = i === "faq" ? "start" : o ?? "end", h = i === "faq" ? /* @__PURE__ */ f(
|
|
12
12
|
Be.ItemIndicator,
|
|
13
13
|
{
|
|
@@ -52,12 +52,12 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
52
52
|
n,
|
|
53
53
|
p === "end" && !s && h
|
|
54
54
|
] });
|
|
55
|
-
}), t0 =
|
|
55
|
+
}), t0 = L.forwardRef(function(t, r) {
|
|
56
56
|
return /* @__PURE__ */ f(Be.ItemContent, { children: /* @__PURE__ */ f(Be.ItemBody, { ...t, ref: r }) });
|
|
57
57
|
}), r0 = (e) => {
|
|
58
58
|
const { multiple: t = !0, ...r } = e;
|
|
59
59
|
return /* @__PURE__ */ f(Be.Root, { multiple: t, ...r });
|
|
60
|
-
}, n0 = Be.Item, cl = (e) => /* @__PURE__ */
|
|
60
|
+
}, n0 = Be.Item, cl = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M10 18.333a8.333 8.333 0 1 1 0-16.666 8.333 8.333 0 1 1 0 16.666Zm-.834-9.166v5h1.667v-5H9.166Zm0-3.334V7.5h1.667V5.833H9.166Z", fill: "currentColor" })), ul = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M9.44 8.035a.791.791 0 0 0 1.12 0l3.802-3.803a.791.791 0 0 1 1.119 0l.287.287a.79.79 0 0 1 0 1.119L11.965 9.44a.79.79 0 0 0 0 1.118l3.803 3.803a.791.791 0 0 1 0 1.119l-.287.287a.791.791 0 0 1-1.119 0l-3.803-3.803a.79.79 0 0 0-1.118 0l-3.803 3.803a.79.79 0 0 1-1.119 0l-.287-.287a.791.791 0 0 1 0-1.119l3.803-3.803a.791.791 0 0 0 0-1.118L4.232 5.638a.791.791 0 0 1 0-1.119l.287-.287a.791.791 0 0 1 1.119 0L9.44 8.035Z", fill: "currentColor" })), Gi = ke({
|
|
61
61
|
base: {
|
|
62
62
|
display: "flex",
|
|
63
63
|
gap: 0,
|
|
@@ -88,10 +88,10 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
88
88
|
size: "md",
|
|
89
89
|
visual: "plain"
|
|
90
90
|
}
|
|
91
|
-
}), o0 =
|
|
91
|
+
}), o0 = L.forwardRef(function(t, r) {
|
|
92
92
|
const { size: n, ...o } = t;
|
|
93
93
|
return /* @__PURE__ */ f(Fi, { size: n, asChild: !0, ref: r, children: /* @__PURE__ */ f(br, { ...o }) });
|
|
94
|
-
}), i0 =
|
|
94
|
+
}), i0 = L.forwardRef(
|
|
95
95
|
function(t, r) {
|
|
96
96
|
const { noOfLines: n = 3, gap: o, ...i } = t;
|
|
97
97
|
return /* @__PURE__ */ f(Mi, { gap: o, width: "full", ref: r, children: Array.from({ length: n }).map((s, l) => /* @__PURE__ */ f(
|
|
@@ -105,7 +105,7 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
105
105
|
l
|
|
106
106
|
)) });
|
|
107
107
|
}
|
|
108
|
-
), xe =
|
|
108
|
+
), xe = L.forwardRef(
|
|
109
109
|
function(t, r) {
|
|
110
110
|
const { loading: n = !1, ...o } = t;
|
|
111
111
|
return /* @__PURE__ */ f(
|
|
@@ -117,7 +117,7 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
117
117
|
}
|
|
118
118
|
);
|
|
119
119
|
}
|
|
120
|
-
), dl =
|
|
120
|
+
), dl = L.forwardRef(
|
|
121
121
|
function(t, r) {
|
|
122
122
|
const { loading: n, disabled: o, loadingText: i, children: s, expanded: l, selected: p, highlighted: h, loadingSkeleton: b = !1, ..._ } = t;
|
|
123
123
|
return /* @__PURE__ */ f(xe, { loading: b, asChild: !0, ref: r, children: /* @__PURE__ */ f(
|
|
@@ -140,24 +140,24 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
140
140
|
}
|
|
141
141
|
) });
|
|
142
142
|
}
|
|
143
|
-
), a0 =
|
|
143
|
+
), a0 = L.forwardRef(
|
|
144
144
|
function(t, r) {
|
|
145
145
|
const { ...n } = t;
|
|
146
146
|
return /* @__PURE__ */ f(ji, { ref: r, ...n });
|
|
147
147
|
}
|
|
148
|
-
), l0 =
|
|
148
|
+
), l0 = L.forwardRef(
|
|
149
149
|
function(t, r) {
|
|
150
|
-
const { children: n, onChange: o, variant: i = "segmented", defaultValue: s, loading: l = !1, equalWidth: p = !1, ...h } = t, b =
|
|
150
|
+
const { children: n, onChange: o, variant: i = "segmented", defaultValue: s, loading: l = !1, equalWidth: p = !1, ...h } = t, b = L.useMemo(() => {
|
|
151
151
|
const w = Array.isArray(n) ? n[0] : void 0;
|
|
152
152
|
return typeof (w == null ? void 0 : w.props.value) == "string" ? w.props.value : void 0;
|
|
153
|
-
}, [n]), [_, S] =
|
|
153
|
+
}, [n]), [_, S] = L.useState(s ?? b), m = L.useCallback((w) => {
|
|
154
154
|
const R = w.currentTarget.value;
|
|
155
155
|
S(R), o == null || o(R);
|
|
156
|
-
}, [o]), T =
|
|
156
|
+
}, [o]), T = L.Children.map(n, (w) => L.cloneElement(w, {
|
|
157
157
|
onClick: m,
|
|
158
158
|
selected: _ === w.props.value,
|
|
159
159
|
variant: i
|
|
160
|
-
})), O =
|
|
160
|
+
})), O = L.Children.count(n);
|
|
161
161
|
return /* @__PURE__ */ f(xe, { loading: l, children: /* @__PURE__ */ f(
|
|
162
162
|
ji,
|
|
163
163
|
{
|
|
@@ -208,10 +208,10 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
208
208
|
}
|
|
209
209
|
);
|
|
210
210
|
}
|
|
211
|
-
), Re =
|
|
211
|
+
), Re = L.forwardRef(function(t, r) {
|
|
212
212
|
const n = za({ recipe: Gi }), [o, i] = n.splitVariantProps(t), s = n(o);
|
|
213
213
|
return /* @__PURE__ */ f(zt, { "aria-label": "Close", ref: r, css: s, ...i, children: t.children ?? /* @__PURE__ */ f(ge, { boxSize: 5, children: /* @__PURE__ */ f(ul, {}) }) });
|
|
214
|
-
}), s0 =
|
|
214
|
+
}), s0 = L.forwardRef(
|
|
215
215
|
function(t, r) {
|
|
216
216
|
const {
|
|
217
217
|
title: n,
|
|
@@ -225,7 +225,7 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
225
225
|
showIcon: _ = !1,
|
|
226
226
|
descriptionProps: S,
|
|
227
227
|
...m
|
|
228
|
-
} = t, [T, O] =
|
|
228
|
+
} = t, [T, O] = L.useState(!0), w = /* @__PURE__ */ f(ge, { boxSize: 5, children: /* @__PURE__ */ f(cl, {}) }), R = p !== void 0 ? p : !_ && i === void 0 ? null : /* @__PURE__ */ f(je.Indicator, { children: i || w }), C = L.useCallback(() => {
|
|
229
229
|
O(!1), l == null || l();
|
|
230
230
|
}, [l]);
|
|
231
231
|
return s && !T ? null : /* @__PURE__ */ f(xe, { loading: b, asChild: !0, children: /* @__PURE__ */ q(je.Root, { ref: r, ...m, children: [
|
|
@@ -246,7 +246,7 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
246
246
|
)
|
|
247
247
|
] }) });
|
|
248
248
|
}
|
|
249
|
-
), c0 =
|
|
249
|
+
), c0 = L.forwardRef(
|
|
250
250
|
function(t, r) {
|
|
251
251
|
const { name: n, src: o, srcSet: i, loading: s, icon: l, fallback: p, children: h, ...b } = t;
|
|
252
252
|
return /* @__PURE__ */ q(nt.Root, { ref: r, ...b, children: [
|
|
@@ -255,7 +255,7 @@ const Xi = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
255
255
|
h
|
|
256
256
|
] });
|
|
257
257
|
}
|
|
258
|
-
), fl =
|
|
258
|
+
), fl = L.forwardRef(
|
|
259
259
|
function(t, r) {
|
|
260
260
|
const { name: n, icon: o, children: i, ...s } = t;
|
|
261
261
|
return /* @__PURE__ */ q(nt.Fallback, { ref: r, ...s, children: [
|
|
@@ -269,7 +269,7 @@ function pl(e) {
|
|
|
269
269
|
const t = e.trim().split(" "), r = t[0] != null ? t[0] : "", n = t.length > 1 ? t[t.length - 1] : "";
|
|
270
270
|
return r && n ? `${r.charAt(0)}${n.charAt(0)}` : r.charAt(0);
|
|
271
271
|
}
|
|
272
|
-
const u0 =
|
|
272
|
+
const u0 = L.forwardRef(
|
|
273
273
|
function(t, r) {
|
|
274
274
|
const { size: n, variant: o, borderless: i, ...s } = t;
|
|
275
275
|
return /* @__PURE__ */ f(nt.PropsProvider, { value: { size: n, variant: o, borderless: i }, children: /* @__PURE__ */ f(mr, { gap: "0", spaceX: "-3", ref: r, ...s }) });
|
|
@@ -445,10 +445,10 @@ function _l(e = [], { testString: t, timeout: r } = {}, { showErrors: n } = { sh
|
|
|
445
445
|
}, [s, t, r, n]), o;
|
|
446
446
|
}
|
|
447
447
|
function yl(e) {
|
|
448
|
-
const t =
|
|
449
|
-
return
|
|
448
|
+
const t = L.useRef(null), r = L.useRef(e);
|
|
449
|
+
return L.useLayoutEffect(() => {
|
|
450
450
|
r.current = e;
|
|
451
|
-
}),
|
|
451
|
+
}), L.useEffect(() => {
|
|
452
452
|
const n = (o) => {
|
|
453
453
|
const i = t.current;
|
|
454
454
|
i && !i.contains(o.target) && r.current(o);
|
|
@@ -463,7 +463,7 @@ function El(e) {
|
|
|
463
463
|
t.value = e, document.body.appendChild(t), t.select(), document.execCommand("copy"), document.body.removeChild(t);
|
|
464
464
|
}
|
|
465
465
|
function Cl() {
|
|
466
|
-
const [e, t] =
|
|
466
|
+
const [e, t] = L.useState(null), r = L.useCallback((n) => {
|
|
467
467
|
(async () => {
|
|
468
468
|
var i;
|
|
469
469
|
try {
|
|
@@ -479,8 +479,8 @@ function Cl() {
|
|
|
479
479
|
return [e, r];
|
|
480
480
|
}
|
|
481
481
|
function xl(e, t) {
|
|
482
|
-
const [r, n] =
|
|
483
|
-
return
|
|
482
|
+
const [r, n] = L.useState(e);
|
|
483
|
+
return L.useEffect(() => {
|
|
484
484
|
const o = setTimeout(() => {
|
|
485
485
|
n(e);
|
|
486
486
|
}, t);
|
|
@@ -511,7 +511,7 @@ const Tl = /^https?:\/\//i, Sl = /^ipfs:\/\//i, kl = /^(?:0x)?[\da-fA-F]+$/, Al
|
|
|
511
511
|
HEX_REGEXP_WITH_0X: Al,
|
|
512
512
|
IPFS_PREFIX: Sl,
|
|
513
513
|
URL_PREFIX: Tl
|
|
514
|
-
}, Symbol.toStringTag, { value: "Module" })), Ol = (e) => e == null ? void 0 : e.replaceAll("'", '"'),
|
|
514
|
+
}, Symbol.toStringTag, { value: "Module" })), Ol = (e) => e == null ? void 0 : e.replaceAll("'", '"'), P = (e) => {
|
|
515
515
|
const t = (Fr() ? window.__envs : process.env) ?? {};
|
|
516
516
|
if (Fr() && t.NEXT_PUBLIC_APP_INSTANCE === "pw") {
|
|
517
517
|
const r = localStorage.getItem(e);
|
|
@@ -526,7 +526,7 @@ const Tl = /^https?:\/\//i, Sl = /^ipfs:\/\//i, kl = /^(?:0x)?[\da-fA-F]+$/, Al
|
|
|
526
526
|
return null;
|
|
527
527
|
}
|
|
528
528
|
}, Ee = (e) => {
|
|
529
|
-
const t =
|
|
529
|
+
const t = P(e);
|
|
530
530
|
if (t)
|
|
531
531
|
return Rl(e, t);
|
|
532
532
|
}, Rl = (e, t) => {
|
|
@@ -547,12 +547,12 @@ function Pl(e) {
|
|
|
547
547
|
return te(e) ? "json" : void 0;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
const _r =
|
|
550
|
+
const _r = P("NEXT_PUBLIC_API_HOST"), Yi = P("NEXT_PUBLIC_API_PROTOCOL") || "https", ot = P("NEXT_PUBLIC_API_PORT"), Ll = [
|
|
551
551
|
Yi,
|
|
552
552
|
"://",
|
|
553
553
|
_r,
|
|
554
554
|
ot && ":" + ot
|
|
555
|
-
].filter(Boolean).join(""), Nl =
|
|
555
|
+
].filter(Boolean).join(""), Nl = P("NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL") || "wss", Dl = [
|
|
556
556
|
Nl,
|
|
557
557
|
"://",
|
|
558
558
|
_r,
|
|
@@ -563,20 +563,20 @@ const _r = L("NEXT_PUBLIC_API_HOST"), Yi = L("NEXT_PUBLIC_API_PROTOCOL") || "htt
|
|
|
563
563
|
port: ot,
|
|
564
564
|
endpoint: Ll,
|
|
565
565
|
socket: Dl,
|
|
566
|
-
basePath: Ft(
|
|
567
|
-
}), pr =
|
|
566
|
+
basePath: Ft(P("NEXT_PUBLIC_API_BASE_PATH") || "")
|
|
567
|
+
}), pr = P("NEXT_PUBLIC_APP_PORT"), Zi = P("NEXT_PUBLIC_APP_PROTOCOL"), Qi = P("NEXT_PUBLIC_APP_HOST"), zl = [
|
|
568
568
|
Zi || "https",
|
|
569
569
|
"://",
|
|
570
570
|
Qi,
|
|
571
571
|
pr && ":" + pr
|
|
572
|
-
].filter(Boolean).join(""), Ul =
|
|
572
|
+
].filter(Boolean).join(""), Ul = P("NEXT_PUBLIC_APP_ENV") === "development", Fl = P("NEXT_PUBLIC_APP_INSTANCE") === "pw", Ml = P("NEXT_PUBLIC_ICON_SPRITE_HASH"), yr = Object.freeze({
|
|
573
573
|
isDev: Ul,
|
|
574
574
|
isPw: Fl,
|
|
575
575
|
protocol: Zi,
|
|
576
576
|
host: Qi,
|
|
577
577
|
port: pr,
|
|
578
578
|
baseUrl: zl,
|
|
579
|
-
useProxy:
|
|
579
|
+
useProxy: P("NEXT_PUBLIC_USE_NEXT_JS_PROXY") === "true",
|
|
580
580
|
spriteHash: Ml
|
|
581
581
|
});
|
|
582
582
|
function Er(e) {
|
|
@@ -598,31 +598,31 @@ function h0(e) {
|
|
|
598
598
|
}
|
|
599
599
|
})() === e.toLowerCase() || "Incorrect domain" : !0;
|
|
600
600
|
}
|
|
601
|
-
const jl = 18, Mr =
|
|
602
|
-
const e =
|
|
601
|
+
const jl = 18, Mr = P("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "posting" : Mr === "zkEvm" ? "sequencing" : P("NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE") || "mining", Wl = (() => {
|
|
602
|
+
const e = P("NEXT_PUBLIC_NETWORK_RPC_URL"), t = Er(e);
|
|
603
603
|
if (e && t === !0)
|
|
604
604
|
return [e];
|
|
605
605
|
const r = te(e);
|
|
606
606
|
return Array.isArray(r) ? r : [];
|
|
607
607
|
})(), Ie = Object.freeze({
|
|
608
|
-
id:
|
|
609
|
-
name:
|
|
610
|
-
shortName:
|
|
608
|
+
id: P("NEXT_PUBLIC_NETWORK_ID"),
|
|
609
|
+
name: P("NEXT_PUBLIC_NETWORK_NAME"),
|
|
610
|
+
shortName: P("NEXT_PUBLIC_NETWORK_SHORT_NAME"),
|
|
611
611
|
currency: {
|
|
612
|
-
name:
|
|
613
|
-
weiName:
|
|
614
|
-
symbol:
|
|
615
|
-
decimals: Number(
|
|
612
|
+
name: P("NEXT_PUBLIC_NETWORK_CURRENCY_NAME"),
|
|
613
|
+
weiName: P("NEXT_PUBLIC_NETWORK_CURRENCY_WEI_NAME"),
|
|
614
|
+
symbol: P("NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL"),
|
|
615
|
+
decimals: Number(P("NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS")) || jl
|
|
616
616
|
},
|
|
617
617
|
secondaryCoin: {
|
|
618
|
-
symbol:
|
|
618
|
+
symbol: P("NEXT_PUBLIC_NETWORK_SECONDARY_COIN_SYMBOL")
|
|
619
619
|
},
|
|
620
|
-
hasMultipleGasCurrencies:
|
|
621
|
-
tokenStandard:
|
|
620
|
+
hasMultipleGasCurrencies: P("NEXT_PUBLIC_NETWORK_MULTIPLE_GAS_CURRENCIES") === "true",
|
|
621
|
+
tokenStandard: P("NEXT_PUBLIC_NETWORK_TOKEN_STANDARD_NAME") || "ERC",
|
|
622
622
|
rpcUrls: Wl,
|
|
623
|
-
isTestnet:
|
|
623
|
+
isTestnet: P("NEXT_PUBLIC_IS_TESTNET") === "true",
|
|
624
624
|
verificationType: Hl
|
|
625
|
-
}), $l =
|
|
625
|
+
}), $l = P("NEXT_PUBLIC_ADVANCED_FILTER_ENABLED") === "false", jr = "Advanced filter", Vl = Object.freeze($l ? {
|
|
626
626
|
title: jr,
|
|
627
627
|
isEnabled: !1
|
|
628
628
|
} : {
|
|
@@ -630,16 +630,16 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
630
630
|
isEnabled: !0
|
|
631
631
|
}), Xe = Object.freeze({
|
|
632
632
|
reCaptchaV2: {
|
|
633
|
-
siteKey:
|
|
633
|
+
siteKey: P("NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY")
|
|
634
634
|
}
|
|
635
|
-
}), Hr = "My account", Cr =
|
|
635
|
+
}), Hr = "My account", Cr = P("NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED") === "true" && Xe.reCaptchaV2.siteKey ? Object.freeze({
|
|
636
636
|
title: Hr,
|
|
637
637
|
isEnabled: !0,
|
|
638
638
|
recaptchaSiteKey: Xe.reCaptchaV2.siteKey
|
|
639
639
|
}) : Object.freeze({
|
|
640
640
|
title: Hr,
|
|
641
641
|
isEnabled: !1
|
|
642
|
-
}), Wr =
|
|
642
|
+
}), Wr = P("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), $r = "Verified tokens info", Ji = Object.freeze(Wr ? {
|
|
643
643
|
title: $r,
|
|
644
644
|
isEnabled: !0,
|
|
645
645
|
api: {
|
|
@@ -649,7 +649,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
649
649
|
} : {
|
|
650
650
|
title: $r,
|
|
651
651
|
isEnabled: !1
|
|
652
|
-
}), Vr =
|
|
652
|
+
}), Vr = P("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), Xl = 'Address verification in "My account"', Gl = Cr.isEnabled && Ji.isEnabled && Vr ? Object.freeze({
|
|
653
653
|
title: 'Address verification in "My account"',
|
|
654
654
|
isEnabled: !0,
|
|
655
655
|
api: {
|
|
@@ -659,7 +659,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
659
659
|
}) : Object.freeze({
|
|
660
660
|
title: Xl,
|
|
661
661
|
isEnabled: !1
|
|
662
|
-
}), Xr =
|
|
662
|
+
}), Xr = P("NEXT_PUBLIC_METADATA_SERVICE_API_HOST"), Gr = "Address metadata", ea = Object.freeze(Xr ? {
|
|
663
663
|
title: Gr,
|
|
664
664
|
isEnabled: !0,
|
|
665
665
|
api: {
|
|
@@ -677,11 +677,11 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
677
677
|
// 'getit', // temporary disabled
|
|
678
678
|
"none"
|
|
679
679
|
], Kl = ["coinzilla", "none"], Qe = (() => {
|
|
680
|
-
const e =
|
|
680
|
+
const e = P("NEXT_PUBLIC_AD_BANNER_PROVIDER");
|
|
681
681
|
return e && ql.includes(e) ? e : "slise";
|
|
682
|
-
})(), qr =
|
|
682
|
+
})(), qr = P("NEXT_PUBLIC_AD_BANNER_ADDITIONAL_PROVIDER"), ct = "Banner ads", Yl = (() => {
|
|
683
683
|
if (Qe === "adbutler") {
|
|
684
|
-
const e = te(
|
|
684
|
+
const e = te(P("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_DESKTOP")), t = te(P("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_MOBILE"));
|
|
685
685
|
if (e && t)
|
|
686
686
|
return Object.freeze({
|
|
687
687
|
title: ct,
|
|
@@ -696,7 +696,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
696
696
|
});
|
|
697
697
|
} else if (Qe !== "none") {
|
|
698
698
|
if (qr === "adbutler") {
|
|
699
|
-
const e = te(
|
|
699
|
+
const e = te(P("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_DESKTOP")), t = te(P("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_MOBILE"));
|
|
700
700
|
return Object.freeze({
|
|
701
701
|
title: ct,
|
|
702
702
|
isEnabled: !0,
|
|
@@ -721,7 +721,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
721
721
|
isEnabled: !1
|
|
722
722
|
});
|
|
723
723
|
})(), Kr = (() => {
|
|
724
|
-
const e =
|
|
724
|
+
const e = P("NEXT_PUBLIC_AD_TEXT_PROVIDER");
|
|
725
725
|
return e && Kl.includes(e) ? e : "coinzilla";
|
|
726
726
|
})(), Yr = "Text ads", Zl = Object.freeze(Kr !== "none" ? {
|
|
727
727
|
title: Yr,
|
|
@@ -730,18 +730,18 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
730
730
|
} : {
|
|
731
731
|
title: Yr,
|
|
732
732
|
isEnabled: !1
|
|
733
|
-
}), Zr = "Beacon chain", Ql =
|
|
733
|
+
}), Zr = "Beacon chain", Ql = P("NEXT_PUBLIC_HAS_BEACON_CHAIN") === "true" ? Object.freeze({
|
|
734
734
|
title: Zr,
|
|
735
735
|
isEnabled: !0,
|
|
736
736
|
currency: {
|
|
737
|
-
symbol:
|
|
737
|
+
symbol: P("NEXT_PUBLIC_BEACON_CHAIN_CURRENCY_SYMBOL") || P("NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL") || ""
|
|
738
738
|
// maybe we need some other default value here
|
|
739
739
|
}
|
|
740
740
|
}) : Object.freeze({
|
|
741
741
|
title: Zr,
|
|
742
742
|
isEnabled: !1
|
|
743
743
|
}), Qr = "Bridged tokens", Jl = (() => {
|
|
744
|
-
const e = te(
|
|
744
|
+
const e = te(P("NEXT_PUBLIC_BRIDGED_TOKENS_CHAINS")), t = te(P("NEXT_PUBLIC_BRIDGED_TOKENS_BRIDGES"));
|
|
745
745
|
return e && e.length > 0 && t && t.length > 0 ? Object.freeze({
|
|
746
746
|
title: Qr,
|
|
747
747
|
isEnabled: !0,
|
|
@@ -751,7 +751,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
751
751
|
title: Qr,
|
|
752
752
|
isEnabled: !1
|
|
753
753
|
});
|
|
754
|
-
})(), Jr =
|
|
754
|
+
})(), Jr = P("NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID"), en = "Blockchain interaction (writing to contract, etc.)", ta = /* all chain parameters are required for wagmi provider */ /* @wagmi/chains/dist/index.d.ts */ Ie.id && Ie.name && Ie.currency.name && Ie.currency.symbol && Ie.currency.decimals && Ie.rpcUrls.length > 0 && Jr ? Object.freeze({
|
|
755
755
|
title: en,
|
|
756
756
|
isEnabled: !0,
|
|
757
757
|
walletConnect: {
|
|
@@ -760,10 +760,10 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
760
760
|
}) : Object.freeze({
|
|
761
761
|
title: en,
|
|
762
762
|
isEnabled: !1
|
|
763
|
-
}), tn = "Celo chain", es =
|
|
763
|
+
}), tn = "Celo chain", es = P("NEXT_PUBLIC_CELO_ENABLED") === "true" ? Object.freeze({
|
|
764
764
|
title: tn,
|
|
765
765
|
isEnabled: !0,
|
|
766
|
-
L2UpgradeBlock:
|
|
766
|
+
L2UpgradeBlock: P("NEXT_PUBLIC_CELO_L2_UPGRADE_BLOCK") ? Number(P("NEXT_PUBLIC_CELO_L2_UPGRADE_BLOCK")) : void 0,
|
|
767
767
|
BLOCKS_PER_EPOCH: 17280
|
|
768
768
|
}) : Object.freeze({
|
|
769
769
|
title: tn,
|
|
@@ -777,27 +777,27 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
777
777
|
}) : Object.freeze({
|
|
778
778
|
title: rn,
|
|
779
779
|
isEnabled: !1
|
|
780
|
-
}), nn = "Data availability", rs =
|
|
780
|
+
}), nn = "Data availability", rs = P("NEXT_PUBLIC_DATA_AVAILABILITY_ENABLED") === "true" ? Object.freeze({
|
|
781
781
|
title: nn,
|
|
782
782
|
isEnabled: !0
|
|
783
783
|
}) : Object.freeze({
|
|
784
784
|
title: nn,
|
|
785
785
|
isEnabled: !1
|
|
786
|
-
}), on = te(
|
|
786
|
+
}), on = te(P("NEXT_PUBLIC_DEFI_DROPDOWN_ITEMS")) || [], an = "DeFi dropdown", ns = on.length > 0 ? Object.freeze({
|
|
787
787
|
title: an,
|
|
788
788
|
isEnabled: !0,
|
|
789
789
|
items: on
|
|
790
790
|
}) : Object.freeze({
|
|
791
791
|
title: an,
|
|
792
792
|
isEnabled: !1
|
|
793
|
-
}), ln =
|
|
793
|
+
}), ln = P("NEXT_PUBLIC_GAME_BADGE_CLAIM_LINK"), sn = "Easter egg badge", os = Object.freeze(ln ? {
|
|
794
794
|
title: sn,
|
|
795
795
|
isEnabled: !0,
|
|
796
796
|
badgeClaimLink: ln
|
|
797
797
|
} : {
|
|
798
798
|
title: sn,
|
|
799
799
|
isEnabled: !1
|
|
800
|
-
}), ut = te(
|
|
800
|
+
}), ut = te(P("NEXT_PUBLIC_TX_EXTERNAL_TRANSACTIONS_CONFIG")), cn = "External transactions", is = Object.freeze(ut ? {
|
|
801
801
|
title: cn,
|
|
802
802
|
isEnabled: !0,
|
|
803
803
|
chainName: ut.chain_name,
|
|
@@ -814,10 +814,10 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
814
814
|
"zkSync",
|
|
815
815
|
"scroll"
|
|
816
816
|
], $e = (() => {
|
|
817
|
-
const e =
|
|
817
|
+
const e = P("NEXT_PUBLIC_ROLLUP_TYPE");
|
|
818
818
|
return as.find((t) => t === e);
|
|
819
|
-
})(), ls =
|
|
820
|
-
const e = te(
|
|
819
|
+
})(), ls = P("NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL"), un = (() => {
|
|
820
|
+
const e = te(P("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN")), t = Ft(P("NEXT_PUBLIC_ROLLUP_L1_BASE_URL") || ""), r = P("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN_NAME");
|
|
821
821
|
if (!(!t && !(e != null && e.baseUrl)))
|
|
822
822
|
return {
|
|
823
823
|
...e,
|
|
@@ -829,21 +829,22 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
829
829
|
isEnabled: !0,
|
|
830
830
|
type: $e,
|
|
831
831
|
L2WithdrawalUrl: $e === "optimistic" ? ls : void 0,
|
|
832
|
-
outputRootsEnabled: $e === "optimistic" &&
|
|
833
|
-
interopEnabled: $e === "optimistic" &&
|
|
832
|
+
outputRootsEnabled: $e === "optimistic" && P("NEXT_PUBLIC_ROLLUP_OUTPUT_ROOTS_ENABLED") === "true",
|
|
833
|
+
interopEnabled: $e === "optimistic" && P("NEXT_PUBLIC_INTEROP_ENABLED") === "true",
|
|
834
834
|
homepage: {
|
|
835
|
-
showLatestBlocks:
|
|
835
|
+
showLatestBlocks: P("NEXT_PUBLIC_ROLLUP_HOMEPAGE_SHOW_LATEST_BLOCKS") === "true"
|
|
836
836
|
},
|
|
837
837
|
parentChain: un,
|
|
838
838
|
DA: {
|
|
839
839
|
celestia: {
|
|
840
|
-
namespace: $e === "arbitrum" ?
|
|
840
|
+
namespace: $e === "arbitrum" ? P("NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE") : void 0,
|
|
841
|
+
celeniumUrl: P("NEXT_PUBLIC_ROLLUP_DA_CELESTIA_CELENIUM_URL")
|
|
841
842
|
}
|
|
842
843
|
}
|
|
843
844
|
} : {
|
|
844
845
|
title: dn,
|
|
845
846
|
isEnabled: !1
|
|
846
|
-
}), fn = "Fault proof system", ss = Ge.isEnabled && Ge.type === "optimistic" &&
|
|
847
|
+
}), fn = "Fault proof system", ss = Ge.isEnabled && Ge.type === "optimistic" && P("NEXT_PUBLIC_FAULT_PROOF_ENABLED") === "true" ? Object.freeze({
|
|
847
848
|
title: fn,
|
|
848
849
|
isEnabled: !0
|
|
849
850
|
}) : Object.freeze({
|
|
@@ -852,9 +853,9 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
852
853
|
}), cs = [
|
|
853
854
|
"usd",
|
|
854
855
|
"gwei"
|
|
855
|
-
], us =
|
|
856
|
+
], us = P("NEXT_PUBLIC_GAS_TRACKER_ENABLED") === "false", pn = (() => {
|
|
856
857
|
var r;
|
|
857
|
-
const e =
|
|
858
|
+
const e = P("NEXT_PUBLIC_GAS_TRACKER_UNITS");
|
|
858
859
|
return e ? ((r = te(e)) == null ? void 0 : r.filter((n) => cs.includes(n))) || [] : ["usd", "gwei"];
|
|
859
860
|
})(), hn = "Gas tracker", ds = !us && pn.length > 0 ? Object.freeze({
|
|
860
861
|
title: hn,
|
|
@@ -863,7 +864,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
863
864
|
}) : Object.freeze({
|
|
864
865
|
title: hn,
|
|
865
866
|
isEnabled: !1
|
|
866
|
-
}), fs =
|
|
867
|
+
}), fs = P("NEXT_PUBLIC_MARKETPLACE_ENABLED"), gn = Ee("NEXT_PUBLIC_MARKETPLACE_CONFIG_URL"), bn = P("NEXT_PUBLIC_MARKETPLACE_SUBMIT_FORM"), ps = P("NEXT_PUBLIC_MARKETPLACE_SUGGEST_IDEAS_FORM"), hs = Ee("NEXT_PUBLIC_MARKETPLACE_CATEGORIES_URL"), mn = P("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), gs = Ee("NEXT_PUBLIC_MARKETPLACE_SECURITY_REPORTS_URL"), bs = P("NEXT_PUBLIC_MARKETPLACE_FEATURED_APP"), vn = Ee("NEXT_PUBLIC_MARKETPLACE_BANNER_CONTENT_URL"), _n = P("NEXT_PUBLIC_MARKETPLACE_BANNER_LINK_URL"), yn = P("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_API_KEY"), En = P("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_BASE_ID"), ms = Ee("NEXT_PUBLIC_MARKETPLACE_GRAPH_LINKS_URL"), Zt = "Marketplace", Mt = (() => {
|
|
867
868
|
if (fs === "true" && Ie.rpcUrls.length > 0 && bn) {
|
|
868
869
|
const e = {
|
|
869
870
|
submitFormUrl: bn,
|
|
@@ -903,7 +904,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
903
904
|
title: Zt,
|
|
904
905
|
isEnabled: !1
|
|
905
906
|
});
|
|
906
|
-
})(), Je = te(
|
|
907
|
+
})(), Je = te(P("NEXT_PUBLIC_GAS_REFUEL_PROVIDER_CONFIG")), Cn = "Get gas button", vs = Object.freeze(Je ? {
|
|
907
908
|
title: Cn,
|
|
908
909
|
isEnabled: !0,
|
|
909
910
|
name: Je.name,
|
|
@@ -913,47 +914,47 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
913
914
|
} : {
|
|
914
915
|
title: Cn,
|
|
915
916
|
isEnabled: !1
|
|
916
|
-
}), xn =
|
|
917
|
+
}), xn = P("NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID"), wn = "Google analytics", _s = Object.freeze(xn ? {
|
|
917
918
|
title: wn,
|
|
918
919
|
isEnabled: !0,
|
|
919
920
|
propertyId: xn
|
|
920
921
|
} : {
|
|
921
922
|
title: wn,
|
|
922
923
|
isEnabled: !1
|
|
923
|
-
}), Tn =
|
|
924
|
+
}), Tn = P("NEXT_PUBLIC_GRAPHIQL_TRANSACTION"), Sn = "GraphQL API documentation", ys = Object.freeze(Tn === "none" ? {
|
|
924
925
|
title: Sn,
|
|
925
926
|
isEnabled: !1
|
|
926
927
|
} : {
|
|
927
928
|
title: Sn,
|
|
928
929
|
isEnabled: !0,
|
|
929
930
|
defaultTxHash: Tn
|
|
930
|
-
}), kn =
|
|
931
|
+
}), kn = P("NEXT_PUBLIC_GROWTH_BOOK_CLIENT_KEY"), An = "GrowthBook feature flagging and A/B testing", Es = Object.freeze(kn ? {
|
|
931
932
|
title: An,
|
|
932
933
|
isEnabled: !0,
|
|
933
934
|
clientKey: kn
|
|
934
935
|
} : {
|
|
935
936
|
title: An,
|
|
936
937
|
isEnabled: !1
|
|
937
|
-
}), In = "MetaSuites extension", Cs =
|
|
938
|
+
}), In = "MetaSuites extension", Cs = P("NEXT_PUBLIC_METASUITES_ENABLED") === "true" ? Object.freeze({
|
|
938
939
|
title: In,
|
|
939
940
|
isEnabled: !0
|
|
940
941
|
}) : Object.freeze({
|
|
941
942
|
title: In,
|
|
942
943
|
isEnabled: !1
|
|
943
|
-
}), On =
|
|
944
|
+
}), On = P("NEXT_PUBLIC_MIXPANEL_PROJECT_TOKEN"), Rn = "Mixpanel analytics", xs = Object.freeze(On ? {
|
|
944
945
|
title: Rn,
|
|
945
946
|
isEnabled: !0,
|
|
946
947
|
projectToken: On
|
|
947
948
|
} : {
|
|
948
949
|
title: Rn,
|
|
949
950
|
isEnabled: !1
|
|
950
|
-
}), Pn = "MUD framework", ws = Ge.isEnabled && Ge.type === "optimistic" &&
|
|
951
|
+
}), Pn = "MUD framework", ws = Ge.isEnabled && Ge.type === "optimistic" && P("NEXT_PUBLIC_HAS_MUD_FRAMEWORK") === "true" ? Object.freeze({
|
|
951
952
|
title: Pn,
|
|
952
953
|
isEnabled: !0
|
|
953
954
|
}) : Object.freeze({
|
|
954
955
|
title: Pn,
|
|
955
956
|
isEnabled: !1
|
|
956
|
-
}), Ln = te(
|
|
957
|
+
}), Ln = te(P("NEXT_PUBLIC_MULTICHAIN_BALANCE_PROVIDER_CONFIG")), Nn = "Multichain balance", Ts = Object.freeze(Ln ? {
|
|
957
958
|
title: Nn,
|
|
958
959
|
isEnabled: !0,
|
|
959
960
|
providers: Ln.map((e) => ({
|
|
@@ -965,7 +966,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
965
966
|
} : {
|
|
966
967
|
title: Nn,
|
|
967
968
|
isEnabled: !1
|
|
968
|
-
}), Dn =
|
|
969
|
+
}), Dn = P("NEXT_PUBLIC_NAME_SERVICE_API_HOST"), Bn = "Name service integration", Ss = Object.freeze(Dn ? {
|
|
969
970
|
title: Bn,
|
|
970
971
|
isEnabled: !0,
|
|
971
972
|
api: {
|
|
@@ -975,7 +976,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
975
976
|
} : {
|
|
976
977
|
title: Bn,
|
|
977
978
|
isEnabled: !1
|
|
978
|
-
}), zn =
|
|
979
|
+
}), zn = P("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), ks = P("NEXT_PUBLIC_DEX_POOLS_ENABLED") === "true", Un = "DEX Pools", As = Object.freeze(zn && ks ? {
|
|
979
980
|
title: Un,
|
|
980
981
|
isEnabled: !0,
|
|
981
982
|
api: {
|
|
@@ -985,7 +986,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
985
986
|
} : {
|
|
986
987
|
title: Un,
|
|
987
988
|
isEnabled: !1
|
|
988
|
-
}), Fn =
|
|
989
|
+
}), Fn = P("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), Mn = "Public tag submission", Is = Xe.reCaptchaV2.siteKey && ea.isEnabled && Fn ? Object.freeze({
|
|
989
990
|
title: Mn,
|
|
990
991
|
isEnabled: !0,
|
|
991
992
|
api: {
|
|
@@ -995,14 +996,14 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
995
996
|
}) : Object.freeze({
|
|
996
997
|
title: Mn,
|
|
997
998
|
isEnabled: !1
|
|
998
|
-
}), Os = "https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml", jn =
|
|
999
|
+
}), Os = "https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml", jn = P("NEXT_PUBLIC_API_SPEC_URL"), Hn = "REST API documentation", Rs = Object.freeze(jn === "none" ? {
|
|
999
1000
|
title: Hn,
|
|
1000
1001
|
isEnabled: !1
|
|
1001
1002
|
} : {
|
|
1002
1003
|
title: Hn,
|
|
1003
1004
|
isEnabled: !0,
|
|
1004
1005
|
specUrl: jn || Os
|
|
1005
|
-
}), Wn =
|
|
1006
|
+
}), Wn = P("NEXT_PUBLIC_REWARDS_SERVICE_API_HOST"), $n = "Rewards service integration", Ps = Wn && Cr.isEnabled && ta.isEnabled ? Object.freeze({
|
|
1006
1007
|
title: $n,
|
|
1007
1008
|
isEnabled: !0,
|
|
1008
1009
|
api: {
|
|
@@ -1012,11 +1013,11 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
1012
1013
|
}) : Object.freeze({
|
|
1013
1014
|
title: $n,
|
|
1014
1015
|
isEnabled: !1
|
|
1015
|
-
}), Vn =
|
|
1016
|
+
}), Vn = P("NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN"), Ls = (() => {
|
|
1016
1017
|
var t;
|
|
1017
|
-
const e =
|
|
1018
|
+
const e = P("NEXT_PUBLIC_APP_INSTANCE");
|
|
1018
1019
|
return e || ((t = yr.host) == null ? void 0 : t.replace(".blockscout.com", "").replace(".k8s-dev", "").replaceAll("-", "_"));
|
|
1019
|
-
})(), Ns =
|
|
1020
|
+
})(), Ns = P("NEXT_PUBLIC_APP_ENV") || "production", Ds = P("NEXT_PUBLIC_GIT_TAG") || P("NEXT_PUBLIC_GIT_COMMIT_SHA"), Xn = "Rollbar error monitoring", Bs = Object.freeze(Vn ? {
|
|
1020
1021
|
title: Xn,
|
|
1021
1022
|
isEnabled: !0,
|
|
1022
1023
|
clientToken: Vn,
|
|
@@ -1029,7 +1030,7 @@ const jl = 18, Mr = L("NEXT_PUBLIC_ROLLUP_TYPE"), Hl = Mr === "arbitrum" ? "post
|
|
|
1029
1030
|
});
|
|
1030
1031
|
function zs() {
|
|
1031
1032
|
try {
|
|
1032
|
-
const e =
|
|
1033
|
+
const e = P("NEXT_PUBLIC_SAFE_TX_SERVICE_URL");
|
|
1033
1034
|
return new URL("/api/v1/safes", e).toString();
|
|
1034
1035
|
} catch {
|
|
1035
1036
|
return;
|
|
@@ -1045,34 +1046,34 @@ const Gn = "Safe address tags", Us = (() => {
|
|
|
1045
1046
|
title: Gn,
|
|
1046
1047
|
isEnabled: !1
|
|
1047
1048
|
});
|
|
1048
|
-
})(), qn = "Save on gas with GasHawk", Fs =
|
|
1049
|
+
})(), qn = "Save on gas with GasHawk", Fs = P("NEXT_PUBLIC_SAVE_ON_GAS_ENABLED") === "true" && Mt.isEnabled ? Object.freeze({
|
|
1049
1050
|
title: qn,
|
|
1050
1051
|
isEnabled: !0,
|
|
1051
1052
|
apiUrlTemplate: "https://core.gashawk.io/apiv2/stats/address/<address>/savingsPotential/0x1"
|
|
1052
1053
|
}) : Object.freeze({
|
|
1053
1054
|
title: qn,
|
|
1054
1055
|
isEnabled: !1
|
|
1055
|
-
}), Kn =
|
|
1056
|
+
}), Kn = P("NEXT_PUBLIC_VISUALIZE_API_HOST"), Yn = "Solidity to UML diagrams", Ms = Object.freeze(Kn ? {
|
|
1056
1057
|
title: Yn,
|
|
1057
1058
|
isEnabled: !0,
|
|
1058
1059
|
api: {
|
|
1059
1060
|
endpoint: Kn,
|
|
1060
|
-
basePath: Ft(
|
|
1061
|
+
basePath: Ft(P("NEXT_PUBLIC_VISUALIZE_API_BASE_PATH") || "")
|
|
1061
1062
|
}
|
|
1062
1063
|
} : {
|
|
1063
1064
|
title: Yn,
|
|
1064
1065
|
isEnabled: !1
|
|
1065
|
-
}), Zn =
|
|
1066
|
+
}), Zn = P("NEXT_PUBLIC_STATS_API_HOST"), Qn = "Blockchain statistics", js = Object.freeze(Zn ? {
|
|
1066
1067
|
title: Qn,
|
|
1067
1068
|
isEnabled: !0,
|
|
1068
1069
|
api: {
|
|
1069
1070
|
endpoint: Zn,
|
|
1070
|
-
basePath: Ft(
|
|
1071
|
+
basePath: Ft(P("NEXT_PUBLIC_STATS_API_BASE_PATH") || "")
|
|
1071
1072
|
}
|
|
1072
1073
|
} : {
|
|
1073
1074
|
title: Qn,
|
|
1074
1075
|
isEnabled: !1
|
|
1075
|
-
}), Jn = "SUAVE chain", Hs =
|
|
1076
|
+
}), Jn = "SUAVE chain", Hs = P("NEXT_PUBLIC_IS_SUAVE_CHAIN") === "true" ? Object.freeze({
|
|
1076
1077
|
title: Jn,
|
|
1077
1078
|
isEnabled: !0
|
|
1078
1079
|
}) : Object.freeze({
|
|
@@ -1083,7 +1084,7 @@ const Gn = "Safe address tags", Us = (() => {
|
|
|
1083
1084
|
"noves",
|
|
1084
1085
|
"none"
|
|
1085
1086
|
], eo = "Transaction interpretation", to = (() => {
|
|
1086
|
-
const e =
|
|
1087
|
+
const e = P("NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER");
|
|
1087
1088
|
return e && Ws.includes(e) ? e : "none";
|
|
1088
1089
|
})(), $s = Object.freeze(to !== "none" ? {
|
|
1089
1090
|
title: eo,
|
|
@@ -1092,13 +1093,13 @@ const Gn = "Safe address tags", Us = (() => {
|
|
|
1092
1093
|
} : {
|
|
1093
1094
|
title: eo,
|
|
1094
1095
|
isEnabled: !1
|
|
1095
|
-
}), ro = "User operations", Vs =
|
|
1096
|
+
}), ro = "User operations", Vs = P("NEXT_PUBLIC_HAS_USER_OPS") === "true" ? Object.freeze({
|
|
1096
1097
|
title: ro,
|
|
1097
1098
|
isEnabled: !0
|
|
1098
1099
|
}) : Object.freeze({
|
|
1099
1100
|
title: ro,
|
|
1100
1101
|
isEnabled: !1
|
|
1101
|
-
}), De = te(
|
|
1102
|
+
}), De = te(P("NEXT_PUBLIC_ADDRESS_USERNAME_TAG"));
|
|
1102
1103
|
function Xs(e) {
|
|
1103
1104
|
try {
|
|
1104
1105
|
const t = e.replace("{address}", "0x0000000000000000000000000000000000000000");
|
|
@@ -1123,7 +1124,7 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1123
1124
|
"blackfort",
|
|
1124
1125
|
"zilliqa"
|
|
1125
1126
|
], oo = (() => {
|
|
1126
|
-
const e =
|
|
1127
|
+
const e = P("NEXT_PUBLIC_VALIDATORS_CHAIN_TYPE");
|
|
1127
1128
|
return e && qs.includes(e) ? e : void 0;
|
|
1128
1129
|
})(), io = "Validators list", Ks = Object.freeze(oo ? {
|
|
1129
1130
|
title: io,
|
|
@@ -1138,7 +1139,7 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1138
1139
|
"token_pocket"
|
|
1139
1140
|
], Qt = (() => {
|
|
1140
1141
|
var r;
|
|
1141
|
-
const e =
|
|
1142
|
+
const e = P("NEXT_PUBLIC_WEB3_WALLETS");
|
|
1142
1143
|
if (e === "none")
|
|
1143
1144
|
return;
|
|
1144
1145
|
const t = (r = te(e)) == null ? void 0 : r.filter((n) => Ys.includes(n));
|
|
@@ -1148,13 +1149,13 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1148
1149
|
isEnabled: !0,
|
|
1149
1150
|
wallets: Qt,
|
|
1150
1151
|
addToken: {
|
|
1151
|
-
isDisabled:
|
|
1152
|
+
isDisabled: P("NEXT_PUBLIC_WEB3_DISABLE_ADD_TOKEN_TO_WALLET") === "true"
|
|
1152
1153
|
},
|
|
1153
1154
|
addNetwork: {}
|
|
1154
1155
|
}) : Object.freeze({
|
|
1155
1156
|
title: ao,
|
|
1156
1157
|
isEnabled: !1
|
|
1157
|
-
}), lo = "XStar score", so =
|
|
1158
|
+
}), lo = "XStar score", so = P("NEXT_PUBLIC_XSTAR_SCORE_URL"), Qs = Object.freeze(so ? {
|
|
1158
1159
|
title: lo,
|
|
1159
1160
|
url: so,
|
|
1160
1161
|
isEnabled: !0
|
|
@@ -1209,14 +1210,14 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1209
1210
|
web3Wallet: Zs,
|
|
1210
1211
|
xStarScore: Qs
|
|
1211
1212
|
}, Symbol.toStringTag, { value: "Module" })), ec = "/static/og_image.png", tc = Object.freeze({
|
|
1212
|
-
promoteBlockscoutInTitle:
|
|
1213
|
+
promoteBlockscoutInTitle: P("NEXT_PUBLIC_PROMOTE_BLOCKSCOUT_IN_TITLE") !== "false",
|
|
1213
1214
|
og: {
|
|
1214
|
-
description:
|
|
1215
|
+
description: P("NEXT_PUBLIC_OG_DESCRIPTION") || "",
|
|
1215
1216
|
imageUrl: yr.baseUrl + (Ee("NEXT_PUBLIC_OG_IMAGE_URL") || ec),
|
|
1216
|
-
enhancedDataEnabled:
|
|
1217
|
+
enhancedDataEnabled: P("NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED") === "true"
|
|
1217
1218
|
},
|
|
1218
1219
|
seo: {
|
|
1219
|
-
enhancedDataEnabled:
|
|
1220
|
+
enhancedDataEnabled: P("NEXT_PUBLIC_SEO_ENHANCED_DATA_ENABLED") === "true"
|
|
1220
1221
|
}
|
|
1221
1222
|
}), rc = ["rpc_api", "eth_rpc_api"], nc = [
|
|
1222
1223
|
"latest_batch",
|
|
@@ -1275,23 +1276,23 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1275
1276
|
], ac = [
|
|
1276
1277
|
"top_accounts"
|
|
1277
1278
|
], lc = ["base16", "bech32"], sc = (() => {
|
|
1278
|
-
const e =
|
|
1279
|
+
const e = P("NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE");
|
|
1279
1280
|
return ic.find((t) => e === t) || "jazzicon";
|
|
1280
1281
|
})(), ra = (() => {
|
|
1281
|
-
const e = (te(
|
|
1282
|
+
const e = (te(P("NEXT_PUBLIC_VIEWS_ADDRESS_FORMAT")) || []).filter((t) => lc.includes(t));
|
|
1282
1283
|
return e.length === 0 ? ["base16"] : e;
|
|
1283
1284
|
})(), cc = (() => {
|
|
1284
|
-
const e =
|
|
1285
|
+
const e = P("NEXT_PUBLIC_VIEWS_ADDRESS_BECH_32_PREFIX");
|
|
1285
1286
|
if (!(!e || !ra.includes("bech32")))
|
|
1286
1287
|
return e.length >= 1 && e.length <= 83 ? e : void 0;
|
|
1287
1288
|
})(), uc = (() => {
|
|
1288
|
-
const e = te(
|
|
1289
|
+
const e = te(P("NEXT_PUBLIC_VIEWS_ADDRESS_HIDDEN_VIEWS")) || [];
|
|
1289
1290
|
return Array.isArray(e) ? ac.reduce((r, n) => (r[n] = e.includes(n), r), {}) : void 0;
|
|
1290
1291
|
})(), dc = (() => {
|
|
1291
|
-
const e =
|
|
1292
|
+
const e = P("NEXT_PUBLIC_VIEWS_CONTRACT_EXTRA_VERIFICATION_METHODS");
|
|
1292
1293
|
return e === "none" ? [] : e ? (te(e) || []).filter((r) => co.includes(r)) : co;
|
|
1293
1294
|
})(), fc = (() => {
|
|
1294
|
-
const e = te(
|
|
1295
|
+
const e = te(P("NEXT_PUBLIC_VIEWS_CONTRACT_LANGUAGE_FILTERS"));
|
|
1295
1296
|
return e ? e.filter((t) => uo.includes(t)) : uo.filter((r) => r !== "scilla");
|
|
1296
1297
|
})(), pc = Object.freeze({
|
|
1297
1298
|
identiconType: sc,
|
|
@@ -1300,7 +1301,7 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1300
1301
|
bech32Prefix: cc
|
|
1301
1302
|
},
|
|
1302
1303
|
hiddenViews: uc,
|
|
1303
|
-
solidityscanEnabled:
|
|
1304
|
+
solidityscanEnabled: P("NEXT_PUBLIC_VIEWS_CONTRACT_SOLIDITYSCAN_ENABLED") === "true",
|
|
1304
1305
|
extraVerificationMethods: dc,
|
|
1305
1306
|
languageFilters: fc
|
|
1306
1307
|
}), hc = [
|
|
@@ -1312,17 +1313,17 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1312
1313
|
"L1_status",
|
|
1313
1314
|
"batch"
|
|
1314
1315
|
], gc = (() => {
|
|
1315
|
-
const e = te(
|
|
1316
|
+
const e = te(P("NEXT_PUBLIC_VIEWS_BLOCK_HIDDEN_FIELDS")) || [];
|
|
1316
1317
|
return Array.isArray(e) ? hc.reduce((r, n) => (r[n] = e.includes(n), r), {}) : void 0;
|
|
1317
1318
|
})(), bc = Object.freeze({
|
|
1318
1319
|
hiddenFields: gc
|
|
1319
1320
|
}), mc = Object.freeze({
|
|
1320
|
-
marketplaces: te(
|
|
1321
|
+
marketplaces: te(P("NEXT_PUBLIC_VIEWS_NFT_MARKETPLACES")) || [],
|
|
1321
1322
|
verifiedFetch: {
|
|
1322
|
-
isEnabled:
|
|
1323
|
+
isEnabled: P("NEXT_PUBLIC_HELIA_VERIFIED_FETCH_ENABLED") !== "false"
|
|
1323
1324
|
}
|
|
1324
1325
|
}), vc = Object.freeze({
|
|
1325
|
-
hideScamTokensEnabled:
|
|
1326
|
+
hideScamTokensEnabled: P("NEXT_PUBLIC_VIEWS_TOKEN_SCAM_TOGGLE_ENABLED") === "true"
|
|
1326
1327
|
}), _c = [
|
|
1327
1328
|
"value",
|
|
1328
1329
|
"fee_currency",
|
|
@@ -1335,10 +1336,10 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1335
1336
|
], yc = [
|
|
1336
1337
|
"fee_per_gas"
|
|
1337
1338
|
], Ec = (() => {
|
|
1338
|
-
const e = te(
|
|
1339
|
+
const e = te(P("NEXT_PUBLIC_VIEWS_TX_HIDDEN_FIELDS")) || [];
|
|
1339
1340
|
return Array.isArray(e) ? _c.reduce((r, n) => (r[n] = e.includes(n), r), {}) : void 0;
|
|
1340
1341
|
})(), Cc = (() => {
|
|
1341
|
-
const e = te(
|
|
1342
|
+
const e = te(P("NEXT_PUBLIC_VIEWS_TX_ADDITIONAL_FIELDS")) || [];
|
|
1342
1343
|
return Array.isArray(e) ? yc.reduce((r, n) => (r[n] = e.includes(n), r), {}) : void 0;
|
|
1343
1344
|
})(), xc = Object.freeze({
|
|
1344
1345
|
hiddenFields: Ec,
|
|
@@ -1351,20 +1352,20 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1351
1352
|
token: vc,
|
|
1352
1353
|
tx: xc
|
|
1353
1354
|
}, Symbol.toStringTag, { value: "Module" })), Tc = (() => {
|
|
1354
|
-
const e = te(
|
|
1355
|
+
const e = te(P("NEXT_PUBLIC_NAVIGATION_HIDDEN_LINKS")) || [];
|
|
1355
1356
|
return Array.isArray(e) ? rc.reduce((r, n) => (r[n] = e.includes(n), r), {}) : void 0;
|
|
1356
1357
|
})(), Sc = (() => {
|
|
1357
|
-
const e = te(
|
|
1358
|
+
const e = te(P("NEXT_PUBLIC_HOMEPAGE_STATS"));
|
|
1358
1359
|
if (!Array.isArray(e)) {
|
|
1359
1360
|
const t = Ge;
|
|
1360
1361
|
return t.isEnabled && ["zkEvm", "zkSync", "arbitrum"].includes(t.type) ? ["latest_batch", "average_block_time", "total_txs", "wallet_addresses", "gas_tracker"] : ["total_blocks", "average_block_time", "total_txs", "wallet_addresses", "gas_tracker"];
|
|
1361
1362
|
}
|
|
1362
1363
|
return e.filter((t) => nc.includes(t));
|
|
1363
1364
|
})(), kc = (() => {
|
|
1364
|
-
const e = te(
|
|
1365
|
+
const e = te(P("NEXT_PUBLIC_NAVIGATION_HIGHLIGHTED_ROUTES"));
|
|
1365
1366
|
return Array.isArray(e) ? e : [];
|
|
1366
1367
|
})(), Ac = (() => {
|
|
1367
|
-
const e =
|
|
1368
|
+
const e = P("NEXT_PUBLIC_COLOR_THEME_DEFAULT");
|
|
1368
1369
|
return oc.find((t) => t.id === e);
|
|
1369
1370
|
})(), Ic = Object.freeze({
|
|
1370
1371
|
navigation: {
|
|
@@ -1378,52 +1379,52 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1378
1379
|
},
|
|
1379
1380
|
hiddenLinks: Tc,
|
|
1380
1381
|
highlightedRoutes: kc,
|
|
1381
|
-
otherLinks: te(
|
|
1382
|
+
otherLinks: te(P("NEXT_PUBLIC_OTHER_LINKS")) || [],
|
|
1382
1383
|
featuredNetworks: Ee("NEXT_PUBLIC_FEATURED_NETWORKS"),
|
|
1383
|
-
layout:
|
|
1384
|
+
layout: P("NEXT_PUBLIC_NAVIGATION_LAYOUT") || "vertical"
|
|
1384
1385
|
},
|
|
1385
1386
|
footer: {
|
|
1386
1387
|
links: Ee("NEXT_PUBLIC_FOOTER_LINKS"),
|
|
1387
|
-
frontendVersion:
|
|
1388
|
-
frontendCommit:
|
|
1388
|
+
frontendVersion: P("NEXT_PUBLIC_GIT_TAG"),
|
|
1389
|
+
frontendCommit: P("NEXT_PUBLIC_GIT_COMMIT_SHA")
|
|
1389
1390
|
},
|
|
1390
1391
|
homepage: {
|
|
1391
|
-
charts: te(
|
|
1392
|
+
charts: te(P("NEXT_PUBLIC_HOMEPAGE_CHARTS")) || [],
|
|
1392
1393
|
stats: Sc,
|
|
1393
|
-
heroBanner: te(
|
|
1394
|
+
heroBanner: te(P("NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG")),
|
|
1394
1395
|
// !!! DEPRECATED !!!
|
|
1395
1396
|
plate: {
|
|
1396
|
-
background:
|
|
1397
|
-
textColor:
|
|
1397
|
+
background: P("NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND"),
|
|
1398
|
+
textColor: P("NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR")
|
|
1398
1399
|
}
|
|
1399
1400
|
},
|
|
1400
1401
|
views: wc,
|
|
1401
1402
|
indexingAlert: {
|
|
1402
1403
|
blocks: {
|
|
1403
|
-
isHidden:
|
|
1404
|
+
isHidden: P("NEXT_PUBLIC_HIDE_INDEXING_ALERT_BLOCKS") === "true"
|
|
1404
1405
|
},
|
|
1405
1406
|
intTxs: {
|
|
1406
|
-
isHidden:
|
|
1407
|
+
isHidden: P("NEXT_PUBLIC_HIDE_INDEXING_ALERT_INT_TXS") === "true"
|
|
1407
1408
|
}
|
|
1408
1409
|
},
|
|
1409
1410
|
maintenanceAlert: {
|
|
1410
|
-
message:
|
|
1411
|
+
message: P("NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE")
|
|
1411
1412
|
},
|
|
1412
1413
|
explorers: {
|
|
1413
|
-
items: te(
|
|
1414
|
+
items: te(P("NEXT_PUBLIC_NETWORK_EXPLORERS")) || []
|
|
1414
1415
|
},
|
|
1415
1416
|
ides: {
|
|
1416
|
-
items: te(
|
|
1417
|
+
items: te(P("NEXT_PUBLIC_CONTRACT_CODE_IDES")) || []
|
|
1417
1418
|
},
|
|
1418
|
-
hasContractAuditReports:
|
|
1419
|
+
hasContractAuditReports: P("NEXT_PUBLIC_HAS_CONTRACT_AUDIT_REPORTS") === "true",
|
|
1419
1420
|
colorTheme: {
|
|
1420
1421
|
default: Ac
|
|
1421
1422
|
},
|
|
1422
1423
|
fonts: {
|
|
1423
|
-
heading: te(
|
|
1424
|
-
body: te(
|
|
1424
|
+
heading: te(P("NEXT_PUBLIC_FONT_FAMILY_HEADING")),
|
|
1425
|
+
body: te(P("NEXT_PUBLIC_FONT_FAMILY_BODY"))
|
|
1425
1426
|
},
|
|
1426
|
-
maxContentWidth:
|
|
1427
|
+
maxContentWidth: P("NEXT_PUBLIC_MAX_CONTENT_WIDTH_ENABLED") !== "false"
|
|
1427
1428
|
}), at = Object.freeze({
|
|
1428
1429
|
app: yr,
|
|
1429
1430
|
chain: Ie,
|
|
@@ -1436,7 +1437,7 @@ const no = "User profile API", Gs = De && Xs(De.api_url_template) ? Object.freez
|
|
|
1436
1437
|
function xr(e = !0) {
|
|
1437
1438
|
return Ua({ base: !0, lg: !1 }, { ssr: e });
|
|
1438
1439
|
}
|
|
1439
|
-
const wr =
|
|
1440
|
+
const wr = L.forwardRef(
|
|
1440
1441
|
function(t, r) {
|
|
1441
1442
|
var z;
|
|
1442
1443
|
const {
|
|
@@ -1459,22 +1460,22 @@ const wr = P.forwardRef(
|
|
|
1459
1460
|
openDelay: N = 100,
|
|
1460
1461
|
interactive: F,
|
|
1461
1462
|
...D
|
|
1462
|
-
} = t, [M, W] =
|
|
1463
|
+
} = t, [M, W] = L.useState(T), a = L.useRef(null), c = xr(), d = L.useCallback((I) => {
|
|
1463
1464
|
W(I.open), o == null || o(I);
|
|
1464
|
-
}, [o]), g =
|
|
1465
|
+
}, [o]), g = L.useCallback((I) => {
|
|
1465
1466
|
a.current && window.clearTimeout(a.current), a.current = window.setTimeout(() => {
|
|
1466
1467
|
W(I), o == null || o({ open: I });
|
|
1467
1468
|
}, I ? N : C);
|
|
1468
|
-
}, [C, N, o]), u =
|
|
1469
|
+
}, [C, N, o]), u = L.useCallback((I) => {
|
|
1469
1470
|
var B;
|
|
1470
1471
|
F && ((B = I.target) != null && B.closest(".chakra-tooltip__positioner")) || g(!1);
|
|
1471
|
-
}, [F, g]), v = yl(u), y =
|
|
1472
|
+
}, [F, g]), v = yl(u), y = L.useCallback(() => {
|
|
1472
1473
|
g(!M);
|
|
1473
|
-
}, [g, M]), E =
|
|
1474
|
+
}, [g, M]), E = L.useCallback((I) => {
|
|
1474
1475
|
var B;
|
|
1475
1476
|
I.stopPropagation(), F && ((B = I.target) != null && B.closest("a")) && g(!1);
|
|
1476
1477
|
}, [F, g]);
|
|
1477
|
-
if (
|
|
1478
|
+
if (L.useEffect(() => () => {
|
|
1478
1479
|
a.current && clearTimeout(a.current);
|
|
1479
1480
|
}, []), p || h && c) return l;
|
|
1480
1481
|
const A = n !== void 0 ? n : i !== "popover", k = {
|
|
@@ -1673,7 +1674,7 @@ const Oc = ((Go = at.UI.fonts.heading) == null ? void 0 : Go.name) ?? "Poppins",
|
|
|
1673
1674
|
p
|
|
1674
1675
|
] }) });
|
|
1675
1676
|
}
|
|
1676
|
-
), Lc =
|
|
1677
|
+
), Lc = L.forwardRef(
|
|
1677
1678
|
function(t, r) {
|
|
1678
1679
|
const { icon: n, children: o, inputProps: i, rootRef: s, ...l } = t;
|
|
1679
1680
|
return /* @__PURE__ */ q(Ye.Root, { ref: s, ...l, children: [
|
|
@@ -1682,7 +1683,7 @@ const Oc = ((Go = at.UI.fonts.heading) == null ? void 0 : Go.name) ?? "Poppins",
|
|
|
1682
1683
|
o != null && /* @__PURE__ */ f(Ye.Label, { children: o })
|
|
1683
1684
|
] });
|
|
1684
1685
|
}
|
|
1685
|
-
), b0 =
|
|
1686
|
+
), b0 = L.forwardRef(
|
|
1686
1687
|
function(t, r) {
|
|
1687
1688
|
const { children: n, orientation: o = "vertical", ...i } = t;
|
|
1688
1689
|
return /* @__PURE__ */ f(
|
|
@@ -3551,7 +3552,7 @@ const Kc = (e, t) => {
|
|
|
3551
3552
|
if (!r)
|
|
3552
3553
|
return e();
|
|
3553
3554
|
}, t);
|
|
3554
|
-
}, Yc = (e) => /* @__PURE__ */
|
|
3555
|
+
}, Yc = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M10.621 4.353 5.176 9.798a.69.69 0 1 1-.974-.974l5.444-5.446H5.108a.69.69 0 0 1 0-1.378H12v6.892a.69.69 0 1 1-1.379 0V4.353Z", fill: "currentColor" })), Zc = ({ color: e }) => /* @__PURE__ */ f(
|
|
3555
3556
|
ge,
|
|
3556
3557
|
{
|
|
3557
3558
|
boxSize: 3,
|
|
@@ -3681,7 +3682,7 @@ function E0(e, t) {
|
|
|
3681
3682
|
const { colorMode: r } = eu();
|
|
3682
3683
|
return r === "light" ? e : t;
|
|
3683
3684
|
}
|
|
3684
|
-
const fa = (e) => /* @__PURE__ */
|
|
3685
|
+
const fa = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M13.758 11c.89 0 1.337-1.077.707-1.707l-2.95-2.95a1 1 0 1 1 1.414-1.414l6.364 6.364a1 1 0 0 1 0 1.414l-6.364 6.364a1 1 0 1 1-1.414-1.414l2.95-2.95c.63-.63.184-1.707-.707-1.707H5a1 1 0 1 1 0-2h8.758Z", fill: "currentColor" })), tu = ({ href: e, hint: t, boxSize: r = 6, ...n }) => {
|
|
3685
3686
|
const o = /* @__PURE__ */ f(zt, { ...n, boxSize: r, children: /* @__PURE__ */ f(
|
|
3686
3687
|
ge,
|
|
3687
3688
|
{
|
|
@@ -3693,7 +3694,7 @@ const fa = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
3693
3694
|
}
|
|
3694
3695
|
) });
|
|
3695
3696
|
return /* @__PURE__ */ f(wr, { content: t, disabled: !t, children: e ? /* @__PURE__ */ f($t, { href: e, asChild: !0, children: o }) : o });
|
|
3696
|
-
}, C0 =
|
|
3697
|
+
}, C0 = L.forwardRef(function(t, r) {
|
|
3697
3698
|
const {
|
|
3698
3699
|
children: n,
|
|
3699
3700
|
portalled: o = !0,
|
|
@@ -3705,7 +3706,7 @@ const fa = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
3705
3706
|
s && /* @__PURE__ */ f(he.Backdrop, {}),
|
|
3706
3707
|
/* @__PURE__ */ f(he.Positioner, { children: /* @__PURE__ */ f(he.Content, { ref: r, ...l, asChild: !1, children: n }) })
|
|
3707
3708
|
] });
|
|
3708
|
-
}), ru =
|
|
3709
|
+
}), ru = L.forwardRef(function(t, r) {
|
|
3709
3710
|
return /* @__PURE__ */ f(
|
|
3710
3711
|
he.CloseTrigger,
|
|
3711
3712
|
{
|
|
@@ -3714,20 +3715,20 @@ const fa = (e) => /* @__PURE__ */ P.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
3714
3715
|
children: /* @__PURE__ */ f(Re, { ref: r, children: t.children })
|
|
3715
3716
|
}
|
|
3716
3717
|
);
|
|
3717
|
-
}), x0 =
|
|
3718
|
+
}), x0 = L.forwardRef(function(t, r) {
|
|
3718
3719
|
const { startElement: n, onBackToClick: o, ...i } = t, s = n ?? (o && /* @__PURE__ */ f(tu, { onClick: o }));
|
|
3719
3720
|
return /* @__PURE__ */ q(he.Header, { ref: r, ...i, children: [
|
|
3720
3721
|
s,
|
|
3721
3722
|
/* @__PURE__ */ f(he.Title, { children: t.children }),
|
|
3722
3723
|
/* @__PURE__ */ f(ru, { ml: "auto" })
|
|
3723
3724
|
] });
|
|
3724
|
-
}), w0 = he.Root, T0 = he.Footer, S0 = he.Body, k0 = he.Backdrop, A0 = he.Title, I0 = he.Description, O0 = he.Trigger, R0 = he.ActionTrigger, P0 =
|
|
3725
|
+
}), w0 = he.Root, T0 = he.Footer, S0 = he.Body, k0 = he.Backdrop, A0 = he.Title, I0 = he.Description, O0 = he.Trigger, R0 = he.ActionTrigger, P0 = L.forwardRef(function(t, r) {
|
|
3725
3726
|
const { children: n, portalled: o = !0, portalRef: i, offset: s, backdrop: l = !0, ...p } = t;
|
|
3726
3727
|
return /* @__PURE__ */ q(Fe, { disabled: !o, container: i, children: [
|
|
3727
3728
|
l && /* @__PURE__ */ f(Ce.Backdrop, {}),
|
|
3728
3729
|
/* @__PURE__ */ f(Ce.Positioner, { padding: s, children: /* @__PURE__ */ f(Ce.Content, { ref: r, ...p, asChild: !1, children: n }) })
|
|
3729
3730
|
] });
|
|
3730
|
-
}), L0 =
|
|
3731
|
+
}), L0 = L.forwardRef(function(t, r) {
|
|
3731
3732
|
return /* @__PURE__ */ f(
|
|
3732
3733
|
Ce.CloseTrigger,
|
|
3733
3734
|
{
|
|
@@ -3778,7 +3779,7 @@ function ga(e) {
|
|
|
3778
3779
|
if (typeof e != "string" && "displayName" in e)
|
|
3779
3780
|
return e.displayName;
|
|
3780
3781
|
}
|
|
3781
|
-
const ba =
|
|
3782
|
+
const ba = L.forwardRef(
|
|
3782
3783
|
function(t, r) {
|
|
3783
3784
|
const { label: n, children: o, helperText: i, errorText: s, optionalText: l, ...p } = t;
|
|
3784
3785
|
if (p.floating && n) {
|
|
@@ -3798,12 +3799,12 @@ const ba = P.forwardRef(
|
|
|
3798
3799
|
ha,
|
|
3799
3800
|
s
|
|
3800
3801
|
] })
|
|
3801
|
-
] }), T = i && /* @__PURE__ */ f(we.HelperText, { children: i }), O =
|
|
3802
|
+
] }), T = i && /* @__PURE__ */ f(we.HelperText, { children: i }), O = L.Children.only(o);
|
|
3802
3803
|
if (ga(O.type) === "InputGroup") {
|
|
3803
|
-
const C =
|
|
3804
|
-
|
|
3804
|
+
const C = L.cloneElement(
|
|
3805
|
+
L.Children.only(O.props.children),
|
|
3805
3806
|
S
|
|
3806
|
-
), N =
|
|
3807
|
+
), N = L.cloneElement(
|
|
3807
3808
|
O,
|
|
3808
3809
|
{},
|
|
3809
3810
|
C,
|
|
@@ -3814,7 +3815,7 @@ const ba = P.forwardRef(
|
|
|
3814
3815
|
T
|
|
3815
3816
|
] });
|
|
3816
3817
|
}
|
|
3817
|
-
const R =
|
|
3818
|
+
const R = L.cloneElement(O, S);
|
|
3818
3819
|
return /* @__PURE__ */ q(we.Root, { pos: "relative", w: "full", ref: r, ...p, children: [
|
|
3819
3820
|
R,
|
|
3820
3821
|
m,
|
|
@@ -3823,7 +3824,7 @@ const ba = P.forwardRef(
|
|
|
3823
3824
|
}
|
|
3824
3825
|
const h = {
|
|
3825
3826
|
size: p.size
|
|
3826
|
-
}, b =
|
|
3827
|
+
}, b = L.Children.only(o), _ = L.cloneElement(b, h);
|
|
3827
3828
|
return /* @__PURE__ */ q(we.Root, { ref: r, ...p, children: [
|
|
3828
3829
|
n && /* @__PURE__ */ q(we.Label, { children: [
|
|
3829
3830
|
n,
|
|
@@ -3879,7 +3880,7 @@ const ba = P.forwardRef(
|
|
|
3879
3880
|
)
|
|
3880
3881
|
] });
|
|
3881
3882
|
}
|
|
3882
|
-
), Vt =
|
|
3883
|
+
), Vt = L.forwardRef(
|
|
3883
3884
|
function(t, r) {
|
|
3884
3885
|
const {
|
|
3885
3886
|
startElement: n,
|
|
@@ -3890,7 +3891,7 @@ const ba = P.forwardRef(
|
|
|
3890
3891
|
startOffset: p,
|
|
3891
3892
|
endOffset: h,
|
|
3892
3893
|
...b
|
|
3893
|
-
} = t, _ =
|
|
3894
|
+
} = t, _ = L.useRef(null), S = L.useRef(null), [m, T] = L.useState(), O = L.useCallback(() => {
|
|
3894
3895
|
var C, N;
|
|
3895
3896
|
const { width: w } = ((C = S == null ? void 0 : S.current) == null ? void 0 : C.getBoundingClientRect()) ?? {}, { width: R } = ((N = _ == null ? void 0 : _.current) == null ? void 0 : N.getBoundingClientRect()) ?? {};
|
|
3896
3897
|
T({
|
|
@@ -3898,7 +3899,7 @@ const ba = P.forwardRef(
|
|
|
3898
3899
|
end: w ?? 0
|
|
3899
3900
|
});
|
|
3900
3901
|
}, []);
|
|
3901
|
-
return
|
|
3902
|
+
return L.useEffect(() => {
|
|
3902
3903
|
O();
|
|
3903
3904
|
const w = Ut(O, 300), R = new ResizeObserver(w);
|
|
3904
3905
|
return R.observe(window.document.body), function() {
|
|
@@ -3906,7 +3907,7 @@ const ba = P.forwardRef(
|
|
|
3906
3907
|
};
|
|
3907
3908
|
}, [O]), /* @__PURE__ */ q(mr, { ref: r, w: "100%", ...b, children: [
|
|
3908
3909
|
n && /* @__PURE__ */ f(Dr, { pointerEvents: "none", ref: _, px: 0, color: "gray.500", ...o, children: n }),
|
|
3909
|
-
|
|
3910
|
+
L.Children.map(l, (w) => ga(w.type) !== "FieldInput" ? w : L.cloneElement(w, {
|
|
3910
3911
|
...n && { ps: p ?? (m != null && m.start ? `${m.start}px` : void 0) },
|
|
3911
3912
|
...i && { pe: h ?? (m != null && m.end ? `${m.end}px` : void 0) },
|
|
3912
3913
|
// hide input value and placeholder for the first render
|
|
@@ -4033,31 +4034,31 @@ function ya(e) {
|
|
|
4033
4034
|
function Du(e) {
|
|
4034
4035
|
return _a({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "m9 18 6-6-6-6" }, child: [] }] })(e);
|
|
4035
4036
|
}
|
|
4036
|
-
const $0 =
|
|
4037
|
+
const $0 = L.forwardRef(
|
|
4037
4038
|
function(t, r) {
|
|
4038
4039
|
const { portalled: n = !0, portalRef: o, ...i } = t;
|
|
4039
4040
|
return /* @__PURE__ */ f(Fe, { disabled: !n, container: o, children: /* @__PURE__ */ f(de.Positioner, { children: /* @__PURE__ */ f(de.Content, { ref: r, ...i }) }) });
|
|
4040
4041
|
}
|
|
4041
|
-
), V0 =
|
|
4042
|
+
), V0 = L.forwardRef(function(t, r) {
|
|
4042
4043
|
return /* @__PURE__ */ f(de.Arrow, { ref: r, ...t, children: /* @__PURE__ */ f(de.ArrowTip, {}) });
|
|
4043
|
-
}), X0 =
|
|
4044
|
+
}), X0 = L.forwardRef(function(t, r) {
|
|
4044
4045
|
return /* @__PURE__ */ q(de.CheckboxItem, { ps: "8", ref: r, ...t, children: [
|
|
4045
4046
|
/* @__PURE__ */ f(Dt, { axis: "horizontal", insetStart: "4", asChild: !0, children: /* @__PURE__ */ f(de.ItemIndicator, { children: /* @__PURE__ */ f(ya, {}) }) }),
|
|
4046
4047
|
t.children
|
|
4047
4048
|
] });
|
|
4048
|
-
}), G0 =
|
|
4049
|
+
}), G0 = L.forwardRef(function(t, r) {
|
|
4049
4050
|
const { children: n, ...o } = t;
|
|
4050
4051
|
return /* @__PURE__ */ q(de.RadioItem, { ps: "8", ref: r, ...o, children: [
|
|
4051
4052
|
/* @__PURE__ */ f(Dt, { axis: "horizontal", insetStart: "4", asChild: !0, children: /* @__PURE__ */ f(de.ItemIndicator, { children: /* @__PURE__ */ f(ya, {}) }) }),
|
|
4052
4053
|
/* @__PURE__ */ f(de.ItemText, { children: n })
|
|
4053
4054
|
] });
|
|
4054
|
-
}), q0 =
|
|
4055
|
+
}), q0 = L.forwardRef(function(t, r) {
|
|
4055
4056
|
const { title: n, children: o, ...i } = t;
|
|
4056
4057
|
return /* @__PURE__ */ q(de.ItemGroup, { ref: r, ...i, children: [
|
|
4057
4058
|
n && /* @__PURE__ */ f(de.ItemGroupLabel, { userSelect: "none", children: n }),
|
|
4058
4059
|
o
|
|
4059
4060
|
] });
|
|
4060
|
-
}), K0 =
|
|
4061
|
+
}), K0 = L.forwardRef(function(t, r) {
|
|
4061
4062
|
const { startIcon: n, children: o, ...i } = t;
|
|
4062
4063
|
return /* @__PURE__ */ q(de.TriggerItem, { ref: r, ...i, children: [
|
|
4063
4064
|
n,
|
|
@@ -4075,7 +4076,7 @@ const $0 = P.forwardRef(
|
|
|
4075
4076
|
}
|
|
4076
4077
|
};
|
|
4077
4078
|
return /* @__PURE__ */ f(de.Root, { ...n, positioning: o, lazyMount: t, unmountOnExit: r });
|
|
4078
|
-
}, J0 = de.Separator, ep = de.Item, tp = de.ItemText, rp = de.ItemCommand, np = de.Trigger, op =
|
|
4079
|
+
}, J0 = de.Separator, ep = de.Item, tp = de.ItemText, rp = de.ItemCommand, np = de.Trigger, op = L.forwardRef(
|
|
4079
4080
|
function(t, r) {
|
|
4080
4081
|
const { count: n = 6, inputProps: o, rootRef: i, attached: s, placeholder: l = " ", bgColor: p, ...h } = t;
|
|
4081
4082
|
return /* @__PURE__ */ q(lt.Root, { ref: i, placeholder: l, ...h, children: [
|
|
@@ -4083,12 +4084,12 @@ const $0 = P.forwardRef(
|
|
|
4083
4084
|
/* @__PURE__ */ f(lt.Control, { children: /* @__PURE__ */ f(mr, { attached: s, children: Array.from({ length: n }).map((b, _) => /* @__PURE__ */ f(lt.Input, { index: _, bgColor: p }, _)) }) })
|
|
4084
4085
|
] });
|
|
4085
4086
|
}
|
|
4086
|
-
), Bu =
|
|
4087
|
+
), Bu = L.forwardRef(function(t, r) {
|
|
4087
4088
|
const { portalled: n = !0, portalRef: o, ...i } = t;
|
|
4088
4089
|
return /* @__PURE__ */ f(Fe, { disabled: !n, container: o, children: /* @__PURE__ */ f(me.Positioner, { children: /* @__PURE__ */ f(me.Content, { ref: r, ...i }) }) });
|
|
4089
|
-
}), ip =
|
|
4090
|
+
}), ip = L.forwardRef(function(t, r) {
|
|
4090
4091
|
return /* @__PURE__ */ f(me.Arrow, { ...t, ref: r, children: /* @__PURE__ */ f(me.ArrowTip, {}) });
|
|
4091
|
-
}), ap =
|
|
4092
|
+
}), ap = L.forwardRef(function(t, r) {
|
|
4092
4093
|
return /* @__PURE__ */ f(
|
|
4093
4094
|
me.CloseTrigger,
|
|
4094
4095
|
{
|
|
@@ -4101,7 +4102,7 @@ const $0 = P.forwardRef(
|
|
|
4101
4102
|
children: /* @__PURE__ */ f(Re, {})
|
|
4102
4103
|
}
|
|
4103
4104
|
);
|
|
4104
|
-
}), zu =
|
|
4105
|
+
}), zu = L.forwardRef(function(t, r) {
|
|
4105
4106
|
const { disabled: n, ...o } = t;
|
|
4106
4107
|
return n ? t.children : /* @__PURE__ */ f(
|
|
4107
4108
|
me.CloseTrigger,
|
|
@@ -4132,16 +4133,16 @@ const $0 = P.forwardRef(
|
|
|
4132
4133
|
positioning: t
|
|
4133
4134
|
}
|
|
4134
4135
|
);
|
|
4135
|
-
}, Fu =
|
|
4136
|
+
}, Fu = L.forwardRef(function(t, r) {
|
|
4136
4137
|
const { asChild: n = !0, ...o } = t;
|
|
4137
4138
|
return /* @__PURE__ */ f(me.Trigger, { asChild: n, ref: r, ...o });
|
|
4138
|
-
}), lp = me.Title, sp = me.Description, cp = me.Footer, up = me.Header, Mu = me.Body, dp =
|
|
4139
|
+
}), lp = me.Title, sp = me.Description, cp = me.Footer, up = me.Header, Mu = me.Body, dp = L.forwardRef(function(t, r) {
|
|
4139
4140
|
const { trackColor: n, cap: o, color: i, ...s } = t;
|
|
4140
4141
|
return /* @__PURE__ */ q(rt.Circle, { ...s, ref: r, children: [
|
|
4141
4142
|
/* @__PURE__ */ f(rt.Track, { stroke: n }),
|
|
4142
4143
|
/* @__PURE__ */ f(rt.Range, { stroke: i, strokeLinecap: o })
|
|
4143
4144
|
] });
|
|
4144
|
-
}), fp =
|
|
4145
|
+
}), fp = L.forwardRef(function(t, r) {
|
|
4145
4146
|
return /* @__PURE__ */ f(Dt, { children: /* @__PURE__ */ f(rt.ValueText, { ...t, ref: r }) });
|
|
4146
4147
|
}), pp = rt.Root, ju = {
|
|
4147
4148
|
fromLeftToRight: {
|
|
@@ -8300,7 +8301,7 @@ const bd = ce({
|
|
|
8300
8301
|
function hp(e) {
|
|
8301
8302
|
return /* @__PURE__ */ f(Ka, { value: Pd, children: /* @__PURE__ */ f(Jc, { ...e }) });
|
|
8302
8303
|
}
|
|
8303
|
-
const gp =
|
|
8304
|
+
const gp = L.forwardRef(
|
|
8304
8305
|
function(t, r) {
|
|
8305
8306
|
const { children: n, inputProps: o, rootRef: i, ...s } = t;
|
|
8306
8307
|
return /* @__PURE__ */ q(tt.Item, { ref: i, ...s, children: [
|
|
@@ -8309,7 +8310,7 @@ const gp = P.forwardRef(
|
|
|
8309
8310
|
n && /* @__PURE__ */ f(tt.ItemText, { children: n })
|
|
8310
8311
|
] });
|
|
8311
8312
|
}
|
|
8312
|
-
), bp = tt.Root, Ld = (e) => /* @__PURE__ */
|
|
8313
|
+
), bp = tt.Root, Ld = (e) => /* @__PURE__ */ L.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "none", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M15.713 20a.724.724 0 0 1-.354-.09L10 16.956 4.64 19.91a.728.728 0 0 1-.796-.061.788.788 0 0 1-.256-.342.827.827 0 0 1-.045-.432l1.024-6.252L.229 8.394a.802.802 0 0 1-.207-.377.829.829 0 0 1 .015-.435.795.795 0 0 1 .232-.361.741.741 0 0 1 .379-.179L6.64 6.13 9.321.442a.78.78 0 0 1 .28-.323.731.731 0 0 1 .798 0 .78.78 0 0 1 .28.323l2.68 5.688 5.993.912a.74.74 0 0 1 .379.178.8.8 0 0 1 .232.361.828.828 0 0 1-.192.813l-4.338 4.428 1.024 6.252a.83.83 0 0 1-.167.644.762.762 0 0 1-.26.208.728.728 0 0 1-.319.074h.002Z", fill: "currentColor" })), Nd = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.711 20a.724.724 0 0 1-.352-.09Zm.005 0a.73.73 0 0 0 .314-.074.77.77 0 0 0 .26-.208.806.806 0 0 0 .167-.644l-1.024-6.252 4.338-4.428a.828.828 0 0 0 .192-.813.796.796 0 0 0-.232-.36.74.74 0 0 0-.38-.179l-5.86-.892a.25.25 0 0 1-.19-.14L10.679.442A.78.78 0 0 0 10.4.119a.732.732 0 0 0-.798 0 .78.78 0 0 0-.28.323L6.699 6.01a.25.25 0 0 1-.188.14l-5.862.892a.741.741 0 0 0-.38.179.795.795 0 0 0-.231.36.829.829 0 0 0-.015.436.802.802 0 0 0 .207.377l4.25 4.338a.25.25 0 0 1 .068.215l-1.004 6.127a.827.827 0 0 0 .045.432.788.788 0 0 0 .256.342.728.728 0 0 0 .796.061l5.24-2.886a.25.25 0 0 1 .24 0l5.24 2.886m-9.354-3.497a.25.25 0 0 0 .367.26L9.88 14.74a.25.25 0 0 1 .24 0l3.507 1.932a.25.25 0 0 0 .367-.26l-.678-4.141a.25.25 0 0 1 .068-.216l2.982-3.043a.25.25 0 0 0-.14-.423l-4.09-.622a.25.25 0 0 1-.189-.14l-1.72-3.653a.25.25 0 0 0-.453 0L8.053 7.826a.25.25 0 0 1-.189.141l-4.09.622a.25.25 0 0 0-.14.423l2.982 3.043a.25.25 0 0 1 .068.216l-.678 4.14ZM15.716 20h-.003Z", fill: "currentColor" })), mp = L.forwardRef(
|
|
8313
8314
|
function(t, r) {
|
|
8314
8315
|
const { count: n = 5, label: o, defaultValue: i, onValueChange: s, readOnly: l, ...p } = t, h = Ya({ count: n, defaultValue: i, onValueChange: s, readOnly: l }), b = h.hovering && !l ? h.hoveredValue : h.value, _ = Array.isArray(o) ? o[b - 1] : o;
|
|
8315
8316
|
return /* @__PURE__ */ q(We.RootProvider, { ref: r, value: h, ...p, children: [
|
|
@@ -8321,7 +8322,7 @@ const gp = P.forwardRef(
|
|
|
8321
8322
|
_ && /* @__PURE__ */ f(We.Label, { children: _ })
|
|
8322
8323
|
] });
|
|
8323
8324
|
}
|
|
8324
|
-
), Dd = (e) => /* @__PURE__ */
|
|
8325
|
+
), Dd = (e) => /* @__PURE__ */ L.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "M9.293 14.465a1 1 0 0 0 1.414 0l7.778-7.78A1 1 0 0 1 19.899 8.1l-9.192 9.193a1 1 0 0 1-1.414 0l-4.95-4.95a1 1 0 0 1 1.414-1.414l3.536 3.536Z", fill: "currentColor" })), Bd = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { d: "m14.048 13.074 2.464 2.463a.69.69 0 1 1-.975.975l-2.463-2.464A6.205 6.205 0 0 1 3 9.202 6.205 6.205 0 0 1 9.203 3a6.205 6.205 0 0 1 4.845 10.074Zm-1.382-.512a4.823 4.823 0 0 0-3.463-8.184 4.822 4.822 0 0 0-4.825 4.825 4.823 4.823 0 0 0 8.184 3.463l.104-.104Z", fill: "currentColor" })), zd = ({ disabled: e, visible: t = !0, ...r }) => /* @__PURE__ */ f(
|
|
8325
8326
|
Re,
|
|
8326
8327
|
{
|
|
8327
8328
|
disabled: e || !t,
|
|
@@ -8387,7 +8388,7 @@ const gp = P.forwardRef(
|
|
|
8387
8388
|
)
|
|
8388
8389
|
}
|
|
8389
8390
|
);
|
|
8390
|
-
}, Ea =
|
|
8391
|
+
}, Ea = L.forwardRef(function(t, r) {
|
|
8391
8392
|
const { children: n, noIndicator: o, triggerProps: i, loading: s, defaultValue: l, ...p } = t, h = Hi(), b = Array.isArray(l) ? h.value.every((_) => l.includes(_)) : h.value === l;
|
|
8392
8393
|
return /* @__PURE__ */ f(xe, { loading: s, asChild: !0, children: /* @__PURE__ */ q(fe.Control, { ...p, children: [
|
|
8393
8394
|
/* @__PURE__ */ f(fe.Trigger, { ref: r, className: "group peer", ...i, "data-default-value": b, children: n }),
|
|
@@ -8401,24 +8402,24 @@ const gp = P.forwardRef(
|
|
|
8401
8402
|
}
|
|
8402
8403
|
) })
|
|
8403
8404
|
] }) });
|
|
8404
|
-
}), vp =
|
|
8405
|
+
}), vp = L.forwardRef(function(t, r) {
|
|
8405
8406
|
return /* @__PURE__ */ f(fe.ClearTrigger, { asChild: !0, ...t, ref: r, children: /* @__PURE__ */ f(
|
|
8406
8407
|
Re,
|
|
8407
8408
|
{
|
|
8408
8409
|
pointerEvents: "auto"
|
|
8409
8410
|
}
|
|
8410
8411
|
) });
|
|
8411
|
-
}), Ca =
|
|
8412
|
+
}), Ca = L.forwardRef(function(t, r) {
|
|
8412
8413
|
const { portalled: n = !0, portalRef: o, ...i } = t;
|
|
8413
8414
|
return /* @__PURE__ */ f(Fe, { disabled: !n, container: o, children: /* @__PURE__ */ f(fe.Positioner, { children: /* @__PURE__ */ f(fe.Content, { ...i, ref: r }) }) });
|
|
8414
|
-
}), xa =
|
|
8415
|
+
}), xa = L.forwardRef(function(t, r) {
|
|
8415
8416
|
const { item: n, children: o, ...i } = t, s = n.icon;
|
|
8416
8417
|
return /* @__PURE__ */ q(fe.Item, { item: n, ...i, ref: r, children: [
|
|
8417
8418
|
s,
|
|
8418
8419
|
o,
|
|
8419
8420
|
/* @__PURE__ */ f(fe.ItemIndicator, { asChild: !0, children: /* @__PURE__ */ f(ge, { boxSize: 5, flexShrink: 0, ml: "auto", children: /* @__PURE__ */ f(Dd, {}) }) })
|
|
8420
8421
|
] }, n.value);
|
|
8421
|
-
}), wa =
|
|
8422
|
+
}), wa = L.forwardRef(function(t, r) {
|
|
8422
8423
|
const { children: n, size: o, required: i, invalid: s, errorText: l, ...p } = t, h = Hi(), b = (() => {
|
|
8423
8424
|
const _ = h.selectedItems, S = `${t.placeholder}${i ? "*" : ""}${s && l ? ` - ${l}` : ""}`;
|
|
8424
8425
|
if (_.length === 0) return S;
|
|
@@ -8455,7 +8456,7 @@ const gp = P.forwardRef(
|
|
|
8455
8456
|
children: b
|
|
8456
8457
|
}
|
|
8457
8458
|
);
|
|
8458
|
-
}), Ta =
|
|
8459
|
+
}), Ta = L.forwardRef(function(t, r) {
|
|
8459
8460
|
var s;
|
|
8460
8461
|
const { lazyMount: n = !0, unmountOnExit: o = !0, ...i } = t;
|
|
8461
8462
|
return /* @__PURE__ */ f(
|
|
@@ -8472,13 +8473,13 @@ const gp = P.forwardRef(
|
|
|
8472
8473
|
] })
|
|
8473
8474
|
}
|
|
8474
8475
|
);
|
|
8475
|
-
}), _p =
|
|
8476
|
+
}), _p = L.forwardRef(function(t, r) {
|
|
8476
8477
|
const { children: n, label: o, ...i } = t;
|
|
8477
8478
|
return /* @__PURE__ */ q(fe.ItemGroup, { ...i, ref: r, children: [
|
|
8478
8479
|
/* @__PURE__ */ f(fe.ItemGroupLabel, { children: o }),
|
|
8479
8480
|
n
|
|
8480
8481
|
] });
|
|
8481
|
-
}), yp = fe.Label, Ep = fe.ItemText, Fd =
|
|
8482
|
+
}), yp = fe.Label, Ep = fe.ItemText, Fd = L.forwardRef((e, t) => {
|
|
8482
8483
|
const { collection: r, placeholder: n, portalled: o = !0, loading: i, errorText: s, contentProps: l, ...p } = e;
|
|
8483
8484
|
return /* @__PURE__ */ q(
|
|
8484
8485
|
Ta,
|
|
@@ -8501,14 +8502,14 @@ const gp = P.forwardRef(
|
|
|
8501
8502
|
]
|
|
8502
8503
|
}
|
|
8503
8504
|
);
|
|
8504
|
-
}), Md =
|
|
8505
|
-
const { placeholder: r, portalled: n = !0, loading: o, loadOptions: i, extraControls: s, onValueChange: l, errorText: p, ...h } = e, [b, _] =
|
|
8506
|
-
|
|
8505
|
+
}), Md = L.forwardRef((e, t) => {
|
|
8506
|
+
const { placeholder: r, portalled: n = !0, loading: o, loadOptions: i, extraControls: s, onValueChange: l, errorText: p, ...h } = e, [b, _] = L.useState(Za({ items: [] })), [S, m] = L.useState(""), [T, O] = L.useState([]), w = xl(S, 300);
|
|
8507
|
+
L.useEffect(() => {
|
|
8507
8508
|
i(w, T).then(_);
|
|
8508
8509
|
}, [w, i, T]);
|
|
8509
|
-
const R =
|
|
8510
|
+
const R = L.useCallback((N) => {
|
|
8510
8511
|
m(N);
|
|
8511
|
-
}, []), C =
|
|
8512
|
+
}, []), C = L.useCallback(({ value: N, items: F }) => {
|
|
8512
8513
|
O(N), l == null || l({ value: N, items: F });
|
|
8513
8514
|
}, [l]);
|
|
8514
8515
|
return /* @__PURE__ */ q(
|
|
@@ -8547,7 +8548,7 @@ const gp = P.forwardRef(
|
|
|
8547
8548
|
]
|
|
8548
8549
|
}
|
|
8549
8550
|
);
|
|
8550
|
-
}), Cp =
|
|
8551
|
+
}), Cp = L.forwardRef(
|
|
8551
8552
|
function(t, r) {
|
|
8552
8553
|
const { marks: n, label: o, showValue: i, ...s } = t, l = t.defaultValue ?? t.value, p = n == null ? void 0 : n.map((b) => typeof b == "number" ? { value: b, label: void 0 } : b), h = !!(p != null && p.some((b) => b.label));
|
|
8553
8554
|
return /* @__PURE__ */ q(ye.Root, { ref: r, thumbAlignment: "center", ...s, children: [
|
|
@@ -8568,7 +8569,7 @@ function jd(e) {
|
|
|
8568
8569
|
const { value: t } = e;
|
|
8569
8570
|
return /* @__PURE__ */ f(Ja, { each: t, children: (r, n) => /* @__PURE__ */ f(ye.Thumb, { index: n, children: /* @__PURE__ */ f(ye.HiddenInput, {}) }, n) });
|
|
8570
8571
|
}
|
|
8571
|
-
const Hd =
|
|
8572
|
+
const Hd = L.forwardRef(
|
|
8572
8573
|
function(t, r) {
|
|
8573
8574
|
const { marks: n } = t;
|
|
8574
8575
|
return n != null && n.length ? /* @__PURE__ */ f(ye.MarkerGroup, { ref: r, children: n.map((o, i) => {
|
|
@@ -8579,7 +8580,7 @@ const Hd = P.forwardRef(
|
|
|
8579
8580
|
] }, i);
|
|
8580
8581
|
}) }) : null;
|
|
8581
8582
|
}
|
|
8582
|
-
), xp =
|
|
8583
|
+
), xp = L.forwardRef(
|
|
8583
8584
|
function(t, r) {
|
|
8584
8585
|
const { inputProps: n, children: o, rootRef: i, trackLabel: s, thumbLabel: l, labelProps: p, ...h } = t;
|
|
8585
8586
|
return /* @__PURE__ */ q(Le.Root, { ref: i, ...h, children: [
|
|
@@ -8598,7 +8599,7 @@ const Hd = P.forwardRef(
|
|
|
8598
8599
|
const { isNumeric: t, ...r } = e;
|
|
8599
8600
|
return /* @__PURE__ */ f(qe.ColumnHeader, { textAlign: t ? "right" : void 0, ...r });
|
|
8600
8601
|
}, Ap = (e) => {
|
|
8601
|
-
const { sortField: t, sortValue: r, onSortToggle: n, children: o, disabled: i, indicatorPosition: s = "left", ...l } = e, p =
|
|
8602
|
+
const { sortField: t, sortValue: r, onSortToggle: n, children: o, disabled: i, indicatorPosition: s = "left", ...l } = e, p = L.useCallback(() => {
|
|
8602
8603
|
n(t);
|
|
8603
8604
|
}, [n, t]);
|
|
8604
8605
|
return /* @__PURE__ */ f($d, { ...l, children: /* @__PURE__ */ q($t, { onClick: i ? void 0 : p, position: "relative", children: [
|
|
@@ -8618,11 +8619,11 @@ const Hd = P.forwardRef(
|
|
|
8618
8619
|
o
|
|
8619
8620
|
] }) });
|
|
8620
8621
|
}, Ip = (e) => {
|
|
8621
|
-
const { top: t, children: r, ...n } = e, o =
|
|
8622
|
+
const { top: t, children: r, ...n } = e, o = L.useRef(null), [i, s] = L.useState(!1), l = L.useCallback(() => {
|
|
8622
8623
|
var p;
|
|
8623
8624
|
Number((p = o.current) == null ? void 0 : p.getBoundingClientRect().y) <= (t || 0) ? s(!0) : s(!1);
|
|
8624
8625
|
}, [t]);
|
|
8625
|
-
return
|
|
8626
|
+
return L.useEffect(() => {
|
|
8626
8627
|
const p = qi(l, 300);
|
|
8627
8628
|
return window.addEventListener("scroll", p), () => {
|
|
8628
8629
|
window.removeEventListener("scroll", p);
|
|
@@ -8640,12 +8641,12 @@ const Hd = P.forwardRef(
|
|
|
8640
8641
|
children: r
|
|
8641
8642
|
}
|
|
8642
8643
|
);
|
|
8643
|
-
}, Vd =
|
|
8644
|
+
}, Vd = L.forwardRef(
|
|
8644
8645
|
function(t, r) {
|
|
8645
8646
|
const { lazyMount: n = !0, unmountOnExit: o = !0, ...i } = t;
|
|
8646
8647
|
return /* @__PURE__ */ f(Bt.Root, { ref: r, ...i, lazyMount: n, unmountOnExit: o });
|
|
8647
8648
|
}
|
|
8648
|
-
), Xd = Bt.List, hr =
|
|
8649
|
+
), Xd = Bt.List, hr = L.forwardRef(
|
|
8649
8650
|
function(t, r) {
|
|
8650
8651
|
return /* @__PURE__ */ f(Bt.Trigger, { ref: r, className: "group", ...t });
|
|
8651
8652
|
}
|
|
@@ -8658,7 +8659,7 @@ const Hd = P.forwardRef(
|
|
|
8658
8659
|
},
|
|
8659
8660
|
children: e > 50 ? "50+" : e
|
|
8660
8661
|
}
|
|
8661
|
-
), Op =
|
|
8662
|
+
), Op = L.forwardRef(
|
|
8662
8663
|
function(t, r) {
|
|
8663
8664
|
const {
|
|
8664
8665
|
startElement: n,
|
|
@@ -9394,7 +9395,7 @@ function sf(e, t = 0, r = !0) {
|
|
|
9394
9395
|
};
|
|
9395
9396
|
}, [r]), n;
|
|
9396
9397
|
}
|
|
9397
|
-
const cf = (e) => /* @__PURE__ */
|
|
9398
|
+
const cf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ L.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ L.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), uf = {
|
|
9398
9399
|
id: "menu",
|
|
9399
9400
|
title: `${At}${At}${At}`,
|
|
9400
9401
|
component: null
|
|
@@ -9724,7 +9725,7 @@ const Cf = (e) => {
|
|
|
9724
9725
|
defaultValue: Oe(i || t[0])
|
|
9725
9726
|
}
|
|
9726
9727
|
);
|
|
9727
|
-
}, Dp = U.memo(Cf), xf = (e) => /* @__PURE__ */
|
|
9728
|
+
}, Dp = U.memo(Cf), xf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.034 3H6.965C4.587 3 3 4.703 3 7.141v5.718C3 15.299 4.583 17 6.965 17h6.068C15.416 17 17 15.3 17 12.859V7.14C17 4.701 15.416 3 13.034 3ZM6.965 4.05h6.069c1.785 0 2.916 1.214 2.916 3.091v5.718c0 1.877-1.13 3.091-2.917 3.091H6.966c-1.786 0-2.916-1.214-2.916-3.091V7.14c0-1.874 1.134-3.091 2.915-3.091ZM10 6.818a.525.525 0 0 1 .072 1.045l-.079.005a.525.525 0 0 1-.07-1.045L10 6.818Zm-.007 2.221c.266 0 .486.198.52.454l.005.071v3.093a.525.525 0 0 1-1.045.072l-.005-.072V9.564c0-.29.235-.525.525-.525Z", fill: "currentColor" })), wf = U.memo(({ label: e, tooltipProps: t, isLoading: r, boxSize: n = 5, ...o }) => /* @__PURE__ */ f(
|
|
9728
9729
|
wr,
|
|
9729
9730
|
{
|
|
9730
9731
|
content: e,
|
|
@@ -10179,7 +10180,7 @@ const qp = Me(({ onDrop: e, children: t, className: r, isDisabled: n, fullFilePa
|
|
|
10179
10180
|
/* @__PURE__ */ f(ol, { children: /* @__PURE__ */ f(Xt, { type: "file", onChange: s, onBlur: p, ref: o, accept: t, multiple: r, name: n.name }) }),
|
|
10180
10181
|
b
|
|
10181
10182
|
] });
|
|
10182
|
-
}, Kp = U.memo(Ff), Mf = (e) => /* @__PURE__ */
|
|
10183
|
+
}, Kp = U.memo(Ff), Mf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.4 2.933a.156.156 0 0 0-.156.156v10.844a.467.467 0 0 1-.933 0V3.09A1.089 1.089 0 0 1 6.4 2h7.476a.467.467 0 0 1 .32.137l4.356 4.355a.467.467 0 0 1 .137.33v7.111a.467.467 0 0 1-.934 0V7.29h-3.889a.467.467 0 0 1-.466-.467v-3.89h-7Zm7.933.66v2.763h2.762l-2.762-2.763Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.752 20.137c-.016-.04-.03-.08-.043-.12-.068-.223.123-.42.356-.42h.074c.16 0 .29.123.369.263.045.08.103.147.17.2a.787.787 0 0 0 .256.136.99.99 0 0 0 .326.05.944.944 0 0 0 .421-.085.591.591 0 0 0 .26-.232.69.69 0 0 0 .086-.348.538.538 0 0 0-.036-.22.46.46 0 0 0-.119-.173c-.103-.096-.261-.173-.473-.232l-.63-.172a1.612 1.612 0 0 1-.55-.257 1.142 1.142 0 0 1-.36-.442 1.475 1.475 0 0 1-.125-.63c0-.293.065-.55.194-.768.13-.218.31-.388.538-.508.23-.12.495-.179.794-.179.31 0 .575.06.795.183.221.122.392.287.51.493.051.085.092.174.124.267.075.217-.117.414-.346.414-.194 0-.35-.152-.462-.31a.655.655 0 0 0-.25-.218.817.817 0 0 0-.379-.082c-.22 0-.395.06-.522.183a.559.559 0 0 0-.141.204.654.654 0 0 0-.048.258c0 .145.049.264.147.36a.922.922 0 0 0 .412.21l.634.173c.222.06.415.144.578.254.157.101.29.25.383.43.091.178.137.403.137.674a1.6 1.6 0 0 1-.191.789 1.308 1.308 0 0 1-.55.528c-.24.126-.531.19-.876.19-.26 0-.486-.036-.68-.109a1.375 1.375 0 0 1-.487-.303 1.355 1.355 0 0 1-.296-.45Zm-3.168-.04a1.803 1.803 0 0 1-.045-.17c-.044-.212.136-.39.354-.39h.05c.187 0 .332.157.412.325a.56.56 0 0 0 .197.224.448.448 0 0 0 .267.072c.194 0 .337-.066.43-.198.093-.132.14-.318.14-.56v-2.898a.404.404 0 0 1 .808 0v2.874c0 .53-.122.93-.365 1.209-.242.276-.576.415-1.005.415a1.402 1.402 0 0 1-.58-.113 1.17 1.17 0 0 1-.415-.32 1.428 1.428 0 0 1-.248-.47Zm9.279-1.906v.628c0 .308-.04.565-.12.771-.067.19-.182.352-.328.466a.795.795 0 0 1-.48.151.8.8 0 0 1-.48-.151 1.027 1.027 0 0 1-.326-.466 2.159 2.159 0 0 1-.12-.77v-.629c0-.31.04-.566.12-.77.067-.19.181-.352.326-.466a.787.787 0 0 1 .48-.155c.18 0 .34.052.48.155.146.113.26.275.329.465.08.205.119.461.119.771Zm.82.625v-.617c0-.454-.07-.844-.21-1.17a1.674 1.674 0 0 0-.602-.758c-.258-.176-.57-.265-.935-.265a1.65 1.65 0 0 0-.939.265c-.26.173-.47.437-.601.755-.14.326-.21.717-.21 1.173v.617c0 .45.07.84.21 1.17.14.326.34.577.601.753.263.174.576.26.94.26s.676-.086.935-.26c.261-.176.462-.427.601-.753.14-.33.21-.72.21-1.17ZM16 17.69v2.838a.38.38 0 0 1-.762 0v-4.003a.426.426 0 0 1 .797-.208l1.66 2.97a.02.02 0 0 0 .04-.01v-2.796a.383.383 0 1 1 .765 0v4.006a.422.422 0 0 1-.79.206l-1.661-2.974a.056.056 0 0 0-.049-.028Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.3 })), jf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 51 50", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.693 5.058c.498-.57 1.172-.891 1.875-.891h15.91c.351 0 .688.16.937.446l9.28 10.657c.249.285.388.672.388 1.076v24.36c0 .807-.279 1.581-.776 2.152-.498.571-1.172.892-1.875.892H13.568c-.703 0-1.377-.32-1.875-.892-.497-.57-.776-1.345-.776-2.153V7.212c0-.808.28-1.582.776-2.154Zm17.235 2.154h-15.36v33.493h23.864V16.977l-8.504-9.765Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.556 5a1.39 1.39 0 0 1 1.389 1.389v8.333h8.333a1.389 1.389 0 0 1 0 2.778h-9.722a1.389 1.389 0 0 1-1.39-1.389V6.39a1.39 1.39 0 0 1 1.39-1.389ZM22.46 25.151a1.326 1.326 0 0 0-1.875 1.875l3.04 3.04-3.04 3.04a1.326 1.326 0 0 0 1.875 1.875l3.04-3.04 3.04 3.04a1.326 1.326 0 0 0 1.875-1.875l-3.04-3.04 3.04-3.04a1.326 1.326 0 0 0-1.875-1.875l-3.04 3.04-3.04-3.04Z", fill: "currentColor" })), Hf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.4 2.933a.156.156 0 0 0-.155.156v10.844a.467.467 0 0 1-.934 0V3.09A1.089 1.089 0 0 1 6.401 2h7.474a.467.467 0 0 1 .322.137l4.355 4.355a.467.467 0 0 1 .137.33v7.111a.467.467 0 0 1-.933 0V7.29h-3.89a.467.467 0 0 1-.466-.467v-3.89h-7Zm7.933.66v2.763h2.763l-2.763-2.763Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.224 18.185v.628c0 .308-.04.565-.12.771-.067.19-.181.352-.328.465a.794.794 0 0 1-.48.152.8.8 0 0 1-.48-.152 1.026 1.026 0 0 1-.326-.465 2.159 2.159 0 0 1-.12-.77v-.629c0-.31.04-.566.12-.77.068-.19.181-.352.327-.466a.788.788 0 0 1 .48-.155c.18 0 .34.052.479.155.146.113.26.275.329.465.08.205.12.461.12.771Zm.82.625v-.617c0-.454-.07-.844-.21-1.17a1.674 1.674 0 0 0-.602-.758c-.258-.176-.57-.265-.935-.265-.363 0-.675.089-.939.265a1.65 1.65 0 0 0-.6.755c-.14.326-.21.717-.21 1.173v.616c0 .452.07.841.21 1.17.139.327.339.578.6.754.264.174.576.26.94.26s.676-.086.935-.26c.262-.176.462-.427.601-.753.14-.33.21-.72.21-1.17Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.22 16.056c.31-.206.671-.306 1.077-.306.406 0 .77.1 1.075.308.306.205.545.51.693.868.155.364.229.788.229 1.267v.616c0 .477-.075.901-.23 1.268v.001a1.923 1.923 0 0 1-.691.862c-.307.207-.67.304-1.076.304-.404 0-.766-.097-1.077-.303h-.001a1.923 1.923 0 0 1-.692-.863c-.156-.367-.23-.793-.23-1.268v-.617c0-.48.074-.905.23-1.27a1.9 1.9 0 0 1 .693-.866Zm1.077.194c-.32 0-.583.078-.8.223a1.403 1.403 0 0 0-.509.642l-.001.004c-.123.287-.19.642-.19 1.074v.616c0 .426.066.781.19 1.073.123.287.294.498.51.643.216.143.479.219.8.219.324 0 .586-.077.797-.219.216-.145.387-.355.51-.643.123-.292.19-.647.19-1.073v-.616c0-.429-.067-.784-.19-1.073v-.002a1.425 1.425 0 0 0-.511-.646h-.001c-.21-.144-.472-.222-.795-.222Zm-.33.898a.78.78 0 0 0-.242.35l-.002.007c-.065.167-.103.39-.103.68v.635c-.006.234.03.466.106.68a.78.78 0 0 0 .24.349c.102.07.215.104.325.102h.011a.55.55 0 0 0 .325-.102.768.768 0 0 0 .242-.349l.002-.006c.066-.168.103-.392.103-.68v-.629c0-.29-.037-.514-.102-.68l-.003-.007a.767.767 0 0 0-.244-.35.535.535 0 0 0-.329-.104h-.005a.537.537 0 0 0-.324.104Zm.332-.604a1.037 1.037 0 0 0-.63.203l-.007.005a1.276 1.276 0 0 0-.406.575 2.39 2.39 0 0 0-.136.858v.625a2.41 2.41 0 0 0 .134.857v.001c.083.23.223.433.408.578l.01.008c.185.13.4.2.624.197.224.004.44-.066.625-.198l.008-.006c.187-.144.328-.346.41-.576.093-.243.135-.532.135-.858v-.628a2.39 2.39 0 0 0-.135-.858 1.265 1.265 0 0 0-.41-.576l-.004-.003a1.034 1.034 0 0 0-.626-.204Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { d: "M17.06 21v-1h1.301a.5.5 0 0 1 .5.5v.5H17.06Zm-.699 0a.5.5 0 0 1-.5-.5v-3.9a.6.6 0 0 1 1.199 0V21h-.699Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.861 21v-.5a.5.5 0 0 0-.5-.5H17.06v-3.4a.6.6 0 0 0-1.199 0v3.9a.5.5 0 0 0 .5.5h2.5Zm-1.701-1.1v-3.3a.7.7 0 0 0-1.399 0v3.9a.6.6 0 0 0 .6.6h2.6v-.6a.6.6 0 0 0-.6-.6H17.16Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { d: "M6.468 17.532c0-.192.067-.316.163-.398.104-.09.286-.166.562-.166.332 0 .655.108.921.307a.484.484 0 0 0 .579-.776A2.516 2.516 0 0 0 7.195 16h-.001c-.45 0-.873.125-1.192.399-.328.28-.502.68-.502 1.133 0 .244.067.464.196.651.124.182.29.309.452.401.29.165.657.262.949.34l.053.013c.339.09.589.163.76.267.135.083.17.15.17.264 0 .25-.086.352-.19.419-.138.089-.372.145-.696.145a1.548 1.548 0 0 1-.92-.307.484.484 0 0 0-.58.776A2.52 2.52 0 0 0 7.192 21h.002c.402 0 .853-.064 1.218-.298.4-.256.636-.677.636-1.234 0-.532-.287-.878-.635-1.09-.31-.189-.699-.292-1.003-.373l-.012-.003c-.344-.091-.597-.16-.772-.26a.39.39 0 0 1-.132-.106c-.013-.018-.026-.045-.026-.104Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" })), Wf = (e) => /* @__PURE__ */ L.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.4 2.933a.156.156 0 0 0-.155.156v10.844a.467.467 0 0 1-.934 0V3.09A1.089 1.089 0 0 1 6.401 2h7.474a.467.467 0 0 1 .322.137l4.355 4.355a.467.467 0 0 1 .137.33v7.111a.467.467 0 0 1-.933 0V7.29h-3.89a.467.467 0 0 1-.466-.467v-3.89h-7Zm7.933.66v2.763h2.763l-2.763-2.763Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ L.createElement("path", { d: "M17.06 20h1.301a.5.5 0 0 1 .5.5v.5h-2.5a.5.5 0 0 1-.5-.5v-3.9a.6.6 0 0 1 1.199 0V20Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.861 21v-.5a.5.5 0 0 0-.5-.5H17.06v-3.4a.6.6 0 0 0-1.199 0v3.9a.5.5 0 0 0 .5.5h2.5Zm-1.701-1.1v-3.3a.7.7 0 0 0-1.399 0v3.9a.6.6 0 0 0 .6.6h2.6v-.6a.6.6 0 0 0-.6-.6H17.16Z", fill: "currentColor" }), /* @__PURE__ */ L.createElement("path", { d: "M11.18 15.85a.63.63 0 0 1 .63.63v3.131c0 .177.043.291.11.365a.378.378 0 0 0 .29.115c.135-.002.222-.044.282-.113l.002-.002c.067-.074.11-.188.11-.364V16.48a.63.63 0 0 1 1.26 0v3.288h-.007a1.44 1.44 0 0 1-.213.641l-.001.002a1.592 1.592 0 0 1-.592.543l-.002.001a1.74 1.74 0 0 1-.682.189v.006h-.313v-.006a1.788 1.788 0 0 1-.688-.188l-.003-.002a1.592 1.592 0 0 1-.592-.543v-.002a1.44 1.44 0 0 1-.214-.64h-.007v-3.29a.63.63 0 0 1 .63-.629Zm-3.894.435.397 1.229.484-1.3a.558.558 0 0 1 1.046.388l-.983 2.656v1.304a.588.588 0 1 1-1.177 0v-1.304l-.953-2.56a.628.628 0 1 1 1.186-.413Z", fill: "currentColor" })), $f = {
|
|
10183
10184
|
".json": /* @__PURE__ */ f(Mf, {}),
|
|
10184
10185
|
".sol": /* @__PURE__ */ f(Hf, {}),
|
|
10185
10186
|
".yul": /* @__PURE__ */ f(Wf, {})
|