@ape.swap/bonds-sdk 5.1.0 → 5.1.1-test.0
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/_virtual/_commonjsHelpers.js +33 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/_nodeUtil.js.map +1 -0
- package/dist/_virtual/bn.js +4 -0
- package/dist/_virtual/bn.js.map +1 -0
- package/dist/_virtual/common.js +4 -0
- package/dist/_virtual/common.js.map +1 -0
- package/dist/_virtual/common2.js +4 -0
- package/dist/_virtual/common2.js.map +1 -0
- package/dist/_virtual/dom-to-image.js +4 -0
- package/dist/_virtual/dom-to-image.js.map +1 -0
- package/dist/_virtual/hash.js +4 -0
- package/dist/_virtual/hash.js.map +1 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/inherits.js +4 -0
- package/dist/_virtual/inherits.js.map +1 -0
- package/dist/_virtual/inherits_browser.js +4 -0
- package/dist/_virtual/inherits_browser.js.map +1 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isBuffer.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/main.js +4 -0
- package/dist/_virtual/main.js.map +1 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/_virtual/ripemd.js +4 -0
- package/dist/_virtual/ripemd.js.map +1 -0
- package/dist/_virtual/sha.js +4 -0
- package/dist/_virtual/sha.js.map +1 -0
- package/dist/_virtual/sha3.js +4 -0
- package/dist/_virtual/sha3.js.map +1 -0
- package/dist/_virtual/tslib.es6.js +7 -0
- package/dist/_virtual/tslib.es6.js.map +1 -0
- package/dist/_virtual/types.js +4 -0
- package/dist/_virtual/types.js.map +1 -0
- package/dist/_virtual/util.js +4 -0
- package/dist/_virtual/util.js.map +1 -0
- package/dist/_virtual/utils.js +4 -0
- package/dist/_virtual/utils.js.map +1 -0
- package/dist/_virtual/zapTokens.js +4 -0
- package/dist/_virtual/zapTokens.js.map +1 -0
- package/dist/components/BondFilters/BondFilters.js +41 -0
- package/dist/components/BondFilters/BondFilters.js.map +1 -0
- package/dist/components/ChainOptionList/ChainOptionsButtons.js +32 -0
- package/dist/components/ChainOptionList/ChainOptionsButtons.js.map +1 -0
- package/dist/components/ChainOptionList/ChainOptionsList.js +41 -0
- package/dist/components/ChainOptionList/ChainOptionsList.js.map +1 -0
- package/dist/components/ChainOptionList/constants.js +11 -0
- package/dist/components/ChainOptionList/constants.js.map +1 -0
- package/dist/components/ChainOptionList/styles.js +54 -0
- package/dist/components/ChainOptionList/styles.js.map +1 -0
- package/dist/components/ConnectButton/AppKitButton.js +23 -0
- package/dist/components/ConnectButton/AppKitButton.js.map +1 -0
- package/dist/components/ConnectButton/RainbowKitButton.js +36 -0
- package/dist/components/ConnectButton/RainbowKitButton.js.map +1 -0
- package/dist/components/ConnectButton/index.js +27 -0
- package/dist/components/ConnectButton/index.js.map +1 -0
- package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js +42 -0
- package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js.map +1 -0
- package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js +67 -0
- package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js.map +1 -0
- package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js +64 -0
- package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js.map +1 -0
- package/dist/components/CustomClaimModals/AbondModal.js +28 -0
- package/dist/components/CustomClaimModals/AbondModal.js.map +1 -0
- package/dist/components/CustomClaimModals/OabondModal.js +28 -0
- package/dist/components/CustomClaimModals/OabondModal.js.map +1 -0
- package/dist/components/CustomClaimModals/PmusdModal.js +31 -0
- package/dist/components/CustomClaimModals/PmusdModal.js.map +1 -0
- package/dist/components/FavIcons/AddFavToken.js +37 -0
- package/dist/components/FavIcons/AddFavToken.js.map +1 -0
- package/dist/components/FavIcons/FavFilter.js +32 -0
- package/dist/components/FavIcons/FavFilter.js.map +1 -0
- package/dist/components/LoadingSpinner/index.js +51 -0
- package/dist/components/LoadingSpinner/index.js.map +1 -0
- package/dist/components/MenuSelect/MenuSelect.js +32 -0
- package/dist/components/MenuSelect/MenuSelect.js.map +1 -0
- package/dist/components/MenuSelect/RecommendationSelector.js +58 -0
- package/dist/components/MenuSelect/RecommendationSelector.js.map +1 -0
- package/dist/components/NetworkFilter/index.js +113 -0
- package/dist/components/NetworkFilter/index.js.map +1 -0
- package/dist/components/PlaceholderMonkey/index.js +29 -0
- package/dist/components/PlaceholderMonkey/index.js.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +11 -0
- package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/ProgressBar/ProgressBarWrapper.js +24 -0
- package/dist/components/ProgressBar/ProgressBarWrapper.js.map +1 -0
- package/dist/components/ProgressBar/styles.js +15 -0
- package/dist/components/ProgressBar/styles.js.map +1 -0
- package/dist/components/ProgressiveImage/index.js +44 -0
- package/dist/components/ProgressiveImage/index.js.map +1 -0
- package/dist/components/SafeHTMLComponent/index.js +31 -0
- package/dist/components/SafeHTMLComponent/index.js.map +1 -0
- package/dist/components/SlippageModal/index.js +73 -0
- package/dist/components/SlippageModal/index.js.map +1 -0
- package/dist/components/StepBubble/index.js +65 -0
- package/dist/components/StepBubble/index.js.map +1 -0
- package/dist/components/Toast/index.js +65 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/components/Toast/styles.js +30 -0
- package/dist/components/Toast/styles.js.map +1 -0
- package/dist/components/TokenInfoAndName/index.js +72 -0
- package/dist/components/TokenInfoAndName/index.js.map +1 -0
- package/dist/components/TokenSelectorModal/TokenRow.js +39 -0
- package/dist/components/TokenSelectorModal/TokenRow.js.map +1 -0
- package/dist/components/TokenSelectorModal/index.js +66 -0
- package/dist/components/TokenSelectorModal/index.js.map +1 -0
- package/dist/components/TokenSelectorPanel/index.js +67 -0
- package/dist/components/TokenSelectorPanel/index.js.map +1 -0
- package/dist/components/Tooltip/ButtonsRow.js +28 -0
- package/dist/components/Tooltip/ButtonsRow.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +51 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/styles.js +32 -0
- package/dist/components/Tooltip/styles.js.map +1 -0
- package/dist/components/YouTooltip/YouTooltip.js +45 -0
- package/dist/components/YouTooltip/YouTooltip.js.map +1 -0
- package/dist/components/uikit-sdk/Button/Button.js +73 -0
- package/dist/components/uikit-sdk/Button/Button.js.map +1 -0
- package/dist/components/uikit-sdk/Button/IconButton.js +15 -0
- package/dist/components/uikit-sdk/Button/IconButton.js.map +1 -0
- package/dist/components/uikit-sdk/Button/styles.js +21 -0
- package/dist/components/uikit-sdk/Button/styles.js.map +1 -0
- package/dist/components/uikit-sdk/Button/types.js +39 -0
- package/dist/components/uikit-sdk/Button/types.js.map +1 -0
- package/dist/components/uikit-sdk/Checkbox/index.js +27 -0
- package/dist/components/uikit-sdk/Checkbox/index.js.map +1 -0
- package/dist/components/uikit-sdk/Checkbox/types.js +8 -0
- package/dist/components/uikit-sdk/Checkbox/types.js.map +1 -0
- package/dist/components/uikit-sdk/Flex/index.js +11 -0
- package/dist/components/uikit-sdk/Flex/index.js.map +1 -0
- package/dist/components/uikit-sdk/Input/Input.js +55 -0
- package/dist/components/uikit-sdk/Input/Input.js.map +1 -0
- package/dist/components/uikit-sdk/LoadingDots/index.js +42 -0
- package/dist/components/uikit-sdk/LoadingDots/index.js.map +1 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.js +15 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.js.map +1 -0
- package/dist/components/uikit-sdk/Modal/index.js +29 -0
- package/dist/components/uikit-sdk/Modal/index.js.map +1 -0
- package/dist/components/uikit-sdk/Modal/styles.js +47 -0
- package/dist/components/uikit-sdk/Modal/styles.js.map +1 -0
- package/dist/components/uikit-sdk/Select/Select.js +44 -0
- package/dist/components/uikit-sdk/Select/Select.js.map +1 -0
- package/dist/components/uikit-sdk/Select/SelectItem.js +22 -0
- package/dist/components/uikit-sdk/Select/SelectItem.js.map +1 -0
- package/dist/components/uikit-sdk/Select/styles.js +50 -0
- package/dist/components/uikit-sdk/Select/styles.js.map +1 -0
- package/dist/components/uikit-sdk/Select/types.js +39 -0
- package/dist/components/uikit-sdk/Select/types.js.map +1 -0
- package/dist/components/uikit-sdk/Skeleton/index.js +13 -0
- package/dist/components/uikit-sdk/Skeleton/index.js.map +1 -0
- package/dist/components/uikit-sdk/Skeleton/styles.js +43 -0
- package/dist/components/uikit-sdk/Skeleton/styles.js.map +1 -0
- package/dist/components/uikit-sdk/Skeleton/types.js +13 -0
- package/dist/components/uikit-sdk/Skeleton/types.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +11 -0
- package/dist/components/uikit-sdk/Svg/Icons/Close.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Error.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/External.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/External.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/FirePink.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/FirePink.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/More.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/More.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/Question.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Search.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Star.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/Star.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Success.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tick.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Tick.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Timer.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/Timer.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js +8 -0
- package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/URL.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/Website.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +18 -0
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/index.js +229 -0
- package/dist/components/uikit-sdk/Svg/index.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/styles.js +14 -0
- package/dist/components/uikit-sdk/Svg/styles.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/BERA.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/BERA.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/BLAST.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/BLAST.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/KATANA.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/KATANA.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/MONAD.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/MONAD.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +10 -0
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/SOL.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/SOL.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/SONIC.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/SONIC.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js +8 -0
- package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js.map +1 -0
- package/dist/components/uikit-sdk/Svg/types.js +86 -0
- package/dist/components/uikit-sdk/Svg/types.js.map +1 -0
- package/dist/components/uikit-sdk/SwiperDots/index.js +16 -0
- package/dist/components/uikit-sdk/SwiperDots/index.js.map +1 -0
- package/dist/components/uikit-sdk/TabNav/index.js +42 -0
- package/dist/components/uikit-sdk/TabNav/index.js.map +1 -0
- package/dist/components/uikit-sdk/Tag/ListTag.js +10 -0
- package/dist/components/uikit-sdk/Tag/ListTag.js.map +1 -0
- package/dist/components/uikit-sdk/Text/index.js +17 -0
- package/dist/components/uikit-sdk/Text/index.js.map +1 -0
- package/dist/components/uikit-sdk/Text/types.js +16 -0
- package/dist/components/uikit-sdk/Text/types.js.map +1 -0
- package/dist/components/uikit-sdk/Toggle/index.js +15 -0
- package/dist/components/uikit-sdk/Toggle/index.js.map +1 -0
- package/dist/components/uikit-sdk/Toggle/styles.js +22 -0
- package/dist/components/uikit-sdk/Toggle/styles.js.map +1 -0
- package/dist/components/uikit-sdk/TokenImage/index.js +73 -0
- package/dist/components/uikit-sdk/TokenImage/index.js.map +1 -0
- package/dist/components/uikit-sdk/TooltipBubble/index.js +57 -0
- package/dist/components/uikit-sdk/TooltipBubble/index.js.map +1 -0
- package/dist/components/uikit-sdk/TooltipBubble/styles.js +55 -0
- package/dist/components/uikit-sdk/TooltipBubble/styles.js.map +1 -0
- package/dist/components/uikit-sdk/TooltipBubble/types.js +12 -0
- package/dist/components/uikit-sdk/TooltipBubble/types.js.map +1 -0
- package/dist/config/abi/BOND_2_0_0.json.js +1079 -0
- package/dist/config/abi/BOND_2_0_0.json.js.map +1 -0
- package/dist/config/abi/BOND_2_4_0.json.js +2409 -0
- package/dist/config/abi/BOND_2_4_0.json.js.map +1 -0
- package/dist/config/abi/bondNft.json.js +959 -0
- package/dist/config/abi/bondNft.json.js.map +1 -0
- package/dist/config/abi/deposit.json.js +29 -0
- package/dist/config/abi/deposit.json.js.map +1 -0
- package/dist/config/abi/depositSig.json.js +39 -0
- package/dist/config/abi/depositSig.json.js.map +1 -0
- package/dist/config/abi/erc20.json.js +229 -0
- package/dist/config/abi/erc20.json.js.map +1 -0
- package/dist/config/abi/launchBond_v2_4_1.json.js +2358 -0
- package/dist/config/abi/launchBond_v2_4_1.json.js.map +1 -0
- package/dist/config/abi/lensContract.json.js +338 -0
- package/dist/config/abi/lensContract.json.js.map +1 -0
- package/dist/config/abi/multicallv2.json.js +151 -0
- package/dist/config/abi/multicallv2.json.js.map +1 -0
- package/dist/config/abi/usdtETH.json.js +704 -0
- package/dist/config/abi/usdtETH.json.js.map +1 -0
- package/dist/config/constants/addresses.js +50 -0
- package/dist/config/constants/addresses.js.map +1 -0
- package/dist/config/constants/chains.js +139 -0
- package/dist/config/constants/chains.js.map +1 -0
- package/dist/config/constants/networks.js +89 -0
- package/dist/config/constants/networks.js.map +1 -0
- package/dist/config/constants/queryKeys.js +29 -0
- package/dist/config/constants/queryKeys.js.map +1 -0
- package/dist/config/constants/tooltips.js +20 -0
- package/dist/config/constants/tooltips.js.map +1 -0
- package/dist/config/constants/variables.js +42 -0
- package/dist/config/constants/variables.js.map +1 -0
- package/dist/config/idl/solanaProgramIdl.json.js +6 -0
- package/dist/config/idl/solanaProgramIdl.json.js.map +1 -0
- package/dist/constants/solanaConstants.js +41 -0
- package/dist/constants/solanaConstants.js.map +1 -0
- package/dist/contexts/ModalContext.js +72 -0
- package/dist/contexts/ModalContext.js.map +1 -0
- package/dist/contexts/Popups.js +29 -0
- package/dist/contexts/Popups.js.map +1 -0
- package/dist/contexts/SwiperProvider.js +21 -0
- package/dist/contexts/SwiperProvider.js.map +1 -0
- package/dist/hooks/accounts/useEVMAccount.js +13 -0
- package/dist/hooks/accounts/useEVMAccount.js.map +1 -0
- package/dist/hooks/accounts/useSOLAccount.js +17 -0
- package/dist/hooks/accounts/useSOLAccount.js.map +1 -0
- package/dist/hooks/useDebounce.js +21 -0
- package/dist/hooks/useDebounce.js.map +1 -0
- package/dist/hooks/useIsMobile.js +22 -0
- package/dist/hooks/useIsMobile.js.map +1 -0
- package/dist/hooks/useModal.js +34 -0
- package/dist/hooks/useModal.js.map +1 -0
- package/dist/hooks/useMonitorTx.js +26 -0
- package/dist/hooks/useMonitorTx.js.map +1 -0
- package/dist/hooks/useSendReferenceId.js +22 -0
- package/dist/hooks/useSendReferenceId.js.map +1 -0
- package/dist/hooks/useSortedZapList.js +56 -0
- package/dist/hooks/useSortedZapList.js.map +1 -0
- package/dist/hooks/useSwiper.js +13 -0
- package/dist/hooks/useSwiper.js.map +1 -0
- package/dist/hooks/useTokenFromZapList.js +15 -0
- package/dist/hooks/useTokenFromZapList.js.map +1 -0
- package/dist/hooks/useTopTags.js +47 -0
- package/dist/hooks/useTopTags.js.map +1 -0
- package/dist/main.d.ts +23 -0
- package/dist/main.js +18 -89923
- package/dist/main.js.map +1 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js +698 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js.map +1 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js +27 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js.map +1 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js +1078 -0
- package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js.map +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +500 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +56 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +152 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +153 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +22 -0
- package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/package.json.js +6 -0
- package/dist/node_modules/@emotion/react/package.json.js.map +1 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +225 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +139 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +14 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +55 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +17 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js +97 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js +149 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js +27 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js +21 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js +211 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js +19 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js +31 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js +27 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js +23 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js +44 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js +20 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js +59 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js +855 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js.map +1 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js +610 -0
- package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js.map +1 -0
- package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js +67 -0
- package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js +303 -0
- package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/address/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/address/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/address/lib.esm/index.js +111 -0
- package/dist/node_modules/@ethersproject/address/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js +21 -0
- package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js.map +1 -0
- package/dist/node_modules/@ethersproject/basex/lib.esm/index.js +121 -0
- package/dist/node_modules/@ethersproject/basex/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js +296 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js.map +1 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js +361 -0
- package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js.map +1 -0
- package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js +403 -0
- package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js +4 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js.map +1 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js +9 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js.map +1 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js +4 -0
- package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js.map +1 -0
- package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js +894 -0
- package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js +257 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js +37 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js +136 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/id.js +9 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/id.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js +65 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js.map +1 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js +444 -0
- package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js.map +1 -0
- package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js +9 -0
- package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/logger/lib.esm/index.js +353 -0
- package/dist/node_modules/@ethersproject/logger/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/networks/lib.esm/index.js +267 -0
- package/dist/node_modules/@ethersproject/networks/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/properties/lib.esm/index.js +128 -0
- package/dist/node_modules/@ethersproject/properties/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js +2008 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js.map +1 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js +423 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js.map +1 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js +675 -0
- package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js.map +1 -0
- package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js +188 -0
- package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js +121 -0
- package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js +9 -0
- package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js.map +1 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js +2479 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js.map +1 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js +77 -0
- package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js +220 -0
- package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js.map +1 -0
- package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js +280 -0
- package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/units/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/units/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/units/lib.esm/index.js +29 -0
- package/dist/node_modules/@ethersproject/units/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/_version.js +4 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/_version.js.map +1 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js +70 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js.map +1 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/index.js +405 -0
- package/dist/node_modules/@ethersproject/web/lib.esm/index.js.map +1 -0
- package/dist/node_modules/@jup-ag/api/dist/index.js +792 -0
- package/dist/node_modules/@jup-ag/api/dist/index.js.map +1 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.js +583 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js +382 -0
- package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js +322 -0
- package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js +20 -0
- package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js +76 -0
- package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js +9 -0
- package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js +331 -0
- package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js.map +1 -0
- package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js +46 -0
- package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js.map +1 -0
- package/dist/node_modules/available-typed-arrays/index.js +30 -0
- package/dist/node_modules/available-typed-arrays/index.js.map +1 -0
- package/dist/node_modules/base64-js/index.js +153 -0
- package/dist/node_modules/base64-js/index.js.map +1 -0
- package/dist/node_modules/bignumber.js/bignumber.js +2908 -0
- package/dist/node_modules/bignumber.js/bignumber.js.map +1 -0
- package/dist/node_modules/bn.js/lib/bn.js +3364 -0
- package/dist/node_modules/bn.js/lib/bn.js.map +1 -0
- package/dist/node_modules/buffer/index.js +2111 -0
- package/dist/node_modules/buffer/index.js.map +1 -0
- package/dist/node_modules/call-bind/index.js +41 -0
- package/dist/node_modules/call-bind/index.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +25 -0
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +24 -0
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +14 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +14 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js +30 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js.map +1 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +14 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js.map +1 -0
- package/dist/node_modules/call-bound/index.js +32 -0
- package/dist/node_modules/call-bound/index.js.map +1 -0
- package/dist/node_modules/chart.js/dist/chart.js +8079 -0
- package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +2685 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
- package/dist/node_modules/deepmerge/dist/cjs.js +138 -0
- package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
- package/dist/node_modules/define-data-property/index.js +71 -0
- package/dist/node_modules/define-data-property/index.js.map +1 -0
- package/dist/node_modules/dom-to-image/src/dom-to-image.js +776 -0
- package/dist/node_modules/dom-to-image/src/dom-to-image.js.map +1 -0
- package/dist/node_modules/dunder-proto/get.js +43 -0
- package/dist/node_modules/dunder-proto/get.js.map +1 -0
- package/dist/node_modules/es-define-property/index.js +24 -0
- package/dist/node_modules/es-define-property/index.js.map +1 -0
- package/dist/node_modules/es-errors/eval.js +14 -0
- package/dist/node_modules/es-errors/eval.js.map +1 -0
- package/dist/node_modules/es-errors/index.js +14 -0
- package/dist/node_modules/es-errors/index.js.map +1 -0
- package/dist/node_modules/es-errors/range.js +14 -0
- package/dist/node_modules/es-errors/range.js.map +1 -0
- package/dist/node_modules/es-errors/ref.js +14 -0
- package/dist/node_modules/es-errors/ref.js.map +1 -0
- package/dist/node_modules/es-errors/syntax.js +14 -0
- package/dist/node_modules/es-errors/syntax.js.map +1 -0
- package/dist/node_modules/es-errors/type.js +14 -0
- package/dist/node_modules/es-errors/type.js.map +1 -0
- package/dist/node_modules/es-errors/uri.js +14 -0
- package/dist/node_modules/es-errors/uri.js.map +1 -0
- package/dist/node_modules/es-object-atoms/index.js +14 -0
- package/dist/node_modules/es-object-atoms/index.js.map +1 -0
- package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js +239 -0
- package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js.map +1 -0
- package/dist/node_modules/fancy-canvas/canvas-rendering-target.js +85 -0
- package/dist/node_modules/fancy-canvas/canvas-rendering-target.js.map +1 -0
- package/dist/node_modules/fancy-canvas/device-pixel-ratio.js +63 -0
- package/dist/node_modules/fancy-canvas/device-pixel-ratio.js.map +1 -0
- package/dist/node_modules/fancy-canvas/size.js +20 -0
- package/dist/node_modules/fancy-canvas/size.js.map +1 -0
- package/dist/node_modules/for-each/index.js +81 -0
- package/dist/node_modules/for-each/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +323 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +118 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +388 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +88 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +87 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +169 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js +81 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +107 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +61 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +166 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +72 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +82 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +485 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +131 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +158 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +134 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +73 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +102 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +135 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +89 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +58 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +95 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +120 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +55 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +1585 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +113 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +480 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +132 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +54 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +58 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +66 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +74 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +165 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +333 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/array.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/array.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +79 -0
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +95 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/index.js +314 -0
- package/dist/node_modules/framer-motion/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +93 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/function-bind/implementation.js +94 -0
- package/dist/node_modules/function-bind/implementation.js.map +1 -0
- package/dist/node_modules/function-bind/index.js +17 -0
- package/dist/node_modules/function-bind/index.js.map +1 -0
- package/dist/node_modules/generator-function/index.js +17 -0
- package/dist/node_modules/generator-function/index.js.map +1 -0
- package/dist/node_modules/get-intrinsic/index.js +414 -0
- package/dist/node_modules/get-intrinsic/index.js.map +1 -0
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +18 -0
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js.map +1 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +14 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js.map +1 -0
- package/dist/node_modules/get-proto/index.js +41 -0
- package/dist/node_modules/get-proto/index.js.map +1 -0
- package/dist/node_modules/gopd/gOPD.js +14 -0
- package/dist/node_modules/gopd/gOPD.js.map +1 -0
- package/dist/node_modules/gopd/index.js +27 -0
- package/dist/node_modules/gopd/index.js.map +1 -0
- package/dist/node_modules/has-property-descriptors/index.js +34 -0
- package/dist/node_modules/has-property-descriptors/index.js.map +1 -0
- package/dist/node_modules/has-symbols/index.js +26 -0
- package/dist/node_modules/has-symbols/index.js.map +1 -0
- package/dist/node_modules/has-symbols/shams.js +55 -0
- package/dist/node_modules/has-symbols/shams.js.map +1 -0
- package/dist/node_modules/has-tostringtag/shams.js +20 -0
- package/dist/node_modules/has-tostringtag/shams.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/common.js +98 -0
- package/dist/node_modules/hash.js/lib/hash/common.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/hmac.js +52 -0
- package/dist/node_modules/hash.js/lib/hash/hmac.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/ripemd.js +153 -0
- package/dist/node_modules/hash.js/lib/hash/ripemd.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/1.js +82 -0
- package/dist/node_modules/hash.js/lib/hash/sha/1.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/224.js +34 -0
- package/dist/node_modules/hash.js/lib/hash/sha/224.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/256.js +114 -0
- package/dist/node_modules/hash.js/lib/hash/sha/256.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/384.js +40 -0
- package/dist/node_modules/hash.js/lib/hash/sha/384.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/512.js +337 -0
- package/dist/node_modules/hash.js/lib/hash/sha/512.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha/common.js +54 -0
- package/dist/node_modules/hash.js/lib/hash/sha/common.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/sha.js +15 -0
- package/dist/node_modules/hash.js/lib/hash/sha.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash/utils.js +283 -0
- package/dist/node_modules/hash.js/lib/hash/utils.js.map +1 -0
- package/dist/node_modules/hash.js/lib/hash.js +34 -0
- package/dist/node_modules/hash.js/lib/hash.js.map +1 -0
- package/dist/node_modules/hasown/index.js +20 -0
- package/dist/node_modules/hasown/index.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/ieee754/index.js +91 -0
- package/dist/node_modules/ieee754/index.js.map +1 -0
- package/dist/node_modules/inherits/inherits.js +23 -0
- package/dist/node_modules/inherits/inherits.js.map +1 -0
- package/dist/node_modules/inherits/inherits_browser.js +39 -0
- package/dist/node_modules/inherits/inherits_browser.js.map +1 -0
- package/dist/node_modules/is-arguments/index.js +57 -0
- package/dist/node_modules/is-arguments/index.js.map +1 -0
- package/dist/node_modules/is-callable/index.js +111 -0
- package/dist/node_modules/is-callable/index.js.map +1 -0
- package/dist/node_modules/is-generator-function/index.js +47 -0
- package/dist/node_modules/is-generator-function/index.js.map +1 -0
- package/dist/node_modules/is-regex/index.js +84 -0
- package/dist/node_modules/is-regex/index.js.map +1 -0
- package/dist/node_modules/is-typed-array/index.js +20 -0
- package/dist/node_modules/is-typed-array/index.js.map +1 -0
- package/dist/node_modules/js-sha3/src/sha3.js +661 -0
- package/dist/node_modules/js-sha3/src/sha3.js.map +1 -0
- package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js +14 -0
- package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +13 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +41 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +41 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +13 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +41 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +13 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +13 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +34 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +37 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +13 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +29 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +22 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +26 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +59 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +25 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +24 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +27 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +26 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +28 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +44 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +30 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +26 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +35 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +17 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +27 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +24 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +34 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +95 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +68 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +16 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +55 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +67 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +40 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +36 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +29 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +44 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +18 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +21 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +35 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +24 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +42 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +24 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +18 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +82 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +17 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +29 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +26 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +91 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +122 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +95 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +23 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +23 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +30 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +23 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +51 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +36 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +69 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +17 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +49 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +20 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +21 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +35 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +28 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +28 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +27 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +29 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +38 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +35 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +19 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +25 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +22 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +20 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +17 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +40 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +24 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +21 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +31 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +28 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +23 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +21 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +21 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +27 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +22 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +24 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +31 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +42 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +26 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +19 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +14 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +23 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +18 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +22 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +20 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +22 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +18 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +18 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +41 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +27 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +32 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +23 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +30 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +23 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/chunk.js +60 -0
- package/dist/node_modules/lodash/chunk.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +41 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/flatten.js +30 -0
- package/dist/node_modules/lodash/flatten.js.map +1 -0
- package/dist/node_modules/lodash/get.js +41 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +40 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +25 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +42 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +34 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +39 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +51 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +43 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +39 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +35 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +33 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +35 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +34 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +44 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +78 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +21 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/property.js +40 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +27 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +22 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +47 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +41 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +71 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +33 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +40 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/math-intrinsics/abs.js +14 -0
- package/dist/node_modules/math-intrinsics/abs.js.map +1 -0
- package/dist/node_modules/math-intrinsics/floor.js +14 -0
- package/dist/node_modules/math-intrinsics/floor.js.map +1 -0
- package/dist/node_modules/math-intrinsics/isNaN.js +16 -0
- package/dist/node_modules/math-intrinsics/isNaN.js.map +1 -0
- package/dist/node_modules/math-intrinsics/max.js +14 -0
- package/dist/node_modules/math-intrinsics/max.js.map +1 -0
- package/dist/node_modules/math-intrinsics/min.js +14 -0
- package/dist/node_modules/math-intrinsics/min.js.map +1 -0
- package/dist/node_modules/math-intrinsics/pow.js +14 -0
- package/dist/node_modules/math-intrinsics/pow.js.map +1 -0
- package/dist/node_modules/math-intrinsics/round.js +14 -0
- package/dist/node_modules/math-intrinsics/round.js.map +1 -0
- package/dist/node_modules/math-intrinsics/sign.js +23 -0
- package/dist/node_modules/math-intrinsics/sign.js.map +1 -0
- package/dist/node_modules/minimalistic-assert/index.js +14 -0
- package/dist/node_modules/minimalistic-assert/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +83 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +45 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +77 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +13 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/possible-typed-array-names/index.js +27 -0
- package/dist/node_modules/possible-typed-array-names/index.js.map +1 -0
- package/dist/node_modules/primereact/api/api.esm.js +120 -0
- package/dist/node_modules/primereact/api/api.esm.js.map +1 -0
- package/dist/node_modules/primereact/componentbase/componentbase.esm.js +357 -0
- package/dist/node_modules/primereact/componentbase/componentbase.esm.js.map +1 -0
- package/dist/node_modules/primereact/hooks/hooks.esm.js +276 -0
- package/dist/node_modules/primereact/hooks/hooks.esm.js.map +1 -0
- package/dist/node_modules/primereact/knob/knob.esm.js +388 -0
- package/dist/node_modules/primereact/knob/knob.esm.js.map +1 -0
- package/dist/node_modules/primereact/utils/utils.esm.js +2155 -0
- package/dist/node_modules/primereact/utils/utils.esm.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +14 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-chartjs-2/dist/index.js +143 -0
- package/dist/node_modules/react-chartjs-2/dist/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +14 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/safe-regex-test/index.js +31 -0
- package/dist/node_modules/safe-regex-test/index.js.map +1 -0
- package/dist/node_modules/set-function-length/index.js +58 -0
- package/dist/node_modules/set-function-length/index.js.map +1 -0
- package/dist/node_modules/stylis/src/Enum.js +13 -0
- package/dist/node_modules/stylis/src/Enum.js.map +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +33 -0
- package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
- package/dist/node_modules/stylis/src/Parser.js +194 -0
- package/dist/node_modules/stylis/src/Parser.js.map +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +39 -0
- package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +224 -0
- package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
- package/dist/node_modules/stylis/src/Utility.js +118 -0
- package/dist/node_modules/stylis/src/Utility.js.map +1 -0
- package/dist/node_modules/swiper/shared/ssr-window.esm.js +147 -0
- package/dist/node_modules/swiper/shared/ssr-window.esm.js.map +1 -0
- package/dist/node_modules/swiper/shared/swiper-core.js +3952 -0
- package/dist/node_modules/swiper/shared/swiper-core.js.map +1 -0
- package/dist/node_modules/swiper/shared/update-on-virtual-data.js +132 -0
- package/dist/node_modules/swiper/shared/update-on-virtual-data.js.map +1 -0
- package/dist/node_modules/swiper/shared/update-swiper.js +233 -0
- package/dist/node_modules/swiper/shared/update-swiper.js.map +1 -0
- package/dist/node_modules/swiper/shared/utils.js +303 -0
- package/dist/node_modules/swiper/shared/utils.js.map +1 -0
- package/dist/node_modules/swiper/swiper-react.js +390 -0
- package/dist/node_modules/swiper/swiper-react.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +400 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/util/support/isBuffer.js +14 -0
- package/dist/node_modules/util/support/isBuffer.js.map +1 -0
- package/dist/node_modules/util/support/types.js +348 -0
- package/dist/node_modules/util/support/types.js.map +1 -0
- package/dist/node_modules/util/util.js +730 -0
- package/dist/node_modules/util/util.js.map +1 -0
- package/dist/node_modules/viem/_esm/constants/unit.js +7 -0
- package/dist/node_modules/viem/_esm/constants/unit.js.map +1 -0
- package/dist/node_modules/viem/_esm/errors/base.js +92 -0
- package/dist/node_modules/viem/_esm/errors/base.js.map +1 -0
- package/dist/node_modules/viem/_esm/errors/unit.js +12 -0
- package/dist/node_modules/viem/_esm/errors/unit.js.map +1 -0
- package/dist/node_modules/viem/_esm/errors/version.js +4 -0
- package/dist/node_modules/viem/_esm/errors/version.js.map +1 -0
- package/dist/node_modules/viem/_esm/utils/unit/parseEther.js +20 -0
- package/dist/node_modules/viem/_esm/utils/unit/parseEther.js.map +1 -0
- package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js +53 -0
- package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js.map +1 -0
- package/dist/node_modules/which-typed-array/index.js +136 -0
- package/dist/node_modules/which-typed-array/index.js.map +1 -0
- package/dist/providers/index.js +63 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/state/abtesting/useCookie.js +40 -0
- package/dist/state/abtesting/useCookie.js.map +1 -0
- package/dist/state/activeView/index.js +40 -0
- package/dist/state/activeView/index.js.map +1 -0
- package/dist/state/allowance/useAllowance.js +139 -0
- package/dist/state/allowance/useAllowance.js.map +1 -0
- package/dist/state/balance/useCurrencyBalance.js +40 -0
- package/dist/state/balance/useCurrencyBalance.js.map +1 -0
- package/dist/state/balance/useCurrencyBalanceSolana.js +43 -0
- package/dist/state/balance/useCurrencyBalanceSolana.js.map +1 -0
- package/dist/state/balance/useUserTokensBalance.js +100 -0
- package/dist/state/balance/useUserTokensBalance.js.map +1 -0
- package/dist/state/bondApiStats/useGetBondApiStats.js +21 -0
- package/dist/state/bondApiStats/useGetBondApiStats.js.map +1 -0
- package/dist/state/bonds/fetchBillsUser.js +157 -0
- package/dist/state/bonds/fetchBillsUser.js.map +1 -0
- package/dist/state/bonds/fetchBillsUserSolana.js +167 -0
- package/dist/state/bonds/fetchBillsUserSolana.js.map +1 -0
- package/dist/state/bonds/useBondsData.js +84 -0
- package/dist/state/bonds/useBondsData.js.map +1 -0
- package/dist/state/bonds/useBondsList.js +35 -0
- package/dist/state/bonds/useBondsList.js.map +1 -0
- package/dist/state/bonds/useBondsListPreTGE.js +36 -0
- package/dist/state/bonds/useBondsListPreTGE.js.map +1 -0
- package/dist/state/bonds/useTierProofSignature.js +46 -0
- package/dist/state/bonds/useTierProofSignature.js.map +1 -0
- package/dist/state/bonds/useUserBonds.js +131 -0
- package/dist/state/bonds/useUserBonds.js.map +1 -0
- package/dist/state/bonds/useUserBondsPreTGE.js +151 -0
- package/dist/state/bonds/useUserBondsPreTGE.js.map +1 -0
- package/dist/state/bonds/utils.js +330 -0
- package/dist/state/bonds/utils.js.map +1 -0
- package/dist/state/chainFilterOption/useChainFilterOption.js +35 -0
- package/dist/state/chainFilterOption/useChainFilterOption.js.map +1 -0
- package/dist/state/favoriteTokens/useFavoriteTokens.js +47 -0
- package/dist/state/favoriteTokens/useFavoriteTokens.js.map +1 -0
- package/dist/state/historicalPrice/useHistoricalPrice.js +26 -0
- package/dist/state/historicalPrice/useHistoricalPrice.js.map +1 -0
- package/dist/state/hotBonds/useHotBonds.js +51 -0
- package/dist/state/hotBonds/useHotBonds.js.map +1 -0
- package/dist/state/popups/usePopups.js +57 -0
- package/dist/state/popups/usePopups.js.map +1 -0
- package/dist/state/price/useCurrencyPrice.js +22 -0
- package/dist/state/price/useCurrencyPrice.js.map +1 -0
- package/dist/state/recommendations/useGetBondRecommendations.js +23 -0
- package/dist/state/recommendations/useGetBondRecommendations.js.map +1 -0
- package/dist/state/slippage/useSlippage.js +40 -0
- package/dist/state/slippage/useSlippage.js.map +1 -0
- package/dist/state/tiers/useTierPoints.js +102 -0
- package/dist/state/tiers/useTierPoints.js.map +1 -0
- package/dist/state/tokenPrices/useTokenPrices.js +36 -0
- package/dist/state/tokenPrices/useTokenPrices.js.map +1 -0
- package/dist/state/useSDKConfig.js +39 -0
- package/dist/state/useSDKConfig.js.map +1 -0
- package/dist/state/zap/getChainParam.js +58 -0
- package/dist/state/zap/getChainParam.js.map +1 -0
- package/dist/state/zap/useJupiterSolanaQuote.js +128 -0
- package/dist/state/zap/useJupiterSolanaQuote.js.map +1 -0
- package/dist/state/zap/useSoulZapBondQuote.js +168 -0
- package/dist/state/zap/useSoulZapBondQuote.js.map +1 -0
- package/dist/theme/base.js +125 -0
- package/dist/theme/base.js.map +1 -0
- package/dist/theme/colors.js +25 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/components.js +321 -0
- package/dist/theme/components.js.map +1 -0
- package/dist/theme/index.js +8 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/types/bondCodec.js +24 -0
- package/dist/types/bondCodec.js.map +1 -0
- package/dist/types/bondIssuanceCodec.js +32 -0
- package/dist/types/bondIssuanceCodec.js.map +1 -0
- package/dist/types/bondPricingCodec.js +22 -0
- package/dist/types/bondPricingCodec.js.map +1 -0
- package/dist/types/bondTermCodec.js +24 -0
- package/dist/types/bondTermCodec.js.map +1 -0
- package/dist/utils/calculateSolanaTrueBillPrice.js +71 -0
- package/dist/utils/calculateSolanaTrueBillPrice.js.map +1 -0
- package/dist/utils/campaignStyles.js +54 -0
- package/dist/utils/campaignStyles.js.map +1 -0
- package/dist/utils/convertToTokenValue.js +27 -0
- package/dist/utils/convertToTokenValue.js.map +1 -0
- package/dist/utils/dates/formatDate.js +16 -0
- package/dist/utils/dates/formatDate.js.map +1 -0
- package/dist/utils/derivePda.js +9 -0
- package/dist/utils/derivePda.js.map +1 -0
- package/dist/utils/displayHelpers.js +238 -0
- package/dist/utils/displayHelpers.js.map +1 -0
- package/dist/utils/formatNumber.js +52 -0
- package/dist/utils/formatNumber.js.map +1 -0
- package/dist/utils/getBalanceNumber.js +11 -0
- package/dist/utils/getBalanceNumber.js.map +1 -0
- package/dist/utils/getDotPos.js +12 -0
- package/dist/utils/getDotPos.js.map +1 -0
- package/dist/utils/getNativeTicker.js +21 -0
- package/dist/utils/getNativeTicker.js.map +1 -0
- package/dist/utils/getSolanaAccount.js +116 -0
- package/dist/utils/getSolanaAccount.js.map +1 -0
- package/dist/utils/getTimePeriods.js +67 -0
- package/dist/utils/getTimePeriods.js.map +1 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/multicall.js +49 -0
- package/dist/utils/multicall.js.map +1 -0
- package/dist/utils/numbers.js +7 -0
- package/dist/utils/numbers.js.map +1 -0
- package/dist/utils/remove0xPrefix.js +9 -0
- package/dist/utils/remove0xPrefix.js.map +1 -0
- package/dist/utils/reportError.js +31 -0
- package/dist/utils/reportError.js.map +1 -0
- package/dist/utils/roundNumber.js +16 -0
- package/dist/utils/roundNumber.js.map +1 -0
- package/dist/utils/solanaAtaHelper.js +40 -0
- package/dist/utils/solanaAtaHelper.js.map +1 -0
- package/dist/utils/solanaMulticall.js +44 -0
- package/dist/utils/solanaMulticall.js.map +1 -0
- package/dist/utils/solanaRpc.js +13 -0
- package/dist/utils/solanaRpc.js.map +1 -0
- package/dist/utils/track.js +7 -0
- package/dist/utils/track.js.map +1 -0
- package/dist/views/Bonds/Bonds.js +196 -0
- package/dist/views/Bonds/Bonds.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/ActiveBondRows.js +66 -0
- package/dist/views/Bonds/components/BondRows/ActiveBondRows.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/BondRow.js +70 -0
- package/dist/views/Bonds/components/BondRows/BondRow.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/ChainTitle.js +39 -0
- package/dist/views/Bonds/components/BondRows/ChainTitle.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/ModalHandler.js +104 -0
- package/dist/views/Bonds/components/BondRows/ModalHandler.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js +39 -0
- package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js.map +1 -0
- package/dist/views/Bonds/components/BondRows/SoldOutRows.js +43 -0
- package/dist/views/Bonds/components/BondRows/SoldOutRows.js.map +1 -0
- package/dist/views/Bonds/components/BondsMenu/BondsMenu.js +36 -0
- package/dist/views/Bonds/components/BondsMenu/BondsMenu.js.map +1 -0
- package/dist/views/Bonds/components/BonusComponents/BonusComponent.js +59 -0
- package/dist/views/Bonds/components/BonusComponents/BonusComponent.js.map +1 -0
- package/dist/views/Bonds/components/BonusComponents/BonusContainer.js +11 -0
- package/dist/views/Bonds/components/BonusComponents/BonusContainer.js.map +1 -0
- package/dist/views/Bonds/components/BonusComponents/BonusTable.js +57 -0
- package/dist/views/Bonds/components/BonusComponents/BonusTable.js.map +1 -0
- package/dist/views/Bonds/components/BuyAgainRow/index.js +83 -0
- package/dist/views/Bonds/components/BuyAgainRow/index.js.map +1 -0
- package/dist/views/Bonds/components/ChainBanner/ChainBanner.js +84 -0
- package/dist/views/Bonds/components/ChainBanner/ChainBanner.js.map +1 -0
- package/dist/views/Bonds/components/CheckURL/index.js +44 -0
- package/dist/views/Bonds/components/CheckURL/index.js.map +1 -0
- package/dist/views/Bonds/components/HotBondCards/HotBondCard.js +54 -0
- package/dist/views/Bonds/components/HotBondCards/HotBondCard.js.map +1 -0
- package/dist/views/Bonds/components/HotBondCards/index.js +78 -0
- package/dist/views/Bonds/components/HotBondCards/index.js.map +1 -0
- package/dist/views/Bonds/components/HotBondCards/styles.js +47 -0
- package/dist/views/Bonds/components/HotBondCards/styles.js.map +1 -0
- package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js +37 -0
- package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js.map +1 -0
- package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js +27 -0
- package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js.map +1 -0
- package/dist/views/Bonds/components/RecommendationCards/index.js +84 -0
- package/dist/views/Bonds/components/RecommendationCards/index.js.map +1 -0
- package/dist/views/Bonds/components/RecommendationCards/styles.js +24 -0
- package/dist/views/Bonds/components/RecommendationCards/styles.js.map +1 -0
- package/dist/views/Bonds/index.js +12 -0
- package/dist/views/Bonds/index.js.map +1 -0
- package/dist/views/Bonds/utils.js +149 -0
- package/dist/views/Bonds/utils.js.map +1 -0
- package/dist/views/BuyBond/BuyBondModal.js +26 -0
- package/dist/views/BuyBond/BuyBondModal.js.map +1 -0
- package/dist/views/BuyBond/BuyComponent.js +425 -0
- package/dist/views/BuyBond/BuyComponent.js.map +1 -0
- package/dist/views/BuyBond/BuyComponentPreTGE.js +154 -0
- package/dist/views/BuyBond/BuyComponentPreTGE.js.map +1 -0
- package/dist/views/BuyBond/BuyComponentSolana.js +641 -0
- package/dist/views/BuyBond/BuyComponentSolana.js.map +1 -0
- package/dist/views/BuyBond/ParticipationSuccessful.js +78 -0
- package/dist/views/BuyBond/ParticipationSuccessful.js.map +1 -0
- package/dist/views/BuyBond/components/BondCards/BondCards.js +92 -0
- package/dist/views/BuyBond/components/BondCards/BondCards.js.map +1 -0
- package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js +74 -0
- package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js.map +1 -0
- package/dist/views/BuyBond/components/BondModalHeader.js +95 -0
- package/dist/views/BuyBond/components/BondModalHeader.js.map +1 -0
- package/dist/views/BuyBond/components/BondModalMinTierHeader.js +35 -0
- package/dist/views/BuyBond/components/BondModalMinTierHeader.js.map +1 -0
- package/dist/views/BuyBond/components/Estimations.js +68 -0
- package/dist/views/BuyBond/components/Estimations.js.map +1 -0
- package/dist/views/BuyBond/components/ExpandedViewButton.js +37 -0
- package/dist/views/BuyBond/components/ExpandedViewButton.js.map +1 -0
- package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js +71 -0
- package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js.map +1 -0
- package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js +55 -0
- package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js.map +1 -0
- package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js +36 -0
- package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js.map +1 -0
- package/dist/views/BuyBond/components/ProjectDescription.js +38 -0
- package/dist/views/BuyBond/components/ProjectDescription.js.map +1 -0
- package/dist/views/BuyBond/index.js +12 -0
- package/dist/views/BuyBond/index.js.map +1 -0
- package/dist/views/BuyBond/styles.js +33 -0
- package/dist/views/BuyBond/styles.js.map +1 -0
- package/dist/views/FullBondsView/FullBondsView.js +34 -0
- package/dist/views/FullBondsView/FullBondsView.js.map +1 -0
- package/dist/views/FullBondsView/index.js +12 -0
- package/dist/views/FullBondsView/index.js.map +1 -0
- package/dist/views/LifiModal/LifiModal.js +79 -0
- package/dist/views/LifiModal/LifiModal.js.map +1 -0
- package/dist/views/ProjectView/ProjectView.js +72 -0
- package/dist/views/ProjectView/ProjectView.js.map +1 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js +56 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js.map +1 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js +46 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js.map +1 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js +24 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js.map +1 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js +51 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js.map +1 -0
- package/dist/views/ProjectView/components/BondLeaderboard/index.js +45 -0
- package/dist/views/ProjectView/components/BondLeaderboard/index.js.map +1 -0
- package/dist/views/ProjectView/components/BondStats/index.js +97 -0
- package/dist/views/ProjectView/components/BondStats/index.js.map +1 -0
- package/dist/views/ProjectView/components/BondStats/styles.js +49 -0
- package/dist/views/ProjectView/components/BondStats/styles.js.map +1 -0
- package/dist/views/ProjectView/components/BondStats/types.js +40 -0
- package/dist/views/ProjectView/components/BondStats/types.js.map +1 -0
- package/dist/views/ProjectView/components/BondStats/utils.js +10 -0
- package/dist/views/ProjectView/components/BondStats/utils.js.map +1 -0
- package/dist/views/ProjectView/components/NavPanel/index.js +32 -0
- package/dist/views/ProjectView/components/NavPanel/index.js.map +1 -0
- package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js +112 -0
- package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js.map +1 -0
- package/dist/views/ProjectView/components/PriceChart/components/LineChart.js +100 -0
- package/dist/views/ProjectView/components/PriceChart/components/LineChart.js.map +1 -0
- package/dist/views/ProjectView/components/PriceChart/components/utils.js +20 -0
- package/dist/views/ProjectView/components/PriceChart/components/utils.js.map +1 -0
- package/dist/views/ProjectView/components/PriceChart/index.js +53 -0
- package/dist/views/ProjectView/components/PriceChart/index.js.map +1 -0
- package/dist/views/ProjectView/components/PriceChart/styles.js +44 -0
- package/dist/views/ProjectView/components/PriceChart/styles.js.map +1 -0
- package/dist/views/ProjectView/components/ProjectInfo/index.js +34 -0
- package/dist/views/ProjectView/components/ProjectInfo/index.js.map +1 -0
- package/dist/views/ProjectView/components/ProjectInfo/styles.js +44 -0
- package/dist/views/ProjectView/components/ProjectInfo/styles.js.map +1 -0
- package/dist/views/ProjectView/components/RecommendationCards/index.js +112 -0
- package/dist/views/ProjectView/components/RecommendationCards/index.js.map +1 -0
- package/dist/views/ProjectView/index.js +12 -0
- package/dist/views/ProjectView/index.js.map +1 -0
- package/dist/views/ProjectView/styles.js +9 -0
- package/dist/views/ProjectView/styles.js.map +1 -0
- package/dist/views/SingleBond/SingleBond.js +50 -0
- package/dist/views/SingleBond/SingleBond.js.map +1 -0
- package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js +85 -0
- package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js.map +1 -0
- package/dist/views/SingleBond/index.js +12 -0
- package/dist/views/SingleBond/index.js.map +1 -0
- package/dist/views/TransactionModal/TransactionModal.js +194 -0
- package/dist/views/TransactionModal/TransactionModal.js.map +1 -0
- package/dist/views/YourBonds/YourBonds.js +158 -0
- package/dist/views/YourBonds/YourBonds.js.map +1 -0
- package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js +133 -0
- package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js.map +1 -0
- package/dist/views/YourBonds/components/ClaimAll/index.js +36 -0
- package/dist/views/YourBonds/components/ClaimAll/index.js.map +1 -0
- package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js +29 -0
- package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js.map +1 -0
- package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js +118 -0
- package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js.map +1 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js +151 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js.map +1 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js +58 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js.map +1 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js +183 -0
- package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js.map +1 -0
- package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js +29 -0
- package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js.map +1 -0
- package/dist/views/YourBonds/index.js +12 -0
- package/dist/views/YourBonds/index.js.map +1 -0
- package/dist/views/YourBondsModal/YourBondsModal.js +154 -0
- package/dist/views/YourBondsModal/YourBondsModal.js.map +1 -0
- package/dist/views/YourBondsModal/components/Actions/Actions.js +146 -0
- package/dist/views/YourBondsModal/components/Actions/Actions.js.map +1 -0
- package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js +166 -0
- package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js.map +1 -0
- package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js +73 -0
- package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js.map +1 -0
- package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js +94 -0
- package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js.map +1 -0
- package/dist/views/YourBondsModal/components/LinkShare/utils.js +57 -0
- package/dist/views/YourBondsModal/components/LinkShare/utils.js.map +1 -0
- package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js +153 -0
- package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js.map +1 -0
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js +39 -0
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js.map +1 -0
- package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js +32 -0
- package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js.map +1 -0
- package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js +47 -0
- package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js.map +1 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js +88 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js.map +1 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js +103 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js.map +1 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/index.js +45 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/index.js.map +1 -0
- package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js +58 -0
- package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js.map +1 -0
- package/package.json +70 -1
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { arrayify } from '../../bytes/lib.esm/index.js';
|
|
2
|
+
import { Logger } from '../../logger/lib.esm/index.js';
|
|
3
|
+
import { version } from './_version.js';
|
|
4
|
+
|
|
5
|
+
const logger = new Logger(version);
|
|
6
|
+
///////////////////////////////
|
|
7
|
+
var UnicodeNormalizationForm;
|
|
8
|
+
(function (UnicodeNormalizationForm) {
|
|
9
|
+
UnicodeNormalizationForm["current"] = "";
|
|
10
|
+
UnicodeNormalizationForm["NFC"] = "NFC";
|
|
11
|
+
UnicodeNormalizationForm["NFD"] = "NFD";
|
|
12
|
+
UnicodeNormalizationForm["NFKC"] = "NFKC";
|
|
13
|
+
UnicodeNormalizationForm["NFKD"] = "NFKD";
|
|
14
|
+
})(UnicodeNormalizationForm || (UnicodeNormalizationForm = {}));
|
|
15
|
+
var Utf8ErrorReason;
|
|
16
|
+
(function (Utf8ErrorReason) {
|
|
17
|
+
// A continuation byte was present where there was nothing to continue
|
|
18
|
+
// - offset = the index the codepoint began in
|
|
19
|
+
Utf8ErrorReason["UNEXPECTED_CONTINUE"] = "unexpected continuation byte";
|
|
20
|
+
// An invalid (non-continuation) byte to start a UTF-8 codepoint was found
|
|
21
|
+
// - offset = the index the codepoint began in
|
|
22
|
+
Utf8ErrorReason["BAD_PREFIX"] = "bad codepoint prefix";
|
|
23
|
+
// The string is too short to process the expected codepoint
|
|
24
|
+
// - offset = the index the codepoint began in
|
|
25
|
+
Utf8ErrorReason["OVERRUN"] = "string overrun";
|
|
26
|
+
// A missing continuation byte was expected but not found
|
|
27
|
+
// - offset = the index the continuation byte was expected at
|
|
28
|
+
Utf8ErrorReason["MISSING_CONTINUE"] = "missing continuation byte";
|
|
29
|
+
// The computed code point is outside the range for UTF-8
|
|
30
|
+
// - offset = start of this codepoint
|
|
31
|
+
// - badCodepoint = the computed codepoint; outside the UTF-8 range
|
|
32
|
+
Utf8ErrorReason["OUT_OF_RANGE"] = "out of UTF-8 range";
|
|
33
|
+
// UTF-8 strings may not contain UTF-16 surrogate pairs
|
|
34
|
+
// - offset = start of this codepoint
|
|
35
|
+
// - badCodepoint = the computed codepoint; inside the UTF-16 surrogate range
|
|
36
|
+
Utf8ErrorReason["UTF16_SURROGATE"] = "UTF-16 surrogate";
|
|
37
|
+
// The string is an overlong representation
|
|
38
|
+
// - offset = start of this codepoint
|
|
39
|
+
// - badCodepoint = the computed codepoint; already bounds checked
|
|
40
|
+
Utf8ErrorReason["OVERLONG"] = "overlong representation";
|
|
41
|
+
})(Utf8ErrorReason || (Utf8ErrorReason = {}));
|
|
42
|
+
function errorFunc(reason, offset, bytes, output, badCodepoint) {
|
|
43
|
+
return logger.throwArgumentError(`invalid codepoint at offset ${offset}; ${reason}`, "bytes", bytes);
|
|
44
|
+
}
|
|
45
|
+
function ignoreFunc(reason, offset, bytes, output, badCodepoint) {
|
|
46
|
+
// If there is an invalid prefix (including stray continuation), skip any additional continuation bytes
|
|
47
|
+
if (reason === Utf8ErrorReason.BAD_PREFIX || reason === Utf8ErrorReason.UNEXPECTED_CONTINUE) {
|
|
48
|
+
let i = 0;
|
|
49
|
+
for (let o = offset + 1; o < bytes.length; o++) {
|
|
50
|
+
if (bytes[o] >> 6 !== 0x02) {
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
i++;
|
|
54
|
+
}
|
|
55
|
+
return i;
|
|
56
|
+
}
|
|
57
|
+
// This byte runs us past the end of the string, so just jump to the end
|
|
58
|
+
// (but the first byte was read already read and therefore skipped)
|
|
59
|
+
if (reason === Utf8ErrorReason.OVERRUN) {
|
|
60
|
+
return bytes.length - offset - 1;
|
|
61
|
+
}
|
|
62
|
+
// Nothing to skip
|
|
63
|
+
return 0;
|
|
64
|
+
}
|
|
65
|
+
function replaceFunc(reason, offset, bytes, output, badCodepoint) {
|
|
66
|
+
// Overlong representations are otherwise "valid" code points; just non-deistingtished
|
|
67
|
+
if (reason === Utf8ErrorReason.OVERLONG) {
|
|
68
|
+
output.push(badCodepoint);
|
|
69
|
+
return 0;
|
|
70
|
+
}
|
|
71
|
+
// Put the replacement character into the output
|
|
72
|
+
output.push(0xfffd);
|
|
73
|
+
// Otherwise, process as if ignoring errors
|
|
74
|
+
return ignoreFunc(reason, offset, bytes);
|
|
75
|
+
}
|
|
76
|
+
// Common error handing strategies
|
|
77
|
+
const Utf8ErrorFuncs = Object.freeze({
|
|
78
|
+
error: errorFunc,
|
|
79
|
+
ignore: ignoreFunc,
|
|
80
|
+
replace: replaceFunc
|
|
81
|
+
});
|
|
82
|
+
// http://stackoverflow.com/questions/13356493/decode-utf-8-with-javascript#13691499
|
|
83
|
+
function getUtf8CodePoints(bytes, onError) {
|
|
84
|
+
if (onError == null) {
|
|
85
|
+
onError = Utf8ErrorFuncs.error;
|
|
86
|
+
}
|
|
87
|
+
bytes = arrayify(bytes);
|
|
88
|
+
const result = [];
|
|
89
|
+
let i = 0;
|
|
90
|
+
// Invalid bytes are ignored
|
|
91
|
+
while (i < bytes.length) {
|
|
92
|
+
const c = bytes[i++];
|
|
93
|
+
// 0xxx xxxx
|
|
94
|
+
if (c >> 7 === 0) {
|
|
95
|
+
result.push(c);
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
// Multibyte; how many bytes left for this character?
|
|
99
|
+
let extraLength = null;
|
|
100
|
+
let overlongMask = null;
|
|
101
|
+
// 110x xxxx 10xx xxxx
|
|
102
|
+
if ((c & 0xe0) === 0xc0) {
|
|
103
|
+
extraLength = 1;
|
|
104
|
+
overlongMask = 0x7f;
|
|
105
|
+
// 1110 xxxx 10xx xxxx 10xx xxxx
|
|
106
|
+
}
|
|
107
|
+
else if ((c & 0xf0) === 0xe0) {
|
|
108
|
+
extraLength = 2;
|
|
109
|
+
overlongMask = 0x7ff;
|
|
110
|
+
// 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx
|
|
111
|
+
}
|
|
112
|
+
else if ((c & 0xf8) === 0xf0) {
|
|
113
|
+
extraLength = 3;
|
|
114
|
+
overlongMask = 0xffff;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
if ((c & 0xc0) === 0x80) {
|
|
118
|
+
i += onError(Utf8ErrorReason.UNEXPECTED_CONTINUE, i - 1, bytes, result);
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
i += onError(Utf8ErrorReason.BAD_PREFIX, i - 1, bytes, result);
|
|
122
|
+
}
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
// Do we have enough bytes in our data?
|
|
126
|
+
if (i - 1 + extraLength >= bytes.length) {
|
|
127
|
+
i += onError(Utf8ErrorReason.OVERRUN, i - 1, bytes, result);
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
// Remove the length prefix from the char
|
|
131
|
+
let res = c & ((1 << (8 - extraLength - 1)) - 1);
|
|
132
|
+
for (let j = 0; j < extraLength; j++) {
|
|
133
|
+
let nextChar = bytes[i];
|
|
134
|
+
// Invalid continuation byte
|
|
135
|
+
if ((nextChar & 0xc0) != 0x80) {
|
|
136
|
+
i += onError(Utf8ErrorReason.MISSING_CONTINUE, i, bytes, result);
|
|
137
|
+
res = null;
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
res = (res << 6) | (nextChar & 0x3f);
|
|
141
|
+
i++;
|
|
142
|
+
}
|
|
143
|
+
// See above loop for invalid continuation byte
|
|
144
|
+
if (res === null) {
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
// Maximum code point
|
|
148
|
+
if (res > 0x10ffff) {
|
|
149
|
+
i += onError(Utf8ErrorReason.OUT_OF_RANGE, i - 1 - extraLength, bytes, result, res);
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
// Reserved for UTF-16 surrogate halves
|
|
153
|
+
if (res >= 0xd800 && res <= 0xdfff) {
|
|
154
|
+
i += onError(Utf8ErrorReason.UTF16_SURROGATE, i - 1 - extraLength, bytes, result, res);
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
// Check for overlong sequences (more bytes than needed)
|
|
158
|
+
if (res <= overlongMask) {
|
|
159
|
+
i += onError(Utf8ErrorReason.OVERLONG, i - 1 - extraLength, bytes, result, res);
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
result.push(res);
|
|
163
|
+
}
|
|
164
|
+
return result;
|
|
165
|
+
}
|
|
166
|
+
// http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array
|
|
167
|
+
function toUtf8Bytes(str, form = UnicodeNormalizationForm.current) {
|
|
168
|
+
if (form != UnicodeNormalizationForm.current) {
|
|
169
|
+
logger.checkNormalize();
|
|
170
|
+
str = str.normalize(form);
|
|
171
|
+
}
|
|
172
|
+
let result = [];
|
|
173
|
+
for (let i = 0; i < str.length; i++) {
|
|
174
|
+
const c = str.charCodeAt(i);
|
|
175
|
+
if (c < 0x80) {
|
|
176
|
+
result.push(c);
|
|
177
|
+
}
|
|
178
|
+
else if (c < 0x800) {
|
|
179
|
+
result.push((c >> 6) | 0xc0);
|
|
180
|
+
result.push((c & 0x3f) | 0x80);
|
|
181
|
+
}
|
|
182
|
+
else if ((c & 0xfc00) == 0xd800) {
|
|
183
|
+
i++;
|
|
184
|
+
const c2 = str.charCodeAt(i);
|
|
185
|
+
if (i >= str.length || (c2 & 0xfc00) !== 0xdc00) {
|
|
186
|
+
throw new Error("invalid utf-8 string");
|
|
187
|
+
}
|
|
188
|
+
// Surrogate Pair
|
|
189
|
+
const pair = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff);
|
|
190
|
+
result.push((pair >> 18) | 0xf0);
|
|
191
|
+
result.push(((pair >> 12) & 0x3f) | 0x80);
|
|
192
|
+
result.push(((pair >> 6) & 0x3f) | 0x80);
|
|
193
|
+
result.push((pair & 0x3f) | 0x80);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
result.push((c >> 12) | 0xe0);
|
|
197
|
+
result.push(((c >> 6) & 0x3f) | 0x80);
|
|
198
|
+
result.push((c & 0x3f) | 0x80);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return arrayify(result);
|
|
202
|
+
}
|
|
203
|
+
function _toUtf8String(codePoints) {
|
|
204
|
+
return codePoints.map((codePoint) => {
|
|
205
|
+
if (codePoint <= 0xffff) {
|
|
206
|
+
return String.fromCharCode(codePoint);
|
|
207
|
+
}
|
|
208
|
+
codePoint -= 0x10000;
|
|
209
|
+
return String.fromCharCode((((codePoint >> 10) & 0x3ff) + 0xd800), ((codePoint & 0x3ff) + 0xdc00));
|
|
210
|
+
}).join("");
|
|
211
|
+
}
|
|
212
|
+
function toUtf8String(bytes, onError) {
|
|
213
|
+
return _toUtf8String(getUtf8CodePoints(bytes, onError));
|
|
214
|
+
}
|
|
215
|
+
function toUtf8CodePoints(str, form = UnicodeNormalizationForm.current) {
|
|
216
|
+
return getUtf8CodePoints(toUtf8Bytes(str, form));
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export { UnicodeNormalizationForm, Utf8ErrorFuncs, Utf8ErrorReason, _toUtf8String, toUtf8Bytes, toUtf8CodePoints, toUtf8String };
|
|
220
|
+
//# sourceMappingURL=utf8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utf8.js","sources":["../../../../../node_modules/@ethersproject/strings/lib.esm/utf8.js"],"sourcesContent":["\"use strict\";\nimport { arrayify } from \"@ethersproject/bytes\";\nimport { Logger } from \"@ethersproject/logger\";\nimport { version } from \"./_version\";\nconst logger = new Logger(version);\n///////////////////////////////\nexport var UnicodeNormalizationForm;\n(function (UnicodeNormalizationForm) {\n UnicodeNormalizationForm[\"current\"] = \"\";\n UnicodeNormalizationForm[\"NFC\"] = \"NFC\";\n UnicodeNormalizationForm[\"NFD\"] = \"NFD\";\n UnicodeNormalizationForm[\"NFKC\"] = \"NFKC\";\n UnicodeNormalizationForm[\"NFKD\"] = \"NFKD\";\n})(UnicodeNormalizationForm || (UnicodeNormalizationForm = {}));\n;\nexport var Utf8ErrorReason;\n(function (Utf8ErrorReason) {\n // A continuation byte was present where there was nothing to continue\n // - offset = the index the codepoint began in\n Utf8ErrorReason[\"UNEXPECTED_CONTINUE\"] = \"unexpected continuation byte\";\n // An invalid (non-continuation) byte to start a UTF-8 codepoint was found\n // - offset = the index the codepoint began in\n Utf8ErrorReason[\"BAD_PREFIX\"] = \"bad codepoint prefix\";\n // The string is too short to process the expected codepoint\n // - offset = the index the codepoint began in\n Utf8ErrorReason[\"OVERRUN\"] = \"string overrun\";\n // A missing continuation byte was expected but not found\n // - offset = the index the continuation byte was expected at\n Utf8ErrorReason[\"MISSING_CONTINUE\"] = \"missing continuation byte\";\n // The computed code point is outside the range for UTF-8\n // - offset = start of this codepoint\n // - badCodepoint = the computed codepoint; outside the UTF-8 range\n Utf8ErrorReason[\"OUT_OF_RANGE\"] = \"out of UTF-8 range\";\n // UTF-8 strings may not contain UTF-16 surrogate pairs\n // - offset = start of this codepoint\n // - badCodepoint = the computed codepoint; inside the UTF-16 surrogate range\n Utf8ErrorReason[\"UTF16_SURROGATE\"] = \"UTF-16 surrogate\";\n // The string is an overlong representation\n // - offset = start of this codepoint\n // - badCodepoint = the computed codepoint; already bounds checked\n Utf8ErrorReason[\"OVERLONG\"] = \"overlong representation\";\n})(Utf8ErrorReason || (Utf8ErrorReason = {}));\n;\nfunction errorFunc(reason, offset, bytes, output, badCodepoint) {\n return logger.throwArgumentError(`invalid codepoint at offset ${offset}; ${reason}`, \"bytes\", bytes);\n}\nfunction ignoreFunc(reason, offset, bytes, output, badCodepoint) {\n // If there is an invalid prefix (including stray continuation), skip any additional continuation bytes\n if (reason === Utf8ErrorReason.BAD_PREFIX || reason === Utf8ErrorReason.UNEXPECTED_CONTINUE) {\n let i = 0;\n for (let o = offset + 1; o < bytes.length; o++) {\n if (bytes[o] >> 6 !== 0x02) {\n break;\n }\n i++;\n }\n return i;\n }\n // This byte runs us past the end of the string, so just jump to the end\n // (but the first byte was read already read and therefore skipped)\n if (reason === Utf8ErrorReason.OVERRUN) {\n return bytes.length - offset - 1;\n }\n // Nothing to skip\n return 0;\n}\nfunction replaceFunc(reason, offset, bytes, output, badCodepoint) {\n // Overlong representations are otherwise \"valid\" code points; just non-deistingtished\n if (reason === Utf8ErrorReason.OVERLONG) {\n output.push(badCodepoint);\n return 0;\n }\n // Put the replacement character into the output\n output.push(0xfffd);\n // Otherwise, process as if ignoring errors\n return ignoreFunc(reason, offset, bytes, output, badCodepoint);\n}\n// Common error handing strategies\nexport const Utf8ErrorFuncs = Object.freeze({\n error: errorFunc,\n ignore: ignoreFunc,\n replace: replaceFunc\n});\n// http://stackoverflow.com/questions/13356493/decode-utf-8-with-javascript#13691499\nfunction getUtf8CodePoints(bytes, onError) {\n if (onError == null) {\n onError = Utf8ErrorFuncs.error;\n }\n bytes = arrayify(bytes);\n const result = [];\n let i = 0;\n // Invalid bytes are ignored\n while (i < bytes.length) {\n const c = bytes[i++];\n // 0xxx xxxx\n if (c >> 7 === 0) {\n result.push(c);\n continue;\n }\n // Multibyte; how many bytes left for this character?\n let extraLength = null;\n let overlongMask = null;\n // 110x xxxx 10xx xxxx\n if ((c & 0xe0) === 0xc0) {\n extraLength = 1;\n overlongMask = 0x7f;\n // 1110 xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf0) === 0xe0) {\n extraLength = 2;\n overlongMask = 0x7ff;\n // 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf8) === 0xf0) {\n extraLength = 3;\n overlongMask = 0xffff;\n }\n else {\n if ((c & 0xc0) === 0x80) {\n i += onError(Utf8ErrorReason.UNEXPECTED_CONTINUE, i - 1, bytes, result);\n }\n else {\n i += onError(Utf8ErrorReason.BAD_PREFIX, i - 1, bytes, result);\n }\n continue;\n }\n // Do we have enough bytes in our data?\n if (i - 1 + extraLength >= bytes.length) {\n i += onError(Utf8ErrorReason.OVERRUN, i - 1, bytes, result);\n continue;\n }\n // Remove the length prefix from the char\n let res = c & ((1 << (8 - extraLength - 1)) - 1);\n for (let j = 0; j < extraLength; j++) {\n let nextChar = bytes[i];\n // Invalid continuation byte\n if ((nextChar & 0xc0) != 0x80) {\n i += onError(Utf8ErrorReason.MISSING_CONTINUE, i, bytes, result);\n res = null;\n break;\n }\n ;\n res = (res << 6) | (nextChar & 0x3f);\n i++;\n }\n // See above loop for invalid continuation byte\n if (res === null) {\n continue;\n }\n // Maximum code point\n if (res > 0x10ffff) {\n i += onError(Utf8ErrorReason.OUT_OF_RANGE, i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Reserved for UTF-16 surrogate halves\n if (res >= 0xd800 && res <= 0xdfff) {\n i += onError(Utf8ErrorReason.UTF16_SURROGATE, i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Check for overlong sequences (more bytes than needed)\n if (res <= overlongMask) {\n i += onError(Utf8ErrorReason.OVERLONG, i - 1 - extraLength, bytes, result, res);\n continue;\n }\n result.push(res);\n }\n return result;\n}\n// http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array\nexport function toUtf8Bytes(str, form = UnicodeNormalizationForm.current) {\n if (form != UnicodeNormalizationForm.current) {\n logger.checkNormalize();\n str = str.normalize(form);\n }\n let result = [];\n for (let i = 0; i < str.length; i++) {\n const c = str.charCodeAt(i);\n if (c < 0x80) {\n result.push(c);\n }\n else if (c < 0x800) {\n result.push((c >> 6) | 0xc0);\n result.push((c & 0x3f) | 0x80);\n }\n else if ((c & 0xfc00) == 0xd800) {\n i++;\n const c2 = str.charCodeAt(i);\n if (i >= str.length || (c2 & 0xfc00) !== 0xdc00) {\n throw new Error(\"invalid utf-8 string\");\n }\n // Surrogate Pair\n const pair = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff);\n result.push((pair >> 18) | 0xf0);\n result.push(((pair >> 12) & 0x3f) | 0x80);\n result.push(((pair >> 6) & 0x3f) | 0x80);\n result.push((pair & 0x3f) | 0x80);\n }\n else {\n result.push((c >> 12) | 0xe0);\n result.push(((c >> 6) & 0x3f) | 0x80);\n result.push((c & 0x3f) | 0x80);\n }\n }\n return arrayify(result);\n}\n;\nfunction escapeChar(value) {\n const hex = (\"0000\" + value.toString(16));\n return \"\\\\u\" + hex.substring(hex.length - 4);\n}\nexport function _toEscapedUtf8String(bytes, onError) {\n return '\"' + getUtf8CodePoints(bytes, onError).map((codePoint) => {\n if (codePoint < 256) {\n switch (codePoint) {\n case 8: return \"\\\\b\";\n case 9: return \"\\\\t\";\n case 10: return \"\\\\n\";\n case 13: return \"\\\\r\";\n case 34: return \"\\\\\\\"\";\n case 92: return \"\\\\\\\\\";\n }\n if (codePoint >= 32 && codePoint < 127) {\n return String.fromCharCode(codePoint);\n }\n }\n if (codePoint <= 0xffff) {\n return escapeChar(codePoint);\n }\n codePoint -= 0x10000;\n return escapeChar(((codePoint >> 10) & 0x3ff) + 0xd800) + escapeChar((codePoint & 0x3ff) + 0xdc00);\n }).join(\"\") + '\"';\n}\nexport function _toUtf8String(codePoints) {\n return codePoints.map((codePoint) => {\n if (codePoint <= 0xffff) {\n return String.fromCharCode(codePoint);\n }\n codePoint -= 0x10000;\n return String.fromCharCode((((codePoint >> 10) & 0x3ff) + 0xd800), ((codePoint & 0x3ff) + 0xdc00));\n }).join(\"\");\n}\nexport function toUtf8String(bytes, onError) {\n return _toUtf8String(getUtf8CodePoints(bytes, onError));\n}\nexport function toUtf8CodePoints(str, form = UnicodeNormalizationForm.current) {\n return getUtf8CodePoints(toUtf8Bytes(str, form));\n}\n//# sourceMappingURL=utf8.js.map"],"names":[],"mappings":";;;;AAIA,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC;AAClC;AACU,IAAC;AACX,CAAC,UAAU,wBAAwB,EAAE;AACrC,IAAI,wBAAwB,CAAC,SAAS,CAAC,GAAG,EA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AAQ,SAAS,IAAI,OAAO;AAC5B,QAAQ,OAAO,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC,SAAS,IAAI,EAAE,IAAI,KAAK,IAAI,MAAM,IAAI,CAAC,SAAS,GAAG,KAAK,IAAI,MAAM,EAAE;AAC1G,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;AACf;AACO,SAAS,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE;AAC7C,IAAI,OAAO,aAAa,CAAC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAC3D;AACO,SAAS,gBAAgB,CAAC,GAAG,EAAE,IAAI,GAAG,wBAAwB,CAAC,OAAO,EAAE;AAC/E,IAAI,OAAO,iBAAiB,CAAC,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AACpD;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_version.js","sources":["../../../../../node_modules/@ethersproject/transactions/lib.esm/_version.js"],"sourcesContent":["export const version = \"transactions/5.8.0\";\n//# sourceMappingURL=_version.js.map"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { getAddress } from '../../address/lib.esm/index.js';
|
|
2
|
+
import { hexDataLength, arrayify, hexZeroPad, hexlify, hexDataSlice, splitSignature, stripZeros, hexConcat } from '../../bytes/lib.esm/index.js';
|
|
3
|
+
import { keccak256 } from '../../keccak256/lib.esm/index.js';
|
|
4
|
+
import { decode, encode } from '../../rlp/lib.esm/index.js';
|
|
5
|
+
import { recoverPublicKey, computePublicKey } from '../../signing-key/lib.esm/index.js';
|
|
6
|
+
import { Logger } from '../../logger/lib.esm/index.js';
|
|
7
|
+
import { version } from './_version.js';
|
|
8
|
+
import { BigNumber } from '../../bignumber/lib.esm/bignumber.js';
|
|
9
|
+
import { Zero } from '../../constants/lib.esm/bignumbers.js';
|
|
10
|
+
|
|
11
|
+
const logger = new Logger(version);
|
|
12
|
+
var TransactionTypes;
|
|
13
|
+
(function (TransactionTypes) {
|
|
14
|
+
TransactionTypes[TransactionTypes["legacy"] = 0] = "legacy";
|
|
15
|
+
TransactionTypes[TransactionTypes["eip2930"] = 1] = "eip2930";
|
|
16
|
+
TransactionTypes[TransactionTypes["eip1559"] = 2] = "eip1559";
|
|
17
|
+
})(TransactionTypes || (TransactionTypes = {}));
|
|
18
|
+
///////////////////////////////
|
|
19
|
+
function handleAddress(value) {
|
|
20
|
+
if (value === "0x") {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return getAddress(value);
|
|
24
|
+
}
|
|
25
|
+
function handleNumber(value) {
|
|
26
|
+
if (value === "0x") {
|
|
27
|
+
return Zero;
|
|
28
|
+
}
|
|
29
|
+
return BigNumber.from(value);
|
|
30
|
+
}
|
|
31
|
+
function computeAddress(key) {
|
|
32
|
+
const publicKey = computePublicKey(key);
|
|
33
|
+
return getAddress(hexDataSlice(keccak256(hexDataSlice(publicKey, 1)), 12));
|
|
34
|
+
}
|
|
35
|
+
function recoverAddress(digest, signature) {
|
|
36
|
+
return computeAddress(recoverPublicKey(arrayify(digest), signature));
|
|
37
|
+
}
|
|
38
|
+
function formatNumber(value, name) {
|
|
39
|
+
const result = stripZeros(BigNumber.from(value).toHexString());
|
|
40
|
+
if (result.length > 32) {
|
|
41
|
+
logger.throwArgumentError("invalid length for " + name, ("transaction:" + name), value);
|
|
42
|
+
}
|
|
43
|
+
return result;
|
|
44
|
+
}
|
|
45
|
+
function accessSetify(addr, storageKeys) {
|
|
46
|
+
return {
|
|
47
|
+
address: getAddress(addr),
|
|
48
|
+
storageKeys: (storageKeys || []).map((storageKey, index) => {
|
|
49
|
+
if (hexDataLength(storageKey) !== 32) {
|
|
50
|
+
logger.throwArgumentError("invalid access list storageKey", `accessList[${addr}:${index}]`, storageKey);
|
|
51
|
+
}
|
|
52
|
+
return storageKey.toLowerCase();
|
|
53
|
+
})
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function accessListify(value) {
|
|
57
|
+
if (Array.isArray(value)) {
|
|
58
|
+
return value.map((set, index) => {
|
|
59
|
+
if (Array.isArray(set)) {
|
|
60
|
+
if (set.length > 2) {
|
|
61
|
+
logger.throwArgumentError("access list expected to be [ address, storageKeys[] ]", `value[${index}]`, set);
|
|
62
|
+
}
|
|
63
|
+
return accessSetify(set[0], set[1]);
|
|
64
|
+
}
|
|
65
|
+
return accessSetify(set.address, set.storageKeys);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
const result = Object.keys(value).map((addr) => {
|
|
69
|
+
const storageKeys = value[addr].reduce((accum, storageKey) => {
|
|
70
|
+
accum[storageKey] = true;
|
|
71
|
+
return accum;
|
|
72
|
+
}, {});
|
|
73
|
+
return accessSetify(addr, Object.keys(storageKeys).sort());
|
|
74
|
+
});
|
|
75
|
+
result.sort((a, b) => (a.address.localeCompare(b.address)));
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
function formatAccessList(value) {
|
|
79
|
+
return accessListify(value).map((set) => [set.address, set.storageKeys]);
|
|
80
|
+
}
|
|
81
|
+
function _serializeEip1559(transaction, signature) {
|
|
82
|
+
// If there is an explicit gasPrice, make sure it matches the
|
|
83
|
+
// EIP-1559 fees; otherwise they may not understand what they
|
|
84
|
+
// think they are setting in terms of fee.
|
|
85
|
+
if (transaction.gasPrice != null) {
|
|
86
|
+
const gasPrice = BigNumber.from(transaction.gasPrice);
|
|
87
|
+
const maxFeePerGas = BigNumber.from(transaction.maxFeePerGas || 0);
|
|
88
|
+
if (!gasPrice.eq(maxFeePerGas)) {
|
|
89
|
+
logger.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas", "tx", {
|
|
90
|
+
gasPrice, maxFeePerGas
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
const fields = [
|
|
95
|
+
formatNumber(transaction.chainId || 0, "chainId"),
|
|
96
|
+
formatNumber(transaction.nonce || 0, "nonce"),
|
|
97
|
+
formatNumber(transaction.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"),
|
|
98
|
+
formatNumber(transaction.maxFeePerGas || 0, "maxFeePerGas"),
|
|
99
|
+
formatNumber(transaction.gasLimit || 0, "gasLimit"),
|
|
100
|
+
((transaction.to != null) ? getAddress(transaction.to) : "0x"),
|
|
101
|
+
formatNumber(transaction.value || 0, "value"),
|
|
102
|
+
(transaction.data || "0x"),
|
|
103
|
+
(formatAccessList(transaction.accessList || []))
|
|
104
|
+
];
|
|
105
|
+
if (signature) {
|
|
106
|
+
const sig = splitSignature(signature);
|
|
107
|
+
fields.push(formatNumber(sig.recoveryParam, "recoveryParam"));
|
|
108
|
+
fields.push(stripZeros(sig.r));
|
|
109
|
+
fields.push(stripZeros(sig.s));
|
|
110
|
+
}
|
|
111
|
+
return hexConcat(["0x02", encode(fields)]);
|
|
112
|
+
}
|
|
113
|
+
function _serializeEip2930(transaction, signature) {
|
|
114
|
+
const fields = [
|
|
115
|
+
formatNumber(transaction.chainId || 0, "chainId"),
|
|
116
|
+
formatNumber(transaction.nonce || 0, "nonce"),
|
|
117
|
+
formatNumber(transaction.gasPrice || 0, "gasPrice"),
|
|
118
|
+
formatNumber(transaction.gasLimit || 0, "gasLimit"),
|
|
119
|
+
((transaction.to != null) ? getAddress(transaction.to) : "0x"),
|
|
120
|
+
formatNumber(transaction.value || 0, "value"),
|
|
121
|
+
(transaction.data || "0x"),
|
|
122
|
+
(formatAccessList(transaction.accessList || []))
|
|
123
|
+
];
|
|
124
|
+
if (signature) {
|
|
125
|
+
const sig = splitSignature(signature);
|
|
126
|
+
fields.push(formatNumber(sig.recoveryParam, "recoveryParam"));
|
|
127
|
+
fields.push(stripZeros(sig.r));
|
|
128
|
+
fields.push(stripZeros(sig.s));
|
|
129
|
+
}
|
|
130
|
+
return hexConcat(["0x01", encode(fields)]);
|
|
131
|
+
}
|
|
132
|
+
function _parseEipSignature(tx, fields, serialize) {
|
|
133
|
+
try {
|
|
134
|
+
const recid = handleNumber(fields[0]).toNumber();
|
|
135
|
+
if (recid !== 0 && recid !== 1) {
|
|
136
|
+
throw new Error("bad recid");
|
|
137
|
+
}
|
|
138
|
+
tx.v = recid;
|
|
139
|
+
}
|
|
140
|
+
catch (error) {
|
|
141
|
+
logger.throwArgumentError("invalid v for transaction type: 1", "v", fields[0]);
|
|
142
|
+
}
|
|
143
|
+
tx.r = hexZeroPad(fields[1], 32);
|
|
144
|
+
tx.s = hexZeroPad(fields[2], 32);
|
|
145
|
+
try {
|
|
146
|
+
const digest = keccak256(serialize(tx));
|
|
147
|
+
tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });
|
|
148
|
+
}
|
|
149
|
+
catch (error) { }
|
|
150
|
+
}
|
|
151
|
+
function _parseEip1559(payload) {
|
|
152
|
+
const transaction = decode(payload.slice(1));
|
|
153
|
+
if (transaction.length !== 9 && transaction.length !== 12) {
|
|
154
|
+
logger.throwArgumentError("invalid component count for transaction type: 2", "payload", hexlify(payload));
|
|
155
|
+
}
|
|
156
|
+
const maxPriorityFeePerGas = handleNumber(transaction[2]);
|
|
157
|
+
const maxFeePerGas = handleNumber(transaction[3]);
|
|
158
|
+
const tx = {
|
|
159
|
+
type: 2,
|
|
160
|
+
chainId: handleNumber(transaction[0]).toNumber(),
|
|
161
|
+
nonce: handleNumber(transaction[1]).toNumber(),
|
|
162
|
+
maxPriorityFeePerGas: maxPriorityFeePerGas,
|
|
163
|
+
maxFeePerGas: maxFeePerGas,
|
|
164
|
+
gasPrice: null,
|
|
165
|
+
gasLimit: handleNumber(transaction[4]),
|
|
166
|
+
to: handleAddress(transaction[5]),
|
|
167
|
+
value: handleNumber(transaction[6]),
|
|
168
|
+
data: transaction[7],
|
|
169
|
+
accessList: accessListify(transaction[8]),
|
|
170
|
+
};
|
|
171
|
+
// Unsigned EIP-1559 Transaction
|
|
172
|
+
if (transaction.length === 9) {
|
|
173
|
+
return tx;
|
|
174
|
+
}
|
|
175
|
+
tx.hash = keccak256(payload);
|
|
176
|
+
_parseEipSignature(tx, transaction.slice(9), _serializeEip1559);
|
|
177
|
+
return tx;
|
|
178
|
+
}
|
|
179
|
+
function _parseEip2930(payload) {
|
|
180
|
+
const transaction = decode(payload.slice(1));
|
|
181
|
+
if (transaction.length !== 8 && transaction.length !== 11) {
|
|
182
|
+
logger.throwArgumentError("invalid component count for transaction type: 1", "payload", hexlify(payload));
|
|
183
|
+
}
|
|
184
|
+
const tx = {
|
|
185
|
+
type: 1,
|
|
186
|
+
chainId: handleNumber(transaction[0]).toNumber(),
|
|
187
|
+
nonce: handleNumber(transaction[1]).toNumber(),
|
|
188
|
+
gasPrice: handleNumber(transaction[2]),
|
|
189
|
+
gasLimit: handleNumber(transaction[3]),
|
|
190
|
+
to: handleAddress(transaction[4]),
|
|
191
|
+
value: handleNumber(transaction[5]),
|
|
192
|
+
data: transaction[6],
|
|
193
|
+
accessList: accessListify(transaction[7])
|
|
194
|
+
};
|
|
195
|
+
// Unsigned EIP-2930 Transaction
|
|
196
|
+
if (transaction.length === 8) {
|
|
197
|
+
return tx;
|
|
198
|
+
}
|
|
199
|
+
tx.hash = keccak256(payload);
|
|
200
|
+
_parseEipSignature(tx, transaction.slice(8), _serializeEip2930);
|
|
201
|
+
return tx;
|
|
202
|
+
}
|
|
203
|
+
// Legacy Transactions and EIP-155
|
|
204
|
+
function _parse(rawTransaction) {
|
|
205
|
+
const transaction = decode(rawTransaction);
|
|
206
|
+
if (transaction.length !== 9 && transaction.length !== 6) {
|
|
207
|
+
logger.throwArgumentError("invalid raw transaction", "rawTransaction", rawTransaction);
|
|
208
|
+
}
|
|
209
|
+
const tx = {
|
|
210
|
+
nonce: handleNumber(transaction[0]).toNumber(),
|
|
211
|
+
gasPrice: handleNumber(transaction[1]),
|
|
212
|
+
gasLimit: handleNumber(transaction[2]),
|
|
213
|
+
to: handleAddress(transaction[3]),
|
|
214
|
+
value: handleNumber(transaction[4]),
|
|
215
|
+
data: transaction[5],
|
|
216
|
+
chainId: 0
|
|
217
|
+
};
|
|
218
|
+
// Legacy unsigned transaction
|
|
219
|
+
if (transaction.length === 6) {
|
|
220
|
+
return tx;
|
|
221
|
+
}
|
|
222
|
+
try {
|
|
223
|
+
tx.v = BigNumber.from(transaction[6]).toNumber();
|
|
224
|
+
}
|
|
225
|
+
catch (error) {
|
|
226
|
+
// @TODO: What makes snese to do? The v is too big
|
|
227
|
+
return tx;
|
|
228
|
+
}
|
|
229
|
+
tx.r = hexZeroPad(transaction[7], 32);
|
|
230
|
+
tx.s = hexZeroPad(transaction[8], 32);
|
|
231
|
+
if (BigNumber.from(tx.r).isZero() && BigNumber.from(tx.s).isZero()) {
|
|
232
|
+
// EIP-155 unsigned transaction
|
|
233
|
+
tx.chainId = tx.v;
|
|
234
|
+
tx.v = 0;
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
// Signed Transaction
|
|
238
|
+
tx.chainId = Math.floor((tx.v - 35) / 2);
|
|
239
|
+
if (tx.chainId < 0) {
|
|
240
|
+
tx.chainId = 0;
|
|
241
|
+
}
|
|
242
|
+
let recoveryParam = tx.v - 27;
|
|
243
|
+
const raw = transaction.slice(0, 6);
|
|
244
|
+
if (tx.chainId !== 0) {
|
|
245
|
+
raw.push(hexlify(tx.chainId));
|
|
246
|
+
raw.push("0x");
|
|
247
|
+
raw.push("0x");
|
|
248
|
+
recoveryParam -= tx.chainId * 2 + 8;
|
|
249
|
+
}
|
|
250
|
+
const digest = keccak256(encode(raw));
|
|
251
|
+
try {
|
|
252
|
+
tx.from = recoverAddress(digest, { r: hexlify(tx.r), s: hexlify(tx.s), recoveryParam: recoveryParam });
|
|
253
|
+
}
|
|
254
|
+
catch (error) { }
|
|
255
|
+
tx.hash = keccak256(rawTransaction);
|
|
256
|
+
}
|
|
257
|
+
tx.type = null;
|
|
258
|
+
return tx;
|
|
259
|
+
}
|
|
260
|
+
function parse(rawTransaction) {
|
|
261
|
+
const payload = arrayify(rawTransaction);
|
|
262
|
+
// Legacy and EIP-155 Transactions
|
|
263
|
+
if (payload[0] > 0x7f) {
|
|
264
|
+
return _parse(payload);
|
|
265
|
+
}
|
|
266
|
+
// Typed Transaction (EIP-2718)
|
|
267
|
+
switch (payload[0]) {
|
|
268
|
+
case 1:
|
|
269
|
+
return _parseEip2930(payload);
|
|
270
|
+
case 2:
|
|
271
|
+
return _parseEip1559(payload);
|
|
272
|
+
}
|
|
273
|
+
return logger.throwError(`unsupported transaction type: ${payload[0]}`, Logger.errors.UNSUPPORTED_OPERATION, {
|
|
274
|
+
operation: "parseTransaction",
|
|
275
|
+
transactionType: payload[0]
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export { TransactionTypes, accessListify, computeAddress, parse, recoverAddress };
|
|
280
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@ethersproject/transactions/lib.esm/index.js"],"sourcesContent":["\"use strict\";\nimport { getAddress } from \"@ethersproject/address\";\nimport { BigNumber } from \"@ethersproject/bignumber\";\nimport { arrayify, hexConcat, hexDataLength, hexDataSlice, hexlify, hexZeroPad, isBytesLike, splitSignature, stripZeros, } from \"@ethersproject/bytes\";\nimport { Zero } from \"@ethersproject/constants\";\nimport { keccak256 } from \"@ethersproject/keccak256\";\nimport { checkProperties } from \"@ethersproject/properties\";\nimport * as RLP from \"@ethersproject/rlp\";\nimport { computePublicKey, recoverPublicKey } from \"@ethersproject/signing-key\";\nimport { Logger } from \"@ethersproject/logger\";\nimport { version } from \"./_version\";\nconst logger = new Logger(version);\nexport var TransactionTypes;\n(function (TransactionTypes) {\n TransactionTypes[TransactionTypes[\"legacy\"] = 0] = \"legacy\";\n TransactionTypes[TransactionTypes[\"eip2930\"] = 1] = \"eip2930\";\n TransactionTypes[TransactionTypes[\"eip1559\"] = 2] = \"eip1559\";\n})(TransactionTypes || (TransactionTypes = {}));\n;\n///////////////////////////////\nfunction handleAddress(value) {\n if (value === \"0x\") {\n return null;\n }\n return getAddress(value);\n}\nfunction handleNumber(value) {\n if (value === \"0x\") {\n return Zero;\n }\n return BigNumber.from(value);\n}\n// Legacy Transaction Fields\nconst transactionFields = [\n { name: \"nonce\", maxLength: 32, numeric: true },\n { name: \"gasPrice\", maxLength: 32, numeric: true },\n { name: \"gasLimit\", maxLength: 32, numeric: true },\n { name: \"to\", length: 20 },\n { name: \"value\", maxLength: 32, numeric: true },\n { name: \"data\" },\n];\nconst allowedTransactionKeys = {\n chainId: true, data: true, gasLimit: true, gasPrice: true, nonce: true, to: true, type: true, value: true\n};\nexport function computeAddress(key) {\n const publicKey = computePublicKey(key);\n return getAddress(hexDataSlice(keccak256(hexDataSlice(publicKey, 1)), 12));\n}\nexport function recoverAddress(digest, signature) {\n return computeAddress(recoverPublicKey(arrayify(digest), signature));\n}\nfunction formatNumber(value, name) {\n const result = stripZeros(BigNumber.from(value).toHexString());\n if (result.length > 32) {\n logger.throwArgumentError(\"invalid length for \" + name, (\"transaction:\" + name), value);\n }\n return result;\n}\nfunction accessSetify(addr, storageKeys) {\n return {\n address: getAddress(addr),\n storageKeys: (storageKeys || []).map((storageKey, index) => {\n if (hexDataLength(storageKey) !== 32) {\n logger.throwArgumentError(\"invalid access list storageKey\", `accessList[${addr}:${index}]`, storageKey);\n }\n return storageKey.toLowerCase();\n })\n };\n}\nexport function accessListify(value) {\n if (Array.isArray(value)) {\n return value.map((set, index) => {\n if (Array.isArray(set)) {\n if (set.length > 2) {\n logger.throwArgumentError(\"access list expected to be [ address, storageKeys[] ]\", `value[${index}]`, set);\n }\n return accessSetify(set[0], set[1]);\n }\n return accessSetify(set.address, set.storageKeys);\n });\n }\n const result = Object.keys(value).map((addr) => {\n const storageKeys = value[addr].reduce((accum, storageKey) => {\n accum[storageKey] = true;\n return accum;\n }, {});\n return accessSetify(addr, Object.keys(storageKeys).sort());\n });\n result.sort((a, b) => (a.address.localeCompare(b.address)));\n return result;\n}\nfunction formatAccessList(value) {\n return accessListify(value).map((set) => [set.address, set.storageKeys]);\n}\nfunction _serializeEip1559(transaction, signature) {\n // If there is an explicit gasPrice, make sure it matches the\n // EIP-1559 fees; otherwise they may not understand what they\n // think they are setting in terms of fee.\n if (transaction.gasPrice != null) {\n const gasPrice = BigNumber.from(transaction.gasPrice);\n const maxFeePerGas = BigNumber.from(transaction.maxFeePerGas || 0);\n if (!gasPrice.eq(maxFeePerGas)) {\n logger.throwArgumentError(\"mismatch EIP-1559 gasPrice != maxFeePerGas\", \"tx\", {\n gasPrice, maxFeePerGas\n });\n }\n }\n const fields = [\n formatNumber(transaction.chainId || 0, \"chainId\"),\n formatNumber(transaction.nonce || 0, \"nonce\"),\n formatNumber(transaction.maxPriorityFeePerGas || 0, \"maxPriorityFeePerGas\"),\n formatNumber(transaction.maxFeePerGas || 0, \"maxFeePerGas\"),\n formatNumber(transaction.gasLimit || 0, \"gasLimit\"),\n ((transaction.to != null) ? getAddress(transaction.to) : \"0x\"),\n formatNumber(transaction.value || 0, \"value\"),\n (transaction.data || \"0x\"),\n (formatAccessList(transaction.accessList || []))\n ];\n if (signature) {\n const sig = splitSignature(signature);\n fields.push(formatNumber(sig.recoveryParam, \"recoveryParam\"));\n fields.push(stripZeros(sig.r));\n fields.push(stripZeros(sig.s));\n }\n return hexConcat([\"0x02\", RLP.encode(fields)]);\n}\nfunction _serializeEip2930(transaction, signature) {\n const fields = [\n formatNumber(transaction.chainId || 0, \"chainId\"),\n formatNumber(transaction.nonce || 0, \"nonce\"),\n formatNumber(transaction.gasPrice || 0, \"gasPrice\"),\n formatNumber(transaction.gasLimit || 0, \"gasLimit\"),\n ((transaction.to != null) ? getAddress(transaction.to) : \"0x\"),\n formatNumber(transaction.value || 0, \"value\"),\n (transaction.data || \"0x\"),\n (formatAccessList(transaction.accessList || []))\n ];\n if (signature) {\n const sig = splitSignature(signature);\n fields.push(formatNumber(sig.recoveryParam, \"recoveryParam\"));\n fields.push(stripZeros(sig.r));\n fields.push(stripZeros(sig.s));\n }\n return hexConcat([\"0x01\", RLP.encode(fields)]);\n}\n// Legacy Transactions and EIP-155\nfunction _serialize(transaction, signature) {\n checkProperties(transaction, allowedTransactionKeys);\n const raw = [];\n transactionFields.forEach(function (fieldInfo) {\n let value = transaction[fieldInfo.name] || ([]);\n const options = {};\n if (fieldInfo.numeric) {\n options.hexPad = \"left\";\n }\n value = arrayify(hexlify(value, options));\n // Fixed-width field\n if (fieldInfo.length && value.length !== fieldInfo.length && value.length > 0) {\n logger.throwArgumentError(\"invalid length for \" + fieldInfo.name, (\"transaction:\" + fieldInfo.name), value);\n }\n // Variable-width (with a maximum)\n if (fieldInfo.maxLength) {\n value = stripZeros(value);\n if (value.length > fieldInfo.maxLength) {\n logger.throwArgumentError(\"invalid length for \" + fieldInfo.name, (\"transaction:\" + fieldInfo.name), value);\n }\n }\n raw.push(hexlify(value));\n });\n let chainId = 0;\n if (transaction.chainId != null) {\n // A chainId was provided; if non-zero we'll use EIP-155\n chainId = transaction.chainId;\n if (typeof (chainId) !== \"number\") {\n logger.throwArgumentError(\"invalid transaction.chainId\", \"transaction\", transaction);\n }\n }\n else if (signature && !isBytesLike(signature) && signature.v > 28) {\n // No chainId provided, but the signature is signing with EIP-155; derive chainId\n chainId = Math.floor((signature.v - 35) / 2);\n }\n // We have an EIP-155 transaction (chainId was specified and non-zero)\n if (chainId !== 0) {\n raw.push(hexlify(chainId)); // @TODO: hexValue?\n raw.push(\"0x\");\n raw.push(\"0x\");\n }\n // Requesting an unsigned transaction\n if (!signature) {\n return RLP.encode(raw);\n }\n // The splitSignature will ensure the transaction has a recoveryParam in the\n // case that the signTransaction function only adds a v.\n const sig = splitSignature(signature);\n // We pushed a chainId and null r, s on for hashing only; remove those\n let v = 27 + sig.recoveryParam;\n if (chainId !== 0) {\n raw.pop();\n raw.pop();\n raw.pop();\n v += chainId * 2 + 8;\n // If an EIP-155 v (directly or indirectly; maybe _vs) was provided, check it!\n if (sig.v > 28 && sig.v !== v) {\n logger.throwArgumentError(\"transaction.chainId/signature.v mismatch\", \"signature\", signature);\n }\n }\n else if (sig.v !== v) {\n logger.throwArgumentError(\"transaction.chainId/signature.v mismatch\", \"signature\", signature);\n }\n raw.push(hexlify(v));\n raw.push(stripZeros(arrayify(sig.r)));\n raw.push(stripZeros(arrayify(sig.s)));\n return RLP.encode(raw);\n}\nexport function serialize(transaction, signature) {\n // Legacy and EIP-155 Transactions\n if (transaction.type == null || transaction.type === 0) {\n if (transaction.accessList != null) {\n logger.throwArgumentError(\"untyped transactions do not support accessList; include type: 1\", \"transaction\", transaction);\n }\n return _serialize(transaction, signature);\n }\n // Typed Transactions (EIP-2718)\n switch (transaction.type) {\n case 1:\n return _serializeEip2930(transaction, signature);\n case 2:\n return _serializeEip1559(transaction, signature);\n default:\n break;\n }\n return logger.throwError(`unsupported transaction type: ${transaction.type}`, Logger.errors.UNSUPPORTED_OPERATION, {\n operation: \"serializeTransaction\",\n transactionType: transaction.type\n });\n}\nfunction _parseEipSignature(tx, fields, serialize) {\n try {\n const recid = handleNumber(fields[0]).toNumber();\n if (recid !== 0 && recid !== 1) {\n throw new Error(\"bad recid\");\n }\n tx.v = recid;\n }\n catch (error) {\n logger.throwArgumentError(\"invalid v for transaction type: 1\", \"v\", fields[0]);\n }\n tx.r = hexZeroPad(fields[1], 32);\n tx.s = hexZeroPad(fields[2], 32);\n try {\n const digest = keccak256(serialize(tx));\n tx.from = recoverAddress(digest, { r: tx.r, s: tx.s, recoveryParam: tx.v });\n }\n catch (error) { }\n}\nfunction _parseEip1559(payload) {\n const transaction = RLP.decode(payload.slice(1));\n if (transaction.length !== 9 && transaction.length !== 12) {\n logger.throwArgumentError(\"invalid component count for transaction type: 2\", \"payload\", hexlify(payload));\n }\n const maxPriorityFeePerGas = handleNumber(transaction[2]);\n const maxFeePerGas = handleNumber(transaction[3]);\n const tx = {\n type: 2,\n chainId: handleNumber(transaction[0]).toNumber(),\n nonce: handleNumber(transaction[1]).toNumber(),\n maxPriorityFeePerGas: maxPriorityFeePerGas,\n maxFeePerGas: maxFeePerGas,\n gasPrice: null,\n gasLimit: handleNumber(transaction[4]),\n to: handleAddress(transaction[5]),\n value: handleNumber(transaction[6]),\n data: transaction[7],\n accessList: accessListify(transaction[8]),\n };\n // Unsigned EIP-1559 Transaction\n if (transaction.length === 9) {\n return tx;\n }\n tx.hash = keccak256(payload);\n _parseEipSignature(tx, transaction.slice(9), _serializeEip1559);\n return tx;\n}\nfunction _parseEip2930(payload) {\n const transaction = RLP.decode(payload.slice(1));\n if (transaction.length !== 8 && transaction.length !== 11) {\n logger.throwArgumentError(\"invalid component count for transaction type: 1\", \"payload\", hexlify(payload));\n }\n const tx = {\n type: 1,\n chainId: handleNumber(transaction[0]).toNumber(),\n nonce: handleNumber(transaction[1]).toNumber(),\n gasPrice: handleNumber(transaction[2]),\n gasLimit: handleNumber(transaction[3]),\n to: handleAddress(transaction[4]),\n value: handleNumber(transaction[5]),\n data: transaction[6],\n accessList: accessListify(transaction[7])\n };\n // Unsigned EIP-2930 Transaction\n if (transaction.length === 8) {\n return tx;\n }\n tx.hash = keccak256(payload);\n _parseEipSignature(tx, transaction.slice(8), _serializeEip2930);\n return tx;\n}\n// Legacy Transactions and EIP-155\nfunction _parse(rawTransaction) {\n const transaction = RLP.decode(rawTransaction);\n if (transaction.length !== 9 && transaction.length !== 6) {\n logger.throwArgumentError(\"invalid raw transaction\", \"rawTransaction\", rawTransaction);\n }\n const tx = {\n nonce: handleNumber(transaction[0]).toNumber(),\n gasPrice: handleNumber(transaction[1]),\n gasLimit: handleNumber(transaction[2]),\n to: handleAddress(transaction[3]),\n value: handleNumber(transaction[4]),\n data: transaction[5],\n chainId: 0\n };\n // Legacy unsigned transaction\n if (transaction.length === 6) {\n return tx;\n }\n try {\n tx.v = BigNumber.from(transaction[6]).toNumber();\n }\n catch (error) {\n // @TODO: What makes snese to do? The v is too big\n return tx;\n }\n tx.r = hexZeroPad(transaction[7], 32);\n tx.s = hexZeroPad(transaction[8], 32);\n if (BigNumber.from(tx.r).isZero() && BigNumber.from(tx.s).isZero()) {\n // EIP-155 unsigned transaction\n tx.chainId = tx.v;\n tx.v = 0;\n }\n else {\n // Signed Transaction\n tx.chainId = Math.floor((tx.v - 35) / 2);\n if (tx.chainId < 0) {\n tx.chainId = 0;\n }\n let recoveryParam = tx.v - 27;\n const raw = transaction.slice(0, 6);\n if (tx.chainId !== 0) {\n raw.push(hexlify(tx.chainId));\n raw.push(\"0x\");\n raw.push(\"0x\");\n recoveryParam -= tx.chainId * 2 + 8;\n }\n const digest = keccak256(RLP.encode(raw));\n try {\n tx.from = recoverAddress(digest, { r: hexlify(tx.r), s: hexlify(tx.s), recoveryParam: recoveryParam });\n }\n catch (error) { }\n tx.hash = keccak256(rawTransaction);\n }\n tx.type = null;\n return tx;\n}\nexport function parse(rawTransaction) {\n const payload = arrayify(rawTransaction);\n // Legacy and EIP-155 Transactions\n if (payload[0] > 0x7f) {\n return _parse(payload);\n }\n // Typed Transaction (EIP-2718)\n switch (payload[0]) {\n case 1:\n return _parseEip2930(payload);\n case 2:\n return _parseEip1559(payload);\n default:\n break;\n }\n return logger.throwError(`unsupported transaction type: ${payload[0]}`, Logger.errors.UNSUPPORTED_OPERATION, {\n operation: \"parseTransaction\",\n transactionType: payload[0]\n });\n}\n//# sourceMappingURL=index.js.map"],"names":["RLP.encode","RLP.decode"],"mappings":";;;;;;;;;;AAWA,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC;AACxB,IAAC;AACX,CAAC,UAAU,gBAAgB,EAAE;AAC7B,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,QAAQ;AAC/D,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;AACjE,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,SAAS,CAAC,GAAG,CAAC,CAA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,GAAG,IAAI,EAAE;AAC3B,QAAQ,OAAO,MAAM,CAAC,OAAO,CAAC;AAC9B,IAAI;AACJ;AACA,IAAI,QAAQ,OAAO,CAAC,CAAC,CAAC;AACtB,QAAQ,KAAK,CAAC;AACd,YAAY,OAAO,aAAa,CAAC,OAAO,CAAC;AACzC,QAAQ,KAAK,CAAC;AACd,YAAY,OAAO,aAAa,CAAC,OAAO,CAAC;AAGzC;AACA,IAAI,OAAO,MAAM,CAAC,UAAU,CAAC,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE;AACjH,QAAQ,SAAS,EAAE,kBAAkB;AACrC,QAAQ,eAAe,EAAE,OAAO,CAAC,CAAC;AAClC,KAAK,CAAC;AACN;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_version.js","sources":["../../../../../node_modules/@ethersproject/units/lib.esm/_version.js"],"sourcesContent":["export const version = \"units/5.8.0\";\n//# sourceMappingURL=_version.js.map"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Logger } from '../../logger/lib.esm/index.js';
|
|
2
|
+
import { version } from './_version.js';
|
|
3
|
+
import { parseFixed } from '../../bignumber/lib.esm/fixednumber.js';
|
|
4
|
+
|
|
5
|
+
const logger = new Logger(version);
|
|
6
|
+
const names = [
|
|
7
|
+
"wei",
|
|
8
|
+
"kwei",
|
|
9
|
+
"mwei",
|
|
10
|
+
"gwei",
|
|
11
|
+
"szabo",
|
|
12
|
+
"finney",
|
|
13
|
+
"ether",
|
|
14
|
+
];
|
|
15
|
+
function parseUnits(value, unitName) {
|
|
16
|
+
if (typeof (value) !== "string") {
|
|
17
|
+
logger.throwArgumentError("value must be a string", "value", value);
|
|
18
|
+
}
|
|
19
|
+
if (typeof (unitName) === "string") {
|
|
20
|
+
const index = names.indexOf(unitName);
|
|
21
|
+
if (index !== -1) {
|
|
22
|
+
unitName = 3 * index;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return parseFixed(value, (unitName != null) ? unitName : 18);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { parseUnits };
|
|
29
|
+
//# sourceMappingURL=index.js.map
|