@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,2111 @@
|
|
|
1
|
+
import { __exports as buffer } from '../../_virtual/index.js';
|
|
2
|
+
import '../base64-js/index.js';
|
|
3
|
+
import '../ieee754/index.js';
|
|
4
|
+
import { __exports as ieee754 } from '../../_virtual/index2.js';
|
|
5
|
+
import { __exports as base64Js } from '../../_virtual/index3.js';
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
* The buffer module from node.js, for the browser.
|
|
9
|
+
*
|
|
10
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
11
|
+
* @license MIT
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
(function (exports$1) {
|
|
15
|
+
|
|
16
|
+
const base64 = base64Js;
|
|
17
|
+
const ieee754$1 = ieee754;
|
|
18
|
+
const customInspectSymbol =
|
|
19
|
+
(typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
|
|
20
|
+
? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
|
|
21
|
+
: null;
|
|
22
|
+
|
|
23
|
+
exports$1.Buffer = Buffer;
|
|
24
|
+
exports$1.SlowBuffer = SlowBuffer;
|
|
25
|
+
exports$1.INSPECT_MAX_BYTES = 50;
|
|
26
|
+
|
|
27
|
+
const K_MAX_LENGTH = 0x7fffffff;
|
|
28
|
+
exports$1.kMaxLength = K_MAX_LENGTH;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
32
|
+
* === true Use Uint8Array implementation (fastest)
|
|
33
|
+
* === false Print warning and recommend using `buffer` v4.x which has an Object
|
|
34
|
+
* implementation (most compatible, even IE6)
|
|
35
|
+
*
|
|
36
|
+
* Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
|
|
37
|
+
* Opera 11.6+, iOS 4.2+.
|
|
38
|
+
*
|
|
39
|
+
* We report that the browser does not support typed arrays if the are not subclassable
|
|
40
|
+
* using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
|
|
41
|
+
* (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
|
|
42
|
+
* for __proto__ and has a buggy typed array implementation.
|
|
43
|
+
*/
|
|
44
|
+
Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
45
|
+
|
|
46
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&
|
|
47
|
+
typeof console.error === 'function') {
|
|
48
|
+
console.error(
|
|
49
|
+
'This browser lacks typed array (Uint8Array) support which is required by ' +
|
|
50
|
+
'`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function typedArraySupport () {
|
|
55
|
+
// Can typed array instances can be augmented?
|
|
56
|
+
try {
|
|
57
|
+
const arr = new Uint8Array(1);
|
|
58
|
+
const proto = { foo: function () { return 42 } };
|
|
59
|
+
Object.setPrototypeOf(proto, Uint8Array.prototype);
|
|
60
|
+
Object.setPrototypeOf(arr, proto);
|
|
61
|
+
return arr.foo() === 42
|
|
62
|
+
} catch (e) {
|
|
63
|
+
return false
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
Object.defineProperty(Buffer.prototype, 'parent', {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () {
|
|
70
|
+
if (!Buffer.isBuffer(this)) return undefined
|
|
71
|
+
return this.buffer
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
Object.defineProperty(Buffer.prototype, 'offset', {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () {
|
|
78
|
+
if (!Buffer.isBuffer(this)) return undefined
|
|
79
|
+
return this.byteOffset
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
function createBuffer (length) {
|
|
84
|
+
if (length > K_MAX_LENGTH) {
|
|
85
|
+
throw new RangeError('The value "' + length + '" is invalid for option "size"')
|
|
86
|
+
}
|
|
87
|
+
// Return an augmented `Uint8Array` instance
|
|
88
|
+
const buf = new Uint8Array(length);
|
|
89
|
+
Object.setPrototypeOf(buf, Buffer.prototype);
|
|
90
|
+
return buf
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The Buffer constructor returns instances of `Uint8Array` that have their
|
|
95
|
+
* prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
|
|
96
|
+
* `Uint8Array`, so the returned instances will have all the node `Buffer` methods
|
|
97
|
+
* and the `Uint8Array` methods. Square bracket notation works as expected -- it
|
|
98
|
+
* returns a single octet.
|
|
99
|
+
*
|
|
100
|
+
* The `Uint8Array` prototype remains unmodified.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
function Buffer (arg, encodingOrOffset, length) {
|
|
104
|
+
// Common case.
|
|
105
|
+
if (typeof arg === 'number') {
|
|
106
|
+
if (typeof encodingOrOffset === 'string') {
|
|
107
|
+
throw new TypeError(
|
|
108
|
+
'The "string" argument must be of type string. Received type number'
|
|
109
|
+
)
|
|
110
|
+
}
|
|
111
|
+
return allocUnsafe(arg)
|
|
112
|
+
}
|
|
113
|
+
return from(arg, encodingOrOffset, length)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
Buffer.poolSize = 8192; // not used by this implementation
|
|
117
|
+
|
|
118
|
+
function from (value, encodingOrOffset, length) {
|
|
119
|
+
if (typeof value === 'string') {
|
|
120
|
+
return fromString(value, encodingOrOffset)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (ArrayBuffer.isView(value)) {
|
|
124
|
+
return fromArrayView(value)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (value == null) {
|
|
128
|
+
throw new TypeError(
|
|
129
|
+
'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
|
|
130
|
+
'or Array-like Object. Received type ' + (typeof value)
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (isInstance(value, ArrayBuffer) ||
|
|
135
|
+
(value && isInstance(value.buffer, ArrayBuffer))) {
|
|
136
|
+
return fromArrayBuffer(value, encodingOrOffset, length)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (typeof SharedArrayBuffer !== 'undefined' &&
|
|
140
|
+
(isInstance(value, SharedArrayBuffer) ||
|
|
141
|
+
(value && isInstance(value.buffer, SharedArrayBuffer)))) {
|
|
142
|
+
return fromArrayBuffer(value, encodingOrOffset, length)
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (typeof value === 'number') {
|
|
146
|
+
throw new TypeError(
|
|
147
|
+
'The "value" argument must not be of type number. Received type number'
|
|
148
|
+
)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const valueOf = value.valueOf && value.valueOf();
|
|
152
|
+
if (valueOf != null && valueOf !== value) {
|
|
153
|
+
return Buffer.from(valueOf, encodingOrOffset, length)
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const b = fromObject(value);
|
|
157
|
+
if (b) return b
|
|
158
|
+
|
|
159
|
+
if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&
|
|
160
|
+
typeof value[Symbol.toPrimitive] === 'function') {
|
|
161
|
+
return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
throw new TypeError(
|
|
165
|
+
'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
|
|
166
|
+
'or Array-like Object. Received type ' + (typeof value)
|
|
167
|
+
)
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
|
|
172
|
+
* if value is a number.
|
|
173
|
+
* Buffer.from(str[, encoding])
|
|
174
|
+
* Buffer.from(array)
|
|
175
|
+
* Buffer.from(buffer)
|
|
176
|
+
* Buffer.from(arrayBuffer[, byteOffset[, length]])
|
|
177
|
+
**/
|
|
178
|
+
Buffer.from = function (value, encodingOrOffset, length) {
|
|
179
|
+
return from(value, encodingOrOffset, length)
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
|
|
183
|
+
// https://github.com/feross/buffer/pull/148
|
|
184
|
+
Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype);
|
|
185
|
+
Object.setPrototypeOf(Buffer, Uint8Array);
|
|
186
|
+
|
|
187
|
+
function assertSize (size) {
|
|
188
|
+
if (typeof size !== 'number') {
|
|
189
|
+
throw new TypeError('"size" argument must be of type number')
|
|
190
|
+
} else if (size < 0) {
|
|
191
|
+
throw new RangeError('The value "' + size + '" is invalid for option "size"')
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function alloc (size, fill, encoding) {
|
|
196
|
+
assertSize(size);
|
|
197
|
+
if (size <= 0) {
|
|
198
|
+
return createBuffer(size)
|
|
199
|
+
}
|
|
200
|
+
if (fill !== undefined) {
|
|
201
|
+
// Only pay attention to encoding if it's a string. This
|
|
202
|
+
// prevents accidentally sending in a number that would
|
|
203
|
+
// be interpreted as a start offset.
|
|
204
|
+
return typeof encoding === 'string'
|
|
205
|
+
? createBuffer(size).fill(fill, encoding)
|
|
206
|
+
: createBuffer(size).fill(fill)
|
|
207
|
+
}
|
|
208
|
+
return createBuffer(size)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Creates a new filled Buffer instance.
|
|
213
|
+
* alloc(size[, fill[, encoding]])
|
|
214
|
+
**/
|
|
215
|
+
Buffer.alloc = function (size, fill, encoding) {
|
|
216
|
+
return alloc(size, fill, encoding)
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
function allocUnsafe (size) {
|
|
220
|
+
assertSize(size);
|
|
221
|
+
return createBuffer(size < 0 ? 0 : checked(size) | 0)
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
|
|
226
|
+
* */
|
|
227
|
+
Buffer.allocUnsafe = function (size) {
|
|
228
|
+
return allocUnsafe(size)
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
|
|
232
|
+
*/
|
|
233
|
+
Buffer.allocUnsafeSlow = function (size) {
|
|
234
|
+
return allocUnsafe(size)
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
function fromString (string, encoding) {
|
|
238
|
+
if (typeof encoding !== 'string' || encoding === '') {
|
|
239
|
+
encoding = 'utf8';
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (!Buffer.isEncoding(encoding)) {
|
|
243
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
const length = byteLength(string, encoding) | 0;
|
|
247
|
+
let buf = createBuffer(length);
|
|
248
|
+
|
|
249
|
+
const actual = buf.write(string, encoding);
|
|
250
|
+
|
|
251
|
+
if (actual !== length) {
|
|
252
|
+
// Writing a hex string, for example, that contains invalid characters will
|
|
253
|
+
// cause everything after the first invalid character to be ignored. (e.g.
|
|
254
|
+
// 'abxxcd' will be treated as 'ab')
|
|
255
|
+
buf = buf.slice(0, actual);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
return buf
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function fromArrayLike (array) {
|
|
262
|
+
const length = array.length < 0 ? 0 : checked(array.length) | 0;
|
|
263
|
+
const buf = createBuffer(length);
|
|
264
|
+
for (let i = 0; i < length; i += 1) {
|
|
265
|
+
buf[i] = array[i] & 255;
|
|
266
|
+
}
|
|
267
|
+
return buf
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function fromArrayView (arrayView) {
|
|
271
|
+
if (isInstance(arrayView, Uint8Array)) {
|
|
272
|
+
const copy = new Uint8Array(arrayView);
|
|
273
|
+
return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)
|
|
274
|
+
}
|
|
275
|
+
return fromArrayLike(arrayView)
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
function fromArrayBuffer (array, byteOffset, length) {
|
|
279
|
+
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
280
|
+
throw new RangeError('"offset" is outside of buffer bounds')
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (array.byteLength < byteOffset + (length || 0)) {
|
|
284
|
+
throw new RangeError('"length" is outside of buffer bounds')
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
let buf;
|
|
288
|
+
if (byteOffset === undefined && length === undefined) {
|
|
289
|
+
buf = new Uint8Array(array);
|
|
290
|
+
} else if (length === undefined) {
|
|
291
|
+
buf = new Uint8Array(array, byteOffset);
|
|
292
|
+
} else {
|
|
293
|
+
buf = new Uint8Array(array, byteOffset, length);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// Return an augmented `Uint8Array` instance
|
|
297
|
+
Object.setPrototypeOf(buf, Buffer.prototype);
|
|
298
|
+
|
|
299
|
+
return buf
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function fromObject (obj) {
|
|
303
|
+
if (Buffer.isBuffer(obj)) {
|
|
304
|
+
const len = checked(obj.length) | 0;
|
|
305
|
+
const buf = createBuffer(len);
|
|
306
|
+
|
|
307
|
+
if (buf.length === 0) {
|
|
308
|
+
return buf
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
obj.copy(buf, 0, 0, len);
|
|
312
|
+
return buf
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
if (obj.length !== undefined) {
|
|
316
|
+
if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {
|
|
317
|
+
return createBuffer(0)
|
|
318
|
+
}
|
|
319
|
+
return fromArrayLike(obj)
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (obj.type === 'Buffer' && Array.isArray(obj.data)) {
|
|
323
|
+
return fromArrayLike(obj.data)
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
function checked (length) {
|
|
328
|
+
// Note: cannot use `length < K_MAX_LENGTH` here because that fails when
|
|
329
|
+
// length is NaN (which is otherwise coerced to zero.)
|
|
330
|
+
if (length >= K_MAX_LENGTH) {
|
|
331
|
+
throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
|
|
332
|
+
'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')
|
|
333
|
+
}
|
|
334
|
+
return length | 0
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
function SlowBuffer (length) {
|
|
338
|
+
if (+length != length) { // eslint-disable-line eqeqeq
|
|
339
|
+
length = 0;
|
|
340
|
+
}
|
|
341
|
+
return Buffer.alloc(+length)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
Buffer.isBuffer = function isBuffer (b) {
|
|
345
|
+
return b != null && b._isBuffer === true &&
|
|
346
|
+
b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
Buffer.compare = function compare (a, b) {
|
|
350
|
+
if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength);
|
|
351
|
+
if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength);
|
|
352
|
+
if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
|
|
353
|
+
throw new TypeError(
|
|
354
|
+
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
355
|
+
)
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if (a === b) return 0
|
|
359
|
+
|
|
360
|
+
let x = a.length;
|
|
361
|
+
let y = b.length;
|
|
362
|
+
|
|
363
|
+
for (let i = 0, len = Math.min(x, y); i < len; ++i) {
|
|
364
|
+
if (a[i] !== b[i]) {
|
|
365
|
+
x = a[i];
|
|
366
|
+
y = b[i];
|
|
367
|
+
break
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (x < y) return -1
|
|
372
|
+
if (y < x) return 1
|
|
373
|
+
return 0
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
Buffer.isEncoding = function isEncoding (encoding) {
|
|
377
|
+
switch (String(encoding).toLowerCase()) {
|
|
378
|
+
case 'hex':
|
|
379
|
+
case 'utf8':
|
|
380
|
+
case 'utf-8':
|
|
381
|
+
case 'ascii':
|
|
382
|
+
case 'latin1':
|
|
383
|
+
case 'binary':
|
|
384
|
+
case 'base64':
|
|
385
|
+
case 'ucs2':
|
|
386
|
+
case 'ucs-2':
|
|
387
|
+
case 'utf16le':
|
|
388
|
+
case 'utf-16le':
|
|
389
|
+
return true
|
|
390
|
+
default:
|
|
391
|
+
return false
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
Buffer.concat = function concat (list, length) {
|
|
396
|
+
if (!Array.isArray(list)) {
|
|
397
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (list.length === 0) {
|
|
401
|
+
return Buffer.alloc(0)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
let i;
|
|
405
|
+
if (length === undefined) {
|
|
406
|
+
length = 0;
|
|
407
|
+
for (i = 0; i < list.length; ++i) {
|
|
408
|
+
length += list[i].length;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
const buffer = Buffer.allocUnsafe(length);
|
|
413
|
+
let pos = 0;
|
|
414
|
+
for (i = 0; i < list.length; ++i) {
|
|
415
|
+
let buf = list[i];
|
|
416
|
+
if (isInstance(buf, Uint8Array)) {
|
|
417
|
+
if (pos + buf.length > buffer.length) {
|
|
418
|
+
if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf);
|
|
419
|
+
buf.copy(buffer, pos);
|
|
420
|
+
} else {
|
|
421
|
+
Uint8Array.prototype.set.call(
|
|
422
|
+
buffer,
|
|
423
|
+
buf,
|
|
424
|
+
pos
|
|
425
|
+
);
|
|
426
|
+
}
|
|
427
|
+
} else if (!Buffer.isBuffer(buf)) {
|
|
428
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
429
|
+
} else {
|
|
430
|
+
buf.copy(buffer, pos);
|
|
431
|
+
}
|
|
432
|
+
pos += buf.length;
|
|
433
|
+
}
|
|
434
|
+
return buffer
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
function byteLength (string, encoding) {
|
|
438
|
+
if (Buffer.isBuffer(string)) {
|
|
439
|
+
return string.length
|
|
440
|
+
}
|
|
441
|
+
if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {
|
|
442
|
+
return string.byteLength
|
|
443
|
+
}
|
|
444
|
+
if (typeof string !== 'string') {
|
|
445
|
+
throw new TypeError(
|
|
446
|
+
'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' +
|
|
447
|
+
'Received type ' + typeof string
|
|
448
|
+
)
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
const len = string.length;
|
|
452
|
+
const mustMatch = (arguments.length > 2 && arguments[2] === true);
|
|
453
|
+
if (!mustMatch && len === 0) return 0
|
|
454
|
+
|
|
455
|
+
// Use a for loop to avoid recursion
|
|
456
|
+
let loweredCase = false;
|
|
457
|
+
for (;;) {
|
|
458
|
+
switch (encoding) {
|
|
459
|
+
case 'ascii':
|
|
460
|
+
case 'latin1':
|
|
461
|
+
case 'binary':
|
|
462
|
+
return len
|
|
463
|
+
case 'utf8':
|
|
464
|
+
case 'utf-8':
|
|
465
|
+
return utf8ToBytes(string).length
|
|
466
|
+
case 'ucs2':
|
|
467
|
+
case 'ucs-2':
|
|
468
|
+
case 'utf16le':
|
|
469
|
+
case 'utf-16le':
|
|
470
|
+
return len * 2
|
|
471
|
+
case 'hex':
|
|
472
|
+
return len >>> 1
|
|
473
|
+
case 'base64':
|
|
474
|
+
return base64ToBytes(string).length
|
|
475
|
+
default:
|
|
476
|
+
if (loweredCase) {
|
|
477
|
+
return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8
|
|
478
|
+
}
|
|
479
|
+
encoding = ('' + encoding).toLowerCase();
|
|
480
|
+
loweredCase = true;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
Buffer.byteLength = byteLength;
|
|
485
|
+
|
|
486
|
+
function slowToString (encoding, start, end) {
|
|
487
|
+
let loweredCase = false;
|
|
488
|
+
|
|
489
|
+
// No need to verify that "this.length <= MAX_UINT32" since it's a read-only
|
|
490
|
+
// property of a typed array.
|
|
491
|
+
|
|
492
|
+
// This behaves neither like String nor Uint8Array in that we set start/end
|
|
493
|
+
// to their upper/lower bounds if the value passed is out of range.
|
|
494
|
+
// undefined is handled specially as per ECMA-262 6th Edition,
|
|
495
|
+
// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
|
|
496
|
+
if (start === undefined || start < 0) {
|
|
497
|
+
start = 0;
|
|
498
|
+
}
|
|
499
|
+
// Return early if start > this.length. Done here to prevent potential uint32
|
|
500
|
+
// coercion fail below.
|
|
501
|
+
if (start > this.length) {
|
|
502
|
+
return ''
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (end === undefined || end > this.length) {
|
|
506
|
+
end = this.length;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
if (end <= 0) {
|
|
510
|
+
return ''
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
// Force coercion to uint32. This will also coerce falsey/NaN values to 0.
|
|
514
|
+
end >>>= 0;
|
|
515
|
+
start >>>= 0;
|
|
516
|
+
|
|
517
|
+
if (end <= start) {
|
|
518
|
+
return ''
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
if (!encoding) encoding = 'utf8';
|
|
522
|
+
|
|
523
|
+
while (true) {
|
|
524
|
+
switch (encoding) {
|
|
525
|
+
case 'hex':
|
|
526
|
+
return hexSlice(this, start, end)
|
|
527
|
+
|
|
528
|
+
case 'utf8':
|
|
529
|
+
case 'utf-8':
|
|
530
|
+
return utf8Slice(this, start, end)
|
|
531
|
+
|
|
532
|
+
case 'ascii':
|
|
533
|
+
return asciiSlice(this, start, end)
|
|
534
|
+
|
|
535
|
+
case 'latin1':
|
|
536
|
+
case 'binary':
|
|
537
|
+
return latin1Slice(this, start, end)
|
|
538
|
+
|
|
539
|
+
case 'base64':
|
|
540
|
+
return base64Slice(this, start, end)
|
|
541
|
+
|
|
542
|
+
case 'ucs2':
|
|
543
|
+
case 'ucs-2':
|
|
544
|
+
case 'utf16le':
|
|
545
|
+
case 'utf-16le':
|
|
546
|
+
return utf16leSlice(this, start, end)
|
|
547
|
+
|
|
548
|
+
default:
|
|
549
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
550
|
+
encoding = (encoding + '').toLowerCase();
|
|
551
|
+
loweredCase = true;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
|
|
557
|
+
// to detect a Buffer instance. It's not possible to use `instanceof Buffer`
|
|
558
|
+
// reliably in a browserify context because there could be multiple different
|
|
559
|
+
// copies of the 'buffer' package in use. This method works even for Buffer
|
|
560
|
+
// instances that were created from another copy of the `buffer` package.
|
|
561
|
+
// See: https://github.com/feross/buffer/issues/154
|
|
562
|
+
Buffer.prototype._isBuffer = true;
|
|
563
|
+
|
|
564
|
+
function swap (b, n, m) {
|
|
565
|
+
const i = b[n];
|
|
566
|
+
b[n] = b[m];
|
|
567
|
+
b[m] = i;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
Buffer.prototype.swap16 = function swap16 () {
|
|
571
|
+
const len = this.length;
|
|
572
|
+
if (len % 2 !== 0) {
|
|
573
|
+
throw new RangeError('Buffer size must be a multiple of 16-bits')
|
|
574
|
+
}
|
|
575
|
+
for (let i = 0; i < len; i += 2) {
|
|
576
|
+
swap(this, i, i + 1);
|
|
577
|
+
}
|
|
578
|
+
return this
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
Buffer.prototype.swap32 = function swap32 () {
|
|
582
|
+
const len = this.length;
|
|
583
|
+
if (len % 4 !== 0) {
|
|
584
|
+
throw new RangeError('Buffer size must be a multiple of 32-bits')
|
|
585
|
+
}
|
|
586
|
+
for (let i = 0; i < len; i += 4) {
|
|
587
|
+
swap(this, i, i + 3);
|
|
588
|
+
swap(this, i + 1, i + 2);
|
|
589
|
+
}
|
|
590
|
+
return this
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
Buffer.prototype.swap64 = function swap64 () {
|
|
594
|
+
const len = this.length;
|
|
595
|
+
if (len % 8 !== 0) {
|
|
596
|
+
throw new RangeError('Buffer size must be a multiple of 64-bits')
|
|
597
|
+
}
|
|
598
|
+
for (let i = 0; i < len; i += 8) {
|
|
599
|
+
swap(this, i, i + 7);
|
|
600
|
+
swap(this, i + 1, i + 6);
|
|
601
|
+
swap(this, i + 2, i + 5);
|
|
602
|
+
swap(this, i + 3, i + 4);
|
|
603
|
+
}
|
|
604
|
+
return this
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
Buffer.prototype.toString = function toString () {
|
|
608
|
+
const length = this.length;
|
|
609
|
+
if (length === 0) return ''
|
|
610
|
+
if (arguments.length === 0) return utf8Slice(this, 0, length)
|
|
611
|
+
return slowToString.apply(this, arguments)
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
Buffer.prototype.toLocaleString = Buffer.prototype.toString;
|
|
615
|
+
|
|
616
|
+
Buffer.prototype.equals = function equals (b) {
|
|
617
|
+
if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
|
|
618
|
+
if (this === b) return true
|
|
619
|
+
return Buffer.compare(this, b) === 0
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
Buffer.prototype.inspect = function inspect () {
|
|
623
|
+
let str = '';
|
|
624
|
+
const max = exports$1.INSPECT_MAX_BYTES;
|
|
625
|
+
str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim();
|
|
626
|
+
if (this.length > max) str += ' ... ';
|
|
627
|
+
return '<Buffer ' + str + '>'
|
|
628
|
+
};
|
|
629
|
+
if (customInspectSymbol) {
|
|
630
|
+
Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
|
|
634
|
+
if (isInstance(target, Uint8Array)) {
|
|
635
|
+
target = Buffer.from(target, target.offset, target.byteLength);
|
|
636
|
+
}
|
|
637
|
+
if (!Buffer.isBuffer(target)) {
|
|
638
|
+
throw new TypeError(
|
|
639
|
+
'The "target" argument must be one of type Buffer or Uint8Array. ' +
|
|
640
|
+
'Received type ' + (typeof target)
|
|
641
|
+
)
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
if (start === undefined) {
|
|
645
|
+
start = 0;
|
|
646
|
+
}
|
|
647
|
+
if (end === undefined) {
|
|
648
|
+
end = target ? target.length : 0;
|
|
649
|
+
}
|
|
650
|
+
if (thisStart === undefined) {
|
|
651
|
+
thisStart = 0;
|
|
652
|
+
}
|
|
653
|
+
if (thisEnd === undefined) {
|
|
654
|
+
thisEnd = this.length;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
|
|
658
|
+
throw new RangeError('out of range index')
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
if (thisStart >= thisEnd && start >= end) {
|
|
662
|
+
return 0
|
|
663
|
+
}
|
|
664
|
+
if (thisStart >= thisEnd) {
|
|
665
|
+
return -1
|
|
666
|
+
}
|
|
667
|
+
if (start >= end) {
|
|
668
|
+
return 1
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
start >>>= 0;
|
|
672
|
+
end >>>= 0;
|
|
673
|
+
thisStart >>>= 0;
|
|
674
|
+
thisEnd >>>= 0;
|
|
675
|
+
|
|
676
|
+
if (this === target) return 0
|
|
677
|
+
|
|
678
|
+
let x = thisEnd - thisStart;
|
|
679
|
+
let y = end - start;
|
|
680
|
+
const len = Math.min(x, y);
|
|
681
|
+
|
|
682
|
+
const thisCopy = this.slice(thisStart, thisEnd);
|
|
683
|
+
const targetCopy = target.slice(start, end);
|
|
684
|
+
|
|
685
|
+
for (let i = 0; i < len; ++i) {
|
|
686
|
+
if (thisCopy[i] !== targetCopy[i]) {
|
|
687
|
+
x = thisCopy[i];
|
|
688
|
+
y = targetCopy[i];
|
|
689
|
+
break
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
if (x < y) return -1
|
|
694
|
+
if (y < x) return 1
|
|
695
|
+
return 0
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
|
|
699
|
+
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
|
|
700
|
+
//
|
|
701
|
+
// Arguments:
|
|
702
|
+
// - buffer - a Buffer to search
|
|
703
|
+
// - val - a string, Buffer, or number
|
|
704
|
+
// - byteOffset - an index into `buffer`; will be clamped to an int32
|
|
705
|
+
// - encoding - an optional encoding, relevant is val is a string
|
|
706
|
+
// - dir - true for indexOf, false for lastIndexOf
|
|
707
|
+
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
708
|
+
// Empty buffer means no match
|
|
709
|
+
if (buffer.length === 0) return -1
|
|
710
|
+
|
|
711
|
+
// Normalize byteOffset
|
|
712
|
+
if (typeof byteOffset === 'string') {
|
|
713
|
+
encoding = byteOffset;
|
|
714
|
+
byteOffset = 0;
|
|
715
|
+
} else if (byteOffset > 0x7fffffff) {
|
|
716
|
+
byteOffset = 0x7fffffff;
|
|
717
|
+
} else if (byteOffset < -2147483648) {
|
|
718
|
+
byteOffset = -2147483648;
|
|
719
|
+
}
|
|
720
|
+
byteOffset = +byteOffset; // Coerce to Number.
|
|
721
|
+
if (numberIsNaN(byteOffset)) {
|
|
722
|
+
// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
|
|
723
|
+
byteOffset = dir ? 0 : (buffer.length - 1);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
// Normalize byteOffset: negative offsets start from the end of the buffer
|
|
727
|
+
if (byteOffset < 0) byteOffset = buffer.length + byteOffset;
|
|
728
|
+
if (byteOffset >= buffer.length) {
|
|
729
|
+
if (dir) return -1
|
|
730
|
+
else byteOffset = buffer.length - 1;
|
|
731
|
+
} else if (byteOffset < 0) {
|
|
732
|
+
if (dir) byteOffset = 0;
|
|
733
|
+
else return -1
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
// Normalize val
|
|
737
|
+
if (typeof val === 'string') {
|
|
738
|
+
val = Buffer.from(val, encoding);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
// Finally, search either indexOf (if dir is true) or lastIndexOf
|
|
742
|
+
if (Buffer.isBuffer(val)) {
|
|
743
|
+
// Special case: looking for empty string/buffer always fails
|
|
744
|
+
if (val.length === 0) {
|
|
745
|
+
return -1
|
|
746
|
+
}
|
|
747
|
+
return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
|
|
748
|
+
} else if (typeof val === 'number') {
|
|
749
|
+
val = val & 0xFF; // Search for a byte value [0-255]
|
|
750
|
+
if (typeof Uint8Array.prototype.indexOf === 'function') {
|
|
751
|
+
if (dir) {
|
|
752
|
+
return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
|
|
753
|
+
} else {
|
|
754
|
+
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
throw new TypeError('val must be string, number or Buffer')
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
764
|
+
let indexSize = 1;
|
|
765
|
+
let arrLength = arr.length;
|
|
766
|
+
let valLength = val.length;
|
|
767
|
+
|
|
768
|
+
if (encoding !== undefined) {
|
|
769
|
+
encoding = String(encoding).toLowerCase();
|
|
770
|
+
if (encoding === 'ucs2' || encoding === 'ucs-2' ||
|
|
771
|
+
encoding === 'utf16le' || encoding === 'utf-16le') {
|
|
772
|
+
if (arr.length < 2 || val.length < 2) {
|
|
773
|
+
return -1
|
|
774
|
+
}
|
|
775
|
+
indexSize = 2;
|
|
776
|
+
arrLength /= 2;
|
|
777
|
+
valLength /= 2;
|
|
778
|
+
byteOffset /= 2;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
function read (buf, i) {
|
|
783
|
+
if (indexSize === 1) {
|
|
784
|
+
return buf[i]
|
|
785
|
+
} else {
|
|
786
|
+
return buf.readUInt16BE(i * indexSize)
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
let i;
|
|
791
|
+
if (dir) {
|
|
792
|
+
let foundIndex = -1;
|
|
793
|
+
for (i = byteOffset; i < arrLength; i++) {
|
|
794
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
795
|
+
if (foundIndex === -1) foundIndex = i;
|
|
796
|
+
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
797
|
+
} else {
|
|
798
|
+
if (foundIndex !== -1) i -= i - foundIndex;
|
|
799
|
+
foundIndex = -1;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
} else {
|
|
803
|
+
if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;
|
|
804
|
+
for (i = byteOffset; i >= 0; i--) {
|
|
805
|
+
let found = true;
|
|
806
|
+
for (let j = 0; j < valLength; j++) {
|
|
807
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
808
|
+
found = false;
|
|
809
|
+
break
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
if (found) return i
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
return -1
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
|
|
820
|
+
return this.indexOf(val, byteOffset, encoding) !== -1
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
|
|
824
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
|
|
828
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
function hexWrite (buf, string, offset, length) {
|
|
832
|
+
offset = Number(offset) || 0;
|
|
833
|
+
const remaining = buf.length - offset;
|
|
834
|
+
if (!length) {
|
|
835
|
+
length = remaining;
|
|
836
|
+
} else {
|
|
837
|
+
length = Number(length);
|
|
838
|
+
if (length > remaining) {
|
|
839
|
+
length = remaining;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
const strLen = string.length;
|
|
844
|
+
|
|
845
|
+
if (length > strLen / 2) {
|
|
846
|
+
length = strLen / 2;
|
|
847
|
+
}
|
|
848
|
+
let i;
|
|
849
|
+
for (i = 0; i < length; ++i) {
|
|
850
|
+
const parsed = parseInt(string.substr(i * 2, 2), 16);
|
|
851
|
+
if (numberIsNaN(parsed)) return i
|
|
852
|
+
buf[offset + i] = parsed;
|
|
853
|
+
}
|
|
854
|
+
return i
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
function utf8Write (buf, string, offset, length) {
|
|
858
|
+
return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
function asciiWrite (buf, string, offset, length) {
|
|
862
|
+
return blitBuffer(asciiToBytes(string), buf, offset, length)
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
function base64Write (buf, string, offset, length) {
|
|
866
|
+
return blitBuffer(base64ToBytes(string), buf, offset, length)
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
function ucs2Write (buf, string, offset, length) {
|
|
870
|
+
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
874
|
+
// Buffer#write(string)
|
|
875
|
+
if (offset === undefined) {
|
|
876
|
+
encoding = 'utf8';
|
|
877
|
+
length = this.length;
|
|
878
|
+
offset = 0;
|
|
879
|
+
// Buffer#write(string, encoding)
|
|
880
|
+
} else if (length === undefined && typeof offset === 'string') {
|
|
881
|
+
encoding = offset;
|
|
882
|
+
length = this.length;
|
|
883
|
+
offset = 0;
|
|
884
|
+
// Buffer#write(string, offset[, length][, encoding])
|
|
885
|
+
} else if (isFinite(offset)) {
|
|
886
|
+
offset = offset >>> 0;
|
|
887
|
+
if (isFinite(length)) {
|
|
888
|
+
length = length >>> 0;
|
|
889
|
+
if (encoding === undefined) encoding = 'utf8';
|
|
890
|
+
} else {
|
|
891
|
+
encoding = length;
|
|
892
|
+
length = undefined;
|
|
893
|
+
}
|
|
894
|
+
} else {
|
|
895
|
+
throw new Error(
|
|
896
|
+
'Buffer.write(string, encoding, offset[, length]) is no longer supported'
|
|
897
|
+
)
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
const remaining = this.length - offset;
|
|
901
|
+
if (length === undefined || length > remaining) length = remaining;
|
|
902
|
+
|
|
903
|
+
if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
|
|
904
|
+
throw new RangeError('Attempt to write outside buffer bounds')
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
if (!encoding) encoding = 'utf8';
|
|
908
|
+
|
|
909
|
+
let loweredCase = false;
|
|
910
|
+
for (;;) {
|
|
911
|
+
switch (encoding) {
|
|
912
|
+
case 'hex':
|
|
913
|
+
return hexWrite(this, string, offset, length)
|
|
914
|
+
|
|
915
|
+
case 'utf8':
|
|
916
|
+
case 'utf-8':
|
|
917
|
+
return utf8Write(this, string, offset, length)
|
|
918
|
+
|
|
919
|
+
case 'ascii':
|
|
920
|
+
case 'latin1':
|
|
921
|
+
case 'binary':
|
|
922
|
+
return asciiWrite(this, string, offset, length)
|
|
923
|
+
|
|
924
|
+
case 'base64':
|
|
925
|
+
// Warning: maxLength not taken into account in base64Write
|
|
926
|
+
return base64Write(this, string, offset, length)
|
|
927
|
+
|
|
928
|
+
case 'ucs2':
|
|
929
|
+
case 'ucs-2':
|
|
930
|
+
case 'utf16le':
|
|
931
|
+
case 'utf-16le':
|
|
932
|
+
return ucs2Write(this, string, offset, length)
|
|
933
|
+
|
|
934
|
+
default:
|
|
935
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
936
|
+
encoding = ('' + encoding).toLowerCase();
|
|
937
|
+
loweredCase = true;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
Buffer.prototype.toJSON = function toJSON () {
|
|
943
|
+
return {
|
|
944
|
+
type: 'Buffer',
|
|
945
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
946
|
+
}
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
function base64Slice (buf, start, end) {
|
|
950
|
+
if (start === 0 && end === buf.length) {
|
|
951
|
+
return base64.fromByteArray(buf)
|
|
952
|
+
} else {
|
|
953
|
+
return base64.fromByteArray(buf.slice(start, end))
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
function utf8Slice (buf, start, end) {
|
|
958
|
+
end = Math.min(buf.length, end);
|
|
959
|
+
const res = [];
|
|
960
|
+
|
|
961
|
+
let i = start;
|
|
962
|
+
while (i < end) {
|
|
963
|
+
const firstByte = buf[i];
|
|
964
|
+
let codePoint = null;
|
|
965
|
+
let bytesPerSequence = (firstByte > 0xEF)
|
|
966
|
+
? 4
|
|
967
|
+
: (firstByte > 0xDF)
|
|
968
|
+
? 3
|
|
969
|
+
: (firstByte > 0xBF)
|
|
970
|
+
? 2
|
|
971
|
+
: 1;
|
|
972
|
+
|
|
973
|
+
if (i + bytesPerSequence <= end) {
|
|
974
|
+
let secondByte, thirdByte, fourthByte, tempCodePoint;
|
|
975
|
+
|
|
976
|
+
switch (bytesPerSequence) {
|
|
977
|
+
case 1:
|
|
978
|
+
if (firstByte < 0x80) {
|
|
979
|
+
codePoint = firstByte;
|
|
980
|
+
}
|
|
981
|
+
break
|
|
982
|
+
case 2:
|
|
983
|
+
secondByte = buf[i + 1];
|
|
984
|
+
if ((secondByte & 0xC0) === 0x80) {
|
|
985
|
+
tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F);
|
|
986
|
+
if (tempCodePoint > 0x7F) {
|
|
987
|
+
codePoint = tempCodePoint;
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
break
|
|
991
|
+
case 3:
|
|
992
|
+
secondByte = buf[i + 1];
|
|
993
|
+
thirdByte = buf[i + 2];
|
|
994
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
|
|
995
|
+
tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F);
|
|
996
|
+
if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
|
|
997
|
+
codePoint = tempCodePoint;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
break
|
|
1001
|
+
case 4:
|
|
1002
|
+
secondByte = buf[i + 1];
|
|
1003
|
+
thirdByte = buf[i + 2];
|
|
1004
|
+
fourthByte = buf[i + 3];
|
|
1005
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
|
|
1006
|
+
tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F);
|
|
1007
|
+
if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
|
|
1008
|
+
codePoint = tempCodePoint;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
if (codePoint === null) {
|
|
1015
|
+
// we did not generate a valid codePoint so insert a
|
|
1016
|
+
// replacement char (U+FFFD) and advance only 1 byte
|
|
1017
|
+
codePoint = 0xFFFD;
|
|
1018
|
+
bytesPerSequence = 1;
|
|
1019
|
+
} else if (codePoint > 0xFFFF) {
|
|
1020
|
+
// encode to utf16 (surrogate pair dance)
|
|
1021
|
+
codePoint -= 0x10000;
|
|
1022
|
+
res.push(codePoint >>> 10 & 0x3FF | 0xD800);
|
|
1023
|
+
codePoint = 0xDC00 | codePoint & 0x3FF;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
res.push(codePoint);
|
|
1027
|
+
i += bytesPerSequence;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
return decodeCodePointsArray(res)
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
// Based on http://stackoverflow.com/a/22747272/680742, the browser with
|
|
1034
|
+
// the lowest limit is Chrome, with 0x10000 args.
|
|
1035
|
+
// We go 1 magnitude less, for safety
|
|
1036
|
+
const MAX_ARGUMENTS_LENGTH = 0x1000;
|
|
1037
|
+
|
|
1038
|
+
function decodeCodePointsArray (codePoints) {
|
|
1039
|
+
const len = codePoints.length;
|
|
1040
|
+
if (len <= MAX_ARGUMENTS_LENGTH) {
|
|
1041
|
+
return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
// Decode in chunks to avoid "call stack size exceeded".
|
|
1045
|
+
let res = '';
|
|
1046
|
+
let i = 0;
|
|
1047
|
+
while (i < len) {
|
|
1048
|
+
res += String.fromCharCode.apply(
|
|
1049
|
+
String,
|
|
1050
|
+
codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
return res
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
function asciiSlice (buf, start, end) {
|
|
1057
|
+
let ret = '';
|
|
1058
|
+
end = Math.min(buf.length, end);
|
|
1059
|
+
|
|
1060
|
+
for (let i = start; i < end; ++i) {
|
|
1061
|
+
ret += String.fromCharCode(buf[i] & 0x7F);
|
|
1062
|
+
}
|
|
1063
|
+
return ret
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
function latin1Slice (buf, start, end) {
|
|
1067
|
+
let ret = '';
|
|
1068
|
+
end = Math.min(buf.length, end);
|
|
1069
|
+
|
|
1070
|
+
for (let i = start; i < end; ++i) {
|
|
1071
|
+
ret += String.fromCharCode(buf[i]);
|
|
1072
|
+
}
|
|
1073
|
+
return ret
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
function hexSlice (buf, start, end) {
|
|
1077
|
+
const len = buf.length;
|
|
1078
|
+
|
|
1079
|
+
if (!start || start < 0) start = 0;
|
|
1080
|
+
if (!end || end < 0 || end > len) end = len;
|
|
1081
|
+
|
|
1082
|
+
let out = '';
|
|
1083
|
+
for (let i = start; i < end; ++i) {
|
|
1084
|
+
out += hexSliceLookupTable[buf[i]];
|
|
1085
|
+
}
|
|
1086
|
+
return out
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
function utf16leSlice (buf, start, end) {
|
|
1090
|
+
const bytes = buf.slice(start, end);
|
|
1091
|
+
let res = '';
|
|
1092
|
+
// If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
|
|
1093
|
+
for (let i = 0; i < bytes.length - 1; i += 2) {
|
|
1094
|
+
res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256));
|
|
1095
|
+
}
|
|
1096
|
+
return res
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
Buffer.prototype.slice = function slice (start, end) {
|
|
1100
|
+
const len = this.length;
|
|
1101
|
+
start = ~~start;
|
|
1102
|
+
end = end === undefined ? len : ~~end;
|
|
1103
|
+
|
|
1104
|
+
if (start < 0) {
|
|
1105
|
+
start += len;
|
|
1106
|
+
if (start < 0) start = 0;
|
|
1107
|
+
} else if (start > len) {
|
|
1108
|
+
start = len;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
if (end < 0) {
|
|
1112
|
+
end += len;
|
|
1113
|
+
if (end < 0) end = 0;
|
|
1114
|
+
} else if (end > len) {
|
|
1115
|
+
end = len;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
if (end < start) end = start;
|
|
1119
|
+
|
|
1120
|
+
const newBuf = this.subarray(start, end);
|
|
1121
|
+
// Return an augmented `Uint8Array` instance
|
|
1122
|
+
Object.setPrototypeOf(newBuf, Buffer.prototype);
|
|
1123
|
+
|
|
1124
|
+
return newBuf
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
/*
|
|
1128
|
+
* Need to make sure that buffer isn't trying to write out of bounds.
|
|
1129
|
+
*/
|
|
1130
|
+
function checkOffset (offset, ext, length) {
|
|
1131
|
+
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
|
|
1132
|
+
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
Buffer.prototype.readUintLE =
|
|
1136
|
+
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
|
|
1137
|
+
offset = offset >>> 0;
|
|
1138
|
+
byteLength = byteLength >>> 0;
|
|
1139
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length);
|
|
1140
|
+
|
|
1141
|
+
let val = this[offset];
|
|
1142
|
+
let mul = 1;
|
|
1143
|
+
let i = 0;
|
|
1144
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1145
|
+
val += this[offset + i] * mul;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
return val
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
Buffer.prototype.readUintBE =
|
|
1152
|
+
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
|
|
1153
|
+
offset = offset >>> 0;
|
|
1154
|
+
byteLength = byteLength >>> 0;
|
|
1155
|
+
if (!noAssert) {
|
|
1156
|
+
checkOffset(offset, byteLength, this.length);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
let val = this[offset + --byteLength];
|
|
1160
|
+
let mul = 1;
|
|
1161
|
+
while (byteLength > 0 && (mul *= 0x100)) {
|
|
1162
|
+
val += this[offset + --byteLength] * mul;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
return val
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
Buffer.prototype.readUint8 =
|
|
1169
|
+
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
|
|
1170
|
+
offset = offset >>> 0;
|
|
1171
|
+
if (!noAssert) checkOffset(offset, 1, this.length);
|
|
1172
|
+
return this[offset]
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
Buffer.prototype.readUint16LE =
|
|
1176
|
+
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
|
|
1177
|
+
offset = offset >>> 0;
|
|
1178
|
+
if (!noAssert) checkOffset(offset, 2, this.length);
|
|
1179
|
+
return this[offset] | (this[offset + 1] << 8)
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
Buffer.prototype.readUint16BE =
|
|
1183
|
+
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
|
|
1184
|
+
offset = offset >>> 0;
|
|
1185
|
+
if (!noAssert) checkOffset(offset, 2, this.length);
|
|
1186
|
+
return (this[offset] << 8) | this[offset + 1]
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
Buffer.prototype.readUint32LE =
|
|
1190
|
+
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
|
|
1191
|
+
offset = offset >>> 0;
|
|
1192
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1193
|
+
|
|
1194
|
+
return ((this[offset]) |
|
|
1195
|
+
(this[offset + 1] << 8) |
|
|
1196
|
+
(this[offset + 2] << 16)) +
|
|
1197
|
+
(this[offset + 3] * 0x1000000)
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1200
|
+
Buffer.prototype.readUint32BE =
|
|
1201
|
+
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
|
|
1202
|
+
offset = offset >>> 0;
|
|
1203
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1204
|
+
|
|
1205
|
+
return (this[offset] * 0x1000000) +
|
|
1206
|
+
((this[offset + 1] << 16) |
|
|
1207
|
+
(this[offset + 2] << 8) |
|
|
1208
|
+
this[offset + 3])
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
Buffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {
|
|
1212
|
+
offset = offset >>> 0;
|
|
1213
|
+
validateNumber(offset, 'offset');
|
|
1214
|
+
const first = this[offset];
|
|
1215
|
+
const last = this[offset + 7];
|
|
1216
|
+
if (first === undefined || last === undefined) {
|
|
1217
|
+
boundsError(offset, this.length - 8);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
const lo = first +
|
|
1221
|
+
this[++offset] * 2 ** 8 +
|
|
1222
|
+
this[++offset] * 2 ** 16 +
|
|
1223
|
+
this[++offset] * 2 ** 24;
|
|
1224
|
+
|
|
1225
|
+
const hi = this[++offset] +
|
|
1226
|
+
this[++offset] * 2 ** 8 +
|
|
1227
|
+
this[++offset] * 2 ** 16 +
|
|
1228
|
+
last * 2 ** 24;
|
|
1229
|
+
|
|
1230
|
+
return BigInt(lo) + (BigInt(hi) << BigInt(32))
|
|
1231
|
+
});
|
|
1232
|
+
|
|
1233
|
+
Buffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {
|
|
1234
|
+
offset = offset >>> 0;
|
|
1235
|
+
validateNumber(offset, 'offset');
|
|
1236
|
+
const first = this[offset];
|
|
1237
|
+
const last = this[offset + 7];
|
|
1238
|
+
if (first === undefined || last === undefined) {
|
|
1239
|
+
boundsError(offset, this.length - 8);
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
const hi = first * 2 ** 24 +
|
|
1243
|
+
this[++offset] * 2 ** 16 +
|
|
1244
|
+
this[++offset] * 2 ** 8 +
|
|
1245
|
+
this[++offset];
|
|
1246
|
+
|
|
1247
|
+
const lo = this[++offset] * 2 ** 24 +
|
|
1248
|
+
this[++offset] * 2 ** 16 +
|
|
1249
|
+
this[++offset] * 2 ** 8 +
|
|
1250
|
+
last;
|
|
1251
|
+
|
|
1252
|
+
return (BigInt(hi) << BigInt(32)) + BigInt(lo)
|
|
1253
|
+
});
|
|
1254
|
+
|
|
1255
|
+
Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
|
|
1256
|
+
offset = offset >>> 0;
|
|
1257
|
+
byteLength = byteLength >>> 0;
|
|
1258
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length);
|
|
1259
|
+
|
|
1260
|
+
let val = this[offset];
|
|
1261
|
+
let mul = 1;
|
|
1262
|
+
let i = 0;
|
|
1263
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1264
|
+
val += this[offset + i] * mul;
|
|
1265
|
+
}
|
|
1266
|
+
mul *= 0x80;
|
|
1267
|
+
|
|
1268
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength);
|
|
1269
|
+
|
|
1270
|
+
return val
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
|
|
1274
|
+
offset = offset >>> 0;
|
|
1275
|
+
byteLength = byteLength >>> 0;
|
|
1276
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length);
|
|
1277
|
+
|
|
1278
|
+
let i = byteLength;
|
|
1279
|
+
let mul = 1;
|
|
1280
|
+
let val = this[offset + --i];
|
|
1281
|
+
while (i > 0 && (mul *= 0x100)) {
|
|
1282
|
+
val += this[offset + --i] * mul;
|
|
1283
|
+
}
|
|
1284
|
+
mul *= 0x80;
|
|
1285
|
+
|
|
1286
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength);
|
|
1287
|
+
|
|
1288
|
+
return val
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
|
|
1292
|
+
offset = offset >>> 0;
|
|
1293
|
+
if (!noAssert) checkOffset(offset, 1, this.length);
|
|
1294
|
+
if (!(this[offset] & 0x80)) return (this[offset])
|
|
1295
|
+
return ((0xff - this[offset] + 1) * -1)
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
|
|
1299
|
+
offset = offset >>> 0;
|
|
1300
|
+
if (!noAssert) checkOffset(offset, 2, this.length);
|
|
1301
|
+
const val = this[offset] | (this[offset + 1] << 8);
|
|
1302
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
|
|
1306
|
+
offset = offset >>> 0;
|
|
1307
|
+
if (!noAssert) checkOffset(offset, 2, this.length);
|
|
1308
|
+
const val = this[offset + 1] | (this[offset] << 8);
|
|
1309
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
|
|
1313
|
+
offset = offset >>> 0;
|
|
1314
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1315
|
+
|
|
1316
|
+
return (this[offset]) |
|
|
1317
|
+
(this[offset + 1] << 8) |
|
|
1318
|
+
(this[offset + 2] << 16) |
|
|
1319
|
+
(this[offset + 3] << 24)
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
|
|
1323
|
+
offset = offset >>> 0;
|
|
1324
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1325
|
+
|
|
1326
|
+
return (this[offset] << 24) |
|
|
1327
|
+
(this[offset + 1] << 16) |
|
|
1328
|
+
(this[offset + 2] << 8) |
|
|
1329
|
+
(this[offset + 3])
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
Buffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {
|
|
1333
|
+
offset = offset >>> 0;
|
|
1334
|
+
validateNumber(offset, 'offset');
|
|
1335
|
+
const first = this[offset];
|
|
1336
|
+
const last = this[offset + 7];
|
|
1337
|
+
if (first === undefined || last === undefined) {
|
|
1338
|
+
boundsError(offset, this.length - 8);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
const val = this[offset + 4] +
|
|
1342
|
+
this[offset + 5] * 2 ** 8 +
|
|
1343
|
+
this[offset + 6] * 2 ** 16 +
|
|
1344
|
+
(last << 24); // Overflow
|
|
1345
|
+
|
|
1346
|
+
return (BigInt(val) << BigInt(32)) +
|
|
1347
|
+
BigInt(first +
|
|
1348
|
+
this[++offset] * 2 ** 8 +
|
|
1349
|
+
this[++offset] * 2 ** 16 +
|
|
1350
|
+
this[++offset] * 2 ** 24)
|
|
1351
|
+
});
|
|
1352
|
+
|
|
1353
|
+
Buffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {
|
|
1354
|
+
offset = offset >>> 0;
|
|
1355
|
+
validateNumber(offset, 'offset');
|
|
1356
|
+
const first = this[offset];
|
|
1357
|
+
const last = this[offset + 7];
|
|
1358
|
+
if (first === undefined || last === undefined) {
|
|
1359
|
+
boundsError(offset, this.length - 8);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
const val = (first << 24) + // Overflow
|
|
1363
|
+
this[++offset] * 2 ** 16 +
|
|
1364
|
+
this[++offset] * 2 ** 8 +
|
|
1365
|
+
this[++offset];
|
|
1366
|
+
|
|
1367
|
+
return (BigInt(val) << BigInt(32)) +
|
|
1368
|
+
BigInt(this[++offset] * 2 ** 24 +
|
|
1369
|
+
this[++offset] * 2 ** 16 +
|
|
1370
|
+
this[++offset] * 2 ** 8 +
|
|
1371
|
+
last)
|
|
1372
|
+
});
|
|
1373
|
+
|
|
1374
|
+
Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
|
|
1375
|
+
offset = offset >>> 0;
|
|
1376
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1377
|
+
return ieee754$1.read(this, offset, true, 23, 4)
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
|
|
1381
|
+
offset = offset >>> 0;
|
|
1382
|
+
if (!noAssert) checkOffset(offset, 4, this.length);
|
|
1383
|
+
return ieee754$1.read(this, offset, false, 23, 4)
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
|
|
1387
|
+
offset = offset >>> 0;
|
|
1388
|
+
if (!noAssert) checkOffset(offset, 8, this.length);
|
|
1389
|
+
return ieee754$1.read(this, offset, true, 52, 8)
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
|
|
1393
|
+
offset = offset >>> 0;
|
|
1394
|
+
if (!noAssert) checkOffset(offset, 8, this.length);
|
|
1395
|
+
return ieee754$1.read(this, offset, false, 52, 8)
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
function checkInt (buf, value, offset, ext, max, min) {
|
|
1399
|
+
if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
|
|
1400
|
+
if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
|
|
1401
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
Buffer.prototype.writeUintLE =
|
|
1405
|
+
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
|
|
1406
|
+
value = +value;
|
|
1407
|
+
offset = offset >>> 0;
|
|
1408
|
+
byteLength = byteLength >>> 0;
|
|
1409
|
+
if (!noAssert) {
|
|
1410
|
+
const maxBytes = Math.pow(2, 8 * byteLength) - 1;
|
|
1411
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
let mul = 1;
|
|
1415
|
+
let i = 0;
|
|
1416
|
+
this[offset] = value & 0xFF;
|
|
1417
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1418
|
+
this[offset + i] = (value / mul) & 0xFF;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
return offset + byteLength
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
Buffer.prototype.writeUintBE =
|
|
1425
|
+
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
|
|
1426
|
+
value = +value;
|
|
1427
|
+
offset = offset >>> 0;
|
|
1428
|
+
byteLength = byteLength >>> 0;
|
|
1429
|
+
if (!noAssert) {
|
|
1430
|
+
const maxBytes = Math.pow(2, 8 * byteLength) - 1;
|
|
1431
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0);
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
let i = byteLength - 1;
|
|
1435
|
+
let mul = 1;
|
|
1436
|
+
this[offset + i] = value & 0xFF;
|
|
1437
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
1438
|
+
this[offset + i] = (value / mul) & 0xFF;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
return offset + byteLength
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
Buffer.prototype.writeUint8 =
|
|
1445
|
+
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
|
|
1446
|
+
value = +value;
|
|
1447
|
+
offset = offset >>> 0;
|
|
1448
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);
|
|
1449
|
+
this[offset] = (value & 0xff);
|
|
1450
|
+
return offset + 1
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
Buffer.prototype.writeUint16LE =
|
|
1454
|
+
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
|
|
1455
|
+
value = +value;
|
|
1456
|
+
offset = offset >>> 0;
|
|
1457
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
|
|
1458
|
+
this[offset] = (value & 0xff);
|
|
1459
|
+
this[offset + 1] = (value >>> 8);
|
|
1460
|
+
return offset + 2
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
Buffer.prototype.writeUint16BE =
|
|
1464
|
+
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
|
|
1465
|
+
value = +value;
|
|
1466
|
+
offset = offset >>> 0;
|
|
1467
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
|
|
1468
|
+
this[offset] = (value >>> 8);
|
|
1469
|
+
this[offset + 1] = (value & 0xff);
|
|
1470
|
+
return offset + 2
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
Buffer.prototype.writeUint32LE =
|
|
1474
|
+
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
|
|
1475
|
+
value = +value;
|
|
1476
|
+
offset = offset >>> 0;
|
|
1477
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
|
|
1478
|
+
this[offset + 3] = (value >>> 24);
|
|
1479
|
+
this[offset + 2] = (value >>> 16);
|
|
1480
|
+
this[offset + 1] = (value >>> 8);
|
|
1481
|
+
this[offset] = (value & 0xff);
|
|
1482
|
+
return offset + 4
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
Buffer.prototype.writeUint32BE =
|
|
1486
|
+
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
|
|
1487
|
+
value = +value;
|
|
1488
|
+
offset = offset >>> 0;
|
|
1489
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
|
|
1490
|
+
this[offset] = (value >>> 24);
|
|
1491
|
+
this[offset + 1] = (value >>> 16);
|
|
1492
|
+
this[offset + 2] = (value >>> 8);
|
|
1493
|
+
this[offset + 3] = (value & 0xff);
|
|
1494
|
+
return offset + 4
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
function wrtBigUInt64LE (buf, value, offset, min, max) {
|
|
1498
|
+
checkIntBI(value, min, max, buf, offset, 7);
|
|
1499
|
+
|
|
1500
|
+
let lo = Number(value & BigInt(0xffffffff));
|
|
1501
|
+
buf[offset++] = lo;
|
|
1502
|
+
lo = lo >> 8;
|
|
1503
|
+
buf[offset++] = lo;
|
|
1504
|
+
lo = lo >> 8;
|
|
1505
|
+
buf[offset++] = lo;
|
|
1506
|
+
lo = lo >> 8;
|
|
1507
|
+
buf[offset++] = lo;
|
|
1508
|
+
let hi = Number(value >> BigInt(32) & BigInt(0xffffffff));
|
|
1509
|
+
buf[offset++] = hi;
|
|
1510
|
+
hi = hi >> 8;
|
|
1511
|
+
buf[offset++] = hi;
|
|
1512
|
+
hi = hi >> 8;
|
|
1513
|
+
buf[offset++] = hi;
|
|
1514
|
+
hi = hi >> 8;
|
|
1515
|
+
buf[offset++] = hi;
|
|
1516
|
+
return offset
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
function wrtBigUInt64BE (buf, value, offset, min, max) {
|
|
1520
|
+
checkIntBI(value, min, max, buf, offset, 7);
|
|
1521
|
+
|
|
1522
|
+
let lo = Number(value & BigInt(0xffffffff));
|
|
1523
|
+
buf[offset + 7] = lo;
|
|
1524
|
+
lo = lo >> 8;
|
|
1525
|
+
buf[offset + 6] = lo;
|
|
1526
|
+
lo = lo >> 8;
|
|
1527
|
+
buf[offset + 5] = lo;
|
|
1528
|
+
lo = lo >> 8;
|
|
1529
|
+
buf[offset + 4] = lo;
|
|
1530
|
+
let hi = Number(value >> BigInt(32) & BigInt(0xffffffff));
|
|
1531
|
+
buf[offset + 3] = hi;
|
|
1532
|
+
hi = hi >> 8;
|
|
1533
|
+
buf[offset + 2] = hi;
|
|
1534
|
+
hi = hi >> 8;
|
|
1535
|
+
buf[offset + 1] = hi;
|
|
1536
|
+
hi = hi >> 8;
|
|
1537
|
+
buf[offset] = hi;
|
|
1538
|
+
return offset + 8
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
Buffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {
|
|
1542
|
+
return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
|
|
1543
|
+
});
|
|
1544
|
+
|
|
1545
|
+
Buffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {
|
|
1546
|
+
return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
|
|
1547
|
+
});
|
|
1548
|
+
|
|
1549
|
+
Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
|
|
1550
|
+
value = +value;
|
|
1551
|
+
offset = offset >>> 0;
|
|
1552
|
+
if (!noAssert) {
|
|
1553
|
+
const limit = Math.pow(2, (8 * byteLength) - 1);
|
|
1554
|
+
|
|
1555
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit);
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
let i = 0;
|
|
1559
|
+
let mul = 1;
|
|
1560
|
+
let sub = 0;
|
|
1561
|
+
this[offset] = value & 0xFF;
|
|
1562
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1563
|
+
if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
|
|
1564
|
+
sub = 1;
|
|
1565
|
+
}
|
|
1566
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
return offset + byteLength
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
|
|
1573
|
+
value = +value;
|
|
1574
|
+
offset = offset >>> 0;
|
|
1575
|
+
if (!noAssert) {
|
|
1576
|
+
const limit = Math.pow(2, (8 * byteLength) - 1);
|
|
1577
|
+
|
|
1578
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit);
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
let i = byteLength - 1;
|
|
1582
|
+
let mul = 1;
|
|
1583
|
+
let sub = 0;
|
|
1584
|
+
this[offset + i] = value & 0xFF;
|
|
1585
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
1586
|
+
if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
|
|
1587
|
+
sub = 1;
|
|
1588
|
+
}
|
|
1589
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
return offset + byteLength
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1595
|
+
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
1596
|
+
value = +value;
|
|
1597
|
+
offset = offset >>> 0;
|
|
1598
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -128);
|
|
1599
|
+
if (value < 0) value = 0xff + value + 1;
|
|
1600
|
+
this[offset] = (value & 0xff);
|
|
1601
|
+
return offset + 1
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
1605
|
+
value = +value;
|
|
1606
|
+
offset = offset >>> 0;
|
|
1607
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1608
|
+
this[offset] = (value & 0xff);
|
|
1609
|
+
this[offset + 1] = (value >>> 8);
|
|
1610
|
+
return offset + 2
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
1614
|
+
value = +value;
|
|
1615
|
+
offset = offset >>> 0;
|
|
1616
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1617
|
+
this[offset] = (value >>> 8);
|
|
1618
|
+
this[offset + 1] = (value & 0xff);
|
|
1619
|
+
return offset + 2
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
1623
|
+
value = +value;
|
|
1624
|
+
offset = offset >>> 0;
|
|
1625
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1626
|
+
this[offset] = (value & 0xff);
|
|
1627
|
+
this[offset + 1] = (value >>> 8);
|
|
1628
|
+
this[offset + 2] = (value >>> 16);
|
|
1629
|
+
this[offset + 3] = (value >>> 24);
|
|
1630
|
+
return offset + 4
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
1634
|
+
value = +value;
|
|
1635
|
+
offset = offset >>> 0;
|
|
1636
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1637
|
+
if (value < 0) value = 0xffffffff + value + 1;
|
|
1638
|
+
this[offset] = (value >>> 24);
|
|
1639
|
+
this[offset + 1] = (value >>> 16);
|
|
1640
|
+
this[offset + 2] = (value >>> 8);
|
|
1641
|
+
this[offset + 3] = (value & 0xff);
|
|
1642
|
+
return offset + 4
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
Buffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {
|
|
1646
|
+
return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
|
|
1647
|
+
});
|
|
1648
|
+
|
|
1649
|
+
Buffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {
|
|
1650
|
+
return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
|
|
1651
|
+
});
|
|
1652
|
+
|
|
1653
|
+
function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
1654
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
1655
|
+
if (offset < 0) throw new RangeError('Index out of range')
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
1659
|
+
value = +value;
|
|
1660
|
+
offset = offset >>> 0;
|
|
1661
|
+
if (!noAssert) {
|
|
1662
|
+
checkIEEE754(buf, value, offset, 4);
|
|
1663
|
+
}
|
|
1664
|
+
ieee754$1.write(buf, value, offset, littleEndian, 23, 4);
|
|
1665
|
+
return offset + 4
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
|
|
1669
|
+
return writeFloat(this, value, offset, true, noAssert)
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
|
|
1673
|
+
return writeFloat(this, value, offset, false, noAssert)
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
1677
|
+
value = +value;
|
|
1678
|
+
offset = offset >>> 0;
|
|
1679
|
+
if (!noAssert) {
|
|
1680
|
+
checkIEEE754(buf, value, offset, 8);
|
|
1681
|
+
}
|
|
1682
|
+
ieee754$1.write(buf, value, offset, littleEndian, 52, 8);
|
|
1683
|
+
return offset + 8
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
|
|
1687
|
+
return writeDouble(this, value, offset, true, noAssert)
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
|
|
1691
|
+
return writeDouble(this, value, offset, false, noAssert)
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
|
1695
|
+
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
|
|
1696
|
+
if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')
|
|
1697
|
+
if (!start) start = 0;
|
|
1698
|
+
if (!end && end !== 0) end = this.length;
|
|
1699
|
+
if (targetStart >= target.length) targetStart = target.length;
|
|
1700
|
+
if (!targetStart) targetStart = 0;
|
|
1701
|
+
if (end > 0 && end < start) end = start;
|
|
1702
|
+
|
|
1703
|
+
// Copy 0 bytes; we're done
|
|
1704
|
+
if (end === start) return 0
|
|
1705
|
+
if (target.length === 0 || this.length === 0) return 0
|
|
1706
|
+
|
|
1707
|
+
// Fatal error conditions
|
|
1708
|
+
if (targetStart < 0) {
|
|
1709
|
+
throw new RangeError('targetStart out of bounds')
|
|
1710
|
+
}
|
|
1711
|
+
if (start < 0 || start >= this.length) throw new RangeError('Index out of range')
|
|
1712
|
+
if (end < 0) throw new RangeError('sourceEnd out of bounds')
|
|
1713
|
+
|
|
1714
|
+
// Are we oob?
|
|
1715
|
+
if (end > this.length) end = this.length;
|
|
1716
|
+
if (target.length - targetStart < end - start) {
|
|
1717
|
+
end = target.length - targetStart + start;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
const len = end - start;
|
|
1721
|
+
|
|
1722
|
+
if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {
|
|
1723
|
+
// Use built-in when available, missing from IE11
|
|
1724
|
+
this.copyWithin(targetStart, start, end);
|
|
1725
|
+
} else {
|
|
1726
|
+
Uint8Array.prototype.set.call(
|
|
1727
|
+
target,
|
|
1728
|
+
this.subarray(start, end),
|
|
1729
|
+
targetStart
|
|
1730
|
+
);
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
return len
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
// Usage:
|
|
1737
|
+
// buffer.fill(number[, offset[, end]])
|
|
1738
|
+
// buffer.fill(buffer[, offset[, end]])
|
|
1739
|
+
// buffer.fill(string[, offset[, end]][, encoding])
|
|
1740
|
+
Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
|
1741
|
+
// Handle string cases:
|
|
1742
|
+
if (typeof val === 'string') {
|
|
1743
|
+
if (typeof start === 'string') {
|
|
1744
|
+
encoding = start;
|
|
1745
|
+
start = 0;
|
|
1746
|
+
end = this.length;
|
|
1747
|
+
} else if (typeof end === 'string') {
|
|
1748
|
+
encoding = end;
|
|
1749
|
+
end = this.length;
|
|
1750
|
+
}
|
|
1751
|
+
if (encoding !== undefined && typeof encoding !== 'string') {
|
|
1752
|
+
throw new TypeError('encoding must be a string')
|
|
1753
|
+
}
|
|
1754
|
+
if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
|
|
1755
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
1756
|
+
}
|
|
1757
|
+
if (val.length === 1) {
|
|
1758
|
+
const code = val.charCodeAt(0);
|
|
1759
|
+
if ((encoding === 'utf8' && code < 128) ||
|
|
1760
|
+
encoding === 'latin1') {
|
|
1761
|
+
// Fast path: If `val` fits into a single byte, use that numeric value.
|
|
1762
|
+
val = code;
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
} else if (typeof val === 'number') {
|
|
1766
|
+
val = val & 255;
|
|
1767
|
+
} else if (typeof val === 'boolean') {
|
|
1768
|
+
val = Number(val);
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
// Invalid ranges are not set to a default, so can range check early.
|
|
1772
|
+
if (start < 0 || this.length < start || this.length < end) {
|
|
1773
|
+
throw new RangeError('Out of range index')
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
if (end <= start) {
|
|
1777
|
+
return this
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
start = start >>> 0;
|
|
1781
|
+
end = end === undefined ? this.length : end >>> 0;
|
|
1782
|
+
|
|
1783
|
+
if (!val) val = 0;
|
|
1784
|
+
|
|
1785
|
+
let i;
|
|
1786
|
+
if (typeof val === 'number') {
|
|
1787
|
+
for (i = start; i < end; ++i) {
|
|
1788
|
+
this[i] = val;
|
|
1789
|
+
}
|
|
1790
|
+
} else {
|
|
1791
|
+
const bytes = Buffer.isBuffer(val)
|
|
1792
|
+
? val
|
|
1793
|
+
: Buffer.from(val, encoding);
|
|
1794
|
+
const len = bytes.length;
|
|
1795
|
+
if (len === 0) {
|
|
1796
|
+
throw new TypeError('The value "' + val +
|
|
1797
|
+
'" is invalid for argument "value"')
|
|
1798
|
+
}
|
|
1799
|
+
for (i = 0; i < end - start; ++i) {
|
|
1800
|
+
this[i + start] = bytes[i % len];
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
return this
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
// CUSTOM ERRORS
|
|
1808
|
+
// =============
|
|
1809
|
+
|
|
1810
|
+
// Simplified versions from Node, changed for Buffer-only usage
|
|
1811
|
+
const errors = {};
|
|
1812
|
+
function E (sym, getMessage, Base) {
|
|
1813
|
+
errors[sym] = class NodeError extends Base {
|
|
1814
|
+
constructor () {
|
|
1815
|
+
super();
|
|
1816
|
+
|
|
1817
|
+
Object.defineProperty(this, 'message', {
|
|
1818
|
+
value: getMessage.apply(this, arguments),
|
|
1819
|
+
writable: true,
|
|
1820
|
+
configurable: true
|
|
1821
|
+
});
|
|
1822
|
+
|
|
1823
|
+
// Add the error code to the name to include it in the stack trace.
|
|
1824
|
+
this.name = `${this.name} [${sym}]`;
|
|
1825
|
+
// Access the stack to generate the error message including the error code
|
|
1826
|
+
// from the name.
|
|
1827
|
+
this.stack; // eslint-disable-line no-unused-expressions
|
|
1828
|
+
// Reset the name to the actual name.
|
|
1829
|
+
delete this.name;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
get code () {
|
|
1833
|
+
return sym
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
set code (value) {
|
|
1837
|
+
Object.defineProperty(this, 'code', {
|
|
1838
|
+
configurable: true,
|
|
1839
|
+
enumerable: true,
|
|
1840
|
+
value,
|
|
1841
|
+
writable: true
|
|
1842
|
+
});
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
toString () {
|
|
1846
|
+
return `${this.name} [${sym}]: ${this.message}`
|
|
1847
|
+
}
|
|
1848
|
+
};
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
E('ERR_BUFFER_OUT_OF_BOUNDS',
|
|
1852
|
+
function (name) {
|
|
1853
|
+
if (name) {
|
|
1854
|
+
return `${name} is outside of buffer bounds`
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
return 'Attempt to access memory outside buffer bounds'
|
|
1858
|
+
}, RangeError);
|
|
1859
|
+
E('ERR_INVALID_ARG_TYPE',
|
|
1860
|
+
function (name, actual) {
|
|
1861
|
+
return `The "${name}" argument must be of type number. Received type ${typeof actual}`
|
|
1862
|
+
}, TypeError);
|
|
1863
|
+
E('ERR_OUT_OF_RANGE',
|
|
1864
|
+
function (str, range, input) {
|
|
1865
|
+
let msg = `The value of "${str}" is out of range.`;
|
|
1866
|
+
let received = input;
|
|
1867
|
+
if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
|
|
1868
|
+
received = addNumericalSeparator(String(input));
|
|
1869
|
+
} else if (typeof input === 'bigint') {
|
|
1870
|
+
received = String(input);
|
|
1871
|
+
if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {
|
|
1872
|
+
received = addNumericalSeparator(received);
|
|
1873
|
+
}
|
|
1874
|
+
received += 'n';
|
|
1875
|
+
}
|
|
1876
|
+
msg += ` It must be ${range}. Received ${received}`;
|
|
1877
|
+
return msg
|
|
1878
|
+
}, RangeError);
|
|
1879
|
+
|
|
1880
|
+
function addNumericalSeparator (val) {
|
|
1881
|
+
let res = '';
|
|
1882
|
+
let i = val.length;
|
|
1883
|
+
const start = val[0] === '-' ? 1 : 0;
|
|
1884
|
+
for (; i >= start + 4; i -= 3) {
|
|
1885
|
+
res = `_${val.slice(i - 3, i)}${res}`;
|
|
1886
|
+
}
|
|
1887
|
+
return `${val.slice(0, i)}${res}`
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
// CHECK FUNCTIONS
|
|
1891
|
+
// ===============
|
|
1892
|
+
|
|
1893
|
+
function checkBounds (buf, offset, byteLength) {
|
|
1894
|
+
validateNumber(offset, 'offset');
|
|
1895
|
+
if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {
|
|
1896
|
+
boundsError(offset, buf.length - (byteLength + 1));
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
function checkIntBI (value, min, max, buf, offset, byteLength) {
|
|
1901
|
+
if (value > max || value < min) {
|
|
1902
|
+
const n = typeof min === 'bigint' ? 'n' : '';
|
|
1903
|
+
let range;
|
|
1904
|
+
{
|
|
1905
|
+
if (min === 0 || min === BigInt(0)) {
|
|
1906
|
+
range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`;
|
|
1907
|
+
} else {
|
|
1908
|
+
range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +
|
|
1909
|
+
`${(byteLength + 1) * 8 - 1}${n}`;
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
throw new errors.ERR_OUT_OF_RANGE('value', range, value)
|
|
1913
|
+
}
|
|
1914
|
+
checkBounds(buf, offset, byteLength);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
function validateNumber (value, name) {
|
|
1918
|
+
if (typeof value !== 'number') {
|
|
1919
|
+
throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
function boundsError (value, length, type) {
|
|
1924
|
+
if (Math.floor(value) !== value) {
|
|
1925
|
+
validateNumber(value, type);
|
|
1926
|
+
throw new errors.ERR_OUT_OF_RANGE('offset', 'an integer', value)
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
if (length < 0) {
|
|
1930
|
+
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
throw new errors.ERR_OUT_OF_RANGE('offset',
|
|
1934
|
+
`>= ${0} and <= ${length}`,
|
|
1935
|
+
value)
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
// HELPER FUNCTIONS
|
|
1939
|
+
// ================
|
|
1940
|
+
|
|
1941
|
+
const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g;
|
|
1942
|
+
|
|
1943
|
+
function base64clean (str) {
|
|
1944
|
+
// Node takes equal signs as end of the Base64 encoding
|
|
1945
|
+
str = str.split('=')[0];
|
|
1946
|
+
// Node strips out invalid characters like \n and \t from the string, base64-js does not
|
|
1947
|
+
str = str.trim().replace(INVALID_BASE64_RE, '');
|
|
1948
|
+
// Node converts strings with length < 2 to ''
|
|
1949
|
+
if (str.length < 2) return ''
|
|
1950
|
+
// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
|
|
1951
|
+
while (str.length % 4 !== 0) {
|
|
1952
|
+
str = str + '=';
|
|
1953
|
+
}
|
|
1954
|
+
return str
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
function utf8ToBytes (string, units) {
|
|
1958
|
+
units = units || Infinity;
|
|
1959
|
+
let codePoint;
|
|
1960
|
+
const length = string.length;
|
|
1961
|
+
let leadSurrogate = null;
|
|
1962
|
+
const bytes = [];
|
|
1963
|
+
|
|
1964
|
+
for (let i = 0; i < length; ++i) {
|
|
1965
|
+
codePoint = string.charCodeAt(i);
|
|
1966
|
+
|
|
1967
|
+
// is surrogate component
|
|
1968
|
+
if (codePoint > 0xD7FF && codePoint < 0xE000) {
|
|
1969
|
+
// last char was a lead
|
|
1970
|
+
if (!leadSurrogate) {
|
|
1971
|
+
// no lead yet
|
|
1972
|
+
if (codePoint > 0xDBFF) {
|
|
1973
|
+
// unexpected trail
|
|
1974
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
|
|
1975
|
+
continue
|
|
1976
|
+
} else if (i + 1 === length) {
|
|
1977
|
+
// unpaired lead
|
|
1978
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
|
|
1979
|
+
continue
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
// valid lead
|
|
1983
|
+
leadSurrogate = codePoint;
|
|
1984
|
+
|
|
1985
|
+
continue
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
// 2 leads in a row
|
|
1989
|
+
if (codePoint < 0xDC00) {
|
|
1990
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
|
|
1991
|
+
leadSurrogate = codePoint;
|
|
1992
|
+
continue
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
// valid surrogate pair
|
|
1996
|
+
codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;
|
|
1997
|
+
} else if (leadSurrogate) {
|
|
1998
|
+
// valid bmp char, but last char was a lead
|
|
1999
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
leadSurrogate = null;
|
|
2003
|
+
|
|
2004
|
+
// encode utf8
|
|
2005
|
+
if (codePoint < 0x80) {
|
|
2006
|
+
if ((units -= 1) < 0) break
|
|
2007
|
+
bytes.push(codePoint);
|
|
2008
|
+
} else if (codePoint < 0x800) {
|
|
2009
|
+
if ((units -= 2) < 0) break
|
|
2010
|
+
bytes.push(
|
|
2011
|
+
codePoint >> 0x6 | 0xC0,
|
|
2012
|
+
codePoint & 0x3F | 0x80
|
|
2013
|
+
);
|
|
2014
|
+
} else if (codePoint < 0x10000) {
|
|
2015
|
+
if ((units -= 3) < 0) break
|
|
2016
|
+
bytes.push(
|
|
2017
|
+
codePoint >> 0xC | 0xE0,
|
|
2018
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
2019
|
+
codePoint & 0x3F | 0x80
|
|
2020
|
+
);
|
|
2021
|
+
} else if (codePoint < 0x110000) {
|
|
2022
|
+
if ((units -= 4) < 0) break
|
|
2023
|
+
bytes.push(
|
|
2024
|
+
codePoint >> 0x12 | 0xF0,
|
|
2025
|
+
codePoint >> 0xC & 0x3F | 0x80,
|
|
2026
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
2027
|
+
codePoint & 0x3F | 0x80
|
|
2028
|
+
);
|
|
2029
|
+
} else {
|
|
2030
|
+
throw new Error('Invalid code point')
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
return bytes
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
function asciiToBytes (str) {
|
|
2038
|
+
const byteArray = [];
|
|
2039
|
+
for (let i = 0; i < str.length; ++i) {
|
|
2040
|
+
// Node's code seems to be doing this and not & 0x7F..
|
|
2041
|
+
byteArray.push(str.charCodeAt(i) & 0xFF);
|
|
2042
|
+
}
|
|
2043
|
+
return byteArray
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
function utf16leToBytes (str, units) {
|
|
2047
|
+
let c, hi, lo;
|
|
2048
|
+
const byteArray = [];
|
|
2049
|
+
for (let i = 0; i < str.length; ++i) {
|
|
2050
|
+
if ((units -= 2) < 0) break
|
|
2051
|
+
|
|
2052
|
+
c = str.charCodeAt(i);
|
|
2053
|
+
hi = c >> 8;
|
|
2054
|
+
lo = c % 256;
|
|
2055
|
+
byteArray.push(lo);
|
|
2056
|
+
byteArray.push(hi);
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
return byteArray
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
function base64ToBytes (str) {
|
|
2063
|
+
return base64.toByteArray(base64clean(str))
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
function blitBuffer (src, dst, offset, length) {
|
|
2067
|
+
let i;
|
|
2068
|
+
for (i = 0; i < length; ++i) {
|
|
2069
|
+
if ((i + offset >= dst.length) || (i >= src.length)) break
|
|
2070
|
+
dst[i + offset] = src[i];
|
|
2071
|
+
}
|
|
2072
|
+
return i
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass
|
|
2076
|
+
// the `instanceof` check but they should be treated as of that type.
|
|
2077
|
+
// See: https://github.com/feross/buffer/issues/166
|
|
2078
|
+
function isInstance (obj, type) {
|
|
2079
|
+
return obj instanceof type ||
|
|
2080
|
+
(obj != null && obj.constructor != null && obj.constructor.name != null &&
|
|
2081
|
+
obj.constructor.name === type.name)
|
|
2082
|
+
}
|
|
2083
|
+
function numberIsNaN (obj) {
|
|
2084
|
+
// For IE11 support
|
|
2085
|
+
return obj !== obj // eslint-disable-line no-self-compare
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
// Create lookup table for `toString('hex')`
|
|
2089
|
+
// See: https://github.com/feross/buffer/issues/219
|
|
2090
|
+
const hexSliceLookupTable = (function () {
|
|
2091
|
+
const alphabet = '0123456789abcdef';
|
|
2092
|
+
const table = new Array(256);
|
|
2093
|
+
for (let i = 0; i < 16; ++i) {
|
|
2094
|
+
const i16 = i * 16;
|
|
2095
|
+
for (let j = 0; j < 16; ++j) {
|
|
2096
|
+
table[i16 + j] = alphabet[i] + alphabet[j];
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
return table
|
|
2100
|
+
})();
|
|
2101
|
+
|
|
2102
|
+
// Return not function with Error if BigInt not supported
|
|
2103
|
+
function defineBigIntMethod (fn) {
|
|
2104
|
+
return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
function BufferBigIntNotDefined () {
|
|
2108
|
+
throw new Error('BigInt not supported')
|
|
2109
|
+
}
|
|
2110
|
+
} (buffer));
|
|
2111
|
+
//# sourceMappingURL=index.js.map
|