react-native-wagmi-charts 1.7.0 → 2.1.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 (601) hide show
  1. package/.DS_Store +0 -0
  2. package/README.md +365 -193
  3. package/example/.DS_Store +0 -0
  4. package/example/.expo/web/cache/development/babel-loader/0048eab7a1937596c83f7a0a8669a057.json +1 -0
  5. package/example/.expo/web/cache/development/babel-loader/00e78539c92f01b2990b35cc56404077.json +1 -0
  6. package/example/.expo/web/cache/development/babel-loader/01548be34380766518c44d302f0da833.json +1 -0
  7. package/example/.expo/web/cache/development/babel-loader/01dc8e11259412b46f72a16b6f6f989a.json +1 -0
  8. package/example/.expo/web/cache/development/babel-loader/022bc27c62f111b60de1d9cf31798db5.json +1 -0
  9. package/example/.expo/web/cache/development/babel-loader/02341c3581c9b4661b5deec14d244183.json +1 -0
  10. package/example/.expo/web/cache/development/babel-loader/029e21747cfcaf8be0db65a531a13e45.json +1 -0
  11. package/example/.expo/web/cache/development/babel-loader/02cacb7980022332144135d930ecea11.json +1 -0
  12. package/example/.expo/web/cache/development/babel-loader/030b07a0a05e98460988fcc5b21543fd.json +1 -0
  13. package/example/.expo/web/cache/development/babel-loader/03e0f78352a5cc290e9a694dfa0457b2.json +1 -0
  14. package/example/.expo/web/cache/development/babel-loader/03f273e96dda522f2f1ffb0c11d9cb41.json +1 -0
  15. package/example/.expo/web/cache/development/babel-loader/040ef89e9083432c9c572aecfb055253.json +1 -0
  16. package/example/.expo/web/cache/development/babel-loader/053109a5af2f50846dbff99c9ddaa08b.json +1 -0
  17. package/example/.expo/web/cache/development/babel-loader/05c8ee51599e49b8df4c2aea1c61f9bd.json +1 -0
  18. package/example/.expo/web/cache/development/babel-loader/061e5f7ad7d0922480d8aa5ec61bb646.json +1 -0
  19. package/example/.expo/web/cache/development/babel-loader/062a149ffbda2b47d4a754da17f0ed89.json +1 -0
  20. package/example/.expo/web/cache/development/babel-loader/06c9aabc7c8dc32a774403b9acd1d9e3.json +1 -0
  21. package/example/.expo/web/cache/development/babel-loader/06de2f6698410c68adcc5a227728a923.json +1 -0
  22. package/example/.expo/web/cache/development/babel-loader/078d39387ece388cb409a9de98417dd7.json +1 -0
  23. package/example/.expo/web/cache/development/babel-loader/08ae8c107c10803a4fd1dcd9bb77631b.json +1 -0
  24. package/example/.expo/web/cache/development/babel-loader/0b71299ddceefa8034f07d7bd25f7132.json +1 -0
  25. package/example/.expo/web/cache/development/babel-loader/0ba484ac7ba0d1abe8d566757740b901.json +1 -0
  26. package/example/.expo/web/cache/development/babel-loader/0bdbd4da7c535a6cfa3d301a2e03cdb3.json +1 -0
  27. package/example/.expo/web/cache/development/babel-loader/0ca19fcabd7879d8a09389c265186c73.json +1 -0
  28. package/example/.expo/web/cache/development/babel-loader/0dba3b74d1f9e83e7e1be547f59f9b0d.json +1 -0
  29. package/example/.expo/web/cache/development/babel-loader/0dda8bfcef9ddb34113838e01d884c94.json +1 -0
  30. package/example/.expo/web/cache/development/babel-loader/0fed877538eec4c0fe6fc59a7fba1884.json +1 -0
  31. package/example/.expo/web/cache/development/babel-loader/10c42328cedbca0b7c02e292cbf7e819.json +1 -0
  32. package/example/.expo/web/cache/development/babel-loader/11e5e2a288b722ed1a72951da903668f.json +1 -0
  33. package/example/.expo/web/cache/development/babel-loader/124b86bda7fafdb400a04e42fb06d241.json +1 -0
  34. package/example/.expo/web/cache/development/babel-loader/12ddb38f86b223c6168a22c3c441d23c.json +1 -0
  35. package/example/.expo/web/cache/development/babel-loader/12f8b90d6b32fd8d434f74ec0a1cc5de.json +1 -0
  36. package/example/.expo/web/cache/development/babel-loader/14896ac3a706173aa66f99f5ac81de25.json +1 -0
  37. package/example/.expo/web/cache/development/babel-loader/155b2897eaa205c153dc174759391596.json +1 -0
  38. package/example/.expo/web/cache/development/babel-loader/159bcfbc06914dc0fa53d932ecdeb3a8.json +1 -0
  39. package/example/.expo/web/cache/development/babel-loader/15adfc2176211fd1b1f1e26ffac54860.json +1 -0
  40. package/example/.expo/web/cache/development/babel-loader/16bf97aa1df29d051e75cdcfe30258ca.json +1 -0
  41. package/example/.expo/web/cache/development/babel-loader/173757cc1e741e39f50c821a347ca6a7.json +1 -0
  42. package/example/.expo/web/cache/development/babel-loader/17539008e1af521bbd4be8772219d502.json +1 -0
  43. package/example/.expo/web/cache/development/babel-loader/178a06574c91fc5f7d66bb5c1087d694.json +1 -0
  44. package/example/.expo/web/cache/development/babel-loader/17f33cd1288f2d81431bd2cc3594a889.json +1 -0
  45. package/example/.expo/web/cache/development/babel-loader/1ae598529609953300b8831809806773.json +1 -0
  46. package/example/.expo/web/cache/development/babel-loader/1bf72c5e82adfae4cd9fb7d062f43c7b.json +1 -0
  47. package/example/.expo/web/cache/development/babel-loader/1e954e44cae79871d604d778ed2b019b.json +1 -0
  48. package/example/.expo/web/cache/development/babel-loader/1f3db19af6a4daad8ac653aef9a17b3e.json +1 -0
  49. package/example/.expo/web/cache/development/babel-loader/1fa8d4f7956d15e5d2301b5bc0ea5cda.json +1 -0
  50. package/example/.expo/web/cache/development/babel-loader/20143c2ba144a977d78c7b106120350d.json +1 -0
  51. package/example/.expo/web/cache/development/babel-loader/201eb696584a8e8ed6ccc7f1c94bea83.json +1 -0
  52. package/example/.expo/web/cache/development/babel-loader/208778a4ee646ee0555ed1e67b562757.json +1 -0
  53. package/example/.expo/web/cache/development/babel-loader/219c2137c40f30853f1c0da86e6195ae.json +1 -0
  54. package/example/.expo/web/cache/development/babel-loader/224ade2bbe8e0b2388eb1c55bff3f264.json +1 -0
  55. package/example/.expo/web/cache/development/babel-loader/22eb55b287473e3a78908381441cfcb4.json +1 -0
  56. package/example/.expo/web/cache/development/babel-loader/240cb3678995c4254ed6e5c7582952ba.json +1 -0
  57. package/example/.expo/web/cache/development/babel-loader/2530791779144ffab597cad5be52c226.json +1 -0
  58. package/example/.expo/web/cache/development/babel-loader/2596af2ade89538878b6d544100f3399.json +1 -0
  59. package/example/.expo/web/cache/development/babel-loader/25ba14deb6adaac77b56e2c781b4f065.json +1 -0
  60. package/example/.expo/web/cache/development/babel-loader/26d2d37f205cec86abab8af6ff0ebc64.json +1 -0
  61. package/example/.expo/web/cache/development/babel-loader/283e292d5ceb581a50e9755ac42601a2.json +1 -0
  62. package/example/.expo/web/cache/development/babel-loader/28d1872152a5070e160a78864dac71c9.json +1 -0
  63. package/example/.expo/web/cache/development/babel-loader/29518ab58c8aacdb2e5e164fc13d872b.json +1 -0
  64. package/example/.expo/web/cache/development/babel-loader/29d79f626f6ad6bfe79bbbf010acedf3.json +1 -0
  65. package/example/.expo/web/cache/development/babel-loader/2aa749a94f4df8b760e8acfdb25028ff.json +1 -0
  66. package/example/.expo/web/cache/development/babel-loader/2b64d55ee11f0015681db4ce68a395d2.json +1 -0
  67. package/example/.expo/web/cache/development/babel-loader/2cccd0ecb5914d7b91a0e2a0fbd995c9.json +1 -0
  68. package/example/.expo/web/cache/development/babel-loader/2dbbd507ae02c5249d7088f625312a95.json +1 -0
  69. package/example/.expo/web/cache/development/babel-loader/2dce9894a2affe7bfe287cd3e27b4efd.json +1 -0
  70. package/example/.expo/web/cache/development/babel-loader/2e27f8a130af009b492bc9f13a3bb578.json +1 -0
  71. package/example/.expo/web/cache/development/babel-loader/2f57f3c72b3b460c5d299bcf081b429b.json +1 -0
  72. package/example/.expo/web/cache/development/babel-loader/2f63db06dec4ae0f934cbe269ca78b7c.json +1 -0
  73. package/example/.expo/web/cache/development/babel-loader/3146ea18d415deb6177ac03e1355688e.json +1 -0
  74. package/example/.expo/web/cache/development/babel-loader/319feb766afa0b6ef1fd0f61a79d8306.json +1 -0
  75. package/example/.expo/web/cache/development/babel-loader/35c0fe0f3af5e5bb30c862ab2f0352fe.json +1 -0
  76. package/example/.expo/web/cache/development/babel-loader/35e42e8dca6b3242a869b68dd19c9320.json +1 -0
  77. package/example/.expo/web/cache/development/babel-loader/3683ce1bd7ea848ec955de2738873cfb.json +1 -0
  78. package/example/.expo/web/cache/development/babel-loader/368688165f40c4cfc59238bacf69d131.json +1 -0
  79. package/example/.expo/web/cache/development/babel-loader/36e75d47020ead36881558873b7ed051.json +1 -0
  80. package/example/.expo/web/cache/development/babel-loader/38146d6afeec03b463523c4710274e9a.json +1 -0
  81. package/example/.expo/web/cache/development/babel-loader/394f45d48a9648d70c4b5b64076be031.json +1 -0
  82. package/example/.expo/web/cache/development/babel-loader/3972208eae9b5b632b17b21baa8bf208.json +1 -0
  83. package/example/.expo/web/cache/development/babel-loader/39f743b81b60417ab847556a7179e22a.json +1 -0
  84. package/example/.expo/web/cache/development/babel-loader/3b7135501e404451314cdcc9fe0600b8.json +1 -0
  85. package/example/.expo/web/cache/development/babel-loader/3c20b6d457837e0ac87f3e648e6eca00.json +1 -0
  86. package/example/.expo/web/cache/development/babel-loader/3c5f38af9e2ec3a91de4f1b4fec17b0a.json +1 -0
  87. package/example/.expo/web/cache/development/babel-loader/3e1698f99f9fc08d49f7b34982fa5ff9.json +1 -0
  88. package/example/.expo/web/cache/development/babel-loader/3e2d35c9bbfe5423a7d98376bcd56e6b.json +1 -0
  89. package/example/.expo/web/cache/development/babel-loader/3e7a2e7fe4f726704b568371689534ae.json +1 -0
  90. package/example/.expo/web/cache/development/babel-loader/3f86d59727c3e03e54652149a8f8d3b6.json +1 -0
  91. package/example/.expo/web/cache/development/babel-loader/40402ff33d7840c2ef429fb4b123038d.json +1 -0
  92. package/example/.expo/web/cache/development/babel-loader/4088615ef9d57b3f7fe4190660ba6ddc.json +1 -0
  93. package/example/.expo/web/cache/development/babel-loader/40c4fde14ef2e0ea53a7432cd848ff2b.json +1 -0
  94. package/example/.expo/web/cache/development/babel-loader/42c2f18b8307bc0d3ea5d84373a5d67f.json +1 -0
  95. package/example/.expo/web/cache/development/babel-loader/437dd685561b93a81742ac2ecbeb7d41.json +1 -0
  96. package/example/.expo/web/cache/development/babel-loader/44dc1996d592f2e6f37bad3a90765f47.json +1 -0
  97. package/example/.expo/web/cache/development/babel-loader/45873f55ae22e035954bc06cc50b2173.json +1 -0
  98. package/example/.expo/web/cache/development/babel-loader/46679e2a6fceee1389fc81e63b21348f.json +1 -0
  99. package/example/.expo/web/cache/development/babel-loader/4861470a02020675a1ee3db81cf82013.json +1 -0
  100. package/example/.expo/web/cache/development/babel-loader/4864be71b0d3193e0c759b91a9548cce.json +1 -0
  101. package/example/.expo/web/cache/development/babel-loader/487488e8e5ae8ef9217e3c56a43ad05a.json +1 -0
  102. package/example/.expo/web/cache/development/babel-loader/49f4c364b909987eb06dde9e5e191155.json +1 -0
  103. package/example/.expo/web/cache/development/babel-loader/4b81b318c8d202092e5f11c893ba60ca.json +1 -0
  104. package/example/.expo/web/cache/development/babel-loader/4b929b061248038485fe18a4000f0dc7.json +1 -0
  105. package/example/.expo/web/cache/development/babel-loader/4bb899e66458fe70451b960feb748cca.json +1 -0
  106. package/example/.expo/web/cache/development/babel-loader/4bf2841cd4d191e4fcd069fc2defa95d.json +1 -0
  107. package/example/.expo/web/cache/development/babel-loader/4bfdf05b16115a8f6be82091518c35be.json +1 -0
  108. package/example/.expo/web/cache/development/babel-loader/4c14d7bff7de294fd991c68522f97ee4.json +1 -0
  109. package/example/.expo/web/cache/development/babel-loader/4c723644cc0a1300f119db91b3a4e1d8.json +1 -0
  110. package/example/.expo/web/cache/development/babel-loader/4c912e44b450dfff1f0d609c6fcf770c.json +1 -0
  111. package/example/.expo/web/cache/development/babel-loader/4c91a10b38720099ce4af9a3b12902e3.json +1 -0
  112. package/example/.expo/web/cache/development/babel-loader/4d466fa65871bcbc64956934ceb7b82f.json +1 -0
  113. package/example/.expo/web/cache/development/babel-loader/4e225e240a0c5e5724f9d92ab2c2a5c7.json +1 -0
  114. package/example/.expo/web/cache/development/babel-loader/4e741f92fbbd92b96334530f6ad10846.json +1 -0
  115. package/example/.expo/web/cache/development/babel-loader/4f17a38ef723d2f2f88ab36229447848.json +1 -0
  116. package/example/.expo/web/cache/development/babel-loader/5126e93c01ee93124a5e74d11303b9c8.json +1 -0
  117. package/example/.expo/web/cache/development/babel-loader/519238552f7ca486b938192b9cbcceae.json +1 -0
  118. package/example/.expo/web/cache/development/babel-loader/523038c6dc8ac0e76ef7a23d3eed51ec.json +1 -0
  119. package/example/.expo/web/cache/development/babel-loader/532fa6c08d38d3c6de9df3cbc1e6a903.json +1 -0
  120. package/example/.expo/web/cache/development/babel-loader/53bf8f177165c6b0e75a631aa4519d41.json +1 -0
  121. package/example/.expo/web/cache/development/babel-loader/53ea8a26aeb6e2759a7f1f5f4f56b6fb.json +1 -0
  122. package/example/.expo/web/cache/development/babel-loader/542e618262a94895f81236112129bd3e.json +1 -0
  123. package/example/.expo/web/cache/development/babel-loader/546891698aff03b72ed2f6ceb6e7fa89.json +1 -0
  124. package/example/.expo/web/cache/development/babel-loader/5471a749a6e8af27964d87af251c688a.json +1 -0
  125. package/example/.expo/web/cache/development/babel-loader/547a11a6bdd8bda252dfd4614f815fbb.json +1 -0
  126. package/example/.expo/web/cache/development/babel-loader/549d7a1c3d15fdb39d9bffcf267e3f56.json +1 -0
  127. package/example/.expo/web/cache/development/babel-loader/55add2461e97c93eb8aac04bb6999d6f.json +1 -0
  128. package/example/.expo/web/cache/development/babel-loader/566edd7dfdc185ef467beb97fcd9e08c.json +1 -0
  129. package/example/.expo/web/cache/development/babel-loader/567acdadac00f4c65b037849683131b6.json +1 -0
  130. package/example/.expo/web/cache/development/babel-loader/57892340c5b232df0a75f1339c9e68ce.json +1 -0
  131. package/example/.expo/web/cache/development/babel-loader/586d05cc2c149bd7435298a982b57d60.json +1 -0
  132. package/example/.expo/web/cache/development/babel-loader/5954d33f838e7e341ebe043096ac7fe5.json +1 -0
  133. package/example/.expo/web/cache/development/babel-loader/5a07d6d40bd575c25f45538b187acd8a.json +1 -0
  134. package/example/.expo/web/cache/development/babel-loader/5a27a1760bd4f6407b1fea26715a87bc.json +1 -0
  135. package/example/.expo/web/cache/development/babel-loader/5b36330631e46bbf63f870970b2122f7.json +1 -0
  136. package/example/.expo/web/cache/development/babel-loader/5b9bc4b234aa59e34135748fd93507b6.json +1 -0
  137. package/example/.expo/web/cache/development/babel-loader/5c0087a9595888025264a9904d1b8eef.json +1 -0
  138. package/example/.expo/web/cache/development/babel-loader/5d16233202c82021ddec174b9bb58863.json +1 -0
  139. package/example/.expo/web/cache/development/babel-loader/5d569557de3b7d5fa8afc576ac512a04.json +1 -0
  140. package/example/.expo/web/cache/development/babel-loader/5d646ca9aa7f759e829259ce504269e2.json +1 -0
  141. package/example/.expo/web/cache/development/babel-loader/5eef44eed8ccb290fe3456e2fe6bf8ed.json +1 -0
  142. package/example/.expo/web/cache/development/babel-loader/6024b3f768564aaeb1361263b0202a14.json +1 -0
  143. package/example/.expo/web/cache/development/babel-loader/61cfc5a0e7335e0b9a219b1cbe277614.json +1 -0
  144. package/example/.expo/web/cache/development/babel-loader/620f55f17382101002e5e9426ce3e366.json +1 -0
  145. package/example/.expo/web/cache/development/babel-loader/62676c7e580c2e05b3597d53b1cec852.json +1 -0
  146. package/example/.expo/web/cache/development/babel-loader/62f012bfa58863dc3ea69f00f9b90a77.json +1 -0
  147. package/example/.expo/web/cache/development/babel-loader/6320f4e69400d39312489472d7f26d50.json +1 -0
  148. package/example/.expo/web/cache/development/babel-loader/63a9473d63154c31603b1ec1c728c8ab.json +1 -0
  149. package/example/.expo/web/cache/development/babel-loader/63bae7aa325e3c82ba555ac19c0912fa.json +1 -0
  150. package/example/.expo/web/cache/development/babel-loader/63c7331c32b247560f7318cb076a7c40.json +1 -0
  151. package/example/.expo/web/cache/development/babel-loader/645eaa3c12cea785d12fed54225c1bad.json +1 -0
  152. package/example/.expo/web/cache/development/babel-loader/64f7c8f31e295eee69738bfe05c5bff5.json +1 -0
  153. package/example/.expo/web/cache/development/babel-loader/68189da0029a30976a2484255a17ce79.json +1 -0
  154. package/example/.expo/web/cache/development/babel-loader/696a6f2f23efafc28fc3c6d5b5ffaeac.json +1 -0
  155. package/example/.expo/web/cache/development/babel-loader/6991b1cd9f19326a94f92ef5b1b842a8.json +1 -0
  156. package/example/.expo/web/cache/development/babel-loader/6b97a59c5465397dba921f389acaafdd.json +1 -0
  157. package/example/.expo/web/cache/development/babel-loader/6c2f82c0db7403ccd4f19071f91173e4.json +1 -0
  158. package/example/.expo/web/cache/development/babel-loader/6c8a2848fe0f787148c2fb6de4264155.json +1 -0
  159. package/example/.expo/web/cache/development/babel-loader/6d6f8b41da6a4ba792c39f671105e620.json +1 -0
  160. package/example/.expo/web/cache/development/babel-loader/6e1b109f621c0d54775303f058483115.json +1 -0
  161. package/example/.expo/web/cache/development/babel-loader/6f12c17d739331ecffc1403342ba41da.json +1 -0
  162. package/example/.expo/web/cache/development/babel-loader/6fd1661af13dedb5e44522d491a1caf6.json +1 -0
  163. package/example/.expo/web/cache/development/babel-loader/70011f5e5361437bcf72ec2b53fad9f0.json +1 -0
  164. package/example/.expo/web/cache/development/babel-loader/71c89114f87eec2560a35accc6fb21d7.json +1 -0
  165. package/example/.expo/web/cache/development/babel-loader/71f17bedd745f584f7abc4f4d51c7ad4.json +1 -0
  166. package/example/.expo/web/cache/development/babel-loader/72b944856e68e4a8a0ed8e4c2413070a.json +1 -0
  167. package/example/.expo/web/cache/development/babel-loader/740b2f1ab937b3d8fae7d547e9118390.json +1 -0
  168. package/example/.expo/web/cache/development/babel-loader/748a994e95eb1d1311d08dae70ff213a.json +1 -0
  169. package/example/.expo/web/cache/development/babel-loader/74b3b0d02f286a48fe045bb68c2a4650.json +1 -0
  170. package/example/.expo/web/cache/development/babel-loader/74d8aca04393d958004db6c2ef850b15.json +1 -0
  171. package/example/.expo/web/cache/development/babel-loader/765c63eb89770f11615c740460d8a605.json +1 -0
  172. package/example/.expo/web/cache/development/babel-loader/7695443a011b53044155a45950f64551.json +1 -0
  173. package/example/.expo/web/cache/development/babel-loader/77348d41c4a630ac871ec1662d753572.json +1 -0
  174. package/example/.expo/web/cache/development/babel-loader/77a4283c1f4aa52a3ec7489dfcb4fd3c.json +1 -0
  175. package/example/.expo/web/cache/development/babel-loader/77c1d4c9c2134086a760c84c8dbb0767.json +1 -0
  176. package/example/.expo/web/cache/development/babel-loader/7856391ec0a27839d3fa6acbeb9aadda.json +1 -0
  177. package/example/.expo/web/cache/development/babel-loader/78d3d5bbf14c6f41859897e37d770fcf.json +1 -0
  178. package/example/.expo/web/cache/development/babel-loader/79c9840acdf1d5058d1dd9a3ee4c26a1.json +1 -0
  179. package/example/.expo/web/cache/development/babel-loader/79d14c794bf695a8710614f2650caadc.json +1 -0
  180. package/example/.expo/web/cache/development/babel-loader/79d484d4cd279cefd19f3ae34fbabc47.json +1 -0
  181. package/example/.expo/web/cache/development/babel-loader/7ac59aadbbeb87bbaa689455f49462e7.json +1 -0
  182. package/example/.expo/web/cache/development/babel-loader/7addb7eb6bdec7308191a341bbe4f418.json +1 -0
  183. package/example/.expo/web/cache/development/babel-loader/7c6b46cf1a8d27fbf10098fc7b3147d4.json +1 -0
  184. package/example/.expo/web/cache/development/babel-loader/7e073695c8dd0edfff43941d69ed768f.json +1 -0
  185. package/example/.expo/web/cache/development/babel-loader/7ea547e52608eb3d07287f91483f92d0.json +1 -0
  186. package/example/.expo/web/cache/development/babel-loader/80b2a7b63d2968f55ad413f37a77625e.json +1 -0
  187. package/example/.expo/web/cache/development/babel-loader/81da8afb512f1fe3dc5283eed7693dc3.json +1 -0
  188. package/example/.expo/web/cache/development/babel-loader/83ce5beb699584197b95c23e16070359.json +1 -0
  189. package/example/.expo/web/cache/development/babel-loader/84cbca54aad0ba7ad9155efbe50994e6.json +1 -0
  190. package/example/.expo/web/cache/development/babel-loader/86aa7c8020aadae1b6047e779a070006.json +1 -0
  191. package/example/.expo/web/cache/development/babel-loader/873f17ead5c8a3a89f8c307d3fc3d749.json +1 -0
  192. package/example/.expo/web/cache/development/babel-loader/88fd90442a3cd6528e4248e448007e21.json +1 -0
  193. package/example/.expo/web/cache/development/babel-loader/8947ed6ed81ae1ed2f0d1a5f7a21d4bd.json +1 -0
  194. package/example/.expo/web/cache/development/babel-loader/8b0fa6466bfbb43efbc8a796bb0a058f.json +1 -0
  195. package/example/.expo/web/cache/development/babel-loader/8bcdd0d74f6bf06c96dc636553f1ada8.json +1 -0
  196. package/example/.expo/web/cache/development/babel-loader/8bfd7063b443cb17646e674300dd862b.json +1 -0
  197. package/example/.expo/web/cache/development/babel-loader/8d06501d3b127619583bc480630ad389.json +1 -0
  198. package/example/.expo/web/cache/development/babel-loader/8d9e770602734e0d230feafb37171ca8.json +1 -0
  199. package/example/.expo/web/cache/development/babel-loader/8dbfb280c88ee5948b0a3cc84074bd43.json +1 -0
  200. package/example/.expo/web/cache/development/babel-loader/8df99953a7fe26875c55c9bc1e71ca29.json +1 -0
  201. package/example/.expo/web/cache/development/babel-loader/8e7ea386f4f497f8c5e0a4a9b80b093a.json +1 -0
  202. package/example/.expo/web/cache/development/babel-loader/8efad0218d4db05da11e8e21002ac55e.json +1 -0
  203. package/example/.expo/web/cache/development/babel-loader/8f6e1de5d12755c13e6c50a07e2d0778.json +1 -0
  204. package/example/.expo/web/cache/development/babel-loader/91ed31500f942f97aec1be73e89a7af8.json +1 -0
  205. package/example/.expo/web/cache/development/babel-loader/9252abf85af8c03f427a2e2117a1ad62.json +1 -0
  206. package/example/.expo/web/cache/development/babel-loader/92b72e3964caccd73a132a988edcfae7.json +1 -0
  207. package/example/.expo/web/cache/development/babel-loader/93945109a64716fc3d15a12d81598ef8.json +1 -0
  208. package/example/.expo/web/cache/development/babel-loader/93ee4950a9326c046f9fa65c13dac411.json +1 -0
  209. package/example/.expo/web/cache/development/babel-loader/93fe9632bb5db4ded992478e2af27d5f.json +1 -0
  210. package/example/.expo/web/cache/development/babel-loader/942ff966d1b2f375164a20370f75739c.json +1 -0
  211. package/example/.expo/web/cache/development/babel-loader/954ad5b7f72730fad3a93e8333b0da09.json +1 -0
  212. package/example/.expo/web/cache/development/babel-loader/957bea32dcc83e0fc7f2fd8795a8f818.json +1 -0
  213. package/example/.expo/web/cache/development/babel-loader/964cb097c867a1ded7eb7446f5548c22.json +1 -0
  214. package/example/.expo/web/cache/development/babel-loader/98e4f7e158718137c26f2fe60b84369d.json +1 -0
  215. package/example/.expo/web/cache/development/babel-loader/9ae989e87da92329c1f285a30c2be6f5.json +1 -0
  216. package/example/.expo/web/cache/development/babel-loader/9ba4ab6ad62c186c10cc4440ed5f54a7.json +1 -0
  217. package/example/.expo/web/cache/development/babel-loader/9ce0ea8540198d071a57d36dae227cbc.json +1 -0
  218. package/example/.expo/web/cache/development/babel-loader/9d2bab4aa3187dee265f1d9c8ce6f0f6.json +1 -0
  219. package/example/.expo/web/cache/development/babel-loader/9e653ee142610f0516609ca3fb386739.json +1 -0
  220. package/example/.expo/web/cache/development/babel-loader/9e75ea79fea0209053c68ef4989b4a3a.json +1 -0
  221. package/example/.expo/web/cache/development/babel-loader/9f2f6a11de269026061831c947435758.json +1 -0
  222. package/example/.expo/web/cache/development/babel-loader/9f3fd9ca3231e3002df99db9d9616aa0.json +1 -0
  223. package/example/.expo/web/cache/development/babel-loader/a076afeae19d4e15321e5d81cf41364a.json +1 -0
  224. package/example/.expo/web/cache/development/babel-loader/a261d7c057c570a5d74c5c84cc08e7f9.json +1 -0
  225. package/example/.expo/web/cache/development/babel-loader/a3611e076e067e7397bd47a9ebe95cf1.json +1 -0
  226. package/example/.expo/web/cache/development/babel-loader/a375a3eadad6ab2ce64ed38759b31415.json +1 -0
  227. package/example/.expo/web/cache/development/babel-loader/a3b99e0ec7f17e098c6b02a04282d805.json +1 -0
  228. package/example/.expo/web/cache/development/babel-loader/a3bde08c6c572203f93bcfa1170d4790.json +1 -0
  229. package/example/.expo/web/cache/development/babel-loader/a3bf51a1af912c42396b784cf9851941.json +1 -0
  230. package/example/.expo/web/cache/development/babel-loader/a48b6217b860aab3e81b366a7306ee03.json +1 -0
  231. package/example/.expo/web/cache/development/babel-loader/a4d591b829ddddd57e666af1737b9d34.json +1 -0
  232. package/example/.expo/web/cache/development/babel-loader/a5439975918b87c11694b33af83dab36.json +1 -0
  233. package/example/.expo/web/cache/development/babel-loader/a5813eb247e0c87dcc99934f4b49ae48.json +1 -0
  234. package/example/.expo/web/cache/development/babel-loader/a584b9a0fe744b07e9054b7aa6e79f77.json +1 -0
  235. package/example/.expo/web/cache/development/babel-loader/a689718c369fcd0f651d9089f15f507e.json +1 -0
  236. package/example/.expo/web/cache/development/babel-loader/a78dc48e202b1f3be61ef3bc64699d14.json +1 -0
  237. package/example/.expo/web/cache/development/babel-loader/a79a096843947a83012402bb34b93567.json +1 -0
  238. package/example/.expo/web/cache/development/babel-loader/aa0e6e0aa152ebcb49584ecc82533c72.json +1 -0
  239. package/example/.expo/web/cache/development/babel-loader/abfc16406c69f7727d3e40be1f492f11.json +1 -0
  240. package/example/.expo/web/cache/development/babel-loader/ac5ac27f40cd535964ff8a0f4a7ee169.json +1 -0
  241. package/example/.expo/web/cache/development/babel-loader/ac5c7f32acb8bbc71777904317929782.json +1 -0
  242. package/example/.expo/web/cache/development/babel-loader/acc343298b9d93f37fea5d0160a6e4ba.json +1 -0
  243. package/example/.expo/web/cache/development/babel-loader/b0a4e8cf7a76d3009a62200ed32812d9.json +1 -0
  244. package/example/.expo/web/cache/development/babel-loader/b1661b3c840f0f1de996ba1d52a39764.json +1 -0
  245. package/example/.expo/web/cache/development/babel-loader/b18b69c1c5e4f8cf7c4ded4ea78be1b5.json +1 -0
  246. package/example/.expo/web/cache/development/babel-loader/b265f89f5ab4c2ac5fe0a4efeb01770f.json +1 -0
  247. package/example/.expo/web/cache/development/babel-loader/b32b03cd1b812594924db2f0dadb2f56.json +1 -0
  248. package/example/.expo/web/cache/development/babel-loader/b36ad3720ed8bc69cd40bacd30394013.json +1 -0
  249. package/example/.expo/web/cache/development/babel-loader/b5d4cbb6bcdc394e0d5535f5bbf695e3.json +1 -0
  250. package/example/.expo/web/cache/development/babel-loader/b64b0b9559bbba155f24caa6cf08f433.json +1 -0
  251. package/example/.expo/web/cache/development/babel-loader/bbfb771df3000d27f236c2f6538e6d31.json +1 -0
  252. package/example/.expo/web/cache/development/babel-loader/bcd08666cb6eeb4d7141e38e753e5e5c.json +1 -0
  253. package/example/.expo/web/cache/development/babel-loader/beef69cc65e73363978524809c84094f.json +1 -0
  254. package/example/.expo/web/cache/development/babel-loader/bf018174df7cdbed5ae77cf03c266fee.json +1 -0
  255. package/example/.expo/web/cache/development/babel-loader/bf53ba81ac3956a07f41a09fa6c4fa7e.json +1 -0
  256. package/example/.expo/web/cache/development/babel-loader/c15cb7604e78e9a4f0cc5e4b79a227c2.json +1 -0
  257. package/example/.expo/web/cache/development/babel-loader/c20807f969171763f83e5286ffb7183c.json +1 -0
  258. package/example/.expo/web/cache/development/babel-loader/c309e4999a3ca5404709ed911ec9fdda.json +1 -0
  259. package/example/.expo/web/cache/development/babel-loader/c37b2427c54ed0b731d9413ea475f338.json +1 -0
  260. package/example/.expo/web/cache/development/babel-loader/c43017273abd7760afa188cb903bfa5d.json +1 -0
  261. package/example/.expo/web/cache/development/babel-loader/c5134c3fb7b800b1c9b34655b8e97e4f.json +1 -0
  262. package/example/.expo/web/cache/development/babel-loader/c62552ef04c76cdb7a94ba2f041360ac.json +1 -0
  263. package/example/.expo/web/cache/development/babel-loader/c69144c50f8f0d981b66c62204aaae74.json +1 -0
  264. package/example/.expo/web/cache/development/babel-loader/c733b561ef63b80564242d9b6f4954ec.json +1 -0
  265. package/example/.expo/web/cache/development/babel-loader/c78a01224ddb57513f9dc1603e721184.json +1 -0
  266. package/example/.expo/web/cache/development/babel-loader/c800cb1a4eccf4cc18e1408cf178b86d.json +1 -0
  267. package/example/.expo/web/cache/development/babel-loader/c8c61768113386918420fa8baaa34704.json +1 -0
  268. package/example/.expo/web/cache/development/babel-loader/ca0c207f9e3ba434db8f3775513736e6.json +1 -0
  269. package/example/.expo/web/cache/development/babel-loader/ca4498d52ea6fed7e01c9ed5c26fcf95.json +1 -0
  270. package/example/.expo/web/cache/development/babel-loader/cba71c3eea31dc8ca85b9ced8f7b1720.json +1 -0
  271. package/example/.expo/web/cache/development/babel-loader/cc2ae312a6441a2fedd76ee22ac87d51.json +1 -0
  272. package/example/.expo/web/cache/development/babel-loader/cc37b4c4f23da7c9d04d8693a5bbaaab.json +1 -0
  273. package/example/.expo/web/cache/development/babel-loader/cced66a0b48653e5bfa98910a88f9fba.json +1 -0
  274. package/example/.expo/web/cache/development/babel-loader/cd0e23910d814598adda82d05396be53.json +1 -0
  275. package/example/.expo/web/cache/development/babel-loader/cd55e478acd924f5c082f02840ed8bbb.json +1 -0
  276. package/example/.expo/web/cache/development/babel-loader/cd8b6c6cd6a24fa61739c4d22dda95f8.json +1 -0
  277. package/example/.expo/web/cache/development/babel-loader/cdf6fa5dcab6f3a13fa07e89fe985423.json +1 -0
  278. package/example/.expo/web/cache/development/babel-loader/ceccb76ea280ae97ededa88718ed0c3b.json +1 -0
  279. package/example/.expo/web/cache/development/babel-loader/cfc467109de81a77ce3d683966f4b354.json +1 -0
  280. package/example/.expo/web/cache/development/babel-loader/d0c3cb818782b9a81bfc30385f72b89b.json +1 -0
  281. package/example/.expo/web/cache/development/babel-loader/d0fcdc8e889d972bbb4337e548164f40.json +1 -0
  282. package/example/.expo/web/cache/development/babel-loader/d168cd3939b990979e911bb032f8577b.json +1 -0
  283. package/example/.expo/web/cache/development/babel-loader/d2fc7ecda4f6641f8d52e406be776196.json +1 -0
  284. package/example/.expo/web/cache/development/babel-loader/d358f00c23a45360cbb79dabdb721cd1.json +1 -0
  285. package/example/.expo/web/cache/development/babel-loader/d45d41c244dad2c3ea03ba49a46a0423.json +1 -0
  286. package/example/.expo/web/cache/development/babel-loader/d4f6275737ee0b15864d1784084ec4e9.json +1 -0
  287. package/example/.expo/web/cache/development/babel-loader/d5420905583aa27006ceaa13da6b662a.json +1 -0
  288. package/example/.expo/web/cache/development/babel-loader/d5552d7ee552fec6e21e0b398feb3ddb.json +1 -0
  289. package/example/.expo/web/cache/development/babel-loader/d5cec4c149045421487b8541b94a68b3.json +1 -0
  290. package/example/.expo/web/cache/development/babel-loader/d72ee3cf688a67b27f18b05bef74d879.json +1 -0
  291. package/example/.expo/web/cache/development/babel-loader/d797775538f909e9de0d644bcf0389e4.json +1 -0
  292. package/example/.expo/web/cache/development/babel-loader/d7cfda25d1654f23b9938352b3e5f0fd.json +1 -0
  293. package/example/.expo/web/cache/development/babel-loader/d7f22047db03832a0314db9bb7c9e4e8.json +1 -0
  294. package/example/.expo/web/cache/development/babel-loader/d92da9ccd71edac1d6d7f1b72554205f.json +1 -0
  295. package/example/.expo/web/cache/development/babel-loader/dae925659703faa3496df0985e30eb46.json +1 -0
  296. package/example/.expo/web/cache/development/babel-loader/db2362a80925087fd6dfea2ecf5d1527.json +1 -0
  297. package/example/.expo/web/cache/development/babel-loader/db44721b3956bd3b7617e773f566987b.json +1 -0
  298. package/example/.expo/web/cache/development/babel-loader/dd2e7e9f0700b6295764b0357f97fbd1.json +1 -0
  299. package/example/.expo/web/cache/development/babel-loader/dee3d7eeaa9d088adee455787ecfdbba.json +1 -0
  300. package/example/.expo/web/cache/development/babel-loader/df177e28e870b3f9ed04286275590e05.json +1 -0
  301. package/example/.expo/web/cache/development/babel-loader/df8cca84735630b31c89ab8c4525d586.json +1 -0
  302. package/example/.expo/web/cache/development/babel-loader/dffc3d3b5387634869406f7b262b0334.json +1 -0
  303. package/example/.expo/web/cache/development/babel-loader/e00a687de4af483a065036c6b80fa9f9.json +1 -0
  304. package/example/.expo/web/cache/development/babel-loader/e0bc2b67f28f7d20625141635fb72278.json +1 -0
  305. package/example/.expo/web/cache/development/babel-loader/e12513c015e82fb05ce94ecc8be7102a.json +1 -0
  306. package/example/.expo/web/cache/development/babel-loader/e13d64c5b0cbfdf147e8b47baa112969.json +1 -0
  307. package/example/.expo/web/cache/development/babel-loader/e1630fcfbaff568bf2f669a3e388c026.json +1 -0
  308. package/example/.expo/web/cache/development/babel-loader/e1962858e3fc18c71d271c6eaa3a943d.json +1 -0
  309. package/example/.expo/web/cache/development/babel-loader/e1a0963978b2cb66dec1b5d8a5a2c753.json +1 -0
  310. package/example/.expo/web/cache/development/babel-loader/e21dcee29960dda3812a8e73f9b0fcbc.json +1 -0
  311. package/example/.expo/web/cache/development/babel-loader/e2faafd77df6c4f281c0c99a9e458e54.json +1 -0
  312. package/example/.expo/web/cache/development/babel-loader/e30c76c9a2d4f8d448441c1cb652eb01.json +1 -0
  313. package/example/.expo/web/cache/development/babel-loader/e3e477529ed5548f8e901ee83d7395ef.json +1 -0
  314. package/example/.expo/web/cache/development/babel-loader/e40e88a5ee7080ae8c27b8b8b14fbe3b.json +1 -0
  315. package/example/.expo/web/cache/development/babel-loader/e4815f1b8edf5002fdece1b55fbc36bb.json +1 -0
  316. package/example/.expo/web/cache/development/babel-loader/e656bc77be79a05f8054e227f7f79d12.json +1 -0
  317. package/example/.expo/web/cache/development/babel-loader/e6f55b8bb2f55bff9c7239707407e38b.json +1 -0
  318. package/example/.expo/web/cache/development/babel-loader/e71b020cacbbe302bb14d7910742ec2d.json +1 -0
  319. package/example/.expo/web/cache/development/babel-loader/e7472dd2c104082f95c6920e14b1ebf1.json +1 -0
  320. package/example/.expo/web/cache/development/babel-loader/e7b42d4997a3a0970f307de97b93e04a.json +1 -0
  321. package/example/.expo/web/cache/development/babel-loader/e958dca390e4e96d3ffd3fd3e668de5a.json +1 -0
  322. package/example/.expo/web/cache/development/babel-loader/e9ee1fc9a9a662fdf210526a05895585.json +1 -0
  323. package/example/.expo/web/cache/development/babel-loader/ea69e12059df73da64e057bade5f4ba1.json +1 -0
  324. package/example/.expo/web/cache/development/babel-loader/eae09ceb3f4483977f405539fff299a4.json +1 -0
  325. package/example/.expo/web/cache/development/babel-loader/eaffd3d95bf68dd8a7419e53498b4640.json +1 -0
  326. package/example/.expo/web/cache/development/babel-loader/ec22a1721004d1dffd715720d5c2bda5.json +1 -0
  327. package/example/.expo/web/cache/development/babel-loader/ee15d7496b6f14edc02d2cd58a7353f9.json +1 -0
  328. package/example/.expo/web/cache/development/babel-loader/ee8e3abcff9f49ec89705c0e083bc14e.json +1 -0
  329. package/example/.expo/web/cache/development/babel-loader/ef79cc0b13fea249ac3b074f0a0de8eb.json +1 -0
  330. package/example/.expo/web/cache/development/babel-loader/efdf5fb16bfb6755d38d6afaec705dcc.json +1 -0
  331. package/example/.expo/web/cache/development/babel-loader/f114b6650124f4aa114c8641a8fb2e95.json +1 -0
  332. package/example/.expo/web/cache/development/babel-loader/f26a2ea3fe78d43644601e71fefe7a1e.json +1 -0
  333. package/example/.expo/web/cache/development/babel-loader/f2df4e0da01cdba6223f5bbe6b36ff68.json +1 -0
  334. package/example/.expo/web/cache/development/babel-loader/f3060f14259d3179812abd59791780a5.json +1 -0
  335. package/example/.expo/web/cache/development/babel-loader/f3beb518b54ed38f03ac6db8f54e60ff.json +1 -0
  336. package/example/.expo/web/cache/development/babel-loader/f3c616fbd126299d1e806d6ecc1ec318.json +1 -0
  337. package/example/.expo/web/cache/development/babel-loader/f42e9bcb2c70b941d26c869beae57ebd.json +1 -0
  338. package/example/.expo/web/cache/development/babel-loader/f4a9921d6e837efff4d9a9df358e594f.json +1 -0
  339. package/example/.expo/web/cache/development/babel-loader/f4c95c91f375005a143433586f729253.json +1 -0
  340. package/example/.expo/web/cache/development/babel-loader/f557735276807fa1f2857d869fcf3f24.json +1 -0
  341. package/example/.expo/web/cache/development/babel-loader/f7747a8774208f97feee323659c8fd9c.json +1 -0
  342. package/example/.expo/web/cache/development/babel-loader/f78eccb875790b4d905e542a961bf15d.json +1 -0
  343. package/example/.expo/web/cache/development/babel-loader/f79a20eb5fe07a41699a4082250176ee.json +1 -0
  344. package/example/.expo/web/cache/development/babel-loader/f8161007e70676aff950dd230d92b913.json +1 -0
  345. package/example/.expo/web/cache/development/babel-loader/f89bed9b99073eb34bdcfe509a9eef7b.json +1 -0
  346. package/example/.expo/web/cache/development/babel-loader/f8da7cfcc868c4561939eb69b187852b.json +1 -0
  347. package/example/.expo/web/cache/development/babel-loader/f9a453849a2adca3c8d16c288ee63674.json +1 -0
  348. package/example/.expo/web/cache/development/babel-loader/f9c8751528f50853c93bccaef3665cb2.json +1 -0
  349. package/example/.expo/web/cache/development/babel-loader/fa1cac776862e25b801ccd74fe04dedb.json +1 -0
  350. package/example/.expo/web/cache/development/babel-loader/fa7135f62c5758217dd521fe11e4f3be.json +1 -0
  351. package/example/.expo/web/cache/development/babel-loader/fb1afe2167ecb0e405e51371bc59a75e.json +1 -0
  352. package/example/.expo/web/cache/development/babel-loader/fc02f1af2a9db4facfa4f4fc290432fe.json +1 -0
  353. package/example/.expo/web/cache/development/babel-loader/fc62eb1057700a3ed46569b3ca6ae7b8.json +1 -0
  354. package/example/.expo/web/cache/development/babel-loader/fc941b53721fd7910cde57ec192fe407.json +1 -0
  355. package/example/.expo/web/cache/development/babel-loader/fd143c0566e976f3b69413de3ca79ebf.json +1 -0
  356. package/example/.expo/web/cache/development/babel-loader/fd655c3e164d6c50e7affcee01046566.json +1 -0
  357. package/example/.expo/web/cache/development/babel-loader/fdada169c1988ef70eea3e2b77f7b727.json +1 -0
  358. package/example/.expo/web/cache/development/babel-loader/fe0a5f0e6f28f358efb1ed12c10b3240.json +1 -0
  359. package/example/.expo/web/cache/development/babel-loader/ff9a6e20e331b715609602c9bca399e9.json +1 -0
  360. package/example/package.json +11 -13
  361. package/example/src/App.tsx +39 -34
  362. package/example/src/CandlestickChart.tsx +4 -1
  363. package/example/src/LineChart.tsx +20 -4
  364. package/example/src/data/line-data.json +20 -20
  365. package/example/yarn.lock +1819 -8871
  366. package/lib/commonjs/charts/candle/HoverTrap/index.web.js +120 -0
  367. package/lib/commonjs/charts/candle/HoverTrap/index.web.js.map +1 -0
  368. package/lib/commonjs/charts/candle/utils/getDomain.js +19 -0
  369. package/lib/commonjs/charts/candle/utils/getDomain.js.map +1 -0
  370. package/lib/commonjs/charts/candle/utils/getHeight.js +19 -0
  371. package/lib/commonjs/charts/candle/utils/getHeight.js.map +1 -0
  372. package/lib/commonjs/charts/candle/utils/getPrice.js +20 -0
  373. package/lib/commonjs/charts/candle/utils/getPrice.js.map +1 -0
  374. package/lib/commonjs/charts/candle/utils/getY.js +19 -0
  375. package/lib/commonjs/charts/candle/utils/getY.js.map +1 -0
  376. package/lib/commonjs/charts/candle/utils/index.js +58 -0
  377. package/lib/commonjs/charts/candle/utils/index.js.map +1 -0
  378. package/lib/commonjs/charts/line/Chart.js +27 -9
  379. package/lib/commonjs/charts/line/Chart.js.map +1 -1
  380. package/lib/commonjs/charts/line/ChartPath.js +83 -21
  381. package/lib/commonjs/charts/line/ChartPath.js.map +1 -1
  382. package/lib/commonjs/charts/line/Context.js +8 -4
  383. package/lib/commonjs/charts/line/Context.js.map +1 -1
  384. package/lib/commonjs/charts/line/Cursor.js +2 -1
  385. package/lib/commonjs/charts/line/Cursor.js.map +1 -1
  386. package/lib/commonjs/charts/line/CursorCrosshair.js +12 -3
  387. package/lib/commonjs/charts/line/CursorCrosshair.js.map +1 -1
  388. package/lib/commonjs/charts/line/CursorLine.js +6 -6
  389. package/lib/commonjs/charts/line/CursorLine.js.map +1 -1
  390. package/lib/commonjs/charts/line/DatetimeText.js +2 -0
  391. package/lib/commonjs/charts/line/DatetimeText.js.map +1 -1
  392. package/lib/commonjs/charts/line/Dot.js +126 -0
  393. package/lib/commonjs/charts/line/Dot.js.map +1 -0
  394. package/lib/commonjs/charts/line/Gradient.js +8 -25
  395. package/lib/commonjs/charts/line/Gradient.js.map +1 -1
  396. package/lib/commonjs/charts/line/Group.js +5 -24
  397. package/lib/commonjs/charts/line/Group.js.map +1 -1
  398. package/lib/commonjs/charts/line/Highlight.js +92 -0
  399. package/lib/commonjs/charts/line/Highlight.js.map +1 -0
  400. package/lib/commonjs/charts/line/HorizontalLine.js +6 -6
  401. package/lib/commonjs/charts/line/HorizontalLine.js.map +1 -1
  402. package/lib/commonjs/charts/line/HoverTrap/index.js +15 -0
  403. package/lib/commonjs/charts/line/HoverTrap/index.js.map +1 -0
  404. package/lib/commonjs/charts/line/HoverTrap/index.web.js +120 -0
  405. package/lib/commonjs/charts/line/HoverTrap/index.web.js.map +1 -0
  406. package/lib/commonjs/charts/line/Path.js +19 -30
  407. package/lib/commonjs/charts/line/Path.js.map +1 -1
  408. package/lib/commonjs/charts/line/PriceText.js +2 -0
  409. package/lib/commonjs/charts/line/PriceText.js.map +1 -1
  410. package/lib/commonjs/charts/line/Tooltip.js +2 -0
  411. package/lib/commonjs/charts/line/Tooltip.js.map +1 -1
  412. package/lib/commonjs/charts/line/index.js +48 -15
  413. package/lib/commonjs/charts/line/index.js.map +1 -1
  414. package/lib/commonjs/charts/line/useAnimatedPath.js +44 -0
  415. package/lib/commonjs/charts/line/useAnimatedPath.js.map +1 -0
  416. package/lib/commonjs/charts/line/{utils.js → utils/getArea.js} +2 -49
  417. package/lib/commonjs/charts/line/utils/getArea.js.map +1 -0
  418. package/lib/commonjs/charts/line/utils/getDomain.js +16 -0
  419. package/lib/commonjs/charts/line/utils/getDomain.js.map +1 -0
  420. package/lib/commonjs/charts/line/utils/getPath.js +34 -0
  421. package/lib/commonjs/charts/line/utils/getPath.js.map +1 -0
  422. package/lib/commonjs/charts/line/utils/index.js +71 -0
  423. package/lib/commonjs/charts/line/utils/index.js.map +1 -0
  424. package/lib/commonjs/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
  425. package/lib/commonjs/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
  426. package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js +27 -0
  427. package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
  428. package/lib/commonjs/components/AnimatedText.js +25 -13
  429. package/lib/commonjs/components/AnimatedText.js.map +1 -1
  430. package/lib/commonjs/index.js +8 -8
  431. package/lib/commonjs/index.js.map +1 -1
  432. package/lib/commonjs/utils/formatDatetime.js +21 -0
  433. package/lib/commonjs/utils/formatDatetime.js.map +1 -0
  434. package/lib/commonjs/utils/formatPrice.js +46 -0
  435. package/lib/commonjs/utils/formatPrice.js.map +1 -0
  436. package/lib/commonjs/utils/index.js +45 -0
  437. package/lib/commonjs/utils/index.js.map +1 -0
  438. package/lib/commonjs/{utils.js → utils/usePrevious.js} +1 -57
  439. package/lib/commonjs/utils/usePrevious.js.map +1 -0
  440. package/lib/module/charts/candle/HoverTrap/index.web.js +101 -0
  441. package/lib/module/charts/candle/HoverTrap/index.web.js.map +1 -0
  442. package/lib/module/charts/candle/utils/getDomain.js +12 -0
  443. package/lib/module/charts/candle/utils/getDomain.js.map +1 -0
  444. package/lib/module/charts/candle/utils/getHeight.js +11 -0
  445. package/lib/module/charts/candle/utils/getHeight.js.map +1 -0
  446. package/lib/module/charts/candle/utils/getPrice.js +12 -0
  447. package/lib/module/charts/candle/utils/getPrice.js.map +1 -0
  448. package/lib/module/charts/candle/utils/getY.js +11 -0
  449. package/lib/module/charts/candle/utils/getY.js.map +1 -0
  450. package/lib/module/charts/candle/utils/index.js +5 -0
  451. package/lib/module/charts/candle/utils/index.js.map +1 -0
  452. package/lib/module/charts/line/Chart.js +27 -10
  453. package/lib/module/charts/line/Chart.js.map +1 -1
  454. package/lib/module/charts/line/ChartPath.js +79 -21
  455. package/lib/module/charts/line/ChartPath.js.map +1 -1
  456. package/lib/module/charts/line/Context.js +8 -4
  457. package/lib/module/charts/line/Context.js.map +1 -1
  458. package/lib/module/charts/line/Cursor.js +2 -1
  459. package/lib/module/charts/line/Cursor.js.map +1 -1
  460. package/lib/module/charts/line/CursorCrosshair.js +12 -4
  461. package/lib/module/charts/line/CursorCrosshair.js.map +1 -1
  462. package/lib/module/charts/line/CursorLine.js +4 -3
  463. package/lib/module/charts/line/CursorLine.js.map +1 -1
  464. package/lib/module/charts/line/DatetimeText.js +1 -0
  465. package/lib/module/charts/line/DatetimeText.js.map +1 -1
  466. package/lib/module/charts/line/Dot.js +105 -0
  467. package/lib/module/charts/line/Dot.js.map +1 -0
  468. package/lib/module/charts/line/Gradient.js +8 -24
  469. package/lib/module/charts/line/Gradient.js.map +1 -1
  470. package/lib/module/charts/line/Group.js +2 -23
  471. package/lib/module/charts/line/Group.js.map +1 -1
  472. package/lib/module/charts/line/Highlight.js +69 -0
  473. package/lib/module/charts/line/Highlight.js.map +1 -0
  474. package/lib/module/charts/line/HorizontalLine.js +4 -3
  475. package/lib/module/charts/line/HorizontalLine.js.map +1 -1
  476. package/lib/module/charts/line/HoverTrap/index.js +3 -0
  477. package/lib/module/charts/line/HoverTrap/index.js.map +1 -0
  478. package/lib/module/charts/line/HoverTrap/index.web.js +101 -0
  479. package/lib/module/charts/line/HoverTrap/index.web.js.map +1 -0
  480. package/lib/module/charts/line/Path.js +17 -29
  481. package/lib/module/charts/line/Path.js.map +1 -1
  482. package/lib/module/charts/line/PriceText.js +1 -0
  483. package/lib/module/charts/line/PriceText.js.map +1 -1
  484. package/lib/module/charts/line/Tooltip.js +1 -0
  485. package/lib/module/charts/line/Tooltip.js.map +1 -1
  486. package/lib/module/charts/line/index.js +13 -5
  487. package/lib/module/charts/line/index.js.map +1 -1
  488. package/lib/module/charts/line/useAnimatedPath.js +34 -0
  489. package/lib/module/charts/line/useAnimatedPath.js.map +1 -0
  490. package/lib/module/charts/line/utils/getArea.js +19 -0
  491. package/lib/module/charts/line/utils/getArea.js.map +1 -0
  492. package/lib/module/charts/line/utils/getDomain.js +9 -0
  493. package/lib/module/charts/line/utils/getDomain.js.map +1 -0
  494. package/lib/module/charts/line/utils/getPath.js +21 -0
  495. package/lib/module/charts/line/utils/getPath.js.map +1 -0
  496. package/lib/module/charts/line/utils/index.js +6 -0
  497. package/lib/module/charts/line/utils/index.js.map +1 -0
  498. package/lib/module/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
  499. package/lib/module/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
  500. package/lib/module/charts/line/utils/lineChartDataPropToArray.js +20 -0
  501. package/lib/module/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
  502. package/lib/module/components/AnimatedText.js +24 -13
  503. package/lib/module/components/AnimatedText.js.map +1 -1
  504. package/lib/module/index.js +1 -1
  505. package/lib/module/index.js.map +1 -1
  506. package/lib/module/utils/formatDatetime.js +14 -0
  507. package/lib/module/utils/formatDatetime.js.map +1 -0
  508. package/lib/module/{utils.js → utils/formatPrice.js} +1 -29
  509. package/lib/module/utils/formatPrice.js.map +1 -0
  510. package/lib/module/utils/index.js +4 -0
  511. package/lib/module/utils/index.js.map +1 -0
  512. package/lib/module/utils/usePrevious.js +14 -0
  513. package/lib/module/utils/usePrevious.js.map +1 -0
  514. package/lib/typescript/src/charts/candle/HoverTrap/index.web.d.ts +2 -0
  515. package/lib/typescript/src/charts/candle/utils/getDomain.d.ts +2 -0
  516. package/lib/typescript/src/charts/candle/utils/getHeight.d.ts +6 -0
  517. package/lib/typescript/src/charts/candle/utils/getPrice.d.ts +6 -0
  518. package/lib/typescript/src/charts/candle/utils/getY.d.ts +6 -0
  519. package/lib/typescript/src/charts/candle/utils/index.d.ts +4 -0
  520. package/lib/typescript/src/charts/line/Chart.d.ts +6 -1
  521. package/lib/typescript/src/charts/line/ChartPath.d.ts +12 -3
  522. package/lib/typescript/src/charts/line/Context.d.ts +5 -1
  523. package/lib/typescript/src/charts/line/Cursor.d.ts +3 -0
  524. package/lib/typescript/src/charts/line/CursorCrosshair.d.ts +4 -1
  525. package/lib/typescript/src/charts/line/CursorLine.d.ts +4 -1
  526. package/lib/typescript/src/charts/line/DatetimeText.d.ts +3 -0
  527. package/lib/typescript/src/charts/line/Dot.d.ts +31 -0
  528. package/lib/typescript/src/charts/line/Gradient.d.ts +3 -0
  529. package/lib/typescript/src/charts/line/Group.d.ts +1 -2
  530. package/lib/typescript/src/charts/line/Highlight.d.ts +15 -0
  531. package/lib/typescript/src/charts/line/HorizontalLine.d.ts +4 -1
  532. package/lib/typescript/src/charts/line/HoverTrap/index.d.ts +2 -0
  533. package/lib/typescript/src/charts/line/HoverTrap/index.web.d.ts +2 -0
  534. package/lib/typescript/src/charts/line/Path.d.ts +5 -1
  535. package/lib/typescript/src/charts/line/PriceText.d.ts +3 -0
  536. package/lib/typescript/src/charts/line/Tooltip.d.ts +3 -0
  537. package/lib/typescript/src/charts/line/index.d.ts +16 -22
  538. package/lib/typescript/src/charts/line/types.d.ts +1 -0
  539. package/lib/typescript/src/charts/line/useAnimatedPath.d.ts +8 -0
  540. package/lib/typescript/src/charts/line/useLineChart.d.ts +1 -0
  541. package/lib/typescript/src/charts/line/utils/getArea.d.ts +9 -0
  542. package/lib/typescript/src/charts/line/utils/getDomain.d.ts +2 -0
  543. package/lib/typescript/src/charts/line/utils/getPath.d.ts +11 -0
  544. package/lib/typescript/src/charts/line/utils/index.d.ts +5 -0
  545. package/lib/typescript/src/charts/line/{interpolatePath.d.ts → utils/interpolatePath.d.ts} +1 -1
  546. package/lib/typescript/src/charts/line/utils/lineChartDataPropToArray.d.ts +2 -0
  547. package/lib/typescript/src/index.d.ts +1 -1
  548. package/lib/typescript/src/utils/formatDatetime.d.ts +8 -0
  549. package/lib/typescript/src/utils/formatPrice.d.ts +8 -0
  550. package/lib/typescript/src/utils/index.d.ts +3 -0
  551. package/lib/typescript/src/utils/usePrevious.d.ts +1 -0
  552. package/package.json +8 -6
  553. package/src/charts/candle/HoverTrap/index.web.tsx +110 -0
  554. package/src/charts/candle/utils/getDomain.ts +9 -0
  555. package/src/charts/candle/utils/getHeight.ts +21 -0
  556. package/src/charts/candle/utils/getPrice.ts +17 -0
  557. package/src/charts/candle/utils/getY.ts +16 -0
  558. package/src/charts/candle/utils/index.ts +4 -0
  559. package/src/charts/line/Chart.tsx +24 -8
  560. package/src/charts/line/ChartPath.tsx +119 -36
  561. package/src/charts/line/Context.tsx +8 -0
  562. package/src/charts/line/Cursor.tsx +5 -1
  563. package/src/charts/line/CursorCrosshair.tsx +22 -5
  564. package/src/charts/line/CursorLine.tsx +5 -3
  565. package/src/charts/line/DatetimeText.tsx +2 -0
  566. package/src/charts/line/Dot.tsx +175 -0
  567. package/src/charts/line/Gradient.tsx +7 -34
  568. package/src/charts/line/Group.tsx +4 -45
  569. package/src/charts/line/Highlight.tsx +78 -0
  570. package/src/charts/line/HorizontalLine.tsx +5 -3
  571. package/src/charts/line/HoverTrap/index.tsx +3 -0
  572. package/src/charts/line/HoverTrap/index.web.tsx +110 -0
  573. package/src/charts/line/Path.tsx +14 -38
  574. package/src/charts/line/PriceText.tsx +2 -0
  575. package/src/charts/line/Tooltip.tsx +2 -0
  576. package/src/charts/line/index.ts +13 -5
  577. package/src/charts/line/types.ts +1 -0
  578. package/src/charts/line/useAnimatedPath.ts +47 -0
  579. package/src/charts/line/utils/getArea.ts +38 -0
  580. package/src/charts/line/utils/getDomain.ts +7 -0
  581. package/src/charts/line/utils/getPath.ts +48 -0
  582. package/src/charts/line/utils/index.ts +5 -0
  583. package/src/charts/line/{interpolatePath.ts → utils/interpolatePath.ts} +1 -1
  584. package/src/charts/line/utils/lineChartDataPropToArray.ts +25 -0
  585. package/src/components/AnimatedText.tsx +27 -16
  586. package/src/index.ts +1 -1
  587. package/src/utils/formatDatetime.ts +16 -0
  588. package/src/{utils.ts → utils/formatPrice.ts} +0 -31
  589. package/src/utils/index.ts +3 -0
  590. package/src/utils/usePrevious.ts +13 -0
  591. package/tsconfig.json +1 -1
  592. package/yarn.lock +1847 -796
  593. package/example/patches/react-native-reanimated+2.2.2.patch +0 -28
  594. package/lib/commonjs/charts/line/utils.js.map +0 -1
  595. package/lib/commonjs/utils.js.map +0 -1
  596. package/lib/module/charts/line/utils.js +0 -60
  597. package/lib/module/charts/line/utils.js.map +0 -1
  598. package/lib/module/utils.js.map +0 -1
  599. package/lib/typescript/src/charts/line/utils.d.ts +0 -20
  600. package/lib/typescript/src/utils.d.ts +0 -17
  601. package/src/charts/line/utils.ts +0 -100
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"'use strict';\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nimport * as React from 'react';\nimport { forwardRef, memo, useMemo, useState, useRef } from 'react';\nimport useMergeRefs from \"../../modules/useMergeRefs\";\nimport usePressEvents from \"../../hooks/usePressEvents\";\nimport View from \"../View\";\n\nfunction Pressable(props, forwardedRef) {\n var accessible = props.accessible,\n children = props.children,\n delayLongPress = props.delayLongPress,\n delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n disabled = props.disabled,\n focusable = props.focusable,\n onBlur = props.onBlur,\n onFocus = props.onFocus,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressMove = props.onPressMove,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n style = props.style,\n testOnly_pressed = props.testOnly_pressed,\n rest = _objectWithoutPropertiesLoose(props, [\"accessible\", \"children\", \"delayLongPress\", \"delayPressIn\", \"delayPressOut\", \"disabled\", \"focusable\", \"onBlur\", \"onFocus\", \"onLongPress\", \"onPress\", \"onPressMove\", \"onPressIn\", \"onPressOut\", \"style\", \"testOnly_pressed\"]);\n\n var _useForceableState = useForceableState(false),\n focused = _useForceableState[0],\n setFocused = _useForceableState[1];\n\n var _useForceableState2 = useForceableState(testOnly_pressed === true),\n pressed = _useForceableState2[0],\n setPressed = _useForceableState2[1];\n\n var hostRef = useRef(null);\n var setRef = useMergeRefs(forwardedRef, hostRef);\n var pressConfig = useMemo(function () {\n return {\n delayLongPress: delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n disabled: disabled,\n onLongPress: onLongPress,\n onPress: onPress,\n onPressChange: setPressed,\n onPressStart: onPressIn,\n onPressMove: onPressMove,\n onPressEnd: onPressOut\n };\n }, [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressMove, onPressOut, setPressed]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n\n var accessibilityState = _objectSpread({\n disabled: disabled\n }, props.accessibilityState);\n\n var interactionState = {\n focused: focused,\n pressed: pressed\n };\n\n function createFocusHandler(callback, value) {\n return function (event) {\n if (event.nativeEvent.target === hostRef.current) {\n setFocused(value);\n\n if (callback != null) {\n callback(event);\n }\n }\n };\n }\n\n return React.createElement(View, _extends({}, rest, pressEventHandlers, {\n accessibilityState: accessibilityState,\n accessible: accessible !== false,\n focusable: focusable !== false,\n onBlur: createFocusHandler(onBlur, false),\n onFocus: createFocusHandler(onFocus, true),\n ref: setRef,\n style: typeof style === 'function' ? style(interactionState) : style\n }), typeof children === 'function' ? children(interactionState) : children);\n}\n\nfunction useForceableState(forced) {\n var _useState = useState(false),\n pressed = _useState[0],\n setPressed = _useState[1];\n\n return [pressed || forced, setPressed];\n}\n\nvar MemoedPressable = memo(forwardRef(Pressable));\nMemoedPressable.displayName = 'Pressable';\nexport default MemoedPressable;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/Pressable/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","React","forwardRef","memo","useMemo","useState","useRef","useMergeRefs","usePressEvents","View","Pressable","props","forwardedRef","accessible","children","delayLongPress","delayPressIn","delayPressOut","disabled","focusable","onBlur","onFocus","onLongPress","onPress","onPressMove","onPressIn","onPressOut","style","testOnly_pressed","rest","_useForceableState","useForceableState","focused","setFocused","_useForceableState2","pressed","setPressed","hostRef","setRef","pressConfig","delayPressStart","delayPressEnd","onPressChange","onPressStart","onPressEnd","pressEventHandlers","accessibilityState","interactionState","createFocusHandler","callback","event","nativeEvent","current","createElement","ref","forced","_useState","MemoedPressable","displayName"],"mappings":"AASA;;AAEA,SAASA,QAAT,GAAoB;AAAEA,EAAAA,QAAQ,GAAGC,MAAM,CAACC,MAAP,IAAiB,UAAUC,MAAV,EAAkB;AAAE,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;AAAE,UAAIG,MAAM,GAAGF,SAAS,CAACD,CAAD,CAAtB;;AAA2B,WAAK,IAAII,GAAT,IAAgBD,MAAhB,EAAwB;AAAE,YAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,EAA6CC,GAA7C,CAAJ,EAAuD;AAAEL,UAAAA,MAAM,CAACK,GAAD,CAAN,GAAcD,M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,UAAjB,GAA8BA,KAAK,CAACoB,gBAAD,CAAnC,GAAwDpB;AAPO,GAA/B,CAAlC,EAQH,OAAOb,QAAP,KAAoB,UAApB,GAAiCA,QAAQ,CAACiC,gBAAD,CAAzC,GAA8DjC,QAR3D,CAAP;AASD;;AAED,SAASiB,iBAAT,CAA2BwB,MAA3B,EAAmC;AACjC,MAAIC,SAAS,GAAGnD,QAAQ,CAAC,KAAD,CAAxB;AAAA,MACI8B,OAAO,GAAGqB,SAAS,CAAC,CAAD,CADvB;AAAA,MAEIpB,UAAU,GAAGoB,SAAS,CAAC,CAAD,CAF1B;;AAIA,SAAO,CAACrB,OAAO,IAAIoB,MAAZ,EAAoBnB,UAApB,CAAP;AACD;;AAED,IAAIqB,eAAe,GAAGtD,IAAI,CAACD,UAAU,CAACQ,SAAD,CAAX,CAA1B;AACA+C,eAAe,CAACC,WAAhB,GAA8B,WAA9B;AACA,eAAeD,eAAf","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from 'react';\nimport { forwardRef, memo, useMemo, useState, useRef } from 'react';\nimport useMergeRefs from '../../modules/useMergeRefs';\nimport usePressEvents from '../../hooks/usePressEvents';\nimport View from '../View';\n\n/**\n * Component used to build display components that should respond to whether the\n * component is currently pressed or not.\n */\nfunction Pressable(props, forwardedRef) {\n var accessible = props.accessible,\n children = props.children,\n delayLongPress = props.delayLongPress,\n delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n disabled = props.disabled,\n focusable = props.focusable,\n onBlur = props.onBlur,\n onFocus = props.onFocus,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressMove = props.onPressMove,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n style = props.style,\n testOnly_pressed = props.testOnly_pressed,\n rest = _objectWithoutPropertiesLoose(props, [\"accessible\", \"children\", \"delayLongPress\", \"delayPressIn\", \"delayPressOut\", \"disabled\", \"focusable\", \"onBlur\", \"onFocus\", \"onLongPress\", \"onPress\", \"onPressMove\", \"onPressIn\", \"onPressOut\", \"style\", \"testOnly_pressed\"]);\n\n var _useForceableState = useForceableState(false),\n focused = _useForceableState[0],\n setFocused = _useForceableState[1];\n\n var _useForceableState2 = useForceableState(testOnly_pressed === true),\n pressed = _useForceableState2[0],\n setPressed = _useForceableState2[1];\n\n var hostRef = useRef(null);\n var setRef = useMergeRefs(forwardedRef, hostRef);\n var pressConfig = useMemo(function () {\n return {\n delayLongPress: delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n disabled: disabled,\n onLongPress: onLongPress,\n onPress: onPress,\n onPressChange: setPressed,\n onPressStart: onPressIn,\n onPressMove: onPressMove,\n onPressEnd: onPressOut\n };\n }, [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressMove, onPressOut, setPressed]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n\n var accessibilityState = _objectSpread({\n disabled: disabled\n }, props.accessibilityState);\n\n var interactionState = {\n focused: focused,\n pressed: pressed\n };\n\n function createFocusHandler(callback, value) {\n return function (event) {\n if (event.nativeEvent.target === hostRef.current) {\n setFocused(value);\n\n if (callback != null) {\n callback(event);\n }\n }\n };\n }\n\n return React.createElement(View, _extends({}, rest, pressEventHandlers, {\n accessibilityState: accessibilityState,\n accessible: accessible !== false,\n focusable: focusable !== false,\n onBlur: createFocusHandler(onBlur, false),\n onFocus: createFocusHandler(onFocus, true),\n ref: setRef,\n style: typeof style === 'function' ? style(interactionState) : style\n }), typeof children === 'function' ? children(interactionState) : children);\n}\n\nfunction useForceableState(forced) {\n var _useState = useState(false),\n pressed = _useState[0],\n setPressed = _useState[1];\n\n return [pressed || forced, setPressed];\n}\n\nvar MemoedPressable = memo(forwardRef(Pressable));\nMemoedPressable.displayName = 'Pressable';\nexport default MemoedPressable;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nimport InternalAnimatedValue from \"./InternalAnimatedValue\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport { val } from \"../val\";\n\nvar AnimatedMainClock = function (_InternalAnimatedValu) {\n _inherits(AnimatedMainClock, _InternalAnimatedValu);\n\n var _super = _createSuper(AnimatedMainClock);\n\n function AnimatedMainClock() {\n var _this;\n\n _classCallCheck(this, AnimatedMainClock);\n\n _this = _super.call(this, {\n type: 'MAIN_CLOCK'\n });\n\n _this._runFrame = function () {\n _this._updateValue(0);\n\n if (_this.__children.length > 0) {\n _this._frameCallback = requestAnimationFrame(_this._runFrame);\n }\n };\n\n return _this;\n }\n\n _createClass(AnimatedMainClock, [{\n key: \"__onEvaluate\",\n value: function __onEvaluate() {\n return +new Date();\n }\n }, {\n key: \"__attach\",\n value: function __attach() {\n _get(_getPrototypeOf(AnimatedMainClock.prototype), \"__attach\", this).call(this);\n\n if (!this._frameCallback) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n }\n }, {\n key: \"__detach\",\n value: function __detach() {\n if (this._frameCallback) {\n cancelAnimationFrame(this._frameCallback);\n this._frameCallback = null;\n }\n\n _get(_getPrototypeOf(AnimatedMainClock.prototype), \"__detach\", this).call(this);\n }\n }]);\n\n return AnimatedMainClock;\n}(InternalAnimatedValue);\n\nvar mainClock = new AnimatedMainClock();\n\nvar AnimatedClock = function (_AnimatedNode) {\n _inherits(AnimatedClock, _AnimatedNode);\n\n var _super2 = _createSuper(AnimatedClock);\n\n function AnimatedClock() {\n _classCallCheck(this, AnimatedClock);\n\n return _super2.call(this, {\n type: 'clock'\n });\n }\n\n _createClass(AnimatedClock, [{\n key: \"toString\",\n value: function toString() {\n return \"AnimatedClock, id: \" + this.__nodeID;\n }\n }, {\n key: \"__onEvaluate\",\n value: function __onEvaluate() {\n return val(mainClock);\n }\n }, {\n key: \"__attach\",\n value: function __attach() {\n _get(_getPrototypeOf(AnimatedClock.prototype), \"__attach\", this).call(this);\n\n if (this._started && !this._attached) {\n mainClock.__addChild(this);\n }\n\n this._attached = true;\n }\n }, {\n key: \"__detach\",\n value: function __detach() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n\n this._attached = false;\n\n _get(_getPrototypeOf(AnimatedClock.prototype), \"__detach\", this).call(this);\n }\n }, {\n key: \"start\",\n value: function start() {\n if (!this._started && this._attached) {\n mainClock.__addChild(this);\n }\n\n this._started = true;\n }\n }, {\n key: \"stop\",\n value: function stop() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n\n this._started = false;\n }\n }, {\n key: \"isStarted\",\n value: function isStarted() {\n return this._started;\n }\n }]);\n\n return AnimatedClock;\n}(AnimatedNode);\n\nexport { AnimatedClock as default };","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated1/core/AnimatedClock.js"],"names":["InternalAnimatedValue","AnimatedNode","val","AnimatedMainClock","type","_runFrame","_updateValue","__children","length","_frameCallback","requestAnimationFrame","Date","cancelAnimationFrame","mainClock","AnimatedClock","__nodeID","_started","_attached","__addChild","__removeChild"],"mappings":";;;;;;;;;;;AAAA,OAAOA,qBAAP;AACA,OAAOC,YAAP;AACA,SAASC,GAAT;;IAEMC,iB;;;;;AAGJ,+BAAc;AAAA;;AAAA;;AACZ,8BAAM;AAAEC,MAAAA,IAAI,EAAE;AAAR,KAAN;;AADY,UAQdC,SARc,GAQF,YAAM;AAChB,YAAKC,YAAL,CAAkB,CAAlB;;AACA,UAAI,MAAKC,UAAL,CAAgBC,MAAhB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KAAKA,QAAL,IAAiB,KAAKC,SAA1B,EAAqC;AACnCJ,QAAAA,SAAS,CAACM,aAAV,CAAwB,IAAxB;AACD;;AACD,WAAKH,QAAL,GAAgB,KAAhB;AACD;;;WAED,qBAAY;AACV,aAAO,KAAKA,QAAZ;AACD;;;;EAhDwCf,Y;;SAAtBa,a","sourcesContent":["import InternalAnimatedValue from './InternalAnimatedValue';\nimport AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedMainClock extends InternalAnimatedValue {\n _frameCallback;\n\n constructor() {\n super({ type: 'MAIN_CLOCK' });\n }\n\n __onEvaluate() {\n return +new Date();\n }\n\n _runFrame = () => {\n this._updateValue(0);\n if (this.__children.length > 0) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n };\n\n __attach() {\n super.__attach();\n if (!this._frameCallback) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n }\n\n __detach() {\n if (this._frameCallback) {\n cancelAnimationFrame(this._frameCallback);\n this._frameCallback = null;\n }\n super.__detach();\n }\n}\n\nconst mainClock = new AnimatedMainClock();\n\nexport default class AnimatedClock extends AnimatedNode {\n _started;\n _attached;\n\n constructor() {\n super({ type: 'clock' });\n }\n\n toString() {\n return `AnimatedClock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return val(mainClock);\n }\n\n __attach() {\n super.__attach();\n if (this._started && !this._attached) {\n mainClock.__addChild(this);\n }\n this._attached = true;\n }\n\n __detach() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._attached = false;\n super.__detach();\n }\n\n start() {\n if (!this._started && this._attached) {\n mainClock.__addChild(this);\n }\n this._started = true;\n }\n\n stop() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._started = false;\n }\n\n isStarted() {\n return this._started;\n }\n}\n"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"'use strict';\n\nimport Platform from \"../../../exports/Platform\";\nimport UIManager from \"../../../exports/UIManager\";\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nfunction configureNext(config, onAnimationDidEnd) {\n if (!Platform.isTesting) {\n UIManager.configureNextLayoutAnimation(config, onAnimationDidEnd !== null && onAnimationDidEnd !== void 0 ? onAnimationDidEnd : function () {}, function () {});\n }\n}\n\nfunction create(duration, type, property) {\n return {\n duration: duration,\n create: {\n type: type,\n property: property\n },\n update: {\n type: type\n },\n delete: {\n type: type,\n property: property\n }\n };\n}\n\nvar Presets = {\n easeInEaseOut: create(300, 'easeInEaseOut', 'opacity'),\n linear: create(500, 'linear', 'opacity'),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity'\n },\n update: {\n type: 'spring',\n springDamping: 0.4\n },\n delete: {\n type: 'linear',\n property: 'opacity'\n }\n }\n};\nvar LayoutAnimation = {\n configureNext: configureNext,\n create: create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard'\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY'\n }),\n checkConfig: function checkConfig() {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets: Presets,\n easeInEaseOut: configureNext.bind(null, Presets.easeInEaseOut),\n linear: configureNext.bind(null, Presets.linear),\n spring: configureNext.bind(null, Presets.spring)\n};\nexport default LayoutAnimation;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/LayoutAnimation/index.js"],"names":["Platform","UIManager","__DEV__","process","env","NODE_ENV","configureNext","config","onAnimationDidEnd","isTesting","configureNextLayoutAnimation","create","duration","type","property","update","delete","Presets","easeInEaseOut","linear","spring","springDamping","LayoutAnimation","Types","Object","freeze","easeIn","easeOut","keyboard","Properties","opacity","scaleX","scaleY","scaleXY","checkConfig","console","error","bind"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T,KANF;AAUNL,IAAAA,MAAM,EAAE;AACNH,MAAAA,IAAI,EAAE,QADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AAVF;AAHI,CAAd;AA8BA,IAAIQ,eAAe,GAAG;AAcpBhB,EAAAA,aAAa,EAAEA,aAdK;AAmBpBK,EAAAA,MAAM,EAAEA,MAnBY;AAoBpBY,EAAAA,KAAK,EAAEC,MAAM,CAACC,MAAP,CAAc;AACnBL,IAAAA,MAAM,EAAE,QADW;AAEnBD,IAAAA,MAAM,EAAE,QAFW;AAGnBD,IAAAA,aAAa,EAAE,eAHI;AAInBQ,IAAAA,MAAM,EAAE,QAJW;AAKnBC,IAAAA,OAAO,EAAE,SALU;AAMnBC,IAAAA,QAAQ,EAAE;AANS,GAAd,CApBa;AA4BpBC,EAAAA,UAAU,EAAEL,MAAM,CAACC,MAAP,CAAc;AACxBK,IAAAA,OAAO,EAAE,SADe;AAExBC,IAAAA,MAAM,EAAE,QAFgB;AAGxBC,IAAAA,MAAM,EAAE,QAHgB;AAIxBC,IAAAA,OAAO,EAAE;AAJe,GAAd,CA5BQ;AAkCpBC,EAAAA,WAAW,EAAE,SAASA,WAAT,GAAuB;AAClCC,IAAAA,OAAO,CAACC,KAAR,CAAc,qDAAd;AACD,GApCmB;AAqCpBnB,EAAAA,OAAO,EAAEA,OArCW;AAsCpBC,EAAAA,aAAa,EAAEZ,aAAa,CAAC+B,IAAd,CAAmB,IAAnB,EAAyBpB,OAAO,CAACC,aAAjC,CAtCK;AAuCpBC,EAAAA,MAAM,EAAEb,aAAa,CAAC+B,IAAd,CAAmB,IAAnB,EAAyBpB,OAAO,CAACE,MAAjC,CAvCY;AAwCpBC,EAAAA,MAAM,EAAEd,aAAa,CAAC+B,IAAd,CAAmB,IAAnB,EAAyBpB,OAAO,CAACG,MAAjC;AAxCY,CAAtB;AA0CA,eAAeE,eAAf","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport Platform from '../../../exports/Platform';\nimport UIManager from '../../../exports/UIManager';\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nfunction configureNext(config, onAnimationDidEnd) {\n if (!Platform.isTesting) {\n UIManager.configureNextLayoutAnimation(config, onAnimationDidEnd !== null && onAnimationDidEnd !== void 0 ? onAnimationDidEnd : function () {}, function () {}\n /* unused onError */\n );\n }\n}\n\nfunction create(duration, type, property) {\n return {\n duration: duration,\n create: {\n type: type,\n property: property\n },\n update: {\n type: type\n },\n delete: {\n type: type,\n property: property\n }\n };\n}\n\nvar Presets = {\n easeInEaseOut: create(300, 'easeInEaseOut', 'opacity'),\n linear: create(500, 'linear', 'opacity'),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity'\n },\n update: {\n type: 'spring',\n springDamping: 0.4\n },\n delete: {\n type: 'linear',\n property: 'opacity'\n }\n }\n};\n/**\n * Automatically animates views to their new positions when the\n * next layout happens.\n *\n * A common way to use this API is to call it before calling `setState`.\n *\n * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:\n *\n * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);\n */\n\nvar LayoutAnimation = {\n /**\n * Schedules an animation to happen on the next layout.\n *\n * @param config Specifies animation properties:\n *\n * - `duration` in milliseconds\n * - `create`, `AnimationConfig` for animating in new views\n * - `update`, `AnimationConfig` for animating views that have been updated\n *\n * @param onAnimationDidEnd Called when the animation finished.\n * Only supported on iOS.\n * @param onError Called on error. Only supported on iOS.\n */\n configureNext: configureNext,\n\n /**\n * Helper for creating a config for `configureNext`.\n */\n create: create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard'\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY'\n }),\n checkConfig: function checkConfig() {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets: Presets,\n easeInEaseOut: configureNext.bind(null, Presets.easeInEaseOut),\n linear: configureNext.bind(null, Presets.linear),\n spring: configureNext.bind(null, Presets.spring)\n};\nexport default LayoutAnimation;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import * as React from 'react';\nimport mergeRefs from \"../mergeRefs\";\nexport default function useMergeRefs() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return React.useMemo(function () {\n return mergeRefs.apply(void 0, args);\n }, [].concat(args));\n}","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/useMergeRefs/index.js"],"names":["React","mergeRefs","useMergeRefs","_len","arguments","length","args","Array","_key","useMemo","apply","concat"],"mappings":"AAQA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,SAAP;AACA,eAAe,SAASC,YAAT,GAAwB;AACrC,OAAK,IAAIC,IAAI,GAAGC,SAAS,CAACC,MAArB,EAA6BC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,IAAV,CAApC,EAAqDK,IAAI,GAAG,CAAjE,EAAoEA,IAAI,GAAGL,IAA3E,EAAiFK,IAAI,EAArF,EAAyF;AACvFF,IAAAA,IAAI,CAACE,IAAD,CAAJ,GAAaJ,SAAS,CAACI,IAAD,CAAtB;AACD;;AAGD,SAAOR,KAAK,CAACS,OAAN,CAAc,YAAY;AAC/B,WAAOR,SAAS,CAACS,KAAV,CAAgB,KAAK,CAArB,EAAwBJ,IAAxB,CAAP;AACD,GAFM,EAGP,GAAGK,MAAH,CAAUL,IAAV,CAHO,CAAP;AAID","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport mergeRefs from '../mergeRefs';\nexport default function useMergeRefs() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // TODO(memoize) #1755\n return React.useMemo(function () {\n return mergeRefs.apply(void 0, args);\n }, // eslint-disable-next-line\n [].concat(args));\n}"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"\"use strict\";","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated2/platform-specific/RNRenderer.web.js"],"names":[],"mappings":"AAAA","sourcesContent":["\"use strict\";\n"]},"metadata":{},"sourceType":"script"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import isWebColor from \"../isWebColor\";\nimport processColor from \"../../exports/processColor\";\n\nvar normalizeColor = function normalizeColor(color, opacity) {\n if (opacity === void 0) {\n opacity = 1;\n }\n\n if (color == null) return;\n\n if (typeof color === 'string' && isWebColor(color)) {\n return color;\n }\n\n var colorInt = processColor(color);\n\n if (colorInt != null) {\n var r = colorInt >> 16 & 255;\n var g = colorInt >> 8 & 255;\n var b = colorInt & 255;\n var a = (colorInt >> 24 & 255) / 255;\n var alpha = (a * opacity).toFixed(2);\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",\" + alpha + \")\";\n }\n};\n\nexport default normalizeColor;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/normalizeColor/index.js"],"names":["isWebColor","processColor","normalizeColor","color","opacity","colorInt","r","g","b","a","alpha","toFixed"],"mappings":"AAQA,OAAOA,UAAP;AACA,OAAOC,YAAP;;AAEA,IAAIC,cAAc,GAAG,SAASA,cAAT,CAAwBC,KAAxB,EAA+BC,OAA/B,EAAwC;AAC3D,MAAIA,OAAO,KAAK,KAAK,CAArB,EAAwB;AACtBA,IAAAA,OAAO,GAAG,CAAV;AACD;;AAED,MAAID,KAAK,IAAI,IAAb,EAAmB;;AAEnB,MAAI,OAAOA,KAAP,KAAiB,QAAjB,IAA6BH,UAAU,CAACG,KAAD,CAA3C,EAAoD;AAClD,WAAOA,KAAP;AACD;;AAED,MAAIE,QAAQ,GAAGJ,YAAY,CAACE,KAAD,CAA3B;;AAEA,MAAIE,QAAQ,IAAI,IAAhB,EAAsB;AACpB,QAAIC,CAAC,GAAGD,QAAQ,IAAI,EAAZ,GAAiB,GAAzB;AACA,QAAIE,CAAC,GAAGF,QAAQ,IAAI,CAAZ,GAAgB,GAAxB;AACA,QAAIG,CAAC,GAAGH,QAAQ,GAAG,GAAnB;AACA,QAAII,CAAC,GAAG,CAACJ,QAAQ,IAAI,EAAZ,GAAiB,GAAlB,IAAyB,GAAjC;AACA,QAAIK,KAAK,GAAG,CAACD,CAAC,GAAGL,OAAL,EAAcO,OAAd,CAAsB,CAAtB,CAAZ;AACA,WAAO,UAAUL,CAAV,GAAc,GAAd,GAAoBC,CAApB,GAAwB,GAAxB,GAA8BC,CAA9B,GAAkC,GAAlC,GAAwCE,KAAxC,GAAgD,GAAvD;AACD;AACF,CArBD;;AAuBA,eAAeR,cAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport isWebColor from '../isWebColor';\nimport processColor from '../../exports/processColor';\n\nvar normalizeColor = function normalizeColor(color, opacity) {\n if (opacity === void 0) {\n opacity = 1;\n }\n\n if (color == null) return;\n\n if (typeof color === 'string' && isWebColor(color)) {\n return color;\n }\n\n var colorInt = processColor(color);\n\n if (colorInt != null) {\n var r = colorInt >> 16 & 255;\n var g = colorInt >> 8 & 255;\n var b = colorInt & 255;\n var a = (colorInt >> 24 & 255) / 255;\n var alpha = (a * opacity).toFixed(2);\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",\" + alpha + \")\";\n }\n};\n\nexport default normalizeColor;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { Direction } from \"./web/constants\";\nimport FlingGestureHandler from \"./web/FlingGestureHandler\";\nimport LongPressGestureHandler from \"./web/LongPressGestureHandler\";\nimport NativeViewGestureHandler from \"./web/NativeViewGestureHandler\";\nimport * as NodeManager from \"./web/NodeManager\";\nimport PanGestureHandler from \"./web/PanGestureHandler\";\nimport PinchGestureHandler from \"./web/PinchGestureHandler\";\nimport RotationGestureHandler from \"./web/RotationGestureHandler\";\nimport TapGestureHandler from \"./web/TapGestureHandler\";\nexport var Gestures = {\n PanGestureHandler: PanGestureHandler,\n RotationGestureHandler: RotationGestureHandler,\n PinchGestureHandler: PinchGestureHandler,\n TapGestureHandler: TapGestureHandler,\n NativeViewGestureHandler: NativeViewGestureHandler,\n LongPressGestureHandler: LongPressGestureHandler,\n FlingGestureHandler: FlingGestureHandler\n};\nexport default {\n Direction: Direction,\n handleSetJSResponder: function handleSetJSResponder(tag, blockNativeResponder) {\n console.warn('handleSetJSResponder: ', tag, blockNativeResponder);\n },\n handleClearJSResponder: function handleClearJSResponder() {\n console.warn('handleClearJSResponder: ');\n },\n createGestureHandler: function createGestureHandler(handlerName, handlerTag, config) {\n if (!(handlerName in Gestures)) throw new Error(\"react-native-gesture-handler: \".concat(handlerName, \" is not supported on web.\"));\n var GestureClass = Gestures[handlerName];\n NodeManager.createGestureHandler(handlerTag, new GestureClass());\n this.updateGestureHandler(handlerTag, config);\n },\n attachGestureHandler: function attachGestureHandler(handlerTag, newView, propsRef) {\n NodeManager.getHandler(handlerTag).setView(newView, propsRef);\n },\n updateGestureHandler: function updateGestureHandler(handlerTag, newConfig) {\n NodeManager.getHandler(handlerTag).updateGestureConfig(newConfig);\n },\n getGestureHandlerNode: function getGestureHandlerNode(handlerTag) {\n return NodeManager.getHandler(handlerTag);\n },\n dropGestureHandler: function dropGestureHandler(handlerTag) {\n NodeManager.dropGestureHandler(handlerTag);\n }\n};","map":{"version":3,"sources":["RNGestureHandlerModule.web.ts"],"names":["Gestures","PanGestureHandler","RotationGestureHandler","PinchGestureHandler","TapGestureHandler","NativeViewGestureHandler","LongPressGestureHandler","FlingGestureHandler","Direction","handleSetJSResponder","console","handleClearJSResponder","createGestureHandler","handlerName","GestureClass","NodeManager","attachGestureHandler","updateGestureHandler","getGestureHandlerNode","dropGestureHandler"],"mappings":"AAAA,SAAA,SAAA;AACA,OAAA,mBAAA;AACA,OAAA,uBAAA;AACA,OAAA,wBAAA;AACA,OAAO,KAAP,WAAA;AACA,OAAA,iBAAA;AACA,OAAA,mBAAA;AACA,OAAA,sBAAA;AACA,OAAA,iBAAA;AAEA,OAAO,IAAMA,QAAQ,GAAG;AACtBC,EAAAA,iBADsB,EACtBA,iBADsB;AAEtBC,EAAAA,sBAFsB,EAEtBA,sBAFsB;AAGtBC,EAAAA,mBAHsB,EAGtBA,mBAHsB;AAItBC,EAAAA,iBAJsB,EAItBA,iBAJsB;AAKtBC,EAAAA,wBALsB,EAKtBA,wBALsB;AAMtBC,EAAAA,uBANsB,EAMtBA,uBANsB;AAOtBC,EAAAA,mBAPsB,EAOtBA;AAPsB,CAAjB;AAWP,eAAe;AACbC,EAAAA,SADa,EACbA,SADa;AAEbC,EAAAA,oBAFa,gCAEO,GAFP,EAEO,oBAFP,EAEoD;AAC/DC,IAAAA,OAAO,CAAPA,IAAAA,CAAAA,wBAAAA,EAAAA,GAAAA,EAAAA,oBAAAA;AAHW,GAAA;AAKbC,EAAAA,sBALa,oCAKY;AACvBD,IAAAA,OAAO,CAAPA,IAAAA,CAAAA,0BAAAA;AANW,GAAA;AAQbE,EAAAA,oBARa,gCAQO,WARP,EAQO,UARP,EAQO,MARP,EAYX;AAEA,QAAI,EAAEC,WAAW,IAAjB,QAAI,CAAJ,EACE,MAAM,IAAA,KAAA,CAAA,iCAAA,MAAA,CAAA,WAAA,EAAN,2BAAM,CAAA,CAAN;AAGF,QAAMC,YAAY,GAAGd,QAAQ,CAA7B,WAA6B,CAA7B;AACAe,IAAAA,WAAW,CAAXA,oBAAAA,CAAAA,UAAAA,EAA6C,IAA7CA,YAA6C,EAA7CA;AACA,SAAA,oBAAA,CAAA,UAAA,EAAA,MAAA;AApBW,GAAA;AAsBbC,EAAAA,oBAtBa,gCAsBO,UAtBP,EAsBO,OAtBP,EAsBO,QAtBP,EA0BX;AACAD,IAAAA,WAAW,CAAXA,UAAAA,CAAAA,UAAAA,EAAAA,OAAAA,CAAAA,OAAAA,EAAAA,QAAAA;AA3BW,GAAA;AA6BbE,EAAAA,oBA7Ba,gCA6BO,UA7BP,EA6BO,SA7BP,EA6B4C;AACvDF,IAAAA,WAAW,CAAXA,UAAAA,CAAAA,UAAAA,EAAAA,mBAAAA,CAAAA,SAAAA;AA9BW,GAAA;AAgCbG,EAAAA,qBAhCa,iCAgCQ,UAhCR,EAgC6B;AACxC,WAAOH,WAAW,CAAXA,UAAAA,CAAP,UAAOA,CAAP;AAjCW,GAAA;AAmCbI,EAAAA,kBAnCa,8BAmCK,UAnCL,EAmC0B;AACrCJ,IAAAA,WAAW,CAAXA,kBAAAA,CAAAA,UAAAA;AACD;AArCY,CAAf","sourcesContent":["import { Direction } from './web/constants';\nimport FlingGestureHandler from './web/FlingGestureHandler';\nimport LongPressGestureHandler from './web/LongPressGestureHandler';\nimport NativeViewGestureHandler from './web/NativeViewGestureHandler';\nimport * as NodeManager from './web/NodeManager';\nimport PanGestureHandler from './web/PanGestureHandler';\nimport PinchGestureHandler from './web/PinchGestureHandler';\nimport RotationGestureHandler from './web/RotationGestureHandler';\nimport TapGestureHandler from './web/TapGestureHandler';\n\nexport const Gestures = {\n PanGestureHandler,\n RotationGestureHandler,\n PinchGestureHandler,\n TapGestureHandler,\n NativeViewGestureHandler,\n LongPressGestureHandler,\n FlingGestureHandler,\n // ForceTouchGestureHandler,\n};\n\nexport default {\n Direction,\n handleSetJSResponder(tag: number, blockNativeResponder: boolean) {\n console.warn('handleSetJSResponder: ', tag, blockNativeResponder);\n },\n handleClearJSResponder() {\n console.warn('handleClearJSResponder: ');\n },\n createGestureHandler<T>(\n handlerName: keyof typeof Gestures,\n handlerTag: number,\n config: T\n ) {\n //TODO(TS) extends config\n if (!(handlerName in Gestures))\n throw new Error(\n `react-native-gesture-handler: ${handlerName} is not supported on web.`\n );\n const GestureClass = Gestures[handlerName];\n NodeManager.createGestureHandler(handlerTag, new GestureClass());\n this.updateGestureHandler(handlerTag, config);\n },\n attachGestureHandler(\n handlerTag: number,\n newView: number,\n propsRef: React.RefObject<unknown>\n ) {\n NodeManager.getHandler(handlerTag).setView(newView, propsRef);\n },\n updateGestureHandler(handlerTag: number, newConfig: any) {\n NodeManager.getHandler(handlerTag).updateGestureConfig(newConfig);\n },\n getGestureHandlerNode(handlerTag: number) {\n return NodeManager.getHandler(handlerTag);\n },\n dropGestureHandler(handlerTag: number) {\n NodeManager.dropGestureHandler(handlerTag);\n },\n};\n"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import _defineProperty2 from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"style\"];\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty2(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport GenericTouchable, { TOUCHABLE_STATE } from \"./GenericTouchable\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\n\nvar TouchableHighlight = function (_Component) {\n _inherits(TouchableHighlight, _Component);\n\n var _super = _createSuper(TouchableHighlight);\n\n function TouchableHighlight(props) {\n var _this;\n\n _classCallCheck(this, TouchableHighlight);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"showUnderlay\", function () {\n var _this$props$onShowUnd, _this$props;\n\n if (!_this.hasPressHandler()) {\n return;\n }\n\n _this.setState({\n extraChildStyle: {\n opacity: _this.props.activeOpacity\n },\n extraUnderlayStyle: {\n backgroundColor: _this.props.underlayColor\n }\n });\n\n (_this$props$onShowUnd = (_this$props = _this.props).onShowUnderlay) === null || _this$props$onShowUnd === void 0 ? void 0 : _this$props$onShowUnd.call(_this$props);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"hasPressHandler\", function () {\n return _this.props.onPress || _this.props.onPressIn || _this.props.onPressOut || _this.props.onLongPress;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"hideUnderlay\", function () {\n var _this$props$onHideUnd, _this$props2;\n\n _this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null\n });\n\n (_this$props$onHideUnd = (_this$props2 = _this.props).onHideUnderlay) === null || _this$props$onHideUnd === void 0 ? void 0 : _this$props$onHideUnd.call(_this$props2);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onStateChange\", function (_from, to) {\n if (to === TOUCHABLE_STATE.BEGAN) {\n _this.showUnderlay();\n } else if (to === TOUCHABLE_STATE.UNDETERMINED || to === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n _this.hideUnderlay();\n }\n });\n\n _this.state = {\n extraChildStyle: null,\n extraUnderlayStyle: null\n };\n return _this;\n }\n\n _createClass(TouchableHighlight, [{\n key: \"renderChildren\",\n value: function renderChildren() {\n if (!this.props.children) {\n return React.createElement(View, null);\n }\n\n var child = React.Children.only(this.props.children);\n return React.cloneElement(child, {\n style: StyleSheet.compose(child.props.style, this.state.extraChildStyle)\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props3 = this.props,\n _this$props3$style = _this$props3.style,\n style = _this$props3$style === void 0 ? {} : _this$props3$style,\n rest = _objectWithoutProperties(_this$props3, _excluded);\n\n var extraUnderlayStyle = this.state.extraUnderlayStyle;\n return React.createElement(GenericTouchable, _extends({}, rest, {\n style: [style, extraUnderlayStyle],\n onStateChange: this.onStateChange\n }), this.renderChildren());\n }\n }]);\n\n return TouchableHighlight;\n}(Component);\n\nexport { TouchableHighlight as default };\n\n_defineProperty(TouchableHighlight, \"defaultProps\", _objectSpread(_objectSpread({}, GenericTouchable.defaultProps), {}, {\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black'\n}));","map":{"version":3,"sources":["TouchableHighlight.tsx"],"names":["TouchableHighlight","GenericTouchable","activeOpacity","delayPressOut","underlayColor","constructor","extraChildStyle","extraUnderlayStyle","opacity","backgroundColor","renderChildren","child","React","style","StyleSheet","to","TOUCHABLE_STATE","render","rest","onStateChange"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAP,KAAA,MAAA,OAAA;AACA,SAAA,SAAA,QAAA,OAAA;AACA,OAAA,gBAAA,IAAA,eAAA;;;;IAwBe,kB;;;;;AAWbK,8BAAW,KAAXA,EAAoE;AAAA;;AAAA;;AAClE,8BAAA,KAAA;;AADkE,IAAA,eAAA,gCAAA,cAAA,EASrD,YAAM;AAAA,UAAA,qBAAA,EAAA,WAAA;;AACnB,UAAI,CAAC,MAAL,eAAK,EAAL,EAA6B;AAC3B;AACD;;AACD,YAAA,QAAA,CAAc;AACZC,QAAAA,eAAe,EAAE;AACfE,UAAAA,OAAO,EAAE,MAAA,KAAA,CAAWN;AADL,SADL;AAIZK,QAAAA,kBAAkB,EAAE;AAClBE,UAAAA,eAAe,EAAE,MAAA,KAAA,CAAWL;AADV;AAJR,OAAd;;AAQA,OAAA,qBAAA,GAAA,CAAA,WAAA,GAAA,MAAA,KAAA,EAAA,cAAA,MAAA,IAAA,IAAA,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,qBAAA,CAAA,IAAA,CAAA,WAAA,CAAA;AArBkE,KAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,iBAAA,EAwBlD;AAAA,aAChB,MAAA,KAAA,CAAA,OAAA,IACA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A,CAAnBG,KAAAA,EAAsC,KAAA,KAAA,CAAtCA,eAAAA;AADwB,OAA1B,CAAP;AAGD;;;WAaDG,kBAAS;AACP,yBAAgC,KAAhC,KAAA;AAAA,4CAAQJ,KAAR;AAAA,UAAQA,KAAR,mCAAM,EAAN;AAAA,UAAuBK,IAAvB;;AACA,UAAQX,kBAAR,GAA+B,KAA/B,KAAA,CAAQA,kBAAR;AACA,aACE,KAAA,CAAA,aAAA,CAAA,gBAAA,EAAA,QAAA,CAAA,EAAA,EAAA,IAAA,EAAA;AAEE,QAAA,KAAK,EAAE,CAAA,KAAA,EAFT,kBAES,CAFT;AAGE,QAAA,aAAa,EAAE,KAAKY;AAHtB,OAAA,CAAA,EAIG,KALL,cAKK,EAJH,CADF;AAQD;;;;EApFY,S;;SAAA,kB;;gBAAMnB,kB,EAIG,c,kCACjBC,gBAAgB,CADC,Y;AAEpBC,EAAAA,aAAa,EAFO,I;AAGpBC,EAAAA,aAAa,EAHO,G;AAIpBC,EAAAA,aAAa,EAAE","sourcesContent":["import * as React from 'react';\nimport { Component } from 'react';\nimport GenericTouchable, {\n GenericTouchableProps,\n TOUCHABLE_STATE,\n} from './GenericTouchable';\nimport {\n StyleSheet,\n View,\n TouchableHighlightProps,\n ColorValue,\n ViewProps,\n} from 'react-native';\n\ninterface State {\n extraChildStyle: null | {\n opacity?: number;\n };\n extraUnderlayStyle: null | {\n backgroundColor?: ColorValue;\n };\n}\n\n/**\n * TouchableHighlight follows RN's implementation\n */\nexport default class TouchableHighlight extends Component<\n TouchableHighlightProps & GenericTouchableProps,\n State\n> {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black',\n };\n\n constructor(props: TouchableHighlightProps & GenericTouchableProps) {\n super(props);\n this.state = {\n extraChildStyle: null,\n extraUnderlayStyle: null,\n };\n }\n\n // Copied from RN\n showUnderlay = () => {\n if (!this.hasPressHandler()) {\n return;\n }\n this.setState({\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n });\n this.props.onShowUnderlay?.();\n };\n\n hasPressHandler = () =>\n this.props.onPress ||\n this.props.onPressIn ||\n this.props.onPressOut ||\n this.props.onLongPress;\n\n hideUnderlay = () => {\n this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null,\n });\n this.props.onHideUnderlay?.();\n };\n\n renderChildren() {\n if (!this.props.children) {\n return <View />;\n }\n\n const child = React.Children.only(\n this.props.children\n ) as React.ReactElement<ViewProps>; // TODO: not sure if OK but fixes error\n return React.cloneElement(child, {\n style: StyleSheet.compose(child.props.style, this.state.extraChildStyle),\n });\n }\n\n onStateChange = (_from: number, to: number) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.showUnderlay();\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.hideUnderlay();\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n const { extraUnderlayStyle } = this.state;\n return (\n <GenericTouchable\n {...rest}\n style={[style, extraUnderlayStyle]}\n onStateChange={this.onStateChange}>\n {this.renderChildren()}\n </GenericTouchable>\n );\n }\n}\n"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import createPrefixer from 'inline-style-prefixer/lib/createPrefixer';\nimport staticData from \"./static\";\nvar prefixAll = createPrefixer(staticData);\nexport default prefixAll;\nexport var prefixInlineStyles = function prefixInlineStyles(style) {\n var prefixedStyles = prefixAll(style);\n Object.keys(prefixedStyles).forEach(function (prop) {\n var value = prefixedStyles[prop];\n\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1];\n }\n });\n return prefixedStyles;\n};","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/prefixStyles/index.js"],"names":["createPrefixer","staticData","prefixAll","prefixInlineStyles","style","prefixedStyles","Object","keys","forEach","prop","value","Array","isArray","length"],"mappings":"AAQA,OAAOA,cAAP,MAA2B,0CAA3B;AACA,OAAOC,UAAP;AACA,IAAIC,SAAS,GAAGF,cAAc,CAACC,UAAD,CAA9B;AACA,eAAeC,SAAf;AACA,OAAO,IAAIC,kBAAkB,GAAG,SAASA,kBAAT,CAA4BC,KAA5B,EAAmC;AACjE,MAAIC,cAAc,GAAGH,SAAS,CAACE,KAAD,CAA9B;AAGAE,EAAAA,MAAM,CAACC,IAAP,CAAYF,cAAZ,EAA4BG,OAA5B,CAAoC,UAAUC,IAAV,EAAgB;AAClD,QAAIC,KAAK,GAAGL,cAAc,CAACI,IAAD,CAA1B;;AAEA,QAAIE,KAAK,CAACC,OAAN,CAAcF,KAAd,CAAJ,EAA0B;AACxBL,MAAAA,cAAc,CAACI,IAAD,CAAd,GAAuBC,KAAK,CAACA,KAAK,CAACG,MAAN,GAAe,CAAhB,CAA5B;AACD;AACF,GAND;AAOA,SAAOR,cAAP;AACD,CAZM","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createPrefixer from 'inline-style-prefixer/lib/createPrefixer';\nimport staticData from './static';\nvar prefixAll = createPrefixer(staticData);\nexport default prefixAll;\nexport var prefixInlineStyles = function prefixInlineStyles(style) {\n var prefixedStyles = prefixAll(style); // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n\n Object.keys(prefixedStyles).forEach(function (prop) {\n var value = prefixedStyles[prop];\n\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1];\n }\n });\n return prefixedStyles;\n};"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nimport AnimatedValue from \"./AnimatedValue\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nimport invariant from 'fbjs/lib/invariant';\nvar _uniqueId = 1;\n\nvar AnimatedValueXY = function (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValueXY, _AnimatedWithChildren);\n\n function AnimatedValueXY(valueIn) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n var value = valueIn || {\n x: 0,\n y: 0\n };\n\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n _this.x = new AnimatedValue(value.x);\n _this.y = new AnimatedValue(value.y);\n } else {\n invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, 'AnimatedValueXY must be initialized with an object of numbers or ' + 'AnimatedValues.');\n _this.x = value.x;\n _this.y = value.y;\n }\n\n _this._listeners = {};\n return _this;\n }\n\n var _proto = AnimatedValueXY.prototype;\n\n _proto.setValue = function setValue(value) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n };\n\n _proto.setOffset = function setOffset(offset) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n };\n\n _proto.flattenOffset = function flattenOffset() {\n this.x.flattenOffset();\n this.y.flattenOffset();\n };\n\n _proto.extractOffset = function extractOffset() {\n this.x.extractOffset();\n this.y.extractOffset();\n };\n\n _proto.__getValue = function __getValue() {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue()\n };\n };\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n };\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n };\n\n _proto.addListener = function addListener(callback) {\n var _this2 = this;\n\n var id = String(_uniqueId++);\n\n var jointCallback = function jointCallback(_ref) {\n var number = _ref.value;\n callback(_this2.__getValue());\n };\n\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback)\n };\n return id;\n };\n\n _proto.removeListener = function removeListener(id) {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n };\n\n _proto.removeAllListeners = function removeAllListeners() {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n };\n\n _proto.getLayout = function getLayout() {\n return {\n left: this.x,\n top: this.y\n };\n };\n\n _proto.getTranslateTransform = function getTranslateTransform() {\n return [{\n translateX: this.x\n }, {\n translateY: this.y\n }];\n };\n\n return AnimatedValueXY;\n}(AnimatedWithChildren);\n\nexport default AnimatedValueXY;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedValueXY.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedValue","AnimatedWithChildren","invariant","_uniqueId","AnimatedValueXY","_AnimatedWithChildren","valueIn","_this","call","value","x","y","_listeners","_proto","setValue","setOffset","offset","flattenOffset","extractOffset","__getValue","resetAnimation","callback","stopAnimation","addListener","_this2","id","String","jointCallback","_ref","number","removeListener","removeAllListeners","getLayout","left","top","getTranslateTransform","translateX","translateY"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;AAA0DF,EAAAA,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;AAA2CA,EAAAA,QAAQ,CAACM,SAAT,GAAqBL,UAArB;AAAkC;;AAEvL,OAAOM,aAAP;AACA,OAAOC,oBAAP;AACA,OAAOC,SAAP,MAAsB,oBAAtB;AACA,IAAIC,SAAS,GAAG,CAAhB;;AAQA,IAAIC,eAAe,GAEnB,UAAUC,qBAAV,EAAiC;AAC/Bb,EAAAA,cAAc,CAACY,eAAD,EAAkBC,qBAAlB,CAAd;;AAGA,WAASD,eAAT,CA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,oBA/LF,CAFA;;AAmMA,eAAeG,eAAf","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport invariant from 'fbjs/lib/invariant';\nvar _uniqueId = 1;\n/**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html\n */\n\nvar AnimatedValueXY =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValueXY, _AnimatedWithChildren);\n\n // $FlowFixMe\n function AnimatedValueXY(valueIn) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n var value = valueIn || {\n x: 0,\n y: 0\n }; // fixme: shouldn't need `: any`\n\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n _this.x = new AnimatedValue(value.x);\n _this.y = new AnimatedValue(value.y);\n } else {\n invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, 'AnimatedValueXY must be initialized with an object of numbers or ' + 'AnimatedValues.');\n _this.x = value.x;\n _this.y = value.y;\n }\n\n _this._listeners = {};\n return _this;\n }\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setvalue\n */\n\n\n var _proto = AnimatedValueXY.prototype;\n\n _proto.setValue = function setValue(value) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setoffset\n */\n ;\n\n _proto.setOffset = function setOffset(offset) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#flattenoffset\n */\n ;\n\n _proto.flattenOffset = function flattenOffset() {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#extractoffset\n */\n ;\n\n _proto.extractOffset = function extractOffset() {\n this.x.extractOffset();\n this.y.extractOffset();\n };\n\n _proto.__getValue = function __getValue() {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue()\n };\n }\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#resetanimation\n */\n ;\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#stopanimation\n */\n ;\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#addlistener\n */\n // $FlowFixMe\n ;\n\n _proto.addListener = function addListener(callback) {\n var _this2 = this;\n\n var id = String(_uniqueId++);\n\n var jointCallback = function jointCallback(_ref) {\n var number = _ref.value;\n callback(_this2.__getValue());\n };\n\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback)\n };\n return id;\n }\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removelistener\n */\n ;\n\n _proto.removeListener = function removeListener(id) {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n /**\n * Remove all registered listeners.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removealllisteners\n */\n ;\n\n _proto.removeAllListeners = function removeAllListeners() {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#getlayout\n */\n ;\n\n _proto.getLayout = function getLayout() {\n return {\n left: this.x,\n top: this.y\n };\n }\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#gettranslatetransform\n */\n ;\n\n _proto.getTranslateTransform = function getTranslateTransform() {\n return [{\n translateX: this.x\n }, {\n translateY: this.y\n }];\n };\n\n return AnimatedValueXY;\n}(AnimatedWithChildren);\n\nexport default AnimatedValueXY;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport invariant from 'fbjs/lib/invariant';\nvar initialURL = canUseDOM ? window.location.href : '';\nvar Linking = {\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n canOpenURL: function canOpenURL() {\n return Promise.resolve(true);\n },\n getInitialURL: function getInitialURL() {\n return Promise.resolve(initialURL);\n },\n openURL: function openURL(url) {\n try {\n open(url);\n return Promise.resolve();\n } catch (e) {\n return Promise.reject(e);\n }\n },\n _validateURL: function _validateURL(url) {\n invariant(typeof url === 'string', 'Invalid URL: should be a string. Was: ' + url);\n invariant(url, 'Invalid URL: cannot be empty');\n }\n};\n\nvar open = function open(url) {\n if (canUseDOM) {\n window.location = new URL(url, window.location).toString();\n }\n};\n\nexport default Linking;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/Linking/index.js"],"names":["canUseDOM","invariant","initialURL","window","location","href","Linking","addEventListener","removeEventListener","canOpenURL","Promise","resolve","getInitialURL","openURL","url","open","e","reject","_validateURL","URL","toString"],"mappings":"AASA,SAASA,SAAT,QAA0B,+BAA1B;AACA,OAAOC,SAAP,MAAsB,oBAAtB;AACA,IAAIC,UAAU,GAAGF,SAAS,GAAGG,MAAM,CAACC,QAAP,CAAgBC,IAAnB,GAA0B,EAApD;AACA,IAAIC,OAAO,GAAG;AACZC,EAAAA,gBAAgB,EAAE,SAASA,gBAAT,GAA4B,CAAE,CADpC;AAEZC,EAAAA,mBAAmB,EAAE,SAASA,mBAAT,GAA+B,CAAE,CAF1C;AAGZC,EAAAA,UAAU,EAAE,SAASA,UAAT,GAAsB;AAChC,WAAOC,OAAO,CAACC,OAAR,CAAgB,IAAhB,CAAP;AACD,GALW;AAMZC,EAAAA,aAAa,EAAE,SAASA,aAAT,GAAyB;AACtC,WAAOF,OAAO,CAACC,OAAR,CAAgBT,UAAhB,CAAP;AACD,GARW;AASZW,EAAAA,OAAO,EAAE,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AAC7B,QAAI;AACFC,MAAAA,IAAI,CAACD,GAAD,CAAJ;AACA,aAAOJ,OAAO,CAACC,OAAR,EAAP;AACD,KAHD,CAGE,OAAOK,CAAP,EAAU;AACV,aAAON,OAAO,CAACO,MAAR,CAAeD,CAAf,CAAP;AACD;AACF,GAhBW;AAiBZE,EAAAA,YAAY,EAAE,SAASA,YAAT,CAAsBJ,GAAtB,EAA2B;AACvCb,IAAAA,SAAS,CAAC,OAAOa,GAAP,KAAe,QAAhB,EAA0B,2CAA2CA,GAArE,CAAT;AACAb,IAAAA,SAAS,CAACa,GAAD,EAAM,8BAAN,CAAT;AACD;AApBW,CAAd;;AAuBA,IAAIC,IAAI,GAAG,SAASA,IAAT,CAAcD,GAAd,EAAmB;AAC5B,MAAId,SAAJ,EAAe;AACbG,IAAAA,MAAM,CAACC,QAAP,GAAkB,IAAIe,GAAJ,CAAQL,GAAR,EAAaX,MAAM,CAACC,QAApB,EAA8BgB,QAA9B,EAAlB;AACD;AACF,CAJD;;AAMA,eAAed,OAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport invariant from 'fbjs/lib/invariant';\nvar initialURL = canUseDOM ? window.location.href : '';\nvar Linking = {\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n canOpenURL: function canOpenURL() {\n return Promise.resolve(true);\n },\n getInitialURL: function getInitialURL() {\n return Promise.resolve(initialURL);\n },\n openURL: function openURL(url) {\n try {\n open(url);\n return Promise.resolve();\n } catch (e) {\n return Promise.reject(e);\n }\n },\n _validateURL: function _validateURL(url) {\n invariant(typeof url === 'string', 'Invalid URL: should be a string. Was: ' + url);\n invariant(url, 'Invalid URL: cannot be empty');\n }\n};\n\nvar open = function open(url) {\n if (canUseDOM) {\n window.location = new URL(url, window.location).toString();\n }\n};\n\nexport default Linking;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"var getBoundingClientRect = function getBoundingClientRect(node) {\n if (node != null) {\n var isElement = node.nodeType === 1;\n\n if (isElement && typeof node.getBoundingClientRect === 'function') {\n return node.getBoundingClientRect();\n }\n }\n};\n\nexport default getBoundingClientRect;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/getBoundingClientRect/index.js"],"names":["getBoundingClientRect","node","isElement","nodeType"],"mappings":"AAQA,IAAIA,qBAAqB,GAAG,SAASA,qBAAT,CAA+BC,IAA/B,EAAqC;AAC/D,MAAIA,IAAI,IAAI,IAAZ,EAAkB;AAChB,QAAIC,SAAS,GAAGD,IAAI,CAACE,QAAL,KAAkB,CAAlC;;AAGA,QAAID,SAAS,IAAI,OAAOD,IAAI,CAACD,qBAAZ,KAAsC,UAAvD,EAAmE;AACjE,aAAOC,IAAI,CAACD,qBAAL,EAAP;AACD;AACF;AACF,CATD;;AAWA,eAAeA,qBAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar getBoundingClientRect = function getBoundingClientRect(node) {\n if (node != null) {\n var isElement = node.nodeType === 1;\n /* Node.ELEMENT_NODE */\n\n if (isElement && typeof node.getBoundingClientRect === 'function') {\n return node.getBoundingClientRect();\n }\n }\n};\n\nexport default getBoundingClientRect;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"var dataUriPattern = /^data:/;\nexport var ImageUriCache = function () {\n function ImageUriCache() {}\n\n ImageUriCache.has = function has(uri) {\n var entries = ImageUriCache._entries;\n var isDataUri = dataUriPattern.test(uri);\n return isDataUri || Boolean(entries[uri]);\n };\n\n ImageUriCache.add = function add(uri) {\n var entries = ImageUriCache._entries;\n var lastUsedTimestamp = Date.now();\n\n if (entries[uri]) {\n entries[uri].lastUsedTimestamp = lastUsedTimestamp;\n entries[uri].refCount += 1;\n } else {\n entries[uri] = {\n lastUsedTimestamp: lastUsedTimestamp,\n refCount: 1\n };\n }\n };\n\n ImageUriCache.remove = function remove(uri) {\n var entries = ImageUriCache._entries;\n\n if (entries[uri]) {\n entries[uri].refCount -= 1;\n }\n\n ImageUriCache._cleanUpIfNeeded();\n };\n\n ImageUriCache._cleanUpIfNeeded = function _cleanUpIfNeeded() {\n var entries = ImageUriCache._entries;\n var imageUris = Object.keys(entries);\n\n if (imageUris.length + 1 > ImageUriCache._maximumEntries) {\n var leastRecentlyUsedKey;\n var leastRecentlyUsedEntry;\n imageUris.forEach(function (uri) {\n var entry = entries[uri];\n\n if ((!leastRecentlyUsedEntry || entry.lastUsedTimestamp < leastRecentlyUsedEntry.lastUsedTimestamp) && entry.refCount === 0) {\n leastRecentlyUsedKey = uri;\n leastRecentlyUsedEntry = entry;\n }\n });\n\n if (leastRecentlyUsedKey) {\n delete entries[leastRecentlyUsedKey];\n }\n }\n };\n\n return ImageUriCache;\n}();\nImageUriCache._maximumEntries = 256;\nImageUriCache._entries = {};\nvar id = 0;\nvar requests = {};\nvar ImageLoader = {\n abort: function abort(requestId) {\n var image = requests[\"\" + requestId];\n\n if (image) {\n image.onerror = null;\n image.onload = null;\n image = null;\n delete requests[\"\" + requestId];\n }\n },\n getSize: function getSize(uri, success, failure) {\n var complete = false;\n var interval = setInterval(callback, 16);\n var requestId = ImageLoader.load(uri, callback, errorCallback);\n\n function callback() {\n var image = requests[\"\" + requestId];\n\n if (image) {\n var naturalHeight = image.naturalHeight,\n naturalWidth = image.naturalWidth;\n\n if (naturalHeight && naturalWidth) {\n success(naturalWidth, naturalHeight);\n complete = true;\n }\n }\n\n if (complete) {\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n }\n\n function errorCallback() {\n if (typeof failure === 'function') {\n failure();\n }\n\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n },\n has: function has(uri) {\n return ImageUriCache.has(uri);\n },\n load: function load(uri, onLoad, onError) {\n id += 1;\n var image = new window.Image();\n image.onerror = onError;\n\n image.onload = function (e) {\n var onDecode = function onDecode() {\n return onLoad({\n nativeEvent: e\n });\n };\n\n if (typeof image.decode === 'function') {\n image.decode().then(onDecode, onDecode);\n } else {\n setTimeout(onDecode, 0);\n }\n };\n\n image.src = uri;\n requests[\"\" + id] = image;\n return id;\n },\n prefetch: function prefetch(uri) {\n return new Promise(function (resolve, reject) {\n ImageLoader.load(uri, function () {\n ImageUriCache.add(uri);\n ImageUriCache.remove(uri);\n resolve();\n }, reject);\n });\n },\n queryCache: function queryCache(uris) {\n var result = {};\n uris.forEach(function (u) {\n if (ImageUriCache.has(u)) {\n result[u] = 'disk/memory';\n }\n });\n return Promise.resolve(result);\n }\n};\nexport default ImageLoader;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/ImageLoader/index.js"],"names":["dataUriPattern","ImageUriCache","has","uri","entries","_entries","isDataUri","test","Boolean","add","lastUsedTimestamp","Date","now","refCount","remove","_cleanUpIfNeeded","imageUris","Object","keys","length","_maximumEntries","leastRecentlyUsedKey","leastRecentlyUsedEntry","forEach","entry","id","requests","ImageLoader","abort","requestId","image","onerror","onload","getSize","success","failure","complete","interval","setInterval","callback","load","errorCallback","naturalHeight","naturalWidth","clearInterval","onLoad","onError","window","Image","e","onDecode","nativeEvent","decode","then","setTimeout","src","prefetch","Promise","resolve","reject","queryCache","uris","result","u"],"mappings":"AAQA,IAAIA,cAAc,GAAG,QAArB;AACA,OAAO,IAAIC,aAAa,GAExB,YAAY;AACV,WAASA,aAAT,GAAyB,CAAE;;AAE3BA,EAAAA,aAAa,CAACC,GAAd,GAAoB,SAASA,GAAT,CAAaC,GAAb,EAAkB;AACpC,QAAIC,OAAO,GAAGH,aAAa,CAACI,QAA5B;AACA,QAAIC,SAAS,GAAGN,cAAc,CAACO,IAAf,CAAoBJ,GAApB,CAAhB;AACA,WAAOG,SAAS,IAAIE,OAAO,CAACJ,OAAO,CAACD,GAAD,CAAR,CAA3B;AACD,GAJD;;AAMAF,EAAAA,aAAa,CAACQ,GAAd,GAAoB,SAASA,GAAT,CAAaN,GAAb,EAAkB;AACpC,QAAIC,OAAO,GAAGH,aAAa,CAACI,QAA5B;AACA,QAAIK,iBAAiB,GAAGC,IAAI,CAACC,GAAL,EAAxB;;AAEA,QAAIR,OAAO,CAACD,GAAD,CAAX,EAAkB;AAChBC,MAAAA,OAAO,CAACD,GAAD,CAAP,CAAaO,iBAAb,GAAiCA,iBAAjC;AACAN,MAAAA,OAAO,CA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AAuB;AAC/B,WAAO,IAAIsD,OAAJ,CAAY,UAAUC,OAAV,EAAmBC,MAAnB,EAA2B;AAC5ChC,MAAAA,WAAW,CAACa,IAAZ,CAAiBrC,GAAjB,EAAsB,YAAY;AAGhCF,QAAAA,aAAa,CAACQ,GAAd,CAAkBN,GAAlB;AACAF,QAAAA,aAAa,CAACa,MAAd,CAAqBX,GAArB;AACAuD,QAAAA,OAAO;AACR,OAND,EAMGC,MANH;AAOD,KARM,CAAP;AASD,GApFe;AAqFhBC,EAAAA,UAAU,EAAE,SAASA,UAAT,CAAoBC,IAApB,EAA0B;AACpC,QAAIC,MAAM,GAAG,EAAb;AACAD,IAAAA,IAAI,CAACtC,OAAL,CAAa,UAAUwC,CAAV,EAAa;AACxB,UAAI9D,aAAa,CAACC,GAAd,CAAkB6D,CAAlB,CAAJ,EAA0B;AACxBD,QAAAA,MAAM,CAACC,CAAD,CAAN,GAAY,aAAZ;AACD;AACF,KAJD;AAKA,WAAON,OAAO,CAACC,OAAR,CAAgBI,MAAhB,CAAP;AACD;AA7Fe,CAAlB;AA+FA,eAAenC,WAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar dataUriPattern = /^data:/;\nexport var ImageUriCache =\n/*#__PURE__*/\nfunction () {\n function ImageUriCache() {}\n\n ImageUriCache.has = function has(uri) {\n var entries = ImageUriCache._entries;\n var isDataUri = dataUriPattern.test(uri);\n return isDataUri || Boolean(entries[uri]);\n };\n\n ImageUriCache.add = function add(uri) {\n var entries = ImageUriCache._entries;\n var lastUsedTimestamp = Date.now();\n\n if (entries[uri]) {\n entries[uri].lastUsedTimestamp = lastUsedTimestamp;\n entries[uri].refCount += 1;\n } else {\n entries[uri] = {\n lastUsedTimestamp: lastUsedTimestamp,\n refCount: 1\n };\n }\n };\n\n ImageUriCache.remove = function remove(uri) {\n var entries = ImageUriCache._entries;\n\n if (entries[uri]) {\n entries[uri].refCount -= 1;\n } // Free up entries when the cache is \"full\"\n\n\n ImageUriCache._cleanUpIfNeeded();\n };\n\n ImageUriCache._cleanUpIfNeeded = function _cleanUpIfNeeded() {\n var entries = ImageUriCache._entries;\n var imageUris = Object.keys(entries);\n\n if (imageUris.length + 1 > ImageUriCache._maximumEntries) {\n var leastRecentlyUsedKey;\n var leastRecentlyUsedEntry;\n imageUris.forEach(function (uri) {\n var entry = entries[uri];\n\n if ((!leastRecentlyUsedEntry || entry.lastUsedTimestamp < leastRecentlyUsedEntry.lastUsedTimestamp) && entry.refCount === 0) {\n leastRecentlyUsedKey = uri;\n leastRecentlyUsedEntry = entry;\n }\n });\n\n if (leastRecentlyUsedKey) {\n delete entries[leastRecentlyUsedKey];\n }\n }\n };\n\n return ImageUriCache;\n}();\nImageUriCache._maximumEntries = 256;\nImageUriCache._entries = {};\nvar id = 0;\nvar requests = {};\nvar ImageLoader = {\n abort: function abort(requestId) {\n var image = requests[\"\" + requestId];\n\n if (image) {\n image.onerror = null;\n image.onload = null;\n image = null;\n delete requests[\"\" + requestId];\n }\n },\n getSize: function getSize(uri, success, failure) {\n var complete = false;\n var interval = setInterval(callback, 16);\n var requestId = ImageLoader.load(uri, callback, errorCallback);\n\n function callback() {\n var image = requests[\"\" + requestId];\n\n if (image) {\n var naturalHeight = image.naturalHeight,\n naturalWidth = image.naturalWidth;\n\n if (naturalHeight && naturalWidth) {\n success(naturalWidth, naturalHeight);\n complete = true;\n }\n }\n\n if (complete) {\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n }\n\n function errorCallback() {\n if (typeof failure === 'function') {\n failure();\n }\n\n ImageLoader.abort(requestId);\n clearInterval(interval);\n }\n },\n has: function has(uri) {\n return ImageUriCache.has(uri);\n },\n load: function load(uri, onLoad, onError) {\n id += 1;\n var image = new window.Image();\n image.onerror = onError;\n\n image.onload = function (e) {\n // avoid blocking the main thread\n var onDecode = function onDecode() {\n return onLoad({\n nativeEvent: e\n });\n };\n\n if (typeof image.decode === 'function') {\n // Safari currently throws exceptions when decoding svgs.\n // We want to catch that error and allow the load handler\n // to be forwarded to the onLoad handler in this case\n image.decode().then(onDecode, onDecode);\n } else {\n setTimeout(onDecode, 0);\n }\n };\n\n image.src = uri;\n requests[\"\" + id] = image;\n return id;\n },\n prefetch: function prefetch(uri) {\n return new Promise(function (resolve, reject) {\n ImageLoader.load(uri, function () {\n // Add the uri to the cache so it can be immediately displayed when used\n // but also immediately remove it to correctly reflect that it has no active references\n ImageUriCache.add(uri);\n ImageUriCache.remove(uri);\n resolve();\n }, reject);\n });\n },\n queryCache: function queryCache(uris) {\n var result = {};\n uris.forEach(function (u) {\n if (ImageUriCache.has(u)) {\n result[u] = 'disk/memory';\n }\n });\n return Promise.resolve(result);\n }\n};\nexport default ImageLoader;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport createCSSStyleSheet from \"./createCSSStyleSheet\";\nimport createCompileableStyle from \"./createCompileableStyle\";\nimport createOrderedCSSStyleSheet from \"./createOrderedCSSStyleSheet\";\nimport flattenArray from \"../../modules/flattenArray\";\nimport flattenStyle from \"./flattenStyle\";\nimport I18nManager from \"../I18nManager\";\nimport i18nStyle from \"./i18nStyle\";\nimport { atomic, classic, inline, stringifyValueWithProperty } from \"./compile\";\nimport initialRules from \"./initialRules\";\nimport modality from \"./modality\";\nimport { STYLE_ELEMENT_ID, STYLE_GROUPS } from \"./constants\";\nexport default function createStyleResolver() {\n var inserted, sheet, cache;\n var resolved = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n\n var init = function init() {\n inserted = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n sheet = createOrderedCSSStyleSheet(createCSSStyleSheet(STYLE_ELEMENT_ID));\n cache = {};\n modality(function (rule) {\n return sheet.insert(rule, STYLE_GROUPS.modality);\n });\n initialRules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.reset);\n });\n };\n\n init();\n\n function addToCache(className, prop, value) {\n if (!cache[prop]) {\n cache[prop] = {};\n }\n\n cache[prop][value] = className;\n }\n\n function getClassName(prop, value) {\n var val = stringifyValueWithProperty(value, prop);\n return cache[prop] && cache[prop].hasOwnProperty(val) && cache[prop][val];\n }\n\n function _injectRegisteredStyle(id) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr';\n\n if (!inserted[dir][id]) {\n var style = createCompileableStyle(i18nStyle(flattenStyle(id)));\n var results = atomic(style);\n Object.keys(results).forEach(function (key) {\n var _results$key = results[key],\n identifier = _results$key.identifier,\n property = _results$key.property,\n rules = _results$key.rules,\n value = _results$key.value;\n addToCache(identifier, property, value);\n rules.forEach(function (rule) {\n var group = STYLE_GROUPS.custom[property] || STYLE_GROUPS.atomic;\n sheet.insert(rule, group);\n });\n });\n inserted[dir][id] = true;\n }\n }\n\n function resolve(style, classList) {\n var nextClassList = [];\n var props = {};\n\n if (!style && !classList) {\n return props;\n }\n\n if (Array.isArray(classList)) {\n flattenArray(classList).forEach(function (identifier) {\n if (identifier) {\n if (inserted.css[identifier] == null && resolved.css[identifier] != null) {\n var item = resolved.css[identifier];\n item.rules.forEach(function (rule) {\n sheet.insert(rule, item.group);\n });\n inserted.css[identifier] = true;\n }\n\n nextClassList.push(identifier);\n }\n });\n }\n\n if (typeof style === 'number') {\n _injectRegisteredStyle(style);\n\n var key = createCacheKey(style);\n props = _resolveStyle(style, key);\n } else if (!Array.isArray(style)) {\n props = _resolveStyle(style);\n } else {\n var flatArray = flattenArray(style);\n var isArrayOfNumbers = true;\n var cacheKey = '';\n\n for (var i = 0; i < flatArray.length; i++) {\n var id = flatArray[i];\n\n if (typeof id !== 'number') {\n isArrayOfNumbers = false;\n } else {\n if (isArrayOfNumbers) {\n cacheKey += id + '-';\n }\n\n _injectRegisteredStyle(id);\n }\n }\n\n var _key = isArrayOfNumbers ? createCacheKey(cacheKey) : null;\n\n props = _resolveStyle(flatArray, _key);\n }\n\n nextClassList.push.apply(nextClassList, props.classList);\n var finalProps = {\n className: classListToString(nextClassList),\n classList: nextClassList\n };\n\n if (props.style) {\n finalProps.style = props.style;\n }\n\n return finalProps;\n }\n\n function _resolveStyle(style, key) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr';\n\n if (key != null && resolved[dir][key] != null) {\n return resolved[dir][key];\n }\n\n var flatStyle = flattenStyle(style);\n var localizedStyle = createCompileableStyle(i18nStyle(flatStyle));\n var props = Object.keys(localizedStyle).sort().reduce(function (props, styleProp) {\n var value = localizedStyle[styleProp];\n\n if (value != null) {\n var className = getClassName(styleProp, value);\n\n if (className) {\n props.classList.push(className);\n } else {\n if (styleProp === 'animationKeyframes' || styleProp === 'placeholderTextColor' || styleProp === 'pointerEvents' || styleProp === 'scrollbarWidth') {\n var _atomic;\n\n var a = atomic((_atomic = {}, _atomic[styleProp] = value, _atomic));\n Object.keys(a).forEach(function (key) {\n var _a$key = a[key],\n identifier = _a$key.identifier,\n rules = _a$key.rules;\n props.classList.push(identifier);\n rules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.atomic);\n });\n });\n } else {\n if (!props.style) {\n props.style = {};\n }\n\n props.style[styleProp] = value;\n }\n }\n }\n\n return props;\n }, {\n classList: []\n });\n\n if (props.style) {\n props.style = inline(props.style);\n }\n\n if (key != null) {\n resolved[dir][key] = props;\n }\n\n return props;\n }\n\n return {\n getStyleSheet: function getStyleSheet() {\n var textContent = sheet.getTextContent();\n\n if (!canUseDOM) {\n init();\n }\n\n return {\n id: STYLE_ELEMENT_ID,\n textContent: textContent\n };\n },\n createCSS: function createCSS(rules, group) {\n var result = {};\n Object.keys(rules).forEach(function (name) {\n var style = rules[name];\n var compiled = classic(style, name);\n Object.keys(compiled).forEach(function (key) {\n var _compiled$key = compiled[key],\n identifier = _compiled$key.identifier,\n rules = _compiled$key.rules;\n resolved.css[identifier] = {\n group: group || STYLE_GROUPS.classic,\n rules: rules\n };\n result[name] = identifier;\n });\n });\n return result;\n },\n resolve: resolve,\n sheet: sheet\n };\n}\n\nvar createCacheKey = function createCacheKey(id) {\n var prefix = 'rn';\n return prefix + \"-\" + id;\n};\n\nvar classListToString = function classListToString(list) {\n return list.join(' ').trim();\n};","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/StyleSheet/createStyleResolver.js"],"names":["canUseDOM","createCSSStyleSheet","createCompileableStyle","createOrderedCSSStyleSheet","flattenArray","flattenStyle","I18nManager","i18nStyle","atomic","classic","inline","stringifyValueWithProperty","initialRules","modality","STYLE_ELEMENT_ID","STYLE_GROUPS","createStyleResolver","inserted","sheet","cache","resolved","css","ltr","rtl","rtlNoSwap","init","rule","insert","forEach","reset","addToCache","className","prop","value","getClassName","val","hasOwnProperty","_injectRegisteredStyle","id","doLeftAndRightSwapInRTL","isRTL","dir","style","results","Object","keys","key","_results$key","identifier","property","rules","group","custom","resolve","classList","nextClassList","props","Array","isArray","item","push","createCacheKey","_resolveStyle","flatArray","isArrayOfNumbers","cacheKey","i","length","_key","apply","finalProps","classListToString","flatStyle","localizedStyle","sort","reduce","styleProp","_atomic","a","_a$key","getStyleSheet","textContent","getTextContent","createCSS","result","name","compiled","_compiled$key","prefix","list","join","trim"],"mappings":"AAaA,SAASA,SAAT,QAA0B,+BAA1B;AACA,OAAOC,mBAAP;AACA,OAAOC,sBAAP;AACA,OAAOC,0BAAP;AACA,OAAOC,YAAP;AACA,OAAOC,YAAP;AACA,OAAOC,WAAP;AACA,OAAOC,SAAP;AACA,SAASC,MAAT,EAAiBC,OAAjB,EAA0BC,MAA1B,EAAkCC,0BAAlC;AAC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as Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n/**\n * WARNING: changes to this file in particular can cause significant changes to\n * the results of render performance benchmarks.\n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport createCSSStyleSheet from './createCSSStyleSheet';\nimport createCompileableStyle from './createCompileableStyle';\nimport createOrderedCSSStyleSheet from './createOrderedCSSStyleSheet';\nimport flattenArray from '../../modules/flattenArray';\nimport flattenStyle from './flattenStyle';\nimport I18nManager from '../I18nManager';\nimport i18nStyle from './i18nStyle';\nimport { atomic, classic, inline, stringifyValueWithProperty } from './compile';\nimport initialRules from './initialRules';\nimport modality from './modality';\nimport { STYLE_ELEMENT_ID, STYLE_GROUPS } from './constants';\nexport default function createStyleResolver() {\n var inserted, sheet, cache;\n var resolved = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n\n var init = function init() {\n inserted = {\n css: {},\n ltr: {},\n rtl: {},\n rtlNoSwap: {}\n };\n sheet = createOrderedCSSStyleSheet(createCSSStyleSheet(STYLE_ELEMENT_ID));\n cache = {};\n modality(function (rule) {\n return sheet.insert(rule, STYLE_GROUPS.modality);\n });\n initialRules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.reset);\n });\n };\n\n init();\n\n function addToCache(className, prop, value) {\n if (!cache[prop]) {\n cache[prop] = {};\n }\n\n cache[prop][value] = className;\n }\n\n function getClassName(prop, value) {\n var val = stringifyValueWithProperty(value, prop);\n return cache[prop] && cache[prop].hasOwnProperty(val) && cache[prop][val];\n }\n\n function _injectRegisteredStyle(id) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr';\n\n if (!inserted[dir][id]) {\n var style = createCompileableStyle(i18nStyle(flattenStyle(id)));\n var results = atomic(style);\n Object.keys(results).forEach(function (key) {\n var _results$key = results[key],\n identifier = _results$key.identifier,\n property = _results$key.property,\n rules = _results$key.rules,\n value = _results$key.value;\n addToCache(identifier, property, value);\n rules.forEach(function (rule) {\n var group = STYLE_GROUPS.custom[property] || STYLE_GROUPS.atomic;\n sheet.insert(rule, group);\n });\n });\n inserted[dir][id] = true;\n }\n }\n /**\n * Resolves a React Native style object to DOM attributes\n */\n\n\n function resolve(style, classList) {\n var nextClassList = [];\n var props = {};\n\n if (!style && !classList) {\n return props;\n }\n\n if (Array.isArray(classList)) {\n flattenArray(classList).forEach(function (identifier) {\n if (identifier) {\n if (inserted.css[identifier] == null && resolved.css[identifier] != null) {\n var item = resolved.css[identifier];\n item.rules.forEach(function (rule) {\n sheet.insert(rule, item.group);\n });\n inserted.css[identifier] = true;\n }\n\n nextClassList.push(identifier);\n }\n });\n }\n\n if (typeof style === 'number') {\n // fast and cachable\n _injectRegisteredStyle(style);\n\n var key = createCacheKey(style);\n props = _resolveStyle(style, key);\n } else if (!Array.isArray(style)) {\n // resolve a plain RN style object\n props = _resolveStyle(style);\n } else {\n // flatten the style array\n // cache resolved props when all styles are registered\n // otherwise fallback to resolving\n var flatArray = flattenArray(style);\n var isArrayOfNumbers = true;\n var cacheKey = '';\n\n for (var i = 0; i < flatArray.length; i++) {\n var id = flatArray[i];\n\n if (typeof id !== 'number') {\n isArrayOfNumbers = false;\n } else {\n if (isArrayOfNumbers) {\n cacheKey += id + '-';\n }\n\n _injectRegisteredStyle(id);\n }\n }\n\n var _key = isArrayOfNumbers ? createCacheKey(cacheKey) : null;\n\n props = _resolveStyle(flatArray, _key);\n }\n\n nextClassList.push.apply(nextClassList, props.classList);\n var finalProps = {\n className: classListToString(nextClassList),\n classList: nextClassList\n };\n\n if (props.style) {\n finalProps.style = props.style;\n }\n\n return finalProps;\n }\n /**\n * Resolves a React Native style object\n */\n\n\n function _resolveStyle(style, key) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var dir = isRTL ? doLeftAndRightSwapInRTL ? 'rtl' : 'rtlNoSwap' : 'ltr'; // faster: memoized\n\n if (key != null && resolved[dir][key] != null) {\n return resolved[dir][key];\n }\n\n var flatStyle = flattenStyle(style);\n var localizedStyle = createCompileableStyle(i18nStyle(flatStyle)); // slower: convert style object to props and cache\n\n var props = Object.keys(localizedStyle).sort().reduce(function (props, styleProp) {\n var value = localizedStyle[styleProp];\n\n if (value != null) {\n var className = getClassName(styleProp, value);\n\n if (className) {\n props.classList.push(className);\n } else {\n // Certain properties and values are not transformed by 'createReactDOMStyle' as they\n // require more complex transforms into multiple CSS rules. Here we assume that StyleManager\n // can bind these styles to a className, and prevent them becoming invalid inline-styles.\n if (styleProp === 'animationKeyframes' || styleProp === 'placeholderTextColor' || styleProp === 'pointerEvents' || styleProp === 'scrollbarWidth') {\n var _atomic;\n\n var a = atomic((_atomic = {}, _atomic[styleProp] = value, _atomic));\n Object.keys(a).forEach(function (key) {\n var _a$key = a[key],\n identifier = _a$key.identifier,\n rules = _a$key.rules;\n props.classList.push(identifier);\n rules.forEach(function (rule) {\n sheet.insert(rule, STYLE_GROUPS.atomic);\n });\n });\n } else {\n if (!props.style) {\n props.style = {};\n } // 4x slower render\n\n\n props.style[styleProp] = value;\n }\n }\n }\n\n return props;\n }, {\n classList: []\n });\n\n if (props.style) {\n props.style = inline(props.style);\n }\n\n if (key != null) {\n resolved[dir][key] = props;\n }\n\n return props;\n }\n\n return {\n getStyleSheet: function getStyleSheet() {\n var textContent = sheet.getTextContent(); // Reset state on the server so critical css is always the result\n\n if (!canUseDOM) {\n init();\n }\n\n return {\n id: STYLE_ELEMENT_ID,\n textContent: textContent\n };\n },\n createCSS: function createCSS(rules, group) {\n var result = {};\n Object.keys(rules).forEach(function (name) {\n var style = rules[name];\n var compiled = classic(style, name);\n Object.keys(compiled).forEach(function (key) {\n var _compiled$key = compiled[key],\n identifier = _compiled$key.identifier,\n rules = _compiled$key.rules;\n resolved.css[identifier] = {\n group: group || STYLE_GROUPS.classic,\n rules: rules\n };\n result[name] = identifier;\n });\n });\n return result;\n },\n resolve: resolve,\n sheet: sheet\n };\n}\n/**\n * Misc helpers\n */\n\nvar createCacheKey = function createCacheKey(id) {\n var prefix = 'rn';\n return prefix + \"-\" + id;\n};\n\nvar classListToString = function classListToString(list) {\n return list.join(' ').trim();\n};"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport useLayoutEffect from \"./useLayoutEffect\";\nimport UIManager from \"../exports/UIManager\";\nvar DOM_LAYOUT_HANDLER_NAME = '__reactLayoutHandler';\nvar didWarn = !canUseDOM;\nvar resizeObserver = null;\n\nfunction getResizeObserver() {\n if (canUseDOM && typeof window.ResizeObserver !== 'undefined') {\n if (resizeObserver == null) {\n resizeObserver = new window.ResizeObserver(function (entries) {\n entries.forEach(function (entry) {\n var node = entry.target;\n var onLayout = node[DOM_LAYOUT_HANDLER_NAME];\n\n if (typeof onLayout === 'function') {\n UIManager.measure(node, function (x, y, width, height, left, top) {\n var event = {\n nativeEvent: {\n layout: {\n x: x,\n y: y,\n width: width,\n height: height,\n left: left,\n top: top\n }\n },\n timeStamp: Date.now()\n };\n Object.defineProperty(event.nativeEvent, 'target', {\n enumerable: true,\n get: function get() {\n return entry.target;\n }\n });\n onLayout(event);\n });\n }\n });\n });\n }\n } else if (!didWarn) {\n if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test') {\n console.warn('onLayout relies on ResizeObserver which is not supported by your browser. ' + 'Please include a polyfill, e.g., https://github.com/que-etc/resize-observer-polyfill.');\n didWarn = true;\n }\n }\n\n return resizeObserver;\n}\n\nexport default function useElementLayout(ref, onLayout) {\n var observer = getResizeObserver();\n useLayoutEffect(function () {\n var node = ref.current;\n\n if (node != null) {\n node[DOM_LAYOUT_HANDLER_NAME] = onLayout;\n }\n }, [ref, onLayout]);\n useLayoutEffect(function () {\n var node = ref.current;\n\n if (node != null && observer != null) {\n if (typeof node[DOM_LAYOUT_HANDLER_NAME] === 'function') {\n observer.observe(node);\n } else {\n observer.unobserve(node);\n }\n }\n\n return function () {\n if (node != null && observer != null) {\n observer.unobserve(node);\n }\n };\n }, [ref, observer]);\n}","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/hooks/useElementLayout.js"],"names":["canUseDOM","useLayoutEffect","UIManager","DOM_LAYOUT_HANDLER_NAME","didWarn","resizeObserver","getResizeObserver","window","ResizeObserver","entries","forEach","entry","node","target","onLayout","measure","x","y","width","height","left","top","event","nativeEvent","layout","timeStamp","Date","now","Object","defineProperty","enumerable","get","process","env","NODE_ENV","console","warn","useElementLayout","ref","observer","current","observe","unobserve"],"mappings":"AAQA,SAASA,SAAT,QAA0B,+BAA1B;AACA,OAAOC,eAAP;AACA,OAAOC,SAAP;AACA,IAAIC,uBAAuB,GAAG,sBAA9B;AACA,IAAIC,OAAO,GAAG,CAACJ,SAAf;AACA,IAAIK,cAAc,GAAG,IAArB;;AAEA,SAASC,iBAAT,GAA6B;AAC3B,MAAIN,SAAS,IAAI,OAAOO,MAAM,CAACC,cAAd,KAAiC,WAAlD,EAA+D;AAC7D,QAAIH,cAAc,IAAI,IAAtB,EAA4B;AAC1BA,MAAAA,cAAc,GAAG,IAAIE,MAAM,CAACC,cAAX,CAA0B,UAAUC,OAAV,EAAmB;AAC5DA,QAAAA,OAAO,CAACC,OAAR,CAAgB,UAAUC,KAAV,EAAiB;AAC/B,cAAIC,IAAI,GAAGD,KAAK,CAACE,MAAjB;AACA,cAAIC,QAAQ,GAAGF,IAAI,CAACT,uBAAD,CAAnB;;AAEA,cAAI,OAAOW,QAAP,KAAoB,UAAxB,EAAoC;AAGlCZ,YAAAA,SAAS,CAACa,OAAV,CAAkBH,IAAlB,EAAwB,UAAUI,CAAV,EAAaC,CAAb,EAAgBC,KAAhB,EAAuBC,MAAvB,EAA+BC,IAA/B,EAAq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CAACT,uBAAD,CAAJ,GAAgCW,QAAhC;AACD;AACF,GANc,EAMZ,CAACwB,GAAD,EAAMxB,QAAN,CANY,CAAf;AASAb,EAAAA,eAAe,CAAC,YAAY;AAC1B,QAAIW,IAAI,GAAG0B,GAAG,CAACE,OAAf;;AAEA,QAAI5B,IAAI,IAAI,IAAR,IAAgB2B,QAAQ,IAAI,IAAhC,EAAsC;AACpC,UAAI,OAAO3B,IAAI,CAACT,uBAAD,CAAX,KAAyC,UAA7C,EAAyD;AACvDoC,QAAAA,QAAQ,CAACE,OAAT,CAAiB7B,IAAjB;AACD,OAFD,MAEO;AACL2B,QAAAA,QAAQ,CAACG,SAAT,CAAmB9B,IAAnB;AACD;AACF;;AAED,WAAO,YAAY;AACjB,UAAIA,IAAI,IAAI,IAAR,IAAgB2B,QAAQ,IAAI,IAAhC,EAAsC;AACpCA,QAAAA,QAAQ,CAACG,SAAT,CAAmB9B,IAAnB;AACD;AACF,KAJD;AAKD,GAhBc,EAgBZ,CAAC0B,GAAD,EAAMC,QAAN,CAhBY,CAAf;AAiBD","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport useLayoutEffect from './useLayoutEffect';\nimport UIManager from '../exports/UIManager';\nvar DOM_LAYOUT_HANDLER_NAME = '__reactLayoutHandler';\nvar didWarn = !canUseDOM;\nvar resizeObserver = null;\n\nfunction getResizeObserver() {\n if (canUseDOM && typeof window.ResizeObserver !== 'undefined') {\n if (resizeObserver == null) {\n resizeObserver = new window.ResizeObserver(function (entries) {\n entries.forEach(function (entry) {\n var node = entry.target;\n var onLayout = node[DOM_LAYOUT_HANDLER_NAME];\n\n if (typeof onLayout === 'function') {\n // We still need to measure the view because browsers don't yet provide\n // border-box dimensions in the entry\n UIManager.measure(node, function (x, y, width, height, left, top) {\n var event = {\n // $FlowFixMe\n nativeEvent: {\n layout: {\n x: x,\n y: y,\n width: width,\n height: height,\n left: left,\n top: top\n }\n },\n timeStamp: Date.now()\n };\n Object.defineProperty(event.nativeEvent, 'target', {\n enumerable: true,\n get: function get() {\n return entry.target;\n }\n });\n onLayout(event);\n });\n }\n });\n });\n }\n } else if (!didWarn) {\n if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test') {\n console.warn('onLayout relies on ResizeObserver which is not supported by your browser. ' + 'Please include a polyfill, e.g., https://github.com/que-etc/resize-observer-polyfill.');\n didWarn = true;\n }\n }\n\n return resizeObserver;\n}\n\nexport default function useElementLayout(ref, onLayout) {\n var observer = getResizeObserver();\n useLayoutEffect(function () {\n var node = ref.current;\n\n if (node != null) {\n node[DOM_LAYOUT_HANDLER_NAME] = onLayout;\n }\n }, [ref, onLayout]); // Observing is done in a separate effect to avoid this effect running\n // when 'onLayout' changes.\n\n useLayoutEffect(function () {\n var node = ref.current;\n\n if (node != null && observer != null) {\n if (typeof node[DOM_LAYOUT_HANDLER_NAME] === 'function') {\n observer.observe(node);\n } else {\n observer.unobserve(node);\n }\n }\n\n return function () {\n if (node != null && observer != null) {\n observer.unobserve(node);\n }\n };\n }, [ref, observer]);\n}"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nvar focusVisibleAttributeName = 'data-focusvisible-polyfill';\nvar rule = \":focus:not([\" + focusVisibleAttributeName + \"]){outline: none;}\";\n\nvar modality = function modality(insertRule) {\n insertRule(rule);\n\n if (!canUseDOM) {\n return;\n }\n\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n function isValidFocusTarget(el) {\n if (el && el !== document && el.nodeName !== 'HTML' && el.nodeName !== 'BODY' && 'classList' in el && 'contains' in el.classList) {\n return true;\n }\n\n return false;\n }\n\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n var isReadOnly = el.readOnly;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !isReadOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !isReadOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n function addFocusVisibleAttribute(el) {\n if (el.hasAttribute(focusVisibleAttributeName)) {\n return;\n }\n\n el.setAttribute(focusVisibleAttributeName, true);\n }\n\n function removeFocusVisibleAttribute(el) {\n el.removeAttribute(focusVisibleAttributeName);\n }\n\n function removeAllFocusVisibleAttributes() {\n var list = document.querySelectorAll(\"[\" + focusVisibleAttributeName + \"]\");\n\n for (var i = 0; i < list.length; i += 1) {\n removeFocusVisibleAttribute(list[i]);\n }\n }\n\n function onKeyDown(e) {\n if (e.key !== 'Tab' && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {\n return;\n }\n\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleAttribute(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n function onPointerDown(e) {\n if (hadKeyboardEvent === true) {\n removeAllFocusVisibleAttributes();\n }\n\n hadKeyboardEvent = false;\n }\n\n function onFocus(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleAttribute(e.target);\n }\n }\n\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (e.target.hasAttribute(focusVisibleAttributeName)) {\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleAttribute(e.target);\n }\n }\n\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n\n addInitialPointerMoveListeners();\n }\n }\n\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n function onInitialPointerMove(e) {\n if (e.target.nodeName === 'HTML') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n};\n\nexport default modality;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/StyleSheet/modality.js"],"names":["canUseDOM","focusVisibleAttributeName","rule","modality","insertRule","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","text","search","url","tel","email","password","number","date","month","week","time","datetime","isValidFocusTarget","el","document","nodeName","classList","focusTriggersKeyboardModality","type","tagName","isReadOnly","readOnly","isContentEditable","addFocusVisibleAttribute","hasAttribute","setAttribute","removeFocusVisibleAttribute","removeAttribute","removeAllFocusVisibleAttributes","list","querySelectorAll","i","length","onKeyDown","e","key","metaKey","altKey","ctrlKey","shiftKey","activeElement","onPointerDown","onFocus","target","onBlur","window","clearTimeout","setTimeout","onVisibilityChange","visibilityState","addInitialPointerMoveListeners","addEventListener","onInitialPointerMove","removeInitialPointerMoveListeners","removeEventListener"],"mappings":"AAmBA,SAASA,SAAT,QAA0B,+BAA1B;AACA,IAAIC,yBAAyB,GAAG,4BAAhC;AACA,IAAIC,IAAI,GAAG,iBAAiBD,yBAAjB,GAA6C,oBAAxD;;AAEA,IAAIE,QAAQ,GAAG,SAASA,QAAT,CAAkBC,UAAlB,EAA8B;AAC3CA,EAAAA,UAAU,CAACF,IAAD,CAAV;;AAEA,MAAI,CAACF,SAAL,EAAgB;AACd;AACD;;AAED,MAAIK,gBAAgB,GAAG,IAAvB;AACA,MAAIC,uBAAuB,GAAG,KAA9B;AACA,MAAIC,8BAA8B,GAAG,IAArC;AACA,MAAIC,mBAAmB,GAAG;AACxBC,IAAAA,IAAI,EAAE,IADkB;AAExBC,IAAAA,MAAM,EAAE,IAFgB;AAGxBC,IAAAA,GAAG,EAAE,IAHmB;AAIxBC,IAAAA,GAAG,EAAE,IAJmB;AAKxBC,IAAAA,KAAK,EAAE,IALiB;AAMxBC,IAAAA,QAAQ,EAAE,IANc;AAOxBC,IAAAA,MAAM,EAAE,IAPgB;AAQxBC,IAAAA,IAAI,EAAE,IARkB;AASxBC,IAAAA,KAAK,EAAE,IATiB;AAUxBC,IAAAA,IAAI,EAAE,IAVkB;AAWxBC,IAAAA,IAAI,EAAE,IAXkB;AAYxBC,IAAAA,QAAQ,EAAE,IAZc;AAaxB,sBAAkB;AAb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CH,kBAA9C,EAAkE,IAAlE;AACAE,EAAAA,8BAA8B;AAC/B,CA9PD;;AAgQA,eAAexD,QAAf","sourcesContent":["/**\n * Adapts focus styles based on the user's active input modality (i.e., how\n * they are interacting with the UI right now).\n *\n * Focus styles are only relevant when using the keyboard to interact with the\n * page. If we only show the focus ring when relevant, we can avoid user\n * confusion without compromising accessibility.\n *\n * The script uses two heuristics to determine whether the keyboard is being used:\n *\n * 1. a keydown event occurred immediately before a focus event;\n * 2. a focus event happened on an element which requires keyboard interaction (e.g., a text field);\n *\n * This software or document includes material copied from or derived from https://github.com/WICG/focus-visible.\n * Copyright © 2018 W3C® (MIT, ERCIM, Keio, Beihang).\n * W3C Software Notice and License: https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nvar focusVisibleAttributeName = 'data-focusvisible-polyfill';\nvar rule = \":focus:not([\" + focusVisibleAttributeName + \"]){outline: none;}\";\n\nvar modality = function modality(insertRule) {\n insertRule(rule);\n\n if (!canUseDOM) {\n return;\n }\n\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n */\n\n function isValidFocusTarget(el) {\n if (el && el !== document && el.nodeName !== 'HTML' && el.nodeName !== 'BODY' && 'classList' in el && 'contains' in el.classList) {\n return true;\n }\n\n return false;\n }\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` attribute being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n */\n\n\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n var isReadOnly = el.readOnly;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !isReadOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !isReadOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n /**\n * Add the `focus-visible` attribute to the given element if it was not added by\n * the author.\n */\n\n\n function addFocusVisibleAttribute(el) {\n if (el.hasAttribute(focusVisibleAttributeName)) {\n return;\n }\n\n el.setAttribute(focusVisibleAttributeName, true);\n }\n /**\n * Remove the `focus-visible` attribute from the given element if it was not\n * originally added by the author.\n */\n\n\n function removeFocusVisibleAttribute(el) {\n el.removeAttribute(focusVisibleAttributeName);\n }\n /**\n * Remove the `focus-visible` attribute from all elements in the document.\n */\n\n\n function removeAllFocusVisibleAttributes() {\n var list = document.querySelectorAll(\"[\" + focusVisibleAttributeName + \"]\");\n\n for (var i = 0; i < list.length; i += 1) {\n removeFocusVisibleAttribute(list[i]);\n }\n }\n /**\n * Treat `keydown` as a signal that the user is in keyboard modality.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n */\n\n\n function onKeyDown(e) {\n if (e.key !== 'Tab' && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {\n return;\n }\n\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleAttribute(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * It also avoids the situation where a user presses on an element within a\n * previously keyboard-focused element (i.e., `e.target` is not the previously\n * focused element, but one of its descendants) and we need to remove the\n * focus ring because a `blur` event doesn't occur.\n */\n\n\n function onPointerDown(e) {\n if (hadKeyboardEvent === true) {\n removeAllFocusVisibleAttributes();\n }\n\n hadKeyboardEvent = false;\n }\n /**\n * On `focus`, add the `focus-visible` attribute to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n */\n\n\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleAttribute(e.target);\n }\n }\n /**\n * On `blur`, remove the `focus-visible` attribute from the target.\n */\n\n\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (e.target.hasAttribute(focusVisibleAttributeName)) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleAttribute(e.target);\n }\n }\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had the focus-visible attribute.\n */\n\n\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the attribute when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n\n addInitialPointerMoveListeners();\n }\n }\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n\n\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n */\n\n\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on <html> whenever the\n // window blurs, even if you're tabbing out of the page. ¯\\_(ツ)_/¯\n if (e.target.nodeName === 'HTML') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n};\n\nexport default modality;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import { findDOMNode } from 'react-dom';\n\nvar findNodeHandle = function findNodeHandle(component) {\n var node;\n\n try {\n node = findDOMNode(component);\n } catch (e) {}\n\n return node;\n};\n\nexport default findNodeHandle;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/findNodeHandle/index.js"],"names":["findDOMNode","findNodeHandle","component","node","e"],"mappings":"AASA,SAASA,WAAT,QAA4B,WAA5B;;AAEA,IAAIC,cAAc,GAAG,SAASA,cAAT,CAAwBC,SAAxB,EAAmC;AACtD,MAAIC,IAAJ;;AAEA,MAAI;AACFA,IAAAA,IAAI,GAAGH,WAAW,CAACE,SAAD,CAAlB;AACD,GAFD,CAEE,OAAOE,CAAP,EAAU,CAAE;;AAEd,SAAOD,IAAP;AACD,CARD;;AAUA,eAAeF,cAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { findDOMNode } from 'react-dom';\n\nvar findNodeHandle = function findNodeHandle(component) {\n var node;\n\n try {\n node = findDOMNode(component);\n } catch (e) {}\n\n return node;\n};\n\nexport default findNodeHandle;"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"export var canvas2Cartesian = function () {\n var _f = function _f(v, center) {\n return {\n x: v.x - center.x,\n y: -1 * (v.y - center.y)\n };\n };\n\n _f._closure = {};\n _f.asString = \"function canvas2Cartesian(v,center){return{x:v.x-center.x,y:-1*(v.y-center.y)};}\";\n _f.__workletHash = 3562370629264;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:28)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();\nexport var cartesian2Canvas = function () {\n var _f = function _f(v, center) {\n return {\n x: v.x + center.x,\n y: -1 * v.y + center.y\n };\n };\n\n _f._closure = {};\n _f.asString = \"function cartesian2Canvas(v,center){return{x:v.x+center.x,y:-1*v.y+center.y};}\";\n _f.__workletHash = 7491902935633;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:147)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();\nexport var cartesian2Polar = function () {\n var _f = function _f(v) {\n return {\n theta: Math.atan2(v.y, v.x),\n radius: Math.sqrt(Math.pow(v.x, 2) + Math.pow(v.y, 2))\n };\n };\n\n _f._closure = {};\n _f.asString = \"function cartesian2Polar(v){return{theta:Math.atan2(v.y,v.x),radius:Math.sqrt(Math.pow(v.x,2)+Math.pow(v.y,2))};}\";\n _f.__workletHash = 12160470993110;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:263)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();\nexport var polar2Cartesian = function () {\n var _f = function _f(p) {\n return {\n x: p.radius * Math.cos(p.theta),\n y: p.radius * Math.sin(p.theta)\n };\n };\n\n _f._closure = {};\n _f.asString = \"function polar2Cartesian(p){return{x:p.radius*Math.cos(p.theta),y:p.radius*Math.sin(p.theta)};}\";\n _f.__workletHash = 8363087767813;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:414)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();\nexport var polar2Canvas = function () {\n var _f = function _f(p, center) {\n return cartesian2Canvas(polar2Cartesian(p), center);\n };\n\n _f._closure = {\n cartesian2Canvas: cartesian2Canvas,\n polar2Cartesian: polar2Cartesian\n };\n _f.asString = \"function polar2Canvas(p,center){const{cartesian2Canvas,polar2Cartesian}=jsThis._closure;{return cartesian2Canvas(polar2Cartesian(p),center);}}\";\n _f.__workletHash = 9389364638073;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:544)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();\nexport var canvas2Polar = function () {\n var _f = function _f(v, center) {\n return cartesian2Polar(canvas2Cartesian(v, center));\n };\n\n _f._closure = {\n cartesian2Polar: cartesian2Polar,\n canvas2Cartesian: canvas2Cartesian\n };\n _f.asString = \"function canvas2Polar(v,center){const{cartesian2Polar,canvas2Cartesian}=jsThis._closure;{return cartesian2Polar(canvas2Cartesian(v,center));}}\";\n _f.__workletHash = 11172716429561;\n _f.__location = \"/Users/jake/git/react-native-candlestick-chart/node_modules/react-native-redash/lib/module/Coordinates.js (1:663)\";\n\n global.__reanimatedWorkletInit(_f);\n\n return _f;\n}();","map":{"version":3,"sources":["Coordinates.ts"],"names":["canvas2Cartesian","x","v","center","y","cartesian2Canvas","cartesian2Polar","theta","Math","radius","polar2Cartesian","p","polar2Canvas","canvas2Polar"],"mappings":"AAUA,OAAO,IAAMA,gBAAAA;AAAAA,uBAAmB,CAAnBA,EAAmB,MAAnBA,EAAkD;AAE7D,WAAO;AACLC,MAAAA,CAAC,EAAEC,CAAC,CAADA,CAAAA,GAAMC,MAAM,CADV,CAAA;AAELC,MAAAA,CAAC,EAAE,CAAA,CAAA,IAAMF,CAAC,CAADA,CAAAA,GAAMC,MAAM,CAFvB,CAEK;AAFE,KAAP;AAFK,GAAMH;;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN;AAWP,OAAO,IAAMK,gBAAAA;AAAAA,uBAAmB,CAAnBA,EAAmB,MAAnBA,EAAkD;AAE7D,WAAO;AACLJ,MAAAA,CAAC,EAAEC,CAAC,CAADA,CAAAA,GAAMC,MAAM,CADV,CAAA;AAELC,MAAAA,CAAC,EAAE,CAAA,CAAA,GAAKF,CAAC,CAAN,CAAA,GAAWC,MAAM,CAFtB;AAAO,KAAP;AAFK,GAAME;;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN;AAWP,OAAO,IAAMC,eAAAA;AAAAA,uBAAkB,CAAlBA,EAAiC;AAE5C,WAAO;AACLC,MAAAA,KAAK,EAAEC,IAAI,CAAJA,KAAAA,CAAWN,CAAC,CAAZM,CAAAA,EAAgBN,CAAC,CADnB,CACEM,CADF;AAELC,MAAAA,MAAM,EAAED,IAAI,CAAJA,IAAAA,CAAU,IAAA,CAAA,GAAA,CAAA,CAAC,CAAD,CAAA,EAAA,CAAA,IAAA,IAAA,CAAA,GAAA,CAAWN,CAAC,CAAZ,CAAA,EAFpB,CAEoB,CAAVM;AAFH,KAAP;AAFK,GAAMF;;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN;AAWP,OAAO,IAAMI,eAAAA;AAAAA,uBAAkB,CAAlBA,EAAqC;AAEhD,WAAO;AACLT,MAAAA,CAAC,EAAEU,CAAC,CAADA,MAAAA,GAAWH,IAAI,CAAJA,GAAAA,CAASG,CAAC,CADnB,KACSH,CADT;AAELJ,MAAAA,CAAC,EAAEO,CAAC,CAADA,MAAAA,GAAWH,IAAI,CAAJA,GAAAA,CAASG,CAAC,CAF1B,KAEgBH;AAFT,KAAP;AAFK,GAAME;;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN;AAWP,OAAO,IAAME,YAAAA;AAAAA,uBAAe,CAAfA,EAAe,MAAfA,EAAkD;AAE7D,WAAOP,gBAAgB,CAACK,eAAe,CAAhB,CAAgB,CAAhB,EAAvB,MAAuB,CAAvB;AAFK,GAAME;;AAAAA;AAAAA,sB,gBAAAA;AAAAA,qB;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN;AAQP,OAAO,IAAMC,YAAAA;AAAAA,uBAAe,CAAfA,EAAe,MAAfA,EAA8C;AAEzD,WAAOP,eAAe,CAACN,gBAAgB,CAAA,CAAA,EAAvC,MAAuC,CAAjB,CAAtB;AAFK,GAAMa;;AAAAA;AAAAA,qB,eAAAA;AAAAA,sB;AAAAA;AAAAA;AAAAA;AAAAA;;AAAAA;;AAAAA;AAAAA,GAAN","sourcesContent":["import { Vector } from \"./Vectors\";\n\nexport interface PolarPoint {\n theta: number;\n radius: number;\n}\n\n/**\n * @worklet\n */\nexport const canvas2Cartesian = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x - center.x,\n y: -1 * (v.y - center.y),\n };\n};\n\n/**\n * @worklet\n */\nexport const cartesian2Canvas = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x + center.x,\n y: -1 * v.y + center.y,\n };\n};\n\n/**\n * @worklet\n */\nexport const cartesian2Polar = (v: Vector) => {\n \"worklet\";\n return {\n theta: Math.atan2(v.y, v.x),\n radius: Math.sqrt(v.x ** 2 + v.y ** 2),\n };\n};\n\n/**\n * @worklet\n */\nexport const polar2Cartesian = (p: PolarPoint) => {\n \"worklet\";\n return {\n x: p.radius * Math.cos(p.theta),\n y: p.radius * Math.sin(p.theta),\n };\n};\n\n/**\n * @worklet\n */\nexport const polar2Canvas = (p: PolarPoint, center: Vector) => {\n \"worklet\";\n return cartesian2Canvas(polar2Cartesian(p), center);\n};\n\n/**\n * @worklet\n */\nexport const canvas2Polar = (v: Vector, center: Vector) => {\n \"worklet\";\n return cartesian2Polar(canvas2Cartesian(v, center));\n};\n"]},"metadata":{},"sourceType":"module"}
@@ -0,0 +1 @@
1
+ {"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { cond, lessThan, multiply, pow, cos, sqrt, sub, add, divide } from \"./base\";\nimport AnimatedBezier from \"./core/AnimatedBezier\";\n\nvar Easing = function () {\n function Easing() {\n _classCallCheck(this, Easing);\n }\n\n _createClass(Easing, null, [{\n key: \"linear\",\n value: function linear(t) {\n return t;\n }\n }, {\n key: \"ease\",\n value: function ease(t) {\n return new AnimatedBezier(t, 0.42, 0, 1, 1);\n }\n }, {\n key: \"quad\",\n value: function quad(t) {\n return multiply(t, t);\n }\n }, {\n key: \"cubic\",\n value: function cubic(t) {\n return multiply(t, t, t);\n }\n }, {\n key: \"poly\",\n value: function poly(n) {\n return function (t) {\n return pow(t, n);\n };\n }\n }, {\n key: \"sin\",\n value: function sin(t) {\n return sub(1, cos(multiply(t, Math.PI, 0.5)));\n }\n }, {\n key: \"circle\",\n value: function circle(t) {\n return sub(1, sqrt(sub(1, multiply(t, t))));\n }\n }, {\n key: \"exp\",\n value: function exp(t) {\n return pow(2, multiply(10, sub(t, 1)));\n }\n }, {\n key: \"elastic\",\n value: function elastic() {\n var bounciness = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var p = bounciness * Math.PI;\n return function (t) {\n return sub(1, multiply(pow(cos(multiply(t, Math.PI, 0.5)), 3), cos(multiply(t, p))));\n };\n }\n }, {\n key: \"back\",\n value: function back(s) {\n if (s === undefined) {\n s = 1.70158;\n }\n\n return function (t) {\n return multiply(t, t, sub(multiply(add(s, 1), t), s));\n };\n }\n }, {\n key: \"bounce\",\n value: function bounce(t) {\n var sq = function sq(v) {\n return multiply(7.5625, v, v);\n };\n\n return cond(lessThan(t, 1 / 2.75), sq(t), cond(lessThan(t, 2 / 2.75), add(0.75, sq(sub(t, 1.5 / 2.75))), cond(lessThan(t, 2.5 / 2.76), add(0.9375, sq(sub(t, 2.25 / 2.75))), add(0.984375, sq(sub(t, 2.625 / 2.75))))));\n }\n }, {\n key: \"bezier\",\n value: function bezier(x1, y1, x2, y2) {\n return function (t) {\n return new AnimatedBezier(t, x1, y1, x2, y2);\n };\n }\n }, {\n key: \"in\",\n value: function _in(easing) {\n return easing;\n }\n }, {\n key: \"out\",\n value: function out(easing) {\n return function (t) {\n return sub(1, easing(sub(1, t)));\n };\n }\n }, {\n key: \"inOut\",\n value: function inOut(easing) {\n return function (t) {\n return cond(lessThan(t, 0.5), divide(easing(multiply(t, 2)), 2), sub(1, divide(easing(multiply(sub(1, t), 2)), 2)));\n };\n }\n }]);\n\n return Easing;\n}();\n\nexport { Easing as default };","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated1/Easing.js"],"names":["cond","lessThan","multiply","pow","cos","sqrt","sub","add","divide","AnimatedBezier","Easing","t","n","Math","PI","bounciness","p","s","undefined","sq","v","x1","y1","x2","y2","easing"],"mappings":";;AAAA,SACEA,IADF,EAEEC,QAFF,EAGEC,QAHF,EAIEC,GAJF,EAKEC,GALF,EAMEC,IANF,EAOEC,G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gBAAcU,EAAd,EAAkBC,EAAlB,EAAsBC,EAAtB,EAA0BC,EAA1B,EAA8B;AAC5B,aAAO,UAACb,CAAD;AAAA,eAAO,IAAIF,cAAJ,CAAmBE,CAAnB,EAAsBU,EAAtB,EAA0BC,EAA1B,EAA8BC,EAA9B,EAAkCC,EAAlC,CAAP;AAAA,OAAP;AACD;;;WAKD,aAAUC,MAAV,EAAkB;AAChB,aAAOA,MAAP;AACD;;;WAKD,aAAWA,MAAX,EAAmB;AACjB,aAAO,UAACd,CAAD;AAAA,eAAOL,GAAG,CAAC,CAAD,EAAImB,MAAM,CAACnB,GAAG,CAAC,CAAD,EAAIK,CAAJ,CAAJ,CAAV,CAAV;AAAA,OAAP;AACD;;;WAOD,eAAac,MAAb,EAAqB;AACnB,aAAO,UAACd,CAAD;AAAA,eACLX,IAAI,CACFC,QAAQ,CAACU,CAAD,EAAI,GAAJ,CADN,EAEFH,MAAM,CAACiB,MAAM,CAACvB,QAAQ,CAACS,CAAD,EAAI,CAAJ,CAAT,CAAP,EAAyB,CAAzB,CAFJ,EAGFL,GAAG,CAAC,CAAD,EAAIE,MAAM,CAACiB,MAAM,CAACvB,QAAQ,CAACI,GAAG,CAAC,CAAD,EAAIK,CAAJ,CAAJ,EAAY,CAAZ,CAAT,CAAP,EAAiC,CAAjC,CAAV,CAHD,CADC;AAAA,OAAP;AAMD;;;;;;SA3KkBD,M","sourcesContent":["import {\n cond,\n lessThan,\n multiply,\n pow,\n cos,\n sqrt,\n sub,\n add,\n divide,\n} from './base';\nimport AnimatedBezier from './core/AnimatedBezier';\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nexport default class Easing {\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n static linear(t) {\n return t;\n }\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n static ease(t) {\n return new AnimatedBezier(t, 0.42, 0, 1, 1);\n }\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n static quad(t) {\n return multiply(t, t);\n }\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n static cubic(t) {\n return multiply(t, t, t);\n }\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n static poly(n) {\n return (t) => pow(t, n);\n }\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n static sin(t) {\n return sub(1, cos(multiply(t, Math.PI, 0.5)));\n }\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n static circle(t) {\n return sub(1, sqrt(sub(1, multiply(t, t))));\n }\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n static exp(t) {\n return pow(2, multiply(10, sub(t, 1)));\n }\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n static elastic(bounciness = 1) {\n const p = bounciness * Math.PI;\n return (t) =>\n sub(\n 1,\n multiply(pow(cos(multiply(t, Math.PI, 0.5)), 3), cos(multiply(t, p)))\n );\n }\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n static back(s) {\n if (s === undefined) {\n s = 1.70158;\n }\n return (t) => multiply(t, t, sub(multiply(add(s, 1), t), s));\n }\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n static bounce(t) {\n const sq = (v) => multiply(7.5625, v, v);\n return cond(\n lessThan(t, 1 / 2.75),\n sq(t),\n cond(\n lessThan(t, 2 / 2.75),\n add(0.75, sq(sub(t, 1.5 / 2.75))),\n cond(\n lessThan(t, 2.5 / 2.76),\n add(0.9375, sq(sub(t, 2.25 / 2.75))),\n add(0.984375, sq(sub(t, 2.625 / 2.75)))\n )\n )\n );\n }\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n static bezier(x1, y1, x2, y2) {\n return (t) => new AnimatedBezier(t, x1, y1, x2, y2);\n }\n\n /**\n * Runs an easing function forwards.\n */\n static in(easing) {\n return easing;\n }\n\n /**\n * Runs an easing function backwards.\n */\n static out(easing) {\n return (t) => sub(1, easing(sub(1, t)));\n }\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n static inOut(easing) {\n return (t) =>\n cond(\n lessThan(t, 0.5),\n divide(easing(multiply(t, 2)), 2),\n sub(1, divide(easing(multiply(sub(1, t), 2)), 2))\n );\n }\n}\n"]},"metadata":{},"sourceType":"module"}