@blockend/widget 1.0.49-beta.3 → 1.0.49-beta.5
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-CMV2Aikv.js → AllRoutes-LD5p98zn.js} +9 -9
- package/dist/{Box-BLU3JkBD.js → Box-Cs3JEIFG.js} +6 -6
- package/dist/EstGas-H-UdwS1f.js +12659 -0
- package/dist/{Grow-BNGsloYF.js → Grow-BvHTdetx.js} +2 -2
- package/dist/{InputComp-My-aSA0q.js → InputComp-COwG8q-J.js} +3 -3
- package/dist/{LoadRoute-DEc0qJGB.js → LoadRoute-DsdVO6Oo.js} +4 -4
- package/dist/{QuotesProgress-DyCbRkmW.js → QuotesProgress-B8bDI4r6.js} +1 -1
- package/dist/{SwapAsset-VBFtcbjw.js → SwapAsset-Ddh66LWB.js} +1 -1
- package/dist/{Tooltip-DkFdda4P.js → Tooltip-hBxzXSU3.js} +3 -3
- package/dist/TxnButton-jGgemD8y.js +205 -0
- package/dist/{add-CIcwZ7BM.js → add-DGq3NqFo.js} +1 -1
- package/dist/{all-wallets-Bh1_cRVE.js → all-wallets-CzWn7-6X.js} +1 -1
- package/dist/{app-store-1QxQqMCa.js → app-store-BGFzY2oe.js} +1 -1
- package/dist/{apple-CtdqvHaM.js → apple-D5zFxCbx.js} +1 -1
- package/dist/{arrow-bottom-D-GL64pV.js → arrow-bottom-D25Ef730.js} +1 -1
- package/dist/{arrow-bottom-circle-BZZ6oS3I.js → arrow-bottom-circle-CskusJTk.js} +1 -1
- package/dist/{arrow-left-CtM73IFh.js → arrow-left-Bn-AuY99.js} +1 -1
- package/dist/{arrow-right-C_3it8wU.js → arrow-right-DJQCv_ak.js} +1 -1
- package/dist/{arrow-top-B_akssLE.js → arrow-top-Do8qEhLT.js} +1 -1
- package/dist/{bank-BAZaWTHP.js → bank-CBeLsi0M.js} +1 -1
- package/dist/{basic-BQ6VlY2V.js → basic-DLf5LiFg.js} +3 -3
- package/dist/{browser-D-m8U4qp.js → browser-DVamy-m2.js} +1 -1
- package/dist/{card-CZMLg_hs.js → card-tFF7X_nt.js} +1 -1
- package/dist/{ccip-Cr2zG-xI.js → ccip-C4idlAuS.js} +16 -16
- package/dist/{checkmark-Db5ONmjX.js → checkmark-DkVW1LY2.js} +1 -1
- package/dist/{checkmark-bold-CNdIOniu.js → checkmark-bold-BbQos6bO.js} +1 -1
- package/dist/{chevron-bottom-B4LZ07P4.js → chevron-bottom-DokKka1d.js} +1 -1
- package/dist/{chevron-left-BOiLmc3e.js → chevron-left-BPwuTnF_.js} +1 -1
- package/dist/{chevron-right-C8aUeQEC.js → chevron-right-Djdm9Vly.js} +1 -1
- package/dist/{chevron-top-DQnpWjJP.js → chevron-top-DviiO5xj.js} +1 -1
- package/dist/{chrome-store-B2Ctt_Iw.js → chrome-store-BFukaYHs.js} +1 -1
- package/dist/{clock-4Nkh4x1b.js → clock-gPhvJPEh.js} +1 -1
- package/dist/{close-CiK1EUke.js → close-CWK6JCCg.js} +1 -1
- package/dist/{coinPlaceholder-CcnyeBg0.js → coinPlaceholder-DuZ2QujM.js} +1 -1
- package/dist/{compass-C8XMPb-_.js → compass-DlrcJ8Hk.js} +1 -1
- package/dist/{copy-D-ZlELIO.js → copy-CNAncK5I.js} +1 -1
- package/dist/{core-CE7ZvgmO.js → core-BkrnmkI7.js} +17 -16
- package/dist/{cursor-RiCqhq_2.js → cursor-BknQSZIa.js} +1 -1
- package/dist/{cursor-transparent-Cpuw-bx1.js → cursor-transparent-D7K-weum.js} +1 -1
- package/dist/{desktop-BcnqlO6_.js → desktop-Dvki1QtU.js} +1 -1
- package/dist/{disconnect-BXI_7OV3.js → disconnect-QbJ6g-Q9.js} +1 -1
- package/dist/{discord-DZgQjBjt.js → discord-BtkOmfcK.js} +1 -1
- package/dist/{down-C8I1GmTa.js → down-DRC2u-nt.js} +2 -2
- package/dist/{etherscan-DHArh1Kg.js → etherscan-C4RKkVrP.js} +1 -1
- package/dist/{exclamation-triangle-Dp1k7Xyg.js → exclamation-triangle-CEoAdk7x.js} +1 -1
- package/dist/{extension-Dav7fjmZ.js → extension-DkOomXUg.js} +1 -1
- package/dist/{external-link-DWQsWqey.js → external-link-D9HfOXel.js} +1 -1
- package/dist/{facebook-xI7TIm3V.js → facebook-zQmBHowA.js} +1 -1
- package/dist/{farcaster-ByqbNlsO.js → farcaster-Cfy-sjqY.js} +1 -1
- package/dist/{filters-CPWYBjRc.js → filters-Cq1K6QWb.js} +1 -1
- package/dist/{getChainIds-DY_neilc.js → getChainIds-Btq6EjyX.js} +2 -2
- package/dist/getCosmosAddress-Bu-V7Ot0.js +9565 -0
- package/dist/{github-prZ8t34_.js → github-gNR-tm3O.js} +1 -1
- package/dist/{google-CcUsHax7.js → google-rmnuGsrL.js} +1 -1
- package/dist/{hamburger-BJOW28p-.js → hamburger-CEQO6OZs.js} +5 -5
- package/dist/{help-circle-XwyOApi8.js → help-circle-Cj4bjfia.js} +1 -1
- package/dist/{id-Ftjt1pHJ.js → id-nb5m-NKY.js} +1 -1
- package/dist/{image-D3UyCNRs.js → image-BlK2k80L.js} +1 -1
- package/dist/{index-V7wGfBWj.js → index-1OzJ9Z6-.js} +2192 -2170
- package/dist/{index-Cea3JIZ5.js → index-7R8NiD42.js} +1 -1
- package/dist/index-7iRnvPpN.js +159 -0
- package/dist/{index-DmHzoK8Z.js → index-CZQdiy7b.js} +2 -2
- package/dist/{index-B518UW03.js → index-CbycATvf.js} +78 -78
- package/dist/{index-vg6UIFZD.js → index-D0tb6mUR.js} +11 -11
- package/dist/index-D5aVEHZL.js +206 -0
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/index-Fv4UV6Sc.js +30707 -0
- package/dist/{index-BHDpDBXv.js → index-pieshoDv.js} +542 -507
- package/dist/{index-ME6WmREi.js → index-salSLcoU.js} +1 -1
- package/dist/{index-BykNQI23.js → index-vM1noC-w.js} +1320 -1194
- package/dist/{index.es-ng6OTpYR.js → index.es-CJ-ZznBF.js} +1712 -1625
- package/dist/{index.es-TqUYQAoH.js → index.es-Ce_QYzsk.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DBsGMB_O.js → info-6RBhKgcd.js} +1 -1
- package/dist/{info-circle-Bx2PIRGJ.js → info-circle-BlIbWe25.js} +1 -1
- package/dist/{lightbulb-KoBLmJby.js → lightbulb-CS3_wKY8.js} +1 -1
- package/dist/{mail-CZKrqpFU.js → mail-CRsD8jAA.js} +1 -1
- package/dist/{mobile-CN4pmWVU.js → mobile-DMLTKouh.js} +1 -1
- package/dist/{more-1brm4Q7X.js → more-uoTJ3kvy.js} +1 -1
- package/dist/{network-placeholder-CAlA46Kt.js → network-placeholder-D-XL3hqx.js} +1 -1
- package/dist/{nftPlaceholder-DHzDfy6E.js → nftPlaceholder-CiYWPSAY.js} +1 -1
- package/dist/{off-1usMfWM7.js → off-B79emGaW.js} +1 -1
- package/dist/{play-store-C_t-IwRL.js → play-store-B828L964.js} +1 -1
- package/dist/{plus-B5w-_zg6.js → plus-BRVCC9lV.js} +1 -1
- package/dist/{qr-code-DQh--5Nd.js → qr-code-qp9DeEO9.js} +1 -1
- package/dist/{recycle-horizontal-CBNgoZdm.js → recycle-horizontal-DoDvFScD.js} +1 -1
- package/dist/{refresh-gjkJ3fAS.js → refresh-BuegBzBd.js} +1 -1
- package/dist/{reown-logo-BmVLHjjQ.js → reown-logo-BrUAyTxC.js} +1 -1
- package/dist/{search-CuK6y19Q.js → search-CzpyG7ky.js} +1 -1
- package/dist/{send-CIaAYk7c.js → send-BHMxC1xj.js} +1 -1
- package/dist/{swapHorizontal-Dl8NLG_i.js → swapHorizontal-Bq8mR1QZ.js} +1 -1
- package/dist/{swapHorizontalBold-BnPyIFiA.js → swapHorizontalBold-2ueiC4L9.js} +1 -1
- package/dist/{swapHorizontalMedium-CEivQ8L0.js → swapHorizontalMedium-9jh3zunE.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-C9ACKZnM.js → swapHorizontalRoundedBold-BIk7kp2S.js} +1 -1
- package/dist/{swapVertical-ZEEyof9e.js → swapVertical-DM_T3EzD.js} +1 -1
- package/dist/{telegram-B3c-a3zh.js → telegram-CbeDajqU.js} +1 -1
- package/dist/{three-dots-DUit7LCw.js → three-dots-DUntIedp.js} +1 -1
- package/dist/{twitch-3MyiQW6J.js → twitch-DIXNVK7h.js} +1 -1
- package/dist/{twitterIcon-DrkQHEH8.js → twitterIcon-nHRKKmzg.js} +1 -1
- package/dist/{unsupportedProp-BXXskXK0.js → unsupportedProp-BAk0ueJt.js} +1 -1
- package/dist/{useRegisterError-D172QfL7.js → useRegisterError-tq4Tke9I.js} +150 -150
- package/dist/{verify-Ez0YdpbL.js → verify-CbyVHS7l.js} +1 -1
- package/dist/{verify-filled-Cof7FJLP.js → verify-filled-QZDBE0oP.js} +1 -1
- package/dist/{w3m-modal-D9qNteo9.js → w3m-modal-Bp3nI0EC.js} +2 -2
- package/dist/{wallet-D8n_ZZlC.js → wallet-DVjsV39Q.js} +1 -1
- package/dist/{wallet-placeholder-C7X2GW9S.js → wallet-placeholder-BgrGGLNk.js} +1 -1
- package/dist/{walletconnect-CKYpGIEb.js → walletconnect-zriuFVFg.js} +1 -1
- package/dist/{warning-circle-BcBltCn2.js → warning-circle-CpWwL8_f.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-BppUkwM-.js → x-DN0-dY3F.js} +1 -1
- package/package.json +4 -7
- package/dist/EstGas-ywgk-29s.js +0 -1486
- package/dist/TxnButton-DtS9Dw0R.js +0 -211
- package/dist/getCosmosAddress-_BeZxDkv.js +0 -6075
- package/dist/index-BaPgYkZ_.js +0 -42277
- package/dist/index-BtI5pdx-.js +0 -6711
- package/dist/index-klVp-SBb.js +0 -206
@@ -1,4 +1,4 @@
|
|
1
|
-
import { p as process$1, P as PropTypes, d as _extends, e as clsx, _ as _objectWithoutPropertiesLoose, z as useTheme$1, T as THEME_ID, A as defaultTheme, b as generateUtilityClasses, g as generateUtilityClass, i as useDefaultProps, s as styled, f as capitalize, h as composeClasses,
|
1
|
+
import { p as process$1, P as PropTypes, d as _extends, e as clsx, _ as _objectWithoutPropertiesLoose, z as useTheme$1, T as THEME_ID, A as defaultTheme, b as generateUtilityClasses, g as generateUtilityClass, i as useDefaultProps, s as styled, f as capitalize, h as composeClasses, ac as css, E as keyframes, u as useStore, a as useWallet, n as getDefaultExportFromCjs, c as controllers } from "./index-Fv4UV6Sc.js";
|
2
2
|
import * as React from "react";
|
3
3
|
import React__default from "react";
|
4
4
|
import * as ReactDOM from "react-dom";
|
@@ -903,7 +903,7 @@ function useWalletDetails({ chainData: e, show: t }) {
|
|
903
903
|
var N, j;
|
904
904
|
const { address: A, isConnected: r, chain: i } = useAccount(), { data: s } = useBalance({ address: A }), { disconnect: n, disconnectAsync: o } = useDisconnect();
|
905
905
|
let a = { address: A, data: s, disconnect: o, chain: i };
|
906
|
-
const f = useStore((
|
906
|
+
const f = useStore((S) => S.cosmosChainIds), v = useConnections(), D = useUserWallets(), {
|
907
907
|
data: h,
|
908
908
|
isConnected: B,
|
909
909
|
WalletType: C,
|
@@ -911,15 +911,15 @@ function useWalletDetails({ chainData: e, show: t }) {
|
|
911
911
|
} = useAccount$1({
|
912
912
|
chainId: f,
|
913
913
|
multiChain: !0
|
914
|
-
}), { disconnect: E } = useDisconnect$1(), g = useStore((
|
914
|
+
}), { disconnect: E } = useDisconnect$1(), g = useStore((S) => S.setCustomWallet), c = useStore((S) => S.customWallet), l = useStore((S) => S.toDisconnect), p = useStore((S) => S.fromChain), m = useStore((S) => S.toChain), { primaryWallet: P, handleLogOut: Q } = useDynamicContext(), I = useIsLoggedIn();
|
915
915
|
let b = {
|
916
916
|
address: (P == null ? void 0 : P.address) || "",
|
917
917
|
disconnect: Q,
|
918
918
|
chain: { network: "Solana" }
|
919
919
|
};
|
920
|
-
const { address:
|
921
|
-
let
|
922
|
-
address:
|
920
|
+
const { address: T, disconnect: F, connected: L } = useWallet();
|
921
|
+
let k = {
|
922
|
+
address: T || "",
|
923
923
|
disconnect: F,
|
924
924
|
chain: { network: "tron" }
|
925
925
|
}, z = {
|
@@ -938,7 +938,7 @@ function useWalletDetails({ chainData: e, show: t }) {
|
|
938
938
|
connected: I,
|
939
939
|
name: "Solana"
|
940
940
|
},
|
941
|
-
tron: { address:
|
941
|
+
tron: { address: T, connected: L, name: "Tron" },
|
942
942
|
cosmos: {
|
943
943
|
address: ((j = h == null ? void 0 : h[e == null ? void 0 : e.chainId]) == null ? void 0 : j.bech32Address) || "",
|
944
944
|
connected: B,
|
@@ -955,38 +955,38 @@ function useWalletDetails({ chainData: e, show: t }) {
|
|
955
955
|
return (e == null ? void 0 : e.networkType) === "evm" && A && (A == null ? void 0 : A.length) || // && isConnected
|
956
956
|
(e == null ? void 0 : e.networkType) === "sol" && I && P !== null || (e == null ? void 0 : e.networkType) === "cosmos" && B || (e == null ? void 0 : e.networkType) === "tron" && L || t === "to" && (c == null ? void 0 : c.length) > 30;
|
957
957
|
}
|
958
|
-
function w(
|
958
|
+
function w(S) {
|
959
959
|
var R, J, U, Z;
|
960
|
-
return
|
960
|
+
return S === "from" && (((R = p == null ? void 0 : p.networkType) == null ? void 0 : R.toLowerCase()) === "sol" || ((J = p == null ? void 0 : p.networkType) == null ? void 0 : J.toLowerCase()) === "tron") || S === "to" && (((U = m == null ? void 0 : m.networkType) == null ? void 0 : U.toLowerCase()) === "sol" || ((Z = m == null ? void 0 : m.networkType) == null ? void 0 : Z.toLowerCase()) === "tron");
|
961
961
|
}
|
962
|
-
function d(
|
962
|
+
function d(S) {
|
963
963
|
var R, J, U, Z;
|
964
|
-
return
|
964
|
+
return S === "from" && (((R = p == null ? void 0 : p.networkType) == null ? void 0 : R.toLowerCase()) === "evm" || ((J = p == null ? void 0 : p.networkType) == null ? void 0 : J.toLowerCase()) === "tron") || S === "to" && (((U = m == null ? void 0 : m.networkType) == null ? void 0 : U.toLowerCase()) === "evm" || ((Z = m == null ? void 0 : m.networkType) == null ? void 0 : Z.toLowerCase()) === "tron");
|
965
965
|
}
|
966
|
-
function G(
|
966
|
+
function G(S) {
|
967
967
|
var R, J, U, Z;
|
968
|
-
return
|
968
|
+
return S === "from" && (((R = p == null ? void 0 : p.networkType) == null ? void 0 : R.toLowerCase()) === "sol" || ((J = p == null ? void 0 : p.networkType) == null ? void 0 : J.toLowerCase()) === "evm") || S === "to" && (((U = m == null ? void 0 : m.networkType) == null ? void 0 : U.toLowerCase()) === "sol" || ((Z = m == null ? void 0 : m.networkType) == null ? void 0 : Z.toLowerCase()) === "evm");
|
969
969
|
}
|
970
|
-
function Y(
|
971
|
-
if (
|
972
|
-
return (
|
970
|
+
function Y(S) {
|
971
|
+
if (S)
|
972
|
+
return (S == null ? void 0 : S.networkType) === "evm" ? a : (S == null ? void 0 : S.networkType) === "sol" ? b : (S == null ? void 0 : S.networkType) === "tron" ? k : (S == null ? void 0 : S.networkType) === "cosmos" ? z : (c == null ? void 0 : c.length) > 30 ? x : {};
|
973
973
|
}
|
974
|
-
function
|
974
|
+
function H(S, R) {
|
975
975
|
var J, U, Z, K, W, X, $, ee;
|
976
|
-
return
|
976
|
+
return S && R ? !!((S == "cosmos" ? (U = (J = h == null ? void 0 : h[p == null ? void 0 : p.chainId]) == null ? void 0 : J.address) != null && U.length : (K = (Z = M[S]) == null ? void 0 : Z.address) != null && K.length) && (R == "cosmos" ? (X = (W = h == null ? void 0 : h[m == null ? void 0 : m.chainId]) == null ? void 0 : W.address) != null && X.length : (ee = ($ = M[R]) == null ? void 0 : $.address) != null && ee.length)) : !1;
|
977
977
|
}
|
978
|
-
function O(
|
978
|
+
function O(S, R) {
|
979
979
|
var J, U;
|
980
|
-
return
|
980
|
+
return S && R ? (J = M[S == null ? void 0 : S.networkType]) != null && J.connected ? (U = M[R == null ? void 0 : R.networkType]) != null && U.connected ? l ? R == null ? void 0 : R.name : "" : R == null ? void 0 : R.name : S == null ? void 0 : S.name : "";
|
981
981
|
}
|
982
982
|
function V() {
|
983
983
|
var R;
|
984
|
-
let
|
984
|
+
let S = [];
|
985
985
|
return v.length && v.forEach((J) => {
|
986
|
-
|
986
|
+
S.push(J.accounts[0]);
|
987
987
|
}), D.length && D.forEach((J) => {
|
988
|
-
|
989
|
-
}), h && ((R = h == null ? void 0 : h["cosmoshub-4"]) != null && R.bech32Address) &&
|
988
|
+
S.push(J.address);
|
989
|
+
}), h && ((R = h == null ? void 0 : h["cosmoshub-4"]) != null && R.bech32Address) && S.push(h["cosmoshub-4"].bech32Address), T != null && T.length && S.push(T), S;
|
990
990
|
}
|
991
991
|
return {
|
992
992
|
isAnyWalletConnected: y(),
|
@@ -994,7 +994,7 @@ function useWalletDetails({ chainData: e, show: t }) {
|
|
994
994
|
handleEVMDisable: w,
|
995
995
|
handleSOLDisable: d,
|
996
996
|
handleTRONDisable: G,
|
997
|
-
getBothWalletConnection:
|
997
|
+
getBothWalletConnection: H,
|
998
998
|
getConnectWallet: O,
|
999
999
|
refetch: u,
|
1000
1000
|
getAllConnections: V
|
@@ -1362,7 +1362,7 @@ function requireLottie() {
|
|
1362
1362
|
r || (r = n(function(B) {
|
1363
1363
|
function C() {
|
1364
1364
|
function E(x, M) {
|
1365
|
-
var y, w, d = x.length, G, Y,
|
1365
|
+
var y, w, d = x.length, G, Y, H, O;
|
1366
1366
|
for (w = 0; w < d; w += 1)
|
1367
1367
|
if (y = x[w], "ks" in y && !y.completed) {
|
1368
1368
|
if (y.completed = !0, y.hasMask) {
|
@@ -1371,10 +1371,10 @@ function requireLottie() {
|
|
1371
1371
|
if (V[G].pt.k.i)
|
1372
1372
|
m(V[G].pt.k);
|
1373
1373
|
else
|
1374
|
-
for (O = V[G].pt.k.length,
|
1375
|
-
V[G].pt.k[
|
1374
|
+
for (O = V[G].pt.k.length, H = 0; H < O; H += 1)
|
1375
|
+
V[G].pt.k[H].s && m(V[G].pt.k[H].s[0]), V[G].pt.k[H].e && m(V[G].pt.k[H].e[0]);
|
1376
1376
|
}
|
1377
|
-
y.ty === 0 ? (y.layers = l(y.refId, M), E(y.layers, M)) : y.ty === 4 ? p(y.shapes) : y.ty === 5 &&
|
1377
|
+
y.ty === 0 ? (y.layers = l(y.refId, M), E(y.layers, M)) : y.ty === 4 ? p(y.shapes) : y.ty === 5 && k(y);
|
1378
1378
|
}
|
1379
1379
|
}
|
1380
1380
|
function g(x, M) {
|
@@ -1530,16 +1530,16 @@ function requireLottie() {
|
|
1530
1530
|
w.assets[d].layers && y(w.assets[d].layers);
|
1531
1531
|
}
|
1532
1532
|
};
|
1533
|
-
}(),
|
1533
|
+
}(), T = /* @__PURE__ */ function() {
|
1534
1534
|
var x = [4, 1, 9];
|
1535
1535
|
function M(w) {
|
1536
|
-
var d, G = w.length, Y,
|
1536
|
+
var d, G = w.length, Y, H;
|
1537
1537
|
for (d = 0; d < G; d += 1)
|
1538
1538
|
if (w[d].ty === "gr")
|
1539
1539
|
M(w[d].it);
|
1540
1540
|
else if (w[d].ty === "fl" || w[d].ty === "st")
|
1541
1541
|
if (w[d].c.k && w[d].c.k[0].i)
|
1542
|
-
for (
|
1542
|
+
for (H = w[d].c.k.length, Y = 0; Y < H; Y += 1)
|
1543
1543
|
w[d].c.k[Y].s && (w[d].c.k[Y].s[0] /= 255, w[d].c.k[Y].s[1] /= 255, w[d].c.k[Y].s[2] /= 255, w[d].c.k[Y].s[3] /= 255), w[d].c.k[Y].e && (w[d].c.k[Y].e[0] /= 255, w[d].c.k[Y].e[1] /= 255, w[d].c.k[Y].e[2] /= 255, w[d].c.k[Y].e[3] /= 255);
|
1544
1544
|
else
|
1545
1545
|
w[d].c.k[0] /= 255, w[d].c.k[1] /= 255, w[d].c.k[2] /= 255, w[d].c.k[3] /= 255;
|
@@ -1559,27 +1559,27 @@ function requireLottie() {
|
|
1559
1559
|
}(), F = /* @__PURE__ */ function() {
|
1560
1560
|
var x = [4, 4, 18];
|
1561
1561
|
function M(w) {
|
1562
|
-
var d, G = w.length, Y,
|
1562
|
+
var d, G = w.length, Y, H;
|
1563
1563
|
for (d = G - 1; d >= 0; d -= 1)
|
1564
1564
|
if (w[d].ty === "sh")
|
1565
1565
|
if (w[d].ks.k.i)
|
1566
1566
|
w[d].ks.k.c = w[d].closed;
|
1567
1567
|
else
|
1568
|
-
for (
|
1568
|
+
for (H = w[d].ks.k.length, Y = 0; Y < H; Y += 1)
|
1569
1569
|
w[d].ks.k[Y].s && (w[d].ks.k[Y].s[0].c = w[d].closed), w[d].ks.k[Y].e && (w[d].ks.k[Y].e[0].c = w[d].closed);
|
1570
1570
|
else w[d].ty === "gr" && M(w[d].it);
|
1571
1571
|
}
|
1572
1572
|
function y(w) {
|
1573
|
-
var d, G, Y = w.length,
|
1573
|
+
var d, G, Y = w.length, H, O, V, N;
|
1574
1574
|
for (G = 0; G < Y; G += 1) {
|
1575
1575
|
if (d = w[G], d.hasMask) {
|
1576
1576
|
var j = d.masksProperties;
|
1577
|
-
for (O = j.length,
|
1578
|
-
if (j[
|
1579
|
-
j[
|
1577
|
+
for (O = j.length, H = 0; H < O; H += 1)
|
1578
|
+
if (j[H].pt.k.i)
|
1579
|
+
j[H].pt.k.c = j[H].cl;
|
1580
1580
|
else
|
1581
|
-
for (N = j[
|
1582
|
-
j[
|
1581
|
+
for (N = j[H].pt.k.length, V = 0; V < N; V += 1)
|
1582
|
+
j[H].pt.k[V].s && (j[H].pt.k[V].s[0].c = j[H].cl), j[H].pt.k[V].e && (j[H].pt.k[V].e[0].c = j[H].cl);
|
1583
1583
|
}
|
1584
1584
|
d.ty === 4 && M(d.shapes);
|
1585
1585
|
}
|
@@ -1593,13 +1593,13 @@ function requireLottie() {
|
|
1593
1593
|
};
|
1594
1594
|
}();
|
1595
1595
|
function L(x) {
|
1596
|
-
x.__complete || (
|
1596
|
+
x.__complete || (T(x), Q(x), I(x), b(x), F(x), E(x.layers, x.assets), g(x.chars, x.assets), x.__complete = !0);
|
1597
1597
|
}
|
1598
|
-
function
|
1598
|
+
function k(x) {
|
1599
1599
|
x.t.a.length === 0 && "m" in x.t.p;
|
1600
1600
|
}
|
1601
1601
|
var z = {};
|
1602
|
-
return z.completeData = L, z.checkColors =
|
1602
|
+
return z.completeData = L, z.checkColors = T, z.checkChars = I, z.checkPathProperties = b, z.checkShapes = F, z.completeLayers = E, z;
|
1603
1603
|
}
|
1604
1604
|
if (s.dataManager || (s.dataManager = C()), s.assetLoader || (s.assetLoader = /* @__PURE__ */ function() {
|
1605
1605
|
function E(c) {
|
@@ -2170,7 +2170,7 @@ function requireLottie() {
|
|
2170
2170
|
return w;
|
2171
2171
|
}
|
2172
2172
|
function v() {
|
2173
|
-
i += 1,
|
2173
|
+
i += 1, T();
|
2174
2174
|
}
|
2175
2175
|
function D() {
|
2176
2176
|
i -= 1;
|
@@ -2240,10 +2240,10 @@ function requireLottie() {
|
|
2240
2240
|
w && d[G].setAttribute("data-bm-type", w), a(d[G], M);
|
2241
2241
|
if (y && Y === 0) {
|
2242
2242
|
w || (w = "svg");
|
2243
|
-
var
|
2244
|
-
|
2243
|
+
var H = document.getElementsByTagName("body")[0];
|
2244
|
+
H.innerText = "";
|
2245
2245
|
var O = createTag("div");
|
2246
|
-
O.style.width = "100%", O.style.height = "100%", O.setAttribute("data-bm-type", w),
|
2246
|
+
O.style.width = "100%", O.style.height = "100%", O.setAttribute("data-bm-type", w), H.appendChild(O), a(O, M);
|
2247
2247
|
}
|
2248
2248
|
}
|
2249
2249
|
function b() {
|
@@ -2251,16 +2251,16 @@ function requireLottie() {
|
|
2251
2251
|
for (M = 0; M < r; M += 1)
|
2252
2252
|
t[M].animation.resize();
|
2253
2253
|
}
|
2254
|
-
function
|
2254
|
+
function T() {
|
2255
2255
|
!n && i && s && (window.requestAnimationFrame(c), s = !1);
|
2256
2256
|
}
|
2257
2257
|
function F() {
|
2258
2258
|
n = !0;
|
2259
2259
|
}
|
2260
2260
|
function L() {
|
2261
|
-
n = !1,
|
2261
|
+
n = !1, T();
|
2262
2262
|
}
|
2263
|
-
function
|
2263
|
+
function k(M, y) {
|
2264
2264
|
var w;
|
2265
2265
|
for (w = 0; w < r; w += 1)
|
2266
2266
|
t[w].animation.setVolume(M, y);
|
@@ -2275,7 +2275,7 @@ function requireLottie() {
|
|
2275
2275
|
for (y = 0; y < r; y += 1)
|
2276
2276
|
t[y].animation.unmute(M);
|
2277
2277
|
}
|
2278
|
-
return e.registerAnimation = a, e.loadAnimation = B, e.setSpeed = C, e.setDirection = u, e.play = E, e.pause = l, e.stop = m, e.togglePause = P, e.searchAnimations = I, e.resize = b, e.goToAndStop = p, e.destroy = Q, e.freeze = F, e.unfreeze = L, e.setVolume =
|
2278
|
+
return e.registerAnimation = a, e.loadAnimation = B, e.setSpeed = C, e.setDirection = u, e.play = E, e.pause = l, e.stop = m, e.togglePause = P, e.searchAnimations = I, e.resize = b, e.goToAndStop = p, e.destroy = Q, e.freeze = F, e.unfreeze = L, e.setVolume = k, e.mute = z, e.unmute = x, e.getRegisteredAnimations = f, e;
|
2279
2279
|
}(), BezierFactory = function() {
|
2280
2280
|
var e = {};
|
2281
2281
|
e.getBezierEasing = A;
|
@@ -2343,7 +2343,7 @@ function requireLottie() {
|
|
2343
2343
|
for (var p = this._p[0], m = this._p[2], P = this._mSampleValues, Q = 0, I = 1, b = o - 1; I !== b && P[I] <= l; ++I)
|
2344
2344
|
Q += a;
|
2345
2345
|
--I;
|
2346
|
-
var
|
2346
|
+
var T = (l - P[I]) / (P[I + 1] - P[I]), F = Q + T * a, L = C(F, p, m);
|
2347
2347
|
return L >= i ? E(l, F, p, m) : L === 0 ? F : u(l, Q, Q + a, p, m);
|
2348
2348
|
}
|
2349
2349
|
}, e;
|
@@ -2407,13 +2407,13 @@ function requireLottie() {
|
|
2407
2407
|
}
|
2408
2408
|
var r = /* @__PURE__ */ function() {
|
2409
2409
|
return function(h, B, C, u) {
|
2410
|
-
var E = getDefaultCurveSegments(), g, c, l, p, m, P = 0, Q, I = [], b = [],
|
2410
|
+
var E = getDefaultCurveSegments(), g, c, l, p, m, P = 0, Q, I = [], b = [], T = bezierLengthPool.newElement();
|
2411
2411
|
for (l = C.length, g = 0; g < E; g += 1) {
|
2412
2412
|
for (m = g / (E - 1), Q = 0, c = 0; c < l; c += 1)
|
2413
2413
|
p = bmPow(1 - m, 3) * h[c] + 3 * bmPow(1 - m, 2) * m * C[c] + 3 * (1 - m) * bmPow(m, 2) * u[c] + bmPow(m, 3) * B[c], I[c] = p, b[c] !== null && (Q += bmPow(I[c] - b[c], 2)), b[c] = I[c];
|
2414
|
-
Q && (Q = bmSqrt(Q), P += Q),
|
2414
|
+
Q && (Q = bmSqrt(Q), P += Q), T.percents[g] = m, T.lengths[g] = P;
|
2415
2415
|
}
|
2416
|
-
return
|
2416
|
+
return T.addedLength = P, T;
|
2417
2417
|
};
|
2418
2418
|
}();
|
2419
2419
|
function i(h) {
|
@@ -2433,13 +2433,13 @@ function requireLottie() {
|
|
2433
2433
|
return function(B, C, u, E) {
|
2434
2434
|
var g = (B[0] + "_" + B[1] + "_" + C[0] + "_" + C[1] + "_" + u[0] + "_" + u[1] + "_" + E[0] + "_" + E[1]).replace(/\./g, "p");
|
2435
2435
|
if (!h[g]) {
|
2436
|
-
var c = getDefaultCurveSegments(), l, p, m, P, Q, I = 0, b,
|
2436
|
+
var c = getDefaultCurveSegments(), l, p, m, P, Q, I = 0, b, T, F = null;
|
2437
2437
|
B.length === 2 && (B[0] !== C[0] || B[1] !== C[1]) && t(B[0], B[1], C[0], C[1], B[0] + u[0], B[1] + u[1]) && t(B[0], B[1], C[0], C[1], C[0] + E[0], C[1] + E[1]) && (c = 2);
|
2438
2438
|
var L = new s(c);
|
2439
2439
|
for (m = u.length, l = 0; l < c; l += 1) {
|
2440
|
-
for (
|
2441
|
-
P = bmPow(1 - Q, 3) * B[p] + 3 * bmPow(1 - Q, 2) * Q * (B[p] + u[p]) + 3 * (1 - Q) * bmPow(Q, 2) * (C[p] + E[p]) + bmPow(Q, 3) * C[p],
|
2442
|
-
b = bmSqrt(b), I += b, L.points[l] = new n(b,
|
2440
|
+
for (T = createSizedArray(m), Q = l / (c - 1), b = 0, p = 0; p < m; p += 1)
|
2441
|
+
P = bmPow(1 - Q, 3) * B[p] + 3 * bmPow(1 - Q, 2) * Q * (B[p] + u[p]) + 3 * (1 - Q) * bmPow(Q, 2) * (C[p] + E[p]) + bmPow(Q, 3) * C[p], T[p] = P, F !== null && (b += bmPow(T[p] - F[p], 2));
|
2442
|
+
b = bmSqrt(b), I += b, L.points[l] = new n(b, T), F = T;
|
2443
2443
|
}
|
2444
2444
|
L.segmentLength = I, h[g] = L;
|
2445
2445
|
}
|
@@ -2467,9 +2467,9 @@ function requireLottie() {
|
|
2467
2467
|
E < 0 ? E = 0 : E > 1 && (E = 1);
|
2468
2468
|
var l = a(E, c);
|
2469
2469
|
g = g > 1 ? 1 : g;
|
2470
|
-
var p = a(g, c), m, P = h.length, Q = 1 - l, I = 1 - p, b = Q * Q * Q,
|
2470
|
+
var p = a(g, c), m, P = h.length, Q = 1 - l, I = 1 - p, b = Q * Q * Q, T = l * Q * Q * 3, F = l * l * Q * 3, L = l * l * l, k = Q * Q * I, z = l * Q * I + Q * l * I + Q * Q * p, x = l * l * I + Q * l * p + l * Q * p, M = l * l * p, y = Q * I * I, w = l * I * I + Q * p * I + Q * I * p, d = l * p * I + Q * p * p + l * I * p, G = l * p * p, Y = I * I * I, H = p * I * I + I * p * I + I * I * p, O = p * p * I + I * p * p + p * I * p, V = p * p * p;
|
2471
2471
|
for (m = 0; m < P; m += 1)
|
2472
|
-
v[m * 4] = e.round((b * h[m] +
|
2472
|
+
v[m * 4] = e.round((b * h[m] + T * C[m] + F * u[m] + L * B[m]) * 1e3) / 1e3, v[m * 4 + 1] = e.round((k * h[m] + z * C[m] + x * u[m] + M * B[m]) * 1e3) / 1e3, v[m * 4 + 2] = e.round((y * h[m] + w * C[m] + d * u[m] + G * B[m]) * 1e3) / 1e3, v[m * 4 + 3] = e.round((Y * h[m] + H * C[m] + O * u[m] + V * B[m]) * 1e3) / 1e3;
|
2473
2473
|
return v;
|
2474
2474
|
}
|
2475
2475
|
return {
|
@@ -2523,7 +2523,7 @@ function requireLottie() {
|
|
2523
2523
|
t._lastPoint = u, t._lastAddedLength = I - p.points[u].partialLength, t._lastKeyframeIndex = s;
|
2524
2524
|
}
|
2525
2525
|
} else {
|
2526
|
-
var b,
|
2526
|
+
var b, T, F, L, k;
|
2527
2527
|
if (n = a.s.length, l = f.s || a.e, this.sh && a.h !== 1)
|
2528
2528
|
if (e >= g)
|
2529
2529
|
r[0] = l[0], r[1] = l[1], r[2] = l[2];
|
@@ -2535,7 +2535,7 @@ function requireLottie() {
|
|
2535
2535
|
}
|
2536
2536
|
else
|
2537
2537
|
for (s = 0; s < n; s += 1)
|
2538
|
-
a.h !== 1 && (e >= g ? B = 1 : e < c ? B = 0 : (a.o.x.constructor === Array ? (v.__fnct || (v.__fnct = []), v.__fnct[s] ? E = v.__fnct[s] : (b = a.o.x[s] === void 0 ? a.o.x[0] : a.o.x[s],
|
2538
|
+
a.h !== 1 && (e >= g ? B = 1 : e < c ? B = 0 : (a.o.x.constructor === Array ? (v.__fnct || (v.__fnct = []), v.__fnct[s] ? E = v.__fnct[s] : (b = a.o.x[s] === void 0 ? a.o.x[0] : a.o.x[s], T = a.o.y[s] === void 0 ? a.o.y[0] : a.o.y[s], F = a.i.x[s] === void 0 ? a.i.x[0] : a.i.x[s], L = a.i.y[s] === void 0 ? a.i.y[0] : a.i.y[s], E = BezierFactory.getBezierEasing(b, T, F, L).get, v.__fnct[s] = E)) : v.__fnct ? E = v.__fnct : (b = a.o.x, T = a.o.y, F = a.i.x, L = a.i.y, E = BezierFactory.getBezierEasing(b, T, F, L).get, a.keyframeMetadata = E), B = E((e - c) / (g - c)))), l = f.s || a.e, k = a.h === 1 ? a.s[s] : a.s[s] + (l[s] - a.s[s]) * B, this.propType === "multidimensional" ? r[s] = k : r = k;
|
2539
2539
|
}
|
2540
2540
|
return t.lastIndex = i, r;
|
2541
2541
|
}
|
@@ -2756,7 +2756,7 @@ function requireLottie() {
|
|
2756
2756
|
}(), ShapePropertyFactory = function() {
|
2757
2757
|
var e = -999999;
|
2758
2758
|
function t(g, c, l) {
|
2759
|
-
var p = l.lastIndex, m, P, Q, I, b,
|
2759
|
+
var p = l.lastIndex, m, P, Q, I, b, T, F, L, k, z = this.keyframes;
|
2760
2760
|
if (g < z[0].t - this.offsetTime)
|
2761
2761
|
m = z[0].s[0], Q = !0, p = 0;
|
2762
2762
|
else if (g >= z[z.length - 1].t - this.offsetTime)
|
@@ -2777,9 +2777,9 @@ function requireLottie() {
|
|
2777
2777
|
}
|
2778
2778
|
m = w.s[0];
|
2779
2779
|
}
|
2780
|
-
for (
|
2780
|
+
for (T = c._length, F = m.i[0].length, l.lastIndex = p, I = 0; I < T; I += 1)
|
2781
2781
|
for (b = 0; b < F; b += 1)
|
2782
|
-
|
2782
|
+
k = Q ? m.i[I][b] : m.i[I][b] + (P.i[I][b] - m.i[I][b]) * L, c.i[I][b] = k, k = Q ? m.o[I][b] : m.o[I][b] + (P.o[I][b] - m.o[I][b]) * L, c.o[I][b] = k, k = Q ? m.v[I][b] : m.v[I][b] + (P.v[I][b] - m.v[I][b]) * L, c.v[I][b] = k;
|
2783
2783
|
}
|
2784
2784
|
function A() {
|
2785
2785
|
var g = this.comp.renderedFrame - this.offsetTime, c = this.keyframes[0].t - this.offsetTime, l = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, p = this._caching.lastFrame;
|
@@ -2862,20 +2862,20 @@ function requireLottie() {
|
|
2862
2862
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
2863
2863
|
},
|
2864
2864
|
convertStarToPath: function() {
|
2865
|
-
var l = Math.floor(this.pt.v) * 2, p = Math.PI * 2 / l, m = !0, P = this.or.v, Q = this.ir.v, I = this.os.v, b = this.is.v,
|
2865
|
+
var l = Math.floor(this.pt.v) * 2, p = Math.PI * 2 / l, m = !0, P = this.or.v, Q = this.ir.v, I = this.os.v, b = this.is.v, T = 2 * Math.PI * P / (l * 2), F = 2 * Math.PI * Q / (l * 2), L, k, z, x, M = -Math.PI / 2;
|
2866
2866
|
M += this.r.v;
|
2867
2867
|
var y = this.data.d === 3 ? -1 : 1;
|
2868
2868
|
for (this.v._length = 0, L = 0; L < l; L += 1) {
|
2869
|
-
|
2870
|
-
var w =
|
2869
|
+
k = m ? P : Q, z = m ? I : b, x = m ? T : F;
|
2870
|
+
var w = k * Math.cos(M), d = k * Math.sin(M), G = w === 0 && d === 0 ? 0 : d / Math.sqrt(w * w + d * d), Y = w === 0 && d === 0 ? 0 : -w / Math.sqrt(w * w + d * d);
|
2871
2871
|
w += +this.p.v[0], d += +this.p.v[1], this.v.setTripleAt(w, d, w - G * x * z * y, d - Y * x * z * y, w + G * x * z * y, d + Y * x * z * y, L, !0), m = !m, M += p * y;
|
2872
2872
|
}
|
2873
2873
|
},
|
2874
2874
|
convertPolygonToPath: function() {
|
2875
|
-
var l = Math.floor(this.pt.v), p = Math.PI * 2 / l, m = this.or.v, P = this.os.v, Q = 2 * Math.PI * m / (l * 4), I, b = -Math.PI * 0.5,
|
2875
|
+
var l = Math.floor(this.pt.v), p = Math.PI * 2 / l, m = this.or.v, P = this.os.v, Q = 2 * Math.PI * m / (l * 4), I, b = -Math.PI * 0.5, T = this.data.d === 3 ? -1 : 1;
|
2876
2876
|
for (b += this.r.v, this.v._length = 0, I = 0; I < l; I += 1) {
|
2877
|
-
var F = m * Math.cos(b), L = m * Math.sin(b),
|
2878
|
-
F += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(F, L, F -
|
2877
|
+
var F = m * Math.cos(b), L = m * Math.sin(b), k = F === 0 && L === 0 ? 0 : L / Math.sqrt(F * F + L * L), z = F === 0 && L === 0 ? 0 : -F / Math.sqrt(F * F + L * L);
|
2878
|
+
F += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(F, L, F - k * Q * P * T, L - z * Q * P * T, F + k * Q * P * T, L + z * Q * P * T, I, !0), b += p * T;
|
2879
2879
|
}
|
2880
2880
|
this.paths.length = 0, this.paths[0] = this.v;
|
2881
2881
|
}
|
@@ -2954,18 +2954,18 @@ function requireLottie() {
|
|
2954
2954
|
function h(w, d, G) {
|
2955
2955
|
return !G && G !== 0 && (G = 1), w === 1 && d === 1 && G === 1 ? this : this._t(w, 0, 0, 0, 0, d, 0, 0, 0, 0, G, 0, 0, 0, 0, 1);
|
2956
2956
|
}
|
2957
|
-
function B(w, d, G, Y,
|
2958
|
-
return this.props[0] = w, this.props[1] = d, this.props[2] = G, this.props[3] = Y, this.props[4] =
|
2957
|
+
function B(w, d, G, Y, H, O, V, N, j, S, R, J, U, Z, K, W) {
|
2958
|
+
return this.props[0] = w, this.props[1] = d, this.props[2] = G, this.props[3] = Y, this.props[4] = H, this.props[5] = O, this.props[6] = V, this.props[7] = N, this.props[8] = j, this.props[9] = S, this.props[10] = R, this.props[11] = J, this.props[12] = U, this.props[13] = Z, this.props[14] = K, this.props[15] = W, this;
|
2959
2959
|
}
|
2960
2960
|
function C(w, d, G) {
|
2961
2961
|
return G = G || 0, w !== 0 || d !== 0 || G !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, w, d, G, 1) : this;
|
2962
2962
|
}
|
2963
|
-
function u(w, d, G, Y,
|
2963
|
+
function u(w, d, G, Y, H, O, V, N, j, S, R, J, U, Z, K, W) {
|
2964
2964
|
var X = this.props;
|
2965
|
-
if (w === 1 && d === 0 && G === 0 && Y === 0 &&
|
2965
|
+
if (w === 1 && d === 0 && G === 0 && Y === 0 && H === 0 && O === 1 && V === 0 && N === 0 && j === 0 && S === 0 && R === 1 && J === 0)
|
2966
2966
|
return X[12] = X[12] * w + X[15] * U, X[13] = X[13] * O + X[15] * Z, X[14] = X[14] * R + X[15] * K, X[15] *= W, this._identityCalculated = !1, this;
|
2967
2967
|
var $ = X[0], ee = X[1], ie = X[2], re = X[3], se = X[4], ne = X[5], q = X[6], ae = X[7], oe = X[8], te = X[9], fe = X[10], Ae = X[11], he = X[12], le = X[13], ge = X[14], ce = X[15];
|
2968
|
-
return X[0] = $ * w + ee *
|
2968
|
+
return X[0] = $ * w + ee * H + ie * j + re * U, X[1] = $ * d + ee * O + ie * S + re * Z, X[2] = $ * G + ee * V + ie * R + re * K, X[3] = $ * Y + ee * N + ie * J + re * W, X[4] = se * w + ne * H + q * j + ae * U, X[5] = se * d + ne * O + q * S + ae * Z, X[6] = se * G + ne * V + q * R + ae * K, X[7] = se * Y + ne * N + q * J + ae * W, X[8] = oe * w + te * H + fe * j + Ae * U, X[9] = oe * d + te * O + fe * S + Ae * Z, X[10] = oe * G + te * V + fe * R + Ae * K, X[11] = oe * Y + te * N + fe * J + Ae * W, X[12] = he * w + le * H + ge * j + ce * U, X[13] = he * d + le * O + ge * S + ce * Z, X[14] = he * G + le * V + ge * R + ce * K, X[15] = he * Y + le * N + ge * J + ce * W, this._identityCalculated = !1, this;
|
2969
2969
|
}
|
2970
2970
|
function E(w) {
|
2971
2971
|
var d = w.props;
|
@@ -3010,17 +3010,17 @@ function requireLottie() {
|
|
3010
3010
|
return w * this.props[2] + d * this.props[6] + G * this.props[10] + this.props[14];
|
3011
3011
|
}
|
3012
3012
|
function b() {
|
3013
|
-
var w = this.props[0] * this.props[5] - this.props[1] * this.props[4], d = this.props[5] / w, G = -this.props[1] / w, Y = -this.props[4] / w,
|
3014
|
-
return N.props[0] = d, N.props[1] = G, N.props[4] = Y, N.props[5] =
|
3013
|
+
var w = this.props[0] * this.props[5] - this.props[1] * this.props[4], d = this.props[5] / w, G = -this.props[1] / w, Y = -this.props[4] / w, H = this.props[0] / w, O = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / w, V = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / w, N = new Matrix();
|
3014
|
+
return N.props[0] = d, N.props[1] = G, N.props[4] = Y, N.props[5] = H, N.props[12] = O, N.props[13] = V, N;
|
3015
3015
|
}
|
3016
|
-
function
|
3016
|
+
function T(w) {
|
3017
3017
|
var d = this.getInverseMatrix();
|
3018
3018
|
return d.applyToPointArray(w[0], w[1], w[2] || 0);
|
3019
3019
|
}
|
3020
3020
|
function F(w) {
|
3021
3021
|
var d, G = w.length, Y = [];
|
3022
3022
|
for (d = 0; d < G; d += 1)
|
3023
|
-
Y[d] =
|
3023
|
+
Y[d] = T(w[d]);
|
3024
3024
|
return Y;
|
3025
3025
|
}
|
3026
3026
|
function L(w, d, G) {
|
@@ -3028,12 +3028,12 @@ function requireLottie() {
|
|
3028
3028
|
if (this.isIdentity())
|
3029
3029
|
Y[0] = w[0], Y[1] = w[1], Y[2] = d[0], Y[3] = d[1], Y[4] = G[0], Y[5] = G[1];
|
3030
3030
|
else {
|
3031
|
-
var
|
3032
|
-
Y[0] = w[0] *
|
3031
|
+
var H = this.props[0], O = this.props[1], V = this.props[4], N = this.props[5], j = this.props[12], S = this.props[13];
|
3032
|
+
Y[0] = w[0] * H + w[1] * V + j, Y[1] = w[0] * O + w[1] * N + S, Y[2] = d[0] * H + d[1] * V + j, Y[3] = d[0] * O + d[1] * N + S, Y[4] = G[0] * H + G[1] * V + j, Y[5] = G[0] * O + G[1] * N + S;
|
3033
3033
|
}
|
3034
3034
|
return Y;
|
3035
3035
|
}
|
3036
|
-
function
|
3036
|
+
function k(w, d, G) {
|
3037
3037
|
var Y;
|
3038
3038
|
return this.isIdentity() ? Y = [w, d, G] : Y = [w * this.props[0] + d * this.props[4] + G * this.props[8] + this.props[12], w * this.props[1] + d * this.props[5] + G * this.props[9] + this.props[13], w * this.props[2] + d * this.props[6] + G * this.props[10] + this.props[14]], Y;
|
3039
3039
|
}
|
@@ -3053,11 +3053,11 @@ function requireLottie() {
|
|
3053
3053
|
return w < 1e-6 && w > 0 || w > -1e-6 && w < 0 ? r(w * d) / d : w;
|
3054
3054
|
}
|
3055
3055
|
function y() {
|
3056
|
-
var w = this.props, d = M(w[0]), G = M(w[1]), Y = M(w[4]),
|
3057
|
-
return "matrix(" + d + "," + G + "," + Y + "," +
|
3056
|
+
var w = this.props, d = M(w[0]), G = M(w[1]), Y = M(w[4]), H = M(w[5]), O = M(w[12]), V = M(w[13]);
|
3057
|
+
return "matrix(" + d + "," + G + "," + Y + "," + H + "," + O + "," + V + ")";
|
3058
3058
|
}
|
3059
3059
|
return function() {
|
3060
|
-
this.reset = i, this.rotate = s, this.rotateX = n, this.rotateY = o, this.rotateZ = a, this.skew = v, this.skewFromAxis = D, this.shear = f, this.scale = h, this.setTransform = B, this.translate = C, this.transform = u, this.multiply = E, this.applyToPoint = m, this.applyToX = P, this.applyToY = Q, this.applyToZ = I, this.applyToPointArray =
|
3060
|
+
this.reset = i, this.rotate = s, this.rotateX = n, this.rotateY = o, this.rotateZ = a, this.skew = v, this.skewFromAxis = D, this.shear = f, this.scale = h, this.setTransform = B, this.translate = C, this.transform = u, this.multiply = E, this.applyToPoint = m, this.applyToX = P, this.applyToY = Q, this.applyToZ = I, this.applyToPointArray = k, this.applyToTriplePoints = L, this.applyToPointStringified = z, this.toCSS = x, this.to2dCSS = y, this.clone = l, this.cloneFromProps = p, this.equals = c, this.inversePoints = F, this.inversePoint = T, this.getInverseMatrix = b, this._t = this.transform, this.isIdentity = g, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
3061
3061
|
};
|
3062
3062
|
}();
|
3063
3063
|
function _typeof$3(e) {
|
@@ -3910,8 +3910,8 @@ function requireLottie() {
|
|
3910
3910
|
var Y = createNS("text");
|
3911
3911
|
Y.style.fontSize = "100px", Y.setAttribute("font-family", M.fFamily), Y.setAttribute("font-style", G.style), Y.setAttribute("font-weight", G.weight), Y.textContent = "1", M.fClass ? (Y.style.fontFamily = "inherit", Y.setAttribute("class", M.fClass)) : Y.style.fontFamily = M.fFamily, y.appendChild(Y), d = Y;
|
3912
3912
|
} else {
|
3913
|
-
var
|
3914
|
-
|
3913
|
+
var H = new OffscreenCanvas(500, 500).getContext("2d");
|
3914
|
+
H.font = G.style + " " + G.weight + " 100px " + M.fFamily, d = H;
|
3915
3915
|
}
|
3916
3916
|
function O(V) {
|
3917
3917
|
return w === "svg" ? (d.textContent = V, d.getComputedTextLength()) : d.measureText(V).width;
|
@@ -3937,27 +3937,27 @@ function requireLottie() {
|
|
3937
3937
|
}
|
3938
3938
|
var w = M.list, d, G = w.length, Y = G;
|
3939
3939
|
for (d = 0; d < G; d += 1) {
|
3940
|
-
var
|
3940
|
+
var H = !0, O, V;
|
3941
3941
|
if (w[d].loaded = !1, w[d].monoCase = B(w[d].fFamily, "monospace"), w[d].sansCase = B(w[d].fFamily, "sans-serif"), !w[d].fPath)
|
3942
3942
|
w[d].loaded = !0, Y -= 1;
|
3943
3943
|
else if (w[d].fOrigin === "p" || w[d].origin === 3) {
|
3944
|
-
if (O = document.querySelectorAll('style[f-forigin="p"][f-family="' + w[d].fFamily + '"], style[f-origin="3"][f-family="' + w[d].fFamily + '"]'), O.length > 0 && (
|
3944
|
+
if (O = document.querySelectorAll('style[f-forigin="p"][f-family="' + w[d].fFamily + '"], style[f-origin="3"][f-family="' + w[d].fFamily + '"]'), O.length > 0 && (H = !1), H) {
|
3945
3945
|
var N = createTag("style");
|
3946
3946
|
N.setAttribute("f-forigin", w[d].fOrigin), N.setAttribute("f-origin", w[d].origin), N.setAttribute("f-family", w[d].fFamily), N.type = "text/css", N.innerText = "@font-face {font-family: " + w[d].fFamily + "; font-style: normal; src: url('" + w[d].fPath + "');}", y.appendChild(N);
|
3947
3947
|
}
|
3948
3948
|
} else if (w[d].fOrigin === "g" || w[d].origin === 1) {
|
3949
3949
|
for (O = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), V = 0; V < O.length; V += 1)
|
3950
|
-
O[V].href.indexOf(w[d].fPath) !== -1 && (
|
3951
|
-
if (
|
3950
|
+
O[V].href.indexOf(w[d].fPath) !== -1 && (H = !1);
|
3951
|
+
if (H) {
|
3952
3952
|
var j = createTag("link");
|
3953
3953
|
j.setAttribute("f-forigin", w[d].fOrigin), j.setAttribute("f-origin", w[d].origin), j.type = "text/css", j.rel = "stylesheet", j.href = w[d].fPath, document.body.appendChild(j);
|
3954
3954
|
}
|
3955
3955
|
} else if (w[d].fOrigin === "t" || w[d].origin === 2) {
|
3956
3956
|
for (O = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), V = 0; V < O.length; V += 1)
|
3957
|
-
w[d].fPath === O[V].src && (
|
3958
|
-
if (
|
3959
|
-
var
|
3960
|
-
|
3957
|
+
w[d].fPath === O[V].src && (H = !1);
|
3958
|
+
if (H) {
|
3959
|
+
var S = createTag("link");
|
3960
|
+
S.setAttribute("f-forigin", w[d].fOrigin), S.setAttribute("f-origin", w[d].origin), S.setAttribute("rel", "stylesheet"), S.setAttribute("href", w[d].fPath), y.appendChild(S);
|
3961
3961
|
}
|
3962
3962
|
}
|
3963
3963
|
w[d].helper = u(w[d], y), w[d].cache = {}, this.fonts.push(w[d]);
|
@@ -3988,8 +3988,8 @@ function requireLottie() {
|
|
3988
3988
|
if (!d.cache[G]) {
|
3989
3989
|
var Y = d.helper;
|
3990
3990
|
if (M === " ") {
|
3991
|
-
var
|
3992
|
-
d.cache[G] = (
|
3991
|
+
var H = Y.measureText("|" + M + "|"), O = Y.measureText("||");
|
3992
|
+
d.cache[G] = (H - O) / 100;
|
3993
3993
|
} else
|
3994
3994
|
d.cache[G] = Y.measureText(M) / 100;
|
3995
3995
|
}
|
@@ -4025,7 +4025,7 @@ function requireLottie() {
|
|
4025
4025
|
var y = m(M);
|
4026
4026
|
return y >= f && y <= v;
|
4027
4027
|
}
|
4028
|
-
function
|
4028
|
+
function T(M) {
|
4029
4029
|
return b(M.substr(0, 2)) && b(M.substr(2, 2));
|
4030
4030
|
}
|
4031
4031
|
function F(M) {
|
@@ -4043,13 +4043,13 @@ function requireLottie() {
|
|
4043
4043
|
}
|
4044
4044
|
return m(M.substr(y, 2)) === i;
|
4045
4045
|
}
|
4046
|
-
function
|
4046
|
+
function k() {
|
4047
4047
|
this.isLoaded = !0;
|
4048
4048
|
}
|
4049
4049
|
var z = function() {
|
4050
4050
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
4051
4051
|
};
|
4052
|
-
z.isModifier = P, z.isZeroWidthJoiner = Q, z.isFlagEmoji =
|
4052
|
+
z.isModifier = P, z.isZeroWidthJoiner = Q, z.isFlagEmoji = T, z.isRegionalCode = b, z.isCombinedCharacter = F, z.isRegionalFlag = L, z.isVariationSelector = I, z.BLACK_FLAG_CODE_POINT = r;
|
4053
4053
|
var x = {
|
4054
4054
|
addChars: g,
|
4055
4055
|
addFonts: E,
|
@@ -4057,7 +4057,7 @@ function requireLottie() {
|
|
4057
4057
|
getFontByName: p,
|
4058
4058
|
measureText: l,
|
4059
4059
|
checkLoadedFonts: C,
|
4060
|
-
setIsLoaded:
|
4060
|
+
setIsLoaded: k
|
4061
4061
|
};
|
4062
4062
|
return z.prototype = x, z;
|
4063
4063
|
}();
|
@@ -5053,9 +5053,9 @@ function requireLottie() {
|
|
5053
5053
|
I = m[P], I.setAttribute("offset", b[P * 4] + "%"), I.setAttribute("stop-color", "rgb(" + b[P * 4 + 1] + "," + b[P * 4 + 2] + "," + b[P * 4 + 3] + ")");
|
5054
5054
|
}
|
5055
5055
|
if (u && (h.g._omdf || B)) {
|
5056
|
-
var
|
5056
|
+
var T = h.g.o;
|
5057
5057
|
for (h.g._collapsable ? m = h.cst : m = h.ost, Q = m.length, P = 0; P < Q; P += 1)
|
5058
|
-
I = m[P], h.g._collapsable || I.setAttribute("offset",
|
5058
|
+
I = m[P], h.g._collapsable || I.setAttribute("offset", T[P * 2] + "%"), I.setAttribute("stop-opacity", T[P * 2 + 1]);
|
5059
5059
|
}
|
5060
5060
|
if (D.t === 1)
|
5061
5061
|
(h.e._mdf || B) && (C.setAttribute("x2", g[0]), C.setAttribute("y2", g[1]), u && !h.g._collapsable && (h.of.setAttribute("x2", g[0]), h.of.setAttribute("y2", g[1])));
|
@@ -5063,9 +5063,9 @@ function requireLottie() {
|
|
5063
5063
|
var F;
|
5064
5064
|
if ((h.s._mdf || h.e._mdf || B) && (F = Math.sqrt(Math.pow(E[0] - g[0], 2) + Math.pow(E[1] - g[1], 2)), C.setAttribute("r", F), u && !h.g._collapsable && h.of.setAttribute("r", F)), h.s._mdf || h.e._mdf || h.h._mdf || h.a._mdf || B) {
|
5065
5065
|
F || (F = Math.sqrt(Math.pow(E[0] - g[0], 2) + Math.pow(E[1] - g[1], 2)));
|
5066
|
-
var L = Math.atan2(g[1] - E[1], g[0] - E[0]),
|
5067
|
-
|
5068
|
-
var z = F *
|
5066
|
+
var L = Math.atan2(g[1] - E[1], g[0] - E[0]), k = h.h.v;
|
5067
|
+
k >= 1 ? k = 0.99 : k <= -1 && (k = -0.99);
|
5068
|
+
var z = F * k, x = Math.cos(L + h.a.v) * z + E[0], M = Math.sin(L + h.a.v) * z + E[1];
|
5069
5069
|
C.setAttribute("fx", x), C.setAttribute("fy", M), u && !h.g._collapsable && (h.of.setAttribute("fx", x), h.of.setAttribute("fy", M));
|
5070
5070
|
}
|
5071
5071
|
}
|
@@ -5259,12 +5259,12 @@ function requireLottie() {
|
|
5259
5259
|
e.fWeight = m.weight, e.fStyle = m.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), s = e.finalText.length, e.finalLineHeight = e.lh;
|
5260
5260
|
var P = e.tr / 1e3 * e.finalSize, Q;
|
5261
5261
|
if (e.sz)
|
5262
|
-
for (var I = !0, b = e.sz[0],
|
5262
|
+
for (var I = !0, b = e.sz[0], T = e.sz[1], F, L; I; ) {
|
5263
5263
|
L = this.buildFinalText(e.t), F = 0, C = 0, s = L.length, P = e.tr / 1e3 * e.finalSize;
|
5264
|
-
var
|
5264
|
+
var k = -1;
|
5265
5265
|
for (i = 0; i < s; i += 1)
|
5266
|
-
Q = L[i].charCodeAt(0), n = !1, L[i] === " " ?
|
5267
|
-
F += c.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize &&
|
5266
|
+
Q = L[i].charCodeAt(0), n = !1, L[i] === " " ? k = i : (Q === 13 || Q === 3) && (C = 0, n = !0, F += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (l = t.getCharData(L[i], c.fStyle, c.fFamily), p = n ? 0 : l.w * e.finalSize / 100) : p = t.measureText(L[i], e.f, e.finalSize), C + p > b && L[i] !== " " ? (k === -1 ? s += 1 : i = k, F += e.finalLineHeight || e.finalSize * 1.2, L.splice(i, k === i ? 1 : 0, "\r"), k = -1, C = 0) : (C += p, C += P);
|
5267
|
+
F += c.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && T < F ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = L, s = e.finalText.length, I = !1);
|
5268
5268
|
}
|
5269
5269
|
C = -P, p = 0;
|
5270
5270
|
var z = 0, x;
|
@@ -5313,10 +5313,10 @@ function requireLottie() {
|
|
5313
5313
|
for (y = M[E], y.a.sc && (e.strokeColorAnim = !0), y.a.sw && (e.strokeWidthAnim = !0), (y.a.fc || y.a.fh || y.a.fs || y.a.fb) && (e.fillColorAnim = !0), G = 0, d = y.s.b, i = 0; i < s; i += 1)
|
5314
5314
|
w = r[i], w.anIndexes[E] = G, (d == 1 && w.val !== "" || d == 2 && w.val !== "" && w.val !== " " || d == 3 && (w.n || w.val == " " || i == s - 1) || d == 4 && (w.n || i == s - 1)) && (y.s.rn === 1 && Y.push(G), G += 1);
|
5315
5315
|
A.a[E].s.totalChars = G;
|
5316
|
-
var
|
5316
|
+
var H = -1, O;
|
5317
5317
|
if (y.s.rn === 1)
|
5318
5318
|
for (i = 0; i < s; i += 1)
|
5319
|
-
w = r[i],
|
5319
|
+
w = r[i], H != w.anIndexes[E] && (H = w.anIndexes[E], O = Y.splice(Math.floor(Math.random() * Y.length), 1)[0]), w.anIndexes[E] = O;
|
5320
5320
|
}
|
5321
5321
|
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = c.ascent * e.finalSize / 100;
|
5322
5322
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
@@ -5439,7 +5439,7 @@ function requireLottie() {
|
|
5439
5439
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
5440
5440
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
5441
5441
|
this._isFirstFrame = !1;
|
5442
|
-
var A = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, s = this.mHelper, n = this._renderType, o = this.renderedLetters.length, a, f, v, D, h = e.l, B, C, u, E, g, c, l, p, m, P, Q, I, b,
|
5442
|
+
var A = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, s = this.mHelper, n = this._renderType, o = this.renderedLetters.length, a, f, v, D, h = e.l, B, C, u, E, g, c, l, p, m, P, Q, I, b, T, F;
|
5443
5443
|
if (this._hasMaskedPath) {
|
5444
5444
|
if (F = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
5445
5445
|
var L = F.v;
|
@@ -5447,10 +5447,10 @@ function requireLottie() {
|
|
5447
5447
|
tLength: 0,
|
5448
5448
|
segments: []
|
5449
5449
|
}, D = L._length - 1;
|
5450
|
-
var
|
5450
|
+
var k;
|
5451
5451
|
for (I = 0, v = 0; v < D; v += 1)
|
5452
|
-
|
5453
|
-
v = D, F.v.c && (
|
5452
|
+
k = bez.buildBezierData(L.v[v], L.v[v + 1], [L.o[v][0] - L.v[v][0], L.o[v][1] - L.v[v][1]], [L.i[v + 1][0] - L.v[v + 1][0], L.i[v + 1][1] - L.v[v + 1][1]]), B.tLength += k.segmentLength, B.segments.push(k), I += k.segmentLength;
|
5453
|
+
v = D, F.v.c && (k = bez.buildBezierData(L.v[v], L.v[0], [L.o[v][0] - L.v[v][0], L.o[v][1] - L.v[v][1]], [L.i[0][0] - L.v[0][0], L.i[0][1] - L.v[0][1]]), B.tLength += k.segmentLength, B.segments.push(k), I += k.segmentLength), this._pathData.pi = B;
|
5454
5454
|
}
|
5455
5455
|
if (B = this._pathData.pi, C = this._pathData.f.v, l = 0, c = 1, E = 0, g = !0, P = B.segments, C < 0 && F.v.c)
|
5456
5456
|
for (B.tLength < Math.abs(C) && (C = -Math.abs(C) % B.tLength), l = P.length - 1, m = P[l].points, c = m.length - 1; C < 0; )
|
@@ -5460,7 +5460,7 @@ function requireLottie() {
|
|
5460
5460
|
D = h.length, a = 0, f = 0;
|
5461
5461
|
var z = e.finalSize * 1.2 * 0.714, x = !0, M, y, w, d, G;
|
5462
5462
|
d = r.length;
|
5463
|
-
var Y,
|
5463
|
+
var Y, H = -1, O, V, N, j = C, S = l, R = c, J = -1, U, Z, K, W, X, $, ee, ie, re = "", se = this.defaultPropsArray, ne;
|
5464
5464
|
if (e.j === 2 || e.j === 1) {
|
5465
5465
|
var q = 0, ae = 0, oe = e.j === 2 ? -0.5 : -1, te = 0, fe = !0;
|
5466
5466
|
for (v = 0; v < D; v += 1)
|
@@ -5478,7 +5478,7 @@ function requireLottie() {
|
|
5478
5478
|
}
|
5479
5479
|
for (v = 0; v < D; v += 1) {
|
5480
5480
|
if (s.reset(), U = 1, h[v].n)
|
5481
|
-
a = 0, f += e.yOffset, f += x ? 1 : 0, C = j, x = !1, this._hasMaskedPath && (l =
|
5481
|
+
a = 0, f += e.yOffset, f += x ? 1 : 0, C = j, x = !1, this._hasMaskedPath && (l = S, c = R, m = P[l].points, p = m[c - 1], u = m[c], Q = u.partialLength, E = 0), re = "", ie = "", $ = "", ne = "", se = this.defaultPropsArray;
|
5482
5482
|
else {
|
5483
5483
|
if (this._hasMaskedPath) {
|
5484
5484
|
if (J !== h[v].line) {
|
@@ -5492,11 +5492,11 @@ function requireLottie() {
|
|
5492
5492
|
}
|
5493
5493
|
J = h[v].line;
|
5494
5494
|
}
|
5495
|
-
|
5495
|
+
H !== h[v].ind && (h[H] && (C += h[H].extra), C += h[v].an / 2, H = h[v].ind), C += A[0] * h[v].an * 5e-3;
|
5496
5496
|
var Ae = 0;
|
5497
5497
|
for (w = 0; w < d; w += 1)
|
5498
5498
|
M = r[w].a, M.p.propType && (y = r[w].s, Y = y.getMult(h[v].anIndexes[w], i.a[w].s.totalChars), Y.length ? Ae += M.p.v[0] * Y[0] : Ae += M.p.v[0] * Y), M.a.propType && (y = r[w].s, Y = y.getMult(h[v].anIndexes[w], i.a[w].s.totalChars), Y.length ? Ae += M.a.v[0] * Y[0] : Ae += M.a.v[0] * Y);
|
5499
|
-
for (g = !0, this._pathData.a.v && (C = h[0].an * 0.5 + (I - this._pathData.f.v - h[0].an * 0.5 - h[h.length - 1].an * 0.5) *
|
5499
|
+
for (g = !0, this._pathData.a.v && (C = h[0].an * 0.5 + (I - this._pathData.f.v - h[0].an * 0.5 - h[h.length - 1].an * 0.5) * H / (D - 1), C += this._pathData.f.v); g; )
|
5500
5500
|
E + Q >= C + Ae || !m ? (b = (C + Ae - E) / u.partialLength, V = p.point[0] + (u.point[0] - p.point[0]) * b, N = p.point[1] + (u.point[1] - p.point[1]) * b, s.translate(-A[0] * h[v].an * 5e-3, -(A[1] * z) * 0.01), g = !1) : m && (E += u.partialLength, c += 1, c >= m.length && (c = 0, l += 1, P[l] ? m = P[l].points : F.v.c ? (c = 0, l = 0, m = P[l].points) : (E -= u.partialLength, m = null)), m && (p = u, u = m[c], Q = u.partialLength));
|
5501
5501
|
O = h[v].an / 2 - h[v].add, s.translate(-O, 0, 0);
|
5502
5502
|
} else
|
@@ -5522,11 +5522,11 @@ function requireLottie() {
|
|
5522
5522
|
M = r[w].a, M.p.propType && (y = r[w].s, Y = y.getMult(h[v].anIndexes[w], i.a[w].s.totalChars), this._hasMaskedPath ? Y.length ? s.translate(0, M.p.v[1] * Y[0], -M.p.v[2] * Y[1]) : s.translate(0, M.p.v[1] * Y, -M.p.v[2] * Y) : Y.length ? s.translate(M.p.v[0] * Y[0], M.p.v[1] * Y[1], -M.p.v[2] * Y[2]) : s.translate(M.p.v[0] * Y, M.p.v[1] * Y, -M.p.v[2] * Y));
|
5523
5523
|
if (e.strokeWidthAnim && ($ = K < 0 ? 0 : K), e.strokeColorAnim && (ee = "rgb(" + Math.round(Z[0] * 255) + "," + Math.round(Z[1] * 255) + "," + Math.round(Z[2] * 255) + ")"), e.fillColorAnim && e.fc && (ie = "rgb(" + Math.round(W[0] * 255) + "," + Math.round(W[1] * 255) + "," + Math.round(W[2] * 255) + ")"), this._hasMaskedPath) {
|
5524
5524
|
if (s.translate(0, -e.ls), s.translate(0, A[1] * z * 0.01 + f, 0), this._pathData.p.v) {
|
5525
|
-
|
5526
|
-
var he = Math.atan(
|
5525
|
+
T = (u.point[1] - p.point[1]) / (u.point[0] - p.point[0]);
|
5526
|
+
var he = Math.atan(T) * 180 / Math.PI;
|
5527
5527
|
u.point[0] < p.point[0] && (he += 180), s.rotate(-he * Math.PI / 180);
|
5528
5528
|
}
|
5529
|
-
s.translate(V, N, 0), C -= A[0] * h[v].an * 5e-3, h[v + 1] &&
|
5529
|
+
s.translate(V, N, 0), C -= A[0] * h[v].an * 5e-3, h[v + 1] && H !== h[v + 1].ind && (C += h[v].an / 2, C += e.tr * 1e-3 * e.finalSize);
|
5530
5530
|
} else {
|
5531
5531
|
switch (s.translate(a, f, 0), e.ps && s.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
|
5532
5532
|
case 1:
|
@@ -7037,20 +7037,20 @@ function requireLottie() {
|
|
7037
7037
|
entropy: !0
|
7038
7038
|
} : p || {};
|
7039
7039
|
var Q = E(u(p.entropy ? [l, c(e)] : l === null ? g() : l, 3), P), I = new B(P), b = function() {
|
7040
|
-
for (var F = I.g(i), L = o,
|
7041
|
-
F = (F +
|
7040
|
+
for (var F = I.g(i), L = o, k = 0; F < a; )
|
7041
|
+
F = (F + k) * r, L *= r, k = I.g(1);
|
7042
7042
|
for (; F >= f; )
|
7043
|
-
F /= 2, L /= 2,
|
7044
|
-
return (F +
|
7043
|
+
F /= 2, L /= 2, k >>>= 1;
|
7044
|
+
return (F + k) / L;
|
7045
7045
|
};
|
7046
7046
|
return b.int32 = function() {
|
7047
7047
|
return I.g(4) | 0;
|
7048
7048
|
}, b.quick = function() {
|
7049
7049
|
return I.g(4) / 4294967296;
|
7050
|
-
}, b.double = b, E(c(I.S), e), (p.pass || m || function(
|
7051
|
-
return
|
7050
|
+
}, b.double = b, E(c(I.S), e), (p.pass || m || function(T, F, L, k) {
|
7051
|
+
return k && (k.S && C(k, I), T.state = function() {
|
7052
7052
|
return C(I, {});
|
7053
|
-
}), L ? (t[n] =
|
7053
|
+
}), L ? (t[n] = T, F) : T;
|
7054
7054
|
})(b, Q, "global" in p ? p.global : this == t, p.state);
|
7055
7055
|
}
|
7056
7056
|
t["seed" + n] = h;
|
@@ -7060,10 +7060,10 @@ function requireLottie() {
|
|
7060
7060
|
b[Q] = Q++;
|
7061
7061
|
for (Q = 0; Q < r; Q++)
|
7062
7062
|
b[Q] = b[I = v & I + l[Q % m] + (p = b[Q])], b[I] = p;
|
7063
|
-
P.g = function(
|
7064
|
-
for (var F, L = 0,
|
7065
|
-
F = x[
|
7066
|
-
return P.i =
|
7063
|
+
P.g = function(T) {
|
7064
|
+
for (var F, L = 0, k = P.i, z = P.j, x = P.S; T--; )
|
7065
|
+
F = x[k = v & k + 1], L = L * r + x[v & (x[k] = x[z = v & z + F]) + (x[z] = F)];
|
7066
|
+
return P.i = k, P.j = z, L;
|
7067
7067
|
};
|
7068
7068
|
}
|
7069
7069
|
function C(l, p) {
|
@@ -8274,21 +8274,21 @@ function requireLottie() {
|
|
8274
8274
|
if (Q % 2 !== 0)
|
8275
8275
|
return this.getValueAtTime((c - (u - l) % c + l) / this.comp.globalData.frameRate, 0);
|
8276
8276
|
} else if (h === "offset") {
|
8277
|
-
var I = this.getValueAtTime(l / this.comp.globalData.frameRate, 0), b = this.getValueAtTime(g / this.comp.globalData.frameRate, 0),
|
8277
|
+
var I = this.getValueAtTime(l / this.comp.globalData.frameRate, 0), b = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), T = this.getValueAtTime(((u - l) % c + l) / this.comp.globalData.frameRate, 0), F = Math.floor((u - l) / c);
|
8278
8278
|
if (this.pv.length) {
|
8279
8279
|
for (P = new Array(I.length), m = P.length, p = 0; p < m; p += 1)
|
8280
|
-
P[p] = (b[p] - I[p]) * F +
|
8280
|
+
P[p] = (b[p] - I[p]) * F + T[p];
|
8281
8281
|
return P;
|
8282
8282
|
}
|
8283
|
-
return (b - I) * F +
|
8283
|
+
return (b - I) * F + T;
|
8284
8284
|
} else if (h === "continue") {
|
8285
|
-
var L = this.getValueAtTime(g / this.comp.globalData.frameRate, 0),
|
8285
|
+
var L = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), k = this.getValueAtTime((g - 1e-3) / this.comp.globalData.frameRate, 0);
|
8286
8286
|
if (this.pv.length) {
|
8287
8287
|
for (P = new Array(L.length), m = P.length, p = 0; p < m; p += 1)
|
8288
|
-
P[p] = L[p] + (L[p] -
|
8288
|
+
P[p] = L[p] + (L[p] - k[p]) * ((u - g) / this.comp.globalData.frameRate) / 5e-4;
|
8289
8289
|
return P;
|
8290
8290
|
}
|
8291
|
-
return L + (L -
|
8291
|
+
return L + (L - k) * ((u - g) / 1e-3);
|
8292
8292
|
}
|
8293
8293
|
return this.getValueAtTime(((u - l) % c + l) / this.comp.globalData.frameRate, 0);
|
8294
8294
|
}
|
@@ -8307,21 +8307,21 @@ function requireLottie() {
|
|
8307
8307
|
if (Q % 2 === 0)
|
8308
8308
|
return this.getValueAtTime(((g - u) % c + g) / this.comp.globalData.frameRate, 0);
|
8309
8309
|
} else if (h === "offset") {
|
8310
|
-
var I = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), b = this.getValueAtTime(l / this.comp.globalData.frameRate, 0),
|
8310
|
+
var I = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), b = this.getValueAtTime(l / this.comp.globalData.frameRate, 0), T = this.getValueAtTime((c - (g - u) % c + g) / this.comp.globalData.frameRate, 0), F = Math.floor((g - u) / c) + 1;
|
8311
8311
|
if (this.pv.length) {
|
8312
8312
|
for (P = new Array(I.length), m = P.length, p = 0; p < m; p += 1)
|
8313
|
-
P[p] =
|
8313
|
+
P[p] = T[p] - (b[p] - I[p]) * F;
|
8314
8314
|
return P;
|
8315
8315
|
}
|
8316
|
-
return
|
8316
|
+
return T - (b - I) * F;
|
8317
8317
|
} else if (h === "continue") {
|
8318
|
-
var L = this.getValueAtTime(g / this.comp.globalData.frameRate, 0),
|
8318
|
+
var L = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), k = this.getValueAtTime((g + 1e-3) / this.comp.globalData.frameRate, 0);
|
8319
8319
|
if (this.pv.length) {
|
8320
8320
|
for (P = new Array(L.length), m = P.length, p = 0; p < m; p += 1)
|
8321
|
-
P[p] = L[p] + (L[p] -
|
8321
|
+
P[p] = L[p] + (L[p] - k[p]) * (g - u) / 1e-3;
|
8322
8322
|
return P;
|
8323
8323
|
}
|
8324
|
-
return L + (L -
|
8324
|
+
return L + (L - k) * (g - u) / 1e-3;
|
8325
8325
|
}
|
8326
8326
|
return this.getValueAtTime((c - ((g - u) % c + g)) / this.comp.globalData.frameRate, 0);
|
8327
8327
|
}
|
@@ -8379,8 +8379,8 @@ function requireLottie() {
|
|
8379
8379
|
} else
|
8380
8380
|
B.translate(Q * this.px.mult, I * this.py.mult, 0);
|
8381
8381
|
} else {
|
8382
|
-
var
|
8383
|
-
B.translate(
|
8382
|
+
var T = this.p.getValueAtTime(h);
|
8383
|
+
B.translate(T[0] * this.p.mult, T[1] * this.p.mult, -T[2] * this.p.mult);
|
8384
8384
|
}
|
8385
8385
|
return B;
|
8386
8386
|
}
|