@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.
Files changed (1900) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +33 -0
  2. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/_virtual/_nodeUtil.js +4 -0
  4. package/dist/_virtual/_nodeUtil.js.map +1 -0
  5. package/dist/_virtual/bn.js +4 -0
  6. package/dist/_virtual/bn.js.map +1 -0
  7. package/dist/_virtual/common.js +4 -0
  8. package/dist/_virtual/common.js.map +1 -0
  9. package/dist/_virtual/common2.js +4 -0
  10. package/dist/_virtual/common2.js.map +1 -0
  11. package/dist/_virtual/dom-to-image.js +4 -0
  12. package/dist/_virtual/dom-to-image.js.map +1 -0
  13. package/dist/_virtual/hash.js +4 -0
  14. package/dist/_virtual/hash.js.map +1 -0
  15. package/dist/_virtual/index.js +4 -0
  16. package/dist/_virtual/index.js.map +1 -0
  17. package/dist/_virtual/index2.js +4 -0
  18. package/dist/_virtual/index2.js.map +1 -0
  19. package/dist/_virtual/index3.js +4 -0
  20. package/dist/_virtual/index3.js.map +1 -0
  21. package/dist/_virtual/index4.js +4 -0
  22. package/dist/_virtual/index4.js.map +1 -0
  23. package/dist/_virtual/index5.js +4 -0
  24. package/dist/_virtual/index5.js.map +1 -0
  25. package/dist/_virtual/index6.js +4 -0
  26. package/dist/_virtual/index6.js.map +1 -0
  27. package/dist/_virtual/inherits.js +4 -0
  28. package/dist/_virtual/inherits.js.map +1 -0
  29. package/dist/_virtual/inherits_browser.js +4 -0
  30. package/dist/_virtual/inherits_browser.js.map +1 -0
  31. package/dist/_virtual/isBuffer.js +4 -0
  32. package/dist/_virtual/isBuffer.js.map +1 -0
  33. package/dist/_virtual/jsx-runtime.js +4 -0
  34. package/dist/_virtual/jsx-runtime.js.map +1 -0
  35. package/dist/_virtual/main.js +4 -0
  36. package/dist/_virtual/main.js.map +1 -0
  37. package/dist/_virtual/react-is.development.js +4 -0
  38. package/dist/_virtual/react-is.development.js.map +1 -0
  39. package/dist/_virtual/react-is.production.min.js +4 -0
  40. package/dist/_virtual/react-is.production.min.js.map +1 -0
  41. package/dist/_virtual/react-jsx-runtime.development.js +4 -0
  42. package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
  43. package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
  44. package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
  45. package/dist/_virtual/ripemd.js +4 -0
  46. package/dist/_virtual/ripemd.js.map +1 -0
  47. package/dist/_virtual/sha.js +4 -0
  48. package/dist/_virtual/sha.js.map +1 -0
  49. package/dist/_virtual/sha3.js +4 -0
  50. package/dist/_virtual/sha3.js.map +1 -0
  51. package/dist/_virtual/tslib.es6.js +7 -0
  52. package/dist/_virtual/tslib.es6.js.map +1 -0
  53. package/dist/_virtual/types.js +4 -0
  54. package/dist/_virtual/types.js.map +1 -0
  55. package/dist/_virtual/util.js +4 -0
  56. package/dist/_virtual/util.js.map +1 -0
  57. package/dist/_virtual/utils.js +4 -0
  58. package/dist/_virtual/utils.js.map +1 -0
  59. package/dist/_virtual/zapTokens.js +4 -0
  60. package/dist/_virtual/zapTokens.js.map +1 -0
  61. package/dist/components/BondFilters/BondFilters.js +41 -0
  62. package/dist/components/BondFilters/BondFilters.js.map +1 -0
  63. package/dist/components/ChainOptionList/ChainOptionsButtons.js +32 -0
  64. package/dist/components/ChainOptionList/ChainOptionsButtons.js.map +1 -0
  65. package/dist/components/ChainOptionList/ChainOptionsList.js +41 -0
  66. package/dist/components/ChainOptionList/ChainOptionsList.js.map +1 -0
  67. package/dist/components/ChainOptionList/constants.js +11 -0
  68. package/dist/components/ChainOptionList/constants.js.map +1 -0
  69. package/dist/components/ChainOptionList/styles.js +54 -0
  70. package/dist/components/ChainOptionList/styles.js.map +1 -0
  71. package/dist/components/ConnectButton/AppKitButton.js +23 -0
  72. package/dist/components/ConnectButton/AppKitButton.js.map +1 -0
  73. package/dist/components/ConnectButton/RainbowKitButton.js +36 -0
  74. package/dist/components/ConnectButton/RainbowKitButton.js.map +1 -0
  75. package/dist/components/ConnectButton/index.js +27 -0
  76. package/dist/components/ConnectButton/index.js.map +1 -0
  77. package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js +42 -0
  78. package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js.map +1 -0
  79. package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js +67 -0
  80. package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js.map +1 -0
  81. package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js +64 -0
  82. package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js.map +1 -0
  83. package/dist/components/CustomClaimModals/AbondModal.js +28 -0
  84. package/dist/components/CustomClaimModals/AbondModal.js.map +1 -0
  85. package/dist/components/CustomClaimModals/OabondModal.js +28 -0
  86. package/dist/components/CustomClaimModals/OabondModal.js.map +1 -0
  87. package/dist/components/CustomClaimModals/PmusdModal.js +31 -0
  88. package/dist/components/CustomClaimModals/PmusdModal.js.map +1 -0
  89. package/dist/components/FavIcons/AddFavToken.js +37 -0
  90. package/dist/components/FavIcons/AddFavToken.js.map +1 -0
  91. package/dist/components/FavIcons/FavFilter.js +32 -0
  92. package/dist/components/FavIcons/FavFilter.js.map +1 -0
  93. package/dist/components/LoadingSpinner/index.js +51 -0
  94. package/dist/components/LoadingSpinner/index.js.map +1 -0
  95. package/dist/components/MenuSelect/MenuSelect.js +32 -0
  96. package/dist/components/MenuSelect/MenuSelect.js.map +1 -0
  97. package/dist/components/MenuSelect/RecommendationSelector.js +58 -0
  98. package/dist/components/MenuSelect/RecommendationSelector.js.map +1 -0
  99. package/dist/components/NetworkFilter/index.js +113 -0
  100. package/dist/components/NetworkFilter/index.js.map +1 -0
  101. package/dist/components/PlaceholderMonkey/index.js +29 -0
  102. package/dist/components/PlaceholderMonkey/index.js.map +1 -0
  103. package/dist/components/ProgressBar/ProgressBar.js +11 -0
  104. package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
  105. package/dist/components/ProgressBar/ProgressBarWrapper.js +24 -0
  106. package/dist/components/ProgressBar/ProgressBarWrapper.js.map +1 -0
  107. package/dist/components/ProgressBar/styles.js +15 -0
  108. package/dist/components/ProgressBar/styles.js.map +1 -0
  109. package/dist/components/ProgressiveImage/index.js +44 -0
  110. package/dist/components/ProgressiveImage/index.js.map +1 -0
  111. package/dist/components/SafeHTMLComponent/index.js +31 -0
  112. package/dist/components/SafeHTMLComponent/index.js.map +1 -0
  113. package/dist/components/SlippageModal/index.js +73 -0
  114. package/dist/components/SlippageModal/index.js.map +1 -0
  115. package/dist/components/StepBubble/index.js +65 -0
  116. package/dist/components/StepBubble/index.js.map +1 -0
  117. package/dist/components/Toast/index.js +65 -0
  118. package/dist/components/Toast/index.js.map +1 -0
  119. package/dist/components/Toast/styles.js +30 -0
  120. package/dist/components/Toast/styles.js.map +1 -0
  121. package/dist/components/TokenInfoAndName/index.js +72 -0
  122. package/dist/components/TokenInfoAndName/index.js.map +1 -0
  123. package/dist/components/TokenSelectorModal/TokenRow.js +39 -0
  124. package/dist/components/TokenSelectorModal/TokenRow.js.map +1 -0
  125. package/dist/components/TokenSelectorModal/index.js +66 -0
  126. package/dist/components/TokenSelectorModal/index.js.map +1 -0
  127. package/dist/components/TokenSelectorPanel/index.js +67 -0
  128. package/dist/components/TokenSelectorPanel/index.js.map +1 -0
  129. package/dist/components/Tooltip/ButtonsRow.js +28 -0
  130. package/dist/components/Tooltip/ButtonsRow.js.map +1 -0
  131. package/dist/components/Tooltip/Tooltip.js +51 -0
  132. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  133. package/dist/components/Tooltip/styles.js +32 -0
  134. package/dist/components/Tooltip/styles.js.map +1 -0
  135. package/dist/components/YouTooltip/YouTooltip.js +45 -0
  136. package/dist/components/YouTooltip/YouTooltip.js.map +1 -0
  137. package/dist/components/uikit-sdk/Button/Button.js +73 -0
  138. package/dist/components/uikit-sdk/Button/Button.js.map +1 -0
  139. package/dist/components/uikit-sdk/Button/IconButton.js +15 -0
  140. package/dist/components/uikit-sdk/Button/IconButton.js.map +1 -0
  141. package/dist/components/uikit-sdk/Button/styles.js +21 -0
  142. package/dist/components/uikit-sdk/Button/styles.js.map +1 -0
  143. package/dist/components/uikit-sdk/Button/types.js +39 -0
  144. package/dist/components/uikit-sdk/Button/types.js.map +1 -0
  145. package/dist/components/uikit-sdk/Checkbox/index.js +27 -0
  146. package/dist/components/uikit-sdk/Checkbox/index.js.map +1 -0
  147. package/dist/components/uikit-sdk/Checkbox/types.js +8 -0
  148. package/dist/components/uikit-sdk/Checkbox/types.js.map +1 -0
  149. package/dist/components/uikit-sdk/Flex/index.js +11 -0
  150. package/dist/components/uikit-sdk/Flex/index.js.map +1 -0
  151. package/dist/components/uikit-sdk/Input/Input.js +55 -0
  152. package/dist/components/uikit-sdk/Input/Input.js.map +1 -0
  153. package/dist/components/uikit-sdk/LoadingDots/index.js +42 -0
  154. package/dist/components/uikit-sdk/LoadingDots/index.js.map +1 -0
  155. package/dist/components/uikit-sdk/Modal/ModalHeader.js +15 -0
  156. package/dist/components/uikit-sdk/Modal/ModalHeader.js.map +1 -0
  157. package/dist/components/uikit-sdk/Modal/index.js +29 -0
  158. package/dist/components/uikit-sdk/Modal/index.js.map +1 -0
  159. package/dist/components/uikit-sdk/Modal/styles.js +47 -0
  160. package/dist/components/uikit-sdk/Modal/styles.js.map +1 -0
  161. package/dist/components/uikit-sdk/Select/Select.js +44 -0
  162. package/dist/components/uikit-sdk/Select/Select.js.map +1 -0
  163. package/dist/components/uikit-sdk/Select/SelectItem.js +22 -0
  164. package/dist/components/uikit-sdk/Select/SelectItem.js.map +1 -0
  165. package/dist/components/uikit-sdk/Select/styles.js +50 -0
  166. package/dist/components/uikit-sdk/Select/styles.js.map +1 -0
  167. package/dist/components/uikit-sdk/Select/types.js +39 -0
  168. package/dist/components/uikit-sdk/Select/types.js.map +1 -0
  169. package/dist/components/uikit-sdk/Skeleton/index.js +13 -0
  170. package/dist/components/uikit-sdk/Skeleton/index.js.map +1 -0
  171. package/dist/components/uikit-sdk/Skeleton/styles.js +43 -0
  172. package/dist/components/uikit-sdk/Skeleton/styles.js.map +1 -0
  173. package/dist/components/uikit-sdk/Skeleton/types.js +13 -0
  174. package/dist/components/uikit-sdk/Skeleton/types.js.map +1 -0
  175. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +8 -0
  176. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js.map +1 -0
  177. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +18 -0
  178. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js.map +1 -0
  179. package/dist/components/uikit-sdk/Svg/Icons/Audit.js +18 -0
  180. package/dist/components/uikit-sdk/Svg/Icons/Audit.js.map +1 -0
  181. package/dist/components/uikit-sdk/Svg/Icons/Caret.js +18 -0
  182. package/dist/components/uikit-sdk/Svg/Icons/Caret.js.map +1 -0
  183. package/dist/components/uikit-sdk/Svg/Icons/Close.js +11 -0
  184. package/dist/components/uikit-sdk/Svg/Icons/Close.js.map +1 -0
  185. package/dist/components/uikit-sdk/Svg/Icons/Cog.js +18 -0
  186. package/dist/components/uikit-sdk/Svg/Icons/Cog.js.map +1 -0
  187. package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js +18 -0
  188. package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js.map +1 -0
  189. package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js +18 -0
  190. package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js.map +1 -0
  191. package/dist/components/uikit-sdk/Svg/Icons/Discord.js +18 -0
  192. package/dist/components/uikit-sdk/Svg/Icons/Discord.js.map +1 -0
  193. package/dist/components/uikit-sdk/Svg/Icons/Error.js +18 -0
  194. package/dist/components/uikit-sdk/Svg/Icons/Error.js.map +1 -0
  195. package/dist/components/uikit-sdk/Svg/Icons/Expand.js +18 -0
  196. package/dist/components/uikit-sdk/Svg/Icons/Expand.js.map +1 -0
  197. package/dist/components/uikit-sdk/Svg/Icons/External.js +18 -0
  198. package/dist/components/uikit-sdk/Svg/Icons/External.js.map +1 -0
  199. package/dist/components/uikit-sdk/Svg/Icons/Fire.js +8 -0
  200. package/dist/components/uikit-sdk/Svg/Icons/Fire.js.map +1 -0
  201. package/dist/components/uikit-sdk/Svg/Icons/FirePink.js +8 -0
  202. package/dist/components/uikit-sdk/Svg/Icons/FirePink.js.map +1 -0
  203. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +18 -0
  204. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js.map +1 -0
  205. package/dist/components/uikit-sdk/Svg/Icons/Insight.js +18 -0
  206. package/dist/components/uikit-sdk/Svg/Icons/Insight.js.map +1 -0
  207. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +18 -0
  208. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js.map +1 -0
  209. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +8 -0
  210. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js.map +1 -0
  211. package/dist/components/uikit-sdk/Svg/Icons/Medium.js +18 -0
  212. package/dist/components/uikit-sdk/Svg/Icons/Medium.js.map +1 -0
  213. package/dist/components/uikit-sdk/Svg/Icons/More.js +18 -0
  214. package/dist/components/uikit-sdk/Svg/Icons/More.js.map +1 -0
  215. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +18 -0
  216. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js.map +1 -0
  217. package/dist/components/uikit-sdk/Svg/Icons/Question.js +8 -0
  218. package/dist/components/uikit-sdk/Svg/Icons/Question.js.map +1 -0
  219. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +18 -0
  220. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js.map +1 -0
  221. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +18 -0
  222. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js.map +1 -0
  223. package/dist/components/uikit-sdk/Svg/Icons/Search.js +18 -0
  224. package/dist/components/uikit-sdk/Svg/Icons/Search.js.map +1 -0
  225. package/dist/components/uikit-sdk/Svg/Icons/Sort.js +18 -0
  226. package/dist/components/uikit-sdk/Svg/Icons/Sort.js.map +1 -0
  227. package/dist/components/uikit-sdk/Svg/Icons/Star.js +8 -0
  228. package/dist/components/uikit-sdk/Svg/Icons/Star.js.map +1 -0
  229. package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js +8 -0
  230. package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js.map +1 -0
  231. package/dist/components/uikit-sdk/Svg/Icons/Success.js +18 -0
  232. package/dist/components/uikit-sdk/Svg/Icons/Success.js.map +1 -0
  233. package/dist/components/uikit-sdk/Svg/Icons/Tag.js +8 -0
  234. package/dist/components/uikit-sdk/Svg/Icons/Tag.js.map +1 -0
  235. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +18 -0
  236. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js.map +1 -0
  237. package/dist/components/uikit-sdk/Svg/Icons/Tick.js +18 -0
  238. package/dist/components/uikit-sdk/Svg/Icons/Tick.js.map +1 -0
  239. package/dist/components/uikit-sdk/Svg/Icons/Timer.js +8 -0
  240. package/dist/components/uikit-sdk/Svg/Icons/Timer.js.map +1 -0
  241. package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js +8 -0
  242. package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js.map +1 -0
  243. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +18 -0
  244. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js.map +1 -0
  245. package/dist/components/uikit-sdk/Svg/Icons/URL.js +18 -0
  246. package/dist/components/uikit-sdk/Svg/Icons/URL.js.map +1 -0
  247. package/dist/components/uikit-sdk/Svg/Icons/Website.js +18 -0
  248. package/dist/components/uikit-sdk/Svg/Icons/Website.js.map +1 -0
  249. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +18 -0
  250. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js.map +1 -0
  251. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +18 -0
  252. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js.map +1 -0
  253. package/dist/components/uikit-sdk/Svg/index.js +229 -0
  254. package/dist/components/uikit-sdk/Svg/index.js.map +1 -0
  255. package/dist/components/uikit-sdk/Svg/styles.js +14 -0
  256. package/dist/components/uikit-sdk/Svg/styles.js.map +1 -0
  257. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +8 -0
  258. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js.map +1 -0
  259. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +8 -0
  260. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js.map +1 -0
  261. package/dist/components/uikit-sdk/Svg/tokens/BASE.js +8 -0
  262. package/dist/components/uikit-sdk/Svg/tokens/BASE.js.map +1 -0
  263. package/dist/components/uikit-sdk/Svg/tokens/BERA.js +8 -0
  264. package/dist/components/uikit-sdk/Svg/tokens/BERA.js.map +1 -0
  265. package/dist/components/uikit-sdk/Svg/tokens/BLAST.js +8 -0
  266. package/dist/components/uikit-sdk/Svg/tokens/BLAST.js.map +1 -0
  267. package/dist/components/uikit-sdk/Svg/tokens/BNB.js +8 -0
  268. package/dist/components/uikit-sdk/Svg/tokens/BNB.js.map +1 -0
  269. package/dist/components/uikit-sdk/Svg/tokens/BSC.js +8 -0
  270. package/dist/components/uikit-sdk/Svg/tokens/BSC.js.map +1 -0
  271. package/dist/components/uikit-sdk/Svg/tokens/CELO.js +8 -0
  272. package/dist/components/uikit-sdk/Svg/tokens/CELO.js.map +1 -0
  273. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +8 -0
  274. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js.map +1 -0
  275. package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js +8 -0
  276. package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js.map +1 -0
  277. package/dist/components/uikit-sdk/Svg/tokens/ETH.js +8 -0
  278. package/dist/components/uikit-sdk/Svg/tokens/ETH.js.map +1 -0
  279. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +8 -0
  280. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js.map +1 -0
  281. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +8 -0
  282. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js.map +1 -0
  283. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js +8 -0
  284. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js.map +1 -0
  285. package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js +8 -0
  286. package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js.map +1 -0
  287. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +8 -0
  288. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js.map +1 -0
  289. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +8 -0
  290. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js.map +1 -0
  291. package/dist/components/uikit-sdk/Svg/tokens/KATANA.js +8 -0
  292. package/dist/components/uikit-sdk/Svg/tokens/KATANA.js.map +1 -0
  293. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +8 -0
  294. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js.map +1 -0
  295. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +8 -0
  296. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js.map +1 -0
  297. package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js +8 -0
  298. package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js.map +1 -0
  299. package/dist/components/uikit-sdk/Svg/tokens/MONAD.js +8 -0
  300. package/dist/components/uikit-sdk/Svg/tokens/MONAD.js.map +1 -0
  301. package/dist/components/uikit-sdk/Svg/tokens/OKX.js +8 -0
  302. package/dist/components/uikit-sdk/Svg/tokens/OKX.js.map +1 -0
  303. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +10 -0
  304. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js.map +1 -0
  305. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +8 -0
  306. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js.map +1 -0
  307. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +8 -0
  308. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js.map +1 -0
  309. package/dist/components/uikit-sdk/Svg/tokens/SOL.js +8 -0
  310. package/dist/components/uikit-sdk/Svg/tokens/SOL.js.map +1 -0
  311. package/dist/components/uikit-sdk/Svg/tokens/SONIC.js +8 -0
  312. package/dist/components/uikit-sdk/Svg/tokens/SONIC.js.map +1 -0
  313. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +8 -0
  314. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js.map +1 -0
  315. package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js +8 -0
  316. package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js.map +1 -0
  317. package/dist/components/uikit-sdk/Svg/types.js +86 -0
  318. package/dist/components/uikit-sdk/Svg/types.js.map +1 -0
  319. package/dist/components/uikit-sdk/SwiperDots/index.js +16 -0
  320. package/dist/components/uikit-sdk/SwiperDots/index.js.map +1 -0
  321. package/dist/components/uikit-sdk/TabNav/index.js +42 -0
  322. package/dist/components/uikit-sdk/TabNav/index.js.map +1 -0
  323. package/dist/components/uikit-sdk/Tag/ListTag.js +10 -0
  324. package/dist/components/uikit-sdk/Tag/ListTag.js.map +1 -0
  325. package/dist/components/uikit-sdk/Text/index.js +17 -0
  326. package/dist/components/uikit-sdk/Text/index.js.map +1 -0
  327. package/dist/components/uikit-sdk/Text/types.js +16 -0
  328. package/dist/components/uikit-sdk/Text/types.js.map +1 -0
  329. package/dist/components/uikit-sdk/Toggle/index.js +15 -0
  330. package/dist/components/uikit-sdk/Toggle/index.js.map +1 -0
  331. package/dist/components/uikit-sdk/Toggle/styles.js +22 -0
  332. package/dist/components/uikit-sdk/Toggle/styles.js.map +1 -0
  333. package/dist/components/uikit-sdk/TokenImage/index.js +73 -0
  334. package/dist/components/uikit-sdk/TokenImage/index.js.map +1 -0
  335. package/dist/components/uikit-sdk/TooltipBubble/index.js +57 -0
  336. package/dist/components/uikit-sdk/TooltipBubble/index.js.map +1 -0
  337. package/dist/components/uikit-sdk/TooltipBubble/styles.js +55 -0
  338. package/dist/components/uikit-sdk/TooltipBubble/styles.js.map +1 -0
  339. package/dist/components/uikit-sdk/TooltipBubble/types.js +12 -0
  340. package/dist/components/uikit-sdk/TooltipBubble/types.js.map +1 -0
  341. package/dist/config/abi/BOND_2_0_0.json.js +1079 -0
  342. package/dist/config/abi/BOND_2_0_0.json.js.map +1 -0
  343. package/dist/config/abi/BOND_2_4_0.json.js +2409 -0
  344. package/dist/config/abi/BOND_2_4_0.json.js.map +1 -0
  345. package/dist/config/abi/bondNft.json.js +959 -0
  346. package/dist/config/abi/bondNft.json.js.map +1 -0
  347. package/dist/config/abi/deposit.json.js +29 -0
  348. package/dist/config/abi/deposit.json.js.map +1 -0
  349. package/dist/config/abi/depositSig.json.js +39 -0
  350. package/dist/config/abi/depositSig.json.js.map +1 -0
  351. package/dist/config/abi/erc20.json.js +229 -0
  352. package/dist/config/abi/erc20.json.js.map +1 -0
  353. package/dist/config/abi/launchBond_v2_4_1.json.js +2358 -0
  354. package/dist/config/abi/launchBond_v2_4_1.json.js.map +1 -0
  355. package/dist/config/abi/lensContract.json.js +338 -0
  356. package/dist/config/abi/lensContract.json.js.map +1 -0
  357. package/dist/config/abi/multicallv2.json.js +151 -0
  358. package/dist/config/abi/multicallv2.json.js.map +1 -0
  359. package/dist/config/abi/usdtETH.json.js +704 -0
  360. package/dist/config/abi/usdtETH.json.js.map +1 -0
  361. package/dist/config/constants/addresses.js +50 -0
  362. package/dist/config/constants/addresses.js.map +1 -0
  363. package/dist/config/constants/chains.js +139 -0
  364. package/dist/config/constants/chains.js.map +1 -0
  365. package/dist/config/constants/networks.js +89 -0
  366. package/dist/config/constants/networks.js.map +1 -0
  367. package/dist/config/constants/queryKeys.js +29 -0
  368. package/dist/config/constants/queryKeys.js.map +1 -0
  369. package/dist/config/constants/tooltips.js +20 -0
  370. package/dist/config/constants/tooltips.js.map +1 -0
  371. package/dist/config/constants/variables.js +42 -0
  372. package/dist/config/constants/variables.js.map +1 -0
  373. package/dist/config/idl/solanaProgramIdl.json.js +6 -0
  374. package/dist/config/idl/solanaProgramIdl.json.js.map +1 -0
  375. package/dist/constants/solanaConstants.js +41 -0
  376. package/dist/constants/solanaConstants.js.map +1 -0
  377. package/dist/contexts/ModalContext.js +72 -0
  378. package/dist/contexts/ModalContext.js.map +1 -0
  379. package/dist/contexts/Popups.js +29 -0
  380. package/dist/contexts/Popups.js.map +1 -0
  381. package/dist/contexts/SwiperProvider.js +21 -0
  382. package/dist/contexts/SwiperProvider.js.map +1 -0
  383. package/dist/hooks/accounts/useEVMAccount.js +13 -0
  384. package/dist/hooks/accounts/useEVMAccount.js.map +1 -0
  385. package/dist/hooks/accounts/useSOLAccount.js +17 -0
  386. package/dist/hooks/accounts/useSOLAccount.js.map +1 -0
  387. package/dist/hooks/useDebounce.js +21 -0
  388. package/dist/hooks/useDebounce.js.map +1 -0
  389. package/dist/hooks/useIsMobile.js +22 -0
  390. package/dist/hooks/useIsMobile.js.map +1 -0
  391. package/dist/hooks/useModal.js +34 -0
  392. package/dist/hooks/useModal.js.map +1 -0
  393. package/dist/hooks/useMonitorTx.js +26 -0
  394. package/dist/hooks/useMonitorTx.js.map +1 -0
  395. package/dist/hooks/useSendReferenceId.js +22 -0
  396. package/dist/hooks/useSendReferenceId.js.map +1 -0
  397. package/dist/hooks/useSortedZapList.js +56 -0
  398. package/dist/hooks/useSortedZapList.js.map +1 -0
  399. package/dist/hooks/useSwiper.js +13 -0
  400. package/dist/hooks/useSwiper.js.map +1 -0
  401. package/dist/hooks/useTokenFromZapList.js +15 -0
  402. package/dist/hooks/useTokenFromZapList.js.map +1 -0
  403. package/dist/hooks/useTopTags.js +47 -0
  404. package/dist/hooks/useTopTags.js.map +1 -0
  405. package/dist/main.d.ts +23 -0
  406. package/dist/main.js +18 -89923
  407. package/dist/main.js.map +1 -0
  408. package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js +698 -0
  409. package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js.map +1 -0
  410. package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js +27 -0
  411. package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js.map +1 -0
  412. package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js +1078 -0
  413. package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js.map +1 -0
  414. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +500 -0
  415. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
  416. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +56 -0
  417. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  418. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
  419. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
  420. package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +152 -0
  421. package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
  422. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +153 -0
  423. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
  424. package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +22 -0
  425. package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js.map +1 -0
  426. package/dist/node_modules/@emotion/react/package.json.js +6 -0
  427. package/dist/node_modules/@emotion/react/package.json.js.map +1 -0
  428. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +225 -0
  429. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -0
  430. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +139 -0
  431. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
  432. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
  433. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
  434. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +14 -0
  435. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
  436. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +55 -0
  437. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
  438. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +17 -0
  439. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
  440. package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js +4 -0
  441. package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js.map +1 -0
  442. package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js +97 -0
  443. package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js.map +1 -0
  444. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js +149 -0
  445. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js.map +1 -0
  446. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js +27 -0
  447. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js.map +1 -0
  448. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js +21 -0
  449. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js.map +1 -0
  450. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js +211 -0
  451. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js.map +1 -0
  452. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js +19 -0
  453. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js.map +1 -0
  454. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js +31 -0
  455. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js.map +1 -0
  456. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js +27 -0
  457. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js.map +1 -0
  458. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js +23 -0
  459. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js.map +1 -0
  460. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js +44 -0
  461. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js.map +1 -0
  462. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js +20 -0
  463. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js.map +1 -0
  464. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js +59 -0
  465. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js.map +1 -0
  466. package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js +855 -0
  467. package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js.map +1 -0
  468. package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js +610 -0
  469. package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js.map +1 -0
  470. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js +4 -0
  471. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js.map +1 -0
  472. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js +67 -0
  473. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js.map +1 -0
  474. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js +4 -0
  475. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js.map +1 -0
  476. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js +303 -0
  477. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js.map +1 -0
  478. package/dist/node_modules/@ethersproject/address/lib.esm/_version.js +4 -0
  479. package/dist/node_modules/@ethersproject/address/lib.esm/_version.js.map +1 -0
  480. package/dist/node_modules/@ethersproject/address/lib.esm/index.js +111 -0
  481. package/dist/node_modules/@ethersproject/address/lib.esm/index.js.map +1 -0
  482. package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js +21 -0
  483. package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js.map +1 -0
  484. package/dist/node_modules/@ethersproject/basex/lib.esm/index.js +121 -0
  485. package/dist/node_modules/@ethersproject/basex/lib.esm/index.js.map +1 -0
  486. package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js +4 -0
  487. package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js.map +1 -0
  488. package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js +296 -0
  489. package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js.map +1 -0
  490. package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js +361 -0
  491. package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js.map +1 -0
  492. package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js +4 -0
  493. package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js.map +1 -0
  494. package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js +403 -0
  495. package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js.map +1 -0
  496. package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js +4 -0
  497. package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js.map +1 -0
  498. package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js +9 -0
  499. package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js.map +1 -0
  500. package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js +4 -0
  501. package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js.map +1 -0
  502. package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js +4 -0
  503. package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js.map +1 -0
  504. package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js +894 -0
  505. package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js.map +1 -0
  506. package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js +4 -0
  507. package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js.map +1 -0
  508. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js +257 -0
  509. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js.map +1 -0
  510. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js +37 -0
  511. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js.map +1 -0
  512. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js +136 -0
  513. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js.map +1 -0
  514. package/dist/node_modules/@ethersproject/hash/lib.esm/id.js +9 -0
  515. package/dist/node_modules/@ethersproject/hash/lib.esm/id.js.map +1 -0
  516. package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js +65 -0
  517. package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js.map +1 -0
  518. package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js +444 -0
  519. package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js.map +1 -0
  520. package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js +9 -0
  521. package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js.map +1 -0
  522. package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js +4 -0
  523. package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js.map +1 -0
  524. package/dist/node_modules/@ethersproject/logger/lib.esm/index.js +353 -0
  525. package/dist/node_modules/@ethersproject/logger/lib.esm/index.js.map +1 -0
  526. package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js +4 -0
  527. package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js.map +1 -0
  528. package/dist/node_modules/@ethersproject/networks/lib.esm/index.js +267 -0
  529. package/dist/node_modules/@ethersproject/networks/lib.esm/index.js.map +1 -0
  530. package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js +4 -0
  531. package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js.map +1 -0
  532. package/dist/node_modules/@ethersproject/properties/lib.esm/index.js +128 -0
  533. package/dist/node_modules/@ethersproject/properties/lib.esm/index.js.map +1 -0
  534. package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js +4 -0
  535. package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js.map +1 -0
  536. package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js +2008 -0
  537. package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js.map +1 -0
  538. package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js +423 -0
  539. package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js.map +1 -0
  540. package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js +675 -0
  541. package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js.map +1 -0
  542. package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js +188 -0
  543. package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js.map +1 -0
  544. package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js +4 -0
  545. package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js.map +1 -0
  546. package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js +121 -0
  547. package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js.map +1 -0
  548. package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js +9 -0
  549. package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js.map +1 -0
  550. package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js +4 -0
  551. package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js.map +1 -0
  552. package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js +2479 -0
  553. package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js.map +1 -0
  554. package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js +77 -0
  555. package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js.map +1 -0
  556. package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js +4 -0
  557. package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js.map +1 -0
  558. package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js +220 -0
  559. package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js.map +1 -0
  560. package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js +4 -0
  561. package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js.map +1 -0
  562. package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js +280 -0
  563. package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js.map +1 -0
  564. package/dist/node_modules/@ethersproject/units/lib.esm/_version.js +4 -0
  565. package/dist/node_modules/@ethersproject/units/lib.esm/_version.js.map +1 -0
  566. package/dist/node_modules/@ethersproject/units/lib.esm/index.js +29 -0
  567. package/dist/node_modules/@ethersproject/units/lib.esm/index.js.map +1 -0
  568. package/dist/node_modules/@ethersproject/web/lib.esm/_version.js +4 -0
  569. package/dist/node_modules/@ethersproject/web/lib.esm/_version.js.map +1 -0
  570. package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js +70 -0
  571. package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js.map +1 -0
  572. package/dist/node_modules/@ethersproject/web/lib.esm/index.js +405 -0
  573. package/dist/node_modules/@ethersproject/web/lib.esm/index.js.map +1 -0
  574. package/dist/node_modules/@jup-ag/api/dist/index.js +792 -0
  575. package/dist/node_modules/@jup-ag/api/dist/index.js.map +1 -0
  576. package/dist/node_modules/@kurkle/color/dist/color.esm.js +583 -0
  577. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  578. package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js +382 -0
  579. package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js.map +1 -0
  580. package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js +322 -0
  581. package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js.map +1 -0
  582. package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js +20 -0
  583. package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js.map +1 -0
  584. package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js +76 -0
  585. package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js.map +1 -0
  586. package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js +9 -0
  587. package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js.map +1 -0
  588. package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js +331 -0
  589. package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js.map +1 -0
  590. package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js +46 -0
  591. package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js.map +1 -0
  592. package/dist/node_modules/available-typed-arrays/index.js +30 -0
  593. package/dist/node_modules/available-typed-arrays/index.js.map +1 -0
  594. package/dist/node_modules/base64-js/index.js +153 -0
  595. package/dist/node_modules/base64-js/index.js.map +1 -0
  596. package/dist/node_modules/bignumber.js/bignumber.js +2908 -0
  597. package/dist/node_modules/bignumber.js/bignumber.js.map +1 -0
  598. package/dist/node_modules/bn.js/lib/bn.js +3364 -0
  599. package/dist/node_modules/bn.js/lib/bn.js.map +1 -0
  600. package/dist/node_modules/buffer/index.js +2111 -0
  601. package/dist/node_modules/buffer/index.js.map +1 -0
  602. package/dist/node_modules/call-bind/index.js +41 -0
  603. package/dist/node_modules/call-bind/index.js.map +1 -0
  604. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +25 -0
  605. package/dist/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -0
  606. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +24 -0
  607. package/dist/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -0
  608. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +14 -0
  609. package/dist/node_modules/call-bind-apply-helpers/functionApply.js.map +1 -0
  610. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +14 -0
  611. package/dist/node_modules/call-bind-apply-helpers/functionCall.js.map +1 -0
  612. package/dist/node_modules/call-bind-apply-helpers/index.js +30 -0
  613. package/dist/node_modules/call-bind-apply-helpers/index.js.map +1 -0
  614. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +14 -0
  615. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js.map +1 -0
  616. package/dist/node_modules/call-bound/index.js +32 -0
  617. package/dist/node_modules/call-bound/index.js.map +1 -0
  618. package/dist/node_modules/chart.js/dist/chart.js +8079 -0
  619. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  620. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +2685 -0
  621. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  622. package/dist/node_modules/deepmerge/dist/cjs.js +138 -0
  623. package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
  624. package/dist/node_modules/define-data-property/index.js +71 -0
  625. package/dist/node_modules/define-data-property/index.js.map +1 -0
  626. package/dist/node_modules/dom-to-image/src/dom-to-image.js +776 -0
  627. package/dist/node_modules/dom-to-image/src/dom-to-image.js.map +1 -0
  628. package/dist/node_modules/dunder-proto/get.js +43 -0
  629. package/dist/node_modules/dunder-proto/get.js.map +1 -0
  630. package/dist/node_modules/es-define-property/index.js +24 -0
  631. package/dist/node_modules/es-define-property/index.js.map +1 -0
  632. package/dist/node_modules/es-errors/eval.js +14 -0
  633. package/dist/node_modules/es-errors/eval.js.map +1 -0
  634. package/dist/node_modules/es-errors/index.js +14 -0
  635. package/dist/node_modules/es-errors/index.js.map +1 -0
  636. package/dist/node_modules/es-errors/range.js +14 -0
  637. package/dist/node_modules/es-errors/range.js.map +1 -0
  638. package/dist/node_modules/es-errors/ref.js +14 -0
  639. package/dist/node_modules/es-errors/ref.js.map +1 -0
  640. package/dist/node_modules/es-errors/syntax.js +14 -0
  641. package/dist/node_modules/es-errors/syntax.js.map +1 -0
  642. package/dist/node_modules/es-errors/type.js +14 -0
  643. package/dist/node_modules/es-errors/type.js.map +1 -0
  644. package/dist/node_modules/es-errors/uri.js +14 -0
  645. package/dist/node_modules/es-errors/uri.js.map +1 -0
  646. package/dist/node_modules/es-object-atoms/index.js +14 -0
  647. package/dist/node_modules/es-object-atoms/index.js.map +1 -0
  648. package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js +239 -0
  649. package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js.map +1 -0
  650. package/dist/node_modules/fancy-canvas/canvas-rendering-target.js +85 -0
  651. package/dist/node_modules/fancy-canvas/canvas-rendering-target.js.map +1 -0
  652. package/dist/node_modules/fancy-canvas/device-pixel-ratio.js +63 -0
  653. package/dist/node_modules/fancy-canvas/device-pixel-ratio.js.map +1 -0
  654. package/dist/node_modules/fancy-canvas/size.js +20 -0
  655. package/dist/node_modules/fancy-canvas/size.js.map +1 -0
  656. package/dist/node_modules/for-each/index.js +81 -0
  657. package/dist/node_modules/for-each/index.js.map +1 -0
  658. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +12 -0
  659. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js.map +1 -0
  660. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +323 -0
  661. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js.map +1 -0
  662. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +118 -0
  663. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js.map +1 -0
  664. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +388 -0
  665. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js.map +1 -0
  666. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
  667. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js.map +1 -0
  668. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +15 -0
  669. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js.map +1 -0
  670. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +43 -0
  671. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js.map +1 -0
  672. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +25 -0
  673. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js.map +1 -0
  674. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +13 -0
  675. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js.map +1 -0
  676. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +7 -0
  677. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js.map +1 -0
  678. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +88 -0
  679. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js.map +1 -0
  680. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +52 -0
  681. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js.map +1 -0
  682. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +28 -0
  683. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js.map +1 -0
  684. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +87 -0
  685. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js.map +1 -0
  686. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +169 -0
  687. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js.map +1 -0
  688. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
  689. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js.map +1 -0
  690. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js +81 -0
  691. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js.map +1 -0
  692. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js +42 -0
  693. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js.map +1 -0
  694. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +107 -0
  695. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js.map +1 -0
  696. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +77 -0
  697. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  698. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +67 -0
  699. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  700. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +27 -0
  701. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js.map +1 -0
  702. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +7 -0
  703. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  704. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
  705. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  706. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +41 -0
  707. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js.map +1 -0
  708. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +31 -0
  709. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js.map +1 -0
  710. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +8 -0
  711. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js.map +1 -0
  712. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +6 -0
  713. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js.map +1 -0
  714. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +16 -0
  715. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js.map +1 -0
  716. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +11 -0
  717. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  718. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +77 -0
  719. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  720. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +61 -0
  721. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  722. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +166 -0
  723. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  724. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +44 -0
  725. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  726. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
  727. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  728. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +6 -0
  729. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  730. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +6 -0
  731. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  732. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +13 -0
  733. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  734. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +14 -0
  735. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  736. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +6 -0
  737. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  738. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +18 -0
  739. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  740. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +9 -0
  741. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  742. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +9 -0
  743. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  744. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +6 -0
  745. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js.map +1 -0
  746. package/dist/node_modules/framer-motion/dist/es/easing/back.js +10 -0
  747. package/dist/node_modules/framer-motion/dist/es/easing/back.js.map +1 -0
  748. package/dist/node_modules/framer-motion/dist/es/easing/circ.js +9 -0
  749. package/dist/node_modules/framer-motion/dist/es/easing/circ.js.map +1 -0
  750. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +53 -0
  751. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js.map +1 -0
  752. package/dist/node_modules/framer-motion/dist/es/easing/ease.js +8 -0
  753. package/dist/node_modules/framer-motion/dist/es/easing/ease.js.map +1 -0
  754. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +6 -0
  755. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js.map +1 -0
  756. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +6 -0
  757. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js.map +1 -0
  758. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +6 -0
  759. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js.map +1 -0
  760. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +39 -0
  761. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js.map +1 -0
  762. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +7 -0
  763. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js.map +1 -0
  764. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
  765. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  766. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +17 -0
  767. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  768. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +72 -0
  769. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js.map +1 -0
  770. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +8 -0
  771. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js.map +1 -0
  772. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +6 -0
  773. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js.map +1 -0
  774. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +82 -0
  775. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js.map +1 -0
  776. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +32 -0
  777. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js.map +1 -0
  778. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +485 -0
  779. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  780. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +29 -0
  781. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  782. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +131 -0
  783. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  784. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +42 -0
  785. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  786. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
  787. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  788. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +158 -0
  789. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  790. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
  791. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  792. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +32 -0
  793. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  794. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
  795. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js.map +1 -0
  796. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +32 -0
  797. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  798. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
  799. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  800. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
  801. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  802. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +29 -0
  803. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  804. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
  805. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  806. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
  807. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  808. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +134 -0
  809. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  810. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
  811. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  812. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +13 -0
  813. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  814. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +73 -0
  815. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  816. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +50 -0
  817. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  818. package/dist/node_modules/framer-motion/dist/es/motion/index.js +102 -0
  819. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  820. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +12 -0
  821. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js.map +1 -0
  822. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
  823. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  824. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +39 -0
  825. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  826. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +135 -0
  827. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  828. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +89 -0
  829. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  830. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +58 -0
  831. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  832. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +95 -0
  833. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js.map +1 -0
  834. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +34 -0
  835. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js.map +1 -0
  836. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +32 -0
  837. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js.map +1 -0
  838. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +120 -0
  839. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js.map +1 -0
  840. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +53 -0
  841. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js.map +1 -0
  842. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +55 -0
  843. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js.map +1 -0
  844. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
  845. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js.map +1 -0
  846. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +32 -0
  847. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js.map +1 -0
  848. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +14 -0
  849. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  850. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +28 -0
  851. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  852. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +1585 -0
  853. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js.map +1 -0
  854. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +20 -0
  855. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js.map +1 -0
  856. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +113 -0
  857. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js.map +1 -0
  858. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +42 -0
  859. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  860. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +36 -0
  861. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  862. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +7 -0
  863. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js.map +1 -0
  864. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +50 -0
  865. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js.map +1 -0
  866. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
  867. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js.map +1 -0
  868. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +27 -0
  869. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js.map +1 -0
  870. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +18 -0
  871. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js.map +1 -0
  872. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +480 -0
  873. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js.map +1 -0
  874. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +24 -0
  875. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js.map +1 -0
  876. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +39 -0
  877. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  878. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +16 -0
  879. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js.map +1 -0
  880. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
  881. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  882. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +132 -0
  883. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js.map +1 -0
  884. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +44 -0
  885. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  886. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +15 -0
  887. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  888. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +34 -0
  889. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  890. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +7 -0
  891. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  892. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +43 -0
  893. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js.map +1 -0
  894. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +60 -0
  895. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  896. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +16 -0
  897. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js.map +1 -0
  898. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +31 -0
  899. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  900. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
  901. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js.map +1 -0
  902. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +54 -0
  903. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js.map +1 -0
  904. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +16 -0
  905. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js.map +1 -0
  906. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +31 -0
  907. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js.map +1 -0
  908. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +16 -0
  909. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js.map +1 -0
  910. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +16 -0
  911. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js.map +1 -0
  912. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +11 -0
  913. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js.map +1 -0
  914. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +42 -0
  915. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js.map +1 -0
  916. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +19 -0
  917. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js.map +1 -0
  918. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +7 -0
  919. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js.map +1 -0
  920. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +32 -0
  921. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js.map +1 -0
  922. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +10 -0
  923. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js.map +1 -0
  924. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +9 -0
  925. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js.map +1 -0
  926. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +44 -0
  927. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  928. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +13 -0
  929. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js.map +1 -0
  930. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +58 -0
  931. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  932. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +66 -0
  933. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js.map +1 -0
  934. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +63 -0
  935. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js.map +1 -0
  936. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
  937. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  938. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +14 -0
  939. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js.map +1 -0
  940. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +29 -0
  941. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js.map +1 -0
  942. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +31 -0
  943. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js.map +1 -0
  944. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +10 -0
  945. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js.map +1 -0
  946. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +21 -0
  947. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  948. package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
  949. package/dist/node_modules/framer-motion/dist/es/render/store.js.map +1 -0
  950. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +46 -0
  951. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  952. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +74 -0
  953. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js.map +1 -0
  954. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +34 -0
  955. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  956. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +25 -0
  957. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  958. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +53 -0
  959. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  960. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +31 -0
  961. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  962. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
  963. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  964. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
  965. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  966. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +33 -0
  967. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js.map +1 -0
  968. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +13 -0
  969. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js.map +1 -0
  970. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +20 -0
  971. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  972. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +19 -0
  973. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js.map +1 -0
  974. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +165 -0
  975. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js.map +1 -0
  976. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +333 -0
  977. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js.map +1 -0
  978. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
  979. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js.map +1 -0
  980. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +25 -0
  981. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js.map +1 -0
  982. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +29 -0
  983. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js.map +1 -0
  984. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +14 -0
  985. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  986. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +9 -0
  987. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js.map +1 -0
  988. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +60 -0
  989. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js.map +1 -0
  990. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
  991. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  992. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +37 -0
  993. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js.map +1 -0
  994. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +28 -0
  995. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js.map +1 -0
  996. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
  997. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js.map +1 -0
  998. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +6 -0
  999. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js.map +1 -0
  1000. package/dist/node_modules/framer-motion/dist/es/utils/array.js +12 -0
  1001. package/dist/node_modules/framer-motion/dist/es/utils/array.js.map +1 -0
  1002. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +10 -0
  1003. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js.map +1 -0
  1004. package/dist/node_modules/framer-motion/dist/es/utils/delay.js +22 -0
  1005. package/dist/node_modules/framer-motion/dist/es/utils/delay.js.map +1 -0
  1006. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  1007. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  1008. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
  1009. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  1010. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +43 -0
  1011. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js.map +1 -0
  1012. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +79 -0
  1013. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js.map +1 -0
  1014. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
  1015. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  1016. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +7 -0
  1017. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js.map +1 -0
  1018. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  1019. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  1020. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +7 -0
  1021. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js.map +1 -0
  1022. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +48 -0
  1023. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js.map +1 -0
  1024. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +95 -0
  1025. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js.map +1 -0
  1026. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
  1027. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js.map +1 -0
  1028. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +15 -0
  1029. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js.map +1 -0
  1030. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +27 -0
  1031. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js.map +1 -0
  1032. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +17 -0
  1033. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js.map +1 -0
  1034. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +10 -0
  1035. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js.map +1 -0
  1036. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +14 -0
  1037. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js.map +1 -0
  1038. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
  1039. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js.map +1 -0
  1040. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +12 -0
  1041. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js.map +1 -0
  1042. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +20 -0
  1043. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js.map +1 -0
  1044. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +6 -0
  1045. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js.map +1 -0
  1046. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +12 -0
  1047. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js.map +1 -0
  1048. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +15 -0
  1049. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js.map +1 -0
  1050. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +41 -0
  1051. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js.map +1 -0
  1052. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +19 -0
  1053. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  1054. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +7 -0
  1055. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  1056. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +12 -0
  1057. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js.map +1 -0
  1058. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +10 -0
  1059. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js.map +1 -0
  1060. package/dist/node_modules/framer-motion/dist/es/value/index.js +314 -0
  1061. package/dist/node_modules/framer-motion/dist/es/value/index.js.map +1 -0
  1062. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +41 -0
  1063. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js.map +1 -0
  1064. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +23 -0
  1065. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js.map +1 -0
  1066. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +28 -0
  1067. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js.map +1 -0
  1068. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +26 -0
  1069. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js.map +1 -0
  1070. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +30 -0
  1071. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js.map +1 -0
  1072. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +31 -0
  1073. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js.map +1 -0
  1074. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +93 -0
  1075. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js.map +1 -0
  1076. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +18 -0
  1077. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js.map +1 -0
  1078. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +18 -0
  1079. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js.map +1 -0
  1080. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
  1081. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js.map +1 -0
  1082. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
  1083. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js.map +1 -0
  1084. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
  1085. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js.map +1 -0
  1086. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +6 -0
  1087. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js.map +1 -0
  1088. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
  1089. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  1090. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +15 -0
  1091. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js.map +1 -0
  1092. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +8 -0
  1093. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js.map +1 -0
  1094. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
  1095. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js.map +1 -0
  1096. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +17 -0
  1097. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  1098. package/dist/node_modules/function-bind/implementation.js +94 -0
  1099. package/dist/node_modules/function-bind/implementation.js.map +1 -0
  1100. package/dist/node_modules/function-bind/index.js +17 -0
  1101. package/dist/node_modules/function-bind/index.js.map +1 -0
  1102. package/dist/node_modules/generator-function/index.js +17 -0
  1103. package/dist/node_modules/generator-function/index.js.map +1 -0
  1104. package/dist/node_modules/get-intrinsic/index.js +414 -0
  1105. package/dist/node_modules/get-intrinsic/index.js.map +1 -0
  1106. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +18 -0
  1107. package/dist/node_modules/get-proto/Object.getPrototypeOf.js.map +1 -0
  1108. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +14 -0
  1109. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js.map +1 -0
  1110. package/dist/node_modules/get-proto/index.js +41 -0
  1111. package/dist/node_modules/get-proto/index.js.map +1 -0
  1112. package/dist/node_modules/gopd/gOPD.js +14 -0
  1113. package/dist/node_modules/gopd/gOPD.js.map +1 -0
  1114. package/dist/node_modules/gopd/index.js +27 -0
  1115. package/dist/node_modules/gopd/index.js.map +1 -0
  1116. package/dist/node_modules/has-property-descriptors/index.js +34 -0
  1117. package/dist/node_modules/has-property-descriptors/index.js.map +1 -0
  1118. package/dist/node_modules/has-symbols/index.js +26 -0
  1119. package/dist/node_modules/has-symbols/index.js.map +1 -0
  1120. package/dist/node_modules/has-symbols/shams.js +55 -0
  1121. package/dist/node_modules/has-symbols/shams.js.map +1 -0
  1122. package/dist/node_modules/has-tostringtag/shams.js +20 -0
  1123. package/dist/node_modules/has-tostringtag/shams.js.map +1 -0
  1124. package/dist/node_modules/hash.js/lib/hash/common.js +98 -0
  1125. package/dist/node_modules/hash.js/lib/hash/common.js.map +1 -0
  1126. package/dist/node_modules/hash.js/lib/hash/hmac.js +52 -0
  1127. package/dist/node_modules/hash.js/lib/hash/hmac.js.map +1 -0
  1128. package/dist/node_modules/hash.js/lib/hash/ripemd.js +153 -0
  1129. package/dist/node_modules/hash.js/lib/hash/ripemd.js.map +1 -0
  1130. package/dist/node_modules/hash.js/lib/hash/sha/1.js +82 -0
  1131. package/dist/node_modules/hash.js/lib/hash/sha/1.js.map +1 -0
  1132. package/dist/node_modules/hash.js/lib/hash/sha/224.js +34 -0
  1133. package/dist/node_modules/hash.js/lib/hash/sha/224.js.map +1 -0
  1134. package/dist/node_modules/hash.js/lib/hash/sha/256.js +114 -0
  1135. package/dist/node_modules/hash.js/lib/hash/sha/256.js.map +1 -0
  1136. package/dist/node_modules/hash.js/lib/hash/sha/384.js +40 -0
  1137. package/dist/node_modules/hash.js/lib/hash/sha/384.js.map +1 -0
  1138. package/dist/node_modules/hash.js/lib/hash/sha/512.js +337 -0
  1139. package/dist/node_modules/hash.js/lib/hash/sha/512.js.map +1 -0
  1140. package/dist/node_modules/hash.js/lib/hash/sha/common.js +54 -0
  1141. package/dist/node_modules/hash.js/lib/hash/sha/common.js.map +1 -0
  1142. package/dist/node_modules/hash.js/lib/hash/sha.js +15 -0
  1143. package/dist/node_modules/hash.js/lib/hash/sha.js.map +1 -0
  1144. package/dist/node_modules/hash.js/lib/hash/utils.js +283 -0
  1145. package/dist/node_modules/hash.js/lib/hash/utils.js.map +1 -0
  1146. package/dist/node_modules/hash.js/lib/hash.js +34 -0
  1147. package/dist/node_modules/hash.js/lib/hash.js.map +1 -0
  1148. package/dist/node_modules/hasown/index.js +20 -0
  1149. package/dist/node_modules/hasown/index.js.map +1 -0
  1150. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
  1151. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
  1152. package/dist/node_modules/ieee754/index.js +91 -0
  1153. package/dist/node_modules/ieee754/index.js.map +1 -0
  1154. package/dist/node_modules/inherits/inherits.js +23 -0
  1155. package/dist/node_modules/inherits/inherits.js.map +1 -0
  1156. package/dist/node_modules/inherits/inherits_browser.js +39 -0
  1157. package/dist/node_modules/inherits/inherits_browser.js.map +1 -0
  1158. package/dist/node_modules/is-arguments/index.js +57 -0
  1159. package/dist/node_modules/is-arguments/index.js.map +1 -0
  1160. package/dist/node_modules/is-callable/index.js +111 -0
  1161. package/dist/node_modules/is-callable/index.js.map +1 -0
  1162. package/dist/node_modules/is-generator-function/index.js +47 -0
  1163. package/dist/node_modules/is-generator-function/index.js.map +1 -0
  1164. package/dist/node_modules/is-regex/index.js +84 -0
  1165. package/dist/node_modules/is-regex/index.js.map +1 -0
  1166. package/dist/node_modules/is-typed-array/index.js +20 -0
  1167. package/dist/node_modules/is-typed-array/index.js.map +1 -0
  1168. package/dist/node_modules/js-sha3/src/sha3.js +661 -0
  1169. package/dist/node_modules/js-sha3/src/sha3.js.map +1 -0
  1170. package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js +14 -0
  1171. package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js.map +1 -0
  1172. package/dist/node_modules/lodash/_DataView.js +13 -0
  1173. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  1174. package/dist/node_modules/lodash/_Hash.js +41 -0
  1175. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  1176. package/dist/node_modules/lodash/_ListCache.js +41 -0
  1177. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  1178. package/dist/node_modules/lodash/_Map.js +13 -0
  1179. package/dist/node_modules/lodash/_Map.js.map +1 -0
  1180. package/dist/node_modules/lodash/_MapCache.js +41 -0
  1181. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  1182. package/dist/node_modules/lodash/_Promise.js +13 -0
  1183. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  1184. package/dist/node_modules/lodash/_Set.js +13 -0
  1185. package/dist/node_modules/lodash/_Set.js.map +1 -0
  1186. package/dist/node_modules/lodash/_SetCache.js +34 -0
  1187. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  1188. package/dist/node_modules/lodash/_Stack.js +37 -0
  1189. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  1190. package/dist/node_modules/lodash/_Symbol.js +11 -0
  1191. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  1192. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  1193. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  1194. package/dist/node_modules/lodash/_WeakMap.js +13 -0
  1195. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  1196. package/dist/node_modules/lodash/_arrayFilter.js +29 -0
  1197. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  1198. package/dist/node_modules/lodash/_arrayIncludes.js +22 -0
  1199. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  1200. package/dist/node_modules/lodash/_arrayIncludesWith.js +26 -0
  1201. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  1202. package/dist/node_modules/lodash/_arrayLikeKeys.js +59 -0
  1203. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  1204. package/dist/node_modules/lodash/_arrayMap.js +25 -0
  1205. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  1206. package/dist/node_modules/lodash/_arrayPush.js +24 -0
  1207. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  1208. package/dist/node_modules/lodash/_arraySome.js +27 -0
  1209. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  1210. package/dist/node_modules/lodash/_assocIndexOf.js +26 -0
  1211. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  1212. package/dist/node_modules/lodash/_baseFindIndex.js +28 -0
  1213. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  1214. package/dist/node_modules/lodash/_baseFlatten.js +44 -0
  1215. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  1216. package/dist/node_modules/lodash/_baseGet.js +30 -0
  1217. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  1218. package/dist/node_modules/lodash/_baseGetAllKeys.js +26 -0
  1219. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  1220. package/dist/node_modules/lodash/_baseGetTag.js +35 -0
  1221. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  1222. package/dist/node_modules/lodash/_baseHasIn.js +17 -0
  1223. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  1224. package/dist/node_modules/lodash/_baseIndexOf.js +27 -0
  1225. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  1226. package/dist/node_modules/lodash/_baseIsArguments.js +24 -0
  1227. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  1228. package/dist/node_modules/lodash/_baseIsEqual.js +34 -0
  1229. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  1230. package/dist/node_modules/lodash/_baseIsEqualDeep.js +95 -0
  1231. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  1232. package/dist/node_modules/lodash/_baseIsMatch.js +68 -0
  1233. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  1234. package/dist/node_modules/lodash/_baseIsNaN.js +16 -0
  1235. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  1236. package/dist/node_modules/lodash/_baseIsNative.js +55 -0
  1237. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  1238. package/dist/node_modules/lodash/_baseIsTypedArray.js +67 -0
  1239. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  1240. package/dist/node_modules/lodash/_baseIteratee.js +40 -0
  1241. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  1242. package/dist/node_modules/lodash/_baseKeys.js +36 -0
  1243. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  1244. package/dist/node_modules/lodash/_baseMatches.js +29 -0
  1245. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  1246. package/dist/node_modules/lodash/_baseMatchesProperty.js +44 -0
  1247. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  1248. package/dist/node_modules/lodash/_baseProperty.js +18 -0
  1249. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  1250. package/dist/node_modules/lodash/_basePropertyDeep.js +21 -0
  1251. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  1252. package/dist/node_modules/lodash/_baseSlice.js +35 -0
  1253. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  1254. package/dist/node_modules/lodash/_baseTimes.js +24 -0
  1255. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  1256. package/dist/node_modules/lodash/_baseToString.js +42 -0
  1257. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  1258. package/dist/node_modules/lodash/_baseTrim.js +24 -0
  1259. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  1260. package/dist/node_modules/lodash/_baseUnary.js +18 -0
  1261. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  1262. package/dist/node_modules/lodash/_baseUniq.js +82 -0
  1263. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  1264. package/dist/node_modules/lodash/_cacheHas.js +17 -0
  1265. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  1266. package/dist/node_modules/lodash/_castPath.js +29 -0
  1267. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  1268. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  1269. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  1270. package/dist/node_modules/lodash/_createSet.js +26 -0
  1271. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  1272. package/dist/node_modules/lodash/_equalArrays.js +91 -0
  1273. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  1274. package/dist/node_modules/lodash/_equalByTag.js +122 -0
  1275. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  1276. package/dist/node_modules/lodash/_equalObjects.js +95 -0
  1277. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  1278. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  1279. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  1280. package/dist/node_modules/lodash/_getAllKeys.js +23 -0
  1281. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  1282. package/dist/node_modules/lodash/_getMapData.js +23 -0
  1283. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  1284. package/dist/node_modules/lodash/_getMatchData.js +30 -0
  1285. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  1286. package/dist/node_modules/lodash/_getNative.js +23 -0
  1287. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  1288. package/dist/node_modules/lodash/_getRawTag.js +51 -0
  1289. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  1290. package/dist/node_modules/lodash/_getSymbols.js +36 -0
  1291. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  1292. package/dist/node_modules/lodash/_getTag.js +69 -0
  1293. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  1294. package/dist/node_modules/lodash/_getValue.js +17 -0
  1295. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  1296. package/dist/node_modules/lodash/_hasPath.js +49 -0
  1297. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  1298. package/dist/node_modules/lodash/_hashClear.js +20 -0
  1299. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  1300. package/dist/node_modules/lodash/_hashDelete.js +21 -0
  1301. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  1302. package/dist/node_modules/lodash/_hashGet.js +35 -0
  1303. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  1304. package/dist/node_modules/lodash/_hashHas.js +28 -0
  1305. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  1306. package/dist/node_modules/lodash/_hashSet.js +28 -0
  1307. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  1308. package/dist/node_modules/lodash/_isFlattenable.js +27 -0
  1309. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  1310. package/dist/node_modules/lodash/_isIndex.js +29 -0
  1311. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  1312. package/dist/node_modules/lodash/_isIterateeCall.js +38 -0
  1313. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  1314. package/dist/node_modules/lodash/_isKey.js +35 -0
  1315. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  1316. package/dist/node_modules/lodash/_isKeyable.js +19 -0
  1317. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  1318. package/dist/node_modules/lodash/_isMasked.js +25 -0
  1319. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  1320. package/dist/node_modules/lodash/_isPrototype.js +22 -0
  1321. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  1322. package/dist/node_modules/lodash/_isStrictComparable.js +20 -0
  1323. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  1324. package/dist/node_modules/lodash/_listCacheClear.js +17 -0
  1325. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  1326. package/dist/node_modules/lodash/_listCacheDelete.js +40 -0
  1327. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  1328. package/dist/node_modules/lodash/_listCacheGet.js +24 -0
  1329. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  1330. package/dist/node_modules/lodash/_listCacheHas.js +21 -0
  1331. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  1332. package/dist/node_modules/lodash/_listCacheSet.js +31 -0
  1333. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  1334. package/dist/node_modules/lodash/_mapCacheClear.js +28 -0
  1335. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  1336. package/dist/node_modules/lodash/_mapCacheDelete.js +23 -0
  1337. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  1338. package/dist/node_modules/lodash/_mapCacheGet.js +21 -0
  1339. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  1340. package/dist/node_modules/lodash/_mapCacheHas.js +21 -0
  1341. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  1342. package/dist/node_modules/lodash/_mapCacheSet.js +27 -0
  1343. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  1344. package/dist/node_modules/lodash/_mapToArray.js +22 -0
  1345. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  1346. package/dist/node_modules/lodash/_matchesStrictComparable.js +24 -0
  1347. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  1348. package/dist/node_modules/lodash/_memoizeCapped.js +31 -0
  1349. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  1350. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  1351. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  1352. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  1353. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  1354. package/dist/node_modules/lodash/_nodeUtil.js +42 -0
  1355. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  1356. package/dist/node_modules/lodash/_objectToString.js +26 -0
  1357. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  1358. package/dist/node_modules/lodash/_overArg.js +19 -0
  1359. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  1360. package/dist/node_modules/lodash/_root.js +14 -0
  1361. package/dist/node_modules/lodash/_root.js.map +1 -0
  1362. package/dist/node_modules/lodash/_setCacheAdd.js +23 -0
  1363. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  1364. package/dist/node_modules/lodash/_setCacheHas.js +18 -0
  1365. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  1366. package/dist/node_modules/lodash/_setToArray.js +22 -0
  1367. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  1368. package/dist/node_modules/lodash/_stackClear.js +20 -0
  1369. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  1370. package/dist/node_modules/lodash/_stackDelete.js +22 -0
  1371. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  1372. package/dist/node_modules/lodash/_stackGet.js +18 -0
  1373. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  1374. package/dist/node_modules/lodash/_stackHas.js +18 -0
  1375. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  1376. package/dist/node_modules/lodash/_stackSet.js +41 -0
  1377. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  1378. package/dist/node_modules/lodash/_strictIndexOf.js +27 -0
  1379. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  1380. package/dist/node_modules/lodash/_stringToPath.js +32 -0
  1381. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  1382. package/dist/node_modules/lodash/_toKey.js +23 -0
  1383. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  1384. package/dist/node_modules/lodash/_toSource.js +30 -0
  1385. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  1386. package/dist/node_modules/lodash/_trimmedEndIndex.js +23 -0
  1387. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  1388. package/dist/node_modules/lodash/chunk.js +60 -0
  1389. package/dist/node_modules/lodash/chunk.js.map +1 -0
  1390. package/dist/node_modules/lodash/eq.js +41 -0
  1391. package/dist/node_modules/lodash/eq.js.map +1 -0
  1392. package/dist/node_modules/lodash/flatten.js +30 -0
  1393. package/dist/node_modules/lodash/flatten.js.map +1 -0
  1394. package/dist/node_modules/lodash/get.js +41 -0
  1395. package/dist/node_modules/lodash/get.js.map +1 -0
  1396. package/dist/node_modules/lodash/hasIn.js +40 -0
  1397. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  1398. package/dist/node_modules/lodash/identity.js +25 -0
  1399. package/dist/node_modules/lodash/identity.js.map +1 -0
  1400. package/dist/node_modules/lodash/isArguments.js +42 -0
  1401. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  1402. package/dist/node_modules/lodash/isArray.js +34 -0
  1403. package/dist/node_modules/lodash/isArray.js.map +1 -0
  1404. package/dist/node_modules/lodash/isArrayLike.js +39 -0
  1405. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  1406. package/dist/node_modules/lodash/isBuffer.js +51 -0
  1407. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  1408. package/dist/node_modules/lodash/isFunction.js +43 -0
  1409. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  1410. package/dist/node_modules/lodash/isLength.js +39 -0
  1411. package/dist/node_modules/lodash/isLength.js.map +1 -0
  1412. package/dist/node_modules/lodash/isObject.js +35 -0
  1413. package/dist/node_modules/lodash/isObject.js.map +1 -0
  1414. package/dist/node_modules/lodash/isObjectLike.js +33 -0
  1415. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  1416. package/dist/node_modules/lodash/isSymbol.js +35 -0
  1417. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  1418. package/dist/node_modules/lodash/isTypedArray.js +34 -0
  1419. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  1420. package/dist/node_modules/lodash/keys.js +44 -0
  1421. package/dist/node_modules/lodash/keys.js.map +1 -0
  1422. package/dist/node_modules/lodash/memoize.js +78 -0
  1423. package/dist/node_modules/lodash/memoize.js.map +1 -0
  1424. package/dist/node_modules/lodash/noop.js +21 -0
  1425. package/dist/node_modules/lodash/noop.js.map +1 -0
  1426. package/dist/node_modules/lodash/property.js +40 -0
  1427. package/dist/node_modules/lodash/property.js.map +1 -0
  1428. package/dist/node_modules/lodash/stubArray.js +27 -0
  1429. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  1430. package/dist/node_modules/lodash/stubFalse.js +22 -0
  1431. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  1432. package/dist/node_modules/lodash/toFinite.js +47 -0
  1433. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  1434. package/dist/node_modules/lodash/toInteger.js +41 -0
  1435. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  1436. package/dist/node_modules/lodash/toNumber.js +71 -0
  1437. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  1438. package/dist/node_modules/lodash/toString.js +33 -0
  1439. package/dist/node_modules/lodash/toString.js.map +1 -0
  1440. package/dist/node_modules/lodash/uniqBy.js +40 -0
  1441. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  1442. package/dist/node_modules/math-intrinsics/abs.js +14 -0
  1443. package/dist/node_modules/math-intrinsics/abs.js.map +1 -0
  1444. package/dist/node_modules/math-intrinsics/floor.js +14 -0
  1445. package/dist/node_modules/math-intrinsics/floor.js.map +1 -0
  1446. package/dist/node_modules/math-intrinsics/isNaN.js +16 -0
  1447. package/dist/node_modules/math-intrinsics/isNaN.js.map +1 -0
  1448. package/dist/node_modules/math-intrinsics/max.js +14 -0
  1449. package/dist/node_modules/math-intrinsics/max.js.map +1 -0
  1450. package/dist/node_modules/math-intrinsics/min.js +14 -0
  1451. package/dist/node_modules/math-intrinsics/min.js.map +1 -0
  1452. package/dist/node_modules/math-intrinsics/pow.js +14 -0
  1453. package/dist/node_modules/math-intrinsics/pow.js.map +1 -0
  1454. package/dist/node_modules/math-intrinsics/round.js +14 -0
  1455. package/dist/node_modules/math-intrinsics/round.js.map +1 -0
  1456. package/dist/node_modules/math-intrinsics/sign.js +23 -0
  1457. package/dist/node_modules/math-intrinsics/sign.js.map +1 -0
  1458. package/dist/node_modules/minimalistic-assert/index.js +14 -0
  1459. package/dist/node_modules/minimalistic-assert/index.js.map +1 -0
  1460. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +83 -0
  1461. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js.map +1 -0
  1462. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +14 -0
  1463. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js.map +1 -0
  1464. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +18 -0
  1465. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  1466. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
  1467. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  1468. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  1469. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  1470. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +7 -0
  1471. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js.map +1 -0
  1472. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +45 -0
  1473. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js.map +1 -0
  1474. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +16 -0
  1475. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  1476. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +10 -0
  1477. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  1478. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +29 -0
  1479. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  1480. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +42 -0
  1481. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  1482. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +77 -0
  1483. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  1484. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +14 -0
  1485. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  1486. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +39 -0
  1487. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  1488. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
  1489. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  1490. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +21 -0
  1491. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  1492. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +19 -0
  1493. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  1494. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
  1495. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  1496. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
  1497. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js.map +1 -0
  1498. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
  1499. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  1500. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +10 -0
  1501. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  1502. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +16 -0
  1503. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  1504. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  1505. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  1506. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  1507. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  1508. package/dist/node_modules/motion-utils/dist/es/errors.js +19 -0
  1509. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  1510. package/dist/node_modules/motion-utils/dist/es/memo.js +12 -0
  1511. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  1512. package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
  1513. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  1514. package/dist/node_modules/motion-utils/dist/es/progress.js +20 -0
  1515. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  1516. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +13 -0
  1517. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  1518. package/dist/node_modules/possible-typed-array-names/index.js +27 -0
  1519. package/dist/node_modules/possible-typed-array-names/index.js.map +1 -0
  1520. package/dist/node_modules/primereact/api/api.esm.js +120 -0
  1521. package/dist/node_modules/primereact/api/api.esm.js.map +1 -0
  1522. package/dist/node_modules/primereact/componentbase/componentbase.esm.js +357 -0
  1523. package/dist/node_modules/primereact/componentbase/componentbase.esm.js.map +1 -0
  1524. package/dist/node_modules/primereact/hooks/hooks.esm.js +276 -0
  1525. package/dist/node_modules/primereact/hooks/hooks.esm.js.map +1 -0
  1526. package/dist/node_modules/primereact/knob/knob.esm.js +388 -0
  1527. package/dist/node_modules/primereact/knob/knob.esm.js.map +1 -0
  1528. package/dist/node_modules/primereact/utils/utils.esm.js +2155 -0
  1529. package/dist/node_modules/primereact/utils/utils.esm.js.map +1 -0
  1530. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
  1531. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  1532. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
  1533. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  1534. package/dist/node_modules/react/jsx-runtime.js +14 -0
  1535. package/dist/node_modules/react/jsx-runtime.js.map +1 -0
  1536. package/dist/node_modules/react-chartjs-2/dist/index.js +143 -0
  1537. package/dist/node_modules/react-chartjs-2/dist/index.js.map +1 -0
  1538. package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
  1539. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  1540. package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  1541. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  1542. package/dist/node_modules/react-is/index.js +14 -0
  1543. package/dist/node_modules/react-is/index.js.map +1 -0
  1544. package/dist/node_modules/safe-regex-test/index.js +31 -0
  1545. package/dist/node_modules/safe-regex-test/index.js.map +1 -0
  1546. package/dist/node_modules/set-function-length/index.js +58 -0
  1547. package/dist/node_modules/set-function-length/index.js.map +1 -0
  1548. package/dist/node_modules/stylis/src/Enum.js +13 -0
  1549. package/dist/node_modules/stylis/src/Enum.js.map +1 -0
  1550. package/dist/node_modules/stylis/src/Middleware.js +33 -0
  1551. package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
  1552. package/dist/node_modules/stylis/src/Parser.js +194 -0
  1553. package/dist/node_modules/stylis/src/Parser.js.map +1 -0
  1554. package/dist/node_modules/stylis/src/Serializer.js +39 -0
  1555. package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
  1556. package/dist/node_modules/stylis/src/Tokenizer.js +224 -0
  1557. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
  1558. package/dist/node_modules/stylis/src/Utility.js +118 -0
  1559. package/dist/node_modules/stylis/src/Utility.js.map +1 -0
  1560. package/dist/node_modules/swiper/shared/ssr-window.esm.js +147 -0
  1561. package/dist/node_modules/swiper/shared/ssr-window.esm.js.map +1 -0
  1562. package/dist/node_modules/swiper/shared/swiper-core.js +3952 -0
  1563. package/dist/node_modules/swiper/shared/swiper-core.js.map +1 -0
  1564. package/dist/node_modules/swiper/shared/update-on-virtual-data.js +132 -0
  1565. package/dist/node_modules/swiper/shared/update-on-virtual-data.js.map +1 -0
  1566. package/dist/node_modules/swiper/shared/update-swiper.js +233 -0
  1567. package/dist/node_modules/swiper/shared/update-swiper.js.map +1 -0
  1568. package/dist/node_modules/swiper/shared/utils.js +303 -0
  1569. package/dist/node_modules/swiper/shared/utils.js.map +1 -0
  1570. package/dist/node_modules/swiper/swiper-react.js +390 -0
  1571. package/dist/node_modules/swiper/swiper-react.js.map +1 -0
  1572. package/dist/node_modules/tslib/tslib.es6.js +400 -0
  1573. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  1574. package/dist/node_modules/util/support/isBuffer.js +14 -0
  1575. package/dist/node_modules/util/support/isBuffer.js.map +1 -0
  1576. package/dist/node_modules/util/support/types.js +348 -0
  1577. package/dist/node_modules/util/support/types.js.map +1 -0
  1578. package/dist/node_modules/util/util.js +730 -0
  1579. package/dist/node_modules/util/util.js.map +1 -0
  1580. package/dist/node_modules/viem/_esm/constants/unit.js +7 -0
  1581. package/dist/node_modules/viem/_esm/constants/unit.js.map +1 -0
  1582. package/dist/node_modules/viem/_esm/errors/base.js +92 -0
  1583. package/dist/node_modules/viem/_esm/errors/base.js.map +1 -0
  1584. package/dist/node_modules/viem/_esm/errors/unit.js +12 -0
  1585. package/dist/node_modules/viem/_esm/errors/unit.js.map +1 -0
  1586. package/dist/node_modules/viem/_esm/errors/version.js +4 -0
  1587. package/dist/node_modules/viem/_esm/errors/version.js.map +1 -0
  1588. package/dist/node_modules/viem/_esm/utils/unit/parseEther.js +20 -0
  1589. package/dist/node_modules/viem/_esm/utils/unit/parseEther.js.map +1 -0
  1590. package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js +53 -0
  1591. package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js.map +1 -0
  1592. package/dist/node_modules/which-typed-array/index.js +136 -0
  1593. package/dist/node_modules/which-typed-array/index.js.map +1 -0
  1594. package/dist/providers/index.js +63 -0
  1595. package/dist/providers/index.js.map +1 -0
  1596. package/dist/state/abtesting/useCookie.js +40 -0
  1597. package/dist/state/abtesting/useCookie.js.map +1 -0
  1598. package/dist/state/activeView/index.js +40 -0
  1599. package/dist/state/activeView/index.js.map +1 -0
  1600. package/dist/state/allowance/useAllowance.js +139 -0
  1601. package/dist/state/allowance/useAllowance.js.map +1 -0
  1602. package/dist/state/balance/useCurrencyBalance.js +40 -0
  1603. package/dist/state/balance/useCurrencyBalance.js.map +1 -0
  1604. package/dist/state/balance/useCurrencyBalanceSolana.js +43 -0
  1605. package/dist/state/balance/useCurrencyBalanceSolana.js.map +1 -0
  1606. package/dist/state/balance/useUserTokensBalance.js +100 -0
  1607. package/dist/state/balance/useUserTokensBalance.js.map +1 -0
  1608. package/dist/state/bondApiStats/useGetBondApiStats.js +21 -0
  1609. package/dist/state/bondApiStats/useGetBondApiStats.js.map +1 -0
  1610. package/dist/state/bonds/fetchBillsUser.js +157 -0
  1611. package/dist/state/bonds/fetchBillsUser.js.map +1 -0
  1612. package/dist/state/bonds/fetchBillsUserSolana.js +167 -0
  1613. package/dist/state/bonds/fetchBillsUserSolana.js.map +1 -0
  1614. package/dist/state/bonds/useBondsData.js +84 -0
  1615. package/dist/state/bonds/useBondsData.js.map +1 -0
  1616. package/dist/state/bonds/useBondsList.js +35 -0
  1617. package/dist/state/bonds/useBondsList.js.map +1 -0
  1618. package/dist/state/bonds/useBondsListPreTGE.js +36 -0
  1619. package/dist/state/bonds/useBondsListPreTGE.js.map +1 -0
  1620. package/dist/state/bonds/useTierProofSignature.js +46 -0
  1621. package/dist/state/bonds/useTierProofSignature.js.map +1 -0
  1622. package/dist/state/bonds/useUserBonds.js +131 -0
  1623. package/dist/state/bonds/useUserBonds.js.map +1 -0
  1624. package/dist/state/bonds/useUserBondsPreTGE.js +151 -0
  1625. package/dist/state/bonds/useUserBondsPreTGE.js.map +1 -0
  1626. package/dist/state/bonds/utils.js +330 -0
  1627. package/dist/state/bonds/utils.js.map +1 -0
  1628. package/dist/state/chainFilterOption/useChainFilterOption.js +35 -0
  1629. package/dist/state/chainFilterOption/useChainFilterOption.js.map +1 -0
  1630. package/dist/state/favoriteTokens/useFavoriteTokens.js +47 -0
  1631. package/dist/state/favoriteTokens/useFavoriteTokens.js.map +1 -0
  1632. package/dist/state/historicalPrice/useHistoricalPrice.js +26 -0
  1633. package/dist/state/historicalPrice/useHistoricalPrice.js.map +1 -0
  1634. package/dist/state/hotBonds/useHotBonds.js +51 -0
  1635. package/dist/state/hotBonds/useHotBonds.js.map +1 -0
  1636. package/dist/state/popups/usePopups.js +57 -0
  1637. package/dist/state/popups/usePopups.js.map +1 -0
  1638. package/dist/state/price/useCurrencyPrice.js +22 -0
  1639. package/dist/state/price/useCurrencyPrice.js.map +1 -0
  1640. package/dist/state/recommendations/useGetBondRecommendations.js +23 -0
  1641. package/dist/state/recommendations/useGetBondRecommendations.js.map +1 -0
  1642. package/dist/state/slippage/useSlippage.js +40 -0
  1643. package/dist/state/slippage/useSlippage.js.map +1 -0
  1644. package/dist/state/tiers/useTierPoints.js +102 -0
  1645. package/dist/state/tiers/useTierPoints.js.map +1 -0
  1646. package/dist/state/tokenPrices/useTokenPrices.js +36 -0
  1647. package/dist/state/tokenPrices/useTokenPrices.js.map +1 -0
  1648. package/dist/state/useSDKConfig.js +39 -0
  1649. package/dist/state/useSDKConfig.js.map +1 -0
  1650. package/dist/state/zap/getChainParam.js +58 -0
  1651. package/dist/state/zap/getChainParam.js.map +1 -0
  1652. package/dist/state/zap/useJupiterSolanaQuote.js +128 -0
  1653. package/dist/state/zap/useJupiterSolanaQuote.js.map +1 -0
  1654. package/dist/state/zap/useSoulZapBondQuote.js +168 -0
  1655. package/dist/state/zap/useSoulZapBondQuote.js.map +1 -0
  1656. package/dist/theme/base.js +125 -0
  1657. package/dist/theme/base.js.map +1 -0
  1658. package/dist/theme/colors.js +25 -0
  1659. package/dist/theme/colors.js.map +1 -0
  1660. package/dist/theme/components.js +321 -0
  1661. package/dist/theme/components.js.map +1 -0
  1662. package/dist/theme/index.js +8 -0
  1663. package/dist/theme/index.js.map +1 -0
  1664. package/dist/types/bondCodec.js +24 -0
  1665. package/dist/types/bondCodec.js.map +1 -0
  1666. package/dist/types/bondIssuanceCodec.js +32 -0
  1667. package/dist/types/bondIssuanceCodec.js.map +1 -0
  1668. package/dist/types/bondPricingCodec.js +22 -0
  1669. package/dist/types/bondPricingCodec.js.map +1 -0
  1670. package/dist/types/bondTermCodec.js +24 -0
  1671. package/dist/types/bondTermCodec.js.map +1 -0
  1672. package/dist/utils/calculateSolanaTrueBillPrice.js +71 -0
  1673. package/dist/utils/calculateSolanaTrueBillPrice.js.map +1 -0
  1674. package/dist/utils/campaignStyles.js +54 -0
  1675. package/dist/utils/campaignStyles.js.map +1 -0
  1676. package/dist/utils/convertToTokenValue.js +27 -0
  1677. package/dist/utils/convertToTokenValue.js.map +1 -0
  1678. package/dist/utils/dates/formatDate.js +16 -0
  1679. package/dist/utils/dates/formatDate.js.map +1 -0
  1680. package/dist/utils/derivePda.js +9 -0
  1681. package/dist/utils/derivePda.js.map +1 -0
  1682. package/dist/utils/displayHelpers.js +238 -0
  1683. package/dist/utils/displayHelpers.js.map +1 -0
  1684. package/dist/utils/formatNumber.js +52 -0
  1685. package/dist/utils/formatNumber.js.map +1 -0
  1686. package/dist/utils/getBalanceNumber.js +11 -0
  1687. package/dist/utils/getBalanceNumber.js.map +1 -0
  1688. package/dist/utils/getDotPos.js +12 -0
  1689. package/dist/utils/getDotPos.js.map +1 -0
  1690. package/dist/utils/getNativeTicker.js +21 -0
  1691. package/dist/utils/getNativeTicker.js.map +1 -0
  1692. package/dist/utils/getSolanaAccount.js +116 -0
  1693. package/dist/utils/getSolanaAccount.js.map +1 -0
  1694. package/dist/utils/getTimePeriods.js +67 -0
  1695. package/dist/utils/getTimePeriods.js.map +1 -0
  1696. package/dist/utils/index.js +16 -0
  1697. package/dist/utils/index.js.map +1 -0
  1698. package/dist/utils/multicall.js +49 -0
  1699. package/dist/utils/multicall.js.map +1 -0
  1700. package/dist/utils/numbers.js +7 -0
  1701. package/dist/utils/numbers.js.map +1 -0
  1702. package/dist/utils/remove0xPrefix.js +9 -0
  1703. package/dist/utils/remove0xPrefix.js.map +1 -0
  1704. package/dist/utils/reportError.js +31 -0
  1705. package/dist/utils/reportError.js.map +1 -0
  1706. package/dist/utils/roundNumber.js +16 -0
  1707. package/dist/utils/roundNumber.js.map +1 -0
  1708. package/dist/utils/solanaAtaHelper.js +40 -0
  1709. package/dist/utils/solanaAtaHelper.js.map +1 -0
  1710. package/dist/utils/solanaMulticall.js +44 -0
  1711. package/dist/utils/solanaMulticall.js.map +1 -0
  1712. package/dist/utils/solanaRpc.js +13 -0
  1713. package/dist/utils/solanaRpc.js.map +1 -0
  1714. package/dist/utils/track.js +7 -0
  1715. package/dist/utils/track.js.map +1 -0
  1716. package/dist/views/Bonds/Bonds.js +196 -0
  1717. package/dist/views/Bonds/Bonds.js.map +1 -0
  1718. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js +66 -0
  1719. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js.map +1 -0
  1720. package/dist/views/Bonds/components/BondRows/BondRow.js +70 -0
  1721. package/dist/views/Bonds/components/BondRows/BondRow.js.map +1 -0
  1722. package/dist/views/Bonds/components/BondRows/ChainTitle.js +39 -0
  1723. package/dist/views/Bonds/components/BondRows/ChainTitle.js.map +1 -0
  1724. package/dist/views/Bonds/components/BondRows/ModalHandler.js +104 -0
  1725. package/dist/views/Bonds/components/BondRows/ModalHandler.js.map +1 -0
  1726. package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js +39 -0
  1727. package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js.map +1 -0
  1728. package/dist/views/Bonds/components/BondRows/SoldOutRows.js +43 -0
  1729. package/dist/views/Bonds/components/BondRows/SoldOutRows.js.map +1 -0
  1730. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js +36 -0
  1731. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js.map +1 -0
  1732. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js +59 -0
  1733. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js.map +1 -0
  1734. package/dist/views/Bonds/components/BonusComponents/BonusContainer.js +11 -0
  1735. package/dist/views/Bonds/components/BonusComponents/BonusContainer.js.map +1 -0
  1736. package/dist/views/Bonds/components/BonusComponents/BonusTable.js +57 -0
  1737. package/dist/views/Bonds/components/BonusComponents/BonusTable.js.map +1 -0
  1738. package/dist/views/Bonds/components/BuyAgainRow/index.js +83 -0
  1739. package/dist/views/Bonds/components/BuyAgainRow/index.js.map +1 -0
  1740. package/dist/views/Bonds/components/ChainBanner/ChainBanner.js +84 -0
  1741. package/dist/views/Bonds/components/ChainBanner/ChainBanner.js.map +1 -0
  1742. package/dist/views/Bonds/components/CheckURL/index.js +44 -0
  1743. package/dist/views/Bonds/components/CheckURL/index.js.map +1 -0
  1744. package/dist/views/Bonds/components/HotBondCards/HotBondCard.js +54 -0
  1745. package/dist/views/Bonds/components/HotBondCards/HotBondCard.js.map +1 -0
  1746. package/dist/views/Bonds/components/HotBondCards/index.js +78 -0
  1747. package/dist/views/Bonds/components/HotBondCards/index.js.map +1 -0
  1748. package/dist/views/Bonds/components/HotBondCards/styles.js +47 -0
  1749. package/dist/views/Bonds/components/HotBondCards/styles.js.map +1 -0
  1750. package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js +37 -0
  1751. package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js.map +1 -0
  1752. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js +27 -0
  1753. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js.map +1 -0
  1754. package/dist/views/Bonds/components/RecommendationCards/index.js +84 -0
  1755. package/dist/views/Bonds/components/RecommendationCards/index.js.map +1 -0
  1756. package/dist/views/Bonds/components/RecommendationCards/styles.js +24 -0
  1757. package/dist/views/Bonds/components/RecommendationCards/styles.js.map +1 -0
  1758. package/dist/views/Bonds/index.js +12 -0
  1759. package/dist/views/Bonds/index.js.map +1 -0
  1760. package/dist/views/Bonds/utils.js +149 -0
  1761. package/dist/views/Bonds/utils.js.map +1 -0
  1762. package/dist/views/BuyBond/BuyBondModal.js +26 -0
  1763. package/dist/views/BuyBond/BuyBondModal.js.map +1 -0
  1764. package/dist/views/BuyBond/BuyComponent.js +425 -0
  1765. package/dist/views/BuyBond/BuyComponent.js.map +1 -0
  1766. package/dist/views/BuyBond/BuyComponentPreTGE.js +154 -0
  1767. package/dist/views/BuyBond/BuyComponentPreTGE.js.map +1 -0
  1768. package/dist/views/BuyBond/BuyComponentSolana.js +641 -0
  1769. package/dist/views/BuyBond/BuyComponentSolana.js.map +1 -0
  1770. package/dist/views/BuyBond/ParticipationSuccessful.js +78 -0
  1771. package/dist/views/BuyBond/ParticipationSuccessful.js.map +1 -0
  1772. package/dist/views/BuyBond/components/BondCards/BondCards.js +92 -0
  1773. package/dist/views/BuyBond/components/BondCards/BondCards.js.map +1 -0
  1774. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js +74 -0
  1775. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js.map +1 -0
  1776. package/dist/views/BuyBond/components/BondModalHeader.js +95 -0
  1777. package/dist/views/BuyBond/components/BondModalHeader.js.map +1 -0
  1778. package/dist/views/BuyBond/components/BondModalMinTierHeader.js +35 -0
  1779. package/dist/views/BuyBond/components/BondModalMinTierHeader.js.map +1 -0
  1780. package/dist/views/BuyBond/components/Estimations.js +68 -0
  1781. package/dist/views/BuyBond/components/Estimations.js.map +1 -0
  1782. package/dist/views/BuyBond/components/ExpandedViewButton.js +37 -0
  1783. package/dist/views/BuyBond/components/ExpandedViewButton.js.map +1 -0
  1784. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js +71 -0
  1785. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js.map +1 -0
  1786. package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js +55 -0
  1787. package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js.map +1 -0
  1788. package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js +36 -0
  1789. package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js.map +1 -0
  1790. package/dist/views/BuyBond/components/ProjectDescription.js +38 -0
  1791. package/dist/views/BuyBond/components/ProjectDescription.js.map +1 -0
  1792. package/dist/views/BuyBond/index.js +12 -0
  1793. package/dist/views/BuyBond/index.js.map +1 -0
  1794. package/dist/views/BuyBond/styles.js +33 -0
  1795. package/dist/views/BuyBond/styles.js.map +1 -0
  1796. package/dist/views/FullBondsView/FullBondsView.js +34 -0
  1797. package/dist/views/FullBondsView/FullBondsView.js.map +1 -0
  1798. package/dist/views/FullBondsView/index.js +12 -0
  1799. package/dist/views/FullBondsView/index.js.map +1 -0
  1800. package/dist/views/LifiModal/LifiModal.js +79 -0
  1801. package/dist/views/LifiModal/LifiModal.js.map +1 -0
  1802. package/dist/views/ProjectView/ProjectView.js +72 -0
  1803. package/dist/views/ProjectView/ProjectView.js.map +1 -0
  1804. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js +56 -0
  1805. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js.map +1 -0
  1806. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js +46 -0
  1807. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js.map +1 -0
  1808. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js +24 -0
  1809. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js.map +1 -0
  1810. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js +51 -0
  1811. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js.map +1 -0
  1812. package/dist/views/ProjectView/components/BondLeaderboard/index.js +45 -0
  1813. package/dist/views/ProjectView/components/BondLeaderboard/index.js.map +1 -0
  1814. package/dist/views/ProjectView/components/BondStats/index.js +97 -0
  1815. package/dist/views/ProjectView/components/BondStats/index.js.map +1 -0
  1816. package/dist/views/ProjectView/components/BondStats/styles.js +49 -0
  1817. package/dist/views/ProjectView/components/BondStats/styles.js.map +1 -0
  1818. package/dist/views/ProjectView/components/BondStats/types.js +40 -0
  1819. package/dist/views/ProjectView/components/BondStats/types.js.map +1 -0
  1820. package/dist/views/ProjectView/components/BondStats/utils.js +10 -0
  1821. package/dist/views/ProjectView/components/BondStats/utils.js.map +1 -0
  1822. package/dist/views/ProjectView/components/NavPanel/index.js +32 -0
  1823. package/dist/views/ProjectView/components/NavPanel/index.js.map +1 -0
  1824. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js +112 -0
  1825. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js.map +1 -0
  1826. package/dist/views/ProjectView/components/PriceChart/components/LineChart.js +100 -0
  1827. package/dist/views/ProjectView/components/PriceChart/components/LineChart.js.map +1 -0
  1828. package/dist/views/ProjectView/components/PriceChart/components/utils.js +20 -0
  1829. package/dist/views/ProjectView/components/PriceChart/components/utils.js.map +1 -0
  1830. package/dist/views/ProjectView/components/PriceChart/index.js +53 -0
  1831. package/dist/views/ProjectView/components/PriceChart/index.js.map +1 -0
  1832. package/dist/views/ProjectView/components/PriceChart/styles.js +44 -0
  1833. package/dist/views/ProjectView/components/PriceChart/styles.js.map +1 -0
  1834. package/dist/views/ProjectView/components/ProjectInfo/index.js +34 -0
  1835. package/dist/views/ProjectView/components/ProjectInfo/index.js.map +1 -0
  1836. package/dist/views/ProjectView/components/ProjectInfo/styles.js +44 -0
  1837. package/dist/views/ProjectView/components/ProjectInfo/styles.js.map +1 -0
  1838. package/dist/views/ProjectView/components/RecommendationCards/index.js +112 -0
  1839. package/dist/views/ProjectView/components/RecommendationCards/index.js.map +1 -0
  1840. package/dist/views/ProjectView/index.js +12 -0
  1841. package/dist/views/ProjectView/index.js.map +1 -0
  1842. package/dist/views/ProjectView/styles.js +9 -0
  1843. package/dist/views/ProjectView/styles.js.map +1 -0
  1844. package/dist/views/SingleBond/SingleBond.js +50 -0
  1845. package/dist/views/SingleBond/SingleBond.js.map +1 -0
  1846. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js +85 -0
  1847. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js.map +1 -0
  1848. package/dist/views/SingleBond/index.js +12 -0
  1849. package/dist/views/SingleBond/index.js.map +1 -0
  1850. package/dist/views/TransactionModal/TransactionModal.js +194 -0
  1851. package/dist/views/TransactionModal/TransactionModal.js.map +1 -0
  1852. package/dist/views/YourBonds/YourBonds.js +158 -0
  1853. package/dist/views/YourBonds/YourBonds.js.map +1 -0
  1854. package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js +133 -0
  1855. package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js.map +1 -0
  1856. package/dist/views/YourBonds/components/ClaimAll/index.js +36 -0
  1857. package/dist/views/YourBonds/components/ClaimAll/index.js.map +1 -0
  1858. package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js +29 -0
  1859. package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js.map +1 -0
  1860. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js +118 -0
  1861. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js.map +1 -0
  1862. package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js +151 -0
  1863. package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js.map +1 -0
  1864. package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js +58 -0
  1865. package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js.map +1 -0
  1866. package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js +183 -0
  1867. package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js.map +1 -0
  1868. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js +29 -0
  1869. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js.map +1 -0
  1870. package/dist/views/YourBonds/index.js +12 -0
  1871. package/dist/views/YourBonds/index.js.map +1 -0
  1872. package/dist/views/YourBondsModal/YourBondsModal.js +154 -0
  1873. package/dist/views/YourBondsModal/YourBondsModal.js.map +1 -0
  1874. package/dist/views/YourBondsModal/components/Actions/Actions.js +146 -0
  1875. package/dist/views/YourBondsModal/components/Actions/Actions.js.map +1 -0
  1876. package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js +166 -0
  1877. package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js.map +1 -0
  1878. package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js +73 -0
  1879. package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js.map +1 -0
  1880. package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js +94 -0
  1881. package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js.map +1 -0
  1882. package/dist/views/YourBondsModal/components/LinkShare/utils.js +57 -0
  1883. package/dist/views/YourBondsModal/components/LinkShare/utils.js.map +1 -0
  1884. package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js +153 -0
  1885. package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js.map +1 -0
  1886. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js +39 -0
  1887. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js.map +1 -0
  1888. package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js +32 -0
  1889. package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js.map +1 -0
  1890. package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js +47 -0
  1891. package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js.map +1 -0
  1892. package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js +88 -0
  1893. package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js.map +1 -0
  1894. package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js +103 -0
  1895. package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js.map +1 -0
  1896. package/dist/views/YourBondsModal/components/TransferBondModal/index.js +45 -0
  1897. package/dist/views/YourBondsModal/components/TransferBondModal/index.js.map +1 -0
  1898. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js +58 -0
  1899. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js.map +1 -0
  1900. package/package.json +70 -1
@@ -0,0 +1,1585 @@
1
+ import '../../../../../motion-utils/dist/es/errors.js';
2
+ import { noop } from '../../../../../motion-utils/dist/es/noop.js';
3
+ import { getValueTransition } from '../../../../../motion-dom/dist/es/animation/utils/get-value-transition.js';
4
+ import { animateSingleValue } from '../../animation/animate/single-value.js';
5
+ import { getOptimisedAppearId } from '../../animation/optimized-appear/get-appear-id.js';
6
+ import { cancelFrame, frameData, frameSteps, frame } from '../../frameloop/frame.js';
7
+ import { microtask } from '../../frameloop/microtask.js';
8
+ import { time } from '../../frameloop/sync-time.js';
9
+ import { isSVGElement } from '../../render/dom/utils/is-svg-element.js';
10
+ import { FlatTree } from '../../render/utils/flat-tree.js';
11
+ import { clamp } from '../../utils/clamp.js';
12
+ import { delay } from '../../utils/delay.js';
13
+ import { mixNumber } from '../../utils/mix/number.js';
14
+ import { SubscriptionManager } from '../../utils/subscription-manager.js';
15
+ import { resolveMotionValue } from '../../value/utils/resolve-motion-value.js';
16
+ import { mixValues } from '../animation/mix-values.js';
17
+ import { copyBoxInto, copyAxisDeltaInto } from '../geometry/copy.js';
18
+ import { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from '../geometry/delta-apply.js';
19
+ import { calcRelativePosition, calcRelativeBox, calcBoxDelta, calcLength, isNear } from '../geometry/delta-calc.js';
20
+ import { removeBoxTransforms } from '../geometry/delta-remove.js';
21
+ import { createBox, createDelta } from '../geometry/models.js';
22
+ import { boxEqualsRounded, isDeltaZero, axisDeltaEquals, boxEquals, aspectRatio } from '../geometry/utils.js';
23
+ import { NodeStack } from '../shared/stack.js';
24
+ import { scaleCorrectors } from '../styles/scale-correction.js';
25
+ import { buildProjectionTransform } from '../styles/transform.js';
26
+ import { eachAxis } from '../utils/each-axis.js';
27
+ import { hasTransform, hasScale, has2DTranslate } from '../utils/has-transform.js';
28
+ import { globalProjectionState } from './state.js';
29
+
30
+ const metrics = {
31
+ type: "projectionFrame",
32
+ totalNodes: 0,
33
+ resolvedTargetDeltas: 0,
34
+ recalculatedProjection: 0,
35
+ };
36
+ const isDebug = typeof window !== "undefined" && window.MotionDebug !== undefined;
37
+ const transformAxes = ["", "X", "Y", "Z"];
38
+ const hiddenVisibility = { visibility: "hidden" };
39
+ /**
40
+ * We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1
41
+ * which has a noticeable difference in spring animations
42
+ */
43
+ const animationTarget = 1000;
44
+ let id = 0;
45
+ function resetDistortingTransform(key, visualElement, values, sharedAnimationValues) {
46
+ const { latestValues } = visualElement;
47
+ // Record the distorting transform and then temporarily set it to 0
48
+ if (latestValues[key]) {
49
+ values[key] = latestValues[key];
50
+ visualElement.setStaticValue(key, 0);
51
+ if (sharedAnimationValues) {
52
+ sharedAnimationValues[key] = 0;
53
+ }
54
+ }
55
+ }
56
+ function cancelTreeOptimisedTransformAnimations(projectionNode) {
57
+ projectionNode.hasCheckedOptimisedAppear = true;
58
+ if (projectionNode.root === projectionNode)
59
+ return;
60
+ const { visualElement } = projectionNode.options;
61
+ if (!visualElement)
62
+ return;
63
+ const appearId = getOptimisedAppearId(visualElement);
64
+ if (window.MotionHasOptimisedAnimation(appearId, "transform")) {
65
+ const { layout, layoutId } = projectionNode.options;
66
+ window.MotionCancelOptimisedAnimation(appearId, "transform", frame, !(layout || layoutId));
67
+ }
68
+ const { parent } = projectionNode;
69
+ if (parent && !parent.hasCheckedOptimisedAppear) {
70
+ cancelTreeOptimisedTransformAnimations(parent);
71
+ }
72
+ }
73
+ function createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform, }) {
74
+ return class ProjectionNode {
75
+ constructor(latestValues = {}, parent = defaultParent === null || defaultParent === void 0 ? void 0 : defaultParent()) {
76
+ /**
77
+ * A unique ID generated for every projection node.
78
+ */
79
+ this.id = id++;
80
+ /**
81
+ * An id that represents a unique session instigated by startUpdate.
82
+ */
83
+ this.animationId = 0;
84
+ /**
85
+ * A Set containing all this component's children. This is used to iterate
86
+ * through the children.
87
+ *
88
+ * TODO: This could be faster to iterate as a flat array stored on the root node.
89
+ */
90
+ this.children = new Set();
91
+ /**
92
+ * Options for the node. We use this to configure what kind of layout animations
93
+ * we should perform (if any).
94
+ */
95
+ this.options = {};
96
+ /**
97
+ * We use this to detect when its safe to shut down part of a projection tree.
98
+ * We have to keep projecting children for scale correction and relative projection
99
+ * until all their parents stop performing layout animations.
100
+ */
101
+ this.isTreeAnimating = false;
102
+ this.isAnimationBlocked = false;
103
+ /**
104
+ * Flag to true if we think this layout has been changed. We can't always know this,
105
+ * currently we set it to true every time a component renders, or if it has a layoutDependency
106
+ * if that has changed between renders. Additionally, components can be grouped by LayoutGroup
107
+ * and if one node is dirtied, they all are.
108
+ */
109
+ this.isLayoutDirty = false;
110
+ /**
111
+ * Flag to true if we think the projection calculations for this node needs
112
+ * recalculating as a result of an updated transform or layout animation.
113
+ */
114
+ this.isProjectionDirty = false;
115
+ /**
116
+ * Flag to true if the layout *or* transform has changed. This then gets propagated
117
+ * throughout the projection tree, forcing any element below to recalculate on the next frame.
118
+ */
119
+ this.isSharedProjectionDirty = false;
120
+ /**
121
+ * Flag transform dirty. This gets propagated throughout the whole tree but is only
122
+ * respected by shared nodes.
123
+ */
124
+ this.isTransformDirty = false;
125
+ /**
126
+ * Block layout updates for instant layout transitions throughout the tree.
127
+ */
128
+ this.updateManuallyBlocked = false;
129
+ this.updateBlockedByResize = false;
130
+ /**
131
+ * Set to true between the start of the first `willUpdate` call and the end of the `didUpdate`
132
+ * call.
133
+ */
134
+ this.isUpdating = false;
135
+ /**
136
+ * If this is an SVG element we currently disable projection transforms
137
+ */
138
+ this.isSVG = false;
139
+ /**
140
+ * Flag to true (during promotion) if a node doing an instant layout transition needs to reset
141
+ * its projection styles.
142
+ */
143
+ this.needsReset = false;
144
+ /**
145
+ * Flags whether this node should have its transform reset prior to measuring.
146
+ */
147
+ this.shouldResetTransform = false;
148
+ /**
149
+ * Store whether this node has been checked for optimised appear animations. As
150
+ * effects fire bottom-up, and we want to look up the tree for appear animations,
151
+ * this makes sure we only check each path once, stopping at nodes that
152
+ * have already been checked.
153
+ */
154
+ this.hasCheckedOptimisedAppear = false;
155
+ /**
156
+ * An object representing the calculated contextual/accumulated/tree scale.
157
+ * This will be used to scale calculcated projection transforms, as these are
158
+ * calculated in screen-space but need to be scaled for elements to layoutly
159
+ * make it to their calculated destinations.
160
+ *
161
+ * TODO: Lazy-init
162
+ */
163
+ this.treeScale = { x: 1, y: 1 };
164
+ /**
165
+ *
166
+ */
167
+ this.eventHandlers = new Map();
168
+ this.hasTreeAnimated = false;
169
+ // Note: Currently only running on root node
170
+ this.updateScheduled = false;
171
+ this.scheduleUpdate = () => this.update();
172
+ this.projectionUpdateScheduled = false;
173
+ this.checkUpdateFailed = () => {
174
+ if (this.isUpdating) {
175
+ this.isUpdating = false;
176
+ this.clearAllSnapshots();
177
+ }
178
+ };
179
+ /**
180
+ * This is a multi-step process as shared nodes might be of different depths. Nodes
181
+ * are sorted by depth order, so we need to resolve the entire tree before moving to
182
+ * the next step.
183
+ */
184
+ this.updateProjection = () => {
185
+ this.projectionUpdateScheduled = false;
186
+ /**
187
+ * Reset debug counts. Manually resetting rather than creating a new
188
+ * object each frame.
189
+ */
190
+ if (isDebug) {
191
+ metrics.totalNodes =
192
+ metrics.resolvedTargetDeltas =
193
+ metrics.recalculatedProjection =
194
+ 0;
195
+ }
196
+ this.nodes.forEach(propagateDirtyNodes);
197
+ this.nodes.forEach(resolveTargetDelta);
198
+ this.nodes.forEach(calcProjection);
199
+ this.nodes.forEach(cleanDirtyNodes);
200
+ if (isDebug) {
201
+ window.MotionDebug.record(metrics);
202
+ }
203
+ };
204
+ /**
205
+ * Frame calculations
206
+ */
207
+ this.resolvedRelativeTargetAt = 0.0;
208
+ this.hasProjected = false;
209
+ this.isVisible = true;
210
+ this.animationProgress = 0;
211
+ /**
212
+ * Shared layout
213
+ */
214
+ // TODO Only running on root node
215
+ this.sharedNodes = new Map();
216
+ this.latestValues = latestValues;
217
+ this.root = parent ? parent.root || parent : this;
218
+ this.path = parent ? [...parent.path, parent] : [];
219
+ this.parent = parent;
220
+ this.depth = parent ? parent.depth + 1 : 0;
221
+ for (let i = 0; i < this.path.length; i++) {
222
+ this.path[i].shouldResetTransform = true;
223
+ }
224
+ if (this.root === this)
225
+ this.nodes = new FlatTree();
226
+ }
227
+ addEventListener(name, handler) {
228
+ if (!this.eventHandlers.has(name)) {
229
+ this.eventHandlers.set(name, new SubscriptionManager());
230
+ }
231
+ return this.eventHandlers.get(name).add(handler);
232
+ }
233
+ notifyListeners(name, ...args) {
234
+ const subscriptionManager = this.eventHandlers.get(name);
235
+ subscriptionManager && subscriptionManager.notify(...args);
236
+ }
237
+ hasListeners(name) {
238
+ return this.eventHandlers.has(name);
239
+ }
240
+ /**
241
+ * Lifecycles
242
+ */
243
+ mount(instance, isLayoutDirty = this.root.hasTreeAnimated) {
244
+ if (this.instance)
245
+ return;
246
+ this.isSVG = isSVGElement(instance);
247
+ this.instance = instance;
248
+ const { layoutId, layout, visualElement } = this.options;
249
+ if (visualElement && !visualElement.current) {
250
+ visualElement.mount(instance);
251
+ }
252
+ this.root.nodes.add(this);
253
+ this.parent && this.parent.children.add(this);
254
+ if (isLayoutDirty && (layout || layoutId)) {
255
+ this.isLayoutDirty = true;
256
+ }
257
+ if (attachResizeListener) {
258
+ let cancelDelay;
259
+ const resizeUnblockUpdate = () => (this.root.updateBlockedByResize = false);
260
+ attachResizeListener(instance, () => {
261
+ this.root.updateBlockedByResize = true;
262
+ cancelDelay && cancelDelay();
263
+ cancelDelay = delay(resizeUnblockUpdate, 250);
264
+ if (globalProjectionState.hasAnimatedSinceResize) {
265
+ globalProjectionState.hasAnimatedSinceResize = false;
266
+ this.nodes.forEach(finishAnimation);
267
+ }
268
+ });
269
+ }
270
+ if (layoutId) {
271
+ this.root.registerSharedNode(layoutId, this);
272
+ }
273
+ // Only register the handler if it requires layout animation
274
+ if (this.options.animate !== false &&
275
+ visualElement &&
276
+ (layoutId || layout)) {
277
+ this.addEventListener("didUpdate", ({ delta, hasLayoutChanged, hasRelativeTargetChanged, layout: newLayout, }) => {
278
+ if (this.isTreeAnimationBlocked()) {
279
+ this.target = undefined;
280
+ this.relativeTarget = undefined;
281
+ return;
282
+ }
283
+ // TODO: Check here if an animation exists
284
+ const layoutTransition = this.options.transition ||
285
+ visualElement.getDefaultTransition() ||
286
+ defaultLayoutTransition;
287
+ const { onLayoutAnimationStart, onLayoutAnimationComplete, } = visualElement.getProps();
288
+ /**
289
+ * The target layout of the element might stay the same,
290
+ * but its position relative to its parent has changed.
291
+ */
292
+ const targetChanged = !this.targetLayout ||
293
+ !boxEqualsRounded(this.targetLayout, newLayout) ||
294
+ hasRelativeTargetChanged;
295
+ /**
296
+ * If the layout hasn't seemed to have changed, it might be that the
297
+ * element is visually in the same place in the document but its position
298
+ * relative to its parent has indeed changed. So here we check for that.
299
+ */
300
+ const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeTargetChanged;
301
+ if (this.options.layoutRoot ||
302
+ (this.resumeFrom && this.resumeFrom.instance) ||
303
+ hasOnlyRelativeTargetChanged ||
304
+ (hasLayoutChanged &&
305
+ (targetChanged || !this.currentAnimation))) {
306
+ if (this.resumeFrom) {
307
+ this.resumingFrom = this.resumeFrom;
308
+ this.resumingFrom.resumingFrom = undefined;
309
+ }
310
+ this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);
311
+ const animationOptions = {
312
+ ...getValueTransition(layoutTransition, "layout"),
313
+ onPlay: onLayoutAnimationStart,
314
+ onComplete: onLayoutAnimationComplete,
315
+ };
316
+ if (visualElement.shouldReduceMotion ||
317
+ this.options.layoutRoot) {
318
+ animationOptions.delay = 0;
319
+ animationOptions.type = false;
320
+ }
321
+ this.startAnimation(animationOptions);
322
+ }
323
+ else {
324
+ /**
325
+ * If the layout hasn't changed and we have an animation that hasn't started yet,
326
+ * finish it immediately. Otherwise it will be animating from a location
327
+ * that was probably never commited to screen and look like a jumpy box.
328
+ */
329
+ if (!hasLayoutChanged) {
330
+ finishAnimation(this);
331
+ }
332
+ if (this.isLead() && this.options.onExitComplete) {
333
+ this.options.onExitComplete();
334
+ }
335
+ }
336
+ this.targetLayout = newLayout;
337
+ });
338
+ }
339
+ }
340
+ unmount() {
341
+ this.options.layoutId && this.willUpdate();
342
+ this.root.nodes.remove(this);
343
+ const stack = this.getStack();
344
+ stack && stack.remove(this);
345
+ this.parent && this.parent.children.delete(this);
346
+ this.instance = undefined;
347
+ cancelFrame(this.updateProjection);
348
+ }
349
+ // only on the root
350
+ blockUpdate() {
351
+ this.updateManuallyBlocked = true;
352
+ }
353
+ unblockUpdate() {
354
+ this.updateManuallyBlocked = false;
355
+ }
356
+ isUpdateBlocked() {
357
+ return this.updateManuallyBlocked || this.updateBlockedByResize;
358
+ }
359
+ isTreeAnimationBlocked() {
360
+ return (this.isAnimationBlocked ||
361
+ (this.parent && this.parent.isTreeAnimationBlocked()) ||
362
+ false);
363
+ }
364
+ // Note: currently only running on root node
365
+ startUpdate() {
366
+ if (this.isUpdateBlocked())
367
+ return;
368
+ this.isUpdating = true;
369
+ this.nodes && this.nodes.forEach(resetSkewAndRotation);
370
+ this.animationId++;
371
+ }
372
+ getTransformTemplate() {
373
+ const { visualElement } = this.options;
374
+ return visualElement && visualElement.getProps().transformTemplate;
375
+ }
376
+ willUpdate(shouldNotifyListeners = true) {
377
+ this.root.hasTreeAnimated = true;
378
+ if (this.root.isUpdateBlocked()) {
379
+ this.options.onExitComplete && this.options.onExitComplete();
380
+ return;
381
+ }
382
+ /**
383
+ * If we're running optimised appear animations then these must be
384
+ * cancelled before measuring the DOM. This is so we can measure
385
+ * the true layout of the element rather than the WAAPI animation
386
+ * which will be unaffected by the resetSkewAndRotate step.
387
+ *
388
+ * Note: This is a DOM write. Worst case scenario is this is sandwiched
389
+ * between other snapshot reads which will cause unnecessary style recalculations.
390
+ * This has to happen here though, as we don't yet know which nodes will need
391
+ * snapshots in startUpdate(), but we only want to cancel optimised animations
392
+ * if a layout animation measurement is actually going to be affected by them.
393
+ */
394
+ if (window.MotionCancelOptimisedAnimation &&
395
+ !this.hasCheckedOptimisedAppear) {
396
+ cancelTreeOptimisedTransformAnimations(this);
397
+ }
398
+ !this.root.isUpdating && this.root.startUpdate();
399
+ if (this.isLayoutDirty)
400
+ return;
401
+ this.isLayoutDirty = true;
402
+ for (let i = 0; i < this.path.length; i++) {
403
+ const node = this.path[i];
404
+ node.shouldResetTransform = true;
405
+ node.updateScroll("snapshot");
406
+ if (node.options.layoutRoot) {
407
+ node.willUpdate(false);
408
+ }
409
+ }
410
+ const { layoutId, layout } = this.options;
411
+ if (layoutId === undefined && !layout)
412
+ return;
413
+ const transformTemplate = this.getTransformTemplate();
414
+ this.prevTransformTemplateValue = transformTemplate
415
+ ? transformTemplate(this.latestValues, "")
416
+ : undefined;
417
+ this.updateSnapshot();
418
+ shouldNotifyListeners && this.notifyListeners("willUpdate");
419
+ }
420
+ update() {
421
+ this.updateScheduled = false;
422
+ const updateWasBlocked = this.isUpdateBlocked();
423
+ // When doing an instant transition, we skip the layout update,
424
+ // but should still clean up the measurements so that the next
425
+ // snapshot could be taken correctly.
426
+ if (updateWasBlocked) {
427
+ this.unblockUpdate();
428
+ this.clearAllSnapshots();
429
+ this.nodes.forEach(clearMeasurements);
430
+ return;
431
+ }
432
+ if (!this.isUpdating) {
433
+ this.nodes.forEach(clearIsLayoutDirty);
434
+ }
435
+ this.isUpdating = false;
436
+ /**
437
+ * Write
438
+ */
439
+ this.nodes.forEach(resetTransformStyle);
440
+ /**
441
+ * Read ==================
442
+ */
443
+ // Update layout measurements of updated children
444
+ this.nodes.forEach(updateLayout);
445
+ /**
446
+ * Write
447
+ */
448
+ // Notify listeners that the layout is updated
449
+ this.nodes.forEach(notifyLayoutUpdate);
450
+ this.clearAllSnapshots();
451
+ /**
452
+ * Manually flush any pending updates. Ideally
453
+ * we could leave this to the following requestAnimationFrame but this seems
454
+ * to leave a flash of incorrectly styled content.
455
+ */
456
+ const now = time.now();
457
+ frameData.delta = clamp(0, 1000 / 60, now - frameData.timestamp);
458
+ frameData.timestamp = now;
459
+ frameData.isProcessing = true;
460
+ frameSteps.update.process(frameData);
461
+ frameSteps.preRender.process(frameData);
462
+ frameSteps.render.process(frameData);
463
+ frameData.isProcessing = false;
464
+ }
465
+ didUpdate() {
466
+ if (!this.updateScheduled) {
467
+ this.updateScheduled = true;
468
+ microtask.read(this.scheduleUpdate);
469
+ }
470
+ }
471
+ clearAllSnapshots() {
472
+ this.nodes.forEach(clearSnapshot);
473
+ this.sharedNodes.forEach(removeLeadSnapshots);
474
+ }
475
+ scheduleUpdateProjection() {
476
+ if (!this.projectionUpdateScheduled) {
477
+ this.projectionUpdateScheduled = true;
478
+ frame.preRender(this.updateProjection, false, true);
479
+ }
480
+ }
481
+ scheduleCheckAfterUnmount() {
482
+ /**
483
+ * If the unmounting node is in a layoutGroup and did trigger a willUpdate,
484
+ * we manually call didUpdate to give a chance to the siblings to animate.
485
+ * Otherwise, cleanup all snapshots to prevents future nodes from reusing them.
486
+ */
487
+ frame.postRender(() => {
488
+ if (this.isLayoutDirty) {
489
+ this.root.didUpdate();
490
+ }
491
+ else {
492
+ this.root.checkUpdateFailed();
493
+ }
494
+ });
495
+ }
496
+ /**
497
+ * Update measurements
498
+ */
499
+ updateSnapshot() {
500
+ if (this.snapshot || !this.instance)
501
+ return;
502
+ this.snapshot = this.measure();
503
+ }
504
+ updateLayout() {
505
+ if (!this.instance)
506
+ return;
507
+ // TODO: Incorporate into a forwarded scroll offset
508
+ this.updateScroll();
509
+ if (!(this.options.alwaysMeasureLayout && this.isLead()) &&
510
+ !this.isLayoutDirty) {
511
+ return;
512
+ }
513
+ /**
514
+ * When a node is mounted, it simply resumes from the prevLead's
515
+ * snapshot instead of taking a new one, but the ancestors scroll
516
+ * might have updated while the prevLead is unmounted. We need to
517
+ * update the scroll again to make sure the layout we measure is
518
+ * up to date.
519
+ */
520
+ if (this.resumeFrom && !this.resumeFrom.instance) {
521
+ for (let i = 0; i < this.path.length; i++) {
522
+ const node = this.path[i];
523
+ node.updateScroll();
524
+ }
525
+ }
526
+ const prevLayout = this.layout;
527
+ this.layout = this.measure(false);
528
+ this.layoutCorrected = createBox();
529
+ this.isLayoutDirty = false;
530
+ this.projectionDelta = undefined;
531
+ this.notifyListeners("measure", this.layout.layoutBox);
532
+ const { visualElement } = this.options;
533
+ visualElement &&
534
+ visualElement.notify("LayoutMeasure", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined);
535
+ }
536
+ updateScroll(phase = "measure") {
537
+ let needsMeasurement = Boolean(this.options.layoutScroll && this.instance);
538
+ if (this.scroll &&
539
+ this.scroll.animationId === this.root.animationId &&
540
+ this.scroll.phase === phase) {
541
+ needsMeasurement = false;
542
+ }
543
+ if (needsMeasurement) {
544
+ const isRoot = checkIsScrollRoot(this.instance);
545
+ this.scroll = {
546
+ animationId: this.root.animationId,
547
+ phase,
548
+ isRoot,
549
+ offset: measureScroll(this.instance),
550
+ wasRoot: this.scroll ? this.scroll.isRoot : isRoot,
551
+ };
552
+ }
553
+ }
554
+ resetTransform() {
555
+ if (!resetTransform)
556
+ return;
557
+ const isResetRequested = this.isLayoutDirty ||
558
+ this.shouldResetTransform ||
559
+ this.options.alwaysMeasureLayout;
560
+ const hasProjection = this.projectionDelta && !isDeltaZero(this.projectionDelta);
561
+ const transformTemplate = this.getTransformTemplate();
562
+ const transformTemplateValue = transformTemplate
563
+ ? transformTemplate(this.latestValues, "")
564
+ : undefined;
565
+ const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue;
566
+ if (isResetRequested &&
567
+ (hasProjection ||
568
+ hasTransform(this.latestValues) ||
569
+ transformTemplateHasChanged)) {
570
+ resetTransform(this.instance, transformTemplateValue);
571
+ this.shouldResetTransform = false;
572
+ this.scheduleRender();
573
+ }
574
+ }
575
+ measure(removeTransform = true) {
576
+ const pageBox = this.measurePageBox();
577
+ let layoutBox = this.removeElementScroll(pageBox);
578
+ /**
579
+ * Measurements taken during the pre-render stage
580
+ * still have transforms applied so we remove them
581
+ * via calculation.
582
+ */
583
+ if (removeTransform) {
584
+ layoutBox = this.removeTransform(layoutBox);
585
+ }
586
+ roundBox(layoutBox);
587
+ return {
588
+ animationId: this.root.animationId,
589
+ measuredBox: pageBox,
590
+ layoutBox,
591
+ latestValues: {},
592
+ source: this.id,
593
+ };
594
+ }
595
+ measurePageBox() {
596
+ var _a;
597
+ const { visualElement } = this.options;
598
+ if (!visualElement)
599
+ return createBox();
600
+ const box = visualElement.measureViewportBox();
601
+ const wasInScrollRoot = ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) || this.path.some(checkNodeWasScrollRoot);
602
+ if (!wasInScrollRoot) {
603
+ // Remove viewport scroll to give page-relative coordinates
604
+ const { scroll } = this.root;
605
+ if (scroll) {
606
+ translateAxis(box.x, scroll.offset.x);
607
+ translateAxis(box.y, scroll.offset.y);
608
+ }
609
+ }
610
+ return box;
611
+ }
612
+ removeElementScroll(box) {
613
+ var _a;
614
+ const boxWithoutScroll = createBox();
615
+ copyBoxInto(boxWithoutScroll, box);
616
+ if ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) {
617
+ return boxWithoutScroll;
618
+ }
619
+ /**
620
+ * Performance TODO: Keep a cumulative scroll offset down the tree
621
+ * rather than loop back up the path.
622
+ */
623
+ for (let i = 0; i < this.path.length; i++) {
624
+ const node = this.path[i];
625
+ const { scroll, options } = node;
626
+ if (node !== this.root && scroll && options.layoutScroll) {
627
+ /**
628
+ * If this is a new scroll root, we want to remove all previous scrolls
629
+ * from the viewport box.
630
+ */
631
+ if (scroll.wasRoot) {
632
+ copyBoxInto(boxWithoutScroll, box);
633
+ }
634
+ translateAxis(boxWithoutScroll.x, scroll.offset.x);
635
+ translateAxis(boxWithoutScroll.y, scroll.offset.y);
636
+ }
637
+ }
638
+ return boxWithoutScroll;
639
+ }
640
+ applyTransform(box, transformOnly = false) {
641
+ const withTransforms = createBox();
642
+ copyBoxInto(withTransforms, box);
643
+ for (let i = 0; i < this.path.length; i++) {
644
+ const node = this.path[i];
645
+ if (!transformOnly &&
646
+ node.options.layoutScroll &&
647
+ node.scroll &&
648
+ node !== node.root) {
649
+ transformBox(withTransforms, {
650
+ x: -node.scroll.offset.x,
651
+ y: -node.scroll.offset.y,
652
+ });
653
+ }
654
+ if (!hasTransform(node.latestValues))
655
+ continue;
656
+ transformBox(withTransforms, node.latestValues);
657
+ }
658
+ if (hasTransform(this.latestValues)) {
659
+ transformBox(withTransforms, this.latestValues);
660
+ }
661
+ return withTransforms;
662
+ }
663
+ removeTransform(box) {
664
+ const boxWithoutTransform = createBox();
665
+ copyBoxInto(boxWithoutTransform, box);
666
+ for (let i = 0; i < this.path.length; i++) {
667
+ const node = this.path[i];
668
+ if (!node.instance)
669
+ continue;
670
+ if (!hasTransform(node.latestValues))
671
+ continue;
672
+ hasScale(node.latestValues) && node.updateSnapshot();
673
+ const sourceBox = createBox();
674
+ const nodeBox = node.measurePageBox();
675
+ copyBoxInto(sourceBox, nodeBox);
676
+ removeBoxTransforms(boxWithoutTransform, node.latestValues, node.snapshot ? node.snapshot.layoutBox : undefined, sourceBox);
677
+ }
678
+ if (hasTransform(this.latestValues)) {
679
+ removeBoxTransforms(boxWithoutTransform, this.latestValues);
680
+ }
681
+ return boxWithoutTransform;
682
+ }
683
+ setTargetDelta(delta) {
684
+ this.targetDelta = delta;
685
+ this.root.scheduleUpdateProjection();
686
+ this.isProjectionDirty = true;
687
+ }
688
+ setOptions(options) {
689
+ this.options = {
690
+ ...this.options,
691
+ ...options,
692
+ crossfade: options.crossfade !== undefined ? options.crossfade : true,
693
+ };
694
+ }
695
+ clearMeasurements() {
696
+ this.scroll = undefined;
697
+ this.layout = undefined;
698
+ this.snapshot = undefined;
699
+ this.prevTransformTemplateValue = undefined;
700
+ this.targetDelta = undefined;
701
+ this.target = undefined;
702
+ this.isLayoutDirty = false;
703
+ }
704
+ forceRelativeParentToResolveTarget() {
705
+ if (!this.relativeParent)
706
+ return;
707
+ /**
708
+ * If the parent target isn't up-to-date, force it to update.
709
+ * This is an unfortunate de-optimisation as it means any updating relative
710
+ * projection will cause all the relative parents to recalculate back
711
+ * up the tree.
712
+ */
713
+ if (this.relativeParent.resolvedRelativeTargetAt !==
714
+ frameData.timestamp) {
715
+ this.relativeParent.resolveTargetDelta(true);
716
+ }
717
+ }
718
+ resolveTargetDelta(forceRecalculation = false) {
719
+ var _a;
720
+ /**
721
+ * Once the dirty status of nodes has been spread through the tree, we also
722
+ * need to check if we have a shared node of a different depth that has itself
723
+ * been dirtied.
724
+ */
725
+ const lead = this.getLead();
726
+ this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);
727
+ this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
728
+ this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
729
+ const isShared = Boolean(this.resumingFrom) || this !== lead;
730
+ /**
731
+ * We don't use transform for this step of processing so we don't
732
+ * need to check whether any nodes have changed transform.
733
+ */
734
+ const canSkip = !(forceRecalculation ||
735
+ (isShared && this.isSharedProjectionDirty) ||
736
+ this.isProjectionDirty ||
737
+ ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty) ||
738
+ this.attemptToResolveRelativeTarget ||
739
+ this.root.updateBlockedByResize);
740
+ if (canSkip)
741
+ return;
742
+ const { layout, layoutId } = this.options;
743
+ /**
744
+ * If we have no layout, we can't perform projection, so early return
745
+ */
746
+ if (!this.layout || !(layout || layoutId))
747
+ return;
748
+ this.resolvedRelativeTargetAt = frameData.timestamp;
749
+ /**
750
+ * If we don't have a targetDelta but do have a layout, we can attempt to resolve
751
+ * a relativeParent. This will allow a component to perform scale correction
752
+ * even if no animation has started.
753
+ */
754
+ if (!this.targetDelta && !this.relativeTarget) {
755
+ const relativeParent = this.getClosestProjectingParent();
756
+ if (relativeParent &&
757
+ relativeParent.layout &&
758
+ this.animationProgress !== 1) {
759
+ this.relativeParent = relativeParent;
760
+ this.forceRelativeParentToResolveTarget();
761
+ this.relativeTarget = createBox();
762
+ this.relativeTargetOrigin = createBox();
763
+ calcRelativePosition(this.relativeTargetOrigin, this.layout.layoutBox, relativeParent.layout.layoutBox);
764
+ copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
765
+ }
766
+ else {
767
+ this.relativeParent = this.relativeTarget = undefined;
768
+ }
769
+ }
770
+ /**
771
+ * If we have no relative target or no target delta our target isn't valid
772
+ * for this frame.
773
+ */
774
+ if (!this.relativeTarget && !this.targetDelta)
775
+ return;
776
+ /**
777
+ * Lazy-init target data structure
778
+ */
779
+ if (!this.target) {
780
+ this.target = createBox();
781
+ this.targetWithTransforms = createBox();
782
+ }
783
+ /**
784
+ * If we've got a relative box for this component, resolve it into a target relative to the parent.
785
+ */
786
+ if (this.relativeTarget &&
787
+ this.relativeTargetOrigin &&
788
+ this.relativeParent &&
789
+ this.relativeParent.target) {
790
+ this.forceRelativeParentToResolveTarget();
791
+ calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target);
792
+ /**
793
+ * If we've only got a targetDelta, resolve it into a target
794
+ */
795
+ }
796
+ else if (this.targetDelta) {
797
+ if (Boolean(this.resumingFrom)) {
798
+ // TODO: This is creating a new object every frame
799
+ this.target = this.applyTransform(this.layout.layoutBox);
800
+ }
801
+ else {
802
+ copyBoxInto(this.target, this.layout.layoutBox);
803
+ }
804
+ applyBoxDelta(this.target, this.targetDelta);
805
+ }
806
+ else {
807
+ /**
808
+ * If no target, use own layout as target
809
+ */
810
+ copyBoxInto(this.target, this.layout.layoutBox);
811
+ }
812
+ /**
813
+ * If we've been told to attempt to resolve a relative target, do so.
814
+ */
815
+ if (this.attemptToResolveRelativeTarget) {
816
+ this.attemptToResolveRelativeTarget = false;
817
+ const relativeParent = this.getClosestProjectingParent();
818
+ if (relativeParent &&
819
+ Boolean(relativeParent.resumingFrom) ===
820
+ Boolean(this.resumingFrom) &&
821
+ !relativeParent.options.layoutScroll &&
822
+ relativeParent.target &&
823
+ this.animationProgress !== 1) {
824
+ this.relativeParent = relativeParent;
825
+ this.forceRelativeParentToResolveTarget();
826
+ this.relativeTarget = createBox();
827
+ this.relativeTargetOrigin = createBox();
828
+ calcRelativePosition(this.relativeTargetOrigin, this.target, relativeParent.target);
829
+ copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
830
+ }
831
+ else {
832
+ this.relativeParent = this.relativeTarget = undefined;
833
+ }
834
+ }
835
+ /**
836
+ * Increase debug counter for resolved target deltas
837
+ */
838
+ if (isDebug) {
839
+ metrics.resolvedTargetDeltas++;
840
+ }
841
+ }
842
+ getClosestProjectingParent() {
843
+ if (!this.parent ||
844
+ hasScale(this.parent.latestValues) ||
845
+ has2DTranslate(this.parent.latestValues)) {
846
+ return undefined;
847
+ }
848
+ if (this.parent.isProjecting()) {
849
+ return this.parent;
850
+ }
851
+ else {
852
+ return this.parent.getClosestProjectingParent();
853
+ }
854
+ }
855
+ isProjecting() {
856
+ return Boolean((this.relativeTarget ||
857
+ this.targetDelta ||
858
+ this.options.layoutRoot) &&
859
+ this.layout);
860
+ }
861
+ calcProjection() {
862
+ var _a;
863
+ const lead = this.getLead();
864
+ const isShared = Boolean(this.resumingFrom) || this !== lead;
865
+ let canSkip = true;
866
+ /**
867
+ * If this is a normal layout animation and neither this node nor its nearest projecting
868
+ * is dirty then we can't skip.
869
+ */
870
+ if (this.isProjectionDirty || ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty)) {
871
+ canSkip = false;
872
+ }
873
+ /**
874
+ * If this is a shared layout animation and this node's shared projection is dirty then
875
+ * we can't skip.
876
+ */
877
+ if (isShared &&
878
+ (this.isSharedProjectionDirty || this.isTransformDirty)) {
879
+ canSkip = false;
880
+ }
881
+ /**
882
+ * If we have resolved the target this frame we must recalculate the
883
+ * projection to ensure it visually represents the internal calculations.
884
+ */
885
+ if (this.resolvedRelativeTargetAt === frameData.timestamp) {
886
+ canSkip = false;
887
+ }
888
+ if (canSkip)
889
+ return;
890
+ const { layout, layoutId } = this.options;
891
+ /**
892
+ * If this section of the tree isn't animating we can
893
+ * delete our target sources for the following frame.
894
+ */
895
+ this.isTreeAnimating = Boolean((this.parent && this.parent.isTreeAnimating) ||
896
+ this.currentAnimation ||
897
+ this.pendingAnimation);
898
+ if (!this.isTreeAnimating) {
899
+ this.targetDelta = this.relativeTarget = undefined;
900
+ }
901
+ if (!this.layout || !(layout || layoutId))
902
+ return;
903
+ /**
904
+ * Reset the corrected box with the latest values from box, as we're then going
905
+ * to perform mutative operations on it.
906
+ */
907
+ copyBoxInto(this.layoutCorrected, this.layout.layoutBox);
908
+ /**
909
+ * Record previous tree scales before updating.
910
+ */
911
+ const prevTreeScaleX = this.treeScale.x;
912
+ const prevTreeScaleY = this.treeScale.y;
913
+ /**
914
+ * Apply all the parent deltas to this box to produce the corrected box. This
915
+ * is the layout box, as it will appear on screen as a result of the transforms of its parents.
916
+ */
917
+ applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
918
+ /**
919
+ * If this layer needs to perform scale correction but doesn't have a target,
920
+ * use the layout as the target.
921
+ */
922
+ if (lead.layout &&
923
+ !lead.target &&
924
+ (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
925
+ lead.target = lead.layout.layoutBox;
926
+ lead.targetWithTransforms = createBox();
927
+ }
928
+ const { target } = lead;
929
+ if (!target) {
930
+ /**
931
+ * If we don't have a target to project into, but we were previously
932
+ * projecting, we want to remove the stored transform and schedule
933
+ * a render to ensure the elements reflect the removed transform.
934
+ */
935
+ if (this.prevProjectionDelta) {
936
+ this.createProjectionDeltas();
937
+ this.scheduleRender();
938
+ }
939
+ return;
940
+ }
941
+ if (!this.projectionDelta || !this.prevProjectionDelta) {
942
+ this.createProjectionDeltas();
943
+ }
944
+ else {
945
+ copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x);
946
+ copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y);
947
+ }
948
+ /**
949
+ * Update the delta between the corrected box and the target box before user-set transforms were applied.
950
+ * This will allow us to calculate the corrected borderRadius and boxShadow to compensate
951
+ * for our layout reprojection, but still allow them to be scaled correctly by the user.
952
+ * It might be that to simplify this we may want to accept that user-set scale is also corrected
953
+ * and we wouldn't have to keep and calc both deltas, OR we could support a user setting
954
+ * to allow people to choose whether these styles are corrected based on just the
955
+ * layout reprojection or the final bounding box.
956
+ */
957
+ calcBoxDelta(this.projectionDelta, this.layoutCorrected, target, this.latestValues);
958
+ if (this.treeScale.x !== prevTreeScaleX ||
959
+ this.treeScale.y !== prevTreeScaleY ||
960
+ !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) ||
961
+ !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) {
962
+ this.hasProjected = true;
963
+ this.scheduleRender();
964
+ this.notifyListeners("projectionUpdate", target);
965
+ }
966
+ /**
967
+ * Increase debug counter for recalculated projections
968
+ */
969
+ if (isDebug) {
970
+ metrics.recalculatedProjection++;
971
+ }
972
+ }
973
+ hide() {
974
+ this.isVisible = false;
975
+ // TODO: Schedule render
976
+ }
977
+ show() {
978
+ this.isVisible = true;
979
+ // TODO: Schedule render
980
+ }
981
+ scheduleRender(notifyAll = true) {
982
+ var _a;
983
+ (_a = this.options.visualElement) === null || _a === void 0 ? void 0 : _a.scheduleRender();
984
+ if (notifyAll) {
985
+ const stack = this.getStack();
986
+ stack && stack.scheduleRender();
987
+ }
988
+ if (this.resumingFrom && !this.resumingFrom.instance) {
989
+ this.resumingFrom = undefined;
990
+ }
991
+ }
992
+ createProjectionDeltas() {
993
+ this.prevProjectionDelta = createDelta();
994
+ this.projectionDelta = createDelta();
995
+ this.projectionDeltaWithTransform = createDelta();
996
+ }
997
+ setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) {
998
+ const snapshot = this.snapshot;
999
+ const snapshotLatestValues = snapshot
1000
+ ? snapshot.latestValues
1001
+ : {};
1002
+ const mixedValues = { ...this.latestValues };
1003
+ const targetDelta = createDelta();
1004
+ if (!this.relativeParent ||
1005
+ !this.relativeParent.options.layoutRoot) {
1006
+ this.relativeTarget = this.relativeTargetOrigin = undefined;
1007
+ }
1008
+ this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;
1009
+ const relativeLayout = createBox();
1010
+ const snapshotSource = snapshot ? snapshot.source : undefined;
1011
+ const layoutSource = this.layout ? this.layout.source : undefined;
1012
+ const isSharedLayoutAnimation = snapshotSource !== layoutSource;
1013
+ const stack = this.getStack();
1014
+ const isOnlyMember = !stack || stack.members.length <= 1;
1015
+ const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation &&
1016
+ !isOnlyMember &&
1017
+ this.options.crossfade === true &&
1018
+ !this.path.some(hasOpacityCrossfade));
1019
+ this.animationProgress = 0;
1020
+ let prevRelativeTarget;
1021
+ this.mixTargetDelta = (latest) => {
1022
+ const progress = latest / 1000;
1023
+ mixAxisDelta(targetDelta.x, delta.x, progress);
1024
+ mixAxisDelta(targetDelta.y, delta.y, progress);
1025
+ this.setTargetDelta(targetDelta);
1026
+ if (this.relativeTarget &&
1027
+ this.relativeTargetOrigin &&
1028
+ this.layout &&
1029
+ this.relativeParent &&
1030
+ this.relativeParent.layout) {
1031
+ calcRelativePosition(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox);
1032
+ mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress);
1033
+ /**
1034
+ * If this is an unchanged relative target we can consider the
1035
+ * projection not dirty.
1036
+ */
1037
+ if (prevRelativeTarget &&
1038
+ boxEquals(this.relativeTarget, prevRelativeTarget)) {
1039
+ this.isProjectionDirty = false;
1040
+ }
1041
+ if (!prevRelativeTarget)
1042
+ prevRelativeTarget = createBox();
1043
+ copyBoxInto(prevRelativeTarget, this.relativeTarget);
1044
+ }
1045
+ if (isSharedLayoutAnimation) {
1046
+ this.animationValues = mixedValues;
1047
+ mixValues(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember);
1048
+ }
1049
+ this.root.scheduleUpdateProjection();
1050
+ this.scheduleRender();
1051
+ this.animationProgress = progress;
1052
+ };
1053
+ this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0);
1054
+ }
1055
+ startAnimation(options) {
1056
+ this.notifyListeners("animationStart");
1057
+ this.currentAnimation && this.currentAnimation.stop();
1058
+ if (this.resumingFrom && this.resumingFrom.currentAnimation) {
1059
+ this.resumingFrom.currentAnimation.stop();
1060
+ }
1061
+ if (this.pendingAnimation) {
1062
+ cancelFrame(this.pendingAnimation);
1063
+ this.pendingAnimation = undefined;
1064
+ }
1065
+ /**
1066
+ * Start the animation in the next frame to have a frame with progress 0,
1067
+ * where the target is the same as when the animation started, so we can
1068
+ * calculate the relative positions correctly for instant transitions.
1069
+ */
1070
+ this.pendingAnimation = frame.update(() => {
1071
+ globalProjectionState.hasAnimatedSinceResize = true;
1072
+ this.currentAnimation = animateSingleValue(0, animationTarget, {
1073
+ ...options,
1074
+ onUpdate: (latest) => {
1075
+ this.mixTargetDelta(latest);
1076
+ options.onUpdate && options.onUpdate(latest);
1077
+ },
1078
+ onComplete: () => {
1079
+ options.onComplete && options.onComplete();
1080
+ this.completeAnimation();
1081
+ },
1082
+ });
1083
+ if (this.resumingFrom) {
1084
+ this.resumingFrom.currentAnimation = this.currentAnimation;
1085
+ }
1086
+ this.pendingAnimation = undefined;
1087
+ });
1088
+ }
1089
+ completeAnimation() {
1090
+ if (this.resumingFrom) {
1091
+ this.resumingFrom.currentAnimation = undefined;
1092
+ this.resumingFrom.preserveOpacity = undefined;
1093
+ }
1094
+ const stack = this.getStack();
1095
+ stack && stack.exitAnimationComplete();
1096
+ this.resumingFrom =
1097
+ this.currentAnimation =
1098
+ this.animationValues =
1099
+ undefined;
1100
+ this.notifyListeners("animationComplete");
1101
+ }
1102
+ finishAnimation() {
1103
+ if (this.currentAnimation) {
1104
+ this.mixTargetDelta && this.mixTargetDelta(animationTarget);
1105
+ this.currentAnimation.stop();
1106
+ }
1107
+ this.completeAnimation();
1108
+ }
1109
+ applyTransformsToTarget() {
1110
+ const lead = this.getLead();
1111
+ let { targetWithTransforms, target, layout, latestValues } = lead;
1112
+ if (!targetWithTransforms || !target || !layout)
1113
+ return;
1114
+ /**
1115
+ * If we're only animating position, and this element isn't the lead element,
1116
+ * then instead of projecting into the lead box we instead want to calculate
1117
+ * a new target that aligns the two boxes but maintains the layout shape.
1118
+ */
1119
+ if (this !== lead &&
1120
+ this.layout &&
1121
+ layout &&
1122
+ shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) {
1123
+ target = this.target || createBox();
1124
+ const xLength = calcLength(this.layout.layoutBox.x);
1125
+ target.x.min = lead.target.x.min;
1126
+ target.x.max = target.x.min + xLength;
1127
+ const yLength = calcLength(this.layout.layoutBox.y);
1128
+ target.y.min = lead.target.y.min;
1129
+ target.y.max = target.y.min + yLength;
1130
+ }
1131
+ copyBoxInto(targetWithTransforms, target);
1132
+ /**
1133
+ * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.
1134
+ * This is the final box that we will then project into by calculating a transform delta and
1135
+ * applying it to the corrected box.
1136
+ */
1137
+ transformBox(targetWithTransforms, latestValues);
1138
+ /**
1139
+ * Update the delta between the corrected box and the final target box, after
1140
+ * user-set transforms are applied to it. This will be used by the renderer to
1141
+ * create a transform style that will reproject the element from its layout layout
1142
+ * into the desired bounding box.
1143
+ */
1144
+ calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues);
1145
+ }
1146
+ registerSharedNode(layoutId, node) {
1147
+ if (!this.sharedNodes.has(layoutId)) {
1148
+ this.sharedNodes.set(layoutId, new NodeStack());
1149
+ }
1150
+ const stack = this.sharedNodes.get(layoutId);
1151
+ stack.add(node);
1152
+ const config = node.options.initialPromotionConfig;
1153
+ node.promote({
1154
+ transition: config ? config.transition : undefined,
1155
+ preserveFollowOpacity: config && config.shouldPreserveFollowOpacity
1156
+ ? config.shouldPreserveFollowOpacity(node)
1157
+ : undefined,
1158
+ });
1159
+ }
1160
+ isLead() {
1161
+ const stack = this.getStack();
1162
+ return stack ? stack.lead === this : true;
1163
+ }
1164
+ getLead() {
1165
+ var _a;
1166
+ const { layoutId } = this.options;
1167
+ return layoutId ? ((_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.lead) || this : this;
1168
+ }
1169
+ getPrevLead() {
1170
+ var _a;
1171
+ const { layoutId } = this.options;
1172
+ return layoutId ? (_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.prevLead : undefined;
1173
+ }
1174
+ getStack() {
1175
+ const { layoutId } = this.options;
1176
+ if (layoutId)
1177
+ return this.root.sharedNodes.get(layoutId);
1178
+ }
1179
+ promote({ needsReset, transition, preserveFollowOpacity, } = {}) {
1180
+ const stack = this.getStack();
1181
+ if (stack)
1182
+ stack.promote(this, preserveFollowOpacity);
1183
+ if (needsReset) {
1184
+ this.projectionDelta = undefined;
1185
+ this.needsReset = true;
1186
+ }
1187
+ if (transition)
1188
+ this.setOptions({ transition });
1189
+ }
1190
+ relegate() {
1191
+ const stack = this.getStack();
1192
+ if (stack) {
1193
+ return stack.relegate(this);
1194
+ }
1195
+ else {
1196
+ return false;
1197
+ }
1198
+ }
1199
+ resetSkewAndRotation() {
1200
+ const { visualElement } = this.options;
1201
+ if (!visualElement)
1202
+ return;
1203
+ // If there's no detected skew or rotation values, we can early return without a forced render.
1204
+ let hasDistortingTransform = false;
1205
+ /**
1206
+ * An unrolled check for rotation values. Most elements don't have any rotation and
1207
+ * skipping the nested loop and new object creation is 50% faster.
1208
+ */
1209
+ const { latestValues } = visualElement;
1210
+ if (latestValues.z ||
1211
+ latestValues.rotate ||
1212
+ latestValues.rotateX ||
1213
+ latestValues.rotateY ||
1214
+ latestValues.rotateZ ||
1215
+ latestValues.skewX ||
1216
+ latestValues.skewY) {
1217
+ hasDistortingTransform = true;
1218
+ }
1219
+ // If there's no distorting values, we don't need to do any more.
1220
+ if (!hasDistortingTransform)
1221
+ return;
1222
+ const resetValues = {};
1223
+ if (latestValues.z) {
1224
+ resetDistortingTransform("z", visualElement, resetValues, this.animationValues);
1225
+ }
1226
+ // Check the skew and rotate value of all axes and reset to 0
1227
+ for (let i = 0; i < transformAxes.length; i++) {
1228
+ resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues);
1229
+ resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues);
1230
+ }
1231
+ // Force a render of this element to apply the transform with all skews and rotations
1232
+ // set to 0.
1233
+ visualElement.render();
1234
+ // Put back all the values we reset
1235
+ for (const key in resetValues) {
1236
+ visualElement.setStaticValue(key, resetValues[key]);
1237
+ if (this.animationValues) {
1238
+ this.animationValues[key] = resetValues[key];
1239
+ }
1240
+ }
1241
+ // Schedule a render for the next frame. This ensures we won't visually
1242
+ // see the element with the reset rotate value applied.
1243
+ visualElement.scheduleRender();
1244
+ }
1245
+ getProjectionStyles(styleProp) {
1246
+ var _a, _b;
1247
+ if (!this.instance || this.isSVG)
1248
+ return undefined;
1249
+ if (!this.isVisible) {
1250
+ return hiddenVisibility;
1251
+ }
1252
+ const styles = {
1253
+ visibility: "",
1254
+ };
1255
+ const transformTemplate = this.getTransformTemplate();
1256
+ if (this.needsReset) {
1257
+ this.needsReset = false;
1258
+ styles.opacity = "";
1259
+ styles.pointerEvents =
1260
+ resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
1261
+ styles.transform = transformTemplate
1262
+ ? transformTemplate(this.latestValues, "")
1263
+ : "none";
1264
+ return styles;
1265
+ }
1266
+ const lead = this.getLead();
1267
+ if (!this.projectionDelta || !this.layout || !lead.target) {
1268
+ const emptyStyles = {};
1269
+ if (this.options.layoutId) {
1270
+ emptyStyles.opacity =
1271
+ this.latestValues.opacity !== undefined
1272
+ ? this.latestValues.opacity
1273
+ : 1;
1274
+ emptyStyles.pointerEvents =
1275
+ resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
1276
+ }
1277
+ if (this.hasProjected && !hasTransform(this.latestValues)) {
1278
+ emptyStyles.transform = transformTemplate
1279
+ ? transformTemplate({}, "")
1280
+ : "none";
1281
+ this.hasProjected = false;
1282
+ }
1283
+ return emptyStyles;
1284
+ }
1285
+ const valuesToRender = lead.animationValues || lead.latestValues;
1286
+ this.applyTransformsToTarget();
1287
+ styles.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
1288
+ if (transformTemplate) {
1289
+ styles.transform = transformTemplate(valuesToRender, styles.transform);
1290
+ }
1291
+ const { x, y } = this.projectionDelta;
1292
+ styles.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;
1293
+ if (lead.animationValues) {
1294
+ /**
1295
+ * If the lead component is animating, assign this either the entering/leaving
1296
+ * opacity
1297
+ */
1298
+ styles.opacity =
1299
+ lead === this
1300
+ ? (_b = (_a = valuesToRender.opacity) !== null && _a !== void 0 ? _a : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1
1301
+ : this.preserveOpacity
1302
+ ? this.latestValues.opacity
1303
+ : valuesToRender.opacityExit;
1304
+ }
1305
+ else {
1306
+ /**
1307
+ * Or we're not animating at all, set the lead component to its layout
1308
+ * opacity and other components to hidden.
1309
+ */
1310
+ styles.opacity =
1311
+ lead === this
1312
+ ? valuesToRender.opacity !== undefined
1313
+ ? valuesToRender.opacity
1314
+ : ""
1315
+ : valuesToRender.opacityExit !== undefined
1316
+ ? valuesToRender.opacityExit
1317
+ : 0;
1318
+ }
1319
+ /**
1320
+ * Apply scale correction
1321
+ */
1322
+ for (const key in scaleCorrectors) {
1323
+ if (valuesToRender[key] === undefined)
1324
+ continue;
1325
+ const { correct, applyTo } = scaleCorrectors[key];
1326
+ /**
1327
+ * Only apply scale correction to the value if we have an
1328
+ * active projection transform. Otherwise these values become
1329
+ * vulnerable to distortion if the element changes size without
1330
+ * a corresponding layout animation.
1331
+ */
1332
+ const corrected = styles.transform === "none"
1333
+ ? valuesToRender[key]
1334
+ : correct(valuesToRender[key], lead);
1335
+ if (applyTo) {
1336
+ const num = applyTo.length;
1337
+ for (let i = 0; i < num; i++) {
1338
+ styles[applyTo[i]] = corrected;
1339
+ }
1340
+ }
1341
+ else {
1342
+ styles[key] = corrected;
1343
+ }
1344
+ }
1345
+ /**
1346
+ * Disable pointer events on follow components. This is to ensure
1347
+ * that if a follow component covers a lead component it doesn't block
1348
+ * pointer events on the lead.
1349
+ */
1350
+ if (this.options.layoutId) {
1351
+ styles.pointerEvents =
1352
+ lead === this
1353
+ ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || ""
1354
+ : "none";
1355
+ }
1356
+ return styles;
1357
+ }
1358
+ clearSnapshot() {
1359
+ this.resumeFrom = this.snapshot = undefined;
1360
+ }
1361
+ // Only run on root
1362
+ resetTree() {
1363
+ this.root.nodes.forEach((node) => { var _a; return (_a = node.currentAnimation) === null || _a === void 0 ? void 0 : _a.stop(); });
1364
+ this.root.nodes.forEach(clearMeasurements);
1365
+ this.root.sharedNodes.clear();
1366
+ }
1367
+ };
1368
+ }
1369
+ function updateLayout(node) {
1370
+ node.updateLayout();
1371
+ }
1372
+ function notifyLayoutUpdate(node) {
1373
+ var _a;
1374
+ const snapshot = ((_a = node.resumeFrom) === null || _a === void 0 ? void 0 : _a.snapshot) || node.snapshot;
1375
+ if (node.isLead() &&
1376
+ node.layout &&
1377
+ snapshot &&
1378
+ node.hasListeners("didUpdate")) {
1379
+ const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;
1380
+ const { animationType } = node.options;
1381
+ const isShared = snapshot.source !== node.layout.source;
1382
+ // TODO Maybe we want to also resize the layout snapshot so we don't trigger
1383
+ // animations for instance if layout="size" and an element has only changed position
1384
+ if (animationType === "size") {
1385
+ eachAxis((axis) => {
1386
+ const axisSnapshot = isShared
1387
+ ? snapshot.measuredBox[axis]
1388
+ : snapshot.layoutBox[axis];
1389
+ const length = calcLength(axisSnapshot);
1390
+ axisSnapshot.min = layout[axis].min;
1391
+ axisSnapshot.max = axisSnapshot.min + length;
1392
+ });
1393
+ }
1394
+ else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) {
1395
+ eachAxis((axis) => {
1396
+ const axisSnapshot = isShared
1397
+ ? snapshot.measuredBox[axis]
1398
+ : snapshot.layoutBox[axis];
1399
+ const length = calcLength(layout[axis]);
1400
+ axisSnapshot.max = axisSnapshot.min + length;
1401
+ /**
1402
+ * Ensure relative target gets resized and rerendererd
1403
+ */
1404
+ if (node.relativeTarget && !node.currentAnimation) {
1405
+ node.isProjectionDirty = true;
1406
+ node.relativeTarget[axis].max =
1407
+ node.relativeTarget[axis].min + length;
1408
+ }
1409
+ });
1410
+ }
1411
+ const layoutDelta = createDelta();
1412
+ calcBoxDelta(layoutDelta, layout, snapshot.layoutBox);
1413
+ const visualDelta = createDelta();
1414
+ if (isShared) {
1415
+ calcBoxDelta(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox);
1416
+ }
1417
+ else {
1418
+ calcBoxDelta(visualDelta, layout, snapshot.layoutBox);
1419
+ }
1420
+ const hasLayoutChanged = !isDeltaZero(layoutDelta);
1421
+ let hasRelativeTargetChanged = false;
1422
+ if (!node.resumeFrom) {
1423
+ const relativeParent = node.getClosestProjectingParent();
1424
+ /**
1425
+ * If the relativeParent is itself resuming from a different element then
1426
+ * the relative snapshot is not relavent
1427
+ */
1428
+ if (relativeParent && !relativeParent.resumeFrom) {
1429
+ const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent;
1430
+ if (parentSnapshot && parentLayout) {
1431
+ const relativeSnapshot = createBox();
1432
+ calcRelativePosition(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox);
1433
+ const relativeLayout = createBox();
1434
+ calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox);
1435
+ if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {
1436
+ hasRelativeTargetChanged = true;
1437
+ }
1438
+ if (relativeParent.options.layoutRoot) {
1439
+ node.relativeTarget = relativeLayout;
1440
+ node.relativeTargetOrigin = relativeSnapshot;
1441
+ node.relativeParent = relativeParent;
1442
+ }
1443
+ }
1444
+ }
1445
+ }
1446
+ node.notifyListeners("didUpdate", {
1447
+ layout,
1448
+ snapshot,
1449
+ delta: visualDelta,
1450
+ layoutDelta,
1451
+ hasLayoutChanged,
1452
+ hasRelativeTargetChanged,
1453
+ });
1454
+ }
1455
+ else if (node.isLead()) {
1456
+ const { onExitComplete } = node.options;
1457
+ onExitComplete && onExitComplete();
1458
+ }
1459
+ /**
1460
+ * Clearing transition
1461
+ * TODO: Investigate why this transition is being passed in as {type: false } from Framer
1462
+ * and why we need it at all
1463
+ */
1464
+ node.options.transition = undefined;
1465
+ }
1466
+ function propagateDirtyNodes(node) {
1467
+ /**
1468
+ * Increase debug counter for nodes encountered this frame
1469
+ */
1470
+ if (isDebug) {
1471
+ metrics.totalNodes++;
1472
+ }
1473
+ if (!node.parent)
1474
+ return;
1475
+ /**
1476
+ * If this node isn't projecting, propagate isProjectionDirty. It will have
1477
+ * no performance impact but it will allow the next child that *is* projecting
1478
+ * but *isn't* dirty to just check its parent to see if *any* ancestor needs
1479
+ * correcting.
1480
+ */
1481
+ if (!node.isProjecting()) {
1482
+ node.isProjectionDirty = node.parent.isProjectionDirty;
1483
+ }
1484
+ /**
1485
+ * Propagate isSharedProjectionDirty and isTransformDirty
1486
+ * throughout the whole tree. A future revision can take another look at
1487
+ * this but for safety we still recalcualte shared nodes.
1488
+ */
1489
+ node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty ||
1490
+ node.parent.isProjectionDirty ||
1491
+ node.parent.isSharedProjectionDirty));
1492
+ node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty);
1493
+ }
1494
+ function cleanDirtyNodes(node) {
1495
+ node.isProjectionDirty =
1496
+ node.isSharedProjectionDirty =
1497
+ node.isTransformDirty =
1498
+ false;
1499
+ }
1500
+ function clearSnapshot(node) {
1501
+ node.clearSnapshot();
1502
+ }
1503
+ function clearMeasurements(node) {
1504
+ node.clearMeasurements();
1505
+ }
1506
+ function clearIsLayoutDirty(node) {
1507
+ node.isLayoutDirty = false;
1508
+ }
1509
+ function resetTransformStyle(node) {
1510
+ const { visualElement } = node.options;
1511
+ if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) {
1512
+ visualElement.notify("BeforeLayoutMeasure");
1513
+ }
1514
+ node.resetTransform();
1515
+ }
1516
+ function finishAnimation(node) {
1517
+ node.finishAnimation();
1518
+ node.targetDelta = node.relativeTarget = node.target = undefined;
1519
+ node.isProjectionDirty = true;
1520
+ }
1521
+ function resolveTargetDelta(node) {
1522
+ node.resolveTargetDelta();
1523
+ }
1524
+ function calcProjection(node) {
1525
+ node.calcProjection();
1526
+ }
1527
+ function resetSkewAndRotation(node) {
1528
+ node.resetSkewAndRotation();
1529
+ }
1530
+ function removeLeadSnapshots(stack) {
1531
+ stack.removeLeadSnapshot();
1532
+ }
1533
+ function mixAxisDelta(output, delta, p) {
1534
+ output.translate = mixNumber(delta.translate, 0, p);
1535
+ output.scale = mixNumber(delta.scale, 1, p);
1536
+ output.origin = delta.origin;
1537
+ output.originPoint = delta.originPoint;
1538
+ }
1539
+ function mixAxis(output, from, to, p) {
1540
+ output.min = mixNumber(from.min, to.min, p);
1541
+ output.max = mixNumber(from.max, to.max, p);
1542
+ }
1543
+ function mixBox(output, from, to, p) {
1544
+ mixAxis(output.x, from.x, to.x, p);
1545
+ mixAxis(output.y, from.y, to.y, p);
1546
+ }
1547
+ function hasOpacityCrossfade(node) {
1548
+ return (node.animationValues && node.animationValues.opacityExit !== undefined);
1549
+ }
1550
+ const defaultLayoutTransition = {
1551
+ duration: 0.45,
1552
+ ease: [0.4, 0, 0.1, 1],
1553
+ };
1554
+ const userAgentContains = (string) => typeof navigator !== "undefined" &&
1555
+ navigator.userAgent &&
1556
+ navigator.userAgent.toLowerCase().includes(string);
1557
+ /**
1558
+ * Measured bounding boxes must be rounded in Safari and
1559
+ * left untouched in Chrome, otherwise non-integer layouts within scaled-up elements
1560
+ * can appear to jump.
1561
+ */
1562
+ const roundPoint = userAgentContains("applewebkit/") && !userAgentContains("chrome/")
1563
+ ? Math.round
1564
+ : noop;
1565
+ function roundAxis(axis) {
1566
+ // Round to the nearest .5 pixels to support subpixel layouts
1567
+ axis.min = roundPoint(axis.min);
1568
+ axis.max = roundPoint(axis.max);
1569
+ }
1570
+ function roundBox(box) {
1571
+ roundAxis(box.x);
1572
+ roundAxis(box.y);
1573
+ }
1574
+ function shouldAnimatePositionOnly(animationType, snapshot, layout) {
1575
+ return (animationType === "position" ||
1576
+ (animationType === "preserve-aspect" &&
1577
+ !isNear(aspectRatio(snapshot), aspectRatio(layout), 0.2)));
1578
+ }
1579
+ function checkNodeWasScrollRoot(node) {
1580
+ var _a;
1581
+ return node !== node.root && ((_a = node.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot);
1582
+ }
1583
+
1584
+ export { cleanDirtyNodes, createProjectionNode, mixAxis, mixAxisDelta, mixBox, propagateDirtyNodes };
1585
+ //# sourceMappingURL=create-projection-node.js.map