@performant-software/visualize 2.3.1-beta.0 → 2.3.1

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 (223) hide show
  1. package/dist/index.cjs186.js +1 -1
  2. package/dist/index.cjs188.js +1 -1
  3. package/dist/index.cjs196.js +1 -1
  4. package/dist/index.cjs197.js +1 -1
  5. package/dist/index.cjs198.js +3 -1
  6. package/dist/index.cjs198.js.map +1 -1
  7. package/dist/index.cjs199.js +1 -3
  8. package/dist/index.cjs199.js.map +1 -1
  9. package/dist/index.cjs200.js +1 -1
  10. package/dist/index.cjs200.js.map +1 -1
  11. package/dist/index.cjs203.js +1 -1
  12. package/dist/index.cjs204.js +1 -1
  13. package/dist/index.cjs205.js +1 -1
  14. package/dist/index.cjs223.js +1 -1
  15. package/dist/index.cjs239.js +1 -1
  16. package/dist/index.cjs243.js +1 -1
  17. package/dist/index.cjs247.js +1 -1
  18. package/dist/index.cjs251.js +1 -1
  19. package/dist/index.cjs252.js +1 -1
  20. package/dist/index.cjs257.js +1 -1
  21. package/dist/index.cjs257.js.map +1 -1
  22. package/dist/index.cjs258.js +1 -1
  23. package/dist/index.cjs258.js.map +1 -1
  24. package/dist/index.cjs259.js +1 -1
  25. package/dist/index.cjs259.js.map +1 -1
  26. package/dist/index.cjs260.js +1 -1
  27. package/dist/index.cjs260.js.map +1 -1
  28. package/dist/index.cjs261.js +1 -1
  29. package/dist/index.cjs261.js.map +1 -1
  30. package/dist/index.cjs262.js +1 -1
  31. package/dist/index.cjs262.js.map +1 -1
  32. package/dist/index.cjs263.js +1 -1
  33. package/dist/index.cjs263.js.map +1 -1
  34. package/dist/index.cjs264.js +1 -1
  35. package/dist/index.cjs264.js.map +1 -1
  36. package/dist/index.cjs265.js +1 -1
  37. package/dist/index.cjs265.js.map +1 -1
  38. package/dist/index.cjs266.js +1 -1
  39. package/dist/index.cjs266.js.map +1 -1
  40. package/dist/index.cjs267.js +1 -1
  41. package/dist/index.cjs267.js.map +1 -1
  42. package/dist/index.cjs268.js +1 -1
  43. package/dist/index.cjs268.js.map +1 -1
  44. package/dist/index.cjs269.js +1 -1
  45. package/dist/index.cjs269.js.map +1 -1
  46. package/dist/index.cjs270.js +1 -1
  47. package/dist/index.cjs270.js.map +1 -1
  48. package/dist/index.cjs271.js +1 -1
  49. package/dist/index.cjs271.js.map +1 -1
  50. package/dist/index.cjs272.js +1 -1
  51. package/dist/index.cjs272.js.map +1 -1
  52. package/dist/index.cjs273.js +1 -1
  53. package/dist/index.cjs273.js.map +1 -1
  54. package/dist/index.cjs274.js +1 -1
  55. package/dist/index.cjs275.js +1 -1
  56. package/dist/index.cjs280.js +1 -1
  57. package/dist/index.cjs283.js +1 -1
  58. package/dist/index.cjs283.js.map +1 -1
  59. package/dist/index.cjs284.js +1 -1
  60. package/dist/index.cjs284.js.map +1 -1
  61. package/dist/index.cjs285.js +1 -1
  62. package/dist/index.cjs285.js.map +1 -1
  63. package/dist/index.cjs286.js +1 -1
  64. package/dist/index.cjs286.js.map +1 -1
  65. package/dist/index.cjs287.js +1 -1
  66. package/dist/index.cjs287.js.map +1 -1
  67. package/dist/index.cjs291.js +1 -1
  68. package/dist/index.cjs34.js +1 -1
  69. package/dist/index.cjs35.js +1 -1
  70. package/dist/index.cjs36.js +1 -1
  71. package/dist/index.cjs53.js +1 -1
  72. package/dist/index.cjs54.js +1 -1
  73. package/dist/index.cjs58.js +1 -1
  74. package/dist/index.cjs62.js +1 -1
  75. package/dist/index.cjs62.js.map +1 -1
  76. package/dist/index.cjs63.js +1 -1
  77. package/dist/index.cjs63.js.map +1 -1
  78. package/dist/index.cjs64.js +1 -1
  79. package/dist/index.cjs64.js.map +1 -1
  80. package/dist/index.cjs65.js +1 -1
  81. package/dist/index.cjs65.js.map +1 -1
  82. package/dist/index.cjs66.js +1 -1
  83. package/dist/index.cjs66.js.map +1 -1
  84. package/dist/index.cjs67.js +1 -1
  85. package/dist/index.cjs67.js.map +1 -1
  86. package/dist/index.cjs68.js +1 -1
  87. package/dist/index.cjs68.js.map +1 -1
  88. package/dist/index.cjs69.js +1 -1
  89. package/dist/index.cjs69.js.map +1 -1
  90. package/dist/index.cjs70.js +1 -1
  91. package/dist/index.cjs70.js.map +1 -1
  92. package/dist/index.cjs71.js +1 -1
  93. package/dist/index.cjs71.js.map +1 -1
  94. package/dist/index.cjs72.js +1 -1
  95. package/dist/index.cjs72.js.map +1 -1
  96. package/dist/index.cjs73.js +1 -1
  97. package/dist/index.cjs73.js.map +1 -1
  98. package/dist/index.cjs74.js +1 -1
  99. package/dist/index.cjs74.js.map +1 -1
  100. package/dist/index.cjs75.js +1 -1
  101. package/dist/index.cjs75.js.map +1 -1
  102. package/dist/index.cjs76.js +1 -1
  103. package/dist/index.cjs76.js.map +1 -1
  104. package/dist/index.cjs77.js +1 -1
  105. package/dist/index.cjs77.js.map +1 -1
  106. package/dist/index.cjs78.js +1 -1
  107. package/dist/index.cjs78.js.map +1 -1
  108. package/dist/index.cjs79.js +1 -1
  109. package/dist/index.cjs8.js +1 -1
  110. package/dist/index.cjs80.js +1 -1
  111. package/dist/index.cjs81.js +1 -1
  112. package/dist/index.es186.js +4 -4
  113. package/dist/index.es188.js +1 -1
  114. package/dist/index.es196.js +1 -1
  115. package/dist/index.es197.js +2 -2
  116. package/dist/index.es198.js +240 -2
  117. package/dist/index.es198.js.map +1 -1
  118. package/dist/index.es199.js +982 -204
  119. package/dist/index.es199.js.map +1 -1
  120. package/dist/index.es200.js +2 -1018
  121. package/dist/index.es200.js.map +1 -1
  122. package/dist/index.es203.js +1 -1
  123. package/dist/index.es204.js +1 -1
  124. package/dist/index.es205.js +1 -1
  125. package/dist/index.es223.js +1 -1
  126. package/dist/index.es239.js +2 -2
  127. package/dist/index.es243.js +1 -1
  128. package/dist/index.es247.js +1 -1
  129. package/dist/index.es251.js +1 -1
  130. package/dist/index.es252.js +1 -1
  131. package/dist/index.es257.js +3 -3
  132. package/dist/index.es257.js.map +1 -1
  133. package/dist/index.es258.js +7 -6
  134. package/dist/index.es258.js.map +1 -1
  135. package/dist/index.es259.js +3 -7
  136. package/dist/index.es259.js.map +1 -1
  137. package/dist/index.es260.js +2 -3
  138. package/dist/index.es260.js.map +1 -1
  139. package/dist/index.es261.js +4 -4
  140. package/dist/index.es261.js.map +1 -1
  141. package/dist/index.es262.js +7 -7
  142. package/dist/index.es262.js.map +1 -1
  143. package/dist/index.es263.js +3 -14
  144. package/dist/index.es263.js.map +1 -1
  145. package/dist/index.es264.js +6 -6
  146. package/dist/index.es264.js.map +1 -1
  147. package/dist/index.es265.js +7 -3
  148. package/dist/index.es265.js.map +1 -1
  149. package/dist/index.es266.js +6 -2
  150. package/dist/index.es266.js.map +1 -1
  151. package/dist/index.es267.js +13 -5
  152. package/dist/index.es267.js.map +1 -1
  153. package/dist/index.es268.js +6 -7
  154. package/dist/index.es268.js.map +1 -1
  155. package/dist/index.es269.js +5 -2
  156. package/dist/index.es269.js.map +1 -1
  157. package/dist/index.es270.js +13 -2
  158. package/dist/index.es270.js.map +1 -1
  159. package/dist/index.es271.js +2 -5
  160. package/dist/index.es271.js.map +1 -1
  161. package/dist/index.es272.js +2 -13
  162. package/dist/index.es272.js.map +1 -1
  163. package/dist/index.es273.js +2 -2
  164. package/dist/index.es273.js.map +1 -1
  165. package/dist/index.es274.js +3 -3
  166. package/dist/index.es275.js +2 -2
  167. package/dist/index.es280.js +3 -3
  168. package/dist/index.es283.js +12 -3
  169. package/dist/index.es283.js.map +1 -1
  170. package/dist/index.es284.js +7 -14
  171. package/dist/index.es284.js.map +1 -1
  172. package/dist/index.es285.js +3 -6
  173. package/dist/index.es285.js.map +1 -1
  174. package/dist/index.es286.js +14 -12
  175. package/dist/index.es286.js.map +1 -1
  176. package/dist/index.es287.js +6 -7
  177. package/dist/index.es287.js.map +1 -1
  178. package/dist/index.es291.js +1 -1
  179. package/dist/index.es34.js +4 -4
  180. package/dist/index.es35.js +1 -1
  181. package/dist/index.es36.js +1 -1
  182. package/dist/index.es53.js +2 -2
  183. package/dist/index.es54.js +3 -3
  184. package/dist/index.es58.js +9 -9
  185. package/dist/index.es62.js +13 -9
  186. package/dist/index.es62.js.map +1 -1
  187. package/dist/index.es63.js +32 -4
  188. package/dist/index.es63.js.map +1 -1
  189. package/dist/index.es64.js +93 -11
  190. package/dist/index.es64.js.map +1 -1
  191. package/dist/index.es65.js +20 -5
  192. package/dist/index.es65.js.map +1 -1
  193. package/dist/index.es66.js +27 -14
  194. package/dist/index.es66.js.map +1 -1
  195. package/dist/index.es67.js +54 -9
  196. package/dist/index.es67.js.map +1 -1
  197. package/dist/index.es68.js +29 -6
  198. package/dist/index.es68.js.map +1 -1
  199. package/dist/index.es69.js +40 -10
  200. package/dist/index.es69.js.map +1 -1
  201. package/dist/index.es70.js +8 -7
  202. package/dist/index.es70.js.map +1 -1
  203. package/dist/index.es71.js +4 -20
  204. package/dist/index.es71.js.map +1 -1
  205. package/dist/index.es72.js +11 -26
  206. package/dist/index.es72.js.map +1 -1
  207. package/dist/index.es73.js +6 -13
  208. package/dist/index.es73.js.map +1 -1
  209. package/dist/index.es74.js +14 -32
  210. package/dist/index.es74.js.map +1 -1
  211. package/dist/index.es75.js +9 -94
  212. package/dist/index.es75.js.map +1 -1
  213. package/dist/index.es76.js +5 -54
  214. package/dist/index.es76.js.map +1 -1
  215. package/dist/index.es77.js +10 -29
  216. package/dist/index.es77.js.map +1 -1
  217. package/dist/index.es78.js +8 -40
  218. package/dist/index.es78.js.map +1 -1
  219. package/dist/index.es79.js +1 -1
  220. package/dist/index.es8.js +1 -1
  221. package/dist/index.es80.js +1 -1
  222. package/dist/index.es81.js +1 -1
  223. package/package.json +1 -1
@@ -1,98 +1,13 @@
1
- function f() {
2
- return {
3
- scaleX: 1,
4
- scaleY: 1,
5
- translateX: 0,
6
- translateY: 0,
7
- skewX: 0,
8
- skewY: 0
9
- };
10
- }
11
- function w(e) {
12
- var s = e.scaleX, a = s === void 0 ? 1 : s, n = e.scaleY, r = n === void 0 ? 1 : n, t = e.translateX, c = t === void 0 ? 0 : t, l = e.translateY, u = l === void 0 ? 0 : l, X = e.skewX, k = X === void 0 ? 0 : X, Y = e.skewY, v = Y === void 0 ? 0 : Y;
13
- return {
14
- scaleX: a,
15
- scaleY: r,
16
- translateX: c,
17
- translateY: u,
18
- skewX: k,
19
- skewY: v
20
- };
21
- }
22
- function d(e) {
23
- var s = e.scaleX, a = e.scaleY, n = e.translateX, r = e.translateY, t = e.skewX, c = e.skewY, l = s * a - c * t;
24
- return {
25
- scaleX: a / l,
26
- scaleY: s / l,
27
- translateX: (a * n - t * r) / -l,
28
- translateY: (c * n - s * r) / l,
29
- skewX: t / -l,
30
- skewY: c / -l
31
- };
32
- }
33
- function p(e, s) {
34
- var a = s.x, n = s.y;
35
- return {
36
- x: e.scaleX * a + e.skewX * n + e.translateX,
37
- y: e.skewY * a + e.scaleY * n + e.translateY
38
- };
39
- }
40
- function g(e, s) {
41
- var a = s.x, n = s.y;
42
- return p(d(e), {
43
- x: a,
44
- y: n
45
- });
46
- }
47
- function y(e, s) {
48
- s === void 0 && (s = void 0);
49
- var a = s || e;
50
- return w({
51
- scaleX: e,
52
- scaleY: a
53
- });
54
- }
55
- function $(e, s) {
56
- return w({
57
- translateX: e,
58
- translateY: s
59
- });
60
- }
61
- function o(e, s) {
62
- return {
63
- scaleX: e.scaleX * s.scaleX + e.skewX * s.skewY,
64
- scaleY: e.skewY * s.skewX + e.scaleY * s.scaleY,
65
- translateX: e.scaleX * s.translateX + e.skewX * s.translateY + e.translateX,
66
- translateY: e.skewY * s.translateX + e.scaleY * s.translateY + e.translateY,
67
- skewX: e.scaleX * s.skewX + e.skewX * s.scaleY,
68
- skewY: e.skewY * s.scaleX + e.scaleY * s.skewY
69
- };
70
- }
71
- function M() {
72
- for (var e = arguments.length, s = new Array(e), a = 0; a < e; a++)
73
- s[a] = arguments[a];
74
- switch (s.length) {
75
- case 0:
76
- throw new Error("composeMatrices() requires arguments: was called with no args");
77
- case 1:
78
- return s[0];
79
- case 2:
80
- return o(s[0], s[1]);
81
- default: {
82
- var n = s[0], r = s[1], t = s.slice(2), c = o(n, r);
83
- return M.apply(void 0, [c].concat(t));
84
- }
85
- }
1
+ import o from "./index.es70.js";
2
+ import t from "./index.es73.js";
3
+ function f(e, r) {
4
+ if (r && (o(r) === "object" || typeof r == "function"))
5
+ return r;
6
+ if (r !== void 0)
7
+ throw new TypeError("Derived constructors may only return object or undefined");
8
+ return t(e);
86
9
  }
87
10
  export {
88
- g as applyInverseMatrixToPoint,
89
- p as applyMatrixToPoint,
90
- M as composeMatrices,
91
- w as createMatrix,
92
- f as identityMatrix,
93
- d as inverseMatrix,
94
- o as multiplyMatrices,
95
- y as scaleMatrix,
96
- $ as translateMatrix
11
+ f as default
97
12
  };
98
13
  //# sourceMappingURL=index.es75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es75.js","sources":["../../../node_modules/@visx/zoom/esm/util/matrix.js"],"sourcesContent":["export function identityMatrix() {\n return {\n scaleX: 1,\n scaleY: 1,\n translateX: 0,\n translateY: 0,\n skewX: 0,\n skewY: 0\n };\n}\nexport function createMatrix(_ref) {\n var _ref$scaleX = _ref.scaleX,\n scaleX = _ref$scaleX === void 0 ? 1 : _ref$scaleX,\n _ref$scaleY = _ref.scaleY,\n scaleY = _ref$scaleY === void 0 ? 1 : _ref$scaleY,\n _ref$translateX = _ref.translateX,\n translateX = _ref$translateX === void 0 ? 0 : _ref$translateX,\n _ref$translateY = _ref.translateY,\n translateY = _ref$translateY === void 0 ? 0 : _ref$translateY,\n _ref$skewX = _ref.skewX,\n skewX = _ref$skewX === void 0 ? 0 : _ref$skewX,\n _ref$skewY = _ref.skewY,\n skewY = _ref$skewY === void 0 ? 0 : _ref$skewY;\n return {\n scaleX: scaleX,\n scaleY: scaleY,\n translateX: translateX,\n translateY: translateY,\n skewX: skewX,\n skewY: skewY\n };\n}\nexport function inverseMatrix(_ref2) {\n var scaleX = _ref2.scaleX,\n scaleY = _ref2.scaleY,\n translateX = _ref2.translateX,\n translateY = _ref2.translateY,\n skewX = _ref2.skewX,\n skewY = _ref2.skewY;\n var denominator = scaleX * scaleY - skewY * skewX;\n return {\n scaleX: scaleY / denominator,\n scaleY: scaleX / denominator,\n translateX: (scaleY * translateX - skewX * translateY) / -denominator,\n translateY: (skewY * translateX - scaleX * translateY) / denominator,\n skewX: skewX / -denominator,\n skewY: skewY / -denominator\n };\n}\nexport function applyMatrixToPoint(matrix, _ref3) {\n var x = _ref3.x,\n y = _ref3.y;\n return {\n x: matrix.scaleX * x + matrix.skewX * y + matrix.translateX,\n y: matrix.skewY * x + matrix.scaleY * y + matrix.translateY\n };\n}\nexport function applyInverseMatrixToPoint(matrix, _ref4) {\n var x = _ref4.x,\n y = _ref4.y;\n return applyMatrixToPoint(inverseMatrix(matrix), {\n x: x,\n y: y\n });\n}\nexport function scaleMatrix(scaleX, maybeScaleY) {\n if (maybeScaleY === void 0) {\n maybeScaleY = undefined;\n }\n var scaleY = maybeScaleY || scaleX;\n return createMatrix({\n scaleX: scaleX,\n scaleY: scaleY\n });\n}\nexport function translateMatrix(translateX, translateY) {\n return createMatrix({\n translateX: translateX,\n translateY: translateY\n });\n}\nexport function multiplyMatrices(matrix1, matrix2) {\n return {\n scaleX: matrix1.scaleX * matrix2.scaleX + matrix1.skewX * matrix2.skewY,\n scaleY: matrix1.skewY * matrix2.skewX + matrix1.scaleY * matrix2.scaleY,\n translateX: matrix1.scaleX * matrix2.translateX + matrix1.skewX * matrix2.translateY + matrix1.translateX,\n translateY: matrix1.skewY * matrix2.translateX + matrix1.scaleY * matrix2.translateY + matrix1.translateY,\n skewX: matrix1.scaleX * matrix2.skewX + matrix1.skewX * matrix2.scaleY,\n skewY: matrix1.skewY * matrix2.scaleX + matrix1.scaleY * matrix2.skewY\n };\n}\nexport function composeMatrices() {\n for (var _len = arguments.length, matrices = new Array(_len), _key = 0; _key < _len; _key++) {\n matrices[_key] = arguments[_key];\n }\n switch (matrices.length) {\n case 0:\n throw new Error('composeMatrices() requires arguments: was called with no args');\n case 1:\n return matrices[0];\n case 2:\n return multiplyMatrices(matrices[0], matrices[1]);\n default:\n {\n var matrix1 = matrices[0],\n matrix2 = matrices[1],\n restMatrices = matrices.slice(2);\n var matrix = multiplyMatrices(matrix1, matrix2);\n return composeMatrices.apply(void 0, [matrix].concat(restMatrices));\n }\n }\n}"],"names":["identityMatrix","createMatrix","_ref","_ref$scaleX","scaleX","_ref$scaleY","scaleY","_ref$translateX","translateX","_ref$translateY","translateY","_ref$skewX","skewX","_ref$skewY","skewY","inverseMatrix","_ref2","denominator","applyMatrixToPoint","matrix","_ref3","x","y","applyInverseMatrixToPoint","_ref4","scaleMatrix","maybeScaleY","translateMatrix","multiplyMatrices","matrix1","matrix2","composeMatrices","_len","matrices","_key","restMatrices"],"mappings":"AAAO,SAASA,IAAiB;AACxB,SAAA;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,OAAO;AAAA,EAAA;AAEX;AACO,SAASC,EAAaC,GAAM;AAC7B,MAAAC,IAAcD,EAAK,QACrBE,IAASD,MAAgB,SAAS,IAAIA,GACtCE,IAAcH,EAAK,QACnBI,IAASD,MAAgB,SAAS,IAAIA,GACtCE,IAAkBL,EAAK,YACvBM,IAAaD,MAAoB,SAAS,IAAIA,GAC9CE,IAAkBP,EAAK,YACvBQ,IAAaD,MAAoB,SAAS,IAAIA,GAC9CE,IAAaT,EAAK,OAClBU,IAAQD,MAAe,SAAS,IAAIA,GACpCE,IAAaX,EAAK,OAClBY,IAAQD,MAAe,SAAS,IAAIA;AAC/B,SAAA;AAAA,IACL,QAAAT;AAAA,IACA,QAAAE;AAAA,IACA,YAAAE;AAAA,IACA,YAAAE;AAAA,IACA,OAAAE;AAAA,IACA,OAAAE;AAAA,EAAA;AAEJ;AACO,SAASC,EAAcC,GAAO;AACnC,MAAIZ,IAASY,EAAM,QACjBV,IAASU,EAAM,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AAQD,EAAQ,SAASC,EAAQ;AAAA,IACjE,YAAYD,EAAQ,SAASC,EAAQ,aAAaD,EAAQ,QAAQC,EAAQ,aAAaD,EAAQ;AAAA,IAC/F,YAAYA,EAAQ,QAAQC,EAAQ,aAAaD,EAAQ,SAASC,EAAQ,aAAaD,EAAQ;AAAA,IAC/F,OAAOA,EAAQ,SAASC,EAAQ,QAAQD,EAAQ,QAAQC,EAAQ;AAAA,IAChE,OAAOD,EAAQ,QAAQC,EAAQ,SAASD,EAAQ,SAASC,EAAQ;AAAA,EAAA;AAErE;AACO,SAASC,IAAkB;AAChC,WAASC,IAAO,UAAU,QAAQC,IAAW,IAAI,MAAMD,CAAI,GAAGE,IAAO,GAAGA,IAAOF,GAAME;AAC1E,IAAAD,EAAAC,CAAI,IAAI,UAAUA,CAAI;AAEjC,UAAQD,EAAS,QAAQ;AAAA,IACvB,KAAK;AACG,YAAA,IAAI,MAAM,+DAA+D;AAAA,IACjF,KAAK;AACH,aAAOA,EAAS,CAAC;AAAA,IACnB,KAAK;AACH,aAAOL,EAAiBK,EAAS,CAAC,GAAGA,EAAS,CAAC,CAAC;AAAA,IAClD,SACE;AACM,UAAAJ,IAAUI,EAAS,CAAC,GACtBH,IAAUG,EAAS,CAAC,GACpBE,IAAeF,EAAS,MAAM,CAAC,GAC7Bd,IAASS,EAAiBC,GAASC,CAAO;AACvC,aAAAC,EAAgB,MAAM,QAAQ,CAACZ,CAAM,EAAE,OAAOgB,CAAY,CAAC;AAAA,IACpE;AAAA,EACJ;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es75.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}"],"names":["_possibleConstructorReturn","self","call","_typeof","assertThisInitialized"],"mappings":";;AAEwB,SAAAA,EAA2BC,GAAMC,GAAM;AAC7D,MAAIA,MAASC,EAAQD,CAAI,MAAM,YAAY,OAAOA,KAAS;AAClD,WAAAA;AACT,MAAWA,MAAS;AACZ,UAAA,IAAI,UAAU,0DAA0D;AAEhF,SAAOE,EAAsBH,CAAI;AACnC;","x_google_ignoreList":[0]}
@@ -1,58 +1,9 @@
1
- import { getDefaultExportFromCjs as M } from "./index.es190.js";
2
- import { i as S } from "./index.es195.js";
3
- import { n as j } from "./index.es196.js";
4
- import { t as y } from "./index.es197.js";
5
- var F = S, x = j, I = y, N = "Expected a function", O = Math.max, R = Math.min;
6
- function A(h, t, a) {
7
- var o, m, s, u, i, r, f = 0, b = !1, c = !1, d = !0;
8
- if (typeof h != "function")
9
- throw new TypeError(N);
10
- t = I(t) || 0, F(a) && (b = !!a.leading, c = "maxWait" in a, s = c ? O(I(a.maxWait) || 0, t) : s, d = "trailing" in a ? !!a.trailing : d);
11
- function g(e) {
12
- var n = o, l = m;
13
- return o = m = void 0, f = e, u = h.apply(l, n), u;
14
- }
15
- function _(e) {
16
- return f = e, i = setTimeout(v, t), b ? g(e) : u;
17
- }
18
- function C(e) {
19
- var n = e - r, l = e - f, k = t - n;
20
- return c ? R(k, s - l) : k;
21
- }
22
- function E(e) {
23
- var n = e - r, l = e - f;
24
- return r === void 0 || n >= t || n < 0 || c && l >= s;
25
- }
26
- function v() {
27
- var e = x();
28
- if (E(e))
29
- return p(e);
30
- i = setTimeout(v, C(e));
31
- }
32
- function p(e) {
33
- return i = void 0, d && o ? g(e) : (o = m = void 0, u);
34
- }
35
- function W() {
36
- i !== void 0 && clearTimeout(i), f = 0, o = r = m = i = void 0;
37
- }
38
- function L() {
39
- return i === void 0 ? u : p(x());
40
- }
41
- function T() {
42
- var e = x(), n = E(e);
43
- if (o = arguments, m = this, r = e, n) {
44
- if (i === void 0)
45
- return _(r);
46
- if (c)
47
- return clearTimeout(i), i = setTimeout(v, t), g(r);
48
- }
49
- return i === void 0 && (i = setTimeout(v, t)), u;
50
- }
51
- return T.cancel = W, T.flush = L, T;
1
+ function e(o) {
2
+ return e = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
3
+ return t.__proto__ || Object.getPrototypeOf(t);
4
+ }, e(o);
52
5
  }
53
- var D = A;
54
- const z = /* @__PURE__ */ M(D);
55
6
  export {
56
- z as default
7
+ e as default
57
8
  };
58
9
  //# sourceMappingURL=index.es76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es76.js","sources":["../../../node_modules/lodash/debounce.js"],"sourcesContent":["var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["isObject","require$$0","now","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeS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AAAA,EACjE;AAEA,WAASa,IAAe;AACtB,QAAIJ,IAAOtB;AACP,QAAA+B,EAAaT,CAAI;AACnB,aAAOU,EAAaV,CAAI;AAG1B,IAAAP,IAAU,WAAWW,GAAcC,EAAcL,CAAI,CAAC;AAAA,EACxD;AAEA,WAASU,EAAaV,GAAM;AAK1B,WAJUP,IAAA,QAINK,KAAYT,IACPU,EAAWC,CAAI,KAExBX,IAAWC,IAAW,QACfE;AAAA,EACT;AAEA,WAASmB,IAAS;AAChB,IAAIlB,MAAY,UACd,aAAaA,CAAO,GAELE,IAAA,GACNN,IAAAK,IAAeJ,IAAWG,IAAU;AAAA,EACjD;AAEA,WAASmB,IAAQ;AACf,WAAOnB,MAAY,SAAYD,IAASkB,EAAahC,GAAK;AAAA,EAC5D;AAEA,WAASmC,IAAY;AACnB,QAAIb,IAAOtB,EACP,GAAAoC,IAAaL,EAAaT,CAAI;AAMlC,QAJWX,IAAA,WACAC,IAAA,MACII,IAAAM,GAEXc,GAAY;AACd,UAAIrB,MAAY;AACd,eAAOU,EAAYT,CAAY;AAEjC,UAAIG;AAEF,4BAAaJ,CAAO,GACVA,IAAA,WAAWW,GAAcjB,CAAI,GAChCY,EAAWL,CAAY;AAAA,IAElC;AACA,WAAID,MAAY,WACJA,IAAA,WAAWW,GAAcjB,CAAI,IAElCK;AAAA,EACT;AACA,SAAAqB,EAAU,SAASF,GACnBE,EAAU,QAAQD,GACXC;AACT;AAEA,IAAAE,IAAiB9B;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es76.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"],"sourcesContent":["export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}"],"names":["_getPrototypeOf","o"],"mappings":"AAAA,SAAwBA,EAAgB,GAAG;AACvB,SAAAA,IAAA,OAAO,iBAAiB,OAAO,eAAe,KAAS,IAAA,SAAyBC,GAAG;AACnG,WAAOA,EAAE,aAAa,OAAO,eAAeA,CAAC;AAAA,EAAA,GAExCD,EAAgB,CAAC;AAC1B;","x_google_ignoreList":[0]}
@@ -1,32 +1,13 @@
1
- import { ResizeObserverController as t } from "./index.es245.js";
2
- import { isElement as o } from "./index.es246.js";
3
- var u = function() {
4
- function r(e) {
5
- if (arguments.length === 0)
6
- throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
7
- if (typeof e != "function")
8
- throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
9
- t.connect(this, e);
10
- }
11
- return r.prototype.observe = function(e, n) {
12
- if (arguments.length === 0)
13
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
14
- if (!o(e))
15
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
16
- t.observe(this, e, n);
17
- }, r.prototype.unobserve = function(e) {
18
- if (arguments.length === 0)
19
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
20
- if (!o(e))
21
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
22
- t.unobserve(this, e);
23
- }, r.prototype.disconnect = function() {
24
- t.disconnect(this);
25
- }, r.toString = function() {
26
- return "function ResizeObserver () { [polyfill code] }";
27
- }, r;
28
- }();
1
+ import i from "./index.es239.js";
2
+ function f(r, e, t) {
3
+ return e = i(e), e in r ? Object.defineProperty(r, e, {
4
+ value: t,
5
+ enumerable: !0,
6
+ configurable: !0,
7
+ writable: !0
8
+ }) : r[e] = t, r;
9
+ }
29
10
  export {
30
- u as ResizeObserver
11
+ f as default
31
12
  };
32
13
  //# sourceMappingURL=index.es77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es77.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserver.js"],"sourcesContent":["import { ResizeObserverController } from './ResizeObserverController';\nimport { isElement } from './utils/element';\nvar ResizeObserver = (function () {\n function ResizeObserver(callback) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n }\n ResizeObserverController.connect(this, callback);\n }\n ResizeObserver.prototype.observe = function (target, options) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.observe(this, target, options);\n };\n ResizeObserver.prototype.unobserve = function (target) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.unobserve(this, target);\n };\n ResizeObserver.prototype.disconnect = function () {\n ResizeObserverController.disconnect(this);\n };\n ResizeObserver.toString = function () {\n return 'function ResizeObserver () { [polyfill code] }';\n };\n return ResizeObserver;\n}());\nexport { ResizeObserver };\n"],"names":["ResizeObserver","callback","ResizeObserverController","target","options","isElement"],"mappings":";;AAEA,IAAIA,IAAkB,WAAY;AAC9B,WAASA,EAAeC,GAAU;AAC1B,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,gFAAgF;AAEpG,QAAA,OAAOA,KAAa;AACd,YAAA,IAAI,UAAU,+FAA+F;AAE9F,IAAAC,EAAA,QAAQ,MAAMD,CAAQ;AAAA,EACnD;AACAD,SAAAA,EAAe,UAAU,UAAU,SAAUG,GAAQC,GAAS;AACtD,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,2FAA2F;AAE/G,QAAA,CAACC,EAAUF,CAAM;AACX,YAAA,IAAI,UAAU,sFAAsF;AAErF,IAAAD,EAAA,QAAQ,MAAMC,GAAQC,CAAO;AAAA,EAAA,GAE1DJ,EAAe,UAAU,YAAY,SAAUG,GAAQ;AAC/C,QAAA,UAAU,WAAW;AACf,YAAA,IAAI,UAAU,6FAA6F;AAEjH,QAAA,CAACE,EAAUF,CAAM;AACX,YAAA,IAAI,UAAU,wFAAwF;AAEvF,IAAAD,EAAA,UAAU,MAAMC,CAAM;AAAA,EAAA,GAEnDH,EAAe,UAAU,aAAa,WAAY;AAC9C,IAAAE,EAAyB,WAAW,IAAI;AAAA,EAAA,GAE5CF,EAAe,WAAW,WAAY;AAC3B,WAAA;AAAA,EAAA,GAEJA;AACX,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es77.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}"],"names":["_defineProperty","obj","key","value","toPropertyKey"],"mappings":";AACwB,SAAAA,EAAgBC,GAAKC,GAAKC,GAAO;AACvD,SAAAD,IAAME,EAAcF,CAAG,GACnBA,KAAOD,IACF,OAAA,eAAeA,GAAKC,GAAK;AAAA,IAC9B,OAAAC;AAAA,IACA,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,UAAU;AAAA,EAAA,CACX,IAEDF,EAAIC,CAAG,IAAIC,GAENF;AACT;","x_google_ignoreList":[0]}
@@ -1,43 +1,11 @@
1
- import { ResizeObserverBoxOptions as z } from "./index.es271.js";
2
- import { ResizeObserverSize as X } from "./index.es249.js";
3
- import { DOMRectReadOnly as P } from "./index.es272.js";
4
- import { isHidden as A, isSVG as I } from "./index.es246.js";
5
- import { freeze as O } from "./index.es248.js";
6
- import { global as R } from "./index.es273.js";
7
- var l = /* @__PURE__ */ new WeakMap(), S = /auto|scroll/, G = /^tb|vertical/, N = /msie|trident/i.test(R.navigator && R.navigator.userAgent), i = function(e) {
8
- return parseFloat(e || "0");
9
- }, a = function(e, t, r) {
10
- return e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = !1), new X((r ? t : e) || 0, (r ? e : t) || 0);
11
- }, w = O({
12
- devicePixelContentBoxSize: a(),
13
- borderBoxSize: a(),
14
- contentBoxSize: a(),
15
- contentRect: new P(0, 0, 0, 0)
16
- }), F = function(e, t) {
17
- if (t === void 0 && (t = !1), l.has(e) && !t)
18
- return l.get(e);
19
- if (A(e))
20
- return l.set(e, w), w;
21
- var r = getComputedStyle(e), o = I(e) && e.ownerSVGElement && e.getBBox(), d = !N && r.boxSizing === "border-box", n = G.test(r.writingMode || ""), s = !o && S.test(r.overflowY || ""), W = !o && S.test(r.overflowX || ""), B = o ? 0 : i(r.paddingTop), T = o ? 0 : i(r.paddingRight), C = o ? 0 : i(r.paddingBottom), f = o ? 0 : i(r.paddingLeft), E = o ? 0 : i(r.borderTopWidth), H = o ? 0 : i(r.borderRightWidth), L = o ? 0 : i(r.borderBottomWidth), M = o ? 0 : i(r.borderLeftWidth), p = f + T, g = B + C, h = M + H, x = E + L, b = W ? e.offsetHeight - x - e.clientHeight : 0, m = s ? e.offsetWidth - h - e.clientWidth : 0, _ = d ? p + h : 0, y = d ? g + x : 0, v = o ? o.width : i(r.width) - _ - m, c = o ? o.height : i(r.height) - y - b, D = v + p + m + h, V = c + g + b + x, u = O({
22
- devicePixelContentBoxSize: a(Math.round(v * devicePixelRatio), Math.round(c * devicePixelRatio), n),
23
- borderBoxSize: a(D, V, n),
24
- contentBoxSize: a(v, c, n),
25
- contentRect: new P(f, B, v, c)
26
- });
27
- return l.set(e, u), u;
28
- }, Q = function(e, t, r) {
29
- var o = F(e, r), d = o.borderBoxSize, n = o.contentBoxSize, s = o.devicePixelContentBoxSize;
30
- switch (t) {
31
- case z.DEVICE_PIXEL_CONTENT_BOX:
32
- return s;
33
- case z.BORDER_BOX:
34
- return d;
35
- default:
36
- return n;
37
- }
38
- };
1
+ import o from "./index.es241.js";
2
+ import t from "./index.es242.js";
3
+ import e from "./index.es243.js";
4
+ import a from "./index.es244.js";
5
+ function n(r) {
6
+ return o(r) || t(r) || e(r) || a();
7
+ }
39
8
  export {
40
- Q as calculateBoxSize,
41
- F as calculateBoxSizes
9
+ n as default
42
10
  };
43
11
  //# sourceMappingURL=index.es78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es78.js","sources":["../../../node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js"],"sourcesContent":["import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';\nimport { ResizeObserverSize } from '../ResizeObserverSize';\nimport { DOMRectReadOnly } from '../DOMRectReadOnly';\nimport { isSVG, isHidden } from '../utils/element';\nimport { freeze } from '../utils/freeze';\nimport { global } from '../utils/global';\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = (/msie|trident/i).test(global.navigator && global.navigator.userAgent);\nvar parseDimension = function (pixel) { return parseFloat(pixel || '0'); };\nvar size = function (inlineSize, blockSize, switchSizes) {\n if (inlineSize === void 0) { inlineSize = 0; }\n if (blockSize === void 0) { blockSize = 0; }\n if (switchSizes === void 0) { switchSizes = false; }\n return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\nvar zeroBoxes = freeze({\n devicePixelContentBoxSize: size(),\n borderBoxSize: size(),\n contentBoxSize: size(),\n contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\nvar calculateBoxSizes = function (target, forceRecalculation) {\n if (forceRecalculation === void 0) { forceRecalculation = false; }\n if (cache.has(target) && !forceRecalculation) {\n return cache.get(target);\n }\n if (isHidden(target)) {\n cache.set(target, zeroBoxes);\n return zeroBoxes;\n }\n var cs = getComputedStyle(target);\n var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n var removePadding = !IE && cs.boxSizing === 'border-box';\n var switchSizes = verticalRegexp.test(cs.writingMode || '');\n var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n var horizontalPadding = paddingLeft + paddingRight;\n var verticalPadding = paddingTop + paddingBottom;\n var horizontalBorderArea = borderLeft + borderRight;\n var verticalBorderArea = borderTop + borderBottom;\n var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n var boxes = freeze({\n devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n });\n cache.set(target, boxes);\n return boxes;\n};\nvar calculateBoxSize = function (target, observedBox, forceRecalculation) {\n var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n switch (observedBox) {\n case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n return devicePixelContentBoxSize;\n case ResizeObserverBoxOptions.BORDER_BOX:\n return borderBoxSize;\n default:\n return contentBoxSize;\n }\n};\nexport { calculateBoxSize, calculateBoxSizes };\n"],"names":["cache","scrollRegexp","verticalRegexp","IE","global","parseDimension","pixel","size","inlineSize","blockSize","switchSizes","ResizeObserverSize","zeroBoxes","freeze","DOMRectReadOnly","calculateBoxSizes","target","forceRecalculation","isHidden","cs","svg","isSVG","removePadding","canScrollVertically","canScrollHorizontally","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTop","borderRight","borderBottom","borderLeft","horizontalPadding","verticalPadding","horizontalBorderArea","verticalBorderArea","horizontalScrollbarThickness","verticalScrollbarThickness","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","calculateBoxSize","observedBox","_a","borderBoxSize","contentBoxSize","devicePixelContentBoxSize","ResizeObserverBoxOptions"],"mappings":";;;;;;AAMA,IAAIA,wBAAY,WACZC,IAAe,eACfC,IAAiB,gBACjBC,IAAM,gBAAiB,KAAKC,EAAO,aAAaA,EAAO,UAAU,SAAS,GAC1EC,IAAiB,SAAUC,GAAO;AAAS,SAAA,WAAWA,KAAS,GAAG;AAAG,GACrEC,IAAO,SAAUC,GAAYC,GAAWC,GAAa;AACrD,SAAIF,MAAe,WAAuBA,IAAA,IACtCC,MAAc,WAAsBA,IAAA,IACpCC,MAAgB,WAAwBA,IAAA,KACrC,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BP,IAAYE,GACjCM,IAAgCb,IAA4BR,EAAO,eAAeoB,IAAqBpB,EAAO,eAAtD,GACxDsB,IAA8Bf,IAA0BP,EAAO,cAAcmB,IAAuBnB,EAAO,cAAvD,GACpDuB,IAAiBjB,IAAgBW,IAAoBE,IAAuB,GAC5EK,IAAkBlB,IAAgBY,IAAkBE,IAAqB,GACzEK,IAAerB,IAAMA,EAAI,QAAQf,EAAec,EAAG,KAAK,IAAIoB,IAAiBD,GAC7EI,IAAgBtB,IAAMA,EAAI,SAASf,EAAec,EAAG,MAAM,IAAIqB,IAAkBH,GACjFM,IAAiBF,IAAeR,IAAoBK,IAA6BH,GACjFS,IAAkBF,IAAgBR,IAAkBG,IAA+BD,GACnFS,IAAQhC,EAAO;AAAA,IACf,2BAA2BN,EAAK,KAAK,MAAMkC,IAAe,gBAAgB,GAAG,KAAK,MAAMC,IAAgB,gBAAgB,GAAGhC,CAAW;AAAA,IACtI,eAAeH,EAAKoC,GAAgBC,GAAiBlC,CAAW;AAAA,IAChE,gBAAgBH,EAAKkC,GAAcC,GAAehC,CAAW;AAAA,IAC7D,aAAa,IAAII,EAAgBc,GAAaH,GAAYgB,GAAcC,CAAa;AAAA,EAAA,CACxF;AACK,SAAA1C,EAAA,IAAIgB,GAAQ6B,CAAK,GAChBA;AACX,GACIC,IAAmB,SAAU9B,GAAQ+B,GAAa9B,GAAoB;AACtE,MAAI+B,IAAKjC,EAAkBC,GAAQC,CAAkB,GAAGgC,IAAgBD,EAAG,eAAeE,IAAiBF,EAAG,gBAAgBG,IAA4BH,EAAG;AAC7J,UAAQD,GAAa;AAAA,IACjB,KAAKK,EAAyB;AACnB,aAAAD;AAAA,IACX,KAAKC,EAAyB;AACnB,aAAAH;AAAA,IACX;AACW,aAAAC;AAAA,EACf;AACJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es78.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toArray.js"],"sourcesContent":["import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}"],"names":["_toArray","arr","arrayWithHoles","iterableToArray","unsupportedIterableToArray","nonIterableRest"],"mappings":";;;;AAIA,SAAwBA,EAASC,GAAK;AAC7B,SAAAC,EAAeD,CAAG,KAAKE,EAAgBF,CAAG,KAAKG,EAA2BH,CAAG,KAAKI;AAC3F;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as p } from "./index.es190.js";
2
- import { __module as i } from "./index.es198.js";
2
+ import { __module as i } from "./index.es200.js";
3
3
  /*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see
package/dist/index.es8.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { supportsDataView as e } from "./index.es6.js";
2
- import a from "./index.es260.js";
2
+ import a from "./index.es257.js";
3
3
  var p = e && a(new DataView(new ArrayBuffer(8))), i = typeof Map < "u" && a(/* @__PURE__ */ new Map());
4
4
  export {
5
5
  p as hasStringTagBug,
@@ -1,4 +1,4 @@
1
- import e from "./index.es73.js";
1
+ import e from "./index.es62.js";
2
2
  import s from "react";
3
3
  var u = {
4
4
  source: {
@@ -1,4 +1,4 @@
1
- import e from "./index.es73.js";
1
+ import e from "./index.es62.js";
2
2
  import n from "react";
3
3
  function t(i) {
4
4
  var o = i.node, r = o === void 0 ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@performant-software/visualize",
3
- "version": "2.3.1-beta.0",
3
+ "version": "2.3.1",
4
4
  "description": "A package of components used for data visualization",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.cjs.js",