@performant-software/visualize 3.0.4 → 3.0.5-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (595) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs104.js +1 -1
  5. package/dist/index.cjs105.js +1 -1
  6. package/dist/index.cjs11.js +1 -1
  7. package/dist/index.cjs110.js +1 -1
  8. package/dist/index.cjs111.js +1 -1
  9. package/dist/index.cjs112.js +1 -1
  10. package/dist/index.cjs113.js +1 -1
  11. package/dist/index.cjs116.js +1 -1
  12. package/dist/index.cjs117.js +1 -1
  13. package/dist/index.cjs118.js +1 -1
  14. package/dist/index.cjs12.js +1 -1
  15. package/dist/index.cjs122.js +1 -1
  16. package/dist/index.cjs125.js +1 -1
  17. package/dist/index.cjs129.js +1 -1
  18. package/dist/index.cjs13.js +1 -1
  19. package/dist/index.cjs132.js +1 -1
  20. package/dist/index.cjs140.js +1 -1
  21. package/dist/index.cjs141.js +1 -1
  22. package/dist/index.cjs142.js +1 -1
  23. package/dist/index.cjs143.js +1 -1
  24. package/dist/index.cjs144.js +1 -1
  25. package/dist/index.cjs145.js +1 -1
  26. package/dist/index.cjs146.js +1 -1
  27. package/dist/index.cjs148.js +1 -1
  28. package/dist/index.cjs149.js +1 -1
  29. package/dist/index.cjs15.js +1 -1
  30. package/dist/index.cjs150.js +1 -1
  31. package/dist/index.cjs151.js +1 -1
  32. package/dist/index.cjs152.js +1 -1
  33. package/dist/index.cjs153.js +1 -1
  34. package/dist/index.cjs154.js +1 -1
  35. package/dist/index.cjs155.js +1 -1
  36. package/dist/index.cjs156.js +1 -1
  37. package/dist/index.cjs159.js +1 -1
  38. package/dist/index.cjs16.js +1 -1
  39. package/dist/index.cjs160.js +1 -1
  40. package/dist/index.cjs162.js +1 -1
  41. package/dist/index.cjs163.js +1 -1
  42. package/dist/index.cjs164.js +1 -1
  43. package/dist/index.cjs165.js +1 -1
  44. package/dist/index.cjs166.js +1 -1
  45. package/dist/index.cjs167.js +1 -1
  46. package/dist/index.cjs168.js +1 -1
  47. package/dist/index.cjs169.js +1 -1
  48. package/dist/index.cjs17.js +1 -1
  49. package/dist/index.cjs175.js +1 -1
  50. package/dist/index.cjs176.js +1 -1
  51. package/dist/index.cjs177.js +1 -1
  52. package/dist/index.cjs178.js +1 -1
  53. package/dist/index.cjs179.js +1 -1
  54. package/dist/index.cjs182.js +1 -1
  55. package/dist/index.cjs182.js.map +1 -1
  56. package/dist/index.cjs183.js +1 -1
  57. package/dist/index.cjs183.js.map +1 -1
  58. package/dist/index.cjs184.js +1 -1
  59. package/dist/index.cjs184.js.map +1 -1
  60. package/dist/index.cjs185.js +1 -1
  61. package/dist/index.cjs185.js.map +1 -1
  62. package/dist/index.cjs186.js +1 -1
  63. package/dist/index.cjs186.js.map +1 -1
  64. package/dist/index.cjs187.js +1 -1
  65. package/dist/index.cjs187.js.map +1 -1
  66. package/dist/index.cjs19.js +1 -1
  67. package/dist/index.cjs195.js +3 -1
  68. package/dist/index.cjs195.js.map +1 -1
  69. package/dist/index.cjs196.js +1 -1
  70. package/dist/index.cjs196.js.map +1 -1
  71. package/dist/index.cjs197.js +1 -1
  72. package/dist/index.cjs197.js.map +1 -1
  73. package/dist/index.cjs198.js +1 -1
  74. package/dist/index.cjs198.js.map +1 -1
  75. package/dist/index.cjs199.js +1 -1
  76. package/dist/index.cjs199.js.map +1 -1
  77. package/dist/index.cjs20.js +1 -1
  78. package/dist/index.cjs200.js +1 -1
  79. package/dist/index.cjs200.js.map +1 -1
  80. package/dist/index.cjs201.js +1 -1
  81. package/dist/index.cjs201.js.map +1 -1
  82. package/dist/index.cjs202.js +1 -1
  83. package/dist/index.cjs202.js.map +1 -1
  84. package/dist/index.cjs203.js +1 -1
  85. package/dist/index.cjs203.js.map +1 -1
  86. package/dist/index.cjs204.js +1 -1
  87. package/dist/index.cjs204.js.map +1 -1
  88. package/dist/index.cjs205.js +1 -1
  89. package/dist/index.cjs205.js.map +1 -1
  90. package/dist/index.cjs206.js +1 -1
  91. package/dist/index.cjs206.js.map +1 -1
  92. package/dist/index.cjs207.js +1 -1
  93. package/dist/index.cjs207.js.map +1 -1
  94. package/dist/index.cjs208.js +1 -1
  95. package/dist/index.cjs208.js.map +1 -1
  96. package/dist/index.cjs209.js +1 -1
  97. package/dist/index.cjs209.js.map +1 -1
  98. package/dist/index.cjs21.js +1 -1
  99. package/dist/index.cjs210.js +1 -1
  100. package/dist/index.cjs210.js.map +1 -1
  101. package/dist/index.cjs211.js +1 -1
  102. package/dist/index.cjs211.js.map +1 -1
  103. package/dist/index.cjs212.js +1 -1
  104. package/dist/index.cjs212.js.map +1 -1
  105. package/dist/index.cjs213.js +1 -1
  106. package/dist/index.cjs213.js.map +1 -1
  107. package/dist/index.cjs214.js +1 -1
  108. package/dist/index.cjs214.js.map +1 -1
  109. package/dist/index.cjs215.js +1 -1
  110. package/dist/index.cjs215.js.map +1 -1
  111. package/dist/index.cjs216.js +1 -1
  112. package/dist/index.cjs216.js.map +1 -1
  113. package/dist/index.cjs217.js +1 -1
  114. package/dist/index.cjs217.js.map +1 -1
  115. package/dist/index.cjs218.js +1 -1
  116. package/dist/index.cjs218.js.map +1 -1
  117. package/dist/index.cjs219.js +1 -1
  118. package/dist/index.cjs219.js.map +1 -1
  119. package/dist/index.cjs220.js +1 -1
  120. package/dist/index.cjs220.js.map +1 -1
  121. package/dist/index.cjs221.js +1 -1
  122. package/dist/index.cjs221.js.map +1 -1
  123. package/dist/index.cjs222.js +1 -1
  124. package/dist/index.cjs222.js.map +1 -1
  125. package/dist/index.cjs223.js +1 -1
  126. package/dist/index.cjs223.js.map +1 -1
  127. package/dist/index.cjs224.js +1 -1
  128. package/dist/index.cjs224.js.map +1 -1
  129. package/dist/index.cjs225.js +1 -1
  130. package/dist/index.cjs225.js.map +1 -1
  131. package/dist/index.cjs226.js +1 -1
  132. package/dist/index.cjs226.js.map +1 -1
  133. package/dist/index.cjs227.js +1 -1
  134. package/dist/index.cjs227.js.map +1 -1
  135. package/dist/index.cjs228.js +1 -1
  136. package/dist/index.cjs228.js.map +1 -1
  137. package/dist/index.cjs229.js +1 -1
  138. package/dist/index.cjs229.js.map +1 -1
  139. package/dist/index.cjs230.js +1 -1
  140. package/dist/index.cjs230.js.map +1 -1
  141. package/dist/index.cjs231.js +1 -1
  142. package/dist/index.cjs231.js.map +1 -1
  143. package/dist/index.cjs232.js +1 -1
  144. package/dist/index.cjs232.js.map +1 -1
  145. package/dist/index.cjs233.js +1 -1
  146. package/dist/index.cjs233.js.map +1 -1
  147. package/dist/index.cjs234.js +1 -3
  148. package/dist/index.cjs234.js.map +1 -1
  149. package/dist/index.cjs235.js +1 -1
  150. package/dist/index.cjs235.js.map +1 -1
  151. package/dist/index.cjs236.js +1 -1
  152. package/dist/index.cjs236.js.map +1 -1
  153. package/dist/index.cjs237.js +1 -1
  154. package/dist/index.cjs237.js.map +1 -1
  155. package/dist/index.cjs238.js +1 -1
  156. package/dist/index.cjs238.js.map +1 -1
  157. package/dist/index.cjs239.js +1 -1
  158. package/dist/index.cjs239.js.map +1 -1
  159. package/dist/index.cjs240.js +1 -1
  160. package/dist/index.cjs240.js.map +1 -1
  161. package/dist/index.cjs241.js +1 -2
  162. package/dist/index.cjs241.js.map +1 -1
  163. package/dist/index.cjs242.js +1 -1
  164. package/dist/index.cjs242.js.map +1 -1
  165. package/dist/index.cjs243.js +1 -1
  166. package/dist/index.cjs243.js.map +1 -1
  167. package/dist/index.cjs244.js +2 -1
  168. package/dist/index.cjs244.js.map +1 -1
  169. package/dist/index.cjs25.js +1 -1
  170. package/dist/index.cjs252.js +1 -1
  171. package/dist/index.cjs252.js.map +1 -1
  172. package/dist/index.cjs253.js +1 -1
  173. package/dist/index.cjs253.js.map +1 -1
  174. package/dist/index.cjs254.js +1 -1
  175. package/dist/index.cjs254.js.map +1 -1
  176. package/dist/index.cjs255.js +1 -1
  177. package/dist/index.cjs255.js.map +1 -1
  178. package/dist/index.cjs256.js +1 -1
  179. package/dist/index.cjs256.js.map +1 -1
  180. package/dist/index.cjs257.js +1 -1
  181. package/dist/index.cjs257.js.map +1 -1
  182. package/dist/index.cjs258.js +1 -1
  183. package/dist/index.cjs258.js.map +1 -1
  184. package/dist/index.cjs259.js +1 -1
  185. package/dist/index.cjs259.js.map +1 -1
  186. package/dist/index.cjs26.js +1 -1
  187. package/dist/index.cjs260.js +1 -1
  188. package/dist/index.cjs261.js +1 -1
  189. package/dist/index.cjs261.js.map +1 -1
  190. package/dist/index.cjs262.js +1 -1
  191. package/dist/index.cjs262.js.map +1 -1
  192. package/dist/index.cjs263.js +1 -1
  193. package/dist/index.cjs263.js.map +1 -1
  194. package/dist/index.cjs264.js +1 -1
  195. package/dist/index.cjs264.js.map +1 -1
  196. package/dist/index.cjs265.js +1 -1
  197. package/dist/index.cjs265.js.map +1 -1
  198. package/dist/index.cjs266.js +1 -1
  199. package/dist/index.cjs266.js.map +1 -1
  200. package/dist/index.cjs267.js +1 -1
  201. package/dist/index.cjs267.js.map +1 -1
  202. package/dist/index.cjs268.js +1 -1
  203. package/dist/index.cjs268.js.map +1 -1
  204. package/dist/index.cjs27.js +1 -1
  205. package/dist/index.cjs272.js +1 -1
  206. package/dist/index.cjs272.js.map +1 -1
  207. package/dist/index.cjs273.js +1 -1
  208. package/dist/index.cjs273.js.map +1 -1
  209. package/dist/index.cjs274.js +1 -1
  210. package/dist/index.cjs274.js.map +1 -1
  211. package/dist/index.cjs275.js +1 -1
  212. package/dist/index.cjs275.js.map +1 -1
  213. package/dist/index.cjs276.js +1 -1
  214. package/dist/index.cjs276.js.map +1 -1
  215. package/dist/index.cjs277.js +1 -1
  216. package/dist/index.cjs277.js.map +1 -1
  217. package/dist/index.cjs278.js +1 -1
  218. package/dist/index.cjs278.js.map +1 -1
  219. package/dist/index.cjs279.js +1 -1
  220. package/dist/index.cjs279.js.map +1 -1
  221. package/dist/index.cjs280.js +1 -1
  222. package/dist/index.cjs280.js.map +1 -1
  223. package/dist/index.cjs281.js +1 -1
  224. package/dist/index.cjs281.js.map +1 -1
  225. package/dist/index.cjs282.js +1 -1
  226. package/dist/index.cjs282.js.map +1 -1
  227. package/dist/index.cjs283.js +1 -1
  228. package/dist/index.cjs288.js +1 -1
  229. package/dist/index.cjs289.js +1 -1
  230. package/dist/index.cjs29.js +1 -1
  231. package/dist/index.cjs291.js +1 -1
  232. package/dist/index.cjs292.js +1 -1
  233. package/dist/index.cjs294.js +1 -1
  234. package/dist/index.cjs30.js +1 -1
  235. package/dist/index.cjs32.js +1 -1
  236. package/dist/index.cjs34.js +1 -1
  237. package/dist/index.cjs35.js +1 -1
  238. package/dist/index.cjs36.js +1 -1
  239. package/dist/index.cjs37.js +1 -1
  240. package/dist/index.cjs38.js +1 -1
  241. package/dist/index.cjs39.js +1 -1
  242. package/dist/index.cjs40.js +1 -1
  243. package/dist/index.cjs41.js +1 -1
  244. package/dist/index.cjs42.js +1 -1
  245. package/dist/index.cjs43.js +1 -1
  246. package/dist/index.cjs44.js +1 -1
  247. package/dist/index.cjs45.js +1 -1
  248. package/dist/index.cjs46.js +1 -1
  249. package/dist/index.cjs47.js +1 -1
  250. package/dist/index.cjs48.js +1 -1
  251. package/dist/index.cjs49.js +1 -1
  252. package/dist/index.cjs54.js +1 -1
  253. package/dist/index.cjs58.js +1 -1
  254. package/dist/index.cjs65.js +1 -5
  255. package/dist/index.cjs65.js.map +1 -1
  256. package/dist/index.cjs66.js +1 -1
  257. package/dist/index.cjs66.js.map +1 -1
  258. package/dist/index.cjs67.js +1 -1
  259. package/dist/index.cjs67.js.map +1 -1
  260. package/dist/index.cjs68.js +1 -1
  261. package/dist/index.cjs68.js.map +1 -1
  262. package/dist/index.cjs69.js +1 -1
  263. package/dist/index.cjs69.js.map +1 -1
  264. package/dist/index.cjs7.js +1 -1
  265. package/dist/index.cjs70.js +1 -1
  266. package/dist/index.cjs70.js.map +1 -1
  267. package/dist/index.cjs71.js +1 -1
  268. package/dist/index.cjs71.js.map +1 -1
  269. package/dist/index.cjs72.js +1 -1
  270. package/dist/index.cjs72.js.map +1 -1
  271. package/dist/index.cjs73.js +1 -1
  272. package/dist/index.cjs73.js.map +1 -1
  273. package/dist/index.cjs74.js +1 -1
  274. package/dist/index.cjs74.js.map +1 -1
  275. package/dist/index.cjs75.js +1 -1
  276. package/dist/index.cjs75.js.map +1 -1
  277. package/dist/index.cjs76.js +5 -1
  278. package/dist/index.cjs76.js.map +1 -1
  279. package/dist/index.cjs77.js +1 -1
  280. package/dist/index.cjs77.js.map +1 -1
  281. package/dist/index.cjs78.js +1 -1
  282. package/dist/index.cjs78.js.map +1 -1
  283. package/dist/index.cjs79.js +1 -1
  284. package/dist/index.cjs79.js.map +1 -1
  285. package/dist/index.cjs8.js +1 -1
  286. package/dist/index.cjs81.js +1 -1
  287. package/dist/index.cjs88.js +1 -1
  288. package/dist/index.cjs89.js +1 -1
  289. package/dist/index.cjs9.js +1 -1
  290. package/dist/index.cjs90.js +1 -1
  291. package/dist/index.cjs91.js +1 -1
  292. package/dist/index.cjs92.js +1 -1
  293. package/dist/index.cjs93.js +1 -1
  294. package/dist/index.cjs94.js +1 -1
  295. package/dist/index.cjs95.js +1 -1
  296. package/dist/index.cjs96.js +1 -1
  297. package/dist/index.cjs99.js +1 -1
  298. package/dist/index.es100.js +1 -1
  299. package/dist/index.es102.js +3 -3
  300. package/dist/index.es103.js +1 -1
  301. package/dist/index.es104.js +2 -2
  302. package/dist/index.es105.js +1 -1
  303. package/dist/index.es11.js +2 -2
  304. package/dist/index.es110.js +1 -1
  305. package/dist/index.es111.js +1 -1
  306. package/dist/index.es112.js +1 -1
  307. package/dist/index.es113.js +1 -1
  308. package/dist/index.es116.js +2 -2
  309. package/dist/index.es117.js +2 -2
  310. package/dist/index.es118.js +1 -1
  311. package/dist/index.es12.js +2 -2
  312. package/dist/index.es122.js +2 -2
  313. package/dist/index.es125.js +1 -1
  314. package/dist/index.es129.js +1 -1
  315. package/dist/index.es13.js +2 -2
  316. package/dist/index.es132.js +1 -1
  317. package/dist/index.es140.js +1 -1
  318. package/dist/index.es141.js +1 -1
  319. package/dist/index.es142.js +1 -1
  320. package/dist/index.es143.js +2 -2
  321. package/dist/index.es144.js +1 -1
  322. package/dist/index.es145.js +1 -1
  323. package/dist/index.es146.js +1 -1
  324. package/dist/index.es148.js +2 -2
  325. package/dist/index.es149.js +2 -2
  326. package/dist/index.es15.js +1 -1
  327. package/dist/index.es150.js +1 -1
  328. package/dist/index.es151.js +1 -1
  329. package/dist/index.es152.js +1 -1
  330. package/dist/index.es153.js +1 -1
  331. package/dist/index.es154.js +2 -2
  332. package/dist/index.es155.js +2 -2
  333. package/dist/index.es156.js +1 -1
  334. package/dist/index.es159.js +2 -2
  335. package/dist/index.es16.js +2 -2
  336. package/dist/index.es160.js +2 -2
  337. package/dist/index.es162.js +2 -2
  338. package/dist/index.es163.js +1 -1
  339. package/dist/index.es164.js +2 -2
  340. package/dist/index.es165.js +1 -1
  341. package/dist/index.es166.js +2 -2
  342. package/dist/index.es167.js +1 -1
  343. package/dist/index.es168.js +1 -1
  344. package/dist/index.es169.js +1 -1
  345. package/dist/index.es17.js +2 -2
  346. package/dist/index.es175.js +1 -1
  347. package/dist/index.es176.js +2 -2
  348. package/dist/index.es177.js +1 -1
  349. package/dist/index.es178.js +1 -1
  350. package/dist/index.es179.js +1 -1
  351. package/dist/index.es182.js +54 -15
  352. package/dist/index.es182.js.map +1 -1
  353. package/dist/index.es183.js +28 -52
  354. package/dist/index.es183.js.map +1 -1
  355. package/dist/index.es184.js +38 -53
  356. package/dist/index.es184.js.map +1 -1
  357. package/dist/index.es185.js +15 -54
  358. package/dist/index.es185.js.map +1 -1
  359. package/dist/index.es186.js +52 -28
  360. package/dist/index.es186.js.map +1 -1
  361. package/dist/index.es187.js +53 -38
  362. package/dist/index.es187.js.map +1 -1
  363. package/dist/index.es19.js +1 -1
  364. package/dist/index.es195.js +240 -2
  365. package/dist/index.es195.js.map +1 -1
  366. package/dist/index.es196.js +1017 -12
  367. package/dist/index.es196.js.map +1 -1
  368. package/dist/index.es197.js +2 -11
  369. package/dist/index.es197.js.map +1 -1
  370. package/dist/index.es198.js +12 -7
  371. package/dist/index.es198.js.map +1 -1
  372. package/dist/index.es199.js +9 -8
  373. package/dist/index.es199.js.map +1 -1
  374. package/dist/index.es20.js +1 -1
  375. package/dist/index.es200.js +7 -7
  376. package/dist/index.es200.js.map +1 -1
  377. package/dist/index.es201.js +9 -5
  378. package/dist/index.es201.js.map +1 -1
  379. package/dist/index.es202.js +7 -15
  380. package/dist/index.es202.js.map +1 -1
  381. package/dist/index.es203.js +4 -4
  382. package/dist/index.es203.js.map +1 -1
  383. package/dist/index.es204.js +15 -6
  384. package/dist/index.es204.js.map +1 -1
  385. package/dist/index.es205.js +5 -6
  386. package/dist/index.es205.js.map +1 -1
  387. package/dist/index.es206.js +5 -5
  388. package/dist/index.es206.js.map +1 -1
  389. package/dist/index.es207.js +6 -7
  390. package/dist/index.es207.js.map +1 -1
  391. package/dist/index.es208.js +6 -4
  392. package/dist/index.es208.js.map +1 -1
  393. package/dist/index.es209.js +8 -4
  394. package/dist/index.es209.js.map +1 -1
  395. package/dist/index.es21.js +1 -1
  396. package/dist/index.es210.js +5 -3
  397. package/dist/index.es210.js.map +1 -1
  398. package/dist/index.es211.js +4 -3
  399. package/dist/index.es211.js.map +1 -1
  400. package/dist/index.es212.js +3 -9
  401. package/dist/index.es212.js.map +1 -1
  402. package/dist/index.es213.js +3 -22
  403. package/dist/index.es213.js.map +1 -1
  404. package/dist/index.es214.js +8 -21
  405. package/dist/index.es214.js.map +1 -1
  406. package/dist/index.es215.js +19 -11
  407. package/dist/index.es215.js.map +1 -1
  408. package/dist/index.es216.js +19 -14
  409. package/dist/index.es216.js.map +1 -1
  410. package/dist/index.es217.js +13 -5
  411. package/dist/index.es217.js.map +1 -1
  412. package/dist/index.es218.js +16 -8
  413. package/dist/index.es218.js.map +1 -1
  414. package/dist/index.es219.js +5 -6
  415. package/dist/index.es219.js.map +1 -1
  416. package/dist/index.es220.js +7 -20
  417. package/dist/index.es220.js.map +1 -1
  418. package/dist/index.es221.js +5 -8
  419. package/dist/index.es221.js.map +1 -1
  420. package/dist/index.es222.js +22 -9
  421. package/dist/index.es222.js.map +1 -1
  422. package/dist/index.es223.js +10 -4
  423. package/dist/index.es223.js.map +1 -1
  424. package/dist/index.es224.js +9 -11
  425. package/dist/index.es224.js.map +1 -1
  426. package/dist/index.es225.js +4 -9
  427. package/dist/index.es225.js.map +1 -1
  428. package/dist/index.es226.js +9 -21
  429. package/dist/index.es226.js.map +1 -1
  430. package/dist/index.es227.js +8 -11
  431. package/dist/index.es227.js.map +1 -1
  432. package/dist/index.es228.js +22 -18
  433. package/dist/index.es228.js.map +1 -1
  434. package/dist/index.es229.js +12 -4
  435. package/dist/index.es229.js.map +1 -1
  436. package/dist/index.es230.js +17 -16
  437. package/dist/index.es230.js.map +1 -1
  438. package/dist/index.es231.js +4 -12
  439. package/dist/index.es231.js.map +1 -1
  440. package/dist/index.es232.js +17 -3
  441. package/dist/index.es232.js.map +1 -1
  442. package/dist/index.es233.js +11 -4
  443. package/dist/index.es233.js.map +1 -1
  444. package/dist/index.es234.js +3 -239
  445. package/dist/index.es234.js.map +1 -1
  446. package/dist/index.es235.js +4 -1017
  447. package/dist/index.es235.js.map +1 -1
  448. package/dist/index.es236.js +5 -6
  449. package/dist/index.es236.js.map +1 -1
  450. package/dist/index.es237.js +5 -6
  451. package/dist/index.es237.js.map +1 -1
  452. package/dist/index.es238.js +19 -3
  453. package/dist/index.es238.js.map +1 -1
  454. package/dist/index.es239.js +6 -4
  455. package/dist/index.es239.js.map +1 -1
  456. package/dist/index.es240.js +5 -12
  457. package/dist/index.es240.js.map +1 -1
  458. package/dist/index.es241.js +4 -4
  459. package/dist/index.es241.js.map +1 -1
  460. package/dist/index.es242.js +4 -5
  461. package/dist/index.es242.js.map +1 -1
  462. package/dist/index.es243.js +13 -5
  463. package/dist/index.es243.js.map +1 -1
  464. package/dist/index.es244.js +4 -20
  465. package/dist/index.es244.js.map +1 -1
  466. package/dist/index.es25.js +2 -2
  467. package/dist/index.es252.js +8 -3
  468. package/dist/index.es252.js.map +1 -1
  469. package/dist/index.es253.js +3 -6
  470. package/dist/index.es253.js.map +1 -1
  471. package/dist/index.es254.js +4 -6
  472. package/dist/index.es254.js.map +1 -1
  473. package/dist/index.es255.js +29 -7
  474. package/dist/index.es255.js.map +1 -1
  475. package/dist/index.es256.js +35 -4
  476. package/dist/index.es256.js.map +1 -1
  477. package/dist/index.es257.js +10 -2
  478. package/dist/index.es257.js.map +1 -1
  479. package/dist/index.es258.js +4 -6
  480. package/dist/index.es258.js.map +1 -1
  481. package/dist/index.es259.js +8 -8
  482. package/dist/index.es259.js.map +1 -1
  483. package/dist/index.es26.js +3 -3
  484. package/dist/index.es260.js +1 -1
  485. package/dist/index.es261.js +3 -29
  486. package/dist/index.es261.js.map +1 -1
  487. package/dist/index.es262.js +7 -35
  488. package/dist/index.es262.js.map +1 -1
  489. package/dist/index.es263.js +8 -10
  490. package/dist/index.es263.js.map +1 -1
  491. package/dist/index.es264.js +7 -4
  492. package/dist/index.es264.js.map +1 -1
  493. package/dist/index.es265.js +4 -8
  494. package/dist/index.es265.js.map +1 -1
  495. package/dist/index.es266.js +2 -3
  496. package/dist/index.es266.js.map +1 -1
  497. package/dist/index.es267.js +5 -6
  498. package/dist/index.es267.js.map +1 -1
  499. package/dist/index.es268.js +7 -7
  500. package/dist/index.es268.js.map +1 -1
  501. package/dist/index.es27.js +1 -1
  502. package/dist/index.es272.js +5 -8
  503. package/dist/index.es272.js.map +1 -1
  504. package/dist/index.es273.js +13 -9
  505. package/dist/index.es273.js.map +1 -1
  506. package/dist/index.es274.js +2 -5
  507. package/dist/index.es274.js.map +1 -1
  508. package/dist/index.es275.js +8 -5
  509. package/dist/index.es275.js.map +1 -1
  510. package/dist/index.es276.js +9 -13
  511. package/dist/index.es276.js.map +1 -1
  512. package/dist/index.es277.js +5 -2
  513. package/dist/index.es277.js.map +1 -1
  514. package/dist/index.es278.js +3 -68
  515. package/dist/index.es278.js.map +1 -1
  516. package/dist/index.es279.js +66 -16
  517. package/dist/index.es279.js.map +1 -1
  518. package/dist/index.es280.js +16 -5
  519. package/dist/index.es280.js.map +1 -1
  520. package/dist/index.es281.js +7 -2
  521. package/dist/index.es281.js.map +1 -1
  522. package/dist/index.es282.js +2 -3
  523. package/dist/index.es282.js.map +1 -1
  524. package/dist/index.es283.js +1 -1
  525. package/dist/index.es288.js +1 -1
  526. package/dist/index.es289.js +1 -1
  527. package/dist/index.es29.js +1 -1
  528. package/dist/index.es291.js +3 -3
  529. package/dist/index.es292.js +1 -1
  530. package/dist/index.es294.js +1 -1
  531. package/dist/index.es30.js +1 -1
  532. package/dist/index.es32.js +1 -1
  533. package/dist/index.es34.js +3 -3
  534. package/dist/index.es35.js +1 -1
  535. package/dist/index.es36.js +4 -4
  536. package/dist/index.es37.js +11 -11
  537. package/dist/index.es38.js +2 -2
  538. package/dist/index.es39.js +3 -3
  539. package/dist/index.es40.js +3 -3
  540. package/dist/index.es41.js +3 -3
  541. package/dist/index.es42.js +3 -3
  542. package/dist/index.es43.js +3 -3
  543. package/dist/index.es44.js +3 -3
  544. package/dist/index.es45.js +3 -3
  545. package/dist/index.es46.js +3 -3
  546. package/dist/index.es47.js +3 -3
  547. package/dist/index.es48.js +3 -3
  548. package/dist/index.es49.js +3 -3
  549. package/dist/index.es54.js +2 -2
  550. package/dist/index.es58.js +9 -9
  551. package/dist/index.es65.js +33 -40
  552. package/dist/index.es65.js.map +1 -1
  553. package/dist/index.es66.js +93 -35
  554. package/dist/index.es66.js.map +1 -1
  555. package/dist/index.es67.js +8 -22
  556. package/dist/index.es67.js.map +1 -1
  557. package/dist/index.es68.js +4 -84
  558. package/dist/index.es68.js.map +1 -1
  559. package/dist/index.es69.js +11 -31
  560. package/dist/index.es69.js.map +1 -1
  561. package/dist/index.es7.js +1 -1
  562. package/dist/index.es70.js +5 -94
  563. package/dist/index.es70.js.map +1 -1
  564. package/dist/index.es71.js +14 -8
  565. package/dist/index.es71.js.map +1 -1
  566. package/dist/index.es72.js +9 -4
  567. package/dist/index.es72.js.map +1 -1
  568. package/dist/index.es73.js +5 -12
  569. package/dist/index.es73.js.map +1 -1
  570. package/dist/index.es74.js +9 -5
  571. package/dist/index.es74.js.map +1 -1
  572. package/dist/index.es75.js +7 -14
  573. package/dist/index.es75.js.map +1 -1
  574. package/dist/index.es76.js +40 -10
  575. package/dist/index.es76.js.map +1 -1
  576. package/dist/index.es77.js +36 -5
  577. package/dist/index.es77.js.map +1 -1
  578. package/dist/index.es78.js +22 -9
  579. package/dist/index.es78.js.map +1 -1
  580. package/dist/index.es79.js +84 -7
  581. package/dist/index.es79.js.map +1 -1
  582. package/dist/index.es8.js +1 -1
  583. package/dist/index.es81.js +1 -1
  584. package/dist/index.es88.js +1 -1
  585. package/dist/index.es89.js +1 -1
  586. package/dist/index.es9.js +2 -2
  587. package/dist/index.es90.js +1 -1
  588. package/dist/index.es91.js +1 -1
  589. package/dist/index.es92.js +1 -1
  590. package/dist/index.es93.js +1 -1
  591. package/dist/index.es94.js +1 -1
  592. package/dist/index.es95.js +1 -1
  593. package/dist/index.es96.js +1 -1
  594. package/dist/index.es99.js +1 -1
  595. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es185.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":";;;;AAAA,IAAIA,IAAWC,GACXC,IAAMC,GACNC,IAAWC,GAGXC,IAAkB,uBAGlBC,IAAY,KAAK,KACjBC,IAAY,KAAK;AAwDrB,SAASC,EAASC,GAAMC,GAAMC,GAAS;AACrC,MAAIC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,IAAiB,GACjBC,IAAU,IACVC,IAAS,IACTC,IAAW;AAEX,MAAA,OAAOZ,KAAQ;AACX,UAAA,IAAI,UAAUJ,CAAe;AAE9B,EAAAK,IAAAP,EAASO,CAAI,KAAK,GACrBX,EAASY,CAAO,MACRQ,IAAA,CAAC,CAACR,EAAQ,SACpBS,IAAS,aAAaT,GACZG,IAAAM,IAASd,EAAUH,EAASQ,EAAQ,OAAO,KAAK,GAAGD,CAAI,IAAII,GACrEO,IAAW,cAAcV,IAAU,CAAC,CAACA,EAAQ,WAAWU;AAG1D,WAASC,EAAWC,GAAM;AACpB,QAAAC,IAAOZ,GACPa,IAAUZ;AAEd,WAAAD,IAAWC,IAAW,QACLK,IAAAK,GACRR,IAAAN,EAAK,M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AChCY,EAAWL,CAAY;AAAA,IAElC;AACA,WAAID,MAAY,WACJA,IAAA,WAAWW,GAAcjB,CAAI,IAElCK;AAAA,EACT;AACA,SAAAqB,EAAU,SAASF,GACnBE,EAAU,QAAQD,GACXC;AACT;AAEA,IAAAE,IAAiB9B;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es185.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":"AAAO,SAASA,EAAKC,GAAG;AACf,SAAA,QAAQA,KAAK,OAAO,SAASA,EAAE,MAAO,WAAWA,KAAK,OAAO,SAASA,EAAE,IAAI;AACrF;AACO,SAASC,EAAKD,GAAG;AACf,SAAA,QAAQA,KAAK,OAAO,SAASA,EAAE,MAAO,WAAWA,KAAK,OAAO,SAASA,EAAE,IAAI;AACrF;AACO,SAASE,EAAUF,GAAG;AACpB,SAAAA,KAAK,OAAO,SAASA,EAAE;AAChC;AACO,SAASG,EAAUH,GAAG;AACpB,SAAAA,KAAK,OAAO,SAASA,EAAE;AAChC;","x_google_ignoreList":[0]}
@@ -1,32 +1,56 @@
1
- import { ResizeObserverController as t } from "./index.es261.js";
2
- import { isElement as o } from "./index.es262.js";
3
- var u = function() {
4
- function r(e) {
5
- if (arguments.length === 0)
6
- throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
7
- if (typeof e != "function")
8
- throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
9
- t.connect(this, e);
1
+ import { slice as g } from "./index.es266.js";
2
+ import p from "./index.es267.js";
3
+ import { x as v, y as h } from "./index.es268.js";
4
+ import c from "./index.es265.js";
5
+ import k from "./index.es187.js";
6
+ function T(n) {
7
+ return n.source;
8
+ }
9
+ function d(n) {
10
+ return n.target;
11
+ }
12
+ function f(n) {
13
+ var e = T, r = d, i = v, o = h, a = null;
14
+ function u() {
15
+ var t, l = g.call(arguments), m = e.apply(this, l), s = r.apply(this, l);
16
+ if (a || (a = t = k()), n(a, +i.apply(this, (l[0] = m, l)), +o.apply(this, l), +i.apply(this, (l[0] = s, l)), +o.apply(this, l)), t)
17
+ return a = null, t + "" || null;
10
18
  }
11
- return r.prototype.observe = function(e, n) {
12
- if (arguments.length === 0)
13
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
14
- if (!o(e))
15
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
16
- t.observe(this, e, n);
17
- }, r.prototype.unobserve = function(e) {
18
- if (arguments.length === 0)
19
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
20
- if (!o(e))
21
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
22
- t.unobserve(this, e);
23
- }, r.prototype.disconnect = function() {
24
- t.disconnect(this);
25
- }, r.toString = function() {
26
- return "function ResizeObserver () { [polyfill code] }";
27
- }, r;
28
- }();
19
+ return u.source = function(t) {
20
+ return arguments.length ? (e = t, u) : e;
21
+ }, u.target = function(t) {
22
+ return arguments.length ? (r = t, u) : r;
23
+ }, u.x = function(t) {
24
+ return arguments.length ? (i = typeof t == "function" ? t : p(+t), u) : i;
25
+ }, u.y = function(t) {
26
+ return arguments.length ? (o = typeof t == "function" ? t : p(+t), u) : o;
27
+ }, u.context = function(t) {
28
+ return arguments.length ? (a = t ?? null, u) : a;
29
+ }, u;
30
+ }
31
+ function z(n, e, r, i, o) {
32
+ n.moveTo(e, r), n.bezierCurveTo(e = (e + i) / 2, r, e, o, i, o);
33
+ }
34
+ function b(n, e, r, i, o) {
35
+ n.moveTo(e, r), n.bezierCurveTo(e, r = (r + o) / 2, i, r, i, o);
36
+ }
37
+ function y(n, e, r, i, o) {
38
+ var a = c(e, r), u = c(e, r = (r + o) / 2), t = c(i, r), l = c(i, o);
39
+ n.moveTo(a[0], a[1]), n.bezierCurveTo(u[0], u[1], t[0], t[1], l[0], l[1]);
40
+ }
41
+ function S() {
42
+ return f(z);
43
+ }
44
+ function j() {
45
+ return f(b);
46
+ }
47
+ function q() {
48
+ var n = f(y);
49
+ return n.angle = n.x, delete n.x, n.radius = n.y, delete n.y, n;
50
+ }
29
51
  export {
30
- u as ResizeObserver
52
+ S as linkHorizontal,
53
+ q as linkRadial,
54
+ j as linkVertical
31
55
  };
32
56
  //# sourceMappingURL=index.es186.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es186.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":";;AAEA,IAAIA,IAAkB,WAAY;AAC9B,WAASA,EAAeC,GAAU;AAC1B,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,gFAAgF;AAEpG,QAAA,OAAOA,KAAa;AACd,YAAA,IAAI,UAAU,+FAA+F;AAE9F,IAAAC,EAAA,QAAQ,MAAMD,CAAQ;AAAA,EACnD;AACAD,SAAAA,EAAe,UAAU,UAAU,SAAUG,GAAQC,GAAS;AACtD,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,2FAA2F;AAE/G,QAAA,CAACC,EAAUF,CAAM;AACX,YAAA,IAAI,UAAU,sFAAsF;AAErF,IAAAD,EAAA,QAAQ,MAAMC,GAAQC,CAAO;AAAA,EAAA,GAE1DJ,EAAe,UAAU,YAAY,SAAUG,GAAQ;AAC/C,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,6FAA6F;AAEjH,QAAA,CAACE,EAAUF,CAAM;AACX,YAAA,IAAI,UAAU,wFAAwF;AAEvF,IAAAD,EAAA,UAAU,MAAMC,CAAM;AAAA,EAAA,GAEnDH,EAAe,UAAU,aAAa,WAAY;AAC9C,IAAAE,EAAyB,WAAW,IAAI;AAAA,EAAA,GAE5CF,EAAe,WAAW,WAAY;AAC3B,WAAA;AAAA,EAAA,GAEJA;AACX,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es186.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","p2","p3","linkHorizontal","linkVertical","linkRadial","l"],"mappings":";;;;;AAMA,SAASA,EAAWC,GAAG;AACrB,SAAOA,EAAE;AACX;AAEA,SAASC,EAAWD,GAAG;AACrB,SAAOA,EAAE;AACX;AAEA,SAASE,EAAKC,GAAO;AACf,MAAAC,IAASL,GACTM,IAASJ,GACTK,IAAIC,GACJC,IAAIC,GACJC,IAAU;AAEd,WAASR,IAAO;AACd,QAAIS,GAAQC,IAAOC,EAAM,KAAK,SAAS,GAAGC,IAAIV,EAAO,MAAM,MAAMQ,CAAI,GAAGG,IAAIV,EAAO,MAAM,MAAMO,CAAI;AAG/F,QAFCF,MAASA,IAAUC,IAASK,MACjCb,EAAMO,GAAS,CAACJ,EAAE,MAAM,OAAOM,EAAK,CAAC,IAAIE,GAAGF,EAAK,GAAG,CAACJ,EAAE,MAAM,MAAMI,CAAI,GAAG,CAACN,EAAE,MAAM,OAAOM,EAAK,CAAC,IAAIG,GAAGH,EAAK,GAAG,CAACJ,EAAE,MAAM,MAAMI,CAAI,CAAC,GAC/HD;AAAe,aAAAD,IAAU,MAAMC,IAAS,MAAM;AAAA,EACpD;AAEAT,SAAAA,EAAK,SAAS,SAASe,GAAG;AACxB,WAAO,UAAU,UAAUb,IAASa,GAAGf,KAAQE;AAAA,EAAA,GAGjDF,EAAK,SAAS,SAASe,GAAG;AACxB,WAAO,UAAU,UAAUZ,IAASY,GAAGf,KAAQG;AAAA,EAAA,GAGjDH,EAAK,IAAI,SAASe,GAAG;AACZ,WAAA,UAAU,UAAUX,IAAI,OAAOW,KAAM,aAAaA,IAAIC,EAAS,CAACD,CAAC,GAAGf,KAAQI;AAAAA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,QAAQA,EAAE,GAAG,OAAOA,EAAE,GACxBA,EAAE,SAASA,EAAE,GAAG,OAAOA,EAAE,GAClBA;AACT;","x_google_ignoreList":[0]}
@@ -1,43 +1,58 @@
1
- import { ResizeObserverBoxOptions as z } from "./index.es275.js";
2
- import { ResizeObserverSize as X } from "./index.es265.js";
3
- import { DOMRectReadOnly as P } from "./index.es276.js";
4
- import { isHidden as A, isSVG as I } from "./index.es262.js";
5
- import { freeze as O } from "./index.es264.js";
6
- import { global as R } from "./index.es277.js";
7
- var l = /* @__PURE__ */ new WeakMap(), S = /auto|scroll/, G = /^tb|vertical/, N = /msie|trident/i.test(R.navigator && R.navigator.userAgent), i = function(e) {
8
- return parseFloat(e || "0");
9
- }, a = function(e, t, r) {
10
- return e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = !1), new X((r ? t : e) || 0, (r ? e : t) || 0);
11
- }, w = O({
12
- devicePixelContentBoxSize: a(),
13
- borderBoxSize: a(),
14
- contentBoxSize: a(),
15
- contentRect: new P(0, 0, 0, 0)
16
- }), F = function(e, t) {
17
- if (t === void 0 && (t = !1), l.has(e) && !t)
18
- return l.get(e);
19
- if (A(e))
20
- return l.set(e, w), w;
21
- var r = getComputedStyle(e), o = I(e) && e.ownerSVGElement && e.getBBox(), d = !N && r.boxSizing === "border-box", n = G.test(r.writingMode || ""), s = !o && S.test(r.overflowY || ""), W = !o && S.test(r.overflowX || ""), B = o ? 0 : i(r.paddingTop), T = o ? 0 : i(r.paddingRight), C = o ? 0 : i(r.paddingBottom), f = o ? 0 : i(r.paddingLeft), E = o ? 0 : i(r.borderTopWidth), H = o ? 0 : i(r.borderRightWidth), L = o ? 0 : i(r.borderBottomWidth), M = o ? 0 : i(r.borderLeftWidth), p = f + T, g = B + C, h = M + H, x = E + L, b = W ? e.offsetHeight - x - e.clientHeight : 0, m = s ? e.offsetWidth - h - e.clientWidth : 0, _ = d ? p + h : 0, y = d ? g + x : 0, v = o ? o.width : i(r.width) - _ - m, c = o ? o.height : i(r.height) - y - b, D = v + p + m + h, V = c + g + b + x, u = O({
22
- devicePixelContentBoxSize: a(Math.round(v * devicePixelRatio), Math.round(c * devicePixelRatio), n),
23
- borderBoxSize: a(D, V, n),
24
- contentBoxSize: a(v, c, n),
25
- contentRect: new P(f, B, v, c)
26
- });
27
- return l.set(e, u), u;
28
- }, Q = function(e, t, r) {
29
- var o = F(e, r), d = o.borderBoxSize, n = o.contentBoxSize, s = o.devicePixelContentBoxSize;
30
- switch (t) {
31
- case z.DEVICE_PIXEL_CONTENT_BOX:
32
- return s;
33
- case z.BORDER_BOX:
34
- return d;
35
- default:
36
- return n;
1
+ var v = Math.PI, p = 2 * v, M = 1e-6, q = p - M;
2
+ function y() {
3
+ this._x0 = this._y0 = // start of current subpath
4
+ this._x1 = this._y1 = null, this._ = "";
5
+ }
6
+ function C() {
7
+ return new y();
8
+ }
9
+ y.prototype = C.prototype = {
10
+ constructor: y,
11
+ moveTo: function(i, s) {
12
+ this._ += "M" + (this._x0 = this._x1 = +i) + "," + (this._y0 = this._y1 = +s);
13
+ },
14
+ closePath: function() {
15
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
16
+ },
17
+ lineTo: function(i, s) {
18
+ this._ += "L" + (this._x1 = +i) + "," + (this._y1 = +s);
19
+ },
20
+ quadraticCurveTo: function(i, s, t, h) {
21
+ this._ += "Q" + +i + "," + +s + "," + (this._x1 = +t) + "," + (this._y1 = +h);
22
+ },
23
+ bezierCurveTo: function(i, s, t, h, _, e) {
24
+ this._ += "C" + +i + "," + +s + "," + +t + "," + +h + "," + (this._x1 = +_) + "," + (this._y1 = +e);
25
+ },
26
+ arcTo: function(i, s, t, h, _) {
27
+ i = +i, s = +s, t = +t, h = +h, _ = +_;
28
+ var e = this._x1, c = this._y1, f = t - i, a = h - s, n = e - i, u = c - s, o = n * n + u * u;
29
+ if (_ < 0)
30
+ throw new Error("negative radius: " + _);
31
+ if (this._x1 === null)
32
+ this._ += "M" + (this._x1 = i) + "," + (this._y1 = s);
33
+ else if (o > M)
34
+ if (!(Math.abs(u * f - a * n) > M) || !_)
35
+ this._ += "L" + (this._x1 = i) + "," + (this._y1 = s);
36
+ else {
37
+ var l = t - e, r = h - c, d = f * f + a * a, g = l * l + r * r, b = Math.sqrt(d), T = Math.sqrt(o), A = _ * Math.tan((v - Math.acos((d + o - g) / (2 * b * T))) / 2), x = A / T, L = A / b;
38
+ Math.abs(x - 1) > M && (this._ += "L" + (i + x * n) + "," + (s + x * u)), this._ += "A" + _ + "," + _ + ",0,0," + +(u * l > n * r) + "," + (this._x1 = i + L * f) + "," + (this._y1 = s + L * a);
39
+ }
40
+ },
41
+ arc: function(i, s, t, h, _, e) {
42
+ i = +i, s = +s, t = +t, e = !!e;
43
+ var c = t * Math.cos(h), f = t * Math.sin(h), a = i + c, n = s + f, u = 1 ^ e, o = e ? h - _ : _ - h;
44
+ if (t < 0)
45
+ throw new Error("negative radius: " + t);
46
+ this._x1 === null ? this._ += "M" + a + "," + n : (Math.abs(this._x1 - a) > M || Math.abs(this._y1 - n) > M) && (this._ += "L" + a + "," + n), t && (o < 0 && (o = o % p + p), o > q ? this._ += "A" + t + "," + t + ",0,1," + u + "," + (i - c) + "," + (s - f) + "A" + t + "," + t + ",0,1," + u + "," + (this._x1 = a) + "," + (this._y1 = n) : o > M && (this._ += "A" + t + "," + t + ",0," + +(o >= v) + "," + u + "," + (this._x1 = i + t * Math.cos(_)) + "," + (this._y1 = s + t * Math.sin(_))));
47
+ },
48
+ rect: function(i, s, t, h) {
49
+ this._ += "M" + (this._x0 = this._x1 = +i) + "," + (this._y0 = this._y1 = +s) + "h" + +t + "v" + +h + "h" + -t + "Z";
50
+ },
51
+ toString: function() {
52
+ return this._;
37
53
  }
38
54
  };
39
55
  export {
40
- Q as calculateBoxSize,
41
- F as calculateBoxSizes
56
+ C as default
42
57
  };
43
58
  //# sourceMappingURL=index.es187.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es187.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":";;;;;;AAMA,IAAIA,wBAAY,WACZC,IAAe,eACfC,IAAiB,gBACjBC,IAAM,gBAAiB,KAAKC,EAAO,aAAaA,EAAO,UAAU,SAAS,GAC1EC,IAAiB,SAAUC,GAAO;AAAS,SAAA,WAAWA,KAAS,GAAG;AAAG,GACrEC,IAAO,SAAUC,GAAYC,GAAWC,GAAa;AACrD,SAAIF,MAAe,WAAuBA,IAAA,IACtCC,MAAc,WAAsBA,IAAA,IACpCC,MAAgB,WAAwBA,IAAA,KACrC,IAAIC,GAAoBD,IAAcD,IAAYD,MAAe,IAAIE,IAAcF,IAAaC,MAAc,CAAC;AAC1H,GACIG,IAAYC,EAAO;AAAA,EACnB,2BAA2BN,EAAK;AAAA,EAChC,eAAeA,EAAK;AAAA,EACpB,gBAAgBA,EAAK;AAAA,EACrB,aAAa,IAAIO,EAAgB,GAAG,GAAG,GAAG,CAAC;AAC/C,CAAC,GACGC,IAAoB,SAAUC,GAAQC,GAAoB;AAE1D,MADIA,MAAuB,WAA+BA,IAAA,KACtDjB,EAAM,IAAIgB,CAAM,KAAK,CAACC;AACf,WAAAjB,EAAM,IAAIgB,CAAM;AAE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AA6BH,GACjFS,IAAkBF,IAAgBR,IAAkBG,IAA+BD,GACnFS,IAAQhC,EAAO;AAAA,IACf,2BAA2BN,EAAK,KAAK,MAAMkC,IAAe,gBAAgB,GAAG,KAAK,MAAMC,IAAgB,gBAAgB,GAAGhC,CAAW;AAAA,IACtI,eAAeH,EAAKoC,GAAgBC,GAAiBlC,CAAW;AAAA,IAChE,gBAAgBH,EAAKkC,GAAcC,GAAehC,CAAW;AAAA,IAC7D,aAAa,IAAII,EAAgBc,GAAaH,GAAYgB,GAAcC,CAAa;AAAA,EAAA,CACxF;AACK,SAAA1C,EAAA,IAAIgB,GAAQ6B,CAAK,GAChBA;AACX,GACIC,IAAmB,SAAU9B,GAAQ+B,GAAa9B,GAAoB;AACtE,MAAI+B,IAAKjC,EAAkBC,GAAQC,CAAkB,GAAGgC,IAAgBD,EAAG,eAAeE,IAAiBF,EAAG,gBAAgBG,IAA4BH,EAAG;AAC7J,UAAQD,GAAa;AAAA,IACjB,KAAKK,EAAyB;AACnB,aAAAD;AAAA,IACX,KAAKC,EAAyB;AACnB,aAAAH;AAAA,IACX;AACW,aAAAC;AAAA,EACf;AACJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es187.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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O,CAAC6B,IAAK,MAAO,CAAC,IAAK,MAAO,CAACA,IAAK;AAAA,EACzH;AAAA,EACA,UAAU,WAAW;AACnB,WAAO,KAAK;AAAA,EACd;AACF;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import m from "./index.es82.js";
2
- import p from "./index.es225.js";
2
+ import p from "./index.es227.js";
3
3
  import s from "./index.es10.js";
4
4
  var l = m(function(u, e) {
5
5
  var h = l.placeholder, o = function() {
@@ -1,5 +1,243 @@
1
- var s = { exports: {} };
1
+ import { a as l, i as S, b as y, E, _ as p, c as O, p as P, d as T, C as m, t as I, S as N } from "./index.es196.js";
2
+ function j(t, e) {
3
+ if (t == null)
4
+ return {};
5
+ var s = {}, n = Object.keys(t), r, o;
6
+ for (o = 0; o < n.length; o++)
7
+ r = n[o], !(e.indexOf(r) >= 0) && (s[r] = t[r]);
8
+ return s;
9
+ }
10
+ function M(t, e) {
11
+ if (t == null)
12
+ return {};
13
+ var s = j(t, e), n, r;
14
+ if (Object.getOwnPropertySymbols) {
15
+ var o = Object.getOwnPropertySymbols(t);
16
+ for (r = 0; r < o.length; r++)
17
+ n = o[r], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (s[n] = t[n]);
18
+ }
19
+ return s;
20
+ }
21
+ const k = {
22
+ target(t) {
23
+ if (t)
24
+ return () => "current" in t ? t.current : t;
25
+ },
26
+ enabled(t = !0) {
27
+ return t;
28
+ },
29
+ window(t = N.isBrowser ? window : void 0) {
30
+ return t;
31
+ },
32
+ eventOptions({
33
+ passive: t = !0,
34
+ capture: e = !1
35
+ } = {}) {
36
+ return {
37
+ passive: t,
38
+ capture: e
39
+ };
40
+ },
41
+ transform(t) {
42
+ return t;
43
+ }
44
+ }, D = ["target", "eventOptions", "window", "enabled", "transform"];
45
+ function g(t = {}, e) {
46
+ const s = {};
47
+ for (const [n, r] of Object.entries(e))
48
+ switch (typeof r) {
49
+ case "function":
50
+ if (process.env.NODE_ENV === "development") {
51
+ const o = r.call(s, t[n], n, t);
52
+ Number.isNaN(o) || (s[n] = o);
53
+ } else
54
+ s[n] = r.call(s, t[n], n, t);
55
+ break;
56
+ case "object":
57
+ s[n] = g(t[n], r);
58
+ break;
59
+ case "boolean":
60
+ r && (s[n] = t[n]);
61
+ break;
62
+ }
63
+ return s;
64
+ }
65
+ function H(t, e, s = {}) {
66
+ const n = t, {
67
+ target: r,
68
+ eventOptions: o,
69
+ window: i,
70
+ enabled: h,
71
+ transform: u
72
+ } = n, a = M(n, D);
73
+ if (s.shared = g({
74
+ target: r,
75
+ eventOptions: o,
76
+ window: i,
77
+ enabled: h,
78
+ transform: u
79
+ }, k), e) {
80
+ const c = m.get(e);
81
+ s[e] = g(p({
82
+ shared: s.shared
83
+ }, a), c);
84
+ } else
85
+ for (const c in a) {
86
+ const v = m.get(c);
87
+ if (v)
88
+ s[c] = g(p({
89
+ shared: s.shared
90
+ }, a[c]), v);
91
+ else if (process.env.NODE_ENV === "development" && !["drag", "pinch", "scroll", "wheel", "move", "hover"].includes(c)) {
92
+ if (c === "domTarget")
93
+ throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");
94
+ console.warn(`[@use-gesture]: Unknown config key \`${c}\` was used. Please read the documentation for further information.`);
95
+ }
96
+ }
97
+ return s;
98
+ }
99
+ class _ {
100
+ constructor(e, s) {
101
+ l(this, "_listeners", /* @__PURE__ */ new Set()), this._ctrl = e, this._gestureKey = s;
102
+ }
103
+ add(e, s, n, r, o) {
104
+ const i = this._listeners, h = I(s, n), u = this._gestureKey ? this._ctrl.config[this._gestureKey].eventOptions : {}, a = p(p({}, u), o);
105
+ e.addEventListener(h, r, a);
106
+ const c = () => {
107
+ e.removeEventListener(h, r, a), i.delete(c);
108
+ };
109
+ return i.add(c), c;
110
+ }
111
+ clean() {
112
+ this._listeners.forEach((e) => e()), this._listeners.clear();
113
+ }
114
+ }
115
+ class R {
116
+ constructor() {
117
+ l(this, "_timeouts", /* @__PURE__ */ new Map());
118
+ }
119
+ add(e, s, n = 140, ...r) {
120
+ this.remove(e), this._timeouts.set(e, window.setTimeout(s, n, ...r));
121
+ }
122
+ remove(e) {
123
+ const s = this._timeouts.get(e);
124
+ s && window.clearTimeout(s);
125
+ }
126
+ clean() {
127
+ this._timeouts.forEach((e) => void window.clearTimeout(e)), this._timeouts.clear();
128
+ }
129
+ }
130
+ class G {
131
+ constructor(e) {
132
+ l(this, "gestures", /* @__PURE__ */ new Set()), l(this, "_targetEventStore", new _(this)), l(this, "gestureEventStores", {}), l(this, "gestureTimeoutStores", {}), l(this, "handlers", {}), l(this, "config", {}), l(this, "pointerIds", /* @__PURE__ */ new Set()), l(this, "touchIds", /* @__PURE__ */ new Set()), l(this, "state", {
133
+ shared: {
134
+ shiftKey: !1,
135
+ metaKey: !1,
136
+ ctrlKey: !1,
137
+ altKey: !1
138
+ }
139
+ }), W(this, e);
140
+ }
141
+ setEventIds(e) {
142
+ if (S(e))
143
+ return this.touchIds = new Set(y(e)), this.touchIds;
144
+ if ("pointerId" in e)
145
+ return e.type === "pointerup" || e.type === "pointercancel" ? this.pointerIds.delete(e.pointerId) : e.type === "pointerdown" && this.pointerIds.add(e.pointerId), this.pointerIds;
146
+ }
147
+ applyHandlers(e, s) {
148
+ this.handlers = e, this.nativeHandlers = s;
149
+ }
150
+ applyConfig(e, s) {
151
+ this.config = H(e, s, this.config);
152
+ }
153
+ clean() {
154
+ this._targetEventStore.clean();
155
+ for (const e of this.gestures)
156
+ this.gestureEventStores[e].clean(), this.gestureTimeoutStores[e].clean();
157
+ }
158
+ effect() {
159
+ return this.config.shared.target && this.bind(), () => this._targetEventStore.clean();
160
+ }
161
+ bind(...e) {
162
+ const s = this.config.shared, n = {};
163
+ let r;
164
+ if (!(s.target && (r = s.target(), !r))) {
165
+ if (s.enabled) {
166
+ for (const i of this.gestures) {
167
+ const h = this.config[i], u = b(n, h.eventOptions, !!r);
168
+ if (h.enabled) {
169
+ const a = E.get(i);
170
+ new a(this, e, i).bind(u);
171
+ }
172
+ }
173
+ const o = b(n, s.eventOptions, !!r);
174
+ for (const i in this.nativeHandlers)
175
+ o(i, "", (h) => this.nativeHandlers[i](p(p({}, this.state.shared), {}, {
176
+ event: h,
177
+ args: e
178
+ })), void 0, !0);
179
+ }
180
+ for (const o in n)
181
+ n[o] = O(...n[o]);
182
+ if (!r)
183
+ return n;
184
+ for (const o in n) {
185
+ const {
186
+ device: i,
187
+ capture: h,
188
+ passive: u
189
+ } = P(o);
190
+ this._targetEventStore.add(r, i, "", n[o], {
191
+ capture: h,
192
+ passive: u
193
+ });
194
+ }
195
+ }
196
+ }
197
+ }
198
+ function d(t, e) {
199
+ t.gestures.add(e), t.gestureEventStores[e] = new _(t, e), t.gestureTimeoutStores[e] = new R();
200
+ }
201
+ function W(t, e) {
202
+ 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");
203
+ }
204
+ const b = (t, e, s) => (n, r, o, i = {}, h = !1) => {
205
+ var u, a;
206
+ const c = (u = i.capture) !== null && u !== void 0 ? u : e.capture, v = (a = i.passive) !== null && a !== void 0 ? a : e.passive;
207
+ let w = h ? n : T(n, r, c);
208
+ s && v && (w += "Passive"), t[w] = t[w] || [], t[w].push(o);
209
+ }, $ = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;
210
+ function x(t) {
211
+ const e = {}, s = {}, n = /* @__PURE__ */ new Set();
212
+ for (let r in t)
213
+ $.test(r) ? (n.add(RegExp.lastMatch), s[r] = t[r]) : e[r] = t[r];
214
+ return [s, e, n];
215
+ }
216
+ function f(t, e, s, n, r, o) {
217
+ if (!t.has(s))
218
+ return;
219
+ if (!E.has(n)) {
220
+ 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.
221
+
222
+ Please add \`${n}Action\` when creating your handler.`);
223
+ return;
224
+ }
225
+ const i = s + "Start", h = s + "End", u = (a) => {
226
+ let c;
227
+ return a.first && i in e && e[i](a), s in e && (c = e[s](a)), a.last && h in e && e[h](a), c;
228
+ };
229
+ r[n] = u, o[n] = o[n] || {};
230
+ }
231
+ function L(t, e) {
232
+ const [s, n, r] = x(t), o = {};
233
+ 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), {
234
+ handlers: o,
235
+ config: e,
236
+ nativeHandlers: n
237
+ };
238
+ }
2
239
  export {
3
- s as __module
240
+ G as Controller,
241
+ L as parseMergedHandlers
4
242
  };
5
243
  //# sourceMappingURL=index.es195.js.map