@blockend/widget 1.0.31 → 1.0.33
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-B04uZfaa.js +2209 -0
- package/dist/Box-BWDJCGbI.js +55 -0
- package/dist/EstGas-QSPrdq3Y.js +12863 -0
- package/dist/Grow-37t11tle.js +1656 -0
- package/dist/InputComp-bKVjlcbT.js +106 -0
- package/dist/LoadRoute-C3vokLk0.js +126 -0
- package/dist/QuotesProgress-DlgLQ2zo.js +28 -0
- package/dist/SwapAsset-tD6wSJDD.js +64 -0
- package/dist/Tooltip-BqYgFn1F.js +572 -0
- package/dist/TxnButton-DefErcCE.js +207 -0
- package/dist/WidgetForm.module-QHJ0-m5f.js +9 -0
- package/dist/{add-B8AfyNIx.js → add-D32G_xKI.js} +3 -3
- package/dist/{all-wallets-BaLLU39i.js → all-wallets-LjjqiTnJ.js} +3 -3
- package/dist/{app-store-DNpoABj1.js → app-store-S7C23kTz.js} +3 -3
- package/dist/{apple-DzzHtaL4.js → apple-DMd4RArz.js} +3 -3
- package/dist/{arrow-bottom-D2c13c51.js → arrow-bottom-C0cVMl2n.js} +3 -3
- package/dist/{arrow-bottom-circle-ls9OCLx1.js → arrow-bottom-circle-veMvHYVR.js} +3 -3
- package/dist/{arrow-left-BI3rQkNI.js → arrow-left-B6VdOxSY.js} +3 -3
- package/dist/{arrow-right-rnMzhVod.js → arrow-right-CyrokJyU.js} +3 -3
- package/dist/{arrow-top-CfA6PVMz.js → arrow-top-S8qh5z92.js} +3 -3
- package/dist/{bank-CmpAmHgg.js → bank-B9ySjxm-.js} +3 -3
- package/dist/basic-BXha5sM_.js +5783 -0
- package/dist/{browser-mEcjgS1H.js → browser-CWmyZDF1.js} +3 -3
- package/dist/{card-DkgIWcMc.js → card-TzoSVbiE.js} +3 -3
- package/dist/ccip-B97isPV8.js +228 -0
- package/dist/{checkmark-B_A013n2.js → checkmark-Be4tNZY8.js} +3 -3
- package/dist/{checkmark-bold-DestuG2T.js → checkmark-bold-sAoooMoy.js} +3 -3
- package/dist/{chevron-bottom-Di3S86dj.js → chevron-bottom-Cdd52Yir.js} +3 -3
- package/dist/{chevron-left-A9Wj-3tj.js → chevron-left-Dp8rM2qD.js} +3 -3
- package/dist/{chevron-right-UFxJogOZ.js → chevron-right-kH3Pgt8h.js} +3 -3
- package/dist/{chevron-top-BbZs3eaC.js → chevron-top-lx-9iWm1.js} +3 -3
- package/dist/{chrome-store-B4F6hJmy.js → chrome-store-BGxPgdkC.js} +3 -3
- package/dist/{clock-BbAQ09uV.js → clock-B3r9UiFY.js} +3 -3
- package/dist/clockIcon-C2W5xvyt.js +76 -0
- package/dist/{close-CY3oZP_D.js → close-Cc6SJ0A9.js} +3 -3
- package/dist/{coinPlaceholder-DpfsobZT.js → coinPlaceholder-DqH2n2v1.js} +3 -3
- package/dist/{compass-CHS7RZFk.js → compass-CiKYczAi.js} +3 -3
- package/dist/{copy-CEd4nGhs.js → copy-DR0dlbF5.js} +3 -3
- package/dist/core-D9oRINim.js +14967 -0
- package/dist/{cursor-transparent-Tm6k6Ws4.js → cursor-transparent-BABlb938.js} +3 -3
- package/dist/cursor-vv-pXAzC.js +7 -0
- package/dist/{desktop-CrSyXZkL.js → desktop-aFWdAU4O.js} +3 -3
- package/dist/{disconnect-BooT10E1.js → disconnect-Cz0MwjuJ.js} +3 -3
- package/dist/{discord-B982Qaml.js → discord-BkNiORDh.js} +3 -3
- package/dist/down-BAe_uoMx.js +606 -0
- package/dist/{etherscan-CFL0IcNl.js → etherscan-4wT3rhj5.js} +3 -3
- package/dist/ethertousd-CC_ezooz.js +6 -0
- package/dist/{exclamation-triangle-BBeGXYgt.js → exclamation-triangle-CSv7sjYs.js} +3 -3
- package/dist/{extension-C5WqJw73.js → extension-B4acJb16.js} +3 -3
- package/dist/{external-link-CcSxVDcd.js → external-link-zFdRyGh8.js} +3 -3
- package/dist/{facebook-DF0v9ED8.js → facebook-D2h4REjy.js} +3 -3
- package/dist/{farcaster-Boq7M4VK.js → farcaster-acRwWMSn.js} +3 -3
- package/dist/{filters-DfeymbPx.js → filters-DE1yHCJy.js} +3 -3
- package/dist/getChainIds-B4BLdhKd.js +1888 -0
- package/dist/getCosmosAddress-BfMdDDaH.js +9565 -0
- package/dist/{github-DQ8FV4bD.js → github-BrCBPjDS.js} +3 -3
- package/dist/{google-Dm8FDDZR.js → google-DYC6Um96.js} +3 -3
- package/dist/hamburger-sg42nvNd.js +3915 -0
- package/dist/{help-circle-CbgiAebR.js → help-circle-CKvIeM4J.js} +3 -3
- package/dist/{id-CzqxUksI.js → id-FXzF1V3L.js} +3 -3
- package/dist/{image-CsCGTIN-.js → image-rOZMtN9o.js} +3 -3
- package/dist/index-B0E-rGOh.js +159 -0
- package/dist/index-B5gV3APh.js +992 -0
- package/dist/index-CDq3vNnP.js +22 -0
- package/dist/index-CIjTGwYH.js +9 -0
- package/dist/index-Cmj3dp3U.js +473 -0
- package/dist/index-DEovHqJS.js +3010 -0
- package/dist/index-DOcwHfd3.js +13583 -0
- package/dist/index-DSlXIHtr.js +28701 -0
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/index-PIAjHNgG.js +18613 -0
- package/dist/index-SiMIoFT9.js +331 -0
- package/dist/index-Y94UWILI.js +1460 -0
- package/dist/index-baetUfmH.js +252 -0
- package/dist/index.es-D6RvS0tB.js +366 -0
- package/dist/index.es-TLoHC_Sf.js +11678 -0
- package/dist/index.es.js +4 -4
- package/dist/{info-circle-Bt350Yzj.js → info-circle-BYfEprqC.js} +3 -3
- package/dist/{info-fKCfLW0k.js → info-dh7qmm_R.js} +3 -3
- package/dist/{lightbulb-BL9YBxiA.js → lightbulb-3S8w5B31.js} +3 -3
- package/dist/{mail-_g6CHQeQ.js → mail-DgcPoOPs.js} +3 -3
- package/dist/{mobile-B-EQ4IcH.js → mobile-C8egRR0V.js} +3 -3
- package/dist/{more-C3rpOdUy.js → more-CU_oPwwY.js} +3 -3
- package/dist/{network-placeholder-D9Ak7Xj_.js → network-placeholder-CqjaxlS7.js} +3 -3
- package/dist/{nftPlaceholder-CIIm2V_o.js → nftPlaceholder-D6mZlZmz.js} +3 -3
- package/dist/{off-DZjgI0eE.js → off-DHeUICx6.js} +3 -3
- package/dist/{play-store-DvRnagoF.js → play-store-DyGxjYv5.js} +3 -3
- package/dist/{plus-C2jN2huZ.js → plus-k4hEdLAH.js} +3 -3
- package/dist/{qr-code-B64HnZgi.js → qr-code-CkavLc0Z.js} +3 -3
- package/dist/{recycle-horizontal-CovcJGa_.js → recycle-horizontal-YzkyX2fY.js} +3 -3
- package/dist/{refresh-J1Vw6QMA.js → refresh-E1vpdqCO.js} +3 -3
- package/dist/{reown-logo-BsXoZ3KT.js → reown-logo-BZbc_-R6.js} +3 -3
- package/dist/{search-BC86wYXR.js → search-B9vQkIsQ.js} +3 -3
- package/dist/{send-BPA1bK5G.js → send-C9ROxhya.js} +3 -3
- package/dist/shareicon-CLveBf8l.js +262 -0
- package/dist/{sortDown-cDA6MpOw.js → sortDown-CjBaDQTU.js} +13 -13
- package/dist/{swapHorizontal-47_8ePle.js → swapHorizontal-BhLDDuiL.js} +3 -3
- package/dist/{swapHorizontalBold-CJ7TzeQP.js → swapHorizontalBold-B1IxJLem.js} +3 -3
- package/dist/{swapHorizontalMedium-CTACgUR9.js → swapHorizontalMedium--fvn_6KH.js} +3 -3
- package/dist/{swapHorizontalRoundedBold-Ht3_LABp.js → swapHorizontalRoundedBold-fZowAp5m.js} +3 -3
- package/dist/{swapVertical-DlS0V6DD.js → swapVertical-CDwndQ4s.js} +3 -3
- package/dist/{telegram-UZ00kvIE.js → telegram-BLbguJ3E.js} +3 -3
- package/dist/{three-dots-D9zVXr1j.js → three-dots-DyIG0Aiq.js} +3 -3
- package/dist/truncate-D9t92mVX.js +7 -0
- package/dist/{twitch-CP6rpz4m.js → twitch-054mPrps.js} +3 -3
- package/dist/{twitterIcon-Cm3I3FRU.js → twitterIcon-DrlgKmas.js} +3 -3
- package/dist/unsupportedProp-Dr6Tadlk.js +10 -0
- package/dist/useRegisterError-C52MuupC.js +9857 -0
- package/dist/validError-CDlJpg_f.js +6 -0
- package/dist/{verify-filled-CfgydKPa.js → verify-filled-Dw1_4VEj.js} +3 -3
- package/dist/{verify-DuUE85WT.js → verify-uz7q7EMX.js} +3 -3
- package/dist/w3m-modal-CJM8um8G.js +1471 -0
- package/dist/{wallet-BC2LSDlF.js → wallet-a9cCMI05.js} +3 -3
- package/dist/{wallet-placeholder-DugEJ7xM.js → wallet-placeholder-Cqiz2_rA.js} +3 -3
- package/dist/{walletconnect-wayCaYfk.js → walletconnect-96twp7MP.js} +7 -9
- package/dist/{warning-circle-Cy9YuvwU.js → warning-circle-C4mV6fIZ.js} +3 -3
- package/dist/{x-jggPFiy-.js → x-vRe7FHUS.js} +3 -3
- package/package.json +7 -19
- package/dist/AllRoutes-Bdi5ZW8W.js +0 -2604
- package/dist/Box-e4gA-y_H.js +0 -60
- package/dist/EstGas-C5ihS0Mw.js +0 -17108
- package/dist/Grow-B4K-I-E-.js +0 -2212
- package/dist/InputComp-C_UUZxNU.js +0 -114
- package/dist/LoadRoute-CnDhVKdh.js +0 -142
- package/dist/QuotesProgress-DxgPgPJE.js +0 -29
- package/dist/SwapAsset-CmmuxeQF.js +0 -65
- package/dist/Tooltip-D8YjOOKU.js +0 -718
- package/dist/TxnButton-CF-TLZrD.js +0 -302
- package/dist/WidgetForm.module-DhUUlwZP.js +0 -13
- package/dist/basic-Cx2xxgd9.js +0 -7109
- package/dist/ccip-BKpquA5i.js +0 -250
- package/dist/clockIcon-jSNFFrLy.js +0 -76
- package/dist/core-C-gr9X18.js +0 -17217
- package/dist/cursor-BTtIlTHP.js +0 -7
- package/dist/down-DDk8OoJG.js +0 -809
- package/dist/ethertousd-BOknTgU4.js +0 -7
- package/dist/getChainIds-6iugk2h0.js +0 -2431
- package/dist/getCosmosAddress-BgD5iV6f.js +0 -13998
- package/dist/hamburger-BYe_G11E.js +0 -4562
- package/dist/index-BAmjBHYR.js +0 -1087
- package/dist/index-BxHeZ9IF.js +0 -543
- package/dist/index-C7cb2O7r.js +0 -16078
- package/dist/index-CF9p4S_X.js +0 -11
- package/dist/index-C_vo1L7p.js +0 -24384
- package/dist/index-Ch7w83dW.js +0 -4217
- package/dist/index-Crhenmgw.js +0 -188
- package/dist/index-Cz5Dosd2.js +0 -412
- package/dist/index-D5OnT-__.js +0 -35858
- package/dist/index-DArR1lwi.js +0 -1759
- package/dist/index-hEJSpZe-.js +0 -308
- package/dist/index-m2O0cbD8.js +0 -1883
- package/dist/index-sLx4Edw4.js +0 -22
- package/dist/index.es-DIbGJsfa.js +0 -475
- package/dist/index.es-t6sHlseh.js +0 -12916
- package/dist/secp256k1-BkBK0mD5.js +0 -1681
- package/dist/shareicon-C88Wx-AM.js +0 -314
- package/dist/truncate-DSxFWEga.js +0 -7
- package/dist/unsupportedProp-DkeDzLfM.js +0 -14
- package/dist/useRegisterError-W_UfecIN.js +0 -19288
- package/dist/validError-rariWQ7G.js +0 -14
- package/dist/w3m-modal-Bl-DPlah.js +0 -1721
@@ -0,0 +1,252 @@
|
|
1
|
+
import { jsxs as b, jsx as r, Fragment as A } from "react/jsx-runtime";
|
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-QSPrdq3Y.js";
|
4
|
+
import { u as l, l as W } from "./index-DSlXIHtr.js";
|
5
|
+
import { i as D, C as Q, S as X } from "./useRegisterError-C52MuupC.js";
|
6
|
+
import { B as Y } from "./Box-BWDJCGbI.js";
|
7
|
+
function Z() {
|
8
|
+
var d, w, i, e, u, c, m, g, x, s, h, y, p, C;
|
9
|
+
const t = l((T) => T.persist), n = l((T) => T.configuration), { defaultCoin: a } = D;
|
10
|
+
let f = (i = (w = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : w.logoUrl) != null && i.length ? (u = (e = t == null ? void 0 : t.route) == null ? void 0 : e.providerDetails) == null ? void 0 : u.logoUrl : a;
|
11
|
+
return W.isEmpty(t.route) ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ b("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
|
12
|
+
/* @__PURE__ */ r(
|
13
|
+
"div",
|
14
|
+
{
|
15
|
+
style: {
|
16
|
+
boxShadow: n && n.customTheme && ((m = (c = n.customTheme) == null ? void 0 : c.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
|
17
|
+
},
|
18
|
+
className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
|
19
|
+
}
|
20
|
+
),
|
21
|
+
/* @__PURE__ */ b("div", { className: "bw-flex bw-relative bw-bg-background-container bw-z-10 bw-mx-auto bw-h-[41px] bw-w-[70%] bw-border-[0.5px] bw-border-border-primary bw-border-r-0 bw-border-l-0 bw-items-center bw-gap-x-1", children: [
|
22
|
+
" ",
|
23
|
+
/* @__PURE__ */ b("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-primary", children: [
|
24
|
+
/* @__PURE__ */ r("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
25
|
+
" ",
|
26
|
+
/* @__PURE__ */ r("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
|
27
|
+
((x = (g = t == null ? void 0 : t.route) == null ? void 0 : g.providerDetails) == null ? void 0 : x.name) || "",
|
28
|
+
": ",
|
29
|
+
(s = t == null ? void 0 : t.route) == null ? void 0 : s.protocolsUsed[0],
|
30
|
+
((y = (h = t == null ? void 0 : t.route) == null ? void 0 : h.protocolsUsed) == null ? void 0 : y.length) <= 1 ? "" : /* @__PURE__ */ b("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
31
|
+
`+${((C = (p = t == null ? void 0 : t.route) == null ? void 0 : p.protocolsUsed) == null ? void 0 : C.length) - 1}`,
|
32
|
+
" More"
|
33
|
+
] }),
|
34
|
+
" "
|
35
|
+
] }),
|
36
|
+
" "
|
37
|
+
] })
|
38
|
+
] });
|
39
|
+
}
|
40
|
+
let N;
|
41
|
+
function R() {
|
42
|
+
var u, c, m, g, x;
|
43
|
+
const t = l((s) => s.configuration), n = l((s) => s.persist), a = l((s) => s.setPersist), { isErrorMessage: f } = H(U), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - n.quoteStartTime) / 1e3);
|
44
|
+
let w = ((u = n == null ? void 0 : n.route) == null ? void 0 : u.deadline) || 60;
|
45
|
+
const [i, e] = E(w);
|
46
|
+
return v(() => {
|
47
|
+
d && e(w - d);
|
48
|
+
}, []), v(() => (N = setInterval(() => {
|
49
|
+
e((s) => {
|
50
|
+
var h;
|
51
|
+
return s <= 0 ? (clearInterval(N), a({
|
52
|
+
...(h = l.getState()) == null ? void 0 : h.persist,
|
53
|
+
isQuoteTimer: !1,
|
54
|
+
showAcceptQuote: !0,
|
55
|
+
quoteStartTime: (/* @__PURE__ */ new Date()).getTime()
|
56
|
+
}), 0) : s - 1;
|
57
|
+
});
|
58
|
+
}, 1e3), () => clearInterval(N)), []), v(() => {
|
59
|
+
(f || !n.isQuoteTimer) && clearInterval(N);
|
60
|
+
}, [f, n.isQuoteTimer]), !(n != null && n.hash) && n.quote === "enable" ? /* @__PURE__ */ b("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
|
61
|
+
/* @__PURE__ */ r("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ b("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
62
|
+
/* @__PURE__ */ r("stop", { offset: "1%", stopColor: (c = t == null ? void 0 : t.gradientStyle) != null && c.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
|
63
|
+
/* @__PURE__ */ r("stop", { offset: "90%", stopColor: (g = t == null ? void 0 : t.gradientStyle) != null && g.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
|
64
|
+
] }) }),
|
65
|
+
/* @__PURE__ */ b(
|
66
|
+
Y,
|
67
|
+
{
|
68
|
+
sx: {
|
69
|
+
position: "relative",
|
70
|
+
display: "inline-flex"
|
71
|
+
},
|
72
|
+
children: [
|
73
|
+
/* @__PURE__ */ r(
|
74
|
+
Q,
|
75
|
+
{
|
76
|
+
variant: "determinate",
|
77
|
+
sx: {
|
78
|
+
color: "var(--tw-border-primary)"
|
79
|
+
},
|
80
|
+
size: 20,
|
81
|
+
thickness: 2,
|
82
|
+
value: 100
|
83
|
+
}
|
84
|
+
),
|
85
|
+
/* @__PURE__ */ r(
|
86
|
+
Q,
|
87
|
+
{
|
88
|
+
variant: "determinate",
|
89
|
+
size: 20,
|
90
|
+
thickness: 5,
|
91
|
+
value: i / w * 100,
|
92
|
+
sx: {
|
93
|
+
"svg circle": { stroke: "url(#linearColors)" },
|
94
|
+
position: "absolute",
|
95
|
+
left: 0,
|
96
|
+
[`& .${X.circle}`]: {
|
97
|
+
strokeLinecap: "round"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
)
|
102
|
+
]
|
103
|
+
}
|
104
|
+
)
|
105
|
+
] }) : /* @__PURE__ */ r(A, {});
|
106
|
+
}
|
107
|
+
const ee = G.memo(function({
|
108
|
+
handleOpenExchange: t,
|
109
|
+
amount: n,
|
110
|
+
route: a,
|
111
|
+
resetAmount: f,
|
112
|
+
resetBalance: d,
|
113
|
+
setExchange: w
|
114
|
+
}) {
|
115
|
+
var k;
|
116
|
+
const i = l((o) => o.setPersist), e = l((o) => o.persist), u = l((o) => o.fromChain), c = l((o) => o.fromCoin), m = l((o) => o.toChain), g = l((o) => o.toCoin), [x, s] = E(!1), [h, y] = E(!1), [p, C] = E(!1), T = !e.stepData, { txnupdate: M } = D;
|
117
|
+
v(() => {
|
118
|
+
var o, j, z, F;
|
119
|
+
a != null && a.routeId && i({
|
120
|
+
...(o = l.getState()) == null ? void 0 : o.persist,
|
121
|
+
routeId: a == null ? void 0 : a.routeId,
|
122
|
+
route: a,
|
123
|
+
toChain: m,
|
124
|
+
toCoin: g,
|
125
|
+
fromChain: u,
|
126
|
+
fromCoin: c,
|
127
|
+
amount: n,
|
128
|
+
quote: "enable",
|
129
|
+
openAt: (/* @__PURE__ */ new Date()).getTime(),
|
130
|
+
startTime: ((F = (z = (j = l) == null ? void 0 : j.getState()) == null ? void 0 : z.persist) == null ? void 0 : F.startTime) || (/* @__PURE__ */ new Date()).getTime()
|
131
|
+
});
|
132
|
+
}, [a]);
|
133
|
+
function I(o) {
|
134
|
+
s(o);
|
135
|
+
}
|
136
|
+
function S() {
|
137
|
+
((e == null ? void 0 : e.openAt) + 60 * 60 * 1e3 - (/* @__PURE__ */ new Date()).getTime()) / 1e3 / 60 <= 0 && document.visibilityState === "visible" && (i({}), t(), f());
|
138
|
+
}
|
139
|
+
v(() => (e != null && e.openAt && window.addEventListener("visibilitychange", S), () => {
|
140
|
+
window.removeEventListener("visibilitychange", S);
|
141
|
+
}), [e == null ? void 0 : e.openAt]), v(() => (e != null && e.openAt && window.addEventListener("load", S), () => {
|
142
|
+
window.removeEventListener("load", S);
|
143
|
+
}), [e == null ? void 0 : e.openAt]);
|
144
|
+
function q(o) {
|
145
|
+
y(o);
|
146
|
+
}
|
147
|
+
function B(o) {
|
148
|
+
C(o);
|
149
|
+
}
|
150
|
+
function P() {
|
151
|
+
t(), i({}), h && d();
|
152
|
+
}
|
153
|
+
return /* @__PURE__ */ r($.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: q }, children: /* @__PURE__ */ r(U.Provider, { value: { isErrorMessage: p, handleErrorMessage: B }, children: /* @__PURE__ */ b("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
|
154
|
+
/* @__PURE__ */ r(O, { handleBack: P }),
|
155
|
+
/* @__PURE__ */ r("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ r(Z, {}) }),
|
156
|
+
e != null && e.isQuoteTimer ? /* @__PURE__ */ r(R, {}) : /* @__PURE__ */ r(A, {}),
|
157
|
+
/* @__PURE__ */ r("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
158
|
+
/* @__PURE__ */ b("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
|
159
|
+
/* @__PURE__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
160
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
161
|
+
/* @__PURE__ */ r(
|
162
|
+
L,
|
163
|
+
{
|
164
|
+
amount: e == null ? void 0 : e.amount,
|
165
|
+
coinData: e.fromCoin,
|
166
|
+
chainData: e.fromChain,
|
167
|
+
field: "from"
|
168
|
+
}
|
169
|
+
)
|
170
|
+
] }),
|
171
|
+
p ? /* @__PURE__ */ r(
|
172
|
+
"div",
|
173
|
+
{
|
174
|
+
className: "bw-border bw-mt-5 bw-w-[65px] bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-card bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ",
|
175
|
+
children: /* @__PURE__ */ r("img", { src: M, width: 33, height: 30, alt: "img" })
|
176
|
+
}
|
177
|
+
) : /* @__PURE__ */ r(
|
178
|
+
J,
|
179
|
+
{
|
180
|
+
isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x,
|
181
|
+
startTimer: I,
|
182
|
+
error: p
|
183
|
+
}
|
184
|
+
),
|
185
|
+
/* @__PURE__ */ r("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
|
186
|
+
/* @__PURE__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
187
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
|
188
|
+
/* @__PURE__ */ r(
|
189
|
+
L,
|
190
|
+
{
|
191
|
+
amount: Number(((k = e == null ? void 0 : e.route) == null ? void 0 : k.outputAmountDisplay) || ""),
|
192
|
+
coinData: e == null ? void 0 : e.toCoin,
|
193
|
+
chainData: e == null ? void 0 : e.toChain,
|
194
|
+
field: "to"
|
195
|
+
}
|
196
|
+
)
|
197
|
+
] })
|
198
|
+
] }),
|
199
|
+
/* @__PURE__ */ b("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
|
200
|
+
T ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ r(K, {}),
|
201
|
+
/* @__PURE__ */ r(
|
202
|
+
V,
|
203
|
+
{
|
204
|
+
handleOpenExchange: t,
|
205
|
+
setExchange: w,
|
206
|
+
amount: n,
|
207
|
+
startTimer: I,
|
208
|
+
handleBack: P,
|
209
|
+
isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x
|
210
|
+
}
|
211
|
+
)
|
212
|
+
] })
|
213
|
+
] }) }) });
|
214
|
+
});
|
215
|
+
function le({
|
216
|
+
handleConfirmClose: t,
|
217
|
+
routesData: n,
|
218
|
+
amount: a,
|
219
|
+
resetAmount: f,
|
220
|
+
resetBalance: d,
|
221
|
+
handleStopRoute: w
|
222
|
+
}) {
|
223
|
+
const i = _();
|
224
|
+
v(() => {
|
225
|
+
var c, m;
|
226
|
+
!i.current && Number(
|
227
|
+
((c = i == null ? void 0 : i.current) == null ? void 0 : c.minOutputAmount) || ((m = i == null ? void 0 : i.current) == null ? void 0 : m.outputAmountDisplay)
|
228
|
+
) !== Number((n == null ? void 0 : n.minOutputAmount) || (n == null ? void 0 : n.outputAmountDisplay)) && (i.current = n);
|
229
|
+
}, [n]), v(() => {
|
230
|
+
w(!0);
|
231
|
+
}, []);
|
232
|
+
function e() {
|
233
|
+
w(!1), t(!1);
|
234
|
+
}
|
235
|
+
function u() {
|
236
|
+
t(!1);
|
237
|
+
}
|
238
|
+
return /* @__PURE__ */ r(
|
239
|
+
ee,
|
240
|
+
{
|
241
|
+
handleOpenExchange: e,
|
242
|
+
amount: a,
|
243
|
+
route: n,
|
244
|
+
resetAmount: f,
|
245
|
+
resetBalance: d,
|
246
|
+
setExchange: u
|
247
|
+
}
|
248
|
+
);
|
249
|
+
}
|
250
|
+
export {
|
251
|
+
le as default
|
252
|
+
};
|
@@ -0,0 +1,366 @@
|
|
1
|
+
import { M as z } from "./useRegisterError-C52MuupC.js";
|
2
|
+
import G, { useEffect as C, useState as J, useRef as j } from "react";
|
3
|
+
function E(t, e) {
|
4
|
+
(e == null || e > t.length) && (e = t.length);
|
5
|
+
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
6
|
+
return n;
|
7
|
+
}
|
8
|
+
function Q(t) {
|
9
|
+
if (Array.isArray(t)) return t;
|
10
|
+
}
|
11
|
+
function Z(t, e, r) {
|
12
|
+
return (e = oe(e)) in t ? Object.defineProperty(t, e, {
|
13
|
+
value: r,
|
14
|
+
enumerable: !0,
|
15
|
+
configurable: !0,
|
16
|
+
writable: !0
|
17
|
+
}) : t[e] = r, t;
|
18
|
+
}
|
19
|
+
function ee(t, e) {
|
20
|
+
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
21
|
+
if (r != null) {
|
22
|
+
var n, c, f, i, b = [], d = !0, A = !1;
|
23
|
+
try {
|
24
|
+
if (f = (r = r.call(t)).next, e !== 0) for (; !(d = (n = f.call(r)).done) && (b.push(n.value), b.length !== e); d = !0) ;
|
25
|
+
} catch (g) {
|
26
|
+
A = !0, c = g;
|
27
|
+
} finally {
|
28
|
+
try {
|
29
|
+
if (!d && r.return != null && (i = r.return(), Object(i) !== i)) return;
|
30
|
+
} finally {
|
31
|
+
if (A) throw c;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
return b;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
function te() {
|
38
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
39
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
40
|
+
}
|
41
|
+
function x(t, e) {
|
42
|
+
var r = Object.keys(t);
|
43
|
+
if (Object.getOwnPropertySymbols) {
|
44
|
+
var n = Object.getOwnPropertySymbols(t);
|
45
|
+
e && (n = n.filter(function(c) {
|
46
|
+
return Object.getOwnPropertyDescriptor(t, c).enumerable;
|
47
|
+
})), r.push.apply(r, n);
|
48
|
+
}
|
49
|
+
return r;
|
50
|
+
}
|
51
|
+
function I(t) {
|
52
|
+
for (var e = 1; e < arguments.length; e++) {
|
53
|
+
var r = arguments[e] != null ? arguments[e] : {};
|
54
|
+
e % 2 ? x(Object(r), !0).forEach(function(n) {
|
55
|
+
Z(t, n, r[n]);
|
56
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : x(Object(r)).forEach(function(n) {
|
57
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
58
|
+
});
|
59
|
+
}
|
60
|
+
return t;
|
61
|
+
}
|
62
|
+
function M(t, e) {
|
63
|
+
if (t == null) return {};
|
64
|
+
var r, n, c = ne(t, e);
|
65
|
+
if (Object.getOwnPropertySymbols) {
|
66
|
+
var f = Object.getOwnPropertySymbols(t);
|
67
|
+
for (n = 0; n < f.length; n++) r = f[n], e.includes(r) || {}.propertyIsEnumerable.call(t, r) && (c[r] = t[r]);
|
68
|
+
}
|
69
|
+
return c;
|
70
|
+
}
|
71
|
+
function ne(t, e) {
|
72
|
+
if (t == null) return {};
|
73
|
+
var r = {};
|
74
|
+
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
75
|
+
if (e.includes(n)) continue;
|
76
|
+
r[n] = t[n];
|
77
|
+
}
|
78
|
+
return r;
|
79
|
+
}
|
80
|
+
function re(t, e) {
|
81
|
+
return Q(t) || ee(t, e) || ie(t, e) || te();
|
82
|
+
}
|
83
|
+
function ae(t, e) {
|
84
|
+
if (typeof t != "object" || !t) return t;
|
85
|
+
var r = t[Symbol.toPrimitive];
|
86
|
+
if (r !== void 0) {
|
87
|
+
var n = r.call(t, e);
|
88
|
+
if (typeof n != "object") return n;
|
89
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
90
|
+
}
|
91
|
+
return (e === "string" ? String : Number)(t);
|
92
|
+
}
|
93
|
+
function oe(t) {
|
94
|
+
var e = ae(t, "string");
|
95
|
+
return typeof e == "symbol" ? e : e + "";
|
96
|
+
}
|
97
|
+
function ie(t, e) {
|
98
|
+
if (t) {
|
99
|
+
if (typeof t == "string") return E(t, e);
|
100
|
+
var r = {}.toString.call(t).slice(8, -1);
|
101
|
+
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? E(t, e) : void 0;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], le = function(e, r) {
|
105
|
+
var n = e.animationData, c = e.loop, f = e.autoplay, i = e.initialSegment, b = e.onComplete, d = e.onLoopComplete, A = e.onEnterFrame, g = e.onSegmentStart, L = e.onConfigReady, _ = e.onDataReady, h = e.onDataFailed, u = e.onLoadedImages, w = e.onDOMLoaded, S = e.onDestroy;
|
106
|
+
e.lottieRef, e.renderer, e.name, e.assetsPath, e.rendererSettings;
|
107
|
+
var p = M(e, ue), D = J(!1), l = re(D, 2), O = l[0], R = l[1], o = j(), v = j(null), H = function() {
|
108
|
+
var a;
|
109
|
+
(a = o.current) === null || a === void 0 || a.play();
|
110
|
+
}, F = function() {
|
111
|
+
var a;
|
112
|
+
(a = o.current) === null || a === void 0 || a.stop();
|
113
|
+
}, V = function() {
|
114
|
+
var a;
|
115
|
+
(a = o.current) === null || a === void 0 || a.pause();
|
116
|
+
}, N = function(a) {
|
117
|
+
var s;
|
118
|
+
(s = o.current) === null || s === void 0 || s.setSpeed(a);
|
119
|
+
}, $ = function(a, s) {
|
120
|
+
var m;
|
121
|
+
(m = o.current) === null || m === void 0 || m.goToAndPlay(a, s);
|
122
|
+
}, k = function(a, s) {
|
123
|
+
var m;
|
124
|
+
(m = o.current) === null || m === void 0 || m.goToAndStop(a, s);
|
125
|
+
}, B = function(a) {
|
126
|
+
var s;
|
127
|
+
(s = o.current) === null || s === void 0 || s.setDirection(a);
|
128
|
+
}, W = function(a, s) {
|
129
|
+
var m;
|
130
|
+
(m = o.current) === null || m === void 0 || m.playSegments(a, s);
|
131
|
+
}, K = function(a) {
|
132
|
+
var s;
|
133
|
+
(s = o.current) === null || s === void 0 || s.setSubframe(a);
|
134
|
+
}, U = function(a) {
|
135
|
+
var s;
|
136
|
+
return (s = o.current) === null || s === void 0 ? void 0 : s.getDuration(a);
|
137
|
+
}, X = function() {
|
138
|
+
var a;
|
139
|
+
(a = o.current) === null || a === void 0 || a.destroy(), o.current = void 0;
|
140
|
+
}, Y = function() {
|
141
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s;
|
142
|
+
if (v.current) {
|
143
|
+
(s = o.current) === null || s === void 0 || s.destroy();
|
144
|
+
var m = I(I(I({}, e), a), {}, {
|
145
|
+
container: v.current
|
146
|
+
});
|
147
|
+
return o.current = z.loadAnimation(m), R(!!o.current), function() {
|
148
|
+
var P;
|
149
|
+
(P = o.current) === null || P === void 0 || P.destroy(), o.current = void 0;
|
150
|
+
};
|
151
|
+
}
|
152
|
+
};
|
153
|
+
C(function() {
|
154
|
+
var y = Y();
|
155
|
+
return function() {
|
156
|
+
return y == null ? void 0 : y();
|
157
|
+
};
|
158
|
+
}, [n, c]), C(function() {
|
159
|
+
o.current && (o.current.autoplay = !!f);
|
160
|
+
}, [f]), C(function() {
|
161
|
+
if (o.current) {
|
162
|
+
if (!i) {
|
163
|
+
o.current.resetSegments(!0);
|
164
|
+
return;
|
165
|
+
}
|
166
|
+
!Array.isArray(i) || !i.length || ((o.current.currentRawFrame < i[0] || o.current.currentRawFrame > i[1]) && (o.current.currentRawFrame = i[0]), o.current.setSegment(i[0], i[1]));
|
167
|
+
}
|
168
|
+
}, [i]), C(function() {
|
169
|
+
var y = [{
|
170
|
+
name: "complete",
|
171
|
+
handler: b
|
172
|
+
}, {
|
173
|
+
name: "loopComplete",
|
174
|
+
handler: d
|
175
|
+
}, {
|
176
|
+
name: "enterFrame",
|
177
|
+
handler: A
|
178
|
+
}, {
|
179
|
+
name: "segmentStart",
|
180
|
+
handler: g
|
181
|
+
}, {
|
182
|
+
name: "config_ready",
|
183
|
+
handler: L
|
184
|
+
}, {
|
185
|
+
name: "data_ready",
|
186
|
+
handler: _
|
187
|
+
}, {
|
188
|
+
name: "data_failed",
|
189
|
+
handler: h
|
190
|
+
}, {
|
191
|
+
name: "loaded_images",
|
192
|
+
handler: u
|
193
|
+
}, {
|
194
|
+
name: "DOMLoaded",
|
195
|
+
handler: w
|
196
|
+
}, {
|
197
|
+
name: "destroy",
|
198
|
+
handler: S
|
199
|
+
}], a = y.filter(function(m) {
|
200
|
+
return m.handler != null;
|
201
|
+
});
|
202
|
+
if (a.length) {
|
203
|
+
var s = a.map(
|
204
|
+
/**
|
205
|
+
* Handle the process of adding an event listener
|
206
|
+
* @param {Listener} listener
|
207
|
+
* @return {Function} Function that deregister the listener
|
208
|
+
*/
|
209
|
+
function(m) {
|
210
|
+
var P;
|
211
|
+
return (P = o.current) === null || P === void 0 || P.addEventListener(m.name, m.handler), function() {
|
212
|
+
var T;
|
213
|
+
(T = o.current) === null || T === void 0 || T.removeEventListener(m.name, m.handler);
|
214
|
+
};
|
215
|
+
}
|
216
|
+
);
|
217
|
+
return function() {
|
218
|
+
s.forEach(function(m) {
|
219
|
+
return m();
|
220
|
+
});
|
221
|
+
};
|
222
|
+
}
|
223
|
+
}, [b, d, A, g, L, _, h, u, w, S]);
|
224
|
+
var q = /* @__PURE__ */ G.createElement("div", I({
|
225
|
+
style: r,
|
226
|
+
ref: v
|
227
|
+
}, p));
|
228
|
+
return {
|
229
|
+
View: q,
|
230
|
+
play: H,
|
231
|
+
stop: F,
|
232
|
+
pause: V,
|
233
|
+
setSpeed: N,
|
234
|
+
goToAndStop: k,
|
235
|
+
goToAndPlay: $,
|
236
|
+
setDirection: B,
|
237
|
+
playSegments: W,
|
238
|
+
setSubframe: K,
|
239
|
+
getDuration: U,
|
240
|
+
destroy: X,
|
241
|
+
animationContainerRef: v,
|
242
|
+
animationLoaded: O,
|
243
|
+
animationItem: o.current
|
244
|
+
};
|
245
|
+
};
|
246
|
+
function se(t) {
|
247
|
+
var e = t.getBoundingClientRect(), r = e.top, n = e.height, c = window.innerHeight - r, f = window.innerHeight + n;
|
248
|
+
return c / f;
|
249
|
+
}
|
250
|
+
function de(t, e, r) {
|
251
|
+
var n = t.getBoundingClientRect(), c = n.top, f = n.left, i = n.width, b = n.height, d = (e - f) / i, A = (r - c) / b;
|
252
|
+
return {
|
253
|
+
x: d,
|
254
|
+
y: A
|
255
|
+
};
|
256
|
+
}
|
257
|
+
var ce = function(e) {
|
258
|
+
var r = e.wrapperRef, n = e.animationItem, c = e.mode, f = e.actions;
|
259
|
+
C(function() {
|
260
|
+
var i = r.current;
|
261
|
+
if (!(!i || !n || !f.length)) {
|
262
|
+
n.stop();
|
263
|
+
var b = function() {
|
264
|
+
var g = null, L = function() {
|
265
|
+
var h = se(i), u = f.find(function(S) {
|
266
|
+
var p = S.visibility;
|
267
|
+
return p && h >= p[0] && h <= p[1];
|
268
|
+
});
|
269
|
+
if (u) {
|
270
|
+
if (u.type === "seek" && u.visibility && u.frames.length === 2) {
|
271
|
+
var w = u.frames[0] + Math.ceil((h - u.visibility[0]) / (u.visibility[1] - u.visibility[0]) * u.frames[1]);
|
272
|
+
n.goToAndStop(w - n.firstFrame - 1, !0);
|
273
|
+
}
|
274
|
+
u.type === "loop" && (g === null || g !== u.frames || n.isPaused) && (n.playSegments(u.frames, !0), g = u.frames), u.type === "play" && n.isPaused && (n.resetSegments(!0), n.play()), u.type === "stop" && n.goToAndStop(u.frames[0] - n.firstFrame - 1, !0);
|
275
|
+
}
|
276
|
+
};
|
277
|
+
return document.addEventListener("scroll", L), function() {
|
278
|
+
document.removeEventListener("scroll", L);
|
279
|
+
};
|
280
|
+
}, d = function() {
|
281
|
+
var g = function(u, w) {
|
282
|
+
var S = u, p = w;
|
283
|
+
if (S !== -1 && p !== -1) {
|
284
|
+
var D = de(i, S, p);
|
285
|
+
S = D.x, p = D.y;
|
286
|
+
}
|
287
|
+
var l = f.find(function(o) {
|
288
|
+
var v = o.position;
|
289
|
+
return v && Array.isArray(v.x) && Array.isArray(v.y) ? S >= v.x[0] && S <= v.x[1] && p >= v.y[0] && p <= v.y[1] : v && !Number.isNaN(v.x) && !Number.isNaN(v.y) ? S === v.x && p === v.y : !1;
|
290
|
+
});
|
291
|
+
if (l) {
|
292
|
+
if (l.type === "seek" && l.position && Array.isArray(l.position.x) && Array.isArray(l.position.y) && l.frames.length === 2) {
|
293
|
+
var O = (S - l.position.x[0]) / (l.position.x[1] - l.position.x[0]), R = (p - l.position.y[0]) / (l.position.y[1] - l.position.y[0]);
|
294
|
+
n.playSegments(l.frames, !0), n.goToAndStop(Math.ceil((O + R) / 2 * (l.frames[1] - l.frames[0])), !0);
|
295
|
+
}
|
296
|
+
l.type === "loop" && n.playSegments(l.frames, !0), l.type === "play" && (n.isPaused && n.resetSegments(!1), n.playSegments(l.frames)), l.type === "stop" && n.goToAndStop(l.frames[0], !0);
|
297
|
+
}
|
298
|
+
}, L = function(u) {
|
299
|
+
g(u.clientX, u.clientY);
|
300
|
+
}, _ = function() {
|
301
|
+
g(-1, -1);
|
302
|
+
};
|
303
|
+
return i.addEventListener("mousemove", L), i.addEventListener("mouseout", _), function() {
|
304
|
+
i.removeEventListener("mousemove", L), i.removeEventListener("mouseout", _);
|
305
|
+
};
|
306
|
+
};
|
307
|
+
switch (c) {
|
308
|
+
case "scroll":
|
309
|
+
return b();
|
310
|
+
case "cursor":
|
311
|
+
return d();
|
312
|
+
}
|
313
|
+
}
|
314
|
+
}, [c, n]);
|
315
|
+
}, me = function(e) {
|
316
|
+
var r = e.actions, n = e.mode, c = e.lottieObj, f = c.animationItem, i = c.View, b = c.animationContainerRef;
|
317
|
+
return ce({
|
318
|
+
actions: r,
|
319
|
+
animationItem: f,
|
320
|
+
mode: n,
|
321
|
+
wrapperRef: b
|
322
|
+
}), i;
|
323
|
+
}, fe = ["style", "interactivity"], ge = function(e) {
|
324
|
+
var r, n, c, f = e.style, i = e.interactivity, b = M(e, fe), d = le(b, f), A = d.View, g = d.play, L = d.stop, _ = d.pause, h = d.setSpeed, u = d.goToAndStop, w = d.goToAndPlay, S = d.setDirection, p = d.playSegments, D = d.setSubframe, l = d.getDuration, O = d.destroy, R = d.animationContainerRef, o = d.animationLoaded, v = d.animationItem;
|
325
|
+
return C(function() {
|
326
|
+
e.lottieRef && (e.lottieRef.current = {
|
327
|
+
play: g,
|
328
|
+
stop: L,
|
329
|
+
pause: _,
|
330
|
+
setSpeed: h,
|
331
|
+
goToAndPlay: w,
|
332
|
+
goToAndStop: u,
|
333
|
+
setDirection: S,
|
334
|
+
playSegments: p,
|
335
|
+
setSubframe: D,
|
336
|
+
getDuration: l,
|
337
|
+
destroy: O,
|
338
|
+
animationContainerRef: R,
|
339
|
+
animationLoaded: o,
|
340
|
+
animationItem: v
|
341
|
+
});
|
342
|
+
}, [(r = e.lottieRef) === null || r === void 0 ? void 0 : r.current]), me({
|
343
|
+
lottieObj: {
|
344
|
+
View: A,
|
345
|
+
play: g,
|
346
|
+
stop: L,
|
347
|
+
pause: _,
|
348
|
+
setSpeed: h,
|
349
|
+
goToAndStop: u,
|
350
|
+
goToAndPlay: w,
|
351
|
+
setDirection: S,
|
352
|
+
playSegments: p,
|
353
|
+
setSubframe: D,
|
354
|
+
getDuration: l,
|
355
|
+
destroy: O,
|
356
|
+
animationContainerRef: R,
|
357
|
+
animationLoaded: o,
|
358
|
+
animationItem: v
|
359
|
+
},
|
360
|
+
actions: (n = i == null ? void 0 : i.actions) !== null && n !== void 0 ? n : [],
|
361
|
+
mode: (c = i == null ? void 0 : i.mode) !== null && c !== void 0 ? c : "scroll"
|
362
|
+
});
|
363
|
+
};
|
364
|
+
export {
|
365
|
+
ge as L
|
366
|
+
};
|