@performant-software/visualize 2.2.11-beta.1 → 2.2.11

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 (379) hide show
  1. package/dist/index.cjs173.js +1 -1
  2. package/dist/index.cjs173.js.map +1 -1
  3. package/dist/index.cjs174.js +1 -1
  4. package/dist/index.cjs174.js.map +1 -1
  5. package/dist/index.cjs175.js +1 -1
  6. package/dist/index.cjs175.js.map +1 -1
  7. package/dist/index.cjs176.js +1 -1
  8. package/dist/index.cjs176.js.map +1 -1
  9. package/dist/index.cjs177.js +1 -1
  10. package/dist/index.cjs177.js.map +1 -1
  11. package/dist/index.cjs178.js +1 -1
  12. package/dist/index.cjs178.js.map +1 -1
  13. package/dist/index.cjs179.js +1 -1
  14. package/dist/index.cjs179.js.map +1 -1
  15. package/dist/index.cjs180.js +1 -1
  16. package/dist/index.cjs180.js.map +1 -1
  17. package/dist/index.cjs181.js +1 -1
  18. package/dist/index.cjs181.js.map +1 -1
  19. package/dist/index.cjs182.js +1 -1
  20. package/dist/index.cjs182.js.map +1 -1
  21. package/dist/index.cjs183.js +1 -1
  22. package/dist/index.cjs183.js.map +1 -1
  23. package/dist/index.cjs184.js +1 -1
  24. package/dist/index.cjs184.js.map +1 -1
  25. package/dist/index.cjs185.js +1 -1
  26. package/dist/index.cjs185.js.map +1 -1
  27. package/dist/index.cjs186.js +1 -1
  28. package/dist/index.cjs186.js.map +1 -1
  29. package/dist/index.cjs187.js +1 -1
  30. package/dist/index.cjs187.js.map +1 -1
  31. package/dist/index.cjs188.js +1 -1
  32. package/dist/index.cjs188.js.map +1 -1
  33. package/dist/index.cjs189.js +1 -1
  34. package/dist/index.cjs189.js.map +1 -1
  35. package/dist/index.cjs190.js +1 -1
  36. package/dist/index.cjs190.js.map +1 -1
  37. package/dist/index.cjs191.js +1 -2
  38. package/dist/index.cjs191.js.map +1 -1
  39. package/dist/index.cjs192.js +1 -1
  40. package/dist/index.cjs192.js.map +1 -1
  41. package/dist/index.cjs193.js +2 -1
  42. package/dist/index.cjs193.js.map +1 -1
  43. package/dist/index.cjs194.js +1 -1
  44. package/dist/index.cjs194.js.map +1 -1
  45. package/dist/index.cjs195.js +1 -1
  46. package/dist/index.cjs195.js.map +1 -1
  47. package/dist/index.cjs196.js +1 -1
  48. package/dist/index.cjs196.js.map +1 -1
  49. package/dist/index.cjs197.js +1 -1
  50. package/dist/index.cjs197.js.map +1 -1
  51. package/dist/index.cjs198.js +1 -1
  52. package/dist/index.cjs198.js.map +1 -1
  53. package/dist/index.cjs199.js +1 -1
  54. package/dist/index.cjs199.js.map +1 -1
  55. package/dist/index.cjs200.js +1 -1
  56. package/dist/index.cjs200.js.map +1 -1
  57. package/dist/index.cjs201.js +1 -1
  58. package/dist/index.cjs201.js.map +1 -1
  59. package/dist/index.cjs202.js +1 -1
  60. package/dist/index.cjs202.js.map +1 -1
  61. package/dist/index.cjs203.js +1 -1
  62. package/dist/index.cjs203.js.map +1 -1
  63. package/dist/index.cjs204.js +1 -1
  64. package/dist/index.cjs204.js.map +1 -1
  65. package/dist/index.cjs205.js +1 -1
  66. package/dist/index.cjs205.js.map +1 -1
  67. package/dist/index.cjs206.js +1 -1
  68. package/dist/index.cjs206.js.map +1 -1
  69. package/dist/index.cjs209.js +1 -1
  70. package/dist/index.cjs210.js +1 -1
  71. package/dist/index.cjs211.js +1 -1
  72. package/dist/index.cjs229.js +1 -1
  73. package/dist/index.cjs235.js +1 -1
  74. package/dist/index.cjs236.js +1 -1
  75. package/dist/index.cjs236.js.map +1 -1
  76. package/dist/index.cjs237.js +1 -1
  77. package/dist/index.cjs237.js.map +1 -1
  78. package/dist/index.cjs238.js +1 -1
  79. package/dist/index.cjs238.js.map +1 -1
  80. package/dist/index.cjs239.js +1 -1
  81. package/dist/index.cjs239.js.map +1 -1
  82. package/dist/index.cjs240.js +1 -1
  83. package/dist/index.cjs240.js.map +1 -1
  84. package/dist/index.cjs241.js +2 -1
  85. package/dist/index.cjs241.js.map +1 -1
  86. package/dist/index.cjs242.js +1 -1
  87. package/dist/index.cjs242.js.map +1 -1
  88. package/dist/index.cjs243.js +1 -1
  89. package/dist/index.cjs243.js.map +1 -1
  90. package/dist/index.cjs244.js +1 -2
  91. package/dist/index.cjs244.js.map +1 -1
  92. package/dist/index.cjs253.js +1 -1
  93. package/dist/index.cjs253.js.map +1 -1
  94. package/dist/index.cjs254.js +1 -1
  95. package/dist/index.cjs254.js.map +1 -1
  96. package/dist/index.cjs255.js +1 -1
  97. package/dist/index.cjs255.js.map +1 -1
  98. package/dist/index.cjs256.js +1 -1
  99. package/dist/index.cjs256.js.map +1 -1
  100. package/dist/index.cjs257.js +1 -1
  101. package/dist/index.cjs257.js.map +1 -1
  102. package/dist/index.cjs258.js +1 -1
  103. package/dist/index.cjs258.js.map +1 -1
  104. package/dist/index.cjs259.js +1 -1
  105. package/dist/index.cjs259.js.map +1 -1
  106. package/dist/index.cjs260.js +1 -1
  107. package/dist/index.cjs260.js.map +1 -1
  108. package/dist/index.cjs261.js +1 -1
  109. package/dist/index.cjs261.js.map +1 -1
  110. package/dist/index.cjs262.js +1 -1
  111. package/dist/index.cjs262.js.map +1 -1
  112. package/dist/index.cjs263.js +1 -1
  113. package/dist/index.cjs263.js.map +1 -1
  114. package/dist/index.cjs264.js +1 -1
  115. package/dist/index.cjs264.js.map +1 -1
  116. package/dist/index.cjs265.js +1 -1
  117. package/dist/index.cjs265.js.map +1 -1
  118. package/dist/index.cjs266.js +1 -1
  119. package/dist/index.cjs266.js.map +1 -1
  120. package/dist/index.cjs267.js +1 -1
  121. package/dist/index.cjs267.js.map +1 -1
  122. package/dist/index.cjs268.js +1 -1
  123. package/dist/index.cjs268.js.map +1 -1
  124. package/dist/index.cjs271.js +1 -1
  125. package/dist/index.cjs271.js.map +1 -1
  126. package/dist/index.cjs272.js +1 -1
  127. package/dist/index.cjs272.js.map +1 -1
  128. package/dist/index.cjs273.js +1 -1
  129. package/dist/index.cjs273.js.map +1 -1
  130. package/dist/index.cjs274.js +1 -1
  131. package/dist/index.cjs274.js.map +1 -1
  132. package/dist/index.cjs275.js +1 -1
  133. package/dist/index.cjs275.js.map +1 -1
  134. package/dist/index.cjs276.js +1 -1
  135. package/dist/index.cjs276.js.map +1 -1
  136. package/dist/index.cjs277.js +1 -1
  137. package/dist/index.cjs277.js.map +1 -1
  138. package/dist/index.cjs278.js +1 -1
  139. package/dist/index.cjs278.js.map +1 -1
  140. package/dist/index.cjs279.js +1 -1
  141. package/dist/index.cjs279.js.map +1 -1
  142. package/dist/index.cjs280.js +1 -1
  143. package/dist/index.cjs280.js.map +1 -1
  144. package/dist/index.cjs281.js +1 -1
  145. package/dist/index.cjs281.js.map +1 -1
  146. package/dist/index.cjs282.js +1 -1
  147. package/dist/index.cjs282.js.map +1 -1
  148. package/dist/index.cjs283.js +1 -1
  149. package/dist/index.cjs283.js.map +1 -1
  150. package/dist/index.cjs284.js +1 -1
  151. package/dist/index.cjs284.js.map +1 -1
  152. package/dist/index.cjs285.js +1 -1
  153. package/dist/index.cjs285.js.map +1 -1
  154. package/dist/index.cjs286.js +1 -1
  155. package/dist/index.cjs286.js.map +1 -1
  156. package/dist/index.cjs287.js +1 -1
  157. package/dist/index.cjs287.js.map +1 -1
  158. package/dist/index.cjs288.js +1 -1
  159. package/dist/index.cjs289.js +1 -1
  160. package/dist/index.cjs291.js +1 -1
  161. package/dist/index.cjs292.js +1 -1
  162. package/dist/index.cjs294.js +1 -1
  163. package/dist/index.cjs34.js +1 -1
  164. package/dist/index.cjs37.js +1 -1
  165. package/dist/index.cjs38.js +1 -1
  166. package/dist/index.cjs39.js +1 -1
  167. package/dist/index.cjs40.js +1 -1
  168. package/dist/index.cjs41.js +1 -1
  169. package/dist/index.cjs42.js +1 -1
  170. package/dist/index.cjs43.js +1 -1
  171. package/dist/index.cjs44.js +1 -1
  172. package/dist/index.cjs45.js +1 -1
  173. package/dist/index.cjs46.js +1 -1
  174. package/dist/index.cjs47.js +1 -1
  175. package/dist/index.cjs48.js +1 -1
  176. package/dist/index.cjs49.js +1 -1
  177. package/dist/index.cjs53.js +1 -1
  178. package/dist/index.cjs54.js +1 -1
  179. package/dist/index.cjs58.js +1 -1
  180. package/dist/index.cjs62.js +1 -1
  181. package/dist/index.cjs63.js +1 -1
  182. package/dist/index.cjs67.js +1 -1
  183. package/dist/index.cjs67.js.map +1 -1
  184. package/dist/index.cjs68.js +1 -1
  185. package/dist/index.cjs68.js.map +1 -1
  186. package/dist/index.cjs69.js +1 -1
  187. package/dist/index.cjs69.js.map +1 -1
  188. package/dist/index.cjs70.js +1 -1
  189. package/dist/index.cjs70.js.map +1 -1
  190. package/dist/index.es173.js +8 -54
  191. package/dist/index.es173.js.map +1 -1
  192. package/dist/index.es174.js +5 -29
  193. package/dist/index.es174.js.map +1 -1
  194. package/dist/index.es175.js +12 -39
  195. package/dist/index.es175.js.map +1 -1
  196. package/dist/index.es176.js +5 -8
  197. package/dist/index.es176.js.map +1 -1
  198. package/dist/index.es177.js +14 -4
  199. package/dist/index.es177.js.map +1 -1
  200. package/dist/index.es178.js +9 -12
  201. package/dist/index.es178.js.map +1 -1
  202. package/dist/index.es179.js +5 -5
  203. package/dist/index.es179.js.map +1 -1
  204. package/dist/index.es180.js +9 -14
  205. package/dist/index.es180.js.map +1 -1
  206. package/dist/index.es181.js +7 -9
  207. package/dist/index.es181.js.map +1 -1
  208. package/dist/index.es182.js +15 -5
  209. package/dist/index.es182.js.map +1 -1
  210. package/dist/index.es183.js +52 -9
  211. package/dist/index.es183.js.map +1 -1
  212. package/dist/index.es184.js +54 -7
  213. package/dist/index.es184.js.map +1 -1
  214. package/dist/index.es185.js +54 -15
  215. package/dist/index.es185.js.map +1 -1
  216. package/dist/index.es186.js +28 -52
  217. package/dist/index.es186.js.map +1 -1
  218. package/dist/index.es187.js +38 -53
  219. package/dist/index.es187.js.map +1 -1
  220. package/dist/index.es188.js +34 -5
  221. package/dist/index.es188.js.map +1 -1
  222. package/dist/index.es189.js +16 -2
  223. package/dist/index.es189.js.map +1 -1
  224. package/dist/index.es190.js +5 -7
  225. package/dist/index.es190.js.map +1 -1
  226. package/dist/index.es191.js +2 -328
  227. package/dist/index.es191.js.map +1 -1
  228. package/dist/index.es192.js +7 -50
  229. package/dist/index.es192.js.map +1 -1
  230. package/dist/index.es193.js +328 -2
  231. package/dist/index.es193.js.map +1 -1
  232. package/dist/index.es194.js +50 -12
  233. package/dist/index.es194.js.map +1 -1
  234. package/dist/index.es195.js +2 -11
  235. package/dist/index.es195.js.map +1 -1
  236. package/dist/index.es196.js +12 -7
  237. package/dist/index.es196.js.map +1 -1
  238. package/dist/index.es197.js +9 -8
  239. package/dist/index.es197.js.map +1 -1
  240. package/dist/index.es198.js +7 -7
  241. package/dist/index.es198.js.map +1 -1
  242. package/dist/index.es199.js +9 -5
  243. package/dist/index.es199.js.map +1 -1
  244. package/dist/index.es200.js +7 -15
  245. package/dist/index.es200.js.map +1 -1
  246. package/dist/index.es201.js +4 -4
  247. package/dist/index.es201.js.map +1 -1
  248. package/dist/index.es202.js +15 -6
  249. package/dist/index.es202.js.map +1 -1
  250. package/dist/index.es203.js +5 -6
  251. package/dist/index.es203.js.map +1 -1
  252. package/dist/index.es204.js +5 -5
  253. package/dist/index.es204.js.map +1 -1
  254. package/dist/index.es205.js +6 -34
  255. package/dist/index.es205.js.map +1 -1
  256. package/dist/index.es206.js +6 -15
  257. package/dist/index.es206.js.map +1 -1
  258. package/dist/index.es209.js +1 -1
  259. package/dist/index.es210.js +1 -1
  260. package/dist/index.es211.js +1 -1
  261. package/dist/index.es229.js +1 -1
  262. package/dist/index.es235.js +1 -1
  263. package/dist/index.es236.js +6 -5
  264. package/dist/index.es236.js.map +1 -1
  265. package/dist/index.es237.js +6 -5
  266. package/dist/index.es237.js.map +1 -1
  267. package/dist/index.es238.js +3 -19
  268. package/dist/index.es238.js.map +1 -1
  269. package/dist/index.es239.js +4 -6
  270. package/dist/index.es239.js.map +1 -1
  271. package/dist/index.es240.js +12 -5
  272. package/dist/index.es240.js.map +1 -1
  273. package/dist/index.es241.js +4 -4
  274. package/dist/index.es241.js.map +1 -1
  275. package/dist/index.es242.js +5 -4
  276. package/dist/index.es242.js.map +1 -1
  277. package/dist/index.es243.js +5 -13
  278. package/dist/index.es243.js.map +1 -1
  279. package/dist/index.es244.js +20 -4
  280. package/dist/index.es244.js.map +1 -1
  281. package/dist/index.es253.js +4 -6
  282. package/dist/index.es253.js.map +1 -1
  283. package/dist/index.es254.js +6 -4
  284. package/dist/index.es254.js.map +1 -1
  285. package/dist/index.es255.js +28 -13
  286. package/dist/index.es255.js.map +1 -1
  287. package/dist/index.es256.js +35 -4
  288. package/dist/index.es256.js.map +1 -1
  289. package/dist/index.es257.js +10 -2
  290. package/dist/index.es257.js.map +1 -1
  291. package/dist/index.es258.js +4 -6
  292. package/dist/index.es258.js.map +1 -1
  293. package/dist/index.es259.js +8 -8
  294. package/dist/index.es259.js.map +1 -1
  295. package/dist/index.es260.js +13 -28
  296. package/dist/index.es260.js.map +1 -1
  297. package/dist/index.es261.js +7 -35
  298. package/dist/index.es261.js.map +1 -1
  299. package/dist/index.es262.js +4 -10
  300. package/dist/index.es262.js.map +1 -1
  301. package/dist/index.es263.js +2 -4
  302. package/dist/index.es263.js.map +1 -1
  303. package/dist/index.es264.js +6 -8
  304. package/dist/index.es264.js.map +1 -1
  305. package/dist/index.es265.js +8 -3
  306. package/dist/index.es265.js.map +1 -1
  307. package/dist/index.es266.js +3 -7
  308. package/dist/index.es266.js.map +1 -1
  309. package/dist/index.es267.js +6 -7
  310. package/dist/index.es267.js.map +1 -1
  311. package/dist/index.es268.js +7 -6
  312. package/dist/index.es268.js.map +1 -1
  313. package/dist/index.es271.js +5 -33
  314. package/dist/index.es271.js.map +1 -1
  315. package/dist/index.es272.js +13 -8
  316. package/dist/index.es272.js.map +1 -1
  317. package/dist/index.es273.js +2 -9
  318. package/dist/index.es273.js.map +1 -1
  319. package/dist/index.es274.js +32 -4
  320. package/dist/index.es274.js.map +1 -1
  321. package/dist/index.es275.js +68 -5
  322. package/dist/index.es275.js.map +1 -1
  323. package/dist/index.es276.js +16 -11
  324. package/dist/index.es276.js.map +1 -1
  325. package/dist/index.es277.js +7 -2
  326. package/dist/index.es277.js.map +1 -1
  327. package/dist/index.es278.js +2 -3
  328. package/dist/index.es278.js.map +1 -1
  329. package/dist/index.es279.js +3 -68
  330. package/dist/index.es279.js.map +1 -1
  331. package/dist/index.es280.js +8 -18
  332. package/dist/index.es280.js.map +1 -1
  333. package/dist/index.es281.js +9 -7
  334. package/dist/index.es281.js.map +1 -1
  335. package/dist/index.es282.js +5 -2
  336. package/dist/index.es282.js.map +1 -1
  337. package/dist/index.es283.js +12 -3
  338. package/dist/index.es283.js.map +1 -1
  339. package/dist/index.es284.js +7 -14
  340. package/dist/index.es284.js.map +1 -1
  341. package/dist/index.es285.js +3 -6
  342. package/dist/index.es285.js.map +1 -1
  343. package/dist/index.es286.js +14 -12
  344. package/dist/index.es286.js.map +1 -1
  345. package/dist/index.es287.js +6 -7
  346. package/dist/index.es287.js.map +1 -1
  347. package/dist/index.es288.js +1 -1
  348. package/dist/index.es289.js +1 -1
  349. package/dist/index.es291.js +3 -3
  350. package/dist/index.es292.js +1 -1
  351. package/dist/index.es294.js +1 -1
  352. package/dist/index.es34.js +3 -3
  353. package/dist/index.es37.js +11 -11
  354. package/dist/index.es38.js +1 -1
  355. package/dist/index.es39.js +2 -2
  356. package/dist/index.es40.js +2 -2
  357. package/dist/index.es41.js +2 -2
  358. package/dist/index.es42.js +2 -2
  359. package/dist/index.es43.js +2 -2
  360. package/dist/index.es44.js +2 -2
  361. package/dist/index.es45.js +2 -2
  362. package/dist/index.es46.js +2 -2
  363. package/dist/index.es47.js +2 -2
  364. package/dist/index.es48.js +2 -2
  365. package/dist/index.es49.js +2 -2
  366. package/dist/index.es53.js +2 -2
  367. package/dist/index.es54.js +2 -2
  368. package/dist/index.es58.js +9 -9
  369. package/dist/index.es62.js +5 -5
  370. package/dist/index.es63.js +2 -2
  371. package/dist/index.es67.js +20 -32
  372. package/dist/index.es67.js.map +1 -1
  373. package/dist/index.es68.js +21 -88
  374. package/dist/index.es68.js.map +1 -1
  375. package/dist/index.es69.js +32 -20
  376. package/dist/index.es69.js.map +1 -1
  377. package/dist/index.es70.js +88 -21
  378. package/dist/index.es70.js.map +1 -1
  379. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es286.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/process.js"],"sourcesContent":["import { hasActiveObservations } from '../algorithms/hasActiveObservations';\nimport { hasSkippedObservations } from '../algorithms/hasSkippedObservations';\nimport { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';\nimport { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';\nimport { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';\nvar process = function () {\n var depth = 0;\n gatherActiveObservationsAtDepth(depth);\n while (hasActiveObservations()) {\n depth = broadcastActiveObservations();\n gatherActiveObservationsAtDepth(depth);\n }\n if (hasSkippedObservations()) {\n deliverResizeLoopError();\n }\n return depth > 0;\n};\nexport { process };\n"],"names":["process","depth","gatherActiveObservationsAtDepth","hasActiveObservations","broadcastActiveObservations","hasSkippedObservations","deliverResizeLoopError"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AACtB,MAAIC,IAAQ;AAEZ,OADAC,EAAgCD,CAAK,GAC9BE;AACH,IAAAF,IAAQG,EAA4B,GACpCF,EAAgCD,CAAK;AAEzC,SAAII,OACuBC,KAEpBL,IAAQ;AACnB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es286.js","sources":["../../../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["Symbol","require$$0","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","getRawTag","value","isOwn","tag","unmasked","result","_getRawTag"],"mappings":";AAAA,IAAIA,IAASC,GAGTC,IAAc,OAAO,WAGrBC,IAAiBD,EAAY,gBAO7BE,IAAuBF,EAAY,UAGnCG,IAAiBL,IAASA,EAAO,cAAc;AASnD,SAASM,EAAUC,GAAO;AACpB,MAAAC,IAAQL,EAAe,KAAKI,GAAOF,CAAc,GACjDI,IAAMF,EAAMF,CAAc;AAE1B,MAAA;AACF,IAAAE,EAAMF,CAAc,IAAI;AACxB,QAAIK,IAAW;AAAA,UACL;AAAA,EAAC;AAET,MAAAC,IAASP,EAAqB,KAAKG,CAAK;AAC5C,SAAIG,MACEF,IACFD,EAAMF,CAAc,IAAII,IAExB,OAAOF,EAAMF,CAAc,IAGxBM;AACT;AAEA,IAAAC,IAAiBN;","x_google_ignoreList":[0]}
@@ -1,10 +1,9 @@
1
- import { queueMicroTask as r } from "./index.es293.js";
2
- var u = function(e) {
3
- r(function() {
4
- requestAnimationFrame(e);
5
- });
6
- };
1
+ var o = Object.prototype, r = o.toString;
2
+ function e(t) {
3
+ return r.call(t);
4
+ }
5
+ var n = e;
7
6
  export {
8
- u as queueResizeObserver
7
+ n as _
9
8
  };
10
9
  //# sourceMappingURL=index.es287.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es287.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js"],"sourcesContent":["import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\nexport { queueResizeObserver };\n"],"names":["queueResizeObserver","cb","queueMicroTask"],"mappings":";AACI,IAAAA,IAAsB,SAAUC,GAAI;AACpC,EAAAC,EAAe,WAA0B;AACrC,0BAAsBD,CAAE;AAAA,EAAA,CAC3B;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es287.js","sources":["../../../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":["objectProto","nativeObjectToString","objectToString","value","_objectToString"],"mappings":"AACA,IAAIA,IAAc,OAAO,WAOrBC,IAAuBD,EAAY;AASvC,SAASE,EAAeC,GAAO;AACtB,SAAAF,EAAqB,KAAKE,CAAK;AACxC;AAEA,IAAAC,IAAiBF;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es282.js";
1
+ import { resizeObservers as r } from "./index.es278.js";
2
2
  var n = function() {
3
3
  return r.some(function(e) {
4
4
  return e.activeTargets.length > 0;
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es282.js";
1
+ import { resizeObservers as r } from "./index.es278.js";
2
2
  var t = function() {
3
3
  return r.some(function(e) {
4
4
  return e.skippedTargets.length > 0;
@@ -1,7 +1,7 @@
1
- import { resizeObservers as f } from "./index.es282.js";
2
- import { ResizeObserverEntry as p } from "./index.es262.js";
1
+ import { resizeObservers as f } from "./index.es278.js";
2
+ import { ResizeObserverEntry as p } from "./index.es257.js";
3
3
  import { calculateDepthForNode as g } from "./index.es294.js";
4
- import { calculateBoxSize as b } from "./index.es175.js";
4
+ import { calculateBoxSize as b } from "./index.es187.js";
5
5
  var T = function() {
6
6
  var t = 1 / 0, s = [];
7
7
  f.forEach(function(e) {
@@ -1,4 +1,4 @@
1
- import { resizeObservers as r } from "./index.es282.js";
1
+ import { resizeObservers as r } from "./index.es278.js";
2
2
  import { calculateDepthForNode as i } from "./index.es294.js";
3
3
  var n = function(t) {
4
4
  r.forEach(function(e) {
@@ -1,4 +1,4 @@
1
- import { isHidden as n } from "./index.es261.js";
1
+ import { isHidden as n } from "./index.es256.js";
2
2
  var i = function(e) {
3
3
  if (n(e))
4
4
  return 1 / 0;
@@ -1,8 +1,8 @@
1
1
  import d from "./index.es62.js";
2
2
  import m from "react";
3
- import b from "./index.es173.js";
4
- import { ResizeObserver as O } from "./index.es174.js";
5
- import "./index.es175.js";
3
+ import b from "./index.es185.js";
4
+ import { ResizeObserver as O } from "./index.es186.js";
5
+ import "./index.es187.js";
6
6
  function f() {
7
7
  return f = Object.assign ? Object.assign.bind() : function(n) {
8
8
  for (var e = 1; e < arguments.length; e++) {
@@ -1,14 +1,14 @@
1
- import s from "./index.es194.js";
2
- import u from "./index.es195.js";
3
- import m from "./index.es196.js";
4
- import l from "./index.es197.js";
5
- import _ from "./index.es198.js";
6
- import v from "./index.es199.js";
7
- import y from "./index.es200.js";
8
- import g from "./index.es201.js";
9
- import w from "./index.es202.js";
10
- import B from "./index.es203.js";
11
- import A from "./index.es204.js";
1
+ import s from "./index.es196.js";
2
+ import u from "./index.es197.js";
3
+ import m from "./index.es198.js";
4
+ import l from "./index.es199.js";
5
+ import _ from "./index.es200.js";
6
+ import v from "./index.es201.js";
7
+ import y from "./index.es202.js";
8
+ import g from "./index.es203.js";
9
+ import w from "./index.es204.js";
10
+ import B from "./index.es205.js";
11
+ import A from "./index.es206.js";
12
12
  function d(e, t) {
13
13
  var a = new n(e), f = +e.value && (a.value = e.value), o, c = [a], i, h, r, p;
14
14
  for (t == null && (t = x); o = c.pop(); )
@@ -1,6 +1,6 @@
1
1
  import m from "react";
2
2
  import P from "./index.es63.js";
3
- import { getX as R, getY as j, getSource as N, getTarget as $ } from "./index.es185.js";
3
+ import { getX as R, getY as j, getSource as N, getTarget as $ } from "./index.es182.js";
4
4
  var I = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
5
5
  function f() {
6
6
  return f = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import O from "react";
2
2
  import C from "./index.es63.js";
3
- import { getX as T, getY as k, getSource as D, getTarget as E } from "./index.es185.js";
4
- import I from "./index.es187.js";
3
+ import { getX as T, getY as k, getSource as D, getTarget as E } from "./index.es182.js";
4
+ import I from "./index.es184.js";
5
5
  var L = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
6
6
  function R() {
7
7
  return R = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import f from "react";
2
2
  import y from "./index.es63.js";
3
- import { getX as b, getY as M, getSource as O, getTarget as R } from "./index.es185.js";
4
- import j from "./index.es187.js";
3
+ import { getX as b, getY as M, getSource as O, getTarget as R } from "./index.es182.js";
4
+ import j from "./index.es184.js";
5
5
  var P = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
6
6
  function x() {
7
7
  return x = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import l from "react";
2
2
  import x from "./index.es63.js";
3
- import { getX as R, getY as b, getSource as O, getTarget as j } from "./index.es185.js";
4
- import { linkRadial as k } from "./index.es186.js";
3
+ import { getX as R, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
+ import { linkRadial as k } from "./index.es183.js";
5
5
  var y = ["className", "children", "data", "innerRef", "path", "angle", "radius", "source", "target"];
6
6
  function s() {
7
7
  return s = Object.assign ? Object.assign.bind() : function(a) {
@@ -1,7 +1,7 @@
1
1
  import m from "react";
2
2
  import b from "./index.es63.js";
3
- import { getX as O, getY as $, getSource as j, getTarget as T } from "./index.es185.js";
4
- import N from "./index.es187.js";
3
+ import { getX as O, getY as $, getSource as j, getTarget as T } from "./index.es182.js";
4
+ import N from "./index.es184.js";
5
5
  var R = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"];
6
6
  function d() {
7
7
  return d = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import f from "react";
2
2
  import b from "./index.es63.js";
3
- import { getX as O, getY as $, getSource as j, getTarget as N } from "./index.es185.js";
4
- import R from "./index.es187.js";
3
+ import { getX as O, getY as $, getSource as j, getTarget as N } from "./index.es182.js";
4
+ import R from "./index.es184.js";
5
5
  var C = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
6
6
  function y() {
7
7
  return y = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import p from "react";
2
2
  import x from "./index.es63.js";
3
- import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es185.js";
4
- import $ from "./index.es187.js";
3
+ import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
+ import $ from "./index.es184.js";
5
5
  var L = ["className", "innerRef", "data", "path", "x", "y", "source", "target", "children"];
6
6
  function m() {
7
7
  return m = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import c from "react";
2
2
  import x from "./index.es63.js";
3
- import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es185.js";
4
- import { linkVertical as k } from "./index.es186.js";
3
+ import { getX as y, getY as b, getSource as O, getTarget as j } from "./index.es182.js";
4
+ import { linkVertical as k } from "./index.es183.js";
5
5
  var N = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"];
6
6
  function l() {
7
7
  return l = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import m from "react";
2
2
  import b from "./index.es63.js";
3
- import { getY as O, getX as $, getSource as j, getTarget as T } from "./index.es185.js";
4
- import N from "./index.es187.js";
3
+ import { getY as O, getX as $, getSource as j, getTarget as T } from "./index.es182.js";
4
+ import N from "./index.es184.js";
5
5
  var R = ["className", "innerRef", "data", "path", "percent", "x", "y", "source", "target", "children"];
6
6
  function d() {
7
7
  return d = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import f from "react";
2
2
  import b from "./index.es63.js";
3
- import { getY as O, getX as $, getSource as j, getTarget as z } from "./index.es185.js";
4
- import N from "./index.es187.js";
3
+ import { getY as O, getX as $, getSource as j, getTarget as z } from "./index.es182.js";
4
+ import N from "./index.es184.js";
5
5
  var R = ["className", "children", "data", "innerRef", "path", "percent", "x", "y", "source", "target"];
6
6
  function y() {
7
7
  return y = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import p from "react";
2
2
  import x from "./index.es63.js";
3
- import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es185.js";
4
- import $ from "./index.es187.js";
3
+ import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es182.js";
4
+ import $ from "./index.es184.js";
5
5
  var L = ["className", "children", "innerRef", "data", "path", "x", "y", "source", "target"];
6
6
  function m() {
7
7
  return m = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,7 +1,7 @@
1
1
  import l from "react";
2
2
  import x from "./index.es63.js";
3
- import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es185.js";
4
- import { linkHorizontal as k } from "./index.es186.js";
3
+ import { getY as y, getX as b, getSource as O, getTarget as j } from "./index.es182.js";
4
+ import { linkHorizontal as k } from "./index.es183.js";
5
5
  var z = ["className", "children", "data", "innerRef", "path", "x", "y", "source", "target"];
6
6
  function s() {
7
7
  return s = Object.assign ? Object.assign.bind() : function(t) {
@@ -1,5 +1,5 @@
1
- import f from "./index.es69.js";
2
- import { isElement as a, isEvent as o } from "./index.es70.js";
1
+ import f from "./index.es67.js";
2
+ import { isElement as a, isEvent as o } from "./index.es68.js";
3
3
  function c(r, i) {
4
4
  if (a(r) && i)
5
5
  return f(r, i);
@@ -1,7 +1,7 @@
1
1
  import d from "./index.es62.js";
2
2
  import sa, { useRef as ca, useState as I, useCallback as l } from "react";
3
- import { useGesture as Ma } from "./index.es67.js";
4
- import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.es68.js";
3
+ import { useGesture as Ma } from "./index.es69.js";
4
+ import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.es70.js";
5
5
  import B from "./index.es53.js";
6
6
  function F() {
7
7
  return F = Object.assign ? Object.assign.bind() : function(s) {
@@ -1,12 +1,12 @@
1
- import Y from "./index.es176.js";
2
- import k from "./index.es177.js";
3
- import j from "./index.es178.js";
4
- import _ from "./index.es179.js";
5
- import ne from "./index.es180.js";
6
- import G from "./index.es181.js";
7
- import E from "./index.es182.js";
8
- import D from "./index.es183.js";
9
- import $e from "./index.es184.js";
1
+ import Y from "./index.es173.js";
2
+ import k from "./index.es174.js";
3
+ import j from "./index.es175.js";
4
+ import _ from "./index.es176.js";
5
+ import ne from "./index.es177.js";
6
+ import G from "./index.es178.js";
7
+ import E from "./index.es179.js";
8
+ import D from "./index.es180.js";
9
+ import $e from "./index.es181.js";
10
10
  function ye(o, a) {
11
11
  var n = Object.keys(o);
12
12
  if (Object.getOwnPropertySymbols) {
@@ -1,8 +1,8 @@
1
- import { getDefaultExportFromCjs as e } from "./index.es188.js";
2
- import { __module as r } from "./index.es189.js";
3
- import { __require as o } from "./index.es190.js";
4
- import { __require as t } from "./index.es191.js";
5
- import { __require as p } from "./index.es192.js";
1
+ import { getDefaultExportFromCjs as e } from "./index.es190.js";
2
+ import { __module as r } from "./index.es191.js";
3
+ import { __require as o } from "./index.es192.js";
4
+ import { __require as t } from "./index.es193.js";
5
+ import { __require as p } from "./index.es194.js";
6
6
  if (process.env.NODE_ENV !== "production") {
7
7
  var s = o(), i = !0;
8
8
  r.exports = t()(s.isElement, i);
@@ -1,5 +1,5 @@
1
- import { getDefaultExportFromCjs as p } from "./index.es188.js";
2
- import { __module as i } from "./index.es193.js";
1
+ import { getDefaultExportFromCjs as p } from "./index.es190.js";
2
+ import { __module as i } from "./index.es195.js";
3
3
  /*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see
@@ -1,36 +1,24 @@
1
- import s from "react";
2
- import { parseMergedHandlers as a, Controller as f } from "./index.es234.js";
3
- import { r as u, e as l, f as p, s as d, w as m, m as g, h } from "./index.es235.js";
4
- import { C as H, E as R } from "./index.es235.js";
5
- function v(r, n = {}, o, t) {
6
- const e = s.useMemo(() => new f(r), []);
7
- if (e.applyHandlers(r, t), e.applyConfig(n, o), s.useEffect(e.effect.bind(e)), s.useEffect(() => e.clean.bind(e), []), n.target === void 0)
8
- return e.bind.bind(e);
9
- }
10
- function A(r) {
11
- return r.forEach(u), function(o, t) {
12
- const {
13
- handlers: e,
14
- nativeHandlers: i,
15
- config: c
16
- } = a(o, t || {});
17
- return v(e, c, void 0, i);
18
- };
19
- }
20
- function M(r, n) {
21
- return A([l, p, d, m, g, h])(r, n || {});
1
+ import { isSVGElement as c, isSVGGraphicsElement as f, isSVGSVGElement as s } from "./index.es68.js";
2
+ import o from "./index.es188.js";
3
+ import a from "./index.es189.js";
4
+ function G(r, l) {
5
+ if (!r || !l)
6
+ return null;
7
+ var t = o(l), n = c(r) ? r.ownerSVGElement : r, i = f(n) ? n.getScreenCTM() : null;
8
+ if (s(n) && i) {
9
+ var e = n.createSVGPoint();
10
+ return e.x = t.x, e.y = t.y, e = e.matrixTransform(i.inverse()), new a({
11
+ x: e.x,
12
+ y: e.y
13
+ });
14
+ }
15
+ var m = r.getBoundingClientRect();
16
+ return new a({
17
+ x: t.x - m.left - r.clientLeft,
18
+ y: t.y - m.top - r.clientTop
19
+ });
22
20
  }
23
21
  export {
24
- H as ConfigResolverMap,
25
- R as EngineMap,
26
- A as createUseGesture,
27
- l as dragAction,
28
- h as hoverAction,
29
- g as moveAction,
30
- p as pinchAction,
31
- u as registerAction,
32
- d as scrollAction,
33
- M as useGesture,
34
- m as wheelAction
22
+ G as default
35
23
  };
36
24
  //# sourceMappingURL=index.es67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es67.js","sources":["../../../node_modules/@use-gesture/react/dist/use-gesture-react.esm.js"],"sourcesContent":["import { registerAction, dragAction, pinchAction, wheelAction, scrollAction, moveAction, hoverAction } from '@use-gesture/core/actions';\nexport * from '@use-gesture/core/actions';\nimport React from 'react';\nimport { Controller, parseMergedHandlers } from '@use-gesture/core';\nexport * from '@use-gesture/core/utils';\nexport * from '@use-gesture/core/types';\n\nfunction useRecognizers(handlers, config = {}, gestureKey, nativeHandlers) {\n const ctrl = React.useMemo(() => new Controller(handlers), []);\n ctrl.applyHandlers(handlers, nativeHandlers);\n ctrl.applyConfig(config, gestureKey);\n React.useEffect(ctrl.effect.bind(ctrl));\n React.useEffect(() => {\n return ctrl.clean.bind(ctrl);\n }, []);\n if (config.target === undefined) {\n return ctrl.bind.bind(ctrl);\n }\n return undefined;\n}\n\nfunction useDrag(handler, config) {\n registerAction(dragAction);\n return useRecognizers({\n drag: handler\n }, config || {}, 'drag');\n}\n\nfunction usePinch(handler, config) {\n registerAction(pinchAction);\n return useRecognizers({\n pinch: handler\n }, config || {}, 'pinch');\n}\n\nfunction useWheel(handler, config) {\n registerAction(wheelAction);\n return useRecognizers({\n wheel: handler\n }, config || {}, 'wheel');\n}\n\nfunction useScroll(handler, config) {\n registerAction(scrollAction);\n return useRecognizers({\n scroll: handler\n }, config || {}, 'scroll');\n}\n\nfunction useMove(handler, config) {\n registerAction(moveAction);\n return useRecognizers({\n move: handler\n }, config || {}, 'move');\n}\n\nfunction useHover(handler, config) {\n registerAction(hoverAction);\n return useRecognizers({\n hover: handler\n }, config || {}, 'hover');\n}\n\nfunction createUseGesture(actions) {\n actions.forEach(registerAction);\n return function useGesture(_handlers, _config) {\n const {\n handlers,\n nativeHandlers,\n config\n } = parseMergedHandlers(_handlers, _config || {});\n return useRecognizers(handlers, config, undefined, nativeHandlers);\n };\n}\n\nfunction useGesture(handlers, config) {\n const hook = createUseGesture([dragAction, pinchAction, scrollAction, wheelAction, moveAction, hoverAction]);\n return hook(handlers, config || {});\n}\n\nexport { createUseGesture, useDrag, useGesture, useHover, useMove, usePinch, useScroll, useWheel };\n"],"names":["useRecognizers","handlers","config","gestureKey","nativeHandlers","ctrl","React","Controller","createUseGesture","actions","registerAction","_handlers","_config","parseMergedHandlers","useGesture","dragAction","pinchAction","scrollAction","wheelAction","moveAction","hoverAction"],"mappings":";;;;AAOA,SAASA,EAAeC,GAAUC,IAAS,CAAA,GAAIC,GAAYC,GAAgB;AACnE,QAAAC,IAAOC,EAAM,QAAQ,MAAM,IAAIC,EAAWN,CAAQ,GAAG,CAAA,CAAE;AAOzD,MANCI,EAAA,cAAcJ,GAAUG,CAAc,GACtCC,EAAA,YAAYH,GAAQC,CAAU,GACnCG,EAAM,UAAUD,EAAK,OAAO,KAAKA,CAAI,CAAC,GACtCC,EAAM,UAAU,MACPD,EAAK,MAAM,KAAKA,CAAI,GAC1B,CAAE,CAAA,GACDH,EAAO,WAAW;AACb,WAAAG,EAAK,KAAK,KAAKA,CAAI;AAG9B;AA4CA,SAASG,EAAiBC,GAAS;AACjC,SAAAA,EAAQ,QAAQC,CAAc,GACvB,SAAoBC,GAAWC,GAAS;AACvC,UAAA;AAAA,MACJ,UAAAX;AAAA,MACA,gBAAAG;AAAA,MACA,QAAAF;AAAA,IACE,IAAAW,EAAoBF,GAAWC,KAAW,CAAE,CAAA;AAChD,WAAOZ,EAAeC,GAAUC,GAAQ,QAAWE,CAAc;AAAA,EAAA;AAErE;AAEA,SAASU,EAAWb,GAAUC,GAAQ;AAEpC,SADaM,EAAiB,CAACO,GAAYC,GAAaC,GAAcC,GAAaC,GAAYC,CAAW,CAAC,EAC/FnB,GAAUC,KAAU,CAAE,CAAA;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es67.js","sources":["../../../node_modules/@visx/event/esm/localPointGeneric.js"],"sourcesContent":["import { Point } from '@visx/point';\nimport { isSVGElement, isSVGGraphicsElement, isSVGSVGElement } from './typeGuards';\nimport getXAndYFromEvent from './getXAndYFromEvent';\nexport default function localPoint(node, event) {\n if (!node || !event) return null;\n var coords = getXAndYFromEvent(event);\n\n // find top-most SVG\n var svg = isSVGElement(node) ? node.ownerSVGElement : node;\n var screenCTM = isSVGGraphicsElement(svg) ? svg.getScreenCTM() : null;\n if (isSVGSVGElement(svg) && screenCTM) {\n var point = svg.createSVGPoint();\n point.x = coords.x;\n point.y = coords.y;\n point = point.matrixTransform(screenCTM.inverse());\n return new Point({\n x: point.x,\n y: point.y\n });\n }\n\n // fall back to bounding box\n var rect = node.getBoundingClientRect();\n return new Point({\n x: coords.x - rect.left - node.clientLeft,\n y: coords.y - rect.top - node.clientTop\n });\n}"],"names":["localPoint","node","event","coords","getXAndYFromEvent","svg","isSVGElement","screenCTM","isSVGGraphicsElement","isSVGSVGElement","point","Point","rect"],"mappings":";;;AAGwB,SAAAA,EAAWC,GAAMC,GAAO;AAC1C,MAAA,CAACD,KAAQ,CAACC;AAAc,WAAA;AACxB,MAAAC,IAASC,EAAkBF,CAAK,GAGhCG,IAAMC,EAAaL,CAAI,IAAIA,EAAK,kBAAkBA,GAClDM,IAAYC,EAAqBH,CAAG,IAAIA,EAAI,aAAiB,IAAA;AAC7D,MAAAI,EAAgBJ,CAAG,KAAKE,GAAW;AACjC,QAAAG,IAAQL,EAAI;AAChB,WAAAK,EAAM,IAAIP,EAAO,GACjBO,EAAM,IAAIP,EAAO,GACjBO,IAAQA,EAAM,gBAAgBH,EAAU,QAAS,CAAA,GAC1C,IAAII,EAAM;AAAA,MACf,GAAGD,EAAM;AAAA,MACT,GAAGA,EAAM;AAAA,IAAA,CACV;AAAA,EACH;AAGI,MAAAE,IAAOX,EAAK;AAChB,SAAO,IAAIU,EAAM;AAAA,IACf,GAAGR,EAAO,IAAIS,EAAK,OAAOX,EAAK;AAAA,IAC/B,GAAGE,EAAO,IAAIS,EAAK,MAAMX,EAAK;AAAA,EAAA,CAC/B;AACH;","x_google_ignoreList":[0]}
@@ -1,98 +1,31 @@
1
- function f() {
2
- return {
3
- scaleX: 1,
4
- scaleY: 1,
5
- translateX: 0,
6
- translateY: 0,
7
- skewX: 0,
8
- skewY: 0
9
- };
1
+ function t(n) {
2
+ return !!n && n instanceof Element;
10
3
  }
11
- function w(e) {
12
- var s = e.scaleX, a = s === void 0 ? 1 : s, n = e.scaleY, r = n === void 0 ? 1 : n, t = e.translateX, c = t === void 0 ? 0 : t, l = e.translateY, u = l === void 0 ? 0 : l, X = e.skewX, k = X === void 0 ? 0 : X, Y = e.skewY, v = Y === void 0 ? 0 : Y;
13
- return {
14
- scaleX: a,
15
- scaleY: r,
16
- translateX: c,
17
- translateY: u,
18
- skewX: k,
19
- skewY: v
20
- };
4
+ function i(n) {
5
+ return !!n && (n instanceof SVGElement || "ownerSVGElement" in n);
21
6
  }
22
- function d(e) {
23
- var s = e.scaleX, a = e.scaleY, n = e.translateX, r = e.translateY, t = e.skewX, c = e.skewY, l = s * a - c * t;
24
- return {
25
- scaleX: a / l,
26
- scaleY: s / l,
27
- translateX: (a * n - t * r) / -l,
28
- translateY: (c * n - s * r) / l,
29
- skewX: t / -l,
30
- skewY: c / -l
31
- };
7
+ function e(n) {
8
+ return !!n && "createSVGPoint" in n;
32
9
  }
33
- function p(e, s) {
34
- var a = s.x, n = s.y;
35
- return {
36
- x: e.scaleX * a + e.skewX * n + e.translateX,
37
- y: e.skewY * a + e.scaleY * n + e.translateY
38
- };
10
+ function r(n) {
11
+ return !!n && "getScreenCTM" in n;
39
12
  }
40
- function g(e, s) {
41
- var a = s.x, n = s.y;
42
- return p(d(e), {
43
- x: a,
44
- y: n
45
- });
13
+ function c(n) {
14
+ return !!n && "changedTouches" in n;
46
15
  }
47
- function y(e, s) {
48
- s === void 0 && (s = void 0);
49
- var a = s || e;
50
- return w({
51
- scaleX: e,
52
- scaleY: a
53
- });
16
+ function o(n) {
17
+ return !!n && "clientX" in n;
54
18
  }
55
- function $(e, s) {
56
- return w({
57
- translateX: e,
58
- translateY: s
59
- });
60
- }
61
- function o(e, s) {
62
- return {
63
- scaleX: e.scaleX * s.scaleX + e.skewX * s.skewY,
64
- scaleY: e.skewY * s.skewX + e.scaleY * s.scaleY,
65
- translateX: e.scaleX * s.translateX + e.skewX * s.translateY + e.translateX,
66
- translateY: e.skewY * s.translateX + e.scaleY * s.translateY + e.translateY,
67
- skewX: e.scaleX * s.skewX + e.skewX * s.scaleY,
68
- skewY: e.skewY * s.scaleX + e.scaleY * s.skewY
69
- };
70
- }
71
- function M() {
72
- for (var e = arguments.length, s = new Array(e), a = 0; a < e; a++)
73
- s[a] = arguments[a];
74
- switch (s.length) {
75
- case 0:
76
- throw new Error("composeMatrices() requires arguments: was called with no args");
77
- case 1:
78
- return s[0];
79
- case 2:
80
- return o(s[0], s[1]);
81
- default: {
82
- var n = s[0], r = s[1], t = s.slice(2), c = o(n, r);
83
- return M.apply(void 0, [c].concat(t));
84
- }
85
- }
19
+ function u(n) {
20
+ return !!n && (n instanceof Event || "nativeEvent" in n && n.nativeEvent instanceof Event);
86
21
  }
87
22
  export {
88
- g as applyInverseMatrixToPoint,
89
- p as applyMatrixToPoint,
90
- M as composeMatrices,
91
- w as createMatrix,
92
- f as identityMatrix,
93
- d as inverseMatrix,
94
- o as multiplyMatrices,
95
- y as scaleMatrix,
96
- $ as translateMatrix
23
+ t as isElement,
24
+ u as isEvent,
25
+ o as isMouseEvent,
26
+ i as isSVGElement,
27
+ r as isSVGGraphicsElement,
28
+ e as isSVGSVGElement,
29
+ c as isTouchEvent
97
30
  };
98
31
  //# sourceMappingURL=index.es68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es68.js","sources":["../../../node_modules/@visx/zoom/esm/util/matrix.js"],"sourcesContent":["export function identityMatrix() {\n return {\n scaleX: 1,\n scaleY: 1,\n translateX: 0,\n translateY: 0,\n skewX: 0,\n skewY: 0\n };\n}\nexport function createMatrix(_ref) {\n var _ref$scaleX = _ref.scaleX,\n scaleX = _ref$scaleX === void 0 ? 1 : _ref$scaleX,\n _ref$scaleY = _ref.scaleY,\n scaleY = _ref$scaleY === void 0 ? 1 : _ref$scaleY,\n _ref$translateX = _ref.translateX,\n translateX = _ref$translateX === void 0 ? 0 : _ref$translateX,\n _ref$translateY = _ref.translateY,\n translateY = _ref$translateY === void 0 ? 0 : _ref$translateY,\n _ref$skewX = _ref.skewX,\n skewX = _ref$skewX === void 0 ? 0 : _ref$skewX,\n _ref$skewY = _ref.skewY,\n skewY = _ref$skewY === void 0 ? 0 : _ref$skewY;\n return {\n scaleX: scaleX,\n scaleY: scaleY,\n translateX: translateX,\n translateY: translateY,\n skewX: skewX,\n skewY: skewY\n };\n}\nexport function inverseMatrix(_ref2) {\n var scaleX = _ref2.scaleX,\n scaleY = _ref2.scaleY,\n translateX = _ref2.translateX,\n translateY = _ref2.translateY,\n skewX = _ref2.skewX,\n skewY = _ref2.skewY;\n var denominator = scaleX * scaleY - skewY * skewX;\n return {\n scaleX: scaleY / denominator,\n scaleY: scaleX / denominator,\n translateX: (scaleY * translateX - skewX * translateY) / -denominator,\n translateY: (skewY * translateX - scaleX * translateY) / denominator,\n skewX: skewX / -denominator,\n skewY: skewY / -denominator\n };\n}\nexport function applyMatrixToPoint(matrix, _ref3) {\n var x = _ref3.x,\n y = _ref3.y;\n return {\n x: matrix.scaleX * x + matrix.skewX * y + matrix.translateX,\n y: matrix.skewY * x + matrix.scaleY * y + matrix.translateY\n };\n}\nexport function applyInverseMatrixToPoint(matrix, _ref4) {\n var x = _ref4.x,\n y = _ref4.y;\n return applyMatrixToPoint(inverseMatrix(matrix), {\n x: x,\n y: y\n });\n}\nexport function scaleMatrix(scaleX, maybeScaleY) {\n if (maybeScaleY === void 0) {\n maybeScaleY = undefined;\n }\n var scaleY = maybeScaleY || scaleX;\n return createMatrix({\n scaleX: scaleX,\n scaleY: scaleY\n });\n}\nexport function translateMatrix(translateX, translateY) {\n return createMatrix({\n translateX: translateX,\n translateY: translateY\n });\n}\nexport function multiplyMatrices(matrix1, matrix2) {\n return {\n scaleX: matrix1.scaleX * matrix2.scaleX + matrix1.skewX * matrix2.skewY,\n scaleY: matrix1.skewY * matrix2.skewX + matrix1.scaleY * matrix2.scaleY,\n translateX: matrix1.scaleX * matrix2.translateX + matrix1.skewX * matrix2.translateY + matrix1.translateX,\n translateY: matrix1.skewY * matrix2.translateX + matrix1.scaleY * matrix2.translateY + matrix1.translateY,\n skewX: matrix1.scaleX * matrix2.skewX + matrix1.skewX * matrix2.scaleY,\n skewY: matrix1.skewY * matrix2.scaleX + matrix1.scaleY * matrix2.skewY\n };\n}\nexport function composeMatrices() {\n for (var _len = arguments.length, matrices = new Array(_len), _key = 0; _key < _len; _key++) {\n matrices[_key] = arguments[_key];\n }\n switch (matrices.length) {\n case 0:\n throw new Error('composeMatrices() requires arguments: was called with no args');\n case 1:\n return matrices[0];\n case 2:\n return multiplyMatrices(matrices[0], matrices[1]);\n default:\n {\n var matrix1 = matrices[0],\n matrix2 = matrices[1],\n restMatrices = matrices.slice(2);\n var matrix = multiplyMatrices(matrix1, matrix2);\n return composeMatrices.apply(void 0, [matrix].concat(restMatrices));\n }\n }\n}"],"names":["identityMatrix","createMatrix","_ref","_ref$scaleX","scaleX","_ref$scaleY","scaleY","_ref$translateX","translateX","_ref$translateY","translateY","_ref$skewX","skewX","_ref$skewY","skewY","inverseMatrix","_ref2","denominator","applyMatrixToPoint","matrix","_ref3","x","y","applyInverseMatrixToPoint","_ref4","scaleMatrix","maybeScaleY","translateMatrix","multiplyMatrices","matrix1","matrix2","composeMatrices","_len","matrices","_key","restMatrices"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es68.js","sources":["../../../node_modules/@visx/event/esm/typeGuards.js"],"sourcesContent":["export function isElement(elem) {\n return !!elem && elem instanceof Element;\n}\n\n// functional definition of isSVGElement. Note that SVGSVGElements are HTMLElements\nexport function isSVGElement(elem) {\n return !!elem && (elem instanceof SVGElement || 'ownerSVGElement' in elem);\n}\n\n// functional definition of SVGGElement\nexport function isSVGSVGElement(elem) {\n return !!elem && 'createSVGPoint' in elem;\n}\nexport function isSVGGraphicsElement(elem) {\n return !!elem && 'getScreenCTM' in elem;\n}\n\n// functional definition of TouchEvent\nexport function isTouchEvent(event) {\n return !!event && 'changedTouches' in event;\n}\n\n// functional definition of MouseEvent\nexport function isMouseEvent(event) {\n return !!event && 'clientX' in event;\n}\n\n// functional definition of event\nexport function isEvent(event) {\n return !!event && (event instanceof Event || 'nativeEvent' in event && event.nativeEvent instanceof Event);\n}"],"names":["isElement","elem","isSVGElement","isSVGSVGElement","isSVGGraphicsElement","isTouchEvent","event","isMouseEvent","isEvent"],"mappings":"AAAO,SAASA,EAAUC,GAAM;AACvB,SAAA,CAAC,CAACA,KAAQA,aAAgB;AACnC;AAGO,SAASC,EAAaD,GAAM;AACjC,SAAO,CAAC,CAACA,MAASA,aAAgB,cAAc,qBAAqBA;AACvE;AAGO,SAASE,EAAgBF,GAAM;AAC7B,SAAA,CAAC,CAACA,KAAQ,oBAAoBA;AACvC;AACO,SAASG,EAAqBH,GAAM;AAClC,SAAA,CAAC,CAACA,KAAQ,kBAAkBA;AACrC;AAGO,SAASI,EAAaC,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,oBAAoBA;AACxC;AAGO,SAASC,EAAaD,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,aAAaA;AACjC;AAGO,SAASE,EAAQF,GAAO;AACtB,SAAA,CAAC,CAACA,MAAUA,aAAiB,SAAS,iBAAiBA,KAASA,EAAM,uBAAuB;AACtG;","x_google_ignoreList":[0]}
@@ -1,24 +1,36 @@
1
- import { isSVGElement as c, isSVGGraphicsElement as f, isSVGSVGElement as s } from "./index.es70.js";
2
- import o from "./index.es205.js";
3
- import a from "./index.es206.js";
4
- function G(r, l) {
5
- if (!r || !l)
6
- return null;
7
- var t = o(l), n = c(r) ? r.ownerSVGElement : r, i = f(n) ? n.getScreenCTM() : null;
8
- if (s(n) && i) {
9
- var e = n.createSVGPoint();
10
- return e.x = t.x, e.y = t.y, e = e.matrixTransform(i.inverse()), new a({
11
- x: e.x,
12
- y: e.y
13
- });
14
- }
15
- var m = r.getBoundingClientRect();
16
- return new a({
17
- x: t.x - m.left - r.clientLeft,
18
- y: t.y - m.top - r.clientTop
19
- });
1
+ import s from "react";
2
+ import { parseMergedHandlers as a, Controller as f } from "./index.es234.js";
3
+ import { r as u, e as l, f as p, s as d, w as m, m as g, h } from "./index.es235.js";
4
+ import { C as H, E as R } from "./index.es235.js";
5
+ function v(r, n = {}, o, t) {
6
+ const e = s.useMemo(() => new f(r), []);
7
+ if (e.applyHandlers(r, t), e.applyConfig(n, o), s.useEffect(e.effect.bind(e)), s.useEffect(() => e.clean.bind(e), []), n.target === void 0)
8
+ return e.bind.bind(e);
9
+ }
10
+ function A(r) {
11
+ return r.forEach(u), function(o, t) {
12
+ const {
13
+ handlers: e,
14
+ nativeHandlers: i,
15
+ config: c
16
+ } = a(o, t || {});
17
+ return v(e, c, void 0, i);
18
+ };
19
+ }
20
+ function M(r, n) {
21
+ return A([l, p, d, m, g, h])(r, n || {});
20
22
  }
21
23
  export {
22
- G as default
24
+ H as ConfigResolverMap,
25
+ R as EngineMap,
26
+ A as createUseGesture,
27
+ l as dragAction,
28
+ h as hoverAction,
29
+ g as moveAction,
30
+ p as pinchAction,
31
+ u as registerAction,
32
+ d as scrollAction,
33
+ M as useGesture,
34
+ m as wheelAction
23
35
  };
24
36
  //# sourceMappingURL=index.es69.js.map