@blockend/widget 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AllRoutes-CPwuTwqd.js +2209 -0
- package/dist/Box-CIChapvH.js +55 -0
- package/dist/EstGas-CEFILtyf.js +12867 -0
- package/dist/Grow-DJZj9zjv.js +1656 -0
- package/dist/InputComp-DqF1JGIu.js +106 -0
- package/dist/LoadRoute-r3sHTYXM.js +126 -0
- package/dist/QuotesProgress-BXVLxZ8U.js +28 -0
- package/dist/SwapAsset-07WvVwl-.js +64 -0
- package/dist/Tooltip-CNAsCF8n.js +572 -0
- package/dist/TxnButton-D2TTkFYA.js +207 -0
- package/dist/WidgetForm.module-QHJ0-m5f.js +9 -0
- package/dist/{add-BDjkKnDN.js → add-t2GqC9VA.js} +3 -4
- package/dist/{all-wallets-CrBep7Gl.js → all-wallets-DFyf0q31.js} +3 -4
- package/dist/{app-store-CwaPvoXY.js → app-store-aAahwmBP.js} +3 -4
- package/dist/{apple-BA8mnYrP.js → apple-DeRgpwlc.js} +3 -4
- package/dist/{arrow-bottom-BXdMFUAl.js → arrow-bottom-DdEOkaAj.js} +3 -4
- package/dist/{arrow-bottom-circle-DFT4mXIU.js → arrow-bottom-circle-BWwREWcv.js} +3 -4
- package/dist/{arrow-left-BzkeYnqg.js → arrow-left-CulyLmoH.js} +3 -4
- package/dist/{arrow-right-DiUAWQjY.js → arrow-right-Dwr7TISn.js} +3 -4
- package/dist/{arrow-top-86AMrjF7.js → arrow-top-pL4rM_y8.js} +3 -4
- package/dist/{bank-DN5JAJkK.js → bank-CPuyK_08.js} +3 -4
- package/dist/basic-CVc9xEvb.js +5783 -0
- package/dist/{browser-CIEc-DNj.js → browser-Cbq2Zbp4.js} +3 -4
- package/dist/{card-D0J873mK.js → card-B_hUtPWK.js} +3 -4
- package/dist/ccip-BLVGcR4A.js +228 -0
- package/dist/{checkmark-mvlF9aX8.js → checkmark-WEqTsFAc.js} +3 -4
- package/dist/{checkmark-bold-Cvmc9tJb.js → checkmark-bold-Du_ZvhqM.js} +3 -4
- package/dist/{chevron-bottom-CWsU0Wj4.js → chevron-bottom-C-s-lv4L.js} +3 -4
- package/dist/{chevron-left-DZoyyvkH.js → chevron-left-C7NcRElx.js} +3 -4
- package/dist/{chevron-right-Db1S8IpK.js → chevron-right-CSzmAmdn.js} +3 -4
- package/dist/{chevron-top-BG2-jrhN.js → chevron-top-Dd99Wfel.js} +3 -4
- package/dist/{chrome-store-bZ30Z8RD.js → chrome-store-C4p77Of0.js} +3 -4
- package/dist/{clock-BQCJkpsN.js → clock-Cib24qjH.js} +3 -4
- package/dist/clockIcon-C2W5xvyt.js +76 -0
- package/dist/{close-0442yxHv.js → close-BXjEkTvS.js} +3 -4
- package/dist/{coinPlaceholder-npHsRGpi.js → coinPlaceholder-BFNC7cQN.js} +3 -4
- package/dist/{compass-CA-2HVOX.js → compass-CXPX5Ycp.js} +3 -4
- package/dist/{copy-DZVC8Hxi.js → copy-BEawMbmF.js} +3 -4
- package/dist/core-Bez9Ow7F.js +14967 -0
- package/dist/cursor-Cxq4Q9jk.js +7 -0
- package/dist/{cursor-transparent-wVQvgZAK.js → cursor-transparent-ZjJ0P2vr.js} +3 -4
- package/dist/{desktop-DTAJIXTO.js → desktop-BhZVovAp.js} +3 -4
- package/dist/{disconnect-D8Si5N8S.js → disconnect-AC-bffZO.js} +3 -4
- package/dist/{discord-tQYw47cV.js → discord-dT97h-CC.js} +3 -4
- package/dist/down-DP56YSKp.js +606 -0
- package/dist/{etherscan-CjqNGBR7.js → etherscan-rYFRhRTM.js} +3 -4
- package/dist/ethertousd-CC_ezooz.js +6 -0
- package/dist/{exclamation-triangle-BhHXY1hF.js → exclamation-triangle-C-pCuC08.js} +3 -4
- package/dist/{extension-y15WoviO.js → extension-BnqauLSn.js} +3 -4
- package/dist/{external-link--gR7z0qt.js → external-link-M9D6e_F3.js} +3 -4
- package/dist/{facebook-DlX8IWwq.js → facebook-DHezcoD-.js} +3 -4
- package/dist/{farcaster-CFzTYTRj.js → farcaster-D0Ky-Imv.js} +3 -4
- package/dist/{filters-BO_y5jSy.js → filters-B02NYLWq.js} +3 -4
- package/dist/getChainIds-CJd2TZYT.js +1888 -0
- package/dist/getCosmosAddress-DTZfw04G.js +9565 -0
- package/dist/{github-B9QjqzQj.js → github-BzQkIMuE.js} +3 -4
- package/dist/{google-D9CK21nC.js → google-BpwCJ4Fs.js} +3 -4
- package/dist/hamburger-BzqwkUjE.js +3915 -0
- package/dist/{help-circle-Qf3YDcg6.js → help-circle-C0nOySHC.js} +3 -4
- package/dist/{id-VtdZj5EJ.js → id-DFP_kFd4.js} +3 -4
- package/dist/{image-Bb6NRqAG.js → image-QiYOAGjM.js} +3 -4
- package/dist/index-CDq3vNnP.js +22 -0
- package/dist/index-CLzkn733.js +28223 -0
- package/dist/index-CjtwASJt.js +252 -0
- package/dist/index-CrC4B7xn.js +331 -0
- package/dist/index-D5hLIe-N.js +9 -0
- package/dist/index-DDk00SOL.js +159 -0
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/index-DW3W7zaF.js +473 -0
- package/dist/index-DXdD3L9f.js +1460 -0
- package/dist/index-DaJ1272l.js +18613 -0
- package/dist/index-DxPp2gBS.js +992 -0
- package/dist/index-Dy_n2MPD.js +3010 -0
- package/dist/index-oc8HPfOF.js +13583 -0
- package/dist/index.es-Bsr7zP98.js +366 -0
- package/dist/index.es-C-j-Ghef.js +11678 -0
- package/dist/index.es.js +4 -5
- package/dist/{info-C-7imdlv.js → info-BTLQJ-wd.js} +3 -4
- package/dist/{info-circle-CojbxQCA.js → info-circle-Dla9169_.js} +3 -4
- package/dist/{lightbulb-DrfSirtI.js → lightbulb-PN8DA_Wh.js} +3 -4
- package/dist/{mail-yuNzffmW.js → mail-BGYZut_4.js} +3 -4
- package/dist/{mobile-B68qFJIJ.js → mobile-BM760ZzX.js} +3 -4
- package/dist/{more-B5F7-jLe.js → more-rHGnl2ck.js} +3 -4
- package/dist/{network-placeholder-C0IP4D1c.js → network-placeholder-CyQl-3_2.js} +3 -4
- package/dist/{nftPlaceholder-DUEpu8vC.js → nftPlaceholder-nuUJ8nKY.js} +3 -4
- package/dist/{off-kgcptPTJ.js → off-GYlwYDrT.js} +3 -4
- package/dist/{play-store-CpkQM7Tf.js → play-store-Ck01Ez1F.js} +3 -4
- package/dist/{plus-WJX5o6br.js → plus-CQfXWgLw.js} +3 -4
- package/dist/{qr-code-DYSpZOBK.js → qr-code-CyLVwLY7.js} +3 -4
- package/dist/{recycle-horizontal-nN1xwykO.js → recycle-horizontal-DvnWPcEQ.js} +3 -4
- package/dist/{refresh-BDlbkeKx.js → refresh-BOxj8b2n.js} +3 -4
- package/dist/{reown-logo--P11S5yl.js → reown-logo-D1iprOTg.js} +3 -4
- package/dist/{search-DBF3vwq7.js → search-DrPaZPnc.js} +3 -4
- package/dist/secp256k1-DgmH1qVg.js +1251 -0
- package/dist/{send-pvA8KHBc.js → send-ybBREe4b.js} +3 -4
- package/dist/shareicon-D3Qj5j1T.js +262 -0
- package/dist/{sortDown-cDA6MpOw.js → sortDown-CjBaDQTU.js} +13 -14
- package/dist/{swapHorizontal-BI2PzZwN.js → swapHorizontal-BddjZdXK.js} +3 -4
- package/dist/{swapHorizontalBold-CWlwK-F6.js → swapHorizontalBold-B6AWjPZ9.js} +3 -4
- package/dist/{swapHorizontalMedium-BmLVJu35.js → swapHorizontalMedium-CNacWoBn.js} +3 -4
- package/dist/{swapHorizontalRoundedBold-Bu7b_4Tq.js → swapHorizontalRoundedBold-B8VcPnqt.js} +3 -4
- package/dist/{swapVertical-9yVsysvS.js → swapVertical-zY2BbSyQ.js} +3 -4
- package/dist/{telegram-0bWPCnom.js → telegram-DS4l-8Oc.js} +3 -4
- package/dist/{three-dots-V6GJeVIa.js → three-dots-RctNqamK.js} +3 -4
- package/dist/truncate-D9t92mVX.js +7 -0
- package/dist/{twitch-BnXJxO5H.js → twitch-CJ0llIIH.js} +3 -4
- package/dist/{twitterIcon-DKgyPicl.js → twitterIcon-pgvN9-bP.js} +3 -4
- package/dist/unsupportedProp-BJVuEW_b.js +10 -0
- package/dist/useRegisterError-C_YLA1dw.js +9857 -0
- package/dist/validError-CDlJpg_f.js +6 -0
- package/dist/{verify-6SHEYxKY.js → verify-BeZLo1Fq.js} +3 -4
- package/dist/{verify-filled-V7PkY7fi.js → verify-filled-meyb7E16.js} +3 -4
- package/dist/w3m-modal-C-Jp9NVv.js +1471 -0
- package/dist/{wallet-CyIBiiAv.js → wallet-CFcOgSsz.js} +3 -4
- package/dist/{wallet-placeholder-Dy4jQvK8.js → wallet-placeholder-CeUMILZq.js} +3 -4
- package/dist/{walletconnect-CL5PuqLp.js → walletconnect-D6LB1PyC.js} +7 -10
- package/dist/{warning-circle-BbG3KGtg.js → warning-circle-BRtzofvT.js} +3 -4
- package/dist/{x-BKSfqvJ-.js → x-DKQAOOh3.js} +3 -4
- package/package.json +1 -1
- package/dist/AllRoutes-N9u-0kyk.js +0 -2605
- package/dist/AllRoutes-N9u-0kyk.js.map +0 -1
- package/dist/Box-DPSoUHKG.js +0 -61
- package/dist/Box-DPSoUHKG.js.map +0 -1
- package/dist/EstGas-9QzcUupH.js +0 -17109
- package/dist/EstGas-9QzcUupH.js.map +0 -1
- package/dist/Grow-sm7uQW-H.js +0 -2213
- package/dist/Grow-sm7uQW-H.js.map +0 -1
- package/dist/InputComp-BNsmXy6D.js +0 -115
- package/dist/InputComp-BNsmXy6D.js.map +0 -1
- package/dist/LoadRoute-DFIoO0Wm.js +0 -143
- package/dist/LoadRoute-DFIoO0Wm.js.map +0 -1
- package/dist/QuotesProgress-C4vn322J.js +0 -30
- package/dist/QuotesProgress-C4vn322J.js.map +0 -1
- package/dist/SwapAsset-kKtvzzJ_.js +0 -66
- package/dist/SwapAsset-kKtvzzJ_.js.map +0 -1
- package/dist/Tooltip-c1DRaAxV.js +0 -719
- package/dist/Tooltip-c1DRaAxV.js.map +0 -1
- package/dist/TxnButton-BmcX_BPz.js +0 -303
- package/dist/TxnButton-BmcX_BPz.js.map +0 -1
- package/dist/WidgetForm.module-DhUUlwZP.js +0 -14
- package/dist/WidgetForm.module-DhUUlwZP.js.map +0 -1
- package/dist/add-BDjkKnDN.js.map +0 -1
- package/dist/all-wallets-CrBep7Gl.js.map +0 -1
- package/dist/app-store-CwaPvoXY.js.map +0 -1
- package/dist/apple-BA8mnYrP.js.map +0 -1
- package/dist/arrow-bottom-BXdMFUAl.js.map +0 -1
- package/dist/arrow-bottom-circle-DFT4mXIU.js.map +0 -1
- package/dist/arrow-left-BzkeYnqg.js.map +0 -1
- package/dist/arrow-right-DiUAWQjY.js.map +0 -1
- package/dist/arrow-top-86AMrjF7.js.map +0 -1
- package/dist/bank-DN5JAJkK.js.map +0 -1
- package/dist/basic-Bn5vs8SQ.js +0 -7110
- package/dist/basic-Bn5vs8SQ.js.map +0 -1
- package/dist/browser-CIEc-DNj.js.map +0 -1
- package/dist/card-D0J873mK.js.map +0 -1
- package/dist/ccip-DOQk8pZb.js +0 -251
- package/dist/ccip-DOQk8pZb.js.map +0 -1
- package/dist/checkmark-bold-Cvmc9tJb.js.map +0 -1
- package/dist/checkmark-mvlF9aX8.js.map +0 -1
- package/dist/chevron-bottom-CWsU0Wj4.js.map +0 -1
- package/dist/chevron-left-DZoyyvkH.js.map +0 -1
- package/dist/chevron-right-Db1S8IpK.js.map +0 -1
- package/dist/chevron-top-BG2-jrhN.js.map +0 -1
- package/dist/chrome-store-bZ30Z8RD.js.map +0 -1
- package/dist/clock-BQCJkpsN.js.map +0 -1
- package/dist/clockIcon-jSNFFrLy.js +0 -77
- package/dist/clockIcon-jSNFFrLy.js.map +0 -1
- package/dist/close-0442yxHv.js.map +0 -1
- package/dist/coinPlaceholder-npHsRGpi.js.map +0 -1
- package/dist/compass-CA-2HVOX.js.map +0 -1
- package/dist/copy-DZVC8Hxi.js.map +0 -1
- package/dist/core-h4B-syrK.js +0 -17218
- package/dist/core-h4B-syrK.js.map +0 -1
- package/dist/cursor-BmgVIdd4.js +0 -8
- package/dist/cursor-BmgVIdd4.js.map +0 -1
- package/dist/cursor-transparent-wVQvgZAK.js.map +0 -1
- package/dist/desktop-DTAJIXTO.js.map +0 -1
- package/dist/disconnect-D8Si5N8S.js.map +0 -1
- package/dist/discord-tQYw47cV.js.map +0 -1
- package/dist/down-BgR5p6bw.js +0 -810
- package/dist/down-BgR5p6bw.js.map +0 -1
- package/dist/etherscan-CjqNGBR7.js.map +0 -1
- package/dist/ethertousd-BOknTgU4.js +0 -8
- package/dist/ethertousd-BOknTgU4.js.map +0 -1
- package/dist/exclamation-triangle-BhHXY1hF.js.map +0 -1
- package/dist/extension-y15WoviO.js.map +0 -1
- package/dist/external-link--gR7z0qt.js.map +0 -1
- package/dist/facebook-DlX8IWwq.js.map +0 -1
- package/dist/farcaster-CFzTYTRj.js.map +0 -1
- package/dist/filters-BO_y5jSy.js.map +0 -1
- package/dist/getChainIds-BW6u6K7g.js +0 -2432
- package/dist/getChainIds-BW6u6K7g.js.map +0 -1
- package/dist/getCosmosAddress-Q91DQZPn.js +0 -13999
- package/dist/getCosmosAddress-Q91DQZPn.js.map +0 -1
- package/dist/github-B9QjqzQj.js.map +0 -1
- package/dist/google-D9CK21nC.js.map +0 -1
- package/dist/hamburger-DdXejR_U.js +0 -4563
- package/dist/hamburger-DdXejR_U.js.map +0 -1
- package/dist/help-circle-Qf3YDcg6.js.map +0 -1
- package/dist/id-VtdZj5EJ.js.map +0 -1
- package/dist/image-Bb6NRqAG.js.map +0 -1
- package/dist/index-A4USEaqO.js +0 -4218
- package/dist/index-A4USEaqO.js.map +0 -1
- package/dist/index-BnNGphMQ.js +0 -544
- package/dist/index-BnNGphMQ.js.map +0 -1
- package/dist/index-CLkRz935.js +0 -24385
- package/dist/index-CLkRz935.js.map +0 -1
- package/dist/index-CMYftxmy.js +0 -1884
- package/dist/index-CMYftxmy.js.map +0 -1
- package/dist/index-D0RbVaC6.js +0 -12
- package/dist/index-D0RbVaC6.js.map +0 -1
- package/dist/index-D44jBo43.js +0 -35859
- package/dist/index-D44jBo43.js.map +0 -1
- package/dist/index-DArR1lwi.js +0 -1760
- package/dist/index-DArR1lwi.js.map +0 -1
- package/dist/index-DQPPcv1z.js +0 -309
- package/dist/index-DQPPcv1z.js.map +0 -1
- package/dist/index-DYHhV8Ah.js +0 -16079
- package/dist/index-DYHhV8Ah.js.map +0 -1
- package/dist/index-Di4O_5cO.js +0 -1088
- package/dist/index-Di4O_5cO.js.map +0 -1
- package/dist/index-HAMZ-tBE.js +0 -189
- package/dist/index-HAMZ-tBE.js.map +0 -1
- package/dist/index-h0B0Ds4O.js +0 -413
- package/dist/index-h0B0Ds4O.js.map +0 -1
- package/dist/index-sLx4Edw4.js +0 -23
- package/dist/index-sLx4Edw4.js.map +0 -1
- package/dist/index.es-CoUIS9Di.js +0 -12917
- package/dist/index.es-CoUIS9Di.js.map +0 -1
- package/dist/index.es-DvgvELOO.js +0 -476
- package/dist/index.es-DvgvELOO.js.map +0 -1
- package/dist/index.es.js.map +0 -1
- package/dist/info-C-7imdlv.js.map +0 -1
- package/dist/info-circle-CojbxQCA.js.map +0 -1
- package/dist/lightbulb-DrfSirtI.js.map +0 -1
- package/dist/mail-yuNzffmW.js.map +0 -1
- package/dist/mobile-B68qFJIJ.js.map +0 -1
- package/dist/more-B5F7-jLe.js.map +0 -1
- package/dist/network-placeholder-C0IP4D1c.js.map +0 -1
- package/dist/nftPlaceholder-DUEpu8vC.js.map +0 -1
- package/dist/off-kgcptPTJ.js.map +0 -1
- package/dist/play-store-CpkQM7Tf.js.map +0 -1
- package/dist/plus-WJX5o6br.js.map +0 -1
- package/dist/qr-code-DYSpZOBK.js.map +0 -1
- package/dist/recycle-horizontal-nN1xwykO.js.map +0 -1
- package/dist/refresh-BDlbkeKx.js.map +0 -1
- package/dist/reown-logo--P11S5yl.js.map +0 -1
- package/dist/search-DBF3vwq7.js.map +0 -1
- package/dist/secp256k1-CBD0agkt.js +0 -1682
- package/dist/secp256k1-CBD0agkt.js.map +0 -1
- package/dist/send-pvA8KHBc.js.map +0 -1
- package/dist/shareicon-BdQizUDb.js +0 -315
- package/dist/shareicon-BdQizUDb.js.map +0 -1
- package/dist/sortDown-cDA6MpOw.js.map +0 -1
- package/dist/swapHorizontal-BI2PzZwN.js.map +0 -1
- package/dist/swapHorizontalBold-CWlwK-F6.js.map +0 -1
- package/dist/swapHorizontalMedium-BmLVJu35.js.map +0 -1
- package/dist/swapHorizontalRoundedBold-Bu7b_4Tq.js.map +0 -1
- package/dist/swapVertical-9yVsysvS.js.map +0 -1
- package/dist/telegram-0bWPCnom.js.map +0 -1
- package/dist/three-dots-V6GJeVIa.js.map +0 -1
- package/dist/truncate-DSxFWEga.js +0 -8
- package/dist/truncate-DSxFWEga.js.map +0 -1
- package/dist/twitch-BnXJxO5H.js.map +0 -1
- package/dist/twitterIcon-DKgyPicl.js.map +0 -1
- package/dist/unsupportedProp-DvjrBqjA.js +0 -15
- package/dist/unsupportedProp-DvjrBqjA.js.map +0 -1
- package/dist/useRegisterError-DTDRNbyK.js +0 -19289
- package/dist/useRegisterError-DTDRNbyK.js.map +0 -1
- package/dist/validError-rariWQ7G.js +0 -15
- package/dist/validError-rariWQ7G.js.map +0 -1
- package/dist/verify-6SHEYxKY.js.map +0 -1
- package/dist/verify-filled-V7PkY7fi.js.map +0 -1
- package/dist/w3m-modal-DeL22Ji8.js +0 -1722
- package/dist/w3m-modal-DeL22Ji8.js.map +0 -1
- package/dist/wallet-CyIBiiAv.js.map +0 -1
- package/dist/wallet-placeholder-Dy4jQvK8.js.map +0 -1
- package/dist/walletconnect-CL5PuqLp.js.map +0 -1
- package/dist/warning-circle-BbG3KGtg.js.map +0 -1
- package/dist/x-BKSfqvJ-.js.map +0 -1
package/dist/down-BgR5p6bw.js
DELETED
@@ -1,810 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { useRef, useEffect } from "react";
|
3
|
-
import { f as commonjsGlobal, u as useStore } from "./index-D44jBo43.js";
|
4
|
-
import { M as Lottie } from "./useRegisterError-DTDRNbyK.js";
|
5
|
-
var lib = {};
|
6
|
-
var lodash_clonedeep = { exports: {} };
|
7
|
-
lodash_clonedeep.exports;
|
8
|
-
var hasRequiredLodash_clonedeep;
|
9
|
-
function requireLodash_clonedeep() {
|
10
|
-
if (hasRequiredLodash_clonedeep) return lodash_clonedeep.exports;
|
11
|
-
hasRequiredLodash_clonedeep = 1;
|
12
|
-
(function(module, exports) {
|
13
|
-
var LARGE_ARRAY_SIZE = 200;
|
14
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
15
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
16
|
-
var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", promiseTag = "[object Promise]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
|
17
|
-
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
|
18
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
19
|
-
var reFlags = /\w*$/;
|
20
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
21
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
22
|
-
var cloneableTags = {};
|
23
|
-
cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
24
|
-
cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
|
25
|
-
var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
26
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
27
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
28
|
-
var freeExports = exports && !exports.nodeType && exports;
|
29
|
-
var freeModule = freeExports && true && module && !module.nodeType && module;
|
30
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
31
|
-
function addMapEntry(map, pair) {
|
32
|
-
map.set(pair[0], pair[1]);
|
33
|
-
return map;
|
34
|
-
}
|
35
|
-
function addSetEntry(set, value) {
|
36
|
-
set.add(value);
|
37
|
-
return set;
|
38
|
-
}
|
39
|
-
function arrayEach(array, iteratee) {
|
40
|
-
var index = -1, length = array ? array.length : 0;
|
41
|
-
while (++index < length) {
|
42
|
-
if (iteratee(array[index], index, array) === false) {
|
43
|
-
break;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
return array;
|
47
|
-
}
|
48
|
-
function arrayPush(array, values) {
|
49
|
-
var index = -1, length = values.length, offset = array.length;
|
50
|
-
while (++index < length) {
|
51
|
-
array[offset + index] = values[index];
|
52
|
-
}
|
53
|
-
return array;
|
54
|
-
}
|
55
|
-
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
56
|
-
var index = -1, length = array ? array.length : 0;
|
57
|
-
while (++index < length) {
|
58
|
-
accumulator = iteratee(accumulator, array[index], index, array);
|
59
|
-
}
|
60
|
-
return accumulator;
|
61
|
-
}
|
62
|
-
function baseTimes(n, iteratee) {
|
63
|
-
var index = -1, result = Array(n);
|
64
|
-
while (++index < n) {
|
65
|
-
result[index] = iteratee(index);
|
66
|
-
}
|
67
|
-
return result;
|
68
|
-
}
|
69
|
-
function getValue(object, key) {
|
70
|
-
return object == null ? void 0 : object[key];
|
71
|
-
}
|
72
|
-
function isHostObject(value) {
|
73
|
-
var result = false;
|
74
|
-
if (value != null && typeof value.toString != "function") {
|
75
|
-
try {
|
76
|
-
result = !!(value + "");
|
77
|
-
} catch (e) {
|
78
|
-
}
|
79
|
-
}
|
80
|
-
return result;
|
81
|
-
}
|
82
|
-
function mapToArray(map) {
|
83
|
-
var index = -1, result = Array(map.size);
|
84
|
-
map.forEach(function(value, key) {
|
85
|
-
result[++index] = [key, value];
|
86
|
-
});
|
87
|
-
return result;
|
88
|
-
}
|
89
|
-
function overArg(func, transform) {
|
90
|
-
return function(arg) {
|
91
|
-
return func(transform(arg));
|
92
|
-
};
|
93
|
-
}
|
94
|
-
function setToArray(set) {
|
95
|
-
var index = -1, result = Array(set.size);
|
96
|
-
set.forEach(function(value) {
|
97
|
-
result[++index] = value;
|
98
|
-
});
|
99
|
-
return result;
|
100
|
-
}
|
101
|
-
var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
|
102
|
-
var coreJsData = root["__core-js_shared__"];
|
103
|
-
var maskSrcKey = function() {
|
104
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
105
|
-
return uid ? "Symbol(src)_1." + uid : "";
|
106
|
-
}();
|
107
|
-
var funcToString = funcProto.toString;
|
108
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
109
|
-
var objectToString = objectProto.toString;
|
110
|
-
var reIsNative = RegExp(
|
111
|
-
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
112
|
-
);
|
113
|
-
var Buffer = moduleExports ? root.Buffer : void 0, Symbol = root.Symbol, Uint8Array = root.Uint8Array, getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice;
|
114
|
-
var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
|
115
|
-
var DataView = getNative(root, "DataView"), Map = getNative(root, "Map"), Promise2 = getNative(root, "Promise"), Set = getNative(root, "Set"), WeakMap = getNative(root, "WeakMap"), nativeCreate = getNative(Object, "create");
|
116
|
-
var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
|
117
|
-
var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
118
|
-
function Hash(entries) {
|
119
|
-
var index = -1, length = entries ? entries.length : 0;
|
120
|
-
this.clear();
|
121
|
-
while (++index < length) {
|
122
|
-
var entry = entries[index];
|
123
|
-
this.set(entry[0], entry[1]);
|
124
|
-
}
|
125
|
-
}
|
126
|
-
function hashClear() {
|
127
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
128
|
-
}
|
129
|
-
function hashDelete(key) {
|
130
|
-
return this.has(key) && delete this.__data__[key];
|
131
|
-
}
|
132
|
-
function hashGet(key) {
|
133
|
-
var data = this.__data__;
|
134
|
-
if (nativeCreate) {
|
135
|
-
var result = data[key];
|
136
|
-
return result === HASH_UNDEFINED ? void 0 : result;
|
137
|
-
}
|
138
|
-
return hasOwnProperty.call(data, key) ? data[key] : void 0;
|
139
|
-
}
|
140
|
-
function hashHas(key) {
|
141
|
-
var data = this.__data__;
|
142
|
-
return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
|
143
|
-
}
|
144
|
-
function hashSet(key, value) {
|
145
|
-
var data = this.__data__;
|
146
|
-
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
147
|
-
return this;
|
148
|
-
}
|
149
|
-
Hash.prototype.clear = hashClear;
|
150
|
-
Hash.prototype["delete"] = hashDelete;
|
151
|
-
Hash.prototype.get = hashGet;
|
152
|
-
Hash.prototype.has = hashHas;
|
153
|
-
Hash.prototype.set = hashSet;
|
154
|
-
function ListCache(entries) {
|
155
|
-
var index = -1, length = entries ? entries.length : 0;
|
156
|
-
this.clear();
|
157
|
-
while (++index < length) {
|
158
|
-
var entry = entries[index];
|
159
|
-
this.set(entry[0], entry[1]);
|
160
|
-
}
|
161
|
-
}
|
162
|
-
function listCacheClear() {
|
163
|
-
this.__data__ = [];
|
164
|
-
}
|
165
|
-
function listCacheDelete(key) {
|
166
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
167
|
-
if (index < 0) {
|
168
|
-
return false;
|
169
|
-
}
|
170
|
-
var lastIndex = data.length - 1;
|
171
|
-
if (index == lastIndex) {
|
172
|
-
data.pop();
|
173
|
-
} else {
|
174
|
-
splice.call(data, index, 1);
|
175
|
-
}
|
176
|
-
return true;
|
177
|
-
}
|
178
|
-
function listCacheGet(key) {
|
179
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
180
|
-
return index < 0 ? void 0 : data[index][1];
|
181
|
-
}
|
182
|
-
function listCacheHas(key) {
|
183
|
-
return assocIndexOf(this.__data__, key) > -1;
|
184
|
-
}
|
185
|
-
function listCacheSet(key, value) {
|
186
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
187
|
-
if (index < 0) {
|
188
|
-
data.push([key, value]);
|
189
|
-
} else {
|
190
|
-
data[index][1] = value;
|
191
|
-
}
|
192
|
-
return this;
|
193
|
-
}
|
194
|
-
ListCache.prototype.clear = listCacheClear;
|
195
|
-
ListCache.prototype["delete"] = listCacheDelete;
|
196
|
-
ListCache.prototype.get = listCacheGet;
|
197
|
-
ListCache.prototype.has = listCacheHas;
|
198
|
-
ListCache.prototype.set = listCacheSet;
|
199
|
-
function MapCache(entries) {
|
200
|
-
var index = -1, length = entries ? entries.length : 0;
|
201
|
-
this.clear();
|
202
|
-
while (++index < length) {
|
203
|
-
var entry = entries[index];
|
204
|
-
this.set(entry[0], entry[1]);
|
205
|
-
}
|
206
|
-
}
|
207
|
-
function mapCacheClear() {
|
208
|
-
this.__data__ = {
|
209
|
-
"hash": new Hash(),
|
210
|
-
"map": new (Map || ListCache)(),
|
211
|
-
"string": new Hash()
|
212
|
-
};
|
213
|
-
}
|
214
|
-
function mapCacheDelete(key) {
|
215
|
-
return getMapData(this, key)["delete"](key);
|
216
|
-
}
|
217
|
-
function mapCacheGet(key) {
|
218
|
-
return getMapData(this, key).get(key);
|
219
|
-
}
|
220
|
-
function mapCacheHas(key) {
|
221
|
-
return getMapData(this, key).has(key);
|
222
|
-
}
|
223
|
-
function mapCacheSet(key, value) {
|
224
|
-
getMapData(this, key).set(key, value);
|
225
|
-
return this;
|
226
|
-
}
|
227
|
-
MapCache.prototype.clear = mapCacheClear;
|
228
|
-
MapCache.prototype["delete"] = mapCacheDelete;
|
229
|
-
MapCache.prototype.get = mapCacheGet;
|
230
|
-
MapCache.prototype.has = mapCacheHas;
|
231
|
-
MapCache.prototype.set = mapCacheSet;
|
232
|
-
function Stack(entries) {
|
233
|
-
this.__data__ = new ListCache(entries);
|
234
|
-
}
|
235
|
-
function stackClear() {
|
236
|
-
this.__data__ = new ListCache();
|
237
|
-
}
|
238
|
-
function stackDelete(key) {
|
239
|
-
return this.__data__["delete"](key);
|
240
|
-
}
|
241
|
-
function stackGet(key) {
|
242
|
-
return this.__data__.get(key);
|
243
|
-
}
|
244
|
-
function stackHas(key) {
|
245
|
-
return this.__data__.has(key);
|
246
|
-
}
|
247
|
-
function stackSet(key, value) {
|
248
|
-
var cache = this.__data__;
|
249
|
-
if (cache instanceof ListCache) {
|
250
|
-
var pairs = cache.__data__;
|
251
|
-
if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
252
|
-
pairs.push([key, value]);
|
253
|
-
return this;
|
254
|
-
}
|
255
|
-
cache = this.__data__ = new MapCache(pairs);
|
256
|
-
}
|
257
|
-
cache.set(key, value);
|
258
|
-
return this;
|
259
|
-
}
|
260
|
-
Stack.prototype.clear = stackClear;
|
261
|
-
Stack.prototype["delete"] = stackDelete;
|
262
|
-
Stack.prototype.get = stackGet;
|
263
|
-
Stack.prototype.has = stackHas;
|
264
|
-
Stack.prototype.set = stackSet;
|
265
|
-
function arrayLikeKeys(value, inherited) {
|
266
|
-
var result = isArray(value) || isArguments(value) ? baseTimes(value.length, String) : [];
|
267
|
-
var length = result.length, skipIndexes = !!length;
|
268
|
-
for (var key in value) {
|
269
|
-
if (hasOwnProperty.call(value, key) && !(skipIndexes && (key == "length" || isIndex(key, length)))) {
|
270
|
-
result.push(key);
|
271
|
-
}
|
272
|
-
}
|
273
|
-
return result;
|
274
|
-
}
|
275
|
-
function assignValue(object, key, value) {
|
276
|
-
var objValue = object[key];
|
277
|
-
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
|
278
|
-
object[key] = value;
|
279
|
-
}
|
280
|
-
}
|
281
|
-
function assocIndexOf(array, key) {
|
282
|
-
var length = array.length;
|
283
|
-
while (length--) {
|
284
|
-
if (eq(array[length][0], key)) {
|
285
|
-
return length;
|
286
|
-
}
|
287
|
-
}
|
288
|
-
return -1;
|
289
|
-
}
|
290
|
-
function baseAssign(object, source) {
|
291
|
-
return object && copyObject(source, keys(source), object);
|
292
|
-
}
|
293
|
-
function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
|
294
|
-
var result;
|
295
|
-
if (customizer) {
|
296
|
-
result = object ? customizer(value, key, object, stack) : customizer(value);
|
297
|
-
}
|
298
|
-
if (result !== void 0) {
|
299
|
-
return result;
|
300
|
-
}
|
301
|
-
if (!isObject(value)) {
|
302
|
-
return value;
|
303
|
-
}
|
304
|
-
var isArr = isArray(value);
|
305
|
-
if (isArr) {
|
306
|
-
result = initCloneArray(value);
|
307
|
-
if (!isDeep) {
|
308
|
-
return copyArray(value, result);
|
309
|
-
}
|
310
|
-
} else {
|
311
|
-
var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
|
312
|
-
if (isBuffer(value)) {
|
313
|
-
return cloneBuffer(value, isDeep);
|
314
|
-
}
|
315
|
-
if (tag == objectTag || tag == argsTag || isFunc && !object) {
|
316
|
-
if (isHostObject(value)) {
|
317
|
-
return object ? value : {};
|
318
|
-
}
|
319
|
-
result = initCloneObject(isFunc ? {} : value);
|
320
|
-
if (!isDeep) {
|
321
|
-
return copySymbols(value, baseAssign(result, value));
|
322
|
-
}
|
323
|
-
} else {
|
324
|
-
if (!cloneableTags[tag]) {
|
325
|
-
return object ? value : {};
|
326
|
-
}
|
327
|
-
result = initCloneByTag(value, tag, baseClone, isDeep);
|
328
|
-
}
|
329
|
-
}
|
330
|
-
stack || (stack = new Stack());
|
331
|
-
var stacked = stack.get(value);
|
332
|
-
if (stacked) {
|
333
|
-
return stacked;
|
334
|
-
}
|
335
|
-
stack.set(value, result);
|
336
|
-
if (!isArr) {
|
337
|
-
var props = isFull ? getAllKeys(value) : keys(value);
|
338
|
-
}
|
339
|
-
arrayEach(props || value, function(subValue, key2) {
|
340
|
-
if (props) {
|
341
|
-
key2 = subValue;
|
342
|
-
subValue = value[key2];
|
343
|
-
}
|
344
|
-
assignValue(result, key2, baseClone(subValue, isDeep, isFull, customizer, key2, value, stack));
|
345
|
-
});
|
346
|
-
return result;
|
347
|
-
}
|
348
|
-
function baseCreate(proto) {
|
349
|
-
return isObject(proto) ? objectCreate(proto) : {};
|
350
|
-
}
|
351
|
-
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
352
|
-
var result = keysFunc(object);
|
353
|
-
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
354
|
-
}
|
355
|
-
function baseGetTag(value) {
|
356
|
-
return objectToString.call(value);
|
357
|
-
}
|
358
|
-
function baseIsNative(value) {
|
359
|
-
if (!isObject(value) || isMasked(value)) {
|
360
|
-
return false;
|
361
|
-
}
|
362
|
-
var pattern = isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
|
363
|
-
return pattern.test(toSource(value));
|
364
|
-
}
|
365
|
-
function baseKeys(object) {
|
366
|
-
if (!isPrototype(object)) {
|
367
|
-
return nativeKeys(object);
|
368
|
-
}
|
369
|
-
var result = [];
|
370
|
-
for (var key in Object(object)) {
|
371
|
-
if (hasOwnProperty.call(object, key) && key != "constructor") {
|
372
|
-
result.push(key);
|
373
|
-
}
|
374
|
-
}
|
375
|
-
return result;
|
376
|
-
}
|
377
|
-
function cloneBuffer(buffer, isDeep) {
|
378
|
-
if (isDeep) {
|
379
|
-
return buffer.slice();
|
380
|
-
}
|
381
|
-
var result = new buffer.constructor(buffer.length);
|
382
|
-
buffer.copy(result);
|
383
|
-
return result;
|
384
|
-
}
|
385
|
-
function cloneArrayBuffer(arrayBuffer) {
|
386
|
-
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
387
|
-
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
388
|
-
return result;
|
389
|
-
}
|
390
|
-
function cloneDataView(dataView, isDeep) {
|
391
|
-
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
392
|
-
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
393
|
-
}
|
394
|
-
function cloneMap(map, isDeep, cloneFunc) {
|
395
|
-
var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
|
396
|
-
return arrayReduce(array, addMapEntry, new map.constructor());
|
397
|
-
}
|
398
|
-
function cloneRegExp(regexp) {
|
399
|
-
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
400
|
-
result.lastIndex = regexp.lastIndex;
|
401
|
-
return result;
|
402
|
-
}
|
403
|
-
function cloneSet(set, isDeep, cloneFunc) {
|
404
|
-
var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
|
405
|
-
return arrayReduce(array, addSetEntry, new set.constructor());
|
406
|
-
}
|
407
|
-
function cloneSymbol(symbol) {
|
408
|
-
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
409
|
-
}
|
410
|
-
function cloneTypedArray(typedArray, isDeep) {
|
411
|
-
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
412
|
-
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
413
|
-
}
|
414
|
-
function copyArray(source, array) {
|
415
|
-
var index = -1, length = source.length;
|
416
|
-
array || (array = Array(length));
|
417
|
-
while (++index < length) {
|
418
|
-
array[index] = source[index];
|
419
|
-
}
|
420
|
-
return array;
|
421
|
-
}
|
422
|
-
function copyObject(source, props, object, customizer) {
|
423
|
-
object || (object = {});
|
424
|
-
var index = -1, length = props.length;
|
425
|
-
while (++index < length) {
|
426
|
-
var key = props[index];
|
427
|
-
var newValue = void 0;
|
428
|
-
assignValue(object, key, newValue === void 0 ? source[key] : newValue);
|
429
|
-
}
|
430
|
-
return object;
|
431
|
-
}
|
432
|
-
function copySymbols(source, object) {
|
433
|
-
return copyObject(source, getSymbols(source), object);
|
434
|
-
}
|
435
|
-
function getAllKeys(object) {
|
436
|
-
return baseGetAllKeys(object, keys, getSymbols);
|
437
|
-
}
|
438
|
-
function getMapData(map, key) {
|
439
|
-
var data = map.__data__;
|
440
|
-
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
441
|
-
}
|
442
|
-
function getNative(object, key) {
|
443
|
-
var value = getValue(object, key);
|
444
|
-
return baseIsNative(value) ? value : void 0;
|
445
|
-
}
|
446
|
-
var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
|
447
|
-
var getTag = baseGetTag;
|
448
|
-
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
|
449
|
-
getTag = function(value) {
|
450
|
-
var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
|
451
|
-
if (ctorString) {
|
452
|
-
switch (ctorString) {
|
453
|
-
case dataViewCtorString:
|
454
|
-
return dataViewTag;
|
455
|
-
case mapCtorString:
|
456
|
-
return mapTag;
|
457
|
-
case promiseCtorString:
|
458
|
-
return promiseTag;
|
459
|
-
case setCtorString:
|
460
|
-
return setTag;
|
461
|
-
case weakMapCtorString:
|
462
|
-
return weakMapTag;
|
463
|
-
}
|
464
|
-
}
|
465
|
-
return result;
|
466
|
-
};
|
467
|
-
}
|
468
|
-
function initCloneArray(array) {
|
469
|
-
var length = array.length, result = array.constructor(length);
|
470
|
-
if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
|
471
|
-
result.index = array.index;
|
472
|
-
result.input = array.input;
|
473
|
-
}
|
474
|
-
return result;
|
475
|
-
}
|
476
|
-
function initCloneObject(object) {
|
477
|
-
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
478
|
-
}
|
479
|
-
function initCloneByTag(object, tag, cloneFunc, isDeep) {
|
480
|
-
var Ctor = object.constructor;
|
481
|
-
switch (tag) {
|
482
|
-
case arrayBufferTag:
|
483
|
-
return cloneArrayBuffer(object);
|
484
|
-
case boolTag:
|
485
|
-
case dateTag:
|
486
|
-
return new Ctor(+object);
|
487
|
-
case dataViewTag:
|
488
|
-
return cloneDataView(object, isDeep);
|
489
|
-
case float32Tag:
|
490
|
-
case float64Tag:
|
491
|
-
case int8Tag:
|
492
|
-
case int16Tag:
|
493
|
-
case int32Tag:
|
494
|
-
case uint8Tag:
|
495
|
-
case uint8ClampedTag:
|
496
|
-
case uint16Tag:
|
497
|
-
case uint32Tag:
|
498
|
-
return cloneTypedArray(object, isDeep);
|
499
|
-
case mapTag:
|
500
|
-
return cloneMap(object, isDeep, cloneFunc);
|
501
|
-
case numberTag:
|
502
|
-
case stringTag:
|
503
|
-
return new Ctor(object);
|
504
|
-
case regexpTag:
|
505
|
-
return cloneRegExp(object);
|
506
|
-
case setTag:
|
507
|
-
return cloneSet(object, isDeep, cloneFunc);
|
508
|
-
case symbolTag:
|
509
|
-
return cloneSymbol(object);
|
510
|
-
}
|
511
|
-
}
|
512
|
-
function isIndex(value, length) {
|
513
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
514
|
-
return !!length && (typeof value == "number" || reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
515
|
-
}
|
516
|
-
function isKeyable(value) {
|
517
|
-
var type = typeof value;
|
518
|
-
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
519
|
-
}
|
520
|
-
function isMasked(func) {
|
521
|
-
return !!maskSrcKey && maskSrcKey in func;
|
522
|
-
}
|
523
|
-
function isPrototype(value) {
|
524
|
-
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
525
|
-
return value === proto;
|
526
|
-
}
|
527
|
-
function toSource(func) {
|
528
|
-
if (func != null) {
|
529
|
-
try {
|
530
|
-
return funcToString.call(func);
|
531
|
-
} catch (e) {
|
532
|
-
}
|
533
|
-
try {
|
534
|
-
return func + "";
|
535
|
-
} catch (e) {
|
536
|
-
}
|
537
|
-
}
|
538
|
-
return "";
|
539
|
-
}
|
540
|
-
function cloneDeep(value) {
|
541
|
-
return baseClone(value, true, true);
|
542
|
-
}
|
543
|
-
function eq(value, other) {
|
544
|
-
return value === other || value !== value && other !== other;
|
545
|
-
}
|
546
|
-
function isArguments(value) {
|
547
|
-
return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
|
548
|
-
}
|
549
|
-
var isArray = Array.isArray;
|
550
|
-
function isArrayLike(value) {
|
551
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
552
|
-
}
|
553
|
-
function isArrayLikeObject(value) {
|
554
|
-
return isObjectLike(value) && isArrayLike(value);
|
555
|
-
}
|
556
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
557
|
-
function isFunction(value) {
|
558
|
-
var tag = isObject(value) ? objectToString.call(value) : "";
|
559
|
-
return tag == funcTag || tag == genTag;
|
560
|
-
}
|
561
|
-
function isLength(value) {
|
562
|
-
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
563
|
-
}
|
564
|
-
function isObject(value) {
|
565
|
-
var type = typeof value;
|
566
|
-
return !!value && (type == "object" || type == "function");
|
567
|
-
}
|
568
|
-
function isObjectLike(value) {
|
569
|
-
return !!value && typeof value == "object";
|
570
|
-
}
|
571
|
-
function keys(object) {
|
572
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
573
|
-
}
|
574
|
-
function stubArray() {
|
575
|
-
return [];
|
576
|
-
}
|
577
|
-
function stubFalse() {
|
578
|
-
return false;
|
579
|
-
}
|
580
|
-
module.exports = cloneDeep;
|
581
|
-
})(lodash_clonedeep, lodash_clonedeep.exports);
|
582
|
-
return lodash_clonedeep.exports;
|
583
|
-
}
|
584
|
-
var hasRequiredLib;
|
585
|
-
function requireLib() {
|
586
|
-
if (hasRequiredLib) return lib;
|
587
|
-
hasRequiredLib = 1;
|
588
|
-
var __spreadArrays = lib && lib.__spreadArrays || function() {
|
589
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
590
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
591
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
592
|
-
r[k] = a[j];
|
593
|
-
return r;
|
594
|
-
};
|
595
|
-
var __importDefault = lib && lib.__importDefault || function(mod) {
|
596
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
597
|
-
};
|
598
|
-
Object.defineProperty(lib, "__esModule", { value: true });
|
599
|
-
lib.getColors = lib.flatten = lib.replaceColor = lib.colorify = void 0;
|
600
|
-
var lodash_clonedeep_1 = __importDefault(requireLodash_clonedeep());
|
601
|
-
lib.colorify = function(destColors, lottie) {
|
602
|
-
if (destColors === void 0) {
|
603
|
-
destColors = [];
|
604
|
-
}
|
605
|
-
var modifiedColors = [];
|
606
|
-
for (var _i = 0, destColors_1 = destColors; _i < destColors_1.length; _i++) {
|
607
|
-
var color = destColors_1[_i];
|
608
|
-
modifiedColors.push(convertColorToLottieColor(color));
|
609
|
-
}
|
610
|
-
var newLottie = modifyColors(modifiedColors, lodash_clonedeep_1.default(lottie));
|
611
|
-
return newLottie;
|
612
|
-
};
|
613
|
-
var convertColorToLottieColor = function(color) {
|
614
|
-
if (typeof color === "string" && color.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)) {
|
615
|
-
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
|
616
|
-
if (!result) {
|
617
|
-
throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");
|
618
|
-
}
|
619
|
-
return [
|
620
|
-
Math.round(parseInt(result[1], 16) / 255 * 1e3) / 1e3,
|
621
|
-
Math.round(parseInt(result[2], 16) / 255 * 1e3) / 1e3,
|
622
|
-
Math.round(parseInt(result[3], 16) / 255 * 1e3) / 1e3
|
623
|
-
];
|
624
|
-
} else if (typeof color === "object" && color.length === 3 && color.every(function(item) {
|
625
|
-
return item >= 0 && item <= 255;
|
626
|
-
})) {
|
627
|
-
return [
|
628
|
-
Math.round(color[0] / 255 * 1e3) / 1e3,
|
629
|
-
Math.round(color[1] / 255 * 1e3) / 1e3,
|
630
|
-
Math.round(color[2] / 255 * 1e3) / 1e3
|
631
|
-
];
|
632
|
-
} else if (!color) {
|
633
|
-
return void 0;
|
634
|
-
} else {
|
635
|
-
throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");
|
636
|
-
}
|
637
|
-
};
|
638
|
-
var round = function(n) {
|
639
|
-
return Math.round(n * 1e3) / 1e3;
|
640
|
-
};
|
641
|
-
lib.replaceColor = function(sourceColor, targetColor, lottieObj) {
|
642
|
-
var genSourceLottieColor = convertColorToLottieColor(sourceColor);
|
643
|
-
var genTargetLottieColor = convertColorToLottieColor(targetColor);
|
644
|
-
if (!genSourceLottieColor || !genTargetLottieColor) {
|
645
|
-
throw new Error("Proper colors must be used for both source and target");
|
646
|
-
}
|
647
|
-
function doReplace(sourceLottieColor, targetLottieColor, obj) {
|
648
|
-
if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
|
649
|
-
if (sourceLottieColor[0] === obj.s[0] && sourceLottieColor[1] === obj.s[1] && sourceLottieColor[2] === obj.s[2]) {
|
650
|
-
obj.s = __spreadArrays(targetLottieColor, [1]);
|
651
|
-
}
|
652
|
-
} else if (obj.c && obj.c.k) {
|
653
|
-
if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== "number") {
|
654
|
-
doReplace(sourceLottieColor, targetLottieColor, obj.c.k);
|
655
|
-
} else if (sourceLottieColor[0] === round(obj.c.k[0]) && sourceLottieColor[1] === round(obj.c.k[1]) && sourceLottieColor[2] === round(obj.c.k[2])) {
|
656
|
-
obj.c.k = targetLottieColor;
|
657
|
-
}
|
658
|
-
} else {
|
659
|
-
for (var key in obj) {
|
660
|
-
if (typeof obj[key] === "object") {
|
661
|
-
doReplace(sourceLottieColor, targetLottieColor, obj[key]);
|
662
|
-
}
|
663
|
-
}
|
664
|
-
}
|
665
|
-
return obj;
|
666
|
-
}
|
667
|
-
return doReplace(genSourceLottieColor, genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
|
668
|
-
};
|
669
|
-
lib.flatten = function(targetColor, lottieObj) {
|
670
|
-
var genTargetLottieColor = convertColorToLottieColor(targetColor);
|
671
|
-
if (!genTargetLottieColor) {
|
672
|
-
throw new Error("Proper colors must be used for target");
|
673
|
-
}
|
674
|
-
function doFlatten(targetLottieColor, obj) {
|
675
|
-
if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
|
676
|
-
obj.s = __spreadArrays(targetLottieColor, [1]);
|
677
|
-
} else if (obj.c && obj.c.k) {
|
678
|
-
if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== "number") {
|
679
|
-
doFlatten(targetLottieColor, obj.c.k);
|
680
|
-
} else {
|
681
|
-
obj.c.k = targetLottieColor;
|
682
|
-
}
|
683
|
-
} else {
|
684
|
-
for (var key in obj) {
|
685
|
-
if (typeof obj[key] === "object") {
|
686
|
-
doFlatten(targetLottieColor, obj[key]);
|
687
|
-
}
|
688
|
-
}
|
689
|
-
}
|
690
|
-
return obj;
|
691
|
-
}
|
692
|
-
return doFlatten(genTargetLottieColor, lodash_clonedeep_1.default(lottieObj));
|
693
|
-
};
|
694
|
-
var modifyColors = function(colorsArray, lottieObj) {
|
695
|
-
var i = 0;
|
696
|
-
function doModify(colors, obj) {
|
697
|
-
if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
|
698
|
-
if (colors[i]) {
|
699
|
-
obj.s = __spreadArrays(colors[i], [1]);
|
700
|
-
}
|
701
|
-
i++;
|
702
|
-
} else if (obj.c && obj.c.k) {
|
703
|
-
if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== "number") {
|
704
|
-
doModify(colors, obj.c.k);
|
705
|
-
} else {
|
706
|
-
if (colors[i]) {
|
707
|
-
obj.c.k = colors[i];
|
708
|
-
}
|
709
|
-
i++;
|
710
|
-
}
|
711
|
-
}
|
712
|
-
for (var key in obj) {
|
713
|
-
if (typeof obj[key] === "object") {
|
714
|
-
doModify(colors, obj[key]);
|
715
|
-
}
|
716
|
-
}
|
717
|
-
return obj;
|
718
|
-
}
|
719
|
-
return doModify(colorsArray, lottieObj);
|
720
|
-
};
|
721
|
-
var convertLottieColorToRgb = function(lottieColor) {
|
722
|
-
return [Math.round(lottieColor[0] * 255), Math.round(lottieColor[1] * 255), Math.round(lottieColor[2] * 255)];
|
723
|
-
};
|
724
|
-
var convertLottieColorToRgba = function(lottieColor) {
|
725
|
-
return [
|
726
|
-
Math.round(lottieColor[0] * 255),
|
727
|
-
Math.round(lottieColor[1] * 255),
|
728
|
-
Math.round(lottieColor[2] * 255),
|
729
|
-
lottieColor[3]
|
730
|
-
];
|
731
|
-
};
|
732
|
-
lib.getColors = function(lottieObj) {
|
733
|
-
var res = [];
|
734
|
-
function doGet(obj) {
|
735
|
-
if (obj.s && Array.isArray(obj.s) && obj.s.length === 4) {
|
736
|
-
res.push(convertLottieColorToRgba(obj.s));
|
737
|
-
} else if (obj.c && obj.c.k) {
|
738
|
-
if (Array.isArray(obj.c.k) && typeof obj.c.k[0] !== "number") {
|
739
|
-
doGet(obj.c.k);
|
740
|
-
} else {
|
741
|
-
res.push(convertLottieColorToRgb(obj.c.k));
|
742
|
-
}
|
743
|
-
} else {
|
744
|
-
for (var key in obj) {
|
745
|
-
if (typeof obj[key] === "object") {
|
746
|
-
doGet(obj[key]);
|
747
|
-
}
|
748
|
-
}
|
749
|
-
}
|
750
|
-
return res;
|
751
|
-
}
|
752
|
-
doGet(lottieObj);
|
753
|
-
return res;
|
754
|
-
};
|
755
|
-
return lib;
|
756
|
-
}
|
757
|
-
var libExports = requireLib();
|
758
|
-
const v = "4.8.0";
|
759
|
-
const meta = { "g": "LottieFiles AE 3.5.7", "a": "", "k": "", "d": "", "tc": "" };
|
760
|
-
const fr = 30;
|
761
|
-
const ip = 0;
|
762
|
-
const op = 30;
|
763
|
-
const w = 512;
|
764
|
-
const h = 512;
|
765
|
-
const nm = "Comp 2";
|
766
|
-
const ddd = 0;
|
767
|
-
const assets = [];
|
768
|
-
const layers = [{ "ddd": 0, "ind": 1, "ty": 4, "nm": "Shape Layer 1", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 31, "ix": 10 }, "p": { "a": 0, "k": [256, 256, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [410, 410], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "st", "c": { "a": 0, "k": [0.972549019608, 0.972549019608, 0.972549019608, 1], "ix": 3 }, "o": { "a": 0, "k": 100, "ix": 4 }, "w": { "a": 0, "k": 49, "ix": 5 }, "lc": 1, "lj": 1, "ml": 4, "bm": 0, "nm": "Stroke 1", "mn": "ADBE Vector Graphic - Stroke", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [-6, -4], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }, { "ty": "tm", "s": { "a": 1, "k": [{ "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 0, "s": [0] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 7, "s": [18] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 14, "s": [35] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 21, "s": [58] }, { "t": 30, "s": [100] }], "ix": 1 }, "e": { "a": 1, "k": [{ "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 0, "s": [0] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 7, "s": [42] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 14, "s": [69] }, { "i": { "x": [0.833], "y": [0.833] }, "o": { "x": [0.167], "y": [0.167] }, "t": 21, "s": [93] }, { "t": 30, "s": [100] }], "ix": 2 }, "o": { "a": 0, "k": 0, "ix": 3 }, "m": 1, "ix": 2, "nm": "Trim Paths 1", "mn": "ADBE Vector Filter - Trim", "hd": false }], "ip": 0, "op": 30, "st": 0, "bm": 0 }];
|
769
|
-
const markers = [];
|
770
|
-
const spinnerNew = {
|
771
|
-
v,
|
772
|
-
meta,
|
773
|
-
fr,
|
774
|
-
ip,
|
775
|
-
op,
|
776
|
-
w,
|
777
|
-
h,
|
778
|
-
nm,
|
779
|
-
ddd,
|
780
|
-
assets,
|
781
|
-
layers,
|
782
|
-
markers
|
783
|
-
};
|
784
|
-
function Spinner() {
|
785
|
-
const container = useRef(null);
|
786
|
-
const configuration = useStore((state) => state.configuration);
|
787
|
-
useEffect(() => {
|
788
|
-
var _a, _b;
|
789
|
-
const animation = Lottie.loadAnimation({
|
790
|
-
container: container.current,
|
791
|
-
animationData: libExports.colorify(
|
792
|
-
[
|
793
|
-
((_a = configuration == null ? void 0 : configuration.gradientStyle) == null ? void 0 : _a.spinnerColor) ? (_b = configuration == null ? void 0 : configuration.gradientStyle) == null ? void 0 : _b.spinnerColor : "#2CFFE4"
|
794
|
-
],
|
795
|
-
spinnerNew
|
796
|
-
)
|
797
|
-
});
|
798
|
-
return () => animation.destroy();
|
799
|
-
}, []);
|
800
|
-
return /* @__PURE__ */ jsx("div", { style: { width: "100%", height: "100%" }, ref: container });
|
801
|
-
}
|
802
|
-
function Down({ fill }) {
|
803
|
-
return /* @__PURE__ */ jsx("svg", { width: "11", height: "7", viewBox: "0 0 11 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { d: "M0.882812 1.46186L5.42962 6.00875L10.1874 1.25098", stroke: fill, "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
|
804
|
-
}
|
805
|
-
export {
|
806
|
-
Down as D,
|
807
|
-
Spinner as S,
|
808
|
-
libExports as l
|
809
|
-
};
|
810
|
-
//# sourceMappingURL=down-BgR5p6bw.js.map
|