@performant-software/visualize 2.3.8-beta.0 → 2.3.8-beta.2

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 (373) hide show
  1. package/dist/index.cjs188.js +1 -1
  2. package/dist/index.cjs188.js.map +1 -1
  3. package/dist/index.cjs189.js +1 -1
  4. package/dist/index.cjs189.js.map +1 -1
  5. package/dist/index.cjs190.js +1 -1
  6. package/dist/index.cjs190.js.map +1 -1
  7. package/dist/index.cjs191.js +1 -2
  8. package/dist/index.cjs191.js.map +1 -1
  9. package/dist/index.cjs192.js +1 -1
  10. package/dist/index.cjs192.js.map +1 -1
  11. package/dist/index.cjs193.js +2 -3
  12. package/dist/index.cjs193.js.map +1 -1
  13. package/dist/index.cjs194.js +1 -1
  14. package/dist/index.cjs194.js.map +1 -1
  15. package/dist/index.cjs195.js +3 -1
  16. package/dist/index.cjs195.js.map +1 -1
  17. package/dist/index.cjs196.js +1 -1
  18. package/dist/index.cjs196.js.map +1 -1
  19. package/dist/index.cjs197.js +1 -1
  20. package/dist/index.cjs197.js.map +1 -1
  21. package/dist/index.cjs198.js +1 -1
  22. package/dist/index.cjs198.js.map +1 -1
  23. package/dist/index.cjs199.js +1 -1
  24. package/dist/index.cjs199.js.map +1 -1
  25. package/dist/index.cjs200.js +1 -1
  26. package/dist/index.cjs200.js.map +1 -1
  27. package/dist/index.cjs201.js +1 -1
  28. package/dist/index.cjs201.js.map +1 -1
  29. package/dist/index.cjs202.js +1 -1
  30. package/dist/index.cjs202.js.map +1 -1
  31. package/dist/index.cjs203.js +1 -1
  32. package/dist/index.cjs203.js.map +1 -1
  33. package/dist/index.cjs204.js +1 -1
  34. package/dist/index.cjs204.js.map +1 -1
  35. package/dist/index.cjs205.js +1 -1
  36. package/dist/index.cjs205.js.map +1 -1
  37. package/dist/index.cjs206.js +1 -1
  38. package/dist/index.cjs206.js.map +1 -1
  39. package/dist/index.cjs207.js +1 -1
  40. package/dist/index.cjs207.js.map +1 -1
  41. package/dist/index.cjs208.js +1 -1
  42. package/dist/index.cjs208.js.map +1 -1
  43. package/dist/index.cjs209.js +1 -1
  44. package/dist/index.cjs209.js.map +1 -1
  45. package/dist/index.cjs210.js +1 -1
  46. package/dist/index.cjs210.js.map +1 -1
  47. package/dist/index.cjs211.js +1 -1
  48. package/dist/index.cjs211.js.map +1 -1
  49. package/dist/index.cjs214.js +1 -1
  50. package/dist/index.cjs234.js +1 -1
  51. package/dist/index.cjs239.js +1 -1
  52. package/dist/index.cjs245.js +1 -1
  53. package/dist/index.cjs245.js.map +1 -1
  54. package/dist/index.cjs246.js +8 -1
  55. package/dist/index.cjs246.js.map +1 -1
  56. package/dist/index.cjs247.js +8 -1
  57. package/dist/index.cjs247.js.map +1 -1
  58. package/dist/index.cjs248.js +5 -1
  59. package/dist/index.cjs248.js.map +1 -1
  60. package/dist/index.cjs249.js +1 -1
  61. package/dist/index.cjs249.js.map +1 -1
  62. package/dist/index.cjs250.js +1 -1
  63. package/dist/index.cjs250.js.map +1 -1
  64. package/dist/index.cjs251.js +1 -1
  65. package/dist/index.cjs251.js.map +1 -1
  66. package/dist/index.cjs252.js +1 -1
  67. package/dist/index.cjs252.js.map +1 -1
  68. package/dist/index.cjs253.js +1 -1
  69. package/dist/index.cjs253.js.map +1 -1
  70. package/dist/index.cjs254.js +1 -1
  71. package/dist/index.cjs254.js.map +1 -1
  72. package/dist/index.cjs255.js +1 -1
  73. package/dist/index.cjs255.js.map +1 -1
  74. package/dist/index.cjs256.js +1 -8
  75. package/dist/index.cjs256.js.map +1 -1
  76. package/dist/index.cjs257.js +1 -8
  77. package/dist/index.cjs257.js.map +1 -1
  78. package/dist/index.cjs258.js +1 -5
  79. package/dist/index.cjs258.js.map +1 -1
  80. package/dist/index.cjs259.js +1 -1
  81. package/dist/index.cjs259.js.map +1 -1
  82. package/dist/index.cjs260.js +1 -1
  83. package/dist/index.cjs260.js.map +1 -1
  84. package/dist/index.cjs261.js +1 -1
  85. package/dist/index.cjs261.js.map +1 -1
  86. package/dist/index.cjs267.js +1 -1
  87. package/dist/index.cjs269.js +1 -1
  88. package/dist/index.cjs269.js.map +1 -1
  89. package/dist/index.cjs270.js +1 -1
  90. package/dist/index.cjs270.js.map +1 -1
  91. package/dist/index.cjs271.js +1 -1
  92. package/dist/index.cjs271.js.map +1 -1
  93. package/dist/index.cjs272.js +1 -1
  94. package/dist/index.cjs272.js.map +1 -1
  95. package/dist/index.cjs273.js +1 -1
  96. package/dist/index.cjs273.js.map +1 -1
  97. package/dist/index.cjs274.js +1 -1
  98. package/dist/index.cjs274.js.map +1 -1
  99. package/dist/index.cjs275.js +1 -1
  100. package/dist/index.cjs275.js.map +1 -1
  101. package/dist/index.cjs276.js +1 -1
  102. package/dist/index.cjs276.js.map +1 -1
  103. package/dist/index.cjs277.js +1 -1
  104. package/dist/index.cjs277.js.map +1 -1
  105. package/dist/index.cjs278.js +1 -1
  106. package/dist/index.cjs278.js.map +1 -1
  107. package/dist/index.cjs279.js +1 -1
  108. package/dist/index.cjs279.js.map +1 -1
  109. package/dist/index.cjs280.js +1 -1
  110. package/dist/index.cjs280.js.map +1 -1
  111. package/dist/index.cjs281.js +1 -1
  112. package/dist/index.cjs281.js.map +1 -1
  113. package/dist/index.cjs282.js +1 -1
  114. package/dist/index.cjs282.js.map +1 -1
  115. package/dist/index.cjs283.js +1 -1
  116. package/dist/index.cjs283.js.map +1 -1
  117. package/dist/index.cjs284.js +1 -1
  118. package/dist/index.cjs284.js.map +1 -1
  119. package/dist/index.cjs285.js +1 -1
  120. package/dist/index.cjs285.js.map +1 -1
  121. package/dist/index.cjs286.js +1 -1
  122. package/dist/index.cjs286.js.map +1 -1
  123. package/dist/index.cjs287.js +1 -1
  124. package/dist/index.cjs287.js.map +1 -1
  125. package/dist/index.cjs288.js +1 -1
  126. package/dist/index.cjs289.js +1 -1
  127. package/dist/index.cjs291.js +1 -1
  128. package/dist/index.cjs292.js +1 -1
  129. package/dist/index.cjs294.js +1 -1
  130. package/dist/index.cjs34.js +1 -1
  131. package/dist/index.cjs35.js +1 -1
  132. package/dist/index.cjs36.js +1 -1
  133. package/dist/index.cjs37.js +1 -1
  134. package/dist/index.cjs38.js +1 -1
  135. package/dist/index.cjs39.js +1 -1
  136. package/dist/index.cjs40.js +1 -1
  137. package/dist/index.cjs41.js +1 -1
  138. package/dist/index.cjs42.js +1 -1
  139. package/dist/index.cjs43.js +1 -1
  140. package/dist/index.cjs44.js +1 -1
  141. package/dist/index.cjs45.js +1 -1
  142. package/dist/index.cjs46.js +1 -1
  143. package/dist/index.cjs47.js +1 -1
  144. package/dist/index.cjs48.js +1 -1
  145. package/dist/index.cjs49.js +1 -1
  146. package/dist/index.cjs53.js +1 -1
  147. package/dist/index.cjs58.js +1 -1
  148. package/dist/index.cjs62.js +1 -1
  149. package/dist/index.cjs63.js +1 -1
  150. package/dist/index.cjs65.js +1 -1
  151. package/dist/index.cjs65.js.map +1 -1
  152. package/dist/index.cjs66.js +1 -1
  153. package/dist/index.cjs66.js.map +1 -1
  154. package/dist/index.cjs67.js +1 -1
  155. package/dist/index.cjs67.js.map +1 -1
  156. package/dist/index.cjs68.js +1 -1
  157. package/dist/index.cjs68.js.map +1 -1
  158. package/dist/index.cjs69.js +1 -1
  159. package/dist/index.cjs69.js.map +1 -1
  160. package/dist/index.cjs70.js +1 -1
  161. package/dist/index.cjs70.js.map +1 -1
  162. package/dist/index.cjs71.js +1 -1
  163. package/dist/index.cjs71.js.map +1 -1
  164. package/dist/index.cjs72.js +1 -1
  165. package/dist/index.cjs72.js.map +1 -1
  166. package/dist/index.cjs73.js +1 -1
  167. package/dist/index.cjs73.js.map +1 -1
  168. package/dist/index.cjs74.js +1 -1
  169. package/dist/index.cjs74.js.map +1 -1
  170. package/dist/index.cjs75.js +1 -1
  171. package/dist/index.cjs75.js.map +1 -1
  172. package/dist/index.cjs76.js +5 -1
  173. package/dist/index.cjs76.js.map +1 -1
  174. package/dist/index.cjs77.js +1 -1
  175. package/dist/index.cjs77.js.map +1 -1
  176. package/dist/index.cjs78.js +1 -1
  177. package/dist/index.cjs78.js.map +1 -1
  178. package/dist/index.cjs79.js +1 -5
  179. package/dist/index.cjs79.js.map +1 -1
  180. package/dist/index.cjs8.js +1 -1
  181. package/dist/index.cjs80.js +1 -1
  182. package/dist/index.cjs80.js.map +1 -1
  183. package/dist/index.cjs81.js +1 -1
  184. package/dist/index.cjs81.js.map +1 -1
  185. package/dist/index.cjs82.js +1 -1
  186. package/dist/index.cjs82.js.map +1 -1
  187. package/dist/index.es188.js +34 -5
  188. package/dist/index.es188.js.map +1 -1
  189. package/dist/index.es189.js +16 -2
  190. package/dist/index.es189.js.map +1 -1
  191. package/dist/index.es190.js +5 -7
  192. package/dist/index.es190.js.map +1 -1
  193. package/dist/index.es191.js +2 -328
  194. package/dist/index.es191.js.map +1 -1
  195. package/dist/index.es192.js +7 -50
  196. package/dist/index.es192.js.map +1 -1
  197. package/dist/index.es193.js +320 -232
  198. package/dist/index.es193.js.map +1 -1
  199. package/dist/index.es194.js +45 -1012
  200. package/dist/index.es194.js.map +1 -1
  201. package/dist/index.es195.js +236 -31
  202. package/dist/index.es195.js.map +1 -1
  203. package/dist/index.es196.js +1015 -13
  204. package/dist/index.es196.js.map +1 -1
  205. package/dist/index.es197.js +2 -6
  206. package/dist/index.es197.js.map +1 -1
  207. package/dist/index.es198.js +13 -5
  208. package/dist/index.es198.js.map +1 -1
  209. package/dist/index.es199.js +10 -20
  210. package/dist/index.es199.js.map +1 -1
  211. package/dist/index.es200.js +8 -2
  212. package/dist/index.es200.js.map +1 -1
  213. package/dist/index.es201.js +9 -12
  214. package/dist/index.es201.js.map +1 -1
  215. package/dist/index.es202.js +7 -10
  216. package/dist/index.es202.js.map +1 -1
  217. package/dist/index.es203.js +5 -7
  218. package/dist/index.es203.js.map +1 -1
  219. package/dist/index.es204.js +14 -8
  220. package/dist/index.es204.js.map +1 -1
  221. package/dist/index.es205.js +5 -7
  222. package/dist/index.es205.js.map +1 -1
  223. package/dist/index.es206.js +5 -4
  224. package/dist/index.es206.js.map +1 -1
  225. package/dist/index.es207.js +6 -15
  226. package/dist/index.es207.js.map +1 -1
  227. package/dist/index.es208.js +6 -5
  228. package/dist/index.es208.js.map +1 -1
  229. package/dist/index.es209.js +5 -6
  230. package/dist/index.es209.js.map +1 -1
  231. package/dist/index.es210.js +5 -7
  232. package/dist/index.es210.js.map +1 -1
  233. package/dist/index.es211.js +20 -6
  234. package/dist/index.es211.js.map +1 -1
  235. package/dist/index.es214.js +1 -1
  236. package/dist/index.es234.js +1 -1
  237. package/dist/index.es239.js +1 -1
  238. package/dist/index.es245.js +2 -8
  239. package/dist/index.es245.js.map +1 -1
  240. package/dist/index.es246.js +77 -3
  241. package/dist/index.es246.js.map +1 -1
  242. package/dist/index.es247.js +96 -29
  243. package/dist/index.es247.js.map +1 -1
  244. package/dist/index.es248.js +51 -33
  245. package/dist/index.es248.js.map +1 -1
  246. package/dist/index.es249.js +9 -10
  247. package/dist/index.es249.js.map +1 -1
  248. package/dist/index.es250.js +5 -4
  249. package/dist/index.es250.js.map +1 -1
  250. package/dist/index.es251.js +52 -7
  251. package/dist/index.es251.js.map +1 -1
  252. package/dist/index.es252.js +29 -3
  253. package/dist/index.es252.js.map +1 -1
  254. package/dist/index.es253.js +35 -7
  255. package/dist/index.es253.js.map +1 -1
  256. package/dist/index.es254.js +10 -8
  257. package/dist/index.es254.js.map +1 -1
  258. package/dist/index.es255.js +4 -2
  259. package/dist/index.es255.js.map +1 -1
  260. package/dist/index.es256.js +7 -76
  261. package/dist/index.es256.js.map +1 -1
  262. package/dist/index.es257.js +3 -96
  263. package/dist/index.es257.js.map +1 -1
  264. package/dist/index.es258.js +6 -52
  265. package/dist/index.es258.js.map +1 -1
  266. package/dist/index.es259.js +7 -8
  267. package/dist/index.es259.js.map +1 -1
  268. package/dist/index.es260.js +3 -5
  269. package/dist/index.es260.js.map +1 -1
  270. package/dist/index.es261.js +6 -51
  271. package/dist/index.es261.js.map +1 -1
  272. package/dist/index.es267.js +1 -1
  273. package/dist/index.es269.js +2 -5
  274. package/dist/index.es269.js.map +1 -1
  275. package/dist/index.es270.js +2 -13
  276. package/dist/index.es270.js.map +1 -1
  277. package/dist/index.es271.js +33 -2
  278. package/dist/index.es271.js.map +1 -1
  279. package/dist/index.es272.js +5 -3
  280. package/dist/index.es272.js.map +1 -1
  281. package/dist/index.es273.js +13 -8
  282. package/dist/index.es273.js.map +1 -1
  283. package/dist/index.es274.js +2 -9
  284. package/dist/index.es274.js.map +1 -1
  285. package/dist/index.es275.js +68 -5
  286. package/dist/index.es275.js.map +1 -1
  287. package/dist/index.es276.js +16 -66
  288. package/dist/index.es276.js.map +1 -1
  289. package/dist/index.es277.js +5 -16
  290. package/dist/index.es277.js.map +1 -1
  291. package/dist/index.es278.js +2 -7
  292. package/dist/index.es278.js.map +1 -1
  293. package/dist/index.es279.js +3 -2
  294. package/dist/index.es279.js.map +1 -1
  295. package/dist/index.es280.js +7 -32
  296. package/dist/index.es280.js.map +1 -1
  297. package/dist/index.es281.js +9 -2
  298. package/dist/index.es281.js.map +1 -1
  299. package/dist/index.es282.js +5 -2
  300. package/dist/index.es282.js.map +1 -1
  301. package/dist/index.es283.js +12 -3
  302. package/dist/index.es283.js.map +1 -1
  303. package/dist/index.es284.js +7 -14
  304. package/dist/index.es284.js.map +1 -1
  305. package/dist/index.es285.js +3 -6
  306. package/dist/index.es285.js.map +1 -1
  307. package/dist/index.es286.js +14 -12
  308. package/dist/index.es286.js.map +1 -1
  309. package/dist/index.es287.js +6 -7
  310. package/dist/index.es287.js.map +1 -1
  311. package/dist/index.es288.js +1 -1
  312. package/dist/index.es289.js +1 -1
  313. package/dist/index.es291.js +3 -3
  314. package/dist/index.es292.js +1 -1
  315. package/dist/index.es294.js +1 -1
  316. package/dist/index.es34.js +3 -3
  317. package/dist/index.es35.js +1 -1
  318. package/dist/index.es36.js +4 -4
  319. package/dist/index.es37.js +11 -11
  320. package/dist/index.es38.js +1 -1
  321. package/dist/index.es39.js +1 -1
  322. package/dist/index.es40.js +1 -1
  323. package/dist/index.es41.js +1 -1
  324. package/dist/index.es42.js +1 -1
  325. package/dist/index.es43.js +1 -1
  326. package/dist/index.es44.js +1 -1
  327. package/dist/index.es45.js +1 -1
  328. package/dist/index.es46.js +1 -1
  329. package/dist/index.es47.js +1 -1
  330. package/dist/index.es48.js +1 -1
  331. package/dist/index.es49.js +1 -1
  332. package/dist/index.es53.js +2 -2
  333. package/dist/index.es58.js +9 -9
  334. package/dist/index.es62.js +5 -5
  335. package/dist/index.es63.js +3 -3
  336. package/dist/index.es65.js +20 -8
  337. package/dist/index.es65.js.map +1 -1
  338. package/dist/index.es66.js +27 -4
  339. package/dist/index.es66.js.map +1 -1
  340. package/dist/index.es67.js +8 -12
  341. package/dist/index.es67.js.map +1 -1
  342. package/dist/index.es68.js +4 -5
  343. package/dist/index.es68.js.map +1 -1
  344. package/dist/index.es69.js +11 -13
  345. package/dist/index.es69.js.map +1 -1
  346. package/dist/index.es70.js +5 -9
  347. package/dist/index.es70.js.map +1 -1
  348. package/dist/index.es71.js +14 -5
  349. package/dist/index.es71.js.map +1 -1
  350. package/dist/index.es72.js +8 -8
  351. package/dist/index.es72.js.map +1 -1
  352. package/dist/index.es73.js +5 -7
  353. package/dist/index.es73.js.map +1 -1
  354. package/dist/index.es74.js +9 -20
  355. package/dist/index.es74.js.map +1 -1
  356. package/dist/index.es75.js +7 -27
  357. package/dist/index.es75.js.map +1 -1
  358. package/dist/index.es76.js +39 -54
  359. package/dist/index.es76.js.map +1 -1
  360. package/dist/index.es77.js +36 -28
  361. package/dist/index.es77.js.map +1 -1
  362. package/dist/index.es78.js +21 -38
  363. package/dist/index.es78.js.map +1 -1
  364. package/dist/index.es79.js +83 -38
  365. package/dist/index.es79.js.map +1 -1
  366. package/dist/index.es8.js +1 -1
  367. package/dist/index.es80.js +53 -35
  368. package/dist/index.es80.js.map +1 -1
  369. package/dist/index.es81.js +29 -23
  370. package/dist/index.es81.js.map +1 -1
  371. package/dist/index.es82.js +39 -84
  372. package/dist/index.es82.js.map +1 -1
  373. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es192.js","sources":["../../../node_modules/prop-types/factoryWithThrowingShims.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes"],"mappings":";;;;;;AASA,MAAIA,IAAuBC;AAE3B,WAASC,IAAgB;AAAA,EAAC;AAC1B,WAASC,IAAyB;AAAA,EAAC;AACnC,SAAAA,EAAuB,oBAAoBD,GAE3CE,IAAiB,WAAW;AAC1B,aAASC,EAAKC,GAAOC,GAAUC,GAAeC,GAAUC,GAAcC,GAAQ;AAC5E,UAAIA,MAAWX,GAIf;AAAA,YAAIY,IAAM,IAAI;AAAA,UACZ;AAAA,QAAA;AAIF,cAAAA,EAAI,OAAO,uBACLA;AAAA;AAAA,IACR;AACA,IAAAP,EAAK,aAAaA;AAClB,aAASQ,IAAU;AACV,aAAAR;AAAA,IACT;AAGA,QAAIS,IAAiB;AAAA,MACnB,OAAOT;AAAA,MACP,QAAQA;AAAA,MACR,MAAMA;AAAA,MACN,MAAMA;AAAA,MACN,QAAQA;AAAA,MACR,QAAQA;AAAA,MACR,QAAQA;AAAA,MACR,QAAQA;AAAA,MAER,KAAKA;AAAA,MACL,SAASQ;AAAA,MACT,SAASR;AAAA,MACT,aAAaA;AAAA,MACb,YAAYQ;AAAA,MACZ,MAAMR;AAAA,MACN,UAAUQ;AAAA,MACV,OAAOA;AAAA,MACP,WAAWA;AAAA,MACX,OAAOA;AAAA,MACP,OAAOA;AAAA,MAEP,gBAAgBV;AAAA,MAChB,mBAAmBD;AAAA,IAAA;AAGrB,WAAAY,EAAe,YAAYA,GAEpBA;AAAA;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es192.js","sources":["../../../node_modules/react-is/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n"],"names":["reactIsModule","require$$0","require$$1"],"mappings":";;;;;iCAEI,QAAQ,IAAI,aAAa,eACpBA,EAAA,UAAUC,MAEVD,EAAA,UAAUE;;","x_google_ignoreList":[0]}
@@ -1,243 +1,331 @@
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.es194.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;
1
+ import { __require as F } from "./index.es192.js";
2
+ import { __require as N } from "./index.es248.js";
3
+ import { __require as ee } from "./index.es249.js";
4
+ import { __require as re } from "./index.es250.js";
5
+ import { __require as ne } from "./index.es251.js";
6
+ var A, C;
7
+ function oe() {
8
+ if (C)
9
+ return A;
10
+ C = 1;
11
+ var k = F(), W = N(), h = ee(), j = re(), R = ne(), b = function() {
12
+ };
13
+ process.env.NODE_ENV !== "production" && (b = function(x) {
14
+ var S = "Warning: " + x;
15
+ typeof console < "u" && console.error(S);
16
+ try {
17
+ throw new Error(S);
18
+ } catch {
19
+ }
20
+ });
21
+ function E() {
22
+ return null;
102
23
  }
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);
24
+ return A = function(x, S) {
25
+ var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
26
+ function m(e) {
27
+ var r = e && (_ && e[_] || e[D]);
28
+ if (typeof r == "function")
29
+ return r;
30
+ }
31
+ var P = "<<anonymous>>", w = {
32
+ array: p("array"),
33
+ bigint: p("bigint"),
34
+ bool: p("boolean"),
35
+ func: p("function"),
36
+ number: p("number"),
37
+ object: p("object"),
38
+ string: p("string"),
39
+ symbol: p("symbol"),
40
+ any: M(),
41
+ arrayOf: U,
42
+ element: B(),
43
+ elementType: J(),
44
+ instanceOf: z,
45
+ node: G(),
46
+ objectOf: H,
47
+ oneOf: L,
48
+ oneOfType: X,
49
+ shape: K,
50
+ exact: Q
108
51
  };
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);
52
+ function Y(e, r) {
53
+ return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
54
+ }
55
+ function d(e, r) {
56
+ this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
57
+ }
58
+ d.prototype = Error.prototype;
59
+ function v(e) {
60
+ if (process.env.NODE_ENV !== "production")
61
+ var r = {}, u = 0;
62
+ function i(f, t, a, o, c, s, y) {
63
+ if (o = o || P, s = s || a, y !== h) {
64
+ if (S) {
65
+ var l = new Error(
66
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
67
+ );
68
+ throw l.name = "Invariant Violation", l;
69
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
70
+ var T = o + ":" + a;
71
+ !r[T] && // Avoid spamming the console because they are often not actionable except for lib authors
72
+ u < 3 && (b(
73
+ "You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
74
+ ), r[T] = !0, u++);
171
75
  }
172
76
  }
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
77
+ return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
78
+ }
79
+ var n = i.bind(null, !1);
80
+ return n.isRequired = i.bind(null, !0), n;
81
+ }
82
+ function p(e) {
83
+ function r(u, i, n, f, t, a) {
84
+ var o = u[i], c = g(o);
85
+ if (c !== e) {
86
+ var s = O(o);
87
+ return new d(
88
+ "Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
89
+ { expectedType: e }
90
+ );
91
+ }
92
+ return null;
93
+ }
94
+ return v(r);
95
+ }
96
+ function M() {
97
+ return v(E);
98
+ }
99
+ function U(e) {
100
+ function r(u, i, n, f, t) {
101
+ if (typeof e != "function")
102
+ return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
103
+ var a = u[i];
104
+ if (!Array.isArray(a)) {
105
+ var o = g(a);
106
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
107
+ }
108
+ for (var c = 0; c < a.length; c++) {
109
+ var s = e(a, c, n, f, t + "[" + c + "]", h);
110
+ if (s instanceof Error)
111
+ return s;
112
+ }
113
+ return null;
114
+ }
115
+ return v(r);
116
+ }
117
+ function B() {
118
+ function e(r, u, i, n, f) {
119
+ var t = r[u];
120
+ if (!x(t)) {
121
+ var a = g(t);
122
+ return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
123
+ }
124
+ return null;
125
+ }
126
+ return v(e);
127
+ }
128
+ function J() {
129
+ function e(r, u, i, n, f) {
130
+ var t = r[u];
131
+ if (!k.isValidElementType(t)) {
132
+ var a = g(t);
133
+ return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
134
+ }
135
+ return null;
136
+ }
137
+ return v(e);
138
+ }
139
+ function z(e) {
140
+ function r(u, i, n, f, t) {
141
+ if (!(u[i] instanceof e)) {
142
+ var a = e.name || P, o = V(u[i]);
143
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
144
+ }
145
+ return null;
146
+ }
147
+ return v(r);
148
+ }
149
+ function L(e) {
150
+ if (!Array.isArray(e))
151
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? b(
152
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
153
+ ) : b("Invalid argument supplied to oneOf, expected an array.")), E;
154
+ function r(u, i, n, f, t) {
155
+ for (var a = u[i], o = 0; o < e.length; o++)
156
+ if (Y(a, e[o]))
157
+ return null;
158
+ var c = JSON.stringify(e, function(y, l) {
159
+ var T = O(l);
160
+ return T === "symbol" ? String(l) : l;
193
161
  });
162
+ return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
194
163
  }
164
+ return v(r);
195
165
  }
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
- };
166
+ function H(e) {
167
+ function r(u, i, n, f, t) {
168
+ if (typeof e != "function")
169
+ return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
170
+ var a = u[i], o = g(a);
171
+ if (o !== "object")
172
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
173
+ for (var c in a)
174
+ if (j(a, c)) {
175
+ var s = e(a, c, n, f, t + "." + c, h);
176
+ if (s instanceof Error)
177
+ return s;
178
+ }
179
+ return null;
180
+ }
181
+ return v(r);
182
+ }
183
+ function X(e) {
184
+ if (!Array.isArray(e))
185
+ return process.env.NODE_ENV !== "production" && b("Invalid argument supplied to oneOfType, expected an instance of array."), E;
186
+ for (var r = 0; r < e.length; r++) {
187
+ var u = e[r];
188
+ if (typeof u != "function")
189
+ return b(
190
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
191
+ ), E;
192
+ }
193
+ function i(n, f, t, a, o) {
194
+ for (var c = [], s = 0; s < e.length; s++) {
195
+ var y = e[s], l = y(n, f, t, a, o, h);
196
+ if (l == null)
197
+ return null;
198
+ l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
199
+ }
200
+ var T = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
201
+ return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + T + "."));
202
+ }
203
+ return v(i);
204
+ }
205
+ function G() {
206
+ function e(r, u, i, n, f) {
207
+ return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
208
+ }
209
+ return v(e);
210
+ }
211
+ function q(e, r, u, i, n) {
212
+ return new d(
213
+ (e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
214
+ );
215
+ }
216
+ function K(e) {
217
+ function r(u, i, n, f, t) {
218
+ var a = u[i], o = g(a);
219
+ if (o !== "object")
220
+ return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
221
+ for (var c in e) {
222
+ var s = e[c];
223
+ if (typeof s != "function")
224
+ return q(n, f, t, c, O(s));
225
+ var y = s(a, c, n, f, t + "." + c, h);
226
+ if (y)
227
+ return y;
228
+ }
229
+ return null;
230
+ }
231
+ return v(r);
232
+ }
233
+ function Q(e) {
234
+ function r(u, i, n, f, t) {
235
+ var a = u[i], o = g(a);
236
+ if (o !== "object")
237
+ return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
238
+ var c = W({}, u[i], e);
239
+ for (var s in c) {
240
+ var y = e[s];
241
+ if (j(e, s) && typeof y != "function")
242
+ return q(n, f, t, s, O(y));
243
+ if (!y)
244
+ return new d(
245
+ "Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
246
+ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
247
+ );
248
+ var l = y(a, s, n, f, t + "." + s, h);
249
+ if (l)
250
+ return l;
251
+ }
252
+ return null;
253
+ }
254
+ return v(r);
255
+ }
256
+ function I(e) {
257
+ switch (typeof e) {
258
+ case "number":
259
+ case "string":
260
+ case "undefined":
261
+ return !0;
262
+ case "boolean":
263
+ return !e;
264
+ case "object":
265
+ if (Array.isArray(e))
266
+ return e.every(I);
267
+ if (e === null || x(e))
268
+ return !0;
269
+ var r = m(e);
270
+ if (r) {
271
+ var u = r.call(e), i;
272
+ if (r !== e.entries) {
273
+ for (; !(i = u.next()).done; )
274
+ if (!I(i.value))
275
+ return !1;
276
+ } else
277
+ for (; !(i = u.next()).done; ) {
278
+ var n = i.value;
279
+ if (n && !I(n[1]))
280
+ return !1;
281
+ }
282
+ } else
283
+ return !1;
284
+ return !0;
285
+ default:
286
+ return !1;
287
+ }
288
+ }
289
+ function Z(e, r) {
290
+ return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
291
+ }
292
+ function g(e) {
293
+ var r = typeof e;
294
+ return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
295
+ }
296
+ function O(e) {
297
+ if (typeof e > "u" || e === null)
298
+ return "" + e;
299
+ var r = g(e);
300
+ if (r === "object") {
301
+ if (e instanceof Date)
302
+ return "date";
303
+ if (e instanceof RegExp)
304
+ return "regexp";
305
+ }
306
+ return r;
307
+ }
308
+ function $(e) {
309
+ var r = O(e);
310
+ switch (r) {
311
+ case "array":
312
+ case "object":
313
+ return "an " + r;
314
+ case "boolean":
315
+ case "date":
316
+ case "regexp":
317
+ return "a " + r;
318
+ default:
319
+ return r;
320
+ }
321
+ }
322
+ function V(e) {
323
+ return !e.constructor || !e.constructor.name ? P : e.constructor.name;
324
+ }
325
+ return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
326
+ }, A;
238
327
  }
239
328
  export {
240
- G as Controller,
241
- L as parseMergedHandlers
329
+ oe as __require
242
330
  };
243
331
  //# sourceMappingURL=index.es193.js.map