victory-canvas 36.9.2 → 37.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.
- package/CHANGELOG.md +6 -0
- package/dist/victory-canvas.js +1181 -1299
- package/dist/victory-canvas.min.js +1 -1
- package/es/canvas-bar.js +39 -43
- package/es/canvas-curve.js +18 -16
- package/es/canvas-group.js +20 -19
- package/es/canvas-point.js +33 -35
- package/es/hooks/use-canvas-context.js +5 -6
- package/lib/canvas-bar.js +40 -57
- package/lib/canvas-curve.js +19 -27
- package/lib/canvas-group.js +20 -28
- package/lib/canvas-point.js +34 -47
- package/lib/hooks/use-canvas-context.js +5 -13
- package/lib/index.js +0 -9
- package/package.json +3 -3
package/dist/victory-canvas.js
CHANGED
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
exports["VictoryCanvas"] = factory(require("react"));
|
|
8
8
|
else
|
|
9
9
|
root["VictoryCanvas"] = factory(root["React"]);
|
|
10
|
-
})(self, (__WEBPACK_EXTERNAL_MODULE_react__)
|
|
11
|
-
return /******/ (()
|
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE_react__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
14
|
/***/ "./canvas-bar.tsx":
|
|
15
15
|
/*!************************!*\
|
|
16
16
|
!*** ./canvas-bar.tsx ***!
|
|
17
17
|
\************************/
|
|
18
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
18
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19
19
|
|
|
20
20
|
"use strict";
|
|
21
21
|
__webpack_require__.r(__webpack_exports__);
|
|
22
22
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23
|
-
/* harmony export */ "CanvasBar": ()
|
|
23
|
+
/* harmony export */ "CanvasBar": function() { return /* binding */ CanvasBar; }
|
|
24
24
|
/* harmony export */ });
|
|
25
25
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
26
26
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -30,72 +30,70 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
var evaluateProps = function (props) {
|
|
33
|
+
const evaluateProps = props => {
|
|
35
34
|
/**
|
|
36
35
|
* Potential evaluated props of following must be evaluated in this order:
|
|
37
36
|
* 1) `style`
|
|
38
37
|
* 2) `barWidth`
|
|
39
38
|
* 3) `cornerRadius`
|
|
40
39
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
style
|
|
40
|
+
const style = (0,victory_bar__WEBPACK_IMPORTED_MODULE_1__.getStyle)(props.style, props);
|
|
41
|
+
const barWidth = (0,victory_bar__WEBPACK_IMPORTED_MODULE_1__.getBarWidth)(props.barWidth, Object.assign({}, props, {
|
|
42
|
+
style
|
|
44
43
|
}));
|
|
45
|
-
|
|
46
|
-
style
|
|
47
|
-
barWidth
|
|
44
|
+
const cornerRadius = (0,victory_bar__WEBPACK_IMPORTED_MODULE_1__.getCornerRadius)(props.cornerRadius, Object.assign({}, props, {
|
|
45
|
+
style,
|
|
46
|
+
barWidth
|
|
48
47
|
}));
|
|
49
|
-
|
|
50
|
-
style
|
|
51
|
-
barWidth
|
|
52
|
-
cornerRadius
|
|
48
|
+
const modifiedProps = Object.assign({}, props, {
|
|
49
|
+
style,
|
|
50
|
+
barWidth,
|
|
51
|
+
cornerRadius
|
|
53
52
|
});
|
|
54
53
|
return modifiedProps;
|
|
55
54
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(function () {
|
|
55
|
+
const usePreviousValue = value => {
|
|
56
|
+
const ref = react__WEBPACK_IMPORTED_MODULE_0___default().useRef();
|
|
57
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
|
|
60
58
|
ref.current = value;
|
|
61
59
|
});
|
|
62
60
|
return ref.current;
|
|
63
61
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
62
|
+
const CanvasBar = props => {
|
|
63
|
+
const {
|
|
64
|
+
canvasRef
|
|
65
|
+
} = (0,_hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_2__.useCanvasContext)();
|
|
66
|
+
const modifiedProps = evaluateProps(props);
|
|
67
|
+
const {
|
|
68
|
+
polar,
|
|
69
|
+
style,
|
|
70
|
+
barWidth,
|
|
71
|
+
cornerRadius,
|
|
72
|
+
origin
|
|
73
|
+
} = modifiedProps;
|
|
74
|
+
const path2d = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(() => {
|
|
75
|
+
const p = polar ? (0,victory_bar__WEBPACK_IMPORTED_MODULE_3__.getPolarBarPath)(modifiedProps, cornerRadius) : (0,victory_bar__WEBPACK_IMPORTED_MODULE_3__.getBarPath)(modifiedProps, barWidth, cornerRadius);
|
|
77
76
|
return new Path2D(p);
|
|
78
77
|
}, [polar, barWidth, cornerRadius, modifiedProps]);
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
const previousPath = usePreviousValue(path2d);
|
|
79
|
+
const draw = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((ctx, path) => {
|
|
81
80
|
ctx.fillStyle = style.fill;
|
|
82
81
|
ctx.strokeStyle = style.stroke;
|
|
83
82
|
ctx.globalAlpha = style.fillOpacity;
|
|
84
83
|
ctx.lineWidth = style.strokeWidth;
|
|
85
|
-
|
|
86
84
|
if (polar) {
|
|
87
|
-
ctx.translate(
|
|
85
|
+
ctx.translate(origin?.x || 0, origin?.y || 0);
|
|
88
86
|
}
|
|
89
|
-
|
|
90
87
|
ctx.fill(path);
|
|
91
88
|
ctx.setTransform(1, 0, 0, 1, 0, 0);
|
|
92
|
-
}, [style, origin, polar]);
|
|
89
|
+
}, [style, origin, polar]);
|
|
93
90
|
|
|
94
|
-
|
|
91
|
+
// This will clear the previous bar without clearing the entire canvas
|
|
92
|
+
const clearPreviousPath = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(ctx => {
|
|
95
93
|
if (previousPath) {
|
|
96
|
-
ctx.save();
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
ctx.save();
|
|
95
|
+
// This ensures that the entire shape is erased
|
|
96
|
+
const strokeWidth = style.strokeWidth || 0;
|
|
99
97
|
ctx.lineWidth = strokeWidth + 2;
|
|
100
98
|
ctx.globalCompositeOperation = "destination-out";
|
|
101
99
|
draw(ctx, previousPath);
|
|
@@ -103,10 +101,8 @@ var CanvasBar = function (props) {
|
|
|
103
101
|
ctx.restore();
|
|
104
102
|
}
|
|
105
103
|
}, [draw, previousPath, style]);
|
|
106
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
var ctx = (_canvasRef$current = canvasRef.current) === null || _canvasRef$current === void 0 ? void 0 : _canvasRef$current.getContext("2d");
|
|
104
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
|
|
105
|
+
const ctx = canvasRef.current?.getContext("2d");
|
|
110
106
|
if (!ctx) return;
|
|
111
107
|
clearPreviousPath(ctx);
|
|
112
108
|
draw(ctx, path2d);
|
|
@@ -120,12 +116,12 @@ var CanvasBar = function (props) {
|
|
|
120
116
|
/*!**************************!*\
|
|
121
117
|
!*** ./canvas-curve.tsx ***!
|
|
122
118
|
\**************************/
|
|
123
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
119
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
124
120
|
|
|
125
121
|
"use strict";
|
|
126
122
|
__webpack_require__.r(__webpack_exports__);
|
|
127
123
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
128
|
-
/* harmony export */ "CanvasCurve": ()
|
|
124
|
+
/* harmony export */ "CanvasCurve": function() { return /* binding */ CanvasCurve; }
|
|
129
125
|
/* harmony export */ });
|
|
130
126
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
131
127
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -134,27 +130,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
134
130
|
|
|
135
131
|
|
|
136
132
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
133
|
+
const CanvasCurve = props => {
|
|
134
|
+
const {
|
|
135
|
+
canvasRef,
|
|
136
|
+
clear,
|
|
137
|
+
clip
|
|
138
|
+
} = (0,_hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_1__.useCanvasContext)();
|
|
139
|
+
const {
|
|
140
|
+
style,
|
|
141
|
+
data
|
|
142
|
+
} = props;
|
|
143
|
+
const {
|
|
144
|
+
stroke,
|
|
145
|
+
strokeWidth
|
|
146
|
+
} = style;
|
|
147
|
+
const draw = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(ctx => {
|
|
148
|
+
const line = victory_core__WEBPACK_IMPORTED_MODULE_2__.getLineFunction(props);
|
|
149
149
|
ctx.strokeStyle = stroke;
|
|
150
150
|
ctx.lineWidth = strokeWidth;
|
|
151
151
|
line.context(ctx)(data);
|
|
152
152
|
ctx.stroke();
|
|
153
153
|
}, [data, props, stroke, strokeWidth]);
|
|
154
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
var ctx = (_canvasRef$current = canvasRef.current) === null || _canvasRef$current === void 0 ? void 0 : _canvasRef$current.getContext("2d");
|
|
154
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
|
|
155
|
+
const ctx = canvasRef.current?.getContext("2d");
|
|
158
156
|
if (!ctx) return;
|
|
159
157
|
clear(ctx);
|
|
160
158
|
draw(ctx);
|
|
@@ -169,43 +167,44 @@ var CanvasCurve = function (props) {
|
|
|
169
167
|
/*!**************************!*\
|
|
170
168
|
!*** ./canvas-group.tsx ***!
|
|
171
169
|
\**************************/
|
|
172
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
170
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
173
171
|
|
|
174
172
|
"use strict";
|
|
175
173
|
__webpack_require__.r(__webpack_exports__);
|
|
176
174
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
177
|
-
/* harmony export */ "CanvasGroup": ()
|
|
175
|
+
/* harmony export */ "CanvasGroup": function() { return /* binding */ CanvasGroup; }
|
|
178
176
|
/* harmony export */ });
|
|
179
177
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
180
178
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
181
179
|
/* harmony import */ var _hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hooks/use-canvas-context */ "./hooks/use-canvas-context.ts");
|
|
182
180
|
|
|
183
181
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
182
|
+
const CanvasGroup = props => {
|
|
183
|
+
const canvasRef = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(null);
|
|
184
|
+
const {
|
|
185
|
+
children,
|
|
186
|
+
width = 0,
|
|
187
|
+
height = 0,
|
|
188
|
+
clipWidth,
|
|
189
|
+
padding
|
|
190
|
+
} = props;
|
|
191
|
+
const clear = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(ctx => {
|
|
194
192
|
return ctx.clearRect(0, 0, width, height);
|
|
195
|
-
}, [width, height]);
|
|
196
|
-
// shape is drawn
|
|
193
|
+
}, [width, height]);
|
|
197
194
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
195
|
+
// This needs to be called in the child component to ensure it is called after the
|
|
196
|
+
// shape is drawn
|
|
197
|
+
const clip = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(ctx => {
|
|
198
|
+
const paddingRight = typeof padding === "number" ? padding : padding?.right || 0;
|
|
199
|
+
const paddingLeft = typeof padding === "number" ? padding : padding?.left || 0;
|
|
200
|
+
const maxClipWidth = width - paddingRight - paddingLeft;
|
|
202
201
|
ctx.clearRect(width - paddingRight, 0, clipWidth ? (maxClipWidth - clipWidth) * -1 : 0, height);
|
|
203
202
|
}, [width, height, padding, clipWidth]);
|
|
204
203
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_1__.CanvasContext.Provider, {
|
|
205
204
|
value: {
|
|
206
|
-
canvasRef
|
|
207
|
-
clear
|
|
208
|
-
clip
|
|
205
|
+
canvasRef,
|
|
206
|
+
clear,
|
|
207
|
+
clip
|
|
209
208
|
}
|
|
210
209
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("foreignObject", {
|
|
211
210
|
width: width,
|
|
@@ -226,12 +225,12 @@ CanvasGroup.role = "container";
|
|
|
226
225
|
/*!**************************!*\
|
|
227
226
|
!*** ./canvas-point.tsx ***!
|
|
228
227
|
\**************************/
|
|
229
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
228
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
230
229
|
|
|
231
230
|
"use strict";
|
|
232
231
|
__webpack_require__.r(__webpack_exports__);
|
|
233
232
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
234
|
-
/* harmony export */ "CanvasPoint": ()
|
|
233
|
+
/* harmony export */ "CanvasPoint": function() { return /* binding */ CanvasPoint; }
|
|
235
234
|
/* harmony export */ });
|
|
236
235
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
237
236
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -241,18 +240,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
241
240
|
|
|
242
241
|
|
|
243
242
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
243
|
+
const getPath = props => {
|
|
244
|
+
const {
|
|
245
|
+
x,
|
|
246
|
+
y,
|
|
247
|
+
size,
|
|
248
|
+
symbol
|
|
249
|
+
} = props;
|
|
251
250
|
if (props.getPath) {
|
|
252
251
|
return props.getPath(x, y, size);
|
|
253
252
|
}
|
|
254
|
-
|
|
255
|
-
var pathFunctions = {
|
|
253
|
+
const pathFunctions = {
|
|
256
254
|
circle: victory_core__WEBPACK_IMPORTED_MODULE_1__.circle,
|
|
257
255
|
square: victory_core__WEBPACK_IMPORTED_MODULE_1__.square,
|
|
258
256
|
diamond: victory_core__WEBPACK_IMPORTED_MODULE_1__.diamond,
|
|
@@ -263,46 +261,45 @@ var getPath = function (props) {
|
|
|
263
261
|
star: victory_core__WEBPACK_IMPORTED_MODULE_1__.star,
|
|
264
262
|
cross: victory_core__WEBPACK_IMPORTED_MODULE_1__.cross
|
|
265
263
|
};
|
|
266
|
-
|
|
264
|
+
const symbolFunction = typeof pathFunctions[symbol] === "function" ? pathFunctions[symbol] : pathFunctions.circle;
|
|
267
265
|
return symbolFunction(x, y, size);
|
|
268
266
|
};
|
|
269
|
-
|
|
270
|
-
var evaluateProps = function (props) {
|
|
267
|
+
const evaluateProps = props => {
|
|
271
268
|
/**
|
|
272
269
|
* Potential evaluated props are:
|
|
273
270
|
* `size`
|
|
274
271
|
* `style`
|
|
275
272
|
* `symbol`
|
|
276
273
|
*/
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
274
|
+
const size = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.size, props);
|
|
275
|
+
const style = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(props.style, props);
|
|
276
|
+
const symbol = victory_core__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.symbol, props);
|
|
280
277
|
return Object.assign({}, props, {
|
|
281
|
-
size
|
|
282
|
-
style
|
|
283
|
-
symbol
|
|
278
|
+
size,
|
|
279
|
+
style,
|
|
280
|
+
symbol
|
|
284
281
|
});
|
|
285
282
|
};
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
283
|
+
const CanvasPoint = props => {
|
|
284
|
+
const {
|
|
285
|
+
canvasRef
|
|
286
|
+
} = (0,_hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_3__.useCanvasContext)();
|
|
287
|
+
const modifiedProps = evaluateProps(props);
|
|
288
|
+
const draw = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(ctx => {
|
|
289
|
+
const {
|
|
290
|
+
style
|
|
291
|
+
} = modifiedProps;
|
|
292
|
+
const path = getPath(modifiedProps);
|
|
293
|
+
ctx.fillStyle = style.fill;
|
|
294
|
+
// eslint-disable-next-line no-undef
|
|
295
|
+
const path2d = new Path2D(path);
|
|
298
296
|
ctx.fill(path2d);
|
|
299
297
|
}, [modifiedProps]);
|
|
300
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
var ctx = (_canvasRef$current = canvasRef.current) === null || _canvasRef$current === void 0 ? void 0 : _canvasRef$current.getContext("2d");
|
|
298
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
|
|
299
|
+
const ctx = canvasRef.current?.getContext("2d");
|
|
304
300
|
if (!ctx) return;
|
|
305
|
-
draw(ctx);
|
|
301
|
+
draw(ctx);
|
|
302
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
306
303
|
}, []);
|
|
307
304
|
return null;
|
|
308
305
|
};
|
|
@@ -313,25 +310,24 @@ var CanvasPoint = function (props) {
|
|
|
313
310
|
/*!*************************************!*\
|
|
314
311
|
!*** ./hooks/use-canvas-context.ts ***!
|
|
315
312
|
\*************************************/
|
|
316
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
313
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
317
314
|
|
|
318
315
|
"use strict";
|
|
319
316
|
__webpack_require__.r(__webpack_exports__);
|
|
320
317
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321
|
-
/* harmony export */ "CanvasContext": ()
|
|
322
|
-
/* harmony export */ "useCanvasContext": ()
|
|
318
|
+
/* harmony export */ "CanvasContext": function() { return /* binding */ CanvasContext; },
|
|
319
|
+
/* harmony export */ "useCanvasContext": function() { return /* binding */ useCanvasContext; }
|
|
323
320
|
/* harmony export */ });
|
|
324
321
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
325
322
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
326
323
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
324
|
+
const CanvasContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext(undefined);
|
|
325
|
+
const useCanvasContext = () => {
|
|
326
|
+
const context = react__WEBPACK_IMPORTED_MODULE_0___default().useContext(CanvasContext);
|
|
331
327
|
if (!context) {
|
|
332
|
-
throw new Error(
|
|
328
|
+
throw new Error(`This component must be wrapped in a CanvasContext.Provider component.
|
|
329
|
+
Try setting groupComponent={<CanvasGroup />} in your chart component.`);
|
|
333
330
|
}
|
|
334
|
-
|
|
335
331
|
return context;
|
|
336
332
|
};
|
|
337
333
|
|
|
@@ -341,7 +337,7 @@ var useCanvasContext = function () {
|
|
|
341
337
|
/*!*********************************************************************************!*\
|
|
342
338
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js ***!
|
|
343
339
|
\*********************************************************************************/
|
|
344
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
340
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
345
341
|
|
|
346
342
|
var root = __webpack_require__(/*! ./_root */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js");
|
|
347
343
|
|
|
@@ -357,7 +353,7 @@ module.exports = Symbol;
|
|
|
357
353
|
/*!********************************************************************************!*\
|
|
358
354
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js ***!
|
|
359
355
|
\********************************************************************************/
|
|
360
|
-
/***/ ((module)
|
|
356
|
+
/***/ (function(module) {
|
|
361
357
|
|
|
362
358
|
/**
|
|
363
359
|
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
@@ -388,7 +384,7 @@ module.exports = apply;
|
|
|
388
384
|
/*!***********************************************************************************!*\
|
|
389
385
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js ***!
|
|
390
386
|
\***********************************************************************************/
|
|
391
|
-
/***/ ((module)
|
|
387
|
+
/***/ (function(module) {
|
|
392
388
|
|
|
393
389
|
/**
|
|
394
390
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -419,7 +415,7 @@ module.exports = arrayMap;
|
|
|
419
415
|
/*!************************************************************************************!*\
|
|
420
416
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js ***!
|
|
421
417
|
\************************************************************************************/
|
|
422
|
-
/***/ ((module)
|
|
418
|
+
/***/ (function(module) {
|
|
423
419
|
|
|
424
420
|
/**
|
|
425
421
|
* Appends the elements of `values` to `array`.
|
|
@@ -449,7 +445,7 @@ module.exports = arrayPush;
|
|
|
449
445
|
/*!**************************************************************************************!*\
|
|
450
446
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js ***!
|
|
451
447
|
\**************************************************************************************/
|
|
452
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
448
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
453
449
|
|
|
454
450
|
var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js"),
|
|
455
451
|
eq = __webpack_require__(/*! ./eq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js");
|
|
@@ -487,7 +483,7 @@ module.exports = assignValue;
|
|
|
487
483
|
/*!******************************************************************************************!*\
|
|
488
484
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js ***!
|
|
489
485
|
\******************************************************************************************/
|
|
490
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
486
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
491
487
|
|
|
492
488
|
var defineProperty = __webpack_require__(/*! ./_defineProperty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js");
|
|
493
489
|
|
|
@@ -522,7 +518,7 @@ module.exports = baseAssignValue;
|
|
|
522
518
|
/*!**************************************************************************************!*\
|
|
523
519
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js ***!
|
|
524
520
|
\**************************************************************************************/
|
|
525
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
521
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
526
522
|
|
|
527
523
|
var arrayPush = __webpack_require__(/*! ./_arrayPush */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js"),
|
|
528
524
|
isFlattenable = __webpack_require__(/*! ./_isFlattenable */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js");
|
|
@@ -570,7 +566,7 @@ module.exports = baseFlatten;
|
|
|
570
566
|
/*!**********************************************************************************!*\
|
|
571
567
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js ***!
|
|
572
568
|
\**********************************************************************************/
|
|
573
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
569
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
574
570
|
|
|
575
571
|
var castPath = __webpack_require__(/*! ./_castPath */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js"),
|
|
576
572
|
toKey = __webpack_require__(/*! ./_toKey */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js");
|
|
@@ -604,7 +600,7 @@ module.exports = baseGet;
|
|
|
604
600
|
/*!*************************************************************************************!*\
|
|
605
601
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js ***!
|
|
606
602
|
\*************************************************************************************/
|
|
607
|
-
/***/ ((module)
|
|
603
|
+
/***/ (function(module) {
|
|
608
604
|
|
|
609
605
|
/** Used for built-in method references. */
|
|
610
606
|
var objectProto = Object.prototype;
|
|
@@ -636,7 +632,7 @@ module.exports = objectToString;
|
|
|
636
632
|
/*!************************************************************************************!*\
|
|
637
633
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js ***!
|
|
638
634
|
\************************************************************************************/
|
|
639
|
-
/***/ ((module)
|
|
635
|
+
/***/ (function(module) {
|
|
640
636
|
|
|
641
637
|
/**
|
|
642
638
|
* The base implementation of `_.hasIn` without support for deep paths.
|
|
@@ -659,7 +655,7 @@ module.exports = baseHasIn;
|
|
|
659
655
|
/*!***********************************************************************************!*\
|
|
660
656
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePick.js ***!
|
|
661
657
|
\***********************************************************************************/
|
|
662
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
658
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
663
659
|
|
|
664
660
|
var basePickBy = __webpack_require__(/*! ./_basePickBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePickBy.js"),
|
|
665
661
|
hasIn = __webpack_require__(/*! ./hasIn */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js");
|
|
@@ -688,7 +684,7 @@ module.exports = basePick;
|
|
|
688
684
|
/*!*************************************************************************************!*\
|
|
689
685
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePickBy.js ***!
|
|
690
686
|
\*************************************************************************************/
|
|
691
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
687
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
692
688
|
|
|
693
689
|
var baseGet = __webpack_require__(/*! ./_baseGet */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"),
|
|
694
690
|
baseSet = __webpack_require__(/*! ./_baseSet */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSet.js"),
|
|
@@ -728,7 +724,7 @@ module.exports = basePickBy;
|
|
|
728
724
|
/*!***************************************************************************************!*\
|
|
729
725
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js ***!
|
|
730
726
|
\***************************************************************************************/
|
|
731
|
-
/***/ ((module)
|
|
727
|
+
/***/ (function(module) {
|
|
732
728
|
|
|
733
729
|
/**
|
|
734
730
|
* The base implementation of `_.property` without support for deep paths.
|
|
@@ -752,7 +748,7 @@ module.exports = baseProperty;
|
|
|
752
748
|
/*!*******************************************************************************************!*\
|
|
753
749
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js ***!
|
|
754
750
|
\*******************************************************************************************/
|
|
755
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
751
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
756
752
|
|
|
757
753
|
var baseGet = __webpack_require__(/*! ./_baseGet */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js");
|
|
758
754
|
|
|
@@ -778,7 +774,7 @@ module.exports = basePropertyDeep;
|
|
|
778
774
|
/*!***********************************************************************************!*\
|
|
779
775
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js ***!
|
|
780
776
|
\***********************************************************************************/
|
|
781
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
777
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
782
778
|
|
|
783
779
|
var identity = __webpack_require__(/*! ./identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js"),
|
|
784
780
|
overRest = __webpack_require__(/*! ./_overRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js"),
|
|
@@ -805,7 +801,7 @@ module.exports = baseRest;
|
|
|
805
801
|
/*!**********************************************************************************!*\
|
|
806
802
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSet.js ***!
|
|
807
803
|
\**********************************************************************************/
|
|
808
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
804
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
809
805
|
|
|
810
806
|
var assignValue = __webpack_require__(/*! ./_assignValue */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js"),
|
|
811
807
|
castPath = __webpack_require__(/*! ./_castPath */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js"),
|
|
@@ -866,7 +862,7 @@ module.exports = baseSet;
|
|
|
866
862
|
/*!***************************************************************************************!*\
|
|
867
863
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js ***!
|
|
868
864
|
\***************************************************************************************/
|
|
869
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
865
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
870
866
|
|
|
871
867
|
var Symbol = __webpack_require__(/*! ./_Symbol */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"),
|
|
872
868
|
arrayMap = __webpack_require__(/*! ./_arrayMap */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js"),
|
|
@@ -913,7 +909,7 @@ module.exports = baseToString;
|
|
|
913
909
|
/*!***********************************************************************************!*\
|
|
914
910
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js ***!
|
|
915
911
|
\***********************************************************************************/
|
|
916
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
912
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
917
913
|
|
|
918
914
|
var isArray = __webpack_require__(/*! ./isArray */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js"),
|
|
919
915
|
isKey = __webpack_require__(/*! ./_isKey */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js"),
|
|
@@ -944,7 +940,7 @@ module.exports = castPath;
|
|
|
944
940
|
/*!*****************************************************************************************!*\
|
|
945
941
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js ***!
|
|
946
942
|
\*****************************************************************************************/
|
|
947
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
943
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
948
944
|
|
|
949
945
|
var getNative = __webpack_require__(/*! ./_getNative */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js");
|
|
950
946
|
|
|
@@ -965,7 +961,7 @@ module.exports = defineProperty;
|
|
|
965
961
|
/*!***********************************************************************************!*\
|
|
966
962
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_flatRest.js ***!
|
|
967
963
|
\***********************************************************************************/
|
|
968
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
964
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
969
965
|
|
|
970
966
|
var flatten = __webpack_require__(/*! ./flatten */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js"),
|
|
971
967
|
overRest = __webpack_require__(/*! ./_overRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js"),
|
|
@@ -991,7 +987,7 @@ module.exports = flatRest;
|
|
|
991
987
|
/*!*************************************************************************************!*\
|
|
992
988
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js ***!
|
|
993
989
|
\*************************************************************************************/
|
|
994
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
990
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
995
991
|
|
|
996
992
|
/** Detect free variable `global` from Node.js. */
|
|
997
993
|
var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
|
|
@@ -1005,7 +1001,7 @@ module.exports = freeGlobal;
|
|
|
1005
1001
|
/*!************************************************************************************!*\
|
|
1006
1002
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js ***!
|
|
1007
1003
|
\************************************************************************************/
|
|
1008
|
-
/***/ ((module)
|
|
1004
|
+
/***/ (function(module) {
|
|
1009
1005
|
|
|
1010
1006
|
/**
|
|
1011
1007
|
* Gets the value at `key` of `object`.
|
|
@@ -1028,7 +1024,7 @@ module.exports = getValue;
|
|
|
1028
1024
|
/*!***************************************************************************************!*\
|
|
1029
1025
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js ***!
|
|
1030
1026
|
\***************************************************************************************/
|
|
1031
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1027
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1032
1028
|
|
|
1033
1029
|
var overArg = __webpack_require__(/*! ./_overArg */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js");
|
|
1034
1030
|
|
|
@@ -1044,7 +1040,7 @@ module.exports = getPrototype;
|
|
|
1044
1040
|
/*!**********************************************************************************!*\
|
|
1045
1041
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js ***!
|
|
1046
1042
|
\**********************************************************************************/
|
|
1047
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1043
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1048
1044
|
|
|
1049
1045
|
var castPath = __webpack_require__(/*! ./_castPath */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js"),
|
|
1050
1046
|
isArguments = __webpack_require__(/*! ./isArguments */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js"),
|
|
@@ -1093,7 +1089,7 @@ module.exports = hasPath;
|
|
|
1093
1089
|
/*!****************************************************************************************!*\
|
|
1094
1090
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js ***!
|
|
1095
1091
|
\****************************************************************************************/
|
|
1096
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1092
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1097
1093
|
|
|
1098
1094
|
var Symbol = __webpack_require__(/*! ./_Symbol */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"),
|
|
1099
1095
|
isArguments = __webpack_require__(/*! ./isArguments */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js"),
|
|
@@ -1123,7 +1119,7 @@ module.exports = isFlattenable;
|
|
|
1123
1119
|
/*!**********************************************************************************!*\
|
|
1124
1120
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js ***!
|
|
1125
1121
|
\**********************************************************************************/
|
|
1126
|
-
/***/ ((module)
|
|
1122
|
+
/***/ (function(module) {
|
|
1127
1123
|
|
|
1128
1124
|
/** Used as references for various `Number` constants. */
|
|
1129
1125
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -1158,7 +1154,7 @@ module.exports = isIndex;
|
|
|
1158
1154
|
/*!*****************************************************************************************!*\
|
|
1159
1155
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js ***!
|
|
1160
1156
|
\*****************************************************************************************/
|
|
1161
|
-
/***/ ((module)
|
|
1157
|
+
/***/ (function(module) {
|
|
1162
1158
|
|
|
1163
1159
|
/**
|
|
1164
1160
|
* This method returns `false`.
|
|
@@ -1186,7 +1182,7 @@ module.exports = stubFalse;
|
|
|
1186
1182
|
/*!********************************************************************************!*\
|
|
1187
1183
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js ***!
|
|
1188
1184
|
\********************************************************************************/
|
|
1189
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1185
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1190
1186
|
|
|
1191
1187
|
var isArray = __webpack_require__(/*! ./isArray */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js"),
|
|
1192
1188
|
isSymbol = __webpack_require__(/*! ./isSymbol */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js");
|
|
@@ -1225,7 +1221,7 @@ module.exports = isKey;
|
|
|
1225
1221
|
/*!****************************************************************************************!*\
|
|
1226
1222
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js ***!
|
|
1227
1223
|
\****************************************************************************************/
|
|
1228
|
-
/***/ ((module)
|
|
1224
|
+
/***/ (function(module) {
|
|
1229
1225
|
|
|
1230
1226
|
/**
|
|
1231
1227
|
* This method returns the first argument it receives.
|
|
@@ -1256,7 +1252,7 @@ module.exports = identity;
|
|
|
1256
1252
|
/*!**********************************************************************************!*\
|
|
1257
1253
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js ***!
|
|
1258
1254
|
\**********************************************************************************/
|
|
1259
|
-
/***/ ((module)
|
|
1255
|
+
/***/ (function(module) {
|
|
1260
1256
|
|
|
1261
1257
|
/**
|
|
1262
1258
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
@@ -1281,7 +1277,7 @@ module.exports = overArg;
|
|
|
1281
1277
|
/*!***********************************************************************************!*\
|
|
1282
1278
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js ***!
|
|
1283
1279
|
\***********************************************************************************/
|
|
1284
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1280
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1285
1281
|
|
|
1286
1282
|
var apply = __webpack_require__(/*! ./_apply */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js");
|
|
1287
1283
|
|
|
@@ -1327,7 +1323,7 @@ module.exports = overRest;
|
|
|
1327
1323
|
/*!*******************************************************************************!*\
|
|
1328
1324
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js ***!
|
|
1329
1325
|
\*******************************************************************************/
|
|
1330
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1326
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1331
1327
|
|
|
1332
1328
|
var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js");
|
|
1333
1329
|
|
|
@@ -1346,7 +1342,7 @@ module.exports = root;
|
|
|
1346
1342
|
/*!**************************************************************************************!*\
|
|
1347
1343
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js ***!
|
|
1348
1344
|
\**************************************************************************************/
|
|
1349
|
-
/***/ ((module)
|
|
1345
|
+
/***/ (function(module) {
|
|
1350
1346
|
|
|
1351
1347
|
/**
|
|
1352
1348
|
* This method returns the first argument it receives.
|
|
@@ -1377,7 +1373,7 @@ module.exports = identity;
|
|
|
1377
1373
|
/*!***************************************************************************************!*\
|
|
1378
1374
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js ***!
|
|
1379
1375
|
\***************************************************************************************/
|
|
1380
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1376
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1381
1377
|
|
|
1382
1378
|
var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js");
|
|
1383
1379
|
|
|
@@ -1414,7 +1410,7 @@ module.exports = stringToPath;
|
|
|
1414
1410
|
/*!********************************************************************************!*\
|
|
1415
1411
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js ***!
|
|
1416
1412
|
\********************************************************************************/
|
|
1417
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1413
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1418
1414
|
|
|
1419
1415
|
var isSymbol = __webpack_require__(/*! ./isSymbol */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js");
|
|
1420
1416
|
|
|
@@ -1445,7 +1441,7 @@ module.exports = toKey;
|
|
|
1445
1441
|
/*!**********************************************************************************!*\
|
|
1446
1442
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js ***!
|
|
1447
1443
|
\**********************************************************************************/
|
|
1448
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1444
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1449
1445
|
|
|
1450
1446
|
var baseRest = __webpack_require__(/*! ./_baseRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js"),
|
|
1451
1447
|
eq = __webpack_require__(/*! ./eq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js"),
|
|
@@ -1519,7 +1515,7 @@ module.exports = defaults;
|
|
|
1519
1515
|
/*!****************************************************************************!*\
|
|
1520
1516
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js ***!
|
|
1521
1517
|
\****************************************************************************/
|
|
1522
|
-
/***/ ((module)
|
|
1518
|
+
/***/ (function(module) {
|
|
1523
1519
|
|
|
1524
1520
|
/**
|
|
1525
1521
|
* Performs a
|
|
@@ -1566,7 +1562,7 @@ module.exports = eq;
|
|
|
1566
1562
|
/*!*********************************************************************************!*\
|
|
1567
1563
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js ***!
|
|
1568
1564
|
\*********************************************************************************/
|
|
1569
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1565
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1570
1566
|
|
|
1571
1567
|
var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js");
|
|
1572
1568
|
|
|
@@ -1598,7 +1594,7 @@ module.exports = flatten;
|
|
|
1598
1594
|
/*!*******************************************************************************!*\
|
|
1599
1595
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js ***!
|
|
1600
1596
|
\*******************************************************************************/
|
|
1601
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1597
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1602
1598
|
|
|
1603
1599
|
var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js"),
|
|
1604
1600
|
hasPath = __webpack_require__(/*! ./_hasPath */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js");
|
|
@@ -1642,7 +1638,7 @@ module.exports = hasIn;
|
|
|
1642
1638
|
/*!**********************************************************************************!*\
|
|
1643
1639
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js ***!
|
|
1644
1640
|
\**********************************************************************************/
|
|
1645
|
-
/***/ ((module)
|
|
1641
|
+
/***/ (function(module) {
|
|
1646
1642
|
|
|
1647
1643
|
/**
|
|
1648
1644
|
* This method returns the first argument it receives.
|
|
@@ -1673,7 +1669,7 @@ module.exports = identity;
|
|
|
1673
1669
|
/*!*************************************************************************************!*\
|
|
1674
1670
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js ***!
|
|
1675
1671
|
\*************************************************************************************/
|
|
1676
|
-
/***/ ((module)
|
|
1672
|
+
/***/ (function(module) {
|
|
1677
1673
|
|
|
1678
1674
|
/**
|
|
1679
1675
|
* This method returns `false`.
|
|
@@ -1701,7 +1697,7 @@ module.exports = stubFalse;
|
|
|
1701
1697
|
/*!*********************************************************************************!*\
|
|
1702
1698
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js ***!
|
|
1703
1699
|
\*********************************************************************************/
|
|
1704
|
-
/***/ ((module)
|
|
1700
|
+
/***/ (function(module) {
|
|
1705
1701
|
|
|
1706
1702
|
/**
|
|
1707
1703
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -1737,7 +1733,7 @@ module.exports = isArray;
|
|
|
1737
1733
|
/*!**********************************************************************************!*\
|
|
1738
1734
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js ***!
|
|
1739
1735
|
\**********************************************************************************/
|
|
1740
|
-
/***/ ((module)
|
|
1736
|
+
/***/ (function(module) {
|
|
1741
1737
|
|
|
1742
1738
|
/** Used as references for various `Number` constants. */
|
|
1743
1739
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -1782,7 +1778,7 @@ module.exports = isLength;
|
|
|
1782
1778
|
/*!**********************************************************************************!*\
|
|
1783
1779
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js ***!
|
|
1784
1780
|
\**********************************************************************************/
|
|
1785
|
-
/***/ ((module)
|
|
1781
|
+
/***/ (function(module) {
|
|
1786
1782
|
|
|
1787
1783
|
/**
|
|
1788
1784
|
* Checks if `value` is the
|
|
@@ -1823,7 +1819,7 @@ module.exports = isObject;
|
|
|
1823
1819
|
/*!**************************************************************************************!*\
|
|
1824
1820
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js ***!
|
|
1825
1821
|
\**************************************************************************************/
|
|
1826
|
-
/***/ ((module)
|
|
1822
|
+
/***/ (function(module) {
|
|
1827
1823
|
|
|
1828
1824
|
/**
|
|
1829
1825
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
@@ -1862,7 +1858,7 @@ module.exports = isObjectLike;
|
|
|
1862
1858
|
/*!***************************************************************************************!*\
|
|
1863
1859
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js ***!
|
|
1864
1860
|
\***************************************************************************************/
|
|
1865
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1861
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1866
1862
|
|
|
1867
1863
|
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"),
|
|
1868
1864
|
getPrototype = __webpack_require__(/*! ./_getPrototype */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js"),
|
|
@@ -1934,7 +1930,7 @@ module.exports = isPlainObject;
|
|
|
1934
1930
|
/*!**********************************************************************************!*\
|
|
1935
1931
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js ***!
|
|
1936
1932
|
\**********************************************************************************/
|
|
1937
|
-
/***/ ((module)
|
|
1933
|
+
/***/ (function(module) {
|
|
1938
1934
|
|
|
1939
1935
|
/**
|
|
1940
1936
|
* This method returns `false`.
|
|
@@ -1962,7 +1958,7 @@ module.exports = stubFalse;
|
|
|
1962
1958
|
/*!********************************************************************************!*\
|
|
1963
1959
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js ***!
|
|
1964
1960
|
\********************************************************************************/
|
|
1965
|
-
/***/ ((module)
|
|
1961
|
+
/***/ (function(module) {
|
|
1966
1962
|
|
|
1967
1963
|
/**
|
|
1968
1964
|
* This function is like
|
|
@@ -1992,7 +1988,7 @@ module.exports = nativeKeysIn;
|
|
|
1992
1988
|
/*!******************************************************************************!*\
|
|
1993
1989
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js ***!
|
|
1994
1990
|
\******************************************************************************/
|
|
1995
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
1991
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1996
1992
|
|
|
1997
1993
|
var basePick = __webpack_require__(/*! ./_basePick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePick.js"),
|
|
1998
1994
|
flatRest = __webpack_require__(/*! ./_flatRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_flatRest.js");
|
|
@@ -2027,7 +2023,7 @@ module.exports = pick;
|
|
|
2027
2023
|
/*!**********************************************************************************!*\
|
|
2028
2024
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js ***!
|
|
2029
2025
|
\**********************************************************************************/
|
|
2030
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
2026
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2031
2027
|
|
|
2032
2028
|
var baseProperty = __webpack_require__(/*! ./_baseProperty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js"),
|
|
2033
2029
|
basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"),
|
|
@@ -2069,7 +2065,7 @@ module.exports = property;
|
|
|
2069
2065
|
/*!**********************************************************************************!*\
|
|
2070
2066
|
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js ***!
|
|
2071
2067
|
\**********************************************************************************/
|
|
2072
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
2068
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2073
2069
|
|
|
2074
2070
|
var baseToString = __webpack_require__(/*! ./_baseToString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js");
|
|
2075
2071
|
|
|
@@ -2107,99 +2103,90 @@ module.exports = toString;
|
|
|
2107
2103
|
/*!**************************************************!*\
|
|
2108
2104
|
!*** ../../victory-bar/es/bar-helper-methods.js ***!
|
|
2109
2105
|
\**************************************************/
|
|
2110
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
2106
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2111
2107
|
|
|
2112
2108
|
"use strict";
|
|
2113
2109
|
__webpack_require__.r(__webpack_exports__);
|
|
2114
2110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2115
|
-
/* harmony export */ "getBarWidth": ()
|
|
2116
|
-
/* harmony export */ "getCornerRadius": ()
|
|
2117
|
-
/* harmony export */ "getStyle": ()
|
|
2111
|
+
/* harmony export */ "getBarWidth": function() { return /* binding */ getBarWidth; },
|
|
2112
|
+
/* harmony export */ "getCornerRadius": function() { return /* binding */ getCornerRadius; },
|
|
2113
|
+
/* harmony export */ "getStyle": function() { return /* binding */ getStyle; }
|
|
2118
2114
|
/* harmony export */ });
|
|
2119
2115
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
|
|
2120
2116
|
/* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
|
|
2121
2117
|
/* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
|
|
2122
2118
|
|
|
2123
2119
|
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2120
|
+
const DEFAULT_BAR_WIDTH = 8;
|
|
2121
|
+
const getBarWidth = (barWidth, props) => {
|
|
2122
|
+
const {
|
|
2123
|
+
scale,
|
|
2124
|
+
data,
|
|
2125
|
+
style
|
|
2126
|
+
} = props;
|
|
2130
2127
|
if (barWidth) {
|
|
2131
2128
|
return victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateProp(barWidth, props);
|
|
2132
2129
|
} else if (style.width) {
|
|
2133
2130
|
return style.width;
|
|
2134
2131
|
}
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
var defaultWidth = barRatio * (data.length < 2 ? DEFAULT_BAR_WIDTH : extent / bars);
|
|
2132
|
+
const range = scale.x.range();
|
|
2133
|
+
const extent = Math.abs(range[1] - range[0]);
|
|
2134
|
+
const bars = data.length + 2;
|
|
2135
|
+
const barRatio = props.barRatio || 0.5;
|
|
2136
|
+
const defaultWidth = barRatio * (data.length < 2 ? DEFAULT_BAR_WIDTH : extent / bars);
|
|
2141
2137
|
return Math.max(1, defaultWidth);
|
|
2142
2138
|
};
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
var realCornerRadius = {
|
|
2139
|
+
const getCornerRadiusFromObject = (cornerRadius, props) => {
|
|
2140
|
+
const realCornerRadius = {
|
|
2146
2141
|
topLeft: 0,
|
|
2147
2142
|
topRight: 0,
|
|
2148
2143
|
bottomLeft: 0,
|
|
2149
2144
|
bottomRight: 0
|
|
2150
2145
|
};
|
|
2151
|
-
|
|
2152
|
-
var updateCornerRadius = function (corner, fallback) {
|
|
2146
|
+
const updateCornerRadius = (corner, fallback) => {
|
|
2153
2147
|
if (!victory_core__WEBPACK_IMPORTED_MODULE_1__.isNil(cornerRadius[corner])) {
|
|
2154
2148
|
realCornerRadius[corner] = victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateProp(cornerRadius[corner], props);
|
|
2155
2149
|
} else if (!victory_core__WEBPACK_IMPORTED_MODULE_1__.isNil(cornerRadius[fallback])) {
|
|
2156
2150
|
realCornerRadius[corner] = victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateProp(cornerRadius[fallback], props);
|
|
2157
2151
|
}
|
|
2158
2152
|
};
|
|
2159
|
-
|
|
2160
2153
|
updateCornerRadius("topLeft", "top");
|
|
2161
2154
|
updateCornerRadius("topRight", "top");
|
|
2162
2155
|
updateCornerRadius("bottomLeft", "bottom");
|
|
2163
2156
|
updateCornerRadius("bottomRight", "bottom");
|
|
2164
2157
|
return realCornerRadius;
|
|
2165
2158
|
};
|
|
2166
|
-
|
|
2167
2159
|
function isCornerRadiusObject(cornerRadius) {
|
|
2168
2160
|
return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(cornerRadius);
|
|
2169
2161
|
}
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
var realCornerRadius = {
|
|
2162
|
+
const getCornerRadius = (cornerRadius, props) => {
|
|
2163
|
+
const realCornerRadius = {
|
|
2173
2164
|
topLeft: 0,
|
|
2174
2165
|
topRight: 0,
|
|
2175
2166
|
bottomLeft: 0,
|
|
2176
2167
|
bottomRight: 0
|
|
2177
2168
|
};
|
|
2178
|
-
|
|
2179
2169
|
if (!cornerRadius) {
|
|
2180
2170
|
return realCornerRadius;
|
|
2181
2171
|
}
|
|
2182
|
-
|
|
2183
2172
|
if (isCornerRadiusObject(cornerRadius)) {
|
|
2184
2173
|
return getCornerRadiusFromObject(cornerRadius, props);
|
|
2185
2174
|
}
|
|
2186
|
-
|
|
2187
2175
|
realCornerRadius.topLeft = victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateProp(cornerRadius, props);
|
|
2188
2176
|
realCornerRadius.topRight = victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateProp(cornerRadius, props);
|
|
2189
2177
|
return realCornerRadius;
|
|
2190
2178
|
};
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2179
|
+
const getStyle = function (style, props) {
|
|
2180
|
+
if (style === void 0) {
|
|
2181
|
+
style = {};
|
|
2182
|
+
}
|
|
2195
2183
|
if (props.disableInlineStyles) {
|
|
2196
2184
|
return {};
|
|
2197
2185
|
}
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
var baseStyle = {
|
|
2186
|
+
const stroke = style.fill || "black";
|
|
2187
|
+
const baseStyle = {
|
|
2201
2188
|
fill: "black",
|
|
2202
|
-
stroke
|
|
2189
|
+
stroke
|
|
2203
2190
|
};
|
|
2204
2191
|
return victory_core__WEBPACK_IMPORTED_MODULE_1__.evaluateStyle(Object.assign(baseStyle, style), props);
|
|
2205
2192
|
};
|
|
@@ -2210,122 +2197,115 @@ var getStyle = function () {
|
|
|
2210
2197
|
/*!*******************************************************!*\
|
|
2211
2198
|
!*** ../../victory-bar/es/geometry-helper-methods.js ***!
|
|
2212
2199
|
\*******************************************************/
|
|
2213
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
2200
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2214
2201
|
|
|
2215
2202
|
"use strict";
|
|
2216
2203
|
__webpack_require__.r(__webpack_exports__);
|
|
2217
2204
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2218
|
-
/* harmony export */ "circle": ()
|
|
2219
|
-
/* harmony export */ "point": ()
|
|
2205
|
+
/* harmony export */ "circle": function() { return /* binding */ circle; },
|
|
2206
|
+
/* harmony export */ "point": function() { return /* binding */ point; }
|
|
2220
2207
|
/* harmony export */ });
|
|
2221
2208
|
/**
|
|
2222
2209
|
* A point in the 2d plane
|
|
2223
2210
|
*/
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
throw new Error("Division by 0 error");
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
return point(this.x / n, this.y / n);
|
|
2250
|
-
},
|
|
2251
|
-
equals: function (p1) {
|
|
2252
|
-
return this.x === p1.x && this.y === p1.y;
|
|
2211
|
+
const point = (x, y) => ({
|
|
2212
|
+
x,
|
|
2213
|
+
y,
|
|
2214
|
+
distance(p1) {
|
|
2215
|
+
return Math.sqrt(Math.pow(this.x - p1.x, 2) + Math.pow(this.y - p1.y, 2));
|
|
2216
|
+
},
|
|
2217
|
+
// vector addition in 2d plane
|
|
2218
|
+
add(p1) {
|
|
2219
|
+
return point(this.x + p1.x, this.y + p1.y);
|
|
2220
|
+
},
|
|
2221
|
+
// vector subtraction in 2d
|
|
2222
|
+
// returns p0 - p1
|
|
2223
|
+
subtract(p1) {
|
|
2224
|
+
return point(this.x - p1.x, this.y - p1.y);
|
|
2225
|
+
},
|
|
2226
|
+
// multiply a 2d point by a scalar
|
|
2227
|
+
scalarMult(n) {
|
|
2228
|
+
return point(this.x * n, this.y * n);
|
|
2229
|
+
},
|
|
2230
|
+
scalarDivide(n) {
|
|
2231
|
+
if (n === 0) {
|
|
2232
|
+
throw new Error("Division by 0 error");
|
|
2253
2233
|
}
|
|
2254
|
-
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2234
|
+
return point(this.x / n, this.y / n);
|
|
2235
|
+
},
|
|
2236
|
+
equals(p1) {
|
|
2237
|
+
return this.x === p1.x && this.y === p1.y;
|
|
2238
|
+
}
|
|
2239
|
+
});
|
|
2257
2240
|
/**
|
|
2258
2241
|
* A circle in the 2d plane
|
|
2259
2242
|
*/
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
if (d > r0 + r1) {
|
|
2272
|
-
return false; // separate circles
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
if (d < Math.abs(r0 - r1)) {
|
|
2276
|
-
return false; // one circle contains another
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
return true;
|
|
2280
|
-
},
|
|
2281
|
-
equals: function (circle1) {
|
|
2282
|
-
var P0 = this.center;
|
|
2283
|
-
var P1 = circle1.center;
|
|
2284
|
-
var r0 = this.radius;
|
|
2285
|
-
var r1 = circle1.radius;
|
|
2286
|
-
return r0 === r1 && P0.equals(P1);
|
|
2287
|
-
},
|
|
2288
|
-
// Source: http://paulbourke.net/geometry/circlesphere/
|
|
2289
|
-
// "Intersection of two circles" by Paul Bourke
|
|
2290
|
-
// Left-most point is returned as 0th element of array
|
|
2291
|
-
// Right-most point is returned as 1st elemennt of array
|
|
2292
|
-
intersection: function (circle1) {
|
|
2293
|
-
// eslint-disable-line max-statements
|
|
2294
|
-
var P0 = this.center;
|
|
2295
|
-
var P1 = circle1.center;
|
|
2296
|
-
var r0 = this.radius;
|
|
2297
|
-
var r1 = circle1.radius;
|
|
2298
|
-
var d = P0.distance(P1);
|
|
2299
|
-
|
|
2300
|
-
if (!this.hasIntersection(circle1) || this.equals(circle1)) {
|
|
2301
|
-
return [];
|
|
2302
|
-
}
|
|
2303
|
-
|
|
2304
|
-
var a = (Math.pow(r0, 2) - Math.pow(r1, 2) + Math.pow(d, 2)) / (2 * d);
|
|
2305
|
-
var h = Math.sqrt(Math.pow(r0, 2) - Math.pow(a, 2));
|
|
2306
|
-
var P2 = P0.add(P1.subtract(P0).scalarMult(a).scalarDivide(d));
|
|
2307
|
-
var x0 = P0.x,
|
|
2308
|
-
y0 = P0.y;
|
|
2309
|
-
var x1 = P1.x,
|
|
2310
|
-
y1 = P1.y;
|
|
2311
|
-
var x2 = P2.x,
|
|
2312
|
-
y2 = P2.y;
|
|
2313
|
-
var P3s = [point(x2 - h * (y1 - y0) / d, y2 + h * (x1 - x0) / d), point(x2 + h * (y1 - y0) / d, y2 - h * (x1 - x0) / d)];
|
|
2314
|
-
P3s.sort(function (Point1, Point2) {
|
|
2315
|
-
return Point1.x - Point2.x;
|
|
2316
|
-
});
|
|
2317
|
-
return P3s;
|
|
2318
|
-
},
|
|
2319
|
-
solveX: function (y) {
|
|
2320
|
-
var sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(y - this.center.y, 2));
|
|
2321
|
-
return [this.center.x - sqrt, this.center.x + sqrt];
|
|
2322
|
-
},
|
|
2323
|
-
solveY: function (x) {
|
|
2324
|
-
var sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(x - this.center.x, 2));
|
|
2325
|
-
return [this.center.y - sqrt, this.center.y + sqrt];
|
|
2243
|
+
const circle = (center, radius) => ({
|
|
2244
|
+
center,
|
|
2245
|
+
radius,
|
|
2246
|
+
hasIntersection(circle1) {
|
|
2247
|
+
const P0 = this.center;
|
|
2248
|
+
const P1 = circle1.center;
|
|
2249
|
+
const r0 = this.radius;
|
|
2250
|
+
const r1 = circle1.radius;
|
|
2251
|
+
const d = P0.distance(P1);
|
|
2252
|
+
if (d > r0 + r1) {
|
|
2253
|
+
return false; // separate circles
|
|
2326
2254
|
}
|
|
2327
|
-
|
|
2328
|
-
|
|
2255
|
+
if (d < Math.abs(r0 - r1)) {
|
|
2256
|
+
return false; // one circle contains another
|
|
2257
|
+
}
|
|
2258
|
+
return true;
|
|
2259
|
+
},
|
|
2260
|
+
equals(circle1) {
|
|
2261
|
+
const P0 = this.center;
|
|
2262
|
+
const P1 = circle1.center;
|
|
2263
|
+
const r0 = this.radius;
|
|
2264
|
+
const r1 = circle1.radius;
|
|
2265
|
+
return r0 === r1 && P0.equals(P1);
|
|
2266
|
+
},
|
|
2267
|
+
// Source: http://paulbourke.net/geometry/circlesphere/
|
|
2268
|
+
// "Intersection of two circles" by Paul Bourke
|
|
2269
|
+
// Left-most point is returned as 0th element of array
|
|
2270
|
+
// Right-most point is returned as 1st elemennt of array
|
|
2271
|
+
intersection(circle1) {
|
|
2272
|
+
// eslint-disable-line max-statements
|
|
2273
|
+
const P0 = this.center;
|
|
2274
|
+
const P1 = circle1.center;
|
|
2275
|
+
const r0 = this.radius;
|
|
2276
|
+
const r1 = circle1.radius;
|
|
2277
|
+
const d = P0.distance(P1);
|
|
2278
|
+
if (!this.hasIntersection(circle1) || this.equals(circle1)) {
|
|
2279
|
+
return [];
|
|
2280
|
+
}
|
|
2281
|
+
const a = (Math.pow(r0, 2) - Math.pow(r1, 2) + Math.pow(d, 2)) / (2 * d);
|
|
2282
|
+
const h = Math.sqrt(Math.pow(r0, 2) - Math.pow(a, 2));
|
|
2283
|
+
const P2 = P0.add(P1.subtract(P0).scalarMult(a).scalarDivide(d));
|
|
2284
|
+
const {
|
|
2285
|
+
x: x0,
|
|
2286
|
+
y: y0
|
|
2287
|
+
} = P0;
|
|
2288
|
+
const {
|
|
2289
|
+
x: x1,
|
|
2290
|
+
y: y1
|
|
2291
|
+
} = P1;
|
|
2292
|
+
const {
|
|
2293
|
+
x: x2,
|
|
2294
|
+
y: y2
|
|
2295
|
+
} = P2;
|
|
2296
|
+
const P3s = [point(x2 - h * (y1 - y0) / d, y2 + h * (x1 - x0) / d), point(x2 + h * (y1 - y0) / d, y2 - h * (x1 - x0) / d)];
|
|
2297
|
+
P3s.sort((Point1, Point2) => Point1.x - Point2.x);
|
|
2298
|
+
return P3s;
|
|
2299
|
+
},
|
|
2300
|
+
solveX(y) {
|
|
2301
|
+
const sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(y - this.center.y, 2));
|
|
2302
|
+
return [this.center.x - sqrt, this.center.x + sqrt];
|
|
2303
|
+
},
|
|
2304
|
+
solveY(x) {
|
|
2305
|
+
const sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(x - this.center.x, 2));
|
|
2306
|
+
return [this.center.y - sqrt, this.center.y + sqrt];
|
|
2307
|
+
}
|
|
2308
|
+
});
|
|
2329
2309
|
|
|
2330
2310
|
/***/ }),
|
|
2331
2311
|
|
|
@@ -2333,182 +2313,161 @@ var circle = function (center, radius) {
|
|
|
2333
2313
|
/*!***************************************************!*\
|
|
2334
2314
|
!*** ../../victory-bar/es/path-helper-methods.js ***!
|
|
2335
2315
|
\***************************************************/
|
|
2336
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
2316
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2337
2317
|
|
|
2338
2318
|
"use strict";
|
|
2339
2319
|
__webpack_require__.r(__webpack_exports__);
|
|
2340
2320
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2341
|
-
/* harmony export */ "getBarPath": ()
|
|
2342
|
-
/* harmony export */ "getCustomBarPath": ()
|
|
2343
|
-
/* harmony export */ "getHorizontalBarPath": ()
|
|
2344
|
-
/* harmony export */ "getPolarBarPath": ()
|
|
2345
|
-
/* harmony export */ "getVerticalBarPath": ()
|
|
2346
|
-
/* harmony export */ "getVerticalPolarBarPath": ()
|
|
2321
|
+
/* harmony export */ "getBarPath": function() { return /* binding */ getBarPath; },
|
|
2322
|
+
/* harmony export */ "getCustomBarPath": function() { return /* binding */ getCustomBarPath; },
|
|
2323
|
+
/* harmony export */ "getHorizontalBarPath": function() { return /* binding */ getHorizontalBarPath; },
|
|
2324
|
+
/* harmony export */ "getPolarBarPath": function() { return /* binding */ getPolarBarPath; },
|
|
2325
|
+
/* harmony export */ "getVerticalBarPath": function() { return /* binding */ getVerticalBarPath; },
|
|
2326
|
+
/* harmony export */ "getVerticalPolarBarPath": function() { return /* binding */ getVerticalPolarBarPath; }
|
|
2347
2327
|
/* harmony export */ });
|
|
2348
2328
|
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/es/d3-shape.js");
|
|
2349
2329
|
/* harmony import */ var _geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./geometry-helper-methods */ "../../victory-bar/es/geometry-helper-methods.js");
|
|
2350
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2351
|
-
|
|
2352
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2353
|
-
|
|
2354
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2355
|
-
|
|
2356
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2357
|
-
|
|
2358
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2359
|
-
|
|
2360
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
2361
|
-
|
|
2362
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
2363
|
-
|
|
2364
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
2365
|
-
|
|
2366
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
2367
2330
|
|
|
2368
2331
|
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2332
|
+
const getPosition = (props, width) => {
|
|
2333
|
+
const {
|
|
2334
|
+
x,
|
|
2335
|
+
x0,
|
|
2336
|
+
y,
|
|
2337
|
+
y0,
|
|
2338
|
+
horizontal
|
|
2339
|
+
} = props;
|
|
2340
|
+
const alignment = props.alignment || "middle";
|
|
2341
|
+
const size = alignment === "middle" ? width / 2 : width;
|
|
2342
|
+
const sign = horizontal ? -1 : 1;
|
|
2381
2343
|
if (horizontal) {
|
|
2382
2344
|
return {
|
|
2383
|
-
x0
|
|
2345
|
+
x0,
|
|
2384
2346
|
x1: x,
|
|
2385
2347
|
y0: alignment === "start" ? y : y - sign * size,
|
|
2386
2348
|
y1: alignment === "end" ? y : y + sign * size
|
|
2387
2349
|
};
|
|
2388
2350
|
}
|
|
2389
|
-
|
|
2390
2351
|
return {
|
|
2391
2352
|
x0: alignment === "start" ? x : x - sign * size,
|
|
2392
2353
|
x1: alignment === "end" ? x : x + sign * size,
|
|
2393
|
-
y0
|
|
2354
|
+
y0,
|
|
2394
2355
|
y1: y
|
|
2395
2356
|
};
|
|
2396
2357
|
};
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2358
|
+
const getAngle = (props, index) => {
|
|
2359
|
+
const {
|
|
2360
|
+
data,
|
|
2361
|
+
scale
|
|
2362
|
+
} = props;
|
|
2363
|
+
const x = data[index]._x1 === undefined ? "_x" : "_x1";
|
|
2402
2364
|
return scale.x(data[index][x]);
|
|
2403
2365
|
};
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2366
|
+
const getAngularWidth = (props, width) => {
|
|
2367
|
+
const {
|
|
2368
|
+
scale
|
|
2369
|
+
} = props;
|
|
2370
|
+
const range = scale.y.range();
|
|
2371
|
+
const r = Math.max(...range);
|
|
2372
|
+
const angularRange = Math.abs(scale.x.range()[1] - scale.x.range()[0]);
|
|
2410
2373
|
return width / (2 * Math.PI * r) * angularRange;
|
|
2411
2374
|
};
|
|
2412
|
-
|
|
2413
|
-
var transformAngle = function (angle) {
|
|
2375
|
+
const transformAngle = angle => {
|
|
2414
2376
|
return -1 * angle + Math.PI / 2;
|
|
2415
2377
|
};
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2378
|
+
const getCustomBarPath = (props, width) => {
|
|
2379
|
+
const {
|
|
2380
|
+
getPath
|
|
2381
|
+
} = props;
|
|
2420
2382
|
if (typeof getPath === "function") {
|
|
2421
|
-
|
|
2422
|
-
|
|
2383
|
+
const propsWithCalculatedValues = {
|
|
2384
|
+
...props,
|
|
2385
|
+
...getPosition(props, width)
|
|
2386
|
+
};
|
|
2423
2387
|
return getPath(propsWithCalculatedValues);
|
|
2424
2388
|
}
|
|
2425
2389
|
};
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2390
|
+
const getStartAngle = (props, index) => {
|
|
2391
|
+
const {
|
|
2392
|
+
data,
|
|
2393
|
+
scale,
|
|
2394
|
+
alignment
|
|
2395
|
+
} = props;
|
|
2396
|
+
const currentAngle = getAngle(props, index);
|
|
2397
|
+
const angularRange = Math.abs(scale.x.range()[1] - scale.x.range()[0]);
|
|
2398
|
+
const previousAngle = index === 0 ? getAngle(props, data.length - 1) - Math.PI * 2 : getAngle(props, index - 1);
|
|
2435
2399
|
if (index === 0 && angularRange < 2 * Math.PI) {
|
|
2436
2400
|
return scale.x.range()[0];
|
|
2437
2401
|
} else if (alignment === "start" || alignment === "end") {
|
|
2438
2402
|
return alignment === "start" ? previousAngle : currentAngle;
|
|
2439
2403
|
}
|
|
2440
|
-
|
|
2441
2404
|
return (currentAngle + previousAngle) / 2;
|
|
2442
2405
|
};
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2406
|
+
const getEndAngle = (props, index) => {
|
|
2407
|
+
const {
|
|
2408
|
+
data,
|
|
2409
|
+
scale,
|
|
2410
|
+
alignment
|
|
2411
|
+
} = props;
|
|
2412
|
+
const currentAngle = getAngle(props, index);
|
|
2413
|
+
const angularRange = Math.abs(scale.x.range()[1] - scale.x.range()[0]);
|
|
2414
|
+
const lastAngle = scale.x.range()[1] === 2 * Math.PI ? getAngle(props, 0) + Math.PI * 2 : scale.x.range()[1];
|
|
2415
|
+
const nextAngle = index === data.length - 1 ? getAngle(props, 0) + Math.PI * 2 : getAngle(props, index + 1);
|
|
2453
2416
|
if (index === data.length - 1 && angularRange < 2 * Math.PI) {
|
|
2454
2417
|
return lastAngle;
|
|
2455
2418
|
} else if (alignment === "start" || alignment === "end") {
|
|
2456
2419
|
return alignment === "start" ? currentAngle : nextAngle;
|
|
2457
2420
|
}
|
|
2458
|
-
|
|
2459
2421
|
return (currentAngle + nextAngle) / 2;
|
|
2460
2422
|
};
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
return "".concat(acc).concat(command, " ").concat(coords[i].x, ", ").concat(coords[i].y, " \n");
|
|
2470
|
-
}, "");
|
|
2471
|
-
return "".concat(path, " z");
|
|
2423
|
+
const mapPointsToPath = (coords, cornerRadius, direction) => {
|
|
2424
|
+
const topLeftPath = `${cornerRadius.topLeft} ${cornerRadius.topLeft} ${direction}`;
|
|
2425
|
+
const topRightPath = `${cornerRadius.topRight} ${cornerRadius.topRight} ${direction}`;
|
|
2426
|
+
const bottomLeftPath = `${cornerRadius.bottomLeft} ${cornerRadius.bottomLeft} ${direction}`;
|
|
2427
|
+
const bottomRightPath = `${cornerRadius.bottomRight} ${cornerRadius.bottomRight} ${direction}`;
|
|
2428
|
+
const commands = ["M", `A ${bottomLeftPath},`, "L", `A ${topLeftPath},`, "L", `A ${topRightPath},`, "L", `A ${bottomRightPath},`];
|
|
2429
|
+
const path = commands.reduce((acc, command, i) => `${acc}${command} ${coords[i].x}, ${coords[i].y} \n`, "");
|
|
2430
|
+
return `${path} z`;
|
|
2472
2431
|
};
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2432
|
+
const getVerticalBarPoints = (position, sign, cr) => {
|
|
2433
|
+
const {
|
|
2434
|
+
x0,
|
|
2435
|
+
x1,
|
|
2436
|
+
y0,
|
|
2437
|
+
y1
|
|
2438
|
+
} = position;
|
|
2439
|
+
|
|
2440
|
+
// eslint-disable-next-line max-statements, max-len
|
|
2441
|
+
const getHalfPoints = side => {
|
|
2442
|
+
const isLeft = side === "Left";
|
|
2443
|
+
const signL = isLeft ? 1 : -1;
|
|
2444
|
+
const x = isLeft ? x0 : x1;
|
|
2445
|
+
let bottomPoint = {
|
|
2446
|
+
x: x + signL * cr[`bottom${side}`],
|
|
2486
2447
|
y: y0
|
|
2487
2448
|
};
|
|
2488
|
-
|
|
2489
|
-
x
|
|
2490
|
-
y: y0 - sign * cr[
|
|
2449
|
+
let bottomMiddlePoint = {
|
|
2450
|
+
x,
|
|
2451
|
+
y: y0 - sign * cr[`bottom${side}`]
|
|
2491
2452
|
};
|
|
2492
|
-
|
|
2493
|
-
x
|
|
2494
|
-
y: y1 + sign * cr[
|
|
2453
|
+
let topMiddlePoint = {
|
|
2454
|
+
x,
|
|
2455
|
+
y: y1 + sign * cr[`top${side}`]
|
|
2495
2456
|
};
|
|
2496
|
-
|
|
2497
|
-
x: x + signL * cr[
|
|
2457
|
+
let topPoint = {
|
|
2458
|
+
x: x + signL * cr[`top${side}`],
|
|
2498
2459
|
y: y1
|
|
2499
2460
|
};
|
|
2500
|
-
|
|
2501
|
-
|
|
2461
|
+
const hasIntersection = sign === 1 ? y0 - cr[`bottom${side}`] < y1 + cr[`top${side}`] : y0 + cr[`bottom${side}`] > y1 - cr[`top${side}`];
|
|
2502
2462
|
if (hasIntersection) {
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2463
|
+
const topCenter = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x + signL * cr[`top${side}`], y1 + sign * cr[`top${side}`]);
|
|
2464
|
+
const topCircle = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(topCenter, cr[`top${side}`]);
|
|
2465
|
+
const bottomCenter = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x + signL * cr[`bottom${side}`], y0 - sign * cr[`bottom${side}`]);
|
|
2466
|
+
const bottomCircle = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(bottomCenter, cr[`bottom${side}`]);
|
|
2467
|
+
const circleIntersection = topCircle.intersection(bottomCircle);
|
|
2468
|
+
const hasArcIntersection = circleIntersection.length > 0;
|
|
2510
2469
|
if (hasArcIntersection) {
|
|
2511
|
-
|
|
2470
|
+
const arcIntersection = circleIntersection[isLeft ? 0 : 1];
|
|
2512
2471
|
bottomMiddlePoint = {
|
|
2513
2472
|
x: arcIntersection.x,
|
|
2514
2473
|
y: arcIntersection.y
|
|
@@ -2518,10 +2477,9 @@ var getVerticalBarPoints = function (position, sign, cr) {
|
|
|
2518
2477
|
y: arcIntersection.y
|
|
2519
2478
|
};
|
|
2520
2479
|
} else {
|
|
2521
|
-
|
|
2522
|
-
|
|
2480
|
+
const hasBottomLineTopArcIntersection = cr[`top${side}`] > cr[`bottom${side}`];
|
|
2523
2481
|
if (hasBottomLineTopArcIntersection) {
|
|
2524
|
-
|
|
2482
|
+
const newX = topCircle.solveX(y0)[isLeft ? 0 : 1];
|
|
2525
2483
|
bottomPoint = {
|
|
2526
2484
|
x: newX,
|
|
2527
2485
|
y: y0
|
|
@@ -2535,68 +2493,66 @@ var getVerticalBarPoints = function (position, sign, cr) {
|
|
|
2535
2493
|
y: y0
|
|
2536
2494
|
};
|
|
2537
2495
|
} else {
|
|
2538
|
-
|
|
2496
|
+
const newX = bottomCircle.solveX(y1)[isLeft ? 0 : 1];
|
|
2539
2497
|
bottomMiddlePoint = {
|
|
2540
|
-
x:
|
|
2498
|
+
x: newX,
|
|
2541
2499
|
y: y1
|
|
2542
2500
|
};
|
|
2543
2501
|
topMiddlePoint = {
|
|
2544
|
-
x:
|
|
2502
|
+
x: newX,
|
|
2545
2503
|
y: y1
|
|
2546
2504
|
};
|
|
2547
2505
|
topPoint = {
|
|
2548
|
-
x:
|
|
2506
|
+
x: newX,
|
|
2549
2507
|
y: y1
|
|
2550
2508
|
};
|
|
2551
2509
|
}
|
|
2552
2510
|
}
|
|
2553
2511
|
}
|
|
2554
|
-
|
|
2555
|
-
var points = [bottomPoint, bottomMiddlePoint, topMiddlePoint, topPoint];
|
|
2512
|
+
const points = [bottomPoint, bottomMiddlePoint, topMiddlePoint, topPoint];
|
|
2556
2513
|
return isLeft ? points : points.reverse();
|
|
2557
2514
|
};
|
|
2558
|
-
|
|
2559
2515
|
return getHalfPoints("Left").concat(getHalfPoints("Right"));
|
|
2560
2516
|
};
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2517
|
+
const getHorizontalBarPoints = (position, sign, cr) => {
|
|
2518
|
+
const {
|
|
2519
|
+
y0,
|
|
2520
|
+
y1
|
|
2521
|
+
} = position;
|
|
2522
|
+
const x0 = position.x0 < position.x1 ? position.x0 : position.x1;
|
|
2523
|
+
const x1 = position.x0 < position.x1 ? position.x1 : position.x0;
|
|
2524
|
+
|
|
2525
|
+
// eslint-disable-next-line max-statements, max-len
|
|
2526
|
+
const getHalfPoints = side => {
|
|
2527
|
+
const isTop = side === "top";
|
|
2528
|
+
const signL = isTop ? -1 : 1;
|
|
2529
|
+
const y = isTop ? y1 : y0;
|
|
2530
|
+
let leftPoint = {
|
|
2573
2531
|
x: x0,
|
|
2574
|
-
y: y - signL * cr[
|
|
2532
|
+
y: y - signL * cr[`${side}Left`]
|
|
2575
2533
|
};
|
|
2576
|
-
|
|
2577
|
-
x: x0 + cr[
|
|
2578
|
-
y
|
|
2534
|
+
let leftMiddlePoint = {
|
|
2535
|
+
x: x0 + cr[`${side}Left`],
|
|
2536
|
+
y
|
|
2579
2537
|
};
|
|
2580
|
-
|
|
2581
|
-
x: x1 - cr[
|
|
2582
|
-
y
|
|
2538
|
+
let rightMiddlePoint = {
|
|
2539
|
+
x: x1 - cr[`${side}Right`],
|
|
2540
|
+
y
|
|
2583
2541
|
};
|
|
2584
|
-
|
|
2542
|
+
let rightPoint = {
|
|
2585
2543
|
x: x1,
|
|
2586
|
-
y: y - signL * cr[
|
|
2544
|
+
y: y - signL * cr[`${side}Right`]
|
|
2587
2545
|
};
|
|
2588
|
-
|
|
2589
|
-
|
|
2546
|
+
const hasIntersection = leftMiddlePoint.x > rightMiddlePoint.x;
|
|
2590
2547
|
if (hasIntersection) {
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2548
|
+
const leftCenter = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x0 + cr[`${side}Left`], y - signL * cr[`${side}Left`]);
|
|
2549
|
+
const leftCircle = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(leftCenter, cr[`${side}Left`]);
|
|
2550
|
+
const rightCenter = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x1 - cr[`${side}Right`], y - signL * cr[`${side}Right`]);
|
|
2551
|
+
const rightCircle = (0,_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(rightCenter, cr[`${side}Right`]);
|
|
2552
|
+
const circleIntersection = leftCircle.intersection(rightCircle);
|
|
2553
|
+
const hasArcIntersection = circleIntersection.length > 0;
|
|
2598
2554
|
if (hasArcIntersection) {
|
|
2599
|
-
|
|
2555
|
+
const arcIntersection = circleIntersection[sign > 0 ? 1 : 0];
|
|
2600
2556
|
leftMiddlePoint = {
|
|
2601
2557
|
x: arcIntersection.x,
|
|
2602
2558
|
y: arcIntersection.y
|
|
@@ -2606,10 +2562,9 @@ var getHorizontalBarPoints = function (position, sign, cr) {
|
|
|
2606
2562
|
y: arcIntersection.y
|
|
2607
2563
|
};
|
|
2608
2564
|
} else {
|
|
2609
|
-
|
|
2610
|
-
|
|
2565
|
+
const hasLeftLineRightArcIntersection = cr[`${side}Right`] > cr[`${side}Left`];
|
|
2611
2566
|
if (hasLeftLineRightArcIntersection) {
|
|
2612
|
-
|
|
2567
|
+
const newY = rightCircle.solveY(x0)[isTop ? 0 : 1];
|
|
2613
2568
|
leftPoint = {
|
|
2614
2569
|
x: x0,
|
|
2615
2570
|
y: newY
|
|
@@ -2623,213 +2578,193 @@ var getHorizontalBarPoints = function (position, sign, cr) {
|
|
|
2623
2578
|
y: newY
|
|
2624
2579
|
};
|
|
2625
2580
|
} else {
|
|
2626
|
-
|
|
2581
|
+
const newY = leftCircle.solveY(x1)[isTop ? 0 : 1];
|
|
2627
2582
|
rightPoint = {
|
|
2628
2583
|
x: x1,
|
|
2629
|
-
y:
|
|
2584
|
+
y: newY
|
|
2630
2585
|
};
|
|
2631
2586
|
rightMiddlePoint = {
|
|
2632
2587
|
x: x1,
|
|
2633
|
-
y:
|
|
2588
|
+
y: newY
|
|
2634
2589
|
};
|
|
2635
2590
|
leftMiddlePoint = {
|
|
2636
2591
|
x: x1,
|
|
2637
|
-
y:
|
|
2592
|
+
y: newY
|
|
2638
2593
|
};
|
|
2639
2594
|
}
|
|
2640
2595
|
}
|
|
2641
2596
|
}
|
|
2642
|
-
|
|
2643
2597
|
return [leftPoint, leftMiddlePoint, rightMiddlePoint, rightPoint];
|
|
2644
2598
|
};
|
|
2599
|
+
const topPoints = getHalfPoints("top");
|
|
2600
|
+
const bottomPoints = getHalfPoints("bottom");
|
|
2601
|
+
return [bottomPoints[1], bottomPoints[0], ...topPoints,
|
|
2602
|
+
// eslint-disable-next-line no-magic-numbers
|
|
2603
|
+
bottomPoints[3], bottomPoints[2]];
|
|
2604
|
+
};
|
|
2645
2605
|
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
var getVerticalBarPath = function (props, width, cornerRadius) {
|
|
2654
|
-
var position = getPosition(props, width);
|
|
2655
|
-
var sign = position.y0 > position.y1 ? 1 : -1;
|
|
2656
|
-
var direction = sign > 0 ? "0 0 1" : "0 0 0";
|
|
2657
|
-
var points = getVerticalBarPoints(position, sign, cornerRadius);
|
|
2606
|
+
// eslint-disable-next-line max-params
|
|
2607
|
+
const getVerticalBarPath = (props, width, cornerRadius) => {
|
|
2608
|
+
const position = getPosition(props, width);
|
|
2609
|
+
const sign = position.y0 > position.y1 ? 1 : -1;
|
|
2610
|
+
const direction = sign > 0 ? "0 0 1" : "0 0 0";
|
|
2611
|
+
const points = getVerticalBarPoints(position, sign, cornerRadius);
|
|
2658
2612
|
return mapPointsToPath(points, cornerRadius, direction);
|
|
2659
|
-
};
|
|
2613
|
+
};
|
|
2660
2614
|
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2615
|
+
// eslint-disable-next-line max-params
|
|
2616
|
+
const getHorizontalBarPath = (props, width, cornerRadius) => {
|
|
2617
|
+
const position = getPosition(props, width);
|
|
2618
|
+
const sign = position.x0 < position.x1 ? 1 : -1;
|
|
2619
|
+
const direction = "0 0 1";
|
|
2620
|
+
const cr = {
|
|
2666
2621
|
topRight: sign > 0 ? cornerRadius.topLeft : cornerRadius.bottomLeft,
|
|
2667
2622
|
bottomRight: sign > 0 ? cornerRadius.topRight : cornerRadius.bottomRight,
|
|
2668
2623
|
bottomLeft: sign > 0 ? cornerRadius.bottomRight : cornerRadius.topRight,
|
|
2669
2624
|
topLeft: sign > 0 ? cornerRadius.bottomLeft : cornerRadius.topLeft
|
|
2670
2625
|
};
|
|
2671
|
-
|
|
2626
|
+
const points = getHorizontalBarPoints(position, sign, cr);
|
|
2672
2627
|
return mapPointsToPath(points, cr, direction);
|
|
2673
2628
|
};
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2629
|
+
const getVerticalPolarBarPath = (props, cornerRadius) => {
|
|
2630
|
+
const {
|
|
2631
|
+
datum,
|
|
2632
|
+
scale,
|
|
2633
|
+
index,
|
|
2634
|
+
alignment,
|
|
2635
|
+
style
|
|
2636
|
+
} = props;
|
|
2637
|
+
const r1 = scale.y(datum._y0 || 0);
|
|
2638
|
+
const r2 = scale.y(datum._y1 !== undefined ? datum._y1 : datum._y);
|
|
2639
|
+
const currentAngle = scale.x(datum._x1 !== undefined ? datum._x1 : datum._x);
|
|
2640
|
+
let start;
|
|
2641
|
+
let end;
|
|
2686
2642
|
if (style.width) {
|
|
2687
|
-
|
|
2688
|
-
|
|
2643
|
+
const width = getAngularWidth(props, style.width);
|
|
2644
|
+
const size = alignment === "middle" ? width / 2 : width;
|
|
2689
2645
|
start = alignment === "start" ? currentAngle : currentAngle - size;
|
|
2690
2646
|
end = alignment === "end" ? currentAngle : currentAngle + size;
|
|
2691
2647
|
} else {
|
|
2692
2648
|
start = getStartAngle(props, Number(index));
|
|
2693
2649
|
end = getEndAngle(props, Number(index));
|
|
2694
2650
|
}
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
var pathFunction = victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.arc().innerRadius(r1).outerRadius(r2).startAngle(transformAngle(start)).endAngle(transformAngle(end)).cornerRadius(cornerRadius[edge]);
|
|
2651
|
+
const getPath = edge => {
|
|
2652
|
+
const pathFunction = victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.arc().innerRadius(r1).outerRadius(r2).startAngle(transformAngle(start)).endAngle(transformAngle(end)).cornerRadius(cornerRadius[edge]);
|
|
2698
2653
|
return pathFunction();
|
|
2699
2654
|
};
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
var leftMiddle = leftMoves.indexOf("L");
|
|
2655
|
+
const getPathData = edge => {
|
|
2656
|
+
const rightPath = getPath(`${edge}Right`);
|
|
2657
|
+
const rightMoves = rightPath.match(/[A-Z]/g) || [];
|
|
2658
|
+
const rightCoords = rightPath.split(/[A-Z]/).slice(1);
|
|
2659
|
+
const rightMiddle = rightMoves.indexOf("L");
|
|
2660
|
+
const leftPath = getPath(`${edge}Left`);
|
|
2661
|
+
const leftMoves = leftPath.match(/[A-Z]/g) || [];
|
|
2662
|
+
const leftCoords = leftPath.split(/[A-Z]/).slice(1);
|
|
2663
|
+
const leftMiddle = leftMoves.indexOf("L");
|
|
2710
2664
|
return {
|
|
2711
|
-
rightMoves
|
|
2712
|
-
rightCoords
|
|
2713
|
-
rightMiddle
|
|
2714
|
-
leftMoves
|
|
2715
|
-
leftCoords
|
|
2716
|
-
leftMiddle
|
|
2665
|
+
rightMoves,
|
|
2666
|
+
rightCoords,
|
|
2667
|
+
rightMiddle,
|
|
2668
|
+
leftMoves,
|
|
2669
|
+
leftCoords,
|
|
2670
|
+
leftMiddle
|
|
2717
2671
|
};
|
|
2718
|
-
};
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
var getTopPath = function () {
|
|
2722
|
-
var topRight = cornerRadius.topRight,
|
|
2723
|
-
topLeft = cornerRadius.topLeft;
|
|
2724
|
-
var arcLength = r2 * Math.abs(end - start);
|
|
2725
|
-
|
|
2726
|
-
var _getPathData = getPathData("top"),
|
|
2727
|
-
rightMoves = _getPathData.rightMoves,
|
|
2728
|
-
rightCoords = _getPathData.rightCoords,
|
|
2729
|
-
rightMiddle = _getPathData.rightMiddle,
|
|
2730
|
-
leftMoves = _getPathData.leftMoves,
|
|
2731
|
-
leftCoords = _getPathData.leftCoords,
|
|
2732
|
-
leftMiddle = _getPathData.leftMiddle;
|
|
2733
|
-
|
|
2734
|
-
var moves;
|
|
2735
|
-
var coords;
|
|
2672
|
+
};
|
|
2736
2673
|
|
|
2674
|
+
// eslint-disable-next-line max-statements
|
|
2675
|
+
const getTopPath = () => {
|
|
2676
|
+
const {
|
|
2677
|
+
topRight,
|
|
2678
|
+
topLeft
|
|
2679
|
+
} = cornerRadius;
|
|
2680
|
+
const arcLength = r2 * Math.abs(end - start);
|
|
2681
|
+
const {
|
|
2682
|
+
rightMoves,
|
|
2683
|
+
rightCoords,
|
|
2684
|
+
rightMiddle,
|
|
2685
|
+
leftMoves,
|
|
2686
|
+
leftCoords,
|
|
2687
|
+
leftMiddle
|
|
2688
|
+
} = getPathData("top");
|
|
2689
|
+
let moves;
|
|
2690
|
+
let coords;
|
|
2737
2691
|
if (topRight === topLeft || arcLength < 2 * topRight + 2 * topLeft) {
|
|
2738
2692
|
moves = topRight > topLeft ? rightMoves : leftMoves;
|
|
2739
2693
|
coords = topRight > topLeft ? rightCoords : leftCoords;
|
|
2740
2694
|
} else {
|
|
2741
2695
|
// eslint-disable-next-line no-magic-numbers
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
var rightOffset = topLeft > topRight && isShort(rightMiddle) ? 1 : 2;
|
|
2747
|
-
var leftOffset;
|
|
2748
|
-
|
|
2696
|
+
const isShort = middle => middle < 3;
|
|
2697
|
+
const rightOffset = topLeft > topRight && isShort(rightMiddle) ? 1 : 2;
|
|
2698
|
+
let leftOffset;
|
|
2749
2699
|
if (topRight > topLeft) {
|
|
2750
|
-
|
|
2700
|
+
const defaultOffset = isShort(rightMiddle) ? leftMiddle : leftMiddle - 2;
|
|
2751
2701
|
leftOffset = isShort(leftMiddle) ? leftMiddle - 1 : defaultOffset;
|
|
2752
2702
|
} else {
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
leftOffset = isShort(rightMiddle) ? _defaultOffset : leftMiddle - 2;
|
|
2703
|
+
const defaultOffset = isShort(leftMiddle) ? 1 : 2;
|
|
2704
|
+
leftOffset = isShort(rightMiddle) ? defaultOffset : leftMiddle - 2;
|
|
2756
2705
|
}
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
coords = [].concat(_toConsumableArray(rightCoords.slice(0, rightOffset)), _toConsumableArray(leftCoords.slice(leftOffset)));
|
|
2706
|
+
moves = [...rightMoves.slice(0, rightOffset), ...leftMoves.slice(leftOffset)];
|
|
2707
|
+
coords = [...rightCoords.slice(0, rightOffset), ...leftCoords.slice(leftOffset)];
|
|
2760
2708
|
}
|
|
2709
|
+
const middle = moves.indexOf("L");
|
|
2710
|
+
const subMoves = moves.slice(0, middle);
|
|
2711
|
+
const subCoords = coords.slice(0, middle);
|
|
2712
|
+
return subMoves.map((m, i) => ({
|
|
2713
|
+
command: m,
|
|
2714
|
+
coords: subCoords[i].split(",")
|
|
2715
|
+
}));
|
|
2716
|
+
};
|
|
2761
2717
|
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
var _getPathData2 = getPathData("bottom"),
|
|
2780
|
-
rightMoves = _getPathData2.rightMoves,
|
|
2781
|
-
rightCoords = _getPathData2.rightCoords,
|
|
2782
|
-
rightMiddle = _getPathData2.rightMiddle,
|
|
2783
|
-
leftMoves = _getPathData2.leftMoves,
|
|
2784
|
-
leftCoords = _getPathData2.leftCoords,
|
|
2785
|
-
leftMiddle = _getPathData2.leftMiddle;
|
|
2786
|
-
|
|
2787
|
-
var moves;
|
|
2788
|
-
var coords;
|
|
2789
|
-
|
|
2718
|
+
// eslint-disable-next-line max-statements
|
|
2719
|
+
const getBottomPath = () => {
|
|
2720
|
+
const {
|
|
2721
|
+
bottomRight,
|
|
2722
|
+
bottomLeft
|
|
2723
|
+
} = cornerRadius;
|
|
2724
|
+
const arcLength = r1 * Math.abs(end - start);
|
|
2725
|
+
const {
|
|
2726
|
+
rightMoves,
|
|
2727
|
+
rightCoords,
|
|
2728
|
+
rightMiddle,
|
|
2729
|
+
leftMoves,
|
|
2730
|
+
leftCoords,
|
|
2731
|
+
leftMiddle
|
|
2732
|
+
} = getPathData("bottom");
|
|
2733
|
+
let moves;
|
|
2734
|
+
let coords;
|
|
2790
2735
|
if (bottomRight === bottomLeft || arcLength < 2 * bottomRight + 2 * bottomLeft) {
|
|
2791
2736
|
moves = bottomRight > bottomLeft ? rightMoves : leftMoves;
|
|
2792
2737
|
coords = bottomRight > bottomLeft ? rightCoords : leftCoords;
|
|
2793
2738
|
} else {
|
|
2794
2739
|
// eslint-disable-next-line no-magic-numbers
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
var rightOffset = shortPath ? -1 : -3;
|
|
2802
|
-
moves = [].concat(_toConsumableArray(leftMoves.slice(0, leftMiddle + 2)), _toConsumableArray(rightMoves.slice(rightOffset)));
|
|
2803
|
-
coords = [].concat(_toConsumableArray(leftCoords.slice(0, leftMiddle + 2)), _toConsumableArray(rightCoords.slice(rightOffset)));
|
|
2740
|
+
const isShort = (m, middle) => m.length - middle < 4;
|
|
2741
|
+
const shortPath = bottomRight > bottomLeft ? isShort(rightMoves, rightMiddle) : isShort(leftMoves, leftMiddle);
|
|
2742
|
+
// eslint-disable-next-line no-magic-numbers
|
|
2743
|
+
const rightOffset = shortPath ? -1 : -3;
|
|
2744
|
+
moves = [...leftMoves.slice(0, leftMiddle + 2), ...rightMoves.slice(rightOffset)];
|
|
2745
|
+
coords = [...leftCoords.slice(0, leftMiddle + 2), ...rightCoords.slice(rightOffset)];
|
|
2804
2746
|
}
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
coords: subCoords[i].split(",")
|
|
2813
|
-
};
|
|
2814
|
-
});
|
|
2747
|
+
const middle = moves.indexOf("L");
|
|
2748
|
+
const subMoves = moves.slice(middle, -1);
|
|
2749
|
+
const subCoords = coords.slice(middle, -1);
|
|
2750
|
+
return subMoves.map((m, i) => ({
|
|
2751
|
+
command: m,
|
|
2752
|
+
coords: subCoords[i].split(",")
|
|
2753
|
+
}));
|
|
2815
2754
|
};
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
return "".concat(memo).concat(move.command, " ").concat(move.coords.join());
|
|
2822
|
-
}, "");
|
|
2823
|
-
return "".concat(path, " z");
|
|
2755
|
+
const topPath = getTopPath();
|
|
2756
|
+
const bottomPath = getBottomPath();
|
|
2757
|
+
const moves = [...topPath, ...bottomPath];
|
|
2758
|
+
const path = moves.reduce((memo, move) => `${memo}${move.command} ${move.coords.join()}`, "");
|
|
2759
|
+
return `${path} z`;
|
|
2824
2760
|
};
|
|
2825
|
-
|
|
2761
|
+
const getBarPath = (props, width, cornerRadius) => {
|
|
2826
2762
|
if (props.getPath) {
|
|
2827
2763
|
return getCustomBarPath(props, width);
|
|
2828
2764
|
}
|
|
2829
|
-
|
|
2830
2765
|
return props.horizontal ? getHorizontalBarPath(props, width, cornerRadius) : getVerticalBarPath(props, width, cornerRadius);
|
|
2831
2766
|
};
|
|
2832
|
-
|
|
2767
|
+
const getPolarBarPath = (props, cornerRadius) => {
|
|
2833
2768
|
// TODO Radial bars
|
|
2834
2769
|
return getVerticalPolarBarPath(props, cornerRadius);
|
|
2835
2770
|
};
|
|
@@ -2840,35 +2775,35 @@ var getPolarBarPath = function (props, cornerRadius) {
|
|
|
2840
2775
|
/*!*****************************************************!*\
|
|
2841
2776
|
!*** ../../victory-core/es/victory-util/helpers.js ***!
|
|
2842
2777
|
\*****************************************************/
|
|
2843
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
2778
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2844
2779
|
|
|
2845
2780
|
"use strict";
|
|
2846
2781
|
__webpack_require__.r(__webpack_exports__);
|
|
2847
2782
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2848
|
-
/* harmony export */ "createAccessor": ()
|
|
2849
|
-
/* harmony export */ "degreesToRadians": ()
|
|
2850
|
-
/* harmony export */ "evaluateProp": ()
|
|
2851
|
-
/* harmony export */ "evaluateStyle": ()
|
|
2852
|
-
/* harmony export */ "getCurrentAxis": ()
|
|
2853
|
-
/* harmony export */ "getDefaultStyles": ()
|
|
2854
|
-
/* harmony export */ "getPadding": ()
|
|
2855
|
-
/* harmony export */ "getPoint": ()
|
|
2856
|
-
/* harmony export */ "getPolarOrigin": ()
|
|
2857
|
-
/* harmony export */ "getRadius": ()
|
|
2858
|
-
/* harmony export */ "getRange": ()
|
|
2859
|
-
/* harmony export */ "getStyles": ()
|
|
2860
|
-
/* harmony export */ "invert": ()
|
|
2861
|
-
/* harmony export */ "isFunction": ()
|
|
2862
|
-
/* harmony export */ "isHorizontal": ()
|
|
2863
|
-
/* harmony export */ "isNil": ()
|
|
2864
|
-
/* harmony export */ "isTooltip": ()
|
|
2865
|
-
/* harmony export */ "mapValues": ()
|
|
2866
|
-
/* harmony export */ "modifyProps": ()
|
|
2867
|
-
/* harmony export */ "omit": ()
|
|
2868
|
-
/* harmony export */ "radiansToDegrees": ()
|
|
2869
|
-
/* harmony export */ "range": ()
|
|
2870
|
-
/* harmony export */ "reduceChildren": ()
|
|
2871
|
-
/* harmony export */ "scalePoint": ()
|
|
2783
|
+
/* harmony export */ "createAccessor": function() { return /* binding */ createAccessor; },
|
|
2784
|
+
/* harmony export */ "degreesToRadians": function() { return /* binding */ degreesToRadians; },
|
|
2785
|
+
/* harmony export */ "evaluateProp": function() { return /* binding */ evaluateProp; },
|
|
2786
|
+
/* harmony export */ "evaluateStyle": function() { return /* binding */ evaluateStyle; },
|
|
2787
|
+
/* harmony export */ "getCurrentAxis": function() { return /* binding */ getCurrentAxis; },
|
|
2788
|
+
/* harmony export */ "getDefaultStyles": function() { return /* binding */ getDefaultStyles; },
|
|
2789
|
+
/* harmony export */ "getPadding": function() { return /* binding */ getPadding; },
|
|
2790
|
+
/* harmony export */ "getPoint": function() { return /* binding */ getPoint; },
|
|
2791
|
+
/* harmony export */ "getPolarOrigin": function() { return /* binding */ getPolarOrigin; },
|
|
2792
|
+
/* harmony export */ "getRadius": function() { return /* binding */ getRadius; },
|
|
2793
|
+
/* harmony export */ "getRange": function() { return /* binding */ getRange; },
|
|
2794
|
+
/* harmony export */ "getStyles": function() { return /* binding */ getStyles; },
|
|
2795
|
+
/* harmony export */ "invert": function() { return /* binding */ invert; },
|
|
2796
|
+
/* harmony export */ "isFunction": function() { return /* binding */ isFunction; },
|
|
2797
|
+
/* harmony export */ "isHorizontal": function() { return /* binding */ isHorizontal; },
|
|
2798
|
+
/* harmony export */ "isNil": function() { return /* binding */ isNil; },
|
|
2799
|
+
/* harmony export */ "isTooltip": function() { return /* binding */ isTooltip; },
|
|
2800
|
+
/* harmony export */ "mapValues": function() { return /* binding */ mapValues; },
|
|
2801
|
+
/* harmony export */ "modifyProps": function() { return /* binding */ modifyProps; },
|
|
2802
|
+
/* harmony export */ "omit": function() { return /* binding */ omit; },
|
|
2803
|
+
/* harmony export */ "radiansToDegrees": function() { return /* binding */ radiansToDegrees; },
|
|
2804
|
+
/* harmony export */ "range": function() { return /* binding */ range; },
|
|
2805
|
+
/* harmony export */ "reduceChildren": function() { return /* binding */ reduceChildren; },
|
|
2806
|
+
/* harmony export */ "scalePoint": function() { return /* binding */ scalePoint; }
|
|
2872
2807
|
/* harmony export */ });
|
|
2873
2808
|
/* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
|
|
2874
2809
|
/* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -2881,45 +2816,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2881
2816
|
|
|
2882
2817
|
|
|
2883
2818
|
|
|
2884
|
-
|
|
2885
2819
|
/* eslint-disable no-use-before-define */
|
|
2886
2820
|
|
|
2887
|
-
|
|
2888
2821
|
// Private Functions
|
|
2822
|
+
|
|
2889
2823
|
function getCartesianRange(props, axis) {
|
|
2890
2824
|
// determine how to lay the axis and what direction positive and negative are
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2825
|
+
const vertical = axis !== "x";
|
|
2826
|
+
const padding = getPadding(props);
|
|
2894
2827
|
if (vertical) {
|
|
2895
2828
|
return [props.height - padding.bottom, padding.top];
|
|
2896
2829
|
}
|
|
2897
|
-
|
|
2898
2830
|
return [padding.left, props.width - padding.right];
|
|
2899
2831
|
}
|
|
2900
|
-
|
|
2901
2832
|
function getPolarRange(props, axis) {
|
|
2902
2833
|
if (axis === "x") {
|
|
2903
|
-
|
|
2904
|
-
|
|
2834
|
+
const startAngle = degreesToRadians(props.startAngle || 0);
|
|
2835
|
+
const endAngle = degreesToRadians(props.endAngle || 360);
|
|
2905
2836
|
return [startAngle, endAngle];
|
|
2906
2837
|
}
|
|
2907
|
-
|
|
2908
2838
|
return [props.innerRadius || 0, getRadius(props)];
|
|
2909
|
-
}
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
// Exported Functions
|
|
2910
2842
|
|
|
2911
2843
|
/**
|
|
2912
2844
|
* Creates an object composed of the inverted keys and values of object.
|
|
2913
2845
|
* If object contains duplicate values, subsequent values overwrite property assignments of previous values.
|
|
2914
2846
|
*/
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
2847
|
function invert(original) {
|
|
2918
|
-
return Object.entries(original).reduce(
|
|
2848
|
+
return Object.entries(original).reduce((acc, current) => {
|
|
2919
2849
|
acc[current[1]] = current[0];
|
|
2920
2850
|
return acc;
|
|
2921
2851
|
}, {});
|
|
2922
2852
|
}
|
|
2853
|
+
|
|
2923
2854
|
/**
|
|
2924
2855
|
* creates an object with some keys excluded
|
|
2925
2856
|
* replacement for lodash.omit for performance. does not mimic the entire lodash.omit api
|
|
@@ -2927,43 +2858,39 @@ function invert(original) {
|
|
|
2927
2858
|
* @param {Array<String>} ks: an array of keys to omit from the new object
|
|
2928
2859
|
* @returns {Object} new object with same properties as originalObject
|
|
2929
2860
|
*/
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2861
|
+
function omit(originalObject, ks) {
|
|
2862
|
+
if (ks === void 0) {
|
|
2863
|
+
ks = [];
|
|
2864
|
+
}
|
|
2933
2865
|
// code based on babel's _objectWithoutProperties
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
for (var key in originalObject) {
|
|
2866
|
+
const newObject = {};
|
|
2867
|
+
for (const key in originalObject) {
|
|
2937
2868
|
// @ts-expect-error String is not assignable to Key
|
|
2938
2869
|
if (ks.indexOf(key) >= 0) {
|
|
2939
2870
|
continue;
|
|
2940
2871
|
}
|
|
2941
|
-
|
|
2942
2872
|
if (!Object.prototype.hasOwnProperty.call(originalObject, key)) {
|
|
2943
2873
|
continue;
|
|
2944
2874
|
}
|
|
2945
|
-
|
|
2946
2875
|
newObject[key] = originalObject[key];
|
|
2947
2876
|
}
|
|
2948
|
-
|
|
2949
2877
|
return newObject;
|
|
2950
2878
|
}
|
|
2951
2879
|
function getPoint(datum) {
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
var point = {
|
|
2880
|
+
const exists = val => val !== undefined;
|
|
2881
|
+
const {
|
|
2882
|
+
_x,
|
|
2883
|
+
_x1,
|
|
2884
|
+
_x0,
|
|
2885
|
+
_voronoiX,
|
|
2886
|
+
_y,
|
|
2887
|
+
_y1,
|
|
2888
|
+
_y0,
|
|
2889
|
+
_voronoiY
|
|
2890
|
+
} = datum;
|
|
2891
|
+
const defaultX = exists(_x1) ? _x1 : _x;
|
|
2892
|
+
const defaultY = exists(_y1) ? _y1 : _y;
|
|
2893
|
+
const point = {
|
|
2967
2894
|
x: exists(_voronoiX) ? _voronoiX : defaultX,
|
|
2968
2895
|
x0: exists(_x0) ? _x0 : _x,
|
|
2969
2896
|
y: exists(_voronoiY) ? _voronoiY : defaultY,
|
|
@@ -2972,18 +2899,20 @@ function getPoint(datum) {
|
|
|
2972
2899
|
return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, point, datum);
|
|
2973
2900
|
}
|
|
2974
2901
|
function scalePoint(props, datum) {
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2902
|
+
const {
|
|
2903
|
+
scale,
|
|
2904
|
+
polar,
|
|
2905
|
+
horizontal
|
|
2906
|
+
} = props;
|
|
2907
|
+
const d = getPoint(datum);
|
|
2908
|
+
const origin = props.origin || {
|
|
2980
2909
|
x: 0,
|
|
2981
2910
|
y: 0
|
|
2982
2911
|
};
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2912
|
+
const x = horizontal ? scale.y(d.y) : scale.x(d.x);
|
|
2913
|
+
const x0 = horizontal ? scale.y(d.y0) : scale.x(d.x0);
|
|
2914
|
+
const y = horizontal ? scale.x(d.x) : scale.y(d.y);
|
|
2915
|
+
const y0 = horizontal ? scale.x(d.x0) : scale.y(d.y0);
|
|
2987
2916
|
return {
|
|
2988
2917
|
x: polar ? y * Math.cos(x) + origin.x : x,
|
|
2989
2918
|
x0: polar ? y0 * Math.cos(x0) + origin.x : x0,
|
|
@@ -2991,11 +2920,13 @@ function scalePoint(props, datum) {
|
|
|
2991
2920
|
y0: polar ? -y0 * Math.sin(x0) + origin.x : y0
|
|
2992
2921
|
};
|
|
2993
2922
|
}
|
|
2994
|
-
function getPadding(props) {
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2923
|
+
function getPadding(props, name) {
|
|
2924
|
+
if (name === void 0) {
|
|
2925
|
+
name = "padding";
|
|
2926
|
+
}
|
|
2927
|
+
const padding = props[name];
|
|
2928
|
+
const paddingVal = typeof padding === "number" ? padding : 0;
|
|
2929
|
+
const paddingObj = typeof padding === "object" ? padding : {};
|
|
2999
2930
|
return {
|
|
3000
2931
|
top: paddingObj.top || paddingVal,
|
|
3001
2932
|
bottom: paddingObj.bottom || paddingVal,
|
|
@@ -3004,50 +2935,47 @@ function getPadding(props) {
|
|
|
3004
2935
|
};
|
|
3005
2936
|
}
|
|
3006
2937
|
function isTooltip(component) {
|
|
3007
|
-
|
|
2938
|
+
const labelRole = component && component.type && component.type.role;
|
|
3008
2939
|
return labelRole === "tooltip";
|
|
3009
2940
|
}
|
|
3010
2941
|
function getDefaultStyles(props, role) {
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
2942
|
+
const {
|
|
2943
|
+
theme = {},
|
|
2944
|
+
labelComponent
|
|
2945
|
+
} = props;
|
|
2946
|
+
const defaultStyles = theme[role] && theme[role].style || {};
|
|
3016
2947
|
if (!isTooltip(labelComponent)) {
|
|
3017
2948
|
return defaultStyles;
|
|
3018
2949
|
}
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
var labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipStyle, defaultStyles.labels);
|
|
3023
|
-
|
|
2950
|
+
const tooltipStyle = theme.tooltip && theme.tooltip.style || {};
|
|
2951
|
+
const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipStyle, defaultStyles.labels);
|
|
3024
2952
|
return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, {
|
|
3025
2953
|
labels: labelStyle
|
|
3026
2954
|
}, defaultStyles);
|
|
3027
2955
|
}
|
|
3028
2956
|
function getStyles(style, defaultStyles) {
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
2957
|
+
const width = "100%";
|
|
2958
|
+
const height = "100%";
|
|
3032
2959
|
if (!style) {
|
|
3033
2960
|
return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
|
|
3034
2961
|
parent: {
|
|
3035
|
-
height
|
|
3036
|
-
width
|
|
2962
|
+
height,
|
|
2963
|
+
width
|
|
3037
2964
|
}
|
|
3038
2965
|
}, defaultStyles);
|
|
3039
2966
|
}
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
2967
|
+
const {
|
|
2968
|
+
data,
|
|
2969
|
+
labels,
|
|
2970
|
+
parent
|
|
2971
|
+
} = style;
|
|
2972
|
+
const defaultParent = defaultStyles && defaultStyles.parent || {};
|
|
2973
|
+
const defaultLabels = defaultStyles && defaultStyles.labels || {};
|
|
2974
|
+
const defaultData = defaultStyles && defaultStyles.data || {};
|
|
3047
2975
|
return {
|
|
3048
2976
|
parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parent, defaultParent, {
|
|
3049
|
-
width
|
|
3050
|
-
height
|
|
2977
|
+
width,
|
|
2978
|
+
height
|
|
3051
2979
|
}),
|
|
3052
2980
|
labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labels, defaultLabels),
|
|
3053
2981
|
data: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, data, defaultData)
|
|
@@ -3060,14 +2988,10 @@ function evaluateStyle(style, props) {
|
|
|
3060
2988
|
if (props.disableInlineStyles) {
|
|
3061
2989
|
return {};
|
|
3062
2990
|
}
|
|
3063
|
-
|
|
3064
|
-
if (!style || !Object.keys(style).some(function (value) {
|
|
3065
|
-
return isFunction(style[value]);
|
|
3066
|
-
})) {
|
|
2991
|
+
if (!style || !Object.keys(style).some(value => isFunction(style[value]))) {
|
|
3067
2992
|
return style;
|
|
3068
2993
|
}
|
|
3069
|
-
|
|
3070
|
-
return Object.keys(style).reduce(function (prev, curr) {
|
|
2994
|
+
return Object.keys(style).reduce((prev, curr) => {
|
|
3071
2995
|
prev[curr] = evaluateProp(style[curr], props);
|
|
3072
2996
|
return prev;
|
|
3073
2997
|
}, {});
|
|
@@ -3079,29 +3003,32 @@ function radiansToDegrees(radians) {
|
|
|
3079
3003
|
return typeof radians === "number" ? radians / (Math.PI / 180) : radians;
|
|
3080
3004
|
}
|
|
3081
3005
|
function getRadius(props) {
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3006
|
+
const {
|
|
3007
|
+
left,
|
|
3008
|
+
right,
|
|
3009
|
+
top,
|
|
3010
|
+
bottom
|
|
3011
|
+
} = getPadding(props);
|
|
3012
|
+
const {
|
|
3013
|
+
width,
|
|
3014
|
+
height
|
|
3015
|
+
} = props;
|
|
3090
3016
|
return Math.min(width - left - right, height - top - bottom) / 2;
|
|
3091
3017
|
}
|
|
3092
3018
|
function getPolarOrigin(props) {
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3019
|
+
const {
|
|
3020
|
+
width,
|
|
3021
|
+
height
|
|
3022
|
+
} = props;
|
|
3023
|
+
const {
|
|
3024
|
+
top,
|
|
3025
|
+
bottom,
|
|
3026
|
+
left,
|
|
3027
|
+
right
|
|
3028
|
+
} = getPadding(props);
|
|
3029
|
+
const radius = Math.min(width - left - right, height - top - bottom) / 2;
|
|
3030
|
+
const offsetWidth = width / 2 + left - right;
|
|
3031
|
+
const offsetHeight = height / 2 + top - bottom;
|
|
3105
3032
|
return {
|
|
3106
3033
|
x: offsetWidth + radius > width ? radius + left - right : offsetWidth,
|
|
3107
3034
|
y: offsetHeight + radius > height ? radius + top - bottom : offsetHeight
|
|
@@ -3113,18 +3040,18 @@ function getRange(props, axis) {
|
|
|
3113
3040
|
} else if (props.range && Array.isArray(props.range)) {
|
|
3114
3041
|
return props.range;
|
|
3115
3042
|
}
|
|
3116
|
-
|
|
3117
3043
|
return props.polar ? getPolarRange(props, axis) : getCartesianRange(props, axis);
|
|
3118
3044
|
}
|
|
3045
|
+
|
|
3119
3046
|
/**
|
|
3120
3047
|
* Checks if `value` is `null` or `undefined`.
|
|
3121
3048
|
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
|
3122
3049
|
*/
|
|
3123
|
-
|
|
3124
3050
|
function isNil(value) {
|
|
3125
3051
|
// eslint-disable-next-line eqeqeq
|
|
3126
3052
|
return value == null;
|
|
3127
3053
|
}
|
|
3054
|
+
|
|
3128
3055
|
/**
|
|
3129
3056
|
* Checks if `value` is classified as a `Function` object.
|
|
3130
3057
|
*
|
|
@@ -3132,7 +3059,6 @@ function isNil(value) {
|
|
|
3132
3059
|
* @param {*} value The value to check.
|
|
3133
3060
|
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
3134
3061
|
*/
|
|
3135
|
-
|
|
3136
3062
|
function isFunction(value) {
|
|
3137
3063
|
return typeof value === "function";
|
|
3138
3064
|
}
|
|
@@ -3143,47 +3069,45 @@ function createAccessor(key) {
|
|
|
3143
3069
|
return key;
|
|
3144
3070
|
} else if (key === null || key === undefined) {
|
|
3145
3071
|
// null/undefined means "return the data item itself"
|
|
3146
|
-
return
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
} // otherwise, assume it is an array index, property key or path (_.property handles all three)
|
|
3150
|
-
|
|
3151
|
-
|
|
3072
|
+
return x => x;
|
|
3073
|
+
}
|
|
3074
|
+
// otherwise, assume it is an array index, property key or path (_.property handles all three)
|
|
3152
3075
|
return lodash_property__WEBPACK_IMPORTED_MODULE_1___default()(key);
|
|
3153
3076
|
}
|
|
3154
3077
|
function modifyProps(props, fallbackProps, role) {
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
horizontal
|
|
3078
|
+
const theme = props.theme && props.theme[role] ? props.theme[role] : {};
|
|
3079
|
+
const themeProps = omit(theme, ["style"]);
|
|
3080
|
+
const horizontal = isHorizontal(props);
|
|
3081
|
+
const defaultObject = horizontal === undefined ? {} : {
|
|
3082
|
+
horizontal
|
|
3160
3083
|
};
|
|
3161
3084
|
return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()(defaultObject, props, themeProps, fallbackProps);
|
|
3162
3085
|
}
|
|
3086
|
+
|
|
3163
3087
|
/**
|
|
3164
3088
|
* Returns the given axis or the opposite axis when horizontal
|
|
3165
3089
|
* @param {string} axis: the given axis, either "x" pr "y"
|
|
3166
3090
|
* @param {Boolean} horizontal: true when the chart is flipped to the horizontal orientation
|
|
3167
3091
|
* @returns {String} the dimension appropriate for the axis given its props "x" or "y"
|
|
3168
3092
|
*/
|
|
3169
|
-
|
|
3170
3093
|
function getCurrentAxis(axis, horizontal) {
|
|
3171
|
-
|
|
3094
|
+
const otherAxis = axis === "x" ? "y" : "x";
|
|
3172
3095
|
return horizontal ? otherAxis : axis;
|
|
3173
3096
|
}
|
|
3097
|
+
|
|
3174
3098
|
/**
|
|
3175
3099
|
* Creates an object with the same keys as object and values generated by running
|
|
3176
3100
|
* each own enumerable string keyed property of object through the function fn
|
|
3177
3101
|
*/
|
|
3178
|
-
|
|
3179
3102
|
function mapValues(values, fn) {
|
|
3180
3103
|
if (values) {
|
|
3181
|
-
return Object.keys(values).reduce(
|
|
3104
|
+
return Object.keys(values).reduce((acc, key) => {
|
|
3182
3105
|
acc[key] = fn(values[key]);
|
|
3183
3106
|
return acc;
|
|
3184
3107
|
}, {});
|
|
3185
3108
|
}
|
|
3186
3109
|
}
|
|
3110
|
+
|
|
3187
3111
|
/**
|
|
3188
3112
|
* Creates an array of numbers (positive and/or negative) progressing
|
|
3189
3113
|
* from start up to, but not including, end.
|
|
@@ -3194,28 +3118,25 @@ function mapValues(values, fn) {
|
|
|
3194
3118
|
* @param end [The end value] If this is defined, start is the start value
|
|
3195
3119
|
* @returns An array of the given length
|
|
3196
3120
|
*/
|
|
3197
|
-
|
|
3198
3121
|
function range(start, end, increment) {
|
|
3199
3122
|
// when the end index is not given, start from 0
|
|
3200
|
-
|
|
3123
|
+
const startIndex = end ? start : 0;
|
|
3201
3124
|
|
|
3202
|
-
|
|
3125
|
+
// when the end index is not given, the end of the range is the start index
|
|
3126
|
+
let endIndex = end ? end : start;
|
|
3203
3127
|
|
|
3128
|
+
// ensure endIndex is not a falsy value
|
|
3204
3129
|
if (!endIndex) endIndex = 0;
|
|
3205
|
-
|
|
3130
|
+
const k = endIndex - startIndex; // the value range
|
|
3131
|
+
const length = Math.abs(k); // the length of the range
|
|
3132
|
+
const sign = k / length || 1; // the sign of the range (negative or positive)
|
|
3133
|
+
const inc = increment || 1; // the step size of each increment
|
|
3206
3134
|
|
|
3207
|
-
var length = Math.abs(k); // the length of the range
|
|
3208
|
-
|
|
3209
|
-
var sign = k / length || 1; // the sign of the range (negative or positive)
|
|
3210
|
-
|
|
3211
|
-
var inc = increment || 1; // the step size of each increment
|
|
3212
3135
|
// normalize the array length when dealing with floating point values
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
return Array.from(Array(arrayLength), function (_, i) {
|
|
3216
|
-
return startIndex + i * sign * inc;
|
|
3217
|
-
});
|
|
3136
|
+
const arrayLength = Math.max(Math.ceil(length / inc), 0);
|
|
3137
|
+
return Array.from(Array(arrayLength), (_, i) => startIndex + i * sign * inc);
|
|
3218
3138
|
}
|
|
3139
|
+
|
|
3219
3140
|
/**
|
|
3220
3141
|
* @param {Array} children: an array of child components
|
|
3221
3142
|
* @param {Function} iteratee: a function with arguments "child", "childName", and "parent"
|
|
@@ -3225,79 +3146,68 @@ function range(start, end, increment) {
|
|
|
3225
3146
|
* to the memo for the next iteration step
|
|
3226
3147
|
* @returns {Array} returns an array of results from calling the iteratee on all nested children
|
|
3227
3148
|
*/
|
|
3228
|
-
|
|
3229
3149
|
/* eslint-disable max-params */
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
}
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3150
|
+
function reduceChildren(children, iteratee, parentProps,
|
|
3151
|
+
// @ts-expect-error These defaults are hard to type
|
|
3152
|
+
initialMemo, combine) {
|
|
3153
|
+
if (parentProps === void 0) {
|
|
3154
|
+
parentProps = {};
|
|
3155
|
+
}
|
|
3156
|
+
if (initialMemo === void 0) {
|
|
3157
|
+
initialMemo = [];
|
|
3158
|
+
}
|
|
3159
|
+
if (combine === void 0) {
|
|
3160
|
+
combine = (memo, item) =>
|
|
3161
|
+
// @ts-expect-error These defaults are hard to type
|
|
3162
|
+
memo.concat(item);
|
|
3163
|
+
}
|
|
3164
|
+
const sharedProps = ["data", "domain", "categories", "polar", "startAngle", "endAngle", "minDomain", "maxDomain", "horizontal"];
|
|
3165
|
+
const traverseChildren = (childArray, names, parent) => {
|
|
3166
|
+
return childArray.reduce((memo, child, index) => {
|
|
3167
|
+
let newMemo = memo;
|
|
3168
|
+
const childRole = child.type && child.type.role;
|
|
3169
|
+
const childName = child.props.name || `${childRole}-${names[index]}`;
|
|
3247
3170
|
if (child.props && child.props.children) {
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3171
|
+
const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(parentProps, sharedProps));
|
|
3172
|
+
const nestedChildren = child.type && child.type.role === "stack" && isFunction(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(child.props.children).map(c => {
|
|
3173
|
+
const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(childProps, sharedProps));
|
|
3251
3174
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(c, nestedChildProps);
|
|
3252
3175
|
});
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
return "".concat(childName, "-").concat(i);
|
|
3256
|
-
});
|
|
3257
|
-
|
|
3258
|
-
var nestedResults = traverseChildren(nestedChildren, _childNames, child);
|
|
3176
|
+
const childNames = nestedChildren.map((c, i) => `${childName}-${i}`);
|
|
3177
|
+
const nestedResults = traverseChildren(nestedChildren, childNames, child);
|
|
3259
3178
|
newMemo = combine(newMemo, nestedResults);
|
|
3260
3179
|
} else {
|
|
3261
|
-
|
|
3262
|
-
|
|
3180
|
+
const result = iteratee(child, childName, parent);
|
|
3263
3181
|
if (result) {
|
|
3264
3182
|
newMemo = combine(newMemo, result);
|
|
3265
3183
|
}
|
|
3266
3184
|
}
|
|
3267
|
-
|
|
3268
3185
|
return newMemo;
|
|
3269
3186
|
}, initialMemo);
|
|
3270
3187
|
};
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
var childNames = validChildren.map(function (c, i) {
|
|
3274
|
-
return i;
|
|
3275
|
-
});
|
|
3188
|
+
const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_3__.isValidElement);
|
|
3189
|
+
const childNames = validChildren.map((c, i) => i);
|
|
3276
3190
|
return traverseChildren(validChildren, childNames);
|
|
3277
3191
|
}
|
|
3192
|
+
|
|
3278
3193
|
/**
|
|
3279
3194
|
* @param {Object} props: the props object
|
|
3280
3195
|
* @returns {Boolean} returns true if the props object contains `horizontal: true` of if any
|
|
3281
3196
|
* children or nested children are horizontal
|
|
3282
3197
|
*/
|
|
3283
|
-
|
|
3284
3198
|
function isHorizontal(props) {
|
|
3285
3199
|
if (props.horizontal !== undefined || !props.children) {
|
|
3286
3200
|
return props.horizontal;
|
|
3287
3201
|
}
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
var childProps = child.props || {};
|
|
3292
|
-
|
|
3202
|
+
const traverseChildren = childArray => {
|
|
3203
|
+
return childArray.reduce((memo, child) => {
|
|
3204
|
+
const childProps = child.props || {};
|
|
3293
3205
|
if (memo || childProps.horizontal || !childProps.children) {
|
|
3294
3206
|
return memo || childProps.horizontal;
|
|
3295
3207
|
}
|
|
3296
|
-
|
|
3297
3208
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(childProps.children));
|
|
3298
3209
|
}, false);
|
|
3299
3210
|
};
|
|
3300
|
-
|
|
3301
3211
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(props.children));
|
|
3302
3212
|
}
|
|
3303
3213
|
|
|
@@ -3307,75 +3217,63 @@ function isHorizontal(props) {
|
|
|
3307
3217
|
/*!**********************************************************!*\
|
|
3308
3218
|
!*** ../../victory-core/es/victory-util/line-helpers.js ***!
|
|
3309
3219
|
\**********************************************************/
|
|
3310
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
3220
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3311
3221
|
|
|
3312
3222
|
"use strict";
|
|
3313
3223
|
__webpack_require__.r(__webpack_exports__);
|
|
3314
3224
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3315
|
-
/* harmony export */ "getInterpolationFunction": ()
|
|
3316
|
-
/* harmony export */ "getLineFunction": ()
|
|
3225
|
+
/* harmony export */ "getInterpolationFunction": function() { return /* binding */ getInterpolationFunction; },
|
|
3226
|
+
/* harmony export */ "getLineFunction": function() { return /* binding */ getLineFunction; }
|
|
3317
3227
|
/* harmony export */ });
|
|
3318
3228
|
/* harmony import */ var victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! victory-vendor/d3-shape */ "../../victory-vendor/es/d3-shape.js");
|
|
3319
3229
|
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
var y = d._y1 !== undefined ? d._y1 : d._y;
|
|
3230
|
+
const defined = d => {
|
|
3231
|
+
const y = d._y1 !== undefined ? d._y1 : d._y;
|
|
3323
3232
|
return y !== null && y !== undefined && d._y0 !== null;
|
|
3324
3233
|
};
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
return function (d) {
|
|
3328
|
-
return scale.x(d._x1 !== undefined ? d._x1 : d._x);
|
|
3329
|
-
};
|
|
3234
|
+
const getXAccessor = scale => {
|
|
3235
|
+
return d => scale.x(d._x1 !== undefined ? d._x1 : d._x);
|
|
3330
3236
|
};
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
return function (d) {
|
|
3334
|
-
return scale.y(d._y1 !== undefined ? d._y1 : d._y);
|
|
3335
|
-
};
|
|
3237
|
+
const getYAccessor = scale => {
|
|
3238
|
+
return d => scale.y(d._y1 !== undefined ? d._y1 : d._y);
|
|
3336
3239
|
};
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
var x = scale.x(d._x1 !== undefined ? d._x1 : d._x);
|
|
3240
|
+
const getAngleAccessor = scale => {
|
|
3241
|
+
return d => {
|
|
3242
|
+
const x = scale.x(d._x1 !== undefined ? d._x1 : d._x);
|
|
3341
3243
|
return -1 * x + Math.PI / 2;
|
|
3342
3244
|
};
|
|
3343
3245
|
};
|
|
3344
|
-
|
|
3345
|
-
var toNewName = function (interpolation) {
|
|
3246
|
+
const toNewName = interpolation => {
|
|
3346
3247
|
// d3 shape changed the naming scheme for interpolators from "basis" -> "curveBasis" etc.
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
};
|
|
3350
|
-
|
|
3351
|
-
return "curve".concat(capitalize(interpolation));
|
|
3248
|
+
const capitalize = s => s && s[0].toUpperCase() + s.slice(1);
|
|
3249
|
+
return `curve${capitalize(interpolation)}`;
|
|
3352
3250
|
};
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
return "".concat(toNewName(interpolation), "Closed");
|
|
3251
|
+
const toNewNameClosed = interpolation => {
|
|
3252
|
+
return `${toNewName(interpolation)}Closed`;
|
|
3356
3253
|
};
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3254
|
+
const getInterpolationFunction = props => {
|
|
3255
|
+
const {
|
|
3256
|
+
interpolation
|
|
3257
|
+
} = props;
|
|
3361
3258
|
if (typeof interpolation === "function") {
|
|
3362
3259
|
return interpolation;
|
|
3363
3260
|
}
|
|
3364
|
-
|
|
3365
3261
|
if (typeof interpolation === "string") {
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3262
|
+
const {
|
|
3263
|
+
polar,
|
|
3264
|
+
openCurve = !polar
|
|
3265
|
+
} = props;
|
|
3266
|
+
const interpolationName = !openCurve ? toNewNameClosed(interpolation) : toNewName(interpolation);
|
|
3370
3267
|
return victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__[interpolationName];
|
|
3371
3268
|
}
|
|
3372
|
-
|
|
3373
3269
|
return victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveLinear;
|
|
3374
3270
|
};
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3271
|
+
const getLineFunction = props => {
|
|
3272
|
+
const {
|
|
3273
|
+
polar,
|
|
3274
|
+
scale,
|
|
3275
|
+
horizontal
|
|
3276
|
+
} = props;
|
|
3379
3277
|
return polar ? victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.lineRadial().defined(defined).curve(getInterpolationFunction(props)).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.line().defined(defined).curve(getInterpolationFunction(props)).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale));
|
|
3380
3278
|
};
|
|
3381
3279
|
|
|
@@ -3385,92 +3283,132 @@ var getLineFunction = function (props) {
|
|
|
3385
3283
|
/*!****************************************************************!*\
|
|
3386
3284
|
!*** ../../victory-core/es/victory-util/point-path-helpers.js ***!
|
|
3387
3285
|
\****************************************************************/
|
|
3388
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
3286
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3389
3287
|
|
|
3390
3288
|
"use strict";
|
|
3391
3289
|
__webpack_require__.r(__webpack_exports__);
|
|
3392
3290
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3393
|
-
/* harmony export */ "circle": ()
|
|
3394
|
-
/* harmony export */ "cross": ()
|
|
3395
|
-
/* harmony export */ "diamond": ()
|
|
3396
|
-
/* harmony export */ "minus": ()
|
|
3397
|
-
/* harmony export */ "plus": ()
|
|
3398
|
-
/* harmony export */ "square": ()
|
|
3399
|
-
/* harmony export */ "star": ()
|
|
3400
|
-
/* harmony export */ "triangleDown": ()
|
|
3401
|
-
/* harmony export */ "triangleUp": ()
|
|
3291
|
+
/* harmony export */ "circle": function() { return /* binding */ circle; },
|
|
3292
|
+
/* harmony export */ "cross": function() { return /* binding */ cross; },
|
|
3293
|
+
/* harmony export */ "diamond": function() { return /* binding */ diamond; },
|
|
3294
|
+
/* harmony export */ "minus": function() { return /* binding */ minus; },
|
|
3295
|
+
/* harmony export */ "plus": function() { return /* binding */ plus; },
|
|
3296
|
+
/* harmony export */ "square": function() { return /* binding */ square; },
|
|
3297
|
+
/* harmony export */ "star": function() { return /* binding */ star; },
|
|
3298
|
+
/* harmony export */ "triangleDown": function() { return /* binding */ triangleDown; },
|
|
3299
|
+
/* harmony export */ "triangleUp": function() { return /* binding */ triangleUp; }
|
|
3402
3300
|
/* harmony export */ });
|
|
3403
3301
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
3404
3302
|
/* eslint no-magic-numbers: ["error", { "ignore": [0, 1, 2, 2.5, 3] }]*/
|
|
3405
3303
|
|
|
3304
|
+
|
|
3406
3305
|
function circle(x, y, size) {
|
|
3407
|
-
return
|
|
3306
|
+
return `M ${x}, ${y}
|
|
3307
|
+
m ${-size}, 0
|
|
3308
|
+
a ${size}, ${size} 0 1,0 ${size * 2},0
|
|
3309
|
+
a ${size}, ${size} 0 1,0 ${-size * 2},0`;
|
|
3408
3310
|
}
|
|
3409
3311
|
function square(x, y, size) {
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3312
|
+
const baseSize = 0.87 * size; // eslint-disable-line no-magic-numbers
|
|
3313
|
+
const x0 = x - baseSize;
|
|
3314
|
+
const y1 = y + baseSize;
|
|
3315
|
+
const distance = x + baseSize - x0;
|
|
3316
|
+
return `M ${x0}, ${y1}
|
|
3317
|
+
h${distance}
|
|
3318
|
+
v-${distance}
|
|
3319
|
+
h-${distance}
|
|
3320
|
+
z`;
|
|
3416
3321
|
}
|
|
3417
3322
|
function diamond(x, y, size) {
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3323
|
+
const baseSize = 0.87 * size; // eslint-disable-line no-magic-numbers
|
|
3324
|
+
const length = Math.sqrt(2 * (baseSize * baseSize));
|
|
3325
|
+
return `M ${x}, ${y + length}
|
|
3326
|
+
l ${length}, -${length}
|
|
3327
|
+
l -${length}, -${length}
|
|
3328
|
+
l -${length}, ${length}
|
|
3329
|
+
l ${length}, ${length}
|
|
3330
|
+
z`;
|
|
3422
3331
|
}
|
|
3423
3332
|
function triangleDown(x, y, size) {
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
return
|
|
3333
|
+
const height = size / 2 * Math.sqrt(3);
|
|
3334
|
+
const x0 = x - size;
|
|
3335
|
+
const x1 = x + size;
|
|
3336
|
+
const y0 = y - size;
|
|
3337
|
+
const y1 = y + height;
|
|
3338
|
+
return `M ${x0}, ${y0}
|
|
3339
|
+
L ${x1}, ${y0}
|
|
3340
|
+
L ${x}, ${y1}
|
|
3341
|
+
z`;
|
|
3430
3342
|
}
|
|
3431
3343
|
function triangleUp(x, y, size) {
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
return
|
|
3344
|
+
const height = size / 2 * Math.sqrt(3);
|
|
3345
|
+
const x0 = x - size;
|
|
3346
|
+
const x1 = x + size;
|
|
3347
|
+
const y0 = y - height;
|
|
3348
|
+
const y1 = y + size;
|
|
3349
|
+
return `M ${x0}, ${y1}
|
|
3350
|
+
L ${x1}, ${y1}
|
|
3351
|
+
L ${x}, ${y0}
|
|
3352
|
+
z`;
|
|
3438
3353
|
}
|
|
3439
3354
|
function plus(x, y, size) {
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3355
|
+
const baseSize = 1.1 * size; // eslint-disable-line no-magic-numbers
|
|
3356
|
+
const distance = baseSize / 1.5; // eslint-disable-line no-magic-numbers
|
|
3357
|
+
return `
|
|
3358
|
+
M ${x - distance / 2}, ${y + baseSize}
|
|
3359
|
+
v-${distance}
|
|
3360
|
+
h-${distance}
|
|
3361
|
+
v-${distance}
|
|
3362
|
+
h${distance}
|
|
3363
|
+
v-${distance}
|
|
3364
|
+
h${distance}
|
|
3365
|
+
v${distance}
|
|
3366
|
+
h${distance}
|
|
3367
|
+
v${distance}
|
|
3368
|
+
h-${distance}
|
|
3369
|
+
v${distance}
|
|
3370
|
+
z`;
|
|
3445
3371
|
}
|
|
3446
3372
|
function cross(x, y, size) {
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3373
|
+
const baseSize = 0.8 * size; // eslint-disable-line no-magic-numbers
|
|
3374
|
+
const distance = baseSize / 1.5; // eslint-disable-line no-magic-numbers
|
|
3375
|
+
return `
|
|
3376
|
+
M ${x - distance / 2}, ${y + baseSize + distance}
|
|
3377
|
+
v-${distance * 2}
|
|
3378
|
+
h-${distance}
|
|
3379
|
+
v-${distance}
|
|
3380
|
+
h${distance}
|
|
3381
|
+
v-${distance}
|
|
3382
|
+
h${distance}
|
|
3383
|
+
v${distance}
|
|
3384
|
+
h${distance}
|
|
3385
|
+
v${distance}
|
|
3386
|
+
h-${distance}
|
|
3387
|
+
v${distance * 2}
|
|
3388
|
+
z`;
|
|
3452
3389
|
}
|
|
3453
3390
|
function minus(x, y, size) {
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3391
|
+
const baseSize = 1.1 * size; // eslint-disable-line no-magic-numbers
|
|
3392
|
+
const lineHeight = baseSize - baseSize * 0.3; // eslint-disable-line no-magic-numbers
|
|
3393
|
+
const x0 = x - baseSize;
|
|
3394
|
+
const y1 = y + lineHeight / 2;
|
|
3395
|
+
const distance = x + baseSize - x0;
|
|
3396
|
+
return `M ${x0}, ${y1}
|
|
3397
|
+
h${distance}
|
|
3398
|
+
v-${lineHeight}
|
|
3399
|
+
h-${distance}
|
|
3400
|
+
z`;
|
|
3462
3401
|
}
|
|
3463
3402
|
function star(x, y, size) {
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
var angle = Math.PI / 5; // eslint-disable-line no-magic-numbers
|
|
3403
|
+
const baseSize = 1.35 * size; // eslint-disable-line no-magic-numbers
|
|
3404
|
+
const angle = Math.PI / 5; // eslint-disable-line no-magic-numbers
|
|
3467
3405
|
// eslint-disable-next-line no-magic-numbers
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3406
|
+
const starCoords = _helpers__WEBPACK_IMPORTED_MODULE_0__.range(10).map(index => {
|
|
3407
|
+
const length = index % 2 === 0 ? baseSize : baseSize / 2;
|
|
3408
|
+
return `${length * Math.sin(angle * (index + 1)) + x},
|
|
3409
|
+
${length * Math.cos(angle * (index + 1)) + y}`;
|
|
3472
3410
|
});
|
|
3473
|
-
return
|
|
3411
|
+
return `M ${starCoords.join("L")} z`;
|
|
3474
3412
|
}
|
|
3475
3413
|
|
|
3476
3414
|
/***/ }),
|
|
@@ -3479,73 +3417,73 @@ function star(x, y, size) {
|
|
|
3479
3417
|
/*!*******************************************!*\
|
|
3480
3418
|
!*** ../../victory-vendor/es/d3-shape.js ***!
|
|
3481
3419
|
\*******************************************/
|
|
3482
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__)
|
|
3420
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3483
3421
|
|
|
3484
3422
|
"use strict";
|
|
3485
3423
|
__webpack_require__.r(__webpack_exports__);
|
|
3486
3424
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3487
|
-
/* harmony export */ "arc": ()
|
|
3488
|
-
/* harmony export */ "area": ()
|
|
3489
|
-
/* harmony export */ "areaRadial": ()
|
|
3490
|
-
/* harmony export */ "curveBasis": ()
|
|
3491
|
-
/* harmony export */ "curveBasisClosed": ()
|
|
3492
|
-
/* harmony export */ "curveBasisOpen": ()
|
|
3493
|
-
/* harmony export */ "curveBumpX": ()
|
|
3494
|
-
/* harmony export */ "curveBumpY": ()
|
|
3495
|
-
/* harmony export */ "curveBundle": ()
|
|
3496
|
-
/* harmony export */ "curveCardinal": ()
|
|
3497
|
-
/* harmony export */ "curveCardinalClosed": ()
|
|
3498
|
-
/* harmony export */ "curveCardinalOpen": ()
|
|
3499
|
-
/* harmony export */ "curveCatmullRom": ()
|
|
3500
|
-
/* harmony export */ "curveCatmullRomClosed": ()
|
|
3501
|
-
/* harmony export */ "curveCatmullRomOpen": ()
|
|
3502
|
-
/* harmony export */ "curveLinear": ()
|
|
3503
|
-
/* harmony export */ "curveLinearClosed": ()
|
|
3504
|
-
/* harmony export */ "curveMonotoneX": ()
|
|
3505
|
-
/* harmony export */ "curveMonotoneY": ()
|
|
3506
|
-
/* harmony export */ "curveNatural": ()
|
|
3507
|
-
/* harmony export */ "curveStep": ()
|
|
3508
|
-
/* harmony export */ "curveStepAfter": ()
|
|
3509
|
-
/* harmony export */ "curveStepBefore": ()
|
|
3510
|
-
/* harmony export */ "line": ()
|
|
3511
|
-
/* harmony export */ "lineRadial": ()
|
|
3512
|
-
/* harmony export */ "link": ()
|
|
3513
|
-
/* harmony export */ "linkHorizontal": ()
|
|
3514
|
-
/* harmony export */ "linkRadial": ()
|
|
3515
|
-
/* harmony export */ "linkVertical": ()
|
|
3516
|
-
/* harmony export */ "pie": ()
|
|
3517
|
-
/* harmony export */ "pointRadial": ()
|
|
3518
|
-
/* harmony export */ "radialArea": ()
|
|
3519
|
-
/* harmony export */ "radialLine": ()
|
|
3520
|
-
/* harmony export */ "stack": ()
|
|
3521
|
-
/* harmony export */ "stackOffsetDiverging": ()
|
|
3522
|
-
/* harmony export */ "stackOffsetExpand": ()
|
|
3523
|
-
/* harmony export */ "stackOffsetNone": ()
|
|
3524
|
-
/* harmony export */ "stackOffsetSilhouette": ()
|
|
3525
|
-
/* harmony export */ "stackOffsetWiggle": ()
|
|
3526
|
-
/* harmony export */ "stackOrderAppearance": ()
|
|
3527
|
-
/* harmony export */ "stackOrderAscending": ()
|
|
3528
|
-
/* harmony export */ "stackOrderDescending": ()
|
|
3529
|
-
/* harmony export */ "stackOrderInsideOut": ()
|
|
3530
|
-
/* harmony export */ "stackOrderNone": ()
|
|
3531
|
-
/* harmony export */ "stackOrderReverse": ()
|
|
3532
|
-
/* harmony export */ "symbol": ()
|
|
3533
|
-
/* harmony export */ "symbolAsterisk": ()
|
|
3534
|
-
/* harmony export */ "symbolCircle": ()
|
|
3535
|
-
/* harmony export */ "symbolCross": ()
|
|
3536
|
-
/* harmony export */ "symbolDiamond": ()
|
|
3537
|
-
/* harmony export */ "symbolDiamond2": ()
|
|
3538
|
-
/* harmony export */ "symbolPlus": ()
|
|
3539
|
-
/* harmony export */ "symbolSquare": ()
|
|
3540
|
-
/* harmony export */ "symbolSquare2": ()
|
|
3541
|
-
/* harmony export */ "symbolStar": ()
|
|
3542
|
-
/* harmony export */ "symbolTriangle": ()
|
|
3543
|
-
/* harmony export */ "symbolTriangle2": ()
|
|
3544
|
-
/* harmony export */ "symbolWye": ()
|
|
3545
|
-
/* harmony export */ "symbolX": ()
|
|
3546
|
-
/* harmony export */ "symbols": ()
|
|
3547
|
-
/* harmony export */ "symbolsFill": ()
|
|
3548
|
-
/* harmony export */ "symbolsStroke": ()
|
|
3425
|
+
/* harmony export */ "arc": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.arc; },
|
|
3426
|
+
/* harmony export */ "area": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.area; },
|
|
3427
|
+
/* harmony export */ "areaRadial": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.areaRadial; },
|
|
3428
|
+
/* harmony export */ "curveBasis": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBasis; },
|
|
3429
|
+
/* harmony export */ "curveBasisClosed": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBasisClosed; },
|
|
3430
|
+
/* harmony export */ "curveBasisOpen": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBasisOpen; },
|
|
3431
|
+
/* harmony export */ "curveBumpX": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBumpX; },
|
|
3432
|
+
/* harmony export */ "curveBumpY": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBumpY; },
|
|
3433
|
+
/* harmony export */ "curveBundle": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveBundle; },
|
|
3434
|
+
/* harmony export */ "curveCardinal": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCardinal; },
|
|
3435
|
+
/* harmony export */ "curveCardinalClosed": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCardinalClosed; },
|
|
3436
|
+
/* harmony export */ "curveCardinalOpen": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCardinalOpen; },
|
|
3437
|
+
/* harmony export */ "curveCatmullRom": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCatmullRom; },
|
|
3438
|
+
/* harmony export */ "curveCatmullRomClosed": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCatmullRomClosed; },
|
|
3439
|
+
/* harmony export */ "curveCatmullRomOpen": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveCatmullRomOpen; },
|
|
3440
|
+
/* harmony export */ "curveLinear": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveLinear; },
|
|
3441
|
+
/* harmony export */ "curveLinearClosed": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveLinearClosed; },
|
|
3442
|
+
/* harmony export */ "curveMonotoneX": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveMonotoneX; },
|
|
3443
|
+
/* harmony export */ "curveMonotoneY": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveMonotoneY; },
|
|
3444
|
+
/* harmony export */ "curveNatural": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveNatural; },
|
|
3445
|
+
/* harmony export */ "curveStep": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveStep; },
|
|
3446
|
+
/* harmony export */ "curveStepAfter": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveStepAfter; },
|
|
3447
|
+
/* harmony export */ "curveStepBefore": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.curveStepBefore; },
|
|
3448
|
+
/* harmony export */ "line": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.line; },
|
|
3449
|
+
/* harmony export */ "lineRadial": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.lineRadial; },
|
|
3450
|
+
/* harmony export */ "link": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.link; },
|
|
3451
|
+
/* harmony export */ "linkHorizontal": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.linkHorizontal; },
|
|
3452
|
+
/* harmony export */ "linkRadial": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.linkRadial; },
|
|
3453
|
+
/* harmony export */ "linkVertical": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.linkVertical; },
|
|
3454
|
+
/* harmony export */ "pie": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.pie; },
|
|
3455
|
+
/* harmony export */ "pointRadial": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.pointRadial; },
|
|
3456
|
+
/* harmony export */ "radialArea": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.radialArea; },
|
|
3457
|
+
/* harmony export */ "radialLine": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.radialLine; },
|
|
3458
|
+
/* harmony export */ "stack": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stack; },
|
|
3459
|
+
/* harmony export */ "stackOffsetDiverging": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOffsetDiverging; },
|
|
3460
|
+
/* harmony export */ "stackOffsetExpand": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOffsetExpand; },
|
|
3461
|
+
/* harmony export */ "stackOffsetNone": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOffsetNone; },
|
|
3462
|
+
/* harmony export */ "stackOffsetSilhouette": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOffsetSilhouette; },
|
|
3463
|
+
/* harmony export */ "stackOffsetWiggle": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOffsetWiggle; },
|
|
3464
|
+
/* harmony export */ "stackOrderAppearance": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderAppearance; },
|
|
3465
|
+
/* harmony export */ "stackOrderAscending": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderAscending; },
|
|
3466
|
+
/* harmony export */ "stackOrderDescending": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderDescending; },
|
|
3467
|
+
/* harmony export */ "stackOrderInsideOut": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderInsideOut; },
|
|
3468
|
+
/* harmony export */ "stackOrderNone": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderNone; },
|
|
3469
|
+
/* harmony export */ "stackOrderReverse": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.stackOrderReverse; },
|
|
3470
|
+
/* harmony export */ "symbol": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbol; },
|
|
3471
|
+
/* harmony export */ "symbolAsterisk": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolAsterisk; },
|
|
3472
|
+
/* harmony export */ "symbolCircle": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolCircle; },
|
|
3473
|
+
/* harmony export */ "symbolCross": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolCross; },
|
|
3474
|
+
/* harmony export */ "symbolDiamond": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolDiamond; },
|
|
3475
|
+
/* harmony export */ "symbolDiamond2": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolDiamond2; },
|
|
3476
|
+
/* harmony export */ "symbolPlus": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolPlus; },
|
|
3477
|
+
/* harmony export */ "symbolSquare": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolSquare; },
|
|
3478
|
+
/* harmony export */ "symbolSquare2": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolSquare2; },
|
|
3479
|
+
/* harmony export */ "symbolStar": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolStar; },
|
|
3480
|
+
/* harmony export */ "symbolTriangle": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolTriangle; },
|
|
3481
|
+
/* harmony export */ "symbolTriangle2": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolTriangle2; },
|
|
3482
|
+
/* harmony export */ "symbolWye": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolWye; },
|
|
3483
|
+
/* harmony export */ "symbolX": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolX; },
|
|
3484
|
+
/* harmony export */ "symbols": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbols; },
|
|
3485
|
+
/* harmony export */ "symbolsFill": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolsFill; },
|
|
3486
|
+
/* harmony export */ "symbolsStroke": function() { return /* reexport safe */ d3_shape__WEBPACK_IMPORTED_MODULE_0__.symbolsStroke; }
|
|
3549
3487
|
/* harmony export */ });
|
|
3550
3488
|
/* harmony import */ var d3_shape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! d3-shape */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/index.js");
|
|
3551
3489
|
|
|
@@ -3562,7 +3500,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3562
3500
|
/*!**************************************************************************************!*\
|
|
3563
3501
|
!*** external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} ***!
|
|
3564
3502
|
\**************************************************************************************/
|
|
3565
|
-
/***/ ((module)
|
|
3503
|
+
/***/ (function(module) {
|
|
3566
3504
|
|
|
3567
3505
|
"use strict";
|
|
3568
3506
|
module.exports = __WEBPACK_EXTERNAL_MODULE_react__;
|
|
@@ -3573,13 +3511,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_react__;
|
|
|
3573
3511
|
/*!**********************************************************************************!*\
|
|
3574
3512
|
!*** ../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js ***!
|
|
3575
3513
|
\**********************************************************************************/
|
|
3576
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
3514
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3577
3515
|
|
|
3578
3516
|
"use strict";
|
|
3579
3517
|
__webpack_require__.r(__webpack_exports__);
|
|
3580
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3581
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3582
|
-
/* harmony export */ });
|
|
3583
3518
|
const pi = Math.PI,
|
|
3584
3519
|
tau = 2 * pi,
|
|
3585
3520
|
epsilon = 1e-6,
|
|
@@ -3709,7 +3644,7 @@ Path.prototype = path.prototype = {
|
|
|
3709
3644
|
}
|
|
3710
3645
|
};
|
|
3711
3646
|
|
|
3712
|
-
/* harmony default export */
|
|
3647
|
+
/* harmony default export */ __webpack_exports__["default"] = (path);
|
|
3713
3648
|
|
|
3714
3649
|
|
|
3715
3650
|
/***/ }),
|
|
@@ -3718,12 +3653,12 @@ Path.prototype = path.prototype = {
|
|
|
3718
3653
|
/*!***********************************************************************************!*\
|
|
3719
3654
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/arc.js ***!
|
|
3720
3655
|
\***********************************************************************************/
|
|
3721
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
3656
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3722
3657
|
|
|
3723
3658
|
"use strict";
|
|
3724
3659
|
__webpack_require__.r(__webpack_exports__);
|
|
3725
3660
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3726
|
-
/* harmony export */ "default": ()
|
|
3661
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
3727
3662
|
/* harmony export */ });
|
|
3728
3663
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-path */ "../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js");
|
|
3729
3664
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constant.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/constant.js");
|
|
@@ -3997,12 +3932,12 @@ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
|
|
|
3997
3932
|
/*!************************************************************************************!*\
|
|
3998
3933
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/area.js ***!
|
|
3999
3934
|
\************************************************************************************/
|
|
4000
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
3935
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4001
3936
|
|
|
4002
3937
|
"use strict";
|
|
4003
3938
|
__webpack_require__.r(__webpack_exports__);
|
|
4004
3939
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4005
|
-
/* harmony export */ "default": ()
|
|
3940
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
4006
3941
|
/* harmony export */ });
|
|
4007
3942
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-path */ "../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js");
|
|
4008
3943
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./array.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js");
|
|
@@ -4129,12 +4064,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4129
4064
|
/*!******************************************************************************************!*\
|
|
4130
4065
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/areaRadial.js ***!
|
|
4131
4066
|
\******************************************************************************************/
|
|
4132
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4067
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4133
4068
|
|
|
4134
4069
|
"use strict";
|
|
4135
4070
|
__webpack_require__.r(__webpack_exports__);
|
|
4136
4071
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4137
|
-
/* harmony export */ "default": ()
|
|
4072
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
4138
4073
|
/* harmony export */ });
|
|
4139
4074
|
/* harmony import */ var _curve_radial_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./curve/radial.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/radial.js");
|
|
4140
4075
|
/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./area.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/area.js");
|
|
@@ -4176,13 +4111,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4176
4111
|
/*!*************************************************************************************!*\
|
|
4177
4112
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js ***!
|
|
4178
4113
|
\*************************************************************************************/
|
|
4179
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4114
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4180
4115
|
|
|
4181
4116
|
"use strict";
|
|
4182
4117
|
__webpack_require__.r(__webpack_exports__);
|
|
4183
4118
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4184
|
-
/* harmony export */ "default": ()
|
|
4185
|
-
/* harmony export */ "slice": ()
|
|
4119
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },
|
|
4120
|
+
/* harmony export */ "slice": function() { return /* binding */ slice; }
|
|
4186
4121
|
/* harmony export */ });
|
|
4187
4122
|
var slice = Array.prototype.slice;
|
|
4188
4123
|
|
|
@@ -4199,12 +4134,12 @@ var slice = Array.prototype.slice;
|
|
|
4199
4134
|
/*!****************************************************************************************!*\
|
|
4200
4135
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/constant.js ***!
|
|
4201
4136
|
\****************************************************************************************/
|
|
4202
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4137
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4203
4138
|
|
|
4204
4139
|
"use strict";
|
|
4205
4140
|
__webpack_require__.r(__webpack_exports__);
|
|
4206
4141
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4207
|
-
/* harmony export */ "default": ()
|
|
4142
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
4208
4143
|
/* harmony export */ });
|
|
4209
4144
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) {
|
|
4210
4145
|
return function constant() {
|
|
@@ -4219,14 +4154,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4219
4154
|
/*!*******************************************************************************************!*\
|
|
4220
4155
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basis.js ***!
|
|
4221
4156
|
\*******************************************************************************************/
|
|
4222
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4157
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4223
4158
|
|
|
4224
4159
|
"use strict";
|
|
4225
4160
|
__webpack_require__.r(__webpack_exports__);
|
|
4226
4161
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4227
|
-
/* harmony export */ "Basis": ()
|
|
4228
|
-
/* harmony export */ "default": ()
|
|
4229
|
-
/* harmony export */ "point": ()
|
|
4162
|
+
/* harmony export */ "Basis": function() { return /* binding */ Basis; },
|
|
4163
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },
|
|
4164
|
+
/* harmony export */ "point": function() { return /* binding */ point; }
|
|
4230
4165
|
/* harmony export */ });
|
|
4231
4166
|
function point(that, x, y) {
|
|
4232
4167
|
that._context.bezierCurveTo(
|
|
@@ -4287,12 +4222,12 @@ Basis.prototype = {
|
|
|
4287
4222
|
/*!*************************************************************************************************!*\
|
|
4288
4223
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basisClosed.js ***!
|
|
4289
4224
|
\*************************************************************************************************/
|
|
4290
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4225
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4291
4226
|
|
|
4292
4227
|
"use strict";
|
|
4293
4228
|
__webpack_require__.r(__webpack_exports__);
|
|
4294
4229
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4295
|
-
/* harmony export */ "default": ()
|
|
4230
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
4296
4231
|
/* harmony export */ });
|
|
4297
4232
|
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/noop.js");
|
|
4298
4233
|
/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basis.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basis.js");
|
|
@@ -4356,12 +4291,12 @@ BasisClosed.prototype = {
|
|
|
4356
4291
|
/*!***********************************************************************************************!*\
|
|
4357
4292
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basisOpen.js ***!
|
|
4358
4293
|
\***********************************************************************************************/
|
|
4359
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4294
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4360
4295
|
|
|
4361
4296
|
"use strict";
|
|
4362
4297
|
__webpack_require__.r(__webpack_exports__);
|
|
4363
4298
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4364
|
-
/* harmony export */ "default": ()
|
|
4299
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
4365
4300
|
/* harmony export */ });
|
|
4366
4301
|
/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basis.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basis.js");
|
|
4367
4302
|
|
|
@@ -4411,14 +4346,14 @@ BasisOpen.prototype = {
|
|
|
4411
4346
|
/*!******************************************************************************************!*\
|
|
4412
4347
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/bump.js ***!
|
|
4413
4348
|
\******************************************************************************************/
|
|
4414
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4349
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4415
4350
|
|
|
4416
4351
|
"use strict";
|
|
4417
4352
|
__webpack_require__.r(__webpack_exports__);
|
|
4418
4353
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4419
|
-
/* harmony export */ "bumpRadial": ()
|
|
4420
|
-
/* harmony export */ "bumpX": ()
|
|
4421
|
-
/* harmony export */ "bumpY": ()
|
|
4354
|
+
/* harmony export */ "bumpRadial": function() { return /* binding */ bumpRadial; },
|
|
4355
|
+
/* harmony export */ "bumpX": function() { return /* binding */ bumpX; },
|
|
4356
|
+
/* harmony export */ "bumpY": function() { return /* binding */ bumpY; }
|
|
4422
4357
|
/* harmony export */ });
|
|
4423
4358
|
/* harmony import */ var _pointRadial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pointRadial.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/pointRadial.js");
|
|
4424
4359
|
|
|
@@ -4503,13 +4438,10 @@ function bumpRadial(context) {
|
|
|
4503
4438
|
/*!********************************************************************************************!*\
|
|
4504
4439
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/bundle.js ***!
|
|
4505
4440
|
\********************************************************************************************/
|
|
4506
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4441
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4507
4442
|
|
|
4508
4443
|
"use strict";
|
|
4509
4444
|
__webpack_require__.r(__webpack_exports__);
|
|
4510
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4511
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4512
|
-
/* harmony export */ });
|
|
4513
4445
|
/* harmony import */ var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basis.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/basis.js");
|
|
4514
4446
|
|
|
4515
4447
|
|
|
@@ -4555,7 +4487,7 @@ Bundle.prototype = {
|
|
|
4555
4487
|
}
|
|
4556
4488
|
};
|
|
4557
4489
|
|
|
4558
|
-
/* harmony default export */
|
|
4490
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(beta) {
|
|
4559
4491
|
|
|
4560
4492
|
function bundle(context) {
|
|
4561
4493
|
return beta === 1 ? new _basis_js__WEBPACK_IMPORTED_MODULE_0__.Basis(context) : new Bundle(context, beta);
|
|
@@ -4575,14 +4507,13 @@ Bundle.prototype = {
|
|
|
4575
4507
|
/*!**********************************************************************************************!*\
|
|
4576
4508
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinal.js ***!
|
|
4577
4509
|
\**********************************************************************************************/
|
|
4578
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4510
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4579
4511
|
|
|
4580
4512
|
"use strict";
|
|
4581
4513
|
__webpack_require__.r(__webpack_exports__);
|
|
4582
4514
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4583
|
-
/* harmony export */ "Cardinal": ()
|
|
4584
|
-
/* harmony export */ "
|
|
4585
|
-
/* harmony export */ "point": () => (/* binding */ point)
|
|
4515
|
+
/* harmony export */ "Cardinal": function() { return /* binding */ Cardinal; },
|
|
4516
|
+
/* harmony export */ "point": function() { return /* binding */ point; }
|
|
4586
4517
|
/* harmony export */ });
|
|
4587
4518
|
function point(that, x, y) {
|
|
4588
4519
|
that._context.bezierCurveTo(
|
|
@@ -4633,7 +4564,7 @@ Cardinal.prototype = {
|
|
|
4633
4564
|
}
|
|
4634
4565
|
};
|
|
4635
4566
|
|
|
4636
|
-
/* harmony default export */
|
|
4567
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(tension) {
|
|
4637
4568
|
|
|
4638
4569
|
function cardinal(context) {
|
|
4639
4570
|
return new Cardinal(context, tension);
|
|
@@ -4653,13 +4584,12 @@ Cardinal.prototype = {
|
|
|
4653
4584
|
/*!****************************************************************************************************!*\
|
|
4654
4585
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinalClosed.js ***!
|
|
4655
4586
|
\****************************************************************************************************/
|
|
4656
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4587
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4657
4588
|
|
|
4658
4589
|
"use strict";
|
|
4659
4590
|
__webpack_require__.r(__webpack_exports__);
|
|
4660
4591
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4661
|
-
/* harmony export */ "CardinalClosed": ()
|
|
4662
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4592
|
+
/* harmony export */ "CardinalClosed": function() { return /* binding */ CardinalClosed; }
|
|
4663
4593
|
/* harmony export */ });
|
|
4664
4594
|
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/noop.js");
|
|
4665
4595
|
/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinal.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinal.js");
|
|
@@ -4712,7 +4642,7 @@ CardinalClosed.prototype = {
|
|
|
4712
4642
|
}
|
|
4713
4643
|
};
|
|
4714
4644
|
|
|
4715
|
-
/* harmony default export */
|
|
4645
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(tension) {
|
|
4716
4646
|
|
|
4717
4647
|
function cardinal(context) {
|
|
4718
4648
|
return new CardinalClosed(context, tension);
|
|
@@ -4732,13 +4662,12 @@ CardinalClosed.prototype = {
|
|
|
4732
4662
|
/*!**************************************************************************************************!*\
|
|
4733
4663
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinalOpen.js ***!
|
|
4734
4664
|
\**************************************************************************************************/
|
|
4735
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4665
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4736
4666
|
|
|
4737
4667
|
"use strict";
|
|
4738
4668
|
__webpack_require__.r(__webpack_exports__);
|
|
4739
4669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4740
|
-
/* harmony export */ "CardinalOpen": ()
|
|
4741
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4670
|
+
/* harmony export */ "CardinalOpen": function() { return /* binding */ CardinalOpen; }
|
|
4742
4671
|
/* harmony export */ });
|
|
4743
4672
|
/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cardinal.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinal.js");
|
|
4744
4673
|
|
|
@@ -4778,7 +4707,7 @@ CardinalOpen.prototype = {
|
|
|
4778
4707
|
}
|
|
4779
4708
|
};
|
|
4780
4709
|
|
|
4781
|
-
/* harmony default export */
|
|
4710
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(tension) {
|
|
4782
4711
|
|
|
4783
4712
|
function cardinal(context) {
|
|
4784
4713
|
return new CardinalOpen(context, tension);
|
|
@@ -4798,13 +4727,12 @@ CardinalOpen.prototype = {
|
|
|
4798
4727
|
/*!************************************************************************************************!*\
|
|
4799
4728
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRom.js ***!
|
|
4800
4729
|
\************************************************************************************************/
|
|
4801
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4730
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4802
4731
|
|
|
4803
4732
|
"use strict";
|
|
4804
4733
|
__webpack_require__.r(__webpack_exports__);
|
|
4805
4734
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4806
|
-
/* harmony export */ "
|
|
4807
|
-
/* harmony export */ "point": () => (/* binding */ point)
|
|
4735
|
+
/* harmony export */ "point": function() { return /* binding */ point; }
|
|
4808
4736
|
/* harmony export */ });
|
|
4809
4737
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
4810
4738
|
/* harmony import */ var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinal.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinal.js");
|
|
@@ -4884,7 +4812,7 @@ CatmullRom.prototype = {
|
|
|
4884
4812
|
}
|
|
4885
4813
|
};
|
|
4886
4814
|
|
|
4887
|
-
/* harmony default export */
|
|
4815
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(alpha) {
|
|
4888
4816
|
|
|
4889
4817
|
function catmullRom(context) {
|
|
4890
4818
|
return alpha ? new CatmullRom(context, alpha) : new _cardinal_js__WEBPACK_IMPORTED_MODULE_1__.Cardinal(context, 0);
|
|
@@ -4904,13 +4832,10 @@ CatmullRom.prototype = {
|
|
|
4904
4832
|
/*!******************************************************************************************************!*\
|
|
4905
4833
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRomClosed.js ***!
|
|
4906
4834
|
\******************************************************************************************************/
|
|
4907
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4835
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
4908
4836
|
|
|
4909
4837
|
"use strict";
|
|
4910
4838
|
__webpack_require__.r(__webpack_exports__);
|
|
4911
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4912
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4913
|
-
/* harmony export */ });
|
|
4914
4839
|
/* harmony import */ var _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cardinalClosed.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinalClosed.js");
|
|
4915
4840
|
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/noop.js");
|
|
4916
4841
|
/* harmony import */ var _catmullRom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./catmullRom.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRom.js");
|
|
@@ -4976,7 +4901,7 @@ CatmullRomClosed.prototype = {
|
|
|
4976
4901
|
}
|
|
4977
4902
|
};
|
|
4978
4903
|
|
|
4979
|
-
/* harmony default export */
|
|
4904
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(alpha) {
|
|
4980
4905
|
|
|
4981
4906
|
function catmullRom(context) {
|
|
4982
4907
|
return alpha ? new CatmullRomClosed(context, alpha) : new _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_2__.CardinalClosed(context, 0);
|
|
@@ -4996,13 +4921,10 @@ CatmullRomClosed.prototype = {
|
|
|
4996
4921
|
/*!****************************************************************************************************!*\
|
|
4997
4922
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRomOpen.js ***!
|
|
4998
4923
|
\****************************************************************************************************/
|
|
4999
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
4924
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5000
4925
|
|
|
5001
4926
|
"use strict";
|
|
5002
4927
|
__webpack_require__.r(__webpack_exports__);
|
|
5003
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5004
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5005
|
-
/* harmony export */ });
|
|
5006
4928
|
/* harmony import */ var _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cardinalOpen.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/cardinalOpen.js");
|
|
5007
4929
|
/* harmony import */ var _catmullRom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./catmullRom.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/catmullRom.js");
|
|
5008
4930
|
|
|
@@ -5055,7 +4977,7 @@ CatmullRomOpen.prototype = {
|
|
|
5055
4977
|
}
|
|
5056
4978
|
};
|
|
5057
4979
|
|
|
5058
|
-
/* harmony default export */
|
|
4980
|
+
/* harmony default export */ __webpack_exports__["default"] = ((function custom(alpha) {
|
|
5059
4981
|
|
|
5060
4982
|
function catmullRom(context) {
|
|
5061
4983
|
return alpha ? new CatmullRomOpen(context, alpha) : new _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_1__.CardinalOpen(context, 0);
|
|
@@ -5075,12 +4997,12 @@ CatmullRomOpen.prototype = {
|
|
|
5075
4997
|
/*!********************************************************************************************!*\
|
|
5076
4998
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/linear.js ***!
|
|
5077
4999
|
\********************************************************************************************/
|
|
5078
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5000
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5079
5001
|
|
|
5080
5002
|
"use strict";
|
|
5081
5003
|
__webpack_require__.r(__webpack_exports__);
|
|
5082
5004
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5083
|
-
/* harmony export */ "default": ()
|
|
5005
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5084
5006
|
/* harmony export */ });
|
|
5085
5007
|
function Linear(context) {
|
|
5086
5008
|
this._context = context;
|
|
@@ -5121,12 +5043,12 @@ Linear.prototype = {
|
|
|
5121
5043
|
/*!**************************************************************************************************!*\
|
|
5122
5044
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/linearClosed.js ***!
|
|
5123
5045
|
\**************************************************************************************************/
|
|
5124
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5046
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5125
5047
|
|
|
5126
5048
|
"use strict";
|
|
5127
5049
|
__webpack_require__.r(__webpack_exports__);
|
|
5128
5050
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5129
|
-
/* harmony export */ "default": ()
|
|
5051
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5130
5052
|
/* harmony export */ });
|
|
5131
5053
|
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../noop.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/noop.js");
|
|
5132
5054
|
|
|
@@ -5162,13 +5084,13 @@ LinearClosed.prototype = {
|
|
|
5162
5084
|
/*!**********************************************************************************************!*\
|
|
5163
5085
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/monotone.js ***!
|
|
5164
5086
|
\**********************************************************************************************/
|
|
5165
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5087
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5166
5088
|
|
|
5167
5089
|
"use strict";
|
|
5168
5090
|
__webpack_require__.r(__webpack_exports__);
|
|
5169
5091
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5170
|
-
/* harmony export */ "monotoneX": ()
|
|
5171
|
-
/* harmony export */ "monotoneY": ()
|
|
5092
|
+
/* harmony export */ "monotoneX": function() { return /* binding */ monotoneX; },
|
|
5093
|
+
/* harmony export */ "monotoneY": function() { return /* binding */ monotoneY; }
|
|
5172
5094
|
/* harmony export */ });
|
|
5173
5095
|
function sign(x) {
|
|
5174
5096
|
return x < 0 ? -1 : 1;
|
|
@@ -5282,12 +5204,12 @@ function monotoneY(context) {
|
|
|
5282
5204
|
/*!*********************************************************************************************!*\
|
|
5283
5205
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/natural.js ***!
|
|
5284
5206
|
\*********************************************************************************************/
|
|
5285
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5207
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5286
5208
|
|
|
5287
5209
|
"use strict";
|
|
5288
5210
|
__webpack_require__.r(__webpack_exports__);
|
|
5289
5211
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5290
|
-
/* harmony export */ "default": ()
|
|
5212
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5291
5213
|
/* harmony export */ });
|
|
5292
5214
|
function Natural(context) {
|
|
5293
5215
|
this._context = context;
|
|
@@ -5362,13 +5284,13 @@ function controlPoints(x) {
|
|
|
5362
5284
|
/*!********************************************************************************************!*\
|
|
5363
5285
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/radial.js ***!
|
|
5364
5286
|
\********************************************************************************************/
|
|
5365
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5287
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5366
5288
|
|
|
5367
5289
|
"use strict";
|
|
5368
5290
|
__webpack_require__.r(__webpack_exports__);
|
|
5369
5291
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5370
|
-
/* harmony export */ "curveRadialLinear": ()
|
|
5371
|
-
/* harmony export */ "default": ()
|
|
5292
|
+
/* harmony export */ "curveRadialLinear": function() { return /* binding */ curveRadialLinear; },
|
|
5293
|
+
/* harmony export */ "default": function() { return /* binding */ curveRadial; }
|
|
5372
5294
|
/* harmony export */ });
|
|
5373
5295
|
/* harmony import */ var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./linear.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/linear.js");
|
|
5374
5296
|
|
|
@@ -5415,14 +5337,14 @@ function curveRadial(curve) {
|
|
|
5415
5337
|
/*!******************************************************************************************!*\
|
|
5416
5338
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/step.js ***!
|
|
5417
5339
|
\******************************************************************************************/
|
|
5418
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5340
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5419
5341
|
|
|
5420
5342
|
"use strict";
|
|
5421
5343
|
__webpack_require__.r(__webpack_exports__);
|
|
5422
5344
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5423
|
-
/* harmony export */ "default": ()
|
|
5424
|
-
/* harmony export */ "stepAfter": ()
|
|
5425
|
-
/* harmony export */ "stepBefore": ()
|
|
5345
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },
|
|
5346
|
+
/* harmony export */ "stepAfter": function() { return /* binding */ stepAfter; },
|
|
5347
|
+
/* harmony export */ "stepBefore": function() { return /* binding */ stepBefore; }
|
|
5426
5348
|
/* harmony export */ });
|
|
5427
5349
|
function Step(context, t) {
|
|
5428
5350
|
this._context = context;
|
|
@@ -5485,12 +5407,12 @@ function stepAfter(context) {
|
|
|
5485
5407
|
/*!******************************************************************************************!*\
|
|
5486
5408
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/descending.js ***!
|
|
5487
5409
|
\******************************************************************************************/
|
|
5488
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5410
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5489
5411
|
|
|
5490
5412
|
"use strict";
|
|
5491
5413
|
__webpack_require__.r(__webpack_exports__);
|
|
5492
5414
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5493
|
-
/* harmony export */ "default": ()
|
|
5415
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5494
5416
|
/* harmony export */ });
|
|
5495
5417
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
5496
5418
|
return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
|
|
@@ -5503,12 +5425,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5503
5425
|
/*!****************************************************************************************!*\
|
|
5504
5426
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/identity.js ***!
|
|
5505
5427
|
\****************************************************************************************/
|
|
5506
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5428
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5507
5429
|
|
|
5508
5430
|
"use strict";
|
|
5509
5431
|
__webpack_require__.r(__webpack_exports__);
|
|
5510
5432
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5511
|
-
/* harmony export */ "default": ()
|
|
5433
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5512
5434
|
/* harmony export */ });
|
|
5513
5435
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(d) {
|
|
5514
5436
|
return d;
|
|
@@ -5521,73 +5443,73 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5521
5443
|
/*!*************************************************************************************!*\
|
|
5522
5444
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/index.js ***!
|
|
5523
5445
|
\*************************************************************************************/
|
|
5524
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5446
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5525
5447
|
|
|
5526
5448
|
"use strict";
|
|
5527
5449
|
__webpack_require__.r(__webpack_exports__);
|
|
5528
5450
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5529
|
-
/* harmony export */ "arc": ()
|
|
5530
|
-
/* harmony export */ "area": ()
|
|
5531
|
-
/* harmony export */ "areaRadial": ()
|
|
5532
|
-
/* harmony export */ "curveBasis": ()
|
|
5533
|
-
/* harmony export */ "curveBasisClosed": ()
|
|
5534
|
-
/* harmony export */ "curveBasisOpen": ()
|
|
5535
|
-
/* harmony export */ "curveBumpX": ()
|
|
5536
|
-
/* harmony export */ "curveBumpY": ()
|
|
5537
|
-
/* harmony export */ "curveBundle": ()
|
|
5538
|
-
/* harmony export */ "curveCardinal": ()
|
|
5539
|
-
/* harmony export */ "curveCardinalClosed": ()
|
|
5540
|
-
/* harmony export */ "curveCardinalOpen": ()
|
|
5541
|
-
/* harmony export */ "curveCatmullRom": ()
|
|
5542
|
-
/* harmony export */ "curveCatmullRomClosed": ()
|
|
5543
|
-
/* harmony export */ "curveCatmullRomOpen": ()
|
|
5544
|
-
/* harmony export */ "curveLinear": ()
|
|
5545
|
-
/* harmony export */ "curveLinearClosed": ()
|
|
5546
|
-
/* harmony export */ "curveMonotoneX": ()
|
|
5547
|
-
/* harmony export */ "curveMonotoneY": ()
|
|
5548
|
-
/* harmony export */ "curveNatural": ()
|
|
5549
|
-
/* harmony export */ "curveStep": ()
|
|
5550
|
-
/* harmony export */ "curveStepAfter": ()
|
|
5551
|
-
/* harmony export */ "curveStepBefore": ()
|
|
5552
|
-
/* harmony export */ "line": ()
|
|
5553
|
-
/* harmony export */ "lineRadial": ()
|
|
5554
|
-
/* harmony export */ "link": ()
|
|
5555
|
-
/* harmony export */ "linkHorizontal": ()
|
|
5556
|
-
/* harmony export */ "linkRadial": ()
|
|
5557
|
-
/* harmony export */ "linkVertical": ()
|
|
5558
|
-
/* harmony export */ "pie": ()
|
|
5559
|
-
/* harmony export */ "pointRadial": ()
|
|
5560
|
-
/* harmony export */ "radialArea": ()
|
|
5561
|
-
/* harmony export */ "radialLine": ()
|
|
5562
|
-
/* harmony export */ "stack": ()
|
|
5563
|
-
/* harmony export */ "stackOffsetDiverging": ()
|
|
5564
|
-
/* harmony export */ "stackOffsetExpand": ()
|
|
5565
|
-
/* harmony export */ "stackOffsetNone": ()
|
|
5566
|
-
/* harmony export */ "stackOffsetSilhouette": ()
|
|
5567
|
-
/* harmony export */ "stackOffsetWiggle": ()
|
|
5568
|
-
/* harmony export */ "stackOrderAppearance": ()
|
|
5569
|
-
/* harmony export */ "stackOrderAscending": ()
|
|
5570
|
-
/* harmony export */ "stackOrderDescending": ()
|
|
5571
|
-
/* harmony export */ "stackOrderInsideOut": ()
|
|
5572
|
-
/* harmony export */ "stackOrderNone": ()
|
|
5573
|
-
/* harmony export */ "stackOrderReverse": ()
|
|
5574
|
-
/* harmony export */ "symbol": ()
|
|
5575
|
-
/* harmony export */ "symbolAsterisk": ()
|
|
5576
|
-
/* harmony export */ "symbolCircle": ()
|
|
5577
|
-
/* harmony export */ "symbolCross": ()
|
|
5578
|
-
/* harmony export */ "symbolDiamond": ()
|
|
5579
|
-
/* harmony export */ "symbolDiamond2": ()
|
|
5580
|
-
/* harmony export */ "symbolPlus": ()
|
|
5581
|
-
/* harmony export */ "symbolSquare": ()
|
|
5582
|
-
/* harmony export */ "symbolSquare2": ()
|
|
5583
|
-
/* harmony export */ "symbolStar": ()
|
|
5584
|
-
/* harmony export */ "symbolTriangle": ()
|
|
5585
|
-
/* harmony export */ "symbolTriangle2": ()
|
|
5586
|
-
/* harmony export */ "symbolWye": ()
|
|
5587
|
-
/* harmony export */ "symbolX": ()
|
|
5588
|
-
/* harmony export */ "symbols": ()
|
|
5589
|
-
/* harmony export */ "symbolsFill": ()
|
|
5590
|
-
/* harmony export */ "symbolsStroke": ()
|
|
5451
|
+
/* harmony export */ "arc": function() { return /* reexport safe */ _arc_js__WEBPACK_IMPORTED_MODULE_0__["default"]; },
|
|
5452
|
+
/* harmony export */ "area": function() { return /* reexport safe */ _area_js__WEBPACK_IMPORTED_MODULE_1__["default"]; },
|
|
5453
|
+
/* harmony export */ "areaRadial": function() { return /* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
5454
|
+
/* harmony export */ "curveBasis": function() { return /* reexport safe */ _curve_basis_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
5455
|
+
/* harmony export */ "curveBasisClosed": function() { return /* reexport safe */ _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
5456
|
+
/* harmony export */ "curveBasisOpen": function() { return /* reexport safe */ _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
5457
|
+
/* harmony export */ "curveBumpX": function() { return /* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpX; },
|
|
5458
|
+
/* harmony export */ "curveBumpY": function() { return /* reexport safe */ _curve_bump_js__WEBPACK_IMPORTED_MODULE_25__.bumpY; },
|
|
5459
|
+
/* harmony export */ "curveBundle": function() { return /* reexport safe */ _curve_bundle_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
5460
|
+
/* harmony export */ "curveCardinal": function() { return /* reexport safe */ _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_29__["default"]; },
|
|
5461
|
+
/* harmony export */ "curveCardinalClosed": function() { return /* reexport safe */ _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_27__["default"]; },
|
|
5462
|
+
/* harmony export */ "curveCardinalOpen": function() { return /* reexport safe */ _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_28__["default"]; },
|
|
5463
|
+
/* harmony export */ "curveCatmullRom": function() { return /* reexport safe */ _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_32__["default"]; },
|
|
5464
|
+
/* harmony export */ "curveCatmullRomClosed": function() { return /* reexport safe */ _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_30__["default"]; },
|
|
5465
|
+
/* harmony export */ "curveCatmullRomOpen": function() { return /* reexport safe */ _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_31__["default"]; },
|
|
5466
|
+
/* harmony export */ "curveLinear": function() { return /* reexport safe */ _curve_linear_js__WEBPACK_IMPORTED_MODULE_34__["default"]; },
|
|
5467
|
+
/* harmony export */ "curveLinearClosed": function() { return /* reexport safe */ _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_33__["default"]; },
|
|
5468
|
+
/* harmony export */ "curveMonotoneX": function() { return /* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneX; },
|
|
5469
|
+
/* harmony export */ "curveMonotoneY": function() { return /* reexport safe */ _curve_monotone_js__WEBPACK_IMPORTED_MODULE_35__.monotoneY; },
|
|
5470
|
+
/* harmony export */ "curveNatural": function() { return /* reexport safe */ _curve_natural_js__WEBPACK_IMPORTED_MODULE_36__["default"]; },
|
|
5471
|
+
/* harmony export */ "curveStep": function() { return /* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__["default"]; },
|
|
5472
|
+
/* harmony export */ "curveStepAfter": function() { return /* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepAfter; },
|
|
5473
|
+
/* harmony export */ "curveStepBefore": function() { return /* reexport safe */ _curve_step_js__WEBPACK_IMPORTED_MODULE_37__.stepBefore; },
|
|
5474
|
+
/* harmony export */ "line": function() { return /* reexport safe */ _line_js__WEBPACK_IMPORTED_MODULE_2__["default"]; },
|
|
5475
|
+
/* harmony export */ "lineRadial": function() { return /* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
5476
|
+
/* harmony export */ "link": function() { return /* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.link; },
|
|
5477
|
+
/* harmony export */ "linkHorizontal": function() { return /* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkHorizontal; },
|
|
5478
|
+
/* harmony export */ "linkRadial": function() { return /* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkRadial; },
|
|
5479
|
+
/* harmony export */ "linkVertical": function() { return /* reexport safe */ _link_js__WEBPACK_IMPORTED_MODULE_7__.linkVertical; },
|
|
5480
|
+
/* harmony export */ "pie": function() { return /* reexport safe */ _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"]; },
|
|
5481
|
+
/* harmony export */ "pointRadial": function() { return /* reexport safe */ _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"]; },
|
|
5482
|
+
/* harmony export */ "radialArea": function() { return /* reexport safe */ _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
5483
|
+
/* harmony export */ "radialLine": function() { return /* reexport safe */ _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
5484
|
+
/* harmony export */ "stack": function() { return /* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_38__["default"]; },
|
|
5485
|
+
/* harmony export */ "stackOffsetDiverging": function() { return /* reexport safe */ _offset_diverging_js__WEBPACK_IMPORTED_MODULE_40__["default"]; },
|
|
5486
|
+
/* harmony export */ "stackOffsetExpand": function() { return /* reexport safe */ _offset_expand_js__WEBPACK_IMPORTED_MODULE_39__["default"]; },
|
|
5487
|
+
/* harmony export */ "stackOffsetNone": function() { return /* reexport safe */ _offset_none_js__WEBPACK_IMPORTED_MODULE_41__["default"]; },
|
|
5488
|
+
/* harmony export */ "stackOffsetSilhouette": function() { return /* reexport safe */ _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_42__["default"]; },
|
|
5489
|
+
/* harmony export */ "stackOffsetWiggle": function() { return /* reexport safe */ _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_43__["default"]; },
|
|
5490
|
+
/* harmony export */ "stackOrderAppearance": function() { return /* reexport safe */ _order_appearance_js__WEBPACK_IMPORTED_MODULE_44__["default"]; },
|
|
5491
|
+
/* harmony export */ "stackOrderAscending": function() { return /* reexport safe */ _order_ascending_js__WEBPACK_IMPORTED_MODULE_45__["default"]; },
|
|
5492
|
+
/* harmony export */ "stackOrderDescending": function() { return /* reexport safe */ _order_descending_js__WEBPACK_IMPORTED_MODULE_46__["default"]; },
|
|
5493
|
+
/* harmony export */ "stackOrderInsideOut": function() { return /* reexport safe */ _order_insideOut_js__WEBPACK_IMPORTED_MODULE_47__["default"]; },
|
|
5494
|
+
/* harmony export */ "stackOrderNone": function() { return /* reexport safe */ _order_none_js__WEBPACK_IMPORTED_MODULE_48__["default"]; },
|
|
5495
|
+
/* harmony export */ "stackOrderReverse": function() { return /* reexport safe */ _order_reverse_js__WEBPACK_IMPORTED_MODULE_49__["default"]; },
|
|
5496
|
+
/* harmony export */ "symbol": function() { return /* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
5497
|
+
/* harmony export */ "symbolAsterisk": function() { return /* reexport safe */ _symbol_asterisk_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
5498
|
+
/* harmony export */ "symbolCircle": function() { return /* reexport safe */ _symbol_circle_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
5499
|
+
/* harmony export */ "symbolCross": function() { return /* reexport safe */ _symbol_cross_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
5500
|
+
/* harmony export */ "symbolDiamond": function() { return /* reexport safe */ _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
5501
|
+
/* harmony export */ "symbolDiamond2": function() { return /* reexport safe */ _symbol_diamond2_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
5502
|
+
/* harmony export */ "symbolPlus": function() { return /* reexport safe */ _symbol_plus_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
5503
|
+
/* harmony export */ "symbolSquare": function() { return /* reexport safe */ _symbol_square_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
5504
|
+
/* harmony export */ "symbolSquare2": function() { return /* reexport safe */ _symbol_square2_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
5505
|
+
/* harmony export */ "symbolStar": function() { return /* reexport safe */ _symbol_star_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
5506
|
+
/* harmony export */ "symbolTriangle": function() { return /* reexport safe */ _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
5507
|
+
/* harmony export */ "symbolTriangle2": function() { return /* reexport safe */ _symbol_triangle2_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
5508
|
+
/* harmony export */ "symbolWye": function() { return /* reexport safe */ _symbol_wye_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
5509
|
+
/* harmony export */ "symbolX": function() { return /* reexport safe */ _symbol_x_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
5510
|
+
/* harmony export */ "symbols": function() { return /* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill; },
|
|
5511
|
+
/* harmony export */ "symbolsFill": function() { return /* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsFill; },
|
|
5512
|
+
/* harmony export */ "symbolsStroke": function() { return /* reexport safe */ _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbolsStroke; }
|
|
5591
5513
|
/* harmony export */ });
|
|
5592
5514
|
/* harmony import */ var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arc.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/arc.js");
|
|
5593
5515
|
/* harmony import */ var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./area.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/area.js");
|
|
@@ -5700,12 +5622,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5700
5622
|
/*!************************************************************************************!*\
|
|
5701
5623
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/line.js ***!
|
|
5702
5624
|
\************************************************************************************/
|
|
5703
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5625
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5704
5626
|
|
|
5705
5627
|
"use strict";
|
|
5706
5628
|
__webpack_require__.r(__webpack_exports__);
|
|
5707
5629
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5708
|
-
/* harmony export */ "default": ()
|
|
5630
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5709
5631
|
/* harmony export */ });
|
|
5710
5632
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! d3-path */ "../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js");
|
|
5711
5633
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./array.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js");
|
|
@@ -5777,13 +5699,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5777
5699
|
/*!******************************************************************************************!*\
|
|
5778
5700
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/lineRadial.js ***!
|
|
5779
5701
|
\******************************************************************************************/
|
|
5780
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5702
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5781
5703
|
|
|
5782
5704
|
"use strict";
|
|
5783
5705
|
__webpack_require__.r(__webpack_exports__);
|
|
5784
5706
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5785
|
-
/* harmony export */ "default": ()
|
|
5786
|
-
/* harmony export */ "lineRadial": ()
|
|
5707
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },
|
|
5708
|
+
/* harmony export */ "lineRadial": function() { return /* binding */ lineRadial; }
|
|
5787
5709
|
/* harmony export */ });
|
|
5788
5710
|
/* harmony import */ var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./curve/radial.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/curve/radial.js");
|
|
5789
5711
|
/* harmony import */ var _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./line.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/line.js");
|
|
@@ -5814,15 +5736,15 @@ function lineRadial(l) {
|
|
|
5814
5736
|
/*!************************************************************************************!*\
|
|
5815
5737
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/link.js ***!
|
|
5816
5738
|
\************************************************************************************/
|
|
5817
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5739
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5818
5740
|
|
|
5819
5741
|
"use strict";
|
|
5820
5742
|
__webpack_require__.r(__webpack_exports__);
|
|
5821
5743
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5822
|
-
/* harmony export */ "link": ()
|
|
5823
|
-
/* harmony export */ "linkHorizontal": ()
|
|
5824
|
-
/* harmony export */ "linkRadial": ()
|
|
5825
|
-
/* harmony export */ "linkVertical": ()
|
|
5744
|
+
/* harmony export */ "link": function() { return /* binding */ link; },
|
|
5745
|
+
/* harmony export */ "linkHorizontal": function() { return /* binding */ linkHorizontal; },
|
|
5746
|
+
/* harmony export */ "linkRadial": function() { return /* binding */ linkRadial; },
|
|
5747
|
+
/* harmony export */ "linkVertical": function() { return /* binding */ linkVertical; }
|
|
5826
5748
|
/* harmony export */ });
|
|
5827
5749
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! d3-path */ "../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js");
|
|
5828
5750
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./array.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js");
|
|
@@ -5909,24 +5831,24 @@ function linkRadial() {
|
|
|
5909
5831
|
/*!************************************************************************************!*\
|
|
5910
5832
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js ***!
|
|
5911
5833
|
\************************************************************************************/
|
|
5912
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5834
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5913
5835
|
|
|
5914
5836
|
"use strict";
|
|
5915
5837
|
__webpack_require__.r(__webpack_exports__);
|
|
5916
5838
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5917
|
-
/* harmony export */ "abs": ()
|
|
5918
|
-
/* harmony export */ "acos": ()
|
|
5919
|
-
/* harmony export */ "asin": ()
|
|
5920
|
-
/* harmony export */ "atan2": ()
|
|
5921
|
-
/* harmony export */ "cos": ()
|
|
5922
|
-
/* harmony export */ "epsilon": ()
|
|
5923
|
-
/* harmony export */ "halfPi": ()
|
|
5924
|
-
/* harmony export */ "max": ()
|
|
5925
|
-
/* harmony export */ "min": ()
|
|
5926
|
-
/* harmony export */ "pi": ()
|
|
5927
|
-
/* harmony export */ "sin": ()
|
|
5928
|
-
/* harmony export */ "sqrt": ()
|
|
5929
|
-
/* harmony export */ "tau": ()
|
|
5839
|
+
/* harmony export */ "abs": function() { return /* binding */ abs; },
|
|
5840
|
+
/* harmony export */ "acos": function() { return /* binding */ acos; },
|
|
5841
|
+
/* harmony export */ "asin": function() { return /* binding */ asin; },
|
|
5842
|
+
/* harmony export */ "atan2": function() { return /* binding */ atan2; },
|
|
5843
|
+
/* harmony export */ "cos": function() { return /* binding */ cos; },
|
|
5844
|
+
/* harmony export */ "epsilon": function() { return /* binding */ epsilon; },
|
|
5845
|
+
/* harmony export */ "halfPi": function() { return /* binding */ halfPi; },
|
|
5846
|
+
/* harmony export */ "max": function() { return /* binding */ max; },
|
|
5847
|
+
/* harmony export */ "min": function() { return /* binding */ min; },
|
|
5848
|
+
/* harmony export */ "pi": function() { return /* binding */ pi; },
|
|
5849
|
+
/* harmony export */ "sin": function() { return /* binding */ sin; },
|
|
5850
|
+
/* harmony export */ "sqrt": function() { return /* binding */ sqrt; },
|
|
5851
|
+
/* harmony export */ "tau": function() { return /* binding */ tau; }
|
|
5930
5852
|
/* harmony export */ });
|
|
5931
5853
|
const abs = Math.abs;
|
|
5932
5854
|
const atan2 = Math.atan2;
|
|
@@ -5956,12 +5878,12 @@ function asin(x) {
|
|
|
5956
5878
|
/*!************************************************************************************!*\
|
|
5957
5879
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/noop.js ***!
|
|
5958
5880
|
\************************************************************************************/
|
|
5959
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5881
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5960
5882
|
|
|
5961
5883
|
"use strict";
|
|
5962
5884
|
__webpack_require__.r(__webpack_exports__);
|
|
5963
5885
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5964
|
-
/* harmony export */ "default": ()
|
|
5886
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5965
5887
|
/* harmony export */ });
|
|
5966
5888
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {}
|
|
5967
5889
|
|
|
@@ -5972,12 +5894,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5972
5894
|
/*!************************************************************************************************!*\
|
|
5973
5895
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/diverging.js ***!
|
|
5974
5896
|
\************************************************************************************************/
|
|
5975
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5897
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
5976
5898
|
|
|
5977
5899
|
"use strict";
|
|
5978
5900
|
__webpack_require__.r(__webpack_exports__);
|
|
5979
5901
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5980
|
-
/* harmony export */ "default": ()
|
|
5902
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
5981
5903
|
/* harmony export */ });
|
|
5982
5904
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) {
|
|
5983
5905
|
if (!((n = series.length) > 0)) return;
|
|
@@ -6001,12 +5923,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6001
5923
|
/*!*********************************************************************************************!*\
|
|
6002
5924
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/expand.js ***!
|
|
6003
5925
|
\*********************************************************************************************/
|
|
6004
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5926
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6005
5927
|
|
|
6006
5928
|
"use strict";
|
|
6007
5929
|
__webpack_require__.r(__webpack_exports__);
|
|
6008
5930
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6009
|
-
/* harmony export */ "default": ()
|
|
5931
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6010
5932
|
/* harmony export */ });
|
|
6011
5933
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/none.js");
|
|
6012
5934
|
|
|
@@ -6027,12 +5949,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6027
5949
|
/*!*******************************************************************************************!*\
|
|
6028
5950
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/none.js ***!
|
|
6029
5951
|
\*******************************************************************************************/
|
|
6030
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5952
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6031
5953
|
|
|
6032
5954
|
"use strict";
|
|
6033
5955
|
__webpack_require__.r(__webpack_exports__);
|
|
6034
5956
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6035
|
-
/* harmony export */ "default": ()
|
|
5957
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6036
5958
|
/* harmony export */ });
|
|
6037
5959
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series, order) {
|
|
6038
5960
|
if (!((n = series.length) > 1)) return;
|
|
@@ -6051,12 +5973,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6051
5973
|
/*!*************************************************************************************************!*\
|
|
6052
5974
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/silhouette.js ***!
|
|
6053
5975
|
\*************************************************************************************************/
|
|
6054
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
5976
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6055
5977
|
|
|
6056
5978
|
"use strict";
|
|
6057
5979
|
__webpack_require__.r(__webpack_exports__);
|
|
6058
5980
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6059
|
-
/* harmony export */ "default": ()
|
|
5981
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6060
5982
|
/* harmony export */ });
|
|
6061
5983
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/none.js");
|
|
6062
5984
|
|
|
@@ -6077,12 +5999,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6077
5999
|
/*!*********************************************************************************************!*\
|
|
6078
6000
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/wiggle.js ***!
|
|
6079
6001
|
\*********************************************************************************************/
|
|
6080
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6002
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6081
6003
|
|
|
6082
6004
|
"use strict";
|
|
6083
6005
|
__webpack_require__.r(__webpack_exports__);
|
|
6084
6006
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6085
|
-
/* harmony export */ "default": ()
|
|
6007
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6086
6008
|
/* harmony export */ });
|
|
6087
6009
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/offset/none.js");
|
|
6088
6010
|
|
|
@@ -6117,12 +6039,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6117
6039
|
/*!************************************************************************************************!*\
|
|
6118
6040
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/appearance.js ***!
|
|
6119
6041
|
\************************************************************************************************/
|
|
6120
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6042
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6121
6043
|
|
|
6122
6044
|
"use strict";
|
|
6123
6045
|
__webpack_require__.r(__webpack_exports__);
|
|
6124
6046
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6125
|
-
/* harmony export */ "default": ()
|
|
6047
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6126
6048
|
/* harmony export */ });
|
|
6127
6049
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/none.js");
|
|
6128
6050
|
|
|
@@ -6145,13 +6067,13 @@ function peak(series) {
|
|
|
6145
6067
|
/*!***********************************************************************************************!*\
|
|
6146
6068
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/ascending.js ***!
|
|
6147
6069
|
\***********************************************************************************************/
|
|
6148
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6070
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6149
6071
|
|
|
6150
6072
|
"use strict";
|
|
6151
6073
|
__webpack_require__.r(__webpack_exports__);
|
|
6152
6074
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6153
|
-
/* harmony export */ "default": ()
|
|
6154
|
-
/* harmony export */ "sum": ()
|
|
6075
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },
|
|
6076
|
+
/* harmony export */ "sum": function() { return /* binding */ sum; }
|
|
6155
6077
|
/* harmony export */ });
|
|
6156
6078
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/none.js");
|
|
6157
6079
|
|
|
@@ -6174,12 +6096,12 @@ function sum(series) {
|
|
|
6174
6096
|
/*!************************************************************************************************!*\
|
|
6175
6097
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/descending.js ***!
|
|
6176
6098
|
\************************************************************************************************/
|
|
6177
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6099
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6178
6100
|
|
|
6179
6101
|
"use strict";
|
|
6180
6102
|
__webpack_require__.r(__webpack_exports__);
|
|
6181
6103
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6182
|
-
/* harmony export */ "default": ()
|
|
6104
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6183
6105
|
/* harmony export */ });
|
|
6184
6106
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/ascending.js");
|
|
6185
6107
|
|
|
@@ -6195,12 +6117,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6195
6117
|
/*!***********************************************************************************************!*\
|
|
6196
6118
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/insideOut.js ***!
|
|
6197
6119
|
\***********************************************************************************************/
|
|
6198
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6120
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6199
6121
|
|
|
6200
6122
|
"use strict";
|
|
6201
6123
|
__webpack_require__.r(__webpack_exports__);
|
|
6202
6124
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6203
|
-
/* harmony export */ "default": ()
|
|
6125
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6204
6126
|
/* harmony export */ });
|
|
6205
6127
|
/* harmony import */ var _appearance_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./appearance.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/appearance.js");
|
|
6206
6128
|
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ascending.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/ascending.js");
|
|
@@ -6239,12 +6161,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6239
6161
|
/*!******************************************************************************************!*\
|
|
6240
6162
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/none.js ***!
|
|
6241
6163
|
\******************************************************************************************/
|
|
6242
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6164
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6243
6165
|
|
|
6244
6166
|
"use strict";
|
|
6245
6167
|
__webpack_require__.r(__webpack_exports__);
|
|
6246
6168
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6247
|
-
/* harmony export */ "default": ()
|
|
6169
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6248
6170
|
/* harmony export */ });
|
|
6249
6171
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(series) {
|
|
6250
6172
|
var n = series.length, o = new Array(n);
|
|
@@ -6259,12 +6181,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6259
6181
|
/*!*********************************************************************************************!*\
|
|
6260
6182
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/reverse.js ***!
|
|
6261
6183
|
\*********************************************************************************************/
|
|
6262
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6184
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6263
6185
|
|
|
6264
6186
|
"use strict";
|
|
6265
6187
|
__webpack_require__.r(__webpack_exports__);
|
|
6266
6188
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6267
|
-
/* harmony export */ "default": ()
|
|
6189
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6268
6190
|
/* harmony export */ });
|
|
6269
6191
|
/* harmony import */ var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./none.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/order/none.js");
|
|
6270
6192
|
|
|
@@ -6280,12 +6202,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6280
6202
|
/*!***********************************************************************************!*\
|
|
6281
6203
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/pie.js ***!
|
|
6282
6204
|
\***********************************************************************************/
|
|
6283
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6205
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6284
6206
|
|
|
6285
6207
|
"use strict";
|
|
6286
6208
|
__webpack_require__.r(__webpack_exports__);
|
|
6287
6209
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6288
|
-
/* harmony export */ "default": ()
|
|
6210
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6289
6211
|
/* harmony export */ });
|
|
6290
6212
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./array.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js");
|
|
6291
6213
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constant.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/constant.js");
|
|
@@ -6380,13 +6302,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6380
6302
|
/*!*************************************************************************************!*\
|
|
6381
6303
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/point.js ***!
|
|
6382
6304
|
\*************************************************************************************/
|
|
6383
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6305
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6384
6306
|
|
|
6385
6307
|
"use strict";
|
|
6386
6308
|
__webpack_require__.r(__webpack_exports__);
|
|
6387
6309
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6388
|
-
/* harmony export */ "x": ()
|
|
6389
|
-
/* harmony export */ "y": ()
|
|
6310
|
+
/* harmony export */ "x": function() { return /* binding */ x; },
|
|
6311
|
+
/* harmony export */ "y": function() { return /* binding */ y; }
|
|
6390
6312
|
/* harmony export */ });
|
|
6391
6313
|
function x(p) {
|
|
6392
6314
|
return p[0];
|
|
@@ -6403,12 +6325,12 @@ function y(p) {
|
|
|
6403
6325
|
/*!*******************************************************************************************!*\
|
|
6404
6326
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/pointRadial.js ***!
|
|
6405
6327
|
\*******************************************************************************************/
|
|
6406
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6328
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6407
6329
|
|
|
6408
6330
|
"use strict";
|
|
6409
6331
|
__webpack_require__.r(__webpack_exports__);
|
|
6410
6332
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6411
|
-
/* harmony export */ "default": ()
|
|
6333
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6412
6334
|
/* harmony export */ });
|
|
6413
6335
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, y) {
|
|
6414
6336
|
return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];
|
|
@@ -6421,12 +6343,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6421
6343
|
/*!*************************************************************************************!*\
|
|
6422
6344
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/stack.js ***!
|
|
6423
6345
|
\*************************************************************************************/
|
|
6424
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6346
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6425
6347
|
|
|
6426
6348
|
"use strict";
|
|
6427
6349
|
__webpack_require__.r(__webpack_exports__);
|
|
6428
6350
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6429
|
-
/* harmony export */ "default": ()
|
|
6351
|
+
/* harmony export */ "default": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }
|
|
6430
6352
|
/* harmony export */ });
|
|
6431
6353
|
/* harmony import */ var _array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./array.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/array.js");
|
|
6432
6354
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/constant.js");
|
|
@@ -6498,14 +6420,14 @@ function stackSeries(key) {
|
|
|
6498
6420
|
/*!**************************************************************************************!*\
|
|
6499
6421
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol.js ***!
|
|
6500
6422
|
\**************************************************************************************/
|
|
6501
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6423
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6502
6424
|
|
|
6503
6425
|
"use strict";
|
|
6504
6426
|
__webpack_require__.r(__webpack_exports__);
|
|
6505
6427
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6506
|
-
/* harmony export */ "default": ()
|
|
6507
|
-
/* harmony export */ "symbolsFill": ()
|
|
6508
|
-
/* harmony export */ "symbolsStroke": ()
|
|
6428
|
+
/* harmony export */ "default": function() { return /* binding */ Symbol; },
|
|
6429
|
+
/* harmony export */ "symbolsFill": function() { return /* binding */ symbolsFill; },
|
|
6430
|
+
/* harmony export */ "symbolsStroke": function() { return /* binding */ symbolsStroke; }
|
|
6509
6431
|
/* harmony export */ });
|
|
6510
6432
|
/* harmony import */ var d3_path__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! d3-path */ "../../../node_modules/.pnpm/d3-path@3.0.1/node_modules/d3-path/src/path.js");
|
|
6511
6433
|
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./constant.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/constant.js");
|
|
@@ -6595,19 +6517,16 @@ function Symbol(type, size) {
|
|
|
6595
6517
|
/*!***********************************************************************************************!*\
|
|
6596
6518
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/asterisk.js ***!
|
|
6597
6519
|
\***********************************************************************************************/
|
|
6598
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6520
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6599
6521
|
|
|
6600
6522
|
"use strict";
|
|
6601
6523
|
__webpack_require__.r(__webpack_exports__);
|
|
6602
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6603
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6604
|
-
/* harmony export */ });
|
|
6605
6524
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6606
6525
|
|
|
6607
6526
|
|
|
6608
6527
|
const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
6609
6528
|
|
|
6610
|
-
/* harmony default export */
|
|
6529
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6611
6530
|
draw(context, size) {
|
|
6612
6531
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size + (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(size / 28, 0.75)) * 0.59436;
|
|
6613
6532
|
const t = r / 2;
|
|
@@ -6628,17 +6547,14 @@ const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
|
6628
6547
|
/*!*********************************************************************************************!*\
|
|
6629
6548
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/circle.js ***!
|
|
6630
6549
|
\*********************************************************************************************/
|
|
6631
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6550
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6632
6551
|
|
|
6633
6552
|
"use strict";
|
|
6634
6553
|
__webpack_require__.r(__webpack_exports__);
|
|
6635
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6636
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6637
|
-
/* harmony export */ });
|
|
6638
6554
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6639
6555
|
|
|
6640
6556
|
|
|
6641
|
-
/* harmony default export */
|
|
6557
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6642
6558
|
draw(context, size) {
|
|
6643
6559
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / _math_js__WEBPACK_IMPORTED_MODULE_0__.pi);
|
|
6644
6560
|
context.moveTo(r, 0);
|
|
@@ -6653,17 +6569,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6653
6569
|
/*!********************************************************************************************!*\
|
|
6654
6570
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/cross.js ***!
|
|
6655
6571
|
\********************************************************************************************/
|
|
6656
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6572
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6657
6573
|
|
|
6658
6574
|
"use strict";
|
|
6659
6575
|
__webpack_require__.r(__webpack_exports__);
|
|
6660
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6661
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6662
|
-
/* harmony export */ });
|
|
6663
6576
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6664
6577
|
|
|
6665
6578
|
|
|
6666
|
-
/* harmony default export */
|
|
6579
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6667
6580
|
draw(context, size) {
|
|
6668
6581
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / 5) / 2;
|
|
6669
6582
|
context.moveTo(-3 * r, -r);
|
|
@@ -6689,20 +6602,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6689
6602
|
/*!**********************************************************************************************!*\
|
|
6690
6603
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/diamond.js ***!
|
|
6691
6604
|
\**********************************************************************************************/
|
|
6692
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6605
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6693
6606
|
|
|
6694
6607
|
"use strict";
|
|
6695
6608
|
__webpack_require__.r(__webpack_exports__);
|
|
6696
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6697
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6698
|
-
/* harmony export */ });
|
|
6699
6609
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6700
6610
|
|
|
6701
6611
|
|
|
6702
6612
|
const tan30 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(1 / 3);
|
|
6703
6613
|
const tan30_2 = tan30 * 2;
|
|
6704
6614
|
|
|
6705
|
-
/* harmony default export */
|
|
6615
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6706
6616
|
draw(context, size) {
|
|
6707
6617
|
const y = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / tan30_2);
|
|
6708
6618
|
const x = y * tan30;
|
|
@@ -6721,17 +6631,14 @@ const tan30_2 = tan30 * 2;
|
|
|
6721
6631
|
/*!***********************************************************************************************!*\
|
|
6722
6632
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/diamond2.js ***!
|
|
6723
6633
|
\***********************************************************************************************/
|
|
6724
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6634
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6725
6635
|
|
|
6726
6636
|
"use strict";
|
|
6727
6637
|
__webpack_require__.r(__webpack_exports__);
|
|
6728
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6729
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6730
|
-
/* harmony export */ });
|
|
6731
6638
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6732
6639
|
|
|
6733
6640
|
|
|
6734
|
-
/* harmony default export */
|
|
6641
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6735
6642
|
draw(context, size) {
|
|
6736
6643
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.62625;
|
|
6737
6644
|
context.moveTo(0, -r);
|
|
@@ -6749,17 +6656,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6749
6656
|
/*!*******************************************************************************************!*\
|
|
6750
6657
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/plus.js ***!
|
|
6751
6658
|
\*******************************************************************************************/
|
|
6752
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6659
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6753
6660
|
|
|
6754
6661
|
"use strict";
|
|
6755
6662
|
__webpack_require__.r(__webpack_exports__);
|
|
6756
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6757
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6758
|
-
/* harmony export */ });
|
|
6759
6663
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6760
6664
|
|
|
6761
6665
|
|
|
6762
|
-
/* harmony default export */
|
|
6666
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6763
6667
|
draw(context, size) {
|
|
6764
6668
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(size / 7, 2)) * 0.87559;
|
|
6765
6669
|
context.moveTo(-r, 0);
|
|
@@ -6776,17 +6680,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6776
6680
|
/*!*********************************************************************************************!*\
|
|
6777
6681
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/square.js ***!
|
|
6778
6682
|
\*********************************************************************************************/
|
|
6779
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6683
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6780
6684
|
|
|
6781
6685
|
"use strict";
|
|
6782
6686
|
__webpack_require__.r(__webpack_exports__);
|
|
6783
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6784
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6785
|
-
/* harmony export */ });
|
|
6786
6687
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6787
6688
|
|
|
6788
6689
|
|
|
6789
|
-
/* harmony default export */
|
|
6690
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6790
6691
|
draw(context, size) {
|
|
6791
6692
|
const w = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size);
|
|
6792
6693
|
const x = -w / 2;
|
|
@@ -6801,17 +6702,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6801
6702
|
/*!**********************************************************************************************!*\
|
|
6802
6703
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/square2.js ***!
|
|
6803
6704
|
\**********************************************************************************************/
|
|
6804
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6705
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6805
6706
|
|
|
6806
6707
|
"use strict";
|
|
6807
6708
|
__webpack_require__.r(__webpack_exports__);
|
|
6808
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6809
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6810
|
-
/* harmony export */ });
|
|
6811
6709
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6812
6710
|
|
|
6813
6711
|
|
|
6814
|
-
/* harmony default export */
|
|
6712
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6815
6713
|
draw(context, size) {
|
|
6816
6714
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.4431;
|
|
6817
6715
|
context.moveTo(r, r);
|
|
@@ -6829,13 +6727,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6829
6727
|
/*!*******************************************************************************************!*\
|
|
6830
6728
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/star.js ***!
|
|
6831
6729
|
\*******************************************************************************************/
|
|
6832
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6730
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6833
6731
|
|
|
6834
6732
|
"use strict";
|
|
6835
6733
|
__webpack_require__.r(__webpack_exports__);
|
|
6836
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6837
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6838
|
-
/* harmony export */ });
|
|
6839
6734
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6840
6735
|
|
|
6841
6736
|
|
|
@@ -6844,7 +6739,7 @@ const kr = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(_math_js__WEBPACK_IMPOR
|
|
|
6844
6739
|
const kx = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sin)(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr;
|
|
6845
6740
|
const ky = -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr;
|
|
6846
6741
|
|
|
6847
|
-
/* harmony default export */
|
|
6742
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6848
6743
|
draw(context, size) {
|
|
6849
6744
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size * ka);
|
|
6850
6745
|
const x = kx * r;
|
|
@@ -6869,19 +6764,16 @@ const ky = -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.cos)(_math_js__WEBPACK_IMPO
|
|
|
6869
6764
|
/*!***********************************************************************************************!*\
|
|
6870
6765
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/triangle.js ***!
|
|
6871
6766
|
\***********************************************************************************************/
|
|
6872
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6767
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6873
6768
|
|
|
6874
6769
|
"use strict";
|
|
6875
6770
|
__webpack_require__.r(__webpack_exports__);
|
|
6876
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6877
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6878
|
-
/* harmony export */ });
|
|
6879
6771
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6880
6772
|
|
|
6881
6773
|
|
|
6882
6774
|
const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
6883
6775
|
|
|
6884
|
-
/* harmony default export */
|
|
6776
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6885
6777
|
draw(context, size) {
|
|
6886
6778
|
const y = -(0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / (sqrt3 * 3));
|
|
6887
6779
|
context.moveTo(0, y * 2);
|
|
@@ -6898,19 +6790,16 @@ const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
|
6898
6790
|
/*!************************************************************************************************!*\
|
|
6899
6791
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/triangle2.js ***!
|
|
6900
6792
|
\************************************************************************************************/
|
|
6901
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6793
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6902
6794
|
|
|
6903
6795
|
"use strict";
|
|
6904
6796
|
__webpack_require__.r(__webpack_exports__);
|
|
6905
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6906
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6907
|
-
/* harmony export */ });
|
|
6908
6797
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6909
6798
|
|
|
6910
6799
|
|
|
6911
6800
|
const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
6912
6801
|
|
|
6913
|
-
/* harmony default export */
|
|
6802
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6914
6803
|
draw(context, size) {
|
|
6915
6804
|
const s = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size) * 0.6824;
|
|
6916
6805
|
const t = s / 2;
|
|
@@ -6929,13 +6818,10 @@ const sqrt3 = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3);
|
|
|
6929
6818
|
/*!******************************************************************************************!*\
|
|
6930
6819
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/wye.js ***!
|
|
6931
6820
|
\******************************************************************************************/
|
|
6932
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6821
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6933
6822
|
|
|
6934
6823
|
"use strict";
|
|
6935
6824
|
__webpack_require__.r(__webpack_exports__);
|
|
6936
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6937
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6938
|
-
/* harmony export */ });
|
|
6939
6825
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6940
6826
|
|
|
6941
6827
|
|
|
@@ -6944,7 +6830,7 @@ const s = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(3) / 2;
|
|
|
6944
6830
|
const k = 1 / (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(12);
|
|
6945
6831
|
const a = (k / 2 + 1) * 3;
|
|
6946
6832
|
|
|
6947
|
-
/* harmony default export */
|
|
6833
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6948
6834
|
draw(context, size) {
|
|
6949
6835
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size / a);
|
|
6950
6836
|
const x0 = r / 2, y0 = r * k;
|
|
@@ -6970,17 +6856,14 @@ const a = (k / 2 + 1) * 3;
|
|
|
6970
6856
|
/*!****************************************************************************************!*\
|
|
6971
6857
|
!*** ../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/symbol/x.js ***!
|
|
6972
6858
|
\****************************************************************************************/
|
|
6973
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__)
|
|
6859
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6974
6860
|
|
|
6975
6861
|
"use strict";
|
|
6976
6862
|
__webpack_require__.r(__webpack_exports__);
|
|
6977
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6978
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
6979
|
-
/* harmony export */ });
|
|
6980
6863
|
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../math.js */ "../../../node_modules/.pnpm/d3-shape@3.1.0/node_modules/d3-shape/src/math.js");
|
|
6981
6864
|
|
|
6982
6865
|
|
|
6983
|
-
/* harmony default export */
|
|
6866
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
6984
6867
|
draw(context, size) {
|
|
6985
6868
|
const r = (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.sqrt)(size - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(size / 6, 1.7)) * 0.6189;
|
|
6986
6869
|
context.moveTo(-r, -r);
|
|
@@ -7021,31 +6904,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7021
6904
|
/******/
|
|
7022
6905
|
/************************************************************************/
|
|
7023
6906
|
/******/ /* webpack/runtime/compat get default export */
|
|
7024
|
-
/******/ (
|
|
6907
|
+
/******/ !function() {
|
|
7025
6908
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
7026
|
-
/******/ __webpack_require__.n = (module)
|
|
6909
|
+
/******/ __webpack_require__.n = function(module) {
|
|
7027
6910
|
/******/ var getter = module && module.__esModule ?
|
|
7028
|
-
/******/ ()
|
|
7029
|
-
/******/ ()
|
|
6911
|
+
/******/ function() { return module['default']; } :
|
|
6912
|
+
/******/ function() { return module; };
|
|
7030
6913
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
7031
6914
|
/******/ return getter;
|
|
7032
6915
|
/******/ };
|
|
7033
|
-
/******/ }
|
|
6916
|
+
/******/ }();
|
|
7034
6917
|
/******/
|
|
7035
6918
|
/******/ /* webpack/runtime/define property getters */
|
|
7036
|
-
/******/ (
|
|
6919
|
+
/******/ !function() {
|
|
7037
6920
|
/******/ // define getter functions for harmony exports
|
|
7038
|
-
/******/ __webpack_require__.d = (exports, definition)
|
|
6921
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
7039
6922
|
/******/ for(var key in definition) {
|
|
7040
6923
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
7041
6924
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
7042
6925
|
/******/ }
|
|
7043
6926
|
/******/ }
|
|
7044
6927
|
/******/ };
|
|
7045
|
-
/******/ }
|
|
6928
|
+
/******/ }();
|
|
7046
6929
|
/******/
|
|
7047
6930
|
/******/ /* webpack/runtime/global */
|
|
7048
|
-
/******/ (
|
|
6931
|
+
/******/ !function() {
|
|
7049
6932
|
/******/ __webpack_require__.g = (function() {
|
|
7050
6933
|
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
7051
6934
|
/******/ try {
|
|
@@ -7054,39 +6937,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7054
6937
|
/******/ if (typeof window === 'object') return window;
|
|
7055
6938
|
/******/ }
|
|
7056
6939
|
/******/ })();
|
|
7057
|
-
/******/ }
|
|
6940
|
+
/******/ }();
|
|
7058
6941
|
/******/
|
|
7059
6942
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
7060
|
-
/******/ (
|
|
7061
|
-
/******/ __webpack_require__.o = (obj, prop)
|
|
7062
|
-
/******/ }
|
|
6943
|
+
/******/ !function() {
|
|
6944
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
6945
|
+
/******/ }();
|
|
7063
6946
|
/******/
|
|
7064
6947
|
/******/ /* webpack/runtime/make namespace object */
|
|
7065
|
-
/******/ (
|
|
6948
|
+
/******/ !function() {
|
|
7066
6949
|
/******/ // define __esModule on exports
|
|
7067
|
-
/******/ __webpack_require__.r = (exports)
|
|
6950
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
7068
6951
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
7069
6952
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7070
6953
|
/******/ }
|
|
7071
6954
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
7072
6955
|
/******/ };
|
|
7073
|
-
/******/ }
|
|
6956
|
+
/******/ }();
|
|
7074
6957
|
/******/
|
|
7075
6958
|
/************************************************************************/
|
|
7076
6959
|
var __webpack_exports__ = {};
|
|
7077
6960
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
7078
|
-
(
|
|
6961
|
+
!function() {
|
|
7079
6962
|
"use strict";
|
|
7080
6963
|
/*!******************!*\
|
|
7081
6964
|
!*** ./index.ts ***!
|
|
7082
6965
|
\******************/
|
|
7083
6966
|
__webpack_require__.r(__webpack_exports__);
|
|
7084
6967
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7085
|
-
/* harmony export */ "CanvasBar": ()
|
|
7086
|
-
/* harmony export */ "CanvasCurve": ()
|
|
7087
|
-
/* harmony export */ "CanvasGroup": ()
|
|
7088
|
-
/* harmony export */ "CanvasPoint": ()
|
|
7089
|
-
/* harmony export */ "useCanvasContext": ()
|
|
6968
|
+
/* harmony export */ "CanvasBar": function() { return /* reexport safe */ _canvas_bar__WEBPACK_IMPORTED_MODULE_0__.CanvasBar; },
|
|
6969
|
+
/* harmony export */ "CanvasCurve": function() { return /* reexport safe */ _canvas_curve__WEBPACK_IMPORTED_MODULE_2__.CanvasCurve; },
|
|
6970
|
+
/* harmony export */ "CanvasGroup": function() { return /* reexport safe */ _canvas_group__WEBPACK_IMPORTED_MODULE_1__.CanvasGroup; },
|
|
6971
|
+
/* harmony export */ "CanvasPoint": function() { return /* reexport safe */ _canvas_point__WEBPACK_IMPORTED_MODULE_3__.CanvasPoint; },
|
|
6972
|
+
/* harmony export */ "useCanvasContext": function() { return /* reexport safe */ _hooks_use_canvas_context__WEBPACK_IMPORTED_MODULE_4__.useCanvasContext; }
|
|
7090
6973
|
/* harmony export */ });
|
|
7091
6974
|
/* harmony import */ var _canvas_bar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./canvas-bar */ "./canvas-bar.tsx");
|
|
7092
6975
|
/* harmony import */ var _canvas_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./canvas-group */ "./canvas-group.tsx");
|
|
@@ -7098,8 +6981,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7098
6981
|
|
|
7099
6982
|
|
|
7100
6983
|
|
|
7101
|
-
}
|
|
7102
|
-
|
|
6984
|
+
}();
|
|
7103
6985
|
/******/ return __webpack_exports__;
|
|
7104
6986
|
/******/ })()
|
|
7105
6987
|
;
|