@performant-software/visualize 2.3.4-beta.7 → 2.3.4-beta.8

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 (842) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs100.js.map +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs101.js.map +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs102.js.map +1 -1
  7. package/dist/index.cjs103.js +1 -1
  8. package/dist/index.cjs103.js.map +1 -1
  9. package/dist/index.cjs104.js +1 -1
  10. package/dist/index.cjs104.js.map +1 -1
  11. package/dist/index.cjs105.js +1 -1
  12. package/dist/index.cjs105.js.map +1 -1
  13. package/dist/index.cjs106.js +1 -1
  14. package/dist/index.cjs106.js.map +1 -1
  15. package/dist/index.cjs107.js +1 -1
  16. package/dist/index.cjs107.js.map +1 -1
  17. package/dist/index.cjs108.js +1 -1
  18. package/dist/index.cjs108.js.map +1 -1
  19. package/dist/index.cjs109.js +1 -1
  20. package/dist/index.cjs109.js.map +1 -1
  21. package/dist/index.cjs110.js +13 -1
  22. package/dist/index.cjs110.js.map +1 -1
  23. package/dist/index.cjs111.js +1 -1
  24. package/dist/index.cjs111.js.map +1 -1
  25. package/dist/index.cjs112.js +1 -1
  26. package/dist/index.cjs112.js.map +1 -1
  27. package/dist/index.cjs113.js +1 -1
  28. package/dist/index.cjs113.js.map +1 -1
  29. package/dist/index.cjs114.js +1 -1
  30. package/dist/index.cjs114.js.map +1 -1
  31. package/dist/index.cjs115.js +1 -1
  32. package/dist/index.cjs115.js.map +1 -1
  33. package/dist/index.cjs116.js +1 -1
  34. package/dist/index.cjs116.js.map +1 -1
  35. package/dist/index.cjs117.js +1 -1
  36. package/dist/index.cjs117.js.map +1 -1
  37. package/dist/index.cjs118.js +1 -1
  38. package/dist/index.cjs118.js.map +1 -1
  39. package/dist/index.cjs119.js +1 -1
  40. package/dist/index.cjs119.js.map +1 -1
  41. package/dist/index.cjs120.js +1 -1
  42. package/dist/index.cjs120.js.map +1 -1
  43. package/dist/index.cjs121.js +1 -1
  44. package/dist/index.cjs121.js.map +1 -1
  45. package/dist/index.cjs122.js +1 -1
  46. package/dist/index.cjs122.js.map +1 -1
  47. package/dist/index.cjs123.js +1 -1
  48. package/dist/index.cjs123.js.map +1 -1
  49. package/dist/index.cjs124.js +1 -13
  50. package/dist/index.cjs124.js.map +1 -1
  51. package/dist/index.cjs125.js +1 -1
  52. package/dist/index.cjs125.js.map +1 -1
  53. package/dist/index.cjs126.js +1 -1
  54. package/dist/index.cjs126.js.map +1 -1
  55. package/dist/index.cjs127.js +1 -1
  56. package/dist/index.cjs127.js.map +1 -1
  57. package/dist/index.cjs128.js +1 -1
  58. package/dist/index.cjs128.js.map +1 -1
  59. package/dist/index.cjs129.js +1 -1
  60. package/dist/index.cjs129.js.map +1 -1
  61. package/dist/index.cjs130.js +1 -1
  62. package/dist/index.cjs130.js.map +1 -1
  63. package/dist/index.cjs131.js +1 -1
  64. package/dist/index.cjs131.js.map +1 -1
  65. package/dist/index.cjs132.js +1 -1
  66. package/dist/index.cjs132.js.map +1 -1
  67. package/dist/index.cjs133.js +1 -1
  68. package/dist/index.cjs133.js.map +1 -1
  69. package/dist/index.cjs134.js +1 -1
  70. package/dist/index.cjs134.js.map +1 -1
  71. package/dist/index.cjs135.js +1 -1
  72. package/dist/index.cjs135.js.map +1 -1
  73. package/dist/index.cjs136.js +1 -1
  74. package/dist/index.cjs136.js.map +1 -1
  75. package/dist/index.cjs137.js +1 -1
  76. package/dist/index.cjs137.js.map +1 -1
  77. package/dist/index.cjs138.js +1 -1
  78. package/dist/index.cjs138.js.map +1 -1
  79. package/dist/index.cjs139.js +1 -1
  80. package/dist/index.cjs139.js.map +1 -1
  81. package/dist/index.cjs14.js +1 -1
  82. package/dist/index.cjs140.js +1 -1
  83. package/dist/index.cjs140.js.map +1 -1
  84. package/dist/index.cjs141.js +1 -1
  85. package/dist/index.cjs141.js.map +1 -1
  86. package/dist/index.cjs142.js +1 -1
  87. package/dist/index.cjs142.js.map +1 -1
  88. package/dist/index.cjs143.js +1 -1
  89. package/dist/index.cjs143.js.map +1 -1
  90. package/dist/index.cjs144.js +1 -1
  91. package/dist/index.cjs144.js.map +1 -1
  92. package/dist/index.cjs145.js +1 -1
  93. package/dist/index.cjs145.js.map +1 -1
  94. package/dist/index.cjs146.js +1 -1
  95. package/dist/index.cjs146.js.map +1 -1
  96. package/dist/index.cjs147.js +1 -1
  97. package/dist/index.cjs147.js.map +1 -1
  98. package/dist/index.cjs148.js +1 -1
  99. package/dist/index.cjs148.js.map +1 -1
  100. package/dist/index.cjs149.js +1 -1
  101. package/dist/index.cjs149.js.map +1 -1
  102. package/dist/index.cjs150.js +1 -1
  103. package/dist/index.cjs150.js.map +1 -1
  104. package/dist/index.cjs151.js +1 -1
  105. package/dist/index.cjs151.js.map +1 -1
  106. package/dist/index.cjs152.js +1 -1
  107. package/dist/index.cjs152.js.map +1 -1
  108. package/dist/index.cjs153.js +1 -1
  109. package/dist/index.cjs153.js.map +1 -1
  110. package/dist/index.cjs154.js +1 -1
  111. package/dist/index.cjs154.js.map +1 -1
  112. package/dist/index.cjs155.js +1 -1
  113. package/dist/index.cjs155.js.map +1 -1
  114. package/dist/index.cjs156.js +1 -1
  115. package/dist/index.cjs156.js.map +1 -1
  116. package/dist/index.cjs157.js +1 -1
  117. package/dist/index.cjs157.js.map +1 -1
  118. package/dist/index.cjs158.js +1 -1
  119. package/dist/index.cjs158.js.map +1 -1
  120. package/dist/index.cjs159.js +1 -1
  121. package/dist/index.cjs159.js.map +1 -1
  122. package/dist/index.cjs160.js +1 -1
  123. package/dist/index.cjs160.js.map +1 -1
  124. package/dist/index.cjs161.js +1 -1
  125. package/dist/index.cjs161.js.map +1 -1
  126. package/dist/index.cjs162.js +1 -1
  127. package/dist/index.cjs162.js.map +1 -1
  128. package/dist/index.cjs163.js +1 -1
  129. package/dist/index.cjs163.js.map +1 -1
  130. package/dist/index.cjs164.js +1 -1
  131. package/dist/index.cjs164.js.map +1 -1
  132. package/dist/index.cjs165.js +1 -1
  133. package/dist/index.cjs165.js.map +1 -1
  134. package/dist/index.cjs166.js +1 -1
  135. package/dist/index.cjs166.js.map +1 -1
  136. package/dist/index.cjs167.js +1 -1
  137. package/dist/index.cjs167.js.map +1 -1
  138. package/dist/index.cjs168.js +1 -1
  139. package/dist/index.cjs168.js.map +1 -1
  140. package/dist/index.cjs169.js +1 -1
  141. package/dist/index.cjs169.js.map +1 -1
  142. package/dist/index.cjs170.js +1 -1
  143. package/dist/index.cjs170.js.map +1 -1
  144. package/dist/index.cjs171.js +1 -1
  145. package/dist/index.cjs171.js.map +1 -1
  146. package/dist/index.cjs172.js +1 -1
  147. package/dist/index.cjs172.js.map +1 -1
  148. package/dist/index.cjs173.js +1 -1
  149. package/dist/index.cjs173.js.map +1 -1
  150. package/dist/index.cjs174.js +1 -1
  151. package/dist/index.cjs174.js.map +1 -1
  152. package/dist/index.cjs175.js +1 -1
  153. package/dist/index.cjs175.js.map +1 -1
  154. package/dist/index.cjs176.js +1 -1
  155. package/dist/index.cjs176.js.map +1 -1
  156. package/dist/index.cjs177.js +1 -1
  157. package/dist/index.cjs177.js.map +1 -1
  158. package/dist/index.cjs178.js +1 -5
  159. package/dist/index.cjs178.js.map +1 -1
  160. package/dist/index.cjs179.js +1 -1
  161. package/dist/index.cjs179.js.map +1 -1
  162. package/dist/index.cjs180.js +1 -1
  163. package/dist/index.cjs180.js.map +1 -1
  164. package/dist/index.cjs181.js +5 -1
  165. package/dist/index.cjs181.js.map +1 -1
  166. package/dist/index.cjs182.js +1 -1
  167. package/dist/index.cjs182.js.map +1 -1
  168. package/dist/index.cjs183.js +1 -1
  169. package/dist/index.cjs183.js.map +1 -1
  170. package/dist/index.cjs184.js +1 -1
  171. package/dist/index.cjs184.js.map +1 -1
  172. package/dist/index.cjs185.js +1 -1
  173. package/dist/index.cjs185.js.map +1 -1
  174. package/dist/index.cjs186.js +1 -1
  175. package/dist/index.cjs186.js.map +1 -1
  176. package/dist/index.cjs187.js +1 -1
  177. package/dist/index.cjs187.js.map +1 -1
  178. package/dist/index.cjs188.js +1 -1
  179. package/dist/index.cjs188.js.map +1 -1
  180. package/dist/index.cjs189.js +1 -1
  181. package/dist/index.cjs189.js.map +1 -1
  182. package/dist/index.cjs19.js +1 -1
  183. package/dist/index.cjs195.js +1 -3
  184. package/dist/index.cjs195.js.map +1 -1
  185. package/dist/index.cjs196.js +1 -1
  186. package/dist/index.cjs196.js.map +1 -1
  187. package/dist/index.cjs197.js +1 -1
  188. package/dist/index.cjs197.js.map +1 -1
  189. package/dist/index.cjs20.js +1 -1
  190. package/dist/index.cjs200.js +1 -1
  191. package/dist/index.cjs201.js +1 -1
  192. package/dist/index.cjs202.js +1 -1
  193. package/dist/index.cjs204.js +1 -1
  194. package/dist/index.cjs204.js.map +1 -1
  195. package/dist/index.cjs207.js +1 -1
  196. package/dist/index.cjs21.js +1 -1
  197. package/dist/index.cjs212.js +1 -1
  198. package/dist/index.cjs212.js.map +1 -1
  199. package/dist/index.cjs214.js +1 -1
  200. package/dist/index.cjs214.js.map +1 -1
  201. package/dist/index.cjs215.js +1 -1
  202. package/dist/index.cjs216.js +1 -1
  203. package/dist/index.cjs217.js +1 -1
  204. package/dist/index.cjs219.js +1 -1
  205. package/dist/index.cjs22.js +1 -1
  206. package/dist/index.cjs220.js +1 -1
  207. package/dist/index.cjs221.js +1 -1
  208. package/dist/index.cjs221.js.map +1 -1
  209. package/dist/index.cjs222.js +1 -1
  210. package/dist/index.cjs225.js +3 -1
  211. package/dist/index.cjs225.js.map +1 -1
  212. package/dist/index.cjs226.js +1 -1
  213. package/dist/index.cjs226.js.map +1 -1
  214. package/dist/index.cjs227.js +1 -1
  215. package/dist/index.cjs227.js.map +1 -1
  216. package/dist/index.cjs228.js +1 -1
  217. package/dist/index.cjs228.js.map +1 -1
  218. package/dist/index.cjs229.js +1 -1
  219. package/dist/index.cjs229.js.map +1 -1
  220. package/dist/index.cjs230.js +1 -2
  221. package/dist/index.cjs230.js.map +1 -1
  222. package/dist/index.cjs231.js +1 -1
  223. package/dist/index.cjs231.js.map +1 -1
  224. package/dist/index.cjs232.js +1 -1
  225. package/dist/index.cjs232.js.map +1 -1
  226. package/dist/index.cjs233.js +1 -1
  227. package/dist/index.cjs233.js.map +1 -1
  228. package/dist/index.cjs234.js +1 -1
  229. package/dist/index.cjs234.js.map +1 -1
  230. package/dist/index.cjs235.js +1 -1
  231. package/dist/index.cjs235.js.map +1 -1
  232. package/dist/index.cjs236.js +1 -1
  233. package/dist/index.cjs236.js.map +1 -1
  234. package/dist/index.cjs237.js +1 -1
  235. package/dist/index.cjs237.js.map +1 -1
  236. package/dist/index.cjs238.js +1 -1
  237. package/dist/index.cjs238.js.map +1 -1
  238. package/dist/index.cjs239.js +1 -1
  239. package/dist/index.cjs239.js.map +1 -1
  240. package/dist/index.cjs24.js +1 -1
  241. package/dist/index.cjs240.js +1 -1
  242. package/dist/index.cjs240.js.map +1 -1
  243. package/dist/index.cjs241.js +1 -1
  244. package/dist/index.cjs241.js.map +1 -1
  245. package/dist/index.cjs242.js +1 -1
  246. package/dist/index.cjs242.js.map +1 -1
  247. package/dist/index.cjs243.js +1 -1
  248. package/dist/index.cjs243.js.map +1 -1
  249. package/dist/index.cjs244.js +2 -1
  250. package/dist/index.cjs244.js.map +1 -1
  251. package/dist/index.cjs25.js +1 -1
  252. package/dist/index.cjs252.js +1 -1
  253. package/dist/index.cjs252.js.map +1 -1
  254. package/dist/index.cjs253.js +1 -1
  255. package/dist/index.cjs253.js.map +1 -1
  256. package/dist/index.cjs254.js +1 -1
  257. package/dist/index.cjs254.js.map +1 -1
  258. package/dist/index.cjs255.js +1 -1
  259. package/dist/index.cjs255.js.map +1 -1
  260. package/dist/index.cjs256.js +1 -1
  261. package/dist/index.cjs256.js.map +1 -1
  262. package/dist/index.cjs257.js +1 -1
  263. package/dist/index.cjs257.js.map +1 -1
  264. package/dist/index.cjs258.js +1 -1
  265. package/dist/index.cjs258.js.map +1 -1
  266. package/dist/index.cjs259.js +1 -1
  267. package/dist/index.cjs259.js.map +1 -1
  268. package/dist/index.cjs26.js +1 -1
  269. package/dist/index.cjs26.js.map +1 -1
  270. package/dist/index.cjs260.js +1 -1
  271. package/dist/index.cjs260.js.map +1 -1
  272. package/dist/index.cjs261.js +1 -1
  273. package/dist/index.cjs261.js.map +1 -1
  274. package/dist/index.cjs262.js +1 -1
  275. package/dist/index.cjs262.js.map +1 -1
  276. package/dist/index.cjs263.js +1 -1
  277. package/dist/index.cjs263.js.map +1 -1
  278. package/dist/index.cjs264.js +1 -1
  279. package/dist/index.cjs264.js.map +1 -1
  280. package/dist/index.cjs265.js +1 -1
  281. package/dist/index.cjs265.js.map +1 -1
  282. package/dist/index.cjs266.js +1 -1
  283. package/dist/index.cjs266.js.map +1 -1
  284. package/dist/index.cjs267.js +1 -1
  285. package/dist/index.cjs267.js.map +1 -1
  286. package/dist/index.cjs268.js +1 -1
  287. package/dist/index.cjs268.js.map +1 -1
  288. package/dist/index.cjs27.js +1 -1
  289. package/dist/index.cjs271.js +1 -1
  290. package/dist/index.cjs271.js.map +1 -1
  291. package/dist/index.cjs272.js +1 -1
  292. package/dist/index.cjs272.js.map +1 -1
  293. package/dist/index.cjs273.js +1 -1
  294. package/dist/index.cjs273.js.map +1 -1
  295. package/dist/index.cjs274.js +1 -1
  296. package/dist/index.cjs274.js.map +1 -1
  297. package/dist/index.cjs275.js +1 -1
  298. package/dist/index.cjs275.js.map +1 -1
  299. package/dist/index.cjs276.js +1 -1
  300. package/dist/index.cjs276.js.map +1 -1
  301. package/dist/index.cjs277.js +1 -1
  302. package/dist/index.cjs277.js.map +1 -1
  303. package/dist/index.cjs278.js +1 -1
  304. package/dist/index.cjs278.js.map +1 -1
  305. package/dist/index.cjs279.js +1 -1
  306. package/dist/index.cjs279.js.map +1 -1
  307. package/dist/index.cjs28.js +1 -1
  308. package/dist/index.cjs280.js +1 -1
  309. package/dist/index.cjs280.js.map +1 -1
  310. package/dist/index.cjs281.js +1 -1
  311. package/dist/index.cjs281.js.map +1 -1
  312. package/dist/index.cjs282.js +1 -1
  313. package/dist/index.cjs282.js.map +1 -1
  314. package/dist/index.cjs283.js +1 -1
  315. package/dist/index.cjs288.js +1 -1
  316. package/dist/index.cjs289.js +1 -1
  317. package/dist/index.cjs29.js +1 -1
  318. package/dist/index.cjs291.js +1 -1
  319. package/dist/index.cjs292.js +1 -1
  320. package/dist/index.cjs294.js +1 -1
  321. package/dist/index.cjs30.js +1 -1
  322. package/dist/index.cjs31.js +1 -1
  323. package/dist/index.cjs32.js +1 -1
  324. package/dist/index.cjs34.js +1 -1
  325. package/dist/index.cjs34.js.map +1 -1
  326. package/dist/index.cjs35.js +1 -1
  327. package/dist/index.cjs35.js.map +1 -1
  328. package/dist/index.cjs36.js +1 -1
  329. package/dist/index.cjs36.js.map +1 -1
  330. package/dist/index.cjs37.js +1 -1
  331. package/dist/index.cjs38.js +1 -1
  332. package/dist/index.cjs39.js +1 -1
  333. package/dist/index.cjs40.js +1 -1
  334. package/dist/index.cjs41.js +1 -1
  335. package/dist/index.cjs42.js +1 -1
  336. package/dist/index.cjs43.js +1 -1
  337. package/dist/index.cjs44.js +1 -1
  338. package/dist/index.cjs45.js +1 -1
  339. package/dist/index.cjs46.js +1 -1
  340. package/dist/index.cjs47.js +1 -1
  341. package/dist/index.cjs48.js +1 -1
  342. package/dist/index.cjs49.js +1 -1
  343. package/dist/index.cjs5.js +1 -1
  344. package/dist/index.cjs53.js +1 -1
  345. package/dist/index.cjs53.js.map +1 -1
  346. package/dist/index.cjs54.js +1 -1
  347. package/dist/index.cjs54.js.map +1 -1
  348. package/dist/index.cjs58.js +1 -1
  349. package/dist/index.cjs58.js.map +1 -1
  350. package/dist/index.cjs62.js +1 -1
  351. package/dist/index.cjs62.js.map +1 -1
  352. package/dist/index.cjs63.js +1 -1
  353. package/dist/index.cjs63.js.map +1 -1
  354. package/dist/index.cjs64.js +1 -1
  355. package/dist/index.cjs64.js.map +1 -1
  356. package/dist/index.cjs65.js +1 -1
  357. package/dist/index.cjs65.js.map +1 -1
  358. package/dist/index.cjs66.js +1 -1
  359. package/dist/index.cjs66.js.map +1 -1
  360. package/dist/index.cjs67.js +1 -1
  361. package/dist/index.cjs67.js.map +1 -1
  362. package/dist/index.cjs68.js +1 -1
  363. package/dist/index.cjs68.js.map +1 -1
  364. package/dist/index.cjs69.js +1 -1
  365. package/dist/index.cjs69.js.map +1 -1
  366. package/dist/index.cjs70.js +1 -1
  367. package/dist/index.cjs70.js.map +1 -1
  368. package/dist/index.cjs71.js +1 -1
  369. package/dist/index.cjs71.js.map +1 -1
  370. package/dist/index.cjs72.js +1 -1
  371. package/dist/index.cjs72.js.map +1 -1
  372. package/dist/index.cjs73.js +1 -1
  373. package/dist/index.cjs73.js.map +1 -1
  374. package/dist/index.cjs74.js +1 -1
  375. package/dist/index.cjs74.js.map +1 -1
  376. package/dist/index.cjs75.js +1 -1
  377. package/dist/index.cjs75.js.map +1 -1
  378. package/dist/index.cjs76.js +1 -1
  379. package/dist/index.cjs76.js.map +1 -1
  380. package/dist/index.cjs77.js +1 -1
  381. package/dist/index.cjs77.js.map +1 -1
  382. package/dist/index.cjs78.js +1 -1
  383. package/dist/index.cjs78.js.map +1 -1
  384. package/dist/index.cjs79.js +1 -1
  385. package/dist/index.cjs79.js.map +1 -1
  386. package/dist/index.cjs8.js +1 -1
  387. package/dist/index.cjs80.js +1 -1
  388. package/dist/index.cjs80.js.map +1 -1
  389. package/dist/index.cjs81.js +1 -1
  390. package/dist/index.cjs81.js.map +1 -1
  391. package/dist/index.cjs82.js +1 -1
  392. package/dist/index.cjs82.js.map +1 -1
  393. package/dist/index.cjs83.js +1 -1
  394. package/dist/index.cjs83.js.map +1 -1
  395. package/dist/index.cjs84.js +1 -1
  396. package/dist/index.cjs84.js.map +1 -1
  397. package/dist/index.cjs85.js +1 -1
  398. package/dist/index.cjs85.js.map +1 -1
  399. package/dist/index.cjs86.js +1 -1
  400. package/dist/index.cjs86.js.map +1 -1
  401. package/dist/index.cjs87.js +1 -1
  402. package/dist/index.cjs87.js.map +1 -1
  403. package/dist/index.cjs88.js +1 -1
  404. package/dist/index.cjs88.js.map +1 -1
  405. package/dist/index.cjs89.js +1 -1
  406. package/dist/index.cjs89.js.map +1 -1
  407. package/dist/index.cjs90.js +1 -1
  408. package/dist/index.cjs90.js.map +1 -1
  409. package/dist/index.cjs91.js +1 -1
  410. package/dist/index.cjs91.js.map +1 -1
  411. package/dist/index.cjs92.js +1 -1
  412. package/dist/index.cjs92.js.map +1 -1
  413. package/dist/index.cjs93.js +1 -1
  414. package/dist/index.cjs93.js.map +1 -1
  415. package/dist/index.cjs94.js +1 -1
  416. package/dist/index.cjs94.js.map +1 -1
  417. package/dist/index.cjs95.js +1 -1
  418. package/dist/index.cjs95.js.map +1 -1
  419. package/dist/index.cjs96.js +1 -1
  420. package/dist/index.cjs96.js.map +1 -1
  421. package/dist/index.cjs97.js +1 -1
  422. package/dist/index.cjs97.js.map +1 -1
  423. package/dist/index.cjs98.js +1 -1
  424. package/dist/index.cjs98.js.map +1 -1
  425. package/dist/index.cjs99.js +1 -1
  426. package/dist/index.cjs99.js.map +1 -1
  427. package/dist/index.es100.js +10 -14
  428. package/dist/index.es100.js.map +1 -1
  429. package/dist/index.es101.js +3 -11
  430. package/dist/index.es101.js.map +1 -1
  431. package/dist/index.es102.js +5 -6
  432. package/dist/index.es102.js.map +1 -1
  433. package/dist/index.es103.js +1 -5
  434. package/dist/index.es103.js.map +1 -1
  435. package/dist/index.es104.js +7 -6
  436. package/dist/index.es104.js.map +1 -1
  437. package/dist/index.es105.js +7 -7
  438. package/dist/index.es105.js.map +1 -1
  439. package/dist/index.es106.js +8 -4
  440. package/dist/index.es106.js.map +1 -1
  441. package/dist/index.es107.js +9 -4
  442. package/dist/index.es107.js.map +1 -1
  443. package/dist/index.es108.js +4 -4
  444. package/dist/index.es108.js.map +1 -1
  445. package/dist/index.es109.js +4 -7
  446. package/dist/index.es109.js.map +1 -1
  447. package/dist/index.es110.js +57 -6
  448. package/dist/index.es110.js.map +1 -1
  449. package/dist/index.es111.js +13 -3
  450. package/dist/index.es111.js.map +1 -1
  451. package/dist/index.es112.js +5 -7
  452. package/dist/index.es112.js.map +1 -1
  453. package/dist/index.es113.js +5 -12
  454. package/dist/index.es113.js.map +1 -1
  455. package/dist/index.es114.js +8 -10
  456. package/dist/index.es114.js.map +1 -1
  457. package/dist/index.es115.js +16 -3
  458. package/dist/index.es115.js.map +1 -1
  459. package/dist/index.es116.js +13 -5
  460. package/dist/index.es116.js.map +1 -1
  461. package/dist/index.es117.js +4 -2
  462. package/dist/index.es117.js.map +1 -1
  463. package/dist/index.es118.js +4 -6
  464. package/dist/index.es118.js.map +1 -1
  465. package/dist/index.es119.js +7 -6
  466. package/dist/index.es119.js.map +1 -1
  467. package/dist/index.es120.js +5 -6
  468. package/dist/index.es120.js.map +1 -1
  469. package/dist/index.es121.js +6 -8
  470. package/dist/index.es121.js.map +1 -1
  471. package/dist/index.es122.js +8 -3
  472. package/dist/index.es122.js.map +1 -1
  473. package/dist/index.es123.js +3 -4
  474. package/dist/index.es123.js.map +1 -1
  475. package/dist/index.es124.js +3 -58
  476. package/dist/index.es124.js.map +1 -1
  477. package/dist/index.es125.js +8 -11
  478. package/dist/index.es125.js.map +1 -1
  479. package/dist/index.es126.js +5 -6
  480. package/dist/index.es126.js.map +1 -1
  481. package/dist/index.es127.js +4 -6
  482. package/dist/index.es127.js.map +1 -1
  483. package/dist/index.es128.js +8 -8
  484. package/dist/index.es128.js.map +1 -1
  485. package/dist/index.es129.js +5 -16
  486. package/dist/index.es129.js.map +1 -1
  487. package/dist/index.es130.js +16 -13
  488. package/dist/index.es130.js.map +1 -1
  489. package/dist/index.es131.js +11 -4
  490. package/dist/index.es131.js.map +1 -1
  491. package/dist/index.es132.js +3 -6
  492. package/dist/index.es132.js.map +1 -1
  493. package/dist/index.es133.js +3 -9
  494. package/dist/index.es133.js.map +1 -1
  495. package/dist/index.es134.js +8 -6
  496. package/dist/index.es134.js.map +1 -1
  497. package/dist/index.es135.js +6 -6
  498. package/dist/index.es135.js.map +1 -1
  499. package/dist/index.es136.js +12 -8
  500. package/dist/index.es136.js.map +1 -1
  501. package/dist/index.es137.js +13 -3
  502. package/dist/index.es137.js.map +1 -1
  503. package/dist/index.es138.js +7 -3
  504. package/dist/index.es138.js.map +1 -1
  505. package/dist/index.es139.js +5 -10
  506. package/dist/index.es139.js.map +1 -1
  507. package/dist/index.es14.js +1 -1
  508. package/dist/index.es140.js +6 -5
  509. package/dist/index.es140.js.map +1 -1
  510. package/dist/index.es141.js +17 -4
  511. package/dist/index.es141.js.map +1 -1
  512. package/dist/index.es142.js +16 -8
  513. package/dist/index.es142.js.map +1 -1
  514. package/dist/index.es143.js +4 -5
  515. package/dist/index.es143.js.map +1 -1
  516. package/dist/index.es144.js +15 -15
  517. package/dist/index.es144.js.map +1 -1
  518. package/dist/index.es145.js +22 -11
  519. package/dist/index.es145.js.map +1 -1
  520. package/dist/index.es146.js +6 -3
  521. package/dist/index.es146.js.map +1 -1
  522. package/dist/index.es147.js +5 -3
  523. package/dist/index.es147.js.map +1 -1
  524. package/dist/index.es148.js +6 -9
  525. package/dist/index.es148.js.map +1 -1
  526. package/dist/index.es149.js +5 -7
  527. package/dist/index.es149.js.map +1 -1
  528. package/dist/index.es150.js +11 -12
  529. package/dist/index.es150.js.map +1 -1
  530. package/dist/index.es151.js +5 -12
  531. package/dist/index.es151.js.map +1 -1
  532. package/dist/index.es152.js +3 -5
  533. package/dist/index.es152.js.map +1 -1
  534. package/dist/index.es153.js +4 -5
  535. package/dist/index.es153.js.map +1 -1
  536. package/dist/index.es154.js +4 -5
  537. package/dist/index.es154.js.map +1 -1
  538. package/dist/index.es155.js +4 -16
  539. package/dist/index.es155.js.map +1 -1
  540. package/dist/index.es156.js +4 -16
  541. package/dist/index.es156.js.map +1 -1
  542. package/dist/index.es157.js +3 -3
  543. package/dist/index.es157.js.map +1 -1
  544. package/dist/index.es158.js +11 -15
  545. package/dist/index.es158.js.map +1 -1
  546. package/dist/index.es159.js +13 -21
  547. package/dist/index.es159.js.map +1 -1
  548. package/dist/index.es160.js +8 -5
  549. package/dist/index.es160.js.map +1 -1
  550. package/dist/index.es161.js +7 -5
  551. package/dist/index.es161.js.map +1 -1
  552. package/dist/index.es162.js +7 -6
  553. package/dist/index.es162.js.map +1 -1
  554. package/dist/index.es163.js +9 -5
  555. package/dist/index.es163.js.map +1 -1
  556. package/dist/index.es164.js +20 -11
  557. package/dist/index.es164.js.map +1 -1
  558. package/dist/index.es165.js +27 -5
  559. package/dist/index.es165.js.map +1 -1
  560. package/dist/index.es166.js +13 -5
  561. package/dist/index.es166.js.map +1 -1
  562. package/dist/index.es167.js +32 -4
  563. package/dist/index.es167.js.map +1 -1
  564. package/dist/index.es168.js +94 -4
  565. package/dist/index.es168.js.map +1 -1
  566. package/dist/index.es169.js +54 -4
  567. package/dist/index.es169.js.map +1 -1
  568. package/dist/index.es170.js +29 -5
  569. package/dist/index.es170.js.map +1 -1
  570. package/dist/index.es171.js +40 -5
  571. package/dist/index.es171.js.map +1 -1
  572. package/dist/index.es172.js +8 -12
  573. package/dist/index.es172.js.map +1 -1
  574. package/dist/index.es173.js +4 -14
  575. package/dist/index.es173.js.map +1 -1
  576. package/dist/index.es174.js +12 -8
  577. package/dist/index.es174.js.map +1 -1
  578. package/dist/index.es175.js +5 -6
  579. package/dist/index.es175.js.map +1 -1
  580. package/dist/index.es176.js +14 -6
  581. package/dist/index.es176.js.map +1 -1
  582. package/dist/index.es177.js +9 -8
  583. package/dist/index.es177.js.map +1 -1
  584. package/dist/index.es178.js +6 -40
  585. package/dist/index.es178.js.map +1 -1
  586. package/dist/index.es179.js +9 -15
  587. package/dist/index.es179.js.map +1 -1
  588. package/dist/index.es180.js +7 -52
  589. package/dist/index.es180.js.map +1 -1
  590. package/dist/index.es181.js +39 -54
  591. package/dist/index.es181.js.map +1 -1
  592. package/dist/index.es182.js +35 -53
  593. package/dist/index.es182.js.map +1 -1
  594. package/dist/index.es183.js +23 -29
  595. package/dist/index.es183.js.map +1 -1
  596. package/dist/index.es184.js +84 -39
  597. package/dist/index.es184.js.map +1 -1
  598. package/dist/index.es185.js +14 -33
  599. package/dist/index.es185.js.map +1 -1
  600. package/dist/index.es186.js +52 -15
  601. package/dist/index.es186.js.map +1 -1
  602. package/dist/index.es187.js +53 -35
  603. package/dist/index.es187.js.map +1 -1
  604. package/dist/index.es188.js +33 -21
  605. package/dist/index.es188.js.map +1 -1
  606. package/dist/index.es189.js +15 -84
  607. package/dist/index.es189.js.map +1 -1
  608. package/dist/index.es19.js +1 -1
  609. package/dist/index.es195.js +5 -239
  610. package/dist/index.es195.js.map +1 -1
  611. package/dist/index.es196.js +5 -1018
  612. package/dist/index.es196.js.map +1 -1
  613. package/dist/index.es197.js +21 -2
  614. package/dist/index.es197.js.map +1 -1
  615. package/dist/index.es20.js +1 -1
  616. package/dist/index.es200.js +1 -1
  617. package/dist/index.es201.js +1 -1
  618. package/dist/index.es202.js +1 -1
  619. package/dist/index.es204.js +1 -1
  620. package/dist/index.es207.js +1 -1
  621. package/dist/index.es21.js +1 -1
  622. package/dist/index.es212.js +1 -1
  623. package/dist/index.es214.js +1 -1
  624. package/dist/index.es215.js +5 -5
  625. package/dist/index.es216.js +1 -1
  626. package/dist/index.es217.js +1 -1
  627. package/dist/index.es219.js +1 -1
  628. package/dist/index.es22.js +1 -1
  629. package/dist/index.es220.js +1 -1
  630. package/dist/index.es221.js +1 -1
  631. package/dist/index.es222.js +1 -1
  632. package/dist/index.es225.js +239 -6
  633. package/dist/index.es225.js.map +1 -1
  634. package/dist/index.es226.js +1017 -5
  635. package/dist/index.es226.js.map +1 -1
  636. package/dist/index.es227.js +2 -5
  637. package/dist/index.es227.js.map +1 -1
  638. package/dist/index.es228.js +12 -4
  639. package/dist/index.es228.js.map +1 -1
  640. package/dist/index.es229.js +10 -12
  641. package/dist/index.es229.js.map +1 -1
  642. package/dist/index.es230.js +7 -4
  643. package/dist/index.es230.js.map +1 -1
  644. package/dist/index.es231.js +9 -5
  645. package/dist/index.es231.js.map +1 -1
  646. package/dist/index.es232.js +8 -5
  647. package/dist/index.es232.js.map +1 -1
  648. package/dist/index.es233.js +5 -20
  649. package/dist/index.es233.js.map +1 -1
  650. package/dist/index.es234.js +14 -11
  651. package/dist/index.es234.js.map +1 -1
  652. package/dist/index.es235.js +5 -10
  653. package/dist/index.es235.js.map +1 -1
  654. package/dist/index.es236.js +6 -7
  655. package/dist/index.es236.js.map +1 -1
  656. package/dist/index.es237.js +6 -9
  657. package/dist/index.es237.js.map +1 -1
  658. package/dist/index.es238.js +6 -7
  659. package/dist/index.es238.js.map +1 -1
  660. package/dist/index.es239.js +6 -5
  661. package/dist/index.es239.js.map +1 -1
  662. package/dist/index.es24.js +1 -1
  663. package/dist/index.es240.js +5 -15
  664. package/dist/index.es240.js.map +1 -1
  665. package/dist/index.es241.js +4 -5
  666. package/dist/index.es241.js.map +1 -1
  667. package/dist/index.es242.js +4 -6
  668. package/dist/index.es242.js.map +1 -1
  669. package/dist/index.es243.js +12 -6
  670. package/dist/index.es243.js.map +1 -1
  671. package/dist/index.es244.js +4 -6
  672. package/dist/index.es244.js.map +1 -1
  673. package/dist/index.es25.js +2 -2
  674. package/dist/index.es252.js +3 -3
  675. package/dist/index.es252.js.map +1 -1
  676. package/dist/index.es253.js +6 -5
  677. package/dist/index.es253.js.map +1 -1
  678. package/dist/index.es254.js +7 -7
  679. package/dist/index.es254.js.map +1 -1
  680. package/dist/index.es255.js +5 -3
  681. package/dist/index.es255.js.map +1 -1
  682. package/dist/index.es256.js +3 -2
  683. package/dist/index.es256.js.map +1 -1
  684. package/dist/index.es257.js +6 -4
  685. package/dist/index.es257.js.map +1 -1
  686. package/dist/index.es258.js +29 -8
  687. package/dist/index.es258.js.map +1 -1
  688. package/dist/index.es259.js +34 -13
  689. package/dist/index.es259.js.map +1 -1
  690. package/dist/index.es26.js +2 -2
  691. package/dist/index.es260.js +10 -7
  692. package/dist/index.es260.js.map +1 -1
  693. package/dist/index.es261.js +4 -3
  694. package/dist/index.es261.js.map +1 -1
  695. package/dist/index.es262.js +8 -7
  696. package/dist/index.es262.js.map +1 -1
  697. package/dist/index.es263.js +13 -7
  698. package/dist/index.es263.js.map +1 -1
  699. package/dist/index.es264.js +7 -29
  700. package/dist/index.es264.js.map +1 -1
  701. package/dist/index.es265.js +4 -35
  702. package/dist/index.es265.js.map +1 -1
  703. package/dist/index.es266.js +2 -10
  704. package/dist/index.es266.js.map +1 -1
  705. package/dist/index.es267.js +6 -4
  706. package/dist/index.es267.js.map +1 -1
  707. package/dist/index.es268.js +8 -8
  708. package/dist/index.es268.js.map +1 -1
  709. package/dist/index.es27.js +4 -4
  710. package/dist/index.es271.js +7 -32
  711. package/dist/index.es271.js.map +1 -1
  712. package/dist/index.es272.js +9 -3
  713. package/dist/index.es272.js.map +1 -1
  714. package/dist/index.es273.js +4 -7
  715. package/dist/index.es273.js.map +1 -1
  716. package/dist/index.es274.js +3 -9
  717. package/dist/index.es274.js.map +1 -1
  718. package/dist/index.es275.js +5 -5
  719. package/dist/index.es275.js.map +1 -1
  720. package/dist/index.es276.js +12 -67
  721. package/dist/index.es276.js.map +1 -1
  722. package/dist/index.es277.js +2 -18
  723. package/dist/index.es277.js.map +1 -1
  724. package/dist/index.es278.js +32 -6
  725. package/dist/index.es278.js.map +1 -1
  726. package/dist/index.es279.js +68 -2
  727. package/dist/index.es279.js.map +1 -1
  728. package/dist/index.es28.js +1 -1
  729. package/dist/index.es280.js +18 -5
  730. package/dist/index.es280.js.map +1 -1
  731. package/dist/index.es281.js +5 -11
  732. package/dist/index.es281.js.map +1 -1
  733. package/dist/index.es282.js +2 -2
  734. package/dist/index.es282.js.map +1 -1
  735. package/dist/index.es283.js +1 -1
  736. package/dist/index.es288.js +1 -1
  737. package/dist/index.es289.js +1 -1
  738. package/dist/index.es29.js +2 -2
  739. package/dist/index.es291.js +3 -3
  740. package/dist/index.es292.js +1 -1
  741. package/dist/index.es294.js +1 -1
  742. package/dist/index.es30.js +3 -3
  743. package/dist/index.es31.js +2 -2
  744. package/dist/index.es32.js +1 -1
  745. package/dist/index.es34.js +4 -4
  746. package/dist/index.es35.js +2 -2
  747. package/dist/index.es36.js +5 -5
  748. package/dist/index.es37.js +11 -11
  749. package/dist/index.es38.js +2 -2
  750. package/dist/index.es39.js +3 -3
  751. package/dist/index.es40.js +3 -3
  752. package/dist/index.es41.js +3 -3
  753. package/dist/index.es42.js +3 -3
  754. package/dist/index.es43.js +3 -3
  755. package/dist/index.es44.js +3 -3
  756. package/dist/index.es45.js +3 -3
  757. package/dist/index.es46.js +3 -3
  758. package/dist/index.es47.js +3 -3
  759. package/dist/index.es48.js +3 -3
  760. package/dist/index.es49.js +3 -3
  761. package/dist/index.es5.js +2 -2
  762. package/dist/index.es53.js +2 -2
  763. package/dist/index.es54.js +3 -3
  764. package/dist/index.es58.js +9 -9
  765. package/dist/index.es62.js +273 -21
  766. package/dist/index.es62.js.map +1 -1
  767. package/dist/index.es63.js +14 -27
  768. package/dist/index.es63.js.map +1 -1
  769. package/dist/index.es64.js +19 -13
  770. package/dist/index.es64.js.map +1 -1
  771. package/dist/index.es65.js +4 -32
  772. package/dist/index.es65.js.map +1 -1
  773. package/dist/index.es66.js +3 -94
  774. package/dist/index.es66.js.map +1 -1
  775. package/dist/index.es67.js +3 -8
  776. package/dist/index.es67.js.map +1 -1
  777. package/dist/index.es68.js +4 -4
  778. package/dist/index.es68.js.map +1 -1
  779. package/dist/index.es69.js +3 -12
  780. package/dist/index.es69.js.map +1 -1
  781. package/dist/index.es70.js +3 -6
  782. package/dist/index.es70.js.map +1 -1
  783. package/dist/index.es71.js +3 -15
  784. package/dist/index.es71.js.map +1 -1
  785. package/dist/index.es72.js +3 -10
  786. package/dist/index.es72.js.map +1 -1
  787. package/dist/index.es73.js +3 -6
  788. package/dist/index.es73.js.map +1 -1
  789. package/dist/index.es74.js +3 -10
  790. package/dist/index.es74.js.map +1 -1
  791. package/dist/index.es75.js +3 -8
  792. package/dist/index.es75.js.map +1 -1
  793. package/dist/index.es76.js +3 -273
  794. package/dist/index.es76.js.map +1 -1
  795. package/dist/index.es77.js +9 -14
  796. package/dist/index.es77.js.map +1 -1
  797. package/dist/index.es78.js +4 -19
  798. package/dist/index.es78.js.map +1 -1
  799. package/dist/index.es79.js +5 -4
  800. package/dist/index.es79.js.map +1 -1
  801. package/dist/index.es8.js +1 -1
  802. package/dist/index.es80.js +5 -3
  803. package/dist/index.es80.js.map +1 -1
  804. package/dist/index.es81.js +9 -3
  805. package/dist/index.es81.js.map +1 -1
  806. package/dist/index.es82.js +11 -4
  807. package/dist/index.es82.js.map +1 -1
  808. package/dist/index.es83.js +12 -3
  809. package/dist/index.es83.js.map +1 -1
  810. package/dist/index.es84.js +86 -3
  811. package/dist/index.es84.js.map +1 -1
  812. package/dist/index.es85.js +2 -2
  813. package/dist/index.es85.js.map +1 -1
  814. package/dist/index.es86.js +15 -3
  815. package/dist/index.es86.js.map +1 -1
  816. package/dist/index.es87.js +12 -3
  817. package/dist/index.es87.js.map +1 -1
  818. package/dist/index.es88.js +7 -3
  819. package/dist/index.es88.js.map +1 -1
  820. package/dist/index.es89.js +7 -3
  821. package/dist/index.es89.js.map +1 -1
  822. package/dist/index.es90.js +7 -3
  823. package/dist/index.es90.js.map +1 -1
  824. package/dist/index.es91.js +6 -8
  825. package/dist/index.es91.js.map +1 -1
  826. package/dist/index.es92.js +4 -4
  827. package/dist/index.es92.js.map +1 -1
  828. package/dist/index.es93.js +3 -5
  829. package/dist/index.es93.js.map +1 -1
  830. package/dist/index.es94.js +4 -6
  831. package/dist/index.es94.js.map +1 -1
  832. package/dist/index.es95.js +6 -9
  833. package/dist/index.es95.js.map +1 -1
  834. package/dist/index.es96.js +5 -10
  835. package/dist/index.es96.js.map +1 -1
  836. package/dist/index.es97.js +3 -12
  837. package/dist/index.es97.js.map +1 -1
  838. package/dist/index.es98.js +7 -85
  839. package/dist/index.es98.js.map +1 -1
  840. package/dist/index.es99.js +13 -3
  841. package/dist/index.es99.js.map +1 -1
  842. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const q=require("./index.cjs190.js"),L=require("./index.cjs231.js"),M=require("./index.cjs232.js"),N=require("./index.cjs233.js");var O=L.isObject_1,b=M.now_1,I=N.toNumber_1,S="Expected a function",$=Math.max,y=Math.min;function F(x,n,u){var a,c,v,o,i,r,s=0,h=!1,l=!1,d=!0;if(typeof x!="function")throw new TypeError(S);n=I(n)||0,O(u)&&(h=!!u.leading,l="maxWait"in u,v=l?$(I(u.maxWait)||0,n):v,d="trailing"in u?!!u.trailing:d);function g(e){var t=a,m=c;return a=c=void 0,s=e,o=x.apply(m,t),o}function j(e){return s=e,i=setTimeout(f,n),h?g(e):o}function C(e){var t=e-r,m=e-s,k=n-t;return l?y(k,v-m):k}function E(e){var t=e-r,m=e-s;return r===void 0||t>=n||t<0||l&&m>=v}function f(){var e=b();if(E(e))return _(e);i=setTimeout(f,C(e))}function _(e){return i=void 0,d&&a?g(e):(a=c=void 0,o)}function W(){i!==void 0&&clearTimeout(i),s=0,a=r=c=i=void 0}function p(){return i===void 0?o:_(b())}function T(){var e=b(),t=E(e);if(a=arguments,c=this,r=e,t){if(i===void 0)return j(r);if(l)return clearTimeout(i),i=setTimeout(f,n),g(r)}return i===void 0&&(i=setTimeout(f,n)),o}return T.cancel=W,T.flush=p,T}var R=F;const A=q.getDefaultExportFromCjs(R);module.exports=A;
1
+ "use strict";const e=require("./index.cjs166.js"),u=require("react");var n={source:{x:0,y:0},target:{x:0,y:0}};function t(s){var i=s.link,r=i===void 0?n:i;return u.createElement("line",{x1:r.source.x,y1:r.source.y,x2:r.target.x,y2:r.target.y,strokeWidth:2,stroke:"#999",strokeOpacity:.6})}t.propTypes={link:e.shape({source:e.shape({x:e.number.isRequired,y:e.number.isRequired}).isRequired,target:e.shape({x:e.number.isRequired,y:e.number.isRequired}).isRequired})};module.exports=t;
2
2
  //# sourceMappingURL=index.cjs182.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs182.js","sources":["../../../node_modules/lodash/debounce.js"],"sourcesContent":["var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["isObject","require$$0","now","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","debounce_1"],"mappings":"+IAAA,IAAIA,EAAWC,EAAAA,WACXC,EAAMC,EAAAA,MACNC,EAAWC,EAAAA,WAGXC,EAAkB,sBAGlBC,EAAY,KAAK,IACjBC,EAAY,KAAK,IAwDrB,SAASC,EAASC,EAAMC,EAAMC,EAAS,CACrC,IAAIC,EACAC,EACAC,EACAC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B,GAAS,CACZlB,IAAY,QACd,aAAaA,CAAO,EAELE,EAAA,EACNN,EAAAK,EAAeJ,EAAWG,EAAU,MACjD,CAEA,SAASmB,GAAQ,CACf,OAAOnB,IAAY,OAAYD,EAASkB,EAAahC,GAAK,CAC5D,CAEA,SAASmC,GAAY,CACnB,IAAIb,EAAOtB,EACP,EAAAoC,EAAaL,EAAaT,CAAI,EAMlC,GAJWX,EAAA,UACAC,EAAA,KACII,EAAAM,EAEXc,EAAY,CACd,GAAIrB,IAAY,OACd,OAAOU,EAAYT,CAAY,EAEjC,GAAIG,EAEF,oBAAaJ,CAAO,EACVA,EAAA,WAAWW,EAAcjB,CAAI,EAChCY,EAAWL,CAAY,CAElC,CACA,OAAID,IAAY,SACJA,EAAA,WAAWW,EAAcjB,CAAI,GAElCK,CACT,CACA,OAAAqB,EAAU,OAASF,EACnBE,EAAU,MAAQD,EACXC,CACT,CAEA,IAAAE,EAAiB9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs182.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultLink.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nvar DEFAULT_LINK = {\n source: {\n x: 0,\n y: 0\n },\n target: {\n x: 0,\n y: 0\n }\n};\nexport default function HierarchyDefaultLink(_ref) {\n var _ref$link = _ref.link,\n link = _ref$link === void 0 ? DEFAULT_LINK : _ref$link;\n return /*#__PURE__*/React.createElement(\"line\", {\n x1: link.source.x,\n y1: link.source.y,\n x2: link.target.x,\n y2: link.target.y,\n strokeWidth: 2,\n stroke: \"#999\",\n strokeOpacity: 0.6\n });\n}\nHierarchyDefaultLink.propTypes = {\n link: _pt.shape({\n source: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired,\n target: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired\n })\n};"],"names":["DEFAULT_LINK","HierarchyDefaultLink","_ref","_ref$link","link","React","_pt"],"mappings":"qEAEA,IAAIA,EAAe,CACjB,OAAQ,CACN,EAAG,EACH,EAAG,CACL,EACA,OAAQ,CACN,EAAG,EACH,EAAG,CACL,CACF,EACA,SAAwBC,EAAqBC,EAAM,CACjD,IAAIC,EAAYD,EAAK,KACnBE,EAAOD,IAAc,OAASH,EAAeG,EAC3B,OAAAE,EAAM,cAAc,OAAQ,CAC9C,GAAID,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,YAAa,EACb,OAAQ,OACR,cAAe,EAAA,CAChB,CACH,CACAH,EAAqB,UAAY,CAC/B,KAAMK,EAAI,MAAM,CACd,OAAQA,EAAI,MAAM,CAChB,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,UACf,CAAA,EAAE,WACH,OAAQA,EAAI,MAAM,CAChB,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,UACf,CAAA,EAAE,UAAA,CACJ,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs264.js"),o=require("./index.cjs265.js");var s=function(){function r(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");t.ResizeObserverController.connect(this,e)}return r.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!o.isElement(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");t.ResizeObserverController.observe(this,e,n)},r.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!o.isElement(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");t.ResizeObserverController.unobserve(this,e)},r.prototype.disconnect=function(){t.ResizeObserverController.disconnect(this)},r.toString=function(){return"function ResizeObserver () { [polyfill code] }"},r}();exports.ResizeObserver=s;
1
+ "use strict";const e=require("./index.cjs166.js"),o=require("react");function i(c){var n=c.node,r=n===void 0?{x:0,y:0,r:15}:n;return o.createElement("circle",{cx:r.x,cy:r.y,r:r.r||15,fill:"#21D4FD"})}i.propTypes={node:e.shape({x:e.number.isRequired,y:e.number.isRequired,r:e.number})};module.exports=i;
2
2
  //# sourceMappingURL=index.cjs183.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs183.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserver.js"],"sourcesContent":["import { ResizeObserverController } from './ResizeObserverController';\nimport { isElement } from './utils/element';\nvar ResizeObserver = (function () {\n function ResizeObserver(callback) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n }\n ResizeObserverController.connect(this, callback);\n }\n ResizeObserver.prototype.observe = function (target, options) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.observe(this, target, options);\n };\n ResizeObserver.prototype.unobserve = function (target) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.unobserve(this, target);\n };\n ResizeObserver.prototype.disconnect = function () {\n ResizeObserverController.disconnect(this);\n };\n ResizeObserver.toString = function () {\n return 'function ResizeObserver () { [polyfill code] }';\n };\n return ResizeObserver;\n}());\nexport { ResizeObserver };\n"],"names":["ResizeObserver","callback","ResizeObserverController","target","options","isElement"],"mappings":"oJAEA,IAAIA,EAAkB,UAAY,CAC9B,SAASA,EAAeC,EAAU,CAC1B,GAAA,UAAU,SAAW,EACf,MAAA,IAAI,UAAU,gFAAgF,EAEpG,GAAA,OAAOA,GAAa,WACd,MAAA,IAAI,UAAU,+FAA+F,EAE9FC,EAAAA,yBAAA,QAAQ,KAAMD,CAAQ,CACnD,CACAD,OAAAA,EAAe,UAAU,QAAU,SAAUG,EAAQC,EAAS,CACtD,GAAA,UAAU,SAAW,EACf,MAAA,IAAI,UAAU,2FAA2F,EAE/G,GAAA,CAACC,EAAAA,UAAUF,CAAM,EACX,MAAA,IAAI,UAAU,sFAAsF,EAErFD,EAAAA,yBAAA,QAAQ,KAAMC,EAAQC,CAAO,CAAA,EAE1DJ,EAAe,UAAU,UAAY,SAAUG,EAAQ,CAC/C,GAAA,UAAU,SAAW,EACf,MAAA,IAAI,UAAU,6FAA6F,EAEjH,GAAA,CAACE,EAAAA,UAAUF,CAAM,EACX,MAAA,IAAI,UAAU,wFAAwF,EAEvFD,EAAAA,yBAAA,UAAU,KAAMC,CAAM,CAAA,EAEnDH,EAAe,UAAU,WAAa,UAAY,CAC9CE,2BAAyB,WAAW,IAAI,CAAA,EAE5CF,EAAe,SAAW,UAAY,CAC3B,MAAA,gDAAA,EAEJA,CACX,EAAE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs183.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultNode.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nexport default function HierarchyDefaultNode(_ref) {\n var _ref$node = _ref.node,\n node = _ref$node === void 0 ? {\n x: 0,\n y: 0,\n r: 15\n } : _ref$node;\n return /*#__PURE__*/React.createElement(\"circle\", {\n cx: node.x,\n cy: node.y,\n r: node.r || 15,\n fill: \"#21D4FD\"\n });\n}\nHierarchyDefaultNode.propTypes = {\n node: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired,\n r: _pt.number\n })\n};"],"names":["HierarchyDefaultNode","_ref","_ref$node","node","React","_pt"],"mappings":"qEAEA,SAAwBA,EAAqBC,EAAM,CACjD,IAAIC,EAAYD,EAAK,KACnBE,EAAOD,IAAc,OAAS,CAC5B,EAAG,EACH,EAAG,EACH,EAAG,EACD,EAAAA,EACc,OAAAE,EAAM,cAAc,SAAU,CAChD,GAAID,EAAK,EACT,GAAIA,EAAK,EACT,EAAGA,EAAK,GAAK,GACb,KAAM,SAAA,CACP,CACH,CACAH,EAAqB,UAAY,CAC/B,KAAMK,EAAI,MAAM,CACd,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,MAAA,CACR,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs280.js"),A=require("./index.cjs268.js"),w=require("./index.cjs281.js"),S=require("./index.cjs265.js"),T=require("./index.cjs267.js"),O=require("./index.cjs282.js");var l=new WeakMap,m=/auto|scroll/,I=/^tb|vertical/,G=/msie|trident/i.test(O.global.navigator&&O.global.navigator.userAgent),i=function(e){return parseFloat(e||"0")},n=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new A.ResizeObserverSize((r?t:e)||0,(r?e:t)||0)},P=T.freeze({devicePixelContentBoxSize:n(),borderBoxSize:n(),contentBoxSize:n(),contentRect:new w.DOMRectReadOnly(0,0,0,0)}),W=function(e,t){if(t===void 0&&(t=!1),l.has(e)&&!t)return l.get(e);if(S.isHidden(e))return l.set(e,P),P;var r=getComputedStyle(e),o=S.isSVG(e)&&e.ownerSVGElement&&e.getBBox(),d=!G&&r.boxSizing==="border-box",a=I.test(r.writingMode||""),s=!o&&m.test(r.overflowY||""),y=!o&&m.test(r.overflowX||""),B=o?0:i(r.paddingTop),M=o?0:i(r.paddingRight),C=o?0:i(r.paddingBottom),u=o?0:i(r.paddingLeft),E=o?0:i(r.borderTopWidth),q=o?0:i(r.borderRightWidth),D=o?0:i(r.borderBottomWidth),H=o?0:i(r.borderLeftWidth),b=u+M,g=B+C,x=H+q,h=E+D,f=y?e.offsetHeight-h-e.clientHeight:0,z=s?e.offsetWidth-x-e.clientWidth:0,L=d?b+x:0,_=d?g+h:0,v=o?o.width:i(r.width)-L-z,c=o?o.height:i(r.height)-_-f,V=v+b+z+x,X=c+g+f+h,R=T.freeze({devicePixelContentBoxSize:n(Math.round(v*devicePixelRatio),Math.round(c*devicePixelRatio),a),borderBoxSize:n(V,X,a),contentBoxSize:n(v,c,a),contentRect:new w.DOMRectReadOnly(u,B,v,c)});return l.set(e,R),R},N=function(e,t,r){var o=W(e,r),d=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(t){case p.ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:return s;case p.ResizeObserverBoxOptions.BORDER_BOX:return d;default:return a}};exports.calculateBoxSize=N;exports.calculateBoxSizes=W;
1
+ "use strict";const k=require("./index.cjs37.js");function R(r,n){return r.parent===n.parent?1:2}function S(r){var n=r.children;return n?n[0]:r.t}function B(r){var n=r.children;return n?n[n.length-1]:r.t}function W(r,n,c){var l=c/(n.i-r.i);n.c-=l,n.s+=c,r.c+=l,n.z+=c,n.m+=c}function b(r){for(var n=0,c=0,l=r.children,u=l.length,s;--u>=0;)s=l[u],s.z+=n,s.m+=n,n+=s.s+(c+=s.c)}function j(r,n,c){return r.a.parent===n.parent?r.a:c}function A(r,n){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}A.prototype=Object.create(k.Node.prototype);function o(r){for(var n=new A(r,0),c,l=[n],u,s,x,y;c=l.pop();)if(s=c._.children)for(c.children=new Array(y=s.length),x=y-1;x>=0;--x)l.push(u=c.children[x]=new A(s[x],x)),u.parent=c;return(n.parent=new A(null,0)).children=[n],n}function q(){var r=R,n=1,c=1,l=null;function u(e){var f=o(e);if(f.eachAfter(s),f.parent.m=-f.z,f.eachBefore(x),l)e.eachBefore(N);else{var d=e,t=e,a=e;e.eachBefore(function(i){i.x<d.x&&(d=i),i.x>t.x&&(t=i),i.depth>a.depth&&(a=i)});var h=d===t?1:r(d,t)/2,z=h-d.x,g=n/(t.x+h+z),_=c/(a.depth||1);e.eachBefore(function(i){i.x=(i.x+z)*g,i.y=i.depth*_})}return e}function s(e){var f=e.children,d=e.parent.children,t=e.i?d[e.i-1]:null;if(f){b(e);var a=(f[0].z+f[f.length-1].z)/2;t?(e.z=t.z+r(e._,t._),e.m=e.z-a):e.z=a}else t&&(e.z=t.z+r(e._,t._));e.parent.A=y(e,t,e.parent.A||d[0])}function x(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function y(e,f,d){if(f){for(var t=e,a=e,h=f,z=t.parent.children[0],g=t.m,_=a.m,i=h.m,w=z.m,p;h=B(h),t=S(t),h&&t;)z=S(z),a=B(a),a.a=e,p=h.z+i-t.z-g+r(h._,t._),p>0&&(W(j(h,e,d),e,p),g+=p,_+=p),i+=h.m,g+=t.m,w+=z.m,_+=a.m;h&&!B(a)&&(a.t=h,a.m+=i-_),t&&!S(z)&&(z.t=t,z.m+=g-w,d=e)}return d}function N(e){e.x*=n,e.y=e.depth*c}return u.separation=function(e){return arguments.length?(r=e,u):r},u.size=function(e){return arguments.length?(l=!1,n=+e[0],c=+e[1],u):l?null:[n,c]},u.nodeSize=function(e){return arguments.length?(l=!0,n=+e[0],c=+e[1],u):l?[n,c]:null},u}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs184.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js"],"sourcesContent":["import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';\nimport { ResizeObserverSize } from '../ResizeObserverSize';\nimport { DOMRectReadOnly } from '../DOMRectReadOnly';\nimport { isSVG, isHidden } from '../utils/element';\nimport { freeze } from '../utils/freeze';\nimport { global } from '../utils/global';\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = (/msie|trident/i).test(global.navigator && global.navigator.userAgent);\nvar parseDimension = function (pixel) { return parseFloat(pixel || '0'); };\nvar size = function (inlineSize, blockSize, switchSizes) {\n if (inlineSize === void 0) { inlineSize = 0; }\n if (blockSize === void 0) { blockSize = 0; }\n if (switchSizes === void 0) { switchSizes = false; }\n return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\nvar zeroBoxes = freeze({\n devicePixelContentBoxSize: size(),\n borderBoxSize: size(),\n contentBoxSize: size(),\n contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\nvar calculateBoxSizes = function (target, forceRecalculation) {\n if (forceRecalculation === void 0) { forceRecalculation = false; }\n if (cache.has(target) && !forceRecalculation) {\n return cache.get(target);\n }\n if (isHidden(target)) {\n cache.set(target, zeroBoxes);\n return zeroBoxes;\n }\n var cs = getComputedStyle(target);\n var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n var removePadding = !IE && cs.boxSizing === 'border-box';\n var switchSizes = verticalRegexp.test(cs.writingMode || '');\n var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n var horizontalPadding = paddingLeft + paddingRight;\n var verticalPadding = paddingTop + paddingBottom;\n var horizontalBorderArea = borderLeft + borderRight;\n var verticalBorderArea = borderTop + borderBottom;\n var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n var boxes = freeze({\n devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n });\n cache.set(target, boxes);\n return boxes;\n};\nvar calculateBoxSize = function (target, observedBox, forceRecalculation) {\n var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n switch (observedBox) {\n case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n return devicePixelContentBoxSize;\n case ResizeObserverBoxOptions.BORDER_BOX:\n return borderBoxSize;\n default:\n return contentBoxSize;\n }\n};\nexport { calculateBoxSize, calculateBoxSizes };\n"],"names":["cache","scrollRegexp","verticalRegexp","IE","global","parseDimension","pixel","size","inlineSize","blockSize","switchSizes","ResizeObserverSize","zeroBoxes","freeze","DOMRectReadOnly","calculateBoxSizes","target","forceRecalculation","isHidden","cs","svg","isSVG","removePadding","canScrollVertically","canScrollHorizontally","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTop","borderRight","borderBottom","borderLeft","horizontalPadding","verticalPadding","horizontalBorderArea","verticalBorderArea","horizontalScrollbarThickness","verticalScrollbarThickness","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","calculateBoxSize","observedBox","_a","borderBoxSize","contentBoxSize","devicePixelContentBoxSize","ResizeObserverBoxOptions"],"mappings":"gRAMA,IAAIA,MAAY,QACZC,EAAe,cACfC,EAAiB,eACjBC,EAAM,gBAAiB,KAAKC,SAAO,WAAaA,SAAO,UAAU,SAAS,EAC1EC,EAAiB,SAAUC,EAAO,CAAS,OAAA,WAAWA,GAAS,GAAG,CAAG,EACrEC,EAAO,SAAUC,EAAYC,EAAWC,EAAa,CACrD,OAAIF,IAAe,SAAuBA,EAAA,GACtCC,IAAc,SAAsBA,EAAA,GACpCC,IAAgB,SAAwBA,EAAA,IACrC,IAAIC,sBAAoBD,EAAcD,EAAYD,IAAe,GAAIE,EAAcF,EAAaC,IAAc,CAAC,CAC1H,EACIG,EAAYC,EAAAA,OAAO,CACnB,0BAA2BN,EAAK,EAChC,cAAeA,EAAK,EACpB,eAAgBA,EAAK,EACrB,YAAa,IAAIO,EAAAA,gBAAgB,EAAG,EAAG,EAAG,CAAC,CAC/C,CAAC,EACGC,EAAoB,SAAUC,EAAQC,EAAoB,CAE1D,GADIA,IAAuB,SAA+BA,EAAA,IACtDjB,EAAM,IAAIgB,CAAM,GAAK,CAACC,EACf,OAAAjB,EAAM,IAAIgB,CAAM,EAEvB,GAAAE,EAAAA,SAASF,CAAM,EACT,OAAAhB,EAAA,IAAIgB,EAAQJ,CAAS,EACpBA,EAEP,IAAAO,EAAK,iBAAiBH,CAAM,EAC5BI,EAAMC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Ae,gBAAgB,EAAG,KAAK,MAAMC,EAAgB,gBAAgB,EAAGhC,CAAW,EACtI,cAAeH,EAAKoC,EAAgBC,EAAiBlC,CAAW,EAChE,eAAgBH,EAAKkC,EAAcC,EAAehC,CAAW,EAC7D,YAAa,IAAII,EAAAA,gBAAgBc,EAAaH,EAAYgB,EAAcC,CAAa,CAAA,CACxF,EACK,OAAA1C,EAAA,IAAIgB,EAAQ6B,CAAK,EAChBA,CACX,EACIC,EAAmB,SAAU9B,EAAQ+B,EAAa9B,EAAoB,CACtE,IAAI+B,EAAKjC,EAAkBC,EAAQC,CAAkB,EAAGgC,EAAgBD,EAAG,cAAeE,EAAiBF,EAAG,eAAgBG,EAA4BH,EAAG,0BAC7J,OAAQD,EAAa,CACjB,KAAKK,EAAyB,yBAAA,yBACnB,OAAAD,EACX,KAAKC,EAAyB,yBAAA,WACnB,OAAAH,EACX,QACW,OAAAC,CACf,CACJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/d3-hierarchy/src/tree.js"],"sourcesContent":["import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n"],"names":["defaultSeparation","a","b","nextLeft","v","children","nextRight","moveSubtree","wm","wp","shift","change","executeShifts","i","w","nextAncestor","vim","ancestor","TreeNode","node","Node","treeRoot","root","tree","nodes","child","n","d3tree","separation","dx","dy","nodeSize","t","firstWalk","secondWalk","sizeNode","left","right","bottom","s","tx","kx","ky","siblings","midpoint","apportion","vip","vop","vom","sip","sop","sim","som","x"],"mappings":"iDAEA,SAASA,EAAkBC,EAAGC,EAAG,CAC/B,OAAOD,EAAE,SAAWC,EAAE,OAAS,EAAI,CACrC,CAUA,SAASC,EAASC,EAAG,CACnB,IAAIC,EAAWD,EAAE,SACjB,OAAOC,EAAWA,EAAS,CAAC,EAAID,EAAE,CACpC,CAGA,SAASE,EAAUF,EAAG,CACpB,IAAIC,EAAWD,EAAE,SACjB,OAAOC,EAAWA,EAASA,EAAS,OAAS,CAAC,EAAID,EAAE,CACtD,CAIA,SAASG,EAAYC,EAAIC,EAAIC,EAAO,CAClC,IAAIC,EAASD,GAASD,EAAG,EAAID,EAAG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OAAAP,EAAA,WAAa,SAAS8B,EAAG,CAC5B,OAAO,UAAU,QAAUzB,EAAayB,EAAG9B,GAAQK,CAAA,EAGhDL,EAAA,KAAO,SAAS8B,EAAG,CACtB,OAAO,UAAU,QAAUtB,EAAW,GAAOF,EAAK,CAACwB,EAAE,CAAC,EAAGvB,EAAK,CAACuB,EAAE,CAAC,EAAG9B,GAASQ,EAAW,KAAO,CAACF,EAAIC,CAAE,CAAA,EAGpGP,EAAA,SAAW,SAAS8B,EAAG,CAC1B,OAAO,UAAU,QAAUtB,EAAW,GAAMF,EAAK,CAACwB,EAAE,CAAC,EAAGvB,EAAK,CAACuB,EAAE,CAAC,EAAG9B,GAASQ,EAAW,CAACF,EAAIC,CAAE,EAAI,IAAA,EAG9FP,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs63.js");function i(){return i=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},i.apply(this,arguments)}var u={x:0,y:0};function a(n){if(!n)return i({},u);if(c.isTouchEvent(n))return n.changedTouches.length>0?{x:n.changedTouches[0].clientX,y:n.changedTouches[0].clientY}:i({},u);if(c.isMouseEvent(n))return{x:n.clientX,y:n.clientY};var r=n==null?void 0:n.target,t=r&&"getBoundingClientRect"in r?r.getBoundingClientRect():null;return t?{x:t.x+t.width/2,y:t.y+t.height/2}:i({},u)}module.exports=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return typeof(e==null?void 0:e.x)=="number"?e==null?void 0:e.x:0}function n(e){return typeof(e==null?void 0:e.y)=="number"?e==null?void 0:e.y:0}function u(e){return e==null?void 0:e.source}function r(e){return e==null?void 0:e.target}exports.getSource=u;exports.getTarget=r;exports.getX=t;exports.getY=n;
2
2
  //# sourceMappingURL=index.cjs185.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs185.js","sources":["../../../node_modules/@visx/event/esm/getXAndYFromEvent.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { isMouseEvent, isTouchEvent } from './typeGuards';\nvar DEFAULT_POINT = {\n x: 0,\n y: 0\n};\nexport default function getXAndYFromEvent(event) {\n if (!event) return _extends({}, DEFAULT_POINT);\n if (isTouchEvent(event)) {\n return event.changedTouches.length > 0 ? {\n x: event.changedTouches[0].clientX,\n y: event.changedTouches[0].clientY\n } : _extends({}, DEFAULT_POINT);\n }\n if (isMouseEvent(event)) {\n return {\n x: event.clientX,\n y: event.clientY\n };\n }\n\n // for focus events try to extract the center position of the target element\n var target = event == null ? void 0 : event.target;\n var boundingClientRect = target && 'getBoundingClientRect' in target ? target.getBoundingClientRect() : null;\n if (!boundingClientRect) return _extends({}, DEFAULT_POINT);\n return {\n x: boundingClientRect.x + boundingClientRect.width / 2,\n y: boundingClientRect.y + boundingClientRect.height / 2\n };\n}"],"names":["_extends","target","i","source","key","DEFAULT_POINT","getXAndYFromEvent","event","isTouchEvent","isMouseEvent","boundingClientRect"],"mappings":"iDAAA,SAASA,GAAW,CAAE,OAAAA,EAAW,OAAO,OAAS,OAAO,OAAO,KAAK,EAAI,SAAUC,EAAQ,CAAE,QAASC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAAM,IAAAC,EAAS,UAAUD,CAAC,EAAG,QAASE,KAAOD,EAAc,OAAO,UAAU,eAAe,KAAKA,EAAQC,CAAG,IAAYH,EAAAG,CAAG,EAAID,EAAOC,CAAG,EAAO,CAAS,OAAAH,CAAA,EAAkBD,EAAS,MAAM,KAAM,SAAS,CAAG,CAElV,IAAIK,EAAgB,CAClB,EAAG,EACH,EAAG,CACL,EACA,SAAwBC,EAAkBC,EAAO,CAC/C,GAAI,CAACA,EAAc,OAAAP,EAAS,GAAIK,CAAa,EACzC,GAAAG,EAAAA,aAAaD,CAAK,EACb,OAAAA,EAAM,eAAe,OAAS,EAAI,CACvC,EAAGA,EAAM,eAAe,CAAC,EAAE,QAC3B,EAAGA,EAAM,eAAe,CAAC,EAAE,OAAA,EACzBP,EAAS,GAAIK,CAAa,EAE5B,GAAAI,EAAAA,aAAaF,CAAK,EACb,MAAA,CACL,EAAGA,EAAM,QACT,EAAGA,EAAM,OAAA,EAKb,IAAIN,EAASM,GAAS,KAAO,OAASA,EAAM,OACxCG,EAAqBT,GAAU,0BAA2BA,EAASA,EAAO,sBAA0B,EAAA,KACxG,OAAKS,EACE,CACL,EAAGA,EAAmB,EAAIA,EAAmB,MAAQ,EACrD,EAAGA,EAAmB,EAAIA,EAAmB,OAAS,CAAA,EAHxBV,EAAS,GAAIK,CAAa,CAK5D","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs185.js","sources":["../../../node_modules/@visx/shape/esm/util/accessors.js"],"sourcesContent":["export function getX(l) {\n return typeof (l == null ? void 0 : l.x) === 'number' ? l == null ? void 0 : l.x : 0;\n}\nexport function getY(l) {\n return typeof (l == null ? void 0 : l.y) === 'number' ? l == null ? void 0 : l.y : 0;\n}\nexport function getSource(l) {\n return l == null ? void 0 : l.source;\n}\nexport function getTarget(l) {\n return l == null ? void 0 : l.target;\n}\nexport function getFirstItem(d) {\n return d == null ? void 0 : d[0];\n}\nexport function getSecondItem(d) {\n return d == null ? void 0 : d[1];\n}"],"names":["getX","l","getY","getSource","getTarget"],"mappings":"gFAAO,SAASA,EAAKC,EAAG,CACf,OAAA,OAAQA,GAAK,KAAO,OAASA,EAAE,IAAO,SAAWA,GAAK,KAAO,OAASA,EAAE,EAAI,CACrF,CACO,SAASC,EAAKD,EAAG,CACf,OAAA,OAAQA,GAAK,KAAO,OAASA,EAAE,IAAO,SAAWA,GAAK,KAAO,OAASA,EAAE,EAAI,CACrF,CACO,SAASE,EAAUF,EAAG,CACpB,OAAAA,GAAK,KAAO,OAASA,EAAE,MAChC,CACO,SAASG,EAAUH,EAAG,CACpB,OAAAA,GAAK,KAAO,OAASA,EAAE,MAChC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";var u=function(){function r(t){var o=t.x,s=o===void 0?0:o,n=t.y,y=n===void 0?0:n;this.x=0,this.y=0,this.x=s,this.y=y}var i=r.prototype;return i.value=function(){return{x:this.x,y:this.y}},i.toArray=function(){return[this.x,this.y]},r}();module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs266.js"),f=require("./index.cjs267.js"),p=require("./index.cjs268.js"),c=require("./index.cjs265.js"),k=require("./index.cjs187.js");function m(n){return n.source}function d(n){return n.target}function s(n){var r=m,e=d,u=p.x,l=p.y,a=null;function i(){var t,o=h.slice.call(arguments),g=r.apply(this,o),v=e.apply(this,o);if(a||(a=t=k()),n(a,+u.apply(this,(o[0]=g,o)),+l.apply(this,o),+u.apply(this,(o[0]=v,o)),+l.apply(this,o)),t)return a=null,t+""||null}return i.source=function(t){return arguments.length?(r=t,i):r},i.target=function(t){return arguments.length?(e=t,i):e},i.x=function(t){return arguments.length?(u=typeof t=="function"?t:f(+t),i):u},i.y=function(t){return arguments.length?(l=typeof t=="function"?t:f(+t),i):l},i.context=function(t){return arguments.length?(a=t??null,i):a},i}function T(n,r,e,u,l){n.moveTo(r,e),n.bezierCurveTo(r=(r+u)/2,e,r,l,u,l)}function b(n,r,e,u,l){n.moveTo(r,e),n.bezierCurveTo(r,e=(e+l)/2,u,e,u,l)}function y(n,r,e,u,l){var a=c(r,e),i=c(r,e=(e+l)/2),t=c(u,e),o=c(u,l);n.moveTo(a[0],a[1]),n.bezierCurveTo(i[0],i[1],t[0],t[1],o[0],o[1])}function z(){return s(T)}function q(){return s(b)}function R(){var n=s(y);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}exports.linkHorizontal=z;exports.linkRadial=R;exports.linkVertical=q;
2
2
  //# sourceMappingURL=index.cjs186.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs186.js","sources":["../../../node_modules/@visx/point/esm/Point.js"],"sourcesContent":["var Point = /*#__PURE__*/function () {\n function Point(_ref) {\n var _ref$x = _ref.x,\n x = _ref$x === void 0 ? 0 : _ref$x,\n _ref$y = _ref.y,\n y = _ref$y === void 0 ? 0 : _ref$y;\n this.x = 0;\n this.y = 0;\n this.x = x;\n this.y = y;\n }\n var _proto = Point.prototype;\n _proto.value = function value() {\n return {\n x: this.x,\n y: this.y\n };\n };\n _proto.toArray = function toArray() {\n return [this.x, this.y];\n };\n return Point;\n}();\nexport { Point as default };"],"names":["Point","_ref","_ref$x","x","_ref$y","_proto"],"mappings":"aAAA,IAAIA,EAAiC,UAAA,CACnC,SAASA,EAAMC,EAAM,CACnB,IAAIC,EAASD,EAAK,EAChBE,EAAID,IAAW,OAAS,EAAIA,EAC5BE,EAASH,EAAK,EACd,EAAIG,IAAW,OAAS,EAAIA,EAC9B,KAAK,EAAI,EACT,KAAK,EAAI,EACT,KAAK,EAAID,EACT,KAAK,EAAI,CACX,CACA,IAAIE,EAASL,EAAM,UACZ,OAAAK,EAAA,MAAQ,UAAiB,CACvB,MAAA,CACL,EAAG,KAAK,EACR,EAAG,KAAK,CAAA,CACV,EAEKA,EAAA,QAAU,UAAmB,CAClC,MAAO,CAAC,KAAK,EAAG,KAAK,CAAC,CAAA,EAEjBL,CACT,EAAE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs186.js","sources":["../../../node_modules/d3-shape/src/link/index.js"],"sourcesContent":["import {path} from \"d3-path\";\nimport {slice} from \"../array.js\";\nimport constant from \"../constant.js\";\nimport {x as pointX, y as pointY} from \"../point.js\";\nimport pointRadial from \"../pointRadial.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nfunction link(curve) {\n var source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null;\n\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = path();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n\n return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0),\n p1 = pointRadial(x0, y0 = (y0 + y1) / 2),\n p2 = pointRadial(x1, y0),\n p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nexport function linkHorizontal() {\n return link(curveHorizontal);\n}\n\nexport function linkVertical() {\n return link(curveVertical);\n}\n\nexport function linkRadial() {\n var l = link(curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n"],"names":["linkSource","d","linkTarget","link","curve","source","target","x","pointX","y","pointY","context","buffer","argv","slice","s","t","path","_","constant","curveHorizontal","x0","y0","x1","y1","curveVertical","curveRadial","p0","pointRadial","p1","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QQ,CAAA,EAGhER,CACT,CAEA,SAASiB,EAAgBT,EAASU,EAAIC,EAAIC,EAAIC,EAAI,CACxCb,EAAA,OAAOU,EAAIC,CAAE,EACbX,EAAA,cAAcU,GAAMA,EAAKE,GAAM,EAAGD,EAAID,EAAIG,EAAID,EAAIC,CAAE,CAC9D,CAEA,SAASC,EAAcd,EAASU,EAAIC,EAAIC,EAAIC,EAAI,CACtCb,EAAA,OAAOU,EAAIC,CAAE,EACbX,EAAA,cAAcU,EAAIC,GAAMA,EAAKE,GAAM,EAAGD,EAAID,EAAIC,EAAIC,CAAE,CAC9D,CAEA,SAASE,EAAYf,EAASU,EAAIC,EAAIC,EAAIC,EAAI,CACxC,IAAAG,EAAKC,EAAYP,EAAIC,CAAE,EACvBO,EAAKD,EAAYP,EAAIC,GAAMA,EAAKE,GAAM,CAAC,EACvCM,EAAKF,EAAYL,EAAID,CAAE,EACvBS,EAAKH,EAAYL,EAAIC,CAAE,EAC3Bb,EAAQ,OAAOgB,EAAG,CAAC,EAAGA,EAAG,CAAC,CAAC,EAC3BhB,EAAQ,cAAckB,EAAG,CAAC,EAAGA,EAAG,CAAC,EAAGC,EAAG,CAAC,EAAGA,EAAG,CAAC,EAAGC,EAAG,CAAC,EAAGA,EAAG,CAAC,CAAC,CAChE,CAEO,SAASC,GAAiB,CAC/B,OAAO7B,EAAKiB,CAAe,CAC7B,CAEO,SAASa,GAAe,CAC7B,OAAO9B,EAAKsB,CAAa,CAC3B,CAEO,SAASS,GAAa,CACvB,IAAAC,EAAIhC,EAAKuB,CAAW,EACxB,OAAAS,EAAE,MAAQA,EAAE,EAAG,OAAOA,EAAE,EACxBA,EAAE,OAASA,EAAE,EAAG,OAAOA,EAAE,EAClBA,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs64.js"),u=require("react");var n={source:{x:0,y:0},target:{x:0,y:0}};function t(s){var i=s.link,r=i===void 0?n:i;return u.createElement("line",{x1:r.source.x,y1:r.source.y,x2:r.target.x,y2:r.target.y,strokeWidth:2,stroke:"#999",strokeOpacity:.6})}t.propTypes={link:e.shape({source:e.shape({x:e.number.isRequired,y:e.number.isRequired}).isRequired,target:e.shape({x:e.number.isRequired,y:e.number.isRequired}).isRequired})};module.exports=t;
1
+ "use strict";var v=Math.PI,p=2*v,c=1e-6,C=p-c;function y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function g(){return new y}y.prototype=g.prototype={constructor:y,moveTo:function(i,s){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+s)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(i,s){this._+="L"+(this._x1=+i)+","+(this._y1=+s)},quadraticCurveTo:function(i,s,t,h){this._+="Q"+ +i+","+ +s+","+(this._x1=+t)+","+(this._y1=+h)},bezierCurveTo:function(i,s,t,h,_,e){this._+="C"+ +i+","+ +s+","+ +t+","+ +h+","+(this._x1=+_)+","+(this._y1=+e)},arcTo:function(i,s,t,h,_){i=+i,s=+s,t=+t,h=+h,_=+_;var e=this._x1,M=this._y1,f=t-i,a=h-s,n=e-i,u=M-s,o=n*n+u*u;if(_<0)throw new Error("negative radius: "+_);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=s);else if(o>c)if(!(Math.abs(u*f-a*n)>c)||!_)this._+="L"+(this._x1=i)+","+(this._y1=s);else{var r=t-e,l=h-M,d=f*f+a*a,q=r*r+l*l,b=Math.sqrt(d),T=Math.sqrt(o),A=_*Math.tan((v-Math.acos((d+o-q)/(2*b*T)))/2),x=A/T,L=A/b;Math.abs(x-1)>c&&(this._+="L"+(i+x*n)+","+(s+x*u)),this._+="A"+_+","+_+",0,0,"+ +(u*r>n*l)+","+(this._x1=i+L*f)+","+(this._y1=s+L*a)}},arc:function(i,s,t,h,_,e){i=+i,s=+s,t=+t,e=!!e;var M=t*Math.cos(h),f=t*Math.sin(h),a=i+M,n=s+f,u=1^e,o=e?h-_:_-h;if(t<0)throw new Error("negative radius: "+t);this._x1===null?this._+="M"+a+","+n:(Math.abs(this._x1-a)>c||Math.abs(this._y1-n)>c)&&(this._+="L"+a+","+n),t&&(o<0&&(o=o%p+p),o>C?this._+="A"+t+","+t+",0,1,"+u+","+(i-M)+","+(s-f)+"A"+t+","+t+",0,1,"+u+","+(this._x1=a)+","+(this._y1=n):o>c&&(this._+="A"+t+","+t+",0,"+ +(o>=v)+","+u+","+(this._x1=i+t*Math.cos(_))+","+(this._y1=s+t*Math.sin(_))))},rect:function(i,s,t,h){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+s)+"h"+ +t+"v"+ +h+"h"+-t+"Z"},toString:function(){return this._}};module.exports=g;
2
2
  //# sourceMappingURL=index.cjs187.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs187.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultLink.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nvar DEFAULT_LINK = {\n source: {\n x: 0,\n y: 0\n },\n target: {\n x: 0,\n y: 0\n }\n};\nexport default function HierarchyDefaultLink(_ref) {\n var _ref$link = _ref.link,\n link = _ref$link === void 0 ? DEFAULT_LINK : _ref$link;\n return /*#__PURE__*/React.createElement(\"line\", {\n x1: link.source.x,\n y1: link.source.y,\n x2: link.target.x,\n y2: link.target.y,\n strokeWidth: 2,\n stroke: \"#999\",\n strokeOpacity: 0.6\n });\n}\nHierarchyDefaultLink.propTypes = {\n link: _pt.shape({\n source: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired,\n target: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired\n })\n};"],"names":["DEFAULT_LINK","HierarchyDefaultLink","_ref","_ref$link","link","React","_pt"],"mappings":"oEAEA,IAAIA,EAAe,CACjB,OAAQ,CACN,EAAG,EACH,EAAG,CACL,EACA,OAAQ,CACN,EAAG,EACH,EAAG,CACL,CACF,EACA,SAAwBC,EAAqBC,EAAM,CACjD,IAAIC,EAAYD,EAAK,KACnBE,EAAOD,IAAc,OAASH,EAAeG,EAC3B,OAAAE,EAAM,cAAc,OAAQ,CAC9C,GAAID,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,GAAIA,EAAK,OAAO,EAChB,YAAa,EACb,OAAQ,OACR,cAAe,EAAA,CAChB,CACH,CACAH,EAAqB,UAAY,CAC/B,KAAMK,EAAI,MAAM,CACd,OAAQA,EAAI,MAAM,CAChB,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,UACf,CAAA,EAAE,WACH,OAAQA,EAAI,MAAM,CAChB,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,UACf,CAAA,EAAE,UAAA,CACJ,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs187.js","sources":["../../../node_modules/d3-path/src/path.js"],"sourcesContent":["var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n"],"names":["pi","tau","epsilon","tauEpsilon","Path","path","x","y","x1","y1","x2","y2","r","x0","y0","x21","y21","x01","y01","l01_2","x20","y20","l21_2","l20_2","l21","l01","l","t01","t21","a0","a1","ccw","dx","dy","cw","da","w"],"mappings":"aAAA,IAAIA,EAAK,KAAK,GACVC,EAAM,EAAID,EACVE,EAAU,KACVC,EAAaF,EAAMC,EAEvB,SAASE,GAAO,CACd,KAAK,IAAM,KAAK,IAChB,KAA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AAI,EAAS,MAAA,IAAI,MAAM,oBAAsBA,CAAC,EAG9C,KAAK,MAAQ,KACV,KAAA,GAAK,IAAMC,EAAK,IAAMC,GAIpB,KAAK,IAAI,KAAK,IAAMD,CAAE,EAAIX,GAAW,KAAK,IAAI,KAAK,IAAMY,CAAE,EAAIZ,KACjE,KAAA,GAAK,IAAMW,EAAK,IAAMC,GAIxBF,IAGDuB,EAAK,IAAGA,EAAKA,EAAKlC,EAAMA,GAGxBkC,EAAKhC,EACF,KAAA,GAAK,IAAMS,EAAI,IAAMA,EAAI,QAAUsB,EAAK,KAAO5B,EAAI0B,GAAM,KAAOzB,EAAI0B,GAAM,IAAMrB,EAAI,IAAMA,EAAI,QAAUsB,EAAK,KAAO,KAAK,IAAMrB,GAAM,KAAO,KAAK,IAAMC,GAIrJqB,EAAKjC,IACP,KAAA,GAAK,IAAMU,EAAI,IAAMA,EAAI,OAAS,EAAEuB,GAAMnC,GAAO,IAAMkC,EAAK,KAAO,KAAK,IAAM5B,EAAIM,EAAI,KAAK,IAAIkB,CAAE,GAAK,KAAO,KAAK,IAAMvB,EAAIK,EAAI,KAAK,IAAIkB,CAAE,IAEpJ,EACA,KAAM,SAASxB,EAAGC,EAAG6B,EAAG,EAAG,CACpB,KAAA,GAAK,KAAO,KAAK,IAAM,KAAK,IAAM,CAAC9B,GAAK,KAAO,KAAK,IAAM,KAAK,IAAM,CAACC,GAAK,KAAO,CAAC6B,EAAK,KAAO,CAAC,EAAK,IAAO,CAACA,EAAK,GACzH,EACA,SAAU,UAAW,CACnB,OAAO,KAAK,CACd,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs64.js"),o=require("react");function i(c){var n=c.node,r=n===void 0?{x:0,y:0,r:15}:n;return o.createElement("circle",{cx:r.x,cy:r.y,r:r.r||15,fill:"#21D4FD"})}i.propTypes={node:e.shape({x:e.number.isRequired,y:e.number.isRequired,r:e.number})};module.exports=i;
1
+ "use strict";const c=require("./index.cjs165.js");function i(){return i=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},i.apply(this,arguments)}var u={x:0,y:0};function a(n){if(!n)return i({},u);if(c.isTouchEvent(n))return n.changedTouches.length>0?{x:n.changedTouches[0].clientX,y:n.changedTouches[0].clientY}:i({},u);if(c.isMouseEvent(n))return{x:n.clientX,y:n.clientY};var r=n==null?void 0:n.target,t=r&&"getBoundingClientRect"in r?r.getBoundingClientRect():null;return t?{x:t.x+t.width/2,y:t.y+t.height/2}:i({},u)}module.exports=a;
2
2
  //# sourceMappingURL=index.cjs188.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs188.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultNode.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nexport default function HierarchyDefaultNode(_ref) {\n var _ref$node = _ref.node,\n node = _ref$node === void 0 ? {\n x: 0,\n y: 0,\n r: 15\n } : _ref$node;\n return /*#__PURE__*/React.createElement(\"circle\", {\n cx: node.x,\n cy: node.y,\n r: node.r || 15,\n fill: \"#21D4FD\"\n });\n}\nHierarchyDefaultNode.propTypes = {\n node: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired,\n r: _pt.number\n })\n};"],"names":["HierarchyDefaultNode","_ref","_ref$node","node","React","_pt"],"mappings":"oEAEA,SAAwBA,EAAqBC,EAAM,CACjD,IAAIC,EAAYD,EAAK,KACnBE,EAAOD,IAAc,OAAS,CAC5B,EAAG,EACH,EAAG,EACH,EAAG,EACD,EAAAA,EACc,OAAAE,EAAM,cAAc,SAAU,CAChD,GAAID,EAAK,EACT,GAAIA,EAAK,EACT,EAAGA,EAAK,GAAK,GACb,KAAM,SAAA,CACP,CACH,CACAH,EAAqB,UAAY,CAC/B,KAAMK,EAAI,MAAM,CACd,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,OAAO,WACd,EAAGA,EAAI,MAAA,CACR,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs188.js","sources":["../../../node_modules/@visx/event/esm/getXAndYFromEvent.js"],"sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { isMouseEvent, isTouchEvent } from './typeGuards';\nvar DEFAULT_POINT = {\n x: 0,\n y: 0\n};\nexport default function getXAndYFromEvent(event) {\n if (!event) return _extends({}, DEFAULT_POINT);\n if (isTouchEvent(event)) {\n return event.changedTouches.length > 0 ? {\n x: event.changedTouches[0].clientX,\n y: event.changedTouches[0].clientY\n } : _extends({}, DEFAULT_POINT);\n }\n if (isMouseEvent(event)) {\n return {\n x: event.clientX,\n y: event.clientY\n };\n }\n\n // for focus events try to extract the center position of the target element\n var target = event == null ? void 0 : event.target;\n var boundingClientRect = target && 'getBoundingClientRect' in target ? target.getBoundingClientRect() : null;\n if (!boundingClientRect) return _extends({}, DEFAULT_POINT);\n return {\n x: boundingClientRect.x + boundingClientRect.width / 2,\n y: boundingClientRect.y + boundingClientRect.height / 2\n };\n}"],"names":["_extends","target","i","source","key","DEFAULT_POINT","getXAndYFromEvent","event","isTouchEvent","isMouseEvent","boundingClientRect"],"mappings":"kDAAA,SAASA,GAAW,CAAE,OAAAA,EAAW,OAAO,OAAS,OAAO,OAAO,KAAK,EAAI,SAAUC,EAAQ,CAAE,QAASC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAAM,IAAAC,EAAS,UAAUD,CAAC,EAAG,QAASE,KAAOD,EAAc,OAAO,UAAU,eAAe,KAAKA,EAAQC,CAAG,IAAYH,EAAAG,CAAG,EAAID,EAAOC,CAAG,EAAO,CAAS,OAAAH,CAAA,EAAkBD,EAAS,MAAM,KAAM,SAAS,CAAG,CAElV,IAAIK,EAAgB,CAClB,EAAG,EACH,EAAG,CACL,EACA,SAAwBC,EAAkBC,EAAO,CAC/C,GAAI,CAACA,EAAc,OAAAP,EAAS,GAAIK,CAAa,EACzC,GAAAG,EAAAA,aAAaD,CAAK,EACb,OAAAA,EAAM,eAAe,OAAS,EAAI,CACvC,EAAGA,EAAM,eAAe,CAAC,EAAE,QAC3B,EAAGA,EAAM,eAAe,CAAC,EAAE,OAAA,EACzBP,EAAS,GAAIK,CAAa,EAE5B,GAAAI,EAAAA,aAAaF,CAAK,EACb,MAAA,CACL,EAAGA,EAAM,QACT,EAAGA,EAAM,OAAA,EAKb,IAAIN,EAASM,GAAS,KAAO,OAASA,EAAM,OACxCG,EAAqBT,GAAU,0BAA2BA,EAASA,EAAO,sBAA0B,EAAA,KACxG,OAAKS,EACE,CACL,EAAGA,EAAmB,EAAIA,EAAmB,MAAQ,EACrD,EAAGA,EAAmB,EAAIA,EAAmB,OAAS,CAAA,EAHxBV,EAAS,GAAIK,CAAa,CAK5D","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const k=require("./index.cjs37.js");function R(r,n){return r.parent===n.parent?1:2}function S(r){var n=r.children;return n?n[0]:r.t}function B(r){var n=r.children;return n?n[n.length-1]:r.t}function W(r,n,c){var l=c/(n.i-r.i);n.c-=l,n.s+=c,r.c+=l,n.z+=c,n.m+=c}function b(r){for(var n=0,c=0,l=r.children,u=l.length,s;--u>=0;)s=l[u],s.z+=n,s.m+=n,n+=s.s+(c+=s.c)}function j(r,n,c){return r.a.parent===n.parent?r.a:c}function A(r,n){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}A.prototype=Object.create(k.Node.prototype);function o(r){for(var n=new A(r,0),c,l=[n],u,s,x,y;c=l.pop();)if(s=c._.children)for(c.children=new Array(y=s.length),x=y-1;x>=0;--x)l.push(u=c.children[x]=new A(s[x],x)),u.parent=c;return(n.parent=new A(null,0)).children=[n],n}function q(){var r=R,n=1,c=1,l=null;function u(e){var f=o(e);if(f.eachAfter(s),f.parent.m=-f.z,f.eachBefore(x),l)e.eachBefore(N);else{var d=e,t=e,a=e;e.eachBefore(function(i){i.x<d.x&&(d=i),i.x>t.x&&(t=i),i.depth>a.depth&&(a=i)});var h=d===t?1:r(d,t)/2,z=h-d.x,g=n/(t.x+h+z),_=c/(a.depth||1);e.eachBefore(function(i){i.x=(i.x+z)*g,i.y=i.depth*_})}return e}function s(e){var f=e.children,d=e.parent.children,t=e.i?d[e.i-1]:null;if(f){b(e);var a=(f[0].z+f[f.length-1].z)/2;t?(e.z=t.z+r(e._,t._),e.m=e.z-a):e.z=a}else t&&(e.z=t.z+r(e._,t._));e.parent.A=y(e,t,e.parent.A||d[0])}function x(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function y(e,f,d){if(f){for(var t=e,a=e,h=f,z=t.parent.children[0],g=t.m,_=a.m,i=h.m,w=z.m,p;h=B(h),t=S(t),h&&t;)z=S(z),a=B(a),a.a=e,p=h.z+i-t.z-g+r(h._,t._),p>0&&(W(j(h,e,d),e,p),g+=p,_+=p),i+=h.m,g+=t.m,w+=z.m,_+=a.m;h&&!B(a)&&(a.t=h,a.m+=i-_),t&&!S(z)&&(z.t=t,z.m+=g-w,d=e)}return d}function N(e){e.x*=n,e.y=e.depth*c}return u.separation=function(e){return arguments.length?(r=e,u):r},u.size=function(e){return arguments.length?(l=!1,n=+e[0],c=+e[1],u):l?null:[n,c]},u.nodeSize=function(e){return arguments.length?(l=!0,n=+e[0],c=+e[1],u):l?[n,c]:null},u}module.exports=q;
1
+ "use strict";var u=function(){function r(t){var o=t.x,s=o===void 0?0:o,n=t.y,y=n===void 0?0:n;this.x=0,this.y=0,this.x=s,this.y=y}var i=r.prototype;return i.value=function(){return{x:this.x,y:this.y}},i.toArray=function(){return[this.x,this.y]},r}();module.exports=u;
2
2
  //# sourceMappingURL=index.cjs189.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs189.js","sources":["../../../node_modules/d3-hierarchy/src/tree.js"],"sourcesContent":["import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n"],"names":["defaultSeparation","a","b","nextLeft","v","children","nextRight","moveSubtree","wm","wp","shift","change","executeShifts","i","w","nextAncestor","vim","ancestor","TreeNode","node","Node","treeRoot","root","tree","nodes","child","n","d3tree","separation","dx","dy","nodeSize","t","firstWalk","secondWalk","sizeNode","left","right","bottom","s","tx","kx","ky","siblings","midpoint","apportion","vip","vop","vom","sip","sop","sim","som","x"],"mappings":"iDAEA,SAASA,EAAkBC,EAAGC,EAAG,CAC/B,OAAOD,EAAE,SAAWC,EAAE,OAAS,EAAI,CACrC,CAUA,SAASC,EAASC,EAAG,CACnB,IAAIC,EAAWD,EAAE,SACjB,OAAOC,EAAWA,EAAS,CAAC,EAAID,EAAE,CACpC,CAGA,SAASE,EAAUF,EAAG,CACpB,IAAIC,EAAWD,EAAE,SACjB,OAAOC,EAAWA,EAASA,EAAS,OAAS,CAAC,EAAID,EAAE,CACtD,CAIA,SAASG,EAAYC,EAAIC,EAAIC,EAAO,CAClC,IAAIC,EAASD,GAASD,EAAG,EAAID,EAAG,GAChCC,EAAG,GAAKE,EACRF,EAAG,GAAKC,EACRF,EAAG,GAAKG,EACRF,EAAG,GAAKC,EACRD,EAAG,GAAKC,CACV,CAKA,SAASE,EAAcR,EAAG,CAMjB,QALHM,EAAQ,EACRC,EAAS,EACTN,EAAWD,EAAE,SACbS,EAAIR,EAAS,OACbS,EACG,EAAED,GAAK,GACZC,EAAIT,EAASQ,CAAC,EACdC,EAAE,GAAKJ,EACPI,EAAE,GAAKJ,EACEA,GAAAI,EAAE,GAAKH,GAAUG,EAAE,EAEhC,CAIA,SAASC,EAAaC,EAAKZ,EAAGa,EAAU,CACtC,OAAOD,EAAI,EAAE,SAAWZ,EAAE,OAASY,EAAI,EAAIC,CAC7C,CAEA,SAASC,EAASC,EAAMN,EAAG,CACzB,KAAK,EAAIM,EACT,KAAK,OAAS,KACd,KAAK,SAAW,KAChB,KAAK,EAAI,KACT,KAAK,EAAI,KACT,KAAK,EAAI,EACT,KAAK,EAAI,E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,EAClBD,EAAMzC,EAAUyC,CAAG,EACnBA,EAAI,EAAI3C,EACAM,EAAAM,EAAI,EAAImC,EAAML,EAAI,EAAIG,EAAMrB,EAAWZ,EAAI,EAAG8B,EAAI,CAAC,EACvDpC,EAAQ,IACVH,EAAYQ,EAAaC,EAAKZ,EAAGa,CAAQ,EAAGb,EAAGM,CAAK,EAC7CuC,GAAAvC,EACAwC,GAAAxC,GAETyC,GAAOnC,EAAI,EACXiC,GAAOH,EAAI,EACXM,GAAOJ,EAAI,EACXE,GAAOH,EAAI,EAET/B,GAAO,CAACV,EAAUyC,CAAG,IACvBA,EAAI,EAAI/B,EACR+B,EAAI,GAAKI,EAAMD,GAEbJ,GAAO,CAAC3C,EAAS6C,CAAG,IACtBA,EAAI,EAAIF,EACRE,EAAI,GAAKC,EAAMG,EACJnC,EAAAb,EAEf,CACO,OAAAa,CACT,CAEA,SAASkB,EAAShB,EAAM,CACtBA,EAAK,GAAKU,EACLV,EAAA,EAAIA,EAAK,MAAQW,CACxB,CAEK,OAAAP,EAAA,WAAa,SAAS8B,EAAG,CAC5B,OAAO,UAAU,QAAUzB,EAAayB,EAAG9B,GAAQK,CAAA,EAGhDL,EAAA,KAAO,SAAS8B,EAAG,CACtB,OAAO,UAAU,QAAUtB,EAAW,GAAOF,EAAK,CAACwB,EAAE,CAAC,EAAGvB,EAAK,CAACuB,EAAE,CAAC,EAAG9B,GAASQ,EAAW,KAAO,CAACF,EAAIC,CAAE,CAAA,EAGpGP,EAAA,SAAW,SAAS8B,EAAG,CAC1B,OAAO,UAAU,QAAUtB,EAAW,GAAMF,EAAK,CAACwB,EAAE,CAAC,EAAGvB,EAAK,CAACuB,EAAE,CAAC,EAAG9B,GAASQ,EAAW,CAACF,EAAIC,CAAE,EAAI,IAAA,EAG9FP,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs189.js","sources":["../../../node_modules/@visx/point/esm/Point.js"],"sourcesContent":["var Point = /*#__PURE__*/function () {\n function Point(_ref) {\n var _ref$x = _ref.x,\n x = _ref$x === void 0 ? 0 : _ref$x,\n _ref$y = _ref.y,\n y = _ref$y === void 0 ? 0 : _ref$y;\n this.x = 0;\n this.y = 0;\n this.x = x;\n this.y = y;\n }\n var _proto = Point.prototype;\n _proto.value = function value() {\n return {\n x: this.x,\n y: this.y\n };\n };\n _proto.toArray = function toArray() {\n return [this.x, this.y];\n };\n return Point;\n}();\nexport { Point as default };"],"names":["Point","_ref","_ref$x","x","_ref$y","_proto"],"mappings":"aAAA,IAAIA,EAAiC,UAAA,CACnC,SAASA,EAAMC,EAAM,CACnB,IAAIC,EAASD,EAAK,EAChBE,EAAID,IAAW,OAAS,EAAIA,EAC5BE,EAASH,EAAK,EACd,EAAIG,IAAW,OAAS,EAAIA,EAC9B,KAAK,EAAI,EACT,KAAK,EAAI,EACT,KAAK,EAAID,EACT,KAAK,EAAI,CACX,CACA,IAAIE,EAASL,EAAM,UACZ,OAAAK,EAAA,MAAQ,UAAiB,CACvB,MAAA,CACL,EAAG,KAAK,EACR,EAAG,KAAK,CAAA,CACV,EAEKA,EAAA,QAAU,UAAmB,CAClC,MAAO,CAAC,KAAK,EAAG,KAAK,CAAC,CAAA,EAEjBL,CACT,EAAE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs78.js"),h=require("./index.cjs216.js"),i=require("./index.cjs10.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
1
+ "use strict";const l=require("./index.cjs64.js"),h=require("./index.cjs216.js"),i=require("./index.cjs10.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
2
2
  //# sourceMappingURL=index.cjs19.js.map
@@ -1,4 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs196.js");function b(t,e){if(t==null)return{};var s={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(s[r]=t[r]);return s}function _(t,e){if(t==null)return{};var s=b(t,e),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}const E={target(t){if(t)return()=>"current"in t?t.current:t},enabled(t=!0){return t},window(t=i.S.isBrowser?window:void 0){return t},eventOptions({passive:t=!0,capture:e=!1}={}){return{passive:t,capture:e}},transform(t){return t}},S=["target","eventOptions","window","enabled","transform"];function w(t={},e){const s={};for(const[n,r]of Object.entries(e))switch(typeof r){case"function":if(process.env.NODE_ENV==="development"){const o=r.call(s,t[n],n,t);Number.isNaN(o)||(s[n]=o)}else s[n]=r.call(s,t[n],n,t);break;case"object":s[n]=w(t[n],r);break;case"boolean":r&&(s[n]=t[n]);break}return s}function y(t,e,s={}){const n=t,{target:r,eventOptions:o,window:a,enabled:h,transform:l}=n,c=_(n,S);if(s.shared=w({target:r,eventOptions:o,window:a,enabled:h,transform:l},E),e){const u=i.C.get(e);s[e]=w(i._({shared:s.shared},c),u)}else for(const u in c){const p=i.C.get(u);if(p)s[u]=w(i._({shared:s.shared},c[u]),p);else if(process.env.NODE_ENV==="development"&&!["drag","pinch","scroll","wheel","move","hover"].includes(u)){if(u==="domTarget")throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");console.warn(`[@use-gesture]: Unknown config key \`${u}\` was used. Please read the documentation for further information.`)}}return s}class m{constructor(e,s){i.a(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=s}add(e,s,n,r,o){const a=this._listeners,h=i.t(s,n),l=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},c=i._(i._({},l),o);e.addEventListener(h,r,c);const u=()=>{e.removeEventListener(h,r,c),a.delete(u)};return a.add(u),u}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class O{constructor(){i.a(this,"_timeouts",new Map)}add(e,s,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(s,n,...r))}remove(e){const s=this._timeouts.get(e);s&&window.clearTimeout(s)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class P{constructor(e){i.a(this,"gestures",new Set),i.a(this,"_targetEventStore",new m(this)),i.a(this,"gestureEventStores",{}),i.a(this,"gestureTimeoutStores",{}),i.a(this,"handlers",{}),i.a(this,"config",{}),i.a(this,"pointerIds",new Set),i.a(this,"touchIds",new Set),i.a(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),I(this,e)}setEventIds(e){if(i.i(e))return this.touchIds=new Set(i.b(e)),this.touchIds;if("pointerId"in e)return e.type==="pointerup"||e.type==="pointercancel"?this.pointerIds.delete(e.pointerId):e.type==="pointerdown"&&this.pointerIds.add(e.pointerId),this.pointerIds}applyHandlers(e,s){this.handlers=e,this.nativeHandlers=s}applyConfig(e,s){this.config=y(e,s,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const s=this.config.shared,n={};let r;if(!(s.target&&(r=s.target(),!r))){if(s.enabled){for(const a of this.gestures){const h=this.config[a],l=g(n,h.eventOptions,!!r);if(h.enabled){const c=i.E.get(a);new c(this,e,a).bind(l)}}const o=g(n,s.eventOptions,!!r);for(const a in this.nativeHandlers)o(a,"",h=>this.nativeHandlers[a](i._(i._({},this.state.shared),{},{event:h,args:e})),void 0,!0)}for(const o in n)n[o]=i.c(...n[o]);if(!r)return n;for(const o in n){const{device:a,capture:h,passive:l}=i.p(o);this._targetEventStore.add(r,a,"",n[o],{capture:h,passive:l})}}}}function d(t,e){t.gestures.add(e),t.gestureEventStores[e]=new m(t,e),t.gestureTimeoutStores[e]=new O}function I(t,e){e.drag&&d(t,"drag"),e.wheel&&d(t,"wheel"),e.scroll&&d(t,"scroll"),e.move&&d(t,"move"),e.pinch&&d(t,"pinch"),e.hover&&d(t,"hover")}const g=(t,e,s)=>(n,r,o,a={},h=!1)=>{var l,c;const u=(l=a.capture)!==null&&l!==void 0?l:e.capture,p=(c=a.passive)!==null&&c!==void 0?c:e.passive;let v=h?n:i.d(n,r,u);s&&p&&(v+="Passive"),t[v]=t[v]||[],t[v].push(o)},T=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function N(t){const e={},s={},n=new Set;for(let r in t)T.test(r)?(n.add(RegExp.lastMatch),s[r]=t[r]):e[r]=t[r];return[s,e,n]}function f(t,e,s,n,r,o){if(!t.has(s))return;if(!i.E.has(n)){process.env.NODE_ENV==="development"&&console.warn(`[@use-gesture]: You've created a custom handler that that uses the \`${n}\` gesture but isn't properly configured.
2
-
3
- Please add \`${n}Action\` when creating your handler.`);return}const a=s+"Start",h=s+"End",l=c=>{let u;return c.first&&a in e&&e[a](c),s in e&&(u=e[s](c)),c.last&&h in e&&e[h](c),u};r[n]=l,o[n]=o[n]||{}}function j(t,e){const[s,n,r]=N(t),o={};return f(r,s,"onDrag","drag",o,e),f(r,s,"onWheel","wheel",o,e),f(r,s,"onScroll","scroll",o,e),f(r,s,"onPinch","pinch",o,e),f(r,s,"onMove","move",o,e),f(r,s,"onHover","hover",o,e),{handlers:o,config:e,nativeHandlers:n}}exports.Controller=P;exports.parseMergedHandlers=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var i=c;exports.isObject_1=i;
4
2
  //# sourceMappingURL=index.cjs195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs195.js","sources":["../../../node_modules/@use-gesture/core/dist/use-gesture-core.esm.js"],"sourcesContent":["import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, p as parseProp, d as toHandlerProp } from './actions-fe213e88.esm.js';\nimport './maths-0ab39ae9.esm.js';\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\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 return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\n\nconst sharedConfigResolver = {\n target(value) {\n if (value) {\n return () => 'current' in value ? value.current : value;\n }\n return undefined;\n },\n enabled(value = true) {\n return value;\n },\n window(value = SUPPORT.isBrowser ? window : undefined) {\n return value;\n },\n eventOptions({\n passive = true,\n capture = false\n } = {}) {\n return {\n passive,\n capture\n };\n },\n transform(value) {\n return value;\n }\n};\n\nconst _excluded = [\"target\", \"eventOptions\", \"window\", \"enabled\", \"transform\"];\nfunction resolveWith(config = {}, resolvers) {\n const result = {};\n for (const [key, resolver] of Object.entries(resolvers)) {\n switch (typeof resolver) {\n case 'function':\n if (process.env.NODE_ENV === 'development') {\n const r = resolver.call(result, config[key], key, config);\n if (!Number.isNaN(r)) result[key] = r;\n } else {\n result[key] = resolver.call(result, config[key], key, config);\n }\n break;\n case 'object':\n result[key] = resolveWith(config[key], resolver);\n break;\n case 'boolean':\n if (resolver) result[key] = config[key];\n break;\n }\n }\n return result;\n}\nfunction parse(newConfig, gestureKey, _config = {}) {\n const _ref = newConfig,\n {\n target,\n eventOptions,\n window,\n enabled,\n transform\n } = _ref,\n rest = _objectWithoutProperties(_ref, _excluded);\n _config.shared = resolveWith({\n target,\n eventOptions,\n window,\n enabled,\n transform\n }, sharedConfigResolver);\n if (gestureKey) {\n const resolver = ConfigResolverMap.get(gestureKey);\n _config[gestureKey] = resolveWith(_objectSpread2({\n shared: _config.shared\n }, rest), resolver);\n } else {\n for (const key in rest) {\n const resolver = ConfigResolverMap.get(key);\n if (resolver) {\n _config[key] = resolveWith(_objectSpread2({\n shared: _config.shared\n }, rest[key]), resolver);\n } else if (process.env.NODE_ENV === 'development') {\n if (!['drag', 'pinch', 'scroll', 'wheel', 'move', 'hover'].includes(key)) {\n if (key === 'domTarget') {\n throw Error(`[@use-gesture]: \\`domTarget\\` option has been renamed to \\`target\\`.`);\n }\n console.warn(`[@use-gesture]: Unknown config key \\`${key}\\` was used. Please read the documentation for further information.`);\n }\n }\n }\n }\n return _config;\n}\n\nclass EventStore {\n constructor(ctrl, gestureKey) {\n _defineProperty(this, \"_listeners\", new Set());\n this._ctrl = ctrl;\n this._gestureKey = gestureKey;\n }\n add(element, device, action, handler, options) {\n const listeners = this._listeners;\n const type = toDomEventType(device, action);\n const _options = this._gestureKey ? this._ctrl.config[this._gestureKey].eventOptions : {};\n const eventOptions = _objectSpread2(_objectSpread2({}, _options), options);\n element.addEventListener(type, handler, eventOptions);\n const remove = () => {\n element.removeEventListener(type, handler, eventOptions);\n listeners.delete(remove);\n };\n listeners.add(remove);\n return remove;\n }\n clean() {\n this._listeners.forEach(remove => remove());\n this._listeners.clear();\n }\n}\n\nclass TimeoutStore {\n constructor() {\n _defineProperty(this, \"_timeouts\", new Map());\n }\n add(key, callback, ms = 140, ...args) {\n this.remove(key);\n this._timeouts.set(key, window.setTimeout(callback, ms, ...args));\n }\n remove(key) {\n const timeout = this._timeouts.get(key);\n if (timeout) window.clearTimeout(timeout);\n }\n clean() {\n this._timeouts.forEach(timeout => void window.clearTimeout(timeout));\n this._timeouts.clear();\n }\n}\n\nclass Controller {\n constructor(handlers) {\n _defineProperty(this, \"gestures\", new Set());\n _defineProperty(this, \"_targetEventStore\", new EventStore(this));\n _defineProperty(this, \"gestureEventStores\", {});\n _defineProperty(this, \"gestureTimeoutStores\", {});\n _defineProperty(this, \"handlers\", {});\n _defineProperty(this, \"config\", {});\n _defineProperty(this, \"pointerIds\", new Set());\n _defineProperty(this, \"touchIds\", new Set());\n _defineProperty(this, \"state\", {\n shared: {\n shiftKey: false,\n metaKey: false,\n ctrlKey: false,\n altKey: false\n }\n });\n resolveGestures(this, handlers);\n }\n setEventIds(event) {\n if (isTouch(event)) {\n this.touchIds = new Set(touchIds(event));\n return this.touchIds;\n } else if ('pointerId' in event) {\n if (event.type === 'pointerup' || event.type === 'pointercancel') this.pointerIds.delete(event.pointerId);else if (event.type === 'pointerdown') this.pointerIds.add(event.pointerId);\n return this.pointerIds;\n }\n }\n applyHandlers(handlers, nativeHandlers) {\n this.handlers = handlers;\n this.nativeHandlers = nativeHandlers;\n }\n applyConfig(config, gestureKey) {\n this.config = parse(config, gestureKey, this.config);\n }\n clean() {\n this._targetEventStore.clean();\n for (const key of this.gestures) {\n this.gestureEventStores[key].clean();\n this.gestureTimeoutStores[key].clean();\n }\n }\n effect() {\n if (this.config.shared.target) this.bind();\n return () => this._targetEventStore.clean();\n }\n bind(...args) {\n const sharedConfig = this.config.shared;\n const props = {};\n let target;\n if (sharedConfig.target) {\n target = sharedConfig.target();\n if (!target) return;\n }\n if (sharedConfig.enabled) {\n for (const gestureKey of this.gestures) {\n const gestureConfig = this.config[gestureKey];\n const bindFunction = bindToProps(props, gestureConfig.eventOptions, !!target);\n if (gestureConfig.enabled) {\n const Engine = EngineMap.get(gestureKey);\n new Engine(this, args, gestureKey).bind(bindFunction);\n }\n }\n const nativeBindFunction = bindToProps(props, sharedConfig.eventOptions, !!target);\n for (const eventKey in this.nativeHandlers) {\n nativeBindFunction(eventKey, '', event => this.nativeHandlers[eventKey](_objectSpread2(_objectSpread2({}, this.state.shared), {}, {\n event,\n args\n })), undefined, true);\n }\n }\n for (const handlerProp in props) {\n props[handlerProp] = chain(...props[handlerProp]);\n }\n if (!target) return props;\n for (const handlerProp in props) {\n const {\n device,\n capture,\n passive\n } = parseProp(handlerProp);\n this._targetEventStore.add(target, device, '', props[handlerProp], {\n capture,\n passive\n });\n }\n }\n}\nfunction setupGesture(ctrl, gestureKey) {\n ctrl.gestures.add(gestureKey);\n ctrl.gestureEventStores[gestureKey] = new EventStore(ctrl, gestureKey);\n ctrl.gestureTimeoutStores[gestureKey] = new TimeoutStore();\n}\nfunction resolveGestures(ctrl, internalHandlers) {\n if (internalHandlers.drag) setupGesture(ctrl, 'drag');\n if (internalHandlers.wheel) setupGesture(ctrl, 'wheel');\n if (internalHandlers.scroll) setupGesture(ctrl, 'scroll');\n if (internalHandlers.move) setupGesture(ctrl, 'move');\n if (internalHandlers.pinch) setupGesture(ctrl, 'pinch');\n if (internalHandlers.hover) setupGesture(ctrl, 'hover');\n}\nconst bindToProps = (props, eventOptions, withPassiveOption) => (device, action, handler, options = {}, isNative = false) => {\n var _options$capture, _options$passive;\n const capture = (_options$capture = options.capture) !== null && _options$capture !== void 0 ? _options$capture : eventOptions.capture;\n const passive = (_options$passive = options.passive) !== null && _options$passive !== void 0 ? _options$passive : eventOptions.passive;\n let handlerProp = isNative ? device : toHandlerProp(device, action, capture);\n if (withPassiveOption && passive) handlerProp += 'Passive';\n props[handlerProp] = props[handlerProp] || [];\n props[handlerProp].push(handler);\n};\n\nconst RE_NOT_NATIVE = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;\nfunction sortHandlers(_handlers) {\n const native = {};\n const handlers = {};\n const actions = new Set();\n for (let key in _handlers) {\n if (RE_NOT_NATIVE.test(key)) {\n actions.add(RegExp.lastMatch);\n handlers[key] = _handlers[key];\n } else {\n native[key] = _handlers[key];\n }\n }\n return [handlers, native, actions];\n}\nfunction registerGesture(actions, handlers, handlerKey, key, internalHandlers, config) {\n if (!actions.has(handlerKey)) return;\n if (!EngineMap.has(key)) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`[@use-gesture]: You've created a custom handler that that uses the \\`${key}\\` gesture but isn't properly configured.\\n\\nPlease add \\`${key}Action\\` when creating your handler.`);\n }\n return;\n }\n const startKey = handlerKey + 'Start';\n const endKey = handlerKey + 'End';\n const fn = state => {\n let memo = undefined;\n if (state.first && startKey in handlers) handlers[startKey](state);\n if (handlerKey in handlers) memo = handlers[handlerKey](state);\n if (state.last && endKey in handlers) handlers[endKey](state);\n return memo;\n };\n internalHandlers[key] = fn;\n config[key] = config[key] || {};\n}\nfunction parseMergedHandlers(mergedHandlers, mergedConfig) {\n const [handlers, nativeHandlers, actions] = sortHandlers(mergedHandlers);\n const internalHandlers = {};\n registerGesture(actions, handlers, 'onDrag', 'drag', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onWheel', 'wheel', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onScroll', 'scroll', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onPinch', 'pinch', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onMove', 'move', internalHandlers, mergedConfig);\n registerGesture(actions, handlers, 'onHover', 'hover', internalHandlers, mergedConfig);\n return {\n handlers: internalHandlers,\n config: mergedConfig,\n nativeHandlers\n };\n}\n\nexport { Controller, parseMergedHandlers };\n"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","key","i","_objectWithoutProperties","sourceSymbolKeys","sharedConfigResolver","value","SUPPORT","passive","capture","_excluded","resolveWith","config","resolvers","result","resolver","r","parse","newConfig","gestureKey","_config","_ref","eventOptions","window","enabled","transform","rest","ConfigResolverMap","_objectSpread2","EventStore","ctrl","_defineProperty","element","device","action","handler","options","listeners","type","toDomEventType","_options","remove","TimeoutStore","callback","ms","args","timeout","Controller","handlers","resolveGestures","event","isTouch","touchIds","nativeHandlers","sharedConfig","props","gestureConfig","bindFunction","bindToProps","Engine","EngineMap","nativeBindFunction","eventKey","handlerProp","chain","parseProp","setupGesture","internalHandlers","withPassiveOption","isNative","_options$capture","_options$passive","toHandlerProp","RE_NOT_NATIVE","sortHandlers","_handlers","native","actions","registerGesture","handlerKey","startKey","endKey","fn","state","memo","parseMergedHandlers","mergedHandlers","mergedConfig"],"mappings":"qHAGA,SAASA,EAA8BC,EAAQC,EAAU,CACvD,GAAID,GAAU,KAAM,MAAO,GAC3B,IAAIE,EAAS,CAAA,EACTC,EAAa,OAAO,KAAKH,CAAM,EAC/BI,EAAKC,EACT,IAAKA,EAAI,EAAGA,EAAIF,EAAW,OAAQE,IACjCD,EAAMD,EAAWE,CAAC,EACd,EAAAJ,EAAS,QAAQG,CAAG,GAAK,KACtBF,EAAAE,CAAG,EAAIJ,EAAOI,CAAG,GAEnB,OAAAF,CACT,CAEA,SAASI,EAAyBN,EAAQC,EAAU,CAClD,GAAID,GAAU,KAAM,MAAO,GACvB,IAAAE,EAASH,EAA8BC,EAAQC,CAAQ,EACvDG,EAAKC,EACT,GAAI,OAAO,sBAAuB,CAC5B,IAAAE,EAAmB,OAAO,sBAAsBP,CAAM,EAC1D,IAAKK,EAAI,EAAGA,EAAIE,EAAiB,OAAQF,IACvCD,EAAMG,EAAiBF,CAAC,EACpB,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IACxB,OAAO,UAAU,qBAAqB,KAAKJ,EAAQI,CAAG,IACpDF,EAAAE,CAAG,EAAIJ,EAAOI,CAAG,EAE5B,CACO,OAAAF,CACT,CAEA,MAAMM,EAAuB,CAC3B,OAAOC,EAAO,CACZ,GAAIA,EACF,MAAO,IAAM,YAAaA,EAAQA,EAAM,QAAUA,CAGtD,EACA,QAAQA,EAAQ,GAAM,CACb,OAAAA,CACT,EACA,OAAOA,EAAQC,EAAQ,EAAA,UAAY,OAAS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W,QAASmB,EAAkBoB,CAAY,EACrFT,EAAgBD,EAAS7B,EAAU,WAAY,SAAUmB,EAAkBoB,CAAY,EACvFT,EAAgBD,EAAS7B,EAAU,UAAW,QAASmB,EAAkBoB,CAAY,EACrFT,EAAgBD,EAAS7B,EAAU,SAAU,OAAQmB,EAAkBoB,CAAY,EACnFT,EAAgBD,EAAS7B,EAAU,UAAW,QAASmB,EAAkBoB,CAAY,EAC9E,CACL,SAAUpB,EACV,OAAQoB,EACR,eAAAlC,CAAA,CAEJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs195.js","sources":["../../../node_modules/lodash/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n"],"names":["isObject","value","type","isObject_1"],"mappings":"gFAyBA,SAASA,EAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs271.js");function it(s,t){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var i=e.call(s,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(s)}function ot(s){var t=it(s,"string");return typeof t=="symbol"?t:String(t)}function f(s,t,e){return t=ot(t),t in s?Object.defineProperty(s,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[t]=e,s}function V(s,t){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable})),e.push.apply(e,i)}return e}function h(s){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?V(Object(e),!0).forEach(function(i){f(s,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(e,i))})}return s}const j={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function P(s){return s?s[0].toUpperCase()+s.slice(1):""}const nt=["enter","leave"];function rt(s=!1,t){return s&&!nt.includes(t)}function at(s,t="",e=!1){const i=j[s],o=i&&i[t]||t;return"on"+P(s)+P(o)+(rt(e,o)?"Capture":"")}const ct=["gotpointercapture","lostpointercapture"];function ht(s){let t=s.substring(2).toLowerCase();const e=!!~t.indexOf("passive");e&&(t=t.replace("passive",""));const i=ct.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(i);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:e}}function ut(s,t=""){const e=j[s],i=e&&e[t]||t;return s+i}function S(s){return"touches"in s}function H(s){return S(s)?"touch":"pointerType"in s?s.pointerType:"mouse"}function lt(s){return Array.from(s.touches).filter(t=>{var e,i;return t.target===s.currentTarget||((e=s.currentTarget)===null||e===void 0||(i=e.contains)===null||i===void 0?void 0:i.call(e,t.target))})}function ft(s){return s.type==="touchend"||s.type==="touchcancel"?s.changedTouches:s.targetTouches}function X(s){return S(s)?ft(s)[0]:s}function C(s,t){try{const e=t.clientX-s.clientX,i=t.clientY-s.clientY,o=(t.clientX+s.clientX)/2,n=(t.clientY+s.clientY)/2,r=Math.hypot(e,i);return{angle:-(Math.atan2(e,i)*180)/Math.PI,distance:r,origin:[o,n]}}catch{}return null}function dt(s){return lt(s).map(t=>t.identifier)}function M(s,t){const[e,i]=Array.from(s.touches).filter(o=>t.includes(o.identifier));return C(e,i)}function x(s){const t=X(s);return S(s)?t.identifier:t.pointerId}function _(s){const t=X(s);return[t.clientX,t.clientY]}const L=40,N=800;function W(s){let{deltaX:t,deltaY:e,deltaMode:i}=s;return i===1?(t*=L,e*=L):i===2&&(t*=N,e*=N),[t,e]}function pt(s){var t,e;const{scrollX:i,scrollY:o,scrollLeft:n,scrollTop:r}=s.currentTarget;return[(t=i??n)!==null&&t!==void 0?t:0,(e=o??r)!==null&&e!==void 0?e:0]}function mt(s){const t={};if("buttons"in s&&(t.buttons=s.buttons),"shiftKey"in s){const{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n}=s;Object.assign(t,{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n})}return t}function I(s,...t){return typeof s=="function"?s(...t):s}function gt(){}function _t(...s){return s.length===0?gt:s.length===1?s[0]:function(){let t;for(const e of s)t=e.apply(this,arguments)||t;return t}}function K(s,t){return Object.assign({},t,s||{})}const vt=32;class z{constructor(t,e,i){this.ctrl=t,this.args=e,this.key=i,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:e,ingKey:i,args:o}=this;e[i]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const e=this.state,i=this.config;e._active||(this.reset(),this.computeInitial(),e._active=!0,e.target=t.target,e.currentTarget=t.currentTarget,e.lastOffset=i.from?I(i.from,e):e.offset,e.offset=e.lastOffset,e.startTime=e.timeStamp=t.timeStamp)}computeValues(t){const e=this.state;e._values=t,e.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:e,config:i,shared:o}=this;e.args=this.args;let n=0;if(t&&(e.event=t,i.preventDefault&&t.cancelable&&e.event.preventDefault(),e.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,mt(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,n=t.timeStamp-e.timeStamp,e.timeStamp=t.timeStamp,e.elapsedTime=e.timeStamp-e.startTime),e._active){const m=e._delta.map(Math.abs);a.V.addTo(e._distance,m)}this.axisIntent&&this.axisIntent(t);const[r,u]=e._movement,[p,v]=i.threshold,{_step:c,values:y}=e;if(i.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(r)>=p&&y[0]),c[1]===!1&&(c[1]=Math.abs(u)>=v&&y[1])):(c[0]===!1&&(c[0]=Math.abs(r)>=p&&Math.sign(r)*p),c[1]===!1&&(c[1]=Math.abs(u)>=v&&Math.sign(u)*v)),e.intentional=c[0]!==!1||c[1]!==!1,!e.intentional)return;const d=[0,0];if(i.hasCustomTransform){const[m,st]=y;d[0]=c[0]!==!1?m-c[0]:0,d[1]=c[1]!==!1?st-c[1]:0}else d[0]=c[0]!==!1?r-c[0]:0,d[1]=c[1]!==!1?u-c[1]:0;this.restrictToAxis&&!e._blocked&&this.restrictToAxis(d);const w=e.offset,T=e._active&&!e._blocked||e.active;T&&(e.first=e._active&&!e.active,e.last=!e._active&&e.active,e.active=o[this.ingKey]=e._active,t&&(e.first&&("bounds"in i&&(e._bounds=I(i.bounds,e)),this.setup&&this.setup()),e.movement=d,this.computeOffset()));const[D,A]=e.offset,[[k,Q],[Z,tt]]=e._bounds;e.overflow=[D<k?-1:D>Q?1:0,A<Z?-1:A>tt?1:0],e._movementBound[0]=e.overflow[0]?e._movementBound[0]===!1?e._movement[0]:e._movementBound[0]:!1,e._movementBound[1]=e.overflow[1]?e._movementBound[1]===!1?e._movement[1]:e._movementBound[1]:!1;const et=e._active?i.rubberband||[0,0]:[0,0];if(e.offset=a.c(e._bounds,e.offset,et),e.delta=a.V.sub(e.offset,w),this.computeMovement(),T&&(!e.last||n>vt)){e.delta=a.V.sub(e.offset,w);const m=e.delta.map(Math.abs);a.V.addTo(e.distance,m),e.direction=e.delta.map(Math.sign),e._direction=e._delta.map(Math.sign),!e.first&&n>0&&(e.velocity=[m[0]/n,m[1]/n],e.timeDelta=n)}}emit(){const t=this.state,e=this.shared,i=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!i.triggerAllEvents)return;const o=this.handler(h(h(h({},e),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function yt([s,t],e){const i=Math.abs(s),o=Math.abs(t);if(i>o&&i>e)return"x";if(o>i&&o>e)return"y"}class b extends z{constructor(...t){super(...t),f(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=a.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=a.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const e=this.state,i=this.config;if(!e.axis&&t){const o=typeof i.axisThreshold=="object"?i.axisThreshold[H(t)]:i.axisThreshold;e.axis=yt(e._movement,o)}e._blocked=(i.lockDirection||!!i.axis)&&!e.axis||!!i.axis&&i.axis!==e.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const R=s=>s,U=.15,O={enabled(s=!0){return s},eventOptions(s,t,e){return h(h({},e.shared.eventOptions),s)},preventDefault(s=!1){return s},triggerAllEvents(s=!1){return s},rubberband(s=0){switch(s){case!0:return[U,U];case!1:return[0,0];default:return a.V.toVector(s)}},from(s){if(typeof s=="function")return s;if(s!=null)return a.V.toVector(s)},transform(s,t,e){const i=s||e.shared.transform;if(this.hasCustomTransform=!!i,process.env.NODE_ENV==="development"){const o=i||R;return n=>{const r=o(n);return(!isFinite(r[0])||!isFinite(r[1]))&&console.warn(`[@use-gesture]: config.transform() must produce a valid result, but it was: [${r[0]},${[1]}]`),r}}return i||R},threshold(s){return a.V.toVector(s,0)}};process.env.NODE_ENV==="development"&&Object.assign(O,{domTarget(s){if(s!==void 0)throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");return NaN},lockDirection(s){if(s!==void 0)throw Error("[@use-gesture]: `lockDirection` option has been merged with `axis`. Use it as in `{ axis: 'lock' }`");return NaN},initial(s){if(s!==void 0)throw Error("[@use-gesture]: `initial` option has been renamed to `from`.");return NaN}});const bt=0,g=h(h({},O),{},{axis(s,t,{axis:e}){if(this.lockDirection=e==="lock",!this.lockDirection)return e},axisThreshold(s=bt){return s},bounds(s={}){if(typeof s=="function")return n=>g.bounds(s(n));if("current"in s)return()=>s.current;if(typeof HTMLElement=="function"&&s instanceof HTMLElement)return s;const{left:t=-1/0,right:e=1/0,top:i=-1/0,bottom:o=1/0}=s;return[[t,e],[i,o]]}}),B={ArrowRight:(s,t=1)=>[s*t,0],ArrowLeft:(s,t=1)=>[-1*s*t,0],ArrowUp:(s,t=1)=>[0,-1*s*t],ArrowDown:(s,t=1)=>[0,s*t]};class Et extends b{constructor(...t){super(...t),f(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const e=t._bounds.getBoundingClientRect(),i=t.currentTarget.getBoundingClientRect(),o={left:e.left-i.left+t.offset[0],right:e.right-i.right+t.offset[0],top:e.top-i.top+t.offset[1],bottom:e.bottom-i.bottom+t.offset[1]};t._bounds=g.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const e=this.config,i=this.state;if(t.buttons!=null&&(Array.isArray(e.pointerButtons)?!e.pointerButtons.includes(t.buttons):e.pointerButtons!==-1&&e.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);e.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&i._pointerActive)&&(this.start(t),this.setupPointer(t),i._pointerId=x(t),i._pointerActive=!0,this.computeValues(_(t)),this.computeInitial(),e.preventScrollAxis&&H(t)!=="mouse"?(i._active=!1,this.setupScrollPrevention(t)):e.delay>0?(this.setupDelayTrigger(t),e.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const e=this.state;e._active=!0,e._preventScroll=!0,e._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const e=this.state,i=this.config;if(!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;const n=_(t);if(document.pointerLockElement===t.target?e._delta=[t.movementX,t.movementY]:(e._delta=a.V.sub(n,e._values),this.computeValues(n)),a.V.addTo(e._movement,e._delta),this.compute(t),e._delayed&&e.intentional){this.timeoutStore.remove("dragDelay"),e.active=!1,this.startPointerDrag(t);return}if(i.preventScrollAxis&&!e._preventScroll)if(e.axis)if(e.axis===i.preventScrollAxis||i.preventScrollAxis==="xy"){e._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{process.env.NODE_ENV==="development"&&console.warn("[@use-gesture]: If you see this message, it's likely that you're using an outdated version of `@react-three/fiber`. \n\nPlease upgrade to the latest version.")}const e=this.state,i=this.config;if(!e._active||!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[n,r]=e._distance;if(e.tap=n<=i.tapsThreshold&&r<=i.tapsThreshold,e.tap&&i.filterTaps)e._force=!0;else{const[u,p]=e._delta,[v,c]=e._movement,[y,d]=i.swipe.velocity,[w,T]=i.swipe.distance,D=i.swipe.duration;if(e.elapsedTime<D){const A=Math.abs(u/e.timeDelta),k=Math.abs(p/e.timeDelta);A>y&&Math.abs(v)>w&&(e.swipe[0]=Math.sign(u)),k>d&&Math.abs(c)>T&&(e.swipe[1]=Math.sign(p))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const e=this.config,i=e.device;if(process.env.NODE_ENV==="development")try{if(i==="pointer"&&e.preventScrollDelay===void 0){const o="uv"in t?t.sourceEvent.currentTarget:t.currentTarget;window.getComputedStyle(o).touchAction==="auto"&&console.warn("[@use-gesture]: The drag target has its `touch-action` style property set to `auto`. It is recommended to add `touch-action: 'none'` so that the drag gesture behaves correctly on touch-enabled devices. For more information read this: https://use-gesture.netlify.app/docs/extras/#touch-action.\n\nThis message will only show in development mode. It won't appear in production. If this is intended, you can ignore it.",o)}}catch{}e.pointerLock&&t.currentTarget.requestPointerLock(),e.pointerCapture||(this.eventStore.add(this.sharedConfig.window,i,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wt(t);const e=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",e),this.eventStore.add(this.sharedConfig.window,"touch","cancel",e),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const e=B[t.key];if(e){const i=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),i._delta=e(this.config.keyboardDisplacement,o),i._keyboardActive=!0,a.V.addTo(i._movement,i._delta),this.compute(t),this.emit()}}keyUp(t){t.key in B&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const e=this.config.device;t(e,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(e,"change",this.pointerMove.bind(this)),t(e,"end",this.pointerUp.bind(this)),t(e,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wt(s){"persist"in s&&typeof s.persist=="function"&&s.persist()}const E=typeof window<"u"&&window.document&&window.document.createElement;function G(){return E&&"ontouchstart"in window}function Tt(){return G()||E&&window.navigator.maxTouchPoints>1}function Dt(){return E&&"onpointerdown"in window}function At(){return E&&"exitPointerLock"in window.document}function It(){try{return"constructor"in GestureEvent}catch{return!1}}const l={isBrowser:E,gesture:It(),touch:G(),touchscreen:Tt(),pointer:Dt(),pointerLock:At()},St=250,kt=180,xt=.5,Ct=50,Ot=250,Vt=10,Y={mouse:0,touch:0,pen:8},$=h(h({},g),{},{device(s,t,{pointer:{touch:e=!1,lock:i=!1,mouse:o=!1}={}}){return this.pointerLock=i&&l.pointerLock,l.touch&&e?"touch":this.pointerLock?"mouse":l.pointer&&!o?"pointer":l.touch?"touch":"mouse"},preventScrollAxis(s,t,{preventScroll:e}){if(this.preventScrollDelay=typeof e=="number"?e:e||e===void 0&&s?St:void 0,!(!l.touchscreen||e===!1))return s||(e!==void 0?"y":void 0)},pointerCapture(s,t,{pointer:{capture:e=!0,buttons:i=1,keys:o=!0}={}}){return this.pointerButtons=i,this.keys=o,!this.pointerLock&&this.device==="pointer"&&e},threshold(s,t,{filterTaps:e=!1,tapsThreshold:i=3,axis:o=void 0}){const n=a.V.toVector(s,e?i:o?1:0);return this.filterTaps=e,this.tapsThreshold=i,n},swipe({velocity:s=xt,distance:t=Ct,duration:e=Ot}={}){return{velocity:this.transform(a.V.toVector(s)),distance:this.transform(a.V.toVector(t)),duration:e}},delay(s=0){switch(s){case!0:return kt;case!1:return 0;default:return s}},axisThreshold(s){return s?h(h({},Y),s):Y},keyboardDisplacement(s=Vt){return s}});process.env.NODE_ENV==="development"&&Object.assign($,{useTouch(s){if(s!==void 0)throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");return NaN},experimental_preventWindowScrollY(s){if(s!==void 0)throw Error("[@use-gesture]: `experimental_preventWindowScrollY` option has been renamed to `preventScroll`.");return NaN},swipeVelocity(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeVelocity` option has been renamed to `swipe.velocity`. Use it as in `{ swipe: { velocity: 0.5 } }`.");return NaN},swipeDistance(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDistance` option has been renamed to `swipe.distance`. Use it as in `{ swipe: { distance: 50 } }`.");return NaN},swipeDuration(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDuration` option has been renamed to `swipe.duration`. Use it as in `{ swipe: { duration: 250 } }`.");return NaN}});function q(s){const[t,e]=s.overflow,[i,o]=s._delta,[n,r]=s._direction;(t<0&&i>0&&n<0||t>0&&i<0&&n>0)&&(s._movement[0]=s._movementBound[0]),(e<0&&o>0&&r<0||e>0&&o<0&&r>0)&&(s._movement[1]=s._movementBound[1])}const Pt=30,Mt=100;class Lt extends z{constructor(...t){super(...t),f(this,"ingKey","pinching"),f(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:e,lastOffset:i}=this.state;t==="wheel"?this.state.offset=a.V.add(e,i):this.state.offset=[(1+e[0])*i[0],e[1]+i[1]]}computeMovement(){const{offset:t,lastOffset:e}=this.state;this.state.movement=[t[0]/e[0],t[1]-e[1]]}axisIntent(){const t=this.state,[e,i]=t._movement;if(!t.axis){const o=Math.abs(e)*Pt-Math.abs(i);o<0?t.axis="angle":o>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const e=this.state,i=this.ctrl.touchIds;if(e._active&&e._touchIds.every(n=>i.has(n))||i.size<2)return;this.start(t),e._touchIds=Array.from(i).slice(0,2);const o=M(t,e._touchIds);o&&this.pinchStart(t,o)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const e=this.state,i=e._pointerEvents,o=this.ctrl.pointerIds;if(e._active&&Array.from(i.keys()).every(r=>o.has(r))||(i.size<2&&i.set(t.pointerId,t),e._pointerEvents.size<2))return;this.start(t);const n=C(...Array.from(i.values()));n&&this.pinchStart(t,n)}pinchStart(t,e){const i=this.state;i.origin=e.origin,this.computeValues([e.distance,e.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const e=M(t,this.state._touchIds);e&&this.pinchMove(t,e)}pointerMove(t){const e=this.state._pointerEvents;if(e.has(t.pointerId)&&e.set(t.pointerId,t),!this.state._active)return;const i=C(...Array.from(e.values()));i&&this.pinchMove(t,i)}pinchMove(t,e){const i=this.state,o=i._values[1],n=e.angle-o;let r=0;Math.abs(n)>270&&(r+=Math.sign(n)),this.computeValues([e.distance,e.angle-360*r]),i.origin=e.origin,i.turns=r,i._movement=[i._values[0]/i._initial[0]-1,i._values[1]-i._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const e=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}e._pointerEvents.has(t.pointerId)&&e._pointerEvents.delete(t.pointerId),e._active&&e._pointerEvents.size<2&&(e._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const e=this.state;e._active||(this.start(t),this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const e=this.state;this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY];const i=e._movement;e._movement=[t.scale-1,t.rotation],e._delta=a.V.sub(e._movement,i),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const e=this.config.modifierKey;e&&(Array.isArray(e)?!e.find(i=>t[i]):!t[e])||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||(t.cancelable&&t.preventDefault(),process.env.NODE_ENV==="development"&&!t.defaultPrevented&&console.warn("[@use-gesture]: To properly support zoom on trackpads, try using the `target` option.\n\nThis message will only appear in development mode."));const i=this.state;i._delta=[-W(t)[1]/Mt*i.offset[0],0],a.V.addTo(i._movement,i._delta),q(i),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const e=this.config.device;e&&(t(e,"start",this[e+"Start"].bind(this)),t(e,"change",this[e+"Move"].bind(this)),t(e,"end",this[e+"End"].bind(this)),t(e,"cancel",this[e+"End"].bind(this)),t("lostPointerCapture","",this[e+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const Nt=h(h({},O),{},{device(s,t,{shared:e,pointer:{touch:i=!1}={}}){if(e.target&&!l.touch&&l.gesture)return"gesture";if(l.touch&&i)return"touch";if(l.touchscreen){if(l.pointer)return"pointer";if(l.touch)return"touch"}},bounds(s,t,{scaleBounds:e={},angleBounds:i={}}){const o=r=>{const u=K(I(e,r),{min:-1/0,max:1/0});return[u.min,u.max]},n=r=>{const u=K(I(i,r),{min:-1/0,max:1/0});return[u.min,u.max]};return typeof e!="function"&&typeof i!="function"?[o(),n()]:r=>[o(r),n(r)]},threshold(s,t,e){return this.lockDirection=e.axis==="lock",a.V.toVector(s,this.lockDirection?[.1,3]:0)},modifierKey(s){return s===void 0?"ctrlKey":s},pinchOnWheel(s=!0){return s}});class Kt extends b{constructor(...t){super(...t),f(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const e=_(t),i=this.state;i._delta=a.V.sub(e,i._values),a.V.addTo(i._movement,i._delta),this.computeValues(e),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const Rt=h(h({},g),{},{mouseOnly:(s=!0)=>s});class Ut extends b{constructor(...t){super(...t),f(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const e=this.state,i=pt(t);e._delta=a.V.sub(i,e._values),a.V.addTo(e._movement,e._delta),this.computeValues(i),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const Bt=g;class Yt extends b{constructor(...t){super(...t),f(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const e=this.state;e._delta=W(t),a.V.addTo(e._movement,e._delta),q(e),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jt=g;class Ht extends b{constructor(...t){super(...t),f(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const e=this.state;if(!e._active)return;e._active=!1;const i=_(t);e._movement=e._delta=a.V.sub(i,e._values),this.computeValues(i),this.compute(t),e.delta=e.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const Xt=h(h({},g),{},{mouseOnly:(s=!0)=>s}),F=new Map,J=new Map;function Wt(s){F.set(s.key,s.engine),J.set(s.key,s.resolver)}const zt={key:"drag",engine:Et,resolver:$},Gt={key:"hover",engine:Ht,resolver:Xt},$t={key:"move",engine:Kt,resolver:Rt},qt={key:"pinch",engine:Lt,resolver:Nt},Ft={key:"scroll",engine:Ut,resolver:Bt},Jt={key:"wheel",engine:Yt,resolver:jt};exports.C=J;exports.E=F;exports.S=l;exports._=h;exports.a=f;exports.b=dt;exports.c=_t;exports.d=at;exports.e=zt;exports.f=qt;exports.h=Gt;exports.i=S;exports.m=$t;exports.p=ht;exports.r=Wt;exports.s=Ft;exports.t=ut;exports.w=Jt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs252.js");var r=o._root,t=function(){return r.Date.now()},e=t;exports.now_1=e;
2
2
  //# sourceMappingURL=index.cjs196.js.map