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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/dist/index.cjs173.js +1 -1
  2. package/dist/index.cjs173.js.map +1 -1
  3. package/dist/index.cjs174.js +1 -1
  4. package/dist/index.cjs174.js.map +1 -1
  5. package/dist/index.cjs175.js +1 -1
  6. package/dist/index.cjs175.js.map +1 -1
  7. package/dist/index.cjs176.js +1 -1
  8. package/dist/index.cjs176.js.map +1 -1
  9. package/dist/index.cjs177.js +1 -1
  10. package/dist/index.cjs177.js.map +1 -1
  11. package/dist/index.cjs178.js +1 -1
  12. package/dist/index.cjs178.js.map +1 -1
  13. package/dist/index.cjs179.js +1 -1
  14. package/dist/index.cjs179.js.map +1 -1
  15. package/dist/index.cjs180.js +1 -1
  16. package/dist/index.cjs180.js.map +1 -1
  17. package/dist/index.cjs181.js +1 -1
  18. package/dist/index.cjs181.js.map +1 -1
  19. package/dist/index.cjs182.js +1 -1
  20. package/dist/index.cjs182.js.map +1 -1
  21. package/dist/index.cjs183.js +1 -1
  22. package/dist/index.cjs183.js.map +1 -1
  23. package/dist/index.cjs184.js +1 -1
  24. package/dist/index.cjs184.js.map +1 -1
  25. package/dist/index.cjs185.js +1 -1
  26. package/dist/index.cjs185.js.map +1 -1
  27. package/dist/index.cjs186.js +1 -1
  28. package/dist/index.cjs186.js.map +1 -1
  29. package/dist/index.cjs187.js +1 -1
  30. package/dist/index.cjs187.js.map +1 -1
  31. package/dist/index.cjs188.js +1 -1
  32. package/dist/index.cjs188.js.map +1 -1
  33. package/dist/index.cjs189.js +1 -1
  34. package/dist/index.cjs189.js.map +1 -1
  35. package/dist/index.cjs190.js +1 -1
  36. package/dist/index.cjs190.js.map +1 -1
  37. package/dist/index.cjs191.js +1 -2
  38. package/dist/index.cjs191.js.map +1 -1
  39. package/dist/index.cjs192.js +1 -1
  40. package/dist/index.cjs192.js.map +1 -1
  41. package/dist/index.cjs193.js +2 -1
  42. package/dist/index.cjs193.js.map +1 -1
  43. package/dist/index.cjs194.js +1 -1
  44. package/dist/index.cjs194.js.map +1 -1
  45. package/dist/index.cjs195.js +1 -1
  46. package/dist/index.cjs195.js.map +1 -1
  47. package/dist/index.cjs196.js +1 -1
  48. package/dist/index.cjs196.js.map +1 -1
  49. package/dist/index.cjs197.js +1 -1
  50. package/dist/index.cjs197.js.map +1 -1
  51. package/dist/index.cjs198.js +1 -1
  52. package/dist/index.cjs198.js.map +1 -1
  53. package/dist/index.cjs199.js +1 -1
  54. package/dist/index.cjs199.js.map +1 -1
  55. package/dist/index.cjs200.js +1 -1
  56. package/dist/index.cjs200.js.map +1 -1
  57. package/dist/index.cjs201.js +1 -1
  58. package/dist/index.cjs201.js.map +1 -1
  59. package/dist/index.cjs202.js +1 -1
  60. package/dist/index.cjs202.js.map +1 -1
  61. package/dist/index.cjs203.js +1 -1
  62. package/dist/index.cjs203.js.map +1 -1
  63. package/dist/index.cjs204.js +1 -1
  64. package/dist/index.cjs204.js.map +1 -1
  65. package/dist/index.cjs205.js +1 -1
  66. package/dist/index.cjs205.js.map +1 -1
  67. package/dist/index.cjs206.js +1 -1
  68. package/dist/index.cjs206.js.map +1 -1
  69. package/dist/index.cjs209.js +1 -1
  70. package/dist/index.cjs210.js +1 -1
  71. package/dist/index.cjs211.js +1 -1
  72. package/dist/index.cjs229.js +1 -1
  73. package/dist/index.cjs235.js +1 -1
  74. package/dist/index.cjs236.js +1 -1
  75. package/dist/index.cjs236.js.map +1 -1
  76. package/dist/index.cjs237.js +1 -1
  77. package/dist/index.cjs237.js.map +1 -1
  78. package/dist/index.cjs238.js +1 -1
  79. package/dist/index.cjs238.js.map +1 -1
  80. package/dist/index.cjs239.js +1 -1
  81. package/dist/index.cjs239.js.map +1 -1
  82. package/dist/index.cjs240.js +1 -1
  83. package/dist/index.cjs240.js.map +1 -1
  84. package/dist/index.cjs241.js +2 -1
  85. package/dist/index.cjs241.js.map +1 -1
  86. package/dist/index.cjs242.js +1 -1
  87. package/dist/index.cjs242.js.map +1 -1
  88. package/dist/index.cjs243.js +1 -1
  89. package/dist/index.cjs243.js.map +1 -1
  90. package/dist/index.cjs244.js +1 -2
  91. package/dist/index.cjs244.js.map +1 -1
  92. package/dist/index.cjs253.js +1 -1
  93. package/dist/index.cjs253.js.map +1 -1
  94. package/dist/index.cjs254.js +1 -1
  95. package/dist/index.cjs254.js.map +1 -1
  96. package/dist/index.cjs255.js +1 -1
  97. package/dist/index.cjs255.js.map +1 -1
  98. package/dist/index.cjs256.js +1 -1
  99. package/dist/index.cjs256.js.map +1 -1
  100. package/dist/index.cjs257.js +1 -1
  101. package/dist/index.cjs257.js.map +1 -1
  102. package/dist/index.cjs258.js +1 -1
  103. package/dist/index.cjs258.js.map +1 -1
  104. package/dist/index.cjs259.js +1 -1
  105. package/dist/index.cjs259.js.map +1 -1
  106. package/dist/index.cjs260.js +1 -1
  107. package/dist/index.cjs260.js.map +1 -1
  108. package/dist/index.cjs261.js +1 -1
  109. package/dist/index.cjs261.js.map +1 -1
  110. package/dist/index.cjs262.js +1 -1
  111. package/dist/index.cjs262.js.map +1 -1
  112. package/dist/index.cjs263.js +1 -1
  113. package/dist/index.cjs263.js.map +1 -1
  114. package/dist/index.cjs264.js +1 -1
  115. package/dist/index.cjs264.js.map +1 -1
  116. package/dist/index.cjs265.js +1 -1
  117. package/dist/index.cjs265.js.map +1 -1
  118. package/dist/index.cjs266.js +1 -1
  119. package/dist/index.cjs266.js.map +1 -1
  120. package/dist/index.cjs267.js +1 -1
  121. package/dist/index.cjs267.js.map +1 -1
  122. package/dist/index.cjs268.js +1 -1
  123. package/dist/index.cjs268.js.map +1 -1
  124. package/dist/index.cjs271.js +1 -1
  125. package/dist/index.cjs271.js.map +1 -1
  126. package/dist/index.cjs272.js +1 -1
  127. package/dist/index.cjs272.js.map +1 -1
  128. package/dist/index.cjs273.js +1 -1
  129. package/dist/index.cjs273.js.map +1 -1
  130. package/dist/index.cjs274.js +1 -1
  131. package/dist/index.cjs274.js.map +1 -1
  132. package/dist/index.cjs275.js +1 -1
  133. package/dist/index.cjs275.js.map +1 -1
  134. package/dist/index.cjs276.js +1 -1
  135. package/dist/index.cjs276.js.map +1 -1
  136. package/dist/index.cjs277.js +1 -1
  137. package/dist/index.cjs277.js.map +1 -1
  138. package/dist/index.cjs278.js +1 -1
  139. package/dist/index.cjs278.js.map +1 -1
  140. package/dist/index.cjs279.js +1 -1
  141. package/dist/index.cjs279.js.map +1 -1
  142. package/dist/index.cjs280.js +1 -1
  143. package/dist/index.cjs280.js.map +1 -1
  144. package/dist/index.cjs281.js +1 -1
  145. package/dist/index.cjs281.js.map +1 -1
  146. package/dist/index.cjs282.js +1 -1
  147. package/dist/index.cjs282.js.map +1 -1
  148. package/dist/index.cjs283.js +1 -1
  149. package/dist/index.cjs283.js.map +1 -1
  150. package/dist/index.cjs284.js +1 -1
  151. package/dist/index.cjs284.js.map +1 -1
  152. package/dist/index.cjs285.js +1 -1
  153. package/dist/index.cjs285.js.map +1 -1
  154. package/dist/index.cjs286.js +1 -1
  155. package/dist/index.cjs286.js.map +1 -1
  156. package/dist/index.cjs287.js +1 -1
  157. package/dist/index.cjs287.js.map +1 -1
  158. package/dist/index.cjs288.js +1 -1
  159. package/dist/index.cjs289.js +1 -1
  160. package/dist/index.cjs291.js +1 -1
  161. package/dist/index.cjs292.js +1 -1
  162. package/dist/index.cjs294.js +1 -1
  163. package/dist/index.cjs34.js +1 -1
  164. package/dist/index.cjs37.js +1 -1
  165. package/dist/index.cjs38.js +1 -1
  166. package/dist/index.cjs39.js +1 -1
  167. package/dist/index.cjs40.js +1 -1
  168. package/dist/index.cjs41.js +1 -1
  169. package/dist/index.cjs42.js +1 -1
  170. package/dist/index.cjs43.js +1 -1
  171. package/dist/index.cjs44.js +1 -1
  172. package/dist/index.cjs45.js +1 -1
  173. package/dist/index.cjs46.js +1 -1
  174. package/dist/index.cjs47.js +1 -1
  175. package/dist/index.cjs48.js +1 -1
  176. package/dist/index.cjs49.js +1 -1
  177. package/dist/index.cjs53.js +1 -1
  178. package/dist/index.cjs54.js +1 -1
  179. package/dist/index.cjs58.js +1 -1
  180. package/dist/index.cjs62.js +1 -1
  181. package/dist/index.cjs63.js +1 -1
  182. package/dist/index.cjs67.js +1 -1
  183. package/dist/index.cjs67.js.map +1 -1
  184. package/dist/index.cjs68.js +1 -1
  185. package/dist/index.cjs68.js.map +1 -1
  186. package/dist/index.cjs69.js +1 -1
  187. package/dist/index.cjs69.js.map +1 -1
  188. package/dist/index.cjs70.js +1 -1
  189. package/dist/index.cjs70.js.map +1 -1
  190. package/dist/index.es173.js +8 -54
  191. package/dist/index.es173.js.map +1 -1
  192. package/dist/index.es174.js +5 -29
  193. package/dist/index.es174.js.map +1 -1
  194. package/dist/index.es175.js +12 -39
  195. package/dist/index.es175.js.map +1 -1
  196. package/dist/index.es176.js +5 -8
  197. package/dist/index.es176.js.map +1 -1
  198. package/dist/index.es177.js +14 -4
  199. package/dist/index.es177.js.map +1 -1
  200. package/dist/index.es178.js +9 -12
  201. package/dist/index.es178.js.map +1 -1
  202. package/dist/index.es179.js +5 -5
  203. package/dist/index.es179.js.map +1 -1
  204. package/dist/index.es180.js +9 -14
  205. package/dist/index.es180.js.map +1 -1
  206. package/dist/index.es181.js +7 -9
  207. package/dist/index.es181.js.map +1 -1
  208. package/dist/index.es182.js +15 -5
  209. package/dist/index.es182.js.map +1 -1
  210. package/dist/index.es183.js +52 -9
  211. package/dist/index.es183.js.map +1 -1
  212. package/dist/index.es184.js +54 -7
  213. package/dist/index.es184.js.map +1 -1
  214. package/dist/index.es185.js +54 -15
  215. package/dist/index.es185.js.map +1 -1
  216. package/dist/index.es186.js +28 -52
  217. package/dist/index.es186.js.map +1 -1
  218. package/dist/index.es187.js +38 -53
  219. package/dist/index.es187.js.map +1 -1
  220. package/dist/index.es188.js +34 -5
  221. package/dist/index.es188.js.map +1 -1
  222. package/dist/index.es189.js +16 -2
  223. package/dist/index.es189.js.map +1 -1
  224. package/dist/index.es190.js +5 -7
  225. package/dist/index.es190.js.map +1 -1
  226. package/dist/index.es191.js +2 -328
  227. package/dist/index.es191.js.map +1 -1
  228. package/dist/index.es192.js +7 -50
  229. package/dist/index.es192.js.map +1 -1
  230. package/dist/index.es193.js +328 -2
  231. package/dist/index.es193.js.map +1 -1
  232. package/dist/index.es194.js +50 -12
  233. package/dist/index.es194.js.map +1 -1
  234. package/dist/index.es195.js +2 -11
  235. package/dist/index.es195.js.map +1 -1
  236. package/dist/index.es196.js +12 -7
  237. package/dist/index.es196.js.map +1 -1
  238. package/dist/index.es197.js +9 -8
  239. package/dist/index.es197.js.map +1 -1
  240. package/dist/index.es198.js +7 -7
  241. package/dist/index.es198.js.map +1 -1
  242. package/dist/index.es199.js +9 -5
  243. package/dist/index.es199.js.map +1 -1
  244. package/dist/index.es200.js +7 -15
  245. package/dist/index.es200.js.map +1 -1
  246. package/dist/index.es201.js +4 -4
  247. package/dist/index.es201.js.map +1 -1
  248. package/dist/index.es202.js +15 -6
  249. package/dist/index.es202.js.map +1 -1
  250. package/dist/index.es203.js +5 -6
  251. package/dist/index.es203.js.map +1 -1
  252. package/dist/index.es204.js +5 -5
  253. package/dist/index.es204.js.map +1 -1
  254. package/dist/index.es205.js +6 -34
  255. package/dist/index.es205.js.map +1 -1
  256. package/dist/index.es206.js +6 -15
  257. package/dist/index.es206.js.map +1 -1
  258. package/dist/index.es209.js +1 -1
  259. package/dist/index.es210.js +1 -1
  260. package/dist/index.es211.js +1 -1
  261. package/dist/index.es229.js +1 -1
  262. package/dist/index.es235.js +1 -1
  263. package/dist/index.es236.js +6 -5
  264. package/dist/index.es236.js.map +1 -1
  265. package/dist/index.es237.js +6 -5
  266. package/dist/index.es237.js.map +1 -1
  267. package/dist/index.es238.js +3 -19
  268. package/dist/index.es238.js.map +1 -1
  269. package/dist/index.es239.js +4 -6
  270. package/dist/index.es239.js.map +1 -1
  271. package/dist/index.es240.js +12 -5
  272. package/dist/index.es240.js.map +1 -1
  273. package/dist/index.es241.js +4 -4
  274. package/dist/index.es241.js.map +1 -1
  275. package/dist/index.es242.js +5 -4
  276. package/dist/index.es242.js.map +1 -1
  277. package/dist/index.es243.js +5 -13
  278. package/dist/index.es243.js.map +1 -1
  279. package/dist/index.es244.js +20 -4
  280. package/dist/index.es244.js.map +1 -1
  281. package/dist/index.es253.js +4 -6
  282. package/dist/index.es253.js.map +1 -1
  283. package/dist/index.es254.js +6 -4
  284. package/dist/index.es254.js.map +1 -1
  285. package/dist/index.es255.js +28 -13
  286. package/dist/index.es255.js.map +1 -1
  287. package/dist/index.es256.js +35 -4
  288. package/dist/index.es256.js.map +1 -1
  289. package/dist/index.es257.js +10 -2
  290. package/dist/index.es257.js.map +1 -1
  291. package/dist/index.es258.js +4 -6
  292. package/dist/index.es258.js.map +1 -1
  293. package/dist/index.es259.js +8 -8
  294. package/dist/index.es259.js.map +1 -1
  295. package/dist/index.es260.js +13 -28
  296. package/dist/index.es260.js.map +1 -1
  297. package/dist/index.es261.js +7 -35
  298. package/dist/index.es261.js.map +1 -1
  299. package/dist/index.es262.js +4 -10
  300. package/dist/index.es262.js.map +1 -1
  301. package/dist/index.es263.js +2 -4
  302. package/dist/index.es263.js.map +1 -1
  303. package/dist/index.es264.js +6 -8
  304. package/dist/index.es264.js.map +1 -1
  305. package/dist/index.es265.js +8 -3
  306. package/dist/index.es265.js.map +1 -1
  307. package/dist/index.es266.js +3 -7
  308. package/dist/index.es266.js.map +1 -1
  309. package/dist/index.es267.js +6 -7
  310. package/dist/index.es267.js.map +1 -1
  311. package/dist/index.es268.js +7 -6
  312. package/dist/index.es268.js.map +1 -1
  313. package/dist/index.es271.js +5 -33
  314. package/dist/index.es271.js.map +1 -1
  315. package/dist/index.es272.js +13 -8
  316. package/dist/index.es272.js.map +1 -1
  317. package/dist/index.es273.js +2 -9
  318. package/dist/index.es273.js.map +1 -1
  319. package/dist/index.es274.js +32 -4
  320. package/dist/index.es274.js.map +1 -1
  321. package/dist/index.es275.js +68 -5
  322. package/dist/index.es275.js.map +1 -1
  323. package/dist/index.es276.js +16 -11
  324. package/dist/index.es276.js.map +1 -1
  325. package/dist/index.es277.js +7 -2
  326. package/dist/index.es277.js.map +1 -1
  327. package/dist/index.es278.js +2 -3
  328. package/dist/index.es278.js.map +1 -1
  329. package/dist/index.es279.js +3 -68
  330. package/dist/index.es279.js.map +1 -1
  331. package/dist/index.es280.js +8 -18
  332. package/dist/index.es280.js.map +1 -1
  333. package/dist/index.es281.js +9 -7
  334. package/dist/index.es281.js.map +1 -1
  335. package/dist/index.es282.js +5 -2
  336. package/dist/index.es282.js.map +1 -1
  337. package/dist/index.es283.js +12 -3
  338. package/dist/index.es283.js.map +1 -1
  339. package/dist/index.es284.js +7 -14
  340. package/dist/index.es284.js.map +1 -1
  341. package/dist/index.es285.js +3 -6
  342. package/dist/index.es285.js.map +1 -1
  343. package/dist/index.es286.js +14 -12
  344. package/dist/index.es286.js.map +1 -1
  345. package/dist/index.es287.js +6 -7
  346. package/dist/index.es287.js.map +1 -1
  347. package/dist/index.es288.js +1 -1
  348. package/dist/index.es289.js +1 -1
  349. package/dist/index.es291.js +3 -3
  350. package/dist/index.es292.js +1 -1
  351. package/dist/index.es294.js +1 -1
  352. package/dist/index.es34.js +3 -3
  353. package/dist/index.es37.js +11 -11
  354. package/dist/index.es38.js +1 -1
  355. package/dist/index.es39.js +2 -2
  356. package/dist/index.es40.js +2 -2
  357. package/dist/index.es41.js +2 -2
  358. package/dist/index.es42.js +2 -2
  359. package/dist/index.es43.js +2 -2
  360. package/dist/index.es44.js +2 -2
  361. package/dist/index.es45.js +2 -2
  362. package/dist/index.es46.js +2 -2
  363. package/dist/index.es47.js +2 -2
  364. package/dist/index.es48.js +2 -2
  365. package/dist/index.es49.js +2 -2
  366. package/dist/index.es53.js +2 -2
  367. package/dist/index.es54.js +2 -2
  368. package/dist/index.es58.js +9 -9
  369. package/dist/index.es62.js +5 -5
  370. package/dist/index.es63.js +2 -2
  371. package/dist/index.es67.js +20 -32
  372. package/dist/index.es67.js.map +1 -1
  373. package/dist/index.es68.js +21 -88
  374. package/dist/index.es68.js.map +1 -1
  375. package/dist/index.es69.js +32 -20
  376. package/dist/index.es69.js.map +1 -1
  377. package/dist/index.es70.js +88 -21
  378. package/dist/index.es70.js.map +1 -1
  379. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs271.js");function it(s,t){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var i=e.call(s,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(s)}function ot(s){var t=it(s,"string");return typeof t=="symbol"?t:String(t)}function f(s,t,e){return t=ot(t),t in s?Object.defineProperty(s,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[t]=e,s}function V(s,t){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable})),e.push.apply(e,i)}return e}function h(s){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?V(Object(e),!0).forEach(function(i){f(s,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(e,i))})}return s}const j={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function P(s){return s?s[0].toUpperCase()+s.slice(1):""}const nt=["enter","leave"];function rt(s=!1,t){return s&&!nt.includes(t)}function at(s,t="",e=!1){const i=j[s],o=i&&i[t]||t;return"on"+P(s)+P(o)+(rt(e,o)?"Capture":"")}const ct=["gotpointercapture","lostpointercapture"];function ht(s){let t=s.substring(2).toLowerCase();const e=!!~t.indexOf("passive");e&&(t=t.replace("passive",""));const i=ct.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(i);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:e}}function ut(s,t=""){const e=j[s],i=e&&e[t]||t;return s+i}function S(s){return"touches"in s}function H(s){return S(s)?"touch":"pointerType"in s?s.pointerType:"mouse"}function lt(s){return Array.from(s.touches).filter(t=>{var e,i;return t.target===s.currentTarget||((e=s.currentTarget)===null||e===void 0||(i=e.contains)===null||i===void 0?void 0:i.call(e,t.target))})}function ft(s){return s.type==="touchend"||s.type==="touchcancel"?s.changedTouches:s.targetTouches}function X(s){return S(s)?ft(s)[0]:s}function C(s,t){try{const e=t.clientX-s.clientX,i=t.clientY-s.clientY,o=(t.clientX+s.clientX)/2,n=(t.clientY+s.clientY)/2,r=Math.hypot(e,i);return{angle:-(Math.atan2(e,i)*180)/Math.PI,distance:r,origin:[o,n]}}catch{}return null}function dt(s){return lt(s).map(t=>t.identifier)}function M(s,t){const[e,i]=Array.from(s.touches).filter(o=>t.includes(o.identifier));return C(e,i)}function x(s){const t=X(s);return S(s)?t.identifier:t.pointerId}function _(s){const t=X(s);return[t.clientX,t.clientY]}const L=40,N=800;function W(s){let{deltaX:t,deltaY:e,deltaMode:i}=s;return i===1?(t*=L,e*=L):i===2&&(t*=N,e*=N),[t,e]}function pt(s){var t,e;const{scrollX:i,scrollY:o,scrollLeft:n,scrollTop:r}=s.currentTarget;return[(t=i??n)!==null&&t!==void 0?t:0,(e=o??r)!==null&&e!==void 0?e:0]}function mt(s){const t={};if("buttons"in s&&(t.buttons=s.buttons),"shiftKey"in s){const{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n}=s;Object.assign(t,{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n})}return t}function I(s,...t){return typeof s=="function"?s(...t):s}function gt(){}function _t(...s){return s.length===0?gt:s.length===1?s[0]:function(){let t;for(const e of s)t=e.apply(this,arguments)||t;return t}}function K(s,t){return Object.assign({},t,s||{})}const vt=32;class z{constructor(t,e,i){this.ctrl=t,this.args=e,this.key=i,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:e,ingKey:i,args:o}=this;e[i]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const e=this.state,i=this.config;e._active||(this.reset(),this.computeInitial(),e._active=!0,e.target=t.target,e.currentTarget=t.currentTarget,e.lastOffset=i.from?I(i.from,e):e.offset,e.offset=e.lastOffset,e.startTime=e.timeStamp=t.timeStamp)}computeValues(t){const e=this.state;e._values=t,e.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:e,config:i,shared:o}=this;e.args=this.args;let n=0;if(t&&(e.event=t,i.preventDefault&&t.cancelable&&e.event.preventDefault(),e.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,mt(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,n=t.timeStamp-e.timeStamp,e.timeStamp=t.timeStamp,e.elapsedTime=e.timeStamp-e.startTime),e._active){const m=e._delta.map(Math.abs);a.V.addTo(e._distance,m)}this.axisIntent&&this.axisIntent(t);const[r,u]=e._movement,[p,v]=i.threshold,{_step:c,values:y}=e;if(i.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(r)>=p&&y[0]),c[1]===!1&&(c[1]=Math.abs(u)>=v&&y[1])):(c[0]===!1&&(c[0]=Math.abs(r)>=p&&Math.sign(r)*p),c[1]===!1&&(c[1]=Math.abs(u)>=v&&Math.sign(u)*v)),e.intentional=c[0]!==!1||c[1]!==!1,!e.intentional)return;const d=[0,0];if(i.hasCustomTransform){const[m,st]=y;d[0]=c[0]!==!1?m-c[0]:0,d[1]=c[1]!==!1?st-c[1]:0}else d[0]=c[0]!==!1?r-c[0]:0,d[1]=c[1]!==!1?u-c[1]:0;this.restrictToAxis&&!e._blocked&&this.restrictToAxis(d);const w=e.offset,T=e._active&&!e._blocked||e.active;T&&(e.first=e._active&&!e.active,e.last=!e._active&&e.active,e.active=o[this.ingKey]=e._active,t&&(e.first&&("bounds"in i&&(e._bounds=I(i.bounds,e)),this.setup&&this.setup()),e.movement=d,this.computeOffset()));const[D,A]=e.offset,[[k,Q],[Z,tt]]=e._bounds;e.overflow=[D<k?-1:D>Q?1:0,A<Z?-1:A>tt?1:0],e._movementBound[0]=e.overflow[0]?e._movementBound[0]===!1?e._movement[0]:e._movementBound[0]:!1,e._movementBound[1]=e.overflow[1]?e._movementBound[1]===!1?e._movement[1]:e._movementBound[1]:!1;const et=e._active?i.rubberband||[0,0]:[0,0];if(e.offset=a.c(e._bounds,e.offset,et),e.delta=a.V.sub(e.offset,w),this.computeMovement(),T&&(!e.last||n>vt)){e.delta=a.V.sub(e.offset,w);const m=e.delta.map(Math.abs);a.V.addTo(e.distance,m),e.direction=e.delta.map(Math.sign),e._direction=e._delta.map(Math.sign),!e.first&&n>0&&(e.velocity=[m[0]/n,m[1]/n],e.timeDelta=n)}}emit(){const t=this.state,e=this.shared,i=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!i.triggerAllEvents)return;const o=this.handler(h(h(h({},e),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function yt([s,t],e){const i=Math.abs(s),o=Math.abs(t);if(i>o&&i>e)return"x";if(o>i&&o>e)return"y"}class b extends z{constructor(...t){super(...t),f(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=a.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=a.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const e=this.state,i=this.config;if(!e.axis&&t){const o=typeof i.axisThreshold=="object"?i.axisThreshold[H(t)]:i.axisThreshold;e.axis=yt(e._movement,o)}e._blocked=(i.lockDirection||!!i.axis)&&!e.axis||!!i.axis&&i.axis!==e.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const R=s=>s,U=.15,O={enabled(s=!0){return s},eventOptions(s,t,e){return h(h({},e.shared.eventOptions),s)},preventDefault(s=!1){return s},triggerAllEvents(s=!1){return s},rubberband(s=0){switch(s){case!0:return[U,U];case!1:return[0,0];default:return a.V.toVector(s)}},from(s){if(typeof s=="function")return s;if(s!=null)return a.V.toVector(s)},transform(s,t,e){const i=s||e.shared.transform;if(this.hasCustomTransform=!!i,process.env.NODE_ENV==="development"){const o=i||R;return n=>{const r=o(n);return(!isFinite(r[0])||!isFinite(r[1]))&&console.warn(`[@use-gesture]: config.transform() must produce a valid result, but it was: [${r[0]},${[1]}]`),r}}return i||R},threshold(s){return a.V.toVector(s,0)}};process.env.NODE_ENV==="development"&&Object.assign(O,{domTarget(s){if(s!==void 0)throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");return NaN},lockDirection(s){if(s!==void 0)throw Error("[@use-gesture]: `lockDirection` option has been merged with `axis`. Use it as in `{ axis: 'lock' }`");return NaN},initial(s){if(s!==void 0)throw Error("[@use-gesture]: `initial` option has been renamed to `from`.");return NaN}});const bt=0,g=h(h({},O),{},{axis(s,t,{axis:e}){if(this.lockDirection=e==="lock",!this.lockDirection)return e},axisThreshold(s=bt){return s},bounds(s={}){if(typeof s=="function")return n=>g.bounds(s(n));if("current"in s)return()=>s.current;if(typeof HTMLElement=="function"&&s instanceof HTMLElement)return s;const{left:t=-1/0,right:e=1/0,top:i=-1/0,bottom:o=1/0}=s;return[[t,e],[i,o]]}}),B={ArrowRight:(s,t=1)=>[s*t,0],ArrowLeft:(s,t=1)=>[-1*s*t,0],ArrowUp:(s,t=1)=>[0,-1*s*t],ArrowDown:(s,t=1)=>[0,s*t]};class Et extends b{constructor(...t){super(...t),f(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const e=t._bounds.getBoundingClientRect(),i=t.currentTarget.getBoundingClientRect(),o={left:e.left-i.left+t.offset[0],right:e.right-i.right+t.offset[0],top:e.top-i.top+t.offset[1],bottom:e.bottom-i.bottom+t.offset[1]};t._bounds=g.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const e=this.config,i=this.state;if(t.buttons!=null&&(Array.isArray(e.pointerButtons)?!e.pointerButtons.includes(t.buttons):e.pointerButtons!==-1&&e.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);e.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&i._pointerActive)&&(this.start(t),this.setupPointer(t),i._pointerId=x(t),i._pointerActive=!0,this.computeValues(_(t)),this.computeInitial(),e.preventScrollAxis&&H(t)!=="mouse"?(i._active=!1,this.setupScrollPrevention(t)):e.delay>0?(this.setupDelayTrigger(t),e.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const e=this.state;e._active=!0,e._preventScroll=!0,e._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const e=this.state,i=this.config;if(!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;const n=_(t);if(document.pointerLockElement===t.target?e._delta=[t.movementX,t.movementY]:(e._delta=a.V.sub(n,e._values),this.computeValues(n)),a.V.addTo(e._movement,e._delta),this.compute(t),e._delayed&&e.intentional){this.timeoutStore.remove("dragDelay"),e.active=!1,this.startPointerDrag(t);return}if(i.preventScrollAxis&&!e._preventScroll)if(e.axis)if(e.axis===i.preventScrollAxis||i.preventScrollAxis==="xy"){e._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{process.env.NODE_ENV==="development"&&console.warn("[@use-gesture]: If you see this message, it's likely that you're using an outdated version of `@react-three/fiber`. \n\nPlease upgrade to the latest version.")}const e=this.state,i=this.config;if(!e._active||!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[n,r]=e._distance;if(e.tap=n<=i.tapsThreshold&&r<=i.tapsThreshold,e.tap&&i.filterTaps)e._force=!0;else{const[u,p]=e._delta,[v,c]=e._movement,[y,d]=i.swipe.velocity,[w,T]=i.swipe.distance,D=i.swipe.duration;if(e.elapsedTime<D){const A=Math.abs(u/e.timeDelta),k=Math.abs(p/e.timeDelta);A>y&&Math.abs(v)>w&&(e.swipe[0]=Math.sign(u)),k>d&&Math.abs(c)>T&&(e.swipe[1]=Math.sign(p))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const e=this.config,i=e.device;if(process.env.NODE_ENV==="development")try{if(i==="pointer"&&e.preventScrollDelay===void 0){const o="uv"in t?t.sourceEvent.currentTarget:t.currentTarget;window.getComputedStyle(o).touchAction==="auto"&&console.warn("[@use-gesture]: The drag target has its `touch-action` style property set to `auto`. It is recommended to add `touch-action: 'none'` so that the drag gesture behaves correctly on touch-enabled devices. For more information read this: https://use-gesture.netlify.app/docs/extras/#touch-action.\n\nThis message will only show in development mode. It won't appear in production. If this is intended, you can ignore it.",o)}}catch{}e.pointerLock&&t.currentTarget.requestPointerLock(),e.pointerCapture||(this.eventStore.add(this.sharedConfig.window,i,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wt(t);const e=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",e),this.eventStore.add(this.sharedConfig.window,"touch","cancel",e),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const e=B[t.key];if(e){const i=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),i._delta=e(this.config.keyboardDisplacement,o),i._keyboardActive=!0,a.V.addTo(i._movement,i._delta),this.compute(t),this.emit()}}keyUp(t){t.key in B&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const e=this.config.device;t(e,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(e,"change",this.pointerMove.bind(this)),t(e,"end",this.pointerUp.bind(this)),t(e,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wt(s){"persist"in s&&typeof s.persist=="function"&&s.persist()}const E=typeof window<"u"&&window.document&&window.document.createElement;function G(){return E&&"ontouchstart"in window}function Tt(){return G()||E&&window.navigator.maxTouchPoints>1}function Dt(){return E&&"onpointerdown"in window}function At(){return E&&"exitPointerLock"in window.document}function It(){try{return"constructor"in GestureEvent}catch{return!1}}const l={isBrowser:E,gesture:It(),touch:G(),touchscreen:Tt(),pointer:Dt(),pointerLock:At()},St=250,kt=180,xt=.5,Ct=50,Ot=250,Vt=10,Y={mouse:0,touch:0,pen:8},$=h(h({},g),{},{device(s,t,{pointer:{touch:e=!1,lock:i=!1,mouse:o=!1}={}}){return this.pointerLock=i&&l.pointerLock,l.touch&&e?"touch":this.pointerLock?"mouse":l.pointer&&!o?"pointer":l.touch?"touch":"mouse"},preventScrollAxis(s,t,{preventScroll:e}){if(this.preventScrollDelay=typeof e=="number"?e:e||e===void 0&&s?St:void 0,!(!l.touchscreen||e===!1))return s||(e!==void 0?"y":void 0)},pointerCapture(s,t,{pointer:{capture:e=!0,buttons:i=1,keys:o=!0}={}}){return this.pointerButtons=i,this.keys=o,!this.pointerLock&&this.device==="pointer"&&e},threshold(s,t,{filterTaps:e=!1,tapsThreshold:i=3,axis:o=void 0}){const n=a.V.toVector(s,e?i:o?1:0);return this.filterTaps=e,this.tapsThreshold=i,n},swipe({velocity:s=xt,distance:t=Ct,duration:e=Ot}={}){return{velocity:this.transform(a.V.toVector(s)),distance:this.transform(a.V.toVector(t)),duration:e}},delay(s=0){switch(s){case!0:return kt;case!1:return 0;default:return s}},axisThreshold(s){return s?h(h({},Y),s):Y},keyboardDisplacement(s=Vt){return s}});process.env.NODE_ENV==="development"&&Object.assign($,{useTouch(s){if(s!==void 0)throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");return NaN},experimental_preventWindowScrollY(s){if(s!==void 0)throw Error("[@use-gesture]: `experimental_preventWindowScrollY` option has been renamed to `preventScroll`.");return NaN},swipeVelocity(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeVelocity` option has been renamed to `swipe.velocity`. Use it as in `{ swipe: { velocity: 0.5 } }`.");return NaN},swipeDistance(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDistance` option has been renamed to `swipe.distance`. Use it as in `{ swipe: { distance: 50 } }`.");return NaN},swipeDuration(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDuration` option has been renamed to `swipe.duration`. Use it as in `{ swipe: { duration: 250 } }`.");return NaN}});function q(s){const[t,e]=s.overflow,[i,o]=s._delta,[n,r]=s._direction;(t<0&&i>0&&n<0||t>0&&i<0&&n>0)&&(s._movement[0]=s._movementBound[0]),(e<0&&o>0&&r<0||e>0&&o<0&&r>0)&&(s._movement[1]=s._movementBound[1])}const Pt=30,Mt=100;class Lt extends z{constructor(...t){super(...t),f(this,"ingKey","pinching"),f(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:e,lastOffset:i}=this.state;t==="wheel"?this.state.offset=a.V.add(e,i):this.state.offset=[(1+e[0])*i[0],e[1]+i[1]]}computeMovement(){const{offset:t,lastOffset:e}=this.state;this.state.movement=[t[0]/e[0],t[1]-e[1]]}axisIntent(){const t=this.state,[e,i]=t._movement;if(!t.axis){const o=Math.abs(e)*Pt-Math.abs(i);o<0?t.axis="angle":o>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const e=this.state,i=this.ctrl.touchIds;if(e._active&&e._touchIds.every(n=>i.has(n))||i.size<2)return;this.start(t),e._touchIds=Array.from(i).slice(0,2);const o=M(t,e._touchIds);o&&this.pinchStart(t,o)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const e=this.state,i=e._pointerEvents,o=this.ctrl.pointerIds;if(e._active&&Array.from(i.keys()).every(r=>o.has(r))||(i.size<2&&i.set(t.pointerId,t),e._pointerEvents.size<2))return;this.start(t);const n=C(...Array.from(i.values()));n&&this.pinchStart(t,n)}pinchStart(t,e){const i=this.state;i.origin=e.origin,this.computeValues([e.distance,e.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const e=M(t,this.state._touchIds);e&&this.pinchMove(t,e)}pointerMove(t){const e=this.state._pointerEvents;if(e.has(t.pointerId)&&e.set(t.pointerId,t),!this.state._active)return;const i=C(...Array.from(e.values()));i&&this.pinchMove(t,i)}pinchMove(t,e){const i=this.state,o=i._values[1],n=e.angle-o;let r=0;Math.abs(n)>270&&(r+=Math.sign(n)),this.computeValues([e.distance,e.angle-360*r]),i.origin=e.origin,i.turns=r,i._movement=[i._values[0]/i._initial[0]-1,i._values[1]-i._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const e=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}e._pointerEvents.has(t.pointerId)&&e._pointerEvents.delete(t.pointerId),e._active&&e._pointerEvents.size<2&&(e._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const e=this.state;e._active||(this.start(t),this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const e=this.state;this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY];const i=e._movement;e._movement=[t.scale-1,t.rotation],e._delta=a.V.sub(e._movement,i),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const e=this.config.modifierKey;e&&(Array.isArray(e)?!e.find(i=>t[i]):!t[e])||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||(t.cancelable&&t.preventDefault(),process.env.NODE_ENV==="development"&&!t.defaultPrevented&&console.warn("[@use-gesture]: To properly support zoom on trackpads, try using the `target` option.\n\nThis message will only appear in development mode."));const i=this.state;i._delta=[-W(t)[1]/Mt*i.offset[0],0],a.V.addTo(i._movement,i._delta),q(i),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const e=this.config.device;e&&(t(e,"start",this[e+"Start"].bind(this)),t(e,"change",this[e+"Move"].bind(this)),t(e,"end",this[e+"End"].bind(this)),t(e,"cancel",this[e+"End"].bind(this)),t("lostPointerCapture","",this[e+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const Nt=h(h({},O),{},{device(s,t,{shared:e,pointer:{touch:i=!1}={}}){if(e.target&&!l.touch&&l.gesture)return"gesture";if(l.touch&&i)return"touch";if(l.touchscreen){if(l.pointer)return"pointer";if(l.touch)return"touch"}},bounds(s,t,{scaleBounds:e={},angleBounds:i={}}){const o=r=>{const u=K(I(e,r),{min:-1/0,max:1/0});return[u.min,u.max]},n=r=>{const u=K(I(i,r),{min:-1/0,max:1/0});return[u.min,u.max]};return typeof e!="function"&&typeof i!="function"?[o(),n()]:r=>[o(r),n(r)]},threshold(s,t,e){return this.lockDirection=e.axis==="lock",a.V.toVector(s,this.lockDirection?[.1,3]:0)},modifierKey(s){return s===void 0?"ctrlKey":s},pinchOnWheel(s=!0){return s}});class Kt extends b{constructor(...t){super(...t),f(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const e=_(t),i=this.state;i._delta=a.V.sub(e,i._values),a.V.addTo(i._movement,i._delta),this.computeValues(e),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const Rt=h(h({},g),{},{mouseOnly:(s=!0)=>s});class Ut extends b{constructor(...t){super(...t),f(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const e=this.state,i=pt(t);e._delta=a.V.sub(i,e._values),a.V.addTo(e._movement,e._delta),this.computeValues(i),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const Bt=g;class Yt extends b{constructor(...t){super(...t),f(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const e=this.state;e._delta=W(t),a.V.addTo(e._movement,e._delta),q(e),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jt=g;class Ht extends b{constructor(...t){super(...t),f(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const e=this.state;if(!e._active)return;e._active=!1;const i=_(t);e._movement=e._delta=a.V.sub(i,e._values),this.computeValues(i),this.compute(t),e.delta=e.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const Xt=h(h({},g),{},{mouseOnly:(s=!0)=>s}),F=new Map,J=new Map;function Wt(s){F.set(s.key,s.engine),J.set(s.key,s.resolver)}const zt={key:"drag",engine:Et,resolver:$},Gt={key:"hover",engine:Ht,resolver:Xt},$t={key:"move",engine:Kt,resolver:Rt},qt={key:"pinch",engine:Lt,resolver:Nt},Ft={key:"scroll",engine:Ut,resolver:Bt},Jt={key:"wheel",engine:Yt,resolver:jt};exports.C=J;exports.E=F;exports.S=l;exports._=h;exports.a=f;exports.b=dt;exports.c=_t;exports.d=at;exports.e=zt;exports.f=qt;exports.h=Gt;exports.i=S;exports.m=$t;exports.p=ht;exports.r=Wt;exports.s=Ft;exports.t=ut;exports.w=Jt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs274.js");function it(s,t){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var i=e.call(s,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(s)}function ot(s){var t=it(s,"string");return typeof t=="symbol"?t:String(t)}function f(s,t,e){return t=ot(t),t in s?Object.defineProperty(s,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[t]=e,s}function V(s,t){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable})),e.push.apply(e,i)}return e}function h(s){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?V(Object(e),!0).forEach(function(i){f(s,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(e,i))})}return s}const j={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function P(s){return s?s[0].toUpperCase()+s.slice(1):""}const nt=["enter","leave"];function rt(s=!1,t){return s&&!nt.includes(t)}function at(s,t="",e=!1){const i=j[s],o=i&&i[t]||t;return"on"+P(s)+P(o)+(rt(e,o)?"Capture":"")}const ct=["gotpointercapture","lostpointercapture"];function ht(s){let t=s.substring(2).toLowerCase();const e=!!~t.indexOf("passive");e&&(t=t.replace("passive",""));const i=ct.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(i);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:e}}function ut(s,t=""){const e=j[s],i=e&&e[t]||t;return s+i}function S(s){return"touches"in s}function H(s){return S(s)?"touch":"pointerType"in s?s.pointerType:"mouse"}function lt(s){return Array.from(s.touches).filter(t=>{var e,i;return t.target===s.currentTarget||((e=s.currentTarget)===null||e===void 0||(i=e.contains)===null||i===void 0?void 0:i.call(e,t.target))})}function ft(s){return s.type==="touchend"||s.type==="touchcancel"?s.changedTouches:s.targetTouches}function X(s){return S(s)?ft(s)[0]:s}function C(s,t){try{const e=t.clientX-s.clientX,i=t.clientY-s.clientY,o=(t.clientX+s.clientX)/2,n=(t.clientY+s.clientY)/2,r=Math.hypot(e,i);return{angle:-(Math.atan2(e,i)*180)/Math.PI,distance:r,origin:[o,n]}}catch{}return null}function dt(s){return lt(s).map(t=>t.identifier)}function M(s,t){const[e,i]=Array.from(s.touches).filter(o=>t.includes(o.identifier));return C(e,i)}function x(s){const t=X(s);return S(s)?t.identifier:t.pointerId}function _(s){const t=X(s);return[t.clientX,t.clientY]}const L=40,N=800;function W(s){let{deltaX:t,deltaY:e,deltaMode:i}=s;return i===1?(t*=L,e*=L):i===2&&(t*=N,e*=N),[t,e]}function pt(s){var t,e;const{scrollX:i,scrollY:o,scrollLeft:n,scrollTop:r}=s.currentTarget;return[(t=i??n)!==null&&t!==void 0?t:0,(e=o??r)!==null&&e!==void 0?e:0]}function mt(s){const t={};if("buttons"in s&&(t.buttons=s.buttons),"shiftKey"in s){const{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n}=s;Object.assign(t,{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n})}return t}function I(s,...t){return typeof s=="function"?s(...t):s}function gt(){}function _t(...s){return s.length===0?gt:s.length===1?s[0]:function(){let t;for(const e of s)t=e.apply(this,arguments)||t;return t}}function K(s,t){return Object.assign({},t,s||{})}const vt=32;class z{constructor(t,e,i){this.ctrl=t,this.args=e,this.key=i,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:e,ingKey:i,args:o}=this;e[i]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const e=this.state,i=this.config;e._active||(this.reset(),this.computeInitial(),e._active=!0,e.target=t.target,e.currentTarget=t.currentTarget,e.lastOffset=i.from?I(i.from,e):e.offset,e.offset=e.lastOffset,e.startTime=e.timeStamp=t.timeStamp)}computeValues(t){const e=this.state;e._values=t,e.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:e,config:i,shared:o}=this;e.args=this.args;let n=0;if(t&&(e.event=t,i.preventDefault&&t.cancelable&&e.event.preventDefault(),e.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,mt(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,n=t.timeStamp-e.timeStamp,e.timeStamp=t.timeStamp,e.elapsedTime=e.timeStamp-e.startTime),e._active){const m=e._delta.map(Math.abs);a.V.addTo(e._distance,m)}this.axisIntent&&this.axisIntent(t);const[r,u]=e._movement,[p,v]=i.threshold,{_step:c,values:y}=e;if(i.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(r)>=p&&y[0]),c[1]===!1&&(c[1]=Math.abs(u)>=v&&y[1])):(c[0]===!1&&(c[0]=Math.abs(r)>=p&&Math.sign(r)*p),c[1]===!1&&(c[1]=Math.abs(u)>=v&&Math.sign(u)*v)),e.intentional=c[0]!==!1||c[1]!==!1,!e.intentional)return;const d=[0,0];if(i.hasCustomTransform){const[m,st]=y;d[0]=c[0]!==!1?m-c[0]:0,d[1]=c[1]!==!1?st-c[1]:0}else d[0]=c[0]!==!1?r-c[0]:0,d[1]=c[1]!==!1?u-c[1]:0;this.restrictToAxis&&!e._blocked&&this.restrictToAxis(d);const w=e.offset,T=e._active&&!e._blocked||e.active;T&&(e.first=e._active&&!e.active,e.last=!e._active&&e.active,e.active=o[this.ingKey]=e._active,t&&(e.first&&("bounds"in i&&(e._bounds=I(i.bounds,e)),this.setup&&this.setup()),e.movement=d,this.computeOffset()));const[D,A]=e.offset,[[k,Q],[Z,tt]]=e._bounds;e.overflow=[D<k?-1:D>Q?1:0,A<Z?-1:A>tt?1:0],e._movementBound[0]=e.overflow[0]?e._movementBound[0]===!1?e._movement[0]:e._movementBound[0]:!1,e._movementBound[1]=e.overflow[1]?e._movementBound[1]===!1?e._movement[1]:e._movementBound[1]:!1;const et=e._active?i.rubberband||[0,0]:[0,0];if(e.offset=a.c(e._bounds,e.offset,et),e.delta=a.V.sub(e.offset,w),this.computeMovement(),T&&(!e.last||n>vt)){e.delta=a.V.sub(e.offset,w);const m=e.delta.map(Math.abs);a.V.addTo(e.distance,m),e.direction=e.delta.map(Math.sign),e._direction=e._delta.map(Math.sign),!e.first&&n>0&&(e.velocity=[m[0]/n,m[1]/n],e.timeDelta=n)}}emit(){const t=this.state,e=this.shared,i=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!i.triggerAllEvents)return;const o=this.handler(h(h(h({},e),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function yt([s,t],e){const i=Math.abs(s),o=Math.abs(t);if(i>o&&i>e)return"x";if(o>i&&o>e)return"y"}class b extends z{constructor(...t){super(...t),f(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=a.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=a.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const e=this.state,i=this.config;if(!e.axis&&t){const o=typeof i.axisThreshold=="object"?i.axisThreshold[H(t)]:i.axisThreshold;e.axis=yt(e._movement,o)}e._blocked=(i.lockDirection||!!i.axis)&&!e.axis||!!i.axis&&i.axis!==e.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const R=s=>s,U=.15,O={enabled(s=!0){return s},eventOptions(s,t,e){return h(h({},e.shared.eventOptions),s)},preventDefault(s=!1){return s},triggerAllEvents(s=!1){return s},rubberband(s=0){switch(s){case!0:return[U,U];case!1:return[0,0];default:return a.V.toVector(s)}},from(s){if(typeof s=="function")return s;if(s!=null)return a.V.toVector(s)},transform(s,t,e){const i=s||e.shared.transform;if(this.hasCustomTransform=!!i,process.env.NODE_ENV==="development"){const o=i||R;return n=>{const r=o(n);return(!isFinite(r[0])||!isFinite(r[1]))&&console.warn(`[@use-gesture]: config.transform() must produce a valid result, but it was: [${r[0]},${[1]}]`),r}}return i||R},threshold(s){return a.V.toVector(s,0)}};process.env.NODE_ENV==="development"&&Object.assign(O,{domTarget(s){if(s!==void 0)throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");return NaN},lockDirection(s){if(s!==void 0)throw Error("[@use-gesture]: `lockDirection` option has been merged with `axis`. Use it as in `{ axis: 'lock' }`");return NaN},initial(s){if(s!==void 0)throw Error("[@use-gesture]: `initial` option has been renamed to `from`.");return NaN}});const bt=0,g=h(h({},O),{},{axis(s,t,{axis:e}){if(this.lockDirection=e==="lock",!this.lockDirection)return e},axisThreshold(s=bt){return s},bounds(s={}){if(typeof s=="function")return n=>g.bounds(s(n));if("current"in s)return()=>s.current;if(typeof HTMLElement=="function"&&s instanceof HTMLElement)return s;const{left:t=-1/0,right:e=1/0,top:i=-1/0,bottom:o=1/0}=s;return[[t,e],[i,o]]}}),B={ArrowRight:(s,t=1)=>[s*t,0],ArrowLeft:(s,t=1)=>[-1*s*t,0],ArrowUp:(s,t=1)=>[0,-1*s*t],ArrowDown:(s,t=1)=>[0,s*t]};class Et extends b{constructor(...t){super(...t),f(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const e=t._bounds.getBoundingClientRect(),i=t.currentTarget.getBoundingClientRect(),o={left:e.left-i.left+t.offset[0],right:e.right-i.right+t.offset[0],top:e.top-i.top+t.offset[1],bottom:e.bottom-i.bottom+t.offset[1]};t._bounds=g.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const e=this.config,i=this.state;if(t.buttons!=null&&(Array.isArray(e.pointerButtons)?!e.pointerButtons.includes(t.buttons):e.pointerButtons!==-1&&e.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);e.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&i._pointerActive)&&(this.start(t),this.setupPointer(t),i._pointerId=x(t),i._pointerActive=!0,this.computeValues(_(t)),this.computeInitial(),e.preventScrollAxis&&H(t)!=="mouse"?(i._active=!1,this.setupScrollPrevention(t)):e.delay>0?(this.setupDelayTrigger(t),e.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const e=this.state;e._active=!0,e._preventScroll=!0,e._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const e=this.state,i=this.config;if(!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;const n=_(t);if(document.pointerLockElement===t.target?e._delta=[t.movementX,t.movementY]:(e._delta=a.V.sub(n,e._values),this.computeValues(n)),a.V.addTo(e._movement,e._delta),this.compute(t),e._delayed&&e.intentional){this.timeoutStore.remove("dragDelay"),e.active=!1,this.startPointerDrag(t);return}if(i.preventScrollAxis&&!e._preventScroll)if(e.axis)if(e.axis===i.preventScrollAxis||i.preventScrollAxis==="xy"){e._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{process.env.NODE_ENV==="development"&&console.warn("[@use-gesture]: If you see this message, it's likely that you're using an outdated version of `@react-three/fiber`. \n\nPlease upgrade to the latest version.")}const e=this.state,i=this.config;if(!e._active||!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[n,r]=e._distance;if(e.tap=n<=i.tapsThreshold&&r<=i.tapsThreshold,e.tap&&i.filterTaps)e._force=!0;else{const[u,p]=e._delta,[v,c]=e._movement,[y,d]=i.swipe.velocity,[w,T]=i.swipe.distance,D=i.swipe.duration;if(e.elapsedTime<D){const A=Math.abs(u/e.timeDelta),k=Math.abs(p/e.timeDelta);A>y&&Math.abs(v)>w&&(e.swipe[0]=Math.sign(u)),k>d&&Math.abs(c)>T&&(e.swipe[1]=Math.sign(p))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const e=this.config,i=e.device;if(process.env.NODE_ENV==="development")try{if(i==="pointer"&&e.preventScrollDelay===void 0){const o="uv"in t?t.sourceEvent.currentTarget:t.currentTarget;window.getComputedStyle(o).touchAction==="auto"&&console.warn("[@use-gesture]: The drag target has its `touch-action` style property set to `auto`. It is recommended to add `touch-action: 'none'` so that the drag gesture behaves correctly on touch-enabled devices. For more information read this: https://use-gesture.netlify.app/docs/extras/#touch-action.\n\nThis message will only show in development mode. It won't appear in production. If this is intended, you can ignore it.",o)}}catch{}e.pointerLock&&t.currentTarget.requestPointerLock(),e.pointerCapture||(this.eventStore.add(this.sharedConfig.window,i,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wt(t);const e=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",e),this.eventStore.add(this.sharedConfig.window,"touch","cancel",e),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const e=B[t.key];if(e){const i=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),i._delta=e(this.config.keyboardDisplacement,o),i._keyboardActive=!0,a.V.addTo(i._movement,i._delta),this.compute(t),this.emit()}}keyUp(t){t.key in B&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const e=this.config.device;t(e,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(e,"change",this.pointerMove.bind(this)),t(e,"end",this.pointerUp.bind(this)),t(e,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wt(s){"persist"in s&&typeof s.persist=="function"&&s.persist()}const E=typeof window<"u"&&window.document&&window.document.createElement;function G(){return E&&"ontouchstart"in window}function Tt(){return G()||E&&window.navigator.maxTouchPoints>1}function Dt(){return E&&"onpointerdown"in window}function At(){return E&&"exitPointerLock"in window.document}function It(){try{return"constructor"in GestureEvent}catch{return!1}}const l={isBrowser:E,gesture:It(),touch:G(),touchscreen:Tt(),pointer:Dt(),pointerLock:At()},St=250,kt=180,xt=.5,Ct=50,Ot=250,Vt=10,Y={mouse:0,touch:0,pen:8},$=h(h({},g),{},{device(s,t,{pointer:{touch:e=!1,lock:i=!1,mouse:o=!1}={}}){return this.pointerLock=i&&l.pointerLock,l.touch&&e?"touch":this.pointerLock?"mouse":l.pointer&&!o?"pointer":l.touch?"touch":"mouse"},preventScrollAxis(s,t,{preventScroll:e}){if(this.preventScrollDelay=typeof e=="number"?e:e||e===void 0&&s?St:void 0,!(!l.touchscreen||e===!1))return s||(e!==void 0?"y":void 0)},pointerCapture(s,t,{pointer:{capture:e=!0,buttons:i=1,keys:o=!0}={}}){return this.pointerButtons=i,this.keys=o,!this.pointerLock&&this.device==="pointer"&&e},threshold(s,t,{filterTaps:e=!1,tapsThreshold:i=3,axis:o=void 0}){const n=a.V.toVector(s,e?i:o?1:0);return this.filterTaps=e,this.tapsThreshold=i,n},swipe({velocity:s=xt,distance:t=Ct,duration:e=Ot}={}){return{velocity:this.transform(a.V.toVector(s)),distance:this.transform(a.V.toVector(t)),duration:e}},delay(s=0){switch(s){case!0:return kt;case!1:return 0;default:return s}},axisThreshold(s){return s?h(h({},Y),s):Y},keyboardDisplacement(s=Vt){return s}});process.env.NODE_ENV==="development"&&Object.assign($,{useTouch(s){if(s!==void 0)throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");return NaN},experimental_preventWindowScrollY(s){if(s!==void 0)throw Error("[@use-gesture]: `experimental_preventWindowScrollY` option has been renamed to `preventScroll`.");return NaN},swipeVelocity(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeVelocity` option has been renamed to `swipe.velocity`. Use it as in `{ swipe: { velocity: 0.5 } }`.");return NaN},swipeDistance(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDistance` option has been renamed to `swipe.distance`. Use it as in `{ swipe: { distance: 50 } }`.");return NaN},swipeDuration(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDuration` option has been renamed to `swipe.duration`. Use it as in `{ swipe: { duration: 250 } }`.");return NaN}});function q(s){const[t,e]=s.overflow,[i,o]=s._delta,[n,r]=s._direction;(t<0&&i>0&&n<0||t>0&&i<0&&n>0)&&(s._movement[0]=s._movementBound[0]),(e<0&&o>0&&r<0||e>0&&o<0&&r>0)&&(s._movement[1]=s._movementBound[1])}const Pt=30,Mt=100;class Lt extends z{constructor(...t){super(...t),f(this,"ingKey","pinching"),f(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:e,lastOffset:i}=this.state;t==="wheel"?this.state.offset=a.V.add(e,i):this.state.offset=[(1+e[0])*i[0],e[1]+i[1]]}computeMovement(){const{offset:t,lastOffset:e}=this.state;this.state.movement=[t[0]/e[0],t[1]-e[1]]}axisIntent(){const t=this.state,[e,i]=t._movement;if(!t.axis){const o=Math.abs(e)*Pt-Math.abs(i);o<0?t.axis="angle":o>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const e=this.state,i=this.ctrl.touchIds;if(e._active&&e._touchIds.every(n=>i.has(n))||i.size<2)return;this.start(t),e._touchIds=Array.from(i).slice(0,2);const o=M(t,e._touchIds);o&&this.pinchStart(t,o)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const e=this.state,i=e._pointerEvents,o=this.ctrl.pointerIds;if(e._active&&Array.from(i.keys()).every(r=>o.has(r))||(i.size<2&&i.set(t.pointerId,t),e._pointerEvents.size<2))return;this.start(t);const n=C(...Array.from(i.values()));n&&this.pinchStart(t,n)}pinchStart(t,e){const i=this.state;i.origin=e.origin,this.computeValues([e.distance,e.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const e=M(t,this.state._touchIds);e&&this.pinchMove(t,e)}pointerMove(t){const e=this.state._pointerEvents;if(e.has(t.pointerId)&&e.set(t.pointerId,t),!this.state._active)return;const i=C(...Array.from(e.values()));i&&this.pinchMove(t,i)}pinchMove(t,e){const i=this.state,o=i._values[1],n=e.angle-o;let r=0;Math.abs(n)>270&&(r+=Math.sign(n)),this.computeValues([e.distance,e.angle-360*r]),i.origin=e.origin,i.turns=r,i._movement=[i._values[0]/i._initial[0]-1,i._values[1]-i._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const e=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}e._pointerEvents.has(t.pointerId)&&e._pointerEvents.delete(t.pointerId),e._active&&e._pointerEvents.size<2&&(e._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const e=this.state;e._active||(this.start(t),this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const e=this.state;this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY];const i=e._movement;e._movement=[t.scale-1,t.rotation],e._delta=a.V.sub(e._movement,i),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const e=this.config.modifierKey;e&&(Array.isArray(e)?!e.find(i=>t[i]):!t[e])||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||(t.cancelable&&t.preventDefault(),process.env.NODE_ENV==="development"&&!t.defaultPrevented&&console.warn("[@use-gesture]: To properly support zoom on trackpads, try using the `target` option.\n\nThis message will only appear in development mode."));const i=this.state;i._delta=[-W(t)[1]/Mt*i.offset[0],0],a.V.addTo(i._movement,i._delta),q(i),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const e=this.config.device;e&&(t(e,"start",this[e+"Start"].bind(this)),t(e,"change",this[e+"Move"].bind(this)),t(e,"end",this[e+"End"].bind(this)),t(e,"cancel",this[e+"End"].bind(this)),t("lostPointerCapture","",this[e+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const Nt=h(h({},O),{},{device(s,t,{shared:e,pointer:{touch:i=!1}={}}){if(e.target&&!l.touch&&l.gesture)return"gesture";if(l.touch&&i)return"touch";if(l.touchscreen){if(l.pointer)return"pointer";if(l.touch)return"touch"}},bounds(s,t,{scaleBounds:e={},angleBounds:i={}}){const o=r=>{const u=K(I(e,r),{min:-1/0,max:1/0});return[u.min,u.max]},n=r=>{const u=K(I(i,r),{min:-1/0,max:1/0});return[u.min,u.max]};return typeof e!="function"&&typeof i!="function"?[o(),n()]:r=>[o(r),n(r)]},threshold(s,t,e){return this.lockDirection=e.axis==="lock",a.V.toVector(s,this.lockDirection?[.1,3]:0)},modifierKey(s){return s===void 0?"ctrlKey":s},pinchOnWheel(s=!0){return s}});class Kt extends b{constructor(...t){super(...t),f(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const e=_(t),i=this.state;i._delta=a.V.sub(e,i._values),a.V.addTo(i._movement,i._delta),this.computeValues(e),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const Rt=h(h({},g),{},{mouseOnly:(s=!0)=>s});class Ut extends b{constructor(...t){super(...t),f(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const e=this.state,i=pt(t);e._delta=a.V.sub(i,e._values),a.V.addTo(e._movement,e._delta),this.computeValues(i),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const Bt=g;class Yt extends b{constructor(...t){super(...t),f(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const e=this.state;e._delta=W(t),a.V.addTo(e._movement,e._delta),q(e),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jt=g;class Ht extends b{constructor(...t){super(...t),f(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const e=this.state;if(!e._active)return;e._active=!1;const i=_(t);e._movement=e._delta=a.V.sub(i,e._values),this.computeValues(i),this.compute(t),e.delta=e.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const Xt=h(h({},g),{},{mouseOnly:(s=!0)=>s}),F=new Map,J=new Map;function Wt(s){F.set(s.key,s.engine),J.set(s.key,s.resolver)}const zt={key:"drag",engine:Et,resolver:$},Gt={key:"hover",engine:Ht,resolver:Xt},$t={key:"move",engine:Kt,resolver:Rt},qt={key:"pinch",engine:Lt,resolver:Nt},Ft={key:"scroll",engine:Ut,resolver:Bt},Jt={key:"wheel",engine:Yt,resolver:jt};exports.C=J;exports.E=F;exports.S=l;exports._=h;exports.a=f;exports.b=dt;exports.c=_t;exports.d=at;exports.e=zt;exports.f=qt;exports.h=Gt;exports.i=S;exports.m=$t;exports.p=ht;exports.r=Wt;exports.s=Ft;exports.t=ut;exports.w=Jt;
2
2
  //# sourceMappingURL=index.cjs235.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var i=c;exports.isObject_1=i;
1
+ "use strict";const e=require("./index.cjs173.js"),i=require("./index.cjs260.js");function o(t){var r=i(t,"string");return e(r)=="symbol"?r:String(r)}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs236.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs236.js","sources":["../../../node_modules/lodash/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n"],"names":["isObject","value","type","isObject_1"],"mappings":"gFAyBA,SAASA,EAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs236.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}"],"names":["toPropertyKey","i","toPrimitive","_typeof"],"mappings":"iFAEA,SAAwBA,EAAc,EAAG,CACnC,IAAAC,EAAIC,EAAY,EAAG,QAAQ,EAC/B,OAAmBC,EAAQF,CAAC,GAArB,SAAyBA,EAAI,OAAOA,CAAC,CAC9C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs265.js");var r=o._root,t=function(){return r.Date.now()},e=t;exports.now_1=e;
1
+ "use strict";function t(o,r){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},t(o,r)}module.exports=t;
2
2
  //# sourceMappingURL=index.cjs237.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs237.js","sources":["../../../node_modules/lodash/now.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n"],"names":["root","require$$0","now","now_1"],"mappings":"qHAAA,IAAIA,EAAOC,EAAAA,MAkBPC,EAAM,UAAW,CACZ,OAAAF,EAAK,KAAK,KACnB,EAEAG,EAAiBD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs237.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"names":["_setPrototypeOf","p","o"],"mappings":"aAAwB,SAAAA,EAAgB,EAAGC,EAAG,CAC1B,OAAAD,EAAA,OAAO,eAAiB,OAAO,eAAe,OAAS,SAAyBE,EAAGD,EAAG,CACtGC,OAAAA,EAAE,UAAYD,EACPC,CAAA,EAEFF,EAAgB,EAAGC,CAAC,CAC7B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs266.js"),o=require("./index.cjs236.js"),b=require("./index.cjs267.js");var f=n._baseTrim,s=o.isObject_1,c=b.isSymbol_1,e=NaN,m=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,O=/^0o[0-7]+$/i,_=parseInt;function a(r){if(typeof r=="number")return r;if(c(r))return e;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=f(r);var i=y.test(r);return i||O.test(r)?_(r.slice(2),i?2:8):m.test(r)?e:+r}var p=a;exports.toNumber_1=p;
1
+ "use strict";function t(r){if(Array.isArray(r))return r}module.exports=t;
2
2
  //# sourceMappingURL=index.cjs238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs238.js","sources":["../../../node_modules/lodash/toNumber.js"],"sourcesContent":["var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["baseTrim","require$$0","isObject","require$$1","isSymbol","require$$2","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","other","isBinary","toNumber_1"],"mappings":"mLAAA,IAAIA,EAAWC,EAAAA,UACXC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,WAGXC,EAAM,IAGNC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAe,SAyBnB,SAASC,EAASC,EAAO,CACnB,GAAA,OAAOA,GAAS,SACX,OAAAA,EAEL,GAAAR,EAASQ,CAAK,EACT,OAAAN,EAEL,GAAAJ,EAASU,CAAK,EAAG,CACnB,IAAIC,EAAQ,OAAOD,EAAM,SAAW,WAAaA,EAAM,QAAY,EAAAA,EACnEA,EAAQV,EAASW,CAAK,EAAKA,EAAQ,GAAMA,CAC3C,CACI,GAAA,OAAOD,GAAS,SACX,OAAAA,IAAU,EAAIA,EAAQ,CAACA,EAEhCA,EAAQZ,EAASY,CAAK,EAClB,IAAAE,EAAWN,EAAW,KAAKI,CAAK,EACpC,OAAQE,GAAYL,EAAU,KAAKG,CAAK,EACpCF,EAAaE,EAAM,MAAM,CAAC,EAAGE,EAAW,EAAI,CAAC,EAC5CP,EAAW,KAAKK,CAAK,EAAIN,EAAM,CAACM,CACvC,CAEA,IAAAG,EAAiBJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs238.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}"],"names":["_arrayWithHoles","arr"],"mappings":"aAAA,SAAwBA,EAAgBC,EAAK,CACvC,GAAA,MAAM,QAAQA,CAAG,EAAU,OAAAA,CACjC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs176.js"),i=require("./index.cjs255.js");function o(t){var r=i(t,"string");return e(r)=="symbol"?r:String(r)}module.exports=o;
1
+ "use strict";function o(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs239.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs239.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}"],"names":["toPropertyKey","i","toPrimitive","_typeof"],"mappings":"iFAEA,SAAwBA,EAAc,EAAG,CACnC,IAAAC,EAAIC,EAAY,EAAG,QAAQ,EAC/B,OAAmBC,EAAQF,CAAC,GAArB,SAAyBA,EAAI,OAAOA,CAAC,CAC9C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs239.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js"],"sourcesContent":["export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}"],"names":["_iterableToArray","iter"],"mappings":"aAAA,SAAwBA,EAAiBC,EAAM,CACzC,GAAA,OAAO,OAAW,KAAeA,EAAK,OAAO,QAAQ,GAAK,MAAQA,EAAK,YAAY,GAAK,KAAa,OAAA,MAAM,KAAKA,CAAI,CAC1H","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function t(o,r){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},t(o,r)}module.exports=t;
1
+ "use strict";const n=require("./index.cjs261.js");function a(r,e){if(r){if(typeof r=="string")return n(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,e)}}module.exports=a;
2
2
  //# sourceMappingURL=index.cjs240.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs240.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"names":["_setPrototypeOf","p","o"],"mappings":"aAAwB,SAAAA,EAAgB,EAAGC,EAAG,CAC1B,OAAAD,EAAA,OAAO,eAAiB,OAAO,eAAe,OAAS,SAAyBE,EAAGD,EAAG,CACtGC,OAAAA,EAAE,UAAYD,EACPC,CAAA,EAEFF,EAAgB,EAAGC,CAAC,CAC7B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs240.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n"],"mappings":"kDACwB,SAAAA,EAA4BC,EAAGC,EAAQ,CAC7D,GAAKD,EACL,IAAI,OAAOA,GAAM,SAAiB,OAAAE,EAAiBF,EAAGC,CAAM,EACxD,IAAAE,EAAI,OAAO,UAAU,SAAS,KAAKH,CAAC,EAAE,MAAM,EAAG,EAAE,EAEjD,GADAG,IAAM,UAAYH,EAAE,cAAaG,EAAIH,EAAE,YAAY,MACnDG,IAAM,OAASA,IAAM,MAAc,OAAA,MAAM,KAAKH,CAAC,EACnD,GAAIG,IAAM,aAAe,2CAA2C,KAAKA,CAAC,EAAU,OAAAD,EAAiBF,EAAGC,CAAM,EAChH","x_google_ignoreList":[0]}
@@ -1,2 +1,3 @@
1
- "use strict";function t(r){if(Array.isArray(r))return r}module.exports=t;
1
+ "use strict";function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}module.exports=t;
2
3
  //# sourceMappingURL=index.cjs241.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs241.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}"],"names":["_arrayWithHoles","arr"],"mappings":"aAAA,SAAwBA,EAAgBC,EAAK,CACvC,GAAA,MAAM,QAAQA,CAAG,EAAU,OAAAA,CACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs241.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js"],"sourcesContent":["export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}"],"names":["_nonIterableRest"],"mappings":"aAAA,SAAwBA,GAAmB,CACnC,MAAA,IAAI,UAAU;AAAA,mFAA2I,CACjK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function o(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}module.exports=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var i=c;exports.isObject_1=i;
2
2
  //# sourceMappingURL=index.cjs242.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs242.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js"],"sourcesContent":["export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}"],"names":["_iterableToArray","iter"],"mappings":"aAAA,SAAwBA,EAAiBC,EAAM,CACzC,GAAA,OAAO,OAAW,KAAeA,EAAK,OAAO,QAAQ,GAAK,MAAQA,EAAK,YAAY,GAAK,KAAa,OAAA,MAAM,KAAKA,CAAI,CAC1H","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs242.js","sources":["../../../node_modules/lodash/isObject.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n"],"names":["isObject","value","type","isObject_1"],"mappings":"gFAyBA,SAASA,EAASC,EAAO,CACvB,IAAIC,EAAO,OAAOD,EAClB,OAAOA,GAAS,OAASC,GAAQ,UAAYA,GAAQ,WACvD,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs268.js");function a(r,e){if(r){if(typeof r=="string")return n(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,e)}}module.exports=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs266.js");var r=o._root,t=function(){return r.Date.now()},e=t;exports.now_1=e;
2
2
  //# sourceMappingURL=index.cjs243.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs243.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n"],"mappings":"kDACwB,SAAAA,EAA4BC,EAAGC,EAAQ,CAC7D,GAAKD,EACL,IAAI,OAAOA,GAAM,SAAiB,OAAAE,EAAiBF,EAAGC,CAAM,EACxD,IAAAE,EAAI,OAAO,UAAU,SAAS,KAAKH,CAAC,EAAE,MAAM,EAAG,EAAE,EAEjD,GADAG,IAAM,UAAYH,EAAE,cAAaG,EAAIH,EAAE,YAAY,MACnDG,IAAM,OAASA,IAAM,MAAc,OAAA,MAAM,KAAKH,CAAC,EACnD,GAAIG,IAAM,aAAe,2CAA2C,KAAKA,CAAC,EAAU,OAAAD,EAAiBF,EAAGC,CAAM,EAChH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs243.js","sources":["../../../node_modules/lodash/now.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n"],"names":["root","require$$0","now","now_1"],"mappings":"qHAAA,IAAIA,EAAOC,EAAAA,MAkBPC,EAAM,UAAW,CACZ,OAAAF,EAAK,KAAK,KACnB,EAEAG,EAAiBD","x_google_ignoreList":[0]}
@@ -1,3 +1,2 @@
1
- "use strict";function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}module.exports=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs267.js"),o=require("./index.cjs242.js"),b=require("./index.cjs268.js");var f=n._baseTrim,s=o.isObject_1,c=b.isSymbol_1,e=NaN,m=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,O=/^0o[0-7]+$/i,_=parseInt;function a(r){if(typeof r=="number")return r;if(c(r))return e;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=f(r);var i=y.test(r);return i||O.test(r)?_(r.slice(2),i?2:8):m.test(r)?e:+r}var p=a;exports.toNumber_1=p;
3
2
  //# sourceMappingURL=index.cjs244.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs244.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js"],"sourcesContent":["export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}"],"names":["_nonIterableRest"],"mappings":"aAAA,SAAwBA,GAAmB,CACnC,MAAA,IAAI,UAAU;AAAA,mFAA2I,CACjK","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs244.js","sources":["../../../node_modules/lodash/toNumber.js"],"sourcesContent":["var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["baseTrim","require$$0","isObject","require$$1","isSymbol","require$$2","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","value","other","isBinary","toNumber_1"],"mappings":"mLAAA,IAAIA,EAAWC,EAAAA,UACXC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,WAGXC,EAAM,IAGNC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAe,SAyBnB,SAASC,EAASC,EAAO,CACnB,GAAA,OAAOA,GAAS,SACX,OAAAA,EAEL,GAAAR,EAASQ,CAAK,EACT,OAAAN,EAEL,GAAAJ,EAASU,CAAK,EAAG,CACnB,IAAIC,EAAQ,OAAOD,EAAM,SAAW,WAAaA,EAAM,QAAY,EAAAA,EACnEA,EAAQV,EAASW,CAAK,EAAKA,EAAQ,GAAMA,CAC3C,CACI,GAAA,OAAOD,GAAS,SACX,OAAAA,IAAU,EAAIA,EAAQ,CAACA,EAEhCA,EAAQZ,EAASY,CAAK,EAClB,IAAAE,EAAWN,EAAW,KAAKI,CAAK,EACpC,OAAQE,GAAYL,EAAU,KAAKG,CAAK,EACpCF,EAAaE,EAAM,MAAM,CAAC,EAAGE,EAAW,EAAI,CAAC,EAC5CP,EAAW,KAAKK,CAAK,EAAIN,EAAM,CAACM,CACvC,CAEA,IAAAG,EAAiBJ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs6.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
1
+ "use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs253.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs253.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"gDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CACtB,IAAAC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,iBAAA,CAEnF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs253.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
1
+ "use strict";const n=require("./index.cjs6.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs254.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs254.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs254.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"gDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CACtB,IAAAC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,iBAAA,CAEnF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs176.js");function u(r,e){if(o(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var t=i.call(r,e||"default");if(o(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs275.js"),c=require("./index.cjs276.js"),l=require("./index.cjs277.js"),v=require("./index.cjs278.js");var i=new WeakMap,u=function(n,t){for(var e=0;e<n.length;e+=1)if(n[e].target===t)return e;return-1},b=function(){function n(){}return n.connect=function(t,e){var r=new l.ResizeObserverDetail(t,e);i.set(t,r)},n.observe=function(t,e,r){var s=i.get(t),a=s.observationTargets.length===0;u(s.observationTargets,e)<0&&(a&&v.resizeObservers.push(s),s.observationTargets.push(new c.ResizeObservation(e,r&&r.box)),o.updateCount(1),o.scheduler.schedule())},n.unobserve=function(t,e){var r=i.get(t),s=u(r.observationTargets,e),a=r.observationTargets.length===1;s>=0&&(a&&v.resizeObservers.splice(v.resizeObservers.indexOf(r),1),r.observationTargets.splice(s,1),o.updateCount(-1))},n.disconnect=function(t){var e=this,r=i.get(t);r.observationTargets.slice().forEach(function(s){return e.unobserve(t,s.target)}),r.activeTargets.splice(0,r.activeTargets.length)},n}();exports.ResizeObserverController=b;
2
2
  //# sourceMappingURL=index.cjs255.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs255.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs255.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverController.js"],"sourcesContent":["import { scheduler, updateCount } from './utils/scheduler';\nimport { ResizeObservation } from './ResizeObservation';\nimport { ResizeObserverDetail } from './ResizeObserverDetail';\nimport { resizeObservers } from './utils/resizeObservers';\nvar observerMap = new WeakMap();\nvar getObservationIndex = function (observationTargets, target) {\n for (var i = 0; i < observationTargets.length; i += 1) {\n if (observationTargets[i].target === target) {\n return i;\n }\n }\n return -1;\n};\nvar ResizeObserverController = (function () {\n function ResizeObserverController() {\n }\n ResizeObserverController.connect = function (resizeObserver, callback) {\n var detail = new ResizeObserverDetail(resizeObserver, callback);\n observerMap.set(resizeObserver, detail);\n };\n ResizeObserverController.observe = function (resizeObserver, target, options) {\n var detail = observerMap.get(resizeObserver);\n var firstObservation = detail.observationTargets.length === 0;\n if (getObservationIndex(detail.observationTargets, target) < 0) {\n firstObservation && resizeObservers.push(detail);\n detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n updateCount(1);\n scheduler.schedule();\n }\n };\n ResizeObserverController.unobserve = function (resizeObserver, target) {\n var detail = observerMap.get(resizeObserver);\n var index = getObservationIndex(detail.observationTargets, target);\n var lastObservation = detail.observationTargets.length === 1;\n if (index >= 0) {\n lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n detail.observationTargets.splice(index, 1);\n updateCount(-1);\n }\n };\n ResizeObserverController.disconnect = function (resizeObserver) {\n var _this = this;\n var detail = observerMap.get(resizeObserver);\n detail.observationTargets.slice().forEach(function (ot) { return _this.unobserve(resizeObserver, ot.target); });\n detail.activeTargets.splice(0, detail.activeTargets.length);\n };\n return ResizeObserverController;\n}());\nexport { ResizeObserverController };\n"],"names":["observerMap","getObservationIndex","observationTargets","target","i","ResizeObserverController","resizeObserver","callback","detail","ResizeObserverDetail","options","firstObservation","resizeObservers","ResizeObservation","updateCount","scheduler","index","lastObservation","_this","ot"],"mappings":"kNAIA,IAAIA,MAAkB,QAClBC,EAAsB,SAAUC,EAAoBC,EAAQ,CAC5D,QAASC,EAAI,EAAGA,EAAIF,EAAmB,OAAQE,GAAK,EAChD,GAAIF,EAAmBE,CAAC,EAAE,SAAWD,EAC1B,OAAAC,EAGR,MAAA,EACX,EACIC,EAA4B,UAAY,CACxC,SAASA,GAA2B,CACpC,CACAA,OAAAA,EAAyB,QAAU,SAAUC,EAAgBC,EAAU,CACnE,IAAIC,EAAS,IAAIC,EAAAA,qBAAqBH,EAAgBC,CAAQ,EAClDP,EAAA,IAAIM,EAAgBE,CAAM,CAAA,EAE1CH,EAAyB,QAAU,SAAUC,EAAgBH,EAAQO,EAAS,CACtE,IAAAF,EAASR,EAAY,IAAIM,CAAc,EACvCK,EAAmBH,EAAO,mBAAmB,SAAW,EACxDP,EAAoBO,EAAO,mBAAoBL,CAAM,EAAI,IACrCQ,GAAAC,EAAA,gBAAgB,KAAKJ,CAAM,EACxCA,EAAA,mBAAmB,KAAK,IAAIK,EAAA,kBAAkBV,EAAQO,GAAWA,EAAQ,GAAG,CAAC,EACpFI,EAAA,YAAY,CAAC,EACbC,EAAA,UAAU,SAAS,EACvB,EAEJV,EAAyB,UAAY,SAAUC,EAAgBH,EAAQ,CAC/D,IAAAK,EAASR,EAAY,IAAIM,CAAc,EACvCU,EAAQf,EAAoBO,EAAO,mBAAoBL,CAAM,EAC7Dc,EAAkBT,EAAO,mBAAmB,SAAW,EACvDQ,GAAS,IACTC,GAAmBL,kBAAgB,OAAOA,EAAAA,gBAAgB,QAAQJ,CAAM,EAAG,CAAC,EACrEA,EAAA,mBAAmB,OAAOQ,EAAO,CAAC,EACzCF,EAAA,YAAY,EAAE,EAClB,EAEJT,EAAyB,WAAa,SAAUC,EAAgB,CAC5D,IAAIY,EAAQ,KACRV,EAASR,EAAY,IAAIM,CAAc,EAC3CE,EAAO,mBAAmB,MAAQ,EAAA,QAAQ,SAAUW,EAAI,CAAE,OAAOD,EAAM,UAAUZ,EAAgBa,EAAG,MAAM,CAAA,CAAI,EAC9GX,EAAO,cAAc,OAAO,EAAGA,EAAO,cAAc,MAAM,CAAA,EAEvDH,CACX,EAAE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function i(a,t){return[(t=+t)*Math.cos(a-=Math.PI/2),t*Math.sin(a)]}module.exports=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var s=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(s(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,a=i.offsetWidth,c=i.offsetHeight;return!(a||c||e.getClientRects().length)},l=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},o=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};exports.isElement=l;exports.isHidden=f;exports.isReplacedElement=o;exports.isSVG=s;
2
2
  //# sourceMappingURL=index.cjs256.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs256.js","sources":["../../../node_modules/d3-shape/src/pointRadial.js"],"sourcesContent":["export default function(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n}\n"],"names":["pointRadial","x","y"],"mappings":"aAAA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,MAAO,EAAEA,EAAI,CAACA,GAAK,KAAK,IAAID,GAAK,KAAK,GAAK,CAAC,EAAGC,EAAI,KAAK,IAAID,CAAC,CAAC,CAChE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs256.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/element.js"],"sourcesContent":["var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; };\nvar isHidden = function (target) {\n if (isSVG(target)) {\n var _a = target.getBBox(), width = _a.width, height = _a.height;\n return !width && !height;\n }\n var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\nvar isElement = function (obj) {\n var _a;\n if (obj instanceof Element) {\n return true;\n }\n var scope = (_a = obj === null || obj === void 0 ? void 0 : obj.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView;\n return !!(scope && obj instanceof scope.Element);\n};\nvar isReplacedElement = function (target) {\n switch (target.tagName) {\n case 'INPUT':\n if (target.type !== 'image') {\n break;\n }\n case 'VIDEO':\n case 'AUDIO':\n case 'EMBED':\n case 'OBJECT':\n case 'CANVAS':\n case 'IFRAME':\n case 'IMG':\n return true;\n }\n return false;\n};\nexport { isSVG, isHidden, isElement, isReplacedElement };\n"],"names":["isSVG","target","isHidden","_a","width","height","_b","offsetWidth","offsetHeight","isElement","obj","scope","isReplacedElement"],"mappings":"gFAAI,IAAAA,EAAQ,SAAUC,EAAQ,CAAS,OAAAA,aAAkB,YAAc,YAAaA,CAAQ,EACxFC,EAAW,SAAUD,EAAQ,CACzB,GAAAD,EAAMC,CAAM,EAAG,CACX,IAAAE,EAAKF,EAAO,UAAWG,EAAQD,EAAG,MAAOE,EAASF,EAAG,OAClD,MAAA,CAACC,GAAS,CAACC,CACtB,CACA,IAAIC,EAAKL,EAAQM,EAAcD,EAAG,YAAaE,EAAeF,EAAG,aACjE,MAAO,EAAEC,GAAeC,GAAgBP,EAAO,iBAAiB,OACpE,EACIQ,EAAY,SAAUC,EAAK,CACvB,IAAAP,EACJ,GAAIO,aAAe,QACR,MAAA,GAEX,IAAIC,GAASR,EAAKO,GAAQ,KAAyB,OAASA,EAAI,iBAAmB,MAAQP,IAAO,OAAS,OAASA,EAAG,YACvH,MAAO,CAAC,EAAEQ,GAASD,aAAeC,EAAM,QAC5C,EACIC,EAAoB,SAAUX,EAAQ,CACtC,OAAQA,EAAO,QAAS,CACpB,IAAK,QACG,GAAAA,EAAO,OAAS,QAChB,MAER,IAAK,QACL,IAAK,QACL,IAAK,QACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,MACM,MAAA,EACf,CACO,MAAA,EACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=Array.prototype.slice;exports.slice=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs187.js"),t=require("./index.cjs258.js");var n=function(){function i(r){var e=o.calculateBoxSizes(r);this.target=r,this.contentRect=e.contentRect,this.borderBoxSize=t.freeze([e.borderBoxSize]),this.contentBoxSize=t.freeze([e.contentBoxSize]),this.devicePixelContentBoxSize=t.freeze([e.devicePixelContentBoxSize])}return i}();exports.ResizeObserverEntry=n;
2
2
  //# sourceMappingURL=index.cjs257.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs257.js","sources":["../../../node_modules/d3-shape/src/array.js"],"sourcesContent":["export var slice = Array.prototype.slice;\n"],"names":["slice"],"mappings":"gFAAW,IAAAA,EAAQ,MAAM,UAAU","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs257.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js"],"sourcesContent":["import { calculateBoxSizes } from './algorithms/calculateBoxSize';\nimport { freeze } from './utils/freeze';\nvar ResizeObserverEntry = (function () {\n function ResizeObserverEntry(target) {\n var boxes = calculateBoxSizes(target);\n this.target = target;\n this.contentRect = boxes.contentRect;\n this.borderBoxSize = freeze([boxes.borderBoxSize]);\n this.contentBoxSize = freeze([boxes.contentBoxSize]);\n this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n }\n return ResizeObserverEntry;\n}());\nexport { ResizeObserverEntry };\n"],"names":["ResizeObserverEntry","target","boxes","calculateBoxSizes","freeze"],"mappings":"oJAEA,IAAIA,EAAmC,UAAA,CACnC,SAASA,EAAoBC,EAAQ,CAC7B,IAAAC,EAAQC,oBAAkBF,CAAM,EACpC,KAAK,OAASA,EACd,KAAK,YAAcC,EAAM,YACzB,KAAK,cAAgBE,EAAA,OAAO,CAACF,EAAM,aAAa,CAAC,EACjD,KAAK,eAAiBE,EAAA,OAAO,CAACF,EAAM,cAAc,CAAC,EACnD,KAAK,0BAA4BE,EAAA,OAAO,CAACF,EAAM,yBAAyB,CAAC,CAC7E,CACOF,OAAAA,CACX,EAAE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function n(t){return function(){return t}}module.exports=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=function(e){return Object.freeze(e)};exports.freeze=r;
2
2
  //# sourceMappingURL=index.cjs258.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs258.js","sources":["../../../node_modules/d3-shape/src/constant.js"],"sourcesContent":["export default function(x) {\n return function constant() {\n return x;\n };\n}\n"],"names":["constant","x"],"mappings":"aAAA,SAAAA,EAAwBC,EAAG,CACzB,OAAO,UAAoB,CAClB,OAAAA,CAAA,CAEX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs258.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/freeze.js"],"sourcesContent":["export var freeze = function (obj) { return Object.freeze(obj); };\n"],"names":["freeze","obj"],"mappings":"gFAAW,IAAAA,EAAS,SAAUC,EAAK,CAAS,OAAA,OAAO,OAAOA,CAAG,CAAG","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t[0]}function n(t){return t[1]}exports.x=e;exports.y=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs258.js");var s=function(){function e(i,r){this.inlineSize=i,this.blockSize=r,t.freeze(this)}return e}();exports.ResizeObserverSize=s;
2
2
  //# sourceMappingURL=index.cjs259.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs259.js","sources":["../../../node_modules/d3-shape/src/point.js"],"sourcesContent":["export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n"],"names":["x","p","y"],"mappings":"gFAAO,SAASA,EAAEC,EAAG,CACnB,OAAOA,EAAE,CAAC,CACZ,CAEO,SAASC,EAAED,EAAG,CACnB,OAAOA,EAAE,CAAC,CACZ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs259.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar ResizeObserverSize = (function () {\n function ResizeObserverSize(inlineSize, blockSize) {\n this.inlineSize = inlineSize;\n this.blockSize = blockSize;\n freeze(this);\n }\n return ResizeObserverSize;\n}());\nexport { ResizeObserverSize };\n"],"names":["ResizeObserverSize","inlineSize","blockSize","freeze"],"mappings":"qHACA,IAAIA,EAAkC,UAAA,CACzBA,SAAAA,EAAmBC,EAAYC,EAAW,CAC/C,KAAK,WAAaD,EAClB,KAAK,UAAYC,EACjBC,EAAA,OAAO,IAAI,CACf,CACOH,OAAAA,CACX,EAAE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs279.js"),c=require("./index.cjs280.js"),l=require("./index.cjs281.js"),v=require("./index.cjs282.js");var i=new WeakMap,u=function(n,t){for(var e=0;e<n.length;e+=1)if(n[e].target===t)return e;return-1},b=function(){function n(){}return n.connect=function(t,e){var r=new l.ResizeObserverDetail(t,e);i.set(t,r)},n.observe=function(t,e,r){var s=i.get(t),a=s.observationTargets.length===0;u(s.observationTargets,e)<0&&(a&&v.resizeObservers.push(s),s.observationTargets.push(new c.ResizeObservation(e,r&&r.box)),o.updateCount(1),o.scheduler.schedule())},n.unobserve=function(t,e){var r=i.get(t),s=u(r.observationTargets,e),a=r.observationTargets.length===1;s>=0&&(a&&v.resizeObservers.splice(v.resizeObservers.indexOf(r),1),r.observationTargets.splice(s,1),o.updateCount(-1))},n.disconnect=function(t){var e=this,r=i.get(t);r.observationTargets.slice().forEach(function(s){return e.unobserve(t,s.target)}),r.activeTargets.splice(0,r.activeTargets.length)},n}();exports.ResizeObserverController=b;
1
+ "use strict";const o=require("./index.cjs173.js");function u(r,e){if(o(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var t=i.call(r,e||"default");if(o(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs260.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs260.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverController.js"],"sourcesContent":["import { scheduler, updateCount } from './utils/scheduler';\nimport { ResizeObservation } from './ResizeObservation';\nimport { ResizeObserverDetail } from './ResizeObserverDetail';\nimport { resizeObservers } from './utils/resizeObservers';\nvar observerMap = new WeakMap();\nvar getObservationIndex = function (observationTargets, target) {\n for (var i = 0; i < observationTargets.length; i += 1) {\n if (observationTargets[i].target === target) {\n return i;\n }\n }\n return -1;\n};\nvar ResizeObserverController = (function () {\n function ResizeObserverController() {\n }\n ResizeObserverController.connect = function (resizeObserver, callback) {\n var detail = new ResizeObserverDetail(resizeObserver, callback);\n observerMap.set(resizeObserver, detail);\n };\n ResizeObserverController.observe = function (resizeObserver, target, options) {\n var detail = observerMap.get(resizeObserver);\n var firstObservation = detail.observationTargets.length === 0;\n if (getObservationIndex(detail.observationTargets, target) < 0) {\n firstObservation && resizeObservers.push(detail);\n detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n updateCount(1);\n scheduler.schedule();\n }\n };\n ResizeObserverController.unobserve = function (resizeObserver, target) {\n var detail = observerMap.get(resizeObserver);\n var index = getObservationIndex(detail.observationTargets, target);\n var lastObservation = detail.observationTargets.length === 1;\n if (index >= 0) {\n lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n detail.observationTargets.splice(index, 1);\n updateCount(-1);\n }\n };\n ResizeObserverController.disconnect = function (resizeObserver) {\n var _this = this;\n var detail = observerMap.get(resizeObserver);\n detail.observationTargets.slice().forEach(function (ot) { return _this.unobserve(resizeObserver, ot.target); });\n detail.activeTargets.splice(0, detail.activeTargets.length);\n };\n return ResizeObserverController;\n}());\nexport { ResizeObserverController };\n"],"names":["observerMap","getObservationIndex","observationTargets","target","i","ResizeObserverController","resizeObserver","callback","detail","ResizeObserverDetail","options","firstObservation","resizeObservers","ResizeObservation","updateCount","scheduler","index","lastObservation","_this","ot"],"mappings":"kNAIA,IAAIA,MAAkB,QAClBC,EAAsB,SAAUC,EAAoBC,EAAQ,CAC5D,QAASC,EAAI,EAAGA,EAAIF,EAAmB,OAAQE,GAAK,EAChD,GAAIF,EAAmBE,CAAC,EAAE,SAAWD,EAC1B,OAAAC,EAGR,MAAA,EACX,EACIC,EAA4B,UAAY,CACxC,SAASA,GAA2B,CACpC,CACAA,OAAAA,EAAyB,QAAU,SAAUC,EAAgBC,EAAU,CACnE,IAAIC,EAAS,IAAIC,EAAAA,qBAAqBH,EAAgBC,CAAQ,EAClDP,EAAA,IAAIM,EAAgBE,CAAM,CAAA,EAE1CH,EAAyB,QAAU,SAAUC,EAAgBH,EAAQO,EAAS,CACtE,IAAAF,EAASR,EAAY,IAAIM,CAAc,EACvCK,EAAmBH,EAAO,mBAAmB,SAAW,EACxDP,EAAoBO,EAAO,mBAAoBL,CAAM,EAAI,IACrCQ,GAAAC,EAAA,gBAAgB,KAAKJ,CAAM,EACxCA,EAAA,mBAAmB,KAAK,IAAIK,EAAA,kBAAkBV,EAAQO,GAAWA,EAAQ,GAAG,CAAC,EACpFI,EAAA,YAAY,CAAC,EACbC,EAAA,UAAU,SAAS,EACvB,EAEJV,EAAyB,UAAY,SAAUC,EAAgBH,EAAQ,CAC/D,IAAAK,EAASR,EAAY,IAAIM,CAAc,EACvCU,EAAQf,EAAoBO,EAAO,mBAAoBL,CAAM,EAC7Dc,EAAkBT,EAAO,mBAAmB,SAAW,EACvDQ,GAAS,IACTC,GAAmBL,kBAAgB,OAAOA,EAAAA,gBAAgB,QAAQJ,CAAM,EAAG,CAAC,EACrEA,EAAA,mBAAmB,OAAOQ,EAAO,CAAC,EACzCF,EAAA,YAAY,EAAE,EAClB,EAEJT,EAAyB,WAAa,SAAUC,EAAgB,CAC5D,IAAIY,EAAQ,KACRV,EAASR,EAAY,IAAIM,CAAc,EAC3CE,EAAO,mBAAmB,MAAQ,EAAA,QAAQ,SAAUW,EAAI,CAAE,OAAOD,EAAM,UAAUZ,EAAgBa,EAAG,MAAM,CAAA,CAAI,EAC9GX,EAAO,cAAc,OAAO,EAAGA,EAAO,cAAc,MAAM,CAAA,EAEvDH,CACX,EAAE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs260.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var s=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(s(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,a=i.offsetWidth,c=i.offsetHeight;return!(a||c||e.getClientRects().length)},l=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},o=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};exports.isElement=l;exports.isHidden=f;exports.isReplacedElement=o;exports.isSVG=s;
1
+ "use strict";function e(o,t){(t==null||t>o.length)&&(t=o.length);for(var r=0,u=new Array(t);r<t;r++)u[r]=o[r];return u}module.exports=e;
2
2
  //# sourceMappingURL=index.cjs261.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs261.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/element.js"],"sourcesContent":["var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; };\nvar isHidden = function (target) {\n if (isSVG(target)) {\n var _a = target.getBBox(), width = _a.width, height = _a.height;\n return !width && !height;\n }\n var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\nvar isElement = function (obj) {\n var _a;\n if (obj instanceof Element) {\n return true;\n }\n var scope = (_a = obj === null || obj === void 0 ? void 0 : obj.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView;\n return !!(scope && obj instanceof scope.Element);\n};\nvar isReplacedElement = function (target) {\n switch (target.tagName) {\n case 'INPUT':\n if (target.type !== 'image') {\n break;\n }\n case 'VIDEO':\n case 'AUDIO':\n case 'EMBED':\n case 'OBJECT':\n case 'CANVAS':\n case 'IFRAME':\n case 'IMG':\n return true;\n }\n return false;\n};\nexport { isSVG, isHidden, isElement, isReplacedElement };\n"],"names":["isSVG","target","isHidden","_a","width","height","_b","offsetWidth","offsetHeight","isElement","obj","scope","isReplacedElement"],"mappings":"gFAAI,IAAAA,EAAQ,SAAUC,EAAQ,CAAS,OAAAA,aAAkB,YAAc,YAAaA,CAAQ,EACxFC,EAAW,SAAUD,EAAQ,CACzB,GAAAD,EAAMC,CAAM,EAAG,CACX,IAAAE,EAAKF,EAAO,UAAWG,EAAQD,EAAG,MAAOE,EAASF,EAAG,OAClD,MAAA,CAACC,GAAS,CAACC,CACtB,CACA,IAAIC,EAAKL,EAAQM,EAAcD,EAAG,YAAaE,EAAeF,EAAG,aACjE,MAAO,EAAEC,GAAeC,GAAgBP,EAAO,iBAAiB,OACpE,EACIQ,EAAY,SAAUC,EAAK,CACvB,IAAAP,EACJ,GAAIO,aAAe,QACR,MAAA,GAEX,IAAIC,GAASR,EAAKO,GAAQ,KAAyB,OAASA,EAAI,iBAAmB,MAAQP,IAAO,OAAS,OAASA,EAAG,YACvH,MAAO,CAAC,EAAEQ,GAASD,aAAeC,EAAM,QAC5C,EACIC,EAAoB,SAAUX,EAAQ,CACtC,OAAQA,EAAO,QAAS,CACpB,IAAK,QACG,GAAAA,EAAO,OAAS,QAChB,MAER,IAAK,QACL,IAAK,QACL,IAAK,QACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,MACM,MAAA,EACf,CACO,MAAA,EACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs261.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}"],"names":["_arrayLikeToArray","arr","len","i","arr2"],"mappings":"aAAwB,SAAAA,EAAkBC,EAAKC,EAAK,EAC9CA,GAAO,MAAQA,EAAMD,EAAI,UAAQC,EAAMD,EAAI,QACtC,QAAAE,EAAI,EAAGC,EAAO,IAAI,MAAMF,CAAG,EAAGC,EAAID,EAAKC,IAAUC,EAAAD,CAAC,EAAIF,EAAIE,CAAC,EAC7D,OAAAC,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs175.js"),t=require("./index.cjs263.js");var n=function(){function i(r){var e=o.calculateBoxSizes(r);this.target=r,this.contentRect=e.contentRect,this.borderBoxSize=t.freeze([e.borderBoxSize]),this.contentBoxSize=t.freeze([e.contentBoxSize]),this.devicePixelContentBoxSize=t.freeze([e.devicePixelContentBoxSize])}return i}();exports.ResizeObserverEntry=n;
1
+ "use strict";function i(a,t){return[(t=+t)*Math.cos(a-=Math.PI/2),t*Math.sin(a)]}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs262.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs262.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js"],"sourcesContent":["import { calculateBoxSizes } from './algorithms/calculateBoxSize';\nimport { freeze } from './utils/freeze';\nvar ResizeObserverEntry = (function () {\n function ResizeObserverEntry(target) {\n var boxes = calculateBoxSizes(target);\n this.target = target;\n this.contentRect = boxes.contentRect;\n this.borderBoxSize = freeze([boxes.borderBoxSize]);\n this.contentBoxSize = freeze([boxes.contentBoxSize]);\n this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n }\n return ResizeObserverEntry;\n}());\nexport { ResizeObserverEntry };\n"],"names":["ResizeObserverEntry","target","boxes","calculateBoxSizes","freeze"],"mappings":"oJAEA,IAAIA,EAAmC,UAAA,CACnC,SAASA,EAAoBC,EAAQ,CAC7B,IAAAC,EAAQC,oBAAkBF,CAAM,EACpC,KAAK,OAASA,EACd,KAAK,YAAcC,EAAM,YACzB,KAAK,cAAgBE,EAAA,OAAO,CAACF,EAAM,aAAa,CAAC,EACjD,KAAK,eAAiBE,EAAA,OAAO,CAACF,EAAM,cAAc,CAAC,EACnD,KAAK,0BAA4BE,EAAA,OAAO,CAACF,EAAM,yBAAyB,CAAC,CAC7E,CACOF,OAAAA,CACX,EAAE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs262.js","sources":["../../../node_modules/d3-shape/src/pointRadial.js"],"sourcesContent":["export default function(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n}\n"],"names":["pointRadial","x","y"],"mappings":"aAAA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,MAAO,EAAEA,EAAI,CAACA,GAAK,KAAK,IAAID,GAAK,KAAK,GAAK,CAAC,EAAGC,EAAI,KAAK,IAAID,CAAC,CAAC,CAChE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=function(e){return Object.freeze(e)};exports.freeze=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=Array.prototype.slice;exports.slice=e;
2
2
  //# sourceMappingURL=index.cjs263.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs263.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/freeze.js"],"sourcesContent":["export var freeze = function (obj) { return Object.freeze(obj); };\n"],"names":["freeze","obj"],"mappings":"gFAAW,IAAAA,EAAS,SAAUC,EAAK,CAAS,OAAA,OAAO,OAAOA,CAAG,CAAG","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs263.js","sources":["../../../node_modules/d3-shape/src/array.js"],"sourcesContent":["export var slice = Array.prototype.slice;\n"],"names":["slice"],"mappings":"gFAAW,IAAAA,EAAQ,MAAM,UAAU","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs263.js");var s=function(){function e(i,r){this.inlineSize=i,this.blockSize=r,t.freeze(this)}return e}();exports.ResizeObserverSize=s;
1
+ "use strict";function n(t){return function(){return t}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs264.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs264.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar ResizeObserverSize = (function () {\n function ResizeObserverSize(inlineSize, blockSize) {\n this.inlineSize = inlineSize;\n this.blockSize = blockSize;\n freeze(this);\n }\n return ResizeObserverSize;\n}());\nexport { ResizeObserverSize };\n"],"names":["ResizeObserverSize","inlineSize","blockSize","freeze"],"mappings":"qHACA,IAAIA,EAAkC,UAAA,CACzBA,SAAAA,EAAmBC,EAAYC,EAAW,CAC/C,KAAK,WAAaD,EAClB,KAAK,UAAYC,EACjBC,EAAA,OAAO,IAAI,CACf,CACOH,OAAAA,CACX,EAAE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs264.js","sources":["../../../node_modules/d3-shape/src/constant.js"],"sourcesContent":["export default function(x) {\n return function constant() {\n return x;\n };\n}\n"],"names":["constant","x"],"mappings":"aAAA,SAAAA,EAAwBC,EAAG,CACzB,OAAO,UAAoB,CAClB,OAAAA,CAAA,CAEX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs278.js");var r=e._freeGlobal,o=typeof self=="object"&&self&&self.Object===Object&&self,t=r||o||Function("return this")(),l=t;exports._root=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t[0]}function n(t){return t[1]}exports.x=e;exports.y=n;
2
2
  //# sourceMappingURL=index.cjs265.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs265.js","sources":["../../../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["freeGlobal","require$$0","freeSelf","root","_root"],"mappings":"qHAAA,IAAIA,EAAaC,EAAAA,YAGbC,EAAW,OAAO,MAAQ,UAAY,MAAQ,KAAK,SAAW,QAAU,KAGxEC,EAAOH,GAAcE,GAAY,SAAS,aAAa,EAAE,EAE7DE,EAAiBD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs265.js","sources":["../../../node_modules/d3-shape/src/point.js"],"sourcesContent":["export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n"],"names":["x","p","y"],"mappings":"gFAAO,SAASA,EAAEC,EAAG,CACnB,OAAOA,EAAE,CAAC,CACZ,CAEO,SAASC,EAAED,EAAG,CACnB,OAAOA,EAAE,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs272.js");var d=r._trimmedEndIndex,m=/^\s+/;function t(e){return e&&e.slice(0,d(e)+1).replace(m,"")}var a=t;exports._baseTrim=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs279.js");var r=e._freeGlobal,o=typeof self=="object"&&self&&self.Object===Object&&self,t=r||o||Function("return this")(),l=t;exports._root=l;
2
2
  //# sourceMappingURL=index.cjs266.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs266.js","sources":["../../../node_modules/lodash/_baseTrim.js"],"sourcesContent":["var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n"],"names":["trimmedEndIndex","require$$0","reTrimStart","baseTrim","string","_baseTrim"],"mappings":"qHAAA,IAAIA,EAAkBC,EAAAA,iBAGlBC,EAAc,OASlB,SAASC,EAASC,EAAQ,CACxB,OAAOA,GACHA,EAAO,MAAM,EAAGJ,EAAgBI,CAAM,EAAI,CAAC,EAAE,QAAQF,EAAa,EAAE,CAE1E,CAEA,IAAAG,EAAiBF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs266.js","sources":["../../../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["freeGlobal","require$$0","freeSelf","root","_root"],"mappings":"qHAAA,IAAIA,EAAaC,EAAAA,YAGbC,EAAW,OAAO,MAAQ,UAAY,MAAQ,KAAK,SAAW,QAAU,KAGxEC,EAAOH,GAAcE,GAAY,SAAS,aAAa,EAAE,EAE7DE,EAAiBD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs273.js"),b=require("./index.cjs274.js");var i=t._baseGetTag,o=b.isObjectLike_1,s="[object Symbol]";function r(e){return typeof e=="symbol"||o(e)&&i(e)==s}var a=r;exports.isSymbol_1=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs280.js");var d=r._trimmedEndIndex,m=/^\s+/;function t(e){return e&&e.slice(0,d(e)+1).replace(m,"")}var a=t;exports._baseTrim=a;
2
2
  //# sourceMappingURL=index.cjs267.js.map