@blockend/widget 1.0.32 → 1.0.34
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/{AllRoutes-CPwuTwqd.js → AllRoutes-DW-2t6-d.js} +25 -25
- package/dist/{Box-CIChapvH.js → Box-C4X6PUtu.js} +21 -22
- package/dist/{EstGas-CEFILtyf.js → EstGas-Lj2vKAmO.js} +26 -30
- package/dist/{Grow-DJZj9zjv.js → Grow-CCS_DglL.js} +78 -78
- package/dist/{InputComp-DqF1JGIu.js → InputComp-FIX0Q9qG.js} +13 -14
- package/dist/{LoadRoute-r3sHTYXM.js → LoadRoute-Di4rBHfs.js} +6 -7
- package/dist/{QuotesProgress-BXVLxZ8U.js → QuotesProgress-CDe2mdH1.js} +1 -1
- package/dist/{SwapAsset-07WvVwl-.js → SwapAsset-B0GIHqge.js} +1 -1
- package/dist/{Tooltip-CNAsCF8n.js → Tooltip-CsLgOKrX.js} +62 -62
- package/dist/{TxnButton-D2TTkFYA.js → TxnButton-CFquc6ws.js} +19 -19
- package/dist/{add-t2GqC9VA.js → add-Cb5Hpxtd.js} +1 -1
- package/dist/{all-wallets-DFyf0q31.js → all-wallets-IvJFyonp.js} +1 -1
- package/dist/{app-store-aAahwmBP.js → app-store-DGHaTAGg.js} +1 -1
- package/dist/{apple-DeRgpwlc.js → apple-BzfrhDcG.js} +1 -1
- package/dist/{arrow-bottom-DdEOkaAj.js → arrow-bottom-BTM5yMbs.js} +1 -1
- package/dist/{arrow-bottom-circle-BWwREWcv.js → arrow-bottom-circle-wJZrQ1UB.js} +1 -1
- package/dist/{arrow-left-CulyLmoH.js → arrow-left-yb9jvZLF.js} +1 -1
- package/dist/{arrow-right-Dwr7TISn.js → arrow-right-CNq-seAV.js} +1 -1
- package/dist/{arrow-top-pL4rM_y8.js → arrow-top-viS3mMCD.js} +1 -1
- package/dist/{bank-CPuyK_08.js → bank-BCcggibH.js} +1 -1
- package/dist/{basic-CVc9xEvb.js → basic-DaTq2wkc.js} +3 -3
- package/dist/{browser-Cbq2Zbp4.js → browser-CmA0GPLB.js} +1 -1
- package/dist/{card-B_hUtPWK.js → card-BO4I6Psi.js} +1 -1
- package/dist/{ccip-BLVGcR4A.js → ccip-CkXLKCYn.js} +20 -20
- package/dist/{checkmark-WEqTsFAc.js → checkmark-DF8VoFaX.js} +1 -1
- package/dist/{checkmark-bold-Du_ZvhqM.js → checkmark-bold-C6OPR-mV.js} +1 -1
- package/dist/{chevron-bottom-C-s-lv4L.js → chevron-bottom-BTjaTIFm.js} +1 -1
- package/dist/{chevron-left-C7NcRElx.js → chevron-left-D6wphcsV.js} +1 -1
- package/dist/{chevron-right-CSzmAmdn.js → chevron-right-Ba05aF4G.js} +1 -1
- package/dist/{chevron-top-Dd99Wfel.js → chevron-top-I_q0NhsC.js} +1 -1
- package/dist/{chrome-store-C4p77Of0.js → chrome-store-DvzERGX1.js} +1 -1
- package/dist/{clock-Cib24qjH.js → clock-GIv_XdGS.js} +1 -1
- package/dist/{close-BXjEkTvS.js → close-ChDp2HIX.js} +1 -1
- package/dist/{coinPlaceholder-BFNC7cQN.js → coinPlaceholder-D6rBGR5B.js} +1 -1
- package/dist/{compass-CXPX5Ycp.js → compass-DFCkTDdC.js} +1 -1
- package/dist/{copy-BEawMbmF.js → copy-DyQCksHx.js} +1 -1
- package/dist/{core-Bez9Ow7F.js → core-BnRPnZUj.js} +3 -3
- package/dist/{cursor-Cxq4Q9jk.js → cursor-BhR8wfWc.js} +1 -1
- package/dist/{cursor-transparent-ZjJ0P2vr.js → cursor-transparent-CYfTh9TG.js} +1 -1
- package/dist/{desktop-BhZVovAp.js → desktop-CdNR2WGz.js} +1 -1
- package/dist/{disconnect-AC-bffZO.js → disconnect-Bbfhuf4x.js} +1 -1
- package/dist/{discord-dT97h-CC.js → discord-04uw628s.js} +1 -1
- package/dist/{down-DP56YSKp.js → down-DmSxEW66.js} +2 -2
- package/dist/{etherscan-rYFRhRTM.js → etherscan-D7Ga60vG.js} +1 -1
- package/dist/{exclamation-triangle-C-pCuC08.js → exclamation-triangle-CMEJoc37.js} +1 -1
- package/dist/{extension-BnqauLSn.js → extension-C0IOh4C8.js} +1 -1
- package/dist/{external-link-M9D6e_F3.js → external-link-CEy2KY-H.js} +1 -1
- package/dist/{facebook-DHezcoD-.js → facebook-XHE6-OiD.js} +1 -1
- package/dist/{farcaster-D0Ky-Imv.js → farcaster-BVsAZpup.js} +1 -1
- package/dist/{filters-B02NYLWq.js → filters-BjuqhDXY.js} +1 -1
- package/dist/{getChainIds-CJd2TZYT.js → getChainIds-cRV7v4Vu.js} +75 -75
- package/dist/{getCosmosAddress-DTZfw04G.js → getCosmosAddress-Cm0YEa9v.js} +2 -2
- package/dist/{github-BzQkIMuE.js → github-C5YGtlqc.js} +1 -1
- package/dist/{google-BpwCJ4Fs.js → google-DFDexaN0.js} +1 -1
- package/dist/{hamburger-BzqwkUjE.js → hamburger-CZPNB-Jp.js} +20 -20
- package/dist/{help-circle-C0nOySHC.js → help-circle-C2OFxIs0.js} +1 -1
- package/dist/{id-DFP_kFd4.js → id-CforGy9u.js} +1 -1
- package/dist/{image-QiYOAGjM.js → image-BLq9nQ13.js} +1 -1
- package/dist/{index-D5hLIe-N.js → index-BRrWKwgI.js} +1 -1
- package/dist/{index-DDk00SOL.js → index-Bw4t164c.js} +45 -45
- package/dist/{index-DaJ1272l.js → index-ByWf22Y4.js} +43 -43
- package/dist/index-C6pDnqRd.js +30456 -0
- package/dist/{index-DXdD3L9f.js → index-Cx-XaRo6.js} +243 -243
- package/dist/{index-CrC4B7xn.js → index-D7-VO30b.js} +22 -23
- package/dist/{index-DxPp2gBS.js → index-DKPTk58K.js} +78 -78
- package/dist/{index-CjtwASJt.js → index-DrWi5MDR.js} +4 -4
- package/dist/{index-DW3W7zaF.js → index-EuXqE26M.js} +53 -54
- package/dist/{index-Dy_n2MPD.js → index-HOk_h4cO.js} +14 -14
- package/dist/{index-oc8HPfOF.js → index-sSdagBAC.js} +93 -93
- package/dist/{index.es-C-j-Ghef.js → index.es-B1r2oZcy.js} +2 -2
- package/dist/{index.es-Bsr7zP98.js → index.es-DP4lrxUS.js} +5 -5
- package/dist/index.es.js +1 -1
- package/dist/{info-BTLQJ-wd.js → info-CJ1NTOxH.js} +1 -1
- package/dist/{info-circle-Dla9169_.js → info-circle-Daj7vZoR.js} +1 -1
- package/dist/{lightbulb-PN8DA_Wh.js → lightbulb-BLkY2HTh.js} +1 -1
- package/dist/{mail-BGYZut_4.js → mail-CAKz4cbl.js} +1 -1
- package/dist/{mobile-BM760ZzX.js → mobile-BopKRCBe.js} +1 -1
- package/dist/{more-rHGnl2ck.js → more-X_2v_wZ3.js} +1 -1
- package/dist/{network-placeholder-CyQl-3_2.js → network-placeholder-C1OcyWkc.js} +1 -1
- package/dist/{nftPlaceholder-nuUJ8nKY.js → nftPlaceholder-B3ZKQ1U2.js} +1 -1
- package/dist/{off-GYlwYDrT.js → off-OZ4tqosO.js} +1 -1
- package/dist/{play-store-Ck01Ez1F.js → play-store-HsWGEr_g.js} +1 -1
- package/dist/{plus-CQfXWgLw.js → plus-C7yRM6wl.js} +1 -1
- package/dist/{qr-code-CyLVwLY7.js → qr-code-DfWVQYKi.js} +1 -1
- package/dist/{recycle-horizontal-DvnWPcEQ.js → recycle-horizontal-C5u6LBUM.js} +1 -1
- package/dist/{refresh-BOxj8b2n.js → refresh-BYw1HzOO.js} +1 -1
- package/dist/{reown-logo-D1iprOTg.js → reown-logo-CXMihtcp.js} +1 -1
- package/dist/{search-DrPaZPnc.js → search-ByiAQZVh.js} +1 -1
- package/dist/{send-ybBREe4b.js → send-Bs5FwLBZ.js} +1 -1
- package/dist/shareicon-CG3v7iKI.js +10 -0
- package/dist/{swapHorizontal-BddjZdXK.js → swapHorizontal-B7d_h2Se.js} +1 -1
- package/dist/{swapHorizontalBold-B6AWjPZ9.js → swapHorizontalBold-xBnEd6a1.js} +1 -1
- package/dist/{swapHorizontalMedium-CNacWoBn.js → swapHorizontalMedium-aLC75TbM.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-B8VcPnqt.js → swapHorizontalRoundedBold-D1ph5kGS.js} +1 -1
- package/dist/{swapVertical-zY2BbSyQ.js → swapVertical-DtfbArUn.js} +1 -1
- package/dist/{telegram-DS4l-8Oc.js → telegram-0Il36fMk.js} +1 -1
- package/dist/{three-dots-RctNqamK.js → three-dots-wNW622nV.js} +1 -1
- package/dist/{twitch-CJ0llIIH.js → twitch-Dt1-Wtif.js} +1 -1
- package/dist/{twitterIcon-pgvN9-bP.js → twitterIcon-CpSpHPYu.js} +1 -1
- package/dist/{unsupportedProp-BJVuEW_b.js → unsupportedProp-DBVCAgxp.js} +1 -1
- package/dist/{useRegisterError-C_YLA1dw.js → useRegisterError-Cs0PKbRQ.js} +3257 -4302
- package/dist/{verify-BeZLo1Fq.js → verify-BFIm6NMn.js} +1 -1
- package/dist/{verify-filled-meyb7E16.js → verify-filled-bGZT7egL.js} +1 -1
- package/dist/{w3m-modal-C-Jp9NVv.js → w3m-modal-C6VaThR4.js} +2 -2
- package/dist/{wallet-CFcOgSsz.js → wallet-BeQcPBdd.js} +1 -1
- package/dist/{wallet-placeholder-CeUMILZq.js → wallet-placeholder-CCGVvv4Q.js} +1 -1
- package/dist/{walletconnect-D6LB1PyC.js → walletconnect-BnSO61ut.js} +1 -1
- package/dist/{warning-circle-BRtzofvT.js → warning-circle-D80fIuKG.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-DKQAOOh3.js → x-4jy71myv.js} +1 -1
- package/package.json +7 -19
- package/dist/index-CLzkn733.js +0 -28223
- package/dist/secp256k1-DgmH1qVg.js +0 -1251
- package/dist/shareicon-D3Qj5j1T.js +0 -262
@@ -1,8 +1,7 @@
|
|
1
|
-
import { g as O,
|
1
|
+
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-C6pDnqRd.js";
|
2
2
|
import * as C from "react";
|
3
|
-
import { jsxs as
|
4
|
-
|
5
|
-
function H(r, i = 166) {
|
3
|
+
import { jsxs as F, jsx as x } from "react/jsx-runtime";
|
4
|
+
function Z(r, i = 166) {
|
6
5
|
let o;
|
7
6
|
function a(...s) {
|
8
7
|
const u = () => {
|
@@ -17,7 +16,7 @@ function H(r, i = 166) {
|
|
17
16
|
function V(r) {
|
18
17
|
return O("MuiSvgIcon", r);
|
19
18
|
}
|
20
|
-
|
19
|
+
Y("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
21
20
|
const D = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], U = (r) => {
|
22
21
|
const {
|
23
22
|
color: i,
|
@@ -26,8 +25,8 @@ const D = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
26
25
|
} = r, s = {
|
27
26
|
root: ["root", i !== "inherit" && `color${v(i)}`, `fontSize${v(o)}`]
|
28
27
|
};
|
29
|
-
return
|
30
|
-
}, B =
|
28
|
+
return b(s, V, a);
|
29
|
+
}, B = z("svg", {
|
31
30
|
name: "MuiSvgIcon",
|
32
31
|
slot: "Root",
|
33
32
|
overridesResolver: (r, i) => {
|
@@ -66,8 +65,8 @@ const D = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
66
65
|
inherit: void 0
|
67
66
|
}[i.color]
|
68
67
|
};
|
69
|
-
}),
|
70
|
-
const a =
|
68
|
+
}), h = /* @__PURE__ */ C.forwardRef(function(i, o) {
|
69
|
+
const a = M({
|
71
70
|
props: i,
|
72
71
|
name: "MuiSvgIcon"
|
73
72
|
}), {
|
@@ -80,7 +79,7 @@ const D = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
80
79
|
inheritViewBox: d = !1,
|
81
80
|
titleAccess: f,
|
82
81
|
viewBox: S = "0 0 24 24"
|
83
|
-
} = a, T =
|
82
|
+
} = a, T = w(a, D), l = /* @__PURE__ */ C.isValidElement(s) && s.type === "svg", e = P({}, a, {
|
84
83
|
color: p,
|
85
84
|
component: m,
|
86
85
|
fontSize: _,
|
@@ -91,9 +90,9 @@ const D = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
91
90
|
}), R = {};
|
92
91
|
d || (R.viewBox = S);
|
93
92
|
const N = U(e);
|
94
|
-
return /* @__PURE__ */
|
93
|
+
return /* @__PURE__ */ F(B, P({
|
95
94
|
as: m,
|
96
|
-
className:
|
95
|
+
className: L(N.root, u),
|
97
96
|
focusable: "false",
|
98
97
|
color: E,
|
99
98
|
"aria-hidden": f ? void 0 : !0,
|
@@ -106,7 +105,7 @@ const D = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
106
105
|
}) : null]
|
107
106
|
}));
|
108
107
|
});
|
109
|
-
|
108
|
+
g.env.NODE_ENV !== "production" && (h.propTypes = {
|
110
109
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
111
110
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
112
111
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
@@ -178,17 +177,17 @@ h.env.NODE_ENV !== "production" && (g.propTypes = {
|
|
178
177
|
*/
|
179
178
|
viewBox: c.string
|
180
179
|
});
|
181
|
-
|
182
|
-
function
|
180
|
+
h.muiName = "SvgIcon";
|
181
|
+
function H(r, i) {
|
183
182
|
function o(a, s) {
|
184
|
-
return /* @__PURE__ */ x(
|
183
|
+
return /* @__PURE__ */ x(h, P({
|
185
184
|
"data-testid": `${i}Icon`,
|
186
185
|
ref: s
|
187
186
|
}, a, {
|
188
187
|
children: r
|
189
188
|
}));
|
190
189
|
}
|
191
|
-
return
|
190
|
+
return g.env.NODE_ENV !== "production" && (o.displayName = `${i}Icon`), o.muiName = h.muiName, /* @__PURE__ */ C.memo(/* @__PURE__ */ C.forwardRef(o));
|
192
191
|
}
|
193
192
|
var y = { exports: {} }, t = {};
|
194
193
|
var $;
|
@@ -257,7 +256,7 @@ function q() {
|
|
257
256
|
}
|
258
257
|
var n = {}, A;
|
259
258
|
function W() {
|
260
|
-
return A || (A = 1,
|
259
|
+
return A || (A = 1, g.env.NODE_ENV !== "production" && function() {
|
261
260
|
function r(e) {
|
262
261
|
if (typeof e == "object" && e !== null) {
|
263
262
|
var R = e.$$typeof;
|
@@ -321,11 +320,11 @@ function W() {
|
|
321
320
|
}
|
322
321
|
var I;
|
323
322
|
function k() {
|
324
|
-
return I || (I = 1,
|
323
|
+
return I || (I = 1, g.env.NODE_ENV === "production" ? y.exports = /* @__PURE__ */ q() : y.exports = /* @__PURE__ */ W()), y.exports;
|
325
324
|
}
|
326
|
-
var
|
325
|
+
var J = /* @__PURE__ */ k();
|
327
326
|
export {
|
328
|
-
|
329
|
-
|
330
|
-
|
327
|
+
H as c,
|
328
|
+
Z as d,
|
329
|
+
J as r
|
331
330
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-
|
1
|
+
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-BnRPnZUj.js";
|
2
2
|
const w = {
|
3
3
|
getSpacingStyles(e, t) {
|
4
4
|
if (Array.isArray(e))
|
@@ -379,83 +379,83 @@ var R = function(e, t, i, a) {
|
|
379
379
|
return r > 3 && o && Object.defineProperty(t, i, o), o;
|
380
380
|
};
|
381
381
|
const E = {
|
382
|
-
add: async () => (await import("./add-
|
383
|
-
allWallets: async () => (await import("./all-wallets-
|
384
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
385
|
-
appStore: async () => (await import("./app-store-
|
386
|
-
apple: async () => (await import("./apple-
|
387
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
388
|
-
arrowLeft: async () => (await import("./arrow-left-
|
389
|
-
arrowRight: async () => (await import("./arrow-right-
|
390
|
-
arrowTop: async () => (await import("./arrow-top-
|
391
|
-
bank: async () => (await import("./bank-
|
392
|
-
browser: async () => (await import("./browser-
|
393
|
-
card: async () => (await import("./card-
|
394
|
-
checkmark: async () => (await import("./checkmark-
|
395
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
396
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
397
|
-
chevronLeft: async () => (await import("./chevron-left-
|
398
|
-
chevronRight: async () => (await import("./chevron-right-
|
399
|
-
chevronTop: async () => (await import("./chevron-top-
|
400
|
-
chromeStore: async () => (await import("./chrome-store-
|
401
|
-
clock: async () => (await import("./clock-
|
402
|
-
close: async () => (await import("./close-
|
403
|
-
compass: async () => (await import("./compass-
|
404
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
405
|
-
copy: async () => (await import("./copy-
|
406
|
-
cursor: async () => (await import("./cursor-
|
407
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
408
|
-
desktop: async () => (await import("./desktop-
|
409
|
-
disconnect: async () => (await import("./disconnect-
|
410
|
-
discord: async () => (await import("./discord-
|
411
|
-
etherscan: async () => (await import("./etherscan-
|
412
|
-
extension: async () => (await import("./extension-
|
413
|
-
externalLink: async () => (await import("./external-link-
|
414
|
-
facebook: async () => (await import("./facebook-
|
415
|
-
farcaster: async () => (await import("./farcaster-
|
416
|
-
filters: async () => (await import("./filters-
|
417
|
-
github: async () => (await import("./github-
|
418
|
-
google: async () => (await import("./google-
|
419
|
-
helpCircle: async () => (await import("./help-circle-
|
420
|
-
image: async () => (await import("./image-
|
421
|
-
id: async () => (await import("./id-
|
422
|
-
infoCircle: async () => (await import("./info-circle-
|
423
|
-
lightbulb: async () => (await import("./lightbulb-
|
424
|
-
mail: async () => (await import("./mail-
|
425
|
-
mobile: async () => (await import("./mobile-
|
426
|
-
more: async () => (await import("./more-
|
427
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
428
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
429
|
-
off: async () => (await import("./off-
|
430
|
-
playStore: async () => (await import("./play-store-
|
431
|
-
plus: async () => (await import("./plus-
|
432
|
-
qrCode: async () => (await import("./qr-code-
|
433
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
434
|
-
refresh: async () => (await import("./refresh-
|
435
|
-
search: async () => (await import("./search-
|
436
|
-
send: async () => (await import("./send-
|
437
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
438
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
439
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
440
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
441
|
-
swapVertical: async () => (await import("./swapVertical-
|
442
|
-
telegram: async () => (await import("./telegram-
|
443
|
-
threeDots: async () => (await import("./three-dots-
|
444
|
-
twitch: async () => (await import("./twitch-
|
445
|
-
twitter: async () => (await import("./x-
|
446
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
447
|
-
verify: async () => (await import("./verify-
|
448
|
-
verifyFilled: async () => (await import("./verify-filled-
|
449
|
-
wallet: async () => (await import("./wallet-
|
450
|
-
walletConnect: async () => (await import("./walletconnect-
|
451
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
452
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
453
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
454
|
-
warningCircle: async () => (await import("./warning-circle-
|
455
|
-
x: async () => (await import("./x-
|
456
|
-
info: async () => (await import("./info-
|
457
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
458
|
-
reown: async () => (await import("./reown-logo-
|
382
|
+
add: async () => (await import("./add-Cb5Hpxtd.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-IvJFyonp.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-wJZrQ1UB.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-DGHaTAGg.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-BzfrhDcG.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-BTM5yMbs.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-yb9jvZLF.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-CNq-seAV.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-viS3mMCD.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-BCcggibH.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-CmA0GPLB.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-BO4I6Psi.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-DF8VoFaX.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-C6OPR-mV.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-BTjaTIFm.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-D6wphcsV.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-Ba05aF4G.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-I_q0NhsC.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-DvzERGX1.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-GIv_XdGS.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-ChDp2HIX.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-DFCkTDdC.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-D6rBGR5B.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-DyQCksHx.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-BhR8wfWc.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-CYfTh9TG.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-CdNR2WGz.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-Bbfhuf4x.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-04uw628s.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-D7Ga60vG.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-C0IOh4C8.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-CEy2KY-H.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-XHE6-OiD.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-BVsAZpup.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-BjuqhDXY.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-C5YGtlqc.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-DFDexaN0.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-C2OFxIs0.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-BLq9nQ13.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-CforGy9u.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-Daj7vZoR.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-BLkY2HTh.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-CAKz4cbl.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-BopKRCBe.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-X_2v_wZ3.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-C1OcyWkc.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-B3ZKQ1U2.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-OZ4tqosO.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-HsWGEr_g.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-C7yRM6wl.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-DfWVQYKi.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-C5u6LBUM.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-BYw1HzOO.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-ByiAQZVh.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-Bs5FwLBZ.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-B7d_h2Se.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-aLC75TbM.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-xBnEd6a1.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-D1ph5kGS.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-DtfbArUn.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-0Il36fMk.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-wNW622nV.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-Dt1-Wtif.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-4jy71myv.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-CpSpHPYu.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-BFIm6NMn.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-bGZT7egL.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-BeQcPBdd.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-BnSO61ut.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-BnSO61ut.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-BnSO61ut.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-CCGVvv4Q.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-D80fIuKG.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-4jy71myv.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-CJ1NTOxH.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-CMEJoc37.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-CXMihtcp.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as b, jsx as r, Fragment as A } from "react/jsx-runtime";
|
2
2
|
import G, { useContext as H, useState as E, useEffect as v, useRef as _ } from "react";
|
3
|
-
import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-
|
4
|
-
import { u as l, l as W } from "./index-
|
5
|
-
import { i as D, C as Q,
|
6
|
-
import { B as Y } from "./Box-
|
3
|
+
import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-Lj2vKAmO.js";
|
4
|
+
import { u as l, l as W } from "./index-C6pDnqRd.js";
|
5
|
+
import { i as D, C as Q, A as X } from "./useRegisterError-Cs0PKbRQ.js";
|
6
|
+
import { B as Y } from "./Box-C4X6PUtu.js";
|
7
7
|
function Z() {
|
8
8
|
var d, w, i, e, u, c, m, g, x, s, h, y, p, C;
|
9
9
|
const t = l((T) => T.persist), n = l((T) => T.configuration), { defaultCoin: a } = D;
|
@@ -1,25 +1,24 @@
|
|
1
|
-
import {
|
1
|
+
import { b as G, g as U, p as P, x as H, i as q, _ as J, d as u, s as W, e as M, f as d, h as K, r as Q, j as m, P as i } from "./index-C6pDnqRd.js";
|
2
2
|
import * as v from "react";
|
3
|
-
import { g as q, d as J, s as W, c as M, a as K, r as Q } from "./useRegisterError-C_YLA1dw.js";
|
4
3
|
import { jsx as V, jsxs as X } from "react/jsx-runtime";
|
5
|
-
import { B as Y } from "./getChainIds-
|
4
|
+
import { B as Y } from "./getChainIds-cRV7v4Vu.js";
|
6
5
|
function Z(o) {
|
7
|
-
return
|
6
|
+
return U("MuiButton", o);
|
8
7
|
}
|
9
|
-
const O =
|
8
|
+
const O = G("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), _ = /* @__PURE__ */ v.createContext({});
|
10
9
|
P.env.NODE_ENV !== "production" && (_.displayName = "ButtonGroupContext");
|
11
10
|
const L = /* @__PURE__ */ v.createContext(void 0);
|
12
11
|
P.env.NODE_ENV !== "production" && (L.displayName = "ButtonGroupButtonContext");
|
13
12
|
const w = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"], oo = (o) => {
|
14
13
|
const {
|
15
14
|
color: n,
|
16
|
-
disableElevation:
|
15
|
+
disableElevation: r,
|
17
16
|
fullWidth: s,
|
18
17
|
size: l,
|
19
18
|
variant: t,
|
20
19
|
classes: e
|
21
20
|
} = o, a = {
|
22
|
-
root: ["root", t, `${t}${d(n)}`, `size${d(l)}`, `${t}Size${d(l)}`, `color${d(n)}`,
|
21
|
+
root: ["root", t, `${t}${d(n)}`, `size${d(l)}`, `${t}Size${d(l)}`, `color${d(n)}`, r && "disableElevation", s && "fullWidth"],
|
23
22
|
label: ["label"],
|
24
23
|
startIcon: ["icon", "startIcon", `iconSize${d(l)}`],
|
25
24
|
endIcon: ["icon", "endIcon", `iconSize${d(l)}`]
|
@@ -43,15 +42,15 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
43
42
|
slot: "Root",
|
44
43
|
overridesResolver: (o, n) => {
|
45
44
|
const {
|
46
|
-
ownerState:
|
45
|
+
ownerState: r
|
47
46
|
} = o;
|
48
|
-
return [n.root, n[
|
47
|
+
return [n.root, n[r.variant], n[`${r.variant}${d(r.color)}`], n[`size${d(r.size)}`], n[`${r.variant}Size${d(r.size)}`], r.color === "inherit" && n.colorInherit, r.disableElevation && n.disableElevation, r.fullWidth && n.fullWidth];
|
49
48
|
}
|
50
49
|
})(({
|
51
50
|
theme: o,
|
52
51
|
ownerState: n
|
53
52
|
}) => {
|
54
|
-
var
|
53
|
+
var r, s;
|
55
54
|
const l = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], t = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
|
56
55
|
return u({}, o.typography.button, {
|
57
56
|
minWidth: 64,
|
@@ -124,7 +123,7 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
124
123
|
color: o.vars ? (
|
125
124
|
// this is safe because grey does not change between default light/dark mode
|
126
125
|
o.vars.palette.text.primary
|
127
|
-
) : (
|
126
|
+
) : (r = (s = o.palette).getContrastText) == null ? void 0 : r.call(s, o.palette.grey[300]),
|
128
127
|
backgroundColor: o.vars ? o.vars.palette.Button.inheritContainedBg : l,
|
129
128
|
boxShadow: (o.vars || o).shadows[2]
|
130
129
|
}, n.variant === "contained" && n.color !== "inherit" && {
|
@@ -170,14 +169,14 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
170
169
|
[`&.${O.disabled}`]: {
|
171
170
|
boxShadow: "none"
|
172
171
|
}
|
173
|
-
}),
|
172
|
+
}), io = W("span", {
|
174
173
|
name: "MuiButton",
|
175
174
|
slot: "StartIcon",
|
176
175
|
overridesResolver: (o, n) => {
|
177
176
|
const {
|
178
|
-
ownerState:
|
177
|
+
ownerState: r
|
179
178
|
} = o;
|
180
|
-
return [n.startIcon, n[`iconSize${d(
|
179
|
+
return [n.startIcon, n[`iconSize${d(r.size)}`]];
|
181
180
|
}
|
182
181
|
})(({
|
183
182
|
ownerState: o
|
@@ -187,14 +186,14 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
187
186
|
marginLeft: -4
|
188
187
|
}, o.size === "small" && {
|
189
188
|
marginLeft: -2
|
190
|
-
}, j(o))),
|
189
|
+
}, j(o))), ro = W("span", {
|
191
190
|
name: "MuiButton",
|
192
191
|
slot: "EndIcon",
|
193
192
|
overridesResolver: (o, n) => {
|
194
193
|
const {
|
195
|
-
ownerState:
|
194
|
+
ownerState: r
|
196
195
|
} = o;
|
197
|
-
return [n.endIcon, n[`iconSize${d(
|
196
|
+
return [n.endIcon, n[`iconSize${d(r.size)}`]];
|
198
197
|
}
|
199
198
|
})(({
|
200
199
|
ownerState: o
|
@@ -204,8 +203,8 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
204
203
|
marginLeft: 8
|
205
204
|
}, o.size === "small" && {
|
206
205
|
marginRight: -2
|
207
|
-
}, j(o))), ao = /* @__PURE__ */ v.forwardRef(function(n,
|
208
|
-
const s = v.useContext(_), l = v.useContext(L), t =
|
206
|
+
}, j(o))), ao = /* @__PURE__ */ v.forwardRef(function(n, r) {
|
207
|
+
const s = v.useContext(_), l = v.useContext(L), t = H(s, n), e = q({
|
209
208
|
props: t,
|
210
209
|
name: "MuiButton"
|
211
210
|
}), {
|
@@ -223,7 +222,7 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
223
222
|
startIcon: p,
|
224
223
|
type: b,
|
225
224
|
variant: R = "text"
|
226
|
-
} = e, I =
|
225
|
+
} = e, I = J(e, w), E = u({}, e, {
|
227
226
|
color: c,
|
228
227
|
component: f,
|
229
228
|
disabled: x,
|
@@ -233,11 +232,11 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
233
232
|
size: B,
|
234
233
|
type: b,
|
235
234
|
variant: R
|
236
|
-
}), h = oo(E), A = p && /* @__PURE__ */ V(
|
235
|
+
}), h = oo(E), A = p && /* @__PURE__ */ V(io, {
|
237
236
|
className: h.startIcon,
|
238
237
|
ownerState: E,
|
239
238
|
children: p
|
240
|
-
}), D = z && /* @__PURE__ */ V(
|
239
|
+
}), D = z && /* @__PURE__ */ V(ro, {
|
241
240
|
className: h.endIcon,
|
242
241
|
ownerState: E,
|
243
242
|
children: z
|
@@ -249,7 +248,7 @@ const w = ["children", "color", "component", "className", "disabled", "disableEl
|
|
249
248
|
disabled: x,
|
250
249
|
focusRipple: !y,
|
251
250
|
focusVisibleClassName: M(h.focusVisible, $),
|
252
|
-
ref:
|
251
|
+
ref: r,
|
253
252
|
type: b
|
254
253
|
}, I, {
|
255
254
|
classes: h,
|
@@ -264,42 +263,42 @@ P.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
264
263
|
/**
|
265
264
|
* The content of the component.
|
266
265
|
*/
|
267
|
-
children:
|
266
|
+
children: i.node,
|
268
267
|
/**
|
269
268
|
* Override or extend the styles applied to the component.
|
270
269
|
*/
|
271
|
-
classes:
|
270
|
+
classes: i.object,
|
272
271
|
/**
|
273
272
|
* @ignore
|
274
273
|
*/
|
275
|
-
className:
|
274
|
+
className: i.string,
|
276
275
|
/**
|
277
276
|
* The color of the component.
|
278
277
|
* It supports both default and custom theme colors, which can be added as shown in the
|
279
278
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
280
279
|
* @default 'primary'
|
281
280
|
*/
|
282
|
-
color:
|
281
|
+
color: i.oneOfType([i.oneOf(["inherit", "primary", "secondary", "success", "error", "info", "warning"]), i.string]),
|
283
282
|
/**
|
284
283
|
* The component used for the root node.
|
285
284
|
* Either a string to use a HTML element or a component.
|
286
285
|
*/
|
287
|
-
component:
|
286
|
+
component: i.elementType,
|
288
287
|
/**
|
289
288
|
* If `true`, the component is disabled.
|
290
289
|
* @default false
|
291
290
|
*/
|
292
|
-
disabled:
|
291
|
+
disabled: i.bool,
|
293
292
|
/**
|
294
293
|
* If `true`, no elevation is used.
|
295
294
|
* @default false
|
296
295
|
*/
|
297
|
-
disableElevation:
|
296
|
+
disableElevation: i.bool,
|
298
297
|
/**
|
299
298
|
* If `true`, the keyboard focus ripple is disabled.
|
300
299
|
* @default false
|
301
300
|
*/
|
302
|
-
disableFocusRipple:
|
301
|
+
disableFocusRipple: i.bool,
|
303
302
|
/**
|
304
303
|
* If `true`, the ripple effect is disabled.
|
305
304
|
*
|
@@ -307,48 +306,48 @@ P.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
307
306
|
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
308
307
|
* @default false
|
309
308
|
*/
|
310
|
-
disableRipple:
|
309
|
+
disableRipple: i.bool,
|
311
310
|
/**
|
312
311
|
* Element placed after the children.
|
313
312
|
*/
|
314
|
-
endIcon:
|
313
|
+
endIcon: i.node,
|
315
314
|
/**
|
316
315
|
* @ignore
|
317
316
|
*/
|
318
|
-
focusVisibleClassName:
|
317
|
+
focusVisibleClassName: i.string,
|
319
318
|
/**
|
320
319
|
* If `true`, the button will take up the full width of its container.
|
321
320
|
* @default false
|
322
321
|
*/
|
323
|
-
fullWidth:
|
322
|
+
fullWidth: i.bool,
|
324
323
|
/**
|
325
324
|
* The URL to link to when the button is clicked.
|
326
325
|
* If defined, an `a` element will be used as the root node.
|
327
326
|
*/
|
328
|
-
href:
|
327
|
+
href: i.string,
|
329
328
|
/**
|
330
329
|
* The size of the component.
|
331
330
|
* `small` is equivalent to the dense button styling.
|
332
331
|
* @default 'medium'
|
333
332
|
*/
|
334
|
-
size:
|
333
|
+
size: i.oneOfType([i.oneOf(["small", "medium", "large"]), i.string]),
|
335
334
|
/**
|
336
335
|
* Element placed before the children.
|
337
336
|
*/
|
338
|
-
startIcon:
|
337
|
+
startIcon: i.node,
|
339
338
|
/**
|
340
339
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
341
340
|
*/
|
342
|
-
sx:
|
341
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
343
342
|
/**
|
344
343
|
* @ignore
|
345
344
|
*/
|
346
|
-
type:
|
345
|
+
type: i.oneOfType([i.oneOf(["button", "reset", "submit"]), i.string]),
|
347
346
|
/**
|
348
347
|
* The variant to use.
|
349
348
|
* @default 'text'
|
350
349
|
*/
|
351
|
-
variant:
|
350
|
+
variant: i.oneOfType([i.oneOf(["contained", "outlined", "text"]), i.string])
|
352
351
|
});
|
353
352
|
var S = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new WeakMap(), k = 0, to = void 0;
|
354
353
|
function eo(o) {
|
@@ -361,8 +360,8 @@ function so(o) {
|
|
361
360
|
}
|
362
361
|
function lo(o) {
|
363
362
|
const n = so(o);
|
364
|
-
let
|
365
|
-
if (!
|
363
|
+
let r = S.get(n);
|
364
|
+
if (!r) {
|
366
365
|
const s = /* @__PURE__ */ new Map();
|
367
366
|
let l;
|
368
367
|
const t = new IntersectionObserver((e) => {
|
@@ -374,21 +373,21 @@ function lo(o) {
|
|
374
373
|
});
|
375
374
|
});
|
376
375
|
}, o);
|
377
|
-
l = t.thresholds || (Array.isArray(o.threshold) ? o.threshold : [o.threshold || 0]),
|
376
|
+
l = t.thresholds || (Array.isArray(o.threshold) ? o.threshold : [o.threshold || 0]), r = {
|
378
377
|
id: n,
|
379
378
|
observer: t,
|
380
379
|
elements: s
|
381
|
-
}, S.set(n,
|
380
|
+
}, S.set(n, r);
|
382
381
|
}
|
383
|
-
return
|
382
|
+
return r;
|
384
383
|
}
|
385
|
-
function co(o, n,
|
384
|
+
function co(o, n, r = {}, s = to) {
|
386
385
|
if (typeof window.IntersectionObserver > "u" && s !== void 0) {
|
387
386
|
const c = o.getBoundingClientRect();
|
388
387
|
return n(s, {
|
389
388
|
isIntersecting: s,
|
390
389
|
target: o,
|
391
|
-
intersectionRatio: typeof
|
390
|
+
intersectionRatio: typeof r.threshold == "number" ? r.threshold : 0,
|
392
391
|
time: 0,
|
393
392
|
boundingClientRect: c,
|
394
393
|
intersectionRect: c,
|
@@ -396,15 +395,15 @@ function co(o, n, i = {}, s = to) {
|
|
396
395
|
}), () => {
|
397
396
|
};
|
398
397
|
}
|
399
|
-
const { id: l, observer: t, elements: e } = lo(
|
398
|
+
const { id: l, observer: t, elements: e } = lo(r), a = e.get(o) || [];
|
400
399
|
return e.has(o) || e.set(o, a), a.push(n), t.observe(o), function() {
|
401
400
|
a.splice(a.indexOf(n), 1), a.length === 0 && (e.delete(o), t.unobserve(o)), e.size === 0 && (t.disconnect(), S.delete(l));
|
402
401
|
};
|
403
402
|
}
|
404
|
-
function
|
403
|
+
function bo({
|
405
404
|
threshold: o,
|
406
405
|
delay: n,
|
407
|
-
trackVisibility:
|
406
|
+
trackVisibility: r,
|
408
407
|
rootMargin: s,
|
409
408
|
root: l,
|
410
409
|
triggerOnce: t,
|
@@ -435,7 +434,7 @@ function fo({
|
|
435
434
|
rootMargin: s,
|
436
435
|
threshold: o,
|
437
436
|
// @ts-ignore
|
438
|
-
trackVisibility:
|
437
|
+
trackVisibility: r,
|
439
438
|
// @ts-ignore
|
440
439
|
delay: n
|
441
440
|
},
|
@@ -454,7 +453,7 @@ function fo({
|
|
454
453
|
s,
|
455
454
|
t,
|
456
455
|
e,
|
457
|
-
|
456
|
+
r,
|
458
457
|
c,
|
459
458
|
n
|
460
459
|
]
|
@@ -469,5 +468,5 @@ function fo({
|
|
469
468
|
}
|
470
469
|
export {
|
471
470
|
ao as B,
|
472
|
-
|
471
|
+
bo as u
|
473
472
|
};
|