@performant-software/visualize 2.3.15-beta.9 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/index.cjs182.js +1 -1
  2. package/dist/index.cjs183.js +1 -1
  3. package/dist/index.cjs186.js +1 -1
  4. package/dist/index.cjs188.js +1 -1
  5. package/dist/index.cjs197.js +1 -1
  6. package/dist/index.cjs199.js +1 -1
  7. package/dist/index.cjs200.js +1 -1
  8. package/dist/index.cjs203.js +1 -1
  9. package/dist/index.cjs223.js +1 -1
  10. package/dist/index.cjs228.js +1 -1
  11. package/dist/index.cjs228.js.map +1 -1
  12. package/dist/index.cjs229.js +1 -1
  13. package/dist/index.cjs229.js.map +1 -1
  14. package/dist/index.cjs230.js +1 -1
  15. package/dist/index.cjs230.js.map +1 -1
  16. package/dist/index.cjs231.js +1 -1
  17. package/dist/index.cjs231.js.map +1 -1
  18. package/dist/index.cjs232.js +1 -1
  19. package/dist/index.cjs232.js.map +1 -1
  20. package/dist/index.cjs233.js +1 -2
  21. package/dist/index.cjs233.js.map +1 -1
  22. package/dist/index.cjs234.js +1 -1
  23. package/dist/index.cjs234.js.map +1 -1
  24. package/dist/index.cjs235.js +1 -1
  25. package/dist/index.cjs235.js.map +1 -1
  26. package/dist/index.cjs236.js +1 -1
  27. package/dist/index.cjs236.js.map +1 -1
  28. package/dist/index.cjs237.js +1 -1
  29. package/dist/index.cjs237.js.map +1 -1
  30. package/dist/index.cjs238.js +1 -1
  31. package/dist/index.cjs238.js.map +1 -1
  32. package/dist/index.cjs239.js +1 -1
  33. package/dist/index.cjs239.js.map +1 -1
  34. package/dist/index.cjs240.js +1 -1
  35. package/dist/index.cjs240.js.map +1 -1
  36. package/dist/index.cjs241.js +1 -1
  37. package/dist/index.cjs241.js.map +1 -1
  38. package/dist/index.cjs242.js +1 -1
  39. package/dist/index.cjs242.js.map +1 -1
  40. package/dist/index.cjs243.js +1 -1
  41. package/dist/index.cjs243.js.map +1 -1
  42. package/dist/index.cjs244.js +2 -1
  43. package/dist/index.cjs244.js.map +1 -1
  44. package/dist/index.cjs246.js +1 -1
  45. package/dist/index.cjs247.js +1 -1
  46. package/dist/index.cjs252.js +1 -1
  47. package/dist/index.cjs257.js +1 -1
  48. package/dist/index.cjs257.js.map +1 -1
  49. package/dist/index.cjs258.js +1 -1
  50. package/dist/index.cjs258.js.map +1 -1
  51. package/dist/index.cjs259.js +1 -1
  52. package/dist/index.cjs259.js.map +1 -1
  53. package/dist/index.cjs260.js +1 -1
  54. package/dist/index.cjs260.js.map +1 -1
  55. package/dist/index.cjs261.js +1 -1
  56. package/dist/index.cjs261.js.map +1 -1
  57. package/dist/index.cjs263.js +1 -1
  58. package/dist/index.cjs263.js.map +1 -1
  59. package/dist/index.cjs264.js +1 -1
  60. package/dist/index.cjs264.js.map +1 -1
  61. package/dist/index.cjs265.js +1 -1
  62. package/dist/index.cjs265.js.map +1 -1
  63. package/dist/index.cjs266.js +1 -1
  64. package/dist/index.cjs266.js.map +1 -1
  65. package/dist/index.cjs267.js +1 -1
  66. package/dist/index.cjs267.js.map +1 -1
  67. package/dist/index.cjs268.js +1 -1
  68. package/dist/index.cjs268.js.map +1 -1
  69. package/dist/index.cjs269.js +1 -1
  70. package/dist/index.cjs269.js.map +1 -1
  71. package/dist/index.cjs270.js +1 -1
  72. package/dist/index.cjs270.js.map +1 -1
  73. package/dist/index.cjs271.js +1 -1
  74. package/dist/index.cjs271.js.map +1 -1
  75. package/dist/index.cjs272.js +1 -1
  76. package/dist/index.cjs272.js.map +1 -1
  77. package/dist/index.cjs273.js +1 -1
  78. package/dist/index.cjs273.js.map +1 -1
  79. package/dist/index.cjs274.js +1 -1
  80. package/dist/index.cjs274.js.map +1 -1
  81. package/dist/index.cjs275.js +1 -1
  82. package/dist/index.cjs275.js.map +1 -1
  83. package/dist/index.cjs276.js +1 -1
  84. package/dist/index.cjs276.js.map +1 -1
  85. package/dist/index.cjs277.js +1 -1
  86. package/dist/index.cjs277.js.map +1 -1
  87. package/dist/index.cjs278.js +1 -1
  88. package/dist/index.cjs278.js.map +1 -1
  89. package/dist/index.cjs279.js +1 -1
  90. package/dist/index.cjs279.js.map +1 -1
  91. package/dist/index.cjs280.js +1 -1
  92. package/dist/index.cjs280.js.map +1 -1
  93. package/dist/index.cjs281.js +1 -1
  94. package/dist/index.cjs281.js.map +1 -1
  95. package/dist/index.cjs282.js +1 -1
  96. package/dist/index.cjs282.js.map +1 -1
  97. package/dist/index.cjs283.js +1 -1
  98. package/dist/index.cjs283.js.map +1 -1
  99. package/dist/index.cjs284.js +1 -1
  100. package/dist/index.cjs284.js.map +1 -1
  101. package/dist/index.cjs285.js +1 -1
  102. package/dist/index.cjs285.js.map +1 -1
  103. package/dist/index.cjs286.js +1 -1
  104. package/dist/index.cjs286.js.map +1 -1
  105. package/dist/index.cjs287.js +1 -1
  106. package/dist/index.cjs287.js.map +1 -1
  107. package/dist/index.cjs288.js +1 -1
  108. package/dist/index.cjs289.js +1 -1
  109. package/dist/index.cjs291.js +1 -1
  110. package/dist/index.cjs292.js +1 -1
  111. package/dist/index.cjs34.js +1 -1
  112. package/dist/index.cjs35.js +1 -1
  113. package/dist/index.cjs36.js +1 -1
  114. package/dist/index.cjs37.js +1 -1
  115. package/dist/index.cjs38.js +1 -1
  116. package/dist/index.cjs39.js +1 -1
  117. package/dist/index.cjs40.js +1 -1
  118. package/dist/index.cjs41.js +1 -1
  119. package/dist/index.cjs42.js +1 -1
  120. package/dist/index.cjs43.js +1 -1
  121. package/dist/index.cjs44.js +1 -1
  122. package/dist/index.cjs45.js +1 -1
  123. package/dist/index.cjs46.js +1 -1
  124. package/dist/index.cjs47.js +1 -1
  125. package/dist/index.cjs48.js +1 -1
  126. package/dist/index.cjs49.js +1 -1
  127. package/dist/index.cjs53.js +1 -1
  128. package/dist/index.cjs54.js +1 -1
  129. package/dist/index.cjs58.js +1 -1
  130. package/dist/index.cjs62.js +1 -1
  131. package/dist/index.cjs62.js.map +1 -1
  132. package/dist/index.cjs63.js +1 -1
  133. package/dist/index.cjs63.js.map +1 -1
  134. package/dist/index.cjs64.js +1 -1
  135. package/dist/index.cjs64.js.map +1 -1
  136. package/dist/index.cjs65.js +1 -1
  137. package/dist/index.cjs65.js.map +1 -1
  138. package/dist/index.cjs66.js +1 -1
  139. package/dist/index.cjs66.js.map +1 -1
  140. package/dist/index.cjs67.js +1 -5
  141. package/dist/index.cjs67.js.map +1 -1
  142. package/dist/index.cjs68.js +1 -1
  143. package/dist/index.cjs68.js.map +1 -1
  144. package/dist/index.cjs69.js +1 -1
  145. package/dist/index.cjs69.js.map +1 -1
  146. package/dist/index.cjs70.js +1 -1
  147. package/dist/index.cjs70.js.map +1 -1
  148. package/dist/index.cjs71.js +1 -1
  149. package/dist/index.cjs71.js.map +1 -1
  150. package/dist/index.cjs72.js +1 -1
  151. package/dist/index.cjs72.js.map +1 -1
  152. package/dist/index.cjs73.js +1 -1
  153. package/dist/index.cjs73.js.map +1 -1
  154. package/dist/index.cjs74.js +1 -1
  155. package/dist/index.cjs74.js.map +1 -1
  156. package/dist/index.cjs75.js +1 -1
  157. package/dist/index.cjs75.js.map +1 -1
  158. package/dist/index.cjs76.js +5 -1
  159. package/dist/index.cjs76.js.map +1 -1
  160. package/dist/index.cjs79.js +1 -1
  161. package/dist/index.cjs8.js +1 -1
  162. package/dist/index.es182.js +1 -1
  163. package/dist/index.es183.js +1 -1
  164. package/dist/index.es186.js +4 -4
  165. package/dist/index.es188.js +1 -1
  166. package/dist/index.es197.js +1 -1
  167. package/dist/index.es199.js +1 -1
  168. package/dist/index.es200.js +2 -2
  169. package/dist/index.es203.js +1 -1
  170. package/dist/index.es223.js +1 -1
  171. package/dist/index.es228.js +12 -6
  172. package/dist/index.es228.js.map +1 -1
  173. package/dist/index.es229.js +10 -5
  174. package/dist/index.es229.js.map +1 -1
  175. package/dist/index.es230.js +7 -4
  176. package/dist/index.es230.js.map +1 -1
  177. package/dist/index.es231.js +9 -4
  178. package/dist/index.es231.js.map +1 -1
  179. package/dist/index.es232.js +7 -12
  180. package/dist/index.es232.js.map +1 -1
  181. package/dist/index.es233.js +5 -4
  182. package/dist/index.es233.js.map +1 -1
  183. package/dist/index.es234.js +14 -11
  184. package/dist/index.es234.js.map +1 -1
  185. package/dist/index.es235.js +5 -10
  186. package/dist/index.es235.js.map +1 -1
  187. package/dist/index.es236.js +6 -7
  188. package/dist/index.es236.js.map +1 -1
  189. package/dist/index.es237.js +6 -9
  190. package/dist/index.es237.js.map +1 -1
  191. package/dist/index.es238.js +6 -7
  192. package/dist/index.es238.js.map +1 -1
  193. package/dist/index.es239.js +6 -5
  194. package/dist/index.es239.js.map +1 -1
  195. package/dist/index.es240.js +5 -15
  196. package/dist/index.es240.js.map +1 -1
  197. package/dist/index.es241.js +4 -5
  198. package/dist/index.es241.js.map +1 -1
  199. package/dist/index.es242.js +4 -6
  200. package/dist/index.es242.js.map +1 -1
  201. package/dist/index.es243.js +12 -6
  202. package/dist/index.es243.js.map +1 -1
  203. package/dist/index.es244.js +4 -6
  204. package/dist/index.es244.js.map +1 -1
  205. package/dist/index.es246.js +1 -1
  206. package/dist/index.es247.js +1 -1
  207. package/dist/index.es252.js +4 -4
  208. package/dist/index.es257.js +3 -3
  209. package/dist/index.es257.js.map +1 -1
  210. package/dist/index.es258.js +7 -3
  211. package/dist/index.es258.js.map +1 -1
  212. package/dist/index.es259.js +7 -6
  213. package/dist/index.es259.js.map +1 -1
  214. package/dist/index.es260.js +7 -7
  215. package/dist/index.es260.js.map +1 -1
  216. package/dist/index.es261.js +3 -8
  217. package/dist/index.es261.js.map +1 -1
  218. package/dist/index.es263.js +3 -13
  219. package/dist/index.es263.js.map +1 -1
  220. package/dist/index.es264.js +2 -7
  221. package/dist/index.es264.js.map +1 -1
  222. package/dist/index.es265.js +6 -2
  223. package/dist/index.es265.js.map +1 -1
  224. package/dist/index.es266.js +8 -2
  225. package/dist/index.es266.js.map +1 -1
  226. package/dist/index.es267.js +13 -3
  227. package/dist/index.es267.js.map +1 -1
  228. package/dist/index.es268.js +7 -2
  229. package/dist/index.es268.js.map +1 -1
  230. package/dist/index.es269.js +2 -6
  231. package/dist/index.es269.js.map +1 -1
  232. package/dist/index.es270.js +2 -8
  233. package/dist/index.es270.js.map +1 -1
  234. package/dist/index.es271.js +5 -68
  235. package/dist/index.es271.js.map +1 -1
  236. package/dist/index.es272.js +11 -16
  237. package/dist/index.es272.js.map +1 -1
  238. package/dist/index.es273.js +2 -7
  239. package/dist/index.es273.js.map +1 -1
  240. package/dist/index.es274.js +3 -2
  241. package/dist/index.es274.js.map +1 -1
  242. package/dist/index.es275.js +8 -5
  243. package/dist/index.es275.js.map +1 -1
  244. package/dist/index.es276.js +9 -13
  245. package/dist/index.es276.js.map +1 -1
  246. package/dist/index.es277.js +5 -2
  247. package/dist/index.es277.js.map +1 -1
  248. package/dist/index.es278.js +33 -3
  249. package/dist/index.es278.js.map +1 -1
  250. package/dist/index.es279.js +66 -31
  251. package/dist/index.es279.js.map +1 -1
  252. package/dist/index.es280.js +18 -8
  253. package/dist/index.es280.js.map +1 -1
  254. package/dist/index.es281.js +7 -9
  255. package/dist/index.es281.js.map +1 -1
  256. package/dist/index.es282.js +2 -5
  257. package/dist/index.es282.js.map +1 -1
  258. package/dist/index.es283.js +3 -12
  259. package/dist/index.es283.js.map +1 -1
  260. package/dist/index.es284.js +14 -7
  261. package/dist/index.es284.js.map +1 -1
  262. package/dist/index.es285.js +6 -3
  263. package/dist/index.es285.js.map +1 -1
  264. package/dist/index.es286.js +12 -14
  265. package/dist/index.es286.js.map +1 -1
  266. package/dist/index.es287.js +7 -6
  267. package/dist/index.es287.js.map +1 -1
  268. package/dist/index.es288.js +1 -1
  269. package/dist/index.es289.js +1 -1
  270. package/dist/index.es291.js +1 -1
  271. package/dist/index.es292.js +1 -1
  272. package/dist/index.es34.js +1 -1
  273. package/dist/index.es35.js +2 -2
  274. package/dist/index.es36.js +2 -2
  275. package/dist/index.es37.js +11 -11
  276. package/dist/index.es38.js +1 -1
  277. package/dist/index.es39.js +1 -1
  278. package/dist/index.es40.js +1 -1
  279. package/dist/index.es41.js +1 -1
  280. package/dist/index.es42.js +1 -1
  281. package/dist/index.es43.js +1 -1
  282. package/dist/index.es44.js +1 -1
  283. package/dist/index.es45.js +1 -1
  284. package/dist/index.es46.js +1 -1
  285. package/dist/index.es47.js +1 -1
  286. package/dist/index.es48.js +1 -1
  287. package/dist/index.es49.js +1 -1
  288. package/dist/index.es53.js +2 -2
  289. package/dist/index.es54.js +3 -3
  290. package/dist/index.es58.js +9 -9
  291. package/dist/index.es62.js +13 -21
  292. package/dist/index.es62.js.map +1 -1
  293. package/dist/index.es63.js +30 -25
  294. package/dist/index.es63.js.map +1 -1
  295. package/dist/index.es64.js +95 -13
  296. package/dist/index.es64.js.map +1 -1
  297. package/dist/index.es65.js +8 -32
  298. package/dist/index.es65.js.map +1 -1
  299. package/dist/index.es66.js +4 -94
  300. package/dist/index.es66.js.map +1 -1
  301. package/dist/index.es67.js +13 -40
  302. package/dist/index.es67.js.map +1 -1
  303. package/dist/index.es68.js +5 -8
  304. package/dist/index.es68.js.map +1 -1
  305. package/dist/index.es69.js +14 -4
  306. package/dist/index.es69.js.map +1 -1
  307. package/dist/index.es70.js +9 -12
  308. package/dist/index.es70.js.map +1 -1
  309. package/dist/index.es71.js +5 -5
  310. package/dist/index.es71.js.map +1 -1
  311. package/dist/index.es72.js +9 -14
  312. package/dist/index.es72.js.map +1 -1
  313. package/dist/index.es73.js +7 -9
  314. package/dist/index.es73.js.map +1 -1
  315. package/dist/index.es74.js +20 -5
  316. package/dist/index.es74.js.map +1 -1
  317. package/dist/index.es75.js +27 -9
  318. package/dist/index.es75.js.map +1 -1
  319. package/dist/index.es76.js +40 -8
  320. package/dist/index.es76.js.map +1 -1
  321. package/dist/index.es79.js +3 -3
  322. package/dist/index.es8.js +1 -1
  323. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es267.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,GAAGC,GAAG;AAC5B,SAAO,EAAEA,IAAI,CAACA,KAAK,KAAK,IAAID,KAAK,KAAK,KAAK,CAAC,GAAGC,IAAI,KAAK,IAAID,CAAC,CAAC;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es267.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":";AACwB,SAAAA,EAAYC,GAAGC,GAAG;AACxC,MAAgBC,EAAQF,CAAC,KAArB,YAA0B,CAACA;AAAU,WAAAA;AACrC,MAAAG,IAAIH,EAAE,OAAO,WAAW;AAC5B,MAAeG,MAAX,QAAc;AAChB,QAAIC,IAAID,EAAE,KAAKH,GAAGC,KAAK,SAAS;AAC5B,QAAYC,EAAQE,CAAC,KAArB;AAA+B,aAAAA;AAC7B,UAAA,IAAI,UAAU,8CAA8C;AAAA,EACpE;AACA,UAAqBH,MAAb,WAAiB,SAAS,QAAQD,CAAC;AAC7C;","x_google_ignoreList":[0]}
@@ -1,5 +1,10 @@
1
- var r = Array.prototype.slice;
1
+ function o(a, t) {
2
+ (t == null || t > a.length) && (t = a.length);
3
+ for (var r = 0, f = new Array(t); r < t; r++)
4
+ f[r] = a[r];
5
+ return f;
6
+ }
2
7
  export {
3
- r as slice
8
+ o as default
4
9
  };
5
10
  //# sourceMappingURL=index.es268.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es268.js","sources":["../../../node_modules/d3-shape/src/array.js"],"sourcesContent":["export var slice = Array.prototype.slice;\n"],"names":["slice"],"mappings":"AAAW,IAAAA,IAAQ,MAAM,UAAU;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es268.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,GAAKC,GAAK;AAC9C,GAAAA,KAAO,QAAQA,IAAMD,EAAI,YAAQC,IAAMD,EAAI;AACtC,WAAAE,IAAI,GAAGC,IAAO,IAAI,MAAMF,CAAG,GAAGC,IAAID,GAAKC;AAAU,IAAAC,EAAAD,CAAC,IAAIF,EAAIE,CAAC;AAC7D,SAAAC;AACT;","x_google_ignoreList":[0]}
@@ -1,9 +1,5 @@
1
- function o(n) {
2
- return function() {
3
- return n;
4
- };
5
- }
1
+ var r = {};
6
2
  export {
7
- o as default
3
+ r as __exports
8
4
  };
9
5
  //# sourceMappingURL=index.es269.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es269.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,GAAG;AACzB,SAAO,WAAoB;AAClB,WAAAA;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es269.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,11 +1,5 @@
1
- function r(n) {
2
- return n[0];
3
- }
4
- function t(n) {
5
- return n[1];
6
- }
1
+ var e = {};
7
2
  export {
8
- r as x,
9
- t as y
3
+ e as __exports
10
4
  };
11
5
  //# sourceMappingURL=index.es270.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es270.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":"AAAO,SAASA,EAAEC,GAAG;AACnB,SAAOA,EAAE,CAAC;AACZ;AAEO,SAASC,EAAED,GAAG;AACnB,SAAOA,EAAE,CAAC;AACZ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es270.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,71 +1,8 @@
1
- import { process as f } from "./index.es283.js";
2
- import { global as s } from "./index.es277.js";
3
- import { queueResizeObserver as h } from "./index.es284.js";
4
- var n = 0, d = function() {
5
- return !!n;
6
- }, p = 250, l = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, u = [
7
- "resize",
8
- "load",
9
- "transitionend",
10
- "animationend",
11
- "animationstart",
12
- "animationiteration",
13
- "keyup",
14
- "keydown",
15
- "mouseup",
16
- "mousedown",
17
- "mouseover",
18
- "mouseout",
19
- "blur",
20
- "focus"
21
- ], a = function(t) {
22
- return t === void 0 && (t = 0), Date.now() + t;
23
- }, i = !1, b = function() {
24
- function t() {
25
- var e = this;
26
- this.stopped = !0, this.listener = function() {
27
- return e.schedule();
28
- };
29
- }
30
- return t.prototype.run = function(e) {
31
- var r = this;
32
- if (e === void 0 && (e = p), !i) {
33
- i = !0;
34
- var c = a(e);
35
- h(function() {
36
- var o = !1;
37
- try {
38
- o = f();
39
- } finally {
40
- if (i = !1, e = c - a(), !d())
41
- return;
42
- o ? r.run(1e3) : e > 0 ? r.run(e) : r.start();
43
- }
44
- });
45
- }
46
- }, t.prototype.schedule = function() {
47
- this.stop(), this.run();
48
- }, t.prototype.observe = function() {
49
- var e = this, r = function() {
50
- return e.observer && e.observer.observe(document.body, l);
51
- };
52
- document.body ? r() : s.addEventListener("DOMContentLoaded", r);
53
- }, t.prototype.start = function() {
54
- var e = this;
55
- this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), u.forEach(function(r) {
56
- return s.addEventListener(r, e.listener, !0);
57
- }));
58
- }, t.prototype.stop = function() {
59
- var e = this;
60
- this.stopped || (this.observer && this.observer.disconnect(), u.forEach(function(r) {
61
- return s.removeEventListener(r, e.listener, !0);
62
- }), this.stopped = !0);
63
- }, t;
64
- }(), v = new b(), E = function(t) {
65
- !n && t > 0 && v.start(), n += t, !n && v.stop();
66
- };
1
+ var E;
2
+ (function(o) {
3
+ o.BORDER_BOX = "border-box", o.CONTENT_BOX = "content-box", o.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
4
+ })(E || (E = {}));
67
5
  export {
68
- v as scheduler,
69
- E as updateCount
6
+ E as ResizeObserverBoxOptions
70
7
  };
71
8
  //# sourceMappingURL=index.es271.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es271.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/scheduler.js"],"sourcesContent":["import { process } from './process';\nimport { global } from './global';\nimport { queueResizeObserver } from './queueResizeObserver';\nvar watching = 0;\nvar isWatching = function () { return !!watching; };\nvar CATCH_PERIOD = 250;\nvar observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };\nvar events = [\n 'resize',\n 'load',\n 'transitionend',\n 'animationend',\n 'animationstart',\n 'animationiteration',\n 'keyup',\n 'keydown',\n 'mouseup',\n 'mousedown',\n 'mouseover',\n 'mouseout',\n 'blur',\n 'focus'\n];\nvar time = function (timeout) {\n if (timeout === void 0) { timeout = 0; }\n return Date.now() + timeout;\n};\nvar scheduled = false;\nvar Scheduler = (function () {\n function Scheduler() {\n var _this = this;\n this.stopped = true;\n this.listener = function () { return _this.schedule(); };\n }\n Scheduler.prototype.run = function (timeout) {\n var _this = this;\n if (timeout === void 0) { timeout = CATCH_PERIOD; }\n if (scheduled) {\n return;\n }\n scheduled = true;\n var until = time(timeout);\n queueResizeObserver(function () {\n var elementsHaveResized = false;\n try {\n elementsHaveResized = process();\n }\n finally {\n scheduled = false;\n timeout = until - time();\n if (!isWatching()) {\n return;\n }\n if (elementsHaveResized) {\n _this.run(1000);\n }\n else if (timeout > 0) {\n _this.run(timeout);\n }\n else {\n _this.start();\n }\n }\n });\n };\n Scheduler.prototype.schedule = function () {\n this.stop();\n this.run();\n };\n Scheduler.prototype.observe = function () {\n var _this = this;\n var cb = function () { return _this.observer && _this.observer.observe(document.body, observerConfig); };\n document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n };\n Scheduler.prototype.start = function () {\n var _this = this;\n if (this.stopped) {\n this.stopped = false;\n this.observer = new MutationObserver(this.listener);\n this.observe();\n events.forEach(function (name) { return global.addEventListener(name, _this.listener, true); });\n }\n };\n Scheduler.prototype.stop = function () {\n var _this = this;\n if (!this.stopped) {\n this.observer && this.observer.disconnect();\n events.forEach(function (name) { return global.removeEventListener(name, _this.listener, true); });\n this.stopped = true;\n }\n };\n return Scheduler;\n}());\nvar scheduler = new Scheduler();\nvar updateCount = function (n) {\n !watching && n > 0 && scheduler.start();\n watching += n;\n !watching && scheduler.stop();\n};\nexport { scheduler, updateCount };\n"],"names":["watching","isWatching","CATCH_PERIOD","observerConfig","events","time","timeout","scheduled","Scheduler","_this","until","queueResizeObserver","elementsHaveResized","process","cb","global","name","scheduler","updateCount","n"],"mappings":";;;AAGA,IAAIA,IAAW,GACXC,IAAa,WAAY;AAAE,SAAO,CAAC,CAACD;AAAU,GAC9CE,IAAe,KACfC,IAAiB,EAAE,YAAY,IAAM,eAAe,IAAM,WAAW,IAAM,SAAS,MACpFC,IAAS;AAAA,EACT;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,GACIC,IAAO,SAAUC,GAAS;AAC1B,SAAIA,MAAY,WAAoBA,IAAA,IAC7B,KAAK,IAAQ,IAAAA;AACxB,GACIC,IAAY,IACZC,IAAa,WAAY;AACzB,WAASA,IAAY;AACjB,QAAIC,IAAQ;AACZ,SAAK,UAAU,IACf,KAAK,WAAW,WAAY;AAAE,aAAOA,EAAM;IAAS;AAAA,EACxD;AACAD,SAAAA,EAAU,UAAU,MAAM,SAAUF,GAAS;AACzC,QAAIG,IAAQ;AAEZ,QADIH,MAAY,WAAoBA,IAAAJ,IAChC,CAAAK,GAGQ;AAAA,MAAAA,IAAA;AACR,UAAAG,IAAQL,EAAKC,CAAO;AACxB,MAAAK,EAAoB,WAAY;AAC5B,YAAIC,IAAsB;AACtB,YAAA;AACA,UAAAA,IAAsBC,EAAQ;AAAA,QAAA,UAElC;AAGQ,cAFQN,IAAA,IACZD,IAAUI,IAAQL,KACd,CAACJ;AACD;AAEJ,UAAIW,IACAH,EAAM,IAAI,GAAI,IAETH,IAAU,IACfG,EAAM,IAAIH,CAAO,IAGjBG,EAAM,MAAM;AAAA,QAEpB;AAAA,MAAA,CACH;AAAA;AAAA,EAAA,GAELD,EAAU,UAAU,WAAW,WAAY;AACvC,SAAK,KAAK,GACV,KAAK,IAAI;AAAA,EAAA,GAEbA,EAAU,UAAU,UAAU,WAAY;AACtC,QAAIC,IAAQ,MACRK,IAAK,WAAY;AAAE,aAAOL,EAAM,YAAYA,EAAM,SAAS,QAAQ,SAAS,MAAMN,CAAc;AAAA,IAAA;AACpG,aAAS,OAAOW,EAAG,IAAIC,EAAO,iBAAiB,oBAAoBD,CAAE;AAAA,EAAA,GAEzEN,EAAU,UAAU,QAAQ,WAAY;AACpC,QAAIC,IAAQ;AACZ,IAAI,KAAK,YACL,KAAK,UAAU,IACf,KAAK,WAAW,IAAI,iBAAiB,KAAK,QAAQ,GAClD,KAAK,QAAQ,GACNL,EAAA,QAAQ,SAAUY,GAAM;AAAE,aAAOD,EAAO,iBAAiBC,GAAMP,EAAM,UAAU,EAAI;AAAA,IAAA,CAAI;AAAA,EAClG,GAEJD,EAAU,UAAU,OAAO,WAAY;AACnC,QAAIC,IAAQ;AACR,IAAC,KAAK,YACD,KAAA,YAAY,KAAK,SAAS,WAAW,GACnCL,EAAA,QAAQ,SAAUY,GAAM;AAAE,aAAOD,EAAO,oBAAoBC,GAAMP,EAAM,UAAU,EAAI;AAAA,IAAA,CAAI,GACjG,KAAK,UAAU;AAAA,EACnB,GAEGD;AACX,KACIS,IAAY,IAAIT,EAAU,GAC1BU,IAAc,SAAUC,GAAG;AAC3B,GAACnB,KAAYmB,IAAI,KAAKF,EAAU,MAAM,GAC1BjB,KAAAmB,GACX,CAAAnB,KAAYiB,EAAU;AAC3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es271.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js"],"sourcesContent":["var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n"],"names":["ResizeObserverBoxOptions"],"mappings":"AAAI,IAAAA;AAAA,CACH,SAAUA,GAA0B;AACjCA,EAAAA,EAAyB,aAAgB,cACzCA,EAAyB,cAAiB,eAC1CA,EAAyB,2BAA8B;AAC3D,GAAGA,MAA6BA,IAA2B,CAAA,EAAG;","x_google_ignoreList":[0]}
@@ -1,21 +1,16 @@
1
- import { ResizeObserverBoxOptions as r } from "./index.es275.js";
2
- import { calculateBoxSize as o } from "./index.es79.js";
3
- import { isSVG as s, isReplacedElement as n } from "./index.es253.js";
4
- var l = function(e) {
5
- return !s(e) && !n(e) && getComputedStyle(e).display === "inline";
6
- }, S = function() {
7
- function e(i, t) {
8
- this.target = i, this.observedBox = t || r.CONTENT_BOX, this.lastReportedSize = {
9
- inlineSize: 0,
10
- blockSize: 0
11
- };
1
+ import { freeze as u } from "./index.es255.js";
2
+ var d = function() {
3
+ function h(t, i, o, e) {
4
+ return this.x = t, this.y = i, this.width = o, this.height = e, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, u(this);
12
5
  }
13
- return e.prototype.isActive = function() {
14
- var i = o(this.target, this.observedBox, !0);
15
- return l(this.target) && (this.lastReportedSize = i), this.lastReportedSize.inlineSize !== i.inlineSize || this.lastReportedSize.blockSize !== i.blockSize;
16
- }, e;
6
+ return h.prototype.toJSON = function() {
7
+ var t = this, i = t.x, o = t.y, e = t.top, r = t.right, s = t.bottom, n = t.left, f = t.width, p = t.height;
8
+ return { x: i, y: o, top: e, right: r, bottom: s, left: n, width: f, height: p };
9
+ }, h.fromRect = function(t) {
10
+ return new h(t.x, t.y, t.width, t.height);
11
+ }, h;
17
12
  }();
18
13
  export {
19
- S as ResizeObservation
14
+ d as DOMRectReadOnly
20
15
  };
21
16
  //# sourceMappingURL=index.es272.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es272.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObservation.js"],"sourcesContent":["import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';\nimport { calculateBoxSize } from './algorithms/calculateBoxSize';\nimport { isSVG, isReplacedElement } from './utils/element';\nvar skipNotifyOnElement = function (target) {\n return !isSVG(target)\n && !isReplacedElement(target)\n && getComputedStyle(target).display === 'inline';\n};\nvar ResizeObservation = (function () {\n function ResizeObservation(target, observedBox) {\n this.target = target;\n this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n this.lastReportedSize = {\n inlineSize: 0,\n blockSize: 0\n };\n }\n ResizeObservation.prototype.isActive = function () {\n var size = calculateBoxSize(this.target, this.observedBox, true);\n if (skipNotifyOnElement(this.target)) {\n this.lastReportedSize = size;\n }\n if (this.lastReportedSize.inlineSize !== size.inlineSize\n || this.lastReportedSize.blockSize !== size.blockSize) {\n return true;\n }\n return false;\n };\n return ResizeObservation;\n}());\nexport { ResizeObservation };\n"],"names":["skipNotifyOnElement","target","isSVG","isReplacedElement","ResizeObservation","observedBox","ResizeObserverBoxOptions","size","calculateBoxSize"],"mappings":";;;AAGA,IAAIA,IAAsB,SAAUC,GAAQ;AACjC,SAAA,CAACC,EAAMD,CAAM,KACb,CAACE,EAAkBF,CAAM,KACzB,iBAAiBA,CAAM,EAAE,YAAY;AAChD,GACIG,IAAqB,WAAY;AACxBA,WAAAA,EAAkBH,GAAQI,GAAa;AAC5C,SAAK,SAASJ,GACT,KAAA,cAAcI,KAAeC,EAAyB,aAC3D,KAAK,mBAAmB;AAAA,MACpB,YAAY;AAAA,MACZ,WAAW;AAAA,IAAA;AAAA,EAEnB;AACAF,SAAAA,EAAkB,UAAU,WAAW,WAAY;AAC/C,QAAIG,IAAOC,EAAiB,KAAK,QAAQ,KAAK,aAAa,EAAI;AAI3D,WAHAR,EAAoB,KAAK,MAAM,MAC/B,KAAK,mBAAmBO,IAExB,KAAK,iBAAiB,eAAeA,EAAK,cACvC,KAAK,iBAAiB,cAAcA,EAAK;AAAA,EAGzC,GAEJH;AACX,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es272.js","sources":["../../../node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n };\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n"],"names":["DOMRectReadOnly","x","y","width","height","freeze","_a","top","right","bottom","left","rectangle"],"mappings":";AACA,IAAIA,IAAmB,WAAY;AAC/B,WAASA,EAAgBC,GAAGC,GAAGC,GAAOC,GAAQ;AAC1C,gBAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,QAAQC,GACb,KAAK,SAASC,GACd,KAAK,MAAM,KAAK,GAChB,KAAK,OAAO,KAAK,GACZ,KAAA,SAAS,KAAK,MAAM,KAAK,QACzB,KAAA,QAAQ,KAAK,OAAO,KAAK,OACvBC,EAAO,IAAI;AAAA,EACtB;AACAL,SAAAA,EAAgB,UAAU,SAAS,WAAY;AACvC,QAAAM,IAAK,MAAML,IAAIK,EAAG,GAAGJ,IAAII,EAAG,GAAGC,IAAMD,EAAG,KAAKE,IAAQF,EAAG,OAAOG,IAASH,EAAG,QAAQI,IAAOJ,EAAG,MAAMH,IAAQG,EAAG,OAAOF,IAASE,EAAG;AAC9H,WAAA,EAAE,GAAAL,GAAM,GAAAC,GAAM,KAAAK,GAAU,OAAAC,GAAc,QAAAC,GAAgB,MAAAC,GAAY,OAAAP,GAAc,QAAAC;EAAe,GAE1GJ,EAAgB,WAAW,SAAUW,GAAW;AACrC,WAAA,IAAIX,EAAgBW,EAAU,GAAGA,EAAU,GAAGA,EAAU,OAAOA,EAAU,MAAM;AAAA,EAAA,GAEnFX;AACX,EAAE;","x_google_ignoreList":[0]}
@@ -1,10 +1,5 @@
1
- var i = /* @__PURE__ */ function() {
2
- function e(t, s) {
3
- this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = s;
4
- }
5
- return e;
6
- }();
1
+ var o = typeof window < "u" ? window : {};
7
2
  export {
8
- i as ResizeObserverDetail
3
+ o as global
9
4
  };
10
5
  //# sourceMappingURL=index.es273.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es273.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js"],"sourcesContent":["var ResizeObserverDetail = (function () {\n function ResizeObserverDetail(resizeObserver, callback) {\n this.activeTargets = [];\n this.skippedTargets = [];\n this.observationTargets = [];\n this.observer = resizeObserver;\n this.callback = callback;\n }\n return ResizeObserverDetail;\n}());\nexport { ResizeObserverDetail };\n"],"names":["ResizeObserverDetail","resizeObserver","callback"],"mappings":"AAAA,IAAIA,IAAoC,2BAAA;AAC3BA,WAAAA,EAAqBC,GAAgBC,GAAU;AACpD,SAAK,gBAAgB,IACrB,KAAK,iBAAiB,IACtB,KAAK,qBAAqB,IAC1B,KAAK,WAAWD,GAChB,KAAK,WAAWC;AAAA,EACpB;AACOF,SAAAA;AACX,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es273.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/global.js"],"sourcesContent":["export var global = typeof window !== 'undefined' ? window : {};\n"],"names":["global"],"mappings":"AAAO,IAAIA,IAAS,OAAO,SAAW,MAAc,SAAS,CAAA;","x_google_ignoreList":[0]}
@@ -1,5 +1,6 @@
1
- var e = [];
1
+ import { commonjsGlobal as o } from "./index.es190.js";
2
+ var e = typeof o == "object" && o && o.Object === Object && o, a = e;
2
3
  export {
3
- e as resizeObservers
4
+ a as _
4
5
  };
5
6
  //# sourceMappingURL=index.es274.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es274.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js"],"sourcesContent":["var resizeObservers = [];\nexport { resizeObservers };\n"],"names":["resizeObservers"],"mappings":"AAAA,IAAIA,IAAkB,CAAA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es274.js","sources":["../../../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["freeGlobal","global","_freeGlobal"],"mappings":";AACA,IAAIA,IAAa,OAAOC,KAAU,YAAYA,KAAUA,EAAO,WAAW,UAAUA,GAEpFC,IAAiBF;","x_google_ignoreList":[0]}
@@ -1,8 +1,11 @@
1
- var E;
2
- (function(o) {
3
- o.BORDER_BOX = "border-box", o.CONTENT_BOX = "content-box", o.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
4
- })(E || (E = {}));
1
+ var t = /\s/;
2
+ function n(r) {
3
+ for (var e = r.length; e-- && t.test(r.charAt(e)); )
4
+ ;
5
+ return e;
6
+ }
7
+ var d = n;
5
8
  export {
6
- E as ResizeObserverBoxOptions
9
+ d as _
7
10
  };
8
11
  //# sourceMappingURL=index.es275.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es275.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js"],"sourcesContent":["var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n"],"names":["ResizeObserverBoxOptions"],"mappings":"AAAI,IAAAA;AAAA,CACH,SAAUA,GAA0B;AACjCA,EAAAA,EAAyB,aAAgB,cACzCA,EAAyB,cAAiB,eAC1CA,EAAyB,2BAA8B;AAC3D,GAAGA,MAA6BA,IAA2B,CAAA,EAAG;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es275.js","sources":["../../../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":["reWhitespace","trimmedEndIndex","string","index","_trimmedEndIndex"],"mappings":"AACA,IAAIA,IAAe;AAUnB,SAASC,EAAgBC,GAAQ;AAG/B,WAFIC,IAAQD,EAAO,QAEZC,OAAWH,EAAa,KAAKE,EAAO,OAAOC,CAAK,CAAC;AAAG;AACpD,SAAAA;AACT;AAEA,IAAAC,IAAiBH;","x_google_ignoreList":[0]}
@@ -1,16 +1,12 @@
1
- import { freeze as u } from "./index.es255.js";
2
- var d = function() {
3
- function h(t, i, o, e) {
4
- return this.x = t, this.y = i, this.width = o, this.height = e, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, u(this);
5
- }
6
- return h.prototype.toJSON = function() {
7
- var t = this, i = t.x, o = t.y, e = t.top, r = t.right, s = t.bottom, n = t.left, f = t.width, p = t.height;
8
- return { x: i, y: o, top: e, right: r, bottom: s, left: n, width: f, height: p };
9
- }, h.fromRect = function(t) {
10
- return new h(t.x, t.y, t.width, t.height);
11
- }, h;
12
- }();
1
+ import { _ as a } from "./index.es283.js";
2
+ import { _ as n } from "./index.es284.js";
3
+ import { _ as e } from "./index.es285.js";
4
+ var o = a, g = n, i = e, T = "[object Null]", b = "[object Undefined]", r = o ? o.toStringTag : void 0;
5
+ function m(t) {
6
+ return t == null ? t === void 0 ? b : T : r && r in Object(t) ? g(t) : i(t);
7
+ }
8
+ var c = m;
13
9
  export {
14
- d as DOMRectReadOnly
10
+ c as _
15
11
  };
16
12
  //# sourceMappingURL=index.es276.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es276.js","sources":["../../../node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n };\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n"],"names":["DOMRectReadOnly","x","y","width","height","freeze","_a","top","right","bottom","left","rectangle"],"mappings":";AACA,IAAIA,IAAmB,WAAY;AAC/B,WAASA,EAAgBC,GAAGC,GAAGC,GAAOC,GAAQ;AAC1C,gBAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,QAAQC,GACb,KAAK,SAASC,GACd,KAAK,MAAM,KAAK,GAChB,KAAK,OAAO,KAAK,GACZ,KAAA,SAAS,KAAK,MAAM,KAAK,QACzB,KAAA,QAAQ,KAAK,OAAO,KAAK,OACvBC,EAAO,IAAI;AAAA,EACtB;AACAL,SAAAA,EAAgB,UAAU,SAAS,WAAY;AACvC,QAAAM,IAAK,MAAML,IAAIK,EAAG,GAAGJ,IAAII,EAAG,GAAGC,IAAMD,EAAG,KAAKE,IAAQF,EAAG,OAAOG,IAASH,EAAG,QAAQI,IAAOJ,EAAG,MAAMH,IAAQG,EAAG,OAAOF,IAASE,EAAG;AAC9H,WAAA,EAAE,GAAAL,GAAM,GAAAC,GAAM,KAAAK,GAAU,OAAAC,GAAc,QAAAC,GAAgB,MAAAC,GAAY,OAAAP,GAAc,QAAAC;EAAe,GAE1GJ,EAAgB,WAAW,SAAUW,GAAW;AACrC,WAAA,IAAIX,EAAgBW,EAAU,GAAGA,EAAU,GAAGA,EAAU,OAAOA,EAAU,MAAM;AAAA,EAAA,GAEnFX;AACX,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es276.js","sources":["../../../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["Symbol","require$$0","getRawTag","require$$1","objectToString","require$$2","nullTag","undefinedTag","symToStringTag","baseGetTag","value","_baseGetTag"],"mappings":";;;AAAA,IAAIA,IAASC,GACTC,IAAYC,GACZC,IAAiBC,GAGjBC,IAAU,iBACVC,IAAe,sBAGfC,IAAiBR,IAASA,EAAO,cAAc;AASnD,SAASS,EAAWC,GAAO;AACzB,SAAIA,KAAS,OACJA,MAAU,SAAYH,IAAeD,IAEtCE,KAAkBA,KAAkB,OAAOE,CAAK,IACpDR,EAAUQ,CAAK,IACfN,EAAeM,CAAK;AAC1B;AAEA,IAAAC,IAAiBF;","x_google_ignoreList":[0]}
@@ -1,5 +1,8 @@
1
- var o = typeof window < "u" ? window : {};
1
+ function t(e) {
2
+ return e != null && typeof e == "object";
3
+ }
4
+ var i = t;
2
5
  export {
3
- o as global
6
+ i
4
7
  };
5
8
  //# sourceMappingURL=index.es277.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es277.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/global.js"],"sourcesContent":["export var global = typeof window !== 'undefined' ? window : {};\n"],"names":["global"],"mappings":"AAAO,IAAIA,IAAS,OAAO,SAAW,MAAc,SAAS,CAAA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es277.js","sources":["../../../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":["isObjectLike","value","isObjectLike_1"],"mappings":"AAwBA,SAASA,EAAaC,GAAO;AACpB,SAAAA,KAAS,QAAQ,OAAOA,KAAS;AAC1C;AAEA,IAAAC,IAAiBF;","x_google_ignoreList":[0]}
@@ -1,6 +1,36 @@
1
- import { commonjsGlobal as o } from "./index.es190.js";
2
- var e = typeof o == "object" && o && o.Object === Object && o, a = e;
1
+ function y(r, u, b) {
2
+ return Math.max(u, Math.min(r, b));
3
+ }
4
+ const n = {
5
+ toVector(r, u) {
6
+ return r === void 0 && (r = u), Array.isArray(r) ? r : [r, r];
7
+ },
8
+ add(r, u) {
9
+ return [r[0] + u[0], r[1] + u[1]];
10
+ },
11
+ sub(r, u) {
12
+ return [r[0] - u[0], r[1] - u[1]];
13
+ },
14
+ addTo(r, u) {
15
+ r[0] += u[0], r[1] += u[1];
16
+ },
17
+ subTo(r, u) {
18
+ r[0] -= u[0], r[1] -= u[1];
19
+ }
20
+ };
21
+ function f(r, u, b) {
22
+ return u === 0 || Math.abs(u) === 1 / 0 ? Math.pow(r, b * 5) : r * u * b / (u + b * r);
23
+ }
24
+ function t(r, u, b, e = 0.15) {
25
+ return e === 0 ? y(r, u, b) : r < u ? -f(u - r, b - u, e) + u : r > b ? +f(r - b, b - u, e) + b : r;
26
+ }
27
+ function A(r, [u, b], [e, a]) {
28
+ const [[c, d], [h, M]] = r;
29
+ return [t(u, c, d, e), t(b, h, M, a)];
30
+ }
3
31
  export {
4
- a as _
32
+ n as V,
33
+ A as c,
34
+ t as r
5
35
  };
6
36
  //# sourceMappingURL=index.es278.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es278.js","sources":["../../../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["freeGlobal","global","_freeGlobal"],"mappings":";AACA,IAAIA,IAAa,OAAOC,KAAU,YAAYA,KAAUA,EAAO,WAAW,UAAUA,GAEpFC,IAAiBF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es278.js","sources":["../../../node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.js"],"sourcesContent":["function clamp(v, min, max) {\n return Math.max(min, Math.min(v, max));\n}\nconst V = {\n toVector(v, fallback) {\n if (v === undefined) v = fallback;\n return Array.isArray(v) ? v : [v, v];\n },\n add(v1, v2) {\n return [v1[0] + v2[0], v1[1] + v2[1]];\n },\n sub(v1, v2) {\n return [v1[0] - v2[0], v1[1] - v2[1]];\n },\n addTo(v1, v2) {\n v1[0] += v2[0];\n v1[1] += v2[1];\n },\n subTo(v1, v2) {\n v1[0] -= v2[0];\n v1[1] -= v2[1];\n }\n};\nfunction rubberband(distance, dimension, constant) {\n if (dimension === 0 || Math.abs(dimension) === Infinity) return Math.pow(distance, constant * 5);\n return distance * dimension * constant / (dimension + constant * distance);\n}\nfunction rubberbandIfOutOfBounds(position, min, max, constant = 0.15) {\n if (constant === 0) return clamp(position, min, max);\n if (position < min) return -rubberband(min - position, max - min, constant) + min;\n if (position > max) return +rubberband(position - max, max - min, constant) + max;\n return position;\n}\nfunction computeRubberband(bounds, [Vx, Vy], [Rx, Ry]) {\n const [[X0, X1], [Y0, Y1]] = bounds;\n return [rubberbandIfOutOfBounds(Vx, X0, X1, Rx), rubberbandIfOutOfBounds(Vy, Y0, Y1, Ry)];\n}\n\nexport { V, computeRubberband as c, rubberbandIfOutOfBounds as r };\n"],"names":["clamp","v","min","max","V","fallback","v1","v2","rubberband","distance","dimension","constant","rubberbandIfOutOfBounds","position","computeRubberband","bounds","Vx","Vy","Rx","Ry","X0","X1","Y0","Y1"],"mappings":"AAAA,SAASA,EAAMC,GAAGC,GAAKC,GAAK;AAC1B,SAAO,KAAK,IAAID,GAAK,KAAK,IAAID,GAAGE,CAAG,CAAC;AACvC;AACA,MAAMC,IAAI;AAAA,EACR,SAASH,GAAGI,GAAU;AACpB,WAAIJ,MAAM,WAAeA,IAAAI,IAClB,MAAM,QAAQJ,CAAC,IAAIA,IAAI,CAACA,GAAGA,CAAC;AAAA,EACrC;AAAA,EACA,IAAIK,GAAIC,GAAI;AACV,WAAO,CAACD,EAAG,CAAC,IAAIC,EAAG,CAAC,GAAGD,EAAG,CAAC,IAAIC,EAAG,CAAC,CAAC;AAAA,EACtC;AAAA,EACA,IAAID,GAAIC,GAAI;AACV,WAAO,CAACD,EAAG,CAAC,IAAIC,EAAG,CAAC,GAAGD,EAAG,CAAC,IAAIC,EAAG,CAAC,CAAC;AAAA,EACtC;AAAA,EACA,MAAMD,GAAIC,GAAI;AACT,IAAAD,EAAA,CAAC,KAAKC,EAAG,CAAC,GACVD,EAAA,CAAC,KAAKC,EAAG,CAAC;AAAA,EACf;AAAA,EACA,MAAMD,GAAIC,GAAI;AACT,IAAAD,EAAA,CAAC,KAAKC,EAAG,CAAC,GACVD,EAAA,CAAC,KAAKC,EAAG,CAAC;AAAA,EACf;AACF;AACA,SAASC,EAAWC,GAAUC,GAAWC,GAAU;AACjD,SAAID,MAAc,KAAK,KAAK,IAAIA,CAAS,MAAM,QAAiB,KAAK,IAAID,GAAUE,IAAW,CAAC,IACxFF,IAAWC,IAAYC,KAAYD,IAAYC,IAAWF;AACnE;AACA,SAASG,EAAwBC,GAAUX,GAAKC,GAAKQ,IAAW,MAAM;AACpE,SAAIA,MAAa,IAAUX,EAAMa,GAAUX,GAAKC,CAAG,IAC/CU,IAAWX,IAAY,CAACM,EAAWN,IAAMW,GAAUV,IAAMD,GAAKS,CAAQ,IAAIT,IAC1EW,IAAWV,IAAY,CAACK,EAAWK,IAAWV,GAAKA,IAAMD,GAAKS,CAAQ,IAAIR,IACvEU;AACT;AACA,SAASC,EAAkBC,GAAQ,CAACC,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,GAAG;AAC/C,QAAA,CAAC,CAACC,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC,IAAIR;AAC7B,SAAO,CAACH,EAAwBI,GAAII,GAAIC,GAAIH,CAAE,GAAGN,EAAwBK,GAAIK,GAAIC,GAAIJ,CAAE,CAAC;AAC1F;","x_google_ignoreList":[0]}
@@ -1,36 +1,71 @@
1
- function y(r, u, b) {
2
- return Math.max(u, Math.min(r, b));
3
- }
4
- const n = {
5
- toVector(r, u) {
6
- return r === void 0 && (r = u), Array.isArray(r) ? r : [r, r];
7
- },
8
- add(r, u) {
9
- return [r[0] + u[0], r[1] + u[1]];
10
- },
11
- sub(r, u) {
12
- return [r[0] - u[0], r[1] - u[1]];
13
- },
14
- addTo(r, u) {
15
- r[0] += u[0], r[1] += u[1];
16
- },
17
- subTo(r, u) {
18
- r[0] -= u[0], r[1] -= u[1];
1
+ import { process as f } from "./index.es286.js";
2
+ import { global as s } from "./index.es273.js";
3
+ import { queueResizeObserver as h } from "./index.es287.js";
4
+ var n = 0, d = function() {
5
+ return !!n;
6
+ }, p = 250, l = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, u = [
7
+ "resize",
8
+ "load",
9
+ "transitionend",
10
+ "animationend",
11
+ "animationstart",
12
+ "animationiteration",
13
+ "keyup",
14
+ "keydown",
15
+ "mouseup",
16
+ "mousedown",
17
+ "mouseover",
18
+ "mouseout",
19
+ "blur",
20
+ "focus"
21
+ ], a = function(t) {
22
+ return t === void 0 && (t = 0), Date.now() + t;
23
+ }, i = !1, b = function() {
24
+ function t() {
25
+ var e = this;
26
+ this.stopped = !0, this.listener = function() {
27
+ return e.schedule();
28
+ };
19
29
  }
30
+ return t.prototype.run = function(e) {
31
+ var r = this;
32
+ if (e === void 0 && (e = p), !i) {
33
+ i = !0;
34
+ var c = a(e);
35
+ h(function() {
36
+ var o = !1;
37
+ try {
38
+ o = f();
39
+ } finally {
40
+ if (i = !1, e = c - a(), !d())
41
+ return;
42
+ o ? r.run(1e3) : e > 0 ? r.run(e) : r.start();
43
+ }
44
+ });
45
+ }
46
+ }, t.prototype.schedule = function() {
47
+ this.stop(), this.run();
48
+ }, t.prototype.observe = function() {
49
+ var e = this, r = function() {
50
+ return e.observer && e.observer.observe(document.body, l);
51
+ };
52
+ document.body ? r() : s.addEventListener("DOMContentLoaded", r);
53
+ }, t.prototype.start = function() {
54
+ var e = this;
55
+ this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), u.forEach(function(r) {
56
+ return s.addEventListener(r, e.listener, !0);
57
+ }));
58
+ }, t.prototype.stop = function() {
59
+ var e = this;
60
+ this.stopped || (this.observer && this.observer.disconnect(), u.forEach(function(r) {
61
+ return s.removeEventListener(r, e.listener, !0);
62
+ }), this.stopped = !0);
63
+ }, t;
64
+ }(), v = new b(), E = function(t) {
65
+ !n && t > 0 && v.start(), n += t, !n && v.stop();
20
66
  };
21
- function f(r, u, b) {
22
- return u === 0 || Math.abs(u) === 1 / 0 ? Math.pow(r, b * 5) : r * u * b / (u + b * r);
23
- }
24
- function t(r, u, b, e = 0.15) {
25
- return e === 0 ? y(r, u, b) : r < u ? -f(u - r, b - u, e) + u : r > b ? +f(r - b, b - u, e) + b : r;
26
- }
27
- function A(r, [u, b], [e, a]) {
28
- const [[c, d], [h, M]] = r;
29
- return [t(u, c, d, e), t(b, h, M, a)];
30
- }
31
67
  export {
32
- n as V,
33
- A as c,
34
- t as r
68
+ v as scheduler,
69
+ E as updateCount
35
70
  };
36
71
  //# sourceMappingURL=index.es279.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es279.js","sources":["../../../node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.js"],"sourcesContent":["function clamp(v, min, max) {\n return Math.max(min, Math.min(v, max));\n}\nconst V = {\n toVector(v, fallback) {\n if (v === undefined) v = fallback;\n return Array.isArray(v) ? v : [v, v];\n },\n add(v1, v2) {\n return [v1[0] + v2[0], v1[1] + v2[1]];\n },\n sub(v1, v2) {\n return [v1[0] - v2[0], v1[1] - v2[1]];\n },\n addTo(v1, v2) {\n v1[0] += v2[0];\n v1[1] += v2[1];\n },\n subTo(v1, v2) {\n v1[0] -= v2[0];\n v1[1] -= v2[1];\n }\n};\nfunction rubberband(distance, dimension, constant) {\n if (dimension === 0 || Math.abs(dimension) === Infinity) return Math.pow(distance, constant * 5);\n return distance * dimension * constant / (dimension + constant * distance);\n}\nfunction rubberbandIfOutOfBounds(position, min, max, constant = 0.15) {\n if (constant === 0) return clamp(position, min, max);\n if (position < min) return -rubberband(min - position, max - min, constant) + min;\n if (position > max) return +rubberband(position - max, max - min, constant) + max;\n return position;\n}\nfunction computeRubberband(bounds, [Vx, Vy], [Rx, Ry]) {\n const [[X0, X1], [Y0, Y1]] = bounds;\n return [rubberbandIfOutOfBounds(Vx, X0, X1, Rx), rubberbandIfOutOfBounds(Vy, Y0, Y1, Ry)];\n}\n\nexport { V, computeRubberband as c, rubberbandIfOutOfBounds as r };\n"],"names":["clamp","v","min","max","V","fallback","v1","v2","rubberband","distance","dimension","constant","rubberbandIfOutOfBounds","position","computeRubberband","bounds","Vx","Vy","Rx","Ry","X0","X1","Y0","Y1"],"mappings":"AAAA,SAASA,EAAMC,GAAGC,GAAKC,GAAK;AAC1B,SAAO,KAAK,IAAID,GAAK,KAAK,IAAID,GAAGE,CAAG,CAAC;AACvC;AACA,MAAMC,IAAI;AAAA,EACR,SAASH,GAAGI,GAAU;AACpB,WAAIJ,MAAM,WAAeA,IAAAI,IAClB,MAAM,QAAQJ,CAAC,IAAIA,IAAI,CAACA,GAAGA,CAAC;AAAA,EACrC;AAAA,EACA,IAAIK,GAAIC,GAAI;AACV,WAAO,CAACD,EAAG,CAAC,IAAIC,EAAG,CAAC,GAAGD,EAAG,CAAC,IAAIC,EAAG,CAAC,CAAC;AAAA,EACtC;AAAA,EACA,IAAID,GAAIC,GAAI;AACV,WAAO,CAACD,EAAG,CAAC,IAAIC,EAAG,CAAC,GAAGD,EAAG,CAAC,IAAIC,EAAG,CAAC,CAAC;AAAA,EACtC;AAAA,EACA,MAAMD,GAAIC,GAAI;AACT,IAAAD,EAAA,CAAC,KAAKC,EAAG,CAAC,GACVD,EAAA,CAAC,KAAKC,EAAG,CAAC;AAAA,EACf;AAAA,EACA,MAAMD,GAAIC,GAAI;AACT,IAAAD,EAAA,CAAC,KAAKC,EAAG,CAAC,GACVD,EAAA,CAAC,KAAKC,EAAG,CAAC;AAAA,EACf;AACF;AACA,SAASC,EAAWC,GAAUC,GAAWC,GAAU;AACjD,SAAID,MAAc,KAAK,KAAK,IAAIA,CAAS,MAAM,QAAiB,KAAK,IAAID,GAAUE,IAAW,CAAC,IACxFF,IAAWC,IAAYC,KAAYD,IAAYC,IAAWF;AACnE;AACA,SAASG,EAAwBC,GAAUX,GAAKC,GAAKQ,IAAW,MAAM;AACpE,SAAIA,MAAa,IAAUX,EAAMa,GAAUX,GAAKC,CAAG,IAC/CU,IAAWX,IAAY,CAACM,EAAWN,IAAMW,GAAUV,IAAMD,GAAKS,CAAQ,IAAIT,IAC1EW,IAAWV,IAAY,CAACK,EAAWK,IAAWV,GAAKA,IAAMD,GAAKS,CAAQ,IAAIR,IACvEU;AACT;AACA,SAASC,EAAkBC,GAAQ,CAACC,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,GAAG;AAC/C,QAAA,CAAC,CAACC,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC,IAAIR;AAC7B,SAAO,CAACH,EAAwBI,GAAII,GAAIC,GAAIH,CAAE,GAAGN,EAAwBK,GAAIK,GAAIC,GAAIJ,CAAE,CAAC;AAC1F;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es279.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/scheduler.js"],"sourcesContent":["import { process } from './process';\nimport { global } from './global';\nimport { queueResizeObserver } from './queueResizeObserver';\nvar watching = 0;\nvar isWatching = function () { return !!watching; };\nvar CATCH_PERIOD = 250;\nvar observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };\nvar events = [\n 'resize',\n 'load',\n 'transitionend',\n 'animationend',\n 'animationstart',\n 'animationiteration',\n 'keyup',\n 'keydown',\n 'mouseup',\n 'mousedown',\n 'mouseover',\n 'mouseout',\n 'blur',\n 'focus'\n];\nvar time = function (timeout) {\n if (timeout === void 0) { timeout = 0; }\n return Date.now() + timeout;\n};\nvar scheduled = false;\nvar Scheduler = (function () {\n function Scheduler() {\n var _this = this;\n this.stopped = true;\n this.listener = function () { return _this.schedule(); };\n }\n Scheduler.prototype.run = function (timeout) {\n var _this = this;\n if (timeout === void 0) { timeout = CATCH_PERIOD; }\n if (scheduled) {\n return;\n }\n scheduled = true;\n var until = time(timeout);\n queueResizeObserver(function () {\n var elementsHaveResized = false;\n try {\n elementsHaveResized = process();\n }\n finally {\n scheduled = false;\n timeout = until - time();\n if (!isWatching()) {\n return;\n }\n if (elementsHaveResized) {\n _this.run(1000);\n }\n else if (timeout > 0) {\n _this.run(timeout);\n }\n else {\n _this.start();\n }\n }\n });\n };\n Scheduler.prototype.schedule = function () {\n this.stop();\n this.run();\n };\n Scheduler.prototype.observe = function () {\n var _this = this;\n var cb = function () { return _this.observer && _this.observer.observe(document.body, observerConfig); };\n document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n };\n Scheduler.prototype.start = function () {\n var _this = this;\n if (this.stopped) {\n this.stopped = false;\n this.observer = new MutationObserver(this.listener);\n this.observe();\n events.forEach(function (name) { return global.addEventListener(name, _this.listener, true); });\n }\n };\n Scheduler.prototype.stop = function () {\n var _this = this;\n if (!this.stopped) {\n this.observer && this.observer.disconnect();\n events.forEach(function (name) { return global.removeEventListener(name, _this.listener, true); });\n this.stopped = true;\n }\n };\n return Scheduler;\n}());\nvar scheduler = new Scheduler();\nvar updateCount = function (n) {\n !watching && n > 0 && scheduler.start();\n watching += n;\n !watching && scheduler.stop();\n};\nexport { scheduler, updateCount };\n"],"names":["watching","isWatching","CATCH_PERIOD","observerConfig","events","time","timeout","scheduled","Scheduler","_this","until","queueResizeObserver","elementsHaveResized","process","cb","global","name","scheduler","updateCount","n"],"mappings":";;;AAGA,IAAIA,IAAW,GACXC,IAAa,WAAY;AAAE,SAAO,CAAC,CAACD;AAAU,GAC9CE,IAAe,KACfC,IAAiB,EAAE,YAAY,IAAM,eAAe,IAAM,WAAW,IAAM,SAAS,MACpFC,IAAS;AAAA,EACT;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,GACIC,IAAO,SAAUC,GAAS;AAC1B,SAAIA,MAAY,WAAoBA,IAAA,IAC7B,KAAK,IAAQ,IAAAA;AACxB,GACIC,IAAY,IACZC,IAAa,WAAY;AACzB,WAASA,IAAY;AACjB,QAAIC,IAAQ;AACZ,SAAK,UAAU,IACf,KAAK,WAAW,WAAY;AAAE,aAAOA,EAAM;IAAS;AAAA,EACxD;AACAD,SAAAA,EAAU,UAAU,MAAM,SAAUF,GAAS;AACzC,QAAIG,IAAQ;AAEZ,QADIH,MAAY,WAAoBA,IAAAJ,IAChC,CAAAK,GAGQ;AAAA,MAAAA,IAAA;AACR,UAAAG,IAAQL,EAAKC,CAAO;AACxB,MAAAK,EAAoB,WAAY;AAC5B,YAAIC,IAAsB;AACtB,YAAA;AACA,UAAAA,IAAsBC,EAAQ;AAAA,QAAA,UAElC;AAGQ,cAFQN,IAAA,IACZD,IAAUI,IAAQL,KACd,CAACJ;AACD;AAEJ,UAAIW,IACAH,EAAM,IAAI,GAAI,IAETH,IAAU,IACfG,EAAM,IAAIH,CAAO,IAGjBG,EAAM,MAAM;AAAA,QAEpB;AAAA,MAAA,CACH;AAAA;AAAA,EAAA,GAELD,EAAU,UAAU,WAAW,WAAY;AACvC,SAAK,KAAK,GACV,KAAK,IAAI;AAAA,EAAA,GAEbA,EAAU,UAAU,UAAU,WAAY;AACtC,QAAIC,IAAQ,MACRK,IAAK,WAAY;AAAE,aAAOL,EAAM,YAAYA,EAAM,SAAS,QAAQ,SAAS,MAAMN,CAAc;AAAA,IAAA;AACpG,aAAS,OAAOW,EAAG,IAAIC,EAAO,iBAAiB,oBAAoBD,CAAE;AAAA,EAAA,GAEzEN,EAAU,UAAU,QAAQ,WAAY;AACpC,QAAIC,IAAQ;AACZ,IAAI,KAAK,YACL,KAAK,UAAU,IACf,KAAK,WAAW,IAAI,iBAAiB,KAAK,QAAQ,GAClD,KAAK,QAAQ,GACNL,EAAA,QAAQ,SAAUY,GAAM;AAAE,aAAOD,EAAO,iBAAiBC,GAAMP,EAAM,UAAU,EAAI;AAAA,IAAA,CAAI;AAAA,EAClG,GAEJD,EAAU,UAAU,OAAO,WAAY;AACnC,QAAIC,IAAQ;AACR,IAAC,KAAK,YACD,KAAA,YAAY,KAAK,SAAS,WAAW,GACnCL,EAAA,QAAQ,SAAUY,GAAM;AAAE,aAAOD,EAAO,oBAAoBC,GAAMP,EAAM,UAAU,EAAI;AAAA,IAAA,CAAI,GACjG,KAAK,UAAU;AAAA,EACnB,GAEGD;AACX,KACIS,IAAY,IAAIT,EAAU,GAC1BU,IAAc,SAAUC,GAAG;AAC3B,GAACnB,KAAYmB,IAAI,KAAKF,EAAU,MAAM,GAC1BjB,KAAAmB,GACX,CAAAnB,KAAYiB,EAAU;AAC3B;","x_google_ignoreList":[0]}
@@ -1,11 +1,21 @@
1
- var t = /\s/;
2
- function n(r) {
3
- for (var e = r.length; e-- && t.test(r.charAt(e)); )
4
- ;
5
- return e;
6
- }
7
- var d = n;
1
+ import { ResizeObserverBoxOptions as r } from "./index.es271.js";
2
+ import { calculateBoxSize as o } from "./index.es79.js";
3
+ import { isSVG as s, isReplacedElement as n } from "./index.es253.js";
4
+ var l = function(e) {
5
+ return !s(e) && !n(e) && getComputedStyle(e).display === "inline";
6
+ }, S = function() {
7
+ function e(i, t) {
8
+ this.target = i, this.observedBox = t || r.CONTENT_BOX, this.lastReportedSize = {
9
+ inlineSize: 0,
10
+ blockSize: 0
11
+ };
12
+ }
13
+ return e.prototype.isActive = function() {
14
+ var i = o(this.target, this.observedBox, !0);
15
+ return l(this.target) && (this.lastReportedSize = i), this.lastReportedSize.inlineSize !== i.inlineSize || this.lastReportedSize.blockSize !== i.blockSize;
16
+ }, e;
17
+ }();
8
18
  export {
9
- d as _
19
+ S as ResizeObservation
10
20
  };
11
21
  //# sourceMappingURL=index.es280.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es280.js","sources":["../../../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":["reWhitespace","trimmedEndIndex","string","index","_trimmedEndIndex"],"mappings":"AACA,IAAIA,IAAe;AAUnB,SAASC,EAAgBC,GAAQ;AAG/B,WAFIC,IAAQD,EAAO,QAEZC,OAAWH,EAAa,KAAKE,EAAO,OAAOC,CAAK,CAAC;AAAG;AACpD,SAAAA;AACT;AAEA,IAAAC,IAAiBH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es280.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObservation.js"],"sourcesContent":["import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';\nimport { calculateBoxSize } from './algorithms/calculateBoxSize';\nimport { isSVG, isReplacedElement } from './utils/element';\nvar skipNotifyOnElement = function (target) {\n return !isSVG(target)\n && !isReplacedElement(target)\n && getComputedStyle(target).display === 'inline';\n};\nvar ResizeObservation = (function () {\n function ResizeObservation(target, observedBox) {\n this.target = target;\n this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n this.lastReportedSize = {\n inlineSize: 0,\n blockSize: 0\n };\n }\n ResizeObservation.prototype.isActive = function () {\n var size = calculateBoxSize(this.target, this.observedBox, true);\n if (skipNotifyOnElement(this.target)) {\n this.lastReportedSize = size;\n }\n if (this.lastReportedSize.inlineSize !== size.inlineSize\n || this.lastReportedSize.blockSize !== size.blockSize) {\n return true;\n }\n return false;\n };\n return ResizeObservation;\n}());\nexport { ResizeObservation };\n"],"names":["skipNotifyOnElement","target","isSVG","isReplacedElement","ResizeObservation","observedBox","ResizeObserverBoxOptions","size","calculateBoxSize"],"mappings":";;;AAGA,IAAIA,IAAsB,SAAUC,GAAQ;AACjC,SAAA,CAACC,EAAMD,CAAM,KACb,CAACE,EAAkBF,CAAM,KACzB,iBAAiBA,CAAM,EAAE,YAAY;AAChD,GACIG,IAAqB,WAAY;AACxBA,WAAAA,EAAkBH,GAAQI,GAAa;AAC5C,SAAK,SAASJ,GACT,KAAA,cAAcI,KAAeC,EAAyB,aAC3D,KAAK,mBAAmB;AAAA,MACpB,YAAY;AAAA,MACZ,WAAW;AAAA,IAAA;AAAA,EAEnB;AACAF,SAAAA,EAAkB,UAAU,WAAW,WAAY;AAC/C,QAAIG,IAAOC,EAAiB,KAAK,QAAQ,KAAK,aAAa,EAAI;AAI3D,WAHAR,EAAoB,KAAK,MAAM,MAC/B,KAAK,mBAAmBO,IAExB,KAAK,iBAAiB,eAAeA,EAAK,cACvC,KAAK,iBAAiB,cAAcA,EAAK;AAAA,EAGzC,GAEJH;AACX,EAAE;","x_google_ignoreList":[0]}